From: Thursday Date: 2005-01-11T14:31:22+09:00 Subject: List of Ruby 1.8.2 changes after 2004-12-25 release If you're new and wondering whether to use stable-snapshot or a release version of Ruby, this might be helpful: http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog Here's the text from the 1.8 branch here so it can be found via google (groups) for people having specific issues already fixed: Tue Jan 11 09:44:40 2005 Hirokazu Yamamoto * numeric.c (Init_Numeric): turn off floating point exceptions on bcc32. "1e300".to_f had crashed by overflow. Tue Jan 11 03:10:10 2005 Minero Aoki * lib/fileutils.rb (copy_entry): could not copy symbolic link. [ruby-talk:125733] * lib/fileutils.rb (copy_stream): use read/write instead of sysread/syswrite. Mon Jan 10 23:08:15 2005 Nobuyoshi Nakada * variable.c (rb_autoload): hide internal data from ruby level. fixed: [ruby-dev:25435], [ruby-list:40498] Sun Jan 9 03:12:58 2005 Tanaka Akira * io.c (io_fread): warn nonblocking behavior. (io_readpartial): new method IO#readpartial. Sat Jan 8 04:38:47 2005 why the lucky stiff * lib/yaml.rb: Kernel#y requires an argument. Fri Jan 7 21:12:29 2005 TAMURA Takashi * random.c (rand_init): use ALLOC_N instead of ALLOCA_N [ruby-dev:25426] Fri Jan 7 18:03:35 2005 Tanaka Akira * gc.c (mark_locations_array): avoid core dump with -O3. [ruby-dev:25424] Thu Jan 6 20:31:07 2005 NAKAMURA Usaku * ext/zlib/zlib.c (zstream_end): should return value. (backported from CVS HEAD) Thu Jan 6 19:55:13 2005 Hirokazu Yamamoto * win32/win32.c (rb_w32_close): didn't close socket handle. [ruby-dev:25414] * win32/win32.c (rb_w32_open_osfhandle): bcc32's _open_osfhandle never set EMFILE. Thu Jan 6 17:14:31 2005 Hirokazu Yamamoto * random.c (random_seed): O_NONBLOCK isn't defined on some platforms. [ruby-dev:25417] Thu Jan 6 13:45:35 2005 Tanaka Akira * lib/time.rb: recognize +00:00 and GMT as a localtime. Thu Jan 6 07:58:28 2005 Dave Thomas * lib/rdoc/usage.rb (RDoc::RDoc.usage_no_exit): Allow for colons in path names on DOS machines. (thanks to Johan Nilsson) Wed Jan 5 20:16:32 2005 Tanaka Akira * random.c (limited_big_rand): didn't work if SIZEOF_BDIGITS == 2. [ruby-dev:25408] * random.c (random_seed): refined. Wed Jan 5 12:49:39 2005 Nobuyoshi Nakada * eval.c (rb_thread_initialize): Thread objects cannot be initialized again. fixed: [ruby-core:04067] Wed Jan 5 10:48:16 2005 NAKAMURA Usaku * dir.c (dir_s_mkdir): win32 special processing doesn't need any longer. (backported from CVS HEAD) * win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible interface. (backported from CVS HEAD) * win32/win32.[ch] (rb_w32_rmdir): new function. (backported from CVS HEAD) Wed Jan 5 02:30:11 2005 Tanaka Akira * random.c (init_by_array): imported from mt19937ar-cok.tgz. (genrand_int32): ditto. (genrand_real): replaced with genrand_res53 in mt19937ar-cok. (rand_init): support bignum for longer seed. (random_seed): generate longer seed. (make_mask): new function. (limited_rand): ditto. (limited_big_rand): ditto. (rb_f_rand): call limited_rand and limited_big_rand. [ruby-dev:25403] Tue Jan 4 23:25:29 2005 Yukihiro Matsumoto * bignum.c (rb_big_rand): should return positive random number. [ruby-dev:25401] Tue Jan 4 11:15:29 2005 TAMURA Takashi * bignum.c (rb_big_rand): do not use rb_big_modulo to generate random bignums. [ruby-dev:25396] Mon Jan 3 14:01:54 2005 Tanaka Akira * random.c (random_seed): don't use /dev/urandom if it is not character device. Mon Jan 3 11:37:42 2005 Tanaka Akira * random.c (random_seed): use /dev/urandom if available. [ruby-dev:25392] Mon Jan 3 07:46:42 2005 GOTOU Yuuzou * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload): raise NotImplementedError if password is encrypted by digest algorithms. This patch is contributed by sheepman. [ruby-list:40467] * lib/webrick/httpauth/digestauth.rb (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation. This patch is contributed by sheepman. [ruby-list:40482] * lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use pack/unpack-template char "m" instead of lib/base64.rb to do base64 encoding/decoding. fixed: [ruby-dev:25336] * test/webrick/test_httpauth.rb: new file. Sat Jan 1 04:20:23 2005 GOTOU Yuuzou * ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call StringValue before GetSPKI. fixed: [ruby-dev:25359]. Sat Jan 1 01:13:28 2005 Yukihiro Matsumoto * variable.c (rb_autoload): [ruby-dev:25373] Fri Dec 31 14:10:43 2004 Dave Thomas * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item): Fix problem if heading contains formatting. Thu Dec 30 00:41:42 2004 Yukihiro Matsumoto * eval.c (svalue_to_avalue): [ruby-dev:25366] * string.c (rb_str_justify): [ruby-dev:25367] Wed Dec 29 11:07:07 2004 Dave Thomas * lib/rdoc/generators/template/html/kilmer.rb: Update to use new sections. Tue Dec 28 22:31:46 2004 Nobuyoshi Nakada * string.c (rb_str_justify): create buffer string after argument type conversion. fixed: [ruby-dev:25341] Tue Dec 28 15:41:48 2004 Nobuyoshi Nakada * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static variables. fixed: [ruby-list:40445] Tue Dec 28 15:25:20 2004 Nobuyoshi Nakada * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to 0xfe. * ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16 properly. Tue Dec 28 13:35:20 2004 Nobuyoshi Nakada * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate): ensure freeing internal zstreams. fixed: [ruby-dev:25309] * ext/zlib/zlib.c (rb_deflate_init_copy): replace rb_deflate_clone. Tue Dec 28 12:26:45 2004 NAKAMURA Usaku * win32/Makefile.sub, win32/setup.mak (RDOCTARGET, install, install-nodoc, install-doc): rdoc support for mswin32. * win32/configure.bat (--enable-install-doc, --disable-install-doc): ditto. Mon Dec 27 20:02:14 2004 Hidetoshi NAGAI * ext/tcltklib/tcltklib.c: fix SEGV bug when deleting Tk interp * ext/tk/lib/multi-tk.rb: ditto Mon Dec 27 16:55:17 2004 GOTOU Yuuzou * ext/openssl/ossl_x509name.c (Init_ossl_x509name): should use rb_hash_new to get exactly a Hash. fix [ruby-dev:25325]. Mon Dec 27 16:29:56 2004 Yukihiro Matsumoto * string.c (rb_str_justify): [ruby-dev:25341] Mon Dec 27 15:47:48 2004 Minero Aoki * test/fileutils/fileasserts.rb: sync with HEAD. * test/fileutils/test_fileutils.rb: ditto. * test/fileutils/test_nowrite.rb: ditto. Mon Dec 27 15:21:07 2004 Minero Aoki * lib/fileutils.rb (mv): should raise error when moving a directory to the (empty) directory. [ruby-talk:124368] (backport from HEAD 1.48) * lib/fileutils.rb (mv): wrongly did not overwrite file on Win32 platforms. (backport from HEAD 1.48)