1 commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: 2015-09-29 13:59:35 +0300
5 Bump version and soname for 5.2.2.
7 src/liblzma/Makefile.am | 2 +-
8 src/liblzma/api/lzma/version.h | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78
12 Author: Lasse Collin <lasse.collin@tukaani.org>
13 Date: 2015-09-29 13:57:28 +0300
15 Update NEWS for 5.2.2.
17 NEWS | 18 ++++++++++++++++++
18 1 file changed, 18 insertions(+)
20 commit 49427ce7eececdd18bbd35dab23c81910d083e1c
21 Author: Andre Noll <maan@tuebingen.mpg.de>
22 Date: 2015-05-28 15:50:00 +0200
24 Fix typo in German translation.
26 As pointed out by Robert Pollak, there's a typo in the German
27 translation of the compression preset option (-0 ... -9) help text.
28 "The compressor" translates to "der Komprimierer", and the genitive
29 form is "des Komprimierers". The old word makes no sense at all.
32 1 file changed, 1 insertion(+), 1 deletion(-)
34 commit 608d6f06c940e7f28c25de005e8b99bdff42d27c
35 Author: Hauke Henningsen <sqrt@entless.org>
36 Date: 2015-08-17 04:59:54 +0200
38 Update German translation, mostly wrt orthography
40 Provide an update of the German translation.
41 * A lot of compound words were previously written with spaces, while
42 German orthography is relatively clear in that the components
43 should not be separated.
44 * When referring to the actual process of (de)compression rather than the
45 concept, replace “(De-)Kompression” with “(De-)Komprimierung”.
46 Previously, both forms were used in this context and are now used in a
47 manner consistent with “Komprimierung” being more likely to refer to
49 * Consistently translate “standard input”/“output”
50 * Use “Zeichen” instead of false friend “Charakter” for “character”
51 * Insert commas around relative clauses (as required in German)
52 * Some other minor corrections
53 * Capitalize “ß” as “ẞ”
54 * Consistently start option descriptions in --help with capital letters
56 Acked-By: Andre Noll <maan@tuebingen.mpg.de>
58 * Update after msgmerge
60 po/de.po | 383 ++++++++++++++++++++++++++++++++-------------------------------
61 1 file changed, 196 insertions(+), 187 deletions(-)
63 commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3
64 Author: Lasse Collin <lasse.collin@tukaani.org>
65 Date: 2015-08-11 13:23:04 +0300
67 Build: Minor Cygwin cleanup.
69 Some tests used "cygwin*" and some used "cygwin". I changed
70 them all to use "cygwin". Shouldn't affect anything in practice.
72 configure.ac | 6 +++---
73 1 file changed, 3 insertions(+), 3 deletions(-)
75 commit 85a6dfed53477906bfe9a7c0123dd412e391cb48
76 Author: Lasse Collin <lasse.collin@tukaani.org>
77 Date: 2015-08-11 13:21:52 +0300
79 Build: Support building of MSYS2 binaries.
81 configure.ac | 16 +++++++++++-----
82 1 file changed, 11 insertions(+), 5 deletions(-)
84 commit 77f270be8432df2e4516a0c48814b6976d6618c5
85 Author: Lasse Collin <lasse.collin@tukaani.org>
86 Date: 2015-08-09 21:06:26 +0300
88 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.
90 src/liblzma/common/common.h uses it to set __declspec(dllexport)
93 Thanks to Adam Walling.
95 windows/liblzma_dll.vcxproj | 12 ++++++------
96 1 file changed, 6 insertions(+), 6 deletions(-)
98 commit 8c975446c5903090a5a8493b5b96b71003056a88
99 Author: Lasse Collin <lasse.collin@tukaani.org>
100 Date: 2015-08-09 21:02:20 +0300
102 Windows: Omit unneeded header files from MSVC project files.
104 windows/liblzma.vcxproj | 5 -----
105 windows/liblzma_dll.vcxproj | 5 -----
106 2 files changed, 10 deletions(-)
108 commit 119a00434954726ca58e4a578e6469f530fca30e
109 Author: Lasse Collin <lasse.collin@tukaani.org>
110 Date: 2015-07-12 20:48:19 +0300
112 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.
114 src/liblzma/api/lzma.h | 18 +++++++++++++-----
115 1 file changed, 13 insertions(+), 5 deletions(-)
117 commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c
118 Author: Lasse Collin <lasse.collin@tukaani.org>
119 Date: 2015-06-19 20:38:55 +0300
124 1 file changed, 2 insertions(+)
126 commit 98001740ca56c894a7bd32eb47e9857a8a7d878d
127 Author: Lasse Collin <lasse.collin@tukaani.org>
128 Date: 2015-06-19 20:21:30 +0300
130 Windows: Update the docs.
132 INSTALL | 29 ++++++----
133 windows/INSTALL-MSVC.txt | 47 +++++++++++++++
134 windows/INSTALL-MinGW.txt | 138 ++++++++++++++++++++++++++++++++++++++++++++
135 windows/INSTALL-Windows.txt | 138 --------------------------------------------
136 4 files changed, 204 insertions(+), 148 deletions(-)
138 commit 28195e4c877007cc760ecea1d17f740693d66873
139 Author: Lasse Collin <lasse.collin@tukaani.org>
140 Date: 2015-06-19 17:25:31 +0300
142 Windows: Add MSVC project files for building liblzma.
144 Thanks to Adam Walling for creating these files.
146 windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++
147 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++
148 windows/xz_win.sln | 48 ++++++
149 3 files changed, 795 insertions(+)
151 commit 960440f3230dc628f6966d9f7614fc1b28baf44e
152 Author: Lasse Collin <lasse.collin@tukaani.org>
153 Date: 2015-05-13 20:57:55 +0300
155 Tests: Fix a memory leak in test_bcj_exact_size.
157 Thanks to Cristian Rodríguez.
159 tests/test_bcj_exact_size.c | 1 +
160 1 file changed, 1 insertion(+)
162 commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b
163 Author: Lasse Collin <lasse.collin@tukaani.org>
164 Date: 2015-05-12 18:08:24 +0300
166 Fix NEWS about threading in 5.2.0.
168 Thanks to Andy Hochhaus.
171 1 file changed, 2 insertions(+), 1 deletion(-)
173 commit ff96ed6d25786728356017a13baf8c14731b4f1e
174 Author: Lasse Collin <lasse.collin@tukaani.org>
175 Date: 2015-05-11 21:26:16 +0300
177 xz: Document that threaded decompression hasn't been implemented yet.
179 src/xz/xz.1 | 10 +++++++++-
180 1 file changed, 9 insertions(+), 1 deletion(-)
182 commit 00d37b64a64ea8597fd2422d5187afd761ab9531
183 Author: Lasse Collin <lasse.collin@tukaani.org>
184 Date: 2015-04-20 20:20:29 +0300
189 1 file changed, 1 insertion(+)
191 commit db190a832c49ca3aed6d69cc992fa5583cae7b11
192 Author: Lasse Collin <lasse.collin@tukaani.org>
193 Date: 2015-04-20 19:59:18 +0300
195 Revert "xz: Use pipe2() if available."
197 This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd.
198 It is a problem when libc has pipe2() but the kernel is too
199 old to have pipe2() and thus pipe2() fails. In xz it's pointless
200 to have a fallback for non-functioning pipe2(); it's better to
201 avoid pipe2() completely.
203 Thanks to Michael Fox for the bug report.
205 configure.ac | 4 ++--
206 src/xz/file_io.c | 9 +--------
207 2 files changed, 3 insertions(+), 10 deletions(-)
209 commit eccd8155e107c5ada03d13e7730675cdf1a44ddc
210 Author: Lasse Collin <lasse.collin@tukaani.org>
211 Date: 2015-03-29 22:14:47 +0300
216 1 file changed, 1 insertion(+)
218 commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00
219 Author: Lasse Collin <lasse.collin@tukaani.org>
220 Date: 2015-03-29 22:13:48 +0300
222 Fix the detection of installed RAM on QNX.
224 The earlier version compiled but didn't actually work
225 since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).
227 Thanks to Ole André Vadla Ravnås for the patch and testing.
229 m4/tuklib_physmem.m4 | 6 +++---
230 src/common/tuklib_physmem.c | 14 +++++++++++++-
231 2 files changed, 16 insertions(+), 4 deletions(-)
233 commit 4c544d2410903d38402221cb783ed85585b6a007
234 Author: Lasse Collin <lasse.collin@tukaani.org>
235 Date: 2015-03-27 22:39:07 +0200
237 Fix CPU core count detection on QNX.
239 It tried to use sysctl() on QNX but
240 - it broke the build because sysctl() needs -lsocket on QNX;
241 - sysctl() doesn't work for detecting the core count on QNX
244 sysconf() works. An alternative would have been to use
245 QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.
247 Thanks to Ole André Vadla Ravnås.
249 m4/tuklib_cpucores.m4 | 15 +++++++++++----
250 1 file changed, 11 insertions(+), 4 deletions(-)
252 commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3
253 Author: Lasse Collin <lasse.collin@tukaani.org>
254 Date: 2015-03-07 22:05:57 +0200
256 xz: size_t/uint32_t cleanup in options.c.
258 src/xz/options.c | 12 ++++++------
259 1 file changed, 6 insertions(+), 6 deletions(-)
261 commit 8bcca29a65335fd679c13814b70b35b68fa5daed
262 Author: Lasse Collin <lasse.collin@tukaani.org>
263 Date: 2015-03-07 22:04:23 +0200
265 xz: Fix a comment and silence a warning in message.c.
267 src/xz/message.c | 5 +++--
268 1 file changed, 3 insertions(+), 2 deletions(-)
270 commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b
271 Author: Lasse Collin <lasse.collin@tukaani.org>
272 Date: 2015-03-07 22:01:00 +0200
274 liblzma: Silence more uint32_t vs. size_t warnings.
276 src/liblzma/lz/lz_encoder.c | 2 +-
277 src/liblzma/lzma/lzma_encoder.c | 2 +-
278 2 files changed, 2 insertions(+), 2 deletions(-)
280 commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34
281 Author: Lasse Collin <lasse.collin@tukaani.org>
282 Date: 2015-03-07 19:54:00 +0200
284 xz: Make arg_count an unsigned int to silence a warning.
286 Actually the value of arg_count cannot exceed INT_MAX
287 but it's nicer as an unsigned int.
291 2 files changed, 2 insertions(+), 2 deletions(-)
293 commit f6ec46801588b1be29c07c9db98558b521304002
294 Author: Lasse Collin <lasse.collin@tukaani.org>
295 Date: 2015-03-07 19:33:17 +0200
297 liblzma: Fix a warning in index.c.
299 src/liblzma/common/index.c | 4 +++-
300 1 file changed, 3 insertions(+), 1 deletion(-)
302 commit a24518971cc621315af142dd3bb7614fab04ad27
303 Author: Lasse Collin <lasse.collin@tukaani.org>
304 Date: 2015-02-26 20:46:14 +0200
306 Build: Fix a CR+LF problem when running autoreconf -fi on OS/2.
308 build-aux/version.sh | 2 +-
309 1 file changed, 1 insertion(+), 1 deletion(-)
311 commit dec11497a71518423b5ff0e759100cf8aadf6c7b
312 Author: Lasse Collin <lasse.collin@tukaani.org>
313 Date: 2015-02-26 16:53:44 +0200
315 Bump version and soname for 5.2.1.
317 src/liblzma/Makefile.am | 2 +-
318 src/liblzma/api/lzma/version.h | 2 +-
319 2 files changed, 2 insertions(+), 2 deletions(-)
321 commit 29e39c79975ab89ee5dd671e97064534a9f3a649
322 Author: Lasse Collin <lasse.collin@tukaani.org>
323 Date: 2015-02-26 13:01:09 +0200
325 Update NEWS for 5.2.1.
327 NEWS | 14 ++++++++++++++
328 1 file changed, 14 insertions(+)
330 commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd
331 Author: Lasse Collin <lasse.collin@tukaani.org>
332 Date: 2015-02-22 19:38:48 +0200
334 xz: Use pipe2() if available.
336 configure.ac | 4 ++--
337 src/xz/file_io.c | 9 ++++++++-
338 2 files changed, 10 insertions(+), 3 deletions(-)
340 commit 117d962685c72682c63edc9bb765367189800202
341 Author: Lasse Collin <lasse.collin@tukaani.org>
342 Date: 2015-02-21 23:40:26 +0200
344 liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
346 The bug was added in the commit
347 f48fce093b07aeda95c18850f5e086d9f2383380 and thus
348 affected 5.1.4beta and 5.2.0. Luckily the bug cannot
349 cause data corruption or other nasty things.
351 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
352 1 file changed, 1 insertion(+), 1 deletion(-)
354 commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719
355 Author: Lasse Collin <lasse.collin@tukaani.org>
356 Date: 2015-02-21 23:00:19 +0200
358 xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
360 Now it reads the old flags instead of blindly setting O_NONBLOCK.
361 The old code may have worked correctly, but this is better.
363 src/xz/file_io.c | 16 +++++++++++-----
364 1 file changed, 11 insertions(+), 5 deletions(-)
366 commit 2205bb5853098aea36a56df6f5747037175f66b4
367 Author: Lasse Collin <lasse.collin@tukaani.org>
368 Date: 2015-02-10 15:29:34 +0200
373 1 file changed, 1 insertion(+)
375 commit d935b0cdf3db440269b9d952b2b281b18f8c7b08
376 Author: Lasse Collin <lasse.collin@tukaani.org>
377 Date: 2015-02-10 15:28:30 +0200
379 tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
381 In FreeBSD, cpuset_getaffinity() is the preferred way to get
382 the number of available cores.
384 Thanks to Rui Paulo for the patch. I edited it slightly, but
385 hopefully I didn't break anything.
387 m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++-
388 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++
389 2 files changed, 40 insertions(+), 1 deletion(-)
391 commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560
392 Author: Lasse Collin <lasse.collin@tukaani.org>
393 Date: 2015-02-09 22:08:37 +0200
395 xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
397 Thanks to Rui Paulo for the fix.
399 src/scripts/xzdiff.in | 7 ++++++-
400 1 file changed, 6 insertions(+), 1 deletion(-)
402 commit b9a5b6b7a29029680af733082b6a46e0fc01623a
403 Author: Lasse Collin <lasse.collin@tukaani.org>
404 Date: 2015-02-03 21:45:53 +0200
406 Add a few casts to tuklib_integer.h to silence possible warnings.
408 I heard that Visual Studio 2013 gave warnings without the casts.
410 Thanks to Gabi Davar.
412 src/common/tuklib_integer.h | 24 ++++++++++++------------
413 1 file changed, 12 insertions(+), 12 deletions(-)
415 commit c45757135f40e4a0de730ba5fff0100219493982
416 Author: Lasse Collin <lasse.collin@tukaani.org>
417 Date: 2015-01-26 21:24:39 +0200
419 liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
421 src/liblzma/common/memcmplen.h | 15 ++++++++++-----
422 1 file changed, 10 insertions(+), 5 deletions(-)
424 commit 3c500174ed5485f550972a2a6109c361e875f069
425 Author: Lasse Collin <lasse.collin@tukaani.org>
426 Date: 2015-01-26 20:40:16 +0200
431 1 file changed, 1 insertion(+)
433 commit fec88d41e672d9e197c9442aecf02bd0dfa6d516
434 Author: Lasse Collin <lasse.collin@tukaani.org>
435 Date: 2015-01-26 20:39:28 +0200
437 liblzma: Silence harmless Valgrind errors.
439 Thanks to Torsten Rupp for reporting this. I had
440 forgotten to run Valgrind before the 5.2.0 release.
442 src/liblzma/lz/lz_encoder.c | 6 ++++++
443 1 file changed, 6 insertions(+)
445 commit a9b45badfec0928d20a27c7176c005fa637f7d1e
446 Author: Lasse Collin <lasse.collin@tukaani.org>
447 Date: 2015-01-09 21:50:19 +0200
451 src/xz/file_io.c | 12 ++++++++----
452 1 file changed, 8 insertions(+), 4 deletions(-)
454 commit 541aee6dd4aa97a809aba281475a21b641bb89e2
455 Author: Lasse Collin <lasse.collin@tukaani.org>
456 Date: 2015-01-09 21:35:06 +0200
461 1 file changed, 1 insertion(+)
463 commit 4170edc914655310d2363baccf5e615e09b04911
464 Author: Lasse Collin <lasse.collin@tukaani.org>
465 Date: 2015-01-09 21:34:06 +0200
467 xz: Don't fail if stdout doesn't support O_NONBLOCK.
469 This is similar to the case with stdin.
471 Thanks to Brad Smith for the bug report and testing
474 src/xz/file_io.c | 36 +++++++++++++++---------------------
475 1 file changed, 15 insertions(+), 21 deletions(-)
477 commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d
478 Author: Lasse Collin <lasse.collin@tukaani.org>
479 Date: 2015-01-07 19:18:20 +0200
481 xz: Fix a memory leak in DOS-specific code.
483 src/xz/file_io.c | 2 ++
484 1 file changed, 2 insertions(+)
486 commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea
487 Author: Lasse Collin <lasse.collin@tukaani.org>
488 Date: 2015-01-07 19:08:06 +0200
490 xz: Don't fail if stdin doesn't support O_NONBLOCK.
492 It's a problem at least on OpenBSD which doesn't support
493 O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
494 a problem on other OSes too since this behavior is allowed
497 The code relying on this behavior was committed in June 2013
498 and included in 5.1.3alpha released on 2013-10-26. Clearly
499 the development releases only get limited testing.
501 src/xz/file_io.c | 18 +++++++-----------
502 1 file changed, 7 insertions(+), 11 deletions(-)
504 commit d2d484647d9d9d679f03c75abb0404f67069271c
505 Author: Lasse Collin <lasse.collin@tukaani.org>
506 Date: 2015-01-06 20:30:15 +0200
508 Tests: Don't hide unexpected error messages in test_files.sh.
510 Hiding them makes no sense since normally there's no error
511 when testing the "good" files. With "bad" files errors are
512 expected and then it makes sense to keep the messages hidden.
514 tests/test_files.sh | 4 ++--
515 1 file changed, 2 insertions(+), 2 deletions(-)
517 commit aae6a6aeda51cf94a47e39ad624728f9bee75e30
518 Author: Lasse Collin <lasse.collin@tukaani.org>
519 Date: 2014-12-30 11:17:16 +0200
521 Update Solaris notes in INSTALL.
523 Mention the possible "make check" failure on Solaris in the
524 Solaris-specific section of INSTALL. It was already in
525 section 4.5 but it is better mention it in the OS-specific
529 1 file changed, 4 insertions(+)
531 commit 7815112153178800a3521b9f31960e7cdc26cfba
532 Author: Lasse Collin <lasse.collin@tukaani.org>
533 Date: 2014-12-26 12:00:05 +0200
535 Build: POSIX shell isn't required if scripts are disabled.
539 2 files changed, 3 insertions(+), 2 deletions(-)
541 commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a
542 Author: Lasse Collin <lasse.collin@tukaani.org>
543 Date: 2014-12-21 20:48:37 +0200
545 DOS: Update Makefile.
548 1 file changed, 1 insertion(+)
550 commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e
551 Author: Lasse Collin <lasse.collin@tukaani.org>
552 Date: 2014-12-21 19:50:38 +0200
554 Windows: Fix bin_i486 to bin_i686 in build.bash.
556 windows/build.bash | 2 +-
557 1 file changed, 1 insertion(+), 1 deletion(-)
559 commit cbafa710918195dbba3db02c3fab4f0538235206
560 Author: Lasse Collin <lasse.collin@tukaani.org>
561 Date: 2014-12-21 18:58:44 +0200
563 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
565 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
566 1 file changed, 26 insertions(+), 4 deletions(-)
568 commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a
569 Author: Lasse Collin <lasse.collin@tukaani.org>
570 Date: 2014-12-21 18:56:44 +0200
572 Docs: Update docs/examples/00_README.txt.
574 doc/examples/00_README.txt | 4 ++++
575 1 file changed, 4 insertions(+)
577 commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6
578 Author: Lasse Collin <lasse.collin@tukaani.org>
579 Date: 2014-12-21 18:11:17 +0200
581 Bump version and soname for 5.2.0.
583 I know that soname != app version, but I skip AGE=1
584 in -version-info to make the soname match the liblzma
585 version anyway. It doesn't hurt anything as long as
586 it doesn't conflict with library versioning rules.
588 src/liblzma/Makefile.am | 2 +-
589 src/liblzma/api/lzma/version.h | 6 +++---
590 src/liblzma/liblzma.map | 2 +-
591 3 files changed, 5 insertions(+), 5 deletions(-)
593 commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da
594 Author: Lasse Collin <lasse.collin@tukaani.org>
595 Date: 2014-12-21 18:05:03 +0200
597 Avoid variable-length arrays in the debug programs.
599 debug/full_flush.c | 3 ++-
600 debug/sync_flush.c | 3 ++-
601 2 files changed, 4 insertions(+), 2 deletions(-)
603 commit 72f7307cfdceb941aeb2bf30d424cc0d13621786
604 Author: Lasse Collin <lasse.collin@tukaani.org>
605 Date: 2014-12-21 18:01:45 +0200
607 Build: Include 04_compress_easy_mt.c in the tarball.
610 1 file changed, 1 insertion(+)
612 commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0
613 Author: Lasse Collin <lasse.collin@tukaani.org>
614 Date: 2014-12-21 18:00:38 +0200
616 Fix build when --disable-threads is used.
618 src/common/mythread.h | 2 ++
619 1 file changed, 2 insertions(+)
621 commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17
622 Author: Adrien Nader <adrien@notk.org>
623 Date: 2014-12-21 15:56:15 +0100
625 po/fr: improve wording for help for --lzma1/--lzma2.
628 1 file changed, 1 insertion(+), 1 deletion(-)
630 commit a8b6b569e7fadbf5b5b9139d53bc764015c15027
631 Author: Adrien Nader <adrien@notk.org>
632 Date: 2014-12-21 15:55:48 +0100
634 po/fr: missing line in translation of --extreme.
637 1 file changed, 1 insertion(+)
639 commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9
640 Author: Lasse Collin <lasse.collin@tukaani.org>
641 Date: 2014-12-21 14:32:33 +0200
643 Update NEWS for 5.2.0.
645 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
646 1 file changed, 65 insertions(+)
648 commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429
649 Author: Lasse Collin <lasse.collin@tukaani.org>
650 Date: 2014-12-21 14:32:22 +0200
652 Update NEWS for 5.0.8.
654 NEWS | 12 ++++++++++++
655 1 file changed, 12 insertions(+)
657 commit 42e97a32649bf53ce43be2258b902a417c6e7fa1
658 Author: Lasse Collin <lasse.collin@tukaani.org>
659 Date: 2014-12-21 14:07:54 +0200
663 src/xz/options.c | 4 ++--
664 1 file changed, 2 insertions(+), 2 deletions(-)
666 commit 29b95d5d6665cedffa6a9d6d3d914f981e852182
667 Author: Lasse Collin <lasse.collin@tukaani.org>
668 Date: 2014-12-20 20:43:14 +0200
670 Update INSTALL about the dependencies of the scripts.
672 INSTALL | 15 ++++++++++-----
673 1 file changed, 10 insertions(+), 5 deletions(-)
675 commit 3af91040bb42c21afbb81f5568c3313125e61192
676 Author: Lasse Collin <lasse.collin@tukaani.org>
677 Date: 2014-12-20 20:42:33 +0200
679 Windows: Update build instructions.
681 INSTALL | 15 +++++++++------
682 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
683 2 files changed, 30 insertions(+), 29 deletions(-)
685 commit 0152f72bf6289d744823dc6c849538f3a139ad70
686 Author: Lasse Collin <lasse.collin@tukaani.org>
687 Date: 2014-12-20 20:41:48 +0200
689 Windows: Update the build script and README-Windows.txt.
691 The 32-bit build is now for i686 or newer because the
692 prebuilt MinGW-w64 toolchains include i686 code in the
693 executables even if one uses -march=i486.
695 The build script builds 32-bit SSE2 enabled version too.
696 Run-time detection of SSE2 support would be nice (on any OS)
697 but it's not implemented in XZ Utils yet.
699 windows/README-Windows.txt | 30 ++++++++++++++++--------------
700 windows/build.bash | 23 ++++++++++++++---------
701 2 files changed, 30 insertions(+), 23 deletions(-)
703 commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a
704 Author: Lasse Collin <lasse.collin@tukaani.org>
705 Date: 2014-12-19 15:51:50 +0200
707 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
709 It is to keep all symbols in the lzma_ namespace.
711 windows/config.h | 3 +++
712 1 file changed, 3 insertions(+)
714 commit 7f7d093de79eee0c7dbfd7433647e46302f19f82
715 Author: Lasse Collin <lasse.collin@tukaani.org>
716 Date: 2014-12-16 21:00:09 +0200
718 xz: Update the man page about --threads.
720 src/xz/xz.1 | 5 -----
721 1 file changed, 5 deletions(-)
723 commit 009823448b82aa5f465668878a544c5842885407
724 Author: Lasse Collin <lasse.collin@tukaani.org>
725 Date: 2014-12-16 20:57:43 +0200
727 xz: Update the man page about --block-size.
729 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
730 1 file changed, 33 insertions(+), 8 deletions(-)
732 commit 7dddfbeb499e528940bc12047355c184644aafe9
733 Author: Adrien Nader <adrien@notk.org>
734 Date: 2014-12-10 22:26:57 +0100
736 po/fr: several more translation updates: reword and handle --ignore-check.
738 po/fr.po | 50 ++++++++++++++++++++++++++------------------------
739 1 file changed, 26 insertions(+), 24 deletions(-)
741 commit 6eca5be40e04ddc4b738d493e4e56835956d8b69
742 Author: Adrien Nader <adrien@notk.org>
743 Date: 2014-12-10 22:23:01 +0100
745 po/fr: yet another place where my email address had to be updated.
748 1 file changed, 1 insertion(+), 1 deletion(-)
750 commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7
751 Author: Adrien Nader <adrien@notk.org>
752 Date: 2014-12-10 22:22:20 +0100
754 po/fr: fix several typos that have been around since the beginning.
756 po/fr.po | 22 +++++++++++-----------
757 1 file changed, 11 insertions(+), 11 deletions(-)
759 commit 4c5aa911a0df027e46171e368debc543d2fa72b2
760 Author: Adrien Nader <adrien@notk.org>
761 Date: 2014-12-03 20:02:31 +0100
763 po/fr: last batch of new translations for now.
765 Four new error messages.
767 po/fr.po | 16 ++++++++--------
768 1 file changed, 8 insertions(+), 8 deletions(-)
770 commit 3e3099e36d27059499e7996fb38a62e8ab01d356
771 Author: Adrien Nader <adrien@notk.org>
772 Date: 2014-12-03 20:01:32 +0100
774 po/fr: translations for --threads, --block-size and --block-list.
776 po/fr.po | 12 ++++++++----
777 1 file changed, 8 insertions(+), 4 deletions(-)
779 commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53
780 Author: Adrien Nader <adrien@notk.org>
781 Date: 2014-12-03 20:00:53 +0100
783 po/fr: remove fuzzy marker for error messages that will be kept in English.
785 The following is a copy of a comment inside fr.po:
787 Note from translator on "file status flags".
788 The following entry is kept un-translated on purpose. It is difficult to
789 translate and should only happen in exceptional circumstances which means
790 that translating would:
791 - lose some of the meaning
792 - make it more difficult to look up in search engines; it might happen one
794 a million times, if we dilute the error message in 20 languages, it will be
795 almost impossible to find an explanation and support for the error.
797 po/fr.po | 22 ++++++++++++++++------
798 1 file changed, 16 insertions(+), 6 deletions(-)
800 commit 46cbb9033af8a21fafe543302d6919746e0d72af
801 Author: Adrien Nader <adrien@notk.org>
802 Date: 2014-12-03 19:58:25 +0100
804 po/fr: several minor updates and better wording.
806 Meaning doesn't change at all: it's only for better wording and/or
807 formatting of a few strings.
809 po/fr.po | 14 +++++++-------
810 1 file changed, 7 insertions(+), 7 deletions(-)
812 commit 7ce49d444f04e73145f79c832eb4d510594b074a
813 Author: Adrien Nader <adrien@notk.org>
814 Date: 2014-12-03 19:56:12 +0100
816 po/fr: update my email address and copyright years.
819 1 file changed, 2 insertions(+), 2 deletions(-)
821 commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c
822 Author: Adrien Nader <adrien@notk.org>
823 Date: 2014-11-26 10:08:26 +0100
825 fr.po: commit file after only "update-po" so actual is readable.
827 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
828 1 file changed, 199 insertions(+), 112 deletions(-)
830 commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b
831 Author: Lasse Collin <lasse.collin@tukaani.org>
832 Date: 2014-12-02 20:04:07 +0200
834 liblzma: Document how lzma_mt.block_size affects memory usage.
836 src/liblzma/api/lzma/container.h | 4 ++++
837 1 file changed, 4 insertions(+)
839 commit e4fc1d2f9571fba79ce383595be2ea2a9257def0
840 Author: Lasse Collin <lasse.collin@tukaani.org>
841 Date: 2014-11-28 20:07:18 +0200
843 Update INSTALL about a "make check" failure in test_scripts.sh.
845 INSTALL | 24 +++++++++++++++++-------
846 1 file changed, 17 insertions(+), 7 deletions(-)
848 commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe
849 Author: Lasse Collin <lasse.collin@tukaani.org>
850 Date: 2014-11-26 20:12:27 +0200
852 Remove LZMA_UNSTABLE macro.
854 src/liblzma/api/lzma/container.h | 4 ----
855 src/liblzma/common/common.h | 2 --
856 src/xz/private.h | 1 -
857 3 files changed, 7 deletions(-)
859 commit 6d9c0ce9f2677b159e32b224aba5b535b304a705
860 Author: Lasse Collin <lasse.collin@tukaani.org>
861 Date: 2014-11-26 20:10:33 +0200
863 liblzma: Update lzma_stream_encoder_mt() API docs.
865 src/liblzma/api/lzma/container.h | 5 +++--
866 1 file changed, 3 insertions(+), 2 deletions(-)
868 commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3
869 Author: Lasse Collin <lasse.collin@tukaani.org>
870 Date: 2014-11-25 12:32:05 +0200
872 liblzma: Verify the filter chain in threaded encoder initialization.
874 This way an invalid filter chain is detected at the Stream
875 encoder initialization instead of delaying it to the first
876 call to lzma_code() which triggers the initialization of
877 the actual filter encoder(s).
879 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
880 1 file changed, 6 insertions(+), 3 deletions(-)
882 commit 107a263d5bb63cd3593fd6a5c938706539f84523
883 Author: Lasse Collin <lasse.collin@tukaani.org>
884 Date: 2014-11-17 19:11:49 +0200
886 Build: Update m4/ax_pthread.m4 from Autoconf Archive.
888 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
889 1 file changed, 47 insertions(+), 24 deletions(-)
891 commit b13a781833399ff5726cfc997f3cb2f0acbdbf31
892 Author: Lasse Collin <lasse.collin@tukaani.org>
893 Date: 2014-11-17 18:52:21 +0200
895 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
897 configure.ac | 36 ++++++++++++++++++------------------
898 m4/tuklib_integer.m4 | 2 +-
899 2 files changed, 19 insertions(+), 19 deletions(-)
901 commit 542cac122ed3550148a2af0033af22b757491378
902 Author: Lasse Collin <lasse.collin@tukaani.org>
903 Date: 2014-11-17 18:43:19 +0200
905 Build: Fix Autoconf warnings about escaped backquotes.
907 Thanks to Daniel Richard G. for pointing out that it's
908 good to sometimes run autoreconf -fi with -Wall.
910 configure.ac | 7 +++----
911 1 file changed, 3 insertions(+), 4 deletions(-)
913 commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f
914 Author: Lasse Collin <lasse.collin@tukaani.org>
915 Date: 2014-11-10 18:54:40 +0200
917 xzdiff: Use mkdir if mktemp isn't available.
919 src/scripts/xzdiff.in | 17 ++++++++++++++++-
920 1 file changed, 16 insertions(+), 1 deletion(-)
922 commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7
923 Author: Lasse Collin <lasse.collin@tukaani.org>
924 Date: 2014-11-10 18:45:01 +0200
926 xzdiff: Create a temporary directory to hold a temporary file.
928 This avoids the possibility of "File name too long" when
929 creating a temp file when the input file name is very long.
931 This also means that other users on the system can no longer
932 see the input file names in /tmp (or whatever $TMPDIR is)
933 since the temporary directory will have a generic name. This
934 usually doesn't matter since on many systems one can see
935 the arguments given to all processes anyway.
937 The number X chars to mktemp where increased from 6 to 10.
939 Note that with some shells temp files or dirs won't be used at all.
941 src/scripts/xzdiff.in | 10 +++++-----
942 1 file changed, 5 insertions(+), 5 deletions(-)
944 commit 7716dcf9df7f457500cb657314e7a9aea5fedb06
945 Author: Lasse Collin <lasse.collin@tukaani.org>
946 Date: 2014-11-10 15:38:47 +0200
948 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
950 It read the filter chain from a wrong variable. This is a similar
951 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
953 src/liblzma/common/stream_encoder_mt.c | 3 +--
954 1 file changed, 1 insertion(+), 2 deletions(-)
956 commit 230fa4a605542c84b4178a57381695a0af4e779b
957 Author: Lasse Collin <lasse.collin@tukaani.org>
958 Date: 2014-11-10 14:49:55 +0200
963 1 file changed, 1 insertion(+)
965 commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101
966 Author: Lasse Collin <lasse.collin@tukaani.org>
967 Date: 2014-10-29 21:28:25 +0200
969 Update .gitignore files.
972 m4/.gitignore | 3 +++
973 2 files changed, 5 insertions(+)
975 commit c923b140b27d1a055db6284e10fd546ad1a7fcdb
976 Author: Lasse Collin <lasse.collin@tukaani.org>
977 Date: 2014-10-29 21:15:35 +0200
979 Build: Prepare to support Automake's subdir-objects.
981 Due to a bug in Automake, subdir-objects won't be enabled
984 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
986 Thanks to Daniel Richard G. for the original patches.
988 configure.ac | 7 ++++++-
989 src/Makefile.am | 22 +++++++++++++++++++++-
990 src/liblzma/Makefile.am | 4 ++--
991 src/lzmainfo/Makefile.am | 4 ++--
992 src/xz/Makefile.am | 10 +++++-----
993 src/xzdec/Makefile.am | 8 ++++----
994 6 files changed, 40 insertions(+), 15 deletions(-)
996 commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f
997 Author: Lasse Collin <lasse.collin@tukaani.org>
998 Date: 2014-10-24 20:09:29 +0300
1000 Translations: Update the Italian translation.
1002 Thanks to Milo Casagrande.
1004 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
1005 1 file changed, 275 insertions(+), 177 deletions(-)
1007 commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd
1008 Author: Lasse Collin <lasse.collin@tukaani.org>
1009 Date: 2014-10-18 18:51:45 +0300
1011 Translations: Update the Polish translation.
1013 Thanks to Jakub Bogusz.
1015 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
1016 1 file changed, 214 insertions(+), 118 deletions(-)
1018 commit 4f9d233f67aea25e532824d11b7642cf7dee7a76
1019 Author: Andre Noll <maan@tuebingen.mpg.de>
1020 Date: 2014-10-14 17:30:30 +0200
1022 l10n: de.po: Change translator email address.
1024 Although the old address is still working, the new one should
1025 be preferred. So this commit changes all three places in de.po
1028 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
1031 1 file changed, 3 insertions(+), 3 deletions(-)
1033 commit 00502b2bedad43f0cc167ac17ae0608837ee196b
1034 Author: Andre Noll <maan@tuebingen.mpg.de>
1035 Date: 2014-10-14 17:30:29 +0200
1037 l10n: de.po: Update German translation
1039 Signed-off-by: Andre Noll <maan@systemlinux.org>
1041 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
1042 1 file changed, 281 insertions(+), 250 deletions(-)
1044 commit 706b0496753fb609e69f1570ec603f11162189d1
1045 Author: Andre Noll <maan@tuebingen.mpg.de>
1046 Date: 2014-10-14 17:30:28 +0200
1048 l10n: de.po: Fix typo: Schießen -> Schließen.
1050 That's a funny one since "schießen" means to shoot :)
1052 Signed-off-by: Andre Noll <maan@systemlinux.org>
1055 1 file changed, 1 insertion(+), 1 deletion(-)
1057 commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4
1058 Author: Lasse Collin <lasse.collin@tukaani.org>
1059 Date: 2014-10-09 19:42:26 +0300
1064 1 file changed, 1 insertion(+)
1066 commit 076258cc458f1e705041ac7a729b15ffe8c5214a
1067 Author: Lasse Collin <lasse.collin@tukaani.org>
1068 Date: 2014-10-09 19:41:51 +0300
1070 Add support for AmigaOS/AROS to tuklib_physmem().
1072 Thanks to Fredrik Wikstrom.
1074 m4/tuklib_physmem.m4 | 3 ++-
1075 src/common/tuklib_physmem.c | 7 +++++++
1076 2 files changed, 9 insertions(+), 1 deletion(-)
1078 commit efa7b0a210e1baa8e128fc98c5443a944c39ad24
1079 Author: Lasse Collin <lasse.collin@tukaani.org>
1080 Date: 2014-10-09 18:42:14 +0300
1082 xzgrep: Avoid passing both -q and -l to grep.
1084 The behavior of grep -ql varies:
1085 - GNU grep behaves like grep -q.
1086 - OpenBSD grep behaves like grep -l.
1088 POSIX doesn't make it 100 % clear what behavior is expected.
1089 Anyway, using both -q and -l at the same time makes no sense
1090 so both options simply should never be used at the same time.
1092 Thanks to Christian Weisgerber.
1094 src/scripts/xzgrep.in | 6 ++++--
1095 1 file changed, 4 insertions(+), 2 deletions(-)
1097 commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538
1098 Author: Trần Ngọc Quân <vnwildman@gmail.com>
1099 Date: 2014-09-25 09:22:45 +0700
1101 l10n: vi.po: Update Vietnamese translation
1103 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
1105 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
1106 1 file changed, 84 insertions(+), 52 deletions(-)
1108 commit c4911f2db36d811896c73c008b4218d8fa9a4730
1109 Author: Lasse Collin <lasse.collin@tukaani.org>
1110 Date: 2014-09-25 18:38:48 +0300
1112 Build: Detect supported compiler warning flags better.
1114 Clang and nowadays also GCC accept any -Wfoobar option
1115 but then may give a warning that an unknown warning option
1116 was specified. To avoid adding unsupported warning options,
1117 the options are now tested with -Werror.
1119 Thanks to Charles Diza.
1121 configure.ac | 5 +++--
1122 1 file changed, 3 insertions(+), 2 deletions(-)
1124 commit 76e75522ed6f5c228d55587dee5a997893f6e474
1125 Author: Lasse Collin <lasse.collin@tukaani.org>
1126 Date: 2014-09-20 21:01:21 +0300
1128 Update NEWS for 5.0.7.
1130 NEWS | 11 +++++++++++
1131 1 file changed, 11 insertions(+)
1133 commit d62028b4c1174fc67b6929f126f5eb24c018c700
1134 Author: Lasse Collin <lasse.collin@tukaani.org>
1135 Date: 2014-09-20 19:42:56 +0300
1137 liblzma: Fix a portability problem in Makefile.am.
1139 POSIX supports $< only in inference rules (suffix rules).
1140 Using it elsewhere is a GNU make extension and doesn't
1141 work e.g. with OpenBSD make.
1143 Thanks to Christian Weisgerber for the patch.
1145 src/liblzma/Makefile.am | 2 +-
1146 1 file changed, 1 insertion(+), 1 deletion(-)
1148 commit c35de31d4283edad3e57d37ffe939406542cb7bb
1149 Author: Lasse Collin <lasse.collin@tukaani.org>
1150 Date: 2014-09-14 21:54:09 +0300
1152 Bump the version number to 5.1.4beta.
1154 src/liblzma/api/lzma/version.h | 4 ++--
1155 src/liblzma/liblzma.map | 2 +-
1156 2 files changed, 3 insertions(+), 3 deletions(-)
1158 commit e9e097e22cacdaa23e5414fea7913535449cb340
1159 Author: Lasse Collin <lasse.collin@tukaani.org>
1160 Date: 2014-09-14 21:50:13 +0300
1162 Update NEWS for 5.0.6 and 5.1.4beta.
1164 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1165 1 file changed, 50 insertions(+)
1167 commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663
1168 Author: Lasse Collin <lasse.collin@tukaani.org>
1169 Date: 2014-09-14 21:02:41 +0300
1173 TODO | 38 ++++++++++++++++++++++++++++++++++----
1174 1 file changed, 34 insertions(+), 4 deletions(-)
1176 commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124
1177 Author: Lasse Collin <lasse.collin@tukaani.org>
1178 Date: 2014-08-05 22:32:36 +0300
1180 xz: Add --ignore-check.
1182 src/xz/args.c | 7 +++++++
1184 src/xz/coder.c | 10 +++++++++-
1185 src/xz/message.c | 2 ++
1186 src/xz/xz.1 | 19 +++++++++++++++++++
1187 5 files changed, 38 insertions(+), 1 deletion(-)
1189 commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040
1190 Author: Lasse Collin <lasse.collin@tukaani.org>
1191 Date: 2014-08-05 22:15:07 +0300
1193 liblzma: Add support for LZMA_IGNORE_CHECK.
1195 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++
1196 src/liblzma/common/common.h | 1 +
1197 src/liblzma/common/stream_decoder.c | 14 ++++++++++++--
1198 3 files changed, 37 insertions(+), 2 deletions(-)
1200 commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6
1201 Author: Lasse Collin <lasse.collin@tukaani.org>
1202 Date: 2014-08-05 22:03:30 +0300
1204 liblzma: Add support for lzma_block.ignore_check.
1206 Note that this slightly changes how lzma_block_header_decode()
1207 has been documented. Earlier it said that the .version is set
1208 to the lowest required value, but now it says that the .version
1209 field is kept unchanged if possible. In practice this doesn't
1210 affect any old code, because before this commit the only
1211 possible .version was 0.
1213 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++-------
1214 src/liblzma/common/block_buffer_encoder.c | 2 +-
1215 src/liblzma/common/block_decoder.c | 18 ++++++++---
1216 src/liblzma/common/block_encoder.c | 2 +-
1217 src/liblzma/common/block_header_decoder.c | 12 ++++++--
1218 src/liblzma/common/block_header_encoder.c | 2 +-
1219 src/liblzma/common/block_util.c | 2 +-
1220 7 files changed, 68 insertions(+), 20 deletions(-)
1222 commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2
1223 Author: Lasse Collin <lasse.collin@tukaani.org>
1224 Date: 2014-08-04 19:25:58 +0300
1226 liblzma: Use lzma_memcmplen() in the BT3 match finder.
1228 I had missed this when writing the commit
1229 5db75054e900fa06ef5ade5f2c21dffdd5d16141.
1231 Thanks to Jun I Jin.
1233 src/liblzma/lz/lz_encoder_mf.c | 5 ++---
1234 1 file changed, 2 insertions(+), 3 deletions(-)
1236 commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04
1237 Author: Lasse Collin <lasse.collin@tukaani.org>
1238 Date: 2014-08-04 00:25:44 +0300
1243 1 file changed, 1 insertion(+)
1245 commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84
1246 Author: Lasse Collin <lasse.collin@tukaani.org>
1247 Date: 2014-08-03 21:32:25 +0300
1249 liblzma: SHA-256: Optimize the Maj macro slightly.
1251 The Maj macro is used where multiple things are added
1252 together, so making Maj a sum of two expressions allows
1253 some extra freedom for the compiler to schedule the
1256 I learned this trick from
1257 <http://www.hackersdelight.org/corres.txt>.
1259 src/liblzma/check/sha256.c | 2 +-
1260 1 file changed, 1 insertion(+), 1 deletion(-)
1262 commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517
1263 Author: Lasse Collin <lasse.collin@tukaani.org>
1264 Date: 2014-08-03 21:08:12 +0300
1266 liblzma: SHA-256: Optimize the way rotations are done.
1268 This looks weird because the rotations become sequential,
1269 but it helps quite a bit on both 32-bit and 64-bit x86:
1271 - It requires fewer instructions on two-operand
1272 instruction sets like x86.
1274 - It requires one register less which matters especially
1277 I hope this doesn't hurt other archs.
1279 I didn't invent this idea myself, but I don't remember where
1282 src/liblzma/check/sha256.c | 17 +++++++++++------
1283 1 file changed, 11 insertions(+), 6 deletions(-)
1285 commit 5a76c7c8ee9a0afbeedb1c211db9224260404347
1286 Author: Lasse Collin <lasse.collin@tukaani.org>
1287 Date: 2014-08-03 20:38:13 +0300
1289 liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
1291 The unrolling in the previous commit should avoid the
1292 situation where a compiler may think that an uninitialized
1293 variable might be accessed.
1295 src/liblzma/check/sha256.c | 5 -----
1296 1 file changed, 5 deletions(-)
1298 commit 9a096f8e57509775c331950b8351bbca77bdcfa8
1299 Author: Lasse Collin <lasse.collin@tukaani.org>
1300 Date: 2014-08-03 20:33:38 +0300
1302 liblzma: SHA-256: Unroll a little more.
1304 This way a branch isn't needed for each operation
1305 to choose between blk0 and blk2, and still the code
1306 doesn't grow as much as it would with full unrolling.
1308 src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
1309 1 file changed, 16 insertions(+), 9 deletions(-)
1311 commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5
1312 Author: Lasse Collin <lasse.collin@tukaani.org>
1313 Date: 2014-08-03 19:56:43 +0300
1315 liblzma: SHA-256: Do the byteswapping without a temporary buffer.
1317 src/liblzma/check/sha256.c | 13 +------------
1318 1 file changed, 1 insertion(+), 12 deletions(-)
1320 commit 544aaa3d13554e8640f9caf7db717a96360ec0f6
1321 Author: Lasse Collin <lasse.collin@tukaani.org>
1322 Date: 2014-07-25 22:38:28 +0300
1324 liblzma: Use lzma_memcmplen() in normal mode of LZMA.
1326 Two locations were not changed yet because the simplest change
1327 assumes that the initial "len" may be greater than "limit".
1329 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
1330 1 file changed, 5 insertions(+), 15 deletions(-)
1332 commit f48fce093b07aeda95c18850f5e086d9f2383380
1333 Author: Lasse Collin <lasse.collin@tukaani.org>
1334 Date: 2014-07-25 22:30:38 +0300
1336 liblzma: Simplify LZMA fast mode code by using memcmp().
1338 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
1339 1 file changed, 1 insertion(+), 10 deletions(-)
1341 commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218
1342 Author: Lasse Collin <lasse.collin@tukaani.org>
1343 Date: 2014-07-25 22:29:49 +0300
1345 liblzma: Use lzma_memcmplen() in fast mode of LZMA.
1347 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
1348 1 file changed, 3 insertions(+), 3 deletions(-)
1350 commit 353212137e51e45b105a3a3fc2e6879f1cf0d492
1351 Author: Lasse Collin <lasse.collin@tukaani.org>
1352 Date: 2014-07-25 21:16:23 +0300
1357 1 file changed, 1 insertion(+)
1359 commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141
1360 Author: Lasse Collin <lasse.collin@tukaani.org>
1361 Date: 2014-07-25 21:15:07 +0300
1363 liblzma: Use lzma_memcmplen() in the match finders.
1365 This doesn't change the match finder output.
1367 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++-
1368 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++----------------------
1369 2 files changed, 23 insertions(+), 23 deletions(-)
1371 commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4
1372 Author: Lasse Collin <lasse.collin@tukaani.org>
1373 Date: 2014-07-25 20:57:20 +0300
1375 liblzma: Add lzma_memcmplen() for fast memory comparison.
1377 This commit just adds the function. Its uses will be in
1380 This hasn't been tested much yet and it's perhaps a bit early
1381 to commit it but if there are bugs they should get found quite
1384 Thanks to Jun I Jin from Intel for help and for pointing out
1385 that string comparison needs to be optimized in liblzma.
1387 configure.ac | 13 +++
1388 src/liblzma/common/Makefile.inc | 1 +
1389 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++
1390 3 files changed, 184 insertions(+)
1392 commit 765735cf52e5123586e74a51b9c073b5257f631f
1393 Author: Lasse Collin <lasse.collin@tukaani.org>
1394 Date: 2014-07-12 21:10:09 +0300
1399 1 file changed, 1 insertion(+)
1401 commit 59da01785ef66c7e62f36e70ca808fd2824bb995
1402 Author: Lasse Collin <lasse.collin@tukaani.org>
1403 Date: 2014-07-12 20:06:08 +0300
1405 Translations: Add Vietnamese translation.
1407 Thanks to Trần Ngọc Quân.
1410 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1411 2 files changed, 1008 insertions(+)
1413 commit 17215f751c354852700e7f8592ccf319570a0721
1414 Author: Lasse Collin <lasse.collin@tukaani.org>
1415 Date: 2014-06-29 20:54:14 +0300
1417 xz: Update the help message of a few options.
1419 Updated: --threads, --block-size, and --block-list
1420 Added: --flush-timeout
1422 src/xz/message.c | 18 +++++++++++-------
1423 1 file changed, 11 insertions(+), 7 deletions(-)
1425 commit 96864a6ddf91ad693d102ea165f3d7918744d582
1426 Author: Lasse Collin <lasse.collin@tukaani.org>
1427 Date: 2014-06-18 22:07:06 +0300
1429 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
1431 src/xz/Makefile.am | 1 -
1432 src/xz/hardware.c | 12 +++++++++---
1433 2 files changed, 9 insertions(+), 4 deletions(-)
1435 commit a115cc3748482e277f42a968baa3cd266f031dba
1436 Author: Lasse Collin <lasse.collin@tukaani.org>
1437 Date: 2014-06-18 22:04:24 +0300
1439 liblzma: Add lzma_cputhreads().
1441 src/liblzma/Makefile.am | 8 +++++++-
1442 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++
1443 src/liblzma/common/Makefile.inc | 1 +
1444 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++
1445 src/liblzma/liblzma.map | 1 +
1446 5 files changed, 45 insertions(+), 1 deletion(-)
1448 commit 3ce3e7976904fbab4e6482bafa442856f77a51fa
1449 Author: Lasse Collin <lasse.collin@tukaani.org>
1450 Date: 2014-06-18 19:11:52 +0300
1452 xz: Check for filter chain compatibility for --flush-timeout.
1454 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
1455 that don't support LZMA_SYNC_FLUSH.
1457 src/xz/coder.c | 30 +++++++++++++++++++++---------
1458 1 file changed, 21 insertions(+), 9 deletions(-)
1460 commit 381ac14ed79e5d38809f251705be8b3193bba417
1461 Author: Lasse Collin <lasse.collin@tukaani.org>
1462 Date: 2014-06-13 19:21:54 +0300
1464 xzgrep: List xzgrep_expected_output in tests/Makefile.am.
1466 tests/Makefile.am | 3 ++-
1467 1 file changed, 2 insertions(+), 1 deletion(-)
1469 commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e
1470 Author: Lasse Collin <lasse.collin@tukaani.org>
1471 Date: 2014-06-13 18:58:22 +0300
1473 xzgrep: Improve the test script.
1475 Now it should be close to the functionality of the original
1476 version by Pavel Raiskup.
1478 tests/Makefile.am | 3 ++-
1479 tests/test_scripts.sh | 24 ++++++++++++++----------
1480 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++
1481 3 files changed, 55 insertions(+), 11 deletions(-)
1483 commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
1484 Author: Lasse Collin <lasse.collin@tukaani.org>
1485 Date: 2014-06-11 21:03:25 +0300
1487 xzgrep: Add a test for the previous fix.
1489 This is a simplified version of Pavel Raiskup's
1492 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
1493 1 file changed, 22 insertions(+), 4 deletions(-)
1495 commit ceca37901783988204caaf40dff4623d535cc789
1496 Author: Lasse Collin <lasse.collin@tukaani.org>
1497 Date: 2014-06-11 20:43:28 +0300
1499 xzgrep: exit 0 when at least one file matches.
1501 Mimic the original grep behavior and return exit_success when
1502 at least one xz compressed file matches given pattern.
1505 https://bugzilla.redhat.com/show_bug.cgi?id=1108085
1507 Thanks to Pavel Raiskup for the patch.
1509 src/scripts/xzgrep.in | 15 +++++++++++++--
1510 1 file changed, 13 insertions(+), 2 deletions(-)
1512 commit 8c19216baccb92d011694590df8a1262da2e980c
1513 Author: Lasse Collin <lasse.collin@tukaani.org>
1514 Date: 2014-06-09 21:21:24 +0300
1516 xz: Force single-threaded mode when --flush-timeout is used.
1518 src/xz/coder.c | 11 +++++++++++
1519 1 file changed, 11 insertions(+)
1521 commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5
1522 Author: Lasse Collin <lasse.collin@tukaani.org>
1523 Date: 2014-05-25 22:05:39 +0300
1528 1 file changed, 1 insertion(+)
1530 commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b
1531 Author: Lasse Collin <lasse.collin@tukaani.org>
1532 Date: 2014-05-25 21:45:56 +0300
1534 liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
1536 This avoids a memzero() call for a newly-allocated memory,
1537 which can be expensive when encoding small streams with
1538 an over-sized dictionary.
1540 To avoid using lzma_alloc_zero() for memory that doesn't
1541 need to be zeroed, lzma_mf.son is now allocated separately,
1542 which requires handling it separately in normalize() too.
1544 Thanks to Vincenzo Innocente for reporting the problem.
1546 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++--------------------
1547 src/liblzma/lz/lz_encoder.h | 2 +-
1548 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++-------
1549 3 files changed, 62 insertions(+), 55 deletions(-)
1551 commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a
1552 Author: Lasse Collin <lasse.collin@tukaani.org>
1553 Date: 2014-05-25 19:25:57 +0300
1555 liblzma: Add the internal function lzma_alloc_zero().
1557 src/liblzma/common/common.c | 21 +++++++++++++++++++++
1558 src/liblzma/common/common.h | 6 ++++++
1559 2 files changed, 27 insertions(+)
1561 commit ed9ac85822c490e34b68c259afa0b385d21d1c40
1562 Author: Lasse Collin <lasse.collin@tukaani.org>
1563 Date: 2014-05-08 18:03:09 +0300
1565 xz: Fix uint64_t vs. size_t which broke 32-bit build.
1567 Thanks to Christian Hesse.
1569 src/xz/coder.c | 2 +-
1570 1 file changed, 1 insertion(+), 1 deletion(-)
1572 commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02
1573 Author: Lasse Collin <lasse.collin@tukaani.org>
1574 Date: 2014-05-04 11:09:11 +0300
1576 Docs: Update comments to refer to lzma/lzma12.h in example programs.
1578 doc/examples/03_compress_custom.c | 6 +++---
1579 1 file changed, 3 insertions(+), 3 deletions(-)
1581 commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0
1582 Author: Lasse Collin <lasse.collin@tukaani.org>
1583 Date: 2014-05-04 11:07:17 +0300
1585 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
1587 It can be confusing that two header files have the same name.
1588 The public API file is still lzma.h.
1590 src/liblzma/api/Makefile.am | 2 +-
1591 src/liblzma/api/lzma.h | 2 +-
1592 src/liblzma/api/lzma/lzma.h | 420 ------------------------------------------
1593 src/liblzma/api/lzma/lzma12.h | 420 ++++++++++++++++++++++++++++++++++++++++++
1594 4 files changed, 422 insertions(+), 422 deletions(-)
1596 commit 1555a9c5664afc7893a2b75e9970105437f01ef1
1597 Author: Lasse Collin <lasse.collin@tukaani.org>
1598 Date: 2014-04-25 17:53:42 +0300
1600 Build: Fix the combination of --disable-xzdec --enable-lzmadec.
1602 In this case "make install" could fail if the man page directory
1603 didn't already exist at the destination. If it did exist, a
1604 dangling symlink was created there. Now the link is omitted
1605 instead. This isn't the best fix but it's better than the old
1608 src/xzdec/Makefile.am | 10 +++++++++-
1609 1 file changed, 9 insertions(+), 1 deletion(-)
1611 commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d
1612 Author: Lasse Collin <lasse.collin@tukaani.org>
1613 Date: 2014-04-25 17:44:26 +0300
1615 Build: Add --disable-doc to configure.
1619 configure.ac | 6 ++++++
1620 3 files changed, 14 insertions(+)
1622 commit 6de61d8721097a6214810841aa85b08e303ac538
1623 Author: Lasse Collin <lasse.collin@tukaani.org>
1624 Date: 2014-04-24 18:06:24 +0300
1628 Add a note about failing "make check". The source of
1629 the problem should be fixed in libtool (if it really is
1630 a libtool bug and not mine) but I'm unable to spend time
1631 on that for now. Thanks to Nelson H. F. Beebe for reporting
1634 Add a note about a possible need to run "ldconfig" after
1637 INSTALL | 25 +++++++++++++++++++++++++
1638 1 file changed, 25 insertions(+)
1640 commit 54df428799a8d853639b753d0e6784694d73eb3e
1641 Author: Lasse Collin <lasse.collin@tukaani.org>
1642 Date: 2014-04-09 17:26:10 +0300
1644 xz: Rename a variable to avoid a namespace collision on Solaris.
1646 I don't know the details but I have an impression that there's
1647 no problem in practice if using GCC since people have built xz
1648 with GCC (without patching xz), but renaming the variable cannot
1651 Thanks to Mark Ashley.
1653 src/xz/signals.c | 12 +++++++-----
1654 1 file changed, 7 insertions(+), 5 deletions(-)
1656 commit 5876ca27daa1429676b1160007d9688266907f00
1657 Author: Lasse Collin <lasse.collin@tukaani.org>
1658 Date: 2014-01-29 20:19:41 +0200
1660 Docs: Add example program for threaded encoding.
1662 I didn't add -DLZMA_UNSTABLE to Makefile so one has to
1663 specify it manually as long as LZMA_UNSTABLE is needed.
1665 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
1666 doc/examples/Makefile | 3 +-
1667 2 files changed, 186 insertions(+), 1 deletion(-)
1669 commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e
1670 Author: Lasse Collin <lasse.collin@tukaani.org>
1671 Date: 2014-01-29 20:13:51 +0200
1673 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
1675 It read the filter chain from a wrong variable.
1677 src/liblzma/common/stream_encoder_mt.c | 4 ++--
1678 1 file changed, 2 insertions(+), 2 deletions(-)
1680 commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c
1681 Author: Lasse Collin <lasse.collin@tukaani.org>
1682 Date: 2014-01-20 11:20:40 +0200
1684 liblzma: Fix typo in a comment.
1686 src/liblzma/api/lzma/block.h | 2 +-
1687 1 file changed, 1 insertion(+), 1 deletion(-)
1689 commit ad96a871a1470eb76d6233d3890ce9338047b7a3
1690 Author: Lasse Collin <lasse.collin@tukaani.org>
1691 Date: 2014-01-12 19:38:43 +0200
1693 Windows: Add config.h for building liblzma with MSVC 2013.
1695 This is for building liblzma. Building xz tool too requires
1696 a little more work. Maybe it will be supported, but for most
1697 MSVC users it's enough to be able to build liblzma.
1699 C99 support in MSVC 2013 is almost usable which is a big
1700 improvement over earlier versions. It's "almost" because
1701 there's a dumb bug that breaks mixed declarations after
1702 an "if" statements unless the "if" statement uses braces:
1704 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug
1705 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs
1707 Hopefully it will get fixed. Then liblzma should be
1708 compilable with MSVC 2013 without patching.
1710 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1711 1 file changed, 139 insertions(+)
1713 commit 3d5c090872fab4212b57c290e8ed4d02c78c1737
1714 Author: Lasse Collin <lasse.collin@tukaani.org>
1715 Date: 2014-01-12 17:41:14 +0200
1719 src/xz/coder.c | 4 ++--
1720 1 file changed, 2 insertions(+), 2 deletions(-)
1722 commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9
1723 Author: Lasse Collin <lasse.collin@tukaani.org>
1724 Date: 2014-01-12 17:04:33 +0200
1726 Windows: Add MSVC defines for inline and restrict keywords.
1728 src/common/sysdefs.h | 10 ++++++++++
1729 1 file changed, 10 insertions(+)
1731 commit a19d9e8575ee6647cd9154cf1f20203f1330485f
1732 Author: Lasse Collin <lasse.collin@tukaani.org>
1733 Date: 2014-01-12 16:44:52 +0200
1735 liblzma: Avoid C99 compound literal arrays.
1737 MSVC 2013 doesn't like them. Maybe they aren't so good
1738 for readability either since many aren't used to them.
1740 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
1741 1 file changed, 5 insertions(+), 3 deletions(-)
1743 commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263
1744 Author: Lasse Collin <lasse.collin@tukaani.org>
1745 Date: 2014-01-12 12:50:30 +0200
1747 liblzma: Remove a useless C99ism from sha256.c.
1749 Unsurprisingly it makes no difference in compiled output.
1751 src/liblzma/check/sha256.c | 2 +-
1752 1 file changed, 1 insertion(+), 1 deletion(-)
1754 commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5
1755 Author: Lasse Collin <lasse.collin@tukaani.org>
1756 Date: 2014-01-12 12:17:08 +0200
1758 xz: Fix use of wrong variable.
1760 Since the only call to suffix_set() uses optarg
1761 as the argument, fixing this bug doesn't change
1762 the behavior of the program.
1764 src/xz/suffix.c | 2 +-
1765 1 file changed, 1 insertion(+), 1 deletion(-)
1767 commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5
1768 Author: Lasse Collin <lasse.collin@tukaani.org>
1769 Date: 2014-01-12 12:11:36 +0200
1771 Fix typos in comments.
1773 src/common/mythread.h | 2 +-
1774 src/liblzma/check/crc32_fast.c | 2 +-
1775 2 files changed, 2 insertions(+), 2 deletions(-)
1777 commit e90ea601fb72867ec04adf456cbe4bf9520fd412
1778 Author: Lasse Collin <lasse.collin@tukaani.org>
1779 Date: 2013-11-26 18:20:16 +0200
1784 1 file changed, 1 insertion(+)
1786 commit b22e94d8d15764416354e04729382a7371ae2c30
1787 Author: Lasse Collin <lasse.collin@tukaani.org>
1788 Date: 2013-11-26 18:20:09 +0200
1790 liblzma: Document the need for block->check for lzma_block_header_decode().
1792 Thanks to Tomer Chachamu.
1794 src/liblzma/api/lzma/block.h | 3 +++
1795 1 file changed, 3 insertions(+)
1797 commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4
1798 Author: Lasse Collin <lasse.collin@tukaani.org>
1799 Date: 2013-11-12 16:38:57 +0200
1801 xz: Update the man page about --block-size and --block-list.
1803 src/xz/xz.1 | 24 +++++++++++++++---------
1804 1 file changed, 15 insertions(+), 9 deletions(-)
1806 commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a
1807 Author: Lasse Collin <lasse.collin@tukaani.org>
1808 Date: 2013-11-12 16:30:53 +0200
1813 1 file changed, 1 insertion(+)
1815 commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc
1816 Author: Lasse Collin <lasse.collin@tukaani.org>
1817 Date: 2013-11-12 16:29:48 +0200
1819 xz: Make --block-list and --block-size work together in single-threaded.
1821 Previously, --block-list and --block-size only worked together
1822 in threaded mode. Boundaries are specified by --block-list, but
1823 --block-size specifies the maximum size for a Block. Now this
1824 works in single-threaded mode too.
1826 Thanks to James M Leddy for the original patch.
1828 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
1829 1 file changed, 75 insertions(+), 15 deletions(-)
1831 commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5
1832 Author: Lasse Collin <lasse.collin@tukaani.org>
1833 Date: 2013-10-26 13:26:14 +0300
1835 Bump the version number to 5.1.3alpha.
1837 src/liblzma/api/lzma/version.h | 2 +-
1838 src/liblzma/liblzma.map | 2 +-
1839 2 files changed, 2 insertions(+), 2 deletions(-)
1841 commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155
1842 Author: Lasse Collin <lasse.collin@tukaani.org>
1843 Date: 2013-10-26 13:25:02 +0300
1845 Update NEWS for 5.1.3alpha.
1847 NEWS | 35 +++++++++++++++++++++++++++++++++++
1848 1 file changed, 35 insertions(+)
1850 commit ed48e75e2763876173aef8902da407a8eb28854b
1851 Author: Lasse Collin <lasse.collin@tukaani.org>
1852 Date: 2013-10-26 12:47:04 +0300
1857 1 file changed, 4 deletions(-)
1859 commit 841da0352d79a56a44796a4c39163429c9f039a3
1860 Author: Lasse Collin <lasse.collin@tukaani.org>
1861 Date: 2013-10-25 22:41:28 +0300
1863 xz: Document behavior of --block-list with threads.
1865 This needs to be updated before 5.2.0.
1867 src/xz/xz.1 | 24 +++++++++++++++++++++---
1868 1 file changed, 21 insertions(+), 3 deletions(-)
1870 commit 56feb8665b78c1032aabd53c619c62af51defe64
1871 Author: Lasse Collin <lasse.collin@tukaani.org>
1872 Date: 2013-10-22 20:03:12 +0300
1874 xz: Document --flush-timeout=TIMEOUT on the man page.
1876 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
1877 1 file changed, 36 insertions(+), 1 deletion(-)
1879 commit ba413da1d5bb3324287cf3174922acd921165971
1880 Author: Lasse Collin <lasse.collin@tukaani.org>
1881 Date: 2013-10-22 19:51:55 +0300
1883 xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
1885 Now if --block-list is used in threaded mode, the encoder
1886 won't need to flush at each Block boundary specified via
1887 --block-list. This improves performance a lot, making
1888 threading helpful with --block-list.
1890 The flush timer was reset after LZMA_FULL_FLUSH but since
1891 LZMA_FULL_BARRIER doesn't flush, resetting the timer is
1894 src/xz/coder.c | 32 +++++++++++++++-----------------
1895 1 file changed, 15 insertions(+), 17 deletions(-)
1897 commit 0cd45fc2bc5537de287a0bc005e2d67467a92148
1898 Author: Lasse Collin <lasse.collin@tukaani.org>
1899 Date: 2013-10-02 20:05:23 +0300
1901 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
1903 Now --block-list=SIZES works with in the threaded mode too,
1904 although the performance is still bad due to the use of
1905 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.
1907 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
1908 1 file changed, 39 insertions(+), 16 deletions(-)
1910 commit 97bb38712f414fabecca908af2e38a12570293fd
1911 Author: Lasse Collin <lasse.collin@tukaani.org>
1912 Date: 2013-10-02 12:55:11 +0300
1914 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
1916 In the single-threaded encoder LZMA_FULL_BARRIER is simply
1917 an alias for LZMA_FULL_FLUSH.
1919 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++-------
1920 src/liblzma/common/common.c | 17 +++++++++++++++--
1921 src/liblzma/common/common.h | 7 ++++++-
1922 src/liblzma/common/stream_encoder.c | 4 +++-
1923 4 files changed, 54 insertions(+), 11 deletions(-)
1925 commit fef0c6b410c08e581c9178700a4e7599f0895ff9
1926 Author: Lasse Collin <lasse.collin@tukaani.org>
1927 Date: 2013-09-17 11:57:51 +0300
1929 liblzma: Add block_buffer_encoder.h into Makefile.inc.
1931 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
1933 src/liblzma/common/Makefile.inc | 1 +
1934 1 file changed, 1 insertion(+)
1936 commit 8083e03291b6d21c0f538163e187b4e8cd5594e4
1937 Author: Lasse Collin <lasse.collin@tukaani.org>
1938 Date: 2013-09-17 11:55:38 +0300
1940 xz: Add a missing test for TUKLIB_DOSLIKE.
1942 src/xz/file_io.c | 2 ++
1943 1 file changed, 2 insertions(+)
1945 commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0
1946 Author: Lasse Collin <lasse.collin@tukaani.org>
1947 Date: 2013-09-17 11:52:28 +0300
1949 Add native threading support on Windows.
1951 Now liblzma only uses "mythread" functions and types
1952 which are defined in mythread.h matching the desired
1955 Before Windows Vista, there is no direct equivalent to
1956 pthread condition variables. Since this package doesn't
1957 use pthread_cond_broadcast(), pre-Vista threading can
1958 still be kept quite simple. The pre-Vista code doesn't
1959 use anything that wasn't already available in Windows 95,
1960 so the binaries should run even on Windows 95 if someone
1964 configure.ac | 118 ++++++--
1965 src/common/mythread.h | 513 ++++++++++++++++++++++++++-------
1966 src/liblzma/common/stream_encoder_mt.c | 83 +++---
1967 src/xz/coder.c | 8 +-
1968 windows/README-Windows.txt | 2 +-
1969 windows/build.bash | 23 +-
1970 7 files changed, 573 insertions(+), 215 deletions(-)
1972 commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f
1973 Author: Lasse Collin <lasse.collin@tukaani.org>
1974 Date: 2013-09-11 14:40:35 +0300
1976 Build: Remove a comment about Automake 1.10 from configure.ac.
1978 The previous commit supports silent rules and that requires
1982 1 file changed, 2 deletions(-)
1984 commit 72975df6c8c59aaf849138ab3606e8fb6970596a
1985 Author: Lasse Collin <lasse.collin@tukaani.org>
1986 Date: 2013-09-09 20:37:03 +0300
1988 Build: Create liblzma.pc in a src/liblzma/Makefile.am.
1990 Previously it was done in configure, but doing that goes
1991 against the Autoconf manual. Autoconf requires that it is
1992 possible to override e.g. prefix after running configure
1993 and that doesn't work correctly if liblzma.pc is created
1996 A potential downside of this change is that now e.g.
1997 libdir in liblzma.pc is a standalone string instead of
1998 being defined via ${prefix}, so if one overrides prefix
1999 when running pkg-config the libdir won't get the new value.
2000 I don't know if this matters in practice.
2002 Thanks to Vincent Torri.
2005 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
2006 2 files changed, 20 insertions(+), 1 deletion(-)
2008 commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
2009 Author: Lasse Collin <lasse.collin@tukaani.org>
2010 Date: 2013-08-04 15:24:09 +0300
2012 Fix the previous commit which broke the build.
2014 Apparently I didn't even compile-test the previous commit.
2016 Thanks to Christian Hesse.
2018 src/common/tuklib_cpucores.c | 2 +-
2019 1 file changed, 1 insertion(+), 1 deletion(-)
2021 commit 124eb69c7857f618b4807588c51bc9ba21bf8691
2022 Author: Lasse Collin <lasse.collin@tukaani.org>
2023 Date: 2013-08-03 13:52:58 +0300
2025 Windows: Add Windows support to tuklib_cpucores().
2027 It is used for Cygwin too. I'm not sure if that is
2030 Thanks to Vincent Torri.
2032 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++--
2033 src/common/tuklib_cpucores.c | 13 ++++++++++++-
2034 2 files changed, 29 insertions(+), 3 deletions(-)
2036 commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35
2037 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2038 Date: 2013-08-02 15:59:46 +0200
2040 macosx: separate liblzma package
2042 macosx/build.sh | 23 +++++++++++++++--------
2043 1 file changed, 15 insertions(+), 8 deletions(-)
2045 commit be0100d01ca6a75899d051bee00acf17e6dc0c15
2046 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2047 Date: 2013-08-02 15:58:44 +0200
2049 macosx: set minimum to leopard
2051 macosx/build.sh | 13 ++++++++-----
2052 1 file changed, 8 insertions(+), 5 deletions(-)
2054 commit 416729e2d743f4b2fe9fd438eedeb98adce033c3
2055 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2056 Date: 2011-08-07 13:13:30 +0200
2058 move configurables into variables
2060 macosx/build.sh | 25 ++++++++++++++++++-------
2061 1 file changed, 18 insertions(+), 7 deletions(-)
2063 commit 16581080e5f29f9a4e49efece21c5bf572323acc
2064 Author: Lasse Collin <lasse.collin@tukaani.org>
2065 Date: 2013-07-15 14:08:41 +0300
2070 1 file changed, 1 insertion(+)
2072 commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6
2073 Author: Lasse Collin <lasse.collin@tukaani.org>
2074 Date: 2013-07-15 14:08:02 +0300
2076 Build: Fix the detection of missing CRC32.
2078 Thanks to Vincent Torri.
2081 1 file changed, 1 insertion(+), 1 deletion(-)
2083 commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00
2084 Author: Lasse Collin <lasse.collin@tukaani.org>
2085 Date: 2013-07-04 14:18:46 +0300
2087 xz: Add preliminary support for --flush-timeout=TIMEOUT.
2089 When --flush-timeout=TIMEOUT is used, xz will use
2090 LZMA_SYNC_FLUSH if read() would block and at least
2091 TIMEOUT milliseconds has elapsed since the previous flush.
2093 This can be useful in realtime-like use cases where the
2094 data is simultanously decompressed by another process
2095 (possibly on a different computer). If new uncompressed
2096 input data is produced slowly, without this option xz could
2097 buffer the data for a long time until it would become
2098 decompressible from the output.
2100 If TIMEOUT is 0, the feature is disabled. This is the default.
2102 This commit affects the compression side. Using xz for
2103 the decompression side for the above purpose doesn't work
2104 yet so well because there is quite a bit of input and
2105 output buffering when decompressing.
2107 The --long-help or man page were not updated yet.
2108 The details of this feature may change.
2110 src/xz/args.c | 7 +++++++
2111 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++-----------
2112 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++----------
2113 3 files changed, 78 insertions(+), 21 deletions(-)
2115 commit fa381acaf9a29a8114e1c0a97de99bab9adb014e
2116 Author: Lasse Collin <lasse.collin@tukaani.org>
2117 Date: 2013-07-04 13:41:03 +0300
2119 xz: Don't set src_eof=true after an I/O error because it's useless.
2121 src/xz/file_io.c | 3 ---
2122 1 file changed, 3 deletions(-)
2124 commit ea00545beace5b950f709ec21e46878e0f448678
2125 Author: Lasse Collin <lasse.collin@tukaani.org>
2126 Date: 2013-07-04 13:25:11 +0300
2128 xz: Fix the test when to read more input.
2130 Testing for end of file was no longer correct after full flushing
2131 became possible with --block-size=SIZE and --block-list=SIZES.
2132 There was no bug in practice though because xz just made a few
2133 unneeded zero-byte reads.
2135 src/xz/coder.c | 6 +++---
2136 1 file changed, 3 insertions(+), 3 deletions(-)
2138 commit 736903c64bef394c06685d79908e397bcb08b88f
2139 Author: Lasse Collin <lasse.collin@tukaani.org>
2140 Date: 2013-07-04 12:51:57 +0300
2142 xz: Move some of the timing code into mytime.[hc].
2144 This switches units from microseconds to milliseconds.
2146 New clock_gettime(CLOCK_MONOTONIC) will be used if available.
2147 There is still a fallback to gettimeofday().
2149 src/xz/Makefile.am | 2 ++
2150 src/xz/coder.c | 5 +++
2151 src/xz/message.c | 54 +++++++++------------------------
2152 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2153 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++
2154 src/xz/private.h | 1 +
2155 6 files changed, 158 insertions(+), 40 deletions(-)
2157 commit 24edf8d807e24ffaa1e793114d94cca3b970027d
2158 Author: Lasse Collin <lasse.collin@tukaani.org>
2159 Date: 2013-07-01 14:35:03 +0300
2164 1 file changed, 1 insertion(+)
2166 commit c0627b3fceacfa1ed162f5f55235360ea26f569a
2167 Author: Lasse Collin <lasse.collin@tukaani.org>
2168 Date: 2013-07-01 14:34:11 +0300
2170 xz: Silence a warning seen with _FORTIFY_SOURCE=2.
2172 Thanks to Christian Hesse.
2174 src/xz/file_io.c | 8 +++++++-
2175 1 file changed, 7 insertions(+), 1 deletion(-)
2177 commit 1936718bb38ee394bd89836fdd4eabc0beb02443
2178 Author: Lasse Collin <lasse.collin@tukaani.org>
2179 Date: 2013-06-30 19:40:11 +0300
2181 Update NEWS for 5.0.5.
2183 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2184 1 file changed, 52 insertions(+)
2186 commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0
2187 Author: Lasse Collin <lasse.collin@tukaani.org>
2188 Date: 2013-06-30 18:02:27 +0300
2190 Man pages: Use similar syntax for synopsis as in xz.
2192 The man pages of lzmainfo, xzmore, and xzdec had similar
2193 constructs as the man page of xz had before the commit
2194 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
2195 didn't mention these man pages in his bug report, but
2196 it's nice to be consistent.
2198 src/lzmainfo/lzmainfo.1 | 4 ++--
2199 src/scripts/xzmore.1 | 6 +++---
2200 src/xzdec/xzdec.1 | 10 +++++-----
2201 3 files changed, 10 insertions(+), 10 deletions(-)
2203 commit cdba9ddd870ae72fd6219a125662c20ec997f86c
2204 Author: Lasse Collin <lasse.collin@tukaani.org>
2205 Date: 2013-06-29 15:59:13 +0300
2207 xz: Use non-blocking I/O for the output file.
2209 Now both reading and writing should be without
2210 race conditions with signals.
2212 They might still be signal handling issues left.
2213 Signals are blocked during many operations to avoid
2214 EINTR but it may cause problems e.g. if writing to
2215 stderr blocks when trying to display an error message.
2217 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
2218 1 file changed, 49 insertions(+), 8 deletions(-)
2220 commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd
2221 Author: Lasse Collin <lasse.collin@tukaani.org>
2222 Date: 2013-06-28 23:56:17 +0300
2224 xz: Fix return value type in io_write_buf().
2226 It didn't affect the behavior of the code since -1
2227 becomes true anyway.
2229 src/xz/file_io.c | 2 +-
2230 1 file changed, 1 insertion(+), 1 deletion(-)
2232 commit 9dc319eabb34a826f4945f91c71620f14a60e9e2
2233 Author: Lasse Collin <lasse.collin@tukaani.org>
2234 Date: 2013-06-28 23:48:05 +0300
2236 xz: Use the self-pipe trick to avoid a race condition with signals.
2238 It is possible that a signal to set user_abort arrives right
2239 before a blocking system call is made. In this case the call
2240 may block until another signal arrives, while the wanted
2241 behavior is to make xz clean up and exit as soon as possible.
2243 After this commit, the race condition is avoided with the
2244 input side which already uses non-blocking I/O. The output
2245 side still uses blocking I/O and thus has the race condition.
2247 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------
2248 src/xz/file_io.h | 8 ++++++++
2249 src/xz/signals.c | 5 +++++
2250 3 files changed, 57 insertions(+), 12 deletions(-)
2252 commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3
2253 Author: Lasse Collin <lasse.collin@tukaani.org>
2254 Date: 2013-06-28 22:51:02 +0300
2256 xz: Use non-blocking I/O for the input file.
2258 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
2259 1 file changed, 111 insertions(+), 45 deletions(-)
2261 commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5
2262 Author: Lasse Collin <lasse.collin@tukaani.org>
2263 Date: 2013-06-28 18:46:13 +0300
2265 xz: Remove an outdated NetBSD-specific comment.
2267 Nowadays errno == EFTYPE is documented in open(2).
2269 src/xz/file_io.c | 4 ----
2270 1 file changed, 4 deletions(-)
2272 commit a616fdad34b48b2932ef03fb87309dcc8b829527
2273 Author: Lasse Collin <lasse.collin@tukaani.org>
2274 Date: 2013-06-28 18:09:47 +0300
2276 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
2278 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
2279 error and "other than -1" on success. This is how it is
2280 documented e.g. on OpenBSD too. On Linux, success with
2281 F_SETFL is always 0 (at least accorinding to fcntl(2)
2282 from man-pages 3.51).
2284 src/xz/file_io.c | 8 ++++----
2285 1 file changed, 4 insertions(+), 4 deletions(-)
2287 commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298
2288 Author: Lasse Collin <lasse.collin@tukaani.org>
2289 Date: 2013-06-28 17:36:47 +0300
2291 xz: Fix use of wrong variable in a fcntl() call.
2293 Due to a wrong variable name, when writing a sparse file
2294 to standard output, *all* file status flags were cleared
2295 (to the extent the operating system allowed it) instead of
2296 only clearing the O_APPEND flag. In practice this worked
2297 fine in the common situations on GNU/Linux, but I didn't
2298 check how it behaved elsewhere.
2300 The original flags were still restored correctly. I still
2301 changed the code to use a separate boolean variable to
2302 indicate when the flags should be restored instead of
2303 relying on a special value in stdout_flags.
2305 src/xz/file_io.c | 24 +++++++++++++-----------
2306 1 file changed, 13 insertions(+), 11 deletions(-)
2308 commit b790b435daa3351067f80a5973b647f8d55367a2
2309 Author: Lasse Collin <lasse.collin@tukaani.org>
2310 Date: 2013-06-28 14:55:37 +0300
2312 xz: Fix assertion related to posix_fadvise().
2314 Input file can be a FIFO or something else that doesn't
2315 support posix_fadvise() so don't check the return value
2316 even with an assertion. Nothing bad happens if the call
2317 to posix_fadvise() fails.
2319 src/xz/file_io.c | 10 ++--------
2320 1 file changed, 2 insertions(+), 8 deletions(-)
2322 commit 84d2da6c9dc252f441deb7626c2522202b005d4d
2323 Author: Lasse Collin <lasse.collin@tukaani.org>
2324 Date: 2013-06-26 13:30:57 +0300
2326 xz: Check the value of lzma_stream_flags.version in --list.
2328 It is a no-op for now, but if an old xz version is used
2329 together with a newer liblzma that supports something new,
2330 then this check becomes important and will stop the old xz
2331 from trying to parse files that it won't understand.
2333 src/xz/list.c | 14 ++++++++++++++
2334 1 file changed, 14 insertions(+)
2336 commit 9376f5f8f762296f2173d61af9101112c36f38c0
2337 Author: Lasse Collin <lasse.collin@tukaani.org>
2338 Date: 2013-06-26 12:17:00 +0300
2340 Build: Require Automake 1.12 and use serial-tests option.
2342 It should actually still work with Automake 1.10 if
2343 the serial-tests option is removed. Automake 1.13 started
2344 using parallel tests by default and the option to get
2345 the old behavior isn't supported before 1.12.
2347 At least for now, parallel tests don't improve anything
2348 in XZ Utils but they hide the progress output from
2351 configure.ac | 4 +++-
2352 1 file changed, 3 insertions(+), 1 deletion(-)
2354 commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374
2355 Author: Lasse Collin <lasse.collin@tukaani.org>
2356 Date: 2013-06-23 18:59:13 +0300
2361 1 file changed, 1 insertion(+)
2363 commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8
2364 Author: Lasse Collin <lasse.collin@tukaani.org>
2365 Date: 2013-06-23 18:57:23 +0300
2367 liblzma: Avoid a warning about a shadowed variable.
2369 On Mac OS X wait() is declared in <sys/wait.h> that
2370 we include one way or other so don't use "wait" as
2373 Thanks to Christian Kujau.
2375 src/liblzma/common/stream_encoder_mt.c | 4 ++--
2376 1 file changed, 2 insertions(+), 2 deletions(-)
2378 commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a
2379 Author: Lasse Collin <lasse.collin@tukaani.org>
2380 Date: 2013-06-23 17:36:47 +0300
2382 xz: Validate Uncompressed Size from Block Header in list.c.
2384 This affects only "xz -lvv". Normal decompression with xz
2385 already detected if Block Header and Index had mismatched
2386 Uncompressed Size fields. So this just makes "xz -lvv"
2387 show such files as corrupt instead of showing the
2388 Uncompressed Size from Index.
2390 src/xz/list.c | 14 +++++++++++++-
2391 1 file changed, 13 insertions(+), 1 deletion(-)
2393 commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab
2394 Author: Lasse Collin <lasse.collin@tukaani.org>
2395 Date: 2013-06-21 22:08:11 +0300
2400 1 file changed, 2 insertions(+)
2402 commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494
2403 Author: Lasse Collin <lasse.collin@tukaani.org>
2404 Date: 2013-06-21 22:04:45 +0300
2406 xz: Make the man page more friendly to doclifter.
2408 Thanks to Eric S. Raymond.
2410 src/xz/xz.1 | 7 ++++---
2411 1 file changed, 4 insertions(+), 3 deletions(-)
2413 commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93
2414 Author: Lasse Collin <lasse.collin@tukaani.org>
2415 Date: 2013-06-21 21:54:59 +0300
2417 xz: A couple of man page fixes.
2419 Now the interaction of presets and custom filter chains
2420 is described correctly. Earlier it contradicted itself.
2422 Thanks to DevHC who reported these issues on IRC to me
2425 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
2426 1 file changed, 23 insertions(+), 12 deletions(-)
2428 commit 2fcda89939c903106c429e109083d43d894049e0
2429 Author: Lasse Collin <lasse.collin@tukaani.org>
2430 Date: 2013-06-21 21:50:26 +0300
2432 xz: Fix interaction between preset and custom filter chains.
2434 There was somewhat illogical behavior when --extreme was
2435 specified and mixed with custom filter chains.
2437 Before this commit, "xz -9 --lzma2 -e" was equivalent
2438 to "xz --lzma2". After it is equivalent to "xz -6e"
2439 (all earlier preset options get forgotten when a custom
2440 filter chain is specified and the default preset is 6
2441 to which -e is applied). I find this less illogical.
2443 This also affects the meaning of "xz -9e --lzma2 -7".
2444 Earlier it was equivalent to "xz -7e" (the -e specified
2445 before a custom filter chain wasn't forgotten). Now it
2446 is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
2448 Hopefully very few cared about this in the first place,
2449 so pretty much no one should even notice this change.
2451 Thanks to Conley Moorhous.
2453 src/xz/coder.c | 35 +++++++++++++++++++++--------------
2454 1 file changed, 21 insertions(+), 14 deletions(-)
2456 commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610
2457 Author: Lasse Collin <lasse.collin@tukaani.org>
2458 Date: 2013-04-27 22:07:46 +0300
2460 Build: Use -Wvla with GCC if supported.
2462 Variable-length arrays are mandatory in C99 but optional in C11.
2463 The code doesn't currently use any VLAs and it shouldn't in the
2464 future either to stay compatible with C11 without requiring any
2465 optional C11 features.
2468 1 file changed, 1 insertion(+)
2470 commit 8957c58609d3987c58aa72b96c436cf565cc4917
2471 Author: Lasse Collin <lasse.collin@tukaani.org>
2472 Date: 2013-04-15 19:29:09 +0300
2474 xzdec: Improve the --help message.
2476 The options are now ordered in the same order as in xz's help
2479 Descriptions were added to the options that are ignored.
2480 I left them in parenthesis even if it looks a bit weird
2481 because I find it easier to spot the ignored vs. non-ignored
2482 options from the list that way.
2484 src/xzdec/xzdec.c | 10 +++++-----
2485 1 file changed, 5 insertions(+), 5 deletions(-)
2487 commit ed886e1a92534a24401d0e99c11f1dcff3b5220a
2488 Author: Lasse Collin <lasse.collin@tukaani.org>
2489 Date: 2013-04-05 19:25:40 +0300
2494 1 file changed, 2 insertions(+)
2496 commit 5019413a055ce29e660dbbf15e02443cb5a26c59
2497 Author: Jeff Bastian <jbastian@redhat.com>
2498 Date: 2013-04-03 13:59:17 +0200
2500 xzgrep: make the '-h' option to be --no-filename equivalent
2502 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
2504 src/scripts/xzgrep.in | 2 +-
2505 1 file changed, 1 insertion(+), 1 deletion(-)
2507 commit 5ea900cb5ad862bca81316729f92357c1fc040ce
2508 Author: Lasse Collin <lasse.collin@tukaani.org>
2509 Date: 2013-03-23 22:25:15 +0200
2511 liblzma: Be less picky in lzma_alone_decoder().
2513 To avoid false positives when detecting .lzma files,
2514 rare values in dictionary size and uncompressed size fields
2515 were rejected. They will still be rejected if .lzma files
2516 are decoded with lzma_auto_decoder(), but when using
2517 lzma_alone_decoder() directly, such files will now be accepted.
2518 Hopefully this is an OK compromise.
2520 This doesn't affect xz because xz still has its own file
2521 format detection code. This does affect lzmadec though.
2522 So after this commit lzmadec will accept files that xz or
2523 xz-emulating-lzma doesn't.
2525 NOTE: lzma_alone_decoder() still won't decode all .lzma files
2526 because liblzma's LZMA decoder doesn't support lc + lp > 4.
2529 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
2531 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++--------
2532 src/liblzma/common/alone_decoder.h | 5 +++--
2533 src/liblzma/common/auto_decoder.c | 2 +-
2534 3 files changed, 18 insertions(+), 11 deletions(-)
2536 commit bb117fffa84604b6e3811b068c80db82bf7f7b05
2537 Author: Lasse Collin <lasse.collin@tukaani.org>
2538 Date: 2013-03-23 21:55:13 +0200
2540 liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
2542 Now it uses lzma_block_uncomp_encode() if the data doesn't
2543 fit into the space calculated by lzma_block_buffer_bound64().
2545 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
2546 1 file changed, 50 insertions(+), 16 deletions(-)
2548 commit e572e123b55b29527e54ce5f0807f115481d78b9
2549 Author: Lasse Collin <lasse.collin@tukaani.org>
2550 Date: 2013-03-23 21:51:38 +0200
2552 liblzma: Fix another deadlock in the threaded encoder.
2554 This race condition could cause a deadlock if lzma_end() was
2555 called before finishing the encoding. This can happen with
2556 xz with debugging enabled (non-debugging version doesn't
2557 call lzma_end() before exiting).
2559 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
2560 1 file changed, 6 insertions(+), 3 deletions(-)
2562 commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc
2563 Author: Lasse Collin <lasse.collin@tukaani.org>
2564 Date: 2013-03-23 19:17:33 +0200
2566 liblzma: Add lzma_block_uncomp_encode().
2568 This also adds a new internal function
2569 lzma_block_buffer_bound64() which is similar to
2570 lzma_block_buffer_bound() but uses uint64_t instead
2573 src/liblzma/api/lzma/block.h | 18 ++++++
2574 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++----------
2575 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++
2576 src/liblzma/liblzma.map | 1 +
2577 4 files changed, 106 insertions(+), 31 deletions(-)
2579 commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1
2580 Author: Lasse Collin <lasse.collin@tukaani.org>
2581 Date: 2013-03-05 19:14:50 +0200
2583 Avoid unneeded use of awk in xzless.
2585 Use "read" instead of "awk" in xzless to get the version
2586 number of "less". The need for awk was introduced in
2587 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
2589 Thanks to Ariel P for the patch.
2591 src/scripts/xzless.in | 3 +--
2592 1 file changed, 1 insertion(+), 2 deletions(-)
2594 commit e7b424d267a34803db8d92a3515528be2ed45abd
2595 Author: Lasse Collin <lasse.collin@tukaani.org>
2596 Date: 2012-12-14 20:13:32 +0200
2598 Make the progress indicator smooth in threaded mode.
2600 This adds lzma_get_progress() to liblzma and takes advantage
2603 lzma_get_progress() collects progress information from
2604 the thread-specific structures so that fairly accurate
2605 progress information is available to applications. Adding
2606 a new function seemed to be a better way than making the
2607 information directly available in lzma_stream (like total_in
2608 and total_out are) because collecting the information requires
2609 locking mutexes. It's waste of time to do it more often than
2610 the up to date information is actually needed by an application.
2612 src/liblzma/api/lzma/base.h | 22 +++++++++-
2613 src/liblzma/common/common.c | 16 +++++++
2614 src/liblzma/common/common.h | 6 +++
2615 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++---
2616 src/liblzma/liblzma.map | 1 +
2617 src/xz/message.c | 20 +++++----
2618 6 files changed, 129 insertions(+), 13 deletions(-)
2620 commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f
2621 Author: Lasse Collin <lasse.collin@tukaani.org>
2622 Date: 2012-12-14 11:01:41 +0200
2624 liblzma: Fix mythread_sync for nested locking.
2626 src/common/mythread.h | 5 +++--
2627 1 file changed, 3 insertions(+), 2 deletions(-)
2629 commit 4c7e28705f6de418d19cc77324ef301f996e01ff
2630 Author: Lasse Collin <lasse.collin@tukaani.org>
2631 Date: 2012-12-13 21:05:36 +0200
2633 xz: Mention --threads in --help.
2635 Thanks to Olivier Delhomme for pointing out that this
2638 src/xz/message.c | 4 ++++
2639 1 file changed, 4 insertions(+)
2641 commit db5c1817fabf7cbb9e4087b1576eb26f0747338e
2642 Author: Jonathan Nieder <jrnieder@gmail.com>
2643 Date: 2012-11-19 00:10:10 -0800
2645 xzless: Make "less -V" parsing more robust
2647 In v4.999.9beta~30 (xzless: Support compressed standard input,
2648 2009-08-09), xzless learned to parse ‘less -V’ output to figure out
2649 whether less is new enough to handle $LESSOPEN settings starting
2650 with “|-”. That worked well for a while, but the version string from
2651 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
2653 $ xzless /tmp/test.xz; echo $?
2654 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
2655 integer expression expected
2658 More precisely, modern ‘less’ lists the regexp implementation along
2659 with its version number, and xzless passes the entire version number
2660 with attached parenthetical phrase as a number to "test $a -gt $b",
2661 producing the above confusing message.
2663 $ less-444 -V | head -1
2666 less 456 (no regular expressions)
2668 So relax the pattern matched --- instead of expecting "less <number>",
2669 look for a line of the form "less <number>[ (extra parenthetical)]".
2670 While at it, improve the behavior when no matching line is found ---
2671 instead of producing a cryptic message, we can fall back on a LESSPIPE
2672 setting that is supported by all versions of ‘less’.
2674 The implementation uses "awk" for simplicity. Hopefully that’s
2677 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
2678 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2680 src/scripts/xzless.in | 3 ++-
2681 1 file changed, 2 insertions(+), 1 deletion(-)
2683 commit 65536214a31ecd33b6b03b68a351fb597d3703d6
2684 Author: Lasse Collin <lasse.collin@tukaani.org>
2685 Date: 2012-10-03 15:54:24 +0300
2687 xz: Fix the note about --rsyncable on the man page.
2689 src/xz/xz.1 | 17 +++++++++--------
2690 1 file changed, 9 insertions(+), 8 deletions(-)
2692 commit 3d93b6354927247a1569caf22ad27b07e97ee904
2693 Author: Lasse Collin <lasse.collin@tukaani.org>
2694 Date: 2012-09-28 20:11:09 +0300
2696 xz: Improve handling of failed realloc in xrealloc.
2698 Thanks to Jim Meyering.
2700 src/xz/util.c | 14 ++++++++++++--
2701 1 file changed, 12 insertions(+), 2 deletions(-)
2703 commit ab225620664e235637833be2329935f9d290ba80
2704 Author: Lasse Collin <lasse.collin@tukaani.org>
2705 Date: 2012-08-24 16:27:31 +0300
2707 A few typo fixes to comments and the xz man page.
2709 Thanks to Jim Meyering.
2712 src/liblzma/check/sha256.c | 1 -
2713 src/xz/xz.1 | 4 ++--
2714 3 files changed, 3 insertions(+), 4 deletions(-)
2716 commit f3c1ec69d910175ffd431fd82968dd35cec806ed
2717 Author: Lasse Collin <lasse.collin@tukaani.org>
2718 Date: 2012-08-13 21:40:09 +0300
2720 xz: Add a warning to --help about alpha and beta versions.
2722 src/xz/message.c | 5 +++++
2723 1 file changed, 5 insertions(+)
2725 commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db
2726 Author: Lasse Collin <lasse.collin@tukaani.org>
2727 Date: 2012-08-02 17:13:30 +0300
2729 Build: Bump gettext version requirement to 0.18.
2731 Otherwise too old version of m4/lib-link.m4 gets included
2732 when autoreconf -fi is run.
2735 1 file changed, 1 insertion(+), 1 deletion(-)
2737 commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34
2738 Author: Lasse Collin <lasse.collin@tukaani.org>
2739 Date: 2012-07-17 18:29:08 +0300
2744 1 file changed, 1 insertion(+)
2746 commit 3778db1be53e61ff285c573af5ee468803008456
2747 Author: Lasse Collin <lasse.collin@tukaani.org>
2748 Date: 2012-07-17 18:19:59 +0300
2750 liblzma: Make the use of lzma_allocator const-correct.
2752 There is a tiny risk of causing breakage: If an application
2753 assigns lzma_stream.allocator to a non-const pointer, such
2754 code won't compile anymore. I don't know why anyone would do
2755 such a thing though, so in practice this shouldn't cause trouble.
2757 Thanks to Jan Kratochvil for the patch.
2759 src/liblzma/api/lzma/base.h | 4 +++-
2760 src/liblzma/api/lzma/block.h | 6 ++---
2761 src/liblzma/api/lzma/container.h | 9 +++++---
2762 src/liblzma/api/lzma/filter.h | 13 ++++++-----
2763 src/liblzma/api/lzma/index.h | 16 ++++++-------
2764 src/liblzma/api/lzma/index_hash.h | 4 ++--
2765 src/liblzma/common/alone_decoder.c | 6 ++---
2766 src/liblzma/common/alone_decoder.h | 2 +-
2767 src/liblzma/common/alone_encoder.c | 8 +++----
2768 src/liblzma/common/auto_decoder.c | 6 ++---
2769 src/liblzma/common/block_buffer_decoder.c | 2 +-
2770 src/liblzma/common/block_buffer_encoder.c | 4 ++--
2771 src/liblzma/common/block_decoder.c | 6 ++---
2772 src/liblzma/common/block_decoder.h | 2 +-
2773 src/liblzma/common/block_encoder.c | 8 +++----
2774 src/liblzma/common/block_encoder.h | 2 +-
2775 src/liblzma/common/block_header_decoder.c | 4 ++--
2776 src/liblzma/common/common.c | 10 ++++-----
2777 src/liblzma/common/common.h | 20 +++++++++--------
2778 src/liblzma/common/easy_buffer_encoder.c | 4 ++--
2779 src/liblzma/common/filter_buffer_decoder.c | 3 ++-
2780 src/liblzma/common/filter_buffer_encoder.c | 7 +++---
2781 src/liblzma/common/filter_common.c | 4 ++--
2782 src/liblzma/common/filter_common.h | 2 +-
2783 src/liblzma/common/filter_decoder.c | 7 +++---
2784 src/liblzma/common/filter_decoder.h | 2 +-
2785 src/liblzma/common/filter_encoder.c | 2 +-
2786 src/liblzma/common/filter_encoder.h | 2 +-
2787 src/liblzma/common/filter_flags_decoder.c | 2 +-
2788 src/liblzma/common/index.c | 26 ++++++++++-----------
2789 src/liblzma/common/index_decoder.c | 12 +++++-----
2790 src/liblzma/common/index_encoder.c | 6 ++---
2791 src/liblzma/common/index_encoder.h | 2 +-
2792 src/liblzma/common/index_hash.c | 6 +++--
2793 src/liblzma/common/outqueue.c | 4 ++--
2794 src/liblzma/common/outqueue.h | 5 +++--
2795 src/liblzma/common/stream_buffer_decoder.c | 2 +-
2796 src/liblzma/common/stream_buffer_encoder.c | 3 ++-
2797 src/liblzma/common/stream_decoder.c | 9 ++++----
2798 src/liblzma/common/stream_decoder.h | 5 +++--
2799 src/liblzma/common/stream_encoder.c | 10 ++++-----
2800 src/liblzma/common/stream_encoder_mt.c | 16 ++++++-------
2801 src/liblzma/delta/delta_common.c | 4 ++--
2802 src/liblzma/delta/delta_decoder.c | 6 ++---
2803 src/liblzma/delta/delta_decoder.h | 5 +++--
2804 src/liblzma/delta/delta_encoder.c | 6 ++---
2805 src/liblzma/delta/delta_encoder.h | 3 ++-
2806 src/liblzma/delta/delta_private.h | 2 +-
2807 src/liblzma/lz/lz_decoder.c | 8 +++----
2808 src/liblzma/lz/lz_decoder.h | 7 +++---
2809 src/liblzma/lz/lz_encoder.c | 19 ++++++++--------
2810 src/liblzma/lz/lz_encoder.h | 6 ++---
2811 src/liblzma/lzma/lzma2_decoder.c | 8 +++----
2812 src/liblzma/lzma/lzma2_decoder.h | 5 +++--
2813 src/liblzma/lzma/lzma2_encoder.c | 6 ++---
2814 src/liblzma/lzma/lzma2_encoder.h | 2 +-
2815 src/liblzma/lzma/lzma_decoder.c | 8 +++----
2816 src/liblzma/lzma/lzma_decoder.h | 7 +++---
2817 src/liblzma/lzma/lzma_encoder.c | 7 +++---
2818 src/liblzma/lzma/lzma_encoder.h | 5 +++--
2819 src/liblzma/simple/arm.c | 8 ++++---
2820 src/liblzma/simple/armthumb.c | 8 ++++---
2821 src/liblzma/simple/ia64.c | 8 ++++---
2822 src/liblzma/simple/powerpc.c | 8 ++++---
2823 src/liblzma/simple/simple_coder.c | 10 ++++-----
2824 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++----------
2825 src/liblzma/simple/simple_decoder.c | 2 +-
2826 src/liblzma/simple/simple_decoder.h | 2 +-
2827 src/liblzma/simple/simple_private.h | 3 ++-
2828 src/liblzma/simple/sparc.c | 8 ++++---
2829 src/liblzma/simple/x86.c | 8 ++++---
2830 71 files changed, 269 insertions(+), 219 deletions(-)
2832 commit d625c7cf824fd3b61c6da84f56179e94917ff603
2833 Author: Lasse Collin <lasse.collin@tukaani.org>
2834 Date: 2012-07-05 07:36:28 +0300
2836 Tests: Remove tests/test_block.c that had gotten committed accidentally.
2838 tests/test_block.c | 52 ----------------------------------------------------
2839 1 file changed, 52 deletions(-)
2841 commit 0b09d266cce72bc4841933b171e79551e488927c
2842 Author: Lasse Collin <lasse.collin@tukaani.org>
2843 Date: 2012-07-05 07:33:35 +0300
2845 Build: Include macosx/build.sh in the distribution.
2847 It has been in the Git repository since 2010 but probably
2848 few people have seen it since it hasn't been included in
2849 the release tarballs. :-(
2852 1 file changed, 1 insertion(+)
2854 commit d6e0b23d4613b9f417893dd96cc168c8005ece3d
2855 Author: Lasse Collin <lasse.collin@tukaani.org>
2856 Date: 2012-07-05 07:28:53 +0300
2858 Build: Include validate_map.sh in the distribution.
2860 It's required by "make mydist".
2862 Fix also the location of EXTRA_DIST+= so that those files
2863 get distributed also if symbol versioning isn't enabled.
2865 src/liblzma/Makefile.am | 2 +-
2866 1 file changed, 1 insertion(+), 1 deletion(-)
2868 commit 19de545d86097c3954d69ab5d12820387f6a09bc
2869 Author: Lasse Collin <lasse.collin@tukaani.org>
2870 Date: 2012-07-05 07:24:45 +0300
2872 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
2875 1 file changed, 1 insertion(+), 1 deletion(-)
2877 commit 672eccf57c31a40dfb956b7662db06d43e18618e
2878 Author: Lasse Collin <lasse.collin@tukaani.org>
2879 Date: 2012-07-05 07:23:17 +0300
2881 Include debug/translation.bash in the distribution.
2883 Also fix the script name mentioned in README.
2886 debug/Makefile.am | 3 +++
2887 2 files changed, 5 insertions(+), 2 deletions(-)
2889 commit cafb523adac1caf305e70a04bc37f25602bf990c
2890 Author: Lasse Collin <lasse.collin@tukaani.org>
2891 Date: 2012-07-04 22:31:58 +0300
2893 xz: Document --block-list better.
2895 Thanks to Jonathan Nieder.
2897 src/xz/xz.1 | 8 +++++++-
2898 1 file changed, 7 insertions(+), 1 deletion(-)
2900 commit c7ff218528bc8f7c65e7ef73c6515777346c6794
2901 Author: Lasse Collin <lasse.collin@tukaani.org>
2902 Date: 2012-07-04 20:01:49 +0300
2904 Bump the version number to 5.1.2alpha.
2906 src/liblzma/api/lzma/version.h | 2 +-
2907 src/liblzma/liblzma.map | 2 +-
2908 2 files changed, 2 insertions(+), 2 deletions(-)
2910 commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999
2911 Author: Lasse Collin <lasse.collin@tukaani.org>
2912 Date: 2012-07-04 20:01:19 +0300
2914 Update NEWS for 5.1.2alpha.
2916 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
2917 1 file changed, 41 insertions(+)
2919 commit 0d5fa05466e580fbc458820f87013ae7644e20e5
2920 Author: Lasse Collin <lasse.collin@tukaani.org>
2921 Date: 2012-07-04 19:58:23 +0300
2923 xz: Fix the version number printed by xz -lvv.
2925 The decoder bug was fixed in 5.0.2 instead of 5.0.3.
2927 src/xz/list.c | 6 +++---
2928 1 file changed, 3 insertions(+), 3 deletions(-)
2930 commit df11317985a4165731dde12bb0f0028da0e7b77f
2931 Author: Lasse Collin <lasse.collin@tukaani.org>
2932 Date: 2012-07-04 17:11:31 +0300
2934 Build: Add a comment to configure.ac about symbol versioning.
2936 configure.ac | 4 ++++
2937 1 file changed, 4 insertions(+)
2939 commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d
2940 Author: Lasse Collin <lasse.collin@tukaani.org>
2941 Date: 2012-07-04 17:06:49 +0300
2945 TODO | 12 ++++++++++--
2946 1 file changed, 10 insertions(+), 2 deletions(-)
2948 commit 4a238dd9b22f462cac5e199828bf1beb0df05884
2949 Author: Lasse Collin <lasse.collin@tukaani.org>
2950 Date: 2012-07-04 17:05:46 +0300
2952 Document --enable-symbol-versions in INSTALL.
2955 1 file changed, 5 insertions(+)
2957 commit 88ccf47205d7f3aa314d358c72ef214f10f68b43
2958 Author: Lasse Collin <lasse.collin@tukaani.org>
2959 Date: 2012-07-03 21:16:39 +0300
2961 xz: Add incomplete support for --block-list.
2963 It's broken with threads and when also --block-size is used.
2965 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2967 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------
2968 src/xz/coder.h | 4 +++
2970 src/xz/message.c | 6 +++++
2971 src/xz/xz.1 | 23 +++++++++++++++--
2972 7 files changed, 151 insertions(+), 10 deletions(-)
2974 commit 972179cdcdf5d8949c48ee31737d87d3050b44af
2975 Author: Lasse Collin <lasse.collin@tukaani.org>
2976 Date: 2012-07-01 18:44:33 +0300
2978 xz: Update the man page about the new field in --robot -lvv.
2980 src/xz/xz.1 | 18 +++++++++++++++++-
2981 1 file changed, 17 insertions(+), 1 deletion(-)
2983 commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5
2984 Author: Lasse Collin <lasse.collin@tukaani.org>
2985 Date: 2012-06-28 10:47:49 +0300
2987 liblzma: Check that the first byte of range encoded data is 0x00.
2989 It is just to be more pedantic and thus perhaps catch broken
2990 files slightly earlier.
2992 src/liblzma/lzma/lzma_decoder.c | 8 ++++++--
2993 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
2994 2 files changed, 15 insertions(+), 5 deletions(-)
2996 commit eccd8017ffe2c5de473222c4963ec53c62f7fda2
2997 Author: Lasse Collin <lasse.collin@tukaani.org>
2998 Date: 2012-06-22 19:00:23 +0300
3000 Update NEWS from 5.0.4.
3002 NEWS | 37 +++++++++++++++++++++++++++++++++++++
3003 1 file changed, 37 insertions(+)
3005 commit 2e6754eac26a431e8d340c28906f63bcd1e177e8
3006 Author: Lasse Collin <lasse.collin@tukaani.org>
3007 Date: 2012-06-22 14:34:03 +0300
3009 xz: Update man page date to match the latest update.
3012 1 file changed, 1 insertion(+), 1 deletion(-)
3014 commit b3235a0b1af45d5e1244cbe3191516966c076fa0
3015 Author: Lasse Collin <lasse.collin@tukaani.org>
3016 Date: 2012-06-18 21:27:47 +0300
3018 Docs: Language fix to 01_compress_easy.c.
3020 Thanks to Jonathan Nieder.
3022 doc/examples/01_compress_easy.c | 2 +-
3023 1 file changed, 1 insertion(+), 1 deletion(-)
3025 commit f1675f765fe228cb5a5f904f853445a03e33cfe9
3026 Author: Lasse Collin <lasse.collin@tukaani.org>
3027 Date: 2012-06-14 20:15:30 +0300
3029 Fix the top-level Makefile.am for the new example programs.
3031 Makefile.am | 12 ++++++++++--
3032 1 file changed, 10 insertions(+), 2 deletions(-)
3034 commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1
3035 Author: Lasse Collin <lasse.collin@tukaani.org>
3036 Date: 2012-06-14 10:52:33 +0300
3038 Docs: Add new example programs.
3040 These have more comments than the old examples and
3041 human-readable error messages. More tutorial-like examples
3042 are needed but these are a start.
3044 doc/examples/00_README.txt | 27 ++++
3045 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++
3046 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++
3047 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++
3048 doc/examples/Makefile | 23 +++
3049 5 files changed, 827 insertions(+)
3051 commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
3052 Author: Lasse Collin <lasse.collin@tukaani.org>
3053 Date: 2012-06-14 10:33:27 +0300
3055 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
3057 It is good to keep these around to so that if someone has
3058 copied the decompressor bug from xz_pipe_decomp.c he has
3059 an example how to easily fix it.
3061 doc/examples/xz_pipe_comp.c | 127 --------------------------------------
3062 doc/examples/xz_pipe_decomp.c | 123 ------------------------------------
3063 doc/examples_old/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++
3064 doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++
3065 4 files changed, 250 insertions(+), 250 deletions(-)
3067 commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
3068 Author: Lasse Collin <lasse.collin@tukaani.org>
3069 Date: 2012-06-14 10:33:01 +0300
3071 Docs: Fix a bug in xz_pipe_decomp.c example program.
3073 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
3074 1 file changed, 9 insertions(+), 1 deletion(-)
3076 commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8
3077 Author: Lasse Collin <lasse.collin@tukaani.org>
3078 Date: 2012-05-30 23:14:33 +0300
3080 Translations: Update the French translation.
3082 Thanks to Adrien Nader.
3084 po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
3085 1 file changed, 79 insertions(+), 69 deletions(-)
3087 commit d2e836f2f3a87df6fe6bb0589b037db51205d910
3088 Author: Lasse Collin <lasse.collin@tukaani.org>
3089 Date: 2012-05-29 23:42:37 +0300
3091 Translations: Update the German translation.
3093 The previous only included the new strings in v5.0.
3095 po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
3096 1 file changed, 133 insertions(+), 96 deletions(-)
3098 commit c9a16151577ba459afd6e3528df23bc0ddb95171
3099 Author: Lasse Collin <lasse.collin@tukaani.org>
3100 Date: 2012-05-29 22:26:27 +0300
3102 Translations: Update the German translation.
3104 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
3105 1 file changed, 91 insertions(+), 78 deletions(-)
3107 commit 1530a74fd48f8493372edad137a24541efe24713
3108 Author: Lasse Collin <lasse.collin@tukaani.org>
3109 Date: 2012-05-29 22:14:21 +0300
3111 Translations: Update Polish translation.
3113 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
3114 1 file changed, 165 insertions(+), 118 deletions(-)
3116 commit d8db706acb8316f9861abd432cfbe001dd6d0c5c
3117 Author: Lasse Collin <lasse.collin@tukaani.org>
3118 Date: 2012-05-28 20:42:11 +0300
3120 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
3122 lzma_code() could incorrectly return LZMA_BUF_ERROR if
3123 all of the following was true:
3125 - The caller knows how many bytes of output to expect
3126 and only provides that much output space.
3128 - When the last output bytes are decoded, the
3129 caller-provided input buffer ends right before
3130 the LZMA2 end of payload marker. So LZMA2 won't
3131 provide more output anymore, but it won't know it
3132 yet and thus won't return LZMA_STREAM_END yet.
3134 - A BCJ filter is in use and it hasn't left any
3135 unfiltered bytes in the temp buffer. This can happen
3136 with any BCJ filter, but in practice it's more likely
3137 with filters other than the x86 BCJ.
3139 Another situation where the bug can be triggered happens
3140 if the uncompressed size is zero bytes and no output space
3141 is provided. In this case the decompression can fail even
3142 if the whole input file is given to lzma_code().
3144 A similar bug was fixed in XZ Embedded on 2011-09-19.
3146 src/liblzma/simple/simple_coder.c | 2 +-
3147 tests/Makefile.am | 4 +-
3148 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++
3149 3 files changed, 116 insertions(+), 2 deletions(-)
3151 commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda
3152 Author: Lasse Collin <lasse.collin@tukaani.org>
3153 Date: 2012-05-28 15:38:32 +0300
3158 1 file changed, 1 insertion(+)
3160 commit 7769ea051d739a38a1640fd448cf5eb83cb119c6
3161 Author: Lasse Collin <lasse.collin@tukaani.org>
3162 Date: 2012-05-28 15:37:43 +0300
3164 xz: Don't show a huge number in -vv when memory limit is disabled.
3166 src/xz/message.c | 12 +++++++++++-
3167 1 file changed, 11 insertions(+), 1 deletion(-)
3169 commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd
3170 Author: Lasse Collin <lasse.collin@tukaani.org>
3171 Date: 2012-05-27 22:30:17 +0300
3173 xz: Document the "summary" lines of --robot -lvv.
3175 This documents only the columns that are in v5.0.
3176 The new columns added in the master branch aren't
3177 necessarily stable yet.
3179 src/xz/xz.1 | 19 +++++++++++++++++++
3180 1 file changed, 19 insertions(+)
3182 commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a
3183 Author: Lasse Collin <lasse.collin@tukaani.org>
3184 Date: 2012-05-27 21:53:20 +0300
3186 xz: Fix output of verbose --robot --list modes.
3188 It printed the filename in "filename (x/y)" format
3189 which it obviously shouldn't do in robot mode.
3191 src/xz/message.c | 2 +-
3192 1 file changed, 1 insertion(+), 1 deletion(-)
3194 commit ab25b82a91754d9388c89abddf806424671d9431
3195 Author: Lasse Collin <lasse.collin@tukaani.org>
3196 Date: 2012-05-24 18:33:54 +0300
3198 Build: Upgrade m4/acx_pthread.m4 to the latest version.
3200 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
3201 1 file changed, 62 insertions(+), 36 deletions(-)
3203 commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634
3204 Author: Lasse Collin <lasse.collin@tukaani.org>
3205 Date: 2012-05-10 21:15:17 +0300
3210 1 file changed, 1 insertion(+)
3212 commit e077391982f9f28dbfe542bba8800e7c5b916666
3213 Author: Lasse Collin <lasse.collin@tukaani.org>
3214 Date: 2012-05-10 21:14:16 +0300
3216 Docs: Cleanup line wrapping a bit.
3218 README | 12 ++++++------
3219 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
3220 2 files changed, 31 insertions(+), 30 deletions(-)
3222 commit fc39849c350225c6a1cd7f6e6adff1020521eabc
3223 Author: Benno Schulenberg <bensberg@justemail.net>
3224 Date: 2012-03-13 22:04:04 +0100
3226 Fix a few typos and add some missing articles in some documents.
3228 Also hyphenate several compound adjectives.
3230 Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
3233 README | 42 ++++++++++++++++++++---------------------
3234 doc/faq.txt | 24 ++++++++++++------------
3235 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
3236 4 files changed, 65 insertions(+), 65 deletions(-)
3238 commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1
3239 Author: Lasse Collin <lasse.collin@tukaani.org>
3240 Date: 2012-04-29 11:51:25 +0300
3242 Windows: Update notes about static linking with MSVC.
3244 windows/README-Windows.txt | 13 +++++++++----
3245 1 file changed, 9 insertions(+), 4 deletions(-)
3247 commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e
3248 Author: Lasse Collin <lasse.collin@tukaani.org>
3249 Date: 2012-04-19 15:25:26 +0300
3251 liblzma: Remove outdated comments.
3253 src/liblzma/simple/simple_coder.c | 3 ---
3254 src/liblzma/simple/simple_private.h | 3 +--
3255 2 files changed, 1 insertion(+), 5 deletions(-)
3257 commit df14a46013bea70c0bd35be7821b0b9108f97de7
3258 Author: Lasse Collin <lasse.collin@tukaani.org>
3259 Date: 2012-04-19 14:17:52 +0300
3261 DOS: Link against DJGPP's libemu to support FPU emulation.
3263 This way xz should work on 386SX and 486SX. Floating point
3264 only is needed for verbose output in xz.
3267 1 file changed, 1 insertion(+), 1 deletion(-)
3269 commit 03ed742a3a4931bb5c821357832083b26f577b13
3270 Author: Lasse Collin <lasse.collin@tukaani.org>
3271 Date: 2012-04-19 14:02:25 +0300
3273 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
3275 src/liblzma/liblzma.pc.in | 2 +-
3276 1 file changed, 1 insertion(+), 1 deletion(-)
3278 commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda
3279 Author: Lasse Collin <lasse.collin@tukaani.org>
3280 Date: 2012-04-19 13:58:55 +0300
3282 Docs: Update MINIX 3 information in INSTALL.
3284 INSTALL | 8 +++++---
3285 1 file changed, 5 insertions(+), 3 deletions(-)
3287 commit c7376fc415a1566f38b2de4b516a17013d516a8b
3288 Author: Lasse Collin <lasse.collin@tukaani.org>
3289 Date: 2012-02-22 14:23:13 +0200
3294 1 file changed, 1 insertion(+)
3296 commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6
3297 Author: Lasse Collin <lasse.collin@tukaani.org>
3298 Date: 2012-02-22 14:02:34 +0200
3300 Fix exit status of xzgrep when grepping binary files.
3302 When grepping binary files, grep may exit before it has
3303 read all the input. In this case, gzip -q returns 2 (eating
3304 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
3305 (e.g. 141). This causes wrong exit status when grepping
3306 xz- or bzip2-compressed binary files.
3308 The fix checks for the special exit status that indicates SIGPIPE.
3309 It uses kill -l which should be supported everywhere since it
3310 is in both SUSv2 (1997) and POSIX.1-2008.
3312 Thanks to James Buren for the bug report.
3314 src/scripts/xzgrep.in | 3 ++-
3315 1 file changed, 2 insertions(+), 1 deletion(-)
3317 commit 41cafb2bf9beea915710ee68f05fe929cd17759c
3318 Author: Lasse Collin <lasse.collin@tukaani.org>
3319 Date: 2012-02-22 12:08:43 +0200
3324 1 file changed, 1 insertion(+)
3326 commit 2dcea03712fa881930d69ec9eff70855c3d126d9
3327 Author: Lasse Collin <lasse.collin@tukaani.org>
3328 Date: 2012-02-22 12:00:16 +0200
3330 Fix compiling with IBM XL C on AIX.
3332 INSTALL | 36 ++++++++++++++++++++++--------------
3333 configure.ac | 6 +++++-
3334 2 files changed, 27 insertions(+), 15 deletions(-)
3336 commit 7db6bdf4abcf524115be2cf5659ed540cef074c5
3337 Author: Lasse Collin <lasse.collin@tukaani.org>
3338 Date: 2012-01-10 17:13:03 +0200
3340 Tests: Fix a compiler warning with _FORTIFY_SOURCE.
3343 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
3345 tests/create_compress_files.c | 3 ++-
3346 1 file changed, 2 insertions(+), 1 deletion(-)
3348 commit 694952d545b6cf056547893ced69486eff9ece55
3349 Author: Lasse Collin <lasse.collin@tukaani.org>
3350 Date: 2011-12-19 21:21:29 +0200
3352 Docs: Explain the stable releases better in README.
3355 1 file changed, 5 insertions(+), 1 deletion(-)
3357 commit 418fe668b3c53a9a20020b6cc652aaf25c734b29
3358 Author: Lasse Collin <lasse.collin@tukaani.org>
3359 Date: 2011-11-07 13:07:52 +0200
3361 xz: Show minimum required XZ Utils version in xz -lvv.
3363 Man page wasn't updated yet.
3365 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
3366 1 file changed, 57 insertions(+), 6 deletions(-)
3368 commit 7081d82c37326bac97184e338345fa1c327e3580
3369 Author: Lasse Collin <lasse.collin@tukaani.org>
3370 Date: 2011-11-04 17:57:16 +0200
3372 xz: Fix a typo in a comment.
3374 Thanks to Bela Lubkin.
3376 src/xz/args.c | 2 +-
3377 1 file changed, 1 insertion(+), 1 deletion(-)
3379 commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5
3380 Author: Lasse Collin <lasse.collin@tukaani.org>
3381 Date: 2011-11-03 17:08:02 +0200
3386 1 file changed, 1 insertion(+)
3388 commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1
3389 Author: Lasse Collin <lasse.collin@tukaani.org>
3390 Date: 2011-11-03 17:07:22 +0200
3392 xz: Fix xz on EBCDIC systems.
3394 Thanks to Chris Donawa.
3396 src/xz/coder.c | 5 ++++-
3397 1 file changed, 4 insertions(+), 1 deletion(-)
3399 commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a
3400 Author: Lasse Collin <lasse.collin@tukaani.org>
3401 Date: 2011-10-23 17:09:10 +0300
3406 1 file changed, 1 insertion(+)
3408 commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7
3409 Author: Lasse Collin <lasse.collin@tukaani.org>
3410 Date: 2011-10-23 17:08:14 +0300
3412 liblzma: Fix invalid free() in the threaded encoder.
3414 It was triggered if initialization failed e.g. due to
3415 running out of memory.
3417 Thanks to Arkadiusz Miskiewicz.
3419 src/liblzma/common/outqueue.c | 4 ++++
3420 1 file changed, 4 insertions(+)
3422 commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908
3423 Author: Lasse Collin <lasse.collin@tukaani.org>
3424 Date: 2011-10-23 17:05:55 +0300
3426 liblzma: Fix a deadlock in the threaded encoder.
3428 It was triggered when reinitializing the encoder,
3429 e.g. when encoding two files.
3431 src/liblzma/common/stream_encoder_mt.c | 4 +++-
3432 1 file changed, 3 insertions(+), 1 deletion(-)
3434 commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178
3435 Author: Lasse Collin <lasse.collin@tukaani.org>
3436 Date: 2011-09-06 12:03:41 +0300
3438 Build: Fix "make check" on Windows.
3440 tests/Makefile.am | 7 +++++--
3441 windows/build.bash | 2 ++
3442 2 files changed, 7 insertions(+), 2 deletions(-)
3444 commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82
3445 Author: Lasse Collin <lasse.collin@tukaani.org>
3446 Date: 2011-08-09 21:19:13 +0300
3451 1 file changed, 2 insertions(+)
3453 commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809
3454 Author: Lasse Collin <lasse.collin@tukaani.org>
3455 Date: 2011-08-09 21:16:44 +0300
3457 Workaround unusual SIZE_MAX on SCO OpenServer.
3459 src/common/sysdefs.h | 9 ++++++---
3460 1 file changed, 6 insertions(+), 3 deletions(-)
3462 commit e9ed88126eee86e2511fa42681a5c7104820cf0a
3463 Author: Lasse Collin <lasse.collin@tukaani.org>
3464 Date: 2011-08-06 20:37:28 +0300
3466 Run the scripts with the correct shell in test_scripts.sh.
3468 The scripts are now made executable in the build tree.
3469 This way the scripts can be run like programs in
3470 test_scripts.sh. Previously test_scripts.sh always
3471 used sh but it's not correct if @POSIX_SHELL@ is set
3472 to something else by configure.
3474 Thanks to Jonathan Nieder for the patch.
3476 configure.ac | 8 ++++----
3477 tests/test_scripts.sh | 8 ++++----
3478 2 files changed, 8 insertions(+), 8 deletions(-)
3480 commit 1c673e5681720491a74fc4b2992e075f47302c22
3481 Author: Lasse Collin <lasse.collin@tukaani.org>
3482 Date: 2011-07-31 11:01:47 +0300
3484 Fix exit status of "xzdiff foo.xz bar.xz".
3486 xzdiff was clobbering the exit status from diff in a case
3487 statement used to analyze the exit statuses from "xz" when
3488 its operands were two compressed files. Save and restore
3489 diff's exit status to fix this.
3491 The bug is inherited from zdiff in GNU gzip and was fixed
3492 there on 2009-10-09.
3494 Thanks to Jonathan Nieder for the patch and
3495 to Peter Pallinger for reporting the bug.
3497 src/scripts/xzdiff.in | 2 ++
3498 tests/Makefile.am | 4 +++-
3499 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
3500 3 files changed, 59 insertions(+), 1 deletion(-)
3502 commit 324cde7a864f4506c32ae7846d688c359a83fe65
3503 Author: Lasse Collin <lasse.collin@tukaani.org>
3504 Date: 2011-06-16 12:15:29 +0300
3506 liblzma: Remove unneeded semicolon.
3508 src/liblzma/lz/lz_encoder_hash.h | 2 +-
3509 1 file changed, 1 insertion(+), 1 deletion(-)
3511 commit 492c86345551a51a29bf18e55fe55a5e86f169ce
3512 Author: Lasse Collin <lasse.collin@tukaani.org>
3513 Date: 2011-05-28 19:24:56 +0300
3515 Build: Make configure print if symbol versioning is enabled or not.
3518 1 file changed, 2 insertions(+)
3520 commit fc4d4436969bd4d71b704d400a165875e596034a
3521 Author: Lasse Collin <lasse.collin@tukaani.org>
3522 Date: 2011-05-28 16:43:26 +0300
3524 Don't call close(-1) in tuklib_open_stdxxx() on error.
3526 Thanks to Jim Meyering.
3528 src/common/tuklib_open_stdxxx.c | 4 +++-
3529 1 file changed, 3 insertions(+), 1 deletion(-)
3531 commit bd35d903a04c4d388adb4065b0fa271302380895
3532 Author: Lasse Collin <lasse.collin@tukaani.org>
3533 Date: 2011-05-28 15:55:39 +0300
3535 liblzma: Use symbol versioning.
3537 Symbol versioning is enabled by default on GNU/Linux,
3538 other GNU-based systems, and FreeBSD.
3540 I'm not sure how stable this is, so it may need
3541 backward-incompatible changes before the next release.
3543 The idea is that alpha and beta symbols are considered
3544 unstable and require recompiling the applications that
3545 use those symbols. Once a symbol is stable, it may get
3546 extended with new features in ways that don't break
3547 compatibility with older ABI & API.
3549 The mydist target runs validate_map.sh which should
3550 catch some probable problems in liblzma.map. Otherwise
3551 I would forget to update the map file for new releases.
3554 configure.ac | 21 +++++++++
3555 src/liblzma/Makefile.am | 6 +++
3556 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++
3557 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++
3558 5 files changed, 201 insertions(+)
3560 commit afbb244362c9426a37ce4eb9d54aab768da3adad
3561 Author: Lasse Collin <lasse.collin@tukaani.org>
3562 Date: 2011-05-28 09:46:46 +0300
3564 Translations: Update the Italian translation.
3566 Thanks to Milo Casagrande.
3568 po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
3569 1 file changed, 216 insertions(+), 149 deletions(-)
3571 commit 79bef85e0543c0c3723281c3c817616c6cec343b
3572 Author: Lasse Collin <lasse.collin@tukaani.org>
3573 Date: 2011-05-28 08:46:04 +0300
3575 Tests: Add a test file for the bug in the previous commit.
3577 tests/files/README | 4 ++++
3578 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
3579 2 files changed, 4 insertions(+)
3581 commit c0297445064951807803457dca1611b3c47e7f0f
3582 Author: Lasse Collin <lasse.collin@tukaani.org>
3583 Date: 2011-05-27 22:25:44 +0300
3585 xz: Fix error handling in xz -lvv.
3587 It could do an invalid free() and read past the end
3588 of the uninitialized filters array.
3590 src/xz/list.c | 21 ++++++---------------
3591 1 file changed, 6 insertions(+), 15 deletions(-)
3593 commit 8bd91918ac50731f00b1a2a48072980572eb2ff9
3594 Author: Lasse Collin <lasse.collin@tukaani.org>
3595 Date: 2011-05-27 22:09:49 +0300
3597 liblzma: Handle allocation failures correctly in lzma_index_init().
3599 Thanks to Jim Meyering.
3601 src/liblzma/common/index.c | 7 +++++--
3602 1 file changed, 5 insertions(+), 2 deletions(-)
3604 commit fe00f95828ef5627721b57e054f7eb2d42a2c961
3605 Author: Lasse Collin <lasse.collin@tukaani.org>
3606 Date: 2011-05-24 00:23:46 +0300
3608 Build: Fix checking for system-provided SHA-256.
3611 1 file changed, 1 insertion(+), 1 deletion(-)
3613 commit 21b45b9bab541f419712cbfd473ccc31802e0397
3614 Author: Lasse Collin <lasse.collin@tukaani.org>
3615 Date: 2011-05-23 18:30:30 +0300
3617 Build: Set GZIP_ENV=-9n in top-level Makefile.am.
3620 1 file changed, 3 insertions(+)
3622 commit 48053e8a4550233af46359024538bff90c870ab1
3623 Author: Lasse Collin <lasse.collin@tukaani.org>
3624 Date: 2011-05-22 16:42:11 +0300
3626 Update NEWS for 5.0.3.
3628 NEWS | 32 ++++++++++++++++++++++++++++++++
3629 1 file changed, 32 insertions(+)
3631 commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2
3632 Author: Lasse Collin <lasse.collin@tukaani.org>
3633 Date: 2011-05-21 16:28:44 +0300
3635 Add French translation.
3637 It is known that the BCJ filter --help text is only
3638 partially translated.
3641 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3642 2 files changed, 865 insertions(+)
3644 commit 4161d7634965a7a287bf208dcd79f6185f448fe8
3645 Author: Lasse Collin <lasse.collin@tukaani.org>
3646 Date: 2011-05-21 15:12:10 +0300
3648 xz: Translate also the string used to print the program name.
3650 French needs a space before a colon, e.g. "xz : foo error".
3652 src/xz/message.c | 6 +++++-
3653 1 file changed, 5 insertions(+), 1 deletion(-)
3655 commit b94aa0c8380cdb18cddb33440d625474c16643cf
3656 Author: Lasse Collin <lasse.collin@tukaani.org>
3657 Date: 2011-05-21 15:08:44 +0300
3659 liblzma: Try to use SHA-256 from the operating system.
3661 If the operating system libc or other base libraries
3662 provide SHA-256, use that instead of our own copy.
3663 Note that this doesn't use OpenSSL or libgcrypt or
3664 such libraries to avoid creating dependencies to
3667 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris,
3668 MINIX, and Darwin. They all provide similar but not
3669 identical SHA-256 APIs; everyone is a little different.
3671 Thanks to Wim Lewis for the original patch, improvements,
3674 configure.ac | 54 +++++++++++++++++++++++++++
3675 src/liblzma/check/Makefile.inc | 2 +
3676 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++----
3677 3 files changed, 131 insertions(+), 8 deletions(-)
3679 commit f004128678d43ea10b4a6401aa184cf83252d6ec
3680 Author: Lasse Collin <lasse.collin@tukaani.org>
3681 Date: 2011-05-17 12:52:18 +0300
3683 Don't use clockid_t in mythread.h when clock_gettime() isn't available.
3685 Thanks to Wim Lewis for the patch.
3687 src/common/mythread.h | 2 ++
3688 1 file changed, 2 insertions(+)
3690 commit f779516f42ebd2db47a5b7d6143459bf7737cf2f
3691 Author: Lasse Collin <lasse.collin@tukaani.org>
3692 Date: 2011-05-17 12:26:28 +0300
3697 1 file changed, 3 insertions(+)
3699 commit 830ba587775bb562f6eaf05cad61bf669d1f8892
3700 Author: Lasse Collin <lasse.collin@tukaani.org>
3701 Date: 2011-05-17 12:21:33 +0300
3703 Update INSTALL with a note about linker problem on OpenSolaris x86.
3705 INSTALL | 23 +++++++++++++++++------
3706 1 file changed, 17 insertions(+), 6 deletions(-)
3708 commit ec7106309c8060e9c646dba20c4f15689a0bbb04
3709 Author: Lasse Collin <lasse.collin@tukaani.org>
3710 Date: 2011-05-17 12:01:37 +0300
3712 Build: Fix initialization of enable_check_* variables in configure.ac.
3714 This doesn't matter much in practice since it is unlikely
3715 that anyone would have such environment variable names.
3717 Thanks to Wim Lewis.
3720 1 file changed, 1 insertion(+), 1 deletion(-)
3722 commit 4c6e146df99696920f12410fb17754412797ef36
3723 Author: Lasse Collin <lasse.collin@tukaani.org>
3724 Date: 2011-05-17 11:54:38 +0300
3726 Add underscores to attributes (__attribute((__foo__))).
3728 src/liblzma/common/alone_decoder.c | 2 +-
3729 src/liblzma/common/alone_encoder.c | 2 +-
3730 src/liblzma/common/block_encoder.c | 2 +-
3731 src/liblzma/common/common.c | 2 +-
3732 src/liblzma/common/common.h | 2 +-
3733 src/liblzma/common/index_decoder.c | 9 +++++----
3734 src/liblzma/common/index_encoder.c | 11 ++++++-----
3735 src/liblzma/delta/delta_encoder.c | 2 +-
3736 src/liblzma/lz/lz_decoder.c | 2 +-
3737 src/liblzma/lz/lz_encoder.c | 2 +-
3738 src/liblzma/simple/arm.c | 2 +-
3739 src/liblzma/simple/armthumb.c | 2 +-
3740 src/liblzma/simple/ia64.c | 2 +-
3741 src/liblzma/simple/powerpc.c | 2 +-
3742 src/liblzma/simple/simple_coder.c | 2 +-
3743 src/liblzma/simple/sparc.c | 2 +-
3744 src/lzmainfo/lzmainfo.c | 4 ++--
3745 src/xz/coder.c | 2 +-
3746 src/xz/hardware.h | 2 +-
3747 src/xz/message.c | 2 +-
3748 src/xz/message.h | 18 +++++++++---------
3749 src/xz/options.c | 6 +++---
3750 src/xz/signals.c | 2 +-
3751 src/xz/util.h | 6 +++---
3752 src/xzdec/xzdec.c | 6 +++---
3753 25 files changed, 49 insertions(+), 47 deletions(-)
3755 commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6
3756 Author: Lasse Collin <lasse.collin@tukaani.org>
3757 Date: 2011-05-01 12:24:23 +0300
3759 xz: Fix input file position when --single-stream is used.
3761 Now the following works as you would expect:
3763 echo foo | xz > foo.xz
3764 echo bar | xz >> foo.xz
3765 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
3767 Note that it doesn't work if the input is not seekable
3768 or if there is Stream Padding between the concatenated
3771 src/xz/coder.c | 1 +
3772 src/xz/file_io.c | 15 +++++++++++++++
3773 src/xz/file_io.h | 13 +++++++++++++
3774 3 files changed, 29 insertions(+)
3776 commit c29e6630c1450c630c4e7b783bdd76515db9004c
3777 Author: Lasse Collin <lasse.collin@tukaani.org>
3778 Date: 2011-05-01 12:15:51 +0300
3780 xz: Print the maximum number of worker threads in xz -vv.
3782 src/xz/coder.c | 4 ++++
3783 1 file changed, 4 insertions(+)
3785 commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720
3786 Author: Lasse Collin <lasse.collin@tukaani.org>
3787 Date: 2011-04-19 10:44:48 +0300
3789 Build: Warn if no supported method to detect the number of CPU cores.
3791 configure.ac | 11 +++++------
3792 1 file changed, 5 insertions(+), 6 deletions(-)
3794 commit e4622df9ab4982f8faa53d85b17be66216175a58
3795 Author: Lasse Collin <lasse.collin@tukaani.org>
3796 Date: 2011-04-19 09:55:06 +0300
3801 1 file changed, 1 insertion(+)
3803 commit 9c1b05828a88eff54409760b92162c7cc2c7cff6
3804 Author: Lasse Collin <lasse.collin@tukaani.org>
3805 Date: 2011-04-19 09:20:44 +0300
3807 Fix portability problems in mythread.h.
3809 Use gettimeofday() if clock_gettime() isn't available
3812 The test for availability of pthread_condattr_setclock()
3813 and CLOCK_MONOTONIC was incorrect. Instead of fixing the
3814 #ifdefs, use an Autoconf test. That way if there exists a
3815 system that supports them but doesn't specify the matching
3816 POSIX #defines, the features will still get detected.
3818 Don't try to use pthread_sigmask() on OpenVMS. It doesn't
3821 Guard mythread.h against being #included multiple times.
3823 configure.ac | 7 +++++++
3824 src/common/mythread.h | 31 +++++++++++++++++++++++++++----
3825 2 files changed, 34 insertions(+), 4 deletions(-)
3827 commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9
3828 Author: Lasse Collin <lasse.collin@tukaani.org>
3829 Date: 2011-04-18 19:35:49 +0300
3834 1 file changed, 2 insertions(+)
3836 commit bd5002f5821e3d1b04f2f56989e4a19318e73633
3837 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
3838 Date: 2011-04-15 04:54:49 -0400
3840 xzgrep: fix typo in $0 parsing
3842 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
3843 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
3844 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
3846 src/scripts/xzgrep.in | 4 ++--
3847 1 file changed, 2 insertions(+), 2 deletions(-)
3849 commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48
3850 Author: Lasse Collin <lasse.collin@tukaani.org>
3851 Date: 2011-04-12 12:48:31 +0300
3853 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
3855 src/liblzma/Makefile.am | 2 +-
3856 src/liblzma/api/lzma/version.h | 2 +-
3857 2 files changed, 2 insertions(+), 2 deletions(-)
3859 commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c
3860 Author: Lasse Collin <lasse.collin@tukaani.org>
3861 Date: 2011-04-12 12:42:37 +0300
3863 Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
3865 This way people hopefully won't complain if these APIs
3866 change and break code that used an older API.
3868 src/liblzma/api/lzma/container.h | 4 ++++
3869 src/liblzma/common/common.h | 2 ++
3870 src/xz/private.h | 2 ++
3871 3 files changed, 8 insertions(+)
3873 commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3
3874 Author: Lasse Collin <lasse.collin@tukaani.org>
3875 Date: 2011-04-12 11:59:49 +0300
3877 Remove doubled words from documentation and comments.
3879 Spot candidates by running these commands:
3880 git ls-files |xargs perl -0777 -n \
3881 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
3882 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
3884 Thanks to Jim Meyering for the original patch.
3886 doc/lzma-file-format.txt | 4 ++--
3887 src/liblzma/common/alone_encoder.c | 2 +-
3888 src/liblzma/lzma/lzma2_encoder.c | 2 +-
3889 src/xz/file_io.c | 2 +-
3891 windows/INSTALL-Windows.txt | 2 +-
3892 6 files changed, 7 insertions(+), 7 deletions(-)
3894 commit d91a84b534b012d19474f2fda1fbcaef873e1ba4
3895 Author: Lasse Collin <lasse.collin@tukaani.org>
3896 Date: 2011-04-12 11:46:01 +0300
3900 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
3901 1 file changed, 45 insertions(+), 2 deletions(-)
3903 commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1
3904 Author: Lasse Collin <lasse.collin@tukaani.org>
3905 Date: 2011-04-12 11:45:40 +0300
3909 TODO | 12 +++++++++++-
3910 1 file changed, 11 insertions(+), 1 deletion(-)
3912 commit 70e750f59793f9b5cd306a5adce9b8e427739e04
3913 Author: Lasse Collin <lasse.collin@tukaani.org>
3914 Date: 2011-04-12 11:08:55 +0300
3916 xz: Update the man page about threading.
3918 src/xz/xz.1 | 34 ++++++++++++++++++++--------------
3919 1 file changed, 20 insertions(+), 14 deletions(-)
3921 commit 24e0406c0fb7494d2037dec033686faf1bf67068
3922 Author: Lasse Collin <lasse.collin@tukaani.org>
3923 Date: 2011-04-11 22:06:03 +0300
3925 xz: Add support for threaded compression.
3927 src/xz/args.c | 3 +-
3928 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
3929 2 files changed, 125 insertions(+), 80 deletions(-)
3931 commit de678e0c924aa79a19293a8a6ed82e8cb6572a42
3932 Author: Lasse Collin <lasse.collin@tukaani.org>
3933 Date: 2011-04-11 22:03:30 +0300
3935 liblzma: Add lzma_stream_encoder_mt() for threaded compression.
3937 This is the simplest method to do threading, which splits
3938 the uncompressed data into blocks and compresses them
3939 independently from each other. There's room for improvement
3940 especially to reduce the memory usage, but nevertheless,
3941 this is a good start.
3944 src/liblzma/api/lzma/container.h | 163 +++++
3945 src/liblzma/common/Makefile.inc | 7 +
3946 src/liblzma/common/common.c | 9 +-
3947 src/liblzma/common/common.h | 14 +
3948 src/liblzma/common/outqueue.c | 180 ++++++
3949 src/liblzma/common/outqueue.h | 155 +++++
3950 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++
3951 8 files changed, 1539 insertions(+), 1 deletion(-)
3953 commit 25fe729532cdf4b8fed56a4519b73cf31efaec50
3954 Author: Lasse Collin <lasse.collin@tukaani.org>
3955 Date: 2011-04-11 21:15:07 +0300
3957 liblzma: Add the forgotten lzma_lzma2_block_size().
3959 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
3961 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
3962 src/liblzma/lzma/lzma2_encoder.h | 2 ++
3963 2 files changed, 12 insertions(+)
3965 commit 91afb785a1dee34862078d9bf844ef12b8cc3e35
3966 Author: Lasse Collin <lasse.collin@tukaani.org>
3967 Date: 2011-04-11 21:04:13 +0300
3969 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
3971 src/liblzma/api/lzma/container.h | 9 +++++++++
3972 1 file changed, 9 insertions(+)
3974 commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee
3975 Author: Lasse Collin <lasse.collin@tukaani.org>
3976 Date: 2011-04-11 20:59:07 +0300
3978 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
3980 It didn't mention the return value that is used if
3983 src/liblzma/api/lzma/filter.h | 8 ++++++--
3984 1 file changed, 6 insertions(+), 2 deletions(-)
3986 commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d
3987 Author: Lasse Collin <lasse.collin@tukaani.org>
3988 Date: 2011-04-11 19:28:18 +0300
3990 liblzma: Use memzero() to initialize supported_actions[].
3992 This is cleaner and makes it simpler to add new members
3993 to lzma_action enumeration.
3995 src/liblzma/common/common.c | 6 ++----
3996 1 file changed, 2 insertions(+), 4 deletions(-)
3998 commit a7934c446a58e20268689899d2a39f50e571f251
3999 Author: Lasse Collin <lasse.collin@tukaani.org>
4000 Date: 2011-04-11 19:26:27 +0300
4002 liblzma: API comment about lzma_allocator with threaded coding.
4004 src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
4005 1 file changed, 13 insertions(+), 5 deletions(-)
4007 commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a
4008 Author: Lasse Collin <lasse.collin@tukaani.org>
4009 Date: 2011-04-11 19:16:30 +0300
4011 liblzma: Add an internal function lzma_mt_block_size().
4013 This is based lzma_chunk_size() that was included in some
4014 development version of liblzma.
4016 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
4017 src/liblzma/common/filter_encoder.h | 4 ++--
4018 2 files changed, 24 insertions(+), 26 deletions(-)
4020 commit d1199274758049fc523d98c5b860ff814a799eec
4021 Author: Lasse Collin <lasse.collin@tukaani.org>
4022 Date: 2011-04-11 13:59:50 +0300
4024 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
4026 Empty Block was created if the input buffer was empty.
4027 Empty Block wastes a few bytes of space, but more importantly
4028 it triggers a bug in XZ Utils 5.0.1 and older when trying
4029 to decompress such a file. 5.0.1 and older consider such
4030 files to be corrupt. I thought that no encoder creates empty
4031 Blocks when releasing 5.0.2 but I was wrong.
4033 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
4034 1 file changed, 13 insertions(+), 7 deletions(-)
4036 commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848
4037 Author: Lasse Collin <lasse.collin@tukaani.org>
4038 Date: 2011-04-11 13:28:40 +0300
4040 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
4042 This return value was missing from the API comments of
4045 src/liblzma/api/lzma/block.h | 1 +
4046 src/liblzma/api/lzma/container.h | 3 +++
4047 2 files changed, 4 insertions(+)
4049 commit 71b9380145dccf001f22e66a06b9d508905c25ce
4050 Author: Lasse Collin <lasse.collin@tukaani.org>
4051 Date: 2011-04-11 13:21:28 +0300
4053 liblzma: Validate encoder arguments better.
4055 The biggest problem was that the integrity check type
4056 wasn't validated, and e.g. lzma_easy_buffer_encode()
4057 would create a corrupt .xz Stream if given an unsupported
4058 Check ID. Luckily applications don't usually try to use
4059 an unsupport Check ID, so this bug is unlikely to cause
4060 many real-world problems.
4062 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------
4063 src/liblzma/common/block_encoder.c | 5 +++++
4064 src/liblzma/common/stream_buffer_encoder.c | 3 +++
4065 3 files changed, 20 insertions(+), 6 deletions(-)
4067 commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13
4068 Author: Lasse Collin <lasse.collin@tukaani.org>
4069 Date: 2011-04-11 09:57:30 +0300
4071 xz: Move the description of --block-size in --long-help.
4073 src/xz/message.c | 8 ++++----
4074 1 file changed, 4 insertions(+), 4 deletions(-)
4076 commit cd3086ff443bb282bdf556919c28b3e3cbed8169
4077 Author: Lasse Collin <lasse.collin@tukaani.org>
4078 Date: 2011-04-11 09:55:35 +0300
4080 Docs: Document --single-stream and --block-size.
4082 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
4083 1 file changed, 36 insertions(+), 2 deletions(-)
4085 commit fb64a4924334e3c440865710990fe08090f2fed0
4086 Author: Lasse Collin <lasse.collin@tukaani.org>
4087 Date: 2011-04-11 09:27:57 +0300
4089 liblzma: Make lzma_stream_encoder_init() static (second try).
4091 It's an internal function and it's not needed by
4092 anything outside stream_encoder.c.
4094 src/liblzma/common/Makefile.inc | 1 -
4095 src/liblzma/common/easy_encoder.c | 1 -
4096 src/liblzma/common/stream_encoder.c | 13 ++++++-------
4097 src/liblzma/common/stream_encoder.h | 23 -----------------------
4098 4 files changed, 6 insertions(+), 32 deletions(-)
4100 commit a34730cf6af4d33a4057914e57227b6dfde6567e
4101 Author: Lasse Collin <lasse.collin@tukaani.org>
4102 Date: 2011-04-11 08:31:42 +0300
4104 Revert "liblzma: Make lzma_stream_encoder_init() static."
4106 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
4107 I don't know what I was thinking.
4109 src/liblzma/common/Makefile.inc | 1 +
4110 src/liblzma/common/stream_encoder.c | 9 +++++----
4111 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++
4112 3 files changed, 29 insertions(+), 4 deletions(-)
4114 commit 9f0a806aef7ea79718e3f1f2baf3564295229a27
4115 Author: Lasse Collin <lasse.collin@tukaani.org>
4116 Date: 2011-04-10 21:23:21 +0300
4122 - mythread_sync() macro to create synchronized blocks
4124 - mythread_cond structure and related functions
4125 and macros for condition variables with timed
4126 waiting using a relative timeout
4128 - mythread_create() to create a thread with all
4131 Some of these wouldn't need to be inline functions,
4132 but I'll keep them this way for now for simplicity.
4134 For timed waiting on a condition variable, librt is
4135 now required on some systems to use clock_gettime().
4136 configure.ac was updated to handle this.
4139 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
4140 2 files changed, 181 insertions(+), 20 deletions(-)
4142 commit 352ac82db5d3f64585c07b39e4759388dec0e4d7
4143 Author: Lasse Collin <lasse.collin@tukaani.org>
4144 Date: 2011-04-10 20:37:36 +0300
4146 liblzma: Make lzma_stream_encoder_init() static.
4148 It's an internal function and it's not needed by
4149 anything outside stream_encoder.c.
4151 src/liblzma/common/Makefile.inc | 1 -
4152 src/liblzma/common/stream_encoder.c | 9 ++++-----
4153 src/liblzma/common/stream_encoder.h | 23 -----------------------
4154 3 files changed, 4 insertions(+), 29 deletions(-)
4156 commit 9e807fe3fe79618ac48f58207cf7082ea20a6928
4157 Author: Lasse Collin <lasse.collin@tukaani.org>
4158 Date: 2011-04-10 14:58:10 +0300
4160 DOS: Update the docs and include notes about 8.3 filenames.
4162 dos/INSTALL.txt | 79 ++++++++++++++++++++++++++++++++++++
4163 dos/README | 88 ----------------------------------------
4164 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4165 3 files changed, 202 insertions(+), 88 deletions(-)
4167 commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
4168 Author: Lasse Collin <lasse.collin@tukaani.org>
4169 Date: 2011-04-10 13:09:42 +0300
4171 xz/DOS: Add experimental 8.3 filename support.
4173 This is incompatible with the 8.3 support patch made by
4174 Juan Manuel Guerrero. I think this one is nicer, but
4175 I need to get feedback from DOS users before saying
4176 that this is the final version of 8.3 filename support.
4178 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
4179 1 file changed, 167 insertions(+), 9 deletions(-)
4181 commit cd4fe97852bcaeffe674ee51b4613709292a0972
4182 Author: Lasse Collin <lasse.collin@tukaani.org>
4183 Date: 2011-04-10 12:47:47 +0300
4185 xz/DOS: Be more careful with the destination file.
4187 Try to avoid overwriting the source file if --force is
4188 used and the generated destination filename refers to
4189 the source file. This can happen with 8.3 filenames where
4190 extra characters are ignored.
4192 If the generated output file refers to a special file
4193 like "con" or "prn", refuse to write to it even if --force
4196 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
4197 1 file changed, 33 insertions(+), 2 deletions(-)
4199 commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796
4200 Author: Lasse Collin <lasse.collin@tukaani.org>
4201 Date: 2011-04-09 18:29:30 +0300
4206 1 file changed, 1 insertion(+)
4208 commit fca396b37410d272b754843a5dc13847be443a3a
4209 Author: Lasse Collin <lasse.collin@tukaani.org>
4210 Date: 2011-04-09 18:28:58 +0300
4212 liblzma: Add missing #ifdefs to filter_common.c.
4214 Passing --disable-decoders to configure broke a few
4215 encoders due to missing #ifdefs in filter_common.c.
4217 Thanks to Jason Gorski for the patch.
4219 src/liblzma/common/filter_common.c | 6 +++---
4220 1 file changed, 3 insertions(+), 3 deletions(-)
4222 commit b03f6cd3ebadd675f2cc9d518cb26fa860269447
4223 Author: Lasse Collin <lasse.collin@tukaani.org>
4224 Date: 2011-04-09 15:24:59 +0300
4226 xz: Avoid unneeded fstat() on DOS-like systems.
4228 src/xz/file_io.c | 14 ++++++++------
4229 1 file changed, 8 insertions(+), 6 deletions(-)
4231 commit 335fe260a81f61ec99ff5940df733b4c50aedb7c
4232 Author: Lasse Collin <lasse.collin@tukaani.org>
4233 Date: 2011-04-09 15:11:13 +0300
4235 xz: Minor internal changes to handling of --threads.
4237 Now it always defaults to one thread. Maybe this
4238 will change again if a threading method is added
4239 that doesn't affect memory usage.
4241 src/xz/args.c | 4 ++--
4242 src/xz/hardware.c | 24 ++++++++++++------------
4243 src/xz/hardware.h | 9 ++++-----
4244 3 files changed, 18 insertions(+), 19 deletions(-)
4246 commit 9edd6ee895fbe71d245a173f48e511f154a99875
4247 Author: Lasse Collin <lasse.collin@tukaani.org>
4248 Date: 2011-04-08 17:53:05 +0300
4250 xz: Change size_t to uint32_t in a few places.
4252 src/xz/coder.c | 6 +++---
4253 src/xz/coder.h | 2 +-
4254 2 files changed, 4 insertions(+), 4 deletions(-)
4256 commit 411013ea4506a6df24d35a060fcbd73a57b73eb3
4257 Author: Lasse Collin <lasse.collin@tukaani.org>
4258 Date: 2011-04-08 17:48:41 +0300
4260 xz: Fix a typo in a comment.
4262 src/xz/coder.c | 2 +-
4263 1 file changed, 1 insertion(+), 1 deletion(-)
4265 commit b34c5ce4b22e8d7b81f9895d15054af41d17f805
4266 Author: Lasse Collin <lasse.collin@tukaani.org>
4267 Date: 2011-04-05 22:41:33 +0300
4269 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
4271 src/liblzma/check/sha256.c | 6 +++---
4272 1 file changed, 3 insertions(+), 3 deletions(-)
4274 commit db33117cc85c17e0b897b5312bd5eb43aac41c03
4275 Author: Lasse Collin <lasse.collin@tukaani.org>
4276 Date: 2011-04-05 17:12:20 +0300
4278 Build: Upgrade m4/acx_pthread.m4 to the latest version.
4280 It was renamed to ax_pthread.m4 in Autoconf Archive.
4283 m4/acx_pthread.m4 | 279 -----------------------------------------------------
4284 m4/ax_pthread.m4 | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
4285 3 files changed, 284 insertions(+), 280 deletions(-)
4287 commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
4288 Author: Lasse Collin <lasse.collin@tukaani.org>
4289 Date: 2011-04-05 15:27:26 +0300
4291 xz: Use posix_fadvise() if it is available.
4293 configure.ac | 3 +++
4294 src/xz/file_io.c | 15 +++++++++++++++
4295 2 files changed, 18 insertions(+)
4297 commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
4298 Author: Lasse Collin <lasse.collin@tukaani.org>
4299 Date: 2011-04-05 15:13:29 +0300
4301 xz: Call lzma_end(&strm) before exiting if debugging is enabled.
4303 src/xz/coder.c | 10 ++++++++++
4304 src/xz/coder.h | 5 +++++
4305 src/xz/main.c | 4 ++++
4306 3 files changed, 19 insertions(+)
4308 commit bd432015d33dcade611d297bc01eb0700088ef6c
4309 Author: Lasse Collin <lasse.collin@tukaani.org>
4310 Date: 2011-04-02 14:49:56 +0300
4312 liblzma: Fix a memory leak in stream_encoder.c.
4314 It leaks old filter options structures (hundred bytes or so)
4315 every time the lzma_stream is reinitialized. With the xz tool,
4316 this happens when compressing multiple files.
4318 src/liblzma/common/stream_encoder.c | 2 +-
4319 1 file changed, 1 insertion(+), 1 deletion(-)
4321 commit 16889013214e7620d204b6e6c1bf9f3103a13655
4322 Author: Lasse Collin <lasse.collin@tukaani.org>
4323 Date: 2011-04-01 08:47:20 +0300
4325 Updated NEWS for 5.0.2.
4327 NEWS | 18 ++++++++++++++++++
4328 1 file changed, 18 insertions(+)
4330 commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f
4331 Author: Lasse Collin <lasse.collin@tukaani.org>
4332 Date: 2011-03-31 15:06:58 +0300
4334 Update INSTALL with another note about IRIX.
4337 1 file changed, 4 insertions(+)
4339 commit c3f4995586873d6a4fb7e451010a128571a9a370
4340 Author: Lasse Collin <lasse.collin@tukaani.org>
4341 Date: 2011-03-31 12:22:55 +0300
4343 Tests: Add a new file to test empty LZMA2 streams.
4345 tests/files/README | 4 ++++
4346 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
4347 2 files changed, 4 insertions(+)
4349 commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa
4350 Author: Lasse Collin <lasse.collin@tukaani.org>
4351 Date: 2011-03-31 11:54:48 +0300
4353 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
4355 The decoder considered empty LZMA2 streams to be corrupt.
4356 This shouldn't matter much with .xz files, because no encoder
4357 creates empty LZMA2 streams in .xz. This bug is more likely
4358 to cause problems in applications that use raw LZMA2 streams.
4360 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
4361 1 file changed, 4 insertions(+), 4 deletions(-)
4363 commit 40277998cb9bad564ce4827aff152e6e1c904dfa
4364 Author: Lasse Collin <lasse.collin@tukaani.org>
4365 Date: 2011-03-24 01:42:49 +0200
4367 Scripts: Better fix for xzgrep.
4369 Now it uses "grep -q".
4371 Thanks to Gregory Margo.
4373 src/scripts/xzgrep.in | 8 ++++++--
4374 1 file changed, 6 insertions(+), 2 deletions(-)
4376 commit 2118733045ad0ca183a3f181a0399baf876983a6
4377 Author: Lasse Collin <lasse.collin@tukaani.org>
4378 Date: 2011-03-24 01:22:18 +0200
4383 1 file changed, 1 insertion(+)
4385 commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
4386 Author: Lasse Collin <lasse.collin@tukaani.org>
4387 Date: 2011-03-24 01:21:32 +0200
4389 Scripts: Fix xzgrep -l.
4391 It didn't work at all. It tried to use the -q option
4392 for grep, but it appended it after "--". This works
4393 around it by redirecting to /dev/null. The downside
4394 is that this can be slower with big files compared
4395 to proper use of "grep -q".
4397 Thanks to Gregory Margo.
4399 src/scripts/xzgrep.in | 4 ++--
4400 1 file changed, 2 insertions(+), 2 deletions(-)
4402 commit 4eb83e32046a6d670862bc91c3d82530963b455e
4403 Author: Lasse Collin <lasse.collin@tukaani.org>
4404 Date: 2011-03-19 13:08:22 +0200
4406 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
4408 src/scripts/xzdiff.1 | 6 ++++--
4409 src/scripts/xzdiff.in | 22 ++++++++++++++--------
4410 src/scripts/xzgrep.1 | 11 +++++++----
4411 src/scripts/xzgrep.in | 5 +++--
4412 4 files changed, 28 insertions(+), 16 deletions(-)
4414 commit 923b22483bd9356f3219b2b784d96f455f4dc499
4415 Author: Lasse Collin <lasse.collin@tukaani.org>
4416 Date: 2011-03-18 19:10:30 +0200
4418 xz: Add --block-size=SIZE.
4420 This uses LZMA_FULL_FLUSH every SIZE bytes of input.
4422 Man page wasn't updated yet.
4424 src/xz/args.c | 7 +++++++
4425 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++----------
4426 src/xz/coder.h | 3 +++
4427 src/xz/message.c | 4 ++++
4428 4 files changed, 54 insertions(+), 10 deletions(-)
4430 commit 57597d42ca1740ad506437be168d800a50f1a0ad
4431 Author: Lasse Collin <lasse.collin@tukaani.org>
4432 Date: 2011-03-18 18:19:19 +0200
4434 xz: Add --single-stream.
4436 This can be useful when there is garbage after the
4437 compressed stream (.xz, .lzma, or raw stream).
4439 Man page wasn't updated yet.
4441 src/xz/args.c | 6 ++++++
4442 src/xz/coder.c | 11 +++++++++--
4443 src/xz/coder.h | 3 +++
4444 src/xz/message.c | 6 +++++-
4445 4 files changed, 23 insertions(+), 3 deletions(-)
4447 commit 96f94bc925d579a700147fa5d7793b64d69cfc18
4448 Author: Lasse Collin <lasse.collin@tukaani.org>
4449 Date: 2011-02-04 22:49:31 +0200
4451 xz: Clean up suffix.c.
4453 struct suffix_pair isn't needed in compresed_name()
4454 so get rid of it there.
4456 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
4457 1 file changed, 20 insertions(+), 24 deletions(-)
4459 commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7
4460 Author: Lasse Collin <lasse.collin@tukaani.org>
4461 Date: 2011-02-04 11:29:47 +0200
4463 xz: Check if the file already has custom suffix when compressing.
4465 Now "xz -S .test foo.test" refuses to compress the
4466 file because it already has the suffix .test. The man
4467 page had it documented this way already.
4469 src/xz/suffix.c | 9 +++++++++
4470 1 file changed, 9 insertions(+)
4472 commit 940d5852c6cf08abccc6befd9d1b5411c9076a58
4473 Author: Lasse Collin <lasse.collin@tukaani.org>
4474 Date: 2011-02-02 23:01:51 +0200
4479 1 file changed, 1 insertion(+)
4481 commit 4ebe65f839613f27f127bab7b8c347d982330ee3
4482 Author: Lasse Collin <lasse.collin@tukaani.org>
4483 Date: 2011-02-02 23:00:33 +0200
4485 Translations: Add Polish translation.
4487 Thanks to Jakub Bogusz.
4490 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4491 2 files changed, 826 insertions(+)
4493 commit fc1d292dca1925dfd17174f443f91a696ecd5bf8
4494 Author: Lasse Collin <lasse.collin@tukaani.org>
4495 Date: 2011-02-02 22:24:00 +0200
4500 1 file changed, 1 insertion(+)
4502 commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe
4503 Merge: 9d542ce 5fbce0b
4504 Author: Lasse Collin <lasse.collin@tukaani.org>
4505 Date: 2011-02-06 20:13:01 +0200
4507 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d'
4509 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
4510 Author: Lasse Collin <lasse.collin@tukaani.org>
4511 Date: 2011-01-28 20:16:57 +0200
4513 Update NEWS for 5.0.1.
4515 NEWS | 14 ++++++++++++++
4516 1 file changed, 14 insertions(+)
4518 commit 03ebd1bbb314f9f204940219a835c883bf442475
4519 Author: Lasse Collin <lasse.collin@tukaani.org>
4520 Date: 2011-01-26 12:19:08 +0200
4522 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
4524 xz didn't compress setuid/setgid/sticky files and files
4525 with multiple hard links even with --force. This bug was
4526 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
4528 Thanks to Charles Wilson.
4530 src/xz/file_io.c | 15 +++++++--------
4531 1 file changed, 7 insertions(+), 8 deletions(-)
4533 commit 9d542ceebcbe40b174169c132ccfcdc720ca7089
4534 Merge: 4f2c69a 7bd0a5e
4535 Author: Lasse Collin <lasse.collin@tukaani.org>
4536 Date: 2011-01-19 11:45:35 +0200
4540 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
4541 Author: Lasse Collin <lasse.collin@tukaani.org>
4542 Date: 2011-01-18 21:25:24 +0200
4547 1 file changed, 1 insertion(+)
4549 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
4550 Author: Lasse Collin <lasse.collin@tukaani.org>
4551 Date: 2011-01-18 21:23:50 +0200
4553 Add alloc_size and malloc attributes to a few functions.
4555 Thanks to Cristian Rodríguez for the original patch.
4557 src/common/sysdefs.h | 6 ++++++
4558 src/liblzma/common/common.h | 2 +-
4559 src/xz/util.h | 5 +++--
4560 3 files changed, 10 insertions(+), 3 deletions(-)
4562 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
4563 Author: Lasse Collin <lasse.collin@tukaani.org>
4564 Date: 2010-12-13 16:36:33 +0200
4566 Scripts: Fix gzip and bzip2 support in xzdiff.
4568 src/scripts/xzdiff.in | 12 ++++++------
4569 1 file changed, 6 insertions(+), 6 deletions(-)
4571 commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6
4572 Merge: adb89e6 9311774
4573 Author: Lasse Collin <lasse.collin@tukaani.org>
4574 Date: 2010-12-12 23:13:22 +0200
4578 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
4579 Author: Lasse Collin <lasse.collin@tukaani.org>
4580 Date: 2010-12-12 21:23:55 +0200
4582 Build: Enable ASM on DJGPP by default.
4585 1 file changed, 1 insertion(+), 1 deletion(-)
4587 commit 4a42aaee282fc73b482581684d65110506d5efdd
4588 Author: Lasse Collin <lasse.collin@tukaani.org>
4589 Date: 2010-12-12 16:09:42 +0200
4594 1 file changed, 1 insertion(+)
4596 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
4597 Author: Lasse Collin <lasse.collin@tukaani.org>
4598 Date: 2010-12-12 16:07:11 +0200
4600 Add missing PRIx32 and PRIx64 compatibility definitions.
4602 This fixes portability to systems that lack C99 inttypes.h.
4604 Thanks to Juan Manuel Guerrero.
4606 src/common/sysdefs.h | 9 +++++++++
4607 1 file changed, 9 insertions(+)
4609 commit e6baedddcf54e7da049ebc49183565b99facd4c7
4610 Author: Lasse Collin <lasse.collin@tukaani.org>
4611 Date: 2010-12-12 14:50:04 +0200
4613 DOS-like: Treat \ and : as directory separators in addition to /.
4615 Juan Manuel Guerrero had fixed this in his XZ Utils port
4616 to DOS/DJGPP. The bug affects also Windows and OS/2.
4618 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
4619 1 file changed, 29 insertions(+), 4 deletions(-)
4621 commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec
4622 Merge: 7c24e0d b7afd3e
4623 Author: Lasse Collin <lasse.collin@tukaani.org>
4624 Date: 2010-12-07 18:53:04 +0200
4628 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
4629 Author: Lasse Collin <lasse.collin@tukaani.org>
4630 Date: 2010-12-07 18:52:04 +0200
4632 Translations: Fix Czech translation of "sparse file".
4634 Thanks to Petr Hubený and Marek Černocký.
4636 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
4637 1 file changed, 44 insertions(+), 44 deletions(-)
4639 commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af
4640 Merge: b4d42f1 3e56470
4641 Author: Lasse Collin <lasse.collin@tukaani.org>
4642 Date: 2010-11-15 14:33:01 +0200
4646 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
4647 Author: Lasse Collin <lasse.collin@tukaani.org>
4648 Date: 2010-11-15 14:28:26 +0200
4650 liblzma: Document the return value of lzma_lzma_preset().
4652 src/liblzma/api/lzma/lzma.h | 3 +++
4653 1 file changed, 3 insertions(+)
4655 commit 2964d8d691ed92abdcf214888d79ad6d79774735
4656 Author: Jonathan Nieder <jrnieder@gmail.com>
4657 Date: 2010-11-12 15:22:13 -0600
4659 Simplify paths in generated API docs
4661 Currently the file list generated by Doxygen has src/ at the
4662 beginning of each path. Paths like common/sysdefs.h and
4663 liblzma/api/lzma.h are easier to read without such a prefix.
4665 Builds from a separate build directory with
4672 include an even longer prefix /home/someone/src/xz/src; this
4673 patch has the nice side-effect of eliminating that prefix, too.
4675 Fixes: http://bugs.debian.org/572273
4678 1 file changed, 1 insertion(+), 1 deletion(-)
4680 commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416
4681 Author: Anders F Bjorklund <afb@users.sourceforge.net>
4682 Date: 2010-11-05 12:56:11 +0100
4684 add build script for macosx universal
4686 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4687 1 file changed, 92 insertions(+)
4689 commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6
4690 Author: Lasse Collin <lasse.collin@tukaani.org>
4691 Date: 2010-11-04 18:31:40 +0200
4693 Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
4695 There are only a few white space changes.
4697 COPYING.GPLv2 | 14 +++++++-------
4698 COPYING.LGPLv2.1 | 16 +++++++---------
4699 2 files changed, 14 insertions(+), 16 deletions(-)
4701 commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2
4702 Merge: 974ebe6 37c2565
4703 Author: Lasse Collin <lasse.collin@tukaani.org>
4704 Date: 2010-10-26 15:53:06 +0300
4708 commit 37c25658efd25b034266daf87cd381d20d1df776
4709 Author: Lasse Collin <lasse.collin@tukaani.org>
4710 Date: 2010-10-26 15:48:48 +0300
4712 Build: Copy the example programs to $docdir/examples.
4714 The example programs by Daniel Mealha Cabrita were included
4715 in the git repository, but I had forgot to add them to
4716 Makefile.am. Thus, they didn't get included in the source
4717 package at all by "make dist".
4719 Makefile.am | 5 +++++
4720 windows/build.bash | 3 ++-
4721 2 files changed, 7 insertions(+), 1 deletion(-)
4723 commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000
4724 Author: Lasse Collin <lasse.collin@tukaani.org>
4725 Date: 2010-10-26 10:36:41 +0300
4727 liblzma: Rename a few variables and constants.
4729 This has no semantic changes. I find the new names slightly
4730 more logical and they match the names that are already used
4733 The name fastpos wasn't changed (not worth the hassle).
4735 src/liblzma/lzma/fastpos.h | 55 +++++------
4736 src/liblzma/lzma/lzma2_encoder.c | 2 +-
4737 src/liblzma/lzma/lzma_common.h | 45 ++++-----
4738 src/liblzma/lzma/lzma_decoder.c | 58 +++++------
4739 src/liblzma/lzma/lzma_encoder.c | 56 +++++------
4740 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +-
4741 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++-------------
4742 src/liblzma/lzma/lzma_encoder_private.h | 16 ++--
4743 8 files changed, 183 insertions(+), 186 deletions(-)
4745 commit 7c427ec38d016c0070a42315d752857e33792fc4
4746 Author: Lasse Collin <lasse.collin@tukaani.org>
4747 Date: 2010-10-25 12:59:25 +0300
4749 Bump version 5.1.0alpha.
4751 src/liblzma/api/lzma/version.h | 4 ++--
4752 1 file changed, 2 insertions(+), 2 deletions(-)
4754 commit e45929260cd902036efd40c5610a8d0a50d5712b
4755 Author: Lasse Collin <lasse.collin@tukaani.org>
4756 Date: 2010-10-23 17:25:52 +0300
4758 Build: Fix mydist rule when .git doesn't exist.
4761 1 file changed, 1 insertion(+)
4763 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
4764 Author: Lasse Collin <lasse.collin@tukaani.org>
4765 Date: 2010-10-23 14:15:35 +0300
4769 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4770 1 file changed, 62 insertions(+)
4772 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
4773 Author: Lasse Collin <lasse.collin@tukaani.org>
4774 Date: 2010-10-23 14:02:53 +0300
4776 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
4778 src/liblzma/Makefile.am | 2 +-
4779 src/liblzma/api/lzma/version.h | 8 ++++----
4780 2 files changed, 5 insertions(+), 5 deletions(-)
4782 commit 8c947e9291691629714dafb4536c718b6cc24fbd
4783 Author: Lasse Collin <lasse.collin@tukaani.org>
4784 Date: 2010-10-23 12:30:54 +0300
4786 liblzma: Make lzma_code() check the reserved members in lzma_stream.
4788 If any of the reserved members in lzma_stream are non-zero
4789 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
4790 that a new feature in the future is indicated by just setting
4791 a reserved member to some other value, so the old liblzma
4792 version need to catch it as an unsupported feature.
4794 src/liblzma/common/common.c | 14 ++++++++++++++
4795 1 file changed, 14 insertions(+)
4797 commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
4798 Author: Lasse Collin <lasse.collin@tukaani.org>
4799 Date: 2010-10-23 12:26:33 +0300
4801 Windows: Use MinGW's stdio functions.
4803 The non-standard ones from msvcrt.dll appear to work
4804 most of the time with XZ Utils, but there are some
4805 corner cases where things may go very wrong. So it's
4806 good to use the better replacements provided by
4807 MinGW(-w64) runtime.
4809 src/common/sysdefs.h | 5 +++++
4810 1 file changed, 5 insertions(+)
4812 commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
4813 Author: Lasse Collin <lasse.collin@tukaani.org>
4814 Date: 2010-10-23 12:21:32 +0300
4816 liblzma: Use 512 as INDEX_GROUP_SIZE.
4818 This lets compiler use shifting instead of 64-bit division.
4820 src/liblzma/common/index.c | 2 +-
4821 1 file changed, 1 insertion(+), 1 deletion(-)
4823 commit 613939fc82603b75b59eee840871a05bc8dd08e0
4824 Author: Lasse Collin <lasse.collin@tukaani.org>
4825 Date: 2010-10-23 12:20:11 +0300
4827 liblzma: A few ABI tweaks to reserve space in structures.
4829 src/liblzma/api/lzma/base.h | 7 ++++++-
4830 src/liblzma/api/lzma/lzma.h | 4 ++--
4831 src/liblzma/api/lzma/stream_flags.h | 4 ----
4832 3 files changed, 8 insertions(+), 7 deletions(-)
4834 commit 68b83f252df3d27480a9f6f03445d16f6506fef1
4835 Author: Lasse Collin <lasse.collin@tukaani.org>
4836 Date: 2010-10-21 23:16:11 +0300
4838 xz: Make sure that message_strm() can never return NULL.
4840 src/xz/message.c | 7 +++++--
4841 1 file changed, 5 insertions(+), 2 deletions(-)
4843 commit d09c5753e33ff96ee57edb6d1e98e34041203695
4844 Author: Lasse Collin <lasse.collin@tukaani.org>
4845 Date: 2010-10-21 23:06:31 +0300
4847 liblzma: Update the comments in the API headers.
4849 Adding support for LZMA_FINISH for Index encoding and
4850 decoding needed tiny additions to the relevant .c files too.
4852 src/liblzma/api/lzma.h | 4 +--
4853 src/liblzma/api/lzma/base.h | 38 +++++++++++++--------------
4854 src/liblzma/api/lzma/bcj.h | 4 +--
4855 src/liblzma/api/lzma/block.h | 4 +--
4856 src/liblzma/api/lzma/container.h | 26 ++++++++++++-------
4857 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++-------------------
4858 src/liblzma/api/lzma/hardware.h | 3 +--
4859 src/liblzma/api/lzma/index.h | 28 ++++++++++++--------
4860 src/liblzma/api/lzma/index_hash.h | 2 +-
4861 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++-----------
4862 src/liblzma/api/lzma/stream_flags.h | 4 +--
4863 src/liblzma/api/lzma/vli.h | 31 +++++++++++-----------
4864 src/liblzma/common/index_decoder.c | 1 +
4865 src/liblzma/common/index_encoder.c | 1 +
4866 14 files changed, 136 insertions(+), 107 deletions(-)
4868 commit 33c1c0e102eb529588503b8beea0903a45488fad
4869 Author: Lasse Collin <lasse.collin@tukaani.org>
4870 Date: 2010-10-19 12:08:30 +0300
4872 Update INSTALL.generic.
4874 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++-----------
4875 1 file changed, 81 insertions(+), 18 deletions(-)
4877 commit 0076e03641f201c4b77dddd5a6db5880be19a78c
4878 Author: Lasse Collin <lasse.collin@tukaani.org>
4879 Date: 2010-10-19 11:44:37 +0300
4881 Clean up a few FIXMEs and TODOs.
4883 lzma_chunk_size() was commented out because it is
4886 src/liblzma/common/filter_encoder.c | 2 ++
4887 src/liblzma/common/filter_encoder.h | 4 ++--
4888 src/liblzma/lzma/lzma2_decoder.c | 1 -
4889 src/liblzma/lzma/lzma_decoder.c | 4 ++--
4890 src/liblzma/lzma/lzma_encoder.c | 2 +-
4891 src/xz/message.h | 2 +-
4892 6 files changed, 8 insertions(+), 7 deletions(-)
4894 commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
4895 Author: Lasse Collin <lasse.collin@tukaani.org>
4896 Date: 2010-10-19 10:21:08 +0300
4900 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++--------------------
4901 PACKAGERS | 104 +++++++++------------------------
4904 4 files changed, 172 insertions(+), 143 deletions(-)
4906 commit f0fa880d247e73264d2c04fe31fb3412318a0026
4907 Author: Lasse Collin <lasse.collin@tukaani.org>
4908 Date: 2010-10-12 15:13:30 +0300
4910 xz: Avoid raise() also on OpenVMS.
4912 This is similar to DOS/DJGPP that killing the program
4913 with a signal will print a backtrace or a similar message.
4915 src/xz/signals.c | 2 +-
4916 1 file changed, 1 insertion(+), 1 deletion(-)
4918 commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
4919 Author: Lasse Collin <lasse.collin@tukaani.org>
4920 Date: 2010-10-11 21:26:19 +0300
4922 xz: Avoid SA_RESTART for portability reasons.
4924 SA_RESTART is not as portable as I had hoped. It's missing
4925 at least from OpenVMS, QNX, and DJGPP). Luckily we can do
4926 fine without SA_RESTART.
4928 src/xz/message.c | 38 +++++++++++++++-----------------------
4929 src/xz/message.h | 4 ++++
4930 src/xz/signals.c | 6 ++++++
4931 3 files changed, 25 insertions(+), 23 deletions(-)
4933 commit d52b411716a614c202e89ba732492efb9916cd3f
4934 Author: Lasse Collin <lasse.collin@tukaani.org>
4935 Date: 2010-10-10 17:58:58 +0300
4937 xz: Use "%"PRIu32 instead of "%d" in a format string.
4939 src/xz/message.c | 2 +-
4940 1 file changed, 1 insertion(+), 1 deletion(-)
4942 commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
4943 Author: Lasse Collin <lasse.collin@tukaani.org>
4944 Date: 2010-10-10 17:43:26 +0300
4946 test_files.sh: Fix the first line.
4948 For some reason this prevented running the test only
4949 on OS/2 and even on that it broke only recently.
4951 Thanks to Elbert Pol.
4953 tests/test_files.sh | 2 +-
4954 1 file changed, 1 insertion(+), 1 deletion(-)
4956 commit d492b80ddd6f9a13419de6d102df7374d8f448e8
4957 Author: Lasse Collin <lasse.collin@tukaani.org>
4958 Date: 2010-10-10 16:49:01 +0300
4960 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
4962 src/lzmainfo/lzmainfo.c | 2 +-
4963 1 file changed, 1 insertion(+), 1 deletion(-)
4965 commit 825e859a9054bd91202e5723c41a17e72f63040a
4966 Author: Lasse Collin <lasse.collin@tukaani.org>
4967 Date: 2010-10-10 16:47:01 +0300
4969 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
4971 src/lzmainfo/lzmainfo.c | 2 +-
4972 1 file changed, 1 insertion(+), 1 deletion(-)
4974 commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
4975 Author: Lasse Collin <lasse.collin@tukaani.org>
4976 Date: 2010-10-09 23:20:51 +0300
4978 lzmainfo: Use setmode() on DOS-like systems.
4980 src/lzmainfo/lzmainfo.c | 9 +++++++++
4981 1 file changed, 9 insertions(+)
4983 commit ef364d3abc5647111c5424ea0d83a567e184a23b
4984 Author: Lasse Collin <lasse.collin@tukaani.org>
4985 Date: 2010-10-09 21:51:03 +0300
4987 OS/2 and DOS: Be less verbose on signals.
4989 Calling raise() to kill xz when user has pressed C-c
4990 is a bit verbose on OS/2 and DOS/DJGPP. Instead of
4991 calling raise(), set only the exit status to 1.
4993 src/xz/signals.c | 7 +++++++
4994 1 file changed, 7 insertions(+)
4996 commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
4997 Author: Lasse Collin <lasse.collin@tukaani.org>
4998 Date: 2010-10-09 19:28:49 +0300
5000 DOS: Update the Makefile, config.h and README.
5002 This is now simpler and builds only xz.exe.
5004 dos/Makefile | 211 +++++++++++++++--------------------------------------------
5005 dos/README | 73 +++++++--------------
5006 dos/config.h | 45 ++++---------
5007 3 files changed, 86 insertions(+), 243 deletions(-)
5009 commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
5010 Author: Lasse Collin <lasse.collin@tukaani.org>
5011 Date: 2010-10-09 18:57:55 +0300
5013 Windows: Put some license info into README-Windows.txt.
5015 windows/README-Windows.txt | 8 ++++----
5016 1 file changed, 4 insertions(+), 4 deletions(-)
5018 commit e75100f549f85d231df25c07aa94d63e78e2d668
5019 Author: Lasse Collin <lasse.collin@tukaani.org>
5020 Date: 2010-10-09 18:57:04 +0300
5022 Windows: Fix a diagnostics bug in build.bash.
5024 windows/build.bash | 2 +-
5025 1 file changed, 1 insertion(+), 1 deletion(-)
5027 commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
5028 Author: Lasse Collin <lasse.collin@tukaani.org>
5029 Date: 2010-10-09 13:02:15 +0300
5031 lzmainfo: Add Windows resource file.
5033 src/lzmainfo/Makefile.am | 9 +++++++++
5034 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++
5035 2 files changed, 21 insertions(+)
5037 commit 389d418445f1623593dfdbba55d52fbb6d1205f5
5038 Author: Lasse Collin <lasse.collin@tukaani.org>
5039 Date: 2010-10-09 12:57:25 +0300
5041 Add missing public domain notice to lzmadec_w32res.rc.
5043 src/xzdec/lzmadec_w32res.rc | 7 +++++++
5044 1 file changed, 7 insertions(+)
5046 commit 6389c773a4912dd9f111256d74ba1605230a7957
5047 Author: Lasse Collin <lasse.collin@tukaani.org>
5048 Date: 2010-10-09 12:52:12 +0300
5050 Windows: Update common_w32res.rc.
5052 src/common/common_w32res.rc | 9 +++------
5053 1 file changed, 3 insertions(+), 6 deletions(-)
5055 commit 71275457ca24c9b01721f5cfc3638cf094daf454
5056 Author: Lasse Collin <lasse.collin@tukaani.org>
5057 Date: 2010-10-09 12:27:08 +0300
5059 Windows: Make build.bash prefer MinGW-w32 over MinGW.
5061 This is simply for licensing reasons. The 64-bit version
5062 will be built with MinGW-w64 anyway (at least for now),
5063 so using it also for 32-bit build allows using the same
5064 copyright notice about the MinGW-w64/w32 runtime.
5066 Note that using MinGW would require a copyright notice too,
5067 because its runtime is not in the public domain either even
5068 though MinGW's home page claims that it is public domain.
5069 See <http://marc.info/?l=mingw-users&m=126489506214078>.
5071 windows/build.bash | 18 +++++++++---------
5072 1 file changed, 9 insertions(+), 9 deletions(-)
5074 commit 3ac35719d8433af937af6491383d4a50e343099b
5075 Author: Lasse Collin <lasse.collin@tukaani.org>
5076 Date: 2010-10-09 11:33:21 +0300
5078 Windows: Copy COPYING-Windows.txt (if it exists) to the package.
5080 Also, put README-Windows.txt to the doc directory like
5081 the other documentation files.
5083 windows/build.bash | 14 ++++++++++++--
5084 1 file changed, 12 insertions(+), 2 deletions(-)
5086 commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
5087 Author: Lasse Collin <lasse.collin@tukaani.org>
5088 Date: 2010-10-08 21:42:37 +0300
5090 Windows: Fix build.bash again.
5092 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
5094 windows/build.bash | 7 ++++---
5095 1 file changed, 4 insertions(+), 3 deletions(-)
5097 commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
5098 Author: Lasse Collin <lasse.collin@tukaani.org>
5099 Date: 2010-10-08 16:53:20 +0300
5101 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
5103 Those are the same thing, and the former makes it a bit
5104 easier to build the code with other build systems, because
5105 one doesn't need to update the version number into custom
5108 This change affects only lzmainfo. Other tools were already
5109 using LZMA_VERSION_STRING.
5111 src/lzmainfo/lzmainfo.c | 2 +-
5112 1 file changed, 1 insertion(+), 1 deletion(-)
5114 commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
5115 Author: Lasse Collin <lasse.collin@tukaani.org>
5116 Date: 2010-10-08 15:59:25 +0300
5118 configure.ac: Remove two unused defines.
5120 configure.ac | 4 ----
5121 1 file changed, 4 deletions(-)
5123 commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
5124 Author: Lasse Collin <lasse.collin@tukaani.org>
5125 Date: 2010-10-08 15:32:29 +0300
5127 Make tests accommodate missing xz or xzdec.
5129 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++-----------------
5130 tests/test_files.sh | 28 ++++++++++++++++++++++++++--
5131 2 files changed, 56 insertions(+), 19 deletions(-)
5133 commit b1c7368f95e93ccdefdd0748e04398c26766f47f
5134 Author: Lasse Collin <lasse.collin@tukaani.org>
5135 Date: 2010-10-08 15:25:45 +0300
5137 Build: Add options to disable individual command line tools.
5139 configure.ac | 38 ++++++++++++++++++++++++++++++
5140 src/Makefile.am | 15 +++++++++++-
5141 src/scripts/Makefile.am | 62 +++++++++++++++++++++----------------------------
5142 src/xz/Makefile.am | 6 ++++-
5143 src/xzdec/Makefile.am | 12 ++++++++--
5144 5 files changed, 93 insertions(+), 40 deletions(-)
5146 commit 630a8beda34af0ac153c8051b1bf01230558e422
5147 Author: Lasse Collin <lasse.collin@tukaani.org>
5148 Date: 2010-10-07 00:44:53 +0300
5150 Windows: Make build.bash work without --enable-dynamic=no.
5152 windows/build.bash | 4 ++--
5153 1 file changed, 2 insertions(+), 2 deletions(-)
5155 commit f9907503f882a745dce9d84c2968f6c175ba966a
5156 Author: Lasse Collin <lasse.collin@tukaani.org>
5157 Date: 2010-10-05 14:13:16 +0300
5159 Build: Remove the static/dynamic tricks.
5161 Most distros want xz linked against shared liblzma, so
5162 it doesn't help much to require --enable-dynamic for that.
5163 Those who want to avoid PIC on x86-32 to get better
5164 performance, can still do it e.g. by using --disable-shared
5165 to compile xz and then another pass to compile shared liblzma.
5167 Part of these static/dynamic tricks were needed for Windows
5168 in the past. Nowadays we rely on GCC and binutils to do the
5169 right thing with auto-import. If the Autotooled build system
5170 needs to support some other toolchain on Windows in the future,
5171 this may need some rethinking.
5173 configure.ac | 74 ------------------------------------------------
5174 debug/Makefile.am | 5 +---
5175 src/lzmainfo/Makefile.am | 4 +--
5176 src/xz/Makefile.am | 4 +--
5177 src/xzdec/Makefile.am | 4 +--
5178 tests/Makefile.am | 5 +---
5179 6 files changed, 5 insertions(+), 91 deletions(-)
5181 commit fda4724d8114fccfa31c1839c15479f350c2fb4c
5182 Author: Lasse Collin <lasse.collin@tukaani.org>
5183 Date: 2010-10-05 12:18:58 +0300
5185 configure.ac: Silence a warning from Autoconf 2.68.
5188 1 file changed, 1 insertion(+), 1 deletion(-)
5190 commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
5191 Author: Lasse Collin <lasse.collin@tukaani.org>
5192 Date: 2010-10-04 19:43:01 +0300
5194 A few more languages files to the xz man page.
5196 Thanks to Jonathan Nieder.
5198 src/xz/xz.1 | 45 ++++++++++++++++++++++++---------------------
5199 1 file changed, 24 insertions(+), 21 deletions(-)
5201 commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
5202 Author: Lasse Collin <lasse.collin@tukaani.org>
5203 Date: 2010-10-02 12:07:33 +0300
5207 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
5208 1 file changed, 100 insertions(+), 4 deletions(-)
5210 commit 61ae593661e8dc402394e84d567ca2044a51572b
5211 Author: Lasse Collin <lasse.collin@tukaani.org>
5212 Date: 2010-10-02 11:38:20 +0300
5214 liblzma: Small fixes to comments in the API headers.
5216 src/liblzma/api/lzma/lzma.h | 10 +++++++---
5217 1 file changed, 7 insertions(+), 3 deletions(-)
5219 commit 9166682dc601fd42c1b9510572e3f917d18de504
5220 Author: Lasse Collin <lasse.collin@tukaani.org>
5221 Date: 2010-09-28 11:40:12 +0300
5223 Create the PDF versions of the man pages better.
5225 Makefile.am | 14 +++++++------
5226 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
5227 2 files changed, 66 insertions(+), 6 deletions(-)
5229 commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
5230 Author: Lasse Collin <lasse.collin@tukaani.org>
5231 Date: 2010-09-28 10:59:53 +0300
5233 Move version.sh to build-aux.
5235 Makefile.am | 4 ++--
5236 build-aux/version.sh | 24 ++++++++++++++++++++++++
5238 version.sh | 24 ------------------------
5239 windows/build.bash | 2 +-
5240 5 files changed, 28 insertions(+), 28 deletions(-)
5242 commit 84af9d8770451339a692e9b70f96cf56156a6069
5243 Author: Lasse Collin <lasse.collin@tukaani.org>
5244 Date: 2010-09-28 10:53:02 +0300
5248 .gitignore | 10 +++++++++-
5249 1 file changed, 9 insertions(+), 1 deletion(-)
5251 commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
5252 Author: Lasse Collin <lasse.collin@tukaani.org>
5253 Date: 2010-09-28 01:17:14 +0300
5255 Fix accomodate -> accommodate on the xz man page.
5258 1 file changed, 1 insertion(+), 1 deletion(-)
5260 commit cec0ddc8ec4ce81685a51998b978e22167e461f9
5261 Author: Lasse Collin <lasse.collin@tukaani.org>
5262 Date: 2010-09-27 23:29:34 +0300
5264 Major man page updates.
5266 Lots of content was updated on the xz man page.
5268 Technical improvements:
5269 - Start a new sentence on a new line.
5270 - Use fairly short lines.
5271 - Use constant-width font for examples (where supported).
5272 - Some minor cleanups.
5274 Thanks to Jonathan Nieder for some language fixes.
5276 src/lzmainfo/lzmainfo.1 | 25 +-
5277 src/scripts/xzdiff.1 | 15 +-
5278 src/scripts/xzgrep.1 | 11 +-
5279 src/scripts/xzless.1 | 13 +-
5280 src/scripts/xzmore.1 | 9 +-
5281 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++---------------
5282 src/xzdec/xzdec.1 | 39 +-
5283 7 files changed, 1435 insertions(+), 641 deletions(-)
5285 commit 075257ab0416a0603be930082e31a5703e4ba345
5286 Author: Lasse Collin <lasse.collin@tukaani.org>
5287 Date: 2010-09-26 18:10:31 +0300
5291 depth=0 was missing.
5293 src/liblzma/lzma/lzma_encoder_presets.c | 1 +
5294 1 file changed, 1 insertion(+)
5296 commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
5297 Author: Lasse Collin <lasse.collin@tukaani.org>
5298 Date: 2010-09-23 14:03:10 +0300
5300 Add translations.bash and translation notes to README.
5302 translations.bash prints some messages from xz, which
5303 hopefully makes it a bit easier to test translations.
5305 README | 96 +++++++++++++++++++++++++++++++++++++++++++++--
5306 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++
5307 2 files changed, 192 insertions(+), 4 deletions(-)
5309 commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
5310 Author: Lasse Collin <lasse.collin@tukaani.org>
5311 Date: 2010-09-17 22:14:30 +0300
5313 xz: Update the Czech translation.
5315 Thanks to Marek Černocký.
5317 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++----------------------
5318 1 file changed, 131 insertions(+), 71 deletions(-)
5320 commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
5321 Author: Lasse Collin <lasse.collin@tukaani.org>
5322 Date: 2010-09-16 23:40:41 +0300
5324 xz: Add Italian translation.
5326 Thanks to Milo Casagrande and Lorenzo De Liso.
5330 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5331 3 files changed, 905 insertions(+)
5333 commit 21088018554e2b0e02914205377ceb6e34a090bd
5334 Author: Lasse Collin <lasse.collin@tukaani.org>
5335 Date: 2010-09-15 00:34:13 +0300
5337 xz: Edit a translators comment.
5339 src/xz/list.c | 2 +-
5340 1 file changed, 1 insertion(+), 1 deletion(-)
5342 commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
5343 Author: Lasse Collin <lasse.collin@tukaani.org>
5344 Date: 2010-09-14 22:47:14 +0300
5346 xz: Add German translation.
5348 Thanks to Andre Noll.
5352 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5353 3 files changed, 905 insertions(+)
5355 commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
5356 Author: Lasse Collin <lasse.collin@tukaani.org>
5357 Date: 2010-09-10 14:30:25 +0300
5362 1 file changed, 2 deletions(-)
5364 commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
5365 Author: Lasse Collin <lasse.collin@tukaani.org>
5366 Date: 2010-09-10 14:30:07 +0300
5371 1 file changed, 4 insertions(+), 3 deletions(-)
5373 commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
5374 Author: Lasse Collin <lasse.collin@tukaani.org>
5375 Date: 2010-09-10 14:26:20 +0300
5377 Updated the git repository address in ChangeLog.
5380 1 file changed, 1 insertion(+), 1 deletion(-)
5382 commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
5383 Author: Lasse Collin <lasse.collin@tukaani.org>
5384 Date: 2010-09-10 14:09:33 +0300
5386 xz: Add a comment to translators about "literal context bits".
5388 src/xz/message.c | 4 ++++
5389 1 file changed, 4 insertions(+)
5391 commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
5392 Author: Lasse Collin <lasse.collin@tukaani.org>
5393 Date: 2010-09-10 10:30:33 +0300
5397 The code assumed that printing numbers with thousand separators
5398 and decimal points would always produce only US-ASCII characters.
5399 This was used for buffer sizes (with snprintf(), no overflows)
5400 and aligning columns of the progress indicator and --list. That
5401 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
5402 multibyte character support was added in this commit. The old
5403 way is used if the operating system doesn't have enough multibyte
5404 support (e.g. lacks wcwidth()).
5406 The sizes of buffers were increased to accomodate multibyte
5407 characters. I don't know how big they should be exactly, but
5408 they aren't used for anything critical, so it's not too bad.
5409 If they still aren't big enough, I hopefully get a bug report.
5410 snprintf() takes care of avoiding buffer overflows.
5412 Some static buffers were replaced with buffers allocated on
5413 stack. double_to_str() was removed. uint64_to_str() and
5414 uint64_to_nicestr() now share the static buffer and test
5415 for thousand separator support.
5417 Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
5418 were marked to be translated. I had forgot these, plus they
5419 wouldn't have worked correctly anyway before this commit,
5420 because printing tables with multibyte strings didn't work.
5422 Thanks to Marek Černocký for reporting the bug about
5423 misaligned table columns in --list output.
5426 m4/tuklib_mbstr.m4 | 30 ++++++
5427 src/common/tuklib_mbstr.h | 66 +++++++++++++
5428 src/common/tuklib_mbstr_fw.c | 31 ++++++
5429 src/common/tuklib_mbstr_width.c | 64 +++++++++++++
5430 src/xz/Makefile.am | 4 +-
5431 src/xz/list.c | 205 +++++++++++++++++++++++++++-------------
5432 src/xz/message.c | 56 +++++++----
5433 src/xz/message.h | 10 +-
5434 src/xz/private.h | 1 +
5435 src/xz/util.c | 136 +++++++++-----------------
5436 src/xz/util.h | 7 --
5437 12 files changed, 424 insertions(+), 187 deletions(-)
5439 commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
5440 Author: Lasse Collin <lasse.collin@tukaani.org>
5441 Date: 2010-09-08 08:49:22 +0300
5443 Update the Czech translation.
5445 Thanks to Marek Černocký.
5447 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++--------------------
5448 1 file changed, 454 insertions(+), 201 deletions(-)
5450 commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
5451 Author: Lasse Collin <lasse.collin@tukaani.org>
5452 Date: 2010-09-07 12:31:40 +0300
5454 xz: Add a note to translators.
5456 src/xz/hardware.c | 2 ++
5457 1 file changed, 2 insertions(+)
5459 commit 77a7746616e555fc08028e883a56d06bf0088b81
5460 Author: Lasse Collin <lasse.collin@tukaani.org>
5461 Date: 2010-09-07 10:42:13 +0300
5463 Fix use of N_() and ngettext().
5465 I had somehow thought that N_() is usually used
5466 as shorthand for ngettext().
5468 This also fixes a missing \n from a call to ngettext().
5470 src/common/tuklib_gettext.h | 4 ++--
5471 src/xz/list.c | 4 ++--
5472 2 files changed, 4 insertions(+), 4 deletions(-)
5474 commit e6ad39335842343e622ab51207d1d3cb9caad801
5475 Author: Lasse Collin <lasse.collin@tukaani.org>
5476 Date: 2010-09-06 19:43:12 +0300
5478 Add missing files to POTFILES.in.
5480 po/POTFILES.in | 3 +++
5481 1 file changed, 3 insertions(+)
5483 commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
5484 Author: Lasse Collin <lasse.collin@tukaani.org>
5485 Date: 2010-09-06 10:16:24 +0300
5487 xz: Improve a comment.
5489 src/xz/file_io.c | 7 ++++---
5490 1 file changed, 4 insertions(+), 3 deletions(-)
5492 commit bcb1b898341f7073f51660d7052d7ed6c5461a66
5493 Author: Lasse Collin <lasse.collin@tukaani.org>
5494 Date: 2010-09-05 21:34:29 +0300
5496 xz: Update the comment about NetBSD in file_io.c.
5498 Thanks to Joerg Sonnenberger.
5500 src/xz/file_io.c | 8 ++++----
5501 1 file changed, 4 insertions(+), 4 deletions(-)
5503 commit da014d55972f5addbf6b4360d3d8ed2ef4282170
5504 Author: Lasse Collin <lasse.collin@tukaani.org>
5505 Date: 2010-09-05 21:11:33 +0300
5507 xz: Use an array instead of pointer for stdin_filename.
5509 Thanks Joerg Sonnenberger.
5511 src/xz/args.c | 2 +-
5512 src/xz/args.h | 2 +-
5513 2 files changed, 2 insertions(+), 2 deletions(-)
5515 commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
5516 Author: Lasse Collin <lasse.collin@tukaani.org>
5517 Date: 2010-09-05 12:16:17 +0300
5519 xz: Hopefully ease translating the messages in list.c.
5521 src/xz/list.c | 33 +++++++++++++++++++++++----------
5522 1 file changed, 23 insertions(+), 10 deletions(-)
5524 commit ef840950ad99cf2955c754875af0e01acf125079
5525 Author: Lasse Collin <lasse.collin@tukaani.org>
5526 Date: 2010-09-04 23:14:44 +0300
5530 src/xz/options.c | 3 +--
5531 1 file changed, 1 insertion(+), 2 deletions(-)
5533 commit c46afd6edc04ea140db6c59e8486f5707c810c13
5534 Author: Lasse Collin <lasse.collin@tukaani.org>
5535 Date: 2010-09-04 23:12:20 +0300
5537 xz: Use lzma_lzma_preset() to initialize the options structure.
5539 src/xz/options.c | 14 ++------------
5540 1 file changed, 2 insertions(+), 12 deletions(-)
5542 commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
5543 Author: Lasse Collin <lasse.collin@tukaani.org>
5544 Date: 2010-09-04 22:16:28 +0300
5546 Don't set lc=4 with --extreme.
5548 This should reduce the cases where --extreme makes
5549 compression worse. On the other hand, some other
5550 files may now benefit slightly less from --extreme.
5552 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
5553 1 file changed, 1 deletion(-)
5555 commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
5556 Author: Lasse Collin <lasse.collin@tukaani.org>
5557 Date: 2010-09-04 22:10:32 +0300
5559 xz: Minor improvements to --help and --long-help.
5561 src/xz/message.c | 24 ++++++++++++------------
5562 1 file changed, 12 insertions(+), 12 deletions(-)
5564 commit 373ee26f955617295c5c537b04a153a1969140d2
5565 Author: Jonathan Nieder <jrnieder@gmail.com>
5566 Date: 2010-09-03 16:49:15 -0500
5568 Adjust memory limits in test_compress.sh
5570 Testing compression at level -4 now requires 48 MiB of free store at
5571 compression time and 5 MiB at decompression time.
5573 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
5575 tests/test_compress.sh | 2 +-
5576 1 file changed, 1 insertion(+), 1 deletion(-)
5578 commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
5579 Author: Lasse Collin <lasse.collin@tukaani.org>
5580 Date: 2010-09-03 15:54:40 +0300
5582 xz: Make -vv show also decompressor memory usage.
5584 src/xz/coder.c | 7 +++++++
5585 1 file changed, 7 insertions(+)
5587 commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
5588 Author: Lasse Collin <lasse.collin@tukaani.org>
5589 Date: 2010-09-03 15:13:12 +0300
5591 Tweak the compression presets -0 .. -5.
5593 "Extreme" mode might need some further tweaking still.
5594 Docs were not updated yet.
5596 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++----------
5597 1 file changed, 19 insertions(+), 10 deletions(-)
5599 commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
5600 Author: Lasse Collin <lasse.collin@tukaani.org>
5601 Date: 2010-09-03 12:28:41 +0300
5603 liblzma: Adjust default depth calculation for HC3 and HC4.
5605 It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
5606 This allows faster settings at lower nice_len values,
5607 even though it seems that I won't use automatic depth
5608 calcuation with HC3 and HC4 in the presets.
5610 src/liblzma/lz/lz_encoder.c | 7 ++++---
5611 1 file changed, 4 insertions(+), 3 deletions(-)
5613 commit fce69059cf901ce8075a78c7607d591f144a3b5a
5614 Author: Lasse Collin <lasse.collin@tukaani.org>
5615 Date: 2010-09-03 11:11:25 +0300
5617 xz: Make --help two lines shorter.
5619 At least for now, the --help option doesn't list any
5620 options that take arguments, so "Mandatory arguments to..."
5623 src/xz/message.c | 7 +++++--
5624 1 file changed, 5 insertions(+), 2 deletions(-)
5626 commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
5627 Author: Lasse Collin <lasse.collin@tukaani.org>
5628 Date: 2010-09-02 19:22:35 +0300
5630 xz: Make setting a preset override a custom filter chain.
5632 This is more logical behavior than ignoring preset level
5633 options once a custom filter chain has been specified.
5635 src/xz/coder.c | 9 +++++++++
5636 1 file changed, 9 insertions(+)
5638 commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
5639 Author: Lasse Collin <lasse.collin@tukaani.org>
5640 Date: 2010-09-02 19:09:57 +0300
5642 xz: Always warn if adjusting dictionary size due to memlimit.
5644 src/xz/coder.c | 28 +++++++++-------------------
5645 1 file changed, 9 insertions(+), 19 deletions(-)
5647 commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
5648 Author: Lasse Collin <lasse.collin@tukaani.org>
5649 Date: 2010-08-10 11:04:30 +0300
5651 Fix test_compress.sh.
5653 It broke when --memory option was removed from xzdec.
5655 Thanks to Jonathan Nieder.
5657 tests/test_compress.sh | 6 +++---
5658 1 file changed, 3 insertions(+), 3 deletions(-)
5660 commit 792331bdee706aa852a78b171040ebf814c6f3ae
5661 Author: Lasse Collin <lasse.collin@tukaani.org>
5662 Date: 2010-08-07 20:45:18 +0300
5664 Disable the memory usage limiter by default.
5666 For several people, the limiter causes bigger problems that
5667 it solves, so it is better to have it disabled by default.
5668 Those who want to have a limiter by default need to enable
5669 it via the environment variable XZ_DEFAULTS.
5671 Support for environment variable XZ_DEFAULTS was added. It is
5672 parsed before XZ_OPT and technically identical with it. The
5673 intended uses differ quite a bit though; see the man page.
5675 The memory usage limit can now be set separately for
5676 compression and decompression using --memlimit-compress and
5677 --memlimit-decompress. To set both at once, -M or --memlimit
5678 can be used. --memory was retained as a legacy alias for
5679 --memlimit for backwards compatibility.
5681 The semantics of --info-memory were changed in backwards
5682 incompatible way. Compatibility wasn't meaningful due to
5683 changes in the memory usage limiter functionality.
5685 The memory usage limiter info is no longer shown at the
5686 bottom of xz --long -help.
5688 The memory usage limiter support for removed completely from xzdec.
5690 xz's man page was updated to match the above changes. Various
5691 unrelated fixes were also made to the man page.
5693 src/xz/args.c | 87 +++++++++-----
5694 src/xz/coder.c | 8 +-
5695 src/xz/hardware.c | 96 +++++++++------
5696 src/xz/hardware.h | 23 ++--
5697 src/xz/list.c | 2 +-
5698 src/xz/message.c | 39 ++-----
5699 src/xz/message.h | 4 -
5700 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++--------------------
5701 src/xzdec/xzdec.1 | 45 +------
5702 src/xzdec/xzdec.c | 176 +---------------------------
5703 10 files changed, 373 insertions(+), 448 deletions(-)
5705 commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
5706 Author: Lasse Collin <lasse.collin@tukaani.org>
5707 Date: 2010-08-06 20:22:16 +0300
5709 Add missing const to a global constant in xz.
5711 src/xz/args.c | 2 +-
5712 src/xz/args.h | 2 +-
5713 2 files changed, 2 insertions(+), 2 deletions(-)
5715 commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
5716 Author: Lasse Collin <lasse.collin@tukaani.org>
5717 Date: 2010-07-28 11:44:55 +0300
5719 Language fixes for man pages.
5721 Thanks to A. Costa and Jonathan Nieder.
5723 src/lzmainfo/lzmainfo.1 | 4 ++--
5724 src/xz/xz.1 | 6 +++---
5725 2 files changed, 5 insertions(+), 5 deletions(-)
5727 commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
5728 Author: Lasse Collin <lasse.collin@tukaani.org>
5729 Date: 2010-07-27 20:47:12 +0300
5731 Windows: Add a note about building a Git repository snapshot
5733 windows/INSTALL-Windows.txt | 9 +++++++++
5734 1 file changed, 9 insertions(+)
5736 commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
5737 Author: Lasse Collin <lasse.collin@tukaani.org>
5738 Date: 2010-07-27 20:45:03 +0300
5740 Windows: build.sh is a bash script so name it correctly.
5743 windows/INSTALL-Windows.txt | 6 +-
5744 windows/build.bash | 189 ++++++++++++++++++++++++++++++++++++++++++++
5745 windows/build.sh | 189 --------------------------------------------
5746 4 files changed, 193 insertions(+), 193 deletions(-)
5748 commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
5749 Author: Lasse Collin <lasse.collin@tukaani.org>
5750 Date: 2010-07-27 20:27:32 +0300
5752 Windows: Don't strip liblzma.a too much.
5754 windows/build.sh | 3 ++-
5755 1 file changed, 2 insertions(+), 1 deletion(-)
5757 commit a540198ffb25fad36380c5e92ac20c2d28eec46a
5758 Author: Lasse Collin <lasse.collin@tukaani.org>
5759 Date: 2010-07-13 20:07:26 +0300
5764 1 file changed, 1 insertion(+)
5766 commit bab0f01ed931f606b4675aa9f9331a17cec09bad
5767 Author: Lasse Collin <lasse.collin@tukaani.org>
5768 Date: 2010-07-13 19:55:50 +0300
5770 Add two simple example programs.
5772 Hopefully these help a bit when learning the basics
5773 of liblzma API. I plan to write detailed examples about
5774 both basic and advanced features with lots of comments,
5775 but these two examples are good have right now.
5777 The examples were written by Daniel Mealha Cabrita. Thanks.
5779 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++
5780 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++
5781 2 files changed, 242 insertions(+)
5783 commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
5784 Author: Lasse Collin <lasse.collin@tukaani.org>
5785 Date: 2010-06-15 14:06:29 +0300
5789 src/xz/args.c | 6 ++++++
5790 src/xz/coder.c | 8 ++------
5791 src/xz/coder.h | 4 ++++
5792 src/xz/message.c | 6 +++++-
5793 src/xz/xz.1 | 13 +++++++++++--
5794 5 files changed, 28 insertions(+), 9 deletions(-)
5796 commit 2130926dd1c839280358172dfadd8d3054bde2b4
5797 Author: Lasse Collin <lasse.collin@tukaani.org>
5798 Date: 2010-06-11 21:51:32 +0300
5803 1 file changed, 1 insertion(+)
5805 commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
5806 Author: Lasse Collin <lasse.collin@tukaani.org>
5807 Date: 2010-06-11 21:48:32 +0300
5809 Clarify the description of the default memlimit in the man page.
5811 Thanks to Denis Excoffier.
5813 src/xz/xz.1 | 4 ++--
5814 1 file changed, 2 insertions(+), 2 deletions(-)
5816 commit e1b6935d60a00405e6b5b455a3426d2248cc926c
5817 Author: Lasse Collin <lasse.collin@tukaani.org>
5818 Date: 2010-06-11 21:43:28 +0300
5820 Fix string to uint64_t conversion.
5822 Thanks to Denis Excoffier for the bug report.
5824 src/xz/util.c | 10 ++++++++--
5825 src/xzdec/xzdec.c | 13 +++++++++++--
5826 2 files changed, 19 insertions(+), 4 deletions(-)
5828 commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
5829 Author: Lasse Collin <lasse.collin@tukaani.org>
5830 Date: 2010-06-11 10:40:28 +0300
5832 Put the git commit to the filename in mydist rule.
5834 Makefile.am | 6 +++++-
5835 1 file changed, 5 insertions(+), 1 deletion(-)
5837 commit d8b41eedce486d400f701b757b7b5e4e32276618
5838 Author: Lasse Collin <lasse.collin@tukaani.org>
5839 Date: 2010-06-02 23:13:55 +0300
5841 Fix compiling with -Werror.
5843 src/xz/message.c | 4 ++--
5844 1 file changed, 2 insertions(+), 2 deletions(-)
5846 commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
5847 Author: Lasse Collin <lasse.collin@tukaani.org>
5848 Date: 2010-06-02 23:09:22 +0300
5850 Silence a bogus Valgrind warning.
5852 When using -O2 with GCC, it liked to swap two comparisons
5853 in one "if" statement. It's otherwise fine except that
5854 the latter part, which is seemingly never executed, got
5855 executed (nothing wrong with that) and then triggered
5856 warning in Valgrind about conditional jump depending on
5857 uninitialized variable. A few people find this annoying
5858 so do things a bit differently to avoid the warning.
5860 src/liblzma/lz/lz_encoder.c | 6 +++++-
5861 1 file changed, 5 insertions(+), 1 deletion(-)
5863 commit 29a7b250e685852f2f97615493ec49acaf528623
5864 Author: Lasse Collin <lasse.collin@tukaani.org>
5865 Date: 2010-06-02 21:32:12 +0300
5867 Fix a Windows-specific FIXME in signal handling code.
5869 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++-----
5870 src/xz/private.h | 5 +++++
5871 src/xz/signals.c | 16 ++++++++--------
5872 3 files changed, 48 insertions(+), 13 deletions(-)
5874 commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
5875 Author: Lasse Collin <lasse.collin@tukaani.org>
5876 Date: 2010-06-02 17:46:58 +0300
5878 Adjust SA_RESTART workaround.
5880 I want to get a bug report if something else than
5881 DJGPP lacks SA_RESTART.
5883 src/xz/message.c | 14 +++++++-------
5884 1 file changed, 7 insertions(+), 7 deletions(-)
5886 commit e243145c84ab5c3be8259fd486ead0de5235b3f0
5887 Author: Lasse Collin <lasse.collin@tukaani.org>
5888 Date: 2010-06-01 16:02:30 +0300
5890 xz man page updates.
5892 - Concatenating .xz files and padding
5895 - A few examples (but many more are needed)
5897 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
5898 1 file changed, 366 insertions(+), 19 deletions(-)
5900 commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
5901 Author: Lasse Collin <lasse.collin@tukaani.org>
5902 Date: 2010-06-01 15:51:44 +0300
5904 Major update to xz --list.
5906 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++----------------
5907 1 file changed, 471 insertions(+), 181 deletions(-)
5909 commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
5910 Author: Lasse Collin <lasse.collin@tukaani.org>
5911 Date: 2010-06-01 14:13:03 +0300
5913 Rename message_filters_get() to message_filters_to_str().
5915 src/xz/message.c | 4 ++--
5916 src/xz/message.h | 2 +-
5917 2 files changed, 3 insertions(+), 3 deletions(-)
5919 commit 4b346ae8af20045027ae5efb068c6d69da3324d2
5920 Author: Lasse Collin <lasse.collin@tukaani.org>
5921 Date: 2010-06-01 14:09:12 +0300
5925 src/liblzma/api/lzma/index.h | 2 +-
5926 1 file changed, 1 insertion(+), 1 deletion(-)
5928 commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
5929 Author: Lasse Collin <lasse.collin@tukaani.org>
5930 Date: 2010-05-27 16:17:42 +0300
5932 Fix lzma_block_compressed_size().
5934 src/liblzma/common/block_util.c | 6 +++---
5935 1 file changed, 3 insertions(+), 3 deletions(-)
5937 commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
5938 Author: Lasse Collin <lasse.collin@tukaani.org>
5939 Date: 2010-05-27 14:32:51 +0300
5941 Take Cygwin into account in some #if lines.
5943 This change is no-op, but good to have just in case
5946 src/xz/signals.c | 2 +-
5947 src/xz/signals.h | 4 ++--
5948 2 files changed, 3 insertions(+), 3 deletions(-)
5950 commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
5951 Author: Lasse Collin <lasse.collin@tukaani.org>
5952 Date: 2010-05-27 13:42:44 +0300
5954 Remove references to the Subblock filter in xz and tests.
5956 Thanks to Jonathan Nieder.
5958 src/xz/message.c | 9 ---------
5959 tests/test_filter_flags.c | 23 -----------------------
5960 2 files changed, 32 deletions(-)
5962 commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
5963 Author: Lasse Collin <lasse.collin@tukaani.org>
5964 Date: 2010-05-27 13:35:36 +0300
5966 Remove unused chunk_size.c.
5968 Thanks to Jonathan Nieder for the reminder.
5970 src/liblzma/common/chunk_size.c | 67 -----------------------------------------
5971 1 file changed, 67 deletions(-)
5973 commit 01a414eaf4be6352c06b48001b041b47e8202faa
5974 Author: Jonathan Nieder <jrnieder@gmail.com>
5975 Date: 2010-05-27 02:31:33 -0500
5977 Use my_min() instead of MIN() in src/xz/list.c
5979 This should have been done in
5980 920a69a8d8e4203c5edddd829d932130eac188ea.
5982 src/xz/list.c | 2 +-
5983 1 file changed, 1 insertion(+), 1 deletion(-)
5985 commit 920a69a8d8e4203c5edddd829d932130eac188ea
5986 Author: Lasse Collin <lasse.collin@tukaani.org>
5987 Date: 2010-05-26 10:36:46 +0300
5989 Rename MIN() and MAX() to my_min() and my_max().
5991 This should avoid some minor portability issues.
5993 debug/full_flush.c | 2 +-
5994 debug/sync_flush.c | 2 +-
5995 src/common/sysdefs.h | 12 +++++-------
5996 src/liblzma/common/block_buffer_encoder.c | 2 +-
5997 src/liblzma/common/common.c | 2 +-
5998 src/liblzma/common/stream_buffer_encoder.c | 2 +-
5999 src/liblzma/delta/delta_encoder.c | 2 +-
6000 src/liblzma/lz/lz_decoder.c | 7 ++++---
6001 src/liblzma/lz/lz_decoder.h | 2 +-
6002 src/liblzma/lz/lz_encoder.c | 2 +-
6003 src/liblzma/lz/lz_encoder.h | 2 +-
6004 src/liblzma/lz/lz_encoder_mf.c | 4 ++--
6005 src/liblzma/lzma/lzma2_encoder.c | 2 +-
6006 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
6007 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++-------
6008 src/xz/args.c | 3 ++-
6009 16 files changed, 31 insertions(+), 31 deletions(-)
6011 commit 019ae27c24d0c694545a6a46f8b9fb552198b015
6012 Author: Lasse Collin <lasse.collin@tukaani.org>
6013 Date: 2010-05-26 10:30:20 +0300
6015 Fix compilation of debug/known_sizes.c.
6017 debug/known_sizes.c | 2 +-
6018 1 file changed, 1 insertion(+), 1 deletion(-)
6020 commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
6021 Author: Lasse Collin <lasse.collin@tukaani.org>
6022 Date: 2010-05-26 10:28:54 +0300
6024 Remove references to Subblock filter in debug/sync_flush.c.
6026 debug/sync_flush.c | 13 -------------
6027 1 file changed, 13 deletions(-)
6029 commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
6030 Author: Lasse Collin <lasse.collin@tukaani.org>
6031 Date: 2010-05-26 10:16:57 +0300
6033 Better #error message.
6035 src/common/sysdefs.h | 4 ++--
6036 1 file changed, 2 insertions(+), 2 deletions(-)
6038 commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
6039 Author: Lasse Collin <lasse.collin@tukaani.org>
6040 Date: 2010-05-26 09:55:47 +0300
6042 Remove the Subblock filter code for now.
6044 The spec isn't finished and the code didn't compile anymore.
6045 It won't be included in XZ Utils 5.0.0. It's easy to get it
6046 back once the spec is done.
6049 src/liblzma/Makefile.am | 5 -
6050 src/liblzma/api/Makefile.am | 1 -
6051 src/liblzma/api/lzma.h | 1 -
6052 src/liblzma/api/lzma/subblock.h | 200 -----
6053 src/liblzma/common/common.h | 6 -
6054 src/liblzma/common/filter_common.c | 9 -
6055 src/liblzma/common/filter_decoder.c | 16 -
6056 src/liblzma/common/filter_encoder.c | 12 -
6057 src/liblzma/subblock/Makefile.inc | 20 -
6058 src/liblzma/subblock/subblock_decoder.c | 630 ----------------
6059 src/liblzma/subblock/subblock_decoder.h | 22 -
6060 src/liblzma/subblock/subblock_decoder_helper.c | 70 --
6061 src/liblzma/subblock/subblock_decoder_helper.h | 29 -
6062 src/liblzma/subblock/subblock_encoder.c | 984 -------------------------
6063 src/liblzma/subblock/subblock_encoder.h | 21 -
6064 src/xz/args.c | 9 +-
6065 src/xz/options.c | 61 --
6066 src/xz/options.h | 7 -
6067 19 files changed, 4 insertions(+), 2105 deletions(-)
6069 commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
6070 Author: Lasse Collin <lasse.collin@tukaani.org>
6071 Date: 2010-05-16 18:42:22 +0300
6073 Split message_filters().
6075 message_filters_to_str() converts the filter chain to
6076 a string. message_filters_show() replaces the original
6079 uint32_to_optstr() was also added to show the dictionary
6080 size in nicer format when possible.
6082 src/xz/coder.c | 2 +-
6083 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++--------------------
6084 src/xz/message.h | 14 ++++-
6085 3 files changed, 134 insertions(+), 69 deletions(-)
6087 commit d9986db782d6cf0f314342127280519339378fa0
6088 Author: Lasse Collin <lasse.collin@tukaani.org>
6089 Date: 2010-05-14 23:17:20 +0300
6091 Omit lzma_restrict from the API headers.
6093 It isn't really useful so omitting it makes things
6094 shorter and slightly more readable.
6096 src/liblzma/api/lzma.h | 12 ------------
6097 src/liblzma/api/lzma/index.h | 5 ++---
6098 src/liblzma/api/lzma/vli.h | 11 +++++------
6099 3 files changed, 7 insertions(+), 21 deletions(-)
6101 commit 0d3489efca0a723dca0394809fa3e6170843af4b
6102 Author: Lasse Collin <lasse.collin@tukaani.org>
6103 Date: 2010-05-10 19:57:24 +0300
6108 1 file changed, 5 deletions(-)
6110 commit 3fb3d594a2b53886adee161b6261e92277f05f7c
6111 Author: Lasse Collin <lasse.collin@tukaani.org>
6112 Date: 2010-05-10 19:54:52 +0300
6117 1 file changed, 1 insertion(+)
6119 commit 6548e304657e77d3a972053db3c41c5daf591113
6120 Author: Lasse Collin <lasse.collin@tukaani.org>
6121 Date: 2010-05-10 19:54:15 +0300
6123 Updates to tuklib_physmem and tuklib_cpucores.
6125 Don't use #error to generate compile error, because some
6126 compilers actually don't take it as an error. This fixes
6127 tuklib_physmem on IRIX.
6129 Fix incorrect error check for sysconf() return values.
6131 Add AIX, HP-UX, and Tru64 specific code to detect the
6134 Add HP-UX specific code to detect the number of CPU cores.
6136 Thanks a lot to Peter O'Gorman for initial patches,
6137 testing, and debugging these fixes.
6139 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++----
6140 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++--
6141 src/common/tuklib_cpucores.c | 14 +++++++--
6142 src/common/tuklib_physmem.c | 33 +++++++++++++++++++-
6143 4 files changed, 141 insertions(+), 11 deletions(-)
6145 commit a290cfee3e23f046889c022aa96b4eca2016fdda
6146 Author: Lasse Collin <lasse.collin@tukaani.org>
6147 Date: 2010-04-12 21:55:56 +0300
6149 Show both elapsed time and estimated remaining time in xz -v.
6151 The extra space for showing both has been taken from the
6152 sizes field. If the sizes grow big, bigger units than MiB
6153 will be used. It makes it slightly difficult to see that
6154 progress is still happening with huge files, but it should
6157 Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
6158 and Jonathan Nieder for suggestions how to fix it.
6161 src/xz/message.c | 86 +++++++++++++++++++++++++-------------------------------
6162 2 files changed, 39 insertions(+), 48 deletions(-)
6164 commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
6165 Author: Lasse Collin <lasse.collin@tukaani.org>
6166 Date: 2010-03-31 16:47:25 +0300
6168 Add a simple tip to faq.txt about tar and xz.
6170 Thanks to Gilles Espinasse.
6173 doc/faq.txt | 6 ++++++
6174 2 files changed, 7 insertions(+)
6176 commit c737eec91d200d730aa82662affd6b06ebb0bff0
6177 Author: Lasse Collin <lasse.collin@tukaani.org>
6178 Date: 2010-03-22 21:03:03 +0200
6183 1 file changed, 1 insertion(+)
6185 commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
6186 Author: Lasse Collin <lasse.collin@tukaani.org>
6187 Date: 2010-03-07 19:52:25 +0200
6189 Fix xzgrep to not break if filenames have spaces or quotes.
6191 Thanks to someone who reported the bug on IRC.
6193 src/scripts/xzgrep.in | 2 +-
6194 1 file changed, 1 insertion(+), 1 deletion(-)
6196 commit cf38da00a140bd3bd65b192390ae5553380fd774
6197 Author: Lasse Collin <lasse.collin@tukaani.org>
6198 Date: 2010-03-07 13:59:32 +0200
6200 Treat all integer multiplier suffixes as base-2.
6202 Originally both base-2 and base-10 were supported, but since
6203 there seems to be little need for base-10 in XZ Utils, treat
6204 everything as base-2 and also be more relaxed about the case
6205 of the first letter of the suffix. Now xz will accept e.g.
6206 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
6207 recommended spelling of the suffixes are still KiB, MiB, and GiB.
6209 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------
6210 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++--------------------
6211 src/xzdec/xzdec.c | 42 ++++++++++++++++--------------------------
6212 3 files changed, 67 insertions(+), 76 deletions(-)
6214 commit 00fc1211ae7b687ac912098f4479112059deccbd
6215 Author: Lasse Collin <lasse.collin@tukaani.org>
6216 Date: 2010-03-07 13:50:23 +0200
6218 Consistently round up the memory usage limit in messages.
6220 It still feels a bit wrong to round 1 byte to 1 MiB but
6221 at least it is now done consistently so that the same
6222 byte value is always rounded the same way to MiB.
6224 src/xz/message.c | 5 +++--
6225 src/xzdec/xzdec.c | 7 +++++--
6226 2 files changed, 8 insertions(+), 4 deletions(-)
6228 commit 9886d436ff5615fc70eef32ff757b1e934069621
6229 Author: Lasse Collin <lasse.collin@tukaani.org>
6230 Date: 2010-03-07 13:34:34 +0200
6232 Change the default of --enable-assume-ram from 32 to 128 MiB.
6234 This is to allow files created with "xz -9" to be decompressed
6235 if the amount of RAM cannot be determined.
6238 configure.ac | 11 ++++++-----
6239 2 files changed, 8 insertions(+), 8 deletions(-)
6241 commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
6242 Author: Lasse Collin <lasse.collin@tukaani.org>
6243 Date: 2010-03-07 13:29:28 +0200
6245 Increase the default memory usage limit on "low-memory" systems.
6247 Previously the default limit was always 40 % of RAM. The
6248 new limit is a little bit more complex:
6250 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
6253 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
6255 - Otherwise 80 % of RAM is used as the limit.
6257 This should make it possible to decompress files created with
6258 "xz -9" on more systems. Swapping is generally more expected
6259 on systems with less RAM, so higher default limit on them
6260 shouldn't cause too bad surprises in terms of heavy swapping.
6261 Instead, the higher default limit should reduce the number of
6262 bad surprises when it used to prevent decompression of files
6263 created with "xz -9". The DoS prevention system shouldn't be
6266 Note that even with the new default limit, a system with 64 MiB
6267 RAM cannot decompress files created with "xz -9" without user
6268 overriding the limit. This should be OK, because if xz is going
6269 to need more memory than the system has RAM, it will run very
6270 very slowly and thus it's good that user has to override the limit
6273 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------
6274 src/xz/xz.1 | 21 +++++++++++++++------
6275 src/xzdec/xzdec.1 | 8 ++++----
6276 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------
6277 4 files changed, 80 insertions(+), 34 deletions(-)
6279 commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
6280 Author: Lasse Collin <lasse.collin@tukaani.org>
6281 Date: 2010-03-06 21:36:19 +0200
6286 1 file changed, 1 insertion(+)
6288 commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
6289 Author: Lasse Collin <lasse.collin@tukaani.org>
6290 Date: 2010-03-06 21:17:20 +0200
6292 Fix missing initialization in lzma_strm_init().
6294 With bad luck, lzma_code() could return LZMA_BUF_ERROR
6297 This has been here since the early days of liblzma.
6298 It got triggered by the modifications made to the xz
6299 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
6300 but only when decompressing .lzma files. Somehow I managed
6301 to miss testing that with Valgrind earlier.
6303 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
6304 Thanks to Rafał Mużyło for helping to debug it on IRC.
6306 src/liblzma/common/common.c | 1 +
6307 1 file changed, 1 insertion(+)
6309 commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
6310 Author: Lasse Collin <lasse.collin@tukaani.org>
6311 Date: 2010-02-12 13:16:15 +0200
6313 Collection of language fixes to comments and docs.
6315 Thanks to Jonathan Nieder.
6320 extra/7z2lzma/7z2lzma.bash | 2 +-
6321 src/common/tuklib_progname.c | 2 +-
6322 src/common/tuklib_progname.h | 2 +-
6323 src/liblzma/api/lzma/base.h | 8 ++++----
6324 src/liblzma/api/lzma/bcj.h | 2 +-
6325 src/liblzma/api/lzma/block.h | 2 +-
6326 src/liblzma/api/lzma/check.h | 2 +-
6327 src/liblzma/api/lzma/filter.h | 4 ++--
6328 src/liblzma/api/lzma/index.h | 6 +++---
6329 src/liblzma/api/lzma/lzma.h | 2 +-
6330 src/liblzma/api/lzma/version.h | 2 +-
6331 src/liblzma/api/lzma/vli.h | 2 +-
6332 src/liblzma/common/block_header_encoder.c | 2 +-
6333 src/liblzma/common/chunk_size.c | 4 ++--
6334 src/liblzma/common/common.h | 4 ++--
6335 src/liblzma/common/filter_buffer_decoder.c | 2 +-
6336 src/liblzma/common/filter_encoder.c | 4 ++--
6337 src/liblzma/common/index.c | 6 +++---
6338 src/liblzma/common/index_encoder.c | 2 +-
6339 src/liblzma/common/stream_encoder.c | 2 +-
6340 src/liblzma/common/vli_decoder.c | 2 +-
6341 src/liblzma/lz/lz_encoder.c | 2 +-
6342 src/liblzma/lz/lz_encoder.h | 2 +-
6343 src/liblzma/lzma/lzma2_encoder.c | 2 +-
6344 src/liblzma/lzma/lzma_decoder.c | 4 ++--
6345 src/liblzma/lzma/lzma_decoder.h | 2 +-
6346 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
6347 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
6348 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
6349 src/liblzma/simple/simple_coder.c | 2 +-
6350 src/liblzma/subblock/subblock_encoder.c | 2 +-
6351 src/scripts/xzdiff.1 | 2 +-
6352 src/scripts/xzless.1 | 10 +++++-----
6353 src/xz/coder.c | 2 +-
6354 src/xz/file_io.c | 2 +-
6355 src/xz/main.c | 6 +++---
6356 src/xz/main.h | 2 +-
6357 src/xz/message.c | 10 +++++-----
6358 src/xz/message.h | 2 +-
6359 src/xz/xz.1 | 16 ++++++++--------
6360 src/xzdec/lzmadec_w32res.rc | 2 +-
6361 src/xzdec/xzdec_w32res.rc | 2 +-
6362 tests/test_index.c | 2 +-
6363 windows/build.sh | 4 ++--
6364 47 files changed, 77 insertions(+), 77 deletions(-)
6366 commit 4785f2021aa6a23f1caf724fcc823e562584f225
6367 Author: Lasse Collin <lasse.collin@tukaani.org>
6368 Date: 2010-02-12 12:41:20 +0200
6370 Fix jl -> jb in ASM files.
6372 src/liblzma/check/crc32_x86.S | 2 +-
6373 src/liblzma/check/crc64_x86.S | 4 ++--
6374 2 files changed, 3 insertions(+), 3 deletions(-)
6376 commit 6b50c9429bf85521d355adc61745d06ee017f8c8
6377 Author: Lasse Collin <lasse.collin@tukaani.org>
6378 Date: 2010-02-12 12:31:22 +0200
6380 Use __APPLE__ instead of __MACH__ in ASM files.
6382 This allows the files to work on HURD.
6384 Thanks to Jonathan Nieder.
6386 src/liblzma/check/crc32_x86.S | 8 ++++----
6387 src/liblzma/check/crc64_x86.S | 8 ++++----
6388 2 files changed, 8 insertions(+), 8 deletions(-)
6390 commit 6503fde658a5cdbdd907a788865470dd64771601
6391 Author: Lasse Collin <lasse.collin@tukaani.org>
6392 Date: 2010-02-07 19:48:06 +0200
6394 Subtle change to liblzma Block handling API.
6396 lzma_block.version has to be initialized even for
6397 lzma_block_header_decode(). This way a future version
6398 of liblzma won't allocate memory in a way that an old
6399 application doesn't know how to free it.
6401 The subtlety of this change is that all current apps
6402 using lzma_block_header_decode() will keep working for
6403 now, because the only possible version value is zero,
6404 and lzma_block_header_decode() unconditionally sets the
6405 version to zero even now. Unless fixed, these apps will
6406 break in the future if a new version of the Block options
6409 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++---------------------
6410 src/liblzma/common/stream_decoder.c | 3 +++
6411 2 files changed, 20 insertions(+), 22 deletions(-)
6413 commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
6414 Author: Lasse Collin <lasse.collin@tukaani.org>
6415 Date: 2010-02-02 11:50:11 +0200
6417 Fix wrong assertion.
6419 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
6421 src/xz/main.c | 5 +++--
6422 1 file changed, 3 insertions(+), 2 deletions(-)
6424 commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
6425 Author: Lasse Collin <lasse.collin@tukaani.org>
6426 Date: 2010-02-01 22:48:42 +0200
6431 1 file changed, 4 deletions(-)
6433 commit fef6333f52c8801308c3b78acb7942988541d137
6434 Author: Lasse Collin <lasse.collin@tukaani.org>
6435 Date: 2010-02-01 22:47:54 +0200
6437 Fix typos in comments.
6439 src/xz/list.c | 2 +-
6440 windows/build.sh | 2 +-
6441 2 files changed, 2 insertions(+), 2 deletions(-)
6443 commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
6444 Author: Lasse Collin <lasse.collin@tukaani.org>
6445 Date: 2010-02-01 22:46:56 +0200
6447 Fix signal handling for --list.
6449 src/xz/main.c | 19 ++++++++++++++-----
6450 1 file changed, 14 insertions(+), 5 deletions(-)
6452 commit 82220a149015616f75641ee8bbea415137535b9b
6453 Author: Lasse Collin <lasse.collin@tukaani.org>
6454 Date: 2010-02-01 11:44:45 +0200
6456 Fix compression of symlinks with --force.
6458 xz --force accepted symlinks, but didn't remove
6459 them after successful compression. Instead, an error
6460 message was displayed.
6462 src/xz/file_io.c | 14 +++++++++++++-
6463 1 file changed, 13 insertions(+), 1 deletion(-)
6465 commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
6466 Author: Lasse Collin <lasse.collin@tukaani.org>
6467 Date: 2010-02-01 10:20:57 +0200
6471 windows/build.sh | 5 ++---
6472 1 file changed, 2 insertions(+), 3 deletions(-)
6474 commit f9dd797a423a148903cf345b4146cb1fe1eab11d
6475 Author: Lasse Collin <lasse.collin@tukaani.org>
6476 Date: 2010-01-31 23:43:54 +0200
6481 1 file changed, 1 insertion(+)
6483 commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
6484 Author: Lasse Collin <lasse.collin@tukaani.org>
6485 Date: 2010-01-31 23:41:29 +0200
6489 TODO | 17 +++++++++++------
6490 1 file changed, 11 insertions(+), 6 deletions(-)
6492 commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
6493 Author: Lasse Collin <lasse.collin@tukaani.org>
6494 Date: 2010-01-31 23:35:04 +0200
6496 Mention TODO in README.
6499 1 file changed, 1 insertion(+)
6501 commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
6502 Author: Lasse Collin <lasse.collin@tukaani.org>
6503 Date: 2010-01-31 23:31:14 +0200
6507 INSTALL | 52 ++++++++++++++++++++++++++--------------------------
6508 1 file changed, 26 insertions(+), 26 deletions(-)
6510 commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
6511 Author: Lasse Collin <lasse.collin@tukaani.org>
6512 Date: 2010-01-31 23:28:51 +0200
6514 Revise the Windows build files.
6516 The old Makefile + config.h was deleted, because it
6517 becomes outdated too easily and building with the
6518 Autotools based build system works fine even on Windows.
6520 windows/build.sh hasn't got much testing, but it should
6521 work to build 32-bit x86 and x86-64 versions of XZ Utils
6522 using MSYS, MinGW or MinGW-w32, and MinGW-w64.
6524 windows/INSTALL-Windows.txt describes what packages are
6525 needed and how to install them.
6527 windows/README-Windows.txt is a readme file for the binary
6528 package that build.sh hopefully builds.
6530 There are no instructions about using Autotools for now,
6531 so those using a git snapshot may want to run
6532 "autoreconf -fi && ./configure && make mydist" on a UN*X
6533 box and then copy the resulting .tar.gz to a Windows.
6535 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++
6536 windows/Makefile | 320 --------------------------------------------
6537 windows/README | 155 ---------------------
6538 windows/README-Windows.txt | 115 ++++++++++++++++
6539 windows/build.sh | 189 ++++++++++++++++++++++++++
6540 windows/config.h | 170 -----------------------
6541 6 files changed, 435 insertions(+), 645 deletions(-)
6543 commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
6544 Author: Lasse Collin <lasse.collin@tukaani.org>
6545 Date: 2010-01-31 19:52:38 +0200
6547 Select the default integrity check type at runtime.
6549 Previously it was set statically to CRC64 or CRC32
6550 depending on options passed to the configure script.
6552 src/xz/coder.c | 19 ++++++++++++++-----
6553 1 file changed, 14 insertions(+), 5 deletions(-)
6555 commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
6556 Author: Lasse Collin <lasse.collin@tukaani.org>
6557 Date: 2010-01-31 18:17:50 +0200
6559 Improve displaying of the memory usage limit.
6561 src/xz/coder.c | 8 +++-----
6562 src/xz/message.c | 37 +++++++++++++++++++++++++++++--------
6563 src/xz/util.c | 7 +++++++
6564 src/xz/util.h | 6 ++++++
6565 4 files changed, 45 insertions(+), 13 deletions(-)
6567 commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
6568 Author: Lasse Collin <lasse.collin@tukaani.org>
6569 Date: 2010-01-31 12:53:56 +0200
6571 Don't use uninitialized sigset_t.
6573 If signal handlers haven't been established, then it's
6574 useless to try to block them, especially since the sigset_t
6575 used for blocking hasn't been initialized yet.
6577 src/xz/signals.c | 34 ++++++++++++++++++++++++----------
6578 1 file changed, 24 insertions(+), 10 deletions(-)
6580 commit 231c3c7098f1099a56abb8afece76fc9b8699f05
6581 Author: Lasse Collin <lasse.collin@tukaani.org>
6582 Date: 2010-01-31 12:01:54 +0200
6584 Delay opening the destionation file and other fixes.
6586 The opening of the destination file is now delayed a little.
6587 The coder is initialized, and if decompressing, the memory
6588 usage of the first Block compared against the memory
6589 usage limit before the destination file is opened. This
6590 means that if --force was used, the old "target" file won't
6591 be deleted so easily when something goes wrong very early.
6592 Thanks to Mark K for the bug report.
6594 The above fix required some changes to progress message
6595 handling. Now there is a separate function for setting and
6596 printing the filename. It is used also in list.c.
6598 list_file() now handles stdin correctly (gives an error).
6600 A useless check for user_abort was removed from file_io.c.
6602 src/xz/coder.c | 64 ++++++++++++++++++++++-----------
6603 src/xz/file_io.c | 107 +++++++++++++++++++++++++++----------------------------
6604 src/xz/file_io.h | 8 +++--
6605 src/xz/list.c | 28 +++++----------
6606 src/xz/message.c | 46 +++++++++++++-----------
6607 src/xz/message.h | 29 ++++++++++-----
6608 6 files changed, 157 insertions(+), 125 deletions(-)
6610 commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
6611 Author: Lasse Collin <lasse.collin@tukaani.org>
6612 Date: 2010-01-29 22:48:04 +0200
6614 Add list.h to src/xz/Makefile.am.
6616 This should have been already in
6617 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
6619 src/xz/Makefile.am | 1 +
6620 1 file changed, 1 insertion(+)
6622 commit b4b1a56e0cbd597157858264f5c7189201ac9018
6623 Author: Lasse Collin <lasse.collin@tukaani.org>
6624 Date: 2010-01-29 13:24:27 +0200
6626 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
6629 1 file changed, 1 insertion(+)
6631 commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
6632 Author: Lasse Collin <lasse.collin@tukaani.org>
6633 Date: 2010-01-27 16:42:11 +0200
6635 Silence two compiler warnings on DOS-like systems.
6637 src/common/tuklib_open_stdxxx.c | 6 +++++-
6638 src/xz/file_io.c | 3 +++
6639 2 files changed, 8 insertions(+), 1 deletion(-)
6641 commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
6642 Author: Lasse Collin <lasse.collin@tukaani.org>
6643 Date: 2010-01-27 13:31:03 +0200
6645 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
6647 configure.ac | 9 ++-------
6648 src/liblzma/liblzma.pc.in | 2 +-
6649 src/lzmainfo/lzmainfo.c | 2 +-
6650 src/xz/message.c | 2 +-
6651 src/xzdec/xzdec.c | 2 +-
6652 5 files changed, 6 insertions(+), 11 deletions(-)
6654 commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
6655 Author: Lasse Collin <lasse.collin@tukaani.org>
6656 Date: 2010-01-26 23:37:46 +0200
6658 Add a missing space to an error message.
6660 Thanks to Robert Readman.
6662 src/xz/args.c | 2 +-
6663 1 file changed, 1 insertion(+), 1 deletion(-)
6665 commit e5496f9628ff5979392a80421d0b63a4de8015b4
6666 Author: Lasse Collin <lasse.collin@tukaani.org>
6667 Date: 2010-01-26 22:53:37 +0200
6669 Use past tense in error message in io_unlink().
6671 Added a note to translators too.
6673 Thanks to Robert Readman.
6676 src/xz/file_io.c | 14 ++++++++++++--
6677 2 files changed, 13 insertions(+), 2 deletions(-)
6679 commit d9a9800597ea540090e434132c3b511217df0a2b
6680 Author: Lasse Collin <lasse.collin@tukaani.org>
6681 Date: 2010-01-26 15:42:24 +0200
6683 Fix too small static buffer in util.c.
6685 This was introduced in
6686 0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
6688 src/xz/util.c | 9 ++++-----
6689 1 file changed, 4 insertions(+), 5 deletions(-)
6691 commit d0b4bbf5da068503c099cd456e294d7673548cc0
6692 Author: Lasse Collin <lasse.collin@tukaani.org>
6693 Date: 2010-01-26 14:46:43 +0200
6697 src/xz/main.c | 4 ++--
6698 1 file changed, 2 insertions(+), 2 deletions(-)
6700 commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
6701 Author: Lasse Collin <lasse.collin@tukaani.org>
6702 Date: 2010-01-24 23:50:54 +0200
6704 Add initial version of xz --list.
6706 This is a bit rough but should be useful for basic things.
6707 Ideas (with detailed examples) about the output format are
6710 The output of --robot --list is not necessarily stable yet,
6711 although I don't currently have any plans about changing it.
6713 The man page hasn't been updated yet.
6715 src/xz/Makefile.am | 1 +
6716 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++-------------------
6717 src/xz/list.h | 18 +
6718 src/xz/main.c | 19 +-
6719 src/xz/private.h | 1 +
6720 5 files changed, 668 insertions(+), 359 deletions(-)
6722 commit df254ce03be016e217b511e7acd5d493f9929ca5
6723 Author: Lasse Collin <lasse.collin@tukaani.org>
6724 Date: 2010-01-24 22:46:11 +0200
6728 It will be used by --list.
6730 src/xz/file_io.c | 25 +++++++++++++++++++++++++
6731 src/xz/file_io.h | 17 +++++++++++++++++
6732 2 files changed, 42 insertions(+)
6734 commit ef68dd4a92976276304de2aedfbe34ae91a86abb
6735 Author: Lasse Collin <lasse.collin@tukaani.org>
6736 Date: 2010-01-24 22:45:14 +0200
6738 Set LC_NUMERIC=C when --robot is used.
6740 It is to ensure that floating point numbers
6741 will always have a dot as the decimal separator.
6743 src/xz/args.c | 4 ++++
6744 1 file changed, 4 insertions(+)
6746 commit 0dd6d007669b946543ca939a44243833c79e08f4
6747 Author: Lasse Collin <lasse.collin@tukaani.org>
6748 Date: 2010-01-24 16:57:40 +0200
6750 Some improvements to printing sizes in xz.
6752 src/xz/coder.c | 56 +++++++++++++++------------------------
6753 src/xz/message.c | 80 ++++++++++++++++++--------------------------------------
6754 src/xz/message.h | 4 +++
6755 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
6756 src/xz/util.h | 44 +++++++++++++++++++++++++++++++
6757 5 files changed, 166 insertions(+), 90 deletions(-)
6759 commit 2a98fdffd68c66371279c211c29153c808ad5c1d
6760 Author: Lasse Collin <lasse.collin@tukaani.org>
6761 Date: 2010-01-20 22:02:35 +0200
6763 Fix a typo in README.
6765 Thanks to R. Bijker.
6768 1 file changed, 1 insertion(+), 1 deletion(-)
6770 commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
6771 Author: Lasse Collin <lasse.collin@tukaani.org>
6772 Date: 2010-01-17 11:59:54 +0200
6774 Updated windows/Makefile.
6776 Thanks to Dan Shechter for the patch.
6778 It is likely that windows/Makefile will be removed
6779 completely, because Autotols based build nowadays
6780 works well with both 32-bit and 64-bit MinGW (I
6781 just need to update the docs).
6783 windows/Makefile | 38 +++++++++++++++++++++++++-------------
6784 windows/config.h | 2 ++
6785 2 files changed, 27 insertions(+), 13 deletions(-)
6787 commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
6788 Author: Lasse Collin <lasse.collin@tukaani.org>
6789 Date: 2010-01-15 11:05:11 +0200
6791 Update the xz man page to match the previous two commits.
6793 src/xz/xz.1 | 9 +++------
6794 1 file changed, 3 insertions(+), 6 deletions(-)
6796 commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
6797 Author: Lasse Collin <lasse.collin@tukaani.org>
6798 Date: 2010-01-13 19:10:25 +0200
6800 Don't read compressed data from a terminal or write it
6801 to a terminal even if --force is specified.
6803 It just seems more reasonable this way.
6805 The new behavior matches bzip2. The old one matched gzip.
6807 src/xz/main.c | 20 +++++++++-----------
6808 src/xz/util.c | 8 ++++----
6809 2 files changed, 13 insertions(+), 15 deletions(-)
6811 commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
6812 Author: Lasse Collin <lasse.collin@tukaani.org>
6813 Date: 2010-01-13 18:12:40 +0200
6815 Don't compress or decompress special files unless writing
6816 to stdout even if --force is used.
6818 --force will still enable compression of symlinks, but only
6819 in case they point to a regular file.
6821 The new way simply seems more reasonable. It matches gzip's
6822 behavior while the old one matched bzip2's behavior.
6824 src/xz/file_io.c | 15 ++++++++++-----
6825 1 file changed, 10 insertions(+), 5 deletions(-)
6827 commit cee12aa852ec0902983dc1f153346ef750157fb9
6828 Author: Lasse Collin <lasse.collin@tukaani.org>
6829 Date: 2010-01-12 16:30:33 +0200
6834 1 file changed, 1 insertion(+)
6836 commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
6837 Author: Lasse Collin <lasse.collin@tukaani.org>
6838 Date: 2010-01-12 16:18:14 +0200
6840 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
6842 This is untested but it will get tested soon and, if needed,
6845 Thanks to Stuart Shelton.
6847 m4/tuklib_cpucores.m4 | 11 +++++++++--
6848 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++-
6849 src/common/tuklib_cpucores.c | 6 ++++++
6850 src/common/tuklib_physmem.c | 19 +++++++++++++++++++
6851 4 files changed, 55 insertions(+), 3 deletions(-)
6853 commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
6854 Author: Lasse Collin <lasse.collin@tukaani.org>
6855 Date: 2010-01-01 00:29:10 +0200
6857 Fix _memconfig() functions.
6859 This affects lzma_memusage() and lzma_memlimit_get().
6861 src/liblzma/api/lzma/index.h | 7 -------
6862 src/liblzma/common/alone_decoder.c | 11 +++++++----
6863 src/liblzma/common/index_decoder.c | 10 ++++++----
6864 src/liblzma/common/stream_decoder.c | 11 +++++++----
6865 4 files changed, 20 insertions(+), 19 deletions(-)
6867 commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
6868 Author: Lasse Collin <lasse.collin@tukaani.org>
6869 Date: 2009-12-31 22:45:53 +0200
6871 Revised the Index handling code.
6873 This breaks API and ABI but most apps are not affected
6874 since most apps don't use this part of the API. You will
6875 get a compile error if you are using anything that got
6880 - Ability to store Stream Flags, which are needed
6881 for random-access reading in multi-Stream files.
6883 - Separate function to set size of Stream Padding.
6885 - Iterator structure makes it possible to read the same
6886 lzma_index from multiple threads at the same time.
6888 - A lot faster code to locate Blocks.
6890 - Removed lzma_index_equal() without adding anything
6891 to replace it. I don't know what it should do exactly
6892 with the new features and what actually needs this
6893 function in the first place other than test_index.c,
6894 which now has its own code to compare lzma_indexes.
6896 src/liblzma/api/lzma/index.h | 572 +++++++---
6897 src/liblzma/common/index.c | 1553 ++++++++++++++++++----------
6898 src/liblzma/common/index.h | 6 +
6899 src/liblzma/common/index_decoder.c | 12 +-
6900 src/liblzma/common/index_encoder.c | 36 +-
6901 src/liblzma/common/index_encoder.h | 2 +-
6902 src/liblzma/common/stream_buffer_encoder.c | 6 +-
6903 src/liblzma/common/stream_encoder.c | 3 +-
6904 tests/test_index.c | 371 ++++---
6905 9 files changed, 1703 insertions(+), 858 deletions(-)
6907 commit f29997a846e673cb3b8cbd57de47ed313b3978bb
6908 Author: Lasse Collin <lasse.collin@tukaani.org>
6909 Date: 2009-12-31 21:13:25 +0200
6911 Remove c-format tag in cs.po.
6913 It was fixed in the C code earlier.
6916 1 file changed, 1 deletion(-)
6918 commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
6919 Author: Lasse Collin <lasse.collin@tukaani.org>
6920 Date: 2009-12-31 21:11:05 +0200
6922 Add missing lzma_nothrow in filter.h.
6924 src/liblzma/api/lzma/filter.h | 4 ++--
6925 1 file changed, 2 insertions(+), 2 deletions(-)
6927 commit b56cb1fc31fa2381f92eefc040df85667048d626
6928 Author: Lasse Collin <lasse.collin@tukaani.org>
6929 Date: 2009-12-09 18:13:44 +0200
6931 Remove redefinition of _(msgid) macro from lzmainfo.c.
6933 src/lzmainfo/lzmainfo.c | 7 -------
6934 1 file changed, 7 deletions(-)
6936 commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
6937 Author: Jonathan Nieder <jrnieder@gmail.com>
6938 Date: 2009-12-08 19:41:57 -0600
6940 update po/.gitignore
6942 Since the *.gmo files are deleted by the maintainer-clean target,
6943 I assume they are not meant to be tracked.
6945 Also add the other files listed in the Makefile’s clean targets
6946 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
6947 are not accidentally tracked. Most of these are intermediate
6948 files that would not appear unless a build is interrupted or
6951 Split the list of untracked files by origin to make it easier to
6952 tell if files are missing in the future.
6954 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
6956 po/.gitignore | 28 ++++++++++++++++++++++------
6957 1 file changed, 22 insertions(+), 6 deletions(-)
6959 commit f7e44c6c11f630519072971b8b07a5729c096c36
6960 Author: Lasse Collin <lasse.collin@tukaani.org>
6961 Date: 2009-12-09 00:38:55 +0200
6963 Always rely on GCC's auto-import on Windows.
6965 I understood that this is nicer, because then people
6966 don't need to worry about the LZMA_API_STATIC macro.
6968 Thanks to Charles Wilson and Keith Marshall.
6970 src/liblzma/api/lzma.h | 16 +++++++++-------
6971 1 file changed, 9 insertions(+), 7 deletions(-)
6973 commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
6974 Author: Lasse Collin <lasse.collin@tukaani.org>
6975 Date: 2009-12-07 21:46:53 +0200
6977 Fix file_io.c on DOS-like systems.
6979 The problem was introduced when adding sparse file
6980 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
6982 Thanks to Charles Wilson.
6984 src/xz/file_io.c | 4 ++++
6985 1 file changed, 4 insertions(+)
6987 commit 0696f5d268362221380e039bad48a86e29067c6a
6988 Author: Lasse Collin <lasse.collin@tukaani.org>
6989 Date: 2009-12-07 20:54:21 +0200
6991 Add Czech translation.
6993 Thanks to Marek Černocký.
6995 Other people planning to translate xz: Note that the
6996 messages are a little bit in flux still. Translations
6997 are still welcome, just be prepared to some extra work
6998 in case there are changes.
7002 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7003 3 files changed, 639 insertions(+)
7005 commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
7006 Author: Lasse Collin <lasse.collin@tukaani.org>
7007 Date: 2009-12-07 20:32:08 +0200
7009 Add a note for translators to add a bug reporting address
7010 for translation bugs.
7012 src/xz/message.c | 4 ++++
7013 1 file changed, 4 insertions(+)
7015 commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
7016 Author: Lasse Collin <lasse.collin@tukaani.org>
7017 Date: 2009-12-07 20:07:02 +0200
7019 Prevent xgettext from taking one regular string as a C format string.
7021 Thanks to Marek Černocký.
7023 src/xz/message.c | 2 +-
7024 1 file changed, 1 insertion(+), 1 deletion(-)
7026 commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
7027 Author: Lasse Collin <lasse.collin@tukaani.org>
7028 Date: 2009-11-28 17:45:22 +0200
7030 Remove duplicate code in io_open_dest().
7032 Fix a missing _() in the error message too.
7034 src/xz/file_io.c | 9 +--------
7035 1 file changed, 1 insertion(+), 8 deletions(-)
7037 commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
7038 Author: Lasse Collin <lasse.collin@tukaani.org>
7039 Date: 2009-11-26 10:11:23 +0200
7041 Typo fix to sysdefs.h.
7043 Thanks to Jonathan Nieder.
7045 src/common/sysdefs.h | 2 +-
7046 1 file changed, 1 insertion(+), 1 deletion(-)
7048 commit 8767b41534eafdf5e742e12190646bf5740b0cdb
7049 Author: Lasse Collin <lasse.collin@tukaani.org>
7050 Date: 2009-11-26 10:10:36 +0200
7052 Fix a memory leak in test_index.c.
7054 This was introduced in
7055 bd13b04e202b6f495a68eb0766f97085b7c50a06.
7057 Thanks to Jim Meyering for noticing it.
7059 tests/test_index.c | 2 ++
7060 1 file changed, 2 insertions(+)
7062 commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
7063 Author: Lasse Collin <lasse.collin@tukaani.org>
7064 Date: 2009-11-25 14:22:19 +0200
7066 Add missing error check to coder.c.
7068 With bad luck this could cause a segfault due to
7069 reading (but not writing) past the end of the buffer.
7071 src/xz/coder.c | 20 +++++++++++---------
7072 1 file changed, 11 insertions(+), 9 deletions(-)
7074 commit bd13b04e202b6f495a68eb0766f97085b7c50a06
7075 Author: Lasse Collin <lasse.collin@tukaani.org>
7076 Date: 2009-11-25 13:04:10 +0200
7078 Fix bugs in lzma_index_read() and lzma_index_cat().
7080 lzma_index_read() didn't skip over Stream Padding
7081 if it was the first record in the Index.
7083 lzma_index_cat() didn't combine small Indexes correctly.
7085 The test suite was updated to check for these bugs.
7087 These bugs didn't affect the xz command line tool or
7088 most users of liblzma in any way.
7090 src/liblzma/common/index.c | 30 +++++++++++++++++++-----------
7091 tests/test_index.c | 28 +++++++++++++++++++++++++---
7092 2 files changed, 44 insertions(+), 14 deletions(-)
7094 commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
7095 Author: Lasse Collin <lasse.collin@tukaani.org>
7096 Date: 2009-11-25 12:52:56 +0200
7098 Index decoder fixes.
7100 The Index decoder code didn't perfectly match the API docs,
7101 which said that *i will be set to point to the decoded Index
7102 only after decoding has succeeded. The docs were a bit unclear
7105 Now the decoder will initially set *i to NULL. *i will be set
7106 to point to the decoded Index once decoding has succeeded.
7107 This simplifies applications too, since it avoids dangling
7110 src/liblzma/api/lzma/index.h | 23 ++++++++++++-----------
7111 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------
7112 2 files changed, 32 insertions(+), 17 deletions(-)
7114 commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
7115 Author: Lasse Collin <lasse.collin@tukaani.org>
7116 Date: 2009-11-25 11:19:20 +0200
7118 Create sparse files by default when decompressing into
7121 Sparse file creation can be disabled with --no-sparse.
7122 I don't promise yet that the name of this option won't
7123 change before 5.0.0. It's possible that the code, that
7124 checks when it is safe to use sparse output on stdout,
7125 is not good enough, and a more flexible command line
7126 option is needed to configure sparse file handling.
7128 src/xz/args.c | 6 ++
7129 src/xz/coder.c | 33 ++++----
7130 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++--------
7131 src/xz/file_io.h | 34 ++++++--
7132 src/xz/message.c | 1 +
7133 src/xz/xz.1 | 11 +++
7134 6 files changed, 272 insertions(+), 56 deletions(-)
7136 commit 37de544414fc2dc5039471d1002ebd015eb3e627
7137 Author: Lasse Collin <lasse.collin@tukaani.org>
7138 Date: 2009-11-22 12:43:06 +0200
7143 1 file changed, 1 insertion(+)
7145 commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
7146 Author: Lasse Collin <lasse.collin@tukaani.org>
7147 Date: 2009-11-22 12:05:33 +0200
7149 Add missing consts to pointer casts.
7151 src/liblzma/check/crc32_fast.c | 4 ++--
7152 src/liblzma/check/crc64_fast.c | 5 +++--
7153 2 files changed, 5 insertions(+), 4 deletions(-)
7155 commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
7156 Author: Lasse Collin <lasse.collin@tukaani.org>
7157 Date: 2009-11-22 12:00:30 +0200
7159 Enable assembler code only if it is known to work
7160 on that operating system.
7162 I'm too lazy to think how to make a good Autoconf test
7163 for this and it's not that important anyway.
7165 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
7166 Inline assembler (if any) is used if a macro like
7167 __i386__ or __x86_64__ is defined.
7169 configure.ac | 26 ++++++++++++--------------
7170 1 file changed, 12 insertions(+), 14 deletions(-)
7172 commit 0733f4c9994db696420a405810d5f02c79ebc404
7173 Author: Lasse Collin <lasse.collin@tukaani.org>
7174 Date: 2009-11-22 11:55:03 +0200
7176 Make fastpos.h use tuklib_integer.h instead of bsr.h
7177 when --enable-small has been specified.
7179 src/liblzma/common/Makefile.inc | 1 -
7180 src/liblzma/common/bsr.h | 60 -----------------------------------------
7181 src/liblzma/lzma/fastpos.h | 5 +---
7182 3 files changed, 1 insertion(+), 65 deletions(-)
7184 commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
7185 Author: Lasse Collin <lasse.collin@tukaani.org>
7186 Date: 2009-11-22 11:52:30 +0200
7188 Update tuklib_integer.h with bit scan functions.
7190 Thanks to Joachim Henke for the original patch.
7192 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++--
7193 1 file changed, 181 insertions(+), 8 deletions(-)
7195 commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
7196 Author: Lasse Collin <lasse.collin@tukaani.org>
7197 Date: 2009-11-20 12:51:19 +0200
7199 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
7200 which now use AC_CACHE_CHECK. Using the cache variable,
7201 configure now warns if there is no method to detect the amount
7202 of RAM and recommends using --enable-assume-ram.
7204 configure.ac | 16 ++++++++++++++++
7205 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++-------------
7206 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++-----------------------
7207 3 files changed, 61 insertions(+), 36 deletions(-)
7209 commit d315ca4930ff96e1428c6021c96f209e1abdd83e
7210 Author: Lasse Collin <lasse.collin@tukaani.org>
7211 Date: 2009-11-16 18:16:45 +0200
7213 Add support for --info-memory and --robot to xz.
7215 Currently --robot works only with --info-memory and
7216 --version. --help and --long-help work too, but --robot
7217 has no effect on them.
7219 Thanks to Jonathan Nieder for the original patches.
7221 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++-----------------------
7223 src/xz/main.c | 11 +++++---
7224 src/xz/message.c | 47 +++++++++++++++++++++++--------
7225 src/xz/message.h | 4 +++
7226 src/xz/xz.1 | 40 +++++++++++++++++++++++---
7227 6 files changed, 133 insertions(+), 55 deletions(-)
7229 commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
7230 Author: Lasse Collin <lasse.collin@tukaani.org>
7231 Date: 2009-11-15 12:54:45 +0200
7233 Fix wrong indentation caused by incorrect settings
7236 src/liblzma/lz/lz_decoder.c | 18 +++++++++---------
7237 src/liblzma/lzma/lzma2_encoder.c | 6 +++---
7238 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
7239 3 files changed, 13 insertions(+), 13 deletions(-)
7241 commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
7242 Author: Lasse Collin <lasse.collin@tukaani.org>
7243 Date: 2009-11-15 12:40:17 +0200
7247 I had hoped to keep liblzma as purely a compression
7248 library as possible (e.g. file I/O will go into
7249 a different library), but it seems that applications
7250 linking agaisnt liblzma need some way to determine
7251 the memory usage limit, and knowing the amount of RAM
7252 is one reasonable way to help making such decisions.
7254 Thanks to Jonathan Nieder for the original patch.
7256 src/liblzma/Makefile.am | 5 ++--
7257 src/liblzma/api/Makefile.am | 1 +
7258 src/liblzma/api/lzma.h | 3 +++
7259 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++
7260 src/liblzma/common/Makefile.inc | 1 +
7261 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++
7262 src/xz/Makefile.am | 1 -
7263 src/xz/hardware.c | 3 +--
7264 src/xzdec/Makefile.am | 6 ++---
7265 src/xzdec/xzdec.c | 3 +--
7266 10 files changed, 88 insertions(+), 11 deletions(-)
7268 commit cf39faca59083d38422058c6c97aa757ea7797d0
7269 Author: Lasse Collin <lasse.collin@tukaani.org>
7270 Date: 2009-11-14 20:21:19 +0200
7275 1 file changed, 1 insertion(+)
7277 commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
7278 Author: Lasse Collin <lasse.collin@tukaani.org>
7279 Date: 2009-11-14 20:20:03 +0200
7281 Some updates to xz man page.
7283 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
7284 1 file changed, 49 insertions(+), 5 deletions(-)
7286 commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
7287 Author: Lasse Collin <lasse.collin@tukaani.org>
7288 Date: 2009-11-14 19:51:03 +0200
7290 Fix description of --memory in --long-help.
7292 src/xz/message.c | 3 +--
7293 1 file changed, 1 insertion(+), 2 deletions(-)
7295 commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
7296 Author: Lasse Collin <lasse.collin@tukaani.org>
7297 Date: 2009-11-14 19:45:39 +0200
7299 Update the debug programs so that they compile again.
7302 debug/memusage.c | 6 ++++--
7303 debug/sync_flush.c | 14 +++++++++-----
7304 3 files changed, 14 insertions(+), 7 deletions(-)
7306 commit 418d64a32e8144210f98a810738fed5a897e8367
7307 Author: Lasse Collin <lasse.collin@tukaani.org>
7308 Date: 2009-11-14 18:59:19 +0200
7310 Fix a design error in liblzma API.
7312 Originally the idea was that using LZMA_FULL_FLUSH
7313 with Stream encoder would read the filter chain
7314 from the same array that was used to intialize the
7315 Stream encoder. Since most apps wouldn't use
7316 LZMA_FULL_FLUSH, most apps wouldn't need to keep
7317 the filter chain available after initializing the
7318 Stream encoder. However, due to my mistake, it
7319 actually required keeping the array always available.
7321 Since setting the new filter chain via the array
7322 used at initialization time is not a nice way to do
7323 it for a couple of reasons, this commit ditches it
7324 and introduces lzma_filters_update(). This new function
7325 replaces also the "persistent" flag used by LZMA2
7326 (and to-be-designed Subblock filter), which was also
7327 an ugly thing to do.
7329 Thanks to Alexey Tourbin for reminding me about the problem
7330 that Stream encoder used to require keeping the filter
7333 src/liblzma/api/lzma/filter.h | 30 +++++++++++++
7334 src/liblzma/api/lzma/lzma.h | 13 ------
7335 src/liblzma/common/block_encoder.c | 14 ++++++
7336 src/liblzma/common/common.c | 20 ++++++++-
7337 src/liblzma/common/common.h | 22 ++++++++++
7338 src/liblzma/common/easy_encoder.c | 63 ++-------------------------
7339 src/liblzma/common/filter_common.c | 3 ++
7340 src/liblzma/common/filter_encoder.c | 27 ++++++++++++
7341 src/liblzma/common/filter_encoder.h | 2 +-
7342 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++-----
7343 src/liblzma/delta/delta_common.c | 5 +--
7344 src/liblzma/delta/delta_decoder.c | 3 +-
7345 src/liblzma/delta/delta_encoder.c | 17 +++++++-
7346 src/liblzma/delta/delta_private.h | 2 +-
7347 src/liblzma/lz/lz_encoder.c | 17 ++++++++
7348 src/liblzma/lz/lz_encoder.h | 4 ++
7349 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++-----------
7350 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
7351 src/liblzma/simple/simple_coder.c | 12 ++++++
7352 src/xz/options.c | 1 -
7353 20 files changed, 273 insertions(+), 118 deletions(-)
7355 commit f0bf7634b77263a4dd02b20c71861ab67995da68
7356 Author: Lasse Collin <lasse.collin@tukaani.org>
7357 Date: 2009-10-17 11:11:58 +0300
7359 Fix wrong function name in the previous commit.
7361 It was meant to be lzma_filters_copy(), not lzma_filters_dup().
7363 src/liblzma/api/lzma/filter.h | 2 +-
7364 src/liblzma/common/filter_common.c | 2 +-
7365 2 files changed, 2 insertions(+), 2 deletions(-)
7367 commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
7368 Author: Lasse Collin <lasse.collin@tukaani.org>
7369 Date: 2009-10-17 01:47:07 +0300
7371 Add lzma_filters_copy().
7373 This will be needed internally by liblzma once I fix
7374 a design mistake in the encoder API. This function may
7375 be useful to applications too so it's good to export it.
7377 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++
7378 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++
7379 2 files changed, 113 insertions(+)
7381 commit 78e92c18470483e161388e679c1ee556adb3a691
7382 Author: Jonathan Nieder <jrnieder@gmail.com>
7383 Date: 2009-10-15 20:44:13 -0500
7385 Escape dashes in xzmore.1
7387 A minus sign is larger, easier to see in a printout, and more
7388 likely to use the same glyph as ASCII hyphen-minus in a terminal
7389 than a hyphen. Since broken manual pagers do not find hyphens
7390 when the user searches for a hyphen-minus, minus signs are also
7391 easier to search for. So use minus signs instead of hyphens to
7392 render sample terminal output.
7394 src/scripts/xzmore.1 | 4 ++--
7395 1 file changed, 2 insertions(+), 2 deletions(-)
7397 commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
7398 Author: Lasse Collin <lasse.collin@tukaani.org>
7399 Date: 2009-10-16 20:35:39 +0300
7401 Mention --check=none in --long-help. It was already in
7402 the man page though.
7404 Thanks to Jim Meyering for noticing this.
7406 src/xz/message.c | 2 +-
7407 1 file changed, 1 insertion(+), 1 deletion(-)
7409 commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
7410 Author: Lasse Collin <lasse.collin@tukaani.org>
7411 Date: 2009-10-04 22:57:12 +0300
7413 Use a tuklib module for integer handling.
7415 This replaces bswap.h and integer.h.
7417 The tuklib module uses <byteswap.h> on GNU,
7418 <sys/endian.h> on *BSDs and <sys/byteorder.h>
7419 on Solaris, which may contain optimized code
7420 like inline assembly.
7422 configure.ac | 54 +----
7423 m4/tuklib_integer.m4 | 74 +++++++
7424 src/common/bswap.h | 52 -----
7425 src/common/integer.h | 170 ---------------
7426 src/common/tuklib_config.h | 8 +-
7427 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++
7428 src/liblzma/check/check.c | 4 +-
7429 src/liblzma/check/crc32_fast.c | 4 +-
7430 src/liblzma/check/crc32_tablegen.c | 8 +-
7431 src/liblzma/check/crc64_fast.c | 4 +-
7432 src/liblzma/check/crc64_tablegen.c | 8 +-
7433 src/liblzma/check/crc_macros.h | 2 -
7434 src/liblzma/check/sha256.c | 18 +-
7435 src/liblzma/common/alone_encoder.c | 2 +-
7436 src/liblzma/common/block_header_decoder.c | 2 +-
7437 src/liblzma/common/block_header_encoder.c | 2 +-
7438 src/liblzma/common/common.h | 2 +-
7439 src/liblzma/common/stream_flags_decoder.c | 6 +-
7440 src/liblzma/common/stream_flags_encoder.c | 6 +-
7441 src/liblzma/lz/lz_encoder_hash.h | 2 +-
7442 src/liblzma/lzma/lzma_decoder.c | 2 +-
7443 src/liblzma/lzma/lzma_encoder.c | 2 +-
7444 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
7445 src/liblzma/simple/simple_decoder.c | 2 +-
7446 src/liblzma/simple/simple_encoder.c | 2 +-
7447 tests/test_block_header.c | 4 +-
7448 tests/test_stream_flags.c | 6 +-
7449 tests/tests.h | 2 +-
7450 28 files changed, 467 insertions(+), 333 deletions(-)
7452 commit 29fd321033276261b87da7be5223db33d879a4c7
7453 Author: Lasse Collin <lasse.collin@tukaani.org>
7454 Date: 2009-10-02 14:35:56 +0300
7456 Add support for --enable-assume-ram=SIZE.
7458 INSTALL | 16 ++++++++++++++++
7459 configure.ac | 24 ++++++++++++++++++++++++
7460 src/xz/hardware.c | 7 +++----
7461 src/xzdec/xzdec.c | 5 +++--
7462 4 files changed, 46 insertions(+), 6 deletions(-)
7464 commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
7465 Author: Lasse Collin <lasse.collin@tukaani.org>
7466 Date: 2009-10-02 11:28:17 +0300
7468 Use unaligned access (if possible) on both endiannesses
7469 in lz_encoder_hash.h.
7471 src/liblzma/lz/lz_encoder_hash.h | 4 ++--
7472 1 file changed, 2 insertions(+), 2 deletions(-)
7474 commit c5f68b5cc79085a87f950fea53843e27f328068e
7475 Author: Lasse Collin <lasse.collin@tukaani.org>
7476 Date: 2009-10-02 11:03:26 +0300
7478 Make liblzma produce the same output on both endiannesses.
7480 Seems that it is a problem in some cases if the same
7481 version of XZ Utils produces different output on different
7482 endiannesses, so this commit fixes that problem. The output
7483 will still vary between different XZ Utils versions, but I
7484 cannot avoid that for now.
7486 This commit bloatens the code on big endian systems by 1 KiB,
7487 which should be OK since liblzma is bloated already. ;-)
7489 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++
7490 src/liblzma/lz/Makefile.inc | 1 +
7491 src/liblzma/lz/lz_encoder.c | 7 +++-
7492 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------
7493 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++
7494 src/liblzma/lz/lz_encoder_mf.c | 1 -
7495 6 files changed, 128 insertions(+), 14 deletions(-)
7497 commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
7498 Author: Mike Frysinger <vapier@gentoo.org>
7499 Date: 2009-09-26 12:51:50 -0400
7501 add lzmainfo to gitignore
7503 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
7506 1 file changed, 2 insertions(+)
7508 commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
7509 Author: Lasse Collin <lasse.collin@tukaani.org>
7510 Date: 2009-09-27 11:53:36 +0300
7515 1 file changed, 1 insertion(+)
7517 commit db9119b9181b307e7ac5d2bae82444d04b902b59
7518 Author: Lasse Collin <lasse.collin@tukaani.org>
7519 Date: 2009-09-27 11:48:54 +0300
7521 Work around a bug in Interix header files.
7523 Thanks to Markus Duft for the patch.
7525 src/common/sysdefs.h | 6 ++++++
7526 1 file changed, 6 insertions(+)
7528 commit b3d105e69786a45963176fd2193abe75e05ba738
7529 Author: Lasse Collin <lasse.collin@tukaani.org>
7530 Date: 2009-09-24 17:50:17 +0300
7532 Fix an error in OpenVMS-specific code.
7534 Thanks to Jouk Jansen.
7536 src/xz/file_io.c | 2 +-
7537 1 file changed, 1 insertion(+), 1 deletion(-)
7539 commit 5e000ff00d4d01e559397b49eb648ad3f159d496
7540 Author: Lasse Collin <lasse.collin@tukaani.org>
7541 Date: 2009-09-22 18:59:56 +0300
7543 Added OpenVMS-specific information to INSTALL.
7545 INSTALL | 11 +++++++++++
7546 1 file changed, 11 insertions(+)
7548 commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
7549 Author: Lasse Collin <lasse.collin@tukaani.org>
7550 Date: 2009-09-22 14:03:02 +0300
7552 Better fixes for OpenVMS support.
7554 Thanks to Jouk Jansen.
7556 src/xz/file_io.c | 19 ++++++++++++++++---
7557 1 file changed, 16 insertions(+), 3 deletions(-)
7559 commit 4c3630ec4179fe9265407a35c4db1374ffc82372
7560 Author: Lasse Collin <lasse.collin@tukaani.org>
7561 Date: 2009-09-22 13:40:19 +0300
7563 Avoid non-standard preprocessor construct.
7565 Thanks to Jouk Jansen.
7567 src/common/tuklib_common.h | 11 +++++++----
7568 1 file changed, 7 insertions(+), 4 deletions(-)
7570 commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
7571 Author: Lasse Collin <lasse.collin@tukaani.org>
7572 Date: 2009-09-21 19:50:09 +0300
7574 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
7576 Thanks to Charles Wilson.
7578 src/common/tuklib_common.h | 3 ++-
7579 1 file changed, 2 insertions(+), 1 deletion(-)
7581 commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
7582 Author: Lasse Collin <lasse.collin@tukaani.org>
7583 Date: 2009-09-19 09:47:30 +0300
7587 Separate a few reusable components from XZ Utils specific
7588 code. The reusable code is now in "tuklib" modules. A few
7589 more could be separated still, e.g. bswap.h.
7591 Fix some bugs in lzmainfo.
7593 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
7596 Add OpenVMS support into physmem. Add a few #ifdefs to ease
7597 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
7601 configure.ac | 12 ++--
7602 m4/lc_cpucores.m4 | 57 ----------------
7603 m4/lc_physmem.m4 | 84 -----------------------
7604 m4/tuklib_common.m4 | 22 ++++++
7605 m4/tuklib_cpucores.m4 | 72 ++++++++++++++++++++
7606 m4/tuklib_physmem.m4 | 119 ++++++++++++++++++++++++++++++++
7607 m4/tuklib_progname.m4 | 25 +++++++
7608 src/common/cpucores.h | 51 --------------
7609 src/common/open_stdxxx.h | 49 --------------
7610 src/common/physmem.h | 144 ---------------------------------------
7611 src/common/sysdefs.h | 4 --
7612 src/common/tuklib_common.h | 67 ++++++++++++++++++
7613 src/common/tuklib_config.h | 1 +
7614 src/common/tuklib_cpucores.c | 46 +++++++++++++
7615 src/common/tuklib_cpucores.h | 23 +++++++
7616 src/common/tuklib_exit.c | 57 ++++++++++++++++
7617 src/common/tuklib_exit.h | 25 +++++++
7618 src/common/tuklib_gettext.h | 44 ++++++++++++
7619 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++
7620 src/common/tuklib_open_stdxxx.h | 23 +++++++
7621 src/common/tuklib_physmem.c | 146 ++++++++++++++++++++++++++++++++++++++++
7622 src/common/tuklib_physmem.h | 28 ++++++++
7623 src/common/tuklib_progname.c | 50 ++++++++++++++
7624 src/common/tuklib_progname.h | 32 +++++++++
7625 src/lzmainfo/Makefile.am | 5 +-
7626 src/lzmainfo/lzmainfo.c | 65 ++++++------------
7627 src/xz/Makefile.am | 7 +-
7628 src/xz/args.c | 8 +--
7629 src/xz/file_io.c | 43 ++++++------
7630 src/xz/hardware.c | 8 +--
7631 src/xz/main.c | 100 ++++++---------------------
7632 src/xz/main.h | 7 --
7633 src/xz/message.c | 30 +++++----
7634 src/xz/message.h | 8 +--
7635 src/xz/private.h | 11 +--
7636 src/xz/signals.c | 2 +
7637 src/xz/signals.h | 17 +++--
7638 src/xz/suffix.c | 2 +-
7639 src/xzdec/Makefile.am | 13 +++-
7640 src/xzdec/xzdec.c | 55 +++++----------
7641 41 files changed, 974 insertions(+), 640 deletions(-)
7643 commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
7644 Author: Lasse Collin <lasse.collin@tukaani.org>
7645 Date: 2009-09-15 21:07:23 +0300
7647 Fix incorrect use of "restrict".
7649 src/liblzma/api/lzma/vli.h | 4 ++--
7650 src/liblzma/common/vli_decoder.c | 2 +-
7651 src/liblzma/common/vli_encoder.c | 2 +-
7652 3 files changed, 4 insertions(+), 4 deletions(-)
7654 commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
7655 Author: Lasse Collin <lasse.collin@tukaani.org>
7656 Date: 2009-09-12 14:09:17 +0300
7658 Fix GCC version check for nothrow attribute.
7660 src/liblzma/api/lzma.h | 2 +-
7661 1 file changed, 1 insertion(+), 1 deletion(-)
7663 commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
7664 Author: Lasse Collin <lasse.collin@tukaani.org>
7665 Date: 2009-09-12 14:08:15 +0300
7670 1 file changed, 1 insertion(+)
7672 commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
7673 Author: Lasse Collin <lasse.collin@tukaani.org>
7674 Date: 2009-09-12 14:07:36 +0300
7676 A few grammar fixes.
7678 Thanks to Christian Weisgerber for pointing out some of these.
7680 src/liblzma/api/lzma.h | 4 ++--
7681 src/liblzma/api/lzma/vli.h | 4 ++--
7682 src/liblzma/common/block_header_encoder.c | 2 +-
7683 src/liblzma/common/filter_common.c | 2 +-
7684 src/liblzma/lz/lz_encoder.h | 10 +++++-----
7685 src/xz/message.c | 22 +++++++++++-----------
7686 src/xzdec/xzdec.c | 2 +-
7687 7 files changed, 23 insertions(+), 23 deletions(-)
7689 commit 8905a33daadcd2d6557c83c81c490b827d566c94
7690 Author: Lasse Collin <lasse.collin@tukaani.org>
7691 Date: 2009-09-11 17:08:15 +0300
7696 1 file changed, 1 insertion(+)
7698 commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
7699 Author: Lasse Collin <lasse.collin@tukaani.org>
7700 Date: 2009-09-11 17:06:32 +0300
7702 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
7704 dos/config.h | 3 +++
7705 windows/config.h | 3 +++
7706 2 files changed, 6 insertions(+)
7708 commit 221be761f467da76875247bc02d7a1716682075d
7709 Author: Lasse Collin <lasse.collin@tukaani.org>
7710 Date: 2009-09-11 10:24:09 +0300
7712 Use $(LN_EXEEXT) in symlinks to executables.
7714 This fixes "make install" on operating systems using
7715 a suffix for executables.
7717 Cygwin is treated specially. The symlink names won't have
7718 .exe suffix even though the executables themselves have.
7719 Thanks to Charles Wilson.
7721 configure.ac | 9 +++++++++
7722 src/xz/Makefile.am | 4 ++--
7723 2 files changed, 11 insertions(+), 2 deletions(-)
7725 commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
7726 Author: Lasse Collin <lasse.collin@tukaani.org>
7727 Date: 2009-09-11 09:25:09 +0300
7729 Fix a couple of warnings.
7731 src/liblzma/common/stream_decoder.c | 2 +-
7732 src/liblzma/lz/lz_encoder.c | 5 +----
7733 src/liblzma/lzma/lzma_encoder.c | 2 +-
7734 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++----
7735 tests/tests.h | 2 +-
7736 5 files changed, 8 insertions(+), 11 deletions(-)
7738 commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
7739 Author: Lasse Collin <lasse.collin@tukaani.org>
7740 Date: 2009-09-05 18:39:21 +0300
7742 Add OS/2-specific code to physmem.h.
7744 Also move DJGPP-specific code near the code meant
7745 for other DOS-like systems.
7747 src/common/physmem.h | 32 +++++++++++++++++++++-----------
7748 1 file changed, 21 insertions(+), 11 deletions(-)
7750 commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
7751 Author: Lasse Collin <lasse.collin@tukaani.org>
7752 Date: 2009-09-05 01:21:15 +0300
7757 1 file changed, 2 insertions(+)
7759 commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
7760 Author: Lasse Collin <lasse.collin@tukaani.org>
7761 Date: 2009-09-05 01:20:29 +0300
7763 Use sysctl() != -1 instead of !sysctl() to check if
7764 the function call succeeded.
7766 NetBSD 4.0 returns positive values on success, but
7767 NetBSD Current and FreeBSD return zero. OpenBSD's
7768 man page doesn't tell what sysctl() returns on
7769 success. All these BSDs return -1 on error.
7771 Thanks to Robert Elz and Thomas Klausner.
7773 src/common/cpucores.h | 2 +-
7774 src/common/physmem.h | 2 +-
7775 2 files changed, 2 insertions(+), 2 deletions(-)
7777 commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
7778 Author: Lasse Collin <lasse.collin@tukaani.org>
7779 Date: 2009-09-02 09:43:51 +0300
7781 Mention in INSTALL that --enable-small doesn't modify CFLAGS.
7784 1 file changed, 4 insertions(+)
7786 commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
7787 Author: Lasse Collin <lasse.collin@tukaani.org>
7788 Date: 2009-09-01 20:40:01 +0300
7790 Refactored option parsing.
7792 src/xz/options.c | 70 ++++++++++++++++++++++++++++----------------------------
7793 1 file changed, 35 insertions(+), 35 deletions(-)
7795 commit 25adaaa56e2e51a47a910a8d73452414619a2e53
7796 Author: Lasse Collin <lasse.collin@tukaani.org>
7797 Date: 2009-09-01 20:23:30 +0300
7799 Fix options parsing bug in xz.
7801 xz used to reject "xz --lzma2=pb=2," while
7802 "xz --lzma2=pb=2,," worked. Now both work.
7804 src/xz/options.c | 6 ++----
7805 1 file changed, 2 insertions(+), 4 deletions(-)
7807 commit 5f6dddc6c911df02ba660564e78e6de80947c947
7808 Author: Lasse Collin <lasse.collin@tukaani.org>
7809 Date: 2009-09-01 20:20:19 +0300
7814 1 file changed, 3 insertions(+)
7816 commit 655457b9ada5ec7db398c5392e41290f3f332ea8
7817 Author: Lasse Collin <lasse.collin@tukaani.org>
7818 Date: 2009-08-31 21:59:25 +0300
7820 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
7821 and use a fix that works on all systems using
7824 Maybe the assembler code is used e.g. on Solaris x86
7825 but let's worry about it if this doesn't work on it.
7827 src/liblzma/check/crc32_x86.S | 7 ++-----
7828 src/liblzma/check/crc64_x86.S | 7 ++-----
7829 2 files changed, 4 insertions(+), 10 deletions(-)
7831 commit 162189c3477953805a28f96d3a75cb9ab9417928
7832 Author: Lasse Collin <lasse.collin@tukaani.org>
7833 Date: 2009-08-30 17:29:19 +0300
7838 1 file changed, 1 insertion(+)
7840 commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
7841 Author: Lasse Collin <lasse.collin@tukaani.org>
7842 Date: 2009-08-30 17:28:52 +0300
7844 Add more OS/2 specific info to INSTALL.
7847 1 file changed, 5 insertions(+)
7849 commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
7850 Author: Lasse Collin <lasse.collin@tukaani.org>
7851 Date: 2009-08-29 14:43:52 +0300
7853 Use even more hackish way to support thousand separators.
7855 Seems that in addition on Windows and DOS, also OpenBSD
7856 lacks support for %'d style printf() format strings.
7857 So far that is the only modern POSIX-like system I know
7858 with this problem, but after this hack, the thousand
7859 separator shouldn't be a problem on any system.
7861 Maybe testing if a format string like %'d produces
7862 reasonable output is invoking undefined behavior on some
7863 systems, but so far all the problematic systems I've tried
7864 just print the raw format string (e.g. %'d prints 'd).
7866 Maybe Autoconf test would have been better, but this
7867 hack works also for cross-compilation, and avoids
7868 recompilation in case the system libc starts to support
7869 the thousand separator.
7871 src/xz/util.c | 36 +++++++++++++++++++++++++-----------
7872 1 file changed, 25 insertions(+), 11 deletions(-)
7874 commit 3432e9c6aab851da1227b63dce645d7f190c04d8
7875 Author: Lasse Collin <lasse.collin@tukaani.org>
7876 Date: 2009-08-29 13:42:56 +0300
7881 1 file changed, 3 insertions(+)
7883 commit 27414daadf5727e8ab942374b5ec1c8990122878
7884 Author: Lasse Collin <lasse.collin@tukaani.org>
7885 Date: 2009-08-29 13:39:21 +0300
7889 This fixes build on *BSDs and Darwin.
7891 Thanks to Jukka Salmi for the patches.
7892 Richard Koch reported the problem too.
7894 m4/lc_cpucores.m4 | 2 +-
7895 m4/lc_physmem.m4 | 2 +-
7896 src/common/cpucores.h | 2 +-
7897 src/common/physmem.h | 2 +-
7898 4 files changed, 4 insertions(+), 4 deletions(-)
7900 commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
7901 Author: Lasse Collin <lasse.collin@tukaani.org>
7902 Date: 2009-08-29 13:35:23 +0300
7904 Fix x86 assembler on GCC 3.
7906 Thanks to Karl Berry.
7908 src/liblzma/check/crc32_x86.S | 7 +++++--
7909 src/liblzma/check/crc64_x86.S | 7 +++++--
7910 2 files changed, 10 insertions(+), 4 deletions(-)
7912 commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
7913 Author: Lasse Collin <lasse.collin@tukaani.org>
7914 Date: 2009-08-27 18:36:59 +0300
7918 Makefile.am | 13 ++++++-------
7919 1 file changed, 6 insertions(+), 7 deletions(-)
7921 commit c8c184db1c95bf70f78256ec6237845a57f342af
7922 Author: Lasse Collin <lasse.collin@tukaani.org>
7923 Date: 2009-08-27 17:08:33 +0300
7925 Update xz man page date.
7928 1 file changed, 1 insertion(+), 1 deletion(-)
7930 commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
7931 Author: Lasse Collin <lasse.collin@tukaani.org>
7932 Date: 2009-08-27 17:00:22 +0300
7934 Fix the debug directory.
7936 6a2eb54092fc625d59921a607ff68cd1a90aa898 and
7937 71f18e8a066a01dda0c8e5508b135ef104e43e4c required
7938 some changes that weren't applied in debug.
7940 debug/Makefile.am | 5 +++--
7941 debug/full_flush.c | 1 +
7942 debug/known_sizes.c | 1 +
7943 debug/memusage.c | 1 +
7944 debug/sync_flush.c | 1 +
7945 5 files changed, 7 insertions(+), 2 deletions(-)
7947 commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
7948 Author: Lasse Collin <lasse.collin@tukaani.org>
7949 Date: 2009-08-27 16:36:40 +0300
7951 Add missing files to EXTRA_DIST.
7953 Makefile.am | 11 +++++++----
7954 1 file changed, 7 insertions(+), 4 deletions(-)
7956 commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
7957 Author: Lasse Collin <lasse.collin@tukaani.org>
7958 Date: 2009-08-27 16:21:22 +0300
7960 Bumped version to 4.999.9beta.
7962 src/liblzma/api/lzma/version.h | 2 +-
7963 1 file changed, 1 insertion(+), 1 deletion(-)
7965 commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
7966 Author: Lasse Collin <lasse.collin@tukaani.org>
7967 Date: 2009-08-27 16:17:47 +0300
7972 1 file changed, 2 insertions(+)
7974 commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
7975 Author: Lasse Collin <lasse.collin@tukaani.org>
7976 Date: 2009-08-27 16:12:52 +0300
7978 .xz file format specification 1.0.4 (probably).
7980 Thanks to Christian von Roques, Peter Lawler,
7981 and Jim Meyering for the fixes.
7983 doc/xz-file-format.txt | 26 +++++++++++++++-----------
7984 1 file changed, 15 insertions(+), 11 deletions(-)
7986 commit 696d7ee3953beaf4f0ed18e78917ccf300431966
7987 Author: Lasse Collin <lasse.collin@tukaani.org>
7988 Date: 2009-08-27 15:43:54 +0300
7990 Require GNU libtool 2.2.
7992 configure.ac | 13 +++----------
7993 1 file changed, 3 insertions(+), 10 deletions(-)
7995 commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
7996 Author: Lasse Collin <lasse.collin@tukaani.org>
7997 Date: 2009-08-27 15:34:45 +0300
7999 Add "dos" to EXTRA_DIST.
8002 1 file changed, 1 insertion(+)
8004 commit 35b29e4424ced5a3ababf132283e519080c7b298
8005 Author: Lasse Collin <lasse.collin@tukaani.org>
8006 Date: 2009-08-27 15:23:27 +0300
8011 1 file changed, 6 insertions(+)
8013 commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
8014 Author: Lasse Collin <lasse.collin@tukaani.org>
8015 Date: 2009-08-27 15:17:00 +0300
8017 Some xz man page improvements.
8019 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
8020 1 file changed, 62 insertions(+), 16 deletions(-)
8022 commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
8023 Author: Lasse Collin <lasse.collin@tukaani.org>
8024 Date: 2009-08-27 10:41:01 +0300
8026 Removed doc/bugs.txt.
8028 doc/bugs.txt | 46 ----------------------------------------------
8029 1 file changed, 46 deletions(-)
8031 commit d88c4072b36d3a76f839185799fb1d91037a1b81
8032 Author: Lasse Collin <lasse.collin@tukaani.org>
8033 Date: 2009-08-27 10:40:25 +0300
8037 It now includes bug reporting instructions/tips.
8039 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
8040 1 file changed, 55 insertions(+), 10 deletions(-)
8042 commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
8043 Author: Lasse Collin <lasse.collin@tukaani.org>
8044 Date: 2009-08-27 10:21:18 +0300
8048 Thanks to Jim Meyering.
8050 (From now on, I try to always remember to put
8051 the relevant thanks to commit messages.)
8054 1 file changed, 1 insertion(+), 1 deletion(-)
8056 commit 3e2ba8b58585743e59251e69ad2783eb08357079
8057 Author: Lasse Collin <lasse.collin@tukaani.org>
8058 Date: 2009-08-27 10:13:46 +0300
8060 Updates to liblzma API headers.
8062 Added lzma_nothrow for every function. It adds
8063 throw() when the header is used in C++ code.
8065 Some lzma_attrs were added or removed.
8067 Lots of comments were improved.
8069 src/liblzma/api/lzma.h | 20 ++++++++
8070 src/liblzma/api/lzma/base.h | 48 +++++++++---------
8071 src/liblzma/api/lzma/block.h | 38 ++++++++-------
8072 src/liblzma/api/lzma/check.h | 22 +++++----
8073 src/liblzma/api/lzma/container.h | 36 ++++++++------
8074 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------
8075 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++---------------
8076 src/liblzma/api/lzma/index_hash.h | 14 ++++--
8077 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++----------------
8078 src/liblzma/api/lzma/stream_flags.h | 12 ++---
8079 src/liblzma/api/lzma/version.h | 10 ++--
8080 src/liblzma/api/lzma/vli.h | 7 +--
8081 12 files changed, 275 insertions(+), 197 deletions(-)
8083 commit 8e8ebc17c535a1f8846718059b48417409c37050
8084 Author: Lasse Collin <lasse.collin@tukaani.org>
8085 Date: 2009-08-18 00:30:09 +0300
8090 1 file changed, 1 insertion(+)
8092 commit b198e770a146e4a41f91a93f0b233713f2515848
8093 Author: Lasse Collin <lasse.collin@tukaani.org>
8094 Date: 2009-08-18 00:26:48 +0300
8098 Some questions worth answering were removed, because I
8099 currently don't have good up to date answers to them.
8101 doc/faq.txt | 239 +++++++++++++++++++-----------------------------------------
8102 1 file changed, 73 insertions(+), 166 deletions(-)
8104 commit fe111a25cd788d31b581996e4533910388a7f0a9
8105 Author: Lasse Collin <lasse.collin@tukaani.org>
8106 Date: 2009-08-17 22:45:50 +0300
8108 Some xz man changes.
8110 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++-------------------------------
8111 1 file changed, 43 insertions(+), 45 deletions(-)
8113 commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
8114 Author: Lasse Collin <lasse.collin@tukaani.org>
8115 Date: 2009-08-16 22:15:42 +0300
8120 1 file changed, 1 insertion(+)
8122 commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
8123 Author: Lasse Collin <lasse.collin@tukaani.org>
8124 Date: 2009-08-16 22:15:13 +0300
8126 Fix data corruption in LZ/LZMA2 encoder.
8128 Thanks to Jonathan Stott for the bug report.
8130 src/liblzma/lz/lz_encoder.h | 2 +-
8131 1 file changed, 1 insertion(+), 1 deletion(-)
8133 commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
8134 Author: Lasse Collin <lasse.collin@tukaani.org>
8135 Date: 2009-08-13 15:15:37 +0300
8137 Updated INSTALL and PACKAGERS to match the changes
8138 made in --enable-dynamic.
8140 INSTALL | 20 ++++++++++++++++----
8141 PACKAGERS | 11 ++++++-----
8142 2 files changed, 22 insertions(+), 9 deletions(-)
8144 commit 8238c4b2402f952c4e492e5b778aa272e57b6705
8145 Author: Lasse Collin <lasse.collin@tukaani.org>
8146 Date: 2009-08-13 15:03:46 +0300
8148 Link lzmainfo against shared liblzma by default.
8150 src/lzmainfo/Makefile.am | 4 ++--
8151 1 file changed, 2 insertions(+), 2 deletions(-)
8153 commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
8154 Author: Lasse Collin <lasse.collin@tukaani.org>
8155 Date: 2009-08-13 15:00:21 +0300
8157 Make --enable-dynamic a tristate option.
8159 Some programs will by default be linked against static
8160 liblzma and some against shared liblzma. --enable-dynamic
8161 now allows overriding the default to both directions
8162 (all dynamic or all static) even when building both
8163 shared and static liblzma.
8165 This is quite messy compared to how simple thing it is supposed
8166 to be. The complexity is mostly due to Windows support.
8168 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++----------------
8169 1 file changed, 57 insertions(+), 20 deletions(-)
8171 commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
8172 Author: Lasse Collin <lasse.collin@tukaani.org>
8173 Date: 2009-08-13 12:56:47 +0300
8175 Fix xz Makefile.am for the man page.
8177 install-exec-hook -> install-data-hook
8179 src/xz/Makefile.am | 2 ++
8180 1 file changed, 2 insertions(+)
8182 commit e51b4e49e800bd84e6d589dca2964d3985e88139
8183 Author: Lasse Collin <lasse.collin@tukaani.org>
8184 Date: 2009-08-13 12:55:45 +0300
8186 Add lzmainfo for backward compatibility with LZMA Utils.
8188 lzmainfo now links against static liblzma. In contrast
8189 to other command line tools in XZ Utils, linking lzmainfo
8190 against static liblzma by default is dumb. This will be
8191 fixed once I have fixed some related issues in configure.ac.
8194 src/Makefile.am | 2 +-
8195 src/lzmainfo/Makefile.am | 29 ++++++
8196 src/lzmainfo/lzmainfo.1 | 55 +++++++++++
8197 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++
8198 5 files changed, 328 insertions(+), 1 deletion(-)
8200 commit a4165d0584376d948c213ec93c6065d24ff6a5e7
8201 Author: Lasse Collin <lasse.collin@tukaani.org>
8202 Date: 2009-08-13 12:42:36 +0300
8204 Sync some error messages from xz to xzdec.
8206 Make xz error message translation usable outside
8207 xz (at least in upcoming lzmainfo).
8209 src/xz/main.c | 4 ++--
8210 src/xzdec/xzdec.c | 6 +++---
8211 2 files changed, 5 insertions(+), 5 deletions(-)
8213 commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
8214 Author: Lasse Collin <lasse.collin@tukaani.org>
8215 Date: 2009-08-13 09:37:21 +0300
8217 Add xz man page to manfiles in toplevel Makefile.am.
8220 1 file changed, 1 insertion(+)
8222 commit 180bdf58ea5bb07941e0a99b304d9aa832198748
8223 Author: Lasse Collin <lasse.collin@tukaani.org>
8224 Date: 2009-08-13 09:37:01 +0300
8226 Fix first line of xz man page.
8229 1 file changed, 1 insertion(+), 1 deletion(-)
8231 commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
8232 Author: Lasse Collin <lasse.collin@tukaani.org>
8233 Date: 2009-08-10 11:22:31 +0300
8235 Added a rough version of the xz man page.
8237 src/xz/Makefile.am | 15 +
8238 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
8239 2 files changed, 1221 insertions(+)
8241 commit e71903fc6101f1c039d702e335b08aad1e1b4100
8242 Author: Jonathan Nieder <jrnieder@gmail.com>
8243 Date: 2009-08-09 13:41:20 -0500
8245 “xzdiff a.xz b.xz” always fails
8247 Attempts to compare two compressed files result in no output and
8250 Instead of going to standard output, ‘diff’ output is being
8251 captured in the xz_status variable along with the exit status from
8252 the decompression commands. Later, when this variable is examined
8253 for nonzero status codes, numerals from dates in the ‘diff’ output
8254 make it appear as though decompression failed.
8256 So let the ‘diff’ output leak to standard output with another file
8257 descriptor. (This trick is used in all similar contexts elsewhere
8258 in xzdiff and in the analogous context in gzip’s zdiff script.)
8260 src/scripts/xzdiff.in | 2 +-
8261 1 file changed, 1 insertion(+), 1 deletion(-)
8263 commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
8264 Author: Jonathan Nieder <jrnieder@gmail.com>
8265 Date: 2009-08-09 13:22:12 -0500
8267 xzless: Support compressed standard input
8269 It can be somewhat confusing that
8271 less < some_file.txt
8275 xzless < some_file.txt.xz
8277 does not. Since version 429, ‘less’ allows a filter specified in
8278 the LESSOPEN environment variable to preprocess its input even if
8279 it comes from standard input, if $LESSOPEN begins with ‘|-’. So
8280 set $LESSOPEN to take advantage of this feature.
8282 Check less’s version at runtime so xzless can continue to work
8283 with older versions.
8285 src/scripts/xzless.in | 8 +++++++-
8286 1 file changed, 7 insertions(+), 1 deletion(-)
8288 commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
8289 Author: Lasse Collin <lasse.collin@tukaani.org>
8290 Date: 2009-08-09 20:57:46 +0300
8292 GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
8295 1 file changed, 1 insertion(+), 1 deletion(-)
8297 commit b735cde20cc14857136ae65a0e5d336ed7ddc862
8298 Author: Lasse Collin <lasse.collin@tukaani.org>
8299 Date: 2009-08-02 00:27:29 +0300
8301 Added a copyright notice to Doxyfile.in since it contains
8302 lots of comments from Doxygen.
8304 It seems that the Doxygen authors' intent is to not apply
8305 their copyright on generated files, but since it doesn't
8306 matter for XZ Utils at all, better safe than sorry.
8309 1 file changed, 3 insertions(+)
8311 commit 0fd157cc008446adfc8f91394f5503868025a642
8312 Author: Lasse Collin <lasse.collin@tukaani.org>
8313 Date: 2009-08-02 00:11:37 +0300
8318 1 file changed, 1 insertion(+)
8320 commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
8321 Author: Lasse Collin <lasse.collin@tukaani.org>
8322 Date: 2009-08-02 00:10:22 +0300
8327 1 file changed, 4 insertions(+)
8329 commit 669413bb2db954bbfde3c4542fddbbab53891eb4
8330 Author: Lasse Collin <lasse.collin@tukaani.org>
8331 Date: 2009-07-30 12:25:55 +0300
8336 1 file changed, 1 insertion(+)
8338 commit dbbd8fb870ae789d96497911006c869d37148c15
8339 Author: Jonathan Nieder <jrnieder@gmail.com>
8340 Date: 2009-07-28 17:37:24 -0500
8342 xzdiff: add missing ;; to case statement
8344 src/scripts/xzdiff.in | 6 +++---
8345 1 file changed, 3 insertions(+), 3 deletions(-)
8347 commit adbad2d16cb5909f85d4a429011005613ea62ffe
8348 Author: Lasse Collin <lasse.collin@tukaani.org>
8349 Date: 2009-07-24 13:15:06 +0300
8351 Added history.txt to doc_DATA.
8354 1 file changed, 1 insertion(+)
8356 commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
8357 Author: Lasse Collin <lasse.collin@tukaani.org>
8358 Date: 2009-07-24 12:00:40 +0300
8360 Updated .gitignore files.
8362 .gitignore | 36 +++++++++++++++++++-----------------
8363 po/.gitignore | 3 +++
8364 2 files changed, 22 insertions(+), 17 deletions(-)
8366 commit 2f34fb269265e3aba43a2a9c734020a45268826d
8367 Author: Lasse Collin <lasse.collin@tukaani.org>
8368 Date: 2009-07-24 11:34:02 +0300
8370 Minor improvements to COPYING.
8372 COPYING | 11 ++++++++---
8373 1 file changed, 8 insertions(+), 3 deletions(-)
8375 commit 0db1befcfbc120377df4b89923762f16d25f548a
8376 Author: Lasse Collin <lasse.collin@tukaani.org>
8377 Date: 2009-07-23 19:10:55 +0300
8379 Fix incorrect usage of getopt_long(), which caused
8380 invalid memory access if XZ_OPT was defined.
8383 1 file changed, 1 deletion(-)
8385 commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
8386 Author: Lasse Collin <lasse.collin@tukaani.org>
8387 Date: 2009-07-20 15:43:32 +0300
8389 Avoid internal error with --format=xz --lzma1.
8391 src/xz/coder.c | 16 ++++++++++++----
8392 1 file changed, 12 insertions(+), 4 deletions(-)
8394 commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
8395 Author: Lasse Collin <lasse.collin@tukaani.org>
8396 Date: 2009-07-19 13:14:20 +0300
8398 Major documentation update.
8400 Installation and packaging instructions were added.
8401 README and other generic docs were revised.
8403 Some of the documentation files are now installed to $docdir.
8407 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8408 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++
8410 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++
8411 README | 263 ++++++++++++++++++++-------------------------
8413 8 files changed, 1070 insertions(+), 170 deletions(-)
8415 commit ef4cf1851de89022cba5674784f1a8f6343c15b0
8416 Author: Lasse Collin <lasse.collin@tukaani.org>
8417 Date: 2009-07-19 11:09:31 +0300
8419 Added missing author notice to xzless.in.
8421 src/scripts/xzless.in | 1 +
8422 1 file changed, 1 insertion(+)
8424 commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
8425 Author: Lasse Collin <lasse.collin@tukaani.org>
8426 Date: 2009-07-18 18:54:55 +0300
8428 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
8431 Fixed a related bug in the toplevel Makefile.am.
8433 Added the build-aux directory to .gitignore.
8437 configure.ac | 3 ++-
8438 3 files changed, 3 insertions(+), 2 deletions(-)
8440 commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
8441 Author: Lasse Collin <lasse.collin@tukaani.org>
8442 Date: 2009-07-18 14:34:08 +0300
8444 Updated the totally outdated TODO file.
8446 TODO | 117 ++++++++++++++++---------------------------------------------------
8447 1 file changed, 27 insertions(+), 90 deletions(-)
8449 commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
8450 Author: Lasse Collin <lasse.collin@tukaani.org>
8451 Date: 2009-07-18 11:26:39 +0300
8453 Added public domain notice into a few files.
8455 src/common/common_w32res.rc | 9 ++++++++-
8456 src/liblzma/liblzma.pc.in | 7 +++++++
8457 src/liblzma/liblzma_w32res.rc | 7 +++++++
8458 src/xz/xz_w32res.rc | 7 +++++++
8459 src/xzdec/xzdec_w32res.rc | 7 +++++++
8460 5 files changed, 36 insertions(+), 1 deletion(-)
8462 commit a35755c5de808df027675688855d1b621a4fb428
8463 Author: Lasse Collin <lasse.collin@tukaani.org>
8464 Date: 2009-07-14 21:10:36 +0300
8466 Allow extra commas in filter-specific options on xz command line.
8468 This may slightly ease writing scripts that construct
8469 filter-specific option strings dynamically.
8471 src/xz/options.c | 7 +++++++
8472 1 file changed, 7 insertions(+)
8474 commit 98f3cac1ad31191c5160a7e48398bf85141e941c
8475 Author: Lasse Collin <lasse.collin@tukaani.org>
8476 Date: 2009-07-14 18:04:31 +0300
8478 Accept --lzma2=preset=6e where "e" is equivalent to --extreme
8479 when no custom chain is in use.
8481 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++---------------
8482 1 file changed, 59 insertions(+), 21 deletions(-)
8484 commit d873a09e956363e54bf58c577c8f7e487b6fb464
8485 Author: Lasse Collin <lasse.collin@tukaani.org>
8486 Date: 2009-07-12 19:08:30 +0300
8488 Add dist-hook to create ChangeLog from the commit log,
8489 and to conver the man pages to PDF and plain text, which
8490 may be convenient to those who cannot render man pages.
8492 Makefile.am | 31 +++++++++++++++++++++++++++++++
8493 1 file changed, 31 insertions(+)
8495 commit cd69a5a6c16c289f6f8e2823b03c72289472270f
8496 Author: Lasse Collin <lasse.collin@tukaani.org>
8497 Date: 2009-07-10 11:39:38 +0300
8499 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
8501 This is a quick and slightly dirty fix to make the code
8502 conform to the latest file format specification. Without
8503 this patch, it's possible to make corrupt files by
8504 specifying start offset that is not a multiple of the
8505 filter's alignment. Custom start offset is almost never
8506 used, so this was only a minor bug.
8508 The xz command line tool doesn't validate the start offset,
8509 so one will get a bit unclear error message if trying to use
8510 an invalid start offset.
8512 src/liblzma/simple/arm.c | 2 +-
8513 src/liblzma/simple/armthumb.c | 2 +-
8514 src/liblzma/simple/ia64.c | 2 +-
8515 src/liblzma/simple/powerpc.c | 2 +-
8516 src/liblzma/simple/simple_coder.c | 5 ++++-
8517 src/liblzma/simple/simple_private.h | 3 ++-
8518 src/liblzma/simple/sparc.c | 2 +-
8519 src/liblzma/simple/x86.c | 2 +-
8520 8 files changed, 12 insertions(+), 8 deletions(-)
8522 commit eed9953732b801f6c97317fb3160445a8754180b
8523 Author: Lasse Collin <lasse.collin@tukaani.org>
8524 Date: 2009-07-10 11:33:21 +0300
8526 Look for full command names instead of substrings
8527 like "un", "cat", and "lz" when determining if
8528 xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
8530 This is to ensure that if xz is renamed (e.g. via
8531 --program-transform-name), it doesn't so easily
8534 src/xz/args.c | 22 +++++++++++++---------
8535 1 file changed, 13 insertions(+), 9 deletions(-)
8537 commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
8538 Author: Lasse Collin <lasse.collin@tukaani.org>
8539 Date: 2009-07-08 23:06:46 +0300
8544 1 file changed, 2 insertions(+)
8546 commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
8547 Author: Lasse Collin <lasse.collin@tukaani.org>
8548 Date: 2009-07-08 23:05:29 +0300
8550 Portability improvement to version.sh.
8553 1 file changed, 2 insertions(+), 1 deletion(-)
8555 commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
8556 Author: Lasse Collin <lasse.collin@tukaani.org>
8557 Date: 2009-07-08 22:50:16 +0300
8559 Remove --force from xzdec.
8561 It was ignored for compatibility with xz, but now that
8562 --decompress --stdout --force copies unrecognized files
8563 as is to stdout, simply ignoring --force in xzdec would
8564 be wrong. xzdec will not support copying unrecognized
8565 data as is to stdout, so it cannot support --force.
8567 src/xzdec/xzdec.1 | 5 -----
8568 src/xzdec/xzdec.c | 5 +----
8569 2 files changed, 1 insertion(+), 9 deletions(-)
8571 commit 5f16ef4abf220028a9ddbcb138217597a9455f62
8572 Author: Lasse Collin <lasse.collin@tukaani.org>
8573 Date: 2009-07-06 10:36:04 +0300
8575 Use sed instead of $(SED) so that we don't need to
8576 use AC_PROG_SED. We don't do anything fancy with sed,
8577 so this should work OK. libtool 2.2 sets SED but 1.5
8578 doesn't, so $(SED) happened to work when using libtool 2.2.
8580 src/liblzma/Makefile.am | 2 +-
8581 src/scripts/Makefile.am | 28 ++++++++++++++--------------
8582 src/xz/Makefile.am | 6 +++---
8583 src/xzdec/Makefile.am | 6 +++---
8584 4 files changed, 21 insertions(+), 21 deletions(-)
8586 commit 96e4b257e101d72072d43e144897d92920270669
8587 Author: Lasse Collin <lasse.collin@tukaani.org>
8588 Date: 2009-07-05 22:25:17 +0300
8590 Major update to the xzgrep and other scripts based on
8591 the latest versions found from gzip CVS repository.
8593 configure will try to find a POSIX shell to be used by
8594 the scripts. This should ease portability on systems
8595 which have pre-POSIX /bin/sh.
8597 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
8598 xzmore and xzless support only .xz and .lzma files.
8600 The name of the xz executable used in these scripts is
8601 now correct even if --program-transform-name has been used.
8603 configure.ac | 14 ++++
8604 m4/posix-shell.m4 | 63 ++++++++++++++++
8605 src/scripts/Makefile.am | 24 +++---
8606 src/scripts/xzdiff | 67 -----------------
8607 src/scripts/xzdiff.1 | 58 ++++++++------
8608 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++
8609 src/scripts/xzgrep | 123 ------------------------------
8610 src/scripts/xzgrep.1 | 85 ++++++++++++---------
8611 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++
8612 src/scripts/xzless.1 | 66 ++++++++++++++++
8613 src/scripts/xzless.in | 51 +++++++++++++
8614 src/scripts/xzmore | 74 ------------------
8615 src/scripts/xzmore.1 | 64 +++++++---------
8616 src/scripts/xzmore.in | 78 +++++++++++++++++++
8617 14 files changed, 766 insertions(+), 369 deletions(-)
8619 commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
8620 Author: Lasse Collin <lasse.collin@tukaani.org>
8621 Date: 2009-07-05 19:26:53 +0300
8623 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
8625 src/liblzma/liblzma.pc.in | 2 +-
8626 1 file changed, 1 insertion(+), 1 deletion(-)
8628 commit 18c10c30d2833f394cd7bce0e6a821044b15832f
8629 Author: Lasse Collin <lasse.collin@tukaani.org>
8630 Date: 2009-07-04 00:40:44 +0300
8632 Make "xz --decompress --stdout --force" copy unrecognized
8633 files as is to standard output.
8635 This feature is needed to be more compatible with gzip's
8636 behavior. This was more complicated to implement than it
8637 sounds, because the way liblzma is able to return errors with
8638 files of only a few bytes in size. xz now has its own file
8639 type detection code and no longer uses lzma_auto_decoder().
8641 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++----------
8642 1 file changed, 178 insertions(+), 35 deletions(-)
8644 commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
8645 Author: Lasse Collin <lasse.collin@tukaani.org>
8646 Date: 2009-07-02 14:30:38 +0300
8648 Define PACKAGE_HOMEPAGE in configure.ac and use it in
8651 Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
8653 configure.ac | 5 +++++
8654 src/xz/message.c | 4 ++--
8655 src/xzdec/xzdec.c | 4 ++--
8656 3 files changed, 9 insertions(+), 4 deletions(-)
8658 commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
8659 Author: Lasse Collin <lasse.collin@tukaani.org>
8660 Date: 2009-07-01 12:21:24 +0300
8662 Avoid visibility related compiler warnings on Windows.
8664 configure.ac | 20 +++++++++-----------
8665 1 file changed, 9 insertions(+), 11 deletions(-)
8667 commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
8668 Author: Lasse Collin <lasse.collin@tukaani.org>
8669 Date: 2009-06-30 17:14:39 +0300
8671 Use static liblzma by default also for tests.
8673 tests/Makefile.am | 5 ++++-
8674 1 file changed, 4 insertions(+), 1 deletion(-)
8676 commit f42ee981668b545ab6d06c6072e262c29605273c
8677 Author: Lasse Collin <lasse.collin@tukaani.org>
8678 Date: 2009-06-30 17:09:57 +0300
8682 Don't use libtool convenience libraries to avoid recently
8683 discovered long-standing subtle but somewhat severe bugs
8684 in libtool (at least 1.5.22 and 2.2.6 are affected). It
8685 was found when porting XZ Utils to Windows
8686 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
8687 but the problem is significant also e.g. on GNU/Linux.
8689 Unless --disable-shared is passed to configure, static
8690 library built from a set of convenience libraries will
8691 contain PIC objects. That is, while libtool builds non-PIC
8692 objects too, only PIC objects will be used from the
8693 convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
8694 using PIC instead of non-PIC makes the decompressor 10 % slower
8695 with the default CFLAGS.
8697 So while xz was linked against static liblzma by default,
8698 it got the slower PIC objects unless --disable-shared was
8699 used. I tend develop and benchmark with --disable-shared
8700 due to faster build time, so I hadn't noticed the problem
8701 in benchmarks earlier.
8703 This commit also adds support for building Windows resources
8704 into liblzma and executables.
8706 configure.ac | 34 ++++++++++------
8707 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++--------
8708 src/liblzma/check/Makefile.am | 47 ----------------------
8709 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++
8710 src/liblzma/common/Makefile.am | 78 ------------------------------------
8711 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++
8712 src/liblzma/common/common.h | 16 +++++---
8713 src/liblzma/delta/Makefile.am | 28 -------------
8714 src/liblzma/delta/Makefile.inc | 23 +++++++++++
8715 src/liblzma/lz/Makefile.am | 29 --------------
8716 src/liblzma/lz/Makefile.inc | 21 ++++++++++
8717 src/liblzma/lzma/Makefile.am | 51 ------------------------
8718 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++
8719 src/liblzma/rangecoder/Makefile.am | 26 ------------
8720 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++
8721 src/liblzma/simple/Makefile.am | 51 ------------------------
8722 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++
8723 src/liblzma/subblock/Makefile.am | 26 ------------
8724 src/liblzma/subblock/Makefile.inc | 20 ++++++++++
8725 src/xz/Makefile.am | 11 +++++-
8726 src/xzdec/Makefile.am | 20 +++++++++-
8727 21 files changed, 417 insertions(+), 372 deletions(-)
8729 commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
8730 Author: Lasse Collin <lasse.collin@tukaani.org>
8731 Date: 2009-06-29 22:19:51 +0300
8733 Added a comment about "autoconf -fi" to autogen.sh.
8736 1 file changed, 3 insertions(+)
8738 commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
8739 Author: Lasse Collin <lasse.collin@tukaani.org>
8740 Date: 2009-06-28 10:04:24 +0300
8742 Add -no-undefined to get shared liblzma on Windows.
8744 src/liblzma/Makefile.am | 2 +-
8745 1 file changed, 1 insertion(+), 1 deletion(-)
8747 commit 73f560ee5fa064992b76688d9472baf139432540
8748 Author: Lasse Collin <lasse.collin@tukaani.org>
8749 Date: 2009-06-27 22:57:15 +0300
8751 Make physmem() work on Cygwin 1.5 and older.
8753 src/common/physmem.h | 77 +++++++++++++++++++++++++++-------------------------
8754 1 file changed, 40 insertions(+), 37 deletions(-)
8756 commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
8757 Author: Lasse Collin <lasse.collin@tukaani.org>
8758 Date: 2009-06-27 17:28:01 +0300
8760 Moved the Windows resource files outside the windows directory
8761 to prepare for building them with Autotools.
8763 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++
8764 src/liblzma/liblzma_w32res.rc | 5 +++++
8765 src/xz/xz_w32res.rc | 5 +++++
8766 src/xzdec/lzmadec_w32res.rc | 5 +++++
8767 src/xzdec/xzdec_w32res.rc | 5 +++++
8768 windows/Makefile | 35 +++++++++++++++++---------------
8769 windows/common.rc | 46 -------------------------------------------
8770 windows/liblzma.rc | 5 -----
8771 windows/lzmadec.rc | 5 -----
8772 windows/xz.rc | 5 -----
8773 windows/xzdec.rc | 5 -----
8774 11 files changed, 85 insertions(+), 82 deletions(-)
8776 commit 449c634674f35336a4815d398172e447659a135e
8777 Author: Lasse Collin <lasse.collin@tukaani.org>
8778 Date: 2009-06-27 13:05:03 +0300
8780 Added missing $(EXEEXT).
8782 src/xz/Makefile.am | 2 +-
8783 1 file changed, 1 insertion(+), 1 deletion(-)
8785 commit 792db79f27ad9ab1fb977e23be65c7761f545752
8786 Author: Lasse Collin <lasse.collin@tukaani.org>
8787 Date: 2009-06-27 12:32:40 +0300
8789 Create correct symlinks even when
8790 --program-{prefix,suffix,transform} is passed to configure.
8792 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++---------------------
8793 src/xz/Makefile.am | 21 ++++++++-----
8794 src/xzdec/Makefile.am | 9 ++++--
8795 3 files changed, 65 insertions(+), 45 deletions(-)
8797 commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
8798 Author: Lasse Collin <lasse.collin@tukaani.org>
8799 Date: 2009-06-27 10:02:24 +0300
8801 Silence a compiler warning on DOS-like systems.
8803 src/xz/file_io.c | 5 ++++-
8804 1 file changed, 4 insertions(+), 1 deletion(-)
8806 commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
8807 Author: Lasse Collin <lasse.collin@tukaani.org>
8808 Date: 2009-06-27 09:35:15 +0300
8810 Updated the filenames in POTFILES.in too.
8812 po/POTFILES.in | 4 ++--
8813 1 file changed, 2 insertions(+), 2 deletions(-)
8815 commit b2b1f867532732fe9969131f8713bdd6b0731763
8816 Author: Lasse Collin <lasse.collin@tukaani.org>
8817 Date: 2009-06-27 00:43:06 +0300
8819 Hopefully improved portability of the assembler code in
8820 Autotools based builds on Windows.
8822 src/liblzma/check/crc32_x86.S | 8 +++++++-
8823 src/liblzma/check/crc64_x86.S | 8 +++++++-
8824 2 files changed, 14 insertions(+), 2 deletions(-)
8826 commit c393055947247627a09b6a6b8f20aa0c32f9be16
8827 Author: Lasse Collin <lasse.collin@tukaani.org>
8828 Date: 2009-06-26 21:17:29 +0300
8830 Updated THANKS (most of today's commits are based on
8831 Charles Wilson's patches).
8834 1 file changed, 1 insertion(+)
8836 commit da0af22e4b4139b8a10710945f8b245b3a77c97d
8837 Author: Lasse Collin <lasse.collin@tukaani.org>
8838 Date: 2009-06-26 21:00:35 +0300
8840 Updated comments to match renamed files.
8842 src/xz/coder.c | 2 +-
8843 src/xz/coder.h | 2 +-
8844 src/xz/file_io.c | 2 +-
8845 src/xz/file_io.h | 2 +-
8846 4 files changed, 4 insertions(+), 4 deletions(-)
8848 commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
8849 Author: Lasse Collin <lasse.collin@tukaani.org>
8850 Date: 2009-06-26 20:49:54 +0300
8852 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
8853 to avoid problems on systems with system headers with those
8857 src/xz/Makefile.am | 8 +-
8858 src/xz/coder.c | 488 ++++++++++++++++++++++++++++++++++++
8859 src/xz/coder.h | 57 +++++
8860 src/xz/file_io.c | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8861 src/xz/file_io.h | 86 +++++++
8862 src/xz/io.c | 716 -----------------------------------------------------
8863 src/xz/io.h | 86 -------
8864 src/xz/private.h | 4 +-
8865 src/xz/process.c | 488 ------------------------------------
8866 src/xz/process.h | 57 -----
8867 windows/Makefile | 4 +-
8868 12 files changed, 1357 insertions(+), 1357 deletions(-)
8870 commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
8871 Author: Lasse Collin <lasse.collin@tukaani.org>
8872 Date: 2009-06-26 20:43:36 +0300
8874 Rename process_file() to coder_run().
8876 src/xz/main.c | 6 +++---
8877 src/xz/process.c | 6 +++---
8878 src/xz/process.h | 5 ++---
8879 3 files changed, 8 insertions(+), 9 deletions(-)
8881 commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
8882 Author: Lasse Collin <lasse.collin@tukaani.org>
8883 Date: 2009-06-26 20:36:45 +0300
8885 Ugly hack to make it possible to use the thousand separator
8886 format character with snprintf() on POSIX systems but not
8887 on non-POSIX systems and still keep xgettext working.
8889 dos/Makefile | 16 +++-------------
8890 src/xz/message.c | 17 +++++++++--------
8891 src/xz/process.c | 30 +++++++++++++++---------------
8892 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++
8893 src/xz/util.h | 20 ++++++++++++++++++++
8894 windows/Makefile | 13 +++----------
8895 6 files changed, 84 insertions(+), 46 deletions(-)
8897 commit fe378d47074b16c52b00fe184d119287c68ce2e7
8898 Author: Lasse Collin <lasse.collin@tukaani.org>
8899 Date: 2009-06-26 15:40:40 +0300
8901 Added missing source files to windows/Makefile.
8903 windows/Makefile | 2 ++
8904 1 file changed, 2 insertions(+)
8906 commit 390a6408563067613b29de895cb40e4d0386d62c
8907 Author: Lasse Collin <lasse.collin@tukaani.org>
8908 Date: 2009-06-26 15:37:53 +0300
8910 Basic support for building with Cygwin and MinGW using
8911 the Autotools based build system. It's not good yet, more
8914 configure.ac | 7 +++++++
8915 src/liblzma/api/lzma.h | 7 +++++--
8916 src/liblzma/check/crc32_x86.S | 7 ++++---
8917 src/liblzma/check/crc64_x86.S | 7 ++++---
8918 src/liblzma/common/common.h | 2 +-
8919 windows/Makefile | 16 +++++++---------
8920 6 files changed, 28 insertions(+), 18 deletions(-)
8922 commit 1c9360b7d1197457aaad2f8888b99f1149861579
8923 Author: Lasse Collin <lasse.collin@tukaani.org>
8924 Date: 2009-06-26 14:47:31 +0300
8926 Fix @variables@ to $(variables) in Makefile.am files.
8927 Fix the ordering of libgnu.a and LTLIBINTL on the linker
8928 command line and added missing LTLIBINTL to tests/Makefile.am.
8930 debug/Makefile.am | 12 ++++++------
8931 src/liblzma/check/Makefile.am | 4 ++--
8932 src/liblzma/common/Makefile.am | 16 ++++++++--------
8933 src/liblzma/delta/Makefile.am | 4 ++--
8934 src/liblzma/lz/Makefile.am | 6 +++---
8935 src/liblzma/lzma/Makefile.am | 8 ++++----
8936 src/liblzma/rangecoder/Makefile.am | 4 ++--
8937 src/liblzma/simple/Makefile.am | 4 ++--
8938 src/liblzma/subblock/Makefile.am | 4 ++--
8939 src/xz/Makefile.am | 21 +++++++++++----------
8940 src/xzdec/Makefile.am | 19 ++++++++++---------
8941 tests/Makefile.am | 12 +++++++-----
8942 12 files changed, 59 insertions(+), 55 deletions(-)
8944 commit d45615c555e250209ebb55aa3649abe790f1eeac
8945 Author: Lasse Collin <lasse.collin@tukaani.org>
8946 Date: 2009-06-26 14:20:02 +0300
8948 Allow to explicitly specify autotool versions in autogen.sh.
8950 autogen.sh | 12 ++++++------
8951 1 file changed, 6 insertions(+), 6 deletions(-)
8953 commit eaf8367368a329afa48785380f9dca6b681f3397
8954 Author: Lasse Collin <lasse.collin@tukaani.org>
8955 Date: 2009-06-26 14:18:32 +0300
8957 Add version.sh to EXTRA_DIST.
8960 1 file changed, 2 insertions(+), 1 deletion(-)
8962 commit b317b218e2d383dd27a700094c0de4510540ea18
8963 Author: Lasse Collin <lasse.collin@tukaani.org>
8964 Date: 2009-06-24 20:14:10 +0300
8966 Support HW_PHYSMEM64
8968 src/common/physmem.h | 30 +++++++++++++++++++-----------
8969 1 file changed, 19 insertions(+), 11 deletions(-)
8971 commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
8972 Author: Lasse Collin <lasse.collin@tukaani.org>
8973 Date: 2009-06-24 13:01:59 +0300
8975 Cast a char argument to isspace() to unsigned char.
8977 src/xz/args.c | 11 +++++++++--
8978 1 file changed, 9 insertions(+), 2 deletions(-)
8980 commit 1735d31ea347210e914df038eeea4b2626e76e42
8981 Author: Lasse Collin <lasse.collin@tukaani.org>
8982 Date: 2009-06-05 13:46:26 +0300
8984 A few more spelling fixes. Released the .xz spec 1.0.3.
8986 doc/xz-file-format.txt | 12 +++++++-----
8987 1 file changed, 7 insertions(+), 5 deletions(-)
8989 commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
8990 Author: Lasse Collin <lasse.collin@tukaani.org>
8991 Date: 2009-06-04 23:42:12 +0300
8993 Added xzdec man page.
8995 src/xzdec/Makefile.am | 11 ++++
8996 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++
8997 2 files changed, 184 insertions(+)
8999 commit f6df39afaa84f71439507178a49b2a5dda6e824c
9000 Author: Lasse Collin <lasse.collin@tukaani.org>
9001 Date: 2009-06-04 23:26:47 +0300
9003 Harmonized xzdec --memory with xz --memory and made
9006 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++----------------
9007 1 file changed, 53 insertions(+), 21 deletions(-)
9009 commit 1774f27c61ce294a56712ca2f4785f90a62441bc
9010 Author: Lasse Collin <lasse.collin@tukaani.org>
9011 Date: 2009-06-04 22:59:55 +0300
9013 Fix purporse -> purpose. Thanks to Andrew Dudman.
9014 Released .xz spec 1.0.2 due to this fix too.
9017 doc/xz-file-format.txt | 8 +++++---
9018 src/liblzma/liblzma.pc.in | 2 +-
9019 windows/Makefile | 2 +-
9020 4 files changed, 8 insertions(+), 5 deletions(-)
9022 commit cb613455642f48fb51059e22018615f64c59b70f
9023 Author: Lasse Collin <lasse.collin@tukaani.org>
9024 Date: 2009-06-01 14:53:57 +0300
9026 The .xz file format version 1.0.1
9028 doc/xz-file-format.txt | 29 ++++++++++++++++++++++-------
9029 1 file changed, 22 insertions(+), 7 deletions(-)
9031 commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
9032 Author: Lasse Collin <lasse.collin@tukaani.org>
9033 Date: 2009-05-26 14:48:48 +0300
9035 Make the raw value of the Check field available to applications
9036 via lzma_block structure.
9038 This changes ABI but not doesn't break API.
9040 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++
9041 src/liblzma/common/block_buffer_encoder.c | 1 +
9042 src/liblzma/common/block_decoder.c | 34 ++++++++++++++-----------------
9043 src/liblzma/common/block_encoder.c | 21 ++++++++-----------
9044 4 files changed, 42 insertions(+), 31 deletions(-)
9046 commit b4f5c814090dc07d4350453576305e41eb9c998d
9047 Author: Lasse Collin <lasse.collin@tukaani.org>
9048 Date: 2009-05-23 16:57:21 +0300
9050 Remove undocumented alternative option names --bcj, --ppc,
9053 src/xz/args.c | 3 ---
9054 1 file changed, 3 deletions(-)
9056 commit b1edee2cdc7ef4411b1a21c07094ec763f071281
9057 Author: Lasse Collin <lasse.collin@tukaani.org>
9058 Date: 2009-05-23 15:12:23 +0300
9060 Add support for specifying the BCJ filter start offset
9061 in the xz command line tool.
9063 src/xz/args.c | 36 +++++++++++++++++++++---------------
9064 src/xz/message.c | 14 ++++++++------
9065 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++
9066 src/xz/options.h | 7 +++++++
9067 4 files changed, 76 insertions(+), 21 deletions(-)
9069 commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
9070 Author: Lasse Collin <lasse.collin@tukaani.org>
9071 Date: 2009-05-23 14:51:09 +0300
9076 1 file changed, 2 insertions(+)
9078 commit dcedb6998cefeca6597dd1219328a3abf5acf66d
9079 Author: Lasse Collin <lasse.collin@tukaani.org>
9080 Date: 2009-05-22 16:40:50 +0300
9082 Added support for --quiet and --no-warn to xzdec.
9083 Cleaned up the --help message a little.
9085 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++--------------------
9086 1 file changed, 49 insertions(+), 27 deletions(-)
9088 commit 5f735dae80aa629853f4831d7b84ec1c614979eb
9089 Author: Lasse Collin <lasse.collin@tukaani.org>
9090 Date: 2009-05-22 15:11:52 +0300
9092 Use the 40 % of RAM memory usage limit in xzdec too.
9094 Update the memory usage info text in --help to match
9095 the text in xz --long-help.
9097 src/xzdec/xzdec.c | 10 +++++-----
9098 1 file changed, 5 insertions(+), 5 deletions(-)
9100 commit b60376249e0c586910c4121fab4f791820cc1289
9101 Author: Lasse Collin <lasse.collin@tukaani.org>
9102 Date: 2009-05-22 14:43:00 +0300
9106 src/xz/args.c | 8 +++++++-
9107 src/xz/main.c | 17 +++++++++++++++++
9108 src/xz/main.h | 6 ++++++
9109 src/xz/message.c | 4 ++++
9110 4 files changed, 34 insertions(+), 1 deletion(-)
9112 commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
9113 Author: Lasse Collin <lasse.collin@tukaani.org>
9114 Date: 2009-05-22 14:27:40 +0300
9118 src/xz/main.h | 2 +-
9119 1 file changed, 1 insertion(+), 1 deletion(-)
9121 commit 4dd21d23f22569285ae706b58b0e5904b8db1839
9122 Author: Lasse Collin <lasse.collin@tukaani.org>
9123 Date: 2009-05-22 14:21:20 +0300
9125 Remove the --info option, which was an alias for --list.
9128 1 file changed, 1 deletion(-)
9130 commit 8836139b63ce774bdd62abf17ab69b290e08229e
9131 Author: Lasse Collin <lasse.collin@tukaani.org>
9132 Date: 2009-05-22 12:27:43 +0300
9134 If xz is run as lzma, unlzma, or lzcat, simply imply
9135 --format=lzma. This means that xz emulating lzma
9136 doesn't decompress .xz files, while before this
9137 commit it did. The new way is slightly simpler in
9138 code and especially in upcoming documentation.
9140 src/xz/args.c | 17 ++++++-----------
9141 1 file changed, 6 insertions(+), 11 deletions(-)
9143 commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
9144 Author: Lasse Collin <lasse.collin@tukaani.org>
9145 Date: 2009-05-22 11:29:50 +0300
9147 Make the default memory usage limit 40 % of RAM for both
9148 compressing and decompressing. This should be OK now that
9149 xz automatically scales down the compression settings if
9150 they would exceed the memory usage limit (earlier, the limit
9151 for compression was increased to 90 % because low limit broke
9152 scripts that used "xz -9" on systems with low RAM).
9154 Support spcifying the memory usage limit as a percentage
9155 of RAM (e.g. --memory=50%).
9157 Support --threads=0 to reset the thread limit to the default
9158 value (number of available CPU cores). Use UINT32_MAX instead
9159 of SIZE_MAX as the maximum in args.c. hardware.c was already
9160 expecting uint32_t value.
9162 Cleaned up the output of --help and --long-help.
9164 src/xz/args.c | 28 +++++++++++++-----
9165 src/xz/hardware.c | 86 +++++++++++++++++++++++--------------------------------
9166 src/xz/hardware.h | 10 +++----
9167 src/xz/message.c | 28 +++++++++---------
9168 src/xz/process.c | 18 +++++-------
9169 5 files changed, 82 insertions(+), 88 deletions(-)
9171 commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
9172 Author: Lasse Collin <lasse.collin@tukaani.org>
9173 Date: 2009-05-21 17:22:01 +0300
9175 Support special value "max" where xz and xzdec accept an integer.
9176 Don't round the memory usage limit in xzdec --help to avoid
9177 an integer overflow and to not give wrong impression that
9178 the limit is high enough when it may not actually be.
9180 src/xz/util.c | 4 ++++
9181 src/xzdec/xzdec.c | 6 +++++-
9182 2 files changed, 9 insertions(+), 1 deletion(-)
9184 commit 03ca67fd37dd43fa7f590de340899cd497c10802
9185 Author: ABCD <en.abcd@gmail.com>
9186 Date: 2009-05-20 17:31:18 -0400
9188 Install lzdiff, lzgrep, and lzmore as symlinks
9190 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
9191 It also installs symlinks for the manual pages and removes the new
9192 symlinks on uninstall.
9194 src/scripts/Makefile.am | 16 ++++++++++++++--
9195 1 file changed, 14 insertions(+), 2 deletions(-)
9197 commit a6f43e64128a6da5cd641de1e1e527433b3e5638
9198 Author: Lasse Collin <lasse.collin@tukaani.org>
9199 Date: 2009-05-02 16:10:14 +0300
9201 Use a GCC-specific #pragma instead of GCC-specific
9202 -Wno-uninitialized to silence a bogus warning.
9204 configure.ac | 13 -------------
9205 src/liblzma/check/Makefile.am | 5 -----
9206 src/liblzma/check/sha256.c | 5 +++++
9207 3 files changed, 5 insertions(+), 18 deletions(-)
9209 commit f6ce63ebdb45a857c8949960c83c9580ae888951
9210 Author: Lasse Collin <lasse.collin@tukaani.org>
9211 Date: 2009-05-02 14:46:50 +0300
9213 Removed --disable-encoder and --disable-decoder. Use the values
9214 given to --enable-encoders and --enable-decoders to determine
9215 if any encoder or decoder support is wanted.
9217 configure.ac | 48 ++++++++----------------------------------------
9218 1 file changed, 8 insertions(+), 40 deletions(-)
9220 commit be06858d5cf8ba46557395035d821dc332f3f830
9221 Author: Lasse Collin <lasse.collin@tukaani.org>
9222 Date: 2009-05-01 11:28:52 +0300
9224 Remove docs that are too outdated to be updated
9225 (rewrite will be better).
9227 doc/liblzma-advanced.txt | 324 -----------------------------------------------
9228 doc/liblzma-hacking.txt | 112 ----------------
9229 doc/liblzma-intro.txt | 194 ----------------------------
9230 doc/liblzma-security.txt | 219 --------------------------------
9231 doc/lzma-intro.txt | 107 ----------------
9232 5 files changed, 956 deletions(-)
9234 commit 0255401e57c96af87c6b159eca28974e79430a82
9235 Author: Lasse Collin <lasse.collin@tukaani.org>
9236 Date: 2009-05-01 11:21:46 +0300
9238 Added documentation about the legacy .lzma file format.
9240 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++
9241 1 file changed, 166 insertions(+)
9243 commit 1496ff437c46f38303e0e94c511ca604b3a11f85
9244 Author: Lasse Collin <lasse.collin@tukaani.org>
9245 Date: 2009-05-01 11:20:23 +0300
9247 Renamed the file format specification to xz-file-format.txt
9248 which is the filename used on the WWW.
9250 doc/file-format.txt | 1127 ------------------------------------------------
9251 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
9252 2 files changed, 1127 insertions(+), 1127 deletions(-)
9254 commit 21c6b94373d239d7e86bd480fcd558e30391712f
9255 Author: Lasse Collin <lasse.collin@tukaani.org>
9256 Date: 2009-04-28 23:08:32 +0300
9258 Fixed a crash in liblzma.
9260 liblzma tries to avoid useless free()/malloc() pairs in
9261 initialization when multiple files are handled using the
9262 same lzma_stream. This didn't work with filter chains
9263 due to comparison of wrong pointers in lzma_next_coder_init(),
9264 making liblzma think that no memory reallocation is needed
9265 even when it actually is.
9267 Easy way to trigger this bug is to decompress two files with
9268 a single xz command. The first file should have e.g. x86+LZMA2
9269 as the filter chain, and the second file just LZMA2.
9271 src/liblzma/common/alone_decoder.c | 2 +-
9272 src/liblzma/common/alone_encoder.c | 4 ++--
9273 src/liblzma/common/auto_decoder.c | 2 +-
9274 src/liblzma/common/block_decoder.c | 2 +-
9275 src/liblzma/common/block_encoder.c | 2 +-
9276 src/liblzma/common/common.h | 4 ++--
9277 src/liblzma/common/easy_encoder.c | 2 +-
9278 src/liblzma/common/index_decoder.c | 2 +-
9279 src/liblzma/common/index_encoder.c | 2 +-
9280 src/liblzma/common/stream_decoder.c | 2 +-
9281 src/liblzma/common/stream_encoder.c | 2 +-
9282 11 files changed, 13 insertions(+), 13 deletions(-)
9284 commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
9285 Author: Lasse Collin <lasse.collin@tukaani.org>
9286 Date: 2009-04-15 14:13:38 +0300
9288 Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
9290 On 64-bit system it would have gone into infinite
9291 loop if a single input buffer was over 4 GiB (unlikely).
9293 src/liblzma/simple/arm.c | 2 +-
9294 src/liblzma/simple/armthumb.c | 2 +-
9295 2 files changed, 2 insertions(+), 2 deletions(-)
9297 commit 31decdce041581e57c0d8a407d4795b114ef27ca
9298 Author: Lasse Collin <lasse.collin@tukaani.org>
9299 Date: 2009-04-14 11:48:46 +0300
9301 Minor fixes to test files' README.
9303 tests/files/README | 17 +++++++++--------
9304 1 file changed, 9 insertions(+), 8 deletions(-)
9306 commit 4787d654434891c7df5b43959b0d2873718f06e0
9307 Author: Lasse Collin <lasse.collin@tukaani.org>
9308 Date: 2009-04-13 16:36:41 +0300
9310 Updated history.txt.
9312 doc/history.txt | 123 ++++++++++++++++++++++++++++++--------------------------
9313 1 file changed, 66 insertions(+), 57 deletions(-)
9315 commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
9316 Author: Lasse Collin <lasse.collin@tukaani.org>
9317 Date: 2009-04-13 14:49:48 +0300
9319 Quick & dirty update to support xz in diff/grep/more scripts.
9321 src/scripts/Makefile.am | 38 +++++++++------
9322 src/scripts/lzdiff | 67 --------------------------
9323 src/scripts/lzdiff.1 | 51 --------------------
9324 src/scripts/lzgrep | 123 ------------------------------------------------
9325 src/scripts/lzgrep.1 | 61 ------------------------
9326 src/scripts/lzmore | 74 -----------------------------
9327 src/scripts/lzmore.1 | 55 ----------------------
9328 src/scripts/xzdiff | 67 ++++++++++++++++++++++++++
9329 src/scripts/xzdiff.1 | 58 +++++++++++++++++++++++
9330 src/scripts/xzgrep | 123 ++++++++++++++++++++++++++++++++++++++++++++++++
9331 src/scripts/xzgrep.1 | 77 ++++++++++++++++++++++++++++++
9332 src/scripts/xzmore | 74 +++++++++++++++++++++++++++++
9333 src/scripts/xzmore.1 | 66 ++++++++++++++++++++++++++
9334 13 files changed, 489 insertions(+), 445 deletions(-)
9336 commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
9337 Author: Lasse Collin <lasse.collin@tukaani.org>
9338 Date: 2009-04-13 11:27:40 +0300
9340 Put the interesting parts of XZ Utils into the public domain.
9341 Some minor documentation cleanups were made at the same time.
9343 COPYING | 67 ++++++++++++++++++++------
9346 Makefile.am | 13 ++---
9348 configure.ac | 13 ++---
9349 debug/Makefile.am | 13 ++---
9350 debug/crc32.c | 13 ++---
9351 debug/full_flush.c | 13 ++---
9352 debug/hex2bin.c | 7 ++-
9353 debug/known_sizes.c | 13 ++---
9354 debug/memusage.c | 13 ++---
9355 debug/repeat.c | 13 ++---
9356 debug/sync_flush.c | 13 ++---
9357 doc/faq.txt | 38 ++-------------
9358 lib/Makefile.am | 18 +++----
9359 src/Makefile.am | 13 ++---
9360 src/common/bswap.h | 7 ++-
9361 src/common/cpucores.h | 7 ++-
9362 src/common/integer.h | 7 ++-
9363 src/common/mythread.h | 4 +-
9364 src/common/open_stdxxx.h | 7 ++-
9365 src/common/physmem.h | 7 ++-
9366 src/common/sysdefs.h | 13 ++---
9367 src/liblzma/Makefile.am | 13 ++---
9368 src/liblzma/api/Makefile.am | 13 ++---
9369 src/liblzma/api/lzma.h | 38 +++++++++------
9370 src/liblzma/api/lzma/base.h | 20 +++-----
9371 src/liblzma/api/lzma/bcj.h | 18 +++----
9372 src/liblzma/api/lzma/block.h | 18 +++----
9373 src/liblzma/api/lzma/check.h | 18 +++----
9374 src/liblzma/api/lzma/container.h | 18 +++----
9375 src/liblzma/api/lzma/delta.h | 18 +++----
9376 src/liblzma/api/lzma/filter.h | 18 +++----
9377 src/liblzma/api/lzma/index.h | 18 +++----
9378 src/liblzma/api/lzma/index_hash.h | 22 +++------
9379 src/liblzma/api/lzma/lzma.h | 18 +++----
9380 src/liblzma/api/lzma/stream_flags.h | 18 +++----
9381 src/liblzma/api/lzma/subblock.h | 18 +++----
9382 src/liblzma/api/lzma/version.h | 18 +++----
9383 src/liblzma/api/lzma/vli.h | 46 ++++++++----------
9384 src/liblzma/check/Makefile.am | 8 ++-
9385 src/liblzma/check/check.c | 7 ++-
9386 src/liblzma/check/check.h | 7 ++-
9387 src/liblzma/check/crc32_fast.c | 30 +++++-------
9388 src/liblzma/check/crc32_small.c | 7 ++-
9389 src/liblzma/check/crc32_table.c | 7 ++-
9390 src/liblzma/check/crc32_tablegen.c | 7 ++-
9391 src/liblzma/check/crc32_x86.S | 21 +++++---
9392 src/liblzma/check/crc64_fast.c | 20 +++-----
9393 src/liblzma/check/crc64_small.c | 7 ++-
9394 src/liblzma/check/crc64_table.c | 7 ++-
9395 src/liblzma/check/crc64_tablegen.c | 7 ++-
9396 src/liblzma/check/crc64_x86.S | 14 ++++--
9397 src/liblzma/check/crc_macros.h | 9 ++--
9398 src/liblzma/check/sha256.c | 23 +++++----
9399 src/liblzma/common/Makefile.am | 13 ++---
9400 src/liblzma/common/alone_decoder.c | 13 ++---
9401 src/liblzma/common/alone_decoder.h | 13 ++---
9402 src/liblzma/common/alone_encoder.c | 13 ++---
9403 src/liblzma/common/auto_decoder.c | 13 ++---
9404 src/liblzma/common/block_buffer_decoder.c | 13 ++---
9405 src/liblzma/common/block_buffer_encoder.c | 13 ++---
9406 src/liblzma/common/block_decoder.c | 13 ++---
9407 src/liblzma/common/block_decoder.h | 13 ++---
9408 src/liblzma/common/block_encoder.c | 13 ++---
9409 src/liblzma/common/block_encoder.h | 13 ++---
9410 src/liblzma/common/block_header_decoder.c | 13 ++---
9411 src/liblzma/common/block_header_encoder.c | 13 ++---
9412 src/liblzma/common/block_util.c | 13 ++---
9413 src/liblzma/common/bsr.h | 7 ++-
9414 src/liblzma/common/chunk_size.c | 13 ++---
9415 src/liblzma/common/common.c | 13 ++---
9416 src/liblzma/common/common.h | 13 ++---
9417 src/liblzma/common/easy_buffer_encoder.c | 13 ++---
9418 src/liblzma/common/easy_decoder_memusage.c | 13 ++---
9419 src/liblzma/common/easy_encoder.c | 13 ++---
9420 src/liblzma/common/easy_encoder_memusage.c | 13 ++---
9421 src/liblzma/common/easy_preset.c | 13 ++---
9422 src/liblzma/common/easy_preset.h | 13 ++---
9423 src/liblzma/common/filter_buffer_decoder.c | 13 ++---
9424 src/liblzma/common/filter_buffer_encoder.c | 13 ++---
9425 src/liblzma/common/filter_common.c | 13 ++---
9426 src/liblzma/common/filter_common.h | 13 ++---
9427 src/liblzma/common/filter_decoder.c | 13 ++---
9428 src/liblzma/common/filter_decoder.h | 13 ++---
9429 src/liblzma/common/filter_encoder.c | 13 ++---
9430 src/liblzma/common/filter_encoder.h | 13 ++---
9431 src/liblzma/common/filter_flags_decoder.c | 13 ++---
9432 src/liblzma/common/filter_flags_encoder.c | 13 ++---
9433 src/liblzma/common/index.c | 13 ++---
9434 src/liblzma/common/index.h | 13 ++---
9435 src/liblzma/common/index_decoder.c | 13 ++---
9436 src/liblzma/common/index_encoder.c | 13 ++---
9437 src/liblzma/common/index_encoder.h | 13 ++---
9438 src/liblzma/common/index_hash.c | 13 ++---
9439 src/liblzma/common/stream_buffer_decoder.c | 13 ++---
9440 src/liblzma/common/stream_buffer_encoder.c | 13 ++---
9441 src/liblzma/common/stream_decoder.c | 13 ++---
9442 src/liblzma/common/stream_decoder.h | 13 ++---
9443 src/liblzma/common/stream_encoder.c | 13 ++---
9444 src/liblzma/common/stream_encoder.h | 13 ++---
9445 src/liblzma/common/stream_flags_common.c | 13 ++---
9446 src/liblzma/common/stream_flags_common.h | 13 ++---
9447 src/liblzma/common/stream_flags_decoder.c | 13 ++---
9448 src/liblzma/common/stream_flags_encoder.c | 13 ++---
9449 src/liblzma/common/vli_decoder.c | 13 ++---
9450 src/liblzma/common/vli_encoder.c | 13 ++---
9451 src/liblzma/common/vli_size.c | 13 ++---
9452 src/liblzma/delta/Makefile.am | 13 ++---
9453 src/liblzma/delta/delta_common.c | 13 ++---
9454 src/liblzma/delta/delta_common.h | 13 ++---
9455 src/liblzma/delta/delta_decoder.c | 13 ++---
9456 src/liblzma/delta/delta_decoder.h | 13 ++---
9457 src/liblzma/delta/delta_encoder.c | 13 ++---
9458 src/liblzma/delta/delta_encoder.h | 13 ++---
9459 src/liblzma/delta/delta_private.h | 13 ++---
9460 src/liblzma/lz/Makefile.am | 13 ++---
9461 src/liblzma/lz/lz_decoder.c | 17 ++-----
9462 src/liblzma/lz/lz_decoder.h | 17 ++-----
9463 src/liblzma/lz/lz_encoder.c | 17 ++-----
9464 src/liblzma/lz/lz_encoder.h | 17 ++-----
9465 src/liblzma/lz/lz_encoder_hash.h | 13 ++---
9466 src/liblzma/lz/lz_encoder_mf.c | 17 ++-----
9467 src/liblzma/lzma/Makefile.am | 13 ++---
9468 src/liblzma/lzma/fastpos.h | 17 ++-----
9469 src/liblzma/lzma/fastpos_tablegen.c | 17 ++-----
9470 src/liblzma/lzma/lzma2_decoder.c | 17 ++-----
9471 src/liblzma/lzma/lzma2_decoder.h | 17 ++-----
9472 src/liblzma/lzma/lzma2_encoder.c | 17 ++-----
9473 src/liblzma/lzma/lzma2_encoder.h | 17 ++-----
9474 src/liblzma/lzma/lzma_common.h | 17 ++-----
9475 src/liblzma/lzma/lzma_decoder.c | 17 ++-----
9476 src/liblzma/lzma/lzma_decoder.h | 17 ++-----
9477 src/liblzma/lzma/lzma_encoder.c | 17 ++-----
9478 src/liblzma/lzma/lzma_encoder.h | 17 ++-----
9479 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++---
9480 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++---
9481 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++---
9482 src/liblzma/lzma/lzma_encoder_private.h | 17 ++-----
9483 src/liblzma/rangecoder/Makefile.am | 13 ++---
9484 src/liblzma/rangecoder/price.h | 13 ++---
9485 src/liblzma/rangecoder/price_tablegen.c | 16 ++----
9486 src/liblzma/rangecoder/range_common.h | 17 ++-----
9487 src/liblzma/rangecoder/range_decoder.h | 17 ++-----
9488 src/liblzma/rangecoder/range_encoder.h | 17 ++-----
9489 src/liblzma/simple/Makefile.am | 13 ++---
9490 src/liblzma/simple/arm.c | 17 ++-----
9491 src/liblzma/simple/armthumb.c | 17 ++-----
9492 src/liblzma/simple/ia64.c | 17 ++-----
9493 src/liblzma/simple/powerpc.c | 17 ++-----
9494 src/liblzma/simple/simple_coder.c | 13 ++---
9495 src/liblzma/simple/simple_coder.h | 14 ++----
9496 src/liblzma/simple/simple_decoder.c | 13 ++---
9497 src/liblzma/simple/simple_decoder.h | 13 ++---
9498 src/liblzma/simple/simple_encoder.c | 13 ++---
9499 src/liblzma/simple/simple_encoder.h | 13 ++---
9500 src/liblzma/simple/simple_private.h | 13 ++---
9501 src/liblzma/simple/sparc.c | 17 ++-----
9502 src/liblzma/simple/x86.c | 17 ++-----
9503 src/liblzma/subblock/Makefile.am | 13 ++---
9504 src/liblzma/subblock/subblock_decoder.c | 13 ++---
9505 src/liblzma/subblock/subblock_decoder.h | 13 ++---
9506 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++---
9507 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++---
9508 src/liblzma/subblock/subblock_encoder.c | 13 ++---
9509 src/liblzma/subblock/subblock_encoder.h | 13 ++---
9510 src/scripts/Makefile.am | 7 +++
9511 src/xz/Makefile.am | 13 ++---
9512 src/xz/args.c | 13 ++---
9513 src/xz/args.h | 13 ++---
9514 src/xz/hardware.c | 13 ++---
9515 src/xz/hardware.h | 13 ++---
9516 src/xz/io.c | 13 ++---
9517 src/xz/io.h | 13 ++---
9518 src/xz/list.c | 13 ++---
9519 src/xz/main.c | 13 ++---
9520 src/xz/main.h | 13 ++---
9521 src/xz/message.c | 13 ++---
9522 src/xz/message.h | 13 ++---
9523 src/xz/options.c | 13 ++---
9524 src/xz/options.h | 13 ++---
9525 src/xz/private.h | 13 ++---
9526 src/xz/process.c | 13 ++---
9527 src/xz/process.h | 13 ++---
9528 src/xz/signals.c | 13 ++---
9529 src/xz/signals.h | 13 ++---
9530 src/xz/suffix.c | 13 ++---
9531 src/xz/suffix.h | 13 ++---
9532 src/xz/util.c | 13 ++---
9533 src/xz/util.h | 13 ++---
9534 src/xzdec/Makefile.am | 13 ++---
9535 src/xzdec/xzdec.c | 13 ++---
9536 tests/Makefile.am | 13 ++---
9537 tests/bcj_test.c | 7 ++-
9538 tests/create_compress_files.c | 13 ++---
9539 tests/test_block.c | 13 ++---
9540 tests/test_block_header.c | 13 ++---
9541 tests/test_check.c | 13 ++---
9542 tests/test_compress.sh | 13 ++---
9543 tests/test_files.sh | 13 ++---
9544 tests/test_filter_flags.c | 13 ++---
9545 tests/test_index.c | 13 ++---
9546 tests/test_stream_flags.c | 13 ++---
9547 tests/tests.h | 13 ++---
9548 windows/common.rc | 2 +-
9549 206 files changed, 868 insertions(+), 2023 deletions(-)
9551 commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
9552 Author: Lasse Collin <lasse.collin@tukaani.org>
9553 Date: 2009-04-10 11:17:02 +0300
9555 Fix off-by-one in LZ decoder.
9557 Fortunately, this bug had no security risk other than accepting
9558 some corrupt files as valid.
9560 src/liblzma/lz/lz_decoder.h | 2 +-
9561 1 file changed, 1 insertion(+), 1 deletion(-)
9563 commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
9564 Author: Pavel Roskin <proski@gnu.org>
9565 Date: 2009-03-31 12:15:01 -0400
9567 Fix minor typos in README
9570 1 file changed, 3 insertions(+), 3 deletions(-)
9572 commit 9bab5336ebd765ec4e12252f416eefdf04eba750
9573 Author: Lasse Collin <lasse.collin@tukaani.org>
9574 Date: 2009-03-31 21:52:51 +0300
9576 Add a note and work-around instructions to README about
9577 problems detecting a C99 compiler when some standard
9578 headers are missing.
9580 README | 11 +++++++++++
9581 1 file changed, 11 insertions(+)
9583 commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
9584 Author: Lasse Collin <lasse.collin@tukaani.org>
9585 Date: 2009-03-18 16:54:38 +0200
9590 1 file changed, 1 insertion(+)
9592 commit 390e69887fc5e0a108eb41203bed9acd100a3d76
9593 Author: Lasse Collin <lasse.collin@tukaani.org>
9594 Date: 2009-03-18 16:51:41 +0200
9596 Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
9597 Thanks to Bert Wesarg.
9599 m4/lc_cpucores.m4 | 4 ++--
9600 src/common/cpucores.h | 4 ++--
9601 2 files changed, 4 insertions(+), 4 deletions(-)
9603 commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
9604 Author: Lasse Collin <lasse.collin@tukaani.org>
9605 Date: 2009-03-01 09:03:08 +0200
9607 Test for Linux-specific sysinfo() only on Linux systems.
9608 Some other systems have sysinfo() with different semantics.
9610 m4/lc_physmem.m4 | 28 +++++++++++++++++++---------
9611 1 file changed, 19 insertions(+), 9 deletions(-)
9613 commit cf751edfde3ad6e088dc18e0522d31ae38405933
9614 Author: Lasse Collin <lasse.collin@tukaani.org>
9615 Date: 2009-03-01 09:00:06 +0200
9617 Added AC_CONFIG_MACRO_DIR to configure.ac.
9620 1 file changed, 1 insertion(+)
9622 commit 63df14c57dee7c461717784287056688482a7eb9
9623 Author: Lasse Collin <lasse.collin@tukaani.org>
9624 Date: 2009-03-01 08:58:41 +0200
9626 Fix the Autoconf test for getopt_long replacement.
9627 It was broken by e114502b2bc371e4a45449832cb69be036360722.
9629 m4/getopt.m4 | 4 ++++
9630 1 file changed, 4 insertions(+)
9632 commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
9633 Author: Lasse Collin <lasse.collin@tukaani.org>
9634 Date: 2009-02-22 19:07:54 +0200
9636 Add a rough explanation of --extreme to output of --help.
9638 src/xz/message.c | 4 ++++
9639 1 file changed, 4 insertions(+)
9641 commit 68bf7ac2984d3627369a240ef0491934d53f7899
9642 Author: Lasse Collin <lasse.collin@tukaani.org>
9643 Date: 2009-02-22 18:52:49 +0200
9645 Fixes to progress message handling in xz:
9647 - Don't use Windows-specific code on Windows. The old code
9648 required at least Windows 2000. Now it should work on
9649 Windows 98 and later, and maybe on Windows 95 too.
9651 - Use less precision when showing estimated remaining time.
9653 - Fix some small design issues.
9655 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++--------------------
9656 src/xz/message.h | 28 ++--
9657 src/xz/process.c | 53 +++---
9658 3 files changed, 351 insertions(+), 213 deletions(-)
9660 commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
9661 Author: Lasse Collin <lasse.collin@tukaani.org>
9662 Date: 2009-02-18 13:00:10 +0200
9664 Added files missing from the previous commit.
9666 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++
9667 src/liblzma/common/Makefile.am | 7 ++++++-
9668 2 files changed, 39 insertions(+), 1 deletion(-)
9670 commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
9671 Author: Lasse Collin <lasse.collin@tukaani.org>
9672 Date: 2009-02-17 10:43:00 +0200
9674 Added lzma_easy_buffer_encode(). Splitted easy.c into small
9675 pieces to avoid unneeded dependencies making statically
9676 linked applications bigger than needed.
9679 src/liblzma/common/easy.c | 128 -----------------------------
9680 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++
9681 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++
9682 src/liblzma/common/easy_encoder.c | 87 ++++++++++++++++++++
9683 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++
9684 src/liblzma/common/easy_preset.c | 34 ++++++++
9685 src/liblzma/common/easy_preset.h | 39 +++++++++
9686 windows/Makefile | 6 +-
9687 9 files changed, 266 insertions(+), 130 deletions(-)
9689 commit 7494816ab08d82f4d6409788825930c4e43cfd0d
9690 Author: Lasse Collin <lasse.collin@tukaani.org>
9691 Date: 2009-02-15 15:48:45 +0200
9693 Make physmem.h work on old Windows versions.
9694 Thanks to Hongbo Ni for the original patch.
9696 src/common/physmem.h | 31 +++++++++++++++++++++++++++----
9697 1 file changed, 27 insertions(+), 4 deletions(-)
9699 commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
9700 Author: Lasse Collin <lasse.collin@tukaani.org>
9701 Date: 2009-02-14 20:44:52 +0200
9703 Fix microsecond vs. nanosecond confusion in my_time().
9705 src/xz/message.c | 2 +-
9706 1 file changed, 1 insertion(+), 1 deletion(-)
9708 commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
9709 Author: Lasse Collin <lasse.collin@tukaani.org>
9710 Date: 2009-02-14 00:45:29 +0200
9712 Cleanups to the code that detects the amount of RAM and
9713 the number of CPU cores. Added support for using sysinfo()
9714 on Linux systems whose libc lacks appropriate sysconf()
9715 support (at least dietlibc). The Autoconf macros were
9716 split into separate files, and CPU core count detection
9717 was moved from hardware.c to cpucores.h. The core count
9718 isn't used for anything real for now, so a problematic
9719 part in process.c was commented out.
9721 configure.ac | 89 ++-------------------------------------------------
9722 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++
9723 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++
9724 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++
9725 src/common/physmem.h | 21 +++++++-----
9726 src/xz/args.c | 4 +--
9727 src/xz/hardware.c | 50 +++++++++++++----------------
9728 src/xz/hardware.h | 11 +++++--
9729 src/xz/message.c | 5 +--
9730 src/xz/process.c | 2 ++
9731 10 files changed, 235 insertions(+), 130 deletions(-)
9733 commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
9734 Author: Lasse Collin <lasse.collin@tukaani.org>
9735 Date: 2009-02-13 18:23:50 +0200
9737 Initial port to DOS using DJGPP.
9739 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9740 dos/README | 113 ++++++++++++++++++++++++++
9741 dos/config.h | 150 ++++++++++++++++++++++++++++++++++
9742 3 files changed, 524 insertions(+)
9744 commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
9745 Author: Lasse Collin <lasse.collin@tukaani.org>
9746 Date: 2009-02-13 18:02:05 +0200
9748 Windows port: Take advantage of the version number macros.
9749 Now the version number is not duplicated in the
9750 Windows-specific files anymore.
9752 windows/Makefile | 2 +-
9753 windows/common.rc | 16 ++++++++--------
9754 windows/config.h | 15 ---------------
9755 3 files changed, 9 insertions(+), 24 deletions(-)
9757 commit fdbc0cfa71f7d660855098a609175ba384259529
9758 Author: Lasse Collin <lasse.collin@tukaani.org>
9759 Date: 2009-02-13 18:00:03 +0200
9761 Changed how the version number is specified in various places.
9762 Now configure.ac will get the version number directly from
9763 src/liblzma/api/lzma/version.h. The intent is to reduce the
9764 number of places where the version number is duplicated. In
9765 future, support for displaying Git commit ID may be added too.
9768 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++--
9769 src/liblzma/common/common.c | 2 +-
9770 src/xz/message.c | 2 +-
9771 src/xzdec/xzdec.c | 2 +-
9772 version.sh | 23 ++++++++++++++
9773 6 files changed, 95 insertions(+), 7 deletions(-)
9775 commit 1d924e584b146136989f48c13fff2632896efb3d
9776 Author: Lasse Collin <lasse.collin@tukaani.org>
9777 Date: 2009-02-13 17:30:30 +0200
9779 Fix handling of integrity check type in the xz command line tool.
9781 src/xz/args.c | 9 ++++++++-
9782 src/xz/process.c | 4 ++++
9783 2 files changed, 12 insertions(+), 1 deletion(-)
9785 commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
9786 Author: Lasse Collin <lasse.collin@tukaani.org>
9787 Date: 2009-02-13 17:29:02 +0200
9789 Improve support for DOS-like systems.
9790 Here DOS-like means DOS, Windows, and OS/2.
9792 src/common/physmem.h | 12 ++++++++++++
9793 src/common/sysdefs.h | 4 ++++
9794 src/liblzma/check/crc32_x86.S | 6 +++---
9795 src/liblzma/check/crc64_x86.S | 6 +++---
9796 src/xz/args.c | 13 +++++--------
9797 src/xz/io.c | 39 +++++++++++++++++++++++++--------------
9798 src/xz/main.c | 23 +++++++++++++++++++++++
9799 src/xz/message.c | 3 +++
9800 src/xz/suffix.c | 5 +++++
9801 src/xzdec/xzdec.c | 5 +++--
9802 10 files changed, 86 insertions(+), 30 deletions(-)
9804 commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
9805 Author: Lasse Collin <lasse.collin@tukaani.org>
9806 Date: 2009-02-11 20:02:32 +0200
9808 Remove dead directories from .gitignore.
9811 1 file changed, 2 deletions(-)
9813 commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
9814 Author: Jim Meyering <jim@meyering.net>
9815 Date: 2009-02-11 14:45:14 +0100
9817 .gitignore vs. Makefiles
9819 How about this for those of us who do srcdir builds?
9821 .gitignore | 22 ++++++++++++++++++++++
9822 1 file changed, 22 insertions(+)
9824 commit 154f5aec2de201c674841de4fcc9804c2a87af07
9825 Author: Lasse Collin <lasse.collin@tukaani.org>
9826 Date: 2009-02-10 21:48:35 +0200
9828 Removed Makefile from .gitignore since not all Makefiles
9829 in the repository are generated by Autotools. People
9830 should do test builds in a separate build directory anyway.
9833 1 file changed, 1 deletion(-)
9835 commit e605c2663691b0a4c307786aa368d124ea081daa
9836 Author: Lasse Collin <lasse.collin@tukaani.org>
9837 Date: 2009-02-10 21:48:05 +0200
9839 Added resource files for the Windows build.
9841 windows/Makefile | 37 ++++++++++++++++++++++---------------
9842 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++
9843 windows/liblzma.rc | 5 +++++
9844 windows/lzmadec.rc | 5 +++++
9845 windows/xz.rc | 5 +++++
9846 windows/xzdec.rc | 5 +++++
9847 6 files changed, 88 insertions(+), 15 deletions(-)
9849 commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
9850 Author: Lasse Collin <lasse.collin@tukaani.org>
9851 Date: 2009-02-09 14:54:31 +0200
9853 Let the user specify custom CFLAGS on the make command
9854 line. Previously custom CFLAGS worked only when they were
9855 passed to configure.
9857 configure.ac | 58 ++++++++++++++++++++++---------------------
9858 src/liblzma/check/Makefile.am | 2 +-
9859 2 files changed, 31 insertions(+), 29 deletions(-)
9861 commit 53f7598998b1860a69c51243b5d2e34623c6bf60
9862 Author: Lasse Collin <lasse.collin@tukaani.org>
9863 Date: 2009-02-08 21:35:11 +0200
9865 Fix aliasing issue in physmem.h.
9867 src/common/physmem.h | 19 ++++++++++---------
9868 1 file changed, 10 insertions(+), 9 deletions(-)
9870 commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
9871 Author: Lasse Collin <lasse.collin@tukaani.org>
9872 Date: 2009-02-08 18:24:50 +0200
9874 Add a separate internal function to initialize the CRC32
9875 table, which is used also by LZ encoder. This was needed
9876 because calling lzma_crc32() and ignoring the result is
9877 a no-op due to lzma_attr_pure.
9879 src/liblzma/check/check.h | 1 +
9880 src/liblzma/check/crc32_small.c | 10 +++++++++-
9881 src/liblzma/lz/lz_encoder.c | 4 ++--
9882 3 files changed, 12 insertions(+), 3 deletions(-)
9884 commit ae1ad9af54210c9a2be336b1316532da5071516c
9885 Author: Lasse Collin <lasse.collin@tukaani.org>
9886 Date: 2009-02-08 18:17:05 +0200
9888 Make "xz --force" to write to terminal as the error
9891 src/xz/main.c | 2 +-
9892 1 file changed, 1 insertion(+), 1 deletion(-)
9894 commit 79e25eded48d2fe33f31441ab7a034f902e335f8
9895 Author: Lasse Collin <lasse.collin@tukaani.org>
9896 Date: 2009-02-08 10:37:50 +0200
9898 Support both slash and backslash as path component
9899 separator on Windows when parsing argv[0].
9901 src/xz/args.c | 9 +++++++++
9902 1 file changed, 9 insertions(+)
9904 commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
9905 Author: Lasse Collin <lasse.collin@tukaani.org>
9906 Date: 2009-02-07 23:18:13 +0200
9908 Omit the wrong and (even if corrected) nowadays useless rm
9911 autogen.sh | 28 ----------------------------
9912 1 file changed, 28 deletions(-)
9914 commit edfc2031e56f8a2ccda063f02936b3a848d88723
9915 Author: Lasse Collin <lasse.collin@tukaani.org>
9916 Date: 2009-02-07 21:41:52 +0200
9921 1 file changed, 1 insertion(+)
9923 commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
9924 Author: Lasse Collin <lasse.collin@tukaani.org>
9925 Date: 2009-02-07 21:17:07 +0200
9927 Make it easy to choose if command line tools should be
9928 linked statically or dynamically against liblzma. The
9929 default is still to use static liblzma, but it can now
9930 be changed by passing --enable-dynamic to configure.
9931 Thanks to Mike Frysinger for the original patch.
9933 Fixed a few minor bugs in configure.ac.
9935 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++
9936 src/xz/Makefile.am | 8 +++-----
9937 src/xzdec/Makefile.am | 5 +++--
9938 3 files changed, 45 insertions(+), 7 deletions(-)
9940 commit 3f86532407e4ace3debb62be16035e009b56ca36
9941 Author: Mike Frysinger <vapier@gentoo.org>
9942 Date: 2009-02-06 23:38:39 -0500
9946 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
9948 .gitignore | 32 ++++++++++++++++++++++++++++++++
9949 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++
9950 po/.gitignore | 12 ++++++++++++
9951 3 files changed, 79 insertions(+)
9953 commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
9954 Author: Lasse Collin <lasse.collin@tukaani.org>
9955 Date: 2009-02-07 17:07:52 +0200
9957 Assume 32 MiB of RAM on unsupported operating systems like
9958 the comment in hardware.c already said.
9960 src/xz/hardware.c | 2 +-
9961 1 file changed, 1 insertion(+), 1 deletion(-)
9963 commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
9964 Author: Lasse Collin <lasse.collin@tukaani.org>
9965 Date: 2009-02-07 16:26:58 +0200
9967 MinGW support: Don't build fastpos_tablegen.c as part of
9968 liblzma. Build both static and dynamic liblzma, and also
9969 static and dynamic versions of the command line tools.
9971 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++--------------
9972 windows/README | 10 ------
9973 2 files changed, 69 insertions(+), 33 deletions(-)
9975 commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
9976 Author: Lasse Collin <lasse.collin@tukaani.org>
9977 Date: 2009-02-07 15:55:47 +0200
9979 Support LZMA_API_STATIC in assembler files to
9980 avoid __declspec(dllexport) equivalent.
9982 src/liblzma/check/crc32_x86.S | 4 ++++
9983 src/liblzma/check/crc64_x86.S | 2 ++
9984 2 files changed, 6 insertions(+)
9986 commit 3306cf3883492720b3c34baa02f4eb4227d91c73
9987 Author: Lasse Collin <lasse.collin@tukaani.org>
9988 Date: 2009-02-07 11:11:50 +0200
9990 Introduced LZMA_API_STATIC macro, which the applications
9991 need to #define when linking against static liblzma on
9992 platforms like Windows. Most developers don't need to
9993 care about LZMA_API_STATIC at all.
9995 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++-------
9996 src/liblzma/common/common.h | 2 +-
9997 2 files changed, 25 insertions(+), 8 deletions(-)
9999 commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
10000 Author: Lasse Collin <lasse.collin@tukaani.org>
10001 Date: 2009-02-06 16:55:45 +0200
10003 Another grammar fix
10006 1 file changed, 1 insertion(+), 1 deletion(-)
10008 commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
10009 Author: Lasse Collin <lasse.collin@tukaani.org>
10010 Date: 2009-02-06 12:30:23 +0200
10012 Grammar fix in README.
10015 1 file changed, 1 insertion(+), 1 deletion(-)
10017 commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
10018 Author: Lasse Collin <lasse.collin@tukaani.org>
10019 Date: 2009-02-06 10:06:32 +0200
10021 Some MSYS installations (e.g. MsysGit) don't include
10022 install.exe, so don't rely on it.
10024 windows/Makefile | 12 +++++++-----
10025 windows/README | 11 ++++++-----
10026 2 files changed, 13 insertions(+), 10 deletions(-)
10028 commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
10029 Author: Lasse Collin <lasse.collin@tukaani.org>
10030 Date: 2009-02-06 09:13:15 +0200
10032 Recreated the BCJ test files for x86 and SPARC. The old files
10033 were linked with crt*.o, which are copyrighted, and thus the
10034 old test files were not in the public domain as a whole. They
10035 are freely distributable though, but it is better to be careful
10036 and avoid including any copyrighted pieces in the test files.
10037 The new files are just compiled and assembled object files,
10038 and thus don't contain any copyrighted code.
10040 tests/bcj_test.c | 2 +-
10041 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes
10042 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes
10043 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes
10044 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes
10045 5 files changed, 1 insertion(+), 1 deletion(-)
10047 commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
10048 Author: Lasse Collin <lasse.collin@tukaani.org>
10049 Date: 2009-02-05 21:21:27 +0200
10051 Add the "windows" directory to EXTRA_DIST.
10054 1 file changed, 1 insertion(+)
10056 commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
10057 Author: Lasse Collin <lasse.collin@tukaani.org>
10058 Date: 2009-02-05 09:17:51 +0200
10060 Added initial experimental makefile for use with MinGW.
10062 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
10063 windows/README | 164 ++++++++++++++++++++++++++++++++++++
10064 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++
10065 3 files changed, 597 insertions(+)
10067 commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
10068 Author: Lasse Collin <lasse.collin@tukaani.org>
10069 Date: 2009-02-05 09:12:57 +0200
10071 Various code cleanups the the xz command line tool.
10072 It now builds with MinGW.
10074 src/common/physmem.h | 13 ++++
10075 src/xz/Makefile.am | 2 +
10076 src/xz/args.h | 8 ---
10077 src/xz/hardware.h | 10 +--
10078 src/xz/io.c | 93 +++++++++++++++++++-------
10079 src/xz/io.h | 12 ++--
10080 src/xz/main.c | 132 ++-----------------------------------
10081 src/xz/main.h | 22 -------
10082 src/xz/message.c | 65 ++++++++++++++++---
10083 src/xz/message.h | 6 --
10084 src/xz/options.h | 8 ---
10085 src/xz/private.h | 18 ++++--
10086 src/xz/process.h | 10 +--
10087 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++
10088 src/xz/signals.h | 51 +++++++++++++++
10089 src/xz/suffix.h | 5 --
10090 src/xz/util.c | 5 +-
10091 src/xz/util.h | 5 --
10092 18 files changed, 399 insertions(+), 246 deletions(-)
10094 commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
10095 Author: Lasse Collin <lasse.collin@tukaani.org>
10096 Date: 2009-02-03 12:15:17 +0200
10098 Another utime() fix.
10100 src/xz/io.c | 9 +++++----
10101 1 file changed, 5 insertions(+), 4 deletions(-)
10103 commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
10104 Author: Lasse Collin <lasse.collin@tukaani.org>
10105 Date: 2009-02-03 10:41:11 +0200
10107 Fix wrong filename argument for utime() and utimes().
10108 This doesn't affect most systems, since most systems
10109 have better functions available.
10111 src/xz/io.c | 4 ++--
10112 1 file changed, 2 insertions(+), 2 deletions(-)
10114 commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
10115 Author: Lasse Collin <lasse.collin@tukaani.org>
10116 Date: 2009-02-02 21:19:01 +0200
10118 Updated the x86 assembler code:
10119 - Use call/ret pair to get instruction pointer for PIC.
10120 - Use PIC only if PIC or __PIC__ is #defined.
10121 - The code should work on MinGW and Darwin in addition
10122 to GNU/Linux and Solaris.
10124 configure.ac | 6 ----
10125 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++-------
10126 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------
10127 3 files changed, 144 insertions(+), 28 deletions(-)
10129 commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
10130 Author: Lasse Collin <lasse.collin@tukaani.org>
10131 Date: 2009-02-02 20:14:03 +0200
10133 Modify LZMA_API macro so that it works on Windows with
10134 other compilers than MinGW. This may hurt readability
10135 of the API headers slightly, but I don't know any
10136 better way to do this.
10138 src/liblzma/api/lzma.h | 6 ++---
10139 src/liblzma/api/lzma/base.h | 11 ++++----
10140 src/liblzma/api/lzma/block.h | 22 ++++++++--------
10141 src/liblzma/api/lzma/check.h | 10 ++++----
10142 src/liblzma/api/lzma/container.h | 22 ++++++++--------
10143 src/liblzma/api/lzma/filter.h | 28 ++++++++++-----------
10144 src/liblzma/api/lzma/index.h | 40 +++++++++++++++---------------
10145 src/liblzma/api/lzma/index_hash.h | 10 ++++----
10146 src/liblzma/api/lzma/lzma.h | 6 ++---
10147 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
10148 src/liblzma/api/lzma/version.h | 4 +--
10149 src/liblzma/api/lzma/vli.h | 6 ++---
10150 src/liblzma/check/check.c | 4 +--
10151 src/liblzma/check/crc32_fast.c | 2 +-
10152 src/liblzma/check/crc32_small.c | 2 +-
10153 src/liblzma/check/crc64_fast.c | 2 +-
10154 src/liblzma/check/crc64_small.c | 2 +-
10155 src/liblzma/common/alone_decoder.c | 2 +-
10156 src/liblzma/common/alone_encoder.c | 2 +-
10157 src/liblzma/common/auto_decoder.c | 2 +-
10158 src/liblzma/common/block_buffer_decoder.c | 2 +-
10159 src/liblzma/common/block_buffer_encoder.c | 4 +--
10160 src/liblzma/common/block_decoder.c | 2 +-
10161 src/liblzma/common/block_encoder.c | 2 +-
10162 src/liblzma/common/block_header_decoder.c | 2 +-
10163 src/liblzma/common/block_header_encoder.c | 4 +--
10164 src/liblzma/common/block_util.c | 6 ++---
10165 src/liblzma/common/chunk_size.c | 2 +-
10166 src/liblzma/common/common.c | 16 ++++++------
10167 src/liblzma/common/common.h | 2 +-
10168 src/liblzma/common/easy.c | 6 ++---
10169 src/liblzma/common/filter_buffer_decoder.c | 2 +-
10170 src/liblzma/common/filter_buffer_encoder.c | 2 +-
10171 src/liblzma/common/filter_decoder.c | 8 +++---
10172 src/liblzma/common/filter_encoder.c | 12 ++++-----
10173 src/liblzma/common/filter_flags_decoder.c | 2 +-
10174 src/liblzma/common/filter_flags_encoder.c | 4 +--
10175 src/liblzma/common/index.c | 32 ++++++++++++------------
10176 src/liblzma/common/index_decoder.c | 4 +--
10177 src/liblzma/common/index_encoder.c | 4 +--
10178 src/liblzma/common/index_hash.c | 10 ++++----
10179 src/liblzma/common/stream_buffer_decoder.c | 2 +-
10180 src/liblzma/common/stream_buffer_encoder.c | 4 +--
10181 src/liblzma/common/stream_decoder.c | 2 +-
10182 src/liblzma/common/stream_encoder.c | 2 +-
10183 src/liblzma/common/stream_flags_common.c | 2 +-
10184 src/liblzma/common/stream_flags_decoder.c | 4 +--
10185 src/liblzma/common/stream_flags_encoder.c | 4 +--
10186 src/liblzma/common/vli_decoder.c | 2 +-
10187 src/liblzma/common/vli_encoder.c | 2 +-
10188 src/liblzma/common/vli_size.c | 2 +-
10189 src/liblzma/lz/lz_encoder.c | 2 +-
10190 src/liblzma/lzma/lzma_encoder.c | 2 +-
10191 src/liblzma/lzma/lzma_encoder_presets.c | 2 +-
10192 54 files changed, 177 insertions(+), 176 deletions(-)
10194 commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
10195 Author: Lasse Collin <lasse.collin@tukaani.org>
10196 Date: 2009-02-01 22:40:35 +0200
10198 Fix a bug in lzma_block_buffer_decode(), although this
10199 function should be rewritten anyway.
10201 src/liblzma/common/block_buffer_decoder.c | 8 ++++----
10202 1 file changed, 4 insertions(+), 4 deletions(-)
10204 commit 55fd41431e61fb8178858283d636b6781e33e847
10205 Author: Lasse Collin <lasse.collin@tukaani.org>
10206 Date: 2009-02-01 22:39:07 +0200
10208 Added initial version of raw buffer-to-buffer coding
10209 functions, and cleaned up filter.h API header a little.
10210 May be very buggy, not tested yet.
10212 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++-------
10213 src/liblzma/common/Makefile.am | 2 +
10214 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++
10215 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++
10216 4 files changed, 221 insertions(+), 20 deletions(-)
10218 commit 3e54ecee5cad30a5ca361a88a99230407abc0699
10219 Author: Lasse Collin <lasse.collin@tukaani.org>
10220 Date: 2009-02-01 00:11:20 +0200
10222 Fix missing newlines in xzdec.c.
10224 src/xzdec/xzdec.c | 6 +++---
10225 1 file changed, 3 insertions(+), 3 deletions(-)
10227 commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
10228 Author: Lasse Collin <lasse.collin@tukaani.org>
10229 Date: 2009-02-01 00:10:07 +0200
10231 Use __cdecl also for function pointers in liblzma API when
10234 src/liblzma/api/lzma.h | 18 +++++++++++-------
10235 src/liblzma/api/lzma/base.h | 4 ++--
10236 src/liblzma/common/common.h | 18 +++++++-----------
10237 3 files changed, 20 insertions(+), 20 deletions(-)
10239 commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
10240 Author: Lasse Collin <lasse.collin@tukaani.org>
10241 Date: 2009-01-31 11:01:48 +0200
10243 Add LZMA_API to liblzma API headers. It's useful at least
10244 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
10245 has to be #included separately where needed.
10247 src/common/sysdefs.h | 2 --
10248 src/liblzma/api/lzma.h | 17 ++++++++++++++
10249 src/liblzma/api/lzma/base.h | 10 ++++----
10250 src/liblzma/api/lzma/block.h | 25 +++++++++++---------
10251 src/liblzma/api/lzma/check.h | 12 ++++++----
10252 src/liblzma/api/lzma/container.h | 23 +++++++++---------
10253 src/liblzma/api/lzma/filter.h | 24 +++++++++----------
10254 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++----------------
10255 src/liblzma/api/lzma/index_hash.h | 11 +++++----
10256 src/liblzma/api/lzma/lzma.h | 8 ++++---
10257 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
10258 src/liblzma/api/lzma/version.h | 4 ++--
10259 src/liblzma/api/lzma/vli.h | 10 ++++----
10260 src/liblzma/common/common.h | 13 ++++++++--
10261 src/xz/private.h | 1 +
10262 src/xzdec/xzdec.c | 1 +
10263 tests/tests.h | 1 +
10264 17 files changed, 131 insertions(+), 88 deletions(-)
10266 commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
10267 Author: Lasse Collin <lasse.collin@tukaani.org>
10268 Date: 2009-01-31 10:13:09 +0200
10270 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
10272 src/xzdec/xzdec.c | 4 ++--
10273 1 file changed, 2 insertions(+), 2 deletions(-)
10275 commit 2dbdc5befb33c3703e4609809101047c67caf343
10276 Author: Lasse Collin <lasse.collin@tukaani.org>
10277 Date: 2009-01-31 10:02:52 +0200
10279 Fix two lines in lzma.h on which the # wasn't at the
10280 beginning of the line.
10282 src/liblzma/api/lzma.h | 4 ++--
10283 1 file changed, 2 insertions(+), 2 deletions(-)
10285 commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
10286 Author: Lasse Collin <lasse.collin@tukaani.org>
10287 Date: 2009-01-31 09:55:05 +0200
10289 Add support for using liblzma headers in MSVC, which has no
10290 stdint.h or inttypes.h.
10292 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++-----------------
10293 1 file changed, 46 insertions(+), 24 deletions(-)
10295 commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
10296 Author: Lasse Collin <lasse.collin@tukaani.org>
10297 Date: 2009-01-31 08:49:54 +0200
10299 Fix # -> ## in a macro in lzma.h.
10301 src/liblzma/api/lzma.h | 2 +-
10302 1 file changed, 1 insertion(+), 1 deletion(-)
10304 commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
10305 Author: Lasse Collin <lasse.collin@tukaani.org>
10306 Date: 2009-01-30 18:50:16 +0200
10310 README | 30 ++++++++++++++++++++----------
10311 1 file changed, 20 insertions(+), 10 deletions(-)
10313 commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
10314 Author: Lasse Collin <lasse.collin@tukaani.org>
10315 Date: 2009-01-30 00:29:58 +0200
10317 Remove dangling crc64_init.c.
10319 src/liblzma/check/crc64_init.c | 55 ------------------------------------------
10320 1 file changed, 55 deletions(-)
10322 commit 982da7ed314398420c38bf154a8f759d5f18b480
10323 Author: Lasse Collin <lasse.collin@tukaani.org>
10324 Date: 2009-01-28 17:16:38 +0200
10326 The .xz file format specification version 1.0.0 is now
10327 officially released. The format has been technically the same
10328 since 2008-11-19, but now that it is frozen, people can start
10329 using it without a fear that the format will break.
10331 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++----------------------
10332 1 file changed, 49 insertions(+), 35 deletions(-)
10334 commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
10335 Author: Lasse Collin <lasse.collin@tukaani.org>
10336 Date: 2009-01-28 08:45:59 +0200
10341 1 file changed, 1 insertion(+)
10343 commit 3241317093595db9f79104faafe93cb989c9f858
10344 Author: Lasse Collin <lasse.collin@tukaani.org>
10345 Date: 2009-01-28 08:43:26 +0200
10347 Fix uninitialized variables in alone_decoder.c. This bug was
10348 triggered by the previous commit, since these variables were
10349 not used by anything before support for a preset dictionary.
10351 src/liblzma/common/alone_decoder.c | 2 ++
10352 1 file changed, 2 insertions(+)
10354 commit f76e39cf930f888d460b443d18f977ebedea8b2a
10355 Author: Lasse Collin <lasse.collin@tukaani.org>
10356 Date: 2009-01-27 18:36:05 +0200
10358 Added initial support for preset dictionary for raw LZMA1
10359 and LZMA2. It is not supported by the .xz format or the xz
10360 command line tool yet.
10362 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++----------
10363 src/liblzma/lz/lz_decoder.h | 9 ++++++++-
10364 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++--
10365 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++---
10366 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++-----
10367 src/liblzma/lzma/lzma_decoder.c | 10 ++++++----
10368 src/liblzma/lzma/lzma_decoder.h | 2 +-
10369 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++-
10370 8 files changed, 77 insertions(+), 27 deletions(-)
10372 commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
10373 Author: Lasse Collin <lasse.collin@tukaani.org>
10374 Date: 2009-01-26 20:09:17 +0200
10376 Regenerate the CRC tables without trailing blanks.
10378 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------
10379 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------
10380 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
10381 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
10382 4 files changed, 2024 insertions(+), 2024 deletions(-)
10384 commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
10385 Author: Jim Meyering <meyering@redhat.com>
10386 Date: 2009-01-19 21:37:16 +0100
10388 remove trailing blanks from all but .xz files
10390 debug/known_sizes.c | 2 +-
10391 extra/scanlzma/scanlzma.c | 5 ++---
10392 src/liblzma/check/crc32_tablegen.c | 2 +-
10393 src/liblzma/check/crc64_tablegen.c | 2 +-
10394 src/scripts/lzdiff.1 | 4 ++--
10395 src/scripts/lzmore.1 | 6 +++---
10396 tests/test_compress.sh | 4 ++--
10397 7 files changed, 12 insertions(+), 13 deletions(-)
10399 commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
10400 Author: Lasse Collin <lasse.collin@tukaani.org>
10401 Date: 2009-01-26 14:34:10 +0200
10403 Add lzma_block_buffer_decode().
10405 src/liblzma/api/lzma/block.h | 41 +++++++++++++++
10406 src/liblzma/common/Makefile.am | 1 +
10407 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++
10408 3 files changed, 129 insertions(+)
10410 commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
10411 Author: Lasse Collin <lasse.collin@tukaani.org>
10412 Date: 2009-01-26 14:33:28 +0200
10414 Add more sanity checks to lzma_stream_buffer_decode().
10416 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++
10417 1 file changed, 7 insertions(+)
10419 commit c129748675a5daa8838df92bde32cc04f6ce61ba
10420 Author: Lasse Collin <lasse.collin@tukaani.org>
10421 Date: 2009-01-26 14:33:13 +0200
10423 Avoid hardcoded constant in easy.c.
10425 src/liblzma/common/easy.c | 2 +-
10426 1 file changed, 1 insertion(+), 1 deletion(-)
10428 commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
10429 Author: Lasse Collin <lasse.collin@tukaani.org>
10430 Date: 2009-01-26 13:06:49 +0200
10432 Tiny bit better sanity check in block_util.c
10434 src/liblzma/common/block_util.c | 2 +-
10435 1 file changed, 1 insertion(+), 1 deletion(-)
10437 commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
10438 Author: Lasse Collin <lasse.collin@tukaani.org>
10439 Date: 2009-01-25 01:35:56 +0200
10441 Fix a dumb bug in Block decoder, which made it return
10442 LZMA_DATA_ERROR with valid data. The bug was added in
10443 e114502b2bc371e4a45449832cb69be036360722.
10445 src/liblzma/common/block_decoder.c | 6 +++---
10446 1 file changed, 3 insertions(+), 3 deletions(-)
10448 commit c81f13ff29271de7293f8af3d81848b1dcae3d19
10449 Author: Lasse Collin <lasse.collin@tukaani.org>
10450 Date: 2009-01-23 22:27:50 +0200
10452 Added lzma_stream_buffer_decode() and made minor cleanups.
10454 src/liblzma/api/lzma/block.h | 3 +-
10455 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++-
10456 src/liblzma/common/Makefile.am | 1 +
10457 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++
10458 4 files changed, 144 insertions(+), 2 deletions(-)
10460 commit 0b3318661ce749550b8531dfd469639a08930391
10461 Author: Lasse Collin <lasse.collin@tukaani.org>
10462 Date: 2009-01-22 12:53:33 +0200
10466 src/liblzma/common/common.h | 2 +-
10467 1 file changed, 1 insertion(+), 1 deletion(-)
10469 commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
10470 Author: Lasse Collin <lasse.collin@tukaani.org>
10471 Date: 2009-01-20 16:37:27 +0200
10473 Add some single-call buffer-to-buffer coding functions.
10475 src/liblzma/api/lzma/block.h | 57 ++++++
10476 src/liblzma/api/lzma/container.h | 56 ++++++
10477 src/liblzma/api/lzma/index.h | 70 ++++++-
10478 src/liblzma/common/Makefile.am | 2 +
10479 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++
10480 src/liblzma/common/index_decoder.c | 83 ++++++--
10481 src/liblzma/common/index_encoder.c | 59 +++++-
10482 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++
10483 tests/test_index.c | 24 +++
10484 9 files changed, 768 insertions(+), 26 deletions(-)
10486 commit d8b58d099340f8f4007b24b211ee41a7210c061c
10487 Author: Lasse Collin <lasse.collin@tukaani.org>
10488 Date: 2009-01-20 13:45:41 +0200
10490 Block encoder cleanups
10492 src/liblzma/common/block_encoder.c | 28 +++++++---------------------
10493 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++
10494 2 files changed, 32 insertions(+), 21 deletions(-)
10496 commit 0c09810cb3635cb575cb54e694d41523e7d0a335
10497 Author: Lasse Collin <lasse.collin@tukaani.org>
10498 Date: 2009-01-20 10:35:15 +0200
10500 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
10502 src/liblzma/common/common.c | 24 ++++++++----------------
10503 1 file changed, 8 insertions(+), 16 deletions(-)
10505 commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
10506 Author: Lasse Collin <lasse.collin@tukaani.org>
10507 Date: 2009-01-19 22:53:18 +0200
10509 Fix handling of non-fatal errors in lzma_code().
10511 src/liblzma/common/common.c | 9 ++++++++-
10512 1 file changed, 8 insertions(+), 1 deletion(-)
10514 commit 4810b6bc25087be872960b9dd1d11ff07735dc88
10515 Author: Lasse Collin <lasse.collin@tukaani.org>
10516 Date: 2009-01-19 14:00:33 +0200
10518 Move some LZMA2 constants to lzma2_encoder.h so that they
10519 can be used outside lzma2_encoder.c.
10521 src/liblzma/lzma/lzma2_encoder.c | 13 -------------
10522 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++
10523 src/liblzma/lzma/lzma_encoder.c | 3 ++-
10524 3 files changed, 16 insertions(+), 14 deletions(-)
10526 commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
10527 Author: Lasse Collin <lasse.collin@tukaani.org>
10528 Date: 2009-01-19 13:52:36 +0200
10532 src/liblzma/lzma/lzma_encoder.h | 8 --------
10533 1 file changed, 8 deletions(-)
10535 commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
10536 Author: Lasse Collin <lasse.collin@tukaani.org>
10537 Date: 2009-01-17 14:24:25 +0200
10539 Beta was supposed to be API stable but I had forgot to rename
10540 lzma_memlimit_encoder and lzma_memlimit_decoder to
10541 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
10542 Now it is fixed. Hopefully it doesn't cause too much trouble
10543 to those who already thought API is stable.
10545 src/liblzma/api/lzma/filter.h | 4 ++--
10546 src/liblzma/common/easy.c | 4 ++--
10547 src/liblzma/common/filter_common.c | 2 +-
10548 src/liblzma/common/filter_common.h | 2 +-
10549 src/liblzma/common/filter_decoder.c | 4 ++--
10550 src/liblzma/common/filter_encoder.c | 4 ++--
10551 src/liblzma/common/stream_decoder.c | 2 +-
10552 src/xz/process.c | 6 +++---
10553 8 files changed, 14 insertions(+), 14 deletions(-)
10555 commit b056379490be5c584c264a967f0540041a163a1e
10556 Author: Lasse Collin <lasse.collin@tukaani.org>
10557 Date: 2009-01-15 14:29:22 +0200
10562 1 file changed, 1 insertion(+)
10564 commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
10565 Author: Lasse Collin <lasse.collin@tukaani.org>
10566 Date: 2009-01-15 14:27:32 +0200
10568 Fixed a bug in 7z2lzma.bash to make it work with .7z files
10569 that use something else than 2^n as the dictionary size.
10570 Thanks to Dan Shechter for the bug report.
10572 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++-----------------------
10573 1 file changed, 24 insertions(+), 23 deletions(-)
10575 commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
10576 Author: Lasse Collin <lasse.collin@tukaani.org>
10577 Date: 2009-01-07 18:41:15 +0200
10579 Use pthread_sigmask() instead of sigprocmask() when pthreads
10582 src/common/mythread.h | 6 ++++++
10583 src/xz/main.c | 4 ++--
10584 src/xz/private.h | 1 +
10585 3 files changed, 9 insertions(+), 2 deletions(-)
10587 commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
10588 Author: Lasse Collin <lasse.collin@tukaani.org>
10589 Date: 2008-12-31 20:01:00 +0200
10591 Bumped version to 4.999.8beta right after the release
10594 configure.ac | 2 +-
10595 src/liblzma/api/lzma/version.h | 2 +-
10596 2 files changed, 2 insertions(+), 2 deletions(-)
10598 commit 061748f5932719643cda73383db715167d543c22
10599 Author: Lasse Collin <lasse.collin@tukaani.org>
10600 Date: 2008-12-31 18:59:02 +0200
10602 Disable Subblock filter from test_compress.sh since it is
10603 disabled by default in configure.ac.
10605 tests/test_compress.sh | 22 +++++++++++++---------
10606 1 file changed, 13 insertions(+), 9 deletions(-)
10608 commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
10609 Author: Lasse Collin <lasse.collin@tukaani.org>
10610 Date: 2008-12-31 17:44:20 +0200
10612 Disable both Subblock encoder and decoder my default,
10613 since they are not finished and may have security issues too.
10615 configure.ac | 2 +-
10616 1 file changed, 1 insertion(+), 1 deletion(-)
10618 commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
10619 Author: Lasse Collin <lasse.collin@tukaani.org>
10620 Date: 2008-12-31 17:42:50 +0200
10622 Update some files in debug directory.
10624 debug/full_flush.c | 2 --
10625 debug/memusage.c | 2 --
10626 debug/sync_flush.c | 2 --
10627 3 files changed, 6 deletions(-)
10629 commit d1d17a40d33a9682424ca37282813492f2cba6d0
10630 Author: Lasse Collin <lasse.collin@tukaani.org>
10631 Date: 2008-12-31 17:41:46 +0200
10633 Prepare for 4.999.7beta release.
10636 README | 34 +++++++++++++++++-----------------
10637 configure.ac | 4 ++--
10638 src/liblzma/api/lzma/version.h | 2 +-
10639 4 files changed, 22 insertions(+), 22 deletions(-)
10641 commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
10642 Author: Lasse Collin <lasse.collin@tukaani.org>
10643 Date: 2008-12-31 17:15:03 +0200
10645 Cleaned up some comments in the API headers.
10647 src/liblzma/api/lzma/check.h | 23 +++++++++++------------
10648 src/liblzma/api/lzma/container.h | 2 +-
10649 src/liblzma/api/lzma/version.h | 4 +++-
10650 3 files changed, 15 insertions(+), 14 deletions(-)
10652 commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
10653 Author: Lasse Collin <lasse.collin@tukaani.org>
10654 Date: 2008-12-31 16:29:39 +0200
10656 Renamed lzma_options_simple to lzma_options_bcj in the API.
10657 The internal implementation is still using the name "simple".
10658 It may need some cleanups, so I look at it later.
10660 src/liblzma/api/Makefile.am | 2 +-
10661 src/liblzma/api/lzma.h | 2 +-
10662 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++++
10663 src/liblzma/api/lzma/simple.h | 94 -------------------------------------
10664 src/liblzma/simple/simple_coder.c | 2 +-
10665 src/liblzma/simple/simple_decoder.c | 4 +-
10666 src/liblzma/simple/simple_encoder.c | 4 +-
10667 tests/test_filter_flags.c | 8 ++--
10668 8 files changed, 105 insertions(+), 105 deletions(-)
10670 commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
10671 Author: Lasse Collin <lasse.collin@tukaani.org>
10672 Date: 2008-12-31 00:57:27 +0200
10674 Fixed missing quoting in configure.ac.
10676 configure.ac | 38 +++++++++++++++++++-------------------
10677 1 file changed, 19 insertions(+), 19 deletions(-)
10679 commit 28e75f7086dbe9501d926c370375c69dfb1236ce
10680 Author: Lasse Collin <lasse.collin@tukaani.org>
10681 Date: 2008-12-31 00:48:23 +0200
10683 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
10684 should have been in the previous commit.
10686 src/liblzma/Makefile.am | 4 ++--
10687 1 file changed, 2 insertions(+), 2 deletions(-)
10689 commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
10690 Author: Lasse Collin <lasse.collin@tukaani.org>
10691 Date: 2008-12-31 00:30:49 +0200
10693 Remove lzma_init() and other init functions from liblzma API.
10694 Half of developers were already forgetting to use these
10695 functions, which could have caused total breakage in some future
10696 liblzma version or even now if --enable-small was used. Now
10697 liblzma uses pthread_once() to do the initializations unless
10698 it has been built with --disable-threads which make these
10699 initializations thread-unsafe.
10701 When --enable-small isn't used, liblzma currently gets needlessly
10702 linked against libpthread (on systems that have it). While it is
10703 stupid for now, liblzma will need threads in future anyway, so
10704 this stupidity will be temporary only.
10706 When --enable-small is used, different code CRC32 and CRC64 is
10707 now used than without --enable-small. This made the resulting
10708 binary slightly smaller, but the main reason was to clean it up
10709 and to handle the lack of lzma_init_check().
10711 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
10712 sure if it works correctly and portably for static linking
10713 (Libs.private includes -pthread or other operating system
10714 specific flags). Hopefully someone complains if it is bad.
10716 lzma_rc_prices[] is now included as a precomputed array even
10717 with --enable-small. It's just 128 bytes now that it uses uint8_t
10718 instead of uint32_t. Smaller array seemed to be at least as fast
10719 as the more bloated uint32_t array on x86; hopefully it's not bad
10720 on other architectures.
10722 configure.ac | 29 ++++++++--
10723 src/common/mythread.h | 34 ++++++++++++
10724 src/liblzma/api/Makefile.am | 1 -
10725 src/liblzma/api/lzma.h | 1 -
10726 src/liblzma/api/lzma/init.h | 85 -----------------------------
10727 src/liblzma/check/Makefile.am | 29 ++++------
10728 src/liblzma/check/check.c | 10 ++--
10729 src/liblzma/check/check.h | 25 ++++-----
10730 src/liblzma/check/check_init.c | 37 -------------
10731 src/liblzma/check/crc32.c | 88 -------------------------------
10732 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++++
10733 src/liblzma/check/crc32_init.c | 55 -------------------
10734 src/liblzma/check/crc32_small.c | 54 +++++++++++++++++++
10735 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++---
10736 src/liblzma/check/crc64.c | 75 --------------------------
10737 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++++
10738 src/liblzma/check/crc64_small.c | 54 +++++++++++++++++++
10739 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++---
10740 src/liblzma/common/Makefile.am | 3 --
10741 src/liblzma/common/common.h | 1 +
10742 src/liblzma/common/init.c | 39 --------------
10743 src/liblzma/common/init_decoder.c | 31 -----------
10744 src/liblzma/common/init_encoder.c | 40 --------------
10745 src/liblzma/liblzma.pc.in | 12 +++++
10746 src/liblzma/lz/lz_encoder.c | 6 +++
10747 src/liblzma/lzma.pc.in | 11 ----
10748 src/liblzma/rangecoder/Makefile.am | 8 +--
10749 src/liblzma/rangecoder/price.h | 16 +-----
10750 src/liblzma/rangecoder/price_table.c | 2 +-
10751 src/liblzma/rangecoder/price_table_init.c | 55 -------------------
10752 src/liblzma/rangecoder/price_tablegen.c | 51 +++++++++++++++---
10753 src/xz/Makefile.am | 5 +-
10754 src/xz/main.c | 3 --
10755 src/xzdec/xzdec.c | 3 --
10756 tests/test_block_header.c | 1 -
10757 tests/test_check.c | 2 -
10758 tests/test_filter_flags.c | 2 -
10759 tests/test_index.c | 2 -
10760 tests/test_stream_flags.c | 2 -
10761 tests/tests.h | 2 +-
10762 40 files changed, 519 insertions(+), 628 deletions(-)
10764 commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
10765 Author: Lasse Collin <lasse.collin@tukaani.org>
10766 Date: 2008-12-27 19:40:31 +0200
10768 Use 28 MiB as memory usage limit for encoding in test_compress.sh.
10770 tests/test_compress.sh | 2 +-
10771 1 file changed, 1 insertion(+), 1 deletion(-)
10773 commit 050eb14d29e2537c014662e83599fd8a77f13c45
10774 Author: Lasse Collin <lasse.collin@tukaani.org>
10775 Date: 2008-12-27 19:32:20 +0200
10777 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
10778 that was related to LZMA_MODE_FAST. The original code is slightly
10779 faster although it compresses slightly worse. But since it is fast
10780 mode, it is better to select the faster version.
10782 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++---------------
10783 1 file changed, 8 insertions(+), 15 deletions(-)
10785 commit 4820f10d0f173864f6a2ea7479663b509ac53358
10786 Author: Lasse Collin <lasse.collin@tukaani.org>
10787 Date: 2008-12-27 19:30:19 +0200
10789 Some xz command line tool improvements.
10791 src/xz/args.c | 23 +++++-----
10792 src/xz/message.c | 4 +-
10793 src/xz/options.c | 2 +-
10794 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------
10795 src/xz/process.h | 3 ++
10796 5 files changed, 121 insertions(+), 44 deletions(-)
10798 commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
10799 Author: Lasse Collin <lasse.collin@tukaani.org>
10800 Date: 2008-12-27 19:27:49 +0200
10802 Bunch of liblzma tweaks, including some API changes.
10803 The API and ABI should now be very close to stable,
10804 although the code behind it isn't yet.
10806 src/liblzma/api/lzma.h | 8 ++--
10807 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++-
10808 src/liblzma/api/lzma/container.h | 76 +++++++++++++++----------------
10809 src/liblzma/api/lzma/lzma.h | 41 +++++++++--------
10810 src/liblzma/common/alone_decoder.c | 36 +++++++--------
10811 src/liblzma/common/alone_encoder.c | 22 ++++-----
10812 src/liblzma/common/auto_decoder.c | 2 +-
10813 src/liblzma/common/block_decoder.c | 54 +++++++++++-----------
10814 src/liblzma/common/block_decoder.h | 4 +-
10815 src/liblzma/common/block_encoder.c | 37 ++++++++-------
10816 src/liblzma/common/block_encoder.h | 4 +-
10817 src/liblzma/common/block_header_decoder.c | 41 +++++++++--------
10818 src/liblzma/common/block_header_encoder.c | 51 ++++++++++-----------
10819 src/liblzma/common/block_util.c | 3 +-
10820 src/liblzma/common/easy.c | 45 ++++++------------
10821 src/liblzma/common/stream_decoder.c | 3 +-
10822 src/liblzma/common/stream_decoder.h | 2 +-
10823 src/liblzma/common/stream_encoder.c | 3 +-
10824 src/liblzma/common/stream_encoder.h | 2 +-
10825 src/liblzma/common/stream_flags_decoder.c | 2 +-
10826 src/liblzma/common/stream_flags_encoder.c | 2 +-
10827 src/liblzma/lzma/lzma_encoder.c | 2 +-
10828 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++--------------
10829 23 files changed, 294 insertions(+), 262 deletions(-)
10831 commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
10832 Author: Lasse Collin <lasse.collin@tukaani.org>
10833 Date: 2008-12-18 13:42:52 +0200
10835 Updated Makefile.am that was missing from the previous commit.
10837 src/liblzma/common/Makefile.am | 1 -
10838 1 file changed, 1 deletion(-)
10840 commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
10841 Author: Lasse Collin <lasse.collin@tukaani.org>
10842 Date: 2008-12-17 21:49:53 +0200
10844 Remove the alignment functions for now. Maybe they will
10845 be added back in some form later, but the current version
10846 wasn't modular, so it would need fixing anyway.
10848 src/liblzma/api/Makefile.am | 1 -
10849 src/liblzma/api/lzma.h | 1 -
10850 src/liblzma/api/lzma/alignment.h | 60 ---------------------
10851 src/liblzma/common/alignment.c | 114 ---------------------------------------
10852 4 files changed, 176 deletions(-)
10854 commit 4fed98417d1687f5eccccb42a133fde3ec81216a
10855 Author: Lasse Collin <lasse.collin@tukaani.org>
10856 Date: 2008-12-17 20:11:23 +0200
10858 xz message handling improvements
10860 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
10861 src/xz/message.h | 7 +++-
10862 src/xz/process.c | 28 ++++++++++++-
10863 3 files changed, 146 insertions(+), 14 deletions(-)
10865 commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
10866 Author: Lasse Collin <lasse.collin@tukaani.org>
10867 Date: 2008-12-15 23:26:43 +0200
10869 Fix a dumb bug in .lzma decoder which was introduced in
10870 the previous commit. (Probably the previous commit has
10871 other bugs too, it wasn't tested.)
10873 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++---------------
10874 1 file changed, 14 insertions(+), 15 deletions(-)
10876 commit 671a5adf1e844bfdd6fd327016c3c28694493158
10877 Author: Lasse Collin <lasse.collin@tukaani.org>
10878 Date: 2008-12-15 19:39:13 +0200
10880 Bunch of liblzma API cleanups and fixes.
10882 src/liblzma/api/lzma.h | 122 +++++++++++----------
10883 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++-----------
10884 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++-------------
10885 src/liblzma/api/lzma/check.h | 28 ++---
10886 src/liblzma/api/lzma/container.h | 155 +++++++++++++-------------
10887 src/liblzma/api/lzma/delta.h | 12 +-
10888 src/liblzma/api/lzma/filter.h | 27 +++--
10889 src/liblzma/api/lzma/index.h | 97 ++++++++++++++---
10890 src/liblzma/api/lzma/index_hash.h | 26 +++--
10891 src/liblzma/api/lzma/init.h | 2 +-
10892 src/liblzma/api/lzma/lzma.h | 12 +-
10893 src/liblzma/api/lzma/simple.h | 4 +-
10894 src/liblzma/api/lzma/stream_flags.h | 46 +++++---
10895 src/liblzma/api/lzma/version.h | 6 +-
10896 src/liblzma/api/lzma/vli.h | 17 ++-
10897 src/liblzma/common/alone_decoder.c | 47 +++++---
10898 src/liblzma/common/auto_decoder.c | 29 +++++
10899 src/liblzma/common/block_util.c | 52 +++++----
10900 src/liblzma/common/common.c | 58 ++++++++++
10901 src/liblzma/common/common.h | 9 +-
10902 src/liblzma/common/easy.c | 33 ++++--
10903 src/liblzma/common/filter_common.c | 2 +-
10904 src/liblzma/common/index.c | 11 ++
10905 src/liblzma/common/index_decoder.c | 46 ++++++--
10906 src/liblzma/common/stream_decoder.c | 47 ++++++--
10907 src/liblzma/lzma/lzma2_encoder.c | 6 +-
10908 tests/test_index.c | 10 +-
10909 27 files changed, 863 insertions(+), 426 deletions(-)
10911 commit 17781c2c20fd77029cb32e77792889f2f211d69d
10912 Author: Lasse Collin <lasse.collin@tukaani.org>
10913 Date: 2008-12-15 14:26:52 +0200
10915 The LZMA2 decoder fix introduced a bug to LZ decoder,
10916 which made LZ decoder return too early after dictionary
10917 reset. This fixes it.
10919 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++----------
10920 1 file changed, 23 insertions(+), 10 deletions(-)
10922 commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
10923 Author: Lasse Collin <lasse.collin@tukaani.org>
10924 Date: 2008-12-15 11:20:22 +0200
10926 Added two new test files.
10928 tests/files/README | 7 +++++++
10929 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes
10930 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes
10931 3 files changed, 7 insertions(+)
10933 commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
10934 Author: Lasse Collin <lasse.collin@tukaani.org>
10935 Date: 2008-12-15 10:01:59 +0200
10937 Fix data corruption in LZMA2 decoder.
10939 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++-
10940 src/liblzma/lz/lz_decoder.h | 8 +++++---
10941 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++----
10942 3 files changed, 32 insertions(+), 8 deletions(-)
10944 commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
10945 Author: Lasse Collin <lasse.collin@tukaani.org>
10946 Date: 2008-12-13 00:54:11 +0200
10948 Name the package "xz" in configure.ac.
10950 configure.ac | 11 ++++-------
10951 1 file changed, 4 insertions(+), 7 deletions(-)
10953 commit a94bf00d0af9b423851905b031be5a645a657820
10954 Author: Lasse Collin <lasse.collin@tukaani.org>
10955 Date: 2008-12-12 22:43:21 +0200
10957 Some adjustments to GCC warning flags. The important change
10958 is the removal of -pedantic. It messes up -Werror (which I
10959 really want to keep so that I don't miss any warnings) with
10960 printf format strings that are in POSIX but not in C99.
10962 configure.ac | 8 +++++---
10963 1 file changed, 5 insertions(+), 3 deletions(-)
10965 commit 8582d392baacd2cdac07ca60041f8c661323676d
10966 Author: Lasse Collin <lasse.collin@tukaani.org>
10967 Date: 2008-12-10 01:31:00 +0200
10969 Remove obsolete comment.
10971 src/xz/message.c | 1 -
10972 1 file changed, 1 deletion(-)
10974 commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
10975 Author: Lasse Collin <lasse.collin@tukaani.org>
10976 Date: 2008-12-10 01:27:15 +0200
10978 Use "decompression" consistently in --long-help.
10980 src/xz/message.c | 2 +-
10981 1 file changed, 1 insertion(+), 1 deletion(-)
10983 commit 1ea9e7f15afd5d3981e2432710e932320597bca9
10984 Author: Lasse Collin <lasse.collin@tukaani.org>
10985 Date: 2008-12-10 01:23:58 +0200
10987 Added preset=NUM to --lzma1 and --lzma2. This makes it easy
10988 to take a preset as a template and modify it a little.
10990 src/xz/message.c | 1 +
10991 src/xz/options.c | 8 ++++++++
10992 2 files changed, 9 insertions(+)
10994 commit bceb3918dbb21f34976bfdd4c171a81319de71f7
10995 Author: Lasse Collin <lasse.collin@tukaani.org>
10996 Date: 2008-12-09 17:43:31 +0200
10998 Put the file format specification into the public domain.
10999 Same will be done to the actual code later.
11001 doc/file-format.txt | 24 +++++++++---------------
11002 1 file changed, 9 insertions(+), 15 deletions(-)
11004 commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
11005 Author: Lasse Collin <lasse.collin@tukaani.org>
11006 Date: 2008-12-09 17:41:49 +0200
11008 Make the memusage functions of LZMA1 and LZMA2 encoders
11009 to validate the filter options. Add missing validation
11010 to LZMA2 encoder when options are changed in the middle
11013 src/liblzma/lzma/lzma2_encoder.c | 5 ++++-
11014 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++-------------
11015 src/liblzma/lzma/lzma_encoder.h | 2 +-
11016 3 files changed, 35 insertions(+), 16 deletions(-)
11018 commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
11019 Author: Lasse Collin <lasse.collin@tukaani.org>
11020 Date: 2008-12-09 10:36:24 +0200
11025 1 file changed, 1 insertion(+)
11027 commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
11028 Author: Lasse Collin <lasse.collin@tukaani.org>
11029 Date: 2008-12-01 23:04:12 +0200
11031 In command line tool, take advantage of memusage calculation's
11032 ability to also validate the filter chain and options (not
11033 implemented yet for all filters).
11035 src/xz/process.c | 8 ++++----
11036 1 file changed, 4 insertions(+), 4 deletions(-)
11038 commit ccd57afa09e332d664d6d6a7498702791ea5f659
11039 Author: Lasse Collin <lasse.collin@tukaani.org>
11040 Date: 2008-12-01 22:59:28 +0200
11042 Validate the filter chain before checking filter-specific
11045 src/liblzma/common/filter_common.c | 14 ++++++++++----
11046 1 file changed, 10 insertions(+), 4 deletions(-)
11048 commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
11049 Author: Lasse Collin <lasse.collin@tukaani.org>
11050 Date: 2008-12-01 22:58:22 +0200
11052 Make the memusage functions of LZMA1 and LZMA2 decoders
11053 to validate the filter options.
11055 src/liblzma/lzma/lzma2_decoder.c | 7 ++-----
11056 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++----
11057 src/liblzma/lzma/lzma_decoder.h | 5 +++++
11058 3 files changed, 17 insertions(+), 9 deletions(-)
11060 commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
11061 Author: Lasse Collin <lasse.collin@tukaani.org>
11062 Date: 2008-12-01 22:55:18 +0200
11064 Added the changes for Delta filter that should have been
11065 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
11067 src/liblzma/common/filter_decoder.c | 2 +-
11068 src/liblzma/common/filter_encoder.c | 2 +-
11069 2 files changed, 2 insertions(+), 2 deletions(-)
11071 commit cd708015202dbf7585b84a8781462a20c42a324b
11072 Author: Lasse Collin <lasse.collin@tukaani.org>
11073 Date: 2008-12-01 22:50:28 +0200
11075 LZMA2 decoder cleanups. Make it require new LZMA properties
11076 also in the first LZMA chunk after a dictionary reset in
11077 uncompressed chunk.
11079 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++-----------------------
11080 1 file changed, 41 insertions(+), 54 deletions(-)
11082 commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
11083 Author: Lasse Collin <lasse.collin@tukaani.org>
11084 Date: 2008-12-01 16:30:11 +0200
11086 Added lzma_delta_coder_memusage() which also validates
11089 src/liblzma/delta/Makefile.am | 3 ++-
11090 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++-------
11091 src/liblzma/delta/delta_common.h | 19 +----------------
11092 src/liblzma/delta/delta_decoder.c | 2 +-
11093 src/liblzma/delta/delta_decoder.h | 2 +-
11094 src/liblzma/delta/delta_encoder.c | 14 ++++---------
11095 src/liblzma/delta/delta_encoder.h | 2 +-
11096 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++
11097 8 files changed, 75 insertions(+), 39 deletions(-)
11099 commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
11100 Author: Lasse Collin <lasse.collin@tukaani.org>
11101 Date: 2008-11-29 10:03:49 +0200
11103 Automake includes the m4 directory, so don't add it in
11104 Makefile.am separately.
11110 2 files changed, 1 insertion(+), 1 deletion(-)
11112 commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
11113 Author: Lasse Collin <lasse.collin@tukaani.org>
11114 Date: 2008-11-28 12:00:48 +0200
11116 Tested using COLUMNS environment variable to avoid broken
11117 progress indicator but since COLUMNS isn't usually available,
11118 the code was left commented out.
11120 src/xz/message.c | 14 +++++++++-----
11121 1 file changed, 9 insertions(+), 5 deletions(-)
11123 commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
11124 Author: Lasse Collin <lasse.collin@tukaani.org>
11125 Date: 2008-11-27 19:28:59 +0200
11127 Cleanups to message.c.
11129 src/xz/message.c | 47 ++++++++++++++++++-----------------------------
11130 1 file changed, 18 insertions(+), 29 deletions(-)
11132 commit a8368b75cdcd5427299001cc42839287f27b244d
11133 Author: Lasse Collin <lasse.collin@tukaani.org>
11134 Date: 2008-11-25 02:37:47 +0200
11136 Remove the nowadays unneeded memory limitting malloc() wrapper.
11138 src/liblzma/api/Makefile.am | 1 -
11139 src/liblzma/api/lzma.h | 1 -
11140 src/liblzma/api/lzma/memlimit.h | 207 --------------------------
11141 src/liblzma/common/Makefile.am | 1 -
11142 src/liblzma/common/memory_limiter.c | 288 ------------------------------------
11143 tests/Makefile.am | 2 -
11144 tests/test_memlimit.c | 114 --------------
11145 7 files changed, 614 deletions(-)
11147 commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
11148 Author: Lasse Collin <lasse.collin@tukaani.org>
11149 Date: 2008-11-23 15:09:03 +0200
11151 VLI encoder and decoder cleanups. Made encoder return
11152 LZMA_PROG_ERROR in single-call mode if there's no output
11155 src/liblzma/common/vli_decoder.c | 15 +++++++++------
11156 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++-------
11157 2 files changed, 33 insertions(+), 13 deletions(-)
11159 commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
11160 Author: Lasse Collin <lasse.collin@tukaani.org>
11161 Date: 2008-11-22 17:44:33 +0200
11165 src/xz/process.c | 2 +-
11166 1 file changed, 1 insertion(+), 1 deletion(-)
11168 commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
11169 Author: Lasse Collin <lasse.collin@tukaani.org>
11170 Date: 2008-11-20 22:59:10 +0200
11172 Support NetBSD's errno for O_NOFOLLOW.
11174 src/xz/io.c | 8 ++++++++
11175 1 file changed, 8 insertions(+)
11177 commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
11178 Author: Lasse Collin <lasse.collin@tukaani.org>
11179 Date: 2008-11-20 18:05:52 +0200
11181 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
11182 files and lzmadec only .lzma files.
11184 src/xzdec/Makefile.am | 7 +-
11185 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++----------------------------
11186 2 files changed, 140 insertions(+), 178 deletions(-)
11188 commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
11189 Author: Lasse Collin <lasse.collin@tukaani.org>
11190 Date: 2008-11-20 11:01:29 +0200
11192 Minor cleanups to xzdec.
11194 src/xzdec/xzdec.c | 20 ++++++++++----------
11195 1 file changed, 10 insertions(+), 10 deletions(-)
11197 commit 54f716ba8905d09752dcd1519455a40bd21d5317
11198 Author: Lasse Collin <lasse.collin@tukaani.org>
11199 Date: 2008-11-19 23:55:22 +0200
11201 Added missing check for uint16_t.
11204 1 file changed, 1 insertion(+)
11206 commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
11207 Author: Lasse Collin <lasse.collin@tukaani.org>
11208 Date: 2008-11-19 23:52:24 +0200
11210 Renamed lzma to xz and lzmadec to xzdec. We create symlinks
11211 lzma, unlzma, and lzcat in "make install" for backwards
11212 compatibility with LZMA Utils 4.32.x; I'm not sure if this
11213 should be the default though.
11215 configure.ac | 4 +-
11216 po/POTFILES.in | 21 +-
11217 src/Makefile.am | 2 +-
11218 src/lzma/Makefile.am | 72 ----
11219 src/lzma/args.c | 500 ---------------------------
11220 src/lzma/args.h | 56 ---
11221 src/lzma/hardware.c | 122 -------
11222 src/lzma/hardware.h | 45 ---
11223 src/lzma/io.c | 658 -----------------------------------
11224 src/lzma/io.h | 97 ------
11225 src/lzma/list.c | 477 --------------------------
11226 src/lzma/main.c | 402 ----------------------
11227 src/lzma/main.h | 60 ----
11228 src/lzma/message.c | 892 ------------------------------------------------
11229 src/lzma/message.h | 132 -------
11230 src/lzma/options.c | 352 -------------------
11231 src/lzma/options.h | 46 ---
11232 src/lzma/private.h | 52 ---
11233 src/lzma/process.c | 391 ---------------------
11234 src/lzma/process.h | 70 ----
11235 src/lzma/suffix.c | 213 ------------
11236 src/lzma/suffix.h | 40 ---
11237 src/lzma/util.c | 199 -----------
11238 src/lzma/util.h | 71 ----
11239 src/lzmadec/Makefile.am | 29 --
11240 src/lzmadec/lzmadec.c | 492 --------------------------
11241 src/xz/Makefile.am | 74 ++++
11242 src/xz/args.c | 500 +++++++++++++++++++++++++++
11243 src/xz/args.h | 56 +++
11244 src/xz/hardware.c | 122 +++++++
11245 src/xz/hardware.h | 45 +++
11246 src/xz/io.c | 658 +++++++++++++++++++++++++++++++++++
11247 src/xz/io.h | 97 ++++++
11248 src/xz/list.c | 477 ++++++++++++++++++++++++++
11249 src/xz/main.c | 402 ++++++++++++++++++++++
11250 src/xz/main.h | 60 ++++
11251 src/xz/message.c | 892 ++++++++++++++++++++++++++++++++++++++++++++++++
11252 src/xz/message.h | 132 +++++++
11253 src/xz/options.c | 352 +++++++++++++++++++
11254 src/xz/options.h | 46 +++
11255 src/xz/private.h | 52 +++
11256 src/xz/process.c | 391 +++++++++++++++++++++
11257 src/xz/process.h | 70 ++++
11258 src/xz/suffix.c | 213 ++++++++++++
11259 src/xz/suffix.h | 40 +++
11260 src/xz/util.c | 199 +++++++++++
11261 src/xz/util.h | 71 ++++
11262 src/xzdec/Makefile.am | 29 ++
11263 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++
11264 tests/test_compress.sh | 29 +-
11265 tests/test_files.sh | 4 +-
11266 51 files changed, 5498 insertions(+), 5500 deletions(-)
11268 commit e114502b2bc371e4a45449832cb69be036360722
11269 Author: Lasse Collin <lasse.collin@tukaani.org>
11270 Date: 2008-11-19 20:46:52 +0200
11272 Oh well, big messy commit again. Some highlights:
11273 - Updated to the latest, probably final file format version.
11274 - Command line tool reworked to not use threads anymore.
11275 Threading will probably go into liblzma anyway.
11276 - Memory usage limit is now about 30 % for uncompression
11277 and about 90 % for compression.
11278 - Progress indicator with --verbose
11279 - Simplified --help and full --long-help
11280 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
11284 configure.ac | 48 +-
11285 debug/full_flush.c | 6 +-
11286 debug/known_sizes.c | 2 +-
11287 debug/memusage.c | 2 +-
11288 debug/sync_flush.c | 10 +-
11289 doc/file-format.txt | 260 ++++----
11290 lib/Makefile.am | 10 +-
11291 lib/getopt.c | 14 +-
11292 lib/getopt.in.h | 226 +++++++
11293 lib/getopt1.c | 8 +-
11294 lib/getopt_.h | 226 -------
11295 lib/gettext.h | 240 -------
11296 m4/getopt.m4 | 64 +-
11297 src/common/bswap.h | 15 +-
11298 src/common/physmem.h | 4 +
11299 src/common/sysdefs.h | 12 +-
11300 src/liblzma/api/lzma/block.h | 47 +-
11301 src/liblzma/api/lzma/filter.h | 8 +
11302 src/liblzma/api/lzma/index.h | 20 +-
11303 src/liblzma/api/lzma/index_hash.h | 4 +-
11304 src/liblzma/common/block_decoder.c | 59 +-
11305 src/liblzma/common/block_encoder.c | 41 +-
11306 src/liblzma/common/block_header_decoder.c | 31 +-
11307 src/liblzma/common/block_header_encoder.c | 69 +--
11308 src/liblzma/common/block_util.c | 45 +-
11309 src/liblzma/common/common.h | 8 -
11310 src/liblzma/common/filter_common.c | 4 +-
11311 src/liblzma/common/index.c | 259 ++++----
11312 src/liblzma/common/index.h | 33 +-
11313 src/liblzma/common/index_decoder.c | 31 +-
11314 src/liblzma/common/index_encoder.c | 16 +-
11315 src/liblzma/common/index_hash.c | 68 +-
11316 src/liblzma/common/stream_decoder.c | 9 +-
11317 src/liblzma/common/stream_encoder.c | 6 +-
11318 src/liblzma/lz/lz_decoder.h | 4 +-
11319 src/liblzma/subblock/subblock_decoder.c | 3 +-
11320 src/lzma/Makefile.am | 9 +-
11321 src/lzma/alloc.c | 106 ----
11322 src/lzma/alloc.h | 42 --
11323 src/lzma/args.c | 531 +++++++---------
11324 src/lzma/args.h | 42 +-
11325 src/lzma/error.c | 162 -----
11326 src/lzma/error.h | 67 --
11327 src/lzma/hardware.c | 75 ++-
11328 src/lzma/hardware.h | 16 +-
11329 src/lzma/help.c | 170 -----
11330 src/lzma/help.h | 32 -
11331 src/lzma/io.c | 757 +++++++++++------------
11332 src/lzma/io.h | 51 +-
11333 src/lzma/main.c | 392 ++++++++----
11334 src/lzma/main.h | 60 ++
11335 src/lzma/message.c | 892 +++++++++++++++++++++++++++
11336 src/lzma/message.h | 132 ++++
11337 src/lzma/options.c | 42 +-
11338 src/lzma/options.h | 6 +-
11339 src/lzma/private.h | 28 +-
11340 src/lzma/process.c | 525 ++++++++--------
11341 src/lzma/process.h | 40 ++
11342 src/lzma/suffix.c | 52 +-
11343 src/lzma/suffix.h | 17 +-
11344 src/lzma/util.c | 100 +--
11345 src/lzma/util.h | 43 +-
11346 src/lzmadec/lzmadec.c | 36 +-
11347 tests/files/README | 12 +-
11348 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes
11349 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes
11350 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes
11351 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes
11352 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes
11353 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes
11354 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes
11355 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes
11356 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes
11357 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes
11358 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes
11359 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes
11360 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes
11361 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes
11362 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes
11363 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes
11364 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes
11365 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes
11366 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes
11367 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes
11368 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes
11369 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes
11370 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes
11371 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes
11372 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes
11373 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes
11374 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes
11375 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes
11376 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes
11377 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes
11378 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes
11379 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes
11380 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes
11381 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes
11382 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes
11383 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes
11384 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes
11385 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes
11386 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes
11387 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes
11388 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes
11389 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes
11390 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes
11391 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes
11392 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes
11393 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes
11394 tests/test_block_header.c | 16 +-
11395 tests/test_index.c | 42 +-
11396 113 files changed, 3462 insertions(+), 2946 deletions(-)
11398 commit 3c3905b53462ae235c9438d86a4dc51086410932
11399 Author: Lasse Collin <lasse.collin@tukaani.org>
11400 Date: 2008-10-09 11:12:29 +0300
11402 Fixed the test that should have been fixed as part
11403 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
11405 tests/test_block_header.c | 2 +-
11406 1 file changed, 1 insertion(+), 1 deletion(-)
11408 commit 0f295bf7a3ece01f667caae318cc3e3424085886
11409 Author: Lasse Collin <lasse.collin@tukaani.org>
11410 Date: 2008-10-07 16:42:18 +0300
11412 Fixed some help messages.
11414 src/lzma/help.c | 6 +++---
11415 1 file changed, 3 insertions(+), 3 deletions(-)
11417 commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
11418 Author: Lasse Collin <lasse.collin@tukaani.org>
11419 Date: 2008-10-07 09:40:31 +0300
11421 Made the preset numbering more logical in liblzma API.
11423 src/liblzma/api/lzma/container.h | 20 ++++++++++----------
11424 src/liblzma/api/lzma/lzma.h | 2 +-
11425 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++-
11426 src/lzma/args.c | 8 ++++----
11427 src/lzma/args.h | 2 +-
11428 5 files changed, 18 insertions(+), 17 deletions(-)
11430 commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
11431 Author: Lasse Collin <lasse.collin@tukaani.org>
11432 Date: 2008-10-03 19:36:09 +0300
11434 Removed fi from po/LINGUAS.
11437 1 file changed, 1 deletion(-)
11439 commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
11440 Author: Lasse Collin <lasse.collin@tukaani.org>
11441 Date: 2008-10-03 07:06:48 +0300
11443 Fixed suffix handling with --format=raw.
11445 src/lzma/suffix.c | 28 +++++++++++++++++++---------
11446 1 file changed, 19 insertions(+), 9 deletions(-)
11448 commit bd137524f2f50e30ba054f42f1f6536cd3cee920
11449 Author: Lasse Collin <lasse.collin@tukaani.org>
11450 Date: 2008-10-02 22:51:46 +0300
11452 Initial changes to change the suffix of the new format to .xz.
11453 This also fixes a bug related to --suffix option. Some issues
11454 with suffixes with --format=raw were not fixed.
11456 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++--------------
11457 src/lzma/args.h | 13 +++++----
11458 src/lzma/help.c | 4 +--
11459 src/lzma/process.c | 24 +++++++++-------
11460 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++---------
11461 tests/test_compress.sh | 3 +-
11462 6 files changed, 133 insertions(+), 52 deletions(-)
11464 commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
11465 Author: Lasse Collin <lasse.collin@tukaani.org>
11466 Date: 2008-09-30 17:43:55 +0300
11468 Renamed the test files from .lzma suffix to .xz suffix.
11470 tests/files/README | 128 ++++++++++++-------------
11471 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes
11472 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes
11473 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes
11474 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes
11475 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes
11476 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes
11477 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes
11478 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes
11479 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes
11480 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes
11481 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes
11482 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes
11483 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes
11484 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes
11485 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes
11486 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes
11487 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes
11488 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes
11489 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes
11490 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes
11491 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes
11492 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes
11493 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes
11494 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes
11495 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes
11496 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes
11497 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes
11498 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes
11499 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes
11500 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes
11501 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes
11502 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes
11503 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes
11504 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes
11505 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes
11506 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes
11507 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes
11508 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes
11509 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes
11510 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes
11511 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes
11512 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes
11513 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes
11514 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes
11515 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes
11516 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes
11517 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes
11518 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes
11519 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes
11520 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes
11521 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes
11522 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes
11523 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes
11524 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes
11525 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes
11526 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes
11527 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes
11528 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes
11529 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes
11530 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes
11531 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes
11532 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes
11533 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes
11534 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes
11535 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes
11536 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes
11537 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes
11538 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes
11539 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes
11540 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes
11541 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes
11542 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes
11543 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes
11544 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes
11545 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes
11546 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes
11547 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes
11548 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes
11549 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes
11550 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes
11551 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes
11552 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes
11553 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes
11554 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes
11555 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes
11556 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes
11557 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes
11558 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes
11559 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes
11560 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes
11561 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes
11562 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes
11563 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes
11564 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes
11565 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes
11566 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes
11567 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes
11568 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes
11569 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes
11570 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes
11571 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes
11572 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes
11573 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes
11574 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes
11575 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes
11576 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes
11577 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes
11578 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes
11579 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes
11580 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes
11581 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes
11582 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes
11583 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes
11584 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes
11585 tests/test_files.sh | 6 +-
11586 116 files changed, 66 insertions(+), 68 deletions(-)
11588 commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
11589 Author: Lasse Collin <lasse.collin@tukaani.org>
11590 Date: 2008-09-30 13:57:44 +0300
11592 Fixed Stream decoder to actually use the first_stream variable.
11594 src/liblzma/common/stream_decoder.c | 5 +++++
11595 1 file changed, 5 insertions(+)
11597 commit 3bdbc12c054d1961133ee19802af7dd3c3494543
11598 Author: Lasse Collin <lasse.collin@tukaani.org>
11599 Date: 2008-09-30 13:56:57 +0300
11601 Added one more test file.
11603 tests/files/README | 15 +++++++++++----
11604 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes
11605 2 files changed, 11 insertions(+), 4 deletions(-)
11607 commit a6639022fdc536e5659b070a465221b4cf7c51fa
11608 Author: Lasse Collin <lasse.collin@tukaani.org>
11609 Date: 2008-09-30 13:34:07 +0300
11611 Fixed uninitialized variable in Stream decoder.
11613 src/liblzma/common/stream_decoder.c | 1 +
11614 1 file changed, 1 insertion(+)
11616 commit ed3709000a3f17ecefab29b2235d7e2221b00003
11617 Author: Lasse Collin <lasse.collin@tukaani.org>
11618 Date: 2008-09-30 13:27:28 +0300
11620 Added two test files.
11622 tests/files/README | 6 ++++++
11623 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes
11624 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes
11625 3 files changed, 6 insertions(+)
11627 commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
11628 Author: Lasse Collin <lasse.collin@tukaani.org>
11629 Date: 2008-09-27 23:49:24 +0300
11631 Fix conflicting Subblock helper filter's ID.
11633 src/liblzma/common/common.h | 2 +-
11634 1 file changed, 1 insertion(+), 1 deletion(-)
11636 commit ad97483b6e55142fd8d5c041db057017a891cd95
11637 Author: Lasse Collin <lasse.collin@tukaani.org>
11638 Date: 2008-09-27 23:37:13 +0300
11640 Changed magic bytes to match the updated spec. Filename
11641 suffix wasn't changed yet.
11643 src/liblzma/common/auto_decoder.c | 4 ++--
11644 src/liblzma/common/stream_flags_common.c | 2 +-
11645 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes
11646 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes
11647 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes
11648 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes
11649 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes
11650 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes
11651 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes
11652 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes
11653 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes
11654 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes
11655 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes
11656 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes
11657 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes
11658 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes
11659 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes
11660 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes
11661 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes
11662 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes
11663 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes
11664 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes
11665 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes
11666 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes
11667 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes
11668 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes
11669 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes
11670 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes
11671 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes
11672 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes
11673 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes
11674 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes
11675 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes
11676 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes
11677 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes
11678 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes
11679 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes
11680 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes
11681 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes
11682 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes
11683 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes
11684 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes
11685 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes
11686 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes
11687 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes
11688 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes
11689 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes
11690 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes
11691 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes
11692 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes
11693 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes
11694 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes
11695 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes
11696 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes
11697 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes
11698 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes
11699 56 files changed, 3 insertions(+), 3 deletions(-)
11701 commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
11702 Author: Lasse Collin <lasse.collin@tukaani.org>
11703 Date: 2008-09-27 23:16:09 +0300
11705 Remove po/fi.po since I'm not keeping it updated for now.
11707 po/fi.po | 446 ---------------------------------------------------------------
11708 1 file changed, 446 deletions(-)
11710 commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
11711 Author: Lasse Collin <lasse.collin@tukaani.org>
11712 Date: 2008-09-27 23:13:54 +0300
11714 Fix also test_compress.sh.
11716 tests/test_compress.sh | 6 +++---
11717 1 file changed, 3 insertions(+), 3 deletions(-)
11719 commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
11720 Author: Lasse Collin <lasse.collin@tukaani.org>
11721 Date: 2008-09-27 23:01:15 +0300
11723 Fixed compilation of test_filter_flags.c, which was broken by
11724 1dcecfb09b55157b8653d747963069c8bed74f04.
11726 tests/test_filter_flags.c | 16 ++++++++--------
11727 1 file changed, 8 insertions(+), 8 deletions(-)
11729 commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
11730 Author: Lasse Collin <lasse.collin@tukaani.org>
11731 Date: 2008-09-27 19:11:02 +0300
11733 Updated file format specification. It changes the suffix
11734 of the new format to .xz and removes the recently added
11737 doc/file-format.txt | 125 ++++++++++++++--------------------------------------
11738 1 file changed, 32 insertions(+), 93 deletions(-)
11740 commit 1dcecfb09b55157b8653d747963069c8bed74f04
11741 Author: Lasse Collin <lasse.collin@tukaani.org>
11742 Date: 2008-09-27 19:09:21 +0300
11744 Some API changes, bug fixes, cleanups etc.
11746 configure.ac | 18 +-
11747 debug/full_flush.c | 7 +-
11748 debug/known_sizes.c | 6 +-
11749 debug/memusage.c | 22 +--
11750 debug/sync_flush.c | 18 +-
11751 src/liblzma/Makefile.am | 2 +-
11752 src/liblzma/api/lzma/delta.h | 8 +-
11753 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++---------
11754 src/liblzma/common/alignment.c | 7 +-
11755 src/liblzma/common/alone_decoder.c | 11 +-
11756 src/liblzma/common/alone_encoder.c | 9 +-
11757 src/liblzma/common/chunk_size.c | 2 +-
11758 src/liblzma/common/easy.c | 20 ++-
11759 src/liblzma/common/filter_common.c | 4 +-
11760 src/liblzma/common/filter_decoder.c | 4 +-
11761 src/liblzma/common/filter_encoder.c | 4 +-
11762 src/liblzma/common/init_encoder.c | 2 +-
11763 src/liblzma/delta/delta_common.c | 12 +-
11764 src/liblzma/delta/delta_common.h | 2 +-
11765 src/liblzma/delta/delta_decoder.c | 2 +-
11766 src/liblzma/delta/delta_encoder.c | 6 +-
11767 src/liblzma/lz/lz_encoder.c | 30 ++--
11768 src/liblzma/lz/lz_encoder.h | 26 +--
11769 src/liblzma/lz/lz_encoder_mf.c | 30 ++--
11770 src/liblzma/lzma/Makefile.am | 4 +-
11771 src/liblzma/lzma/lzma2_decoder.c | 10 +-
11772 src/liblzma/lzma/lzma2_encoder.c | 27 ++-
11773 src/liblzma/lzma/lzma_common.h | 26 ++-
11774 src/liblzma/lzma/lzma_decoder.c | 37 ++--
11775 src/liblzma/lzma/lzma_encoder.c | 51 +++---
11776 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +-
11777 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +--
11778 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++--
11779 src/liblzma/rangecoder/Makefile.am | 4 +-
11780 src/liblzma/subblock/subblock_decoder.c | 2 +-
11781 src/lzma/args.c | 33 ++--
11782 src/lzma/help.c | 17 +-
11783 src/lzma/options.c | 92 +++++-----
11784 tests/test_block_header.c | 9 +-
11785 tests/test_compress.sh | 4 +-
11786 tests/test_filter_flags.c | 2 +-
11787 41 files changed, 482 insertions(+), 398 deletions(-)
11789 commit 5cc5064cae603b649c64c40125c7dd365de54c9d
11790 Author: Lasse Collin <lasse.collin@tukaani.org>
11791 Date: 2008-09-27 11:28:49 +0300
11793 Added 7z2lzma.bash.
11795 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++
11796 1 file changed, 114 insertions(+)
11798 commit f147666a5cd15542d4e427da58629f4a71cc38e1
11799 Author: Lasse Collin <lasse.collin@tukaani.org>
11800 Date: 2008-09-17 22:11:39 +0300
11802 Miscellaneous LZ and LZMA encoder cleanups
11804 src/liblzma/api/lzma/lzma.h | 14 -------
11805 src/liblzma/lz/lz_encoder.c | 8 +++-
11806 src/liblzma/lzma/Makefile.am | 1 -
11807 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++--------------------
11808 src/liblzma/lzma/lzma_encoder_features.c | 59 -----------------------------
11809 5 files changed, 29 insertions(+), 117 deletions(-)
11811 commit 13d68b069849e19c33822cd8996cd6447890abb1
11812 Author: Lasse Collin <lasse.collin@tukaani.org>
11813 Date: 2008-09-13 13:54:00 +0300
11817 src/liblzma/lz/lz_decoder.c | 5 ++---
11818 1 file changed, 2 insertions(+), 3 deletions(-)
11820 commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
11821 Author: Lasse Collin <lasse.collin@tukaani.org>
11822 Date: 2008-09-13 12:10:43 +0300
11825 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
11826 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
11827 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
11829 debug/full_flush.c | 2 +-
11830 debug/known_sizes.c | 2 +-
11831 debug/sync_flush.c | 2 +-
11832 src/liblzma/api/lzma/alignment.h | 2 +-
11833 src/liblzma/api/lzma/base.h | 4 ++--
11834 src/liblzma/api/lzma/block.h | 28 ++++++++++++++--------------
11835 src/liblzma/api/lzma/container.h | 12 ++++++------
11836 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++--------------
11837 src/liblzma/api/lzma/index.h | 2 +-
11838 src/liblzma/api/lzma/lzma.h | 4 ++--
11839 src/liblzma/api/lzma/simple.h | 2 +-
11840 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++----------
11841 src/liblzma/api/lzma/vli.h | 16 ++++++++--------
11842 src/liblzma/common/alignment.c | 6 +++---
11843 src/liblzma/common/alone_decoder.c | 2 +-
11844 src/liblzma/common/auto_decoder.c | 2 +-
11845 src/liblzma/common/block_decoder.c | 12 ++++++------
11846 src/liblzma/common/block_encoder.c | 6 +++---
11847 src/liblzma/common/block_header_decoder.c | 16 ++++++++--------
11848 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------
11849 src/liblzma/common/block_util.c | 8 ++++----
11850 src/liblzma/common/chunk_size.c | 2 +-
11851 src/liblzma/common/easy.c | 4 ++--
11852 src/liblzma/common/filter_common.c | 22 +++++++++++-----------
11853 src/liblzma/common/filter_decoder.c | 6 +++---
11854 src/liblzma/common/filter_encoder.c | 14 +++++++-------
11855 src/liblzma/common/index.c | 24 +++++++++++-------------
11856 src/liblzma/common/index.h | 2 +-
11857 src/liblzma/common/index_hash.c | 13 ++++++-------
11858 src/liblzma/common/stream_decoder.c | 4 ++--
11859 src/liblzma/common/stream_encoder.c | 4 ++--
11860 src/liblzma/common/stream_flags_common.c | 6 +++---
11861 src/liblzma/common/stream_flags_decoder.c | 6 +++---
11862 src/liblzma/common/stream_flags_encoder.c | 4 ++--
11863 src/liblzma/common/vli_encoder.c | 2 +-
11864 src/liblzma/common/vli_size.c | 2 +-
11865 src/liblzma/delta/delta_common.c | 2 +-
11866 src/liblzma/delta/delta_decoder.c | 2 +-
11867 src/liblzma/delta/delta_encoder.c | 2 +-
11868 src/liblzma/lz/lz_decoder.c | 2 +-
11869 src/liblzma/lz/lz_encoder.c | 2 +-
11870 src/liblzma/lzma/lzma2_decoder.c | 6 +++---
11871 src/liblzma/lzma/lzma_decoder.c | 14 +++++++-------
11872 src/liblzma/lzma/lzma_encoder.c | 8 ++++----
11873 src/liblzma/simple/simple_coder.c | 2 +-
11874 src/liblzma/simple/simple_decoder.c | 2 +-
11875 src/liblzma/subblock/subblock_decoder.c | 6 +++---
11876 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++---------
11877 src/lzma/args.c | 2 +-
11878 src/lzma/error.c | 2 +-
11879 src/lzma/list.c | 6 +++---
11880 src/lzmadec/lzmadec.c | 2 +-
11881 tests/test_block.c | 8 ++++----
11882 tests/test_block_header.c | 30 +++++++++++++++---------------
11883 tests/test_filter_flags.c | 2 +-
11884 tests/test_index.c | 2 +-
11885 tests/test_stream_flags.c | 8 ++++----
11886 tests/tests.h | 2 +-
11887 58 files changed, 220 insertions(+), 224 deletions(-)
11889 commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
11890 Author: Lasse Collin <lasse.collin@tukaani.org>
11891 Date: 2008-09-12 22:41:40 +0300
11893 Improved the Stream Flags handling API.
11895 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++--
11896 src/liblzma/common/stream_decoder.c | 5 +-
11897 src/liblzma/common/stream_encoder.c | 2 +
11898 src/liblzma/common/stream_flags_common.c | 28 ++++++++---
11899 src/liblzma/common/stream_flags_common.h | 9 ++++
11900 src/liblzma/common/stream_flags_decoder.c | 3 +-
11901 src/liblzma/common/stream_flags_encoder.c | 10 ++--
11902 tests/test_stream_flags.c | 8 ++-
11903 8 files changed, 129 insertions(+), 20 deletions(-)
11905 commit ec490da5228263b25bf786bb23d1008468f55b30
11906 Author: Lasse Collin <lasse.collin@tukaani.org>
11907 Date: 2008-09-11 23:10:44 +0300
11909 Simplified debug/known_sizes.c to match the relaxed
11910 requirements of Block encoder.
11912 debug/known_sizes.c | 14 +++++---------
11913 1 file changed, 5 insertions(+), 9 deletions(-)
11915 commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
11916 Author: Lasse Collin <lasse.collin@tukaani.org>
11917 Date: 2008-09-11 23:09:24 +0300
11919 Remove a check from Block encoder that should have already
11920 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
11922 src/liblzma/common/block_encoder.c | 5 -----
11923 1 file changed, 5 deletions(-)
11925 commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
11926 Author: Lasse Collin <lasse.collin@tukaani.org>
11927 Date: 2008-09-11 20:02:38 +0300
11929 Remove bogus #includes.
11931 src/liblzma/common/Makefile.am | 1 -
11932 src/liblzma/common/stream_decoder.c | 3 ---
11933 src/liblzma/common/stream_encoder.c | 1 -
11934 src/liblzma/common/stream_flags_decoder.h | 31 -------------------------------
11935 4 files changed, 36 deletions(-)
11937 commit 01892b2ca5f69bed0ea746e04b604030d57806bb
11938 Author: Lasse Collin <lasse.collin@tukaani.org>
11939 Date: 2008-09-11 10:49:14 +0300
11944 1 file changed, 1 insertion(+)
11946 commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
11947 Author: Lasse Collin <lasse.collin@tukaani.org>
11948 Date: 2008-09-11 10:48:12 +0300
11950 Fix a compiler error on big endian systems that don't
11951 support unaligned memory access.
11953 src/common/integer.h | 32 ++++++++++++++++++--------------
11954 1 file changed, 18 insertions(+), 14 deletions(-)
11956 commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
11957 Author: Lasse Collin <lasse.collin@tukaani.org>
11958 Date: 2008-09-11 10:46:14 +0300
11960 Silence a compiler warning.
11962 src/lzma/process.c | 2 +-
11963 1 file changed, 1 insertion(+), 1 deletion(-)
11965 commit 9373e81e18822db4972819442ea4c2cb9955470b
11966 Author: Lasse Collin <lasse.collin@tukaani.org>
11967 Date: 2008-09-10 19:16:32 +0300
11969 Bumped version to 4.999.6alpha.
11971 configure.ac | 2 +-
11972 src/liblzma/api/lzma/version.h | 2 +-
11973 2 files changed, 2 insertions(+), 2 deletions(-)
11975 commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
11976 Author: Lasse Collin <lasse.collin@tukaani.org>
11977 Date: 2008-09-10 17:02:00 +0300
11979 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
11980 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
11981 is in the reserved range. This allows Block Header encoder to
11982 detect unallowed Filter IDs, which is good for Stream encoder.
11984 src/liblzma/common/filter_flags_encoder.c | 7 ++++---
11985 1 file changed, 4 insertions(+), 3 deletions(-)
11987 commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
11988 Author: Lasse Collin <lasse.collin@tukaani.org>
11989 Date: 2008-09-10 16:44:32 +0300
11991 Filter handling cleanups
11993 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++---------
11994 src/liblzma/common/filter_common.h | 3 +
11995 src/liblzma/common/filter_decoder.c | 80 +++++++---------------
11996 src/liblzma/common/filter_decoder.h | 5 --
11997 src/liblzma/common/filter_encoder.c | 82 +++++++---------------
11998 src/liblzma/common/filter_encoder.h | 4 --
11999 6 files changed, 156 insertions(+), 151 deletions(-)
12001 commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
12002 Author: Lasse Collin <lasse.collin@tukaani.org>
12003 Date: 2008-09-10 00:33:00 +0300
12007 src/liblzma/common/stream_encoder.c | 6 +++++-
12008 1 file changed, 5 insertions(+), 1 deletion(-)
12010 commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
12011 Author: Lasse Collin <lasse.collin@tukaani.org>
12012 Date: 2008-09-10 00:27:02 +0300
12014 Cleaned up Block encoder and moved the no longer shared
12015 code from block_private.h to block_decoder.c. Now the Block
12016 encoder doesn't need compressed_size and uncompressed_size
12017 from lzma_block structure to be initialized.
12019 src/liblzma/api/lzma/block.h | 3 --
12020 src/liblzma/common/Makefile.am | 1 -
12021 src/liblzma/common/block_decoder.c | 23 +++++++++-
12022 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++--------------------
12023 src/liblzma/common/block_private.h | 47 -------------------
12024 5 files changed, 66 insertions(+), 100 deletions(-)
12026 commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
12027 Author: Lasse Collin <lasse.collin@tukaani.org>
12028 Date: 2008-09-07 10:23:13 +0300
12030 Changed Filter ID of LZMA to 0x20.
12032 doc/file-format.txt | 4 ++--
12033 src/liblzma/api/lzma/lzma.h | 2 +-
12034 2 files changed, 3 insertions(+), 3 deletions(-)
12036 commit 32fe5fa541e82c08e054086279079ae5016bd8d8
12037 Author: Lasse Collin <lasse.collin@tukaani.org>
12038 Date: 2008-09-06 23:42:50 +0300
12042 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++--------------
12043 src/liblzma/api/lzma/container.h | 6 ++-
12044 src/liblzma/lz/lz_encoder.c | 3 +-
12045 src/liblzma/lz/lz_encoder.h | 12 +++---
12046 src/liblzma/lz/lz_encoder_mf.c | 2 +-
12047 5 files changed, 65 insertions(+), 39 deletions(-)
12049 commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
12050 Author: Lasse Collin <lasse.collin@tukaani.org>
12051 Date: 2008-09-06 15:14:30 +0300
12055 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++-------------
12056 src/liblzma/api/lzma/check.h | 10 ++
12057 src/liblzma/api/lzma/container.h | 40 +++--
12058 src/liblzma/common/auto_decoder.c | 18 +--
12059 src/liblzma/common/common.c | 7 +
12060 src/liblzma/common/common.h | 18 ++-
12061 src/liblzma/common/easy.c | 2 +-
12062 src/liblzma/common/stream_decoder.c | 31 ++--
12063 src/lzma/process.c | 2 +-
12064 src/lzmadec/lzmadec.c | 6 +-
12065 tests/tests.h | 72 +++------
12066 11 files changed, 301 insertions(+), 219 deletions(-)
12068 commit da98df54400998be2a6c3876f9655a3c51b93c10
12069 Author: Lasse Collin <lasse.collin@tukaani.org>
12070 Date: 2008-09-04 11:53:06 +0300
12072 Added support for raw encoding and decoding to the command
12073 line tool, and made various cleanups. --lzma was renamed to
12074 --lzma1 to prevent people from accidentally using LZMA when
12077 src/lzma/args.c | 17 +++++++++--------
12078 src/lzma/args.h | 1 +
12079 src/lzma/help.c | 24 ++++++------------------
12080 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++--------
12081 4 files changed, 50 insertions(+), 34 deletions(-)
12083 commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
12084 Author: Lasse Collin <lasse.collin@tukaani.org>
12085 Date: 2008-09-04 10:39:15 +0300
12087 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
12088 simply nothing that would use it. Allow LZMA_FINISH to the
12089 decoders, which will usually ignore it (auto decoder and
12090 Stream decoder being exceptions).
12092 src/liblzma/common/alone_decoder.c | 1 -
12093 src/liblzma/common/block_decoder.c | 2 +-
12094 src/liblzma/common/filter_decoder.c | 2 +-
12095 3 files changed, 2 insertions(+), 3 deletions(-)
12097 commit bea301c26d5d52675e11e0236faec0492af98f60
12098 Author: Lasse Collin <lasse.collin@tukaani.org>
12099 Date: 2008-09-03 17:06:25 +0300
12101 Minor updates to the file format specification.
12103 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++----------
12104 1 file changed, 85 insertions(+), 20 deletions(-)
12106 commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
12107 Author: Lasse Collin <lasse.collin@tukaani.org>
12108 Date: 2008-09-02 19:33:32 +0300
12110 Command line tool fixes
12112 src/lzma/process.c | 21 +++++++++++++--------
12113 1 file changed, 13 insertions(+), 8 deletions(-)
12115 commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
12116 Author: Lasse Collin <lasse.collin@tukaani.org>
12117 Date: 2008-09-02 19:31:42 +0300
12119 Auto decoder cleanup
12121 src/liblzma/common/auto_decoder.c | 2 +-
12122 1 file changed, 1 insertion(+), 1 deletion(-)
12124 commit 689602336d126a46b60d791a67decab65e1e81f5
12125 Author: Lasse Collin <lasse.collin@tukaani.org>
12126 Date: 2008-09-02 19:12:12 +0300
12128 Updated auto decoder to handle LZMA_CONCATENATED when decoding
12129 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
12130 intentionally not supported, so it is better to put this in
12131 auto decoder than LZMA_Alone decoder.
12133 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++-------
12134 1 file changed, 71 insertions(+), 16 deletions(-)
12136 commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
12137 Author: Lasse Collin <lasse.collin@tukaani.org>
12138 Date: 2008-09-02 14:56:52 +0300
12140 Stream decoder cleanups
12142 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++----------------
12143 1 file changed, 32 insertions(+), 25 deletions(-)
12145 commit fc681657450ce57be1fe08f7a15d31dcc705e514
12146 Author: Lasse Collin <lasse.collin@tukaani.org>
12147 Date: 2008-09-02 11:45:39 +0300
12149 Some fixes to LZ encoder.
12151 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++-----
12152 src/liblzma/lz/lz_encoder.h | 18 ++++----
12153 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++-------------------------
12154 3 files changed, 94 insertions(+), 75 deletions(-)
12156 commit ede675f9ac1ca82a7d7c290324adba672118bc8d
12157 Author: Lasse Collin <lasse.collin@tukaani.org>
12158 Date: 2008-08-31 11:47:01 +0300
12160 Fix wrong pointer calculation in LZMA encoder.
12162 src/liblzma/lzma/lzma_encoder.c | 4 +++-
12163 1 file changed, 3 insertions(+), 1 deletion(-)
12165 commit 3b34851de1eaf358cf9268922fa0eeed8278d680
12166 Author: Lasse Collin <lasse.collin@tukaani.org>
12167 Date: 2008-08-28 22:53:15 +0300
12169 Sort of garbage collection commit. :-| Many things are still
12170 broken. API has changed a lot and it will still change a
12171 little more here and there. The command line tool doesn't
12172 have all the required changes to reflect the API changes, so
12173 it's easy to get "internal error" or trigger assertions.
12175 configure.ac | 356 +++---
12176 debug/Makefile.am | 5 +-
12177 debug/crc32.c | 45 +
12178 debug/full_flush.c | 14 +-
12179 debug/hex2bin.c | 54 +
12180 debug/known_sizes.c | 135 ++
12181 debug/memusage.c | 8 +-
12182 debug/sync_flush.c | 20 +-
12183 src/common/integer.h | 26 +-
12184 src/common/sysdefs.h | 42 +-
12185 src/liblzma/Makefile.am | 17 +-
12186 src/liblzma/api/Makefile.am | 6 +-
12187 src/liblzma/api/lzma.h | 161 ++-
12188 src/liblzma/api/lzma/alignment.h | 6 +-
12189 src/liblzma/api/lzma/alone.h | 52 -
12190 src/liblzma/api/lzma/auto.h | 36 -
12191 src/liblzma/api/lzma/base.h | 61 +-
12192 src/liblzma/api/lzma/block.h | 38 +-
12193 src/liblzma/api/lzma/check.h | 41 +-
12194 src/liblzma/api/lzma/container.h | 252 ++++
12195 src/liblzma/api/lzma/delta.h | 36 +-
12196 src/liblzma/api/lzma/easy.h | 121 --
12197 src/liblzma/api/lzma/filter.h | 74 +-
12198 src/liblzma/api/lzma/index.h | 40 +-
12199 src/liblzma/api/lzma/index_hash.h | 12 +-
12200 src/liblzma/api/lzma/lzma.h | 222 ++--
12201 src/liblzma/api/lzma/memlimit.h | 15 +-
12202 src/liblzma/api/lzma/raw.h | 60 -
12203 src/liblzma/api/lzma/simple.h | 2 +-
12204 src/liblzma/api/lzma/stream.h | 53 -
12205 src/liblzma/api/lzma/stream_flags.h | 17 +-
12206 src/liblzma/api/lzma/subblock.h | 4 +-
12207 src/liblzma/api/lzma/version.h | 10 +-
12208 src/liblzma/api/lzma/vli.h | 131 +-
12209 src/liblzma/check/check.c | 128 +-
12210 src/liblzma/check/check.h | 67 +-
12211 src/liblzma/check/sha256.c | 29 +-
12212 src/liblzma/common/Makefile.am | 51 +-
12213 src/liblzma/common/alignment.c | 4 +-
12214 src/liblzma/common/allocator.c | 58 -
12215 src/liblzma/common/alone_decoder.c | 49 +-
12216 src/liblzma/common/alone_decoder.h | 9 +-
12217 src/liblzma/common/alone_encoder.c | 13 +-
12218 src/liblzma/common/auto_decoder.c | 38 +-
12219 src/liblzma/common/block_decoder.c | 67 +-
12220 src/liblzma/common/block_decoder.h | 2 +-
12221 src/liblzma/common/block_encoder.c | 42 +-
12222 src/liblzma/common/block_encoder.h | 2 +-
12223 src/liblzma/common/block_header_decoder.c | 6 +-
12224 src/liblzma/common/block_header_encoder.c | 9 +-
12225 src/liblzma/common/block_util.c | 10 +-
12226 src/liblzma/common/code.c | 203 ---
12227 src/liblzma/common/common.c | 298 +++++
12228 src/liblzma/common/common.h | 237 ++--
12229 src/liblzma/common/delta_common.c | 66 -
12230 src/liblzma/common/delta_common.h | 44 -
12231 src/liblzma/common/delta_decoder.c | 61 -
12232 src/liblzma/common/delta_decoder.h | 28 -
12233 src/liblzma/common/delta_encoder.c | 98 --
12234 src/liblzma/common/delta_encoder.h | 28 -
12235 src/liblzma/common/easy.c | 18 +-
12236 src/liblzma/common/features.c | 66 -
12237 src/liblzma/common/filter_common.c | 262 ++++
12238 src/liblzma/common/filter_common.h | 52 +
12239 src/liblzma/common/filter_decoder.c | 236 ++++
12240 src/liblzma/common/filter_decoder.h | 35 +
12241 src/liblzma/common/filter_encoder.c | 308 +++++
12242 src/liblzma/common/filter_encoder.h | 38 +
12243 src/liblzma/common/filter_flags_decoder.c | 185 +--
12244 src/liblzma/common/filter_flags_encoder.c | 261 +---
12245 src/liblzma/common/index_decoder.c | 14 +-
12246 src/liblzma/common/index_encoder.c | 16 +-
12247 src/liblzma/common/index_hash.c | 8 +-
12248 src/liblzma/common/init_encoder.c | 2 +-
12249 src/liblzma/common/memory_usage.c | 112 --
12250 src/liblzma/common/next_coder.c | 65 -
12251 src/liblzma/common/raw_common.c | 127 --
12252 src/liblzma/common/raw_common.h | 30 -
12253 src/liblzma/common/raw_decoder.c | 116 --
12254 src/liblzma/common/raw_decoder.h | 29 -
12255 src/liblzma/common/raw_encoder.c | 111 --
12256 src/liblzma/common/raw_encoder.h | 29 -
12257 src/liblzma/common/stream_common.c | 23 -
12258 src/liblzma/common/stream_common.h | 31 -
12259 src/liblzma/common/stream_decoder.c | 238 +++-
12260 src/liblzma/common/stream_decoder.h | 4 +-
12261 src/liblzma/common/stream_encoder.c | 35 +-
12262 src/liblzma/common/stream_encoder.h | 2 +-
12263 src/liblzma/common/stream_flags_common.c | 40 +
12264 src/liblzma/common/stream_flags_common.h | 31 +
12265 src/liblzma/common/stream_flags_decoder.c | 2 +-
12266 src/liblzma/common/stream_flags_encoder.c | 2 +-
12267 src/liblzma/common/stream_flags_equal.c | 36 -
12268 src/liblzma/common/version.c | 25 -
12269 src/liblzma/common/vli_decoder.c | 29 +-
12270 src/liblzma/common/vli_encoder.c | 23 +-
12271 src/liblzma/common/vli_size.c | 37 +
12272 src/liblzma/delta/Makefile.am | 34 +
12273 src/liblzma/delta/delta_common.c | 66 +
12274 src/liblzma/delta/delta_common.h | 44 +
12275 src/liblzma/delta/delta_decoder.c | 82 ++
12276 src/liblzma/delta/delta_decoder.h | 32 +
12277 src/liblzma/delta/delta_encoder.c | 119 ++
12278 src/liblzma/delta/delta_encoder.h | 30 +
12279 src/liblzma/lz/Makefile.am | 35 +-
12280 src/liblzma/lz/bt2.c | 27 -
12281 src/liblzma/lz/bt2.h | 31 -
12282 src/liblzma/lz/bt3.c | 29 -
12283 src/liblzma/lz/bt3.h | 31 -
12284 src/liblzma/lz/bt4.c | 30 -
12285 src/liblzma/lz/bt4.h | 31 -
12286 src/liblzma/lz/hc3.c | 30 -
12287 src/liblzma/lz/hc3.h | 31 -
12288 src/liblzma/lz/hc4.c | 31 -
12289 src/liblzma/lz/hc4.h | 31 -
12290 src/liblzma/lz/lz_decoder.c | 547 +++-----
12291 src/liblzma/lz/lz_decoder.h | 308 ++---
12292 src/liblzma/lz/lz_encoder.c | 780 ++++++------
12293 src/liblzma/lz/lz_encoder.h | 334 +++--
12294 src/liblzma/lz/lz_encoder_hash.h | 104 ++
12295 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++
12296 src/liblzma/lz/lz_encoder_private.h | 40 -
12297 src/liblzma/lz/match_c.h | 412 ------
12298 src/liblzma/lz/match_h.h | 69 --
12299 src/liblzma/lzma/Makefile.am | 37 +-
12300 src/liblzma/lzma/fastpos.h | 8 +-
12301 src/liblzma/lzma/lzma2_decoder.c | 318 +++++
12302 src/liblzma/lzma/lzma2_decoder.h | 35 +
12303 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++
12304 src/liblzma/lzma/lzma2_encoder.h | 34 +
12305 src/liblzma/lzma/lzma_common.h | 208 +++-
12306 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++--------
12307 src/liblzma/lzma/lzma_decoder.h | 21 +-
12308 src/liblzma/lzma/lzma_encoder.c | 576 +++++++--
12309 src/liblzma/lzma/lzma_encoder.h | 38 +-
12310 src/liblzma/lzma/lzma_encoder_features.c | 2 +-
12311 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 --------------
12312 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 ---
12313 src/liblzma/lzma/lzma_encoder_init.c | 228 ----
12314 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++
12315 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++
12316 src/liblzma/lzma/lzma_encoder_presets.c | 52 +-
12317 src/liblzma/lzma/lzma_encoder_private.h | 174 +--
12318 src/liblzma/lzma/lzma_literal.c | 51 -
12319 src/liblzma/lzma/lzma_literal.h | 71 --
12320 src/liblzma/rangecoder/Makefile.am | 10 +-
12321 src/liblzma/rangecoder/price.h | 111 ++
12322 src/liblzma/rangecoder/price_table.c | 84 +-
12323 src/liblzma/rangecoder/price_table_gen.c | 55 -
12324 src/liblzma/rangecoder/price_table_init.c | 33 +-
12325 src/liblzma/rangecoder/price_tablegen.c | 56 +
12326 src/liblzma/rangecoder/range_common.h | 17 +-
12327 src/liblzma/rangecoder/range_decoder.h | 209 ++--
12328 src/liblzma/rangecoder/range_encoder.h | 92 +-
12329 src/liblzma/simple/Makefile.am | 12 +
12330 src/liblzma/simple/simple_coder.c | 8 +-
12331 src/liblzma/simple/simple_decoder.c | 47 +
12332 src/liblzma/simple/simple_decoder.h | 29 +
12333 src/liblzma/simple/simple_encoder.c | 45 +
12334 src/liblzma/simple/simple_encoder.h | 30 +
12335 src/liblzma/subblock/Makefile.am | 4 +-
12336 src/liblzma/subblock/subblock_decoder.c | 20 +-
12337 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
12338 src/liblzma/subblock/subblock_encoder.c | 28 +-
12339 src/lzma/args.c | 35 +-
12340 src/lzma/args.h | 4 +-
12341 src/lzma/options.c | 14 +-
12342 src/lzma/process.c | 88 +-
12343 src/lzmadec/lzmadec.c | 157 +--
12344 tests/Makefile.am | 1 +
12345 tests/files/README | 303 ++---
12346 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes
12347 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes
12348 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes
12349 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes
12350 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes
12351 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes
12352 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes
12353 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes
12354 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes
12355 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes
12356 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes
12357 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes
12358 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes
12359 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes
12360 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes
12361 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes
12362 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes
12363 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes
12364 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes
12365 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes
12366 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes
12367 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes
12368 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes
12369 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes
12370 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes
12371 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes
12372 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes
12373 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes
12374 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes
12375 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes
12376 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes
12377 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes
12378 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes
12379 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes
12380 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes
12381 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes
12382 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes
12383 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes
12384 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes
12385 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes
12386 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes
12387 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
12388 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes
12389 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes
12390 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes
12391 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes
12392 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes
12393 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes
12394 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes
12395 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes
12396 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes
12397 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes
12398 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes
12399 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes
12400 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes
12401 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes
12402 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes
12403 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes
12404 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes
12405 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes
12406 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes
12407 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes
12408 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
12409 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes
12410 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes
12411 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes
12412 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes
12413 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes
12414 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes
12415 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes
12416 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes
12417 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes
12418 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes
12419 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes
12420 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes
12421 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes
12422 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes
12423 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes
12424 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes
12425 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes
12426 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes
12427 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes
12428 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes
12429 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes
12430 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes
12431 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes
12432 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes
12433 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes
12434 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes
12435 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes
12436 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
12437 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes
12438 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes
12439 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes
12440 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes
12441 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes
12442 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes
12443 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes
12444 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes
12445 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes
12446 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes
12447 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes
12448 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes
12449 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes
12450 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes
12451 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes
12452 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes
12453 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes
12454 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes
12455 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes
12456 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes
12457 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes
12458 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes
12459 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes
12460 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes
12461 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes
12462 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes
12463 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes
12464 tests/test_block_header.c | 28 +-
12465 tests/test_compress.sh | 4 +-
12466 tests/test_filter_flags.c | 51 +-
12467 tests/test_stream_flags.c | 4 +-
12468 tests/tests.h | 8 +
12469 294 files changed, 9768 insertions(+), 8195 deletions(-)
12471 commit 57b9a145a527f0716822615e5ed536d33aebd3fc
12472 Author: Lasse Collin <lasse.collin@tukaani.org>
12473 Date: 2008-06-20 17:16:32 +0300
12475 Fix test_filter_flags to match the new restriction of lc+lp.
12477 tests/test_filter_flags.c | 3 +++
12478 1 file changed, 3 insertions(+)
12480 commit eaafc4367c77ec1d910e16d11b4da293969d97a3
12481 Author: Lasse Collin <lasse.collin@tukaani.org>
12482 Date: 2008-06-20 16:19:54 +0300
12484 Remove some redundant code from LZMA encoder.
12486 src/liblzma/lzma/lzma_encoder.c | 15 +--------------
12487 1 file changed, 1 insertion(+), 14 deletions(-)
12489 commit 0809c46534fa5664fe35d9e98d95e87312ed130e
12490 Author: Lasse Collin <lasse.collin@tukaani.org>
12491 Date: 2008-06-19 16:35:08 +0300
12493 Add limit of lc + lp <= 4. Now we can allocate the
12494 literal coder as part of the main LZMA encoder or
12497 Make the LZMA decoder to rely on the current internal API
12498 to free the allocated memory in case an error occurs.
12500 src/liblzma/api/lzma/lzma.h | 10 +++++-
12501 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++-------------------------
12502 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++----
12503 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
12504 src/liblzma/lzma/lzma_literal.c | 39 +++++-----------------
12505 src/liblzma/lzma/lzma_literal.h | 13 +++-----
12506 6 files changed, 43 insertions(+), 91 deletions(-)
12508 commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
12509 Author: Lasse Collin <lasse.collin@tukaani.org>
12510 Date: 2008-06-18 21:45:19 +0300
12514 src/liblzma/lzma/lzma_encoder.c | 7 ++-----
12515 1 file changed, 2 insertions(+), 5 deletions(-)
12517 commit 6368a2fa5901c75864be5171dd57a50af7adbb41
12518 Author: Lasse Collin <lasse.collin@tukaani.org>
12519 Date: 2008-06-18 19:19:02 +0300
12521 Delete old code that was supposed to be already deleted
12522 from test_block_header.c.
12524 tests/test_block_header.c | 30 ------------------------------
12525 1 file changed, 30 deletions(-)
12527 commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
12528 Author: Lasse Collin <lasse.collin@tukaani.org>
12529 Date: 2008-06-18 18:02:10 +0300
12531 Update the code to mostly match the new simpler file format
12532 specification. Simplify things by removing most of the
12533 support for known uncompressed size in most places.
12534 There are some miscellaneous changes here and there too.
12536 The API of liblzma has got many changes and still some
12537 more will be done soon. While most of the code has been
12538 updated, some things are not fixed (the command line tool
12539 will choke with invalid filter chain, if nothing else).
12541 Subblock filter is somewhat broken for now. It will be
12542 updated once the encoded format of the Subblock filter
12545 configure.ac | 41 +-
12546 debug/full_flush.c | 16 +-
12547 debug/sync_flush.c | 15 +-
12548 src/common/bswap.h | 44 ++
12549 src/common/integer.h | 167 +++++
12550 src/liblzma/api/Makefile.am | 5 +-
12551 src/liblzma/api/lzma.h | 9 +-
12552 src/liblzma/api/lzma/alone.h | 32 +-
12553 src/liblzma/api/lzma/auto.h | 7 +-
12554 src/liblzma/api/lzma/base.h | 15 +
12555 src/liblzma/api/lzma/block.h | 306 +++-------
12556 src/liblzma/api/lzma/check.h | 18 +-
12557 src/liblzma/api/lzma/copy.h | 29 -
12558 src/liblzma/api/lzma/easy.h | 61 +-
12559 src/liblzma/api/lzma/extra.h | 114 ----
12560 src/liblzma/api/lzma/filter.h | 5 +-
12561 src/liblzma/api/lzma/index.h | 204 ++++++-
12562 src/liblzma/api/lzma/index_hash.h | 94 +++
12563 src/liblzma/api/lzma/info.h | 315 ----------
12564 src/liblzma/api/lzma/lzma.h | 2 +-
12565 src/liblzma/api/lzma/metadata.h | 100 ---
12566 src/liblzma/api/lzma/raw.h | 20 +-
12567 src/liblzma/api/lzma/stream.h | 157 +----
12568 src/liblzma/api/lzma/stream_flags.h | 146 +++--
12569 src/liblzma/api/lzma/version.h | 2 +-
12570 src/liblzma/api/lzma/vli.h | 83 ++-
12571 src/liblzma/check/Makefile.am | 1 -
12572 src/liblzma/check/check.c | 55 +-
12573 src/liblzma/check/check.h | 47 +-
12574 src/liblzma/check/check_byteswap.h | 43 --
12575 src/liblzma/check/crc32_init.c | 2 +-
12576 src/liblzma/check/crc64_init.c | 2 +-
12577 src/liblzma/check/crc_macros.h | 2 +-
12578 src/liblzma/check/sha256.c | 53 +-
12579 src/liblzma/common/Makefile.am | 31 +-
12580 src/liblzma/common/alignment.c | 5 +-
12581 src/liblzma/common/alone_decoder.c | 77 +--
12582 src/liblzma/common/alone_encoder.c | 99 ++-
12583 src/liblzma/common/auto_decoder.c | 18 +-
12584 src/liblzma/common/block_decoder.c | 298 +++------
12585 src/liblzma/common/block_encoder.c | 228 ++-----
12586 src/liblzma/common/block_header_decoder.c | 400 +++---------
12587 src/liblzma/common/block_header_encoder.c | 207 +++----
12588 src/liblzma/common/block_private.h | 51 +-
12589 src/liblzma/common/block_util.c | 73 +++
12590 src/liblzma/common/common.h | 44 +-
12591 src/liblzma/common/copy_coder.c | 144 -----
12592 src/liblzma/common/copy_coder.h | 31 -
12593 src/liblzma/common/delta_common.c | 4 -
12594 src/liblzma/common/delta_common.h | 4 -
12595 src/liblzma/common/delta_decoder.c | 55 +-
12596 src/liblzma/common/delta_encoder.c | 7 +-
12597 src/liblzma/common/easy.c | 122 ++++
12598 src/liblzma/common/easy_common.c | 54 --
12599 src/liblzma/common/easy_common.h | 28 -
12600 src/liblzma/common/easy_multi.c | 103 ----
12601 src/liblzma/common/easy_single.c | 37 --
12602 src/liblzma/common/extra.c | 34 --
12603 src/liblzma/common/features.c | 4 -
12604 src/liblzma/common/filter_flags_decoder.c | 384 ++++--------
12605 src/liblzma/common/filter_flags_encoder.c | 120 +---
12606 src/liblzma/common/index.c | 773 ++++++++++++++++++++---
12607 src/liblzma/common/index.h | 67 ++
12608 src/liblzma/common/index_decoder.c | 252 ++++++++
12609 src/liblzma/common/index_encoder.c | 222 +++++++
12610 src/liblzma/common/index_encoder.h | 30 +
12611 src/liblzma/common/index_hash.c | 340 +++++++++++
12612 src/liblzma/common/info.c | 814 -------------------------
12613 src/liblzma/common/memory_usage.c | 1 -
12614 src/liblzma/common/metadata_decoder.c | 578 ------------------
12615 src/liblzma/common/metadata_decoder.h | 31 -
12616 src/liblzma/common/metadata_encoder.c | 435 -------------
12617 src/liblzma/common/metadata_encoder.h | 30 -
12618 src/liblzma/common/raw_common.c | 178 ++----
12619 src/liblzma/common/raw_common.h | 5 +-
12620 src/liblzma/common/raw_decoder.c | 19 +-
12621 src/liblzma/common/raw_decoder.h | 3 +-
12622 src/liblzma/common/raw_encoder.c | 101 +--
12623 src/liblzma/common/raw_encoder.h | 3 +-
12624 src/liblzma/common/stream_common.h | 3 +
12625 src/liblzma/common/stream_decoder.c | 458 +++++---------
12626 src/liblzma/common/stream_decoder.h | 28 +
12627 src/liblzma/common/stream_encoder.c | 282 +++++++++
12628 src/liblzma/common/stream_encoder.h | 30 +
12629 src/liblzma/common/stream_encoder_multi.c | 445 --------------
12630 src/liblzma/common/stream_encoder_multi.h | 26 -
12631 src/liblzma/common/stream_encoder_single.c | 219 -------
12632 src/liblzma/common/stream_flags_decoder.c | 260 ++------
12633 src/liblzma/common/stream_flags_encoder.c | 56 +-
12634 src/liblzma/common/stream_flags_equal.c | 36 ++
12635 src/liblzma/common/vli_decoder.c | 68 ++-
12636 src/liblzma/common/vli_encoder.c | 59 +-
12637 src/liblzma/common/vli_reverse_decoder.c | 55 --
12638 src/liblzma/lz/lz_decoder.c | 6 +-
12639 src/liblzma/lz/lz_decoder.h | 10 +-
12640 src/liblzma/lzma/lzma_decoder.c | 13 +-
12641 src/liblzma/lzma/lzma_decoder.h | 10 +-
12642 src/liblzma/simple/simple_coder.c | 29 +-
12643 src/liblzma/simple/simple_private.h | 4 -
12644 src/liblzma/subblock/subblock_decoder.c | 106 +---
12645 src/liblzma/subblock/subblock_decoder_helper.c | 5 +-
12646 src/liblzma/subblock/subblock_encoder.c | 8 +-
12647 src/lzma/args.c | 22 +-
12648 src/lzma/args.h | 2 -
12649 src/lzma/error.c | 6 +
12650 src/lzma/process.c | 26 +-
12651 src/lzmadec/lzmadec.c | 8 +-
12652 tests/Makefile.am | 5 +-
12653 tests/test_block_header.c | 411 +++++--------
12654 tests/test_compress.sh | 65 +-
12655 tests/test_filter_flags.c | 116 ++--
12656 tests/test_index.c | 504 ++++++++++++++-
12657 tests/test_info.c | 717 ----------------------
12658 tests/test_stream_flags.c | 134 ++--
12659 tests/tests.h | 14 +-
12660 115 files changed, 4846 insertions(+), 8156 deletions(-)
12662 commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
12663 Author: Lasse Collin <lasse.collin@tukaani.org>
12664 Date: 2008-06-17 15:03:46 +0300
12666 Update the file format specification draft. The new one is
12667 a lot simpler than the previous versions, but it also means
12668 that the existing code will change a lot.
12670 doc/file-format.txt | 1794 +++++++++++++++------------------------------------
12671 1 file changed, 508 insertions(+), 1286 deletions(-)
12673 commit 803194ddd26f01ff60ba4e9924c6087a56b29827
12674 Author: Lasse Collin <lasse.collin@tukaani.org>
12675 Date: 2008-06-11 21:42:47 +0300
12677 Fix uninitialized variable in LZMA encoder. This was
12678 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
12680 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
12681 1 file changed, 2 insertions(+)
12683 commit 0ea98e52ba87453497b1355c51f13bad55c8924a
12684 Author: Lasse Collin <lasse.collin@tukaani.org>
12685 Date: 2008-06-11 15:08:44 +0300
12687 Improve command line integer parsing a little in lzma and
12688 lzmadec to make them accept also KiB in addition Ki etc.
12689 Fix also memory usage information in lzmadec --help.
12691 src/lzma/util.c | 23 ++++++++++++++---------
12692 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++-------------
12693 2 files changed, 32 insertions(+), 22 deletions(-)
12695 commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
12696 Author: Lasse Collin <lasse.collin@tukaani.org>
12697 Date: 2008-06-10 20:36:12 +0300
12699 s/decompressed/compressed/ in the command line tool's
12702 src/lzma/main.c | 2 +-
12703 1 file changed, 1 insertion(+), 1 deletion(-)
12705 commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
12706 Author: Lasse Collin <lasse.collin@tukaani.org>
12707 Date: 2008-06-01 12:48:17 +0300
12709 Fix a buffer overflow in the LZMA encoder. It was due to my
12710 misunderstanding of the code. There's no tiny fix for this
12711 problem, so I also cleaned up the code in general.
12713 This reduces the speed of the encoder 2-5 % in the fastest
12714 compression mode ("lzma -1"). High compression modes should
12715 have no noticeable performance difference.
12717 This commit breaks things (especially LZMA_SYNC_FLUSH) but I
12718 will fix them once the new format and LZMA2 has been roughly
12719 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
12720 and won't be supported in the new .lzma format. This may
12721 change still but this is what it looks like now.
12723 Support for known uncompressed size (that is, LZMA or LZMA2
12724 without EOPM) is likely to go away. This means there will
12727 src/liblzma/lz/lz_encoder.c | 113 +----
12728 src/liblzma/lz/lz_encoder.h | 18 +-
12729 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++-------------
12730 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++-
12731 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +-
12732 src/liblzma/lzma/lzma_encoder_init.c | 9 +-
12733 src/liblzma/lzma/lzma_encoder_private.h | 15 +-
12734 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++--------
12735 8 files changed, 532 insertions(+), 620 deletions(-)
12737 commit e55e0e873ce2511325749d415ae547d62ab5f00d
12738 Author: Lasse Collin <lasse.collin@tukaani.org>
12739 Date: 2008-05-30 11:53:41 +0300
12741 Typo fixes from meyering.
12743 doc/faq.txt | 4 ++--
12744 doc/liblzma-advanced.txt | 2 +-
12745 2 files changed, 3 insertions(+), 3 deletions(-)
12747 commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
12748 Author: Lasse Collin <lasse.collin@tukaani.org>
12749 Date: 2008-05-11 14:24:42 +0300
12751 Remove support for pre-C89 libc versions that lack memcpy,
12752 memmove, and memset.
12754 configure.ac | 2 +-
12755 src/common/sysdefs.h | 15 ++-------------
12756 src/liblzma/common/allocator.c | 2 +-
12757 3 files changed, 4 insertions(+), 15 deletions(-)
12759 commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
12760 Author: Lasse Collin <lasse.collin@tukaani.org>
12761 Date: 2008-05-11 14:17:21 +0300
12763 Improved C99 compiler detection in configure.ac. It will
12764 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
12765 should still give warnings about GNU extensions like before
12766 except with some special keywords like asm().
12768 configure.ac | 24 ++++++++++++------------
12769 1 file changed, 12 insertions(+), 12 deletions(-)
12771 commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
12772 Author: Lasse Collin <lasse.collin@tukaani.org>
12773 Date: 2008-05-06 15:15:07 +0300
12775 Bunch of grammar fixes from meyering.
12777 doc/liblzma-security.txt | 8 ++++----
12778 src/liblzma/api/lzma/memlimit.h | 6 +++---
12779 src/lzma/help.c | 2 +-
12780 tests/files/README | 2 +-
12781 4 files changed, 9 insertions(+), 9 deletions(-)
12783 commit dc192b6343ae36276c85fcf7ef6006147816eadc
12784 Author: Lasse Collin <lasse.collin@tukaani.org>
12785 Date: 2008-05-06 13:41:05 +0300
12789 src/liblzma/api/lzma/init.h | 2 +-
12790 1 file changed, 1 insertion(+), 1 deletion(-)
12792 commit 944b62b93239b27b338d117f2668c0e95849659b
12793 Author: Lasse Collin <lasse.collin@tukaani.org>
12794 Date: 2008-05-04 22:29:27 +0300
12796 Don't print an error message on broken pipe unless --verbose
12799 src/lzma/io.c | 15 ++++++++++++++-
12800 1 file changed, 14 insertions(+), 1 deletion(-)
12802 commit 8e074349e47ea6832b8fdf9244e581d453733433
12803 Author: Lasse Collin <lasse.collin@tukaani.org>
12804 Date: 2008-04-30 22:16:17 +0300
12806 Fix a crash with --format=alone if other filters than LZMA
12807 are specified on the command line.
12809 src/lzma/args.c | 9 +++++++++
12810 1 file changed, 9 insertions(+)
12812 commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
12813 Author: Lasse Collin <lasse.collin@tukaani.org>
12814 Date: 2008-04-28 17:08:27 +0300
12819 1 file changed, 1 insertion(+)
12821 commit 3be21fb12f4cec2cf07799e8960382f4cb375369
12822 Author: Lasse Collin <lasse.collin@tukaani.org>
12823 Date: 2008-04-28 17:06:34 +0300
12825 Fixed wrong spelling "limitter" to "limiter". This affects
12828 doc/liblzma-security.txt | 14 +-
12829 src/liblzma/api/lzma/base.h | 4 +-
12830 src/liblzma/api/lzma/memlimit.h | 10 +-
12831 src/liblzma/api/lzma/stream.h | 4 +-
12832 src/liblzma/common/Makefile.am | 2 +-
12833 src/liblzma/common/memory_limiter.c | 288 +++++++++++++++++++++++++++++++++++
12834 src/liblzma/common/memory_limitter.c | 288 -----------------------------------
12835 src/lzma/list.c | 6 +-
12836 src/lzmadec/lzmadec.c | 12 +-
12837 tests/test_memlimit.c | 4 +-
12838 10 files changed, 316 insertions(+), 316 deletions(-)
12840 commit beeb81060821dfec4e7898e0d44b7900dcb2215e
12841 Author: Lasse Collin <lasse.collin@tukaani.org>
12842 Date: 2008-04-25 15:39:50 +0300
12844 Prevent LZ encoder from hanging with known uncompressed
12845 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
12846 with known uncompressed size, but since it currently seems
12847 likely that support for encoding with known uncompressed
12848 size will go away anyway, I'm not fixing this problem now.
12850 src/liblzma/lz/lz_encoder.c | 9 +++++++--
12851 1 file changed, 7 insertions(+), 2 deletions(-)
12853 commit c324325f9f13cdeb92153c5d00962341ba070ca2
12854 Author: Lasse Collin <lasse.collin@tukaani.org>
12855 Date: 2008-04-25 13:58:56 +0300
12857 Removed src/liblzma/common/sysdefs.h symlink, which was
12858 annoying, because "make dist" put two copies of sysdefs.h
12859 into the tarball instead of the symlink.
12861 src/liblzma/check/crc32_table.c | 2 +-
12862 src/liblzma/check/crc64_table.c | 2 +-
12863 src/liblzma/common/Makefile.am | 1 -
12864 src/liblzma/common/common.h | 2 +-
12865 src/liblzma/common/sysdefs.h | 1 -
12866 5 files changed, 3 insertions(+), 5 deletions(-)
12868 commit d3ba30243c75c13d094de1793f9c58acdbacc692
12869 Author: Lasse Collin <lasse.collin@tukaani.org>
12870 Date: 2008-04-25 13:41:29 +0300
12872 Added memusage.c to debug directory.
12874 debug/Makefile.am | 3 ++-
12875 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
12876 2 files changed, 57 insertions(+), 1 deletion(-)
12878 commit 8f804c29aa8471ccd6438ddca254092b8869ca52
12879 Author: Lasse Collin <lasse.collin@tukaani.org>
12880 Date: 2008-04-25 13:32:35 +0300
12882 Bumped version number to 4.999.3alpha. It will become 5.0.0
12883 once we have a stable release (won't be very soon). The
12884 version number is no longer related to version of LZMA SDK.
12886 Made some small Automake-related changes to toplevel
12887 Makefile.am and configure.ac.
12889 Makefile.am | 7 +++++--
12890 README | 29 +++++++++++++++++++++++++++++
12891 configure.ac | 4 ++--
12892 src/liblzma/api/lzma/version.h | 22 ++++++++++------------
12893 4 files changed, 46 insertions(+), 16 deletions(-)
12895 commit c99037ea10f121cbacf60c37a36c29768ae53447
12896 Author: Lasse Collin <lasse.collin@tukaani.org>
12897 Date: 2008-04-24 20:25:39 +0300
12899 Fix a memory leak by calling free(extra->data) in
12902 src/liblzma/common/extra.c | 1 +
12903 1 file changed, 1 insertion(+)
12905 commit 22ba3b0b5043fa481903482ce85015fe775939e5
12906 Author: Lasse Collin <lasse.collin@tukaani.org>
12907 Date: 2008-04-24 20:23:05 +0300
12909 Make unlzma and lzcat symlinks.
12911 src/lzma/Makefile.am | 12 ++++++++++++
12912 1 file changed, 12 insertions(+)
12914 commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
12915 Author: Lasse Collin <lasse.collin@tukaani.org>
12916 Date: 2008-04-24 20:20:27 +0300
12918 Fixed a bug in command line option parsing.
12920 src/lzma/options.c | 2 +-
12921 1 file changed, 1 insertion(+), 1 deletion(-)
12923 commit 283f939974c32c47f05d495e8dea455ec646ed64
12924 Author: Lasse Collin <lasse.collin@tukaani.org>
12925 Date: 2008-04-24 20:19:20 +0300
12927 Added two assert()s.
12929 src/liblzma/lzma/lzma_encoder.c | 4 +++-
12930 1 file changed, 3 insertions(+), 1 deletion(-)
12932 commit eb348a60b6e19a7c093f892434f23c4756973ffd
12933 Author: Lasse Collin <lasse.collin@tukaani.org>
12934 Date: 2008-04-24 19:22:53 +0300
12936 Switch to uint16_t as the type of range coder probabilities.
12938 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------
12939 1 file changed, 19 insertions(+), 6 deletions(-)
12941 commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
12942 Author: Lasse Collin <lasse.collin@tukaani.org>
12943 Date: 2008-04-24 18:39:57 +0300
12945 Fix wrong return type (uint32_t -> bool).
12947 src/liblzma/lz/lz_encoder.c | 2 +-
12948 src/liblzma/lz/lz_encoder.h | 2 +-
12949 2 files changed, 2 insertions(+), 2 deletions(-)
12951 commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
12952 Author: Lasse Collin <lasse.collin@tukaani.org>
12953 Date: 2008-04-24 18:38:00 +0300
12955 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
12957 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++
12958 src/liblzma/lz/lz_encoder.h | 4 ++++
12959 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++-----
12960 3 files changed, 38 insertions(+), 5 deletions(-)
12962 commit bc04486e368d20b3027cde625267762aae063965
12963 Author: Lasse Collin <lasse.collin@tukaani.org>
12964 Date: 2008-04-24 17:33:01 +0300
12966 Fix fastpos problem in Makefile.am when built with --enable-small.
12968 src/liblzma/lzma/Makefile.am | 5 ++++-
12969 1 file changed, 4 insertions(+), 1 deletion(-)
12971 commit 7ab493924e0ed590a5121a15ee54038d238880d3
12972 Author: Lasse Collin <lasse.collin@tukaani.org>
12973 Date: 2008-04-24 17:30:51 +0300
12975 Use 64-bit integer as range encoder's cache size. This fixes a
12976 theoretical data corruption, which should be very hard to trigger
12977 even intentionally.
12979 src/liblzma/rangecoder/range_encoder.h | 2 +-
12980 1 file changed, 1 insertion(+), 1 deletion(-)
12982 commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
12983 Author: Lasse Collin <lasse.collin@tukaani.org>
12984 Date: 2008-03-24 16:38:40 +0200
12986 Replaced the range decoder optimization that used arithmetic
12987 right shift with as fast version that doesn't need
12988 arithmetic right shift. Removed the related check from
12992 m4/ax_c_arithmetic_rshift.m4 | 36 -----------------------
12993 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------
12994 3 files changed, 16 insertions(+), 74 deletions(-)
12996 commit ad999efd279d95f1e7ac555b14170e8e9020488c
12997 Author: Lasse Collin <lasse.collin@tukaani.org>
12998 Date: 2008-03-22 14:39:34 +0200
13000 Take advantage of arithmetic right shift in range decoder.
13002 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++----------
13003 1 file changed, 37 insertions(+), 15 deletions(-)
13005 commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
13006 Author: Lasse Collin <lasse.collin@tukaani.org>
13007 Date: 2008-03-22 14:18:29 +0200
13009 Added autoconf check to detect if we can use arithmetic
13010 right shift for optimizations.
13013 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++
13014 2 files changed, 37 insertions(+)
13016 commit 7521bbdc83acab834594a22bec50c8e1bd836298
13017 Author: Lasse Collin <lasse.collin@tukaani.org>
13018 Date: 2008-03-22 01:26:36 +0200
13020 Update a comment to use the variable name rep_len_decoder.
13022 (And BTW, the previous commit actually did change the
13023 program logic slightly.)
13025 src/liblzma/lzma/lzma_decoder.c | 2 +-
13026 1 file changed, 1 insertion(+), 1 deletion(-)
13028 commit 63b74d000eedaebb8485f623e56864ff5ab71064
13029 Author: Lasse Collin <lasse.collin@tukaani.org>
13030 Date: 2008-03-22 00:57:33 +0200
13032 Demystified the "state" variable in LZMA code. Use the
13033 word literal instead of char for better consistency.
13034 There are still some names with _char instead of _literal
13035 in lzma_optimum, these may be changed later.
13037 Renamed length coder variables.
13039 This commit doesn't change the program logic.
13041 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++--------
13042 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++----------
13043 src/liblzma/lzma/lzma_encoder.c | 14 +++---
13044 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++--------
13045 src/liblzma/lzma/lzma_encoder_init.c | 5 ++-
13046 src/liblzma/lzma/lzma_encoder_private.h | 8 ++--
13047 6 files changed, 107 insertions(+), 70 deletions(-)
13049 commit e6eb0a26757e851cef62b9440319a8e73b015cb9
13050 Author: Lasse Collin <lasse.collin@tukaani.org>
13051 Date: 2008-03-14 23:16:11 +0200
13053 Fix data corruption in LZMA encoder. Note that this bug was
13054 specific to liblzma and was *not* present in LZMA SDK.
13056 src/liblzma/lzma/lzma_encoder.c | 4 ++++
13057 1 file changed, 4 insertions(+)
13059 commit 7d516f5129e4373a6d57249d7f608c634c66bf12
13060 Author: Lasse Collin <lasse.collin@tukaani.org>
13061 Date: 2008-03-14 21:32:37 +0200
13063 Fix a comment API header.
13065 src/liblzma/api/lzma/lzma.h | 2 +-
13066 1 file changed, 1 insertion(+), 1 deletion(-)
13068 commit 748d6e4274921a350bd0a317380309717441ef9c
13069 Author: Lasse Collin <lasse.collin@tukaani.org>
13070 Date: 2008-03-12 23:14:50 +0200
13072 Make lzma_stream.next_in const. Let's see if anyone complains.
13074 src/liblzma/api/lzma/base.h | 2 +-
13075 1 file changed, 1 insertion(+), 1 deletion(-)
13077 commit bfde3b24a5ae25ce53c854762b6148952386b025
13078 Author: Lasse Collin <lasse.collin@tukaani.org>
13079 Date: 2008-03-11 15:35:34 +0200
13081 Apply a minor speed optimization to LZMA decoder.
13083 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++--------------------
13084 1 file changed, 43 insertions(+), 42 deletions(-)
13086 commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
13087 Author: Lasse Collin <lasse.collin@tukaani.org>
13088 Date: 2008-03-11 15:17:16 +0200
13090 Initialize the last byte of the dictionary to zero so that
13091 lz_get_byte(lz, 0) returns zero. This was broken by
13092 1a3b21859818e4d8e89a1da99699233c1bfd197d.
13094 src/liblzma/lz/lz_decoder.c | 1 +
13095 1 file changed, 1 insertion(+)
13097 commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
13098 Author: Lasse Collin <lasse.collin@tukaani.org>
13099 Date: 2008-03-10 15:57:55 +0200
13101 Really fix the price count initialization.
13103 src/liblzma/lzma/lzma_encoder_init.c | 4 ++--
13104 1 file changed, 2 insertions(+), 2 deletions(-)
13106 commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
13107 Author: Lasse Collin <lasse.collin@tukaani.org>
13108 Date: 2008-03-10 13:47:17 +0200
13113 1 file changed, 1 insertion(+)
13115 commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
13116 Author: Lasse Collin <lasse.collin@tukaani.org>
13117 Date: 2008-03-10 13:46:48 +0200
13119 Initialize align_price_count and match_price_count in
13120 lzma_encoder_init.c. While we don't call
13121 fill_distances_prices() and fill_align_prices() in
13122 lzma_lzma_encoder_init(), we still need to initialize
13123 these two variables so that the fill functions get
13124 called in lzma_encoder_getoptimum.c in the beginning
13127 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
13128 1 file changed, 2 insertions(+)
13130 commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
13131 Author: Lasse Collin <lasse.collin@tukaani.org>
13132 Date: 2008-03-10 13:44:29 +0200
13134 Always initialize lz->temp_size in lz_decoder.c. temp_size did
13135 get initialized as a side-effect after allocating a new decoder,
13136 but not when the decoder was reused.
13138 src/liblzma/lz/lz_decoder.c | 11 ++++++-----
13139 1 file changed, 6 insertions(+), 5 deletions(-)
13141 commit 45e43e169527e7a98a8c8a821d37bf25822b764d
13142 Author: Lasse Collin <lasse.collin@tukaani.org>
13143 Date: 2008-03-10 13:41:25 +0200
13145 Don't fill allocated memory with 0xFD when debugging is
13146 enabled. It hides errors from Valgrind.
13148 src/liblzma/common/allocator.c | 7 ++++---
13149 1 file changed, 4 insertions(+), 3 deletions(-)
13151 commit c0e19e0662205f81a86da8903cdc325d50635870
13152 Author: Lasse Collin <lasse.collin@tukaani.org>
13153 Date: 2008-02-28 10:24:31 +0200
13155 Remove two redundant validity checks from the LZMA decoder.
13156 These are already checked elsewhere, so omitting these
13157 gives (very) tiny speed up.
13159 src/liblzma/lzma/lzma_decoder.c | 23 ++++-------------------
13160 1 file changed, 4 insertions(+), 19 deletions(-)
13162 commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
13163 Author: Lasse Collin <lasse.collin@tukaani.org>
13164 Date: 2008-02-06 13:25:32 +0200
13166 Tiny clean up to file-format.txt.
13168 doc/file-format.txt | 6 +++---
13169 1 file changed, 3 insertions(+), 3 deletions(-)
13171 commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
13172 Author: Lasse Collin <lasse.collin@tukaani.org>
13173 Date: 2008-02-02 14:51:06 +0200
13175 Don't memzero() the history buffer when initializing LZ
13176 decoder. There's no danger of information leak here, so
13177 it isn't required. Doing memzero() takes a lot of time
13178 with large dictionaries, which could make it easier to
13179 construct DoS attack to consume too much CPU time.
13181 src/liblzma/lz/lz_decoder.c | 7 +++----
13182 1 file changed, 3 insertions(+), 4 deletions(-)
13184 commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
13185 Author: Lasse Collin <lasse.collin@tukaani.org>
13186 Date: 2008-02-01 08:39:26 +0200
13188 Do uncompressed size validation in raw encoder. This way
13189 it gets done for not only raw encoder, but also Block
13190 and LZMA_Alone encoders.
13192 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++--------
13193 1 file changed, 73 insertions(+), 17 deletions(-)
13195 commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
13196 Author: Lasse Collin <lasse.collin@tukaani.org>
13197 Date: 2008-02-01 08:32:05 +0200
13199 Avoid unneeded function call in raw_common.c.
13201 src/liblzma/common/raw_common.c | 20 +++++++++++---------
13202 1 file changed, 11 insertions(+), 9 deletions(-)
13204 commit b596fac963c3ff96f615d4d9b427a213ec341211
13205 Author: Lasse Collin <lasse.collin@tukaani.org>
13206 Date: 2008-01-26 21:42:38 +0200
13211 1 file changed, 1 insertion(+)
13213 commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
13214 Author: Lasse Collin <lasse.collin@tukaani.org>
13215 Date: 2008-01-26 21:40:23 +0200
13217 Added note.GNU-stack to x86 assembler files. It is needed
13218 when using non-executable stack.
13220 src/liblzma/check/crc32_x86.S | 9 +++++++++
13221 src/liblzma/check/crc64_x86.S | 9 +++++++++
13222 2 files changed, 18 insertions(+)
13224 commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
13225 Author: Lasse Collin <lasse.collin@tukaani.org>
13226 Date: 2008-01-26 19:12:50 +0200
13228 Added api/lzma/easy.h. I had forgot to add this to the
13229 git repo. Thanks to Stephan Kulow.
13231 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++
13232 1 file changed, 174 insertions(+)
13234 commit 288b232f54c3692cd36f471d4042f51daf3ea79f
13235 Author: Lasse Collin <lasse.collin@tukaani.org>
13236 Date: 2008-01-26 11:09:17 +0200
13238 Added more test files.
13240 tests/files/README | 11 +++++++++++
13241 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes
13242 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes
13243 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes
13244 4 files changed, 11 insertions(+)
13246 commit c467b0defccf233d0c79234407bc38d7d09574d3
13247 Author: Lasse Collin <lasse.collin@tukaani.org>
13248 Date: 2008-01-26 10:47:55 +0200
13250 Added more test files.
13252 tests/files/README | 6 ++++++
13253 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes
13254 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes
13255 3 files changed, 6 insertions(+)
13257 commit f9842f712732c482f2def9f24437851e57dd83f8
13258 Author: Lasse Collin <lasse.collin@tukaani.org>
13259 Date: 2008-01-26 00:25:34 +0200
13261 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
13262 of the so called simple filters. If there is demand, limited
13263 support for LZMA_SYNC_FLUSH may be added in future.
13265 After this commit, using LZMA_SYNC_FLUSH shouldn't cause
13266 undefined behavior in any situation.
13268 src/liblzma/api/lzma/simple.h | 9 +++++++++
13269 src/liblzma/simple/simple_coder.c | 8 ++++++++
13270 2 files changed, 17 insertions(+)
13272 commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
13273 Author: Lasse Collin <lasse.collin@tukaani.org>
13274 Date: 2008-01-25 23:50:35 +0200
13276 Added more Multi-Block test files. Improved some
13277 descriptions in the test files' README.
13279 tests/files/README | 34 +++++++++++++++++++++++++------
13280 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes
13281 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes
13282 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes
13283 4 files changed, 28 insertions(+), 6 deletions(-)
13285 commit 4441e004185cd4c61bda184010eca5924c9dec87
13286 Author: Lasse Collin <lasse.collin@tukaani.org>
13287 Date: 2008-01-25 23:12:36 +0200
13289 Combine lzma_options_block validation needed by both Block
13290 encoder and decoder, and put the shared things to
13291 block_private.h. Improved the checks a little so that
13292 they may detect too big Compressed Size at initialization
13293 time if lzma_options_block.total_size or .total_limit is
13296 Allow encoding and decoding Blocks with combinations of
13297 fields that are not allowed by the file format specification.
13298 Doing this requires that the application passes such a
13299 combination in lzma_options_lzma; liblzma doesn't do that,
13300 but it's not impossible that someone could find them useful
13301 in some custom file format.
13303 src/liblzma/common/block_decoder.c | 37 ++++++++++++----------------
13304 src/liblzma/common/block_encoder.c | 32 +++++-------------------
13305 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++
13306 3 files changed, 71 insertions(+), 48 deletions(-)
13308 commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
13309 Author: Lasse Collin <lasse.collin@tukaani.org>
13310 Date: 2008-01-25 19:21:22 +0200
13312 Added test_memlimit.c.
13314 tests/Makefile.am | 2 +
13315 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++
13316 2 files changed, 116 insertions(+)
13318 commit 7b8fc7e6b501a32a36636dac79ecb57099269005
13319 Author: Lasse Collin <lasse.collin@tukaani.org>
13320 Date: 2008-01-25 19:20:28 +0200
13322 Improved the memory limitter:
13323 - Added lzma_memlimit_max() and lzma_memlimit_reached()
13325 - Added simple estimation of malloc()'s memory usage
13327 - Fixed integer overflow detection in lzma_memlimit_alloc().
13328 - Made some white space cleanups and added more comments.
13330 The description of lzma_memlimit_max() in memlimit.h is bad
13331 and should be improved.
13333 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++
13334 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------
13335 2 files changed, 118 insertions(+), 14 deletions(-)
13337 commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
13338 Author: Lasse Collin <lasse.collin@tukaani.org>
13339 Date: 2008-01-25 13:55:52 +0200
13341 Use more parenthesis in succeed() macro in tests/tests.h.
13343 tests/tests.h | 2 +-
13344 1 file changed, 1 insertion(+), 1 deletion(-)
13346 commit 1fd76d488179580d37f31ee11948f4932aed31fd
13347 Author: Lasse Collin <lasse.collin@tukaani.org>
13348 Date: 2008-01-24 14:49:34 +0200
13350 Added more Multi-Block Stream test files.
13352 tests/files/README | 23 +++++++++++++++++++++++
13353 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes
13354 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes
13355 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes
13356 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes
13357 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes
13358 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes
13359 7 files changed, 23 insertions(+)
13361 commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
13362 Author: Lasse Collin <lasse.collin@tukaani.org>
13363 Date: 2008-01-24 00:46:05 +0200
13365 Added bunch of test files containing Multi-Block Streams.
13367 tests/files/README | 53 ++++++++++++++++++++++++++++++
13368 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes
13369 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes
13370 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes
13371 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes
13372 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes
13373 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
13374 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes
13375 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes
13376 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes
13377 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes
13378 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes
13379 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes
13380 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes
13381 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes
13382 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes
13383 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
13384 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes
13385 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes
13386 19 files changed, 53 insertions(+)
13388 commit db9df0a9609c01a00a227329fb96e983971040f5
13389 Author: Lasse Collin <lasse.collin@tukaani.org>
13390 Date: 2008-01-23 23:43:00 +0200
13392 Fix decoding of empty Metadata Blocks, that don't have
13393 even the Metadata Flags field. Earlier the code allowed
13394 such files; now they are prohibited as the file format
13395 specification requires.
13397 src/liblzma/common/metadata_decoder.c | 4 +++-
13398 1 file changed, 3 insertions(+), 1 deletion(-)
13400 commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
13401 Author: Lasse Collin <lasse.collin@tukaani.org>
13402 Date: 2008-01-23 23:38:18 +0200
13404 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
13405 lzma_metadata.header_metadata_size was not properly set to
13406 zero if the Metadata had only the Metadata Flags field.
13408 src/liblzma/common/metadata_decoder.c | 13 +++++++------
13409 1 file changed, 7 insertions(+), 6 deletions(-)
13411 commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
13412 Author: Lasse Collin <lasse.collin@tukaani.org>
13413 Date: 2008-01-23 23:35:49 +0200
13415 Fix decoding of Extra Records that have empty Data.
13417 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++-
13418 1 file changed, 12 insertions(+), 1 deletion(-)
13420 commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
13421 Author: Lasse Collin <lasse.collin@tukaani.org>
13422 Date: 2008-01-23 22:02:38 +0200
13424 Add the trailing '\0' to lzma_extra.data as the API header
13427 src/liblzma/common/metadata_decoder.c | 4 +++-
13428 1 file changed, 3 insertions(+), 1 deletion(-)
13430 commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
13431 Author: Lasse Collin <lasse.collin@tukaani.org>
13432 Date: 2008-01-23 21:21:21 +0200
13434 Added debug/full_flush.c.
13436 debug/Makefile.am | 3 +-
13437 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13438 2 files changed, 107 insertions(+), 1 deletion(-)
13440 commit ae0cd09a666a1682da8fc09487322227679e218d
13441 Author: Lasse Collin <lasse.collin@tukaani.org>
13442 Date: 2008-01-23 21:05:33 +0200
13444 Return LZMA_STREAM_END instead of LZMA_OK if
13445 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
13446 there's no unfinished Block open.
13448 src/liblzma/common/stream_encoder_multi.c | 6 +++++-
13449 1 file changed, 5 insertions(+), 1 deletion(-)
13451 commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
13452 Author: Lasse Collin <lasse.collin@tukaani.org>
13453 Date: 2008-01-23 20:05:01 +0200
13455 Added bad-single-none-footer_filter_flags.lzma and
13456 bad-single-none-too_long_vli.lzma.
13458 tests/files/README | 5 +++++
13459 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes
13460 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes
13461 3 files changed, 5 insertions(+)
13463 commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
13464 Author: Lasse Collin <lasse.collin@tukaani.org>
13465 Date: 2008-01-23 13:42:35 +0200
13469 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
13470 1 file changed, 1 insertion(+), 1 deletion(-)
13472 commit 980f65a9a10160c4d105767871e3002b9aaba3e0
13473 Author: Lasse Collin <lasse.collin@tukaani.org>
13474 Date: 2008-01-23 13:40:45 +0200
13476 Fix a memory leak in the Subblock encoder.
13478 src/liblzma/subblock/subblock_encoder.c | 1 +
13479 1 file changed, 1 insertion(+)
13481 commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
13482 Author: Lasse Collin <lasse.collin@tukaani.org>
13483 Date: 2008-01-23 13:36:07 +0200
13485 Fix Size of Header Metadata Block handling. Now
13486 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
13487 is not allowed at all. To indicate missing Header Metadata
13488 Block, header_metadata_size must be set to zero. This is
13489 what Metadata decoder does after this patch too.
13491 Note that other missing fields in lzma_metadata are still
13492 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
13493 illogical as it sounds at first, because missing Size of
13494 Header Metadata Block means that Header Metadata Block is
13495 not present in the Stream. With other Metadata fields,
13496 a missing field means only that the value is unknown.
13498 src/liblzma/common/info.c | 13 ++++---------
13499 src/liblzma/common/metadata_decoder.c | 6 ++++++
13500 src/liblzma/common/metadata_encoder.c | 11 +++++------
13501 tests/test_info.c | 4 ++--
13502 4 files changed, 17 insertions(+), 17 deletions(-)
13504 commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
13505 Author: Lasse Collin <lasse.collin@tukaani.org>
13506 Date: 2008-01-23 13:15:55 +0200
13508 Fix a memory leak in metadata_decoder.c.
13510 src/liblzma/common/metadata_decoder.c | 1 +
13511 1 file changed, 1 insertion(+)
13513 commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
13514 Author: Lasse Collin <lasse.collin@tukaani.org>
13515 Date: 2008-01-23 13:13:58 +0200
13517 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
13518 just moved to problem. Now it's really fixed.
13520 src/liblzma/common/info.c | 5 ++++-
13521 1 file changed, 4 insertions(+), 1 deletion(-)
13523 commit 67321de963ccf69410b3868b8e31534fe18a90de
13524 Author: Lasse Collin <lasse.collin@tukaani.org>
13525 Date: 2008-01-23 00:21:04 +0200
13527 Take advantage of return_if_error() macro in
13528 lzma_info_metadata_set() in info.c.
13530 src/liblzma/common/info.c | 24 ++++++++----------------
13531 1 file changed, 8 insertions(+), 16 deletions(-)
13533 commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
13534 Author: Lasse Collin <lasse.collin@tukaani.org>
13535 Date: 2008-01-23 00:18:32 +0200
13537 Fixed a dangling pointer that caused invalid free().
13539 src/liblzma/common/info.c | 1 +
13540 1 file changed, 1 insertion(+)
13542 commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
13543 Author: Lasse Collin <lasse.collin@tukaani.org>
13544 Date: 2008-01-22 22:49:24 +0200
13546 Added lzma_easy_* functions. These should make using
13547 liblzma as easy as using zlib, because the easy API
13548 don't require developers to know any fancy LZMA options.
13550 Note that Multi-Block Stream encoding is currently broken.
13551 The easy API should be OK, the bug(s) are elsewhere.
13553 src/liblzma/api/Makefile.am | 1 +
13554 src/liblzma/api/lzma.h | 1 +
13555 src/liblzma/common/Makefile.am | 5 ++
13556 src/liblzma/common/easy_common.c | 54 ++++++++++++++++
13557 src/liblzma/common/easy_common.h | 28 ++++++++
13558 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++
13559 src/liblzma/common/easy_single.c | 37 +++++++++++
13560 src/liblzma/common/stream_encoder_multi.c | 3 +-
13561 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++
13562 9 files changed, 256 insertions(+), 2 deletions(-)
13564 commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
13565 Author: Lasse Collin <lasse.collin@tukaani.org>
13566 Date: 2008-01-22 21:16:22 +0200
13568 Fix Multi-Block Stream encoder's EOPM usage.
13570 src/liblzma/common/stream_encoder_multi.c | 2 +-
13571 1 file changed, 1 insertion(+), 1 deletion(-)
13573 commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
13574 Author: Lasse Collin <lasse.collin@tukaani.org>
13575 Date: 2008-01-22 00:15:11 +0200
13577 Made lzma_extra pointers const in lzma_options_stream.
13579 src/liblzma/api/lzma/stream.h | 4 ++--
13580 src/liblzma/common/stream_encoder_multi.c | 8 ++++++--
13581 2 files changed, 8 insertions(+), 4 deletions(-)
13583 commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
13584 Author: Lasse Collin <lasse.collin@tukaani.org>
13585 Date: 2008-01-20 20:15:21 +0200
13587 Updated debug/sync_flush.c.
13589 debug/sync_flush.c | 26 ++++++++++++++++++++++++--
13590 1 file changed, 24 insertions(+), 2 deletions(-)
13592 commit d53e9b77054cfade6a643e77d085273a348b189c
13593 Author: Lasse Collin <lasse.collin@tukaani.org>
13594 Date: 2008-01-20 20:14:26 +0200
13596 Added debug/repeat.c.
13598 debug/Makefile.am | 1 +
13599 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++
13600 2 files changed, 44 insertions(+)
13602 commit 107259e306bcfc2336a0fb870fb58034c28faa52
13603 Author: Lasse Collin <lasse.collin@tukaani.org>
13604 Date: 2008-01-20 20:12:58 +0200
13606 Fix alignment handling bugs in Subblock encoder.
13608 This leaves one known alignment bug unfixed: If repeat count
13609 doesn't fit into 28-bit integer, the encoder has to split
13610 this to multiple Subblocks with Subblock Type `Repeating Data'.
13611 The extra Subblocks may have wrong alignment. Correct alignment
13612 is restored after the split Repeating Data has been completely
13615 Since the encoder doesn't even try to fix the alignment unless
13616 the size of Data is at least 4 bytes, to trigger this bug you
13617 need at least 4 GiB of repeating data with sequence length of
13618 4 or more bytes. Since the worst thing done by this bug is
13619 misaligned data (no data corruption), this bug simply isn't
13620 worth fixing, because a proper fix isn't simple.
13622 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++----------
13623 1 file changed, 119 insertions(+), 51 deletions(-)
13625 commit e141fe18950400faaa3503ff88ac20eacd73e88c
13626 Author: Lasse Collin <lasse.collin@tukaani.org>
13627 Date: 2008-01-19 21:16:33 +0200
13629 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
13630 The API for handing Subfilters was changed to make it
13631 consistent with LZMA_SYNC_FLUSH.
13633 A few sanity checks were added for Subfilter handling. Some
13634 small bugs were fixed. More comments were added.
13636 src/liblzma/api/lzma/subblock.h | 29 ++--
13637 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++--------
13638 2 files changed, 214 insertions(+), 78 deletions(-)
13640 commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
13641 Author: Lasse Collin <lasse.collin@tukaani.org>
13642 Date: 2008-01-19 15:19:21 +0200
13644 Revised the Delta filter implementation. The initialization
13645 function is still shared between encoder and decoder, but the
13646 actual coding is in separate files for encoder and decoder.
13648 There are now separate functions for the actual delta
13649 calculation depending on if Delta is the last filter in the
13650 chain or not. If it is the last, the new code copies the
13651 data from input to output buffer and does the delta
13652 calculation at the same time. The old code first copied the
13653 data, then did the delta in the target buffer, which required
13654 reading through the data twice.
13656 Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
13657 This doesn't change anything in the file format.
13659 src/liblzma/common/Makefile.am | 14 ++-
13660 src/liblzma/common/delta_coder.c | 189 -------------------------------------
13661 src/liblzma/common/delta_coder.h | 31 ------
13662 src/liblzma/common/delta_common.c | 70 ++++++++++++++
13663 src/liblzma/common/delta_common.h | 48 ++++++++++
13664 src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++
13665 src/liblzma/common/delta_decoder.h | 28 ++++++
13666 src/liblzma/common/delta_encoder.c | 97 +++++++++++++++++++
13667 src/liblzma/common/delta_encoder.h | 28 ++++++
13668 src/liblzma/common/raw_decoder.c | 2 +-
13669 src/liblzma/common/raw_encoder.c | 2 +-
13670 11 files changed, 387 insertions(+), 224 deletions(-)
13672 commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
13673 Author: Lasse Collin <lasse.collin@tukaani.org>
13674 Date: 2008-01-18 20:18:08 +0200
13676 Added the debug directory and the first debug tool
13677 (sync_flush). These tools are not built unless the
13678 user runs "make" in the debug directory.
13682 debug/Makefile.am | 30 ++++++++++++++
13683 debug/README | 17 ++++++++
13684 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13685 5 files changed, 165 insertions(+)
13687 commit 0ae3208db94585eb8294b97ded387de0a3a07646
13688 Author: Lasse Collin <lasse.collin@tukaani.org>
13689 Date: 2008-01-18 20:13:00 +0200
13691 Added test files to test usage of flush marker in LZMA.
13693 tests/files/README | 12 ++++++++++++
13694 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes
13695 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes
13696 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes
13697 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes
13698 5 files changed, 12 insertions(+)
13700 commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
13701 Author: Lasse Collin <lasse.collin@tukaani.org>
13702 Date: 2008-01-18 20:02:52 +0200
13704 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
13705 That code is now almost completely in LZ coder, where
13706 it can be shared with other LZ77-based algorithms in
13709 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++--------
13710 src/liblzma/lz/lz_encoder.h | 1 +
13711 src/liblzma/lzma/lzma_encoder.c | 27 ++-------------------------
13712 3 files changed, 29 insertions(+), 33 deletions(-)
13714 commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
13715 Author: Lasse Collin <lasse.collin@tukaani.org>
13716 Date: 2008-01-18 17:21:24 +0200
13718 Don't add -g to CFLAGS when --enable-debug is specified.
13719 It's the job of the user to put that in CFLAGS.
13722 1 file changed, 1 deletion(-)
13724 commit 61d1784d8f1761d979a6da6e223e279ca33815e6
13725 Author: Lasse Collin <lasse.collin@tukaani.org>
13726 Date: 2008-01-18 14:17:37 +0200
13728 Set stdin and stdout to binary mode on Windows. This patch is
13729 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
13730 from lzma-utils-legacy.git. I don't know if the new code base
13731 builds on Windows, but this is a start.
13733 src/lzmadec/lzmadec.c | 9 +++++++++
13734 1 file changed, 9 insertions(+)
13736 commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
13737 Author: Lasse Collin <lasse.collin@tukaani.org>
13738 Date: 2008-01-18 00:50:29 +0200
13740 Added test_compress.sh and bunch of files needed by it.
13741 This new set of tests compress and decompress several
13742 test files with many different compression options.
13743 This set of tests will be extended later.
13745 tests/Makefile.am | 30 ++++---
13746 tests/bcj_test.c | 66 ++++++++++++++
13747 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes
13748 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes
13749 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++
13750 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++
13751 6 files changed, 433 insertions(+), 10 deletions(-)
13753 commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
13754 Author: Lasse Collin <lasse.collin@tukaani.org>
13755 Date: 2008-01-17 18:56:53 +0200
13757 Subblock decoder: Don't exit the main loop in decode_buffer()
13758 too early if we hit End of Input while decoding a Subblock of
13759 type Repeating Data. To keep the loop termination condition
13760 elegant, the order of enumerations in coder->sequence were
13763 To keep the case-labels in roughly the same order as the
13764 enumerations in coder->sequence, large chunks of code was
13765 moved around. This made the diff big and ugly compared to
13766 the amount of the actual changes made.
13768 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++----------------
13769 1 file changed, 139 insertions(+), 133 deletions(-)
13771 commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
13772 Author: Lasse Collin <lasse.collin@tukaani.org>
13773 Date: 2008-01-17 17:39:42 +0200
13775 Fix wrong too small size of argument unfiltered_max
13776 in ia64_coder_init(). It triggered assert() in
13777 simple_coder.c, and could have caused a buffer overflow.
13779 This error was probably a copypaste mistake, since most
13780 of the simple filters use unfiltered_max = 4.
13782 src/liblzma/simple/ia64.c | 2 +-
13783 1 file changed, 1 insertion(+), 1 deletion(-)
13785 commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
13786 Author: Lasse Collin <lasse.collin@tukaani.org>
13787 Date: 2008-01-17 17:27:45 +0200
13789 Added --delta to the output of "lzma --help".
13791 src/lzma/help.c | 4 ++++
13792 1 file changed, 4 insertions(+)
13794 commit f88590e0014b38d40465937c19f25f05f16c79ae
13795 Author: Lasse Collin <lasse.collin@tukaani.org>
13796 Date: 2008-01-17 13:14:20 +0200
13798 Fix Subblock docoder: If Subblock filter was used with known
13799 Uncompressed Size, and the last output byte was from RLE,
13800 the code didn't stop decoding as it should have done.
13802 src/liblzma/subblock/subblock_decoder.c | 6 ++++++
13803 1 file changed, 6 insertions(+)
13805 commit bc0b945ca376e333077644d2f7fd54c2848aab8a
13806 Author: Lasse Collin <lasse.collin@tukaani.org>
13807 Date: 2008-01-16 16:33:37 +0200
13809 Tiny non-technical edits to file-format.txt.
13811 doc/file-format.txt | 6 +++---
13812 1 file changed, 3 insertions(+), 3 deletions(-)
13814 commit 7599bb7064ccf007f054595dedda7927af868252
13815 Author: Lasse Collin <lasse.collin@tukaani.org>
13816 Date: 2008-01-16 14:48:04 +0200
13818 Plugged a memory leak in stream_decoder.c.
13820 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++
13821 1 file changed, 20 insertions(+)
13823 commit 0b581539311f3712946e81e747839f8fb5f441a7
13824 Author: Lasse Collin <lasse.collin@tukaani.org>
13825 Date: 2008-01-16 14:47:27 +0200
13827 Added memory leak detection to lzmadec.c.
13829 src/lzmadec/lzmadec.c | 3 +++
13830 1 file changed, 3 insertions(+)
13832 commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
13833 Author: Lasse Collin <lasse.collin@tukaani.org>
13834 Date: 2008-01-16 14:46:50 +0200
13836 Added lzma_memlimit_count().
13838 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++
13839 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++
13840 2 files changed, 29 insertions(+)
13842 commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
13843 Author: Lasse Collin <lasse.collin@tukaani.org>
13844 Date: 2008-01-16 14:31:44 +0200
13846 Added ARRAY_SIZE(array) macro.
13848 src/common/sysdefs.h | 4 ++++
13849 1 file changed, 4 insertions(+)
13851 commit 9bc33a54cbf83952130adbcb1be32c6882485416
13852 Author: Lasse Collin <lasse.collin@tukaani.org>
13853 Date: 2008-01-16 13:27:03 +0200
13855 Make Uncompresed Size validation more strict
13856 in alone_decoder.c.
13858 src/liblzma/common/alone_decoder.c | 3 ++-
13859 1 file changed, 2 insertions(+), 1 deletion(-)
13861 commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
13862 Author: Lasse Collin <lasse.collin@tukaani.org>
13863 Date: 2008-01-15 17:46:59 +0200
13865 Free the allocated memory in lzmadec if debugging is
13866 enabled. This should make it possible to detect possible
13867 memory leaks with Valgrind.
13869 src/lzmadec/lzmadec.c | 7 +++++++
13870 1 file changed, 7 insertions(+)
13872 commit 8235e6e5b2878f76633afcda9a334640db503ef5
13873 Author: Lasse Collin <lasse.collin@tukaani.org>
13874 Date: 2008-01-15 16:25:38 +0200
13876 Fix memory leaks from test_block_header.c.
13878 tests/test_block_header.c | 19 +++++++++++++++++--
13879 1 file changed, 17 insertions(+), 2 deletions(-)
13881 commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
13882 Author: Lasse Collin <lasse.collin@tukaani.org>
13883 Date: 2008-01-15 14:23:35 +0200
13885 Use fastpos.h when encoding LZMA dictionary size in
13886 Filter Flags encoder.
13888 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++----------------
13889 1 file changed, 19 insertions(+), 21 deletions(-)
13891 commit e5728142a2048979f5c0c2149ce71ae952a092e1
13892 Author: Lasse Collin <lasse.collin@tukaani.org>
13893 Date: 2008-01-15 14:02:22 +0200
13895 Revised the fastpos code. It now uses the slightly faster
13896 table-based version from LZMA SDK 4.57. This should be
13897 fast on most systems.
13899 A simpler and smaller alternative version is also provided.
13900 On some CPUs this can be even a little faster than the
13901 default table-based version (see comments in fastpos.h),
13902 but on most systems the table-based code is faster.
13904 src/liblzma/common/init_encoder.c | 3 -
13905 src/liblzma/lzma/Makefile.am | 4 +
13906 src/liblzma/lzma/fastpos.h | 156 +++++++++
13907 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++
13908 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++
13909 src/liblzma/lzma/lzma_common.h | 3 +-
13910 src/liblzma/lzma/lzma_encoder.c | 1 +
13911 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 +
13912 src/liblzma/lzma/lzma_encoder_init.c | 22 --
13913 src/liblzma/lzma/lzma_encoder_private.h | 21 --
13914 10 files changed, 746 insertions(+), 47 deletions(-)
13916 commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
13917 Author: Lasse Collin <lasse.collin@tukaani.org>
13918 Date: 2008-01-15 13:32:13 +0200
13922 src/liblzma/common/Makefile.am | 1 +
13923 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++
13924 2 files changed, 62 insertions(+)
13926 commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
13927 Author: Lasse Collin <lasse.collin@tukaani.org>
13928 Date: 2008-01-15 13:29:14 +0200
13930 Fixed assembler detection in configure.ac, and added
13931 detection for x86_64.
13933 configure.ac | 32 ++++++++++++++++----------------
13934 1 file changed, 16 insertions(+), 16 deletions(-)
13936 commit 54ec204f58287f50d3976288295da4188a19192b
13937 Author: Lasse Collin <lasse.collin@tukaani.org>
13938 Date: 2008-01-15 12:20:41 +0200
13940 Omit invalid space from printf() format string
13941 in price_table_gen.c.
13943 src/liblzma/rangecoder/price_table_gen.c | 2 +-
13944 1 file changed, 1 insertion(+), 1 deletion(-)
13946 commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
13947 Author: Lasse Collin <lasse.collin@tukaani.org>
13948 Date: 2008-01-15 09:54:34 +0200
13950 Removed a few unused macros from lzma_common.h.
13952 src/liblzma/lzma/lzma_common.h | 8 ++------
13953 1 file changed, 2 insertions(+), 6 deletions(-)
13955 commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
13956 Author: Lasse Collin <lasse.collin@tukaani.org>
13957 Date: 2008-01-15 08:37:42 +0200
13959 Fix a typo in lzma_encoder.c.
13961 src/liblzma/lzma/lzma_encoder.c | 2 +-
13962 1 file changed, 1 insertion(+), 1 deletion(-)
13964 commit 9f9b1983013048f2142e8bc7e240149d2687bedc
13965 Author: Lasse Collin <lasse.collin@tukaani.org>
13966 Date: 2008-01-15 08:36:25 +0200
13968 Convert bittree_get_price() and bittree_reverse_get_price()
13969 from macros to inline functions.
13971 src/liblzma/lzma/lzma_encoder.c | 19 +++-----
13972 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++----
13973 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++-------------
13974 3 files changed, 56 insertions(+), 55 deletions(-)
13976 commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
13977 Author: Lasse Collin <lasse.collin@tukaani.org>
13978 Date: 2008-01-15 07:44:59 +0200
13980 Fix CRC code in case --enable-small is used.
13982 src/liblzma/check/crc32_init.c | 2 +-
13983 src/liblzma/check/crc64_init.c | 2 +-
13984 src/liblzma/common/init_decoder.c | 2 --
13985 src/liblzma/common/init_encoder.c | 2 --
13986 tests/test_check.c | 2 ++
13987 5 files changed, 4 insertions(+), 6 deletions(-)
13989 commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
13990 Author: Lasse Collin <lasse.collin@tukaani.org>
13991 Date: 2008-01-15 07:41:39 +0200
13993 Fix typo in test_index.c.
13995 tests/test_index.c | 2 +-
13996 1 file changed, 1 insertion(+), 1 deletion(-)
13998 commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
13999 Author: Lasse Collin <lasse.collin@tukaani.org>
14000 Date: 2008-01-15 07:40:21 +0200
14002 Added precomputed range coder probability price table.
14004 src/liblzma/common/init_encoder.c | 5 ++-
14005 src/liblzma/rangecoder/Makefile.am | 9 +++-
14006 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++++
14007 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++++
14008 src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++
14009 src/liblzma/rangecoder/range_common.h | 4 +-
14010 src/liblzma/rangecoder/range_encoder.c | 46 --------------------
14011 src/liblzma/rangecoder/range_encoder.h | 21 +++++-----
14012 8 files changed, 197 insertions(+), 61 deletions(-)
14014 commit 362dc3843b373c1007a50a4719f378981f18ae03
14015 Author: Lasse Collin <lasse.collin@tukaani.org>
14016 Date: 2008-01-14 13:42:43 +0200
14018 Remove RC_BUFFER_SIZE from lzma_encoder_private.h
14019 and replace it with a sanity check.
14021 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++--
14022 1 file changed, 4 insertions(+), 2 deletions(-)
14024 commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
14025 Author: Lasse Collin <lasse.collin@tukaani.org>
14026 Date: 2008-01-14 13:39:54 +0200
14028 Major changes to LZ encoder, LZMA encoder, and range encoder.
14029 These changes implement support for LZMA_SYNC_FLUSH in LZMA
14030 encoder, and move the temporary buffer needed by range encoder
14031 from lzma_range_encoder structure to lzma_lz_encoder.
14033 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++-----
14034 src/liblzma/lz/lz_encoder.h | 17 ++--
14035 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++--------
14036 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++--------------------
14037 4 files changed, 206 insertions(+), 140 deletions(-)
14039 commit b59ef3973781f892c0a72b5e5934194567100be5
14040 Author: Lasse Collin <lasse.collin@tukaani.org>
14041 Date: 2008-01-14 13:34:29 +0200
14043 Added one assert() to process.c of the command line tool.
14045 src/lzma/process.c | 1 +
14046 1 file changed, 1 insertion(+)
14048 commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
14049 Author: Lasse Collin <lasse.collin@tukaani.org>
14050 Date: 2008-01-14 12:09:52 +0200
14052 Don't use coder->lz.stream_end_was_reached in assertions
14055 src/liblzma/lz/match_c.h | 2 --
14056 1 file changed, 2 deletions(-)
14058 commit 3e09e1c05871f3757f759b801890ccccc9286608
14059 Author: Lasse Collin <lasse.collin@tukaani.org>
14060 Date: 2008-01-14 12:08:02 +0200
14062 In lzma_read_match_distances(), don't use
14063 coder->lz.stream_end_was_reached. That variable
14064 will be removed, and the check isn't required anyway.
14065 Rearrange the check so that it doesn't make one to
14066 think that there could be an integer overflow.
14068 src/liblzma/lzma/lzma_encoder_private.h | 6 +++---
14069 1 file changed, 3 insertions(+), 3 deletions(-)
14071 commit a670fec8021e5962429689c194148a04c3418872
14072 Author: Lasse Collin <lasse.collin@tukaani.org>
14073 Date: 2008-01-14 11:56:41 +0200
14075 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
14077 src/liblzma/common/block_encoder.c | 4 ++--
14078 src/liblzma/common/stream_encoder_single.c | 1 +
14079 2 files changed, 3 insertions(+), 2 deletions(-)
14081 commit 3599dba9570a6972a16b6398d6c838e9b420e985
14082 Author: Lasse Collin <lasse.collin@tukaani.org>
14083 Date: 2008-01-14 11:54:56 +0200
14085 More fixes to LZMA decoder's flush marker handling.
14087 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++-----------------
14088 1 file changed, 30 insertions(+), 22 deletions(-)
14090 commit f73c2ab6079ed5675a42b39d584a567befbd4624
14091 Author: Lasse Collin <lasse.collin@tukaani.org>
14092 Date: 2008-01-10 17:13:42 +0200
14094 Eliminate lzma_lz_encoder.must_move_pos. It's needed
14095 only in one place which isn't performance criticial.
14097 src/liblzma/lz/lz_encoder.c | 6 ++----
14098 src/liblzma/lz/lz_encoder.h | 4 ----
14099 2 files changed, 2 insertions(+), 8 deletions(-)
14101 commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
14102 Author: Lasse Collin <lasse.collin@tukaani.org>
14103 Date: 2008-01-09 20:05:57 +0200
14105 Define HAVE_ASM_X86 when x86 assembler optimizations are
14106 used. This #define will be useful for inline assembly.
14108 configure.ac | 5 ++++-
14109 1 file changed, 4 insertions(+), 1 deletion(-)
14111 commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
14112 Author: Lasse Collin <lasse.collin@tukaani.org>
14113 Date: 2008-01-09 12:06:46 +0200
14115 Added good-single-none-empty_3.lzma and
14116 bad-single-none-empty.lzma.
14118 tests/files/README | 6 ++++++
14119 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes
14120 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes
14121 3 files changed, 6 insertions(+)
14123 commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
14124 Author: Lasse Collin <lasse.collin@tukaani.org>
14125 Date: 2008-01-08 23:11:59 +0200
14127 Take advantage of return_if_error() in block_decoder.c.
14129 src/liblzma/common/block_decoder.c | 23 +++++++----------------
14130 1 file changed, 7 insertions(+), 16 deletions(-)
14132 commit 97d5fa82077e57815dfad995dc393c2809a78539
14133 Author: Lasse Collin <lasse.collin@tukaani.org>
14134 Date: 2008-01-08 23:10:57 +0200
14136 Updated tests/files/README.
14138 tests/files/README | 15 +++++++++------
14139 1 file changed, 9 insertions(+), 6 deletions(-)
14141 commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
14142 Author: Lasse Collin <lasse.collin@tukaani.org>
14143 Date: 2008-01-08 23:05:40 +0200
14145 Added test files with empty Compressed Data.
14147 tests/files/README | 6 ++++++
14148 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes
14149 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes
14150 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes
14151 4 files changed, 6 insertions(+)
14153 commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
14154 Author: Lasse Collin <lasse.collin@tukaani.org>
14155 Date: 2008-01-08 22:58:42 +0200
14157 Fix decoding of Blocks that have only Block Header.
14159 src/liblzma/common/block_decoder.c | 37 ++++++++++++++-----------------------
14160 1 file changed, 14 insertions(+), 23 deletions(-)
14162 commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
14163 Author: Lasse Collin <lasse.collin@tukaani.org>
14164 Date: 2008-01-08 22:27:46 +0200
14166 Added good-single-subblock_implicit.lzma.
14168 tests/files/README | 2 ++
14169 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes
14170 2 files changed, 2 insertions(+)
14172 commit faeac7b7aca75f86afed1e7cc06279d9d497c627
14173 Author: Lasse Collin <lasse.collin@tukaani.org>
14174 Date: 2008-01-08 18:50:30 +0200
14176 Disable CRC32 from Block Headers when --check=none
14177 has been specified.
14179 src/lzma/process.c | 2 +-
14180 1 file changed, 1 insertion(+), 1 deletion(-)
14182 commit a751126dbb656767ed4666cf0e5d3e17349d93d1
14183 Author: Lasse Collin <lasse.collin@tukaani.org>
14184 Date: 2008-01-08 13:36:29 +0200
14186 Fixed encoding of empty files. Arguments to is_size_valid()
14187 were in wrong order in block_encoder.c.
14189 src/liblzma/common/block_encoder.c | 2 +-
14190 1 file changed, 1 insertion(+), 1 deletion(-)
14192 commit 9080267603b1006c4867c823307dca9df8be0d20
14193 Author: Lasse Collin <lasse.collin@tukaani.org>
14194 Date: 2008-01-08 13:35:36 +0200
14196 Added a few test files.
14198 tests/files/README | 21 ++++++++++++++++++---
14199 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes
14200 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes
14201 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes
14202 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes
14203 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes
14204 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes
14205 7 files changed, 18 insertions(+), 3 deletions(-)
14207 commit b4943ccf73b64fc93a90a23474509c316f55eb2b
14208 Author: Lasse Collin <lasse.collin@tukaani.org>
14209 Date: 2008-01-08 12:29:58 +0200
14211 Avoid using ! in test_files.sh, because that doesn't work
14212 with some ancient /bin/sh versions.
14214 tests/test_files.sh | 4 +++-
14215 1 file changed, 3 insertions(+), 1 deletion(-)
14217 commit e2417b2b9134f3f65e14b61e23cd3644d8954353
14218 Author: Lasse Collin <lasse.collin@tukaani.org>
14219 Date: 2008-01-08 00:48:30 +0200
14221 More pre-C99 inttypes.h compatibility fixes. Now the code
14222 should work even if the system has no inttypes.h.
14224 src/common/physmem.h | 11 -----------
14225 src/liblzma/check/crc32_init.c | 5 +----
14226 src/liblzma/check/crc32_tablegen.c | 7 ++-----
14227 src/liblzma/check/crc64_init.c | 5 +----
14228 src/liblzma/check/crc64_tablegen.c | 7 ++-----
14229 5 files changed, 6 insertions(+), 29 deletions(-)
14231 commit 5d227e51c23639423f4ade06aabb54e131f8505e
14232 Author: Lasse Collin <lasse.collin@tukaani.org>
14233 Date: 2008-01-07 23:25:32 +0200
14235 Updated fi.po although it's currently pretty much crap.
14237 po/fi.po | 12 ++++++------
14238 1 file changed, 6 insertions(+), 6 deletions(-)
14240 commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
14241 Author: Lasse Collin <lasse.collin@tukaani.org>
14242 Date: 2008-01-07 23:14:25 +0200
14244 Test for $GCC = yes instead of if it is non-empty. This
14245 way it is possible to use ac_cv_c_compiler_gnu=no to
14246 force configure to think it is using non-GNU C compiler.
14248 configure.ac | 2 +-
14249 1 file changed, 1 insertion(+), 1 deletion(-)
14251 commit 3dbbea82b74bb841c995ad332a3aeca613015e10
14252 Author: Lasse Collin <lasse.collin@tukaani.org>
14253 Date: 2008-01-07 21:49:41 +0200
14255 Added test_files.sh to tests/Makefile.am so it gets
14256 included in the tarball with "make dist".
14258 tests/Makefile.am | 2 +-
14259 1 file changed, 1 insertion(+), 1 deletion(-)
14261 commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
14262 Author: Lasse Collin <lasse.collin@tukaani.org>
14263 Date: 2008-01-07 18:22:24 +0200
14265 Cosmetic edit to test_files.sh.
14267 tests/test_files.sh | 4 ++--
14268 1 file changed, 2 insertions(+), 2 deletions(-)
14270 commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
14271 Author: Lasse Collin <lasse.collin@tukaani.org>
14272 Date: 2008-01-07 18:09:44 +0200
14274 Added tests/files/README.
14276 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
14277 1 file changed, 108 insertions(+)
14279 commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
14280 Author: Lasse Collin <lasse.collin@tukaani.org>
14281 Date: 2008-01-07 14:20:57 +0200
14283 Tell in COPYING that everything in tests/files is
14287 1 file changed, 2 insertions(+), 1 deletion(-)
14289 commit 3502b3e1d00251d3c8dda96079440705c28d8225
14290 Author: Lasse Collin <lasse.collin@tukaani.org>
14291 Date: 2008-01-07 14:19:05 +0200
14293 Cleaned up the tests/files directory.
14295 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes
14296 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
14297 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes
14298 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes
14299 tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
14300 5 files changed, 0 insertions(+), 0 deletions(-)
14302 commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
14303 Author: Lasse Collin <lasse.collin@tukaani.org>
14304 Date: 2008-01-07 13:49:19 +0200
14306 Added test_files.sh to test decoding of the files in
14307 the tests/files directory. It doesn't test the malicious
14310 tests/Makefile.am | 4 +++-
14311 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++
14312 2 files changed, 43 insertions(+), 1 deletion(-)
14314 commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
14315 Author: Lasse Collin <lasse.collin@tukaani.org>
14316 Date: 2008-01-07 11:23:13 +0200
14318 Updated README regarding the assembler optimizations.
14320 README | 10 +++++-----
14321 1 file changed, 5 insertions(+), 5 deletions(-)
14323 commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
14324 Author: Lasse Collin <lasse.collin@tukaani.org>
14325 Date: 2008-01-07 10:58:00 +0200
14330 1 file changed, 1 insertion(+)
14332 commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
14333 Author: Lasse Collin <lasse.collin@tukaani.org>
14334 Date: 2008-01-06 21:47:17 +0200
14336 Cosmetic changes to configure.ac.
14338 configure.ac | 14 ++++++--------
14339 1 file changed, 6 insertions(+), 8 deletions(-)
14341 commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
14342 Author: Lasse Collin <lasse.collin@tukaani.org>
14343 Date: 2008-01-06 19:46:38 +0200
14345 Automatically disable assembler code on Darwin x86.
14346 Darwin has different ABI than GNU+Linux and Solaris,
14347 thus the assembler code doesn't assemble on Darwin.
14349 configure.ac | 17 +++++++++++++++--
14350 1 file changed, 15 insertions(+), 2 deletions(-)
14352 commit c15a7abf66e3a70792f7444115e484c7981c8284
14353 Author: Lasse Collin <lasse.collin@tukaani.org>
14354 Date: 2008-01-06 19:45:27 +0200
14356 With printf(), use PRIu64 with a cast to uint64_t instead
14357 of %zu, because some pre-C99 libc versions don't support %zu.
14359 src/lzma/help.c | 13 +++++++------
14360 src/lzmadec/lzmadec.c | 6 ++++--
14361 2 files changed, 11 insertions(+), 8 deletions(-)
14363 commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
14364 Author: Lasse Collin <lasse.collin@tukaani.org>
14365 Date: 2008-01-06 16:27:41 +0200
14367 Introduced compatibility with systems that have pre-C99
14368 or no inttypes.h. This is useful when the compiler has
14369 good enough support for C99, but libc headers don't.
14371 Changed liblzma API so that sys/types.h and inttypes.h
14372 have to be #included before #including lzma.h. On systems
14373 that don't have C99 inttypes.h, it's the problem of the
14374 applications to provide the required types and macros
14375 before #including lzma.h.
14377 If lzma.h defined the missing types and macros, it could
14378 conflict with third-party applications whose configure
14379 has detected that the types are missing and defined them
14380 in config.h already. An alternative would have been
14381 introducing lzma_uint32 and similar types, but that would
14382 just be an extra pain on modern systems.
14384 configure.ac | 13 ++++++++-
14385 doc/liblzma-intro.txt | 10 +++++--
14386 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++-
14387 src/liblzma/api/lzma.h | 40 +++++++++++++++++---------
14388 src/liblzma/check/crc32_table.c | 4 +--
14389 src/liblzma/check/crc32_table_be.h | 2 --
14390 src/liblzma/check/crc32_table_le.h | 2 --
14391 src/liblzma/check/crc32_tablegen.c | 1 -
14392 src/liblzma/check/crc64_table.c | 4 +--
14393 src/liblzma/check/crc64_table_be.h | 2 --
14394 src/liblzma/check/crc64_table_le.h | 2 --
14395 src/liblzma/check/crc64_tablegen.c | 1 -
14396 src/lzma/private.h | 1 -
14397 13 files changed, 106 insertions(+), 35 deletions(-)
14399 commit a71864f77dfb76b5d78a270641539947c312583a
14400 Author: Lasse Collin <lasse.collin@tukaani.org>
14401 Date: 2008-01-05 19:57:00 +0200
14403 Fix typo in comment (INT64_MAX -> UINT64_MAX).
14405 src/liblzma/api/lzma/vli.h | 2 +-
14406 1 file changed, 1 insertion(+), 1 deletion(-)
14408 commit 072927905a3b66281c6311b4b351caa501d8b73a
14409 Author: Lasse Collin <lasse.collin@tukaani.org>
14410 Date: 2008-01-05 19:42:04 +0200
14412 Rearranged testing of GCC-specific flags.
14414 configure.ac | 33 +++++++++++++++++++++++----------
14415 1 file changed, 23 insertions(+), 10 deletions(-)
14417 commit d160ee32598c6d1cd9054ef019e8c9331208b188
14418 Author: Lasse Collin <lasse.collin@tukaani.org>
14419 Date: 2008-01-05 01:20:24 +0200
14421 Another bug fix for flush marker detection.
14423 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++-
14424 1 file changed, 9 insertions(+), 1 deletion(-)
14426 commit fc67f79f607cbfa78c6f47a69dec098d8659b162
14427 Author: Lasse Collin <lasse.collin@tukaani.org>
14428 Date: 2008-01-04 21:37:01 +0200
14430 Fix stupid bugs in flush marker detection.
14432 src/liblzma/lzma/lzma_decoder.c | 7 ++++---
14433 1 file changed, 4 insertions(+), 3 deletions(-)
14435 commit 0029cbbabe87d491fc046a55a629a6d556010baa
14436 Author: Lasse Collin <lasse.collin@tukaani.org>
14437 Date: 2008-01-04 21:30:33 +0200
14439 Added support for flush marker, which will be in files
14440 that use LZMA_SYNC_FLUSH with encoder (not implemented
14441 yet). This is a new feature in the raw LZMA format,
14442 which isn't supported by old decoders. This shouldn't
14443 be a problem in practice, since lzma_alone_encoder()
14444 will not allow LZMA_SYNC_FLUSH, and thus not allow
14445 creating files on decodable with old decoders.
14447 Made lzma_decoder.c to require tab width of 4 characters
14448 if one wants to fit the code in 80 columns. This makes
14449 the code easier to read.
14451 src/liblzma/lzma/lzma_common.h | 4 +
14452 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++----------------------
14453 2 files changed, 104 insertions(+), 117 deletions(-)
14455 commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
14456 Author: Lasse Collin <lasse.collin@tukaani.org>
14457 Date: 2008-01-04 20:45:05 +0200
14459 Moved range decoder initialization (reading the first
14460 five input bytes) from LZMA decoder to range decoder
14461 header. Did the same for decoding of direct bits.
14463 src/liblzma/lzma/lzma_decoder.c | 42 +++-------------
14464 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++-----------
14465 2 files changed, 66 insertions(+), 63 deletions(-)
14467 commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
14468 Author: Lasse Collin <lasse.collin@tukaani.org>
14469 Date: 2007-12-14 11:15:21 +0200
14471 Added a note to README that --disable-assembler
14472 must be used on Darwin.
14475 1 file changed, 4 insertions(+)
14477 commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
14478 Author: Lasse Collin <lasse.collin@tukaani.org>
14479 Date: 2007-12-14 10:07:10 +0200
14481 Use the filename suffix .S instead of .s for assembler files
14482 so that the preprocessor removes the /* */ style comments,
14483 which are not supported by some non-GNU assemblers (Solaris)
14484 that otherwise work with this code.
14486 src/liblzma/check/Makefile.am | 4 +-
14487 src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++
14488 src/liblzma/check/crc32_x86.s | 217 ------------------------------------------
14489 src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++
14490 src/liblzma/check/crc64_x86.s | 203 ---------------------------------------
14491 5 files changed, 422 insertions(+), 422 deletions(-)
14493 commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
14494 Author: Lasse Collin <lasse.collin@tukaani.org>
14495 Date: 2007-12-14 09:59:05 +0200
14497 Fixed wrong symbol name in crc64_x86.s.
14499 src/liblzma/check/crc64_x86.s | 2 +-
14500 1 file changed, 1 insertion(+), 1 deletion(-)
14502 commit 2881570df6803eed2fe550af34574e8e61794804
14503 Author: Lasse Collin <lasse.collin@tukaani.org>
14504 Date: 2007-12-14 09:53:24 +0200
14506 Use .globl instead of .global in x86 assembler code for
14507 better portability. Still needs fixing the commenting.
14509 src/liblzma/check/crc32_x86.s | 2 +-
14510 src/liblzma/check/crc64_x86.s | 2 +-
14511 2 files changed, 2 insertions(+), 2 deletions(-)
14513 commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
14514 Author: Lasse Collin <lasse.collin@tukaani.org>
14515 Date: 2007-12-13 20:14:37 +0200
14517 Fixed a few short options that take an argument.
14518 short_opts[] was missing colons to indicate
14519 required argument. Thanks to Fabio Pedretti for
14522 src/lzma/args.c | 2 +-
14523 1 file changed, 1 insertion(+), 1 deletion(-)
14525 commit 918bcb0e0728d2d976621e9f35b56f224f11d989
14526 Author: Lasse Collin <lasse.collin@tukaani.org>
14527 Date: 2007-12-11 17:08:04 +0200
14529 Removed uncompressed size tracking from Delta encoder too.
14531 src/liblzma/common/delta_coder.c | 21 +++------------------
14532 1 file changed, 3 insertions(+), 18 deletions(-)
14534 commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
14535 Author: Lasse Collin <lasse.collin@tukaani.org>
14536 Date: 2007-12-11 16:49:19 +0200
14538 Remove uncompressed size tracking from the filter encoders.
14539 It's not strictly needed there, and just complicates the
14540 code. LZ encoder never even had this feature.
14542 The primary reason to have uncompressed size tracking in
14543 filter encoders was validating that the application
14544 doesn't give different amount of input that it had
14545 promised. A side effect was to validate internal workings
14548 Uncompressed size tracking is still present in the Block
14549 encoder. Maybe it should be added to LZMA_Alone and raw
14550 encoders too. It's simpler to have one coder just to
14551 validate the uncompressed size instead of having it
14554 src/liblzma/common/copy_coder.c | 25 ++--------------------
14555 src/liblzma/simple/simple_coder.c | 29 ++++---------------------
14556 src/liblzma/subblock/subblock_encoder.c | 38 ++++++---------------------------
14557 3 files changed, 12 insertions(+), 80 deletions(-)
14559 commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
14560 Author: Lasse Collin <lasse.collin@tukaani.org>
14561 Date: 2007-12-11 14:10:53 +0200
14563 Get rid of no-NLS gnulib. I don't know how to get it
14564 working with Automake. People who want smaller lzmadec
14565 should use --disable-nls on non-GNU systems.
14567 lib/Makefile.am | 10 +---------
14568 src/lzma/Makefile.am | 2 +-
14569 src/lzmadec/Makefile.am | 4 +++-
14570 3 files changed, 5 insertions(+), 11 deletions(-)
14572 commit ce8b036a6c7a43b290356b673d953f6d76b2be64
14573 Author: Lasse Collin <lasse.collin@tukaani.org>
14574 Date: 2007-12-11 14:09:35 +0200
14576 Fixed a typo in tests/Makefile.am which prevented
14577 building the tests if gnulib was needed.
14579 tests/Makefile.am | 2 +-
14580 1 file changed, 1 insertion(+), 1 deletion(-)
14582 commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
14583 Author: Lasse Collin <lasse.collin@tukaani.org>
14584 Date: 2007-12-11 11:18:58 +0200
14586 Fixed wrong type of flags_size in Subblock encoder.
14588 src/liblzma/subblock/subblock_encoder.c | 2 +-
14589 1 file changed, 1 insertion(+), 1 deletion(-)
14591 commit ce64df716243fdc40359090d1f6541f3a4f5f21a
14592 Author: Lasse Collin <lasse.collin@tukaani.org>
14593 Date: 2007-12-10 20:44:16 +0200
14595 Bumped version number to 4.42.3alpha.
14597 configure.ac | 2 +-
14598 src/liblzma/api/lzma/version.h | 2 +-
14599 2 files changed, 2 insertions(+), 2 deletions(-)
14601 commit b499a0403ea5c41d6a25b40275eb6c57643052ce
14602 Author: Lasse Collin <lasse.collin@tukaani.org>
14603 Date: 2007-12-10 15:02:50 +0200
14605 Disabled some unneeded warnings and made "make dist" work.
14607 Makefile.am | 9 +++------
14608 configure.ac | 9 ++++++---
14609 po/fi.po | 47 ++++++++++++++++++++++++-----------------------
14610 3 files changed, 33 insertions(+), 32 deletions(-)
14612 commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
14613 Author: Lasse Collin <lasse.collin@tukaani.org>
14614 Date: 2007-12-09 21:43:15 +0200
14616 Added LZMA_SYNC_FLUSH support to the Copy filter.
14618 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++----------------
14619 1 file changed, 57 insertions(+), 35 deletions(-)
14621 commit 329c272d501e88793dda5540358d55c12428d194
14622 Author: Lasse Collin <lasse.collin@tukaani.org>
14623 Date: 2007-12-09 17:14:07 +0200
14625 Added missing LZMA_API to the C versions of the CRC functions.
14626 The x86 assembler versions were already OK.
14628 src/liblzma/check/crc32.c | 2 +-
14629 src/liblzma/check/crc64.c | 2 +-
14630 2 files changed, 2 insertions(+), 2 deletions(-)
14632 commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
14633 Author: Jim Meyering <meyering@redhat.com>
14634 Date: 2007-12-09 15:34:25 +0100
14636 * tests/test_block_header.c (test3): Remove duplicate initializer.
14639 tests/test_block_header.c | 1 -
14640 2 files changed, 1 insertion(+), 2 deletions(-)
14642 commit 07ac881779a8477f2c1ab112b91a129e24aa743c
14643 Author: Lasse Collin <lasse.collin@tukaani.org>
14644 Date: 2007-12-09 17:06:45 +0200
14646 Take advantage of return_if_error() macro in more places.
14647 Cleaned Subblock filter's initialization code too.
14649 src/liblzma/common/block_decoder.c | 22 +++-------
14650 src/liblzma/common/delta_coder.c | 8 +---
14651 src/liblzma/common/stream_decoder.c | 17 +++-----
14652 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++--------------------
14653 src/liblzma/common/stream_encoder_single.c | 8 ++--
14654 src/liblzma/subblock/subblock_decoder.c | 33 +++++----------
14655 src/liblzma/subblock/subblock_encoder.c | 45 ++++++--------------
14656 7 files changed, 63 insertions(+), 138 deletions(-)
14658 commit 41338717964f510ee61d70b25bd4c502ec9f77cf
14659 Author: Lasse Collin <lasse.collin@tukaani.org>
14660 Date: 2007-12-09 12:13:01 +0200
14662 Added a bunch of .lzma test files.
14664 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes
14665 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes
14666 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes
14667 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes
14668 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes
14669 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes
14670 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes
14671 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes
14672 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes
14673 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes
14674 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes
14675 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes
14676 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes
14677 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes
14678 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes
14679 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
14680 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes
14681 17 files changed, 0 insertions(+), 0 deletions(-)
14683 commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
14684 Author: Lasse Collin <lasse.collin@tukaani.org>
14685 Date: 2007-12-09 11:24:48 +0200
14687 Re-enabled the security checks in Subblock decoder
14688 that were disabled for debugging reasons.
14690 src/liblzma/subblock/subblock_decoder.c | 6 +++---
14691 1 file changed, 3 insertions(+), 3 deletions(-)
14693 commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
14694 Author: Lasse Collin <lasse.collin@tukaani.org>
14695 Date: 2007-12-09 11:03:28 +0200
14697 Fixed the tests to build with -Werror.
14699 tests/test_block_header.c | 2 +-
14700 tests/test_check.c | 2 +-
14701 tests/test_filter_flags.c | 2 +-
14702 tests/test_index.c | 14 +++++++-------
14703 tests/test_info.c | 2 +-
14704 tests/test_stream_flags.c | 2 +-
14705 6 files changed, 12 insertions(+), 12 deletions(-)
14707 commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
14708 Author: Lasse Collin <lasse.collin@tukaani.org>
14709 Date: 2007-12-09 00:42:33 +0200
14715 COPYING.GPLv2 | 339 +++++
14716 COPYING.GPLv3 | 674 +++++++++
14717 COPYING.LGPLv2.1 | 504 +++++++
14719 Doxyfile.in | 1229 ++++++++++++++++
14726 configure.ac | 611 ++++++++
14727 doc/bugs.txt | 46 +
14728 doc/faq.txt | 247 ++++
14729 doc/file-format.txt | 1861 ++++++++++++++++++++++++
14730 doc/history.txt | 140 ++
14731 doc/liblzma-advanced.txt | 324 +++++
14732 doc/liblzma-hacking.txt | 112 ++
14733 doc/liblzma-intro.txt | 188 +++
14734 doc/liblzma-security.txt | 219 +++
14735 doc/lzma-intro.txt | 107 ++
14736 extra/scanlzma/scanlzma.c | 85 ++
14737 lib/Makefile.am | 40 +
14738 lib/getopt.c | 1191 +++++++++++++++
14739 lib/getopt1.c | 171 +++
14740 lib/getopt_.h | 226 +++
14741 lib/getopt_int.h | 131 ++
14742 lib/gettext.h | 240 +++
14743 m4/acx_pthread.m4 | 279 ++++
14744 m4/getopt.m4 | 83 ++
14747 po/POTFILES.in | 13 +
14748 po/fi.po | 445 ++++++
14749 src/Makefile.am | 16 +
14750 src/common/open_stdxxx.h | 50 +
14751 src/common/physmem.h | 77 +
14752 src/common/sysdefs.h | 100 ++
14753 src/liblzma/Makefile.am | 47 +
14754 src/liblzma/api/Makefile.am | 39 +
14755 src/liblzma/api/lzma.h | 122 ++
14756 src/liblzma/api/lzma/alignment.h | 60 +
14757 src/liblzma/api/lzma/alone.h | 82 ++
14758 src/liblzma/api/lzma/auto.h | 41 +
14759 src/liblzma/api/lzma/base.h | 410 ++++++
14760 src/liblzma/api/lzma/block.h | 409 ++++++
14761 src/liblzma/api/lzma/check.h | 128 ++
14762 src/liblzma/api/lzma/copy.h | 29 +
14763 src/liblzma/api/lzma/delta.h | 49 +
14764 src/liblzma/api/lzma/extra.h | 114 ++
14765 src/liblzma/api/lzma/filter.h | 166 +++
14766 src/liblzma/api/lzma/index.h | 84 ++
14767 src/liblzma/api/lzma/info.h | 315 ++++
14768 src/liblzma/api/lzma/init.h | 85 ++
14769 src/liblzma/api/lzma/lzma.h | 312 ++++
14770 src/liblzma/api/lzma/memlimit.h | 157 ++
14771 src/liblzma/api/lzma/metadata.h | 100 ++
14772 src/liblzma/api/lzma/raw.h | 72 +
14773 src/liblzma/api/lzma/simple.h | 85 ++
14774 src/liblzma/api/lzma/stream.h | 178 +++
14775 src/liblzma/api/lzma/stream_flags.h | 142 ++
14776 src/liblzma/api/lzma/subblock.h | 197 +++
14777 src/liblzma/api/lzma/version.h | 59 +
14778 src/liblzma/api/lzma/vli.h | 244 ++++
14779 src/liblzma/check/Makefile.am | 64 +
14780 src/liblzma/check/check.c | 160 ++
14781 src/liblzma/check/check.h | 102 ++
14782 src/liblzma/check/check_byteswap.h | 43 +
14783 src/liblzma/check/check_init.c | 37 +
14784 src/liblzma/check/crc32.c | 88 ++
14785 src/liblzma/check/crc32_init.c | 58 +
14786 src/liblzma/check/crc32_table.c | 22 +
14787 src/liblzma/check/crc32_table_be.h | 527 +++++++
14788 src/liblzma/check/crc32_table_le.h | 527 +++++++
14789 src/liblzma/check/crc32_tablegen.c | 55 +
14790 src/liblzma/check/crc32_x86.s | 217 +++
14791 src/liblzma/check/crc64.c | 75 +
14792 src/liblzma/check/crc64_init.c | 58 +
14793 src/liblzma/check/crc64_table.c | 22 +
14794 src/liblzma/check/crc64_table_be.h | 523 +++++++
14795 src/liblzma/check/crc64_table_le.h | 523 +++++++
14796 src/liblzma/check/crc64_tablegen.c | 56 +
14797 src/liblzma/check/crc64_x86.s | 203 +++
14798 src/liblzma/check/crc_macros.h | 33 +
14799 src/liblzma/check/sha256.c | 203 +++
14800 src/liblzma/common/Makefile.am | 94 ++
14801 src/liblzma/common/alignment.c | 118 ++
14802 src/liblzma/common/allocator.c | 57 +
14803 src/liblzma/common/alone_decoder.c | 197 +++
14804 src/liblzma/common/alone_decoder.h | 24 +
14805 src/liblzma/common/alone_encoder.c | 167 +++
14806 src/liblzma/common/auto_decoder.c | 113 ++
14807 src/liblzma/common/block_decoder.c | 405 ++++++
14808 src/liblzma/common/block_decoder.h | 29 +
14809 src/liblzma/common/block_encoder.c | 375 +++++
14810 src/liblzma/common/block_encoder.h | 29 +
14811 src/liblzma/common/block_header_decoder.c | 373 +++++
14812 src/liblzma/common/block_header_encoder.c | 211 +++
14813 src/liblzma/common/block_private.h | 46 +
14814 src/liblzma/common/chunk_size.c | 74 +
14815 src/liblzma/common/code.c | 203 +++
14816 src/liblzma/common/common.h | 271 ++++
14817 src/liblzma/common/copy_coder.c | 143 ++
14818 src/liblzma/common/copy_coder.h | 31 +
14819 src/liblzma/common/delta_coder.c | 210 +++
14820 src/liblzma/common/delta_coder.h | 31 +
14821 src/liblzma/common/extra.c | 33 +
14822 src/liblzma/common/features.c | 70 +
14823 src/liblzma/common/filter_flags_decoder.c | 382 +++++
14824 src/liblzma/common/filter_flags_encoder.c | 359 +++++
14825 src/liblzma/common/index.c | 140 ++
14826 src/liblzma/common/info.c | 823 +++++++++++
14827 src/liblzma/common/init.c | 39 +
14828 src/liblzma/common/init_decoder.c | 33 +
14829 src/liblzma/common/init_encoder.c | 44 +
14830 src/liblzma/common/memory_limitter.c | 200 +++
14831 src/liblzma/common/memory_usage.c | 113 ++
14832 src/liblzma/common/metadata_decoder.c | 555 +++++++
14833 src/liblzma/common/metadata_decoder.h | 31 +
14834 src/liblzma/common/metadata_encoder.c | 436 ++++++
14835 src/liblzma/common/metadata_encoder.h | 30 +
14836 src/liblzma/common/next_coder.c | 65 +
14837 src/liblzma/common/raw_common.c | 175 +++
14838 src/liblzma/common/raw_common.h | 31 +
14839 src/liblzma/common/raw_decoder.c | 127 ++
14840 src/liblzma/common/raw_decoder.h | 30 +
14841 src/liblzma/common/raw_encoder.c | 124 ++
14842 src/liblzma/common/raw_encoder.h | 30 +
14843 src/liblzma/common/stream_common.c | 23 +
14844 src/liblzma/common/stream_common.h | 28 +
14845 src/liblzma/common/stream_decoder.c | 454 ++++++
14846 src/liblzma/common/stream_encoder_multi.c | 460 ++++++
14847 src/liblzma/common/stream_encoder_single.c | 220 +++
14848 src/liblzma/common/stream_flags_decoder.c | 258 ++++
14849 src/liblzma/common/stream_flags_decoder.h | 31 +
14850 src/liblzma/common/stream_flags_encoder.c | 75 +
14851 src/liblzma/common/sysdefs.h | 1 +
14852 src/liblzma/common/version.c | 25 +
14853 src/liblzma/common/vli_decoder.c | 69 +
14854 src/liblzma/common/vli_encoder.c | 81 ++
14855 src/liblzma/common/vli_reverse_decoder.c | 55 +
14856 src/liblzma/lz/Makefile.am | 63 +
14857 src/liblzma/lz/bt2.c | 27 +
14858 src/liblzma/lz/bt2.h | 31 +
14859 src/liblzma/lz/bt3.c | 29 +
14860 src/liblzma/lz/bt3.h | 31 +
14861 src/liblzma/lz/bt4.c | 30 +
14862 src/liblzma/lz/bt4.h | 31 +
14863 src/liblzma/lz/hc3.c | 30 +
14864 src/liblzma/lz/hc3.h | 31 +
14865 src/liblzma/lz/hc4.c | 31 +
14866 src/liblzma/lz/hc4.h | 31 +
14867 src/liblzma/lz/lz_decoder.c | 462 ++++++
14868 src/liblzma/lz/lz_decoder.h | 214 +++
14869 src/liblzma/lz/lz_encoder.c | 481 ++++++
14870 src/liblzma/lz/lz_encoder.h | 161 ++
14871 src/liblzma/lz/lz_encoder_private.h | 40 +
14872 src/liblzma/lz/match_c.h | 401 +++++
14873 src/liblzma/lz/match_h.h | 69 +
14874 src/liblzma/lzma.pc.in | 11 +
14875 src/liblzma/lzma/Makefile.am | 43 +
14876 src/liblzma/lzma/lzma_common.h | 128 ++
14877 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++
14878 src/liblzma/lzma/lzma_decoder.h | 41 +
14879 src/liblzma/lzma/lzma_encoder.c | 413 ++++++
14880 src/liblzma/lzma/lzma_encoder.h | 35 +
14881 src/liblzma/lzma/lzma_encoder_features.c | 59 +
14882 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++
14883 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++
14884 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++
14885 src/liblzma/lzma/lzma_encoder_presets.c | 34 +
14886 src/liblzma/lzma/lzma_encoder_private.h | 225 +++
14887 src/liblzma/lzma/lzma_literal.c | 74 +
14888 src/liblzma/lzma/lzma_literal.h | 74 +
14889 src/liblzma/rangecoder/Makefile.am | 28 +
14890 src/liblzma/rangecoder/range_common.h | 68 +
14891 src/liblzma/rangecoder/range_decoder.h | 189 +++
14892 src/liblzma/rangecoder/range_encoder.c | 46 +
14893 src/liblzma/rangecoder/range_encoder.h | 317 ++++
14894 src/liblzma/simple/Makefile.am | 46 +
14895 src/liblzma/simple/arm.c | 76 +
14896 src/liblzma/simple/armthumb.c | 81 ++
14897 src/liblzma/simple/ia64.c | 117 ++
14898 src/liblzma/simple/powerpc.c | 80 +
14899 src/liblzma/simple/simple_coder.c | 306 ++++
14900 src/liblzma/simple/simple_coder.h | 68 +
14901 src/liblzma/simple/simple_private.h | 86 ++
14902 src/liblzma/simple/sparc.c | 88 ++
14903 src/liblzma/simple/x86.c | 161 ++
14904 src/liblzma/subblock/Makefile.am | 33 +
14905 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++
14906 src/liblzma/subblock/subblock_decoder.h | 29 +
14907 src/liblzma/subblock/subblock_decoder_helper.c | 80 +
14908 src/liblzma/subblock/subblock_decoder_helper.h | 36 +
14909 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++
14910 src/liblzma/subblock/subblock_encoder.h | 28 +
14911 src/lzma/Makefile.am | 63 +
14912 src/lzma/alloc.c | 106 ++
14913 src/lzma/alloc.h | 42 +
14914 src/lzma/args.c | 566 +++++++
14915 src/lzma/args.h | 64 +
14916 src/lzma/error.c | 156 ++
14917 src/lzma/error.h | 67 +
14918 src/lzma/hardware.c | 99 ++
14919 src/lzma/hardware.h | 31 +
14920 src/lzma/help.c | 178 +++
14921 src/lzma/help.h | 32 +
14922 src/lzma/io.c | 664 +++++++++
14923 src/lzma/io.h | 60 +
14924 src/lzma/list.c | 477 ++++++
14925 src/lzma/main.c | 254 ++++
14926 src/lzma/options.c | 346 +++++
14927 src/lzma/options.h | 46 +
14928 src/lzma/private.h | 55 +
14929 src/lzma/process.c | 458 ++++++
14930 src/lzma/process.h | 30 +
14931 src/lzma/suffix.c | 145 ++
14932 src/lzma/suffix.h | 25 +
14933 src/lzma/util.c | 182 +++
14934 src/lzma/util.h | 32 +
14935 src/lzmadec/Makefile.am | 27 +
14936 src/lzmadec/lzmadec.c | 515 +++++++
14937 src/scripts/Makefile.am | 24 +
14938 src/scripts/lzdiff | 67 +
14939 src/scripts/lzdiff.1 | 51 +
14940 src/scripts/lzgrep | 123 ++
14941 src/scripts/lzgrep.1 | 61 +
14942 src/scripts/lzmore | 74 +
14943 src/scripts/lzmore.1 | 55 +
14944 tests/Makefile.am | 43 +
14945 tests/test_block.c | 59 +
14946 tests/test_block_header.c | 352 +++++
14947 tests/test_check.c | 90 ++
14948 tests/test_filter_flags.c | 326 +++++
14949 tests/test_index.c | 43 +
14950 tests/test_info.c | 717 +++++++++
14951 tests/test_stream_flags.c | 191 +++
14952 tests/tests.h | 148 ++
14953 240 files changed, 42513 insertions(+)