1 commit b69900ed0b2f914fc6c0a180dcb522dbe5b80ea7
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: Sun Jun 30 18:02:27 2013 +0300
5 Man pages: Use similar syntax for synopsis as in xz.
7 The man pages of lzmainfo, xzmore, and xzdec had similar
8 constructs as the man page of xz had before the commit
9 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
10 didn't mention these man pages in his bug report, but
11 it's nice to be consistent.
13 commit cf4a1e1879d89be314ef3c064bd2656ea452f87e
14 Author: Lasse Collin <lasse.collin@tukaani.org>
15 Date: Sun Jun 30 15:55:09 2013 +0300
17 Update NEWS for 5.0.5.
19 commit cb94bb6d1f34e1e93c2d634ea9c3b7dfb3981d05
20 Author: Lasse Collin <lasse.collin@tukaani.org>
21 Date: Sun Jun 30 15:54:38 2013 +0300
23 Bump version and soname for 5.0.5.
25 commit b7dee202d5b041ccae028d0c5433b83cecbe9e5d
26 Author: Lasse Collin <lasse.collin@tukaani.org>
27 Date: Fri Jun 28 23:56:17 2013 +0300
29 xz: Fix return value type in io_write_buf().
31 It didn't affect the behavior of the code since -1
34 commit 265e7b44d804b47373f10b7da28350db7611cea6
35 Author: Lasse Collin <lasse.collin@tukaani.org>
36 Date: Fri Jun 28 18:46:13 2013 +0300
38 xz: Remove an outdated NetBSD-specific comment.
40 Nowadays errno == EFTYPE is documented in open(2).
42 commit 78c2f8db902195468b8249c432252a6b281db836
43 Author: Lasse Collin <lasse.collin@tukaani.org>
44 Date: Fri Jun 28 18:09:47 2013 +0300
46 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
48 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
49 error and "other than -1" on success. This is how it is
50 documented e.g. on OpenBSD too. On Linux, success with
51 F_SETFL is always 0 (at least accorinding to fcntl(2)
54 commit 91750dff8f2c654ff636f12a2acdffe5492374b3
55 Author: Lasse Collin <lasse.collin@tukaani.org>
56 Date: Fri Jun 28 17:36:47 2013 +0300
58 xz: Fix use of wrong variable in a fcntl() call.
60 Due to a wrong variable name, when writing a sparse file
61 to standard output, *all* file status flags were cleared
62 (to the extent the operating system allowed it) instead of
63 only clearing the O_APPEND flag. In practice this worked
64 fine in the common situations on GNU/Linux, but I didn't
65 check how it behaved elsewhere.
67 The original flags were still restored correctly. I still
68 changed the code to use a separate boolean variable to
69 indicate when the flags should be restored instead of
70 relying on a special value in stdout_flags.
72 commit e11888a79a4a77a69afde60445880d44f63d01aa
73 Author: Lasse Collin <lasse.collin@tukaani.org>
74 Date: Wed Jun 26 13:30:57 2013 +0300
76 xz: Check the value of lzma_stream_flags.version in --list.
78 It is a no-op for now, but if an old xz version is used
79 together with a newer liblzma that supports something new,
80 then this check becomes important and will stop the old xz
81 from trying to parse files that it won't understand.
83 commit f39ddd88f3222219ada88998cf30abfdd3e0e96c
84 Author: Lasse Collin <lasse.collin@tukaani.org>
85 Date: Wed Jun 26 12:17:00 2013 +0300
87 Build: Require Automake 1.12 and use serial-tests option.
89 It should actually still work with Automake 1.10 if
90 the serial-tests option is removed. Automake 1.13 started
91 using parallel tests by default and the option to get
92 the old behavior isn't supported before 1.12.
94 At least for now, parallel tests don't improve anything
95 in XZ Utils but they hide the progress output from
98 commit cb84e278027a90e9827a6f4d3bb0b4d4744a2fbb
99 Author: Lasse Collin <lasse.collin@tukaani.org>
100 Date: Sun Jun 23 17:36:47 2013 +0300
102 xz: Validate Uncompressed Size from Block Header in list.c.
104 This affects only "xz -lvv". Normal decompression with xz
105 already detected if Block Header and Index had mismatched
106 Uncompressed Size fields. So this just makes "xz -lvv"
107 show such files as corrupt instead of showing the
108 Uncompressed Size from Index.
110 commit f01780fce454c7489f7dcbf806299b50da5f51b7
111 Author: Lasse Collin <lasse.collin@tukaani.org>
112 Date: Wed Jun 26 10:58:58 2013 +0300
116 commit d98ede7d700b892e32d9c2f46563b6ebc566786d
117 Author: Lasse Collin <lasse.collin@tukaani.org>
118 Date: Fri Jun 21 22:04:45 2013 +0300
120 xz: Make the man page more friendly to doclifter.
122 Thanks to Eric S. Raymond.
124 commit 19b447b64b3f520cd5b11429000b092f7c76709b
125 Author: Lasse Collin <lasse.collin@tukaani.org>
126 Date: Fri Jun 21 21:54:59 2013 +0300
128 xz: A couple of man page fixes.
130 Now the interaction of presets and custom filter chains
131 is described correctly. Earlier it contradicted itself.
133 Thanks to DevHC who reported these issues on IRC to me
136 commit 45edf2966fc9a4d2eae8f84b2fa027fb4fa1df8b
137 Author: Lasse Collin <lasse.collin@tukaani.org>
138 Date: Fri Jun 21 21:50:26 2013 +0300
140 xz: Fix interaction between preset and custom filter chains.
142 There was somewhat illogical behavior when --extreme was
143 specified and mixed with custom filter chains.
145 Before this commit, "xz -9 --lzma2 -e" was equivalent
146 to "xz --lzma2". After it is equivalent to "xz -6e"
147 (all earlier preset options get forgotten when a custom
148 filter chain is specified and the default preset is 6
149 to which -e is applied). I find this less illogical.
151 This also affects the meaning of "xz -9e --lzma2 -7".
152 Earlier it was equivalent to "xz -7e" (the -e specified
153 before a custom filter chain wasn't forgotten). Now it
154 is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
156 Hopefully very few cared about this in the first place,
157 so pretty much no one should even notice this change.
159 Thanks to Conley Moorhous.
161 commit b065984e5a9272eb50bc0c6d3731e6199c0ae8a8
162 Author: Lasse Collin <lasse.collin@tukaani.org>
163 Date: Fri Apr 8 17:53:05 2011 +0300
165 xz: Change size_t to uint32_t in a few places.
167 commit 32be621f52f2e1686db88baa7b01dc1ae338f426
168 Author: Lasse Collin <lasse.collin@tukaani.org>
169 Date: Sat Apr 27 22:07:46 2013 +0300
171 Build: Use -Wvla with GCC if supported.
173 Variable-length arrays are mandatory in C99 but optional in C11.
174 The code doesn't currently use any VLAs and it shouldn't in the
175 future either to stay compatible with C11 without requiring any
176 optional C11 features.
178 commit efb07cfba65e9e05984c02cd796c1b0338ce04dc
179 Author: Lasse Collin <lasse.collin@tukaani.org>
180 Date: Mon Apr 15 19:29:09 2013 +0300
182 xzdec: Improve the --help message.
184 The options are now ordered in the same order as in xz's help
187 Descriptions were added to the options that are ignored.
188 I left them in parenthesis even if it looks a bit weird
189 because I find it easier to spot the ignored vs. non-ignored
190 options from the list that way.
192 commit e3c8be13699e2813f5e2879d8187444b46d82d89
193 Author: Lasse Collin <lasse.collin@tukaani.org>
194 Date: Fri Apr 5 19:25:40 2013 +0300
198 commit ad8282efe483612f6b5544f9a0d2e4914fb2532a
199 Author: Jeff Bastian <jbastian@redhat.com>
200 Date: Wed Apr 3 13:59:17 2013 +0200
202 xzgrep: make the '-h' option to be --no-filename equivalent
204 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
206 commit 9271a3eb0e022b23e8712154be851d0afe4c02e4
207 Author: Lasse Collin <lasse.collin@tukaani.org>
208 Date: Fri Apr 5 19:34:09 2013 +0300
210 liblzma: Be less picky in lzma_alone_decoder().
212 To avoid false positives when detecting .lzma files,
213 rare values in dictionary size and uncompressed size fields
214 were rejected. They will still be rejected if .lzma files
215 are decoded with lzma_auto_decoder(), but when using
216 lzma_alone_decoder() directly, such files will now be accepted.
217 Hopefully this is an OK compromise.
219 This doesn't affect xz because xz still has its own file
220 format detection code. This does affect lzmadec though.
221 So after this commit lzmadec will accept files that xz or
222 xz-emulating-lzma doesn't.
224 NOTE: lzma_alone_decoder() still won't decode all .lzma files
225 because liblzma's LZMA decoder doesn't support lc + lp > 4.
228 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
231 src/liblzma/common/alone_decoder.c
232 src/liblzma/common/alone_decoder.h
234 commit 211b931cee58626c1d2e021810cb108cb5cbc10f
235 Author: Lasse Collin <lasse.collin@tukaani.org>
236 Date: Tue Mar 5 19:14:50 2013 +0200
238 Avoid unneeded use of awk in xzless.
240 Use "read" instead of "awk" in xzless to get the version
241 number of "less". The need for awk was introduced in
242 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
244 Thanks to Ariel P for the patch.
246 commit 9f62fd9605eade23b62b07a235d1f02156f7a5c6
247 Author: Jonathan Nieder <jrnieder@gmail.com>
248 Date: Mon Nov 19 00:10:10 2012 -0800
250 xzless: Make "less -V" parsing more robust
252 In v4.999.9beta~30 (xzless: Support compressed standard input,
253 2009-08-09), xzless learned to parse ‘less -V’ output to figure out
254 whether less is new enough to handle $LESSOPEN settings starting
255 with “|-”. That worked well for a while, but the version string from
256 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
258 $ xzless /tmp/test.xz; echo $?
259 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
260 integer expression expected
263 More precisely, modern ‘less’ lists the regexp implementation along
264 with its version number, and xzless passes the entire version number
265 with attached parenthetical phrase as a number to "test $a -gt $b",
266 producing the above confusing message.
268 $ less-444 -V | head -1
271 less 456 (no regular expressions)
273 So relax the pattern matched --- instead of expecting "less <number>",
274 look for a line of the form "less <number>[ (extra parenthetical)]".
275 While at it, improve the behavior when no matching line is found ---
276 instead of producing a cryptic message, we can fall back on a LESSPIPE
277 setting that is supported by all versions of ‘less’.
279 The implementation uses "awk" for simplicity. Hopefully that’s
282 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
283 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
285 commit 1d05980f5b5c2c94d833001daccacce4a466876e
286 Author: Lasse Collin <lasse.collin@tukaani.org>
287 Date: Wed Oct 3 15:54:24 2012 +0300
289 xz: Fix the note about --rsyncable on the man page.
291 commit fb68497333598688d309a92838d91fd560f7e9f0
292 Author: Lasse Collin <lasse.collin@tukaani.org>
293 Date: Fri Sep 28 20:11:09 2012 +0300
295 xz: Improve handling of failed realloc in xrealloc.
297 Thanks to Jim Meyering.
299 commit 75013db6d4d63c195bd8b8d45729b4be0665a812
300 Author: Lasse Collin <lasse.collin@tukaani.org>
301 Date: Sat Dec 15 20:01:02 2012 +0200
303 A few typo fixes to comments and the xz man page.
305 Thanks to Jim Meyering.
307 commit e44b21839b1dcbac5097be39b87dd2ddb6e114fd
308 Author: Lasse Collin <lasse.collin@tukaani.org>
309 Date: Thu Aug 2 17:13:30 2012 +0300
311 Build: Bump gettext version requirement to 0.18.
313 Otherwise too old version of m4/lib-link.m4 gets included
314 when autoreconf -fi is run.
316 commit fd3dbb23ca7e75a7a888d7e897c381dc06308307
317 Author: Lasse Collin <lasse.collin@tukaani.org>
318 Date: Thu Jul 5 07:36:28 2012 +0300
320 Tests: Remove tests/test_block.c that had gotten committed accidentally.
322 commit 05a735d279d74af437c31f25f69aded4713c1a3d
323 Author: Lasse Collin <lasse.collin@tukaani.org>
324 Date: Thu Jul 5 07:33:35 2012 +0300
326 Build: Include macosx/build.sh in the distribution.
328 It has been in the Git repository since 2010 but probably
329 few people have seen it since it hasn't been included in
330 the release tarballs. :-(
332 commit 4e6d62793b5e7b87edcc93c7ded072c1ecd94173
333 Author: Lasse Collin <lasse.collin@tukaani.org>
334 Date: Thu Jul 5 07:24:45 2012 +0300
336 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
338 commit dd95b5e7614baf1f07a1316b5106bd616a9efa79
339 Author: Lasse Collin <lasse.collin@tukaani.org>
340 Date: Thu Jul 5 07:23:17 2012 +0300
342 Include debug/translation.bash in the distribution.
344 Also fix the script name mentioned in README.
346 commit 20778053a07eb90c159c1377ca8dc05a90fd530b
347 Author: Lasse Collin <lasse.collin@tukaani.org>
348 Date: Fri Jun 22 14:36:16 2012 +0300
350 xz: Update man page date to match the latest update.
352 commit 2cefa84af676da37d7e9c466d55d46c67ab00c22
353 Author: Lasse Collin <lasse.collin@tukaani.org>
354 Date: Fri Jun 22 10:25:43 2012 +0300
356 Bump version and soname for 5.0.4.
358 commit 433fec191a17e45690809e54146ea7a773f54cff
359 Author: Lasse Collin <lasse.collin@tukaani.org>
360 Date: Fri Jun 22 10:25:09 2012 +0300
362 Update NEWS for 5.0.4.
364 commit 711fa680f552a4003df73b37e6dc4d6e00b47bcd
365 Author: Lasse Collin <lasse.collin@tukaani.org>
366 Date: Mon Jun 18 21:27:47 2012 +0300
368 Docs: Language fix to 01_compress_easy.c.
370 Thanks to Jonathan Nieder.
372 commit 3d7ab1dc61a75c560828be5df96598388b771456
373 Author: Lasse Collin <lasse.collin@tukaani.org>
374 Date: Thu Jun 14 20:15:30 2012 +0300
376 Fix the top-level Makefile.am for the new example programs.
378 commit ef8b8e5f111469b5bc005975f7abb9abbd372b25
379 Author: Lasse Collin <lasse.collin@tukaani.org>
380 Date: Thu Jun 14 10:52:33 2012 +0300
382 Docs: Add new example programs.
384 These have more comments than the old examples and
385 human-readable error messages. More tutorial-like examples
386 are needed but these are a start.
388 commit 75c149bc8045a26f8bc719cb8ed20668dab79091
389 Author: Lasse Collin <lasse.collin@tukaani.org>
390 Date: Thu Jun 14 10:33:27 2012 +0300
392 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
394 It is good to keep these around to so that if someone has
395 copied the decompressor bug from xz_pipe_decomp.c he has
396 an example how to easily fix it.
398 commit 456307ebf947a5f50bd995d617b99c1215572308
399 Author: Lasse Collin <lasse.collin@tukaani.org>
400 Date: Thu Jun 14 10:33:01 2012 +0300
402 Docs: Fix a bug in xz_pipe_decomp.c example program.
404 commit 4c310b8a29bc257e6ccbd2310f12f258678f3fef
405 Author: Lasse Collin <lasse.collin@tukaani.org>
406 Date: Thu May 31 15:53:25 2012 +0300
408 Translations: Update the Italian translation.
410 Thanks to Milo Casagrande.
412 commit ec32b79366dc47a55ea877589df9e8509ba113a7
413 Author: Lasse Collin <lasse.collin@tukaani.org>
414 Date: Wed May 30 23:15:07 2012 +0300
416 Translations: Update the French translation.
418 Thanks to Adrien Nader.
420 commit dd06f40e4dd7649525e4f28d890dc238a3aa37e5
421 Author: Lasse Collin <lasse.collin@tukaani.org>
422 Date: Tue May 29 22:26:27 2012 +0300
424 Translations: Update the German translation.
426 commit c66808d1f55d0149ed57c536cc9b52e9c8b583bc
427 Author: Lasse Collin <lasse.collin@tukaani.org>
428 Date: Tue May 29 22:12:57 2012 +0300
430 Translations: Update Polish translation.
432 commit 556c22dfed195c1466b298183b850d6c28544900
433 Author: Lasse Collin <lasse.collin@tukaani.org>
434 Date: Tue May 29 13:10:36 2012 +0300
436 Preliminary NEWS for 5.0.4.
438 commit dd13b66bf582f49d3aec36e3410ff8541b7506da
439 Author: Lasse Collin <lasse.collin@tukaani.org>
440 Date: Mon May 28 20:42:11 2012 +0300
442 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
444 lzma_code() could incorrectly return LZMA_BUF_ERROR if
445 all of the following was true:
447 - The caller knows how many bytes of output to expect
448 and only provides that much output space.
450 - When the last output bytes are decoded, the
451 caller-provided input buffer ends right before
452 the LZMA2 end of payload marker. So LZMA2 won't
453 provide more output anymore, but it won't know it
454 yet and thus won't return LZMA_STREAM_END yet.
456 - A BCJ filter is in use and it hasn't left any
457 unfiltered bytes in the temp buffer. This can happen
458 with any BCJ filter, but in practice it's more likely
459 with filters other than the x86 BCJ.
461 Another situation where the bug can be triggered happens
462 if the uncompressed size is zero bytes and no output space
463 is provided. In this case the decompression can fail even
464 if the whole input file is given to lzma_code().
466 A similar bug was fixed in XZ Embedded on 2011-09-19.
468 commit a0223bf796fdaad51a11ad02c4195c694849cc78
469 Author: Lasse Collin <lasse.collin@tukaani.org>
470 Date: Mon May 28 15:38:32 2012 +0300
474 commit 86e57e4bfefe3fd8e13615c41604165bb2359501
475 Author: Lasse Collin <lasse.collin@tukaani.org>
476 Date: Mon May 28 15:37:43 2012 +0300
478 xz: Don't show a huge number in -vv when memory limit is disabled.
480 commit 13e44a94da19d1ef14832ff12d3877a6fd2c54c0
481 Author: Lasse Collin <lasse.collin@tukaani.org>
482 Date: Sun May 27 22:30:17 2012 +0300
484 xz: Document the "summary" lines of --robot -lvv.
486 This documents only the columns that are in v5.0.
487 The new columns added in the master branch aren't
488 necessarily stable yet.
490 commit 2f90345e13ab8fea4de45a4f1caa73ebc63a62e7
491 Author: Lasse Collin <lasse.collin@tukaani.org>
492 Date: Sun May 27 21:53:20 2012 +0300
494 xz: Fix output of verbose --robot --list modes.
496 It printed the filename in "filename (x/y)" format
497 which it obviously shouldn't do in robot mode.
499 commit 8d4864f53ffae5d862c691a0b334a6b69bc5366e
500 Author: Lasse Collin <lasse.collin@tukaani.org>
501 Date: Thu May 10 21:15:17 2012 +0300
505 commit 35e9c58abb0ce3993da844aaeaa3e7231cd2be8f
506 Author: Lasse Collin <lasse.collin@tukaani.org>
507 Date: Thu May 10 21:14:16 2012 +0300
509 Docs: Cleanup line wrapping a bit.
511 commit 532b3e4c568a228309b56f95c13435fd078dbe02
512 Author: Benno Schulenberg <bensberg@justemail.net>
513 Date: Tue Mar 13 22:04:04 2012 +0100
515 Fix a few typos and add some missing articles in some documents.
517 Also hyphenate several compound adjectives.
519 Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
521 commit afb6ce8c82ffef8f2505a3759da72a733c7b0b8f
522 Author: Lasse Collin <lasse.collin@tukaani.org>
523 Date: Sun Apr 29 11:51:25 2012 +0300
525 Windows: Update notes about static linking with MSVC.
527 commit 7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565
528 Author: Lasse Collin <lasse.collin@tukaani.org>
529 Date: Thu Apr 19 15:25:26 2012 +0300
531 liblzma: Remove outdated comments.
533 commit f55db9c187651094f43881c49db2b2d9ffee6b80
534 Author: Lasse Collin <lasse.collin@tukaani.org>
535 Date: Thu Apr 19 14:17:52 2012 +0300
537 DOS: Link against DJGPP's libemu to support FPU emulation.
539 This way xz should work on 386SX and 486SX. Floating point
540 only is needed for verbose output in xz.
542 commit 203edff4c761dbd7cac76ea66e4eed501c23e7a3
543 Author: Lasse Collin <lasse.collin@tukaani.org>
544 Date: Thu Apr 19 13:58:55 2012 +0300
546 Docs: Update MINIX 3 information in INSTALL.
548 commit f0a8f95c215628967b7cf9bd9b0a9e4172f50bb4
549 Author: Lasse Collin <lasse.collin@tukaani.org>
550 Date: Wed Feb 22 14:23:13 2012 +0200
554 commit b7ad23fa78646036c0290cd91eada939c9a31526
555 Author: Lasse Collin <lasse.collin@tukaani.org>
556 Date: Wed Feb 22 14:02:34 2012 +0200
558 Fix exit status of xzgrep when grepping binary files.
560 When grepping binary files, grep may exit before it has
561 read all the input. In this case, gzip -q returns 2 (eating
562 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
563 (e.g. 141). This causes wrong exit status when grepping
564 xz- or bzip2-compressed binary files.
566 The fix checks for the special exit status that indicates SIGPIPE.
567 It uses kill -l which should be supported everywhere since it
568 is in both SUSv2 (1997) and POSIX.1-2008.
570 Thanks to James Buren for the bug report.
572 commit 4e19fbb04a0035030406482319e264426459eb24
573 Author: Lasse Collin <lasse.collin@tukaani.org>
574 Date: Wed Feb 22 12:08:43 2012 +0200
578 commit c6fa03a427e3d1320794102cee3ff4f5ae00eb36
579 Author: Lasse Collin <lasse.collin@tukaani.org>
580 Date: Thu May 24 18:47:52 2012 +0300
582 Fix compiling with IBM XL C on AIX.
584 commit 7b6ffc98645e1b3b302b6680be0a901d1ebf7358
585 Author: Lasse Collin <lasse.collin@tukaani.org>
586 Date: Thu May 24 18:37:08 2012 +0300
588 Build: Upgrade m4/acx_pthread.m4 to the latest version.
590 It was renamed to ax_pthread.m4 in Autoconf Archive.
592 commit bfac2be5023994fcc53de2844e7dd3af61910dc2
593 Author: Lasse Collin <lasse.collin@tukaani.org>
594 Date: Tue Jan 10 17:13:03 2012 +0200
596 Tests: Fix a compiler warning with _FORTIFY_SOURCE.
599 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
601 commit df85e156716a4eecb7e2978691f03f729444d998
602 Author: Lasse Collin <lasse.collin@tukaani.org>
603 Date: Mon Dec 19 21:21:29 2011 +0200
605 Docs: Explain the stable releases better in README.
607 commit d06d32f108c8278c25c24b2e8666bda7b2ec23b5
608 Author: Lasse Collin <lasse.collin@tukaani.org>
609 Date: Fri Nov 4 17:57:16 2011 +0200
611 xz: Fix a typo in a comment.
613 Thanks to Bela Lubkin.
615 commit 636fdcfbf542f1e84db2c4736004d84be4b12c84
616 Author: Lasse Collin <lasse.collin@tukaani.org>
617 Date: Thu Nov 3 17:08:02 2011 +0200
621 commit 55fd02f83ecd6cbd6925a3e8a3d43b8d4ef2a17c
622 Author: Lasse Collin <lasse.collin@tukaani.org>
623 Date: Thu Nov 3 17:07:22 2011 +0200
625 xz: Fix xz on EBCDIC systems.
627 Thanks to Chris Donawa.
629 commit 4052f36053b931bad847a36aabf1a07d0034e297
630 Author: Lasse Collin <lasse.collin@tukaani.org>
631 Date: Tue Sep 6 12:03:41 2011 +0300
633 Build: Fix "make check" on Windows.
635 commit 0f25758459c74c366a73f35d47ee12b75890bb79
636 Author: Lasse Collin <lasse.collin@tukaani.org>
637 Date: Tue Aug 9 21:19:13 2011 +0300
641 commit 70f03b51ffcb783646b20de8d97b6986c4280eec
642 Author: Lasse Collin <lasse.collin@tukaani.org>
643 Date: Tue Aug 9 21:16:44 2011 +0300
645 Workaround unusual SIZE_MAX on SCO OpenServer.
647 commit f138bdf76a70029e8360062a0b227936b83b24c9
648 Author: Lasse Collin <lasse.collin@tukaani.org>
649 Date: Sat Aug 6 20:37:28 2011 +0300
651 Run the scripts with the correct shell in test_scripts.sh.
653 The scripts are now made executable in the build tree.
654 This way the scripts can be run like programs in
655 test_scripts.sh. Previously test_scripts.sh always
656 used sh but it's not correct if @POSIX_SHELL@ is set
657 to something else by configure.
659 Thanks to Jonathan Nieder for the patch.
661 commit 2c144a0365c84dbf1b6722466746d42f2563a319
662 Author: Lasse Collin <lasse.collin@tukaani.org>
663 Date: Sun Jul 31 11:01:47 2011 +0300
665 Fix exit status of "xzdiff foo.xz bar.xz".
667 xzdiff was clobbering the exit status from diff in a case
668 statement used to analyze the exit statuses from "xz" when
669 its operands were two compressed files. Save and restore
670 diff's exit status to fix this.
672 The bug is inherited from zdiff in GNU gzip and was fixed
675 Thanks to Jonathan Nieder for the patch and
676 to Peter Pallinger for reporting the bug.
678 commit edf339227a966f24aebe1845fcca9429b8f6e318
679 Author: Anders F Bjorklund <afb@users.sourceforge.net>
680 Date: Fri Nov 5 12:56:11 2010 +0100
682 add build script for macosx universal
684 commit 7fcc6334ea8923550ba6b5347ff99dc8432234b0
685 Author: Lasse Collin <lasse.collin@tukaani.org>
686 Date: Thu Jun 16 12:15:29 2011 +0300
688 liblzma: Remove unneeded semicolon.
690 commit 631f4d3ae6adfda84d1a110781d9402c12e16cfc
691 Author: Lasse Collin <lasse.collin@tukaani.org>
692 Date: Sat May 28 16:43:26 2011 +0300
694 Don't call close(-1) in tuklib_open_stdxxx() on error.
696 Thanks to Jim Meyering.
698 commit c89faf4c9e5970e7f7f8a25521ed9aa62d1a2d9a
699 Author: Lasse Collin <lasse.collin@tukaani.org>
700 Date: Sat May 28 09:47:56 2011 +0300
702 Translations: Update Italian translation.
704 Thanks to Milo Casagrande.
706 commit 6fe2fc9b6ab5bf6848140823e9536370834f42fb
707 Author: Lasse Collin <lasse.collin@tukaani.org>
708 Date: Sat May 28 08:46:04 2011 +0300
710 Tests: Add a test file for the bug in the previous commit.
712 commit 6c4d4db2bc8d8b682bd927144d37daa2ab21a6d6
713 Author: Lasse Collin <lasse.collin@tukaani.org>
714 Date: Fri May 27 22:25:44 2011 +0300
716 xz: Fix error handling in xz -lvv.
718 It could do an invalid free() and read past the end
719 of the uninitialized filters array.
721 commit 844f84fcad9670c543550edf7c7e42630c8f7715
722 Author: Lasse Collin <lasse.collin@tukaani.org>
723 Date: Fri May 27 22:09:49 2011 +0300
725 liblzma: Handle allocation failures correctly in lzma_index_init().
727 Thanks to Jim Meyering.
729 commit 240e8b9791df597063a3b68d04ffcb3aa4f2de6a
730 Author: Lasse Collin <lasse.collin@tukaani.org>
731 Date: Mon May 23 18:30:30 2011 +0300
733 Build: Set GZIP_ENV=-9n in top-level Makefile.am.
735 commit e32cb264ea72a4459810f30abad70dae5a4fa17d
736 Author: Lasse Collin <lasse.collin@tukaani.org>
737 Date: Sat May 21 16:59:22 2011 +0300
739 Bump version and soname for 5.0.3.
741 commit 65cff45f8fd1c250491557157cce0f5f38481082
742 Author: Lasse Collin <lasse.collin@tukaani.org>
743 Date: Sat May 21 16:56:53 2011 +0300
745 Update NEWS for 5.0.3.
747 commit 316c67ffdae1f811ac95e838d5290a013bff4ca7
748 Author: Lasse Collin <lasse.collin@tukaani.org>
749 Date: Sat May 21 16:28:44 2011 +0300
751 Add French translation.
753 It is known that the BCJ filter --help text is only
754 partially translated.
756 commit 1931175eea6d09c0845d6e8e334a7333647f11c0
757 Author: Lasse Collin <lasse.collin@tukaani.org>
758 Date: Sat May 21 15:12:10 2011 +0300
760 xz: Translate also the string used to print the program name.
762 French needs a space before a colon, e.g. "xz : foo error".
764 commit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5
765 Author: Lasse Collin <lasse.collin@tukaani.org>
766 Date: Tue May 17 12:26:28 2011 +0300
770 commit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f
771 Author: Lasse Collin <lasse.collin@tukaani.org>
772 Date: Tue May 17 12:21:33 2011 +0300
774 Update INSTALL with a note about linker problem on OpenSolaris x86.
776 commit 793d857e01e1725f16fc0c8af8172c91a9e38617
777 Author: Lasse Collin <lasse.collin@tukaani.org>
778 Date: Tue May 17 12:01:37 2011 +0300
780 Build: Fix initialization of enable_check_* variables in configure.ac.
782 This doesn't matter much in practice since it is unlikely
783 that anyone would have such environment variable names.
787 commit afcff45cee04c5c7d9c333504046ffb63d1418b5
788 Author: Lasse Collin <lasse.collin@tukaani.org>
789 Date: Tue May 17 11:54:38 2011 +0300
791 Add underscores to attributes (__attribute((__foo__))).
793 commit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57
794 Author: Lasse Collin <lasse.collin@tukaani.org>
795 Date: Mon Apr 18 19:35:49 2011 +0300
799 commit 5e3499059515033d1ce44b6fb0fa49183c7ac633
800 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
801 Date: Fri Apr 15 04:54:49 2011 -0400
803 xzgrep: fix typo in $0 parsing
805 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
806 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
807 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
809 commit 1125611b9b8d4a209b6a73d2c76e1b39c065972a
810 Author: Lasse Collin <lasse.collin@tukaani.org>
811 Date: Tue Apr 12 11:59:49 2011 +0300
813 Remove doubled words from documentation and comments.
815 Spot candidates by running these commands:
816 git ls-files |xargs perl -0777 -n \
817 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
818 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
820 Thanks to Jim Meyering for the original patch.
822 commit 3f8fa53837bae8b44f3addf19923e26401336c3d
823 Author: Lasse Collin <lasse.collin@tukaani.org>
824 Date: Mon Apr 11 21:04:13 2011 +0300
826 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
828 commit 320d734c20d0776e3eb80f6b5984ddeb494715b5
829 Author: Lasse Collin <lasse.collin@tukaani.org>
830 Date: Mon Apr 11 20:59:07 2011 +0300
832 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
834 It didn't mention the return value that is used if
837 commit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5
838 Author: Lasse Collin <lasse.collin@tukaani.org>
839 Date: Mon Apr 11 13:59:50 2011 +0300
841 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
843 Empty Block was created if the input buffer was empty.
844 Empty Block wastes a few bytes of space, but more importantly
845 it triggers a bug in XZ Utils 5.0.1 and older when trying
846 to decompress such a file. 5.0.1 and older consider such
847 files to be corrupt. I thought that no encoder creates empty
848 Blocks when releasing 5.0.2 but I was wrong.
850 commit 73f56fb87d54091d0c4fd22d70e6f042902e3b63
851 Author: Lasse Collin <lasse.collin@tukaani.org>
852 Date: Mon Apr 11 13:28:40 2011 +0300
854 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
856 This return value was missing from the API comments of
859 commit 4ce1cf97a88ae1640a380dd19cbc255d729f966b
860 Author: Lasse Collin <lasse.collin@tukaani.org>
861 Date: Mon Apr 11 13:21:28 2011 +0300
863 liblzma: Validate encoder arguments better.
865 The biggest problem was that the integrity check type
866 wasn't validated, and e.g. lzma_easy_buffer_encode()
867 would create a corrupt .xz Stream if given an unsupported
868 Check ID. Luckily applications don't usually try to use
869 an unsupport Check ID, so this bug is unlikely to cause
870 many real-world problems.
872 commit 972f05d7a4268dbe42573701f83faa45d03249eb
873 Author: Lasse Collin <lasse.collin@tukaani.org>
874 Date: Sat Apr 9 18:29:30 2011 +0300
878 commit 28154eeaf6e3442cd1e174f4e81266d60c4dac60
879 Author: Lasse Collin <lasse.collin@tukaani.org>
880 Date: Sat Apr 9 18:28:58 2011 +0300
882 liblzma: Add missing #ifdefs to filter_common.c.
884 Passing --disable-decoders to configure broke a few
885 encoders due to missing #ifdefs in filter_common.c.
887 Thanks to Jason Gorski for the patch.
889 commit aa95516d3d509c6b7895ee519004afcf500a0759
890 Author: Lasse Collin <lasse.collin@tukaani.org>
891 Date: Sat Apr 2 14:49:56 2011 +0300
893 liblzma: Fix a memory leak in stream_encoder.c.
895 It leaks old filter options structures (hundred bytes or so)
896 every time the lzma_stream is reinitialized. With the xz tool,
897 this happens when compressing multiple files.
899 commit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c
900 Author: Lasse Collin <lasse.collin@tukaani.org>
901 Date: Fri Apr 1 08:47:46 2011 +0300
903 Bumped version and liblzma soname to 5.0.2.
905 commit 162779682e01d15f0ce386ef7f40d1be05ad0053
906 Author: Lasse Collin <lasse.collin@tukaani.org>
907 Date: Fri Apr 1 08:47:20 2011 +0300
909 Updated NEWS for 5.0.2.
911 commit 45553f9b4b0175c292023010dc41520347004852
912 Author: Lasse Collin <lasse.collin@tukaani.org>
913 Date: Thu Mar 31 15:06:58 2011 +0300
915 Update INSTALL with another note about IRIX.
917 commit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35
918 Author: Lasse Collin <lasse.collin@tukaani.org>
919 Date: Thu Mar 31 12:22:55 2011 +0300
921 Tests: Add a new file to test empty LZMA2 streams.
923 commit d099ef9f517b59ab8e3b6f6aa0543c3643983470
924 Author: Lasse Collin <lasse.collin@tukaani.org>
925 Date: Thu Mar 31 11:54:48 2011 +0300
927 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
929 The decoder considered empty LZMA2 streams to be corrupt.
930 This shouldn't matter much with .xz files, because no encoder
931 creates empty LZMA2 streams in .xz. This bug is more likely
932 to cause problems in applications that use raw LZMA2 streams.
934 commit df87249b26e79a75fd91041e85512944fc247b57
935 Author: Lasse Collin <lasse.collin@tukaani.org>
936 Date: Thu Mar 24 01:42:49 2011 +0200
938 Scripts: Better fix for xzgrep.
940 Now it uses "grep -q".
942 Thanks to Gregory Margo.
944 commit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3
945 Author: Lasse Collin <lasse.collin@tukaani.org>
946 Date: Thu Mar 24 01:22:18 2011 +0200
950 commit b441d39855516ae618faffd5156261b8b413394f
951 Author: Lasse Collin <lasse.collin@tukaani.org>
952 Date: Thu Mar 24 01:21:32 2011 +0200
954 Scripts: Fix xzgrep -l.
956 It didn't work at all. It tried to use the -q option
957 for grep, but it appended it after "--". This works
958 around it by redirecting to /dev/null. The downside
959 is that this can be slower with big files compared
960 to proper use of "grep -q".
962 Thanks to Gregory Margo.
964 commit 82d5164839517f55daeadd9ee88c76425db30224
965 Author: Lasse Collin <lasse.collin@tukaani.org>
966 Date: Fri Feb 4 22:49:31 2011 +0200
968 xz: Clean up suffix.c.
970 struct suffix_pair isn't needed in compresed_name()
971 so get rid of it there.
973 commit 6decc8b41882c2250f0450eb87b83c9fbf495e95
974 Author: Lasse Collin <lasse.collin@tukaani.org>
975 Date: Fri Feb 4 11:29:47 2011 +0200
977 xz: Check if the file already has custom suffix when compressing.
979 Now "xz -S .test foo.test" refuses to compress the
980 file because it already has the suffix .test. The man
981 page had it documented this way already.
983 commit ecda90061df8d39399e707e5c76c2ec0a0f400e5
984 Author: Lasse Collin <lasse.collin@tukaani.org>
985 Date: Wed Feb 2 23:01:51 2011 +0200
989 commit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f
990 Author: Lasse Collin <lasse.collin@tukaani.org>
991 Date: Wed Feb 2 23:00:33 2011 +0200
993 Translations: Add Polish translation.
995 Thanks to Jakub Bogusz.
997 commit 00be32978fedc5038748438bf685ac1713d1db83
998 Author: Lasse Collin <lasse.collin@tukaani.org>
999 Date: Wed Feb 2 22:24:00 2011 +0200
1003 commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004
1004 Author: Lasse Collin <lasse.collin@tukaani.org>
1005 Date: Fri Jan 28 20:26:38 2011 +0200
1007 Bump package version and liblzma soname to 5.0.1.
1009 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
1010 Author: Lasse Collin <lasse.collin@tukaani.org>
1011 Date: Fri Jan 28 20:16:57 2011 +0200
1013 Update NEWS for 5.0.1.
1015 commit 03ebd1bbb314f9f204940219a835c883bf442475
1016 Author: Lasse Collin <lasse.collin@tukaani.org>
1017 Date: Wed Jan 26 12:19:08 2011 +0200
1019 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
1021 xz didn't compress setuid/setgid/sticky files and files
1022 with multiple hard links even with --force. This bug was
1023 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
1025 Thanks to Charles Wilson.
1027 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
1028 Author: Lasse Collin <lasse.collin@tukaani.org>
1029 Date: Tue Jan 18 21:25:24 2011 +0200
1033 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
1034 Author: Lasse Collin <lasse.collin@tukaani.org>
1035 Date: Tue Jan 18 21:23:50 2011 +0200
1037 Add alloc_size and malloc attributes to a few functions.
1039 Thanks to Cristian Rodríguez for the original patch.
1041 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
1042 Author: Lasse Collin <lasse.collin@tukaani.org>
1043 Date: Mon Dec 13 16:36:33 2010 +0200
1045 Scripts: Fix gzip and bzip2 support in xzdiff.
1047 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
1048 Author: Lasse Collin <lasse.collin@tukaani.org>
1049 Date: Sun Dec 12 21:23:55 2010 +0200
1051 Build: Enable ASM on DJGPP by default.
1053 commit 4a42aaee282fc73b482581684d65110506d5efdd
1054 Author: Lasse Collin <lasse.collin@tukaani.org>
1055 Date: Sun Dec 12 16:09:42 2010 +0200
1059 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
1060 Author: Lasse Collin <lasse.collin@tukaani.org>
1061 Date: Sun Dec 12 16:07:11 2010 +0200
1063 Add missing PRIx32 and PRIx64 compatibility definitions.
1065 This fixes portability to systems that lack C99 inttypes.h.
1067 Thanks to Juan Manuel Guerrero.
1069 commit e6baedddcf54e7da049ebc49183565b99facd4c7
1070 Author: Lasse Collin <lasse.collin@tukaani.org>
1071 Date: Sun Dec 12 14:50:04 2010 +0200
1073 DOS-like: Treat \ and : as directory separators in addition to /.
1075 Juan Manuel Guerrero had fixed this in his XZ Utils port
1076 to DOS/DJGPP. The bug affects also Windows and OS/2.
1078 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
1079 Author: Lasse Collin <lasse.collin@tukaani.org>
1080 Date: Tue Dec 7 18:52:04 2010 +0200
1082 Translations: Fix Czech translation of "sparse file".
1084 Thanks to Petr Hubený and Marek Černocký.
1086 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
1087 Author: Lasse Collin <lasse.collin@tukaani.org>
1088 Date: Mon Nov 15 14:28:26 2010 +0200
1090 liblzma: Document the return value of lzma_lzma_preset().
1092 commit 2964d8d691ed92abdcf214888d79ad6d79774735
1093 Author: Jonathan Nieder <jrnieder@gmail.com>
1094 Date: Fri Nov 12 15:22:13 2010 -0600
1096 Simplify paths in generated API docs
1098 Currently the file list generated by Doxygen has src/ at the
1099 beginning of each path. Paths like common/sysdefs.h and
1100 liblzma/api/lzma.h are easier to read without such a prefix.
1102 Builds from a separate build directory with
1109 include an even longer prefix /home/someone/src/xz/src; this
1110 patch has the nice side-effect of eliminating that prefix, too.
1112 Fixes: http://bugs.debian.org/572273
1114 commit 37c25658efd25b034266daf87cd381d20d1df776
1115 Author: Lasse Collin <lasse.collin@tukaani.org>
1116 Date: Tue Oct 26 15:48:48 2010 +0300
1118 Build: Copy the example programs to $docdir/examples.
1120 The example programs by Daniel Mealha Cabrita were included
1121 in the git repository, but I had forgot to add them to
1122 Makefile.am. Thus, they didn't get included in the source
1123 package at all by "make dist".
1125 commit e45929260cd902036efd40c5610a8d0a50d5712b
1126 Author: Lasse Collin <lasse.collin@tukaani.org>
1127 Date: Sat Oct 23 17:25:52 2010 +0300
1129 Build: Fix mydist rule when .git doesn't exist.
1131 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
1132 Author: Lasse Collin <lasse.collin@tukaani.org>
1133 Date: Sat Oct 23 14:15:35 2010 +0300
1137 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
1138 Author: Lasse Collin <lasse.collin@tukaani.org>
1139 Date: Sat Oct 23 14:02:53 2010 +0300
1141 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
1143 commit 8c947e9291691629714dafb4536c718b6cc24fbd
1144 Author: Lasse Collin <lasse.collin@tukaani.org>
1145 Date: Sat Oct 23 12:30:54 2010 +0300
1147 liblzma: Make lzma_code() check the reserved members in lzma_stream.
1149 If any of the reserved members in lzma_stream are non-zero
1150 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
1151 that a new feature in the future is indicated by just setting
1152 a reserved member to some other value, so the old liblzma
1153 version need to catch it as an unsupported feature.
1155 commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
1156 Author: Lasse Collin <lasse.collin@tukaani.org>
1157 Date: Sat Oct 23 12:26:33 2010 +0300
1159 Windows: Use MinGW's stdio functions.
1161 The non-standard ones from msvcrt.dll appear to work
1162 most of the time with XZ Utils, but there are some
1163 corner cases where things may go very wrong. So it's
1164 good to use the better replacements provided by
1165 MinGW(-w64) runtime.
1167 commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
1168 Author: Lasse Collin <lasse.collin@tukaani.org>
1169 Date: Sat Oct 23 12:21:32 2010 +0300
1171 liblzma: Use 512 as INDEX_GROUP_SIZE.
1173 This lets compiler use shifting instead of 64-bit division.
1175 commit 613939fc82603b75b59eee840871a05bc8dd08e0
1176 Author: Lasse Collin <lasse.collin@tukaani.org>
1177 Date: Sat Oct 23 12:20:11 2010 +0300
1179 liblzma: A few ABI tweaks to reserve space in structures.
1181 commit 68b83f252df3d27480a9f6f03445d16f6506fef1
1182 Author: Lasse Collin <lasse.collin@tukaani.org>
1183 Date: Thu Oct 21 23:16:11 2010 +0300
1185 xz: Make sure that message_strm() can never return NULL.
1187 commit d09c5753e33ff96ee57edb6d1e98e34041203695
1188 Author: Lasse Collin <lasse.collin@tukaani.org>
1189 Date: Thu Oct 21 23:06:31 2010 +0300
1191 liblzma: Update the comments in the API headers.
1193 Adding support for LZMA_FINISH for Index encoding and
1194 decoding needed tiny additions to the relevant .c files too.
1196 commit 33c1c0e102eb529588503b8beea0903a45488fad
1197 Author: Lasse Collin <lasse.collin@tukaani.org>
1198 Date: Tue Oct 19 12:08:30 2010 +0300
1200 Update INSTALL.generic.
1202 commit 0076e03641f201c4b77dddd5a6db5880be19a78c
1203 Author: Lasse Collin <lasse.collin@tukaani.org>
1204 Date: Tue Oct 19 11:44:37 2010 +0300
1206 Clean up a few FIXMEs and TODOs.
1208 lzma_chunk_size() was commented out because it is
1211 commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
1212 Author: Lasse Collin <lasse.collin@tukaani.org>
1213 Date: Tue Oct 19 10:21:08 2010 +0300
1217 commit f0fa880d247e73264d2c04fe31fb3412318a0026
1218 Author: Lasse Collin <lasse.collin@tukaani.org>
1219 Date: Tue Oct 12 15:13:30 2010 +0300
1221 xz: Avoid raise() also on OpenVMS.
1223 This is similar to DOS/DJGPP that killing the program
1224 with a signal will print a backtrace or a similar message.
1226 commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
1227 Author: Lasse Collin <lasse.collin@tukaani.org>
1228 Date: Mon Oct 11 21:26:19 2010 +0300
1230 xz: Avoid SA_RESTART for portability reasons.
1232 SA_RESTART is not as portable as I had hoped. It's missing
1233 at least from OpenVMS, QNX, and DJGPP). Luckily we can do
1234 fine without SA_RESTART.
1236 commit d52b411716a614c202e89ba732492efb9916cd3f
1237 Author: Lasse Collin <lasse.collin@tukaani.org>
1238 Date: Sun Oct 10 17:58:58 2010 +0300
1240 xz: Use "%"PRIu32 instead of "%d" in a format string.
1242 commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
1243 Author: Lasse Collin <lasse.collin@tukaani.org>
1244 Date: Sun Oct 10 17:43:26 2010 +0300
1246 test_files.sh: Fix the first line.
1248 For some reason this prevented running the test only
1249 on OS/2 and even on that it broke only recently.
1251 Thanks to Elbert Pol.
1253 commit d492b80ddd6f9a13419de6d102df7374d8f448e8
1254 Author: Lasse Collin <lasse.collin@tukaani.org>
1255 Date: Sun Oct 10 16:49:01 2010 +0300
1257 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
1259 commit 825e859a9054bd91202e5723c41a17e72f63040a
1260 Author: Lasse Collin <lasse.collin@tukaani.org>
1261 Date: Sun Oct 10 16:47:01 2010 +0300
1263 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
1265 commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
1266 Author: Lasse Collin <lasse.collin@tukaani.org>
1267 Date: Sat Oct 9 23:20:51 2010 +0300
1269 lzmainfo: Use setmode() on DOS-like systems.
1271 commit ef364d3abc5647111c5424ea0d83a567e184a23b
1272 Author: Lasse Collin <lasse.collin@tukaani.org>
1273 Date: Sat Oct 9 21:51:03 2010 +0300
1275 OS/2 and DOS: Be less verbose on signals.
1277 Calling raise() to kill xz when user has pressed C-c
1278 is a bit verbose on OS/2 and DOS/DJGPP. Instead of
1279 calling raise(), set only the exit status to 1.
1281 commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
1282 Author: Lasse Collin <lasse.collin@tukaani.org>
1283 Date: Sat Oct 9 19:28:49 2010 +0300
1285 DOS: Update the Makefile, config.h and README.
1287 This is now simpler and builds only xz.exe.
1289 commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
1290 Author: Lasse Collin <lasse.collin@tukaani.org>
1291 Date: Sat Oct 9 18:57:55 2010 +0300
1293 Windows: Put some license info into README-Windows.txt.
1295 commit e75100f549f85d231df25c07aa94d63e78e2d668
1296 Author: Lasse Collin <lasse.collin@tukaani.org>
1297 Date: Sat Oct 9 18:57:04 2010 +0300
1299 Windows: Fix a diagnostics bug in build.bash.
1301 commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
1302 Author: Lasse Collin <lasse.collin@tukaani.org>
1303 Date: Sat Oct 9 13:02:15 2010 +0300
1305 lzmainfo: Add Windows resource file.
1307 commit 389d418445f1623593dfdbba55d52fbb6d1205f5
1308 Author: Lasse Collin <lasse.collin@tukaani.org>
1309 Date: Sat Oct 9 12:57:25 2010 +0300
1311 Add missing public domain notice to lzmadec_w32res.rc.
1313 commit 6389c773a4912dd9f111256d74ba1605230a7957
1314 Author: Lasse Collin <lasse.collin@tukaani.org>
1315 Date: Sat Oct 9 12:52:12 2010 +0300
1317 Windows: Update common_w32res.rc.
1319 commit 71275457ca24c9b01721f5cfc3638cf094daf454
1320 Author: Lasse Collin <lasse.collin@tukaani.org>
1321 Date: Sat Oct 9 12:27:08 2010 +0300
1323 Windows: Make build.bash prefer MinGW-w32 over MinGW.
1325 This is simply for licensing reasons. The 64-bit version
1326 will be built with MinGW-w64 anyway (at least for now),
1327 so using it also for 32-bit build allows using the same
1328 copyright notice about the MinGW-w64/w32 runtime.
1330 Note that using MinGW would require a copyright notice too,
1331 because its runtime is not in the public domain either even
1332 though MinGW's home page claims that it is public domain.
1333 See <http://marc.info/?l=mingw-users&m=126489506214078>.
1335 commit 3ac35719d8433af937af6491383d4a50e343099b
1336 Author: Lasse Collin <lasse.collin@tukaani.org>
1337 Date: Sat Oct 9 11:33:21 2010 +0300
1339 Windows: Copy COPYING-Windows.txt (if it exists) to the package.
1341 Also, put README-Windows.txt to the doc directory like
1342 the other documentation files.
1344 commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
1345 Author: Lasse Collin <lasse.collin@tukaani.org>
1346 Date: Fri Oct 8 21:42:37 2010 +0300
1348 Windows: Fix build.bash again.
1350 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
1352 commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
1353 Author: Lasse Collin <lasse.collin@tukaani.org>
1354 Date: Fri Oct 8 16:53:20 2010 +0300
1356 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
1358 Those are the same thing, and the former makes it a bit
1359 easier to build the code with other build systems, because
1360 one doesn't need to update the version number into custom
1363 This change affects only lzmainfo. Other tools were already
1364 using LZMA_VERSION_STRING.
1366 commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
1367 Author: Lasse Collin <lasse.collin@tukaani.org>
1368 Date: Fri Oct 8 15:59:25 2010 +0300
1370 configure.ac: Remove two unused defines.
1372 commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
1373 Author: Lasse Collin <lasse.collin@tukaani.org>
1374 Date: Fri Oct 8 15:32:29 2010 +0300
1376 Make tests accommodate missing xz or xzdec.
1378 commit b1c7368f95e93ccdefdd0748e04398c26766f47f
1379 Author: Lasse Collin <lasse.collin@tukaani.org>
1380 Date: Fri Oct 8 15:25:45 2010 +0300
1382 Build: Add options to disable individual command line tools.
1384 commit 630a8beda34af0ac153c8051b1bf01230558e422
1385 Author: Lasse Collin <lasse.collin@tukaani.org>
1386 Date: Thu Oct 7 00:44:53 2010 +0300
1388 Windows: Make build.bash work without --enable-dynamic=no.
1390 commit f9907503f882a745dce9d84c2968f6c175ba966a
1391 Author: Lasse Collin <lasse.collin@tukaani.org>
1392 Date: Tue Oct 5 14:13:16 2010 +0300
1394 Build: Remove the static/dynamic tricks.
1396 Most distros want xz linked against shared liblzma, so
1397 it doesn't help much to require --enable-dynamic for that.
1398 Those who want to avoid PIC on x86-32 to get better
1399 performance, can still do it e.g. by using --disable-shared
1400 to compile xz and then another pass to compile shared liblzma.
1402 Part of these static/dynamic tricks were needed for Windows
1403 in the past. Nowadays we rely on GCC and binutils to do the
1404 right thing with auto-import. If the Autotooled build system
1405 needs to support some other toolchain on Windows in the future,
1406 this may need some rethinking.
1408 commit fda4724d8114fccfa31c1839c15479f350c2fb4c
1409 Author: Lasse Collin <lasse.collin@tukaani.org>
1410 Date: Tue Oct 5 12:18:58 2010 +0300
1412 configure.ac: Silence a warning from Autoconf 2.68.
1414 commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
1415 Author: Lasse Collin <lasse.collin@tukaani.org>
1416 Date: Mon Oct 4 19:43:01 2010 +0300
1418 A few more languages files to the xz man page.
1420 Thanks to Jonathan Nieder.
1422 commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
1423 Author: Lasse Collin <lasse.collin@tukaani.org>
1424 Date: Sat Oct 2 12:07:33 2010 +0300
1428 commit 61ae593661e8dc402394e84d567ca2044a51572b
1429 Author: Lasse Collin <lasse.collin@tukaani.org>
1430 Date: Sat Oct 2 11:38:20 2010 +0300
1432 liblzma: Small fixes to comments in the API headers.
1434 commit 9166682dc601fd42c1b9510572e3f917d18de504
1435 Author: Lasse Collin <lasse.collin@tukaani.org>
1436 Date: Tue Sep 28 11:40:12 2010 +0300
1438 Create the PDF versions of the man pages better.
1440 commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
1441 Author: Lasse Collin <lasse.collin@tukaani.org>
1442 Date: Tue Sep 28 10:59:53 2010 +0300
1444 Move version.sh to build-aux.
1446 commit 84af9d8770451339a692e9b70f96cf56156a6069
1447 Author: Lasse Collin <lasse.collin@tukaani.org>
1448 Date: Tue Sep 28 10:53:02 2010 +0300
1452 commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
1453 Author: Lasse Collin <lasse.collin@tukaani.org>
1454 Date: Tue Sep 28 01:17:14 2010 +0300
1456 Fix accomodate -> accommodate on the xz man page.
1458 commit cec0ddc8ec4ce81685a51998b978e22167e461f9
1459 Author: Lasse Collin <lasse.collin@tukaani.org>
1460 Date: Mon Sep 27 23:29:34 2010 +0300
1462 Major man page updates.
1464 Lots of content was updated on the xz man page.
1466 Technical improvements:
1467 - Start a new sentence on a new line.
1468 - Use fairly short lines.
1469 - Use constant-width font for examples (where supported).
1470 - Some minor cleanups.
1472 Thanks to Jonathan Nieder for some language fixes.
1474 commit 075257ab0416a0603be930082e31a5703e4ba345
1475 Author: Lasse Collin <lasse.collin@tukaani.org>
1476 Date: Sun Sep 26 18:10:31 2010 +0300
1480 depth=0 was missing.
1482 commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
1483 Author: Lasse Collin <lasse.collin@tukaani.org>
1484 Date: Thu Sep 23 14:03:10 2010 +0300
1486 Add translations.bash and translation notes to README.
1488 translations.bash prints some messages from xz, which
1489 hopefully makes it a bit easier to test translations.
1491 commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
1492 Author: Lasse Collin <lasse.collin@tukaani.org>
1493 Date: Fri Sep 17 22:14:30 2010 +0300
1495 xz: Update the Czech translation.
1497 Thanks to Marek Černocký.
1499 commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
1500 Author: Lasse Collin <lasse.collin@tukaani.org>
1501 Date: Thu Sep 16 23:40:41 2010 +0300
1503 xz: Add Italian translation.
1505 Thanks to Milo Casagrande and Lorenzo De Liso.
1507 commit 21088018554e2b0e02914205377ceb6e34a090bd
1508 Author: Lasse Collin <lasse.collin@tukaani.org>
1509 Date: Wed Sep 15 00:34:13 2010 +0300
1511 xz: Edit a translators comment.
1513 commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
1514 Author: Lasse Collin <lasse.collin@tukaani.org>
1515 Date: Tue Sep 14 22:47:14 2010 +0300
1517 xz: Add German translation.
1519 Thanks to Andre Noll.
1521 commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
1522 Author: Lasse Collin <lasse.collin@tukaani.org>
1523 Date: Fri Sep 10 14:30:25 2010 +0300
1527 commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
1528 Author: Lasse Collin <lasse.collin@tukaani.org>
1529 Date: Fri Sep 10 14:30:07 2010 +0300
1533 commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
1534 Author: Lasse Collin <lasse.collin@tukaani.org>
1535 Date: Fri Sep 10 14:26:20 2010 +0300
1537 Updated the git repository address in ChangeLog.
1539 commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
1540 Author: Lasse Collin <lasse.collin@tukaani.org>
1541 Date: Fri Sep 10 14:09:33 2010 +0300
1543 xz: Add a comment to translators about "literal context bits".
1545 commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
1546 Author: Lasse Collin <lasse.collin@tukaani.org>
1547 Date: Fri Sep 10 10:30:33 2010 +0300
1551 The code assumed that printing numbers with thousand separators
1552 and decimal points would always produce only US-ASCII characters.
1553 This was used for buffer sizes (with snprintf(), no overflows)
1554 and aligning columns of the progress indicator and --list. That
1555 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
1556 multibyte character support was added in this commit. The old
1557 way is used if the operating system doesn't have enough multibyte
1558 support (e.g. lacks wcwidth()).
1560 The sizes of buffers were increased to accomodate multibyte
1561 characters. I don't know how big they should be exactly, but
1562 they aren't used for anything critical, so it's not too bad.
1563 If they still aren't big enough, I hopefully get a bug report.
1564 snprintf() takes care of avoiding buffer overflows.
1566 Some static buffers were replaced with buffers allocated on
1567 stack. double_to_str() was removed. uint64_to_str() and
1568 uint64_to_nicestr() now share the static buffer and test
1569 for thousand separator support.
1571 Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
1572 were marked to be translated. I had forgot these, plus they
1573 wouldn't have worked correctly anyway before this commit,
1574 because printing tables with multibyte strings didn't work.
1576 Thanks to Marek Černocký for reporting the bug about
1577 misaligned table columns in --list output.
1579 commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
1580 Author: Lasse Collin <lasse.collin@tukaani.org>
1581 Date: Wed Sep 8 08:49:22 2010 +0300
1583 Update the Czech translation.
1585 Thanks to Marek Černocký.
1587 commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
1588 Author: Lasse Collin <lasse.collin@tukaani.org>
1589 Date: Tue Sep 7 12:31:40 2010 +0300
1591 xz: Add a note to translators.
1593 commit 77a7746616e555fc08028e883a56d06bf0088b81
1594 Author: Lasse Collin <lasse.collin@tukaani.org>
1595 Date: Tue Sep 7 10:42:13 2010 +0300
1597 Fix use of N_() and ngettext().
1599 I had somehow thought that N_() is usually used
1600 as shorthand for ngettext().
1602 This also fixes a missing \n from a call to ngettext().
1604 commit e6ad39335842343e622ab51207d1d3cb9caad801
1605 Author: Lasse Collin <lasse.collin@tukaani.org>
1606 Date: Mon Sep 6 19:43:12 2010 +0300
1608 Add missing files to POTFILES.in.
1610 commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
1611 Author: Lasse Collin <lasse.collin@tukaani.org>
1612 Date: Mon Sep 6 10:16:24 2010 +0300
1614 xz: Improve a comment.
1616 commit bcb1b898341f7073f51660d7052d7ed6c5461a66
1617 Author: Lasse Collin <lasse.collin@tukaani.org>
1618 Date: Sun Sep 5 21:34:29 2010 +0300
1620 xz: Update the comment about NetBSD in file_io.c.
1622 Thanks to Joerg Sonnenberger.
1624 commit da014d55972f5addbf6b4360d3d8ed2ef4282170
1625 Author: Lasse Collin <lasse.collin@tukaani.org>
1626 Date: Sun Sep 5 21:11:33 2010 +0300
1628 xz: Use an array instead of pointer for stdin_filename.
1630 Thanks Joerg Sonnenberger.
1632 commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
1633 Author: Lasse Collin <lasse.collin@tukaani.org>
1634 Date: Sun Sep 5 12:16:17 2010 +0300
1636 xz: Hopefully ease translating the messages in list.c.
1638 commit ef840950ad99cf2955c754875af0e01acf125079
1639 Author: Lasse Collin <lasse.collin@tukaani.org>
1640 Date: Sat Sep 4 23:14:44 2010 +0300
1644 commit c46afd6edc04ea140db6c59e8486f5707c810c13
1645 Author: Lasse Collin <lasse.collin@tukaani.org>
1646 Date: Sat Sep 4 23:12:20 2010 +0300
1648 xz: Use lzma_lzma_preset() to initialize the options structure.
1650 commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
1651 Author: Lasse Collin <lasse.collin@tukaani.org>
1652 Date: Sat Sep 4 22:16:28 2010 +0300
1654 Don't set lc=4 with --extreme.
1656 This should reduce the cases where --extreme makes
1657 compression worse. On the other hand, some other
1658 files may now benefit slightly less from --extreme.
1660 commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
1661 Author: Lasse Collin <lasse.collin@tukaani.org>
1662 Date: Sat Sep 4 22:10:32 2010 +0300
1664 xz: Minor improvements to --help and --long-help.
1666 commit 373ee26f955617295c5c537b04a153a1969140d2
1667 Author: Jonathan Nieder <jrnieder@gmail.com>
1668 Date: Fri Sep 3 16:49:15 2010 -0500
1670 Adjust memory limits in test_compress.sh
1672 Testing compression at level -4 now requires 48 MiB of free store at
1673 compression time and 5 MiB at decompression time.
1675 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
1677 commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
1678 Author: Lasse Collin <lasse.collin@tukaani.org>
1679 Date: Fri Sep 3 15:54:40 2010 +0300
1681 xz: Make -vv show also decompressor memory usage.
1683 commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
1684 Author: Lasse Collin <lasse.collin@tukaani.org>
1685 Date: Fri Sep 3 15:13:12 2010 +0300
1687 Tweak the compression presets -0 .. -5.
1689 "Extreme" mode might need some further tweaking still.
1690 Docs were not updated yet.
1692 commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
1693 Author: Lasse Collin <lasse.collin@tukaani.org>
1694 Date: Fri Sep 3 12:28:41 2010 +0300
1696 liblzma: Adjust default depth calculation for HC3 and HC4.
1698 It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
1699 This allows faster settings at lower nice_len values,
1700 even though it seems that I won't use automatic depth
1701 calcuation with HC3 and HC4 in the presets.
1703 commit fce69059cf901ce8075a78c7607d591f144a3b5a
1704 Author: Lasse Collin <lasse.collin@tukaani.org>
1705 Date: Fri Sep 3 11:11:25 2010 +0300
1707 xz: Make --help two lines shorter.
1709 At least for now, the --help option doesn't list any
1710 options that take arguments, so "Mandatory arguments to..."
1713 commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
1714 Author: Lasse Collin <lasse.collin@tukaani.org>
1715 Date: Thu Sep 2 19:22:35 2010 +0300
1717 xz: Make setting a preset override a custom filter chain.
1719 This is more logical behavior than ignoring preset level
1720 options once a custom filter chain has been specified.
1722 commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
1723 Author: Lasse Collin <lasse.collin@tukaani.org>
1724 Date: Thu Sep 2 19:09:57 2010 +0300
1726 xz: Always warn if adjusting dictionary size due to memlimit.
1728 commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
1729 Author: Lasse Collin <lasse.collin@tukaani.org>
1730 Date: Tue Aug 10 11:04:30 2010 +0300
1732 Fix test_compress.sh.
1734 It broke when --memory option was removed from xzdec.
1736 Thanks to Jonathan Nieder.
1738 commit 792331bdee706aa852a78b171040ebf814c6f3ae
1739 Author: Lasse Collin <lasse.collin@tukaani.org>
1740 Date: Sat Aug 7 20:45:18 2010 +0300
1742 Disable the memory usage limiter by default.
1744 For several people, the limiter causes bigger problems that
1745 it solves, so it is better to have it disabled by default.
1746 Those who want to have a limiter by default need to enable
1747 it via the environment variable XZ_DEFAULTS.
1749 Support for environment variable XZ_DEFAULTS was added. It is
1750 parsed before XZ_OPT and technically identical with it. The
1751 intended uses differ quite a bit though; see the man page.
1753 The memory usage limit can now be set separately for
1754 compression and decompression using --memlimit-compress and
1755 --memlimit-decompress. To set both at once, -M or --memlimit
1756 can be used. --memory was retained as a legacy alias for
1757 --memlimit for backwards compatibility.
1759 The semantics of --info-memory were changed in backwards
1760 incompatible way. Compatibility wasn't meaningful due to
1761 changes in the memory usage limiter functionality.
1763 The memory usage limiter info is no longer shown at the
1764 bottom of xz --long -help.
1766 The memory usage limiter support for removed completely from xzdec.
1768 xz's man page was updated to match the above changes. Various
1769 unrelated fixes were also made to the man page.
1771 commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
1772 Author: Lasse Collin <lasse.collin@tukaani.org>
1773 Date: Fri Aug 6 20:22:16 2010 +0300
1775 Add missing const to a global constant in xz.
1777 commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
1778 Author: Lasse Collin <lasse.collin@tukaani.org>
1779 Date: Wed Jul 28 11:44:55 2010 +0300
1781 Language fixes for man pages.
1783 Thanks to A. Costa and Jonathan Nieder.
1785 commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
1786 Author: Lasse Collin <lasse.collin@tukaani.org>
1787 Date: Tue Jul 27 20:47:12 2010 +0300
1789 Windows: Add a note about building a Git repository snapshot
1791 commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
1792 Author: Lasse Collin <lasse.collin@tukaani.org>
1793 Date: Tue Jul 27 20:45:03 2010 +0300
1795 Windows: build.sh is a bash script so name it correctly.
1797 commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
1798 Author: Lasse Collin <lasse.collin@tukaani.org>
1799 Date: Tue Jul 27 20:27:32 2010 +0300
1801 Windows: Don't strip liblzma.a too much.
1803 commit a540198ffb25fad36380c5e92ac20c2d28eec46a
1804 Author: Lasse Collin <lasse.collin@tukaani.org>
1805 Date: Tue Jul 13 20:07:26 2010 +0300
1809 commit bab0f01ed931f606b4675aa9f9331a17cec09bad
1810 Author: Lasse Collin <lasse.collin@tukaani.org>
1811 Date: Tue Jul 13 19:55:50 2010 +0300
1813 Add two simple example programs.
1815 Hopefully these help a bit when learning the basics
1816 of liblzma API. I plan to write detailed examples about
1817 both basic and advanced features with lots of comments,
1818 but these two examples are good have right now.
1820 The examples were written by Daniel Mealha Cabrita. Thanks.
1822 commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
1823 Author: Lasse Collin <lasse.collin@tukaani.org>
1824 Date: Tue Jun 15 14:06:29 2010 +0300
1828 commit 2130926dd1c839280358172dfadd8d3054bde2b4
1829 Author: Lasse Collin <lasse.collin@tukaani.org>
1830 Date: Fri Jun 11 21:51:32 2010 +0300
1834 commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
1835 Author: Lasse Collin <lasse.collin@tukaani.org>
1836 Date: Fri Jun 11 21:48:32 2010 +0300
1838 Clarify the description of the default memlimit in the man page.
1840 Thanks to Denis Excoffier.
1842 commit e1b6935d60a00405e6b5b455a3426d2248cc926c
1843 Author: Lasse Collin <lasse.collin@tukaani.org>
1844 Date: Fri Jun 11 21:43:28 2010 +0300
1846 Fix string to uint64_t conversion.
1848 Thanks to Denis Excoffier for the bug report.
1850 commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
1851 Author: Lasse Collin <lasse.collin@tukaani.org>
1852 Date: Fri Jun 11 10:40:28 2010 +0300
1854 Put the git commit to the filename in mydist rule.
1856 commit d8b41eedce486d400f701b757b7b5e4e32276618
1857 Author: Lasse Collin <lasse.collin@tukaani.org>
1858 Date: Wed Jun 2 23:13:55 2010 +0300
1860 Fix compiling with -Werror.
1862 commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
1863 Author: Lasse Collin <lasse.collin@tukaani.org>
1864 Date: Wed Jun 2 23:09:22 2010 +0300
1866 Silence a bogus Valgrind warning.
1868 When using -O2 with GCC, it liked to swap two comparisons
1869 in one "if" statement. It's otherwise fine except that
1870 the latter part, which is seemingly never executed, got
1871 executed (nothing wrong with that) and then triggered
1872 warning in Valgrind about conditional jump depending on
1873 uninitialized variable. A few people find this annoying
1874 so do things a bit differently to avoid the warning.
1876 commit 29a7b250e685852f2f97615493ec49acaf528623
1877 Author: Lasse Collin <lasse.collin@tukaani.org>
1878 Date: Wed Jun 2 21:32:12 2010 +0300
1880 Fix a Windows-specific FIXME in signal handling code.
1882 commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
1883 Author: Lasse Collin <lasse.collin@tukaani.org>
1884 Date: Wed Jun 2 17:46:58 2010 +0300
1886 Adjust SA_RESTART workaround.
1888 I want to get a bug report if something else than
1889 DJGPP lacks SA_RESTART.
1891 commit e243145c84ab5c3be8259fd486ead0de5235b3f0
1892 Author: Lasse Collin <lasse.collin@tukaani.org>
1893 Date: Tue Jun 1 16:02:30 2010 +0300
1895 xz man page updates.
1897 - Concatenating .xz files and padding
1900 - A few examples (but many more are needed)
1902 commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
1903 Author: Lasse Collin <lasse.collin@tukaani.org>
1904 Date: Tue Jun 1 15:51:44 2010 +0300
1906 Major update to xz --list.
1908 commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
1909 Author: Lasse Collin <lasse.collin@tukaani.org>
1910 Date: Tue Jun 1 14:13:03 2010 +0300
1912 Rename message_filters_get() to message_filters_to_str().
1914 commit 4b346ae8af20045027ae5efb068c6d69da3324d2
1915 Author: Lasse Collin <lasse.collin@tukaani.org>
1916 Date: Tue Jun 1 14:09:12 2010 +0300
1920 commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
1921 Author: Lasse Collin <lasse.collin@tukaani.org>
1922 Date: Thu May 27 16:17:42 2010 +0300
1924 Fix lzma_block_compressed_size().
1926 commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
1927 Author: Lasse Collin <lasse.collin@tukaani.org>
1928 Date: Thu May 27 14:32:51 2010 +0300
1930 Take Cygwin into account in some #if lines.
1932 This change is no-op, but good to have just in case
1935 commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
1936 Author: Lasse Collin <lasse.collin@tukaani.org>
1937 Date: Thu May 27 13:42:44 2010 +0300
1939 Remove references to the Subblock filter in xz and tests.
1941 Thanks to Jonathan Nieder.
1943 commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
1944 Author: Lasse Collin <lasse.collin@tukaani.org>
1945 Date: Thu May 27 13:35:36 2010 +0300
1947 Remove unused chunk_size.c.
1949 Thanks to Jonathan Nieder for the reminder.
1951 commit 01a414eaf4be6352c06b48001b041b47e8202faa
1952 Author: Jonathan Nieder <jrnieder@gmail.com>
1953 Date: Thu May 27 02:31:33 2010 -0500
1955 Use my_min() instead of MIN() in src/xz/list.c
1957 This should have been done in
1958 920a69a8d8e4203c5edddd829d932130eac188ea.
1960 commit 920a69a8d8e4203c5edddd829d932130eac188ea
1961 Author: Lasse Collin <lasse.collin@tukaani.org>
1962 Date: Wed May 26 10:36:46 2010 +0300
1964 Rename MIN() and MAX() to my_min() and my_max().
1966 This should avoid some minor portability issues.
1968 commit 019ae27c24d0c694545a6a46f8b9fb552198b015
1969 Author: Lasse Collin <lasse.collin@tukaani.org>
1970 Date: Wed May 26 10:30:20 2010 +0300
1972 Fix compilation of debug/known_sizes.c.
1974 commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
1975 Author: Lasse Collin <lasse.collin@tukaani.org>
1976 Date: Wed May 26 10:28:54 2010 +0300
1978 Remove references to Subblock filter in debug/sync_flush.c.
1980 commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
1981 Author: Lasse Collin <lasse.collin@tukaani.org>
1982 Date: Wed May 26 10:16:57 2010 +0300
1984 Better #error message.
1986 commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
1987 Author: Lasse Collin <lasse.collin@tukaani.org>
1988 Date: Wed May 26 09:55:47 2010 +0300
1990 Remove the Subblock filter code for now.
1992 The spec isn't finished and the code didn't compile anymore.
1993 It won't be included in XZ Utils 5.0.0. It's easy to get it
1994 back once the spec is done.
1996 commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
1997 Author: Lasse Collin <lasse.collin@tukaani.org>
1998 Date: Sun May 16 18:42:22 2010 +0300
2000 Split message_filters().
2002 message_filters_to_str() converts the filter chain to
2003 a string. message_filters_show() replaces the original
2006 uint32_to_optstr() was also added to show the dictionary
2007 size in nicer format when possible.
2009 commit d9986db782d6cf0f314342127280519339378fa0
2010 Author: Lasse Collin <lasse.collin@tukaani.org>
2011 Date: Fri May 14 23:17:20 2010 +0300
2013 Omit lzma_restrict from the API headers.
2015 It isn't really useful so omitting it makes things
2016 shorter and slightly more readable.
2018 commit 0d3489efca0a723dca0394809fa3e6170843af4b
2019 Author: Lasse Collin <lasse.collin@tukaani.org>
2020 Date: Mon May 10 19:57:24 2010 +0300
2024 commit 3fb3d594a2b53886adee161b6261e92277f05f7c
2025 Author: Lasse Collin <lasse.collin@tukaani.org>
2026 Date: Mon May 10 19:54:52 2010 +0300
2030 commit 6548e304657e77d3a972053db3c41c5daf591113
2031 Author: Lasse Collin <lasse.collin@tukaani.org>
2032 Date: Mon May 10 19:54:15 2010 +0300
2034 Updates to tuklib_physmem and tuklib_cpucores.
2036 Don't use #error to generate compile error, because some
2037 compilers actually don't take it as an error. This fixes
2038 tuklib_physmem on IRIX.
2040 Fix incorrect error check for sysconf() return values.
2042 Add AIX, HP-UX, and Tru64 specific code to detect the
2045 Add HP-UX specific code to detect the number of CPU cores.
2047 Thanks a lot to Peter O'Gorman for initial patches,
2048 testing, and debugging these fixes.
2050 commit a290cfee3e23f046889c022aa96b4eca2016fdda
2051 Author: Lasse Collin <lasse.collin@tukaani.org>
2052 Date: Mon Apr 12 21:55:56 2010 +0300
2054 Show both elapsed time and estimated remaining time in xz -v.
2056 The extra space for showing both has been taken from the
2057 sizes field. If the sizes grow big, bigger units than MiB
2058 will be used. It makes it slightly difficult to see that
2059 progress is still happening with huge files, but it should
2062 Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
2063 and Jonathan Nieder for suggestions how to fix it.
2065 commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
2066 Author: Lasse Collin <lasse.collin@tukaani.org>
2067 Date: Wed Mar 31 16:47:25 2010 +0300
2069 Add a simple tip to faq.txt about tar and xz.
2071 Thanks to Gilles Espinasse.
2073 commit c737eec91d200d730aa82662affd6b06ebb0bff0
2074 Author: Lasse Collin <lasse.collin@tukaani.org>
2075 Date: Mon Mar 22 21:03:03 2010 +0200
2079 commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
2080 Author: Lasse Collin <lasse.collin@tukaani.org>
2081 Date: Sun Mar 7 19:52:25 2010 +0200
2083 Fix xzgrep to not break if filenames have spaces or quotes.
2085 Thanks to someone who reported the bug on IRC.
2087 commit cf38da00a140bd3bd65b192390ae5553380fd774
2088 Author: Lasse Collin <lasse.collin@tukaani.org>
2089 Date: Sun Mar 7 13:59:32 2010 +0200
2091 Treat all integer multiplier suffixes as base-2.
2093 Originally both base-2 and base-10 were supported, but since
2094 there seems to be little need for base-10 in XZ Utils, treat
2095 everything as base-2 and also be more relaxed about the case
2096 of the first letter of the suffix. Now xz will accept e.g.
2097 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
2098 recommended spelling of the suffixes are still KiB, MiB, and GiB.
2100 commit 00fc1211ae7b687ac912098f4479112059deccbd
2101 Author: Lasse Collin <lasse.collin@tukaani.org>
2102 Date: Sun Mar 7 13:50:23 2010 +0200
2104 Consistently round up the memory usage limit in messages.
2106 It still feels a bit wrong to round 1 byte to 1 MiB but
2107 at least it is now done consistently so that the same
2108 byte value is always rounded the same way to MiB.
2110 commit 9886d436ff5615fc70eef32ff757b1e934069621
2111 Author: Lasse Collin <lasse.collin@tukaani.org>
2112 Date: Sun Mar 7 13:34:34 2010 +0200
2114 Change the default of --enable-assume-ram from 32 to 128 MiB.
2116 This is to allow files created with "xz -9" to be decompressed
2117 if the amount of RAM cannot be determined.
2119 commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
2120 Author: Lasse Collin <lasse.collin@tukaani.org>
2121 Date: Sun Mar 7 13:29:28 2010 +0200
2123 Increase the default memory usage limit on "low-memory" systems.
2125 Previously the default limit was always 40 % of RAM. The
2126 new limit is a little bit more complex:
2128 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
2131 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
2133 - Otherwise 80 % of RAM is used as the limit.
2135 This should make it possible to decompress files created with
2136 "xz -9" on more systems. Swapping is generally more expected
2137 on systems with less RAM, so higher default limit on them
2138 shouldn't cause too bad surprises in terms of heavy swapping.
2139 Instead, the higher default limit should reduce the number of
2140 bad surprises when it used to prevent decompression of files
2141 created with "xz -9". The DoS prevention system shouldn't be
2144 Note that even with the new default limit, a system with 64 MiB
2145 RAM cannot decompress files created with "xz -9" without user
2146 overriding the limit. This should be OK, because if xz is going
2147 to need more memory than the system has RAM, it will run very
2148 very slowly and thus it's good that user has to override the limit
2151 commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
2152 Author: Lasse Collin <lasse.collin@tukaani.org>
2153 Date: Sat Mar 6 21:36:19 2010 +0200
2157 commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
2158 Author: Lasse Collin <lasse.collin@tukaani.org>
2159 Date: Sat Mar 6 21:17:20 2010 +0200
2161 Fix missing initialization in lzma_strm_init().
2163 With bad luck, lzma_code() could return LZMA_BUF_ERROR
2166 This has been here since the early days of liblzma.
2167 It got triggered by the modifications made to the xz
2168 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
2169 but only when decompressing .lzma files. Somehow I managed
2170 to miss testing that with Valgrind earlier.
2172 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
2173 Thanks to Rafał Mużyło for helping to debug it on IRC.
2175 commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
2176 Author: Lasse Collin <lasse.collin@tukaani.org>
2177 Date: Fri Feb 12 13:16:15 2010 +0200
2179 Collection of language fixes to comments and docs.
2181 Thanks to Jonathan Nieder.
2183 commit 4785f2021aa6a23f1caf724fcc823e562584f225
2184 Author: Lasse Collin <lasse.collin@tukaani.org>
2185 Date: Fri Feb 12 12:41:20 2010 +0200
2187 Fix jl -> jb in ASM files.
2189 commit 6b50c9429bf85521d355adc61745d06ee017f8c8
2190 Author: Lasse Collin <lasse.collin@tukaani.org>
2191 Date: Fri Feb 12 12:31:22 2010 +0200
2193 Use __APPLE__ instead of __MACH__ in ASM files.
2195 This allows the files to work on HURD.
2197 Thanks to Jonathan Nieder.
2199 commit 6503fde658a5cdbdd907a788865470dd64771601
2200 Author: Lasse Collin <lasse.collin@tukaani.org>
2201 Date: Sun Feb 7 19:48:06 2010 +0200
2203 Subtle change to liblzma Block handling API.
2205 lzma_block.version has to be initialized even for
2206 lzma_block_header_decode(). This way a future version
2207 of liblzma won't allocate memory in a way that an old
2208 application doesn't know how to free it.
2210 The subtlety of this change is that all current apps
2211 using lzma_block_header_decode() will keep working for
2212 now, because the only possible version value is zero,
2213 and lzma_block_header_decode() unconditionally sets the
2214 version to zero even now. Unless fixed, these apps will
2215 break in the future if a new version of the Block options
2218 commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
2219 Author: Lasse Collin <lasse.collin@tukaani.org>
2220 Date: Tue Feb 2 11:50:11 2010 +0200
2222 Fix wrong assertion.
2224 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
2226 commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
2227 Author: Lasse Collin <lasse.collin@tukaani.org>
2228 Date: Mon Feb 1 22:48:42 2010 +0200
2232 commit fef6333f52c8801308c3b78acb7942988541d137
2233 Author: Lasse Collin <lasse.collin@tukaani.org>
2234 Date: Mon Feb 1 22:47:54 2010 +0200
2236 Fix typos in comments.
2238 commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
2239 Author: Lasse Collin <lasse.collin@tukaani.org>
2240 Date: Mon Feb 1 22:46:56 2010 +0200
2242 Fix signal handling for --list.
2244 commit 82220a149015616f75641ee8bbea415137535b9b
2245 Author: Lasse Collin <lasse.collin@tukaani.org>
2246 Date: Mon Feb 1 11:44:45 2010 +0200
2248 Fix compression of symlinks with --force.
2250 xz --force accepted symlinks, but didn't remove
2251 them after successful compression. Instead, an error
2252 message was displayed.
2254 commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
2255 Author: Lasse Collin <lasse.collin@tukaani.org>
2256 Date: Mon Feb 1 10:20:57 2010 +0200
2260 commit f9dd797a423a148903cf345b4146cb1fe1eab11d
2261 Author: Lasse Collin <lasse.collin@tukaani.org>
2262 Date: Sun Jan 31 23:43:54 2010 +0200
2266 commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
2267 Author: Lasse Collin <lasse.collin@tukaani.org>
2268 Date: Sun Jan 31 23:41:29 2010 +0200
2272 commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
2273 Author: Lasse Collin <lasse.collin@tukaani.org>
2274 Date: Sun Jan 31 23:35:04 2010 +0200
2276 Mention TODO in README.
2278 commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
2279 Author: Lasse Collin <lasse.collin@tukaani.org>
2280 Date: Sun Jan 31 23:31:14 2010 +0200
2284 commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
2285 Author: Lasse Collin <lasse.collin@tukaani.org>
2286 Date: Sun Jan 31 23:28:51 2010 +0200
2288 Revise the Windows build files.
2290 The old Makefile + config.h was deleted, because it
2291 becomes outdated too easily and building with the
2292 Autotools based build system works fine even on Windows.
2294 windows/build.sh hasn't got much testing, but it should
2295 work to build 32-bit x86 and x86-64 versions of XZ Utils
2296 using MSYS, MinGW or MinGW-w32, and MinGW-w64.
2298 windows/INSTALL-Windows.txt describes what packages are
2299 needed and how to install them.
2301 windows/README-Windows.txt is a readme file for the binary
2302 package that build.sh hopefully builds.
2304 There are no instructions about using Autotools for now,
2305 so those using a git snapshot may want to run
2306 "autoreconf -fi && ./configure && make mydist" on a UN*X
2307 box and then copy the resulting .tar.gz to a Windows.
2309 commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
2310 Author: Lasse Collin <lasse.collin@tukaani.org>
2311 Date: Sun Jan 31 19:52:38 2010 +0200
2313 Select the default integrity check type at runtime.
2315 Previously it was set statically to CRC64 or CRC32
2316 depending on options passed to the configure script.
2318 commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
2319 Author: Lasse Collin <lasse.collin@tukaani.org>
2320 Date: Sun Jan 31 18:17:50 2010 +0200
2322 Improve displaying of the memory usage limit.
2324 commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
2325 Author: Lasse Collin <lasse.collin@tukaani.org>
2326 Date: Sun Jan 31 12:53:56 2010 +0200
2328 Don't use uninitialized sigset_t.
2330 If signal handlers haven't been established, then it's
2331 useless to try to block them, especially since the sigset_t
2332 used for blocking hasn't been initialized yet.
2334 commit 231c3c7098f1099a56abb8afece76fc9b8699f05
2335 Author: Lasse Collin <lasse.collin@tukaani.org>
2336 Date: Sun Jan 31 12:01:54 2010 +0200
2338 Delay opening the destionation file and other fixes.
2340 The opening of the destination file is now delayed a little.
2341 The coder is initialized, and if decompressing, the memory
2342 usage of the first Block compared against the memory
2343 usage limit before the destination file is opened. This
2344 means that if --force was used, the old "target" file won't
2345 be deleted so easily when something goes wrong very early.
2346 Thanks to Mark K for the bug report.
2348 The above fix required some changes to progress message
2349 handling. Now there is a separate function for setting and
2350 printing the filename. It is used also in list.c.
2352 list_file() now handles stdin correctly (gives an error).
2354 A useless check for user_abort was removed from file_io.c.
2356 commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
2357 Author: Lasse Collin <lasse.collin@tukaani.org>
2358 Date: Fri Jan 29 22:48:04 2010 +0200
2360 Add list.h to src/xz/Makefile.am.
2362 This should have been already in
2363 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
2365 commit b4b1a56e0cbd597157858264f5c7189201ac9018
2366 Author: Lasse Collin <lasse.collin@tukaani.org>
2367 Date: Fri Jan 29 13:24:27 2010 +0200
2369 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
2371 commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
2372 Author: Lasse Collin <lasse.collin@tukaani.org>
2373 Date: Wed Jan 27 16:42:11 2010 +0200
2375 Silence two compiler warnings on DOS-like systems.
2377 commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
2378 Author: Lasse Collin <lasse.collin@tukaani.org>
2379 Date: Wed Jan 27 13:31:03 2010 +0200
2381 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
2383 commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
2384 Author: Lasse Collin <lasse.collin@tukaani.org>
2385 Date: Tue Jan 26 23:37:46 2010 +0200
2387 Add a missing space to an error message.
2389 Thanks to Robert Readman.
2391 commit e5496f9628ff5979392a80421d0b63a4de8015b4
2392 Author: Lasse Collin <lasse.collin@tukaani.org>
2393 Date: Tue Jan 26 22:53:37 2010 +0200
2395 Use past tense in error message in io_unlink().
2397 Added a note to translators too.
2399 Thanks to Robert Readman.
2401 commit d9a9800597ea540090e434132c3b511217df0a2b
2402 Author: Lasse Collin <lasse.collin@tukaani.org>
2403 Date: Tue Jan 26 15:42:24 2010 +0200
2405 Fix too small static buffer in util.c.
2407 This was introduced in
2408 0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
2410 commit d0b4bbf5da068503c099cd456e294d7673548cc0
2411 Author: Lasse Collin <lasse.collin@tukaani.org>
2412 Date: Tue Jan 26 14:46:43 2010 +0200
2416 commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
2417 Author: Lasse Collin <lasse.collin@tukaani.org>
2418 Date: Sun Jan 24 23:50:54 2010 +0200
2420 Add initial version of xz --list.
2422 This is a bit rough but should be useful for basic things.
2423 Ideas (with detailed examples) about the output format are
2426 The output of --robot --list is not necessarily stable yet,
2427 although I don't currently have any plans about changing it.
2429 The man page hasn't been updated yet.
2431 commit df254ce03be016e217b511e7acd5d493f9929ca5
2432 Author: Lasse Collin <lasse.collin@tukaani.org>
2433 Date: Sun Jan 24 22:46:11 2010 +0200
2437 It will be used by --list.
2439 commit ef68dd4a92976276304de2aedfbe34ae91a86abb
2440 Author: Lasse Collin <lasse.collin@tukaani.org>
2441 Date: Sun Jan 24 22:45:14 2010 +0200
2443 Set LC_NUMERIC=C when --robot is used.
2445 It is to ensure that floating point numbers
2446 will always have a dot as the decimal separator.
2448 commit 0dd6d007669b946543ca939a44243833c79e08f4
2449 Author: Lasse Collin <lasse.collin@tukaani.org>
2450 Date: Sun Jan 24 16:57:40 2010 +0200
2452 Some improvements to printing sizes in xz.
2454 commit 2a98fdffd68c66371279c211c29153c808ad5c1d
2455 Author: Lasse Collin <lasse.collin@tukaani.org>
2456 Date: Wed Jan 20 22:02:35 2010 +0200
2458 Fix a typo in README.
2460 Thanks to R. Bijker.
2462 commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
2463 Author: Lasse Collin <lasse.collin@tukaani.org>
2464 Date: Sun Jan 17 11:59:54 2010 +0200
2466 Updated windows/Makefile.
2468 Thanks to Dan Shechter for the patch.
2470 It is likely that windows/Makefile will be removed
2471 completely, because Autotols based build nowadays
2472 works well with both 32-bit and 64-bit MinGW (I
2473 just need to update the docs).
2475 commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
2476 Author: Lasse Collin <lasse.collin@tukaani.org>
2477 Date: Fri Jan 15 11:05:11 2010 +0200
2479 Update the xz man page to match the previous two commits.
2481 commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
2482 Author: Lasse Collin <lasse.collin@tukaani.org>
2483 Date: Wed Jan 13 19:10:25 2010 +0200
2485 Don't read compressed data from a terminal or write it
2486 to a terminal even if --force is specified.
2488 It just seems more reasonable this way.
2490 The new behavior matches bzip2. The old one matched gzip.
2492 commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
2493 Author: Lasse Collin <lasse.collin@tukaani.org>
2494 Date: Wed Jan 13 18:12:40 2010 +0200
2496 Don't compress or decompress special files unless writing
2497 to stdout even if --force is used.
2499 --force will still enable compression of symlinks, but only
2500 in case they point to a regular file.
2502 The new way simply seems more reasonable. It matches gzip's
2503 behavior while the old one matched bzip2's behavior.
2505 commit cee12aa852ec0902983dc1f153346ef750157fb9
2506 Author: Lasse Collin <lasse.collin@tukaani.org>
2507 Date: Tue Jan 12 16:30:33 2010 +0200
2511 commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
2512 Author: Lasse Collin <lasse.collin@tukaani.org>
2513 Date: Tue Jan 12 16:18:14 2010 +0200
2515 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
2517 This is untested but it will get tested soon and, if needed,
2520 Thanks to Stuart Shelton.
2522 commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
2523 Author: Lasse Collin <lasse.collin@tukaani.org>
2524 Date: Fri Jan 1 00:29:10 2010 +0200
2526 Fix _memconfig() functions.
2528 This affects lzma_memusage() and lzma_memlimit_get().
2530 commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
2531 Author: Lasse Collin <lasse.collin@tukaani.org>
2532 Date: Thu Dec 31 22:45:53 2009 +0200
2534 Revised the Index handling code.
2536 This breaks API and ABI but most apps are not affected
2537 since most apps don't use this part of the API. You will
2538 get a compile error if you are using anything that got
2543 - Ability to store Stream Flags, which are needed
2544 for random-access reading in multi-Stream files.
2546 - Separate function to set size of Stream Padding.
2548 - Iterator structure makes it possible to read the same
2549 lzma_index from multiple threads at the same time.
2551 - A lot faster code to locate Blocks.
2553 - Removed lzma_index_equal() without adding anything
2554 to replace it. I don't know what it should do exactly
2555 with the new features and what actually needs this
2556 function in the first place other than test_index.c,
2557 which now has its own code to compare lzma_indexes.
2559 commit f29997a846e673cb3b8cbd57de47ed313b3978bb
2560 Author: Lasse Collin <lasse.collin@tukaani.org>
2561 Date: Thu Dec 31 21:13:25 2009 +0200
2563 Remove c-format tag in cs.po.
2565 It was fixed in the C code earlier.
2567 commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
2568 Author: Lasse Collin <lasse.collin@tukaani.org>
2569 Date: Thu Dec 31 21:11:05 2009 +0200
2571 Add missing lzma_nothrow in filter.h.
2573 commit b56cb1fc31fa2381f92eefc040df85667048d626
2574 Author: Lasse Collin <lasse.collin@tukaani.org>
2575 Date: Wed Dec 9 18:13:44 2009 +0200
2577 Remove redefinition of _(msgid) macro from lzmainfo.c.
2579 commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
2580 Author: Jonathan Nieder <jrnieder@gmail.com>
2581 Date: Tue Dec 8 19:41:57 2009 -0600
2583 update po/.gitignore
2585 Since the *.gmo files are deleted by the maintainer-clean target,
2586 I assume they are not meant to be tracked.
2588 Also add the other files listed in the Makefile’s clean targets
2589 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
2590 are not accidentally tracked. Most of these are intermediate
2591 files that would not appear unless a build is interrupted or
2594 Split the list of untracked files by origin to make it easier to
2595 tell if files are missing in the future.
2597 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2599 commit f7e44c6c11f630519072971b8b07a5729c096c36
2600 Author: Lasse Collin <lasse.collin@tukaani.org>
2601 Date: Wed Dec 9 00:38:55 2009 +0200
2603 Always rely on GCC's auto-import on Windows.
2605 I understood that this is nicer, because then people
2606 don't need to worry about the LZMA_API_STATIC macro.
2608 Thanks to Charles Wilson and Keith Marshall.
2610 commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
2611 Author: Lasse Collin <lasse.collin@tukaani.org>
2612 Date: Mon Dec 7 21:46:53 2009 +0200
2614 Fix file_io.c on DOS-like systems.
2616 The problem was introduced when adding sparse file
2617 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
2619 Thanks to Charles Wilson.
2621 commit 0696f5d268362221380e039bad48a86e29067c6a
2622 Author: Lasse Collin <lasse.collin@tukaani.org>
2623 Date: Mon Dec 7 20:54:21 2009 +0200
2625 Add Czech translation.
2627 Thanks to Marek Černocký.
2629 Other people planning to translate xz: Note that the
2630 messages are a little bit in flux still. Translations
2631 are still welcome, just be prepared to some extra work
2632 in case there are changes.
2634 commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
2635 Author: Lasse Collin <lasse.collin@tukaani.org>
2636 Date: Mon Dec 7 20:32:08 2009 +0200
2638 Add a note for translators to add a bug reporting address
2639 for translation bugs.
2641 commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
2642 Author: Lasse Collin <lasse.collin@tukaani.org>
2643 Date: Mon Dec 7 20:07:02 2009 +0200
2645 Prevent xgettext from taking one regular string as a C format string.
2647 Thanks to Marek Černocký.
2649 commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
2650 Author: Lasse Collin <lasse.collin@tukaani.org>
2651 Date: Sat Nov 28 17:45:22 2009 +0200
2653 Remove duplicate code in io_open_dest().
2655 Fix a missing _() in the error message too.
2657 commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
2658 Author: Lasse Collin <lasse.collin@tukaani.org>
2659 Date: Thu Nov 26 10:11:23 2009 +0200
2661 Typo fix to sysdefs.h.
2663 Thanks to Jonathan Nieder.
2665 commit 8767b41534eafdf5e742e12190646bf5740b0cdb
2666 Author: Lasse Collin <lasse.collin@tukaani.org>
2667 Date: Thu Nov 26 10:10:36 2009 +0200
2669 Fix a memory leak in test_index.c.
2671 This was introduced in
2672 bd13b04e202b6f495a68eb0766f97085b7c50a06.
2674 Thanks to Jim Meyering for noticing it.
2676 commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
2677 Author: Lasse Collin <lasse.collin@tukaani.org>
2678 Date: Wed Nov 25 14:22:19 2009 +0200
2680 Add missing error check to coder.c.
2682 With bad luck this could cause a segfault due to
2683 reading (but not writing) past the end of the buffer.
2685 commit bd13b04e202b6f495a68eb0766f97085b7c50a06
2686 Author: Lasse Collin <lasse.collin@tukaani.org>
2687 Date: Wed Nov 25 13:04:10 2009 +0200
2689 Fix bugs in lzma_index_read() and lzma_index_cat().
2691 lzma_index_read() didn't skip over Stream Padding
2692 if it was the first record in the Index.
2694 lzma_index_cat() didn't combine small Indexes correctly.
2696 The test suite was updated to check for these bugs.
2698 These bugs didn't affect the xz command line tool or
2699 most users of liblzma in any way.
2701 commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
2702 Author: Lasse Collin <lasse.collin@tukaani.org>
2703 Date: Wed Nov 25 12:52:56 2009 +0200
2705 Index decoder fixes.
2707 The Index decoder code didn't perfectly match the API docs,
2708 which said that *i will be set to point to the decoded Index
2709 only after decoding has succeeded. The docs were a bit unclear
2712 Now the decoder will initially set *i to NULL. *i will be set
2713 to point to the decoded Index once decoding has succeeded.
2714 This simplifies applications too, since it avoids dangling
2717 commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
2718 Author: Lasse Collin <lasse.collin@tukaani.org>
2719 Date: Wed Nov 25 11:19:20 2009 +0200
2721 Create sparse files by default when decompressing into
2724 Sparse file creation can be disabled with --no-sparse.
2725 I don't promise yet that the name of this option won't
2726 change before 5.0.0. It's possible that the code, that
2727 checks when it is safe to use sparse output on stdout,
2728 is not good enough, and a more flexible command line
2729 option is needed to configure sparse file handling.
2731 commit 37de544414fc2dc5039471d1002ebd015eb3e627
2732 Author: Lasse Collin <lasse.collin@tukaani.org>
2733 Date: Sun Nov 22 12:43:06 2009 +0200
2737 commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
2738 Author: Lasse Collin <lasse.collin@tukaani.org>
2739 Date: Sun Nov 22 12:05:33 2009 +0200
2741 Add missing consts to pointer casts.
2743 commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
2744 Author: Lasse Collin <lasse.collin@tukaani.org>
2745 Date: Sun Nov 22 12:00:30 2009 +0200
2747 Enable assembler code only if it is known to work
2748 on that operating system.
2750 I'm too lazy to think how to make a good Autoconf test
2751 for this and it's not that important anyway.
2753 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
2754 Inline assembler (if any) is used if a macro like
2755 __i386__ or __x86_64__ is defined.
2757 commit 0733f4c9994db696420a405810d5f02c79ebc404
2758 Author: Lasse Collin <lasse.collin@tukaani.org>
2759 Date: Sun Nov 22 11:55:03 2009 +0200
2761 Make fastpos.h use tuklib_integer.h instead of bsr.h
2762 when --enable-small has been specified.
2764 commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
2765 Author: Lasse Collin <lasse.collin@tukaani.org>
2766 Date: Sun Nov 22 11:52:30 2009 +0200
2768 Update tuklib_integer.h with bit scan functions.
2770 Thanks to Joachim Henke for the original patch.
2772 commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
2773 Author: Lasse Collin <lasse.collin@tukaani.org>
2774 Date: Fri Nov 20 12:51:19 2009 +0200
2776 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
2777 which now use AC_CACHE_CHECK. Using the cache variable,
2778 configure now warns if there is no method to detect the amount
2779 of RAM and recommends using --enable-assume-ram.
2781 commit d315ca4930ff96e1428c6021c96f209e1abdd83e
2782 Author: Lasse Collin <lasse.collin@tukaani.org>
2783 Date: Mon Nov 16 18:16:45 2009 +0200
2785 Add support for --info-memory and --robot to xz.
2787 Currently --robot works only with --info-memory and
2788 --version. --help and --long-help work too, but --robot
2789 has no effect on them.
2791 Thanks to Jonathan Nieder for the original patches.
2793 commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
2794 Author: Lasse Collin <lasse.collin@tukaani.org>
2795 Date: Sun Nov 15 12:54:45 2009 +0200
2797 Fix wrong indentation caused by incorrect settings
2800 commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
2801 Author: Lasse Collin <lasse.collin@tukaani.org>
2802 Date: Sun Nov 15 12:40:17 2009 +0200
2806 I had hoped to keep liblzma as purely a compression
2807 library as possible (e.g. file I/O will go into
2808 a different library), but it seems that applications
2809 linking agaisnt liblzma need some way to determine
2810 the memory usage limit, and knowing the amount of RAM
2811 is one reasonable way to help making such decisions.
2813 Thanks to Jonathan Nieder for the original patch.
2815 commit cf39faca59083d38422058c6c97aa757ea7797d0
2816 Author: Lasse Collin <lasse.collin@tukaani.org>
2817 Date: Sat Nov 14 20:21:19 2009 +0200
2821 commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
2822 Author: Lasse Collin <lasse.collin@tukaani.org>
2823 Date: Sat Nov 14 20:20:03 2009 +0200
2825 Some updates to xz man page.
2827 commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
2828 Author: Lasse Collin <lasse.collin@tukaani.org>
2829 Date: Sat Nov 14 19:51:03 2009 +0200
2831 Fix description of --memory in --long-help.
2833 commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
2834 Author: Lasse Collin <lasse.collin@tukaani.org>
2835 Date: Sat Nov 14 19:45:39 2009 +0200
2837 Update the debug programs so that they compile again.
2839 commit 418d64a32e8144210f98a810738fed5a897e8367
2840 Author: Lasse Collin <lasse.collin@tukaani.org>
2841 Date: Sat Nov 14 18:59:19 2009 +0200
2843 Fix a design error in liblzma API.
2845 Originally the idea was that using LZMA_FULL_FLUSH
2846 with Stream encoder would read the filter chain
2847 from the same array that was used to intialize the
2848 Stream encoder. Since most apps wouldn't use
2849 LZMA_FULL_FLUSH, most apps wouldn't need to keep
2850 the filter chain available after initializing the
2851 Stream encoder. However, due to my mistake, it
2852 actually required keeping the array always available.
2854 Since setting the new filter chain via the array
2855 used at initialization time is not a nice way to do
2856 it for a couple of reasons, this commit ditches it
2857 and introduces lzma_filters_update(). This new function
2858 replaces also the "persistent" flag used by LZMA2
2859 (and to-be-designed Subblock filter), which was also
2860 an ugly thing to do.
2862 Thanks to Alexey Tourbin for reminding me about the problem
2863 that Stream encoder used to require keeping the filter
2866 commit f0bf7634b77263a4dd02b20c71861ab67995da68
2867 Author: Lasse Collin <lasse.collin@tukaani.org>
2868 Date: Sat Oct 17 11:11:58 2009 +0300
2870 Fix wrong function name in the previous commit.
2872 It was meant to be lzma_filters_copy(), not lzma_filters_dup().
2874 commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
2875 Author: Lasse Collin <lasse.collin@tukaani.org>
2876 Date: Sat Oct 17 01:47:07 2009 +0300
2878 Add lzma_filters_copy().
2880 This will be needed internally by liblzma once I fix
2881 a design mistake in the encoder API. This function may
2882 be useful to applications too so it's good to export it.
2884 commit 78e92c18470483e161388e679c1ee556adb3a691
2885 Author: Jonathan Nieder <jrnieder@gmail.com>
2886 Date: Thu Oct 15 20:44:13 2009 -0500
2888 Escape dashes in xzmore.1
2890 A minus sign is larger, easier to see in a printout, and more
2891 likely to use the same glyph as ASCII hyphen-minus in a terminal
2892 than a hyphen. Since broken manual pagers do not find hyphens
2893 when the user searches for a hyphen-minus, minus signs are also
2894 easier to search for. So use minus signs instead of hyphens to
2895 render sample terminal output.
2897 commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
2898 Author: Lasse Collin <lasse.collin@tukaani.org>
2899 Date: Fri Oct 16 20:35:39 2009 +0300
2901 Mention --check=none in --long-help. It was already in
2902 the man page though.
2904 Thanks to Jim Meyering for noticing this.
2906 commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
2907 Author: Lasse Collin <lasse.collin@tukaani.org>
2908 Date: Sun Oct 4 22:57:12 2009 +0300
2910 Use a tuklib module for integer handling.
2912 This replaces bswap.h and integer.h.
2914 The tuklib module uses <byteswap.h> on GNU,
2915 <sys/endian.h> on *BSDs and <sys/byteorder.h>
2916 on Solaris, which may contain optimized code
2917 like inline assembly.
2919 commit 29fd321033276261b87da7be5223db33d879a4c7
2920 Author: Lasse Collin <lasse.collin@tukaani.org>
2921 Date: Fri Oct 2 14:35:56 2009 +0300
2923 Add support for --enable-assume-ram=SIZE.
2925 commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
2926 Author: Lasse Collin <lasse.collin@tukaani.org>
2927 Date: Fri Oct 2 11:28:17 2009 +0300
2929 Use unaligned access (if possible) on both endiannesses
2930 in lz_encoder_hash.h.
2932 commit c5f68b5cc79085a87f950fea53843e27f328068e
2933 Author: Lasse Collin <lasse.collin@tukaani.org>
2934 Date: Fri Oct 2 11:03:26 2009 +0300
2936 Make liblzma produce the same output on both endiannesses.
2938 Seems that it is a problem in some cases if the same
2939 version of XZ Utils produces different output on different
2940 endiannesses, so this commit fixes that problem. The output
2941 will still vary between different XZ Utils versions, but I
2942 cannot avoid that for now.
2944 This commit bloatens the code on big endian systems by 1 KiB,
2945 which should be OK since liblzma is bloated already. ;-)
2947 commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
2948 Author: Mike Frysinger <vapier@gentoo.org>
2949 Date: Sat Sep 26 12:51:50 2009 -0400
2951 add lzmainfo to gitignore
2953 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2955 commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
2956 Author: Lasse Collin <lasse.collin@tukaani.org>
2957 Date: Sun Sep 27 11:53:36 2009 +0300
2961 commit db9119b9181b307e7ac5d2bae82444d04b902b59
2962 Author: Lasse Collin <lasse.collin@tukaani.org>
2963 Date: Sun Sep 27 11:48:54 2009 +0300
2965 Work around a bug in Interix header files.
2967 Thanks to Markus Duft for the patch.
2969 commit b3d105e69786a45963176fd2193abe75e05ba738
2970 Author: Lasse Collin <lasse.collin@tukaani.org>
2971 Date: Thu Sep 24 17:50:17 2009 +0300
2973 Fix an error in OpenVMS-specific code.
2975 Thanks to Jouk Jansen.
2977 commit 5e000ff00d4d01e559397b49eb648ad3f159d496
2978 Author: Lasse Collin <lasse.collin@tukaani.org>
2979 Date: Tue Sep 22 18:59:56 2009 +0300
2981 Added OpenVMS-specific information to INSTALL.
2983 commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
2984 Author: Lasse Collin <lasse.collin@tukaani.org>
2985 Date: Tue Sep 22 14:03:02 2009 +0300
2987 Better fixes for OpenVMS support.
2989 Thanks to Jouk Jansen.
2991 commit 4c3630ec4179fe9265407a35c4db1374ffc82372
2992 Author: Lasse Collin <lasse.collin@tukaani.org>
2993 Date: Tue Sep 22 13:40:19 2009 +0300
2995 Avoid non-standard preprocessor construct.
2997 Thanks to Jouk Jansen.
2999 commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
3000 Author: Lasse Collin <lasse.collin@tukaani.org>
3001 Date: Mon Sep 21 19:50:09 2009 +0300
3003 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
3005 Thanks to Charles Wilson.
3007 commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
3008 Author: Lasse Collin <lasse.collin@tukaani.org>
3009 Date: Sat Sep 19 09:47:30 2009 +0300
3013 Separate a few reusable components from XZ Utils specific
3014 code. The reusable code is now in "tuklib" modules. A few
3015 more could be separated still, e.g. bswap.h.
3017 Fix some bugs in lzmainfo.
3019 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
3022 Add OpenVMS support into physmem. Add a few #ifdefs to ease
3023 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
3026 commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
3027 Author: Lasse Collin <lasse.collin@tukaani.org>
3028 Date: Tue Sep 15 21:07:23 2009 +0300
3030 Fix incorrect use of "restrict".
3032 commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
3033 Author: Lasse Collin <lasse.collin@tukaani.org>
3034 Date: Sat Sep 12 14:09:17 2009 +0300
3036 Fix GCC version check for nothrow attribute.
3038 commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
3039 Author: Lasse Collin <lasse.collin@tukaani.org>
3040 Date: Sat Sep 12 14:08:15 2009 +0300
3044 commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
3045 Author: Lasse Collin <lasse.collin@tukaani.org>
3046 Date: Sat Sep 12 14:07:36 2009 +0300
3048 A few grammar fixes.
3050 Thanks to Christian Weisgerber for pointing out some of these.
3052 commit 8905a33daadcd2d6557c83c81c490b827d566c94
3053 Author: Lasse Collin <lasse.collin@tukaani.org>
3054 Date: Fri Sep 11 17:08:15 2009 +0300
3058 commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
3059 Author: Lasse Collin <lasse.collin@tukaani.org>
3060 Date: Fri Sep 11 17:06:32 2009 +0300
3062 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
3064 commit 221be761f467da76875247bc02d7a1716682075d
3065 Author: Lasse Collin <lasse.collin@tukaani.org>
3066 Date: Fri Sep 11 10:24:09 2009 +0300
3068 Use $(LN_EXEEXT) in symlinks to executables.
3070 This fixes "make install" on operating systems using
3071 a suffix for executables.
3073 Cygwin is treated specially. The symlink names won't have
3074 .exe suffix even though the executables themselves have.
3075 Thanks to Charles Wilson.
3077 commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
3078 Author: Lasse Collin <lasse.collin@tukaani.org>
3079 Date: Fri Sep 11 09:25:09 2009 +0300
3081 Fix a couple of warnings.
3083 commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
3084 Author: Lasse Collin <lasse.collin@tukaani.org>
3085 Date: Sat Sep 5 18:39:21 2009 +0300
3087 Add OS/2-specific code to physmem.h.
3089 Also move DJGPP-specific code near the code meant
3090 for other DOS-like systems.
3092 commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
3093 Author: Lasse Collin <lasse.collin@tukaani.org>
3094 Date: Sat Sep 5 01:21:15 2009 +0300
3098 commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
3099 Author: Lasse Collin <lasse.collin@tukaani.org>
3100 Date: Sat Sep 5 01:20:29 2009 +0300
3102 Use sysctl() != -1 instead of !sysctl() to check if
3103 the function call succeeded.
3105 NetBSD 4.0 returns positive values on success, but
3106 NetBSD Current and FreeBSD return zero. OpenBSD's
3107 man page doesn't tell what sysctl() returns on
3108 success. All these BSDs return -1 on error.
3110 Thanks to Robert Elz and Thomas Klausner.
3112 commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
3113 Author: Lasse Collin <lasse.collin@tukaani.org>
3114 Date: Wed Sep 2 09:43:51 2009 +0300
3116 Mention in INSTALL that --enable-small doesn't modify CFLAGS.
3118 commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
3119 Author: Lasse Collin <lasse.collin@tukaani.org>
3120 Date: Tue Sep 1 20:40:01 2009 +0300
3122 Refactored option parsing.
3124 commit 25adaaa56e2e51a47a910a8d73452414619a2e53
3125 Author: Lasse Collin <lasse.collin@tukaani.org>
3126 Date: Tue Sep 1 20:23:30 2009 +0300
3128 Fix options parsing bug in xz.
3130 xz used to reject "xz --lzma2=pb=2," while
3131 "xz --lzma2=pb=2,," worked. Now both work.
3133 commit 5f6dddc6c911df02ba660564e78e6de80947c947
3134 Author: Lasse Collin <lasse.collin@tukaani.org>
3135 Date: Tue Sep 1 20:20:19 2009 +0300
3139 commit 655457b9ada5ec7db398c5392e41290f3f332ea8
3140 Author: Lasse Collin <lasse.collin@tukaani.org>
3141 Date: Mon Aug 31 21:59:25 2009 +0300
3143 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3144 and use a fix that works on all systems using
3147 Maybe the assembler code is used e.g. on Solaris x86
3148 but let's worry about it if this doesn't work on it.
3150 commit 162189c3477953805a28f96d3a75cb9ab9417928
3151 Author: Lasse Collin <lasse.collin@tukaani.org>
3152 Date: Sun Aug 30 17:29:19 2009 +0300
3156 commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
3157 Author: Lasse Collin <lasse.collin@tukaani.org>
3158 Date: Sun Aug 30 17:28:52 2009 +0300
3160 Add more OS/2 specific info to INSTALL.
3162 commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
3163 Author: Lasse Collin <lasse.collin@tukaani.org>
3164 Date: Sat Aug 29 14:43:52 2009 +0300
3166 Use even more hackish way to support thousand separators.
3168 Seems that in addition on Windows and DOS, also OpenBSD
3169 lacks support for %'d style printf() format strings.
3170 So far that is the only modern POSIX-like system I know
3171 with this problem, but after this hack, the thousand
3172 separator shouldn't be a problem on any system.
3174 Maybe testing if a format string like %'d produces
3175 reasonable output is invoking undefined behavior on some
3176 systems, but so far all the problematic systems I've tried
3177 just print the raw format string (e.g. %'d prints 'd).
3179 Maybe Autoconf test would have been better, but this
3180 hack works also for cross-compilation, and avoids
3181 recompilation in case the system libc starts to support
3182 the thousand separator.
3184 commit 3432e9c6aab851da1227b63dce645d7f190c04d8
3185 Author: Lasse Collin <lasse.collin@tukaani.org>
3186 Date: Sat Aug 29 13:42:56 2009 +0300
3190 commit 27414daadf5727e8ab942374b5ec1c8990122878
3191 Author: Lasse Collin <lasse.collin@tukaani.org>
3192 Date: Sat Aug 29 13:39:21 2009 +0300
3196 This fixes build on *BSDs and Darwin.
3198 Thanks to Jukka Salmi for the patches.
3199 Richard Koch reported the problem too.
3201 commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3202 Author: Lasse Collin <lasse.collin@tukaani.org>
3203 Date: Sat Aug 29 13:35:23 2009 +0300
3205 Fix x86 assembler on GCC 3.
3207 Thanks to Karl Berry.
3209 commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
3210 Author: Lasse Collin <lasse.collin@tukaani.org>
3211 Date: Thu Aug 27 18:36:59 2009 +0300
3215 commit c8c184db1c95bf70f78256ec6237845a57f342af
3216 Author: Lasse Collin <lasse.collin@tukaani.org>
3217 Date: Thu Aug 27 17:08:33 2009 +0300
3219 Update xz man page date.
3221 commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
3222 Author: Lasse Collin <lasse.collin@tukaani.org>
3223 Date: Thu Aug 27 17:00:22 2009 +0300
3225 Fix the debug directory.
3227 6a2eb54092fc625d59921a607ff68cd1a90aa898 and
3228 71f18e8a066a01dda0c8e5508b135ef104e43e4c required
3229 some changes that weren't applied in debug.
3231 commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
3232 Author: Lasse Collin <lasse.collin@tukaani.org>
3233 Date: Thu Aug 27 16:36:40 2009 +0300
3235 Add missing files to EXTRA_DIST.
3237 commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
3238 Author: Lasse Collin <lasse.collin@tukaani.org>
3239 Date: Thu Aug 27 16:21:22 2009 +0300
3241 Bumped version to 4.999.9beta.
3243 commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
3244 Author: Lasse Collin <lasse.collin@tukaani.org>
3245 Date: Thu Aug 27 16:17:47 2009 +0300
3249 commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
3250 Author: Lasse Collin <lasse.collin@tukaani.org>
3251 Date: Thu Aug 27 16:12:52 2009 +0300
3253 .xz file format specification 1.0.4 (probably).
3255 Thanks to Christian von Roques, Peter Lawler,
3256 and Jim Meyering for the fixes.
3258 commit 696d7ee3953beaf4f0ed18e78917ccf300431966
3259 Author: Lasse Collin <lasse.collin@tukaani.org>
3260 Date: Thu Aug 27 15:43:54 2009 +0300
3262 Require GNU libtool 2.2.
3264 commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
3265 Author: Lasse Collin <lasse.collin@tukaani.org>
3266 Date: Thu Aug 27 15:34:45 2009 +0300
3268 Add "dos" to EXTRA_DIST.
3270 commit 35b29e4424ced5a3ababf132283e519080c7b298
3271 Author: Lasse Collin <lasse.collin@tukaani.org>
3272 Date: Thu Aug 27 15:23:27 2009 +0300
3276 commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
3277 Author: Lasse Collin <lasse.collin@tukaani.org>
3278 Date: Thu Aug 27 15:17:00 2009 +0300
3280 Some xz man page improvements.
3282 commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
3283 Author: Lasse Collin <lasse.collin@tukaani.org>
3284 Date: Thu Aug 27 10:41:01 2009 +0300
3286 Removed doc/bugs.txt.
3288 commit d88c4072b36d3a76f839185799fb1d91037a1b81
3289 Author: Lasse Collin <lasse.collin@tukaani.org>
3290 Date: Thu Aug 27 10:40:25 2009 +0300
3294 It now includes bug reporting instructions/tips.
3296 commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
3297 Author: Lasse Collin <lasse.collin@tukaani.org>
3298 Date: Thu Aug 27 10:21:18 2009 +0300
3302 Thanks to Jim Meyering.
3304 (From now on, I try to always remember to put
3305 the relevant thanks to commit messages.)
3307 commit 3e2ba8b58585743e59251e69ad2783eb08357079
3308 Author: Lasse Collin <lasse.collin@tukaani.org>
3309 Date: Thu Aug 27 10:13:46 2009 +0300
3311 Updates to liblzma API headers.
3313 Added lzma_nothrow for every function. It adds
3314 throw() when the header is used in C++ code.
3316 Some lzma_attrs were added or removed.
3318 Lots of comments were improved.
3320 commit 8e8ebc17c535a1f8846718059b48417409c37050
3321 Author: Lasse Collin <lasse.collin@tukaani.org>
3322 Date: Tue Aug 18 00:30:09 2009 +0300
3326 commit b198e770a146e4a41f91a93f0b233713f2515848
3327 Author: Lasse Collin <lasse.collin@tukaani.org>
3328 Date: Tue Aug 18 00:26:48 2009 +0300
3332 Some questions worth answering were removed, because I
3333 currently don't have good up to date answers to them.
3335 commit fe111a25cd788d31b581996e4533910388a7f0a9
3336 Author: Lasse Collin <lasse.collin@tukaani.org>
3337 Date: Mon Aug 17 22:45:50 2009 +0300
3339 Some xz man changes.
3341 commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
3342 Author: Lasse Collin <lasse.collin@tukaani.org>
3343 Date: Sun Aug 16 22:15:42 2009 +0300
3347 commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
3348 Author: Lasse Collin <lasse.collin@tukaani.org>
3349 Date: Sun Aug 16 22:15:13 2009 +0300
3351 Fix data corruption in LZ/LZMA2 encoder.
3353 Thanks to Jonathan Stott for the bug report.
3355 commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
3356 Author: Lasse Collin <lasse.collin@tukaani.org>
3357 Date: Thu Aug 13 15:15:37 2009 +0300
3359 Updated INSTALL and PACKAGERS to match the changes
3360 made in --enable-dynamic.
3362 commit 8238c4b2402f952c4e492e5b778aa272e57b6705
3363 Author: Lasse Collin <lasse.collin@tukaani.org>
3364 Date: Thu Aug 13 15:03:46 2009 +0300
3366 Link lzmainfo against shared liblzma by default.
3368 commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
3369 Author: Lasse Collin <lasse.collin@tukaani.org>
3370 Date: Thu Aug 13 15:00:21 2009 +0300
3372 Make --enable-dynamic a tristate option.
3374 Some programs will by default be linked against static
3375 liblzma and some against shared liblzma. --enable-dynamic
3376 now allows overriding the default to both directions
3377 (all dynamic or all static) even when building both
3378 shared and static liblzma.
3380 This is quite messy compared to how simple thing it is supposed
3381 to be. The complexity is mostly due to Windows support.
3383 commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
3384 Author: Lasse Collin <lasse.collin@tukaani.org>
3385 Date: Thu Aug 13 12:56:47 2009 +0300
3387 Fix xz Makefile.am for the man page.
3389 install-exec-hook -> install-data-hook
3391 commit e51b4e49e800bd84e6d589dca2964d3985e88139
3392 Author: Lasse Collin <lasse.collin@tukaani.org>
3393 Date: Thu Aug 13 12:55:45 2009 +0300
3395 Add lzmainfo for backward compatibility with LZMA Utils.
3397 lzmainfo now links against static liblzma. In contrast
3398 to other command line tools in XZ Utils, linking lzmainfo
3399 against static liblzma by default is dumb. This will be
3400 fixed once I have fixed some related issues in configure.ac.
3402 commit a4165d0584376d948c213ec93c6065d24ff6a5e7
3403 Author: Lasse Collin <lasse.collin@tukaani.org>
3404 Date: Thu Aug 13 12:42:36 2009 +0300
3406 Sync some error messages from xz to xzdec.
3408 Make xz error message translation usable outside
3409 xz (at least in upcoming lzmainfo).
3411 commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
3412 Author: Lasse Collin <lasse.collin@tukaani.org>
3413 Date: Thu Aug 13 09:37:21 2009 +0300
3415 Add xz man page to manfiles in toplevel Makefile.am.
3417 commit 180bdf58ea5bb07941e0a99b304d9aa832198748
3418 Author: Lasse Collin <lasse.collin@tukaani.org>
3419 Date: Thu Aug 13 09:37:01 2009 +0300
3421 Fix first line of xz man page.
3423 commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
3424 Author: Lasse Collin <lasse.collin@tukaani.org>
3425 Date: Mon Aug 10 11:22:31 2009 +0300
3427 Added a rough version of the xz man page.
3429 commit e71903fc6101f1c039d702e335b08aad1e1b4100
3430 Author: Jonathan Nieder <jrnieder@gmail.com>
3431 Date: Sun Aug 9 13:41:20 2009 -0500
3433 “xzdiff a.xz b.xz” always fails
3435 Attempts to compare two compressed files result in no output and
3438 Instead of going to standard output, ‘diff’ output is being
3439 captured in the xz_status variable along with the exit status from
3440 the decompression commands. Later, when this variable is examined
3441 for nonzero status codes, numerals from dates in the ‘diff’ output
3442 make it appear as though decompression failed.
3444 So let the ‘diff’ output leak to standard output with another file
3445 descriptor. (This trick is used in all similar contexts elsewhere
3446 in xzdiff and in the analogous context in gzip’s zdiff script.)
3448 commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
3449 Author: Jonathan Nieder <jrnieder@gmail.com>
3450 Date: Sun Aug 9 13:22:12 2009 -0500
3452 xzless: Support compressed standard input
3454 It can be somewhat confusing that
3456 less < some_file.txt
3460 xzless < some_file.txt.xz
3462 does not. Since version 429, ‘less’ allows a filter specified in
3463 the LESSOPEN environment variable to preprocess its input even if
3464 it comes from standard input, if $LESSOPEN begins with ‘|-’. So
3465 set $LESSOPEN to take advantage of this feature.
3467 Check less’s version at runtime so xzless can continue to work
3468 with older versions.
3470 commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
3471 Author: Lasse Collin <lasse.collin@tukaani.org>
3472 Date: Sun Aug 9 20:57:46 2009 +0300
3474 GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
3476 commit b735cde20cc14857136ae65a0e5d336ed7ddc862
3477 Author: Lasse Collin <lasse.collin@tukaani.org>
3478 Date: Sun Aug 2 00:27:29 2009 +0300
3480 Added a copyright notice to Doxyfile.in since it contains
3481 lots of comments from Doxygen.
3483 It seems that the Doxygen authors' intent is to not apply
3484 their copyright on generated files, but since it doesn't
3485 matter for XZ Utils at all, better safe than sorry.
3487 commit 0fd157cc008446adfc8f91394f5503868025a642
3488 Author: Lasse Collin <lasse.collin@tukaani.org>
3489 Date: Sun Aug 2 00:11:37 2009 +0300
3493 commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
3494 Author: Lasse Collin <lasse.collin@tukaani.org>
3495 Date: Sun Aug 2 00:10:22 2009 +0300
3499 commit 669413bb2db954bbfde3c4542fddbbab53891eb4
3500 Author: Lasse Collin <lasse.collin@tukaani.org>
3501 Date: Thu Jul 30 12:25:55 2009 +0300
3505 commit dbbd8fb870ae789d96497911006c869d37148c15
3506 Author: Jonathan Nieder <jrnieder@gmail.com>
3507 Date: Tue Jul 28 17:37:24 2009 -0500
3509 xzdiff: add missing ;; to case statement
3511 commit adbad2d16cb5909f85d4a429011005613ea62ffe
3512 Author: Lasse Collin <lasse.collin@tukaani.org>
3513 Date: Fri Jul 24 13:15:06 2009 +0300
3515 Added history.txt to doc_DATA.
3517 commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
3518 Author: Lasse Collin <lasse.collin@tukaani.org>
3519 Date: Fri Jul 24 12:00:40 2009 +0300
3521 Updated .gitignore files.
3523 commit 2f34fb269265e3aba43a2a9c734020a45268826d
3524 Author: Lasse Collin <lasse.collin@tukaani.org>
3525 Date: Fri Jul 24 11:34:02 2009 +0300
3527 Minor improvements to COPYING.
3529 commit 0db1befcfbc120377df4b89923762f16d25f548a
3530 Author: Lasse Collin <lasse.collin@tukaani.org>
3531 Date: Thu Jul 23 19:10:55 2009 +0300
3533 Fix incorrect usage of getopt_long(), which caused
3534 invalid memory access if XZ_OPT was defined.
3536 commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
3537 Author: Lasse Collin <lasse.collin@tukaani.org>
3538 Date: Mon Jul 20 15:43:32 2009 +0300
3540 Avoid internal error with --format=xz --lzma1.
3542 commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
3543 Author: Lasse Collin <lasse.collin@tukaani.org>
3544 Date: Sun Jul 19 13:14:20 2009 +0300
3546 Major documentation update.
3548 Installation and packaging instructions were added.
3549 README and other generic docs were revised.
3551 Some of the documentation files are now installed to $docdir.
3553 commit ef4cf1851de89022cba5674784f1a8f6343c15b0
3554 Author: Lasse Collin <lasse.collin@tukaani.org>
3555 Date: Sun Jul 19 11:09:31 2009 +0300
3557 Added missing author notice to xzless.in.
3559 commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
3560 Author: Lasse Collin <lasse.collin@tukaani.org>
3561 Date: Sat Jul 18 18:54:55 2009 +0300
3563 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
3566 Fixed a related bug in the toplevel Makefile.am.
3568 Added the build-aux directory to .gitignore.
3570 commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
3571 Author: Lasse Collin <lasse.collin@tukaani.org>
3572 Date: Sat Jul 18 14:34:08 2009 +0300
3574 Updated the totally outdated TODO file.
3576 commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
3577 Author: Lasse Collin <lasse.collin@tukaani.org>
3578 Date: Sat Jul 18 11:26:39 2009 +0300
3580 Added public domain notice into a few files.
3582 commit a35755c5de808df027675688855d1b621a4fb428
3583 Author: Lasse Collin <lasse.collin@tukaani.org>
3584 Date: Tue Jul 14 21:10:36 2009 +0300
3586 Allow extra commas in filter-specific options on xz command line.
3588 This may slightly ease writing scripts that construct
3589 filter-specific option strings dynamically.
3591 commit 98f3cac1ad31191c5160a7e48398bf85141e941c
3592 Author: Lasse Collin <lasse.collin@tukaani.org>
3593 Date: Tue Jul 14 18:04:31 2009 +0300
3595 Accept --lzma2=preset=6e where "e" is equivalent to --extreme
3596 when no custom chain is in use.
3598 commit d873a09e956363e54bf58c577c8f7e487b6fb464
3599 Author: Lasse Collin <lasse.collin@tukaani.org>
3600 Date: Sun Jul 12 19:08:30 2009 +0300
3602 Add dist-hook to create ChangeLog from the commit log,
3603 and to conver the man pages to PDF and plain text, which
3604 may be convenient to those who cannot render man pages.
3606 commit cd69a5a6c16c289f6f8e2823b03c72289472270f
3607 Author: Lasse Collin <lasse.collin@tukaani.org>
3608 Date: Fri Jul 10 11:39:38 2009 +0300
3610 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
3612 This is a quick and slightly dirty fix to make the code
3613 conform to the latest file format specification. Without
3614 this patch, it's possible to make corrupt files by
3615 specifying start offset that is not a multiple of the
3616 filter's alignment. Custom start offset is almost never
3617 used, so this was only a minor bug.
3619 The xz command line tool doesn't validate the start offset,
3620 so one will get a bit unclear error message if trying to use
3621 an invalid start offset.
3623 commit eed9953732b801f6c97317fb3160445a8754180b
3624 Author: Lasse Collin <lasse.collin@tukaani.org>
3625 Date: Fri Jul 10 11:33:21 2009 +0300
3627 Look for full command names instead of substrings
3628 like "un", "cat", and "lz" when determining if
3629 xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
3631 This is to ensure that if xz is renamed (e.g. via
3632 --program-transform-name), it doesn't so easily
3635 commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
3636 Author: Lasse Collin <lasse.collin@tukaani.org>
3637 Date: Wed Jul 8 23:06:46 2009 +0300
3641 commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
3642 Author: Lasse Collin <lasse.collin@tukaani.org>
3643 Date: Wed Jul 8 23:05:29 2009 +0300
3645 Portability improvement to version.sh.
3647 commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
3648 Author: Lasse Collin <lasse.collin@tukaani.org>
3649 Date: Wed Jul 8 22:50:16 2009 +0300
3651 Remove --force from xzdec.
3653 It was ignored for compatibility with xz, but now that
3654 --decompress --stdout --force copies unrecognized files
3655 as is to stdout, simply ignoring --force in xzdec would
3656 be wrong. xzdec will not support copying unrecognized
3657 data as is to stdout, so it cannot support --force.
3659 commit 5f16ef4abf220028a9ddbcb138217597a9455f62
3660 Author: Lasse Collin <lasse.collin@tukaani.org>
3661 Date: Mon Jul 6 10:36:04 2009 +0300
3663 Use sed instead of $(SED) so that we don't need to
3664 use AC_PROG_SED. We don't do anything fancy with sed,
3665 so this should work OK. libtool 2.2 sets SED but 1.5
3666 doesn't, so $(SED) happened to work when using libtool 2.2.
3668 commit 96e4b257e101d72072d43e144897d92920270669
3669 Author: Lasse Collin <lasse.collin@tukaani.org>
3670 Date: Sun Jul 5 22:25:17 2009 +0300
3672 Major update to the xzgrep and other scripts based on
3673 the latest versions found from gzip CVS repository.
3675 configure will try to find a POSIX shell to be used by
3676 the scripts. This should ease portability on systems
3677 which have pre-POSIX /bin/sh.
3679 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
3680 xzmore and xzless support only .xz and .lzma files.
3682 The name of the xz executable used in these scripts is
3683 now correct even if --program-transform-name has been used.
3685 commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
3686 Author: Lasse Collin <lasse.collin@tukaani.org>
3687 Date: Sun Jul 5 19:26:53 2009 +0300
3689 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
3691 commit 18c10c30d2833f394cd7bce0e6a821044b15832f
3692 Author: Lasse Collin <lasse.collin@tukaani.org>
3693 Date: Sat Jul 4 00:40:44 2009 +0300
3695 Make "xz --decompress --stdout --force" copy unrecognized
3696 files as is to standard output.
3698 This feature is needed to be more compatible with gzip's
3699 behavior. This was more complicated to implement than it
3700 sounds, because the way liblzma is able to return errors with
3701 files of only a few bytes in size. xz now has its own file
3702 type detection code and no longer uses lzma_auto_decoder().
3704 commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
3705 Author: Lasse Collin <lasse.collin@tukaani.org>
3706 Date: Thu Jul 2 14:30:38 2009 +0300
3708 Define PACKAGE_HOMEPAGE in configure.ac and use it in
3711 Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
3713 commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
3714 Author: Lasse Collin <lasse.collin@tukaani.org>
3715 Date: Wed Jul 1 12:21:24 2009 +0300
3717 Avoid visibility related compiler warnings on Windows.
3719 commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
3720 Author: Lasse Collin <lasse.collin@tukaani.org>
3721 Date: Tue Jun 30 17:14:39 2009 +0300
3723 Use static liblzma by default also for tests.
3725 commit f42ee981668b545ab6d06c6072e262c29605273c
3726 Author: Lasse Collin <lasse.collin@tukaani.org>
3727 Date: Tue Jun 30 17:09:57 2009 +0300
3731 Don't use libtool convenience libraries to avoid recently
3732 discovered long-standing subtle but somewhat severe bugs
3733 in libtool (at least 1.5.22 and 2.2.6 are affected). It
3734 was found when porting XZ Utils to Windows
3735 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
3736 but the problem is significant also e.g. on GNU/Linux.
3738 Unless --disable-shared is passed to configure, static
3739 library built from a set of convenience libraries will
3740 contain PIC objects. That is, while libtool builds non-PIC
3741 objects too, only PIC objects will be used from the
3742 convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
3743 using PIC instead of non-PIC makes the decompressor 10 % slower
3744 with the default CFLAGS.
3746 So while xz was linked against static liblzma by default,
3747 it got the slower PIC objects unless --disable-shared was
3748 used. I tend develop and benchmark with --disable-shared
3749 due to faster build time, so I hadn't noticed the problem
3750 in benchmarks earlier.
3752 This commit also adds support for building Windows resources
3753 into liblzma and executables.
3755 commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
3756 Author: Lasse Collin <lasse.collin@tukaani.org>
3757 Date: Mon Jun 29 22:19:51 2009 +0300
3759 Added a comment about "autoconf -fi" to autogen.sh.
3761 commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
3762 Author: Lasse Collin <lasse.collin@tukaani.org>
3763 Date: Sun Jun 28 10:04:24 2009 +0300
3765 Add -no-undefined to get shared liblzma on Windows.
3767 commit 73f560ee5fa064992b76688d9472baf139432540
3768 Author: Lasse Collin <lasse.collin@tukaani.org>
3769 Date: Sat Jun 27 22:57:15 2009 +0300
3771 Make physmem() work on Cygwin 1.5 and older.
3773 commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
3774 Author: Lasse Collin <lasse.collin@tukaani.org>
3775 Date: Sat Jun 27 17:28:01 2009 +0300
3777 Moved the Windows resource files outside the windows directory
3778 to prepare for building them with Autotools.
3780 commit 449c634674f35336a4815d398172e447659a135e
3781 Author: Lasse Collin <lasse.collin@tukaani.org>
3782 Date: Sat Jun 27 13:05:03 2009 +0300
3784 Added missing $(EXEEXT).
3786 commit 792db79f27ad9ab1fb977e23be65c7761f545752
3787 Author: Lasse Collin <lasse.collin@tukaani.org>
3788 Date: Sat Jun 27 12:32:40 2009 +0300
3790 Create correct symlinks even when
3791 --program-{prefix,suffix,transform} is passed to configure.
3793 commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
3794 Author: Lasse Collin <lasse.collin@tukaani.org>
3795 Date: Sat Jun 27 10:02:24 2009 +0300
3797 Silence a compiler warning on DOS-like systems.
3799 commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
3800 Author: Lasse Collin <lasse.collin@tukaani.org>
3801 Date: Sat Jun 27 09:35:15 2009 +0300
3803 Updated the filenames in POTFILES.in too.
3805 commit b2b1f867532732fe9969131f8713bdd6b0731763
3806 Author: Lasse Collin <lasse.collin@tukaani.org>
3807 Date: Sat Jun 27 00:43:06 2009 +0300
3809 Hopefully improved portability of the assembler code in
3810 Autotools based builds on Windows.
3812 commit c393055947247627a09b6a6b8f20aa0c32f9be16
3813 Author: Lasse Collin <lasse.collin@tukaani.org>
3814 Date: Fri Jun 26 21:17:29 2009 +0300
3816 Updated THANKS (most of today's commits are based on
3817 Charles Wilson's patches).
3819 commit da0af22e4b4139b8a10710945f8b245b3a77c97d
3820 Author: Lasse Collin <lasse.collin@tukaani.org>
3821 Date: Fri Jun 26 21:00:35 2009 +0300
3823 Updated comments to match renamed files.
3825 commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
3826 Author: Lasse Collin <lasse.collin@tukaani.org>
3827 Date: Fri Jun 26 20:49:54 2009 +0300
3829 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
3830 to avoid problems on systems with system headers with those
3833 commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
3834 Author: Lasse Collin <lasse.collin@tukaani.org>
3835 Date: Fri Jun 26 20:43:36 2009 +0300
3837 Rename process_file() to coder_run().
3839 commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
3840 Author: Lasse Collin <lasse.collin@tukaani.org>
3841 Date: Fri Jun 26 20:36:45 2009 +0300
3843 Ugly hack to make it possible to use the thousand separator
3844 format character with snprintf() on POSIX systems but not
3845 on non-POSIX systems and still keep xgettext working.
3847 commit fe378d47074b16c52b00fe184d119287c68ce2e7
3848 Author: Lasse Collin <lasse.collin@tukaani.org>
3849 Date: Fri Jun 26 15:40:40 2009 +0300
3851 Added missing source files to windows/Makefile.
3853 commit 390a6408563067613b29de895cb40e4d0386d62c
3854 Author: Lasse Collin <lasse.collin@tukaani.org>
3855 Date: Fri Jun 26 15:37:53 2009 +0300
3857 Basic support for building with Cygwin and MinGW using
3858 the Autotools based build system. It's not good yet, more
3861 commit 1c9360b7d1197457aaad2f8888b99f1149861579
3862 Author: Lasse Collin <lasse.collin@tukaani.org>
3863 Date: Fri Jun 26 14:47:31 2009 +0300
3865 Fix @variables@ to $(variables) in Makefile.am files.
3866 Fix the ordering of libgnu.a and LTLIBINTL on the linker
3867 command line and added missing LTLIBINTL to tests/Makefile.am.
3869 commit d45615c555e250209ebb55aa3649abe790f1eeac
3870 Author: Lasse Collin <lasse.collin@tukaani.org>
3871 Date: Fri Jun 26 14:20:02 2009 +0300
3873 Allow to explicitly specify autotool versions in autogen.sh.
3875 commit eaf8367368a329afa48785380f9dca6b681f3397
3876 Author: Lasse Collin <lasse.collin@tukaani.org>
3877 Date: Fri Jun 26 14:18:32 2009 +0300
3879 Add version.sh to EXTRA_DIST.
3881 commit b317b218e2d383dd27a700094c0de4510540ea18
3882 Author: Lasse Collin <lasse.collin@tukaani.org>
3883 Date: Wed Jun 24 20:14:10 2009 +0300
3885 Support HW_PHYSMEM64
3887 commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
3888 Author: Lasse Collin <lasse.collin@tukaani.org>
3889 Date: Wed Jun 24 13:01:59 2009 +0300
3891 Cast a char argument to isspace() to unsigned char.
3893 commit 1735d31ea347210e914df038eeea4b2626e76e42
3894 Author: Lasse Collin <lasse.collin@tukaani.org>
3895 Date: Fri Jun 5 13:46:26 2009 +0300
3897 A few more spelling fixes. Released the .xz spec 1.0.3.
3899 commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
3900 Author: Lasse Collin <lasse.collin@tukaani.org>
3901 Date: Thu Jun 4 23:42:12 2009 +0300
3903 Added xzdec man page.
3905 commit f6df39afaa84f71439507178a49b2a5dda6e824c
3906 Author: Lasse Collin <lasse.collin@tukaani.org>
3907 Date: Thu Jun 4 23:26:47 2009 +0300
3909 Harmonized xzdec --memory with xz --memory and made
3912 commit 1774f27c61ce294a56712ca2f4785f90a62441bc
3913 Author: Lasse Collin <lasse.collin@tukaani.org>
3914 Date: Thu Jun 4 22:59:55 2009 +0300
3916 Fix purporse -> purpose. Thanks to Andrew Dudman.
3917 Released .xz spec 1.0.2 due to this fix too.
3919 commit cb613455642f48fb51059e22018615f64c59b70f
3920 Author: Lasse Collin <lasse.collin@tukaani.org>
3921 Date: Mon Jun 1 14:53:57 2009 +0300
3923 The .xz file format version 1.0.1
3925 commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
3926 Author: Lasse Collin <lasse.collin@tukaani.org>
3927 Date: Tue May 26 14:48:48 2009 +0300
3929 Make the raw value of the Check field available to applications
3930 via lzma_block structure.
3932 This changes ABI but not doesn't break API.
3934 commit b4f5c814090dc07d4350453576305e41eb9c998d
3935 Author: Lasse Collin <lasse.collin@tukaani.org>
3936 Date: Sat May 23 16:57:21 2009 +0300
3938 Remove undocumented alternative option names --bcj, --ppc,
3941 commit b1edee2cdc7ef4411b1a21c07094ec763f071281
3942 Author: Lasse Collin <lasse.collin@tukaani.org>
3943 Date: Sat May 23 15:12:23 2009 +0300
3945 Add support for specifying the BCJ filter start offset
3946 in the xz command line tool.
3948 commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
3949 Author: Lasse Collin <lasse.collin@tukaani.org>
3950 Date: Sat May 23 14:51:09 2009 +0300
3954 commit dcedb6998cefeca6597dd1219328a3abf5acf66d
3955 Author: Lasse Collin <lasse.collin@tukaani.org>
3956 Date: Fri May 22 16:40:50 2009 +0300
3958 Added support for --quiet and --no-warn to xzdec.
3959 Cleaned up the --help message a little.
3961 commit 5f735dae80aa629853f4831d7b84ec1c614979eb
3962 Author: Lasse Collin <lasse.collin@tukaani.org>
3963 Date: Fri May 22 15:11:52 2009 +0300
3965 Use the 40 % of RAM memory usage limit in xzdec too.
3967 Update the memory usage info text in --help to match
3968 the text in xz --long-help.
3970 commit b60376249e0c586910c4121fab4f791820cc1289
3971 Author: Lasse Collin <lasse.collin@tukaani.org>
3972 Date: Fri May 22 14:43:00 2009 +0300
3976 commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
3977 Author: Lasse Collin <lasse.collin@tukaani.org>
3978 Date: Fri May 22 14:27:40 2009 +0300
3982 commit 4dd21d23f22569285ae706b58b0e5904b8db1839
3983 Author: Lasse Collin <lasse.collin@tukaani.org>
3984 Date: Fri May 22 14:21:20 2009 +0300
3986 Remove the --info option, which was an alias for --list.
3988 commit 8836139b63ce774bdd62abf17ab69b290e08229e
3989 Author: Lasse Collin <lasse.collin@tukaani.org>
3990 Date: Fri May 22 12:27:43 2009 +0300
3992 If xz is run as lzma, unlzma, or lzcat, simply imply
3993 --format=lzma. This means that xz emulating lzma
3994 doesn't decompress .xz files, while before this
3995 commit it did. The new way is slightly simpler in
3996 code and especially in upcoming documentation.
3998 commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
3999 Author: Lasse Collin <lasse.collin@tukaani.org>
4000 Date: Fri May 22 11:29:50 2009 +0300
4002 Make the default memory usage limit 40 % of RAM for both
4003 compressing and decompressing. This should be OK now that
4004 xz automatically scales down the compression settings if
4005 they would exceed the memory usage limit (earlier, the limit
4006 for compression was increased to 90 % because low limit broke
4007 scripts that used "xz -9" on systems with low RAM).
4009 Support spcifying the memory usage limit as a percentage
4010 of RAM (e.g. --memory=50%).
4012 Support --threads=0 to reset the thread limit to the default
4013 value (number of available CPU cores). Use UINT32_MAX instead
4014 of SIZE_MAX as the maximum in args.c. hardware.c was already
4015 expecting uint32_t value.
4017 Cleaned up the output of --help and --long-help.
4019 commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
4020 Author: Lasse Collin <lasse.collin@tukaani.org>
4021 Date: Thu May 21 17:22:01 2009 +0300
4023 Support special value "max" where xz and xzdec accept an integer.
4024 Don't round the memory usage limit in xzdec --help to avoid
4025 an integer overflow and to not give wrong impression that
4026 the limit is high enough when it may not actually be.
4028 commit 03ca67fd37dd43fa7f590de340899cd497c10802
4029 Author: ABCD <en.abcd@gmail.com>
4030 Date: Wed May 20 17:31:18 2009 -0400
4032 Install lzdiff, lzgrep, and lzmore as symlinks
4034 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
4035 It also installs symlinks for the manual pages and removes the new
4036 symlinks on uninstall.
4038 commit a6f43e64128a6da5cd641de1e1e527433b3e5638
4039 Author: Lasse Collin <lasse.collin@tukaani.org>
4040 Date: Sat May 2 16:10:14 2009 +0300
4042 Use a GCC-specific #pragma instead of GCC-specific
4043 -Wno-uninitialized to silence a bogus warning.
4045 commit f6ce63ebdb45a857c8949960c83c9580ae888951
4046 Author: Lasse Collin <lasse.collin@tukaani.org>
4047 Date: Sat May 2 14:46:50 2009 +0300
4049 Removed --disable-encoder and --disable-decoder. Use the values
4050 given to --enable-encoders and --enable-decoders to determine
4051 if any encoder or decoder support is wanted.
4053 commit be06858d5cf8ba46557395035d821dc332f3f830
4054 Author: Lasse Collin <lasse.collin@tukaani.org>
4055 Date: Fri May 1 11:28:52 2009 +0300
4057 Remove docs that are too outdated to be updated
4058 (rewrite will be better).
4060 commit 0255401e57c96af87c6b159eca28974e79430a82
4061 Author: Lasse Collin <lasse.collin@tukaani.org>
4062 Date: Fri May 1 11:21:46 2009 +0300
4064 Added documentation about the legacy .lzma file format.
4066 commit 1496ff437c46f38303e0e94c511ca604b3a11f85
4067 Author: Lasse Collin <lasse.collin@tukaani.org>
4068 Date: Fri May 1 11:20:23 2009 +0300
4070 Renamed the file format specification to xz-file-format.txt
4071 which is the filename used on the WWW.
4073 commit 21c6b94373d239d7e86bd480fcd558e30391712f
4074 Author: Lasse Collin <lasse.collin@tukaani.org>
4075 Date: Tue Apr 28 23:08:32 2009 +0300
4077 Fixed a crash in liblzma.
4079 liblzma tries to avoid useless free()/malloc() pairs in
4080 initialization when multiple files are handled using the
4081 same lzma_stream. This didn't work with filter chains
4082 due to comparison of wrong pointers in lzma_next_coder_init(),
4083 making liblzma think that no memory reallocation is needed
4084 even when it actually is.
4086 Easy way to trigger this bug is to decompress two files with
4087 a single xz command. The first file should have e.g. x86+LZMA2
4088 as the filter chain, and the second file just LZMA2.
4090 commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
4091 Author: Lasse Collin <lasse.collin@tukaani.org>
4092 Date: Wed Apr 15 14:13:38 2009 +0300
4094 Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
4096 On 64-bit system it would have gone into infinite
4097 loop if a single input buffer was over 4 GiB (unlikely).
4099 commit 31decdce041581e57c0d8a407d4795b114ef27ca
4100 Author: Lasse Collin <lasse.collin@tukaani.org>
4101 Date: Tue Apr 14 11:48:46 2009 +0300
4103 Minor fixes to test files' README.
4105 commit 4787d654434891c7df5b43959b0d2873718f06e0
4106 Author: Lasse Collin <lasse.collin@tukaani.org>
4107 Date: Mon Apr 13 16:36:41 2009 +0300
4109 Updated history.txt.
4111 commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
4112 Author: Lasse Collin <lasse.collin@tukaani.org>
4113 Date: Mon Apr 13 14:49:48 2009 +0300
4115 Quick & dirty update to support xz in diff/grep/more scripts.
4117 commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
4118 Author: Lasse Collin <lasse.collin@tukaani.org>
4119 Date: Mon Apr 13 11:27:40 2009 +0300
4121 Put the interesting parts of XZ Utils into the public domain.
4122 Some minor documentation cleanups were made at the same time.
4124 commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
4125 Author: Lasse Collin <lasse.collin@tukaani.org>
4126 Date: Fri Apr 10 11:17:02 2009 +0300
4128 Fix off-by-one in LZ decoder.
4130 Fortunately, this bug had no security risk other than accepting
4131 some corrupt files as valid.
4133 commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
4134 Author: Pavel Roskin <proski@gnu.org>
4135 Date: Tue Mar 31 12:15:01 2009 -0400
4137 Fix minor typos in README
4139 commit 9bab5336ebd765ec4e12252f416eefdf04eba750
4140 Author: Lasse Collin <lasse.collin@tukaani.org>
4141 Date: Tue Mar 31 21:52:51 2009 +0300
4143 Add a note and work-around instructions to README about
4144 problems detecting a C99 compiler when some standard
4145 headers are missing.
4147 commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
4148 Author: Lasse Collin <lasse.collin@tukaani.org>
4149 Date: Wed Mar 18 16:54:38 2009 +0200
4153 commit 390e69887fc5e0a108eb41203bed9acd100a3d76
4154 Author: Lasse Collin <lasse.collin@tukaani.org>
4155 Date: Wed Mar 18 16:51:41 2009 +0200
4157 Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
4158 Thanks to Bert Wesarg.
4160 commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
4161 Author: Lasse Collin <lasse.collin@tukaani.org>
4162 Date: Sun Mar 1 09:03:08 2009 +0200
4164 Test for Linux-specific sysinfo() only on Linux systems.
4165 Some other systems have sysinfo() with different semantics.
4167 commit cf751edfde3ad6e088dc18e0522d31ae38405933
4168 Author: Lasse Collin <lasse.collin@tukaani.org>
4169 Date: Sun Mar 1 09:00:06 2009 +0200
4171 Added AC_CONFIG_MACRO_DIR to configure.ac.
4173 commit 63df14c57dee7c461717784287056688482a7eb9
4174 Author: Lasse Collin <lasse.collin@tukaani.org>
4175 Date: Sun Mar 1 08:58:41 2009 +0200
4177 Fix the Autoconf test for getopt_long replacement.
4178 It was broken by e114502b2bc371e4a45449832cb69be036360722.
4180 commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
4181 Author: Lasse Collin <lasse.collin@tukaani.org>
4182 Date: Sun Feb 22 19:07:54 2009 +0200
4184 Add a rough explanation of --extreme to output of --help.
4186 commit 68bf7ac2984d3627369a240ef0491934d53f7899
4187 Author: Lasse Collin <lasse.collin@tukaani.org>
4188 Date: Sun Feb 22 18:52:49 2009 +0200
4190 Fixes to progress message handling in xz:
4192 - Don't use Windows-specific code on Windows. The old code
4193 required at least Windows 2000. Now it should work on
4194 Windows 98 and later, and maybe on Windows 95 too.
4196 - Use less precision when showing estimated remaining time.
4198 - Fix some small design issues.
4200 commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
4201 Author: Lasse Collin <lasse.collin@tukaani.org>
4202 Date: Wed Feb 18 13:00:10 2009 +0200
4204 Added files missing from the previous commit.
4206 commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
4207 Author: Lasse Collin <lasse.collin@tukaani.org>
4208 Date: Tue Feb 17 10:43:00 2009 +0200
4210 Added lzma_easy_buffer_encode(). Splitted easy.c into small
4211 pieces to avoid unneeded dependencies making statically
4212 linked applications bigger than needed.
4214 commit 7494816ab08d82f4d6409788825930c4e43cfd0d
4215 Author: Lasse Collin <lasse.collin@tukaani.org>
4216 Date: Sun Feb 15 15:48:45 2009 +0200
4218 Make physmem.h work on old Windows versions.
4219 Thanks to Hongbo Ni for the original patch.
4221 commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
4222 Author: Lasse Collin <lasse.collin@tukaani.org>
4223 Date: Sat Feb 14 20:44:52 2009 +0200
4225 Fix microsecond vs. nanosecond confusion in my_time().
4227 commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
4228 Author: Lasse Collin <lasse.collin@tukaani.org>
4229 Date: Sat Feb 14 00:45:29 2009 +0200
4231 Cleanups to the code that detects the amount of RAM and
4232 the number of CPU cores. Added support for using sysinfo()
4233 on Linux systems whose libc lacks appropriate sysconf()
4234 support (at least dietlibc). The Autoconf macros were
4235 split into separate files, and CPU core count detection
4236 was moved from hardware.c to cpucores.h. The core count
4237 isn't used for anything real for now, so a problematic
4238 part in process.c was commented out.
4240 commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
4241 Author: Lasse Collin <lasse.collin@tukaani.org>
4242 Date: Fri Feb 13 18:23:50 2009 +0200
4244 Initial port to DOS using DJGPP.
4246 commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
4247 Author: Lasse Collin <lasse.collin@tukaani.org>
4248 Date: Fri Feb 13 18:02:05 2009 +0200
4250 Windows port: Take advantage of the version number macros.
4251 Now the version number is not duplicated in the
4252 Windows-specific files anymore.
4254 commit fdbc0cfa71f7d660855098a609175ba384259529
4255 Author: Lasse Collin <lasse.collin@tukaani.org>
4256 Date: Fri Feb 13 18:00:03 2009 +0200
4258 Changed how the version number is specified in various places.
4259 Now configure.ac will get the version number directly from
4260 src/liblzma/api/lzma/version.h. The intent is to reduce the
4261 number of places where the version number is duplicated. In
4262 future, support for displaying Git commit ID may be added too.
4264 commit 1d924e584b146136989f48c13fff2632896efb3d
4265 Author: Lasse Collin <lasse.collin@tukaani.org>
4266 Date: Fri Feb 13 17:30:30 2009 +0200
4268 Fix handling of integrity check type in the xz command line tool.
4270 commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
4271 Author: Lasse Collin <lasse.collin@tukaani.org>
4272 Date: Fri Feb 13 17:29:02 2009 +0200
4274 Improve support for DOS-like systems.
4275 Here DOS-like means DOS, Windows, and OS/2.
4277 commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
4278 Author: Lasse Collin <lasse.collin@tukaani.org>
4279 Date: Wed Feb 11 20:02:32 2009 +0200
4281 Remove dead directories from .gitignore.
4283 commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
4284 Author: Jim Meyering <jim@meyering.net>
4285 Date: Wed Feb 11 14:45:14 2009 +0100
4287 .gitignore vs. Makefiles
4289 How about this for those of us who do srcdir builds?
4291 commit 154f5aec2de201c674841de4fcc9804c2a87af07
4292 Author: Lasse Collin <lasse.collin@tukaani.org>
4293 Date: Tue Feb 10 21:48:35 2009 +0200
4295 Removed Makefile from .gitignore since not all Makefiles
4296 in the repository are generated by Autotools. People
4297 should do test builds in a separate build directory anyway.
4299 commit e605c2663691b0a4c307786aa368d124ea081daa
4300 Author: Lasse Collin <lasse.collin@tukaani.org>
4301 Date: Tue Feb 10 21:48:05 2009 +0200
4303 Added resource files for the Windows build.
4305 commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
4306 Author: Lasse Collin <lasse.collin@tukaani.org>
4307 Date: Mon Feb 9 14:54:31 2009 +0200
4309 Let the user specify custom CFLAGS on the make command
4310 line. Previously custom CFLAGS worked only when they were
4311 passed to configure.
4313 commit 53f7598998b1860a69c51243b5d2e34623c6bf60
4314 Author: Lasse Collin <lasse.collin@tukaani.org>
4315 Date: Sun Feb 8 21:35:11 2009 +0200
4317 Fix aliasing issue in physmem.h.
4319 commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
4320 Author: Lasse Collin <lasse.collin@tukaani.org>
4321 Date: Sun Feb 8 18:24:50 2009 +0200
4323 Add a separate internal function to initialize the CRC32
4324 table, which is used also by LZ encoder. This was needed
4325 because calling lzma_crc32() and ignoring the result is
4326 a no-op due to lzma_attr_pure.
4328 commit ae1ad9af54210c9a2be336b1316532da5071516c
4329 Author: Lasse Collin <lasse.collin@tukaani.org>
4330 Date: Sun Feb 8 18:17:05 2009 +0200
4332 Make "xz --force" to write to terminal as the error
4335 commit 79e25eded48d2fe33f31441ab7a034f902e335f8
4336 Author: Lasse Collin <lasse.collin@tukaani.org>
4337 Date: Sun Feb 8 10:37:50 2009 +0200
4339 Support both slash and backslash as path component
4340 separator on Windows when parsing argv[0].
4342 commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
4343 Author: Lasse Collin <lasse.collin@tukaani.org>
4344 Date: Sat Feb 7 23:18:13 2009 +0200
4346 Omit the wrong and (even if corrected) nowadays useless rm
4349 commit edfc2031e56f8a2ccda063f02936b3a848d88723
4350 Author: Lasse Collin <lasse.collin@tukaani.org>
4351 Date: Sat Feb 7 21:41:52 2009 +0200
4355 commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
4356 Author: Lasse Collin <lasse.collin@tukaani.org>
4357 Date: Sat Feb 7 21:17:07 2009 +0200
4359 Make it easy to choose if command line tools should be
4360 linked statically or dynamically against liblzma. The
4361 default is still to use static liblzma, but it can now
4362 be changed by passing --enable-dynamic to configure.
4363 Thanks to Mike Frysinger for the original patch.
4365 Fixed a few minor bugs in configure.ac.
4367 commit 3f86532407e4ace3debb62be16035e009b56ca36
4368 Author: Mike Frysinger <vapier@gentoo.org>
4369 Date: Fri Feb 6 23:38:39 2009 -0500
4373 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
4375 commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
4376 Author: Lasse Collin <lasse.collin@tukaani.org>
4377 Date: Sat Feb 7 17:07:52 2009 +0200
4379 Assume 32 MiB of RAM on unsupported operating systems like
4380 the comment in hardware.c already said.
4382 commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
4383 Author: Lasse Collin <lasse.collin@tukaani.org>
4384 Date: Sat Feb 7 16:26:58 2009 +0200
4386 MinGW support: Don't build fastpos_tablegen.c as part of
4387 liblzma. Build both static and dynamic liblzma, and also
4388 static and dynamic versions of the command line tools.
4390 commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
4391 Author: Lasse Collin <lasse.collin@tukaani.org>
4392 Date: Sat Feb 7 15:55:47 2009 +0200
4394 Support LZMA_API_STATIC in assembler files to
4395 avoid __declspec(dllexport) equivalent.
4397 commit 3306cf3883492720b3c34baa02f4eb4227d91c73
4398 Author: Lasse Collin <lasse.collin@tukaani.org>
4399 Date: Sat Feb 7 11:11:50 2009 +0200
4401 Introduced LZMA_API_STATIC macro, which the applications
4402 need to #define when linking against static liblzma on
4403 platforms like Windows. Most developers don't need to
4404 care about LZMA_API_STATIC at all.
4406 commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
4407 Author: Lasse Collin <lasse.collin@tukaani.org>
4408 Date: Fri Feb 6 16:55:45 2009 +0200
4412 commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
4413 Author: Lasse Collin <lasse.collin@tukaani.org>
4414 Date: Fri Feb 6 12:30:23 2009 +0200
4416 Grammar fix in README.
4418 commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
4419 Author: Lasse Collin <lasse.collin@tukaani.org>
4420 Date: Fri Feb 6 10:06:32 2009 +0200
4422 Some MSYS installations (e.g. MsysGit) don't include
4423 install.exe, so don't rely on it.
4425 commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
4426 Author: Lasse Collin <lasse.collin@tukaani.org>
4427 Date: Fri Feb 6 09:13:15 2009 +0200
4429 Recreated the BCJ test files for x86 and SPARC. The old files
4430 were linked with crt*.o, which are copyrighted, and thus the
4431 old test files were not in the public domain as a whole. They
4432 are freely distributable though, but it is better to be careful
4433 and avoid including any copyrighted pieces in the test files.
4434 The new files are just compiled and assembled object files,
4435 and thus don't contain any copyrighted code.
4437 commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
4438 Author: Lasse Collin <lasse.collin@tukaani.org>
4439 Date: Thu Feb 5 21:21:27 2009 +0200
4441 Add the "windows" directory to EXTRA_DIST.
4443 commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
4444 Author: Lasse Collin <lasse.collin@tukaani.org>
4445 Date: Thu Feb 5 09:17:51 2009 +0200
4447 Added initial experimental makefile for use with MinGW.
4449 commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
4450 Author: Lasse Collin <lasse.collin@tukaani.org>
4451 Date: Thu Feb 5 09:12:57 2009 +0200
4453 Various code cleanups the the xz command line tool.
4454 It now builds with MinGW.
4456 commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
4457 Author: Lasse Collin <lasse.collin@tukaani.org>
4458 Date: Tue Feb 3 12:15:17 2009 +0200
4460 Another utime() fix.
4462 commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
4463 Author: Lasse Collin <lasse.collin@tukaani.org>
4464 Date: Tue Feb 3 10:41:11 2009 +0200
4466 Fix wrong filename argument for utime() and utimes().
4467 This doesn't affect most systems, since most systems
4468 have better functions available.
4470 commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
4471 Author: Lasse Collin <lasse.collin@tukaani.org>
4472 Date: Mon Feb 2 21:19:01 2009 +0200
4474 Updated the x86 assembler code:
4475 - Use call/ret pair to get instruction pointer for PIC.
4476 - Use PIC only if PIC or __PIC__ is #defined.
4477 - The code should work on MinGW and Darwin in addition
4478 to GNU/Linux and Solaris.
4480 commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
4481 Author: Lasse Collin <lasse.collin@tukaani.org>
4482 Date: Mon Feb 2 20:14:03 2009 +0200
4484 Modify LZMA_API macro so that it works on Windows with
4485 other compilers than MinGW. This may hurt readability
4486 of the API headers slightly, but I don't know any
4487 better way to do this.
4489 commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
4490 Author: Lasse Collin <lasse.collin@tukaani.org>
4491 Date: Sun Feb 1 22:40:35 2009 +0200
4493 Fix a bug in lzma_block_buffer_decode(), although this
4494 function should be rewritten anyway.
4496 commit 55fd41431e61fb8178858283d636b6781e33e847
4497 Author: Lasse Collin <lasse.collin@tukaani.org>
4498 Date: Sun Feb 1 22:39:07 2009 +0200
4500 Added initial version of raw buffer-to-buffer coding
4501 functions, and cleaned up filter.h API header a little.
4502 May be very buggy, not tested yet.
4504 commit 3e54ecee5cad30a5ca361a88a99230407abc0699
4505 Author: Lasse Collin <lasse.collin@tukaani.org>
4506 Date: Sun Feb 1 00:11:20 2009 +0200
4508 Fix missing newlines in xzdec.c.
4510 commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
4511 Author: Lasse Collin <lasse.collin@tukaani.org>
4512 Date: Sun Feb 1 00:10:07 2009 +0200
4514 Use __cdecl also for function pointers in liblzma API when
4517 commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
4518 Author: Lasse Collin <lasse.collin@tukaani.org>
4519 Date: Sat Jan 31 11:01:48 2009 +0200
4521 Add LZMA_API to liblzma API headers. It's useful at least
4522 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
4523 has to be #included separately where needed.
4525 commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
4526 Author: Lasse Collin <lasse.collin@tukaani.org>
4527 Date: Sat Jan 31 10:13:09 2009 +0200
4529 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
4531 commit 2dbdc5befb33c3703e4609809101047c67caf343
4532 Author: Lasse Collin <lasse.collin@tukaani.org>
4533 Date: Sat Jan 31 10:02:52 2009 +0200
4535 Fix two lines in lzma.h on which the # wasn't at the
4536 beginning of the line.
4538 commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
4539 Author: Lasse Collin <lasse.collin@tukaani.org>
4540 Date: Sat Jan 31 09:55:05 2009 +0200
4542 Add support for using liblzma headers in MSVC, which has no
4543 stdint.h or inttypes.h.
4545 commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
4546 Author: Lasse Collin <lasse.collin@tukaani.org>
4547 Date: Sat Jan 31 08:49:54 2009 +0200
4549 Fix # -> ## in a macro in lzma.h.
4551 commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
4552 Author: Lasse Collin <lasse.collin@tukaani.org>
4553 Date: Fri Jan 30 18:50:16 2009 +0200
4557 commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
4558 Author: Lasse Collin <lasse.collin@tukaani.org>
4559 Date: Fri Jan 30 00:29:58 2009 +0200
4561 Remove dangling crc64_init.c.
4563 commit 982da7ed314398420c38bf154a8f759d5f18b480
4564 Author: Lasse Collin <lasse.collin@tukaani.org>
4565 Date: Wed Jan 28 17:16:38 2009 +0200
4567 The .xz file format specification version 1.0.0 is now
4568 officially released. The format has been technically the same
4569 since 2008-11-19, but now that it is frozen, people can start
4570 using it without a fear that the format will break.
4572 commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
4573 Author: Lasse Collin <lasse.collin@tukaani.org>
4574 Date: Wed Jan 28 08:45:59 2009 +0200
4578 commit 3241317093595db9f79104faafe93cb989c9f858
4579 Author: Lasse Collin <lasse.collin@tukaani.org>
4580 Date: Wed Jan 28 08:43:26 2009 +0200
4582 Fix uninitialized variables in alone_decoder.c. This bug was
4583 triggered by the previous commit, since these variables were
4584 not used by anything before support for a preset dictionary.
4586 commit f76e39cf930f888d460b443d18f977ebedea8b2a
4587 Author: Lasse Collin <lasse.collin@tukaani.org>
4588 Date: Tue Jan 27 18:36:05 2009 +0200
4590 Added initial support for preset dictionary for raw LZMA1
4591 and LZMA2. It is not supported by the .xz format or the xz
4592 command line tool yet.
4594 commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
4595 Author: Lasse Collin <lasse.collin@tukaani.org>
4596 Date: Mon Jan 26 20:09:17 2009 +0200
4598 Regenerate the CRC tables without trailing blanks.
4600 commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
4601 Author: Jim Meyering <meyering@redhat.com>
4602 Date: Mon Jan 19 21:37:16 2009 +0100
4604 remove trailing blanks from all but .xz files
4606 commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
4607 Author: Lasse Collin <lasse.collin@tukaani.org>
4608 Date: Mon Jan 26 14:34:10 2009 +0200
4610 Add lzma_block_buffer_decode().
4612 commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
4613 Author: Lasse Collin <lasse.collin@tukaani.org>
4614 Date: Mon Jan 26 14:33:28 2009 +0200
4616 Add more sanity checks to lzma_stream_buffer_decode().
4618 commit c129748675a5daa8838df92bde32cc04f6ce61ba
4619 Author: Lasse Collin <lasse.collin@tukaani.org>
4620 Date: Mon Jan 26 14:33:13 2009 +0200
4622 Avoid hardcoded constant in easy.c.
4624 commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
4625 Author: Lasse Collin <lasse.collin@tukaani.org>
4626 Date: Mon Jan 26 13:06:49 2009 +0200
4628 Tiny bit better sanity check in block_util.c
4630 commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
4631 Author: Lasse Collin <lasse.collin@tukaani.org>
4632 Date: Sun Jan 25 01:35:56 2009 +0200
4634 Fix a dumb bug in Block decoder, which made it return
4635 LZMA_DATA_ERROR with valid data. The bug was added in
4636 e114502b2bc371e4a45449832cb69be036360722.
4638 commit c81f13ff29271de7293f8af3d81848b1dcae3d19
4639 Author: Lasse Collin <lasse.collin@tukaani.org>
4640 Date: Fri Jan 23 22:27:50 2009 +0200
4642 Added lzma_stream_buffer_decode() and made minor cleanups.
4644 commit 0b3318661ce749550b8531dfd469639a08930391
4645 Author: Lasse Collin <lasse.collin@tukaani.org>
4646 Date: Thu Jan 22 12:53:33 2009 +0200
4650 commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
4651 Author: Lasse Collin <lasse.collin@tukaani.org>
4652 Date: Tue Jan 20 16:37:27 2009 +0200
4654 Add some single-call buffer-to-buffer coding functions.
4656 commit d8b58d099340f8f4007b24b211ee41a7210c061c
4657 Author: Lasse Collin <lasse.collin@tukaani.org>
4658 Date: Tue Jan 20 13:45:41 2009 +0200
4660 Block encoder cleanups
4662 commit 0c09810cb3635cb575cb54e694d41523e7d0a335
4663 Author: Lasse Collin <lasse.collin@tukaani.org>
4664 Date: Tue Jan 20 10:35:15 2009 +0200
4666 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
4668 commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
4669 Author: Lasse Collin <lasse.collin@tukaani.org>
4670 Date: Mon Jan 19 22:53:18 2009 +0200
4672 Fix handling of non-fatal errors in lzma_code().
4674 commit 4810b6bc25087be872960b9dd1d11ff07735dc88
4675 Author: Lasse Collin <lasse.collin@tukaani.org>
4676 Date: Mon Jan 19 14:00:33 2009 +0200
4678 Move some LZMA2 constants to lzma2_encoder.h so that they
4679 can be used outside lzma2_encoder.c.
4681 commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
4682 Author: Lasse Collin <lasse.collin@tukaani.org>
4683 Date: Mon Jan 19 13:52:36 2009 +0200
4687 commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
4688 Author: Lasse Collin <lasse.collin@tukaani.org>
4689 Date: Sat Jan 17 14:24:25 2009 +0200
4691 Beta was supposed to be API stable but I had forgot to rename
4692 lzma_memlimit_encoder and lzma_memlimit_decoder to
4693 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
4694 Now it is fixed. Hopefully it doesn't cause too much trouble
4695 to those who already thought API is stable.
4697 commit b056379490be5c584c264a967f0540041a163a1e
4698 Author: Lasse Collin <lasse.collin@tukaani.org>
4699 Date: Thu Jan 15 14:29:22 2009 +0200
4703 commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
4704 Author: Lasse Collin <lasse.collin@tukaani.org>
4705 Date: Thu Jan 15 14:27:32 2009 +0200
4707 Fixed a bug in 7z2lzma.bash to make it work with .7z files
4708 that use something else than 2^n as the dictionary size.
4709 Thanks to Dan Shechter for the bug report.
4711 commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
4712 Author: Lasse Collin <lasse.collin@tukaani.org>
4713 Date: Wed Jan 7 18:41:15 2009 +0200
4715 Use pthread_sigmask() instead of sigprocmask() when pthreads
4718 commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
4719 Author: Lasse Collin <lasse.collin@tukaani.org>
4720 Date: Wed Dec 31 20:01:00 2008 +0200
4722 Bumped version to 4.999.8beta right after the release
4725 commit 061748f5932719643cda73383db715167d543c22
4726 Author: Lasse Collin <lasse.collin@tukaani.org>
4727 Date: Wed Dec 31 18:59:02 2008 +0200
4729 Disable Subblock filter from test_compress.sh since it is
4730 disabled by default in configure.ac.
4732 commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
4733 Author: Lasse Collin <lasse.collin@tukaani.org>
4734 Date: Wed Dec 31 17:44:20 2008 +0200
4736 Disable both Subblock encoder and decoder my default,
4737 since they are not finished and may have security issues too.
4739 commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
4740 Author: Lasse Collin <lasse.collin@tukaani.org>
4741 Date: Wed Dec 31 17:42:50 2008 +0200
4743 Update some files in debug directory.
4745 commit d1d17a40d33a9682424ca37282813492f2cba6d0
4746 Author: Lasse Collin <lasse.collin@tukaani.org>
4747 Date: Wed Dec 31 17:41:46 2008 +0200
4749 Prepare for 4.999.7beta release.
4751 commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
4752 Author: Lasse Collin <lasse.collin@tukaani.org>
4753 Date: Wed Dec 31 17:15:03 2008 +0200
4755 Cleaned up some comments in the API headers.
4757 commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
4758 Author: Lasse Collin <lasse.collin@tukaani.org>
4759 Date: Wed Dec 31 16:29:39 2008 +0200
4761 Renamed lzma_options_simple to lzma_options_bcj in the API.
4762 The internal implementation is still using the name "simple".
4763 It may need some cleanups, so I look at it later.
4765 commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
4766 Author: Lasse Collin <lasse.collin@tukaani.org>
4767 Date: Wed Dec 31 00:57:27 2008 +0200
4769 Fixed missing quoting in configure.ac.
4771 commit 28e75f7086dbe9501d926c370375c69dfb1236ce
4772 Author: Lasse Collin <lasse.collin@tukaani.org>
4773 Date: Wed Dec 31 00:48:23 2008 +0200
4775 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
4776 should have been in the previous commit.
4778 commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
4779 Author: Lasse Collin <lasse.collin@tukaani.org>
4780 Date: Wed Dec 31 00:30:49 2008 +0200
4782 Remove lzma_init() and other init functions from liblzma API.
4783 Half of developers were already forgetting to use these
4784 functions, which could have caused total breakage in some future
4785 liblzma version or even now if --enable-small was used. Now
4786 liblzma uses pthread_once() to do the initializations unless
4787 it has been built with --disable-threads which make these
4788 initializations thread-unsafe.
4790 When --enable-small isn't used, liblzma currently gets needlessly
4791 linked against libpthread (on systems that have it). While it is
4792 stupid for now, liblzma will need threads in future anyway, so
4793 this stupidity will be temporary only.
4795 When --enable-small is used, different code CRC32 and CRC64 is
4796 now used than without --enable-small. This made the resulting
4797 binary slightly smaller, but the main reason was to clean it up
4798 and to handle the lack of lzma_init_check().
4800 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
4801 sure if it works correctly and portably for static linking
4802 (Libs.private includes -pthread or other operating system
4803 specific flags). Hopefully someone complains if it is bad.
4805 lzma_rc_prices[] is now included as a precomputed array even
4806 with --enable-small. It's just 128 bytes now that it uses uint8_t
4807 instead of uint32_t. Smaller array seemed to be at least as fast
4808 as the more bloated uint32_t array on x86; hopefully it's not bad
4809 on other architectures.
4811 commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
4812 Author: Lasse Collin <lasse.collin@tukaani.org>
4813 Date: Sat Dec 27 19:40:31 2008 +0200
4815 Use 28 MiB as memory usage limit for encoding in test_compress.sh.
4817 commit 050eb14d29e2537c014662e83599fd8a77f13c45
4818 Author: Lasse Collin <lasse.collin@tukaani.org>
4819 Date: Sat Dec 27 19:32:20 2008 +0200
4821 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
4822 that was related to LZMA_MODE_FAST. The original code is slightly
4823 faster although it compresses slightly worse. But since it is fast
4824 mode, it is better to select the faster version.
4826 commit 4820f10d0f173864f6a2ea7479663b509ac53358
4827 Author: Lasse Collin <lasse.collin@tukaani.org>
4828 Date: Sat Dec 27 19:30:19 2008 +0200
4830 Some xz command line tool improvements.
4832 commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
4833 Author: Lasse Collin <lasse.collin@tukaani.org>
4834 Date: Sat Dec 27 19:27:49 2008 +0200
4836 Bunch of liblzma tweaks, including some API changes.
4837 The API and ABI should now be very close to stable,
4838 although the code behind it isn't yet.
4840 commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
4841 Author: Lasse Collin <lasse.collin@tukaani.org>
4842 Date: Thu Dec 18 13:42:52 2008 +0200
4844 Updated Makefile.am that was missing from the previous commit.
4846 commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
4847 Author: Lasse Collin <lasse.collin@tukaani.org>
4848 Date: Wed Dec 17 21:49:53 2008 +0200
4850 Remove the alignment functions for now. Maybe they will
4851 be added back in some form later, but the current version
4852 wasn't modular, so it would need fixing anyway.
4854 commit 4fed98417d1687f5eccccb42a133fde3ec81216a
4855 Author: Lasse Collin <lasse.collin@tukaani.org>
4856 Date: Wed Dec 17 20:11:23 2008 +0200
4858 xz message handling improvements
4860 commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
4861 Author: Lasse Collin <lasse.collin@tukaani.org>
4862 Date: Mon Dec 15 23:26:43 2008 +0200
4864 Fix a dumb bug in .lzma decoder which was introduced in
4865 the previous commit. (Probably the previous commit has
4866 other bugs too, it wasn't tested.)
4868 commit 671a5adf1e844bfdd6fd327016c3c28694493158
4869 Author: Lasse Collin <lasse.collin@tukaani.org>
4870 Date: Mon Dec 15 19:39:13 2008 +0200
4872 Bunch of liblzma API cleanups and fixes.
4874 commit 17781c2c20fd77029cb32e77792889f2f211d69d
4875 Author: Lasse Collin <lasse.collin@tukaani.org>
4876 Date: Mon Dec 15 14:26:52 2008 +0200
4878 The LZMA2 decoder fix introduced a bug to LZ decoder,
4879 which made LZ decoder return too early after dictionary
4880 reset. This fixes it.
4882 commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
4883 Author: Lasse Collin <lasse.collin@tukaani.org>
4884 Date: Mon Dec 15 11:20:22 2008 +0200
4886 Added two new test files.
4888 commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
4889 Author: Lasse Collin <lasse.collin@tukaani.org>
4890 Date: Mon Dec 15 10:01:59 2008 +0200
4892 Fix data corruption in LZMA2 decoder.
4894 commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
4895 Author: Lasse Collin <lasse.collin@tukaani.org>
4896 Date: Sat Dec 13 00:54:11 2008 +0200
4898 Name the package "xz" in configure.ac.
4900 commit a94bf00d0af9b423851905b031be5a645a657820
4901 Author: Lasse Collin <lasse.collin@tukaani.org>
4902 Date: Fri Dec 12 22:43:21 2008 +0200
4904 Some adjustments to GCC warning flags. The important change
4905 is the removal of -pedantic. It messes up -Werror (which I
4906 really want to keep so that I don't miss any warnings) with
4907 printf format strings that are in POSIX but not in C99.
4909 commit 8582d392baacd2cdac07ca60041f8c661323676d
4910 Author: Lasse Collin <lasse.collin@tukaani.org>
4911 Date: Wed Dec 10 01:31:00 2008 +0200
4913 Remove obsolete comment.
4915 commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
4916 Author: Lasse Collin <lasse.collin@tukaani.org>
4917 Date: Wed Dec 10 01:27:15 2008 +0200
4919 Use "decompression" consistently in --long-help.
4921 commit 1ea9e7f15afd5d3981e2432710e932320597bca9
4922 Author: Lasse Collin <lasse.collin@tukaani.org>
4923 Date: Wed Dec 10 01:23:58 2008 +0200
4925 Added preset=NUM to --lzma1 and --lzma2. This makes it easy
4926 to take a preset as a template and modify it a little.
4928 commit bceb3918dbb21f34976bfdd4c171a81319de71f7
4929 Author: Lasse Collin <lasse.collin@tukaani.org>
4930 Date: Tue Dec 9 17:43:31 2008 +0200
4932 Put the file format specification into the public domain.
4933 Same will be done to the actual code later.
4935 commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
4936 Author: Lasse Collin <lasse.collin@tukaani.org>
4937 Date: Tue Dec 9 17:41:49 2008 +0200
4939 Make the memusage functions of LZMA1 and LZMA2 encoders
4940 to validate the filter options. Add missing validation
4941 to LZMA2 encoder when options are changed in the middle
4944 commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
4945 Author: Lasse Collin <lasse.collin@tukaani.org>
4946 Date: Tue Dec 9 10:36:24 2008 +0200
4950 commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
4951 Author: Lasse Collin <lasse.collin@tukaani.org>
4952 Date: Mon Dec 1 23:04:12 2008 +0200
4954 In command line tool, take advantage of memusage calculation's
4955 ability to also validate the filter chain and options (not
4956 implemented yet for all filters).
4958 commit ccd57afa09e332d664d6d6a7498702791ea5f659
4959 Author: Lasse Collin <lasse.collin@tukaani.org>
4960 Date: Mon Dec 1 22:59:28 2008 +0200
4962 Validate the filter chain before checking filter-specific
4965 commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
4966 Author: Lasse Collin <lasse.collin@tukaani.org>
4967 Date: Mon Dec 1 22:58:22 2008 +0200
4969 Make the memusage functions of LZMA1 and LZMA2 decoders
4970 to validate the filter options.
4972 commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
4973 Author: Lasse Collin <lasse.collin@tukaani.org>
4974 Date: Mon Dec 1 22:55:18 2008 +0200
4976 Added the changes for Delta filter that should have been
4977 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
4979 commit cd708015202dbf7585b84a8781462a20c42a324b
4980 Author: Lasse Collin <lasse.collin@tukaani.org>
4981 Date: Mon Dec 1 22:50:28 2008 +0200
4983 LZMA2 decoder cleanups. Make it require new LZMA properties
4984 also in the first LZMA chunk after a dictionary reset in
4987 commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
4988 Author: Lasse Collin <lasse.collin@tukaani.org>
4989 Date: Mon Dec 1 16:30:11 2008 +0200
4991 Added lzma_delta_coder_memusage() which also validates
4994 commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
4995 Author: Lasse Collin <lasse.collin@tukaani.org>
4996 Date: Sat Nov 29 10:03:49 2008 +0200
4998 Automake includes the m4 directory, so don't add it in
4999 Makefile.am separately.
5003 commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
5004 Author: Lasse Collin <lasse.collin@tukaani.org>
5005 Date: Fri Nov 28 12:00:48 2008 +0200
5007 Tested using COLUMNS environment variable to avoid broken
5008 progress indicator but since COLUMNS isn't usually available,
5009 the code was left commented out.
5011 commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
5012 Author: Lasse Collin <lasse.collin@tukaani.org>
5013 Date: Thu Nov 27 19:28:59 2008 +0200
5015 Cleanups to message.c.
5017 commit a8368b75cdcd5427299001cc42839287f27b244d
5018 Author: Lasse Collin <lasse.collin@tukaani.org>
5019 Date: Tue Nov 25 02:37:47 2008 +0200
5021 Remove the nowadays unneeded memory limitting malloc() wrapper.
5023 commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
5024 Author: Lasse Collin <lasse.collin@tukaani.org>
5025 Date: Sun Nov 23 15:09:03 2008 +0200
5027 VLI encoder and decoder cleanups. Made encoder return
5028 LZMA_PROG_ERROR in single-call mode if there's no output
5031 commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
5032 Author: Lasse Collin <lasse.collin@tukaani.org>
5033 Date: Sat Nov 22 17:44:33 2008 +0200
5037 commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
5038 Author: Lasse Collin <lasse.collin@tukaani.org>
5039 Date: Thu Nov 20 22:59:10 2008 +0200
5041 Support NetBSD's errno for O_NOFOLLOW.
5043 commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
5044 Author: Lasse Collin <lasse.collin@tukaani.org>
5045 Date: Thu Nov 20 18:05:52 2008 +0200
5047 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
5048 files and lzmadec only .lzma files.
5050 commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
5051 Author: Lasse Collin <lasse.collin@tukaani.org>
5052 Date: Thu Nov 20 11:01:29 2008 +0200
5054 Minor cleanups to xzdec.
5056 commit 54f716ba8905d09752dcd1519455a40bd21d5317
5057 Author: Lasse Collin <lasse.collin@tukaani.org>
5058 Date: Wed Nov 19 23:55:22 2008 +0200
5060 Added missing check for uint16_t.
5062 commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
5063 Author: Lasse Collin <lasse.collin@tukaani.org>
5064 Date: Wed Nov 19 23:52:24 2008 +0200
5066 Renamed lzma to xz and lzmadec to xzdec. We create symlinks
5067 lzma, unlzma, and lzcat in "make install" for backwards
5068 compatibility with LZMA Utils 4.32.x; I'm not sure if this
5069 should be the default though.
5071 commit e114502b2bc371e4a45449832cb69be036360722
5072 Author: Lasse Collin <lasse.collin@tukaani.org>
5073 Date: Wed Nov 19 20:46:52 2008 +0200
5075 Oh well, big messy commit again. Some highlights:
5076 - Updated to the latest, probably final file format version.
5077 - Command line tool reworked to not use threads anymore.
5078 Threading will probably go into liblzma anyway.
5079 - Memory usage limit is now about 30 % for uncompression
5080 and about 90 % for compression.
5081 - Progress indicator with --verbose
5082 - Simplified --help and full --long-help
5083 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
5086 commit 3c3905b53462ae235c9438d86a4dc51086410932
5087 Author: Lasse Collin <lasse.collin@tukaani.org>
5088 Date: Thu Oct 9 11:12:29 2008 +0300
5090 Fixed the test that should have been fixed as part
5091 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
5093 commit 0f295bf7a3ece01f667caae318cc3e3424085886
5094 Author: Lasse Collin <lasse.collin@tukaani.org>
5095 Date: Tue Oct 7 16:42:18 2008 +0300
5097 Fixed some help messages.
5099 commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
5100 Author: Lasse Collin <lasse.collin@tukaani.org>
5101 Date: Tue Oct 7 09:40:31 2008 +0300
5103 Made the preset numbering more logical in liblzma API.
5105 commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
5106 Author: Lasse Collin <lasse.collin@tukaani.org>
5107 Date: Fri Oct 3 19:36:09 2008 +0300
5109 Removed fi from po/LINGUAS.
5111 commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
5112 Author: Lasse Collin <lasse.collin@tukaani.org>
5113 Date: Fri Oct 3 07:06:48 2008 +0300
5115 Fixed suffix handling with --format=raw.
5117 commit bd137524f2f50e30ba054f42f1f6536cd3cee920
5118 Author: Lasse Collin <lasse.collin@tukaani.org>
5119 Date: Thu Oct 2 22:51:46 2008 +0300
5121 Initial changes to change the suffix of the new format to .xz.
5122 This also fixes a bug related to --suffix option. Some issues
5123 with suffixes with --format=raw were not fixed.
5125 commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
5126 Author: Lasse Collin <lasse.collin@tukaani.org>
5127 Date: Tue Sep 30 17:43:55 2008 +0300
5129 Renamed the test files from .lzma suffix to .xz suffix.
5131 commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
5132 Author: Lasse Collin <lasse.collin@tukaani.org>
5133 Date: Tue Sep 30 13:57:44 2008 +0300
5135 Fixed Stream decoder to actually use the first_stream variable.
5137 commit 3bdbc12c054d1961133ee19802af7dd3c3494543
5138 Author: Lasse Collin <lasse.collin@tukaani.org>
5139 Date: Tue Sep 30 13:56:57 2008 +0300
5141 Added one more test file.
5143 commit a6639022fdc536e5659b070a465221b4cf7c51fa
5144 Author: Lasse Collin <lasse.collin@tukaani.org>
5145 Date: Tue Sep 30 13:34:07 2008 +0300
5147 Fixed uninitialized variable in Stream decoder.
5149 commit ed3709000a3f17ecefab29b2235d7e2221b00003
5150 Author: Lasse Collin <lasse.collin@tukaani.org>
5151 Date: Tue Sep 30 13:27:28 2008 +0300
5153 Added two test files.
5155 commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
5156 Author: Lasse Collin <lasse.collin@tukaani.org>
5157 Date: Sat Sep 27 23:49:24 2008 +0300
5159 Fix conflicting Subblock helper filter's ID.
5161 commit ad97483b6e55142fd8d5c041db057017a891cd95
5162 Author: Lasse Collin <lasse.collin@tukaani.org>
5163 Date: Sat Sep 27 23:37:13 2008 +0300
5165 Changed magic bytes to match the updated spec. Filename
5166 suffix wasn't changed yet.
5168 commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
5169 Author: Lasse Collin <lasse.collin@tukaani.org>
5170 Date: Sat Sep 27 23:16:09 2008 +0300
5172 Remove po/fi.po since I'm not keeping it updated for now.
5174 commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
5175 Author: Lasse Collin <lasse.collin@tukaani.org>
5176 Date: Sat Sep 27 23:13:54 2008 +0300
5178 Fix also test_compress.sh.
5180 commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
5181 Author: Lasse Collin <lasse.collin@tukaani.org>
5182 Date: Sat Sep 27 23:01:15 2008 +0300
5184 Fixed compilation of test_filter_flags.c, which was broken by
5185 1dcecfb09b55157b8653d747963069c8bed74f04.
5187 commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
5188 Author: Lasse Collin <lasse.collin@tukaani.org>
5189 Date: Sat Sep 27 19:11:02 2008 +0300
5191 Updated file format specification. It changes the suffix
5192 of the new format to .xz and removes the recently added
5195 commit 1dcecfb09b55157b8653d747963069c8bed74f04
5196 Author: Lasse Collin <lasse.collin@tukaani.org>
5197 Date: Sat Sep 27 19:09:21 2008 +0300
5199 Some API changes, bug fixes, cleanups etc.
5201 commit 5cc5064cae603b649c64c40125c7dd365de54c9d
5202 Author: Lasse Collin <lasse.collin@tukaani.org>
5203 Date: Sat Sep 27 11:28:49 2008 +0300
5207 commit f147666a5cd15542d4e427da58629f4a71cc38e1
5208 Author: Lasse Collin <lasse.collin@tukaani.org>
5209 Date: Wed Sep 17 22:11:39 2008 +0300
5211 Miscellaneous LZ and LZMA encoder cleanups
5213 commit 13d68b069849e19c33822cd8996cd6447890abb1
5214 Author: Lasse Collin <lasse.collin@tukaani.org>
5215 Date: Sat Sep 13 13:54:00 2008 +0300
5219 commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
5220 Author: Lasse Collin <lasse.collin@tukaani.org>
5221 Date: Sat Sep 13 12:10:43 2008 +0300
5224 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
5225 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
5226 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
5228 commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
5229 Author: Lasse Collin <lasse.collin@tukaani.org>
5230 Date: Fri Sep 12 22:41:40 2008 +0300
5232 Improved the Stream Flags handling API.
5234 commit ec490da5228263b25bf786bb23d1008468f55b30
5235 Author: Lasse Collin <lasse.collin@tukaani.org>
5236 Date: Thu Sep 11 23:10:44 2008 +0300
5238 Simplified debug/known_sizes.c to match the relaxed
5239 requirements of Block encoder.
5241 commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
5242 Author: Lasse Collin <lasse.collin@tukaani.org>
5243 Date: Thu Sep 11 23:09:24 2008 +0300
5245 Remove a check from Block encoder that should have already
5246 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
5248 commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
5249 Author: Lasse Collin <lasse.collin@tukaani.org>
5250 Date: Thu Sep 11 20:02:38 2008 +0300
5252 Remove bogus #includes.
5254 commit 01892b2ca5f69bed0ea746e04b604030d57806bb
5255 Author: Lasse Collin <lasse.collin@tukaani.org>
5256 Date: Thu Sep 11 10:49:14 2008 +0300
5260 commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
5261 Author: Lasse Collin <lasse.collin@tukaani.org>
5262 Date: Thu Sep 11 10:48:12 2008 +0300
5264 Fix a compiler error on big endian systems that don't
5265 support unaligned memory access.
5267 commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
5268 Author: Lasse Collin <lasse.collin@tukaani.org>
5269 Date: Thu Sep 11 10:46:14 2008 +0300
5271 Silence a compiler warning.
5273 commit 9373e81e18822db4972819442ea4c2cb9955470b
5274 Author: Lasse Collin <lasse.collin@tukaani.org>
5275 Date: Wed Sep 10 19:16:32 2008 +0300
5277 Bumped version to 4.999.6alpha.
5279 commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
5280 Author: Lasse Collin <lasse.collin@tukaani.org>
5281 Date: Wed Sep 10 17:02:00 2008 +0300
5283 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
5284 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
5285 is in the reserved range. This allows Block Header encoder to
5286 detect unallowed Filter IDs, which is good for Stream encoder.
5288 commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
5289 Author: Lasse Collin <lasse.collin@tukaani.org>
5290 Date: Wed Sep 10 16:44:32 2008 +0300
5292 Filter handling cleanups
5294 commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
5295 Author: Lasse Collin <lasse.collin@tukaani.org>
5296 Date: Wed Sep 10 00:33:00 2008 +0300
5300 commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
5301 Author: Lasse Collin <lasse.collin@tukaani.org>
5302 Date: Wed Sep 10 00:27:02 2008 +0300
5304 Cleaned up Block encoder and moved the no longer shared
5305 code from block_private.h to block_decoder.c. Now the Block
5306 encoder doesn't need compressed_size and uncompressed_size
5307 from lzma_block structure to be initialized.
5309 commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
5310 Author: Lasse Collin <lasse.collin@tukaani.org>
5311 Date: Sun Sep 7 10:23:13 2008 +0300
5313 Changed Filter ID of LZMA to 0x20.
5315 commit 32fe5fa541e82c08e054086279079ae5016bd8d8
5316 Author: Lasse Collin <lasse.collin@tukaani.org>
5317 Date: Sat Sep 6 23:42:50 2008 +0300
5321 commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
5322 Author: Lasse Collin <lasse.collin@tukaani.org>
5323 Date: Sat Sep 6 15:14:30 2008 +0300
5327 commit da98df54400998be2a6c3876f9655a3c51b93c10
5328 Author: Lasse Collin <lasse.collin@tukaani.org>
5329 Date: Thu Sep 4 11:53:06 2008 +0300
5331 Added support for raw encoding and decoding to the command
5332 line tool, and made various cleanups. --lzma was renamed to
5333 --lzma1 to prevent people from accidentally using LZMA when
5336 commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
5337 Author: Lasse Collin <lasse.collin@tukaani.org>
5338 Date: Thu Sep 4 10:39:15 2008 +0300
5340 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
5341 simply nothing that would use it. Allow LZMA_FINISH to the
5342 decoders, which will usually ignore it (auto decoder and
5343 Stream decoder being exceptions).
5345 commit bea301c26d5d52675e11e0236faec0492af98f60
5346 Author: Lasse Collin <lasse.collin@tukaani.org>
5347 Date: Wed Sep 3 17:06:25 2008 +0300
5349 Minor updates to the file format specification.
5351 commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
5352 Author: Lasse Collin <lasse.collin@tukaani.org>
5353 Date: Tue Sep 2 19:33:32 2008 +0300
5355 Command line tool fixes
5357 commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
5358 Author: Lasse Collin <lasse.collin@tukaani.org>
5359 Date: Tue Sep 2 19:31:42 2008 +0300
5361 Auto decoder cleanup
5363 commit 689602336d126a46b60d791a67decab65e1e81f5
5364 Author: Lasse Collin <lasse.collin@tukaani.org>
5365 Date: Tue Sep 2 19:12:12 2008 +0300
5367 Updated auto decoder to handle LZMA_CONCATENATED when decoding
5368 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
5369 intentionally not supported, so it is better to put this in
5370 auto decoder than LZMA_Alone decoder.
5372 commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
5373 Author: Lasse Collin <lasse.collin@tukaani.org>
5374 Date: Tue Sep 2 14:56:52 2008 +0300
5376 Stream decoder cleanups
5378 commit fc681657450ce57be1fe08f7a15d31dcc705e514
5379 Author: Lasse Collin <lasse.collin@tukaani.org>
5380 Date: Tue Sep 2 11:45:39 2008 +0300
5382 Some fixes to LZ encoder.
5384 commit ede675f9ac1ca82a7d7c290324adba672118bc8d
5385 Author: Lasse Collin <lasse.collin@tukaani.org>
5386 Date: Sun Aug 31 11:47:01 2008 +0300
5388 Fix wrong pointer calculation in LZMA encoder.
5390 commit 3b34851de1eaf358cf9268922fa0eeed8278d680
5391 Author: Lasse Collin <lasse.collin@tukaani.org>
5392 Date: Thu Aug 28 22:53:15 2008 +0300
5394 Sort of garbage collection commit. :-| Many things are still
5395 broken. API has changed a lot and it will still change a
5396 little more here and there. The command line tool doesn't
5397 have all the required changes to reflect the API changes, so
5398 it's easy to get "internal error" or trigger assertions.
5400 commit 57b9a145a527f0716822615e5ed536d33aebd3fc
5401 Author: Lasse Collin <lasse.collin@tukaani.org>
5402 Date: Fri Jun 20 17:16:32 2008 +0300
5404 Fix test_filter_flags to match the new restriction of lc+lp.
5406 commit eaafc4367c77ec1d910e16d11b4da293969d97a3
5407 Author: Lasse Collin <lasse.collin@tukaani.org>
5408 Date: Fri Jun 20 16:19:54 2008 +0300
5410 Remove some redundant code from LZMA encoder.
5412 commit 0809c46534fa5664fe35d9e98d95e87312ed130e
5413 Author: Lasse Collin <lasse.collin@tukaani.org>
5414 Date: Thu Jun 19 16:35:08 2008 +0300
5416 Add limit of lc + lp <= 4. Now we can allocate the
5417 literal coder as part of the main LZMA encoder or
5420 Make the LZMA decoder to rely on the current internal API
5421 to free the allocated memory in case an error occurs.
5423 commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
5424 Author: Lasse Collin <lasse.collin@tukaani.org>
5425 Date: Wed Jun 18 21:45:19 2008 +0300
5429 commit 6368a2fa5901c75864be5171dd57a50af7adbb41
5430 Author: Lasse Collin <lasse.collin@tukaani.org>
5431 Date: Wed Jun 18 19:19:02 2008 +0300
5433 Delete old code that was supposed to be already deleted
5434 from test_block_header.c.
5436 commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
5437 Author: Lasse Collin <lasse.collin@tukaani.org>
5438 Date: Wed Jun 18 18:02:10 2008 +0300
5440 Update the code to mostly match the new simpler file format
5441 specification. Simplify things by removing most of the
5442 support for known uncompressed size in most places.
5443 There are some miscellaneous changes here and there too.
5445 The API of liblzma has got many changes and still some
5446 more will be done soon. While most of the code has been
5447 updated, some things are not fixed (the command line tool
5448 will choke with invalid filter chain, if nothing else).
5450 Subblock filter is somewhat broken for now. It will be
5451 updated once the encoded format of the Subblock filter
5454 commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
5455 Author: Lasse Collin <lasse.collin@tukaani.org>
5456 Date: Tue Jun 17 15:03:46 2008 +0300
5458 Update the file format specification draft. The new one is
5459 a lot simpler than the previous versions, but it also means
5460 that the existing code will change a lot.
5462 commit 803194ddd26f01ff60ba4e9924c6087a56b29827
5463 Author: Lasse Collin <lasse.collin@tukaani.org>
5464 Date: Wed Jun 11 21:42:47 2008 +0300
5466 Fix uninitialized variable in LZMA encoder. This was
5467 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
5469 commit 0ea98e52ba87453497b1355c51f13bad55c8924a
5470 Author: Lasse Collin <lasse.collin@tukaani.org>
5471 Date: Wed Jun 11 15:08:44 2008 +0300
5473 Improve command line integer parsing a little in lzma and
5474 lzmadec to make them accept also KiB in addition Ki etc.
5475 Fix also memory usage information in lzmadec --help.
5477 commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
5478 Author: Lasse Collin <lasse.collin@tukaani.org>
5479 Date: Tue Jun 10 20:36:12 2008 +0300
5481 s/decompressed/compressed/ in the command line tool's
5484 commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
5485 Author: Lasse Collin <lasse.collin@tukaani.org>
5486 Date: Sun Jun 1 12:48:17 2008 +0300
5488 Fix a buffer overflow in the LZMA encoder. It was due to my
5489 misunderstanding of the code. There's no tiny fix for this
5490 problem, so I also cleaned up the code in general.
5492 This reduces the speed of the encoder 2-5 % in the fastest
5493 compression mode ("lzma -1"). High compression modes should
5494 have no noticeable performance difference.
5496 This commit breaks things (especially LZMA_SYNC_FLUSH) but I
5497 will fix them once the new format and LZMA2 has been roughly
5498 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
5499 and won't be supported in the new .lzma format. This may
5500 change still but this is what it looks like now.
5502 Support for known uncompressed size (that is, LZMA or LZMA2
5503 without EOPM) is likely to go away. This means there will
5506 commit e55e0e873ce2511325749d415ae547d62ab5f00d
5507 Author: Lasse Collin <lasse.collin@tukaani.org>
5508 Date: Fri May 30 11:53:41 2008 +0300
5510 Typo fixes from meyering.
5512 commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
5513 Author: Lasse Collin <lasse.collin@tukaani.org>
5514 Date: Sun May 11 14:24:42 2008 +0300
5516 Remove support for pre-C89 libc versions that lack memcpy,
5517 memmove, and memset.
5519 commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
5520 Author: Lasse Collin <lasse.collin@tukaani.org>
5521 Date: Sun May 11 14:17:21 2008 +0300
5523 Improved C99 compiler detection in configure.ac. It will
5524 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
5525 should still give warnings about GNU extensions like before
5526 except with some special keywords like asm().
5528 commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
5529 Author: Lasse Collin <lasse.collin@tukaani.org>
5530 Date: Tue May 6 15:15:07 2008 +0300
5532 Bunch of grammar fixes from meyering.
5534 commit dc192b6343ae36276c85fcf7ef6006147816eadc
5535 Author: Lasse Collin <lasse.collin@tukaani.org>
5536 Date: Tue May 6 13:41:05 2008 +0300
5540 commit 944b62b93239b27b338d117f2668c0e95849659b
5541 Author: Lasse Collin <lasse.collin@tukaani.org>
5542 Date: Sun May 4 22:29:27 2008 +0300
5544 Don't print an error message on broken pipe unless --verbose
5547 commit 8e074349e47ea6832b8fdf9244e581d453733433
5548 Author: Lasse Collin <lasse.collin@tukaani.org>
5549 Date: Wed Apr 30 22:16:17 2008 +0300
5551 Fix a crash with --format=alone if other filters than LZMA
5552 are specified on the command line.
5554 commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
5555 Author: Lasse Collin <lasse.collin@tukaani.org>
5556 Date: Mon Apr 28 17:08:27 2008 +0300
5560 commit 3be21fb12f4cec2cf07799e8960382f4cb375369
5561 Author: Lasse Collin <lasse.collin@tukaani.org>
5562 Date: Mon Apr 28 17:06:34 2008 +0300
5564 Fixed wrong spelling "limitter" to "limiter". This affects
5567 commit beeb81060821dfec4e7898e0d44b7900dcb2215e
5568 Author: Lasse Collin <lasse.collin@tukaani.org>
5569 Date: Fri Apr 25 15:39:50 2008 +0300
5571 Prevent LZ encoder from hanging with known uncompressed
5572 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
5573 with known uncompressed size, but since it currently seems
5574 likely that support for encoding with known uncompressed
5575 size will go away anyway, I'm not fixing this problem now.
5577 commit c324325f9f13cdeb92153c5d00962341ba070ca2
5578 Author: Lasse Collin <lasse.collin@tukaani.org>
5579 Date: Fri Apr 25 13:58:56 2008 +0300
5581 Removed src/liblzma/common/sysdefs.h symlink, which was
5582 annoying, because "make dist" put two copies of sysdefs.h
5583 into the tarball instead of the symlink.
5585 commit d3ba30243c75c13d094de1793f9c58acdbacc692
5586 Author: Lasse Collin <lasse.collin@tukaani.org>
5587 Date: Fri Apr 25 13:41:29 2008 +0300
5589 Added memusage.c to debug directory.
5591 commit 8f804c29aa8471ccd6438ddca254092b8869ca52
5592 Author: Lasse Collin <lasse.collin@tukaani.org>
5593 Date: Fri Apr 25 13:32:35 2008 +0300
5595 Bumped version number to 4.999.3alpha. It will become 5.0.0
5596 once we have a stable release (won't be very soon). The
5597 version number is no longer related to version of LZMA SDK.
5599 Made some small Automake-related changes to toplevel
5600 Makefile.am and configure.ac.
5602 commit c99037ea10f121cbacf60c37a36c29768ae53447
5603 Author: Lasse Collin <lasse.collin@tukaani.org>
5604 Date: Thu Apr 24 20:25:39 2008 +0300
5606 Fix a memory leak by calling free(extra->data) in
5609 commit 22ba3b0b5043fa481903482ce85015fe775939e5
5610 Author: Lasse Collin <lasse.collin@tukaani.org>
5611 Date: Thu Apr 24 20:23:05 2008 +0300
5613 Make unlzma and lzcat symlinks.
5615 commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
5616 Author: Lasse Collin <lasse.collin@tukaani.org>
5617 Date: Thu Apr 24 20:20:27 2008 +0300
5619 Fixed a bug in command line option parsing.
5621 commit 283f939974c32c47f05d495e8dea455ec646ed64
5622 Author: Lasse Collin <lasse.collin@tukaani.org>
5623 Date: Thu Apr 24 20:19:20 2008 +0300
5625 Added two assert()s.
5627 commit eb348a60b6e19a7c093f892434f23c4756973ffd
5628 Author: Lasse Collin <lasse.collin@tukaani.org>
5629 Date: Thu Apr 24 19:22:53 2008 +0300
5631 Switch to uint16_t as the type of range coder probabilities.
5633 commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
5634 Author: Lasse Collin <lasse.collin@tukaani.org>
5635 Date: Thu Apr 24 18:39:57 2008 +0300
5637 Fix wrong return type (uint32_t -> bool).
5639 commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
5640 Author: Lasse Collin <lasse.collin@tukaani.org>
5641 Date: Thu Apr 24 18:38:00 2008 +0300
5643 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
5645 commit bc04486e368d20b3027cde625267762aae063965
5646 Author: Lasse Collin <lasse.collin@tukaani.org>
5647 Date: Thu Apr 24 17:33:01 2008 +0300
5649 Fix fastpos problem in Makefile.am when built with --enable-small.
5651 commit 7ab493924e0ed590a5121a15ee54038d238880d3
5652 Author: Lasse Collin <lasse.collin@tukaani.org>
5653 Date: Thu Apr 24 17:30:51 2008 +0300
5655 Use 64-bit integer as range encoder's cache size. This fixes a
5656 theoretical data corruption, which should be very hard to trigger
5659 commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
5660 Author: Lasse Collin <lasse.collin@tukaani.org>
5661 Date: Mon Mar 24 16:38:40 2008 +0200
5663 Replaced the range decoder optimization that used arithmetic
5664 right shift with as fast version that doesn't need
5665 arithmetic right shift. Removed the related check from
5668 commit ad999efd279d95f1e7ac555b14170e8e9020488c
5669 Author: Lasse Collin <lasse.collin@tukaani.org>
5670 Date: Sat Mar 22 14:39:34 2008 +0200
5672 Take advantage of arithmetic right shift in range decoder.
5674 commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
5675 Author: Lasse Collin <lasse.collin@tukaani.org>
5676 Date: Sat Mar 22 14:18:29 2008 +0200
5678 Added autoconf check to detect if we can use arithmetic
5679 right shift for optimizations.
5681 commit 7521bbdc83acab834594a22bec50c8e1bd836298
5682 Author: Lasse Collin <lasse.collin@tukaani.org>
5683 Date: Sat Mar 22 01:26:36 2008 +0200
5685 Update a comment to use the variable name rep_len_decoder.
5687 (And BTW, the previous commit actually did change the
5688 program logic slightly.)
5690 commit 63b74d000eedaebb8485f623e56864ff5ab71064
5691 Author: Lasse Collin <lasse.collin@tukaani.org>
5692 Date: Sat Mar 22 00:57:33 2008 +0200
5694 Demystified the "state" variable in LZMA code. Use the
5695 word literal instead of char for better consistency.
5696 There are still some names with _char instead of _literal
5697 in lzma_optimum, these may be changed later.
5699 Renamed length coder variables.
5701 This commit doesn't change the program logic.
5703 commit e6eb0a26757e851cef62b9440319a8e73b015cb9
5704 Author: Lasse Collin <lasse.collin@tukaani.org>
5705 Date: Fri Mar 14 23:16:11 2008 +0200
5707 Fix data corruption in LZMA encoder. Note that this bug was
5708 specific to liblzma and was *not* present in LZMA SDK.
5710 commit 7d516f5129e4373a6d57249d7f608c634c66bf12
5711 Author: Lasse Collin <lasse.collin@tukaani.org>
5712 Date: Fri Mar 14 21:32:37 2008 +0200
5714 Fix a comment API header.
5716 commit 748d6e4274921a350bd0a317380309717441ef9c
5717 Author: Lasse Collin <lasse.collin@tukaani.org>
5718 Date: Wed Mar 12 23:14:50 2008 +0200
5720 Make lzma_stream.next_in const. Let's see if anyone complains.
5722 commit bfde3b24a5ae25ce53c854762b6148952386b025
5723 Author: Lasse Collin <lasse.collin@tukaani.org>
5724 Date: Tue Mar 11 15:35:34 2008 +0200
5726 Apply a minor speed optimization to LZMA decoder.
5728 commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
5729 Author: Lasse Collin <lasse.collin@tukaani.org>
5730 Date: Tue Mar 11 15:17:16 2008 +0200
5732 Initialize the last byte of the dictionary to zero so that
5733 lz_get_byte(lz, 0) returns zero. This was broken by
5734 1a3b21859818e4d8e89a1da99699233c1bfd197d.
5736 commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
5737 Author: Lasse Collin <lasse.collin@tukaani.org>
5738 Date: Mon Mar 10 15:57:55 2008 +0200
5740 Really fix the price count initialization.
5742 commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
5743 Author: Lasse Collin <lasse.collin@tukaani.org>
5744 Date: Mon Mar 10 13:47:17 2008 +0200
5748 commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
5749 Author: Lasse Collin <lasse.collin@tukaani.org>
5750 Date: Mon Mar 10 13:46:48 2008 +0200
5752 Initialize align_price_count and match_price_count in
5753 lzma_encoder_init.c. While we don't call
5754 fill_distances_prices() and fill_align_prices() in
5755 lzma_lzma_encoder_init(), we still need to initialize
5756 these two variables so that the fill functions get
5757 called in lzma_encoder_getoptimum.c in the beginning
5760 commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
5761 Author: Lasse Collin <lasse.collin@tukaani.org>
5762 Date: Mon Mar 10 13:44:29 2008 +0200
5764 Always initialize lz->temp_size in lz_decoder.c. temp_size did
5765 get initialized as a side-effect after allocating a new decoder,
5766 but not when the decoder was reused.
5768 commit 45e43e169527e7a98a8c8a821d37bf25822b764d
5769 Author: Lasse Collin <lasse.collin@tukaani.org>
5770 Date: Mon Mar 10 13:41:25 2008 +0200
5772 Don't fill allocated memory with 0xFD when debugging is
5773 enabled. It hides errors from Valgrind.
5775 commit c0e19e0662205f81a86da8903cdc325d50635870
5776 Author: Lasse Collin <lasse.collin@tukaani.org>
5777 Date: Thu Feb 28 10:24:31 2008 +0200
5779 Remove two redundant validity checks from the LZMA decoder.
5780 These are already checked elsewhere, so omitting these
5781 gives (very) tiny speed up.
5783 commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
5784 Author: Lasse Collin <lasse.collin@tukaani.org>
5785 Date: Wed Feb 6 13:25:32 2008 +0200
5787 Tiny clean up to file-format.txt.
5789 commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
5790 Author: Lasse Collin <lasse.collin@tukaani.org>
5791 Date: Sat Feb 2 14:51:06 2008 +0200
5793 Don't memzero() the history buffer when initializing LZ
5794 decoder. There's no danger of information leak here, so
5795 it isn't required. Doing memzero() takes a lot of time
5796 with large dictionaries, which could make it easier to
5797 construct DoS attack to consume too much CPU time.
5799 commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
5800 Author: Lasse Collin <lasse.collin@tukaani.org>
5801 Date: Fri Feb 1 08:39:26 2008 +0200
5803 Do uncompressed size validation in raw encoder. This way
5804 it gets done for not only raw encoder, but also Block
5805 and LZMA_Alone encoders.
5807 commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
5808 Author: Lasse Collin <lasse.collin@tukaani.org>
5809 Date: Fri Feb 1 08:32:05 2008 +0200
5811 Avoid unneeded function call in raw_common.c.
5813 commit b596fac963c3ff96f615d4d9b427a213ec341211
5814 Author: Lasse Collin <lasse.collin@tukaani.org>
5815 Date: Sat Jan 26 21:42:38 2008 +0200
5819 commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
5820 Author: Lasse Collin <lasse.collin@tukaani.org>
5821 Date: Sat Jan 26 21:40:23 2008 +0200
5823 Added note.GNU-stack to x86 assembler files. It is needed
5824 when using non-executable stack.
5826 commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
5827 Author: Lasse Collin <lasse.collin@tukaani.org>
5828 Date: Sat Jan 26 19:12:50 2008 +0200
5830 Added api/lzma/easy.h. I had forgot to add this to the
5831 git repo. Thanks to Stephan Kulow.
5833 commit 288b232f54c3692cd36f471d4042f51daf3ea79f
5834 Author: Lasse Collin <lasse.collin@tukaani.org>
5835 Date: Sat Jan 26 11:09:17 2008 +0200
5837 Added more test files.
5839 commit c467b0defccf233d0c79234407bc38d7d09574d3
5840 Author: Lasse Collin <lasse.collin@tukaani.org>
5841 Date: Sat Jan 26 10:47:55 2008 +0200
5843 Added more test files.
5845 commit f9842f712732c482f2def9f24437851e57dd83f8
5846 Author: Lasse Collin <lasse.collin@tukaani.org>
5847 Date: Sat Jan 26 00:25:34 2008 +0200
5849 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
5850 of the so called simple filters. If there is demand, limited
5851 support for LZMA_SYNC_FLUSH may be added in future.
5853 After this commit, using LZMA_SYNC_FLUSH shouldn't cause
5854 undefined behavior in any situation.
5856 commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
5857 Author: Lasse Collin <lasse.collin@tukaani.org>
5858 Date: Fri Jan 25 23:50:35 2008 +0200
5860 Added more Multi-Block test files. Improved some
5861 descriptions in the test files' README.
5863 commit 4441e004185cd4c61bda184010eca5924c9dec87
5864 Author: Lasse Collin <lasse.collin@tukaani.org>
5865 Date: Fri Jan 25 23:12:36 2008 +0200
5867 Combine lzma_options_block validation needed by both Block
5868 encoder and decoder, and put the shared things to
5869 block_private.h. Improved the checks a little so that
5870 they may detect too big Compressed Size at initialization
5871 time if lzma_options_block.total_size or .total_limit is
5874 Allow encoding and decoding Blocks with combinations of
5875 fields that are not allowed by the file format specification.
5876 Doing this requires that the application passes such a
5877 combination in lzma_options_lzma; liblzma doesn't do that,
5878 but it's not impossible that someone could find them useful
5879 in some custom file format.
5881 commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
5882 Author: Lasse Collin <lasse.collin@tukaani.org>
5883 Date: Fri Jan 25 19:21:22 2008 +0200
5885 Added test_memlimit.c.
5887 commit 7b8fc7e6b501a32a36636dac79ecb57099269005
5888 Author: Lasse Collin <lasse.collin@tukaani.org>
5889 Date: Fri Jan 25 19:20:28 2008 +0200
5891 Improved the memory limitter:
5892 - Added lzma_memlimit_max() and lzma_memlimit_reached()
5894 - Added simple estimation of malloc()'s memory usage
5896 - Fixed integer overflow detection in lzma_memlimit_alloc().
5897 - Made some white space cleanups and added more comments.
5899 The description of lzma_memlimit_max() in memlimit.h is bad
5900 and should be improved.
5902 commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
5903 Author: Lasse Collin <lasse.collin@tukaani.org>
5904 Date: Fri Jan 25 13:55:52 2008 +0200
5906 Use more parenthesis in succeed() macro in tests/tests.h.
5908 commit 1fd76d488179580d37f31ee11948f4932aed31fd
5909 Author: Lasse Collin <lasse.collin@tukaani.org>
5910 Date: Thu Jan 24 14:49:34 2008 +0200
5912 Added more Multi-Block Stream test files.
5914 commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
5915 Author: Lasse Collin <lasse.collin@tukaani.org>
5916 Date: Thu Jan 24 00:46:05 2008 +0200
5918 Added bunch of test files containing Multi-Block Streams.
5920 commit db9df0a9609c01a00a227329fb96e983971040f5
5921 Author: Lasse Collin <lasse.collin@tukaani.org>
5922 Date: Wed Jan 23 23:43:00 2008 +0200
5924 Fix decoding of empty Metadata Blocks, that don't have
5925 even the Metadata Flags field. Earlier the code allowed
5926 such files; now they are prohibited as the file format
5927 specification requires.
5929 commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
5930 Author: Lasse Collin <lasse.collin@tukaani.org>
5931 Date: Wed Jan 23 23:38:18 2008 +0200
5933 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
5934 lzma_metadata.header_metadata_size was not properly set to
5935 zero if the Metadata had only the Metadata Flags field.
5937 commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
5938 Author: Lasse Collin <lasse.collin@tukaani.org>
5939 Date: Wed Jan 23 23:35:49 2008 +0200
5941 Fix decoding of Extra Records that have empty Data.
5943 commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
5944 Author: Lasse Collin <lasse.collin@tukaani.org>
5945 Date: Wed Jan 23 22:02:38 2008 +0200
5947 Add the trailing '\0' to lzma_extra.data as the API header
5950 commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
5951 Author: Lasse Collin <lasse.collin@tukaani.org>
5952 Date: Wed Jan 23 21:21:21 2008 +0200
5954 Added debug/full_flush.c.
5956 commit ae0cd09a666a1682da8fc09487322227679e218d
5957 Author: Lasse Collin <lasse.collin@tukaani.org>
5958 Date: Wed Jan 23 21:05:33 2008 +0200
5960 Return LZMA_STREAM_END instead of LZMA_OK if
5961 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
5962 there's no unfinished Block open.
5964 commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
5965 Author: Lasse Collin <lasse.collin@tukaani.org>
5966 Date: Wed Jan 23 20:05:01 2008 +0200
5968 Added bad-single-none-footer_filter_flags.lzma and
5969 bad-single-none-too_long_vli.lzma.
5971 commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
5972 Author: Lasse Collin <lasse.collin@tukaani.org>
5973 Date: Wed Jan 23 13:42:35 2008 +0200
5977 commit 980f65a9a10160c4d105767871e3002b9aaba3e0
5978 Author: Lasse Collin <lasse.collin@tukaani.org>
5979 Date: Wed Jan 23 13:40:45 2008 +0200
5981 Fix a memory leak in the Subblock encoder.
5983 commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
5984 Author: Lasse Collin <lasse.collin@tukaani.org>
5985 Date: Wed Jan 23 13:36:07 2008 +0200
5987 Fix Size of Header Metadata Block handling. Now
5988 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
5989 is not allowed at all. To indicate missing Header Metadata
5990 Block, header_metadata_size must be set to zero. This is
5991 what Metadata decoder does after this patch too.
5993 Note that other missing fields in lzma_metadata are still
5994 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
5995 illogical as it sounds at first, because missing Size of
5996 Header Metadata Block means that Header Metadata Block is
5997 not present in the Stream. With other Metadata fields,
5998 a missing field means only that the value is unknown.
6000 commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
6001 Author: Lasse Collin <lasse.collin@tukaani.org>
6002 Date: Wed Jan 23 13:15:55 2008 +0200
6004 Fix a memory leak in metadata_decoder.c.
6006 commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
6007 Author: Lasse Collin <lasse.collin@tukaani.org>
6008 Date: Wed Jan 23 13:13:58 2008 +0200
6010 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
6011 just moved to problem. Now it's really fixed.
6013 commit 67321de963ccf69410b3868b8e31534fe18a90de
6014 Author: Lasse Collin <lasse.collin@tukaani.org>
6015 Date: Wed Jan 23 00:21:04 2008 +0200
6017 Take advantage of return_if_error() macro in
6018 lzma_info_metadata_set() in info.c.
6020 commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
6021 Author: Lasse Collin <lasse.collin@tukaani.org>
6022 Date: Wed Jan 23 00:18:32 2008 +0200
6024 Fixed a dangling pointer that caused invalid free().
6026 commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
6027 Author: Lasse Collin <lasse.collin@tukaani.org>
6028 Date: Tue Jan 22 22:49:24 2008 +0200
6030 Added lzma_easy_* functions. These should make using
6031 liblzma as easy as using zlib, because the easy API
6032 don't require developers to know any fancy LZMA options.
6034 Note that Multi-Block Stream encoding is currently broken.
6035 The easy API should be OK, the bug(s) are elsewhere.
6037 commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
6038 Author: Lasse Collin <lasse.collin@tukaani.org>
6039 Date: Tue Jan 22 21:16:22 2008 +0200
6041 Fix Multi-Block Stream encoder's EOPM usage.
6043 commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
6044 Author: Lasse Collin <lasse.collin@tukaani.org>
6045 Date: Tue Jan 22 00:15:11 2008 +0200
6047 Made lzma_extra pointers const in lzma_options_stream.
6049 commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
6050 Author: Lasse Collin <lasse.collin@tukaani.org>
6051 Date: Sun Jan 20 20:15:21 2008 +0200
6053 Updated debug/sync_flush.c.
6055 commit d53e9b77054cfade6a643e77d085273a348b189c
6056 Author: Lasse Collin <lasse.collin@tukaani.org>
6057 Date: Sun Jan 20 20:14:26 2008 +0200
6059 Added debug/repeat.c.
6061 commit 107259e306bcfc2336a0fb870fb58034c28faa52
6062 Author: Lasse Collin <lasse.collin@tukaani.org>
6063 Date: Sun Jan 20 20:12:58 2008 +0200
6065 Fix alignment handling bugs in Subblock encoder.
6067 This leaves one known alignment bug unfixed: If repeat count
6068 doesn't fit into 28-bit integer, the encoder has to split
6069 this to multiple Subblocks with Subblock Type `Repeating Data'.
6070 The extra Subblocks may have wrong alignment. Correct alignment
6071 is restored after the split Repeating Data has been completely
6074 Since the encoder doesn't even try to fix the alignment unless
6075 the size of Data is at least 4 bytes, to trigger this bug you
6076 need at least 4 GiB of repeating data with sequence length of
6077 4 or more bytes. Since the worst thing done by this bug is
6078 misaligned data (no data corruption), this bug simply isn't
6079 worth fixing, because a proper fix isn't simple.
6081 commit e141fe18950400faaa3503ff88ac20eacd73e88c
6082 Author: Lasse Collin <lasse.collin@tukaani.org>
6083 Date: Sat Jan 19 21:16:33 2008 +0200
6085 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
6086 The API for handing Subfilters was changed to make it
6087 consistent with LZMA_SYNC_FLUSH.
6089 A few sanity checks were added for Subfilter handling. Some
6090 small bugs were fixed. More comments were added.
6092 commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
6093 Author: Lasse Collin <lasse.collin@tukaani.org>
6094 Date: Sat Jan 19 15:19:21 2008 +0200
6096 Revised the Delta filter implementation. The initialization
6097 function is still shared between encoder and decoder, but the
6098 actual coding is in separate files for encoder and decoder.
6100 There are now separate functions for the actual delta
6101 calculation depending on if Delta is the last filter in the
6102 chain or not. If it is the last, the new code copies the
6103 data from input to output buffer and does the delta
6104 calculation at the same time. The old code first copied the
6105 data, then did the delta in the target buffer, which required
6106 reading through the data twice.
6108 Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
6109 This doesn't change anything in the file format.
6111 commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
6112 Author: Lasse Collin <lasse.collin@tukaani.org>
6113 Date: Fri Jan 18 20:18:08 2008 +0200
6115 Added the debug directory and the first debug tool
6116 (sync_flush). These tools are not built unless the
6117 user runs "make" in the debug directory.
6119 commit 0ae3208db94585eb8294b97ded387de0a3a07646
6120 Author: Lasse Collin <lasse.collin@tukaani.org>
6121 Date: Fri Jan 18 20:13:00 2008 +0200
6123 Added test files to test usage of flush marker in LZMA.
6125 commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
6126 Author: Lasse Collin <lasse.collin@tukaani.org>
6127 Date: Fri Jan 18 20:02:52 2008 +0200
6129 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
6130 That code is now almost completely in LZ coder, where
6131 it can be shared with other LZ77-based algorithms in
6134 commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
6135 Author: Lasse Collin <lasse.collin@tukaani.org>
6136 Date: Fri Jan 18 17:21:24 2008 +0200
6138 Don't add -g to CFLAGS when --enable-debug is specified.
6139 It's the job of the user to put that in CFLAGS.
6141 commit 61d1784d8f1761d979a6da6e223e279ca33815e6
6142 Author: Lasse Collin <lasse.collin@tukaani.org>
6143 Date: Fri Jan 18 14:17:37 2008 +0200
6145 Set stdin and stdout to binary mode on Windows. This patch is
6146 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
6147 from lzma-utils-legacy.git. I don't know if the new code base
6148 builds on Windows, but this is a start.
6150 commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
6151 Author: Lasse Collin <lasse.collin@tukaani.org>
6152 Date: Fri Jan 18 00:50:29 2008 +0200
6154 Added test_compress.sh and bunch of files needed by it.
6155 This new set of tests compress and decompress several
6156 test files with many different compression options.
6157 This set of tests will be extended later.
6159 commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
6160 Author: Lasse Collin <lasse.collin@tukaani.org>
6161 Date: Thu Jan 17 18:56:53 2008 +0200
6163 Subblock decoder: Don't exit the main loop in decode_buffer()
6164 too early if we hit End of Input while decoding a Subblock of
6165 type Repeating Data. To keep the loop termination condition
6166 elegant, the order of enumerations in coder->sequence were
6169 To keep the case-labels in roughly the same order as the
6170 enumerations in coder->sequence, large chunks of code was
6171 moved around. This made the diff big and ugly compared to
6172 the amount of the actual changes made.
6174 commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
6175 Author: Lasse Collin <lasse.collin@tukaani.org>
6176 Date: Thu Jan 17 17:39:42 2008 +0200
6178 Fix wrong too small size of argument unfiltered_max
6179 in ia64_coder_init(). It triggered assert() in
6180 simple_coder.c, and could have caused a buffer overflow.
6182 This error was probably a copypaste mistake, since most
6183 of the simple filters use unfiltered_max = 4.
6185 commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
6186 Author: Lasse Collin <lasse.collin@tukaani.org>
6187 Date: Thu Jan 17 17:27:45 2008 +0200
6189 Added --delta to the output of "lzma --help".
6191 commit f88590e0014b38d40465937c19f25f05f16c79ae
6192 Author: Lasse Collin <lasse.collin@tukaani.org>
6193 Date: Thu Jan 17 13:14:20 2008 +0200
6195 Fix Subblock docoder: If Subblock filter was used with known
6196 Uncompressed Size, and the last output byte was from RLE,
6197 the code didn't stop decoding as it should have done.
6199 commit bc0b945ca376e333077644d2f7fd54c2848aab8a
6200 Author: Lasse Collin <lasse.collin@tukaani.org>
6201 Date: Wed Jan 16 16:33:37 2008 +0200
6203 Tiny non-technical edits to file-format.txt.
6205 commit 7599bb7064ccf007f054595dedda7927af868252
6206 Author: Lasse Collin <lasse.collin@tukaani.org>
6207 Date: Wed Jan 16 14:48:04 2008 +0200
6209 Plugged a memory leak in stream_decoder.c.
6211 commit 0b581539311f3712946e81e747839f8fb5f441a7
6212 Author: Lasse Collin <lasse.collin@tukaani.org>
6213 Date: Wed Jan 16 14:47:27 2008 +0200
6215 Added memory leak detection to lzmadec.c.
6217 commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
6218 Author: Lasse Collin <lasse.collin@tukaani.org>
6219 Date: Wed Jan 16 14:46:50 2008 +0200
6221 Added lzma_memlimit_count().
6223 commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
6224 Author: Lasse Collin <lasse.collin@tukaani.org>
6225 Date: Wed Jan 16 14:31:44 2008 +0200
6227 Added ARRAY_SIZE(array) macro.
6229 commit 9bc33a54cbf83952130adbcb1be32c6882485416
6230 Author: Lasse Collin <lasse.collin@tukaani.org>
6231 Date: Wed Jan 16 13:27:03 2008 +0200
6233 Make Uncompresed Size validation more strict
6236 commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
6237 Author: Lasse Collin <lasse.collin@tukaani.org>
6238 Date: Tue Jan 15 17:46:59 2008 +0200
6240 Free the allocated memory in lzmadec if debugging is
6241 enabled. This should make it possible to detect possible
6242 memory leaks with Valgrind.
6244 commit 8235e6e5b2878f76633afcda9a334640db503ef5
6245 Author: Lasse Collin <lasse.collin@tukaani.org>
6246 Date: Tue Jan 15 16:25:38 2008 +0200
6248 Fix memory leaks from test_block_header.c.
6250 commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
6251 Author: Lasse Collin <lasse.collin@tukaani.org>
6252 Date: Tue Jan 15 14:23:35 2008 +0200
6254 Use fastpos.h when encoding LZMA dictionary size in
6255 Filter Flags encoder.
6257 commit e5728142a2048979f5c0c2149ce71ae952a092e1
6258 Author: Lasse Collin <lasse.collin@tukaani.org>
6259 Date: Tue Jan 15 14:02:22 2008 +0200
6261 Revised the fastpos code. It now uses the slightly faster
6262 table-based version from LZMA SDK 4.57. This should be
6263 fast on most systems.
6265 A simpler and smaller alternative version is also provided.
6266 On some CPUs this can be even a little faster than the
6267 default table-based version (see comments in fastpos.h),
6268 but on most systems the table-based code is faster.
6270 commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
6271 Author: Lasse Collin <lasse.collin@tukaani.org>
6272 Date: Tue Jan 15 13:32:13 2008 +0200
6276 commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
6277 Author: Lasse Collin <lasse.collin@tukaani.org>
6278 Date: Tue Jan 15 13:29:14 2008 +0200
6280 Fixed assembler detection in configure.ac, and added
6281 detection for x86_64.
6283 commit 54ec204f58287f50d3976288295da4188a19192b
6284 Author: Lasse Collin <lasse.collin@tukaani.org>
6285 Date: Tue Jan 15 12:20:41 2008 +0200
6287 Omit invalid space from printf() format string
6288 in price_table_gen.c.
6290 commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
6291 Author: Lasse Collin <lasse.collin@tukaani.org>
6292 Date: Tue Jan 15 09:54:34 2008 +0200
6294 Removed a few unused macros from lzma_common.h.
6296 commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
6297 Author: Lasse Collin <lasse.collin@tukaani.org>
6298 Date: Tue Jan 15 08:37:42 2008 +0200
6300 Fix a typo in lzma_encoder.c.
6302 commit 9f9b1983013048f2142e8bc7e240149d2687bedc
6303 Author: Lasse Collin <lasse.collin@tukaani.org>
6304 Date: Tue Jan 15 08:36:25 2008 +0200
6306 Convert bittree_get_price() and bittree_reverse_get_price()
6307 from macros to inline functions.
6309 commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
6310 Author: Lasse Collin <lasse.collin@tukaani.org>
6311 Date: Tue Jan 15 07:44:59 2008 +0200
6313 Fix CRC code in case --enable-small is used.
6315 commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
6316 Author: Lasse Collin <lasse.collin@tukaani.org>
6317 Date: Tue Jan 15 07:41:39 2008 +0200
6319 Fix typo in test_index.c.
6321 commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
6322 Author: Lasse Collin <lasse.collin@tukaani.org>
6323 Date: Tue Jan 15 07:40:21 2008 +0200
6325 Added precomputed range coder probability price table.
6327 commit 362dc3843b373c1007a50a4719f378981f18ae03
6328 Author: Lasse Collin <lasse.collin@tukaani.org>
6329 Date: Mon Jan 14 13:42:43 2008 +0200
6331 Remove RC_BUFFER_SIZE from lzma_encoder_private.h
6332 and replace it with a sanity check.
6334 commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
6335 Author: Lasse Collin <lasse.collin@tukaani.org>
6336 Date: Mon Jan 14 13:39:54 2008 +0200
6338 Major changes to LZ encoder, LZMA encoder, and range encoder.
6339 These changes implement support for LZMA_SYNC_FLUSH in LZMA
6340 encoder, and move the temporary buffer needed by range encoder
6341 from lzma_range_encoder structure to lzma_lz_encoder.
6343 commit b59ef3973781f892c0a72b5e5934194567100be5
6344 Author: Lasse Collin <lasse.collin@tukaani.org>
6345 Date: Mon Jan 14 13:34:29 2008 +0200
6347 Added one assert() to process.c of the command line tool.
6349 commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
6350 Author: Lasse Collin <lasse.collin@tukaani.org>
6351 Date: Mon Jan 14 12:09:52 2008 +0200
6353 Don't use coder->lz.stream_end_was_reached in assertions
6356 commit 3e09e1c05871f3757f759b801890ccccc9286608
6357 Author: Lasse Collin <lasse.collin@tukaani.org>
6358 Date: Mon Jan 14 12:08:02 2008 +0200
6360 In lzma_read_match_distances(), don't use
6361 coder->lz.stream_end_was_reached. That variable
6362 will be removed, and the check isn't required anyway.
6363 Rearrange the check so that it doesn't make one to
6364 think that there could be an integer overflow.
6366 commit a670fec8021e5962429689c194148a04c3418872
6367 Author: Lasse Collin <lasse.collin@tukaani.org>
6368 Date: Mon Jan 14 11:56:41 2008 +0200
6370 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
6372 commit 3599dba9570a6972a16b6398d6c838e9b420e985
6373 Author: Lasse Collin <lasse.collin@tukaani.org>
6374 Date: Mon Jan 14 11:54:56 2008 +0200
6376 More fixes to LZMA decoder's flush marker handling.
6378 commit f73c2ab6079ed5675a42b39d584a567befbd4624
6379 Author: Lasse Collin <lasse.collin@tukaani.org>
6380 Date: Thu Jan 10 17:13:42 2008 +0200
6382 Eliminate lzma_lz_encoder.must_move_pos. It's needed
6383 only in one place which isn't performance criticial.
6385 commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
6386 Author: Lasse Collin <lasse.collin@tukaani.org>
6387 Date: Wed Jan 9 20:05:57 2008 +0200
6389 Define HAVE_ASM_X86 when x86 assembler optimizations are
6390 used. This #define will be useful for inline assembly.
6392 commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
6393 Author: Lasse Collin <lasse.collin@tukaani.org>
6394 Date: Wed Jan 9 12:06:46 2008 +0200
6396 Added good-single-none-empty_3.lzma and
6397 bad-single-none-empty.lzma.
6399 commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
6400 Author: Lasse Collin <lasse.collin@tukaani.org>
6401 Date: Tue Jan 8 23:11:59 2008 +0200
6403 Take advantage of return_if_error() in block_decoder.c.
6405 commit 97d5fa82077e57815dfad995dc393c2809a78539
6406 Author: Lasse Collin <lasse.collin@tukaani.org>
6407 Date: Tue Jan 8 23:10:57 2008 +0200
6409 Updated tests/files/README.
6411 commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
6412 Author: Lasse Collin <lasse.collin@tukaani.org>
6413 Date: Tue Jan 8 23:05:40 2008 +0200
6415 Added test files with empty Compressed Data.
6417 commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
6418 Author: Lasse Collin <lasse.collin@tukaani.org>
6419 Date: Tue Jan 8 22:58:42 2008 +0200
6421 Fix decoding of Blocks that have only Block Header.
6423 commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
6424 Author: Lasse Collin <lasse.collin@tukaani.org>
6425 Date: Tue Jan 8 22:27:46 2008 +0200
6427 Added good-single-subblock_implicit.lzma.
6429 commit faeac7b7aca75f86afed1e7cc06279d9d497c627
6430 Author: Lasse Collin <lasse.collin@tukaani.org>
6431 Date: Tue Jan 8 18:50:30 2008 +0200
6433 Disable CRC32 from Block Headers when --check=none
6436 commit a751126dbb656767ed4666cf0e5d3e17349d93d1
6437 Author: Lasse Collin <lasse.collin@tukaani.org>
6438 Date: Tue Jan 8 13:36:29 2008 +0200
6440 Fixed encoding of empty files. Arguments to is_size_valid()
6441 were in wrong order in block_encoder.c.
6443 commit 9080267603b1006c4867c823307dca9df8be0d20
6444 Author: Lasse Collin <lasse.collin@tukaani.org>
6445 Date: Tue Jan 8 13:35:36 2008 +0200
6447 Added a few test files.
6449 commit b4943ccf73b64fc93a90a23474509c316f55eb2b
6450 Author: Lasse Collin <lasse.collin@tukaani.org>
6451 Date: Tue Jan 8 12:29:58 2008 +0200
6453 Avoid using ! in test_files.sh, because that doesn't work
6454 with some ancient /bin/sh versions.
6456 commit e2417b2b9134f3f65e14b61e23cd3644d8954353
6457 Author: Lasse Collin <lasse.collin@tukaani.org>
6458 Date: Tue Jan 8 00:48:30 2008 +0200
6460 More pre-C99 inttypes.h compatibility fixes. Now the code
6461 should work even if the system has no inttypes.h.
6463 commit 5d227e51c23639423f4ade06aabb54e131f8505e
6464 Author: Lasse Collin <lasse.collin@tukaani.org>
6465 Date: Mon Jan 7 23:25:32 2008 +0200
6467 Updated fi.po although it's currently pretty much crap.
6469 commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
6470 Author: Lasse Collin <lasse.collin@tukaani.org>
6471 Date: Mon Jan 7 23:14:25 2008 +0200
6473 Test for $GCC = yes instead of if it is non-empty. This
6474 way it is possible to use ac_cv_c_compiler_gnu=no to
6475 force configure to think it is using non-GNU C compiler.
6477 commit 3dbbea82b74bb841c995ad332a3aeca613015e10
6478 Author: Lasse Collin <lasse.collin@tukaani.org>
6479 Date: Mon Jan 7 21:49:41 2008 +0200
6481 Added test_files.sh to tests/Makefile.am so it gets
6482 included in the tarball with "make dist".
6484 commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
6485 Author: Lasse Collin <lasse.collin@tukaani.org>
6486 Date: Mon Jan 7 18:22:24 2008 +0200
6488 Cosmetic edit to test_files.sh.
6490 commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
6491 Author: Lasse Collin <lasse.collin@tukaani.org>
6492 Date: Mon Jan 7 18:09:44 2008 +0200
6494 Added tests/files/README.
6496 commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
6497 Author: Lasse Collin <lasse.collin@tukaani.org>
6498 Date: Mon Jan 7 14:20:57 2008 +0200
6500 Tell in COPYING that everything in tests/files is
6503 commit 3502b3e1d00251d3c8dda96079440705c28d8225
6504 Author: Lasse Collin <lasse.collin@tukaani.org>
6505 Date: Mon Jan 7 14:19:05 2008 +0200
6507 Cleaned up the tests/files directory.
6509 commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
6510 Author: Lasse Collin <lasse.collin@tukaani.org>
6511 Date: Mon Jan 7 13:49:19 2008 +0200
6513 Added test_files.sh to test decoding of the files in
6514 the tests/files directory. It doesn't test the malicious
6517 commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
6518 Author: Lasse Collin <lasse.collin@tukaani.org>
6519 Date: Mon Jan 7 11:23:13 2008 +0200
6521 Updated README regarding the assembler optimizations.
6523 commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
6524 Author: Lasse Collin <lasse.collin@tukaani.org>
6525 Date: Mon Jan 7 10:58:00 2008 +0200
6529 commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
6530 Author: Lasse Collin <lasse.collin@tukaani.org>
6531 Date: Sun Jan 6 21:47:17 2008 +0200
6533 Cosmetic changes to configure.ac.
6535 commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
6536 Author: Lasse Collin <lasse.collin@tukaani.org>
6537 Date: Sun Jan 6 19:46:38 2008 +0200
6539 Automatically disable assembler code on Darwin x86.
6540 Darwin has different ABI than GNU+Linux and Solaris,
6541 thus the assembler code doesn't assemble on Darwin.
6543 commit c15a7abf66e3a70792f7444115e484c7981c8284
6544 Author: Lasse Collin <lasse.collin@tukaani.org>
6545 Date: Sun Jan 6 19:45:27 2008 +0200
6547 With printf(), use PRIu64 with a cast to uint64_t instead
6548 of %zu, because some pre-C99 libc versions don't support %zu.
6550 commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
6551 Author: Lasse Collin <lasse.collin@tukaani.org>
6552 Date: Sun Jan 6 16:27:41 2008 +0200
6554 Introduced compatibility with systems that have pre-C99
6555 or no inttypes.h. This is useful when the compiler has
6556 good enough support for C99, but libc headers don't.
6558 Changed liblzma API so that sys/types.h and inttypes.h
6559 have to be #included before #including lzma.h. On systems
6560 that don't have C99 inttypes.h, it's the problem of the
6561 applications to provide the required types and macros
6562 before #including lzma.h.
6564 If lzma.h defined the missing types and macros, it could
6565 conflict with third-party applications whose configure
6566 has detected that the types are missing and defined them
6567 in config.h already. An alternative would have been
6568 introducing lzma_uint32 and similar types, but that would
6569 just be an extra pain on modern systems.
6571 commit a71864f77dfb76b5d78a270641539947c312583a
6572 Author: Lasse Collin <lasse.collin@tukaani.org>
6573 Date: Sat Jan 5 19:57:00 2008 +0200
6575 Fix typo in comment (INT64_MAX -> UINT64_MAX).
6577 commit 072927905a3b66281c6311b4b351caa501d8b73a
6578 Author: Lasse Collin <lasse.collin@tukaani.org>
6579 Date: Sat Jan 5 19:42:04 2008 +0200
6581 Rearranged testing of GCC-specific flags.
6583 commit d160ee32598c6d1cd9054ef019e8c9331208b188
6584 Author: Lasse Collin <lasse.collin@tukaani.org>
6585 Date: Sat Jan 5 01:20:24 2008 +0200
6587 Another bug fix for flush marker detection.
6589 commit fc67f79f607cbfa78c6f47a69dec098d8659b162
6590 Author: Lasse Collin <lasse.collin@tukaani.org>
6591 Date: Fri Jan 4 21:37:01 2008 +0200
6593 Fix stupid bugs in flush marker detection.
6595 commit 0029cbbabe87d491fc046a55a629a6d556010baa
6596 Author: Lasse Collin <lasse.collin@tukaani.org>
6597 Date: Fri Jan 4 21:30:33 2008 +0200
6599 Added support for flush marker, which will be in files
6600 that use LZMA_SYNC_FLUSH with encoder (not implemented
6601 yet). This is a new feature in the raw LZMA format,
6602 which isn't supported by old decoders. This shouldn't
6603 be a problem in practice, since lzma_alone_encoder()
6604 will not allow LZMA_SYNC_FLUSH, and thus not allow
6605 creating files on decodable with old decoders.
6607 Made lzma_decoder.c to require tab width of 4 characters
6608 if one wants to fit the code in 80 columns. This makes
6609 the code easier to read.
6611 commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
6612 Author: Lasse Collin <lasse.collin@tukaani.org>
6613 Date: Fri Jan 4 20:45:05 2008 +0200
6615 Moved range decoder initialization (reading the first
6616 five input bytes) from LZMA decoder to range decoder
6617 header. Did the same for decoding of direct bits.
6619 commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
6620 Author: Lasse Collin <lasse.collin@tukaani.org>
6621 Date: Fri Dec 14 11:15:21 2007 +0200
6623 Added a note to README that --disable-assembler
6624 must be used on Darwin.
6626 commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
6627 Author: Lasse Collin <lasse.collin@tukaani.org>
6628 Date: Fri Dec 14 10:07:10 2007 +0200
6630 Use the filename suffix .S instead of .s for assembler files
6631 so that the preprocessor removes the /* */ style comments,
6632 which are not supported by some non-GNU assemblers (Solaris)
6633 that otherwise work with this code.
6635 commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
6636 Author: Lasse Collin <lasse.collin@tukaani.org>
6637 Date: Fri Dec 14 09:59:05 2007 +0200
6639 Fixed wrong symbol name in crc64_x86.s.
6641 commit 2881570df6803eed2fe550af34574e8e61794804
6642 Author: Lasse Collin <lasse.collin@tukaani.org>
6643 Date: Fri Dec 14 09:53:24 2007 +0200
6645 Use .globl instead of .global in x86 assembler code for
6646 better portability. Still needs fixing the commenting.
6648 commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
6649 Author: Lasse Collin <lasse.collin@tukaani.org>
6650 Date: Thu Dec 13 20:14:37 2007 +0200
6652 Fixed a few short options that take an argument.
6653 short_opts[] was missing colons to indicate
6654 required argument. Thanks to Fabio Pedretti for
6657 commit 918bcb0e0728d2d976621e9f35b56f224f11d989
6658 Author: Lasse Collin <lasse.collin@tukaani.org>
6659 Date: Tue Dec 11 17:08:04 2007 +0200
6661 Removed uncompressed size tracking from Delta encoder too.
6663 commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
6664 Author: Lasse Collin <lasse.collin@tukaani.org>
6665 Date: Tue Dec 11 16:49:19 2007 +0200
6667 Remove uncompressed size tracking from the filter encoders.
6668 It's not strictly needed there, and just complicates the
6669 code. LZ encoder never even had this feature.
6671 The primary reason to have uncompressed size tracking in
6672 filter encoders was validating that the application
6673 doesn't give different amount of input that it had
6674 promised. A side effect was to validate internal workings
6677 Uncompressed size tracking is still present in the Block
6678 encoder. Maybe it should be added to LZMA_Alone and raw
6679 encoders too. It's simpler to have one coder just to
6680 validate the uncompressed size instead of having it
6683 commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
6684 Author: Lasse Collin <lasse.collin@tukaani.org>
6685 Date: Tue Dec 11 14:10:53 2007 +0200
6687 Get rid of no-NLS gnulib. I don't know how to get it
6688 working with Automake. People who want smaller lzmadec
6689 should use --disable-nls on non-GNU systems.
6691 commit ce8b036a6c7a43b290356b673d953f6d76b2be64
6692 Author: Lasse Collin <lasse.collin@tukaani.org>
6693 Date: Tue Dec 11 14:09:35 2007 +0200
6695 Fixed a typo in tests/Makefile.am which prevented
6696 building the tests if gnulib was needed.
6698 commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
6699 Author: Lasse Collin <lasse.collin@tukaani.org>
6700 Date: Tue Dec 11 11:18:58 2007 +0200
6702 Fixed wrong type of flags_size in Subblock encoder.
6704 commit ce64df716243fdc40359090d1f6541f3a4f5f21a
6705 Author: Lasse Collin <lasse.collin@tukaani.org>
6706 Date: Mon Dec 10 20:44:16 2007 +0200
6708 Bumped version number to 4.42.3alpha.
6710 commit b499a0403ea5c41d6a25b40275eb6c57643052ce
6711 Author: Lasse Collin <lasse.collin@tukaani.org>
6712 Date: Mon Dec 10 15:02:50 2007 +0200
6714 Disabled some unneeded warnings and made "make dist" work.
6716 commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
6717 Author: Lasse Collin <lasse.collin@tukaani.org>
6718 Date: Sun Dec 9 21:43:15 2007 +0200
6720 Added LZMA_SYNC_FLUSH support to the Copy filter.
6722 commit 329c272d501e88793dda5540358d55c12428d194
6723 Author: Lasse Collin <lasse.collin@tukaani.org>
6724 Date: Sun Dec 9 17:14:07 2007 +0200
6726 Added missing LZMA_API to the C versions of the CRC functions.
6727 The x86 assembler versions were already OK.
6729 commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
6730 Author: Jim Meyering <meyering@redhat.com>
6731 Date: Sun Dec 9 15:34:25 2007 +0100
6733 * tests/test_block_header.c (test3): Remove duplicate initializer.
6735 commit 07ac881779a8477f2c1ab112b91a129e24aa743c
6736 Author: Lasse Collin <lasse.collin@tukaani.org>
6737 Date: Sun Dec 9 17:06:45 2007 +0200
6739 Take advantage of return_if_error() macro in more places.
6740 Cleaned Subblock filter's initialization code too.
6742 commit 41338717964f510ee61d70b25bd4c502ec9f77cf
6743 Author: Lasse Collin <lasse.collin@tukaani.org>
6744 Date: Sun Dec 9 12:13:01 2007 +0200
6746 Added a bunch of .lzma test files.
6748 commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
6749 Author: Lasse Collin <lasse.collin@tukaani.org>
6750 Date: Sun Dec 9 11:24:48 2007 +0200
6752 Re-enabled the security checks in Subblock decoder
6753 that were disabled for debugging reasons.
6755 commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
6756 Author: Lasse Collin <lasse.collin@tukaani.org>
6757 Date: Sun Dec 9 11:03:28 2007 +0200
6759 Fixed the tests to build with -Werror.
6761 commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
6762 Author: Lasse Collin <lasse.collin@tukaani.org>
6763 Date: Sun Dec 9 00:42:33 2007 +0200