Blame


1 ff3adf60 2004-04-14 devnull
2 ff3adf60 2004-04-14 devnull
3 ff3adf60 2004-04-14 devnull 0.9.0
4 ff3adf60 2004-04-14 devnull ~~~~~
5 ff3adf60 2004-04-14 devnull First version.
6 ff3adf60 2004-04-14 devnull
7 ff3adf60 2004-04-14 devnull
8 ff3adf60 2004-04-14 devnull 0.9.0a
9 ff3adf60 2004-04-14 devnull ~~~~~~
10 ff3adf60 2004-04-14 devnull Removed 'ranlib' from Makefile, since most modern Unix-es
11 ff3adf60 2004-04-14 devnull don't need it, or even know about it.
12 ff3adf60 2004-04-14 devnull
13 ff3adf60 2004-04-14 devnull
14 ff3adf60 2004-04-14 devnull 0.9.0b
15 ff3adf60 2004-04-14 devnull ~~~~~~
16 ff3adf60 2004-04-14 devnull Fixed a problem with error reporting in bzip2.c. This does not effect
17 ff3adf60 2004-04-14 devnull the library in any way. Problem is: versions 0.9.0 and 0.9.0a (of the
18 ff3adf60 2004-04-14 devnull program proper) compress and decompress correctly, but give misleading
19 ff3adf60 2004-04-14 devnull error messages (internal panics) when an I/O error occurs, instead of
20 ff3adf60 2004-04-14 devnull reporting the problem correctly. This shouldn't give any data loss
21 ff3adf60 2004-04-14 devnull (as far as I can see), but is confusing.
22 ff3adf60 2004-04-14 devnull
23 ff3adf60 2004-04-14 devnull Made the inline declarations disappear for non-GCC compilers.
24 ff3adf60 2004-04-14 devnull
25 ff3adf60 2004-04-14 devnull
26 ff3adf60 2004-04-14 devnull 0.9.0c
27 ff3adf60 2004-04-14 devnull ~~~~~~
28 ff3adf60 2004-04-14 devnull Fixed some problems in the library pertaining to some boundary cases.
29 ff3adf60 2004-04-14 devnull This makes the library behave more correctly in those situations. The
30 ff3adf60 2004-04-14 devnull fixes apply only to features (calls and parameters) not used by
31 ff3adf60 2004-04-14 devnull bzip2.c, so the non-fixedness of them in previous versions has no
32 ff3adf60 2004-04-14 devnull effect on reliability of bzip2.c.
33 ff3adf60 2004-04-14 devnull
34 ff3adf60 2004-04-14 devnull In bzlib.c:
35 ff3adf60 2004-04-14 devnull * made zero-length BZ_FLUSH work correctly in bzCompress().
36 ff3adf60 2004-04-14 devnull * fixed bzWrite/bzRead to ignore zero-length requests.
37 ff3adf60 2004-04-14 devnull * fixed bzread to correctly handle read requests after EOF.
38 ff3adf60 2004-04-14 devnull * wrong parameter order in call to bzDecompressInit in
39 ff3adf60 2004-04-14 devnull bzBuffToBuffDecompress. Fixed.
40 ff3adf60 2004-04-14 devnull
41 ff3adf60 2004-04-14 devnull In compress.c:
42 ff3adf60 2004-04-14 devnull * changed setting of nGroups in sendMTFValues() so as to
43 ff3adf60 2004-04-14 devnull do a bit better on small files. This _does_ effect
44 ff3adf60 2004-04-14 devnull bzip2.c.
45 ff3adf60 2004-04-14 devnull
46 ff3adf60 2004-04-14 devnull
47 ff3adf60 2004-04-14 devnull 0.9.5a
48 ff3adf60 2004-04-14 devnull ~~~~~~
49 ff3adf60 2004-04-14 devnull Major change: add a fallback sorting algorithm (blocksort.c)
50 ff3adf60 2004-04-14 devnull to give reasonable behaviour even for very repetitive inputs.
51 ff3adf60 2004-04-14 devnull Nuked --repetitive-best and --repetitive-fast since they are
52 ff3adf60 2004-04-14 devnull no longer useful.
53 ff3adf60 2004-04-14 devnull
54 ff3adf60 2004-04-14 devnull Minor changes: mostly a whole bunch of small changes/
55 ff3adf60 2004-04-14 devnull bugfixes in the driver (bzip2.c). Changes pertaining to the
56 ff3adf60 2004-04-14 devnull user interface are:
57 ff3adf60 2004-04-14 devnull
58 ff3adf60 2004-04-14 devnull allow decompression of symlink'd files to stdout
59 ff3adf60 2004-04-14 devnull decompress/test files even without .bz2 extension
60 ff3adf60 2004-04-14 devnull give more accurate error messages for I/O errors
61 ff3adf60 2004-04-14 devnull when compressing/decompressing to stdout, don't catch control-C
62 ff3adf60 2004-04-14 devnull read flags from BZIP2 and BZIP environment variables
63 ff3adf60 2004-04-14 devnull decline to break hard links to a file unless forced with -f
64 ff3adf60 2004-04-14 devnull allow -c flag even with no filenames
65 ff3adf60 2004-04-14 devnull preserve file ownerships as far as possible
66 ff3adf60 2004-04-14 devnull make -s -1 give the expected block size (100k)
67 ff3adf60 2004-04-14 devnull add a flag -q --quiet to suppress nonessential warnings
68 ff3adf60 2004-04-14 devnull stop decoding flags after --, so files beginning in - can be handled
69 ff3adf60 2004-04-14 devnull resolved inconsistent naming: bzcat or bz2cat ?
70 ff3adf60 2004-04-14 devnull bzip2 --help now returns 0
71 ff3adf60 2004-04-14 devnull
72 ff3adf60 2004-04-14 devnull Programming-level changes are:
73 ff3adf60 2004-04-14 devnull
74 ff3adf60 2004-04-14 devnull fixed syntax error in GET_LL4 for Borland C++ 5.02
75 ff3adf60 2004-04-14 devnull let bzBuffToBuffDecompress return BZ_DATA_ERROR{_MAGIC}
76 ff3adf60 2004-04-14 devnull fix overshoot of mode-string end in bzopen_or_bzdopen
77 ff3adf60 2004-04-14 devnull wrapped bzlib.h in #ifdef __cplusplus ... extern "C" { ... }
78 ff3adf60 2004-04-14 devnull close file handles under all error conditions
79 ff3adf60 2004-04-14 devnull added minor mods so it compiles with DJGPP out of the box
80 ff3adf60 2004-04-14 devnull fixed Makefile so it doesn't give problems with BSD make
81 ff3adf60 2004-04-14 devnull fix uninitialised memory reads in dlltest.c
82 ff3adf60 2004-04-14 devnull
83 ff3adf60 2004-04-14 devnull 0.9.5b
84 ff3adf60 2004-04-14 devnull ~~~~~~
85 ff3adf60 2004-04-14 devnull Open stdin/stdout in binary mode for DJGPP.
86 ff3adf60 2004-04-14 devnull
87 ff3adf60 2004-04-14 devnull 0.9.5c
88 ff3adf60 2004-04-14 devnull ~~~~~~
89 ff3adf60 2004-04-14 devnull Changed BZ_N_OVERSHOOT to be ... + 2 instead of ... + 1. The + 1
90 ff3adf60 2004-04-14 devnull version could cause the sorted order to be wrong in some extremely
91 ff3adf60 2004-04-14 devnull obscure cases. Also changed setting of quadrant in blocksort.c.
92 ff3adf60 2004-04-14 devnull
93 ff3adf60 2004-04-14 devnull 0.9.5d
94 ff3adf60 2004-04-14 devnull ~~~~~~
95 ff3adf60 2004-04-14 devnull The only functional change is to make bzlibVersion() in the library
96 ff3adf60 2004-04-14 devnull return the correct string. This has no effect whatsoever on the
97 ff3adf60 2004-04-14 devnull functioning of the bzip2 program or library. Added a couple of casts
98 ff3adf60 2004-04-14 devnull so the library compiles without warnings at level 3 in MS Visual
99 ff3adf60 2004-04-14 devnull Studio 6.0. Included a Y2K statement in the file Y2K_INFO. All other
100 ff3adf60 2004-04-14 devnull changes are minor documentation changes.
101 ff3adf60 2004-04-14 devnull
102 ff3adf60 2004-04-14 devnull 1.0
103 ff3adf60 2004-04-14 devnull ~~~
104 ff3adf60 2004-04-14 devnull Several minor bugfixes and enhancements:
105 ff3adf60 2004-04-14 devnull
106 ff3adf60 2004-04-14 devnull * Large file support. The library uses 64-bit counters to
107 ff3adf60 2004-04-14 devnull count the volume of data passing through it. bzip2.c
108 ff3adf60 2004-04-14 devnull is now compiled with -D_FILE_OFFSET_BITS=64 to get large
109 ff3adf60 2004-04-14 devnull file support from the C library. -v correctly prints out
110 ff3adf60 2004-04-14 devnull file sizes greater than 4 gigabytes. All these changes have
111 ff3adf60 2004-04-14 devnull been made without assuming a 64-bit platform or a C compiler
112 ff3adf60 2004-04-14 devnull which supports 64-bit ints, so, except for the C library
113 ff3adf60 2004-04-14 devnull aspect, they are fully portable.
114 ff3adf60 2004-04-14 devnull
115 ff3adf60 2004-04-14 devnull * Decompression robustness. The library/program should be
116 ff3adf60 2004-04-14 devnull robust to any corruption of compressed data, detecting and
117 ff3adf60 2004-04-14 devnull handling _all_ corruption, instead of merely relying on
118 ff3adf60 2004-04-14 devnull the CRCs. What this means is that the program should
119 ff3adf60 2004-04-14 devnull never crash, given corrupted data, and the library should
120 ff3adf60 2004-04-14 devnull always return BZ_DATA_ERROR.
121 ff3adf60 2004-04-14 devnull
122 ff3adf60 2004-04-14 devnull * Fixed an obscure race-condition bug only ever observed on
123 ff3adf60 2004-04-14 devnull Solaris, in which, if you were very unlucky and issued
124 ff3adf60 2004-04-14 devnull control-C at exactly the wrong time, both input and output
125 ff3adf60 2004-04-14 devnull files would be deleted.
126 ff3adf60 2004-04-14 devnull
127 ff3adf60 2004-04-14 devnull * Don't run out of file handles on test/decompression when
128 ff3adf60 2004-04-14 devnull large numbers of files have invalid magic numbers.
129 ff3adf60 2004-04-14 devnull
130 ff3adf60 2004-04-14 devnull * Avoid library namespace pollution. Prefix all exported
131 ff3adf60 2004-04-14 devnull symbols with BZ2_.
132 ff3adf60 2004-04-14 devnull
133 ff3adf60 2004-04-14 devnull * Minor sorting enhancements from my DCC2000 paper.
134 ff3adf60 2004-04-14 devnull
135 ff3adf60 2004-04-14 devnull * Advance the version number to 1.0, so as to counteract the
136 ff3adf60 2004-04-14 devnull (false-in-this-case) impression some people have that programs
137 ff3adf60 2004-04-14 devnull with version numbers less than 1.0 are in someway, experimental,
138 ff3adf60 2004-04-14 devnull pre-release versions.
139 ff3adf60 2004-04-14 devnull
140 ff3adf60 2004-04-14 devnull * Create an initial Makefile-libbz2_so to build a shared library.
141 ff3adf60 2004-04-14 devnull Yes, I know I should really use libtool et al ...
142 ff3adf60 2004-04-14 devnull
143 ff3adf60 2004-04-14 devnull * Make the program exit with 2 instead of 0 when decompression
144 ff3adf60 2004-04-14 devnull fails due to a bad magic number (ie, an invalid bzip2 header).
145 ff3adf60 2004-04-14 devnull Also exit with 1 (as the manual claims :-) whenever a diagnostic
146 ff3adf60 2004-04-14 devnull message would have been printed AND the corresponding operation
147 ff3adf60 2004-04-14 devnull is aborted, for example
148 ff3adf60 2004-04-14 devnull bzip2: Output file xx already exists.
149 ff3adf60 2004-04-14 devnull When a diagnostic message is printed but the operation is not
150 ff3adf60 2004-04-14 devnull aborted, for example
151 ff3adf60 2004-04-14 devnull bzip2: Can't guess original name for wurble -- using wurble.out
152 ff3adf60 2004-04-14 devnull then the exit value 0 is returned, unless some other problem is
153 ff3adf60 2004-04-14 devnull also detected.
154 ff3adf60 2004-04-14 devnull
155 ff3adf60 2004-04-14 devnull I think it corresponds more closely to what the manual claims now.
156 ff3adf60 2004-04-14 devnull
157 ff3adf60 2004-04-14 devnull
158 ff3adf60 2004-04-14 devnull 1.0.1
159 ff3adf60 2004-04-14 devnull ~~~~~
160 ff3adf60 2004-04-14 devnull * Modified dlltest.c so it uses the new BZ2_ naming scheme.
161 ff3adf60 2004-04-14 devnull * Modified makefile-msc to fix minor build probs on Win2k.
162 ff3adf60 2004-04-14 devnull * Updated README.COMPILATION.PROBLEMS.
163 ff3adf60 2004-04-14 devnull
164 ff3adf60 2004-04-14 devnull There are no functionality changes or bug fixes relative to version
165 ff3adf60 2004-04-14 devnull 1.0.0. This is just a documentation update + a fix for minor Win32
166 ff3adf60 2004-04-14 devnull build problems. For almost everyone, upgrading from 1.0.0 to 1.0.1 is
167 ff3adf60 2004-04-14 devnull utterly pointless. Don't bother.