xref: /netbsd-src/external/public-domain/xz/dist/ChangeLog (revision e39ef1d61eee3ccba837ee281f1e098c864487aa)
1commit e45929260cd902036efd40c5610a8d0a50d5712b
2Author: Lasse Collin <lasse.collin@tukaani.org>
3Date:   2010-10-23 17:25:52 +0300
4
5    Build: Fix mydist rule when .git doesn't exist.
6
7 Makefile.am |    1 +
8 1 files changed, 1 insertions(+), 0 deletions(-)
9
10commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
11Author: Lasse Collin <lasse.collin@tukaani.org>
12Date:   2010-10-23 14:15:35 +0300
13
14    Add NEWS for 5.0.0.
15
16 NEWS |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17 1 files changed, 62 insertions(+), 0 deletions(-)
18
19commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
20Author: Lasse Collin <lasse.collin@tukaani.org>
21Date:   2010-10-23 14:02:53 +0300
22
23    Bump version to 5.0.0 and liblzma version-info to 5:0:0.
24
25 src/liblzma/Makefile.am        |    2 +-
26 src/liblzma/api/lzma/version.h |    8 ++++----
27 2 files changed, 5 insertions(+), 5 deletions(-)
28
29commit 8c947e9291691629714dafb4536c718b6cc24fbd
30Author: Lasse Collin <lasse.collin@tukaani.org>
31Date:   2010-10-23 12:30:54 +0300
32
33    liblzma: Make lzma_code() check the reserved members in lzma_stream.
34
35    If any of the reserved members in lzma_stream are non-zero
36    or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
37    that a new feature in the future is indicated by just setting
38    a reserved member to some other value, so the old liblzma
39    version need to catch it as an unsupported feature.
40
41 src/liblzma/common/common.c |   14 ++++++++++++++
42 1 files changed, 14 insertions(+), 0 deletions(-)
43
44commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
45Author: Lasse Collin <lasse.collin@tukaani.org>
46Date:   2010-10-23 12:26:33 +0300
47
48    Windows: Use MinGW's stdio functions.
49
50    The non-standard ones from msvcrt.dll appear to work
51    most of the time with XZ Utils, but there are some
52    corner cases where things may go very wrong. So it's
53    good to use the better replacements provided by
54    MinGW(-w64) runtime.
55
56 src/common/sysdefs.h |    5 +++++
57 1 files changed, 5 insertions(+), 0 deletions(-)
58
59commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
60Author: Lasse Collin <lasse.collin@tukaani.org>
61Date:   2010-10-23 12:21:32 +0300
62
63    liblzma: Use 512 as INDEX_GROUP_SIZE.
64
65    This lets compiler use shifting instead of 64-bit division.
66
67 src/liblzma/common/index.c |    2 +-
68 1 files changed, 1 insertions(+), 1 deletions(-)
69
70commit 613939fc82603b75b59eee840871a05bc8dd08e0
71Author: Lasse Collin <lasse.collin@tukaani.org>
72Date:   2010-10-23 12:20:11 +0300
73
74    liblzma: A few ABI tweaks to reserve space in structures.
75
76 src/liblzma/api/lzma/base.h         |    7 ++++++-
77 src/liblzma/api/lzma/lzma.h         |    4 ++--
78 src/liblzma/api/lzma/stream_flags.h |    4 ----
79 3 files changed, 8 insertions(+), 7 deletions(-)
80
81commit 68b83f252df3d27480a9f6f03445d16f6506fef1
82Author: Lasse Collin <lasse.collin@tukaani.org>
83Date:   2010-10-21 23:16:11 +0300
84
85    xz: Make sure that message_strm() can never return NULL.
86
87 src/xz/message.c |    7 +++++--
88 1 files changed, 5 insertions(+), 2 deletions(-)
89
90commit d09c5753e33ff96ee57edb6d1e98e34041203695
91Author: Lasse Collin <lasse.collin@tukaani.org>
92Date:   2010-10-21 23:06:31 +0300
93
94    liblzma: Update the comments in the API headers.
95
96    Adding support for LZMA_FINISH for Index encoding and
97    decoding needed tiny additions to the relevant .c files too.
98
99 src/liblzma/api/lzma.h              |    4 +-
100 src/liblzma/api/lzma/base.h         |   38 +++++++++++++-------------
101 src/liblzma/api/lzma/bcj.h          |    4 +-
102 src/liblzma/api/lzma/block.h        |    4 +-
103 src/liblzma/api/lzma/container.h    |   26 +++++++++++------
104 src/liblzma/api/lzma/filter.h       |   51 +++++++++++++++++------------------
105 src/liblzma/api/lzma/hardware.h     |    3 +-
106 src/liblzma/api/lzma/index.h        |   28 +++++++++++-------
107 src/liblzma/api/lzma/index_hash.h   |    2 +-
108 src/liblzma/api/lzma/lzma.h         |   46 +++++++++++++++++++++----------
109 src/liblzma/api/lzma/stream_flags.h |    4 +-
110 src/liblzma/api/lzma/vli.h          |   31 ++++++++++-----------
111 src/liblzma/common/index_decoder.c  |    1 +
112 src/liblzma/common/index_encoder.c  |    1 +
113 14 files changed, 136 insertions(+), 107 deletions(-)
114
115commit 33c1c0e102eb529588503b8beea0903a45488fad
116Author: Lasse Collin <lasse.collin@tukaani.org>
117Date:   2010-10-19 12:08:30 +0300
118
119    Update INSTALL.generic.
120
121 INSTALL.generic |   99 +++++++++++++++++++++++++++++++++++++++++++++----------
122 1 files changed, 81 insertions(+), 18 deletions(-)
123
124commit 0076e03641f201c4b77dddd5a6db5880be19a78c
125Author: Lasse Collin <lasse.collin@tukaani.org>
126Date:   2010-10-19 11:44:37 +0300
127
128    Clean up a few FIXMEs and TODOs.
129
130    lzma_chunk_size() was commented out because it is
131    currently useless.
132
133 src/liblzma/common/filter_encoder.c |    2 ++
134 src/liblzma/common/filter_encoder.h |    4 ++--
135 src/liblzma/lzma/lzma2_decoder.c    |    1 -
136 src/liblzma/lzma/lzma_decoder.c     |    4 ++--
137 src/liblzma/lzma/lzma_encoder.c     |    2 +-
138 src/xz/message.h                    |    2 +-
139 6 files changed, 8 insertions(+), 7 deletions(-)
140
141commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
142Author: Lasse Collin <lasse.collin@tukaani.org>
143Date:   2010-10-19 10:21:08 +0300
144
145    Update docs.
146
147 INSTALL    |  192 +++++++++++++++++++++++++++++++++++++++++-------------------
148 PACKAGERS  |  104 +++++++++------------------------
149 TODO       |   17 ++++--
150 dos/README |    2 +-
151 4 files changed, 172 insertions(+), 143 deletions(-)
152
153commit f0fa880d247e73264d2c04fe31fb3412318a0026
154Author: Lasse Collin <lasse.collin@tukaani.org>
155Date:   2010-10-12 15:13:30 +0300
156
157    xz: Avoid raise() also on OpenVMS.
158
159    This is similar to DOS/DJGPP that killing the program
160    with a signal will print a backtrace or a similar message.
161
162 src/xz/signals.c |    2 +-
163 1 files changed, 1 insertions(+), 1 deletions(-)
164
165commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
166Author: Lasse Collin <lasse.collin@tukaani.org>
167Date:   2010-10-11 21:26:19 +0300
168
169    xz: Avoid SA_RESTART for portability reasons.
170
171    SA_RESTART is not as portable as I had hoped. It's missing
172    at least from OpenVMS, QNX, and DJGPP). Luckily we can do
173    fine without SA_RESTART.
174
175 src/xz/message.c |   38 +++++++++++++++-----------------------
176 src/xz/message.h |    4 ++++
177 src/xz/signals.c |    6 ++++++
178 3 files changed, 25 insertions(+), 23 deletions(-)
179
180commit d52b411716a614c202e89ba732492efb9916cd3f
181Author: Lasse Collin <lasse.collin@tukaani.org>
182Date:   2010-10-10 17:58:58 +0300
183
184    xz: Use "%"PRIu32 instead of "%d" in a format string.
185
186 src/xz/message.c |    2 +-
187 1 files changed, 1 insertions(+), 1 deletions(-)
188
189commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
190Author: Lasse Collin <lasse.collin@tukaani.org>
191Date:   2010-10-10 17:43:26 +0300
192
193    test_files.sh: Fix the first line.
194
195    For some reason this prevented running the test only
196    on OS/2 and even on that it broke only recently.
197
198    Thanks to Elbert Pol.
199
200 tests/test_files.sh |    2 +-
201 1 files changed, 1 insertions(+), 1 deletions(-)
202
203commit d492b80ddd6f9a13419de6d102df7374d8f448e8
204Author: Lasse Collin <lasse.collin@tukaani.org>
205Date:   2010-10-10 16:49:01 +0300
206
207    lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
208
209 src/lzmainfo/lzmainfo.c |    2 +-
210 1 files changed, 1 insertions(+), 1 deletions(-)
211
212commit 825e859a9054bd91202e5723c41a17e72f63040a
213Author: Lasse Collin <lasse.collin@tukaani.org>
214Date:   2010-10-10 16:47:01 +0300
215
216    lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
217
218 src/lzmainfo/lzmainfo.c |    2 +-
219 1 files changed, 1 insertions(+), 1 deletions(-)
220
221commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
222Author: Lasse Collin <lasse.collin@tukaani.org>
223Date:   2010-10-09 23:20:51 +0300
224
225    lzmainfo: Use setmode() on DOS-like systems.
226
227 src/lzmainfo/lzmainfo.c |    9 +++++++++
228 1 files changed, 9 insertions(+), 0 deletions(-)
229
230commit ef364d3abc5647111c5424ea0d83a567e184a23b
231Author: Lasse Collin <lasse.collin@tukaani.org>
232Date:   2010-10-09 21:51:03 +0300
233
234    OS/2 and DOS: Be less verbose on signals.
235
236    Calling raise() to kill xz when user has pressed C-c
237    is a bit verbose on OS/2 and DOS/DJGPP. Instead of
238    calling raise(), set only the exit status to 1.
239
240 src/xz/signals.c |    7 +++++++
241 1 files changed, 7 insertions(+), 0 deletions(-)
242
243commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
244Author: Lasse Collin <lasse.collin@tukaani.org>
245Date:   2010-10-09 19:28:49 +0300
246
247    DOS: Update the Makefile, config.h and README.
248
249    This is now simpler and builds only xz.exe.
250
251 dos/Makefile |  211 ++++++++++++++--------------------------------------------
252 dos/README   |   73 +++++++--------------
253 dos/config.h |   45 +++---------
254 3 files changed, 86 insertions(+), 243 deletions(-)
255
256commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
257Author: Lasse Collin <lasse.collin@tukaani.org>
258Date:   2010-10-09 18:57:55 +0300
259
260    Windows: Put some license info into README-Windows.txt.
261
262 windows/README-Windows.txt |    8 ++++----
263 1 files changed, 4 insertions(+), 4 deletions(-)
264
265commit e75100f549f85d231df25c07aa94d63e78e2d668
266Author: Lasse Collin <lasse.collin@tukaani.org>
267Date:   2010-10-09 18:57:04 +0300
268
269    Windows: Fix a diagnostics bug in build.bash.
270
271 windows/build.bash |    2 +-
272 1 files changed, 1 insertions(+), 1 deletions(-)
273
274commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
275Author: Lasse Collin <lasse.collin@tukaani.org>
276Date:   2010-10-09 13:02:15 +0300
277
278    lzmainfo: Add Windows resource file.
279
280 src/lzmainfo/Makefile.am        |    9 +++++++++
281 src/lzmainfo/lzmainfo_w32res.rc |   12 ++++++++++++
282 2 files changed, 21 insertions(+), 0 deletions(-)
283
284commit 389d418445f1623593dfdbba55d52fbb6d1205f5
285Author: Lasse Collin <lasse.collin@tukaani.org>
286Date:   2010-10-09 12:57:25 +0300
287
288    Add missing public domain notice to lzmadec_w32res.rc.
289
290 src/xzdec/lzmadec_w32res.rc |    7 +++++++
291 1 files changed, 7 insertions(+), 0 deletions(-)
292
293commit 6389c773a4912dd9f111256d74ba1605230a7957
294Author: Lasse Collin <lasse.collin@tukaani.org>
295Date:   2010-10-09 12:52:12 +0300
296
297    Windows: Update common_w32res.rc.
298
299 src/common/common_w32res.rc |    9 +++------
300 1 files changed, 3 insertions(+), 6 deletions(-)
301
302commit 71275457ca24c9b01721f5cfc3638cf094daf454
303Author: Lasse Collin <lasse.collin@tukaani.org>
304Date:   2010-10-09 12:27:08 +0300
305
306    Windows: Make build.bash prefer MinGW-w32 over MinGW.
307
308    This is simply for licensing reasons. The 64-bit version
309    will be built with MinGW-w64 anyway (at least for now),
310    so using it also for 32-bit build allows using the same
311    copyright notice about the MinGW-w64/w32 runtime.
312
313    Note that using MinGW would require a copyright notice too,
314    because its runtime is not in the public domain either even
315    though MinGW's home page claims that it is public domain.
316    See <http://marc.info/?l=mingw-users&m=126489506214078>.
317
318 windows/build.bash |   18 +++++++++---------
319 1 files changed, 9 insertions(+), 9 deletions(-)
320
321commit 3ac35719d8433af937af6491383d4a50e343099b
322Author: Lasse Collin <lasse.collin@tukaani.org>
323Date:   2010-10-09 11:33:21 +0300
324
325    Windows: Copy COPYING-Windows.txt (if it exists) to the package.
326
327    Also, put README-Windows.txt to the doc directory like
328    the other documentation files.
329
330 windows/build.bash |   14 ++++++++++++--
331 1 files changed, 12 insertions(+), 2 deletions(-)
332
333commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
334Author: Lasse Collin <lasse.collin@tukaani.org>
335Date:   2010-10-08 21:42:37 +0300
336
337    Windows: Fix build.bash again.
338
339    630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
340
341 windows/build.bash |    7 ++++---
342 1 files changed, 4 insertions(+), 3 deletions(-)
343
344commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
345Author: Lasse Collin <lasse.collin@tukaani.org>
346Date:   2010-10-08 16:53:20 +0300
347
348    Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
349
350    Those are the same thing, and the former makes it a bit
351    easier to build the code with other build systems, because
352    one doesn't need to update the version number into custom
353    config.h.
354
355    This change affects only lzmainfo. Other tools were already
356    using LZMA_VERSION_STRING.
357
358 src/lzmainfo/lzmainfo.c |    2 +-
359 1 files changed, 1 insertions(+), 1 deletions(-)
360
361commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
362Author: Lasse Collin <lasse.collin@tukaani.org>
363Date:   2010-10-08 15:59:25 +0300
364
365    configure.ac: Remove two unused defines.
366
367 configure.ac |    4 ----
368 1 files changed, 0 insertions(+), 4 deletions(-)
369
370commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
371Author: Lasse Collin <lasse.collin@tukaani.org>
372Date:   2010-10-08 15:32:29 +0300
373
374    Make tests accommodate missing xz or xzdec.
375
376 tests/test_compress.sh |   45 +++++++++++++++++++++++++++++----------------
377 tests/test_files.sh    |   28 ++++++++++++++++++++++++++--
378 2 files changed, 55 insertions(+), 18 deletions(-)
379
380commit b1c7368f95e93ccdefdd0748e04398c26766f47f
381Author: Lasse Collin <lasse.collin@tukaani.org>
382Date:   2010-10-08 15:25:45 +0300
383
384    Build: Add options to disable individual command line tools.
385
386 configure.ac            |   38 ++++++++++++++++++++++++++++
387 src/Makefile.am         |   15 ++++++++++-
388 src/scripts/Makefile.am |   62 +++++++++++++++++++---------------------------
389 src/xz/Makefile.am      |    6 ++++-
390 src/xzdec/Makefile.am   |   12 +++++++-
391 5 files changed, 93 insertions(+), 40 deletions(-)
392
393commit 630a8beda34af0ac153c8051b1bf01230558e422
394Author: Lasse Collin <lasse.collin@tukaani.org>
395Date:   2010-10-07 00:44:53 +0300
396
397    Windows: Make build.bash work without --enable-dynamic=no.
398
399 windows/build.bash |    4 ++--
400 1 files changed, 2 insertions(+), 2 deletions(-)
401
402commit f9907503f882a745dce9d84c2968f6c175ba966a
403Author: Lasse Collin <lasse.collin@tukaani.org>
404Date:   2010-10-05 14:13:16 +0300
405
406    Build: Remove the static/dynamic tricks.
407
408    Most distros want xz linked against shared liblzma, so
409    it doesn't help much to require --enable-dynamic for that.
410    Those who want to avoid PIC on x86-32 to get better
411    performance, can still do it e.g. by using --disable-shared
412    to compile xz and then another pass to compile shared liblzma.
413
414    Part of these static/dynamic tricks were needed for Windows
415    in the past. Nowadays we rely on GCC and binutils to do the
416    right thing with auto-import. If the Autotooled build system
417    needs to support some other toolchain on Windows in the future,
418    this may need some rethinking.
419
420 configure.ac             |   74 ----------------------------------------------
421 debug/Makefile.am        |    5 +--
422 src/lzmainfo/Makefile.am |    4 +--
423 src/xz/Makefile.am       |    4 +--
424 src/xzdec/Makefile.am    |    4 +--
425 tests/Makefile.am        |    5 +--
426 6 files changed, 5 insertions(+), 91 deletions(-)
427
428commit fda4724d8114fccfa31c1839c15479f350c2fb4c
429Author: Lasse Collin <lasse.collin@tukaani.org>
430Date:   2010-10-05 12:18:58 +0300
431
432    configure.ac: Silence a warning from Autoconf 2.68.
433
434 configure.ac |    2 +-
435 1 files changed, 1 insertions(+), 1 deletions(-)
436
437commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
438Author: Lasse Collin <lasse.collin@tukaani.org>
439Date:   2010-10-04 19:43:01 +0300
440
441    A few more languages files to the xz man page.
442
443    Thanks to Jonathan Nieder.
444
445 src/xz/xz.1 |   45 ++++++++++++++++++++++++---------------------
446 1 files changed, 24 insertions(+), 21 deletions(-)
447
448commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
449Author: Lasse Collin <lasse.collin@tukaani.org>
450Date:   2010-10-02 12:07:33 +0300
451
452    Update the FAQ.
453
454 doc/faq.txt |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
455 1 files changed, 100 insertions(+), 4 deletions(-)
456
457commit 61ae593661e8dc402394e84d567ca2044a51572b
458Author: Lasse Collin <lasse.collin@tukaani.org>
459Date:   2010-10-02 11:38:20 +0300
460
461    liblzma: Small fixes to comments in the API headers.
462
463 src/liblzma/api/lzma/lzma.h |   10 +++++++---
464 1 files changed, 7 insertions(+), 3 deletions(-)
465
466commit 9166682dc601fd42c1b9510572e3f917d18de504
467Author: Lasse Collin <lasse.collin@tukaani.org>
468Date:   2010-09-28 11:40:12 +0300
469
470    Create the PDF versions of the man pages better.
471
472 Makefile.am          |   14 +++++++-----
473 build-aux/manconv.sh |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++
474 2 files changed, 66 insertions(+), 6 deletions(-)
475
476commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
477Author: Lasse Collin <lasse.collin@tukaani.org>
478Date:   2010-09-28 10:59:53 +0300
479
480    Move version.sh to build-aux.
481
482 Makefile.am          |    4 ++--
483 build-aux/version.sh |   24 ++++++++++++++++++++++++
484 configure.ac         |    2 +-
485 version.sh           |   24 ------------------------
486 windows/build.bash   |    2 +-
487 5 files changed, 28 insertions(+), 28 deletions(-)
488
489commit 84af9d8770451339a692e9b70f96cf56156a6069
490Author: Lasse Collin <lasse.collin@tukaani.org>
491Date:   2010-09-28 10:53:02 +0300
492
493    Update .gitignore.
494
495 .gitignore |   10 +++++++++-
496 1 files changed, 9 insertions(+), 1 deletions(-)
497
498commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
499Author: Lasse Collin <lasse.collin@tukaani.org>
500Date:   2010-09-28 01:17:14 +0300
501
502    Fix accomodate -> accommodate on the xz man page.
503
504 src/xz/xz.1 |    2 +-
505 1 files changed, 1 insertions(+), 1 deletions(-)
506
507commit cec0ddc8ec4ce81685a51998b978e22167e461f9
508Author: Lasse Collin <lasse.collin@tukaani.org>
509Date:   2010-09-27 23:29:34 +0300
510
511    Major man page updates.
512
513    Lots of content was updated on the xz man page.
514
515    Technical improvements:
516      - Start a new sentence on a new line.
517      - Use fairly short lines.
518      - Use constant-width font for examples (where supported).
519      - Some minor cleanups.
520
521    Thanks to Jonathan Nieder for some language fixes.
522
523 src/lzmainfo/lzmainfo.1 |   25 +-
524 src/scripts/xzdiff.1    |   15 +-
525 src/scripts/xzgrep.1    |   11 +-
526 src/scripts/xzless.1    |   13 +-
527 src/scripts/xzmore.1    |    9 +-
528 src/xz/xz.1             | 1964 ++++++++++++++++++++++++++++++++--------------
529 src/xzdec/xzdec.1       |   39 +-
530 7 files changed, 1435 insertions(+), 641 deletions(-)
531
532commit 075257ab0416a0603be930082e31a5703e4ba345
533Author: Lasse Collin <lasse.collin@tukaani.org>
534Date:   2010-09-26 18:10:31 +0300
535
536    Fix the preset -3e.
537
538    depth=0 was missing.
539
540 src/liblzma/lzma/lzma_encoder_presets.c |    1 +
541 1 files changed, 1 insertions(+), 0 deletions(-)
542
543commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
544Author: Lasse Collin <lasse.collin@tukaani.org>
545Date:   2010-09-23 14:03:10 +0300
546
547    Add translations.bash and translation notes to README.
548
549    translations.bash prints some messages from xz, which
550    hopefully makes it a bit easier to test translations.
551
552 README                 |   96 ++++++++++++++++++++++++++++++++++++++++++++--
553 debug/translation.bash |  100 ++++++++++++++++++++++++++++++++++++++++++++++++
554 2 files changed, 192 insertions(+), 4 deletions(-)
555
556commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
557Author: Lasse Collin <lasse.collin@tukaani.org>
558Date:   2010-09-17 22:14:30 +0300
559
560    xz: Update the Czech translation.
561
562    Thanks to Marek Černocký.
563
564 po/cs.po |  202 ++++++++++++++++++++++++++++++++++++++++----------------------
565 1 files changed, 131 insertions(+), 71 deletions(-)
566
567commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
568Author: Lasse Collin <lasse.collin@tukaani.org>
569Date:   2010-09-16 23:40:41 +0300
570
571    xz: Add Italian translation.
572
573    Thanks to Milo Casagrande and Lorenzo De Liso.
574
575 THANKS     |    2 +
576 po/LINGUAS |    1 +
577 po/it.po   |  902 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
578 3 files changed, 905 insertions(+), 0 deletions(-)
579
580commit 21088018554e2b0e02914205377ceb6e34a090bd
581Author: Lasse Collin <lasse.collin@tukaani.org>
582Date:   2010-09-15 00:34:13 +0300
583
584    xz: Edit a translators comment.
585
586 src/xz/list.c |    2 +-
587 1 files changed, 1 insertions(+), 1 deletions(-)
588
589commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
590Author: Lasse Collin <lasse.collin@tukaani.org>
591Date:   2010-09-14 22:47:14 +0300
592
593    xz: Add German translation.
594
595    Thanks to Andre Noll.
596
597 THANKS     |    1 +
598 po/LINGUAS |    1 +
599 po/de.po   |  903 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
600 3 files changed, 905 insertions(+), 0 deletions(-)
601
602commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
603Author: Lasse Collin <lasse.collin@tukaani.org>
604Date:   2010-09-10 14:30:25 +0300
605
606    Updated README.
607
608 README |    2 --
609 1 files changed, 0 insertions(+), 2 deletions(-)
610
611commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
612Author: Lasse Collin <lasse.collin@tukaani.org>
613Date:   2010-09-10 14:30:07 +0300
614
615    Updated INSTALL.
616
617 INSTALL |    7 ++++---
618 1 files changed, 4 insertions(+), 3 deletions(-)
619
620commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
621Author: Lasse Collin <lasse.collin@tukaani.org>
622Date:   2010-09-10 14:26:20 +0300
623
624    Updated the git repository address in ChangeLog.
625
626 ChangeLog |    2 +-
627 1 files changed, 1 insertions(+), 1 deletions(-)
628
629commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
630Author: Lasse Collin <lasse.collin@tukaani.org>
631Date:   2010-09-10 14:09:33 +0300
632
633    xz: Add a comment to translators about "literal context bits".
634
635 src/xz/message.c |    4 ++++
636 1 files changed, 4 insertions(+), 0 deletions(-)
637
638commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
639Author: Lasse Collin <lasse.collin@tukaani.org>
640Date:   2010-09-10 10:30:33 +0300
641
642    xz: Multiple fixes.
643
644    The code assumed that printing numbers with thousand separators
645    and decimal points would always produce only US-ASCII characters.
646    This was used for buffer sizes (with snprintf(), no overflows)
647    and aligning columns of the progress indicator and --list. That
648    assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
649    multibyte character support was added in this commit. The old
650    way is used if the operating system doesn't have enough multibyte
651    support (e.g. lacks wcwidth()).
652
653    The sizes of buffers were increased to accomodate multibyte
654    characters. I don't know how big they should be exactly, but
655    they aren't used for anything critical, so it's not too bad.
656    If they still aren't big enough, I hopefully get a bug report.
657    snprintf() takes care of avoiding buffer overflows.
658
659    Some static buffers were replaced with buffers allocated on
660    stack. double_to_str() was removed. uint64_to_str() and
661    uint64_to_nicestr() now share the static buffer and test
662    for thousand separator support.
663
664    Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
665    were marked to be translated. I had forgot these, plus they
666    wouldn't have worked correctly anyway before this commit,
667    because printing tables with multibyte strings didn't work.
668
669    Thanks to Marek Černocký for reporting the bug about
670    misaligned table columns in --list output.
671
672 configure.ac                    |    1 +
673 m4/tuklib_mbstr.m4              |   30 ++++++
674 src/common/tuklib_mbstr.h       |   66 +++++++++++++
675 src/common/tuklib_mbstr_fw.c    |   31 ++++++
676 src/common/tuklib_mbstr_width.c |   64 ++++++++++++
677 src/xz/Makefile.am              |    4 +-
678 src/xz/list.c                   |  205 ++++++++++++++++++++++++++-------------
679 src/xz/message.c                |   56 +++++++----
680 src/xz/message.h                |   10 ++-
681 src/xz/private.h                |    1 +
682 src/xz/util.c                   |  136 +++++++++-----------------
683 src/xz/util.h                   |    7 --
684 12 files changed, 424 insertions(+), 187 deletions(-)
685
686commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
687Author: Lasse Collin <lasse.collin@tukaani.org>
688Date:   2010-09-08 08:49:22 +0300
689
690    Update the Czech translation.
691
692    Thanks to Marek Černocký.
693
694 po/cs.po |  655 +++++++++++++++++++++++++++++++++++++++++++-------------------
695 1 files changed, 454 insertions(+), 201 deletions(-)
696
697commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
698Author: Lasse Collin <lasse.collin@tukaani.org>
699Date:   2010-09-07 12:31:40 +0300
700
701    xz: Add a note to translators.
702
703 src/xz/hardware.c |    2 ++
704 1 files changed, 2 insertions(+), 0 deletions(-)
705
706commit 77a7746616e555fc08028e883a56d06bf0088b81
707Author: Lasse Collin <lasse.collin@tukaani.org>
708Date:   2010-09-07 10:42:13 +0300
709
710    Fix use of N_() and ngettext().
711
712    I had somehow thought that N_() is usually used
713    as shorthand for ngettext().
714
715    This also fixes a missing \n from a call to ngettext().
716
717 src/common/tuklib_gettext.h |    4 ++--
718 src/xz/list.c               |    4 ++--
719 2 files changed, 4 insertions(+), 4 deletions(-)
720
721commit e6ad39335842343e622ab51207d1d3cb9caad801
722Author: Lasse Collin <lasse.collin@tukaani.org>
723Date:   2010-09-06 19:43:12 +0300
724
725    Add missing files to POTFILES.in.
726
727 po/POTFILES.in |    3 +++
728 1 files changed, 3 insertions(+), 0 deletions(-)
729
730commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
731Author: Lasse Collin <lasse.collin@tukaani.org>
732Date:   2010-09-06 10:16:24 +0300
733
734    xz: Improve a comment.
735
736 src/xz/file_io.c |    7 ++++---
737 1 files changed, 4 insertions(+), 3 deletions(-)
738
739commit bcb1b898341f7073f51660d7052d7ed6c5461a66
740Author: Lasse Collin <lasse.collin@tukaani.org>
741Date:   2010-09-05 21:34:29 +0300
742
743    xz: Update the comment about NetBSD in file_io.c.
744
745    Thanks to Joerg Sonnenberger.
746
747 src/xz/file_io.c |    8 ++++----
748 1 files changed, 4 insertions(+), 4 deletions(-)
749
750commit da014d55972f5addbf6b4360d3d8ed2ef4282170
751Author: Lasse Collin <lasse.collin@tukaani.org>
752Date:   2010-09-05 21:11:33 +0300
753
754    xz: Use an array instead of pointer for stdin_filename.
755
756    Thanks Joerg Sonnenberger.
757
758 src/xz/args.c |    2 +-
759 src/xz/args.h |    2 +-
760 2 files changed, 2 insertions(+), 2 deletions(-)
761
762commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
763Author: Lasse Collin <lasse.collin@tukaani.org>
764Date:   2010-09-05 12:16:17 +0300
765
766    xz: Hopefully ease translating the messages in list.c.
767
768 src/xz/list.c |   33 +++++++++++++++++++++++----------
769 1 files changed, 23 insertions(+), 10 deletions(-)
770
771commit ef840950ad99cf2955c754875af0e01acf125079
772Author: Lasse Collin <lasse.collin@tukaani.org>
773Date:   2010-09-04 23:14:44 +0300
774
775    xz: Fix grammar.
776
777 src/xz/options.c |    3 +--
778 1 files changed, 1 insertions(+), 2 deletions(-)
779
780commit c46afd6edc04ea140db6c59e8486f5707c810c13
781Author: Lasse Collin <lasse.collin@tukaani.org>
782Date:   2010-09-04 23:12:20 +0300
783
784    xz: Use lzma_lzma_preset() to initialize the options structure.
785
786 src/xz/options.c |   14 ++------------
787 1 files changed, 2 insertions(+), 12 deletions(-)
788
789commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
790Author: Lasse Collin <lasse.collin@tukaani.org>
791Date:   2010-09-04 22:16:28 +0300
792
793    Don't set lc=4 with --extreme.
794
795    This should reduce the cases where --extreme makes
796    compression worse. On the other hand, some other
797    files may now benefit slightly less from --extreme.
798
799 src/liblzma/lzma/lzma_encoder_presets.c |    1 -
800 1 files changed, 0 insertions(+), 1 deletions(-)
801
802commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
803Author: Lasse Collin <lasse.collin@tukaani.org>
804Date:   2010-09-04 22:10:32 +0300
805
806    xz: Minor improvements to --help and --long-help.
807
808 src/xz/message.c |   24 ++++++++++++------------
809 1 files changed, 12 insertions(+), 12 deletions(-)
810
811commit 373ee26f955617295c5c537b04a153a1969140d2
812Author: Jonathan Nieder <jrnieder@gmail.com>
813Date:   2010-09-03 16:49:15 -0500
814
815    Adjust memory limits in test_compress.sh
816
817    Testing compression at level -4 now requires 48 MiB of free store at
818    compression time and 5 MiB at decompression time.
819
820    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
821
822 tests/test_compress.sh |    2 +-
823 1 files changed, 1 insertions(+), 1 deletions(-)
824
825commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
826Author: Lasse Collin <lasse.collin@tukaani.org>
827Date:   2010-09-03 15:54:40 +0300
828
829    xz: Make -vv show also decompressor memory usage.
830
831 src/xz/coder.c |    7 +++++++
832 1 files changed, 7 insertions(+), 0 deletions(-)
833
834commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
835Author: Lasse Collin <lasse.collin@tukaani.org>
836Date:   2010-09-03 15:13:12 +0300
837
838    Tweak the compression presets -0 .. -5.
839
840    "Extreme" mode might need some further tweaking still.
841    Docs were not updated yet.
842
843 src/liblzma/lzma/lzma_encoder_presets.c |   29 +++++++++++++++++++----------
844 1 files changed, 19 insertions(+), 10 deletions(-)
845
846commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
847Author: Lasse Collin <lasse.collin@tukaani.org>
848Date:   2010-09-03 12:28:41 +0300
849
850    liblzma: Adjust default depth calculation for HC3 and HC4.
851
852    It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
853    This allows faster settings at lower nice_len values,
854    even though it seems that I won't use automatic depth
855    calcuation with HC3 and HC4 in the presets.
856
857 src/liblzma/lz/lz_encoder.c |    7 ++++---
858 1 files changed, 4 insertions(+), 3 deletions(-)
859
860commit fce69059cf901ce8075a78c7607d591f144a3b5a
861Author: Lasse Collin <lasse.collin@tukaani.org>
862Date:   2010-09-03 11:11:25 +0300
863
864    xz: Make --help two lines shorter.
865
866    At least for now, the --help option doesn't list any
867    options that take arguments, so "Mandatory arguments to..."
868    can be omitted.
869
870 src/xz/message.c |    7 +++++--
871 1 files changed, 5 insertions(+), 2 deletions(-)
872
873commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
874Author: Lasse Collin <lasse.collin@tukaani.org>
875Date:   2010-09-02 19:22:35 +0300
876
877    xz: Make setting a preset override a custom filter chain.
878
879    This is more logical behavior than ignoring preset level
880    options once a custom filter chain has been specified.
881
882 src/xz/coder.c |    9 +++++++++
883 1 files changed, 9 insertions(+), 0 deletions(-)
884
885commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
886Author: Lasse Collin <lasse.collin@tukaani.org>
887Date:   2010-09-02 19:09:57 +0300
888
889    xz: Always warn if adjusting dictionary size due to memlimit.
890
891 src/xz/coder.c |   28 +++++++++-------------------
892 1 files changed, 9 insertions(+), 19 deletions(-)
893
894commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
895Author: Lasse Collin <lasse.collin@tukaani.org>
896Date:   2010-08-10 11:04:30 +0300
897
898    Fix test_compress.sh.
899
900    It broke when --memory option was removed from xzdec.
901
902    Thanks to Jonathan Nieder.
903
904 tests/test_compress.sh |    6 +++---
905 1 files changed, 3 insertions(+), 3 deletions(-)
906
907commit 792331bdee706aa852a78b171040ebf814c6f3ae
908Author: Lasse Collin <lasse.collin@tukaani.org>
909Date:   2010-08-07 20:45:18 +0300
910
911    Disable the memory usage limiter by default.
912
913    For several people, the limiter causes bigger problems that
914    it solves, so it is better to have it disabled by default.
915    Those who want to have a limiter by default need to enable
916    it via the environment variable XZ_DEFAULTS.
917
918    Support for environment variable XZ_DEFAULTS was added. It is
919    parsed before XZ_OPT and technically identical with it. The
920    intended uses differ quite a bit though; see the man page.
921
922    The memory usage limit can now be set separately for
923    compression and decompression using --memlimit-compress and
924    --memlimit-decompress. To set both at once, -M or --memlimit
925    can be used. --memory was retained as a legacy alias for
926    --memlimit for backwards compatibility.
927
928    The semantics of --info-memory were changed in backwards
929    incompatible way. Compatibility wasn't meaningful due to
930    changes in the memory usage limiter functionality.
931
932    The memory usage limiter info is no longer shown at the
933    bottom of xz --long -help.
934
935    The memory usage limiter support for removed completely from xzdec.
936
937    xz's man page was updated to match the above changes. Various
938    unrelated fixes were also made to the man page.
939
940 src/xz/args.c     |   87 +++++++++-----
941 src/xz/coder.c    |    8 +-
942 src/xz/hardware.c |   96 ++++++++++-----
943 src/xz/hardware.h |   23 ++--
944 src/xz/list.c     |    2 +-
945 src/xz/message.c  |   39 ++-----
946 src/xz/message.h  |    4 -
947 src/xz/xz.1       |  341 +++++++++++++++++++++++++++++++++--------------------
948 src/xzdec/xzdec.1 |   45 +-------
949 src/xzdec/xzdec.c |  176 +---------------------------
950 10 files changed, 373 insertions(+), 448 deletions(-)
951
952commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
953Author: Lasse Collin <lasse.collin@tukaani.org>
954Date:   2010-08-06 20:22:16 +0300
955
956    Add missing const to a global constant in xz.
957
958 src/xz/args.c |    2 +-
959 src/xz/args.h |    2 +-
960 2 files changed, 2 insertions(+), 2 deletions(-)
961
962commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
963Author: Lasse Collin <lasse.collin@tukaani.org>
964Date:   2010-07-28 11:44:55 +0300
965
966    Language fixes for man pages.
967
968    Thanks to A. Costa and Jonathan Nieder.
969
970 src/lzmainfo/lzmainfo.1 |    4 ++--
971 src/xz/xz.1             |    6 +++---
972 2 files changed, 5 insertions(+), 5 deletions(-)
973
974commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
975Author: Lasse Collin <lasse.collin@tukaani.org>
976Date:   2010-07-27 20:47:12 +0300
977
978    Windows: Add a note about building a Git repository snapshot
979
980 windows/INSTALL-Windows.txt |    9 +++++++++
981 1 files changed, 9 insertions(+), 0 deletions(-)
982
983commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
984Author: Lasse Collin <lasse.collin@tukaani.org>
985Date:   2010-07-27 20:45:03 +0300
986
987    Windows: build.sh is a bash script so name it correctly.
988
989 INSTALL                     |    2 +-
990 windows/INSTALL-Windows.txt |    6 +-
991 windows/build.bash          |  189 +++++++++++++++++++++++++++++++++++++++++++
992 windows/build.sh            |  189 -------------------------------------------
993 4 files changed, 193 insertions(+), 193 deletions(-)
994
995commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
996Author: Lasse Collin <lasse.collin@tukaani.org>
997Date:   2010-07-27 20:27:32 +0300
998
999    Windows: Don't strip liblzma.a too much.
1000
1001 windows/build.sh |    3 ++-
1002 1 files changed, 2 insertions(+), 1 deletions(-)
1003
1004commit a540198ffb25fad36380c5e92ac20c2d28eec46a
1005Author: Lasse Collin <lasse.collin@tukaani.org>
1006Date:   2010-07-13 20:07:26 +0300
1007
1008    Updated THANKS.
1009
1010 THANKS |    1 +
1011 1 files changed, 1 insertions(+), 0 deletions(-)
1012
1013commit bab0f01ed931f606b4675aa9f9331a17cec09bad
1014Author: Lasse Collin <lasse.collin@tukaani.org>
1015Date:   2010-07-13 19:55:50 +0300
1016
1017    Add two simple example programs.
1018
1019    Hopefully these help a bit when learning the basics
1020    of liblzma API. I plan to write detailed examples about
1021    both basic and advanced features with lots of comments,
1022    but these two examples are good have right now.
1023
1024    The examples were written by Daniel Mealha Cabrita. Thanks.
1025
1026 doc/examples/xz_pipe_comp.c   |  127 +++++++++++++++++++++++++++++++++++++++++
1027 doc/examples/xz_pipe_decomp.c |  115 +++++++++++++++++++++++++++++++++++++
1028 2 files changed, 242 insertions(+), 0 deletions(-)
1029
1030commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
1031Author: Lasse Collin <lasse.collin@tukaani.org>
1032Date:   2010-06-15 14:06:29 +0300
1033
1034    Add --no-adjust.
1035
1036 src/xz/args.c    |    6 ++++++
1037 src/xz/coder.c   |    8 ++------
1038 src/xz/coder.h   |    4 ++++
1039 src/xz/message.c |    6 +++++-
1040 src/xz/xz.1      |   13 +++++++++++--
1041 5 files changed, 28 insertions(+), 9 deletions(-)
1042
1043commit 2130926dd1c839280358172dfadd8d3054bde2b4
1044Author: Lasse Collin <lasse.collin@tukaani.org>
1045Date:   2010-06-11 21:51:32 +0300
1046
1047    Updated THANKS.
1048
1049 THANKS |    1 +
1050 1 files changed, 1 insertions(+), 0 deletions(-)
1051
1052commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
1053Author: Lasse Collin <lasse.collin@tukaani.org>
1054Date:   2010-06-11 21:48:32 +0300
1055
1056    Clarify the description of the default memlimit in the man page.
1057
1058    Thanks to Denis Excoffier.
1059
1060 src/xz/xz.1 |    4 ++--
1061 1 files changed, 2 insertions(+), 2 deletions(-)
1062
1063commit e1b6935d60a00405e6b5b455a3426d2248cc926c
1064Author: Lasse Collin <lasse.collin@tukaani.org>
1065Date:   2010-06-11 21:43:28 +0300
1066
1067    Fix string to uint64_t conversion.
1068
1069    Thanks to Denis Excoffier for the bug report.
1070
1071 src/xz/util.c     |   10 ++++++++--
1072 src/xzdec/xzdec.c |   13 +++++++++++--
1073 2 files changed, 19 insertions(+), 4 deletions(-)
1074
1075commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
1076Author: Lasse Collin <lasse.collin@tukaani.org>
1077Date:   2010-06-11 10:40:28 +0300
1078
1079    Put the git commit to the filename in mydist rule.
1080
1081 Makefile.am |    6 +++++-
1082 1 files changed, 5 insertions(+), 1 deletions(-)
1083
1084commit d8b41eedce486d400f701b757b7b5e4e32276618
1085Author: Lasse Collin <lasse.collin@tukaani.org>
1086Date:   2010-06-02 23:13:55 +0300
1087
1088    Fix compiling with -Werror.
1089
1090 src/xz/message.c |    4 ++--
1091 1 files changed, 2 insertions(+), 2 deletions(-)
1092
1093commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
1094Author: Lasse Collin <lasse.collin@tukaani.org>
1095Date:   2010-06-02 23:09:22 +0300
1096
1097    Silence a bogus Valgrind warning.
1098
1099    When using -O2 with GCC, it liked to swap two comparisons
1100    in one "if" statement. It's otherwise fine except that
1101    the latter part, which is seemingly never executed, got
1102    executed (nothing wrong with that) and then triggered
1103    warning in Valgrind about conditional jump depending on
1104    uninitialized variable. A few people find this annoying
1105    so do things a bit differently to avoid the warning.
1106
1107 src/liblzma/lz/lz_encoder.c |    6 +++++-
1108 1 files changed, 5 insertions(+), 1 deletions(-)
1109
1110commit 29a7b250e685852f2f97615493ec49acaf528623
1111Author: Lasse Collin <lasse.collin@tukaani.org>
1112Date:   2010-06-02 21:32:12 +0300
1113
1114    Fix a Windows-specific FIXME in signal handling code.
1115
1116 src/xz/main.c    |   40 +++++++++++++++++++++++++++++++++++-----
1117 src/xz/private.h |    5 +++++
1118 src/xz/signals.c |   16 ++++++++--------
1119 3 files changed, 48 insertions(+), 13 deletions(-)
1120
1121commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
1122Author: Lasse Collin <lasse.collin@tukaani.org>
1123Date:   2010-06-02 17:46:58 +0300
1124
1125    Adjust SA_RESTART workaround.
1126
1127    I want to get a bug report if something else than
1128    DJGPP lacks SA_RESTART.
1129
1130 src/xz/message.c |   14 +++++++-------
1131 1 files changed, 7 insertions(+), 7 deletions(-)
1132
1133commit e243145c84ab5c3be8259fd486ead0de5235b3f0
1134Author: Lasse Collin <lasse.collin@tukaani.org>
1135Date:   2010-06-01 16:02:30 +0300
1136
1137    xz man page updates.
1138
1139    - Concatenating .xz files and padding
1140    - List mode
1141    - Robot mode
1142    - A few examples (but many more are needed)
1143
1144 src/xz/xz.1 |  385 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1145 1 files changed, 366 insertions(+), 19 deletions(-)
1146
1147commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
1148Author: Lasse Collin <lasse.collin@tukaani.org>
1149Date:   2010-06-01 15:51:44 +0300
1150
1151    Major update to xz --list.
1152
1153 src/xz/list.c |  652 +++++++++++++++++++++++++++++++++++++++++----------------
1154 1 files changed, 471 insertions(+), 181 deletions(-)
1155
1156commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
1157Author: Lasse Collin <lasse.collin@tukaani.org>
1158Date:   2010-06-01 14:13:03 +0300
1159
1160    Rename message_filters_get() to message_filters_to_str().
1161
1162 src/xz/message.c |    4 ++--
1163 src/xz/message.h |    2 +-
1164 2 files changed, 3 insertions(+), 3 deletions(-)
1165
1166commit 4b346ae8af20045027ae5efb068c6d69da3324d2
1167Author: Lasse Collin <lasse.collin@tukaani.org>
1168Date:   2010-06-01 14:09:12 +0300
1169
1170    Fix a comment.
1171
1172 src/liblzma/api/lzma/index.h |    2 +-
1173 1 files changed, 1 insertions(+), 1 deletions(-)
1174
1175commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
1176Author: Lasse Collin <lasse.collin@tukaani.org>
1177Date:   2010-05-27 16:17:42 +0300
1178
1179    Fix lzma_block_compressed_size().
1180
1181 src/liblzma/common/block_util.c |    6 +++---
1182 1 files changed, 3 insertions(+), 3 deletions(-)
1183
1184commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
1185Author: Lasse Collin <lasse.collin@tukaani.org>
1186Date:   2010-05-27 14:32:51 +0300
1187
1188    Take Cygwin into account in some #if lines.
1189
1190    This change is no-op, but good to have just in case
1191    for the future.
1192
1193 src/xz/signals.c |    2 +-
1194 src/xz/signals.h |    4 ++--
1195 2 files changed, 3 insertions(+), 3 deletions(-)
1196
1197commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
1198Author: Lasse Collin <lasse.collin@tukaani.org>
1199Date:   2010-05-27 13:42:44 +0300
1200
1201    Remove references to the Subblock filter in xz and tests.
1202
1203    Thanks to Jonathan Nieder.
1204
1205 src/xz/message.c          |    9 ---------
1206 tests/test_filter_flags.c |   23 -----------------------
1207 2 files changed, 0 insertions(+), 32 deletions(-)
1208
1209commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
1210Author: Lasse Collin <lasse.collin@tukaani.org>
1211Date:   2010-05-27 13:35:36 +0300
1212
1213    Remove unused chunk_size.c.
1214
1215    Thanks to Jonathan Nieder for the reminder.
1216
1217 src/liblzma/common/chunk_size.c |   67 ---------------------------------------
1218 1 files changed, 0 insertions(+), 67 deletions(-)
1219
1220commit 01a414eaf4be6352c06b48001b041b47e8202faa
1221Author: Jonathan Nieder <jrnieder@gmail.com>
1222Date:   2010-05-27 02:31:33 -0500
1223
1224    Use my_min() instead of MIN() in src/xz/list.c
1225
1226    This should have been done in
1227    920a69a8d8e4203c5edddd829d932130eac188ea.
1228
1229 src/xz/list.c |    2 +-
1230 1 files changed, 1 insertions(+), 1 deletions(-)
1231
1232commit 920a69a8d8e4203c5edddd829d932130eac188ea
1233Author: Lasse Collin <lasse.collin@tukaani.org>
1234Date:   2010-05-26 10:36:46 +0300
1235
1236    Rename MIN() and MAX() to my_min() and my_max().
1237
1238    This should avoid some minor portability issues.
1239
1240 debug/full_flush.c                             |    2 +-
1241 debug/sync_flush.c                             |    2 +-
1242 src/common/sysdefs.h                           |   12 +++++-------
1243 src/liblzma/common/block_buffer_encoder.c      |    2 +-
1244 src/liblzma/common/common.c                    |    2 +-
1245 src/liblzma/common/stream_buffer_encoder.c     |    2 +-
1246 src/liblzma/delta/delta_encoder.c              |    2 +-
1247 src/liblzma/lz/lz_decoder.c                    |    7 ++++---
1248 src/liblzma/lz/lz_decoder.h                    |    2 +-
1249 src/liblzma/lz/lz_encoder.c                    |    2 +-
1250 src/liblzma/lz/lz_encoder.h                    |    2 +-
1251 src/liblzma/lz/lz_encoder_mf.c                 |    4 ++--
1252 src/liblzma/lzma/lzma2_encoder.c               |    2 +-
1253 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |    2 +-
1254 src/liblzma/lzma/lzma_encoder_optimum_normal.c |   14 +++++++-------
1255 src/xz/args.c                                  |    3 ++-
1256 16 files changed, 31 insertions(+), 31 deletions(-)
1257
1258commit 019ae27c24d0c694545a6a46f8b9fb552198b015
1259Author: Lasse Collin <lasse.collin@tukaani.org>
1260Date:   2010-05-26 10:30:20 +0300
1261
1262    Fix compilation of debug/known_sizes.c.
1263
1264 debug/known_sizes.c |    2 +-
1265 1 files changed, 1 insertions(+), 1 deletions(-)
1266
1267commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
1268Author: Lasse Collin <lasse.collin@tukaani.org>
1269Date:   2010-05-26 10:28:54 +0300
1270
1271    Remove references to Subblock filter in debug/sync_flush.c.
1272
1273 debug/sync_flush.c |   13 -------------
1274 1 files changed, 0 insertions(+), 13 deletions(-)
1275
1276commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
1277Author: Lasse Collin <lasse.collin@tukaani.org>
1278Date:   2010-05-26 10:16:57 +0300
1279
1280    Better #error message.
1281
1282 src/common/sysdefs.h |    4 ++--
1283 1 files changed, 2 insertions(+), 2 deletions(-)
1284
1285commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
1286Author: Lasse Collin <lasse.collin@tukaani.org>
1287Date:   2010-05-26 09:55:47 +0300
1288
1289    Remove the Subblock filter code for now.
1290
1291    The spec isn't finished and the code didn't compile anymore.
1292    It won't be included in XZ Utils 5.0.0. It's easy to get it
1293    back once the spec is done.
1294
1295 configure.ac                                   |    6 +-
1296 src/liblzma/Makefile.am                        |    5 -
1297 src/liblzma/api/Makefile.am                    |    1 -
1298 src/liblzma/api/lzma.h                         |    1 -
1299 src/liblzma/api/lzma/subblock.h                |  200 -----
1300 src/liblzma/common/common.h                    |    6 -
1301 src/liblzma/common/filter_common.c             |    9 -
1302 src/liblzma/common/filter_decoder.c            |   16 -
1303 src/liblzma/common/filter_encoder.c            |   12 -
1304 src/liblzma/subblock/Makefile.inc              |   20 -
1305 src/liblzma/subblock/subblock_decoder.c        |  630 ---------------
1306 src/liblzma/subblock/subblock_decoder.h        |   22 -
1307 src/liblzma/subblock/subblock_decoder_helper.c |   70 --
1308 src/liblzma/subblock/subblock_decoder_helper.h |   29 -
1309 src/liblzma/subblock/subblock_encoder.c        |  984 ------------------------
1310 src/liblzma/subblock/subblock_encoder.h        |   21 -
1311 src/xz/args.c                                  |    9 +-
1312 src/xz/options.c                               |   61 --
1313 src/xz/options.h                               |    7 -
1314 19 files changed, 4 insertions(+), 2105 deletions(-)
1315
1316commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
1317Author: Lasse Collin <lasse.collin@tukaani.org>
1318Date:   2010-05-16 18:42:22 +0300
1319
1320    Split message_filters().
1321
1322    message_filters_to_str() converts the filter chain to
1323    a string. message_filters_show() replaces the original
1324    message_filters().
1325
1326    uint32_to_optstr() was also added to show the dictionary
1327    size in nicer format when possible.
1328
1329 src/xz/coder.c   |    2 +-
1330 src/xz/message.c |  187 ++++++++++++++++++++++++++++++++++-------------------
1331 src/xz/message.h |   14 ++++-
1332 3 files changed, 134 insertions(+), 69 deletions(-)
1333
1334commit d9986db782d6cf0f314342127280519339378fa0
1335Author: Lasse Collin <lasse.collin@tukaani.org>
1336Date:   2010-05-14 23:17:20 +0300
1337
1338    Omit lzma_restrict from the API headers.
1339
1340    It isn't really useful so omitting it makes things
1341    shorter and slightly more readable.
1342
1343 src/liblzma/api/lzma.h       |   12 ------------
1344 src/liblzma/api/lzma/index.h |    5 ++---
1345 src/liblzma/api/lzma/vli.h   |   11 +++++------
1346 3 files changed, 7 insertions(+), 21 deletions(-)
1347
1348commit 0d3489efca0a723dca0394809fa3e6170843af4b
1349Author: Lasse Collin <lasse.collin@tukaani.org>
1350Date:   2010-05-10 19:57:24 +0300
1351
1352    Updated INSTALL.
1353
1354 INSTALL |    5 -----
1355 1 files changed, 0 insertions(+), 5 deletions(-)
1356
1357commit 3fb3d594a2b53886adee161b6261e92277f05f7c
1358Author: Lasse Collin <lasse.collin@tukaani.org>
1359Date:   2010-05-10 19:54:52 +0300
1360
1361    Updated THANKS.
1362
1363 THANKS |    1 +
1364 1 files changed, 1 insertions(+), 0 deletions(-)
1365
1366commit 6548e304657e77d3a972053db3c41c5daf591113
1367Author: Lasse Collin <lasse.collin@tukaani.org>
1368Date:   2010-05-10 19:54:15 +0300
1369
1370    Updates to tuklib_physmem and tuklib_cpucores.
1371
1372    Don't use #error to generate compile error, because some
1373    compilers actually don't take it as an error. This fixes
1374    tuklib_physmem on IRIX.
1375
1376    Fix incorrect error check for sysconf() return values.
1377
1378    Add AIX, HP-UX, and Tru64 specific code to detect the
1379    amount RAM.
1380
1381    Add HP-UX specific code to detect the number of CPU cores.
1382
1383    Thanks a lot to Peter O'Gorman for initial patches,
1384    testing, and debugging these fixes.
1385
1386 m4/tuklib_cpucores.m4        |   33 ++++++++++++++++---
1387 m4/tuklib_physmem.m4         |   72 ++++++++++++++++++++++++++++++++++++++++-
1388 src/common/tuklib_cpucores.c |   14 +++++++-
1389 src/common/tuklib_physmem.c  |   33 ++++++++++++++++++-
1390 4 files changed, 141 insertions(+), 11 deletions(-)
1391
1392commit a290cfee3e23f046889c022aa96b4eca2016fdda
1393Author: Lasse Collin <lasse.collin@tukaani.org>
1394Date:   2010-04-12 21:55:56 +0300
1395
1396    Show both elapsed time and estimated remaining time in xz -v.
1397
1398    The extra space for showing both has been taken from the
1399    sizes field. If the sizes grow big, bigger units than MiB
1400    will be used. It makes it slightly difficult to see that
1401    progress is still happening with huge files, but it should
1402    be OK in practice.
1403
1404    Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
1405    and Jonathan Nieder for suggestions how to fix it.
1406
1407 THANKS           |    1 +
1408 src/xz/message.c |   86 ++++++++++++++++++++++++------------------------------
1409 2 files changed, 39 insertions(+), 48 deletions(-)
1410
1411commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
1412Author: Lasse Collin <lasse.collin@tukaani.org>
1413Date:   2010-03-31 16:47:25 +0300
1414
1415    Add a simple tip to faq.txt about tar and xz.
1416
1417    Thanks to Gilles Espinasse.
1418
1419 THANKS      |    1 +
1420 doc/faq.txt |    6 ++++++
1421 2 files changed, 7 insertions(+), 0 deletions(-)
1422
1423commit c737eec91d200d730aa82662affd6b06ebb0bff0
1424Author: Lasse Collin <lasse.collin@tukaani.org>
1425Date:   2010-03-22 21:03:03 +0200
1426
1427    Updated THANKS.
1428
1429 THANKS |    1 +
1430 1 files changed, 1 insertions(+), 0 deletions(-)
1431
1432commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
1433Author: Lasse Collin <lasse.collin@tukaani.org>
1434Date:   2010-03-07 19:52:25 +0200
1435
1436    Fix xzgrep to not break if filenames have spaces or quotes.
1437
1438    Thanks to someone who reported the bug on IRC.
1439
1440 src/scripts/xzgrep.in |    2 +-
1441 1 files changed, 1 insertions(+), 1 deletions(-)
1442
1443commit cf38da00a140bd3bd65b192390ae5553380fd774
1444Author: Lasse Collin <lasse.collin@tukaani.org>
1445Date:   2010-03-07 13:59:32 +0200
1446
1447    Treat all integer multiplier suffixes as base-2.
1448
1449    Originally both base-2 and base-10 were supported, but since
1450    there seems to be little need for base-10 in XZ Utils, treat
1451    everything as base-2 and also be more relaxed about the case
1452    of the first letter of the suffix. Now xz will accept e.g.
1453    KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
1454    recommended spelling of the suffixes are still KiB, MiB, and GiB.
1455
1456 src/xz/util.c     |   53 +++++++++++++++++++++++------------------------------
1457 src/xz/xz.1       |   48 ++++++++++++++++++++++++++++--------------------
1458 src/xzdec/xzdec.c |   42 ++++++++++++++++--------------------------
1459 3 files changed, 67 insertions(+), 76 deletions(-)
1460
1461commit 00fc1211ae7b687ac912098f4479112059deccbd
1462Author: Lasse Collin <lasse.collin@tukaani.org>
1463Date:   2010-03-07 13:50:23 +0200
1464
1465    Consistently round up the memory usage limit in messages.
1466
1467    It still feels a bit wrong to round 1 byte to 1 MiB but
1468    at least it is now done consistently so that the same
1469    byte value is always rounded the same way to MiB.
1470
1471 src/xz/message.c  |    5 +++--
1472 src/xzdec/xzdec.c |    7 +++++--
1473 2 files changed, 8 insertions(+), 4 deletions(-)
1474
1475commit 9886d436ff5615fc70eef32ff757b1e934069621
1476Author: Lasse Collin <lasse.collin@tukaani.org>
1477Date:   2010-03-07 13:34:34 +0200
1478
1479    Change the default of --enable-assume-ram from 32 to 128 MiB.
1480
1481    This is to allow files created with "xz -9" to be decompressed
1482    if the amount of RAM cannot be determined.
1483
1484 INSTALL      |    5 ++---
1485 configure.ac |   11 ++++++-----
1486 2 files changed, 8 insertions(+), 8 deletions(-)
1487
1488commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
1489Author: Lasse Collin <lasse.collin@tukaani.org>
1490Date:   2010-03-07 13:29:28 +0200
1491
1492    Increase the default memory usage limit on "low-memory" systems.
1493
1494    Previously the default limit was always 40 % of RAM. The
1495    new limit is a little bit more complex:
1496
1497      - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
1498        as the limit.
1499
1500      - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
1501
1502      - Otherwise 80 % of RAM is used as the limit.
1503
1504    This should make it possible to decompress files created with
1505    "xz -9" on more systems. Swapping is generally more expected
1506    on systems with less RAM, so higher default limit on them
1507    shouldn't cause too bad surprises in terms of heavy swapping.
1508    Instead, the higher default limit should reduce the number of
1509    bad surprises when it used to prevent decompression of files
1510    created with "xz -9". The DoS prevention system shouldn't be
1511    a DoS itself.
1512
1513    Note that even with the new default limit, a system with 64 MiB
1514    RAM cannot decompress files created with "xz -9" without user
1515    overriding the limit. This should be OK, because if xz is going
1516    to need more memory than the system has RAM, it will run very
1517    very slowly and thus it's good that user has to override the limit
1518    in that case.
1519
1520 src/xz/hardware.c |   43 +++++++++++++++++++++++++++++++------------
1521 src/xz/xz.1       |   21 +++++++++++++++------
1522 src/xzdec/xzdec.1 |    8 ++++----
1523 src/xzdec/xzdec.c |   42 ++++++++++++++++++++++++++++++------------
1524 4 files changed, 80 insertions(+), 34 deletions(-)
1525
1526commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
1527Author: Lasse Collin <lasse.collin@tukaani.org>
1528Date:   2010-03-06 21:36:19 +0200
1529
1530    Updated THANKS.
1531
1532 THANKS |    1 +
1533 1 files changed, 1 insertions(+), 0 deletions(-)
1534
1535commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
1536Author: Lasse Collin <lasse.collin@tukaani.org>
1537Date:   2010-03-06 21:17:20 +0200
1538
1539    Fix missing initialization in lzma_strm_init().
1540
1541    With bad luck, lzma_code() could return LZMA_BUF_ERROR
1542    when it shouldn't.
1543
1544    This has been here since the early days of liblzma.
1545    It got triggered by the modifications made to the xz
1546    tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
1547    but only when decompressing .lzma files. Somehow I managed
1548    to miss testing that with Valgrind earlier.
1549
1550    This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
1551    Thanks to Rafał Mużyło for helping to debug it on IRC.
1552
1553 src/liblzma/common/common.c |    1 +
1554 1 files changed, 1 insertions(+), 0 deletions(-)
1555
1556commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
1557Author: Lasse Collin <lasse.collin@tukaani.org>
1558Date:   2010-02-12 13:16:15 +0200
1559
1560    Collection of language fixes to comments and docs.
1561
1562    Thanks to Jonathan Nieder.
1563
1564 README                                         |    2 +-
1565 configure.ac                                   |    2 +-
1566 doc/faq.txt                                    |    2 +-
1567 extra/7z2lzma/7z2lzma.bash                     |    2 +-
1568 src/common/tuklib_progname.c                   |    2 +-
1569 src/common/tuklib_progname.h                   |    2 +-
1570 src/liblzma/api/lzma/base.h                    |    8 ++++----
1571 src/liblzma/api/lzma/bcj.h                     |    2 +-
1572 src/liblzma/api/lzma/block.h                   |    2 +-
1573 src/liblzma/api/lzma/check.h                   |    2 +-
1574 src/liblzma/api/lzma/filter.h                  |    4 ++--
1575 src/liblzma/api/lzma/index.h                   |    6 +++---
1576 src/liblzma/api/lzma/lzma.h                    |    2 +-
1577 src/liblzma/api/lzma/version.h                 |    2 +-
1578 src/liblzma/api/lzma/vli.h                     |    2 +-
1579 src/liblzma/common/block_header_encoder.c      |    2 +-
1580 src/liblzma/common/chunk_size.c                |    4 ++--
1581 src/liblzma/common/common.h                    |    4 ++--
1582 src/liblzma/common/filter_buffer_decoder.c     |    2 +-
1583 src/liblzma/common/filter_encoder.c            |    4 ++--
1584 src/liblzma/common/index.c                     |    6 +++---
1585 src/liblzma/common/index_encoder.c             |    2 +-
1586 src/liblzma/common/stream_encoder.c            |    2 +-
1587 src/liblzma/common/vli_decoder.c               |    2 +-
1588 src/liblzma/lz/lz_encoder.c                    |    2 +-
1589 src/liblzma/lz/lz_encoder.h                    |    2 +-
1590 src/liblzma/lzma/lzma2_encoder.c               |    2 +-
1591 src/liblzma/lzma/lzma_decoder.c                |    4 ++--
1592 src/liblzma/lzma/lzma_decoder.h                |    2 +-
1593 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |    2 +-
1594 src/liblzma/lzma/lzma_encoder_optimum_normal.c |    2 +-
1595 src/liblzma/lzma/lzma_encoder_private.h        |    2 +-
1596 src/liblzma/simple/simple_coder.c              |    2 +-
1597 src/liblzma/subblock/subblock_encoder.c        |    2 +-
1598 src/scripts/xzdiff.1                           |    2 +-
1599 src/scripts/xzless.1                           |   10 +++++-----
1600 src/xz/coder.c                                 |    2 +-
1601 src/xz/file_io.c                               |    2 +-
1602 src/xz/main.c                                  |    6 +++---
1603 src/xz/main.h                                  |    2 +-
1604 src/xz/message.c                               |   10 +++++-----
1605 src/xz/message.h                               |    2 +-
1606 src/xz/xz.1                                    |   16 ++++++++--------
1607 src/xzdec/lzmadec_w32res.rc                    |    2 +-
1608 src/xzdec/xzdec_w32res.rc                      |    2 +-
1609 tests/test_index.c                             |    2 +-
1610 windows/build.sh                               |    4 ++--
1611 47 files changed, 77 insertions(+), 77 deletions(-)
1612
1613commit 4785f2021aa6a23f1caf724fcc823e562584f225
1614Author: Lasse Collin <lasse.collin@tukaani.org>
1615Date:   2010-02-12 12:41:20 +0200
1616
1617    Fix jl -> jb in ASM files.
1618
1619 src/liblzma/check/crc32_x86.S |    2 +-
1620 src/liblzma/check/crc64_x86.S |    4 ++--
1621 2 files changed, 3 insertions(+), 3 deletions(-)
1622
1623commit 6b50c9429bf85521d355adc61745d06ee017f8c8
1624Author: Lasse Collin <lasse.collin@tukaani.org>
1625Date:   2010-02-12 12:31:22 +0200
1626
1627    Use __APPLE__ instead of __MACH__ in ASM files.
1628
1629    This allows the files to work on HURD.
1630
1631    Thanks to Jonathan Nieder.
1632
1633 src/liblzma/check/crc32_x86.S |    8 ++++----
1634 src/liblzma/check/crc64_x86.S |    8 ++++----
1635 2 files changed, 8 insertions(+), 8 deletions(-)
1636
1637commit 6503fde658a5cdbdd907a788865470dd64771601
1638Author: Lasse Collin <lasse.collin@tukaani.org>
1639Date:   2010-02-07 19:48:06 +0200
1640
1641    Subtle change to liblzma Block handling API.
1642
1643    lzma_block.version has to be initialized even for
1644    lzma_block_header_decode(). This way a future version
1645    of liblzma won't allocate memory in a way that an old
1646    application doesn't know how to free it.
1647
1648    The subtlety of this change is that all current apps
1649    using lzma_block_header_decode() will keep working for
1650    now, because the only possible version value is zero,
1651    and lzma_block_header_decode() unconditionally sets the
1652    version to zero even now. Unless fixed, these apps will
1653    break in the future if a new version of the Block options
1654    is ever needed.
1655
1656 src/liblzma/api/lzma/block.h        |   39 +++++++++++++++-------------------
1657 src/liblzma/common/stream_decoder.c |    3 ++
1658 2 files changed, 20 insertions(+), 22 deletions(-)
1659
1660commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
1661Author: Lasse Collin <lasse.collin@tukaani.org>
1662Date:   2010-02-02 11:50:11 +0200
1663
1664    Fix wrong assertion.
1665
1666    This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
1667
1668 src/xz/main.c |    5 +++--
1669 1 files changed, 3 insertions(+), 2 deletions(-)
1670
1671commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
1672Author: Lasse Collin <lasse.collin@tukaani.org>
1673Date:   2010-02-01 22:48:42 +0200
1674
1675    Updated TODO.
1676
1677 TODO |    4 ----
1678 1 files changed, 0 insertions(+), 4 deletions(-)
1679
1680commit fef6333f52c8801308c3b78acb7942988541d137
1681Author: Lasse Collin <lasse.collin@tukaani.org>
1682Date:   2010-02-01 22:47:54 +0200
1683
1684    Fix typos in comments.
1685
1686 src/xz/list.c    |    2 +-
1687 windows/build.sh |    2 +-
1688 2 files changed, 2 insertions(+), 2 deletions(-)
1689
1690commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
1691Author: Lasse Collin <lasse.collin@tukaani.org>
1692Date:   2010-02-01 22:46:56 +0200
1693
1694    Fix signal handling for --list.
1695
1696 src/xz/main.c |   19 ++++++++++++++-----
1697 1 files changed, 14 insertions(+), 5 deletions(-)
1698
1699commit 82220a149015616f75641ee8bbea415137535b9b
1700Author: Lasse Collin <lasse.collin@tukaani.org>
1701Date:   2010-02-01 11:44:45 +0200
1702
1703    Fix compression of symlinks with --force.
1704
1705    xz --force accepted symlinks, but didn't remove
1706    them after successful compression. Instead, an error
1707    message was displayed.
1708
1709 src/xz/file_io.c |   14 +++++++++++++-
1710 1 files changed, 13 insertions(+), 1 deletions(-)
1711
1712commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
1713Author: Lasse Collin <lasse.collin@tukaani.org>
1714Date:   2010-02-01 10:20:57 +0200
1715
1716    Fix a comment.
1717
1718 windows/build.sh |    5 ++---
1719 1 files changed, 2 insertions(+), 3 deletions(-)
1720
1721commit f9dd797a423a148903cf345b4146cb1fe1eab11d
1722Author: Lasse Collin <lasse.collin@tukaani.org>
1723Date:   2010-01-31 23:43:54 +0200
1724
1725    Updated THANKS.
1726
1727 THANKS |    1 +
1728 1 files changed, 1 insertions(+), 0 deletions(-)
1729
1730commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
1731Author: Lasse Collin <lasse.collin@tukaani.org>
1732Date:   2010-01-31 23:41:29 +0200
1733
1734    Updated TODO.
1735
1736 TODO |   17 +++++++++++------
1737 1 files changed, 11 insertions(+), 6 deletions(-)
1738
1739commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
1740Author: Lasse Collin <lasse.collin@tukaani.org>
1741Date:   2010-01-31 23:35:04 +0200
1742
1743    Mention TODO in README.
1744
1745 README |    1 +
1746 1 files changed, 1 insertions(+), 0 deletions(-)
1747
1748commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
1749Author: Lasse Collin <lasse.collin@tukaani.org>
1750Date:   2010-01-31 23:31:14 +0200
1751
1752    Updated INSTALL.
1753
1754 INSTALL |   52 ++++++++++++++++++++++++++--------------------------
1755 1 files changed, 26 insertions(+), 26 deletions(-)
1756
1757commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
1758Author: Lasse Collin <lasse.collin@tukaani.org>
1759Date:   2010-01-31 23:28:51 +0200
1760
1761    Revise the Windows build files.
1762
1763    The old Makefile + config.h was deleted, because it
1764    becomes outdated too easily and building with the
1765    Autotools based build system works fine even on Windows.
1766
1767    windows/build.sh hasn't got much testing, but it should
1768    work to build 32-bit x86 and x86-64 versions of XZ Utils
1769    using MSYS, MinGW or MinGW-w32, and MinGW-w64.
1770
1771    windows/INSTALL-Windows.txt describes what packages are
1772    needed and how to install them.
1773
1774    windows/README-Windows.txt is a readme file for the binary
1775    package that build.sh hopefully builds.
1776
1777    There are no instructions about using Autotools for now,
1778    so those using a git snapshot may want to run
1779    "autoreconf -fi && ./configure && make mydist" on a UN*X
1780    box and then copy the resulting .tar.gz to a Windows.
1781
1782 windows/INSTALL-Windows.txt |  131 ++++++++++++++++++
1783 windows/Makefile            |  320 -------------------------------------------
1784 windows/README              |  155 ---------------------
1785 windows/README-Windows.txt  |  115 ++++++++++++++++
1786 windows/build.sh            |  189 +++++++++++++++++++++++++
1787 windows/config.h            |  170 -----------------------
1788 6 files changed, 435 insertions(+), 645 deletions(-)
1789
1790commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
1791Author: Lasse Collin <lasse.collin@tukaani.org>
1792Date:   2010-01-31 19:52:38 +0200
1793
1794    Select the default integrity check type at runtime.
1795
1796    Previously it was set statically to CRC64 or CRC32
1797    depending on options passed to the configure script.
1798
1799 src/xz/coder.c |   19 ++++++++++++++-----
1800 1 files changed, 14 insertions(+), 5 deletions(-)
1801
1802commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
1803Author: Lasse Collin <lasse.collin@tukaani.org>
1804Date:   2010-01-31 18:17:50 +0200
1805
1806    Improve displaying of the memory usage limit.
1807
1808 src/xz/coder.c   |    8 +++-----
1809 src/xz/message.c |   37 +++++++++++++++++++++++++++++--------
1810 src/xz/util.c    |    7 +++++++
1811 src/xz/util.h    |    6 ++++++
1812 4 files changed, 45 insertions(+), 13 deletions(-)
1813
1814commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
1815Author: Lasse Collin <lasse.collin@tukaani.org>
1816Date:   2010-01-31 12:53:56 +0200
1817
1818    Don't use uninitialized sigset_t.
1819
1820    If signal handlers haven't been established, then it's
1821    useless to try to block them, especially since the sigset_t
1822    used for blocking hasn't been initialized yet.
1823
1824 src/xz/signals.c |   34 ++++++++++++++++++++++++----------
1825 1 files changed, 24 insertions(+), 10 deletions(-)
1826
1827commit 231c3c7098f1099a56abb8afece76fc9b8699f05
1828Author: Lasse Collin <lasse.collin@tukaani.org>
1829Date:   2010-01-31 12:01:54 +0200
1830
1831    Delay opening the destionation file and other fixes.
1832
1833    The opening of the destination file is now delayed a little.
1834    The coder is initialized, and if decompressing, the memory
1835    usage of the first Block compared against the memory
1836    usage limit before the destination file is opened. This
1837    means that if --force was used, the old "target" file won't
1838    be deleted so easily when something goes wrong very early.
1839    Thanks to Mark K for the bug report.
1840
1841    The above fix required some changes to progress message
1842    handling. Now there is a separate function for setting and
1843    printing the filename. It is used also in list.c.
1844
1845    list_file() now handles stdin correctly (gives an error).
1846
1847    A useless check for user_abort was removed from file_io.c.
1848
1849 src/xz/coder.c   |   64 ++++++++++++++++++++++----------
1850 src/xz/file_io.c |  107 ++++++++++++++++++++++++++----------------------------
1851 src/xz/file_io.h |    8 +++-
1852 src/xz/list.c    |   28 +++++----------
1853 src/xz/message.c |   46 +++++++++++++----------
1854 src/xz/message.h |   29 ++++++++++-----
1855 6 files changed, 157 insertions(+), 125 deletions(-)
1856
1857commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
1858Author: Lasse Collin <lasse.collin@tukaani.org>
1859Date:   2010-01-29 22:48:04 +0200
1860
1861    Add list.h to src/xz/Makefile.am.
1862
1863    This should have been already in
1864    0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
1865
1866 src/xz/Makefile.am |    1 +
1867 1 files changed, 1 insertions(+), 0 deletions(-)
1868
1869commit b4b1a56e0cbd597157858264f5c7189201ac9018
1870Author: Lasse Collin <lasse.collin@tukaani.org>
1871Date:   2010-01-29 13:24:27 +0200
1872
1873    Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
1874
1875 Makefile.am |    1 +
1876 1 files changed, 1 insertions(+), 0 deletions(-)
1877
1878commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
1879Author: Lasse Collin <lasse.collin@tukaani.org>
1880Date:   2010-01-27 16:42:11 +0200
1881
1882    Silence two compiler warnings on DOS-like systems.
1883
1884 src/common/tuklib_open_stdxxx.c |    6 +++++-
1885 src/xz/file_io.c                |    3 +++
1886 2 files changed, 8 insertions(+), 1 deletions(-)
1887
1888commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
1889Author: Lasse Collin <lasse.collin@tukaani.org>
1890Date:   2010-01-27 13:31:03 +0200
1891
1892    Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
1893
1894 configure.ac              |    9 ++-------
1895 src/liblzma/liblzma.pc.in |    2 +-
1896 src/lzmainfo/lzmainfo.c   |    2 +-
1897 src/xz/message.c          |    2 +-
1898 src/xzdec/xzdec.c         |    2 +-
1899 5 files changed, 6 insertions(+), 11 deletions(-)
1900
1901commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
1902Author: Lasse Collin <lasse.collin@tukaani.org>
1903Date:   2010-01-26 23:37:46 +0200
1904
1905    Add a missing space to an error message.
1906
1907    Thanks to Robert Readman.
1908
1909 src/xz/args.c |    2 +-
1910 1 files changed, 1 insertions(+), 1 deletions(-)
1911
1912commit e5496f9628ff5979392a80421d0b63a4de8015b4
1913Author: Lasse Collin <lasse.collin@tukaani.org>
1914Date:   2010-01-26 22:53:37 +0200
1915
1916    Use past tense in error message in io_unlink().
1917
1918    Added a note to translators too.
1919
1920    Thanks to Robert Readman.
1921
1922 THANKS           |    1 +
1923 src/xz/file_io.c |   14 ++++++++++++--
1924 2 files changed, 13 insertions(+), 2 deletions(-)
1925
1926commit d9a9800597ea540090e434132c3b511217df0a2b
1927Author: Lasse Collin <lasse.collin@tukaani.org>
1928Date:   2010-01-26 15:42:24 +0200
1929
1930    Fix too small static buffer in util.c.
1931
1932    This was introduced in
1933    0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
1934
1935 src/xz/util.c |    9 ++++-----
1936 1 files changed, 4 insertions(+), 5 deletions(-)
1937
1938commit d0b4bbf5da068503c099cd456e294d7673548cc0
1939Author: Lasse Collin <lasse.collin@tukaani.org>
1940Date:   2010-01-26 14:46:43 +0200
1941
1942    Minor comment fix.
1943
1944 src/xz/main.c |    4 ++--
1945 1 files changed, 2 insertions(+), 2 deletions(-)
1946
1947commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
1948Author: Lasse Collin <lasse.collin@tukaani.org>
1949Date:   2010-01-24 23:50:54 +0200
1950
1951    Add initial version of xz --list.
1952
1953    This is a bit rough but should be useful for basic things.
1954    Ideas (with detailed examples) about the output format are
1955    welcome.
1956
1957    The output of --robot --list is not necessarily stable yet,
1958    although I don't currently have any plans about changing it.
1959
1960    The man page hasn't been updated yet.
1961
1962 src/xz/Makefile.am |    1 +
1963 src/xz/list.c      |  988 +++++++++++++++++++++++++++++++++-------------------
1964 src/xz/list.h      |   18 +
1965 src/xz/main.c      |   19 +-
1966 src/xz/private.h   |    1 +
1967 5 files changed, 668 insertions(+), 359 deletions(-)
1968
1969commit df254ce03be016e217b511e7acd5d493f9929ca5
1970Author: Lasse Collin <lasse.collin@tukaani.org>
1971Date:   2010-01-24 22:46:11 +0200
1972
1973    Add io_pread().
1974
1975    It will be used by --list.
1976
1977 src/xz/file_io.c |   25 +++++++++++++++++++++++++
1978 src/xz/file_io.h |   17 +++++++++++++++++
1979 2 files changed, 42 insertions(+), 0 deletions(-)
1980
1981commit ef68dd4a92976276304de2aedfbe34ae91a86abb
1982Author: Lasse Collin <lasse.collin@tukaani.org>
1983Date:   2010-01-24 22:45:14 +0200
1984
1985    Set LC_NUMERIC=C when --robot is used.
1986
1987    It is to ensure that floating point numbers
1988    will always have a dot as the decimal separator.
1989
1990 src/xz/args.c |    4 ++++
1991 1 files changed, 4 insertions(+), 0 deletions(-)
1992
1993commit 0dd6d007669b946543ca939a44243833c79e08f4
1994Author: Lasse Collin <lasse.collin@tukaani.org>
1995Date:   2010-01-24 16:57:40 +0200
1996
1997    Some improvements to printing sizes in xz.
1998
1999 src/xz/coder.c   |   56 ++++++++++++++-----------------------
2000 src/xz/message.c |   80 +++++++++++++++++-------------------------------------
2001 src/xz/message.h |    4 +++
2002 src/xz/util.c    |   72 ++++++++++++++++++++++++++++++++++++++++++++++++
2003 src/xz/util.h    |   44 +++++++++++++++++++++++++++++
2004 5 files changed, 166 insertions(+), 90 deletions(-)
2005
2006commit 2a98fdffd68c66371279c211c29153c808ad5c1d
2007Author: Lasse Collin <lasse.collin@tukaani.org>
2008Date:   2010-01-20 22:02:35 +0200
2009
2010    Fix a typo in README.
2011
2012    Thanks to R. Bijker.
2013
2014 README |    2 +-
2015 1 files changed, 1 insertions(+), 1 deletions(-)
2016
2017commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
2018Author: Lasse Collin <lasse.collin@tukaani.org>
2019Date:   2010-01-17 11:59:54 +0200
2020
2021    Updated windows/Makefile.
2022
2023    Thanks to Dan Shechter for the patch.
2024
2025    It is likely that windows/Makefile will be removed
2026    completely, because Autotols based build nowadays
2027    works well with both 32-bit and 64-bit MinGW (I
2028    just need to update the docs).
2029
2030 windows/Makefile |   38 +++++++++++++++++++++++++-------------
2031 windows/config.h |    2 ++
2032 2 files changed, 27 insertions(+), 13 deletions(-)
2033
2034commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
2035Author: Lasse Collin <lasse.collin@tukaani.org>
2036Date:   2010-01-15 11:05:11 +0200
2037
2038    Update the xz man page to match the previous two commits.
2039
2040 src/xz/xz.1 |    9 +++------
2041 1 files changed, 3 insertions(+), 6 deletions(-)
2042
2043commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
2044Author: Lasse Collin <lasse.collin@tukaani.org>
2045Date:   2010-01-13 19:10:25 +0200
2046
2047    Don't read compressed data from a terminal or write it
2048    to a terminal even if --force is specified.
2049
2050    It just seems more reasonable this way.
2051
2052    The new behavior matches bzip2. The old one matched gzip.
2053
2054 src/xz/main.c |   20 +++++++++-----------
2055 src/xz/util.c |    8 ++++----
2056 2 files changed, 13 insertions(+), 15 deletions(-)
2057
2058commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
2059Author: Lasse Collin <lasse.collin@tukaani.org>
2060Date:   2010-01-13 18:12:40 +0200
2061
2062    Don't compress or decompress special files unless writing
2063    to stdout even if --force is used.
2064
2065    --force will still enable compression of symlinks, but only
2066    in case they point to a regular file.
2067
2068    The new way simply seems more reasonable. It matches gzip's
2069    behavior while the old one matched bzip2's behavior.
2070
2071 src/xz/file_io.c |   15 ++++++++++-----
2072 1 files changed, 10 insertions(+), 5 deletions(-)
2073
2074commit cee12aa852ec0902983dc1f153346ef750157fb9
2075Author: Lasse Collin <lasse.collin@tukaani.org>
2076Date:   2010-01-12 16:30:33 +0200
2077
2078    Updated THANKS.
2079
2080 THANKS |    1 +
2081 1 files changed, 1 insertions(+), 0 deletions(-)
2082
2083commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
2084Author: Lasse Collin <lasse.collin@tukaani.org>
2085Date:   2010-01-12 16:18:14 +0200
2086
2087    Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
2088
2089    This is untested but it will get tested soon and, if needed,
2090    fixed before 5.0.0.
2091
2092    Thanks to Stuart Shelton.
2093
2094 m4/tuklib_cpucores.m4        |   11 +++++++++--
2095 m4/tuklib_physmem.m4         |   22 +++++++++++++++++++++-
2096 src/common/tuklib_cpucores.c |    6 ++++++
2097 src/common/tuklib_physmem.c  |   19 +++++++++++++++++++
2098 4 files changed, 55 insertions(+), 3 deletions(-)
2099
2100commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
2101Author: Lasse Collin <lasse.collin@tukaani.org>
2102Date:   2010-01-01 00:29:10 +0200
2103
2104    Fix _memconfig() functions.
2105
2106    This affects lzma_memusage() and lzma_memlimit_get().
2107
2108 src/liblzma/api/lzma/index.h        |    7 -------
2109 src/liblzma/common/alone_decoder.c  |   11 +++++++----
2110 src/liblzma/common/index_decoder.c  |   10 ++++++----
2111 src/liblzma/common/stream_decoder.c |   11 +++++++----
2112 4 files changed, 20 insertions(+), 19 deletions(-)
2113
2114commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
2115Author: Lasse Collin <lasse.collin@tukaani.org>
2116Date:   2009-12-31 22:45:53 +0200
2117
2118    Revised the Index handling code.
2119
2120    This breaks API and ABI but most apps are not affected
2121    since most apps don't use this part of the API. You will
2122    get a compile error if you are using anything that got
2123    broken.
2124
2125    Summary of changes:
2126
2127      - Ability to store Stream Flags, which are needed
2128        for random-access reading in multi-Stream files.
2129
2130      - Separate function to set size of Stream Padding.
2131
2132      - Iterator structure makes it possible to read the same
2133        lzma_index from multiple threads at the same time.
2134
2135      - A lot faster code to locate Blocks.
2136
2137      - Removed lzma_index_equal() without adding anything
2138        to replace it. I don't know what it should do exactly
2139        with the new features and what actually needs this
2140        function in the first place other than test_index.c,
2141        which now has its own code to compare lzma_indexes.
2142
2143 src/liblzma/api/lzma/index.h               |  572 ++++++++---
2144 src/liblzma/common/index.c                 | 1553 ++++++++++++++++++----------
2145 src/liblzma/common/index.h                 |    6 +
2146 src/liblzma/common/index_decoder.c         |   12 +-
2147 src/liblzma/common/index_encoder.c         |   36 +-
2148 src/liblzma/common/index_encoder.h         |    2 +-
2149 src/liblzma/common/stream_buffer_encoder.c |    6 +-
2150 src/liblzma/common/stream_encoder.c        |    3 +-
2151 tests/test_index.c                         |  371 +++++---
2152 9 files changed, 1703 insertions(+), 858 deletions(-)
2153
2154commit f29997a846e673cb3b8cbd57de47ed313b3978bb
2155Author: Lasse Collin <lasse.collin@tukaani.org>
2156Date:   2009-12-31 21:13:25 +0200
2157
2158    Remove c-format tag in cs.po.
2159
2160    It was fixed in the C code earlier.
2161
2162 po/cs.po |    1 -
2163 1 files changed, 0 insertions(+), 1 deletions(-)
2164
2165commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
2166Author: Lasse Collin <lasse.collin@tukaani.org>
2167Date:   2009-12-31 21:11:05 +0200
2168
2169    Add missing lzma_nothrow in filter.h.
2170
2171 src/liblzma/api/lzma/filter.h |    4 ++--
2172 1 files changed, 2 insertions(+), 2 deletions(-)
2173
2174commit b56cb1fc31fa2381f92eefc040df85667048d626
2175Author: Lasse Collin <lasse.collin@tukaani.org>
2176Date:   2009-12-09 18:13:44 +0200
2177
2178    Remove redefinition of _(msgid) macro from lzmainfo.c.
2179
2180 src/lzmainfo/lzmainfo.c |    7 -------
2181 1 files changed, 0 insertions(+), 7 deletions(-)
2182
2183commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
2184Author: Jonathan Nieder <jrnieder@gmail.com>
2185Date:   2009-12-08 19:41:57 -0600
2186
2187    update po/.gitignore
2188
2189    Since the *.gmo files are deleted by the maintainer-clean target,
2190    I assume they are not meant to be tracked.
2191
2192    Also add the other files listed in the Makefile’s clean targets
2193    (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
2194    are not accidentally tracked.  Most of these are intermediate
2195    files that would not appear unless a build is interrupted or
2196    fails.
2197
2198    Split the list of untracked files by origin to make it easier to
2199    tell if files are missing in the future.
2200
2201    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2202
2203 po/.gitignore |   28 ++++++++++++++++++++++------
2204 1 files changed, 22 insertions(+), 6 deletions(-)
2205
2206commit f7e44c6c11f630519072971b8b07a5729c096c36
2207Author: Lasse Collin <lasse.collin@tukaani.org>
2208Date:   2009-12-09 00:38:55 +0200
2209
2210    Always rely on GCC's auto-import on Windows.
2211
2212    I understood that this is nicer, because then people
2213    don't need to worry about the LZMA_API_STATIC macro.
2214
2215    Thanks to Charles Wilson and Keith Marshall.
2216
2217 src/liblzma/api/lzma.h |   16 +++++++++-------
2218 1 files changed, 9 insertions(+), 7 deletions(-)
2219
2220commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
2221Author: Lasse Collin <lasse.collin@tukaani.org>
2222Date:   2009-12-07 21:46:53 +0200
2223
2224    Fix file_io.c on DOS-like systems.
2225
2226    The problem was introduced when adding sparse file
2227    support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
2228
2229    Thanks to Charles Wilson.
2230
2231 src/xz/file_io.c |    4 ++++
2232 1 files changed, 4 insertions(+), 0 deletions(-)
2233
2234commit 0696f5d268362221380e039bad48a86e29067c6a
2235Author: Lasse Collin <lasse.collin@tukaani.org>
2236Date:   2009-12-07 20:54:21 +0200
2237
2238    Add Czech translation.
2239
2240    Thanks to Marek Černocký.
2241
2242    Other people planning to translate xz: Note that the
2243    messages are a little bit in flux still. Translations
2244    are still welcome, just be prepared to some extra work
2245    in case there are changes.
2246
2247 THANKS     |    1 +
2248 po/LINGUAS |    1 +
2249 po/cs.po   |  637 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2250 3 files changed, 639 insertions(+), 0 deletions(-)
2251
2252commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
2253Author: Lasse Collin <lasse.collin@tukaani.org>
2254Date:   2009-12-07 20:32:08 +0200
2255
2256    Add a note for translators to add a bug reporting address
2257    for translation bugs.
2258
2259 src/xz/message.c |    4 ++++
2260 1 files changed, 4 insertions(+), 0 deletions(-)
2261
2262commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
2263Author: Lasse Collin <lasse.collin@tukaani.org>
2264Date:   2009-12-07 20:07:02 +0200
2265
2266    Prevent xgettext from taking one regular string as a C format string.
2267
2268    Thanks to Marek Černocký.
2269
2270 src/xz/message.c |    2 +-
2271 1 files changed, 1 insertions(+), 1 deletions(-)
2272
2273commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
2274Author: Lasse Collin <lasse.collin@tukaani.org>
2275Date:   2009-11-28 17:45:22 +0200
2276
2277    Remove duplicate code in io_open_dest().
2278
2279    Fix a missing _() in the error message too.
2280
2281 src/xz/file_io.c |    9 +--------
2282 1 files changed, 1 insertions(+), 8 deletions(-)
2283
2284commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
2285Author: Lasse Collin <lasse.collin@tukaani.org>
2286Date:   2009-11-26 10:11:23 +0200
2287
2288    Typo fix to sysdefs.h.
2289
2290    Thanks to Jonathan Nieder.
2291
2292 src/common/sysdefs.h |    2 +-
2293 1 files changed, 1 insertions(+), 1 deletions(-)
2294
2295commit 8767b41534eafdf5e742e12190646bf5740b0cdb
2296Author: Lasse Collin <lasse.collin@tukaani.org>
2297Date:   2009-11-26 10:10:36 +0200
2298
2299    Fix a memory leak in test_index.c.
2300
2301    This was introduced in
2302    bd13b04e202b6f495a68eb0766f97085b7c50a06.
2303
2304    Thanks to Jim Meyering for noticing it.
2305
2306 tests/test_index.c |    2 ++
2307 1 files changed, 2 insertions(+), 0 deletions(-)
2308
2309commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
2310Author: Lasse Collin <lasse.collin@tukaani.org>
2311Date:   2009-11-25 14:22:19 +0200
2312
2313    Add missing error check to coder.c.
2314
2315    With bad luck this could cause a segfault due to
2316    reading (but not writing) past the end of the buffer.
2317
2318 src/xz/coder.c |   20 +++++++++++---------
2319 1 files changed, 11 insertions(+), 9 deletions(-)
2320
2321commit bd13b04e202b6f495a68eb0766f97085b7c50a06
2322Author: Lasse Collin <lasse.collin@tukaani.org>
2323Date:   2009-11-25 13:04:10 +0200
2324
2325    Fix bugs in lzma_index_read() and lzma_index_cat().
2326
2327    lzma_index_read() didn't skip over Stream Padding
2328    if it was the first record in the Index.
2329
2330    lzma_index_cat() didn't combine small Indexes correctly.
2331
2332    The test suite was updated to check for these bugs.
2333
2334    These bugs didn't affect the xz command line tool or
2335    most users of liblzma in any way.
2336
2337 src/liblzma/common/index.c |   30 +++++++++++++++++++-----------
2338 tests/test_index.c         |   28 +++++++++++++++++++++++++---
2339 2 files changed, 44 insertions(+), 14 deletions(-)
2340
2341commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
2342Author: Lasse Collin <lasse.collin@tukaani.org>
2343Date:   2009-11-25 12:52:56 +0200
2344
2345    Index decoder fixes.
2346
2347    The Index decoder code didn't perfectly match the API docs,
2348    which said that *i will be set to point to the decoded Index
2349    only after decoding has succeeded. The docs were a bit unclear
2350    too.
2351
2352    Now the decoder will initially set *i to NULL. *i will be set
2353    to point to the decoded Index once decoding has succeeded.
2354    This simplifies applications too, since it avoids dangling
2355    pointers.
2356
2357 src/liblzma/api/lzma/index.h       |   23 ++++++++++++-----------
2358 src/liblzma/common/index_decoder.c |   26 ++++++++++++++++++++------
2359 2 files changed, 32 insertions(+), 17 deletions(-)
2360
2361commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
2362Author: Lasse Collin <lasse.collin@tukaani.org>
2363Date:   2009-11-25 11:19:20 +0200
2364
2365    Create sparse files by default when decompressing into
2366    a regular file.
2367
2368    Sparse file creation can be disabled with --no-sparse.
2369    I don't promise yet that the name of this option won't
2370    change before 5.0.0. It's possible that the code, that
2371    checks when it is safe to use sparse output on stdout,
2372    is not good enough, and a more flexible command line
2373    option is needed to configure sparse file handling.
2374
2375 src/xz/args.c    |    6 ++
2376 src/xz/coder.c   |   33 ++++----
2377 src/xz/file_io.c |  243 ++++++++++++++++++++++++++++++++++++++++++++++--------
2378 src/xz/file_io.h |   34 ++++++--
2379 src/xz/message.c |    1 +
2380 src/xz/xz.1      |   11 +++
2381 6 files changed, 272 insertions(+), 56 deletions(-)
2382
2383commit 37de544414fc2dc5039471d1002ebd015eb3e627
2384Author: Lasse Collin <lasse.collin@tukaani.org>
2385Date:   2009-11-22 12:43:06 +0200
2386
2387    Updated THANKS.
2388
2389 THANKS |    1 +
2390 1 files changed, 1 insertions(+), 0 deletions(-)
2391
2392commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
2393Author: Lasse Collin <lasse.collin@tukaani.org>
2394Date:   2009-11-22 12:05:33 +0200
2395
2396    Add missing consts to pointer casts.
2397
2398 src/liblzma/check/crc32_fast.c |    4 ++--
2399 src/liblzma/check/crc64_fast.c |    5 +++--
2400 2 files changed, 5 insertions(+), 4 deletions(-)
2401
2402commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
2403Author: Lasse Collin <lasse.collin@tukaani.org>
2404Date:   2009-11-22 12:00:30 +0200
2405
2406    Enable assembler code only if it is known to work
2407    on that operating system.
2408
2409    I'm too lazy to think how to make a good Autoconf test
2410    for this and it's not that important anyway.
2411
2412    No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
2413    Inline assembler (if any) is used if a macro like
2414    __i386__ or __x86_64__ is defined.
2415
2416 configure.ac |   26 ++++++++++++--------------
2417 1 files changed, 12 insertions(+), 14 deletions(-)
2418
2419commit 0733f4c9994db696420a405810d5f02c79ebc404
2420Author: Lasse Collin <lasse.collin@tukaani.org>
2421Date:   2009-11-22 11:55:03 +0200
2422
2423    Make fastpos.h use tuklib_integer.h instead of bsr.h
2424    when --enable-small has been specified.
2425
2426 src/liblzma/common/Makefile.inc |    1 -
2427 src/liblzma/common/bsr.h        |   60 ---------------------------------------
2428 src/liblzma/lzma/fastpos.h      |    5 +--
2429 3 files changed, 1 insertions(+), 65 deletions(-)
2430
2431commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
2432Author: Lasse Collin <lasse.collin@tukaani.org>
2433Date:   2009-11-22 11:52:30 +0200
2434
2435    Update tuklib_integer.h with bit scan functions.
2436
2437    Thanks to Joachim Henke for the original patch.
2438
2439 src/common/tuklib_integer.h |  189 +++++++++++++++++++++++++++++++++++++++++--
2440 1 files changed, 181 insertions(+), 8 deletions(-)
2441
2442commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
2443Author: Lasse Collin <lasse.collin@tukaani.org>
2444Date:   2009-11-20 12:51:19 +0200
2445
2446    Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
2447    which now use AC_CACHE_CHECK. Using the cache variable,
2448    configure now warns if there is no method to detect the amount
2449    of RAM and recommends using --enable-assume-ram.
2450
2451 configure.ac          |   16 +++++++++++++++
2452 m4/tuklib_cpucores.m4 |   31 +++++++++++++++++------------
2453 m4/tuklib_physmem.m4  |   50 ++++++++++++++++++++++++++----------------------
2454 3 files changed, 61 insertions(+), 36 deletions(-)
2455
2456commit d315ca4930ff96e1428c6021c96f209e1abdd83e
2457Author: Lasse Collin <lasse.collin@tukaani.org>
2458Date:   2009-11-16 18:16:45 +0200
2459
2460    Add support for --info-memory and --robot to xz.
2461
2462    Currently --robot works only with --info-memory and
2463    --version. --help and --long-help work too, but --robot
2464    has no effect on them.
2465
2466    Thanks to Jonathan Nieder for the original patches.
2467
2468 src/xz/args.c    |   85 +++++++++++++++++++++++++++++++----------------------
2469 src/xz/args.h    |    1 +
2470 src/xz/main.c    |   11 ++++--
2471 src/xz/message.c |   47 ++++++++++++++++++++++-------
2472 src/xz/message.h |    4 ++
2473 src/xz/xz.1      |   40 +++++++++++++++++++++++--
2474 6 files changed, 133 insertions(+), 55 deletions(-)
2475
2476commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
2477Author: Lasse Collin <lasse.collin@tukaani.org>
2478Date:   2009-11-15 12:54:45 +0200
2479
2480    Fix wrong indentation caused by incorrect settings
2481    in the text editor.
2482
2483 src/liblzma/lz/lz_decoder.c                    |   18 +++++++++---------
2484 src/liblzma/lzma/lzma2_encoder.c               |    6 +++---
2485 src/liblzma/lzma/lzma_encoder_optimum_normal.c |    2 +-
2486 3 files changed, 13 insertions(+), 13 deletions(-)
2487
2488commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
2489Author: Lasse Collin <lasse.collin@tukaani.org>
2490Date:   2009-11-15 12:40:17 +0200
2491
2492    Add lzma_physmem().
2493
2494    I had hoped to keep liblzma as purely a compression
2495    library as possible (e.g. file I/O will go into
2496    a different library), but it seems that applications
2497    linking agaisnt liblzma need some way to determine
2498    the memory usage limit, and knowing the amount of RAM
2499    is one reasonable way to help making such decisions.
2500
2501    Thanks to Jonathan Nieder for the original patch.
2502
2503 src/liblzma/Makefile.am               |    5 ++-
2504 src/liblzma/api/Makefile.am           |    1 +
2505 src/liblzma/api/lzma.h                |    3 ++
2506 src/liblzma/api/lzma/hardware.h       |   51 +++++++++++++++++++++++++++++++++
2507 src/liblzma/common/Makefile.inc       |    1 +
2508 src/liblzma/common/hardware_physmem.c |   25 ++++++++++++++++
2509 src/xz/Makefile.am                    |    1 -
2510 src/xz/hardware.c                     |    3 +-
2511 src/xzdec/Makefile.am                 |    6 +--
2512 src/xzdec/xzdec.c                     |    3 +-
2513 10 files changed, 88 insertions(+), 11 deletions(-)
2514
2515commit cf39faca59083d38422058c6c97aa757ea7797d0
2516Author: Lasse Collin <lasse.collin@tukaani.org>
2517Date:   2009-11-14 20:21:19 +0200
2518
2519    Updated THANKS.
2520
2521 THANKS |    1 +
2522 1 files changed, 1 insertions(+), 0 deletions(-)
2523
2524commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
2525Author: Lasse Collin <lasse.collin@tukaani.org>
2526Date:   2009-11-14 20:20:03 +0200
2527
2528    Some updates to xz man page.
2529
2530 src/xz/xz.1 |   54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
2531 1 files changed, 49 insertions(+), 5 deletions(-)
2532
2533commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
2534Author: Lasse Collin <lasse.collin@tukaani.org>
2535Date:   2009-11-14 19:51:03 +0200
2536
2537    Fix description of --memory in --long-help.
2538
2539 src/xz/message.c |    3 +--
2540 1 files changed, 1 insertions(+), 2 deletions(-)
2541
2542commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
2543Author: Lasse Collin <lasse.collin@tukaani.org>
2544Date:   2009-11-14 19:45:39 +0200
2545
2546    Update the debug programs so that they compile again.
2547
2548 debug/crc32.c      |    1 +
2549 debug/memusage.c   |    6 ++++--
2550 debug/sync_flush.c |   14 +++++++++-----
2551 3 files changed, 14 insertions(+), 7 deletions(-)
2552
2553commit 418d64a32e8144210f98a810738fed5a897e8367
2554Author: Lasse Collin <lasse.collin@tukaani.org>
2555Date:   2009-11-14 18:59:19 +0200
2556
2557    Fix a design error in liblzma API.
2558
2559    Originally the idea was that using LZMA_FULL_FLUSH
2560    with Stream encoder would read the filter chain
2561    from the same array that was used to intialize the
2562    Stream encoder. Since most apps wouldn't use
2563    LZMA_FULL_FLUSH, most apps wouldn't need to keep
2564    the filter chain available after initializing the
2565    Stream encoder. However, due to my mistake, it
2566    actually required keeping the array always available.
2567
2568    Since setting the new filter chain via the array
2569    used at initialization time is not a nice way to do
2570    it for a couple of reasons, this commit ditches it
2571    and introduces lzma_filters_update(). This new function
2572    replaces also the "persistent" flag used by LZMA2
2573    (and to-be-designed Subblock filter), which was also
2574    an ugly thing to do.
2575
2576    Thanks to Alexey Tourbin for reminding me about the problem
2577    that Stream encoder used to require keeping the filter
2578    chain allocated.
2579
2580 src/liblzma/api/lzma/filter.h           |   30 ++++++++++++
2581 src/liblzma/api/lzma/lzma.h             |   13 -----
2582 src/liblzma/common/block_encoder.c      |   14 ++++++
2583 src/liblzma/common/common.c             |   20 ++++++++-
2584 src/liblzma/common/common.h             |   22 +++++++++
2585 src/liblzma/common/easy_encoder.c       |   63 ++------------------------
2586 src/liblzma/common/filter_common.c      |    3 +
2587 src/liblzma/common/filter_encoder.c     |   27 +++++++++++
2588 src/liblzma/common/filter_encoder.h     |    2 +-
2589 src/liblzma/common/stream_encoder.c     |   76 +++++++++++++++++++++++++++----
2590 src/liblzma/delta/delta_common.c        |    5 +--
2591 src/liblzma/delta/delta_decoder.c       |    3 +-
2592 src/liblzma/delta/delta_encoder.c       |   17 +++++++-
2593 src/liblzma/delta/delta_private.h       |    2 +-
2594 src/liblzma/lz/lz_encoder.c             |   17 +++++++
2595 src/liblzma/lz/lz_encoder.h             |    4 ++
2596 src/liblzma/lzma/lzma2_encoder.c        |   59 ++++++++++++++----------
2597 src/liblzma/lzma/lzma_encoder_presets.c |    1 -
2598 src/liblzma/simple/simple_coder.c       |   12 +++++
2599 src/xz/options.c                        |    1 -
2600 20 files changed, 273 insertions(+), 118 deletions(-)
2601
2602commit f0bf7634b77263a4dd02b20c71861ab67995da68
2603Author: Lasse Collin <lasse.collin@tukaani.org>
2604Date:   2009-10-17 11:11:58 +0300
2605
2606    Fix wrong function name in the previous commit.
2607
2608    It was meant to be lzma_filters_copy(), not lzma_filters_dup().
2609
2610 src/liblzma/api/lzma/filter.h      |    2 +-
2611 src/liblzma/common/filter_common.c |    2 +-
2612 2 files changed, 2 insertions(+), 2 deletions(-)
2613
2614commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
2615Author: Lasse Collin <lasse.collin@tukaani.org>
2616Date:   2009-10-17 01:47:07 +0300
2617
2618    Add lzma_filters_copy().
2619
2620    This will be needed internally by liblzma once I fix
2621    a design mistake in the encoder API. This function may
2622    be useful to applications too so it's good to export it.
2623
2624 src/liblzma/api/lzma/filter.h      |   31 +++++++++++++
2625 src/liblzma/common/filter_common.c |   82 ++++++++++++++++++++++++++++++++++++
2626 2 files changed, 113 insertions(+), 0 deletions(-)
2627
2628commit 78e92c18470483e161388e679c1ee556adb3a691
2629Author: Jonathan Nieder <jrnieder@gmail.com>
2630Date:   2009-10-15 20:44:13 -0500
2631
2632    Escape dashes in xzmore.1
2633
2634    A minus sign is larger, easier to see in a printout, and more
2635    likely to use the same glyph as ASCII hyphen-minus in a terminal
2636    than a hyphen.  Since broken manual pagers do not find hyphens
2637    when the user searches for a hyphen-minus, minus signs are also
2638    easier to search for.  So use minus signs instead of hyphens to
2639    render sample terminal output.
2640
2641 src/scripts/xzmore.1 |    4 ++--
2642 1 files changed, 2 insertions(+), 2 deletions(-)
2643
2644commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
2645Author: Lasse Collin <lasse.collin@tukaani.org>
2646Date:   2009-10-16 20:35:39 +0300
2647
2648    Mention --check=none in --long-help. It was already in
2649    the man page though.
2650
2651    Thanks to Jim Meyering for noticing this.
2652
2653 src/xz/message.c |    2 +-
2654 1 files changed, 1 insertions(+), 1 deletions(-)
2655
2656commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
2657Author: Lasse Collin <lasse.collin@tukaani.org>
2658Date:   2009-10-04 22:57:12 +0300
2659
2660    Use a tuklib module for integer handling.
2661
2662    This replaces bswap.h and integer.h.
2663
2664    The tuklib module uses <byteswap.h> on GNU,
2665    <sys/endian.h> on *BSDs and <sys/byteorder.h>
2666    on Solaris, which may contain optimized code
2667    like inline assembly.
2668
2669 configure.ac                              |   54 +-----
2670 m4/tuklib_integer.m4                      |   74 ++++++
2671 src/common/bswap.h                        |   52 -----
2672 src/common/integer.h                      |  170 --------------
2673 src/common/tuklib_config.h                |    8 +-
2674 src/common/tuklib_integer.h               |  350 +++++++++++++++++++++++++++++
2675 src/liblzma/check/check.c                 |    4 +-
2676 src/liblzma/check/crc32_fast.c            |    4 +-
2677 src/liblzma/check/crc32_tablegen.c        |    8 +-
2678 src/liblzma/check/crc64_fast.c            |    4 +-
2679 src/liblzma/check/crc64_tablegen.c        |    8 +-
2680 src/liblzma/check/crc_macros.h            |    2 -
2681 src/liblzma/check/sha256.c                |   18 +--
2682 src/liblzma/common/alone_encoder.c        |    2 +-
2683 src/liblzma/common/block_header_decoder.c |    2 +-
2684 src/liblzma/common/block_header_encoder.c |    2 +-
2685 src/liblzma/common/common.h               |    2 +-
2686 src/liblzma/common/stream_flags_decoder.c |    6 +-
2687 src/liblzma/common/stream_flags_encoder.c |    6 +-
2688 src/liblzma/lz/lz_encoder_hash.h          |    2 +-
2689 src/liblzma/lzma/lzma_decoder.c           |    2 +-
2690 src/liblzma/lzma/lzma_encoder.c           |    2 +-
2691 src/liblzma/lzma/lzma_encoder_private.h   |    2 +-
2692 src/liblzma/simple/simple_decoder.c       |    2 +-
2693 src/liblzma/simple/simple_encoder.c       |    2 +-
2694 tests/test_block_header.c                 |    4 +-
2695 tests/test_stream_flags.c                 |    6 +-
2696 tests/tests.h                             |    2 +-
2697 28 files changed, 467 insertions(+), 333 deletions(-)
2698
2699commit 29fd321033276261b87da7be5223db33d879a4c7
2700Author: Lasse Collin <lasse.collin@tukaani.org>
2701Date:   2009-10-02 14:35:56 +0300
2702
2703    Add support for --enable-assume-ram=SIZE.
2704
2705 INSTALL           |   16 ++++++++++++++++
2706 configure.ac      |   24 ++++++++++++++++++++++++
2707 src/xz/hardware.c |    7 +++----
2708 src/xzdec/xzdec.c |    5 +++--
2709 4 files changed, 46 insertions(+), 6 deletions(-)
2710
2711commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
2712Author: Lasse Collin <lasse.collin@tukaani.org>
2713Date:   2009-10-02 11:28:17 +0300
2714
2715    Use unaligned access (if possible) on both endiannesses
2716    in lz_encoder_hash.h.
2717
2718 src/liblzma/lz/lz_encoder_hash.h |    4 ++--
2719 1 files changed, 2 insertions(+), 2 deletions(-)
2720
2721commit c5f68b5cc79085a87f950fea53843e27f328068e
2722Author: Lasse Collin <lasse.collin@tukaani.org>
2723Date:   2009-10-02 11:03:26 +0300
2724
2725    Make liblzma produce the same output on both endiannesses.
2726
2727    Seems that it is a problem in some cases if the same
2728    version of XZ Utils produces different output on different
2729    endiannesses, so this commit fixes that problem. The output
2730    will still vary between different XZ Utils versions, but I
2731    cannot avoid that for now.
2732
2733    This commit bloatens the code on big endian systems by 1 KiB,
2734    which should be OK since liblzma is bloated already. ;-)
2735
2736 src/liblzma/check/crc32_tablegen.c     |   30 ++++++++++++++
2737 src/liblzma/lz/Makefile.inc            |    1 +
2738 src/liblzma/lz/lz_encoder.c            |    7 +++-
2739 src/liblzma/lz/lz_encoder_hash.h       |   35 +++++++++++------
2740 src/liblzma/lz/lz_encoder_hash_table.h |   68 ++++++++++++++++++++++++++++++++
2741 src/liblzma/lz/lz_encoder_mf.c         |    1 -
2742 6 files changed, 128 insertions(+), 14 deletions(-)
2743
2744commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
2745Author: Mike Frysinger <vapier@gentoo.org>
2746Date:   2009-09-26 12:51:50 -0400
2747
2748    add lzmainfo to gitignore
2749
2750    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2751
2752 .gitignore |    2 ++
2753 1 files changed, 2 insertions(+), 0 deletions(-)
2754
2755commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
2756Author: Lasse Collin <lasse.collin@tukaani.org>
2757Date:   2009-09-27 11:53:36 +0300
2758
2759    Updated THANKS.
2760
2761 THANKS |    1 +
2762 1 files changed, 1 insertions(+), 0 deletions(-)
2763
2764commit db9119b9181b307e7ac5d2bae82444d04b902b59
2765Author: Lasse Collin <lasse.collin@tukaani.org>
2766Date:   2009-09-27 11:48:54 +0300
2767
2768    Work around a bug in Interix header files.
2769
2770    Thanks to Markus Duft for the patch.
2771
2772 src/common/sysdefs.h |    6 ++++++
2773 1 files changed, 6 insertions(+), 0 deletions(-)
2774
2775commit b3d105e69786a45963176fd2193abe75e05ba738
2776Author: Lasse Collin <lasse.collin@tukaani.org>
2777Date:   2009-09-24 17:50:17 +0300
2778
2779    Fix an error in OpenVMS-specific code.
2780
2781    Thanks to Jouk Jansen.
2782
2783 src/xz/file_io.c |    2 +-
2784 1 files changed, 1 insertions(+), 1 deletions(-)
2785
2786commit 5e000ff00d4d01e559397b49eb648ad3f159d496
2787Author: Lasse Collin <lasse.collin@tukaani.org>
2788Date:   2009-09-22 18:59:56 +0300
2789
2790    Added OpenVMS-specific information to INSTALL.
2791
2792 INSTALL |   11 +++++++++++
2793 1 files changed, 11 insertions(+), 0 deletions(-)
2794
2795commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
2796Author: Lasse Collin <lasse.collin@tukaani.org>
2797Date:   2009-09-22 14:03:02 +0300
2798
2799    Better fixes for OpenVMS support.
2800
2801    Thanks to Jouk Jansen.
2802
2803 src/xz/file_io.c |   19 ++++++++++++++++---
2804 1 files changed, 16 insertions(+), 3 deletions(-)
2805
2806commit 4c3630ec4179fe9265407a35c4db1374ffc82372
2807Author: Lasse Collin <lasse.collin@tukaani.org>
2808Date:   2009-09-22 13:40:19 +0300
2809
2810    Avoid non-standard preprocessor construct.
2811
2812    Thanks to Jouk Jansen.
2813
2814 src/common/tuklib_common.h |   11 +++++++----
2815 1 files changed, 7 insertions(+), 4 deletions(-)
2816
2817commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
2818Author: Lasse Collin <lasse.collin@tukaani.org>
2819Date:   2009-09-21 19:50:09 +0300
2820
2821    Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
2822
2823    Thanks to Charles Wilson.
2824
2825 src/common/tuklib_common.h |    3 ++-
2826 1 files changed, 2 insertions(+), 1 deletions(-)
2827
2828commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
2829Author: Lasse Collin <lasse.collin@tukaani.org>
2830Date:   2009-09-19 09:47:30 +0300
2831
2832    Various changes.
2833
2834    Separate a few reusable components from XZ Utils specific
2835    code. The reusable code is now in "tuklib" modules. A few
2836    more could be separated still, e.g. bswap.h.
2837
2838    Fix some bugs in lzmainfo.
2839
2840    Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
2841    for help.
2842
2843    Add OpenVMS support into physmem. Add a few #ifdefs to ease
2844    building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
2845    original patch.
2846
2847 THANKS                          |    1 +
2848 configure.ac                    |   12 +--
2849 m4/lc_cpucores.m4               |   57 ---------------
2850 m4/lc_physmem.m4                |   84 ----------------------
2851 m4/tuklib_common.m4             |   22 ++++++
2852 m4/tuklib_cpucores.m4           |   72 +++++++++++++++++++
2853 m4/tuklib_physmem.m4            |  119 +++++++++++++++++++++++++++++++
2854 m4/tuklib_progname.m4           |   25 +++++++
2855 src/common/cpucores.h           |   51 --------------
2856 src/common/open_stdxxx.h        |   49 -------------
2857 src/common/physmem.h            |  144 --------------------------------------
2858 src/common/sysdefs.h            |    4 -
2859 src/common/tuklib_common.h      |   67 ++++++++++++++++++
2860 src/common/tuklib_config.h      |    1 +
2861 src/common/tuklib_cpucores.c    |   46 ++++++++++++
2862 src/common/tuklib_cpucores.h    |   23 ++++++
2863 src/common/tuklib_exit.c        |   57 +++++++++++++++
2864 src/common/tuklib_exit.h        |   25 +++++++
2865 src/common/tuklib_gettext.h     |   44 ++++++++++++
2866 src/common/tuklib_open_stdxxx.c |   51 ++++++++++++++
2867 src/common/tuklib_open_stdxxx.h |   23 ++++++
2868 src/common/tuklib_physmem.c     |  146 +++++++++++++++++++++++++++++++++++++++
2869 src/common/tuklib_physmem.h     |   28 ++++++++
2870 src/common/tuklib_progname.c    |   50 +++++++++++++
2871 src/common/tuklib_progname.h    |   32 +++++++++
2872 src/lzmainfo/Makefile.am        |    5 +-
2873 src/lzmainfo/lzmainfo.c         |   65 +++++------------
2874 src/xz/Makefile.am              |    7 ++-
2875 src/xz/args.c                   |    8 +--
2876 src/xz/file_io.c                |   43 ++++++------
2877 src/xz/hardware.c               |    8 +-
2878 src/xz/main.c                   |  100 ++++++---------------------
2879 src/xz/main.h                   |    7 --
2880 src/xz/message.c                |   30 ++++----
2881 src/xz/message.h                |    8 +-
2882 src/xz/private.h                |   11 +--
2883 src/xz/signals.c                |    2 +
2884 src/xz/signals.h                |   17 ++---
2885 src/xz/suffix.c                 |    2 +-
2886 src/xzdec/Makefile.am           |   13 +++-
2887 src/xzdec/xzdec.c               |   55 ++++-----------
2888 41 files changed, 974 insertions(+), 640 deletions(-)
2889
2890commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
2891Author: Lasse Collin <lasse.collin@tukaani.org>
2892Date:   2009-09-15 21:07:23 +0300
2893
2894    Fix incorrect use of "restrict".
2895
2896 src/liblzma/api/lzma/vli.h       |    4 ++--
2897 src/liblzma/common/vli_decoder.c |    2 +-
2898 src/liblzma/common/vli_encoder.c |    2 +-
2899 3 files changed, 4 insertions(+), 4 deletions(-)
2900
2901commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
2902Author: Lasse Collin <lasse.collin@tukaani.org>
2903Date:   2009-09-12 14:09:17 +0300
2904
2905    Fix GCC version check for nothrow attribute.
2906
2907 src/liblzma/api/lzma.h |    2 +-
2908 1 files changed, 1 insertions(+), 1 deletions(-)
2909
2910commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
2911Author: Lasse Collin <lasse.collin@tukaani.org>
2912Date:   2009-09-12 14:08:15 +0300
2913
2914    Updated THANKS.
2915
2916 THANKS |    1 +
2917 1 files changed, 1 insertions(+), 0 deletions(-)
2918
2919commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
2920Author: Lasse Collin <lasse.collin@tukaani.org>
2921Date:   2009-09-12 14:07:36 +0300
2922
2923    A few grammar fixes.
2924
2925    Thanks to Christian Weisgerber for pointing out some of these.
2926
2927 src/liblzma/api/lzma.h                    |    4 ++--
2928 src/liblzma/api/lzma/vli.h                |    4 ++--
2929 src/liblzma/common/block_header_encoder.c |    2 +-
2930 src/liblzma/common/filter_common.c        |    2 +-
2931 src/liblzma/lz/lz_encoder.h               |   10 +++++-----
2932 src/xz/message.c                          |   22 +++++++++++-----------
2933 src/xzdec/xzdec.c                         |    2 +-
2934 7 files changed, 23 insertions(+), 23 deletions(-)
2935
2936commit 8905a33daadcd2d6557c83c81c490b827d566c94
2937Author: Lasse Collin <lasse.collin@tukaani.org>
2938Date:   2009-09-11 17:08:15 +0300
2939
2940    Updated THANKS.
2941
2942 THANKS |    1 +
2943 1 files changed, 1 insertions(+), 0 deletions(-)
2944
2945commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
2946Author: Lasse Collin <lasse.collin@tukaani.org>
2947Date:   2009-09-11 17:06:32 +0300
2948
2949    Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
2950
2951 dos/config.h     |    3 +++
2952 windows/config.h |    3 +++
2953 2 files changed, 6 insertions(+), 0 deletions(-)
2954
2955commit 221be761f467da76875247bc02d7a1716682075d
2956Author: Lasse Collin <lasse.collin@tukaani.org>
2957Date:   2009-09-11 10:24:09 +0300
2958
2959    Use $(LN_EXEEXT) in symlinks to executables.
2960
2961    This fixes "make install" on operating systems using
2962    a suffix for executables.
2963
2964    Cygwin is treated specially. The symlink names won't have
2965    .exe suffix even though the executables themselves have.
2966    Thanks to Charles Wilson.
2967
2968 configure.ac       |    9 +++++++++
2969 src/xz/Makefile.am |    4 ++--
2970 2 files changed, 11 insertions(+), 2 deletions(-)
2971
2972commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
2973Author: Lasse Collin <lasse.collin@tukaani.org>
2974Date:   2009-09-11 09:25:09 +0300
2975
2976    Fix a couple of warnings.
2977
2978 src/liblzma/common/stream_decoder.c            |    2 +-
2979 src/liblzma/lz/lz_encoder.c                    |    5 +----
2980 src/liblzma/lzma/lzma_encoder.c                |    2 +-
2981 src/liblzma/lzma/lzma_encoder_optimum_normal.c |    8 ++++----
2982 tests/tests.h                                  |    2 +-
2983 5 files changed, 8 insertions(+), 11 deletions(-)
2984
2985commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
2986Author: Lasse Collin <lasse.collin@tukaani.org>
2987Date:   2009-09-05 18:39:21 +0300
2988
2989    Add OS/2-specific code to physmem.h.
2990
2991    Also move DJGPP-specific code near the code meant
2992    for other DOS-like systems.
2993
2994 src/common/physmem.h |   32 +++++++++++++++++++++-----------
2995 1 files changed, 21 insertions(+), 11 deletions(-)
2996
2997commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
2998Author: Lasse Collin <lasse.collin@tukaani.org>
2999Date:   2009-09-05 01:21:15 +0300
3000
3001    Updated THANKS.
3002
3003 THANKS |    2 ++
3004 1 files changed, 2 insertions(+), 0 deletions(-)
3005
3006commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
3007Author: Lasse Collin <lasse.collin@tukaani.org>
3008Date:   2009-09-05 01:20:29 +0300
3009
3010    Use sysctl() != -1 instead of !sysctl() to check if
3011    the function call succeeded.
3012
3013    NetBSD 4.0 returns positive values on success, but
3014    NetBSD Current and FreeBSD return zero. OpenBSD's
3015    man page doesn't tell what sysctl() returns on
3016    success. All these BSDs return -1 on error.
3017
3018    Thanks to Robert Elz and Thomas Klausner.
3019
3020 src/common/cpucores.h |    2 +-
3021 src/common/physmem.h  |    2 +-
3022 2 files changed, 2 insertions(+), 2 deletions(-)
3023
3024commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
3025Author: Lasse Collin <lasse.collin@tukaani.org>
3026Date:   2009-09-02 09:43:51 +0300
3027
3028    Mention in INSTALL that --enable-small doesn't modify CFLAGS.
3029
3030 INSTALL |    4 ++++
3031 1 files changed, 4 insertions(+), 0 deletions(-)
3032
3033commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
3034Author: Lasse Collin <lasse.collin@tukaani.org>
3035Date:   2009-09-01 20:40:01 +0300
3036
3037    Refactored option parsing.
3038
3039 src/xz/options.c |   70 +++++++++++++++++++++++++++---------------------------
3040 1 files changed, 35 insertions(+), 35 deletions(-)
3041
3042commit 25adaaa56e2e51a47a910a8d73452414619a2e53
3043Author: Lasse Collin <lasse.collin@tukaani.org>
3044Date:   2009-09-01 20:23:30 +0300
3045
3046    Fix options parsing bug in xz.
3047
3048    xz used to reject "xz --lzma2=pb=2," while
3049    "xz --lzma2=pb=2,," worked. Now both work.
3050
3051 src/xz/options.c |    6 ++----
3052 1 files changed, 2 insertions(+), 4 deletions(-)
3053
3054commit 5f6dddc6c911df02ba660564e78e6de80947c947
3055Author: Lasse Collin <lasse.collin@tukaani.org>
3056Date:   2009-09-01 20:20:19 +0300
3057
3058    Updated TODO.
3059
3060 TODO |    3 +++
3061 1 files changed, 3 insertions(+), 0 deletions(-)
3062
3063commit 655457b9ada5ec7db398c5392e41290f3f332ea8
3064Author: Lasse Collin <lasse.collin@tukaani.org>
3065Date:   2009-08-31 21:59:25 +0300
3066
3067    Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3068    and use a fix that works on all systems using
3069    GNU assembler.
3070
3071    Maybe the assembler code is used e.g. on Solaris x86
3072    but let's worry about it if this doesn't work on it.
3073
3074 src/liblzma/check/crc32_x86.S |    7 ++-----
3075 src/liblzma/check/crc64_x86.S |    7 ++-----
3076 2 files changed, 4 insertions(+), 10 deletions(-)
3077
3078commit 162189c3477953805a28f96d3a75cb9ab9417928
3079Author: Lasse Collin <lasse.collin@tukaani.org>
3080Date:   2009-08-30 17:29:19 +0300
3081
3082    Updated THANKS.
3083
3084 THANKS |    1 +
3085 1 files changed, 1 insertions(+), 0 deletions(-)
3086
3087commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
3088Author: Lasse Collin <lasse.collin@tukaani.org>
3089Date:   2009-08-30 17:28:52 +0300
3090
3091    Add more OS/2 specific info to INSTALL.
3092
3093 INSTALL |    5 +++++
3094 1 files changed, 5 insertions(+), 0 deletions(-)
3095
3096commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
3097Author: Lasse Collin <lasse.collin@tukaani.org>
3098Date:   2009-08-29 14:43:52 +0300
3099
3100    Use even more hackish way to support thousand separators.
3101
3102    Seems that in addition on Windows and DOS, also OpenBSD
3103    lacks support for %'d style printf() format strings.
3104    So far that is the only modern POSIX-like system I know
3105    with this problem, but after this hack, the thousand
3106    separator shouldn't be a problem on any system.
3107
3108    Maybe testing if a format string like %'d produces
3109    reasonable output is invoking undefined behavior on some
3110    systems, but so far all the problematic systems I've tried
3111    just print the raw format string (e.g. %'d prints 'd).
3112
3113    Maybe Autoconf test would have been better, but this
3114    hack works also for cross-compilation, and avoids
3115    recompilation in case the system libc starts to support
3116    the thousand separator.
3117
3118 src/xz/util.c |   36 +++++++++++++++++++++++++-----------
3119 1 files changed, 25 insertions(+), 11 deletions(-)
3120
3121commit 3432e9c6aab851da1227b63dce645d7f190c04d8
3122Author: Lasse Collin <lasse.collin@tukaani.org>
3123Date:   2009-08-29 13:42:56 +0300
3124
3125    Updated THANKS.
3126
3127 THANKS |    3 +++
3128 1 files changed, 3 insertions(+), 0 deletions(-)
3129
3130commit 27414daadf5727e8ab942374b5ec1c8990122878
3131Author: Lasse Collin <lasse.collin@tukaani.org>
3132Date:   2009-08-29 13:39:21 +0300
3133
3134    Fix sysctl() usage.
3135
3136    This fixes build on *BSDs and Darwin.
3137
3138    Thanks to Jukka Salmi for the patches.
3139    Richard Koch reported the problem too.
3140
3141 m4/lc_cpucores.m4     |    2 +-
3142 m4/lc_physmem.m4      |    2 +-
3143 src/common/cpucores.h |    2 +-
3144 src/common/physmem.h  |    2 +-
3145 4 files changed, 4 insertions(+), 4 deletions(-)
3146
3147commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3148Author: Lasse Collin <lasse.collin@tukaani.org>
3149Date:   2009-08-29 13:35:23 +0300
3150
3151    Fix x86 assembler on GCC 3.
3152
3153    Thanks to Karl Berry.
3154
3155 src/liblzma/check/crc32_x86.S |    7 +++++--
3156 src/liblzma/check/crc64_x86.S |    7 +++++--
3157 2 files changed, 10 insertions(+), 4 deletions(-)
3158
3159commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
3160Author: Lasse Collin <lasse.collin@tukaani.org>
3161Date:   2009-08-27 18:36:59 +0300
3162
3163    "make dist" fixes
3164
3165 Makefile.am |   13 ++++++-------
3166 1 files changed, 6 insertions(+), 7 deletions(-)
3167
3168commit c8c184db1c95bf70f78256ec6237845a57f342af
3169Author: Lasse Collin <lasse.collin@tukaani.org>
3170Date:   2009-08-27 17:08:33 +0300
3171
3172    Update xz man page date.
3173
3174 src/xz/xz.1 |    2 +-
3175 1 files changed, 1 insertions(+), 1 deletions(-)
3176
3177commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
3178Author: Lasse Collin <lasse.collin@tukaani.org>
3179Date:   2009-08-27 17:00:22 +0300
3180
3181    Fix the debug directory.
3182
3183    6a2eb54092fc625d59921a607ff68cd1a90aa898 and
3184    71f18e8a066a01dda0c8e5508b135ef104e43e4c required
3185    some changes that weren't applied in debug.
3186
3187 debug/Makefile.am   |    5 +++--
3188 debug/full_flush.c  |    1 +
3189 debug/known_sizes.c |    1 +
3190 debug/memusage.c    |    1 +
3191 debug/sync_flush.c  |    1 +
3192 5 files changed, 7 insertions(+), 2 deletions(-)
3193
3194commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
3195Author: Lasse Collin <lasse.collin@tukaani.org>
3196Date:   2009-08-27 16:36:40 +0300
3197
3198    Add missing files to EXTRA_DIST.
3199
3200 Makefile.am |   11 +++++++----
3201 1 files changed, 7 insertions(+), 4 deletions(-)
3202
3203commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
3204Author: Lasse Collin <lasse.collin@tukaani.org>
3205Date:   2009-08-27 16:21:22 +0300
3206
3207    Bumped version to 4.999.9beta.
3208
3209 src/liblzma/api/lzma/version.h |    2 +-
3210 1 files changed, 1 insertions(+), 1 deletions(-)
3211
3212commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
3213Author: Lasse Collin <lasse.collin@tukaani.org>
3214Date:   2009-08-27 16:17:47 +0300
3215
3216    Updated THANKS.
3217
3218 THANKS |    2 ++
3219 1 files changed, 2 insertions(+), 0 deletions(-)
3220
3221commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
3222Author: Lasse Collin <lasse.collin@tukaani.org>
3223Date:   2009-08-27 16:12:52 +0300
3224
3225    .xz file format specification 1.0.4 (probably).
3226
3227    Thanks to Christian von Roques, Peter Lawler,
3228    and Jim Meyering for the fixes.
3229
3230 doc/xz-file-format.txt |   26 +++++++++++++++-----------
3231 1 files changed, 15 insertions(+), 11 deletions(-)
3232
3233commit 696d7ee3953beaf4f0ed18e78917ccf300431966
3234Author: Lasse Collin <lasse.collin@tukaani.org>
3235Date:   2009-08-27 15:43:54 +0300
3236
3237    Require GNU libtool 2.2.
3238
3239 configure.ac |   13 +++----------
3240 1 files changed, 3 insertions(+), 10 deletions(-)
3241
3242commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
3243Author: Lasse Collin <lasse.collin@tukaani.org>
3244Date:   2009-08-27 15:34:45 +0300
3245
3246    Add "dos" to EXTRA_DIST.
3247
3248 Makefile.am |    1 +
3249 1 files changed, 1 insertions(+), 0 deletions(-)
3250
3251commit 35b29e4424ced5a3ababf132283e519080c7b298
3252Author: Lasse Collin <lasse.collin@tukaani.org>
3253Date:   2009-08-27 15:23:27 +0300
3254
3255    Updated TODO.
3256
3257 TODO |    6 ++++++
3258 1 files changed, 6 insertions(+), 0 deletions(-)
3259
3260commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
3261Author: Lasse Collin <lasse.collin@tukaani.org>
3262Date:   2009-08-27 15:17:00 +0300
3263
3264    Some xz man page improvements.
3265
3266 src/xz/xz.1 |   78 ++++++++++++++++++++++++++++++++++++++++++++++------------
3267 1 files changed, 62 insertions(+), 16 deletions(-)
3268
3269commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
3270Author: Lasse Collin <lasse.collin@tukaani.org>
3271Date:   2009-08-27 10:41:01 +0300
3272
3273    Removed doc/bugs.txt.
3274
3275 doc/bugs.txt |   46 ----------------------------------------------
3276 1 files changed, 0 insertions(+), 46 deletions(-)
3277
3278commit d88c4072b36d3a76f839185799fb1d91037a1b81
3279Author: Lasse Collin <lasse.collin@tukaani.org>
3280Date:   2009-08-27 10:40:25 +0300
3281
3282    Updated README.
3283
3284    It now includes bug reporting instructions/tips.
3285
3286 README |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
3287 1 files changed, 55 insertions(+), 10 deletions(-)
3288
3289commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
3290Author: Lasse Collin <lasse.collin@tukaani.org>
3291Date:   2009-08-27 10:21:18 +0300
3292
3293    Fix a typo in FAQ.
3294
3295    Thanks to Jim Meyering.
3296
3297    (From now on, I try to always remember to put
3298    the relevant thanks to commit messages.)
3299
3300 doc/faq.txt |    2 +-
3301 1 files changed, 1 insertions(+), 1 deletions(-)
3302
3303commit 3e2ba8b58585743e59251e69ad2783eb08357079
3304Author: Lasse Collin <lasse.collin@tukaani.org>
3305Date:   2009-08-27 10:13:46 +0300
3306
3307    Updates to liblzma API headers.
3308
3309    Added lzma_nothrow for every function. It adds
3310    throw() when the header is used in C++ code.
3311
3312    Some lzma_attrs were added or removed.
3313
3314    Lots of comments were improved.
3315
3316 src/liblzma/api/lzma.h              |   20 +++++++
3317 src/liblzma/api/lzma/base.h         |   48 +++++++++--------
3318 src/liblzma/api/lzma/block.h        |   38 +++++++-------
3319 src/liblzma/api/lzma/check.h        |   22 ++++----
3320 src/liblzma/api/lzma/container.h    |   36 +++++++------
3321 src/liblzma/api/lzma/filter.h       |   81 ++++++++++++++++++-----------
3322 src/liblzma/api/lzma/index.h        |   97 +++++++++++++++++++++--------------
3323 src/liblzma/api/lzma/index_hash.h   |   14 +++--
3324 src/liblzma/api/lzma/lzma.h         |   87 ++++++++++++++++---------------
3325 src/liblzma/api/lzma/stream_flags.h |   12 ++--
3326 src/liblzma/api/lzma/version.h      |   10 ++--
3327 src/liblzma/api/lzma/vli.h          |    7 ++-
3328 12 files changed, 275 insertions(+), 197 deletions(-)
3329
3330commit 8e8ebc17c535a1f8846718059b48417409c37050
3331Author: Lasse Collin <lasse.collin@tukaani.org>
3332Date:   2009-08-18 00:30:09 +0300
3333
3334    Install faq.txt.
3335
3336 Makefile.am |    1 +
3337 1 files changed, 1 insertions(+), 0 deletions(-)
3338
3339commit b198e770a146e4a41f91a93f0b233713f2515848
3340Author: Lasse Collin <lasse.collin@tukaani.org>
3341Date:   2009-08-18 00:26:48 +0300
3342
3343    Updated faq.txt.
3344
3345    Some questions worth answering were removed, because I
3346    currently don't have good up to date answers to them.
3347
3348 doc/faq.txt |  239 ++++++++++++++++++-----------------------------------------
3349 1 files changed, 73 insertions(+), 166 deletions(-)
3350
3351commit fe111a25cd788d31b581996e4533910388a7f0a9
3352Author: Lasse Collin <lasse.collin@tukaani.org>
3353Date:   2009-08-17 22:45:50 +0300
3354
3355    Some xz man changes.
3356
3357 src/xz/xz.1 |   88 +++++++++++++++++++++++++++++------------------------------
3358 1 files changed, 43 insertions(+), 45 deletions(-)
3359
3360commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
3361Author: Lasse Collin <lasse.collin@tukaani.org>
3362Date:   2009-08-16 22:15:42 +0300
3363
3364    Updated THANKS.
3365
3366 THANKS |    1 +
3367 1 files changed, 1 insertions(+), 0 deletions(-)
3368
3369commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
3370Author: Lasse Collin <lasse.collin@tukaani.org>
3371Date:   2009-08-16 22:15:13 +0300
3372
3373    Fix data corruption in LZ/LZMA2 encoder.
3374
3375    Thanks to Jonathan Stott for the bug report.
3376
3377 src/liblzma/lz/lz_encoder.h |    2 +-
3378 1 files changed, 1 insertions(+), 1 deletions(-)
3379
3380commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
3381Author: Lasse Collin <lasse.collin@tukaani.org>
3382Date:   2009-08-13 15:15:37 +0300
3383
3384    Updated INSTALL and PACKAGERS to match the changes
3385    made in --enable-dynamic.
3386
3387 INSTALL   |   20 ++++++++++++++++----
3388 PACKAGERS |   11 ++++++-----
3389 2 files changed, 22 insertions(+), 9 deletions(-)
3390
3391commit 8238c4b2402f952c4e492e5b778aa272e57b6705
3392Author: Lasse Collin <lasse.collin@tukaani.org>
3393Date:   2009-08-13 15:03:46 +0300
3394
3395    Link lzmainfo against shared liblzma by default.
3396
3397 src/lzmainfo/Makefile.am |    4 ++--
3398 1 files changed, 2 insertions(+), 2 deletions(-)
3399
3400commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
3401Author: Lasse Collin <lasse.collin@tukaani.org>
3402Date:   2009-08-13 15:00:21 +0300
3403
3404    Make --enable-dynamic a tristate option.
3405
3406    Some programs will by default be linked against static
3407    liblzma and some against shared liblzma. --enable-dynamic
3408    now allows overriding the default to both directions
3409    (all dynamic or all static) even when building both
3410    shared and static liblzma.
3411
3412    This is quite messy compared to how simple thing it is supposed
3413    to be. The complexity is mostly due to Windows support.
3414
3415 configure.ac |   77 +++++++++++++++++++++++++++++++++++++++++++---------------
3416 1 files changed, 57 insertions(+), 20 deletions(-)
3417
3418commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
3419Author: Lasse Collin <lasse.collin@tukaani.org>
3420Date:   2009-08-13 12:56:47 +0300
3421
3422    Fix xz Makefile.am for the man page.
3423
3424    install-exec-hook -> install-data-hook
3425
3426 src/xz/Makefile.am |    2 ++
3427 1 files changed, 2 insertions(+), 0 deletions(-)
3428
3429commit e51b4e49e800bd84e6d589dca2964d3985e88139
3430Author: Lasse Collin <lasse.collin@tukaani.org>
3431Date:   2009-08-13 12:55:45 +0300
3432
3433    Add lzmainfo for backward compatibility with LZMA Utils.
3434
3435    lzmainfo now links against static liblzma. In contrast
3436    to other command line tools in XZ Utils, linking lzmainfo
3437    against static liblzma by default is dumb. This will be
3438    fixed once I have fixed some related issues in configure.ac.
3439
3440 configure.ac             |    1 +
3441 src/Makefile.am          |    2 +-
3442 src/lzmainfo/Makefile.am |   29 ++++++
3443 src/lzmainfo/lzmainfo.1  |   55 +++++++++++
3444 src/lzmainfo/lzmainfo.c  |  242 ++++++++++++++++++++++++++++++++++++++++++++++
3445 5 files changed, 328 insertions(+), 1 deletions(-)
3446
3447commit a4165d0584376d948c213ec93c6065d24ff6a5e7
3448Author: Lasse Collin <lasse.collin@tukaani.org>
3449Date:   2009-08-13 12:42:36 +0300
3450
3451    Sync some error messages from xz to xzdec.
3452
3453    Make xz error message translation usable outside
3454    xz (at least in upcoming lzmainfo).
3455
3456 src/xz/main.c     |    4 ++--
3457 src/xzdec/xzdec.c |    6 +++---
3458 2 files changed, 5 insertions(+), 5 deletions(-)
3459
3460commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
3461Author: Lasse Collin <lasse.collin@tukaani.org>
3462Date:   2009-08-13 09:37:21 +0300
3463
3464    Add xz man page to manfiles in toplevel Makefile.am.
3465
3466 Makefile.am |    1 +
3467 1 files changed, 1 insertions(+), 0 deletions(-)
3468
3469commit 180bdf58ea5bb07941e0a99b304d9aa832198748
3470Author: Lasse Collin <lasse.collin@tukaani.org>
3471Date:   2009-08-13 09:37:01 +0300
3472
3473    Fix first line of xz man page.
3474
3475 src/xz/xz.1 |    2 +-
3476 1 files changed, 1 insertions(+), 1 deletions(-)
3477
3478commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
3479Author: Lasse Collin <lasse.collin@tukaani.org>
3480Date:   2009-08-10 11:22:31 +0300
3481
3482    Added a rough version of the xz man page.
3483
3484 src/xz/Makefile.am |   15 +
3485 src/xz/xz.1        | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3486 2 files changed, 1221 insertions(+), 0 deletions(-)
3487
3488commit e71903fc6101f1c039d702e335b08aad1e1b4100
3489Author: Jonathan Nieder <jrnieder@gmail.com>
3490Date:   2009-08-09 13:41:20 -0500
3491
3492    “xzdiff a.xz b.xz” always fails
3493
3494    Attempts to compare two compressed files result in no output and
3495    exit status 2.
3496
3497    Instead of going to standard output, ‘diff’ output is being
3498    captured in the xz_status variable along with the exit status from
3499    the decompression commands.  Later, when this variable is examined
3500    for nonzero status codes, numerals from dates in the ‘diff’ output
3501    make it appear as though decompression failed.
3502
3503    So let the ‘diff’ output leak to standard output with another file
3504    descriptor.  (This trick is used in all similar contexts elsewhere
3505    in xzdiff and in the analogous context in gzip’s zdiff script.)
3506
3507 src/scripts/xzdiff.in |    2 +-
3508 1 files changed, 1 insertions(+), 1 deletions(-)
3509
3510commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
3511Author: Jonathan Nieder <jrnieder@gmail.com>
3512Date:   2009-08-09 13:22:12 -0500
3513
3514    xzless: Support compressed standard input
3515
3516    It can be somewhat confusing that
3517
3518    	less < some_file.txt
3519
3520    works fine, whereas
3521
3522    	xzless < some_file.txt.xz
3523
3524    does not.  Since version 429, ‘less’ allows a filter specified in
3525    the LESSOPEN environment variable to preprocess its input even if
3526    it comes from standard input, if $LESSOPEN begins with ‘|-’.  So
3527    set $LESSOPEN to take advantage of this feature.
3528
3529    Check less’s version at runtime so xzless can continue to work
3530    with older versions.
3531
3532 src/scripts/xzless.in |    8 +++++++-
3533 1 files changed, 7 insertions(+), 1 deletions(-)
3534
3535commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
3536Author: Lasse Collin <lasse.collin@tukaani.org>
3537Date:   2009-08-09 20:57:46 +0300
3538
3539    GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
3540
3541 Doxyfile.in |    2 +-
3542 1 files changed, 1 insertions(+), 1 deletions(-)
3543
3544commit b735cde20cc14857136ae65a0e5d336ed7ddc862
3545Author: Lasse Collin <lasse.collin@tukaani.org>
3546Date:   2009-08-02 00:27:29 +0300
3547
3548    Added a copyright notice to Doxyfile.in since it contains
3549    lots of comments from Doxygen.
3550
3551    It seems that the Doxygen authors' intent is to not apply
3552    their copyright on generated files, but since it doesn't
3553    matter for XZ Utils at all, better safe than sorry.
3554
3555 Doxyfile.in |    3 +++
3556 1 files changed, 3 insertions(+), 0 deletions(-)
3557
3558commit 0fd157cc008446adfc8f91394f5503868025a642
3559Author: Lasse Collin <lasse.collin@tukaani.org>
3560Date:   2009-08-02 00:11:37 +0300
3561
3562    Updated THANKS.
3563
3564 THANKS |    1 +
3565 1 files changed, 1 insertions(+), 0 deletions(-)
3566
3567commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
3568Author: Lasse Collin <lasse.collin@tukaani.org>
3569Date:   2009-08-02 00:10:22 +0300
3570
3571    Updated TODO.
3572
3573 TODO |    4 ++++
3574 1 files changed, 4 insertions(+), 0 deletions(-)
3575
3576commit 669413bb2db954bbfde3c4542fddbbab53891eb4
3577Author: Lasse Collin <lasse.collin@tukaani.org>
3578Date:   2009-07-30 12:25:55 +0300
3579
3580    Updated THANKS.
3581
3582 THANKS |    1 +
3583 1 files changed, 1 insertions(+), 0 deletions(-)
3584
3585commit dbbd8fb870ae789d96497911006c869d37148c15
3586Author: Jonathan Nieder <jrnieder@gmail.com>
3587Date:   2009-07-28 17:37:24 -0500
3588
3589    xzdiff: add missing ;; to case statement
3590
3591 src/scripts/xzdiff.in |    6 +++---
3592 1 files changed, 3 insertions(+), 3 deletions(-)
3593
3594commit adbad2d16cb5909f85d4a429011005613ea62ffe
3595Author: Lasse Collin <lasse.collin@tukaani.org>
3596Date:   2009-07-24 13:15:06 +0300
3597
3598    Added history.txt to doc_DATA.
3599
3600 Makefile.am |    1 +
3601 1 files changed, 1 insertions(+), 0 deletions(-)
3602
3603commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
3604Author: Lasse Collin <lasse.collin@tukaani.org>
3605Date:   2009-07-24 12:00:40 +0300
3606
3607    Updated .gitignore files.
3608
3609 .gitignore    |   36 +++++++++++++++++++-----------------
3610 po/.gitignore |    3 +++
3611 2 files changed, 22 insertions(+), 17 deletions(-)
3612
3613commit 2f34fb269265e3aba43a2a9c734020a45268826d
3614Author: Lasse Collin <lasse.collin@tukaani.org>
3615Date:   2009-07-24 11:34:02 +0300
3616
3617    Minor improvements to COPYING.
3618
3619 COPYING |   11 ++++++++---
3620 1 files changed, 8 insertions(+), 3 deletions(-)
3621
3622commit 0db1befcfbc120377df4b89923762f16d25f548a
3623Author: Lasse Collin <lasse.collin@tukaani.org>
3624Date:   2009-07-23 19:10:55 +0300
3625
3626    Fix incorrect usage of getopt_long(), which caused
3627    invalid memory access if XZ_OPT was defined.
3628
3629 src/xz/args.c |    1 -
3630 1 files changed, 0 insertions(+), 1 deletions(-)
3631
3632commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
3633Author: Lasse Collin <lasse.collin@tukaani.org>
3634Date:   2009-07-20 15:43:32 +0300
3635
3636    Avoid internal error with --format=xz --lzma1.
3637
3638 src/xz/coder.c |   16 ++++++++++++----
3639 1 files changed, 12 insertions(+), 4 deletions(-)
3640
3641commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
3642Author: Lasse Collin <lasse.collin@tukaani.org>
3643Date:   2009-07-19 13:14:20 +0300
3644
3645    Major documentation update.
3646
3647    Installation and packaging instructions were added.
3648    README and other generic docs were revised.
3649
3650    Some of the documentation files are now installed to $docdir.
3651
3652 AUTHORS         |   35 ++++--
3653 ChangeLog       |    7 +-
3654 INSTALL         |  327 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3655 INSTALL.generic |  302 ++++++++++++++++++++++++++++++++++++++++++++++++++
3656 Makefile.am     |   11 ++
3657 PACKAGERS       |  278 ++++++++++++++++++++++++++++++++++++++++++++++
3658 README          |  263 +++++++++++++++++++-------------------------
3659 THANKS          |   17 ++--
3660 8 files changed, 1070 insertions(+), 170 deletions(-)
3661
3662commit ef4cf1851de89022cba5674784f1a8f6343c15b0
3663Author: Lasse Collin <lasse.collin@tukaani.org>
3664Date:   2009-07-19 11:09:31 +0300
3665
3666    Added missing author notice to xzless.in.
3667
3668 src/scripts/xzless.in |    1 +
3669 1 files changed, 1 insertions(+), 0 deletions(-)
3670
3671commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
3672Author: Lasse Collin <lasse.collin@tukaani.org>
3673Date:   2009-07-18 18:54:55 +0300
3674
3675    Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
3676    a little.
3677
3678    Fixed a related bug in the toplevel Makefile.am.
3679
3680    Added the build-aux directory to .gitignore.
3681
3682 .gitignore   |    1 +
3683 Makefile.am  |    1 -
3684 configure.ac |    3 ++-
3685 3 files changed, 3 insertions(+), 2 deletions(-)
3686
3687commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
3688Author: Lasse Collin <lasse.collin@tukaani.org>
3689Date:   2009-07-18 14:34:08 +0300
3690
3691    Updated the totally outdated TODO file.
3692
3693 TODO |  117 +++++++++++++++--------------------------------------------------
3694 1 files changed, 27 insertions(+), 90 deletions(-)
3695
3696commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
3697Author: Lasse Collin <lasse.collin@tukaani.org>
3698Date:   2009-07-18 11:26:39 +0300
3699
3700    Added public domain notice into a few files.
3701
3702 src/common/common_w32res.rc   |    9 ++++++++-
3703 src/liblzma/liblzma.pc.in     |    7 +++++++
3704 src/liblzma/liblzma_w32res.rc |    7 +++++++
3705 src/xz/xz_w32res.rc           |    7 +++++++
3706 src/xzdec/xzdec_w32res.rc     |    7 +++++++
3707 5 files changed, 36 insertions(+), 1 deletions(-)
3708
3709commit a35755c5de808df027675688855d1b621a4fb428
3710Author: Lasse Collin <lasse.collin@tukaani.org>
3711Date:   2009-07-14 21:10:36 +0300
3712
3713    Allow extra commas in filter-specific options on xz command line.
3714
3715    This may slightly ease writing scripts that construct
3716    filter-specific option strings dynamically.
3717
3718 src/xz/options.c |    7 +++++++
3719 1 files changed, 7 insertions(+), 0 deletions(-)
3720
3721commit 98f3cac1ad31191c5160a7e48398bf85141e941c
3722Author: Lasse Collin <lasse.collin@tukaani.org>
3723Date:   2009-07-14 18:04:31 +0300
3724
3725    Accept --lzma2=preset=6e where "e" is equivalent to --extreme
3726    when no custom chain is in use.
3727
3728 src/xz/options.c |   80 +++++++++++++++++++++++++++++++++++++++--------------
3729 1 files changed, 59 insertions(+), 21 deletions(-)
3730
3731commit d873a09e956363e54bf58c577c8f7e487b6fb464
3732Author: Lasse Collin <lasse.collin@tukaani.org>
3733Date:   2009-07-12 19:08:30 +0300
3734
3735    Add dist-hook to create ChangeLog from the commit log,
3736    and to conver the man pages to PDF and plain text, which
3737    may be convenient to those who cannot render man pages.
3738
3739 Makefile.am |   31 +++++++++++++++++++++++++++++++
3740 1 files changed, 31 insertions(+), 0 deletions(-)
3741
3742commit cd69a5a6c16c289f6f8e2823b03c72289472270f
3743Author: Lasse Collin <lasse.collin@tukaani.org>
3744Date:   2009-07-10 11:39:38 +0300
3745
3746    BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
3747
3748    This is a quick and slightly dirty fix to make the code
3749    conform to the latest file format specification. Without
3750    this patch, it's possible to make corrupt files by
3751    specifying start offset that is not a multiple of the
3752    filter's alignment. Custom start offset is almost never
3753    used, so this was only a minor bug.
3754
3755    The xz command line tool doesn't validate the start offset,
3756    so one will get a bit unclear error message if trying to use
3757    an invalid start offset.
3758
3759 src/liblzma/simple/arm.c            |    2 +-
3760 src/liblzma/simple/armthumb.c       |    2 +-
3761 src/liblzma/simple/ia64.c           |    2 +-
3762 src/liblzma/simple/powerpc.c        |    2 +-
3763 src/liblzma/simple/simple_coder.c   |    5 ++++-
3764 src/liblzma/simple/simple_private.h |    3 ++-
3765 src/liblzma/simple/sparc.c          |    2 +-
3766 src/liblzma/simple/x86.c            |    2 +-
3767 8 files changed, 12 insertions(+), 8 deletions(-)
3768
3769commit eed9953732b801f6c97317fb3160445a8754180b
3770Author: Lasse Collin <lasse.collin@tukaani.org>
3771Date:   2009-07-10 11:33:21 +0300
3772
3773    Look for full command names instead of substrings
3774    like "un", "cat", and "lz" when determining if
3775    xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
3776
3777    This is to ensure that if xz is renamed (e.g. via
3778    --program-transform-name), it doesn't so easily
3779    work in wrong mode.
3780
3781 src/xz/args.c |   22 +++++++++++++---------
3782 1 files changed, 13 insertions(+), 9 deletions(-)
3783
3784commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
3785Author: Lasse Collin <lasse.collin@tukaani.org>
3786Date:   2009-07-08 23:06:46 +0300
3787
3788    Updated THANKS.
3789
3790 THANKS |    2 ++
3791 1 files changed, 2 insertions(+), 0 deletions(-)
3792
3793commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
3794Author: Lasse Collin <lasse.collin@tukaani.org>
3795Date:   2009-07-08 23:05:29 +0300
3796
3797    Portability improvement to version.sh.
3798
3799 version.sh |    3 ++-
3800 1 files changed, 2 insertions(+), 1 deletions(-)
3801
3802commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
3803Author: Lasse Collin <lasse.collin@tukaani.org>
3804Date:   2009-07-08 22:50:16 +0300
3805
3806    Remove --force from xzdec.
3807
3808    It was ignored for compatibility with xz, but now that
3809    --decompress --stdout --force copies unrecognized files
3810    as is to stdout, simply ignoring --force in xzdec would
3811    be wrong. xzdec will not support copying unrecognized
3812    data as is to stdout, so it cannot support --force.
3813
3814 src/xzdec/xzdec.1 |    5 -----
3815 src/xzdec/xzdec.c |    5 +----
3816 2 files changed, 1 insertions(+), 9 deletions(-)
3817
3818commit 5f16ef4abf220028a9ddbcb138217597a9455f62
3819Author: Lasse Collin <lasse.collin@tukaani.org>
3820Date:   2009-07-06 10:36:04 +0300
3821
3822    Use sed instead of $(SED) so that we don't need to
3823    use AC_PROG_SED. We don't do anything fancy with sed,
3824    so this should work OK. libtool 2.2 sets SED but 1.5
3825    doesn't, so $(SED) happened to work when using libtool 2.2.
3826
3827 src/liblzma/Makefile.am |    2 +-
3828 src/scripts/Makefile.am |   28 ++++++++++++++--------------
3829 src/xz/Makefile.am      |    6 +++---
3830 src/xzdec/Makefile.am   |    6 +++---
3831 4 files changed, 21 insertions(+), 21 deletions(-)
3832
3833commit 96e4b257e101d72072d43e144897d92920270669
3834Author: Lasse Collin <lasse.collin@tukaani.org>
3835Date:   2009-07-05 22:25:17 +0300
3836
3837    Major update to the xzgrep and other scripts based on
3838    the latest versions found from gzip CVS repository.
3839
3840    configure will try to find a POSIX shell to be used by
3841    the scripts. This should ease portability on systems
3842    which have pre-POSIX /bin/sh.
3843
3844    xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
3845    xzmore and xzless support only .xz and .lzma files.
3846
3847    The name of the xz executable used in these scripts is
3848    now correct even if --program-transform-name has been used.
3849
3850 configure.ac            |   14 ++++
3851 m4/posix-shell.m4       |   63 +++++++++++++++
3852 src/scripts/Makefile.am |   24 +++---
3853 src/scripts/xzdiff      |   67 ----------------
3854 src/scripts/xzdiff.1    |   58 +++++++++-----
3855 src/scripts/xzdiff.in   |  172 +++++++++++++++++++++++++++++++++++++++++
3856 src/scripts/xzgrep      |  123 -----------------------------
3857 src/scripts/xzgrep.1    |   85 ++++++++++++--------
3858 src/scripts/xzgrep.in   |  196 +++++++++++++++++++++++++++++++++++++++++++++++
3859 src/scripts/xzless.1    |   66 ++++++++++++++++
3860 src/scripts/xzless.in   |   51 ++++++++++++
3861 src/scripts/xzmore      |   74 ------------------
3862 src/scripts/xzmore.1    |   64 ++++++---------
3863 src/scripts/xzmore.in   |   78 +++++++++++++++++++
3864 14 files changed, 766 insertions(+), 369 deletions(-)
3865
3866commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
3867Author: Lasse Collin <lasse.collin@tukaani.org>
3868Date:   2009-07-05 19:26:53 +0300
3869
3870    Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
3871
3872 src/liblzma/liblzma.pc.in |    2 +-
3873 1 files changed, 1 insertions(+), 1 deletions(-)
3874
3875commit 18c10c30d2833f394cd7bce0e6a821044b15832f
3876Author: Lasse Collin <lasse.collin@tukaani.org>
3877Date:   2009-07-04 00:40:44 +0300
3878
3879    Make "xz --decompress --stdout --force" copy unrecognized
3880    files as is to standard output.
3881
3882    This feature is needed to be more compatible with gzip's
3883    behavior. This was more complicated to implement than it
3884    sounds, because the way liblzma is able to return errors with
3885    files of only a few bytes in size. xz now has its own file
3886    type detection code and no longer uses lzma_auto_decoder().
3887
3888 src/xz/coder.c |  213 ++++++++++++++++++++++++++++++++++++++++++++++---------
3889 1 files changed, 178 insertions(+), 35 deletions(-)
3890
3891commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
3892Author: Lasse Collin <lasse.collin@tukaani.org>
3893Date:   2009-07-02 14:30:38 +0300
3894
3895    Define PACKAGE_HOMEPAGE in configure.ac and use it in
3896    xz and xzdec.
3897
3898    Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
3899
3900 configure.ac      |    5 +++++
3901 src/xz/message.c  |    4 ++--
3902 src/xzdec/xzdec.c |    4 ++--
3903 3 files changed, 9 insertions(+), 4 deletions(-)
3904
3905commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
3906Author: Lasse Collin <lasse.collin@tukaani.org>
3907Date:   2009-07-01 12:21:24 +0300
3908
3909    Avoid visibility related compiler warnings on Windows.
3910
3911 configure.ac |   20 +++++++++-----------
3912 1 files changed, 9 insertions(+), 11 deletions(-)
3913
3914commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
3915Author: Lasse Collin <lasse.collin@tukaani.org>
3916Date:   2009-06-30 17:14:39 +0300
3917
3918    Use static liblzma by default also for tests.
3919
3920 tests/Makefile.am |    5 ++++-
3921 1 files changed, 4 insertions(+), 1 deletions(-)
3922
3923commit f42ee981668b545ab6d06c6072e262c29605273c
3924Author: Lasse Collin <lasse.collin@tukaani.org>
3925Date:   2009-06-30 17:09:57 +0300
3926
3927    Build system fixes
3928
3929    Don't use libtool convenience libraries to avoid recently
3930    discovered long-standing subtle but somewhat severe bugs
3931    in libtool (at least 1.5.22 and 2.2.6 are affected). It
3932    was found when porting XZ Utils to Windows
3933    <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
3934    but the problem is significant also e.g. on GNU/Linux.
3935
3936    Unless --disable-shared is passed to configure, static
3937    library built from a set of convenience libraries will
3938    contain PIC objects. That is, while libtool builds non-PIC
3939    objects too, only PIC objects will be used from the
3940    convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
3941    using PIC instead of non-PIC makes the decompressor 10 % slower
3942    with the default CFLAGS.
3943
3944    So while xz was linked against static liblzma by default,
3945    it got the slower PIC objects unless --disable-shared was
3946    used. I tend develop and benchmark with --disable-shared
3947    due to faster build time, so I hadn't noticed the problem
3948    in benchmarks earlier.
3949
3950    This commit also adds support for building Windows resources
3951    into liblzma and executables.
3952
3953 configure.ac                        |   34 ++++++++++-----
3954 src/liblzma/Makefile.am             |   79 +++++++++++++++++++++++++++-------
3955 src/liblzma/check/Makefile.am       |   47 ---------------------
3956 src/liblzma/check/Makefile.inc      |   51 ++++++++++++++++++++++
3957 src/liblzma/common/Makefile.am      |   78 ----------------------------------
3958 src/liblzma/common/Makefile.inc     |   67 +++++++++++++++++++++++++++++
3959 src/liblzma/common/common.h         |   16 ++++---
3960 src/liblzma/delta/Makefile.am       |   28 ------------
3961 src/liblzma/delta/Makefile.inc      |   23 ++++++++++
3962 src/liblzma/lz/Makefile.am          |   29 -------------
3963 src/liblzma/lz/Makefile.inc         |   21 +++++++++
3964 src/liblzma/lzma/Makefile.am        |   51 ----------------------
3965 src/liblzma/lzma/Makefile.inc       |   43 +++++++++++++++++++
3966 src/liblzma/rangecoder/Makefile.am  |   26 -----------
3967 src/liblzma/rangecoder/Makefile.inc |   21 +++++++++
3968 src/liblzma/simple/Makefile.am      |   51 ----------------------
3969 src/liblzma/simple/Makefile.inc     |   47 +++++++++++++++++++++
3970 src/liblzma/subblock/Makefile.am    |   26 -----------
3971 src/liblzma/subblock/Makefile.inc   |   20 +++++++++
3972 src/xz/Makefile.am                  |   11 ++++-
3973 src/xzdec/Makefile.am               |   20 ++++++++-
3974 21 files changed, 417 insertions(+), 372 deletions(-)
3975
3976commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
3977Author: Lasse Collin <lasse.collin@tukaani.org>
3978Date:   2009-06-29 22:19:51 +0300
3979
3980    Added a comment about "autoconf -fi" to autogen.sh.
3981
3982 autogen.sh |    3 +++
3983 1 files changed, 3 insertions(+), 0 deletions(-)
3984
3985commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
3986Author: Lasse Collin <lasse.collin@tukaani.org>
3987Date:   2009-06-28 10:04:24 +0300
3988
3989    Add -no-undefined to get shared liblzma on Windows.
3990
3991 src/liblzma/Makefile.am |    2 +-
3992 1 files changed, 1 insertions(+), 1 deletions(-)
3993
3994commit 73f560ee5fa064992b76688d9472baf139432540
3995Author: Lasse Collin <lasse.collin@tukaani.org>
3996Date:   2009-06-27 22:57:15 +0300
3997
3998    Make physmem() work on Cygwin 1.5 and older.
3999
4000 src/common/physmem.h |   77 ++++++++++++++++++++++++++------------------------
4001 1 files changed, 40 insertions(+), 37 deletions(-)
4002
4003commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
4004Author: Lasse Collin <lasse.collin@tukaani.org>
4005Date:   2009-06-27 17:28:01 +0300
4006
4007    Moved the Windows resource files outside the windows directory
4008    to prepare for building them with Autotools.
4009
4010 src/common/common_w32res.rc   |   46 +++++++++++++++++++++++++++++++++++++++++
4011 src/liblzma/liblzma_w32res.rc |    5 ++++
4012 src/xz/xz_w32res.rc           |    5 ++++
4013 src/xzdec/lzmadec_w32res.rc   |    5 ++++
4014 src/xzdec/xzdec_w32res.rc     |    5 ++++
4015 windows/Makefile              |   35 +++++++++++++++++--------------
4016 windows/common.rc             |   46 -----------------------------------------
4017 windows/liblzma.rc            |    5 ----
4018 windows/lzmadec.rc            |    5 ----
4019 windows/xz.rc                 |    5 ----
4020 windows/xzdec.rc              |    5 ----
4021 11 files changed, 85 insertions(+), 82 deletions(-)
4022
4023commit 449c634674f35336a4815d398172e447659a135e
4024Author: Lasse Collin <lasse.collin@tukaani.org>
4025Date:   2009-06-27 13:05:03 +0300
4026
4027    Added missing $(EXEEXT).
4028
4029 src/xz/Makefile.am |    2 +-
4030 1 files changed, 1 insertions(+), 1 deletions(-)
4031
4032commit 792db79f27ad9ab1fb977e23be65c7761f545752
4033Author: Lasse Collin <lasse.collin@tukaani.org>
4034Date:   2009-06-27 12:32:40 +0300
4035
4036    Create correct symlinks even when
4037    --program-{prefix,suffix,transform} is passed to configure.
4038
4039 src/scripts/Makefile.am |   80 +++++++++++++++++++++++++++--------------------
4040 src/xz/Makefile.am      |   21 +++++++-----
4041 src/xzdec/Makefile.am   |    9 +++--
4042 3 files changed, 65 insertions(+), 45 deletions(-)
4043
4044commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
4045Author: Lasse Collin <lasse.collin@tukaani.org>
4046Date:   2009-06-27 10:02:24 +0300
4047
4048    Silence a compiler warning on DOS-like systems.
4049
4050 src/xz/file_io.c |    5 ++++-
4051 1 files changed, 4 insertions(+), 1 deletions(-)
4052
4053commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
4054Author: Lasse Collin <lasse.collin@tukaani.org>
4055Date:   2009-06-27 09:35:15 +0300
4056
4057    Updated the filenames in POTFILES.in too.
4058
4059 po/POTFILES.in |    4 ++--
4060 1 files changed, 2 insertions(+), 2 deletions(-)
4061
4062commit b2b1f867532732fe9969131f8713bdd6b0731763
4063Author: Lasse Collin <lasse.collin@tukaani.org>
4064Date:   2009-06-27 00:43:06 +0300
4065
4066    Hopefully improved portability of the assembler code in
4067    Autotools based builds on Windows.
4068
4069 src/liblzma/check/crc32_x86.S |    8 +++++++-
4070 src/liblzma/check/crc64_x86.S |    8 +++++++-
4071 2 files changed, 14 insertions(+), 2 deletions(-)
4072
4073commit c393055947247627a09b6a6b8f20aa0c32f9be16
4074Author: Lasse Collin <lasse.collin@tukaani.org>
4075Date:   2009-06-26 21:17:29 +0300
4076
4077    Updated THANKS (most of today's commits are based on
4078    Charles Wilson's patches).
4079
4080 THANKS |    1 +
4081 1 files changed, 1 insertions(+), 0 deletions(-)
4082
4083commit da0af22e4b4139b8a10710945f8b245b3a77c97d
4084Author: Lasse Collin <lasse.collin@tukaani.org>
4085Date:   2009-06-26 21:00:35 +0300
4086
4087    Updated comments to match renamed files.
4088
4089 src/xz/coder.c   |    2 +-
4090 src/xz/coder.h   |    2 +-
4091 src/xz/file_io.c |    2 +-
4092 src/xz/file_io.h |    2 +-
4093 4 files changed, 4 insertions(+), 4 deletions(-)
4094
4095commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
4096Author: Lasse Collin <lasse.collin@tukaani.org>
4097Date:   2009-06-26 20:49:54 +0300
4098
4099    Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
4100    to avoid problems on systems with system headers with those
4101    names.
4102
4103 dos/Makefile       |    4 +-
4104 src/xz/Makefile.am |    8 +-
4105 src/xz/coder.c     |  488 +++++++++++++++++++++++++++++++++++
4106 src/xz/coder.h     |   57 ++++
4107 src/xz/file_io.c   |  716 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4108 src/xz/file_io.h   |   86 +++++++
4109 src/xz/io.c        |  716 ----------------------------------------------------
4110 src/xz/io.h        |   86 -------
4111 src/xz/private.h   |    4 +-
4112 src/xz/process.c   |  488 -----------------------------------
4113 src/xz/process.h   |   57 ----
4114 windows/Makefile   |    4 +-
4115 12 files changed, 1357 insertions(+), 1357 deletions(-)
4116
4117commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
4118Author: Lasse Collin <lasse.collin@tukaani.org>
4119Date:   2009-06-26 20:43:36 +0300
4120
4121    Rename process_file() to coder_run().
4122
4123 src/xz/main.c    |    6 +++---
4124 src/xz/process.c |    6 +++---
4125 src/xz/process.h |    5 ++---
4126 3 files changed, 8 insertions(+), 9 deletions(-)
4127
4128commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
4129Author: Lasse Collin <lasse.collin@tukaani.org>
4130Date:   2009-06-26 20:36:45 +0300
4131
4132    Ugly hack to make it possible to use the thousand separator
4133    format character with snprintf() on POSIX systems but not
4134    on non-POSIX systems and still keep xgettext working.
4135
4136 dos/Makefile     |   16 +++-------------
4137 src/xz/message.c |   17 +++++++++--------
4138 src/xz/process.c |   30 +++++++++++++++---------------
4139 src/xz/util.c    |   34 ++++++++++++++++++++++++++++++++++
4140 src/xz/util.h    |   20 ++++++++++++++++++++
4141 windows/Makefile |   13 +++----------
4142 6 files changed, 84 insertions(+), 46 deletions(-)
4143
4144commit fe378d47074b16c52b00fe184d119287c68ce2e7
4145Author: Lasse Collin <lasse.collin@tukaani.org>
4146Date:   2009-06-26 15:40:40 +0300
4147
4148    Added missing source files to windows/Makefile.
4149
4150 windows/Makefile |    2 ++
4151 1 files changed, 2 insertions(+), 0 deletions(-)
4152
4153commit 390a6408563067613b29de895cb40e4d0386d62c
4154Author: Lasse Collin <lasse.collin@tukaani.org>
4155Date:   2009-06-26 15:37:53 +0300
4156
4157    Basic support for building with Cygwin and MinGW using
4158    the Autotools based build system. It's not good yet, more
4159    fixes will follow.
4160
4161 configure.ac                  |    7 +++++++
4162 src/liblzma/api/lzma.h        |    7 +++++--
4163 src/liblzma/check/crc32_x86.S |    7 ++++---
4164 src/liblzma/check/crc64_x86.S |    7 ++++---
4165 src/liblzma/common/common.h   |    2 +-
4166 windows/Makefile              |   16 +++++++---------
4167 6 files changed, 28 insertions(+), 18 deletions(-)
4168
4169commit 1c9360b7d1197457aaad2f8888b99f1149861579
4170Author: Lasse Collin <lasse.collin@tukaani.org>
4171Date:   2009-06-26 14:47:31 +0300
4172
4173    Fix @variables@ to $(variables) in Makefile.am files.
4174    Fix the ordering of libgnu.a and LTLIBINTL on the linker
4175    command line and added missing LTLIBINTL to tests/Makefile.am.
4176
4177 debug/Makefile.am                  |   12 ++++++------
4178 src/liblzma/check/Makefile.am      |    4 ++--
4179 src/liblzma/common/Makefile.am     |   16 ++++++++--------
4180 src/liblzma/delta/Makefile.am      |    4 ++--
4181 src/liblzma/lz/Makefile.am         |    6 +++---
4182 src/liblzma/lzma/Makefile.am       |    8 ++++----
4183 src/liblzma/rangecoder/Makefile.am |    4 ++--
4184 src/liblzma/simple/Makefile.am     |    4 ++--
4185 src/liblzma/subblock/Makefile.am   |    4 ++--
4186 src/xz/Makefile.am                 |   21 +++++++++++----------
4187 src/xzdec/Makefile.am              |   19 ++++++++++---------
4188 tests/Makefile.am                  |   12 +++++++-----
4189 12 files changed, 59 insertions(+), 55 deletions(-)
4190
4191commit d45615c555e250209ebb55aa3649abe790f1eeac
4192Author: Lasse Collin <lasse.collin@tukaani.org>
4193Date:   2009-06-26 14:20:02 +0300
4194
4195    Allow to explicitly specify autotool versions in autogen.sh.
4196
4197 autogen.sh |   12 ++++++------
4198 1 files changed, 6 insertions(+), 6 deletions(-)
4199
4200commit eaf8367368a329afa48785380f9dca6b681f3397
4201Author: Lasse Collin <lasse.collin@tukaani.org>
4202Date:   2009-06-26 14:18:32 +0300
4203
4204    Add version.sh to EXTRA_DIST.
4205
4206 Makefile.am |    3 ++-
4207 1 files changed, 2 insertions(+), 1 deletions(-)
4208
4209commit b317b218e2d383dd27a700094c0de4510540ea18
4210Author: Lasse Collin <lasse.collin@tukaani.org>
4211Date:   2009-06-24 20:14:10 +0300
4212
4213    Support HW_PHYSMEM64
4214
4215 src/common/physmem.h |   30 +++++++++++++++++++-----------
4216 1 files changed, 19 insertions(+), 11 deletions(-)
4217
4218commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
4219Author: Lasse Collin <lasse.collin@tukaani.org>
4220Date:   2009-06-24 13:01:59 +0300
4221
4222    Cast a char argument to isspace() to unsigned char.
4223
4224 src/xz/args.c |   11 +++++++++--
4225 1 files changed, 9 insertions(+), 2 deletions(-)
4226
4227commit 1735d31ea347210e914df038eeea4b2626e76e42
4228Author: Lasse Collin <lasse.collin@tukaani.org>
4229Date:   2009-06-05 13:46:26 +0300
4230
4231    A few more spelling fixes. Released the .xz spec 1.0.3.
4232
4233 doc/xz-file-format.txt |   12 +++++++-----
4234 1 files changed, 7 insertions(+), 5 deletions(-)
4235
4236commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
4237Author: Lasse Collin <lasse.collin@tukaani.org>
4238Date:   2009-06-04 23:42:12 +0300
4239
4240    Added xzdec man page.
4241
4242 src/xzdec/Makefile.am |   11 +++
4243 src/xzdec/xzdec.1     |  173 +++++++++++++++++++++++++++++++++++++++++++++++++
4244 2 files changed, 184 insertions(+), 0 deletions(-)
4245
4246commit f6df39afaa84f71439507178a49b2a5dda6e824c
4247Author: Lasse Collin <lasse.collin@tukaani.org>
4248Date:   2009-06-04 23:26:47 +0300
4249
4250    Harmonized xzdec --memory with xz --memory and made
4251    minor cleanups.
4252
4253 src/xzdec/xzdec.c |   74 ++++++++++++++++++++++++++++++++++++++---------------
4254 1 files changed, 53 insertions(+), 21 deletions(-)
4255
4256commit 1774f27c61ce294a56712ca2f4785f90a62441bc
4257Author: Lasse Collin <lasse.collin@tukaani.org>
4258Date:   2009-06-04 22:59:55 +0300
4259
4260    Fix purporse -> purpose. Thanks to Andrew Dudman.
4261    Released .xz spec 1.0.2 due to this fix too.
4262
4263 THANKS                    |    1 +
4264 doc/xz-file-format.txt    |    8 +++++---
4265 src/liblzma/liblzma.pc.in |    2 +-
4266 windows/Makefile          |    2 +-
4267 4 files changed, 8 insertions(+), 5 deletions(-)
4268
4269commit cb613455642f48fb51059e22018615f64c59b70f
4270Author: Lasse Collin <lasse.collin@tukaani.org>
4271Date:   2009-06-01 14:53:57 +0300
4272
4273    The .xz file format version 1.0.1
4274
4275 doc/xz-file-format.txt |   29 ++++++++++++++++++++++-------
4276 1 files changed, 22 insertions(+), 7 deletions(-)
4277
4278commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
4279Author: Lasse Collin <lasse.collin@tukaani.org>
4280Date:   2009-05-26 14:48:48 +0300
4281
4282    Make the raw value of the Check field available to applications
4283    via lzma_block structure.
4284
4285    This changes ABI but not doesn't break API.
4286
4287 src/liblzma/api/lzma/block.h              |   17 ++++++++++++++
4288 src/liblzma/common/block_buffer_encoder.c |    1 +
4289 src/liblzma/common/block_decoder.c        |   34 ++++++++++++----------------
4290 src/liblzma/common/block_encoder.c        |   21 +++++++----------
4291 4 files changed, 42 insertions(+), 31 deletions(-)
4292
4293commit b4f5c814090dc07d4350453576305e41eb9c998d
4294Author: Lasse Collin <lasse.collin@tukaani.org>
4295Date:   2009-05-23 16:57:21 +0300
4296
4297    Remove undocumented alternative option names --bcj, --ppc,
4298    and --itanium.
4299
4300 src/xz/args.c |    3 ---
4301 1 files changed, 0 insertions(+), 3 deletions(-)
4302
4303commit b1edee2cdc7ef4411b1a21c07094ec763f071281
4304Author: Lasse Collin <lasse.collin@tukaani.org>
4305Date:   2009-05-23 15:12:23 +0300
4306
4307    Add support for specifying the BCJ filter start offset
4308    in the xz command line tool.
4309
4310 src/xz/args.c    |   36 +++++++++++++++++++++---------------
4311 src/xz/message.c |   14 ++++++++------
4312 src/xz/options.c |   40 ++++++++++++++++++++++++++++++++++++++++
4313 src/xz/options.h |    7 +++++++
4314 4 files changed, 76 insertions(+), 21 deletions(-)
4315
4316commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
4317Author: Lasse Collin <lasse.collin@tukaani.org>
4318Date:   2009-05-23 14:51:09 +0300
4319
4320    Updated THANKS.
4321
4322 THANKS |    2 ++
4323 1 files changed, 2 insertions(+), 0 deletions(-)
4324
4325commit dcedb6998cefeca6597dd1219328a3abf5acf66d
4326Author: Lasse Collin <lasse.collin@tukaani.org>
4327Date:   2009-05-22 16:40:50 +0300
4328
4329    Added support for --quiet and --no-warn to xzdec.
4330    Cleaned up the --help message a little.
4331
4332 src/xzdec/xzdec.c |   76 ++++++++++++++++++++++++++++++++++-------------------
4333 1 files changed, 49 insertions(+), 27 deletions(-)
4334
4335commit 5f735dae80aa629853f4831d7b84ec1c614979eb
4336Author: Lasse Collin <lasse.collin@tukaani.org>
4337Date:   2009-05-22 15:11:52 +0300
4338
4339    Use the 40 % of RAM memory usage limit in xzdec too.
4340
4341    Update the memory usage info text in --help to match
4342    the text in xz --long-help.
4343
4344 src/xzdec/xzdec.c |   10 +++++-----
4345 1 files changed, 5 insertions(+), 5 deletions(-)
4346
4347commit b60376249e0c586910c4121fab4f791820cc1289
4348Author: Lasse Collin <lasse.collin@tukaani.org>
4349Date:   2009-05-22 14:43:00 +0300
4350
4351    Add --no-warn.
4352
4353 src/xz/args.c    |    8 +++++++-
4354 src/xz/main.c    |   17 +++++++++++++++++
4355 src/xz/main.h    |    6 ++++++
4356 src/xz/message.c |    4 ++++
4357 4 files changed, 34 insertions(+), 1 deletions(-)
4358
4359commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
4360Author: Lasse Collin <lasse.collin@tukaani.org>
4361Date:   2009-05-22 14:27:40 +0300
4362
4363    Fix a comment.
4364
4365 src/xz/main.h |    2 +-
4366 1 files changed, 1 insertions(+), 1 deletions(-)
4367
4368commit 4dd21d23f22569285ae706b58b0e5904b8db1839
4369Author: Lasse Collin <lasse.collin@tukaani.org>
4370Date:   2009-05-22 14:21:20 +0300
4371
4372    Remove the --info option, which was an alias for --list.
4373
4374 src/xz/args.c |    1 -
4375 1 files changed, 0 insertions(+), 1 deletions(-)
4376
4377commit 8836139b63ce774bdd62abf17ab69b290e08229e
4378Author: Lasse Collin <lasse.collin@tukaani.org>
4379Date:   2009-05-22 12:27:43 +0300
4380
4381    If xz is run as lzma, unlzma, or lzcat, simply imply
4382    --format=lzma. This means that xz emulating lzma
4383    doesn't decompress .xz files, while before this
4384    commit it did. The new way is slightly simpler in
4385    code and especially in upcoming documentation.
4386
4387 src/xz/args.c |   17 ++++++-----------
4388 1 files changed, 6 insertions(+), 11 deletions(-)
4389
4390commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
4391Author: Lasse Collin <lasse.collin@tukaani.org>
4392Date:   2009-05-22 11:29:50 +0300
4393
4394    Make the default memory usage limit 40 % of RAM for both
4395    compressing and decompressing. This should be OK now that
4396    xz automatically scales down the compression settings if
4397    they would exceed the memory usage limit (earlier, the limit
4398    for compression was increased to 90 % because low limit broke
4399    scripts that used "xz -9" on systems with low RAM).
4400
4401    Support spcifying the memory usage limit as a percentage
4402    of RAM (e.g. --memory=50%).
4403
4404    Support --threads=0 to reset the thread limit to the default
4405    value (number of available CPU cores). Use UINT32_MAX instead
4406    of SIZE_MAX as the maximum in args.c. hardware.c was already
4407    expecting uint32_t value.
4408
4409    Cleaned up the output of --help and --long-help.
4410
4411 src/xz/args.c     |   28 +++++++++++++----
4412 src/xz/hardware.c |   86 ++++++++++++++++++++++------------------------------
4413 src/xz/hardware.h |   10 +++---
4414 src/xz/message.c  |   28 ++++++++---------
4415 src/xz/process.c  |   18 ++++-------
4416 5 files changed, 82 insertions(+), 88 deletions(-)
4417
4418commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
4419Author: Lasse Collin <lasse.collin@tukaani.org>
4420Date:   2009-05-21 17:22:01 +0300
4421
4422    Support special value "max" where xz and xzdec accept an integer.
4423    Don't round the memory usage limit in xzdec --help to avoid
4424    an integer overflow and to not give wrong impression that
4425    the limit is high enough when it may not actually be.
4426
4427 src/xz/util.c     |    4 ++++
4428 src/xzdec/xzdec.c |    6 +++++-
4429 2 files changed, 9 insertions(+), 1 deletions(-)
4430
4431commit 03ca67fd37dd43fa7f590de340899cd497c10802
4432Author: ABCD <en.abcd@gmail.com>
4433Date:   2009-05-20 17:31:18 -0400
4434
4435    Install lzdiff, lzgrep, and lzmore as symlinks
4436
4437    This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
4438    It also installs symlinks for the manual pages and removes the new
4439    symlinks on uninstall.
4440
4441 src/scripts/Makefile.am |   16 ++++++++++++++--
4442 1 files changed, 14 insertions(+), 2 deletions(-)
4443
4444commit a6f43e64128a6da5cd641de1e1e527433b3e5638
4445Author: Lasse Collin <lasse.collin@tukaani.org>
4446Date:   2009-05-02 16:10:14 +0300
4447
4448    Use a GCC-specific #pragma instead of GCC-specific
4449    -Wno-uninitialized to silence a bogus warning.
4450
4451 configure.ac                  |   13 -------------
4452 src/liblzma/check/Makefile.am |    5 -----
4453 src/liblzma/check/sha256.c    |    5 +++++
4454 3 files changed, 5 insertions(+), 18 deletions(-)
4455
4456commit f6ce63ebdb45a857c8949960c83c9580ae888951
4457Author: Lasse Collin <lasse.collin@tukaani.org>
4458Date:   2009-05-02 14:46:50 +0300
4459
4460    Removed --disable-encoder and --disable-decoder. Use the values
4461    given to --enable-encoders and --enable-decoders to determine
4462    if any encoder or decoder support is wanted.
4463
4464 configure.ac |   48 ++++++++----------------------------------------
4465 1 files changed, 8 insertions(+), 40 deletions(-)
4466
4467commit be06858d5cf8ba46557395035d821dc332f3f830
4468Author: Lasse Collin <lasse.collin@tukaani.org>
4469Date:   2009-05-01 11:28:52 +0300
4470
4471    Remove docs that are too outdated to be updated
4472    (rewrite will be better).
4473
4474 doc/liblzma-advanced.txt |  324 ----------------------------------------------
4475 doc/liblzma-hacking.txt  |  112 ----------------
4476 doc/liblzma-intro.txt    |  194 ---------------------------
4477 doc/liblzma-security.txt |  219 -------------------------------
4478 doc/lzma-intro.txt       |  107 ---------------
4479 5 files changed, 0 insertions(+), 956 deletions(-)
4480
4481commit 0255401e57c96af87c6b159eca28974e79430a82
4482Author: Lasse Collin <lasse.collin@tukaani.org>
4483Date:   2009-05-01 11:21:46 +0300
4484
4485    Added documentation about the legacy .lzma file format.
4486
4487 doc/lzma-file-format.txt |  166 ++++++++++++++++++++++++++++++++++++++++++++++
4488 1 files changed, 166 insertions(+), 0 deletions(-)
4489
4490commit 1496ff437c46f38303e0e94c511ca604b3a11f85
4491Author: Lasse Collin <lasse.collin@tukaani.org>
4492Date:   2009-05-01 11:20:23 +0300
4493
4494    Renamed the file format specification to xz-file-format.txt
4495    which is the filename used on the WWW.
4496
4497 doc/file-format.txt    | 1127 ------------------------------------------------
4498 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
4499 2 files changed, 1127 insertions(+), 1127 deletions(-)
4500
4501commit 21c6b94373d239d7e86bd480fcd558e30391712f
4502Author: Lasse Collin <lasse.collin@tukaani.org>
4503Date:   2009-04-28 23:08:32 +0300
4504
4505    Fixed a crash in liblzma.
4506
4507    liblzma tries to avoid useless free()/malloc() pairs in
4508    initialization when multiple files are handled using the
4509    same lzma_stream. This didn't work with filter chains
4510    due to comparison of wrong pointers in lzma_next_coder_init(),
4511    making liblzma think that no memory reallocation is needed
4512    even when it actually is.
4513
4514    Easy way to trigger this bug is to decompress two files with
4515    a single xz command. The first file should have e.g. x86+LZMA2
4516    as the filter chain, and the second file just LZMA2.
4517
4518 src/liblzma/common/alone_decoder.c  |    2 +-
4519 src/liblzma/common/alone_encoder.c  |    4 ++--
4520 src/liblzma/common/auto_decoder.c   |    2 +-
4521 src/liblzma/common/block_decoder.c  |    2 +-
4522 src/liblzma/common/block_encoder.c  |    2 +-
4523 src/liblzma/common/common.h         |    4 ++--
4524 src/liblzma/common/easy_encoder.c   |    2 +-
4525 src/liblzma/common/index_decoder.c  |    2 +-
4526 src/liblzma/common/index_encoder.c  |    2 +-
4527 src/liblzma/common/stream_decoder.c |    2 +-
4528 src/liblzma/common/stream_encoder.c |    2 +-
4529 11 files changed, 13 insertions(+), 13 deletions(-)
4530
4531commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
4532Author: Lasse Collin <lasse.collin@tukaani.org>
4533Date:   2009-04-15 14:13:38 +0300
4534
4535    Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
4536
4537    On 64-bit system it would have gone into infinite
4538    loop if a single input buffer was over 4 GiB (unlikely).
4539
4540 src/liblzma/simple/arm.c      |    2 +-
4541 src/liblzma/simple/armthumb.c |    2 +-
4542 2 files changed, 2 insertions(+), 2 deletions(-)
4543
4544commit 31decdce041581e57c0d8a407d4795b114ef27ca
4545Author: Lasse Collin <lasse.collin@tukaani.org>
4546Date:   2009-04-14 11:48:46 +0300
4547
4548    Minor fixes to test files' README.
4549
4550 tests/files/README |   17 +++++++++--------
4551 1 files changed, 9 insertions(+), 8 deletions(-)
4552
4553commit 4787d654434891c7df5b43959b0d2873718f06e0
4554Author: Lasse Collin <lasse.collin@tukaani.org>
4555Date:   2009-04-13 16:36:41 +0300
4556
4557    Updated history.txt.
4558
4559 doc/history.txt |  123 +++++++++++++++++++++++++++++-------------------------
4560 1 files changed, 66 insertions(+), 57 deletions(-)
4561
4562commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
4563Author: Lasse Collin <lasse.collin@tukaani.org>
4564Date:   2009-04-13 14:49:48 +0300
4565
4566    Quick & dirty update to support xz in diff/grep/more scripts.
4567
4568 src/scripts/Makefile.am |   38 +++++++++-----
4569 src/scripts/lzdiff      |   67 -------------------------
4570 src/scripts/lzdiff.1    |   51 -------------------
4571 src/scripts/lzgrep      |  123 -----------------------------------------------
4572 src/scripts/lzgrep.1    |   61 -----------------------
4573 src/scripts/lzmore      |   74 ----------------------------
4574 src/scripts/lzmore.1    |   55 ---------------------
4575 src/scripts/xzdiff      |   67 +++++++++++++++++++++++++
4576 src/scripts/xzdiff.1    |   58 ++++++++++++++++++++++
4577 src/scripts/xzgrep      |  123 +++++++++++++++++++++++++++++++++++++++++++++++
4578 src/scripts/xzgrep.1    |   77 +++++++++++++++++++++++++++++
4579 src/scripts/xzmore      |   74 ++++++++++++++++++++++++++++
4580 src/scripts/xzmore.1    |   66 +++++++++++++++++++++++++
4581 13 files changed, 489 insertions(+), 445 deletions(-)
4582
4583commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
4584Author: Lasse Collin <lasse.collin@tukaani.org>
4585Date:   2009-04-13 11:27:40 +0300
4586
4587    Put the interesting parts of XZ Utils into the public domain.
4588    Some minor documentation cleanups were made at the same time.
4589
4590 COPYING                                        |   67 ++++++++++++++++++------
4591 ChangeLog                                      |    2 +-
4592 Doxyfile.in                                    |    8 ++-
4593 Makefile.am                                    |   13 +----
4594 autogen.sh                                     |    9 +++
4595 configure.ac                                   |   13 +----
4596 debug/Makefile.am                              |   13 +----
4597 debug/crc32.c                                  |   13 +----
4598 debug/full_flush.c                             |   13 +----
4599 debug/hex2bin.c                                |    7 +--
4600 debug/known_sizes.c                            |   13 +----
4601 debug/memusage.c                               |   13 +----
4602 debug/repeat.c                                 |   13 +----
4603 debug/sync_flush.c                             |   13 +----
4604 doc/faq.txt                                    |   38 +------------
4605 lib/Makefile.am                                |   18 +++---
4606 src/Makefile.am                                |   13 +----
4607 src/common/bswap.h                             |    7 +--
4608 src/common/cpucores.h                          |    7 +--
4609 src/common/integer.h                           |    7 +--
4610 src/common/mythread.h                          |    4 +-
4611 src/common/open_stdxxx.h                       |    7 +--
4612 src/common/physmem.h                           |    7 +--
4613 src/common/sysdefs.h                           |   13 +----
4614 src/liblzma/Makefile.am                        |   13 +----
4615 src/liblzma/api/Makefile.am                    |   13 +----
4616 src/liblzma/api/lzma.h                         |   38 ++++++++-----
4617 src/liblzma/api/lzma/base.h                    |   20 +++----
4618 src/liblzma/api/lzma/bcj.h                     |   18 +++----
4619 src/liblzma/api/lzma/block.h                   |   18 +++----
4620 src/liblzma/api/lzma/check.h                   |   18 +++----
4621 src/liblzma/api/lzma/container.h               |   18 +++----
4622 src/liblzma/api/lzma/delta.h                   |   18 +++----
4623 src/liblzma/api/lzma/filter.h                  |   18 +++----
4624 src/liblzma/api/lzma/index.h                   |   18 +++----
4625 src/liblzma/api/lzma/index_hash.h              |   22 +++-----
4626 src/liblzma/api/lzma/lzma.h                    |   18 +++----
4627 src/liblzma/api/lzma/stream_flags.h            |   18 +++----
4628 src/liblzma/api/lzma/subblock.h                |   18 +++----
4629 src/liblzma/api/lzma/version.h                 |   18 +++----
4630 src/liblzma/api/lzma/vli.h                     |   42 +++++++--------
4631 src/liblzma/check/Makefile.am                  |    8 +--
4632 src/liblzma/check/check.c                      |    7 +--
4633 src/liblzma/check/check.h                      |    7 +--
4634 src/liblzma/check/crc32_fast.c                 |   30 ++++------
4635 src/liblzma/check/crc32_small.c                |    7 +--
4636 src/liblzma/check/crc32_table.c                |    7 +--
4637 src/liblzma/check/crc32_tablegen.c             |    7 +--
4638 src/liblzma/check/crc32_x86.S                  |   21 +++++---
4639 src/liblzma/check/crc64_fast.c                 |   20 +++----
4640 src/liblzma/check/crc64_small.c                |    7 +--
4641 src/liblzma/check/crc64_table.c                |    7 +--
4642 src/liblzma/check/crc64_tablegen.c             |    7 +--
4643 src/liblzma/check/crc64_x86.S                  |   14 +++--
4644 src/liblzma/check/crc_macros.h                 |    9 ++--
4645 src/liblzma/check/sha256.c                     |   23 +++++---
4646 src/liblzma/common/Makefile.am                 |   13 +----
4647 src/liblzma/common/alone_decoder.c             |   13 +----
4648 src/liblzma/common/alone_decoder.h             |   13 +----
4649 src/liblzma/common/alone_encoder.c             |   13 +----
4650 src/liblzma/common/auto_decoder.c              |   13 +----
4651 src/liblzma/common/block_buffer_decoder.c      |   13 +----
4652 src/liblzma/common/block_buffer_encoder.c      |   13 +----
4653 src/liblzma/common/block_decoder.c             |   13 +----
4654 src/liblzma/common/block_decoder.h             |   13 +----
4655 src/liblzma/common/block_encoder.c             |   13 +----
4656 src/liblzma/common/block_encoder.h             |   13 +----
4657 src/liblzma/common/block_header_decoder.c      |   13 +----
4658 src/liblzma/common/block_header_encoder.c      |   13 +----
4659 src/liblzma/common/block_util.c                |   13 +----
4660 src/liblzma/common/bsr.h                       |    7 +--
4661 src/liblzma/common/chunk_size.c                |   13 +----
4662 src/liblzma/common/common.c                    |   13 +----
4663 src/liblzma/common/common.h                    |   13 +----
4664 src/liblzma/common/easy_buffer_encoder.c       |   13 +----
4665 src/liblzma/common/easy_decoder_memusage.c     |   13 +----
4666 src/liblzma/common/easy_encoder.c              |   13 +----
4667 src/liblzma/common/easy_encoder_memusage.c     |   13 +----
4668 src/liblzma/common/easy_preset.c               |   13 +----
4669 src/liblzma/common/easy_preset.h               |   13 +----
4670 src/liblzma/common/filter_buffer_decoder.c     |   13 +----
4671 src/liblzma/common/filter_buffer_encoder.c     |   13 +----
4672 src/liblzma/common/filter_common.c             |   13 +----
4673 src/liblzma/common/filter_common.h             |   13 +----
4674 src/liblzma/common/filter_decoder.c            |   13 +----
4675 src/liblzma/common/filter_decoder.h            |   13 +----
4676 src/liblzma/common/filter_encoder.c            |   13 +----
4677 src/liblzma/common/filter_encoder.h            |   13 +----
4678 src/liblzma/common/filter_flags_decoder.c      |   13 +----
4679 src/liblzma/common/filter_flags_encoder.c      |   13 +----
4680 src/liblzma/common/index.c                     |   13 +----
4681 src/liblzma/common/index.h                     |   13 +----
4682 src/liblzma/common/index_decoder.c             |   13 +----
4683 src/liblzma/common/index_encoder.c             |   13 +----
4684 src/liblzma/common/index_encoder.h             |   13 +----
4685 src/liblzma/common/index_hash.c                |   13 +----
4686 src/liblzma/common/stream_buffer_decoder.c     |   13 +----
4687 src/liblzma/common/stream_buffer_encoder.c     |   13 +----
4688 src/liblzma/common/stream_decoder.c            |   13 +----
4689 src/liblzma/common/stream_decoder.h            |   13 +----
4690 src/liblzma/common/stream_encoder.c            |   13 +----
4691 src/liblzma/common/stream_encoder.h            |   13 +----
4692 src/liblzma/common/stream_flags_common.c       |   13 +----
4693 src/liblzma/common/stream_flags_common.h       |   13 +----
4694 src/liblzma/common/stream_flags_decoder.c      |   13 +----
4695 src/liblzma/common/stream_flags_encoder.c      |   13 +----
4696 src/liblzma/common/vli_decoder.c               |   13 +----
4697 src/liblzma/common/vli_encoder.c               |   13 +----
4698 src/liblzma/common/vli_size.c                  |   13 +----
4699 src/liblzma/delta/Makefile.am                  |   13 +----
4700 src/liblzma/delta/delta_common.c               |   13 +----
4701 src/liblzma/delta/delta_common.h               |   13 +----
4702 src/liblzma/delta/delta_decoder.c              |   13 +----
4703 src/liblzma/delta/delta_decoder.h              |   13 +----
4704 src/liblzma/delta/delta_encoder.c              |   13 +----
4705 src/liblzma/delta/delta_encoder.h              |   13 +----
4706 src/liblzma/delta/delta_private.h              |   13 +----
4707 src/liblzma/lz/Makefile.am                     |   13 +----
4708 src/liblzma/lz/lz_decoder.c                    |   17 ++----
4709 src/liblzma/lz/lz_decoder.h                    |   17 ++----
4710 src/liblzma/lz/lz_encoder.c                    |   17 ++----
4711 src/liblzma/lz/lz_encoder.h                    |   17 ++----
4712 src/liblzma/lz/lz_encoder_hash.h               |   13 +----
4713 src/liblzma/lz/lz_encoder_mf.c                 |   17 ++----
4714 src/liblzma/lzma/Makefile.am                   |   13 +----
4715 src/liblzma/lzma/fastpos.h                     |   17 ++----
4716 src/liblzma/lzma/fastpos_tablegen.c            |   17 ++----
4717 src/liblzma/lzma/lzma2_decoder.c               |   17 ++----
4718 src/liblzma/lzma/lzma2_decoder.h               |   17 ++----
4719 src/liblzma/lzma/lzma2_encoder.c               |   17 ++----
4720 src/liblzma/lzma/lzma2_encoder.h               |   17 ++----
4721 src/liblzma/lzma/lzma_common.h                 |   17 ++----
4722 src/liblzma/lzma/lzma_decoder.c                |   17 ++----
4723 src/liblzma/lzma/lzma_decoder.h                |   17 ++----
4724 src/liblzma/lzma/lzma_encoder.c                |   17 ++----
4725 src/liblzma/lzma/lzma_encoder.h                |   17 ++----
4726 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   13 +----
4727 src/liblzma/lzma/lzma_encoder_optimum_normal.c |   13 +----
4728 src/liblzma/lzma/lzma_encoder_presets.c        |   13 +----
4729 src/liblzma/lzma/lzma_encoder_private.h        |   17 ++----
4730 src/liblzma/rangecoder/Makefile.am             |   13 +----
4731 src/liblzma/rangecoder/price.h                 |   13 +----
4732 src/liblzma/rangecoder/price_tablegen.c        |   16 ++----
4733 src/liblzma/rangecoder/range_common.h          |   17 ++----
4734 src/liblzma/rangecoder/range_decoder.h         |   17 ++----
4735 src/liblzma/rangecoder/range_encoder.h         |   17 ++----
4736 src/liblzma/simple/Makefile.am                 |   13 +----
4737 src/liblzma/simple/arm.c                       |   17 ++----
4738 src/liblzma/simple/armthumb.c                  |   17 ++----
4739 src/liblzma/simple/ia64.c                      |   17 ++----
4740 src/liblzma/simple/powerpc.c                   |   17 ++----
4741 src/liblzma/simple/simple_coder.c              |   13 +----
4742 src/liblzma/simple/simple_coder.h              |   14 +----
4743 src/liblzma/simple/simple_decoder.c            |   13 +----
4744 src/liblzma/simple/simple_decoder.h            |   13 +----
4745 src/liblzma/simple/simple_encoder.c            |   13 +----
4746 src/liblzma/simple/simple_encoder.h            |   13 +----
4747 src/liblzma/simple/simple_private.h            |   13 +----
4748 src/liblzma/simple/sparc.c                     |   17 ++----
4749 src/liblzma/simple/x86.c                       |   17 ++----
4750 src/liblzma/subblock/Makefile.am               |   13 +----
4751 src/liblzma/subblock/subblock_decoder.c        |   13 +----
4752 src/liblzma/subblock/subblock_decoder.h        |   13 +----
4753 src/liblzma/subblock/subblock_decoder_helper.c |   13 +----
4754 src/liblzma/subblock/subblock_decoder_helper.h |   13 +----
4755 src/liblzma/subblock/subblock_encoder.c        |   13 +----
4756 src/liblzma/subblock/subblock_encoder.h        |   13 +----
4757 src/scripts/Makefile.am                        |    7 +++
4758 src/xz/Makefile.am                             |   13 +----
4759 src/xz/args.c                                  |   13 +----
4760 src/xz/args.h                                  |   13 +----
4761 src/xz/hardware.c                              |   13 +----
4762 src/xz/hardware.h                              |   13 +----
4763 src/xz/io.c                                    |   13 +----
4764 src/xz/io.h                                    |   13 +----
4765 src/xz/list.c                                  |   13 +----
4766 src/xz/main.c                                  |   13 +----
4767 src/xz/main.h                                  |   13 +----
4768 src/xz/message.c                               |   13 +----
4769 src/xz/message.h                               |   13 +----
4770 src/xz/options.c                               |   13 +----
4771 src/xz/options.h                               |   13 +----
4772 src/xz/private.h                               |   13 +----
4773 src/xz/process.c                               |   13 +----
4774 src/xz/process.h                               |   13 +----
4775 src/xz/signals.c                               |   13 +----
4776 src/xz/signals.h                               |   13 +----
4777 src/xz/suffix.c                                |   13 +----
4778 src/xz/suffix.h                                |   13 +----
4779 src/xz/util.c                                  |   13 +----
4780 src/xz/util.h                                  |   13 +----
4781 src/xzdec/Makefile.am                          |   13 +----
4782 src/xzdec/xzdec.c                              |   13 +----
4783 tests/Makefile.am                              |   13 +----
4784 tests/bcj_test.c                               |    7 +--
4785 tests/create_compress_files.c                  |   13 +----
4786 tests/test_block.c                             |   13 +----
4787 tests/test_block_header.c                      |   13 +----
4788 tests/test_check.c                             |   13 +----
4789 tests/test_compress.sh                         |   13 +----
4790 tests/test_files.sh                            |   13 +----
4791 tests/test_filter_flags.c                      |   13 +----
4792 tests/test_index.c                             |   13 +----
4793 tests/test_stream_flags.c                      |   13 +----
4794 tests/tests.h                                  |   13 +----
4795 windows/common.rc                              |    2 +-
4796 206 files changed, 866 insertions(+), 2021 deletions(-)
4797
4798commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
4799Author: Lasse Collin <lasse.collin@tukaani.org>
4800Date:   2009-04-10 11:17:02 +0300
4801
4802    Fix off-by-one in LZ decoder.
4803
4804    Fortunately, this bug had no security risk other than accepting
4805    some corrupt files as valid.
4806
4807 src/liblzma/lz/lz_decoder.h |    2 +-
4808 1 files changed, 1 insertions(+), 1 deletions(-)
4809
4810commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
4811Author: Pavel Roskin <proski@gnu.org>
4812Date:   2009-03-31 12:15:01 -0400
4813
4814    Fix minor typos in README
4815
4816 README |    6 +++---
4817 1 files changed, 3 insertions(+), 3 deletions(-)
4818
4819commit 9bab5336ebd765ec4e12252f416eefdf04eba750
4820Author: Lasse Collin <lasse.collin@tukaani.org>
4821Date:   2009-03-31 21:52:51 +0300
4822
4823    Add a note and work-around instructions to README about
4824    problems detecting a C99 compiler when some standard
4825    headers are missing.
4826
4827 README |   11 +++++++++++
4828 1 files changed, 11 insertions(+), 0 deletions(-)
4829
4830commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
4831Author: Lasse Collin <lasse.collin@tukaani.org>
4832Date:   2009-03-18 16:54:38 +0200
4833
4834    Updated THANKS.
4835
4836 THANKS |    1 +
4837 1 files changed, 1 insertions(+), 0 deletions(-)
4838
4839commit 390e69887fc5e0a108eb41203bed9acd100a3d76
4840Author: Lasse Collin <lasse.collin@tukaani.org>
4841Date:   2009-03-18 16:51:41 +0200
4842
4843    Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
4844    Thanks to Bert Wesarg.
4845
4846 m4/lc_cpucores.m4     |    4 ++--
4847 src/common/cpucores.h |    4 ++--
4848 2 files changed, 4 insertions(+), 4 deletions(-)
4849
4850commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
4851Author: Lasse Collin <lasse.collin@tukaani.org>
4852Date:   2009-03-01 09:03:08 +0200
4853
4854    Test for Linux-specific sysinfo() only on Linux systems.
4855    Some other systems have sysinfo() with different semantics.
4856
4857 m4/lc_physmem.m4 |   28 +++++++++++++++++++---------
4858 1 files changed, 19 insertions(+), 9 deletions(-)
4859
4860commit cf751edfde3ad6e088dc18e0522d31ae38405933
4861Author: Lasse Collin <lasse.collin@tukaani.org>
4862Date:   2009-03-01 09:00:06 +0200
4863
4864    Added AC_CONFIG_MACRO_DIR to configure.ac.
4865
4866 configure.ac |    1 +
4867 1 files changed, 1 insertions(+), 0 deletions(-)
4868
4869commit 63df14c57dee7c461717784287056688482a7eb9
4870Author: Lasse Collin <lasse.collin@tukaani.org>
4871Date:   2009-03-01 08:58:41 +0200
4872
4873    Fix the Autoconf test for getopt_long replacement.
4874    It was broken by e114502b2bc371e4a45449832cb69be036360722.
4875
4876 m4/getopt.m4 |    4 ++++
4877 1 files changed, 4 insertions(+), 0 deletions(-)
4878
4879commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
4880Author: Lasse Collin <lasse.collin@tukaani.org>
4881Date:   2009-02-22 19:07:54 +0200
4882
4883    Add a rough explanation of --extreme to output of --help.
4884
4885 src/xz/message.c |    4 ++++
4886 1 files changed, 4 insertions(+), 0 deletions(-)
4887
4888commit 68bf7ac2984d3627369a240ef0491934d53f7899
4889Author: Lasse Collin <lasse.collin@tukaani.org>
4890Date:   2009-02-22 18:52:49 +0200
4891
4892    Fixes to progress message handling in xz:
4893
4894      - Don't use Windows-specific code on Windows. The old code
4895        required at least Windows 2000. Now it should work on
4896        Windows 98 and later, and maybe on Windows 95 too.
4897
4898      - Use less precision when showing estimated remaining time.
4899
4900      - Fix some small design issues.
4901
4902 src/xz/message.c |  483 ++++++++++++++++++++++++++++++++++--------------------
4903 src/xz/message.h |   28 ++-
4904 src/xz/process.c |   53 +++---
4905 3 files changed, 351 insertions(+), 213 deletions(-)
4906
4907commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
4908Author: Lasse Collin <lasse.collin@tukaani.org>
4909Date:   2009-02-18 13:00:10 +0200
4910
4911    Added files missing from the previous commit.
4912
4913 src/liblzma/api/lzma/container.h |   33 +++++++++++++++++++++++++++++++++
4914 src/liblzma/common/Makefile.am   |    7 ++++++-
4915 2 files changed, 39 insertions(+), 1 deletions(-)
4916
4917commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
4918Author: Lasse Collin <lasse.collin@tukaani.org>
4919Date:   2009-02-17 10:43:00 +0200
4920
4921    Added lzma_easy_buffer_encode(). Splitted easy.c into small
4922    pieces to avoid unneeded dependencies making statically
4923    linked applications bigger than needed.
4924
4925 dos/Makefile                               |    6 +-
4926 src/liblzma/common/easy.c                  |  128 ----------------------------
4927 src/liblzma/common/easy_buffer_encoder.c   |   34 ++++++++
4928 src/liblzma/common/easy_decoder_memusage.c |   31 +++++++
4929 src/liblzma/common/easy_encoder.c          |   87 +++++++++++++++++++
4930 src/liblzma/common/easy_encoder_memusage.c |   31 +++++++
4931 src/liblzma/common/easy_preset.c           |   34 ++++++++
4932 src/liblzma/common/easy_preset.h           |   39 +++++++++
4933 windows/Makefile                           |    6 +-
4934 9 files changed, 266 insertions(+), 130 deletions(-)
4935
4936commit 7494816ab08d82f4d6409788825930c4e43cfd0d
4937Author: Lasse Collin <lasse.collin@tukaani.org>
4938Date:   2009-02-15 15:48:45 +0200
4939
4940    Make physmem.h work on old Windows versions.
4941    Thanks to Hongbo Ni for the original patch.
4942
4943 src/common/physmem.h |   31 +++++++++++++++++++++++++++----
4944 1 files changed, 27 insertions(+), 4 deletions(-)
4945
4946commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
4947Author: Lasse Collin <lasse.collin@tukaani.org>
4948Date:   2009-02-14 20:44:52 +0200
4949
4950    Fix microsecond vs. nanosecond confusion in my_time().
4951
4952 src/xz/message.c |    2 +-
4953 1 files changed, 1 insertions(+), 1 deletions(-)
4954
4955commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
4956Author: Lasse Collin <lasse.collin@tukaani.org>
4957Date:   2009-02-14 00:45:29 +0200
4958
4959    Cleanups to the code that detects the amount of RAM and
4960    the number of CPU cores. Added support for using sysinfo()
4961    on Linux systems whose libc lacks appropriate sysconf()
4962    support (at least dietlibc). The Autoconf macros were
4963    split into separate files, and CPU core count detection
4964    was moved from hardware.c to cpucores.h. The core count
4965    isn't used for anything real for now, so a problematic
4966    part in process.c was commented out.
4967
4968 configure.ac          |   89 +-----------------------------------------------
4969 m4/lc_cpucores.m4     |   57 +++++++++++++++++++++++++++++++
4970 m4/lc_physmem.m4      |   74 ++++++++++++++++++++++++++++++++++++++++
4971 src/common/cpucores.h |   52 ++++++++++++++++++++++++++++
4972 src/common/physmem.h  |   21 +++++++----
4973 src/xz/args.c         |    4 +-
4974 src/xz/hardware.c     |   50 ++++++++++++---------------
4975 src/xz/hardware.h     |   11 ++++--
4976 src/xz/message.c      |    5 ++-
4977 src/xz/process.c      |    2 +
4978 10 files changed, 235 insertions(+), 130 deletions(-)
4979
4980commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
4981Author: Lasse Collin <lasse.collin@tukaani.org>
4982Date:   2009-02-13 18:23:50 +0200
4983
4984    Initial port to DOS using DJGPP.
4985
4986 dos/Makefile |  261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4987 dos/README   |  113 +++++++++++++++++++++++++
4988 dos/config.h |  150 +++++++++++++++++++++++++++++++++
4989 3 files changed, 524 insertions(+), 0 deletions(-)
4990
4991commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
4992Author: Lasse Collin <lasse.collin@tukaani.org>
4993Date:   2009-02-13 18:02:05 +0200
4994
4995    Windows port: Take advantage of the version number macros.
4996    Now the version number is not duplicated in the
4997    Windows-specific files anymore.
4998
4999 windows/Makefile  |    2 +-
5000 windows/common.rc |   16 ++++++++--------
5001 windows/config.h  |   15 ---------------
5002 3 files changed, 9 insertions(+), 24 deletions(-)
5003
5004commit fdbc0cfa71f7d660855098a609175ba384259529
5005Author: Lasse Collin <lasse.collin@tukaani.org>
5006Date:   2009-02-13 18:00:03 +0200
5007
5008    Changed how the version number is specified in various places.
5009    Now configure.ac will get the version number directly from
5010    src/liblzma/api/lzma/version.h. The intent is to reduce the
5011    number of places where the version number is duplicated. In
5012    future, support for displaying Git commit ID may be added too.
5013
5014 configure.ac                   |    3 +-
5015 src/liblzma/api/lzma/version.h |   70 ++++++++++++++++++++++++++++++++++++++--
5016 src/liblzma/common/common.c    |    2 +-
5017 src/xz/message.c               |    2 +-
5018 src/xzdec/xzdec.c              |    2 +-
5019 version.sh                     |   23 +++++++++++++
5020 6 files changed, 95 insertions(+), 7 deletions(-)
5021
5022commit 1d924e584b146136989f48c13fff2632896efb3d
5023Author: Lasse Collin <lasse.collin@tukaani.org>
5024Date:   2009-02-13 17:30:30 +0200
5025
5026    Fix handling of integrity check type in the xz command line tool.
5027
5028 src/xz/args.c    |    9 ++++++++-
5029 src/xz/process.c |    4 ++++
5030 2 files changed, 12 insertions(+), 1 deletions(-)
5031
5032commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
5033Author: Lasse Collin <lasse.collin@tukaani.org>
5034Date:   2009-02-13 17:29:02 +0200
5035
5036    Improve support for DOS-like systems.
5037    Here DOS-like means DOS, Windows, and OS/2.
5038
5039 src/common/physmem.h          |   12 ++++++++++++
5040 src/common/sysdefs.h          |    4 ++++
5041 src/liblzma/check/crc32_x86.S |    6 +++---
5042 src/liblzma/check/crc64_x86.S |    6 +++---
5043 src/xz/args.c                 |   13 +++++--------
5044 src/xz/io.c                   |   39 +++++++++++++++++++++++++--------------
5045 src/xz/main.c                 |   23 +++++++++++++++++++++++
5046 src/xz/message.c              |    3 +++
5047 src/xz/suffix.c               |    5 +++++
5048 src/xzdec/xzdec.c             |    5 +++--
5049 10 files changed, 86 insertions(+), 30 deletions(-)
5050
5051commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
5052Author: Lasse Collin <lasse.collin@tukaani.org>
5053Date:   2009-02-11 20:02:32 +0200
5054
5055    Remove dead directories from .gitignore.
5056
5057 .gitignore |    2 --
5058 1 files changed, 0 insertions(+), 2 deletions(-)
5059
5060commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
5061Author: Jim Meyering <jim@meyering.net>
5062Date:   2009-02-11 14:45:14 +0100
5063
5064    .gitignore vs. Makefiles
5065
5066    How about this for those of us who do srcdir builds?
5067
5068 .gitignore |   22 ++++++++++++++++++++++
5069 1 files changed, 22 insertions(+), 0 deletions(-)
5070
5071commit 154f5aec2de201c674841de4fcc9804c2a87af07
5072Author: Lasse Collin <lasse.collin@tukaani.org>
5073Date:   2009-02-10 21:48:35 +0200
5074
5075    Removed Makefile from .gitignore since not all Makefiles
5076    in the repository are generated by Autotools. People
5077    should do test builds in a separate build directory anyway.
5078
5079 .gitignore |    1 -
5080 1 files changed, 0 insertions(+), 1 deletions(-)
5081
5082commit e605c2663691b0a4c307786aa368d124ea081daa
5083Author: Lasse Collin <lasse.collin@tukaani.org>
5084Date:   2009-02-10 21:48:05 +0200
5085
5086    Added resource files for the Windows build.
5087
5088 windows/Makefile   |   37 ++++++++++++++++++++++---------------
5089 windows/common.rc  |   46 ++++++++++++++++++++++++++++++++++++++++++++++
5090 windows/liblzma.rc |    5 +++++
5091 windows/lzmadec.rc |    5 +++++
5092 windows/xz.rc      |    5 +++++
5093 windows/xzdec.rc   |    5 +++++
5094 6 files changed, 88 insertions(+), 15 deletions(-)
5095
5096commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
5097Author: Lasse Collin <lasse.collin@tukaani.org>
5098Date:   2009-02-09 14:54:31 +0200
5099
5100    Let the user specify custom CFLAGS on the make command
5101    line. Previously custom CFLAGS worked only when they were
5102    passed to configure.
5103
5104 configure.ac                  |   58 +++++++++++++++++++++-------------------
5105 src/liblzma/check/Makefile.am |    2 +-
5106 2 files changed, 31 insertions(+), 29 deletions(-)
5107
5108commit 53f7598998b1860a69c51243b5d2e34623c6bf60
5109Author: Lasse Collin <lasse.collin@tukaani.org>
5110Date:   2009-02-08 21:35:11 +0200
5111
5112    Fix aliasing issue in physmem.h.
5113
5114 src/common/physmem.h |   19 ++++++++++---------
5115 1 files changed, 10 insertions(+), 9 deletions(-)
5116
5117commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
5118Author: Lasse Collin <lasse.collin@tukaani.org>
5119Date:   2009-02-08 18:24:50 +0200
5120
5121    Add a separate internal function to initialize the CRC32
5122    table, which is used also by LZ encoder. This was needed
5123    because calling lzma_crc32() and ignoring the result is
5124    a no-op due to lzma_attr_pure.
5125
5126 src/liblzma/check/check.h       |    1 +
5127 src/liblzma/check/crc32_small.c |   10 +++++++++-
5128 src/liblzma/lz/lz_encoder.c     |    4 ++--
5129 3 files changed, 12 insertions(+), 3 deletions(-)
5130
5131commit ae1ad9af54210c9a2be336b1316532da5071516c
5132Author: Lasse Collin <lasse.collin@tukaani.org>
5133Date:   2009-02-08 18:17:05 +0200
5134
5135    Make "xz --force" to write to terminal as the error
5136    message suggests.
5137
5138 src/xz/main.c |    2 +-
5139 1 files changed, 1 insertions(+), 1 deletions(-)
5140
5141commit 79e25eded48d2fe33f31441ab7a034f902e335f8
5142Author: Lasse Collin <lasse.collin@tukaani.org>
5143Date:   2009-02-08 10:37:50 +0200
5144
5145    Support both slash and backslash as path component
5146    separator on Windows when parsing argv[0].
5147
5148 src/xz/args.c |    9 +++++++++
5149 1 files changed, 9 insertions(+), 0 deletions(-)
5150
5151commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
5152Author: Lasse Collin <lasse.collin@tukaani.org>
5153Date:   2009-02-07 23:18:13 +0200
5154
5155    Omit the wrong and (even if corrected) nowadays useless rm
5156    from autogen.sh.
5157
5158 autogen.sh |   28 ----------------------------
5159 1 files changed, 0 insertions(+), 28 deletions(-)
5160
5161commit edfc2031e56f8a2ccda063f02936b3a848d88723
5162Author: Lasse Collin <lasse.collin@tukaani.org>
5163Date:   2009-02-07 21:41:52 +0200
5164
5165    Updated THANKS.
5166
5167 THANKS |    1 +
5168 1 files changed, 1 insertions(+), 0 deletions(-)
5169
5170commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
5171Author: Lasse Collin <lasse.collin@tukaani.org>
5172Date:   2009-02-07 21:17:07 +0200
5173
5174    Make it easy to choose if command line tools should be
5175    linked statically or dynamically against liblzma. The
5176    default is still to use static liblzma, but it can now
5177    be changed by passing --enable-dynamic to configure.
5178    Thanks to Mike Frysinger for the original patch.
5179
5180    Fixed a few minor bugs in configure.ac.
5181
5182 configure.ac          |   39 +++++++++++++++++++++++++++++++++++++++
5183 src/xz/Makefile.am    |    8 +++-----
5184 src/xzdec/Makefile.am |    5 +++--
5185 3 files changed, 45 insertions(+), 7 deletions(-)
5186
5187commit 3f86532407e4ace3debb62be16035e009b56ca36
5188Author: Mike Frysinger <vapier@gentoo.org>
5189Date:   2009-02-06 23:38:39 -0500
5190
5191    add gitignore files
5192
5193    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
5194
5195 .gitignore    |   32 ++++++++++++++++++++++++++++++++
5196 m4/.gitignore |   35 +++++++++++++++++++++++++++++++++++
5197 po/.gitignore |   12 ++++++++++++
5198 3 files changed, 79 insertions(+), 0 deletions(-)
5199
5200commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
5201Author: Lasse Collin <lasse.collin@tukaani.org>
5202Date:   2009-02-07 17:07:52 +0200
5203
5204    Assume 32 MiB of RAM on unsupported operating systems like
5205    the comment in hardware.c already said.
5206
5207 src/xz/hardware.c |    2 +-
5208 1 files changed, 1 insertions(+), 1 deletions(-)
5209
5210commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
5211Author: Lasse Collin <lasse.collin@tukaani.org>
5212Date:   2009-02-07 16:26:58 +0200
5213
5214    MinGW support: Don't build fastpos_tablegen.c as part of
5215    liblzma. Build both static and dynamic liblzma, and also
5216    static and dynamic versions of the command line tools.
5217
5218 windows/Makefile |   92 ++++++++++++++++++++++++++++++++++++++++-------------
5219 windows/README   |   10 ------
5220 2 files changed, 69 insertions(+), 33 deletions(-)
5221
5222commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
5223Author: Lasse Collin <lasse.collin@tukaani.org>
5224Date:   2009-02-07 15:55:47 +0200
5225
5226    Support LZMA_API_STATIC in assembler files to
5227    avoid __declspec(dllexport) equivalent.
5228
5229 src/liblzma/check/crc32_x86.S |    4 ++++
5230 src/liblzma/check/crc64_x86.S |    2 ++
5231 2 files changed, 6 insertions(+), 0 deletions(-)
5232
5233commit 3306cf3883492720b3c34baa02f4eb4227d91c73
5234Author: Lasse Collin <lasse.collin@tukaani.org>
5235Date:   2009-02-07 11:11:50 +0200
5236
5237    Introduced LZMA_API_STATIC macro, which the applications
5238    need to #define when linking against static liblzma on
5239    platforms like Windows. Most developers don't need to
5240    care about LZMA_API_STATIC at all.
5241
5242 src/liblzma/api/lzma.h      |   31 ++++++++++++++++++++++++-------
5243 src/liblzma/common/common.h |    2 +-
5244 2 files changed, 25 insertions(+), 8 deletions(-)
5245
5246commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
5247Author: Lasse Collin <lasse.collin@tukaani.org>
5248Date:   2009-02-06 16:55:45 +0200
5249
5250    Another grammar fix
5251
5252 README |    2 +-
5253 1 files changed, 1 insertions(+), 1 deletions(-)
5254
5255commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
5256Author: Lasse Collin <lasse.collin@tukaani.org>
5257Date:   2009-02-06 12:30:23 +0200
5258
5259    Grammar fix in README.
5260
5261 README |    2 +-
5262 1 files changed, 1 insertions(+), 1 deletions(-)
5263
5264commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
5265Author: Lasse Collin <lasse.collin@tukaani.org>
5266Date:   2009-02-06 10:06:32 +0200
5267
5268    Some MSYS installations (e.g. MsysGit) don't include
5269    install.exe, so don't rely on it.
5270
5271 windows/Makefile |   12 +++++++-----
5272 windows/README   |   11 ++++++-----
5273 2 files changed, 13 insertions(+), 10 deletions(-)
5274
5275commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
5276Author: Lasse Collin <lasse.collin@tukaani.org>
5277Date:   2009-02-06 09:13:15 +0200
5278
5279    Recreated the BCJ test files for x86 and SPARC. The old files
5280    were linked with crt*.o, which are copyrighted, and thus the
5281    old test files were not in the public domain as a whole. They
5282    are freely distributable though, but it is better to be careful
5283    and avoid including any copyrighted pieces in the test files.
5284    The new files are just compiled and assembled object files,
5285    and thus don't contain any copyrighted code.
5286
5287 tests/bcj_test.c                  |    2 +-
5288 tests/compress_prepared_bcj_sparc |  Bin 6804 -> 1240 bytes
5289 tests/compress_prepared_bcj_x86   |  Bin 4649 -> 1388 bytes
5290 tests/files/good-1-sparc-lzma2.xz |  Bin 2296 -> 612 bytes
5291 tests/files/good-1-x86-lzma2.xz   |  Bin 1936 -> 716 bytes
5292 5 files changed, 1 insertions(+), 1 deletions(-)
5293
5294commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
5295Author: Lasse Collin <lasse.collin@tukaani.org>
5296Date:   2009-02-05 21:21:27 +0200
5297
5298    Add the "windows" directory to EXTRA_DIST.
5299
5300 Makefile.am |    1 +
5301 1 files changed, 1 insertions(+), 0 deletions(-)
5302
5303commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
5304Author: Lasse Collin <lasse.collin@tukaani.org>
5305Date:   2009-02-05 09:17:51 +0200
5306
5307    Added initial experimental makefile for use with MinGW.
5308
5309 windows/Makefile |  253 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
5310 windows/README   |  164 +++++++++++++++++++++++++++++++++++
5311 windows/config.h |  180 ++++++++++++++++++++++++++++++++++++++
5312 3 files changed, 597 insertions(+), 0 deletions(-)
5313
5314commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
5315Author: Lasse Collin <lasse.collin@tukaani.org>
5316Date:   2009-02-05 09:12:57 +0200
5317
5318    Various code cleanups the the xz command line tool.
5319    It now builds with MinGW.
5320
5321 src/common/physmem.h |   13 ++++
5322 src/xz/Makefile.am   |    2 +
5323 src/xz/args.h        |    8 --
5324 src/xz/hardware.h    |   10 +---
5325 src/xz/io.c          |   93 +++++++++++++++++++-------
5326 src/xz/io.h          |   12 +--
5327 src/xz/main.c        |  132 ++-----------------------------------
5328 src/xz/main.h        |   22 ------
5329 src/xz/message.c     |   65 ++++++++++++++++--
5330 src/xz/message.h     |    6 --
5331 src/xz/options.h     |    8 --
5332 src/xz/private.h     |   18 ++++--
5333 src/xz/process.h     |   10 +---
5334 src/xz/signals.c     |  180 ++++++++++++++++++++++++++++++++++++++++++++++++++
5335 src/xz/signals.h     |   51 ++++++++++++++
5336 src/xz/suffix.h      |    5 --
5337 src/xz/util.c        |    5 +-
5338 src/xz/util.h        |    5 --
5339 18 files changed, 399 insertions(+), 246 deletions(-)
5340
5341commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
5342Author: Lasse Collin <lasse.collin@tukaani.org>
5343Date:   2009-02-03 12:15:17 +0200
5344
5345    Another utime() fix.
5346
5347 src/xz/io.c |    9 +++++----
5348 1 files changed, 5 insertions(+), 4 deletions(-)
5349
5350commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
5351Author: Lasse Collin <lasse.collin@tukaani.org>
5352Date:   2009-02-03 10:41:11 +0200
5353
5354    Fix wrong filename argument for utime() and utimes().
5355    This doesn't affect most systems, since most systems
5356    have better functions available.
5357
5358 src/xz/io.c |    4 ++--
5359 1 files changed, 2 insertions(+), 2 deletions(-)
5360
5361commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
5362Author: Lasse Collin <lasse.collin@tukaani.org>
5363Date:   2009-02-02 21:19:01 +0200
5364
5365    Updated the x86 assembler code:
5366      - Use call/ret pair to get instruction pointer for PIC.
5367      - Use PIC only if PIC or __PIC__ is #defined.
5368      - The code should work on MinGW and Darwin in addition
5369        to GNU/Linux and Solaris.
5370
5371 configure.ac                  |    6 ---
5372 src/liblzma/check/crc32_x86.S |   84 +++++++++++++++++++++++++++++++++++------
5373 src/liblzma/check/crc64_x86.S |   82 +++++++++++++++++++++++++++++++++++-----
5374 3 files changed, 144 insertions(+), 28 deletions(-)
5375
5376commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
5377Author: Lasse Collin <lasse.collin@tukaani.org>
5378Date:   2009-02-02 20:14:03 +0200
5379
5380    Modify LZMA_API macro so that it works on Windows with
5381    other compilers than MinGW. This may hurt readability
5382    of the API headers slightly, but I don't know any
5383    better way to do this.
5384
5385 src/liblzma/api/lzma.h                     |    6 ++--
5386 src/liblzma/api/lzma/base.h                |   11 ++++---
5387 src/liblzma/api/lzma/block.h               |   22 +++++++-------
5388 src/liblzma/api/lzma/check.h               |   10 +++---
5389 src/liblzma/api/lzma/container.h           |   22 +++++++-------
5390 src/liblzma/api/lzma/filter.h              |   28 ++++++++++----------
5391 src/liblzma/api/lzma/index.h               |   40 ++++++++++++++--------------
5392 src/liblzma/api/lzma/index_hash.h          |   10 +++---
5393 src/liblzma/api/lzma/lzma.h                |    6 ++--
5394 src/liblzma/api/lzma/stream_flags.h        |   10 +++---
5395 src/liblzma/api/lzma/version.h             |    4 +-
5396 src/liblzma/api/lzma/vli.h                 |    6 ++--
5397 src/liblzma/check/check.c                  |    4 +-
5398 src/liblzma/check/crc32_fast.c             |    2 +-
5399 src/liblzma/check/crc32_small.c            |    2 +-
5400 src/liblzma/check/crc64_fast.c             |    2 +-
5401 src/liblzma/check/crc64_small.c            |    2 +-
5402 src/liblzma/common/alone_decoder.c         |    2 +-
5403 src/liblzma/common/alone_encoder.c         |    2 +-
5404 src/liblzma/common/auto_decoder.c          |    2 +-
5405 src/liblzma/common/block_buffer_decoder.c  |    2 +-
5406 src/liblzma/common/block_buffer_encoder.c  |    4 +-
5407 src/liblzma/common/block_decoder.c         |    2 +-
5408 src/liblzma/common/block_encoder.c         |    2 +-
5409 src/liblzma/common/block_header_decoder.c  |    2 +-
5410 src/liblzma/common/block_header_encoder.c  |    4 +-
5411 src/liblzma/common/block_util.c            |    6 ++--
5412 src/liblzma/common/chunk_size.c            |    2 +-
5413 src/liblzma/common/common.c                |   16 +++++-----
5414 src/liblzma/common/common.h                |    2 +-
5415 src/liblzma/common/easy.c                  |    6 ++--
5416 src/liblzma/common/filter_buffer_decoder.c |    2 +-
5417 src/liblzma/common/filter_buffer_encoder.c |    2 +-
5418 src/liblzma/common/filter_decoder.c        |    8 +++---
5419 src/liblzma/common/filter_encoder.c        |   12 ++++----
5420 src/liblzma/common/filter_flags_decoder.c  |    2 +-
5421 src/liblzma/common/filter_flags_encoder.c  |    4 +-
5422 src/liblzma/common/index.c                 |   32 +++++++++++-----------
5423 src/liblzma/common/index_decoder.c         |    4 +-
5424 src/liblzma/common/index_encoder.c         |    4 +-
5425 src/liblzma/common/index_hash.c            |   10 +++---
5426 src/liblzma/common/stream_buffer_decoder.c |    2 +-
5427 src/liblzma/common/stream_buffer_encoder.c |    4 +-
5428 src/liblzma/common/stream_decoder.c        |    2 +-
5429 src/liblzma/common/stream_encoder.c        |    2 +-
5430 src/liblzma/common/stream_flags_common.c   |    2 +-
5431 src/liblzma/common/stream_flags_decoder.c  |    4 +-
5432 src/liblzma/common/stream_flags_encoder.c  |    4 +-
5433 src/liblzma/common/vli_decoder.c           |    2 +-
5434 src/liblzma/common/vli_encoder.c           |    2 +-
5435 src/liblzma/common/vli_size.c              |    2 +-
5436 src/liblzma/lz/lz_encoder.c                |    2 +-
5437 src/liblzma/lzma/lzma_encoder.c            |    2 +-
5438 src/liblzma/lzma/lzma_encoder_presets.c    |    2 +-
5439 54 files changed, 177 insertions(+), 176 deletions(-)
5440
5441commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
5442Author: Lasse Collin <lasse.collin@tukaani.org>
5443Date:   2009-02-01 22:40:35 +0200
5444
5445    Fix a bug in lzma_block_buffer_decode(), although this
5446    function should be rewritten anyway.
5447
5448 src/liblzma/common/block_buffer_decoder.c |    8 ++++----
5449 1 files changed, 4 insertions(+), 4 deletions(-)
5450
5451commit 55fd41431e61fb8178858283d636b6781e33e847
5452Author: Lasse Collin <lasse.collin@tukaani.org>
5453Date:   2009-02-01 22:39:07 +0200
5454
5455    Added initial version of raw buffer-to-buffer coding
5456    functions, and cleaned up filter.h API header a little.
5457    May be very buggy, not tested yet.
5458
5459 src/liblzma/api/lzma/filter.h              |   84 +++++++++++++++++++------
5460 src/liblzma/common/Makefile.am             |    2 +
5461 src/liblzma/common/filter_buffer_decoder.c |   94 ++++++++++++++++++++++++++++
5462 src/liblzma/common/filter_buffer_encoder.c |   61 ++++++++++++++++++
5463 4 files changed, 221 insertions(+), 20 deletions(-)
5464
5465commit 3e54ecee5cad30a5ca361a88a99230407abc0699
5466Author: Lasse Collin <lasse.collin@tukaani.org>
5467Date:   2009-02-01 00:11:20 +0200
5468
5469    Fix missing newlines in xzdec.c.
5470
5471 src/xzdec/xzdec.c |    6 +++---
5472 1 files changed, 3 insertions(+), 3 deletions(-)
5473
5474commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
5475Author: Lasse Collin <lasse.collin@tukaani.org>
5476Date:   2009-02-01 00:10:07 +0200
5477
5478    Use __cdecl also for function pointers in liblzma API when
5479    on Windows.
5480
5481 src/liblzma/api/lzma.h      |   18 +++++++++++-------
5482 src/liblzma/api/lzma/base.h |    4 ++--
5483 src/liblzma/common/common.h |   18 +++++++-----------
5484 3 files changed, 20 insertions(+), 20 deletions(-)
5485
5486commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
5487Author: Lasse Collin <lasse.collin@tukaani.org>
5488Date:   2009-01-31 11:01:48 +0200
5489
5490    Add LZMA_API to liblzma API headers. It's useful at least
5491    on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
5492    has to be #included separately where needed.
5493
5494 src/common/sysdefs.h                |    2 -
5495 src/liblzma/api/lzma.h              |   17 ++++++++++++
5496 src/liblzma/api/lzma/base.h         |   10 +++---
5497 src/liblzma/api/lzma/block.h        |   25 ++++++++++--------
5498 src/liblzma/api/lzma/check.h        |   12 +++++---
5499 src/liblzma/api/lzma/container.h    |   23 +++++++++--------
5500 src/liblzma/api/lzma/filter.h       |   24 +++++++++---------
5501 src/liblzma/api/lzma/index.h        |   47 ++++++++++++++++++++---------------
5502 src/liblzma/api/lzma/index_hash.h   |   11 ++++---
5503 src/liblzma/api/lzma/lzma.h         |    8 +++--
5504 src/liblzma/api/lzma/stream_flags.h |   10 +++---
5505 src/liblzma/api/lzma/version.h      |    4 +-
5506 src/liblzma/api/lzma/vli.h          |   10 +++---
5507 src/liblzma/common/common.h         |   13 ++++++++-
5508 src/xz/private.h                    |    1 +
5509 src/xzdec/xzdec.c                   |    1 +
5510 tests/tests.h                       |    1 +
5511 17 files changed, 131 insertions(+), 88 deletions(-)
5512
5513commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
5514Author: Lasse Collin <lasse.collin@tukaani.org>
5515Date:   2009-01-31 10:13:09 +0200
5516
5517    Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
5518
5519 src/xzdec/xzdec.c |    4 ++--
5520 1 files changed, 2 insertions(+), 2 deletions(-)
5521
5522commit 2dbdc5befb33c3703e4609809101047c67caf343
5523Author: Lasse Collin <lasse.collin@tukaani.org>
5524Date:   2009-01-31 10:02:52 +0200
5525
5526    Fix two lines in lzma.h on which the # wasn't at the
5527    beginning of the line.
5528
5529 src/liblzma/api/lzma.h |    4 ++--
5530 1 files changed, 2 insertions(+), 2 deletions(-)
5531
5532commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
5533Author: Lasse Collin <lasse.collin@tukaani.org>
5534Date:   2009-01-31 09:55:05 +0200
5535
5536    Add support for using liblzma headers in MSVC, which has no
5537    stdint.h or inttypes.h.
5538
5539 src/liblzma/api/lzma.h |   70 +++++++++++++++++++++++++++++++----------------
5540 1 files changed, 46 insertions(+), 24 deletions(-)
5541
5542commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
5543Author: Lasse Collin <lasse.collin@tukaani.org>
5544Date:   2009-01-31 08:49:54 +0200
5545
5546    Fix # -> ## in a macro in lzma.h.
5547
5548 src/liblzma/api/lzma.h |    2 +-
5549 1 files changed, 1 insertions(+), 1 deletions(-)
5550
5551commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
5552Author: Lasse Collin <lasse.collin@tukaani.org>
5553Date:   2009-01-30 18:50:16 +0200
5554
5555    Updated README.
5556
5557 README |   30 ++++++++++++++++++++----------
5558 1 files changed, 20 insertions(+), 10 deletions(-)
5559
5560commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
5561Author: Lasse Collin <lasse.collin@tukaani.org>
5562Date:   2009-01-30 00:29:58 +0200
5563
5564    Remove dangling crc64_init.c.
5565
5566 src/liblzma/check/crc64_init.c |   55 ----------------------------------------
5567 1 files changed, 0 insertions(+), 55 deletions(-)
5568
5569commit 982da7ed314398420c38bf154a8f759d5f18b480
5570Author: Lasse Collin <lasse.collin@tukaani.org>
5571Date:   2009-01-28 17:16:38 +0200
5572
5573    The .xz file format specification version 1.0.0 is now
5574    officially released. The format has been technically the same
5575    since 2008-11-19, but now that it is frozen, people can start
5576    using it without a fear that the format will break.
5577
5578 doc/file-format.txt |   84 +++++++++++++++++++++++++++++---------------------
5579 1 files changed, 49 insertions(+), 35 deletions(-)
5580
5581commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
5582Author: Lasse Collin <lasse.collin@tukaani.org>
5583Date:   2009-01-28 08:45:59 +0200
5584
5585    Updated THANKS.
5586
5587 THANKS |    1 +
5588 1 files changed, 1 insertions(+), 0 deletions(-)
5589
5590commit 3241317093595db9f79104faafe93cb989c9f858
5591Author: Lasse Collin <lasse.collin@tukaani.org>
5592Date:   2009-01-28 08:43:26 +0200
5593
5594    Fix uninitialized variables in alone_decoder.c. This bug was
5595    triggered by the previous commit, since these variables were
5596    not used by anything before support for a preset dictionary.
5597
5598 src/liblzma/common/alone_decoder.c |    2 ++
5599 1 files changed, 2 insertions(+), 0 deletions(-)
5600
5601commit f76e39cf930f888d460b443d18f977ebedea8b2a
5602Author: Lasse Collin <lasse.collin@tukaani.org>
5603Date:   2009-01-27 18:36:05 +0200
5604
5605    Added initial support for preset dictionary for raw LZMA1
5606    and LZMA2. It is not supported by the .xz format or the xz
5607    command line tool yet.
5608
5609 src/liblzma/lz/lz_decoder.c      |   35 +++++++++++++++++++++++++----------
5610 src/liblzma/lz/lz_decoder.h      |    9 ++++++++-
5611 src/liblzma/lz/lz_encoder.c      |   18 ++++++++++++++++--
5612 src/liblzma/lzma/lzma2_decoder.c |    9 ++++++---
5613 src/liblzma/lzma/lzma2_encoder.c |   12 +++++++-----
5614 src/liblzma/lzma/lzma_decoder.c  |   10 ++++++----
5615 src/liblzma/lzma/lzma_decoder.h  |    2 +-
5616 src/liblzma/lzma/lzma_encoder.c  |    9 ++++++++-
5617 8 files changed, 77 insertions(+), 27 deletions(-)
5618
5619commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
5620Author: Lasse Collin <lasse.collin@tukaani.org>
5621Date:   2009-01-26 20:09:17 +0200
5622
5623    Regenerate the CRC tables without trailing blanks.
5624
5625 src/liblzma/check/crc32_table_be.h | 1008 ++++++++++++++++++------------------
5626 src/liblzma/check/crc32_table_le.h | 1008 ++++++++++++++++++------------------
5627 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
5628 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
5629 4 files changed, 2024 insertions(+), 2024 deletions(-)
5630
5631commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
5632Author: Jim Meyering <meyering@redhat.com>
5633Date:   2009-01-19 21:37:16 +0100
5634
5635    remove trailing blanks from all but .xz files
5636
5637 debug/known_sizes.c                |    2 +-
5638 extra/scanlzma/scanlzma.c          |    5 ++---
5639 src/liblzma/check/crc32_tablegen.c |    2 +-
5640 src/liblzma/check/crc64_tablegen.c |    2 +-
5641 src/scripts/lzdiff.1               |    4 ++--
5642 src/scripts/lzmore.1               |    6 +++---
5643 tests/test_compress.sh             |    4 ++--
5644 7 files changed, 12 insertions(+), 13 deletions(-)
5645
5646commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
5647Author: Lasse Collin <lasse.collin@tukaani.org>
5648Date:   2009-01-26 14:34:10 +0200
5649
5650    Add lzma_block_buffer_decode().
5651
5652 src/liblzma/api/lzma/block.h              |   41 ++++++++++++++
5653 src/liblzma/common/Makefile.am            |    1 +
5654 src/liblzma/common/block_buffer_decoder.c |   87 +++++++++++++++++++++++++++++
5655 3 files changed, 129 insertions(+), 0 deletions(-)
5656
5657commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
5658Author: Lasse Collin <lasse.collin@tukaani.org>
5659Date:   2009-01-26 14:33:28 +0200
5660
5661    Add more sanity checks to lzma_stream_buffer_decode().
5662
5663 src/liblzma/common/stream_buffer_decoder.c |    7 +++++++
5664 1 files changed, 7 insertions(+), 0 deletions(-)
5665
5666commit c129748675a5daa8838df92bde32cc04f6ce61ba
5667Author: Lasse Collin <lasse.collin@tukaani.org>
5668Date:   2009-01-26 14:33:13 +0200
5669
5670    Avoid hardcoded constant in easy.c.
5671
5672 src/liblzma/common/easy.c |    2 +-
5673 1 files changed, 1 insertions(+), 1 deletions(-)
5674
5675commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
5676Author: Lasse Collin <lasse.collin@tukaani.org>
5677Date:   2009-01-26 13:06:49 +0200
5678
5679    Tiny bit better sanity check in block_util.c
5680
5681 src/liblzma/common/block_util.c |    2 +-
5682 1 files changed, 1 insertions(+), 1 deletions(-)
5683
5684commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
5685Author: Lasse Collin <lasse.collin@tukaani.org>
5686Date:   2009-01-25 01:35:56 +0200
5687
5688    Fix a dumb bug in Block decoder, which made it return
5689    LZMA_DATA_ERROR with valid data. The bug was added in
5690    e114502b2bc371e4a45449832cb69be036360722.
5691
5692 src/liblzma/common/block_decoder.c |    6 +++---
5693 1 files changed, 3 insertions(+), 3 deletions(-)
5694
5695commit c81f13ff29271de7293f8af3d81848b1dcae3d19
5696Author: Lasse Collin <lasse.collin@tukaani.org>
5697Date:   2009-01-23 22:27:50 +0200
5698
5699    Added lzma_stream_buffer_decode() and made minor cleanups.
5700
5701 src/liblzma/api/lzma/block.h               |    3 +-
5702 src/liblzma/api/lzma/container.h           |   51 +++++++++++++++-
5703 src/liblzma/common/Makefile.am             |    1 +
5704 src/liblzma/common/stream_buffer_decoder.c |   91 ++++++++++++++++++++++++++++
5705 4 files changed, 144 insertions(+), 2 deletions(-)
5706
5707commit 0b3318661ce749550b8531dfd469639a08930391
5708Author: Lasse Collin <lasse.collin@tukaani.org>
5709Date:   2009-01-22 12:53:33 +0200
5710
5711    Fix a comment.
5712
5713 src/liblzma/common/common.h |    2 +-
5714 1 files changed, 1 insertions(+), 1 deletions(-)
5715
5716commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
5717Author: Lasse Collin <lasse.collin@tukaani.org>
5718Date:   2009-01-20 16:37:27 +0200
5719
5720    Add some single-call buffer-to-buffer coding functions.
5721
5722 src/liblzma/api/lzma/block.h               |   57 +++++
5723 src/liblzma/api/lzma/container.h           |   56 +++++
5724 src/liblzma/api/lzma/index.h               |   70 ++++++-
5725 src/liblzma/common/Makefile.am             |    2 +
5726 src/liblzma/common/block_buffer_encoder.c  |  305 ++++++++++++++++++++++++++++
5727 src/liblzma/common/index_decoder.c         |   83 +++++++--
5728 src/liblzma/common/index_encoder.c         |   59 +++++-
5729 src/liblzma/common/stream_buffer_encoder.c |  138 +++++++++++++
5730 tests/test_index.c                         |   24 +++
5731 9 files changed, 768 insertions(+), 26 deletions(-)
5732
5733commit d8b58d099340f8f4007b24b211ee41a7210c061c
5734Author: Lasse Collin <lasse.collin@tukaani.org>
5735Date:   2009-01-20 13:45:41 +0200
5736
5737    Block encoder cleanups
5738
5739 src/liblzma/common/block_encoder.c |   28 +++++++---------------------
5740 src/liblzma/common/block_encoder.h |   25 +++++++++++++++++++++++++
5741 2 files changed, 32 insertions(+), 21 deletions(-)
5742
5743commit 0c09810cb3635cb575cb54e694d41523e7d0a335
5744Author: Lasse Collin <lasse.collin@tukaani.org>
5745Date:   2009-01-20 10:35:15 +0200
5746
5747    Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
5748
5749 src/liblzma/common/common.c |   24 ++++++++----------------
5750 1 files changed, 8 insertions(+), 16 deletions(-)
5751
5752commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
5753Author: Lasse Collin <lasse.collin@tukaani.org>
5754Date:   2009-01-19 22:53:18 +0200
5755
5756    Fix handling of non-fatal errors in lzma_code().
5757
5758 src/liblzma/common/common.c |    9 ++++++++-
5759 1 files changed, 8 insertions(+), 1 deletions(-)
5760
5761commit 4810b6bc25087be872960b9dd1d11ff07735dc88
5762Author: Lasse Collin <lasse.collin@tukaani.org>
5763Date:   2009-01-19 14:00:33 +0200
5764
5765    Move some LZMA2 constants to lzma2_encoder.h so that they
5766    can be used outside lzma2_encoder.c.
5767
5768 src/liblzma/lzma/lzma2_encoder.c |   13 -------------
5769 src/liblzma/lzma/lzma2_encoder.h |   14 ++++++++++++++
5770 src/liblzma/lzma/lzma_encoder.c  |    3 ++-
5771 3 files changed, 16 insertions(+), 14 deletions(-)
5772
5773commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
5774Author: Lasse Collin <lasse.collin@tukaani.org>
5775Date:   2009-01-19 13:52:36 +0200
5776
5777    Remove dead code.
5778
5779 src/liblzma/lzma/lzma_encoder.h |    8 --------
5780 1 files changed, 0 insertions(+), 8 deletions(-)
5781
5782commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
5783Author: Lasse Collin <lasse.collin@tukaani.org>
5784Date:   2009-01-17 14:24:25 +0200
5785
5786    Beta was supposed to be API stable but I had forgot to rename
5787    lzma_memlimit_encoder and lzma_memlimit_decoder to
5788    lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
5789    Now it is fixed. Hopefully it doesn't cause too much trouble
5790    to those who already thought API is stable.
5791
5792 src/liblzma/api/lzma/filter.h       |    4 ++--
5793 src/liblzma/common/easy.c           |    4 ++--
5794 src/liblzma/common/filter_common.c  |    2 +-
5795 src/liblzma/common/filter_common.h  |    2 +-
5796 src/liblzma/common/filter_decoder.c |    4 ++--
5797 src/liblzma/common/filter_encoder.c |    4 ++--
5798 src/liblzma/common/stream_decoder.c |    2 +-
5799 src/xz/process.c                    |    6 +++---
5800 8 files changed, 14 insertions(+), 14 deletions(-)
5801
5802commit b056379490be5c584c264a967f0540041a163a1e
5803Author: Lasse Collin <lasse.collin@tukaani.org>
5804Date:   2009-01-15 14:29:22 +0200
5805
5806    Updated THANKS.
5807
5808 THANKS |    1 +
5809 1 files changed, 1 insertions(+), 0 deletions(-)
5810
5811commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
5812Author: Lasse Collin <lasse.collin@tukaani.org>
5813Date:   2009-01-15 14:27:32 +0200
5814
5815    Fixed a bug in 7z2lzma.bash to make it work with .7z files
5816    that use something else than 2^n as the dictionary size.
5817    Thanks to Dan Shechter for the bug report.
5818
5819 extra/7z2lzma/7z2lzma.bash |   47 ++++++++++++++++++++++---------------------
5820 1 files changed, 24 insertions(+), 23 deletions(-)
5821
5822commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
5823Author: Lasse Collin <lasse.collin@tukaani.org>
5824Date:   2009-01-07 18:41:15 +0200
5825
5826    Use pthread_sigmask() instead of sigprocmask() when pthreads
5827    are enabled.
5828
5829 src/common/mythread.h |    6 ++++++
5830 src/xz/main.c         |    4 ++--
5831 src/xz/private.h      |    1 +
5832 3 files changed, 9 insertions(+), 2 deletions(-)
5833
5834commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
5835Author: Lasse Collin <lasse.collin@tukaani.org>
5836Date:   2008-12-31 20:01:00 +0200
5837
5838    Bumped version to 4.999.8beta right after the release
5839    of 4.999.7beta.
5840
5841 configure.ac                   |    2 +-
5842 src/liblzma/api/lzma/version.h |    2 +-
5843 2 files changed, 2 insertions(+), 2 deletions(-)
5844
5845commit 061748f5932719643cda73383db715167d543c22
5846Author: Lasse Collin <lasse.collin@tukaani.org>
5847Date:   2008-12-31 18:59:02 +0200
5848
5849    Disable Subblock filter from test_compress.sh since it is
5850    disabled by default in configure.ac.
5851
5852 tests/test_compress.sh |   22 +++++++++++++---------
5853 1 files changed, 13 insertions(+), 9 deletions(-)
5854
5855commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
5856Author: Lasse Collin <lasse.collin@tukaani.org>
5857Date:   2008-12-31 17:44:20 +0200
5858
5859    Disable both Subblock encoder and decoder my default,
5860    since they are not finished and may have security issues too.
5861
5862 configure.ac |    2 +-
5863 1 files changed, 1 insertions(+), 1 deletions(-)
5864
5865commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
5866Author: Lasse Collin <lasse.collin@tukaani.org>
5867Date:   2008-12-31 17:42:50 +0200
5868
5869    Update some files in debug directory.
5870
5871 debug/full_flush.c |    2 --
5872 debug/memusage.c   |    2 --
5873 debug/sync_flush.c |    2 --
5874 3 files changed, 0 insertions(+), 6 deletions(-)
5875
5876commit d1d17a40d33a9682424ca37282813492f2cba6d0
5877Author: Lasse Collin <lasse.collin@tukaani.org>
5878Date:   2008-12-31 17:41:46 +0200
5879
5880    Prepare for 4.999.7beta release.
5881
5882 AUTHORS                        |    4 ++--
5883 README                         |   34 +++++++++++++++++-----------------
5884 configure.ac                   |    4 ++--
5885 src/liblzma/api/lzma/version.h |    2 +-
5886 4 files changed, 22 insertions(+), 22 deletions(-)
5887
5888commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
5889Author: Lasse Collin <lasse.collin@tukaani.org>
5890Date:   2008-12-31 17:15:03 +0200
5891
5892    Cleaned up some comments in the API headers.
5893
5894 src/liblzma/api/lzma/check.h     |   23 +++++++++++------------
5895 src/liblzma/api/lzma/container.h |    2 +-
5896 src/liblzma/api/lzma/version.h   |    4 +++-
5897 3 files changed, 15 insertions(+), 14 deletions(-)
5898
5899commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
5900Author: Lasse Collin <lasse.collin@tukaani.org>
5901Date:   2008-12-31 16:29:39 +0200
5902
5903    Renamed lzma_options_simple to lzma_options_bcj in the API.
5904    The internal implementation is still using the name "simple".
5905    It may need some cleanups, so I look at it later.
5906
5907 src/liblzma/api/Makefile.am         |    2 +-
5908 src/liblzma/api/lzma.h              |    2 +-
5909 src/liblzma/api/lzma/bcj.h          |   94 +++++++++++++++++++++++++++++++++++
5910 src/liblzma/api/lzma/simple.h       |   94 -----------------------------------
5911 src/liblzma/simple/simple_coder.c   |    2 +-
5912 src/liblzma/simple/simple_decoder.c |    4 +-
5913 src/liblzma/simple/simple_encoder.c |    4 +-
5914 tests/test_filter_flags.c           |    8 ++--
5915 8 files changed, 105 insertions(+), 105 deletions(-)
5916
5917commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
5918Author: Lasse Collin <lasse.collin@tukaani.org>
5919Date:   2008-12-31 00:57:27 +0200
5920
5921    Fixed missing quoting in configure.ac.
5922
5923 configure.ac |   38 +++++++++++++++++++-------------------
5924 1 files changed, 19 insertions(+), 19 deletions(-)
5925
5926commit 28e75f7086dbe9501d926c370375c69dfb1236ce
5927Author: Lasse Collin <lasse.collin@tukaani.org>
5928Date:   2008-12-31 00:48:23 +0200
5929
5930    Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
5931    should have been in the previous commit.
5932
5933 src/liblzma/Makefile.am |    4 ++--
5934 1 files changed, 2 insertions(+), 2 deletions(-)
5935
5936commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
5937Author: Lasse Collin <lasse.collin@tukaani.org>
5938Date:   2008-12-31 00:30:49 +0200
5939
5940    Remove lzma_init() and other init functions from liblzma API.
5941    Half of developers were already forgetting to use these
5942    functions, which could have caused total breakage in some future
5943    liblzma version or even now if --enable-small was used. Now
5944    liblzma uses pthread_once() to do the initializations unless
5945    it has been built with --disable-threads which make these
5946    initializations thread-unsafe.
5947
5948    When --enable-small isn't used, liblzma currently gets needlessly
5949    linked against libpthread (on systems that have it). While it is
5950    stupid for now, liblzma will need threads in future anyway, so
5951    this stupidity will be temporary only.
5952
5953    When --enable-small is used, different code CRC32 and CRC64 is
5954    now used than without --enable-small. This made the resulting
5955    binary slightly smaller, but the main reason was to clean it up
5956    and to handle the lack of lzma_init_check().
5957
5958    The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
5959    sure if it works correctly and portably for static linking
5960    (Libs.private includes -pthread or other operating system
5961    specific flags). Hopefully someone complains if it is bad.
5962
5963    lzma_rc_prices[] is now included as a precomputed array even
5964    with --enable-small. It's just 128 bytes now that it uses uint8_t
5965    instead of uint32_t. Smaller array seemed to be at least as fast
5966    as the more bloated uint32_t array on x86; hopefully it's not bad
5967    on other architectures.
5968
5969 configure.ac                              |   29 ++++++++--
5970 src/common/mythread.h                     |   34 +++++++++++
5971 src/liblzma/api/Makefile.am               |    1 -
5972 src/liblzma/api/lzma.h                    |    1 -
5973 src/liblzma/api/lzma/init.h               |   85 ----------------------------
5974 src/liblzma/check/Makefile.am             |   29 +++------
5975 src/liblzma/check/check.c                 |   10 ++--
5976 src/liblzma/check/check.h                 |   25 +++-----
5977 src/liblzma/check/check_init.c            |   37 ------------
5978 src/liblzma/check/crc32.c                 |   88 -----------------------------
5979 src/liblzma/check/crc32_fast.c            |   88 +++++++++++++++++++++++++++++
5980 src/liblzma/check/crc32_init.c            |   55 ------------------
5981 src/liblzma/check/crc32_small.c           |   54 ++++++++++++++++++
5982 src/liblzma/check/crc32_tablegen.c        |   55 ++++++++++++++++--
5983 src/liblzma/check/crc64.c                 |   75 ------------------------
5984 src/liblzma/check/crc64_fast.c            |   75 ++++++++++++++++++++++++
5985 src/liblzma/check/crc64_small.c           |   54 ++++++++++++++++++
5986 src/liblzma/check/crc64_tablegen.c        |   55 ++++++++++++++++--
5987 src/liblzma/common/Makefile.am            |    3 -
5988 src/liblzma/common/common.h               |    1 +
5989 src/liblzma/common/init.c                 |   39 -------------
5990 src/liblzma/common/init_decoder.c         |   31 ----------
5991 src/liblzma/common/init_encoder.c         |   40 -------------
5992 src/liblzma/liblzma.pc.in                 |   12 ++++
5993 src/liblzma/lz/lz_encoder.c               |    6 ++
5994 src/liblzma/lzma.pc.in                    |   11 ----
5995 src/liblzma/rangecoder/Makefile.am        |    8 +--
5996 src/liblzma/rangecoder/price.h            |   16 +-----
5997 src/liblzma/rangecoder/price_table.c      |    2 +-
5998 src/liblzma/rangecoder/price_table_init.c |   55 ------------------
5999 src/liblzma/rangecoder/price_tablegen.c   |   51 ++++++++++++++--
6000 src/xz/Makefile.am                        |    5 +-
6001 src/xz/main.c                             |    3 -
6002 src/xzdec/xzdec.c                         |    3 -
6003 tests/test_block_header.c                 |    1 -
6004 tests/test_check.c                        |    2 -
6005 tests/test_filter_flags.c                 |    2 -
6006 tests/test_index.c                        |    2 -
6007 tests/test_stream_flags.c                 |    2 -
6008 tests/tests.h                             |    2 +-
6009 40 files changed, 519 insertions(+), 628 deletions(-)
6010
6011commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
6012Author: Lasse Collin <lasse.collin@tukaani.org>
6013Date:   2008-12-27 19:40:31 +0200
6014
6015    Use 28 MiB as memory usage limit for encoding in test_compress.sh.
6016
6017 tests/test_compress.sh |    2 +-
6018 1 files changed, 1 insertions(+), 1 deletions(-)
6019
6020commit 050eb14d29e2537c014662e83599fd8a77f13c45
6021Author: Lasse Collin <lasse.collin@tukaani.org>
6022Date:   2008-12-27 19:32:20 +0200
6023
6024    Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
6025    that was related to LZMA_MODE_FAST. The original code is slightly
6026    faster although it compresses slightly worse. But since it is fast
6027    mode, it is better to select the faster version.
6028
6029 src/liblzma/lzma/lzma_encoder_optimum_fast.c |   23 ++++++++---------------
6030 1 files changed, 8 insertions(+), 15 deletions(-)
6031
6032commit 4820f10d0f173864f6a2ea7479663b509ac53358
6033Author: Lasse Collin <lasse.collin@tukaani.org>
6034Date:   2008-12-27 19:30:19 +0200
6035
6036    Some xz command line tool improvements.
6037
6038 src/xz/args.c    |   23 ++++-----
6039 src/xz/message.c |    4 +-
6040 src/xz/options.c |    2 +-
6041 src/xz/process.c |  133 ++++++++++++++++++++++++++++++++++++++++++-----------
6042 src/xz/process.h |    3 +
6043 5 files changed, 121 insertions(+), 44 deletions(-)
6044
6045commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
6046Author: Lasse Collin <lasse.collin@tukaani.org>
6047Date:   2008-12-27 19:27:49 +0200
6048
6049    Bunch of liblzma tweaks, including some API changes.
6050    The API and ABI should now be very close to stable,
6051    although the code behind it isn't yet.
6052
6053 src/liblzma/api/lzma.h                    |    8 ++--
6054 src/liblzma/api/lzma/block.h              |   63 +++++++++++++++++++++++-
6055 src/liblzma/api/lzma/container.h          |   76 ++++++++++++++--------------
6056 src/liblzma/api/lzma/lzma.h               |   41 +++++++++-------
6057 src/liblzma/common/alone_decoder.c        |   36 +++++++-------
6058 src/liblzma/common/alone_encoder.c        |   22 +++-----
6059 src/liblzma/common/auto_decoder.c         |    2 +-
6060 src/liblzma/common/block_decoder.c        |   54 ++++++++++----------
6061 src/liblzma/common/block_decoder.h        |    4 +-
6062 src/liblzma/common/block_encoder.c        |   37 ++++++++------
6063 src/liblzma/common/block_encoder.h        |    4 +-
6064 src/liblzma/common/block_header_decoder.c |   41 ++++++++-------
6065 src/liblzma/common/block_header_encoder.c |   51 +++++++++----------
6066 src/liblzma/common/block_util.c           |    3 +-
6067 src/liblzma/common/easy.c                 |   45 ++++++-----------
6068 src/liblzma/common/stream_decoder.c       |    3 +-
6069 src/liblzma/common/stream_decoder.h       |    2 +-
6070 src/liblzma/common/stream_encoder.c       |    3 +-
6071 src/liblzma/common/stream_encoder.h       |    2 +-
6072 src/liblzma/common/stream_flags_decoder.c |    2 +-
6073 src/liblzma/common/stream_flags_encoder.c |    2 +-
6074 src/liblzma/lzma/lzma_encoder.c           |    2 +-
6075 src/liblzma/lzma/lzma_encoder_presets.c   |   53 ++++++--------------
6076 23 files changed, 294 insertions(+), 262 deletions(-)
6077
6078commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
6079Author: Lasse Collin <lasse.collin@tukaani.org>
6080Date:   2008-12-18 13:42:52 +0200
6081
6082    Updated Makefile.am that was missing from the previous commit.
6083
6084 src/liblzma/common/Makefile.am |    1 -
6085 1 files changed, 0 insertions(+), 1 deletions(-)
6086
6087commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
6088Author: Lasse Collin <lasse.collin@tukaani.org>
6089Date:   2008-12-17 21:49:53 +0200
6090
6091    Remove the alignment functions for now. Maybe they will
6092    be added back in some form later, but the current version
6093    wasn't modular, so it would need fixing anyway.
6094
6095 src/liblzma/api/Makefile.am      |    1 -
6096 src/liblzma/api/lzma.h           |    1 -
6097 src/liblzma/api/lzma/alignment.h |   60 --------------------
6098 src/liblzma/common/alignment.c   |  114 --------------------------------------
6099 4 files changed, 0 insertions(+), 176 deletions(-)
6100
6101commit 4fed98417d1687f5eccccb42a133fde3ec81216a
6102Author: Lasse Collin <lasse.collin@tukaani.org>
6103Date:   2008-12-17 20:11:23 +0200
6104
6105    xz message handling improvements
6106
6107 src/xz/message.c |  125 +++++++++++++++++++++++++++++++++++++++++++++++++-----
6108 src/xz/message.h |    7 +++-
6109 src/xz/process.c |   28 +++++++++++-
6110 3 files changed, 146 insertions(+), 14 deletions(-)
6111
6112commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
6113Author: Lasse Collin <lasse.collin@tukaani.org>
6114Date:   2008-12-15 23:26:43 +0200
6115
6116    Fix a dumb bug in .lzma decoder which was introduced in
6117    the previous commit. (Probably the previous commit has
6118    other bugs too, it wasn't tested.)
6119
6120 src/liblzma/common/alone_decoder.c |   29 ++++++++++++++---------------
6121 1 files changed, 14 insertions(+), 15 deletions(-)
6122
6123commit 671a5adf1e844bfdd6fd327016c3c28694493158
6124Author: Lasse Collin <lasse.collin@tukaani.org>
6125Date:   2008-12-15 19:39:13 +0200
6126
6127    Bunch of liblzma API cleanups and fixes.
6128
6129 src/liblzma/api/lzma.h              |  122 +++++++++++---------
6130 src/liblzma/api/lzma/base.h         |  174 +++++++++++++++++++----------
6131 src/liblzma/api/lzma/block.h        |  211 +++++++++++++++++++++++------------
6132 src/liblzma/api/lzma/check.h        |   28 +++--
6133 src/liblzma/api/lzma/container.h    |  155 +++++++++++++-------------
6134 src/liblzma/api/lzma/delta.h        |   12 +-
6135 src/liblzma/api/lzma/filter.h       |   27 +++--
6136 src/liblzma/api/lzma/index.h        |   97 ++++++++++++++---
6137 src/liblzma/api/lzma/index_hash.h   |   26 +++-
6138 src/liblzma/api/lzma/init.h         |    2 +-
6139 src/liblzma/api/lzma/lzma.h         |   12 +-
6140 src/liblzma/api/lzma/simple.h       |    4 +-
6141 src/liblzma/api/lzma/stream_flags.h |   46 +++++---
6142 src/liblzma/api/lzma/version.h      |    6 +-
6143 src/liblzma/api/lzma/vli.h          |   17 +--
6144 src/liblzma/common/alone_decoder.c  |   47 ++++++---
6145 src/liblzma/common/auto_decoder.c   |   29 +++++
6146 src/liblzma/common/block_util.c     |   52 +++++----
6147 src/liblzma/common/common.c         |   58 ++++++++++
6148 src/liblzma/common/common.h         |    9 ++-
6149 src/liblzma/common/easy.c           |   33 ++++--
6150 src/liblzma/common/filter_common.c  |    2 +-
6151 src/liblzma/common/index.c          |   11 ++
6152 src/liblzma/common/index_decoder.c  |   46 +++++++-
6153 src/liblzma/common/stream_decoder.c |   47 +++++++-
6154 src/liblzma/lzma/lzma2_encoder.c    |    6 +-
6155 tests/test_index.c                  |   10 +-
6156 27 files changed, 863 insertions(+), 426 deletions(-)
6157
6158commit 17781c2c20fd77029cb32e77792889f2f211d69d
6159Author: Lasse Collin <lasse.collin@tukaani.org>
6160Date:   2008-12-15 14:26:52 +0200
6161
6162    The LZMA2 decoder fix introduced a bug to LZ decoder,
6163    which made LZ decoder return too early after dictionary
6164    reset. This fixes it.
6165
6166 src/liblzma/lz/lz_decoder.c |   33 +++++++++++++++++++++++----------
6167 1 files changed, 23 insertions(+), 10 deletions(-)
6168
6169commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
6170Author: Lasse Collin <lasse.collin@tukaani.org>
6171Date:   2008-12-15 11:20:22 +0200
6172
6173    Added two new test files.
6174
6175 tests/files/README            |    7 +++++++
6176 tests/files/bad-1-lzma2-8.xz  |  Bin 0 -> 464 bytes
6177 tests/files/good-1-lzma2-4.xz |  Bin 0 -> 464 bytes
6178 3 files changed, 7 insertions(+), 0 deletions(-)
6179
6180commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
6181Author: Lasse Collin <lasse.collin@tukaani.org>
6182Date:   2008-12-15 10:01:59 +0200
6183
6184    Fix data corruption in LZMA2 decoder.
6185
6186 src/liblzma/lz/lz_decoder.c      |   17 ++++++++++++++++-
6187 src/liblzma/lz/lz_decoder.h      |    8 +++++---
6188 src/liblzma/lzma/lzma2_decoder.c |   15 +++++++++++----
6189 3 files changed, 32 insertions(+), 8 deletions(-)
6190
6191commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
6192Author: Lasse Collin <lasse.collin@tukaani.org>
6193Date:   2008-12-13 00:54:11 +0200
6194
6195    Name the package "xz" in configure.ac.
6196
6197 configure.ac |   11 ++++-------
6198 1 files changed, 4 insertions(+), 7 deletions(-)
6199
6200commit a94bf00d0af9b423851905b031be5a645a657820
6201Author: Lasse Collin <lasse.collin@tukaani.org>
6202Date:   2008-12-12 22:43:21 +0200
6203
6204    Some adjustments to GCC warning flags. The important change
6205    is the removal of -pedantic. It messes up -Werror (which I
6206    really want to keep so that I don't miss any warnings) with
6207    printf format strings that are in POSIX but not in C99.
6208
6209 configure.ac |    8 +++++---
6210 1 files changed, 5 insertions(+), 3 deletions(-)
6211
6212commit 8582d392baacd2cdac07ca60041f8c661323676d
6213Author: Lasse Collin <lasse.collin@tukaani.org>
6214Date:   2008-12-10 01:31:00 +0200
6215
6216    Remove obsolete comment.
6217
6218 src/xz/message.c |    1 -
6219 1 files changed, 0 insertions(+), 1 deletions(-)
6220
6221commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
6222Author: Lasse Collin <lasse.collin@tukaani.org>
6223Date:   2008-12-10 01:27:15 +0200
6224
6225    Use "decompression" consistently in --long-help.
6226
6227 src/xz/message.c |    2 +-
6228 1 files changed, 1 insertions(+), 1 deletions(-)
6229
6230commit 1ea9e7f15afd5d3981e2432710e932320597bca9
6231Author: Lasse Collin <lasse.collin@tukaani.org>
6232Date:   2008-12-10 01:23:58 +0200
6233
6234    Added preset=NUM to --lzma1 and --lzma2. This makes it easy
6235    to take a preset as a template and modify it a little.
6236
6237 src/xz/message.c |    1 +
6238 src/xz/options.c |    8 ++++++++
6239 2 files changed, 9 insertions(+), 0 deletions(-)
6240
6241commit bceb3918dbb21f34976bfdd4c171a81319de71f7
6242Author: Lasse Collin <lasse.collin@tukaani.org>
6243Date:   2008-12-09 17:43:31 +0200
6244
6245    Put the file format specification into the public domain.
6246    Same will be done to the actual code later.
6247
6248 doc/file-format.txt |   24 +++++++++---------------
6249 1 files changed, 9 insertions(+), 15 deletions(-)
6250
6251commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
6252Author: Lasse Collin <lasse.collin@tukaani.org>
6253Date:   2008-12-09 17:41:49 +0200
6254
6255    Make the memusage functions of LZMA1 and LZMA2 encoders
6256    to validate the filter options. Add missing validation
6257    to LZMA2 encoder when options are changed in the middle
6258    of encoding.
6259
6260 src/liblzma/lzma/lzma2_encoder.c |    5 +++-
6261 src/liblzma/lzma/lzma_encoder.c  |   44 +++++++++++++++++++++++++------------
6262 src/liblzma/lzma/lzma_encoder.h  |    2 +-
6263 3 files changed, 35 insertions(+), 16 deletions(-)
6264
6265commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
6266Author: Lasse Collin <lasse.collin@tukaani.org>
6267Date:   2008-12-09 10:36:24 +0200
6268
6269    Updated THANKS.
6270
6271 THANKS |    1 +
6272 1 files changed, 1 insertions(+), 0 deletions(-)
6273
6274commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
6275Author: Lasse Collin <lasse.collin@tukaani.org>
6276Date:   2008-12-01 23:04:12 +0200
6277
6278    In command line tool, take advantage of memusage calculation's
6279    ability to also validate the filter chain and options (not
6280    implemented yet for all filters).
6281
6282 src/xz/process.c |    8 ++++----
6283 1 files changed, 4 insertions(+), 4 deletions(-)
6284
6285commit ccd57afa09e332d664d6d6a7498702791ea5f659
6286Author: Lasse Collin <lasse.collin@tukaani.org>
6287Date:   2008-12-01 22:59:28 +0200
6288
6289    Validate the filter chain before checking filter-specific
6290    memory usage.
6291
6292 src/liblzma/common/filter_common.c |   14 ++++++++++----
6293 1 files changed, 10 insertions(+), 4 deletions(-)
6294
6295commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
6296Author: Lasse Collin <lasse.collin@tukaani.org>
6297Date:   2008-12-01 22:58:22 +0200
6298
6299    Make the memusage functions of LZMA1 and LZMA2 decoders
6300    to validate the filter options.
6301
6302 src/liblzma/lzma/lzma2_decoder.c |    7 ++-----
6303 src/liblzma/lzma/lzma_decoder.c  |   14 ++++++++++----
6304 src/liblzma/lzma/lzma_decoder.h  |    5 +++++
6305 3 files changed, 17 insertions(+), 9 deletions(-)
6306
6307commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
6308Author: Lasse Collin <lasse.collin@tukaani.org>
6309Date:   2008-12-01 22:55:18 +0200
6310
6311    Added the changes for Delta filter that should have been
6312    part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
6313
6314 src/liblzma/common/filter_decoder.c |    2 +-
6315 src/liblzma/common/filter_encoder.c |    2 +-
6316 2 files changed, 2 insertions(+), 2 deletions(-)
6317
6318commit cd708015202dbf7585b84a8781462a20c42a324b
6319Author: Lasse Collin <lasse.collin@tukaani.org>
6320Date:   2008-12-01 22:50:28 +0200
6321
6322    LZMA2 decoder cleanups. Make it require new LZMA properties
6323    also in the first LZMA chunk after a dictionary reset in
6324    uncompressed chunk.
6325
6326 src/liblzma/lzma/lzma2_decoder.c |   95 ++++++++++++++++---------------------
6327 1 files changed, 41 insertions(+), 54 deletions(-)
6328
6329commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
6330Author: Lasse Collin <lasse.collin@tukaani.org>
6331Date:   2008-12-01 16:30:11 +0200
6332
6333    Added lzma_delta_coder_memusage() which also validates
6334    the options.
6335
6336 src/liblzma/delta/Makefile.am     |    3 +-
6337 src/liblzma/delta/delta_common.c  |   28 +++++++++++++++++------
6338 src/liblzma/delta/delta_common.h  |   19 +---------------
6339 src/liblzma/delta/delta_decoder.c |    2 +-
6340 src/liblzma/delta/delta_decoder.h |    2 +-
6341 src/liblzma/delta/delta_encoder.c |   14 +++--------
6342 src/liblzma/delta/delta_encoder.h |    2 +-
6343 src/liblzma/delta/delta_private.h |   44 +++++++++++++++++++++++++++++++++++++
6344 8 files changed, 75 insertions(+), 39 deletions(-)
6345
6346commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
6347Author: Lasse Collin <lasse.collin@tukaani.org>
6348Date:   2008-11-29 10:03:49 +0200
6349
6350    Automake includes the m4 directory, so don't add it in
6351    Makefile.am separately.
6352
6353    Updated THANKS.
6354
6355 Makefile.am |    1 -
6356 THANKS      |    1 +
6357 2 files changed, 1 insertions(+), 1 deletions(-)
6358
6359commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
6360Author: Lasse Collin <lasse.collin@tukaani.org>
6361Date:   2008-11-28 12:00:48 +0200
6362
6363    Tested using COLUMNS environment variable to avoid broken
6364    progress indicator but since COLUMNS isn't usually available,
6365    the code was left commented out.
6366
6367 src/xz/message.c |   14 +++++++++-----
6368 1 files changed, 9 insertions(+), 5 deletions(-)
6369
6370commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
6371Author: Lasse Collin <lasse.collin@tukaani.org>
6372Date:   2008-11-27 19:28:59 +0200
6373
6374    Cleanups to message.c.
6375
6376 src/xz/message.c |   47 ++++++++++++++++++-----------------------------
6377 1 files changed, 18 insertions(+), 29 deletions(-)
6378
6379commit a8368b75cdcd5427299001cc42839287f27b244d
6380Author: Lasse Collin <lasse.collin@tukaani.org>
6381Date:   2008-11-25 02:37:47 +0200
6382
6383    Remove the nowadays unneeded memory limitting malloc() wrapper.
6384
6385 src/liblzma/api/Makefile.am         |    1 -
6386 src/liblzma/api/lzma.h              |    1 -
6387 src/liblzma/api/lzma/memlimit.h     |  207 -------------------------
6388 src/liblzma/common/Makefile.am      |    1 -
6389 src/liblzma/common/memory_limiter.c |  288 -----------------------------------
6390 tests/Makefile.am                   |    2 -
6391 tests/test_memlimit.c               |  114 --------------
6392 7 files changed, 0 insertions(+), 614 deletions(-)
6393
6394commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
6395Author: Lasse Collin <lasse.collin@tukaani.org>
6396Date:   2008-11-23 15:09:03 +0200
6397
6398    VLI encoder and decoder cleanups. Made encoder return
6399    LZMA_PROG_ERROR in single-call mode if there's no output
6400    space.
6401
6402 src/liblzma/common/vli_decoder.c |   15 +++++++++------
6403 src/liblzma/common/vli_encoder.c |   31 ++++++++++++++++++++++++-------
6404 2 files changed, 33 insertions(+), 13 deletions(-)
6405
6406commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
6407Author: Lasse Collin <lasse.collin@tukaani.org>
6408Date:   2008-11-22 17:44:33 +0200
6409
6410    Typo fix
6411
6412 src/xz/process.c |    2 +-
6413 1 files changed, 1 insertions(+), 1 deletions(-)
6414
6415commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
6416Author: Lasse Collin <lasse.collin@tukaani.org>
6417Date:   2008-11-20 22:59:10 +0200
6418
6419    Support NetBSD's errno for O_NOFOLLOW.
6420
6421 src/xz/io.c |    8 ++++++++
6422 1 files changed, 8 insertions(+), 0 deletions(-)
6423
6424commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
6425Author: Lasse Collin <lasse.collin@tukaani.org>
6426Date:   2008-11-20 18:05:52 +0200
6427
6428    Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
6429    files and lzmadec only .lzma files.
6430
6431 src/xzdec/Makefile.am |    7 +-
6432 src/xzdec/xzdec.c     |  311 +++++++++++++++++++++----------------------------
6433 2 files changed, 140 insertions(+), 178 deletions(-)
6434
6435commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
6436Author: Lasse Collin <lasse.collin@tukaani.org>
6437Date:   2008-11-20 11:01:29 +0200
6438
6439    Minor cleanups to xzdec.
6440
6441 src/xzdec/xzdec.c |   20 ++++++++++----------
6442 1 files changed, 10 insertions(+), 10 deletions(-)
6443
6444commit 54f716ba8905d09752dcd1519455a40bd21d5317
6445Author: Lasse Collin <lasse.collin@tukaani.org>
6446Date:   2008-11-19 23:55:22 +0200
6447
6448    Added missing check for uint16_t.
6449
6450 configure.ac |    1 +
6451 1 files changed, 1 insertions(+), 0 deletions(-)
6452
6453commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
6454Author: Lasse Collin <lasse.collin@tukaani.org>
6455Date:   2008-11-19 23:52:24 +0200
6456
6457    Renamed lzma to xz and lzmadec to xzdec. We create symlinks
6458    lzma, unlzma, and lzcat in "make install" for backwards
6459    compatibility with LZMA Utils 4.32.x; I'm not sure if this
6460    should be the default though.
6461
6462 configure.ac            |    4 +-
6463 po/POTFILES.in          |   21 +-
6464 src/Makefile.am         |    2 +-
6465 src/lzma/Makefile.am    |   72 ----
6466 src/lzma/args.c         |  500 --------------------------
6467 src/lzma/args.h         |   56 ---
6468 src/lzma/hardware.c     |  122 -------
6469 src/lzma/hardware.h     |   45 ---
6470 src/lzma/io.c           |  658 ----------------------------------
6471 src/lzma/io.h           |   97 -----
6472 src/lzma/list.c         |  477 -------------------------
6473 src/lzma/main.c         |  402 ---------------------
6474 src/lzma/main.h         |   60 ----
6475 src/lzma/message.c      |  892 -----------------------------------------------
6476 src/lzma/message.h      |  132 -------
6477 src/lzma/options.c      |  352 -------------------
6478 src/lzma/options.h      |   46 ---
6479 src/lzma/private.h      |   52 ---
6480 src/lzma/process.c      |  391 ---------------------
6481 src/lzma/process.h      |   70 ----
6482 src/lzma/suffix.c       |  213 -----------
6483 src/lzma/suffix.h       |   40 ---
6484 src/lzma/util.c         |  199 -----------
6485 src/lzma/util.h         |   71 ----
6486 src/lzmadec/Makefile.am |   29 --
6487 src/lzmadec/lzmadec.c   |  492 --------------------------
6488 src/xz/Makefile.am      |   74 ++++
6489 src/xz/args.c           |  500 ++++++++++++++++++++++++++
6490 src/xz/args.h           |   56 +++
6491 src/xz/hardware.c       |  122 +++++++
6492 src/xz/hardware.h       |   45 +++
6493 src/xz/io.c             |  658 ++++++++++++++++++++++++++++++++++
6494 src/xz/io.h             |   97 +++++
6495 src/xz/list.c           |  477 +++++++++++++++++++++++++
6496 src/xz/main.c           |  402 +++++++++++++++++++++
6497 src/xz/main.h           |   60 ++++
6498 src/xz/message.c        |  892 +++++++++++++++++++++++++++++++++++++++++++++++
6499 src/xz/message.h        |  132 +++++++
6500 src/xz/options.c        |  352 +++++++++++++++++++
6501 src/xz/options.h        |   46 +++
6502 src/xz/private.h        |   52 +++
6503 src/xz/process.c        |  391 +++++++++++++++++++++
6504 src/xz/process.h        |   70 ++++
6505 src/xz/suffix.c         |  213 +++++++++++
6506 src/xz/suffix.h         |   40 +++
6507 src/xz/util.c           |  199 +++++++++++
6508 src/xz/util.h           |   71 ++++
6509 src/xzdec/Makefile.am   |   29 ++
6510 src/xzdec/xzdec.c       |  492 ++++++++++++++++++++++++++
6511 tests/test_compress.sh  |   29 +-
6512 tests/test_files.sh     |    4 +-
6513 51 files changed, 5498 insertions(+), 5500 deletions(-)
6514
6515commit e114502b2bc371e4a45449832cb69be036360722
6516Author: Lasse Collin <lasse.collin@tukaani.org>
6517Date:   2008-11-19 20:46:52 +0200
6518
6519    Oh well, big messy commit again. Some highlights:
6520      - Updated to the latest, probably final file format version.
6521      - Command line tool reworked to not use threads anymore.
6522        Threading will probably go into liblzma anyway.
6523      - Memory usage limit is now about 30 % for uncompression
6524        and about 90 % for compression.
6525      - Progress indicator with --verbose
6526      - Simplified --help and full --long-help
6527      - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
6528      - Some bug fixes
6529
6530 THANKS                                       |    1 +
6531 configure.ac                                 |   48 +-
6532 debug/full_flush.c                           |    6 +-
6533 debug/known_sizes.c                          |    2 +-
6534 debug/memusage.c                             |    2 +-
6535 debug/sync_flush.c                           |   10 +-
6536 doc/file-format.txt                          |  260 +++++----
6537 lib/Makefile.am                              |   10 +-
6538 lib/getopt.c                                 |   14 +-
6539 lib/getopt.in.h                              |  226 +++++++
6540 lib/getopt1.c                                |    8 +-
6541 lib/getopt_.h                                |  226 -------
6542 lib/gettext.h                                |  240 -------
6543 m4/getopt.m4                                 |   64 +--
6544 src/common/bswap.h                           |   15 +-
6545 src/common/physmem.h                         |    4 +
6546 src/common/sysdefs.h                         |   12 +-
6547 src/liblzma/api/lzma/block.h                 |   47 +-
6548 src/liblzma/api/lzma/filter.h                |    8 +
6549 src/liblzma/api/lzma/index.h                 |   20 +-
6550 src/liblzma/api/lzma/index_hash.h            |    4 +-
6551 src/liblzma/common/block_decoder.c           |   59 +-
6552 src/liblzma/common/block_encoder.c           |   41 +-
6553 src/liblzma/common/block_header_decoder.c    |   31 +-
6554 src/liblzma/common/block_header_encoder.c    |   69 +--
6555 src/liblzma/common/block_util.c              |   45 +-
6556 src/liblzma/common/common.h                  |    8 -
6557 src/liblzma/common/filter_common.c           |    4 +-
6558 src/liblzma/common/index.c                   |  259 ++++----
6559 src/liblzma/common/index.h                   |   33 +-
6560 src/liblzma/common/index_decoder.c           |   31 +-
6561 src/liblzma/common/index_encoder.c           |   16 +-
6562 src/liblzma/common/index_hash.c              |   68 +-
6563 src/liblzma/common/stream_decoder.c          |    9 +-
6564 src/liblzma/common/stream_encoder.c          |    6 +-
6565 src/liblzma/lz/lz_decoder.h                  |    4 +-
6566 src/liblzma/subblock/subblock_decoder.c      |    3 +-
6567 src/lzma/Makefile.am                         |    9 +-
6568 src/lzma/alloc.c                             |  106 ---
6569 src/lzma/alloc.h                             |   42 --
6570 src/lzma/args.c                              |  531 +++++++---------
6571 src/lzma/args.h                              |   42 +-
6572 src/lzma/error.c                             |  162 -----
6573 src/lzma/error.h                             |   67 --
6574 src/lzma/hardware.c                          |   75 ++-
6575 src/lzma/hardware.h                          |   16 +-
6576 src/lzma/help.c                              |  170 -----
6577 src/lzma/help.h                              |   32 -
6578 src/lzma/io.c                                |  757 +++++++++++-----------
6579 src/lzma/io.h                                |   51 ++-
6580 src/lzma/main.c                              |  392 ++++++++----
6581 src/lzma/main.h                              |   60 ++
6582 src/lzma/message.c                           |  892 ++++++++++++++++++++++++++
6583 src/lzma/message.h                           |  132 ++++
6584 src/lzma/options.c                           |   42 +-
6585 src/lzma/options.h                           |    6 +-
6586 src/lzma/private.h                           |   28 +-
6587 src/lzma/process.c                           |  525 +++++++--------
6588 src/lzma/process.h                           |   40 ++
6589 src/lzma/suffix.c                            |   52 +-
6590 src/lzma/suffix.h                            |   17 +-
6591 src/lzma/util.c                              |  100 ++--
6592 src/lzma/util.h                              |   43 ++-
6593 src/lzmadec/lzmadec.c                        |   36 +-
6594 tests/files/README                           |   12 +-
6595 tests/files/bad-1-block_header-1.xz          |  Bin 64 -> 64 bytes
6596 tests/files/bad-1-block_header-2.xz          |  Bin 64 -> 64 bytes
6597 tests/files/bad-1-block_header-3.xz          |  Bin 68 -> 68 bytes
6598 tests/files/bad-1-block_header-4.xz          |  Bin 72 -> 76 bytes
6599 tests/files/bad-1-block_header-5.xz          |  Bin 0 -> 72 bytes
6600 tests/files/bad-1-check-crc32.xz             |  Bin 68 -> 68 bytes
6601 tests/files/bad-1-check-crc64.xz             |  Bin 72 -> 72 bytes
6602 tests/files/bad-1-check-sha256.xz            |  Bin 96 -> 96 bytes
6603 tests/files/bad-1-lzma2-1.xz                 |  Bin 64 -> 64 bytes
6604 tests/files/bad-1-lzma2-2.xz                 |  Bin 424 -> 424 bytes
6605 tests/files/bad-1-lzma2-3.xz                 |  Bin 424 -> 424 bytes
6606 tests/files/bad-1-lzma2-4.xz                 |  Bin 408 -> 408 bytes
6607 tests/files/bad-1-lzma2-5.xz                 |  Bin 408 -> 408 bytes
6608 tests/files/bad-1-lzma2-6.xz                 |  Bin 68 -> 68 bytes
6609 tests/files/bad-1-lzma2-7.xz                 |  Bin 408 -> 408 bytes
6610 tests/files/bad-1-stream_flags-1.xz          |  Bin 68 -> 68 bytes
6611 tests/files/bad-1-stream_flags-2.xz          |  Bin 68 -> 68 bytes
6612 tests/files/bad-1-stream_flags-3.xz          |  Bin 68 -> 68 bytes
6613 tests/files/bad-1-vli-1.xz                   |  Bin 72 -> 72 bytes
6614 tests/files/bad-1-vli-2.xz                   |  Bin 72 -> 76 bytes
6615 tests/files/bad-2-compressed_data_padding.xz |  Bin 92 -> 92 bytes
6616 tests/files/bad-2-index-1.xz                 |  Bin 92 -> 92 bytes
6617 tests/files/bad-2-index-2.xz                 |  Bin 92 -> 92 bytes
6618 tests/files/bad-2-index-3.xz                 |  Bin 92 -> 92 bytes
6619 tests/files/bad-2-index-4.xz                 |  Bin 92 -> 92 bytes
6620 tests/files/bad-2-index-5.xz                 |  Bin 0 -> 92 bytes
6621 tests/files/good-1-3delta-lzma2.xz           |  Bin 528 -> 528 bytes
6622 tests/files/good-1-block_header-1.xz         |  Bin 72 -> 72 bytes
6623 tests/files/good-1-block_header-2.xz         |  Bin 68 -> 68 bytes
6624 tests/files/good-1-block_header-3.xz         |  Bin 68 -> 68 bytes
6625 tests/files/good-1-check-crc32.xz            |  Bin 68 -> 68 bytes
6626 tests/files/good-1-check-crc64.xz            |  Bin 72 -> 72 bytes
6627 tests/files/good-1-check-none.xz             |  Bin 64 -> 64 bytes
6628 tests/files/good-1-check-sha256.xz           |  Bin 96 -> 96 bytes
6629 tests/files/good-1-delta-lzma2.tiff.xz       |  Bin 51312 -> 51316 bytes
6630 tests/files/good-1-lzma2-1.xz                |  Bin 424 -> 424 bytes
6631 tests/files/good-1-lzma2-2.xz                |  Bin 424 -> 424 bytes
6632 tests/files/good-1-lzma2-3.xz                |  Bin 408 -> 408 bytes
6633 tests/files/good-1-sparc-lzma2.xz            |  Bin 2292 -> 2296 bytes
6634 tests/files/good-1-x86-lzma2.xz              |  Bin 1936 -> 1936 bytes
6635 tests/files/good-2-lzma2.xz                  |  Bin 92 -> 92 bytes
6636 tests/files/unsupported-block_header.xz      |  Bin 68 -> 68 bytes
6637 tests/files/unsupported-check.xz             |  Bin 68 -> 68 bytes
6638 tests/files/unsupported-filter_flags-1.xz    |  Bin 68 -> 68 bytes
6639 tests/files/unsupported-filter_flags-2.xz    |  Bin 68 -> 68 bytes
6640 tests/files/unsupported-filter_flags-3.xz    |  Bin 68 -> 68 bytes
6641 tests/test_block_header.c                    |   16 +-
6642 tests/test_index.c                           |   42 +-
6643 113 files changed, 3462 insertions(+), 2946 deletions(-)
6644
6645commit 3c3905b53462ae235c9438d86a4dc51086410932
6646Author: Lasse Collin <lasse.collin@tukaani.org>
6647Date:   2008-10-09 11:12:29 +0300
6648
6649    Fixed the test that should have been fixed as part
6650    of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
6651
6652 tests/test_block_header.c |    2 +-
6653 1 files changed, 1 insertions(+), 1 deletions(-)
6654
6655commit 0f295bf7a3ece01f667caae318cc3e3424085886
6656Author: Lasse Collin <lasse.collin@tukaani.org>
6657Date:   2008-10-07 16:42:18 +0300
6658
6659    Fixed some help messages.
6660
6661 src/lzma/help.c |    6 +++---
6662 1 files changed, 3 insertions(+), 3 deletions(-)
6663
6664commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
6665Author: Lasse Collin <lasse.collin@tukaani.org>
6666Date:   2008-10-07 09:40:31 +0300
6667
6668    Made the preset numbering more logical in liblzma API.
6669
6670 src/liblzma/api/lzma/container.h        |   20 ++++++++++----------
6671 src/liblzma/api/lzma/lzma.h             |    2 +-
6672 src/liblzma/lzma/lzma_encoder_presets.c |    3 ++-
6673 src/lzma/args.c                         |    8 ++++----
6674 src/lzma/args.h                         |    2 +-
6675 5 files changed, 18 insertions(+), 17 deletions(-)
6676
6677commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
6678Author: Lasse Collin <lasse.collin@tukaani.org>
6679Date:   2008-10-03 19:36:09 +0300
6680
6681    Removed fi from po/LINGUAS.
6682
6683 po/LINGUAS |    1 -
6684 1 files changed, 0 insertions(+), 1 deletions(-)
6685
6686commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
6687Author: Lasse Collin <lasse.collin@tukaani.org>
6688Date:   2008-10-03 07:06:48 +0300
6689
6690    Fixed suffix handling with --format=raw.
6691
6692 src/lzma/suffix.c |   28 +++++++++++++++++++---------
6693 1 files changed, 19 insertions(+), 9 deletions(-)
6694
6695commit bd137524f2f50e30ba054f42f1f6536cd3cee920
6696Author: Lasse Collin <lasse.collin@tukaani.org>
6697Date:   2008-10-02 22:51:46 +0300
6698
6699    Initial changes to change the suffix of the new format to .xz.
6700    This also fixes a bug related to --suffix option. Some issues
6701    with suffixes with --format=raw were not fixed.
6702
6703 src/lzma/args.c        |   67 ++++++++++++++++++++++++++++++-------------
6704 src/lzma/args.h        |   13 ++++----
6705 src/lzma/help.c        |    4 +-
6706 src/lzma/process.c     |   24 +++++++++------
6707 src/lzma/suffix.c      |   74 +++++++++++++++++++++++++++++++++++++++--------
6708 tests/test_compress.sh |    3 +-
6709 6 files changed, 133 insertions(+), 52 deletions(-)
6710
6711commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
6712Author: Lasse Collin <lasse.collin@tukaani.org>
6713Date:   2008-09-30 17:43:55 +0300
6714
6715    Renamed the test files from .lzma suffix to .xz suffix.
6716
6717 tests/files/README                             |  128 ++++++++++++------------
6718 tests/files/bad-0-backward_size.lzma           |  Bin 32 -> 0 bytes
6719 tests/files/bad-0-backward_size.xz             |  Bin 0 -> 32 bytes
6720 tests/files/bad-0-empty-truncated.lzma         |  Bin 31 -> 0 bytes
6721 tests/files/bad-0-empty-truncated.xz           |  Bin 0 -> 31 bytes
6722 tests/files/bad-0-footer_magic.lzma            |  Bin 32 -> 0 bytes
6723 tests/files/bad-0-footer_magic.xz              |  Bin 0 -> 32 bytes
6724 tests/files/bad-0-header_magic.lzma            |  Bin 32 -> 0 bytes
6725 tests/files/bad-0-header_magic.xz              |  Bin 0 -> 32 bytes
6726 tests/files/bad-0-nonempty_index.lzma          |  Bin 32 -> 0 bytes
6727 tests/files/bad-0-nonempty_index.xz            |  Bin 0 -> 32 bytes
6728 tests/files/bad-0cat-alone.lzma                |  Bin 55 -> 0 bytes
6729 tests/files/bad-0cat-alone.xz                  |  Bin 0 -> 55 bytes
6730 tests/files/bad-0cat-header_magic.lzma         |  Bin 64 -> 0 bytes
6731 tests/files/bad-0cat-header_magic.xz           |  Bin 0 -> 64 bytes
6732 tests/files/bad-0catpad-empty.lzma             |  Bin 69 -> 0 bytes
6733 tests/files/bad-0catpad-empty.xz               |  Bin 0 -> 69 bytes
6734 tests/files/bad-0pad-empty.lzma                |  Bin 37 -> 0 bytes
6735 tests/files/bad-0pad-empty.xz                  |  Bin 0 -> 37 bytes
6736 tests/files/bad-1-block_header-1.lzma          |  Bin 64 -> 0 bytes
6737 tests/files/bad-1-block_header-1.xz            |  Bin 0 -> 64 bytes
6738 tests/files/bad-1-block_header-2.lzma          |  Bin 64 -> 0 bytes
6739 tests/files/bad-1-block_header-2.xz            |  Bin 0 -> 64 bytes
6740 tests/files/bad-1-block_header-3.lzma          |  Bin 68 -> 0 bytes
6741 tests/files/bad-1-block_header-3.xz            |  Bin 0 -> 68 bytes
6742 tests/files/bad-1-block_header-4.lzma          |  Bin 72 -> 0 bytes
6743 tests/files/bad-1-block_header-4.xz            |  Bin 0 -> 72 bytes
6744 tests/files/bad-1-check-crc32.lzma             |  Bin 68 -> 0 bytes
6745 tests/files/bad-1-check-crc32.xz               |  Bin 0 -> 68 bytes
6746 tests/files/bad-1-check-crc64.lzma             |  Bin 72 -> 0 bytes
6747 tests/files/bad-1-check-crc64.xz               |  Bin 0 -> 72 bytes
6748 tests/files/bad-1-check-sha256.lzma            |  Bin 96 -> 0 bytes
6749 tests/files/bad-1-check-sha256.xz              |  Bin 0 -> 96 bytes
6750 tests/files/bad-1-lzma2-1.lzma                 |  Bin 64 -> 0 bytes
6751 tests/files/bad-1-lzma2-1.xz                   |  Bin 0 -> 64 bytes
6752 tests/files/bad-1-lzma2-2.lzma                 |  Bin 424 -> 0 bytes
6753 tests/files/bad-1-lzma2-2.xz                   |  Bin 0 -> 424 bytes
6754 tests/files/bad-1-lzma2-3.lzma                 |  Bin 424 -> 0 bytes
6755 tests/files/bad-1-lzma2-3.xz                   |  Bin 0 -> 424 bytes
6756 tests/files/bad-1-lzma2-4.lzma                 |  Bin 408 -> 0 bytes
6757 tests/files/bad-1-lzma2-4.xz                   |  Bin 0 -> 408 bytes
6758 tests/files/bad-1-lzma2-5.lzma                 |  Bin 408 -> 0 bytes
6759 tests/files/bad-1-lzma2-5.xz                   |  Bin 0 -> 408 bytes
6760 tests/files/bad-1-lzma2-6.lzma                 |  Bin 68 -> 0 bytes
6761 tests/files/bad-1-lzma2-6.xz                   |  Bin 0 -> 68 bytes
6762 tests/files/bad-1-lzma2-7.lzma                 |  Bin 408 -> 0 bytes
6763 tests/files/bad-1-lzma2-7.xz                   |  Bin 0 -> 408 bytes
6764 tests/files/bad-1-stream_flags-1.lzma          |  Bin 68 -> 0 bytes
6765 tests/files/bad-1-stream_flags-1.xz            |  Bin 0 -> 68 bytes
6766 tests/files/bad-1-stream_flags-2.lzma          |  Bin 68 -> 0 bytes
6767 tests/files/bad-1-stream_flags-2.xz            |  Bin 0 -> 68 bytes
6768 tests/files/bad-1-stream_flags-3.lzma          |  Bin 68 -> 0 bytes
6769 tests/files/bad-1-stream_flags-3.xz            |  Bin 0 -> 68 bytes
6770 tests/files/bad-1-vli-1.lzma                   |  Bin 72 -> 0 bytes
6771 tests/files/bad-1-vli-1.xz                     |  Bin 0 -> 72 bytes
6772 tests/files/bad-1-vli-2.lzma                   |  Bin 72 -> 0 bytes
6773 tests/files/bad-1-vli-2.xz                     |  Bin 0 -> 72 bytes
6774 tests/files/bad-2-compressed_data_padding.lzma |  Bin 92 -> 0 bytes
6775 tests/files/bad-2-compressed_data_padding.xz   |  Bin 0 -> 92 bytes
6776 tests/files/bad-2-index-1.lzma                 |  Bin 92 -> 0 bytes
6777 tests/files/bad-2-index-1.xz                   |  Bin 0 -> 92 bytes
6778 tests/files/bad-2-index-2.lzma                 |  Bin 92 -> 0 bytes
6779 tests/files/bad-2-index-2.xz                   |  Bin 0 -> 92 bytes
6780 tests/files/bad-2-index-3.lzma                 |  Bin 92 -> 0 bytes
6781 tests/files/bad-2-index-3.xz                   |  Bin 0 -> 92 bytes
6782 tests/files/bad-2-index-4.lzma                 |  Bin 92 -> 0 bytes
6783 tests/files/bad-2-index-4.xz                   |  Bin 0 -> 92 bytes
6784 tests/files/good-0-empty.lzma                  |  Bin 32 -> 0 bytes
6785 tests/files/good-0-empty.xz                    |  Bin 0 -> 32 bytes
6786 tests/files/good-0cat-empty.lzma               |  Bin 64 -> 0 bytes
6787 tests/files/good-0cat-empty.xz                 |  Bin 0 -> 64 bytes
6788 tests/files/good-0catpad-empty.lzma            |  Bin 68 -> 0 bytes
6789 tests/files/good-0catpad-empty.xz              |  Bin 0 -> 68 bytes
6790 tests/files/good-0pad-empty.lzma               |  Bin 36 -> 0 bytes
6791 tests/files/good-0pad-empty.xz                 |  Bin 0 -> 36 bytes
6792 tests/files/good-1-3delta-lzma2.lzma           |  Bin 528 -> 0 bytes
6793 tests/files/good-1-3delta-lzma2.xz             |  Bin 0 -> 528 bytes
6794 tests/files/good-1-block_header-1.lzma         |  Bin 72 -> 0 bytes
6795 tests/files/good-1-block_header-1.xz           |  Bin 0 -> 72 bytes
6796 tests/files/good-1-block_header-2.lzma         |  Bin 68 -> 0 bytes
6797 tests/files/good-1-block_header-2.xz           |  Bin 0 -> 68 bytes
6798 tests/files/good-1-block_header-3.lzma         |  Bin 68 -> 0 bytes
6799 tests/files/good-1-block_header-3.xz           |  Bin 0 -> 68 bytes
6800 tests/files/good-1-check-crc32.lzma            |  Bin 68 -> 0 bytes
6801 tests/files/good-1-check-crc32.xz              |  Bin 0 -> 68 bytes
6802 tests/files/good-1-check-crc64.lzma            |  Bin 72 -> 0 bytes
6803 tests/files/good-1-check-crc64.xz              |  Bin 0 -> 72 bytes
6804 tests/files/good-1-check-none.lzma             |  Bin 64 -> 0 bytes
6805 tests/files/good-1-check-none.xz               |  Bin 0 -> 64 bytes
6806 tests/files/good-1-check-sha256.lzma           |  Bin 96 -> 0 bytes
6807 tests/files/good-1-check-sha256.xz             |  Bin 0 -> 96 bytes
6808 tests/files/good-1-delta-lzma2.tiff.lzma       |  Bin 51312 -> 0 bytes
6809 tests/files/good-1-delta-lzma2.tiff.xz         |  Bin 0 -> 51312 bytes
6810 tests/files/good-1-lzma2-1.lzma                |  Bin 424 -> 0 bytes
6811 tests/files/good-1-lzma2-1.xz                  |  Bin 0 -> 424 bytes
6812 tests/files/good-1-lzma2-2.lzma                |  Bin 424 -> 0 bytes
6813 tests/files/good-1-lzma2-2.xz                  |  Bin 0 -> 424 bytes
6814 tests/files/good-1-lzma2-3.lzma                |  Bin 408 -> 0 bytes
6815 tests/files/good-1-lzma2-3.xz                  |  Bin 0 -> 408 bytes
6816 tests/files/good-1-sparc-lzma2.lzma            |  Bin 2292 -> 0 bytes
6817 tests/files/good-1-sparc-lzma2.xz              |  Bin 0 -> 2292 bytes
6818 tests/files/good-1-x86-lzma2.lzma              |  Bin 1936 -> 0 bytes
6819 tests/files/good-1-x86-lzma2.xz                |  Bin 0 -> 1936 bytes
6820 tests/files/good-2-lzma2.lzma                  |  Bin 92 -> 0 bytes
6821 tests/files/good-2-lzma2.xz                    |  Bin 0 -> 92 bytes
6822 tests/files/unsupported-block_header.lzma      |  Bin 68 -> 0 bytes
6823 tests/files/unsupported-block_header.xz        |  Bin 0 -> 68 bytes
6824 tests/files/unsupported-check.lzma             |  Bin 68 -> 0 bytes
6825 tests/files/unsupported-check.xz               |  Bin 0 -> 68 bytes
6826 tests/files/unsupported-filter_flags-1.lzma    |  Bin 68 -> 0 bytes
6827 tests/files/unsupported-filter_flags-1.xz      |  Bin 0 -> 68 bytes
6828 tests/files/unsupported-filter_flags-2.lzma    |  Bin 68 -> 0 bytes
6829 tests/files/unsupported-filter_flags-2.xz      |  Bin 0 -> 68 bytes
6830 tests/files/unsupported-filter_flags-3.lzma    |  Bin 68 -> 0 bytes
6831 tests/files/unsupported-filter_flags-3.xz      |  Bin 0 -> 68 bytes
6832 tests/test_files.sh                            |    6 +-
6833 116 files changed, 66 insertions(+), 68 deletions(-)
6834
6835commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
6836Author: Lasse Collin <lasse.collin@tukaani.org>
6837Date:   2008-09-30 13:57:44 +0300
6838
6839    Fixed Stream decoder to actually use the first_stream variable.
6840
6841 src/liblzma/common/stream_decoder.c |    5 +++++
6842 1 files changed, 5 insertions(+), 0 deletions(-)
6843
6844commit 3bdbc12c054d1961133ee19802af7dd3c3494543
6845Author: Lasse Collin <lasse.collin@tukaani.org>
6846Date:   2008-09-30 13:56:57 +0300
6847
6848    Added one more test file.
6849
6850 tests/files/README                     |   15 +++++++++++----
6851 tests/files/bad-0cat-header_magic.lzma |  Bin 0 -> 64 bytes
6852 2 files changed, 11 insertions(+), 4 deletions(-)
6853
6854commit a6639022fdc536e5659b070a465221b4cf7c51fa
6855Author: Lasse Collin <lasse.collin@tukaani.org>
6856Date:   2008-09-30 13:34:07 +0300
6857
6858    Fixed uninitialized variable in Stream decoder.
6859
6860 src/liblzma/common/stream_decoder.c |    1 +
6861 1 files changed, 1 insertions(+), 0 deletions(-)
6862
6863commit ed3709000a3f17ecefab29b2235d7e2221b00003
6864Author: Lasse Collin <lasse.collin@tukaani.org>
6865Date:   2008-09-30 13:27:28 +0300
6866
6867    Added two test files.
6868
6869 tests/files/README                  |    6 ++++++
6870 tests/files/bad-0-footer_magic.lzma |  Bin 0 -> 32 bytes
6871 tests/files/bad-0-header_magic.lzma |  Bin 0 -> 32 bytes
6872 3 files changed, 6 insertions(+), 0 deletions(-)
6873
6874commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
6875Author: Lasse Collin <lasse.collin@tukaani.org>
6876Date:   2008-09-27 23:49:24 +0300
6877
6878    Fix conflicting Subblock helper filter's ID.
6879
6880 src/liblzma/common/common.h |    2 +-
6881 1 files changed, 1 insertions(+), 1 deletions(-)
6882
6883commit ad97483b6e55142fd8d5c041db057017a891cd95
6884Author: Lasse Collin <lasse.collin@tukaani.org>
6885Date:   2008-09-27 23:37:13 +0300
6886
6887    Changed magic bytes to match the updated spec. Filename
6888    suffix wasn't changed yet.
6889
6890 src/liblzma/common/auto_decoder.c              |    4 ++--
6891 src/liblzma/common/stream_flags_common.c       |    2 +-
6892 tests/files/bad-0-backward_size.lzma           |  Bin 32 -> 32 bytes
6893 tests/files/bad-0-empty-truncated.lzma         |  Bin 31 -> 31 bytes
6894 tests/files/bad-0-nonempty_index.lzma          |  Bin 32 -> 32 bytes
6895 tests/files/bad-0cat-alone.lzma                |  Bin 55 -> 55 bytes
6896 tests/files/bad-0catpad-empty.lzma             |  Bin 69 -> 69 bytes
6897 tests/files/bad-0pad-empty.lzma                |  Bin 37 -> 37 bytes
6898 tests/files/bad-1-block_header-1.lzma          |  Bin 64 -> 64 bytes
6899 tests/files/bad-1-block_header-2.lzma          |  Bin 64 -> 64 bytes
6900 tests/files/bad-1-block_header-3.lzma          |  Bin 68 -> 68 bytes
6901 tests/files/bad-1-block_header-4.lzma          |  Bin 72 -> 72 bytes
6902 tests/files/bad-1-check-crc32.lzma             |  Bin 68 -> 68 bytes
6903 tests/files/bad-1-check-crc64.lzma             |  Bin 72 -> 72 bytes
6904 tests/files/bad-1-check-sha256.lzma            |  Bin 96 -> 96 bytes
6905 tests/files/bad-1-lzma2-1.lzma                 |  Bin 64 -> 64 bytes
6906 tests/files/bad-1-lzma2-2.lzma                 |  Bin 424 -> 424 bytes
6907 tests/files/bad-1-lzma2-3.lzma                 |  Bin 424 -> 424 bytes
6908 tests/files/bad-1-lzma2-4.lzma                 |  Bin 408 -> 408 bytes
6909 tests/files/bad-1-lzma2-5.lzma                 |  Bin 408 -> 408 bytes
6910 tests/files/bad-1-lzma2-6.lzma                 |  Bin 68 -> 68 bytes
6911 tests/files/bad-1-lzma2-7.lzma                 |  Bin 408 -> 408 bytes
6912 tests/files/bad-1-stream_flags-1.lzma          |  Bin 68 -> 68 bytes
6913 tests/files/bad-1-stream_flags-2.lzma          |  Bin 68 -> 68 bytes
6914 tests/files/bad-1-stream_flags-3.lzma          |  Bin 68 -> 68 bytes
6915 tests/files/bad-1-vli-1.lzma                   |  Bin 72 -> 72 bytes
6916 tests/files/bad-1-vli-2.lzma                   |  Bin 72 -> 72 bytes
6917 tests/files/bad-2-compressed_data_padding.lzma |  Bin 92 -> 92 bytes
6918 tests/files/bad-2-index-1.lzma                 |  Bin 92 -> 92 bytes
6919 tests/files/bad-2-index-2.lzma                 |  Bin 92 -> 92 bytes
6920 tests/files/bad-2-index-3.lzma                 |  Bin 92 -> 92 bytes
6921 tests/files/bad-2-index-4.lzma                 |  Bin 92 -> 92 bytes
6922 tests/files/good-0-empty.lzma                  |  Bin 32 -> 32 bytes
6923 tests/files/good-0cat-empty.lzma               |  Bin 64 -> 64 bytes
6924 tests/files/good-0catpad-empty.lzma            |  Bin 68 -> 68 bytes
6925 tests/files/good-0pad-empty.lzma               |  Bin 36 -> 36 bytes
6926 tests/files/good-1-3delta-lzma2.lzma           |  Bin 528 -> 528 bytes
6927 tests/files/good-1-block_header-1.lzma         |  Bin 72 -> 72 bytes
6928 tests/files/good-1-block_header-2.lzma         |  Bin 68 -> 68 bytes
6929 tests/files/good-1-block_header-3.lzma         |  Bin 68 -> 68 bytes
6930 tests/files/good-1-check-crc32.lzma            |  Bin 68 -> 68 bytes
6931 tests/files/good-1-check-crc64.lzma            |  Bin 72 -> 72 bytes
6932 tests/files/good-1-check-none.lzma             |  Bin 64 -> 64 bytes
6933 tests/files/good-1-check-sha256.lzma           |  Bin 96 -> 96 bytes
6934 tests/files/good-1-delta-lzma2.tiff.lzma       |  Bin 51312 -> 51312 bytes
6935 tests/files/good-1-lzma2-1.lzma                |  Bin 424 -> 424 bytes
6936 tests/files/good-1-lzma2-2.lzma                |  Bin 424 -> 424 bytes
6937 tests/files/good-1-lzma2-3.lzma                |  Bin 408 -> 408 bytes
6938 tests/files/good-1-sparc-lzma2.lzma            |  Bin 2292 -> 2292 bytes
6939 tests/files/good-1-x86-lzma2.lzma              |  Bin 1936 -> 1936 bytes
6940 tests/files/good-2-lzma2.lzma                  |  Bin 92 -> 92 bytes
6941 tests/files/unsupported-block_header.lzma      |  Bin 68 -> 68 bytes
6942 tests/files/unsupported-check.lzma             |  Bin 68 -> 68 bytes
6943 tests/files/unsupported-filter_flags-1.lzma    |  Bin 68 -> 68 bytes
6944 tests/files/unsupported-filter_flags-2.lzma    |  Bin 68 -> 68 bytes
6945 tests/files/unsupported-filter_flags-3.lzma    |  Bin 68 -> 68 bytes
6946 56 files changed, 3 insertions(+), 3 deletions(-)
6947
6948commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
6949Author: Lasse Collin <lasse.collin@tukaani.org>
6950Date:   2008-09-27 23:16:09 +0300
6951
6952    Remove po/fi.po since I'm not keeping it updated for now.
6953
6954 po/fi.po |  446 --------------------------------------------------------------
6955 1 files changed, 0 insertions(+), 446 deletions(-)
6956
6957commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
6958Author: Lasse Collin <lasse.collin@tukaani.org>
6959Date:   2008-09-27 23:13:54 +0300
6960
6961    Fix also test_compress.sh.
6962
6963 tests/test_compress.sh |    6 +++---
6964 1 files changed, 3 insertions(+), 3 deletions(-)
6965
6966commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
6967Author: Lasse Collin <lasse.collin@tukaani.org>
6968Date:   2008-09-27 23:01:15 +0300
6969
6970    Fixed compilation of test_filter_flags.c, which was broken by
6971    1dcecfb09b55157b8653d747963069c8bed74f04.
6972
6973 tests/test_filter_flags.c |   16 ++++++++--------
6974 1 files changed, 8 insertions(+), 8 deletions(-)
6975
6976commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
6977Author: Lasse Collin <lasse.collin@tukaani.org>
6978Date:   2008-09-27 19:11:02 +0300
6979
6980    Updated file format specification. It changes the suffix
6981    of the new format to .xz and removes the recently added
6982    LZMA filter.
6983
6984 doc/file-format.txt |  125 +++++++++++++--------------------------------------
6985 1 files changed, 32 insertions(+), 93 deletions(-)
6986
6987commit 1dcecfb09b55157b8653d747963069c8bed74f04
6988Author: Lasse Collin <lasse.collin@tukaani.org>
6989Date:   2008-09-27 19:09:21 +0300
6990
6991    Some API changes, bug fixes, cleanups etc.
6992
6993 configure.ac                                   |   18 +-
6994 debug/full_flush.c                             |    7 +-
6995 debug/known_sizes.c                            |    6 +-
6996 debug/memusage.c                               |   22 ++--
6997 debug/sync_flush.c                             |   18 +-
6998 src/liblzma/Makefile.am                        |    2 +-
6999 src/liblzma/api/lzma/delta.h                   |    8 +-
7000 src/liblzma/api/lzma/lzma.h                    |  230 +++++++++++++++---------
7001 src/liblzma/common/alignment.c                 |    7 +-
7002 src/liblzma/common/alone_decoder.c             |   11 +-
7003 src/liblzma/common/alone_encoder.c             |    9 +-
7004 src/liblzma/common/chunk_size.c                |    2 +-
7005 src/liblzma/common/easy.c                      |   20 ++-
7006 src/liblzma/common/filter_common.c             |    4 +-
7007 src/liblzma/common/filter_decoder.c            |    4 +-
7008 src/liblzma/common/filter_encoder.c            |    4 +-
7009 src/liblzma/common/init_encoder.c              |    2 +-
7010 src/liblzma/delta/delta_common.c               |   12 +-
7011 src/liblzma/delta/delta_common.h               |    2 +-
7012 src/liblzma/delta/delta_decoder.c              |    2 +-
7013 src/liblzma/delta/delta_encoder.c              |    6 +-
7014 src/liblzma/lz/lz_encoder.c                    |   30 ++--
7015 src/liblzma/lz/lz_encoder.h                    |   26 ++--
7016 src/liblzma/lz/lz_encoder_mf.c                 |   30 ++--
7017 src/liblzma/lzma/Makefile.am                   |    4 +-
7018 src/liblzma/lzma/lzma2_decoder.c               |   10 +-
7019 src/liblzma/lzma/lzma2_encoder.c               |   27 +--
7020 src/liblzma/lzma/lzma_common.h                 |   26 +--
7021 src/liblzma/lzma/lzma_decoder.c                |   37 ++--
7022 src/liblzma/lzma/lzma_encoder.c                |   51 +++---
7023 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   10 +-
7024 src/liblzma/lzma/lzma_encoder_optimum_normal.c |   20 +-
7025 src/liblzma/lzma/lzma_encoder_presets.c        |   50 ++++--
7026 src/liblzma/rangecoder/Makefile.am             |    4 +-
7027 src/liblzma/subblock/subblock_decoder.c        |    2 +-
7028 src/lzma/args.c                                |   33 +++--
7029 src/lzma/help.c                                |   17 +-
7030 src/lzma/options.c                             |   92 ++++++----
7031 tests/test_block_header.c                      |    9 +-
7032 tests/test_compress.sh                         |    4 +-
7033 tests/test_filter_flags.c                      |    2 +-
7034 41 files changed, 482 insertions(+), 398 deletions(-)
7035
7036commit 5cc5064cae603b649c64c40125c7dd365de54c9d
7037Author: Lasse Collin <lasse.collin@tukaani.org>
7038Date:   2008-09-27 11:28:49 +0300
7039
7040    Added 7z2lzma.bash.
7041
7042 extra/7z2lzma/7z2lzma.bash |  114 ++++++++++++++++++++++++++++++++++++++++++++
7043 1 files changed, 114 insertions(+), 0 deletions(-)
7044
7045commit f147666a5cd15542d4e427da58629f4a71cc38e1
7046Author: Lasse Collin <lasse.collin@tukaani.org>
7047Date:   2008-09-17 22:11:39 +0300
7048
7049    Miscellaneous LZ and LZMA encoder cleanups
7050
7051 src/liblzma/api/lzma/lzma.h              |   14 ------
7052 src/liblzma/lz/lz_encoder.c              |    8 +++-
7053 src/liblzma/lzma/Makefile.am             |    1 -
7054 src/liblzma/lzma/lzma_encoder.c          |   64 +++++++++++-------------------
7055 src/liblzma/lzma/lzma_encoder_features.c |   59 ---------------------------
7056 5 files changed, 29 insertions(+), 117 deletions(-)
7057
7058commit 13d68b069849e19c33822cd8996cd6447890abb1
7059Author: Lasse Collin <lasse.collin@tukaani.org>
7060Date:   2008-09-13 13:54:00 +0300
7061
7062    LZ decoder cleanup
7063
7064 src/liblzma/lz/lz_decoder.c |    5 ++---
7065 1 files changed, 2 insertions(+), 3 deletions(-)
7066
7067commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
7068Author: Lasse Collin <lasse.collin@tukaani.org>
7069Date:   2008-09-13 12:10:43 +0300
7070
7071    Renamed constants:
7072      - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
7073      - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
7074      - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
7075
7076 debug/full_flush.c                        |    2 +-
7077 debug/known_sizes.c                       |    2 +-
7078 debug/sync_flush.c                        |    2 +-
7079 src/liblzma/api/lzma/alignment.h          |    2 +-
7080 src/liblzma/api/lzma/base.h               |    4 +-
7081 src/liblzma/api/lzma/block.h              |   28 +++++++++++++-------------
7082 src/liblzma/api/lzma/container.h          |   12 +++++-----
7083 src/liblzma/api/lzma/filter.h             |   28 +++++++++++++-------------
7084 src/liblzma/api/lzma/index.h              |    2 +-
7085 src/liblzma/api/lzma/lzma.h               |    4 +-
7086 src/liblzma/api/lzma/simple.h             |    2 +-
7087 src/liblzma/api/lzma/stream_flags.h       |   20 +++++++++---------
7088 src/liblzma/api/lzma/vli.h                |   16 +++++++-------
7089 src/liblzma/common/alignment.c            |    6 ++--
7090 src/liblzma/common/alone_decoder.c        |    2 +-
7091 src/liblzma/common/auto_decoder.c         |    2 +-
7092 src/liblzma/common/block_decoder.c        |   12 +++++-----
7093 src/liblzma/common/block_encoder.c        |    6 ++--
7094 src/liblzma/common/block_header_decoder.c |   16 +++++++-------
7095 src/liblzma/common/block_header_encoder.c |   24 +++++++++++-----------
7096 src/liblzma/common/block_util.c           |    8 +++---
7097 src/liblzma/common/chunk_size.c           |    2 +-
7098 src/liblzma/common/easy.c                 |    4 +-
7099 src/liblzma/common/filter_common.c        |   22 ++++++++++----------
7100 src/liblzma/common/filter_decoder.c       |    6 ++--
7101 src/liblzma/common/filter_encoder.c       |   14 ++++++------
7102 src/liblzma/common/index.c                |   24 ++++++++++------------
7103 src/liblzma/common/index.h                |    2 +-
7104 src/liblzma/common/index_hash.c           |   13 +++++------
7105 src/liblzma/common/stream_decoder.c       |    4 +-
7106 src/liblzma/common/stream_encoder.c       |    4 +-
7107 src/liblzma/common/stream_flags_common.c  |    6 ++--
7108 src/liblzma/common/stream_flags_decoder.c |    6 ++--
7109 src/liblzma/common/stream_flags_encoder.c |    4 +-
7110 src/liblzma/common/vli_encoder.c          |    2 +-
7111 src/liblzma/common/vli_size.c             |    2 +-
7112 src/liblzma/delta/delta_common.c          |    2 +-
7113 src/liblzma/delta/delta_decoder.c         |    2 +-
7114 src/liblzma/delta/delta_encoder.c         |    2 +-
7115 src/liblzma/lz/lz_decoder.c               |    2 +-
7116 src/liblzma/lz/lz_encoder.c               |    2 +-
7117 src/liblzma/lzma/lzma2_decoder.c          |    6 ++--
7118 src/liblzma/lzma/lzma_decoder.c           |   14 ++++++------
7119 src/liblzma/lzma/lzma_encoder.c           |    8 +++---
7120 src/liblzma/simple/simple_coder.c         |    2 +-
7121 src/liblzma/simple/simple_decoder.c       |    2 +-
7122 src/liblzma/subblock/subblock_decoder.c   |    6 ++--
7123 src/liblzma/subblock/subblock_encoder.c   |   17 +++++++--------
7124 src/lzma/args.c                           |    2 +-
7125 src/lzma/error.c                          |    2 +-
7126 src/lzma/list.c                           |    6 ++--
7127 src/lzmadec/lzmadec.c                     |    2 +-
7128 tests/test_block.c                        |    8 +++---
7129 tests/test_block_header.c                 |   30 ++++++++++++++--------------
7130 tests/test_filter_flags.c                 |    2 +-
7131 tests/test_index.c                        |    2 +-
7132 tests/test_stream_flags.c                 |    8 +++---
7133 tests/tests.h                             |    2 +-
7134 58 files changed, 220 insertions(+), 224 deletions(-)
7135
7136commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
7137Author: Lasse Collin <lasse.collin@tukaani.org>
7138Date:   2008-09-12 22:41:40 +0300
7139
7140    Improved the Stream Flags handling API.
7141
7142 src/liblzma/api/lzma/stream_flags.h       |   84 +++++++++++++++++++++++++++--
7143 src/liblzma/common/stream_decoder.c       |    5 +-
7144 src/liblzma/common/stream_encoder.c       |    2 +
7145 src/liblzma/common/stream_flags_common.c  |   28 +++++++---
7146 src/liblzma/common/stream_flags_common.h  |    9 +++
7147 src/liblzma/common/stream_flags_decoder.c |    3 +-
7148 src/liblzma/common/stream_flags_encoder.c |   10 +++-
7149 tests/test_stream_flags.c                 |    8 ++-
7150 8 files changed, 129 insertions(+), 20 deletions(-)
7151
7152commit ec490da5228263b25bf786bb23d1008468f55b30
7153Author: Lasse Collin <lasse.collin@tukaani.org>
7154Date:   2008-09-11 23:10:44 +0300
7155
7156    Simplified debug/known_sizes.c to match the relaxed
7157    requirements of Block encoder.
7158
7159 debug/known_sizes.c |   14 +++++---------
7160 1 files changed, 5 insertions(+), 9 deletions(-)
7161
7162commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
7163Author: Lasse Collin <lasse.collin@tukaani.org>
7164Date:   2008-09-11 23:09:24 +0300
7165
7166    Remove a check from Block encoder that should have already
7167    been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
7168
7169 src/liblzma/common/block_encoder.c |    5 -----
7170 1 files changed, 0 insertions(+), 5 deletions(-)
7171
7172commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
7173Author: Lasse Collin <lasse.collin@tukaani.org>
7174Date:   2008-09-11 20:02:38 +0300
7175
7176    Remove bogus #includes.
7177
7178 src/liblzma/common/Makefile.am            |    1 -
7179 src/liblzma/common/stream_decoder.c       |    3 --
7180 src/liblzma/common/stream_encoder.c       |    1 -
7181 src/liblzma/common/stream_flags_decoder.h |   31 -----------------------------
7182 4 files changed, 0 insertions(+), 36 deletions(-)
7183
7184commit 01892b2ca5f69bed0ea746e04b604030d57806bb
7185Author: Lasse Collin <lasse.collin@tukaani.org>
7186Date:   2008-09-11 10:49:14 +0300
7187
7188    Updated THANKS.
7189
7190 THANKS |    1 +
7191 1 files changed, 1 insertions(+), 0 deletions(-)
7192
7193commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
7194Author: Lasse Collin <lasse.collin@tukaani.org>
7195Date:   2008-09-11 10:48:12 +0300
7196
7197    Fix a compiler error on big endian systems that don't
7198    support unaligned memory access.
7199
7200 src/common/integer.h |   32 ++++++++++++++++++--------------
7201 1 files changed, 18 insertions(+), 14 deletions(-)
7202
7203commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
7204Author: Lasse Collin <lasse.collin@tukaani.org>
7205Date:   2008-09-11 10:46:14 +0300
7206
7207    Silence a compiler warning.
7208
7209 src/lzma/process.c |    2 +-
7210 1 files changed, 1 insertions(+), 1 deletions(-)
7211
7212commit 9373e81e18822db4972819442ea4c2cb9955470b
7213Author: Lasse Collin <lasse.collin@tukaani.org>
7214Date:   2008-09-10 19:16:32 +0300
7215
7216    Bumped version to 4.999.6alpha.
7217
7218 configure.ac                   |    2 +-
7219 src/liblzma/api/lzma/version.h |    2 +-
7220 2 files changed, 2 insertions(+), 2 deletions(-)
7221
7222commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
7223Author: Lasse Collin <lasse.collin@tukaani.org>
7224Date:   2008-09-10 17:02:00 +0300
7225
7226    Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
7227    Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
7228    is in the reserved range. This allows Block Header encoder to
7229    detect unallowed Filter IDs, which is good for Stream encoder.
7230
7231 src/liblzma/common/filter_flags_encoder.c |    7 ++++---
7232 1 files changed, 4 insertions(+), 3 deletions(-)
7233
7234commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
7235Author: Lasse Collin <lasse.collin@tukaani.org>
7236Date:   2008-09-10 16:44:32 +0300
7237
7238    Filter handling cleanups
7239
7240 src/liblzma/api/lzma/filter.h       |  133 +++++++++++++++++++++++++++--------
7241 src/liblzma/common/filter_common.h  |    3 +
7242 src/liblzma/common/filter_decoder.c |   80 +++++++--------------
7243 src/liblzma/common/filter_decoder.h |    5 --
7244 src/liblzma/common/filter_encoder.c |   82 +++++++---------------
7245 src/liblzma/common/filter_encoder.h |    4 -
7246 6 files changed, 156 insertions(+), 151 deletions(-)
7247
7248commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
7249Author: Lasse Collin <lasse.collin@tukaani.org>
7250Date:   2008-09-10 00:33:00 +0300
7251
7252    Comments
7253
7254 src/liblzma/common/stream_encoder.c |    6 +++++-
7255 1 files changed, 5 insertions(+), 1 deletions(-)
7256
7257commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
7258Author: Lasse Collin <lasse.collin@tukaani.org>
7259Date:   2008-09-10 00:27:02 +0300
7260
7261    Cleaned up Block encoder and moved the no longer shared
7262    code from block_private.h to block_decoder.c. Now the Block
7263    encoder doesn't need compressed_size and uncompressed_size
7264    from lzma_block structure to be initialized.
7265
7266 src/liblzma/api/lzma/block.h       |    3 -
7267 src/liblzma/common/Makefile.am     |    1 -
7268 src/liblzma/common/block_decoder.c |   23 +++++++++-
7269 src/liblzma/common/block_encoder.c |   92 +++++++++++++++++-------------------
7270 src/liblzma/common/block_private.h |   47 ------------------
7271 5 files changed, 66 insertions(+), 100 deletions(-)
7272
7273commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
7274Author: Lasse Collin <lasse.collin@tukaani.org>
7275Date:   2008-09-07 10:23:13 +0300
7276
7277    Changed Filter ID of LZMA to 0x20.
7278
7279 doc/file-format.txt         |    4 ++--
7280 src/liblzma/api/lzma/lzma.h |    2 +-
7281 2 files changed, 3 insertions(+), 3 deletions(-)
7282
7283commit 32fe5fa541e82c08e054086279079ae5016bd8d8
7284Author: Lasse Collin <lasse.collin@tukaani.org>
7285Date:   2008-09-06 23:42:50 +0300
7286
7287    Comments
7288
7289 src/liblzma/api/lzma/base.h      |   81 +++++++++++++++++++++++++-------------
7290 src/liblzma/api/lzma/container.h |    6 ++-
7291 src/liblzma/lz/lz_encoder.c      |    3 +-
7292 src/liblzma/lz/lz_encoder.h      |   12 +++---
7293 src/liblzma/lz/lz_encoder_mf.c   |    2 +-
7294 5 files changed, 65 insertions(+), 39 deletions(-)
7295
7296commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
7297Author: Lasse Collin <lasse.collin@tukaani.org>
7298Date:   2008-09-06 15:14:30 +0300
7299
7300    Some API cleanups
7301
7302 src/liblzma/api/lzma/base.h         |  314 ++++++++++++++++++++++-------------
7303 src/liblzma/api/lzma/check.h        |   10 +
7304 src/liblzma/api/lzma/container.h    |   40 +++--
7305 src/liblzma/common/auto_decoder.c   |   18 +-
7306 src/liblzma/common/common.c         |    7 +
7307 src/liblzma/common/common.h         |   18 +-
7308 src/liblzma/common/easy.c           |    2 +-
7309 src/liblzma/common/stream_decoder.c |   31 ++--
7310 src/lzma/process.c                  |    2 +-
7311 src/lzmadec/lzmadec.c               |    6 +-
7312 tests/tests.h                       |   72 ++------
7313 11 files changed, 301 insertions(+), 219 deletions(-)
7314
7315commit da98df54400998be2a6c3876f9655a3c51b93c10
7316Author: Lasse Collin <lasse.collin@tukaani.org>
7317Date:   2008-09-04 11:53:06 +0300
7318
7319    Added support for raw encoding and decoding to the command
7320    line tool, and made various cleanups. --lzma was renamed to
7321    --lzma1 to prevent people from accidentally using LZMA when
7322    they want LZMA2.
7323
7324 src/lzma/args.c    |   17 +++++++++--------
7325 src/lzma/args.h    |    1 +
7326 src/lzma/help.c    |   24 ++++++------------------
7327 src/lzma/process.c |   42 ++++++++++++++++++++++++++++++++++--------
7328 4 files changed, 50 insertions(+), 34 deletions(-)
7329
7330commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
7331Author: Lasse Collin <lasse.collin@tukaani.org>
7332Date:   2008-09-04 10:39:15 +0300
7333
7334    Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
7335    simply nothing that would use it. Allow LZMA_FINISH to the
7336    decoders, which will usually ignore it (auto decoder and
7337    Stream decoder being exceptions).
7338
7339 src/liblzma/common/alone_decoder.c  |    1 -
7340 src/liblzma/common/block_decoder.c  |    2 +-
7341 src/liblzma/common/filter_decoder.c |    2 +-
7342 3 files changed, 2 insertions(+), 3 deletions(-)
7343
7344commit bea301c26d5d52675e11e0236faec0492af98f60
7345Author: Lasse Collin <lasse.collin@tukaani.org>
7346Date:   2008-09-03 17:06:25 +0300
7347
7348    Minor updates to the file format specification.
7349
7350 doc/file-format.txt |  105 +++++++++++++++++++++++++++++++++++++++++----------
7351 1 files changed, 85 insertions(+), 20 deletions(-)
7352
7353commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
7354Author: Lasse Collin <lasse.collin@tukaani.org>
7355Date:   2008-09-02 19:33:32 +0300
7356
7357    Command line tool fixes
7358
7359 src/lzma/process.c |   21 +++++++++++++--------
7360 1 files changed, 13 insertions(+), 8 deletions(-)
7361
7362commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
7363Author: Lasse Collin <lasse.collin@tukaani.org>
7364Date:   2008-09-02 19:31:42 +0300
7365
7366    Auto decoder cleanup
7367
7368 src/liblzma/common/auto_decoder.c |    2 +-
7369 1 files changed, 1 insertions(+), 1 deletions(-)
7370
7371commit 689602336d126a46b60d791a67decab65e1e81f5
7372Author: Lasse Collin <lasse.collin@tukaani.org>
7373Date:   2008-09-02 19:12:12 +0300
7374
7375    Updated auto decoder to handle LZMA_CONCATENATED when decoding
7376    LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
7377    intentionally not supported, so it is better to put this in
7378    auto decoder than LZMA_Alone decoder.
7379
7380 src/liblzma/common/auto_decoder.c |   87 ++++++++++++++++++++++++++++++-------
7381 1 files changed, 71 insertions(+), 16 deletions(-)
7382
7383commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
7384Author: Lasse Collin <lasse.collin@tukaani.org>
7385Date:   2008-09-02 14:56:52 +0300
7386
7387    Stream decoder cleanups
7388
7389 src/liblzma/common/stream_decoder.c |   57 +++++++++++++++++++---------------
7390 1 files changed, 32 insertions(+), 25 deletions(-)
7391
7392commit fc681657450ce57be1fe08f7a15d31dcc705e514
7393Author: Lasse Collin <lasse.collin@tukaani.org>
7394Date:   2008-09-02 11:45:39 +0300
7395
7396    Some fixes to LZ encoder.
7397
7398 src/liblzma/lz/lz_encoder.c    |   56 +++++++++++++++++++----
7399 src/liblzma/lz/lz_encoder.h    |   18 ++++---
7400 src/liblzma/lz/lz_encoder_mf.c |   95 ++++++++++++++++------------------------
7401 3 files changed, 94 insertions(+), 75 deletions(-)
7402
7403commit ede675f9ac1ca82a7d7c290324adba672118bc8d
7404Author: Lasse Collin <lasse.collin@tukaani.org>
7405Date:   2008-08-31 11:47:01 +0300
7406
7407    Fix wrong pointer calculation in LZMA encoder.
7408
7409 src/liblzma/lzma/lzma_encoder.c |    4 +++-
7410 1 files changed, 3 insertions(+), 1 deletions(-)
7411
7412commit 3b34851de1eaf358cf9268922fa0eeed8278d680
7413Author: Lasse Collin <lasse.collin@tukaani.org>
7414Date:   2008-08-28 22:53:15 +0300
7415
7416    Sort of garbage collection commit. :-| Many things are still
7417    broken. API has changed a lot and it will still change a
7418    little more here and there. The command line tool doesn't
7419    have all the required changes to reflect the API changes, so
7420    it's easy to get "internal error" or trigger assertions.
7421
7422 configure.ac                                       |  356 +++---
7423 debug/Makefile.am                                  |    5 +-
7424 debug/crc32.c                                      |   45 +
7425 debug/full_flush.c                                 |   14 +-
7426 debug/hex2bin.c                                    |   54 +
7427 debug/known_sizes.c                                |  135 ++
7428 debug/memusage.c                                   |    8 +-
7429 debug/sync_flush.c                                 |   20 +-
7430 src/common/integer.h                               |   26 +-
7431 src/common/sysdefs.h                               |   42 +-
7432 src/liblzma/Makefile.am                            |   17 +-
7433 src/liblzma/api/Makefile.am                        |    6 +-
7434 src/liblzma/api/lzma.h                             |  161 ++-
7435 src/liblzma/api/lzma/alignment.h                   |    6 +-
7436 src/liblzma/api/lzma/alone.h                       |   52 -
7437 src/liblzma/api/lzma/auto.h                        |   36 -
7438 src/liblzma/api/lzma/base.h                        |   61 +-
7439 src/liblzma/api/lzma/block.h                       |   38 +-
7440 src/liblzma/api/lzma/check.h                       |   41 +-
7441 src/liblzma/api/lzma/container.h                   |  252 ++++
7442 src/liblzma/api/lzma/delta.h                       |   36 +-
7443 src/liblzma/api/lzma/easy.h                        |  121 --
7444 src/liblzma/api/lzma/filter.h                      |   74 +-
7445 src/liblzma/api/lzma/index.h                       |   40 +-
7446 src/liblzma/api/lzma/index_hash.h                  |   12 +-
7447 src/liblzma/api/lzma/lzma.h                        |  222 ++--
7448 src/liblzma/api/lzma/memlimit.h                    |   15 +-
7449 src/liblzma/api/lzma/raw.h                         |   60 -
7450 src/liblzma/api/lzma/simple.h                      |    2 +-
7451 src/liblzma/api/lzma/stream.h                      |   53 -
7452 src/liblzma/api/lzma/stream_flags.h                |   17 +-
7453 src/liblzma/api/lzma/subblock.h                    |    4 +-
7454 src/liblzma/api/lzma/version.h                     |   10 +-
7455 src/liblzma/api/lzma/vli.h                         |  131 +--
7456 src/liblzma/check/check.c                          |  128 +--
7457 src/liblzma/check/check.h                          |   67 +-
7458 src/liblzma/check/sha256.c                         |   29 +-
7459 src/liblzma/common/Makefile.am                     |   51 +-
7460 src/liblzma/common/alignment.c                     |    4 +-
7461 src/liblzma/common/allocator.c                     |   58 -
7462 src/liblzma/common/alone_decoder.c                 |   49 +-
7463 src/liblzma/common/alone_decoder.h                 |    9 +-
7464 src/liblzma/common/alone_encoder.c                 |   13 +-
7465 src/liblzma/common/auto_decoder.c                  |   38 +-
7466 src/liblzma/common/block_decoder.c                 |   67 +-
7467 src/liblzma/common/block_decoder.h                 |    2 +-
7468 src/liblzma/common/block_encoder.c                 |   42 +-
7469 src/liblzma/common/block_encoder.h                 |    2 +-
7470 src/liblzma/common/block_header_decoder.c          |    6 +-
7471 src/liblzma/common/block_header_encoder.c          |    9 +-
7472 src/liblzma/common/block_util.c                    |   10 +-
7473 src/liblzma/common/code.c                          |  203 ---
7474 src/liblzma/common/common.c                        |  298 +++++
7475 src/liblzma/common/common.h                        |  237 ++--
7476 src/liblzma/common/delta_common.c                  |   66 -
7477 src/liblzma/common/delta_common.h                  |   44 -
7478 src/liblzma/common/delta_decoder.c                 |   61 -
7479 src/liblzma/common/delta_decoder.h                 |   28 -
7480 src/liblzma/common/delta_encoder.c                 |   98 --
7481 src/liblzma/common/delta_encoder.h                 |   28 -
7482 src/liblzma/common/easy.c                          |   18 +-
7483 src/liblzma/common/features.c                      |   66 -
7484 src/liblzma/common/filter_common.c                 |  262 ++++
7485 src/liblzma/common/filter_common.h                 |   52 +
7486 src/liblzma/common/filter_decoder.c                |  236 ++++
7487 src/liblzma/common/filter_decoder.h                |   35 +
7488 src/liblzma/common/filter_encoder.c                |  308 +++++
7489 src/liblzma/common/filter_encoder.h                |   38 +
7490 src/liblzma/common/filter_flags_decoder.c          |  185 +---
7491 src/liblzma/common/filter_flags_encoder.c          |  261 +----
7492 src/liblzma/common/index_decoder.c                 |   14 +-
7493 src/liblzma/common/index_encoder.c                 |   16 +-
7494 src/liblzma/common/index_hash.c                    |    8 +-
7495 src/liblzma/common/init_encoder.c                  |    2 +-
7496 src/liblzma/common/memory_usage.c                  |  112 --
7497 src/liblzma/common/next_coder.c                    |   65 -
7498 src/liblzma/common/raw_common.c                    |  127 --
7499 src/liblzma/common/raw_common.h                    |   30 -
7500 src/liblzma/common/raw_decoder.c                   |  116 --
7501 src/liblzma/common/raw_decoder.h                   |   29 -
7502 src/liblzma/common/raw_encoder.c                   |  111 --
7503 src/liblzma/common/raw_encoder.h                   |   29 -
7504 src/liblzma/common/stream_common.c                 |   23 -
7505 src/liblzma/common/stream_common.h                 |   31 -
7506 src/liblzma/common/stream_decoder.c                |  238 +++-
7507 src/liblzma/common/stream_decoder.h                |    4 +-
7508 src/liblzma/common/stream_encoder.c                |   35 +-
7509 src/liblzma/common/stream_encoder.h                |    2 +-
7510 src/liblzma/common/stream_flags_common.c           |   40 +
7511 src/liblzma/common/stream_flags_common.h           |   31 +
7512 src/liblzma/common/stream_flags_decoder.c          |    2 +-
7513 src/liblzma/common/stream_flags_encoder.c          |    2 +-
7514 src/liblzma/common/stream_flags_equal.c            |   36 -
7515 src/liblzma/common/version.c                       |   25 -
7516 src/liblzma/common/vli_decoder.c                   |   29 +-
7517 src/liblzma/common/vli_encoder.c                   |   23 +-
7518 src/liblzma/common/vli_size.c                      |   37 +
7519 src/liblzma/delta/Makefile.am                      |   34 +
7520 src/liblzma/delta/delta_common.c                   |   66 +
7521 src/liblzma/delta/delta_common.h                   |   44 +
7522 src/liblzma/delta/delta_decoder.c                  |   82 ++
7523 src/liblzma/delta/delta_decoder.h                  |   32 +
7524 src/liblzma/delta/delta_encoder.c                  |  119 ++
7525 src/liblzma/delta/delta_encoder.h                  |   30 +
7526 src/liblzma/lz/Makefile.am                         |   35 +-
7527 src/liblzma/lz/bt2.c                               |   27 -
7528 src/liblzma/lz/bt2.h                               |   31 -
7529 src/liblzma/lz/bt3.c                               |   29 -
7530 src/liblzma/lz/bt3.h                               |   31 -
7531 src/liblzma/lz/bt4.c                               |   30 -
7532 src/liblzma/lz/bt4.h                               |   31 -
7533 src/liblzma/lz/hc3.c                               |   30 -
7534 src/liblzma/lz/hc3.h                               |   31 -
7535 src/liblzma/lz/hc4.c                               |   31 -
7536 src/liblzma/lz/hc4.h                               |   31 -
7537 src/liblzma/lz/lz_decoder.c                        |  547 +++------
7538 src/liblzma/lz/lz_decoder.h                        |  308 +++---
7539 src/liblzma/lz/lz_encoder.c                        |  780 ++++++------
7540 src/liblzma/lz/lz_encoder.h                        |  334 ++++--
7541 src/liblzma/lz/lz_encoder_hash.h                   |  104 ++
7542 src/liblzma/lz/lz_encoder_mf.c                     |  780 ++++++++++++
7543 src/liblzma/lz/lz_encoder_private.h                |   40 -
7544 src/liblzma/lz/match_c.h                           |  412 ------
7545 src/liblzma/lz/match_h.h                           |   69 -
7546 src/liblzma/lzma/Makefile.am                       |   37 +-
7547 src/liblzma/lzma/fastpos.h                         |    8 +-
7548 src/liblzma/lzma/lzma2_decoder.c                   |  318 +++++
7549 src/liblzma/lzma/lzma2_decoder.h                   |   35 +
7550 src/liblzma/lzma/lzma2_encoder.c                   |  406 ++++++
7551 src/liblzma/lzma/lzma2_encoder.h                   |   34 +
7552 src/liblzma/lzma/lzma_common.h                     |  208 +++-
7553 src/liblzma/lzma/lzma_decoder.c                    | 1306 ++++++++++++--------
7554 src/liblzma/lzma/lzma_decoder.h                    |   21 +-
7555 src/liblzma/lzma/lzma_encoder.c                    |  576 +++++++--
7556 src/liblzma/lzma/lzma_encoder.h                    |   38 +-
7557 src/liblzma/lzma/lzma_encoder_features.c           |    2 +-
7558 src/liblzma/lzma/lzma_encoder_getoptimum.c         |  925 --------------
7559 src/liblzma/lzma/lzma_encoder_getoptimumfast.c     |  201 ---
7560 src/liblzma/lzma/lzma_encoder_init.c               |  228 ----
7561 src/liblzma/lzma/lzma_encoder_optimum_fast.c       |  193 +++
7562 src/liblzma/lzma/lzma_encoder_optimum_normal.c     |  875 +++++++++++++
7563 src/liblzma/lzma/lzma_encoder_presets.c            |   52 +-
7564 src/liblzma/lzma/lzma_encoder_private.h            |  174 +--
7565 src/liblzma/lzma/lzma_literal.c                    |   51 -
7566 src/liblzma/lzma/lzma_literal.h                    |   71 --
7567 src/liblzma/rangecoder/Makefile.am                 |   10 +-
7568 src/liblzma/rangecoder/price.h                     |  111 ++
7569 src/liblzma/rangecoder/price_table.c               |   84 +-
7570 src/liblzma/rangecoder/price_table_gen.c           |   55 -
7571 src/liblzma/rangecoder/price_table_init.c          |   33 +-
7572 src/liblzma/rangecoder/price_tablegen.c            |   56 +
7573 src/liblzma/rangecoder/range_common.h              |   17 +-
7574 src/liblzma/rangecoder/range_decoder.h             |  209 ++--
7575 src/liblzma/rangecoder/range_encoder.h             |   92 +--
7576 src/liblzma/simple/Makefile.am                     |   12 +
7577 src/liblzma/simple/simple_coder.c                  |    8 +-
7578 src/liblzma/simple/simple_decoder.c                |   47 +
7579 src/liblzma/simple/simple_decoder.h                |   29 +
7580 src/liblzma/simple/simple_encoder.c                |   45 +
7581 src/liblzma/simple/simple_encoder.h                |   30 +
7582 src/liblzma/subblock/Makefile.am                   |    4 +-
7583 src/liblzma/subblock/subblock_decoder.c            |   20 +-
7584 src/liblzma/subblock/subblock_decoder_helper.c     |    2 +-
7585 src/liblzma/subblock/subblock_encoder.c            |   28 +-
7586 src/lzma/args.c                                    |   35 +-
7587 src/lzma/args.h                                    |    4 +-
7588 src/lzma/options.c                                 |   14 +-
7589 src/lzma/process.c                                 |   88 +-
7590 src/lzmadec/lzmadec.c                              |  157 +--
7591 tests/Makefile.am                                  |    1 +
7592 tests/files/README                                 |  303 ++---
7593 tests/files/bad-0-backward_size.lzma               |  Bin 0 -> 32 bytes
7594 tests/files/bad-0-empty-truncated.lzma             |  Bin 0 -> 31 bytes
7595 tests/files/bad-0-nonempty_index.lzma              |  Bin 0 -> 32 bytes
7596 tests/files/bad-0cat-alone.lzma                    |  Bin 0 -> 55 bytes
7597 tests/files/bad-0catpad-empty.lzma                 |  Bin 0 -> 69 bytes
7598 tests/files/bad-0pad-empty.lzma                    |  Bin 0 -> 37 bytes
7599 tests/files/bad-1-block_header-1.lzma              |  Bin 0 -> 64 bytes
7600 tests/files/bad-1-block_header-2.lzma              |  Bin 0 -> 64 bytes
7601 tests/files/bad-1-block_header-3.lzma              |  Bin 0 -> 68 bytes
7602 tests/files/bad-1-block_header-4.lzma              |  Bin 0 -> 72 bytes
7603 tests/files/bad-1-check-crc32.lzma                 |  Bin 0 -> 68 bytes
7604 tests/files/bad-1-check-crc64.lzma                 |  Bin 0 -> 72 bytes
7605 tests/files/bad-1-check-sha256.lzma                |  Bin 0 -> 96 bytes
7606 tests/files/bad-1-lzma2-1.lzma                     |  Bin 0 -> 64 bytes
7607 tests/files/bad-1-lzma2-2.lzma                     |  Bin 0 -> 424 bytes
7608 tests/files/bad-1-lzma2-3.lzma                     |  Bin 0 -> 424 bytes
7609 tests/files/bad-1-lzma2-4.lzma                     |  Bin 0 -> 408 bytes
7610 tests/files/bad-1-lzma2-5.lzma                     |  Bin 0 -> 408 bytes
7611 tests/files/bad-1-lzma2-6.lzma                     |  Bin 0 -> 68 bytes
7612 tests/files/bad-1-lzma2-7.lzma                     |  Bin 0 -> 408 bytes
7613 tests/files/bad-1-stream_flags-1.lzma              |  Bin 0 -> 68 bytes
7614 tests/files/bad-1-stream_flags-2.lzma              |  Bin 0 -> 68 bytes
7615 tests/files/bad-1-stream_flags-3.lzma              |  Bin 0 -> 68 bytes
7616 tests/files/bad-1-vli-1.lzma                       |  Bin 0 -> 72 bytes
7617 tests/files/bad-1-vli-2.lzma                       |  Bin 0 -> 72 bytes
7618 tests/files/bad-2-compressed_data_padding.lzma     |  Bin 0 -> 92 bytes
7619 tests/files/bad-2-index-1.lzma                     |  Bin 0 -> 92 bytes
7620 tests/files/bad-2-index-2.lzma                     |  Bin 0 -> 92 bytes
7621 tests/files/bad-2-index-3.lzma                     |  Bin 0 -> 92 bytes
7622 tests/files/bad-2-index-4.lzma                     |  Bin 0 -> 92 bytes
7623 tests/files/bad-cat-single-none-pad_garbage_1.lzma |  Bin 65 -> 0 bytes
7624 tests/files/bad-cat-single-none-pad_garbage_2.lzma |  Bin 65 -> 0 bytes
7625 tests/files/bad-cat-single-none-pad_garbage_3.lzma |  Bin 65 -> 0 bytes
7626 tests/files/bad-multi-none-1.lzma                  |  Bin 54 -> 0 bytes
7627 tests/files/bad-multi-none-2.lzma                  |  Bin 53 -> 0 bytes
7628 tests/files/bad-multi-none-3.lzma                  |  Bin 53 -> 0 bytes
7629 tests/files/bad-multi-none-block_1.lzma            |  Bin 66 -> 0 bytes
7630 tests/files/bad-multi-none-block_2.lzma            |  Bin 66 -> 0 bytes
7631 tests/files/bad-multi-none-block_3.lzma            |  Bin 58 -> 0 bytes
7632 tests/files/bad-multi-none-extra_1.lzma            |  Bin 54 -> 0 bytes
7633 tests/files/bad-multi-none-extra_2.lzma            |  Bin 54 -> 0 bytes
7634 tests/files/bad-multi-none-extra_3.lzma            |  Bin 55 -> 0 bytes
7635 tests/files/bad-multi-none-header_1.lzma           |  Bin 57 -> 0 bytes
7636 tests/files/bad-multi-none-header_2.lzma           |  Bin 61 -> 0 bytes
7637 tests/files/bad-multi-none-header_3.lzma           |  Bin 59 -> 0 bytes
7638 tests/files/bad-multi-none-header_4.lzma           |  Bin 59 -> 0 bytes
7639 tests/files/bad-multi-none-header_5.lzma           |  Bin 58 -> 0 bytes
7640 tests/files/bad-multi-none-header_6.lzma           |  Bin 59 -> 0 bytes
7641 tests/files/bad-multi-none-header_7.lzma           |  Bin 59 -> 0 bytes
7642 tests/files/bad-multi-none-index_1.lzma            |  Bin 51 -> 0 bytes
7643 tests/files/bad-multi-none-index_2.lzma            |  Bin 49 -> 0 bytes
7644 tests/files/bad-multi-none-index_3.lzma            |  Bin 51 -> 0 bytes
7645 tests/files/bad-multi-none-index_4.lzma            |  Bin 51 -> 0 bytes
7646 tests/files/bad-single-data_after_eopm_1.lzma      |  Bin 55 -> 0 bytes
7647 tests/files/bad-single-data_after_eopm_2.lzma      |  Bin 56 -> 0 bytes
7648 tests/files/bad-single-lzma-flush_beginning.lzma   |  Bin 53 -> 0 bytes
7649 tests/files/bad-single-lzma-flush_twice.lzma       |  Bin 63 -> 0 bytes
7650 tests/files/bad-single-none-empty.lzma             |  Bin 19 -> 0 bytes
7651 .../files/bad-single-none-footer_filter_flags.lzma |  Bin 30 -> 0 bytes
7652 tests/files/bad-single-none-too_long_vli.lzma      |  Bin 39 -> 0 bytes
7653 tests/files/bad-single-none-truncated.lzma         |  Bin 29 -> 0 bytes
7654 tests/files/bad-single-subblock-padding_loop.lzma  |  Bin 43 -> 0 bytes
7655 tests/files/bad-single-subblock1023-slow.lzma      |  Bin 7886 -> 0 bytes
7656 tests/files/bad-single-subblock_subblock.lzma      |  Bin 26 -> 0 bytes
7657 tests/files/good-0-empty.lzma                      |  Bin 0 -> 32 bytes
7658 tests/files/good-0cat-empty.lzma                   |  Bin 0 -> 64 bytes
7659 tests/files/good-0catpad-empty.lzma                |  Bin 0 -> 68 bytes
7660 tests/files/good-0pad-empty.lzma                   |  Bin 0 -> 36 bytes
7661 tests/files/good-1-3delta-lzma2.lzma               |  Bin 0 -> 528 bytes
7662 tests/files/good-1-block_header-1.lzma             |  Bin 0 -> 72 bytes
7663 tests/files/good-1-block_header-2.lzma             |  Bin 0 -> 68 bytes
7664 tests/files/good-1-block_header-3.lzma             |  Bin 0 -> 68 bytes
7665 tests/files/good-1-check-crc32.lzma                |  Bin 0 -> 68 bytes
7666 tests/files/good-1-check-crc64.lzma                |  Bin 0 -> 72 bytes
7667 tests/files/good-1-check-none.lzma                 |  Bin 0 -> 64 bytes
7668 tests/files/good-1-check-sha256.lzma               |  Bin 0 -> 96 bytes
7669 tests/files/good-1-delta-lzma2.tiff.lzma           |  Bin 0 -> 51312 bytes
7670 tests/files/good-1-lzma2-1.lzma                    |  Bin 0 -> 424 bytes
7671 tests/files/good-1-lzma2-2.lzma                    |  Bin 0 -> 424 bytes
7672 tests/files/good-1-lzma2-3.lzma                    |  Bin 0 -> 408 bytes
7673 tests/files/good-1-sparc-lzma2.lzma                |  Bin 0 -> 2292 bytes
7674 tests/files/good-1-x86-lzma2.lzma                  |  Bin 0 -> 1936 bytes
7675 tests/files/good-2-lzma2.lzma                      |  Bin 0 -> 92 bytes
7676 tests/files/good-cat-single-none-pad.lzma          |  Bin 64 -> 0 bytes
7677 tests/files/good-multi-none-1.lzma                 |  Bin 75 -> 0 bytes
7678 tests/files/good-multi-none-2.lzma                 |  Bin 53 -> 0 bytes
7679 tests/files/good-multi-none-block_1.lzma           |  Bin 66 -> 0 bytes
7680 tests/files/good-multi-none-block_2.lzma           |  Bin 58 -> 0 bytes
7681 tests/files/good-multi-none-extra_1.lzma           |  Bin 51 -> 0 bytes
7682 tests/files/good-multi-none-extra_2.lzma           |  Bin 79 -> 0 bytes
7683 tests/files/good-multi-none-extra_3.lzma           |  Bin 55 -> 0 bytes
7684 tests/files/good-multi-none-header_1.lzma          |  Bin 58 -> 0 bytes
7685 tests/files/good-multi-none-header_2.lzma          |  Bin 66 -> 0 bytes
7686 tests/files/good-multi-none-header_3.lzma          |  Bin 59 -> 0 bytes
7687 tests/files/good-single-delta-lzma.tiff.lzma       |  Bin 51409 -> 0 bytes
7688 tests/files/good-single-lzma-empty.lzma            |  Bin 21 -> 0 bytes
7689 tests/files/good-single-lzma-flush_1.lzma          |  Bin 48 -> 0 bytes
7690 tests/files/good-single-lzma-flush_2.lzma          |  Bin 63 -> 0 bytes
7691 tests/files/good-single-lzma.lzma                  |  Bin 44 -> 0 bytes
7692 tests/files/good-single-none-empty_1.lzma          |  Bin 18 -> 0 bytes
7693 tests/files/good-single-none-empty_2.lzma          |  Bin 26 -> 0 bytes
7694 tests/files/good-single-none-empty_3.lzma          |  Bin 19 -> 0 bytes
7695 tests/files/good-single-none-pad.lzma              |  Bin 32 -> 0 bytes
7696 tests/files/good-single-none.lzma                  |  Bin 30 -> 0 bytes
7697 tests/files/good-single-sparc-lzma.lzma            |  Bin 2263 -> 0 bytes
7698 tests/files/good-single-subblock-lzma.lzma         |  Bin 50 -> 0 bytes
7699 tests/files/good-single-subblock_implicit.lzma     |  Bin 35 -> 0 bytes
7700 tests/files/good-single-subblock_rle.lzma          |  Bin 118 -> 0 bytes
7701 tests/files/good-single-x86-lzma.lzma              |  Bin 1909 -> 0 bytes
7702 tests/files/malicious-multi-metadata-64PiB.lzma    |  Bin 51 -> 0 bytes
7703 tests/files/malicious-single-subblock-256MiB.lzma  |  Bin 30 -> 0 bytes
7704 tests/files/malicious-single-subblock-64PiB.lzma   |  Bin 45 -> 0 bytes
7705 tests/files/malicious-single-subblock31-slow.lzma  |  Bin 1233 -> 0 bytes
7706 tests/files/unsupported-block_header.lzma          |  Bin 0 -> 68 bytes
7707 tests/files/unsupported-check.lzma                 |  Bin 0 -> 68 bytes
7708 tests/files/unsupported-filter_flags-1.lzma        |  Bin 0 -> 68 bytes
7709 tests/files/unsupported-filter_flags-2.lzma        |  Bin 0 -> 68 bytes
7710 tests/files/unsupported-filter_flags-3.lzma        |  Bin 0 -> 68 bytes
7711 tests/test_block_header.c                          |   28 +-
7712 tests/test_compress.sh                             |    4 +-
7713 tests/test_filter_flags.c                          |   51 +-
7714 tests/test_stream_flags.c                          |    4 +-
7715 tests/tests.h                                      |    8 +
7716 294 files changed, 9768 insertions(+), 8195 deletions(-)
7717
7718commit 57b9a145a527f0716822615e5ed536d33aebd3fc
7719Author: Lasse Collin <lasse.collin@tukaani.org>
7720Date:   2008-06-20 17:16:32 +0300
7721
7722    Fix test_filter_flags to match the new restriction of lc+lp.
7723
7724 tests/test_filter_flags.c |    3 +++
7725 1 files changed, 3 insertions(+), 0 deletions(-)
7726
7727commit eaafc4367c77ec1d910e16d11b4da293969d97a3
7728Author: Lasse Collin <lasse.collin@tukaani.org>
7729Date:   2008-06-20 16:19:54 +0300
7730
7731    Remove some redundant code from LZMA encoder.
7732
7733 src/liblzma/lzma/lzma_encoder.c |   15 +--------------
7734 1 files changed, 1 insertions(+), 14 deletions(-)
7735
7736commit 0809c46534fa5664fe35d9e98d95e87312ed130e
7737Author: Lasse Collin <lasse.collin@tukaani.org>
7738Date:   2008-06-19 16:35:08 +0300
7739
7740    Add limit of lc + lp <= 4. Now we can allocate the
7741    literal coder as part of the main LZMA encoder or
7742    decoder structure.
7743
7744    Make the LZMA decoder to rely on the current internal API
7745    to free the allocated memory in case an error occurs.
7746
7747 src/liblzma/api/lzma/lzma.h             |   10 +++++-
7748 src/liblzma/lzma/lzma_decoder.c         |   57 +++++++-----------------------
7749 src/liblzma/lzma/lzma_encoder_init.c    |   13 +++----
7750 src/liblzma/lzma/lzma_encoder_private.h |    2 +-
7751 src/liblzma/lzma/lzma_literal.c         |   39 ++++-----------------
7752 src/liblzma/lzma/lzma_literal.h         |   13 +++----
7753 6 files changed, 43 insertions(+), 91 deletions(-)
7754
7755commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
7756Author: Lasse Collin <lasse.collin@tukaani.org>
7757Date:   2008-06-18 21:45:19 +0300
7758
7759    Comments
7760
7761 src/liblzma/lzma/lzma_encoder.c |    7 ++-----
7762 1 files changed, 2 insertions(+), 5 deletions(-)
7763
7764commit 6368a2fa5901c75864be5171dd57a50af7adbb41
7765Author: Lasse Collin <lasse.collin@tukaani.org>
7766Date:   2008-06-18 19:19:02 +0300
7767
7768    Delete old code that was supposed to be already deleted
7769    from test_block_header.c.
7770
7771 tests/test_block_header.c |   30 ------------------------------
7772 1 files changed, 0 insertions(+), 30 deletions(-)
7773
7774commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
7775Author: Lasse Collin <lasse.collin@tukaani.org>
7776Date:   2008-06-18 18:02:10 +0300
7777
7778    Update the code to mostly match the new simpler file format
7779    specification. Simplify things by removing most of the
7780    support for known uncompressed size in most places.
7781    There are some miscellaneous changes here and there too.
7782
7783    The API of liblzma has got many changes and still some
7784    more will be done soon. While most of the code has been
7785    updated, some things are not fixed (the command line tool
7786    will choke with invalid filter chain, if nothing else).
7787
7788    Subblock filter is somewhat broken for now. It will be
7789    updated once the encoded format of the Subblock filter
7790    has been decided.
7791
7792 configure.ac                                   |   41 +-
7793 debug/full_flush.c                             |   16 +-
7794 debug/sync_flush.c                             |   15 +-
7795 src/common/bswap.h                             |   44 ++
7796 src/common/integer.h                           |  167 +++++
7797 src/liblzma/api/Makefile.am                    |    5 +-
7798 src/liblzma/api/lzma.h                         |    9 +-
7799 src/liblzma/api/lzma/alone.h                   |   32 +-
7800 src/liblzma/api/lzma/auto.h                    |    7 +-
7801 src/liblzma/api/lzma/base.h                    |   15 +
7802 src/liblzma/api/lzma/block.h                   |  304 +++-------
7803 src/liblzma/api/lzma/check.h                   |   18 +-
7804 src/liblzma/api/lzma/copy.h                    |   29 -
7805 src/liblzma/api/lzma/easy.h                    |   61 +--
7806 src/liblzma/api/lzma/extra.h                   |  114 ----
7807 src/liblzma/api/lzma/filter.h                  |    5 +-
7808 src/liblzma/api/lzma/index.h                   |  204 +++++-
7809 src/liblzma/api/lzma/index_hash.h              |   94 +++
7810 src/liblzma/api/lzma/info.h                    |  315 ---------
7811 src/liblzma/api/lzma/lzma.h                    |    2 +-
7812 src/liblzma/api/lzma/metadata.h                |  100 ---
7813 src/liblzma/api/lzma/raw.h                     |   20 +-
7814 src/liblzma/api/lzma/stream.h                  |  157 +----
7815 src/liblzma/api/lzma/stream_flags.h            |  146 ++---
7816 src/liblzma/api/lzma/version.h                 |    2 +-
7817 src/liblzma/api/lzma/vli.h                     |   83 ++--
7818 src/liblzma/check/Makefile.am                  |    1 -
7819 src/liblzma/check/check.c                      |   55 ++-
7820 src/liblzma/check/check.h                      |   47 +-
7821 src/liblzma/check/check_byteswap.h             |   43 --
7822 src/liblzma/check/crc32_init.c                 |    2 +-
7823 src/liblzma/check/crc64_init.c                 |    2 +-
7824 src/liblzma/check/crc_macros.h                 |    2 +-
7825 src/liblzma/check/sha256.c                     |   53 +-
7826 src/liblzma/common/Makefile.am                 |   31 +-
7827 src/liblzma/common/alignment.c                 |    5 +-
7828 src/liblzma/common/alone_decoder.c             |   77 ++-
7829 src/liblzma/common/alone_encoder.c             |   99 ++--
7830 src/liblzma/common/auto_decoder.c              |   18 +-
7831 src/liblzma/common/block_decoder.c             |  298 +++-------
7832 src/liblzma/common/block_encoder.c             |  228 ++-----
7833 src/liblzma/common/block_header_decoder.c      |  400 +++----------
7834 src/liblzma/common/block_header_encoder.c      |  207 +++----
7835 src/liblzma/common/block_private.h             |   51 +--
7836 src/liblzma/common/block_util.c                |   73 +++
7837 src/liblzma/common/common.h                    |   44 +-
7838 src/liblzma/common/copy_coder.c                |  144 -----
7839 src/liblzma/common/copy_coder.h                |   31 -
7840 src/liblzma/common/delta_common.c              |    4 -
7841 src/liblzma/common/delta_common.h              |    4 -
7842 src/liblzma/common/delta_decoder.c             |   55 +--
7843 src/liblzma/common/delta_encoder.c             |    7 +-
7844 src/liblzma/common/easy.c                      |  122 ++++
7845 src/liblzma/common/easy_common.c               |   54 --
7846 src/liblzma/common/easy_common.h               |   28 -
7847 src/liblzma/common/easy_multi.c                |  103 ---
7848 src/liblzma/common/easy_single.c               |   37 --
7849 src/liblzma/common/extra.c                     |   34 -
7850 src/liblzma/common/features.c                  |    4 -
7851 src/liblzma/common/filter_flags_decoder.c      |  384 +++--------
7852 src/liblzma/common/filter_flags_encoder.c      |  120 +---
7853 src/liblzma/common/index.c                     |  773 ++++++++++++++++++++---
7854 src/liblzma/common/index.h                     |   67 ++
7855 src/liblzma/common/index_decoder.c             |  252 ++++++++
7856 src/liblzma/common/index_encoder.c             |  222 +++++++
7857 src/liblzma/common/index_encoder.h             |   30 +
7858 src/liblzma/common/index_hash.c                |  340 ++++++++++
7859 src/liblzma/common/info.c                      |  814 ------------------------
7860 src/liblzma/common/memory_usage.c              |    1 -
7861 src/liblzma/common/metadata_decoder.c          |  578 -----------------
7862 src/liblzma/common/metadata_decoder.h          |   31 -
7863 src/liblzma/common/metadata_encoder.c          |  435 -------------
7864 src/liblzma/common/metadata_encoder.h          |   30 -
7865 src/liblzma/common/raw_common.c                |  178 ++----
7866 src/liblzma/common/raw_common.h                |    5 +-
7867 src/liblzma/common/raw_decoder.c               |   19 +-
7868 src/liblzma/common/raw_decoder.h               |    3 +-
7869 src/liblzma/common/raw_encoder.c               |  101 +---
7870 src/liblzma/common/raw_encoder.h               |    3 +-
7871 src/liblzma/common/stream_common.h             |    3 +
7872 src/liblzma/common/stream_decoder.c            |  458 ++++----------
7873 src/liblzma/common/stream_decoder.h            |   28 +
7874 src/liblzma/common/stream_encoder.c            |  282 ++++++++
7875 src/liblzma/common/stream_encoder.h            |   30 +
7876 src/liblzma/common/stream_encoder_multi.c      |  445 -------------
7877 src/liblzma/common/stream_encoder_multi.h      |   26 -
7878 src/liblzma/common/stream_encoder_single.c     |  219 -------
7879 src/liblzma/common/stream_flags_decoder.c      |  260 ++-------
7880 src/liblzma/common/stream_flags_encoder.c      |   56 +-
7881 src/liblzma/common/stream_flags_equal.c        |   36 +
7882 src/liblzma/common/vli_decoder.c               |   68 ++-
7883 src/liblzma/common/vli_encoder.c               |   59 +-
7884 src/liblzma/common/vli_reverse_decoder.c       |   55 --
7885 src/liblzma/lz/lz_decoder.c                    |    6 +-
7886 src/liblzma/lz/lz_decoder.h                    |   10 +-
7887 src/liblzma/lzma/lzma_decoder.c                |   13 +-
7888 src/liblzma/lzma/lzma_decoder.h                |   10 +-
7889 src/liblzma/simple/simple_coder.c              |   29 +-
7890 src/liblzma/simple/simple_private.h            |    4 -
7891 src/liblzma/subblock/subblock_decoder.c        |  106 +---
7892 src/liblzma/subblock/subblock_decoder_helper.c |    5 +-
7893 src/liblzma/subblock/subblock_encoder.c        |    8 +-
7894 src/lzma/args.c                                |   22 +-
7895 src/lzma/args.h                                |    2 -
7896 src/lzma/error.c                               |    6 +
7897 src/lzma/process.c                             |   26 +-
7898 src/lzmadec/lzmadec.c                          |    8 +-
7899 tests/Makefile.am                              |    5 +-
7900 tests/test_block_header.c                      |  411 +++++--------
7901 tests/test_compress.sh                         |   65 +--
7902 tests/test_filter_flags.c                      |  116 ++---
7903 tests/test_index.c                             |  504 ++++++++++++++-
7904 tests/test_info.c                              |  717 ---------------------
7905 tests/test_stream_flags.c                      |  134 ++--
7906 tests/tests.h                                  |   14 +-
7907 115 files changed, 4845 insertions(+), 8155 deletions(-)
7908
7909commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
7910Author: Lasse Collin <lasse.collin@tukaani.org>
7911Date:   2008-06-17 15:03:46 +0300
7912
7913    Update the file format specification draft. The new one is
7914    a lot simpler than the previous versions, but it also means
7915    that the existing code will change a lot.
7916
7917 doc/file-format.txt | 1794 +++++++++++++++------------------------------------
7918 1 files changed, 508 insertions(+), 1286 deletions(-)
7919
7920commit 803194ddd26f01ff60ba4e9924c6087a56b29827
7921Author: Lasse Collin <lasse.collin@tukaani.org>
7922Date:   2008-06-11 21:42:47 +0300
7923
7924    Fix uninitialized variable in LZMA encoder. This was
7925    introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
7926
7927 src/liblzma/lzma/lzma_encoder_init.c |    2 ++
7928 1 files changed, 2 insertions(+), 0 deletions(-)
7929
7930commit 0ea98e52ba87453497b1355c51f13bad55c8924a
7931Author: Lasse Collin <lasse.collin@tukaani.org>
7932Date:   2008-06-11 15:08:44 +0300
7933
7934    Improve command line integer parsing a little in lzma and
7935    lzmadec to make them accept also KiB in addition Ki etc.
7936    Fix also memory usage information in lzmadec --help.
7937
7938 src/lzma/util.c       |   23 ++++++++++++++---------
7939 src/lzmadec/lzmadec.c |   31 ++++++++++++++++++-------------
7940 2 files changed, 32 insertions(+), 22 deletions(-)
7941
7942commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
7943Author: Lasse Collin <lasse.collin@tukaani.org>
7944Date:   2008-06-10 20:36:12 +0300
7945
7946    s/decompressed/compressed/ in the command line tool's
7947    error message.
7948
7949 src/lzma/main.c |    2 +-
7950 1 files changed, 1 insertions(+), 1 deletions(-)
7951
7952commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
7953Author: Lasse Collin <lasse.collin@tukaani.org>
7954Date:   2008-06-01 12:48:17 +0300
7955
7956    Fix a buffer overflow in the LZMA encoder. It was due to my
7957    misunderstanding of the code. There's no tiny fix for this
7958    problem, so I also cleaned up the code in general.
7959
7960    This reduces the speed of the encoder 2-5 % in the fastest
7961    compression mode ("lzma -1"). High compression modes should
7962    have no noticeable performance difference.
7963
7964    This commit breaks things (especially LZMA_SYNC_FLUSH) but I
7965    will fix them once the new format and LZMA2 has been roughly
7966    implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
7967    and won't be supported in the new .lzma format. This may
7968    change still but this is what it looks like now.
7969
7970    Support for known uncompressed size (that is, LZMA or LZMA2
7971    without EOPM) is likely to go away. This means there will
7972    be API changes.
7973
7974 src/liblzma/lz/lz_encoder.c                    |  113 +-----
7975 src/liblzma/lz/lz_encoder.h                    |   18 +-
7976 src/liblzma/lzma/lzma_encoder.c                |  551 +++++++++++-------------
7977 src/liblzma/lzma/lzma_encoder_getoptimum.c     |   59 ++-
7978 src/liblzma/lzma/lzma_encoder_getoptimumfast.c |    4 +-
7979 src/liblzma/lzma/lzma_encoder_init.c           |    9 +-
7980 src/liblzma/lzma/lzma_encoder_private.h        |   15 +-
7981 src/liblzma/rangecoder/range_encoder.h         |  383 +++++++++--------
7982 8 files changed, 532 insertions(+), 620 deletions(-)
7983
7984commit e55e0e873ce2511325749d415ae547d62ab5f00d
7985Author: Lasse Collin <lasse.collin@tukaani.org>
7986Date:   2008-05-30 11:53:41 +0300
7987
7988    Typo fixes from meyering.
7989
7990 doc/faq.txt              |    4 ++--
7991 doc/liblzma-advanced.txt |    2 +-
7992 2 files changed, 3 insertions(+), 3 deletions(-)
7993
7994commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
7995Author: Lasse Collin <lasse.collin@tukaani.org>
7996Date:   2008-05-11 14:24:42 +0300
7997
7998    Remove support for pre-C89 libc versions that lack memcpy,
7999    memmove, and memset.
8000
8001 configure.ac                   |    2 +-
8002 src/common/sysdefs.h           |   15 ++-------------
8003 src/liblzma/common/allocator.c |    2 +-
8004 3 files changed, 4 insertions(+), 15 deletions(-)
8005
8006commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
8007Author: Lasse Collin <lasse.collin@tukaani.org>
8008Date:   2008-05-11 14:17:21 +0300
8009
8010    Improved C99 compiler detection in configure.ac. It will
8011    pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
8012    should still give warnings about GNU extensions like before
8013    except with some special keywords like asm().
8014
8015 configure.ac |   24 ++++++++++++------------
8016 1 files changed, 12 insertions(+), 12 deletions(-)
8017
8018commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
8019Author: Lasse Collin <lasse.collin@tukaani.org>
8020Date:   2008-05-06 15:15:07 +0300
8021
8022    Bunch of grammar fixes from meyering.
8023
8024 doc/liblzma-security.txt        |    8 ++++----
8025 src/liblzma/api/lzma/memlimit.h |    6 +++---
8026 src/lzma/help.c                 |    2 +-
8027 tests/files/README              |    2 +-
8028 4 files changed, 9 insertions(+), 9 deletions(-)
8029
8030commit dc192b6343ae36276c85fcf7ef6006147816eadc
8031Author: Lasse Collin <lasse.collin@tukaani.org>
8032Date:   2008-05-06 13:41:05 +0300
8033
8034    Typo fix
8035
8036 src/liblzma/api/lzma/init.h |    2 +-
8037 1 files changed, 1 insertions(+), 1 deletions(-)
8038
8039commit 944b62b93239b27b338d117f2668c0e95849659b
8040Author: Lasse Collin <lasse.collin@tukaani.org>
8041Date:   2008-05-04 22:29:27 +0300
8042
8043    Don't print an error message on broken pipe unless --verbose
8044    is used.
8045
8046 src/lzma/io.c |   15 ++++++++++++++-
8047 1 files changed, 14 insertions(+), 1 deletions(-)
8048
8049commit 8e074349e47ea6832b8fdf9244e581d453733433
8050Author: Lasse Collin <lasse.collin@tukaani.org>
8051Date:   2008-04-30 22:16:17 +0300
8052
8053    Fix a crash with --format=alone if other filters than LZMA
8054    are specified on the command line.
8055
8056 src/lzma/args.c |    9 +++++++++
8057 1 files changed, 9 insertions(+), 0 deletions(-)
8058
8059commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
8060Author: Lasse Collin <lasse.collin@tukaani.org>
8061Date:   2008-04-28 17:08:27 +0300
8062
8063    Updated THANKS.
8064
8065 THANKS |    1 +
8066 1 files changed, 1 insertions(+), 0 deletions(-)
8067
8068commit 3be21fb12f4cec2cf07799e8960382f4cb375369
8069Author: Lasse Collin <lasse.collin@tukaani.org>
8070Date:   2008-04-28 17:06:34 +0300
8071
8072    Fixed wrong spelling "limitter" to "limiter". This affects
8073    liblzma's API.
8074
8075 doc/liblzma-security.txt             |   14 +-
8076 src/liblzma/api/lzma/base.h          |    4 +-
8077 src/liblzma/api/lzma/memlimit.h      |   10 +-
8078 src/liblzma/api/lzma/stream.h        |    4 +-
8079 src/liblzma/common/Makefile.am       |    2 +-
8080 src/liblzma/common/memory_limiter.c  |  288 ++++++++++++++++++++++++++++++++++
8081 src/liblzma/common/memory_limitter.c |  288 ----------------------------------
8082 src/lzma/list.c                      |    6 +-
8083 src/lzmadec/lzmadec.c                |   12 +-
8084 tests/test_memlimit.c                |    4 +-
8085 10 files changed, 316 insertions(+), 316 deletions(-)
8086
8087commit beeb81060821dfec4e7898e0d44b7900dcb2215e
8088Author: Lasse Collin <lasse.collin@tukaani.org>
8089Date:   2008-04-25 15:39:50 +0300
8090
8091    Prevent LZ encoder from hanging with known uncompressed
8092    size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
8093    with known uncompressed size, but since it currently seems
8094    likely that support for encoding with known uncompressed
8095    size will go away anyway, I'm not fixing this problem now.
8096
8097 src/liblzma/lz/lz_encoder.c |    9 +++++++--
8098 1 files changed, 7 insertions(+), 2 deletions(-)
8099
8100commit c324325f9f13cdeb92153c5d00962341ba070ca2
8101Author: Lasse Collin <lasse.collin@tukaani.org>
8102Date:   2008-04-25 13:58:56 +0300
8103
8104    Removed src/liblzma/common/sysdefs.h symlink, which was
8105    annoying, because "make dist" put two copies of sysdefs.h
8106    into the tarball instead of the symlink.
8107
8108 src/liblzma/check/crc32_table.c |    2 +-
8109 src/liblzma/check/crc64_table.c |    2 +-
8110 src/liblzma/common/Makefile.am  |    1 -
8111 src/liblzma/common/common.h     |    2 +-
8112 src/liblzma/common/sysdefs.h    |    1 -
8113 5 files changed, 3 insertions(+), 5 deletions(-)
8114
8115commit d3ba30243c75c13d094de1793f9c58acdbacc692
8116Author: Lasse Collin <lasse.collin@tukaani.org>
8117Date:   2008-04-25 13:41:29 +0300
8118
8119    Added memusage.c to debug directory.
8120
8121 debug/Makefile.am |    3 +-
8122 debug/memusage.c  |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8123 2 files changed, 57 insertions(+), 1 deletions(-)
8124
8125commit 8f804c29aa8471ccd6438ddca254092b8869ca52
8126Author: Lasse Collin <lasse.collin@tukaani.org>
8127Date:   2008-04-25 13:32:35 +0300
8128
8129    Bumped version number to 4.999.3alpha. It will become 5.0.0
8130    once we have a stable release (won't be very soon). The
8131    version number is no longer related to version of LZMA SDK.
8132
8133    Made some small Automake-related changes to toplevel
8134    Makefile.am and configure.ac.
8135
8136 Makefile.am                    |    7 +++++--
8137 README                         |   29 +++++++++++++++++++++++++++++
8138 configure.ac                   |    4 ++--
8139 src/liblzma/api/lzma/version.h |   22 ++++++++++------------
8140 4 files changed, 46 insertions(+), 16 deletions(-)
8141
8142commit c99037ea10f121cbacf60c37a36c29768ae53447
8143Author: Lasse Collin <lasse.collin@tukaani.org>
8144Date:   2008-04-24 20:25:39 +0300
8145
8146    Fix a memory leak by calling free(extra->data) in
8147    lzma_extra_free().
8148
8149 src/liblzma/common/extra.c |    1 +
8150 1 files changed, 1 insertions(+), 0 deletions(-)
8151
8152commit 22ba3b0b5043fa481903482ce85015fe775939e5
8153Author: Lasse Collin <lasse.collin@tukaani.org>
8154Date:   2008-04-24 20:23:05 +0300
8155
8156    Make unlzma and lzcat symlinks.
8157
8158 src/lzma/Makefile.am |   12 ++++++++++++
8159 1 files changed, 12 insertions(+), 0 deletions(-)
8160
8161commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
8162Author: Lasse Collin <lasse.collin@tukaani.org>
8163Date:   2008-04-24 20:20:27 +0300
8164
8165    Fixed a bug in command line option parsing.
8166
8167 src/lzma/options.c |    2 +-
8168 1 files changed, 1 insertions(+), 1 deletions(-)
8169
8170commit 283f939974c32c47f05d495e8dea455ec646ed64
8171Author: Lasse Collin <lasse.collin@tukaani.org>
8172Date:   2008-04-24 20:19:20 +0300
8173
8174    Added two assert()s.
8175
8176 src/liblzma/lzma/lzma_encoder.c |    4 +++-
8177 1 files changed, 3 insertions(+), 1 deletions(-)
8178
8179commit eb348a60b6e19a7c093f892434f23c4756973ffd
8180Author: Lasse Collin <lasse.collin@tukaani.org>
8181Date:   2008-04-24 19:22:53 +0300
8182
8183    Switch to uint16_t as the type of range coder probabilities.
8184
8185 src/liblzma/rangecoder/range_common.h |   25 +++++++++++++++++++------
8186 1 files changed, 19 insertions(+), 6 deletions(-)
8187
8188commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
8189Author: Lasse Collin <lasse.collin@tukaani.org>
8190Date:   2008-04-24 18:39:57 +0300
8191
8192    Fix wrong return type (uint32_t -> bool).
8193
8194 src/liblzma/lz/lz_encoder.c |    2 +-
8195 src/liblzma/lz/lz_encoder.h |    2 +-
8196 2 files changed, 2 insertions(+), 2 deletions(-)
8197
8198commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
8199Author: Lasse Collin <lasse.collin@tukaani.org>
8200Date:   2008-04-24 18:38:00 +0300
8201
8202    Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
8203
8204 src/liblzma/lz/lz_encoder.c |   16 ++++++++++++++++
8205 src/liblzma/lz/lz_encoder.h |    4 ++++
8206 src/liblzma/lz/match_c.h    |   23 ++++++++++++++++++-----
8207 3 files changed, 38 insertions(+), 5 deletions(-)
8208
8209commit bc04486e368d20b3027cde625267762aae063965
8210Author: Lasse Collin <lasse.collin@tukaani.org>
8211Date:   2008-04-24 17:33:01 +0300
8212
8213    Fix fastpos problem in Makefile.am when built with --enable-small.
8214
8215 src/liblzma/lzma/Makefile.am |    5 ++++-
8216 1 files changed, 4 insertions(+), 1 deletions(-)
8217
8218commit 7ab493924e0ed590a5121a15ee54038d238880d3
8219Author: Lasse Collin <lasse.collin@tukaani.org>
8220Date:   2008-04-24 17:30:51 +0300
8221
8222    Use 64-bit integer as range encoder's cache size. This fixes a
8223    theoretical data corruption, which should be very hard to trigger
8224    even intentionally.
8225
8226 src/liblzma/rangecoder/range_encoder.h |    2 +-
8227 1 files changed, 1 insertions(+), 1 deletions(-)
8228
8229commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
8230Author: Lasse Collin <lasse.collin@tukaani.org>
8231Date:   2008-03-24 16:38:40 +0200
8232
8233    Replaced the range decoder optimization that used arithmetic
8234    right shift with as fast version that doesn't need
8235    arithmetic right shift. Removed the related check from
8236    configure.ac.
8237
8238 configure.ac                           |    1 -
8239 m4/ax_c_arithmetic_rshift.m4           |   36 ---------------------
8240 src/liblzma/rangecoder/range_decoder.h |   53 +++++++++----------------------
8241 3 files changed, 16 insertions(+), 74 deletions(-)
8242
8243commit ad999efd279d95f1e7ac555b14170e8e9020488c
8244Author: Lasse Collin <lasse.collin@tukaani.org>
8245Date:   2008-03-22 14:39:34 +0200
8246
8247    Take advantage of arithmetic right shift in range decoder.
8248
8249 src/liblzma/rangecoder/range_decoder.h |   52 ++++++++++++++++++++++---------
8250 1 files changed, 37 insertions(+), 15 deletions(-)
8251
8252commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
8253Author: Lasse Collin <lasse.collin@tukaani.org>
8254Date:   2008-03-22 14:18:29 +0200
8255
8256    Added autoconf check to detect if we can use arithmetic
8257    right shift for optimizations.
8258
8259 configure.ac                 |    1 +
8260 m4/ax_c_arithmetic_rshift.m4 |   36 ++++++++++++++++++++++++++++++++++++
8261 2 files changed, 37 insertions(+), 0 deletions(-)
8262
8263commit 7521bbdc83acab834594a22bec50c8e1bd836298
8264Author: Lasse Collin <lasse.collin@tukaani.org>
8265Date:   2008-03-22 01:26:36 +0200
8266
8267    Update a comment to use the variable name rep_len_decoder.
8268
8269    (And BTW, the previous commit actually did change the
8270    program logic slightly.)
8271
8272 src/liblzma/lzma/lzma_decoder.c |    2 +-
8273 1 files changed, 1 insertions(+), 1 deletions(-)
8274
8275commit 63b74d000eedaebb8485f623e56864ff5ab71064
8276Author: Lasse Collin <lasse.collin@tukaani.org>
8277Date:   2008-03-22 00:57:33 +0200
8278
8279    Demystified the "state" variable in LZMA code. Use the
8280    word literal instead of char for better consistency.
8281    There are still some names with _char instead of _literal
8282    in lzma_optimum, these may be changed later.
8283
8284    Renamed length coder variables.
8285
8286    This commit doesn't change the program logic.
8287
8288 src/liblzma/lzma/lzma_common.h             |   69 +++++++++++++++++++++-------
8289 src/liblzma/lzma/lzma_decoder.c            |   47 ++++++++++---------
8290 src/liblzma/lzma/lzma_encoder.c            |   14 +++---
8291 src/liblzma/lzma/lzma_encoder_getoptimum.c |   34 +++++++-------
8292 src/liblzma/lzma/lzma_encoder_init.c       |    5 +-
8293 src/liblzma/lzma/lzma_encoder_private.h    |    8 ++--
8294 6 files changed, 107 insertions(+), 70 deletions(-)
8295
8296commit e6eb0a26757e851cef62b9440319a8e73b015cb9
8297Author: Lasse Collin <lasse.collin@tukaani.org>
8298Date:   2008-03-14 23:16:11 +0200
8299
8300    Fix data corruption in LZMA encoder. Note that this bug was
8301    specific to liblzma and was *not* present in LZMA SDK.
8302
8303 src/liblzma/lzma/lzma_encoder.c |    4 ++++
8304 1 files changed, 4 insertions(+), 0 deletions(-)
8305
8306commit 7d516f5129e4373a6d57249d7f608c634c66bf12
8307Author: Lasse Collin <lasse.collin@tukaani.org>
8308Date:   2008-03-14 21:32:37 +0200
8309
8310    Fix a comment API header.
8311
8312 src/liblzma/api/lzma/lzma.h |    2 +-
8313 1 files changed, 1 insertions(+), 1 deletions(-)
8314
8315commit 748d6e4274921a350bd0a317380309717441ef9c
8316Author: Lasse Collin <lasse.collin@tukaani.org>
8317Date:   2008-03-12 23:14:50 +0200
8318
8319    Make lzma_stream.next_in const. Let's see if anyone complains.
8320
8321 src/liblzma/api/lzma/base.h |    2 +-
8322 1 files changed, 1 insertions(+), 1 deletions(-)
8323
8324commit bfde3b24a5ae25ce53c854762b6148952386b025
8325Author: Lasse Collin <lasse.collin@tukaani.org>
8326Date:   2008-03-11 15:35:34 +0200
8327
8328    Apply a minor speed optimization to LZMA decoder.
8329
8330 src/liblzma/lzma/lzma_decoder.c |   85 ++++++++++++++++++++-------------------
8331 1 files changed, 43 insertions(+), 42 deletions(-)
8332
8333commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
8334Author: Lasse Collin <lasse.collin@tukaani.org>
8335Date:   2008-03-11 15:17:16 +0200
8336
8337    Initialize the last byte of the dictionary to zero so that
8338    lz_get_byte(lz, 0) returns zero. This was broken by
8339    1a3b21859818e4d8e89a1da99699233c1bfd197d.
8340
8341 src/liblzma/lz/lz_decoder.c |    1 +
8342 1 files changed, 1 insertions(+), 0 deletions(-)
8343
8344commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
8345Author: Lasse Collin <lasse.collin@tukaani.org>
8346Date:   2008-03-10 15:57:55 +0200
8347
8348    Really fix the price count initialization.
8349
8350 src/liblzma/lzma/lzma_encoder_init.c |    4 ++--
8351 1 files changed, 2 insertions(+), 2 deletions(-)
8352
8353commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
8354Author: Lasse Collin <lasse.collin@tukaani.org>
8355Date:   2008-03-10 13:47:17 +0200
8356
8357    Updated THANKS.
8358
8359 THANKS |    1 +
8360 1 files changed, 1 insertions(+), 0 deletions(-)
8361
8362commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
8363Author: Lasse Collin <lasse.collin@tukaani.org>
8364Date:   2008-03-10 13:46:48 +0200
8365
8366    Initialize align_price_count and match_price_count in
8367    lzma_encoder_init.c. While we don't call
8368    fill_distances_prices() and fill_align_prices() in
8369    lzma_lzma_encoder_init(), we still need to initialize
8370    these two variables so that the fill functions get
8371    called in lzma_encoder_getoptimum.c in the beginning
8372    of a stream.
8373
8374 src/liblzma/lzma/lzma_encoder_init.c |    2 ++
8375 1 files changed, 2 insertions(+), 0 deletions(-)
8376
8377commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
8378Author: Lasse Collin <lasse.collin@tukaani.org>
8379Date:   2008-03-10 13:44:29 +0200
8380
8381    Always initialize lz->temp_size in lz_decoder.c. temp_size did
8382    get initialized as a side-effect after allocating a new decoder,
8383    but not when the decoder was reused.
8384
8385 src/liblzma/lz/lz_decoder.c |   11 ++++++-----
8386 1 files changed, 6 insertions(+), 5 deletions(-)
8387
8388commit 45e43e169527e7a98a8c8a821d37bf25822b764d
8389Author: Lasse Collin <lasse.collin@tukaani.org>
8390Date:   2008-03-10 13:41:25 +0200
8391
8392    Don't fill allocated memory with 0xFD when debugging is
8393    enabled. It hides errors from Valgrind.
8394
8395 src/liblzma/common/allocator.c |    7 ++++---
8396 1 files changed, 4 insertions(+), 3 deletions(-)
8397
8398commit c0e19e0662205f81a86da8903cdc325d50635870
8399Author: Lasse Collin <lasse.collin@tukaani.org>
8400Date:   2008-02-28 10:24:31 +0200
8401
8402    Remove two redundant validity checks from the LZMA decoder.
8403    These are already checked elsewhere, so omitting these
8404    gives (very) tiny speed up.
8405
8406 src/liblzma/lzma/lzma_decoder.c |   23 ++++-------------------
8407 1 files changed, 4 insertions(+), 19 deletions(-)
8408
8409commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
8410Author: Lasse Collin <lasse.collin@tukaani.org>
8411Date:   2008-02-06 13:25:32 +0200
8412
8413    Tiny clean up to file-format.txt.
8414
8415 doc/file-format.txt |    6 +++---
8416 1 files changed, 3 insertions(+), 3 deletions(-)
8417
8418commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
8419Author: Lasse Collin <lasse.collin@tukaani.org>
8420Date:   2008-02-02 14:51:06 +0200
8421
8422    Don't memzero() the history buffer when initializing LZ
8423    decoder. There's no danger of information leak here, so
8424    it isn't required. Doing memzero() takes a lot of time
8425    with large dictionaries, which could make it easier to
8426    construct DoS attack to consume too much CPU time.
8427
8428 src/liblzma/lz/lz_decoder.c |    7 +++----
8429 1 files changed, 3 insertions(+), 4 deletions(-)
8430
8431commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
8432Author: Lasse Collin <lasse.collin@tukaani.org>
8433Date:   2008-02-01 08:39:26 +0200
8434
8435    Do uncompressed size validation in raw encoder. This way
8436    it gets done for not only raw encoder, but also Block
8437    and LZMA_Alone encoders.
8438
8439 src/liblzma/common/raw_encoder.c |   90 ++++++++++++++++++++++++++++++-------
8440 1 files changed, 73 insertions(+), 17 deletions(-)
8441
8442commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
8443Author: Lasse Collin <lasse.collin@tukaani.org>
8444Date:   2008-02-01 08:32:05 +0200
8445
8446    Avoid unneeded function call in raw_common.c.
8447
8448 src/liblzma/common/raw_common.c |   20 +++++++++++---------
8449 1 files changed, 11 insertions(+), 9 deletions(-)
8450
8451commit b596fac963c3ff96f615d4d9b427a213ec341211
8452Author: Lasse Collin <lasse.collin@tukaani.org>
8453Date:   2008-01-26 21:42:38 +0200
8454
8455    Updated THANKS.
8456
8457 THANKS |    1 +
8458 1 files changed, 1 insertions(+), 0 deletions(-)
8459
8460commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
8461Author: Lasse Collin <lasse.collin@tukaani.org>
8462Date:   2008-01-26 21:40:23 +0200
8463
8464    Added note.GNU-stack to x86 assembler files. It is needed
8465    when using non-executable stack.
8466
8467 src/liblzma/check/crc32_x86.S |    9 +++++++++
8468 src/liblzma/check/crc64_x86.S |    9 +++++++++
8469 2 files changed, 18 insertions(+), 0 deletions(-)
8470
8471commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
8472Author: Lasse Collin <lasse.collin@tukaani.org>
8473Date:   2008-01-26 19:12:50 +0200
8474
8475    Added api/lzma/easy.h. I had forgot to add this to the
8476    git repo. Thanks to Stephan Kulow.
8477
8478 src/liblzma/api/lzma/easy.h |  174 +++++++++++++++++++++++++++++++++++++++++++
8479 1 files changed, 174 insertions(+), 0 deletions(-)
8480
8481commit 288b232f54c3692cd36f471d4042f51daf3ea79f
8482Author: Lasse Collin <lasse.collin@tukaani.org>
8483Date:   2008-01-26 11:09:17 +0200
8484
8485    Added more test files.
8486
8487 tests/files/README                       |   11 +++++++++++
8488 tests/files/bad-multi-none-header_7.lzma |  Bin 0 -> 59 bytes
8489 tests/files/good-single-sparc-lzma.lzma  |  Bin 0 -> 2263 bytes
8490 tests/files/good-single-x86-lzma.lzma    |  Bin 0 -> 1909 bytes
8491 4 files changed, 11 insertions(+), 0 deletions(-)
8492
8493commit c467b0defccf233d0c79234407bc38d7d09574d3
8494Author: Lasse Collin <lasse.collin@tukaani.org>
8495Date:   2008-01-26 10:47:55 +0200
8496
8497    Added more test files.
8498
8499 tests/files/README                       |    6 ++++++
8500 tests/files/bad-multi-none-block_3.lzma  |  Bin 0 -> 58 bytes
8501 tests/files/good-multi-none-block_2.lzma |  Bin 0 -> 58 bytes
8502 3 files changed, 6 insertions(+), 0 deletions(-)
8503
8504commit f9842f712732c482f2def9f24437851e57dd83f8
8505Author: Lasse Collin <lasse.collin@tukaani.org>
8506Date:   2008-01-26 00:25:34 +0200
8507
8508    Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
8509    of the so called simple filters. If there is demand, limited
8510    support for LZMA_SYNC_FLUSH may be added in future.
8511
8512    After this commit, using LZMA_SYNC_FLUSH shouldn't cause
8513    undefined behavior in any situation.
8514
8515 src/liblzma/api/lzma/simple.h     |    9 +++++++++
8516 src/liblzma/simple/simple_coder.c |    8 ++++++++
8517 2 files changed, 17 insertions(+), 0 deletions(-)
8518
8519commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
8520Author: Lasse Collin <lasse.collin@tukaani.org>
8521Date:   2008-01-25 23:50:35 +0200
8522
8523    Added more Multi-Block test files. Improved some
8524    descriptions in the test files' README.
8525
8526 tests/files/README                       |   34 ++++++++++++++++++++++++-----
8527 tests/files/bad-multi-none-block_1.lzma  |  Bin 0 -> 66 bytes
8528 tests/files/bad-multi-none-block_2.lzma  |  Bin 0 -> 66 bytes
8529 tests/files/good-multi-none-block_1.lzma |  Bin 0 -> 66 bytes
8530 4 files changed, 28 insertions(+), 6 deletions(-)
8531
8532commit 4441e004185cd4c61bda184010eca5924c9dec87
8533Author: Lasse Collin <lasse.collin@tukaani.org>
8534Date:   2008-01-25 23:12:36 +0200
8535
8536    Combine lzma_options_block validation needed by both Block
8537    encoder and decoder, and put the shared things to
8538    block_private.h. Improved the checks a little so that
8539    they may detect too big Compressed Size at initialization
8540    time if lzma_options_block.total_size or .total_limit is
8541    known.
8542
8543    Allow encoding and decoding Blocks with combinations of
8544    fields that are not allowed by the file format specification.
8545    Doing this requires that the application passes such a
8546    combination in lzma_options_lzma; liblzma doesn't do that,
8547    but it's not impossible that someone could find them useful
8548    in some custom file format.
8549
8550 src/liblzma/common/block_decoder.c |   37 +++++++++++----------------
8551 src/liblzma/common/block_encoder.c |   32 ++++------------------
8552 src/liblzma/common/block_private.h |   50 ++++++++++++++++++++++++++++++++++++
8553 3 files changed, 71 insertions(+), 48 deletions(-)
8554
8555commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
8556Author: Lasse Collin <lasse.collin@tukaani.org>
8557Date:   2008-01-25 19:21:22 +0200
8558
8559    Added test_memlimit.c.
8560
8561 tests/Makefile.am     |    2 +
8562 tests/test_memlimit.c |  114 +++++++++++++++++++++++++++++++++++++++++++++++++
8563 2 files changed, 116 insertions(+), 0 deletions(-)
8564
8565commit 7b8fc7e6b501a32a36636dac79ecb57099269005
8566Author: Lasse Collin <lasse.collin@tukaani.org>
8567Date:   2008-01-25 19:20:28 +0200
8568
8569    Improved the memory limitter:
8570      - Added lzma_memlimit_max() and lzma_memlimit_reached()
8571        API functions.
8572      - Added simple estimation of malloc()'s memory usage
8573        overhead.
8574      - Fixed integer overflow detection in lzma_memlimit_alloc().
8575      - Made some white space cleanups and added more comments.
8576
8577    The description of lzma_memlimit_max() in memlimit.h is bad
8578    and should be improved.
8579
8580 src/liblzma/api/lzma/memlimit.h      |   35 ++++++++++++
8581 src/liblzma/common/memory_limitter.c |   97 +++++++++++++++++++++++++++++-----
8582 2 files changed, 118 insertions(+), 14 deletions(-)
8583
8584commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
8585Author: Lasse Collin <lasse.collin@tukaani.org>
8586Date:   2008-01-25 13:55:52 +0200
8587
8588    Use more parenthesis in succeed() macro in tests/tests.h.
8589
8590 tests/tests.h |    2 +-
8591 1 files changed, 1 insertions(+), 1 deletions(-)
8592
8593commit 1fd76d488179580d37f31ee11948f4932aed31fd
8594Author: Lasse Collin <lasse.collin@tukaani.org>
8595Date:   2008-01-24 14:49:34 +0200
8596
8597    Added more Multi-Block Stream test files.
8598
8599 tests/files/README                        |   23 +++++++++++++++++++++++
8600 tests/files/bad-multi-none-header_2.lzma  |  Bin 0 -> 61 bytes
8601 tests/files/bad-multi-none-header_3.lzma  |  Bin 0 -> 59 bytes
8602 tests/files/bad-multi-none-header_4.lzma  |  Bin 0 -> 59 bytes
8603 tests/files/bad-multi-none-header_5.lzma  |  Bin 0 -> 58 bytes
8604 tests/files/bad-multi-none-header_6.lzma  |  Bin 0 -> 59 bytes
8605 tests/files/good-multi-none-header_3.lzma |  Bin 0 -> 59 bytes
8606 7 files changed, 23 insertions(+), 0 deletions(-)
8607
8608commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
8609Author: Lasse Collin <lasse.collin@tukaani.org>
8610Date:   2008-01-24 00:46:05 +0200
8611
8612    Added bunch of test files containing Multi-Block Streams.
8613
8614 tests/files/README                        |   53 +++++++++++++++++++++++++++++
8615 tests/files/bad-multi-none-1.lzma         |  Bin 0 -> 54 bytes
8616 tests/files/bad-multi-none-2.lzma         |  Bin 0 -> 53 bytes
8617 tests/files/bad-multi-none-3.lzma         |  Bin 0 -> 53 bytes
8618 tests/files/bad-multi-none-extra_1.lzma   |  Bin 0 -> 54 bytes
8619 tests/files/bad-multi-none-extra_2.lzma   |  Bin 0 -> 54 bytes
8620 tests/files/bad-multi-none-extra_3.lzma   |  Bin 0 -> 55 bytes
8621 tests/files/bad-multi-none-header_1.lzma  |  Bin 0 -> 57 bytes
8622 tests/files/bad-multi-none-index_1.lzma   |  Bin 0 -> 51 bytes
8623 tests/files/bad-multi-none-index_2.lzma   |  Bin 0 -> 49 bytes
8624 tests/files/bad-multi-none-index_3.lzma   |  Bin 0 -> 51 bytes
8625 tests/files/bad-multi-none-index_4.lzma   |  Bin 0 -> 51 bytes
8626 tests/files/good-multi-none-1.lzma        |  Bin 0 -> 75 bytes
8627 tests/files/good-multi-none-2.lzma        |  Bin 0 -> 53 bytes
8628 tests/files/good-multi-none-extra_1.lzma  |  Bin 0 -> 51 bytes
8629 tests/files/good-multi-none-extra_2.lzma  |  Bin 0 -> 79 bytes
8630 tests/files/good-multi-none-extra_3.lzma  |  Bin 0 -> 55 bytes
8631 tests/files/good-multi-none-header_1.lzma |  Bin 0 -> 58 bytes
8632 tests/files/good-multi-none-header_2.lzma |  Bin 0 -> 66 bytes
8633 19 files changed, 53 insertions(+), 0 deletions(-)
8634
8635commit db9df0a9609c01a00a227329fb96e983971040f5
8636Author: Lasse Collin <lasse.collin@tukaani.org>
8637Date:   2008-01-23 23:43:00 +0200
8638
8639    Fix decoding of empty Metadata Blocks, that don't have
8640    even the Metadata Flags field. Earlier the code allowed
8641    such files; now they are prohibited as the file format
8642    specification requires.
8643
8644 src/liblzma/common/metadata_decoder.c |    4 +++-
8645 1 files changed, 3 insertions(+), 1 deletions(-)
8646
8647commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
8648Author: Lasse Collin <lasse.collin@tukaani.org>
8649Date:   2008-01-23 23:38:18 +0200
8650
8651    Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
8652    lzma_metadata.header_metadata_size was not properly set to
8653    zero if the Metadata had only the Metadata Flags field.
8654
8655 src/liblzma/common/metadata_decoder.c |   13 +++++++------
8656 1 files changed, 7 insertions(+), 6 deletions(-)
8657
8658commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
8659Author: Lasse Collin <lasse.collin@tukaani.org>
8660Date:   2008-01-23 23:35:49 +0200
8661
8662    Fix decoding of Extra Records that have empty Data.
8663
8664 src/liblzma/common/metadata_decoder.c |   13 ++++++++++++-
8665 1 files changed, 12 insertions(+), 1 deletions(-)
8666
8667commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
8668Author: Lasse Collin <lasse.collin@tukaani.org>
8669Date:   2008-01-23 22:02:38 +0200
8670
8671    Add the trailing '\0' to lzma_extra.data as the API header
8672    already documents.
8673
8674 src/liblzma/common/metadata_decoder.c |    4 +++-
8675 1 files changed, 3 insertions(+), 1 deletions(-)
8676
8677commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
8678Author: Lasse Collin <lasse.collin@tukaani.org>
8679Date:   2008-01-23 21:21:21 +0200
8680
8681    Added debug/full_flush.c.
8682
8683 debug/Makefile.am  |    3 +-
8684 debug/full_flush.c |  105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
8685 2 files changed, 107 insertions(+), 1 deletions(-)
8686
8687commit ae0cd09a666a1682da8fc09487322227679e218d
8688Author: Lasse Collin <lasse.collin@tukaani.org>
8689Date:   2008-01-23 21:05:33 +0200
8690
8691    Return LZMA_STREAM_END instead of LZMA_OK if
8692    LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
8693    there's no unfinished Block open.
8694
8695 src/liblzma/common/stream_encoder_multi.c |    6 +++++-
8696 1 files changed, 5 insertions(+), 1 deletions(-)
8697
8698commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
8699Author: Lasse Collin <lasse.collin@tukaani.org>
8700Date:   2008-01-23 20:05:01 +0200
8701
8702    Added bad-single-none-footer_filter_flags.lzma and
8703    bad-single-none-too_long_vli.lzma.
8704
8705 tests/files/README                                 |    5 +++++
8706 .../files/bad-single-none-footer_filter_flags.lzma |  Bin 0 -> 30 bytes
8707 tests/files/bad-single-none-too_long_vli.lzma      |  Bin 0 -> 39 bytes
8708 3 files changed, 5 insertions(+), 0 deletions(-)
8709
8710commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
8711Author: Lasse Collin <lasse.collin@tukaani.org>
8712Date:   2008-01-23 13:42:35 +0200
8713
8714    Fixed a typo.
8715
8716 src/liblzma/subblock/subblock_decoder_helper.c |    2 +-
8717 1 files changed, 1 insertions(+), 1 deletions(-)
8718
8719commit 980f65a9a10160c4d105767871e3002b9aaba3e0
8720Author: Lasse Collin <lasse.collin@tukaani.org>
8721Date:   2008-01-23 13:40:45 +0200
8722
8723    Fix a memory leak in the Subblock encoder.
8724
8725 src/liblzma/subblock/subblock_encoder.c |    1 +
8726 1 files changed, 1 insertions(+), 0 deletions(-)
8727
8728commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
8729Author: Lasse Collin <lasse.collin@tukaani.org>
8730Date:   2008-01-23 13:36:07 +0200
8731
8732    Fix Size of Header Metadata Block handling. Now
8733    lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
8734    is not allowed at all. To indicate missing Header Metadata
8735    Block, header_metadata_size must be set to zero. This is
8736    what Metadata decoder does after this patch too.
8737
8738    Note that other missing fields in lzma_metadata are still
8739    indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
8740    illogical as it sounds at first, because missing Size of
8741    Header Metadata Block means that Header Metadata Block is
8742    not present in the Stream. With other Metadata fields,
8743    a missing field means only that the value is unknown.
8744
8745 src/liblzma/common/info.c             |   13 ++++---------
8746 src/liblzma/common/metadata_decoder.c |    6 ++++++
8747 src/liblzma/common/metadata_encoder.c |   11 +++++------
8748 tests/test_info.c                     |    4 ++--
8749 4 files changed, 17 insertions(+), 17 deletions(-)
8750
8751commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
8752Author: Lasse Collin <lasse.collin@tukaani.org>
8753Date:   2008-01-23 13:15:55 +0200
8754
8755    Fix a memory leak in metadata_decoder.c.
8756
8757 src/liblzma/common/metadata_decoder.c |    1 +
8758 1 files changed, 1 insertions(+), 0 deletions(-)
8759
8760commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
8761Author: Lasse Collin <lasse.collin@tukaani.org>
8762Date:   2008-01-23 13:13:58 +0200
8763
8764    Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
8765    just moved to problem. Now it's really fixed.
8766
8767 src/liblzma/common/info.c |    5 ++++-
8768 1 files changed, 4 insertions(+), 1 deletions(-)
8769
8770commit 67321de963ccf69410b3868b8e31534fe18a90de
8771Author: Lasse Collin <lasse.collin@tukaani.org>
8772Date:   2008-01-23 00:21:04 +0200
8773
8774    Take advantage of return_if_error() macro in
8775    lzma_info_metadata_set() in info.c.
8776
8777 src/liblzma/common/info.c |   24 ++++++++----------------
8778 1 files changed, 8 insertions(+), 16 deletions(-)
8779
8780commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
8781Author: Lasse Collin <lasse.collin@tukaani.org>
8782Date:   2008-01-23 00:18:32 +0200
8783
8784    Fixed a dangling pointer that caused invalid free().
8785
8786 src/liblzma/common/info.c |    1 +
8787 1 files changed, 1 insertions(+), 0 deletions(-)
8788
8789commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
8790Author: Lasse Collin <lasse.collin@tukaani.org>
8791Date:   2008-01-22 22:49:24 +0200
8792
8793    Added lzma_easy_* functions. These should make using
8794    liblzma as easy as using zlib, because the easy API
8795    don't require developers to know any fancy LZMA options.
8796
8797    Note that Multi-Block Stream encoding is currently broken.
8798    The easy API should be OK, the bug(s) are elsewhere.
8799
8800 src/liblzma/api/Makefile.am               |    1 +
8801 src/liblzma/api/lzma.h                    |    1 +
8802 src/liblzma/common/Makefile.am            |    5 ++
8803 src/liblzma/common/easy_common.c          |   54 +++++++++++++++
8804 src/liblzma/common/easy_common.h          |   28 ++++++++
8805 src/liblzma/common/easy_multi.c           |  103 +++++++++++++++++++++++++++++
8806 src/liblzma/common/easy_single.c          |   37 ++++++++++
8807 src/liblzma/common/stream_encoder_multi.c |    3 +-
8808 src/liblzma/common/stream_encoder_multi.h |   26 +++++++
8809 9 files changed, 256 insertions(+), 2 deletions(-)
8810
8811commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
8812Author: Lasse Collin <lasse.collin@tukaani.org>
8813Date:   2008-01-22 21:16:22 +0200
8814
8815    Fix Multi-Block Stream encoder's EOPM usage.
8816
8817 src/liblzma/common/stream_encoder_multi.c |    2 +-
8818 1 files changed, 1 insertions(+), 1 deletions(-)
8819
8820commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
8821Author: Lasse Collin <lasse.collin@tukaani.org>
8822Date:   2008-01-22 00:15:11 +0200
8823
8824    Made lzma_extra pointers const in lzma_options_stream.
8825
8826 src/liblzma/api/lzma/stream.h             |    4 ++--
8827 src/liblzma/common/stream_encoder_multi.c |    8 ++++++--
8828 2 files changed, 8 insertions(+), 4 deletions(-)
8829
8830commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
8831Author: Lasse Collin <lasse.collin@tukaani.org>
8832Date:   2008-01-20 20:15:21 +0200
8833
8834    Updated debug/sync_flush.c.
8835
8836 debug/sync_flush.c |   26 ++++++++++++++++++++++++--
8837 1 files changed, 24 insertions(+), 2 deletions(-)
8838
8839commit d53e9b77054cfade6a643e77d085273a348b189c
8840Author: Lasse Collin <lasse.collin@tukaani.org>
8841Date:   2008-01-20 20:14:26 +0200
8842
8843    Added debug/repeat.c.
8844
8845 debug/Makefile.am |    1 +
8846 debug/repeat.c    |   43 +++++++++++++++++++++++++++++++++++++++++++
8847 2 files changed, 44 insertions(+), 0 deletions(-)
8848
8849commit 107259e306bcfc2336a0fb870fb58034c28faa52
8850Author: Lasse Collin <lasse.collin@tukaani.org>
8851Date:   2008-01-20 20:12:58 +0200
8852
8853    Fix alignment handling bugs in Subblock encoder.
8854
8855    This leaves one known alignment bug unfixed: If repeat count
8856    doesn't fit into 28-bit integer, the encoder has to split
8857    this to multiple Subblocks with Subblock Type `Repeating Data'.
8858    The extra Subblocks may have wrong alignment. Correct alignment
8859    is restored after the split Repeating Data has been completely
8860    written out.
8861
8862    Since the encoder doesn't even try to fix the alignment unless
8863    the size of Data is at least 4 bytes, to trigger this bug you
8864    need at least 4 GiB of repeating data with sequence length of
8865    4 or more bytes. Since the worst thing done by this bug is
8866    misaligned data (no data corruption), this bug simply isn't
8867    worth fixing, because a proper fix isn't simple.
8868
8869 src/liblzma/subblock/subblock_encoder.c |  170 +++++++++++++++++++++---------
8870 1 files changed, 119 insertions(+), 51 deletions(-)
8871
8872commit e141fe18950400faaa3503ff88ac20eacd73e88c
8873Author: Lasse Collin <lasse.collin@tukaani.org>
8874Date:   2008-01-19 21:16:33 +0200
8875
8876    Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
8877    The API for handing Subfilters was changed to make it
8878    consistent with LZMA_SYNC_FLUSH.
8879
8880    A few sanity checks were added for Subfilter handling. Some
8881    small bugs were fixed. More comments were added.
8882
8883 src/liblzma/api/lzma/subblock.h         |   29 ++--
8884 src/liblzma/subblock/subblock_encoder.c |  263 +++++++++++++++++++++++--------
8885 2 files changed, 214 insertions(+), 78 deletions(-)
8886
8887commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
8888Author: Lasse Collin <lasse.collin@tukaani.org>
8889Date:   2008-01-19 15:19:21 +0200
8890
8891    Revised the Delta filter implementation. The initialization
8892    function is still shared between encoder and decoder, but the
8893    actual coding is in separate files for encoder and decoder.
8894
8895    There are now separate functions for the actual delta
8896    calculation depending on if Delta is the last filter in the
8897    chain or not. If it is the last, the new code copies the
8898    data from input to output buffer and does the delta
8899    calculation at the same time. The old code first copied the
8900    data, then did the delta in the target buffer, which required
8901    reading through the data twice.
8902
8903    Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
8904    This doesn't change anything in the file format.
8905
8906 src/liblzma/common/Makefile.am     |   14 +++-
8907 src/liblzma/common/delta_coder.c   |  189 ------------------------------------
8908 src/liblzma/common/delta_coder.h   |   31 ------
8909 src/liblzma/common/delta_common.c  |   70 +++++++++++++
8910 src/liblzma/common/delta_common.h  |   48 +++++++++
8911 src/liblzma/common/delta_decoder.c |  102 +++++++++++++++++++
8912 src/liblzma/common/delta_decoder.h |   28 ++++++
8913 src/liblzma/common/delta_encoder.c |   97 ++++++++++++++++++
8914 src/liblzma/common/delta_encoder.h |   28 ++++++
8915 src/liblzma/common/raw_decoder.c   |    2 +-
8916 src/liblzma/common/raw_encoder.c   |    2 +-
8917 11 files changed, 387 insertions(+), 224 deletions(-)
8918
8919commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
8920Author: Lasse Collin <lasse.collin@tukaani.org>
8921Date:   2008-01-18 20:18:08 +0200
8922
8923    Added the debug directory and the first debug tool
8924    (sync_flush). These tools are not built unless the
8925    user runs "make" in the debug directory.
8926
8927 Makefile.am        |    1 +
8928 configure.ac       |    1 +
8929 debug/Makefile.am  |   30 +++++++++++++
8930 debug/README       |   17 ++++++++
8931 debug/sync_flush.c |  116 ++++++++++++++++++++++++++++++++++++++++++++++++++++
8932 5 files changed, 165 insertions(+), 0 deletions(-)
8933
8934commit 0ae3208db94585eb8294b97ded387de0a3a07646
8935Author: Lasse Collin <lasse.collin@tukaani.org>
8936Date:   2008-01-18 20:13:00 +0200
8937
8938    Added test files to test usage of flush marker in LZMA.
8939
8940 tests/files/README                               |   12 ++++++++++++
8941 tests/files/bad-single-lzma-flush_beginning.lzma |  Bin 0 -> 53 bytes
8942 tests/files/bad-single-lzma-flush_twice.lzma     |  Bin 0 -> 63 bytes
8943 tests/files/good-single-lzma-flush_1.lzma        |  Bin 0 -> 48 bytes
8944 tests/files/good-single-lzma-flush_2.lzma        |  Bin 0 -> 63 bytes
8945 5 files changed, 12 insertions(+), 0 deletions(-)
8946
8947commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
8948Author: Lasse Collin <lasse.collin@tukaani.org>
8949Date:   2008-01-18 20:02:52 +0200
8950
8951    Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
8952    That code is now almost completely in LZ coder, where
8953    it can be shared with other LZ77-based algorithms in
8954    future.
8955
8956 src/liblzma/lz/lz_encoder.c     |   34 ++++++++++++++++++++++++++--------
8957 src/liblzma/lz/lz_encoder.h     |    1 +
8958 src/liblzma/lzma/lzma_encoder.c |   27 ++-------------------------
8959 3 files changed, 29 insertions(+), 33 deletions(-)
8960
8961commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
8962Author: Lasse Collin <lasse.collin@tukaani.org>
8963Date:   2008-01-18 17:21:24 +0200
8964
8965    Don't add -g to CFLAGS when --enable-debug is specified.
8966    It's the job of the user to put that in CFLAGS.
8967
8968 configure.ac |    1 -
8969 1 files changed, 0 insertions(+), 1 deletions(-)
8970
8971commit 61d1784d8f1761d979a6da6e223e279ca33815e6
8972Author: Lasse Collin <lasse.collin@tukaani.org>
8973Date:   2008-01-18 14:17:37 +0200
8974
8975    Set stdin and stdout to binary mode on Windows. This patch is
8976    a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
8977    from lzma-utils-legacy.git. I don't know if the new code base
8978    builds on Windows, but this is a start.
8979
8980 src/lzmadec/lzmadec.c |    9 +++++++++
8981 1 files changed, 9 insertions(+), 0 deletions(-)
8982
8983commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
8984Author: Lasse Collin <lasse.collin@tukaani.org>
8985Date:   2008-01-18 00:50:29 +0200
8986
8987    Added test_compress.sh and bunch of files needed by it.
8988    This new set of tests compress and decompress several
8989    test files with many different compression options.
8990    This set of tests will be extended later.
8991
8992 tests/Makefile.am                 |   30 ++++--
8993 tests/bcj_test.c                  |   66 +++++++++++++
8994 tests/compress_prepared_bcj_sparc |  Bin 0 -> 6804 bytes
8995 tests/compress_prepared_bcj_x86   |  Bin 0 -> 4649 bytes
8996 tests/create_compress_files.c     |  164 +++++++++++++++++++++++++++++++++
8997 tests/test_compress.sh            |  183 +++++++++++++++++++++++++++++++++++++
8998 6 files changed, 433 insertions(+), 10 deletions(-)
8999
9000commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
9001Author: Lasse Collin <lasse.collin@tukaani.org>
9002Date:   2008-01-17 18:56:53 +0200
9003
9004    Subblock decoder: Don't exit the main loop in decode_buffer()
9005    too early if we hit End of Input while decoding a Subblock of
9006    type Repeating Data. To keep the loop termination condition
9007    elegant, the order of enumerations in coder->sequence were
9008    changed.
9009
9010    To keep the case-labels in roughly the same order as the
9011    enumerations in coder->sequence, large chunks of code was
9012    moved around. This made the diff big and ugly compared to
9013    the amount of the actual changes made.
9014
9015 src/liblzma/subblock/subblock_decoder.c |  272 ++++++++++++++++---------------
9016 1 files changed, 139 insertions(+), 133 deletions(-)
9017
9018commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
9019Author: Lasse Collin <lasse.collin@tukaani.org>
9020Date:   2008-01-17 17:39:42 +0200
9021
9022    Fix wrong too small size of argument unfiltered_max
9023    in ia64_coder_init(). It triggered assert() in
9024    simple_coder.c, and could have caused a buffer overflow.
9025
9026    This error was probably a copypaste mistake, since most
9027    of the simple filters use unfiltered_max = 4.
9028
9029 src/liblzma/simple/ia64.c |    2 +-
9030 1 files changed, 1 insertions(+), 1 deletions(-)
9031
9032commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
9033Author: Lasse Collin <lasse.collin@tukaani.org>
9034Date:   2008-01-17 17:27:45 +0200
9035
9036    Added --delta to the output of "lzma --help".
9037
9038 src/lzma/help.c |    4 ++++
9039 1 files changed, 4 insertions(+), 0 deletions(-)
9040
9041commit f88590e0014b38d40465937c19f25f05f16c79ae
9042Author: Lasse Collin <lasse.collin@tukaani.org>
9043Date:   2008-01-17 13:14:20 +0200
9044
9045    Fix Subblock docoder: If Subblock filter was used with known
9046    Uncompressed Size, and the last output byte was from RLE,
9047    the code didn't stop decoding as it should have done.
9048
9049 src/liblzma/subblock/subblock_decoder.c |    6 ++++++
9050 1 files changed, 6 insertions(+), 0 deletions(-)
9051
9052commit bc0b945ca376e333077644d2f7fd54c2848aab8a
9053Author: Lasse Collin <lasse.collin@tukaani.org>
9054Date:   2008-01-16 16:33:37 +0200
9055
9056    Tiny non-technical edits to file-format.txt.
9057
9058 doc/file-format.txt |    6 +++---
9059 1 files changed, 3 insertions(+), 3 deletions(-)
9060
9061commit 7599bb7064ccf007f054595dedda7927af868252
9062Author: Lasse Collin <lasse.collin@tukaani.org>
9063Date:   2008-01-16 14:48:04 +0200
9064
9065    Plugged a memory leak in stream_decoder.c.
9066
9067 src/liblzma/common/stream_decoder.c |   20 ++++++++++++++++++++
9068 1 files changed, 20 insertions(+), 0 deletions(-)
9069
9070commit 0b581539311f3712946e81e747839f8fb5f441a7
9071Author: Lasse Collin <lasse.collin@tukaani.org>
9072Date:   2008-01-16 14:47:27 +0200
9073
9074    Added memory leak detection to lzmadec.c.
9075
9076 src/lzmadec/lzmadec.c |    3 +++
9077 1 files changed, 3 insertions(+), 0 deletions(-)
9078
9079commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
9080Author: Lasse Collin <lasse.collin@tukaani.org>
9081Date:   2008-01-16 14:46:50 +0200
9082
9083    Added lzma_memlimit_count().
9084
9085 src/liblzma/api/lzma/memlimit.h      |   10 ++++++++++
9086 src/liblzma/common/memory_limitter.c |   19 +++++++++++++++++++
9087 2 files changed, 29 insertions(+), 0 deletions(-)
9088
9089commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
9090Author: Lasse Collin <lasse.collin@tukaani.org>
9091Date:   2008-01-16 14:31:44 +0200
9092
9093    Added ARRAY_SIZE(array) macro.
9094
9095 src/common/sysdefs.h |    4 ++++
9096 1 files changed, 4 insertions(+), 0 deletions(-)
9097
9098commit 9bc33a54cbf83952130adbcb1be32c6882485416
9099Author: Lasse Collin <lasse.collin@tukaani.org>
9100Date:   2008-01-16 13:27:03 +0200
9101
9102    Make Uncompresed Size validation more strict
9103    in alone_decoder.c.
9104
9105 src/liblzma/common/alone_decoder.c |    3 ++-
9106 1 files changed, 2 insertions(+), 1 deletions(-)
9107
9108commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
9109Author: Lasse Collin <lasse.collin@tukaani.org>
9110Date:   2008-01-15 17:46:59 +0200
9111
9112    Free the allocated memory in lzmadec if debugging is
9113    enabled. This should make it possible to detect possible
9114    memory leaks with Valgrind.
9115
9116 src/lzmadec/lzmadec.c |    7 +++++++
9117 1 files changed, 7 insertions(+), 0 deletions(-)
9118
9119commit 8235e6e5b2878f76633afcda9a334640db503ef5
9120Author: Lasse Collin <lasse.collin@tukaani.org>
9121Date:   2008-01-15 16:25:38 +0200
9122
9123    Fix memory leaks from test_block_header.c.
9124
9125 tests/test_block_header.c |   19 +++++++++++++++++--
9126 1 files changed, 17 insertions(+), 2 deletions(-)
9127
9128commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
9129Author: Lasse Collin <lasse.collin@tukaani.org>
9130Date:   2008-01-15 14:23:35 +0200
9131
9132    Use fastpos.h when encoding LZMA dictionary size in
9133    Filter Flags encoder.
9134
9135 src/liblzma/common/filter_flags_encoder.c |   40 +++++++++++++---------------
9136 1 files changed, 19 insertions(+), 21 deletions(-)
9137
9138commit e5728142a2048979f5c0c2149ce71ae952a092e1
9139Author: Lasse Collin <lasse.collin@tukaani.org>
9140Date:   2008-01-15 14:02:22 +0200
9141
9142    Revised the fastpos code. It now uses the slightly faster
9143    table-based version from LZMA SDK 4.57. This should be
9144    fast on most systems.
9145
9146    A simpler and smaller alternative version is also provided.
9147    On some CPUs this can be even a little faster than the
9148    default table-based version (see comments in fastpos.h),
9149    but on most systems the table-based code is faster.
9150
9151 src/liblzma/common/init_encoder.c          |    3 -
9152 src/liblzma/lzma/Makefile.am               |    4 +
9153 src/liblzma/lzma/fastpos.h                 |  156 +++++++++
9154 src/liblzma/lzma/fastpos_table.c           |  519 ++++++++++++++++++++++++++++
9155 src/liblzma/lzma/fastpos_tablegen.c        |   63 ++++
9156 src/liblzma/lzma/lzma_common.h             |    3 +-
9157 src/liblzma/lzma/lzma_encoder.c            |    1 +
9158 src/liblzma/lzma/lzma_encoder_getoptimum.c |    1 +
9159 src/liblzma/lzma/lzma_encoder_init.c       |   22 --
9160 src/liblzma/lzma/lzma_encoder_private.h    |   21 --
9161 10 files changed, 746 insertions(+), 47 deletions(-)
9162
9163commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
9164Author: Lasse Collin <lasse.collin@tukaani.org>
9165Date:   2008-01-15 13:32:13 +0200
9166
9167    Added bsr.h.
9168
9169 src/liblzma/common/Makefile.am |    1 +
9170 src/liblzma/common/bsr.h       |   61 ++++++++++++++++++++++++++++++++++++++++
9171 2 files changed, 62 insertions(+), 0 deletions(-)
9172
9173commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
9174Author: Lasse Collin <lasse.collin@tukaani.org>
9175Date:   2008-01-15 13:29:14 +0200
9176
9177    Fixed assembler detection in configure.ac, and added
9178    detection for x86_64.
9179
9180 configure.ac |   32 ++++++++++++++++----------------
9181 1 files changed, 16 insertions(+), 16 deletions(-)
9182
9183commit 54ec204f58287f50d3976288295da4188a19192b
9184Author: Lasse Collin <lasse.collin@tukaani.org>
9185Date:   2008-01-15 12:20:41 +0200
9186
9187    Omit invalid space from printf() format string
9188    in price_table_gen.c.
9189
9190 src/liblzma/rangecoder/price_table_gen.c |    2 +-
9191 1 files changed, 1 insertions(+), 1 deletions(-)
9192
9193commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
9194Author: Lasse Collin <lasse.collin@tukaani.org>
9195Date:   2008-01-15 09:54:34 +0200
9196
9197    Removed a few unused macros from lzma_common.h.
9198
9199 src/liblzma/lzma/lzma_common.h |    8 ++------
9200 1 files changed, 2 insertions(+), 6 deletions(-)
9201
9202commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
9203Author: Lasse Collin <lasse.collin@tukaani.org>
9204Date:   2008-01-15 08:37:42 +0200
9205
9206    Fix a typo in lzma_encoder.c.
9207
9208 src/liblzma/lzma/lzma_encoder.c |    2 +-
9209 1 files changed, 1 insertions(+), 1 deletions(-)
9210
9211commit 9f9b1983013048f2142e8bc7e240149d2687bedc
9212Author: Lasse Collin <lasse.collin@tukaani.org>
9213Date:   2008-01-15 08:36:25 +0200
9214
9215    Convert bittree_get_price() and bittree_reverse_get_price()
9216    from macros to inline functions.
9217
9218 src/liblzma/lzma/lzma_encoder.c            |   19 +++----
9219 src/liblzma/lzma/lzma_encoder_getoptimum.c |   16 ++----
9220 src/liblzma/rangecoder/range_encoder.h     |   76 ++++++++++++++++------------
9221 3 files changed, 56 insertions(+), 55 deletions(-)
9222
9223commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
9224Author: Lasse Collin <lasse.collin@tukaani.org>
9225Date:   2008-01-15 07:44:59 +0200
9226
9227    Fix CRC code in case --enable-small is used.
9228
9229 src/liblzma/check/crc32_init.c    |    2 +-
9230 src/liblzma/check/crc64_init.c    |    2 +-
9231 src/liblzma/common/init_decoder.c |    2 --
9232 src/liblzma/common/init_encoder.c |    2 --
9233 tests/test_check.c                |    2 ++
9234 5 files changed, 4 insertions(+), 6 deletions(-)
9235
9236commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
9237Author: Lasse Collin <lasse.collin@tukaani.org>
9238Date:   2008-01-15 07:41:39 +0200
9239
9240    Fix typo in test_index.c.
9241
9242 tests/test_index.c |    2 +-
9243 1 files changed, 1 insertions(+), 1 deletions(-)
9244
9245commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
9246Author: Lasse Collin <lasse.collin@tukaani.org>
9247Date:   2008-01-15 07:40:21 +0200
9248
9249    Added precomputed range coder probability price table.
9250
9251 src/liblzma/common/init_encoder.c         |    5 +-
9252 src/liblzma/rangecoder/Makefile.am        |    9 +++-
9253 src/liblzma/rangecoder/price_table.c      |   70 +++++++++++++++++++++++++++++
9254 src/liblzma/rangecoder/price_table_gen.c  |   55 ++++++++++++++++++++++
9255 src/liblzma/rangecoder/price_table_init.c |   48 ++++++++++++++++++++
9256 src/liblzma/rangecoder/range_common.h     |    4 +-
9257 src/liblzma/rangecoder/range_encoder.c    |   46 -------------------
9258 src/liblzma/rangecoder/range_encoder.h    |   21 ++++-----
9259 8 files changed, 197 insertions(+), 61 deletions(-)
9260
9261commit 362dc3843b373c1007a50a4719f378981f18ae03
9262Author: Lasse Collin <lasse.collin@tukaani.org>
9263Date:   2008-01-14 13:42:43 +0200
9264
9265    Remove RC_BUFFER_SIZE from lzma_encoder_private.h
9266    and replace it with a sanity check.
9267
9268 src/liblzma/lzma/lzma_encoder_private.h |    6 ++++--
9269 1 files changed, 4 insertions(+), 2 deletions(-)
9270
9271commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
9272Author: Lasse Collin <lasse.collin@tukaani.org>
9273Date:   2008-01-14 13:39:54 +0200
9274
9275    Major changes to LZ encoder, LZMA encoder, and range encoder.
9276    These changes implement support for LZMA_SYNC_FLUSH in LZMA
9277    encoder, and move the temporary buffer needed by range encoder
9278    from lzma_range_encoder structure to lzma_lz_encoder.
9279
9280 src/liblzma/lz/lz_encoder.c            |  138 +++++++++++++++++++++++++++-----
9281 src/liblzma/lz/lz_encoder.h            |   17 +++-
9282 src/liblzma/lzma/lzma_encoder.c        |   74 ++++++++++-------
9283 src/liblzma/rangecoder/range_encoder.h |  117 ++++++++-------------------
9284 4 files changed, 206 insertions(+), 140 deletions(-)
9285
9286commit b59ef3973781f892c0a72b5e5934194567100be5
9287Author: Lasse Collin <lasse.collin@tukaani.org>
9288Date:   2008-01-14 13:34:29 +0200
9289
9290    Added one assert() to process.c of the command line tool.
9291
9292 src/lzma/process.c |    1 +
9293 1 files changed, 1 insertions(+), 0 deletions(-)
9294
9295commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
9296Author: Lasse Collin <lasse.collin@tukaani.org>
9297Date:   2008-01-14 12:09:52 +0200
9298
9299    Don't use coder->lz.stream_end_was_reached in assertions
9300    in match_c.h.
9301
9302 src/liblzma/lz/match_c.h |    2 --
9303 1 files changed, 0 insertions(+), 2 deletions(-)
9304
9305commit 3e09e1c05871f3757f759b801890ccccc9286608
9306Author: Lasse Collin <lasse.collin@tukaani.org>
9307Date:   2008-01-14 12:08:02 +0200
9308
9309    In lzma_read_match_distances(), don't use
9310    coder->lz.stream_end_was_reached. That variable
9311    will be removed, and the check isn't required anyway.
9312    Rearrange the check so that it doesn't make one to
9313    think that there could be an integer overflow.
9314
9315 src/liblzma/lzma/lzma_encoder_private.h |    6 +++---
9316 1 files changed, 3 insertions(+), 3 deletions(-)
9317
9318commit a670fec8021e5962429689c194148a04c3418872
9319Author: Lasse Collin <lasse.collin@tukaani.org>
9320Date:   2008-01-14 11:56:41 +0200
9321
9322    Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
9323
9324 src/liblzma/common/block_encoder.c         |    4 ++--
9325 src/liblzma/common/stream_encoder_single.c |    1 +
9326 2 files changed, 3 insertions(+), 2 deletions(-)
9327
9328commit 3599dba9570a6972a16b6398d6c838e9b420e985
9329Author: Lasse Collin <lasse.collin@tukaani.org>
9330Date:   2008-01-14 11:54:56 +0200
9331
9332    More fixes to LZMA decoder's flush marker handling.
9333
9334 src/liblzma/lzma/lzma_decoder.c |   52 ++++++++++++++++++++++----------------
9335 1 files changed, 30 insertions(+), 22 deletions(-)
9336
9337commit f73c2ab6079ed5675a42b39d584a567befbd4624
9338Author: Lasse Collin <lasse.collin@tukaani.org>
9339Date:   2008-01-10 17:13:42 +0200
9340
9341    Eliminate lzma_lz_encoder.must_move_pos. It's needed
9342    only in one place which isn't performance criticial.
9343
9344 src/liblzma/lz/lz_encoder.c |    6 ++----
9345 src/liblzma/lz/lz_encoder.h |    4 ----
9346 2 files changed, 2 insertions(+), 8 deletions(-)
9347
9348commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
9349Author: Lasse Collin <lasse.collin@tukaani.org>
9350Date:   2008-01-09 20:05:57 +0200
9351
9352    Define HAVE_ASM_X86 when x86 assembler optimizations are
9353    used. This #define will be useful for inline assembly.
9354
9355 configure.ac |    5 ++++-
9356 1 files changed, 4 insertions(+), 1 deletions(-)
9357
9358commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
9359Author: Lasse Collin <lasse.collin@tukaani.org>
9360Date:   2008-01-09 12:06:46 +0200
9361
9362    Added good-single-none-empty_3.lzma and
9363    bad-single-none-empty.lzma.
9364
9365 tests/files/README                        |    6 ++++++
9366 tests/files/bad-single-none-empty.lzma    |  Bin 0 -> 19 bytes
9367 tests/files/good-single-none-empty_3.lzma |  Bin 0 -> 19 bytes
9368 3 files changed, 6 insertions(+), 0 deletions(-)
9369
9370commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
9371Author: Lasse Collin <lasse.collin@tukaani.org>
9372Date:   2008-01-08 23:11:59 +0200
9373
9374    Take advantage of return_if_error() in block_decoder.c.
9375
9376 src/liblzma/common/block_decoder.c |   23 +++++++----------------
9377 1 files changed, 7 insertions(+), 16 deletions(-)
9378
9379commit 97d5fa82077e57815dfad995dc393c2809a78539
9380Author: Lasse Collin <lasse.collin@tukaani.org>
9381Date:   2008-01-08 23:10:57 +0200
9382
9383    Updated tests/files/README.
9384
9385 tests/files/README |   15 +++++++++------
9386 1 files changed, 9 insertions(+), 6 deletions(-)
9387
9388commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
9389Author: Lasse Collin <lasse.collin@tukaani.org>
9390Date:   2008-01-08 23:05:40 +0200
9391
9392    Added test files with empty Compressed Data.
9393
9394 tests/files/README                        |    6 ++++++
9395 tests/files/good-single-lzma-empty.lzma   |  Bin 0 -> 21 bytes
9396 tests/files/good-single-none-empty_1.lzma |  Bin 0 -> 18 bytes
9397 tests/files/good-single-none-empty_2.lzma |  Bin 0 -> 26 bytes
9398 4 files changed, 6 insertions(+), 0 deletions(-)
9399
9400commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
9401Author: Lasse Collin <lasse.collin@tukaani.org>
9402Date:   2008-01-08 22:58:42 +0200
9403
9404    Fix decoding of Blocks that have only Block Header.
9405
9406 src/liblzma/common/block_decoder.c |   37 +++++++++++++----------------------
9407 1 files changed, 14 insertions(+), 23 deletions(-)
9408
9409commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
9410Author: Lasse Collin <lasse.collin@tukaani.org>
9411Date:   2008-01-08 22:27:46 +0200
9412
9413    Added good-single-subblock_implicit.lzma.
9414
9415 tests/files/README                             |    2 ++
9416 tests/files/good-single-subblock_implicit.lzma |  Bin 0 -> 35 bytes
9417 2 files changed, 2 insertions(+), 0 deletions(-)
9418
9419commit faeac7b7aca75f86afed1e7cc06279d9d497c627
9420Author: Lasse Collin <lasse.collin@tukaani.org>
9421Date:   2008-01-08 18:50:30 +0200
9422
9423    Disable CRC32 from Block Headers when --check=none
9424    has been specified.
9425
9426 src/lzma/process.c |    2 +-
9427 1 files changed, 1 insertions(+), 1 deletions(-)
9428
9429commit a751126dbb656767ed4666cf0e5d3e17349d93d1
9430Author: Lasse Collin <lasse.collin@tukaani.org>
9431Date:   2008-01-08 13:36:29 +0200
9432
9433    Fixed encoding of empty files. Arguments to is_size_valid()
9434    were in wrong order in block_encoder.c.
9435
9436 src/liblzma/common/block_encoder.c |    2 +-
9437 1 files changed, 1 insertions(+), 1 deletions(-)
9438
9439commit 9080267603b1006c4867c823307dca9df8be0d20
9440Author: Lasse Collin <lasse.collin@tukaani.org>
9441Date:   2008-01-08 13:35:36 +0200
9442
9443    Added a few test files.
9444
9445 tests/files/README                                 |   21 +++++++++++++++++--
9446 tests/files/bad-cat-single-none-pad_garbage_1.lzma |  Bin 0 -> 65 bytes
9447 tests/files/bad-cat-single-none-pad_garbage_2.lzma |  Bin 0 -> 65 bytes
9448 tests/files/bad-cat-single-none-pad_garbage_3.lzma |  Bin 0 -> 65 bytes
9449 tests/files/bad-single-data_after_eopm.lzma        |  Bin 55 -> 0 bytes
9450 tests/files/bad-single-data_after_eopm_1.lzma      |  Bin 0 -> 55 bytes
9451 tests/files/bad-single-none-truncated.lzma         |  Bin 0 -> 29 bytes
9452 7 files changed, 18 insertions(+), 3 deletions(-)
9453
9454commit b4943ccf73b64fc93a90a23474509c316f55eb2b
9455Author: Lasse Collin <lasse.collin@tukaani.org>
9456Date:   2008-01-08 12:29:58 +0200
9457
9458    Avoid using ! in test_files.sh, because that doesn't work
9459    with some ancient /bin/sh versions.
9460
9461 tests/test_files.sh |    4 +++-
9462 1 files changed, 3 insertions(+), 1 deletions(-)
9463
9464commit e2417b2b9134f3f65e14b61e23cd3644d8954353
9465Author: Lasse Collin <lasse.collin@tukaani.org>
9466Date:   2008-01-08 00:48:30 +0200
9467
9468    More pre-C99 inttypes.h compatibility fixes. Now the code
9469    should work even if the system has no inttypes.h.
9470
9471 src/common/physmem.h               |   11 -----------
9472 src/liblzma/check/crc32_init.c     |    5 +----
9473 src/liblzma/check/crc32_tablegen.c |    7 ++-----
9474 src/liblzma/check/crc64_init.c     |    5 +----
9475 src/liblzma/check/crc64_tablegen.c |    7 ++-----
9476 5 files changed, 6 insertions(+), 29 deletions(-)
9477
9478commit 5d227e51c23639423f4ade06aabb54e131f8505e
9479Author: Lasse Collin <lasse.collin@tukaani.org>
9480Date:   2008-01-07 23:25:32 +0200
9481
9482    Updated fi.po although it's currently pretty much crap.
9483
9484 po/fi.po |   12 ++++++------
9485 1 files changed, 6 insertions(+), 6 deletions(-)
9486
9487commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
9488Author: Lasse Collin <lasse.collin@tukaani.org>
9489Date:   2008-01-07 23:14:25 +0200
9490
9491    Test for $GCC = yes instead of if it is non-empty. This
9492    way it is possible to use ac_cv_c_compiler_gnu=no to
9493    force configure to think it is using non-GNU C compiler.
9494
9495 configure.ac |    2 +-
9496 1 files changed, 1 insertions(+), 1 deletions(-)
9497
9498commit 3dbbea82b74bb841c995ad332a3aeca613015e10
9499Author: Lasse Collin <lasse.collin@tukaani.org>
9500Date:   2008-01-07 21:49:41 +0200
9501
9502    Added test_files.sh to tests/Makefile.am so it gets
9503    included in the tarball with "make dist".
9504
9505 tests/Makefile.am |    2 +-
9506 1 files changed, 1 insertions(+), 1 deletions(-)
9507
9508commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
9509Author: Lasse Collin <lasse.collin@tukaani.org>
9510Date:   2008-01-07 18:22:24 +0200
9511
9512    Cosmetic edit to test_files.sh.
9513
9514 tests/test_files.sh |    4 ++--
9515 1 files changed, 2 insertions(+), 2 deletions(-)
9516
9517commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
9518Author: Lasse Collin <lasse.collin@tukaani.org>
9519Date:   2008-01-07 18:09:44 +0200
9520
9521    Added tests/files/README.
9522
9523 tests/files/README |  108 ++++++++++++++++++++++++++++++++++++++++++++++++++++
9524 1 files changed, 108 insertions(+), 0 deletions(-)
9525
9526commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
9527Author: Lasse Collin <lasse.collin@tukaani.org>
9528Date:   2008-01-07 14:20:57 +0200
9529
9530    Tell in COPYING that everything in tests/files is
9531    public domain.
9532
9533 COPYING |    3 ++-
9534 1 files changed, 2 insertions(+), 1 deletions(-)
9535
9536commit 3502b3e1d00251d3c8dda96079440705c28d8225
9537Author: Lasse Collin <lasse.collin@tukaani.org>
9538Date:   2008-01-07 14:19:05 +0200
9539
9540    Cleaned up the tests/files directory.
9541
9542 tests/files/bad-single-subblock-padding_loop.lzma  |  Bin 0 -> 43 bytes
9543 tests/files/bad-single-subblock1023-slow.lzma      |  Bin 0 -> 7886 bytes
9544 tests/files/malicious-single-subblock-loop.lzma    |  Bin 43 -> 0 bytes
9545 tests/files/malicious-single-subblock-lzma.lzma    |  Bin 505 -> 0 bytes
9546 .../files/malicious-single-subblock1023-slow.lzma  |  Bin 7886 -> 0 bytes
9547 5 files changed, 0 insertions(+), 0 deletions(-)
9548
9549commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
9550Author: Lasse Collin <lasse.collin@tukaani.org>
9551Date:   2008-01-07 13:49:19 +0200
9552
9553    Added test_files.sh to test decoding of the files in
9554    the tests/files directory. It doesn't test the malicious
9555    files yet.
9556
9557 tests/Makefile.am   |    4 +++-
9558 tests/test_files.sh |   40 ++++++++++++++++++++++++++++++++++++++++
9559 2 files changed, 43 insertions(+), 1 deletions(-)
9560
9561commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
9562Author: Lasse Collin <lasse.collin@tukaani.org>
9563Date:   2008-01-07 11:23:13 +0200
9564
9565    Updated README regarding the assembler optimizations.
9566
9567 README |   10 +++++-----
9568 1 files changed, 5 insertions(+), 5 deletions(-)
9569
9570commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
9571Author: Lasse Collin <lasse.collin@tukaani.org>
9572Date:   2008-01-07 10:58:00 +0200
9573
9574    Updated THANKS.
9575
9576 THANKS |    1 +
9577 1 files changed, 1 insertions(+), 0 deletions(-)
9578
9579commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
9580Author: Lasse Collin <lasse.collin@tukaani.org>
9581Date:   2008-01-06 21:47:17 +0200
9582
9583    Cosmetic changes to configure.ac.
9584
9585 configure.ac |   14 ++++++--------
9586 1 files changed, 6 insertions(+), 8 deletions(-)
9587
9588commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
9589Author: Lasse Collin <lasse.collin@tukaani.org>
9590Date:   2008-01-06 19:46:38 +0200
9591
9592    Automatically disable assembler code on Darwin x86.
9593    Darwin has different ABI than GNU+Linux and Solaris,
9594    thus the assembler code doesn't assemble on Darwin.
9595
9596 configure.ac |   17 +++++++++++++++--
9597 1 files changed, 15 insertions(+), 2 deletions(-)
9598
9599commit c15a7abf66e3a70792f7444115e484c7981c8284
9600Author: Lasse Collin <lasse.collin@tukaani.org>
9601Date:   2008-01-06 19:45:27 +0200
9602
9603    With printf(), use PRIu64 with a cast to uint64_t instead
9604    of %zu, because some pre-C99 libc versions don't support %zu.
9605
9606 src/lzma/help.c       |   13 +++++++------
9607 src/lzmadec/lzmadec.c |    6 ++++--
9608 2 files changed, 11 insertions(+), 8 deletions(-)
9609
9610commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
9611Author: Lasse Collin <lasse.collin@tukaani.org>
9612Date:   2008-01-06 16:27:41 +0200
9613
9614    Introduced compatibility with systems that have pre-C99
9615    or no inttypes.h. This is useful when the compiler has
9616    good enough support for C99, but libc headers don't.
9617
9618    Changed liblzma API so that sys/types.h and inttypes.h
9619    have to be #included before #including lzma.h. On systems
9620    that don't have C99 inttypes.h, it's the problem of the
9621    applications to provide the required types and macros
9622    before #including lzma.h.
9623
9624    If lzma.h defined the missing types and macros, it could
9625    conflict with third-party applications whose configure
9626    has detected that the types are missing and defined them
9627    in config.h already. An alternative would have been
9628    introducing lzma_uint32 and similar types, but that would
9629    just be an extra pain on modern systems.
9630
9631 configure.ac                       |   13 +++++++-
9632 doc/liblzma-intro.txt              |   10 +++++-
9633 src/common/sysdefs.h               |   59 +++++++++++++++++++++++++++++++++++-
9634 src/liblzma/api/lzma.h             |   40 ++++++++++++++++--------
9635 src/liblzma/check/crc32_table.c    |    4 +--
9636 src/liblzma/check/crc32_table_be.h |    2 -
9637 src/liblzma/check/crc32_table_le.h |    2 -
9638 src/liblzma/check/crc32_tablegen.c |    1 -
9639 src/liblzma/check/crc64_table.c    |    4 +--
9640 src/liblzma/check/crc64_table_be.h |    2 -
9641 src/liblzma/check/crc64_table_le.h |    2 -
9642 src/liblzma/check/crc64_tablegen.c |    1 -
9643 src/lzma/private.h                 |    1 -
9644 13 files changed, 106 insertions(+), 35 deletions(-)
9645
9646commit a71864f77dfb76b5d78a270641539947c312583a
9647Author: Lasse Collin <lasse.collin@tukaani.org>
9648Date:   2008-01-05 19:57:00 +0200
9649
9650    Fix typo in comment (INT64_MAX -> UINT64_MAX).
9651
9652 src/liblzma/api/lzma/vli.h |    2 +-
9653 1 files changed, 1 insertions(+), 1 deletions(-)
9654
9655commit 072927905a3b66281c6311b4b351caa501d8b73a
9656Author: Lasse Collin <lasse.collin@tukaani.org>
9657Date:   2008-01-05 19:42:04 +0200
9658
9659    Rearranged testing of GCC-specific flags.
9660
9661 configure.ac |   33 +++++++++++++++++++++++----------
9662 1 files changed, 23 insertions(+), 10 deletions(-)
9663
9664commit d160ee32598c6d1cd9054ef019e8c9331208b188
9665Author: Lasse Collin <lasse.collin@tukaani.org>
9666Date:   2008-01-05 01:20:24 +0200
9667
9668    Another bug fix for flush marker detection.
9669
9670 src/liblzma/lzma/lzma_decoder.c |   10 +++++++++-
9671 1 files changed, 9 insertions(+), 1 deletions(-)
9672
9673commit fc67f79f607cbfa78c6f47a69dec098d8659b162
9674Author: Lasse Collin <lasse.collin@tukaani.org>
9675Date:   2008-01-04 21:37:01 +0200
9676
9677    Fix stupid bugs in flush marker detection.
9678
9679 src/liblzma/lzma/lzma_decoder.c |    7 ++++---
9680 1 files changed, 4 insertions(+), 3 deletions(-)
9681
9682commit 0029cbbabe87d491fc046a55a629a6d556010baa
9683Author: Lasse Collin <lasse.collin@tukaani.org>
9684Date:   2008-01-04 21:30:33 +0200
9685
9686    Added support for flush marker, which will be in files
9687    that use LZMA_SYNC_FLUSH with encoder (not implemented
9688    yet). This is a new feature in the raw LZMA format,
9689    which isn't supported by old decoders. This shouldn't
9690    be a problem in practice, since lzma_alone_encoder()
9691    will not allow LZMA_SYNC_FLUSH, and thus not allow
9692    creating files on decodable with old decoders.
9693
9694    Made lzma_decoder.c to require tab width of 4 characters
9695    if one wants to fit the code in 80 columns. This makes
9696    the code easier to read.
9697
9698 src/liblzma/lzma/lzma_common.h  |    4 +
9699 src/liblzma/lzma/lzma_decoder.c |  217 ++++++++++++++++++---------------------
9700 2 files changed, 104 insertions(+), 117 deletions(-)
9701
9702commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
9703Author: Lasse Collin <lasse.collin@tukaani.org>
9704Date:   2008-01-04 20:45:05 +0200
9705
9706    Moved range decoder initialization (reading the first
9707    five input bytes) from LZMA decoder to range decoder
9708    header. Did the same for decoding of direct bits.
9709
9710 src/liblzma/lzma/lzma_decoder.c        |   42 ++-------------
9711 src/liblzma/rangecoder/range_decoder.h |   87 ++++++++++++++++++++++----------
9712 2 files changed, 66 insertions(+), 63 deletions(-)
9713
9714commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
9715Author: Lasse Collin <lasse.collin@tukaani.org>
9716Date:   2007-12-14 11:15:21 +0200
9717
9718    Added a note to README that --disable-assembler
9719    must be used on Darwin.
9720
9721 README |    4 ++++
9722 1 files changed, 4 insertions(+), 0 deletions(-)
9723
9724commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
9725Author: Lasse Collin <lasse.collin@tukaani.org>
9726Date:   2007-12-14 10:07:10 +0200
9727
9728    Use the filename suffix .S instead of .s for assembler files
9729    so that the preprocessor removes the /* */ style comments,
9730    which are not supported by some non-GNU assemblers (Solaris)
9731    that otherwise work with this code.
9732
9733 src/liblzma/check/Makefile.am |    4 +-
9734 src/liblzma/check/crc32_x86.S |  217 +++++++++++++++++++++++++++++++++++++++++
9735 src/liblzma/check/crc32_x86.s |  217 -----------------------------------------
9736 src/liblzma/check/crc64_x86.S |  203 ++++++++++++++++++++++++++++++++++++++
9737 src/liblzma/check/crc64_x86.s |  203 --------------------------------------
9738 5 files changed, 422 insertions(+), 422 deletions(-)
9739
9740commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
9741Author: Lasse Collin <lasse.collin@tukaani.org>
9742Date:   2007-12-14 09:59:05 +0200
9743
9744    Fixed wrong symbol name in crc64_x86.s.
9745
9746 src/liblzma/check/crc64_x86.s |    2 +-
9747 1 files changed, 1 insertions(+), 1 deletions(-)
9748
9749commit 2881570df6803eed2fe550af34574e8e61794804
9750Author: Lasse Collin <lasse.collin@tukaani.org>
9751Date:   2007-12-14 09:53:24 +0200
9752
9753    Use .globl instead of .global in x86 assembler code for
9754    better portability. Still needs fixing the commenting.
9755
9756 src/liblzma/check/crc32_x86.s |    2 +-
9757 src/liblzma/check/crc64_x86.s |    2 +-
9758 2 files changed, 2 insertions(+), 2 deletions(-)
9759
9760commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
9761Author: Lasse Collin <lasse.collin@tukaani.org>
9762Date:   2007-12-13 20:14:37 +0200
9763
9764    Fixed a few short options that take an argument.
9765    short_opts[] was missing colons to indicate
9766    required argument. Thanks to Fabio Pedretti for
9767    the bug report.
9768
9769 src/lzma/args.c |    2 +-
9770 1 files changed, 1 insertions(+), 1 deletions(-)
9771
9772commit 918bcb0e0728d2d976621e9f35b56f224f11d989
9773Author: Lasse Collin <lasse.collin@tukaani.org>
9774Date:   2007-12-11 17:08:04 +0200
9775
9776    Removed uncompressed size tracking from Delta encoder too.
9777
9778 src/liblzma/common/delta_coder.c |   21 +++------------------
9779 1 files changed, 3 insertions(+), 18 deletions(-)
9780
9781commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
9782Author: Lasse Collin <lasse.collin@tukaani.org>
9783Date:   2007-12-11 16:49:19 +0200
9784
9785    Remove uncompressed size tracking from the filter encoders.
9786    It's not strictly needed there, and just complicates the
9787    code. LZ encoder never even had this feature.
9788
9789    The primary reason to have uncompressed size tracking in
9790    filter encoders was validating that the application
9791    doesn't give different amount of input that it had
9792    promised. A side effect was to validate internal workings
9793    of liblzma.
9794
9795    Uncompressed size tracking is still present in the Block
9796    encoder. Maybe it should be added to LZMA_Alone and raw
9797    encoders too. It's simpler to have one coder just to
9798    validate the uncompressed size instead of having it
9799    in every filter.
9800
9801 src/liblzma/common/copy_coder.c         |   25 +------------------
9802 src/liblzma/simple/simple_coder.c       |   29 +++--------------------
9803 src/liblzma/subblock/subblock_encoder.c |   38 +++++--------------------------
9804 3 files changed, 12 insertions(+), 80 deletions(-)
9805
9806commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
9807Author: Lasse Collin <lasse.collin@tukaani.org>
9808Date:   2007-12-11 14:10:53 +0200
9809
9810    Get rid of no-NLS gnulib. I don't know how to get it
9811    working with Automake. People who want smaller lzmadec
9812    should use --disable-nls on non-GNU systems.
9813
9814 lib/Makefile.am         |   10 +---------
9815 src/lzma/Makefile.am    |    2 +-
9816 src/lzmadec/Makefile.am |    4 +++-
9817 3 files changed, 5 insertions(+), 11 deletions(-)
9818
9819commit ce8b036a6c7a43b290356b673d953f6d76b2be64
9820Author: Lasse Collin <lasse.collin@tukaani.org>
9821Date:   2007-12-11 14:09:35 +0200
9822
9823    Fixed a typo in tests/Makefile.am which prevented
9824    building the tests if gnulib was needed.
9825
9826 tests/Makefile.am |    2 +-
9827 1 files changed, 1 insertions(+), 1 deletions(-)
9828
9829commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
9830Author: Lasse Collin <lasse.collin@tukaani.org>
9831Date:   2007-12-11 11:18:58 +0200
9832
9833    Fixed wrong type of flags_size in Subblock encoder.
9834
9835 src/liblzma/subblock/subblock_encoder.c |    2 +-
9836 1 files changed, 1 insertions(+), 1 deletions(-)
9837
9838commit ce64df716243fdc40359090d1f6541f3a4f5f21a
9839Author: Lasse Collin <lasse.collin@tukaani.org>
9840Date:   2007-12-10 20:44:16 +0200
9841
9842    Bumped version number to 4.42.3alpha.
9843
9844 configure.ac                   |    2 +-
9845 src/liblzma/api/lzma/version.h |    2 +-
9846 2 files changed, 2 insertions(+), 2 deletions(-)
9847
9848commit b499a0403ea5c41d6a25b40275eb6c57643052ce
9849Author: Lasse Collin <lasse.collin@tukaani.org>
9850Date:   2007-12-10 15:02:50 +0200
9851
9852    Disabled some unneeded warnings and made "make dist" work.
9853
9854 Makefile.am  |    9 +++------
9855 configure.ac |    9 ++++++---
9856 po/fi.po     |   47 ++++++++++++++++++++++++-----------------------
9857 3 files changed, 33 insertions(+), 32 deletions(-)
9858
9859commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
9860Author: Lasse Collin <lasse.collin@tukaani.org>
9861Date:   2007-12-09 21:43:15 +0200
9862
9863    Added LZMA_SYNC_FLUSH support to the Copy filter.
9864
9865 src/liblzma/common/copy_coder.c |   92 ++++++++++++++++++++++++---------------
9866 1 files changed, 57 insertions(+), 35 deletions(-)
9867
9868commit 329c272d501e88793dda5540358d55c12428d194
9869Author: Lasse Collin <lasse.collin@tukaani.org>
9870Date:   2007-12-09 17:14:07 +0200
9871
9872    Added missing LZMA_API to the C versions of the CRC functions.
9873    The x86 assembler versions were already OK.
9874
9875 src/liblzma/check/crc32.c |    2 +-
9876 src/liblzma/check/crc64.c |    2 +-
9877 2 files changed, 2 insertions(+), 2 deletions(-)
9878
9879commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
9880Author: Jim Meyering <meyering@redhat.com>
9881Date:   2007-12-09 15:34:25 +0100
9882
9883    * tests/test_block_header.c (test3): Remove duplicate initializer.
9884
9885 autogen.sh                |    2 +-
9886 tests/test_block_header.c |    1 -
9887 2 files changed, 1 insertions(+), 2 deletions(-)
9888
9889commit 07ac881779a8477f2c1ab112b91a129e24aa743c
9890Author: Lasse Collin <lasse.collin@tukaani.org>
9891Date:   2007-12-09 17:06:45 +0200
9892
9893    Take advantage of return_if_error() macro in more places.
9894    Cleaned Subblock filter's initialization code too.
9895
9896 src/liblzma/common/block_decoder.c         |   22 +++-------
9897 src/liblzma/common/delta_coder.c           |    8 +---
9898 src/liblzma/common/stream_decoder.c        |   17 +++-----
9899 src/liblzma/common/stream_encoder_multi.c  |   68 +++++++++------------------
9900 src/liblzma/common/stream_encoder_single.c |    8 +--
9901 src/liblzma/subblock/subblock_decoder.c    |   33 +++++---------
9902 src/liblzma/subblock/subblock_encoder.c    |   45 +++++-------------
9903 7 files changed, 63 insertions(+), 138 deletions(-)
9904
9905commit 41338717964f510ee61d70b25bd4c502ec9f77cf
9906Author: Lasse Collin <lasse.collin@tukaani.org>
9907Date:   2007-12-09 12:13:01 +0200
9908
9909    Added a bunch of .lzma test files.
9910
9911 tests/files/bad-single-data_after_eopm.lzma        |  Bin 0 -> 55 bytes
9912 tests/files/bad-single-data_after_eopm_2.lzma      |  Bin 0 -> 56 bytes
9913 tests/files/bad-single-subblock_subblock.lzma      |  Bin 0 -> 26 bytes
9914 tests/files/good-cat-single-none-pad.lzma          |  Bin 0 -> 64 bytes
9915 tests/files/good-single-delta-lzma.tiff.lzma       |  Bin 0 -> 51409 bytes
9916 tests/files/good-single-lzma.lzma                  |  Bin 0 -> 44 bytes
9917 tests/files/good-single-none-pad.lzma              |  Bin 0 -> 32 bytes
9918 tests/files/good-single-none.lzma                  |  Bin 0 -> 30 bytes
9919 tests/files/good-single-subblock-lzma.lzma         |  Bin 0 -> 50 bytes
9920 tests/files/good-single-subblock_rle.lzma          |  Bin 0 -> 118 bytes
9921 tests/files/malicious-multi-metadata-64PiB.lzma    |  Bin 0 -> 51 bytes
9922 tests/files/malicious-single-subblock-256MiB.lzma  |  Bin 0 -> 30 bytes
9923 tests/files/malicious-single-subblock-64PiB.lzma   |  Bin 0 -> 45 bytes
9924 tests/files/malicious-single-subblock-loop.lzma    |  Bin 0 -> 43 bytes
9925 tests/files/malicious-single-subblock-lzma.lzma    |  Bin 0 -> 505 bytes
9926 .../files/malicious-single-subblock1023-slow.lzma  |  Bin 0 -> 7886 bytes
9927 tests/files/malicious-single-subblock31-slow.lzma  |  Bin 0 -> 1233 bytes
9928 17 files changed, 0 insertions(+), 0 deletions(-)
9929
9930commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
9931Author: Lasse Collin <lasse.collin@tukaani.org>
9932Date:   2007-12-09 11:24:48 +0200
9933
9934    Re-enabled the security checks in Subblock decoder
9935    that were disabled for debugging reasons.
9936
9937 src/liblzma/subblock/subblock_decoder.c |    6 +++---
9938 1 files changed, 3 insertions(+), 3 deletions(-)
9939
9940commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
9941Author: Lasse Collin <lasse.collin@tukaani.org>
9942Date:   2007-12-09 11:03:28 +0200
9943
9944    Fixed the tests to build with -Werror.
9945
9946 tests/test_block_header.c |    2 +-
9947 tests/test_check.c        |    2 +-
9948 tests/test_filter_flags.c |    2 +-
9949 tests/test_index.c        |   14 +++++++-------
9950 tests/test_info.c         |    2 +-
9951 tests/test_stream_flags.c |    2 +-
9952 6 files changed, 12 insertions(+), 12 deletions(-)
9953
9954commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
9955Author: Lasse Collin <lasse.collin@tukaani.org>
9956Date:   2007-12-09 00:42:33 +0200
9957
9958    Imported to git.
9959
9960 AUTHORS                                        |   18 +
9961 COPYING                                        |   24 +
9962 COPYING.GPLv2                                  |  339 +++++
9963 COPYING.GPLv3                                  |  674 +++++++++
9964 COPYING.LGPLv2.1                               |  504 +++++++
9965 ChangeLog                                      |    2 +
9966 Doxyfile.in                                    | 1229 ++++++++++++++++
9967 Makefile.am                                    |   38 +
9968 README                                         |  151 ++
9969 THANKS                                         |   23 +
9970 TODO                                           |  109 ++
9971 autogen.sh                                     |   38 +
9972 configure.ac                                   |  611 ++++++++
9973 doc/bugs.txt                                   |   46 +
9974 doc/faq.txt                                    |  247 ++++
9975 doc/file-format.txt                            | 1861 ++++++++++++++++++++++++
9976 doc/history.txt                                |  140 ++
9977 doc/liblzma-advanced.txt                       |  324 ++++
9978 doc/liblzma-hacking.txt                        |  112 ++
9979 doc/liblzma-intro.txt                          |  188 +++
9980 doc/liblzma-security.txt                       |  219 +++
9981 doc/lzma-intro.txt                             |  107 ++
9982 extra/scanlzma/scanlzma.c                      |   85 ++
9983 lib/Makefile.am                                |   40 +
9984 lib/getopt.c                                   | 1191 +++++++++++++++
9985 lib/getopt1.c                                  |  171 +++
9986 lib/getopt_.h                                  |  226 +++
9987 lib/getopt_int.h                               |  131 ++
9988 lib/gettext.h                                  |  240 +++
9989 m4/acx_pthread.m4                              |  279 ++++
9990 m4/getopt.m4                                   |   83 ++
9991 po/LINGUAS                                     |    1 +
9992 po/Makevars                                    |   46 +
9993 po/POTFILES.in                                 |   13 +
9994 po/fi.po                                       |  445 ++++++
9995 src/Makefile.am                                |   16 +
9996 src/common/open_stdxxx.h                       |   50 +
9997 src/common/physmem.h                           |   77 +
9998 src/common/sysdefs.h                           |  100 ++
9999 src/liblzma/Makefile.am                        |   47 +
10000 src/liblzma/api/Makefile.am                    |   39 +
10001 src/liblzma/api/lzma.h                         |  122 ++
10002 src/liblzma/api/lzma/alignment.h               |   60 +
10003 src/liblzma/api/lzma/alone.h                   |   82 ++
10004 src/liblzma/api/lzma/auto.h                    |   41 +
10005 src/liblzma/api/lzma/base.h                    |  410 ++++++
10006 src/liblzma/api/lzma/block.h                   |  409 ++++++
10007 src/liblzma/api/lzma/check.h                   |  128 ++
10008 src/liblzma/api/lzma/copy.h                    |   29 +
10009 src/liblzma/api/lzma/delta.h                   |   49 +
10010 src/liblzma/api/lzma/extra.h                   |  114 ++
10011 src/liblzma/api/lzma/filter.h                  |  166 +++
10012 src/liblzma/api/lzma/index.h                   |   84 ++
10013 src/liblzma/api/lzma/info.h                    |  315 ++++
10014 src/liblzma/api/lzma/init.h                    |   85 ++
10015 src/liblzma/api/lzma/lzma.h                    |  312 ++++
10016 src/liblzma/api/lzma/memlimit.h                |  157 ++
10017 src/liblzma/api/lzma/metadata.h                |  100 ++
10018 src/liblzma/api/lzma/raw.h                     |   72 +
10019 src/liblzma/api/lzma/simple.h                  |   85 ++
10020 src/liblzma/api/lzma/stream.h                  |  178 +++
10021 src/liblzma/api/lzma/stream_flags.h            |  142 ++
10022 src/liblzma/api/lzma/subblock.h                |  197 +++
10023 src/liblzma/api/lzma/version.h                 |   59 +
10024 src/liblzma/api/lzma/vli.h                     |  244 ++++
10025 src/liblzma/check/Makefile.am                  |   64 +
10026 src/liblzma/check/check.c                      |  160 ++
10027 src/liblzma/check/check.h                      |  102 ++
10028 src/liblzma/check/check_byteswap.h             |   43 +
10029 src/liblzma/check/check_init.c                 |   37 +
10030 src/liblzma/check/crc32.c                      |   88 ++
10031 src/liblzma/check/crc32_init.c                 |   58 +
10032 src/liblzma/check/crc32_table.c                |   22 +
10033 src/liblzma/check/crc32_table_be.h             |  527 +++++++
10034 src/liblzma/check/crc32_table_le.h             |  527 +++++++
10035 src/liblzma/check/crc32_tablegen.c             |   55 +
10036 src/liblzma/check/crc32_x86.s                  |  217 +++
10037 src/liblzma/check/crc64.c                      |   75 +
10038 src/liblzma/check/crc64_init.c                 |   58 +
10039 src/liblzma/check/crc64_table.c                |   22 +
10040 src/liblzma/check/crc64_table_be.h             |  523 +++++++
10041 src/liblzma/check/crc64_table_le.h             |  523 +++++++
10042 src/liblzma/check/crc64_tablegen.c             |   56 +
10043 src/liblzma/check/crc64_x86.s                  |  203 +++
10044 src/liblzma/check/crc_macros.h                 |   33 +
10045 src/liblzma/check/sha256.c                     |  203 +++
10046 src/liblzma/common/Makefile.am                 |   94 ++
10047 src/liblzma/common/alignment.c                 |  118 ++
10048 src/liblzma/common/allocator.c                 |   57 +
10049 src/liblzma/common/alone_decoder.c             |  197 +++
10050 src/liblzma/common/alone_decoder.h             |   24 +
10051 src/liblzma/common/alone_encoder.c             |  167 +++
10052 src/liblzma/common/auto_decoder.c              |  113 ++
10053 src/liblzma/common/block_decoder.c             |  405 +++++
10054 src/liblzma/common/block_decoder.h             |   29 +
10055 src/liblzma/common/block_encoder.c             |  375 +++++
10056 src/liblzma/common/block_encoder.h             |   29 +
10057 src/liblzma/common/block_header_decoder.c      |  373 +++++
10058 src/liblzma/common/block_header_encoder.c      |  211 +++
10059 src/liblzma/common/block_private.h             |   46 +
10060 src/liblzma/common/chunk_size.c                |   74 +
10061 src/liblzma/common/code.c                      |  203 +++
10062 src/liblzma/common/common.h                    |  271 ++++
10063 src/liblzma/common/copy_coder.c                |  143 ++
10064 src/liblzma/common/copy_coder.h                |   31 +
10065 src/liblzma/common/delta_coder.c               |  210 +++
10066 src/liblzma/common/delta_coder.h               |   31 +
10067 src/liblzma/common/extra.c                     |   33 +
10068 src/liblzma/common/features.c                  |   70 +
10069 src/liblzma/common/filter_flags_decoder.c      |  382 +++++
10070 src/liblzma/common/filter_flags_encoder.c      |  359 +++++
10071 src/liblzma/common/index.c                     |  140 ++
10072 src/liblzma/common/info.c                      |  823 +++++++++++
10073 src/liblzma/common/init.c                      |   39 +
10074 src/liblzma/common/init_decoder.c              |   33 +
10075 src/liblzma/common/init_encoder.c              |   44 +
10076 src/liblzma/common/memory_limitter.c           |  200 +++
10077 src/liblzma/common/memory_usage.c              |  113 ++
10078 src/liblzma/common/metadata_decoder.c          |  555 +++++++
10079 src/liblzma/common/metadata_decoder.h          |   31 +
10080 src/liblzma/common/metadata_encoder.c          |  436 ++++++
10081 src/liblzma/common/metadata_encoder.h          |   30 +
10082 src/liblzma/common/next_coder.c                |   65 +
10083 src/liblzma/common/raw_common.c                |  175 +++
10084 src/liblzma/common/raw_common.h                |   31 +
10085 src/liblzma/common/raw_decoder.c               |  127 ++
10086 src/liblzma/common/raw_decoder.h               |   30 +
10087 src/liblzma/common/raw_encoder.c               |  124 ++
10088 src/liblzma/common/raw_encoder.h               |   30 +
10089 src/liblzma/common/stream_common.c             |   23 +
10090 src/liblzma/common/stream_common.h             |   28 +
10091 src/liblzma/common/stream_decoder.c            |  454 ++++++
10092 src/liblzma/common/stream_encoder_multi.c      |  460 ++++++
10093 src/liblzma/common/stream_encoder_single.c     |  220 +++
10094 src/liblzma/common/stream_flags_decoder.c      |  258 ++++
10095 src/liblzma/common/stream_flags_decoder.h      |   31 +
10096 src/liblzma/common/stream_flags_encoder.c      |   75 +
10097 src/liblzma/common/sysdefs.h                   |    1 +
10098 src/liblzma/common/version.c                   |   25 +
10099 src/liblzma/common/vli_decoder.c               |   69 +
10100 src/liblzma/common/vli_encoder.c               |   81 +
10101 src/liblzma/common/vli_reverse_decoder.c       |   55 +
10102 src/liblzma/lz/Makefile.am                     |   63 +
10103 src/liblzma/lz/bt2.c                           |   27 +
10104 src/liblzma/lz/bt2.h                           |   31 +
10105 src/liblzma/lz/bt3.c                           |   29 +
10106 src/liblzma/lz/bt3.h                           |   31 +
10107 src/liblzma/lz/bt4.c                           |   30 +
10108 src/liblzma/lz/bt4.h                           |   31 +
10109 src/liblzma/lz/hc3.c                           |   30 +
10110 src/liblzma/lz/hc3.h                           |   31 +
10111 src/liblzma/lz/hc4.c                           |   31 +
10112 src/liblzma/lz/hc4.h                           |   31 +
10113 src/liblzma/lz/lz_decoder.c                    |  462 ++++++
10114 src/liblzma/lz/lz_decoder.h                    |  214 +++
10115 src/liblzma/lz/lz_encoder.c                    |  481 ++++++
10116 src/liblzma/lz/lz_encoder.h                    |  161 ++
10117 src/liblzma/lz/lz_encoder_private.h            |   40 +
10118 src/liblzma/lz/match_c.h                       |  401 +++++
10119 src/liblzma/lz/match_h.h                       |   69 +
10120 src/liblzma/lzma.pc.in                         |   11 +
10121 src/liblzma/lzma/Makefile.am                   |   43 +
10122 src/liblzma/lzma/lzma_common.h                 |  128 ++
10123 src/liblzma/lzma/lzma_decoder.c                |  844 +++++++++++
10124 src/liblzma/lzma/lzma_decoder.h                |   41 +
10125 src/liblzma/lzma/lzma_encoder.c                |  413 ++++++
10126 src/liblzma/lzma/lzma_encoder.h                |   35 +
10127 src/liblzma/lzma/lzma_encoder_features.c       |   59 +
10128 src/liblzma/lzma/lzma_encoder_getoptimum.c     |  893 ++++++++++++
10129 src/liblzma/lzma/lzma_encoder_getoptimumfast.c |  201 +++
10130 src/liblzma/lzma/lzma_encoder_init.c           |  245 ++++
10131 src/liblzma/lzma/lzma_encoder_presets.c        |   34 +
10132 src/liblzma/lzma/lzma_encoder_private.h        |  225 +++
10133 src/liblzma/lzma/lzma_literal.c                |   74 +
10134 src/liblzma/lzma/lzma_literal.h                |   74 +
10135 src/liblzma/rangecoder/Makefile.am             |   28 +
10136 src/liblzma/rangecoder/range_common.h          |   68 +
10137 src/liblzma/rangecoder/range_decoder.h         |  189 +++
10138 src/liblzma/rangecoder/range_encoder.c         |   46 +
10139 src/liblzma/rangecoder/range_encoder.h         |  317 ++++
10140 src/liblzma/simple/Makefile.am                 |   46 +
10141 src/liblzma/simple/arm.c                       |   76 +
10142 src/liblzma/simple/armthumb.c                  |   81 +
10143 src/liblzma/simple/ia64.c                      |  117 ++
10144 src/liblzma/simple/powerpc.c                   |   80 +
10145 src/liblzma/simple/simple_coder.c              |  306 ++++
10146 src/liblzma/simple/simple_coder.h              |   68 +
10147 src/liblzma/simple/simple_private.h            |   86 ++
10148 src/liblzma/simple/sparc.c                     |   88 ++
10149 src/liblzma/simple/x86.c                       |  161 ++
10150 src/liblzma/subblock/Makefile.am               |   33 +
10151 src/liblzma/subblock/subblock_decoder.c        |  681 +++++++++
10152 src/liblzma/subblock/subblock_decoder.h        |   29 +
10153 src/liblzma/subblock/subblock_decoder_helper.c |   80 +
10154 src/liblzma/subblock/subblock_decoder_helper.h |   36 +
10155 src/liblzma/subblock/subblock_encoder.c        |  841 +++++++++++
10156 src/liblzma/subblock/subblock_encoder.h        |   28 +
10157 src/lzma/Makefile.am                           |   63 +
10158 src/lzma/alloc.c                               |  106 ++
10159 src/lzma/alloc.h                               |   42 +
10160 src/lzma/args.c                                |  566 +++++++
10161 src/lzma/args.h                                |   64 +
10162 src/lzma/error.c                               |  156 ++
10163 src/lzma/error.h                               |   67 +
10164 src/lzma/hardware.c                            |   99 ++
10165 src/lzma/hardware.h                            |   31 +
10166 src/lzma/help.c                                |  178 +++
10167 src/lzma/help.h                                |   32 +
10168 src/lzma/io.c                                  |  664 +++++++++
10169 src/lzma/io.h                                  |   60 +
10170 src/lzma/list.c                                |  477 ++++++
10171 src/lzma/main.c                                |  254 ++++
10172 src/lzma/options.c                             |  346 +++++
10173 src/lzma/options.h                             |   46 +
10174 src/lzma/private.h                             |   55 +
10175 src/lzma/process.c                             |  458 ++++++
10176 src/lzma/process.h                             |   30 +
10177 src/lzma/suffix.c                              |  145 ++
10178 src/lzma/suffix.h                              |   25 +
10179 src/lzma/util.c                                |  182 +++
10180 src/lzma/util.h                                |   32 +
10181 src/lzmadec/Makefile.am                        |   27 +
10182 src/lzmadec/lzmadec.c                          |  515 +++++++
10183 src/scripts/Makefile.am                        |   24 +
10184 src/scripts/lzdiff                             |   67 +
10185 src/scripts/lzdiff.1                           |   51 +
10186 src/scripts/lzgrep                             |  123 ++
10187 src/scripts/lzgrep.1                           |   61 +
10188 src/scripts/lzmore                             |   74 +
10189 src/scripts/lzmore.1                           |   55 +
10190 tests/Makefile.am                              |   43 +
10191 tests/test_block.c                             |   59 +
10192 tests/test_block_header.c                      |  352 +++++
10193 tests/test_check.c                             |   90 ++
10194 tests/test_filter_flags.c                      |  326 +++++
10195 tests/test_index.c                             |   43 +
10196 tests/test_info.c                              |  717 +++++++++
10197 tests/test_stream_flags.c                      |  191 +++
10198 tests/tests.h                                  |  148 ++
10199 239 files changed, 42513 insertions(+), 0 deletions(-)
10200