ChangeLog revision 263285
1263285Sdelphijcommit b69900ed0b2f914fc6c0a180dcb522dbe5b80ea7
2263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
3263285SdelphijDate:   Sun Jun 30 18:02:27 2013 +0300
4263285Sdelphij
5263285Sdelphij    Man pages: Use similar syntax for synopsis as in xz.
6263285Sdelphij    
7263285Sdelphij    The man pages of lzmainfo, xzmore, and xzdec had similar
8263285Sdelphij    constructs as the man page of xz had before the commit
9263285Sdelphij    eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
10263285Sdelphij    didn't mention these man pages in his bug report, but
11263285Sdelphij    it's nice to be consistent.
12263285Sdelphij
13263285Sdelphijcommit cf4a1e1879d89be314ef3c064bd2656ea452f87e
14263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
15263285SdelphijDate:   Sun Jun 30 15:55:09 2013 +0300
16263285Sdelphij
17263285Sdelphij    Update NEWS for 5.0.5.
18263285Sdelphij
19263285Sdelphijcommit cb94bb6d1f34e1e93c2d634ea9c3b7dfb3981d05
20263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
21263285SdelphijDate:   Sun Jun 30 15:54:38 2013 +0300
22263285Sdelphij
23263285Sdelphij    Bump version and soname for 5.0.5.
24263285Sdelphij
25263285Sdelphijcommit b7dee202d5b041ccae028d0c5433b83cecbe9e5d
26263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
27263285SdelphijDate:   Fri Jun 28 23:56:17 2013 +0300
28263285Sdelphij
29263285Sdelphij    xz: Fix return value type in io_write_buf().
30263285Sdelphij    
31263285Sdelphij    It didn't affect the behavior of the code since -1
32263285Sdelphij    becomes true anyway.
33263285Sdelphij
34263285Sdelphijcommit 265e7b44d804b47373f10b7da28350db7611cea6
35263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
36263285SdelphijDate:   Fri Jun 28 18:46:13 2013 +0300
37263285Sdelphij
38263285Sdelphij    xz: Remove an outdated NetBSD-specific comment.
39263285Sdelphij    
40263285Sdelphij    Nowadays errno == EFTYPE is documented in open(2).
41263285Sdelphij
42263285Sdelphijcommit 78c2f8db902195468b8249c432252a6b281db836
43263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
44263285SdelphijDate:   Fri Jun 28 18:09:47 2013 +0300
45263285Sdelphij
46263285Sdelphij    xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
47263285Sdelphij    
48263285Sdelphij    POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
49263285Sdelphij    error and "other than -1" on success. This is how it is
50263285Sdelphij    documented e.g. on OpenBSD too. On Linux, success with
51263285Sdelphij    F_SETFL is always 0 (at least accorinding to fcntl(2)
52263285Sdelphij    from man-pages 3.51).
53263285Sdelphij
54263285Sdelphijcommit 91750dff8f2c654ff636f12a2acdffe5492374b3
55263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
56263285SdelphijDate:   Fri Jun 28 17:36:47 2013 +0300
57263285Sdelphij
58263285Sdelphij    xz: Fix use of wrong variable in a fcntl() call.
59263285Sdelphij    
60263285Sdelphij    Due to a wrong variable name, when writing a sparse file
61263285Sdelphij    to standard output, *all* file status flags were cleared
62263285Sdelphij    (to the extent the operating system allowed it) instead of
63263285Sdelphij    only clearing the O_APPEND flag. In practice this worked
64263285Sdelphij    fine in the common situations on GNU/Linux, but I didn't
65263285Sdelphij    check how it behaved elsewhere.
66263285Sdelphij    
67263285Sdelphij    The original flags were still restored correctly. I still
68263285Sdelphij    changed the code to use a separate boolean variable to
69263285Sdelphij    indicate when the flags should be restored instead of
70263285Sdelphij    relying on a special value in stdout_flags.
71263285Sdelphij
72263285Sdelphijcommit e11888a79a4a77a69afde60445880d44f63d01aa
73263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
74263285SdelphijDate:   Wed Jun 26 13:30:57 2013 +0300
75263285Sdelphij
76263285Sdelphij    xz: Check the value of lzma_stream_flags.version in --list.
77263285Sdelphij    
78263285Sdelphij    It is a no-op for now, but if an old xz version is used
79263285Sdelphij    together with a newer liblzma that supports something new,
80263285Sdelphij    then this check becomes important and will stop the old xz
81263285Sdelphij    from trying to parse files that it won't understand.
82263285Sdelphij
83263285Sdelphijcommit f39ddd88f3222219ada88998cf30abfdd3e0e96c
84263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
85263285SdelphijDate:   Wed Jun 26 12:17:00 2013 +0300
86263285Sdelphij
87263285Sdelphij    Build: Require Automake 1.12 and use serial-tests option.
88263285Sdelphij    
89263285Sdelphij    It should actually still work with Automake 1.10 if
90263285Sdelphij    the serial-tests option is removed. Automake 1.13 started
91263285Sdelphij    using parallel tests by default and the option to get
92263285Sdelphij    the old behavior isn't supported before 1.12.
93263285Sdelphij    
94263285Sdelphij    At least for now, parallel tests don't improve anything
95263285Sdelphij    in XZ Utils but they hide the progress output from
96263285Sdelphij    test_compress.sh.
97263285Sdelphij
98263285Sdelphijcommit cb84e278027a90e9827a6f4d3bb0b4d4744a2fbb
99263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
100263285SdelphijDate:   Sun Jun 23 17:36:47 2013 +0300
101263285Sdelphij
102263285Sdelphij    xz: Validate Uncompressed Size from Block Header in list.c.
103263285Sdelphij    
104263285Sdelphij    This affects only "xz -lvv". Normal decompression with xz
105263285Sdelphij    already detected if Block Header and Index had mismatched
106263285Sdelphij    Uncompressed Size fields. So this just makes "xz -lvv"
107263285Sdelphij    show such files as corrupt instead of showing the
108263285Sdelphij    Uncompressed Size from Index.
109263285Sdelphij
110263285Sdelphijcommit f01780fce454c7489f7dcbf806299b50da5f51b7
111263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
112263285SdelphijDate:   Wed Jun 26 10:58:58 2013 +0300
113263285Sdelphij
114263285Sdelphij    Update THANKS.
115263285Sdelphij
116263285Sdelphijcommit d98ede7d700b892e32d9c2f46563b6ebc566786d
117263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
118263285SdelphijDate:   Fri Jun 21 22:04:45 2013 +0300
119263285Sdelphij
120263285Sdelphij    xz: Make the man page more friendly to doclifter.
121263285Sdelphij    
122263285Sdelphij    Thanks to Eric S. Raymond.
123263285Sdelphij
124263285Sdelphijcommit 19b447b64b3f520cd5b11429000b092f7c76709b
125263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
126263285SdelphijDate:   Fri Jun 21 21:54:59 2013 +0300
127263285Sdelphij
128263285Sdelphij    xz: A couple of man page fixes.
129263285Sdelphij    
130263285Sdelphij    Now the interaction of presets and custom filter chains
131263285Sdelphij    is described correctly. Earlier it contradicted itself.
132263285Sdelphij    
133263285Sdelphij    Thanks to DevHC who reported these issues on IRC to me
134263285Sdelphij    on 2012-12-14.
135263285Sdelphij
136263285Sdelphijcommit 45edf2966fc9a4d2eae8f84b2fa027fb4fa1df8b
137263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
138263285SdelphijDate:   Fri Jun 21 21:50:26 2013 +0300
139263285Sdelphij
140263285Sdelphij    xz: Fix interaction between preset and custom filter chains.
141263285Sdelphij    
142263285Sdelphij    There was somewhat illogical behavior when --extreme was
143263285Sdelphij    specified and mixed with custom filter chains.
144263285Sdelphij    
145263285Sdelphij    Before this commit, "xz -9 --lzma2 -e" was equivalent
146263285Sdelphij    to "xz --lzma2". After it is equivalent to "xz -6e"
147263285Sdelphij    (all earlier preset options get forgotten when a custom
148263285Sdelphij    filter chain is specified and the default preset is 6
149263285Sdelphij    to which -e is applied). I find this less illogical.
150263285Sdelphij    
151263285Sdelphij    This also affects the meaning of "xz -9e --lzma2 -7".
152263285Sdelphij    Earlier it was equivalent to "xz -7e" (the -e specified
153263285Sdelphij    before a custom filter chain wasn't forgotten). Now it
154263285Sdelphij    is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
155263285Sdelphij    
156263285Sdelphij    Hopefully very few cared about this in the first place,
157263285Sdelphij    so pretty much no one should even notice this change.
158263285Sdelphij    
159263285Sdelphij    Thanks to Conley Moorhous.
160263285Sdelphij
161263285Sdelphijcommit b065984e5a9272eb50bc0c6d3731e6199c0ae8a8
162263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
163263285SdelphijDate:   Fri Apr 8 17:53:05 2011 +0300
164263285Sdelphij
165263285Sdelphij    xz: Change size_t to uint32_t in a few places.
166263285Sdelphij
167263285Sdelphijcommit 32be621f52f2e1686db88baa7b01dc1ae338f426
168263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
169263285SdelphijDate:   Sat Apr 27 22:07:46 2013 +0300
170263285Sdelphij
171263285Sdelphij    Build: Use -Wvla with GCC if supported.
172263285Sdelphij    
173263285Sdelphij    Variable-length arrays are mandatory in C99 but optional in C11.
174263285Sdelphij    The code doesn't currently use any VLAs and it shouldn't in the
175263285Sdelphij    future either to stay compatible with C11 without requiring any
176263285Sdelphij    optional C11 features.
177263285Sdelphij
178263285Sdelphijcommit efb07cfba65e9e05984c02cd796c1b0338ce04dc
179263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
180263285SdelphijDate:   Mon Apr 15 19:29:09 2013 +0300
181263285Sdelphij
182263285Sdelphij    xzdec: Improve the --help message.
183263285Sdelphij    
184263285Sdelphij    The options are now ordered in the same order as in xz's help
185263285Sdelphij    message.
186263285Sdelphij    
187263285Sdelphij    Descriptions were added to the options that are ignored.
188263285Sdelphij    I left them in parenthesis even if it looks a bit weird
189263285Sdelphij    because I find it easier to spot the ignored vs. non-ignored
190263285Sdelphij    options from the list that way.
191263285Sdelphij
192263285Sdelphijcommit e3c8be13699e2813f5e2879d8187444b46d82d89
193263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
194263285SdelphijDate:   Fri Apr 5 19:25:40 2013 +0300
195263285Sdelphij
196263285Sdelphij    Update THANKS.
197263285Sdelphij
198263285Sdelphijcommit ad8282efe483612f6b5544f9a0d2e4914fb2532a
199263285SdelphijAuthor: Jeff Bastian <jbastian@redhat.com>
200263285SdelphijDate:   Wed Apr 3 13:59:17 2013 +0200
201263285Sdelphij
202263285Sdelphij    xzgrep: make the '-h' option to be --no-filename equivalent
203263285Sdelphij    
204263285Sdelphij    * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
205263285Sdelphij
206263285Sdelphijcommit 9271a3eb0e022b23e8712154be851d0afe4c02e4
207263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
208263285SdelphijDate:   Fri Apr 5 19:34:09 2013 +0300
209263285Sdelphij
210263285Sdelphij    liblzma: Be less picky in lzma_alone_decoder().
211263285Sdelphij    
212263285Sdelphij    To avoid false positives when detecting .lzma files,
213263285Sdelphij    rare values in dictionary size and uncompressed size fields
214263285Sdelphij    were rejected. They will still be rejected if .lzma files
215263285Sdelphij    are decoded with lzma_auto_decoder(), but when using
216263285Sdelphij    lzma_alone_decoder() directly, such files will now be accepted.
217263285Sdelphij    Hopefully this is an OK compromise.
218263285Sdelphij    
219263285Sdelphij    This doesn't affect xz because xz still has its own file
220263285Sdelphij    format detection code. This does affect lzmadec though.
221263285Sdelphij    So after this commit lzmadec will accept files that xz or
222263285Sdelphij    xz-emulating-lzma doesn't.
223263285Sdelphij    
224263285Sdelphij    NOTE: lzma_alone_decoder() still won't decode all .lzma files
225263285Sdelphij    because liblzma's LZMA decoder doesn't support lc + lp > 4.
226263285Sdelphij    
227263285Sdelphij    Reported here:
228263285Sdelphij    http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
229263285Sdelphij    
230263285Sdelphij    Conflicts:
231263285Sdelphij    	src/liblzma/common/alone_decoder.c
232263285Sdelphij    	src/liblzma/common/alone_decoder.h
233263285Sdelphij
234263285Sdelphijcommit 211b931cee58626c1d2e021810cb108cb5cbc10f
235263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
236263285SdelphijDate:   Tue Mar 5 19:14:50 2013 +0200
237263285Sdelphij
238263285Sdelphij    Avoid unneeded use of awk in xzless.
239263285Sdelphij    
240263285Sdelphij    Use "read" instead of "awk" in xzless to get the version
241263285Sdelphij    number of "less". The need for awk was introduced in
242263285Sdelphij    the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
243263285Sdelphij    
244263285Sdelphij    Thanks to Ariel P for the patch.
245263285Sdelphij
246263285Sdelphijcommit 9f62fd9605eade23b62b07a235d1f02156f7a5c6
247263285SdelphijAuthor: Jonathan Nieder <jrnieder@gmail.com>
248263285SdelphijDate:   Mon Nov 19 00:10:10 2012 -0800
249263285Sdelphij
250263285Sdelphij    xzless: Make "less -V" parsing more robust
251263285Sdelphij    
252263285Sdelphij    In v4.999.9beta~30 (xzless: Support compressed standard input,
253263285Sdelphij    2009-08-09), xzless learned to parse ���less -V��� output to figure out
254263285Sdelphij    whether less is new enough to handle $LESSOPEN settings starting
255263285Sdelphij    with ���|-���.  That worked well for a while, but the version string from
256263285Sdelphij    ���less��� versions 448 (June, 2012) is misparsed, producing a warning:
257263285Sdelphij    
258263285Sdelphij    	$ xzless /tmp/test.xz; echo $?
259263285Sdelphij    	/usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
260263285Sdelphij    	integer expression expected
261263285Sdelphij    	0
262263285Sdelphij    
263263285Sdelphij    More precisely, modern ���less��� lists the regexp implementation along
264263285Sdelphij    with its version number, and xzless passes the entire version number
265263285Sdelphij    with attached parenthetical phrase as a number to "test $a -gt $b",
266263285Sdelphij    producing the above confusing message.
267263285Sdelphij    
268263285Sdelphij    	$ less-444 -V | head -1
269263285Sdelphij    	less 444
270263285Sdelphij    	$ less -V | head -1
271263285Sdelphij    	less 456 (no regular expressions)
272263285Sdelphij    
273263285Sdelphij    So relax the pattern matched --- instead of expecting "less <number>",
274263285Sdelphij    look for a line of the form "less <number>[ (extra parenthetical)]".
275263285Sdelphij    While at it, improve the behavior when no matching line is found ---
276263285Sdelphij    instead of producing a cryptic message, we can fall back on a LESSPIPE
277263285Sdelphij    setting that is supported by all versions of ���less���.
278263285Sdelphij    
279263285Sdelphij    The implementation uses "awk" for simplicity.  Hopefully that���s
280263285Sdelphij    portable enough.
281263285Sdelphij    
282263285Sdelphij    Reported-by: J��rg-Volker Peetz <jvpeetz@web.de>
283263285Sdelphij    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
284263285Sdelphij
285263285Sdelphijcommit 1d05980f5b5c2c94d833001daccacce4a466876e
286263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
287263285SdelphijDate:   Wed Oct 3 15:54:24 2012 +0300
288263285Sdelphij
289263285Sdelphij    xz: Fix the note about --rsyncable on the man page.
290263285Sdelphij
291263285Sdelphijcommit fb68497333598688d309a92838d91fd560f7e9f0
292263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
293263285SdelphijDate:   Fri Sep 28 20:11:09 2012 +0300
294263285Sdelphij
295263285Sdelphij    xz: Improve handling of failed realloc in xrealloc.
296263285Sdelphij    
297263285Sdelphij    Thanks to Jim Meyering.
298263285Sdelphij
299263285Sdelphijcommit 75013db6d4d63c195bd8b8d45729b4be0665a812
300263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
301263285SdelphijDate:   Sat Dec 15 20:01:02 2012 +0200
302263285Sdelphij
303263285Sdelphij    A few typo fixes to comments and the xz man page.
304263285Sdelphij    
305263285Sdelphij    Thanks to Jim Meyering.
306263285Sdelphij
307263285Sdelphijcommit e44b21839b1dcbac5097be39b87dd2ddb6e114fd
308263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
309263285SdelphijDate:   Thu Aug 2 17:13:30 2012 +0300
310263285Sdelphij
311263285Sdelphij    Build: Bump gettext version requirement to 0.18.
312263285Sdelphij    
313263285Sdelphij    Otherwise too old version of m4/lib-link.m4 gets included
314263285Sdelphij    when autoreconf -fi is run.
315263285Sdelphij
316263285Sdelphijcommit fd3dbb23ca7e75a7a888d7e897c381dc06308307
317263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
318263285SdelphijDate:   Thu Jul 5 07:36:28 2012 +0300
319263285Sdelphij
320263285Sdelphij    Tests: Remove tests/test_block.c that had gotten committed accidentally.
321263285Sdelphij
322263285Sdelphijcommit 05a735d279d74af437c31f25f69aded4713c1a3d
323263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
324263285SdelphijDate:   Thu Jul 5 07:33:35 2012 +0300
325263285Sdelphij
326263285Sdelphij    Build: Include macosx/build.sh in the distribution.
327263285Sdelphij    
328263285Sdelphij    It has been in the Git repository since 2010 but probably
329263285Sdelphij    few people have seen it since it hasn't been included in
330263285Sdelphij    the release tarballs. :-(
331263285Sdelphij
332263285Sdelphijcommit 4e6d62793b5e7b87edcc93c7ded072c1ecd94173
333263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
334263285SdelphijDate:   Thu Jul 5 07:24:45 2012 +0300
335263285Sdelphij
336263285Sdelphij    Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
337263285Sdelphij
338263285Sdelphijcommit dd95b5e7614baf1f07a1316b5106bd616a9efa79
339263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org>
340263285SdelphijDate:   Thu Jul 5 07:23:17 2012 +0300
341263285Sdelphij
342263285Sdelphij    Include debug/translation.bash in the distribution.
343263285Sdelphij    
344263285Sdelphij    Also fix the script name mentioned in README.
345263285Sdelphij
346244601Smmcommit 20778053a07eb90c159c1377ca8dc05a90fd530b
347244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
348244601SmmDate:   Fri Jun 22 14:36:16 2012 +0300
349244601Smm
350244601Smm    xz: Update man page date to match the latest update.
351244601Smm
352244601Smmcommit 2cefa84af676da37d7e9c466d55d46c67ab00c22
353244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
354244601SmmDate:   Fri Jun 22 10:25:43 2012 +0300
355244601Smm
356244601Smm    Bump version and soname for 5.0.4.
357244601Smm
358244601Smmcommit 433fec191a17e45690809e54146ea7a773f54cff
359244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
360244601SmmDate:   Fri Jun 22 10:25:09 2012 +0300
361244601Smm
362244601Smm    Update NEWS for 5.0.4.
363244601Smm
364244601Smmcommit 711fa680f552a4003df73b37e6dc4d6e00b47bcd
365244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
366244601SmmDate:   Mon Jun 18 21:27:47 2012 +0300
367244601Smm
368244601Smm    Docs: Language fix to 01_compress_easy.c.
369244601Smm    
370244601Smm    Thanks to Jonathan Nieder.
371244601Smm
372244601Smmcommit 3d7ab1dc61a75c560828be5df96598388b771456
373244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
374244601SmmDate:   Thu Jun 14 20:15:30 2012 +0300
375244601Smm
376244601Smm    Fix the top-level Makefile.am for the new example programs.
377244601Smm
378244601Smmcommit ef8b8e5f111469b5bc005975f7abb9abbd372b25
379244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
380244601SmmDate:   Thu Jun 14 10:52:33 2012 +0300
381244601Smm
382244601Smm    Docs: Add new example programs.
383244601Smm    
384244601Smm    These have more comments than the old examples and
385244601Smm    human-readable error messages. More tutorial-like examples
386244601Smm    are needed but these are a start.
387244601Smm
388244601Smmcommit 75c149bc8045a26f8bc719cb8ed20668dab79091
389244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
390244601SmmDate:   Thu Jun 14 10:33:27 2012 +0300
391244601Smm
392244601Smm    Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
393244601Smm    
394244601Smm    It is good to keep these around to so that if someone has
395244601Smm    copied the decompressor bug from xz_pipe_decomp.c he has
396244601Smm    an example how to easily fix it.
397244601Smm
398244601Smmcommit 456307ebf947a5f50bd995d617b99c1215572308
399244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
400244601SmmDate:   Thu Jun 14 10:33:01 2012 +0300
401244601Smm
402244601Smm    Docs: Fix a bug in xz_pipe_decomp.c example program.
403244601Smm
404244601Smmcommit 4c310b8a29bc257e6ccbd2310f12f258678f3fef
405244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
406244601SmmDate:   Thu May 31 15:53:25 2012 +0300
407244601Smm
408244601Smm    Translations: Update the Italian translation.
409244601Smm    
410244601Smm    Thanks to Milo Casagrande.
411244601Smm
412244601Smmcommit ec32b79366dc47a55ea877589df9e8509ba113a7
413244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
414244601SmmDate:   Wed May 30 23:15:07 2012 +0300
415244601Smm
416244601Smm    Translations: Update the French translation.
417244601Smm    
418244601Smm    Thanks to Adrien Nader.
419244601Smm
420244601Smmcommit dd06f40e4dd7649525e4f28d890dc238a3aa37e5
421244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
422244601SmmDate:   Tue May 29 22:26:27 2012 +0300
423244601Smm
424244601Smm    Translations: Update the German translation.
425244601Smm
426244601Smmcommit c66808d1f55d0149ed57c536cc9b52e9c8b583bc
427244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
428244601SmmDate:   Tue May 29 22:12:57 2012 +0300
429244601Smm
430244601Smm    Translations: Update Polish translation.
431244601Smm
432244601Smmcommit 556c22dfed195c1466b298183b850d6c28544900
433244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
434244601SmmDate:   Tue May 29 13:10:36 2012 +0300
435244601Smm
436244601Smm    Preliminary NEWS for 5.0.4.
437244601Smm
438244601Smmcommit dd13b66bf582f49d3aec36e3410ff8541b7506da
439244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
440244601SmmDate:   Mon May 28 20:42:11 2012 +0300
441244601Smm
442244601Smm    liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
443244601Smm    
444244601Smm    lzma_code() could incorrectly return LZMA_BUF_ERROR if
445244601Smm    all of the following was true:
446244601Smm    
447244601Smm      - The caller knows how many bytes of output to expect
448244601Smm        and only provides that much output space.
449244601Smm    
450244601Smm      - When the last output bytes are decoded, the
451244601Smm        caller-provided input buffer ends right before
452244601Smm        the LZMA2 end of payload marker. So LZMA2 won't
453244601Smm        provide more output anymore, but it won't know it
454244601Smm        yet and thus won't return LZMA_STREAM_END yet.
455244601Smm    
456244601Smm      - A BCJ filter is in use and it hasn't left any
457244601Smm        unfiltered bytes in the temp buffer. This can happen
458244601Smm        with any BCJ filter, but in practice it's more likely
459244601Smm        with filters other than the x86 BCJ.
460244601Smm    
461244601Smm    Another situation where the bug can be triggered happens
462244601Smm    if the uncompressed size is zero bytes and no output space
463244601Smm    is provided. In this case the decompression can fail even
464244601Smm    if the whole input file is given to lzma_code().
465244601Smm    
466244601Smm    A similar bug was fixed in XZ Embedded on 2011-09-19.
467244601Smm
468244601Smmcommit a0223bf796fdaad51a11ad02c4195c694849cc78
469244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
470244601SmmDate:   Mon May 28 15:38:32 2012 +0300
471244601Smm
472244601Smm    Update THANKS.
473244601Smm
474244601Smmcommit 86e57e4bfefe3fd8e13615c41604165bb2359501
475244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
476244601SmmDate:   Mon May 28 15:37:43 2012 +0300
477244601Smm
478244601Smm    xz: Don't show a huge number in -vv when memory limit is disabled.
479244601Smm
480244601Smmcommit 13e44a94da19d1ef14832ff12d3877a6fd2c54c0
481244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
482244601SmmDate:   Sun May 27 22:30:17 2012 +0300
483244601Smm
484244601Smm    xz: Document the "summary" lines of --robot -lvv.
485244601Smm    
486244601Smm    This documents only the columns that are in v5.0.
487244601Smm    The new columns added in the master branch aren't
488244601Smm    necessarily stable yet.
489244601Smm
490244601Smmcommit 2f90345e13ab8fea4de45a4f1caa73ebc63a62e7
491244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
492244601SmmDate:   Sun May 27 21:53:20 2012 +0300
493244601Smm
494244601Smm    xz: Fix output of verbose --robot --list modes.
495244601Smm    
496244601Smm    It printed the filename in "filename (x/y)" format
497244601Smm    which it obviously shouldn't do in robot mode.
498244601Smm
499244601Smmcommit 8d4864f53ffae5d862c691a0b334a6b69bc5366e
500244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
501244601SmmDate:   Thu May 10 21:15:17 2012 +0300
502244601Smm
503244601Smm    Update THANKS.
504244601Smm
505244601Smmcommit 35e9c58abb0ce3993da844aaeaa3e7231cd2be8f
506244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
507244601SmmDate:   Thu May 10 21:14:16 2012 +0300
508244601Smm
509244601Smm    Docs: Cleanup line wrapping a bit.
510244601Smm
511244601Smmcommit 532b3e4c568a228309b56f95c13435fd078dbe02
512244601SmmAuthor: Benno Schulenberg <bensberg@justemail.net>
513244601SmmDate:   Tue Mar 13 22:04:04 2012 +0100
514244601Smm
515244601Smm    Fix a few typos and add some missing articles in some documents.
516244601Smm    
517244601Smm    Also hyphenate several compound adjectives.
518244601Smm    
519244601Smm    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
520244601Smm
521244601Smmcommit afb6ce8c82ffef8f2505a3759da72a733c7b0b8f
522244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
523244601SmmDate:   Sun Apr 29 11:51:25 2012 +0300
524244601Smm
525244601Smm    Windows: Update notes about static linking with MSVC.
526244601Smm
527244601Smmcommit 7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565
528244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
529244601SmmDate:   Thu Apr 19 15:25:26 2012 +0300
530244601Smm
531244601Smm    liblzma: Remove outdated comments.
532244601Smm
533244601Smmcommit f55db9c187651094f43881c49db2b2d9ffee6b80
534244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
535244601SmmDate:   Thu Apr 19 14:17:52 2012 +0300
536244601Smm
537244601Smm    DOS: Link against DJGPP's libemu to support FPU emulation.
538244601Smm    
539244601Smm    This way xz should work on 386SX and 486SX. Floating point
540244601Smm    only is needed for verbose output in xz.
541244601Smm
542244601Smmcommit 203edff4c761dbd7cac76ea66e4eed501c23e7a3
543244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
544244601SmmDate:   Thu Apr 19 13:58:55 2012 +0300
545244601Smm
546244601Smm    Docs: Update MINIX 3 information in INSTALL.
547244601Smm
548244601Smmcommit f0a8f95c215628967b7cf9bd9b0a9e4172f50bb4
549244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
550244601SmmDate:   Wed Feb 22 14:23:13 2012 +0200
551244601Smm
552244601Smm    Update THANKS.
553244601Smm
554244601Smmcommit b7ad23fa78646036c0290cd91eada939c9a31526
555244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
556244601SmmDate:   Wed Feb 22 14:02:34 2012 +0200
557244601Smm
558244601Smm    Fix exit status of xzgrep when grepping binary files.
559244601Smm    
560244601Smm    When grepping binary files, grep may exit before it has
561244601Smm    read all the input. In this case, gzip -q returns 2 (eating
562244601Smm    SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
563244601Smm    (e.g. 141). This causes wrong exit status when grepping
564244601Smm    xz- or bzip2-compressed binary files.
565244601Smm    
566244601Smm    The fix checks for the special exit status that indicates SIGPIPE.
567244601Smm    It uses kill -l which should be supported everywhere since it
568244601Smm    is in both SUSv2 (1997) and POSIX.1-2008.
569244601Smm    
570244601Smm    Thanks to James Buren for the bug report.
571244601Smm
572244601Smmcommit 4e19fbb04a0035030406482319e264426459eb24
573244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
574244601SmmDate:   Wed Feb 22 12:08:43 2012 +0200
575244601Smm
576244601Smm    Update THANKS.
577244601Smm
578244601Smmcommit c6fa03a427e3d1320794102cee3ff4f5ae00eb36
579244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
580244601SmmDate:   Thu May 24 18:47:52 2012 +0300
581244601Smm
582244601Smm    Fix compiling with IBM XL C on AIX.
583244601Smm
584244601Smmcommit 7b6ffc98645e1b3b302b6680be0a901d1ebf7358
585244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
586244601SmmDate:   Thu May 24 18:37:08 2012 +0300
587244601Smm
588244601Smm    Build: Upgrade m4/acx_pthread.m4 to the latest version.
589244601Smm    
590244601Smm    It was renamed to ax_pthread.m4 in Autoconf Archive.
591244601Smm
592244601Smmcommit bfac2be5023994fcc53de2844e7dd3af61910dc2
593244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
594244601SmmDate:   Tue Jan 10 17:13:03 2012 +0200
595244601Smm
596244601Smm    Tests: Fix a compiler warning with _FORTIFY_SOURCE.
597244601Smm    
598244601Smm    Reported here:
599244601Smm    http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
600244601Smm
601244601Smmcommit df85e156716a4eecb7e2978691f03f729444d998
602244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
603244601SmmDate:   Mon Dec 19 21:21:29 2011 +0200
604244601Smm
605244601Smm    Docs: Explain the stable releases better in README.
606244601Smm
607244601Smmcommit d06d32f108c8278c25c24b2e8666bda7b2ec23b5
608244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
609244601SmmDate:   Fri Nov 4 17:57:16 2011 +0200
610244601Smm
611244601Smm    xz: Fix a typo in a comment.
612244601Smm    
613244601Smm    Thanks to Bela Lubkin.
614244601Smm
615244601Smmcommit 636fdcfbf542f1e84db2c4736004d84be4b12c84
616244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
617244601SmmDate:   Thu Nov 3 17:08:02 2011 +0200
618244601Smm
619244601Smm    Update THANKS.
620244601Smm
621244601Smmcommit 55fd02f83ecd6cbd6925a3e8a3d43b8d4ef2a17c
622244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
623244601SmmDate:   Thu Nov 3 17:07:22 2011 +0200
624244601Smm
625244601Smm    xz: Fix xz on EBCDIC systems.
626244601Smm    
627244601Smm    Thanks to Chris Donawa.
628244601Smm
629244601Smmcommit 4052f36053b931bad847a36aabf1a07d0034e297
630244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
631244601SmmDate:   Tue Sep 6 12:03:41 2011 +0300
632244601Smm
633244601Smm    Build: Fix "make check" on Windows.
634244601Smm
635244601Smmcommit 0f25758459c74c366a73f35d47ee12b75890bb79
636244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
637244601SmmDate:   Tue Aug 9 21:19:13 2011 +0300
638244601Smm
639244601Smm    Update THANKS.
640244601Smm
641244601Smmcommit 70f03b51ffcb783646b20de8d97b6986c4280eec
642244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
643244601SmmDate:   Tue Aug 9 21:16:44 2011 +0300
644244601Smm
645244601Smm    Workaround unusual SIZE_MAX on SCO OpenServer.
646244601Smm
647244601Smmcommit f138bdf76a70029e8360062a0b227936b83b24c9
648244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
649244601SmmDate:   Sat Aug 6 20:37:28 2011 +0300
650244601Smm
651244601Smm    Run the scripts with the correct shell in test_scripts.sh.
652244601Smm    
653244601Smm    The scripts are now made executable in the build tree.
654244601Smm    This way the scripts can be run like programs in
655244601Smm    test_scripts.sh. Previously test_scripts.sh always
656244601Smm    used sh but it's not correct if @POSIX_SHELL@ is set
657244601Smm    to something else by configure.
658244601Smm    
659244601Smm    Thanks to Jonathan Nieder for the patch.
660244601Smm
661244601Smmcommit 2c144a0365c84dbf1b6722466746d42f2563a319
662244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
663244601SmmDate:   Sun Jul 31 11:01:47 2011 +0300
664244601Smm
665244601Smm    Fix exit status of "xzdiff foo.xz bar.xz".
666244601Smm    
667244601Smm    xzdiff was clobbering the exit status from diff in a case
668244601Smm    statement used to analyze the exit statuses from "xz" when
669244601Smm    its operands were two compressed files. Save and restore
670244601Smm    diff's exit status to fix this.
671244601Smm    
672244601Smm    The bug is inherited from zdiff in GNU gzip and was fixed
673244601Smm    there on 2009-10-09.
674244601Smm    
675244601Smm    Thanks to Jonathan Nieder for the patch and
676244601Smm    to Peter Pallinger for reporting the bug.
677244601Smm
678223935Smmcommit edf339227a966f24aebe1845fcca9429b8f6e318
679223935SmmAuthor: Anders F Bjorklund <afb@users.sourceforge.net>
680223935SmmDate:   Fri Nov 5 12:56:11 2010 +0100
681223935Smm
682223935Smm    add build script for macosx universal
683223935Smm
684223935Smmcommit 7fcc6334ea8923550ba6b5347ff99dc8432234b0
685223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
686223935SmmDate:   Thu Jun 16 12:15:29 2011 +0300
687223935Smm
688223935Smm    liblzma: Remove unneeded semicolon.
689223935Smm
690223935Smmcommit 631f4d3ae6adfda84d1a110781d9402c12e16cfc
691223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
692223935SmmDate:   Sat May 28 16:43:26 2011 +0300
693223935Smm
694223935Smm    Don't call close(-1) in tuklib_open_stdxxx() on error.
695223935Smm    
696223935Smm    Thanks to Jim Meyering.
697223935Smm
698223935Smmcommit c89faf4c9e5970e7f7f8a25521ed9aa62d1a2d9a
699223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
700223935SmmDate:   Sat May 28 09:47:56 2011 +0300
701223935Smm
702223935Smm    Translations: Update Italian translation.
703223935Smm    
704223935Smm    Thanks to Milo Casagrande.
705223935Smm
706223935Smmcommit 6fe2fc9b6ab5bf6848140823e9536370834f42fb
707223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
708223935SmmDate:   Sat May 28 08:46:04 2011 +0300
709223935Smm
710223935Smm    Tests: Add a test file for the bug in the previous commit.
711223935Smm
712223935Smmcommit 6c4d4db2bc8d8b682bd927144d37daa2ab21a6d6
713223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
714223935SmmDate:   Fri May 27 22:25:44 2011 +0300
715223935Smm
716223935Smm    xz: Fix error handling in xz -lvv.
717223935Smm    
718223935Smm    It could do an invalid free() and read past the end
719223935Smm    of the uninitialized filters array.
720223935Smm
721223935Smmcommit 844f84fcad9670c543550edf7c7e42630c8f7715
722223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
723223935SmmDate:   Fri May 27 22:09:49 2011 +0300
724223935Smm
725223935Smm    liblzma: Handle allocation failures correctly in lzma_index_init().
726223935Smm    
727223935Smm    Thanks to Jim Meyering.
728223935Smm
729223935Smmcommit 240e8b9791df597063a3b68d04ffcb3aa4f2de6a
730223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
731223935SmmDate:   Mon May 23 18:30:30 2011 +0300
732223935Smm
733223935Smm    Build: Set GZIP_ENV=-9n in top-level Makefile.am.
734223935Smm
735223935Smmcommit e32cb264ea72a4459810f30abad70dae5a4fa17d
736223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
737223935SmmDate:   Sat May 21 16:59:22 2011 +0300
738223935Smm
739223935Smm    Bump version and soname for 5.0.3.
740223935Smm
741223935Smmcommit 65cff45f8fd1c250491557157cce0f5f38481082
742223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
743223935SmmDate:   Sat May 21 16:56:53 2011 +0300
744223935Smm
745223935Smm    Update NEWS for 5.0.3.
746223935Smm
747223935Smmcommit 316c67ffdae1f811ac95e838d5290a013bff4ca7
748223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
749223935SmmDate:   Sat May 21 16:28:44 2011 +0300
750223935Smm
751223935Smm    Add French translation.
752223935Smm    
753223935Smm    It is known that the BCJ filter --help text is only
754223935Smm    partially translated.
755223935Smm
756223935Smmcommit 1931175eea6d09c0845d6e8e334a7333647f11c0
757223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
758223935SmmDate:   Sat May 21 15:12:10 2011 +0300
759223935Smm
760223935Smm    xz: Translate also the string used to print the program name.
761223935Smm    
762223935Smm    French needs a space before a colon, e.g. "xz : foo error".
763223935Smm
764223935Smmcommit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5
765223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
766223935SmmDate:   Tue May 17 12:26:28 2011 +0300
767223935Smm
768223935Smm    Update THANKS.
769223935Smm
770223935Smmcommit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f
771223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
772223935SmmDate:   Tue May 17 12:21:33 2011 +0300
773223935Smm
774223935Smm    Update INSTALL with a note about linker problem on OpenSolaris x86.
775223935Smm
776223935Smmcommit 793d857e01e1725f16fc0c8af8172c91a9e38617
777223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
778223935SmmDate:   Tue May 17 12:01:37 2011 +0300
779223935Smm
780223935Smm    Build: Fix initialization of enable_check_* variables in configure.ac.
781223935Smm    
782223935Smm    This doesn't matter much in practice since it is unlikely
783223935Smm    that anyone would have such environment variable names.
784223935Smm    
785223935Smm    Thanks to Wim Lewis.
786223935Smm
787223935Smmcommit afcff45cee04c5c7d9c333504046ffb63d1418b5
788223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
789223935SmmDate:   Tue May 17 11:54:38 2011 +0300
790223935Smm
791223935Smm    Add underscores to attributes (__attribute((__foo__))).
792223935Smm
793223935Smmcommit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57
794223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
795223935SmmDate:   Mon Apr 18 19:35:49 2011 +0300
796223935Smm
797223935Smm    Update THANKS.
798223935Smm
799223935Smmcommit 5e3499059515033d1ce44b6fb0fa49183c7ac633
800223935SmmAuthor: Martin V��th <vaeth@mathematik.uni-wuerzburg.de>
801223935SmmDate:   Fri Apr 15 04:54:49 2011 -0400
802223935Smm
803223935Smm    xzgrep: fix typo in $0 parsing
804223935Smm    
805223935Smm    Reported-by: Diego Elio Petten�� <flameeyes@gentoo.org>
806223935Smm    Signed-off-by: Martin V��th <vaeth@mathematik.uni-wuerzburg.de>
807223935Smm    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
808223935Smm
809223935Smmcommit 1125611b9b8d4a209b6a73d2c76e1b39c065972a
810223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
811223935SmmDate:   Tue Apr 12 11:59:49 2011 +0300
812223935Smm
813223935Smm    Remove doubled words from documentation and comments.
814223935Smm    
815223935Smm    Spot candidates by running these commands:
816223935Smm      git ls-files |xargs perl -0777 -n \
817223935Smm        -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
818223935Smm        -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
819223935Smm    
820223935Smm    Thanks to Jim Meyering for the original patch.
821223935Smm
822223935Smmcommit 3f8fa53837bae8b44f3addf19923e26401336c3d
823223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
824223935SmmDate:   Mon Apr 11 21:04:13 2011 +0300
825223935Smm
826223935Smm    liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
827223935Smm
828223935Smmcommit 320d734c20d0776e3eb80f6b5984ddeb494715b5
829223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
830223935SmmDate:   Mon Apr 11 20:59:07 2011 +0300
831223935Smm
832223935Smm    liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
833223935Smm    
834223935Smm    It didn't mention the return value that is used if
835223935Smm    an error occurs.
836223935Smm
837223935Smmcommit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5
838223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
839223935SmmDate:   Mon Apr 11 13:59:50 2011 +0300
840223935Smm
841223935Smm    liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
842223935Smm    
843223935Smm    Empty Block was created if the input buffer was empty.
844223935Smm    Empty Block wastes a few bytes of space, but more importantly
845223935Smm    it triggers a bug in XZ Utils 5.0.1 and older when trying
846223935Smm    to decompress such a file. 5.0.1 and older consider such
847223935Smm    files to be corrupt. I thought that no encoder creates empty
848223935Smm    Blocks when releasing 5.0.2 but I was wrong.
849223935Smm
850223935Smmcommit 73f56fb87d54091d0c4fd22d70e6f042902e3b63
851223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
852223935SmmDate:   Mon Apr 11 13:28:40 2011 +0300
853223935Smm
854223935Smm    liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
855223935Smm    
856223935Smm    This return value was missing from the API comments of
857223935Smm    four functions.
858223935Smm
859223935Smmcommit 4ce1cf97a88ae1640a380dd19cbc255d729f966b
860223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
861223935SmmDate:   Mon Apr 11 13:21:28 2011 +0300
862223935Smm
863223935Smm    liblzma: Validate encoder arguments better.
864223935Smm    
865223935Smm    The biggest problem was that the integrity check type
866223935Smm    wasn't validated, and e.g. lzma_easy_buffer_encode()
867223935Smm    would create a corrupt .xz Stream if given an unsupported
868223935Smm    Check ID. Luckily applications don't usually try to use
869223935Smm    an unsupport Check ID, so this bug is unlikely to cause
870223935Smm    many real-world problems.
871223935Smm
872223935Smmcommit 972f05d7a4268dbe42573701f83faa45d03249eb
873223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
874223935SmmDate:   Sat Apr 9 18:29:30 2011 +0300
875223935Smm
876223935Smm    Update THANKS.
877223935Smm
878223935Smmcommit 28154eeaf6e3442cd1e174f4e81266d60c4dac60
879223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
880223935SmmDate:   Sat Apr 9 18:28:58 2011 +0300
881223935Smm
882223935Smm    liblzma: Add missing #ifdefs to filter_common.c.
883223935Smm    
884223935Smm    Passing --disable-decoders to configure broke a few
885223935Smm    encoders due to missing #ifdefs in filter_common.c.
886223935Smm    
887223935Smm    Thanks to Jason Gorski for the patch.
888223935Smm
889223935Smmcommit aa95516d3d509c6b7895ee519004afcf500a0759
890223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
891223935SmmDate:   Sat Apr 2 14:49:56 2011 +0300
892223935Smm
893223935Smm    liblzma: Fix a memory leak in stream_encoder.c.
894223935Smm    
895223935Smm    It leaks old filter options structures (hundred bytes or so)
896223935Smm    every time the lzma_stream is reinitialized. With the xz tool,
897223935Smm    this happens when compressing multiple files.
898223935Smm
899223935Smmcommit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c
900223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
901223935SmmDate:   Fri Apr 1 08:47:46 2011 +0300
902223935Smm
903223935Smm    Bumped version and liblzma soname to 5.0.2.
904223935Smm
905223935Smmcommit 162779682e01d15f0ce386ef7f40d1be05ad0053
906223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
907223935SmmDate:   Fri Apr 1 08:47:20 2011 +0300
908223935Smm
909223935Smm    Updated NEWS for 5.0.2.
910223935Smm
911223935Smmcommit 45553f9b4b0175c292023010dc41520347004852
912223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
913223935SmmDate:   Thu Mar 31 15:06:58 2011 +0300
914223935Smm
915223935Smm    Update INSTALL with another note about IRIX.
916223935Smm
917223935Smmcommit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35
918223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
919223935SmmDate:   Thu Mar 31 12:22:55 2011 +0300
920223935Smm
921223935Smm    Tests: Add a new file to test empty LZMA2 streams.
922223935Smm
923223935Smmcommit d099ef9f517b59ab8e3b6f6aa0543c3643983470
924223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
925223935SmmDate:   Thu Mar 31 11:54:48 2011 +0300
926223935Smm
927223935Smm    liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
928223935Smm    
929223935Smm    The decoder considered empty LZMA2 streams to be corrupt.
930223935Smm    This shouldn't matter much with .xz files, because no encoder
931223935Smm    creates empty LZMA2 streams in .xz. This bug is more likely
932223935Smm    to cause problems in applications that use raw LZMA2 streams.
933223935Smm
934223935Smmcommit df87249b26e79a75fd91041e85512944fc247b57
935223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
936223935SmmDate:   Thu Mar 24 01:42:49 2011 +0200
937223935Smm
938223935Smm    Scripts: Better fix for xzgrep.
939223935Smm    
940223935Smm    Now it uses "grep -q".
941223935Smm    
942223935Smm    Thanks to Gregory Margo.
943223935Smm
944223935Smmcommit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3
945223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
946223935SmmDate:   Thu Mar 24 01:22:18 2011 +0200
947223935Smm
948223935Smm    Updated THANKS.
949223935Smm
950223935Smmcommit b441d39855516ae618faffd5156261b8b413394f
951223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
952223935SmmDate:   Thu Mar 24 01:21:32 2011 +0200
953223935Smm
954223935Smm    Scripts: Fix xzgrep -l.
955223935Smm    
956223935Smm    It didn't work at all. It tried to use the -q option
957223935Smm    for grep, but it appended it after "--". This works
958223935Smm    around it by redirecting to /dev/null. The downside
959223935Smm    is that this can be slower with big files compared
960223935Smm    to proper use of "grep -q".
961223935Smm    
962223935Smm    Thanks to Gregory Margo.
963223935Smm
964223935Smmcommit 82d5164839517f55daeadd9ee88c76425db30224
965223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
966223935SmmDate:   Fri Feb 4 22:49:31 2011 +0200
967223935Smm
968223935Smm    xz: Clean up suffix.c.
969223935Smm    
970223935Smm    struct suffix_pair isn't needed in compresed_name()
971223935Smm    so get rid of it there.
972223935Smm
973223935Smmcommit 6decc8b41882c2250f0450eb87b83c9fbf495e95
974223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
975223935SmmDate:   Fri Feb 4 11:29:47 2011 +0200
976223935Smm
977223935Smm    xz: Check if the file already has custom suffix when compressing.
978223935Smm    
979223935Smm    Now "xz -S .test foo.test" refuses to compress the
980223935Smm    file because it already has the suffix .test. The man
981223935Smm    page had it documented this way already.
982223935Smm
983223935Smmcommit ecda90061df8d39399e707e5c76c2ec0a0f400e5
984223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
985223935SmmDate:   Wed Feb 2 23:01:51 2011 +0200
986223935Smm
987223935Smm    Updated THANKS.
988223935Smm
989223935Smmcommit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f
990223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
991223935SmmDate:   Wed Feb 2 23:00:33 2011 +0200
992223935Smm
993223935Smm    Translations: Add Polish translation.
994223935Smm    
995223935Smm    Thanks to Jakub Bogusz.
996223935Smm
997223935Smmcommit 00be32978fedc5038748438bf685ac1713d1db83
998223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
999223935SmmDate:   Wed Feb 2 22:24:00 2011 +0200
1000223935Smm
1001223935Smm    Updated THANKS.
1002223935Smm
1003219001Smmcommit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004
1004219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1005219001SmmDate:   Fri Jan 28 20:26:38 2011 +0200
1006219001Smm
1007219001Smm    Bump package version and liblzma soname to 5.0.1.
1008219001Smm
1009219001Smmcommit 5fbce0b8d96dc96775aa0215e3581addc830e23d
1010219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1011219001SmmDate:   Fri Jan 28 20:16:57 2011 +0200
1012219001Smm
1013219001Smm    Update NEWS for 5.0.1.
1014219001Smm
1015219001Smmcommit 03ebd1bbb314f9f204940219a835c883bf442475
1016219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1017219001SmmDate:   Wed Jan 26 12:19:08 2011 +0200
1018219001Smm
1019219001Smm    xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
1020219001Smm    
1021219001Smm    xz didn't compress setuid/setgid/sticky files and files
1022219001Smm    with multiple hard links even with --force. This bug was
1023219001Smm    introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
1024219001Smm    
1025219001Smm    Thanks to Charles Wilson.
1026219001Smm
1027219001Smmcommit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
1028219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1029219001SmmDate:   Tue Jan 18 21:25:24 2011 +0200
1030219001Smm
1031219001Smm    Updated THANKS.
1032219001Smm
1033219001Smmcommit f71c4e16e913f660977526f0ef8d2acdf458d7c9
1034219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1035219001SmmDate:   Tue Jan 18 21:23:50 2011 +0200
1036219001Smm
1037219001Smm    Add alloc_size and malloc attributes to a few functions.
1038219001Smm    
1039219001Smm    Thanks to Cristian Rodr��guez for the original patch.
1040219001Smm
1041219001Smmcommit 316cbe24465143edde8f6ffb7532834b7b2ea93f
1042219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1043219001SmmDate:   Mon Dec 13 16:36:33 2010 +0200
1044219001Smm
1045219001Smm    Scripts: Fix gzip and bzip2 support in xzdiff.
1046219001Smm
1047219001Smmcommit 9311774c493c19deab51ded919dcd2e9c4aa2829
1048219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1049219001SmmDate:   Sun Dec 12 21:23:55 2010 +0200
1050219001Smm
1051219001Smm    Build: Enable ASM on DJGPP by default.
1052219001Smm
1053219001Smmcommit 4a42aaee282fc73b482581684d65110506d5efdd
1054219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1055219001SmmDate:   Sun Dec 12 16:09:42 2010 +0200
1056219001Smm
1057219001Smm    Updated THANKS.
1058219001Smm
1059219001Smmcommit ce56f63c41ee210e6308090eb6d49221fdf67d6c
1060219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1061219001SmmDate:   Sun Dec 12 16:07:11 2010 +0200
1062219001Smm
1063219001Smm    Add missing PRIx32 and PRIx64 compatibility definitions.
1064219001Smm    
1065219001Smm    This fixes portability to systems that lack C99 inttypes.h.
1066219001Smm    
1067219001Smm    Thanks to Juan Manuel Guerrero.
1068219001Smm
1069219001Smmcommit e6baedddcf54e7da049ebc49183565b99facd4c7
1070219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1071219001SmmDate:   Sun Dec 12 14:50:04 2010 +0200
1072219001Smm
1073219001Smm    DOS-like: Treat \ and : as directory separators in addition to /.
1074219001Smm    
1075219001Smm    Juan Manuel Guerrero had fixed this in his XZ Utils port
1076219001Smm    to DOS/DJGPP. The bug affects also Windows and OS/2.
1077219001Smm
1078219001Smmcommit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
1079219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1080219001SmmDate:   Tue Dec 7 18:52:04 2010 +0200
1081219001Smm
1082219001Smm    Translations: Fix Czech translation of "sparse file".
1083219001Smm    
1084219001Smm    Thanks to Petr Huben�� and Marek ��ernock��.
1085219001Smm
1086219001Smmcommit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
1087219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1088219001SmmDate:   Mon Nov 15 14:28:26 2010 +0200
1089219001Smm
1090219001Smm    liblzma: Document the return value of lzma_lzma_preset().
1091219001Smm
1092219001Smmcommit 2964d8d691ed92abdcf214888d79ad6d79774735
1093219001SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
1094219001SmmDate:   Fri Nov 12 15:22:13 2010 -0600
1095219001Smm
1096219001Smm    Simplify paths in generated API docs
1097219001Smm    
1098219001Smm    Currently the file list generated by Doxygen has src/ at the
1099219001Smm    beginning of each path.  Paths like common/sysdefs.h and
1100219001Smm    liblzma/api/lzma.h are easier to read without such a prefix.
1101219001Smm    
1102219001Smm    Builds from a separate build directory with
1103219001Smm    
1104219001Smm    	mkdir build
1105219001Smm    	cd build
1106219001Smm    	../configure
1107219001Smm    	doxygen Doxyfile
1108219001Smm    
1109219001Smm    include an even longer prefix /home/someone/src/xz/src; this
1110219001Smm    patch has the nice side-effect of eliminating that prefix, too.
1111219001Smm    
1112219001Smm    Fixes: http://bugs.debian.org/572273
1113219001Smm
1114219001Smmcommit 37c25658efd25b034266daf87cd381d20d1df776
1115219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1116219001SmmDate:   Tue Oct 26 15:48:48 2010 +0300
1117219001Smm
1118219001Smm    Build: Copy the example programs to $docdir/examples.
1119219001Smm    
1120219001Smm    The example programs by Daniel Mealha Cabrita were included
1121219001Smm    in the git repository, but I had forgot to add them to
1122219001Smm    Makefile.am. Thus, they didn't get included in the source
1123219001Smm    package at all by "make dist".
1124219001Smm
1125215187Smmcommit e45929260cd902036efd40c5610a8d0a50d5712b
1126215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1127215187SmmDate:   Sat Oct 23 17:25:52 2010 +0300
1128215187Smm
1129215187Smm    Build: Fix mydist rule when .git doesn't exist.
1130215187Smm
1131215187Smmcommit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
1132215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1133215187SmmDate:   Sat Oct 23 14:15:35 2010 +0300
1134215187Smm
1135215187Smm    Add NEWS for 5.0.0.
1136215187Smm
1137215187Smmcommit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
1138215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1139215187SmmDate:   Sat Oct 23 14:02:53 2010 +0300
1140215187Smm
1141215187Smm    Bump version to 5.0.0 and liblzma version-info to 5:0:0.
1142215187Smm
1143215187Smmcommit 8c947e9291691629714dafb4536c718b6cc24fbd
1144215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1145215187SmmDate:   Sat Oct 23 12:30:54 2010 +0300
1146215187Smm
1147215187Smm    liblzma: Make lzma_code() check the reserved members in lzma_stream.
1148215187Smm    
1149215187Smm    If any of the reserved members in lzma_stream are non-zero
1150215187Smm    or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
1151215187Smm    that a new feature in the future is indicated by just setting
1152215187Smm    a reserved member to some other value, so the old liblzma
1153215187Smm    version need to catch it as an unsupported feature.
1154215187Smm
1155215187Smmcommit e61d85e082743ebd2dd0ff28fc0a82482ede0538
1156215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1157215187SmmDate:   Sat Oct 23 12:26:33 2010 +0300
1158215187Smm
1159215187Smm    Windows: Use MinGW's stdio functions.
1160215187Smm    
1161215187Smm    The non-standard ones from msvcrt.dll appear to work
1162215187Smm    most of the time with XZ Utils, but there are some
1163215187Smm    corner cases where things may go very wrong. So it's
1164215187Smm    good to use the better replacements provided by
1165215187Smm    MinGW(-w64) runtime.
1166215187Smm
1167215187Smmcommit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
1168215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1169215187SmmDate:   Sat Oct 23 12:21:32 2010 +0300
1170215187Smm
1171215187Smm    liblzma: Use 512 as INDEX_GROUP_SIZE.
1172215187Smm    
1173215187Smm    This lets compiler use shifting instead of 64-bit division.
1174215187Smm
1175215187Smmcommit 613939fc82603b75b59eee840871a05bc8dd08e0
1176215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1177215187SmmDate:   Sat Oct 23 12:20:11 2010 +0300
1178215187Smm
1179215187Smm    liblzma: A few ABI tweaks to reserve space in structures.
1180215187Smm
1181215187Smmcommit 68b83f252df3d27480a9f6f03445d16f6506fef1
1182215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1183215187SmmDate:   Thu Oct 21 23:16:11 2010 +0300
1184215187Smm
1185215187Smm    xz: Make sure that message_strm() can never return NULL.
1186215187Smm
1187215187Smmcommit d09c5753e33ff96ee57edb6d1e98e34041203695
1188215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1189215187SmmDate:   Thu Oct 21 23:06:31 2010 +0300
1190215187Smm
1191215187Smm    liblzma: Update the comments in the API headers.
1192215187Smm    
1193215187Smm    Adding support for LZMA_FINISH for Index encoding and
1194215187Smm    decoding needed tiny additions to the relevant .c files too.
1195215187Smm
1196215187Smmcommit 33c1c0e102eb529588503b8beea0903a45488fad
1197215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1198215187SmmDate:   Tue Oct 19 12:08:30 2010 +0300
1199215187Smm
1200215187Smm    Update INSTALL.generic.
1201215187Smm
1202215187Smmcommit 0076e03641f201c4b77dddd5a6db5880be19a78c
1203215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1204215187SmmDate:   Tue Oct 19 11:44:37 2010 +0300
1205215187Smm
1206215187Smm    Clean up a few FIXMEs and TODOs.
1207215187Smm    
1208215187Smm    lzma_chunk_size() was commented out because it is
1209215187Smm    currently useless.
1210215187Smm
1211215187Smmcommit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
1212215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1213215187SmmDate:   Tue Oct 19 10:21:08 2010 +0300
1214215187Smm
1215215187Smm    Update docs.
1216215187Smm
1217215187Smmcommit f0fa880d247e73264d2c04fe31fb3412318a0026
1218215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1219215187SmmDate:   Tue Oct 12 15:13:30 2010 +0300
1220215187Smm
1221215187Smm    xz: Avoid raise() also on OpenVMS.
1222215187Smm    
1223215187Smm    This is similar to DOS/DJGPP that killing the program
1224215187Smm    with a signal will print a backtrace or a similar message.
1225215187Smm
1226215187Smmcommit ac462b1c47c451f5c62e428306314c4bdad8ae7f
1227215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1228215187SmmDate:   Mon Oct 11 21:26:19 2010 +0300
1229215187Smm
1230215187Smm    xz: Avoid SA_RESTART for portability reasons.
1231215187Smm    
1232215187Smm    SA_RESTART is not as portable as I had hoped. It's missing
1233215187Smm    at least from OpenVMS, QNX, and DJGPP). Luckily we can do
1234215187Smm    fine without SA_RESTART.
1235215187Smm
1236213700Smmcommit d52b411716a614c202e89ba732492efb9916cd3f
1237213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1238213700SmmDate:   Sun Oct 10 17:58:58 2010 +0300
1239213700Smm
1240213700Smm    xz: Use "%"PRIu32 instead of "%d" in a format string.
1241213700Smm
1242213700Smmcommit ae74d1bdeb075c3beefe76e1136c5741804e7e91
1243213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1244213700SmmDate:   Sun Oct 10 17:43:26 2010 +0300
1245213700Smm
1246213700Smm    test_files.sh: Fix the first line.
1247213700Smm    
1248213700Smm    For some reason this prevented running the test only
1249213700Smm    on OS/2 and even on that it broke only recently.
1250213700Smm    
1251213700Smm    Thanks to Elbert Pol.
1252213700Smm
1253213700Smmcommit d492b80ddd6f9a13419de6d102df7374d8f448e8
1254213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1255213700SmmDate:   Sun Oct 10 16:49:01 2010 +0300
1256213700Smm
1257213700Smm    lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
1258213700Smm
1259213700Smmcommit 825e859a9054bd91202e5723c41a17e72f63040a
1260213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1261213700SmmDate:   Sun Oct 10 16:47:01 2010 +0300
1262213700Smm
1263213700Smm    lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
1264213700Smm
1265213700Smmcommit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
1266213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1267213700SmmDate:   Sat Oct 9 23:20:51 2010 +0300
1268213700Smm
1269213700Smm    lzmainfo: Use setmode() on DOS-like systems.
1270213700Smm
1271213700Smmcommit ef364d3abc5647111c5424ea0d83a567e184a23b
1272213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1273213700SmmDate:   Sat Oct 9 21:51:03 2010 +0300
1274213700Smm
1275213700Smm    OS/2 and DOS: Be less verbose on signals.
1276213700Smm    
1277213700Smm    Calling raise() to kill xz when user has pressed C-c
1278213700Smm    is a bit verbose on OS/2 and DOS/DJGPP. Instead of
1279213700Smm    calling raise(), set only the exit status to 1.
1280213700Smm
1281213700Smmcommit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
1282213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1283213700SmmDate:   Sat Oct 9 19:28:49 2010 +0300
1284213700Smm
1285213700Smm    DOS: Update the Makefile, config.h and README.
1286213700Smm    
1287213700Smm    This is now simpler and builds only xz.exe.
1288213700Smm
1289213700Smmcommit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
1290213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1291213700SmmDate:   Sat Oct 9 18:57:55 2010 +0300
1292213700Smm
1293213700Smm    Windows: Put some license info into README-Windows.txt.
1294213700Smm
1295213700Smmcommit e75100f549f85d231df25c07aa94d63e78e2d668
1296213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1297213700SmmDate:   Sat Oct 9 18:57:04 2010 +0300
1298213700Smm
1299213700Smm    Windows: Fix a diagnostics bug in build.bash.
1300213700Smm
1301213700Smmcommit efeb998a2b1025df1c1d202cc7d21d866cd1c336
1302213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1303213700SmmDate:   Sat Oct 9 13:02:15 2010 +0300
1304213700Smm
1305213700Smm    lzmainfo: Add Windows resource file.
1306213700Smm
1307213700Smmcommit 389d418445f1623593dfdbba55d52fbb6d1205f5
1308213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1309213700SmmDate:   Sat Oct 9 12:57:25 2010 +0300
1310213700Smm
1311213700Smm    Add missing public domain notice to lzmadec_w32res.rc.
1312213700Smm
1313213700Smmcommit 6389c773a4912dd9f111256d74ba1605230a7957
1314213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1315213700SmmDate:   Sat Oct 9 12:52:12 2010 +0300
1316213700Smm
1317213700Smm    Windows: Update common_w32res.rc.
1318213700Smm
1319213700Smmcommit 71275457ca24c9b01721f5cfc3638cf094daf454
1320213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1321213700SmmDate:   Sat Oct 9 12:27:08 2010 +0300
1322213700Smm
1323213700Smm    Windows: Make build.bash prefer MinGW-w32 over MinGW.
1324213700Smm    
1325213700Smm    This is simply for licensing reasons. The 64-bit version
1326213700Smm    will be built with MinGW-w64 anyway (at least for now),
1327213700Smm    so using it also for 32-bit build allows using the same
1328213700Smm    copyright notice about the MinGW-w64/w32 runtime.
1329213700Smm    
1330213700Smm    Note that using MinGW would require a copyright notice too,
1331213700Smm    because its runtime is not in the public domain either even
1332213700Smm    though MinGW's home page claims that it is public domain.
1333213700Smm    See <http://marc.info/?l=mingw-users&m=126489506214078>.
1334213700Smm
1335213700Smmcommit 3ac35719d8433af937af6491383d4a50e343099b
1336213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1337213700SmmDate:   Sat Oct 9 11:33:21 2010 +0300
1338213700Smm
1339213700Smm    Windows: Copy COPYING-Windows.txt (if it exists) to the package.
1340213700Smm    
1341213700Smm    Also, put README-Windows.txt to the doc directory like
1342213700Smm    the other documentation files.
1343213700Smm
1344213700Smmcommit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
1345213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1346213700SmmDate:   Fri Oct 8 21:42:37 2010 +0300
1347213700Smm
1348213700Smm    Windows: Fix build.bash again.
1349213700Smm    
1350213700Smm    630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
1351213700Smm
1352213700Smmcommit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
1353213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1354213700SmmDate:   Fri Oct 8 16:53:20 2010 +0300
1355213700Smm
1356213700Smm    Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
1357213700Smm    
1358213700Smm    Those are the same thing, and the former makes it a bit
1359213700Smm    easier to build the code with other build systems, because
1360213700Smm    one doesn't need to update the version number into custom
1361213700Smm    config.h.
1362213700Smm    
1363213700Smm    This change affects only lzmainfo. Other tools were already
1364213700Smm    using LZMA_VERSION_STRING.
1365213700Smm
1366213700Smmcommit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
1367213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1368213700SmmDate:   Fri Oct 8 15:59:25 2010 +0300
1369213700Smm
1370213700Smm    configure.ac: Remove two unused defines.
1371213700Smm
1372213700Smmcommit 11f51b6714357cb67ec7e56ed9575c199b5581fe
1373213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1374213700SmmDate:   Fri Oct 8 15:32:29 2010 +0300
1375213700Smm
1376213700Smm    Make tests accommodate missing xz or xzdec.
1377213700Smm
1378213700Smmcommit b1c7368f95e93ccdefdd0748e04398c26766f47f
1379213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1380213700SmmDate:   Fri Oct 8 15:25:45 2010 +0300
1381213700Smm
1382213700Smm    Build: Add options to disable individual command line tools.
1383213700Smm
1384213700Smmcommit 630a8beda34af0ac153c8051b1bf01230558e422
1385213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1386213700SmmDate:   Thu Oct 7 00:44:53 2010 +0300
1387213700Smm
1388213700Smm    Windows: Make build.bash work without --enable-dynamic=no.
1389213700Smm
1390213700Smmcommit f9907503f882a745dce9d84c2968f6c175ba966a
1391213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1392213700SmmDate:   Tue Oct 5 14:13:16 2010 +0300
1393213700Smm
1394213700Smm    Build: Remove the static/dynamic tricks.
1395213700Smm    
1396213700Smm    Most distros want xz linked against shared liblzma, so
1397213700Smm    it doesn't help much to require --enable-dynamic for that.
1398213700Smm    Those who want to avoid PIC on x86-32 to get better
1399213700Smm    performance, can still do it e.g. by using --disable-shared
1400213700Smm    to compile xz and then another pass to compile shared liblzma.
1401213700Smm    
1402213700Smm    Part of these static/dynamic tricks were needed for Windows
1403213700Smm    in the past. Nowadays we rely on GCC and binutils to do the
1404213700Smm    right thing with auto-import. If the Autotooled build system
1405213700Smm    needs to support some other toolchain on Windows in the future,
1406213700Smm    this may need some rethinking.
1407213700Smm
1408213700Smmcommit fda4724d8114fccfa31c1839c15479f350c2fb4c
1409213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1410213700SmmDate:   Tue Oct 5 12:18:58 2010 +0300
1411213700Smm
1412213700Smm    configure.ac: Silence a warning from Autoconf 2.68.
1413213700Smm
1414213700Smmcommit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
1415213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1416213700SmmDate:   Mon Oct 4 19:43:01 2010 +0300
1417213700Smm
1418213700Smm    A few more languages files to the xz man page.
1419213700Smm    
1420213700Smm    Thanks to Jonathan Nieder.
1421213700Smm
1422213700Smmcommit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
1423213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1424213700SmmDate:   Sat Oct 2 12:07:33 2010 +0300
1425213700Smm
1426213700Smm    Update the FAQ.
1427213700Smm
1428213700Smmcommit 61ae593661e8dc402394e84d567ca2044a51572b
1429213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1430213700SmmDate:   Sat Oct 2 11:38:20 2010 +0300
1431213700Smm
1432213700Smm    liblzma: Small fixes to comments in the API headers.
1433213700Smm
1434213700Smmcommit 9166682dc601fd42c1b9510572e3f917d18de504
1435213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1436213700SmmDate:   Tue Sep 28 11:40:12 2010 +0300
1437213700Smm
1438213700Smm    Create the PDF versions of the man pages better.
1439213700Smm
1440213700Smmcommit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
1441213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1442213700SmmDate:   Tue Sep 28 10:59:53 2010 +0300
1443213700Smm
1444213700Smm    Move version.sh to build-aux.
1445213700Smm
1446213700Smmcommit 84af9d8770451339a692e9b70f96cf56156a6069
1447213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1448213700SmmDate:   Tue Sep 28 10:53:02 2010 +0300
1449213700Smm
1450213700Smm    Update .gitignore.
1451213700Smm
1452213700Smmcommit 31575a449ac64c523da3bab8d0c0b522cdc7c780
1453213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1454213700SmmDate:   Tue Sep 28 01:17:14 2010 +0300
1455213700Smm
1456213700Smm    Fix accomodate -> accommodate on the xz man page.
1457213700Smm
1458213700Smmcommit cec0ddc8ec4ce81685a51998b978e22167e461f9
1459213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1460213700SmmDate:   Mon Sep 27 23:29:34 2010 +0300
1461213700Smm
1462213700Smm    Major man page updates.
1463213700Smm    
1464213700Smm    Lots of content was updated on the xz man page.
1465213700Smm    
1466213700Smm    Technical improvements:
1467213700Smm      - Start a new sentence on a new line.
1468213700Smm      - Use fairly short lines.
1469213700Smm      - Use constant-width font for examples (where supported).
1470213700Smm      - Some minor cleanups.
1471213700Smm    
1472213700Smm    Thanks to Jonathan Nieder for some language fixes.
1473213700Smm
1474213700Smmcommit 075257ab0416a0603be930082e31a5703e4ba345
1475213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1476213700SmmDate:   Sun Sep 26 18:10:31 2010 +0300
1477213700Smm
1478213700Smm    Fix the preset -3e.
1479213700Smm    
1480213700Smm    depth=0 was missing.
1481213700Smm
1482213700Smmcommit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
1483213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1484213700SmmDate:   Thu Sep 23 14:03:10 2010 +0300
1485213700Smm
1486213700Smm    Add translations.bash and translation notes to README.
1487213700Smm    
1488213700Smm    translations.bash prints some messages from xz, which
1489213700Smm    hopefully makes it a bit easier to test translations.
1490213700Smm
1491213700Smmcommit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
1492213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1493213700SmmDate:   Fri Sep 17 22:14:30 2010 +0300
1494213700Smm
1495213700Smm    xz: Update the Czech translation.
1496213700Smm    
1497213700Smm    Thanks to Marek ��ernock��.
1498213700Smm
1499213700Smmcommit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
1500213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1501213700SmmDate:   Thu Sep 16 23:40:41 2010 +0300
1502213700Smm
1503213700Smm    xz: Add Italian translation.
1504213700Smm    
1505213700Smm    Thanks to Milo Casagrande and Lorenzo De Liso.
1506213700Smm
1507213700Smmcommit 21088018554e2b0e02914205377ceb6e34a090bd
1508213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1509213700SmmDate:   Wed Sep 15 00:34:13 2010 +0300
1510213700Smm
1511213700Smm    xz: Edit a translators comment.
1512213700Smm
1513213700Smmcommit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
1514213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1515213700SmmDate:   Tue Sep 14 22:47:14 2010 +0300
1516213700Smm
1517213700Smm    xz: Add German translation.
1518213700Smm    
1519213700Smm    Thanks to Andre Noll.
1520213700Smm
1521213700Smmcommit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
1522213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1523213700SmmDate:   Fri Sep 10 14:30:25 2010 +0300
1524213700Smm
1525213700Smm    Updated README.
1526213700Smm
1527213700Smmcommit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
1528213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1529213700SmmDate:   Fri Sep 10 14:30:07 2010 +0300
1530213700Smm
1531213700Smm    Updated INSTALL.
1532213700Smm
1533213700Smmcommit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
1534213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1535213700SmmDate:   Fri Sep 10 14:26:20 2010 +0300
1536213700Smm
1537213700Smm    Updated the git repository address in ChangeLog.
1538213700Smm
1539213700Smmcommit a8760203f93a69bc39fd14520a6e9e7b7d70be06
1540213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1541213700SmmDate:   Fri Sep 10 14:09:33 2010 +0300
1542213700Smm
1543213700Smm    xz: Add a comment to translators about "literal context bits".
1544213700Smm
1545213700Smmcommit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
1546213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1547213700SmmDate:   Fri Sep 10 10:30:33 2010 +0300
1548213700Smm
1549213700Smm    xz: Multiple fixes.
1550213700Smm    
1551213700Smm    The code assumed that printing numbers with thousand separators
1552213700Smm    and decimal points would always produce only US-ASCII characters.
1553213700Smm    This was used for buffer sizes (with snprintf(), no overflows)
1554213700Smm    and aligning columns of the progress indicator and --list. That
1555213700Smm    assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
1556213700Smm    multibyte character support was added in this commit. The old
1557213700Smm    way is used if the operating system doesn't have enough multibyte
1558213700Smm    support (e.g. lacks wcwidth()).
1559213700Smm    
1560213700Smm    The sizes of buffers were increased to accomodate multibyte
1561213700Smm    characters. I don't know how big they should be exactly, but
1562213700Smm    they aren't used for anything critical, so it's not too bad.
1563213700Smm    If they still aren't big enough, I hopefully get a bug report.
1564213700Smm    snprintf() takes care of avoiding buffer overflows.
1565213700Smm    
1566213700Smm    Some static buffers were replaced with buffers allocated on
1567213700Smm    stack. double_to_str() was removed. uint64_to_str() and
1568213700Smm    uint64_to_nicestr() now share the static buffer and test
1569213700Smm    for thousand separator support.
1570213700Smm    
1571213700Smm    Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
1572213700Smm    were marked to be translated. I had forgot these, plus they
1573213700Smm    wouldn't have worked correctly anyway before this commit,
1574213700Smm    because printing tables with multibyte strings didn't work.
1575213700Smm    
1576213700Smm    Thanks to Marek ��ernock�� for reporting the bug about
1577213700Smm    misaligned table columns in --list output.
1578213700Smm
1579213700Smmcommit 639f8e2af33cf8a184d59ba56b6df7c098679d61
1580213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1581213700SmmDate:   Wed Sep 8 08:49:22 2010 +0300
1582213700Smm
1583213700Smm    Update the Czech translation.
1584213700Smm    
1585213700Smm    Thanks to Marek ��ernock��.
1586213700Smm
1587213700Smmcommit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
1588213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1589213700SmmDate:   Tue Sep 7 12:31:40 2010 +0300
1590213700Smm
1591213700Smm    xz: Add a note to translators.
1592213700Smm
1593213700Smmcommit 77a7746616e555fc08028e883a56d06bf0088b81
1594213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1595213700SmmDate:   Tue Sep 7 10:42:13 2010 +0300
1596213700Smm
1597213700Smm    Fix use of N_() and ngettext().
1598213700Smm    
1599213700Smm    I had somehow thought that N_() is usually used
1600213700Smm    as shorthand for ngettext().
1601213700Smm    
1602213700Smm    This also fixes a missing \n from a call to ngettext().
1603213700Smm
1604213700Smmcommit e6ad39335842343e622ab51207d1d3cb9caad801
1605213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1606213700SmmDate:   Mon Sep 6 19:43:12 2010 +0300
1607213700Smm
1608213700Smm    Add missing files to POTFILES.in.
1609213700Smm
1610213700Smmcommit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
1611213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1612213700SmmDate:   Mon Sep 6 10:16:24 2010 +0300
1613213700Smm
1614213700Smm    xz: Improve a comment.
1615213700Smm
1616213700Smmcommit bcb1b898341f7073f51660d7052d7ed6c5461a66
1617213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1618213700SmmDate:   Sun Sep 5 21:34:29 2010 +0300
1619213700Smm
1620213700Smm    xz: Update the comment about NetBSD in file_io.c.
1621213700Smm    
1622213700Smm    Thanks to Joerg Sonnenberger.
1623213700Smm
1624213700Smmcommit da014d55972f5addbf6b4360d3d8ed2ef4282170
1625213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1626213700SmmDate:   Sun Sep 5 21:11:33 2010 +0300
1627213700Smm
1628213700Smm    xz: Use an array instead of pointer for stdin_filename.
1629213700Smm    
1630213700Smm    Thanks Joerg Sonnenberger.
1631213700Smm
1632213700Smmcommit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
1633213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1634213700SmmDate:   Sun Sep 5 12:16:17 2010 +0300
1635213700Smm
1636213700Smm    xz: Hopefully ease translating the messages in list.c.
1637213700Smm
1638213700Smmcommit ef840950ad99cf2955c754875af0e01acf125079
1639213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1640213700SmmDate:   Sat Sep 4 23:14:44 2010 +0300
1641213700Smm
1642213700Smm    xz: Fix grammar.
1643213700Smm
1644213700Smmcommit c46afd6edc04ea140db6c59e8486f5707c810c13
1645213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1646213700SmmDate:   Sat Sep 4 23:12:20 2010 +0300
1647213700Smm
1648213700Smm    xz: Use lzma_lzma_preset() to initialize the options structure.
1649213700Smm
1650213700Smmcommit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
1651213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1652213700SmmDate:   Sat Sep 4 22:16:28 2010 +0300
1653213700Smm
1654213700Smm    Don't set lc=4 with --extreme.
1655213700Smm    
1656213700Smm    This should reduce the cases where --extreme makes
1657213700Smm    compression worse. On the other hand, some other
1658213700Smm    files may now benefit slightly less from --extreme.
1659213700Smm
1660213700Smmcommit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
1661213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1662213700SmmDate:   Sat Sep 4 22:10:32 2010 +0300
1663213700Smm
1664213700Smm    xz: Minor improvements to --help and --long-help.
1665213700Smm
1666213700Smmcommit 373ee26f955617295c5c537b04a153a1969140d2
1667213700SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
1668213700SmmDate:   Fri Sep 3 16:49:15 2010 -0500
1669213700Smm
1670213700Smm    Adjust memory limits in test_compress.sh
1671213700Smm    
1672213700Smm    Testing compression at level -4 now requires 48 MiB of free store at
1673213700Smm    compression time and 5 MiB at decompression time.
1674213700Smm    
1675213700Smm    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
1676213700Smm
1677213700Smmcommit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
1678213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1679213700SmmDate:   Fri Sep 3 15:54:40 2010 +0300
1680213700Smm
1681213700Smm    xz: Make -vv show also decompressor memory usage.
1682213700Smm
1683213700Smmcommit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
1684213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1685213700SmmDate:   Fri Sep 3 15:13:12 2010 +0300
1686213700Smm
1687213700Smm    Tweak the compression presets -0 .. -5.
1688213700Smm    
1689213700Smm    "Extreme" mode might need some further tweaking still.
1690213700Smm    Docs were not updated yet.
1691213700Smm
1692213700Smmcommit 77fe5954cd3d10fb1837372684cbc133b56b6a87
1693213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1694213700SmmDate:   Fri Sep 3 12:28:41 2010 +0300
1695213700Smm
1696213700Smm    liblzma: Adjust default depth calculation for HC3 and HC4.
1697213700Smm    
1698213700Smm    It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
1699213700Smm    This allows faster settings at lower nice_len values,
1700213700Smm    even though it seems that I won't use automatic depth
1701213700Smm    calcuation with HC3 and HC4 in the presets.
1702213700Smm
1703213700Smmcommit fce69059cf901ce8075a78c7607d591f144a3b5a
1704213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1705213700SmmDate:   Fri Sep 3 11:11:25 2010 +0300
1706213700Smm
1707213700Smm    xz: Make --help two lines shorter.
1708213700Smm    
1709213700Smm    At least for now, the --help option doesn't list any
1710213700Smm    options that take arguments, so "Mandatory arguments to..."
1711213700Smm    can be omitted.
1712213700Smm
1713213700Smmcommit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
1714213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1715213700SmmDate:   Thu Sep 2 19:22:35 2010 +0300
1716213700Smm
1717213700Smm    xz: Make setting a preset override a custom filter chain.
1718213700Smm    
1719213700Smm    This is more logical behavior than ignoring preset level
1720213700Smm    options once a custom filter chain has been specified.
1721213700Smm
1722213700Smmcommit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
1723213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1724213700SmmDate:   Thu Sep 2 19:09:57 2010 +0300
1725213700Smm
1726213700Smm    xz: Always warn if adjusting dictionary size due to memlimit.
1727213700Smm
1728213700Smmcommit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
1729213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1730213700SmmDate:   Tue Aug 10 11:04:30 2010 +0300
1731213700Smm
1732213700Smm    Fix test_compress.sh.
1733213700Smm    
1734213700Smm    It broke when --memory option was removed from xzdec.
1735213700Smm    
1736213700Smm    Thanks to Jonathan Nieder.
1737213700Smm
1738213700Smmcommit 792331bdee706aa852a78b171040ebf814c6f3ae
1739213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1740213700SmmDate:   Sat Aug 7 20:45:18 2010 +0300
1741213700Smm
1742213700Smm    Disable the memory usage limiter by default.
1743213700Smm    
1744213700Smm    For several people, the limiter causes bigger problems that
1745213700Smm    it solves, so it is better to have it disabled by default.
1746213700Smm    Those who want to have a limiter by default need to enable
1747213700Smm    it via the environment variable XZ_DEFAULTS.
1748213700Smm    
1749213700Smm    Support for environment variable XZ_DEFAULTS was added. It is
1750213700Smm    parsed before XZ_OPT and technically identical with it. The
1751213700Smm    intended uses differ quite a bit though; see the man page.
1752213700Smm    
1753213700Smm    The memory usage limit can now be set separately for
1754213700Smm    compression and decompression using --memlimit-compress and
1755213700Smm    --memlimit-decompress. To set both at once, -M or --memlimit
1756213700Smm    can be used. --memory was retained as a legacy alias for
1757213700Smm    --memlimit for backwards compatibility.
1758213700Smm    
1759213700Smm    The semantics of --info-memory were changed in backwards
1760213700Smm    incompatible way. Compatibility wasn't meaningful due to
1761213700Smm    changes in the memory usage limiter functionality.
1762213700Smm    
1763213700Smm    The memory usage limiter info is no longer shown at the
1764213700Smm    bottom of xz --long -help.
1765213700Smm    
1766213700Smm    The memory usage limiter support for removed completely from xzdec.
1767213700Smm    
1768213700Smm    xz's man page was updated to match the above changes. Various
1769213700Smm    unrelated fixes were also made to the man page.
1770213700Smm
1771213700Smmcommit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
1772213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1773213700SmmDate:   Fri Aug 6 20:22:16 2010 +0300
1774213700Smm
1775213700Smm    Add missing const to a global constant in xz.
1776213700Smm
1777213700Smmcommit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
1778213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1779213700SmmDate:   Wed Jul 28 11:44:55 2010 +0300
1780213700Smm
1781213700Smm    Language fixes for man pages.
1782213700Smm    
1783213700Smm    Thanks to A. Costa and Jonathan Nieder.
1784213700Smm
1785213700Smmcommit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
1786213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1787213700SmmDate:   Tue Jul 27 20:47:12 2010 +0300
1788213700Smm
1789213700Smm    Windows: Add a note about building a Git repository snapshot
1790213700Smm
1791213700Smmcommit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
1792213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1793213700SmmDate:   Tue Jul 27 20:45:03 2010 +0300
1794213700Smm
1795213700Smm    Windows: build.sh is a bash script so name it correctly.
1796213700Smm
1797213700Smmcommit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
1798213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1799213700SmmDate:   Tue Jul 27 20:27:32 2010 +0300
1800213700Smm
1801213700Smm    Windows: Don't strip liblzma.a too much.
1802213700Smm
1803213700Smmcommit a540198ffb25fad36380c5e92ac20c2d28eec46a
1804213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1805213700SmmDate:   Tue Jul 13 20:07:26 2010 +0300
1806213700Smm
1807213700Smm    Updated THANKS.
1808213700Smm
1809213700Smmcommit bab0f01ed931f606b4675aa9f9331a17cec09bad
1810213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1811213700SmmDate:   Tue Jul 13 19:55:50 2010 +0300
1812213700Smm
1813213700Smm    Add two simple example programs.
1814213700Smm    
1815213700Smm    Hopefully these help a bit when learning the basics
1816213700Smm    of liblzma API. I plan to write detailed examples about
1817213700Smm    both basic and advanced features with lots of comments,
1818213700Smm    but these two examples are good have right now.
1819213700Smm    
1820213700Smm    The examples were written by Daniel Mealha Cabrita. Thanks.
1821213700Smm
1822213700Smmcommit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
1823213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1824213700SmmDate:   Tue Jun 15 14:06:29 2010 +0300
1825213700Smm
1826213700Smm    Add --no-adjust.
1827213700Smm
1828213700Smmcommit 2130926dd1c839280358172dfadd8d3054bde2b4
1829213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1830213700SmmDate:   Fri Jun 11 21:51:32 2010 +0300
1831213700Smm
1832213700Smm    Updated THANKS.
1833213700Smm
1834213700Smmcommit bc612d0e0c9e4504c59d49168e87a7ae3e458443
1835213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1836213700SmmDate:   Fri Jun 11 21:48:32 2010 +0300
1837213700Smm
1838213700Smm    Clarify the description of the default memlimit in the man page.
1839213700Smm    
1840213700Smm    Thanks to Denis Excoffier.
1841213700Smm
1842213700Smmcommit e1b6935d60a00405e6b5b455a3426d2248cc926c
1843213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1844213700SmmDate:   Fri Jun 11 21:43:28 2010 +0300
1845213700Smm
1846213700Smm    Fix string to uint64_t conversion.
1847213700Smm    
1848213700Smm    Thanks to Denis Excoffier for the bug report.
1849213700Smm
1850213700Smmcommit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
1851213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1852213700SmmDate:   Fri Jun 11 10:40:28 2010 +0300
1853213700Smm
1854213700Smm    Put the git commit to the filename in mydist rule.
1855213700Smm
1856213700Smmcommit d8b41eedce486d400f701b757b7b5e4e32276618
1857213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1858213700SmmDate:   Wed Jun 2 23:13:55 2010 +0300
1859213700Smm
1860213700Smm    Fix compiling with -Werror.
1861213700Smm
1862213700Smmcommit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
1863213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1864213700SmmDate:   Wed Jun 2 23:09:22 2010 +0300
1865213700Smm
1866213700Smm    Silence a bogus Valgrind warning.
1867213700Smm    
1868213700Smm    When using -O2 with GCC, it liked to swap two comparisons
1869213700Smm    in one "if" statement. It's otherwise fine except that
1870213700Smm    the latter part, which is seemingly never executed, got
1871213700Smm    executed (nothing wrong with that) and then triggered
1872213700Smm    warning in Valgrind about conditional jump depending on
1873213700Smm    uninitialized variable. A few people find this annoying
1874213700Smm    so do things a bit differently to avoid the warning.
1875213700Smm
1876213700Smmcommit 29a7b250e685852f2f97615493ec49acaf528623
1877213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1878213700SmmDate:   Wed Jun 2 21:32:12 2010 +0300
1879213700Smm
1880213700Smm    Fix a Windows-specific FIXME in signal handling code.
1881213700Smm
1882213700Smmcommit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
1883213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1884213700SmmDate:   Wed Jun 2 17:46:58 2010 +0300
1885213700Smm
1886213700Smm    Adjust SA_RESTART workaround.
1887213700Smm    
1888213700Smm    I want to get a bug report if something else than
1889213700Smm    DJGPP lacks SA_RESTART.
1890213700Smm
1891213700Smmcommit e243145c84ab5c3be8259fd486ead0de5235b3f0
1892213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1893213700SmmDate:   Tue Jun 1 16:02:30 2010 +0300
1894213700Smm
1895213700Smm    xz man page updates.
1896213700Smm    
1897213700Smm    - Concatenating .xz files and padding
1898213700Smm    - List mode
1899213700Smm    - Robot mode
1900213700Smm    - A few examples (but many more are needed)
1901213700Smm
1902213700Smmcommit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
1903213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1904213700SmmDate:   Tue Jun 1 15:51:44 2010 +0300
1905213700Smm
1906213700Smm    Major update to xz --list.
1907213700Smm
1908213700Smmcommit 905e54804a899e4ad526d38fdba7e803ab9b71bd
1909213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1910213700SmmDate:   Tue Jun 1 14:13:03 2010 +0300
1911213700Smm
1912213700Smm    Rename message_filters_get() to message_filters_to_str().
1913213700Smm
1914213700Smmcommit 4b346ae8af20045027ae5efb068c6d69da3324d2
1915213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1916213700SmmDate:   Tue Jun 1 14:09:12 2010 +0300
1917213700Smm
1918213700Smm    Fix a comment.
1919213700Smm
1920213700Smmcommit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
1921213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1922213700SmmDate:   Thu May 27 16:17:42 2010 +0300
1923213700Smm
1924213700Smm    Fix lzma_block_compressed_size().
1925213700Smm
1926213700Smmcommit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
1927213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1928213700SmmDate:   Thu May 27 14:32:51 2010 +0300
1929213700Smm
1930213700Smm    Take Cygwin into account in some #if lines.
1931213700Smm    
1932213700Smm    This change is no-op, but good to have just in case
1933213700Smm    for the future.
1934213700Smm
1935213700Smmcommit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
1936213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1937213700SmmDate:   Thu May 27 13:42:44 2010 +0300
1938213700Smm
1939213700Smm    Remove references to the Subblock filter in xz and tests.
1940213700Smm    
1941213700Smm    Thanks to Jonathan Nieder.
1942213700Smm
1943213700Smmcommit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
1944213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1945213700SmmDate:   Thu May 27 13:35:36 2010 +0300
1946213700Smm
1947213700Smm    Remove unused chunk_size.c.
1948213700Smm    
1949213700Smm    Thanks to Jonathan Nieder for the reminder.
1950213700Smm
1951213700Smmcommit 01a414eaf4be6352c06b48001b041b47e8202faa
1952213700SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
1953213700SmmDate:   Thu May 27 02:31:33 2010 -0500
1954213700Smm
1955213700Smm    Use my_min() instead of MIN() in src/xz/list.c
1956213700Smm    
1957213700Smm    This should have been done in
1958213700Smm    920a69a8d8e4203c5edddd829d932130eac188ea.
1959213700Smm
1960213700Smmcommit 920a69a8d8e4203c5edddd829d932130eac188ea
1961213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1962213700SmmDate:   Wed May 26 10:36:46 2010 +0300
1963213700Smm
1964213700Smm    Rename MIN() and MAX() to my_min() and my_max().
1965213700Smm    
1966213700Smm    This should avoid some minor portability issues.
1967213700Smm
1968213700Smmcommit 019ae27c24d0c694545a6a46f8b9fb552198b015
1969213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1970213700SmmDate:   Wed May 26 10:30:20 2010 +0300
1971213700Smm
1972213700Smm    Fix compilation of debug/known_sizes.c.
1973213700Smm
1974213700Smmcommit 98a4856a6ea84f79c790057a6eb89a25bc45b074
1975213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1976213700SmmDate:   Wed May 26 10:28:54 2010 +0300
1977213700Smm
1978213700Smm    Remove references to Subblock filter in debug/sync_flush.c.
1979213700Smm
1980213700Smmcommit 703d2c33c095c41ae0693ee8c27c45e3847e4535
1981213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1982213700SmmDate:   Wed May 26 10:16:57 2010 +0300
1983213700Smm
1984213700Smm    Better #error message.
1985213700Smm
1986213700Smmcommit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
1987213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1988213700SmmDate:   Wed May 26 09:55:47 2010 +0300
1989213700Smm
1990213700Smm    Remove the Subblock filter code for now.
1991213700Smm    
1992213700Smm    The spec isn't finished and the code didn't compile anymore.
1993213700Smm    It won't be included in XZ Utils 5.0.0. It's easy to get it
1994213700Smm    back once the spec is done.
1995213700Smm
1996213700Smmcommit b6377fc990f9b8651149cae0fecb8b9c5904e26d
1997213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
1998213700SmmDate:   Sun May 16 18:42:22 2010 +0300
1999213700Smm
2000213700Smm    Split message_filters().
2001213700Smm    
2002213700Smm    message_filters_to_str() converts the filter chain to
2003213700Smm    a string. message_filters_show() replaces the original
2004213700Smm    message_filters().
2005213700Smm    
2006213700Smm    uint32_to_optstr() was also added to show the dictionary
2007213700Smm    size in nicer format when possible.
2008213700Smm
2009213700Smmcommit d9986db782d6cf0f314342127280519339378fa0
2010213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2011213700SmmDate:   Fri May 14 23:17:20 2010 +0300
2012213700Smm
2013213700Smm    Omit lzma_restrict from the API headers.
2014213700Smm    
2015213700Smm    It isn't really useful so omitting it makes things
2016213700Smm    shorter and slightly more readable.
2017213700Smm
2018213700Smmcommit 0d3489efca0a723dca0394809fa3e6170843af4b
2019213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2020213700SmmDate:   Mon May 10 19:57:24 2010 +0300
2021213700Smm
2022213700Smm    Updated INSTALL.
2023213700Smm
2024213700Smmcommit 3fb3d594a2b53886adee161b6261e92277f05f7c
2025213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2026213700SmmDate:   Mon May 10 19:54:52 2010 +0300
2027213700Smm
2028213700Smm    Updated THANKS.
2029213700Smm
2030213700Smmcommit 6548e304657e77d3a972053db3c41c5daf591113
2031213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2032213700SmmDate:   Mon May 10 19:54:15 2010 +0300
2033213700Smm
2034213700Smm    Updates to tuklib_physmem and tuklib_cpucores.
2035213700Smm    
2036213700Smm    Don't use #error to generate compile error, because some
2037213700Smm    compilers actually don't take it as an error. This fixes
2038213700Smm    tuklib_physmem on IRIX.
2039213700Smm    
2040213700Smm    Fix incorrect error check for sysconf() return values.
2041213700Smm    
2042213700Smm    Add AIX, HP-UX, and Tru64 specific code to detect the
2043213700Smm    amount RAM.
2044213700Smm    
2045213700Smm    Add HP-UX specific code to detect the number of CPU cores.
2046213700Smm    
2047213700Smm    Thanks a lot to Peter O'Gorman for initial patches,
2048213700Smm    testing, and debugging these fixes.
2049213700Smm
2050207753Smmcommit a290cfee3e23f046889c022aa96b4eca2016fdda
2051207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2052207753SmmDate:   Mon Apr 12 21:55:56 2010 +0300
2053207753Smm
2054207753Smm    Show both elapsed time and estimated remaining time in xz -v.
2055207753Smm    
2056207753Smm    The extra space for showing both has been taken from the
2057207753Smm    sizes field. If the sizes grow big, bigger units than MiB
2058207753Smm    will be used. It makes it slightly difficult to see that
2059207753Smm    progress is still happening with huge files, but it should
2060207753Smm    be OK in practice.
2061207753Smm    
2062207753Smm    Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
2063207753Smm    and Jonathan Nieder for suggestions how to fix it.
2064207753Smm
2065207753Smmcommit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
2066207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2067207753SmmDate:   Wed Mar 31 16:47:25 2010 +0300
2068207753Smm
2069207753Smm    Add a simple tip to faq.txt about tar and xz.
2070207753Smm    
2071207753Smm    Thanks to Gilles Espinasse.
2072207753Smm
2073207753Smmcommit c737eec91d200d730aa82662affd6b06ebb0bff0
2074207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2075207753SmmDate:   Mon Mar 22 21:03:03 2010 +0200
2076207753Smm
2077207753Smm    Updated THANKS.
2078207753Smm
2079207753Smmcommit f4b2b52624b802c786e4e2a8eb6895794dd93b24
2080207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2081207753SmmDate:   Sun Mar 7 19:52:25 2010 +0200
2082207753Smm
2083207753Smm    Fix xzgrep to not break if filenames have spaces or quotes.
2084207753Smm    
2085207753Smm    Thanks to someone who reported the bug on IRC.
2086207753Smm
2087207753Smmcommit cf38da00a140bd3bd65b192390ae5553380fd774
2088207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2089207753SmmDate:   Sun Mar 7 13:59:32 2010 +0200
2090207753Smm
2091207753Smm    Treat all integer multiplier suffixes as base-2.
2092207753Smm    
2093207753Smm    Originally both base-2 and base-10 were supported, but since
2094207753Smm    there seems to be little need for base-10 in XZ Utils, treat
2095207753Smm    everything as base-2 and also be more relaxed about the case
2096207753Smm    of the first letter of the suffix. Now xz will accept e.g.
2097207753Smm    KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
2098207753Smm    recommended spelling of the suffixes are still KiB, MiB, and GiB.
2099207753Smm
2100207753Smmcommit 00fc1211ae7b687ac912098f4479112059deccbd
2101207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2102207753SmmDate:   Sun Mar 7 13:50:23 2010 +0200
2103207753Smm
2104207753Smm    Consistently round up the memory usage limit in messages.
2105207753Smm    
2106207753Smm    It still feels a bit wrong to round 1 byte to 1 MiB but
2107207753Smm    at least it is now done consistently so that the same
2108207753Smm    byte value is always rounded the same way to MiB.
2109207753Smm
2110207753Smmcommit 9886d436ff5615fc70eef32ff757b1e934069621
2111207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2112207753SmmDate:   Sun Mar 7 13:34:34 2010 +0200
2113207753Smm
2114207753Smm    Change the default of --enable-assume-ram from 32 to 128 MiB.
2115207753Smm    
2116207753Smm    This is to allow files created with "xz -9" to be decompressed
2117207753Smm    if the amount of RAM cannot be determined.
2118207753Smm
2119207753Smmcommit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
2120207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2121207753SmmDate:   Sun Mar 7 13:29:28 2010 +0200
2122207753Smm
2123207753Smm    Increase the default memory usage limit on "low-memory" systems.
2124207753Smm    
2125207753Smm    Previously the default limit was always 40 % of RAM. The
2126207753Smm    new limit is a little bit more complex:
2127207753Smm    
2128207753Smm      - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
2129207753Smm        as the limit.
2130207753Smm    
2131207753Smm      - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
2132207753Smm    
2133207753Smm      - Otherwise 80 % of RAM is used as the limit.
2134207753Smm    
2135207753Smm    This should make it possible to decompress files created with
2136207753Smm    "xz -9" on more systems. Swapping is generally more expected
2137207753Smm    on systems with less RAM, so higher default limit on them
2138207753Smm    shouldn't cause too bad surprises in terms of heavy swapping.
2139207753Smm    Instead, the higher default limit should reduce the number of
2140207753Smm    bad surprises when it used to prevent decompression of files
2141207753Smm    created with "xz -9". The DoS prevention system shouldn't be
2142207753Smm    a DoS itself.
2143207753Smm    
2144207753Smm    Note that even with the new default limit, a system with 64 MiB
2145207753Smm    RAM cannot decompress files created with "xz -9" without user
2146207753Smm    overriding the limit. This should be OK, because if xz is going
2147207753Smm    to need more memory than the system has RAM, it will run very
2148207753Smm    very slowly and thus it's good that user has to override the limit
2149207753Smm    in that case.
2150207753Smm
2151207753Smmcommit 5527b7269a997e7f335d60f237a64bbf225d9dc7
2152207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2153207753SmmDate:   Sat Mar 6 21:36:19 2010 +0200
2154207753Smm
2155207753Smm    Updated THANKS.
2156207753Smm
2157207753Smmcommit d0d1c51aea4351288a7e533cce28cb7f852f6b05
2158207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2159207753SmmDate:   Sat Mar 6 21:17:20 2010 +0200
2160207753Smm
2161207753Smm    Fix missing initialization in lzma_strm_init().
2162207753Smm    
2163207753Smm    With bad luck, lzma_code() could return LZMA_BUF_ERROR
2164207753Smm    when it shouldn't.
2165207753Smm    
2166207753Smm    This has been here since the early days of liblzma.
2167207753Smm    It got triggered by the modifications made to the xz
2168207753Smm    tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
2169207753Smm    but only when decompressing .lzma files. Somehow I managed
2170207753Smm    to miss testing that with Valgrind earlier.
2171207753Smm    
2172207753Smm    This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
2173207753Smm    Thanks to Rafa�� Mu��y��o for helping to debug it on IRC.
2174207753Smm
2175207753Smmcommit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
2176207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2177207753SmmDate:   Fri Feb 12 13:16:15 2010 +0200
2178207753Smm
2179207753Smm    Collection of language fixes to comments and docs.
2180207753Smm    
2181207753Smm    Thanks to Jonathan Nieder.
2182207753Smm
2183207753Smmcommit 4785f2021aa6a23f1caf724fcc823e562584f225
2184207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2185207753SmmDate:   Fri Feb 12 12:41:20 2010 +0200
2186207753Smm
2187207753Smm    Fix jl -> jb in ASM files.
2188207753Smm
2189207753Smmcommit 6b50c9429bf85521d355adc61745d06ee017f8c8
2190207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2191207753SmmDate:   Fri Feb 12 12:31:22 2010 +0200
2192207753Smm
2193207753Smm    Use __APPLE__ instead of __MACH__ in ASM files.
2194207753Smm    
2195207753Smm    This allows the files to work on HURD.
2196207753Smm    
2197207753Smm    Thanks to Jonathan Nieder.
2198207753Smm
2199207753Smmcommit 6503fde658a5cdbdd907a788865470dd64771601
2200207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2201207753SmmDate:   Sun Feb 7 19:48:06 2010 +0200
2202207753Smm
2203207753Smm    Subtle change to liblzma Block handling API.
2204207753Smm    
2205207753Smm    lzma_block.version has to be initialized even for
2206207753Smm    lzma_block_header_decode(). This way a future version
2207207753Smm    of liblzma won't allocate memory in a way that an old
2208207753Smm    application doesn't know how to free it.
2209207753Smm    
2210207753Smm    The subtlety of this change is that all current apps
2211207753Smm    using lzma_block_header_decode() will keep working for
2212207753Smm    now, because the only possible version value is zero,
2213207753Smm    and lzma_block_header_decode() unconditionally sets the
2214207753Smm    version to zero even now. Unless fixed, these apps will
2215207753Smm    break in the future if a new version of the Block options
2216207753Smm    is ever needed.
2217207753Smm
2218207753Smmcommit dd7c3841ff78cb94ce02b0220c6e4748460970f7
2219207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2220207753SmmDate:   Tue Feb 2 11:50:11 2010 +0200
2221207753Smm
2222207753Smm    Fix wrong assertion.
2223207753Smm    
2224207753Smm    This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
2225207753Smm
2226207753Smmcommit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
2227207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2228207753SmmDate:   Mon Feb 1 22:48:42 2010 +0200
2229207753Smm
2230207753Smm    Updated TODO.
2231207753Smm
2232207753Smmcommit fef6333f52c8801308c3b78acb7942988541d137
2233207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2234207753SmmDate:   Mon Feb 1 22:47:54 2010 +0200
2235207753Smm
2236207753Smm    Fix typos in comments.
2237207753Smm
2238207753Smmcommit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
2239207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2240207753SmmDate:   Mon Feb 1 22:46:56 2010 +0200
2241207753Smm
2242207753Smm    Fix signal handling for --list.
2243207753Smm
2244207753Smmcommit 82220a149015616f75641ee8bbea415137535b9b
2245207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2246207753SmmDate:   Mon Feb 1 11:44:45 2010 +0200
2247207753Smm
2248207753Smm    Fix compression of symlinks with --force.
2249207753Smm    
2250207753Smm    xz --force accepted symlinks, but didn't remove
2251207753Smm    them after successful compression. Instead, an error
2252207753Smm    message was displayed.
2253207753Smm
2254207753Smmcommit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
2255207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2256207753SmmDate:   Mon Feb 1 10:20:57 2010 +0200
2257207753Smm
2258207753Smm    Fix a comment.
2259207753Smm
2260207753Smmcommit f9dd797a423a148903cf345b4146cb1fe1eab11d
2261207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2262207753SmmDate:   Sun Jan 31 23:43:54 2010 +0200
2263207753Smm
2264207753Smm    Updated THANKS.
2265207753Smm
2266207753Smmcommit ee5ddb8b28419fe4923ded5c18a50570a762dcab
2267207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2268207753SmmDate:   Sun Jan 31 23:41:29 2010 +0200
2269207753Smm
2270207753Smm    Updated TODO.
2271207753Smm
2272207753Smmcommit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
2273207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2274207753SmmDate:   Sun Jan 31 23:35:04 2010 +0200
2275207753Smm
2276207753Smm    Mention TODO in README.
2277207753Smm
2278207753Smmcommit 2901a8e7e82af05675b8cd8758a8ceddb111359f
2279207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2280207753SmmDate:   Sun Jan 31 23:31:14 2010 +0200
2281207753Smm
2282207753Smm    Updated INSTALL.
2283207753Smm
2284207753Smmcommit 8884e16864ba53fb4b58623d7537d7ef30c28e11
2285207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2286207753SmmDate:   Sun Jan 31 23:28:51 2010 +0200
2287207753Smm
2288207753Smm    Revise the Windows build files.
2289207753Smm    
2290207753Smm    The old Makefile + config.h was deleted, because it
2291207753Smm    becomes outdated too easily and building with the
2292207753Smm    Autotools based build system works fine even on Windows.
2293207753Smm    
2294207753Smm    windows/build.sh hasn't got much testing, but it should
2295207753Smm    work to build 32-bit x86 and x86-64 versions of XZ Utils
2296207753Smm    using MSYS, MinGW or MinGW-w32, and MinGW-w64.
2297207753Smm    
2298207753Smm    windows/INSTALL-Windows.txt describes what packages are
2299207753Smm    needed and how to install them.
2300207753Smm    
2301207753Smm    windows/README-Windows.txt is a readme file for the binary
2302207753Smm    package that build.sh hopefully builds.
2303207753Smm    
2304207753Smm    There are no instructions about using Autotools for now,
2305207753Smm    so those using a git snapshot may want to run
2306207753Smm    "autoreconf -fi && ./configure && make mydist" on a UN*X
2307207753Smm    box and then copy the resulting .tar.gz to a Windows.
2308207753Smm
2309207753Smmcommit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
2310207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2311207753SmmDate:   Sun Jan 31 19:52:38 2010 +0200
2312207753Smm
2313207753Smm    Select the default integrity check type at runtime.
2314207753Smm    
2315207753Smm    Previously it was set statically to CRC64 or CRC32
2316207753Smm    depending on options passed to the configure script.
2317207753Smm
2318207753Smmcommit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
2319207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2320207753SmmDate:   Sun Jan 31 18:17:50 2010 +0200
2321207753Smm
2322207753Smm    Improve displaying of the memory usage limit.
2323207753Smm
2324207753Smmcommit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
2325207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2326207753SmmDate:   Sun Jan 31 12:53:56 2010 +0200
2327207753Smm
2328207753Smm    Don't use uninitialized sigset_t.
2329207753Smm    
2330207753Smm    If signal handlers haven't been established, then it's
2331207753Smm    useless to try to block them, especially since the sigset_t
2332207753Smm    used for blocking hasn't been initialized yet.
2333207753Smm
2334207753Smmcommit 231c3c7098f1099a56abb8afece76fc9b8699f05
2335207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2336207753SmmDate:   Sun Jan 31 12:01:54 2010 +0200
2337207753Smm
2338207753Smm    Delay opening the destionation file and other fixes.
2339207753Smm    
2340207753Smm    The opening of the destination file is now delayed a little.
2341207753Smm    The coder is initialized, and if decompressing, the memory
2342207753Smm    usage of the first Block compared against the memory
2343207753Smm    usage limit before the destination file is opened. This
2344207753Smm    means that if --force was used, the old "target" file won't
2345207753Smm    be deleted so easily when something goes wrong very early.
2346207753Smm    Thanks to Mark K for the bug report.
2347207753Smm    
2348207753Smm    The above fix required some changes to progress message
2349207753Smm    handling. Now there is a separate function for setting and
2350207753Smm    printing the filename. It is used also in list.c.
2351207753Smm    
2352207753Smm    list_file() now handles stdin correctly (gives an error).
2353207753Smm    
2354207753Smm    A useless check for user_abort was removed from file_io.c.
2355207753Smm
2356207753Smmcommit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
2357207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2358207753SmmDate:   Fri Jan 29 22:48:04 2010 +0200
2359207753Smm
2360207753Smm    Add list.h to src/xz/Makefile.am.
2361207753Smm    
2362207753Smm    This should have been already in
2363207753Smm    0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
2364207753Smm
2365207753Smmcommit b4b1a56e0cbd597157858264f5c7189201ac9018
2366207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2367207753SmmDate:   Fri Jan 29 13:24:27 2010 +0200
2368207753Smm
2369207753Smm    Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
2370207753Smm
2371207753Smmcommit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
2372207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2373207753SmmDate:   Wed Jan 27 16:42:11 2010 +0200
2374207753Smm
2375207753Smm    Silence two compiler warnings on DOS-like systems.
2376207753Smm
2377207753Smmcommit b063cc34a30a4edf109343ff373b2b62b8ca72d3
2378207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2379207753SmmDate:   Wed Jan 27 13:31:03 2010 +0200
2380207753Smm
2381207753Smm    Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
2382207753Smm
2383207753Smmcommit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
2384207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2385207753SmmDate:   Tue Jan 26 23:37:46 2010 +0200
2386207753Smm
2387207753Smm    Add a missing space to an error message.
2388207753Smm    
2389207753Smm    Thanks to Robert Readman.
2390207753Smm
2391207753Smmcommit e5496f9628ff5979392a80421d0b63a4de8015b4
2392207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2393207753SmmDate:   Tue Jan 26 22:53:37 2010 +0200
2394207753Smm
2395207753Smm    Use past tense in error message in io_unlink().
2396207753Smm    
2397207753Smm    Added a note to translators too.
2398207753Smm    
2399207753Smm    Thanks to Robert Readman.
2400207753Smm
2401207753Smmcommit d9a9800597ea540090e434132c3b511217df0a2b
2402207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2403207753SmmDate:   Tue Jan 26 15:42:24 2010 +0200
2404207753Smm
2405207753Smm    Fix too small static buffer in util.c.
2406207753Smm    
2407207753Smm    This was introduced in
2408207753Smm    0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
2409207753Smm
2410207753Smmcommit d0b4bbf5da068503c099cd456e294d7673548cc0
2411207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2412207753SmmDate:   Tue Jan 26 14:46:43 2010 +0200
2413207753Smm
2414207753Smm    Minor comment fix.
2415207753Smm
2416207753Smmcommit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
2417207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2418207753SmmDate:   Sun Jan 24 23:50:54 2010 +0200
2419207753Smm
2420207753Smm    Add initial version of xz --list.
2421207753Smm    
2422207753Smm    This is a bit rough but should be useful for basic things.
2423207753Smm    Ideas (with detailed examples) about the output format are
2424207753Smm    welcome.
2425207753Smm    
2426207753Smm    The output of --robot --list is not necessarily stable yet,
2427207753Smm    although I don't currently have any plans about changing it.
2428207753Smm    
2429207753Smm    The man page hasn't been updated yet.
2430207753Smm
2431207753Smmcommit df254ce03be016e217b511e7acd5d493f9929ca5
2432207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2433207753SmmDate:   Sun Jan 24 22:46:11 2010 +0200
2434207753Smm
2435207753Smm    Add io_pread().
2436207753Smm    
2437207753Smm    It will be used by --list.
2438207753Smm
2439207753Smmcommit ef68dd4a92976276304de2aedfbe34ae91a86abb
2440207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2441207753SmmDate:   Sun Jan 24 22:45:14 2010 +0200
2442207753Smm
2443207753Smm    Set LC_NUMERIC=C when --robot is used.
2444207753Smm    
2445207753Smm    It is to ensure that floating point numbers
2446207753Smm    will always have a dot as the decimal separator.
2447207753Smm
2448207753Smmcommit 0dd6d007669b946543ca939a44243833c79e08f4
2449207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2450207753SmmDate:   Sun Jan 24 16:57:40 2010 +0200
2451207753Smm
2452207753Smm    Some improvements to printing sizes in xz.
2453207753Smm
2454207753Smmcommit 2a98fdffd68c66371279c211c29153c808ad5c1d
2455207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2456207753SmmDate:   Wed Jan 20 22:02:35 2010 +0200
2457207753Smm
2458207753Smm    Fix a typo in README.
2459207753Smm    
2460207753Smm    Thanks to R. Bijker.
2461207753Smm
2462207753Smmcommit 07a11dad44e041b01dcfc73e8d4e00731158c06d
2463207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2464207753SmmDate:   Sun Jan 17 11:59:54 2010 +0200
2465207753Smm
2466207753Smm    Updated windows/Makefile.
2467207753Smm    
2468207753Smm    Thanks to Dan Shechter for the patch.
2469207753Smm    
2470207753Smm    It is likely that windows/Makefile will be removed
2471207753Smm    completely, because Autotols based build nowadays
2472207753Smm    works well with both 32-bit and 64-bit MinGW (I
2473207753Smm    just need to update the docs).
2474207753Smm
2475207753Smmcommit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
2476207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2477207753SmmDate:   Fri Jan 15 11:05:11 2010 +0200
2478207753Smm
2479207753Smm    Update the xz man page to match the previous two commits.
2480207753Smm
2481207753Smmcommit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
2482207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2483207753SmmDate:   Wed Jan 13 19:10:25 2010 +0200
2484207753Smm
2485207753Smm    Don't read compressed data from a terminal or write it
2486207753Smm    to a terminal even if --force is specified.
2487207753Smm    
2488207753Smm    It just seems more reasonable this way.
2489207753Smm    
2490207753Smm    The new behavior matches bzip2. The old one matched gzip.
2491207753Smm
2492207753Smmcommit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
2493207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2494207753SmmDate:   Wed Jan 13 18:12:40 2010 +0200
2495207753Smm
2496207753Smm    Don't compress or decompress special files unless writing
2497207753Smm    to stdout even if --force is used.
2498207753Smm    
2499207753Smm    --force will still enable compression of symlinks, but only
2500207753Smm    in case they point to a regular file.
2501207753Smm    
2502207753Smm    The new way simply seems more reasonable. It matches gzip's
2503207753Smm    behavior while the old one matched bzip2's behavior.
2504207753Smm
2505207753Smmcommit cee12aa852ec0902983dc1f153346ef750157fb9
2506207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2507207753SmmDate:   Tue Jan 12 16:30:33 2010 +0200
2508207753Smm
2509207753Smm    Updated THANKS.
2510207753Smm
2511207753Smmcommit 153c7740c54b3c90129dbd3d6153ac1303c4d605
2512207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2513207753SmmDate:   Tue Jan 12 16:18:14 2010 +0200
2514207753Smm
2515207753Smm    Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
2516207753Smm    
2517207753Smm    This is untested but it will get tested soon and, if needed,
2518207753Smm    fixed before 5.0.0.
2519207753Smm    
2520207753Smm    Thanks to Stuart Shelton.
2521207753Smm
2522207753Smmcommit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
2523207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2524207753SmmDate:   Fri Jan 1 00:29:10 2010 +0200
2525207753Smm
2526207753Smm    Fix _memconfig() functions.
2527207753Smm    
2528207753Smm    This affects lzma_memusage() and lzma_memlimit_get().
2529207753Smm
2530207753Smmcommit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
2531207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2532207753SmmDate:   Thu Dec 31 22:45:53 2009 +0200
2533207753Smm
2534207753Smm    Revised the Index handling code.
2535207753Smm    
2536207753Smm    This breaks API and ABI but most apps are not affected
2537207753Smm    since most apps don't use this part of the API. You will
2538207753Smm    get a compile error if you are using anything that got
2539207753Smm    broken.
2540207753Smm    
2541207753Smm    Summary of changes:
2542207753Smm    
2543207753Smm      - Ability to store Stream Flags, which are needed
2544207753Smm        for random-access reading in multi-Stream files.
2545207753Smm    
2546207753Smm      - Separate function to set size of Stream Padding.
2547207753Smm    
2548207753Smm      - Iterator structure makes it possible to read the same
2549207753Smm        lzma_index from multiple threads at the same time.
2550207753Smm    
2551207753Smm      - A lot faster code to locate Blocks.
2552207753Smm    
2553207753Smm      - Removed lzma_index_equal() without adding anything
2554207753Smm        to replace it. I don't know what it should do exactly
2555207753Smm        with the new features and what actually needs this
2556207753Smm        function in the first place other than test_index.c,
2557207753Smm        which now has its own code to compare lzma_indexes.
2558207753Smm
2559207753Smmcommit f29997a846e673cb3b8cbd57de47ed313b3978bb
2560207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2561207753SmmDate:   Thu Dec 31 21:13:25 2009 +0200
2562207753Smm
2563207753Smm    Remove c-format tag in cs.po.
2564207753Smm    
2565207753Smm    It was fixed in the C code earlier.
2566207753Smm
2567207753Smmcommit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
2568207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2569207753SmmDate:   Thu Dec 31 21:11:05 2009 +0200
2570207753Smm
2571207753Smm    Add missing lzma_nothrow in filter.h.
2572207753Smm
2573207753Smmcommit b56cb1fc31fa2381f92eefc040df85667048d626
2574207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2575207753SmmDate:   Wed Dec 9 18:13:44 2009 +0200
2576207753Smm
2577207753Smm    Remove redefinition of _(msgid) macro from lzmainfo.c.
2578207753Smm
2579207753Smmcommit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
2580207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
2581207753SmmDate:   Tue Dec 8 19:41:57 2009 -0600
2582207753Smm
2583207753Smm    update po/.gitignore
2584207753Smm    
2585207753Smm    Since the *.gmo files are deleted by the maintainer-clean target,
2586207753Smm    I assume they are not meant to be tracked.
2587207753Smm    
2588207753Smm    Also add the other files listed in the Makefile���s clean targets
2589207753Smm    (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
2590207753Smm    are not accidentally tracked.  Most of these are intermediate
2591207753Smm    files that would not appear unless a build is interrupted or
2592207753Smm    fails.
2593207753Smm    
2594207753Smm    Split the list of untracked files by origin to make it easier to
2595207753Smm    tell if files are missing in the future.
2596207753Smm    
2597207753Smm    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2598207753Smm
2599207753Smmcommit f7e44c6c11f630519072971b8b07a5729c096c36
2600207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2601207753SmmDate:   Wed Dec 9 00:38:55 2009 +0200
2602207753Smm
2603207753Smm    Always rely on GCC's auto-import on Windows.
2604207753Smm    
2605207753Smm    I understood that this is nicer, because then people
2606207753Smm    don't need to worry about the LZMA_API_STATIC macro.
2607207753Smm    
2608207753Smm    Thanks to Charles Wilson and Keith Marshall.
2609207753Smm
2610207753Smmcommit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
2611207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2612207753SmmDate:   Mon Dec 7 21:46:53 2009 +0200
2613207753Smm
2614207753Smm    Fix file_io.c on DOS-like systems.
2615207753Smm    
2616207753Smm    The problem was introduced when adding sparse file
2617207753Smm    support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
2618207753Smm    
2619207753Smm    Thanks to Charles Wilson.
2620207753Smm
2621207753Smmcommit 0696f5d268362221380e039bad48a86e29067c6a
2622207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2623207753SmmDate:   Mon Dec 7 20:54:21 2009 +0200
2624207753Smm
2625207753Smm    Add Czech translation.
2626207753Smm    
2627207753Smm    Thanks to Marek ��ernock��.
2628207753Smm    
2629207753Smm    Other people planning to translate xz: Note that the
2630207753Smm    messages are a little bit in flux still. Translations
2631207753Smm    are still welcome, just be prepared to some extra work
2632207753Smm    in case there are changes.
2633207753Smm
2634207753Smmcommit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
2635207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2636207753SmmDate:   Mon Dec 7 20:32:08 2009 +0200
2637207753Smm
2638207753Smm    Add a note for translators to add a bug reporting address
2639207753Smm    for translation bugs.
2640207753Smm
2641207753Smmcommit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
2642207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2643207753SmmDate:   Mon Dec 7 20:07:02 2009 +0200
2644207753Smm
2645207753Smm    Prevent xgettext from taking one regular string as a C format string.
2646207753Smm    
2647207753Smm    Thanks to Marek ��ernock��.
2648207753Smm
2649207753Smmcommit e0c2776b6ffbd2b1900fde353aceac734edc93d7
2650207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2651207753SmmDate:   Sat Nov 28 17:45:22 2009 +0200
2652207753Smm
2653207753Smm    Remove duplicate code in io_open_dest().
2654207753Smm    
2655207753Smm    Fix a missing _() in the error message too.
2656207753Smm
2657207753Smmcommit f057a33c6f7c5992389479f2d4feabf2900ba7ee
2658207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2659207753SmmDate:   Thu Nov 26 10:11:23 2009 +0200
2660207753Smm
2661207753Smm    Typo fix to sysdefs.h.
2662207753Smm    
2663207753Smm    Thanks to Jonathan Nieder.
2664207753Smm
2665207753Smmcommit 8767b41534eafdf5e742e12190646bf5740b0cdb
2666207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2667207753SmmDate:   Thu Nov 26 10:10:36 2009 +0200
2668207753Smm
2669207753Smm    Fix a memory leak in test_index.c.
2670207753Smm    
2671207753Smm    This was introduced in
2672207753Smm    bd13b04e202b6f495a68eb0766f97085b7c50a06.
2673207753Smm    
2674207753Smm    Thanks to Jim Meyering for noticing it.
2675207753Smm
2676207753Smmcommit 919fbaff860acdaa4bcd216500a0b1c960a6db92
2677207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2678207753SmmDate:   Wed Nov 25 14:22:19 2009 +0200
2679207753Smm
2680207753Smm    Add missing error check to coder.c.
2681207753Smm    
2682207753Smm    With bad luck this could cause a segfault due to
2683207753Smm    reading (but not writing) past the end of the buffer.
2684207753Smm
2685207753Smmcommit bd13b04e202b6f495a68eb0766f97085b7c50a06
2686207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2687207753SmmDate:   Wed Nov 25 13:04:10 2009 +0200
2688207753Smm
2689207753Smm    Fix bugs in lzma_index_read() and lzma_index_cat().
2690207753Smm    
2691207753Smm    lzma_index_read() didn't skip over Stream Padding
2692207753Smm    if it was the first record in the Index.
2693207753Smm    
2694207753Smm    lzma_index_cat() didn't combine small Indexes correctly.
2695207753Smm    
2696207753Smm    The test suite was updated to check for these bugs.
2697207753Smm    
2698207753Smm    These bugs didn't affect the xz command line tool or
2699207753Smm    most users of liblzma in any way.
2700207753Smm
2701207753Smmcommit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
2702207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2703207753SmmDate:   Wed Nov 25 12:52:56 2009 +0200
2704207753Smm
2705207753Smm    Index decoder fixes.
2706207753Smm    
2707207753Smm    The Index decoder code didn't perfectly match the API docs,
2708207753Smm    which said that *i will be set to point to the decoded Index
2709207753Smm    only after decoding has succeeded. The docs were a bit unclear
2710207753Smm    too.
2711207753Smm    
2712207753Smm    Now the decoder will initially set *i to NULL. *i will be set
2713207753Smm    to point to the decoded Index once decoding has succeeded.
2714207753Smm    This simplifies applications too, since it avoids dangling
2715207753Smm    pointers.
2716207753Smm
2717207753Smmcommit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
2718207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2719207753SmmDate:   Wed Nov 25 11:19:20 2009 +0200
2720207753Smm
2721207753Smm    Create sparse files by default when decompressing into
2722207753Smm    a regular file.
2723207753Smm    
2724207753Smm    Sparse file creation can be disabled with --no-sparse.
2725207753Smm    I don't promise yet that the name of this option won't
2726207753Smm    change before 5.0.0. It's possible that the code, that
2727207753Smm    checks when it is safe to use sparse output on stdout,
2728207753Smm    is not good enough, and a more flexible command line
2729207753Smm    option is needed to configure sparse file handling.
2730207753Smm
2731207753Smmcommit 37de544414fc2dc5039471d1002ebd015eb3e627
2732207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2733207753SmmDate:   Sun Nov 22 12:43:06 2009 +0200
2734207753Smm
2735207753Smm    Updated THANKS.
2736207753Smm
2737207753Smmcommit f1a28b96c900c658fe016852ff62f6c24d1f50fa
2738207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2739207753SmmDate:   Sun Nov 22 12:05:33 2009 +0200
2740207753Smm
2741207753Smm    Add missing consts to pointer casts.
2742207753Smm
2743207753Smmcommit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
2744207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2745207753SmmDate:   Sun Nov 22 12:00:30 2009 +0200
2746207753Smm
2747207753Smm    Enable assembler code only if it is known to work
2748207753Smm    on that operating system.
2749207753Smm    
2750207753Smm    I'm too lazy to think how to make a good Autoconf test
2751207753Smm    for this and it's not that important anyway.
2752207753Smm    
2753207753Smm    No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
2754207753Smm    Inline assembler (if any) is used if a macro like
2755207753Smm    __i386__ or __x86_64__ is defined.
2756207753Smm
2757207753Smmcommit 0733f4c9994db696420a405810d5f02c79ebc404
2758207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2759207753SmmDate:   Sun Nov 22 11:55:03 2009 +0200
2760207753Smm
2761207753Smm    Make fastpos.h use tuklib_integer.h instead of bsr.h
2762207753Smm    when --enable-small has been specified.
2763207753Smm
2764207753Smmcommit 7ac3985d891dcc5773543f84cc5bce6c14841b12
2765207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2766207753SmmDate:   Sun Nov 22 11:52:30 2009 +0200
2767207753Smm
2768207753Smm    Update tuklib_integer.h with bit scan functions.
2769207753Smm    
2770207753Smm    Thanks to Joachim Henke for the original patch.
2771207753Smm
2772207753Smmcommit c74c132f7f79a842c073c66575a4fdb985e4c2e3
2773207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2774207753SmmDate:   Fri Nov 20 12:51:19 2009 +0200
2775207753Smm
2776207753Smm    Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
2777207753Smm    which now use AC_CACHE_CHECK. Using the cache variable,
2778207753Smm    configure now warns if there is no method to detect the amount
2779207753Smm    of RAM and recommends using --enable-assume-ram.
2780207753Smm
2781207753Smmcommit d315ca4930ff96e1428c6021c96f209e1abdd83e
2782207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2783207753SmmDate:   Mon Nov 16 18:16:45 2009 +0200
2784207753Smm
2785207753Smm    Add support for --info-memory and --robot to xz.
2786207753Smm    
2787207753Smm    Currently --robot works only with --info-memory and
2788207753Smm    --version. --help and --long-help work too, but --robot
2789207753Smm    has no effect on them.
2790207753Smm    
2791207753Smm    Thanks to Jonathan Nieder for the original patches.
2792207753Smm
2793207753Smmcommit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
2794207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2795207753SmmDate:   Sun Nov 15 12:54:45 2009 +0200
2796207753Smm
2797207753Smm    Fix wrong indentation caused by incorrect settings
2798207753Smm    in the text editor.
2799207753Smm
2800207753Smmcommit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
2801207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2802207753SmmDate:   Sun Nov 15 12:40:17 2009 +0200
2803207753Smm
2804207753Smm    Add lzma_physmem().
2805207753Smm    
2806207753Smm    I had hoped to keep liblzma as purely a compression
2807207753Smm    library as possible (e.g. file I/O will go into
2808207753Smm    a different library), but it seems that applications
2809207753Smm    linking agaisnt liblzma need some way to determine
2810207753Smm    the memory usage limit, and knowing the amount of RAM
2811207753Smm    is one reasonable way to help making such decisions.
2812207753Smm    
2813207753Smm    Thanks to Jonathan Nieder for the original patch.
2814207753Smm
2815207753Smmcommit cf39faca59083d38422058c6c97aa757ea7797d0
2816207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2817207753SmmDate:   Sat Nov 14 20:21:19 2009 +0200
2818207753Smm
2819207753Smm    Updated THANKS.
2820207753Smm
2821207753Smmcommit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
2822207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2823207753SmmDate:   Sat Nov 14 20:20:03 2009 +0200
2824207753Smm
2825207753Smm    Some updates to xz man page.
2826207753Smm
2827207753Smmcommit 19b2674f07f8b588dfaf6638396b4b42866d7e23
2828207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2829207753SmmDate:   Sat Nov 14 19:51:03 2009 +0200
2830207753Smm
2831207753Smm    Fix description of --memory in --long-help.
2832207753Smm
2833207753Smmcommit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
2834207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2835207753SmmDate:   Sat Nov 14 19:45:39 2009 +0200
2836207753Smm
2837207753Smm    Update the debug programs so that they compile again.
2838207753Smm
2839207753Smmcommit 418d64a32e8144210f98a810738fed5a897e8367
2840207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2841207753SmmDate:   Sat Nov 14 18:59:19 2009 +0200
2842207753Smm
2843207753Smm    Fix a design error in liblzma API.
2844207753Smm    
2845207753Smm    Originally the idea was that using LZMA_FULL_FLUSH
2846207753Smm    with Stream encoder would read the filter chain
2847207753Smm    from the same array that was used to intialize the
2848207753Smm    Stream encoder. Since most apps wouldn't use
2849207753Smm    LZMA_FULL_FLUSH, most apps wouldn't need to keep
2850207753Smm    the filter chain available after initializing the
2851207753Smm    Stream encoder. However, due to my mistake, it
2852207753Smm    actually required keeping the array always available.
2853207753Smm    
2854207753Smm    Since setting the new filter chain via the array
2855207753Smm    used at initialization time is not a nice way to do
2856207753Smm    it for a couple of reasons, this commit ditches it
2857207753Smm    and introduces lzma_filters_update(). This new function
2858207753Smm    replaces also the "persistent" flag used by LZMA2
2859207753Smm    (and to-be-designed Subblock filter), which was also
2860207753Smm    an ugly thing to do.
2861207753Smm    
2862207753Smm    Thanks to Alexey Tourbin for reminding me about the problem
2863207753Smm    that Stream encoder used to require keeping the filter
2864207753Smm    chain allocated.
2865207753Smm
2866207753Smmcommit f0bf7634b77263a4dd02b20c71861ab67995da68
2867207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2868207753SmmDate:   Sat Oct 17 11:11:58 2009 +0300
2869207753Smm
2870207753Smm    Fix wrong function name in the previous commit.
2871207753Smm    
2872207753Smm    It was meant to be lzma_filters_copy(), not lzma_filters_dup().
2873207753Smm
2874207753Smmcommit 6d118a0b9def82e96afba7386ec8d7da0b59649f
2875207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2876207753SmmDate:   Sat Oct 17 01:47:07 2009 +0300
2877207753Smm
2878207753Smm    Add lzma_filters_copy().
2879207753Smm    
2880207753Smm    This will be needed internally by liblzma once I fix
2881207753Smm    a design mistake in the encoder API. This function may
2882207753Smm    be useful to applications too so it's good to export it.
2883207753Smm
2884207753Smmcommit 78e92c18470483e161388e679c1ee556adb3a691
2885207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
2886207753SmmDate:   Thu Oct 15 20:44:13 2009 -0500
2887207753Smm
2888207753Smm    Escape dashes in xzmore.1
2889207753Smm    
2890207753Smm    A minus sign is larger, easier to see in a printout, and more
2891207753Smm    likely to use the same glyph as ASCII hyphen-minus in a terminal
2892207753Smm    than a hyphen.  Since broken manual pagers do not find hyphens
2893207753Smm    when the user searches for a hyphen-minus, minus signs are also
2894207753Smm    easier to search for.  So use minus signs instead of hyphens to
2895207753Smm    render sample terminal output.
2896207753Smm
2897207753Smmcommit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
2898207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2899207753SmmDate:   Fri Oct 16 20:35:39 2009 +0300
2900207753Smm
2901207753Smm    Mention --check=none in --long-help. It was already in
2902207753Smm    the man page though.
2903207753Smm    
2904207753Smm    Thanks to Jim Meyering for noticing this.
2905207753Smm
2906207753Smmcommit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
2907207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2908207753SmmDate:   Sun Oct 4 22:57:12 2009 +0300
2909207753Smm
2910207753Smm    Use a tuklib module for integer handling.
2911207753Smm    
2912207753Smm    This replaces bswap.h and integer.h.
2913207753Smm    
2914207753Smm    The tuklib module uses <byteswap.h> on GNU,
2915207753Smm    <sys/endian.h> on *BSDs and <sys/byteorder.h>
2916207753Smm    on Solaris, which may contain optimized code
2917207753Smm    like inline assembly.
2918207753Smm
2919207753Smmcommit 29fd321033276261b87da7be5223db33d879a4c7
2920207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2921207753SmmDate:   Fri Oct 2 14:35:56 2009 +0300
2922207753Smm
2923207753Smm    Add support for --enable-assume-ram=SIZE.
2924207753Smm
2925207753Smmcommit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
2926207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2927207753SmmDate:   Fri Oct 2 11:28:17 2009 +0300
2928207753Smm
2929207753Smm    Use unaligned access (if possible) on both endiannesses
2930207753Smm    in lz_encoder_hash.h.
2931207753Smm
2932207753Smmcommit c5f68b5cc79085a87f950fea53843e27f328068e
2933207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2934207753SmmDate:   Fri Oct 2 11:03:26 2009 +0300
2935207753Smm
2936207753Smm    Make liblzma produce the same output on both endiannesses.
2937207753Smm    
2938207753Smm    Seems that it is a problem in some cases if the same
2939207753Smm    version of XZ Utils produces different output on different
2940207753Smm    endiannesses, so this commit fixes that problem. The output
2941207753Smm    will still vary between different XZ Utils versions, but I
2942207753Smm    cannot avoid that for now.
2943207753Smm    
2944207753Smm    This commit bloatens the code on big endian systems by 1 KiB,
2945207753Smm    which should be OK since liblzma is bloated already. ;-)
2946207753Smm
2947207753Smmcommit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
2948207753SmmAuthor: Mike Frysinger <vapier@gentoo.org>
2949207753SmmDate:   Sat Sep 26 12:51:50 2009 -0400
2950207753Smm
2951207753Smm    add lzmainfo to gitignore
2952207753Smm    
2953207753Smm    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2954207753Smm
2955207753Smmcommit 188a1dcd0cc7867810ed3a55c598d0680922c63b
2956207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2957207753SmmDate:   Sun Sep 27 11:53:36 2009 +0300
2958207753Smm
2959207753Smm    Updated THANKS.
2960207753Smm
2961207753Smmcommit db9119b9181b307e7ac5d2bae82444d04b902b59
2962207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2963207753SmmDate:   Sun Sep 27 11:48:54 2009 +0300
2964207753Smm
2965207753Smm    Work around a bug in Interix header files.
2966207753Smm    
2967207753Smm    Thanks to Markus Duft for the patch.
2968207753Smm
2969207753Smmcommit b3d105e69786a45963176fd2193abe75e05ba738
2970207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2971207753SmmDate:   Thu Sep 24 17:50:17 2009 +0300
2972207753Smm
2973207753Smm    Fix an error in OpenVMS-specific code.
2974207753Smm    
2975207753Smm    Thanks to Jouk Jansen.
2976207753Smm
2977207753Smmcommit 5e000ff00d4d01e559397b49eb648ad3f159d496
2978207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2979207753SmmDate:   Tue Sep 22 18:59:56 2009 +0300
2980207753Smm
2981207753Smm    Added OpenVMS-specific information to INSTALL.
2982207753Smm
2983207753Smmcommit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
2984207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2985207753SmmDate:   Tue Sep 22 14:03:02 2009 +0300
2986207753Smm
2987207753Smm    Better fixes for OpenVMS support.
2988207753Smm    
2989207753Smm    Thanks to Jouk Jansen.
2990207753Smm
2991207753Smmcommit 4c3630ec4179fe9265407a35c4db1374ffc82372
2992207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
2993207753SmmDate:   Tue Sep 22 13:40:19 2009 +0300
2994207753Smm
2995207753Smm    Avoid non-standard preprocessor construct.
2996207753Smm    
2997207753Smm    Thanks to Jouk Jansen.
2998207753Smm
2999207753Smmcommit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
3000207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3001207753SmmDate:   Mon Sep 21 19:50:09 2009 +0300
3002207753Smm
3003207753Smm    Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
3004207753Smm    
3005207753Smm    Thanks to Charles Wilson.
3006207753Smm
3007207753Smmcommit e599bba4216c0edb8cc8f40adad3a6dba88685f4
3008207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3009207753SmmDate:   Sat Sep 19 09:47:30 2009 +0300
3010207753Smm
3011207753Smm    Various changes.
3012207753Smm    
3013207753Smm    Separate a few reusable components from XZ Utils specific
3014207753Smm    code. The reusable code is now in "tuklib" modules. A few
3015207753Smm    more could be separated still, e.g. bswap.h.
3016207753Smm    
3017207753Smm    Fix some bugs in lzmainfo.
3018207753Smm    
3019207753Smm    Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
3020207753Smm    for help.
3021207753Smm    
3022207753Smm    Add OpenVMS support into physmem. Add a few #ifdefs to ease
3023207753Smm    building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
3024207753Smm    original patch.
3025207753Smm
3026207753Smmcommit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
3027207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3028207753SmmDate:   Tue Sep 15 21:07:23 2009 +0300
3029207753Smm
3030207753Smm    Fix incorrect use of "restrict".
3031207753Smm
3032207753Smmcommit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
3033207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3034207753SmmDate:   Sat Sep 12 14:09:17 2009 +0300
3035207753Smm
3036207753Smm    Fix GCC version check for nothrow attribute.
3037207753Smm
3038207753Smmcommit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
3039207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3040207753SmmDate:   Sat Sep 12 14:08:15 2009 +0300
3041207753Smm
3042207753Smm    Updated THANKS.
3043207753Smm
3044207753Smmcommit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
3045207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3046207753SmmDate:   Sat Sep 12 14:07:36 2009 +0300
3047207753Smm
3048207753Smm    A few grammar fixes.
3049207753Smm    
3050207753Smm    Thanks to Christian Weisgerber for pointing out some of these.
3051207753Smm
3052207753Smmcommit 8905a33daadcd2d6557c83c81c490b827d566c94
3053207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3054207753SmmDate:   Fri Sep 11 17:08:15 2009 +0300
3055207753Smm
3056207753Smm    Updated THANKS.
3057207753Smm
3058207753Smmcommit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
3059207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3060207753SmmDate:   Fri Sep 11 17:06:32 2009 +0300
3061207753Smm
3062207753Smm    Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
3063207753Smm
3064207753Smmcommit 221be761f467da76875247bc02d7a1716682075d
3065207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3066207753SmmDate:   Fri Sep 11 10:24:09 2009 +0300
3067207753Smm
3068207753Smm    Use $(LN_EXEEXT) in symlinks to executables.
3069207753Smm    
3070207753Smm    This fixes "make install" on operating systems using
3071207753Smm    a suffix for executables.
3072207753Smm    
3073207753Smm    Cygwin is treated specially. The symlink names won't have
3074207753Smm    .exe suffix even though the executables themselves have.
3075207753Smm    Thanks to Charles Wilson.
3076207753Smm
3077207753Smmcommit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
3078207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3079207753SmmDate:   Fri Sep 11 09:25:09 2009 +0300
3080207753Smm
3081207753Smm    Fix a couple of warnings.
3082207753Smm
3083207753Smmcommit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
3084207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3085207753SmmDate:   Sat Sep 5 18:39:21 2009 +0300
3086207753Smm
3087207753Smm    Add OS/2-specific code to physmem.h.
3088207753Smm    
3089207753Smm    Also move DJGPP-specific code near the code meant
3090207753Smm    for other DOS-like systems.
3091207753Smm
3092207753Smmcommit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
3093207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3094207753SmmDate:   Sat Sep 5 01:21:15 2009 +0300
3095207753Smm
3096207753Smm    Updated THANKS.
3097207753Smm
3098207753Smmcommit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
3099207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3100207753SmmDate:   Sat Sep 5 01:20:29 2009 +0300
3101207753Smm
3102207753Smm    Use sysctl() != -1 instead of !sysctl() to check if
3103207753Smm    the function call succeeded.
3104207753Smm    
3105207753Smm    NetBSD 4.0 returns positive values on success, but
3106207753Smm    NetBSD Current and FreeBSD return zero. OpenBSD's
3107207753Smm    man page doesn't tell what sysctl() returns on
3108207753Smm    success. All these BSDs return -1 on error.
3109207753Smm    
3110207753Smm    Thanks to Robert Elz and Thomas Klausner.
3111207753Smm
3112207753Smmcommit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
3113207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3114207753SmmDate:   Wed Sep 2 09:43:51 2009 +0300
3115207753Smm
3116207753Smm    Mention in INSTALL that --enable-small doesn't modify CFLAGS.
3117207753Smm
3118207753Smmcommit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
3119207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3120207753SmmDate:   Tue Sep 1 20:40:01 2009 +0300
3121207753Smm
3122207753Smm    Refactored option parsing.
3123207753Smm
3124207753Smmcommit 25adaaa56e2e51a47a910a8d73452414619a2e53
3125207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3126207753SmmDate:   Tue Sep 1 20:23:30 2009 +0300
3127207753Smm
3128207753Smm    Fix options parsing bug in xz.
3129207753Smm    
3130207753Smm    xz used to reject "xz --lzma2=pb=2," while
3131207753Smm    "xz --lzma2=pb=2,," worked. Now both work.
3132207753Smm
3133207753Smmcommit 5f6dddc6c911df02ba660564e78e6de80947c947
3134207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3135207753SmmDate:   Tue Sep 1 20:20:19 2009 +0300
3136207753Smm
3137207753Smm    Updated TODO.
3138207753Smm
3139207753Smmcommit 655457b9ada5ec7db398c5392e41290f3f332ea8
3140207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3141207753SmmDate:   Mon Aug 31 21:59:25 2009 +0300
3142207753Smm
3143207753Smm    Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3144207753Smm    and use a fix that works on all systems using
3145207753Smm    GNU assembler.
3146207753Smm    
3147207753Smm    Maybe the assembler code is used e.g. on Solaris x86
3148207753Smm    but let's worry about it if this doesn't work on it.
3149207753Smm
3150207753Smmcommit 162189c3477953805a28f96d3a75cb9ab9417928
3151207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3152207753SmmDate:   Sun Aug 30 17:29:19 2009 +0300
3153207753Smm
3154207753Smm    Updated THANKS.
3155207753Smm
3156207753Smmcommit 2331f5f97af3e5897e23da45d9df3d664099c7f8
3157207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3158207753SmmDate:   Sun Aug 30 17:28:52 2009 +0300
3159207753Smm
3160207753Smm    Add more OS/2 specific info to INSTALL.
3161207753Smm
3162207753Smmcommit 94c66b3297b3ad307eee93cf6b160e3c43997f11
3163207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3164207753SmmDate:   Sat Aug 29 14:43:52 2009 +0300
3165207753Smm
3166207753Smm    Use even more hackish way to support thousand separators.
3167207753Smm    
3168207753Smm    Seems that in addition on Windows and DOS, also OpenBSD
3169207753Smm    lacks support for %'d style printf() format strings.
3170207753Smm    So far that is the only modern POSIX-like system I know
3171207753Smm    with this problem, but after this hack, the thousand
3172207753Smm    separator shouldn't be a problem on any system.
3173207753Smm    
3174207753Smm    Maybe testing if a format string like %'d produces
3175207753Smm    reasonable output is invoking undefined behavior on some
3176207753Smm    systems, but so far all the problematic systems I've tried
3177207753Smm    just print the raw format string (e.g. %'d prints 'd).
3178207753Smm    
3179207753Smm    Maybe Autoconf test would have been better, but this
3180207753Smm    hack works also for cross-compilation, and avoids
3181207753Smm    recompilation in case the system libc starts to support
3182207753Smm    the thousand separator.
3183207753Smm
3184207753Smmcommit 3432e9c6aab851da1227b63dce645d7f190c04d8
3185207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3186207753SmmDate:   Sat Aug 29 13:42:56 2009 +0300
3187207753Smm
3188207753Smm    Updated THANKS.
3189207753Smm
3190207753Smmcommit 27414daadf5727e8ab942374b5ec1c8990122878
3191207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3192207753SmmDate:   Sat Aug 29 13:39:21 2009 +0300
3193207753Smm
3194207753Smm    Fix sysctl() usage.
3195207753Smm    
3196207753Smm    This fixes build on *BSDs and Darwin.
3197207753Smm    
3198207753Smm    Thanks to Jukka Salmi for the patches.
3199207753Smm    Richard Koch reported the problem too.
3200207753Smm
3201207753Smmcommit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3202207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3203207753SmmDate:   Sat Aug 29 13:35:23 2009 +0300
3204207753Smm
3205207753Smm    Fix x86 assembler on GCC 3.
3206207753Smm    
3207207753Smm    Thanks to Karl Berry.
3208207753Smm
3209207753Smmcommit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
3210207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3211207753SmmDate:   Thu Aug 27 18:36:59 2009 +0300
3212207753Smm
3213207753Smm    "make dist" fixes
3214207753Smm
3215207753Smmcommit c8c184db1c95bf70f78256ec6237845a57f342af
3216207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3217207753SmmDate:   Thu Aug 27 17:08:33 2009 +0300
3218207753Smm
3219207753Smm    Update xz man page date.
3220207753Smm
3221207753Smmcommit 9756fce565e98b8fa5fe6ead296d84e7601ec254
3222207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3223207753SmmDate:   Thu Aug 27 17:00:22 2009 +0300
3224207753Smm
3225207753Smm    Fix the debug directory.
3226207753Smm    
3227207753Smm    6a2eb54092fc625d59921a607ff68cd1a90aa898 and
3228207753Smm    71f18e8a066a01dda0c8e5508b135ef104e43e4c required
3229207753Smm    some changes that weren't applied in debug.
3230207753Smm
3231207753Smmcommit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
3232207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3233207753SmmDate:   Thu Aug 27 16:36:40 2009 +0300
3234207753Smm
3235207753Smm    Add missing files to EXTRA_DIST.
3236207753Smm
3237207753Smmcommit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
3238207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3239207753SmmDate:   Thu Aug 27 16:21:22 2009 +0300
3240207753Smm
3241207753Smm    Bumped version to 4.999.9beta.
3242207753Smm
3243207753Smmcommit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
3244207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3245207753SmmDate:   Thu Aug 27 16:17:47 2009 +0300
3246207753Smm
3247207753Smm    Updated THANKS.
3248207753Smm
3249207753Smmcommit c29e76c0f910fca0a90a50b78d337f6c32623e9d
3250207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3251207753SmmDate:   Thu Aug 27 16:12:52 2009 +0300
3252207753Smm
3253207753Smm    .xz file format specification 1.0.4 (probably).
3254207753Smm    
3255207753Smm    Thanks to Christian von Roques, Peter Lawler,
3256207753Smm    and Jim Meyering for the fixes.
3257207753Smm
3258207753Smmcommit 696d7ee3953beaf4f0ed18e78917ccf300431966
3259207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3260207753SmmDate:   Thu Aug 27 15:43:54 2009 +0300
3261207753Smm
3262207753Smm    Require GNU libtool 2.2.
3263207753Smm
3264207753Smmcommit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
3265207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3266207753SmmDate:   Thu Aug 27 15:34:45 2009 +0300
3267207753Smm
3268207753Smm    Add "dos" to EXTRA_DIST.
3269207753Smm
3270207753Smmcommit 35b29e4424ced5a3ababf132283e519080c7b298
3271207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3272207753SmmDate:   Thu Aug 27 15:23:27 2009 +0300
3273207753Smm
3274207753Smm    Updated TODO.
3275207753Smm
3276207753Smmcommit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
3277207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3278207753SmmDate:   Thu Aug 27 15:17:00 2009 +0300
3279207753Smm
3280207753Smm    Some xz man page improvements.
3281207753Smm
3282207753Smmcommit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
3283207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3284207753SmmDate:   Thu Aug 27 10:41:01 2009 +0300
3285207753Smm
3286207753Smm    Removed doc/bugs.txt.
3287207753Smm
3288207753Smmcommit d88c4072b36d3a76f839185799fb1d91037a1b81
3289207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3290207753SmmDate:   Thu Aug 27 10:40:25 2009 +0300
3291207753Smm
3292207753Smm    Updated README.
3293207753Smm    
3294207753Smm    It now includes bug reporting instructions/tips.
3295207753Smm
3296207753Smmcommit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
3297207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3298207753SmmDate:   Thu Aug 27 10:21:18 2009 +0300
3299207753Smm
3300207753Smm    Fix a typo in FAQ.
3301207753Smm    
3302207753Smm    Thanks to Jim Meyering.
3303207753Smm    
3304207753Smm    (From now on, I try to always remember to put
3305207753Smm    the relevant thanks to commit messages.)
3306207753Smm
3307207753Smmcommit 3e2ba8b58585743e59251e69ad2783eb08357079
3308207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3309207753SmmDate:   Thu Aug 27 10:13:46 2009 +0300
3310207753Smm
3311207753Smm    Updates to liblzma API headers.
3312207753Smm    
3313207753Smm    Added lzma_nothrow for every function. It adds
3314207753Smm    throw() when the header is used in C++ code.
3315207753Smm    
3316207753Smm    Some lzma_attrs were added or removed.
3317207753Smm    
3318207753Smm    Lots of comments were improved.
3319207753Smm
3320207753Smmcommit 8e8ebc17c535a1f8846718059b48417409c37050
3321207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3322207753SmmDate:   Tue Aug 18 00:30:09 2009 +0300
3323207753Smm
3324207753Smm    Install faq.txt.
3325207753Smm
3326207753Smmcommit b198e770a146e4a41f91a93f0b233713f2515848
3327207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3328207753SmmDate:   Tue Aug 18 00:26:48 2009 +0300
3329207753Smm
3330207753Smm    Updated faq.txt.
3331207753Smm    
3332207753Smm    Some questions worth answering were removed, because I
3333207753Smm    currently don't have good up to date answers to them.
3334207753Smm
3335207753Smmcommit fe111a25cd788d31b581996e4533910388a7f0a9
3336207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3337207753SmmDate:   Mon Aug 17 22:45:50 2009 +0300
3338207753Smm
3339207753Smm    Some xz man changes.
3340207753Smm
3341207753Smmcommit 10242a21e9abda0c5c6a03501703cc40b8a699a5
3342207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3343207753SmmDate:   Sun Aug 16 22:15:42 2009 +0300
3344207753Smm
3345207753Smm    Updated THANKS.
3346207753Smm
3347207753Smmcommit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
3348207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3349207753SmmDate:   Sun Aug 16 22:15:13 2009 +0300
3350207753Smm
3351207753Smm    Fix data corruption in LZ/LZMA2 encoder.
3352207753Smm    
3353207753Smm    Thanks to Jonathan Stott for the bug report.
3354207753Smm
3355207753Smmcommit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
3356207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3357207753SmmDate:   Thu Aug 13 15:15:37 2009 +0300
3358207753Smm
3359207753Smm    Updated INSTALL and PACKAGERS to match the changes
3360207753Smm    made in --enable-dynamic.
3361207753Smm
3362207753Smmcommit 8238c4b2402f952c4e492e5b778aa272e57b6705
3363207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3364207753SmmDate:   Thu Aug 13 15:03:46 2009 +0300
3365207753Smm
3366207753Smm    Link lzmainfo against shared liblzma by default.
3367207753Smm
3368207753Smmcommit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
3369207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3370207753SmmDate:   Thu Aug 13 15:00:21 2009 +0300
3371207753Smm
3372207753Smm    Make --enable-dynamic a tristate option.
3373207753Smm    
3374207753Smm    Some programs will by default be linked against static
3375207753Smm    liblzma and some against shared liblzma. --enable-dynamic
3376207753Smm    now allows overriding the default to both directions
3377207753Smm    (all dynamic or all static) even when building both
3378207753Smm    shared and static liblzma.
3379207753Smm    
3380207753Smm    This is quite messy compared to how simple thing it is supposed
3381207753Smm    to be. The complexity is mostly due to Windows support.
3382207753Smm
3383207753Smmcommit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
3384207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3385207753SmmDate:   Thu Aug 13 12:56:47 2009 +0300
3386207753Smm
3387207753Smm    Fix xz Makefile.am for the man page.
3388207753Smm    
3389207753Smm    install-exec-hook -> install-data-hook
3390207753Smm
3391207753Smmcommit e51b4e49e800bd84e6d589dca2964d3985e88139
3392207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3393207753SmmDate:   Thu Aug 13 12:55:45 2009 +0300
3394207753Smm
3395207753Smm    Add lzmainfo for backward compatibility with LZMA Utils.
3396207753Smm    
3397207753Smm    lzmainfo now links against static liblzma. In contrast
3398207753Smm    to other command line tools in XZ Utils, linking lzmainfo
3399207753Smm    against static liblzma by default is dumb. This will be
3400207753Smm    fixed once I have fixed some related issues in configure.ac.
3401207753Smm
3402207753Smmcommit a4165d0584376d948c213ec93c6065d24ff6a5e7
3403207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3404207753SmmDate:   Thu Aug 13 12:42:36 2009 +0300
3405207753Smm
3406207753Smm    Sync some error messages from xz to xzdec.
3407207753Smm    
3408207753Smm    Make xz error message translation usable outside
3409207753Smm    xz (at least in upcoming lzmainfo).
3410207753Smm
3411207753Smmcommit df636eb4e066b4e154ce8e66e82c87ba1db652a6
3412207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3413207753SmmDate:   Thu Aug 13 09:37:21 2009 +0300
3414207753Smm
3415207753Smm    Add xz man page to manfiles in toplevel Makefile.am.
3416207753Smm
3417207753Smmcommit 180bdf58ea5bb07941e0a99b304d9aa832198748
3418207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3419207753SmmDate:   Thu Aug 13 09:37:01 2009 +0300
3420207753Smm
3421207753Smm    Fix first line of xz man page.
3422207753Smm
3423207753Smmcommit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
3424207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3425207753SmmDate:   Mon Aug 10 11:22:31 2009 +0300
3426207753Smm
3427207753Smm    Added a rough version of the xz man page.
3428207753Smm
3429207753Smmcommit e71903fc6101f1c039d702e335b08aad1e1b4100
3430207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
3431207753SmmDate:   Sun Aug 9 13:41:20 2009 -0500
3432207753Smm
3433207753Smm    ���xzdiff a.xz b.xz��� always fails
3434207753Smm    
3435207753Smm    Attempts to compare two compressed files result in no output and
3436207753Smm    exit status 2.
3437207753Smm    
3438207753Smm    Instead of going to standard output, ���diff��� output is being
3439207753Smm    captured in the xz_status variable along with the exit status from
3440207753Smm    the decompression commands.  Later, when this variable is examined
3441207753Smm    for nonzero status codes, numerals from dates in the ���diff��� output
3442207753Smm    make it appear as though decompression failed.
3443207753Smm    
3444207753Smm    So let the ���diff��� output leak to standard output with another file
3445207753Smm    descriptor.  (This trick is used in all similar contexts elsewhere
3446207753Smm    in xzdiff and in the analogous context in gzip���s zdiff script.)
3447207753Smm
3448207753Smmcommit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
3449207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
3450207753SmmDate:   Sun Aug 9 13:22:12 2009 -0500
3451207753Smm
3452207753Smm    xzless: Support compressed standard input
3453207753Smm    
3454207753Smm    It can be somewhat confusing that
3455207753Smm    
3456207753Smm    	less < some_file.txt
3457207753Smm    
3458207753Smm    works fine, whereas
3459207753Smm    
3460207753Smm    	xzless < some_file.txt.xz
3461207753Smm    
3462207753Smm    does not.  Since version 429, ���less��� allows a filter specified in
3463207753Smm    the LESSOPEN environment variable to preprocess its input even if
3464207753Smm    it comes from standard input, if $LESSOPEN begins with ���|-���.  So
3465207753Smm    set $LESSOPEN to take advantage of this feature.
3466207753Smm    
3467207753Smm    Check less���s version at runtime so xzless can continue to work
3468207753Smm    with older versions.
3469207753Smm
3470207753Smmcommit a7f5d2fe4826ac68839d00059f05004fb81d5c69
3471207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3472207753SmmDate:   Sun Aug 9 20:57:46 2009 +0300
3473207753Smm
3474207753Smm    GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
3475207753Smm
3476207753Smmcommit b735cde20cc14857136ae65a0e5d336ed7ddc862
3477207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3478207753SmmDate:   Sun Aug 2 00:27:29 2009 +0300
3479207753Smm
3480207753Smm    Added a copyright notice to Doxyfile.in since it contains
3481207753Smm    lots of comments from Doxygen.
3482207753Smm    
3483207753Smm    It seems that the Doxygen authors' intent is to not apply
3484207753Smm    their copyright on generated files, but since it doesn't
3485207753Smm    matter for XZ Utils at all, better safe than sorry.
3486207753Smm
3487207753Smmcommit 0fd157cc008446adfc8f91394f5503868025a642
3488207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3489207753SmmDate:   Sun Aug 2 00:11:37 2009 +0300
3490207753Smm
3491207753Smm    Updated THANKS.
3492207753Smm
3493207753Smmcommit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
3494207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3495207753SmmDate:   Sun Aug 2 00:10:22 2009 +0300
3496207753Smm
3497207753Smm    Updated TODO.
3498207753Smm
3499207753Smmcommit 669413bb2db954bbfde3c4542fddbbab53891eb4
3500207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3501207753SmmDate:   Thu Jul 30 12:25:55 2009 +0300
3502207753Smm
3503207753Smm    Updated THANKS.
3504207753Smm
3505207753Smmcommit dbbd8fb870ae789d96497911006c869d37148c15
3506207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com>
3507207753SmmDate:   Tue Jul 28 17:37:24 2009 -0500
3508207753Smm
3509207753Smm    xzdiff: add missing ;; to case statement
3510207753Smm
3511207753Smmcommit adbad2d16cb5909f85d4a429011005613ea62ffe
3512207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3513207753SmmDate:   Fri Jul 24 13:15:06 2009 +0300
3514207753Smm
3515207753Smm    Added history.txt to doc_DATA.
3516207753Smm
3517207753Smmcommit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
3518207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3519207753SmmDate:   Fri Jul 24 12:00:40 2009 +0300
3520207753Smm
3521207753Smm    Updated .gitignore files.
3522207753Smm
3523207753Smmcommit 2f34fb269265e3aba43a2a9c734020a45268826d
3524207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3525207753SmmDate:   Fri Jul 24 11:34:02 2009 +0300
3526207753Smm
3527207753Smm    Minor improvements to COPYING.
3528207753Smm
3529207753Smmcommit 0db1befcfbc120377df4b89923762f16d25f548a
3530207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3531207753SmmDate:   Thu Jul 23 19:10:55 2009 +0300
3532207753Smm
3533207753Smm    Fix incorrect usage of getopt_long(), which caused
3534207753Smm    invalid memory access if XZ_OPT was defined.
3535207753Smm
3536207753Smmcommit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
3537207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3538207753SmmDate:   Mon Jul 20 15:43:32 2009 +0300
3539207753Smm
3540207753Smm    Avoid internal error with --format=xz --lzma1.
3541207753Smm
3542207753Smmcommit 99f9e879a6a8bb54a65da99c12e0f390216c152a
3543207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3544207753SmmDate:   Sun Jul 19 13:14:20 2009 +0300
3545207753Smm
3546207753Smm    Major documentation update.
3547207753Smm    
3548207753Smm    Installation and packaging instructions were added.
3549207753Smm    README and other generic docs were revised.
3550207753Smm    
3551207753Smm    Some of the documentation files are now installed to $docdir.
3552207753Smm
3553207753Smmcommit ef4cf1851de89022cba5674784f1a8f6343c15b0
3554207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3555207753SmmDate:   Sun Jul 19 11:09:31 2009 +0300
3556207753Smm
3557207753Smm    Added missing author notice to xzless.in.
3558207753Smm
3559207753Smmcommit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
3560207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3561207753SmmDate:   Sat Jul 18 18:54:55 2009 +0300
3562207753Smm
3563207753Smm    Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
3564207753Smm    a little.
3565207753Smm    
3566207753Smm    Fixed a related bug in the toplevel Makefile.am.
3567207753Smm    
3568207753Smm    Added the build-aux directory to .gitignore.
3569207753Smm
3570207753Smmcommit 366e436090a7a87215e9bf0e3ddcd55f05b50587
3571207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3572207753SmmDate:   Sat Jul 18 14:34:08 2009 +0300
3573207753Smm
3574207753Smm    Updated the totally outdated TODO file.
3575207753Smm
3576207753Smmcommit 64e498c89d8b9966e8663f43bf64d47c26c55c62
3577207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3578207753SmmDate:   Sat Jul 18 11:26:39 2009 +0300
3579207753Smm
3580207753Smm    Added public domain notice into a few files.
3581207753Smm
3582207753Smmcommit a35755c5de808df027675688855d1b621a4fb428
3583207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3584207753SmmDate:   Tue Jul 14 21:10:36 2009 +0300
3585207753Smm
3586207753Smm    Allow extra commas in filter-specific options on xz command line.
3587207753Smm    
3588207753Smm    This may slightly ease writing scripts that construct
3589207753Smm    filter-specific option strings dynamically.
3590207753Smm
3591207753Smmcommit 98f3cac1ad31191c5160a7e48398bf85141e941c
3592207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3593207753SmmDate:   Tue Jul 14 18:04:31 2009 +0300
3594207753Smm
3595207753Smm    Accept --lzma2=preset=6e where "e" is equivalent to --extreme
3596207753Smm    when no custom chain is in use.
3597207753Smm
3598207753Smmcommit d873a09e956363e54bf58c577c8f7e487b6fb464
3599207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3600207753SmmDate:   Sun Jul 12 19:08:30 2009 +0300
3601207753Smm
3602207753Smm    Add dist-hook to create ChangeLog from the commit log,
3603207753Smm    and to conver the man pages to PDF and plain text, which
3604207753Smm    may be convenient to those who cannot render man pages.
3605207753Smm
3606207753Smmcommit cd69a5a6c16c289f6f8e2823b03c72289472270f
3607207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3608207753SmmDate:   Fri Jul 10 11:39:38 2009 +0300
3609207753Smm
3610207753Smm    BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
3611207753Smm    
3612207753Smm    This is a quick and slightly dirty fix to make the code
3613207753Smm    conform to the latest file format specification. Without
3614207753Smm    this patch, it's possible to make corrupt files by
3615207753Smm    specifying start offset that is not a multiple of the
3616207753Smm    filter's alignment. Custom start offset is almost never
3617207753Smm    used, so this was only a minor bug.
3618207753Smm    
3619207753Smm    The xz command line tool doesn't validate the start offset,
3620207753Smm    so one will get a bit unclear error message if trying to use
3621207753Smm    an invalid start offset.
3622207753Smm
3623207753Smmcommit eed9953732b801f6c97317fb3160445a8754180b
3624207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3625207753SmmDate:   Fri Jul 10 11:33:21 2009 +0300
3626207753Smm
3627207753Smm    Look for full command names instead of substrings
3628207753Smm    like "un", "cat", and "lz" when determining if
3629207753Smm    xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
3630207753Smm    
3631207753Smm    This is to ensure that if xz is renamed (e.g. via
3632207753Smm    --program-transform-name), it doesn't so easily
3633207753Smm    work in wrong mode.
3634207753Smm
3635207753Smmcommit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
3636207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3637207753SmmDate:   Wed Jul 8 23:06:46 2009 +0300
3638207753Smm
3639207753Smm    Updated THANKS.
3640207753Smm
3641207753Smmcommit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
3642207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3643207753SmmDate:   Wed Jul 8 23:05:29 2009 +0300
3644207753Smm
3645207753Smm    Portability improvement to version.sh.
3646207753Smm
3647207753Smmcommit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
3648207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3649207753SmmDate:   Wed Jul 8 22:50:16 2009 +0300
3650207753Smm
3651207753Smm    Remove --force from xzdec.
3652207753Smm    
3653207753Smm    It was ignored for compatibility with xz, but now that
3654207753Smm    --decompress --stdout --force copies unrecognized files
3655207753Smm    as is to stdout, simply ignoring --force in xzdec would
3656207753Smm    be wrong. xzdec will not support copying unrecognized
3657207753Smm    data as is to stdout, so it cannot support --force.
3658207753Smm
3659207753Smmcommit 5f16ef4abf220028a9ddbcb138217597a9455f62
3660207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3661207753SmmDate:   Mon Jul 6 10:36:04 2009 +0300
3662207753Smm
3663207753Smm    Use sed instead of $(SED) so that we don't need to
3664207753Smm    use AC_PROG_SED. We don't do anything fancy with sed,
3665207753Smm    so this should work OK. libtool 2.2 sets SED but 1.5
3666207753Smm    doesn't, so $(SED) happened to work when using libtool 2.2.
3667207753Smm
3668207753Smmcommit 96e4b257e101d72072d43e144897d92920270669
3669207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3670207753SmmDate:   Sun Jul 5 22:25:17 2009 +0300
3671207753Smm
3672207753Smm    Major update to the xzgrep and other scripts based on
3673207753Smm    the latest versions found from gzip CVS repository.
3674207753Smm    
3675207753Smm    configure will try to find a POSIX shell to be used by
3676207753Smm    the scripts. This should ease portability on systems
3677207753Smm    which have pre-POSIX /bin/sh.
3678207753Smm    
3679207753Smm    xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
3680207753Smm    xzmore and xzless support only .xz and .lzma files.
3681207753Smm    
3682207753Smm    The name of the xz executable used in these scripts is
3683207753Smm    now correct even if --program-transform-name has been used.
3684207753Smm
3685207753Smmcommit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
3686207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3687207753SmmDate:   Sun Jul 5 19:26:53 2009 +0300
3688207753Smm
3689207753Smm    Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
3690207753Smm
3691207753Smmcommit 18c10c30d2833f394cd7bce0e6a821044b15832f
3692207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3693207753SmmDate:   Sat Jul 4 00:40:44 2009 +0300
3694207753Smm
3695207753Smm    Make "xz --decompress --stdout --force" copy unrecognized
3696207753Smm    files as is to standard output.
3697207753Smm    
3698207753Smm    This feature is needed to be more compatible with gzip's
3699207753Smm    behavior. This was more complicated to implement than it
3700207753Smm    sounds, because the way liblzma is able to return errors with
3701207753Smm    files of only a few bytes in size. xz now has its own file
3702207753Smm    type detection code and no longer uses lzma_auto_decoder().
3703207753Smm
3704207753Smmcommit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
3705207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3706207753SmmDate:   Thu Jul 2 14:30:38 2009 +0300
3707207753Smm
3708207753Smm    Define PACKAGE_HOMEPAGE in configure.ac and use it in
3709207753Smm    xz and xzdec.
3710207753Smm    
3711207753Smm    Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
3712207753Smm
3713207753Smmcommit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
3714207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3715207753SmmDate:   Wed Jul 1 12:21:24 2009 +0300
3716207753Smm
3717207753Smm    Avoid visibility related compiler warnings on Windows.
3718207753Smm
3719207753Smmcommit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
3720207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3721207753SmmDate:   Tue Jun 30 17:14:39 2009 +0300
3722207753Smm
3723207753Smm    Use static liblzma by default also for tests.
3724207753Smm
3725207753Smmcommit f42ee981668b545ab6d06c6072e262c29605273c
3726207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3727207753SmmDate:   Tue Jun 30 17:09:57 2009 +0300
3728207753Smm
3729207753Smm    Build system fixes
3730207753Smm    
3731207753Smm    Don't use libtool convenience libraries to avoid recently
3732207753Smm    discovered long-standing subtle but somewhat severe bugs
3733207753Smm    in libtool (at least 1.5.22 and 2.2.6 are affected). It
3734207753Smm    was found when porting XZ Utils to Windows
3735207753Smm    <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
3736207753Smm    but the problem is significant also e.g. on GNU/Linux.
3737207753Smm    
3738207753Smm    Unless --disable-shared is passed to configure, static
3739207753Smm    library built from a set of convenience libraries will
3740207753Smm    contain PIC objects. That is, while libtool builds non-PIC
3741207753Smm    objects too, only PIC objects will be used from the
3742207753Smm    convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
3743207753Smm    using PIC instead of non-PIC makes the decompressor 10 % slower
3744207753Smm    with the default CFLAGS.
3745207753Smm    
3746207753Smm    So while xz was linked against static liblzma by default,
3747207753Smm    it got the slower PIC objects unless --disable-shared was
3748207753Smm    used. I tend develop and benchmark with --disable-shared
3749207753Smm    due to faster build time, so I hadn't noticed the problem
3750207753Smm    in benchmarks earlier.
3751207753Smm    
3752207753Smm    This commit also adds support for building Windows resources
3753207753Smm    into liblzma and executables.
3754207753Smm
3755207753Smmcommit 89dac1db6f168d7469cfbc4432651d4724c5c0de
3756207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3757207753SmmDate:   Mon Jun 29 22:19:51 2009 +0300
3758207753Smm
3759207753Smm    Added a comment about "autoconf -fi" to autogen.sh.
3760207753Smm
3761207753Smmcommit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
3762207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3763207753SmmDate:   Sun Jun 28 10:04:24 2009 +0300
3764207753Smm
3765207753Smm    Add -no-undefined to get shared liblzma on Windows.
3766207753Smm
3767207753Smmcommit 73f560ee5fa064992b76688d9472baf139432540
3768207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3769207753SmmDate:   Sat Jun 27 22:57:15 2009 +0300
3770207753Smm
3771207753Smm    Make physmem() work on Cygwin 1.5 and older.
3772207753Smm
3773207753Smmcommit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
3774207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3775207753SmmDate:   Sat Jun 27 17:28:01 2009 +0300
3776207753Smm
3777207753Smm    Moved the Windows resource files outside the windows directory
3778207753Smm    to prepare for building them with Autotools.
3779207753Smm
3780207753Smmcommit 449c634674f35336a4815d398172e447659a135e
3781207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3782207753SmmDate:   Sat Jun 27 13:05:03 2009 +0300
3783207753Smm
3784207753Smm    Added missing $(EXEEXT).
3785207753Smm
3786207753Smmcommit 792db79f27ad9ab1fb977e23be65c7761f545752
3787207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3788207753SmmDate:   Sat Jun 27 12:32:40 2009 +0300
3789207753Smm
3790207753Smm    Create correct symlinks even when
3791207753Smm    --program-{prefix,suffix,transform} is passed to configure.
3792207753Smm
3793207753Smmcommit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
3794207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3795207753SmmDate:   Sat Jun 27 10:02:24 2009 +0300
3796207753Smm
3797207753Smm    Silence a compiler warning on DOS-like systems.
3798207753Smm
3799207753Smmcommit ad12edc95254ede3f0cb8dec8645e8789e984c4f
3800207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3801207753SmmDate:   Sat Jun 27 09:35:15 2009 +0300
3802207753Smm
3803207753Smm    Updated the filenames in POTFILES.in too.
3804207753Smm
3805207753Smmcommit b2b1f867532732fe9969131f8713bdd6b0731763
3806207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3807207753SmmDate:   Sat Jun 27 00:43:06 2009 +0300
3808207753Smm
3809207753Smm    Hopefully improved portability of the assembler code in
3810207753Smm    Autotools based builds on Windows.
3811207753Smm
3812207753Smmcommit c393055947247627a09b6a6b8f20aa0c32f9be16
3813207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3814207753SmmDate:   Fri Jun 26 21:17:29 2009 +0300
3815207753Smm
3816207753Smm    Updated THANKS (most of today's commits are based on
3817207753Smm    Charles Wilson's patches).
3818207753Smm
3819207753Smmcommit da0af22e4b4139b8a10710945f8b245b3a77c97d
3820207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3821207753SmmDate:   Fri Jun 26 21:00:35 2009 +0300
3822207753Smm
3823207753Smm    Updated comments to match renamed files.
3824207753Smm
3825207753Smmcommit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
3826207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3827207753SmmDate:   Fri Jun 26 20:49:54 2009 +0300
3828207753Smm
3829207753Smm    Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
3830207753Smm    to avoid problems on systems with system headers with those
3831207753Smm    names.
3832207753Smm
3833207753Smmcommit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
3834207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3835207753SmmDate:   Fri Jun 26 20:43:36 2009 +0300
3836207753Smm
3837207753Smm    Rename process_file() to coder_run().
3838207753Smm
3839207753Smmcommit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
3840207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3841207753SmmDate:   Fri Jun 26 20:36:45 2009 +0300
3842207753Smm
3843207753Smm    Ugly hack to make it possible to use the thousand separator
3844207753Smm    format character with snprintf() on POSIX systems but not
3845207753Smm    on non-POSIX systems and still keep xgettext working.
3846207753Smm
3847207753Smmcommit fe378d47074b16c52b00fe184d119287c68ce2e7
3848207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3849207753SmmDate:   Fri Jun 26 15:40:40 2009 +0300
3850207753Smm
3851207753Smm    Added missing source files to windows/Makefile.
3852207753Smm
3853207753Smmcommit 390a6408563067613b29de895cb40e4d0386d62c
3854207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3855207753SmmDate:   Fri Jun 26 15:37:53 2009 +0300
3856207753Smm
3857207753Smm    Basic support for building with Cygwin and MinGW using
3858207753Smm    the Autotools based build system. It's not good yet, more
3859207753Smm    fixes will follow.
3860207753Smm
3861207753Smmcommit 1c9360b7d1197457aaad2f8888b99f1149861579
3862207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3863207753SmmDate:   Fri Jun 26 14:47:31 2009 +0300
3864207753Smm
3865207753Smm    Fix @variables@ to $(variables) in Makefile.am files.
3866207753Smm    Fix the ordering of libgnu.a and LTLIBINTL on the linker
3867207753Smm    command line and added missing LTLIBINTL to tests/Makefile.am.
3868207753Smm
3869207753Smmcommit d45615c555e250209ebb55aa3649abe790f1eeac
3870207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3871207753SmmDate:   Fri Jun 26 14:20:02 2009 +0300
3872207753Smm
3873207753Smm    Allow to explicitly specify autotool versions in autogen.sh.
3874207753Smm
3875207753Smmcommit eaf8367368a329afa48785380f9dca6b681f3397
3876207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3877207753SmmDate:   Fri Jun 26 14:18:32 2009 +0300
3878207753Smm
3879207753Smm    Add version.sh to EXTRA_DIST.
3880207753Smm
3881207753Smmcommit b317b218e2d383dd27a700094c0de4510540ea18
3882207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3883207753SmmDate:   Wed Jun 24 20:14:10 2009 +0300
3884207753Smm
3885207753Smm    Support HW_PHYSMEM64
3886207753Smm
3887207753Smmcommit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
3888207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3889207753SmmDate:   Wed Jun 24 13:01:59 2009 +0300
3890207753Smm
3891207753Smm    Cast a char argument to isspace() to unsigned char.
3892207753Smm
3893207753Smmcommit 1735d31ea347210e914df038eeea4b2626e76e42
3894207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3895207753SmmDate:   Fri Jun 5 13:46:26 2009 +0300
3896207753Smm
3897207753Smm    A few more spelling fixes. Released the .xz spec 1.0.3.
3898207753Smm
3899207753Smmcommit 8ed156ce894966103e895aa08f2a9fb912f6fad5
3900207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3901207753SmmDate:   Thu Jun 4 23:42:12 2009 +0300
3902207753Smm
3903207753Smm    Added xzdec man page.
3904207753Smm
3905207753Smmcommit f6df39afaa84f71439507178a49b2a5dda6e824c
3906207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3907207753SmmDate:   Thu Jun 4 23:26:47 2009 +0300
3908207753Smm
3909207753Smm    Harmonized xzdec --memory with xz --memory and made
3910207753Smm    minor cleanups.
3911207753Smm
3912207753Smmcommit 1774f27c61ce294a56712ca2f4785f90a62441bc
3913207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3914207753SmmDate:   Thu Jun 4 22:59:55 2009 +0300
3915207753Smm
3916207753Smm    Fix purporse -> purpose. Thanks to Andrew Dudman.
3917207753Smm    Released .xz spec 1.0.2 due to this fix too.
3918207753Smm
3919207753Smmcommit cb613455642f48fb51059e22018615f64c59b70f
3920207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3921207753SmmDate:   Mon Jun 1 14:53:57 2009 +0300
3922207753Smm
3923207753Smm    The .xz file format version 1.0.1
3924207753Smm
3925207753Smmcommit 083c23c680ff844846d177cfc58bb7a874e7e6b9
3926207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3927207753SmmDate:   Tue May 26 14:48:48 2009 +0300
3928207753Smm
3929207753Smm    Make the raw value of the Check field available to applications
3930207753Smm    via lzma_block structure.
3931207753Smm    
3932207753Smm    This changes ABI but not doesn't break API.
3933207753Smm
3934207753Smmcommit b4f5c814090dc07d4350453576305e41eb9c998d
3935207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3936207753SmmDate:   Sat May 23 16:57:21 2009 +0300
3937207753Smm
3938207753Smm    Remove undocumented alternative option names --bcj, --ppc,
3939207753Smm    and --itanium.
3940207753Smm
3941207753Smmcommit b1edee2cdc7ef4411b1a21c07094ec763f071281
3942207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3943207753SmmDate:   Sat May 23 15:12:23 2009 +0300
3944207753Smm
3945207753Smm    Add support for specifying the BCJ filter start offset
3946207753Smm    in the xz command line tool.
3947207753Smm
3948207753Smmcommit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
3949207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3950207753SmmDate:   Sat May 23 14:51:09 2009 +0300
3951207753Smm
3952207753Smm    Updated THANKS.
3953207753Smm
3954207753Smmcommit dcedb6998cefeca6597dd1219328a3abf5acf66d
3955207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3956207753SmmDate:   Fri May 22 16:40:50 2009 +0300
3957207753Smm
3958207753Smm    Added support for --quiet and --no-warn to xzdec.
3959207753Smm    Cleaned up the --help message a little.
3960207753Smm
3961207753Smmcommit 5f735dae80aa629853f4831d7b84ec1c614979eb
3962207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3963207753SmmDate:   Fri May 22 15:11:52 2009 +0300
3964207753Smm
3965207753Smm    Use the 40 % of RAM memory usage limit in xzdec too.
3966207753Smm    
3967207753Smm    Update the memory usage info text in --help to match
3968207753Smm    the text in xz --long-help.
3969207753Smm
3970207753Smmcommit b60376249e0c586910c4121fab4f791820cc1289
3971207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3972207753SmmDate:   Fri May 22 14:43:00 2009 +0300
3973207753Smm
3974207753Smm    Add --no-warn.
3975207753Smm
3976207753Smmcommit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
3977207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3978207753SmmDate:   Fri May 22 14:27:40 2009 +0300
3979207753Smm
3980207753Smm    Fix a comment.
3981207753Smm
3982207753Smmcommit 4dd21d23f22569285ae706b58b0e5904b8db1839
3983207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3984207753SmmDate:   Fri May 22 14:21:20 2009 +0300
3985207753Smm
3986207753Smm    Remove the --info option, which was an alias for --list.
3987207753Smm
3988207753Smmcommit 8836139b63ce774bdd62abf17ab69b290e08229e
3989207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
3990207753SmmDate:   Fri May 22 12:27:43 2009 +0300
3991207753Smm
3992207753Smm    If xz is run as lzma, unlzma, or lzcat, simply imply
3993207753Smm    --format=lzma. This means that xz emulating lzma
3994207753Smm    doesn't decompress .xz files, while before this
3995207753Smm    commit it did. The new way is slightly simpler in
3996207753Smm    code and especially in upcoming documentation.
3997207753Smm
3998207753Smmcommit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
3999207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4000207753SmmDate:   Fri May 22 11:29:50 2009 +0300
4001207753Smm
4002207753Smm    Make the default memory usage limit 40 % of RAM for both
4003207753Smm    compressing and decompressing. This should be OK now that
4004207753Smm    xz automatically scales down the compression settings if
4005207753Smm    they would exceed the memory usage limit (earlier, the limit
4006207753Smm    for compression was increased to 90 % because low limit broke
4007207753Smm    scripts that used "xz -9" on systems with low RAM).
4008207753Smm    
4009207753Smm    Support spcifying the memory usage limit as a percentage
4010207753Smm    of RAM (e.g. --memory=50%).
4011207753Smm    
4012207753Smm    Support --threads=0 to reset the thread limit to the default
4013207753Smm    value (number of available CPU cores). Use UINT32_MAX instead
4014207753Smm    of SIZE_MAX as the maximum in args.c. hardware.c was already
4015207753Smm    expecting uint32_t value.
4016207753Smm    
4017207753Smm    Cleaned up the output of --help and --long-help.
4018207753Smm
4019207753Smmcommit 071b825b23911a69dd1cd2f8cda004ef8a781fae
4020207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4021207753SmmDate:   Thu May 21 17:22:01 2009 +0300
4022207753Smm
4023207753Smm    Support special value "max" where xz and xzdec accept an integer.
4024207753Smm    Don't round the memory usage limit in xzdec --help to avoid
4025207753Smm    an integer overflow and to not give wrong impression that
4026207753Smm    the limit is high enough when it may not actually be.
4027207753Smm
4028207753Smmcommit 03ca67fd37dd43fa7f590de340899cd497c10802
4029207753SmmAuthor: ABCD <en.abcd@gmail.com>
4030207753SmmDate:   Wed May 20 17:31:18 2009 -0400
4031207753Smm
4032207753Smm    Install lzdiff, lzgrep, and lzmore as symlinks
4033207753Smm    
4034207753Smm    This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
4035207753Smm    It also installs symlinks for the manual pages and removes the new
4036207753Smm    symlinks on uninstall.
4037207753Smm
4038207753Smmcommit a6f43e64128a6da5cd641de1e1e527433b3e5638
4039207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4040207753SmmDate:   Sat May 2 16:10:14 2009 +0300
4041207753Smm
4042207753Smm    Use a GCC-specific #pragma instead of GCC-specific
4043207753Smm    -Wno-uninitialized to silence a bogus warning.
4044207753Smm
4045207753Smmcommit f6ce63ebdb45a857c8949960c83c9580ae888951
4046207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4047207753SmmDate:   Sat May 2 14:46:50 2009 +0300
4048207753Smm
4049207753Smm    Removed --disable-encoder and --disable-decoder. Use the values
4050207753Smm    given to --enable-encoders and --enable-decoders to determine
4051207753Smm    if any encoder or decoder support is wanted.
4052207753Smm
4053207753Smmcommit be06858d5cf8ba46557395035d821dc332f3f830
4054207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4055207753SmmDate:   Fri May 1 11:28:52 2009 +0300
4056207753Smm
4057207753Smm    Remove docs that are too outdated to be updated
4058207753Smm    (rewrite will be better).
4059207753Smm
4060207753Smmcommit 0255401e57c96af87c6b159eca28974e79430a82
4061207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4062207753SmmDate:   Fri May 1 11:21:46 2009 +0300
4063207753Smm
4064207753Smm    Added documentation about the legacy .lzma file format.
4065207753Smm
4066207753Smmcommit 1496ff437c46f38303e0e94c511ca604b3a11f85
4067207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4068207753SmmDate:   Fri May 1 11:20:23 2009 +0300
4069207753Smm
4070207753Smm    Renamed the file format specification to xz-file-format.txt
4071207753Smm    which is the filename used on the WWW.
4072207753Smm
4073207753Smmcommit 21c6b94373d239d7e86bd480fcd558e30391712f
4074207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4075207753SmmDate:   Tue Apr 28 23:08:32 2009 +0300
4076207753Smm
4077207753Smm    Fixed a crash in liblzma.
4078207753Smm    
4079207753Smm    liblzma tries to avoid useless free()/malloc() pairs in
4080207753Smm    initialization when multiple files are handled using the
4081207753Smm    same lzma_stream. This didn't work with filter chains
4082207753Smm    due to comparison of wrong pointers in lzma_next_coder_init(),
4083207753Smm    making liblzma think that no memory reallocation is needed
4084207753Smm    even when it actually is.
4085207753Smm    
4086207753Smm    Easy way to trigger this bug is to decompress two files with
4087207753Smm    a single xz command. The first file should have e.g. x86+LZMA2
4088207753Smm    as the filter chain, and the second file just LZMA2.
4089207753Smm
4090207753Smmcommit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
4091207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4092207753SmmDate:   Wed Apr 15 14:13:38 2009 +0300
4093207753Smm
4094207753Smm    Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
4095207753Smm    
4096207753Smm    On 64-bit system it would have gone into infinite
4097207753Smm    loop if a single input buffer was over 4 GiB (unlikely).
4098207753Smm
4099207753Smmcommit 31decdce041581e57c0d8a407d4795b114ef27ca
4100207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4101207753SmmDate:   Tue Apr 14 11:48:46 2009 +0300
4102207753Smm
4103207753Smm    Minor fixes to test files' README.
4104207753Smm
4105207753Smmcommit 4787d654434891c7df5b43959b0d2873718f06e0
4106207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4107207753SmmDate:   Mon Apr 13 16:36:41 2009 +0300
4108207753Smm
4109207753Smm    Updated history.txt.
4110207753Smm
4111207753Smmcommit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
4112207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4113207753SmmDate:   Mon Apr 13 14:49:48 2009 +0300
4114207753Smm
4115207753Smm    Quick & dirty update to support xz in diff/grep/more scripts.
4116207753Smm
4117207753Smmcommit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
4118207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4119207753SmmDate:   Mon Apr 13 11:27:40 2009 +0300
4120207753Smm
4121207753Smm    Put the interesting parts of XZ Utils into the public domain.
4122207753Smm    Some minor documentation cleanups were made at the same time.
4123207753Smm
4124207753Smmcommit e79c42d854657ae7f75613bd80c1a35ff7c525cb
4125207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4126207753SmmDate:   Fri Apr 10 11:17:02 2009 +0300
4127207753Smm
4128207753Smm    Fix off-by-one in LZ decoder.
4129207753Smm    
4130207753Smm    Fortunately, this bug had no security risk other than accepting
4131207753Smm    some corrupt files as valid.
4132207753Smm
4133207753Smmcommit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
4134207753SmmAuthor: Pavel Roskin <proski@gnu.org>
4135207753SmmDate:   Tue Mar 31 12:15:01 2009 -0400
4136207753Smm
4137207753Smm    Fix minor typos in README
4138207753Smm
4139207753Smmcommit 9bab5336ebd765ec4e12252f416eefdf04eba750
4140207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4141207753SmmDate:   Tue Mar 31 21:52:51 2009 +0300
4142207753Smm
4143207753Smm    Add a note and work-around instructions to README about
4144207753Smm    problems detecting a C99 compiler when some standard
4145207753Smm    headers are missing.
4146207753Smm
4147207753Smmcommit a0497ff7a06f9350349264fe9b52dfefc6d53ead
4148207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4149207753SmmDate:   Wed Mar 18 16:54:38 2009 +0200
4150207753Smm
4151207753Smm    Updated THANKS.
4152207753Smm
4153207753Smmcommit 390e69887fc5e0a108eb41203bed9acd100a3d76
4154207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4155207753SmmDate:   Wed Mar 18 16:51:41 2009 +0200
4156207753Smm
4157207753Smm    Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
4158207753Smm    Thanks to Bert Wesarg.
4159207753Smm
4160207753Smmcommit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
4161207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4162207753SmmDate:   Sun Mar 1 09:03:08 2009 +0200
4163207753Smm
4164207753Smm    Test for Linux-specific sysinfo() only on Linux systems.
4165207753Smm    Some other systems have sysinfo() with different semantics.
4166207753Smm
4167207753Smmcommit cf751edfde3ad6e088dc18e0522d31ae38405933
4168207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4169207753SmmDate:   Sun Mar 1 09:00:06 2009 +0200
4170207753Smm
4171207753Smm    Added AC_CONFIG_MACRO_DIR to configure.ac.
4172207753Smm
4173207753Smmcommit 63df14c57dee7c461717784287056688482a7eb9
4174207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4175207753SmmDate:   Sun Mar 1 08:58:41 2009 +0200
4176207753Smm
4177207753Smm    Fix the Autoconf test for getopt_long replacement.
4178207753Smm    It was broken by e114502b2bc371e4a45449832cb69be036360722.
4179207753Smm
4180207753Smmcommit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
4181207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4182207753SmmDate:   Sun Feb 22 19:07:54 2009 +0200
4183207753Smm
4184207753Smm    Add a rough explanation of --extreme to output of --help.
4185207753Smm
4186207753Smmcommit 68bf7ac2984d3627369a240ef0491934d53f7899
4187207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4188207753SmmDate:   Sun Feb 22 18:52:49 2009 +0200
4189207753Smm
4190207753Smm    Fixes to progress message handling in xz:
4191207753Smm    
4192207753Smm      - Don't use Windows-specific code on Windows. The old code
4193207753Smm        required at least Windows 2000. Now it should work on
4194207753Smm        Windows 98 and later, and maybe on Windows 95 too.
4195207753Smm    
4196207753Smm      - Use less precision when showing estimated remaining time.
4197207753Smm    
4198207753Smm      - Fix some small design issues.
4199207753Smm
4200207753Smmcommit 47c2e21f82242f50f18713a27d644c2c94ab3fea
4201207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4202207753SmmDate:   Wed Feb 18 13:00:10 2009 +0200
4203207753Smm
4204207753Smm    Added files missing from the previous commit.
4205207753Smm
4206207753Smmcommit 489a3dbaa0465f04400804e956a1cfbbee3654a2
4207207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4208207753SmmDate:   Tue Feb 17 10:43:00 2009 +0200
4209207753Smm
4210207753Smm    Added lzma_easy_buffer_encode(). Splitted easy.c into small
4211207753Smm    pieces to avoid unneeded dependencies making statically
4212207753Smm    linked applications bigger than needed.
4213207753Smm
4214207753Smmcommit 7494816ab08d82f4d6409788825930c4e43cfd0d
4215207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4216207753SmmDate:   Sun Feb 15 15:48:45 2009 +0200
4217207753Smm
4218207753Smm    Make physmem.h work on old Windows versions.
4219207753Smm    Thanks to Hongbo Ni for the original patch.
4220207753Smm
4221207753Smmcommit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
4222207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4223207753SmmDate:   Sat Feb 14 20:44:52 2009 +0200
4224207753Smm
4225207753Smm    Fix microsecond vs. nanosecond confusion in my_time().
4226207753Smm
4227207753Smmcommit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
4228207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4229207753SmmDate:   Sat Feb 14 00:45:29 2009 +0200
4230207753Smm
4231207753Smm    Cleanups to the code that detects the amount of RAM and
4232207753Smm    the number of CPU cores. Added support for using sysinfo()
4233207753Smm    on Linux systems whose libc lacks appropriate sysconf()
4234207753Smm    support (at least dietlibc). The Autoconf macros were
4235207753Smm    split into separate files, and CPU core count detection
4236207753Smm    was moved from hardware.c to cpucores.h. The core count
4237207753Smm    isn't used for anything real for now, so a problematic
4238207753Smm    part in process.c was commented out.
4239207753Smm
4240207753Smmcommit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
4241207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4242207753SmmDate:   Fri Feb 13 18:23:50 2009 +0200
4243207753Smm
4244207753Smm    Initial port to DOS using DJGPP.
4245207753Smm
4246207753Smmcommit 0dae8b7751d09e9c5a482d5519daaee4800ce203
4247207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4248207753SmmDate:   Fri Feb 13 18:02:05 2009 +0200
4249207753Smm
4250207753Smm    Windows port: Take advantage of the version number macros.
4251207753Smm    Now the version number is not duplicated in the
4252207753Smm    Windows-specific files anymore.
4253207753Smm
4254207753Smmcommit fdbc0cfa71f7d660855098a609175ba384259529
4255207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4256207753SmmDate:   Fri Feb 13 18:00:03 2009 +0200
4257207753Smm
4258207753Smm    Changed how the version number is specified in various places.
4259207753Smm    Now configure.ac will get the version number directly from
4260207753Smm    src/liblzma/api/lzma/version.h. The intent is to reduce the
4261207753Smm    number of places where the version number is duplicated. In
4262207753Smm    future, support for displaying Git commit ID may be added too.
4263207753Smm
4264207753Smmcommit 1d924e584b146136989f48c13fff2632896efb3d
4265207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4266207753SmmDate:   Fri Feb 13 17:30:30 2009 +0200
4267207753Smm
4268207753Smm    Fix handling of integrity check type in the xz command line tool.
4269207753Smm
4270207753Smmcommit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
4271207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4272207753SmmDate:   Fri Feb 13 17:29:02 2009 +0200
4273207753Smm
4274207753Smm    Improve support for DOS-like systems.
4275207753Smm    Here DOS-like means DOS, Windows, and OS/2.
4276207753Smm
4277207753Smmcommit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
4278207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4279207753SmmDate:   Wed Feb 11 20:02:32 2009 +0200
4280207753Smm
4281207753Smm    Remove dead directories from .gitignore.
4282207753Smm
4283207753Smmcommit 1ec5b0027911d94cb6f98892cbc690f818d8a861
4284207753SmmAuthor: Jim Meyering <jim@meyering.net>
4285207753SmmDate:   Wed Feb 11 14:45:14 2009 +0100
4286207753Smm
4287207753Smm    .gitignore vs. Makefiles
4288207753Smm    
4289207753Smm    How about this for those of us who do srcdir builds?
4290207753Smm
4291207753Smmcommit 154f5aec2de201c674841de4fcc9804c2a87af07
4292207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4293207753SmmDate:   Tue Feb 10 21:48:35 2009 +0200
4294207753Smm
4295207753Smm    Removed Makefile from .gitignore since not all Makefiles
4296207753Smm    in the repository are generated by Autotools. People
4297207753Smm    should do test builds in a separate build directory anyway.
4298207753Smm
4299207753Smmcommit e605c2663691b0a4c307786aa368d124ea081daa
4300207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4301207753SmmDate:   Tue Feb 10 21:48:05 2009 +0200
4302207753Smm
4303207753Smm    Added resource files for the Windows build.
4304207753Smm
4305207753Smmcommit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
4306207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4307207753SmmDate:   Mon Feb 9 14:54:31 2009 +0200
4308207753Smm
4309207753Smm    Let the user specify custom CFLAGS on the make command
4310207753Smm    line. Previously custom CFLAGS worked only when they were
4311207753Smm    passed to configure.
4312207753Smm
4313207753Smmcommit 53f7598998b1860a69c51243b5d2e34623c6bf60
4314207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4315207753SmmDate:   Sun Feb 8 21:35:11 2009 +0200
4316207753Smm
4317207753Smm    Fix aliasing issue in physmem.h.
4318207753Smm
4319207753Smmcommit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
4320207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4321207753SmmDate:   Sun Feb 8 18:24:50 2009 +0200
4322207753Smm
4323207753Smm    Add a separate internal function to initialize the CRC32
4324207753Smm    table, which is used also by LZ encoder. This was needed
4325207753Smm    because calling lzma_crc32() and ignoring the result is
4326207753Smm    a no-op due to lzma_attr_pure.
4327207753Smm
4328207753Smmcommit ae1ad9af54210c9a2be336b1316532da5071516c
4329207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4330207753SmmDate:   Sun Feb 8 18:17:05 2009 +0200
4331207753Smm
4332207753Smm    Make "xz --force" to write to terminal as the error
4333207753Smm    message suggests.
4334207753Smm
4335207753Smmcommit 79e25eded48d2fe33f31441ab7a034f902e335f8
4336207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4337207753SmmDate:   Sun Feb 8 10:37:50 2009 +0200
4338207753Smm
4339207753Smm    Support both slash and backslash as path component
4340207753Smm    separator on Windows when parsing argv[0].
4341207753Smm
4342207753Smmcommit bc7c7109cc4410055a888c1c70cbd1c9445c4361
4343207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4344207753SmmDate:   Sat Feb 7 23:18:13 2009 +0200
4345207753Smm
4346207753Smm    Omit the wrong and (even if corrected) nowadays useless rm
4347207753Smm    from autogen.sh.
4348207753Smm
4349207753Smmcommit edfc2031e56f8a2ccda063f02936b3a848d88723
4350207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4351207753SmmDate:   Sat Feb 7 21:41:52 2009 +0200
4352207753Smm
4353207753Smm    Updated THANKS.
4354207753Smm
4355207753Smmcommit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
4356207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4357207753SmmDate:   Sat Feb 7 21:17:07 2009 +0200
4358207753Smm
4359207753Smm    Make it easy to choose if command line tools should be
4360207753Smm    linked statically or dynamically against liblzma. The
4361207753Smm    default is still to use static liblzma, but it can now
4362207753Smm    be changed by passing --enable-dynamic to configure.
4363207753Smm    Thanks to Mike Frysinger for the original patch.
4364207753Smm    
4365207753Smm    Fixed a few minor bugs in configure.ac.
4366207753Smm
4367207753Smmcommit 3f86532407e4ace3debb62be16035e009b56ca36
4368207753SmmAuthor: Mike Frysinger <vapier@gentoo.org>
4369207753SmmDate:   Fri Feb 6 23:38:39 2009 -0500
4370207753Smm
4371207753Smm    add gitignore files
4372207753Smm    
4373207753Smm    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
4374207753Smm
4375207753Smmcommit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
4376207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4377207753SmmDate:   Sat Feb 7 17:07:52 2009 +0200
4378207753Smm
4379207753Smm    Assume 32 MiB of RAM on unsupported operating systems like
4380207753Smm    the comment in hardware.c already said.
4381207753Smm
4382207753Smmcommit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
4383207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4384207753SmmDate:   Sat Feb 7 16:26:58 2009 +0200
4385207753Smm
4386207753Smm    MinGW support: Don't build fastpos_tablegen.c as part of
4387207753Smm    liblzma. Build both static and dynamic liblzma, and also
4388207753Smm    static and dynamic versions of the command line tools.
4389207753Smm
4390207753Smmcommit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
4391207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4392207753SmmDate:   Sat Feb 7 15:55:47 2009 +0200
4393207753Smm
4394207753Smm    Support LZMA_API_STATIC in assembler files to
4395207753Smm    avoid __declspec(dllexport) equivalent.
4396207753Smm
4397207753Smmcommit 3306cf3883492720b3c34baa02f4eb4227d91c73
4398207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4399207753SmmDate:   Sat Feb 7 11:11:50 2009 +0200
4400207753Smm
4401207753Smm    Introduced LZMA_API_STATIC macro, which the applications
4402207753Smm    need to #define when linking against static liblzma on
4403207753Smm    platforms like Windows. Most developers don't need to
4404207753Smm    care about LZMA_API_STATIC at all.
4405207753Smm
4406207753Smmcommit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
4407207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4408207753SmmDate:   Fri Feb 6 16:55:45 2009 +0200
4409207753Smm
4410207753Smm    Another grammar fix
4411207753Smm
4412207753Smmcommit fe5434f940f75fec3611cf9d9edf78c4da8ac760
4413207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4414207753SmmDate:   Fri Feb 6 12:30:23 2009 +0200
4415207753Smm
4416207753Smm    Grammar fix in README.
4417207753Smm
4418207753Smmcommit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
4419207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4420207753SmmDate:   Fri Feb 6 10:06:32 2009 +0200
4421207753Smm
4422207753Smm    Some MSYS installations (e.g. MsysGit) don't include
4423207753Smm    install.exe, so don't rely on it.
4424207753Smm
4425207753Smmcommit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
4426207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4427207753SmmDate:   Fri Feb 6 09:13:15 2009 +0200
4428207753Smm
4429207753Smm    Recreated the BCJ test files for x86 and SPARC. The old files
4430207753Smm    were linked with crt*.o, which are copyrighted, and thus the
4431207753Smm    old test files were not in the public domain as a whole. They
4432207753Smm    are freely distributable though, but it is better to be careful
4433207753Smm    and avoid including any copyrighted pieces in the test files.
4434207753Smm    The new files are just compiled and assembled object files,
4435207753Smm    and thus don't contain any copyrighted code.
4436207753Smm
4437207753Smmcommit 094b1b09a531f0d201ec81f2b07346a995fd80b9
4438207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4439207753SmmDate:   Thu Feb 5 21:21:27 2009 +0200
4440207753Smm
4441207753Smm    Add the "windows" directory to EXTRA_DIST.
4442207753Smm
4443207753Smmcommit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
4444207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4445207753SmmDate:   Thu Feb 5 09:17:51 2009 +0200
4446207753Smm
4447207753Smm    Added initial experimental makefile for use with MinGW.
4448207753Smm
4449207753Smmcommit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
4450207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4451207753SmmDate:   Thu Feb 5 09:12:57 2009 +0200
4452207753Smm
4453207753Smm    Various code cleanups the the xz command line tool.
4454207753Smm    It now builds with MinGW.
4455207753Smm
4456207753Smmcommit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
4457207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4458207753SmmDate:   Tue Feb 3 12:15:17 2009 +0200
4459207753Smm
4460207753Smm    Another utime() fix.
4461207753Smm
4462207753Smmcommit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
4463207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4464207753SmmDate:   Tue Feb 3 10:41:11 2009 +0200
4465207753Smm
4466207753Smm    Fix wrong filename argument for utime() and utimes().
4467207753Smm    This doesn't affect most systems, since most systems
4468207753Smm    have better functions available.
4469207753Smm
4470207753Smmcommit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
4471207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4472207753SmmDate:   Mon Feb 2 21:19:01 2009 +0200
4473207753Smm
4474207753Smm    Updated the x86 assembler code:
4475207753Smm      - Use call/ret pair to get instruction pointer for PIC.
4476207753Smm      - Use PIC only if PIC or __PIC__ is #defined.
4477207753Smm      - The code should work on MinGW and Darwin in addition
4478207753Smm        to GNU/Linux and Solaris.
4479207753Smm
4480207753Smmcommit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
4481207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4482207753SmmDate:   Mon Feb 2 20:14:03 2009 +0200
4483207753Smm
4484207753Smm    Modify LZMA_API macro so that it works on Windows with
4485207753Smm    other compilers than MinGW. This may hurt readability
4486207753Smm    of the API headers slightly, but I don't know any
4487207753Smm    better way to do this.
4488207753Smm
4489207753Smmcommit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
4490207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4491207753SmmDate:   Sun Feb 1 22:40:35 2009 +0200
4492207753Smm
4493207753Smm    Fix a bug in lzma_block_buffer_decode(), although this
4494207753Smm    function should be rewritten anyway.
4495207753Smm
4496207753Smmcommit 55fd41431e61fb8178858283d636b6781e33e847
4497207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4498207753SmmDate:   Sun Feb 1 22:39:07 2009 +0200
4499207753Smm
4500207753Smm    Added initial version of raw buffer-to-buffer coding
4501207753Smm    functions, and cleaned up filter.h API header a little.
4502207753Smm    May be very buggy, not tested yet.
4503207753Smm
4504207753Smmcommit 3e54ecee5cad30a5ca361a88a99230407abc0699
4505207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4506207753SmmDate:   Sun Feb 1 00:11:20 2009 +0200
4507207753Smm
4508207753Smm    Fix missing newlines in xzdec.c.
4509207753Smm
4510207753Smmcommit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
4511207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4512207753SmmDate:   Sun Feb 1 00:10:07 2009 +0200
4513207753Smm
4514207753Smm    Use __cdecl also for function pointers in liblzma API when
4515207753Smm    on Windows.
4516207753Smm
4517207753Smmcommit 6a2eb54092fc625d59921a607ff68cd1a90aa898
4518207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4519207753SmmDate:   Sat Jan 31 11:01:48 2009 +0200
4520207753Smm
4521207753Smm    Add LZMA_API to liblzma API headers. It's useful at least
4522207753Smm    on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
4523207753Smm    has to be #included separately where needed.
4524207753Smm
4525207753Smmcommit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
4526207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4527207753SmmDate:   Sat Jan 31 10:13:09 2009 +0200
4528207753Smm
4529207753Smm    Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
4530207753Smm
4531207753Smmcommit 2dbdc5befb33c3703e4609809101047c67caf343
4532207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4533207753SmmDate:   Sat Jan 31 10:02:52 2009 +0200
4534207753Smm
4535207753Smm    Fix two lines in lzma.h on which the # wasn't at the
4536207753Smm    beginning of the line.
4537207753Smm
4538207753Smmcommit 4ab760109106dc04f39dd81c97d50f528d1b51c1
4539207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4540207753SmmDate:   Sat Jan 31 09:55:05 2009 +0200
4541207753Smm
4542207753Smm    Add support for using liblzma headers in MSVC, which has no
4543207753Smm    stdint.h or inttypes.h.
4544207753Smm
4545207753Smmcommit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
4546207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4547207753SmmDate:   Sat Jan 31 08:49:54 2009 +0200
4548207753Smm
4549207753Smm    Fix # -> ## in a macro in lzma.h.
4550207753Smm
4551207753Smmcommit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
4552207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4553207753SmmDate:   Fri Jan 30 18:50:16 2009 +0200
4554207753Smm
4555207753Smm    Updated README.
4556207753Smm
4557207753Smmcommit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
4558207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4559207753SmmDate:   Fri Jan 30 00:29:58 2009 +0200
4560207753Smm
4561207753Smm    Remove dangling crc64_init.c.
4562207753Smm
4563207753Smmcommit 982da7ed314398420c38bf154a8f759d5f18b480
4564207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4565207753SmmDate:   Wed Jan 28 17:16:38 2009 +0200
4566207753Smm
4567207753Smm    The .xz file format specification version 1.0.0 is now
4568207753Smm    officially released. The format has been technically the same
4569207753Smm    since 2008-11-19, but now that it is frozen, people can start
4570207753Smm    using it without a fear that the format will break.
4571207753Smm
4572207753Smmcommit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
4573207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4574207753SmmDate:   Wed Jan 28 08:45:59 2009 +0200
4575207753Smm
4576207753Smm    Updated THANKS.
4577207753Smm
4578207753Smmcommit 3241317093595db9f79104faafe93cb989c9f858
4579207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4580207753SmmDate:   Wed Jan 28 08:43:26 2009 +0200
4581207753Smm
4582207753Smm    Fix uninitialized variables in alone_decoder.c. This bug was
4583207753Smm    triggered by the previous commit, since these variables were
4584207753Smm    not used by anything before support for a preset dictionary.
4585207753Smm
4586207753Smmcommit f76e39cf930f888d460b443d18f977ebedea8b2a
4587207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4588207753SmmDate:   Tue Jan 27 18:36:05 2009 +0200
4589207753Smm
4590207753Smm    Added initial support for preset dictionary for raw LZMA1
4591207753Smm    and LZMA2. It is not supported by the .xz format or the xz
4592207753Smm    command line tool yet.
4593207753Smm
4594207753Smmcommit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
4595207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4596207753SmmDate:   Mon Jan 26 20:09:17 2009 +0200
4597207753Smm
4598207753Smm    Regenerate the CRC tables without trailing blanks.
4599207753Smm
4600207753Smmcommit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
4601207753SmmAuthor: Jim Meyering <meyering@redhat.com>
4602207753SmmDate:   Mon Jan 19 21:37:16 2009 +0100
4603207753Smm
4604207753Smm    remove trailing blanks from all but .xz files
4605207753Smm
4606207753Smmcommit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
4607207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4608207753SmmDate:   Mon Jan 26 14:34:10 2009 +0200
4609207753Smm
4610207753Smm    Add lzma_block_buffer_decode().
4611207753Smm
4612207753Smmcommit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
4613207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4614207753SmmDate:   Mon Jan 26 14:33:28 2009 +0200
4615207753Smm
4616207753Smm    Add more sanity checks to lzma_stream_buffer_decode().
4617207753Smm
4618207753Smmcommit c129748675a5daa8838df92bde32cc04f6ce61ba
4619207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4620207753SmmDate:   Mon Jan 26 14:33:13 2009 +0200
4621207753Smm
4622207753Smm    Avoid hardcoded constant in easy.c.
4623207753Smm
4624207753Smmcommit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
4625207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4626207753SmmDate:   Mon Jan 26 13:06:49 2009 +0200
4627207753Smm
4628207753Smm    Tiny bit better sanity check in block_util.c
4629207753Smm
4630207753Smmcommit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
4631207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4632207753SmmDate:   Sun Jan 25 01:35:56 2009 +0200
4633207753Smm
4634207753Smm    Fix a dumb bug in Block decoder, which made it return
4635207753Smm    LZMA_DATA_ERROR with valid data. The bug was added in
4636207753Smm    e114502b2bc371e4a45449832cb69be036360722.
4637207753Smm
4638207753Smmcommit c81f13ff29271de7293f8af3d81848b1dcae3d19
4639207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4640207753SmmDate:   Fri Jan 23 22:27:50 2009 +0200
4641207753Smm
4642207753Smm    Added lzma_stream_buffer_decode() and made minor cleanups.
4643207753Smm
4644207753Smmcommit 0b3318661ce749550b8531dfd469639a08930391
4645207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4646207753SmmDate:   Thu Jan 22 12:53:33 2009 +0200
4647207753Smm
4648207753Smm    Fix a comment.
4649207753Smm
4650207753Smmcommit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
4651207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4652207753SmmDate:   Tue Jan 20 16:37:27 2009 +0200
4653207753Smm
4654207753Smm    Add some single-call buffer-to-buffer coding functions.
4655207753Smm
4656207753Smmcommit d8b58d099340f8f4007b24b211ee41a7210c061c
4657207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4658207753SmmDate:   Tue Jan 20 13:45:41 2009 +0200
4659207753Smm
4660207753Smm    Block encoder cleanups
4661207753Smm
4662207753Smmcommit 0c09810cb3635cb575cb54e694d41523e7d0a335
4663207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4664207753SmmDate:   Tue Jan 20 10:35:15 2009 +0200
4665207753Smm
4666207753Smm    Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
4667207753Smm
4668207753Smmcommit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
4669207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4670207753SmmDate:   Mon Jan 19 22:53:18 2009 +0200
4671207753Smm
4672207753Smm    Fix handling of non-fatal errors in lzma_code().
4673207753Smm
4674207753Smmcommit 4810b6bc25087be872960b9dd1d11ff07735dc88
4675207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4676207753SmmDate:   Mon Jan 19 14:00:33 2009 +0200
4677207753Smm
4678207753Smm    Move some LZMA2 constants to lzma2_encoder.h so that they
4679207753Smm    can be used outside lzma2_encoder.c.
4680207753Smm
4681207753Smmcommit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
4682207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4683207753SmmDate:   Mon Jan 19 13:52:36 2009 +0200
4684207753Smm
4685207753Smm    Remove dead code.
4686207753Smm
4687207753Smmcommit 128586213f77c9bd82b7e9a62927f6d0c3769d85
4688207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4689207753SmmDate:   Sat Jan 17 14:24:25 2009 +0200
4690207753Smm
4691207753Smm    Beta was supposed to be API stable but I had forgot to rename
4692207753Smm    lzma_memlimit_encoder and lzma_memlimit_decoder to
4693207753Smm    lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
4694207753Smm    Now it is fixed. Hopefully it doesn't cause too much trouble
4695207753Smm    to those who already thought API is stable.
4696207753Smm
4697207753Smmcommit b056379490be5c584c264a967f0540041a163a1e
4698207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4699207753SmmDate:   Thu Jan 15 14:29:22 2009 +0200
4700207753Smm
4701207753Smm    Updated THANKS.
4702207753Smm
4703207753Smmcommit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
4704207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4705207753SmmDate:   Thu Jan 15 14:27:32 2009 +0200
4706207753Smm
4707207753Smm    Fixed a bug in 7z2lzma.bash to make it work with .7z files
4708207753Smm    that use something else than 2^n as the dictionary size.
4709207753Smm    Thanks to Dan Shechter for the bug report.
4710207753Smm
4711207753Smmcommit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
4712207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4713207753SmmDate:   Wed Jan 7 18:41:15 2009 +0200
4714207753Smm
4715207753Smm    Use pthread_sigmask() instead of sigprocmask() when pthreads
4716207753Smm    are enabled.
4717207753Smm
4718207753Smmcommit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
4719207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4720207753SmmDate:   Wed Dec 31 20:01:00 2008 +0200
4721207753Smm
4722207753Smm    Bumped version to 4.999.8beta right after the release
4723207753Smm    of 4.999.7beta.
4724207753Smm
4725207753Smmcommit 061748f5932719643cda73383db715167d543c22
4726207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4727207753SmmDate:   Wed Dec 31 18:59:02 2008 +0200
4728207753Smm
4729207753Smm    Disable Subblock filter from test_compress.sh since it is
4730207753Smm    disabled by default in configure.ac.
4731207753Smm
4732207753Smmcommit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
4733207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4734207753SmmDate:   Wed Dec 31 17:44:20 2008 +0200
4735207753Smm
4736207753Smm    Disable both Subblock encoder and decoder my default,
4737207753Smm    since they are not finished and may have security issues too.
4738207753Smm
4739207753Smmcommit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
4740207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4741207753SmmDate:   Wed Dec 31 17:42:50 2008 +0200
4742207753Smm
4743207753Smm    Update some files in debug directory.
4744207753Smm
4745207753Smmcommit d1d17a40d33a9682424ca37282813492f2cba6d0
4746207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4747207753SmmDate:   Wed Dec 31 17:41:46 2008 +0200
4748207753Smm
4749207753Smm    Prepare for 4.999.7beta release.
4750207753Smm
4751207753Smmcommit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
4752207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4753207753SmmDate:   Wed Dec 31 17:15:03 2008 +0200
4754207753Smm
4755207753Smm    Cleaned up some comments in the API headers.
4756207753Smm
4757207753Smmcommit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
4758207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4759207753SmmDate:   Wed Dec 31 16:29:39 2008 +0200
4760207753Smm
4761207753Smm    Renamed lzma_options_simple to lzma_options_bcj in the API.
4762207753Smm    The internal implementation is still using the name "simple".
4763207753Smm    It may need some cleanups, so I look at it later.
4764207753Smm
4765207753Smmcommit 7eea8bec3abfed883efba66264a1452a1c04f6b0
4766207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4767207753SmmDate:   Wed Dec 31 00:57:27 2008 +0200
4768207753Smm
4769207753Smm    Fixed missing quoting in configure.ac.
4770207753Smm
4771207753Smmcommit 28e75f7086dbe9501d926c370375c69dfb1236ce
4772207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4773207753SmmDate:   Wed Dec 31 00:48:23 2008 +0200
4774207753Smm
4775207753Smm    Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
4776207753Smm    should have been in the previous commit.
4777207753Smm
4778207753Smmcommit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
4779207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4780207753SmmDate:   Wed Dec 31 00:30:49 2008 +0200
4781207753Smm
4782207753Smm    Remove lzma_init() and other init functions from liblzma API.
4783207753Smm    Half of developers were already forgetting to use these
4784207753Smm    functions, which could have caused total breakage in some future
4785207753Smm    liblzma version or even now if --enable-small was used. Now
4786207753Smm    liblzma uses pthread_once() to do the initializations unless
4787207753Smm    it has been built with --disable-threads which make these
4788207753Smm    initializations thread-unsafe.
4789207753Smm    
4790207753Smm    When --enable-small isn't used, liblzma currently gets needlessly
4791207753Smm    linked against libpthread (on systems that have it). While it is
4792207753Smm    stupid for now, liblzma will need threads in future anyway, so
4793207753Smm    this stupidity will be temporary only.
4794207753Smm    
4795207753Smm    When --enable-small is used, different code CRC32 and CRC64 is
4796207753Smm    now used than without --enable-small. This made the resulting
4797207753Smm    binary slightly smaller, but the main reason was to clean it up
4798207753Smm    and to handle the lack of lzma_init_check().
4799207753Smm    
4800207753Smm    The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
4801207753Smm    sure if it works correctly and portably for static linking
4802207753Smm    (Libs.private includes -pthread or other operating system
4803207753Smm    specific flags). Hopefully someone complains if it is bad.
4804207753Smm    
4805207753Smm    lzma_rc_prices[] is now included as a precomputed array even
4806207753Smm    with --enable-small. It's just 128 bytes now that it uses uint8_t
4807207753Smm    instead of uint32_t. Smaller array seemed to be at least as fast
4808207753Smm    as the more bloated uint32_t array on x86; hopefully it's not bad
4809207753Smm    on other architectures.
4810207753Smm
4811207753Smmcommit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
4812207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4813207753SmmDate:   Sat Dec 27 19:40:31 2008 +0200
4814207753Smm
4815207753Smm    Use 28 MiB as memory usage limit for encoding in test_compress.sh.
4816207753Smm
4817207753Smmcommit 050eb14d29e2537c014662e83599fd8a77f13c45
4818207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4819207753SmmDate:   Sat Dec 27 19:32:20 2008 +0200
4820207753Smm
4821207753Smm    Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
4822207753Smm    that was related to LZMA_MODE_FAST. The original code is slightly
4823207753Smm    faster although it compresses slightly worse. But since it is fast
4824207753Smm    mode, it is better to select the faster version.
4825207753Smm
4826207753Smmcommit 4820f10d0f173864f6a2ea7479663b509ac53358
4827207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4828207753SmmDate:   Sat Dec 27 19:30:19 2008 +0200
4829207753Smm
4830207753Smm    Some xz command line tool improvements.
4831207753Smm
4832207753Smmcommit e33194e79d8f5ce07cb4aca909b324ae75098f7e
4833207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4834207753SmmDate:   Sat Dec 27 19:27:49 2008 +0200
4835207753Smm
4836207753Smm    Bunch of liblzma tweaks, including some API changes.
4837207753Smm    The API and ABI should now be very close to stable,
4838207753Smm    although the code behind it isn't yet.
4839207753Smm
4840207753Smmcommit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
4841207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4842207753SmmDate:   Thu Dec 18 13:42:52 2008 +0200
4843207753Smm
4844207753Smm    Updated Makefile.am that was missing from the previous commit.
4845207753Smm
4846207753Smmcommit 634636fa56ccee6e744f78b0abed76c8940f2f8f
4847207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4848207753SmmDate:   Wed Dec 17 21:49:53 2008 +0200
4849207753Smm
4850207753Smm    Remove the alignment functions for now. Maybe they will
4851207753Smm    be added back in some form later, but the current version
4852207753Smm    wasn't modular, so it would need fixing anyway.
4853207753Smm
4854207753Smmcommit 4fed98417d1687f5eccccb42a133fde3ec81216a
4855207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4856207753SmmDate:   Wed Dec 17 20:11:23 2008 +0200
4857207753Smm
4858207753Smm    xz message handling improvements
4859207753Smm
4860207753Smmcommit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
4861207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4862207753SmmDate:   Mon Dec 15 23:26:43 2008 +0200
4863207753Smm
4864207753Smm    Fix a dumb bug in .lzma decoder which was introduced in
4865207753Smm    the previous commit. (Probably the previous commit has
4866207753Smm    other bugs too, it wasn't tested.)
4867207753Smm
4868207753Smmcommit 671a5adf1e844bfdd6fd327016c3c28694493158
4869207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4870207753SmmDate:   Mon Dec 15 19:39:13 2008 +0200
4871207753Smm
4872207753Smm    Bunch of liblzma API cleanups and fixes.
4873207753Smm
4874207753Smmcommit 17781c2c20fd77029cb32e77792889f2f211d69d
4875207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4876207753SmmDate:   Mon Dec 15 14:26:52 2008 +0200
4877207753Smm
4878207753Smm    The LZMA2 decoder fix introduced a bug to LZ decoder,
4879207753Smm    which made LZ decoder return too early after dictionary
4880207753Smm    reset. This fixes it.
4881207753Smm
4882207753Smmcommit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
4883207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4884207753SmmDate:   Mon Dec 15 11:20:22 2008 +0200
4885207753Smm
4886207753Smm    Added two new test files.
4887207753Smm
4888207753Smmcommit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
4889207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4890207753SmmDate:   Mon Dec 15 10:01:59 2008 +0200
4891207753Smm
4892207753Smm    Fix data corruption in LZMA2 decoder.
4893207753Smm
4894207753Smmcommit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
4895207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4896207753SmmDate:   Sat Dec 13 00:54:11 2008 +0200
4897207753Smm
4898207753Smm    Name the package "xz" in configure.ac.
4899207753Smm
4900207753Smmcommit a94bf00d0af9b423851905b031be5a645a657820
4901207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4902207753SmmDate:   Fri Dec 12 22:43:21 2008 +0200
4903207753Smm
4904207753Smm    Some adjustments to GCC warning flags. The important change
4905207753Smm    is the removal of -pedantic. It messes up -Werror (which I
4906207753Smm    really want to keep so that I don't miss any warnings) with
4907207753Smm    printf format strings that are in POSIX but not in C99.
4908207753Smm
4909207753Smmcommit 8582d392baacd2cdac07ca60041f8c661323676d
4910207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4911207753SmmDate:   Wed Dec 10 01:31:00 2008 +0200
4912207753Smm
4913207753Smm    Remove obsolete comment.
4914207753Smm
4915207753Smmcommit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
4916207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4917207753SmmDate:   Wed Dec 10 01:27:15 2008 +0200
4918207753Smm
4919207753Smm    Use "decompression" consistently in --long-help.
4920207753Smm
4921207753Smmcommit 1ea9e7f15afd5d3981e2432710e932320597bca9
4922207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4923207753SmmDate:   Wed Dec 10 01:23:58 2008 +0200
4924207753Smm
4925207753Smm    Added preset=NUM to --lzma1 and --lzma2. This makes it easy
4926207753Smm    to take a preset as a template and modify it a little.
4927207753Smm
4928207753Smmcommit bceb3918dbb21f34976bfdd4c171a81319de71f7
4929207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4930207753SmmDate:   Tue Dec 9 17:43:31 2008 +0200
4931207753Smm
4932207753Smm    Put the file format specification into the public domain.
4933207753Smm    Same will be done to the actual code later.
4934207753Smm
4935207753Smmcommit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
4936207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4937207753SmmDate:   Tue Dec 9 17:41:49 2008 +0200
4938207753Smm
4939207753Smm    Make the memusage functions of LZMA1 and LZMA2 encoders
4940207753Smm    to validate the filter options. Add missing validation
4941207753Smm    to LZMA2 encoder when options are changed in the middle
4942207753Smm    of encoding.
4943207753Smm
4944207753Smmcommit f20a03206b71ff01b827bb7a932411d6a6a4e06a
4945207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4946207753SmmDate:   Tue Dec 9 10:36:24 2008 +0200
4947207753Smm
4948207753Smm    Updated THANKS.
4949207753Smm
4950207753Smmcommit ef7890d56453dca1aeb2e12db29b7e418d93dde4
4951207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4952207753SmmDate:   Mon Dec 1 23:04:12 2008 +0200
4953207753Smm
4954207753Smm    In command line tool, take advantage of memusage calculation's
4955207753Smm    ability to also validate the filter chain and options (not
4956207753Smm    implemented yet for all filters).
4957207753Smm
4958207753Smmcommit ccd57afa09e332d664d6d6a7498702791ea5f659
4959207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4960207753SmmDate:   Mon Dec 1 22:59:28 2008 +0200
4961207753Smm
4962207753Smm    Validate the filter chain before checking filter-specific
4963207753Smm    memory usage.
4964207753Smm
4965207753Smmcommit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
4966207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4967207753SmmDate:   Mon Dec 1 22:58:22 2008 +0200
4968207753Smm
4969207753Smm    Make the memusage functions of LZMA1 and LZMA2 decoders
4970207753Smm    to validate the filter options.
4971207753Smm
4972207753Smmcommit c58f469be5bb9b0bdab825c6687445fd553f4f3a
4973207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4974207753SmmDate:   Mon Dec 1 22:55:18 2008 +0200
4975207753Smm
4976207753Smm    Added the changes for Delta filter that should have been
4977207753Smm    part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
4978207753Smm
4979207753Smmcommit cd708015202dbf7585b84a8781462a20c42a324b
4980207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4981207753SmmDate:   Mon Dec 1 22:50:28 2008 +0200
4982207753Smm
4983207753Smm    LZMA2 decoder cleanups. Make it require new LZMA properties
4984207753Smm    also in the first LZMA chunk after a dictionary reset in
4985207753Smm    uncompressed chunk.
4986207753Smm
4987207753Smmcommit 656ec87882ee74b192c4ea4a233a235eca7b04d4
4988207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4989207753SmmDate:   Mon Dec 1 16:30:11 2008 +0200
4990207753Smm
4991207753Smm    Added lzma_delta_coder_memusage() which also validates
4992207753Smm    the options.
4993207753Smm
4994207753Smmcommit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
4995207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
4996207753SmmDate:   Sat Nov 29 10:03:49 2008 +0200
4997207753Smm
4998207753Smm    Automake includes the m4 directory, so don't add it in
4999207753Smm    Makefile.am separately.
5000207753Smm    
5001207753Smm    Updated THANKS.
5002207753Smm
5003207753Smmcommit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
5004207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5005207753SmmDate:   Fri Nov 28 12:00:48 2008 +0200
5006207753Smm
5007207753Smm    Tested using COLUMNS environment variable to avoid broken
5008207753Smm    progress indicator but since COLUMNS isn't usually available,
5009207753Smm    the code was left commented out.
5010207753Smm
5011207753Smmcommit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
5012207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5013207753SmmDate:   Thu Nov 27 19:28:59 2008 +0200
5014207753Smm
5015207753Smm    Cleanups to message.c.
5016207753Smm
5017207753Smmcommit a8368b75cdcd5427299001cc42839287f27b244d
5018207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5019207753SmmDate:   Tue Nov 25 02:37:47 2008 +0200
5020207753Smm
5021207753Smm    Remove the nowadays unneeded memory limitting malloc() wrapper.
5022207753Smm
5023207753Smmcommit 69472ee5f055a2bb6f28106f0923e1461fd1d080
5024207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5025207753SmmDate:   Sun Nov 23 15:09:03 2008 +0200
5026207753Smm
5027207753Smm    VLI encoder and decoder cleanups. Made encoder return
5028207753Smm    LZMA_PROG_ERROR in single-call mode if there's no output
5029207753Smm    space.
5030207753Smm
5031207753Smmcommit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
5032207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5033207753SmmDate:   Sat Nov 22 17:44:33 2008 +0200
5034207753Smm
5035207753Smm    Typo fix
5036207753Smm
5037207753Smmcommit 6d1d6f4598d121253dbe1084c6866b66e95c361b
5038207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5039207753SmmDate:   Thu Nov 20 22:59:10 2008 +0200
5040207753Smm
5041207753Smm    Support NetBSD's errno for O_NOFOLLOW.
5042207753Smm
5043207753Smmcommit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
5044207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5045207753SmmDate:   Thu Nov 20 18:05:52 2008 +0200
5046207753Smm
5047207753Smm    Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
5048207753Smm    files and lzmadec only .lzma files.
5049207753Smm
5050207753Smmcommit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
5051207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5052207753SmmDate:   Thu Nov 20 11:01:29 2008 +0200
5053207753Smm
5054207753Smm    Minor cleanups to xzdec.
5055207753Smm
5056207753Smmcommit 54f716ba8905d09752dcd1519455a40bd21d5317
5057207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5058207753SmmDate:   Wed Nov 19 23:55:22 2008 +0200
5059207753Smm
5060207753Smm    Added missing check for uint16_t.
5061207753Smm
5062207753Smmcommit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
5063207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5064207753SmmDate:   Wed Nov 19 23:52:24 2008 +0200
5065207753Smm
5066207753Smm    Renamed lzma to xz and lzmadec to xzdec. We create symlinks
5067207753Smm    lzma, unlzma, and lzcat in "make install" for backwards
5068207753Smm    compatibility with LZMA Utils 4.32.x; I'm not sure if this
5069207753Smm    should be the default though.
5070207753Smm
5071207753Smmcommit e114502b2bc371e4a45449832cb69be036360722
5072207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5073207753SmmDate:   Wed Nov 19 20:46:52 2008 +0200
5074207753Smm
5075207753Smm    Oh well, big messy commit again. Some highlights:
5076207753Smm      - Updated to the latest, probably final file format version.
5077207753Smm      - Command line tool reworked to not use threads anymore.
5078207753Smm        Threading will probably go into liblzma anyway.
5079207753Smm      - Memory usage limit is now about 30 % for uncompression
5080207753Smm        and about 90 % for compression.
5081207753Smm      - Progress indicator with --verbose
5082207753Smm      - Simplified --help and full --long-help
5083207753Smm      - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
5084207753Smm      - Some bug fixes
5085207753Smm
5086207753Smmcommit 3c3905b53462ae235c9438d86a4dc51086410932
5087207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5088207753SmmDate:   Thu Oct 9 11:12:29 2008 +0300
5089207753Smm
5090207753Smm    Fixed the test that should have been fixed as part
5091207753Smm    of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
5092207753Smm
5093207753Smmcommit 0f295bf7a3ece01f667caae318cc3e3424085886
5094207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5095207753SmmDate:   Tue Oct 7 16:42:18 2008 +0300
5096207753Smm
5097207753Smm    Fixed some help messages.
5098207753Smm
5099207753Smmcommit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
5100207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5101207753SmmDate:   Tue Oct 7 09:40:31 2008 +0300
5102207753Smm
5103207753Smm    Made the preset numbering more logical in liblzma API.
5104207753Smm
5105207753Smmcommit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
5106207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5107207753SmmDate:   Fri Oct 3 19:36:09 2008 +0300
5108207753Smm
5109207753Smm    Removed fi from po/LINGUAS.
5110207753Smm
5111207753Smmcommit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
5112207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5113207753SmmDate:   Fri Oct 3 07:06:48 2008 +0300
5114207753Smm
5115207753Smm    Fixed suffix handling with --format=raw.
5116207753Smm
5117207753Smmcommit bd137524f2f50e30ba054f42f1f6536cd3cee920
5118207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5119207753SmmDate:   Thu Oct 2 22:51:46 2008 +0300
5120207753Smm
5121207753Smm    Initial changes to change the suffix of the new format to .xz.
5122207753Smm    This also fixes a bug related to --suffix option. Some issues
5123207753Smm    with suffixes with --format=raw were not fixed.
5124207753Smm
5125207753Smmcommit 4c321a41c482821aa3c4d64cdf886a6ed904d844
5126207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5127207753SmmDate:   Tue Sep 30 17:43:55 2008 +0300
5128207753Smm
5129207753Smm    Renamed the test files from .lzma suffix to .xz suffix.
5130207753Smm
5131207753Smmcommit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
5132207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5133207753SmmDate:   Tue Sep 30 13:57:44 2008 +0300
5134207753Smm
5135207753Smm    Fixed Stream decoder to actually use the first_stream variable.
5136207753Smm
5137207753Smmcommit 3bdbc12c054d1961133ee19802af7dd3c3494543
5138207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5139207753SmmDate:   Tue Sep 30 13:56:57 2008 +0300
5140207753Smm
5141207753Smm    Added one more test file.
5142207753Smm
5143207753Smmcommit a6639022fdc536e5659b070a465221b4cf7c51fa
5144207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5145207753SmmDate:   Tue Sep 30 13:34:07 2008 +0300
5146207753Smm
5147207753Smm    Fixed uninitialized variable in Stream decoder.
5148207753Smm
5149207753Smmcommit ed3709000a3f17ecefab29b2235d7e2221b00003
5150207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5151207753SmmDate:   Tue Sep 30 13:27:28 2008 +0300
5152207753Smm
5153207753Smm    Added two test files.
5154207753Smm
5155207753Smmcommit ea560b0ea80525752bdcd0074d24f8dc170bbe29
5156207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5157207753SmmDate:   Sat Sep 27 23:49:24 2008 +0300
5158207753Smm
5159207753Smm    Fix conflicting Subblock helper filter's ID.
5160207753Smm
5161207753Smmcommit ad97483b6e55142fd8d5c041db057017a891cd95
5162207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5163207753SmmDate:   Sat Sep 27 23:37:13 2008 +0300
5164207753Smm
5165207753Smm    Changed magic bytes to match the updated spec. Filename
5166207753Smm    suffix wasn't changed yet.
5167207753Smm
5168207753Smmcommit 7a57069167e9e63394e2b095ee3a63253fcb51c7
5169207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5170207753SmmDate:   Sat Sep 27 23:16:09 2008 +0300
5171207753Smm
5172207753Smm    Remove po/fi.po since I'm not keeping it updated for now.
5173207753Smm
5174207753Smmcommit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
5175207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5176207753SmmDate:   Sat Sep 27 23:13:54 2008 +0300
5177207753Smm
5178207753Smm    Fix also test_compress.sh.
5179207753Smm
5180207753Smmcommit 3a62a5fb85d2eebd8666e64ed5d364d095062858
5181207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5182207753SmmDate:   Sat Sep 27 23:01:15 2008 +0300
5183207753Smm
5184207753Smm    Fixed compilation of test_filter_flags.c, which was broken by
5185207753Smm    1dcecfb09b55157b8653d747963069c8bed74f04.
5186207753Smm
5187207753Smmcommit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
5188207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5189207753SmmDate:   Sat Sep 27 19:11:02 2008 +0300
5190207753Smm
5191207753Smm    Updated file format specification. It changes the suffix
5192207753Smm    of the new format to .xz and removes the recently added
5193207753Smm    LZMA filter.
5194207753Smm
5195207753Smmcommit 1dcecfb09b55157b8653d747963069c8bed74f04
5196207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5197207753SmmDate:   Sat Sep 27 19:09:21 2008 +0300
5198207753Smm
5199207753Smm    Some API changes, bug fixes, cleanups etc.
5200207753Smm
5201207753Smmcommit 5cc5064cae603b649c64c40125c7dd365de54c9d
5202207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5203207753SmmDate:   Sat Sep 27 11:28:49 2008 +0300
5204207753Smm
5205207753Smm    Added 7z2lzma.bash.
5206207753Smm
5207207753Smmcommit f147666a5cd15542d4e427da58629f4a71cc38e1
5208207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5209207753SmmDate:   Wed Sep 17 22:11:39 2008 +0300
5210207753Smm
5211207753Smm    Miscellaneous LZ and LZMA encoder cleanups
5212207753Smm
5213207753Smmcommit 13d68b069849e19c33822cd8996cd6447890abb1
5214207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5215207753SmmDate:   Sat Sep 13 13:54:00 2008 +0300
5216207753Smm
5217207753Smm    LZ decoder cleanup
5218207753Smm
5219207753Smmcommit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
5220207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5221207753SmmDate:   Sat Sep 13 12:10:43 2008 +0300
5222207753Smm
5223207753Smm    Renamed constants:
5224207753Smm      - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
5225207753Smm      - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
5226207753Smm      - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
5227207753Smm
5228207753Smmcommit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
5229207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5230207753SmmDate:   Fri Sep 12 22:41:40 2008 +0300
5231207753Smm
5232207753Smm    Improved the Stream Flags handling API.
5233207753Smm
5234207753Smmcommit ec490da5228263b25bf786bb23d1008468f55b30
5235207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5236207753SmmDate:   Thu Sep 11 23:10:44 2008 +0300
5237207753Smm
5238207753Smm    Simplified debug/known_sizes.c to match the relaxed
5239207753Smm    requirements of Block encoder.
5240207753Smm
5241207753Smmcommit 16e8b98f2659347edfa74afdbbb9e73311153cb9
5242207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5243207753SmmDate:   Thu Sep 11 23:09:24 2008 +0300
5244207753Smm
5245207753Smm    Remove a check from Block encoder that should have already
5246207753Smm    been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
5247207753Smm
5248207753Smmcommit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
5249207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5250207753SmmDate:   Thu Sep 11 20:02:38 2008 +0300
5251207753Smm
5252207753Smm    Remove bogus #includes.
5253207753Smm
5254207753Smmcommit 01892b2ca5f69bed0ea746e04b604030d57806bb
5255207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5256207753SmmDate:   Thu Sep 11 10:49:14 2008 +0300
5257207753Smm
5258207753Smm    Updated THANKS.
5259207753Smm
5260207753Smmcommit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
5261207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5262207753SmmDate:   Thu Sep 11 10:48:12 2008 +0300
5263207753Smm
5264207753Smm    Fix a compiler error on big endian systems that don't
5265207753Smm    support unaligned memory access.
5266207753Smm
5267207753Smmcommit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
5268207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5269207753SmmDate:   Thu Sep 11 10:46:14 2008 +0300
5270207753Smm
5271207753Smm    Silence a compiler warning.
5272207753Smm
5273207753Smmcommit 9373e81e18822db4972819442ea4c2cb9955470b
5274207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5275207753SmmDate:   Wed Sep 10 19:16:32 2008 +0300
5276207753Smm
5277207753Smm    Bumped version to 4.999.6alpha.
5278207753Smm
5279207753Smmcommit cb072b7c8442ba68bb0c62c0abbbe939794887a3
5280207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5281207753SmmDate:   Wed Sep 10 17:02:00 2008 +0300
5282207753Smm
5283207753Smm    Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
5284207753Smm    Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
5285207753Smm    is in the reserved range. This allows Block Header encoder to
5286207753Smm    detect unallowed Filter IDs, which is good for Stream encoder.
5287207753Smm
5288207753Smmcommit 123ab0acec435c9e9866a99e30482116cfbd9ba5
5289207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5290207753SmmDate:   Wed Sep 10 16:44:32 2008 +0300
5291207753Smm
5292207753Smm    Filter handling cleanups
5293207753Smm
5294207753Smmcommit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
5295207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5296207753SmmDate:   Wed Sep 10 00:33:00 2008 +0300
5297207753Smm
5298207753Smm    Comments
5299207753Smm
5300207753Smmcommit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
5301207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5302207753SmmDate:   Wed Sep 10 00:27:02 2008 +0300
5303207753Smm
5304207753Smm    Cleaned up Block encoder and moved the no longer shared
5305207753Smm    code from block_private.h to block_decoder.c. Now the Block
5306207753Smm    encoder doesn't need compressed_size and uncompressed_size
5307207753Smm    from lzma_block structure to be initialized.
5308207753Smm
5309207753Smmcommit 07efcb5a6bc5d7018798ebd728586f84183e7d64
5310207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5311207753SmmDate:   Sun Sep 7 10:23:13 2008 +0300
5312207753Smm
5313207753Smm    Changed Filter ID of LZMA to 0x20.
5314207753Smm
5315207753Smmcommit 32fe5fa541e82c08e054086279079ae5016bd8d8
5316207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5317207753SmmDate:   Sat Sep 6 23:42:50 2008 +0300
5318207753Smm
5319207753Smm    Comments
5320207753Smm
5321207753Smmcommit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
5322207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5323207753SmmDate:   Sat Sep 6 15:14:30 2008 +0300
5324207753Smm
5325207753Smm    Some API cleanups
5326207753Smm
5327207753Smmcommit da98df54400998be2a6c3876f9655a3c51b93c10
5328207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5329207753SmmDate:   Thu Sep 4 11:53:06 2008 +0300
5330207753Smm
5331207753Smm    Added support for raw encoding and decoding to the command
5332207753Smm    line tool, and made various cleanups. --lzma was renamed to
5333207753Smm    --lzma1 to prevent people from accidentally using LZMA when
5334207753Smm    they want LZMA2.
5335207753Smm
5336207753Smmcommit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
5337207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5338207753SmmDate:   Thu Sep 4 10:39:15 2008 +0300
5339207753Smm
5340207753Smm    Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
5341207753Smm    simply nothing that would use it. Allow LZMA_FINISH to the
5342207753Smm    decoders, which will usually ignore it (auto decoder and
5343207753Smm    Stream decoder being exceptions).
5344207753Smm
5345207753Smmcommit bea301c26d5d52675e11e0236faec0492af98f60
5346207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5347207753SmmDate:   Wed Sep 3 17:06:25 2008 +0300
5348207753Smm
5349207753Smm    Minor updates to the file format specification.
5350207753Smm
5351207753Smmcommit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
5352207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5353207753SmmDate:   Tue Sep 2 19:33:32 2008 +0300
5354207753Smm
5355207753Smm    Command line tool fixes
5356207753Smm
5357207753Smmcommit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
5358207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5359207753SmmDate:   Tue Sep 2 19:31:42 2008 +0300
5360207753Smm
5361207753Smm    Auto decoder cleanup
5362207753Smm
5363207753Smmcommit 689602336d126a46b60d791a67decab65e1e81f5
5364207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5365207753SmmDate:   Tue Sep 2 19:12:12 2008 +0300
5366207753Smm
5367207753Smm    Updated auto decoder to handle LZMA_CONCATENATED when decoding
5368207753Smm    LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
5369207753Smm    intentionally not supported, so it is better to put this in
5370207753Smm    auto decoder than LZMA_Alone decoder.
5371207753Smm
5372207753Smmcommit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
5373207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5374207753SmmDate:   Tue Sep 2 14:56:52 2008 +0300
5375207753Smm
5376207753Smm    Stream decoder cleanups
5377207753Smm
5378207753Smmcommit fc681657450ce57be1fe08f7a15d31dcc705e514
5379207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5380207753SmmDate:   Tue Sep 2 11:45:39 2008 +0300
5381207753Smm
5382207753Smm    Some fixes to LZ encoder.
5383207753Smm
5384207753Smmcommit ede675f9ac1ca82a7d7c290324adba672118bc8d
5385207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5386207753SmmDate:   Sun Aug 31 11:47:01 2008 +0300
5387207753Smm
5388207753Smm    Fix wrong pointer calculation in LZMA encoder.
5389207753Smm
5390207753Smmcommit 3b34851de1eaf358cf9268922fa0eeed8278d680
5391207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5392207753SmmDate:   Thu Aug 28 22:53:15 2008 +0300
5393207753Smm
5394207753Smm    Sort of garbage collection commit. :-| Many things are still
5395207753Smm    broken. API has changed a lot and it will still change a
5396207753Smm    little more here and there. The command line tool doesn't
5397207753Smm    have all the required changes to reflect the API changes, so
5398207753Smm    it's easy to get "internal error" or trigger assertions.
5399207753Smm
5400207753Smmcommit 57b9a145a527f0716822615e5ed536d33aebd3fc
5401207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5402207753SmmDate:   Fri Jun 20 17:16:32 2008 +0300
5403207753Smm
5404207753Smm    Fix test_filter_flags to match the new restriction of lc+lp.
5405207753Smm
5406207753Smmcommit eaafc4367c77ec1d910e16d11b4da293969d97a3
5407207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5408207753SmmDate:   Fri Jun 20 16:19:54 2008 +0300
5409207753Smm
5410207753Smm    Remove some redundant code from LZMA encoder.
5411207753Smm
5412207753Smmcommit 0809c46534fa5664fe35d9e98d95e87312ed130e
5413207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5414207753SmmDate:   Thu Jun 19 16:35:08 2008 +0300
5415207753Smm
5416207753Smm    Add limit of lc + lp <= 4. Now we can allocate the
5417207753Smm    literal coder as part of the main LZMA encoder or
5418207753Smm    decoder structure.
5419207753Smm    
5420207753Smm    Make the LZMA decoder to rely on the current internal API
5421207753Smm    to free the allocated memory in case an error occurs.
5422207753Smm
5423207753Smmcommit d25ab1b96178f06a0e724f58e3cd68300b2b1275
5424207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5425207753SmmDate:   Wed Jun 18 21:45:19 2008 +0300
5426207753Smm
5427207753Smm    Comments
5428207753Smm
5429207753Smmcommit 6368a2fa5901c75864be5171dd57a50af7adbb41
5430207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5431207753SmmDate:   Wed Jun 18 19:19:02 2008 +0300
5432207753Smm
5433207753Smm    Delete old code that was supposed to be already deleted
5434207753Smm    from test_block_header.c.
5435207753Smm
5436207753Smmcommit 7d17818cec8597f847b0a2537fde991bbc3d9e96
5437207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5438207753SmmDate:   Wed Jun 18 18:02:10 2008 +0300
5439207753Smm
5440207753Smm    Update the code to mostly match the new simpler file format
5441207753Smm    specification. Simplify things by removing most of the
5442207753Smm    support for known uncompressed size in most places.
5443207753Smm    There are some miscellaneous changes here and there too.
5444207753Smm    
5445207753Smm    The API of liblzma has got many changes and still some
5446207753Smm    more will be done soon. While most of the code has been
5447207753Smm    updated, some things are not fixed (the command line tool
5448207753Smm    will choke with invalid filter chain, if nothing else).
5449207753Smm    
5450207753Smm    Subblock filter is somewhat broken for now. It will be
5451207753Smm    updated once the encoded format of the Subblock filter
5452207753Smm    has been decided.
5453207753Smm
5454207753Smmcommit bf6348d1a3ff09fdc06940468f318f75ffa6af11
5455207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5456207753SmmDate:   Tue Jun 17 15:03:46 2008 +0300
5457207753Smm
5458207753Smm    Update the file format specification draft. The new one is
5459207753Smm    a lot simpler than the previous versions, but it also means
5460207753Smm    that the existing code will change a lot.
5461207753Smm
5462207753Smmcommit 803194ddd26f01ff60ba4e9924c6087a56b29827
5463207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5464207753SmmDate:   Wed Jun 11 21:42:47 2008 +0300
5465207753Smm
5466207753Smm    Fix uninitialized variable in LZMA encoder. This was
5467207753Smm    introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
5468207753Smm
5469207753Smmcommit 0ea98e52ba87453497b1355c51f13bad55c8924a
5470207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5471207753SmmDate:   Wed Jun 11 15:08:44 2008 +0300
5472207753Smm
5473207753Smm    Improve command line integer parsing a little in lzma and
5474207753Smm    lzmadec to make them accept also KiB in addition Ki etc.
5475207753Smm    Fix also memory usage information in lzmadec --help.
5476207753Smm
5477207753Smmcommit 436fa5fae96d4e35759aed33066060f09ee8c6ef
5478207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5479207753SmmDate:   Tue Jun 10 20:36:12 2008 +0300
5480207753Smm
5481207753Smm    s/decompressed/compressed/ in the command line tool's
5482207753Smm    error message.
5483207753Smm
5484207753Smmcommit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
5485207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5486207753SmmDate:   Sun Jun 1 12:48:17 2008 +0300
5487207753Smm
5488207753Smm    Fix a buffer overflow in the LZMA encoder. It was due to my
5489207753Smm    misunderstanding of the code. There's no tiny fix for this
5490207753Smm    problem, so I also cleaned up the code in general.
5491207753Smm    
5492207753Smm    This reduces the speed of the encoder 2-5 % in the fastest
5493207753Smm    compression mode ("lzma -1"). High compression modes should
5494207753Smm    have no noticeable performance difference.
5495207753Smm    
5496207753Smm    This commit breaks things (especially LZMA_SYNC_FLUSH) but I
5497207753Smm    will fix them once the new format and LZMA2 has been roughly
5498207753Smm    implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
5499207753Smm    and won't be supported in the new .lzma format. This may
5500207753Smm    change still but this is what it looks like now.
5501207753Smm    
5502207753Smm    Support for known uncompressed size (that is, LZMA or LZMA2
5503207753Smm    without EOPM) is likely to go away. This means there will
5504207753Smm    be API changes.
5505207753Smm
5506207753Smmcommit e55e0e873ce2511325749d415ae547d62ab5f00d
5507207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5508207753SmmDate:   Fri May 30 11:53:41 2008 +0300
5509207753Smm
5510207753Smm    Typo fixes from meyering.
5511207753Smm
5512207753Smmcommit ed6664146fcbe9cc4a3b23b31632182ed812ea93
5513207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5514207753SmmDate:   Sun May 11 14:24:42 2008 +0300
5515207753Smm
5516207753Smm    Remove support for pre-C89 libc versions that lack memcpy,
5517207753Smm    memmove, and memset.
5518207753Smm
5519207753Smmcommit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
5520207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5521207753SmmDate:   Sun May 11 14:17:21 2008 +0300
5522207753Smm
5523207753Smm    Improved C99 compiler detection in configure.ac. It will
5524207753Smm    pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
5525207753Smm    should still give warnings about GNU extensions like before
5526207753Smm    except with some special keywords like asm().
5527207753Smm
5528207753Smmcommit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
5529207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5530207753SmmDate:   Tue May 6 15:15:07 2008 +0300
5531207753Smm
5532207753Smm    Bunch of grammar fixes from meyering.
5533207753Smm
5534207753Smmcommit dc192b6343ae36276c85fcf7ef6006147816eadc
5535207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5536207753SmmDate:   Tue May 6 13:41:05 2008 +0300
5537207753Smm
5538207753Smm    Typo fix
5539207753Smm
5540207753Smmcommit 944b62b93239b27b338d117f2668c0e95849659b
5541207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5542207753SmmDate:   Sun May 4 22:29:27 2008 +0300
5543207753Smm
5544207753Smm    Don't print an error message on broken pipe unless --verbose
5545207753Smm    is used.
5546207753Smm
5547207753Smmcommit 8e074349e47ea6832b8fdf9244e581d453733433
5548207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5549207753SmmDate:   Wed Apr 30 22:16:17 2008 +0300
5550207753Smm
5551207753Smm    Fix a crash with --format=alone if other filters than LZMA
5552207753Smm    are specified on the command line.
5553207753Smm
5554207753Smmcommit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
5555207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5556207753SmmDate:   Mon Apr 28 17:08:27 2008 +0300
5557207753Smm
5558207753Smm    Updated THANKS.
5559207753Smm
5560207753Smmcommit 3be21fb12f4cec2cf07799e8960382f4cb375369
5561207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5562207753SmmDate:   Mon Apr 28 17:06:34 2008 +0300
5563207753Smm
5564207753Smm    Fixed wrong spelling "limitter" to "limiter". This affects
5565207753Smm    liblzma's API.
5566207753Smm
5567207753Smmcommit beeb81060821dfec4e7898e0d44b7900dcb2215e
5568207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5569207753SmmDate:   Fri Apr 25 15:39:50 2008 +0300
5570207753Smm
5571207753Smm    Prevent LZ encoder from hanging with known uncompressed
5572207753Smm    size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
5573207753Smm    with known uncompressed size, but since it currently seems
5574207753Smm    likely that support for encoding with known uncompressed
5575207753Smm    size will go away anyway, I'm not fixing this problem now.
5576207753Smm
5577207753Smmcommit c324325f9f13cdeb92153c5d00962341ba070ca2
5578207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5579207753SmmDate:   Fri Apr 25 13:58:56 2008 +0300
5580207753Smm
5581207753Smm    Removed src/liblzma/common/sysdefs.h symlink, which was
5582207753Smm    annoying, because "make dist" put two copies of sysdefs.h
5583207753Smm    into the tarball instead of the symlink.
5584207753Smm
5585207753Smmcommit d3ba30243c75c13d094de1793f9c58acdbacc692
5586207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5587207753SmmDate:   Fri Apr 25 13:41:29 2008 +0300
5588207753Smm
5589207753Smm    Added memusage.c to debug directory.
5590207753Smm
5591207753Smmcommit 8f804c29aa8471ccd6438ddca254092b8869ca52
5592207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5593207753SmmDate:   Fri Apr 25 13:32:35 2008 +0300
5594207753Smm
5595207753Smm    Bumped version number to 4.999.3alpha. It will become 5.0.0
5596207753Smm    once we have a stable release (won't be very soon). The
5597207753Smm    version number is no longer related to version of LZMA SDK.
5598207753Smm    
5599207753Smm    Made some small Automake-related changes to toplevel
5600207753Smm    Makefile.am and configure.ac.
5601207753Smm
5602207753Smmcommit c99037ea10f121cbacf60c37a36c29768ae53447
5603207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5604207753SmmDate:   Thu Apr 24 20:25:39 2008 +0300
5605207753Smm
5606207753Smm    Fix a memory leak by calling free(extra->data) in
5607207753Smm    lzma_extra_free().
5608207753Smm
5609207753Smmcommit 22ba3b0b5043fa481903482ce85015fe775939e5
5610207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5611207753SmmDate:   Thu Apr 24 20:23:05 2008 +0300
5612207753Smm
5613207753Smm    Make unlzma and lzcat symlinks.
5614207753Smm
5615207753Smmcommit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
5616207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5617207753SmmDate:   Thu Apr 24 20:20:27 2008 +0300
5618207753Smm
5619207753Smm    Fixed a bug in command line option parsing.
5620207753Smm
5621207753Smmcommit 283f939974c32c47f05d495e8dea455ec646ed64
5622207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5623207753SmmDate:   Thu Apr 24 20:19:20 2008 +0300
5624207753Smm
5625207753Smm    Added two assert()s.
5626207753Smm
5627207753Smmcommit eb348a60b6e19a7c093f892434f23c4756973ffd
5628207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5629207753SmmDate:   Thu Apr 24 19:22:53 2008 +0300
5630207753Smm
5631207753Smm    Switch to uint16_t as the type of range coder probabilities.
5632207753Smm
5633207753Smmcommit 6c5306e312bcfd254cf654f88c04e34ba786df3d
5634207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5635207753SmmDate:   Thu Apr 24 18:39:57 2008 +0300
5636207753Smm
5637207753Smm    Fix wrong return type (uint32_t -> bool).
5638207753Smm
5639207753Smmcommit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
5640207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5641207753SmmDate:   Thu Apr 24 18:38:00 2008 +0300
5642207753Smm
5643207753Smm    Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
5644207753Smm
5645207753Smmcommit bc04486e368d20b3027cde625267762aae063965
5646207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5647207753SmmDate:   Thu Apr 24 17:33:01 2008 +0300
5648207753Smm
5649207753Smm    Fix fastpos problem in Makefile.am when built with --enable-small.
5650207753Smm
5651207753Smmcommit 7ab493924e0ed590a5121a15ee54038d238880d3
5652207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5653207753SmmDate:   Thu Apr 24 17:30:51 2008 +0300
5654207753Smm
5655207753Smm    Use 64-bit integer as range encoder's cache size. This fixes a
5656207753Smm    theoretical data corruption, which should be very hard to trigger
5657207753Smm    even intentionally.
5658207753Smm
5659207753Smmcommit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
5660207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5661207753SmmDate:   Mon Mar 24 16:38:40 2008 +0200
5662207753Smm
5663207753Smm    Replaced the range decoder optimization that used arithmetic
5664207753Smm    right shift with as fast version that doesn't need
5665207753Smm    arithmetic right shift. Removed the related check from
5666207753Smm    configure.ac.
5667207753Smm
5668207753Smmcommit ad999efd279d95f1e7ac555b14170e8e9020488c
5669207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5670207753SmmDate:   Sat Mar 22 14:39:34 2008 +0200
5671207753Smm
5672207753Smm    Take advantage of arithmetic right shift in range decoder.
5673207753Smm
5674207753Smmcommit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
5675207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5676207753SmmDate:   Sat Mar 22 14:18:29 2008 +0200
5677207753Smm
5678207753Smm    Added autoconf check to detect if we can use arithmetic
5679207753Smm    right shift for optimizations.
5680207753Smm
5681207753Smmcommit 7521bbdc83acab834594a22bec50c8e1bd836298
5682207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5683207753SmmDate:   Sat Mar 22 01:26:36 2008 +0200
5684207753Smm
5685207753Smm    Update a comment to use the variable name rep_len_decoder.
5686207753Smm    
5687207753Smm    (And BTW, the previous commit actually did change the
5688207753Smm    program logic slightly.)
5689207753Smm
5690207753Smmcommit 63b74d000eedaebb8485f623e56864ff5ab71064
5691207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5692207753SmmDate:   Sat Mar 22 00:57:33 2008 +0200
5693207753Smm
5694207753Smm    Demystified the "state" variable in LZMA code. Use the
5695207753Smm    word literal instead of char for better consistency.
5696207753Smm    There are still some names with _char instead of _literal
5697207753Smm    in lzma_optimum, these may be changed later.
5698207753Smm    
5699207753Smm    Renamed length coder variables.
5700207753Smm    
5701207753Smm    This commit doesn't change the program logic.
5702207753Smm
5703207753Smmcommit e6eb0a26757e851cef62b9440319a8e73b015cb9
5704207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5705207753SmmDate:   Fri Mar 14 23:16:11 2008 +0200
5706207753Smm
5707207753Smm    Fix data corruption in LZMA encoder. Note that this bug was
5708207753Smm    specific to liblzma and was *not* present in LZMA SDK.
5709207753Smm
5710207753Smmcommit 7d516f5129e4373a6d57249d7f608c634c66bf12
5711207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5712207753SmmDate:   Fri Mar 14 21:32:37 2008 +0200
5713207753Smm
5714207753Smm    Fix a comment API header.
5715207753Smm
5716207753Smmcommit 748d6e4274921a350bd0a317380309717441ef9c
5717207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5718207753SmmDate:   Wed Mar 12 23:14:50 2008 +0200
5719207753Smm
5720207753Smm    Make lzma_stream.next_in const. Let's see if anyone complains.
5721207753Smm
5722207753Smmcommit bfde3b24a5ae25ce53c854762b6148952386b025
5723207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5724207753SmmDate:   Tue Mar 11 15:35:34 2008 +0200
5725207753Smm
5726207753Smm    Apply a minor speed optimization to LZMA decoder.
5727207753Smm
5728207753Smmcommit f310c50286d9e4e9c6170bb65348c9bb430a65b4
5729207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5730207753SmmDate:   Tue Mar 11 15:17:16 2008 +0200
5731207753Smm
5732207753Smm    Initialize the last byte of the dictionary to zero so that
5733207753Smm    lz_get_byte(lz, 0) returns zero. This was broken by
5734207753Smm    1a3b21859818e4d8e89a1da99699233c1bfd197d.
5735207753Smm
5736207753Smmcommit 5ead36cf7f823093672a4e43c3180b38c9abbaff
5737207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5738207753SmmDate:   Mon Mar 10 15:57:55 2008 +0200
5739207753Smm
5740207753Smm    Really fix the price count initialization.
5741207753Smm
5742207753Smmcommit d4d7feb83d1a1ded8f662a82e21e053841ca726c
5743207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5744207753SmmDate:   Mon Mar 10 13:47:17 2008 +0200
5745207753Smm
5746207753Smm    Updated THANKS.
5747207753Smm
5748207753Smmcommit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
5749207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5750207753SmmDate:   Mon Mar 10 13:46:48 2008 +0200
5751207753Smm
5752207753Smm    Initialize align_price_count and match_price_count in
5753207753Smm    lzma_encoder_init.c. While we don't call
5754207753Smm    fill_distances_prices() and fill_align_prices() in
5755207753Smm    lzma_lzma_encoder_init(), we still need to initialize
5756207753Smm    these two variables so that the fill functions get
5757207753Smm    called in lzma_encoder_getoptimum.c in the beginning
5758207753Smm    of a stream.
5759207753Smm
5760207753Smmcommit 596fa1fac72823e4ef5bc26bb53f9090445bf748
5761207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5762207753SmmDate:   Mon Mar 10 13:44:29 2008 +0200
5763207753Smm
5764207753Smm    Always initialize lz->temp_size in lz_decoder.c. temp_size did
5765207753Smm    get initialized as a side-effect after allocating a new decoder,
5766207753Smm    but not when the decoder was reused.
5767207753Smm
5768207753Smmcommit 45e43e169527e7a98a8c8a821d37bf25822b764d
5769207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5770207753SmmDate:   Mon Mar 10 13:41:25 2008 +0200
5771207753Smm
5772207753Smm    Don't fill allocated memory with 0xFD when debugging is
5773207753Smm    enabled. It hides errors from Valgrind.
5774207753Smm
5775207753Smmcommit c0e19e0662205f81a86da8903cdc325d50635870
5776207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5777207753SmmDate:   Thu Feb 28 10:24:31 2008 +0200
5778207753Smm
5779207753Smm    Remove two redundant validity checks from the LZMA decoder.
5780207753Smm    These are already checked elsewhere, so omitting these
5781207753Smm    gives (very) tiny speed up.
5782207753Smm
5783207753Smmcommit de7485806284d1614095ae8cb2ebbb5d74c9ac45
5784207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5785207753SmmDate:   Wed Feb 6 13:25:32 2008 +0200
5786207753Smm
5787207753Smm    Tiny clean up to file-format.txt.
5788207753Smm
5789207753Smmcommit 1a3b21859818e4d8e89a1da99699233c1bfd197d
5790207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5791207753SmmDate:   Sat Feb 2 14:51:06 2008 +0200
5792207753Smm
5793207753Smm    Don't memzero() the history buffer when initializing LZ
5794207753Smm    decoder. There's no danger of information leak here, so
5795207753Smm    it isn't required. Doing memzero() takes a lot of time
5796207753Smm    with large dictionaries, which could make it easier to
5797207753Smm    construct DoS attack to consume too much CPU time.
5798207753Smm
5799207753Smmcommit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
5800207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5801207753SmmDate:   Fri Feb 1 08:39:26 2008 +0200
5802207753Smm
5803207753Smm    Do uncompressed size validation in raw encoder. This way
5804207753Smm    it gets done for not only raw encoder, but also Block
5805207753Smm    and LZMA_Alone encoders.
5806207753Smm
5807207753Smmcommit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
5808207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5809207753SmmDate:   Fri Feb 1 08:32:05 2008 +0200
5810207753Smm
5811207753Smm    Avoid unneeded function call in raw_common.c.
5812207753Smm
5813207753Smmcommit b596fac963c3ff96f615d4d9b427a213ec341211
5814207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5815207753SmmDate:   Sat Jan 26 21:42:38 2008 +0200
5816207753Smm
5817207753Smm    Updated THANKS.
5818207753Smm
5819207753Smmcommit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
5820207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5821207753SmmDate:   Sat Jan 26 21:40:23 2008 +0200
5822207753Smm
5823207753Smm    Added note.GNU-stack to x86 assembler files. It is needed
5824207753Smm    when using non-executable stack.
5825207753Smm
5826207753Smmcommit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
5827207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5828207753SmmDate:   Sat Jan 26 19:12:50 2008 +0200
5829207753Smm
5830207753Smm    Added api/lzma/easy.h. I had forgot to add this to the
5831207753Smm    git repo. Thanks to Stephan Kulow.
5832207753Smm
5833207753Smmcommit 288b232f54c3692cd36f471d4042f51daf3ea79f
5834207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5835207753SmmDate:   Sat Jan 26 11:09:17 2008 +0200
5836207753Smm
5837207753Smm    Added more test files.
5838207753Smm
5839207753Smmcommit c467b0defccf233d0c79234407bc38d7d09574d3
5840207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5841207753SmmDate:   Sat Jan 26 10:47:55 2008 +0200
5842207753Smm
5843207753Smm    Added more test files.
5844207753Smm
5845207753Smmcommit f9842f712732c482f2def9f24437851e57dd83f8
5846207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5847207753SmmDate:   Sat Jan 26 00:25:34 2008 +0200
5848207753Smm
5849207753Smm    Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
5850207753Smm    of the so called simple filters. If there is demand, limited
5851207753Smm    support for LZMA_SYNC_FLUSH may be added in future.
5852207753Smm    
5853207753Smm    After this commit, using LZMA_SYNC_FLUSH shouldn't cause
5854207753Smm    undefined behavior in any situation.
5855207753Smm
5856207753Smmcommit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
5857207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5858207753SmmDate:   Fri Jan 25 23:50:35 2008 +0200
5859207753Smm
5860207753Smm    Added more Multi-Block test files. Improved some
5861207753Smm    descriptions in the test files' README.
5862207753Smm
5863207753Smmcommit 4441e004185cd4c61bda184010eca5924c9dec87
5864207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5865207753SmmDate:   Fri Jan 25 23:12:36 2008 +0200
5866207753Smm
5867207753Smm    Combine lzma_options_block validation needed by both Block
5868207753Smm    encoder and decoder, and put the shared things to
5869207753Smm    block_private.h. Improved the checks a little so that
5870207753Smm    they may detect too big Compressed Size at initialization
5871207753Smm    time if lzma_options_block.total_size or .total_limit is
5872207753Smm    known.
5873207753Smm    
5874207753Smm    Allow encoding and decoding Blocks with combinations of
5875207753Smm    fields that are not allowed by the file format specification.
5876207753Smm    Doing this requires that the application passes such a
5877207753Smm    combination in lzma_options_lzma; liblzma doesn't do that,
5878207753Smm    but it's not impossible that someone could find them useful
5879207753Smm    in some custom file format.
5880207753Smm
5881207753Smmcommit bf4200c818fcf9102e56328d39cde91bfa13cfb6
5882207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5883207753SmmDate:   Fri Jan 25 19:21:22 2008 +0200
5884207753Smm
5885207753Smm    Added test_memlimit.c.
5886207753Smm
5887207753Smmcommit 7b8fc7e6b501a32a36636dac79ecb57099269005
5888207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5889207753SmmDate:   Fri Jan 25 19:20:28 2008 +0200
5890207753Smm
5891207753Smm    Improved the memory limitter:
5892207753Smm      - Added lzma_memlimit_max() and lzma_memlimit_reached()
5893207753Smm        API functions.
5894207753Smm      - Added simple estimation of malloc()'s memory usage
5895207753Smm        overhead.
5896207753Smm      - Fixed integer overflow detection in lzma_memlimit_alloc().
5897207753Smm      - Made some white space cleanups and added more comments.
5898207753Smm    
5899207753Smm    The description of lzma_memlimit_max() in memlimit.h is bad
5900207753Smm    and should be improved.
5901207753Smm
5902207753Smmcommit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
5903207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5904207753SmmDate:   Fri Jan 25 13:55:52 2008 +0200
5905207753Smm
5906207753Smm    Use more parenthesis in succeed() macro in tests/tests.h.
5907207753Smm
5908207753Smmcommit 1fd76d488179580d37f31ee11948f4932aed31fd
5909207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5910207753SmmDate:   Thu Jan 24 14:49:34 2008 +0200
5911207753Smm
5912207753Smm    Added more Multi-Block Stream test files.
5913207753Smm
5914207753Smmcommit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
5915207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5916207753SmmDate:   Thu Jan 24 00:46:05 2008 +0200
5917207753Smm
5918207753Smm    Added bunch of test files containing Multi-Block Streams.
5919207753Smm
5920207753Smmcommit db9df0a9609c01a00a227329fb96e983971040f5
5921207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5922207753SmmDate:   Wed Jan 23 23:43:00 2008 +0200
5923207753Smm
5924207753Smm    Fix decoding of empty Metadata Blocks, that don't have
5925207753Smm    even the Metadata Flags field. Earlier the code allowed
5926207753Smm    such files; now they are prohibited as the file format
5927207753Smm    specification requires.
5928207753Smm
5929207753Smmcommit 765f0b05f6e95ed9194fb90819cee189ebbac36b
5930207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5931207753SmmDate:   Wed Jan 23 23:38:18 2008 +0200
5932207753Smm
5933207753Smm    Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
5934207753Smm    lzma_metadata.header_metadata_size was not properly set to
5935207753Smm    zero if the Metadata had only the Metadata Flags field.
5936207753Smm
5937207753Smmcommit 3a7cc5c3dec7b078941f961b0393b86c418883b6
5938207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5939207753SmmDate:   Wed Jan 23 23:35:49 2008 +0200
5940207753Smm
5941207753Smm    Fix decoding of Extra Records that have empty Data.
5942207753Smm
5943207753Smmcommit e5fdec93e273855c1bcc2579b83cfb481a9a1492
5944207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5945207753SmmDate:   Wed Jan 23 22:02:38 2008 +0200
5946207753Smm
5947207753Smm    Add the trailing '\0' to lzma_extra.data as the API header
5948207753Smm    already documents.
5949207753Smm
5950207753Smmcommit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
5951207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5952207753SmmDate:   Wed Jan 23 21:21:21 2008 +0200
5953207753Smm
5954207753Smm    Added debug/full_flush.c.
5955207753Smm
5956207753Smmcommit ae0cd09a666a1682da8fc09487322227679e218d
5957207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5958207753SmmDate:   Wed Jan 23 21:05:33 2008 +0200
5959207753Smm
5960207753Smm    Return LZMA_STREAM_END instead of LZMA_OK if
5961207753Smm    LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
5962207753Smm    there's no unfinished Block open.
5963207753Smm
5964207753Smmcommit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
5965207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5966207753SmmDate:   Wed Jan 23 20:05:01 2008 +0200
5967207753Smm
5968207753Smm    Added bad-single-none-footer_filter_flags.lzma and
5969207753Smm    bad-single-none-too_long_vli.lzma.
5970207753Smm
5971207753Smmcommit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
5972207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5973207753SmmDate:   Wed Jan 23 13:42:35 2008 +0200
5974207753Smm
5975207753Smm    Fixed a typo.
5976207753Smm
5977207753Smmcommit 980f65a9a10160c4d105767871e3002b9aaba3e0
5978207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5979207753SmmDate:   Wed Jan 23 13:40:45 2008 +0200
5980207753Smm
5981207753Smm    Fix a memory leak in the Subblock encoder.
5982207753Smm
5983207753Smmcommit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
5984207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
5985207753SmmDate:   Wed Jan 23 13:36:07 2008 +0200
5986207753Smm
5987207753Smm    Fix Size of Header Metadata Block handling. Now
5988207753Smm    lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
5989207753Smm    is not allowed at all. To indicate missing Header Metadata
5990207753Smm    Block, header_metadata_size must be set to zero. This is
5991207753Smm    what Metadata decoder does after this patch too.
5992207753Smm    
5993207753Smm    Note that other missing fields in lzma_metadata are still
5994207753Smm    indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
5995207753Smm    illogical as it sounds at first, because missing Size of
5996207753Smm    Header Metadata Block means that Header Metadata Block is
5997207753Smm    not present in the Stream. With other Metadata fields,
5998207753Smm    a missing field means only that the value is unknown.
5999207753Smm
6000207753Smmcommit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
6001207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6002207753SmmDate:   Wed Jan 23 13:15:55 2008 +0200
6003207753Smm
6004207753Smm    Fix a memory leak in metadata_decoder.c.
6005207753Smm
6006207753Smmcommit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
6007207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6008207753SmmDate:   Wed Jan 23 13:13:58 2008 +0200
6009207753Smm
6010207753Smm    Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
6011207753Smm    just moved to problem. Now it's really fixed.
6012207753Smm
6013207753Smmcommit 67321de963ccf69410b3868b8e31534fe18a90de
6014207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6015207753SmmDate:   Wed Jan 23 00:21:04 2008 +0200
6016207753Smm
6017207753Smm    Take advantage of return_if_error() macro in
6018207753Smm    lzma_info_metadata_set() in info.c.
6019207753Smm
6020207753Smmcommit 863028cb7ad6d8d0455fa69348f56b376d7b908f
6021207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6022207753SmmDate:   Wed Jan 23 00:18:32 2008 +0200
6023207753Smm
6024207753Smm    Fixed a dangling pointer that caused invalid free().
6025207753Smm
6026207753Smmcommit cf49f42a6bd40143f54a6b10d6e605599e958c0b
6027207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6028207753SmmDate:   Tue Jan 22 22:49:24 2008 +0200
6029207753Smm
6030207753Smm    Added lzma_easy_* functions. These should make using
6031207753Smm    liblzma as easy as using zlib, because the easy API
6032207753Smm    don't require developers to know any fancy LZMA options.
6033207753Smm    
6034207753Smm    Note that Multi-Block Stream encoding is currently broken.
6035207753Smm    The easy API should be OK, the bug(s) are elsewhere.
6036207753Smm
6037207753Smmcommit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
6038207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6039207753SmmDate:   Tue Jan 22 21:16:22 2008 +0200
6040207753Smm
6041207753Smm    Fix Multi-Block Stream encoder's EOPM usage.
6042207753Smm
6043207753Smmcommit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
6044207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6045207753SmmDate:   Tue Jan 22 00:15:11 2008 +0200
6046207753Smm
6047207753Smm    Made lzma_extra pointers const in lzma_options_stream.
6048207753Smm
6049207753Smmcommit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
6050207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6051207753SmmDate:   Sun Jan 20 20:15:21 2008 +0200
6052207753Smm
6053207753Smm    Updated debug/sync_flush.c.
6054207753Smm
6055207753Smmcommit d53e9b77054cfade6a643e77d085273a348b189c
6056207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6057207753SmmDate:   Sun Jan 20 20:14:26 2008 +0200
6058207753Smm
6059207753Smm    Added debug/repeat.c.
6060207753Smm
6061207753Smmcommit 107259e306bcfc2336a0fb870fb58034c28faa52
6062207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6063207753SmmDate:   Sun Jan 20 20:12:58 2008 +0200
6064207753Smm
6065207753Smm    Fix alignment handling bugs in Subblock encoder.
6066207753Smm    
6067207753Smm    This leaves one known alignment bug unfixed: If repeat count
6068207753Smm    doesn't fit into 28-bit integer, the encoder has to split
6069207753Smm    this to multiple Subblocks with Subblock Type `Repeating Data'.
6070207753Smm    The extra Subblocks may have wrong alignment. Correct alignment
6071207753Smm    is restored after the split Repeating Data has been completely
6072207753Smm    written out.
6073207753Smm    
6074207753Smm    Since the encoder doesn't even try to fix the alignment unless
6075207753Smm    the size of Data is at least 4 bytes, to trigger this bug you
6076207753Smm    need at least 4 GiB of repeating data with sequence length of
6077207753Smm    4 or more bytes. Since the worst thing done by this bug is
6078207753Smm    misaligned data (no data corruption), this bug simply isn't
6079207753Smm    worth fixing, because a proper fix isn't simple.
6080207753Smm
6081207753Smmcommit e141fe18950400faaa3503ff88ac20eacd73e88c
6082207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6083207753SmmDate:   Sat Jan 19 21:16:33 2008 +0200
6084207753Smm
6085207753Smm    Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
6086207753Smm    The API for handing Subfilters was changed to make it
6087207753Smm    consistent with LZMA_SYNC_FLUSH.
6088207753Smm    
6089207753Smm    A few sanity checks were added for Subfilter handling. Some
6090207753Smm    small bugs were fixed. More comments were added.
6091207753Smm
6092207753Smmcommit 23c227a864a3b69f38c6a74306161d4e6918d1cc
6093207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6094207753SmmDate:   Sat Jan 19 15:19:21 2008 +0200
6095207753Smm
6096207753Smm    Revised the Delta filter implementation. The initialization
6097207753Smm    function is still shared between encoder and decoder, but the
6098207753Smm    actual coding is in separate files for encoder and decoder.
6099207753Smm    
6100207753Smm    There are now separate functions for the actual delta
6101207753Smm    calculation depending on if Delta is the last filter in the
6102207753Smm    chain or not. If it is the last, the new code copies the
6103207753Smm    data from input to output buffer and does the delta
6104207753Smm    calculation at the same time. The old code first copied the
6105207753Smm    data, then did the delta in the target buffer, which required
6106207753Smm    reading through the data twice.
6107207753Smm    
6108207753Smm    Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
6109207753Smm    This doesn't change anything in the file format.
6110207753Smm
6111207753Smmcommit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
6112207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6113207753SmmDate:   Fri Jan 18 20:18:08 2008 +0200
6114207753Smm
6115207753Smm    Added the debug directory and the first debug tool
6116207753Smm    (sync_flush). These tools are not built unless the
6117207753Smm    user runs "make" in the debug directory.
6118207753Smm
6119207753Smmcommit 0ae3208db94585eb8294b97ded387de0a3a07646
6120207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6121207753SmmDate:   Fri Jan 18 20:13:00 2008 +0200
6122207753Smm
6123207753Smm    Added test files to test usage of flush marker in LZMA.
6124207753Smm
6125207753Smmcommit ab5feaf1fcc146ef9fd39360c53c290bec39524e
6126207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6127207753SmmDate:   Fri Jan 18 20:02:52 2008 +0200
6128207753Smm
6129207753Smm    Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
6130207753Smm    That code is now almost completely in LZ coder, where
6131207753Smm    it can be shared with other LZ77-based algorithms in
6132207753Smm    future.
6133207753Smm
6134207753Smmcommit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
6135207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6136207753SmmDate:   Fri Jan 18 17:21:24 2008 +0200
6137207753Smm
6138207753Smm    Don't add -g to CFLAGS when --enable-debug is specified.
6139207753Smm    It's the job of the user to put that in CFLAGS.
6140207753Smm
6141207753Smmcommit 61d1784d8f1761d979a6da6e223e279ca33815e6
6142207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6143207753SmmDate:   Fri Jan 18 14:17:37 2008 +0200
6144207753Smm
6145207753Smm    Set stdin and stdout to binary mode on Windows. This patch is
6146207753Smm    a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
6147207753Smm    from lzma-utils-legacy.git. I don't know if the new code base
6148207753Smm    builds on Windows, but this is a start.
6149207753Smm
6150207753Smmcommit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
6151207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6152207753SmmDate:   Fri Jan 18 00:50:29 2008 +0200
6153207753Smm
6154207753Smm    Added test_compress.sh and bunch of files needed by it.
6155207753Smm    This new set of tests compress and decompress several
6156207753Smm    test files with many different compression options.
6157207753Smm    This set of tests will be extended later.
6158207753Smm
6159207753Smmcommit 33be3c0e24d8f43376ccf71cc77d53671e792f07
6160207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6161207753SmmDate:   Thu Jan 17 18:56:53 2008 +0200
6162207753Smm
6163207753Smm    Subblock decoder: Don't exit the main loop in decode_buffer()
6164207753Smm    too early if we hit End of Input while decoding a Subblock of
6165207753Smm    type Repeating Data. To keep the loop termination condition
6166207753Smm    elegant, the order of enumerations in coder->sequence were
6167207753Smm    changed.
6168207753Smm    
6169207753Smm    To keep the case-labels in roughly the same order as the
6170207753Smm    enumerations in coder->sequence, large chunks of code was
6171207753Smm    moved around. This made the diff big and ugly compared to
6172207753Smm    the amount of the actual changes made.
6173207753Smm
6174207753Smmcommit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
6175207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6176207753SmmDate:   Thu Jan 17 17:39:42 2008 +0200
6177207753Smm
6178207753Smm    Fix wrong too small size of argument unfiltered_max
6179207753Smm    in ia64_coder_init(). It triggered assert() in
6180207753Smm    simple_coder.c, and could have caused a buffer overflow.
6181207753Smm    
6182207753Smm    This error was probably a copypaste mistake, since most
6183207753Smm    of the simple filters use unfiltered_max = 4.
6184207753Smm
6185207753Smmcommit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
6186207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6187207753SmmDate:   Thu Jan 17 17:27:45 2008 +0200
6188207753Smm
6189207753Smm    Added --delta to the output of "lzma --help".
6190207753Smm
6191207753Smmcommit f88590e0014b38d40465937c19f25f05f16c79ae
6192207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6193207753SmmDate:   Thu Jan 17 13:14:20 2008 +0200
6194207753Smm
6195207753Smm    Fix Subblock docoder: If Subblock filter was used with known
6196207753Smm    Uncompressed Size, and the last output byte was from RLE,
6197207753Smm    the code didn't stop decoding as it should have done.
6198207753Smm
6199207753Smmcommit bc0b945ca376e333077644d2f7fd54c2848aab8a
6200207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6201207753SmmDate:   Wed Jan 16 16:33:37 2008 +0200
6202207753Smm
6203207753Smm    Tiny non-technical edits to file-format.txt.
6204207753Smm
6205207753Smmcommit 7599bb7064ccf007f054595dedda7927af868252
6206207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6207207753SmmDate:   Wed Jan 16 14:48:04 2008 +0200
6208207753Smm
6209207753Smm    Plugged a memory leak in stream_decoder.c.
6210207753Smm
6211207753Smmcommit 0b581539311f3712946e81e747839f8fb5f441a7
6212207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6213207753SmmDate:   Wed Jan 16 14:47:27 2008 +0200
6214207753Smm
6215207753Smm    Added memory leak detection to lzmadec.c.
6216207753Smm
6217207753Smmcommit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
6218207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6219207753SmmDate:   Wed Jan 16 14:46:50 2008 +0200
6220207753Smm
6221207753Smm    Added lzma_memlimit_count().
6222207753Smm
6223207753Smmcommit 19389f2b82ec54fd4c847a18f16482e7be4c9887
6224207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6225207753SmmDate:   Wed Jan 16 14:31:44 2008 +0200
6226207753Smm
6227207753Smm    Added ARRAY_SIZE(array) macro.
6228207753Smm
6229207753Smmcommit 9bc33a54cbf83952130adbcb1be32c6882485416
6230207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6231207753SmmDate:   Wed Jan 16 13:27:03 2008 +0200
6232207753Smm
6233207753Smm    Make Uncompresed Size validation more strict
6234207753Smm    in alone_decoder.c.
6235207753Smm
6236207753Smmcommit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
6237207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6238207753SmmDate:   Tue Jan 15 17:46:59 2008 +0200
6239207753Smm
6240207753Smm    Free the allocated memory in lzmadec if debugging is
6241207753Smm    enabled. This should make it possible to detect possible
6242207753Smm    memory leaks with Valgrind.
6243207753Smm
6244207753Smmcommit 8235e6e5b2878f76633afcda9a334640db503ef5
6245207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6246207753SmmDate:   Tue Jan 15 16:25:38 2008 +0200
6247207753Smm
6248207753Smm    Fix memory leaks from test_block_header.c.
6249207753Smm
6250207753Smmcommit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
6251207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6252207753SmmDate:   Tue Jan 15 14:23:35 2008 +0200
6253207753Smm
6254207753Smm    Use fastpos.h when encoding LZMA dictionary size in
6255207753Smm    Filter Flags encoder.
6256207753Smm
6257207753Smmcommit e5728142a2048979f5c0c2149ce71ae952a092e1
6258207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6259207753SmmDate:   Tue Jan 15 14:02:22 2008 +0200
6260207753Smm
6261207753Smm    Revised the fastpos code. It now uses the slightly faster
6262207753Smm    table-based version from LZMA SDK 4.57. This should be
6263207753Smm    fast on most systems.
6264207753Smm    
6265207753Smm    A simpler and smaller alternative version is also provided.
6266207753Smm    On some CPUs this can be even a little faster than the
6267207753Smm    default table-based version (see comments in fastpos.h),
6268207753Smm    but on most systems the table-based code is faster.
6269207753Smm
6270207753Smmcommit 10437b5b567f6a025ff16c45a572e417a0a9cc26
6271207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6272207753SmmDate:   Tue Jan 15 13:32:13 2008 +0200
6273207753Smm
6274207753Smm    Added bsr.h.
6275207753Smm
6276207753Smmcommit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
6277207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6278207753SmmDate:   Tue Jan 15 13:29:14 2008 +0200
6279207753Smm
6280207753Smm    Fixed assembler detection in configure.ac, and added
6281207753Smm    detection for x86_64.
6282207753Smm
6283207753Smmcommit 54ec204f58287f50d3976288295da4188a19192b
6284207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6285207753SmmDate:   Tue Jan 15 12:20:41 2008 +0200
6286207753Smm
6287207753Smm    Omit invalid space from printf() format string
6288207753Smm    in price_table_gen.c.
6289207753Smm
6290207753Smmcommit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
6291207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6292207753SmmDate:   Tue Jan 15 09:54:34 2008 +0200
6293207753Smm
6294207753Smm    Removed a few unused macros from lzma_common.h.
6295207753Smm
6296207753Smmcommit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
6297207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6298207753SmmDate:   Tue Jan 15 08:37:42 2008 +0200
6299207753Smm
6300207753Smm    Fix a typo in lzma_encoder.c.
6301207753Smm
6302207753Smmcommit 9f9b1983013048f2142e8bc7e240149d2687bedc
6303207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6304207753SmmDate:   Tue Jan 15 08:36:25 2008 +0200
6305207753Smm
6306207753Smm    Convert bittree_get_price() and bittree_reverse_get_price()
6307207753Smm    from macros to inline functions.
6308207753Smm
6309207753Smmcommit 78e85cb1a7667c54853670d2eb09d754bcbda87d
6310207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6311207753SmmDate:   Tue Jan 15 07:44:59 2008 +0200
6312207753Smm
6313207753Smm    Fix CRC code in case --enable-small is used.
6314207753Smm
6315207753Smmcommit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
6316207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6317207753SmmDate:   Tue Jan 15 07:41:39 2008 +0200
6318207753Smm
6319207753Smm    Fix typo in test_index.c.
6320207753Smm
6321207753Smmcommit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
6322207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6323207753SmmDate:   Tue Jan 15 07:40:21 2008 +0200
6324207753Smm
6325207753Smm    Added precomputed range coder probability price table.
6326207753Smm
6327207753Smmcommit 362dc3843b373c1007a50a4719f378981f18ae03
6328207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6329207753SmmDate:   Mon Jan 14 13:42:43 2008 +0200
6330207753Smm
6331207753Smm    Remove RC_BUFFER_SIZE from lzma_encoder_private.h
6332207753Smm    and replace it with a sanity check.
6333207753Smm
6334207753Smmcommit e22b37968d153683fec61ad37b6b160cb7ca4ddc
6335207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6336207753SmmDate:   Mon Jan 14 13:39:54 2008 +0200
6337207753Smm
6338207753Smm    Major changes to LZ encoder, LZMA encoder, and range encoder.
6339207753Smm    These changes implement support for LZMA_SYNC_FLUSH in LZMA
6340207753Smm    encoder, and move the temporary buffer needed by range encoder
6341207753Smm    from lzma_range_encoder structure to lzma_lz_encoder.
6342207753Smm
6343207753Smmcommit b59ef3973781f892c0a72b5e5934194567100be5
6344207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6345207753SmmDate:   Mon Jan 14 13:34:29 2008 +0200
6346207753Smm
6347207753Smm    Added one assert() to process.c of the command line tool.
6348207753Smm
6349207753Smmcommit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
6350207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6351207753SmmDate:   Mon Jan 14 12:09:52 2008 +0200
6352207753Smm
6353207753Smm    Don't use coder->lz.stream_end_was_reached in assertions
6354207753Smm    in match_c.h.
6355207753Smm
6356207753Smmcommit 3e09e1c05871f3757f759b801890ccccc9286608
6357207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6358207753SmmDate:   Mon Jan 14 12:08:02 2008 +0200
6359207753Smm
6360207753Smm    In lzma_read_match_distances(), don't use
6361207753Smm    coder->lz.stream_end_was_reached. That variable
6362207753Smm    will be removed, and the check isn't required anyway.
6363207753Smm    Rearrange the check so that it doesn't make one to
6364207753Smm    think that there could be an integer overflow.
6365207753Smm
6366207753Smmcommit a670fec8021e5962429689c194148a04c3418872
6367207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6368207753SmmDate:   Mon Jan 14 11:56:41 2008 +0200
6369207753Smm
6370207753Smm    Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
6371207753Smm
6372207753Smmcommit 3599dba9570a6972a16b6398d6c838e9b420e985
6373207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6374207753SmmDate:   Mon Jan 14 11:54:56 2008 +0200
6375207753Smm
6376207753Smm    More fixes to LZMA decoder's flush marker handling.
6377207753Smm
6378207753Smmcommit f73c2ab6079ed5675a42b39d584a567befbd4624
6379207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6380207753SmmDate:   Thu Jan 10 17:13:42 2008 +0200
6381207753Smm
6382207753Smm    Eliminate lzma_lz_encoder.must_move_pos. It's needed
6383207753Smm    only in one place which isn't performance criticial.
6384207753Smm
6385207753Smmcommit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
6386207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6387207753SmmDate:   Wed Jan 9 20:05:57 2008 +0200
6388207753Smm
6389207753Smm    Define HAVE_ASM_X86 when x86 assembler optimizations are
6390207753Smm    used. This #define will be useful for inline assembly.
6391207753Smm
6392207753Smmcommit 0e70fbe4032351aab13a1cd8e5deced105c0b276
6393207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6394207753SmmDate:   Wed Jan 9 12:06:46 2008 +0200
6395207753Smm
6396207753Smm    Added good-single-none-empty_3.lzma and
6397207753Smm    bad-single-none-empty.lzma.
6398207753Smm
6399207753Smmcommit 379fbbe84d922c7cc00afa65c6f0c095da596b19
6400207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6401207753SmmDate:   Tue Jan 8 23:11:59 2008 +0200
6402207753Smm
6403207753Smm    Take advantage of return_if_error() in block_decoder.c.
6404207753Smm
6405207753Smmcommit 97d5fa82077e57815dfad995dc393c2809a78539
6406207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6407207753SmmDate:   Tue Jan 8 23:10:57 2008 +0200
6408207753Smm
6409207753Smm    Updated tests/files/README.
6410207753Smm
6411207753Smmcommit 3bb9bb310936cba6a743b4f06739a397dec7c28f
6412207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6413207753SmmDate:   Tue Jan 8 23:05:40 2008 +0200
6414207753Smm
6415207753Smm    Added test files with empty Compressed Data.
6416207753Smm
6417207753Smmcommit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
6418207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6419207753SmmDate:   Tue Jan 8 22:58:42 2008 +0200
6420207753Smm
6421207753Smm    Fix decoding of Blocks that have only Block Header.
6422207753Smm
6423207753Smmcommit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
6424207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6425207753SmmDate:   Tue Jan 8 22:27:46 2008 +0200
6426207753Smm
6427207753Smm    Added good-single-subblock_implicit.lzma.
6428207753Smm
6429207753Smmcommit faeac7b7aca75f86afed1e7cc06279d9d497c627
6430207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6431207753SmmDate:   Tue Jan 8 18:50:30 2008 +0200
6432207753Smm
6433207753Smm    Disable CRC32 from Block Headers when --check=none
6434207753Smm    has been specified.
6435207753Smm
6436207753Smmcommit a751126dbb656767ed4666cf0e5d3e17349d93d1
6437207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6438207753SmmDate:   Tue Jan 8 13:36:29 2008 +0200
6439207753Smm
6440207753Smm    Fixed encoding of empty files. Arguments to is_size_valid()
6441207753Smm    were in wrong order in block_encoder.c.
6442207753Smm
6443207753Smmcommit 9080267603b1006c4867c823307dca9df8be0d20
6444207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6445207753SmmDate:   Tue Jan 8 13:35:36 2008 +0200
6446207753Smm
6447207753Smm    Added a few test files.
6448207753Smm
6449207753Smmcommit b4943ccf73b64fc93a90a23474509c316f55eb2b
6450207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6451207753SmmDate:   Tue Jan 8 12:29:58 2008 +0200
6452207753Smm
6453207753Smm    Avoid using ! in test_files.sh, because that doesn't work
6454207753Smm    with some ancient /bin/sh versions.
6455207753Smm
6456207753Smmcommit e2417b2b9134f3f65e14b61e23cd3644d8954353
6457207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6458207753SmmDate:   Tue Jan 8 00:48:30 2008 +0200
6459207753Smm
6460207753Smm    More pre-C99 inttypes.h compatibility fixes. Now the code
6461207753Smm    should work even if the system has no inttypes.h.
6462207753Smm
6463207753Smmcommit 5d227e51c23639423f4ade06aabb54e131f8505e
6464207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6465207753SmmDate:   Mon Jan 7 23:25:32 2008 +0200
6466207753Smm
6467207753Smm    Updated fi.po although it's currently pretty much crap.
6468207753Smm
6469207753Smmcommit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
6470207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6471207753SmmDate:   Mon Jan 7 23:14:25 2008 +0200
6472207753Smm
6473207753Smm    Test for $GCC = yes instead of if it is non-empty. This
6474207753Smm    way it is possible to use ac_cv_c_compiler_gnu=no to
6475207753Smm    force configure to think it is using non-GNU C compiler.
6476207753Smm
6477207753Smmcommit 3dbbea82b74bb841c995ad332a3aeca613015e10
6478207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6479207753SmmDate:   Mon Jan 7 21:49:41 2008 +0200
6480207753Smm
6481207753Smm    Added test_files.sh to tests/Makefile.am so it gets
6482207753Smm    included in the tarball with "make dist".
6483207753Smm
6484207753Smmcommit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
6485207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6486207753SmmDate:   Mon Jan 7 18:22:24 2008 +0200
6487207753Smm
6488207753Smm    Cosmetic edit to test_files.sh.
6489207753Smm
6490207753Smmcommit 9a71d573100a990ceb30ce0bec6a9a15d795605f
6491207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6492207753SmmDate:   Mon Jan 7 18:09:44 2008 +0200
6493207753Smm
6494207753Smm    Added tests/files/README.
6495207753Smm
6496207753Smmcommit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
6497207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6498207753SmmDate:   Mon Jan 7 14:20:57 2008 +0200
6499207753Smm
6500207753Smm    Tell in COPYING that everything in tests/files is
6501207753Smm    public domain.
6502207753Smm
6503207753Smmcommit 3502b3e1d00251d3c8dda96079440705c28d8225
6504207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6505207753SmmDate:   Mon Jan 7 14:19:05 2008 +0200
6506207753Smm
6507207753Smm    Cleaned up the tests/files directory.
6508207753Smm
6509207753Smmcommit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
6510207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6511207753SmmDate:   Mon Jan 7 13:49:19 2008 +0200
6512207753Smm
6513207753Smm    Added test_files.sh to test decoding of the files in
6514207753Smm    the tests/files directory. It doesn't test the malicious
6515207753Smm    files yet.
6516207753Smm
6517207753Smmcommit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
6518207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6519207753SmmDate:   Mon Jan 7 11:23:13 2008 +0200
6520207753Smm
6521207753Smm    Updated README regarding the assembler optimizations.
6522207753Smm
6523207753Smmcommit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
6524207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6525207753SmmDate:   Mon Jan 7 10:58:00 2008 +0200
6526207753Smm
6527207753Smm    Updated THANKS.
6528207753Smm
6529207753Smmcommit 1239649f96132b18e3b7e2dd152ecf53a195caa8
6530207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6531207753SmmDate:   Sun Jan 6 21:47:17 2008 +0200
6532207753Smm
6533207753Smm    Cosmetic changes to configure.ac.
6534207753Smm
6535207753Smmcommit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
6536207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6537207753SmmDate:   Sun Jan 6 19:46:38 2008 +0200
6538207753Smm
6539207753Smm    Automatically disable assembler code on Darwin x86.
6540207753Smm    Darwin has different ABI than GNU+Linux and Solaris,
6541207753Smm    thus the assembler code doesn't assemble on Darwin.
6542207753Smm
6543207753Smmcommit c15a7abf66e3a70792f7444115e484c7981c8284
6544207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6545207753SmmDate:   Sun Jan 6 19:45:27 2008 +0200
6546207753Smm
6547207753Smm    With printf(), use PRIu64 with a cast to uint64_t instead
6548207753Smm    of %zu, because some pre-C99 libc versions don't support %zu.
6549207753Smm
6550207753Smmcommit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
6551207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6552207753SmmDate:   Sun Jan 6 16:27:41 2008 +0200
6553207753Smm
6554207753Smm    Introduced compatibility with systems that have pre-C99
6555207753Smm    or no inttypes.h. This is useful when the compiler has
6556207753Smm    good enough support for C99, but libc headers don't.
6557207753Smm    
6558207753Smm    Changed liblzma API so that sys/types.h and inttypes.h
6559207753Smm    have to be #included before #including lzma.h. On systems
6560207753Smm    that don't have C99 inttypes.h, it's the problem of the
6561207753Smm    applications to provide the required types and macros
6562207753Smm    before #including lzma.h.
6563207753Smm    
6564207753Smm    If lzma.h defined the missing types and macros, it could
6565207753Smm    conflict with third-party applications whose configure
6566207753Smm    has detected that the types are missing and defined them
6567207753Smm    in config.h already. An alternative would have been
6568207753Smm    introducing lzma_uint32 and similar types, but that would
6569207753Smm    just be an extra pain on modern systems.
6570207753Smm
6571207753Smmcommit a71864f77dfb76b5d78a270641539947c312583a
6572207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6573207753SmmDate:   Sat Jan 5 19:57:00 2008 +0200
6574207753Smm
6575207753Smm    Fix typo in comment (INT64_MAX -> UINT64_MAX).
6576207753Smm
6577207753Smmcommit 072927905a3b66281c6311b4b351caa501d8b73a
6578207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6579207753SmmDate:   Sat Jan 5 19:42:04 2008 +0200
6580207753Smm
6581207753Smm    Rearranged testing of GCC-specific flags.
6582207753Smm
6583207753Smmcommit d160ee32598c6d1cd9054ef019e8c9331208b188
6584207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6585207753SmmDate:   Sat Jan 5 01:20:24 2008 +0200
6586207753Smm
6587207753Smm    Another bug fix for flush marker detection.
6588207753Smm
6589207753Smmcommit fc67f79f607cbfa78c6f47a69dec098d8659b162
6590207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6591207753SmmDate:   Fri Jan 4 21:37:01 2008 +0200
6592207753Smm
6593207753Smm    Fix stupid bugs in flush marker detection.
6594207753Smm
6595207753Smmcommit 0029cbbabe87d491fc046a55a629a6d556010baa
6596207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6597207753SmmDate:   Fri Jan 4 21:30:33 2008 +0200
6598207753Smm
6599207753Smm    Added support for flush marker, which will be in files
6600207753Smm    that use LZMA_SYNC_FLUSH with encoder (not implemented
6601207753Smm    yet). This is a new feature in the raw LZMA format,
6602207753Smm    which isn't supported by old decoders. This shouldn't
6603207753Smm    be a problem in practice, since lzma_alone_encoder()
6604207753Smm    will not allow LZMA_SYNC_FLUSH, and thus not allow
6605207753Smm    creating files on decodable with old decoders.
6606207753Smm    
6607207753Smm    Made lzma_decoder.c to require tab width of 4 characters
6608207753Smm    if one wants to fit the code in 80 columns. This makes
6609207753Smm    the code easier to read.
6610207753Smm
6611207753Smmcommit bbfd1f6ab058a7e661545205befcb7f70c5685ab
6612207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6613207753SmmDate:   Fri Jan 4 20:45:05 2008 +0200
6614207753Smm
6615207753Smm    Moved range decoder initialization (reading the first
6616207753Smm    five input bytes) from LZMA decoder to range decoder
6617207753Smm    header. Did the same for decoding of direct bits.
6618207753Smm
6619207753Smmcommit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
6620207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6621207753SmmDate:   Fri Dec 14 11:15:21 2007 +0200
6622207753Smm
6623207753Smm    Added a note to README that --disable-assembler
6624207753Smm    must be used on Darwin.
6625207753Smm
6626207753Smmcommit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
6627207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6628207753SmmDate:   Fri Dec 14 10:07:10 2007 +0200
6629207753Smm
6630207753Smm    Use the filename suffix .S instead of .s for assembler files
6631207753Smm    so that the preprocessor removes the /* */ style comments,
6632207753Smm    which are not supported by some non-GNU assemblers (Solaris)
6633207753Smm    that otherwise work with this code.
6634207753Smm
6635207753Smmcommit ec1c82b2e82f395f6e8e19ac212a639644330cd7
6636207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6637207753SmmDate:   Fri Dec 14 09:59:05 2007 +0200
6638207753Smm
6639207753Smm    Fixed wrong symbol name in crc64_x86.s.
6640207753Smm
6641207753Smmcommit 2881570df6803eed2fe550af34574e8e61794804
6642207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6643207753SmmDate:   Fri Dec 14 09:53:24 2007 +0200
6644207753Smm
6645207753Smm    Use .globl instead of .global in x86 assembler code for
6646207753Smm    better portability. Still needs fixing the commenting.
6647207753Smm
6648207753Smmcommit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
6649207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6650207753SmmDate:   Thu Dec 13 20:14:37 2007 +0200
6651207753Smm
6652207753Smm    Fixed a few short options that take an argument.
6653207753Smm    short_opts[] was missing colons to indicate
6654207753Smm    required argument. Thanks to Fabio Pedretti for
6655207753Smm    the bug report.
6656207753Smm
6657207753Smmcommit 918bcb0e0728d2d976621e9f35b56f224f11d989
6658207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6659207753SmmDate:   Tue Dec 11 17:08:04 2007 +0200
6660207753Smm
6661207753Smm    Removed uncompressed size tracking from Delta encoder too.
6662207753Smm
6663207753Smmcommit 3e16d51dd645667b05ff826665b1fc353aa41cd9
6664207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6665207753SmmDate:   Tue Dec 11 16:49:19 2007 +0200
6666207753Smm
6667207753Smm    Remove uncompressed size tracking from the filter encoders.
6668207753Smm    It's not strictly needed there, and just complicates the
6669207753Smm    code. LZ encoder never even had this feature.
6670207753Smm    
6671207753Smm    The primary reason to have uncompressed size tracking in
6672207753Smm    filter encoders was validating that the application
6673207753Smm    doesn't give different amount of input that it had
6674207753Smm    promised. A side effect was to validate internal workings
6675207753Smm    of liblzma.
6676207753Smm    
6677207753Smm    Uncompressed size tracking is still present in the Block
6678207753Smm    encoder. Maybe it should be added to LZMA_Alone and raw
6679207753Smm    encoders too. It's simpler to have one coder just to
6680207753Smm    validate the uncompressed size instead of having it
6681207753Smm    in every filter.
6682207753Smm
6683207753Smmcommit 5286723e0d1ac386d5b07f08d78e61becf895a5a
6684207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6685207753SmmDate:   Tue Dec 11 14:10:53 2007 +0200
6686207753Smm
6687207753Smm    Get rid of no-NLS gnulib. I don't know how to get it
6688207753Smm    working with Automake. People who want smaller lzmadec
6689207753Smm    should use --disable-nls on non-GNU systems.
6690207753Smm
6691207753Smmcommit ce8b036a6c7a43b290356b673d953f6d76b2be64
6692207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6693207753SmmDate:   Tue Dec 11 14:09:35 2007 +0200
6694207753Smm
6695207753Smm    Fixed a typo in tests/Makefile.am which prevented
6696207753Smm    building the tests if gnulib was needed.
6697207753Smm
6698207753Smmcommit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
6699207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6700207753SmmDate:   Tue Dec 11 11:18:58 2007 +0200
6701207753Smm
6702207753Smm    Fixed wrong type of flags_size in Subblock encoder.
6703207753Smm
6704207753Smmcommit ce64df716243fdc40359090d1f6541f3a4f5f21a
6705207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6706207753SmmDate:   Mon Dec 10 20:44:16 2007 +0200
6707207753Smm
6708207753Smm    Bumped version number to 4.42.3alpha.
6709207753Smm
6710207753Smmcommit b499a0403ea5c41d6a25b40275eb6c57643052ce
6711207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6712207753SmmDate:   Mon Dec 10 15:02:50 2007 +0200
6713207753Smm
6714207753Smm    Disabled some unneeded warnings and made "make dist" work.
6715207753Smm
6716207753Smmcommit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
6717207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6718207753SmmDate:   Sun Dec 9 21:43:15 2007 +0200
6719207753Smm
6720207753Smm    Added LZMA_SYNC_FLUSH support to the Copy filter.
6721207753Smm
6722207753Smmcommit 329c272d501e88793dda5540358d55c12428d194
6723207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6724207753SmmDate:   Sun Dec 9 17:14:07 2007 +0200
6725207753Smm
6726207753Smm    Added missing LZMA_API to the C versions of the CRC functions.
6727207753Smm    The x86 assembler versions were already OK.
6728207753Smm
6729207753Smmcommit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
6730207753SmmAuthor: Jim Meyering <meyering@redhat.com>
6731207753SmmDate:   Sun Dec 9 15:34:25 2007 +0100
6732207753Smm
6733207753Smm    * tests/test_block_header.c (test3): Remove duplicate initializer.
6734207753Smm
6735207753Smmcommit 07ac881779a8477f2c1ab112b91a129e24aa743c
6736207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6737207753SmmDate:   Sun Dec 9 17:06:45 2007 +0200
6738207753Smm
6739207753Smm    Take advantage of return_if_error() macro in more places.
6740207753Smm    Cleaned Subblock filter's initialization code too.
6741207753Smm
6742207753Smmcommit 41338717964f510ee61d70b25bd4c502ec9f77cf
6743207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6744207753SmmDate:   Sun Dec 9 12:13:01 2007 +0200
6745207753Smm
6746207753Smm    Added a bunch of .lzma test files.
6747207753Smm
6748207753Smmcommit ff946ceb7975d4f11950afd33f6315b4d20d1a03
6749207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6750207753SmmDate:   Sun Dec 9 11:24:48 2007 +0200
6751207753Smm
6752207753Smm    Re-enabled the security checks in Subblock decoder
6753207753Smm    that were disabled for debugging reasons.
6754207753Smm
6755207753Smmcommit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
6756207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6757207753SmmDate:   Sun Dec 9 11:03:28 2007 +0200
6758207753Smm
6759207753Smm    Fixed the tests to build with -Werror.
6760207753Smm
6761207753Smmcommit 5d018dc03549c1ee4958364712fb0c94e1bf2741
6762207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org>
6763207753SmmDate:   Sun Dec 9 00:42:33 2007 +0200
6764207753Smm
6765207753Smm    Imported to git.
6766