2002-01-06  UENO Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.5.0-pre1 released.

2002-01-06  UENO Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.rd.src: rewrote the document by RD.

	* makerd.rb: added script to generate language-separated RD.

	* depend: added dependencies for documents.

2002-01-05  UENO Katsuhiro  <katsu@blue.sky.or.jp>

	* extconf.rb: check CONFIG['target_os'], not CONFIG['host_os'].

	* zlib.c: added member `input' to struct zstream.
	(zstream_append_input): added for expandable input buffer.
	(zstream_discard_input): ditto.
	(zstream_reset_input): ditto.
	(zstream_passthrough_input): ditto.
	(zstream_run,zstream_run_loop): divided the inflate/deflate loop from
	zstream_run to zstream_run_loop and added consideration for NeedDict.

	* zlib.c (raize_zlib_error): added the third parameter `next_in'.
	(rb_zerror_next_in): added Zlib::ZError#next_in.

	* zlib.c: removed member `unused' from struct gzfile.
	(gzfile_reader_get_unused): GzipReader#unused returns nil if
	the GzipReader object is closed.

	* zlib.c (Init_zlib): GzipReader and GzipWriter class are deprecated;
	use Zlib::GzipReader and Zlib::GzipWriter.
	(Init_zlib): Zlib::GzipReader::OS_* -> Zlib::OS_*
	(Init_Zlib): Zlib::GzipReader::{NoFooter,CRCError,LengthError} ->
	Zlib::GzipFile::*

	* zlib.c: add ZSTREAM_FLAG_FINALIZE to prevent segv in finalizer.

	* zlib.c (gzfile_writer_end): warn Zlib::GzipWriter object must be
	closed explicitly.

	* zlib.c (rb_zstream_flush_out): rename to rb_zstream_flush_next_out.
	(Init_zlib): rename ZStream#flush_out to ZStream#flush_next_out.

	* zlib.c (rb_zerror_initialize): added Zlib::Error#initialize.

2002-01-02  UENO Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c: rename `flag' in struct zstream to `flags'.

	* zlib.c: reformat and rearrenge the code.

	* zlib.c: refactor functions and macros for zstream and gzfile.
	Since these are very core funcs, the whole of zlib.c is
	almostly rewrote. No changes must be found in behaviors
	of any classes and modules, I hope.

	* zlib.c: use OBJ_INFECT instead of if(OBJ_TAINTED)OBJ_TAINT.

	* zlib.c (rb_deflate_clone): call CLONESETUP.

	* zlib.c: removed sanity checks for arguments for deflateInit2
	and inflateInit2.
	(value_to_compression_level): removed.
	(value_to_window_bits): ditto.
	(value_to_memlevel): ditto.
	(value_to_strategy): ditto.
	(value_to_flush): ditto.

	* zlib.c (rb_deflate_s_new,rb_deflate_initialize): only do allocation
	in Deflate::new and initializing in Deflate#initialize.
	(rb_inflate_s_new,rb_inflate_initialize): ditto.

	* zlib.c (Init_zlib): Deflate and Inflate class are deprecated;
	use Zlib::Deflate and Zlib::Inflate.
	(rb_deflate_deprecated,rb_inflate_deprecated): added for
	warning this is a deprecated class.

	* zlib.c (Init_zlib): constants defined under Deflate and Inflate are
	moved under Zlib.

	* zlib.c (rb_gzwriter_puts): adapt to ruby-1.7.

	* zlib.c (Init_zlib): rename Zlib::Gzip to Zlib::GzipFile.

2002-01-01  UENO Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c: make all functions static.

	* zlib.c: update copyright line.

	* THANKS: added.

2001-09-15  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (zstream_shift_buffer): bug fixed about buffer overflow.
	  Thanks to Ned Konz <ned@bike-nomad.com>.

2000-09-26  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.4.0 released.

2000-09-26  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (gzip_safe_close): doesn't check gzip footer.
	(rb_gzip_eof_p): GzipReader#eof? returns true if GzipReader object
	reaches the end of compressed data, not the end of file.

2000-09-20  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c: adapted to ruby-1.6.0.

2000-07-20  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.3.1 released.

2000-07-20  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (zstream_run_internal): properly support for Z_SYNC_FLUSH
	and Z_FULL_FLUSH.

2000-07-20  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.3.0 released.

