CHANGES 6.1 KB

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