2000-07-20  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (zstream_run_internal): always accepts an empty string.
	Deflate#deflate with an empty string now works correctly.
	(rb_gzipwriter_write): remove string size check before zstream_run().

	* zlib.c (rb_deflate_flush): added Deflate#flush.
	(rb_gzipwriter_flush): added GzipWriter#flush.
	(rb_gzipwriter_write, rb_gzipwriter_putc): FULL_FLUSH -> SYNC_FLUSH

	* zlib.ja.html, zlib.en.html: updated.

2000-07-19  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.2.2 released.

2000-07-19  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (rb_gzipwriter_s_open): bug fixed. A gzip file must be
	opened in binary mode.

2000-07-17  Lewis Perin  <perin@panix.com>

	* zlib.c (rb_gzipreader_s_open): bug fixed. A gzip file must be
	opened in binary mode.

2000-07-15  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.2.1 released.

2000-07-15  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (gzip_close, gzipreader_close, gzip_safe_close): added
	gzip_close() and gzip_safe_close(), and renamed a few functions.
	(gzipwriter_new, rb_gzipreader_s_new): Gzip{Writer|Reader}::{new|open}
	accept a block, just like File::open.

	* zlib.c (GZFILE_ZSTREAM_FINISHED, GZFILE_EOF): added.
	(gzipreader_close, rb_gzip_unused): bug fixed about small gzip file.

	* zlib.ja.html, zlib.en.html: updated.

	* extconf.rb: added the attention message about OS_CODE.

2000-06-29  Yasushi Shoji  <yasushi_shoji@necam.ny.nec.com>

	* zlib.en.html: proofread.

2000-06-26  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.2.0a released.

2000-06-25  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.en.html: proofreaded by SUGIHARA Hiroshi <maili31s@clio.ne.jp>.

2000-06-24  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.2.0 released.

2000-06-24  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.html, zlib.ja.html: renamed zlib.html to zlib.ja.html
	* zlib.en.html: added.

2000-06-22  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (rb_{deflate|inflate}_addstr): both Deflate#<< and Inflate#<<
	methods return the object itself.
	(rb_zstream_flush_out): added ZStream#flush_out method.

2000-06-20  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.1.2 released.

2000-06-20  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (gzip_mark): forgot to call zstream_mark().

2000-06-19  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (zstream_expand_buffer): expands buffer at least
	ZSTERAM_AVAIL_OUT_MIN bytes.

2000-06-18  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.1.1 released.

2000-06-18  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (gzipwriter_close): write .gz header if it is not written yet.

	* zlib.c (gzip_close,gzipwriter_close): bug fixed.

2000-06-16  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.1.0 released.

2000-06-15  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* gzip.rb, zlib.c: rewrote Gzip* classes in C.

	* zlib.html: updated.

2000-06-14  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c: cError -> cZError
	(struct zstream): buf_total_out -> buf_filled
	(zstream_make_buffer, zstream_expand_buffer): cleanups.
	(zstream_shift_buffer): return String object.
	(zstream_buffer_concat,zstream_append_buffer):
	renamed zstream_buffer_concat() to zstream_append_buffer().

2000-05-31  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (zstream_expand_buffer,zstream_run):
	keep other threads from stopping during deflating/inflating.

	* zlib.c (zstream_shift_buffer): added.
	(rb_gzip_inflate_inflate): use zstream_shift_buffer() instead
	of memmove().

2000-05-31  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.0.2 released.

	* extconf.rb: guess OS_CODE before create_makefile.

2000-05-30  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* gzip.rb (Gzip#write_header): improved.
	(GzipReader#getc): prevented overrunning.
	(GzipReader#readlines): implemented properly.

	* zlib.html: proofread.

2000-05-29  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.0.1 released.

2000-05-29  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (rb_zstream_finished_p): added ZStream#finished?
	(rb_zstream_closed_p): added ZStream#closed?

	* zlib.c, gzip.rb: instant support for .gz files
	* extconf.rb: guess OS_CODE

2000-05-28  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c (Init_zlib,zstream_new,zstream_clone):
	undefined ZStream::new and removed ZStream#clone
	(Init_zlib): added some constants to Deflate and Inflate
	(Init_zlib,rb_inflate_sync_point_p): added Inflate#sync_point?

	* zlib.html: updated.

2000-05-25  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* zlib.c: cleanups.

2000-05-23  Ueno Katsuhiro  <katsu@blue.sky.or.jp>

	* version 0.0 released.
