1 Tue Aug 12 16:13:45 2008 Tanaka Akira <akr@fsij.org>
3 * transcode_data.h (TRANSCODE_ERROR): removed.
5 * tool/transcode-tblgen.rb: 8bit byte of ASCII-8BIT is a valid
6 (but unique to ASCII-8BIT) character.
8 * transcode.c (rb_eConversionUndefined): new error.
9 (rb_eInvalidByteSequence): ditto.
11 Tue Aug 12 16:08:51 2008 Minero Aoki <aamine@loveruby.net>
13 * lib/net/pop.rb: POP3Command should export @socket since POP
16 Tue Aug 12 16:06:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
18 * sprintf.c, util.c (quorem, nrv_alloc, dtoa): enabled floating point
21 Tue Aug 12 15:52:45 2008 Narihiro Nakamura <authorNari@gmail.com>
23 * gc.c (gc_profile_result): use sprintf.
25 Tue Aug 12 15:37:40 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
27 * string.c (rb_str_intern): should check symbol table overflow.
29 Tue Aug 12 15:31:04 2008 Minero Aoki <aamine@loveruby.net>
31 * lib/net/http.rb (send_request_with_body): Content-Length should
32 be byte length of string. (closes #203)
34 Tue Aug 12 15:17:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
36 * enc/depend: (transvpath_prefix): prefix has no extension, so replace
39 Tue Aug 12 15:03:43 2008 TAKAO Kouji <kouji@takao7.net>
41 * test/readline/test_readline.rb (TestReadline#test_safe_level_4):
42 tested Readline.vi_editing_mode? and Readline.emacs_editing_mode?.
44 Tue Aug 12 14:25:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
46 * enc/Makefile.in (.SUFFIXES): renamed to .trans.
48 * enc/make_encmake.rb: added --encs and --no-encs options.
50 * enc/depend (TRANSVPATH): fix for nmake.
52 Tue Aug 12 14:19:53 2008 Minero Aoki <aamine@loveruby.net>
54 * lib/net/https.rb: supress syntax warning.
56 Tue Aug 12 14:15:51 2008 Minero Aoki <aamine@loveruby.net>
58 * lib/net/http.rb (Net::HTTP#initialize): initialize net/https
59 variables to supress syntax warning.
61 Tue Aug 12 14:15:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
63 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fixed shadowing variable.
65 Tue Aug 12 10:18:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
67 * test/win32ole/test_err_in_callback.rb: do not require 'mkmf'
68 unless WIN32OLE is defined.
70 Tue Aug 12 07:41:13 2008 Tanaka Akira <akr@fsij.org>
72 * transcode_data.h (rb_transcoder): add resetstate_func field for
73 resetting a state of stateful encoding.
75 * enc/trans/iso2022.trans (rb_EUC_JP_to_ISO_2022_JP): specify
76 finish_eucjp_to_iso2022jp for resetstate_func.
78 * tool/transcode-tblgen.rb: specify NULL for resetstate_func.
80 * transcode.c (output_replacement_character): call resetstate_func
81 before appending the replacement character.
83 Tue Aug 12 07:19:24 2008 Tanaka Akira <akr@fsij.org>
85 * transcode.c (get_replacement_character): extracted from
86 output_replacement_character.
88 Tue Aug 12 07:00:02 2008 Tanaka Akira <akr@fsij.org>
90 * transcode_data.h (rb_transcoder): typedef at first.
92 Tue Aug 12 06:48:35 2008 Tanaka Akira <akr@fsij.org>
94 * transcode.c (rb_trans_conv): find second last error.
96 Tue Aug 12 00:43:44 2008 Tanaka Akira <akr@fsij.org>
98 * transcode_data.h (rb_trans_result_t): new type.
99 (rb_trans_elem_t): new type.
100 (rb_trans_t): new type.
102 * transcode.c (transcode_dispatch_cb): removed.
103 (transcode_dispatch): removed.
104 (rb_transcoding_result_t): moved to rb_trans_result_t in
106 (transcode_restartable0): goto follow_info when FUNsi.
107 (rb_transcoding_open): use get_transcoder_entry.
108 (rb_trans_open): new function.
109 (rb_trans_conv): ditto.
110 (rb_trans_close): ditto.
111 (trans_open_i): ditto.
112 (trans_sweep): ditto.
113 (more_output_buffer): take rb_trans_t instead of rb_transcoding as
115 (transcode_loop): take from_encoding and to_encoding instead of tr
116 as arguments. use rb_trans_open/rb_trans_conv/rb_trans_close.
117 (str_transcode): don't use transcode_dispatch.
119 Mon Aug 11 20:37:05 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
121 * iseq.c (rb_iseq_clone): should preserve cref_stack link.
123 Mon Aug 11 20:27:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
125 * ext/dl/cfunc.c (rb_dlcfunc_call): add taint check.
127 * ext/dl/dl.c (rb_dl_malloc): add rb_secure(2).
129 * ext/dl/dl.c (rb_dl_realloc): ditto.
131 * ext/dl/dl.c (rb_dl_free): ditto.
133 * ext/dl/dl.c (rb_dl_ptr2value): ditto.
135 Mon Aug 11 20:11:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
137 * gc.c (getrusage_time): works only if RUSAGE_SELF is defined right
140 * gc.c (gc_profile_result): C99.
142 Mon Aug 11 18:57:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
144 * array.c (rb_ary_sample): rename #choice to #sample. in
145 addition, sample takes optional argument, a la #first.
147 Mon Aug 11 18:28:02 2008 Narihiro Nakamura <authorNari@gmail.com>
149 * gc.c: added GC::Profiler.
151 Mon Aug 11 17:26:16 2008 TAKAO Kouji <kouji@takao7.net>
153 * ext/readline/README.ja: added API document for
154 Readline.vi_editing_mode? and Readline.emacs_editing_mode?.
156 * ext/readline/extconf.rb: checked rl_editing_mode variable in
159 * ext/readline/readline.c (readline_s_emacs_editing_mode_p): added
160 Readline.emacs_editing_mode? method.
161 (readline_s_vi_editing_mode_p): added Readline.vi_editing_mode?
163 (Init_readline): ditto.
165 Mon Aug 11 16:56:40 2008 TAKAO Kouji <kouji@takao7.net>
167 * test/readline/test_readline.rb: added test for Readline's class
170 Mon Aug 11 16:39:23 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
172 * class.c (clone_method): should copy cbase in cref as well.
175 * iseq.c (iseq_mark): mark original iseq object.
177 * iseq.c (iseq_free): do not free internal data if they have
178 original iseq to belong.
180 * iseq.c (rb_iseq_clone): a new function to clone iseq value.
182 Mon Aug 11 16:34:48 2008 Tanaka Akira <akr@fsij.org>
184 * enc/trans/iso2022.trans: renamed from iso2022.erb.c.
186 * enc/trans/single_byte.trans: ditto.
188 * enc/trans/utf_16_32.trans: ditto.
190 * enc/trans/korean.trans: ditto.
192 * enc/trans/japanese.trans: ditto.
194 * enc/depend: follow the renaming.
196 * tool/build-transcode: ditto.
198 Mon Aug 11 15:09:23 2008 Tanaka Akira <akr@fsij.org>
200 * configure.in (rb_cv_broken_glibc_ia64_erfc): renamed from
201 rb_broken_glibc_ia64_erfc.
204 Mon Aug 11 10:04:34 2008 Tanaka Akira <akr@fsij.org>
206 * transcode_data.h (rb_transcoding): rename fields.
207 readlen -> recognized_len.
208 feedlen -> readagain_len.
210 * transcode.c: follow the field renaming.
212 Sun Aug 10 22:34:55 2008 Tanaka Akira <akr@fsij.org>
214 * transcode.c (transcode_restartable0): invalid handling simplified.
215 (transcode_restartable): use PARTIAL_INPUT for converting buffered
218 Sun Aug 10 22:24:24 2008 Yusuke Endoh <mame@tsg.ne.jp>
220 * encoding.c: include util.h. [ruby-dev:35715]
224 Sun Aug 10 20:59:54 2008 Tanaka Akira <akr@fsij.org>
226 * transcode_data.h (rb_transcoding): new field: flags.
228 * transcode.c (load_transcoder): extracted from transcode_dispatch_cb.
229 (rb_transcoding_result_t): renamed from transcode_result_t.
230 (rb_transcoding_open): new function.
231 (rb_transcoding_convert): ditto.
232 (rb_transcoding_close): ditto.
233 (transcode_loop): use rb_transcoding_open, rb_transcoding_convert
234 and rb_transcoding_close.
235 (str_transcode): don't need rb_transcoding.
237 Sun Aug 10 18:09:16 2008 Tanaka Akira <akr@fsij.org>
239 * tool/transcode-tblgen.rb: record checksum of
240 transcode-tblgen.rb itself.
242 Sun Aug 10 12:34:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
244 * config.guess ({powerpc-apple,i586-pc}-haiku): re-applied r18403.
247 * config.{guess,sub}: updated to automake-1.10.1.
249 Sun Aug 10 11:45:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
251 * enc/Makefile.in (make-workdir): use MAKEDIRS.
253 * enc/depend: makes target directory before compile/link.
255 * tool/transcode-tblgen.rb: creates target directory.
257 Sun Aug 10 11:30:48 2008 Tanaka Akira <akr@fsij.org>
259 * transcode.c: rename my_transcoding to tc and my_transcoder to tr.
261 Sun Aug 10 11:15:55 2008 Tanaka Akira <akr@fsij.org>
263 * transcode_data.h (rb_transcoding): add feedlen field.
265 * transcode.c (transcode_restartable0): renamed from
266 transcode_restartable.
267 save input buffer into feed buffer if next character is started the
268 point before input buffer. for example, "\x00\xd8\x01" then "\x02"
269 in UTF-16LE. \x02 causes invalid and next character is started from
271 (transcode_restartable): new function to call
272 transcode_restartable0. if feed buffer is not empty, convert it at
275 Sun Aug 10 11:02:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
277 * common.mk (extconf): use MAKEDIRS.
279 Sun Aug 10 09:35:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
281 * lib/irb.rb (IRB::Irb#inspect): instance_variables returns symbols
282 instead of strings now. [ruby-dev:34930]
284 Sun Aug 10 09:22:14 2008 Tanaka Akira <akr@fsij.org>
286 * transcode.c (transcode_char_start): refactored to remove readlen
288 (transcode_restartable): refactored to remove readlen variable.
290 Sun Aug 10 08:56:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
292 * gc.c (STACK_LEVEL_MAX, ruby_stack_length): returns size_t.
295 * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
296 ext/digest/md5/md5.c, ext/openssl/ossl.c (main),
297 ext/socket/extconf.rb (ipv6, wide-getaddrinfo): main should be int.
299 * main.c (main), win32/winmain.c, wince/wincemain.c (WinMain): envp is
300 no longer used so long time. based on a patch from Peter Bowen at
303 Sat Aug 9 22:05:29 2008 Tanaka Akira <akr@fsij.org>
305 * transcode.c (transcode_loop): take destination and resize function
307 (more_output_buffer): ditto.
308 (str_transcoding_resize): argument changed from rb_transcoding* to
310 (str_transcode): call transcode_loop with destination string and its
313 * transcode_data.h (rb_transcoding): move ruby_string_dest and
314 flush_func to transcode_loop parameters.
316 Sat Aug 9 21:29:45 2008 NARUSE, Yui <naruse@ruby-lang.org>
318 * common.mk: encs depend on transdb.h
320 Sat Aug 9 21:10:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
322 * configure.in (rb_cv_rshift_sign, rb_cv_binary_elf): get rid of
325 Sat Aug 9 16:33:21 2008 Tanaka Akira <akr@fsij.org>
327 * transcode_data.h (rb_transcoding): new fields: next_info and next_byte.
329 * transcode.c (transcode_restartable): save/restore next_info and
331 sync readlen and in_p when invalid.
333 Sat Aug 9 15:10:15 2008 Tanaka Akira <akr@fsij.org>
335 * transcode.c (transcode_restartable): my_transcoder argument removed.
336 (transcode_loop): my_transcoder argument removed.
338 Sat Aug 9 14:39:34 2008 Tanaka Akira <akr@fsij.org>
340 * transcode_data.h (rb_transcoding): add fields for restartable
342 (rb_transcoder): add max_input field.
343 from_unit_length field is renamed to input_unit_length.
345 * tool/transcode-tblgen.rb: generate max_input field.
347 * enc/trans/iso2022.erb.c: follow rb_transcoder change.
349 * enc/trans/utf_16_32.erb.c: ditto.
351 * transcode.c (PARTIAL_INPUT): new constant.
352 (transcode_char_start): new function.
353 (transcode_result_t): new type.
354 (transcode_restartable): new function.
355 (more_output_buffer): new function.
356 (transcode_loop): use transcode_restartable.
358 Sat Aug 9 13:35:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
360 * stable/ext/socket/socket.c (NI_MAXHOST, NI_MAXSERV): fixed invalid
361 preprocessor directives. a patch from Peter Bowen at
364 Sat Aug 9 06:37:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
366 * enc/make_encdb.rb, enc/trans/make_transdb.rb: skip nonexistent
367 directory. [ruby-dev:35802]
369 Sat Aug 9 01:07:51 2008 Tanaka Akira <akr@fsij.org>
371 * enc/trans/utf_16_32.erb.c (fun_so_from_utf_32le): implemented.
372 (fun_so_to_utf_32le): implemented.
375 Sat Aug 9 00:42:33 2008 Tanaka Akira <akr@fsij.org>
377 * transcode_data.h (rb_transcoder): from_unit_length field added.
378 from_utf8 field removed.
380 * tool/transcode-tblgen.rb: generate offsets range.
381 follow rb_transcoder change.
383 * transcode.c (transcode_loop): don't use from_utf8.
384 make invalid region from_unit_length wise.
386 * enc/trans/iso2022.erb.c: follow rb_transcoder and
387 transcode_generate_node change.
389 * enc/trans/utf_16_32.erb.c: follow rb_transcoder and
390 transcode_generate_node change.
391 explicit :invalid map removed.
393 Fri Aug 8 23:29:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
395 * enc/depend (TRANSCSRCS): needs rule_subst to apply.
397 * io.c (shutdown): not define if defined already.
399 Fri Aug 8 22:47:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
401 * vm_insnhelper.c (opt_eq_func): large function to make inline.
403 * bcc32/Makefile.sub (config.h): cannot compile a big inline function.
405 Fri Aug 8 21:09:10 2008 NARUSE, Yui <naruse@ruby-lang.org>
407 * common.mk (enk.mk): give not RUBY but MINIRUBY.
409 Fri Aug 8 17:03:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
411 * configure.in (shutdown, sched_yield, pthread_attr_setinheritsched):
414 * eval_intern.h, io.c, thread_pthread.c: use autoconfisticated results.
416 Fri Aug 8 16:52:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
418 * common.mk (enc.mk): mkmf.rb requires rbconfig.rb.
420 * common.mk (srcs-enc): renamed from transcodes.
422 * enc/Makefile.in (make-workdir): creates object directories.
424 * common.mk (encdb.h): see both $(srcdir)/enc and enc.
426 * enc/make_encdb.rb: ditto.
428 * enc/trans/make_transdb.rb: fix for the case no transdirs are given.
430 * enc/trans/make_transdb.rb: converts only one transcoders for each
433 Fri Aug 8 10:53:52 2008 Tanaka Akira <akr@fsij.org>
435 * lib/resolv.rb: randomize source port and transaction id.
438 * lib/resolv-replace.rb (UDPSocket#bind): don't resolv host if host is
441 Fri Aug 8 04:20:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
443 * common.mk: see both $(srcdir)/enc/trans and enc/trans.
445 * enc/trans/make_transdb.rb: ditto.
447 Fri Aug 8 00:05:02 2008 TAKAO Kouji <kouji@takao7.net>
449 * ext/.document: added readline/readline.c.
451 * ext/readline/readline.c: changed Copyright. added RDoc.
453 * ext/readline/README.ja: fixed typo.
455 * ext/readline/README: contents was moved RDoc.
457 Thu Aug 7 23:43:11 2008 Tanaka Akira <akr@fsij.org>
459 * transcode_data.h (rb_transcoding): new field "stateful".
460 (rb_transcoder): preprocessor and postprocessor field removed.
461 change arguments of func_ii, func_si, func_io and func_so.
462 new field "finish_func".
464 * tool/transcode-tblgen.rb: make FUNii, FUNsi and FUNio
467 * transcode.c (transcoder_lib_table): removed.
468 (transcoder_table): change structure.
469 (transcoder_key): removed because the above structure change.
470 (make_transcoder_entry): new function.
471 (get_transcoder_entry): ditto.
472 (rb_register_transcoder): follow the structure change.
473 (declare_transcoder): ditto.
474 (transcode_search_path): new function for breadth first search to
475 find a list of converters.
476 (transcode_search_path_i): new function.
477 (transcode_dispatch_cb): ditto.
478 (transcode_dispatch): use transcode_search_path.
479 (transcode_loop): follow the argument change.
480 (str_transcode): preprocessor and postprocessor stuff removed.
482 * enc/trans/iso2022.erb.c: new file. ISO-2022-JP conversion
485 * enc/trans/japanese.erb.c: ISO-2022-JP stuff removed.
487 * enc/trans/utf_16_32.erb.c: follow argument change of FUNso.
491 Thu Aug 7 22:55:44 2008 TAKAO Kouji <kouji@takao7.net>
493 * ext/readline/README.ja: updated API document for Readline module.
495 Thu Aug 7 20:52:08 2008 Shugo Maeda <shugo@ruby-lang.org>
497 * lib/net/ftp.rb (login): raise FTPReplyError if passwd or acct
498 is not supplied. fixed [ruby-core:18058].
500 Thu Aug 7 18:01:44 2008 Akinori MUSHA <knu@iDaemons.org>
502 * misc/ruby-mode.el (ruby-imenu-create-index-in-block): Fix the
503 regexp to only pick definition lines properly. `module_funtion'
504 is not a definition of a module named `_function'.
506 Thu Aug 7 17:47:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
508 * enc/depend: add transdb.c.
510 Thu Aug 7 16:28:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
512 * Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
515 Thu Aug 7 14:17:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
517 * enc/depend: removed needless explicit commands.
519 * lib/mkmf.rb, {bcc32,win32}/Makefile.sub (CLEANLIBS, CLEANOBJS):
520 moved clean targets to platfrom makefiles.
522 Thu Aug 7 13:12:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
524 * ext/socket/getaddrinfo.c (gai_strerror): ignore only on Haiku.
525 a patch from <zn at mbf.nifty.com>, [ruby-dev:35796].
527 Thu Aug 7 06:31:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
529 * test/ruby/process.rb (test_popen_fork): skip a test which is
532 Thu Aug 7 06:05:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
534 * config.guess: add powerpc-apple-haiku, i586-pc-haiku.
535 see [ruby-core:18110]
537 Thu Aug 7 05:51:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
539 * eval_intern.h: Add support to Haiku. see [ruby-core:18110]
541 * include/ruby/defines.h: ditto.
543 * configure.in: ditto.
545 * thread_pthread.c: ditto.
549 * lib/mkmf.rb: ditto.
551 * ext/socket/getaddrinfo.c: ditto.
553 * ext/socket/extconf.rb: ditto.
555 * ext/socket/socket.c: ditto.
557 * ext/socket/addrinfo.h: ditto.
559 * ext/socket/getnameinfo.c: ditto.
561 Thu Aug 7 05:43:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
563 * common.mk: mkdir enc/trans before build tables.
565 Thu Aug 7 05:18:30 2008 NARUSE, Yui <naruse@ruby-lang.org>
567 * enc/depend: enc/*.c is source but enc/trans/*.c is generated.
569 Thu Aug 7 05:14:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
571 * regenc.c (code_to_mbc): raise RangeError Integer#chr
572 when more than 255 is given with single byte encoding.
575 Thu Aug 7 05:06:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
577 * gc.c (run_final): runs finalizers with the object terminated.
579 * gc.c (rb_gc_call_finalizer_at_exit): keeps finalized objects from
582 Thu Aug 7 04:43:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
584 * enc/depend: for build in other than srcdir.
586 Wed Aug 6 22:40:48 2008 Tanaka Akira <akr@fsij.org>
588 * tool/transcode-tblgen.rb (transcode_generate_node): code
591 Wed Aug 6 21:25:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
593 * gc.c (chain_finalized_object): deletes finalizers to be invoked from
596 * gc.c (rb_gc_call_finalizer_at_exit): warns when could not invoke
599 Wed Aug 6 20:56:43 2008 Tanaka Akira <akr@fsij.org>
601 * enc/depend: transcode table generation depends on
602 tool/transcode-tblgen.rb.
604 Wed Aug 6 20:48:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
606 * gc.c (rb_gc_call_finalizer_at_exit): self-referencing finalizers
607 cannot be invoked. [ruby-dev:35681]
609 Wed Aug 6 20:44:41 2008 Tanaka Akira <akr@fsij.org>
611 * tool/transcode-tblgen.rb: distinguish UNDEF and INVALID.
614 * transcode.c (transcode_loop): don't need rb_enc_mbclen now.
616 Wed Aug 6 14:40:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
618 * common.mk (transdb.h): requires transcoders.
620 * enc/depend (srcs): target for transcoders.
622 Wed Aug 6 14:04:08 2008 NAKAMURA Usaku <usa@ruby-lang.org>
624 * enc/depend: replace not only $(<:...) but also $<.
626 Wed Aug 6 13:54:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
628 * win32/Makefile.sub (config.status): export BASERUBY.
630 * enc/depend: avoid GNU make'ism.
632 Wed Aug 6 07:59:02 2008 Tanaka Akira <akr@fsij.org>
634 * tool/transcode-tblgen.rb (ActionMap#eql?): use == to compare @map.
636 Wed Aug 6 07:45:26 2008 Tanaka Akira <akr@fsij.org>
638 * tool/transcode-tblgen.rb: show generating tables in verbose mode.
639 (transcode_generate_node): call ActionMap#generate_node with showing
642 * enc/trans/utf_16_32.erb.c: use transcode_generate_node.
644 Wed Aug 6 06:55:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
646 * thread.c (thread_start_func_2): propagates fatal error and system
647 exit to the main thread.
649 Wed Aug 6 05:31:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
651 * encoding.c (rb_to_encoding_index, rb_to_encoding): check if the name
652 is ascii compatible as well as Encoding.find.
654 * transcode.c (str_encode): no need to duplicate first.
656 Wed Aug 6 05:08:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
658 * array.c (rb_ary_sort_bang): reset to real class.
660 * file.c (rb_find_file_ext, rb_find_file): ditto.
662 * io.c (io_reopen): ditto.
664 Wed Aug 6 03:56:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
666 * common.mk (transcodes), tool/build-transcode: generates transcode
669 * enc/trans/{japanese,korean,single_byte,utf_16_32}.c: to be
672 * enc/depend: added rules for .c from .erb.c.
674 Tue Aug 5 20:46:20 2008 Tanaka Akira <akr@fsij.org>
676 * tool/build-transcode: new file.
678 * tool/transcode-tblgen.rb: new file.
680 * enc/trans/make_transdb.rb: exclude *.erb.c.
682 * enc/depend: exclude *.erb.c.
684 * enc/trans/utf_16_32.erb.c: new file.
686 * enc/trans/single_byte.erb.c: new file.
688 * enc/trans/japanese.erb.c: new file.
690 * enc/trans/korean.erb.c: new file.
692 * enc/trans/iso-8859-2-tbl.rb: new file.
694 * enc/trans/iso-8859-3-tbl.rb: new file.
696 * enc/trans/iso-8859-4-tbl.rb: new file.
698 * enc/trans/iso-8859-5-tbl.rb: new file.
700 * enc/trans/iso-8859-6-tbl.rb: new file.
702 * enc/trans/iso-8859-7-tbl.rb: new file.
704 * enc/trans/iso-8859-8-tbl.rb: new file.
706 * enc/trans/iso-8859-9-tbl.rb: new file.
708 * enc/trans/iso-8859-10-tbl.rb: new file.
710 * enc/trans/iso-8859-11-tbl.rb: new file.
712 * enc/trans/iso-8859-13-tbl.rb: new file.
714 * enc/trans/iso-8859-14-tbl.rb: new file.
716 * enc/trans/iso-8859-15-tbl.rb: new file.
718 * enc/trans/eucjp-tbl.rb: new file.
720 * enc/trans/sjis-tbl.rb: new file.
722 * enc/trans/euckr-tbl.rb: new file.
724 * enc/trans/utf_16_32.c: regenerated.
726 * enc/trans/single_byte.c: regenerated.
728 * enc/trans/japanese.c: regenerated.
730 * enc/trans/korean.c: regenerated.
734 Tue Aug 5 18:02:53 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
736 * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush):
737 rescue some exceptions. [ruby-dev:35638]
739 Tue Aug 5 16:40:06 2008 Shugo Maeda <shugo@ruby-lang.org>
741 * lib/net/ftp.rb (chdir): handle 5xx errors correctly.
742 fixed [ruby-core:18057].
744 Tue Aug 5 16:38:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
746 * include/ruby/win32.h, bcc32/Makefile.sub (config.h): bcc 5.8 has
749 Tue Aug 5 16:13:05 2008 Shugo Maeda <shugo@ruby-lang.org>
751 * lib/net/imap.rb (disconnect): do not refer SSL::SSLSocket for
752 environments without OpenSSL. fixed [ruby-dev:35755].
754 Tue Aug 5 14:19:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
756 * file.c (rb_stat_mode): generalized st_mode mask.
758 Tue Aug 5 12:43:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
760 * io.c (retry_sendfile, retry_read): ENOSYS and EWOULDBLOCK are not
761 defined on every platforms.
763 Tue Aug 5 12:34:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
765 * transcode_data.h (TRANSCODE_ERROR): common transcode failure
766 exception, would be changed later.
768 * enc/trans/japanese.c (UNSUPPORTED_MODE): unsupported mode transition
771 Tue Aug 5 03:29:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
773 * array.c (rb_ary_sort_bang): respect overridden <=> for String and
774 Fixnum. [ruby-core:17708]
776 * include/ruby/node.h (NOEX_BASIC): basic definition method flag.
778 * include/ruby/intern.h, vm_method.c (rb_method_basic_definition_p):
779 new function to check if the method is not redefined after the
782 * vm_method.c (rb_obj_respond_to): use rb_method_basic_definition_p.
784 Mon Aug 4 20:39:06 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
786 * Makefile.in (update-rubyspec): renamed the rubyspec directory
787 "spec". Changed directory structure.
789 * Makefile.in (test-rubyspec): ditto.
791 * spec/README: described the structure of "spec" directory.
793 * spec/default.mspec: configured for Matz's Ruby Implementation.
795 Mon Aug 4 19:21:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
797 * array.c (rb_ary_tmp_new): added.
799 * vm_eval.c (vm_call_super): fixed typo, and get rid of too large
800 alloca. [ruby-core:17922]
802 Mon Aug 4 16:48:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
804 * parse.y (deferred_nodes, compstmt, arg, fixup_nodes, range_op): fix
805 up fixnum range literal in conditional as automagical line number
806 comparison. [ruby-core:12124], [ruby-dev:35731]
808 Mon Aug 4 14:41:25 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
810 * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from
811 Masao Takaku <masao at nii.ac.jp>
812 fix [ruby-dev:35489].
814 Mon Aug 4 14:08:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
816 * marshal.c (dump_ensure), process.c (run_exec_dup2),
817 string.c (rb_str_replace), transcode.c (transcode_dispatch): fixed
818 memory leaks. based on patches from shinichiro.h <shinichiro.hamaji
819 AT gmail.com> at [ruby-dev:35751].
821 Sun Aug 3 19:32:52 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
823 * ext/win32ole/win32ole.c (hash2named_arg): refactoring.
825 * ext/win32ole/win32ole.c (ole_invoke, fole_respond_to, ev_on_event,
826 fev_off_event): accepts Symbol argument.
828 * test/win32ole/test_win32ole.rb: ditto.
830 * test/win32ole/test_win32ole_event.rb: ditto.
832 Sun Aug 3 10:41:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
834 * string.c (rb_str_shared_replace): fixed memory leak. a patch from
835 shinichiro.h <shinichiro.hamaji AT gmail.com> at [ruby-dev:35742]
837 Sat Aug 2 22:55:41 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
839 * test/win32ole/test_err_in_callback.rb: remove temporary files.
842 Sat Aug 2 15:51:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
844 * parse.y (yylex): 8 and 9 in octal integer should cause compile
845 error. [ruby-dev:35729]
847 Sat Aug 2 01:06:10 2008 NARUSE, Yui <naruse@ruby-lang.org>
849 * enc/trans/japanese.c: add U+FF5E to EUC-JP.
850 [ruby-dev:35720] [ruby-dev:35722]
852 Fri Aug 1 23:49:44 2008 TAKAO Kouji <kouji@takao7.net>
854 * ext/readline/extconf.rb: checked to have clear_history in
856 * ext/readline/readline.c (hist_get, hist_each, Init_readline):
857 The offset specified for the argument of history_get() might be
858 different in GNU Readline and libedit. If use libedit, it was
859 corrected that the computational method of the offset specified
860 for the argument of history_get() when the Readline module was
861 initialized was decided.
862 (hist_get, hist_set): If use libedit, accesses first an input
863 content in history when specifies the negative offset for the
864 argument of history_get() or replace_history_entry(). Then
865 checks the offset is negative in ruby.
866 (rb_remove_history): When compiling, it corrects it to warning
867 when libedit is used.
868 (hist_clear, Init_readline): added Readline::HISTORY.clear
869 method. [ruby-dev:35551]
870 * test/readline/test_readline_history.rb: added unit test for
873 Fri Aug 1 23:26:45 2008 NARUSE, Yui <naruse@ruby-lang.org>
875 * transcode.c (transcode_loop): undefined character is replaced with
876 only one character. [ruby-dev:35709]
878 Fri Aug 01 23:26:22 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
880 Merged r16430(akr), r16431(akr), r16433(akr), r16469(nobu), and
881 r17874(akr) from ruby_1_8.
883 * Makefile.in (update-rubyspec): added
885 * Makefile.in (test-rubyspec): added
887 Fri Aug 1 23:16:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
889 * enc/trans/japanese.c: add support for CP51932,
891 Fri Aug 1 22:59:40 2008 NARUSE, Yui <naruse@ruby-lang.org>
893 * enc/trans/japanese.c: add U+FF0C,
895 Fri Aug 1 21:49:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
897 * test/sdbm/test_sdbm.rb: add some tests.
899 Fri Aug 1 21:36:00 2008 Yusuke Endoh <mame@tsg.ne.jp>
901 * gc.c (allocate_heaps, assign_heap_slot, rb_newobj_from_heap):
902 reset during_gc before raising NoMemoryError.
904 Fri Aug 1 21:29:56 2008 Yusuke Endoh <mame@tsg.ne.jp>
906 * vm.c (Init_BareVM): check failure of malloc().
908 Fri Aug 1 20:55:27 2008 NARUSE, Yui <naruse@ruby-lang.org>
910 * enc/trans/japanese.c (to_SHIFT_JIS_EF_BF_offsets): add U+FFF3,
913 * enc/trans/japanese.c (to_SHIFT_JIS_EF_BF_infos): ditto.
915 * enc/trans/japanese.c (to_EUC_JP_EF_BF_infos): added.
917 * enc/trans/japanese.c (to_EUC_JP_EF_BF): added.
919 * enc/trans/japanese.c (to_EUC_JP_EF_infos): change size.
922 Fri Aug 01 18:27:15 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
924 * parse.y (parser_yylex): removed an useless conditional, and magic
925 comment are ignored unless at the first of line.
927 * test/ruby/test_m17n.rb (test_magic_comment_vim): added.
929 * test/ruby/test_m17n.rb (test_magic_comment_at_variaous_positions):
932 Fri Aug 1 14:54:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
934 * win32/win32.c (rb_w32_seekdir): no need to rewind to seek forward.
936 Fri Aug 1 05:31:08 2008 NARUSE, Yui <naruse@ruby-lang.org>
938 * transcode.c (output_replacement_character):
939 rename from _get_replacement_character.
941 * transcode.c (output_replacement_character):
942 fix replacement on UTF-32{BE,LE}. [ruby-dev:35705]
944 * transcode.c (transcode_loop): ditto.
946 * test/ruby/test_transcode.rb (test_invalid_replace):
949 Fri Aug 1 01:01:49 2008 Yusuke Endoh <mame@tsg.ne.jp>
951 * proc.c (rb_proc_call_with_block): reduce comparison.
953 Wed Jul 30 21:08:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
955 * ext/syck/syck.c (syck_free_parser): fix memory leak by
958 Thu Jul 31 22:17:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
960 * ext/bigdecimal/bigdecimal.c (VpMult): prevent memory leak.
962 Thu Jul 31 20:05:56 2008 NARUSE, Yui <naruse@ruby-lang.org>
964 * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
967 Thu Jul 31 19:54:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
969 * transcode.c (get_replacement_character): use U+FFFD as replacement
970 character when convert to Unicode.
972 * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
973 rename from test_public_review_issue_121.
975 * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
978 Thu Jul 31 17:00:10 2008 NARUSE, Yui <naruse@ruby-lang.org>
980 * transcode.c (get_replacement_character): fix: invalid byte sequence
981 is always replaced "\x00?".
983 Thu Jul 31 16:37:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
985 * test/rubygems/test_gem_ext_configure_builder.rb
986 (test_self_build_fail): remove extra newline. [ruby-dev:35704]
988 Thu Jul 31 15:11:11 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
990 * test/ruby/test_transcode.rb: added test_shift_jis
991 (contributed by Yoshihiro Kambayashi) and
992 test_public_review_issue_121
993 (see http://www.unicode.org/review/pr-121.html)
995 Thu Jul 31 13:18:30 2008 Yusuke Endoh <mame@tsg.ne.jp>
997 * include/ruby/ruby.h (struct RString): size of ary must be
998 RSTRING_EMBED_LEN_MAX + 1.
1000 Thu Jul 31 12:23:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1002 * pack.c (pack_unpack): upper half of hexdigits has never been used.
1004 Thu Jul 31 11:31:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1006 * ext/syck/syck.h (ASSERT): fix typo at r18176.
1008 * ext/syck/rubyext.c (rb_syck_compile): expression in ASSERT() has no
1009 effect unless debug mode.
1011 Thu Jul 31 10:51:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1013 * iseq.c (ruby_iseq_disasm_insn): suppress warnings on platforms which
1014 int size differs from pointer size.
1016 * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): ditto
1018 * ext/syck/rubyext.c (rb_syck_err_handler),
1019 (syck_default_error_handler): ditto.
1021 Thu Jul 31 02:21:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
1023 * ext/syck/rubyext.c (rb_syck_compile): remove meaningless branch
1024 that misleads into thinking that the variable sav may be
1027 Thu Jul 31 01:25:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1029 * thread.c (rb_mutex_unlock_all): mutex is no longer a ruby object.
1031 Thu Jul 31 01:18:07 2008 Yusuke Endoh <mame@tsg.ne.jp>
1033 * parse.y (magic_comment_encoding): remove meaningless null check.
1035 Thu Jul 31 01:09:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
1037 * ext/bigdecimal/bigdecimal.c (VpIsRoundMode): fix tautology
1040 Thu Jul 31 00:58:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1042 * pack.c (pack_unpack): reduced static variables.
1044 Thu Jul 31 00:10:20 2008 Yusuke Endoh <mame@tsg.ne.jp>
1046 * proc.c (rb_proc_call_with_block): prevent null reference.
1048 Wed Jul 30 22:19:13 2008 Yusuke Endoh <mame@tsg.ne.jp>
1050 * parse.y (vtable_free): remove meaningless null check.
1052 Wed Jul 30 22:08:25 2008 Tanaka Akira <akr@fsij.org>
1054 * dir.c (struct dir_data): change path field char * to VALUE.
1055 (mark_dir): new function for mark path field.
1056 (free_dir): follow the path field change.
1057 (dir_s_alloc): ditto.
1058 (dir_initialize): ditto.
1059 (dir_s_open): ditto.
1060 (dir_inspect): ditto.
1061 (dir_path): return (duplicate of) the path field to preserve
1062 encoding. [ruby-dev:35685]
1064 Wed Jul 30 22:06:56 2008 Yusuke Endoh <mame@tsg.ne.jp>
1066 * string.c (sym_inspect): remove dead code.
1068 Wed Jul 30 21:32:52 2008 Yusuke Endoh <mame@tsg.ne.jp>
1070 * ChangeLog: fix wrong method name and add reference.
1072 Wed Jul 30 21:30:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
1074 * regparse.c (name_add): fix memory leak.
1076 Wed Jul 30 21:08:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
1078 * regparse.c (parse_exp): fix memory leak at Regexp.new("x{1,1}").
1080 Wed Jul 30 17:48:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1082 * win32/win32.c (rb_w32_select): recalc the rest of timeout for each
1083 iterations. [ruby-core:18015]
1085 Tue Jul 29 23:37:37 2008 Yusuke Endoh <mame@tsg.ne.jp>
1087 * io.c (io_ungetc): raise NotImplementedError when ungetc is called
1088 against dummy encoding IO. [ruby-dev:35686]
1090 * io.c (rb_io_getline_1): ditto when gets with delimiter is called.
1092 * io.c (io_getc): ditto when getc is called.
1094 * test/ruby/test_io_m17n.rb (test_terminator_stateful_conversion,
1095 test_getc_stateful_conversion, test_ungetc_stateful_conversion):
1096 these tests should raise NotImplementedError.
1098 Tue Jul 29 22:55:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
1100 * test/ruby/test_io.rb (pipe): run reader thread and writer thread.
1102 Tue Jul 29 21:38:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
1104 * ext/bigdecimal/bigdecimal.c (Init_bigdecimal): fix typo.
1106 Tue Jul 29 21:35:59 2008 Yusuke Endoh <mame@tsg.ne.jp>
1108 * test/etc/test_etc.rb (test_passwd): age field may be string under
1111 Tue Jul 29 17:54:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
1113 * dir.c (char_casecmp): fix: return 0 if either of characters is NUL.
1115 Tue Jul 29 13:17:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
1117 * test/etc/test_etc.rb (test_getpwuid): fix for users whose uid is
1120 Tue Jul 29 05:37:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1122 * file.c (rb_find_file_ext, rb_find_file): explicit relative path
1123 which starts with "./" or "../" should be searched from cwd
1124 instead of load path. [ruby-dev:35673]
1126 Tue Jul 29 02:39:46 2008 NARUSE, Yui <naruse@ruby-lang.org>
1128 * math.c (math_atanh): raise EDOM on FreeBSD when atanh(1).
1130 * math.c (math_log): ditto.
1132 * math.c (math_log2): ditto.
1134 * math.c (math_log10): ditto.
1136 * test/ruby/test_math.rb: test for above.
1138 Tue Jul 29 01:41:15 2008 Tanaka Akira <akr@fsij.org>
1140 * dir.c (struct dir_data): intenc field removed.
1141 (dir_s_alloc): intenc initialization removed.
1142 (dir_initialize): :internal_encoding option removed. dirname code
1144 (dir_enc_str): code conversion removed.
1147 Mon Jul 28 21:32:17 2008 Kouhei Sutou <kou@cozmixng.org>
1149 * test/rss/: use PNG instead of zlib as binary data.
1151 Mon Jul 28 21:24:33 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1153 * thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): reverted
1154 r18239 because r18245 made the changes unnecessary.
1156 * thread.c (rb_mutex_struct): define after including thread_{pthread,
1159 Mon Jul 28 21:00:10 2008 Yusuke Endoh <mame@tsg.ne.jp>
1161 * test/ruby/test_require.rb (test_require_too_long_filename):
1162 Kernel#require does not use dln_find_file_r (at r18242).
1164 Mon Jul 28 20:17:03 2008 Yusuke Endoh <mame@tsg.ne.jp>
1166 * vm_core.h: move the definition of struct rb_mutex_struct.
1170 Mon Jul 28 18:58:46 2008 Yusuke Endoh <mame@tsg.ne.jp>
1172 * thread.c (mutex_unlock): fix typo.
1174 Mon Jul 28 18:15:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1176 * file.c (rb_find_file_ext, rb_find_file): not to split load path with
1177 path separator. [ruby-Bugs-21356]
1179 Mon Jul 28 18:14:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1181 * win32/win32.c (overlapped_socket_io, fcntl, rb_w32_close): must not
1182 pass a pointer to int which is smaller than st_data_t on mswin64.
1184 Mon Jul 28 16:49:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1186 * win32/win32.c (CreateChild, overlapped_socket_io): suppress
1189 Mon Jul 28 16:06:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1191 * win32/win32.c (MAXPATHLEN): define before use.
1193 Mon Jul 28 16:01:12 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1195 * thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): moved
1196 the definitions from .c to .h because rb_thread_cond_struct is used
1199 Mon Jul 28 14:29:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1201 * dln.c (load_lib): use dln_find_file_r instead of dln_find_file.
1203 Mon Jul 28 00:18:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
1205 * vm_core.h, thread.c: It is now prohibited to use Data_Get_Struct in
1206 *_free against an object that is going to be free'ed. So, change type
1207 of thread_t#keeping_mutexes from VALUE to mutex_t.
1209 * vm.c: remove mark to keeping_mutexes.
1211 Sun Jul 27 23:32:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
1213 * test/openssl/test_ssl.rb (server_loop): rescue Errno::EINVAL and
1214 Errno::ECONNABORTED.
1216 Sun Jul 27 22:11:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
1218 * bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes
1219 because FreeBSD fails this less than that.
1221 Sun Jul 27 21:45:59 2008 Koichi Sasada <ko1@atdot.net>
1223 * gc.c (gc_mark_children, obj_free): T_DEFERRED should not be appear.
1225 * gc.c (gc_sweep, finalize_list): fix to decrement heap_slot#limit
1226 after executing finalizer.
1228 Sun Jul 27 14:48:37 2008 Koichi Sasada <ko1@atdot.net>
1230 * include/ruby/ruby.h: add a type T_DEFERRED.
1232 * gc.c: fix deferred finalizer system. finalize processes of
1233 T_DATA and T_FILE are executed after gc process.
1234 And fix to use BUILTIN_TYPE() instead of seeing flag.
1236 * thread.c, vm_core.h: add RUBY_VM_SET_FINALIZER_INTERRUPT()
1237 and check intterupt_flag at rb_thread_execute_interrupts().
1239 * thread.c (mutex_mark): fix to mark next_mutex.
1241 * vm.c (rb_thread_mark): fix to mark keeping_mutexes.
1243 Sun Jul 27 09:15:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1245 * dln.h (dln_find_exe, dln_find_file): deprecated, use reentrant
1248 Sun Jul 27 09:02:32 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
1250 * lib/rinda/tuplespace.rb: merged from 1.8.
1252 * test/rinda/test_rinda.rb: merged from 1.8.
1254 Sat Jul 26 22:45:18 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
1256 * sample/exyacc.rb: fixed NoMethodError(Kernel#sub!).
1257 replaced use of special variables with explicit IO
1260 Sat Jul 26 21:17:18 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1262 * ext/win32ole/win32ole.c (Init_win32ole): add
1263 WIN32OLE_EVENT#handler=, WIN32OLE_EVENT#handler
1265 * test/win32ole/test_win32ole_event.rb: ditto.
1267 Sat Jul 26 07:44:14 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1269 * ext/win32ole/win32ole.c (add_event_call_back): remove unused
1272 Fri Jul 25 23:48:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1274 * gc.c (gc_sweep, obj_free, run_final): defer finalizers of IO and
1275 Data. [ruby-dev:35578]
1277 Fri Jul 25 23:35:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1279 * lib/webrick/httputils.rb (WEBrick::HTTPUtils#split_header_value):
1280 reduce backtrack. based on a fix by Christian Neukirchen
1281 <chneukirchen AT gmail.com>.
1283 Fri Jul 25 21:55:38 2008 Yusuke Endoh <mame@tsg.ne.jp>
1285 * test/ruby/enc/test_koi8.rb: move from test/ruby/test_koi8.rb.
1287 Fri Jul 25 21:09:32 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1289 * ext/win32ole/win32ole.c (ole_invoke, add_event_callback,
1290 rescue_callback): refactoring.
1292 Fri Jul 25 20:52:44 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1294 * test/win32ole/err_in_callback.rb : add test of raising
1295 exception in WIN32OLE_EVENT callback.
1297 * test/win32ole/test_err_in_callback.rb : ditto.
1299 Fri Jul 25 20:43:57 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1301 * ext/win32ole/win32ole.c (Init_win32ole): add
1302 WIN32OLE_EVENT#off_event.
1304 * test/win32ole/test_win32ole_event.rb: ditto.
1306 * test/win32ole/test_win32ole_event.rb: some refactoring.
1308 Fri Jul 25 19:50:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1310 * regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.
1312 Fri Jul 25 15:52:40 2008 Koichi Sasada <ko1@atdot.net>
1314 * vm.c (vm_invoke_proc): skip setting safe_level if
1315 it from bmethod. This change makes test/ruby/test_proc.rb pass.
1317 Fri Jul 25 10:00:00 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
1319 * test/ruby/test_transcode.rb: refactoring/cleanup of
1320 test_iso_2022_jp(_1)
1322 Fri Jul 25 04:12:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
1324 * ext/nkf/nkf.c (rb_nkf_convert): output of mime encode is US-ASCII.
1327 Fri Jul 25 02:43:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
1329 * sample/coverage.rb: move from lib/coverage.rb because this remains in
1330 an early phase of development.
1332 Fri Jul 25 00:10:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1334 * file.c (rb_find_file_ext, rb_find_file): converts Windows style path
1335 to Cygwin path. [ruby-dev:35647]
1337 Thu Jul 24 16:30:21 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1339 * win32/win32.c (exit_handler): use st_free_table() to free socklist.
1341 * win32/win32.c (rb_w32_pipe_exec, rb_w32_accept, rb_w32_socket,
1342 rb_w32_socketpair): should check and release fd and sockets/handles
1343 if an error occurs in rb_w32_open_osfhandle().
1345 Thu Jul 24 16:05:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1347 * win32/win32.c (overlapped_socket_io): avoid warnings.
1349 * thread_win32.c (ubf_handle): refactoring.
1351 Thu Jul 24 07:01:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1353 * ext/win32ole/win32ole.c: got rid of improper casts.
1355 Wed Jul 23 23:19:15 2008 Yusuke Endoh <mame@tsg.ne.jp>
1357 * test/socket/test_tcp.rb (test_recvfrom): replace an irrelevant test
1360 Wed Jul 23 21:38:16 2008 Yusuke Endoh <mame@tsg.ne.jp>
1362 * test/ruby/test_marshal.rb: suppress warning during test.
1364 Wed Jul 23 21:35:53 2008 Yusuke Endoh <mame@tsg.ne.jp>
1366 * test/ruby/test_dir.rb: suppress warning during test.
1368 Wed Jul 23 18:27:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1370 * ext/tk/{stubs,tcltklib}.c, ext/tk/tkutil/tkutil.c: fix warnings
1371 about constness and signedness.
1373 Wed Jul 23 17:04:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1375 * ext/openssl/openssl_missing.h (d2i_of_void): define for older
1376 versions. [ruby-dev:35637]
1378 Wed Jul 23 13:53:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1380 * ext/curses/extconf.rb: use try_static_assert.
1382 Wed Jul 23 10:06:19 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
1384 * test/zlib/test_zlib.rb (TestZlibDeflate#test_params): suppress a
1387 Wed Jul 23 06:25:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1389 * ext/syck: suppress warnings more.
1391 Wed Jul 23 03:19:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1393 * ext/nkf/nkf-utf8/nkf.c (struct input_code.name, input_codename):
1396 Wed Jul 23 03:02:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1398 * ext/syck: suppress warnings.
1400 Wed Jul 23 00:34:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1402 * ext/openssl: suppress warnings.
1404 Tue Jul 22 23:01:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
1406 * ext/syck/rubyext.c, ext/syck/yaml2byte.c, ext/syck/emitter.c,
1407 ext/syck/syck.c, ext/syck/handler.c, ext/syck/syck.h: suppress GCC
1410 Tue Jul 22 20:42:24 2008 Yusuke Endoh <mame@tsg.ne.jp>
1412 * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): BigDecimal#<=> should
1413 return nil if an argument can't be coerced into BigDecimal.
1415 * ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c
1416 (VpIsNegDoubleZero, VpItoV): comment out unused functions.
1418 Tue Jul 22 20:33:54 2008 Yusuke Endoh <mame@tsg.ne.jp>
1420 * test/rdoc/test_rdoc_parser_ruby.rb (teardown): close tempfile.
1422 Tue Jul 22 19:38:38 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
1424 * test/ruby/test_transcode.rb: added two comments
1426 Tue Jul 22 18:08:34 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1428 * README.EXT, README.EXT.ja: mention about FIX2LONG and NUM2LONG.
1429 see [ruby-dev:35197]
1431 Tue Jul 22 17:53:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1433 * compile.c (insn_data_to_s_detail), file.c (rb_stat_inspect),
1434 iseq.c (ruby_iseq_disasm_insn, ruby_iseq_disasm),
1435 process.c (pst_message), re.c (match_inspect): use rb_str_catf.
1437 * dir.c (dir_inspect), iseq.c (iseq_inspect, insn_operand_intern): use
1440 * error.c (rb_name_error, rb_raise, rb_loaderror, rb_fatal): use
1443 Tue Jul 22 17:20:25 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1445 * win32/win32.c (init_func): new function to get API's address which
1446 is often used and not supported on all Windows.
1448 * win32/win32.c (overlapped_socket_io): shouldn't use overlapped I/O if
1449 CancelIo() is not supported.
1451 Tue Jul 22 16:47:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1453 * include/ruby/intern.h, sprintf.c (rb_str_catf, rb_str_vcatf): new
1454 functions. [ruby-dev:35597]
1456 * string.c (rb_str_capacity): new function to return the capacity.
1458 Tue Jul 22 16:08:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1460 * ext/socket/socket.c (connect_blocking, socks_connect_blocking,
1461 ruby_connect): cast.
1463 Tue Jul 22 11:05:08 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
1465 * test/ruby/test_dir.rb: use realpath of tmpdir. [ruby-dev:35481]
1467 * test/ruby/test_process.rb: ditto.
1469 Tue Jul 22 09:51:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1471 * misc/ruby-mode.el: fix here-doc strings with inner quotes. patches
1472 by Nathan Weizenbaum <nex342 AT gmail.com> from [ruby-core:17615]
1473 through [ruby-core:17910].
1475 Tue Jul 22 04:26:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1477 * include/ruby/intern.h (rb_str_buf_new2): optimization for literals.
1479 * string.c (str_buf_cat): returns VALUE.
1481 Tue Jul 22 03:34:01 2008 Eric Hodel <drbrain@segment7.net>
1483 * lib/rdoc*: Update to RDoc 2.1.0 r112.
1485 Tue Jul 22 02:51:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1487 * include/ruby/intern.h (rb_str_buf_cat2, rb_str_cat2): optimization
1490 Tue Jul 22 02:50:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1492 * README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): fix the
1493 prototype of rb_vsprintf, and added rb_str_cat2. [ruby-dev:35622]
1495 Mon Jul 21 17:15:38 2008 Tanaka Akira <akr@fsij.org>
1497 * encoding.c (rb_filesystem_encoding): use locale encoding on Unix.
1500 Mon Jul 21 15:29:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1502 * missing/vsnprintf.c (struct __sbuf, FILE): use size_t.
1504 * sprintf.c (ruby__sfvwrite): ditto.
1506 Mon Jul 21 13:55:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1508 * README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): mentioned
1509 rb_sprintf and rb_vsprintf. [ruby-dev:35611]
1511 Mon Jul 21 10:25:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1513 * io.c (prepare_getline_args): check if rs is a string when non-nil
1514 lim is given. [ruby-dev:35610]
1516 Mon Jul 21 04:55:20 2008 Tanaka Akira <akr@fsij.org>
1518 * dir.c (dir_initialize): use rb_convert_type instead of
1519 rb_check_convert_type to prevent SEGV by Dir.new(".", true).
1520 (dir_initialize): use FilePathValue before rb_enc_get(dirname) to
1521 prevent SEGV by Dir.new(0).
1523 Mon Jul 21 04:42:15 2008 Tanaka Akira <akr@fsij.org>
1525 * re.c (rb_reg_s_union): useless rb_enc_get call removed to prevent
1526 SEGV by Regexp.union("", nil).
1528 Sun Jul 20 22:50:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1530 * compile.c (iseq_compile_each): NODE_POSTEXE should set each end
1531 procs only once. [ruby-dev:35596]
1533 Sun Jul 20 16:00:37 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1535 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): use rb_protect
1536 instead of rb_rescue2. [ruby-dev:35595]
1538 Sun Jul 20 01:23:24 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1540 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.
1542 * ext/win32ole/win32ole.c (EVENTSINK_GetIDsOfNames): return
1543 ITypeInfo::GetIDsOfNames().
1545 Sat Jul 19 09:31:35 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1547 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.
1549 * ext/win32ole/win32ole.c: add document of inspect methods.
1551 Sat Jul 19 06:08:43 2008 Eric Hodel <drbrain@segment7.net>
1553 * lib/rdoc*: Import RDoc r104. Various make test-all fixes.
1555 Sat Jul 19 00:27:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1557 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): fixed wrong check
1558 about 64bit positive value.
1560 Fri Jul 18 23:23:37 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1562 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): avoid cfp consistency
1563 error when exception raised in event callback.
1565 Fri Jul 18 14:52:14 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1567 * win32/win32.c (socklist): table for registering socket options
1568 (currently only O_NONBLOCK).
1570 * win32/win32.c (StartSockets, exit_handler): alloc/free socklist.
1572 * win32/win32.c (is_socket): use socklist.
1574 * win32/win32.c (rb_w32_accept, rb_w32_socket, rb_w32_socketpair):
1575 register new socket to socklist.
1577 * win32/win32.c (rb_w32_close): remove closing socket from socklist.
1579 * win32/win32.c (fcntl): register socket options.
1581 * win32/win32.c (overlapped_socket_io): send to/recv from socket with
1582 overlapped operation if the socket is not nonblocking mode.
1585 * win32/win32.c (rb_w32_send, rb_w32_sendto, rb_w32_recv,
1586 rb_w32_recvfrom): use overlapped_socket_io().
1588 * win32/win32.c (open_ifs_socket): set overlapped mode. this is the
1589 default mode of winsock's socket(), so lacking it is an old bug.
1591 Fri Jul 18 09:44:30 2008
1593 * lib/rdoc/*: Import RDoc r101.
1595 Thu Jul 17 23:45:55 2008 Yusuke Endoh <mame@tsg.ne.jp>
1597 * test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile.
1599 Thu Jul 17 21:08:49 2008 Yusuke Endoh <mame@tsg.ne.jp>
1601 * test/ruby/test_process.rb (test_getpriority, test_setpriority): use
1602 PRIO_PROCESS instead of PRIO_USER.
1604 Thu Jul 17 20:41:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
1606 * pack.c (pack_unpack): fix v and V with big endian.
1607 [1].pack("V").unpack("V") was [4294967296].
1609 Thu Jul 17 20:35:03 2008 Yusuke Endoh <mame@tsg.ne.jp>
1611 * pack.c (pack_pack): fix i! with big endian. [1].pack("i!") was
1614 Thu Jul 17 16:48:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1616 * ext/socket/socket.c (ruby_connect): select() for connect() has
1617 mean only when the socket is non-blocking.
1619 Thu Jul 17 10:55:24 2008 Eric Hodel <drbrain@segment7.net>
1621 * mkconfig.rb: Simplify expression for RDoc.
1623 Thu Jul 17 10:21:15 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1625 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): strict check.
1626 fixed [ruby-dev:33683]
1628 Thu Jul 17 04:19:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1630 * thread.c (thread_start_func_2): wake up joining threads.
1632 * thread.c (sleep_forever, sleep_timeval): return when interrupted.
1635 * thread.c (timer_thread_function): restore main thread status.
1638 Thu Jul 17 01:27:38 2008 Yusuke Endoh <mame@tsg.ne.jp>
1640 * io.c (appendline): remove invalid access.
1642 Wed Jul 16 18:04:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1644 * signal.c (signal_exec, trap_handler): trap accepts a string as
1645 command. [ruby-dev:35533]
1647 Wed Jul 16 00:04:30 2008 Yusuke Endoh <mame@tsg.ne.jp>
1649 * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new
1652 * test/ruby/test_argf.rb: use assert_in_out_err instead of
1655 * test/ruby/test_module.rb: ditto.
1657 * test/ruby/test_require.rb: ditto.
1659 * test/ruby/test_objectspace.rb: ditto.
1661 * test/ruby/test_object.rb: ditto.
1663 * test/ruby/test_string.rb: ditto.
1665 * test/ruby/test_method.rb: ditto.
1667 * test/ruby/test_variable.rb: ditto.
1669 * test/ruby/test_io.rb: ditto.
1671 * test/ruby/test_rubyoptions.rb: ditto.
1673 * test/ruby/test_exception.rb: ditto.
1675 * test/ruby/test_class.rb: ditto.
1677 * test/ruby/test_thread.rb: ditto.
1679 Tue Jul 15 22:34:03 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1681 * win32/Makefile.sub (ruby_version): follow changes in configure.in.
1683 Tue Jul 15 21:58:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1685 * ext/tk/{,tkutil/}extconf.rb: ruby/ruby.h no longer needs to be
1688 * ext/tk/{tcltklib.c,tkutil/tkutil.c}: check macros for each headers.
1690 Tue Jul 15 21:45:41 2008 Akinori MUSHA <knu@iDaemons.org>
1692 * ext/tk/extconf.rb, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: Do
1693 not test ruby/ruby.h, which makes OS X's gcc pick the wrong
1694 header file from Ruby.framework.
1696 Tue Jul 15 21:31:26 2008 Akinori MUSHA <knu@iDaemons.org>
1698 * configure.in (--with-ruby-version): Add a new option to specify
1699 the ruby version string for version specific directories.
1702 * mkconfig.rb: Definition of ruby_version is now determined by the
1705 Tue Jul 15 18:14:20 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1707 * ext/socket/socket.c (ruby_connect, s_accept): check before readable/
1708 writable by select() instead of wrapping in blocking region.
1710 * ext/socket/socket.c (bsock_send, s_recvfrom, udp_send, unix_send_io,
1711 unix_recv_io): should check readable/writable before calling blocking
1713 see [ruby-dev:35446]
1715 Tue Jul 15 18:12:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1717 * thread_win32.c (ubf_handle): cancel blocking IO if it can (only
1718 Vista). see [ruby-dev:35446]
1720 * win32/win32.c (errmap): add ERROR_OPERATION_ABORTED as EINTR.
1722 Mon Jul 14 20:35:21 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1724 * test/win32ole/test_win32ole_event.rb (teardown): fix typo.
1726 Mon Jul 14 18:47:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1728 * transcode.c (transcode_loop): constified.
1730 * transcode.c (str_transcode): rb_str_set_len() sets a delimiter.
1732 * transcode_data.h (rb_transcoder): constified preprocessor and
1733 postprocessor input.
1735 * enc/trans/japanese.c: ditto.
1737 Sun Jul 13 05:37:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1739 * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
1741 * {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added.
1743 Sat Jul 12 23:54:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1745 * win32/Makefile.sub (LIBRUBY_DLDFLAGS): import library which created
1746 with DLL is broken. save import library which created by lib.exe and
1748 fixed the problem mentioned at the postscript of [ruby-dev:35448]
1750 Sat Jul 12 23:24:21 2008 Tanaka Akira <akr@fsij.org>
1752 * ext/socket/socket.c: use PRIuSIZE.
1754 Sat Jul 12 22:41:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1756 * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): fixed typo.
1758 Sat Jul 12 22:30:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1760 * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that
1761 extconf.rb do not need to check if headers exist under separated
1762 directory. [ruby-dev:35437]
1764 * include/{ruby,rubyio,rubysig}.h, include/ruby/intern.h: use
1765 "ruby/..." instead of <ruby/...>.
1767 Sat Jul 12 22:17:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1769 * configure.in (sizeof ptrdiff_t): check for size of ptrdiff_t.
1771 * include/ruby/ruby.h (PRI?PTRDIFF, PRI?SIZE): printf conversion
1772 specifiers for ptrdiff_t and size_t/ssize_t.
1774 * insns.def (leave), marshal.c (long_toobig), transcode.c
1775 (str_transcode), vm_dump.c (control_frame_dump, stack_dump_each),
1776 (debug_print_register, debug_print_pre): t and z length modifiers
1779 Sat Jul 12 16:02:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1781 * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires
1782 webrick/cookie. [ ruby-Bugs-21139 ]
1784 Sat Jul 12 09:25:07 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1786 * test/win32ole/test_win32ole_event.rb: add test
1787 for WIN32OLE_EVENT#on_event_with_outargs
1789 * test/win32ole/test_win32ole_event.rb(teardown): calling
1790 WIN32OLE_EVENT.message_loop
1792 Sat Jul 12 01:54:13 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1794 * win32/win32.c (rb_w32_select): shoudn't pass non-socket handle to
1797 Fri Jul 11 23:05:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
1799 * test/zlib/test_zlib.rb: add a test for Zlib::Deflate#params.
1801 Fri Jul 11 22:58:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
1803 * ext/zlib/zlib.c (rb_deflate_params): flush before deflateParams.
1806 Fri Jul 11 22:09:01 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1808 * win32/setup.rb, win32/Makefile.sub (PLATFORM): use $(PLATFORM)
1809 instead of $(OS) because ENV["OS"] is used in test-all (drb).
1811 Fri Jul 11 20:51:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1813 * io.c (rb_io_wait_readable, rb_io_wait_writable): check if the file
1814 descriptor is closed.
1816 * thread.c (rb_thread_wait_fd_rw): ditto.
1818 Fri Jul 11 16:16:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1820 * win32/win32.c (rb_w32_accept, rb_w32_socket, rb_w32_socketpair):
1821 prohibit inheritance of sockets, too. [experimental]
1823 Fri Jul 11 14:39:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1825 * win32/win32.c (CreateChild): the measures for Vista is no longer
1828 Fri Jul 11 06:16:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1830 * common.mk (process.o): depends on util.h.
1832 Fri Jul 11 05:07:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1834 * include/ruby/win32.h (pipe): prohibit inheritance.
1835 fixed: [ruby-dev:35421]
1837 Fri Jul 11 00:56:46 2008 Koichi Sasada <ko1@atdot.net>
1839 * thread.c (thread_create_core): fix GC problem.
1842 Thu Jul 10 22:06:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1844 * lib/pstore.rb (PStore#transaction): return the result from the
1845 block. [ruby-core:17718]
1847 Thu Jul 10 21:15:49 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1849 * test/win32ole/test_win32ole_typelib.rb: add some illegal argument
1852 * test/win32ole/test_win32ole_type.rb: ditto.
1854 * test/win32ole/test_win32ole_event.rb: ditto.
1856 * test/win32ole/test_win32ole_param.rb: ditto.
1858 * test/win32ole/test_win32ole_method.rb: ditto.
1860 Thu Jul 10 19:38:35 2008 wanabe <s.wanabe@gmail.com>
1862 * test/ruby/envutil.rb (assert_normal_exit): r17993 revert.
1864 Thu Jul 10 18:29:41 2008 wanabe <s.wanabe@gmail.com>
1866 * test/ruby/envutil.rb (assert_normal_exit): finish writing script
1867 before spawn("ruby") to avoid blocking in win32.
1869 Thu Jul 10 17:20:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1871 * win32/win32.c (insert): follow recent changes of globbing.
1873 Thu Jul 10 14:09:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1875 * ext/coverage/coverage.c (rb_coverage_start): return nil.
1877 Thu Jul 10 12:41:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1879 * thread.c (rb_thread_wait_for): fixed variable name.
1881 Thu Jul 10 12:09:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1883 * vm_core.h (rb_thread_t), vm.c (rb_thread_mark), process.c
1884 (rb_last_status_get, rb_last_status_set, rb_last_status_clear):
1885 moved last_status from rb_vm_t. [ruby-dev:35414]
1887 * vm.c (th_init2): initialize last_status with nil.
1889 Thu Jul 10 12:09:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1891 * thread.c (rb_thread_wait_for): wait until timed out only when
1892 sleeping with timeout.
1894 Wed Jul 9 22:41:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1896 * thread.c (sleep_timeval): wait until timed out. [ruby-core:17270]
1898 Wed Jul 9 20:58:16 2008 Tanaka Akira <akr@fsij.org>
1900 * array.c (rb_ary_fill): don't raise even if length is negative.
1901 [ruby-core:17483], [ruby-core:17661]
1903 Wed Jul 9 20:18:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1905 * configure.in (rb_cv_va_args_macro): check for __VA_ARGS__.
1907 * thread.c (thread_debug): show source name and line if possible.
1909 * thread_{pthread,win32}.c (rb_thread_create_timer_thread): needs more
1912 Wed Jul 9 11:13:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1914 * lib/profiler.rb (Profiler__#print_profile): sort in the descending
1915 order of cumulative time.
1917 Wed Jul 9 11:11:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1919 * dir.c (struct glob_args, rb_glob_caller, rb_glob2, push_pattern),
1920 (glob_brace): make consistent prototypes.
1922 * dir.c (push_glob): set enc in the caller of rb_glob_caller as well
1925 Wed Jul 9 09:12:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
1927 * ext/nkf/nkf-utf8/nkf.c (options): use input_endian.
1929 Wed Jul 9 01:38:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1931 * string.c (rb_str_succ): alphabets or numerics mutually enclosing
1932 non-alphanumeric characters can carry up. e.g., "1.999".succ should
1935 Wed Jul 9 00:12:31 2008 Yusuke Endoh <mame@tsg.ne.jp>
1937 * thread.c (rb_set_coverages, rb_reset_coverages): enable and disable
1938 coverage measurement.
1940 * thread.c (rb_get_coverages): rename and move from vm.c.
1942 * vm.c (rb_vm_get_coverages): ditto.
1944 * iseq.c (prepare_iseq_build): ditto.
1946 * thread.c (clear_coverage): ditto.
1948 * parse.y (coverage): ditto.
1950 * ext/coverage/coverage.c: use above functions, add new method
1951 Coverage.start and fix rdoc .
1953 Tue Jul 8 23:02:35 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1955 * ext/win32ole/win32ole.c (find_default_source): bug fix when
1956 OLE object does not have default source interface.
1958 * test/win32ole/test_win32ole_event.rb: ditto.
1960 Tue Jul 8 22:56:23 2008 Yusuke Endoh <mame@tsg.ne.jp>
1962 * thread.c (rb_enable_coverages): hide coverage array by setting 0 to
1963 klass during measurement.
1965 * parse.y (coverage, yycompile0): ditto.
1967 * iseq.c (prepare_iseq_build): use rb_hash_lookup instead of
1970 * thread.c (rb_coverage_result): restore klass of coverage array
1973 * theaad.c (update_coverage): chcek whether its klass is 0.
1975 Tue Jul 8 22:28:25 2008 Koichi Sasada <ko1@atdot.net>
1977 * lib/debug.rb, lib/profile.rb: fix to use RubyVM.
1979 * lib/rdoc/parsers/parse_c.rb: ditto.
1981 Tue Jul 8 21:45:22 2008 Yusuke Endoh <mame@tsg.ne.jp>
1983 * vm.c (rb_vm_mark): mark the last element of special_exceptions.
1985 Tue Jul 8 19:55:40 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1987 * ext/win32ole/win32ole.c (find_default_source): try to
1988 find COCLASS when WIN32OLE object is not COCLASS.
1990 * test/win32ole/test_win32ole_event.rb: ditto
1992 Tue Jul 8 13:38:22 2008 Koichi Sasada <ko1@atdot.net>
1994 * compile.h: fix to skip inserting a trace insn.
1996 Tue Jul 8 11:41:17 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1998 * dir.c: shoudn't use ruby object in globbing, because glob service
1999 routines are called before initializing ruby on some platforms (ex.
2002 Tue Jul 8 10:08:40 2008 NARUSE, Yui <naruse@ruby-lang.org>
2004 * dir.c (Next): use rb_enc_mbclen. [ruby-dev:35390]
2006 Tue Jul 8 07:59:40 2008 NARUSE, Yui <naruse@ruby-lang.org>
2008 * dir.c (Next): use rb_enc_precise_mbclen.
2010 Tue Jul 8 02:27:23 2008 NARUSE, Yui <naruse@ruby-lang.org>
2012 * dir.c: preserve encoding of strings in glob and fnmatch.
2014 * include/ruby/ruby.h: related changes.
2016 Tue Jul 8 00:22:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2018 * string.c (rb_str_succ): limit carrying in an alphanumeric region if
2019 exists. [ruby-dev:35094]
2021 Mon Jul 7 20:39:28 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2023 * ext/win32ole/win32ole.c(Init_win32ole): add
2024 WIN32OLE_TYPE#source_ole_types, WIN32OLE_TYPE#default_ole_types,
2025 WIN32OLE_TYPE#default_event_sources.
2027 * test/win32ole/test_win32ole_type.rb: ditto.
2029 Mon Jul 7 19:45:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
2031 * test/ruby/test_dir.rb (test_chroot_nodir): add Errno::EPERM.
2033 Mon Jul 7 17:12:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2035 * lib/ipaddr.rb (IPAddr#initialize): get rid of ArgumentError in
2036 IPAddr#to_range. a patch from okkez <okkez000 AT gmail.com> in
2039 Mon Jul 7 01:24:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2041 * file.c (rb_file_s_extname): fix for file name with spaces.
2044 Mon Jul 7 00:59:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2046 * thread_pthread.c (ruby_init_stack): prior STACK_END_ADDRESS if
2047 found. [ruby-core:17624]
2049 Sun Jul 6 23:48:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2051 * ext/socket/socket.c (bsock_send, s_recvfrom, ruby_connect, s_accept),
2052 (udp_send, unix_send_io, unix_recv_io): blocking region support.
2054 Sun Jul 6 18:34:35 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2056 * test/win32ole/test_win32ole_type.rb (test_initialize): add
2059 Sun Jul 6 10:12:21 2008 Kouhei Sutou <kou@cozmixng.org>
2061 * lib/test/unit/collector/objectspace.rb
2062 (Test::Unit::Collector::ObjectSpace::NAME): fix a typo.
2064 Sun Jul 6 00:56:51 2008 Tanaka Akira <akr@fsij.org>
2066 * ext/socket/socket.c (host_str): fix type mismatch in rb_raise
2067 format and argument.
2069 (unix_recv_io): ditto.
2070 (sock_s_unpack_sockaddr_un): ditto.
2072 Sat Jul 5 23:42:23 2008 Tanaka Akira <akr@fsij.org>
2074 * include/ruby/ruby.h (NUM2INT): cast to int.
2076 (NUM2UINT): cast to unsigned int.
2079 Sat Jul 5 23:10:41 2008 Tanaka Akira <akr@fsij.org>
2081 * io.c (rb_pipe): new function for handling EMFILE and ENFILE
2083 (UPDATE_MAXFD_PIPE): removed.
2084 (pipe_open): use rb_pipe.
2085 (rb_io_s_pipe): ditto.
2087 * process.c (pipe_nocrash): use rb_pipe.
2089 * include/ruby/intern.h (rb_pipe): declared.
2091 Sat Jul 5 22:22:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2093 * thread.c (thread_initialize): NUM2INT() returns int.
2095 * thread.c (timer_thread_function), thread_pthread.c (thread_timer),
2096 thread_win32.c (timer_thread_func), thread_{pthread,win32}.c
2097 (rb_thread_create_timer_thread): passing VM.
2099 Sat Jul 5 20:53:18 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2101 * test/win32ole/test_word.rb: check word installed.
2103 Sat Jul 5 16:12:54 2008 Narihiro Nakamura <authorNari@gmail.com>
2105 * gc.c: revert. before lazy sweep.
2107 Sat Jul 5 09:55:44 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2109 * ext/win32ole/win32ole.c: add WIN32OLE#ole_respond_to?
2111 * test/win32ole/test_win32ole.rb: ditto.
2113 Sat Jul 5 08:48:05 2008 Tanaka Akira <akr@fsij.org>
2115 * re.c (unescape_nonascii): add has_property argument not to
2116 raise error by /\p{Hiragana}\u{3042}/ in EUC-JP script.
2117 (rb_reg_preprocess): use has_property argument to make regexp
2120 Sat Jul 5 08:29:47 2008 Tanaka Akira <akr@fsij.org>
2122 * re.c (unescape_nonascii): make regexp fixed_encoding if \p is used.
2123 fixed [ruby-core:17279].
2125 Fri Jul 4 23:12:53 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2127 * ext/win32ole/win32ole.c (d2time): fix the bug of VT_DATE
2128 to String conversion when negative value.
2130 * test/win32ole/test_win32ole_variant.rb: ditto.
2132 Fri Jul 4 22:15:29 2008 Tanaka Akira <akr@fsij.org>
2134 * lib/test/unit/testcase.rb: collect decendants of
2135 Test::Unit::TestCase using inherited.
2137 * lib/test/unit/autorunner.rb: don't use ObjectSpace.each_object.
2139 * lib/test/unit/collector/dir.rb: ditto.
2141 * lib/test/unit/collector/objectspace.rb: ditto.
2145 Fri Jul 4 20:43:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2147 * include/ruby/oniguruma.h (OnigEncoding): removed auxiliary_data.
2149 * include/ruby/encoding.h (ENC_DUMMY_P): moved dummy encoding flag to
2150 rb_encoding from Encoding instance.
2152 * encoding.c (rb_encoding_list): list of Encoding instances.
2154 * encoding.c (struct rb_encoding_entry): moved base encoding from
2157 Fri Jul 4 17:51:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2159 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): proper check.
2161 Fri Jul 4 14:17:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2163 * lib/net/ftp.rb (Net::FTP#sendport): use divmod. [ruby-core:17557]
2165 Fri Jul 4 11:08:37 2008 Narihiro Nakamura <authorNari@gmail.com>
2167 * gc.c (garbage_collect_force): sweep is completely ended.
2169 * gc.c (os_obj_of): invoke garbage_collect_force() when freelist none.
2171 Fri Jul 4 05:01:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2173 * numeric.c (rb_num2uint, rb_fix2uint): typo.
2175 Fri Jul 4 02:21:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2177 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): also needs checking
2178 negative value. see [ruby-dev:33683]
2180 Thu Jul 3 23:26:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
2182 * include/ruby/intern.h: remove prototypes about coverage.
2184 * iseq.c (prepare_iseq_build): add prototype.
2186 * parse.y (coverage): ditto.
2188 * thread.c (clear_coverage): ditto.
2190 * thread.c (update_coverage): use rb_sourceline.
2192 * thread.c (rb_get_coverages): rename and move to vm.c.
2194 * vm.c (rb_vm_get_coverages): ditto.
2196 * ext/coverage/coverage.c: add rdoc.
2198 Thu Jul 3 21:51:21 2008 Yusuke Endoh <mame@tsg.ne.jp>
2200 * ext/coverage/coverage.c, ext/coverage/extconf.rb: eliminate
2201 COVERAGE__ and introduce coverage.so instead. How to measure
2202 coverage: (1) require "coverage.so", (2) require or load Ruby source
2203 file, and (3) Coverage.result will return the same hash as COVERAGE__.
2206 * thread.c (rb_enable_coverages): start coverage measurement by using
2209 * thread.c (rb_get_coverages): returns current results of coverage
2212 * include/ruby/intern.h: add prototype for above two functions.
2214 * vm_core.h, vm.c: add field of coverages to rb_vm_t.
2216 * insns.def (trace): remove special handling for COVERAGE__.
2218 * iseq.c (prepare_iseq_build): switch COVERAGE__ to
2221 * parse.y (coverage): ditto.
2223 * thread.c (clear_coverage): ditto.
2225 * lib/coverage.rb: use coverage.so instead of COVERAGE__.
2227 Thu Jul 3 21:20:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
2229 * thread.c (thread_initialize): NUM2INT returns long.
2231 Thu Jul 3 21:06:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2233 * eval.c (Init_eval): typo fixed in r17833.
2235 Thu Jul 3 19:44:44 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2237 * ext/win32ole/win32ole.c (Init_win32ole): remove duplicate line.
2239 Thu Jul 3 16:08:36 2008 Tanaka Akira <akr@fsij.org>
2241 * configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch
2242 on IA64 is broken. erfc(10000.0) aborts.
2243 use missing/erf.c instead.
2244 http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html
2246 Thu Jul 3 12:49:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2248 * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
2249 'localhost.localdomain'. [ruby-dev:35333]
2251 * lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
2253 Thu Jul 3 07:06:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2255 * Makefile.in (SET_LC_MESSAGES): LC_MESSAGES must be C.
2257 Thu Jul 3 07:02:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2259 * eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze
2260 messages of preallocated special exceptions also.
2262 Thu Jul 3 04:39:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2264 * gc.c (rb_during_gc): VALUE cache is irrelevant.
2266 Thu Jul 3 01:44:01 2008 Yusuke Endoh <mame@tsg.ne.jp>
2268 * regint.h (GET_ALIGNMENT_PAD_SIZE, ALIGNMENT_RIGHT): cast pointer to
2269 uintptr_t instead of unsigned int.
2271 Thu Jul 3 01:23:13 2008 Yusuke Endoh <mame@tsg.ne.jp>
2273 * sprintf.c: include ieeefp.h to refer isinf.
2275 * ext/bigdecimal/bigdecimal.c: ditto.
2277 * ext/json/ext/generator/generator.c: ditto.
2279 * rational.c: ditto.
2281 Thu Jul 3 01:01:57 2008 Yusuke Endoh <mame@tsg.ne.jp>
2283 * missing/tgamma.c (tgamma): remove unused variable.
2285 Thu Jul 3 00:18:00 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2287 * ext/win32ole/win32ole.c: avoid creating Ruby object during
2288 GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313]
2290 * test/win32ole/test_win32ole_event.rb: ditto.
2292 Thu Jul 3 00:09:31 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2294 * gc.c: add rb_during_gc(). based on a patch from arton <artonx AT
2295 yahoo.co.jp> at [ruby-dev:35313].
2297 * include/ruby/intern.h: ditto.
2299 Wed Jul 2 09:49:10 2008 Narihiro Nakamura <authorNari@gmail.com>
2301 * gc.c (gc_lazy_sweep): use lazy sweep algorithm for response
2304 * gc.c (garbage_collect_force): mark and lazysweep invoke, after
2307 * gc.c (GC_NOT_LAZY_SWEEP): not lazy sweep flag. for debug.
2309 Wed Jul 2 03:42:44 2008 Yusuke Endoh <mame@tsg.ne.jp>
2311 * test/ruby/test_settracefunc.rb: fix expected traces for
2312 RubyVM::FrozenCore's event and r17744.
2314 Wed Jul 2 03:10:41 2008 Koichi Sasada <ko1@atdot.net>
2316 * compile.h, insns.def: reduce insn operand of "trace".
2318 * include/ruby/ruby.h: add RUBY_EVENT_COVERAGE event.
2320 Wed Jul 2 02:02:34 2008 Koichi Sasada <ko1@atdot.net>
2322 * proc.c, vm.c: fix to refer next ruby level cfp to make binding.
2324 Wed Jul 2 01:58:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2326 * insns.def (trace): C99ism.
2328 Wed Jul 2 01:53:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
2330 * Add coverage measurement constant COVERAGE__. This constant is not
2331 for casual use. Usage: (1) assign {} to COVERAGE__, (2) require or
2332 load Ruby source file, and (3) COVERAGE__["sourcefilepath"] will
2333 return an array whose elements represent number of executions per
2334 line of source code.
2336 * vm_core.h: add field of coverage array to iseq.
2338 * iseq.c (prepare_iseq_build): ditto.
2340 * insns.def (trace): update coverage array.
2342 * parse.y (coverage): create and initialize coverage array.
2344 * compile.h (ADD_TRACE): add trace instruction to update covearge
2347 * thread.c (clear_coverage): delete coverage array when forking.
2348 Otherwise, double count of coverage may occur.
2350 * lib/coverage.rb: sample coverage measurement tool.
2352 * error.c: distinguish explicitly between parse_in_eval and
2359 Tue Jul 1 21:32:43 2008 Yusuke Endoh <mame@tsg.ne.jp>
2361 * lib/test/unit/ui/console/testrunner.rb: prevent destructive
2364 * test/rubygems/gemutilities.rb (build_rake_in): move from
2365 test_gem_ext_rake_builder.rb.
2367 * test/rubygems/test_gem_ext_rake_builder.rb: ditto.
2369 * test/rubygems/test_gem_installer.rb: override Gem.ruby and
2372 * test/rubygems/test_gem_uninstaller.rb: ditto.
2375 Tue Jul 1 21:13:17 2008 Koichi Sasada <ko1@atdot.net>
2377 * compile.c, vm.c, insns.def: call FrozenCore.set_postexe method
2378 instead to use "postexe" insn.
2380 * id.c, id.h: add a prepared id for above.
2382 Tue Jul 1 21:09:58 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2384 * lib/mkmf.rb (create_tmpsrc): we need to include COMMON_HEADERS,
2385 namely inclusion of ruby.h, because _GNU_SOURCE is now defined
2386 there (if any) and socket.so requires it on Linux systems.
2388 Tue Jul 1 20:55:07 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2390 * eval.c (rb_interrupt): trick to suppress GCC warning.
2392 * sprintf.c (rb_str_format): ditto.
2394 Tue Jul 1 20:44:36 2008 Koichi Sasada <ko1@atdot.net>
2396 * tool/instruction.rb: RubyVM is not module.
2398 Tue Jul 1 19:31:24 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2400 * ext/digest/digest.c (rb_digest_instance_inspect): constified.
2402 * variable.c (rb_path2class): field precision should have type int.
2404 Tue Jul 1 19:01:00 2008 NARUSE, Yui <naruse@ruby-lang.org>
2406 * enc/shift_jis.c (code_is_ctype): HALF WIDTH KATAKANA is
2409 Tue Jul 1 17:56:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2411 * missing/vsnprintf.c (BSD__uqtoa): constified.
2413 Tue Jul 1 17:50:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2415 * enc/make_encdb.h: always add ';' at the end of line.
2417 Tue Jul 1 17:44:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2419 * iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),
2420 thread.c (eKillSignal, eTerminateSignal),
2421 missing/vsnprintf.c (BSD_vfprintf): constified.
2423 Tue Jul 1 17:37:43 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2425 * enc/ascii.c: ISO C does not allow extra ';' outside of a
2428 * enc/us_ascii.c: ditto.
2430 * enc/utf_8.c: ditto.
2432 * enc/big5.c: ditto.
2434 * enc/euc_jp.c: ditto.
2436 * enc/euc_kr.c: ditto.
2438 * enc/euc_tw.c: ditto.
2440 * enc/gb2312.c: ditto.
2444 * enc/iso_8859_1.c: ditto.
2446 * enc/iso_8859_2.c: ditto.
2448 * enc/iso_8859_3.c: ditto.
2450 * enc/iso_8859_4.c: ditto.
2452 * enc/iso_8859_5.c: ditto.
2454 * enc/iso_8859_6.c: ditto.
2456 * enc/iso_8859_7.c: ditto.
2458 * enc/iso_8859_8.c: ditto.
2460 * enc/iso_8859_9.c: ditto.
2462 * enc/iso_8859_10.c: ditto.
2464 * enc/iso_8859_11.c: ditto.
2466 * enc/iso_8859_13.c: ditto.
2468 * enc/iso_8859_14.c: ditto.
2470 * enc/iso_8859_15.c: ditto.
2472 * enc/iso_8859_16.c: ditto.
2474 * enc/koi8_r.c: ditto.
2476 * enc/shift_jis.c: ditto.
2478 * enc/utf_16be.c: ditto.
2480 * enc/utf_32be.c: ditto.
2482 * enc/utf_32le.c: ditto.
2484 * enc/windows_1251.c: ditto.
2486 * process.c (run_exec_rlimit): ISO C90 forbids mixed declarations
2489 * include/ruby/ruby.h (enum ruby_special_consts): ISO C forbids
2490 comma at end of enumerator list
2492 * include/ruby/ruby.h (enum ruby_value_type): ditto.
2494 * eval_intern.h (enum): ditto.
2496 * vm_core.h (enum rb_thread_status): ditto.
2498 * parse.y (enum lex_state_e): ditto.
2500 * parse.y (enum string_type): ditto.
2502 * process.c (enum): ditto.
2504 * ruby.c (enum dump_flag_bits): ditto.
2506 * ruby.c (enum disable_flag_bits): ditto.
2508 * enc/gb18030.c (enum): ditto.
2510 Tue Jul 1 17:21:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2512 * regexec.c (stack_double): use MatchStackLimitSize atomically.
2514 * regparse.c (onig_free_shared_cclass_table): OnigTypeCClassTable
2517 * regsyntax.c: constified all predefined OnigSyntaxTypes.
2519 Tue Jul 1 16:57:44 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2521 * include/ruby/st.h (struct st_table): type of bit-field
2522 'num_entries' is a GCC extension
2524 * include/ruby/ruby.h (rb_intern): prefix __extnsion__ for
2525 braced-groups within expressions.
2527 * include/ruby/intern.h (rb_usascii_str_new2): ditto.
2529 * include/ruby/intern.h (rb_tainted_str_new2): ditto.
2531 * include/ruby/intern.h (rb_str_new2): ditto.
2533 Tue Jul 1 15:01:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2535 * lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make),
2536 (Gem::Ext::Builder.run): EXIT_SUCCESS may be 0 or may not.
2538 * test/rubygems/test_gem_ext_rake_builder.rb (build_rake_in): override
2539 Gem.ruby and ENV["rake"].
2541 * runruby.rb: bin/rake does not exist in archdir where architecture
2542 depend script (i.e. rbconfig.rb) exists.
2544 Tue Jul 1 13:19:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2546 * array.c (rb_ary_fill): check if beg is too big.
2548 Tue Jul 1 12:01:16 2008 Koichi Sasada <ko1@atdot.net>
2550 * compile.c, insns.def, vm.c, vm_core.h: remove some insns
2551 (undef, alias, definemethod).
2552 Call RubyVM::FrozenCore's singleton method instead.
2553 Add "putiseq" and "putspecialobject" instructions.
2555 * id.c, id.h: add ids for above.
2557 * tool/parse.rb: "VM" no longer exists. Use RubyVM instead.
2559 Tue Jul 1 03:28:16 2008 Eric Hodel <drbrain@segment7.net>
2561 * test/rubygems/test_ext_configure_builder.rb: Apply locale-free
2562 patch by Yusuke ENDOH. [ruby-core:17444].
2564 * runruby.rb: Set ENV['rake']. Patch by Yusuke ENDOH
2567 Tue Jul 1 01:07:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2569 * lib/cgi.rb (CGI::QueryExtension.read_multipart): blanks inside
2570 double quotes are allowed. [ruby-list:45140]
2572 Tue Jul 1 00:59:43 2008 Tanaka Akira <akr@fsij.org>
2574 * numeric.c (num_coerce): call rb_Float(x) first. don't depend on
2575 evaluation order of function arguments.
2577 Tue Jul 1 00:49:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2579 * gc.c (rb_newobj): abort GC phase before rb_bug.
2581 Mon Jun 30 23:15:07 2008 Yusuke Endoh <mame@tsg.ne.jp>
2583 * test/openssl/test_ssl.rb (start_server): shutdown TCPServer before
2586 Mon Jun 30 23:01:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2588 * common.mk (RUBY_H_INCLUDES): common headers which are included with
2591 Mon Jun 30 22:57:50 2008 Yusuke Endoh <mame@tsg.ne.jp>
2593 * test/ruby/test_settracefunc.rb (test_raise): reveal an exception
2594 hided by rescue modifier.
2596 Mon Jun 30 22:49:32 2008 Yusuke Endoh <mame@tsg.ne.jp>
2598 * test/ruby/test_array.rb (test_aset): access with too big index
2599 raises not ArgumentError but IndexError now.
2601 Mon Jun 30 22:30:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2603 * lib/test/unit/collector/dir.rb (recursive_collect): r15662 reverted.
2605 Mon Jun 30 22:27:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
2607 * ext/stringio/stringio.c (strio_getline): fix for nil and "" as
2608 separator. [ruby-dev:34591]
2610 Mon Jun 30 22:21:30 2008 Yusuke Endoh <mame@tsg.ne.jp>
2612 * io.c (argf_each_line): pass args to each_line. [ruby-dev:34958]
2614 Mon Jun 30 22:12:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2616 * gc.c (chain_finalized_object): should not delete from finalizer
2619 * gc.c (rb_gc_call_finalizer_at_exit): deferred_final_list may be
2622 Mon Jun 30 18:57:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2624 * gc.c (gc_finalize_deferred): allow object allocation in finalizers.
2626 * gc.c (rb_gc_call_finalizer_at_exit): ditto.
2628 Mon Jun 30 14:41:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2630 * gc.c (rb_newobj): prohibit call of rb_newobj() during gc when
2631 USE_VALUE_CACHE is not defined (normal case).
2633 Mon Jun 30 10:28:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2635 * ext/syslog/syslog.c (syslog_write): syslog operations should be
2636 protected from $SAFE level 4. a patch from Keita Yamaguchi
2637 <keita.yamaguchi at gmail.com>.
2639 * ext/syslog/syslog.c (mSyslog_close): ditto.
2641 * ext/syslog/syslog.c (mSyslog_set_mask): ditto.
2643 Mon Jun 30 03:01:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
2645 * test/net/http/test_http.rb (_test_request__file): specify encoding
2648 * test/net/http/utils.rb: ditto.
2650 Mon Jun 30 02:31:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
2652 * encoding.c (rb_utf8_encindex): defined.
2654 * include/ruby/encoding.h (rb_utf8_encindex): ditto.
2656 Mon Jun 30 02:14:34 2008 Koichi Sasada <ko1@atdot.net>
2658 * vm.c, vm_core.h,vm_core.h, vm_dump.c, iseq.c: rename class name
2659 VM -> RubyVM, and rename rb_cVM -> rb_cRubyVM.
2660 "VM" is too short name for class.
2662 * test/ruby/test_method.rb, test/ruby/test_settracefunc.rb: ditto.
2664 * include/ruby/ruby.h: rb_cRubyVM, rb_cEnv, rb_cISeq should not be
2667 Mon Jun 30 02:10:32 2008 Koichi Sasada <ko1@atdot.net>
2669 * process.c (Init_process): fix to avoid a warning.
2671 Mon Jun 30 01:52:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
2673 * test/ruby/test_parse.rb: remove tests for open_args.
2675 Sun Jun 29 23:01:54 2008 Tanaka Akira <akr@fsij.org>
2677 * string.c (rb_str_format_m): make tmp volatile to avoid possible GC
2680 Sun Jun 29 18:01:30 2008 Kouhei Sutou <kou@cozmixng.org>
2682 * lib/rss/parser.rb, lib/rss/utils.rb: merge documents from ruby_1_8.
2684 Sun Jun 29 17:44:23 2008 Kouhei Sutou <kou@cozmixng.org>
2686 * lib/rss/parser.rb (RSS::ListenerMixin#known_class): define to
2687 work with ruby 1.8.x too.
2689 Sun Jun 29 17:41:42 2008 Kouhei Sutou <kou@cozmixng.org>
2691 * lib/rss/maker/base.rb (RSS::Maker::RSSBase#to_feed): raise
2692 exception not return nil if RSS::Maker.make can't get required
2695 * test/rss/rss-assertions.rb: follow the above change.
2697 Sun Jun 29 17:37:23 2008 Kouhei Sutou <kou@cozmixng.org>
2699 * lib/rss/maker/base.rb (RSS::Maker::RSSBase#make): require block.
2701 * test/rss/test_maker_{0.9,1.0,2.0}.rb: follow the above change.
2703 Sun Jun 29 17:33:34 2008 Kouhei Sutou <kou@cozmixng.org>
2705 * lib/rss/maker/base.rb, lib/rss/maker/itunes.rb: don't use
2706 instance_eval to initialize variables. (speed up)
2708 Sun Jun 29 17:31:15 2008 Kouhei Sutou <kou@cozmixng.org>
2710 * lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION):
2713 Sun Jun 29 11:36:20 2008 Yusuke Endoh <mame@tsg.ne.jp>
2715 * dir.rb: fix resource leak.
2717 Sun Jun 29 09:43:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2719 * lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, and
2720 should be clean. based on a patch from arton <artonx AT
2721 yahoo.co.jp> at [ruby-dev:35269]
2723 Sun Jun 29 07:53:08 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2725 * ext/win32ole/win32ole.c (date2time_str): fix the overflow in
2726 some situation. [ruby-bugs-20793]
2728 Sat Jun 28 21:25:08 2008 Tanaka Akira <akr@fsij.org>
2730 * include/ruby/ruby.h (struct RRegexp): new field usecnt. replace
2733 * gc.c (gc_mark_children): mark src field of regexp.
2734 (obj_free): don't free str field.
2736 * re.c (REG_BUSY): removed.
2737 (rb_reg_initialize): prohibit re-initialize regexp.
2738 (rb_reg_search): use usecnt to prevent freeing regexp currently
2739 using. this prevents SEGV by:
2740 r = /\A((a.)*(a.)*)*b/
2741 r =~ "ab" + "\xc2\xa1".force_encoding("euc-jp")
2742 t = Thread.new { r =~ "ab"*8 + "\xc2\xa1".force_encoding("utf-8")}
2744 r =~ "ab"*8 + "\xc2\xa1".force_encoding("euc-jp")
2746 Sat Jun 28 21:15:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2748 * include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,
2749 rb_usascii_str_new2): use inline versions only for constant
2752 Sat Jun 28 13:12:06 2008 Tanaka Akira <akr@fsij.org>
2754 * test/rubygems/test_gem.rb (test_self_path_APPLE_GEM_HOME): don't use
2755 fixed /tmp/apple_gem_home directory.
2757 Sat Jun 28 08:40:18 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2759 * ext/win32ole/win32ole.c : check String encoding when
2760 converting String to VT_BSTR in OLE.
2762 * test/win32ole/test_win32ole.rb : ditto.
2764 Sat Jun 28 01:08:42 2008 Tanaka Akira <akr@fsij.org>
2766 * time.c (time_timespec): fix rounding negative float.
2768 Fri Jun 27 21:38:57 2008 Tanaka Akira <akr@fsij.org>
2770 * struct.c: __size__ removed. use the length of __members__ instead.
2771 (num_members): new function.
2773 Fri Jun 27 21:19:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2775 * test/inlinetest.rb (InlineTest.in_progname): workaround for frozen
2776 $0. [ruby-dev:35261]
2778 * lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto.
2780 Fri Jun 27 17:45:17 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2782 * lib/erb.rb: adjust line number for magic comment.
2784 * test/erb/test_erb.rb: add tests for def_method.
2786 Fri Jun 27 14:29:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2788 * parse.y (primary): empty not should call '!' on nil.
2791 Fri Jun 27 14:25:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2793 * vm.c (vm_eval_body): if thrown exception is frozen, reraise it to
2794 create a new instance.
2796 Fri Jun 27 13:29:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2798 * include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,
2799 rb_usascii_str_new2): use with-length versions with strlen to
2800 optimize strlen, if optimized.
2802 Fri Jun 27 12:28:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2804 * lib/un.rb (mkmf): new command to create makefile.
2806 Fri Jun 27 11:06:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2808 * lib/un.rb (wait_writable): added help message.
2810 Fri Jun 27 06:52:54 2008 Koichi Sasada <ko1@atdot.net>
2812 * configure.in: need a ",".
2814 * process.c (rb_fork): check CANNOT_FORK_WITH_PTHREAD macro.
2816 Fri Jun 27 06:50:56 2008 Koichi Sasada <ko1@atdot.net>
2818 * vm_eval.c (vm_call_super): fix to call method_missing.
2819 [ruby-core:15719], [ruby-core:17340]
2821 Fri Jun 27 00:00:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2823 * ruby.c (set_arg0, ruby_prog_init): freeze $0. a patch from Keita
2824 Yamaguchi <keita.yamaguchi at gmail.com>.
2826 Thu Jun 26 23:58:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
2828 * string.c (rb_str_index_m, rb_str_rindex_m, rb_str_include): fix
2831 Thu Jun 26 17:43:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2833 * variable.c (rb_f_trace_var): should not be allowed at safe level 4.
2834 a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
2836 Thu Jun 26 11:04:30 2008 Eric Hodel <drbrain@segment7.net>
2838 * lib/rubygems: Update to RubyGems 1.2.0 r1824. Incorporates patch by
2839 Yusuke ENDOH [ruby-core:17353].
2841 Thu Jun 26 00:48:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2843 * parse.y (primary): not operand might be empty. [ruby-dev:35227]
2845 Wed Jun 25 21:54:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2847 * parse.y (primary): make functional-style not operator to act
2848 like function. see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>.
2850 Wed Jun 25 15:28:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2852 * array.c (rb_ary_fill): not depend on unspecified behavior at integer
2853 overflow. reported by Vincenzo Iozzo <snagg AT openssl.it>.
2855 Wed Jun 25 13:42:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
2857 * lib/erb.rb (ERB::Compiler:Buffer#new): push magic comment first.
2859 * lib/erb.rb (ERB::Compiler#compile): fix for broken input.
2861 Wed Jun 25 12:10:01 2008 NARUSE, Yui <naruse@ruby-lang.org>
2863 * lib/erb.rb (ERB::Compiler#compile): magic comment needs LF.
2865 Wed Jun 25 09:31:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
2867 * lib/erb.rb (ERB::Compiler#compile): output magic comment.
2869 Tue Jun 24 22:14:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
2871 * vm_eval.c (eval_string_with_cref): preserve parse_in_eval even if
2874 Tue Jun 24 22:09:18 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2876 * ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
2879 Tue Jun 24 17:20:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2881 * configure.in (rb_cv_fork_with_pthread): check after check for
2882 pthread library, and define the macro when checked only.
2884 Tue Jun 24 17:04:39 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2886 * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
2888 Tue Jun 24 16:51:51 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2890 * io.c (io_reopen): remove cygwin handling because it seems to be for
2892 fixed [ruby-dev:35183]
2894 Tue Jun 24 11:12:33 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2896 * include/ruby/win32.h, win32/win32.c (rb_w32_getppid): now support
2897 getppid() on win32 (but only Win2k or later).
2899 * process.c (get_ppid): remove win32 special logic.
2901 Tue Jun 24 09:40:47 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2903 * ext/socket/socket.c (init_sock): socket is binmode on platforms
2904 which support binmode.
2906 Tue Jun 24 00:21:53 2008 Yusuke Endoh <mame@tsg.ne.jp>
2908 * compile.c (iseq_build_from_ary): initialize arg_opts, a patch from
2909 Adam Strzelecki <ono@java.pl> in [ruby-core:17220].
2911 Tue Jun 24 00:10:53 2008 wanabe <s.wanabe@gmail.com>
2912 * compile.c (iseq_build_from_ary): fix expression to obtain
2913 iseq->local_size and iseq->local_table_size. [ruby-dev:35205]
2915 Mon Jun 23 11:31:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2917 * lib/mathn.rb (Rational::power2): removed incomplete method.
2918 see [ruby-dev:35195]. [ruby-core:17293]
2920 Sun Jun 22 14:16:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2922 * ext/readline/extconf.rb (have_readline_func): readline on Mac OS X
2923 needs headers to detect some functions.
2925 Sun Jun 22 09:51:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2927 * object.c (rb_class_superclass): rdoc improvement, a patch from
2928 Gaston Ramos <ramos.gaston AT gmail.com> in [ruby-core:17371].
2930 Sun Jun 22 09:22:32 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2932 * README.EXT: translated README.EXT.ja
2934 Sun Jun 22 00:42:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2936 * win32/win32.c (rb_w32_osid, rb_w32_osver, CreateChild): XP is
2937 is different from Vista about pipe handle inheritance.
2938 fixed [ruby-core:17367], reported by Lars Christensen <larsch at
2941 Sun Jun 22 00:38:45 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2943 * README.EXT.ja: add note about mark and free.
2945 Sun Jun 22 00:01:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2947 * io.c (rb_io_binmode_p, argf_binmode_p, Init_IO): new method
2948 IO#binmode? and ARGF.binmode? [ruby-dev:35148]
2950 Sat Jun 21 17:33:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2952 * win32/win32.c (rb_w32_spawn): no longer support P_WAIT.
2954 Sat Jun 21 16:46:09 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2956 * thread_win32.c (native_sleep): must block reentrance when accessing
2958 fixed [ruby-core:17341], reported by Bill Kelly <billk at cts.com>
2960 Sat Jun 21 16:29:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2962 * parse.y (call_args2, open_args): removed.
2964 * parse.y (parser_yylex): unified warnings at space between method
2965 name and argument parenthesis. [ruby-dev:33943]
2967 Sat Jun 21 16:21:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2969 * numeric.c (flo_round): get rid of overflow.
2971 Sat Jun 21 15:57:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2973 * lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
2976 Sat Jun 21 15:54:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2978 * configure.in: check if fork works with pthread.
2980 Sat Jun 21 15:31:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2982 * tool/make-snapshot: ported to ruby.
2984 * tool/make-snapshot: fixed digests.
2986 Sat Jun 21 04:36:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2988 * ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi):
2989 typo fixed (raize -> raise). [ruby-list:45101]
2991 * enumerator.c (enum_each_cons): typo in RDoc fixed.
2993 Sat Jun 21 00:45:34 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2995 * tool/make-snapshot: do not use sha256sum; use BASERUBY instead
2997 * common.mk (dist): use tool/make-snapshot instead
2999 Fri Jun 20 16:34:14 2008 Tanaka Akira <akr@fsij.org>
3001 * process.c (Init_process): Process::Status#to_int removed.
3003 (pst_to_s): use PST2INT.
3004 (pst_inspect): ditto.
3006 (pst_bitand): ditto.
3007 (pst_rshift): ditto.
3008 (pst_wifstopped): ditto.
3009 (pst_wstopsig): ditto.
3010 (pst_wifsignaled): ditto.
3011 (pst_wtermsig): ditto.
3012 (pst_wifexited): ditto.
3013 (pst_wexitstatus): ditto.
3014 (pst_success_p): ditto.
3015 (pst_wcoredump): ditto.
3016 (rb_f_system): ditto.
3018 Fri Jun 20 15:40:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3020 * array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
3021 behavior at integer overflow.
3023 * string.c (str_buf_cat): ditto.
3025 Fri Jun 20 12:39:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3027 * process.c (rb_detach_process): store detached process ID in the
3028 thread local storage. moved from lib/open3.rb.
3030 Fri Jun 20 11:57:46 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3032 * string.c (rb_str_sub_bang): should preserve replacement points
3033 since they may be altered in the yielded block.
3035 Fri Jun 20 11:07:56 2008 Tanaka Akira <akr@fsij.org>
3037 * string.c (rb_memhash): randomize hash to avoid algorithmic
3039 (rb_str_hash): use rb_memhash.
3041 * include/ruby/intern.h (rb_reset_random_seed): declared.
3043 * thread.c (rb_thread_atfork): call rb_reset_random_seed.
3045 * inits.c (rb_call_inits): call Init_RandomSeed at first.
3047 * random.c (seed_initialized): defined.
3048 (fill_random_seed): extracted from random_seed.
3049 (make_seed_value): extracted from random_seed.
3050 (rb_f_rand): initialize random seed at first.
3051 (initial_seed): defined.
3052 (Init_RandomSeed): defined.
3053 (Init_RandomSeed2): defined.
3054 (rb_reset_random_seed): defined.
3055 (Init_Random): call Init_RandomSeed2.
3057 Wed Jun 18 21:52:38 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
3059 * array.c (ary_new, rb_ary_initialize, rb_ary_store,
3060 rb_ary_splice, rb_ary_times): integer overflows should be
3061 checked. based on patches from Drew Yao <ayao at apple.com>
3064 * string.c (rb_enc_cr_str_buf_cat): fixed unsafe use of alloca,
3065 which led memory corruption. based on a patch from Drew Yao
3066 <ayao at apple.com> fixed CVE-2008-2726
3068 Fri Jun 20 03:26:00 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3070 * process.c (rb_f_fork): NetBSD 4.0 or later can fork.
3072 Fri Jun 20 03:19:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
3074 * test/testunit/collector/test_dir.rb: r15825 made it unnecessary to
3075 change String to Symbol.
3077 * test/testunit/collector/test_objectspace.rb: ditto.
3079 Fri Jun 20 03:14:31 2008 Eric Hodel <drbrain@segment7.net>
3081 * lib/rubygems*, test/rubygems/*: Update to RubyGems 1.1.1 r1784 (pre
3084 Fri Jun 20 03:01:59 2008 Yusuke Endoh <mame@tsg.ne.jp>
3086 * thread.c: try to remove false positive of deadlock detection (second
3089 Fri Jun 20 02:16:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3091 * lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293]
3093 Fri Jun 20 02:11:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3095 * string.c (str_gsub): should preserve last successful match
3096 data. [ruby-dev:35182]
3098 Fri Jun 20 01:07:28 2008 Koichi Sasada <ko1@atdot.net>
3100 * KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.
3102 Fri Jun 20 00:40:08 2008 Koichi Sasada <ko1@atdot.net>
3104 * proc.c (proc_new): fix to return Proc object if block is already
3105 in heap. [ruby-core:15711]
3107 * bootstraptest/test_proc.rb: add a test.
3109 Fri Jun 20 00:18:04 2008 Koichi Sasada <ko1@atdot.net>
3111 * thread_win32.c (native_sleep): fix to decrement sleeper count.
3113 Thu Jun 19 23:48:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
3115 * test/net/http/test_http.rb: compare encodings of two strings before
3116 comparing themself, which suppress too big error output.
3118 Thu Jun 19 23:46:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
3120 * ext/json/ext/parser/parser.rl, ext/json/ext/parser/parser.c: JSON
3121 text SHALL be encoded in Unicode.
3123 Thu Jun 19 23:17:56 2008 Yusuke Endoh <mame@tsg.ne.jp>
3125 * thread.c, thread_win32.c, vm_core.h: try to remove false positive of
3128 Thu Jun 19 21:38:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3130 * ext/extmk.rb (extmake): check if compile before showing message.
3132 Thu Jun 19 21:35:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3134 * tool/make-snapshot: supported multiple snapshots.
3136 Thu Jun 19 20:37:00 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
3138 * lib/net/pop.rb (Net::POP3#set_all_uids): speed
3139 up. a patch from <m-sumi AT techfirm.co.jp> [ruby-list:45047]
3141 Thu Jun 19 17:44:15 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3143 * ext/etc/etc.c (Init_etc): define constant aliases Etc::Passwd
3144 and Etc::Group. [ruby-dev:35150]
3146 Thu Jun 19 17:37:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3148 * string.c (str_alloc): specify 'inline' modifier.
3150 * string.c (str_alloc): remove cSymbol hack that no longer
3153 * string.c (scan_once): avoid retrieving encoding info unless
3156 Thu Jun 19 17:19:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3158 * string.c (rb_str_scan): String#scan should preserve last
3159 successful match data. [ruby-dev:35106]
3161 Thu Jun 19 16:49:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3163 * missing/acosh.c (atanh): should set ERANGE to errno if parameter
3164 is the boundary case. fixed [ruby-dev:35155]
3166 Thu Jun 19 16:06:01 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
3168 * ext/tk/lib/tkextlib/tile/treeview.rb: cannot configure tags.
3170 Thu Jun 19 11:48:33 2008 Koichi Sasada <ko1@atdot.net>
3172 * test/ruby/test_enumerator.rb: fix to skip "with_memo" test.
3174 Thu Jun 19 11:40:55 2008 Koichi Sasada <ko1@atdot.net>
3176 * vm_insnhelper.c (vm_throw): fix "return" process from "lambda".
3178 * bootstraptest/test_proc.rb: add a test.
3180 * bootstraptest/pending.rb: add a pending bug.
3182 Thu Jun 19 00:33:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
3184 * test/etc/test_etc.rb: avoid infinite loop. [ruby-dev:35158]
3186 Wed Jun 18 23:07:19 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
3188 * gc.c (rb_newobj): prohibit call of rb_newobj() during gc.
3189 a patch from Sylvain Joyeux in [ruby-core:12099].
3191 Wed Jun 18 21:08:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3193 * ruby.c (verbose_setter, opt_W_getter): fixed prototypes.
3195 Wed Jun 18 19:20:00 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3197 * ruby.c (opt_W_getter): use ruby_verbose directly instead of parameter
3198 because ruby_verbose is not a real variable, so the address of
3199 parameter is not collect.
3201 Wed Jun 18 18:31:03 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3203 * win32/win32.c (errmap): add some pipe errors.
3205 * win32/win32.c (rb_w32_write): set errno when CRT's errno is EINVAL
3208 Wed Jun 18 18:09:08 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3210 * win32/win32.c (poll_child_status): set EINVAL to errno when
3211 GetExitCodeProcess() fails with ERROR_INVALID_HANDLE.
3213 Wed Jun 18 15:01:18 2008 NARUSE, Yui <naruse@ruby-lang.org>
3215 * io.c (rb_open_file): fs_encoding and fname_encoding is
3217 fixed [ruby-dev:35151]
3219 Wed Jun 18 14:30:06 2008 NARUSE, Yui <naruse@ruby-lang.org>
3221 * io.c (rb_open_file): not rb_enc_get_index but rb_enc_get.
3223 Wed Jun 18 13:49:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3225 * include/ruby/win32.h (pipe): now pipe is textmode. although this
3226 change is experimental, it will be spec if no compatibility problem
3229 Wed Jun 18 12:05:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3231 * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
3232 public methods only. [ruby-core:17283]
3234 * object.c (convert_type): ditto.
3236 * lib/singleton.rb (Singleton#_dump): conversion method should be
3239 Wed Jun 18 10:18:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3241 * ext/etc/etc.c (etc_passwd, etc_group): fixed rdoc. a patch from
3242 okkez <okkez000 AT gmail.com> in [ruby-dev:35141].
3244 Wed Jun 18 08:58:16 2008 Eric Hodel <drbrain@segment7.net>
3246 * lib/rubygems/*: Fix errors for 1.9.
3248 * gem_prelude.rb: Only remove methods from gem_prelude.rb when
3249 loading real RubyGems.
3251 Wed Jun 18 07:03:30 2008 Eric Hodel <drbrain@egment7.net>
3253 * lib/rubygems/*: Update to RubyGems r1778 (pre 1.2).
3255 Wed Jun 18 04:27:58 2008 Koichi Sasada <ko1@atdot.net>
3257 * KNOWNBUGS.rb, bootstraptest/pending.rb: move pending bug.
3259 Wed Jun 18 04:24:20 2008 Koichi Sasada <ko1@atdot.net>
3261 * vm.c, vm_insnhelper.c: fix escape process with "break" and "return"
3262 syntax in "lambda". [ ruby-Bugs-19304 ], [ruby-core:17164]
3264 * KNOWNBUGS.rb, bootstraptest/test_proc.rb: add/move solved test.
3266 Wed Jun 18 01:51:10 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
3268 * ext/tk/lib/multi-tk.rb: cannot access class variable from
3271 Wed Jun 18 00:03:33 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3273 * dir.c (Init_Dir): dir_foreach() takes variable argument.
3275 Tue Jun 17 23:04:24 2008 James Edward Gray II <jeg2@ruby-lang.org>
3277 * lib/net/telnet.rb: Fixing Telnet#wairfor() which was broken by
3278 changes to the Kernel::Integer() method. [ruby-core:17272]
3280 Tue Jun 17 23:02:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3282 * ruby.c (opt_W_getter): made a hooked variable.
3284 Tue Jun 17 22:04:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
3286 * enc/euc_jp.c (property_name_to_ctype): core dumped when sizeof(int)
3287 differs from sizeof(long). [ruby-dev:35131]
3289 * enc/shift_jis.c (property_name_to_ctype): ditto.
3291 * enc/unicode.c (onigenc_unicode_property_name_to_ctype): ditto.
3293 Tue Jun 17 20:32:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3295 * common.mk (miniruby$(EXEEXT)): $(PREP) isn't always same as
3296 miniruby, and tests, debug, etc have no meaning when
3299 Tue Jun 17 18:39:11 2008 Ryan Davis <ryan@wrath.local>
3301 * common.mk: fixed dependencies on miniruby.
3303 Tue Jun 17 18:11:01 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3305 * include/ruby/win32.h (pipe): expand pipe buffer size.
3307 Tue Jun 17 17:07:35 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3309 * win32/win32.c (CreateChild): no need to inherit handles here because
3310 spawn'ed child cannot detect that STDIN is closed.
3312 Tue Jun 17 06:32:55 2008 NARUSE, Yui <naruse@ruby-lang.org>
3314 * dir.c (dir_data): add intenc and extenc.
3316 * dir.c (dir_s_alloc): ditto.
3318 * dir.c (dir_initialize): now accept internal_encoding and
3321 * dir.c (dir_s_open): changed for dir_initialize.
3323 * dir.c (dir_open_dir): ditto.
3325 * dir.c (dir_foreach): changed for dir_open_dir.
3327 * dir.c (dir_entries): changed for dir_open_dir.
3329 * dir.c (dir_enc_str): defined.
3331 * dir.c (dir_path): use dir_enc_str.
3333 * dir.c (dir_read): ditto.
3335 * dir.c (dir_each): ditto.
3337 Tue Jun 17 06:28:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
3339 * io.c (io_set_encoding): defined.
3341 * io.c (rb_open_file): convert path on Windows and Mac OS X.
3343 * io.c (open_key_args): use io_set_encoding and now accept
3344 internal_encoding and external_encoding.
3346 Tue Jun 17 06:26:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
3348 * encoding.c (rb_filesystem_encoding): defined.
3350 * include/ruby/encoding.h (rb_filesystem_encoding): added.
3352 Tue Jun 17 06:24:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
3354 * ext/syck/rubyext.c: add encoding header.
3356 Tue Jun 17 01:52:50 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
3358 * ext/tk/tcltklib.c: SEGV when exit.
3360 * ext/tk/lib/tk.rb: add a check for safety to Tk.exit.
3362 * ext/tk/sample/irbtkw.rbw: freezes when receives SIGINT.
3364 Mon Jun 16 21:58:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3366 * ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and
3367 IO#readlines do not affect $_. [ruby-core:17277]
3369 Mon Jun 16 18:52:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3371 * lib/thwait.rb (ThreadsWait): Exception2MessageMapper no longer has
3372 extend_to method. [ruby-core:17267]
3374 Mon Jun 16 14:46:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3376 * lib/e2mmap.rb (E2MM.def_e2message): typo.
3378 Mon Jun 16 09:43:27 2008 Akinori MUSHA <knu@iDaemons.org>
3380 * enumerator.c (enumerator_with_object, Init_Enumerator):
3381 Temporarily back out with_memo, for which we need a better name.
3383 Mon Jun 16 07:14:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3385 * ext/stringio/stringio.c (strio_readline, strio_each)
3386 (strio_readlines): set lastline. [ruby-core:17257]
3388 Mon Jun 16 01:49:39 2008 Koichi Sasada <ko1@atdot.net>
3390 * eval.c (rb_f_block_given_p): fix to skip class frame.
3393 * KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test.
3395 Mon Jun 16 01:48:08 2008 Koichi Sasada <ko1@atdot.net>
3397 * vm_dump.c (vm_stack_dump_raw): disable verbose debug output.
3399 Mon Jun 16 01:33:08 2008 Koichi Sasada <ko1@atdot.net>
3401 * vm_core.h, thread.c: rename global_interpreter_lock to
3404 Sun Jun 15 18:40:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
3406 * ext/syck/rubyext.c (yaml_org_handler): associate encoding.
3408 * ext/syck/rubyext.c (syck_genericresolver_node_import): ditto.
3410 Sun Jun 15 18:17:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3412 * vm_core.h (rb_vm_t), vm.c (rb_vm_mark): moved preallocated special
3415 * eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze
3416 preallocated special exceptions.
3418 * eval.c (rb_longjmp): duplicate the thrown exception to set backtrace
3421 * gc.c (rb_memerror): raise nomem_error without backtrace if failed to
3424 Sat Jun 14 22:52:35 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3426 * ext/stringio/stringio.c (strio_sysread): should not raise at empty
3427 read. a patch from Arthur Schreiber at [ruby-core:17245].
3429 Sat Jun 14 16:55:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3431 * file.c (file_expand_path): no need to expand root path which has no
3432 short file name. [ruby-dev:35095]
3434 Sat Jun 14 11:59:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3436 * gc.h (STACK_UPPER): moved from gc.c
3438 * thread.c, thread_{pthread,win32}.c (ruby_init_stack,
3439 ruby_thread_init_stack): moved stack initialization from gc.c.
3441 Sat Jun 14 11:57:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3443 * gc.h (STACK_UPPER): moved from gc.c
3445 * thread.c, thread_{pthread,win32}.c (ruby_init_stack,
3446 ruby_thread_init_stack): moved stack initialization from gc.c.
3448 Sat Jun 14 07:52:53 2008 Tanaka Akira <akr@fsij.org>
3450 * gc.c (ruby_initial_gc_stress): defined.
3451 (ruby_initial_gc_stress_ptr): defined.
3453 * debug.c (set_debug_option): use ruby_initial_gc_stress_ptr for
3456 Sat Jun 14 00:09:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3458 * gc.c (ruby_gc_stress): moved to rb_objspace_t.
3460 * gc.c (gc_stress_get, gc_stress_set): VM local attribute.
3462 * signal.c (sigsegv): ditto.
3464 Fri Jun 13 21:55:48 2008 Tadayoshi Funaba <tadf@dotrb.org>
3466 * rational.c (nurat_equal_p): Rational(0,x) and 0 are equivalent,
3469 Fri Jun 13 21:26:39 2008 Tadayoshi Funaba <tadf@dotrb.org>
3471 * complex.c (string_to_c, nucomp_s_convert): preserve the current
3474 * rational.c (string_to_r, nurat_s_convert): ditto.
3476 * include/ruby/intern.h (rb_match_busy): added a declaration.
3478 Fri Jun 13 18:08:10 2008 Tanaka Akira <akr@fsij.org>
3480 * lib/time.rb (Time.xmlschema): don't accept decimal dot without
3481 fractional digits. fractional digits handling simplified.
3483 Fri Jun 13 17:20:40 2008 wanabe <s.wanabe@gmail.com>
3485 * complex.c (string_to_c_internal): save and restore backref.
3486 fixed [ruby-dev:34991]
3488 Fri Jun 13 17:06:20 2008 wanabe <s.wanabe@gmail.com>
3490 * rational.c (string_to_r_internal): save and restore backref.
3491 fixed [ruby-dev:34990]
3493 Fri Jun 13 14:41:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3495 * README.EXT.ja: update about Fixnum. reported in
3496 <http://www.tmtm.org/ja/tdiary/?date=20080611#p01>
3498 * README.EXT.ja: describe about StringValueCStr().
3500 * README.EXT: ditto.
3502 Fri Jun 13 14:24:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3504 * gc.c (rb_memerror): exit with EXIT_FAILURE instead of magic number.
3506 * gc.c (ruby_stack_check): STACK_LENGTH should be less than
3509 Fri Jun 13 12:55:37 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3511 * enum.c (sort_by_i): use NODE_DOT2 instead of NODE_MEMO to avoid
3512 extra calls to is_pointer_to_heap() in GC.
3514 * enum.c (enum_zip): ditto.
3516 Fri Jun 13 00:41:58 2008 Yusuke Endoh <mame@tsg.ne.jp>
3518 * test/ruby/test_thread.rb: add a test.
3520 Thu Jun 12 23:30:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
3522 * thread.c (mutex_unlock): fix cond_notified consistency.
3524 Thu Jun 12 22:19:45 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3526 * thread_win32.c (native_sleep): fixed previous commit.
3528 Thu Jun 12 21:59:17 2008 Yusuke Endoh <mame@tsg.ne.jp>
3530 * thread.c, vm_core.h, vm.c, thread_pthread.c, thread_win32.c: add
3531 deadlock detection. [ruby-dev:35044]
3533 * bootstraptest/test_thread.rb: add tests for above.
3535 Thu Jun 12 21:39:55 2008 Tadayoshi Funaba <tadf@dotrb.org>
3537 * complex.c: refactoring.
3539 * rational.c: ditto.
3541 Thu Jun 12 17:11:24 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3543 * regint.h: undefine USE_CAPTURE_HISTORY which is mentioned as
3544 unsupported in the Onigiruma document.
3546 Thu Jun 12 13:36:54 2008 Tanaka Akira <akr@fsij.org>
3548 * include/ruby/ruby.h (rb_intern): use rb_intern2 with strlen for
3549 constant symbols to optimize strlen.
3551 Thu Jun 12 08:47:51 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3553 * io.c (read_all): should use io_read_encoding(), not
3554 io_input_encoding().
3556 * io.c (rb_io_getline_1): reduce calling of io_read_encoding().
3558 * string.c (rb_str_scan): need not to restore $~ value, so avoid
3559 pinning match object.
3561 Thu Jun 12 02:49:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
3563 * ext/stringio/stringio.c (strio_init): rewind when reopened.
3565 Thu Jun 12 02:43:27 2008 Yusuke Endoh <mame@tsg.ne.jp>
3567 * array.c (rb_ary_zip): ANSI style.
3569 Thu Jun 12 02:25:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3571 * io.c (rb_io_reopen): clear read buffer.
3573 Thu Jun 12 00:56:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3575 * ext/tk: check proper conditions. [ruby-dev:35047]
3577 Wed Jun 11 23:33:13 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3579 * io.c (io_fread): bypass buffered read if reading buffer is empty.
3581 * io.c (remain_size): do not add extra one byte.
3583 Wed Jun 11 12:15:17 2008 Tanaka Akira <akr@fsij.org>
3585 * bootstraptest/runner.rb (assert_normal_exit): hide stderr output
3588 Wed Jun 11 09:26:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3590 * common.mk (encs): need to pass miniruby path for windows.
3592 Wed Jun 11 05:53:20 2008 Koichi Sasada <ko1@atdot.net>
3594 * vm.c, eval_intern.h (PASS_PASSED_BLOCK):
3595 set a VM_FRAME_FLAG_PASSED flag to skip this frame when
3596 searching ruby-level-cfp.
3598 * eval.c, eval_intern.h, proc.c: fix to check cfp. if there is
3599 no valid ruby-level-cfp, cause RuntimeError exception.
3602 * vm_core.h, vm_evalbody.c, vm.c, vm_dump.c, vm_insnhelper.c,
3603 insns.def: rename FRAME_MAGIC_* to VM_FRAME_MAGIC_*.
3605 * KNOWNBUGS.rb, bootstraptest/test*.rb: move solved bugs.
3607 Wed Jun 11 05:55:31 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
3609 * ext/tk/tcltklib.c: SEGV when tcltk-stubs is enabled.
3611 * ext/tk/tcltklib.c: avoid error on a shared object.
3613 * ext/tk/extconf.rb: support --with-tcltkversion
3615 * ext/tk/README.tcltklib: add document about --with-tcltkversion
3617 * ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb, ext/tk/lib/remote-tk.rb:
3618 not work on $SAFE==4
3620 * ext/tk/lib/multi-tk.rb: Object#methods returns Symbols on Ruby1.9.
3622 * ext/tk/lib/tk/timer.rb: add TkTimer#at_end(proc) to register the
3623 procedure which called at end of the timer.
3625 * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemfont.rb, ext/tk/lib/font.rb:
3626 support __IGNORE_UNKNOWN_CONFIGURE_OPTION__ about font options.
3628 * ext/tk/lib/*: treat __IGNORE_UNKNOWN_CONFIGURE_OPTION__
3630 * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb,
3631 ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb,
3632 ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: bug fix.
3634 * ext/tk/lib/tk/text.rb: typo. call a wrong method.
3636 * ext/tk/lib/tk/itemconfig.rb: ditto.
3638 * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemconfig.rb,
3639 ext/tk/lib/tk/canvas.rb: support alias names of option keys.
3641 * ext/tk/lib/tk/grid.rb: lack of module-method definitions.
3643 * ext/tk/lib/tk/pack.rb, ext/tk/lib/tk/grid.rb: increase supported
3644 parameter patterns of configure method.
3646 * ext/tk/lib/tk.rb: add TkWindow#grid_anchor, grid_column, grid_row.
3648 * ext/tk/lib/tk/wm.rb: methods of Tk::Wm_for_General module cannot
3649 pass the given block to methods of Tk::Wm module.
3651 * ext/tk/lib/tk/wm.rb: Wm#overrideredirect overwrites argument to
3654 * ext/tk/lib/tk.rb: fix memory (object) leak bug.
3656 * ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: fix memory leak.
3658 * ext/tk/sample/demos-jp/aniwave.rb, ext/tk/sample/demos-en/aniwave.rb:
3661 * ext/tk/lib/tkextlib/blt/component.rb,
3662 ext/tk/lib/tkextlib/tile/tentry.rb,
3663 ext/tk/lib/tkextlib/tile/treeview.rb: ditto.
3665 * ext/tk/lib/tkextlib/tile/tpaned.rb: improve TPaned#add.
3667 * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget,
3668 ext/tk/sample/demos-jp/style.rb, ext/tk/sample/demos-en/style.rb,
3669 ext/tk/sample/demos-jp/bind.rb, ext/tk/sample/demos-en/bind.rb:
3672 * ext/tk/sample/ttk_wrapper.rb: ditto.
3674 * ext/tk/sample/ttk_wrapper.rb: support "if __FILE__ == $0" idiom.
3676 * ext/tk/sample/tktextio.rb: add binding for 'Ctrl-u' at console mode.
3678 * ext/tk/lib/tkextlib/tile.rb, ext/tk/lib/tkextlib/tile/style.rb,
3679 ext/tk/sample/ttk_wrapper.rb: improve treating and control themes.
3680 add Tk::Tile.themes and Tk::Tile.set_theme(theme).
3682 * ext/tk/lib/tkextlib/tile.rb: lack of autoload definitions.
3684 * ext/tk/lib/tkextlib/tile/tnotebook.rb: cannot use kanji (not UTF-8)
3685 characters for headings.
3687 * ext/tk/lib/tkextlib/tkDND/shape.rb: wrong package name.
3689 * ext/tk/tkutil/tkutil.c: improve handling callback-subst-keys.
3690 Now, support longnam-keys (e.g. '%CTT' on tkdnd-2.0; however, still
3691 not support tkdnd-2.0 on tkextlib), and symbols of parameters (e.g.
3692 :widget=>'%W', :keycode=>'%k', '%x'=>:x, '%X'=>:root_x, and so on;
3693 those are attributes of event object). It means that Ruby/Tk accepts
3694 not only "widget.bind(ev, '%W', '%k', ...){|w, k, ...| ... }", but
3695 also "widget.bind(ev, :widget, :keycode, ...){|w, k, ...| ... }".
3696 It is potentially incompatible, when user passes symbols to the
3697 arguments of the callback block (the block receives the symbols as
3698 strings). I think that is very rare case (probably, used by Ruby/Tk
3699 experts only). When causes such trouble, please give strings instead
3700 of such symbol parameters (e.g. call Symbol#to_s method).
3702 * ext/tk/lib/tk/event.rb, ext/tk/lib/tk/validation.rb,
3703 ext/tk/lib/tkextlib/blt/treeview.rb,
3704 ext/tk/lib/tkextlib/winico/winico.rb: ditto.
3706 * ext/tk/tkutil/tkutil.c: strings are available on subst_tables on
3707 TkUtil::CallbackSubst class (it is useful on Ruby 1.9).
3709 * ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tkextlib/iwidgets/hierarchy.rb,
3710 ext/tk/lib/tkextlib/iwidgets/spinner.rb,
3711 ext/tk/lib/tkextlib/iwidgets/entryfield.rb,
3712 ext/tk/lib/tkextlib/iwidgets/calendar.rb,
3713 ext/tk/lib/tkextlib/blt/dragdrop.rb,
3714 ext/tk/lib/tkextlib/tkDND/tkdnd.rb,
3715 ext/tk/lib/tkextlib/treectrl/tktreectrl.rb,
3716 ext/tk/lib/tkextlib/tktable/tktable.rb: disable code piece became
3717 unnecessary by reason of the changes of ext/tk/tkutil/tkutil.c.
3719 * ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb: change strategy to define
3720 the constant WITH_ENCODING.
3722 * ext/tk/lib/tk.rb: fix bug on Tk::Encoding.tk_encoding_names.
3724 Wed Jun 11 03:40:37 2008 Akinori MUSHA <knu@iDaemons.org>
3726 * lib/find.rb (Find#find): Return an enumerator if no block is
3729 Wed Jun 11 01:28:12 2008 Koichi Sasada <ko1@atdot.net>
3731 * include/ruby/intern.h, proc.c: revert rb_proc_call() and
3732 create rb_proc_call_with_block() instead.
3734 * include/ruby/ruby.h, eval_jump.c, thread.c, vm_insnhelper.c:
3735 rb_blockptr should not be exposed.
3737 Tue Jun 10 21:07:19 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
3739 * test/ruby/test_float.rb: add tests. [ruby-dev:35009]
3741 Tue Jun 10 20:55:57 2008 Tadayoshi Funaba <tadf@dotrb.org>
3743 * complex.c (nucomp_s_convert): need not to initialize optional
3744 argument for rb_scan_args().
3746 Tue Jun 10 20:13:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3748 * ext/extmk.rb: negate default of --without-ext if --with-ext is
3751 * ext/extmk.rb: negate default of --without-ext.
3753 Tue Jun 10 17:43:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3755 * array.c (rb_ary_shuffle_bang): update RDoc. [ruby-dev:35034]
3757 Tue Jun 10 17:30:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3759 * include/ruby/intern.h (rb_obj_instance_exec, rb_mod_module_exec):
3762 Tue Jun 10 17:00:29 2008 wanabe <s.wanabe@gmail.com>
3764 * util.c (ruby_strtod): ruby_strtod don't allow a trailing
3765 decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]
3767 Tue Jun 10 13:48:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3769 * rational.c (nurat_s_convert): need not to initialize optional
3770 argument for rb_scan_args().
3772 Tue Jun 10 12:58:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3774 * ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.
3776 Tue Jun 10 12:43:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3778 * include/ruby/ruby.h (CONST_ID_CACHE): fixed statement expression.
3780 Tue Jun 10 11:25:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3782 * ruby.c (rb_argv0): revised for ext/tk.
3784 * include/ruby/encoding.h: not to use varargs.h since requiring C89.
3786 Tue Jun 10 00:50:51 2008 Yusuke Endoh <mame@tsg.ne.jp>
3788 * include/ruby/ruby.h, vm_core.h: add a type rb_blockptr.
3790 * vm_insnhelper.c (vm_yield_with_cfunc): vm_yield_with_cfunc receives
3791 blockptr and passes it to iterating block.
3793 * proc.c (rb_proc_call), include/ruby/intern.h: rb_proc_call receives
3794 blockptr. "rb_proc_call(self, args, blockptr)" in C corresponds to
3795 "self.call(*args, &block)" in Ruby.
3797 * proc.c (proc_call): pass blockptr to block that is written in C.
3799 * proc.c (curry): receive blockptr and pass it to original proc.
3802 * vm.c (invoke_block_from_c): fix for change of vm_yield_with_cfunc.
3804 * thread.c (call_trace_proc), eval_jump.c (rb_call_end_proc): fix for
3805 change of rb_proc_call.
3807 Tue Jun 10 00:10:49 2008 Tanaka Akira <akr@fsij.org>
3809 * common.mk (test-knownbug): give $(OPTS) for bootstraptest/runner.rb.
3811 Mon Jun 9 23:10:50 2008 Tanaka Akira <akr@fsij.org>
3813 * eval.c (Init_stack): don't declare. it is a macro now.
3815 Mon Jun 9 22:46:47 2008 wanabe <s.wanabe@gmail.com>
3817 * compile.c : treat []&&= in virtually the same way as []||=.
3820 Mon Jun 9 21:17:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3822 * enc/depend (clean): remove build directories.
3824 * test_knownbug.rb -> KNOWNBUGS.rb: renamed.
3826 * common.mk: apply above change.
3828 Mon Jun 9 21:14:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3830 * lib/mkmf.rb (configuration): set flags.
3832 Mon Jun 9 21:09:02 2008 Koichi Sasada <ko1@atdot.net>
3834 * bootstraptest/test_knownbug.rb -> ./test_knownbug.rb: moved.
3836 * common.mk: add a rule "test-knownbug".
3838 Mon Jun 9 21:00:32 2008 Tadayoshi Funaba <tadf@dotrb.org>
3840 * complex.c (nucomp_s_convert): can accept Complex('i').
3843 Mon Jun 9 18:25:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3845 * include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc.
3847 * *.c: no cache in init functions.
3849 Mon Jun 9 17:56:30 2008 Akinori MUSHA <knu@iDaemons.org>
3851 * lib/set.rb (Set#delete_if): Call to_a.
3852 (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to
3853 yield elements in sorted order; [ruby-core:17144] by Arthur
3855 (SortedSet#each, SortedSet#each, TC_Set#test_each)
3856 (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by
3859 Mon Jun 9 17:47:09 2008 Tanaka Akira <akr@fsij.org>
3861 * io.c (fptr_finalize): close IO object if fd is already closed.
3862 (rb_p): call rb_io_write just once.
3864 Mon Jun 9 15:37:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3866 * ruby.c (require_libraries): req_list may be NULL. [ruby-dev:35008]
3868 Mon Jun 9 14:18:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3870 * vm_core.h (struct rb_vm_struct): moved src_encoding_index,
3871 ruby_debug, ruby_verbose, and rb_progname.
3873 * ruby.c (rb_argv0): no longer used.
3875 * ruby.c (struct cmdline_options): moved setids and req_list, and the
3876 latter is now an array, to prevent memory leak.
3878 * ruby.c (cmdline_options_init): added.
3880 * ruby.c (add_modules, require_libraries, init_ids, forbid_setid): use
3881 struct cmdline_options.
3883 * vm.c (vm_init2): initialize src_encoding_index.
3885 * vm.c: getters/setters for ruby_{debug,verbose}.
3887 Mon Jun 9 09:54:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3889 * include/ruby/intern.h (Init_stack): make to call ruby_init_stack.
3891 Mon Jun 9 08:12:40 2008 wanabe <s.wanabe@gmail.com>
3893 * vm_insnhelper.c, vm.c, proc.c : revert r17021. [ruby-dev:34997]
3895 Mon Jun 9 03:12:23 2008 Koichi Sasada <ko1@atdot.net>
3897 * bootstraptest/pending.rb: move/remove solved issues.
3899 * bootstraptest/test_class.rb: ditto.
3901 Mon Jun 9 02:32:58 2008 Akinori MUSHA <knu@iDaemons.org>
3903 * ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well.
3906 Sun Jun 8 22:22:20 2008 wanabe <s.wanabe@gmail.com>
3908 * vm_insnhelper.c, vm.c, proc.c (proc_call): allow call method with
3909 block that both is written in C. [ruby-dev:34273] [ruby-core:15551]
3911 * proc.c (curry): use proc_call instead of rb_proc_call.
3912 [ruby-dev:34273] [ruby-core:15551]
3914 Sun Jun 8 21:50:27 2008 Yusuke Endoh <mame@tsg.ne.jp>
3916 * test/zlib/test_zlib.rb: add tests to achieve over 90% test coverage
3919 Sun Jun 8 20:12:47 2008 wanabe <s.wanabe@gmail.com>
3921 * vm_insnhelper.c (vm_throw): regard break as return in lambda.
3924 Sun Jun 8 19:17:59 2008 Koichi Sasada <ko1@atdot.net>
3926 * gc.c: add a build option "CALC_EXACT_MALLOC_SIZE".
3927 This option enables to calculate exact size of current
3928 allocated size by malloc(). You can access these information
3929 with GC.malloc_allocated_size and GC.malloc_allocations.
3930 This option consume additional memory as a header of each memory
3931 object. This option also helps to find out xmalloc()/xfree()
3932 consistency. If you get trouble with this option, some extension
3933 using "free()" instead of "xfree()".
3934 This options is disabled by default.
3936 Sun Jun 8 18:15:38 2008 Koichi Sasada <ko1@atdot.net>
3938 * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,
3939 enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c,
3940 io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c,
3941 string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c,
3943 allocated memory objects by xmalloc (ruby_xmalloc) should be
3944 freed by xfree (ruby_xfree).
3946 * ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
3947 ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c,
3948 ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c,
3949 ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c,
3950 ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c:
3953 Sun Jun 8 01:15:11 2008 Tanaka Akira <akr@fsij.org>
3955 * hash.c (hash_i): make Hash#hash order insensitive.
3956 (rb_hash_dup): use DUPSETUP.
3958 Sat Jun 7 23:47:35 2008 Akinori MUSHA <knu@iDaemons.org>
3960 * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up
3961 initialize_copy; [ruby-list:45016].
3963 Sat Jun 7 22:15:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3965 * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as
3966 SITE_DIR. a patch from Richard Brown <rbrown AT exherbo.org> in
3969 Sat Jun 7 21:37:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3971 * io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode):
3974 * util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa().
3976 Sat Jun 7 16:06:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3978 * configure.in (CFLAGS, CXXFLAGS): append default flags.
3980 Sat Jun 7 01:23:59 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3982 * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
3983 fixed [ruby-dev:34979]
3985 Fri Jun 6 23:46:19 2008 Koichi Sasada <ko1@atdot.net>
3987 * vm_insnhelper.c (vm_callee_setup_arg): check simple flag before
3988 calling setup_arg function(). this change reduce function call.
3990 Fri Jun 6 21:51:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3992 * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.
3994 * ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo,
3995 freehostent, freeaddrinfo): undef before define because these are
3996 macros in some versions of Windows SDK.
3998 merged from ruby_1_8.
4000 Fri Jun 6 18:25:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4002 * test/iconv/utils.rb (default_test): override not to croak.
4004 Fri Jun 6 16:41:45 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4006 * include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]
4008 Fri Jun 6 15:05:02 2008 Tanaka Akira <akr@fsij.org>
4010 * gc.c (count_objects): clear hash after counting objects.
4012 Fri Jun 6 12:43:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4014 * test/ruby/test_dir.rb (TestDir::test_glob): glob file names not sorted.
4016 Fri Jun 6 00:05:33 2008 Tanaka Akira <akr@fsij.org>
4018 * lib/time.rb (Time.xmlschema): don't use float. fix
4019 http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504
4021 Thu Jun 5 23:56:18 2008 Yusuke Endoh <mame@tsg.ne.jp>
4023 * test/ruby/test_gc.rb: add tests to achieve over 90% test coverage of
4026 * test/ruby/test_objectspace.rb: ditto.
4028 * test/ruby/test_marshal.rb: ditto.
4030 Thu Jun 5 23:40:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
4032 * gc.c (rb_objspace_alloc): this function is needed only when
4033 ENABLE_VM_OBJSPACE macro is defined.
4037 Thu Jun 5 23:31:21 2008 Yusuke Endoh <mame@tsg.ne.jp>
4039 * test/stringio/test_stringio.rb: add tests to achieve over 95% test
4040 coverage of stringio.
4042 * test/strscan/test_stringscanner.rb: ditto for strscan.
4044 Thu Jun 5 23:25:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
4046 * eval.c (ruby_finalize_0): clear trace_func after executing END
4049 * thread.c: fix typo.
4051 Thu Jun 5 22:50:50 2008 Tanaka Akira <akr@fsij.org>
4053 * gc.c (os_obj_of): heaps may be modified in yield.
4055 Thu Jun 5 21:46:50 2008 Yusuke Endoh <mame@tsg.ne.jp>
4057 * st.c (st_reverse_foreach): comment out unused function.
4059 * util.c (dtoa): ditto.
4061 Thu Jun 5 20:30:46 2008 Akinori MUSHA <knu@iDaemons.org>
4063 * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):
4064 Add a null check for ssl; submitted by akira yamada
4065 in [ruby-dev:34950].
4067 * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if
4068 SSL_OP_NO_TICKET is present; submitted by akira yamada
4069 in [ruby-dev:34944].
4071 * test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a
4072 workaround for the case where OpenSSL is configured with
4073 --enable-tlsext; submitted by akira yamada in [ruby-dev:34944].
4075 Thu Jun 5 20:24:15 2008 Yusuke Endoh <mame@tsg.ne.jp>
4077 * thread.c (thread_set_trace_func_m): fix check for proc argument.
4079 Thu Jun 5 20:17:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
4081 * lib/rexml/document.rb (REXML::Document:write): leaky modification
4082 trans -> transitive. [ruby-dev:32040], r13686
4084 * lib/rexml/text.rb (Text.check): fix check for illegal character.
4086 Thu Jun 5 14:03:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4088 * ext/iconv/iconv.c (iconv_create): find encoding without options.
4090 Thu Jun 5 07:48:32 2008 Koichi Sasada <ko1@atdot.net>
4092 * string.c (hash): should be "static".
4094 Thu Jun 5 01:47:18 2008 Yusuke Endoh <mame@tsg.ne.jp>
4096 * test/ruby/test_transcode.rb: add tests for iso-2022-jp.
4098 Thu Jun 5 01:27:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
4100 * test/ruby/test_process.rb: add tests.
4102 Wed Jun 4 23:10:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
4104 * ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.
4106 Wed Jun 4 18:53:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4108 * object.c (rb_obj_alloc): RDoc updated. a patch from Gaston
4109 Ramos <ramos.gaston at gmail.com> in [ruby-core:17073].
4111 Wed Jun 4 18:36:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4113 * lib/rdoc.rb: massive spelling correction patch from Evan Farrar
4114 <evanfarrar at gmail.com> in [ruby-doc:1382] applied.
4116 Wed Jun 4 17:52:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4118 * ext/iconv/iconv.c (iconv_iconv): fix for length argument and now
4119 allows range. [ruby-core:17092]
4121 Wed Jun 4 15:45:41 2008 Akinori MUSHA <knu@iDaemons.org>
4123 * enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
4126 Wed Jun 4 13:06:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4128 * configure.in (CFLAGS, CXXFLAGS): include additional flags to
4129 CFLAGS and CXXFLAGS while configuration.
4131 Tue Jun 3 23:06:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
4133 * ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
4136 Tue Jun 3 22:37:26 2008 Yusuke Endoh <mame@tsg.ne.jp>
4138 * ext/strscan/strscan.c (strscan_exist_p): fix document.
4140 Tue Jun 3 22:33:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
4142 * test/ruby/test_dir.rb: add tests to achieve over 90% test coverage
4145 * test/ruby/test_encoding.rb: add tests for dummy?, name_list and
4148 * test/ruby/test_marshal.rb: add some tests.
4150 Tue Jun 3 22:25:51 2008 Yusuke Endoh <mame@tsg.ne.jp>
4152 * test/etc/test_etc.rb: new tests for etc.
4154 Tue Jun 3 19:35:02 2008 Akinori MUSHA <knu@iDaemons.org>
4156 * enumerator.c (enumerator_with_memo): New method: with_memo().
4158 Tue Jun 3 20:04:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4160 * win32/Makefile.sub (miniruby$(EXEEXT)): miniruby cannot be
4161 written by miniruby itself.
4163 Tue Jun 3 19:33:22 2008 Akinori MUSHA <knu@iDaemons.org>
4165 * enumerator.c (enumerator_init_copy): Take care of
4166 initialize_copy as well as initialize.
4168 Tue Jun 3 16:06:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4170 * file.c (file_expand_path): fix for non-existent files and SFN of
4171 symlinks. [ruby-talk:303736]
4173 Tue Jun 3 15:12:01 2008 Akinori MUSHA <knu@iDaemons.org>
4175 * lib/set.rb (Set#classify): Back out the `group_by' alias.
4178 Tue Jun 3 15:00:22 2008 Akinori MUSHA <knu@iDaemons.org>
4180 * lib/set.rb (Set#collect, Set#select): Back out. I thought it
4181 was consistent but turned out to be wrong.
4183 Tue Jun 3 13:41:08 2008 Akinori MUSHA <knu@iDaemons.org>
4185 * lib/set.rb (Set#collect, Set#select): Override Enumerable
4186 methods and make them return a set. [ruby-core:17055]
4187 (Set#delete_if, Set#collect!, Set#reject!, Set#classify)
4188 (Set#divide, Set#delete_if): Return an enumerator if no block is
4190 (Set#classify): Define an alias `group_by' to override that of
4193 Tue Jun 3 13:35:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4195 * process.c (run_exec_pgroup): C99 ism.
4197 Tue Jun 3 12:51:57 2008 Akinori MUSHA <knu@iDaemons.org>
4199 * enumerator.c (enumerator_allocate, enumerator_ptr): Properly
4200 detect if the object is initialized and raise error when
4202 (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052]
4204 Tue Jun 3 01:21:51 2008 Yusuke Endoh <mame@tsg.ne.jp>
4206 * test/ruby/test_method.rb: add a test.
4208 Tue Jun 3 00:26:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
4210 * marshal.c (w_object): add a check for modification of array during
4213 Mon Jun 2 22:27:57 2008 Yusuke Endoh <mame@tsg.ne.jp>
4215 * enc/iso_8859_5.c: Large omicron should lowercase to small omicron.
4217 * test/ruby/test_big5.rb, test/ruby/test_cp949.rb,
4218 test/ruby/test_euc_jp.rb, test/ruby/test_euc_kr.rb,
4219 test/ruby/test_euc_tw.rb, test/ruby/test_gb18030.rb,
4220 test/ruby/test_gbk.rb, test/ruby/test_iso_8859.rb,
4221 test/ruby/test_koi8.rb, test/ruby/test_shift_jis.rb,
4222 test/ruby/test_windows_1251.rb: new tests for encoding.
4224 * test/ruby/test_utf16.rb, test/ruby/test_utf32.rb,
4225 test/ruby/test_regexp.rb: add tests.
4227 Mon Jun 2 21:56:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
4229 * test/ruby/test_file.rb: add tests for uninitialized object.
4231 * test/ruby/test_class.rb: ditto.
4233 * test/ruby/test_thread.rb: ditto.
4235 Mon Jun 2 21:44:15 2008 Yusuke Endoh <mame@tsg.ne.jp>
4237 * re.c: fix SEGV by Regexp.allocate.names, Match.allocate.names, etc.
4239 * test/ruby/test_regexp.rb: add tests for above.
4241 * io.c: fix SEGV by IO.allocate.print, etc.
4243 * test/ruby/test_io.rb: add tests for above.
4245 Mon Jun 2 19:17:47 2008 Tanaka Akira <akr@fsij.org>
4247 * test/ruby/test_argf.rb (teardown): remove renamed temporary files.
4249 Mon Jun 2 18:51:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4251 * lib/un.rb (wait_writable): wait until target files can be
4254 * win32/Makefile.sub (LDSHARED_0, LINK_SO): get rid of failure of
4257 Mon Jun 2 16:26:17 2008 Akinori MUSHA <knu@iDaemons.org>
4259 * lib/delegate.rb (Delegator::MethodDelegation#respond_to):
4260 respond_to? should now take optional second argument; submitted
4261 by Jeremy Kemper <jeremy at bitsweat.net> in [ruby-core:17045].
4263 Mon Jun 2 16:14:18 2008 Akinori MUSHA <knu@iDaemons.org>
4265 * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Oops. This
4266 change did not apply to trunk. Backed out.
4268 Mon Jun 2 16:08:24 2008 Akinori MUSHA <knu@iDaemons.org>
4270 * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug
4271 where tokens are not yielded one by one.
4273 * test/erb/test_erb.rb (TestERBCore#_test_01)
4274 (TestERBCore#test_02_safe_04): The expected value should come
4275 first for assert_equal().
4277 Mon Jun 2 13:06:38 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4279 * mkconfig.rb: hide build path from rbconfig.rb.
4281 Mon Jun 2 08:46:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4283 * util.c (ruby_strtod, dtoa): initialize more variables for error
4286 Mon Jun 2 04:55:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4288 * suppress warnings on cygwin, mingw and mswin.
4290 Mon Jun 2 04:35:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
4292 * enc/gb18030.c (gb18030_code_to_mbc): add 0x80000000
4293 for 4bytes character.
4295 Mon Jun 2 03:52:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4297 * ruby.c (set_arg0): reverted used variable definition.
4299 Mon Jun 2 03:23:25 2008 NARUSE, Yui <naruse@ruby-lang.org>
4301 * enc/gb18030.c (gb18030_mbc_to_code): mask by 0x7FFFFFFF
4302 because OnigCodePoint will be used as 32bit signed int.
4303 Masking by 0x7FFFFFFF is ok on GB18030;
4304 Minimum 4bytes character is 0x81308130.
4306 Sun Jun 1 22:29:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
4308 * rational.c (string_to_r_internal): use rb_isdigit.
4310 * marshal.c (long_toobig): use %zd.
4312 * ruby.c (set_arg0): move unused variable definition.
4314 Sun Jun 1 12:18:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
4316 * insns.def (DEFINE_INSN): subtract of pointers is ptrdiff_t.
4317 this is not int on 64bit system.
4319 * vm_dump.c (control_frame_dump): ditto.
4321 * vm_dump.c (stack_dump_each): ditto.
4323 * vm_dump.c (debug_print_register): ditto.
4325 * vm_dump.c (debug_print_pre): ditto.
4327 * transcode.c (str_transcode): ditto.
4329 Sun Jun 1 10:32:18 2008 Tanaka Akira <akr@fsij.org>
4331 * test/ruby/envutil.rb (assert_normal_exit): show coredump status.
4333 Sat May 31 23:33:34 2008 Akinori MUSHA <knu@iDaemons.org>
4335 * README, README.ja: Add a note about default C flags.
4337 Sat May 31 23:02:00 2008 Tanaka Akira <akr@fsij.org>
4339 * gc.c (count_objects): clear given hash.
4341 Sat May 31 20:28:10 2008 Yusuke Endoh <mame@tsg.ne.jp>
4343 * test/ruby/test_regexp.rb: add tests.
4345 Sat May 31 19:11:39 2008 NARUSE, Yui <naruse@ruby-lang.org>
4347 * enc/utf_16{be,le}.c (utf16{be,le}_code_to_mbc):
4348 fix codepoint to bytes.
4350 Sat May 31 18:28:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4352 * suppress warnings with -Wwrite-string.
4354 Sat May 31 18:26:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4356 * array.c (rb_ary_delete_if): should return enumerator if no block
4357 is given. [ruby-dev:34901]
4359 Sat May 31 15:58:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4361 * Makefile.in, configure.in (warnflags): defaulted to -Wall
4362 -Wno-parentheses with gcc. [ruby-dev:34810]
4364 Sat May 31 15:17:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4366 * include/ruby/mvm.h: new header file for MVM, and moved rb_vm_t and
4367 rb_thread_t from vm_core.h.
4369 Sat May 31 12:02:23 2008 Tanaka Akira <akr@fsij.org>
4371 * test/ruby/envutil.rb (assert_normal_exit): show pid when fail.
4373 Fri May 30 23:55:56 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
4375 * test/ruby/test_rubyoptions.rb: add a test of RUBY_DESCRIPTION.
4377 Fri May 30 22:47:17 2008 Yusuke Endoh <mame@tsg.ne.jp>
4379 * test/ruby/test_regexp.rb: add tests.
4381 Fri May 30 22:40:53 2008 Yusuke Endoh <mame@tsg.ne.jp>
4383 * test/ruby/test_signal.rb: add tests to achieve over 80% test
4384 coverage of signal.c.
4386 Fri May 30 22:28:03 2008 Yusuke Endoh <mame@tsg.ne.jp>
4388 * signal.c (esignal_signo): fix SignalException#signo which returned
4391 * signal.c (esignal_init): always prepend "SIG" to a string that is
4392 returned by SignalException#signm.
4394 Fri May 30 22:17:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
4396 * test/ruby/test_argf.rb: rename a conflicting method name.
4398 * test/ruby/test_string.rb: ditto.
4400 * test/ruby/test_io.rb: ditto.
4402 Fri May 30 22:14:37 2008 Yusuke Endoh <mame@tsg.ne.jp>
4404 * compile.c (defined_expr): fix SEGV by defined?([1]).
4406 Fri May 30 12:18:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4408 * common.mk (prelude.c): simply depends on PREP. [ruby-dev:34877]
4410 * enc/make_encdb.rb, enc/trans/make_transdb.rb: ditto.
4412 Fri May 30 10:55:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4414 * vm_core.h (struct rb_unblock_callback), thread.c
4415 (set_unblock_function), thread_{pthread,win32}.c (native_sleep):
4416 extracted from struct rb_thread_struct.
4418 * thread.c (reset_unblock_function): not check interrupts at leaving
4419 blocking region. [ruby-dev:34874]
4421 Fri May 30 06:09:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
4423 * enc/utf_8.c: add UTF8-MAC (UTF-8-MAC).
4425 Fri May 30 04:17:13 2008 Akinori MUSHA <knu@iDaemons.org>
4427 * enum.c (enum_count, count_all_i, Init_Enumerable),
4428 array.c (rb_ary_count): If no argument or block is given, count
4429 the number of all elements.
4431 Fri May 30 03:12:18 2008 Akinori MUSHA <knu@iDaemons.org>
4433 * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand):
4434 Int should be enough here.
4436 Fri May 30 02:35:00 2008 Akinori MUSHA <knu@iDaemons.org>
4438 * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand),
4439 ext/openssl/ossl_pkey_dh.c (ossl_dh_s_generate)
4440 (ossl_dh_initialize),
4441 ext/openssl/ossl_pkey_dsa.c (ossl_dsa_s_generate),
4442 ext/openssl/ossl_rand.c (ossl_rand_bytes)
4443 (ossl_rand_pseudo_bytes, ossl_rand_egd_bytes),
4444 ext/openssl/ossl_x509store.c (ossl_x509stctx_set_error): Do not
4445 use FIX2INT() without checking the value type. Use NUM2INT()
4446 instead; found by akr in [ruby-dev:34890].
4448 Fri May 30 02:08:20 2008 Yusuke Endoh <mame@tsg.ne.jp>
4450 * signal.c (esignal_init): handle a non-integer argument correctly,
4451 allowing SignalException.new(:INT).
4453 Fri May 30 00:59:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
4455 * test/ruby/test_regexp.rb: add tests.
4457 Thu May 29 22:51:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
4459 * test/ruby/test_require.rb: add a test for load with wrap flag, to
4460 achieve 100% test coverage of eval_jump.c.
4462 Thu May 29 22:47:53 2008 Yusuke Endoh <mame@tsg.ne.jp>
4464 * test/ruby/test_argf.rb: new tests for ARGF, to achieve over 85% test
4467 * test/ruby/test_io.rb: add tests.
4469 Thu May 29 22:41:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
4471 * io.c (argf_readchar): raise EOFError, synchronizing IO#readchar.
4473 Thu May 29 22:29:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
4475 * io.c (argf_external_encoding, argf_internal_encoding): fix SEGV by
4476 ARGF.external_encoding.
4478 Thu May 29 17:52:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4480 * ext/zlib/extconf.rb: search zlib1, and regard mswin32 later than VC6
4481 as WIN32. [ruby-core:16984]
4483 Wed May 28 18:05:28 2008 Akinori MUSHA <knu@iDaemons.org>
4485 * array.c (rb_ary_nitems, Init_Array): Axe Array#nitems().
4486 cf. [ruby-dev:34676]-[ruby-dev:34713]
4488 Wed May 28 17:50:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4490 * win32/mkexports.rb (Exports#objdump, Exports#each_line): extracted.
4492 Wed May 28 17:41:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4494 * Makefile.in (MKPREP): appended $(RBCONFIG).
4496 * common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32
4497 to get of compiling twice each time.
4499 * win32/Makefile.sub (prelude.c): not depend on $(PREP).
4501 Wed May 28 17:37:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4503 * win32/mkexports.rb (Exports::Mswin#each_export): speed up.
4505 Wed May 28 16:41:59 2008 Akinori MUSHA <knu@iDaemons.org>
4507 * array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the
4508 beginning. [rubyspec]
4510 Wed May 28 16:12:44 2008 Akinori MUSHA <knu@iDaemons.org>
4512 * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
4513 Set the HTTP status code to 302 if a Location header field is
4514 present and the status code is not valid as a client
4515 redirection. cf. RFC 3875 6.2.3, 6.2.4.
4517 Wed May 28 15:53:52 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4519 * enc/trans/japanese.c (to_SHIFT_JIS_EF_infos): typo.
4521 Wed May 28 15:18:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4523 * lib/singleton.rb (SingletonClassMethods): _load should be public.
4525 Wed May 28 13:30:43 2008 NARUSE, Yui <naruse@ruby-lang.org>
4527 * enc/trans/japanese.c: add workaround for Unicode to CP932.
4528 U+2015->0x815C, U+2225->0x8161, U+FF0D->0x817C, U+FF3C->0x815F,
4529 U+FF5E->0x8160, U+FFE0->0x8191, U+FFE1->0x8192, U+FFE2->0x81CA
4531 Wed May 28 12:52:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4533 * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
4534 private methods too. [ruby-dev:34671]
4536 * object.c (convert_type): ditto.
4538 Wed May 28 08:42:51 2008 Tanaka Akira <akr@fsij.org>
4540 * numeric.c: "%" is required before PRI?VALUE.
4542 Tue May 27 22:10:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4544 * eval_error.c (error_handle): SystemExit and SignalException throws
4545 TAG_RAISE but not TAG_FATAL.
4547 * thread.c (rb_thread_execute_interrupts): delay interrupts during
4548 raising exceptions. [ruby-dev:34855]
4550 Tue May 27 20:18:30 2008 Akinori MUSHA <knu@iDaemons.org>
4552 * array.c (rb_ary_slice_bang): Return an empty array instead of
4553 nil when pos is valid and len is adjusted from a valid value to
4554 zero; caught by RubySpec.
4556 Tue May 27 19:12:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4558 * Makefile.in (MKPREP), common.mk, win32/Makefile.sub (prelude.c): get
4559 rid of depending PREP with nmake.
4561 * common.mk (encs): depends on libruby.
4563 Tue May 27 19:00:22 2008 Akinori MUSHA <knu@iDaemons.org>
4565 * ext/stringio/stringio.c (strio_each_char, Init_stringio): Add
4566 StringIO#{each_char,chars}.
4567 (Init_stringio): Fix StringIO#bytes.
4569 Tue May 27 17:54:35 2008 Akinori MUSHA <knu@iDaemons.org>
4571 * ext/stringio/stringio.c (strio_each_byte): Return self instead
4572 of nil as the rdoc says.
4574 Tue May 27 15:36:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4576 * numeric.c (check_int): use PRIxVALUE format specifier.
4578 * numeric.c (check_uint, rb_num2fix, int_chr): ditto.
4580 * numeric.c (num_fdiv): fallback to_f should always return float
4581 result. should not use #quo that may return rational.
4583 * numeric.c (num_div): should raise ZeroDivisionError.
4585 * numeric.c (fix_divide): ditto.
4587 * test/ruby/test_numeric.rb (TestNumeric::test_divmod): avoid
4588 ZeroDivisionError in tests.
4590 Tue May 27 13:14:53 2008 Akinori MUSHA <knu@iDaemons.org>
4592 * enum.c (enum_to_a): Pass arguments through to #each().
4593 (enum_sort): Follow the enum_to_a signature change.
4594 (enum_reverse_each): Add #reverse_each().
4596 Tue May 27 13:12:37 2008 Akinori MUSHA <knu@iDaemons.org>
4598 * io.c (Init_IO): Define ARGF.{lines,bytes,chars}.
4600 Tue May 27 12:06:37 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4602 * file.c (BUFCHECK): wrong condition. [ruby-core:16921]
4604 * file.c (file_expand_buf): shouldn't use buflen for length of string.
4606 Mon May 26 18:24:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4608 * file.c (BUFCHECK): no resize if enough room.
4610 * file.c (file_expand_path): use BUFCHECK.
4612 Mon May 26 17:48:42 2008 Akinori MUSHA <knu@iDaemons.org>
4614 * enumerator.c (struct enumerator, enumerator_init)
4615 (enumerator_init_copy, enumerator_each): Eliminate iter.
4616 (enumerator_ptr): Do not hardcode the class name.
4617 (enumerator_with_index): Delay variable initialization after
4618 RETURN_ENUMERATOR().
4620 Mon May 26 17:23:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4622 * file.c (file_expand_path): add more space for '/'.
4624 * file.c (file_expand_path): should reset address of p after calling
4625 rb_str_resize(). [ruby-dev:34800]
4627 Mon May 26 16:49:55 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4629 * misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook is
4630 not available. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>
4631 in [ruby-dev:34853].
4633 Mon May 26 16:41:35 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4635 * file.c (ntfs_tail): filename which starts with '.' is valid.
4637 * file.c (file_expand_path): cygwin symlink support.
4639 Mon May 26 07:15:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4641 * vm_dump.c (rb_vm_bugreport): rb_make_backtrace has no arguments.
4643 Mon May 26 01:17:54 2008 Tanaka Akira <akr@fsij.org>
4645 * test/ruby/envutil.rb (assert_normal_exit): signal description
4648 Mon May 26 00:52:52 2008 Akinori MUSHA <knu@iDaemons.org>
4650 * hash.c (env_each_key, env_each_value, env_reject_bang)
4651 (rb_env_clear, env_replace): Omit duplicated secure level check.
4653 Mon May 26 00:37:16 2008 Akinori MUSHA <knu@iDaemons.org>
4655 * hash.c (env_each_value): Do not call env_values() twice.
4657 Sun May 25 17:54:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
4659 * compile.c (iseq_compile): set local_table for
4660 ISEQ_TYPE_DEFINED_GUARD.
4662 Sun May 25 17:52:25 2008 Yusuke Endoh <mame@tsg.ne.jp>
4664 * compile.c (iseq_build_body): remove side effect from
4665 VM::InstructionSequence.load.
4667 Sun May 25 04:30:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
4669 * test/ruby/test_modules.rb (remove_json_mixins): change judgment
4672 Sun May 25 03:54:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
4674 * test/ruby/test_modules.rb (test_ancestors, test_included_modules):
4677 Sun May 25 02:37:25 2008 Koichi Sasada <ko1@atdot.net>
4679 * eval_method.c: renamed from vm_method.c. "vm_method.c" is included
4682 * vm_eval.c: added. Some codes are moved from "eval.c"
4684 * common.mk: fix for above changes.
4686 * compile.c: make a vm_eval(0)
4688 * eval.c, eval_error.c, eval_intern.h, eval_jump.c, proc.c, vm.c,
4689 id.c, id.h, vm_core.h, vm_dump.c, vm_evalbody.c, vm_insnhelper.c,
4690 blockinlining.c: fix for above changes. and do some refactoring.
4691 this changes improve rb_yield() performance.
4693 Sat May 24 22:32:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4695 * util.c (ruby_strtod): clear errno at the top of our own
4696 implementation of strtod(3). [ruby-dev:34834] [ruby-dev:34839]
4698 Sat May 24 15:26:16 2008 Yusuke Endoh <mame@tsg.ne.jp>
4700 * compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): remove
4701 special handling that decrements sp in CATCH_TYPE_NEXT for NODE_WHILE.
4703 * vm.c (vm_eval_body), vm_insnhelper.c (vm_throw): remove unused code.
4705 Sat May 24 08:13:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
4707 * transcode.c (rb_str_transcode): argc is 1, and argv is &to.
4709 Fri May 23 17:55:11 2008 Akinori MUSHA <knu@iDaemons.org>
4711 * array.c (rb_ary_slice_bang): Be consistent with Array#slice()
4712 and String#slice!(). Just return nil when a negative length or
4713 out of boundary index is given instead of raising an exception
4714 via internal functions.
4716 Fri May 23 16:44:34 2008 Akinori MUSHA <knu@iDaemons.org>
4718 * enumerator.c (Init_Enumerator): Override
4719 Enumerable::Enumerator#each_with_index with #with_index.
4721 Fri May 23 12:23:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4723 * vm_core.h (rb_num_t): moved form vm.h.
4725 * tool/instruction.rb (RubyVM::Instruction#sp_increase_c_expr),
4726 tool/instruction.rb (RubyVM::VmBodyGenerator#make_header_operands):
4727 omit unused variables.
4729 Fri May 23 08:47:02 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4731 * error.c (exc_equal): == operator should be transitional.
4734 * error.c (syserr_eqq): === should be able to handle delegated
4737 Fri May 23 06:15:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4739 * iseq.c (rb_iseq_compile_with_option): get rid of segv.
4741 Fri May 23 02:29:14 2008 Koichi Sasada <ko1@atdot.net>
4743 * insns.def (opt_gt|ge|lt|le): use values directly to compare.
4745 Fri May 23 01:15:09 2008 Koichi Sasada <ko1@atdot.net>
4747 * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h,
4748 vm.c, vm_core.h, vm_insnhelper.c: remove pointless "const".
4750 Thu May 22 23:45:17 2008 Yusuke Endoh <mame@tsg.ne.jp>
4752 * compile.c (get_destination_insn, get_next_insn, get_prev_insn):
4753 peephole optimization should not ignore ISEQ_ELEMENT_ADJUST.
4755 Thu May 22 20:20:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4757 * marshal.c (check_dump_arg, check_load_arg): check if reentered.
4760 Thu May 22 20:14:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
4762 * iseq.c (iseq_load, iseq_data_to_ary): support
4763 ISEQ_TYPE_DEFINED_GUARD.
4765 Thu May 22 19:01:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4767 * vm.c (vm_get_ruby_level_cfp): moved from eval_intern.h.
4769 * vm.c (sdr, nsdr): define methods only if VMDEBUG is defined.
4771 Thu May 22 17:18:35 2008 Tanaka Akira <akr@fsij.org>
4773 * array.c (rb_ary_compact_bang): fix reallocation size.
4775 Thu May 22 15:20:20 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4777 * eval_intern.h, vm_core.h, include/ruby/intern.h, include/ruby/ruby.h,
4778 vm.c: need to add const to prototypes, of course.
4780 Thu May 22 13:24:43 2008 Koichi Sasada <ko1@atdot.net>
4782 * eval.c, vm.c, vm_core.h, vm_insnhelper.c: specify "const".
4784 * vm_opts.h: add a OPT_TOKEN_THREADED_CODE macro.
4786 Thu May 22 12:51:41 2008 Tanaka Akira <akr@fsij.org>
4788 * insns.def (newhash): fix a variable definition: "const k".
4790 Thu May 22 12:40:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4792 * array.c (flatten): check if reentered. [ruby-dev:34798]
4794 Thu May 22 11:39:59 2008 Tanaka Akira <akr@fsij.org>
4796 * test/ruby/envutil.rb (assert_normal_exit): capture stdout and stderr
4797 of the child process.
4799 Thu May 22 08:28:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4801 * array.c (flatten): free memo hash table before raising exception.
4804 Thu May 22 06:30:10 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
4806 * array.c (flatten): fix memory leak.
4808 Thu May 22 06:21:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
4810 * ext/nkf/nkf-utf8/nkf.c (nkf_str_caseeql): added.
4812 * ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index): use nkf_str_caseeql.
4814 Thu May 22 05:45:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4816 * proc.c (proc_dup): should copy safe_level from src proc
4817 properly. a patch from Keita Yamaguchi
4818 <keita.yamaguchi at gmail.com>
4820 Thu May 22 02:46:08 2008 Shugo Maeda <shugo@ruby-lang.org>
4822 * lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739]
4824 Thu May 22 00:30:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
4826 * test/ruby/test_require.rb: new tests for library requiring, to
4827 achieve over 90% test coverage of dln.c.
4829 * test/ruby/test_class.rb: add tests to achieve over 90% test coverage
4832 * test/ruby/test_module.rb: ditto.
4834 Thu May 22 00:15:44 2008 Koichi Sasada <ko1@atdot.net>
4836 * insns.def, vm_insnhelper.c: specify "const".
4838 Wed May 21 23:20:21 2008 Koichi Sasada <ko1@atdot.net>
4840 * bootstraptest/test_eval.rb: fix syntax.
4842 Wed May 21 17:46:17 2008 NARUSE, Yui <naruse@ruby-lang.org>
4844 * ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index):
4845 use strcasecmp. [ruby-dev:34787]
4847 Wed May 21 16:48:22 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4849 * array.c (rb_ary_compact_bang): avoid forceful realloc.
4851 Wed May 21 07:42:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
4853 * string.c (rb_usascii_str_new): use rb_str_new.
4855 * string.c (rb_enc_str_new): ditto.
4857 * string.c (rb_usascii_str_new2): use rb_str_new2.
4859 Wed May 21 07:22:01 2008 NARUSE, Yui <naruse@ruby-lang.org>
4861 * encoding.c, include/ruby/encoding.h
4862 (rb_enc_associate, rb_enc_associate_index):
4863 returns obj. [ruby-dev:34778]
4865 Wed May 21 04:20:20 2008 NARUSE, Yui <naruse@ruby-lang.org>
4867 * encoding.c (rb_ascii8bit_encoding): use ENCINDEX_ASCII.
4869 * encoding.c, include/ruby/encoding.h (rb_ascii8bit_encindex):
4872 * encoding.c (rb_locale_encoding): use rb_usascii_encoding().
4874 Wed May 21 01:45:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4876 * test/ruby/test_file_exhaustive.rb (setup): workaround for Windows
4879 * test/ruby/envutil.rb (rubyexec): now Open3.open3 is supported on
4882 * test/ruby/test_process.rb: use ``||'' instead of ``;'' because
4883 cmd.exe not support it.
4885 Wed May 21 01:28:47 2008 NARUSE, Yui <naruse@ruby-lang.org>
4887 * transcode.c, include/ruby/encoding.h (rb_str_transcode):
4888 C API of encoding conversion for Ruby object.
4889 VALUE rb_str_transcode(VALUE str, VALUE to).
4891 * transcode.c (str_encode, str_encode_bang):
4892 rename from rb_tr_transcode or rb_str_transcode_bang.
4894 Tue May 20 23:26:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
4896 * test/ruby/test_array.rb: fix tests for 64bit CPU.
4898 Tue May 20 20:59:56 2008 NARUSE, Yui <naruse@ruby-lang.org>
4900 * ext/nkf/nkf-utf8/nkf.c (rb_nkf_convert) (nkf_enc_without_bom):
4901 reverted. nkf-utf8/nkf.c should be independent of ruby.
4903 * ext/nkf/nkf.c (options):
4904 moved from nkf-utf8/nkf.c.
4905 override nkf's original settings for Unicode BOM.
4907 Tue May 20 13:20:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4909 * ext/nkf/nkf.c (rb_nkf_convert), ext/nkf/nkf-utf8/nkf.c
4910 (nkf_enc_without_bom): BOM is not a part of encodings.
4912 * ext/nkf/nkf.c (Init_nkf), ext/nkf/nkf-utf8/nkf.c (options):
4913 UTF-{16,32} without endian have no sense.
4915 Tue May 20 12:13:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4917 * ruby.c (proc_options, process_options): --dump option.
4919 Tue May 20 11:36:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4921 * include/ruby/ruby.h (PRI[diouxX]VALUE): printf format for VALUE.
4923 * gc.c (assign_heap_slot): suppress a warning.
4925 Tue May 20 03:42:43 2008 Koichi Sasada <ko1@atdot.net>
4927 * eval.c, vm_insnhelper.c: fix cref in instance_eval
4928 and cvar_base search protocol.
4930 * bootstraptest/test_knownbug.rb, test_eval.rb: move solved test
4933 * test/ruby/test_eval.rb: fix tests for spec.
4935 Tue May 20 01:43:44 2008 Koichi Sasada <ko1@atdot.net>
4937 * bootstraptest/test_knownbug.rb: fix a test.
4938 "block_given?" returns true if "yield" can be used.
4940 Tue May 20 01:07:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
4942 * parse.y (assignable_gen): when "self = 1" was evaluated, unnecessary
4943 error message was output, which might cause null pointer access.
4945 Tue May 20 08:38:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4947 * string.c (rb_enc_strlen_cr): need to set ENC_CODERANGE_7BIT if
4948 search_nonascii() fails. [ruby-dev:34751]
4950 * string.c (rb_str_reverse): preserve coderange info if the
4951 receiver is 7bit string.
4953 * string.c (rb_str_reverse_bang): ditto.
4955 * string.c (rb_str_reverse_bang): should have called
4956 single_byte_optimizable before rb_str_modify() that clears
4959 * string.c (tr_trans): handle single bytes more eagerly.
4961 Mon May 19 23:32:12 2008 Koichi Sasada <ko1@atdot.net>
4963 * vm.c (invoke_block_from_c): fix call flow.
4965 Mon May 19 23:19:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
4967 * regexec.c (slow_search): check the case when the length is 1.
4968 The behavior of memcmp is undefined if the third argument is 0.
4970 Mon May 19 21:07:48 2008 Koichi Sasada <ko1@atdot.net>
4972 * thread_pthread.c (native_thread_apply_priority):
4973 fix argument range check. [ruby-dev:33124]
4975 Mon May 19 18:22:35 2008 Akinori MUSHA <knu@iDaemons.org>
4977 * ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): Fix the type
4978 of md; pointed out by Takahiro Kambe <taca at back-street.net>
4979 in [ruby-dev:34748].
4981 Mon May 19 17:23:55 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4983 * regparse.c (PINC): use optimized enclen() instead of
4984 ONIGENC_MBC_ENC_LEN().
4986 * regparse.c (PFETCH): ditto.
4988 * regparse.c (PFETCH): small optimization.
4990 * regexec.c (slow_search): single byte encoding optimization.
4992 * regenc.h (enclen): avoid calling function when encoding's
4995 * re.c (rb_reg_regsub): rb_enc_ascget() optimization for single
4998 * re.c (rb_reg_search): avoid allocating new re_registers if we
4999 already have MatchData.
5001 * re.c (match_init_copy): avoid unnecessary onig_region_free()
5002 before onig_region_copy.
5004 * encoding.c (rb_enc_get_index): remove implicit enc_capable check
5007 * encoding.c (rb_enc_set_index): ditto.
5009 * encoding.c (enc_compatible_p): small refactoring.
5011 * include/ruby/encoding.h (rb_enc_dummy_p): inline
5012 rb_enc_dummy_p() and export related code.
5014 Mon May 19 14:32:03 2008 Koichi Sasada <ko1@atdot.net>
5016 * version.h: fix strange change by version.h update tool.
5018 Mon May 19 14:18:13 2008 Koichi Sasada <ko1@atdot.net>
5020 * bootstraptest/test_knownbug.rb: move solved tests.
5022 * bootstraptest/test_eval.rb, test_literal.rb, test_syntax.rb,
5023 test_thread.rb: ditto.
5025 * test/ruby/test_m17n.rb, test_proc.rb, test_sprintf.rb,
5026 test_string.rb, test/ruby/test_struct.rb: ditto.
5028 Mon May 19 13:23:03 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5030 * process.c (rb_spawn_internal): set last_status when status == -1
5031 because there is no path to set it on win32. this patch is derived
5032 from [ruby-core:16787], submitted by Luis Lavena <luislavena at
5035 Mon May 19 11:32:47 2008 Koichi Sasada <ko1@atdot.net>
5037 * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling.
5038 VM value stack frame of block contains cref information.
5039 (dfp[-1] points CREF)
5041 * compile.c, eval_intern.h, eval_method.c, load.c, proc.c,
5042 vm_dump.h, vm_core.h: ditto.
5044 * include/ruby/ruby.h, gc.c: remove T_VALUES because of above
5047 * bootstraptest/test_eval.rb, test_knownbug.rb: move solved test.
5049 Sun May 18 22:26:51 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
5051 * lib/webrick/httpservlet/filehandler.rb: should normalize path
5052 name in path_info to prevent script disclosure vulnerability on
5053 DOSISH filesystems. (fix: CVE-2008-1891)
5054 Note: NTFS/FAT filesystem should not be published by the platforms
5055 other than Windows. Pathname interpretation (including short
5056 filename) is less than perfect.
5058 * lib/webrick/httpservlet/abstract.rb
5059 (WEBrick::HTTPServlet::AbstractServlet#redirect_to_directory_uri):
5060 should escape the value of Location: header.
5062 * lib/webrick/httpservlet/cgi_runner.rb: accept interpreter
5063 command line arguments.
5065 Sun May 18 02:54:46 2008 Yusuke Endoh <mame@tsg.ne.jp>
5067 * pack.c (pack_pack): check errno to detect error of ruby_strtoul.
5069 * pack.c (pack_unpack): ditto.
5071 * test/ruby/test_pack.rb: add a test for above.
5073 Sat May 17 23:53:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5075 * file.c (file_expand_path): fix for short file name on Cygwin.
5077 Sat May 17 18:03:52 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
5079 * vm.c (Init_VM): removed the definition of Thread#initialize,
5080 which is overwritten in Init_Thread and is never used.
5082 Sat May 17 14:01:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5084 * array.c (rb_ary_sort_bang): should not free shared pointer, and set
5085 shared. [ruby-dev:34732]
5087 Sat May 17 12:34:54 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
5089 * thread_pthread.c (Init_native_thread): Kernel#.sleep used never to
5090 sleep on Mac OS X. Reported by arton <artonx AT yahoo.co.jp>.
5092 * thread_pthread.c (native_sleep): added error checks.
5094 Sat May 17 11:29:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5096 * file.c (rb_file_s_extname): first dot is not an extension name.
5098 Sat May 17 03:21:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5100 * array.c (rb_ary_sort_bang): stop memory leak. [ruby-dev:34726]
5102 * re.c (rb_reg_search): need to free allocated buffer in re_register.
5104 * regexec.c (onig_region_new): more pedantic malloc check.
5106 * regexec.c (onig_region_resize): ditto.
5108 * regexec.c (STATE_CHECK_BUFF_INIT): ditto.
5110 * regexec.c (onig_region_copy): use onig_region_resize.
5112 Fri May 16 12:48:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5114 * math.c (to_flo): rb_Float() accepts even strings for input.
5116 * complex.c (nucomp_to_f): fix wrong message.
5118 * complex.c (nucomp_to_r): ditto.
5120 * object.c (rb_Float): do not check NaN for error. NaN is a part
5121 of valid float values.
5123 Thu May 15 23:36:09 2008 Yusuke Endoh <mame@tsg.ne.jp>
5125 * test/ruby/test_string.rb: add tests to achieve over 90% test
5126 coverage of string.c.
5128 * test/ruby/test_m17n.rb: ditto.
5130 * test/ruby/test_symbol.rb: ditto.
5132 * test/ruby/test_pack.rb: ditto.
5134 Thu May 15 23:01:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
5136 * string.c (tr_find): String#delete returned wrong result when multiple
5137 utf-8 arguments are passed.
5139 * test/ruby/test_m17n.rb (test_delete): add a test for above.
5141 Thu May 15 22:37:56 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5143 * parse.y (ripper_warningS): now used.
5145 Thu May 15 15:33:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5147 * file.c (file_expand_path): support for alternative data stream
5148 and ignored trailing garbage of NTFS.
5150 * file.c (rb_file_s_basename): ditto.
5152 * file.c (rb_file_s_extname): ditto.
5154 Thu May 15 13:43:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5156 * object.c (rb_cstr_to_dbl): no need for forceful warning when
5157 converting to float. overflow is a nature of float values.
5159 * parse.y (parser_yylex): ditto.
5161 Thu May 15 13:23:20 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5163 * re.c (rb_reg_prepare_enc): error condition was updated for non
5164 ASCII compatible strings.
5166 Thu May 15 12:19:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5168 * ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted
5169 prototype change in openssl bundled with newer OpenBSD.
5170 a patch from Takahiro Kambe <taca at back-street.net> in
5173 Wed May 14 22:09:25 2008 Yusuke Endoh <mame@tsg.ne.jp>
5175 * ChangeLog: fix typo.
5177 Wed May 14 21:49:14 2008 Yusuke Endoh <mame@tsg.ne.jp>
5179 * test/ruby/test_object.rb: new tests to achieve over 90% test
5180 coverage of object.c, eval.c and eval_method.c.
5182 * test/ruby/test_module.rb: ditto.
5184 * test/ruby/test_trace.rb: ditto.
5186 * test/ruby/test_integer.rb: ditto.
5188 * test/ruby/test_float.rb: ditto.
5190 * test/ruby/test_method.rb: ditto.
5192 * test/ruby/test_variable.rb: ditto.
5194 * test/ruby/test_eval.rb: ditto.
5196 * test/ruby/test_exception.rb: ditto.
5198 * test/ruby/test_class.rb: ditto.
5200 Wed May 14 12:46:37 2008 Koichi Sasada <ko1@atdot.net>
5202 * iseq.c (insn_operand_intern): remove Qundef related code.
5204 Wed May 14 12:42:36 2008 Akinori MUSHA <knu@iDaemons.org>
5206 * array.c (rb_ary_count): Override Enumerable#count for better
5209 Wed May 14 11:29:06 2008 Koichi Sasada <ko1@atdot.net>
5211 * insns.def: add a "putcbase" instruction.
5213 * compile.c, insns.def: fix to use putcbase instruction for
5214 class search. Qundef should not be used.
5216 Wed May 14 07:49:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5218 * eval.c (rb_call0): defer calling of rb_frame_self() until it
5219 become really necessary.
5221 * eval.c (rb_call): ditto.
5223 Wed May 14 00:55:56 2008 Yusuke Endoh <mame@tsg.ne.jp>
5225 * test/ruby/test_io_m17n.rb: remove a duplicative method.
5227 * test/ruby/test_utf16.rb: rename a conflicting method name.
5229 * test/ruby/test_array.rb: ditto.
5231 * test/ruby/test_file_exhaustive.rb: ditto.
5233 * test/ruby/test_hash.rb: ditto.
5235 * test/ruby/test_env.rb: ditto.
5237 * test/ruby/test_fixnum.rb: ditto.
5239 * test/ruby/test_rational.rb: ditto.
5241 Wed May 14 00:45:58 2008 Yusuke Endoh <mame@tsg.ne.jp>
5243 * eval_method.c (rb_add_method): fix check for warning when
5244 Object#initialize is redefined. (same as 1.8)
5246 Tue May 13 23:32:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5248 * enum.c (enum_yield): use rb_yield_values2.
5250 * enum.c (DEFINE_ENUMFUNCS): macro to define enumerator and yielding
5253 * enum.c (enum_all_func, enum_any_func, enum_one_func,
5254 enum_none_func): reduced duplicate code.
5256 Tue May 13 15:09:38 2008 Akinori MUSHA <knu@iDaemons.org>
5258 * enumerator.c: Update rdoc.
5259 (enumerator_initialize): Discourage the use.
5260 (enum_each_slice, enum_each_cons, enumerator_each)
5261 (enumerator_with_index): Add a note about a call without a block.
5263 Tue May 13 08:25:31 2008 Tanaka Akira <akr@fsij.org>
5265 * io.c (rb_f_gets): re-enable rdoc.
5266 (rb_f_readline): ditto.
5267 (rb_f_readlines): ditto.
5269 Tue May 13 07:56:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5271 * string.c (rb_str_cat): fixed buffer overrun reported by
5272 Christopher Thompson <cthompson at nexopia.com> in [ruby-core:16746]
5274 Mon May 12 23:37:57 2008 Yusuke Endoh <mame@tsg.ne.jp>
5276 * vm.c (collect_local_variables_in_env): remove unnecessary check
5277 which causes: x=1;proc{local_variables}.call #=> []
5279 * test/ruby/test_variable.rb: add a test for above.
5281 Mon May 12 23:05:24 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5283 * process.c, include/ruby/intern.h (rb_run_exec_options): externed.
5285 * process.c (save_redirect_fd, save_env_i, save_env, run_exec_dup2,
5286 run_exec_open, run_exec_pgroup, run_exec_rlimit, rb_run_exec_options):
5287 save parent's process environments.
5289 * process.c (rb_spawn_internal): remove calling run_exec_options()
5290 because cannot restore after spawn.
5292 * io.c (pipe_open): ditto.
5294 * test/ruby/test_process.rb (test_execopts_env): upcase environment
5295 variable name for case insensitive platforms.
5297 * win32/win32.c (init_env): set USER environment variable only when
5298 USERNAME is available.
5300 Mon May 12 22:23:01 2008 Tanaka Akira <akr@fsij.org>
5302 * lib/date.rb (once): use Object#object_id instead of Symbol#to_i.
5304 Mon May 12 21:34:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5306 * test/ruby/envutil.rb (rubybin): return expanded rubyexe instead of
5307 expanded ruby if available.
5309 Mon May 12 20:19:55 2008 Akinori MUSHA <knu@iDaemons.org>
5311 * enum.c (grep_i): Be aware of multiple values;
5312 fix [ruby-dev:34653].
5313 (grep_iter_i): Ditto.
5316 (find_index_i): Ditto.
5317 (find_all_i): Ditto.
5320 (inject_op_i): Ditto.
5321 (partition_i): Ditto.
5322 (group_by_i): Ditto.
5326 (all_iter_i): Ditto.
5328 (any_iter_i): Ditto.
5330 (one_iter_i): Ditto.
5332 (none_iter_i): Ditto.
5341 (minmax_by_i): Ditto.
5344 (take_while_i): Ditto.
5346 (drop_while_i): Ditto.
5349 * enum.c (each_with_index): Update rdoc. each_with_index() takes
5350 arguments that are passed through to each(), and a hash preserves
5353 Mon May 12 19:05:24 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5355 * process.c (rb_spawn_internal): remove calling run_exec_options()
5356 because cannot restore after spawn. we'll fix this later.
5358 Mon May 12 18:16:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5360 * process.c (rb_spawn_internal): need to call run_exec_options() before
5361 spawn if the platform doesn't have fork. [ruby-dev:34647]
5363 Mon May 12 15:20:02 2008 Tanaka Akira <akr@fsij.org>
5365 * gc.c (ruby_vm_xmalloc): increase malloc_increase only if malloc
5366 succeeds. failed malloc size can be huge. it may increase
5367 malloc_limit too big which cause less GC and memory full.
5368 (ruby_vm_xrealloc): ditto.
5369 (rb_objspace): make params.limit and params.increase size_t.
5371 Mon May 12 15:04:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5373 * re.c (rb_reg_prepare_re): made non static with small refactoring.
5375 * ext/strscan/strscan.c (strscan_do_scan): should adjust encoding
5376 before regex searching.
5378 Mon May 12 13:57:19 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5380 * eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}. "defined?(a||=1)"
5381 should not operate assignment. [ruby-dev:34645]
5383 Mon May 12 13:29:26 2008 Tanaka Akira <akr@fsij.org>
5385 * bignum.c (bigzero_p): check from MSB to LSB. [ruby-dev:34649]
5387 Mon May 12 12:32:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5389 * common.mk (RUBYOPT): affected BASERUBY too. [ruby-talk:301514]
5391 Mon May 12 12:27:55 2008 Tanaka Akira <akr@fsij.org>
5393 * gc.c (assign_heap_slot): fix condition for number of objects in
5396 Mon May 12 12:24:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5398 * string.c (sym_to_i): really removed. [ruby-dev:34641]
5400 Mon May 12 11:15:55 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
5402 * gc.c (assign_heap_slot): put the binary search routine in order.
5404 Mon May 12 10:52:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5406 * ruby.c (ruby_init_gems), gem_prelude.rb: check if Gem is defined
5407 instead of Gem::Enable.
5409 * gem_prelude.rb (load_full_rubygems_library, const_missing): prevent
5410 infinite recursion. [ruby-dev:34539]
5412 Sun May 11 23:19:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5414 * enum.c (all_iter_i, any_iter_i): reduced duplicated code.
5416 Sun May 11 22:54:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5418 * bootstraptest/runner.rb (main): leave -I options for purelib.rb
5421 * bootstraptest/runner.rb (main): handle relative path -r options.
5423 Sun May 11 19:04:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
5425 * test/ruby/test_thread.rb: kill and join temporal threads that are
5426 created in each test.
5428 Sun May 11 17:58:45 2008 Tanaka Akira <akr@fsij.org>
5430 * test/ruby/test_process.rb (TestProcess#with_stdin): defined.
5431 (TestProcess#test_argv0_noarg): don't use redirect_fds.
5434 Sun May 11 17:57:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5436 * configure.in (MINIRUBY): should not include extension library path.
5438 Sun May 11 14:40:36 2008 Tanaka Akira <akr@fsij.org>
5440 * include/ruby/ruby.h (SIZET2NUM): new macro.
5441 (NUM2SIZET): new macro.
5443 * gc.c (struct rb_objspace): use size_t for increment, length and
5445 (allocate_heaps): ditto.
5446 (assign_heap_slot): ditto.
5447 (set_heaps_increment): ditto.
5448 (gc_mark_all): ditto.
5449 (is_pointer_to_heap): ditto.
5450 (free_unused_heaps): ditto.
5453 (rb_gc_call_finalizer_at_exit): ditto.
5454 (count_objects): ditto.
5456 Sun May 11 13:14:09 2008 Tanaka Akira <akr@fsij.org>
5458 * thread.c (thread_cleanup_func_before_exec): extracted from
5459 thread_cleanup_func not to touch pthread data.
5460 pthread_cond_destroy in forked process may cause deadlock on
5461 Debian GNU/Linux Etch on x86, x86-64 and IA64.
5462 this doesn't cause resource leak because the process will exec soon.
5463 (terminate_atfork_before_exec_i): defined.
5464 (rb_thread_atfork_before_exec): defined.
5466 * include/ruby/intern.h (rb_thread_atfork_before_exec): declared.
5468 * process.c (rb_exec_atfork): call rb_thread_atfork_before_exec
5469 instead of rb_thread_atfork.
5471 * io.c (popen_exec): call rb_thread_atfork_before_exec instead of
5474 Sat May 10 22:14:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5476 * string.c (tr_trans): single '^' does not mean negation.
5479 * string.c (tr_trans): should check src size, not str size.
5482 * string.c (tr_trans): should not turn on modify flag if no
5483 modification happens. [ruby-dev:34631]
5485 Sat May 10 18:11:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5487 * string.c (rb_str_each_line): zero length record separator should
5488 split a string into paragraphs. [ruby-dev:34586]
5490 * string.c (rb_str_each_line): RDoc updated.
5492 Sat May 10 11:36:20 2008 Tanaka Akira <akr@fsij.org>
5494 * vm.c (env_mark): mark env->block.self. prevent SEGV when GC occur
5495 in prepare_iseq_build with gcc version 3.4.6 [FreeBSD] 20060305 on
5498 Fri May 9 19:16:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5500 * thread.c (timeofday): use monotonic clock. based on a patch
5501 from zimbatm <zimbatm at oree.ch> in [ruby-core:16627].
5503 Fri May 9 07:47:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5505 * cont.c (cont_restore_0): dynamic stack direction code should be
5506 consistent with static one. [ruby-talk:301152]
5508 Fri May 9 00:03:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5510 * parse.y (arg): operator assignment "a += b rescue c" should be
5511 parsed as "a += (b rescue c)" just like normal assignment.
5514 Thu May 8 18:14:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5516 * bignum.c (rb_big_and): bit-wise operation should not take float
5517 values. [ruby-dev:34612]
5519 * bignum.c (rb_big_or): ditto.
5521 * bignum.c (rb_big_xor): ditto.
5523 Thu May 8 17:44:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5525 * common.mk, ext/extmk.rb, lib/mkmf.rb: use absolute path for RUBYOPT.
5527 * file.c (rb_find_file_ext): guard load_path from GC.
5528 gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) optimizes
5529 load_path by holding only RARRAY_LEN(load_path) and
5530 RARRAY_PTR(load_path) in registers on IA64 GNU/Linux Etch.
5532 Thu May 8 16:41:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5534 * configure.in (MINIRUBY), common.mk (RUBYOPT): add purelib.rb.
5537 Thu May 8 16:00:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5539 * parse.y (parser_yylex): ! and ? at the bottom are no longer part
5540 of valid symbol names. [ruby-dev:34590]
5542 Thu May 8 15:36:11 2008 Tanaka Akira <akr@fsij.org>
5544 * thread.c (rb_gc_save_machine_context): call FLUSH_REGISTER_WINDOWS
5545 to mark the register stack from GC on another thread.
5547 Thu May 8 15:14:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5549 * array.c (rb_ary_sort_bang): freeze temporary array.
5551 Thu May 8 13:19:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5553 * vm.c (rb_thread_mark): mark stat_insn_usage only when ptr is not
5556 Thu May 8 10:44:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5558 * array.c (sort_reentered): reentered check may be called from
5561 Thu May 8 09:51:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5563 * array.c (sort_1, sort_2): check for reentered and if elements are
5564 accessible. [ruby-core:16679]
5566 Thu May 8 06:43:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5568 * dln.c (dln_find_exe_r, dln_find_file_r): reentrant versions.
5570 * file.c (rb_find_file_ext, rb_find_file), process.c (proc_exec_v),
5571 (rb_proc_exec, proc_spawn_v, proc_spawn), ruby.c (process_options):
5572 use reentrant versions.
5574 Thu May 8 06:27:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5576 * thread.c (rb_thread_key_p): thread local storage stores ID.
5578 Thu May 8 01:10:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5580 * string.c (tr_trans): should squeeze properly. [ruby-dev:34587]
5582 * string.c (tr_trans): had a bug in treating multi-byte character
5585 * string.c (rb_str_delete_bang): need not to do anything for empty
5588 * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_delete): add
5589 test for empty receiver.
5591 Wed May 7 20:19:18 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5593 * ruby.c (process_options, ruby_set_argv): set encoding of rb_argv
5594 after Init_prelude() because cannot load encoding extensions before
5597 Wed May 7 20:00:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5599 * numeric.c (bit_coerce): float should not be a valid operand of
5600 bitwise operations. [ruby-dev:34583]
5602 Wed May 7 19:35:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5604 * thread.c (rb_thread_key_p): should always convert symbol to ID.
5607 Wed May 7 19:30:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5609 * numeric.c (fix_divide): float division should floor() before
5610 rounding into integer. [ruby-dev:34584]
5612 Wed May 7 18:02:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5614 * string.c (sym_to_i): remove obsolete method. preparation for
5617 * numeric.c (fix_to_sym): ditto.
5619 * numeric.c (fix_id2name): ditto.
5621 Wed May 7 17:43:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5623 * io.c (io_puts_ary): check recursion first. [ruby-dev:34580]
5625 Wed May 7 17:41:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5627 * vm.c (vm_eval_body): initialize retval. [ruby-dev:34576]
5629 Wed May 7 13:02:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5631 * bignum.c (rb_big_fdiv): flo.fdiv(NaN) should result NaN.
5633 * numeric.c (num_quo): renamed and moved from bignum.c.
5636 * bignum.c (rb_big_fdiv): update RDoc description
5638 * rational.c (nurat_s_new_m): small refactoring.
5640 * bignum.c (rb_big2dbl): no need for forceful warning when
5641 converting to float. overflow is a nature of float values.
5643 Wed May 7 00:54:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5645 * ext/zlib/zlib.c (gzreader_gets): may cause infinite loop.
5646 a patch from Kouya <kouyataifu4 at gmail.com> in
5647 [ruby-reference-manual:762].
5649 Tue May 6 02:08:18 2008 Tanaka Akira <akr@fsij.org>
5651 * test/io/nonblock/test_flush.rb: don't set Thread.abort_on_exception.
5653 * test/net/imap/test_imap.rb: ensure disconnecting imap to terminate
5656 Tue May 6 00:29:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5658 * iseq.c (insn_operand_intern): should handle Qundef embedded in
5659 operand. [ruby-core:16656]
5661 Tue May 6 00:00:02 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5663 * compile.c (iseq_compile_each): should call compile_cpath() for
5664 modules as well. [ruby-dev:34585]
5666 * insns.def (defineclass): add undef handling.
5668 Mon May 5 23:49:40 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5670 * insns.def (defineclass): was using wrong variable. [ruby-dev:34592]
5672 Mon May 5 20:07:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5674 * io.c (io_fflush): IO#flush problem within threads. a patch from
5675 <s.wanabe at gmail.com> in [ruby-dev:34595].
5677 Mon May 5 19:58:44 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5679 * compile.c (defined_expr): protect some expression from
5680 segmentation fault. a patch from wanabe <s.wanabe at gmail.com>
5681 in [ruby-dev:34593].
5683 Mon May 5 19:49:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5685 * struct.c (rb_struct_s_def): Struct.new(0) should not SEGV.
5686 based on the patch from wanabe <s.wanabe at gmail.com> in
5689 * struct.c (make_struct): call to_str on name object.
5691 Mon May 5 17:17:40 2008 Tanaka Akira <akr@fsij.org>
5693 * eval.c (ruby_cleanup): wrap ruby_finalize_0 by SAVE_ROOT_JMPBUF to
5694 avoid SEGV by at_exit { Fiber.new{}.resume } on IA64.
5696 Mon May 5 12:12:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5698 * array.c (rb_ary_slice_bang): should adjust length before making
5701 Mon May 5 11:36:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5703 * array.c (rb_ary_dup): should dupe corresponding information.
5706 Mon May 5 11:13:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5708 * compile.c (compile_cpath): use Qundef to denote cbase lookup.
5710 * insns.def (defineclass): Qundef is passed for cbase.
5712 * insns.def (setconstant): ditto.
5714 * vm_insnhelper.c (vm_check_if_namespace): use rb_inspect()
5715 instead of rb_obj_as_string() for better description.
5717 Mon May 5 02:10:23 2008 Tanaka Akira <akr@fsij.org>
5719 * gc.c (set_heaps_increment): fix memory allocation strategy by
5720 determining heaps_inc from heaps_used, not objects_delta.
5721 (struct rb_objspace): delta removed. change increment, length and
5722 used to long for LP64.
5723 (objects_delta): removed.
5724 (allocate_heaps): add next_heaps_length argument.
5725 (init_heap): renamed from add_heap.
5726 (garbage_collect): use heaps_increment in dont_gc.
5728 Sun May 4 21:09:32 2008 Tanaka Akira <akr@fsij.org>
5730 * lib/getoptlong.rb: use $stderr instead of $deferr.
5732 Sun May 4 16:04:28 2008 Tanaka Akira <akr@fsij.org>
5734 * time.c (obj2nsec): fix string argument.
5736 Sun May 4 14:29:14 2008 Tanaka Akira <akr@fsij.org>
5738 * eval.c (rb_obj_respond_to): check the result of respond_to? method
5741 Sun May 4 12:57:58 2008 Tanaka Akira <akr@fsij.org>
5743 * string.c (rb_str_each_line): return original string.
5745 Sat May 3 20:57:06 2008 Tanaka Akira <akr@fsij.org>
5747 * test/ruby/envutil.rb (Test::Unit::Assertions#assert_normal_exit):
5750 Sat May 3 18:10:54 2008 Tanaka Akira <akr@fsij.org>
5752 * time.c (time_timespec): raise TypeError for nil and other objects
5753 which has no divmod method.
5755 Fri May 2 23:59:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5757 * io.c (internal_read_func, internal_write_func): split from
5760 Fri May 2 23:55:15 2008 Tanaka Akira <akr@fsij.org>
5762 * variable.c (rb_define_hooked_variable): guard *var from GC to
5763 prevent collecting argf under RUBY_DEBUG=gc_stress.
5765 Fri May 2 17:29:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5767 * range.c (range_step): call to_int if step is not a numeric
5768 value. [ruby-dev:34575]
5770 Fri May 2 16:10:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5772 * range.c (range_step): do not forcefully convert steps into
5773 integers. [ruby-dev:34571]
5775 Fri May 2 14:52:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5777 * misc/ruby-mode.el: move fontifying code from hook. a patch from
5778 Phil Hagelberg <phil at hagelb.org> in [ruby-core:16636].
5780 Fri May 2 14:10:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5782 * range.c (range_step): step may be bignum.
5784 Fri May 2 13:52:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5786 * re.c (Init_Regexp): remove MatchData#select. [ruby-dev:34563]
5788 Thu May 1 23:59:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5790 * bignum.c (rb_big_divide), numeric.c (fix_divide): check for result
5791 domain. [ruby-dev:34559]
5793 Thu May 1 23:57:06 2008 James Edward Gray II <jeg2@ruby-lang.org>
5795 * lib/net/telnet.rb: This patch from Brian Candler adds a FailEOF mode which
5796 can be activated to have net/telnet raise EOFError exceptions when the
5797 remote connection is closed. The default behavior remains unchanged though.
5799 Thu May 1 23:43:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5801 * range.c (range_step): check if step can be converted to an integer.
5804 * range.c (range_step): allow float step bigger than zero but less
5805 than one. [ruby-dev:34557]
5807 Thu May 1 23:20:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5809 * bignum.c (rb_big_divide): return an integer for idiv.
5812 Thu May 1 20:47:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5814 * hash.c (rb_hash_s_create): should access converted hash value.
5817 Thu May 1 20:31:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5819 * test/ruby/test_parse.rb (TestParse::test_void_expr_stmts_value):
5822 * rational.c (nurat_to_f): no need for forceful warning when
5823 converting to float. overflow is a nature of float values.
5825 Thu May 1 16:10:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5827 * hash.c (env_delete_if): return enumerator if no block given.
5830 Wed Apr 30 21:36:40 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
5832 * lib/erb.rb (url_encode): [ruby-dev:34497] ERB::Util#url_encode
5833 bug fix. Reported by rubikitch.
5835 * test/erb/test_erb.rb: ditto
5837 Wed Apr 30 20:11:36 2008 James Edward Gray II <jeg2@ruby-lang.org>
5839 * lib/net/telnet.rb: Fixing a bug where line endings would not be properly
5840 escaped when the two character ending was broken up into separate TCP
5841 packets. Issue reported and patched by Brian Candler.
5843 Wed Apr 30 18:03:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5845 * load.c (rb_load_path), vm_core.h (rb_vm_t): moved to VM.
5847 * load.c (rb_get_load_path): returns absolute load path.
5849 * load.c (load_path_getter): $LOAD_PATH getter.
5851 * file.c (rb_find_file_ext, rb_find_file), ruby.c (push_include,
5852 ruby_init_loadpath): use the accessor.
5854 * vm.c (rb_vm_mark): mark load_path.
5856 Wed Apr 30 17:47:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5858 * re.c (rb_reg_search): use local variable. a patch from wanabe
5859 <s.wanabe AT gmail.com> in [ruby-dev:34537]. [ruby-dev:34492]
5861 Wed Apr 30 16:10:18 2008 Yusuke Endoh <mame@tsg.ne.jp>
5863 * eval_intern.h: specify the values of the enumeration constants
5864 explicitly. [ruby-dev:34489]
5866 Wed Apr 30 12:32:39 2008 Tanaka Akira <akr@fsij.org>
5868 * process.c (check_exec_redirect_fd): prohibit duplex IO.
5869 (check_exec_fds): record maxhint even if close_others is not
5871 (rb_exec_arg_fixup): renamed from rb_exec_arg_fix.
5873 Mon Apr 28 20:24:27 2008 Tadayoshi Funaba <tadf@dotrb.org>
5875 * rational.c (nurat_marshal_load): checks the given
5876 denominator. [ruby-dev:34536]
5878 Mon Apr 28 14:21:18 2008 Tanaka Akira <akr@fsij.org>
5880 * include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of
5881 FIXNUM_MAX to make it possible to convert to double accurately on
5882 environments with 64bit VALUE and 64bit double.
5883 It assumes FLT_RADIX is 2.
5884 fix RubyForge bug #14102.
5886 Mon Apr 28 12:48:57 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5888 * process.c (rb_exec_arg_addopt, rb_exec_arg_addopt): now can specify
5889 close_exec on having no fork environment (but still meaningless).
5891 Mon Apr 28 11:11:29 2008 Tanaka Akira <akr@fsij.org>
5893 * process.c (run_exec_options): don't call FIX2INT for nil.
5895 Mon Apr 28 11:11:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5897 * proc.c (method_name): should return symbols instead of strings.
5900 Mon Apr 28 09:02:43 2008 Tanaka Akira <akr@fsij.org>
5902 * include/ruby/intern.h (rb_exec_arg_init): declared.
5903 (rb_exec_arg_addopt): declared.
5904 (rb_exec_arg_fix): declared.
5905 (rb_exec_initarg): removed.
5906 (rb_exec_getargs): removed.
5907 (rb_exec_initarg2): removed.
5909 * io.c (struct popen_arg): make execarg as a pointer.
5910 (popen_exec): follow popen_arg change.
5911 (pipe_open): add eargp argument. extract argc and argv from eargp.
5912 use rb_exec_arg_addopt to add redirect options.
5913 (pipe_open_v): set up struct rb_exec_arg.
5914 (pipe_open_s): set up struct rb_exec_arg.
5916 * process.c (rb_exec_arg_addopt): new function extracted from
5917 check_exec_options_i.
5918 (check_exec_options_i): use rb_exec_arg_addopt.
5919 (rb_check_exec_options): opthash is always a hash now.
5920 (rb_exec_getargs): make it static.
5921 (rb_exec_fillarg): renamed from rb_exec_initarg2. don't set up
5923 (rb_exec_arg_init): new function.
5924 (rb_exec_arg_fix): new function.
5925 (rb_f_exec): use rb_exec_arg_init and rb_exec_arg_fix. use
5926 rb_exec_arg_addopt to set close_others option.
5927 (run_exec_options): make close_others by default.
5928 (rb_spawn_internal): use rb_exec_arg_init and rb_exec_arg_fix. use
5929 rb_exec_arg_addopt to set close_others option.
5931 Sun Apr 27 18:59:04 2008 Tadayoshi Funaba <tadf@dotrb.org>
5933 * rational.c (nurat_expt): use f_rational_new2. [ruby-dev:34524]
5935 Sun Apr 27 15:23:40 2008 Koichi Sasada <ko1@atdot.net>
5937 * gc.c (gc_count): add a GC.count method. This method returns
5938 a GC invoking count.
5940 Sun Apr 27 12:20:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5942 * vm_core.h (rb_vm_t), gc.c (rb_objspace, rb_newobj), vm.c
5943 (Init_BareVM): per-VM object space support, which is disabled now.
5945 * gc.c (rb_objspace_alloc), vm.c (Init_BareVM): should not use ruby
5948 * gc.c (garbage_collect, etc): performance improvement by passing the
5949 reference instead of referring the global variable in each functions.
5951 Sun Apr 27 08:06:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
5953 * ruby.c (ruby_set_argv): ARGV should be locale encoding.
5956 Sun Apr 27 01:46:29 2008 Tanaka Akira <akr@fsij.org>
5958 * lib/open3.rb (Open3.popen3w): removed.
5959 (Open3.popen3): notice wait_thr.
5961 Sun Apr 27 01:13:05 2008 Eric Hodel <drbrain@segment7.net>
5963 * lib/rdoc, test/rdoc: Update to RDoc 2.0.0 r56.
5965 Sat Apr 26 21:30:40 2008 Tanaka Akira <akr@fsij.org>
5967 * include/ruby/intern.h (rb_hash_dup): declared.
5969 * hash.c (rb_hash_dup): new function.
5971 * process.c (rb_spawn_internal): don't modify option hash.
5973 Sat Apr 26 18:36:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5975 * io.c, signal.c, thread.c, thread_win32.c, include/ruby/intern.h:
5978 Sat Apr 26 17:42:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5980 * error.c (builtin_types), gc.c (count_objects): added Complex and
5983 Sat Apr 26 17:35:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5985 * error.c (rb_eNOERROR): renamed.
5987 Sat Apr 26 17:30:11 2008 Koichi Sasada <ko1@atdot.net>
5989 * include/ruby/ruby.h, gc.c: remove T_BLOCK.
5991 * include/ruby/ruby.h: re-number T_xxx.
5993 Sat Apr 26 17:31:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5995 * process.c (rb_cProcessTms, rb_cProcessStatus): renamed.
5997 * error.c (builtin_types), signal.c (siglist), st.c (primes),
5998 struct.c (ref_func), time.c (months): constified.
6000 Sat Apr 26 13:00:41 2008 Tanaka Akira <akr@fsij.org>
6002 * lib/open3.rb: double fork is replaced by spawn with Process.detach.
6003 (Open3.popen3w): new method to access the thread returned by
6006 Sat Apr 26 00:47:43 2008 Tanaka Akira <akr@fsij.org>
6008 * process.c (rb_spawn_internal): new function to specify
6009 default_close_others.
6010 (rb_spawn): specify default_close_others true.
6011 (rb_f_system): call rb_spawn_internal with default_close_others as
6014 Sat Apr 26 12:26:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6016 * range.c (range_each): use INT2FIX() for fixnum values.
6018 Fri Apr 25 17:56:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6020 * gc.c (free_unused_heaps): preserve last used heap segment to
6021 reduce malloc() call.
6023 Fri Apr 25 17:54:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6025 * gc.c (HEAP_SIZE): use smaller heap segment (2K) for more chance
6026 to be freed. based on patch from authorNari <authornari at gmail.com>.
6028 * gc.c (rb_newobj_from_heap): eventually allocate heap segments.
6030 Fri Apr 25 15:35:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6032 * process.c (rb_spawn): rb_exec_initarg() returns new argc and argv in
6035 Fri Apr 25 12:37:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6037 * array.c (flatten): returns an instance of same class.
6040 Fri Apr 25 10:52:27 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6042 * include/ruby/win32.h: define mode_t for umask.
6044 * process.c (check_exec_options_i, check_exec_fds, run_exec_options):
6045 support "close_others" only when fork(2) is available.
6047 Fri Apr 25 00:16:11 2008 Tanaka Akira <akr@fsij.org>
6049 * process.c: include sys/stat.h for umask.
6051 Thu Apr 24 23:25:17 2008 Tanaka Akira <akr@fsij.org>
6053 * include/ruby/intern.h (rb_env_clear): declared.
6054 (rb_io_mode_modenum): declared.
6055 (rb_close_before_exec): declared.
6056 (struct rb_exec_arg): add options and redirect_fds field.
6057 (rb_check_argv): removed.
6058 (rb_exec_initarg): declared.
6059 (rb_exec_getargs): declared.
6060 (rb_exec_initarg2): declared.
6061 (rb_fork): add third argument: fds.
6063 * io.c (max_file_descriptor): new static variable to record maximum
6064 file descriptor ruby used.
6065 (UPDATE_MAXFD): new macro.
6066 (UPDATE_MAXFD_PIPE): new macro.
6067 (rb_io_mode_modenum): externed.
6068 (rb_sysopen): update max_file_descriptor.
6069 (rb_close_before_exec): new function.
6070 (popen_exec): redirection removed because it is done by extended
6072 (pipe_open): generate a hash for spawn options to specify
6074 (pipe_open_v): use rb_exec_getargs.
6075 (pipe_open_s): use rb_exec_getargs.
6076 (rb_io_initialize): update max_file_descriptor.
6078 * process.c (hide_obj): new function.
6079 (check_exec_redirect_fd): new function.
6080 (check_exec_redirect): new function.
6081 (check_exec_options_i): new function.
6082 (check_exec_fds): new function.
6083 (rb_check_exec_options): new function.
6084 (check_exec_env_i): new function.
6085 (rb_check_exec_env): new function.
6086 (rb_exec_getargs): new function.
6087 (rb_exec_initarg2): new function.
6088 (rb_exec_initarg): new function.
6089 (rb_f_exec): use rb_exec_initarg.
6090 (intcmp): new function.
6091 (run_exec_dup2): new function.
6092 (run_exec_close): new function.
6093 (run_exec_open): new function.
6094 (run_exec_pgroup): new function.
6095 (run_exec_rlimit): new function.
6096 (run_exec_options): new function.
6097 (rb_exec): call run_exec_options.
6098 (move_fds_to_avoid_crash): new function.
6099 (pipe_nocrash): new function.
6100 (rb_fork): use pipe_nocrash to avoid file descriptor conflicts.
6101 (rb_spawn): use rb_exec_initarg.
6102 (rlimit_resource_name2int): extracted from rlimit_resource_type.
6103 (rlimit_type_by_hname): new function.
6104 (rlimit_type_by_lname): new function.
6105 (rlimit_resource_type): use rlimit_type_by_hname.
6106 (proc_daemon): add fds argument for rb_fork.
6108 * hash.c (rb_env_clear): renamed from env_clear and externed.
6112 Thu Apr 24 23:00:58 2008 Yusuke Endoh <mame@tsg.ne.jp>
6114 * test/ruby/test_thread.rb: fix typos.
6116 * test/ruby/envutil.rb (rubyexec): move Open3.popen3 call into timeout
6119 Thu Apr 24 22:34:52 2008 Yusuke Endoh <mame@tsg.ne.jp>
6121 * test/ruby/test_comparable.rb: new tests for Comparable, to achieve
6122 100% test coverage of compar.c.
6124 Thu Apr 24 17:19:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6126 * ruby.c (process_options): set safe_level before loading script.
6129 Thu Apr 24 14:15:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6131 * dln.c (dln_find_1): prior files with extensions to files sans
6132 extensions. [ruby-core:16517]
6134 Thu Apr 24 00:26:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6136 * lib/rdoc/ri/descriptions.rb: fixed wrong class nestings.
6138 Thu Apr 24 00:20:01 2008 Yusuke Endoh <mame@tsg.ne.jp>
6140 * test/ruby/test_settracefunc.rb: add a test for set_trace_func.
6142 * test/ruby/envutil.rb: move "rubyexec" method from test_rubyoptions.rb.
6144 * test/ruby/test_rubyoptions.rb: use rubyexec in envutil.rb.
6146 * test/ruby/test_thread.rb: add tests to achieve over 90% test coverage
6149 Wed Apr 23 15:28:52 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
6151 * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed
6152 notice moved from comment to assertion message. [ruby-dev:29127]
6154 Wed Apr 23 11:49:54 2008 Akinori MUSHA <knu@iDaemons.org>
6156 * lib/set.rb (Set#each, SortedSet#each, TC_Set#test_each): Return
6157 an enumerator if no block is given.
6159 Wed Apr 23 00:36:03 2008 Yusuke Endoh <mame@tsg.ne.jp>
6161 * test/openssl/test_ssl.rb (start_server): add timeout to server.join.
6163 Wed Apr 23 00:18:45 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
6165 * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): Improve
6166 tests of Symbol#to_proc.
6168 Tue Apr 22 22:40:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6170 * lib/drb/drb.rb (DRb::DRbServer::check_insecure_method): should
6171 check method names by symbols, not by strings. a patch from
6172 Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34487].
6174 Tue Apr 22 22:15:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6176 * misc/ruby-style.el (ruby-style-{case,label}-indent): up list from
6179 Tue Apr 22 21:09:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
6181 * ext/nkf/nkf-utf8/nkf.c (score_table_A0, score_table_F0):
6182 type of content is unsigned char.
6184 * ext/nkf/nkf-utf8/nkf.c (push_broken_buf): 'c' is nkf_char.
6186 * ext/nkf/nkf-utf8/nkf.c (push_broken_buf): enc is 0 or pointer.
6188 * ext/nkf//nkf.c (options): type of option is unsigned char.
6190 Tue Apr 22 20:51:58 2008 NARUSE, Yui <naruse@ruby-lang.org>
6192 * ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char.
6194 Tue Apr 22 19:23:05 2008 Akinori MUSHA <knu@iDaemons.org>
6196 * enumerator.c (enumerator_initialize): Remove an undocumented
6197 feature (passing a block to the constructor) that's broken.
6198 This is not what I intended.
6200 Tue Apr 22 17:54:05 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
6202 * vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not
6205 Tue Apr 22 16:24:27 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
6207 * string.c (rb_enc_cr_str_buf_cat): do not use C++ comments.
6209 Tue Apr 22 16:23:53 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
6211 * configure.in: use AC_USE_SYSTEM_EXTENSIONS.
6213 Tue Apr 22 16:23:16 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
6215 * vm_evalbody.c (DECL_SC_REG): use __asm__ instead.
6217 Tue Apr 22 16:18:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6219 * vm_evalbody.c (DECL_SC_REG): typo fixed.
6221 Tue Apr 22 15:25:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6223 * configure.in (struct timespec): needs time.h according to POSIX.
6225 Tue Apr 22 13:19:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6227 * thread.c (rb_thread_stop_timer_thread): should clear
6228 timer_thread_id after stopping it.
6230 Tue Apr 22 13:12:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6232 * thread.c (thread_join): remove the current thread from the join list
6233 of the target thread.
6235 Tue Apr 22 12:03:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6237 * vm_insnhelper.c (vm_get_ev_const): search from the base klass if it
6240 Tue Apr 22 09:58:13 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6242 * ext/win32ole/win32ole.c: avoid warnings.
6244 Tue Apr 22 09:56:51 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6246 * file.c (eaccess): workaround for recent msvcrt's behavior.
6249 Mon Apr 21 19:08:32 2008 Tanaka Akira <akr@fsij.org>
6251 * io.c (copy_stream_body): call rb_io_check_readable and
6252 rb_io_check_writable.
6254 Mon Apr 21 17:45:27 2008 Akinori MUSHA <knu@iDaemons.org>
6256 * ext/dbm/dbm.c (fdbm_each_value, fdbm_each_key, fdbm_each_pair):
6257 GDBM#{each,each_pair,each_key,each_value}: Return an enumerator
6258 if no block is given.
6260 * ext/gdbm/gdbm.c (fgdbm_each_value, fgdbm_each_key,
6261 fgdbm_each_pair): GDBM#{each,each_pair,each_key,each_value}:
6262 Return an enumerator if no block is given.
6264 * ext/openssl/ossl_config.c (ossl_config_each):
6265 OpenSSL::Config#each: Return an enumerator if no block is given.
6267 * ext/readline/readline.c (hist_each): Readline::HISTORY#each:
6268 Return an enumerator if no block is given.
6270 * ext/sdbm/init.c (fsdbm_each_value, fsdbm_each_key,
6271 fsdbm_each_pair): SDBM#{each,each_pair,each_key,each_value}:
6272 Return an enumerator if no block is given.
6274 * ext/stringio/stringio.c (strio_each_byte, strio_each):
6275 StringIO#{each,each_line,each_byte}: Return an enumerator if no
6278 * ext/stringio/stringio.c (Init_stringio): Add #lines and #bytes,
6279 which are aliases to #each_line and #each_byte, respectively.
6281 * ext/win32ole/win32ole.c (fole_each): WIN32OLE#each: Return an
6282 enumerator if no block is given.
6284 * ext/zlib/zlib.c (rb_gzreader_each_byte, rb_gzreader_each):
6285 Zlib::GzipReader#{each,each_line,each_byte}: Return an
6286 enumerator if no block is given.
6288 * ext/zlib/zlib.c (Init_zlib): Add Zlib::GzipReader#lines and
6289 #bytes, which are aliases to #each_line and #each_byte,
6292 Mon Apr 21 17:01:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6294 * iseq.c (rb_iseq_compile_with_option): check if src is a string.
6297 Mon Apr 21 16:06:47 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6299 * enumerator.c (enumerator_init): preserve the method name in ID.
6301 * enumerator.c (enumerator_each): need not to call rb_to_id().
6303 * enumerator.c (enumerator_with_index): ditto.
6305 Mon Apr 21 11:00:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6307 * compile.c (defined_expr): capture exception during defined?
6308 evaluation. a patch from wanabe <s.wanabe at gmail.com> in
6309 [ruby-dev:34461]. [ruby-core:16010]
6311 Mon Apr 21 10:06:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6313 * time.c: should include <errno.h> to refer errno.
6315 Mon Apr 21 09:58:04 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6317 * time.c (rb_strftime): check errno to detect strftime(3)'s error.
6318 this is workaround for recent version of MSVCRT.
6321 Mon Apr 21 08:54:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6323 * gc.c (ruby_xmalloc): use size_t for malloc argument instead of long.
6325 Sun Apr 20 21:00:21 2008 Akinori MUSHA <knu@iDaemons.org>
6327 * enumerator.c, include/ruby/ruby.h: Export rb_cEnumerator.
6329 Sun Apr 20 20:47:50 2008 Akinori MUSHA <knu@iDaemons.org>
6331 * enumerator.c: Resolve the method every time an enumeration
6332 method is run, not once when the enumerator is initialized as it
6333 was before, so that method_missing() and method (re)definition
6334 afterwards are both in effect; pointed out in: [ruby-core:16441]
6336 Sun Apr 20 15:11:00 2008 Tanaka Akira <akr@fsij.org>
6338 * io.c (copy_stream_rbuf_to_dst): removed.
6339 (copy_stream_fallback_body): don't bypass write method.
6340 (copy_stream_body): simplified.
6342 Sun Apr 20 15:01:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6344 * vm_core.h (struct iseq_compile_data): moved label_no from
6347 * compile.c (iseq_set_exception_table): allocates catch_table only
6350 * compile.c (struct iseq_link_element, struct iseq_insn_data): made
6353 Sun Apr 20 14:44:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6355 * compile.c (iseq_compile_each): fix for splat in when and rescue.
6356 a patch from wanabe <s.wanabe AT gmail.com> in [ruby-dev:34429].
6359 Sun Apr 20 13:55:37 2008 Tanaka Akira <akr@fsij.org>
6361 * io.c (copy_stream_fallback): write directly (bypassing write method)
6364 Sun Apr 20 12:49:03 2008 Tanaka Akira <akr@fsij.org>
6366 * io.c (copy_stream_fallback): read directly (bypassing readpartial
6367 method) if possible.
6369 Sun Apr 20 04:45:13 2008 Tanaka Akira <akr@fsij.org>
6371 * io.c (copy_stream_body): use readpartial and write method for
6372 non-IOs such as StringIO and ARGF.
6374 Fri Apr 18 20:57:33 2008 Yusuke Endoh <mame@tsg.ne.jp>
6376 * test/ruby/test_array.rb: add tests to achieve over 95% test coverage
6379 Fri Apr 18 17:37:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6381 * gc.c (rb_gc_mark_locations): get rid of underflow.
6383 * gc.c (mark_current_machine_context): check if the main thread stack
6384 position may shrink under the initialized position. [ruby-core:16436]
6386 Thu Apr 17 22:20:52 2008 Yusuke Endoh <mame@tsg.ne.jp>
6388 * enc/trans/utf_16_32.c (fun_so_to_utf_16be, fun_so_to_utf_16le): add
6389 parentheses to remove warnings of gcc.
6391 * io.c (rb_io_getc): remove unused variables.
6393 * compile.c (NODE_NEXT, NODE_REDO): remove unused labels.
6395 * ext/nkf/nkf.c (rb_nkf_convert): remove unused variables.
6397 * ext/syck/rubyext.c (syck_resolver_initialize,
6398 syck_resolver_detect_implicit, syck_emitter_emit): remove unused
6401 Thu Apr 17 20:12:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
6403 * test/ruby/test_rubyoptions.rb (test_search): enable some assertions.
6405 * test/ruby/test_rubyoptions.rb: flunk message in win32.
6407 Thu Apr 17 16:07:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6409 * test/ruby/test_rubyoptions.rb (ruby): run in C locale.
6411 * test/ruby/test_rubyoptions.rb (test_encoding): --encoding does not
6414 Thu Apr 17 00:45:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
6416 * test/ruby/test_process.rb (test_rlimit_nofile): reset RLIMIT_NOFILE
6417 before exit (for gcov).
6419 * test/ruby/test_rubyoptions.rb: new tests for option of ruby
6420 interpreter, to achieve over 95% test coverage of ruby.c.
6422 Wed Apr 16 02:40:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6424 * ruby.c (process_options): preludes and parser need to run in safe
6425 level 0. [ruby-dev:34407]
6427 Wed Apr 16 02:26:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6429 * ruby.c (process_options): dln_find_file returns the pointer to a
6430 static buffer, so should copy it. [ruby-dev:34409]
6432 Tue Apr 15 23:08:46 2008 Kouhei Sutou <kou@cozmixng.org>
6434 * lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]
6436 * test/xmlrpc/test_cookie.rb: add a test for the above fix.
6438 Tue Apr 15 19:20:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6440 * io.c: #undef rb_argv moved before #define.
6442 Tue Apr 15 18:02:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6444 * include/ruby/intern.h (rb_argv): replaced with rb_get_argv().
6447 Tue Apr 15 17:10:59 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
6449 * lib/net/http.rb, lib/net/smtp.rb, lib/net/pop.rb: update
6450 URLs of Japanese documents.
6452 Tue Apr 15 16:45:14 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
6454 * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): add tests.
6456 Tue Apr 15 15:38:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6458 * misc/ruby-mode.el (ruby-encoding-map): added shift-jis for older
6461 * misc/ruby-mode.el (ruby-mode-set-encoding):
6462 coding-system-to-mime-charset is not a standard function.
6464 fix for the case that magic comment exists but coding system is
6467 * misc/ruby-mode.el (ruby-mode): use write-contents-functions or
6468 write-contents-hooks for older versions.
6470 Tue Apr 15 07:21:21 2008 Tadayoshi Funaba <tadf@dotrb.org>
6472 * complex.c (nucomp_div): [ruby-dev:34357]
6474 * complex.c (nucomp_abs): use hypot.
6476 * complex.c (nucomp_quo): do not force conversion.
6478 * test/ruby/test_complex.rb: omitted some meaningless tests.
6480 Mon Apr 14 23:25:50 2008 Yusuke Endoh <mame@tsg.ne.jp>
6482 * test/ruby/test_objectspace.rb: add a test for
6483 ObjectSpace.count_objects.
6485 Mon Apr 14 22:44:24 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6487 * file.c (SET_EXTERNAL_ENCODING): avoid call rb_enc_check() on
6488 half-baked result string.
6490 * re.c (rb_reg_search): make search reentrant. [ruby-dev:34223]
6492 * test/ruby/test_parse.rb (TestParse::test_global_variable):
6493 should preserve $& variable.
6495 Mon Apr 14 17:23:27 2008 Akinori MUSHA <knu@iDaemons.org>
6497 * hash.c (rb_hash_delete_if, rb_hash_reject_bang, env_delete_if,
6498 env_reject_bang): Return an enumerator if no block is given.
6500 Mon Apr 14 14:33:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6502 * compile.c, compile.h (compile_debug): made runtime option.
6504 * debug.c (ruby_debug_print_indent): returns if debug_level exceeds
6507 * debug.c (ruby_debug_printf): printf to stderr.
6509 * iseq.c (make_compile_option, make_compile_option_value): added
6512 * vm_core.h (rb_compile_option_t): added debug_level.
6514 * vm_core.h (struct iseq_compile_data): added node_level.
6516 Mon Apr 14 12:52:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6518 * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350]
6520 * gc.c (rb_objspace_t): packed globals. [ruby-dev:34348]
6522 * gc.c (finalizers): removed. [ruby-dev:34349]
6524 Mon Apr 14 11:30:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6526 * array.c (ary_new): new integer overflow check condition.
6527 suggested by TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in
6530 * array.c (rb_ary_initialize): ditto.
6532 Mon Apr 14 00:51:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
6534 * test/ruby/test_parse.rb: add tests to achieve over 95% test coverage
6537 Sun Apr 13 23:53:58 2008 Akinori MUSHA <knu@iDaemons.org>
6539 * enum.c (enum_cycle): Make Enumerable#cycle do a finite loop when
6540 the number of cycles is specified.
6542 * array.c (rb_ary_cycle): Ditto for Array#cycle.
6544 Sun Apr 13 18:52:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6546 * thread_pthread.c (lock_func): should not check interrupts in
6547 blocking region. [ruby-dev:34378]
6549 Sat Apr 12 12:41:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6551 * eval.c (ruby_exec_node, ruby_run_node), ruby.c (process_options):
6552 use iseq instead of NODE.
6554 * gc.c (source_filenames): removed.
6556 * include/ruby/intern.h, parse.y (yycompile, parser_mark, parser_free,
6557 ripper_initialize): rb_source_filename() is no longer used.
6559 * compile.c, compile.h (ERROR_ARGS), parse.y (node_newnode, fixpos,
6560 parser_warn, e_option_supplied, warn_unless_e_option, range_op,
6561 cond0): nd_file is no longer used.
6563 Sat Apr 12 12:17:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6565 * prelude.rb (require_relative): move require_relative from
6566 lib/require_relative.rb. [ruby-core:16356]
6568 * lib/require_relative.rb: removed.
6570 Sat Apr 12 05:55:57 2008 Eric Hodel <drbrain@segment7.net>
6572 * lib/rubygems*, test/rubygems*: Update to RubyGems 1.1.1 r1701.
6574 Sat Apr 12 03:13:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6576 * file.c (file_expand_path): set external encoding.
6578 * file.c (rb_file_s_basename, rb_file_s_dirname, rb_file_s_extname):
6581 Fri Apr 11 17:35:06 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6583 * enum.c (count_i): modified to shut warning up.
6585 Fri Apr 11 17:25:09 2008 Akinori MUSHA <knu@iDaemons.org>
6587 * enum.c (count_i, count_iter_i, enum_count, enum_find_index):
6590 Fri Apr 11 17:06:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6592 * enum.c (find_index_i): modified to shut warning up.
6594 * enum.c (find_index_iter_i): ditto.
6596 Fri Apr 11 16:44:43 2008 Akinori MUSHA <knu@iDaemons.org>
6598 * enum.c (enum_find_index): Add support for find_index(obj);
6601 * array.c (rb_ary_index): Define find_index as an alias to index.
6603 Fri Apr 11 16:42:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6605 * lib/yaml/store.rb (YAML::load): modified to support empty
6608 Fri Apr 11 08:05:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6610 * marshal.c (w_object): add volatile to avoid potential GC bug. a
6611 patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp>
6612 in [ruby-dev:34311].
6614 Thu Apr 10 23:08:52 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6616 * lib/pstore.rb (PStore::dump, PStore::load): allow subclass
6617 overriding. [ruby-dev:34305]
6619 * lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?):
6620 add a method to support faster PStore.
6622 Thu Apr 10 20:36:45 2008 Akinori MUSHA <knu@iDaemons.org>
6624 * misc/rdebug.el, misc/README: Remove rdebug.el as per request
6625 from the maintainer and mention the ruby-debug project at
6626 RubyForge in README; bug#19043.
6628 Thu Apr 10 19:41:00 2008 Akinori MUSHA <knu@iDaemons.org>
6630 * eval.c (rb_f_loop): Mention StopIteration in the document.
6632 Thu Apr 10 19:23:55 2008 Akinori MUSHA <knu@iDaemons.org>
6634 * array.c (rb_ary_pop_m, rb_ary_shift_m): Update documents for
6635 #pop() and #shift().
6637 * array.c (rb_ary_slice_bang): Update document. Assigning
6638 array[*args]= nil no longer removes elements.
6640 Thu Apr 10 16:58:44 2008 Tanaka Akira <akr@fsij.org>
6642 * marshal.c (w_object): TYPE_USERDEF assigns id for ivars first.
6643 [ruby-dev:34159] by nagachika.
6645 Thu Apr 10 15:03:47 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6647 * lib/generator.rb: removed obsolete library. [ruby-core:16233]
6649 * test/test_generator.rb: removed as well. [ruby-dev:34306]
6651 * lib/pstore.rb: replaced by Hongli Lai's faster version.
6653 Thu Apr 10 10:27:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6655 * thread_pthread.c (native_sleep): sleep_cond is initialized at
6656 creation. [ruby-Patches-19361].
6658 Wed Apr 9 14:43:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6660 * thread.c (lock_func): optimized and checks for interrupt_flag.
6661 based on a patch from Sylvain Joyeux in [ruby-Patches-19361] and
6662 [ruby-Patches-19362].
6664 Wed Apr 9 12:12:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6666 * test/ruby/test_thread.rb: new tests from Sylvain Joyeux in
6667 [ruby-Patches-19361].
6669 Tue Apr 8 21:36:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6671 * thread.c (rb_mutex_sleep): ensures to re-acquire at waking up.
6672 [ruby-Patches-19361]
6674 Tue Apr 8 11:00:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6676 * lib/complex.rb: remove Math first before overwriting by CMath.
6678 Tue Apr 8 10:34:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6680 * load.c (rb_require_safe): should check fname path after $SAFE is
6681 properly set. [ruby-dev:34268]
6683 * re.c (rb_reg_quote): should always copy the quoting string.
6686 Tue Apr 8 10:30:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6688 * common.mk (prelude.c): depends on enc/prelude.rb.
6690 * enc/prelude.rb: fixed initial library names.
6692 Tue Apr 8 03:39:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6694 * load.c (rb_provided): check expanded path for relative path
6695 features, loading or loaded features are already expanded in 1.9.
6697 * variable.c (rb_autoload_load): no needs to check if provided before
6698 rb_require_safe. [ruby-dev:34266]
6700 Mon Apr 7 22:41:21 2008 Tadayoshi Funaba <tadf@dotrb.org>
6702 * numeric.c: cancelled recent changes (except to remove rdiv).
6706 * bignum.c: added rb_big_idiv.
6708 Mon Apr 7 15:51:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6710 * encoding.c (enc_init_db): moved to enc/encdb.c.
6712 * transcode.c (init_transcoder_table): moved to enc/trans/transdb.c.
6714 * enc/depend (enc/encdb.o enc/trans/transdb.o): depend on
6715 corresponding headers.
6717 * common.mk (COMMONOBJS): moved transcode.o from OBJS
6719 Mon Apr 7 12:26:32 2008 Koichi Sasada <ko1@atdot.net>
6721 * bootstraptest/test_knownbug.rb: add a known-bug.
6723 Mon Apr 7 12:15:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6725 * range.c (range_each_func): should not leave a variable
6726 uninitialized, which could cause SEGV.
6728 * range.c (range_step): removed duplicated and unreachable code.
6730 Mon Apr 7 02:12:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6732 * string.c (rb_str_intern): need not to check if tainted.
6735 Sun Apr 6 09:45:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6737 * dir.c (dir_tell): check if closed. [ruby-core:16223]
6739 Sat Apr 5 23:17:20 2008 Tadayoshi Funaba <tadf@dotrb.org>
6741 * lib/cmath.rb: new.
6743 * lib/complex.rb: depends lib/cmath.rb.
6745 * lib/rational.rb: added rdiv.
6747 * complex.c: removed some math functions.
6749 Sat Apr 5 05:50:57 2008 Eric Hodel <drbrain@segment7.net>
6751 * lib/rdoc/parsers/parse_rb.rb: Fix uninitialized variable warnings.
6753 * lib/rdoc/generator/html.rb: ditto.
6755 * lib/rdoc/options.rb: Fix shadowed variable warning.
6757 * lib/webrick/httprequest.rb: Fix redefined method warning.
6759 Sat Apr 5 02:13:52 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6761 * bignum.c (rb_cmpint): moved from compar.c, to check bignum
6764 Fri Apr 4 23:24:06 2008 NARUSE, Yui <naruse@ruby-lang.org>
6766 * re.c (rb_memsearch_qs): wrong boundary condition.
6768 * re.c (rb_memsearch_qs_utf8): ditto.
6770 Fri Apr 4 14:11:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6772 * re.c (rb_memsearch_qs): wrong boundary condition. a patch from
6773 wanabe <s.wanabe AT gmail.com> in [ruby-dev:34248].
6775 Fri Apr 4 05:57:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6777 * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and
6778 @n_bytes as well. [ruby-core:16144]
6780 Fri Apr 4 01:59:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6782 * range.c (range_step): add step for each iteration if begin and
6783 end are numeric. [ruby-core:15990]
6785 Fri Apr 4 00:42:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6787 * bignum.c (Init_Bignum): rdiv method removed. [ruby-dev:34242]
6789 * complex.c (nucomp_quo): ditto.
6791 * numeric.c (num_rdiv): ditto.
6793 * rational.c (nurat_div): ditto.
6795 * complex.c (nucomp_fdiv): fdiv implementation restored.
6797 * numeric.c (num_quo): RDoc updated.
6799 Thu Apr 3 21:51:45 2008 Tadayoshi Funaba <tadf@dotrb.org>
6801 * complex.c (nucomp_int_check): function for DRY real check.
6803 * complex.c (nucomp_{add,sub,mul,div,expt}): use rb_num_coerce_bin().
6805 Thu Apr 3 19:59:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6807 * insns.def (defineclass): check if cbase is a class or a module.
6810 Thu Apr 3 14:42:11 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6812 * common.mk (INSNS): add insns_info.inc.
6814 * common.mk (INSNS): make incs separately for nmake.
6816 Thu Apr 3 13:20:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6818 * common.mk (endb.h, transdb.h, prelude.c): depend on $(PREP) and
6819 check if really changed. [ruby-core:16102]
6821 * Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.sub
6822 (MINIOBJS, ARCHMINIOBJS): separated.
6824 Thu Apr 3 09:00:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6826 * compile.c (iseq_set_sequence, iseq_insns_unification,
6827 insn_data_to_s_detail): constified.
6829 * iseq.c (insn_operand_intern, ruby_iseq_disasm_insn): ditto.
6831 * template/{insns_info,opt_sc,optunifs}.inc.tmpl: ditto.
6833 * tool/instruction.rb (OptUnifsIncGenerator): ditto.
6835 Thu Apr 3 08:46:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6837 * range.c (range_include): add RDoc to describe that comparison
6838 for numeric is done according magnitude of values.
6841 Wed Apr 2 22:29:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6843 * rational.c (nurat_int_check): function for DRY integer check.
6845 * numeric.c (num_rdiv): should always return rational number.
6847 * rational.c (nurat_add, nurat_sub, nurat_mul, nurat_fdiv,
6848 nurat_cmp): use rb_num_coerce_bin().
6850 * rational.c (nurat_division): does / and rdiv.
6852 * .gdbinit (rp): no longer use rb_p().
6854 Wed Apr 2 06:52:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6856 * .gdbinit (rp): supports rational and complex numbers. it's
6857 cheating since it uses rb_p().
6859 Wed Apr 2 06:24:06 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6861 * include/ruby/node.h: add new constants for rb_call()'s scope.
6863 * eval.c (iterate_method): use CALL_* scope constant to specify
6866 * eval.c (rb_each, rb_apply, rb_funcall, rb_funcall2, rb_funcall3):
6869 Tue Apr 1 21:19:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6871 * rational.c: need to include <float.h> just once.
6873 Tue Apr 1 16:40:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6875 * bignum.c (big2dbl): more precise conversion at edge cases.
6878 Tue Apr 1 14:43:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6880 * configure.in: get rid of empty expansion.
6882 * configure.in: _setjmp is available but _longjmp is not on mingw.
6884 Tue Apr 1 09:41:22 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6886 * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
6888 Tue Apr 1 07:31:58 2008 Eric Hodel <drbrain@segment7.net>
6890 * lib/rubygems* test/rubygems*: Import RubyGems 1.1.0.
6892 Tue Apr 1 03:20:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6894 * configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers
6895 _setjmp over setjmp and sigsetjmp. [ruby-core:16023]
6896 __builtin_setjmp cannot handle a variable.
6898 * configure.in (--with-setjmp-type): new option to override the
6899 default rule in the above.
6901 * eval_intern.h (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp),
6902 vm_core.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and
6905 Tue Apr 1 01:55:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6907 * lib/resolv.rb (Resolv::Config.default_config_hash): requires
6908 win32/resolv to use Win32::Resolv. [ruby-dev:34138]
6910 Tue Apr 1 01:40:58 2008 Tadayoshi Funaba <tadf@dotrb.org>
6912 * complex.c: adopted the ruby's style.
6914 * rational.c: ditto.
6916 Tue Apr 1 00:17:35 2008 Tadayoshi Funaba <tadf@dotrb.org>
6918 * rational.c: revert.
6920 Mon Mar 31 18:57:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6922 * {bcc,win}32/Makefile.sub (config.h): define ssize_t.
6924 * io.c (copy_stream_body): some platform don't have O_NOCTTY.
6926 Mon Mar 31 18:42:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6928 * configure.in: check for ssize_t. [ruby-dev:34184]
6930 Mon Mar 31 14:45:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6932 * numeric.c (num_quo): should convert its operand to Rational.
6934 * rational.c (string_to_r_strict): should raise TypeError.
6936 * bignum.c (Init_Bignum): should not redefine Bignum#div.
6937 Numeric#div will do. [ruby-dev:34066]
6939 Mon Mar 31 04:05:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
6941 * io.c (io_getc): set coderange while getting characters.
6943 Sun Mar 30 23:16:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6945 * proc.c (proc_dup): should copy is_lambda attribute as well.
6948 Sun Mar 30 15:33:29 2008 Tanaka Akira <akr@fsij.org>
6950 * io.c: IO.copy_stream implemented. [ruby-dev:33843]
6952 * thread.c (rb_fd_select): new function.
6954 * configure.in (sys/sendfile.h): check the header file.
6955 (sendfile): check the function.
6956 (pread): check the function.
6958 Sat Mar 29 14:18:41 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
6960 * ext/tk/*: full update Ruby/Tk to support Ruby(1.9|1.8) and Tc/Tk8.5.
6962 * ext/tk/lib/tkextlib/tile.rb: [incompatible] remove TileWidgets'
6963 instate/state/identify method to avoid the conflict with standard
6964 widget options. Those methods are renamed to ttk_instate/ttk_state/
6965 ttk_identify (tile_instate/tile_state/tile_identify are available
6966 too). Although I don't recommend, if you really need old methods,
6967 please define "Tk::USE_OBSOLETE_TILE_STATE_METHOD = true" before
6968 "require 'tkextlib/tile'".
6970 * ext/tk/lib/tkextlib/tile.rb: "Tk::Tile::__Import_Tile_Widgets__!"
6971 is obsolete. It outputs warning. To control default widget set,
6972 use "Tk.default_widget_set = :Ttk".
6974 * ext/tk/lib/tk.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__ method and
6975 __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method are defined
6976 as module methods of TkConfigMethod. It may help users to wrap old
6977 Ruby/Tk scripts (use standard widgets) to force to use Ttk widgets.
6978 Ttk widgets don't have some options of standard widgets which are
6979 control the view of widgets. When set ignore-mode true, configure
6980 method tries to ignore such unknown options with no exception.
6981 Of course, it may raise other troubles on the GUI design.
6982 So, those are a little danger methods.
6984 * ext/tk/lib/tk/itemconfig.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__
6985 method and __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method
6986 are defined as module methods of TkItemConfigMethod as the same
6987 purpose as TkConfigMethod's ones.
6989 * ext/tk/sample/ttk_wrapper.rb: A new example. This is a tool for
6990 wrapping old Ruby/Tk scripts (which use standard widgets) to use
6991 Ttk (Tile) widgets as default.
6993 * ext/tk/sample/tkextlib/tile/demo.rb: use ttk_instate/ttk_state
6994 method instead of instate/state method.
6996 * ext/tk/lib/tk/root, ext/tk/lib/tk/namespace.rb,
6997 ext/tk/lib/tk/text.rb, ext/tk/lib/tkextlib/*: some 'instance_eval's
6998 are replaced to "instance_exec(self)".
7000 * ext/tk/lib/tk/event.rb: bug fix on KEY_TBL and PROC_TBL (?x is not
7001 a character code on Ruby1.9).
7003 * ext/tk/lib/tk/variable.rb: support new style of operation argument
7004 on Tcl/Tk's 'trace' command for variables.
7006 * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget: bug fix
7008 * ext/tk/sample/demos-jp/textpeer.rb,
7009 ext/tk/sample/demos-en/textpeer.rb: new widget demo.
7011 * ext/tk/tcltklib.c: decrease SEGV troubles (probably)
7013 * ext/tk/lib/tk.rb: remove Thread.critical access if Ruby1.9
7015 * ext/tk/lib/tk/multi-tk.rb: support Ruby1.9 (probably)
7017 * ext/tk/lib/tkextlib/tile.rb: add method to define Tcl/Tk command
7018 to make Tcl/Tk theme sources (based on different version of Tile
7019 extension) available.
7020 (Tk::Tile::__define_LoadImages_proc_for_compatibility__)
7022 * ext/tk/lib/tk.rb, ext/tk/lib/tk/wm.rb: support dockable frames
7023 (Tcl/Tk8.5 feature). 'wm' command can treat many kinds of widgets
7024 as toplevel widgets.
7026 * ext/tk/lib/tkextlib/tile/style.rb: ditto.
7027 (Tk::Tile::Style.__define_wrapper_proc_for_compatibility__)
7029 * ext/tk/lib/tk/font.rb: add actual_hash and metrics_hash to get
7030 properties as a hash. metrics_hash method returns a boolean value
7031 for 'fixed' option. But metrics method returns numeric value
7032 (0 or 1) for 'fixed' option, because of backward compatibility.
7034 * ext/tk/lib/tk/timer.rb: sometimes fail to set callback procedure.
7036 * ext/tk/lib/tk.rb: add Tk.sleep and Tk.wakeup method. Tk.sleep
7037 doesn't block the eventloop. It will be better to use the method
7040 * ext/tk/sample/tksleep_sample.rb: sample script about Tk.sleep.
7042 Thu Mar 27 20:44:22 2008 Tadayoshi Funaba <tadf@dotrb.org>
7044 * complex.c (f_lcm): removed.
7046 * rational.c (rb_lcm, rb_gcdlcm): added.
7048 * lib/complex.rb (gcd, lcm, gcdlcm): removed.
7050 * lib/rational.rb (gcd, lcm, gcdlcm): ditto.
7052 Wed Mar 26 18:11:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7054 * variable.c (rb_mod_constants): rdoc updated. a patch from
7055 Florian Gilcher <flo AT andersground.net> in [ruby-core:16009].
7057 Wed Mar 26 00:55:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
7059 * test/ruby/test_rand.rb: add tests to achieve over 95% test coverage
7062 Wed Mar 26 00:28:55 2008 Yusuke Endoh <mame@tsg.ne.jp>
7064 * test/ruby/test_rational.rb: add tests to achieve over 90% test
7065 coverage of rational.c.
7067 * test/ruby/test_complex.rb: ditto for complex.c.
7069 Tue Mar 25 19:34:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
7071 * bootstraptest/test_knownbug.rb: add tests. [ruby-dev:34128]
7073 Tue Mar 25 19:09:04 2008 Yusuke Endoh <mame@tsg.ne.jp>
7075 * array.c (ary_new): fix size check. [ruby-dev:34123]
7077 * array.c (rb_ary_take, rb_ary_drop): check negative size and use
7078 NUM2LONG instead of FIX2LONG. [ruby-dev:34123]
7080 * enum.c (enum_take, enum_drop): check negative size.
7082 * test/ruby/test_array.rb: add tests for above.
7084 Tue Mar 25 16:32:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7086 * ruby.c (proc_options): checks if the word is empty.
7088 * ruby.c (process_options): typo fixed. [ruby-dev:34122]
7090 Tue Mar 25 15:26:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7092 * compile.c (defined_expr): false short-circuit destination label may
7093 be needed. [ruby-talk:295296]
7095 * compile.c (iseq_compile_each): put nil if false short-circuit is
7098 * compile.c (compile_massign_opt): no need to use alloca.
7100 Mon Mar 24 19:23:52 2008 Akinori MUSHA <knu@iDaemons.org>
7102 * parse.y (debug_lines): Always prepare a new array for each
7103 file's SCRIPT_LINES__ storage, instead of appending source lines
7104 every time a file is re-loaded; submitted by Rocky Bernstein in
7107 Mon Mar 24 10:25:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7109 * configure.in: sitearch should use target_cpu. [ruby-core:15986]
7111 Sun Mar 23 02:51:57 2008 Tanaka Akira <akr@fsij.org>
7113 * process.c (rlimit_resource_value): use NUM2RLIM.
7115 Sun Mar 23 02:28:01 2008 Tadayoshi Funaba <tadf@dotrb.org>
7117 * complex.c: fixed. [ruby-dev:34109]
7119 * rational.c: ditto.
7121 Fri Mar 21 21:32:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7123 * io.c (rb_f_gets, rb_f_readline, rb_f_readlines): delegates to ARGF
7124 as well as puts and putc. [ruby-dev:34100]
7126 Fri Mar 21 21:26:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7128 * lib/resolv.rb (Resolv::Hosts): should not use win32/resolv on cygwin.
7129 [ruby-dev:29945], [ruby-dev:34095]
7131 * lib/win32/registry.rb (Win32::Registry.expand_environ): try upcased
7132 name too for cygwin. [ruby-dev:29945]
7134 * lib/win32/resolv.rb (Win32::Resolv.get_hosts_path): use expand_path.
7136 Fri Mar 21 21:10:00 2008 Akinori MUSHA <knu@iDaemons.org>
7138 * lib/ipaddr.rb: Say that I am the current maintainer.
7140 * lib/set.rb: Ditto.
7142 * lib/shellwords.rb: Ditto.
7144 * ext/syslog/syslog.txt: Ditto.
7146 Fri Mar 21 09:24:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7148 * instruby.rb (open_for_install): write block result and rewrite only
7149 if changed from existing file.
7151 Fri Mar 21 08:29:33 2008 Tadayoshi Funaba <tadf@dotrb.org>
7153 * rational.c (nurat_to_f): rearrangement.
7155 Fri Mar 21 06:44:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7157 * rational.c (nurat_to_f): C99.
7159 Fri Mar 21 01:40:27 2008 Yusuke Endoh <mame@tsg.ne.jp>
7161 * complex.c (nucomp_sub, nucomp_expt): call corresponding functions.
7163 Fri Mar 21 01:21:43 2008 Yusuke Endoh <mame@tsg.ne.jp>
7165 * missing/tgamma.c: include config.h before math.h. [ruby-dev:34075]
7167 Thu Mar 20 21:46:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7169 * io.c (argf_getline): use receiver.
7171 Thu Mar 20 21:20:19 2008 Tadayoshi Funaba <tadf@dotrb.org>
7173 * rational.c: some improvements (include Shin-ichiro HARA's
7176 * complex.c: some improvements.
7178 * test/ruby/test_rational2.rb: new.
7180 Thu Mar 20 00:21:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7182 * io.c (argf_initialize_copy): get rid of segfault.
7184 * io.c (argf_tell, argf_seek_m, argf_set_pos, argf_rewind,
7185 argf_fileno, argf_to_io, argf_eofl, argf_getc, argf_getbyte,
7186 argf_readchar, argf_readbyte, argf_each_line): use receiver.
7188 Wed Mar 19 23:52:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7190 * io.c (rb_io_putc, rb_io_puts): output directly if the receiver is
7191 rb_stdout to get rid of infinite recursion. [ruby-dev:34059]
7193 Wed Mar 19 22:27:41 2008 Tadayoshi Funaba <tadf@dotrb.org>
7195 * rational.c: added rb_gcd.
7197 * complex.c: use rb_gcd.
7199 Wed Mar 19 18:37:00 2008 Tadayoshi Funaba <tadf@dotrb.org>
7201 * complex.c: revert.
7203 * rational.c: revert.
7205 Wed Mar 19 17:31:20 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7207 * eval_intern.h (TH_EXEC_TAG): need not to FLUSH_REGISTER_WINDOWS.
7208 [ruby-core:15871], [ruby-dev:34088]
7210 Wed Mar 19 14:53:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7212 * complex.c (nucomp_to_s, nucomp_inspect): get rid of making
7213 unnecessary intermediate objects.
7215 * complex.c (make_patterns, string_to_c): do not treat successive
7216 underscores as a part of numeric like as literals. [ruby-dev:34085]
7218 * rational.c (make_patterns, string_to_r): ditto.
7220 Wed Mar 19 14:36:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7222 * bignum.c (rb_cstr_to_inum): treat successive underscores as
7223 nondigit. [ruby-dev:34089]
7225 Wed Mar 19 14:08:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7227 * encoding.c (enc_check_encoding): should not load autoloaded encoding
7228 directly, instead use rb_enc_find_index() which deal with alias and
7229 replica. [ruby-core:15957]
7231 Wed Mar 19 11:49:47 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7233 * regint.h (include): include ruby.h instead of defines.h and config.h.
7235 Wed Mar 19 10:17:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7237 * regint.h (CHECK_INTERRUPT_IN_MATCH_AT): add interrupt check
7238 during match. [ruby-talk:295002]
7240 Tue Mar 18 16:24:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7242 * parse.y (literal_concat_gen): bail out at different encoding.
7244 Tue Mar 18 04:00:27 2008 NARUSE, Yui <naruse@ruby-lang.org>
7246 * re.c (rb_memsearch_ss): simple shift search.
7248 * re.c (rb_memsearch_qs): quick search.
7250 * re.c (rb_memsearch_qs_utf8): quick search for UTF-8 string.
7252 * re.c (rb_memsearch_qs_utf8_hash): hash functions for above.
7254 * re.c (rb_memsearch): use above functions.
7256 * string.c (rb_str_index): give enc to rb_memsearch.
7258 * include/ruby/intern.h (rb_memsearch): move to encoding.h.
7260 * include/ruby/encoding.h (rb_memsearch): move from intern.h.
7262 * common.mk (PREP): add dependency.
7264 Mon Mar 17 22:23:54 2008 Yusuke Endoh <mame@tsg.ne.jp>
7266 * array.c (rb_ary_take, rb_ary_take_while, rb_ary_drop,
7267 rb_ary_drop_while): new methods. [ruby-dev:34067]
7269 * test/ruby/test_array.rb: add tests for above.
7271 Mon Mar 17 17:11:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7273 * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
7274 of calling `run-hooks' directly to run the mode hook. patch from
7275 Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
7277 Mon Mar 17 16:41:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7279 * configure.in: unset GREP_OPTIONS. [ruby-core:15918]
7281 Sun Mar 16 18:07:07 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
7283 * enc/trans/utf_16_32.c: bug fix (some invalid UTF-8 sequences
7286 * test/ruby/test_transcode.rb: test for above bug
7288 Sun Mar 16 17:28:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
7290 * common.mk (LIBRUBY_SO): add dependency to $(BUILTIN_ENCOBJS).
7292 Sun Mar 16 08:51:41 2008 Tadayoshi Funaba <tadf@dotrb.org>
7294 * include/ruby/intern.h: added some declarations.
7296 * include/ruby/ruby.h: ditto.
7298 * common.mk: added some entries.
7300 * configure.in: added a check for signbit.
7302 * lib/complex.rb: nearly all of core definitions have been removed.
7304 * lib/rational.rb: ditto.
7306 * lib/mathn.rb: some trivial adjustments.
7310 * rational.c: ditto.
7312 * numeric.c (flo_{quo,rdiv}, fix_fdiv): added.
7314 * numeric.c ({num,int}_{numerator,denominator}): ditto.
7316 * bignum.c (rb_big_fdiv): ditto.
7318 * numeric.c (fix_{quo,pow}): now may yield rational number.
7320 * bignum.c (rb_big_{quo,pow}): ditto.
7322 * numeric.c (rb_{int,flo}_induced_from): now can accept rational.
7324 * gc.c (gc_mark_children, obj_free): now detects complex and rational.
7326 * inits.c (rb_call_inits): now calls Init_{Complex,Rational}.
7328 * test/ruby/test_complex.rb: new.
7330 * test/ruby/test_rational.rb: ditto.
7332 Sat Mar 15 17:48:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7334 * encoding.c (rb_enc_associate_index): pass unnecessary enc_capable().
7336 * string.c (rb_str_cmp): reduce invocation of rb_enc_compatible().
7338 Fri Mar 14 17:04:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7340 * include/ruby/ruby.h (inttypes.h): includes always if available.
7342 * string.c, ext/digest/defs.h: moved inttypes.h to ruby.h.
7344 Fri Mar 14 16:59:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7346 * configure.in (RUBY_LIB_PREFIX): fix for prefix.
7348 Fri Mar 14 16:35:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7350 * lib/cgi.rb (CGI::Cookie::initialize): performance patch from
7351 Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048].
7353 Fri Mar 14 15:49:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7355 * configure.in (RUBY_LIB_PREFIX): use libdir.
7357 Fri Mar 14 14:24:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7359 * ext/digest/defs.h: inttypes.h is still needed.
7361 Fri Mar 14 11:34:12 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7363 * {bcc,win}32/Makefile.sub: follow below changes.
7365 Fri Mar 14 11:24:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7367 * misc/ruby-mode.el (ruby-encoding-map, ruby-use-encoding-map): added
7370 Fri Mar 14 10:37:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
7372 * configure.in (int8_t, uint8_t, int16_t, uint16_t int32_t,
7373 uint32_t int64_t, uint64_t, int128_t, uint128_t,
7374 intptr_t, uintptr_t): check if defined.
7376 * win32/Makefile.sub: follow configure.in.
7378 * ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t.
7380 Fri Mar 14 10:12:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7382 * configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor
7385 Fri Mar 14 10:03:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7387 * string.c (UNALIGNED_WORD_ACCESS): IA64 cannot access unaligned word.
7389 Thu Mar 13 21:00:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7391 * array.c (rb_ary_slice_bang): should not use rb_ary_subseq()
7392 which shares internal pointer. splice modifies the receiver
7393 right after subseq. [ruby-dev:34005]
7395 * bootstraptest/test_struct.rb: some test moved from test to shut
7398 Thu Mar 13 19:42:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7400 * {bcc,win}32/Makefile.sub (config.h): define uint32_t.
7402 Thu Mar 13 14:14:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7404 * trunk/configure.in (AC_CHECK_HEADERS): stdint.h is not needed to
7407 * trunk/configure.in (rb_cv_type_uint32_t): unquoted. [ruby-dev:34030]
7409 * trunk/string.c (hash): use inttypes.h instead of stdint.h.
7411 Thu Mar 13 10:42:46 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7413 * numeric.c (fix_divmod): should return integer division. [ruby-dev:34006]
7415 * enum.c (zip_ary): wrong boundary condition.
7417 * test/ruby/test_numeric.rb (TestNumeric::test_num2long): bit-and
7418 should not raise RangeError.
7420 Thu Mar 13 03:12:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7422 * lib/irb/cmd/help.rb: should be updated for new ri structure.
7425 * lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional.
7427 * lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be
7430 * lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for
7431 method. maybe broken.
7433 * lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError
7436 Thu Mar 13 01:45:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7438 * configure.in (stdint.h): check if presence.
7440 * configure.in (uint32_t): check if defined.
7442 * string.c (hash): fix for portability. [ruby-dev:34020]
7444 Wed Mar 12 17:33:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7446 * object.c (rb_cstr_to_dbl): fix for a mere underscore.
7448 Wed Mar 12 14:47:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7450 * eval_intern.h (rb_thread_raised_set): use generic flags.
7452 * eval.c (rb_longjmp): clear all raised flags.
7454 * eval.c (stack_check): leave clearing flag to rb_longjmp.
7456 * gc.c (rb_memerror): use thread raised flag instead of static flag.
7458 Tue Mar 11 23:38:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7460 * array.c (rb_ary_combination): argument check before creating
7463 * array.c (rb_ary_permutation): ditto.
7465 * enum.c (enum_zip): optimize if all arguments are arrays.
7467 Tue Mar 11 19:48:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7469 * numeric.c (fix_coerce): try conversion before type check.
7472 Tue Mar 11 12:39:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7474 * common.mk (clean-local): WINMAINOBJ is Windows specific.
7476 Tue Mar 11 10:19:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7478 * string.c (hash): replaced by MurmurHash described in
7479 <http://murmurhash.googlepages.com/>.
7481 Tue Mar 11 09:52:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7483 * string.c (rb_str_comparable): empty strings in any encoding are
7484 compatible each other.
7486 Tue Mar 11 00:46:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7488 * ruby.c (usage): remove some unimportant lines to fit -h message
7489 in a page. [ruby-dev:34018]
7491 Mon Mar 10 17:11:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7493 * eval.c (rb_f_local_variables): local_variables should return an
7494 array of symbols. [ruby-dev:34008]
7496 * vm.c (collect_local_variables_in_env): ditto.
7498 Mon Mar 10 15:53:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7500 * version.c (MKSTR): make US-ASCII. [ruby-dev:34010]
7502 Mon Mar 10 02:08:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
7504 * string.c (rb_str_index): if t == s + pos, the character beginning
7505 from s + pos is valid.
7507 Sun Mar 9 13:51:21 2008 Eric Hodel <drbrain@segment7.net>
7509 * lib/rdoc/generator.rb: Restore missing line to #params. Patch by
7510 Lincoln Stoll <lstoll at lstoll.net>
7512 Sun Mar 9 09:52:00 2008 Eric Hodel <drbrain@segment7.net>
7514 * lib/rdoc/code_objects.rb: Remove debugging Kernel#p. Patch by
7515 Lincoln Stoll <lstoll at lstoll.net>
7516 * lib/rdoc/generator/html.rb: Fully qualify AllReferences. Patch by
7517 Lincoln Stoll <lstoll at lstoll.net>
7518 * lib/rdoc/ri/writer.rb: Fix 1.8 backwards compatibility.
7520 Sat Mar 8 18:50:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7522 * file.c (isdirsep): backslash is valid path separator on cygwin too.
7524 Sat Mar 8 06:53:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
7526 * string.c (search_nonascii): Use VALUE instead of unsigned long
7527 because VALUE can be the fastest unsigned integer type.
7528 On LLP64 unsigned long isn't the fastest.
7529 * string.c (str_strlen): ditto.
7530 * string.c (str_utf8_nth): ditto.
7531 * string.c (count_utf8_lead_bytes_with_ulong): ditto.
7533 * string.c (count_utf8_lead_bytes_with_word): renamed.
7535 Fri Mar 7 21:27:43 2008 Yusuke Endoh <mame@tsg.ne.jp>
7537 * bignum.c: fix indent.
7539 Fri Mar 7 21:12:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
7541 * bignum.c (power_cache_init, power_cache_get_power0, Init_Bignum):
7542 delayed initializing power cache per base. [ruby-dev:34003]
7544 Fri Mar 7 20:30:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7546 * cont.c (cont_restore_0): fixed typo. [ruby-core:15821]
7548 Fri Mar 7 19:56:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7550 * lib/mkmf.rb: rdoc added. [ruby-Patches-9762]
7552 Thu Mar 6 17:26:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7554 * sprintf.c (rb_str_format): space flag is in effect for Inf/NaN too.
7557 Thu Mar 6 15:44:20 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7559 * sprintf.c (rb_str_format): casting double to long is undefined
7560 if the integer part of double is out of the range of long.
7562 Thu Mar 6 15:11:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7564 * sprintf.c (rb_str_format): ignore 0 flag for NaN and Inf.
7567 Thu Mar 6 15:05:25 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7569 * {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead of
7571 suggested by KIMURA Koichi <kimura.koichi at canon.co.jp>.
7574 Thu Mar 6 14:46:08 2008 Tanaka Akira <akr@fsij.org>
7576 * missing/lgamma_r.c (loggamma): return 0 for 1 and 2.
7578 * test/ruby/test_math.rb: accept errors by functions under missing/.
7580 Thu Mar 6 14:29:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
7582 * transcode.c (rb_str_transcode_bang): set coderange.
7584 * transcode.c (rb_str_transcode): use rb_str_transcode_bang.
7586 Thu Mar 6 14:00:10 2008 Tanaka Akira <akr@fsij.org>
7588 * include/ruby/missing.h (cbrt): add declaration.
7590 Thu Mar 6 11:14:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7592 * misc/ruby-mode.el (ruby-add-log-current-method): use ruby style
7595 Thu Mar 6 11:12:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7597 * sprintf.c (rb_str_format): no need of loop.
7599 Thu Mar 6 08:30:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7601 * object.c (rb_mod_freeze): call rb_class_name() directly.
7604 Thu Mar 6 04:32:06 2008 NARUSE, Yui <naruse@ruby-lang.org>
7606 * string.c (count_utf8_lead_bytes_with_ulong): fix shift size.
7609 * string.c (str_utf8_nth) fix wrong counting.
7611 Thu Mar 6 00:34:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7613 * sprintf.c (rb_str_format): size_t returned from strlen() can be
7616 Thu Mar 6 00:31:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7618 * struct.c (make_struct): preserve encoding of struct name.
7620 Wed Mar 5 22:49:20 2008 NARUSE, Yui <naruse@ruby-lang.org>
7622 * string.c (is_utf8_lead_byte, count_utf8_lead_bytes_with_ulong):
7623 defined for UTF-8 optimization.
7625 * string.c (str_strlen): use is_utf8_lead_byte and
7626 count_utf8_lead_bytes_with_ulong.
7628 * string.c (str_utf8_nth) ditto.
7630 Wed Mar 5 17:53:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7632 * file.c (rb_file_flock): returns false on EAGAIN if non-blocking.
7635 Wed Mar 5 17:43:43 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
7637 * transcode.c (transcode_loop): Adjusted detection of invalid
7638 (ill-formed) UTF-8 sequences. Fixing potential security issue, see
7639 http://www.unicode.org/versions/Unicode5.1.0/#Notable_Changes.
7641 * test/ruby/test_transcode.rb: Added two tests for above fix.
7643 Wed Mar 5 14:00:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7645 * numeric.c (fix_to_s): avoid rb_scan_args() when no argument
7647 * bignum.c (rb_big_to_s): ditto.
7648 * enum.c (enum_first): ditto.
7649 * eval_jump.c (rb_f_catch): ditto.
7650 * io.c (rb_obj_display): ditto.
7651 * class.c (rb_obj_singleton_methods): ditto.
7652 * object.c (rb_class_initialize): ditto.
7653 * random.c (rb_f_srand): ditto.
7654 * range.c (range_step): ditto.
7655 * re.c (rb_reg_s_last_match): ditto.
7656 * string.c (rb_str_to_i): ditto.
7657 * string.c (rb_str_each_line): ditto.
7658 * string.c (rb_str_chomp_bang): ditto.
7659 * string.c (rb_str_sum): ditto.
7661 * string.c (str_modifiable): declare inline.
7662 * string.c (str_independent): ditto.
7664 Wed Mar 5 11:50:32 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7666 * lib/debug.rb: require 'continuation' to implement "restart"
7667 command. [ruby-dev:33992]
7669 * lib/debug.rb (Context::debug_command): remove local variable
7670 shadowing to shut up warnings. [ruby-dev:33992]
7672 * lib/debug.rb (Context::display_list): ditto.
7674 * lib/debug.rb (Context::resume): ditto.
7676 * lib/debug.rb (Context::get_thread): no longer use #index for Hash.
7678 Tue Mar 4 21:35:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7680 * lib/irb.rb (IRB::Irb::eval_input): SyntaxError should not be
7681 considered as IRB bug. [ruby-dev:33991]
7683 * lib/irb/workspace.rb (IRB::WorkSpace::filter_backtrace): should
7684 filter 'irb.rb' as well for context mode 2 and 3.
7686 Tue Mar 4 19:10:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7688 * hash.c (rb_hash_aset): should not copy key string when
7689 compare_by_identity is set. [ruby-dev:33604]
7691 * hash.c (hash_equal): two hash tables are different when internal
7692 comparison table differ. [ruby-dev:33989]
7694 Tue Mar 4 16:29:06 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7696 * parse.y (parser_yylex): disallow non digits '0o' expression.
7698 Tue Mar 4 14:35:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
7700 * io.c (open_key_args): use rb_io_open_with_args instead of rb_f_open.
7703 Tue Mar 4 13:41:46 2008 Tanaka Akira <akr@fsij.org>
7705 * gc.c (add_heap): fix previous change. [ruby-dev:33988]
7707 Tue Mar 4 10:21:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7709 * gc.c (add_heap): use binary search to find the place to insert the
7710 new heap slot. [ruby-dev:33983]
7712 Tue Mar 4 05:30:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
7714 * io.c (open_key_args): use rb_io_open instead of rb_f_open.
7717 Mon Mar 3 23:28:37 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
7719 * lib/webrick/httpservlet/filehandler.rb: should normalize path
7720 separators in path_info to prevent directory traversal
7721 attacks on DOSISH platforms.
7722 reported by Digital Security Research Group [DSECRG-08-026].
7724 * lib/webrick/httpservlet/filehandler.rb: pathnames which have
7725 not to be published should be checked case-insensitively.
7727 Mon Mar 3 17:25:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7729 * gc.c (add_heap): sort heaps array in ascending order to use
7732 * gc.c (is_pointer_to_heap): use binary search to identify object
7733 in heaps. works better when number of heap segments grow big.
7735 Mon Mar 3 17:15:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7737 * re.c (rb_reg_regsub): remove too strict encoding check.
7740 Mon Mar 3 16:14:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7742 * hash.c (rb_any_hash): shrinks all results in Fixnum range.
7745 Sun Mar 2 23:03:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7747 * io.c (rb_io_ungetc): reduce redundant call.
7749 Sun Mar 2 10:13:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7751 * ruby.c (load_file): parse shebang in us-ascii. a patch from
7752 sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:33955]
7754 Sun Mar 2 00:08:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7756 * object.c (rb_cstr_to_dbl): check for successive underscores.
7759 Sat Mar 1 17:59:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7761 * io.c (struct argf): packed ARGF stuffs.
7763 * ruby.c (proc_options): use ruby_set_inplace_mode().
7765 Sat Mar 1 17:51:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7767 * lib/test/unit/collector/dir.rb (recursive_collect): do not always
7768 include all test_*.rb.
7770 Sat Mar 1 14:14:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7772 * development snapshot 1.9.0-1 released.
7774 Sat Mar 1 13:46:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7776 * tool/make-snapshot: make prereq uses MINIRUBY.
7778 * tool/make-snapshot: allow packaging like 1.9.0-1 by second
7779 command-line argument.
7781 Sat Mar 1 13:11:03 2008 Tanaka Akira <akr@fsij.org>
7783 * test/ruby/allpairs.rb: new file for all pairs method.
7785 * test/ruby/test_m17n_comb.rb: use allpairs.rb to reduce test cases.
7787 * test/ruby/test_sprintf_comb.rb: ditto.
7789 Sat Mar 1 12:34:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7791 * string.c (sym_inspect): use rb_str_inspect() instead of
7792 rb_str_dump(). [ruby-dev:33946]
7794 Sat Mar 1 12:15:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7796 * eval_method.c (rb_get_method_body): ent->method may be freed by
7797 GC. [ruby-dev:31819]
7799 * thread.c (remove_event_hook): should not access freed memory.
7802 Sat Mar 1 10:31:19 2008 NARUSE, Yui <naruse@ruby-lang.org>
7804 * io.c (read_all, rb_io_getline_fast): encoding is io_input_encoding.
7806 Sat Mar 1 10:09:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7808 * string.c (tr_setup_table, rb_str_split_m, rb_str_chomp_bang):
7809 simplified with rb_enc_ascget(). [ruby-dev:33944]
7811 Sat Mar 1 10:01:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7813 * string.c (rb_str_coderange_scan_restartable): should not return
7814 offset in the middle of a character.
7816 * string.c (rb_str_coderange_scan_restartable): should not return
7819 Sat Mar 1 09:36:08 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7821 * sprintf.c (rb_str_format): "%#.0o" should keep prefix where
7824 Sat Mar 1 02:35:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7826 * bignum.c (big2str_find_n1): check integer overflow.
7828 Sat Mar 1 00:29:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7830 * encoding.c (rb_enc_dummy_p): bootstrap encodings can not be dummy.
7832 * encoding.c (rb_enc_ascget): no needs to call rb_enc_precise_mbclen()
7835 Fri Feb 29 23:14:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7837 * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_chomp): test
7840 Fri Feb 29 20:58:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7842 * test/ruby/test_iterator.rb (TestIterator::test_enumerator):
7843 adjust test for zip behavior reversion.
7845 Fri Feb 29 20:25:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7847 * string.c (rb_str_chomp_bang): now works on UTF-16.
7849 * string.c (tr_setup_table): negation should work on non ASCII
7850 compatible strings as well.
7852 * string.c (rb_str_split_m): awk split should work on non ASCII
7853 compatible strings as well.
7855 Fri Feb 29 18:08:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7857 * time.c (time_strftime): format should be ascii compatible.
7859 * parse.y (rb_intern3): non ASCII compatible symbols.
7861 * re.c (rb_reg_regsub): add encoding check.
7863 * string.c (rb_str_chomp_bang): ditto.
7865 * test/ruby/test_utf16.rb (TestUTF16::test_chomp): raises exception.
7867 Fri Feb 29 15:16:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7869 * string.c (rb_str_rpartition): calculation was done in byte indexing.
7871 * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_start_with):
7872 allow start_with? matching on broken strings.
7874 Fri Feb 29 15:12:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7876 * parse.y (opt_block_param): command can start just after block param
7877 definition. [ruby-list:44479]
7879 Fri Feb 29 03:22:19 2008 NARUSE, Yui <naruse@ruby-lang.org>
7881 * test/ruby/test_time.rb (test_readers): fix typo.
7882 (test_strftime): "UTC" is also ok for time.gmtime.strftime("%Z").
7884 Fri Feb 29 02:50:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
7886 * string.c (str_new): remove encoding assumption of empty string.
7888 * hash.c ( rb_f_getenv, env_fetch, env_inspect): result of ENV should
7889 be always ASCII-8BIT.
7891 * object.c (nil_to_s): nil.to_s should be US-ASCII.
7893 Fri Feb 29 02:24:22 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
7895 * ext/tk/lib/tk.rb: forgot to update RELEASE_DATE
7897 * ext/tk/lib/tk.rb, ext/tk/lib/tk/text.rb,
7898 ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: remove adhoc check
7899 of Ruby's features (use existence of some classes instead of
7900 comparing with RUBY_VERSION)
7902 * ext/tk/lib/tk/root.rb, ext/tk/lib/tk/autoload.rb: make TkRoot
7903 (Tk::Root) unswitchable
7905 * ext/tk/lib/multi-tk.rb: partial bug fix (still not work!!)
7907 Thu Feb 28 23:37:12 2008 Tanaka Akira <akr@fsij.org>
7909 * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): use ASCII-8BIT
7910 for charset unspecified non-text data.
7912 Thu Feb 28 22:19:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
7914 * encoding.c (enc_capable): IMMEDIATE_P doesn't include Qnil and Qfalse.
7915 use SPECIAL_CONST_P.
7917 Thu Feb 28 19:45:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
7919 * encoding.c (enc_find): check type of argument and convert to String
7920 if it is StringValue. [ruby-cvs:22866]
7922 Thu Feb 28 18:07:52 2008 Tanaka Akira <akr@fsij.org>
7924 * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): setup encoding
7926 (OpenURI::Meta#meta_add_field): call meta_setup_encoding when
7929 Thu Feb 28 15:29:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
7931 * io.c (rb_io_getline_fast): scan coderange.
7933 Thu Feb 28 14:36:46 2008 NARUSE, Yui <naruse@ruby-lang.org>
7935 * string.c (rb_enc_str_copy): removed.
7937 Thu Feb 28 13:51:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7939 * eval.c (stack_check): made flag per threads.
7941 * thread.c (rb_thread_set_raised, rb_thread_reset_raised): prefixed.
7943 Thu Feb 28 11:43:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7945 * file.c (rb_file_flock): immediately returns on EAGAIN if
7946 non-blocking. [ruby-core:15672]
7948 Thu Feb 28 11:23:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7950 * io.c (rb_io_getline_1): get rid of segfault. [ruby-dev:33938]
7952 Thu Feb 28 11:19:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7954 * string.c (rb_str_reverse_bang): removed unused variables.
7956 * include/ruby/encoding.h (rb_str_coderange_scan_restartable): added
7959 * string.c (rb_str_coderange_scan_restartable, rb_str_times): removed
7962 * string.c (rb_str_reverse_bang): ditto
7964 * string.c (rb_enc_str_copy): unused now. may be used in future?
7966 Thu Feb 28 03:03:32 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
7968 * ext/tk/lib/tk.rb, ext/tk/lib/*: make default widget set
7969 switchable between Tk (standard Tcl/Tk widget set) and
7970 Ttk (Tile). Initial default widget set is Tk. Now, toplevel
7971 widget classes are removed and defined as aliases.
7972 For example, "TkButton" is an alias of the "Tk::Button" class.
7973 Those aliases are replaced when switching default widget set.
7974 "Tk.default_widget_set=" is the method for switching default
7975 widget set. "Tk.default_widget_set = :Ttk" defines Ttk (Tile)
7976 widget set as default. It means that "TkButton" denotes
7977 "Tk::Tile::Button" class. And then, "TkButton.new" creates
7978 a Tk::Tile::Button widget. Of course, you can back to use
7979 standard Tk widgets as the default widget set by calling
7980 "Tk.default_widget_set = :Tk", whenever you want. Based on
7981 the feature, you can use Ttk widget styling engine on your
7982 old Ruby/Tk application without modifying its source, if you
7983 don't use widget options unsupported on Ttk widgets (At first,
7984 call "Tk.default_widget_set = :Ttk", and next load and run
7986 This is one step for supporting Tcl/Tk8.5 features.
7988 Wed Feb 27 22:55:42 2008 NARUSE, Yui <naruse@ruby-lang.org>
7990 * string.c (rb_str_coderange_scan_restartable): coderange scanning
7993 * io.c (read_all): set coderange when not convert encoding.
7995 Wed Feb 27 03:55:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7997 * ext/extmk.rb, enc/make_encmake.rb: load current mkmf.rb even if
8000 * ext/extmk.rb, enc/make_encmake.rb, lib/mkmf.rb: need to be 1.8
8001 compatible for cross-compiling.
8003 Tue Feb 26 16:53:13 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8005 * misc/ruby-mode.el (ruby-calculate-indent): should distinguish
8006 comment and # in strings. [ruby-dev:33874]
8008 Tue Feb 26 16:41:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8010 * array.c (combi_len, rb_ary_product): check for overflow.
8013 Tue Feb 26 16:38:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8015 * array.c (recursive_cmp): compare minimal length parts.
8017 Tue Feb 26 16:06:00 2008 Technorama Ltd. <oss-ruby@technorama.net>
8019 * ext/openssl/ossl_{ec,dh,dsa,rsa}.c: Remove useless warnings.
8021 * ext/openssl/ossl_asn1.c: Simplify code.
8023 * ext/openssl/ossl_ssl_session.c Fix compiler warnings.
8024 Undefine #id if SSL_SESSION_get_id is not supported.
8026 Tue Feb 26 15:50:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8028 * parse.y (value_expr_gen): removed inappropriate warning.
8031 Tue Feb 26 15:43:42 2008 Tanaka Akira <akr@fsij.org>
8033 * parse.y (tokadd_escape): refactored. [ruby-core:15657]
8035 Tue Feb 26 15:30:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8037 * array.c (rb_ary_eql, rb_ary_cmp): get rid of stack overflow with
8038 self-recursive constructs. [ruby-Bugs-18356]
8040 Tue Feb 26 01:16:01 2008 Tanaka Akira <akr@fsij.org>
8042 * include/ruby/ruby.h (ROBJECT_NUMIV): renamed from ROBJECT_LEN.
8043 (ROBJECT_IVPTR): renamed from ROBJECT_PTR.
8045 * variable.c: follow the above renaming.
8053 Mon Feb 25 17:30:29 2008 Technorama Ltd. <oss-ruby@technorama.net>
8055 * ext/openssl/digest.c ext/openssl/lib/openssl/digest.rb:
8056 Commit patch #9280 from Akinori MUSHA.
8057 Simplify the OpenSSL::Digest class and make use of the
8058 existing Digest framework.
8059 Enhance performance.
8061 Mon Feb 25 15:33:29 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8063 * bignum.c (big2str_karatsuba): initialize cache if not initialized.
8065 * bignum.c (Init_Bignum): delayed initializing cache.
8068 Mon Feb 25 13:40:03 2008 Tanaka Akira <akr@fsij.org>
8070 * process.c (Init_process): share bignum objects for RLIM_INFINITY,
8071 RLIM_SAVED_MAX and RLIM_SAVED_CUR if they are equal.
8073 Mon Feb 25 10:41:41 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
8075 * encoding.c (Encoding#dummy): minor grammatical fixes
8076 in rdoc documentation.
8078 Mon Feb 25 00:01:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8080 * cygwin/GNUmakefile.in (clean-local): should be double-colon.
8082 Sun Feb 24 23:39:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8084 * common.mk, {bcc,win}32/Makefile.sub (clean-local): remove
8087 * cygwin/GNUmakefile.in (clean-local): remove def file.
8089 Sun Feb 24 06:49:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8091 * debug.c (ruby_set_debug_option): separated ruby_each_words().
8093 * util.c (ruby_each_words): extracted from ruby_set_debug_option().
8095 * ruby.c (enable_option, disable_option): allow all for all known
8098 * ruby.c (proc_options): generalized enable/disable options.
8100 * ruby.c (ruby_init_gems): take enabled flag. [ruby-core:14840]
8102 * ruby.c (process_options): added --disable-rubyopt flag.
8104 * include/ruby/util.h (ruby_each_words): prototype.
8106 Sun Feb 24 05:25:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8108 * ruby.c (proc_options): check if argument for -E exists.
8110 Sun Feb 24 05:09:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8112 * misc/ruby-style.el (ruby-style-label-indent): fix for labels inside
8115 Sun Feb 24 03:52:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8117 * util.c (valid_filename): use O_EXCL to get rid of clobbering
8118 existing files in race conditions.
8120 Sat Feb 23 21:36:13 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8122 * ext/win32ole/win32ole.c (ole_init_cp): should return value.
8124 Sat Feb 23 20:16:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
8126 * string.c (str_sublen): removed.
8128 * string.c (rb_str_reverse, rb_str_reverse_bang): use
8129 single_byte_optimizable.
8131 Sat Feb 23 19:25:18 2008 NARUSE, Yui <naruse@ruby-lang.org>
8133 * string.c (rb_enc_cr_str_copy_for_substr): renamed from
8136 * string.c: use rb_enc_cr_str_copy_for_substr and keep coderange.
8138 Sat Feb 23 18:50:17 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
8140 * ext/win32ole/win32ole.c (ole_encoding2cp): remove US-ASCII
8143 Sat Feb 23 01:09:47 2008 Tanaka Akira <akr@fsij.org>
8145 * process.c (rlimit_resource_type): new function.
8146 (rlimit_resource_value): new function.
8147 (proc_getrlimit): use rlimit_resource_type to accept
8148 symbol and string as resource type.
8149 (proc_setrlimit): use rlimit_resource_type and rlimit_resource_value
8150 to accept symbol and string as resource type and values.
8152 Fri Feb 22 21:12:42 2008 NARUSE, Yui <naruse@ruby-lang.org>
8154 * string.c (rb_enc_cr_str_copy): check string's coderange is 7bit or
8157 Fri Feb 22 19:50:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8159 * bignum.c (BIGZEROP): fix for longer Bignum zeros. [ruby-Bugs-17454]
8161 Fri Feb 22 15:47:36 2008 Tanaka Akira <akr@fsij.org>
8163 * encoding.c (rb_enc_mbclen): return minlen instead of 1 when
8164 a character is not found properly.
8166 * string.c (rb_enc_strlen): round up string length with fixed
8167 multibyte encoding such as UTF-32.
8168 (rb_enc_strlen_cr): ditto.
8169 (rb_str_substr): fix substring with fixed multibyte encoding.
8170 (rb_str_justify): check number of characters.
8172 Fri Feb 22 12:11:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
8174 * string.c (rb_str_inspect): string of ascii incompatible encoding
8175 should be escaped and returned as US-ASCII encoding.
8177 Fri Feb 22 11:16:55 2008 NARUSE, Yui <naruse@ruby-lang.org>
8179 * string.c (rb_str_substr): copy encoding although empty string.
8181 Fri Feb 22 04:48:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
8183 * string.c (rb_str_times): empty string's coderange is CODERANGE_7BIT.
8185 * string.c (rb_str_substr): ditto.
8187 * encoding.c (rb_enc_compatible): empty string is compatible with not
8188 only nonasciicompatible strings. [ruby-dev:33895]
8190 Thu Feb 21 17:15:15 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
8192 * transcode.c: Added basic support for passing options to String#encode
8193 via a hash. Currently only one option, with one value, is supported:
8194 invalid: :ignore (dropping invalid byte sequences instead of
8195 producing an error). Option naming is not yet stable!
8197 * test/ruby/test_transcode.rb: Added a single test for invalid: :ignore
8198 option. Not more tests because most data does not yet distinguish
8199 between INVALID and UNKNOWN.
8201 Thu Feb 21 16:35:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8203 * array.c (rb_ary_unshift_m): expands enough for argc. [ruby-dev:33880]
8205 Thu Feb 21 14:49:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8207 * io.c (argf_set_encoding): uses current_file after check if next
8210 Thu Feb 21 14:13:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8212 * io.c (rb_f_putc): invoke stdout method so that redefining putc
8213 may take effect. [ruby-talk:291844]
8215 * io.c (rb_f_puts): ditto.
8217 Thu Feb 21 11:10:49 2008 NARUSE, Yui <naruse@ruby-lang.org>
8219 * string.c: replace rb_enc_copy by rb_enc_cr_str_copy or
8220 rb_enc_cr_str_exact_copy.
8222 Thu Feb 21 10:35:04 2008 NARUSE, Yui <naruse@ruby-lang.org>
8224 * include/ruby/encoding.h (rb_enc_asciicompat): dummy encoding is not
8225 ascii compatible. [ruby-dev:33878]
8227 Thu Feb 21 00:01:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8229 * configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime
8230 load path. [ruby-list:44600]
8232 Wed Feb 20 23:55:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8234 * win32/win32.c (rb_w32_map_errno): exported.
8236 Wed Feb 20 23:28:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8238 * ext/readline/extconf.rb (rl_event_hook): workaround for native
8241 Wed Feb 20 19:42:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
8243 * encoding.c (rb_enc_associate_index): doesn't clear coderange
8244 when new encoding equals to old one.
8246 Wed Feb 20 19:15:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
8248 * string.c (rb_enc_str_copy): added for wrapper for rb_enc_copy.
8249 this also copy coderange when ptr and len is equal.
8251 * string.c (rb_enc_cr_str_copy): added for wrapper for rb_enc_copy.
8252 this always copy coderange.
8254 * string.c (str_replace_shared): use rb_enc_str_copy.
8256 * string.c (str_new3): don't rb_enc_copy because encoding is copied
8257 at str_replace_shared.
8259 Wed Feb 20 13:08:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8261 * instruby.rb (parse_args): added --dir-mode, --script-mode and
8262 --cmd-type options. [ruby-dev:33816]
8264 * instruby.rb (parse_args): added bin-arch and bin-comm to install
8265 type, for compiled files and script files.
8267 * instruby.rb (parse_args): deal with make style command line macros,
8268 and count as long style options if prefixed with INSTALL_.
8270 * instruby.rb (makedirs): use $dir_mode. [ruby-dev:33805]
8272 * instruby.rb (open_for_install): set file mode, which is now
8273 permission mode instead of access mode.
8275 * instruby.rb (bin-comm): installs scripts with replacing shebang
8278 Wed Feb 20 10:04:22 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8280 * io.c (open_key_args): set arg->io even if no options passed.
8283 Tue Feb 19 21:11:49 2008 NARUSE, Yui <naruse@ruby-lang.org>
8285 * string.c (rb_enc_strlen_cr): get length with coderange scan.
8287 * string.c (str_strlen): use rb_enc_strlen_cr. [ruby-dev:33849]
8289 Tue Feb 19 20:49:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8291 * eval.c (rb_raise_jump): moved adjustment for control frame.
8293 Tue Feb 19 18:34:32 2008 Tanaka Akira <akr@fsij.org>
8295 * gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed. [ruby-dev:33857]
8297 Tue Feb 19 14:27:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8299 * ext/readline/readline.c (readline_event): prevent polling. based on
8300 a patch from error errorsson in [ruby-Bugs-17675].
8302 Tue Feb 19 11:14:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8304 * eval.c (ruby_exec_node): no thread starts inside iseq compilation.
8306 * eval.c (rb_f_raise): skip current control frame. [ruby-core:15589]
8308 * insns.def (opt_div): raise as the ordinary method. [ruby-core:15589]
8310 Mon Feb 18 15:16:30 2008 Tanaka Akira <akr@fsij.org>
8312 * string.c (rb_str_each_line): fix newline size.
8314 Mon Feb 18 13:06:37 2008 Tanaka Akira <akr@fsij.org>
8316 * lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
8318 Mon Feb 18 11:51:19 2008 Tanaka Akira <akr@fsij.org>
8320 * re.c (re_warn): defined to restore warnings for /[a-c-e]/, etc.
8322 Mon Feb 18 10:17:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8324 * ext/pty/lib/expect.rb (IO#expect): check if peer is closed.
8327 Mon Feb 18 00:33:03 2008 Tanaka Akira <akr@fsij.org>
8329 * re.c (rb_reg_regsub): don't repeat repl twice with
8330 "X".sub!(/./, sprintf("\\%c", 255)).
8332 Sun Feb 17 23:06:55 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
8334 * lib/cgi.rb (CGI::escapeHTML): use gsub with Hash. [ruby-dev:33828]
8336 Sun Feb 17 21:38:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
8338 * encoding.c (ENC_CODERANGE_AND): fix broken case. [ruby-dev:33826]
8340 * string.c (rb_str_times): fix broken case. [ruby-dev:33826]
8342 Sun Feb 17 20:45:10 2008 Tanaka Akira <akr@fsij.org>
8344 * re.c (rb_reg_prepare_re): add enable_warning parameter.
8345 (rb_reg_adjust_startpos): disable warning by rb_reg_prepare_re.
8346 (rb_reg_search): follow rb_reg_prepare_re parameter change.
8348 Sun Feb 17 20:12:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
8350 * test/ruby/test_regexp.rb: add tests to achieve over 90% test
8353 Sun Feb 17 15:25:08 2008 NARUSE, Yui <naruse@ruby-lang.org>
8355 * encoding.c (ENC_CODERANGE_AND): added.
8357 * string.c (rb_str_plus, rb_str_times): keep coderange.
8359 * parse.y (STR_NEW0) use rb_usascii_str_new.
8361 Sun Feb 17 14:07:24 2008 Tanaka Akira <akr@fsij.org>
8363 * string.c (str_strlen): rb_enc_strlen doesn't fail.
8365 Sun Feb 17 13:03:48 2008 Tanaka Akira <akr@fsij.org>
8367 * string.c (str_sublen): use rb_enc_strlen.
8369 Sun Feb 17 12:17:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
8371 * enc/{euc_jp.c,gbk.c,iso_8859_1.c,iso_8859_11.c,iso_8859_13.c,
8372 iso_8859_2.c,iso_8859_6.c,iso_8859_7.c,iso_8859_8.c,iso_8859_9.c,
8373 shift_jis.c,windows_1251.c}: add document about encodings.
8375 * enc/cp949.c: divided into new file.
8377 Sun Feb 17 10:59:04 2008 Tanaka Akira <akr@fsij.org>
8379 * re.c (rb_reg_quote): return US-ASCII string consistently.
8381 Sun Feb 17 09:17:08 2008 Tanaka Akira <akr@fsij.org>
8383 * string.c (rb_str_times): reduce loop overhead.
8385 Sun Feb 17 03:37:01 2008 Tanaka Akira <akr@fsij.org>
8387 * include/ruby/re.h (struct rmatch_offset): new struct for character
8389 (struct rmatch): new struct.
8390 (struct RMatch): reference struct rmatch.
8391 (RMATCH_REGS): new macro.
8393 * re.c (match_alloc): initialize struct rmatch.
8394 (pair_byte_cmp): new function.
8395 (update_char_offset): update character offsets.
8396 (match_init_copy): copy regexp and character offsets.
8397 (match_sublen): removed.
8398 (match_offset): use update_char_offset.
8399 (match_begin): ditto.
8401 (rb_reg_search): make character offset updated flag false.
8402 (match_size): use RMATCH_REGS.
8403 (match_backref_number): ditto.
8404 (rb_reg_nth_defined): ditto.
8405 (rb_reg_nth_match): ditto.
8406 (rb_reg_match_pre): ditto.
8407 (rb_reg_match_post): ditto.
8408 (rb_reg_match_last): ditto.
8409 (match_array): ditto.
8410 (match_aref): ditto.
8411 (match_values_at): ditto.
8412 (match_inspect): ditto.
8414 * string.c (rb_str_subpat_set): use RMATCH_REGS.
8415 (rb_str_sub_bang): ditto.
8417 (rb_str_split_m): ditto.
8420 * gc.c (obj_free): free character offsets.
8422 Sun Feb 17 03:13:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8424 * win32/resource.rb: made version infos confirm to OS spec.
8426 * {bcc32,win32}/Makefile.sub (*.rc): add dependency.
8428 Sat Feb 16 20:49:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
8430 * string.c (rb_str_substr): optimized for UTF-8.
8432 Sat Feb 16 18:13:53 2008 Tanaka Akira <akr@fsij.org>
8434 * encoding.c (rb_enc_compatible): check encoding incapable arguments.
8436 Sat Feb 16 20:12:47 2008 Tanaka Akira <akr@fsij.org>
8438 * re.c (match_inspect): avoid SEGV with MatchData.allocate.inspect.
8440 Sat Feb 16 19:04:17 2008 NARUSE, Yui <naruse@ruby-lang.org>
8442 * string.c (str_strlen): revert r15507. [ruby-dev:33810]
8444 Sat Feb 16 18:25:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
8446 * string.c (str_strlen): little more optimization.
8447 (rb_enc_nth): remove needless variable 'c'.
8449 Sat Feb 16 18:00:13 2008 Tanaka Akira <akr@fsij.org>
8451 * encoding.c (rb_enc_compatible): empty strings are always compatible.
8453 * string.c (rb_enc_cr_str_buf_cat): ditto.
8455 Sat Feb 16 16:14:35 2008 Tanaka Akira <akr@fsij.org>
8457 * string.c (rb_enc_strlen): UTF-8 character count moved to str_strlen.
8458 (str_strlen): UTF-8 character count is only applicable for valid
8459 UTF-8 string. [ruby-dev:33807]
8461 Sat Feb 16 13:16:49 2008 Tanaka Akira <akr@fsij.org>
8463 * string.c (rb_str_sub_bang): stringize replacing hash values.
8466 Sat Feb 16 13:01:33 2008 NARUSE, Yui <naruse@ruby-lang.org>
8468 * string.c (rb_enc_strlen): add search_nonascii like character
8471 Sat Feb 16 11:53:35 2008 Tanaka Akira <akr@fsij.org>
8473 * encoding.c (rb_enc_strlen): moved to string.c.
8475 * string.c (rb_enc_strlen): use search_nonascii.
8476 (str_strlen): don't use search_nonascii.
8478 Sat Feb 16 11:45:31 2008 Tanaka Akira <akr@fsij.org>
8480 * lib/require_relative.rb: check require_relative call in eval.
8482 Sat Feb 16 08:00:01 2008 NARUSE, Yui <naruse@ruby-lang.org>
8484 * ruby.c (process_options): set default_external before loading
8485 libraries. [ruby-dev:33801]
8487 Sat Feb 16 05:49:54 2008 NARUSE, Yui <naruse@ruby-lang.org>
8489 * enc/iso_8859_{4,13}.c: Windows-1257 is replica of ISO-8859-13.
8491 * string.c (single_byte_optimizable): rb_enc_mbminlen must be 1
8492 when rb_enc_mbmaxlen is 1.
8494 Sat Feb 16 03:43:18 2008 Tanaka Akira <akr@fsij.org>
8496 * encoding.c (rb_enc_nth): moved to string.c.
8498 * string.c (rb_enc_nth): moved from string.c. use search_nonascii
8499 for ASCII compatible string.
8500 (str_nth): wrong optimization removed to fix
8501 "a".force_encoding("EUC-JP").slice!(0,10) returns
8502 "a\x00\x00\x00\x00\x00\x00\x00\x00\x00"
8504 Sat Feb 16 00:21:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8506 * range.c (rb_range_beg_len): check if responds to "begin" and "end"
8507 methods for non-Range object.
8509 Fri Feb 15 20:29:42 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
8511 * ext/win32ole/win32ole.c (ole_init_cp): initialize WIN32OLE.codepage
8512 according to Encoding.default_external.
8514 * test/win32ole/test_win32ole.rb: ditto.
8516 Fri Feb 15 19:31:23 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8518 * include/ruby/node.h (NODE_FL_NEWLINE): renamed from NODE_NEWLINE
8519 to denote its a flag. [ruby-core:15529]
8521 Fri Feb 15 18:23:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8523 * string.c (rb_str_sub_bang, str_gsub): allows hash for replacement.
8525 Fri Feb 15 17:12:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8527 * string.c (str_strlen): use search_nonascii() for performance.
8529 * string.c (str_nth): ditto.
8531 Fri Feb 15 16:22:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8533 * io.c (open_key_args): allow specifying both :mode and :encoding.
8535 Fri Feb 15 15:34:47 2008 Tanaka Akira <akr@fsij.org>
8537 * string.c (rb_str_getbyte): new method.
8538 (rb_str_setbyte): new method.
8540 Fri Feb 15 15:29:03 2008 Tanaka Akira <akr@fsij.org>
8542 * lib/require_relative.rb: new file.
8544 Fri Feb 15 15:23:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8546 * ext/iconv/iconv.c (iconv_convert): check upper bound. a patch from
8547 Daniel Luz at [ruby-Bugs-17910].
8549 Fri Feb 15 10:35:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8551 * re.c (rb_reg_quote): set US-ASCII for ASCII-only string.
8554 Fri Feb 15 10:27:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8556 * {win,bcc}32/Makefile.sub (config.h): added HAVE_FTRUNCATE.
8559 Fri Feb 15 09:44:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8561 * parse.y (reg_compile_gen): reg_fragment_setenc might not raise an
8562 exception before rb_reg_compile.
8564 Fri Feb 15 07:37:40 2008 Eric Hodel <drbrain@segment7.net>
8566 * lib/rdoc/ri/paths.rb: Preserve compatibility with 1.8.
8568 Fri Feb 15 02:42:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8570 * configure.in (ftruncate): check if available.
8572 * file.c (rb_file_truncate): check if ftruncate instead of truncate.
8574 Fri Feb 15 02:40:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8576 * configure.in (sigsetmask): check when signal semantics is not POSIX.
8578 * signal.c (USE_TRAP_MASK): set true if sigprocmask or sigsetmask is
8581 Thu Feb 14 23:56:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8583 * eval_error.c (error_print): append a newline to rest lines.
8585 * parse.y (reg_compile_gen): appends error message from
8586 rb_reg_compile() to one from reg_fragment_setenc().
8588 Thu Feb 14 21:00:14 2008 Tanaka Akira <akr@fsij.org>
8590 * io.c (io_reopen): check STDIN, STDOUT and STDERR mode according to
8593 Thu Feb 14 16:07:40 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8595 * test/ruby/test_math.rb: actual-expected argument ordering for
8596 test_math.rb fixed. a patch from Tadashi Saito
8597 <shiba AT mail2.accsnet.ne.jp> in [ruby-dev:33770].
8599 Thu Feb 14 16:02:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8601 * file.c (rb_file_s_utime): inhibits with secure level 2 or higher.
8603 Thu Feb 14 12:30:02 2008 Tanaka Akira <akr@fsij.org>
8605 * re.c (rb_reg_preprocess_dregexp): use non-preprocessed regexp source
8608 Thu Feb 14 01:43:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8610 * lib/timeout.rb (Timeout::timeout): made sensitive to location on the
8611 stack. [ruby-core:15458]
8613 Thu Feb 14 00:49:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8615 * common.mk (INSTRUBY_ARGS): pass mode to install. [ruby-dev:33766]
8617 * instruby.rb (parse_args): added --data-mode and --prog-mode options.
8619 Thu Feb 14 00:02:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
8621 * eval.c (eval): allow to eval in a binding that has a singleton method.
8624 * test/ruby/test_proc.rb: add tests to achieve over 70% test coverage
8627 * test/ruby/test_method.rb: ditto.
8629 Wed Feb 13 22:46:36 2008 Tanaka Akira <akr@fsij.org>
8631 * lib/pathname.rb (Pathname#sub_ext): new method. [ruby-list:44608]
8633 Wed Feb 13 21:50:32 2008 Yusuke Endoh <mame@tsg.ne.jp>
8635 * proc.c (proc_curry): new method. [ruby-dev:33676]
8637 * test/ruby/test_proc.rb: add tests for above.
8639 Wed Feb 13 20:48:50 2008 Tanaka Akira <akr@fsij.org>
8641 * include/ruby/ruby.h (RObject): add iv_index_tbl for shortcut of
8642 RCLASS_IV_INDEX_TBL(rb_obj_class(obj)).
8643 (ROBJECT_IV_INDEX_TBL): defined.
8645 * object.c (init_copy): initialize iv_index_tbl in struct RObject.
8647 * variable.c (ivar_get): use ROBJECT_IV_INDEX_TBL.
8648 (rb_ivar_defined): ditto.
8649 (obj_ivar_each): ditto.
8650 (rb_obj_remove_instance_variable): ditto.
8651 (rb_ivar_set): update iv_index_tbl in struct RObject.
8653 Wed Feb 13 16:21:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
8655 * lib/uri/generic.rb: revert r15442. 2nd argument of String#sub parse
8656 escapes. [ruby-dev:33726]
8658 * bootstraptest/test_method.rb, enc/depend, instruby.rb, lib/mkmf.rb,
8659 mkconfig.rb: revert r15443. ditto.
8661 Wed Feb 13 11:20:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8663 * enc/depend: fix typo.
8665 * lib/mkmf.rb: revert r15443. "\\1#{sep}\\2" is wrong if sep is ended
8668 Wed Feb 13 08:57:21 2008 Eric Hodel <drbrain@segment7.net>
8670 * lib/rdoc/markup/inline.rb: Allow inline markup to have a leading
8671 '#' or '\', or trailing punctuation. i.e. *#freeze?*, *\foo?*.
8673 Wed Feb 13 07:21:23 2008 Eric Hodel <drbrain@segment7.net>
8675 * lib/rdoc/to_html_hyperlink.rb: Moved linking to to_html.rb, move
8676 crossref to to_html_crossref.rb
8678 Wed Feb 13 04:15:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8680 * parse.y (arg_concat_gen, arg_append_gen): optimize for array push.
8682 * parse.y (arg_concat_gen): optimize for array concat.
8684 * parse.y (arg_add_gen): removed since identical to arg_append_gen.
8686 Tue Feb 12 21:04:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8688 * parse.y (exc_list): should use mrhs if non array.
8690 Tue Feb 12 20:32:50 2008 Tadayoshi Funaba <tadf@dotrb.org>
8692 * lib/rational.rb (floor, ceil, truncate, round): do not use
8693 definitions of Numeric.
8695 * lib/rational.rb (to_i): should returns truncated self.
8697 * lib/complex.rb (numerator): requires
8698 Integer#{numerator,denominator}.
8700 * lib/complex.rb (quo): do not use definition of Numeric.
8702 * lib/complex.rb (>, >=, <, <=, between?, div, divmod, modulo,
8703 floor, ceil, truncate, round): undef'ed.
8705 * lib/mathn.rb (Rational#inspect): removed.
8707 Tue Feb 12 16:48:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8709 * parse.y (args, mrhs): flattens literal array splats.
8711 * parse.y (exc_list): splat literal array.
8713 Tue Feb 12 15:27:19 2008 NARUSE, Yui <naruse@ruby-lang.org>
8715 * bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,
8716 instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
8717 mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
8718 test/ruby/test_stringchar.rb: fixes around String#gsub.
8721 Tue Feb 12 15:11:47 2008 NARUSE, Yui <naruse@ruby-lang.org>
8723 * ext/json/lib/json/pure/generator.rb,
8724 ext/json/lib/json/pure/parser.rb, ext/openssl/lib/openssl/x509.rb,
8725 ext/win32ole/sample/olegen.rb, lib/date/format.rb, lib/irb/context.rb,
8726 lib/irb/workspace.rb, lib/net/http.rb, lib/net/imap.rb,
8727 lib/rdoc/generator.rb, lib/rdoc/markup/to_html.rb,
8728 lib/rdoc/markup/to_latex.rb, lib/rdoc/parsers/parse_c.rb,
8729 lib/rdoc/ri/formatter.rb, lib/rexml/parsers/baseparser.rb,
8730 lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rss/parser.rb,
8731 lib/uri/common.rb, lib/uri/generic.rb, lib/webrick/httpresponse.rb,
8732 lib/webrick/httpservlet/filehandler.rb, lib/yaml/baseemitter.rb,
8733 lib/yaml/encoding.rb: performance tuning around String#gsub.
8735 Tue Feb 12 12:16:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8737 * string.c (rb_str_hash_cmp): lighter version of rb_str_cmp() for
8738 hash comparison function.
8740 * hash.c (rb_any_cmp): use rb_str_hash_cmp().
8742 * string.c (rb_str_casecmp): should return nil for incompatible
8745 Tue Feb 12 12:13:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8747 * instruby.rb: specify file mode to install. a patch from
8748 pegacorn <subscriber.jp AT gmail.com> in [ruby-dev:33699].
8750 Tue Feb 12 11:38:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8752 * numeric.c (rb_num_coerce_bin): add ID argument to specify
8753 caller's method name. [ruby-dev:33663]
8755 * numeric.c (rb_num_coerce_cmp): ditto.
8757 * numeric.c (rb_num_coerce_relop): ditto.
8759 * ext/bigdecimal/bigdecimal.c (DoSomeOne): add function name argument.
8761 Tue Feb 12 10:25:02 2008
8763 * lib/rdoc/rdoc.rb: Wrap parse_files' read in version check for
8764 backwards compatibility.
8766 Tue Feb 12 10:15:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
8768 * ruby.c (load_file): enc must effect source encoding.
8771 Tue Feb 12 10:16:47 2008 Eric Hodel <drbrain@segment7.net>
8773 * lib/rdoc/ri/paths.rb: Restore require rubygems check.
8775 Tue Feb 12 02:42:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8777 * range.c (range_include): specialize single character string
8778 case (e.g. (?a ..?z).include(?x)) for performance.
8781 * string.c (rb_str_upto): specialize single character case.
8783 * string.c (rb_str_hash): omit coderange scan for performance.
8785 * object.c (rb_check_to_integer): check Fixnum first.
8787 * object.c (rb_to_integer): ditto.
8789 * string.c (rb_str_equal): inline memcmp to avoid unnecessary
8790 rb_str_comparable().
8792 * parse.y (rb_intern2): use US-ASCII encoding.
8794 * parse.y (rb_intern_str): ditto.
8796 Mon Feb 11 17:21:18 2008 Kouhei Sutou <kou@cozmixng.org>
8798 * lib/rss/rss.rb (RSS::VERSION), test/rss/test_version.rb:
8801 * lib/rss/maker.rb, lib/rss/maker/, test/rss/test_maker_2.0.rb:
8802 fixed a bug that RSS::Maker.make("0.9")'s item doesn't make some
8803 elements if description is missed.
8804 Reported by Michael Auzenne. Thanks!!!
8806 * lib/rss/maker/0.9.rb, test/rss/test_maker_0.9.rb:
8807 RSS::Maker.make("0.9") generates RSS 0.92 not RSS 0.91.
8809 Mon Feb 11 10:43:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
8811 * ruby.c (load_file): the encoding of DATA follows the source
8812 file encoding. [ruby-dev:33693]
8814 Mon Feb 11 06:50:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
8816 * test/ruby/test_pack.rb: fix tests for 64bit CPU.
8818 * test/ruby/test_bignum.rb: ditto.
8820 * test/ruby/test_file_exhaustive.rb: ditto.
8822 * test/ruby/test_integer.rb: ditto.
8824 * test/ruby/test_time.rb: ditto.
8826 * test/ruby/test_numeric.rb: ditto.
8828 * test/ruby/test_fixnum.rb: ditto.
8830 Mon Feb 11 00:18:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
8832 * lib/benchmark.rb (Job::Benchmark#item): fix typo.
8834 Sun Feb 10 21:58:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
8836 * common.mk (encdb, transdb): depend on $(PREP).
8838 Sun Feb 10 16:58:20 2008 Eric Hodel <drbrain@segment7.net>
8840 * lib/rubygems*, test/rubygems*, gem_prelude.rb: Import RubyGems
8841 r1601. [ruby-core:15381]
8843 Sun Feb 10 15:07:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8845 * {bcc32,win32,wince}/Makefile.sub (MISSING): added cbrt.obj.
8847 Sun Feb 10 12:58:33 2008 Eric Hodel <drbrain@segment7.net>
8849 * lib/rdoc/code_objects.rb: Make some attributes accessible for reuse.
8850 * lib/rdoc/generator/html.rb: Pull out ContextUser classes and related
8852 * lib/rdoc/generator.rb: Move ContextUser classes to
8853 RDoc::Generator::Context for reuse.
8854 * lib/rdoc/rdoc.rb: Make RDoc::RDoc initialization a little easier.
8855 * lib/rdoc/options.rb: Make RDoc::Options easier to use without
8857 * lib/rdoc/markup/to_*.rb: Subclass RDoc::Markup::Formatter.
8858 * lib/rdoc/markup/formatter.rb: Add RDoc::Markup::Formatter to make
8859 RDoc markup conversion easier.
8860 * lib/rdoc/markup/fragments.rb: Make RDoc::Markup::ListItem easier to
8862 * lib/rdoc/markup/to_html_hyperlink.rb: Pulled out of the HTML
8863 generator for easier reusability.
8864 * lib/rdoc/markup.rb: Fix bug with labeled lists containing bullet
8866 * lib/rdoc/generators/html/html.rb: Fix Constant display.
8868 Sat Feb 9 23:44:29 2008 Tanaka Akira <akr@fsij.org>
8870 * missing/tgamma.c (tgamma): use lgamma_r if available.
8872 Sat Feb 9 23:22:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8874 * ext/bigdecimal/extconf.rb: simplified the condition.
8876 Sat Feb 9 21:20:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
8878 * test/ruby/test_math.rb: add tests for Math.gamma, Math.lgamma and
8879 Math.cbrt, and use assert_in_delta instead of assert.
8881 Sat Feb 9 18:34:45 2008 Tanaka Akira <akr@fsij.org>
8883 * math.c (math_cbrt): new method Math.cbrt.
8885 * configure.in (cbrt): check for replacement functions.
8887 * missing/cbrt.c: new file.
8889 Sat Feb 9 17:51:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8891 * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more
8892 precision. [ruby-talk:290296]
8894 * ext/bigdecimal/bigdecimal.c (BASE_FIG): made constant.
8896 * ext/bigdecimal/extconf.rb: ditto. [ruby-dev:33658]
8898 Sat Feb 9 12:06:45 2008 Tanaka Akira <akr@fsij.org>
8900 * missing/tgamma.c (tgamma): add error check.
8902 Sat Feb 9 11:47:03 2008 Tanaka Akira <akr@fsij.org>
8904 * math.c (math_gamma): add error check.
8905 (math_lgamma): ditto.
8907 Sat Feb 9 11:09:26 2008 Tanaka Akira <akr@fsij.org>
8909 * missing/lgamma_r.c (lgamma_r): return HUGE_VAL for non-positive
8912 Sat Feb 9 10:03:07 2008 Tanaka Akira <akr@fsij.org>
8914 * string.c (rb_str_new4): copy encoding from orig, instead of shared
8917 Sat Feb 09 01:01:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
8919 * file.c (lchmod_internal): fix warning cast from pointer to integer of
8922 Sat Feb 9 00:44:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8924 * lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than
8925 SystemExit and SignalException. [ruby-core:15359]
8927 Fri Feb 8 23:51:36 2008 Tanaka Akira <akr@fsij.org>
8929 * missing/lgamma_r.c (lgamma_r): use smaller argument for sin function.
8931 Fri Feb 8 22:10:36 2008 Tanaka Akira <akr@fsij.org>
8933 * lib/open-uri.rb (OpenURI.open_http): rescue URI::InvalidURIError by
8934 URI.parse for location URI.
8936 Fri Feb 8 19:22:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8938 * ext/iconv/iconv.c (rb_str_derive): uses rb_str_subseq() for byte
8939 length. [ruby-dev:33653]
8941 * ext/iconv/iconv.c (iconv_convert): added toidx argument to set
8942 encoding of successfully converted string. [ruby-dev:33221]
8944 Fri Feb 8 15:09:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8946 * lib/mkmf.rb (xsystem): expand macros like as make.
8948 Fri Feb 8 09:27:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
8950 * lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
8952 Fri Feb 8 00:07:24 2008 Yusuke Endoh <mame@tsg.ne.jp>
8954 * test/ruby/test_hash.rb: follow the change of Hash#flatten.
8956 * test/ruby/test_time.rb: add tests to achieve over 70% test coverage
8959 * test/ruby/test_prec.rb: ditto over 90% for prec.c.
8961 Thu Feb 7 19:11:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8963 * string.c (rb_str_dup): reverted unneeded change. [ruby-dev:33634]
8965 * string.c (rb_str_replace): makes frozen shared string before
8968 Thu Feb 7 16:33:51 2008 Tanaka Akira <akr@fsij.org>
8970 * io.c (io_reopen): don't change access mode for stdin, stdout and
8971 stderr. [ruby-core:15360]
8973 Thu Feb 7 16:33:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8975 * string.c (str_replace_shared): replaces string with sharing.
8977 * string.c (rb_str_new4, rb_str_associate, rb_str_associated): allows
8978 associated strings shared.
8980 * string.c (rb_str_dup, rb_str_substr, rb_str_replace): shares memory.
8983 Thu Feb 7 15:42:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8985 * string.c (rb_str_end_with): compares with the suffix.
8987 Thu Feb 7 15:03:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
8989 * enc/trans/korean.c: add support for CP949 by Park Ji-In.
8992 Thu Feb 7 11:11:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8994 * missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
8995 by literal 0.0. use const variable instead.
8997 * {bcc32,win32,wince}/Makefile.sub (MISSING): add lgamma_r.obj and
9000 Thu Feb 7 10:39:21 2008 Tanaka Akira <akr@fsij.org>
9002 * math.c (math_gamma): new method Math.gamma.
9003 (math_lgamma): new method Math.lgamma.
9005 * include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA.
9006 (lgamma_r): declared unless HAVE_LGAMMA_R.
9008 * configure.in (tgamma): check for replacement functions.
9011 * missing/tgamma.c: new file. based on gamma.c from
9012 "C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook
9013 in C language) (Gijyutsu hyouron sha, Tokyo, 1991)
9014 by Haruhiko Okumura.
9016 * missing/lgamma_r.c: ditto.
9018 * LEGAL (missing/tgamma.c): describe as public domain.
9019 (missing/lgamma_r.c): ditto.
9021 Thu Feb 7 09:05:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9023 * ext/nkf/nkf-utf8/nkf.c (nkf_enc_from_index): BINARY does not
9024 have in-bound encoding index.
9026 Thu Feb 7 04:26:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
9028 * enc/trans/korean.c: add EUC-KR conversion support by Park Ji-In.
9031 Wed Feb 6 01:47:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9033 * hash.c (rb_hash_flatten): do not flatten recursively by default.
9036 Wed Feb 6 00:50:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9038 * insns.def (adjuststack): never use INC_SP with minus value because
9039 some compilers cannot deal it correctly. use DEC_SP instead.
9041 Wed Feb 6 00:48:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
9043 * test/ruby/test_hash.rb: add tests to achieve over 90% test coverage
9046 * test/ruby/test_env.rb: ditto.
9048 Wed Feb 6 00:24:49 2008 Yusuke Endoh <mame@tsg.ne.jp>
9050 * hash.c (env_rassoc): remove access to free'd environment on mswin32.
9052 Tue Feb 5 21:57:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
9054 * vm.c (rb_call_super): pass a passed block when super is called via
9055 rb_call_super. [ruby-dev:33598]
9057 Tue Feb 5 11:14:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9059 * lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR.
9061 * lib/mkmf.rb (install_files): rejects files matching to
9064 * lib/mkmf.rb (init_mkmf): defaults $NONINSTALLFILES to backup and
9067 Mon Feb 4 21:52:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9069 * lib/delegate.rb (DelegateClass): use define_method instead of
9070 module_eval to improve performance. [ruby-dev:33586]
9072 Mon Feb 4 16:44:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9074 * configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L.
9077 Mon Feb 4 14:51:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9079 * parse.y (rb_enc_symname2_p): support "!", "!=" and "!~".
9082 Mon Feb 4 13:58:42 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9084 * lib/delegate.rb (Delegator.preserved, DelegateClass.methods): extend
9085 shouldn't be delegated. [ruby-dev:32987], etc.
9087 Mon Feb 4 08:59:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9089 * lib/cgi.rb (CGI::QueryExtension::[]): no more transition
9090 extend(CGI::Value). a patch from <tommy AT tmtm.org> in
9093 Sun Feb 3 21:13:13 2008 Yusuke Endoh <mame@tsg.ne.jp>
9095 * test/ruby/test_numeric.rb: forgot to add this (at r15360).
9097 * test/ruby/test_file_exhaustive.rb: add tests to achieve over 80% test
9100 Sat Feb 2 20:06:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9102 * lib/benchmark.rb (Benchmark::realtime): make Benchmark#realtime
9103 a bit faster. a patch from Alexander Dymo <dymo AT ukrpost.ua> in
9106 Sat Feb 2 17:40:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
9108 * time.c (time_cmp): Time.<=> no longer supports comparison with
9109 numeric. [ruby-core:15332]
9111 Sat Feb 2 09:53:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9113 * configure.in (darwin): disabled fat-binary support which confuses
9114 configure much, since ``universal'' implies hidden cross-compiling.
9115 TODO: ruby and libruby.bundle might be possible to bound with `lipo'
9116 after builds for each archs. Anyway, config.h and rbconfig.rb must
9117 be separated definitely at least.
9119 Sat Feb 2 09:28:36 2008 Tanaka Akira <akr@fsij.org>
9121 * random.c (limited_big_rand): fix buffer overflow when SIZEOF_BDIGITS
9122 is 2. fixed by Kenta Murata. [ruby-dev:33565]
9124 Fri Feb 1 21:42:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9126 * configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_t
9127 consistent with the library implementation of MacOS X 10.5.
9130 * configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.
9132 Fri Feb 1 11:44:22 2008 Tanaka Akira <akr@fsij.org>
9134 * tool/compile_prelude.rb (C_ESC): use octal escape to avoid
9135 "\x09for (;;) ..." to be interpret the first character 0x9f.
9137 Thu Jan 31 23:06:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
9139 * test/ruby/test_bignum.rb: suppress warnings during test.
9141 * test/ruby/test_enum.rb: ditto.
9143 * test/ruby/test_integer.rb: add tests to achieve over 90% test
9144 coverage of numeric.c.
9146 * test/ruby/test_float.rb: ditto.
9148 * test/ruby/test_fixnum.rb: ditto.
9150 * test/ruby/test_numeric.rb: ditto.
9152 * test/ruby/test_pack.rb: add tests to achieve over 90% test coverage
9155 Thu Jan 31 17:30:42 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9157 * marshal.c (r_object0): no need to call r_entry for immediate values.
9159 Thu Jan 31 15:46:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9161 * lib/rdoc/ri/formatter.rb (output): add accessor.
9163 * lib/rdoc/ri/display.rb (page): replace @formatter.output instead of
9166 Thu Jan 31 15:06:50 2008 NARUSE, Yui <naruse@ruby-lang.org>
9168 * marshal.c (r_object0): call r_entry/r_leave to call proc when
9169 TYPE_FIXNUM, TYPE_NIL, TYPE_TRUE, TYPE_FALSE, TYPE_SYMBOL.
9171 Thu Jan 31 14:03:38 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9173 * lib/rdoc/ri/display.rb (display_method_list, display_class_list):
9174 use @formatter.raw_print_line instead of puts.
9176 * lib/rdoc/ri/driver.rb (select_methods): new method to collect all
9177 instance/class methods which match with passed pattern.
9179 * lib/rdoc/ri/driver.rb (run): use class_cache's result directly
9180 instead of select_classes' because it's removed now.
9182 * lib/rdoc/ri/driver.rb (run): search methods when passed name is not
9183 class name. [ruby-core:15309]
9185 Thu Jan 31 08:31:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9187 * common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that can
9188 be executed even with -n.
9190 Thu Jan 31 06:24:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9192 * io.c (rb_io_close_read): replaces fptr with the tied writer if
9195 * io.c (rb_io_close_write): unties the tied IO for writing if duplex.
9198 Thu Jan 31 02:22:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9200 * io.c (open_key_args): allow encoding key to take two encoding
9201 names. a patch from <rubikitch AT ruby-lang.org>. [ruby-dev:33540]
9203 Thu Jan 31 02:15:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9205 * parse.y (dsym): allow empty symbols. [ruby-core:15248]
9207 Thu Jan 31 00:01:51 2008 Tanaka Akira <akr@fsij.org>
9209 * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'.
9210 fixed by Petr Chromec.
9211 http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698
9213 Wed Jan 30 17:32:49 2008 NARUSE, Yui <naruse@ruby-lang.org>
9215 * enc/*.c: add GB12345, UCS-{2,4}{BE,LE}.
9217 Wed Jan 30 14:32:18 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9219 * lib/rdoc/ri/driver.rb (cache_file_for): shouldn't use `:' in filename.
9221 Wed Jan 30 14:27:19 2008 Tanaka Akira <akr@fsij.org>
9223 * string.c (rb_str_succ): use wrapped character as a carry for
9224 ASCII incompatible encoding.
9226 Wed Jan 30 12:26:59 2008 Tanaka Akira <akr@fsij.org>
9228 * enc/utf_16be.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
9229 (UTF16_IS_SURROGATE_SECOND): ditto.
9230 (UTF16_IS_SURROGATE): defined.
9231 (utf16be_mbc_enc_len): validation implemented.
9233 * enc/utf_16le.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
9234 (UTF16_IS_SURROGATE_SECOND): ditto.
9235 (UTF16_IS_SURROGATE): defined.
9236 (utf16le_mbc_enc_len): validation implemented.
9238 Wed Jan 30 12:06:43 2008 Tadayoshi Funaba <tadf@dotrb.org>
9240 * bignum.c (rb_cstr_to_inum): '0_2' is a valid representation.
9242 Wed Jan 30 11:57:50 2008 NARUSE, Yui <naruse@ruby-lang.org>
9244 * bootstraptest/runner.rb: fix -I../../hoge case.
9246 Wed Jan 30 01:25:16 2008 Yusuke Endoh <mame@tsg.ne.jp>
9248 * test/ruby/test_range.rb: add tests to achieve over 90% test coverage
9251 Wed Jan 30 00:09:37 2008 Tanaka Akira <akr@fsij.org>
9253 * enc/euc_tw.c (euctw_mbc_enc_len): validation implemented.
9255 Tue Jan 29 22:58:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
9257 * test/ruby/test_enumerator.rb: add tests to achieve over 90% test
9258 coverage of enumerator.c.
9260 * test/ruby/test_enum.rb: add for enum.c.
9262 Tue Jan 29 22:29:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
9264 * enumerator.c: fix documents.
9266 Tue Jan 29 22:27:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
9268 * range.c: fix SEGV by ("a" .. "z").step(2 ** 30) { }.
9270 Tue Jan 29 21:59:16 2008 Tanaka Akira <akr@fsij.org>
9272 * enc/euc_tw.c (euctw_islead): 0x8e is a leading byte.
9274 Tue Jan 29 21:55:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
9276 * bignum.c: move object allocation out of blocking_region.
9279 Tue Jan 29 20:37:36 2008 NARUSE, Yui <naruse@ruby-lang.org>
9281 * enc/trans/make_transdb.rb: add for make transdb.h.
9283 * dmytranscode.c: add for miniruby.
9285 * enc/gbk.c (gbk_left_adjust_char_head, gbk_is_allowed_reverse_match):
9286 fix odd regexp match. [ruby-dev:33502]
9288 Tue Jan 29 20:17:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9290 * {bcc32,win32}/Makefile.sub (MINIOBJS): add dmytranscode.$(OBJEXT).
9292 Tue Jan 29 19:39:40 2008 NARUSE, Yui <naruse@ruby-lang.org>
9294 * configure.in, common.mk: fix rule for dmytranscode.o.
9296 Tue Jan 29 19:03:16 2008 NARUSE, Yui <naruse@ruby-lang.org>
9298 * enc/trans/japanese.c (rb_to_Windows_31J): to 'Windows-31J'.
9300 * common.mk: add rules for transdb.h.
9302 * transcode.c (init_transcoder_table): use transdb.h.
9304 Tue Jan 29 18:05:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9306 * encoding.c (encdb_{replicate,alias,dummy,declare}): define only if
9307 NO_ENCDB_H is not defined.
9309 Tue Jan 29 17:54:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
9311 * enc/gbk.c (EncLen_gbk): too short. [ruby-dev:33497]
9313 Tue Jan 29 17:25:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
9315 * dmyencoding.c, encoding.c (enc_init_db, NO_ENCDB_H):
9316 miniruby doesn't use encdb.
9318 * common.mk: encdb.h use miniruby.
9320 Tue Jan 29 17:37:36 2008 Tanaka Akira <akr@fsij.org>
9322 * enc/gb18030.c (gb18030_mbc_enc_len): validation implemented.
9324 Tue Jan 29 17:01:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
9326 * tool/ifchange: remove $temp when unchanged.
9328 Tue Jan 29 16:59:01 2008 Tanaka Akira <akr@fsij.org>
9330 * insns.def (toregexp): generate a regexp from strings instead of one
9333 * re.c (rb_reg_new_ary): defined for toregexp. it concatenates
9334 strings after each string is preprocessed.
9336 * compile.c (compile_dstr_fragments): split from compile_dstr.
9337 (compile_dstr): call compile_dstr_fragments.
9338 (compile_dregx): defined for dynamic regexp.
9339 (iseq_compile_each): use compile_dregx for dynamic regexp.
9343 Tue Jan 29 16:25:26 2008 NARUSE, Yui <naruse@ruby-lang.org>
9345 * common.mk, ext/extmk.rb: always make encdb.h.
9347 Tue Jan 29 12:53:39 2008 NARUSE, Yui <naruse@ruby-lang.org>
9349 * enc/gbk.c: add GBK, CP936 and CP949.
9351 * enc/euc_kr.c: remove CP949.
9353 * enc/euc_cn.c: remove CP936 and rename to gb2312.c
9355 * enc/gb2312.c: GB2312 is preferred MIME name.
9357 Tue Jan 29 03:01:29 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9359 * parse.y (reg_fragment_setenc_gen): US-ASCII script special code.
9361 * parse.y (reg_fragment_check_len, reg_compile_gen): no need such
9365 * test/ruby/test_m17n.rb (test_regexp_usacii_literal): add tests.
9367 Tue Jan 29 01:38:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9369 * common.mk ($(srcdir)/revision.h): no need to show ifchange execution
9370 because ifchange echos updated or unchanged.
9372 Tue Jan 29 01:26:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9374 * common.mk (up): use last changed revision.
9376 * common.mk (up): force to update revision.h.
9378 Tue Jan 29 00:12:17 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9380 * bignum.c (rb_big2str0): should be US-ASCII.
9382 Tue Jan 29 00:10:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9384 * misc/ruby-mode.el (ruby-mode-set-encoding): updates magic comment.
9386 Mon Jan 28 23:47:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
9388 * parse.y (rb_id2str, ripper_initialize, Init_ripper):
9389 use rb_usascii_str_new2. [ruby-dev:33449]
9391 Mon Jan 28 19:37:08 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9393 * ext/win32ole/win32ole.c (ole_cp2encoding): new function.
9395 * ext/win32ole/win32ole.c (ole_wc2vstr, ole_variant2val, fole_missing):
9396 set encoding to result.
9398 * ext/win32ole/win32ole.c (fole_s_set_code_page, Init_win32ole): set
9402 Mon Jan 28 11:17:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
9404 * string.c, parse.y, re.c: use rb_ascii8bit_encoding.
9406 Mon Jan 28 17:54:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
9408 * enc/utf_7.h: add dummy encoding UTF-7 and its alias CP65000.
9410 Mon Jan 28 17:41:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9412 * enc/utf_8.c: add alias CP65001.
9414 Mon Jan 28 15:33:23 2008 Tanaka Akira <akr@fsij.org>
9416 * enc/big5.c (big5_mbc_enc_len): validation implemented.
9418 Mon Jan 28 13:02:02 2008 Tanaka Akira <akr@fsij.org>
9420 * enc/euc_kr.c (euckr_mbc_enc_len): validation implemented.
9422 Mon Jan 28 11:24:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9424 * parse.y (parser_str_new): encoding of UTF-8 literal string in
9425 US-ASCII script is UTF-8. [ruby-dev:33406]
9427 Mon Jan 28 10:25:59 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9429 * test/ruby/test_m17n.rb (test_magic_comment): add test.
9431 Mon Jan 28 09:34:54 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9433 * common.mk (help): use double quotes for nmake.
9435 Mon Jan 28 00:39:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9437 * parse.y (parser_set_encode): check if encoding is ASCII compatible.
9439 Mon Jan 28 01:21:15 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9441 * io.c (rb_open_file): should check NUL in path.
9442 <http://www.rubyist.net/~matz/20080125.html#c01>.
9444 * io.c (rb_io_s_popen): ditto.
9446 * io.c (rb_io_reopen): ditto.
9448 * io.c (next_argv): ditto.
9450 Sun Jan 27 23:33:35 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9452 * sprintf.c (rb_str_format): fix for left justify flag.
9454 * sprintf.c (rb_str_format): zero-precision zero bug revised.
9457 Sun Jan 27 23:20:54 2008 Tanaka Akira <akr@fsij.org>
9459 * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid
9461 (onigenc_mbclen_charfound): removed.
9462 (onigenc_mbclen_needmore): removed.
9463 (onigenc_mbclen_recover): removed.
9464 (ONIGENC_MBCLEN_CHARFOUND): removed.
9465 (ONIGENC_MBCLEN_CHARFOUND_P): defined.
9466 (ONIGENC_MBCLEN_CHARFOUND_LEN): defined.
9467 (ONIGENC_MBCLEN_INVALID): removed.
9468 (ONIGENC_MBCLEN_INVALID_P): defined.
9469 (ONIGENC_MBCLEN_NEEDMORE): removed.
9470 (ONIGENC_MBCLEN_NEEDMORE_P): defined.
9471 (ONIGENC_MBCLEN_NEEDMORE_LEN): defined.
9472 (ONIGENC_MBC_ENC_LEN): use onigenc_mbclen_approximate.
9474 * regenc.c (onigenc_mbclen_approximate): defined.
9476 * include/ruby/encoding.h (MBCLEN_CHARFOUND): removed.
9477 (MBCLEN_INVALID): removed.
9478 (MBCLEN_NEEDMORE): removed.
9479 (MBCLEN_CHARFOUND_P): defined.
9480 (MBCLEN_INVALID_P): defined.
9481 (MBCLEN_NEEDMORE_P): defined.
9482 (MBCLEN_CHARFOUND_LEN): defined.
9483 (MBCLEN_NEEDMORE_LEN): defined.
9485 * encoding.c: use new API.
9493 Sun Jan 27 22:55:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9495 * parse.y (value_expr_gen): reverted r12880. [ruby-dev:33388]
9497 Sun Jan 27 22:33:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9499 * sprintf.c (rb_str_format): fix for octal with precision.
9502 Sun Jan 27 22:31:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9504 * misc/ruby-mode.el (ruby-mode-set-encoding): automatically insert
9505 encoding magic comment.
9507 * misc/ruby-mode.el (ruby-mode): set ruby-mode-set-encoding to buffer
9508 local before-save-hook.
9510 Sun Jan 27 19:51:15 2008 Tanaka Akira <akr@fsij.org>
9512 * string.c (rb_str_inspect): avoid exception by
9513 "\#\xa1".force_encoding("euc-jp").inspect.
9515 Sun Jan 27 19:07:33 2008 Tanaka Akira <akr@fsij.org>
9517 * string.c (rb_str_succ): warning suppressed.
9519 Sun Jan 27 18:18:13 2008 NARUSE, Yui <naruse@ruby-lang.org>
9521 * common.mk (help): show major targets.
9523 Sun Jan 27 17:54:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
9525 * ext/nkf/nkf.c: raise error when no output encoding is given.
9527 Sun Jan 27 17:20:10 2008 Tanaka Akira <akr@fsij.org>
9529 * string.c (rb_str_succ): don't increment/decrement codepoint.
9531 Sun Jan 27 16:03:42 2008 NARUSE, Yui <naruse@ruby-lang.org>
9533 * lib/irb/ruby-lex.rb (RubyLex#buf_input): use chars.to_a.
9535 Sun Jan 27 16:27:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
9537 * ext/nkf/nkf-utf8: update nkf.
9539 Sun Jan 27 16:25:27 2008 NARUSE, Yui <naruse@ruby-lang.org>
9541 * re.c (rb_reg_source): set encoding as regexp encoding.
9543 Sun Jan 27 05:56:39 2008 Tanaka Akira <akr@fsij.org>
9545 * re.c (rb_reg_preprocess): force fixed encoding when ASCII
9546 incompatible source string.
9548 Sat Jan 26 23:46:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9550 * sprintf.c (rb_str_format): zero-precision zero should be empty.
9553 * sprintf.c (rb_str_format): not prepend octal prefix to negative or
9554 zero value. [ruby-dev:33363], [ruby-dev:33367]
9556 Sat Jan 26 23:42:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9558 * parse.y (assignable_gen, keyword_to_name): __ENCODING__ was missing.
9560 Sat Jan 26 19:08:45 2008 Tanaka Akira <akr@fsij.org>
9562 * marshal.c (w_object): dump string encoding in USERDEF.
9565 Sat Jan 26 17:42:23 2008 Koichi Sasada <ko1@atdot.net>
9567 * compile.c (iseq_compile_each): validate argument expr of "next"
9570 * bootstraptest/test_syntax.rb: add a test.
9572 Sat Jan 26 17:22:46 2008 Koichi Sasada <ko1@atdot.net>
9574 * compile.c, compile.h: fix to calculate correct stack depth
9575 at each instruction.
9577 Sat Jan 26 09:41:02 2008 NARUSE, Yui <naruse@ruby-lang.org>
9579 * lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
9582 * test/json/{test_json.rb, test_json_unicode.rb}:
9585 Sat Jan 26 09:30:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9587 * include/ruby/encoding.h (rb_usascii_encindex): added prototype.
9589 * include/ruby/intern.h (rb_usascii_str_new, rb_usascii_str_new2):
9592 Sat Jan 26 09:17:13 2008 NARUSE, Yui <naruse@ruby-lang.org>
9594 * string.c (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when
9595 empty string (len == 0).
9597 Sat Jan 26 03:41:53 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9599 * parse.y (parser_initialize): set default script encoding as US-ASCII.
9601 * ruby.c (load_file): ditto.
9603 * ruby.c (process_options): set script encoding of -e from locale
9604 except when -K is specified.
9606 * ruby.c (load_file): set script encoding of stdin from locale except
9607 when -K is specified. [ruby-dev:33375]
9609 Sat Jan 26 02:51:06 2008 Koichi Sasada <ko1@atdot.net>
9611 * compile.c, compile.h: fix stack pointer issues.
9612 calculate correct stack depth at compile time.
9614 * insns.def (emptstack): remove it and add a new insn "adjuststack".
9616 * bootstraptest/test_knownbug.rb: move/remove fixed test.
9618 * bootstraptest/test_syntax.rb: ditto.
9620 Sat Jan 26 00:17:18 2008 NARUSE, Yui <naruse@ruby-lang.org>
9622 * string.c (rb_str_usascii_new{,2}: defined.
9623 (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when empty
9626 * encoding.c (rb_usascii_encoding, rb_usascii_encindex): defined.
9627 (rb_enc_inspect, enc_name, rb_locale_charmap, rb_enc_name_list_i):
9628 use rb_str_ascii_new.
9630 * array.c (recursive_join, inspect_ary): ditto.
9632 * object.c (nil_to_s, nil_inspect, true_to_s, false_to_s,
9633 rb_mod_to_s): ditto.
9635 * hash.c (inspect_hash, rb_hash_inspect, rb_f_getenv, env_fetch,
9636 env_clear, env_to_s, env_inspect): ditto.
9638 * numeric.c (flo_to_s, int_chr, rb_fix2str): ditto.
9640 * bignum.c (rb_big2str): ditto.
9642 * file.c (rb_file_ftype, rb_file_s_dirname, rb_file_s_extname,
9643 file_inspect_join, Init_file): ditto.
9645 * test/ruby/test_ruby_m17n.rb: add checks for encoding of string.
9647 Sat Jan 26 01:35:46 2008 Tanaka Akira <akr@fsij.org>
9649 * marshal.c (r_byte): use getbyte instead of getc.
9650 (marshal_load): ditto.
9653 Sat Jan 26 00:43:40 2008 Tanaka Akira <akr@fsij.org>
9655 * io.c (rb_io_getline_fast): don't care ASCII incompatible encoding.
9656 (prepare_getline_args): generate a newline according to IO encoding
9658 (rb_io_getline_1): call rb_io_getline_fast only for ASCII
9659 compatible encoding.
9661 Fri Jan 25 21:49:36 2008 Tanaka Akira <akr@fsij.org>
9663 * string.c (rb_str_buf_cat_ascii): use rb_enc_cr_str_buf_cat.
9665 Fri Jan 25 19:38:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9667 * common.mk (version.$(OBJEXT)): depends on $(srcdir)/revision.h.
9669 * common.mk (revision.h): extracts revision number with ``svn info''.
9671 * common.mk (up): target to update from the repository.
9673 * Makefile.in, {win,bcc}32/Makefile.sub (IFCHANGE): tool to update a
9676 * tool/ifchange: for unixen.
9678 * win32/ifchange.bat: some fix
9680 Fri Jan 25 17:12:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9682 * ruby.c (load_file): set default to ASCII-8BIT explicitly if -K
9683 option is not given.
9685 Fri Jan 25 16:31:47 2008 Tanaka Akira <akr@fsij.org>
9687 * include/ruby/intern.h (rb_str_buf_cat_ascii): declared.
9689 * string.c (rb_str_buf_cat_ascii): defined.
9691 * re.c (rb_reg_s_union): use rb_str_buf_cat_ascii to support ASCII
9692 incompatible encoding.
9694 Fri Jan 25 16:11:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9696 * ruby.c (process_options, load_file, rb_load_file): propagates script
9697 encoding by -K to libraries. [ruby-dev:33156]
9699 Fri Jan 25 15:56:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9701 * ruby.c (cmdline_arguments): split argc and argv from cmdline_options.
9703 * ruby.c (process_options): not set encoding of -e option from -E
9704 option if they are not compatible.
9706 Fri Jan 25 13:15:23 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9708 * ruby.c (proc_options, process_options, load_file): shouldn't effect
9709 --encoding to script encoding. [ruby-dev:33169]
9711 Fri Jan 25 10:31:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9713 * */*.bat: set svn:mime-type to text/batch.
9715 Thu Jan 24 23:23:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
9717 * enum.c (enum_one, enum_take_while, enum_drop_while): fix documents.
9719 Thu Jan 24 21:46:24 2008 Tanaka Akira <akr@fsij.org>
9721 * parse.y (reg_fragment_setenc_gen): associate ASCII-8BIT only if
9722 str has only ASCII characters.
9724 Thu Jan 24 20:46:17 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9726 * test/ruby/test_m17n.rb: follow to the following changes.
9728 Thu Jan 24 20:21:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9730 * parser.y (parser_str_new): automatically update string literal's
9731 encoding from US-ASCII to ASCII-8BIT when script encoding is US-ASCII
9732 and the string includes non-ascii bytes. [ruby-dev:33348]
9734 * parser.y (reg_fragment_check_gen, reg_compile_gen): automatically
9735 update regexp literal's encoding from US-ASCII to ASCII-8BIT when
9736 script encoding is US-ASCII, the regexp has no kcode option and the
9737 regexp includes non-ascii bytes. [ruby-dev:33353]
9739 Thu Jan 24 19:36:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9741 * lib/uri/generic.rb (URI::Generic::inspect): use Kernel#to_s instead
9742 object_id with printf. [ruby-dev:33347]
9744 Thu Jan 24 19:29:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9746 * sprintf.c (remove_sign_bits): returns pointer to the first char to
9747 be used, instead of copying.
9749 * sprintf.c (rb_str_format): negative indicator dots should come
9750 before sign digits always. [ruby-dev:33224]
9752 Thu Jan 24 18:19:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9754 * include/ruby/encoding.h (rb_enc_is_newline): parenthesized arguments.
9756 Thu Jan 24 18:14:14 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9758 * re.c (rb_reg_fixed_encoding_p): no need to treat ASCII-8BIT specially.
9760 Thu Jan 24 16:53:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9762 * re.c (rb_reg_initialize): 7bit clean regexp should be US-ASCII.
9765 Thu Jan 24 16:31:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9767 * io.c (rb_io_getline_fast): the end point of left_char_head()
9768 must be the last character. [ruby-cvs:22445]
9770 Thu Jan 24 16:24:25 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9772 * parse.y (reg_fragment_setenc_gen): recognize regexp with option n as
9773 as ASCII-8BIT instead of US-ASCII. [ruby-dev:33339]
9775 Thu Jan 24 15:44:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9777 * array.c (collect_bang_i): use rb_ary_store() to avoid potential
9778 memory corruption. a patch from Yusuke Endoh <mame@tsg.ne.jp>
9779 in [ruby-dev:33328].
9781 * array.c (ITERATE): remove unnecessary macro.
9783 * array.c (sort_1): remove ary_sort_check(). in-place sort keep
9784 original elements even when it's modified.
9786 * array.c (sort_2): ditto.
9788 Thu Jan 24 15:09:40 2008 Tanaka Akira <akr@fsij.org>
9790 * time.c (make_time_t): revert round trip test. [ruby-dev:33058]
9792 Thu Jan 24 11:14:56 2008 Tanaka Akira <akr@fsij.org>
9794 * string.c (rb_enc_cr_str_buf_cat): ASCII incompatible encoding is
9795 not compatible with any other encoding.
9797 Thu Jan 24 07:34:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
9799 * parse.y (STR_NEW0): set encoding as US-ASCII.
9801 Thu Jan 24 03:47:41 2008 NARUSE, Yui <naruse@ruby-lang.org>
9803 * lib/rexml/text.rb, lib/rubygems/open-uri.rb, lib/open-uri.rb,
9804 test/logger/test_logger.rb, test/ruby/test_regexp.rb:
9805 fix tests. [ruby-dev:33336]
9807 Thu Jan 24 03:23:44 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9809 * string.c (rb_str_each_line): use memchr(3) for faster newline
9812 * io.c (appendline): remove unused arguments
9814 * io.c (rb_io_getline_fast): make much simpler (and faster).
9816 Thu Jan 24 02:13:07 2008 Yusuke Endoh <mame@tsg.ne.jp>
9818 * insns.def (expandarray): fix stack inc. [ruby-dev:32892]
9820 * bootstraptest/test_knownbug.rb, test_massign.rb: move a fixed test.
9822 Thu Jan 24 01:00:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
9824 * encoding.{c, h} (rb_usascii_encoding): added.
9826 * parse.y (parser_str_new, rb_intern3): ascii only string literal is
9829 * ruby.c (proc_optionc): -Kn means ASCII-8BIT.
9831 Wed Jan 23 23:54:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
9833 * sprintf.c: fix comment. [ruby-dev:33275]
9835 * math.c: fix comment. [ruby-dev:33276]
9837 Wed Jan 23 22:47:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
9839 * test/ruby/test_struct.rb: add tests to achieve over 90% test
9840 coverage of struct.c.
9842 * test/ruby/test_sprintf.rb: ditto for sprintf.c.
9844 * test/ruby/test_math.rb: ditto for math.c.
9846 Wed Jan 23 22:14:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9848 * enc/trans/japanese.c (rb_from_Windows_31J, rb_to_Windows_31J):
9849 provisional workaround for Windows-31J. [ruby-dev:33320]
9851 Wed Jan 23 15:25:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9853 * time.c (time_strftime): copy encoding from format. [ruby-dev:33303]
9855 Wed Jan 23 15:04:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9857 * string.c (str_make_independent): should set length.
9859 * string.c (rb_str_associate): hide associated array from ObjectSpace.
9861 * string.c (rb_str_associated): return associated array with freezing
9862 instead of false. [ruby-dev:33282]
9864 * string.c (rb_str_freeze): freeze associated array together.
9866 Wed Jan 23 13:39:48 2008 Tanaka Akira <akr@fsij.org>
9868 * re.c (rb_reg_prepare_re): fix SEGV by
9869 /a/ =~ "aa".force_encoding("utf-16be").
9871 Wed Jan 23 11:53:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9873 * string.c (str_mod_check, str_nth, str_offset): constified.
9875 * string.c (rb_str_dump): dump in ASCII-8BIT always.
9877 Wed Jan 23 10:18:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9879 * eval_method.c (rb_export_method): set ruby_vm_redefined_flag for
9880 visibility change as well. reported by K.Kosako in
9881 http://d.hatena.ne.jp/kkos/20080122#1201012720.
9883 Tue Jan 22 22:26:23 2008 Yusuke Endoh <mame@tsg.ne.jp>
9885 * test/ruby/test_bignum.rb: change some tests because rational
9886 redefines Bignum#quo and Bignum#**.
9888 Tue Jan 22 20:58:15 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9890 * lib/mkmf.rb (create_makefile): need to output sodir rule.
9892 Tue Jan 22 19:37:16 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9894 * lib/mkmf.rb (create_makefile): lib files shouldn't depend on install
9895 dir because if the dir is newer than lib files, lib files will be
9898 Tue Jan 22 17:52:52 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
9900 * enc/trans/utf_16_32.c: Streamline parentheses, add more
9901 'static' qualifiers.
9903 Tue Jan 22 12:57:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9905 * configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) from
9906 MINIRUBY since miniruby might not be able to load DLL.
9908 * test/ruby/test_m17n.rb: move tests from bootstrap test.
9910 * encoding.c (enc_find): should check name if ASCII compatible.
9912 * string.c (rb_str_end_with): should check character boundary.
9914 * encoding.c (rb_enc_compatible): encoding must be ASCII
9915 compatible before checking ENC_CODERANGE_7BIT.
9917 * encoding.c (rb_enc_compatible): wrong compatibility condition.
9920 Tue Jan 22 09:26:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9922 * string.c (rb_str_each_char): iterates over a shadow.
9925 Tue Jan 22 08:59:52 2008 Eric Hodel <drbrain@segment7.net>
9927 * lib/rdoc/ri/formatter.rb: Indent labeled lists like note lists.
9929 * test/rdoc/test_rdoc_ri_overstrike_formatter.rb: Added.
9931 * test/rdoc/test_rdoc_ri_formatter.rb: Added tests.
9933 Tue Jan 22 04:40:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9935 * parse.y (rb_intern3): do not call rb_enc_mbclen() if *m is
9936 ASCII. [ruby-talk:287225]
9938 * string.c (rb_str_each_line): use rb_enc_is_newline() to gain
9939 performance if the record separator ($/) is not modified.
9941 Tue Jan 22 01:15:51 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
9943 * ChangeLog: format-time-string under C locale. [ruby-dev:33261]
9945 Tue Jan 22 00:45:12 2008 Yusuke Endoh <mame@tsg.ne.jp>
9947 * test/ruby/test_bignum.rb: add tests for bignum.c.
9949 Tue Jan 22 00:30:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
9951 * bignum.c (big_shift): fix a bug that caused infinite loop when
9954 Mon Jan 21 20:09:38 2008 Tadayoshi Funaba <tadf@dotrb.org>
9956 * lib/date.rb (marshal_load): initialize the cache.
9958 Mon Jan 21 19:42:42 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
9960 * transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb:
9961 added UTF-32BE and UTF-32LE conversions.
9963 Mon Jan 21 14:36:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9965 * transcode.c (str_transcode): initialize transcoder in
9966 rb_transcoding. [ruby-dev:33234]
9968 * transcode_data.h (rb_transcoding): transcoder constified.
9970 Mon Jan 21 12:50:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9972 * eval.c, gc.c (setjmp): sigsetjmp is a macro on cygwin.
9974 Mon Jan 21 12:35:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9976 * transcode.c (transcode_loop, str_transcoding_resize): use unsigned
9977 char. [ruby-dev:33232]
9979 * transcode_data.h (rb_transcoding, rb_transcoder): removed callback
9982 * enc/trans/japanese.c: ditto.
9984 * enc/trans/utf_16_32.c: parenthesized bit-or operands.
9986 Mon Jan 21 11:59:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9988 * string.c (rb_str_each_char): move forward. [ruby-dev:33231]
9990 Mon Jan 21 06:40:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9992 * transcode.c (transcode_dispatch): constified return value.
9994 * transcode_data.h (rb_transcoding): include pointer to rb_transcoder
9997 * transcode_data.h (rb_transcoder): all callback functions should have
9998 their own parameters.
10000 * enc/trans/{japanese,single_byte}.c: constified.
10002 Mon Jan 21 03:45:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10004 * string.c (rb_str_each_char): advance offset before get next char
10005 length. [ruby-dev:33211]
10007 Sun Jan 20 20:00:20 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
10009 * transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb:
10010 added UTF-16LE conversions.
10012 * fixed changelog for last commit
10014 Sun Jan 20 17:54:00 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
10016 * added changelog for last commit
10018 Sun Jan 20 15:08:08 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
10020 * enc/trans/utf_16_32.c: new file, currently implementing
10021 UTF-16BE conversions only.
10023 * test/ruby/test_transcode.rb: Added tests for UTF-16BE;
10024 made check_both_ways() use force_encoding differently.
10026 * transcode_data.h, transcode.c: Support for more conversion
10029 Sun Jan 20 13:06:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10031 * string.c (rb_str_each_char): performance improvement, and stop if
10032 shortened in the block. [ruby-dev:33189]
10034 Sun Jan 20 09:12:26 2008 NARUSE, Yui <naruse@ruby-lang.org>
10036 * common.mk: use -Ks when read insns.def. [ruby-dev#33185]
10038 * parse.y: fix -e and stdin strings aren't set encoding.
10040 Sun Jan 20 05:12:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
10042 * enc/make_encdb.rb: fix duplication check.
10044 Sun Jan 20 05:03:46 2008 NARUSE, Yui <naruse@ruby-lang.org>
10046 * ascii.c: remove definition of replica KOI8-U.
10048 Sun Jan 20 00:33:59 2008 NARUSE, Yui <naruse@ruby-lang.org>
10050 * enc/koi8_u.c: added.
10052 * regenc.c, enc/utf_8.c, enc/unicode.c, enc/gb18030.c: add ARG_UNUSED.
10054 Sat Jan 19 22:41:39 2008 Tanaka Akira <akr@fsij.org>
10056 * string.c (coderange_scan): don't call mbclen functions for ASCII
10057 characters with ASCII compatible encoding.
10059 Sat Jan 19 21:00:34 2008 Tanaka Akira <akr@fsij.org>
10061 * lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant
10062 error by `./ruby test/rubygems/test_gem_server.rb'.
10064 Sat Jan 19 20:41:29 2008 Tanaka Akira <akr@fsij.org>
10066 * encoding.c (enc_new): don't free rb_encoding to avoid SEGV by
10067 `miniruby -e exit' on x86_64 GNU/Linux.
10069 Sat Jan 19 18:40:19 2008 Tadayoshi Funaba <tadf@dotrb.org>
10071 * lib/date.rb (once): use an instance variable which points a hash
10072 as cache. [experimental]
10074 Sat Jan 19 17:21:29 2008 Tadayoshi Funaba <tadf@dotrb.org>
10076 * lib/date.rb, lib/date/format.rb: parse's hints as an
10077 experimental function has been removed.
10079 Sat Jan 19 11:21:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10081 * configure.in (sigsetjmp): check if available.
10083 * eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available.
10085 Sat Jan 19 11:10:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10087 * configure.in: Remove wrong assumptions about Cygwin. a patch from
10088 Corinna Vinschen in [ruby-Bugs-17018].
10090 Sat Jan 19 09:23:14 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
10092 * ext/win32ole/win32ole.c (ole_set_safe_array): should not use
10095 * test/win32ole/test_win32ole_variant.rb: ditto.
10097 Sat Jan 19 08:58:47 2008 Eric Hodel <drbrain@segment7.net>
10099 * lib/rdoc/markup: Remove ListBase and Line constants.
10101 * lib/rdoc/ri: Allow output IO to be specified.
10103 * test/rdoc/parser/test_parse_c.rb: Move up one level, fixed.
10105 * test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to
10106 match new class name, updated to match new classes.
10108 * test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests.
10110 * test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of
10111 RDoc::RI::AttributeManager tests.
10113 * test/rdoc/test_simple_markup.rb: Moved to match new class name.
10115 Sat Jan 19 08:35:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10117 * parse.y (parser_prepare): get encoding from the first line.
10120 * ruby.c (load_file): set encoding to input with set_encoding.
10122 Sat Jan 19 03:46:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10124 * thread.c (thread_create_core): prohibit thread creation in the
10125 frozen thread group. a patch in [ruby-dev:33176] from sheepman
10126 <sheepman AT sheepman.sakura.ne.jp>.
10128 * thread.c (thread_create_core): should inherit ThreadGroup from
10129 the current thread.
10131 Sat Jan 19 00:37:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10133 * sprintf.c (rb_str_format): set result encoding for wider width.
10135 Sat Jan 19 00:13:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10137 * thread_win32.c (w32_wait_events): shouldn't invoke interrupt handle
10140 Fri Jan 18 23:49:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10142 * thread.c (thread_create_core): set thread group before creating
10145 Fri Jan 18 20:19:51 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10147 * parse.y (ripper_initialize): too early to set parser->enc.
10149 Fri Jan 18 20:03:05 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10151 * win32/setup.mak (BASERUBY): nmake cannot execute ruby correctly
10152 if the path of ruby.exe is quoted.
10154 * win32/setup.mak ($(ARCH)): if a macro is appended by $(APPEND),
10155 a space will be inserted on the top of the line.
10157 Fri Jan 18 17:56:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10159 * eval_intern.h, insnhelper.h, thread_pthread.h, vm_core.h, vm_opts.h:
10160 prefixed include guards with RUBY.
10162 * id.h: added include guard.
10164 * regenc.h, regint.h, regparse.h: prefixed include guards with
10167 Fri Jan 18 15:57:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10169 * thread.c (thread_cleanup_func): ignore errors from destroying mutex
10170 of dead thread. [ruby-core:15069]
10172 * thread_pthread.c, thread_win32.c (native_thread_destroy): ditto.
10174 Fri Jan 18 15:56:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10176 * encoding.c (rb_enc_name_list_i, rb_enc_aliases_enc_i): freeze
10177 element strings to be returned.
10179 Fri Jan 18 14:36:34 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
10181 * test/ruby/test_m17n.rb (test_str_dump): added test for
10182 String#dump. [ruby-dev:33142]
10184 Fri Jan 18 12:25:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10186 * encoding.c (load_encoding): check if successfully loaded.
10188 * encoding.c (rb_enc_find_index): use original encoding name to
10189 replicate loaded encoding instead alias.
10191 Fri Jan 18 09:43:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10193 * re.c (rb_char_to_option_kcode): Regexp switch `s' should mean
10194 Windows-31J, as wells as `-Ks'.
10196 Fri Jan 18 09:22:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10198 * parse.y (parser_initialize): explicitly call rb_ascii8bit_encoding().
10200 * parse.y (parser_prepare): lex_input may not be have encoding (e.g. IO).
10202 * parse.y (rb_parser_compile_string): set encoding from input string.
10204 * encoding.c (rb_enc_find_index): use ASCII-8BIT if loading known
10207 * parse.y (ripper_initialize): move parser->enc initialization.
10209 * encoding.c (rb_enc_aliases_enc_i): exclude non alias names from
10212 * encoding.c (rb_enc_find_index): use original encoding name to
10215 Fri Jan 18 07:06:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10217 * io.c (Init_IO): stdin/stdout may not be duplex.
10219 Fri Jan 18 04:27:57 2008 Eric Hodel <drbrain@segment7.net>
10221 * sample/rdoc/markup/rdoc2latex.rb: Fix for new namespacing.
10223 * lib/rdoc/markup/to_latex.rb: Fix namespacing.
10225 Fri Jan 18 02:02:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10227 * bootstraptest/runner.rb (assert_valid_syntax): added.
10229 * bootstraptest/test_knownbug.rb: added test for [ruby-list:44479]
10231 Fri Jan 18 01:48:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10233 * vm_insnhelper.c (vm_call_method): check argument number to
10234 attr_reader. [ruby-core:15120]
10236 Fri Jan 18 00:49:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10238 * io.c (rb_io_check_readable): flush tied write IO too.
10240 * io.c (Init_IO): tie stdin with stdout. [ruby-core:15107]
10242 Fri Jan 18 00:23:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10244 * encoding.c (enc_free): removed since rb_encoding may be used while
10247 Fri Jan 18 00:17:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10249 * enc/euc_cn.c: split from enc/euc_kr.c.
10251 Fri Jan 18 00:03:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10253 * ext/stringio/stringio.c (strio_init): use default external encoding
10254 if nothing is given. a patch from sheepman <sheepman AT
10255 sheepman.sakura.ne.jp> in [ruby-dev:33159].
10257 Thu Jan 17 23:56:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10259 * common.mk (encdb.h): give output file name to make_encdb.rb.
10261 * encoding.c (enc_table): simplified.
10263 * encoding.c (enc_register_at): lazy loading. [ruby-dev:33013]
10265 * regenc.h (ENC_DUMMY): added.
10267 * enc/make_encdb.rb: now emits macros only.
10269 * enc/iso_2022_jp.h: split from encoding.c.
10271 Thu Jan 17 21:48:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10273 * re.c (rb_char_to_option_kcode): fixed typo.
10275 Thu Jan 17 21:01:25 2008 Tadayoshi Funaba <tadf@dotrb.org>
10277 * lib/date.rb (Date::Infinity#<=>): didn't work. A patch from
10278 Dirkjan Bussink <d.bussink AT gmail.com> [ruby-core:15098].
10279 This is a bug obviously. However it didn't affect the library's
10282 * lib/date.rb, lib/date/format.rb: some trivial changes.
10284 Thu Jan 17 13:07:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10286 * string.c (rb_str_dump): preserve the encoding of source string
10287 if it is ASCII compatible. otherwise, add '.force_encoding()'
10288 for ugly work around. maybe we should implement some other way
10289 to keep non ASCII encoding in dumped string. [ruby-dev:33142]
10291 Thu Jan 17 10:30:32 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10293 * io.c (io_fwrite): always flush IO on tty, even without newlines.
10296 Wed Jan 16 22:45:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10298 * encoding.c (enc_register_at): make own copy. [ruby-dev:33136]
10300 Wed Jan 16 18:03:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10302 * io.c (pipe_open, rb_io_s_popen): clear temporary object to release
10303 and prevent from GC.
10305 Wed Jan 16 17:55:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10307 * numeric.c (fix_quo): typo. a patch from Shin-ichiro HARA
10308 <sinara AT blade.nagaokaut.ac.jp> in [ruby-dev:33130]
10310 Wed Jan 16 17:36:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10312 * test/test_delegate.rb: add new test file for delegate.rb.
10314 Wed Jan 16 16:14:00 2008 Akinori MUSHA <knu@iDaemons.org>
10316 * ruby.1: Fix grammar.
10318 Wed Jan 16 15:26:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10320 * file.c (sys_fail2): get rid of unlimited alloca.
10322 * io.c (mode_enc, pipe_open, rb_io_s_popen): ditto.
10324 * load.c (rb_feature_p): ditto.
10326 * object.c (rb_cstr_to_dbl): ditto.
10328 * io.c (mode_enc): fixed uninitialized variable.
10330 Wed Jan 16 12:51:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10332 * include/ruby/intern.h (rb_str_tmp_new, rb_str_shared_replace):
10335 Tue Jan 15 23:52:51 2008 NARUSE, Yui <naruse@ruby-lang.org>
10337 * enc/*: add ARG_UNUSED.
10339 * enc/koi8_u.c: added.
10341 Tue Jan 15 23:00:08 2008 NARUSE, Yui <naruse@ruby-lang.org>
10343 * enc/utf_{16,32}{be,le}.c: remove some ARG_UNUSED. replace struct
10344 OnigEncodingST by OnigEncoding.
10346 Tue Jan 15 22:30:43 2008 NARUSE, Yui <naruse@ruby-lang.org>
10348 * encoding.c (ENC_REGISTER): use &OnigEncoding*.
10349 (ENCINDEX_UTF_8): renamed from ENCINDEX_UTF8.
10350 (rb_enc_init): use ENC_REGISTER.
10352 * include/ruby/oniguruma.h (OnigEncodingUTF8, ONIG_ENCODING_UTF8):
10355 * enc/*.c: remove use of &encoding_*; use enc argument instead.
10357 Tue Jan 15 18:44:46 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10359 * enc/utf_8.c: remove use of ONIG_ENCODING_UTF8 altogether; use
10360 enc argument instead.
10362 Tue Jan 15 18:05:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10364 * enc/utf_8.c (ONIG_ENCODING_UTF8): reverted.
10366 Tue Jan 15 18:01:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10368 * win32/Makefile.sub (MKFILES): add dependencies.
10370 Tue Jan 15 18:00:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10372 * enc/utf_8.c (OnigEncodingDefine): encoding name should be kept
10375 Tue Jan 15 17:53:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10377 * enc/utf_8.c: renamed as IANA name.
10379 * enc/Makefile.in: ditto.
10381 Tue Jan 15 16:59:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10383 * ruby.c (proc_options): encoding libraries cannot be loaded until
10386 Tue Jan 15 15:09:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10388 * win32/setup.mak: strip out empty lines from CPP output.
10390 Tue Jan 15 14:57:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10392 * {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full path
10393 to get rid of ./ruby.exe.
10395 * win32/enc-setup.mak: workaround for Borland make.
10397 Tue Jan 15 14:44:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10399 * encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.
10401 Tue Jan 15 13:54:41 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10403 * {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir when
10406 Tue Jan 15 13:43:18 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10408 * common.mk (us_ascii.o): add dependencies. [ruby-dev:33111]
10410 Tue Jan 15 03:41:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10412 * eval.c (eval): check if backtrace is empty. [ruby-core:15040]
10414 Tue Jan 15 01:28:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10416 * common.mk: simplified dummy objects dependencies.
10418 Tue Jan 15 01:19:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10420 * common.mk (OBJS): moved encoding.o from COMMONOBJS.
10422 * common.mk (dmyencoding.o): added. [ruby-dev:33099]
10424 * configure.in, {win,bcc}32/Makefile.sub (MINIOBJS): added
10427 * dmyencoding.c (rb_locale_charmap): returns nil for miniruby.
10429 Tue Jan 15 00:05:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10431 * io.c (appendline): specifying limit should not generate broken
10432 byte sequence. strings should be rounded. [ruby-dev:33088]
10434 Mon Jan 14 23:33:02 2008 NARUSE, Yui <naruse@ruby-lang.org>
10436 * ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.
10438 Mon Jan 14 23:31:05 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10440 * configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
10442 * bootstraptest/runner.rb (main): expand -I directory path.
10444 Mon Jan 14 23:28:10 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10446 * win32/enc-setup.mak (BUILTIN_ENCOBJS): depends on enc/Makefile.in.
10448 Mon Jan 14 22:48:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10450 * re.c (rb_char_to_option_kcode): use rb_enc_find_index() instead
10451 of using fixed index value.
10453 * enc/Makefile.in (encsrcdir): make US-ASCII built-in.
10455 Mon Jan 14 22:25:02 2008 WATANABE Hirofumi <eban@ruby-lang.org>
10457 * golf_prelude.rb: Shorter method name completion. Same method
10458 used for const missing. do_while and do_until added. Enumerator
10459 gains all of Array's abilities. Ex:
10460 '123'.m{|i|i*2} #=> "112233"
10461 '123'.pe #=> '123'.perm*' ' #=> "123 132 213 231 312 321"
10462 base on a patch from Darren Smith <darrenks AT ml1.net>.
10464 Mon Jan 14 21:10:02 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10466 * enc/us_ascii.c: wrong alias name: ANSI_X3.4-1986.
10468 * rubytest.rb: add -I#{srcdir} to load encoding DLL.
10470 Mon Jan 14 18:53:58 2008 Koichi Sasada <ko1@atdot.net>
10472 * thread.c: clear thread structure.
10473 (TODO: survey that child process should clear mutex or not).
10475 * bootstraptest/test_knownbug.rb, test_thread.rb: move a fixed test.
10477 Mon Jan 14 18:43:38 2008 Koichi Sasada <ko1@atdot.net>
10479 * bootstraptest/runner.rb: add "flunk" method.
10481 * bootstraptest/test_knownbug.rb: fix to use flunk.
10483 Mon Jan 14 18:10:59 2008 Koichi Sasada <ko1@atdot.net>
10485 * vm.h: remove dangerous assembler sentence.
10487 Mon Jan 14 18:06:37 2008 NARUSE, Yui <naruse@ruby-lang.org>
10489 * encoding.c (rb_locale_encoding): return US-ASCII when charmap is
10492 Mon Jan 14 16:12:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10494 * lib/shellwords.rb: scape should be an alias to shellescape. a
10495 patch from Masahiro Kawato <m-kawato AT mwb.biglobe.ne.jp> in
10498 Mon Jan 14 16:09:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10500 * ruby.1: a patch to describe --encoding. a patch from Yugui
10501 <yugui AT yugui.sakura.ne.jp> in [ruby-dev:33079].
10505 Mon Jan 14 13:49:26 2008 Tanaka Akira <akr@fsij.org>
10507 * re.c (rb_reg_prepare_re): initialize error message buffer.
10508 (rb_reg_search): ditto.
10509 (rb_reg_check_preprocess): ditto.
10510 (rb_reg_new_str): ditto.
10511 (rb_enc_reg_new): ditto.
10512 (rb_reg_compile): ditto.
10513 (rb_reg_initialize_m): ditto.
10514 (rb_reg_s_union_m): ditto.
10516 Mon Jan 14 12:33:07 2008 Eric Hodel <drbrain@segment7.net>
10518 * lib/rdoc/markup*: Renamespace from SM::SimpleMarkup to
10521 Mon Jan 14 10:45:45 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
10523 * enc/ascii.c: Exchanged order of arguments for one ENC_ALIAS
10525 Mon Jan 14 09:19:07 2008 Tadayoshi Funaba <tadf@dotrb.org>
10527 * lib/time.rb: do not reference Time directly from the inside of
10528 definitions. [ruby-dev:33059]
10530 Mon Jan 14 05:44:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
10532 * enc/*.c: add replicas and aliases.
10534 * enc/make_encdb.h: add duplicate and undefined check.
10536 Mon Jan 14 02:03:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
10538 * include/ruby/oniguruma.h: remove ONIG_ENCODING_* and OnigEncoding*
10539 which are not builtin.
10541 * regenc.{c,h} (onigenc_mb2_code_to_mbclen, onigenc_mb4_code_to_mbclen):
10544 * enc/big5.c, enc/euc_kr.c, enc/euc_tw.c, enc/gb18030.c,
10545 enc/koi8_r.c, enc/windows_1251.c: imported from Oniguruma.
10547 Sun Jan 13 22:47:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
10549 * enc/make_encdb.h: sort encoding names by original name.
10551 * encoding.c, enc/*.c: define replicas and aliases.
10553 Sun Jan 13 20:24:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
10555 * encoding.c: add documents.
10557 Sun Jan 13 18:41:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10559 * encoding.c (Init_Encoding): moved initialization from encdb.h.
10561 * enc/make_encdb.rb (enc_name_list): constified.
10563 * enc/make_encdb.rb (enc_init_db): moved some functions to encoding.c.
10565 Sun Jan 13 13:53:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10567 * ruby.c (load_file): local variable was not initialized when -x flag
10570 * ruby.c (load_file): script files should not be affected by locale.
10573 Sun Jan 13 12:01:32 2008 Eric Hodel <drbrain@segment7.net>
10575 * lib/rdoc/generators*: Reorganize RDoc generators.
10577 Sun Jan 13 11:41:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
10579 * encoding.c (ENCINDEX_EUC_JP, ENCINDEX_SJIS): removed.
10580 (rb_enc_init): EUC-JP and Shift_JIS are not builtin now.
10582 * enc/Makefile.in: ditto.
10584 * common.mk: ditto.
10586 * ruby.c (proc_options): ditto.
10588 * enc/shift_jis.c, enc/euc_jp.c: fixes for remove from builtin.
10590 Sun Jan 13 10:21:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10592 * encoding.c (enc_table): packed all enc_table stuff.
10594 Sun Jan 13 09:58:17 2008 NARUSE, Yui <naruse@ruby-lang.org>
10596 * encoding.c (rb_enc_init): revert removing SJIS.
10598 * enc/sjis.c: move to enc/shift_jis.c, to make encoding name equal to
10599 filename for convenience of loading lib.
10601 * enc/shift_jis.c: moved from enc/sjis.c.
10603 * common.mk: follows enc/shift_jis.c.
10605 * enc/Makefile.in: ditto.
10607 Sun Jan 13 09:22:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10609 * common.mk (incs): includes encdb.h.
10611 Sun Jan 13 09:17:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10613 * {bcc,win}32/Makefile.sub (MV): use move instead of ren. [ruby-Bugs-17019]
10615 Sun Jan 13 01:52:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10617 * enc/make_encdb.rb: should work on Ruby 1.8. [ruby-dev:33069]
10619 * common.mk (encdb.h): pass enc dir from outside to make_encdb.rb.
10621 Sun Jan 13 00:01:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
10623 * enc/make_encdb.rb: added. search enc/*.c and make encoding database.
10625 * regenc.h (ENC_REPLICATE, ENC_ALIAS): added for defining replica
10626 encoding and encoding alias.
10628 * encoding.c (rb_enc_init): move alias definitions to enc/*.c.
10629 (rb_enc_find_index): search original of replica and alias when no
10631 (rb_enc_name_list, rb_enc_aliases_enc_i, rb_enc_aliases_str_i,
10632 rb_enc_aliases, Encoding.name_list, Encoding.aliases): added.
10633 (Init_Encoding): init encdb.
10635 * enc/ascii.c, enc/us_ascii.c, enc/euc_jp.c, enc/sjis.c:
10636 add replica encoding and encoding alias definition.
10638 * common.mk (dist-clean-local): add rule for remove encdb.h.
10640 Sat Jan 12 18:27:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10642 * eval.c (rb_define_alloc_func, rb_undef_alloc_func): should
10643 define/undef on a singleton class. [ruby-core:09959]
10645 Sat Jan 12 12:44:36 2008 NARUSE, Yui <naruse@ruby-lang.org>
10647 * ext/nkf/nkf.c: rdoc update.
10649 Sat Jan 12 12:01:49 2008 Tadayoshi Funaba <tadf@dotrb.org>
10651 * lib/date.rb, lib/date/format.rb: tuning for performance.
10653 Sat Jan 12 11:29:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10655 * bootstraptest/test_proc.rb: fixed wrong expected result. pointed
10656 out by Kornelius "murphy" Kalnbach <murphy AT rubychan.de> in
10659 Sat Jan 12 04:38:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
10661 * ruby.c (process_options): -e'script' is locale encoding by default.
10662 (load_file): ruby script from stdin is locale encoding by default.
10664 Sat Jan 12 04:31:59 2008 NARUSE, Yui <naruse@ruby-lang.org>
10666 * ext/nkf/nkf-utf8/nkf.c: fix bug: -m was -m0.
10668 Fri Jan 11 23:22:31 2008 Tanaka Akira <akr@fsij.org>
10670 * string.c (string.c): call rb_str_buf_append to update encoding of
10671 str1, even if str2 is empty.
10673 Fri Jan 11 20:20:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10675 * proc.c (proc_mark): needs to mark the receiver too. a patch from
10676 Chris Heath <chris AT heathens.co.nz> in [ruby-core:14983].
10679 Fri Jan 11 18:28:49 2008 Eric Hodel <drbrain@segment7.net>
10681 * lib/rdoc/usage.rb: Removed.
10683 * lib/getoptlong.rb: Update example to not use lib/rdoc/usage.rb.
10685 Fri Jan 11 18:17:10 2008 Eric Hodel <drbrain@segment7.net>
10687 * lib/rdoc/ri/driver.rb (read_yaml): Follow namespace change
10690 Fri Jan 11 16:55:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10692 * string.c (rb_str_append): performance improvement.
10694 Fri Jan 11 12:35:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10696 * configure.in: moved broken syscall checks from process.c etc.
10698 * defines.h (WORDS_BIGENDIAN): honor __BIG_ENDIAN__ than the result of
10701 * lib/rdoc/options.rb (check_diagram): more precise check, darwin
10702 is not Windows but mingw is on it.
10704 Fri Jan 11 09:59:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
10706 * ext/nkf/nkf-utf8/nkf.c: update to r1.163.
10708 * ext/nkf/nkf.c: ASCII's canonical name is US-ASCII.
10710 * ext/nkf/lib/kconv.rb (Kconv.isjis): force_encoding('BINARY').
10712 Fri Jan 11 09:23:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
10714 * encoding.c (set_base_encoding): must use rb_enc_dummy_p.
10716 Fri Jan 11 06:13:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10718 * encoding.c (rb_to_encoding_index, rb_to_encoding): disallow nil.
10721 Fri Jan 11 01:08:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10723 * thread.c (rb_mutex_unlock): proper error message for unlocking
10724 mutex that is not locked. a patch from Yusuke ENDOH
10725 <mame at tsg.ne.jp> in [ruby-dev:33010].
10727 Thu Jan 10 18:00:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10729 * prelude.rb (Mutex::synchronize): capture exception from unlock.
10732 Thu Jan 10 10:15:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10734 * io.c (io_encoding_set): IO.pipe("euc-jp", nil) should work as
10735 IO.pipe("euc-jp", nil). [ruby-dev:33000]
10737 * io.c (io_encoding_set): handle nil for v1.
10739 Thu Jan 10 02:41:22 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10741 * io.c (rb_io_binmode): should not alter encoding. [ruby-dev:32918]
10743 * io.c (io_read_encoding): need not to return ASCII-8BIT for
10746 Wed Jan 9 22:04:17 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
10748 * lib/mathn.rb (Prime#each): returns an enumerator if no block
10749 given. [ruby-dev:32815]
10751 Wed Jan 9 22:03:26 2008 NARUSE, Yui <naruse@ruby-lang.org>
10753 * encoding.c (rb_enc_replicate): replica of dummy is a dummy.
10755 Wed Jan 9 20:55:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10757 * lib/e2mmap.rb (Exception2MessageMapper::Raise): define fail.
10760 Wed Jan 9 20:35:42 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
10762 * lib/webrick/httprequest.rb: support X-Forwarded-* header fields.
10763 WEBrick::HTTPRequest#{host,port,request_uri} is derived having
10764 regards to X-Forwarded-Proto and X-Forwarded-Host.
10766 * lib/webrick/httprequest.rb
10767 (WEBrick::HTTPRequest#server_name?): new method.
10768 (WEBrick::HTTPRequest#remote_ip?): new method.
10769 (WEBrick::HTTPRequest#ssl?): new method.
10771 Wed Jan 9 18:24:39 2008 WATANABE Hirofumi <eban@ruby-lang.org>
10773 * golf_prelude.rb (Array#to_s): alias to join.
10775 * golf_prelude.rb (FalseClass#to_s): return "".
10777 Wed Jan 9 16:59:54 2008 Tanaka Akira <akr@fsij.org>
10779 * string.c (rb_enc_cr_str_buf_cat): fix self appending.
10781 Wed Jan 9 15:54:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10783 * ruby.c (process_options): give priority command line encoding option
10784 to RUBYOPT, and enable -E option in RUBYOPT.
10786 * ruby.c (load_file): deal with encoding option in shebang line if
10787 nothing in command line and RUBYOPT.
10789 Wed Jan 9 14:55:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10791 * parse.y (yycompile0): remove setting parser->enc because it is set
10792 in parser_prepare() by previous change of parser_prepare().
10794 Wed Jan 9 14:52:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10796 * string.c (rb_enc_cr_str_buf_cat, rb_str_buf_append): deal with self
10799 Wed Jan 9 14:44:57 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10801 * parse.y (parser_prepare): set parser->enc from lex_input for ripper.
10803 Wed Jan 9 13:45:52 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
10805 * lib/webrick/server.rb (WEBrick::HTTPServer#start):
10806 :DoNotReverseLookup option had not been performed.
10808 Wed Jan 9 13:03:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10810 * string.c (rb_enc_cr_str_buf_cat): do not recalculate coderange
10811 value if it's given from outside.
10813 Wed Jan 9 08:42:01 2008 James Edward Gray II <jeg2@ruby-lang.org>
10815 * enum.c: Updating the documentation of Enumerable#zip to reflect
10816 the recent changes Matz made to the method.
10818 Wed Jan 9 01:35:10 2008 NARUSE, Yui <naruse@ruby-lang.org>
10820 * enc/Makefile.in (BUILTIN_ENCS): UTF-{16,32}{BE,LE} are not builtin.
10822 Tue Jan 8 23:55:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
10824 * encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin.
10826 Tue Jan 8 22:33:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
10828 * encoding.c, Makefile.in, include/ruby/oniguruma.h,
10829 enc/Makefile.in: fix rules for UTF-{16,32}{BE,LE}.
10831 Tue Jan 8 20:02:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10833 * win{32,ce}/Makefile.sub: merged.
10835 Tue Jan 8 19:48:15 2008 Eric Hodel <drbrain@segment7.net>
10837 * lib/rdoc/ri/driver.rb: Speed up Marshal.load. Fix bug with nested
10840 Tue Jan 8 19:17:29 2008 Eric Hodel <drbrain@segment7.net>
10842 * lib/rdoc/*: Clean up namespacing of RI's classes.
10844 Tue Jan 8 18:05:35 2008 Eric Hodel <drbrain@segment7.net>
10846 * bin/ri, lib/rdoc/ri/*: Replace with Ryan Davis' cached ri.
10848 Tue Jan 8 17:32:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10850 * enum.c (enum_zip): honor length of the receiver, not the
10851 shortest length. [ruby-core:14738]
10853 * enum.c (enum_zip): returns array not enumerator for no block
10854 form. [ruby-core:14738]
10856 * enumerator.c (next_ii): do not ignore multiple values yielded.
10858 * array.c (rb_ary_zip): faster version without creating generators.
10860 Tue Jan 8 15:47:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10862 * enc/utf{16,32}_{be,le}.c: use &OnigEncodingName(*) instead of
10865 Tue Jan 8 15:40:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10867 * regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): suppressed
10870 * regenc.h, enc/unicode.c (onigenc_unicode_ctype_code_range): added
10873 * enc/utf{16,32}_{be,le}.c: added init functions.
10875 * enc/utf{16,32}_{be,le}.c: imported from Oniguruma 5.9.1.
10877 Tue Jan 8 15:03:10 2008 Tanaka Akira <akr@fsij.org>
10879 * string.c (str_gsub): avoid appending empty pre-match substr.
10881 Tue Jan 8 13:05:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
10883 * compile.c (iseq_build_from_ary), iseq.c (iseq_load): fix for format change.
10885 Tue Jan 8 07:56:11 2008 Tanaka Akira <akr@fsij.org>
10887 * string.c (rb_str_buf_append): fix append itself.
10889 Tue Jan 8 01:13:50 2008 Tanaka Akira <akr@fsij.org>
10891 * string.c (STR_ENC_GET): defined. same as rb_enc_get without
10893 (coderange_scan): ASCII-8BIT test refined.
10894 (rb_enc_cr_str_buf_cat): new internal function to accumulate
10895 strings with encoding.
10896 (rb_enc_str_buf_cat): use rb_enc_cr_str_buf_cat.
10897 (rb_str_buf_append): ditto
10898 (str_gsub): use rb_str_buf_append.
10899 (rb_str_hash): use ENCODING_GET.
10900 (rb_str_comparable): ditto.
10901 (rb_str_cmp): compare encoding index, not rb_encoding address.
10903 Mon Jan 7 20:37:55 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
10905 * lib/webrick/httpservlet/cgihandler.rb: external encoding of
10906 tempfiles is set to "ASCII-8BIT".
10908 Mon Jan 7 19:39:50 2008 Eric Hodel <drbrain@segment7.net>
10910 * lib/rdoc/template.rb: Use ERB instead of custom template language.
10912 * lib/rdoc/generators/template/html/old_html.rb: Remove.
10914 * lib/rdoc/generators/template/*: Convert to ERB.
10916 Mon Jan 7 19:11:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
10918 * string.c (Init_String): sym_match arity spec was wrong. a patch
10919 from Hiroyuki Iwatsuki <don at na.rim.or.jp> in [ruby-dev:32957].
10921 Mon Jan 7 18:10:33 2008 Tanaka Akira <akr@fsij.org>
10923 * string.c (str_gsub): move rb_enc_get(str) to out of loop.
10925 Mon Jan 7 15:52:10 2008 Tanaka Akira <akr@fsij.org>
10927 * include/ruby/oniguruma.h (OnigEncodingType): new member
10928 ruby_encoding_index to avoid linear search in rb_enc_to_index.
10930 * include/ruby/encoding.h (rb_enc_to_index): macro defined to use
10931 ruby_encoding_index.
10933 * encoding.c (rb_enc_to_index): removed.
10934 (enc_register_at): initialize ruby_encoding_index member.
10936 Mon Jan 7 16:10:35 2008 Eric Hodel <drbrain@segment7.net>
10938 * lib/rdoc/tokenstream.rb: Namespace under RDoc.
10940 Mon Jan 7 16:06:09 2008 Eric Hodel <drbrain@segment7.net>
10942 * lib/rdoc/dot.rb: Namespace under RDoc.
10944 * lib/rdoc/diagram.rb: Clean up formatting.
10946 Mon Jan 7 15:51:35 2008 Eric Hodel <drbrain@segment7.net>
10948 * lib/rdoc/options.rb: Convert to OptionParser, clean up -h output,
10949 namespace under RDoc.
10950 * lib/rdoc/*: Namespace RDoc::Options.
10952 Mon Jan 7 15:42:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
10954 * common.mk, Makefile.in, */Makefile.sub (distclean-local): move
10955 removing rule of ext/ripper/y.output from common.mk to Makefiles
10956 that depend on platforms.
10958 Mon Jan 7 13:54:57 2008 Tanaka Akira <akr@fsij.org>
10960 * re.c (rb_reg_preprocess): fix fixed_enc condition.
10962 Mon Jan 7 11:51:49 2008 Eric Hodel <drbrain@segment7.net>
10964 * lib/rdoc/generators/ri_generator.rb: Merge documentation from the
10965 same class on output. Fixes bug where documentation could
10968 * lib/rdoc/options.rb: Fix typo.
10970 * lib/rdoc/generators/*: Clean up some namespacing and make RDoc
10973 Mon Jan 7 11:44:45 2008 Tanaka Akira <akr@fsij.org>
10975 * encoding.c (rb_enc_internal_get_index): extracted from
10977 (rb_enc_internal_set_index): extracted from rb_enc_associate_index
10979 * include/ruby/encoding.h (ENCODING_SET): work over ENCODING_INLINE_MAX.
10980 (ENCODING_GET): ditto.
10981 (ENCODING_IS_ASCII8BIT): defined.
10982 (ENCODING_CODERANGE_SET): defined.
10984 * re.c (rb_reg_fixed_encoding_p): use ENCODING_IS_ASCII8BIT.
10986 * string.c (rb_enc_str_buf_cat): use ENCODING_IS_ASCII8BIT.
10988 * parse.y (reg_fragment_setenc_gen): use ENCODING_IS_ASCII8BIT.
10990 * marshal.c (has_ivars): use ENCODING_IS_ASCII8BIT.
10992 Mon Jan 7 02:14:07 2008 Tanaka Akira <akr@fsij.org>
10994 * string.c (coderange_scan): avoid rb_enc_to_index.
10995 (rb_enc_str_buf_cat): ditto.
10996 (str_cat_char): use rb_enc_str_buf_cat.
10997 (rb_str_inspect): ditto.
10999 Mon Jan 7 01:36:49 2008 Tanaka Akira <akr@fsij.org>
11001 * string.c (coderange_scan): optimize ASCII-8BIT string.
11002 (rb_enc_str_buf_cat): don't call coderange_scan if possible.
11004 Mon Jan 7 01:05:45 2008 Tanaka Akira <akr@fsij.org>
11006 * lib/erb.rb (ERB::Revision): cut off locale dependent string in Date
11009 Mon Jan 7 00:48:02 2008 Tanaka Akira <akr@fsij.org>
11011 * Date keyword removed to avoid inclusion of locale dependent
11012 string. [ruby-dev:32940]
11014 Sun Jan 6 21:14:12 2008 Tanaka Akira <akr@fsij.org>
11016 * re.c (rb_reg_initialize_str): forbid raw non ASCII character
11017 for ASCII-8BIT regexp in non ASCII-8BIT script.
11019 Sun Jan 6 18:19:12 2008 Tanaka Akira <akr@fsij.org>
11021 * include/ruby/encoding.h (rb_enc_str_buf_cat): declared.
11023 * string.c (coderange_scan): extracted from rb_enc_str_coderange.
11024 (rb_enc_str_coderange): use coderange_scan.
11025 (rb_str_shared_replace): copy encoding and coderange.
11026 (rb_enc_str_buf_cat): new function for linear complexity string
11027 accumulation with encoding.
11028 (rb_str_sub_bang): don't conflict substituted part and replacement.
11029 (str_gsub): use rb_enc_str_buf_cat.
11030 (rb_str_clear): clear coderange.
11032 * re.c (rb_reg_regsub): use rb_enc_str_buf_cat.
11034 Sun Jan 6 17:55:44 2008 Technorama Ltd. <oss-ruby@technorama.net>
11036 * lib/securerandom.rb: Add Win32 support.
11038 Sun Jan 6 09:32:58 2008 Tadayoshi Funaba <tadf@dotrb.org>
11040 * lib/date.rb, lib/date/format.rb: introduced some constants
11041 (for internal use) and aliases (minute and second).
11043 * sample/cal.rb: trivial adjustments.
11045 Sun Jan 6 01:38:07 2008 Tanaka Akira <akr@fsij.org>
11047 * re.c (rb_reg_initialize_str): /\x80/n is not an error even if script
11048 encoding is EUC-JP.
11050 Sun Jan 6 00:48:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
11052 * lib/resolv.rb (Resolv::DNS#each_address): get A record and then AAAA
11053 record. [ruby-dev:32925]
11055 Sat Jan 5 21:48:03 2008 Tanaka Akira <akr@fsij.org>
11057 * vm_insnhelper.c (vm_callee_setup_arg): it is not inlinable because
11060 Sat Jan 5 16:50:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11062 * string.c (rb_str_resize): copy if old data is not empty
11065 Sat Jan 5 13:04:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11067 * ruby.c (proc_options): no need for intermediate object.
11069 Sat Jan 5 11:48:19 2008 Tanaka Akira <akr@fsij.org>
11071 * encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.
11072 IE6 accepts csWindows31J but Windows-31J.
11074 Sat Jan 5 02:21:10 2008 Tanaka Akira <akr@fsij.org>
11076 * include/ruby/ruby.h (rb_intern): memorize interned ID for constant
11077 string, using gcc's __builtin_constant_p and statement expression.
11079 Sat Jan 5 02:14:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
11081 * string.c (trnext): should enable backslash escape.
11083 Sat Jan 5 01:50:32 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
11085 * eval.c (Init_eval): move instance_eval and instance_exec to
11086 BasicObject. [ruby-core:14747]
11088 * lib/delegate.rb: should preserve new methods in BasicObject.
11090 Sat Jan 5 01:46:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
11092 * ruby.c (proc_options): update according to the last API revert.
11094 Sat Jan 5 01:30:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11096 * include/ruby/intern.h, re.c (rb_reg_new): keep interface same as
11097 1.8. [ruby-core:14583]
11099 * include/ruby/intern.h, re.c (rb_reg_new_str): renamed, and defines
11100 HAVE_RB_REG_NEW_STR macro to tell if it is available.
11102 * include/ruby/encoding.h (rb_enc_reg_new): added.
11104 * insns.def (toregexp), marshal.c (r_object0): use rb_reg_new_str().
11106 * re.c (rb_reg_regcomp, rb_reg_s_union): ditto.
11108 Fri Jan 4 23:08:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11110 * time.c (time_arg): use converted object. [ruby-core:14759]
11112 Fri Jan 4 16:24:58 2008 Tanaka Akira <akr@fsij.org>
11114 * ext/digest/lib/digest/hmac.rb (Digest::HMAC#initialize): use
11115 String#bytesize to avoid test errors on EUC-JP environment.
11117 Fri Jan 4 14:00:50 2008 Tanaka Akira <akr@fsij.org>
11119 * re.c (rb_reg_prepare_re): check string encoding. Oniguruma doesn't
11120 support invalid encoding.
11122 Fri Jan 4 10:22:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
11124 * re.c (rb_reg_search): avoid inner loop for reverse search.
11126 * regexec.c: unset USE_MATCH_RANGE_MUST_BE_INSIDE_OF_SPECIFIED_RANGE
11127 which is turned on since oniguruma 5.9.1.
11129 Fri Jan 4 02:53:31 2008 Tanaka Akira <akr@fsij.org>
11131 * enc/euc_jp.c: remove eucjp_ prefix. breakpoint can be specified as
11132 euc_jp.c:mbc_enc_len. avoid needless conflict by merge.
11134 * enc/sjis.c: remove sjis_ prefix.
11136 * enc/utf8.c: remove utf8_ prefix.
11138 * enc/iso_8859_1.c: remove iso_8859_1_ prefix.
11140 * enc/iso_8859_2.c: remove iso_8859_2_ prefix.
11142 * enc/iso_8859_3.c: remove iso_8859_3_ prefix.
11144 * enc/iso_8859_4.c: remove iso_8859_4_ prefix.
11146 * enc/iso_8859_5.c: remove iso_8859_5_ prefix.
11148 * enc/iso_8859_6.c: remove iso_8859_6_ prefix.
11150 * enc/iso_8859_7.c: remove iso_8859_7_ prefix.
11152 * enc/iso_8859_8.c: remove iso_8859_8_ prefix.
11154 * enc/iso_8859_9.c: remove iso_8859_9_ prefix.
11156 * enc/iso_8859_10.c: remove iso_8859_10_ prefix.
11158 * enc/iso_8859_11.c: remove iso_8859_11_ prefix.
11160 * enc/iso_8859_13.c: remove iso_8859_13_ prefix.
11162 * enc/iso_8859_14.c: remove iso_8859_14_ prefix.
11164 * enc/iso_8859_15.c: remove iso_8859_15_ prefix.
11166 * enc/iso_8859_16.c: remove iso_8859_16_ prefix.
11168 Fri Jan 4 02:47:06 2008 Tanaka Akira <akr@fsij.org>
11170 * re.c (rb_reg_search): iterate onig_match for reverse mode.
11172 Fri Jan 4 01:20:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11174 * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660]
11176 Fri Jan 4 00:54:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
11178 * include/ruby/oniguruma.h: Oniguruma 5.9.1 merged.
11180 Fri Jan 4 00:20:47 2008 Tanaka Akira <akr@fsij.org>
11182 * io.c (io_ungetc): move data in buffer if it is required to store the
11185 Thu Jan 3 21:56:07 2008 Tanaka Akira <akr@fsij.org>
11187 * include/ruby/ruby.h (st_strcasecmp): declared for STRCASECMP.
11188 (st_strncasecmp): declared for STRNCASECMP.
11190 Thu Jan 3 20:24:48 2008 Koichi Sasada <ko1@atdot.net>
11192 * eval_jump.c (rb_f_catch): Restore cfp if caught thrown object.
11194 Thu Jan 3 19:45:57 2008 Koichi Sasada <ko1@atdot.net>
11196 * bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
11198 Thu Jan 3 18:39:12 2008 Tanaka Akira <akr@fsij.org>
11200 * encoding.c: (rb_tolower, rb_toupper): body was exchanged.
11202 Thu Jan 3 17:54:01 2008 Tanaka Akira <akr@fsij.org>
11204 * regenc.h (onigenc_ascii_is_code_ctype): put back.
11206 Thu Jan 3 17:33:09 2008 Tanaka Akira <akr@fsij.org>
11208 * encoding.c (rb_isalnum): defined.
11209 (rb_isalpha): ditto.
11210 (rb_isblank): ditto.
11211 (rb_iscntrl): ditto.
11212 (rb_isdigit): ditto.
11213 (rb_isgraph): ditto.
11214 (rb_islower): ditto.
11215 (rb_isprint): ditto.
11216 (rb_ispunct): ditto.
11217 (rb_isspace): ditto.
11218 (rb_isupper): ditto.
11219 (rb_isxdigit): ditto.
11220 (rb_tolower): ditto.
11221 (rb_toupper): ditto.
11223 * include/ruby/ruby.h: don't include include/ruby/encoding.h.
11224 (rb_isascii): defined.
11225 (rb_isalnum): declared.
11226 (rb_isalpha): ditto.
11227 (rb_isblank): ditto.
11228 (rb_iscntrl): ditto.
11229 (rb_isdigit): ditto.
11230 (rb_isgraph): ditto.
11231 (rb_islower): ditto.
11232 (rb_isprint): ditto.
11233 (rb_ispunct): ditto.
11234 (rb_isspace): ditto.
11235 (rb_isupper): ditto.
11236 (rb_isxdigit): ditto.
11237 (rb_tolower): ditto.
11238 (rb_toupper): ditto.
11239 (ISASCII): simplified.
11251 * include/ruby/encoding.h (rb_isascii): removed.
11252 (rb_isalnum): ditto.
11253 (rb_isalpha): ditto.
11254 (rb_isblank): ditto.
11255 (rb_iscntrl): ditto.
11256 (rb_isdigit): ditto.
11257 (rb_isgraph): ditto.
11258 (rb_islower): ditto.
11259 (rb_isprint): ditto.
11260 (rb_ispunct): ditto.
11261 (rb_isspace): ditto.
11262 (rb_isupper): ditto.
11263 (rb_isxdigit): ditto.
11264 (rb_tolower): ditto.
11265 (rb_toupper): ditto.
11267 * common.mk: dependency updated.
11269 Thu Jan 3 15:10:26 2008 Tanaka Akira <akr@fsij.org>
11271 * include/ruby/encoding.h (rb_isascii): simplified.
11272 (rb_isalnum): call onigenc_ascii_is_code_ctype without indirect call.
11273 (rb_isalpha): ditto.
11274 (rb_isblank): ditto.
11275 (rb_iscntrl): ditto.
11276 (rb_isdigit): ditto.
11277 (rb_isgraph): ditto.
11278 (rb_islower): ditto.
11279 (rb_isprint): ditto.
11280 (rb_ispunct): ditto.
11281 (rb_isspace): ditto.
11282 (rb_isupper): ditto.
11283 (rb_isxdigit): ditto.
11285 * include/ruby/oniguruma.h (onigenc_ascii_is_code_ctype): declaration
11286 moved from regenc.h.
11288 Thu Jan 3 14:37:17 2008 Tanaka Akira <akr@fsij.org>
11290 * parse.y (parser_magic_comment): use STRNCASECMP.
11291 (set_file_encoding): ditto.
11293 Thu Jan 3 11:44:37 2008 Tanaka Akira <akr@fsij.org>
11295 * time.c: don't mention an obsolete library, ParseDate.
11297 Thu Jan 3 11:28:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11299 * io.c (fptr_finalize): clear errno first. [ruby-talk:284492]
11301 Thu Jan 3 05:02:36 2008 Tanaka Akira <akr@fsij.org>
11303 * enc/us_ascii.c: add us_ascii_ prefix for functions to ease
11304 setting breakpoint when debugging.
11306 * enc/euc_jp.c: add eucjp_ prefix.
11308 * enc/sjis.c: add sjis_ prefix.
11310 * enc/iso_8859_1.c: add iso_8859_1_ prefix.
11312 * enc/iso_8859_2.c: add iso_8859_2_ prefix.
11314 * enc/iso_8859_3.c: add iso_8859_3_ prefix.
11316 * enc/iso_8859_4.c: add iso_8859_4_ prefix.
11318 * enc/iso_8859_5.c: add iso_8859_5_ prefix.
11320 * enc/iso_8859_6.c: add iso_8859_6_ prefix.
11322 * enc/iso_8859_7.c: add iso_8859_7_ prefix.
11324 Thu Jan 3 02:44:34 2008 Tanaka Akira <akr@fsij.org>
11326 * bignum.c (conv_digit): use ISDIGIT, ISLOWER and ISUPPER.
11328 Wed Jan 2 23:50:15 2008 Tanaka Akira <akr@fsij.org>
11330 * util.c (ruby_strtoul): "0x", "+" and "-" is not a valid integer.
11331 end of integer should be just after "0", the beginning, the
11332 beginning respectively.
11334 Wed Jan 2 15:23:15 2008 Tanaka Akira <akr@fsij.org>
11336 * util.c (ruby_strtoul): locale independent strtoul is implemented to
11337 avoid "i".to_i(36) cause 0 under tr_TR locale on Debian GNU/Linux
11339 This is newly implemented, not a copy of missing/strtoul.c.
11341 * include/ruby/ruby.h (ruby_strtoul): declared.
11342 (STRTOUL): defined to use ruby_strtoul.
11344 * bignum.c, pack.c, ext/socket/socket.c: use STRTOUL.
11346 * configure.in (strtoul): don't check.
11348 * missing/strtoul.c: removed.
11350 * include/ruby/missing.h (strtoul): removed.
11352 * common.mk (strtoul.o): removed.
11354 * LEGAL (missing/strtoul.c): removed.
11356 Wed Jan 2 14:41:08 2008 Tanaka Akira <akr@fsij.org>
11358 * common.mk (strcasecmp.o): removed.
11359 (strncasecmp.o): removed.
11361 * include/ruby/missing.h (strcasecmp): removed.
11362 (strncasecmp): removed.
11364 Wed Jan 2 11:34:57 2008 Tanaka Akira <akr@fsij.org>
11366 * missing/strcasecmp.c: removed. Ruby don't use locale dependent
11369 * missing/strncasecmp.c: ditto.
11371 * configure.in: don't check strcasecmp and strncasecmp.
11373 * LEGAL: missing/strcasecmp.c and missing/strncasecmp.c removed.
11375 Wed Jan 2 10:13:54 2008 Tadayoshi Funaba <tadf@dotrb.org>
11377 * sample/time.rb: use Process.times instead of Time.times.
11379 Wed Jan 2 09:09:53 2008 Tadayoshi Funaba <tadf@dotrb.org>
11381 * sample/goodfriday.rb: examples for date are enough. retired.
11383 Wed Jan 2 08:58:54 2008 Tadayoshi Funaba <tadf@dotrb.org>
11385 * sample/cal.rb: just updated with the newest version.
11387 Wed Jan 2 01:19:31 2008 Tanaka Akira <akr@fsij.org>
11389 * enc/depend: dependency updated.
11391 Wed Jan 2 00:14:41 2008 NARUSE, Yui <naruse@ruby-lang.org>
11393 * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: Update nkf.
11395 * ext/nkf/nkf.c: fix documents.
11397 * ext/nkf/lib/kconv.rb: fix documents.
11398 (Kconv.is*): use valid_encoding?.
11399 (Kconv.isjis): defined.
11401 Tue Jan 1 23:17:03 2008 Tanaka Akira <akr@fsij.org>
11403 * common.mk: dependency updated.
11405 Tue Jan 1 21:11:33 2008 Tanaka Akira <akr@fsij.org>
11407 * include/ruby/encoding.h (rb_isascii): defined.
11408 (rb_isalnum): ditto.
11409 (rb_isalpha): ditto.
11410 (rb_isblank): ditto.
11411 (rb_iscntrl): ditto.
11412 (rb_isdigit): ditto.
11413 (rb_isgraph): ditto.
11414 (rb_islower): ditto.
11415 (rb_isprint): ditto.
11416 (rb_ispunct): ditto.
11417 (rb_isspace): ditto.
11418 (rb_isupper): ditto.
11419 (rb_isxdigit): ditto.
11420 (rb_tolower): ditto.
11421 (rb_toupper): ditto.
11423 * include/ruby/st.h (st_strcasecmp): declared.
11424 (st_strncasecmp): ditto.
11426 * st.c (type_strcasehash): use st_strcasecmp instead of strcasecmp.
11427 (st_strcasecmp): defined.
11428 (st_strncasecmp): ditto.
11430 * include/ruby/ruby.h: include include/ruby/encoding.h.
11431 (ISASCII): use rb_isascii.
11432 (ISPRINT): use rb_isprint.
11433 (ISSPACE): use rb_isspace.
11434 (ISUPPER): use rb_isupper.
11435 (ISLOWER): use rb_islower.
11436 (ISALNUM): use rb_isalnum.
11437 (ISALPHA): use rb_isalpha.
11438 (ISDIGIT): use rb_isdigit.
11439 (ISXDIGIT): use rb_isxdigit.
11440 (TOUPPER): defined.
11442 (STRCASECMP): ditto.
11443 (STRNCASECMP): ditto.
11445 * dir.c, encoding.c, file.c, hash.c, process.c, ruby.c, time.c,
11446 transcode.c, ext/readline/readline.c: use locale insensitive
11447 functions. [ruby-core:14662]
11449 Tue Jan 1 17:50:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11451 * io.c (rb_io_mode_enc): encoding spec is not allowed in binary mode.
11454 Tue Jan 1 14:41:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
11456 * lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:
11457 <http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9>
11460 Tue Jan 1 14:15:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
11462 * string.c (rb_str_substr): offset movement bug. a patch from
11463 Vincent Isambart <vincent.isambart at gmail.com> in
11464 [ruby-core:14647]. [ruby-core:14644]
11466 Tue Jan 1 01:29:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11468 * encoding.c (rb_to_encoding): raises for non-nil, non-encoding,
11469 non-string object. [ruby-core:14634]
11471 Tue Jan 1 01:04:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
11473 * ruby.c (process_options): rejects dummy encoding.
11475 Mon Dec 31 23:53:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11477 * ruby.c (proc_options, process_options): delays finding encoding
11478 until load_path is set.
11480 Mon Dec 31 23:27:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11482 * string.c (rb_str_resize): embeds if ptr is null. [ruby-dev:32819]
11484 Mon Dec 31 23:17:22 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
11486 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
11487 call do_XXX which correspond with request method.
11488 (WEBrick::HTTPProxyServer#do_CONNECT,do_GET,do_POST,do_HEAD): added.
11490 * test/webrick/test_httpproxy.rb: add test for WEBrick::HTTPProxyServer.
11492 Mon Dec 31 22:53:29 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11494 * thread_pthread.c (native_sleep): timespec tv_sec may overflow on
11495 some platform. a patch from zunda <zunda616e AT yahoo.co.jp> in
11498 Mon Dec 31 19:35:20 2007 Tanaka Akira <akr@fsij.org>
11500 * string.c (IS_7BIT): removed.
11501 (single_byte_optimizable): new function to test optimizationability
11502 using single byte string.
11503 (str_strlen): use single_byte_optimizable instead of
11505 (str_nth): rename argument: asc -> singlebyte.
11506 (str_offset): ditto.
11507 (rb_str_substr): use single_byte_optimizable instead of IS_7BIT.
11508 (rb_str_index): ditto.
11509 (rb_str_rindex): ditto.
11510 (rb_str_splice): ditto.
11511 (rb_str_justify): ditto.
11513 Mon Dec 31 07:39:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11515 * main.c, goruby.c (RUBY_MAIN_INIT): removed.
11517 * goruby.c (goruby_run_node): run after ruby_init_loadpath() so that
11518 require works, and protect the call.
11520 Mon Dec 31 06:50:38 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11522 * common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for cross
11525 * configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib
11528 Mon Dec 31 06:08:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11530 * include/ruby/encoding.h (rb_enc_sprintf, rb_enc_vsprintf): prototyped.
11532 * sprintf.c (rb_enc_sprintf, rb_enc_vsprintf): new functions to format
11533 arguments with encoding.
11535 Sun Dec 30 23:48:00 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11537 * golf_prelude.rb (String#/): define / as split, as association of
11540 Sun Dec 30 23:19:06 2007 WATANABE Hirofumi <eban@ruby-lang.org>
11542 * golf_prelude.rb (@@golf_hash): for performance improvement.
11544 Sun Dec 30 22:44:50 2007 Tadayoshi Funaba <tadf@dotrb.org>
11546 * lib/date.rb (_valid_time?): I'm not sure to recommend such an
11547 expression. but anyway it is acceptable now. [ruby-core:14580]
11549 Sun Dec 30 21:54:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11551 * parse.y (program, yycompile0): too early to drop lex_lastline in
11554 Sun Dec 30 19:23:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11556 * bootstraptest/test_knownbug.rb: support DOSISH.
11558 Sun Dec 30 17:43:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11560 * encoding.c (Init_Encoding): registered rb_encoding differs from
11563 Sun Dec 30 13:56:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11565 * parse.y (program): clear input strings after all process.
11567 * parse.y (parser_nextc, parser_yylex): should not drop lex_lastline
11568 while lex_p is valid. [ruby-dev:32896]
11570 Sun Dec 30 10:54:49 2007 NARUSE, Yui <naruse@ruby-lang.org>
11572 * configure.in: rm largefile.h.
11574 * common.mk: clean golf, conf*, preludes, and so on.
11576 * enc/depend: silent and ignore error for rm.
11578 * enc/Makefile.in: should define prefix and exec_prefix.
11580 Sun Dec 30 06:31:11 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11582 * encoding.c (Init_encoding): register Windows-31J and its alias.
11585 * ruby.c (proc_options): -Ks options means Windows-31J, not Shift_JIS.
11587 Sun Dec 30 06:27:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11589 * lib/mkmf.rb (depend_rules): need to convert `/' to `\' for windows
11592 Sun Dec 30 01:43:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11594 * enc/Makefile.in (DLDFLAGS): like as extensions. [ruby-core:14567]
11596 Sat Dec 29 23:48:13 2007 Tanaka Akira <akr@fsij.org>
11598 * io.c (io_fflush): don't retry when wbuf modified by other threads.
11600 Sat Dec 29 22:44:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11602 * re.c (rb_reg_regsub): returns the given string itself if nothing
11605 * string.c (rb_str_sub_bang): keeps code-range as possible.
11607 * string.c (str_gsub): adjusts code-range. [ruby-core:14566]
11609 Sat Dec 29 21:54:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11611 * common.mk (clean, distclean, realclean): should include clean-enc
11612 and others. [ruby-dev:32887]
11614 Sat Dec 29 13:29:29 2007 Tanaka Akira <akr@fsij.org>
11616 * bootstraptest/test_knownbug.rb: add a test reported by
11617 Kazuhiro NISHIYAMA. [ruby-dev:32819].
11618 add a test reported by Frederick Cheung. [ruby-core:14556].
11620 * test/ruby/test_m17n.rb (test_gsub): add a test reported by
11621 Sam Ruby. [ruby-core:14566]
11623 Sat Dec 29 04:46:58 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
11625 * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):
11626 throw won't raise NameError nor ThreadError but ArgumentError on 1.9.
11627 (Test::Unit::Assertions#assert_not_throws): ditto.
11629 * test/testunit/test_assertions.rb: add assertions for throwing some
11630 objects other than Symbol.
11632 Sat Dec 29 03:10:12 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11634 * io.c (io_unread): fix typo.
11636 Sat Dec 29 02:18:45 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11638 * io.c (io_unread): adhoc workaround for non-binary mode of some DOSish
11639 platforms. this is not perfect and safety, but works with most cases.
11641 Fri Dec 28 23:53:18 2007 Tanaka Akira <akr@fsij.org>
11643 * ext/strscan/strscan.c (str_new): new function for allocate an string
11644 with encoding propagation.
11645 (extract_range): use str_new.
11646 (extract_beg_len): ditto.
11647 (strscan_peek): ditto.
11648 (strscan_rest): ditto.
11650 Fri Dec 28 20:18:42 2007 WATANABE Hirofumi <eban@ruby-lang.org>
11652 * golf_prelude.rb (Object.say): derived from Perl 5.10.
11654 Fri Dec 28 19:39:34 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11656 * encoding.c (rb_locale_encoding): should check return value from
11657 rb_locale_charmap().
11659 * ruby.c (locale_encoding): removed.
11661 * ruby.c (process_options): use rb_locale_encoding() instead of
11664 * ext/readline/readline.c (readline_readline): use locale encoding
11665 instead of input IO's encoding. [ruby-dev:32872]
11667 Fri Dec 28 19:29:07 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11669 * ext/readline/readline.c (readline_readline, readline_s_set_input):
11670 use mReadline directly because self is not always same.
11672 Fri Dec 28 19:11:28 2007 Tanaka Akira <akr@fsij.org>
11674 * encoding.c (rb_locale_encoding): defined.
11676 * include/ruby/encoding.h (rb_locale_encoding): declared.
11678 Fri Dec 28 18:45:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11680 * ext/readline/readline.c (readline_readline): set encoding to result.
11682 * ext/readline/readline.c (readline_s_set_input, Init_readline): save
11683 input IO to hidden instance variable.
11685 Fri Dec 28 01:55:04 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11687 * transcode.c (transcode_dispatch): reverted some of the changes
11690 * transcode.c, enc/trans/single_byte.c: Added conversions to/from
11691 US-ASCII and ASCII-8BIT (using data tables).
11693 * enc/trans/single_byte.c: Some spacing/ordering changes due to
11694 automatic data file generation.
11696 * transcode_data.h, transcode.c: Preliminary code for using
11697 micro-conversion functions.
11699 * test/ruby/test_transcode.rb: Added some tests for US-ASCII and
11700 ASCII-8BIT conversions.
11702 Fri Dec 28 17:33:44 2007 Tanaka Akira <akr@fsij.org>
11704 * time.c (make_time_t): verify mktime and timegm result.
11706 Fri Dec 28 16:36:33 2007 NARUSE, Yui <naruse@airemix.com>
11708 * lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.
11710 Fri Dec 28 16:10:00 2007 Eric Hodel <drbrain@segment7.net>
11712 * lib/rdoc/dot/dot.rb: Move to lib/rdoc/dot.rb. Fix namespacing.
11714 * lib/rdoc/diagram.rb: Update for 1.9.
11716 Fri Dec 28 15:38:29 2007 Eric Hodel <drbrain@segment7.net>
11718 * lib/rdoc/markup/sample/: Move to sample/rdoc/markup directory.
11720 Fri Dec 28 15:15:12 2007 Akinori MUSHA <knu@iDaemons.org>
11722 * lib/irb/completion.rb: Remove garbage ("X=1").
11724 Fri Dec 28 15:12:05 2007 Eric Hodel <drbrain@segment7.net>
11726 * lib/rdoc, test/rdoc: Move RDoc tests out of lib/.
11728 Fri Dec 28 15:10:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11730 * encoding.c (set_base_encoding, enc_base_encoding): renamed
11731 based_encoding as base_encoding.
11733 Fri Dec 28 13:57:49 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11735 * golf_prelude.rb (Integer#each): use alias simply.
11737 Fri Dec 28 13:45:21 2007 Akinori MUSHA <knu@iDaemons.org>
11739 * golf_prelude.rb (Object.const_missing): No need to delegate to
11740 superclass. Just raise a NameError when none matches.
11742 Fri Dec 28 13:18:47 2007 Kouhei Sutou <kou@cozmixng.org>
11744 * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.
11746 * lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name.
11747 Reported by Ray Chen. Thanks.
11749 Fri Dec 28 13:07:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11751 * gc.c (os_obj_of): returns an enumerator if no block given. based on
11752 a patch from Yugui <yugui AT yugui.sakura.ne.jp>. [ruby-dev:32828]
11754 Fri Dec 28 11:46:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11756 * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison
11757 1.8 series. [ruby-dev:32825]
11759 Fri Dec 28 11:39:02 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11761 * golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[]
11762 returns an array of lines.
11764 Fri Dec 28 11:16:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11766 * golf_prelude.rb (Object.quine): get the script itself.
11768 Fri Dec 28 10:06:54 2007 Akinori MUSHA <knu@iDaemons.org>
11770 * golf_prelude.rb (Object.const_missing): Auto-complete constants.
11772 Fri Dec 28 01:55:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11774 * transcode.c (transcode_dispatch): allows transcoding from/to
11777 Fri Dec 28 01:47:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11779 * golf_prelude.rb (Integer): Integer is now enumerable on goruby.
11781 Fri Dec 28 01:27:47 2007 Tanaka Akira <akr@fsij.org>
11783 * lib/rdoc/rdoc.rb (parse_files): don't depend on the default external
11786 Fri Dec 28 00:01:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11788 * common.mk (golf_prelude.c): use MINIRUBY instead of BASERUBY because
11789 tool/compile_prelude.rb requires rbconfig.rb.
11791 Thu Dec 27 23:56:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11793 * mkconfig.rb: should not use the libraries under the source directory
11794 at cross compiling.
11796 Thu Dec 27 23:43:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11798 * cygwin/GNUmakefile.in (EXTOBJS): uses ruby.rc always for other than
11801 Thu Dec 27 22:31:37 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11803 * lib/rubygems/commands/update_command.rb (do_rubygems_update): use
11804 portable and safely ENV operation. reported in
11805 <http://slashdot.jp/developers/comments.pl?sid=384937&cid=1273085>.
11807 Thu Dec 27 21:47:04 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11809 * mkconfig.rb (prefix): archdir is "1.9.0", not "1.9". reported in
11810 <http://slashdot.jp/developers/comments.pl?sid=384937&cid=1273085>.
11812 Thu Dec 27 17:57:30 2007 Tanaka Akira <akr@fsij.org>
11814 * parse.y, transcode_data.h, transcode.c, lib/weakref.rb,
11815 lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, enc/trans/japanese.c:
11816 change "illegal" to "invalid" in a context which doesn't against
11819 Thu Dec 27 16:37:06 2007 Tanaka Akira <akr@fsij.org>
11821 * re.c (rb_reg_s_union): show encodings in error message.
11823 Thu Dec 27 15:25:16 2007 Tanaka Akira <akr@fsij.org>
11825 * encoding.c (rb_enc_codelen): show codepoint in error message.
11827 * include/ruby/encoding.h (rb_enc_codelen): comment it returns
11830 * string.c (rb_str_concat): rb_enc_codelen doesn't return 0.
11832 Thu Dec 27 15:18:44 2007 Tanaka Akira <akr@fsij.org>
11834 * encoding.c (rb_enc_codelen): error message refined.
11836 Thu Dec 27 15:11:27 2007 Tanaka Akira <akr@fsij.org>
11838 * encoding.c (rb_enc_check): show encodings in error message.
11840 Thu Dec 27 15:02:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11842 * string.c (rb_str_casecmp): fixed using a wrong variable.
11845 Thu Dec 27 14:34:38 2007 Tanaka Akira <akr@fsij.org>
11847 * io.c (io_fflush): checks wbuf modification by other threads.
11848 not perfect. it need locks.
11850 Thu Dec 27 10:44:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11852 * ext/socket/socket.c: a patch to support IRIX from Andrew
11853 Thompson <andrew@hijacked.us> in [ruby-core:14447].
11855 Thu Dec 27 02:25:45 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11857 * lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCES
11858 occurs. this is a workaround for mswin32.
11860 Wed Dec 26 22:47:31 2007 NARUSE, Yui <naruse@ruby-lang.org>
11862 * lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array of
11863 Resolv::DNS::Label::Str.
11865 * lib/resolv.rb (Resolv::DNS::MessageEncoder#put_label): String#string
11866 is not defined, so replace to_s.
11868 * lib/resolv.rb (Resolv::IPv6#to_name): ip6.int is obsoleted by
11872 Wed Dec 26 21:27:02 2007 Tadayoshi Funaba <tadf@dotrb.org>
11874 * lib/date/format.rb (_xmlschema): some improvements.
11876 * lib/date/format.rb (_parse): a new hint compfunc. [experimental]
11878 Wed Dec 26 17:31:08 2007 Tanaka Akira <akr@fsij.org>
11880 * io.c (io_fflush): check closed fptr after rb_write_internal to avoid
11883 Wed Dec 26 16:10:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11885 * string.c (Init_String): defines chars method.
11887 Wed Dec 26 14:38:43 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11889 * instruby.rb: install goruby if exists.
11891 Wed Dec 26 13:55:02 2007 James Edward Gray II <jeg2@ruby-lang.org>
11893 * lib/csv.rb: Cleaned up some code with Ruby 1.9 idioms.
11895 Wed Dec 26 13:29:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11897 * array.c (tmpbuf): use rb_str_tmp_new().
11899 Wed Dec 26 00:57:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11901 * ext/json/ext/generator/generator.c (Init_generator): requires
11902 json/common.rb for GeneratorError, when static linked. a patch from
11903 Kenta Murata <muraken AT gmail.com> in [ruby-dev:32789].
11905 Tue Dec 25 23:33:55 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11907 * development version 1.9.0 released.
11909 Tue Dec 25 23:25:29 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11911 * lib/rexml/node.rb (REXML::Node::indent): should initialize rv
11912 variable. a patch from Tadayoshi Funaba <tadf AT dotrb.org> in
11915 Tue Dec 25 23:16:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11917 * ruby.c (proc_options): encoding option in shebang and RUBYOPT did not
11918 work, do not store alloca()ed string in a parent scope struct.
11920 Tue Dec 25 22:56:52 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11922 * win32/Makefile.sub (config.status): keep this file.
11924 Tue Dec 25 22:55:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11926 * configure.in (TIMEZONE_VOID): typo.
11928 Tue Dec 25 22:45:10 2007 Koichi Sasada <ko1@atdot.net>
11930 * insns2vm.rb: add encoding option to shebang.
11932 Tue Dec 25 22:13:51 2007 Koichi Sasada <ko1@atdot.net>
11934 * bootstraptest/pending.rb: add pending issue.
11936 Tue Dec 25 22:12:40 2007 Koichi Sasada <ko1@atdot.net>
11938 * thread.c: remove Thread.critical(=).
11940 Tue Dec 25 21:44:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11942 * tool/make-snapshot: add version number.
11944 Tue Dec 25 21:32:54 2007 Koichi Sasada <ko1@atdot.net>
11946 * compile.c (iseq_compile_each): fix stack consistency error
11947 (break is compiled to throw instead of jump insn).
11948 these problems are reported by Yusuke ENDOH <mame AT tsg.ne.jp>
11950 * bootstraptest/test_knownbug.rb, test_syntax.rb: move fixed test.
11952 Tue Dec 25 21:32:44 2007 Tanaka Akira <akr@fsij.org>
11954 * parse.y (struct parser_params): make parser_ruby_sourcefile common
11955 field. it is used by node_newnode.
11956 new field parser_ruby_sourcefile_string for ripper.
11957 (parser_initialize): initialize parser_ruby_sourcefile in ripper.
11958 (ripper_initialize): initialize parser_ruby_sourcefile_string.
11960 Tue Dec 25 21:26:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11962 * common.mk (parse.c): depends on tool/ytab.sed.
11964 * tool/ytab.sed: hack for bison 2.1.
11966 Tue Dec 25 20:24:58 2007 Technorama Ltd. <oss-ruby@technorama.net>
11968 * ext/openssl/ossl_ssl.c: Only show a warning if the default
11969 DH callback is actually used.
11971 * ext/openssl/ossl_rand.c: New method: random_add().
11973 Tue Dec 25 20:24:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11975 * tool/make-snapshot: argument check, and cleanup exported directory.
11977 Tue Dec 25 20:07:13 2007 WATANABE Hirofumi <eban@ruby-lang.org>
11979 * tool/make-snapshot: more portable.
11981 Tue Dec 25 19:01:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11983 * encoding.h (rb_enc_mbc_to_codepoint): wrapper for
11984 ONIGENC_MBC_TO_CODE().
11986 * string.c (rb_str_succ): deal with invalid sequence as binary.
11988 Tue Dec 25 18:40:46 2007 Koichi Sasada <ko1@atdot.net>
11990 * iseq.c: all methods need $SAFE < 1.
11992 vm.c: comment out debug functions.
11994 Tue Dec 25 18:37:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11996 * io.c (appendline): move RS comparison to rb_io_getline_1().
11998 Tue Dec 25 18:27:51 2007 Tanaka Akira <akr@fsij.org>
12000 * string.c (rb_str_each_line): don't call rb_enc_codepoint with empty
12003 Tue Dec 25 18:06:04 2007 Tanaka Akira <akr@fsij.org>
12005 * string.c (rb_str_inspect): don't call rb_enc_codepoint with empty
12006 string. fix '#'.inspect.
12008 * encoding.c (rb_enc_codepoint): raise on empty string.
12010 Tue Dec 25 17:48:28 2007 Shugo Maeda <shugo@ruby-lang.org>
12012 * vm.c (rb_frame_method_id_and_class): new function to get the
12013 method id and class of the current frame.
12015 Tue Dec 25 17:32:04 2007 Akinori MUSHA <knu@iDaemons.org>
12017 * lib/mkmf.rb (create_makefile): Add a missing dependency on the
12018 target directory for each .rb file. This will hopefully fix
12019 parallel make (-jN). Tested on FreeBSD.
12021 Tue Dec 25 16:51:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12023 * enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed
12024 from_encoding and to_encoding.
12026 Tue Dec 25 16:41:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12028 * golf_prelude.rb (h): add new method for all golfers.
12030 Tue Dec 25 16:37:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12032 * enc/trans/japanese.c (rb_to_EUC_JP): fixed typo.
12034 Tue Dec 25 16:34:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12036 * ext/dl/depend: add dependencies. [ruby-dev:32760]
12038 Tue Dec 25 16:26:48 2007 Koichi Sasada <ko1@atdot.net>
12040 * include/ruby/ruby.h, thread.c: rename is_ruby_native_thread() to
12041 ruby_native_thread_p().
12043 * ext/tk/tcltklib.c: apply it.
12045 Tue Dec 25 16:15:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12047 * common.mk (clean-enc): clean encoding objects.
12049 Tue Dec 25 16:04:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12051 * common.mk, goruby.c, golf_prelude.rb: for golfers.
12053 * main.c (main): hook for embedding applications.
12055 * tool/compile_prelude.rb: can change initialize function name.
12057 Tue Dec 25 15:59:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12059 * encoding.c (rb_enc_register): do not use based_encoding to check if
12062 Tue Dec 25 15:55:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12064 * string.c (rb_str_succ): fix for string with non-alphanumeric chars.
12066 Tue Dec 25 15:42:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12068 * io.c (rb_io_external_encoding): should return nil for
12069 pass-through write IO. [ruby-dev:32740]
12071 Tue Dec 25 15:24:57 2007 Tanaka Akira <akr@fsij.org>
12073 * io.c (appendline): initialize rslen to 1 if rsptr is 0.
12074 rslen is the length of the delimiter.
12075 if only delim is given, it should be 1.
12078 Tue Dec 25 15:21:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12080 * transcode.c (transcode_dispatch): fix for multistep transcode.
12082 Tue Dec 25 15:07:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12084 * enc/trans/single_byte.c (Init_single_byte): renamed.
12086 Tue Dec 25 15:00:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12088 * enum.c (enum_yield): when multiple values yielded from #each
12089 pack them into an array. [ruby-dev:32708]
12091 * enum.c: all method but all?, any?, one? and none? passed packed
12092 multiple values to the block.
12094 * enum.c (collect_all): should pack all values. [ruby-core:14410]
12096 Tue Dec 25 14:57:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12098 * common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.
12100 * transcode_data.h (rb_transcoding, rb_transcoder): prefixed.
12102 * transcode.c (rb_register_transcoder, rb_declare_transcoder): split
12103 declaration and registration. [ruby-dev:32704]
12105 * transcode.c (transcode_dispatch): autoload pre-declared transcoder.
12107 * transcode.c (str_transcode): use rb_define_dummy_encoding().
12109 * transcode.c (Init_transcode): initialize transcoder tables.
12111 * enc/trans/single_byte.c, enc/trans/japanese.c: moved from top.
12113 Tue Dec 25 14:20:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12115 * lib/mkmf.rb (map_dir): should generate path including $top_srcdir.
12117 Tue Dec 25 14:09:16 2007 James Edward Gray II <jeg2@ruby-lang.org>
12119 * lib/csv.rb: Fixed test failures caused by changes to Ruby.
12121 * test/csv/tc_serialization, test/csv/tc_csv_parsing, test/csv/tc_features:
12122 Fixed test failures caused by changes to Ruby.
12124 Tue Dec 25 14:11:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12126 * io.c (io_encoding_set): missing return type.
12128 Tue Dec 25 14:03:48 2007 NARUSE, Yui <naruse@ruby-lang.org>
12130 * test/rinda/test_rinda.rb (MockClock#{_forward, forward, sleep}):
12131 Change default value of n as @reso from nil. If default value is
12132 nil, n.+ is not defined.
12134 Tue Dec 25 13:54:01 2007 Tanaka Akira <akr@fsij.org>
12136 * test/ruby/test_io_m17n.rb (test_pipe): fixed.
12139 Tue Dec 25 13:44:51 2007 Koichi Sasada <ko1@atdot.net>
12141 * thread.c (rb_thread_wait_fd_rw): should check EBADF on select().
12143 Tue Dec 25 13:30:03 2007 Koichi Sasada <ko1@atdot.net>
12145 * thread_pthread.c, thread_pthread.h, thread_win32.c,
12146 thread_win32.c: make some functions static functions.
12147 a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp>
12148 in [ruby-core:14407]
12150 Tue Dec 25 13:23:13 2007 Tanaka Akira <akr@fsij.org>
12152 * test/ruby/test_io_m17n.rb (test_write_noenc): don't mix text and
12153 binary mode. [ruby-dev:32743]
12155 Tue Dec 25 13:13:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12157 * README.EXT.ja, dir.c, eval.c, eval_intern.h, lex.c.src,
12158 lex.c.blt, keywords, load.c, thread.c: more ANSI'ize.
12159 a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp>
12160 in [ruby-dev:32725]
12162 Tue Dec 25 13:07:56 2007 Koichi Sasada <ko1@atdot.net>
12164 * vm_core.h, thread.c, cont.c: add RUBY_VM_SET_INTERRUPT(),
12165 RUBY_VM_SET_TIMER_INTERRUPT(), RUBY_VM_INTERRUPTED().
12167 * thread.c, thread_pthread.c, thread_win32.c: fix to ignore time slice
12170 * bootstraptest/test_thread.rb: add a test for time limited join test.
12172 Tue Dec 25 12:42:59 2007 Koichi Sasada <ko1@atdot.net>
12174 * vm.c (Init_VM): remove unused code.
12177 Tue Dec 25 12:32:32 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12179 * transcode.c: Moving a static counter from inside register_transcoder()
12180 and register_functional_transcoder() to outside the functions, renaming
12181 from n to next_transcoder_position. Fixes 3) in [ruby-dev:32715].
12183 Tue Dec 25 12:22:17 2007 NARUSE, Yui <naruse@ruby-lang.org>
12185 * sample/from.rb: follow Ruby 1.9 libraries.
12187 Tue Dec 25 12:21:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12189 * proc.c (method_inspect): preserve encoding of the method name.
12191 Tue Dec 25 12:07:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12193 * configure.in (BASERUBY): delayed error until BASERUBY is used.
12195 Tue Dec 25 11:48:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12197 * sample/README: removed obsoleted files: dbmtest.rb,
12198 getopts.test, mrshtest.rb, regx.rb.
12200 Tue Dec 25 11:45:34 2007 James Edward Gray II <jeg2@ruby-lang.org>
12202 * lib/csv.rb: Import the FasterCSV source as the new CSV class.
12204 * test/csv/*: Added all applicable tests from FasterCSV.
12206 Tue Dec 25 11:33:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12208 * error.c (report_bug): uses ruby_description.
12210 Tue Dec 25 11:20:38 2007 Koichi Sasada <ko1@atdot.net>
12212 * compile.c (iseq_compile_each): fix stack consistency error.
12213 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:32720]
12215 * bootstraptest/test_syntax.rb: add 2 tests for above.
12217 Tue Dec 25 11:14:20 2007 Koichi Sasada <ko1@atdot.net>
12219 * iseq.c, vm_core.h: comment out unused fields.
12221 Tue Dec 25 11:02:10 2007 Koichi Sasada <ko1@atdot.net>
12223 * vm.c: check frame is FINAL when creating env.
12226 * bootstraptest/test_block.rb: add a test for above.
12228 Tue Dec 25 09:12:13 2007 Eric Hodel <drbrain@segment7.net>
12230 * lib/rdoc/: Enable RDoc debugging only with $DEBUG_RDOC.
12232 Tue Dec 25 08:37:43 2007 James Edward Gray II <jeg2@ruby-lang.org>
12234 * lib/csv.rb, test/csv/test_csv.rb: Removed in preparation for
12235 FasterCSV code import.
12237 Tue Dec 25 08:27:43 2007 Eric Hodel <drbrain@segment7.net>
12239 * lib/rubygems.rb: Fix test failures.
12241 * test/rubygems/test_gem.rb: Fix test failure.
12243 Tue Dec 25 06:23:40 2007 Koichi Sasada <ko1@atdot.net>
12245 * bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test.
12247 Tue Dec 25 06:19:04 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12249 * sample/biorhythm.rb: follow Ruby 1.9 libraries.
12251 Tue Dec 25 06:15:01 2007 Koichi Sasada <ko1@atdot.net>
12253 * vm.c: add dummy toplevel frame.
12255 Tue Dec 25 05:44:56 2007 Eric Hodel <drbrain@segment7.net>
12257 * lib/net/http.rb: Fix uninitialized variable warning.
12260 * lib/irb/output-method.rb: Remove unused #foo method.
12263 Tue Dec 25 05:24:12 2007 Koichi Sasada <ko1@atdot.net>
12265 * compile.c (iseq_compile): clear local table if node == 0.
12266 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:32530]
12268 * vm.c: clear VM stack.
12270 Tue Dec 25 04:23:32 2007 Tanaka Akira <akr@fsij.org>
12272 * parse.y (rb_id2str): fill klass of returned string as rb_cString.
12273 some strings are allocated before rb_cString is created.
12274 This prevents a "called on terminated object" error by
12275 ObjectSpace.each_object(Module) {|m| p m.name }.
12277 Tue Dec 25 03:51:55 2007 Koichi Sasada <ko1@atdot.net>
12279 * compile.c (iseq_compile_each): fix stack consistency bug.
12280 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
12282 Tue Dec 25 03:19:47 2007 WATANABE Hirofumi <eban@ruby-lang.org>
12284 * tool/make-snapshot: must create configure and lex.c.
12286 Tue Dec 25 03:16:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12288 * io.c (rb_io_s_pipe): now takes up to two arguments. allow its
12289 external/internal encoding by Encoding objects.
12291 * io.c (rb_io_set_encoding): new method to set encoding of the IO.
12293 * io.c (argf_set_encoding): ditto.
12295 Tue Dec 25 03:08:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12297 * pack.c (pack_pack): use NUM2LONG instead of NUM2INT.
12299 * numeric.c (fix_lshift, fix_aref): use SIZEOF_LONG instead of
12302 * bignum.c (big2ulong, rb_big_aref): ditto.
12304 Tue Dec 25 02:55:26 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12306 * lib/rexml/element.rb (REXML::Elements#each): yield in each
12307 should be called with one parameter. [ruby-dev:32708]
12309 Tue Dec 25 02:15:39 2007 Koichi Sasada <ko1@atdot.net>
12311 * compile.c (iseq_compile_each): add a "pop" insn after break
12312 to fix stack consistency error. [ruby-core:14385]
12314 * bootstraptest/test_syntax.rb: add tests for above.
12316 * bootstraptest/test_knownbug.rb: remove fixed bug.
12318 Tue Dec 25 01:54:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12320 * id.c (Init_id): remove several unused symbols. [ruby-core:14362]
12322 * compile.c (iseq_specialized_instruction): do not use
12323 VM_CALL_SEND_BANG flag any longer.
12325 Tue Dec 25 01:42:41 2007 Tanaka Akira <akr@fsij.org>
12327 * lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.
12329 Tue Dec 25 01:38:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12331 * proc.c (method_name): preserve Symbol's encoding.
12333 * numeric.c (fix_id2name): ditto.
12335 Tue Dec 25 01:19:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12337 * include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.
12339 * include/ruby/encoding.h (rb_enc_right_char_head): ditto.
12341 * io.c (appendline): does multibyte RS search in the function.
12343 * io.c (prepare_getline_args): RS may be nil.
12345 * io.c (rb_io_getc): should process character based on external
12346 encoding, when transcoding required.
12348 Tue Dec 25 01:07:57 2007 Tanaka Akira <akr@fsij.org>
12350 * lib/irb/output-method.rb: translate a comment to English to
12351 avoid mix of EUC-JP comment and UTF-8 Date keyword.
12352 svn substitute Date keyword with UTF-8 weekday on UTF-8 locale.
12354 Tue Dec 25 00:27:28 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12356 * lib/webrick/httpservley/cgihandler.rb
12357 (WEBrick::HTTPServlet::CGIHandler#do_GET): m17nized.
12359 Mon Dec 24 23:55:29 2007 Tanaka Akira <akr@fsij.org>
12361 * lib/cgi.rb (CGI::escape): m17nized.
12362 (CGI::unescape): ditto.
12363 (CGI::escapeHTML): ditto.
12364 (CGI::unescapeHTML): ditto.
12366 Mon Dec 24 23:32:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12368 * transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
12370 Mon Dec 24 23:13:09 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12372 * lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitls
12375 Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
12377 * lib/ftools.rb: removed obsoleted lib. use fileutils instead (by eban).
12379 * lib/rdoc/rdoc.rb, lib/rdoc/generators/*, lib/rake.rb: let it use
12380 fileutils instead of ftools.
12382 * lib/shell/command-processor.rb: removed unused references to ftools.
12384 * lib/parsedate.rb: removed. see [ruby-core:12535], [ruby-dev:31969].
12386 * lib/README: updated.
12388 Mon Dec 24 23:01:04 2007 Tanaka Akira <akr@fsij.org>
12390 * lib/open-uri.rb (OpenURI::Buffer): use Meta ===. [ruby-core:14295]
12392 Mon Dec 24 22:46:42 2007 NARUSE, Yui <naruse@ruby-lang.org>
12394 * transcode.c: register_functional_transcoder() added.
12395 (init_transcoder_table(: register ISO-2022-JP.
12396 (str_transcode): add preprocessor and postprocessor.
12398 * transcode_data_japanese.c: add ISO-2022-JP support.
12400 * transcode_data.h: moved transcoder and transcoding definition from
12403 Mon Dec 24 20:29:28 2007 Koichi Sasada <ko1@atdot.net>
12405 * test/io/nonblock/test_flush.rb: fix test for 1.9.
12407 Mon Dec 24 20:23:44 2007 Koichi Sasada <ko1@atdot.net>
12409 * test/rinda/test_rinda.rb: revert last commit because this test seems
12410 to have timing problem to halt all tests.
12412 Mon Dec 24 20:18:52 2007 Koichi Sasada <ko1@atdot.net>
12414 * test/rinda/test_rinda.rb: enable rinda test.
12416 Mon Dec 24 20:16:54 2007 Koichi Sasada <ko1@atdot.net>
12418 * instruby.rb: fix rdoc install dir.
12420 Mon Dec 24 18:37:32 2007 Tanaka Akira <akr@fsij.org>
12422 * re.c (rb_reg_prepare_re): show regexp encoding in the error message.
12424 Mon Dec 24 18:23:32 2007 Tanaka Akira <akr@fsij.org>
12426 * eval.c (rb_exc_raise): ANSI style.
12427 (rb_exc_fatal): ditto.
12428 (rb_raise_jump): ditto.
12429 (rb_jump_tag): ditto.
12430 (rb_block_given_p): ditto.
12432 * variable.c (original_module): ditto.
12434 Mon Dec 24 18:05:09 2007 Koichi Sasada <ko1@atdot.net>
12436 * iseq.c (Init_ISeq): disable ISeq.load() because there is no verifier.
12438 * iseq.c, proc.c: add ISeq.disasm(method).
12440 Mon Dec 24 18:06:03 2007 Tanaka Akira <akr@fsij.org>
12442 * eval_method.c (Init_eval_method): extracted from Init_eval
12443 for rdoc to find rb_mod_remove_method, rb_mod_undef_method and
12444 rb_mod_alias_method.
12446 * eval.c (Init_eval): call Init_eval_method.
12448 Mon Dec 24 17:59:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12450 * load.c (load_lock): reverted.
12452 * thread.c (rb_barrier_wait): check for recursive wait.
12454 Mon Dec 24 17:50:54 2007 Tanaka Akira <akr@fsij.org>
12456 * eval.c (function_call_may_return_twice_jmp_buf): removed.
12457 (function_call_may_return_twice_false): removed.
12460 Mon Dec 24 17:40:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12462 * common.mk (node_name.inc, miniprelude.c, prelude.c): nmake cannot
12463 handle target vpath in other than implicit rules.
12465 Mon Dec 24 17:20:34 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
12467 * lib/{mailread.rb,getopts.rb,parsearg.rb}: removed.
12468 see [ruby-core:12535], [ruby-dev:31969].
12470 Mon Dec 24 17:12:57 2007 Tanaka Akira <akr@fsij.org>
12472 * include/ruby/intern.h, random.c, array.c:
12473 change exported name.
12474 genrand_int32 -> rb_genrand_int32.
12475 genrand_real -> rb_genrand_real.
12478 Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
12480 * {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion
12481 at ruby-core and ruby-dev. see [ruby-core:12535], [ruby-dev:31969].
12483 Mon Dec 24 17:06:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12485 * load.c (rb_feature_p): returns loading path name too.
12487 * load.c (search_required): returns path too if feature is being
12488 loaded. [ruby-dev:32048] [TODO: refactoring]
12490 Mon Dec 24 16:29:12 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12492 * sample/openssl: reviewed and remove dependency on getopts.rb.
12494 Mon Dec 24 16:18:57 2007 Koichi Sasada <ko1@atdot.net>
12496 * mkconfig.rb: add teeny to CONFIG['ruby_version'].
12498 Mon Dec 24 15:55:50 2007 Koichi Sasada <ko1@atdot.net>
12500 * tool/compile.rb, getrev.rb, runruby.rb: remove unused tools.
12502 Mon Dec 24 15:42:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12504 * configure.in, cygwin/GNUmakefile.in, */Makefile.sub,
12505 djgpp/config.hin.: version dependent directory names now contain
12508 Mon Dec 24 15:29:13 2007 Tanaka Akira <akr@fsij.org>
12510 * tool/serb.rb: removed.
12512 Mon Dec 24 13:55:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12514 * proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.
12517 * test/ruby/test_symbol.rb (test_to_proc): a test from Frederick
12518 Cheung <frederick.cheung AT gmail.com>.
12520 Mon Dec 24 13:43:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12522 * thread.c (rb_thread_atfork): should not leave living_threads
12523 referring freed table while allocating new table.
12525 Mon Dec 24 12:49:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12527 * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specify
12528 compiled output file name explicitly.
12530 * enc/Makefile.in, enc/depend: now makes compiler to put generated
12531 files under directories corresponding to the each source.
12532 enc/trans supported.
12534 * enc/make_encmake.rb: evaluates depend file before Makefile.in so
12535 that the former can influence to CONFIG.
12537 Mon Dec 24 12:35:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12539 * win{32,ce}/Makefile.sub (MFLAGS): defaulted to -l.
12541 Mon Dec 24 12:08:10 2007 Eric Hodel <drbrain@segment7.net>
12543 * /, ext/: Add svn:ignore for OS X Xcode 3's conftest.dSYM
12546 Mon Dec 24 11:56:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12548 * common.mk: should not pass MAKEFLAGS to recursive make.
12549 + normal make: MFLAGS are set and command line options and macros
12550 are all passed silently.
12551 + GNU make: ditto, and all options and macros in MAKEFLAGS are in
12553 + nmake: MFLAGS is not set and MAKEFLAGS has only options without
12554 hyphen, no macros exist in any variables.
12555 + Borland make: ditto, and command line macros cannot override
12556 macros in makefile, so passing them is vain.
12558 * {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not
12559 set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS.
12561 Mon Dec 24 11:32:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12563 * string.c (rb_str_comparable): fixed to keep transitivity.
12566 Mon Dec 24 11:20:31 2007 Eric Hodel <drbrain@segment7.net>
12568 * lib/rdoc/ri/ri_options.rb: Fix display of GEMDIRS, make command
12569 examples match ri's name.
12571 * lib/rdoc/ri/ri_paths.rb: Only allow latest ri dirs in ri output.
12573 Mon Dec 24 10:49:04 2007 Eric Hodel <drbrain@segment7.net>
12575 * lib/uri/mailto.rb, lib/uri/common.rb: Fix Regexp warnings. Patch
12576 #16524 from Kornelius Kalnbach, [ruby-core:14302].
12578 Mon Dec 24 10:37:38 2007 Eric Hodel <drbrain@segment7.net>
12580 * gem_prelude.rb: Remove methods from Gem, not QuickLoader, to fix
12583 Mon Dec 24 09:45:45 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12585 * transcode.c, transcode_data_one_byte.c, transcode_data_japanese.c:
12586 added rb_ prefix to external data symbols.
12588 Mon Dec 24 05:32:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12590 * enum.c (enum_inject): updated documentation. a patch from Keita
12591 Yamaguchi <keita.yamaguchi AT gmail.com> in [ruby-dev:32686].
12593 * README.EXT: updated. a patch from Tadashi Saito
12594 <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14328].
12596 * array.c (rb_ary_at): updated documentation. a patch from Tadashi
12597 Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].
12599 Mon Dec 24 05:13:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12601 * string.c (tr_trans): should associate new encoding if modified.
12603 Mon Dec 24 04:04:12 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12605 * test/net/http/test_https.rb: should rescue LoadError.
12607 Mon Dec 24 03:57:28 2007 Koichi Sasada <ko1@atdot.net>
12609 * cont.c, vm.h: fix to support sparc machine.
12610 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
12612 Mon Dec 24 03:35:19 2007 Koichi Sasada <ko1@atdot.net>
12614 * common.mk: remove additional "-".
12616 Mon Dec 24 02:59:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12618 * io.c (rb_io_check_readable): should not fill fptr->enc always.
12619 read-write IO (e.g. socket) does not work. [ruby-dev:32685]
12621 * io.c (io_read_encoding): retrieve reading encoding.
12623 * io.c (prepare_getline_args): convert RS to external encoding.
12625 * string.c (str_new_shared): was setting embedding flag of wrong
12626 string object. [ruby-dev:32685]
12628 * io.c (io_enc_str): should preserve default_external encoding.
12630 * io.c (appendline): should do multibyte aware RS search.
12632 Mon Dec 24 02:06:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12634 * io.c (rb_f_open): documentation update.
12636 * io.c (rb_io_s_pipe): ditto.
12638 * io.c (io_fwrite): wrong encoding destination.
12640 * io.c (rb_io_external_encoding): should return the encoding of
12643 * io.c (rb_io_internal_encoding): should return the encoding of
12646 Mon Dec 24 01:46:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12648 * io.c (rb_io_s_pipe): allow specifying read-side encoding.
12650 * io.c (io_enc_str): wrong encoding destination.
12652 Mon Dec 24 01:03:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12654 * string.c (rb_str_comparable): comparison including broken
12655 coderange strings do not consider encoding.
12657 Mon Dec 24 00:57:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12659 * io.c (open_key_args): IO direct methods (foreach, readlines,
12660 read) now takes keyword argument: encoding, mode, open_args.
12662 Mon Dec 24 00:52:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12664 * io.c (rb_io_s_read): encoding argument reverted.
12666 * io.c (mode_enc): independent function to share code.
12668 * io.c (rb_io_internal_encoding): new method.
12670 Mon Dec 24 00:47:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12672 * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn):
12673 rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary
12674 warning in make test.
12676 Sun Dec 23 23:03:13 2007 Tanaka Akira <akr@fsij.org>
12678 * encoding.c (rb_enc_codepoint): implemented to raise invalid
12681 * include/ruby/encoding.h (rb_enc_codepoint): macro is replaced as a
12684 Sun Dec 23 19:45:22 2007 Tanaka Akira <akr@fsij.org>
12686 * lib/time.rb (Time.httpdate): fix 2 digits year for 20xx.
12687 reported by Tadayoshi Funaba. [ruby-dev:32687]
12689 Sun Dec 23 19:33:42 2007 Eric Hodel <drbrain@segment7.net>
12691 * lib/open-uri.rb: Fix method redefined warning. [ruby-core:14304]
12693 Sun Dec 23 18:31:49 2007 NARUSE, Yui <naruse@ruby-lang.org>
12695 * ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.
12697 * ext/nkf/nkf.c (Init_nkf): use rb_nkf_enc_get("ASCII").
12699 * ext/nkf/nkf-utf8/nkf.c: Update 1.161.
12701 * ext/nkf/nkf-utf9/config.h: default output encoding is now UTF-8.
12703 * ext/nkf/lib/kconv.rb (Kconv.kconv): replace Encoding#name by
12706 Sun Dec 23 18:02:52 2007 Eric Hodel <drbrain@segment7.net>
12708 * lib/rubygems/gem_open_uri.rb: Fix version check.
12710 Sun Dec 23 17:24:48 2007 Tanaka Akira <akr@fsij.org>
12712 * encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.
12714 Sun Dec 23 17:00:23 2007 Tanaka Akira <akr@fsij.org>
12716 * lib/time.rb (Time.httpdate): use Time.utc for
12717 "day-of-week, dd-mon-yy HH::MM:SS GMT" format.
12719 Sun Dec 23 16:12:40 2007 Eric Hodel <drbrain@segment7.net>
12721 * lib/rdoc: Fix 1.9 warnings.
12723 Sun Dec 23 15:28:37 2007 Eric Hodel <drbrain@segment7.net>
12725 * lib/rubygems, test/rubygems: Fix new 1.9 warnings.
12727 Sun Dec 23 14:43:10 2007 Eric Hodel <drbrain@segment7.net>
12729 * gem_prelude.rb: Use require to load rubygems.rb so the correct path
12730 is in $LOADED_FEATURES on RubyGems upgrade.
12732 Sun Dec 23 11:26:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12734 * string.c (sym_call): use exact argument array interface.
12737 Sun Dec 23 11:01:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12739 * io.c (rb_io_binmode_m): removed C99ism.
12741 Sun Dec 23 10:23:23 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12743 * transcode_data_one_byte.c: Better (and more honest) optimization.
12745 * transcode_data_japanese.c: First optimization step.
12747 Sun Dec 23 09:07:02 2007 Tanaka Akira <akr@fsij.org>
12749 * include/ruby/encoding.h, encoding.c, re.c, io.c, parse.y, numeric.c,
12750 ruby.c, transcode.c, ext/nkf/nkf.c: rename rb_ascii_encoding to
12751 rb_ascii8bit_encoding. rb_ascii_encoding is ambiguous with
12752 ASCII-8BIT and US-ASCII.
12754 Sun Dec 23 03:35:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12756 * version.h: use patchlevel if revision is not set.
12758 * {bcc32,win{32,ce}}/setup.mak (-version-): skip including revision.h.
12760 * common.mk (srcs): new target to generated sources.
12762 * common.mk (encs, ext/ripper/ripper.c): MAKEFLAGS needs -.
12764 * enc/depend, enc/make_encmake.rb: use erb.
12766 Sun Dec 23 01:56:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12768 * io.c (rb_io_mode_enc): do not set encoding unless explicitly
12771 * io.c (rb_io_check_readable): fill fptr->enc by default_external
12774 * io.c (io_enc_str): fptr->enc is always set for reading IO (by
12775 rb_io_check_readable(fptr)).
12777 Sun Dec 23 01:18:06 2007 David Flanagan <david@davidflanagan.com>
12779 * io.c, io.h: temporary patch to partially implement
12780 transcode-on-read and transcode-on-write
12782 Sun Dec 23 00:48:05 2007 Shugo Maeda <shugo@ruby-lang.org>
12784 * test/net/imap/test_imap.rb: added tests for SSL.
12786 Sat Dec 22 21:10:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12788 * ext/syck/rubyext.c (syck_genericresolver_node_import): should
12789 not set instance variable "@kind" before initializing it.
12792 Sat Dec 22 19:52:23 2007 Koichi Sasada <ko1@atdot.net>
12794 * bootstraptest/test_objectspace.rb: fix condition.
12796 Sat Dec 22 19:17:10 2007 Koichi Sasada <ko1@atdot.net>
12798 * ext/probeprofiler/: removed.
12800 Sat Dec 22 19:14:38 2007 Koichi Sasada <ko1@atdot.net>
12802 * process.c (rb_f_fork): Unsupport Kernel.fork() on NetBSD.
12804 Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12806 * test/ruby/test_transcode.rb: Added simple tests for
12807 EUC-JP and Shift_JIS and tests for ASCII-only range
12809 Sat Dec 22 18:20:13 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12811 * common.mk (version.o): add dependency. [ruby-dev:32680]
12813 Sat Dec 22 17:45:11 2007 NARUSE, Yui <naruse@ruby-lang.org>
12815 * ext/nkf/nkf.c (Init_nkf): use rb_ascii_encoding() for
12816 rb_nkf_enc_get("US-ASCII").
12817 * if use rb_nkf_enc_get("US-ASCII"), ruby will crash - this is bug?
12819 Sat Dec 22 17:39:03 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12821 * lib/mkmf.rb ($extmk): fixed broken condition.
12823 Sat Dec 22 17:35:59 2007 NARUSE, Yui <naruse@ruby-lang.org>
12825 * ext/nkf/nkf-utf8.c: Update nkf.c rev:1.157.
12827 * ext/nkf/nkf.c (rb_nkf_enc_get): replicate proper based encoding.
12829 * ext/nkf/kconv.c (Kconv#kconv, to*): use self.encoding as from_enc
12830 when from_enc isn't given.
12832 Sat Dec 22 17:06:50 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12834 * ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.
12836 * ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext#set_params):
12837 new method to set suitable SSL parameters.
12839 * lib/net/pop.rb, lib/net/http.rb, lib/net/imap.rb,
12840 test/openssl/test_ssl.rb: follow above change.
12842 * test/net/http/test_https.rb: refine error case.
12844 Sat Dec 22 16:58:49 2007 Shugo Maeda <shugo@ruby-lang.org>
12846 * lib/net/imap.rb (encode_utf7): accept UTF-8 strings.
12848 * lib/net/imap.rb (decode_utf7): return UTF-8 strings.
12850 Sat Dec 22 15:56:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12852 * transcode_data_japanese: typo.
12854 Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12856 * ChangeLog: Information for last patch got lost, fixed
12858 Sat Dec 22 15:45:45 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12860 * transcode_data_one_byte: slightly optimized
12862 * transcode_data_japanese: new data file for EUC-JP and SHIFT_JIS
12863 (not yet optimized; tests to follow; data from
12864 http://nkf.sourceforge.jp/ucm/{SJIS|eucJP}-nkf.ucm)
12866 * common.mk, transcode.c: Adjusted for transcode_data_japanese
12868 Sat Dec 22 15:30:13 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12870 * */Makefile.sub (MFLAGS): define unless defined.
12872 Sat Dec 22 15:17:40 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12874 * lib/mkmf.rb ($extmk): set true only when under ext/ or tool/.
12876 Sat Dec 22 15:14:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12878 * common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.
12880 * configure.in (STRINGIZE): stringizing macro.
12882 * include/ruby/defines.h (STRINGIZE): fallback.
12884 * tool/make-snapshot: new file.
12886 * version.c (ruby_description, ruby_copyright): string constants for
12889 Sat Dec 22 15:03:37 2007 Shugo Maeda <shugo@ruby-lang.org>
12891 * lib/net/imap.rb (initialize): fixed documentation.
12893 Sat Dec 22 15:01:16 2007 Shugo Maeda <shugo@ruby-lang.org>
12895 * lib/net/pop.rb (enable_ssl): use OpenSSL::SSL::SSLContext.build
12896 instead of SSLContext.new (default verify mode is now
12897 OpenSSL::SSL::VERIFY_PEER).
12899 Sat Dec 22 14:45:21 2007 Tadayoshi Funaba <tadf@dotrb.org>
12901 * lib/date.rb: shouldn't freeze nil. [ruby-dev:32677]
12903 Sat Dec 22 14:27:27 2007 Tanaka Akira <akr@fsij.org>
12905 * regenc.c (onigenc_ascii_is_code_ctype): moved from enc/ascii.c.
12907 * regenc.h (onigenc_ascii_is_code_ctype): declared.
12909 * enc/ascii.c: use onigenc_ascii_is_code_ctype.
12911 * enc/us_ascii.c: new file for US-ASCII.
12913 Sat Dec 22 14:30:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12915 * parse.y (reg_named_capture_assign_iter): allows non-ascii names and
12916 get rid of reserved word IDs.
12918 Sat Dec 22 14:18:45 2007 Koichi Sasada <ko1@atdot.net>
12920 * test/ruby/test_float.rb, test_sprintf.rb: fix test place.
12922 Sat Dec 22 14:17:02 2007 Koichi Sasada <ko1@atdot.net>
12924 * bootstraptest/test_objectspace.rb: skip frozen string.
12926 Sat Dec 22 14:02:58 2007 Koichi Sasada <ko1@atdot.net>
12928 * array.c (rb_ary_permutation): add volatile to avoid GC problem.
12930 Sat Dec 22 11:47:42 2007 Koichi Sasada <ko1@atdot.net>
12932 * eval.c (rb_obj_instance_eval): use class of immediate objects.
12934 * test/ruby/test_eval.rb: fix a test.
12936 Sat Dec 22 11:37:06 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12938 * encoding.c (rb_locale_charmap): win32 support.
12940 Sat Dec 22 11:31:14 2007 Eric Hodel <drbrain@segment7.net>
12942 * gem_prelude.rb: Place bin dir before lib dir so gem bin stubs work.
12944 Sat Dec 22 11:05:44 2007 Jim Weirich <jim@tardis.local>
12946 * lib/rake.rb (Rake): Added Rake and related libraries to the
12949 Sat Dec 22 10:30:45 2007 Koichi Sasada <ko1@atdot.net>
12951 * tool/insns2vm.rb: moved from lib/vm/instruction.rb.
12953 Sat Dec 22 10:25:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12955 * parse.y (reg_named_capture_assign_iter): captured name should
12956 not be reserved word. a patch from Keita Yamaguchi
12957 <keita.yamaguchi AT gmail.com> in [ruby-dev:32675].
12959 * parse.y (reg_named_capture_assign_iter): just ignore the
12960 captures that do not have valid local variable name.
12962 Sat Dec 22 10:19:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12964 * eval.c (rb_f_method_name): now __method__ and __callee__ are
12965 aliases. [ruby-core:14244]
12967 Sat Dec 22 08:29:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12969 * string.c (rb_str_buf_append): improvement for non-broken coded
12972 Sat Dec 22 06:30:04 2007 Koichi Sasada <ko1@atdot.net>
12974 * bootstraptest/test_fork.rb: skip if fork is not unsupported.
12976 * bootstraptest/test_io.rb: skip if require failed.
12978 Sat Dec 22 06:09:12 2007 David Flanagan <david@davidflanagan.com>
12980 * io.c: fix typo in rdoc comment
12982 Sat Dec 22 05:09:43 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12984 * parse.y (parser_str_new, rb_intern3): rb_default_encoding() renamed.
12986 * ext/nkf/nkf.c (rb_nkf_putchar): ditto.
12988 Sat Dec 22 03:54:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12990 * encoding.c (rb_ascii_encoding): renamed from previous
12991 rb_default_encoding().
12993 Sat Dec 22 02:49:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12995 * parse.y (command): block from cmd_brace_block was ignored.
12998 * re.c (rb_reg_prepare_re): stop ENCODING_NONE warning if the
12999 encoding of the str is ASCII-8BIT.
13001 Sat Dec 22 01:52:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13003 * io.c (io_ungetc): avoid buffer relocation, which might cause
13004 serious problem under concurrent situation.
13006 Sat Dec 22 01:35:41 2007 Tanaka Akira <akr@fsij.org>
13008 * re.c (ARG_ENCODING_NONE): defined for /.../n option.
13009 (REG_ENCODING_NONE): ditto.
13010 (rb_char_to_option_kcode): return ARG_ENCODING_NONE for n.
13011 (rb_reg_prepare_re): warn /ascii/n =~ "non-ascii".
13012 (rb_reg_initialize): set REG_ENCODING_NONE from ARG_ENCODING_NONE.
13014 Sat Dec 22 01:23:10 2007 Shugo Maeda <shugo@ruby-lang.org>
13016 * test/json/test_json_addition.rb (test_core): do not use Time.now
13017 because JSON can't hold nsec.
13019 Sat Dec 22 01:10:30 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13021 * ext/tk/sample/tkextlib/vu/canvSticker2.rb,
13022 ext/tk/sample/demos-{en,jp}/bind.rb: fix typo. [ruby-dev:32668]
13024 Sat Dec 22 00:56:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13026 * sample/test.rb (valid_syntax): force_encoding input script.
13028 Fri Dec 21 23:48:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13030 * lib/mkmf.rb (depend_rules): suffixes list broken. fixed.
13032 Fri Dec 21 20:18:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13034 * bignum.c (rb_big_mul0): remove unused variable.
13036 * bignum.c (bigdivrem): ditto.
13038 Fri Dec 21 20:13:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13040 * include/ruby/ruby.h (rb_catch_obj, rb_throw_obj): prototyped.
13042 * include/ruby/intern.h (rb_fiber_alive_p): prototyped.
13044 Fri Dec 21 20:09:18 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13046 * string.c (rb_str_succ): retry increasing until valid char is found.
13048 Fri Dec 21 20:00:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13050 * encoding.c (rb_enc_replicate): now creates first class encoding.
13052 * encoding.c (rb_define_dummy_encoding): always based on the default
13055 * encoding.c (rb_enc_dummy_p): check if dummy.
13057 * encoding.c (enc_inspect): shows if dummy.
13059 * encoding.c (Init_Encoding): added dummy? method
13061 * include/ruby/encoding.h (ENCODING_INLINE_MAX): increased.
13063 Fri Dec 21 18:40:54 2007 Koichi Sasada <ko1@atdot.net>
13065 * io.c: write() should be in blocking region.
13067 * bootstraptest/test_io.rb, test_knownbug.rb: move a fixed test.
13069 Fri Dec 21 17:56:30 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
13071 * ext/tk/tcltklib.c: provisional support on Ruby-VM.
13073 * ext/tk/MANUAL_tcltklib.eng, ext/tk/MANUAL_tcltklib.eucj:
13074 modify document about new functions.
13076 * ext/tk/lib/tk.rb, ext/tk/lib/tk/labelframe.rb,
13077 ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/toplevel.rb,
13078 ext/tk/lib/tk/scrollbar.rb, ext/tk/lib/tk/message.rb,
13079 ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/text.rb,
13080 ext/tk/lib/tk/scale.rb, ext/tk/lib/tk/entry.rb,
13081 ext/tk/lib/tk/ttk_selector.rb, ext/tk/lib/tk/menu.rb,
13082 ext/tk/lib/tk/label.rb, ext/tk/lib/tk/spinbox.rb,
13083 ext/tk/lib/tk/textmark.rb, ext/tk/lib/tk/winpkg.rb,
13084 ext/tk/lib/tk/checkbutton.rb, ext/tk/lib/tk/panedwindow.rb,
13085 ext/tk/lib/tk/texttag.rb, ext/tk/lib/tk/root.rb,
13086 ext/tk/lib/tk/textimage.rb, ext/tk/lib/tk/radiobutton.rb,
13087 ext/tk/lib/tk/package.rb, ext/tk/lib/tk/macpkg.rb,
13088 ext/tk/lib/tk/composite.rb, ext/tk/lib/tk/autoload.rb,
13089 ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/button.rb,
13090 ext/tk/lib/tk/textwindow.rb,
13091 ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb,
13092 ext/tk/lib/tkextlib/tile/style.rb,
13093 ext/tk/lib/tkextlib/tile/tscrollbar.rb,
13094 ext/tk/lib/tkextlib/tile/tpaned.rb, ext/tk/lib/tkextlib/tile.rb,
13095 ext/tk/extconf.rb: support Tcl/Tk8.5 (partial, not complete).
13097 * ext/tk/sample/demos-jp/widget,
13098 ext/tk/sample/demos-jp/pendulum.rb,
13099 ext/tk/sample/demos-jp/bind.rb,
13100 ext/tk/sample/tkextlib/vu/canvSticker2.rb,
13101 ext/tk/sample/demos-en/pendulum.rb,
13102 ext/tk/sample/demos-en/bind.rb: remove $KCODE and minor bug fix.
13104 Fri Dec 21 17:49:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13106 * transcode.c (rb_str_transcode_bang): returns self if no conversion.
13109 Fri Dec 21 17:44:47 2007 Eric Hodel <drbrain@segment7.net>
13111 * lib/rubygems*: Update to RubyGems 1.0.1, r1581
13113 Fri Dec 21 17:32:49 2007 Koichi Sasada <ko1@atdot.net>
13115 * bootstraptest/pending.rb: renamed from featurebug.rb.
13116 This file contains bugs which is known but will not be
13119 Fri Dec 21 17:31:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13121 * debug.c (dummy_gdb_enums.various): added ENCODING and CODERANGE
13124 * .gdbinit: use enum constants.
13126 Fri Dec 21 17:28:17 2007 Koichi Sasada <ko1@atdot.net>
13128 * bootstraptest/featurebug.rb: added.
13130 * bootstraptest/test_knownbug.rb: move a feature bug.
13132 Fri Dec 21 17:25:22 2007 Koichi Sasada <ko1@atdot.net>
13134 * thread.c (rb_thread_atfork): fix to mark thread object.
13137 * bootstraptest/test_knownbug.rb, test_fork.rb: move a fixed test.
13139 Fri Dec 21 17:07:13 2007 Koichi Sasada <ko1@atdot.net>
13141 * gc.h: extern variable should not be initialized.
13143 * thread_pthread.c: add a parameter.
13145 Fri Dec 21 16:50:43 2007 Tanaka Akira <akr@fsij.org>
13147 * encoding.c (Init_Encoding): use enc_name as to_s.
13148 (enc_inspect): renamed from enc_to_s. add "#" at beginning.
13150 Fri Dec 21 16:37:43 2007 NARUSE, Yui <naruse@ruby-lang.org>
13152 * ext/nkf/nkf-utf8/config.h (MIME_DECODE_DEFAULT, X0201_DEFAULT):
13153 defined as FALSE. nkf and kconv don't decode MIME encoded string
13154 and don't convert JIS X 0201 Katakana.
13156 * test/nkf/test_kconv.rb: fix tests.
13158 Fri Dec 21 16:33:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13160 * enumerator.c (enumerator_iter_i): adjusted for rb_block_call_func.
13162 * include/ruby/ruby.h (rb_block_call_func): function to be called back
13165 Fri Dec 21 16:25:25 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
13167 * common.mk, transcode_data_iso_8859.c: renamed to
13168 transcode_data_one_byte.c.
13170 Fri Dec 21 16:10:30 2007 Shigeo Kobayashi <shigeo@tinyforest.jp>
13172 * ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug
13173 pointed by Ryan Platte fixed(Patch to the patch from "NATORI
13174 Shin"). [ruby-talk:273360]
13176 Fri Dec 21 16:06:13 2007 Tanaka Akira <akr@fsij.org>
13178 * re.c (append_utf8): use rb_utf8_encoding() instead of
13179 rb_enc_find("utf-8").
13181 Fri Dec 21 15:59:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13183 * encoding.c (rb_enc_init): use enc_register_at() directly.
13185 * encoding.c (rb_utf8_encoding): returns utf-8 encoding.
13187 * include/ruby/encoding.h (rb_utf8_encoding): prototyped.
13189 * parse.y (UTF8_ENC): uses rb_utf8_encoding().
13191 Fri Dec 21 15:31:59 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13193 * io.c (rb_io_s_read): allow specifying encoding explicitly.
13195 * io.c (rb_io_binmode): specifies encoding to ASCII-8BIT (binary).
13197 * io.c (rb_io_s_read): IO should be in binary mode when offset is
13200 * encoding.c (rb_to_encoding): returns default encoding if no
13201 corresponding encoding found.
13203 Fri Dec 21 15:24:22 2007 Shugo Maeda <shugo@ruby-lang.org>
13205 * lib/net/imap.rb (initialize): accept service name. changed
13206 the default value of the old style +verify+ argument to true.
13208 Fri Dec 21 15:15:44 2007 Tanaka Akira <akr@fsij.org>
13210 * gc.c (rb_garbage_collect): new function for debugging.
13212 Fri Dec 21 15:16:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13214 * encoding.c (rb_to_encoding_index): should return error instead of
13215 exception even if type is incorrect.
13217 Fri Dec 21 14:58:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13219 * enumerator.c (enumerator_init_copy): prohibit cloning of
13220 generators since Fibers cannot be copied.
13222 * enumerator.c (enumerator_init_copy): typo fixed.
13224 Fri Dec 21 14:46:07 2007 Tanaka Akira <akr@fsij.org>
13226 * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist.
13228 Fri Dec 21 14:01:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13230 * test/ruby/test_system.rb (TestSystem::valid_syntax): apply
13231 ASCII-8BIT encoding explicitly.
13233 * re.c (rb_reg_prepare_re): add encoding name in the message.
13235 Fri Dec 21 13:54:05 2007 Tanaka Akira <akr@fsij.org>
13237 * re.c: change "character encodings differ" error messages.
13239 Fri Dec 21 13:46:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13241 * encoding.c (rb_enc_register): set encoding constant.
13243 * encoding.c (rb_enc_find_index): replace non-alphanumeric chars with
13244 underscores, so that initialize function can be called.
13246 * encoding.c (rb_enc_find_index): extension libraries have lower case
13247 names conventionally.
13249 * ruby.c (proc_options, process_options): finds encoding after
13250 load_path is initialized.
13252 Fri Dec 21 13:10:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13254 * io.c (rb_io_external_encoding): new method.
13256 * encoding.c (rb_enc_from_encoding): returns Qnil for NULL
13259 * io.c (rb_io_external_encoding): should fill delayed
13260 initialization for STDIN.
13262 Fri Dec 21 13:09:11 2007 Tanaka Akira <akr@fsij.org>
13264 * encoding.c (rb_locale_charmap): return nil if no locale information.
13266 Fri Dec 21 12:55:39 2007 Tanaka Akira <akr@fsij.org>
13268 * lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.
13270 Fri Dec 21 12:45:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13272 * string.c (rb_str_chomp_bang): avoid unnecessary loop using
13273 ONIGENC_LEFT_ADJUST_CHAR_HEAD().
13275 Fri Dec 21 12:32:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13277 * file.c (Init_File): File.exists? revived.
13279 * dir.c (Init_Dir): Dir.exists? again.
13281 Fri Dec 21 12:26:36 2007 Koichi Sasada <ko1@atdot.net>
13283 * compile.c: remove "illegal".
13285 Fri Dec 21 12:22:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13287 * keywords, parse.y (__ENCODING__): represent script encoding.
13289 Fri Dec 21 12:16:50 2007 Tanaka Akira <akr@fsij.org>
13291 * string.c (rb_str_is_ascii_only_p): new method ascii_only?.
13293 Fri Dec 21 12:11:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13295 * io.c (rb_io_mode_enc): set default external encoding if no
13296 encoding specified explicitly.
13298 Fri Dec 21 12:00:34 2007 Tanaka Akira <akr@fsij.org>
13300 * configure.in: check langinfo.h and locale.h.
13302 * encoding.c: use langinfo.h only if available.
13304 * main.c: use locale.h only if available.
13306 Fri Dec 21 11:47:56 2007 Tanaka Akira <akr@fsij.org>
13308 * encoding.c: include locale.h
13309 (rb_locale_charmap): new method Encoding.locale_charmap for
13310 nl_langinfo(CODESET).
13312 * include/ruby/encoding.h (rb_locale_charmap): declared.
13314 * main.c (main): call setlocale with LC_CTYPE.
13316 * ruby.c (locale_encoding): use rb_locale_charmap.
13318 Fri Dec 21 11:35:10 2007 Koichi Sasada <ko1@atdot.net>
13320 * vm.c, vm_dump.c: fix typo. Reported by Yuki Mitsui.
13322 Fri Dec 21 11:28:00 2007 Tanaka Akira <akr@fsij.org>
13324 * regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
13325 compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c,
13326 ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb,
13327 ext/openssl/ossl_bn.c, numeric.c, vm.c,
13328 benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal"
13329 for non law violation context.
13331 Fri Dec 21 11:23:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13333 * common.mk (enc.mk): depends on $(RBCONFIG) instead of rbconfig.rb.
13335 * encoding.c (Init_Encoding): ISO-8859-1 is no longer a replica.
13337 * regenc.h (OnigEncodingDefine): names of extension and encoding can
13340 * enc/Makefile.in: always shared.
13342 * enc/depend (deffile): should not upcase.
13344 * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: fix for Init.
13346 Fri Dec 21 09:26:48 2007 Tanaka Akira <akr@fsij.org>
13348 * tool/compile_prelude.rb: use erb.
13350 Fri Dec 21 08:07:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13352 * enumerator.c (enumerator_next): should call next_init() if fiber
13353 is dead already. [ruby-dev:32459]
13355 Fri Dec 21 01:21:49 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13357 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLContext.build):
13358 enable CRL checking by default.
13360 Fri Dec 21 01:20:56 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13362 * lib/net/http.rb (Net::HTTP#connect): use
13363 OpenSSL::SSL::SSLContext.build instead of SSLContext.new (default
13364 verify mode is now OpenSSL::SSL::VERIFY_PEER).
13366 * lib/net/https.rb: SSL parameters are defined by attr_accessor.
13368 * test/net/http/test_https.rb: add test for HTTPS features.
13370 Fri Dec 21 01:11:37 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13372 * io.c (select_internal): should return original value.
13374 Fri Dec 21 00:26:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13376 * string.c (tr_trans): wrong encoding check for tree strings.
13378 * test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring
13379 sequence" is not an error to be tested.
13381 * test/ruby/test_m17n.rb (TestM17N::test_tr): ditto.
13383 Thu Dec 20 19:29:07 2007 Shugo Maeda <shugo@ruby-lang.org>
13385 * lib/net/imap.rb (initialize): the second argument is an option
13386 hash now. use SSLContext.build to specify SSL parameters.
13388 Thu Dec 20 19:11:56 2007 Koichi Sasada <ko1@atdot.net>
13390 * thread_pthread.c (native_thread_apply_priority): check
13391 _POSIX_PRIORITY_SCHEDULING for OpenBSD.
13393 Thu Dec 20 18:33:54 2007 Koichi Sasada <ko1@atdot.net>
13395 * configure.in: add libthr for FreeBSD.
13397 Thu Dec 20 18:17:14 2007 Koichi Sasada <ko1@atdot.net>
13399 * common.mk, *.ci: renamed to *.c.
13401 * eval_load.c: renamed to load.c.
13403 Thu Dec 20 17:36:01 2007 Eric Hodel <drbrain@segment7.net>
13405 * lib/rubygems*: Import RubyGems 1.0.0, r1575.
13407 Thu Dec 20 17:18:38 2007 Koichi Sasada <ko1@atdot.net>
13409 * proc.c: support Proc#binding.
13411 * sample/test.rb: add a test.
13413 Thu Dec 20 17:15:15 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
13415 * pack.c: Slight change to documentation ('character' ->
13416 'byte (C char)'). [ruby-core:13126], see also [ruby-core:13998].
13418 Thu Dec 20 17:07:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13420 * common.mk (enc.mk): depends on rbconfig.rb.
13422 * regenc.h (OnigEncodingDefine): external encoding definition macro.
13424 * enc/Makefile.in: fix for linking.
13426 * enc/depend, enc/make_encmake.rb: fix for Windows.
13428 * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: renamed.
13430 Thu Dec 20 16:42:55 2007 Koichi Sasada <ko1@atdot.net>
13432 * iseq.c (find_line_no): return 0 if not found.
13434 Thu Dec 20 16:04:17 2007 Koichi Sasada <ko1@atdot.net>
13436 * insnhelper.ci, vm.c, vm_core.h: change interface of
13437 vm_invoke_block() to specify block ptr. [ruby-talk:266422]
13439 * cont.c, eval_jump.ci, insns.def, proc.c, signal.c, thread.c:
13440 apply above change.
13442 * bootstraptest/test_knownbug.rb: move fixed bug.
13444 * bootstraptest/test_block.rb: ditto. and add a test.
13446 Thu Dec 20 15:47:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13448 * enc/iso_8859_{1..16}.c: renamed.
13450 Thu Dec 20 09:59:27 2007 Koichi Sasada <ko1@atdot.net>
13452 * insnhelper.ci (vm_expandarray): fix sp increase place.
13453 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32581].
13455 * bootstraptest/test_massign.rb: add a test for above.
13457 * bootstraptest/test_syntax.rb: fix last committed test.
13459 Thu Dec 20 09:47:58 2007 Koichi Sasada <ko1@atdot.net>
13461 * bootstraptest/test_syntax.rb: add a test.
13463 Thu Dec 20 09:40:51 2007 Koichi Sasada <ko1@atdot.net>
13465 * compile.c (iseq_compile_each/NODE_RETURN): fix stack consistency.
13467 Thu Dec 20 09:42:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13469 * bignum.c (big2str_orig): access beyond memory region cause crash
13470 on interrupt. a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in
13471 [ruby-dev:32651]. [ruby-dev:32641]
13473 Thu Dec 20 09:06:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13475 * string.c (rb_str_index): wrong starting position.
13477 Thu Dec 20 06:34:27 2007 Koichi Sasada <ko1@atdot.net>
13479 * compile.c (iseq_compile_each): add pop after throw as return.
13481 * bootstraptest/test_knownbug.rb, test_syntax.rb: move resolved test.
13483 * vm_core.h, iseq.c, compile.h: add debug output code.
13485 Thu Dec 20 04:57:18 2007 Koichi Sasada <ko1@atdot.net>
13487 * compile.c (iseq_compile_each): remove unused retry entry.
13489 Thu Dec 20 04:15:41 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13491 * */Makefile.sub (DEFS, RM): output to config.status.
13493 Thu Dec 20 02:59:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13495 * common.mk (encs): create encoding directory.
13497 Thu Dec 20 02:50:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13499 * enc/iso8859_{1..16}.c: adjust for ruby.
13501 Thu Dec 20 02:28:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13503 * enc/iso8859_{1..16}.c: imported from Onigiruma 5.9.0.
13505 Thu Dec 20 02:23:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13507 * enc/Makefile.in (RM): added.
13509 * enc/depend (encs): sort in alpha-numeric order.
13511 * enc/depend (clean, distclean): added.
13513 Thu Dec 20 01:10:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13515 * compile.c (iseq_compile_each): should handle upper level eval iseq
13516 from break/next, and COMPILE_ERROR() breaks only one block.
13519 Thu Dec 20 00:07:36 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
13521 * test/drb/drbtest.rb (test_07_public_private_protected_missing):
13522 followed current Ruby specification.
13524 Wed Dec 19 23:57:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13526 * dir.c (dir_inspect, dir_path, dir_tell): check for frozen and closed
13527 is not needed. [ruby-dev:32640]
13529 Wed Dec 19 22:59:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13531 * string.c (str_sublen): adjust position if position is not at the
13532 head of a character.
13534 * string.c (rb_str_chomp_bang): check if match start at the head
13537 * string.c (rb_str_chomp_bang): wrong adjust condition.
13539 * string.c (rb_str_rindex): comparison length should be based on
13540 bytes, not characters.
13542 * string.c (rb_str_rindex_m): too much adjustment.
13544 * re.c (reg_match_pos): pos adjustment should be based on
13547 * test/ruby/test_m17n.rb (TestM17N::test_str_insert): test updated
13548 to check negative offset behavior.
13550 * string.c (rb_str_each_line): should consider rslen.
13552 * string.c (rb_str_buf_append): should propagate encoding.
13554 * string.c (rb_str_each_line): ditto.
13556 * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): should
13557 check encoding as well.
13559 * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): empty
13560 array can not propagate encoding; should not check.
13562 Wed Dec 19 21:42:18 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13564 * re.c (rb_reg_regsub): should set checked encoding.
13566 * string.c (rb_str_sub_bang): applied r14212 too.
13568 Wed Dec 19 20:40:01 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13570 * bignum.c (bigmul1): C99ism.
13572 * bignum.c (bigdivrem1): need dummy return value.
13574 Wed Dec 19 19:18:06 2007 NARUSE, Yui <naruse@ruby-lang.org>
13576 * ext/nkf/nkf-utf8/nkf.c: Updated.
13578 * ext/nkf/nkf.c (rb_nkf_enc_get): added.
13579 (find encoding or replicate default encoding)
13581 * ext/nkf/nkf.c (NKF::<ENCODING>): redefine encoding constant.
13583 * ext/nkf/lib/kconv.rb (Kconv::<ENCODING>): redefined as Encoding.
13585 * ext/nkf/lib/kconv.rb: refactoring.
13587 Wed Dec 19 19:11:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13589 * bignum.c (rb_big_mul0): blocking check for bigger numbers.
13590 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32632].
13592 * bignum.c (bigdivrem): ditto.
13594 Wed Dec 19 17:34:50 2007 Koichi Sasada <ko1@atdot.net>
13596 * compile.c (iseq_compile_each): remove "retry" in block.
13597 ("iter{retry}" cause syntax error)
13598 Currently, "begin; ...; rescue; iter{retry}; end" cause
13601 * bootstraptest/test_jump.rb: ditto.
13603 * lib/drb/invokemethod.rb: ditto.
13605 * sample/drb/darrayc.rb: ditto.
13607 * sample/test.rb: ditto.
13609 * test/drb/drbtest.rb: ditto.
13611 * test/ruby/test_iterator.rb: ditto.
13613 * sample/test.rb: add a 'test' directory on the SYSTEM test.
13615 Wed Dec 19 17:12:59 2007 Koichi Sasada <ko1@atdot.net>
13617 * bootstraptest/test_knownbug.rb, test_block.rb:
13620 * bootstraptest/test_m17n.rb: added.
13622 Wed Dec 19 16:59:55 2007 Koichi Sasada <ko1@atdot.net>
13624 * eval.c (errinfo_place): skip if error is Fixnum. [ruby-dev:32608]
13626 * bootstraptest/test_exception.rb, test_known_bug.rb: move fixed bug.
13628 Wed Dec 19 16:31:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13630 * parse.y (reg_named_capture_assign_iter): remove C99 dependency.
13632 * parse.y (reg_named_capture_assign_iter): get rid of creating
13635 * parse.y (rb_enc_symname2_p): check for non-nul-terminated string.
13637 Wed Dec 19 15:37:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13639 * insnhelper.ci (vm_yield_with_cfunc): call cfunc with
13640 (argv[0], data, argc, argv) to pass all arguments.
13642 * enumerator.c (enumerator_each_i): adapted to new calling
13645 Wed Dec 19 15:13:20 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13647 * string.c (rb_str_justify): should propagate encoding from pad
13650 Wed Dec 19 13:57:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13652 * configure.in (TIMEZONE_VOID): check whether timezone requires zero
13653 arguments. [ruby-dev:32631]
13655 Wed Dec 19 13:22:14 2007 NARUSE, Yui <naruse@ruby-lang.org>
13657 * ext/nkf/nkf.c (NKF::_ENCODING): removed.
13659 * ext/nkf/nkf.c (rb_nkf_kconv): renamed to rb_nkf_convert.
13661 * ext/nkf/nkf.c (rb_nkf_convert): set encoding.
13663 * ext/nkf/nkf.c (rb_nkf_guess1): removed.
13665 * ext/nkf/nkf.c (rb_nkf_guess2): renamed to rb_nkf_guess.
13667 * ext/nkf/nkf.c (rb_nkf_guess):
13668 guess method now returns encoding object.
13670 * ext/nkf/nkf-utf8/nkf.c: Update to nkf 2.0.8 2007-12-19.
13672 Wed Dec 19 10:52:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13674 * bignum.c (rb_cstr_to_inum): an underscore succeeding after octal
13675 prefix is allowed. [ruby-core:14139]
13677 Wed Dec 19 00:09:19 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13679 * bignum.c (rb_cstr_to_inum): wrong radix check. a patch from
13680 Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32628].
13682 * bignum.c (big2str_find_n1): ditto.
13684 Tue Dec 18 23:53:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13686 * compile.c (iseq_compile_each): fix for segfault. [ruby-dev:31372]
13688 Tue Dec 18 23:44:32 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13690 * test/net/http/utils.rb: split TestNetHTTPUtils module from
13691 test/net/http/test_http.rb. and start HTTP server in each test case.
13693 Tue Dec 18 23:27:51 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13695 * lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
13696 should rescue Errno::EINVAL from TCPServer#accept. this exception
13697 might occur if the server socket is not in ready to listen.
13699 * lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
13700 don't call TCPServer#close if the :ShutdownSocketWithoutClose is set.
13702 * lib/webrick/config.rb (WEBrick::Config::General): add new parameter
13703 :ShutdownSocketWithoutClose.
13705 Tue Dec 18 22:51:47 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13707 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#shutdown):
13708 new method which calls TCPSocket#shutdown of the underlying socket.
13710 Tue Dec 18 22:11:50 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13712 * lib/rss/parser.rb, lib/rss/atom.rb, lib/rss/rss.rb,
13713 test/rss/rss-assertions.rb, test/rss/test_atom.rb: use
13714 pack/unpack("m") instead of base64 library.
13716 * lib/webrick/httpproxy.rb: use delete("\n") instead of chomp/chop
13717 because the result of pack("m") might be multi-line.
13719 Tue Dec 18 22:12:35 2007 Koichi Sasada <ko1@atdot.net>
13721 * insnhelper.ci, vm.c: rewrite sp manipulation around method/block
13722 invocation. [ruby-dev:32547]
13724 Tue Dec 18 22:11:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13726 * ext/dl/win32/lib/win32/sspi.rb: use pack/unpack("m") instead of
13727 base64 library which was already removed.
13729 Tue Dec 18 21:09:23 2007 Koichi Sasada <ko1@atdot.net>
13731 * vm.c (invoke_block): merge 2 stack overflow checks.
13733 Tue Dec 18 20:58:35 2007 Koichi Sasada <ko1@atdot.net>
13735 * compile.c, insnhelper.ci, insns.def, object.c, vm.c, vm.h:
13736 optimize !@, != method invocation.
13738 * id.c, id.h: ditto.
13740 * bootstraptest/test_syntax.rb: add tests for above.
13742 Tue Dec 18 18:10:05 2007 Koichi Sasada <ko1@atdot.net>
13744 * bootstraptest/test_knownbug.rb: add issues.
13746 Tue Dec 18 20:22:44 2007 Tanaka Akira <akr@fsij.org>
13748 * parse.y (arg tMATCH arg): call reg_named_capture_assign_gen if regexp
13750 (reg_named_capture_assign_gen): assign the result of named capture
13751 into local variables.
13754 * re.c: document the assignment by named captures.
13756 Tue Dec 18 18:09:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13758 * string.c (rb_str_splice): propagate encoding.
13760 * string.c (rb_str_subpat_set): ditto.
13762 Tue Dec 18 17:27:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13764 * object.c (rb_obj_freeze): preserve frozen state of immediate
13765 values in internal hash table, a la generic_ivar.
13767 * object.c (rb_obj_frozen_p): check immediate values too.
13769 * variable.c (generic_ivar_set): add frozen check fro immediate
13772 Tue Dec 18 17:04:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13774 * transcode.c (rb_str_transcode_bang, rb_str_transcode): set new
13775 encoding even if no conversion is done because of 7bit only.
13778 Tue Dec 18 15:43:59 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13780 * common.mk (encs, ext/ripper/ripper.c): other options must come
13781 before MAKEFLAGS in GNU make.
13783 Tue Dec 18 15:19:55 2007 Eric Hodel <drbrain@segment7.net>
13785 * lib/rdoc/parsers/parse_rb.rb: Don't call private fail anymore.
13787 Tue Dec 18 15:17:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13789 * common.mk (encs, ext/ripper/ripper.c): pass MAKEFLAGS.
13791 Tue Dec 18 14:45:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13793 * parse.y (op_tbl): remove duplication to avoid symbol aliases.
13795 Tue Dec 18 14:39:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13797 * string.c (str_nth): need not to raise out-of-range exception.
13799 * test/ruby/test_m17n.rb (TestM17N::test_str_aref_len): removed
13802 Tue Dec 18 14:05:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13804 * enc/depend: get rid of target expanded as empty for nmake.
13806 Tue Dec 18 07:56:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13808 * proc.c (rb_obj_public_method): Object#public_method to retrieve
13809 public method object.
13811 * proc.c (rb_mod_public_instance_method): Module#public_instance_method
13812 to retrieve public instance method from class / module.
13814 * proc.c (mnew): visibility check added.
13816 * eval_error.ci (rb_print_undef): add rb_ prefix.
13818 * eval_error.ci (rb_print_undef): add visibility in the error
13821 Tue Dec 18 05:54:26 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13823 * lib/Env.rb, lib/base64.rb, lib/importenv.rb, lib/eregex.rb: removed.
13825 * lib/ping.rb, lib/readbytes.rb: removed
13827 Tue Dec 18 02:30:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13829 * configure.in (BUILTIN_ENCS): removed.
13831 * common.mk (enc.mk): pass BUILTIN_ENCS from command line.
13833 * enc/depend: ditto.
13835 * enc/make_encmake.rb: ditto.
13837 Tue Dec 18 01:46:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13839 * sprintf.c (rb_str_format): need to clear output buffer to avoid
13840 broken encoding compatibility check.
13842 Tue Dec 18 01:40:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13844 * lib/mkmf.rb (depend_rules): inserts ruby to only headers.
13846 Tue Dec 18 01:21:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13848 * parse.y (parser_encode_length): chomp eol style modifiers.
13850 * parse.y (parser_magic_comment): ditto.
13852 * parse.y (set_file_encoding): ditto.
13854 Tue Dec 18 01:15:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13856 * common.mk (encs): added dependencies.
13858 * enc/Makefile.in, enc/depend, enc/make_encmake.rb: moved serb code.
13860 * lib/mkmf.rb (depend_rules): now takes content string, not file name.
13862 * win32/enc-setup.mak: overrides default target.
13864 Tue Dec 18 00:26:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13866 * re.c (rb_reg_initialize): raise error if non-Unicode fixed
13867 encoding option is specified for regexp literals with \u{}
13870 * string.c (rb_str_squeeze_bang): should squeeze multibyte
13871 characters as well.
13873 Mon Dec 17 21:41:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13875 * win32/enc-setup.mak: extracts BUILTIN_ENCOBJS.
13877 * tool/compile_prelude.rb: needs srcdir.
13879 Mon Dec 17 21:24:04 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13881 * common.mk (miniprelude.c): add -I$(srcdir).
13883 Mon Dec 17 20:53:27 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13885 * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ssl_version):
13886 new method OpenSSL::SSL::SSLContext#ssl_version to wrap
13887 SSL_CTX_set_ssl_version.
13889 * ext/openssl/ossl_ssl.c (ossl_ssl_get_verify_result):
13890 new method OpenSSL::SSL::SSLSocket#verify_result to wrap
13891 SSL_get_verify_result.
13893 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLContext.build):
13894 new method to build OpenSSL::SSL::SSLContext with Hash parameters.
13895 this method provides safety default parameters than SSLContext.new.
13897 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL.verify_certificate_identity):
13898 new module function: pull out identity verification process
13899 from OpenSSL::SSL::SSLSocket#post_connection_check.
13901 Mon Dec 17 18:42:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13903 * string.c (scan_once): need no encoding compatibility check.
13904 it's done inside of re_reg_search().
13906 * string.c (rb_str_split_m): ditto.
13908 * re.c (rb_reg_regsub): ditto.
13910 Mon Dec 17 17:50:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13912 * string.c (rb_str_index): check if substring is broken.
13914 * string.c (rb_str_rindex): ditto.
13916 * string.c (rb_str_succ): should carry over.
13918 Mon Dec 17 17:47:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13920 * common.mk (encs): new target to compile external encodings.
13922 * enc/Makefile.in: became a serb template.
13924 * enc/make_encmake.rb: creates enc.mk from enc/Makefile.in using serb.
13926 * lib/mkmf.rb (relative_from): moved from ext/extmk.rb.
13928 * lib/mkmf.rb ($extmk): true if under to top source directory, not
13931 * lib/mkmf.rb (depend_rules): extracted from create_makefile.
13933 * tool/serb.rb (serb): splitted from tool/compile_prelude.rb.
13935 Mon Dec 17 17:32:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13937 * configure.in (MAKEFILES): removed enc/Makefile.
13939 * configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.
13941 * enc/Makefile.in (BUILTIN_ENCS): includes .c suffix.
13943 * enc/depend: splitted from Makefile.in.
13945 * {bcc32,win32,wince}/setup.mak (-encs-): extracts BUILTIN_ENCOBJS.
13947 Mon Dec 17 17:07:53 2007 Tanaka Akira <akr@fsij.org>
13949 * string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.
13951 Mon Dec 17 16:39:25 2007 Tanaka Akira <akr@fsij.org>
13953 * string.c (rb_enc_str_coderange): set ENC_CODERANGE_BROKEN using
13954 rb_enc_precise_mbclen.
13955 (rb_str_valid_encoding_p): just check coderange is
13956 ENC_CODERANGE_BROKEN or not.
13958 Mon Dec 17 16:04:16 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13960 * ext/openssl/lib/openssl/buffering.rb (Buffering#gets): added second
13961 optional argument to specify maximum length limit.
13963 Mon Dec 17 16:02:30 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13965 * lib/webrick/httprequest.rb, lib/webrick/cgi.rb: Request-Line or
13966 header fields should be read with maximum length. [ruby-talk:231745]
13968 Mon Dec 17 14:03:39 2007 Tanaka Akira <akr@fsij.org>
13970 * include/ruby/encoding.h (ENC_CODERANGE_VALID): rename from
13971 ENC_CODERANGE_8BIT.
13973 * string.c (rb_enc_str_coderange): follow the renaming.
13975 Mon Dec 17 13:56:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13977 * string.c (tr_find): wrong condition fixed.
13979 * sprintf.c (rb_str_format): check encoding based on result, not
13982 * string.c (rb_str_upto): add encoding check.
13984 Mon Dec 17 12:21:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13986 * Makefile.in (RUNRUBY): added RUNRUBYOPT.
13988 Mon Dec 17 11:38:59 2007 Tanaka Akira <akr@fsij.org>
13990 * thread_win32.ci (native_thread_create): initialize
13991 th->machine_stack_maxsize as rb_gc_stack_maxsize.
13993 Sun Dec 16 17:07:35 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
13995 * transcode.c (transcode_loop): removed special case (-1)
13996 for undefined conversions.
13998 * transcode_data_iso_8859.c: Changed from character constants
13999 ('\xC2') to integer constants (0xC2) for shorter files and
14000 better readability; eliminated duplicated tables; changed
14001 from -1 offset to actual UNDEF entry (not yet distinguishing
14002 UNDEF and ILLEGAL correctly).
14004 * test/ruby/test_transcode.rb: added a test for UNDEF conversion.
14006 Sun Dec 16 14:51:59 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14008 * configure.in (MAKEFILES): should be enc/Makefile, not GNUmakefile.
14011 * configure.in (BUILTIN_ENCS): removed escapes for OpenBSD.
14013 Sat Dec 15 23:58:46 2007 Tanaka Akira <akr@fsij.org>
14015 * test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, even
14018 Sat Dec 15 23:50:31 2007 Tanaka Akira <akr@fsij.org>
14020 * test/xmlrpc/webrick_testing.rb: join webrick server thread.
14022 Sat Dec 15 22:27:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14024 * configure.in (BUILTIN_ENCS): splitted command line instead of
14025 semicolons for Solaris.
14027 Sat Dec 15 21:38:24 2007 Tanaka Akira <akr@fsij.org>
14029 * lib/timeout.rb: join the background thread to make sure it is dead.
14031 Sat Dec 15 20:20:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14033 * configure.in (enc/Makefile): add external encoding objects list.
14035 * common.mk (BUILTIN_ENCOBJS): renamed from ENCOBJS.
14037 * configure.in (BUILTIN_ENCS): [] needs to be enclosed because of m4.
14039 * Makefile.in (BUILTIN_ENCOBJS): substituted by autoconf.
14041 * enc/Makefile.in: new file to compile external encoding sources.
14043 * encoding.c (rb_enc_find_index): auto-load external encoding objects
14044 as "ext/ENCODING_NAME". [ruby-dev:32606]
14046 Sat Dec 15 13:04:30 2007 Tanaka Akira <akr@fsij.org>
14048 * vm_core.h (rb_thread_t): new member machine_stack_maxsize and
14049 machine_register_stack_maxsize.
14051 * gc.c (rb_gc_stack_maxsize): new global variable for the thread size
14052 of the main thread.
14053 (STACK_LEVEL_MAX): use machine_stack_maxsize of current thread.
14054 (ruby_stack_check): check IA64 register stack.
14055 (ruby_set_stack_size): set rb_gc_stack_maxsize.
14056 (Init_stack): set rb_gc_stack_maxsize.
14058 * thread_pthread.ci (native_thread_create): initialize
14059 th->machine_stack_maxsize and th->machine_register_stack_maxsize.
14061 * vm.c (Init_BareVM): initialize th->machine_stack_maxsize and
14062 th->machine_register_stack_maxsize.
14064 * thread_win32.ci (native_thread_create): initialize
14065 th->machine_stack_maxsize. not tested. just a guess at all.
14069 Sat Dec 15 12:58:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14071 * encoding.c (rb_enc_register, rb_enc_replicate, rb_enc_alias): check
14072 if already registered.
14074 Sat Dec 15 01:57:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14076 * lib/rdoc/options.rb (Options::parse): do not access $KCODE any
14077 longer. [ruby-core:14079]
14079 * lib/irb/init.rb (IRB::IRB.parse_opts): ditto.
14081 * lib/cgi.rb (CGI::CGI): ditto.
14083 Fri Dec 14 18:18:31 2007 Tanaka Akira <akr@fsij.org>
14085 * thread_pthread.ci (native_thread_create): twice the stack size.
14086 512KB is not enough to complete test-all on Debian GNU/Linux on
14089 Fri Dec 14 16:10:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14091 * io.c (rb_f_p): RDoc update. a patch from murphy <murphy AT rubychan.de>.
14094 Fri Dec 14 16:06:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14096 * string.c (rb_str_cmp): encoding aware comparison.
14098 * string.c (rb_str_casecmp): ditto.
14100 Fri Dec 14 15:25:30 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
14102 * transcode.c (encoding_equal): new function.
14104 * transcode.c (str_transcode, transcode_dispatch): added two-step
14105 conversion logic via UTF-8.
14107 * transcode.c: some minor formatting fixes
14109 * transcode_data.h, transcode_data_iso_8859.c: Shortened
14110 extremely frequently used macros to shorten file length.
14112 * test/ruby/test_transcode.rb: Fixed name of test class;
14113 added setup method to ensure all necessary encodings exist;
14114 split tests into more test methods; added tests; fixed ordering
14115 of arguments in assert_equal to have expected result first.
14117 Fri Dec 14 13:47:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14119 * common.mk (ruby.imp): fix for circular dependency. a patch from
14120 Yutaka Kanemoto <kinpoco AT gmail.com> in [ruby-dev:32590].
14122 * regint.h, st.c, ext/json/ext/generator/generator.c: suppress
14125 Fri Dec 14 12:36:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14127 * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined
14130 * configure.in (timezone, altzone): check for recent cygwin.
14132 * missing/strftime.c (strftime): fix for timezone. [ruby-dev:32536]
14134 * lib/mkmf.rb (try_var): should fail for functions.
14136 * ext/readline/extconf.rb: should use have_func for functions instead
14139 Fri Dec 14 10:25:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14141 * lib/e2mmap.rb (Exception2MessageMapper::E2MM.Raise): $! no
14142 longer modifiable in 1.9.
14144 Fri Dec 14 08:17:24 2007 Tanaka Akira <akr@fsij.org>
14146 * eval.c (rb_protect): restore root_jmpbuf even if proc exits by
14147 break such as dbm.delete_if { break }.
14149 Fri Dec 14 02:55:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14151 * string.c (str_nth): direct jump if string is 7bit only. great
14152 performance boost for worst case.
14154 * string.c (str_strlen): direct size if string is 7bit only.
14156 Fri Dec 14 02:29:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14158 * encoding.c (rb_enc_compatible): 1st argument (typically the
14159 receiver) would have higher priority in encoding detection.
14161 Fri Dec 14 02:05:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14163 * io.c (rb_io_synchronized): should check if initialized.
14166 Fri Dec 14 00:54:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14168 * re.c (rb_reg_initialize): embedded string may override encoding
14169 of the regular expression.
14171 * re.c (rb_reg_initialize): fix encoding of regular expression if
14172 embedded string has its own encoding specified.
14174 Thu Dec 13 22:16:46 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14176 * encoding.c (rb_enc_compatible): encoding should never fall back
14177 to ASCII-8BIT unless both encodings are ASCII-8BIT.
14179 Thu Dec 13 20:31:28 2007 Tanaka Akira <akr@fsij.org>
14181 * string.c (rb_str_shared_replace): make str noembed after free.
14183 Thu Dec 13 20:09:09 2007 Tanaka Akira <akr@fsij.org>
14185 * eval.c (rb_protect): restore root_jmpbuf to avoid SEGV by
14186 'IO.pipe; [].each.next' with gcc version 3.3.5 (Debian 1:3.3.5-13)
14189 Thu Dec 13 17:51:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14191 * string.c (rb_str_split_m): need not to check encoding if regexp
14194 * string.c (rb_str_justify): associate encoding of original to the
14197 * string.c (rb_str_chomp_bang): need to check encoding of record
14200 * string.c (str_gsub): should copy encoding to the result.
14202 * sprintf.c (rb_str_format): ditto.
14204 * string.c (rb_str_succ): should not enter infinite loop for
14205 non-ASCII, non-alphanumeric character at the bottom.
14207 Thu Dec 13 17:03:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14209 * encoding.c (rb_enc_compatible): should swap encoding indexes too.
14211 Thu Dec 13 16:41:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14213 * encoding.c (rb_enc_compatible): should not judge compatibility
14214 based on rb_enc_asciicompat().
14216 Thu Dec 13 13:09:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14218 * include/ruby/io.h (MakeOpenFile): fptr->enc should be
14219 initialized to zero. [ruby-dev:32569]
14221 Thu Dec 13 08:56:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14223 * io.c (rb_io_getc): use default external encoding if fptr->enc is
14224 not set. [ruby-dev:32565]
14226 * lib/rubygems/package.rb (Gem::TarReader::Entry::rewind): typo fixed.
14229 Thu Dec 13 08:24:16 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14231 * io.c (read_all): should associate default external encoding.
14233 * io.c (io_read): should NOT associate default external encoding.
14235 Wed Dec 12 23:22:58 2007 Tanaka Akira <akr@fsij.org>
14237 * re.c, regerror.c, string.c, parse.y, ruby.c, file.c:
14238 use capital letter for \xHH notation. [ruby-dev:32511]
14240 Wed Dec 12 22:21:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14242 * io.c (rb_io_mode_enc): allow specifying external encoding in
14243 open mode, e.g. open(path, "r:utf-8").
14245 Wed Dec 12 21:26:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14247 * eval_method.ci (rb_alias): no need to skip aliasing when new
14248 equals to old. [ruby-core:13990]
14250 Wed Dec 12 16:34:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14252 * io.c (rb_io_check_readable): set default external encoding to
14255 * io.c (io_enc_str): associate encoding to output string.
14257 Wed Dec 12 12:44:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14259 * parse.y (expr): 'not' and '!' should act as conditional
14260 expression. [ruby-dev:32548]
14262 Wed Dec 12 12:11:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14264 * re.c (rb_reg_regsub): should copy encoding.
14266 * string.c (rb_str_sub_bang, str_gsub): should check and copy encoding
14269 Tue Dec 11 23:04:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14271 * pack.c (pack_pack): RDoc update. a patch from Gary Wright
14272 <radar2002 AT gmail.com>. [ruby-core:13998]
14274 * pack.c (pack_unpack): ditto.
14276 Tue Dec 11 16:37:47 2007 Tanaka Akira <akr@fsij.org>
14278 * encoding.c (rb_enc_ascget): renamed from rb_enc_get_ascii.
14280 * include/ruby/encoding.h: follow the renaming.
14284 Tue Dec 11 16:19:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14286 * Makefile.in, */Makefile.sub (CP, MV): added.
14288 * common.mk (.y.c): not discard the old target until successfully
14291 Tue Dec 11 15:20:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14293 * object.c (Init_Object): singleton_method_{added,removed,undefined}
14294 hooks should be defined for BasicObject. [ruby-dev:32531]
14296 * eval.c (Init_eval): method_missing should be defined for all
14297 objects; moved to BasicObject.
14299 Tue Dec 11 14:27:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14301 * transcode.c (transcode_loop): get rid of SEGV at sequence can not be
14304 * transcode.c (rb_str_transcode_bang): copy encoding. [ruby-dev:32532]
14306 * test/ruby/test_transcode.rb: added tests from Martin Duerst <duerst
14307 AT it.aoyama.ac.jp>. [ruby-dev:32532]
14309 Tue Dec 11 12:05:51 2007 Tanaka Akira <akr@fsij.org>
14311 * encoding.c (rb_enc_get_ascii): add an argument to provide the
14312 length of the returned character.
14314 * include/ruby/encoding.h (rb_enc_get_ascii): add the argument.
14316 * re.c (rb_reg_expr_str): modify rb_enc_get_ascii call.
14317 (rb_reg_quote): ditto.
14318 (rb_reg_regsub): ditto.
14320 Tue Dec 11 09:40:21 2007 Tanaka Akira <akr@fsij.org>
14322 * include/ruby/oniguruma.h (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE):
14323 parenthesize an argument.
14325 Tue Dec 11 02:23:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14327 * eval.c (rb_method_missing): RDoc update patch from Hugh Sasse
14328 <hgs AT dmu.ac.uk>. [ruby-core:12932]
14330 Tue Dec 11 01:51:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14332 * lib/net/http.rb (Net::HTTP::get): now supports gzip
14333 content-encoding. a patch from Hugh Sasse <hgs AT dmu.ac.uk>.
14336 Tue Dec 11 01:21:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14338 * parse.y (shadowing_lvar_gen): no duplicate error for "_".
14340 Mon Dec 10 22:08:47 2007 Akinori MUSHA <knu@iDaemons.org>
14342 * array.c (rb_ary_slice_bang): If an invalid range is given, do
14343 not raise an exception but return nil just like slice() does.
14345 Mon Dec 10 21:47:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14347 * transcode.c (str_transcode): allow non-registered encodings.
14350 Mon Dec 10 21:00:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14352 * array.c (rb_ary_slice_bang): should return nil if position out
14353 of range. a patch from Akinori MUSHA <knu AT iDaemons.org>.
14356 Mon Dec 10 19:02:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14358 * re.c (rb_reg_match): should calculate offset by converted
14359 operand. [ruby-cvs:21416]
14361 Mon Dec 10 18:28:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14363 * lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
14364 regular expression. a patch from Ueda Satoshi
14365 <s-ueda AT livedoor.jp>. [ruby-dev:32514]
14367 Mon Dec 10 17:46:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14369 * string.c (rb_str_tmp_new): creates hidden temporary buffer.
14371 * transcode.c (transcoding): added a pointer to function to flush.
14373 * transcode.c (transcode_loop): do not use string internal.
14376 * transcode.c (str_transcode): allow Encoding objects.
14378 * transcode_data.h (BYTE_LOOKUP): use actual struct name.
14380 Mon Dec 10 16:52:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14382 * string.c (rb_str_insert): should not add length in bytes to index in
14385 Mon Dec 10 14:33:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14387 * eval.c (rb_f_public_send): rename invoke_method to public_send.
14388 it now invokes public method only no matter how it's called.
14390 Mon Dec 10 14:00:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14392 * transcode.c: new file to provide encoding conversion features.
14393 code contributed by Martin Duerst.
14395 Mon Dec 10 13:50:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14397 * re.c (rb_reg_search): return byte offset. [ruby-dev:32452]
14399 * re.c (rb_reg_match, rb_reg_match2, rb_reg_match_m): convert byte
14400 offset to char index.
14402 * string.c (rb_str_index): return byte offset. [ruby-dev:32472]
14404 * string.c (rb_str_split_m): calculate in byte offset.
14406 Mon Dec 10 09:56:29 2007 Koichi Sasada <ko1@atdot.net>
14408 * benchmark/bm_vm1_neq.rb, bm_vm1_not.rb: added.
14410 Mon Dec 10 07:48:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14412 * parse.y (parser_yylex): wrong token was generated. [ruby-dev:32498]
14414 * object.c (rb_obj_not_match): wrong test.
14416 Mon Dec 10 06:44:47 2007 Tanaka Akira <akr@fsij.org>
14418 * re.c (rb_reg_expr_str): use \xHH instead of \OOO.
14420 * regerror.c (to_ascii): ditto.
14421 (onig_snprintf_with_pattern): ditto.
14422 (onig_snprintf_with_pattern): ditto.
14424 * string.c (rb_str_inspect): ditto.
14425 (rb_str_dump): ditto.
14427 * parse.y (parser_yylex): ditto.
14429 * ruby.c (proc_options): ditto.
14431 * file.c (rb_f_test): ditto.
14435 Mon Dec 10 06:41:00 2007 Tanaka Akira <akr@fsij.org>
14437 * re.c (rb_reg_names): new method Regexp#names.
14438 (rb_reg_named_captures): new method Regexp#named_captures
14439 (match_regexp): new method MatchData#regexp.
14440 (match_names): new method MatchData#names.
14442 * lib/pp.rb (MatchData#pretty_print): show names of named captures.
14446 Mon Dec 10 01:35:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14448 * parse.y (expr): redefinable not (!) operator.
14450 * parse.y (arg): ditto.
14452 * object.c (rb_obj_not): new method "!".
14454 * object.c (rb_obj_not_equal): new method "!=".
14456 * object.c (rb_obj_not_match): new method "!~".
14458 Sun Dec 9 22:31:36 2007 Tanaka Akira <akr@fsij.org>
14460 * re.c (rb_reg_s_last_match): accept named capture's name.
14462 Sun Dec 9 15:57:53 2007 Tanaka Akira <akr@fsij.org>
14464 * re.c (match_backref_number): new function for converting a backref
14465 name/number to an integer.
14466 (match_offset): use match_backref_number.
14467 (match_begin): ditto.
14468 (match_end): ditto.
14469 (name_to_backref_number): raise IndexError instead of RuntimeError.
14470 (match_inspect): show capture index.
14472 Sun Dec 9 14:59:15 2007 Koichi Sasada <ko1@atdot.net>
14474 * eval_intern.h (CHECK_STACK_OVERFLOW): reserve frame size.
14477 Sun Dec 9 14:38:25 2007 Koichi Sasada <ko1@atdot.net>
14479 * vm.c (rb_thread_mark): use rb_gc_mark_maybe() for
14480 VM stack specified by mark_stack_len. [ruby-dev:32462]
14482 * insnhelper.ci: clear vm stack extended by opt value.
14484 Sun Dec 9 14:08:47 2007 Tanaka Akira <akr@fsij.org>
14486 * include/ruby/ruby.h (FilePathStringValue): defined. similar to
14487 FilePathValue but no taint check.
14489 * file.c (rb_get_path_no_checksafe): implementation of
14490 FilePathStringValue.
14491 (rb_file_s_basename): use FilePathStringValue.
14492 (rb_file_s_dirname): ditto.
14493 (rb_file_s_extname): ditto.
14494 (rb_file_s_split): ditto.
14495 (rb_file_join): ditto.
14497 * dir.c (file_s_fnmatch): ditto.
14499 Sun Dec 9 12:49:34 2007 Tanaka Akira <akr@fsij.org>
14501 * re.c (append_utf8): check unicode range.
14503 Sun Dec 9 12:39:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14505 * lib/cgi.rb (read_multipart): exclude blanks from header values.
14508 Sun Dec 9 12:18:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14510 * file.c (rb_get_path): use the original object if to_path method is
14511 not defined. [ruby-dev:32473]
14513 * io.c (rb_f_open): call to_open on non-string objects, instead of
14514 to_str. [ruby-dev:32473]
14516 Sun Dec 9 12:12:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14518 * string.c (tr_find): returns true if no characters to be removed is
14521 Sun Dec 9 12:03:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14523 * parse.y (parser_magic_comment): delimits with a semicolon.
14525 Sun Dec 9 11:29:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14527 * string.c (tr_trans): get rid of segfaults when has multibytes but
14528 source sets have no multibytes.
14530 Sun Dec 9 04:01:28 2007 Tanaka Akira <akr@fsij.org>
14532 * encoding.c (rb_enc_mbclen): return 1 if underlying implementation
14533 returns a length longer than e-p.
14534 (rb_enc_precise_mbclen): return needmore if underlying
14535 implementation returns a length longer than e-p.
14537 Sat Dec 8 17:59:40 2007 Tanaka Akira <akr@fsij.org>
14539 * signal.c (posix_signal): return value.
14541 Sat Dec 8 17:22:16 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
14543 * test/openssl/test_pkcs7.rb: Remove redundant module namespace.
14545 Sat Dec 8 17:07:10 2007 Tanaka Akira <akr@fsij.org>
14547 * ruby.c (proc_options): make rb_raise format as a string literal to
14550 Sat Dec 8 16:18:16 2007 Tanaka Akira <akr@fsij.org>
14552 * re.c (rb_reg_check_preprocess): new function for validating regexp
14555 * parse.y (regexp): invoke reg_fragment_check.
14556 (reg_fragment_check): defined.
14557 (reg_fragment_check_gen): defined.
14559 Sat Dec 8 11:06:29 2007 Tanaka Akira <akr@fsij.org>
14561 * encoding.c (rb_enc_mbclen): make it never fail.
14562 (rb_enc_nth): don't check the return value of rb_enc_mbclen.
14563 (rb_enc_strlen): ditto.
14564 (rb_enc_precise_mbclen): return needmore(1) if e <= p.
14565 (rb_enc_get_ascii): new function for extracting ASCII character.
14567 * include/ruby/encoding.h (rb_enc_get_ascii): declared.
14569 * include/ruby/regex.h (ismbchar): removed.
14571 * re.c (rb_reg_expr_str): use rb_enc_get_ascii.
14572 (unescape_escaped_nonascii): use rb_enc_precise_mbclen to determine
14573 the termination of escaped non-ASCII character.
14574 (unescape_nonascii): use rb_enc_precise_mbclen.
14575 (rb_reg_quote): use rb_enc_get_ascii.
14576 (rb_reg_regsub): use rb_enc_get_ascii.
14578 * string.c (rb_str_reverse) don't check the return value of
14580 (rb_str_split_m): don't call rb_enc_mbclen with e <= p.
14582 * parse.y (is_identchar): use ISASCII.
14583 (parser_ismbchar): removed.
14584 (parser_precise_mbclen): new macro.
14585 (parser_isascii): new macro.
14586 (parser_tokadd_mbchar): use parser_precise_mbclen to check invalid
14587 character precisely.
14588 (parser_tokadd_string): use parser_isascii.
14589 (parser_yylex): ditto.
14590 (is_special_global_name): don't call is_identchar with e <= p.
14591 (rb_enc_symname_p): ditto.
14595 * ext/tk/sample/tkextlib/vu/canvSticker2.rb: remove coding cookie
14596 because the encoding is not UTF-8. [ruby-dev:32475]
14598 Fri Dec 7 20:21:35 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
14600 * ext/openssl/lib/net/ftptls.rb, ext/openssl/lib/net/telnets.rb:
14601 half-finished libraries are discontinued.
14603 Fri Dec 7 15:44:40 2007 Tanaka Akira <akr@fsij.org>
14605 * lib/pp.rb: use Hash for recursion check as inspect.
14607 Fri Dec 7 15:04:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14609 * array.c (flatten): some performance improvements, based on a patch
14610 from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13877].
14613 * thread.c (rb_exec_recursive): use Hash instead of Array for
14614 performance improvement. [ruby-core:13898]
14616 * thread.c (recursive_pop): use object ID.
14618 Thu Dec 6 19:52:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14620 * parse.y (arg): typo fixed ("!" -> "|") in the ripper code.
14622 Thu Dec 6 19:48:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14624 * parse.y (arg): tUPLUS no longer works as identity operation any
14625 more. inspired by [ruby-talk:265532].
14627 Thu Dec 6 18:22:11 2007 Tanaka Akira <akr@fsij.org>
14629 * encoding.c (rb_enc_precise_mbclen): new function for mbclen with
14632 * include/ruby/encoding.h (rb_enc_precise_mbclen): declared.
14633 (MBCLEN_CHARFOUND): new macro.
14634 (MBCLEN_INVALID): new macro.
14635 (MBCLEN_NEEDMORE): new macro.
14637 * include/ruby/oniguruma.h (OnigEncodingTypeST): replace mbc_enc_len
14638 by precise_mbc_enc_len.
14639 (ONIGENC_PRECISE_MBC_ENC_LEN): new macro.
14640 (ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND): new macro.
14641 (ONIGENC_CONSTRUCT_MBCLEN_INVALID): new macro.
14642 (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE): new macro.
14643 (ONIGENC_MBCLEN_CHARFOUND): new macro.
14644 (ONIGENC_MBCLEN_INVALID): new macro.
14645 (ONIGENC_MBCLEN_NEEDMORE): new macro.
14646 (ONIGENC_MBC_ENC_LEN): use ONIGENC_PRECISE_MBC_ENC_LEN.
14648 * enc/euc_jp.c: validation implemented.
14650 * enc/sjis.c: ditto.
14652 * enc/utf8.c: ditto.
14654 * string.c (rb_str_inspect): use rb_enc_precise_mbclen for invalid
14656 (rb_str_valid_encoding_p): new method String#valid_encoding?.
14658 * io.c (rb_io_getc): use rb_enc_precise_mbclen.
14662 Thu Dec 6 01:37:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14664 * regparse.c (i_apply_case_fold): fix for negative character class. a
14665 patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13884].
14667 Thu Dec 6 01:00:38 2007 NARUSE, Yui <naruse@ruby-lang.org>
14669 * ext/iconv/iconv.c (iconv_s_list): support NetBSD/Citrus iconv.
14671 Wed Dec 5 16:18:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14673 * proc.c (rb_proc_s_new): call initialize. [ruby-core:13824]
14675 * proc.c (rb_proc_location): return file name and line number where
14676 the proc is defined.
14678 * thread.c (thread_s_new): call initialize. [ruby-core:13835]
14680 * thread.c (thread_initialize): split initialize method.
14682 Wed Dec 5 15:25:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14684 * parse.y (rb_intern3): fix to changing encoding to default, and
14685 uncommented r13835, which is rare but not impossible.
14687 Wed Dec 5 15:15:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14689 * range.c (step_i, range_step): support non-fixnum steps.
14692 Wed Dec 5 14:25:11 2007 Koichi Sasada <ko1@atdot.net>
14694 * compile.c (iseq_compile_each): fix typo.
14696 Wed Dec 5 13:41:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14698 * parse.y (yycompile): get rid of tracing while parsing.
14701 * thread.c (ruby_suppress_tracing): added a new parameter, which
14702 directs to call func always.
14704 Tue Dec 4 19:56:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14706 * ext/iconv/iconv.c (iconv_convert): should not set encoding unless
14707 the target encoding is supported. [ruby-dev:32451]
14709 Tue Dec 4 17:34:17 2007 NARUSE, Yui <naruse@ruby-lang.org>
14711 * ext/nkf/lib/kconv.rb (tojis, tosjis, toeuc, toutf8):
14712 set encoding. [ruby-dev:32447]
14714 Tue Dec 4 17:07:25 2007 NARUSE, Yui <naruse@ruby-lang.org>
14716 * lib/json.rb, lib/json/*: moved to ext/json/lib.
14718 Tue Dec 4 16:34:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14720 * ext/iconv/iconv.c (iconv_create): achieve target encoding.
14722 * ext/iconv/iconv.c (iconv_convert, iconv_finish, iconv_iconv,
14723 iconv_conv): set result string encoding. [ruby-dev:32446]
14725 * ext/iconv/iconv.c (iconv_initialize, iconv_s_open): set encoding to
14728 Tue Dec 4 14:34:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14730 * ruby.c (process_options): reverted c flag.
14732 Tue Dec 4 11:23:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14734 * bignum.c (rb_cstr_to_inum): trailing spaces may exist at squeezing
14735 preceding 0s. [ruby-core:13873]
14737 Mon Dec 3 11:51:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14739 * ext/Win32API/*: removed or moved to ext/dl/win32.
14741 * ext/dl/win32/*: new. [ruby-dev:32387]
14743 Sun Dec 2 22:08:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14745 * parse.y (parser_tokadd_mbchar): fix for ASCII chars. [ruby-dev:32432]
14747 * parse.y (parser_parse_string, parser_here_document): prevent false
14750 Sun Dec 2 20:43:22 2007 Tanaka Akira <akr@fsij.org>
14752 * re.c (unescape_escaped_nonascii): fix mbclen argument.
14754 Sun Dec 2 15:47:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14756 * parse.y (parser_tokadd_mbchar): check insufficient multibyte char.
14759 Sun Dec 2 15:42:16 2007 Kouhei Sutou <kou@cozmixng.org>
14761 * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.1 -> 0.2.2.
14763 * lib/rss/maker/itunes.rb: fixed new_itunes_category.
14764 * lib/rss/maker/taxonomy.rb: new_taxo_topic -> new_topic because
14767 * test/rss/test_maker_itunes.rb, test/rss/test_itunes.rb: removed
14768 needless UTF-8 characters.
14770 Sun Dec 2 15:18:37 2007 Koichi Sasada <ko1@atdot.net>
14772 * insnhelper.ci (vm_callee_setup_arg): fix error message.
14775 Sun Dec 2 09:12:48 2007 Tanaka Akira <akr@fsij.org>
14777 * parse.y (regexp): fix /#{}\xa1\xa2/e to be EUC-JP.
14778 (reg_fragment_setenc_gen): extracted from reg_compile_gen.
14780 Sun Dec 2 01:39:51 2007 Tanaka Akira <akr@fsij.org>
14782 * include/ruby/intern.h (rb_uv_to_utf8): declared.
14784 * re.c (rb_reg_preprocess): new function for dynamic regexp with
14785 \u{} such as Regexp.new("\\u{6666}").
14786 (rb_reg_prepare_re): preprocess regexp for recompiling.
14787 (read_escaped_byte): new function.
14788 (unescape_escaped_nonascii): new function.
14789 (append_utf8): new function.
14790 (unescape_unicode_list): new function.
14791 (unescape_unicode_bmp): new function.
14792 (unescape_nonascii): new function.
14793 (rb_reg_initialize): preprocess regexp.
14795 * pack.c (rb_uv_to_utf8): renamed from uv_to_utf8.
14797 * parse.y (STR_NEW3): take func instead of has8 and hasmb.
14798 (parser_str_new): use default coderange mechanism except for regexp.
14799 (parser_tokadd_utf8): copy regexp source as-is.
14800 (parser_read_escape): UTF-8 stuff removed.
14801 (parser_tokadd_escape): has8bit and hasmb removed.
14802 (parser_tokadd_string): fix 8-bit single byte character with \u.
14803 (parser_parse_string): has8bit and hasmb removed.
14804 (parser_here_document): has8bit and hasmb removed.
14805 (parser_yylex): call parser_tokadd_utf8 instead of read_escape for
14808 Wed Dec 2 01:00:07 2007 James Edward Gray II <jeg2@ruby-lang.org>
14810 * lib/xmlrpc/server.rb (XMLRPC::Server#server): Improve signal handling so
14811 pressing control-c in the controlling terminal or sending SIGTERM stops
14812 the XML-RPC server.
14814 Sat Dec 1 23:04:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14816 * encoding.c: rename primary_encoding -> default_external (encoding).
14818 Sat Dec 1 19:52:57 2007 Tadayoshi Funaba <tadf@dotrb.org>
14820 * lib/date.rb (Time#to_datetime): use nsec instead of usec.
14822 * lib/date.rb (DateTime#to_time): second minute as an argument to
14823 Time::utc contains fractional part in rational; hence Time
14824 object may keep resolution at most nanosecond.
14826 Sat Dec 1 14:36:05 2007 Koichi Sasada <ko1@atdot.net>
14828 * bootstraptest/test_knownbug.rb: move fixed bugs.
14830 * test/ruby/test_sprintf.rb: ditto.
14832 * test/yaml/test_yaml.rb: ditto.
14834 Sat Dec 1 13:24:47 2007 Koichi Sasada <ko1@atdot.net>
14836 * insnhelper.ci (vm_yield_with_cfunc): fix to passing argc on third
14837 parameter of IFUNC. [ruby-dev:32329]
14839 * enumerator.c: fix to pass exact number of argument.
14841 * eval.c (rb_yield_values2): added.
14843 * include/ruby/ruby.h: ditto.
14845 * bootstraptest/test_knownbug.rb: move a fixed test.
14847 * bootstraptest/test_block.rb: ditto.
14849 Sat Dec 1 10:45:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14851 * io.c (rb_f_open): use to_open for every non-string object. path
14852 object may use method_missing.
14854 Sat Dec 1 09:44:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14856 * insns.def (concatarray, splatarray): use to_a instead of
14859 * insnhelper.ci (caller_setup_args): ditto.
14861 Sat Dec 1 03:34:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14863 * parse.y (newline_node): always remove NODE_BEGIN.
14865 Fri Nov 30 23:48:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14867 * signal.c (ruby_signal): use SA_SIGINFO if available.
14868 [ ruby-Patches-6418 ]
14870 Fri Nov 30 22:52:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14872 * signal.c (trap_signm): SIGVTALRM no longer used for green
14873 thread. [ruby-talk:281318]
14875 * signal.c (ruby_sig_finalize): do not install SIG_DFL handler if
14876 previous handler is sighandler().
14878 Fri Nov 30 21:02:15 2007 NARUSE, Yui <naruse@ruby-lang.org>
14880 * lib/json.rb, lib/json/add/{core.rb, rails.rb},
14881 test/json/test_json_rails.rb: additional files of JSON 1.1.2.
14884 Fri Nov 30 19:33:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14886 * ext/syck/rubyext.c (rb_syck_mktime): avoid segmentation fault.
14889 Fri Nov 30 19:05:55 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14891 * enum.c (enum_count): precise argument number check.
14893 * enum.c (enum_count): return Enumerator if no block given.
14895 Fri Nov 30 16:42:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14897 * enum.c (enum_take_while): returns Enumerator if no block given.
14899 * enum.c (enum_drop_while): ditto.
14901 Thu Nov 29 16:59:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14903 * parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814]
14905 Thu Nov 29 06:45:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14907 * hash.c (rb_hash_eql): recursive comparison should be based on
14908 eql? [ruby-core:13803]
14910 Wed Nov 28 18:08:00 2007 NARUSE, Yui <naruse@ruby-lang.org>
14912 * ext/json, lib/json, test/json: Update to JSON 1.1.2.
14915 * math.c: fix typo.
14917 Wed Nov 28 16:29:35 2007 Koichi Sasada <ko1@atdot.net>
14919 * insnhelper.ci (vm_invoke_block): should splat args.
14922 * test/ruby/test_yield.rb: add tests for above.
14924 Wed Nov 28 14:43:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14926 * ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS to
14927 get rid of mixing $LDFLAGS and $ARCH_FLAG.
14929 * lib/mkmf.rb (configuration): ditto.
14931 * lib/mkmf.rb (create_makefile): support for extensions which has no
14934 Wed Nov 28 02:42:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14936 * bignum.c (big2str_find_n1): removed extraneous element.
14937 [ruby-dev:32351], [ruby-dev:32365]
14939 * bignum.c (big2str_find_n1): returns necessary digits now.
14941 * sprintf.c (remove_sign_bits): extends sign bit first.
14943 Tue Nov 27 15:53:43 2007 Koichi Sasada <ko1@atdot.net>
14945 * compile.c (iseq_compile_each): "when *[],1" dumps core.
14946 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32350]
14948 * bootstraptest/test_syntax.rb: add a test for above.
14950 Tue Nov 27 15:40:05 2007 Koichi Sasada <ko1@atdot.net>
14952 * compile.c (iseq_compile_each): "a[*b] += 1" dumps core.
14953 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32354]
14955 * bootstraptest/test_syntax.rb: add a test for above.
14957 Tue Nov 27 12:47:23 2007 Koichi Sasada <ko1@atdot.net>
14959 * compile.c, insns.def: change return value of "defined?"
14960 for $&, $1, ... . If such variables are defined,
14961 return "global-variable".
14963 * test/ruby/test_defined.rb: add tests.
14965 * bootstraptest/test_syntax.rb: fix a test.
14967 Tue Nov 27 11:54:46 2007 Koichi Sasada <ko1@atdot.net>
14969 * insns.def: fix typo.
14971 Tue Nov 27 11:23:20 2007 Koichi Sasada <ko1@atdot.net>
14973 * test_beginendblock.rb: add loop to wait signal.
14976 Tue Nov 27 11:14:57 2007 Tanaka Akira <akr@fsij.org>
14978 * include/ruby/encoding.h, encoding.c, re.c, string.c, parse.y:
14979 rename ENC_CODERANGE_SINGLE to ENC_CODERANGE_7BIT.
14980 rename ENC_CODERANGE_MULTI to ENC_CODERANGE_8BIT.
14981 Because single byte 8bit character, such as Shift_JIS 1byte katakana,
14982 is represented by ENC_CODERANGE_MULTI even if it is not multi byte.
14984 Tue Nov 27 10:45:45 2007 Koichi Sasada <ko1@atdot.net>
14986 * eval.c (rb_method_missing): fix stack trace.
14988 * bootstraptest/test_knownbug.rb: move solved tests.
14990 * bootstraptest/test_method.rb, test/ruby/test_regexp.rb: ditto.
14992 Tue Nov 27 09:57:42 2007 Koichi Sasada <ko1@atdot.net>
14994 * insns.def, compile.c: fix to allow dsym for alias/undef.
14997 * bootstraptest/test_method.rb: add tests for above.
14999 Mon Nov 26 23:18:46 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
15001 * lib/drb/extserv.rb (initialize, stop_service): synchronize with
15004 * test/drb/test_drb.rb (TestDRbEval): ignored.
15006 Mon Nov 26 17:32:16 2007 Tanaka Akira <akr@fsij.org>
15008 * re.c (Init_Regexp): new method Regexp#fixed_encoding?
15011 Mon Nov 26 13:28:14 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
15013 * lib/complex.rb: be able to create Complex(0, -0.0). [ruby-list:44268]
15015 Mon Nov 26 11:24:04 2007 Tanaka Akira <akr@fsij.org>
15017 * re.c (rb_reg_fixed_encoding_p): extracted from rb_reg_prepare_re and
15019 (rb_reg_s_union): refactored.
15021 Mon Nov 26 10:44:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15023 * io.c (rb_read_internal, rb_sysopen_internal): remove C99 dependency.
15025 Sun Nov 25 22:21:35 2007 Tanaka Akira <akr@fsij.org>
15027 * include/ruby/encoding.h (rb_enc_str_asciionly_p): declared.
15028 (rb_enc_str_asciicompat_p): defined.
15030 * re.c (rb_reg_initialize_str): use rb_enc_str_asciionly_p.
15031 (rb_reg_quote): return ascii-8bit string if the argument is
15032 ascii-only to generate encoding generic regexp if possible.
15033 (rb_reg_s_union): fix encoding handling. [ruby-dev:32094]
15035 * string.c (rb_enc_str_asciionly_p): defined.
15037 Sun Nov 25 12:12:03 2007 Eric Hodel <drbrain@segment7.net>
15039 * gem_prelude.rb: Import fast-loading gem_prelude.rb from RubyGems.
15041 * lib/rubygems*: Import RubyGems r1516.
15043 Sat Nov 24 23:25:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15045 * test/ruby/test_eval.rb (TestEval::test_instance_eval_cvar):
15046 updated not to modify class variable of Object class.
15048 Fri Nov 23 17:34:24 2007 Koichi Sasada <ko1@atdot.net>
15050 * io.c: add rb_read_internal() as blocking function.
15052 Fri Nov 23 17:33:39 2007 Koichi Sasada <ko1@atdot.net>
15054 * vm.c: fix comment.
15056 Fri Nov 23 17:26:11 2007 Koichi Sasada <ko1@atdot.net>
15058 * bootstraptest/test_knownbug.rb: move solved tests.
15060 * bootstraptest/test_io.rb, test_marshal.rb, test_objectspace.rb:
15063 * test/ruby/test_integer.rb, test_regexp.rb: ditto.
15065 Fri Nov 23 15:59:04 2007 Tanaka Akira <akr@fsij.org>
15067 * struct.c (rb_struct_alloc_noinit): new function.
15068 (rb_struct_define_without_accessor): add allocator to the arguments.
15070 * range.c (range_alloc): re-introduced using rb_struct_alloc_noinit.
15072 Fri Nov 23 15:27:43 2007 Tanaka Akira <akr@fsij.org>
15074 * re.c (REG_CASESTATE): unused macro removed.
15075 (rb_reg_prepare_re): check encoding difference.
15076 (rb_reg_initialize): check 8bit byte.
15078 * parse.y (parser_tokadd_escape): fix has8bit.
15082 Fri Nov 23 15:16:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15084 * variable.c (rb_f_global_variables): variable names should not
15085 duplicate. [ruby-dev:32344]
15087 Fri Nov 23 13:34:08 2007 Tanaka Akira <akr@fsij.org>
15089 * struct.c (rb_struct_define_without_accessor): new function.
15091 * range.c (range_alloc): removed.
15092 (Init_Range): use rb_struct_define_without_accessor.
15094 based on [ruby-dev:32327].
15096 Fri Nov 23 11:01:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15098 * re.c (match_begin): should return offset by character.
15101 * re.c (match_end): ditto.
15103 * re.c (rb_reg_search): ditto.
15105 Fri Nov 23 10:44:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15107 * compile.c (defined_expr): defined(method(x)) dumped core. a
15108 patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32335]
15110 Wed Nov 21 18:03:49 2007 Koichi Sasada <ko1@atdot.net>
15112 * vm.c: fix to recycle thread data (VM stack).
15116 * benchmark/bm_vm3_thread_create_join.rb: add loop count.
15118 Wed Nov 21 18:02:10 2007 Koichi Sasada <ko1@atdot.net>
15120 * benchmark/driver.rb: add path to trunk/lib if driver runner is
15121 in build directory.
15123 Wed Nov 21 16:39:21 2007 Tanaka Akira <akr@fsij.org>
15125 * test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert
15126 to test tv_sec only for filestamp resolution portability.
15127 (assert_same_entry): use assert_same_entry for mtime comparison.
15129 Wed Nov 21 14:55:13 2007 Koichi Sasada <ko1@atdot.net>
15131 * array.c (rb_ary_permutation): add gc guard codes.
15133 Wed Nov 21 11:16:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15135 * insnhelper.ci (vm_search_normal_superclass): rename function.
15137 * insnhelper.ci (vm_search_superclass): ditto.
15139 * proc.c (struct METHOD): rename rklass -> rclass.
15141 Wed Nov 21 03:12:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15143 * process.c (rb_f_system): returns nil on execution failure.
15146 Wed Nov 21 01:04:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15148 * object.c (nil_plus): remove unused function. [ruby-core:13737]
15150 Tue Nov 20 21:46:46 2007 Tanaka Akira <akr@fsij.org>
15152 * time.c (time_mload): ignore invalid digits in submicro.
15154 Tue Nov 20 20:33:32 2007 Koichi Sasada <ko1@atdot.net>
15156 * include/ruby/ruby.h: rename RFloat#double_value -> float_value.
15158 * numeric.c, parse.y: ditto.
15160 Tue Nov 20 19:36:21 2007 Koichi Sasada <ko1@atdot.net>
15162 * gc.h, vm_core.h: decl of rb_gc_save_machine_context()
15163 should be at vm_core.h.
15165 * include/ruby/ruby.h, intern.h: remove type rb_thread_t.
15167 * include/ruby/intern.h: change rb_unblock_function_t,
15168 rb_unblock_function_t.
15170 * file.c, process.c: apply above changes.
15172 * thread.c, thread_pthread.ci, thread_win32.ci: ditto.
15174 * io.c: support blocking open (2). [ruby-core:13614]
15176 Tue Nov 20 17:10:11 2007 Tanaka Akira <akr@fsij.org>
15178 * io.c (rb_io_close_on_exec_p): new method IO#close_on_exec?.
15179 (rb_io_set_close_on_exec): new method IO#close_on_exec=.
15182 Tue Nov 20 16:24:31 2007 Tanaka Akira <akr@fsij.org>
15184 * gc.c (gc_mark_children): obj->as.file.fptr may be 0 for T_FILE.
15186 Tue Nov 20 15:09:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15188 * parse.y (parser_read_escape): has8bit flag may be set with control
15189 escape. [ruby-core:13722]
15191 * parse.y (parser_prepare): set begging after BOM if exists.
15194 Tue Nov 20 14:55:37 2007 Eric Hodel <drbrain@segment7.net>
15196 * lib/rubygems*: Update to RubyGems 0.9.5.
15198 Tue Nov 20 13:00:44 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15200 * include/ruby/win32.h win32/win32.c (rb_w32_pipe_exec): use dual fd
15201 instead of socketpair when mode is RDWR.
15203 * io.c (pipe_open): pass &write_fd to rb_w32_pipe_exec().
15205 * io.c (popen_redirect): define only when HAVE_FORK.
15207 Tue Nov 20 12:12:04 2007 Tanaka Akira <akr@fsij.org>
15209 * include/ruby/io.h (rb_io_t): add tied_io_for_writing member.
15211 * io.c: use tied_io_for_writing for duplex popen.
15213 * gc.c: mark tied_io_for_writing.
15215 * common.mk: gc.o depends io.h.
15219 Tue Nov 20 11:59:33 2007 Tanaka Akira <akr@fsij.org>
15221 * test/drb/test_drb.rb: rename TestRubyYield to TestDRbRubyYield to
15222 avoid name crash with test/ruby/test_yield.rb.
15223 TestRuby18Yield is renamed to TestDRbRuby18Yield too.
15225 Tue Nov 20 03:24:42 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
15227 * lib/drb/extservm.rb: merged from ruby_1_8 branch.
15229 * lib/drb/acl.rb: ditto.
15231 * lib/drb/ssl.rb: ditto.
15233 * lib/drb/unix.rb: ditto.
15235 * lib/drb/drb.rb: ditto.
15237 * lib/drb/observer.rb: ditto.
15239 * lib/drb/invokemethod.rb: ditto.
15241 * test/drb/test_drbssl.rb: ditto.
15243 * test/drb/test_drb.rb: ditto.
15245 * test/drb/drbtest.rb: ditto.
15247 * test/drb/test_drbunix.rb: ditto.
15249 Tue Nov 20 00:52:46 2007 Tanaka Akira <akr@fsij.org>
15251 * test/fileutils/fileasserts.rb (assert_equal_time): show nsec if
15252 assertion fails but time.to_s equals.
15253 (assert_same_entry): use assert_equal_time.
15255 * test/fileutils/test_fileutils.rb (test_install): use
15258 Mon Nov 19 18:46:49 2007 Tanaka Akira <akr@fsij.org>
15260 * file.c (utime_internal): fallback utimensat to utimes.
15262 Mon Nov 19 17:51:27 2007 Tanaka Akira <akr@fsij.org>
15264 * configure.in: check struct timespec, clock_gettime, utimensat,
15265 struct stat.st_atim,
15266 struct stat.st_atimespec,
15267 struct stat.st_atimensec,
15268 struct stat.st_mtim,
15269 struct stat.st_mtimespec,
15270 struct stat.st_mtimensec,
15271 struct stat.st_ctim,
15272 struct stat.st_ctimespec,
15273 struct stat.st_ctimensec.
15275 * include/ruby/missing.h: provide struct timespec if not available.
15277 * time.c: support nanosecond-resolution using struct timespec.
15278 (time_nsec): new method: Time#nsec and Time#tv_nsec.
15280 * include/ruby/intern.h: provide rb_time_nano_new.
15282 * file.c (utime_internal): use utimensat if available.
15283 (rb_file_s_utime): refactored.
15284 (rb_f_test): use stat_atime, stat_mtime, stat_ctime.
15285 (rb_stat_cmp): check tv_nsec.
15286 (stat_atimespec): new function.
15287 (stat_atime): ditto.
15288 (stat_mtimespec): ditto.
15289 (stat_mtime): ditto.
15290 (stat_ctimespec): ditto.
15291 (stat_ctime): ditto.
15292 (rb_stat_atime): use stat_atime.
15293 (rb_file_s_atime): ditto.
15294 (rb_file_atime): ditto.
15295 (rb_stat_mtime): use stat_mtime.
15296 (rb_file_s_mtime): ditto.
15297 (rb_file_mtime): ditto.
15298 (rb_file_ctime): use stat_ctime.
15299 (rb_file_s_ctime): ditto.
15300 (rb_stat_ctime): ditto.
15302 * variable.c (rb_copy_generic_ivar): clear clone's instance variables
15303 if obj has no instance variable.
15305 * marshal.c (w_object): dump instance variables of generated string
15306 for TYPE_USERDEF, even if original object has instance variables.
15308 * lib/time.rb (Time#xmlschema): use nsec instead of usec.
15312 Mon Nov 19 17:48:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15314 * object.c (rb_class_superclass): should not raise exception for
15315 BasicObject. [ruby-Bugs-15668]
15317 Mon Nov 19 16:04:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15319 * array.c (rb_ary_permutation): gives all permutations of elements
15320 if no argument given. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
15323 Mon Nov 19 02:44:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15325 * compile.c (iseq_compile_each): alias and undef accept dsyms as well
15326 as literals. [ruby-dev:32308]
15328 Mon Nov 19 02:31:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15330 * eval_method.ci (rb_add_method): no redefinition warning for undef.
15332 Mon Nov 19 01:53:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15334 * parse.y (parser_read_escape): disallow control and meta modifiers
15335 for non-ASCII characters. [ruby-core:13685]
15337 Sun Nov 18 20:47:41 2007 Tanaka Akira <akr@fsij.org>
15339 * marshal.c (mark_dump_arg): it may be called after dump_ensure.
15341 Sun Nov 18 18:27:47 2007 Tanaka Akira <akr@fsij.org>
15343 * time.c (time_minus): fix Time.at(2**60+1) - Time.at(2**60).
15345 Sun Nov 18 17:28:49 2007 Tanaka Akira <akr@fsij.org>
15347 * time.c (time_arg): show actual year in 2-3 digits year warning.
15348 (time_mdump): show actual year in "year too big to marshal" error.
15350 Sun Nov 18 14:03:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15352 * eval_method.ci (rb_alias): do not call hook functions until
15353 initialization finishes. [ruby-talk:279538]
15355 Sun Nov 18 09:09:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15357 * lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.
15359 Sun Nov 18 05:19:46 2007 Tanaka Akira <akr@fsij.org>
15361 * lib/mkmf.rb (have_struct_member): define HAVE_type_member.
15363 Sat Nov 17 23:51:29 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
15365 * ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100]
15367 Sat Nov 17 23:21:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15369 * parse.y (parser_yylex): should clear parser->tokp as well.
15372 * parse.y: remove NEED_ASSOC that break test_parser_events.
15374 * parse.y (parser_yylex): should not decrement line numbers at the
15377 * file.c (rb_find_file_ext): search .rb files first through in the
15380 Fri Nov 16 23:31:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15382 * bignum.c (rb_big_odd_p): new method added. a patch from Tadashi
15383 Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:32305]
15385 * bignum.c (rb_big_even_p): ditto.
15387 Fri Nov 16 17:41:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15389 * ext/iconv/iconv.c (Document-class): moved the simplest example to
15392 * ext/iconv/iconv.c (iconv_s_iconv): Document-method: needs class
15393 prefix for class method. [ruby-core:13542]
15395 * ext/iconv/iconv.c (iconv_iconv): also instance method needs to be
15398 Fri Nov 16 16:26:57 2007 Shugo Maeda <shugo@ruby-lang.org>
15400 * include/ruby/ruby.h: added some declarations for event hooks.
15402 * lib/profile.rb: set VM::InstructionSequence.compile_option.
15404 Fri Nov 16 11:16:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15406 * lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.
15408 Fri Nov 16 03:36:01 2007 why the lucky stiff <why@ruby-lang.org>
15410 * ext/syck/rubyext.c: Node#value defined twice.
15412 * lib/yaml/: several method redefinitions causing warnings.
15414 Fri Nov 16 03:01:00 2007 why the lucky stiff <why@ruby-lang.org>
15416 * lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit.
15418 Fri Nov 16 02:51:59 2007 why the lucky stiff <why@ruby-lang.org>
15420 * lib/yaml.rb (quick_emit): use combination of object_id and hash to
15421 identify repeated object references, since GC will reuse memory of
15422 objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698]
15424 Thu Nov 15 19:49:03 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15426 * ext/curses/extconf.rb: check macro if cannot find func.
15429 Thu Nov 15 18:04:06 2007 Tanaka Akira <akr@fsij.org>
15431 * tool/compile_prelude.rb: fix TMP_RUBY_PREFIX for relative load path
15434 Thu Nov 15 17:28:21 2007 Tanaka Akira <akr@fsij.org>
15436 * tool/compile_prelude.rb: absolute path may not start with a slash.
15439 Thu Nov 15 17:07:54 2007 Tanaka Akira <akr@fsij.org>
15441 * tool/compile_prelude.rb: fix first substitution.
15442 use constant for prefix.
15443 pointed by Richard Kilmer.
15445 Thu Nov 15 14:29:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15447 * common.mk (prereq): added auto generated sources. [ruby-dev:32280]
15449 Thu Nov 15 12:31:13 2007 Tanaka Akira <akr@fsij.org>
15451 * tool/compile_prelude.rb: use constant for prefix.
15453 Thu Nov 15 12:24:39 2007 Tanaka Akira <akr@fsij.org>
15455 * tool/compile_prelude.rb: use simple template system for source
15458 Thu Nov 15 12:19:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15460 * lib/cgi/session.rb (CGI::Session::FileStore::restore): use
15461 lockfile for exclusive locks. a patch from <tommy AT tmtm.org>.
15464 Thu Nov 15 12:14:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15466 * tool/compile_prelude.rb (c_esc): need to escape closing brace.
15468 Thu Nov 15 11:52:16 2007 Tanaka Akira <akr@fsij.org>
15470 * tool/compile_prelude.rb: adjust RbConfig::CONFIG paths relative
15471 to the installation path.
15473 Thu Nov 15 11:25:20 2007 Tanaka Akira <akr@fsij.org>
15475 * ruby.c (usage): fix typo on --disable-gems option.
15476 pointed by Richard Kilmer.
15478 Wed Nov 14 16:16:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15480 * test/net/http/test_https_proxy.rb
15481 (HTTPSProxyTest::test_https_proxy_authentication): initialize
15482 local variable 't' first. [ruby-dev:32253]
15484 Wed Nov 14 15:39:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15486 * test/socket/test_socket.rb: update not to use 1.8 assignment to
15487 external local variable in the block parameters. [ruby-dev:32251]
15489 * test/strscan/test_stringscanner.rb: avoid $KCODE, and use
15490 String#force_encoding(). [ruby-dev:32251]
15492 Wed Nov 14 14:04:42 2007 Tanaka Akira <akr@fsij.org>
15494 * common.mk, Makefile.in: rename prelude.c to miniprelude.c.
15495 rename ext_prelude.c to prelude.c
15497 * win32/Makefile.sub: ditto.
15499 * bcc32/Makefile.sub: ditto.
15501 Wed Nov 14 07:09:48 2007 Koichi Sasada <ko1@atdot.net>
15503 * blockinlining.c, compile.c, compile.h, debug.c, debug.h,
15504 id.c, insnhelper.h, insns.def, thread.c, thread_pthread.ci,
15505 thread_pthread.h, thread_win32.ci, thread_win32.h, vm.h,
15506 vm_dump.c, vm_evalbody.ci, vm_opts.h: fix comments and
15509 Wed Nov 14 07:07:51 2007 Koichi Sasada <ko1@atdot.net>
15511 * tool/makedocs.rb, template/insnstbl.html: removed.
15513 Wed Nov 14 02:50:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15515 * common.mk (parse.c): dependency also needs vpath.
15517 * common.mk (node_name.inc, prelude.c): VPATH in nmake does not
15518 work for targets of explicit rules.
15520 Wed Nov 14 02:11:38 2007 Tanaka Akira <akr@fsij.org>
15522 * missing/isinf.c (isinf): don't define if the macro is defined.
15524 * configure.in: no need to set ac_cv_func_isinf=yes on non-gcc
15527 Wed Nov 14 01:34:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15529 * numeric.c (round): fallback definition.
15531 * numeric.c (flo_divmod, flo_round): use round() always.
15534 Wed Nov 14 00:33:49 2007 Koichi Sasada <ko1@atdot.net>
15536 * include/ruby/ruby.h: introduce 2 macros:
15537 RFLOAT_VALUE(v), DOUBLE2NUM(dbl).
15538 Rename RFloat#value -> RFloat#double_value.
15539 Do not touch RFloat#double_value directly.
15541 * bignum.c, insns.def, marshal.c, math.c, numeric.c, object.c,
15542 pack.c, parse.y, process.c, random.c, sprintf.c, string.c,
15543 time.c: apply above changes.
15545 * ext/dl/mkcallback.rb, ext/json/ext/generator/generator.c:
15548 Wed Nov 14 00:15:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15550 * tool/ytab.sed: get rid of GNU sed feature. a patch from Laurent
15551 Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470].
15553 Tue Nov 13 21:41:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15555 * common.mk (parse.c), ext/ripper/depend (ripper.c): process after
15556 bison with sed. [ruby-dev:32204]
15558 * ruby.c (proc_options): use yydebug in cmdline_options.
15560 * ruby.c (process_options): set yydebug flag of parser.
15562 * parse.y (yydebug): moved into struct parser_params.
15564 * parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser
15567 * */Makefile.sub (parse.c): moved to common.mk.
15569 * tool/ytab.sed: comment out yydebug definition, and substitute
15570 yyerror with parser_yyerror.
15572 Tue Nov 13 16:33:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15574 * numeric.c (flodivmod): work around for infinity.
15576 * numeric.c (flo_divmod): work around for platforms have no round().
15579 Tue Nov 13 15:26:33 2007 Tanaka Akira <akr@fsij.org>
15581 * lex.c.blt: moved from lex.c.
15583 * lex.c.src: copied from keywords. This is the source of lex.c.blt.
15585 * Makefile.in (lex.c): use lex.c.blt if keywords is same as lex.c.src.
15587 * win32/Makefile.sub (lex.c): re-introduce copy rule.
15589 * bcc32/Makefile.sub (lex.c): ditto.
15591 * wince/Makefile.sub (lex.c): ditto.
15593 Tue Nov 13 15:21:52 2007 Koichi Sasada <ko1@atdot.net>
15595 * compile.c (iseq_specialized_instruction): check argc.
15597 Tue Nov 13 14:44:32 2007 why the lucky stiff <why@ruby-lang.org>
15599 * test/yaml/test_yaml.rb: fixed the failing YAML Struct test
15602 Tue Nov 13 02:57:04 2007 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
15604 * numeric.c (flo_divmod): round to the nearest integer.
15605 [ ruby-Bugs-14540 ]
15607 Tue Nov 13 00:36:16 2007 Shugo Maeda <shugo@ruby-lang.org>
15609 * test/ruby/test_settracefunc.rb: fixed tests for set_trace_func.
15611 Mon Nov 12 19:47:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15613 * thread.c (call_trace_proc): should return value.
15615 Mon Nov 12 19:45:18 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15617 * {bcc,win}32/Makefile.sub (miniruby): use $(COMMONOBJS) and $(DMYEXT)
15618 instead of $(LIBRUBY_A).
15620 Mon Nov 12 18:32:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15622 * {bcc,win}32/Makefile.sub (MINIOBJS): added prelude.$(OBJEXT).
15624 Mon Nov 12 17:13:23 2007 Tanaka Akira <akr@fsij.org>
15626 * Makefile.in, common.mk: add prelude.o to MINIOBJS.
15628 Mon Nov 12 16:52:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15630 * lib/mkmf.rb (create_makefile): rdoc about srcprefix. a patch from
15631 Daniel Berger <djberg96 AT gmail.com> in [ruby-core:13378].
15633 Mon Nov 12 16:48:09 2007 Tanaka Akira <akr@fsij.org>
15635 * Makefile.in, common.mk: add ext_prelude.o to OBJS.
15637 Mon Nov 12 13:57:39 2007 Tanaka Akira <akr@fsij.org>
15639 * configure.in (MINIDLNOBJS): removed.
15640 (MINIOBJS): set to dln.o if dmydln.o is not used.
15642 * Makefile.in (miniruby): use MINIOBJS instead of MINIDLNOBJS.
15644 Mon Nov 12 13:53:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15646 * misc/ruby-mode.el (ruby-parse-partial): handle stringified
15647 symbols properly using ruby-forward-string.
15649 Mon Nov 12 12:17:59 2007 Tanaka Akira <akr@fsij.org>
15651 * configure.in (MINIDLNOBJS): defined.
15653 * Makefile.in (miniruby): use MINIDLNOBJS and COMMONOBJS instead of
15654 MINIOBJS and OBJS to avoid linking both dmydln.o and dln.o.
15656 Sun Nov 11 20:32:45 2007 Tanaka Akira <akr@fsij.org>
15658 * {win32,wince,bcc32}/Makefile.sub: delete lex.c rule.
15660 Sun Nov 11 19:40:52 2007 Tanaka Akira <akr@fsij.org>
15662 * Makefile.in (lex.c): simplified.
15664 Sun Nov 11 18:31:48 2007 Tanaka Akira <akr@fsij.org>
15666 * Makefile.in (lex.c): touch lex.c if gperf failed but lex.c exists.
15667 Although this may cause non-updated lex.c,
15668 svn co may generate keywords newer than lex.c especially on
15669 a file system which can record fractional mtime such as XFS.
15671 Sun Nov 11 17:32:46 2007 Shugo Maeda <shugo@ruby-lang.org>
15673 * insnhelper.ci (vm_call_method): pass mn->nd_clss to
15674 vm_call_cfunc() instead of klass.
15676 * vm.c (rb_thread_method_id_and_klass): traverse parent_iseq.
15678 * thread.c (call_trace_proc): use rb_thread_method_id_and_klass().
15680 Sun Nov 11 16:54:25 2007 Tanaka Akira <akr@fsij.org>
15682 * lex.c: renamed from lex.c.blt.
15684 * Makefile.in (lex.c): use find command to check mtime.
15686 Sun Nov 11 05:34:13 2007 Eric Hodel <drbrain@segment7.net>
15688 * bin/gem: Add forgotten gem command.
15690 Sat Nov 10 23:50:31 2007 Tanaka Akira <akr@fsij.org>
15692 * string.c (tr_trans): cast to unsigned char after dereference
15693 a pointer to a char to avoid SEGV with "\377".tr("a", "b").
15696 Sat Nov 10 23:08:53 2007 Tanaka Akira <akr@fsij.org>
15698 * configure.in, common.mk, Makefile.in: don't generate
15699 libminiruby-static.a.
15701 Sat Nov 10 19:46:54 2007 Tanaka Akira <akr@fsij.org>
15703 * configure.in, common.mk, Makefile.in: generate libminiruby-static.a
15704 which contains prelude.o for miniruby.
15706 Sat Nov 10 18:10:07 2007 Tanaka Akira <akr@fsij.org>
15708 * gem_prelude.rb: new file for gem libraries. currently empty.
15710 * common.mk: generate ext_prelude.c by prelude.rb and gem_prelude.rb.
15711 ruby (not miniruby) is linked with ext_prelude.o instead of
15714 * inits.c (rb_call_inits): don't call Init_prelude.
15716 * ruby.c: support --disable-gems option.
15717 (ruby_init_gems): new function to define Gem::Enable and
15718 invoke Init_prelude.
15719 (process_options): call ruby_init_gems just after
15720 ruby_init_loadpath.
15722 * tool/compile_prelude.rb: support multiple files.
15724 Sat Nov 10 17:27:55 2007 Shugo Maeda <shugo@ruby-lang.org>
15726 * thread.c (call_trace_proc): don't call ID2SYM() for ID_ALLOCATOR
15729 Sat Nov 10 16:37:07 2007 Eric Hodel <drbrain@segment7.net>
15731 * lib/rubygems: Import RubyGems revision 1493.
15733 * lib/rubygems.rb: ditto.
15735 * lib/ubygems.rb: ditto.
15737 * lib/rbconfig/datadir.rb: ditto.
15739 * test/rubygems: ditto.
15741 Sat Nov 10 16:34:21 2007 Eric Hodel <drbrain@segment7.net>
15743 * lib/soap/property.rb: Don't override Enumerable#inject for 1.9.
15745 Sat Nov 10 14:43:30 2007 David Flanagan <davidflanagan@ruby-lang.org>
15747 * parse.y: use ASCII encoding for string literals that are
15748 7-bit clean, fixing regression from my previous patch
15750 Sat Nov 10 13:18:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15752 * {bcc32,win32}/Makefile.sub: vendor_ruby support.
15754 Fri Nov 9 23:33:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15756 * parse.y (parser_nextc): added single line read forward buffer.
15758 * parse.y (parser_yylex): adjust line number for fluent interface.
15760 Fri Nov 9 22:04:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15762 * vm.h (FRAME_MAGIC_MASK_BITS): bits of FRAME_MAGIC_MASK.
15764 * insnhelper.ci (vm_call_cfunc, vm_cfunc_flags): use shift operations.
15766 Fri Nov 9 21:46:28 2007 Koichi Sasada <ko1@atdot.net>
15768 * eval.c (eval): should be volatile value for GC.
15770 Fri Nov 9 17:48:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15772 * ruby.c (locale_encoding): guesstimate encoding from environment
15773 variables. [ruby-core:13315]
15775 * ruby.c (process_options): set primary encoding from environment.
15777 Fri Nov 9 16:51:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15779 * io.c (rb_io_each_byte): should update rbuf_off and rbuf_len for
15780 each iteration. [ruby-dev:31659][ruby-dev:32192]
15782 * variable.c (rb_cvar_set): cvar assignment obey same rule to cvar
15783 reference. [ruby-dev:32192]
15785 Fri Nov 9 15:52:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15787 * encoding.c (enc_check_encoding, rb_set_primary_encoding): ENCODING
15788 is no longer in FL_USERS flags.
15790 Fri Nov 9 15:20:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15792 * string.c (rb_str_squeeze_bang): initialize squeezing table if no
15795 Fri Nov 9 13:57:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15797 * enum.c (each_with_index_i): use rb_yield_values() for
15798 compatibility with Enumerator#with_index(). a patch from Yusuke
15799 ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32195]
15801 Fri Nov 9 13:45:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15803 * test/ruby/test_iterator.rb (TestIterator::IterTest::each):
15804 #each_pair is now alias to #each. [ruby-dev:32192]
15806 * test/ruby/test_iterator.rb (TestIterator::test_assoc_yield):
15809 Fri Nov 9 12:56:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15811 * eval_load.c (loaded_feature_path): check with type of given feature.
15813 Fri Nov 9 12:43:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15815 * test/ruby/test_basicinstructions.rb: updated for new class
15816 behavior. [ruby-dev:32192]
15818 * encoding.c (enc_name): Encoding should not rely on ENCODING in
15819 the FL_USERS flags.
15821 * encoding.c (rb_enc_from_encoding): do not call rb_enc_associate
15822 for encoding itself.
15824 * encoding.c (enc_register_at): ditto.
15826 * marshal.c (r_ivar): do not set real instance variable for
15827 encoding data associated.
15829 Fri Nov 9 10:43:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15831 * eval.c (send_internal): use self in the previous frame to check for
15832 protected methods. [ruby-core:13254]
15834 * insnhelper.ci (vm_call_method): send! method has gone.
15836 Fri Nov 9 10:38:13 2007 Koichi Sasada <ko1@atdot.net>
15838 * marshal.c (w_object): should be SPECIAL_CONST_P() instead of
15841 Fri Nov 9 10:29:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15843 * eval.c (rb_invoke_method): check if invoked in function style.
15846 * insnhelper.ci (vm_call_cfunc, vm_cfunc_flags): stores and returns VM
15849 * vm.c (rb_vm_cfunc_funcall_p): returns if the current method is
15850 invoked in function style.
15852 Fri Nov 9 10:10:21 2007 Koichi Sasada <ko1@atdot.net>
15854 * cont.c: add rb_context_t#type.
15856 Fri Nov 9 10:05:54 2007 Koichi Sasada <ko1@atdot.net>
15858 * ruby.c (set_arg0): fix breaking environ bugs.
15860 Fri Nov 9 07:26:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15862 * random.c: update MT URL.[ruby-core:13305].
15864 Thu Nov 8 17:09:55 2007 David Flanagan <davidflanagan@ruby-lang.org>
15866 * object.c: improve docs for Object.tap
15868 * ChangeLog: fix bogus dates on my previous entries
15870 Thu Nov 8 15:13:56 2007 David Flanagan <davidflanagan@ruby-lang.org>
15872 * parse.y: fix segfault with \x escapes in regexps
15873 delete unused #if 0 code regions from previous patch
15875 Thu Nov 8 12:12:10 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15877 * parse.y (parser_read_escape): remove C99/gcc-ism.
15879 Thu Nov 8 07:54:22 2007 David Flanagan <davidflanagan@ruby-lang.org>
15881 * parse.y: patch, based on Nobu's, work to support \u escapes
15882 also modifications for better coderange detection
15884 * test/ruby/test_unicode_escapes.rb: test cases
15886 * test/ruby/test_mixed_unicode_escapes.rb: mixed encoding test cases
15888 Thu Nov 8 07:14:37 2007 David Flanagan <davidflanagan@ruby-lang.org>
15890 * parse.y (rb_intern3): commented out broken code that prevented
15891 correct interning of multi-byte symbols. Without this patch
15892 :x==:x is false when x is a multi-byte character.
15894 Thu Nov 8 07:04:31 2007 David Flanagan <davidflanagan@ruby-lang.org>
15896 * string.c (tr_setup_table, tr_trans): fix test failures
15897 in test/ruby/test_string.rb
15899 Wed Nov 7 15:07:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15901 * enum.c (enum_each_with_index): make different arrays at each
15902 iteration. [ruby-dev:32181]
15904 Wed Nov 7 05:17:24 2007 David Flanagan <davidflanagan@ruby-lang.org>
15906 * eval.c: fix typo in invoke_method documentation
15908 Wed Nov 7 03:52:26 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15910 * array.c (rb_ary_product): core dumped with non array arguments.
15911 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32180]
15913 Wed Nov 7 03:32:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15915 * lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for
15916 nkf conversion. a patch from <moonwolf AT moonwolf.com>.
15919 Wed Nov 7 02:59:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15921 * array.c (rb_ary_each_index): should return meaningful value.
15923 Tue Nov 6 16:37:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15925 * eval_load.c (loaded_feature_path): need to expand relative paths.
15927 * eval_load.c (rb_feature_p): check if the feature is loading with
15928 load path. [ruby-dev:31932]
15930 * eval_load.c (load_lock): check the result of barrier waiting.
15932 * thread.c (rb_barrier_wait): check if owned by the current thread.
15934 * thread.c (rb_barrier_release): ditto.
15936 Mon Nov 5 08:01:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15938 * eval.c (Init_eval): move #send to Kernel module from BasicObject.
15940 Mon Nov 5 05:17:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15942 * lib/optparse.rb (OptionParser::Switch::summarize): fix for long form
15943 option with very long argument. a patch from Kobayashi Noritada
15944 <nori1 AT dolphin.c.u-tokyo.ac.jp> in [ruby-list:44179].
15946 Mon Nov 5 01:20:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15948 * parse.y (call_args): remove "parenthesize argument(s) for future
15949 version" warning. when I added this warning, I had a plan to
15950 reimplement the parser that is simpler than the current one.
15951 since we abandoned the plan, warning no longer required.
15953 Mon Nov 5 01:02:56 2007 Minero Aoki <aamine@loveruby.net>
15955 * lib/net/http.rb (HTTPHeader#initialize): provide default
15956 User-Agent to fix 500 error on some corrupted HTTP servers.
15959 Mon Nov 5 00:32:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15961 * eval.c (rb_f_send): allow send/__send__ to call methods of all
15962 visibility again. we no longer provide __send, __send!.
15964 * eval.c (rb_invoke_method): new method to honor private
15965 visibility. if it's invoked in a function call style, it calls
15966 private methods as well (previous 1.9 send behavior).
15968 Mon Nov 5 00:24:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15970 * win32/Makefile.sub: vendor_ruby support.
15972 * configure.in (RUBY_LIB): duplicated.
15974 Mon Nov 5 00:01:33 2007 Tanaka Akira <akr@fsij.org>
15976 * re.c (rb_reg_quote): quote \v as well.
15978 Sun Nov 4 23:51:59 2007 Tanaka Akira <akr@fsij.org>
15980 * re.c (rb_reg_initialize_m): use StringValuePtr instead of
15981 StringValueCStr because \0 exists when Regexp.new("\0").
15983 Sun Nov 4 08:11:19 2007 Tanaka Akira <akr@fsij.org>
15985 * gc.c (count_objects): count TOTAL.
15987 Sun Nov 4 03:58:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15989 * string.c (tr_setup_table): use C array for characters that fit
15990 in a byte to gain performance.
15992 * string.c (rb_str_delete_bang): ditto.
15994 * string.c (rb_str_squeeze_bang): ditto.
15996 * string.c (rb_str_count): ditto.
15998 * string.c (tr_trans): ditto.
16000 Sun Nov 4 00:06:40 2007 Tanaka Akira <akr@fsij.org>
16002 * gc.c (count_objects): ObjectSpace.count_objects implemented.
16005 Sat Nov 3 22:49:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16007 * hash.c (rb_hash_each_pair): make Hash#each to be alias to
16008 Hash#each_pair for compatibility and clarity.
16010 * hash.c (env_each_pair): ditto.
16012 Sat Nov 3 22:41:05 2007 Tanaka Akira <akr@fsij.org>
16014 * configure.in: --with-vendor-hdrdir implemented.
16016 * lib/mkmf.rb: check --vendor argument.
16018 * README.EXT: explain --vendor option for extconf.rb
16020 * README.EXT.ja: ditto.
16022 Sat Nov 3 20:30:48 2007 Tanaka Akira <akr@fsij.org>
16024 * configure.in: --with-vendordir implemented.
16026 * mkconfig.rb: add config to vendorlibdir and vendorarchdir.
16028 * instruby.rb: make vendor library directories.
16030 * ruby.c: insert vendor library directories into load path.
16032 Fri Nov 2 20:55:49 2007 Kouhei Sutou <kou@cozmixng.org>
16034 * lib/rss/content.rb, lib/rss/content/, lib/rss/maker/content.rb,
16035 test/rss/test_content.rb, test/rss/test_maker_content.rb,
16036 test/rss/rss-testcase.rb (RSS::TestCase): supported
16037 content:encoded with RSS 2.0.
16038 Suggested by Sam Lown. Thanks.
16040 Fri Nov 2 20:47:04 2007 Kouhei Sutou <kou@cozmixng.org>
16042 * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.
16044 Thu Nov 1 21:56:45 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16046 * error.c (Init_Exception): make NameError to be subclass of
16047 StandardError again.
16049 * error.c (Init_Exception): make SecurityError to be subclass of
16050 Exception, since it's too important to be handled implicitly.
16052 Thu Nov 1 14:51:39 2007 David Flanagan <davidflanagan@ruby-lang.org>
16053 * enum.c (take_while_i, drop_while_i) add RTEST to handle nil return
16055 Thu Nov 1 02:12:50 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16057 * common.mk (prereq): update the path of prelude.c.
16059 * common.mk (prelude.c): rollback a part of r13675, because it is not
16060 documented and causes build error.
16062 Thu Nov 1 01:52:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16064 * enum.c (enum_drop): fix typo.
16066 Thu Nov 1 01:51:01 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16068 * vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.
16070 Thu Nov 1 00:46:30 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16072 * win32/configure.bat, setup.mak: now can recognize OS even if
16073 the ``--target'' option of configure is omitted.
16075 * win32/README.win32: update the descriptions about compiler.
16077 Wed Oct 31 03:13:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16079 * enum.c (enum_take_while): separate with-block form.
16081 * enum.c (drop_while_i): ditto.
16083 * enum.c (enum_butfirst): abandon butfirst method. reverted.
16085 Tue Oct 30 10:03:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16087 * enum.c (enum_butfirst): add a new method to iterates over
16088 elements but first n. RDoc need to be updated.
16090 * enumerator.c (Init_Enumerator): remove unnecessary symbol
16093 Mon Oct 29 18:42:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16095 * parse.y (bvar): block-local variable can shadow outer variable.
16098 Mon Oct 29 17:58:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16100 * string.c (rb_str_substr): performance improvement. [ruby-dev:31806]
16102 Mon Oct 29 17:20:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16104 * encoding.c (rb_enc_replicate): new function to replicate encoding.
16106 * encoding.c (enc_based_encoding): Encoding#base_encoding returns
16107 based encoding of replica.
16109 Mon Oct 29 17:18:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16111 * encoding.c (rb_enc_compatible): ASCII encoding is compatible with
16112 ASCII-compatible encoding, even for non-string objects.
16114 Sun Oct 28 21:50:02 2007 Tanaka Akira <akr@fsij.org>
16116 * lib/open-uri.rb: :redirect option implemented to disable redirects.
16117 (OpenURI::HTTPRedirect): new exception class for redirection.
16119 Fri Oct 26 17:38:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16121 * numeric.c (int_chr): take an optional encoding parameter.
16124 Fri Oct 26 17:14:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16126 * numeric.c (fix_pow): returns 1.0 for 0**0.0.
16128 * numeric.c (fix_pow): returns infinity for 0**-1. [ruby-dev:32084]
16130 Fri Oct 26 15:00:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16132 * misc/ruby-style.el (ruby-style-{case,label}-indent): adjust for
16133 labels inside switch block.
16135 Fri Oct 26 05:48:57 2007 David Flanagan <davidflanagan@ruby-lang.org>
16136 * array.c: raise IndexError for negative length in rb_ary_fill
16138 Wed Oct 25 07:12:03 2007 James Edward Gray II <jeg2@ruby-lang.org>
16140 * lib/net/telnet.rb (Net::Telnet#login): Allowing "passphrase" in
16141 addition to "password" for Telnet login prompts. [ruby-Bugs-10746]
16143 Wed Oct 25 06:34:11 2007 James Edward Gray II <jeg2@ruby-lang.org>
16145 * lib/net/telnet.rb (Net::Telnet#login): Making the password prompt
16146 pattern case insensitive. [ruby-Bugs-10746]
16148 Fri Oct 26 04:21:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16150 * lib/net/pop.rb (Net::POP3::do_start): type fixed. a patch from
16151 Dan Zwell <dzwell AT zwell.net> in [ruby-core:12941].
16153 Fri Oct 26 01:48:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16155 * array.c (rb_ary_assoc): check and convert inner arrays (assocs)
16158 * hash.c (rb_hash_s_create): check and convert argument hash
16161 * hash.c (rb_hash_s_create): Hash#[] now takes assocs as source of
16164 Thu Oct 25 16:46:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16166 * parse.y (parser_yylex): dot at the head of the line denote line
16167 continuation from previous one to support fluent interface.
16170 * misc/ruby-mode.el (ruby-calculate-indent): support fluent dot.
16172 Thu Oct 25 14:19:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16174 * io.c (rb_io_tell, rb_io_seek): check errno too. [ruby-dev:32093]
16176 Thu Oct 25 13:59:53 2007 David Flanagan <davidflanagan@ruby-lang.org>
16178 * parse.y (parser_tokspace): increment tokidx
16179 fixes test failure at [test/ruby/test_stringchar.rb:72]
16181 Thu Oct 25 09:49:49 2007 akira yamada <akira@ruby-lang.org>
16183 * lib/uri.rb, lib/uri/ldaps.rb: added LDAPS
16184 scheme. [ruby-dev:31896]
16186 Wed Oct 25 06:23:14 2007 James Edward Gray II <jeg2@ruby-lang.org>
16188 * lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug that
16189 caused time zone conversion to fail for some ISO 8601 date formats.
16192 Wed Oct 25 04:59:28 2007 James Edward Gray II <jeg2@ruby-lang.org>
16194 * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly start
16195 the HTTP connection to support keepalive requests. [ruby-Bugs-9353]
16197 Wed Oct 25 04:46:53 2007 James Edward Gray II <jeg2@ruby-lang.org>
16199 * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the error
16200 message for Content-Type check failures. [ruby-core:12163]
16202 Wed Oct 25 03:45:08 2007 James Edward Gray II <jeg2@ruby-lang.org>
16204 * lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type):
16205 Making Content-Type checks case insensitive. [ruby-Bugs-3367]
16207 Wed Oct 24 17:09:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16209 * parse.y (parser_tokspace): make space in token buffer.
16211 * parse.y (parser_yylex): fix encoding of single character literal.
16213 Tue Oct 23 13:44:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16215 * parse.y (call_args2): nd_head of NODE_BLOCK_PASS should be a list.
16218 Tue Oct 23 10:42:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16220 * ruby.c (process_options): encoding set by command line option takes
16221 priority over the encoding in the source, as the primary encoding.
16223 Mon Oct 22 19:24:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16225 * ruby.c (proc_options): allow space after -E (encoding) option.
16227 Mon Oct 22 11:03:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16229 * encoding.c (enc_check_encoding): returns index now.
16231 * encoding.c (rb_enc_compatible): check if two objects have compatible
16234 * encoding.c (enc_compatible_p): added Encoding.compatible?.
16236 * include/ruby/encoding.h (rb_enc_compatible): prototype.
16238 Sun Oct 21 18:29:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16240 * encoding.c (rb_enc_default, rb_enc_primary): return pointers to
16241 rb_encoding of default and primary respectively. [ruby-core:12795]
16243 * encoding.c (set_primary_encoding): removed primary_encoding setter.
16245 Sat Oct 20 13:17:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16247 * enum.c (enum_cycle): hide temporary array from ObjectSpace.
16250 Sat Oct 20 11:49:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16252 * file.c (rb_get_path): returns frozen string.
16254 * file.c (rb_file_s_chown, rb_file_s_lchown): use uid_t and gid_t.
16256 Fri Oct 19 20:08:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16258 * encoding.c (rb_id_encoding): returns ID "encoding".
16260 * marshal.c (w_encoding): dump encoding name.
16262 * marshal.c (r_ivar): load encoding.
16264 Fri Oct 19 16:41:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16266 * parse.y (parser_regx_options, reg_compile_gen): relaxened encoding
16269 * re.c (rb_reg_initialize): always set encoding of Regexp.
16271 * re.c (rb_reg_initialize_str): fix encoding for non 7bit-clean
16274 * re.c (rb_reg_initialize_m): use ascii encoding for 'n' option.
16276 Fri Oct 19 11:09:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16278 * ruby.c (process_options): set primary encoding from the parser
16279 always. [ruby-core:12758]
16281 * ruby.c (load_file): should not discard the parser parameter.
16283 Fri Oct 19 10:55:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16285 * range.c (range_last): removed unused variables.
16287 Thu Oct 18 17:08:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16289 * enum.c (enum_find_index): update RDoc. a patch from David Flanagan
16290 <david AT davidflanagan.com> in [ruby-core:12710].
16292 * enum.c (enum_take, enum_drop): ditto.
16294 * enum.c (enum_cycle): should not cause infinite loop for empty
16295 arrays. [ruby-core:12710]
16297 * range.c (Init_Range): typo fixed.
16299 Thu Oct 18 16:39:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16301 * lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): more
16302 duck typed. better performance on JRuby.
16303 http://headius.blogspot.com/2007/10/another-performance-discovery-rexml.html
16305 Thu Oct 18 09:33:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16307 * range.c (range_first): takes first n element if argument is
16308 given. [ruby-core:12697]
16310 * range.c (range_last): returns last n elements if argument is
16313 * array.c (rb_ary_subseq, rb_ary_last): export.
16315 Wed Oct 17 17:39:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16317 * ruby.c (proc_options): fixed reversed condition. [ruby-core:12722]
16319 Wed Oct 17 13:54:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16321 * re.c (rb_reg_s_union): the last check was not complete.
16323 Wed Oct 17 11:30:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16325 * encoding.c (rb_enc_from_encoding, rb_enc_register): associate index
16328 * encoding.c (enc_capable): Encoding objects are encoding capable.
16330 * re.c (rb_reg_s_union): check if encoding matching by exact encoding
16333 Wed Oct 17 06:18:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16335 * encoding.c (rb_enc_alias, rb_enc_find_index): changed
16336 enc_table_alias to a name-to-index hash.
16338 * encoding.c (rb_enc_init): use upper case names for aliases to use as
16341 * encoding.c (enc_find): allow symbols.
16343 * encoding.c (Init_Encoding): define encoding constants.
16345 * st.c (strcasehash): fix wrong code range condition.
16347 Wed Oct 17 05:07:18 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16349 * encoding.c (rb_primary_encoding): added Encoding.primary_encoding.
16351 * parse.y (rb_parser_encoding): added.
16353 * ruby.c (proc_options): added -E and --encoding options.
16355 * ruby.c (process_options): set primary encoding from command line
16356 option if set, or source encoding.
16358 * include/ruby/encoding.h (rb_enc_from_encoding,
16359 rb_get_primary_encoding, rb_set_primary_encoding): prototypes.
16361 * include/ruby/node.h (rb_parser_encoding): prototype.
16363 Wed Oct 17 03:37:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16365 * re.c (rb_reg_desc): set encoding.
16367 * re.c (rb_reg_s_union): check encodings.
16369 * enc/utf8.c (utf8_code_to_mbclen): 0xfe and 0xff are valid Unicode to
16370 be encoded to 2bytes in UTF-8. [ruby-core:12700]
16372 Wed Oct 17 02:50:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16374 * string.c (rb_str_ord): use encoding.
16376 Wed Oct 17 01:57:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16378 * re.c (rb_reg_initialize_m): allow binary encoding option.
16381 Tue Oct 16 19:48:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16383 * re.c (rb_reg_s_union): check for encoding of original object.
16385 Tue Oct 16 18:28:51 2007 Tanaka Akira <akr@fsij.org>
16387 * debug.c: use enum for constants for gdb if possible.
16389 Tue Oct 16 18:20:10 2007 Tanaka Akira <akr@fsij.org>
16391 * ruby.c, debug.c: move debug enum and constants to debug.c.
16393 Tue Oct 16 18:16:15 2007 Tanaka Akira <akr@fsij.org>
16395 * ruby.c (RUBY_ENCODING_SHIFT): added as enum.
16397 * .gdbinit (rp): show encoding and coderange for strings.
16399 Tue Oct 16 14:48:38 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16401 * parse.y (parser_regx_options): check if regexp encoding option
16402 matches to current encoding.
16404 * re.c (char_to_option, rb_char_to_option_kcode): 'n' is not kcode
16407 * re.c (rb_reg_to_s, rb_reg_error_desc): copy encoding rather than
16408 append as an option.
16410 * re.c (make_regexp, rb_reg_prepare_re): use encoding of Regexp and
16411 String instead of kcode.
16413 * re.c (rb_reg_initialize): set fixed option if none is set.
16415 * re.c (rb_reg_regcomp): ditto.
16417 * re.c (rb_reg_equal): check if encodings are equal.
16419 * re.c (rb_reg_initialize_m): encoding option is obsolete.
16421 * re.c (rb_kcode, rb_get_kcode, rb_set_kcode): removed.
16423 * re.c (Init_Regexp): removed Regexp#kcode method.
16425 * ruby.c (proc_options): allow long encoding name.
16427 Tue Oct 16 14:03:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16429 * re.c (rb_reg_s_union): encoding of all regexp objects should
16430 match. [ruby-dev:32076]
16432 Tue Oct 16 13:49:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16434 * encoding.c (enc_to_s): rename function.
16436 Tue Oct 16 13:25:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16438 * string.c (rb_str_new4): should copy encoding. a patch from NARUSE,
16439 Yui <naruse AT airemix.com>. [ruby-dev:32076]
16441 Tue Oct 16 01:31:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16443 * enum.c (enum_inject): RDoc update. a patch from David Flanagan
16444 <david AT davidflanagan.com> in [ruby-core:12710].
16446 Tue Oct 16 01:25:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16448 * encoding.c (Init_Encoding): define #to_s to show encoding name
16449 in to_s representation as well as #inspect.
16451 Mon Oct 15 13:24:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16453 * numeric.c (flo_round): should be number but not rounding factor.
16456 Mon Oct 15 11:45:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16458 * marshal.c (r_bytes0): refined length check. [ruby-dev:32059]
16460 Mon Oct 15 10:24:19 2007 Tanaka Akira <akr@fsij.org>
16462 * process.c (pst_to_s): returns a string such as "pid 10220 exit 1"
16463 instead of "256". [ruby-dev:32053]
16464 (pst_inspect): change format
16465 "#<Process::Status: pid=10220,exited(1)>" to
16466 "#<Process::Status: pid 10220 exit 1>".
16468 Mon Oct 15 09:58:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16470 * marshal.c (r_bytes0): check if source has enough data.
16473 Mon Oct 15 01:15:09 2007 Tanaka Akira <akr@fsij.org>
16475 * ext/socket/socket.c (s_accept_nonblock): make accepted fd
16476 nonblocking. [ruby-talk:274079]
16478 Sun Oct 14 17:31:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16480 * encoding.c (rb_obj_encoding): rdoc update. a patch from David
16481 Flanagan <david AT davidflanagan.com>. [ruby-core:12664]
16483 * encoding.c (enc_dump, enc_load): marshaling feature. a patch from
16484 David Flanagan. [ruby-core:12665]
16486 * encoding.c (Init_Encoding): undefine allocator of Encoding.
16487 [ruby-core:12665], [ruby-core:12666]
16489 * test/ruby/test_encoding.rb: tests for Encoding from David Flanagan
16492 Sun Oct 14 11:09:09 2007 Tanaka Akira <akr@fsij.org>
16494 * lib/pp.rb (PP::PPMethods#pp_hash): don't sort keys because hash is
16496 (ENV.pretty_print): call pp_hash with sorted hash.
16498 Sun Oct 14 04:08:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16500 * configure.in (AC_SYS_LARGEFILE): keep results also in command
16501 options, to vail out of mismatch. [ruby-list:44114]
16503 * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS.
16505 Sun Oct 14 03:55:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16507 * win32/mkexports.rb: deal with __fastcall name decorations.
16510 Sun Oct 14 02:20:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16512 * encoding.c (rb_cEncoding): new Encoding class.
16514 * encoding.c (rb_to_encoding, rb_to_encoding_index): helper functions.
16516 * encoding.c (rb_obj_encoding): return Encoding object now.
16518 * gc.c (garbage_collect): mark Encoding objects.
16520 * inits.c (rb_call_inits): call Init_Encoding.
16522 * string.c (rb_str_force_encoding): accept Encoding object as well as
16525 * include/ruby/encoding.h (rb_to_encoding_index, rb_to_encoding):
16528 Sun Oct 14 01:03:30 2007 Tanaka Akira <akr@fsij.org>
16530 * lib/open-uri.rb (OpenURI.open_http): fix :ssl_ca_cert option.
16532 Sat Oct 13 21:23:21 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16534 * ext/win32ole/win32ole.c (foletype_s_ole_classes,
16535 foletype_s_typelibs): refactoring.
16537 * test/win32ole/test_win32ole_type.rb: add some test.
16539 * ext/win32ole/win32ole.c (Init_win32ole): change method name
16540 WIN32OLE_TYPELIB.ole_types from WIN32OLE_TYPELIB.ole_classes.
16542 * test/win32ole/test_win32ole_typelib.rb: ditto.
16544 * test/win32ole/test_folderitem2_invokeverb.rb: check create
16545 shortcut string more strictly (This test is invoked in Japanese
16546 Windows environment).
16548 Sat Oct 13 09:11:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16550 * parse.y (set_file_encoding): case-insensitive search, a patch from
16551 David Flanagan <david AT davidflanagan.com> [ruby-core:12629]
16553 Sat Oct 13 09:02:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16555 * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]
16557 Sat Oct 13 00:17:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16559 * lib/rexml/document.rb (REXML::Document::write): leaky
16560 modification trans -> transitive. [ruby-dev:32040]
16562 Sat Oct 13 00:00:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16564 * parse.y: encoding specifier should work if the line matches
16565 /coding[:=] ?/, a la Python PEP-263, so that VIM comments like
16566 "# vim: set fileencoding=<encoding name>" should be recognized.
16568 Fri Oct 12 15:04:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16570 * parse.y (magic_comments): add "encoding" as same as "coding".
16572 * parse.y (set_file_encoding): special file encoding handling.
16574 * parse.y (parser_yylex): ditto.
16576 Fri Oct 12 12:44:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16578 * array.c (rb_ary_combination): fixed memory corruption due to too
16579 small memory allocation
16581 * array.c (rb_ary_product): accessing out of memory bounds.
16584 Fri Oct 12 11:22:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16586 * re.c (match_values_at): make #select to be alias to #values_at
16587 to adapt RDoc description. [ruby-core:12588]
16589 Thu Oct 11 21:10:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16591 * include/ruby/node.h (NOEX_LOCAL): remove unused local visibility.
16593 * class.c (ins_methods_push): ditto.
16595 * class.c (rb_class_local_methods): method removed.
16597 Thu Oct 11 14:29:31 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16599 * */Makefile.sub (COMMON_MACROS): workaround for old SDK's bug.
16602 Thu Oct 11 06:35:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16604 * Makefile.in, */Makefile.sub (VPATH): add enc directory.
16606 * common.mk (ENCOBJS): encoding objects.
16608 * enc: directory for encodings.
16610 Thu Oct 11 00:04:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16612 * include/ruby/oniguruma.h (OnigEncodingTypeST): add OnigEncoding
16613 parameter to every function members.
16615 * include/ruby/oniguruma.h (OnigEncodingTypeST): add auxiliary
16616 data member to provide user defined data for an encoding.
16618 Wed Oct 10 23:32:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16620 * re.c (rb_reg_s_quote): no longer takes optional second argument
16621 that has never been documented.
16623 Wed Oct 10 15:39:04 2007 Tanaka Akira <akr@fsij.org>
16625 * encoding.c (rb_enc_init): don't alias iso-8859-1 to ascii.
16627 * ascii.c (OnigEncodingASCII): change the name US-ASCII to ASCII-8BIT.
16629 Wed Oct 10 14:31:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16631 * string.c (rb_enc_str_coderange): fixed check for non-ascii.
16633 Tue Oct 9 21:35:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16635 * array.c (rb_ary_permutation, rb_ary_combination): missing type
16638 * array.c (rb_ary_permutation): used buffer should be t1.
16640 * array.c (rb_ary_permutation): use frozen shared hidden array.
16643 Tue Oct 9 16:58:10 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16645 * array.c: remove to_a completely.
16647 * array.c (tmpbuf): keep DRY to clear klass of temporary objects.
16649 Tue Oct 9 16:33:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16651 * array.c (rb_ary_permutation, rb_ary_combination, rb_ary_product):
16652 hide internal buffer objects. [ruby-dev:31982]
16654 Tue Oct 9 16:00:32 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16656 * parse.y (parser_read_escape, parser_tokadd_escape): check code range.
16659 Tue Oct 9 15:40:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16661 * parse.y (STR_NEW3): check for if single byte sequence.
16663 Mon Oct 8 20:06:29 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
16665 * lib/net/imap.rb, lib/net/smtp.rb, lib/net/pop.rb: hostname should
16666 be verified against server's identity as presented in the server's
16667 certificate. [ruby-dev:31960]
16669 * ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto.
16671 Sun Oct 7 22:37:47 2007 Kouhei Sutou <kou@cozmixng.org>
16673 * test/rss/test_taxonomy.rb, test/rss/test_parser_1.0.rb,
16674 test/rss/test_image.rb, test/rss/rss-testcase.rb: ensured
16675 declaring XML namespaces.
16677 Sun Oct 7 22:00:01 2007 Tanaka Akira <akr@fsij.org>
16679 * include/ruby/node.h: make node flags as VALUE type.
16680 enum ruby_node_flags removed.
16682 * ruby.c: define RUBY_NODE_* as const for gdb.
16684 Sun Oct 7 18:57:12 2007 Tanaka Akira <akr@fsij.org>
16686 * include/ruby/ruby.h: enum ruby_value_flags removed. [ruby-dev:31959]
16688 * ruby.c: define RUBY_FL_* as const VALUE for gdb.
16690 Sun Oct 7 17:50:14 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
16692 * lib/net/http.rb: remove enable_post_connection_check flag.
16694 * lib/open-uri.rb: ditto.
16696 Sun Oct 7 15:48:40 2007 Koichi Sasada <ko1@atdot.net>
16698 * insns.def (opt_eq): fix to use rb_str_equal().
16700 Sat Oct 6 23:14:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16702 * string.c (rb_str_to_i): update RDoc since base can be any value
16703 between 2 and 36. [ruby-talk:272879]
16705 Sat Oct 6 16:24:02 2007 Koichi Sasada <ko1@atdot.net>
16707 * cont.c (cont_free): check Fiber or Continuation.
16709 * bootstraptest/test_knownbug.rb: remove a fixed test.
16711 Sat Oct 6 14:56:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16713 * encoding.c (rb_enc_register): returns new index or -1 if failed.
16715 * encoding.c (rb_enc_alias): check if original name is registered.
16717 * encoding.c (rb_enc_init): register in same order as kcode options in
16718 re.c. added new aliases.
16720 * string.c (rb_str_force_encoding): check if valid encoding name.
16722 Sat Oct 6 14:32:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16724 * insns.def (opt_eq): get rid of gcc bug.
16726 Sat Oct 6 02:34:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16728 * include/ruby/defines.h: no longer provide DEFAULT_KCODE.
16730 Fri Oct 5 21:24:59 2007 Tanaka Akira <akr@fsij.org>
16732 * re.c (rb_reg_s_union_m): Regexp.union accepts single argument which
16733 is an array of patterns. [ruby-list:44084]
16735 Fri Oct 5 16:42:27 2007 Tanaka Akira <akr@fsij.org>
16737 * bootstraptest/runner.rb (assert_not_match): new method.
16739 Fri Oct 5 16:15:52 2007 Akinori MUSHA <knu@iDaemons.org>
16741 * configure.in: Turn on --enable-pthread by default for FreeBSD
16742 5.2.1-RELEASE and later, and remove pthread support for older
16743 versions which has never worked perfectly.
16745 Fri Oct 5 16:11:50 2007 Akinori MUSHA <knu@iDaemons.org>
16747 * time.c (time_to_s): Fix documentation. Time format changed.
16749 Fri Oct 5 04:02:39 2007 Akinori MUSHA <knu@iDaemons.org>
16751 * lib/ipaddr.rb (in_addr, in6_addr, addr_mask): Make some minor
16754 Fri Oct 5 03:25:51 2007 Akinori MUSHA <knu@iDaemons.org>
16756 * lib/ipaddr.rb (<=>): Implement IPAddr#<=> and make IPAddr
16759 * lib/ipaddr.rb (succ): Implement IPAddr#succ. You can now create
16760 a range between two IPAddr's, which (Range) object is
16763 * lib/ipaddr.rb (to_range): A new method to create a Range object
16764 for the (network) address.
16766 Fri Oct 5 03:14:45 2007 Akinori MUSHA <knu@iDaemons.org>
16768 * lib/ipaddr.rb (coerce_other): Support type coercion and make &,
16769 |, == and include? accept a string or an integer instead of an
16770 IPAddr object as the argument.
16772 * lib/ipaddr.rb (initialize): Give better error messages.
16774 * lib/ipaddr.rb: Improve documentation.
16776 Thu Oct 4 20:45:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16778 * process.c (Init_process): win32 has our own WNOHANG definition, so
16779 remove unnecessary #ifdef guard.
16781 Thu Oct 4 20:17:19 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16783 * array.c (rb_ary_permutation, rb_ary_product): support non C99
16786 Thu Oct 4 17:33:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16788 * re.c (kcode_setter): Perl-ish global variable `$=' no longer
16791 * io.c (Init_IO): remove obsolete variables: $defout, $deferr.
16793 * re.c (Init_Regexp): remove obsolete const alias: MatchingData.
16795 * time.c (Init_Time): remove obsolete Time::times.
16797 * re.c (ignorecase_setter): change warning message.
16799 * re.c (ignorecase_getter): now gives warning.
16801 * string.c (rb_str_cmp_m): update RDoc document.
16803 * re.c (kcode_setter): restore erroneously removed setter.
16805 Thu Oct 4 16:28:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16807 * encoding.c (rb_obj_encoding): returns encoding of the given object.
16809 * parse.y (reg_compile_gen): copy encoding from source string if
16812 * re.c (Init_Regexp): new method Regexp#encoding.
16814 * string.c (str_encoding): moved to encoding.c
16816 Thu Oct 4 15:49:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16818 * array.c (rb_ary_permutation): remove C99 dependency.
16821 * array.c (rb_ary_product): ditto.
16823 Wed Oct 3 23:37:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16825 * ext/nkf/nkf.c, bin/ri, bin/irb: fixed typos in doc and comments.
16826 a patch from Eugene Ossintsev <eugoss AT gmail.com>.
16829 Wed Oct 3 17:56:22 2007 Koichi Sasada <ko1@atdot.net>
16831 * benchmark/driver.rb: enable specify label to executable.
16832 (-e "ruby1::/path/to/ruby1; ruby2::/path/to/ruby2; ...")
16834 Wed Oct 3 16:58:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16836 * parse.y (parser_str_new, parser_yylex, rb_intern3): set code-range
16839 * parse.y (parser_tokadd_string): check code-range.
16841 * parse.y (parser_parse_string, parser_here_document): ditto.
16843 * parse.y (parser_set_encode): check if valid encoding.
16845 Wed Oct 3 15:43:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16847 * variable.c (rb_cvar_set): check whether class variable is
16848 defined in superclasses. root classes have higher priority.
16849 removes lower class variable entry from IV_TBL (if it's defined
16850 in classes, not modules).
16852 * variable.c (rb_cvar_get): ditto.
16854 Wed Oct 3 10:06:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16856 * ruby.c (ruby_process_options): push frame with program name.
16859 Tue Oct 2 20:16:55 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16861 * win32/win32.c (init_env): refactoring. remove unused code.
16863 Tue Oct 2 12:30:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16865 * array.c (rb_ary_product): generalized product, now takes
16866 arbitrary number of arrays. a patch from David Flanagan
16867 <david AT davidflanagan.com>. [ruby-core:12346]
16869 Tue Oct 2 08:25:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16871 * array.c (rb_ary_permutation): implementation contributed from
16872 David Flanagan. [ruby-core:12344]
16874 * array.c (rb_ary_combination): RDoc update to clarify. a patch
16875 from David Flanagan. [ruby-core:12344]
16877 * array.c (rb_ary_permutation): small dirty hack by Matz to avoid
16880 Tue Oct 2 07:01:05 2007 Koichi Sasada <ko1@atdot.net>
16882 * proc.c (proc_dup): proc->block.proc should be self.
16884 * bootstraptest/test_knownbug.rb, test_method.rb:
16887 Mon Oct 1 16:17:44 2007 Tanaka Akira <akr@fsij.org>
16889 * bootstraptest/test_method.rb: use assert_normal_exit to test
16892 Mon Oct 1 15:57:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16894 * gc.c (id2ref): skip ICLASS.
16896 Mon Oct 1 15:29:35 2007 Tanaka Akira <akr@fsij.org>
16898 * bootstraptest/runner.rb (assert_normal_exit): use `` instead of
16901 Mon Oct 1 15:17:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16903 * gc.c (id2ref): T_VALUES is less than T_BLOCK. [ruby-dev:31911]
16905 Mon Oct 1 10:58:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16907 * ruby.c (require_libraries): use require method instead of calling
16908 rb_require directly. [ruby-dev:31322]
16910 Mon Oct 1 10:52:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16912 * eval.c (ruby_options), ruby.c (proc_options, process_options): not
16913 call exit(2) directly. [ruby-dev:31912]
16915 * eval.c (ruby_run_node): deal with direct exit code.
16917 Sun Sep 30 17:12:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16919 * string.c (rb_str_append): always set encoding, and coderange
16922 * include/ruby/encoding.h (ENC_CODERANGE_SET): fixed a bug not to
16925 Sun Sep 30 11:52:11 2007 Tanaka Akira <akr@fsij.org>
16927 * bootstraptest/runner.rb (pretty): don't show beginning empty line.
16929 Sun Sep 30 11:32:34 2007 Tanaka Akira <akr@fsij.org>
16931 * numeric.c: use #ifdef for test LONG_LONG_VALUE.
16933 Sun Sep 30 04:30:55 2007 Tanaka Akira <akr@fsij.org>
16935 * bignum.c: use SIZEOF_LONG instead of SIZEOF_ULONG which is not
16938 Sun Sep 30 04:03:43 2007 Tanaka Akira <akr@fsij.org>
16940 * re.c (Init_Regexp): test DEFAULT_KCODE in C code because
16941 KCODE_EUC, etc. are enum.
16943 Sun Sep 30 00:55:40 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16945 * variable.c (obj_ivar_each): get rid of warning.
16947 Sat Sep 29 17:45:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16949 * main.c (main): use platform-independent per-process initialization.
16952 * ruby.c (ruby_sysinit): new function for per-process initialization.
16954 * include/ruby/ruby.h (RUBY_GLOBAL_SETUP): toplevel setup declaration.
16956 * include/ruby/win32.h, win32/mkexports.rb: alias NtInitialize
16959 * win32/win32.c (rb_w32_sysinit): renamed from NtInitialize.
16961 Sat Sep 29 17:31:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16963 * array.c (rb_ary_combination): new method to give all combination
16964 of elements from an array. [ruby-list:42671]
16966 * array.c (rb_ary_product): a new method to get all combinations
16967 of elements from two arrays. can be extended to combinations of
16968 n-arrays, e.g. a.product(b,c,d). anyone volunteer?
16970 * array.c (rb_ary_permutation): empty function body to calculate
16971 permutations of array elements. need volunteer.
16973 Sat Sep 29 17:14:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16975 * marshal.c (r_leave): move proc invocation from r_entry() to
16976 avoid potential crash.
16978 Sat Sep 29 12:28:08 2007 Tanaka Akira <akr@fsij.org>
16980 * bootstraptest/runner.rb (assert_normal_exit): new method.
16982 * bootstraptest/test_knownbug.rb: add test for Marshal.load.
16984 Sat Sep 29 10:12:20 2007 Tanaka Akira <akr@fsij.org>
16986 * variable.c (rb_ivar_set): fix class instance variable.
16988 * object.c (rb_class_real): cl argument may be 0.
16990 Sat Sep 29 09:12:02 2007 Tanaka Akira <akr@fsij.org>
16992 * object.c (rb_class_real): use BUILTIN_TYPE instead of TYPE.
16993 access flags directly instead of FL_TEST.
16994 they are enough because cl argument is a class.
16996 Sat Sep 29 08:57:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16998 * include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
17000 Sat Sep 29 06:47:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17002 * ruby.c (struct cmdline_options): static variables packed.
17004 Sat Sep 29 05:29:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17006 * io.c (rb_io_fdopen): create IO object from fd.
17008 * parse.y (yycompile): use encoding of the source as default.
17010 * ruby.c (proc_options, load_file): ditto.
17012 Sat Sep 29 04:27:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17014 * encoding.c (rb_enc_alias): allow encodings multiple aliases.
17016 * encoding.c (rb_enc_find_index): search the encoding which has the
17017 given name and return its index if found, or -1.
17019 * st.c (type_strcasehash): case-insensitive string hash type.
17021 * string.c (rb_str_force_encoding): force encoding of self. this name
17022 comes from [ruby-dev:31894] by Martin Duerst. [ruby-dev:31744]
17024 * include/ruby/encoding.h (rb_enc_find_index, rb_enc_associate_index):
17027 * include/ruby/encoding.h (rb_enc_isctype): direct interface to ctype.
17029 * include/ruby/st.h (st_init_strcasetable): prototyped.
17031 Sat Sep 29 03:53:26 2007 Koichi Sasada <ko1@atdot.net>
17033 * cont.c: Thread local storage should be fiber local.
17035 * bootstraptest/test_knownbug.rb, test/ruby/test_fiber.rb:
17038 Fri Sep 28 23:15:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17040 * insnhelper.ci (vm_call_method): allow send! to call protected
17041 methods as well. [ruby-core:12280]
17043 Fri Sep 28 22:33:47 2007 Koichi Sasada <ko1@atdot.net>
17045 * benchmark/bm_so_fasta.rb: added.
17047 * benchmark/bm_so_k_nucleotide.rb: added.
17049 * benchmark/bm_so_reverse_complement.rb: added.
17051 * benchmark/make_fasta_output.rb: added.
17053 * benchmark/prepare_so_k_nucleotide.rb: added.
17055 * benchmark/prepare_so_reverse_complement.rb: added.
17057 Fri Sep 28 19:14:51 2007 Koichi Sasada <ko1@atdot.net>
17059 * benchmark/driver.rb: fix notations.
17061 * benchmark/bm_loop_whileloop.rb: ditto.
17063 * benchmark/bm_loop_whileloop2.rb: ditto.
17065 * benchmark/bm_app_uri.rb: added.
17067 * benchmark/bm_vm1_ivar_set.rb: ditto.
17069 * benchmark/bm_so_binary_trees.rb: added from Computer Language
17070 Benchmarks Game (http://shootout.alioth.debian.org/).
17072 * benchmark/bm_so_fannkuch.rb: ditto.
17074 * benchmark/bm_so_mandelbrot.rb: ditto.
17076 * benchmark/bm_so_meteor_contest.rb: ditto.
17078 * benchmark/bm_so_nbody.rb: ditto.
17080 * benchmark/bm_so_nsieve.rb: ditto.
17082 * benchmark/bm_so_nsieve_bits.rb: ditto.
17084 * benchmark/bm_so_partial_sums.rb: ditto.
17086 * benchmark/bm_so_pidigits.rb: ditto.
17088 * benchmark/bm_so_spectralnorm.rb: ditto.
17090 Fri Sep 28 16:22:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17092 * vm_core.h (rb_vm_struct): fix typo: bufferd -> buffered.
17094 Fri Sep 28 15:47:48 2007 Koichi Sasada <ko1@atdot.net>
17096 * benchmark/driver.rb: fix to output benchmark results
17097 to file "bmlog-#{Time.now.strftime('%Y%m%d-%H%M%S')}.#{$$}".
17099 * benchmark/bm_io_file_create.rb: remove useless codes.
17101 * benchmark/bm_vm2_eval.rb: added.
17103 Fri Sep 28 15:05:24 2007 Tanaka Akira <akr@fsij.org>
17105 * include/ruby/intern.h: export rb_ivar_foreach.
17107 * include/ruby/ruby.h: modify struct RObject and RClass for optimizing
17108 T_OBJECT space. [ruby-dev:31853]
17109 (ROBJECT_LEN, ROBJECT_PTR)
17110 (RCLASS_IV_TBL, RCLASS_M_TBL, RCLASS_SUPER, RCLASS_IV_INDEX_TBL)
17111 (RMODULE_IV_TBL, RMODULE_M_TBL, RMODULE_SUPER): abstract accessor
17114 * variable.c: support the modified RObject and RClass.
17122 * marshal.c: ditto.
17124 * eval_method.ci: use the abstract accessor.
17126 * insns.def: ditto.
17138 * insnhelper.ci: ditto.
17140 * ext/digest/digest.c: ditto.
17142 Fri Sep 28 13:20:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17144 * io.c (rb_io_getline_fast, rb_io_getline_1): set encoding to the
17145 result string, as well as getc.
17147 Fri Sep 28 12:51:42 2007 Koichi Sasada <ko1@atdot.net>
17149 * benchmark/bm_app_erb.rb: added.
17151 * benchmark/bm_io_file_(create|read|write).rb: added.
17153 Fri Sep 28 12:49:05 2007 Koichi Sasada <ko1@atdot.net>
17155 * benchmark/driver.rb: fix file selection algorithm.
17157 Fri Sep 28 02:05:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17159 * string.c (rb_str_comparable): need not to check asciicompat here.
17161 * encoding.c (rb_enc_check): ditto.
17163 * string.c (rb_enc_str_coderange): tuned a bit; no broken check.
17165 * encoding.c (rb_enc_check): new encoding comparison criteria.
17167 Thu Sep 27 17:36:28 2007 NAKAMURA Usaku <usa@ruby-lang.org>
17169 * win32/REAMDE.win32: follow recent changes.
17171 Thu Sep 27 16:01:53 2007 Koichi Sasada <ko1@atdot.net>
17173 * benchmark/driver.rb: fix to output some helpful messages.
17175 Thu Sep 27 15:44:51 2007 Koichi Sasada <ko1@atdot.net>
17177 * benchmark/driver.rb: added.
17179 * common.mk: fix to use above driver.
17181 * benchmark/prepare_so_count_words.rb: added.
17183 * benchmark/bm_so_count_words.rb: fix benchmark process.
17185 Thu Sep 27 15:42:34 2007 Koichi Sasada <ko1@atdot.net>
17187 * ext/fiber/fiber.c: modify prototype declaration.
17190 Thu Sep 27 09:42:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17192 * parse.y (strings, xstring, regexp, dsym): empty strings have
17195 Thu Sep 27 07:39:13 2007 Tanaka Akira <akr@fsij.org>
17197 * bootstraptest/runner.rb (assert_finish): new method.
17199 * bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using
17202 Thu Sep 27 04:46:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17204 * encoding.c (rb_enc_associate_index): deal with ASCII compatible
17207 * encoding.c (rb_enc_check): allow ASCII compatible strings.
17209 * parse.y (rb_intern_str): use ASCII encoding for ASCII string.
17211 * string.c (rb_enc_str_coderange): check for code-range.
17213 * string.c (rb_str_modify): clear code-range flags.
17215 * string.c (rb_str_hash, rb_str_eql): ASCII compatible strings are
17218 * include/ruby/encoding.h: added code-range flags.
17220 Thu Sep 27 04:40:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17222 * gc.c (rb_mark_set): new function to mark keys.
17224 * marshal.c (struct dump_arg, struct load_arg): added wrappers to mark
17225 data and compat_tbl entries. [ruby-dev:31870]
17227 Thu Sep 27 03:17:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17229 * process.c (rb_waitpid): no needs to poll. [ruby-dev:31871]
17231 Wed Sep 26 20:11:46 2007 Koichi Sasada <ko1@atdot.net>
17233 * bootstraptest/test_knownbug.rb: remove a fixed test.
17235 Wed Sep 26 20:00:12 2007 Koichi Sasada <ko1@atdot.net>
17237 * bootstraptest/test_knownbug.rb: move fixed tests.
17239 * bootstraptest/test_method.rb: ditto.
17241 * test/ruby/test_io.rb: ditto.
17243 Wed Sep 26 19:36:26 2007 Koichi Sasada <ko1@atdot.net>
17245 * eval.c (eval): fix to check stack overflow.
17248 * eval_intern.h, vm.h: move CHECK_STACK_OVERFLOW() macro.
17250 Wed Sep 26 19:27:11 2007 Koichi Sasada <ko1@atdot.net>
17252 * insnhelper.ci (vm_throw): fix to move increment point.
17255 Wed Sep 26 19:23:56 2007 Koichi Sasada <ko1@atdot.net>
17257 * cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146]
17259 * ext/fiber/fiber.c: enable Fiber#transfer.
17261 Wed Sep 26 18:38:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17263 * encoding.c (rb_enc_check): check for ASCII-compatibilities.
17265 * parse.y (parser_tokadd_string, parser_parse_string,
17266 parser_here_document, parser_yylex): set encoding to US-ASCII.
17268 * parse.y (rb_enc_symname_p): check if valid with encoding.
17270 * parse.y (rb_intern3): let symbols have encoding.
17272 * string.c (rb_str_hash): add encoding index.
17274 * string.c (rb_str_comparable, rb_str_equal, rb_str_eql): check if
17275 compatible encoding.
17277 * string.c (sym_inspect): made encoding aware.
17279 * insns.def (opt_eq): compare with encoding.
17281 * include/ruby/encoding.h (rb_enc_asciicompat): check if ASCII
17284 * include/ruby/encoding.h (rb_enc_get_index): added prototype.
17286 * include/ruby/intern.h (rb_str_comparable, rb_str_equal): ditto.
17288 Wed Sep 26 15:01:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17290 * eval_method.ci (rb_get_alloc_func): cast to suppress a warning.
17292 * eval_method.ci (remove_method): local variable to be initialized.
17294 Wed Sep 26 08:36:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17296 * Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as other
17297 objects. [ruby-Bugs-14228]
17299 Wed Sep 26 05:12:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17301 * parse.y (parser_yyerror): limit error message length.
17304 Tue Sep 25 15:11:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17306 * io.c (io_ungetc): reallocate internal buffer if pushing data
17307 excess capacity. [ruby-dev:31650]
17309 Tue Sep 25 13:43:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17311 * eval_method.ci (remove_method): should not remove undef place
17312 holder. [ruby-dev:31816], [ruby-dev:31817]
17314 Tue Sep 25 09:51:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17316 * eval.c (rb_longjmp): source file information may be NULL.
17319 * eval.c (ruby_finalize_0): clear trace_func before finalization.
17321 Mon Sep 24 22:36:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17323 * array.c (rb_ary_equal): should handle recursive array.
17325 * hash.c (hash_equal): should handle recursive hash.
17327 Mon Sep 24 22:14:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17329 * lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]
17331 * hash.c (hash_i): avoid too frequent hash conflict where key and
17332 value are same. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
17335 Mon Sep 24 17:56:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17337 * ext/strscan/strscan.c (strscan_initialize, strscan_getch): use the
17338 encoding of the target string instead of setting to StringScanner
17339 instance. [ruby-dev:31831]
17341 Mon Sep 24 16:52:11 2007 Urabe Shyouhei <shyouhei@ruby-lang.org>
17343 * lib/net/http.rb: fix typo.
17345 Mon Sep 24 06:49:15 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
17347 * lib/net/http.rb: an SSL verification (the server hostname should
17348 be matched with its certificate's commonName) is added.
17349 this verification can be skipped by
17350 "Net::HTTP#enable_post_connection_check=(false)".
17351 suggested by Chris Clark <cclark at isecpartners.com>
17353 * lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to
17354 perform SSL post connection check.
17356 * ext/openssl/lib/openssl/ssl.c
17357 (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message.
17359 Sun Sep 23 09:05:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17361 * gc.c (os_obj_of, os_each_obj): hide objects to be finalized.
17364 Sun Sep 23 08:58:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17366 * eval_method.ci (rb_attr): should not use alloca for unknown size
17367 input. [ruby-dev:31818]
17369 * parse.y (rb_intern_str): prevent str from optimization.
17371 Sun Sep 23 06:16:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17373 * eval_method.ci (remove_method): check for undefined method.
17376 Sun Sep 23 05:42:35 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
17378 * lib/rdoc/options.rb (Options::check_diagram): dot -V output
17379 changed. [ ruby-Bugs-11978 ], Thanks Florian Frank.
17381 Sat Sep 22 06:02:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17383 * lib/optparse.rb (OptionParser::List::summarize): use each_line if
17384 defined rather than each. [ruby-Patches-14096]
17386 Sat Sep 22 05:19:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17388 * ext/stringio/stringio.c (strio_init): separate from strio_initialize
17389 to share with strio_reopen properly. [ruby-Bugs-13919]
17391 Fri Sep 21 14:51:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17393 * gc.c (gc_mark_rest): copy just used part.
17395 * gc.c (gc_mark_children): mark u1 and u2 of NODE_ARGSCAT.
17397 * gc.c (os_obj_of): hide T_VALUES too. [ruby-dev:31804]
17399 * gc.c (run_final): freeze temporary argument array.
17401 Fri Sep 21 04:58:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17403 * misc/ruby-style.el (ruby-style-label-indent): fix for function top
17406 Fri Sep 21 02:11:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17408 * re.c (rb_reg_match_m): evaluate a block if match. it would make
17409 condition statement much shorter, if no else clause is needed.
17411 * string.c (rb_str_match_m): ditto.
17413 Fri Sep 21 02:02:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17415 * hash.c (hash_equal): should call rb_eql when argument eql is set.
17417 Thu Sep 20 17:28:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17419 * io.c (popen_exec), process.c (rb_spawn): stop other threads before
17420 exec. [ruby-core:08262]
17422 Tue Sep 18 22:08:42 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
17424 * lib/matrix.rb: fix a coerce bug of Vector. [ruby-core: 12190]
17426 Mon Sep 17 21:06:03 2007 Minero Aoki <aamine@loveruby.net>
17428 * lib/net/http.rb (HTTP::GenericRequest#initialize): check path is
17429 not nil. [ruby-dev:31149]
17431 Mon Sep 17 21:00:51 2007 Minero Aoki <aamine@loveruby.net>
17433 * parse.y (ripper): rename event: arglist_* -> args_*.
17435 * parse.y (ripper): rename event: restparam -> rest_param.
17437 * parse.y (ripper): rename event: constpath_* -> const_path_*.
17439 * parse.y (ripper): rename event: topconst_* -> top_const_*.
17441 * parse.y (ripper): rename event: iter_block -> method_add_block.
17443 * parse.y (ripper): support block local parameter declaration.
17445 * parse.y (ripper): introduce new macro params_new.
17447 * ext/ripper/lib/ripper/sexp.rb: should not dispose event
17448 arguments whose name ends with "_new" but arity != 0.
17450 Sat Sep 15 23:36:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17452 * parse.y (struct parser_params): common members in the parser and
17453 ripper must be placed at each same location.
17455 Sat Sep 15 18:25:15 2007 Kouhei Sutou <kou@cozmixng.org>
17457 * string.c (rb_str_rstrip_bang): fixed too much rstrip. [ruby-dev:31786]
17459 Sat Sep 15 17:32:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17461 * parse.y (parser_initialize): set default encoding. [ruby-dev:31787]
17463 * ruby.c (load_file): make new parse instance after processing shebang
17466 Sat Sep 15 17:04:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17468 * encoding.c (rb_enc_associate_index, rb_enc_get_index): check if
17469 object is encoding capable. [ruby-dev:31780]
17471 * string.c (rb_str_subpat_set): check for if the argument is a String.
17473 Sat Sep 15 13:31:21 2007 Kouhei Sutou <kou@cozmixng.org>
17475 * lib/rss.rb, lib/rss/, test/rss/:
17477 - supported Slash module.
17479 Fri Sep 14 22:20:01 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
17481 * ext/win32ole/win32ole.c (fev_unadvise): no needs to reset
17484 Fri Sep 14 17:28:32 2007 Koichi Sasada <ko1@atdot.net>
17486 * test/ruby/test_io.rb: tests which cause SEGV should not be
17489 * bootstraptest/test_knownbug.rb: add above test to known bug.
17491 Fri Sep 14 16:24:04 2007 Koichi Sasada <ko1@atdot.net>
17493 * insnhelper.ci (vm_expandarray): assignment should be placed
17494 after creating new array.
17496 Fri Sep 14 16:17:30 2007 Koichi Sasada <ko1@atdot.net>
17498 * bootstraptest/runner.rb: add a stress test (-s).
17500 Fri Sep 14 16:14:28 2007 Koichi Sasada <ko1@atdot.net>
17502 * vm.h, eval_intern.h: move some macros to eval_intern.h.
17504 * eval_jump.ci (rb_f_throw): fix to use NEW_THROW_OBJECT().
17506 * eval.c (rb_f_loop): remove additional macro.
17508 Fri Sep 14 16:12:10 2007 Koichi Sasada <ko1@atdot.net>
17510 * insnhelper.ci (vm_expandarray): should be volatile value for GC.
17512 Thu Sep 13 15:42:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17514 * compile.c (iseq_compile_each): inline cache entries are overwritten
17515 in iseq_build_body().
17517 Thu Sep 13 14:00:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17519 * parse.y (brace_block): should use compstmt. patch submitted by
17520 Kirill A. Shutemov <k.shutemov AT gmail.com> [ruby-core:12154].
17522 Thu Sep 13 13:47:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17524 * parse.y (rb_id2str): fixed typo.
17526 Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17528 * ruby.c (proc_options): -W should be allowed in RUBYOPT
17529 environment variable. [ruby-core:12118]
17531 Wed Sep 12 15:19:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17533 * io.c (rb_io_s_sysopen): should not use alloca for unknown size
17534 input. [ruby-dev:31775]
17536 * parse.y (rb_id2str): ditto.
17538 * marshal.c (w_float): use snprintf instead of sprintf.
17540 Tue Sep 11 17:28:00 2007 Akinori MUSHA <knu@iDaemons.org>
17542 * lib/tempfile.rb (Tempfile::make_tmpname): Allow to specify a
17543 suffix for a temporary file name.
17545 * lib/tempfile.rb (Tempfile::make_tmpname): Make temporary file
17546 names less predictable by including a random string.
17549 Tue Sep 11 17:25:59 2007 Akinori MUSHA <knu@iDaemons.org>
17551 * lib/shellwords.rb: Add shellescape() and shelljoin().
17553 * lib/shellwords.rb: Rename shellwords() to shellsplit() and make
17554 the former an alias to the latter.
17556 * lib/shellwords.rb: Add escape(), split(), join() as class
17557 methods, which are aliases to their respective long names
17558 prefixed with `shell'.
17560 * lib/shellwords.rb: Add String#shellescape(), String#shellsplit()
17561 and Array#shelljoin() for convenience.
17563 Mon Sep 10 15:48:31 2007 Tanaka Akira <akr@fsij.org>
17565 * range.c: represent initialized state using EXCL instead of FL_USER3.
17567 * range.c (range_dumper): make uninitialized range dumpable.
17568 (range_loader): make uninitialized range loadable.
17570 Mon Sep 10 13:44:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17572 * array.c (rb_ary_cycle): avoid infinite loop for empty array.
17573 based on a patch from David Flanagan. [ruby-core:12085]
17575 Mon Sep 10 01:21:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17577 * marshal.c (r_object0): struct allocation first to check if a
17578 class is a struct. compatibility check should come next.
17580 Mon Sep 10 01:05:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17582 * range.c (range_step): fixed integer overflow. [ruby-dev:31763]
17584 Sun Sep 9 08:57:27 2007 Tadayoshi Funaba <tadf@dotrb.org>
17586 * lib/date/format.rb (_strptime): now also attaches an element
17587 which denotes leftover substring if exists.
17589 Sun Sep 9 01:59:08 2007 Tanaka Akira <akr@fsij.org>
17591 * marshal.c (r_object0): check T_STRUCT type for structs.
17593 Sun Sep 9 01:17:05 2007 Tanaka Akira <akr@fsij.org>
17595 * marshal.c (r_object0): don't call user-defined initialize for
17598 * include/ruby/intern.h (rb_struct_initialize): declared.
17600 * struct.c (rb_struct_initialize): export.
17602 Sat Sep 8 23:55:56 2007 Tanaka Akira <akr@fsij.org>
17604 * eval_method.ci (rb_get_alloc_func): new function to get allocation
17607 * include/ruby/intern.h (rb_alloc_func_t): declared.
17608 (rb_define_alloc_func): declared.
17609 (rb_marshal_define_compat): declared.
17611 * range.c: use T_STRUCT for Range.
17613 * inits.c: move Init_marshal() prior to Init_Range() because
17614 Init_Range calls rb_marshal_define_compat which needs
17615 marshal's compat_allocator_tbl initialized.
17617 * marshal.c: support marshal format compatibility layer designed for
17618 marshaling T_STRUCT Range using T_OBJECT format.
17619 (rb_marshal_define_compat): defined.
17623 Sat Sep 8 10:05:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17625 * struct.c (rb_struct_s_members): check if __members__ is an
17626 array to prevent segmentation fault. [ruby-dev:31759]
17628 Sat Sep 8 09:33:09 2007 Tadayoshi Funaba <tadf@dotrb.org>
17630 * lib/date/format.rb (str[fp]time): now check specifications more
17633 Sat Sep 8 02:56:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17635 * test/ruby/test_fiber.rb (TestFiber::test_throw): uncaught throw
17636 now raise ArgumentError exception.
17638 Sat Sep 8 02:45:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17640 * struct.c (rb_struct_s_members): should raise TypeError instead
17641 of call rb_bug(). [ruby-dev:31709]
17643 * marshal.c (r_object0): no nil check require any more.
17645 Sat Sep 8 01:46:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
17647 * regenc.c, regenc.h (onigenc_single_byte_mbc_enc_len): should take
17648 two arguments. [ruby-dev:31754]
17650 Fri Sep 7 00:58:16 2007 Koichi Sasada <ko1@atdot.net>
17652 * common.mk: fix typo.
17654 Fri Sep 7 00:28:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17656 * io.c (rb_io_getc): forgot to commit rb_enc_mbclen() fix.
17658 * ext/stringio/stringio.c (strio_getc): rb_enc_mbclen() fix.
17660 * ext/stringio/stringio.c (strio_ungetc): ditto.
17662 Thu Sep 6 22:57:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17664 * lib/fileutils.rb (FileUtils::Entry_::copy): prevent self copy of
17667 * lib/fileutils.rb (FileUtils::fu_each_src_dest0): use try_convert.
17669 * lib/fileutils.rb (FileUtils::fu_update_option): ditto.
17671 Thu Sep 6 21:36:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17673 * include/ruby/oniguruma.h (OnigEncodingTypeST): add end parameter
17676 * euc_jp.c (mbc_enc_len), sjis.c (mbc_enc_len),
17677 utf8.c (utf8_mbc_enc_len): ditto.
17679 * encoding.c (rb_enc_mbclen): add end parameter.
17681 Thu Sep 6 21:31:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17683 * array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui
17684 <yugui@yugui.sakura.ne.jp>. [ruby-dev:31748]
17686 Thu Sep 6 12:42:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17688 * string.c (rb_str_succ, rb_str_chop_bang, rb_str_chop): m17n support.
17691 Wed Sep 5 22:02:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17693 * array.c (rb_ary_subseq): need integer overflow check.
17696 * array.c (rb_ary_splice): ditto. [ruby-dev:31737]
17698 * array.c (rb_ary_fill): ditto. [ruby-dev:31738]
17700 * string.c (rb_str_splice): integer overflow for length.
17703 Tue Sep 4 20:43:44 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
17705 * ext/win32ole/win32ole.c: add WIN32OLE_EVENT#unadvise.
17707 * test/win32ole/test_win32ole_event.rb: ditto.
17709 Mon Sep 3 15:37:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17711 * common.mk (vm.o): depends on st.h too.
17713 Sun Sep 2 23:38:29 2007 Tanaka Akira <akr@fsij.org>
17715 * include/ruby/st.h (struct st_table): make num_entries bitfield
17716 instead of num_bins for speed. num_entries has less access.
17718 Sun Sep 2 00:37:57 2007 Tadayoshi Funaba <tadf@dotrb.org>
17720 * lib/date/format.rb (_parse): improved parsing of ordinal dates.
17722 * lib/date/format.rb (_parse): use named character classes in some
17723 regular expressions.
17725 Sat Sep 1 23:44:26 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17727 * eval_jump.ci (rb_f_throw): wrap tag and TAG_THROW in a NODE_MEMO
17728 node to make throw instruction to work well.
17730 Sat Sep 1 20:56:07 2007 Tanaka Akira <akr@fsij.org>
17732 * include/ruby/ruby.h (struct RBignum): embed digits in RBignum for
17735 * bignum.c: RBignum embedded digits implemented.
17737 * include/ruby/intern.h: declare rb_big_resize.
17739 * gc.c: don't free embedded digits.
17741 * numeric.c: replace direct bignum field accessor by abstract field
17742 accessor such as RBIGNUM(val)->sign to RBIGNUM_SIGN(val).
17744 * sprintf.c: ditto.
17748 * marshal.c: ditto.
17752 * .gdbinit: support embedded small bignums.
17756 Sat Sep 1 19:59:43 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
17758 * ext/win32ole/win32ole.c (ole_event_free): IConnectionPoint should be
17761 * ext/win32ole/win32ole.c (EVENTSINK_Destructor): ITypeInfo should be
17764 * ext/win32ole/win32ole.c (fev_initialize): refactoring.
17766 Sat Sep 1 16:26:09 2007 NAKAMURA Usaku <usa@ruby-lang.org>
17768 * test/socket/test_tcp.rb (test_recvfrom): same as mswin32 on mswin64.
17770 Sat Sep 1 14:24:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17772 * st.c (st_numcmp, st_numhash): use st_data_t instead of long, because
17773 the former may be larger than the latter.
17775 * include/ruby/st.h (CHAR_BIT): get rid of magic number.
17777 * include/ruby/st.h (rb_index_t): use st_data_t for the platforms it
17778 is larger than int.
17780 Sat Sep 1 10:43:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17782 * eval_jump.ci (rb_f_catch): generate new tag object if no argument is
17783 given. backported from MatzRuby. [ruby-dev:31609]
17785 * eval_jump.ci (rb_catch): call #catch without arguments if tag
17788 * eval_jump.ci (rb_f_throw): allow throwing non-symbol object.
17790 * eval_jump.ci (rb_catch_obj): new function to wait throw with arbitrary
17793 * eval_jump.ci (rb_throw_obj): new function to throw arbitrary object.
17795 * variable.c (check_autoload_table): prevent multiple calls from
17798 Fri Aug 31 07:12:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
17800 * numeric.c (SQRT_LONG_MAX): use SIZEOF_LONG instead of SIZEOF_VALUE
17801 because SIZEOF_VALUE > SIZEOF_LONG on some platforms.
17803 Fri Aug 31 04:18:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17805 * parse.y (f_norm_arg, f_arg_item): not croak already erred names.
17808 * parse.y (assignable_gen): ignore already erred names.
17810 * parse.y (shadowing_lvar_gen): always make new block local variable
17811 when shadowing outer local variable. [ruby-dev:31507]
17813 Thu Aug 30 19:40:33 2007 NAKAMURA Usaku <usa@ruby-lang.org>
17815 * regenc.h: check RUBY_EXTERN before including config.h and defines.h
17817 * common.mk: update header dependency.
17819 Thu Aug 30 14:06:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17821 * proc.c (rb_obj_define_method): reverted. [ruby-talk:266637]
17823 Thu Aug 30 13:49:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17825 * lib/mkmf.rb: initialize $top_srcdir always. [ruby-dev:31682]
17827 * lib/mkmf.rb (try_const, have_const): check for a const is defined.
17830 Thu Aug 30 08:00:12 2007 Tanaka Akira <akr@fsij.org>
17832 * include/ruby/intern.h: declare rb_hash_tbl.
17834 * include/ruby/ruby.h (RHash): delay st_table allocation.
17835 rename tbl field to ntbl to detect direct reference to the st_table
17836 as a compile error.
17837 (RHASH_TBL): abstract accessor defined.
17838 (RHASH_ITER_LEV): ditto.
17839 (RHASH_IFNONE): ditto.
17840 (RHASH_SIZE): ditto.
17841 (RHASH_EMPTY_P): ditto.
17842 (hash_alloc0, hash_alloc): unified because hash_alloc doesn't
17843 allocate st_table now.
17845 * hash.c: delay st_table allocation.
17847 * gc.c: replace tbl by ntbl.
17849 * array.c: replace direct field accessor by abstract field accessor
17850 such as RHASH(hash)->tbl to RHASH_TBL(hash).
17852 * marshal.c: ditto.
17854 * insns.def: ditto.
17856 * ext/iconv/iconv.c: ditto.
17858 * ext/json/ext/generator/generator.c: ditto.
17860 * ext/json/ext/parser/parser.c: ditto.
17862 * ext/json/ext/parser/parser.rl: ditto.
17864 * ext/syck/rubyext.c: ditto.
17866 * ext/tk/tkutil/tkutil.c: ditto.
17870 Wed Aug 29 18:36:06 2007 Tanaka Akira <akr@fsij.org>
17872 * lib/open-uri.rb: add :ftp_active_mode option. [ruby-dev:31677]
17874 Wed Aug 29 14:55:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17876 * string.c (str_gsub): should not use mbclen2() which has broken API.
17878 * re.c: remove rb_reg_mbclen2().
17880 Wed Aug 29 12:48:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17882 * parse.y (aref_args): args may not be a list. [ruby-dev:31592]
17884 Wed Aug 29 11:30:10 2007 Tanaka Akira <akr@fsij.org>
17886 * include/ruby/st.h (struct st_table): add entries_packed 1-bit
17887 bitfield. decrease num_bins 1-bit.
17889 * st.c: pack numhash which have 5 or less entries in bins.
17890 (st_init_table_with_size): setup entries_packed flag.
17891 (st_clear): support packed mode.
17892 (st_lookup): ditto.
17893 (st_insert): ditto.
17894 (st_add_direct): ditto.
17896 (st_delete): ditto.
17897 (st_foreach): ditto.
17898 (st_reverse_foreach): ditto.
17899 (unpack_entries): new function for converting to unpacked mode.
17903 Wed Aug 29 10:46:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17905 * include/ruby/defines.h (flush_register_windows): call "ta 0x03"
17906 even on Linux/Sparc. [ruby-dev:31674]
17908 Tue Aug 28 19:16:00 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
17910 * ext/win32ole/win32ole.c (ole_type_progid): progid getted by
17911 ProgIDFromCLSID should be freed by CoTaskMemFree. Thanks, arton.
17913 * test/win32ole/test_win32ole.rb (test_raise_message): set negative
17914 compareMode value to raise WIN32OLERuntimeError.
17916 * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
17917 support some environment which returns IShellDispatch5 instead
17920 Tue Aug 28 15:42:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17922 * string.c (rb_str_subseq): retrieve substring based on byte offset.
17924 * string.c (rb_str_rindex_m): was confusing character offset and
17927 Tue Aug 28 14:23:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17929 * string.c (rb_str_splice_0): should check to modify. [ruby-dev:31665]
17931 Tue Aug 28 14:21:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17933 * parse.y (parser_prepare): set parser encode too when BOM exists.
17935 Tue Aug 28 00:51:22 2007 Koichi Sasada <ko1@atdot.net>
17937 * thread.c: fix Mutex to be interruptable lock.
17939 * thread_win32.ci, thread_win32.h, thread_pthread.ci, thread_pthread.h:
17940 prepare native_cond_*() which are based on pthread_cond_*() spec.
17942 * prelude.rb: fix Mutex#synchronize method.
17944 * vm_core.h, include/ruby/intern.h: change unblock function interface
17945 (to pass some user data).
17947 * file.c, process.c: ditto.
17949 * benchmark/bm_vm2_mutex.rb: add a benchmark for mutex.
17951 * benchmark/bm_vm3_thread_mutex.rb: add a benchmark for mutex
17954 * benchmark/run.rb: fix to remove ENV['RUBYLIB'] for matzruby.
17956 * test/ruby/test_thread.rb: add a test.
17958 * common.mk: fix benchmark options.
17960 Mon Aug 27 23:14:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17962 * string.c (rb_str_rstrip_bang): wrong strip point. [ruby-dev:31652]
17964 * string.c (rb_str_each_line): should swallow sequence of newlines
17965 if rs (optional argument) is an empty string. [ruby-dev:31652]
17967 Mon Aug 27 22:39:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17969 * encoding.c (rb_enc_codelen): raises invalid sequence exception
17970 if ONIGENC_CODE_TO_MBCLEN() returns zero. [ruby-dev:31661]
17972 * encoding.c (rb_enc_mbclen): check invalid sequence.
17974 Mon Aug 27 20:27:59 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
17976 * ext/win32ole/win32ole.c (ole_type_progid): fix the bug.
17979 * test/win32ole/test_win32ole_type.rb (test_initialize):
17980 remove duplicate assertions.
17982 Mon Aug 27 19:10:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17984 * ext/etc/etc.c (etc_getlogin): update documentation to note
17985 security issue. [ruby-Bugs-11821]
17987 Mon Aug 27 15:56:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17989 * string.c (sym_encoding): return the encoding of a Symbol.
17991 Mon Aug 27 15:33:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17993 * util.c (IEEE_BIG_ENDIAN): use configured value. [ruby-dev:31623]
17995 * util.c (Llong): set to LONG_LONG if available.
17997 Mon Aug 27 13:11:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17999 * string.c (tr_trans): wrong condition for mbmaxlen==1 strings.
18002 Mon Aug 27 00:41:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18004 * io.c (rb_io_each_byte): caused infinite loop. [ruby-dev:31652]
18006 * io.c (rb_io_getc): should return nil at EOF, not EOFError.
18008 * lib/delegate.rb (SimpleDelegator::__setobj__): use raise
18009 argument to specify backtrace.
18011 * test/ruby/test_fnmatch.rb (TestFnmatch::bracket_test):
18012 String#include? no longer works for Fixnum. use #chr.
18015 Sun Aug 26 12:27:14 2007 Koichi Sasada <ko1@atdot.net>
18017 * cont.c: fix to remove Fiber.new until fiber.so is not loaded.
18019 * test/ruby/test_continuation.rb: fix to use resume.
18021 Sun Aug 26 06:51:46 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
18023 * ext/win32ole/win32ole.c (ole_wc2mb, reg_enum_key): allocate
18024 buffer should be NULL terminated.
18026 Sun Aug 26 06:04:13 2007 Koichi Sasada <ko1@atdot.net>
18028 * insnhelper.ci (vm_setup_method): reorder code for branch prediction.
18030 Sun Aug 26 05:54:49 2007 Koichi Sasada <ko1@atdot.net>
18032 * insnhelper.ci (vm_call_method): fix to relaxant safe level check
18033 ($SAFE > 2). [ruby-core:11998]
18035 * bootstraptest/test_method.rb: add tests for above.
18037 Sun Aug 26 05:52:08 2007 Koichi Sasada <ko1@atdot.net>
18039 * test/ruby/test_fiber.rb: fix to require 'continuation'.
18041 Sat Aug 25 23:52:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18043 * enumerator.c (enumerator_next): message changed.
18045 Sat Aug 25 23:22:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18047 * include/ruby/encoding.h: remove unused rb_enc_ismbchar().
18049 Sat Aug 25 22:50:14 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
18051 * ext/win32ole/win32ole.c (ole_event_free, EVENTSINK_Destructor,
18052 fev_initialize): remove the connection ole_event_free and
18053 EVENTSINK_Destructor.
18055 Sat Aug 25 17:52:06 2007 Koichi Sasada <ko1@atdot.net>
18057 * string.c, include/ruby/intern.h: export rb_str_length().
18059 * insns.def: use rb_str_length() in opt_length.
18061 Sat Aug 25 17:48:51 2007 Koichi Sasada <ko1@atdot.net>
18063 * cont.c: rename FIBER_STACK_SIZE to FIBER_VM_STACK_SIZE.
18065 Sat Aug 25 17:05:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18067 * io.c (swallow): removed condition using an unset variable.
18069 * parse.y, re.c: re-applied revision 13092.
18071 * string.c (rb_str_splice): return from void function.
18073 * include/ruby/encoding.h (rb_enc_str_new): prototype added.
18075 Sat Aug 25 11:45:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18077 * encoding.c: provide basic features for M17N.
18079 * parse.y: encoding aware parsing.
18081 * parse.y (pragma_encoding): encoding specification pragma.
18083 * parse.y (rb_intern3): encoding specified symbols.
18085 * string.c (rb_str_length): length based on characters.
18086 for older behavior, bytesize method added.
18088 * string.c (rb_str_index_m): index based on characters. rindex as
18091 * string.c (succ_char): encoding aware succeeding string.
18093 * string.c (rb_str_reverse): reverse based on characters.
18095 * string.c (rb_str_inspect): encoding aware string description.
18097 * string.c (rb_str_upcase_bang): encoding aware case conversion.
18098 downcase, capitalize, swapcase as well.
18100 * string.c (rb_str_tr_bang): tr based on characters. delete,
18101 squeeze, tr_s, count as well.
18103 * string.c (rb_str_split_m): split based on characters.
18105 * string.c (rb_str_each_line): encoding aware each_line.
18107 * string.c (rb_str_each_char): added. iteration based on
18110 * string.c (rb_str_strip_bang): encoding aware whitespace
18111 stripping. lstrip, rstrip as well.
18113 * string.c (rb_str_justify): encoding aware justifying (ljust,
18116 * string.c (str_encoding): get encoding attribute from a string.
18118 * re.c (rb_reg_initialize): encoding aware regular expression
18120 * sprintf.c (rb_str_format): formatting (i.e. length count) based
18123 * io.c (rb_io_getc): getc to return one-character string.
18124 for older behavior, getbyte method added.
18126 * ext/stringio/stringio.c (strio_getc): ditto.
18128 * io.c (rb_io_ungetc): allow pushing arbitrary string at the
18129 current reading point.
18131 * ext/stringio/stringio.c (strio_ungetc): ditto.
18133 * ext/strscan/strscan.c: encoding support.
18135 Sat Aug 25 10:59:19 2007 Koichi Sasada <ko1@atdot.net>
18137 * cont.c: separate Continuation and Fiber from core.
18139 * ext/continuation/*, ext/fiber/*: ditto.
18141 * include/ruby/ruby.h: remove rb_cFiber.
18143 * include/ruby/intern.h: add the rb_fiber_new() declaration.
18145 * enumerator.c (next_init): fix to use rb_fiber_new().
18147 * test/ruby/test_enumerator.rb: remove next? tests.
18149 * test/ruby/test_continuation.rb: add a require 'continuation'.
18151 * test/ruby/test_fiber.rb: add a require 'fiber'.
18153 Sat Aug 25 10:20:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18155 * common.mk (prelude.o): depends on vm_core.h now.
18157 * common.mk (prelude.c): depends on tool/compile_prelude.rb too.
18159 * common.mk (prereq): updates all auto-generated sources.
18161 * tool/compile_prelude.rb: separated dynamic and static portions.
18163 Sat Aug 25 10:05:17 2007 Koichi Sasada <ko1@atdot.net>
18165 * prelude.rb: add Thread.exclusive. This class method
18166 is different from 1.8's. Thread.exclusive only does
18167 synchronize with VM global mutex.
18169 Sat Aug 25 09:39:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18171 * array.c (rb_ary_s_try_convert): more document description.
18173 * re.c (rb_reg_s_try_convert): typo fixed.
18175 Sat Aug 25 08:54:12 2007 Koichi Sasada <ko1@atdot.net>
18177 * id.h, id.c: remove idFuncall.
18179 * compile.c (iseq_specialized_instruction): ditto.
18181 Sat Aug 25 08:47:28 2007 Koichi Sasada <ko1@atdot.net>
18183 * tool/compile_prelude.rb: fix to include "vm_core.h".
18185 Sat Aug 25 03:49:14 2007 Tanaka Akira <akr@fsij.org>
18187 * test/ruby/sentence.rb (Sentence): include Enumerable.
18188 (Sentence#each): defined.
18190 * test/ruby/test_assignment.rb: use Sentence#expand.
18192 Sat Aug 25 03:08:57 2007 Koichi Sasada <ko1@atdot.net>
18194 * prelude.rb: fix Mutex#synchronize definition.
18196 Sat Aug 25 02:08:45 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18198 * array.c (rb_ary_s_try_convert): a new class method to convert
18199 object or nil if it's not target-type. this mechanism is used
18200 to convert types in the C implemented methods.
18202 * hash.c (rb_hash_s_try_convert): ditto.
18204 * io.c (rb_io_s_try_convert): ditto.
18206 * re.c (rb_reg_s_try_convert): ditto.
18208 * string.c (rb_str_s_try_convert): ditto.
18210 Sat Aug 25 00:49:44 2007 Koichi Sasada <ko1@atdot.net>
18212 * benchmark/bm_loop_generator.rb: added.
18214 Sat Aug 25 00:22:31 2007 Koichi Sasada <ko1@atdot.net>
18216 * prelude.rb: added. run this script on startup.
18218 * tool/compile_prelude.rb: compile prelude.rb to C string.
18219 (prelude.rb -> prelude.c)
18221 * common.mk: fix to build with prelude.c.
18223 * inits.c (rb_call_inits): ditto.
18225 * thread.c (Init_Thread): move definition of Mutex#synchronize
18228 Sat Aug 25 00:08:43 2007 Koichi Sasada <ko1@atdot.net>
18230 * compile.c (compile_massign_opt): fix to skip massign optimization
18231 with global variables.
18233 * bootstraptest/test_massign.rb: add some tests for above.
18235 Fri Aug 24 18:42:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18237 * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.
18239 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize):
18240 initialize @workdir to stop warning.
18242 Fri Aug 24 18:30:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18244 * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block):
18245 replace funcall by send!. other files in the distribution as well.
18247 Fri Aug 24 17:06:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18249 * eval.c (rb_f_send_bang): abandon the name funcall for private
18252 Fri Aug 24 15:27:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18254 * enumerator.c (enumerator_next): stop pre-fetching.
18256 * enumerator.c (Init_Enumerator): remove next? method.
18258 Fri Aug 24 15:14:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18260 * eval.c (rb_f_loop): now handles StopIteration exception.
18262 Thu Aug 23 20:31:31 2007 Koichi Sasada <ko1@atdot.net>
18264 * compile.c: optimize simple massign.
18266 Thu Aug 23 20:02:25 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
18268 * ext/win32ole/win32ole.c (reg_get_value): use RegQueryValueEx instead
18269 of RegQueryValueEx.
18271 * ext/win32ole/win32ole.c (typelib_file_from_clsid): fix the bug
18272 that the function always returns Qnil.
18274 * test/win32ole/test_win32ole_type.rb (test_initialize): add some test.
18276 Thu Aug 23 17:25:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18278 * configure.in (group_member): check if presents.
18280 * configure.in (XCFLAGS): add _GNU_SOURCE on linux.
18282 * file.c (group_member): use system routine if available.
18284 * process.c: moved _GNU_SOURCE macro to Makefile.
18286 Thu Aug 23 16:59:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18288 * compile.c (compile_massign), insnhelper.ci (vm_throw): not use C99
18291 * cont.c (rb_cont_call, fiber_switch, rb_fiber_resume, rb_fiber_yield):
18294 * cont.c (rb_fiber_start): change on non-volatile variable between
18295 setjmp and longjmp may not has an effect.
18297 * enumerator.c (sym_call): initialize first.
18299 * enumerator.c (enum_iter): typedefed.
18301 * enumerator.c (next_i): suppress a warning.
18303 Thu Aug 23 16:04:11 2007 Koichi Sasada <ko1@atdot.net>
18305 * compile.c, insns.def, parse.y: fix massign order. This change
18306 causes performance problem. Try vm1_swap benchmark.
18309 * insns.def, insnhelper.ci: move process body of expandarray insn to
18312 * bootstraptest/test_knownbug.rb, bootstraptest/test_massign.rb:
18313 move a solved test.
18315 Thu Aug 23 15:51:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18317 * parse.y (f_norm_arg): ripper has no shadowing check.
18319 * parse.y (f_block_arg): dispatch blkarg_mark.
18321 Thu Aug 23 15:48:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18323 * compile.c (make_masgn_lhs, iseq_compile_each): fixed indent.
18325 * compile.c (iseq_translate_threaded_code),
18326 vm_evalbody.ci (get_insns_address_table),
18327 template/vmtc.inc.tmpl (insns_address_table): constified.
18329 * vm_evalbody.ci (vm_eval),
18330 template/insns_info.inc.tmpl (insn_stack_increase, insn_ret_num):
18333 Thu Aug 23 13:19:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18335 * parse.y (f_norm_arg): check also nested arguments. [ruby-dev:31502]
18337 Thu Aug 23 00:06:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18339 * util.c: updated for ANSI C only. applied a patch from
18340 <snakagawa AT infoteria.co.jp>. [ruby-dev:31591]
18342 Thu Aug 23 00:04:45 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18344 * missing/strtod.c: removed. [ruby-dev:31588]
18348 Wed Aug 22 15:59:44 2007 Koichi Sasada <ko1@atdot.net>
18350 * bootstraptest/test_knownbug.rb:
18351 fix typo of filename (test_knwonbug.rb).
18353 Wed Aug 22 14:04:53 2007 Koichi Sasada <ko1@atdot.net>
18355 * bootstraptest/test_knwonbug.rb: added. This file will contain
18356 test cases which point out known bug. If bug is fixed, tests
18357 should move to the suitable place.
18359 * bootstraptest/test_massign.rb: move a test which show known bug
18360 to test_knownbug.rb.
18362 Wed Aug 22 13:02:26 2007 Tanaka Akira <akr@fsij.org>
18364 * bootstraptest/runner.rb (in_temporary_working_directory):
18365 don't remove the directory specified by --dir.
18367 Wed Aug 22 05:51:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18369 * util.c (ruby_strtod): replaced by the implementation by David
18370 M. Gay inspired by William D. Clinger's paper "How to Read Floating
18371 Point Numbers Accurately" [Proc. ACM SIGPLAN '90, pp. 92-101].
18372 a patch from Satoshi Nakagawa <snakagawa AT infoteria.co.jp>.
18375 * test/ruby/test_float.rb (TestFloat::test_float): add test for
18378 Wed Aug 22 03:51:07 2007 Koichi Sasada <ko1@atdot.net>
18380 * cont.c: add Fiber#resume and Fiber.yield.
18381 and Fiber::Core class to realize Coroutine.
18383 * include/ruby/intern.h: declare rb_fiber_yield(), rb_fiber_resume().
18385 * enumerator.c: use above api.
18387 * test/ruby/test_fiber.rb: fix and add tests for above changes.
18389 Tue Aug 21 21:09:48 2007 Tanaka Akira <akr@fsij.org>
18391 * lib/tmpdir.rb (Dir.mktmpdir): make directory suffix specifiable.
18392 suggested by knu. [ruby-dev:31568]
18394 Tue Aug 21 15:00:23 2007 Koichi Sasada <ko1@atdot.net>
18396 * st.c (st_clear): reset num_entries too.
18398 Tue Aug 21 13:57:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18400 * hash.c (st_foreach_func, rb_foreach_func): typedefed.
18402 * hash.c (rb_hash_clear): use st_clear() unless iterating.
18404 * st.c (struct st_table_entry): add new members, fore and back, to
18405 iterate in inserted order.
18407 * include/ruby/st.h (struct st_table): ditto.
18409 Tue Aug 21 04:09:06 2007 Koichi Sasada <ko1@atdot.net>
18411 * benchmark/bm_vm2_case.rb: add a new benchmark.
18412 YARV optimize case/when syntax. If every conditions
18413 are literal (such as Symbol, Fixnum, String), dispatch
18414 calc order will be O(1).
18416 Tue Aug 21 04:08:07 2007 Koichi Sasada <ko1@atdot.net>
18418 * test/ruby/test_enumerator.rb: fix last commit.
18420 Tue Aug 21 03:59:32 2007 Koichi Sasada <ko1@atdot.net>
18422 * test_enumerator.rb (enum_test): fix to return sorted
18423 array (for Hash test).
18425 Tue Aug 21 03:55:20 2007 Koichi Sasada <ko1@atdot.net>
18427 * enumerator.c (next_i): fix to return with Fiber#yield at
18428 the end of each block. [ruby-dev:31470]
18430 * enumerator.c (enumerator_next_p): call init_next if not
18431 initialized. [ruby-dev:31514]
18433 * test/ruby/test_enumerator.rb: add tests for Enumerator.
18435 Mon Aug 20 23:28:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18437 * string.c (Init_String): remove Symbol.intern and Symbol#dump.
18440 * dir.c (dir_foreach): return Enumerator if no block given.
18443 * io.c (rb_io_s_foreach): argument count check before making
18444 Enumerator. [ruby-dev:31525]
18446 Mon Aug 20 23:17:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18448 * vm_core.h (struct rb_thread_struct): removed first_func_arg and
18449 reuse first_args instead.
18451 Sun Aug 19 13:31:40 2007 Tanaka Akira <akr@fsij.org>
18453 * gc.c: use VALGRIND_MAKE_MEM_UNDEFINED to detect use of collected
18454 objects if valgrind is available. It cannot detect first 2 words
18455 because they are used as the free list.
18457 Sun Aug 19 13:13:52 2007 Koichi Sasada <ko1@atdot.net>
18459 * compile.c (iseq_compile_each/NODE_RESBODY): fix to add
18460 additional nop to prevent tailcall optimization.
18462 * vm_opts.h: clean up comments.
18464 Sun Aug 19 12:58:39 2007 Koichi Sasada <ko1@atdot.net>
18466 * insnhelper.ci (vm_call_bmethod): fix to propagate information
18467 that this proc is "from Method". [ruby-dev:31490]
18469 * proc.c (method_proc, rb_mod_define_method): ditto.
18471 * vm.c (vm_invoke_proc_core): removed.
18473 * vm_core.h: ditto.
18475 Sun Aug 19 12:36:11 2007 Tanaka Akira <akr@fsij.org>
18477 * test/ruby/sentence.rb: new method Sentence().
18479 Sun Aug 19 12:32:39 2007 Koichi Sasada <ko1@atdot.net>
18481 * insnhelper.ci (vm_callee_setup_arg): fix to mark enough VM stack.
18484 Sat Aug 18 19:02:34 2007 Tanaka Akira <akr@fsij.org>
18486 * test/ruby/test_yield.rb (TestYieldGen): relax array size check
18487 in nested parameters.
18490 Sat Aug 18 17:44:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18492 * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc().
18494 Sat Aug 18 17:40:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18496 * thread.c (is_ruby_native_thread): check properly. [ruby-dev:31166]
18498 Sat Aug 18 16:44:15 2007 Koichi Sasada <ko1@atdot.net>
18500 * insnhelper.ci (vm_call_bmethod),
18501 vm.c (vm_invoke_proc_core): fix to do not restore
18502 $SAFE when proc invoked by bmethod.
18504 * vm_core.h: ditto.
18506 Sat Aug 18 16:44:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18508 * eval_error.ci (ruby_error_print): call error_print.
18510 * eval_jump.ci, process.c (rb_exit, rb_f_exit, rb_f_abort): moved.
18512 Sat Aug 18 15:59:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18514 * process.c (detach_process_watcher): should not pass the pointer
18515 to an auto variable to the thread to be created. pointed and
18516 fix by KUBO Takehiro <kubo at jiubao.org> [ruby-dev:30618]
18518 Sat Aug 18 15:52:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18520 * insnhelper.ci (vm_send_optimize): use MEMMOVE to shift values inside
18523 Sat Aug 18 15:45:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18525 * insnhelper.ci (vm_yield_setup_args): rsize and psize should not be
18528 Sat Aug 18 14:35:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18530 * insnhelper.ci (vm_callee_setup_arg, vm_send_optimize,
18531 vm_yield_setup_args): bulk copy for arguments.
18533 Sat Aug 18 13:55:58 2007 Koichi Sasada <ko1@atdot.net>
18535 * compile.c (iseq_compile_each): fix to allow self.x=
18538 * bootstraptest/test_method.rb: add a test for above.
18540 Sat Aug 18 14:05:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18542 * parse.y (reg_compile_gen): obtain error info from errinfo.
18544 * re.c (rb_reg_error_desc): make RegexpError for initialization error.
18546 * re.c (rb_reg_compile): return nil and set errinfo if error.
18548 Sat Aug 18 13:23:01 2007 Koichi Sasada <ko1@atdot.net>
18550 * eval.c: $! should not be writable.
18552 * eval.c (rb_rubylevel_errinfo): added. rb_errinfo() returns
18553 rb_thread_t#errinfo. rb_rubylevel_errinfo() returns $! value.
18555 Sat Aug 18 13:14:40 2007 Koichi Sasada <ko1@atdot.net>
18557 * insnhelper.ci (vm_callee_setup_arg): fix to check arguments
18558 correctly. [ruby-dev:31472]
18560 Sat Aug 18 13:13:06 2007 Koichi Sasada <ko1@atdot.net>
18562 * bootstraptest/test_exception.rb: add escape character ("\") for
18565 Sat Aug 18 12:42:50 2007 Tanaka Akira <akr@fsij.org>
18567 * test/ruby/test_yield.rb (TestYieldGen): add test for yielding to
18568 lambda using lambda parameter passing emulator.
18570 Sat Aug 18 12:24:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18572 * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep
18573 comment lines first.
18575 Sat Aug 18 11:44:59 2007 Koichi Sasada <ko1@atdot.net>
18577 * compile.c (iseq_set_arguments), insnhelper.ci
18578 (vm_callee_setup_arg, vm_yield_setup_args):
18579 fix to cause raise on "lambda{|a|}.call(1, 2)".
18582 * bootstraptest/test_block.rb: add tests for above.
18584 Sat Aug 18 01:12:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18586 * eval.c (frame_func_id): return proper method ID.
18588 Fri Aug 17 22:43:11 2007 Koichi Sasada <ko1@atdot.net>
18590 * compile.c (iseq_compile_each): massign should return rvalue(s).
18592 Fri Aug 17 22:10:19 2007 Koichi Sasada <ko1@atdot.net>
18594 * test/ruby/test_basicinstructions.rb: fix old tests.
18595 class variables should be inherited.
18597 Fri Aug 17 21:20:44 2007 Koichi Sasada <ko1@atdot.net>
18599 * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias),
18600 insnhelper.ci (vm_call_method): fix to save safelevel for
18603 * include/ruby/node.h: ditto.
18605 * bootstraptest/test_method.rb: add a test for above.
18607 Fri Aug 17 16:02:50 2007 Koichi Sasada <ko1@atdot.net>
18609 * thread.c (rb_thread_terminate_all): fix to ignore
18612 * thread.c (thread_start_func_2): fix
18613 abort_on_exception process. [ruby-dev:31394]
18615 Fri Aug 17 14:38:36 2007 Tanaka Akira <akr@fsij.org>
18617 * bootstraptest/runner.rb (in_temporary_working_directory): use
18618 Dir.mktmpdir to create and remove temporary directory.
18619 (Dir.mktmpdir): define if not available.
18622 Fri Aug 17 03:07:37 2007 Koichi Sasada <ko1@atdot.net>
18624 * compile.c (iseq_compile_each): fix throw insn option of next.
18626 Fri Aug 17 01:25:23 2007 Koichi Sasada <ko1@atdot.net>
18628 * compile.c (iseq_set_arguments), insnhelper.ci
18629 (vm_callee_setup_arg, vm_yield_setup_args): fix
18630 block parameter problems. [ruby-dev:31437], [ruby-dev:31440]
18632 * bootstraptest/test_block.rb: add a test of [ruby-dev:31440].
18634 Fri Aug 17 01:24:12 2007 Koichi Sasada <ko1@atdot.net>
18636 * iseq.c (ruby_iseq_disasm): fix to show arg_simple value.
18638 Fri Aug 17 01:21:29 2007 Koichi Sasada <ko1@atdot.net>
18640 * insns.def (throw): insert a RUBY_VM_CHECK_INTS(). [ruby-dev:31361]
18642 Thu Aug 16 20:40:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18644 * bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound
18645 access. [ruby-dev:31404]
18647 * sprintf.c (rb_str_format): small float should not call
18650 Thu Aug 16 22:10:06 2007 Koichi Sasada <ko1@atdot.net>
18652 * compile.c (iseq_compile_each): fix next/redo stack consistency.
18655 * bootstraptest/test_syntax.rb: add tests for above.
18657 * sample/test.rb: fix to use __FILE__ instead of $0 to know basedir.
18659 Thu Aug 16 21:14:06 2007 WATANABE Hirofumi <eban@ruby-lang.org>
18661 * configure.in (BASERUBY): need AC_SUBST. [ruby-dev:31438]
18663 Thu Aug 16 19:18:26 2007 Tanaka Akira <akr@fsij.org>
18665 * test/ruby/sentence.rb: Sentence class implemented
18666 based on sentgen.rb
18668 * test/ruby/sentgen.rb: removed.
18670 * test/ruby/test_assignment.rb: use sentence.rb.
18672 * test/ruby/test_yield.rb: block parameter passing emulator
18675 Thu Aug 16 16:48:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18677 * configure.in (BASERUBY): check if base ruby is runnable first.
18680 Thu Aug 16 16:46:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18682 * configure.in (aix): enable shared by default.
18684 * configure.in (aix): for 64bit-mode AIX. [ruby-dev:31401]
18685 + use CC for LDSHARED if non-gcc,
18686 + moved -G option from *LDFLAGS to LDSHARED,
18687 + set -brtl only in XLDFLAGS.
18689 Thu Aug 16 13:06:08 2007 Tanaka Akira <akr@fsij.org>
18691 * bignum.c (big_lshift): make shift offset long type.
18692 (big_rshift): ditto.
18693 (rb_big_lshift): ditto.
18694 (big_rshift): ditto.
18697 Thu Aug 16 06:29:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18699 * io.c (argf_readpartial): argf_forward needs argc and argv.
18701 Thu Aug 16 02:47:39 2007 Koichi Sasada <ko1@atdot.net>
18703 * cont.c (rb_fiber_m_yield): added. use this function
18704 for Fiber#yield instead of rb_fiber_yield.
18706 Thu Aug 16 00:36:52 2007 Tanaka Akira <akr@fsij.org>
18708 * lib/tmpdir.rb (Dir.mktmpdir): new method. [ruby-dev:31416]
18710 Wed Aug 15 18:57:30 2007 Koichi Sasada <ko1@atdot.net>
18712 * gc.c (os_live_obj): fix to skip T_VALUES.
18714 * sample/test.rb: add an ObjectSpace test.
18716 Wed Aug 15 16:49:04 2007 Koichi Sasada <ko1@atdot.net>
18718 * inits.c (rb_call_inits): change initializing order.
18721 Wed Aug 15 16:44:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18723 * io.c (ARGF_FORWARD): wrongly compares with current_file with
18724 rb_stdout. should be rb_stdin. [ruby-cvs:20177]
18726 Wed Aug 15 14:59:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18728 * io.c (rb_io_initialize, argf_each_line, argf_each_byte): suppress
18731 Wed Aug 15 14:22:05 2007 Koichi Sasada <ko1@atdot.net>
18733 * parse.y: remove "//" type comment.
18735 Wed Aug 15 13:42:15 2007 Koichi Sasada <ko1@atdot.net>
18737 * parse.y: fix rules around f_margs. "make test" passes all tests.
18739 * bootstraptest/test_block.rb: add some tests for above.
18741 Wed Aug 15 13:50:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18743 * hash.c (rb_hash_delete_key): delete the entry without calling block.
18745 * hash.c (rb_hash_shift): should consider iter_lev too.
18747 * hash.c (delete_if_i): use rb_hash_delete_key() so that the block
18748 isn't called twice. [ruby-core:11556]
18750 Wed Aug 15 13:39:25 2007 Koichi Sasada <ko1@atdot.net>
18752 * process.c (proc_geteuid): fix strange conversion. [ruby-dev:31417]
18754 Wed Aug 15 01:05:55 2007 Tanaka Akira <akr@fsij.org>
18756 * bootstraptest/runner.rb (assert_check): don't call newtest.
18757 (assert_equal): call newtest.
18758 (assert_match): ditto.
18760 Tue Aug 14 21:43:39 2007 Tanaka Akira <akr@fsij.org>
18762 * bootstraptest/runner.rb (assert_check): new method.
18763 (assert_match): new method.
18764 (assert_equal): use assert_check.
18765 (pretty): give failure description as an argument.
18767 * bootstraptest/test_exception.rb: use assert_match to describe the
18768 test for [ruby-dev:31407]. [ruby-dev:31412]
18770 Tue Aug 14 19:53:15 2007 Koichi Sasada <ko1@atdot.net>
18772 * proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: move
18773 init place of exception_error.
18777 * eval.c (Init_eval): set exception_error#throwed_state as TAG_FATAL.
18780 * bootstraptest/test_exception.rb: add a test for above.
18782 Tue Aug 14 19:51:20 2007 Koichi Sasada <ko1@atdot.net>
18784 * common.mk: change test order (test -> btest).
18786 Tue Aug 14 00:04:27 2007 Kouhei Sutou <kou@cozmixng.org>
18788 * lib/rss/rss.rb: 0.1.8 -> 0.1.9.
18790 * test/rss/test_version.rb: followed the above change.
18792 * lib/rss/parser.rb: fixed a bug that handles unintended elements.
18793 Thanks to Takuo Yonezawa. [ruby-list:43841]
18795 Mon Aug 13 17:23:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18797 * eval.c (rb_clear_trace_func, rb_thread_stop_timer_thread):
18798 declarations for forward references.
18800 * eval.c (rb_longjmp, eval): use local variable.
18802 * eval.c (rb_longjmp): string object not to be optimized.
18804 Mon Aug 13 13:21:58 2007 Tanaka Akira <akr@fsij.org>
18806 * lib/open-uri.rb: make ftp passive mode to avoid NAT problem.
18809 Mon Aug 13 09:18:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18811 * ext/stringio/stringio.c (strio_getc): should returns
18812 one-character string.
18814 * ext/stringio/stringio.c: remove unnecessary prototypes.
18816 * ext/stringio/stringio.c (strio_getbyte): new method.
18818 * ext/stringio/stringio.c (strio_readbyte): new method.
18820 * ext/stringio/stringio.c (strio_ungetc): should take a string as
18823 Mon Aug 13 08:19:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18825 * io.c (argf_close): always close via method.
18827 * io.c (Init_IO): remove obsolete Kernel#getc.
18829 Mon Aug 13 05:03:53 2007 Koichi Sasada <ko1@atdot.net>
18831 * thread.c (rb_thread_raise): check if target thread is
18832 thrown by another thread or not. [ruby-dev:31371]
18834 * bootstraptest/test_thread.rb: add a test for above.
18836 Mon Aug 13 04:35:30 2007 Koichi Sasada <ko1@atdot.net>
18838 * compile.c (iseq_peephole_optimize): fix peephole optimization
18839 bug. [ruby-dev:31360]
18841 * bootstraptest/test_syntax.rb: add a test for above.
18843 Mon Aug 13 04:02:29 2007 Koichi Sasada <ko1@atdot.net>
18845 * vm_dump.c (debug_print_pre): fix to show control frame count.
18847 * insns.def (opt_call_c_function): fix operand type.
18849 * lib/vm/instruction.rb: ditto.
18851 * insnhelper.ci (vm_push_frame, vm_pop_frame): fix to show
18852 control stack status on if VMDEBUG == 2.
18854 * vm.h: add a comment about VMDEBUG.
18856 * iseq.c (find_prev_line_no): fix to skip bug report if
18859 * lib/vm/instruction.rb: fix to use build_string() on
18860 source code generators.
18862 Mon Aug 13 03:57:32 2007 Koichi Sasada <ko1@atdot.net>
18864 * template/yasmdata.rb.tmpl: fix type and name.
18866 Sat Aug 11 23:27:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18868 * io.c (argf_each_line): should use #each_line, not #each.
18870 * io.c (argf_each_line): simplified.
18872 * io.c (argf_getline): should handle non T_FILE object in ARGV.
18874 * io.c (argf_each_byte): each_byte should yield bytes not
18875 one-character strings. [ruby-dev:31374]
18877 Sat Aug 11 07:24:55 2007 Tadayoshi Funaba <tadf@dotrb.org>
18879 * lib/date/format.rb: reverted some wrongly erased "o" options
18880 (pointed out by nobu).
18882 Sat Aug 11 00:01:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18884 * thread.c (thread_start_func_2): not re-raise to main thread if it is
18885 joining the current thread.
18887 Fri Aug 10 23:54:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18889 * thread.c (thread_create_core): inherit the priority of creating
18890 thread. submitted at [ruby-core:11873] by David Flanagan <david AT
18891 davidflanagan.com>. [ruby-core:11876]
18893 Fri Aug 10 05:12:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18895 * thread.c (thread_start_func_2): let abort_on_exception work.
18898 Fri Aug 10 04:47:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18900 * parse.y (internal_id_gen): internal ID must be bigger than
18903 Thu Aug 9 16:04:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18905 * parse.y (stmt): check if rhs has value before assignment instead
18906 inside node_assign_gen(). [ruby-dev:31293]
18908 * parse.y (call_bin_op_gen, call_uni_op_gen): split call_op_gen.
18910 Thu Aug 9 14:01:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18912 * parse.y (f_marg_list): renamed from f_marg_head.
18914 * parse.y (f_margs): allow multiple mandatory arguments after a splat.
18917 Thu Aug 9 02:02:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18919 * enum.c (enum_cycle): typo fixed. a patch from Kazuhiro
18920 NISHIYAMA <zn AT mbf.nifty.com>. [ruby-dev:31362]
18922 Wed Aug 8 19:17:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18924 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): no longer check
18925 HAVE_RB_IO_STDIO_FILE.
18927 Wed Aug 8 15:52:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18929 * enumerator.c (enumerator_next_p): should check correctly even when
18930 e.next has not been called before.
18932 * enumerator.c (enumerator_next): raise StopIteration (name taken
18933 from Python) instead of IndexError.
18935 * enum.c (enum_zip): catch StopIteration exception.
18937 * enumerator.c (enumerator_with_index): return Enumerator if no
18940 * test/ruby/test_iterator.rb (TestIterator::test_enumerator): add
18941 test for enumerators.
18943 Wed Aug 8 11:48:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18945 * bignum.c (rb_big2str0): should not use RTEST for non-VALUE.
18947 Wed Aug 8 11:25:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18949 * bignum.c (rb_big2str0): should preserve sign mark.
18951 Wed Aug 8 11:02:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18953 * common.mk (btest-miniruby, test-sample): split the test target
18954 so that -k option works.
18956 Tue Aug 7 14:58:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18958 * ext/pty/pty.c (establishShell): handshaking before close slave
18959 device. [ruby-talk:263410]
18961 * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): constified.
18963 * ext/pty/pty.c (SlaveName): removed static buffer.
18965 * ext/pty/expect_sample.rb: support for autologin.
18967 Tue Aug 7 13:58:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18969 * include/ruby/ruby.h (ruby_special_consts): added RUBY_SPECIAL_SHIFT.
18971 * .gdbinit: some improvements.
18973 Tue Aug 7 13:28:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18975 * common.mk (node_name.inc): use $? instead of $< for nmake.
18978 Tue Aug 7 12:45:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18980 * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.
18983 Tue Aug 7 12:31:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18985 * io.c (pipe_open): fix for win32 platforms.
18987 Tue Aug 7 02:58:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18989 * bignum.c (rb_big2str0): make Bignum#to_s even faster. a patch
18990 from Kenta Murata <muraken AT gmail.com>. [ruby-dev:31354]
18992 Tue Aug 7 01:42:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18994 * enum.c (enum_zip): zip no longer converts arguments into
18995 arrays, uses enumerators.
18997 Tue Aug 7 01:27:47 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18999 * cont.c (rb_fiber_yield): change argument ordering. export.
19001 * cont.c (rb_fiber_current): export
19003 * include/ruby/intern.h: export several functions from cont.c.
19005 * enumerator.c (enumerator_next): new method to implement external
19006 iterator (generator) using fiber.
19008 * enumerator.c (enumerator_next_p): new method to check whether
19009 any element is left in the generator sequence.
19011 * enumerator.c (enumerator_rewind): a new method to rewind the
19012 generator sequence.
19014 Tue Aug 7 01:15:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19016 * enum.c (enum_cycle): new method to cycle enumerable forever.
19018 Tue Aug 7 00:05:38 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
19020 * irb/ruby-lex.rb: support for '\c'. [ruby-talk:263508]
19022 Mon Aug 6 20:29:22 2007 Koichi Sasada <ko1@atdot.net>
19024 * insnhelper.ci, insns.def: move some statements to functions.
19026 * vm.c, vm.h, vm_evalbody.ci: fix include/typedef places.
19028 Mon Aug 6 18:41:12 2007 Koichi Sasada <ko1@atdot.net>
19030 * lib/vm/instruction.rb (make_header_analysys): fix last commit.
19032 Mon Aug 6 18:33:22 2007 Koichi Sasada <ko1@atdot.net>
19034 * lib/vm/instruction.rb (make_header_analysys): add to separate
19035 header addition process.
19037 Mon Aug 6 17:36:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19039 * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.
19041 Mon Aug 6 16:57:08 2007 Koichi Sasada <ko1@atdot.net>
19043 * sample/test.rb: fix to output file name if it contains
19046 Mon Aug 6 16:41:22 2007 Koichi Sasada <ko1@atdot.net>
19048 * parse.y (value_expr_gen): fix to cause "void value expression"
19049 when jump expression such as "next" are shown on value_expr().
19052 * bootstraptest/test_syntax.rb: fix to above change.
19054 Mon Aug 6 14:36:30 2007 Koichi Sasada <ko1@atdot.net>
19056 * parse.y: fix a f_marg rule. [ruby-dev:31160]
19058 Mon Aug 6 14:29:30 2007 Koichi Sasada <ko1@atdot.net>
19060 * bootstraptest/runner.rb (assert_equal): add additional
19063 Mon Aug 6 13:34:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19065 * common.mk (INSNS): not chdir to srcdir.
19067 * common.mk (node_name.inc): auto-generate node name list.
19069 * iseq.c (ruby_node_name): ditto.
19071 * iseq.c (iseq_s_compile_option_get, Init_ISeq): added a new
19072 method VM::InstructionSequence::compile_option.
19074 * lib/vm/instruction.rb (RubyVM::SourceCodeGenerator): --destdir
19077 * tool/node_name.rb: to auto-generate node name list.
19079 Sun Aug 5 11:51:39 2007 Kouhei Sutou <kou@cozmixng.org>
19081 * lib/rss, sample/rss, test/rss:
19083 - supported <itunes:XXX>.
19084 - reverted backward incompatibility API changes introduced 0.1.7.
19086 Sun Aug 5 04:56:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19088 * io.c (pipe_open_v, pipe_open_s): separate array and string
19089 cases. [ruby-dev:31344]
19091 Fri Aug 3 11:05:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19093 * ext/extmk.rb (extmake): save all CONFIG values.
19095 * ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at
19096 distclean, respectively.
19098 * ext/extmk.rb: remove rdoc at clean, and installed list file at
19099 distclean, respectively.
19101 Fri Aug 3 07:09:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19103 * lib/mkmf.rb: more verbose message. [ruby-Bugs-12766]
19105 * lib/mkmf.rb (have_type): suppress a warning with -Wall.
19107 * lib/mkmf.rb (find_type): new method.
19109 Fri Aug 3 00:00:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19111 * bignum.c (big2str_table): base cannot be 0 or 1.
19113 Thu Aug 2 23:42:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19115 * parse.y (reg_compile_gen): set error if failed to compile regexp
19116 literal. [ruby-dev:31336]
19118 * re.c (option_to_str, arg_kcode, opt_kcode): options conversion
19119 between int and string.
19121 * re.c (rb_reg_compile): should not use regexp which could not get
19122 initialized. [ruby-dev:31333]
19123 return error message to let the parser know it.
19125 * re.c (rb_reg_compile): append regexp options to error message.
19128 Thu Aug 2 22:05:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19130 * bignum.c (rb_big2str0): faster Bignum#to_s using Karatsuba
19131 algorithm. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
19132 in [ruby-dev:31312], slightly modified by Kenta Murata
19133 <muraken AT gmail.com> in [ruby-dev:31339].
19135 Thu Aug 2 13:46:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19137 * sprintf.c (rb_f_sprintf): should not check positional number as
19138 width. [ruby-core:11838]
19140 Wed Aug 1 12:40:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19142 * generic.rb (URI::Generic::merge_path): behave as RFC 3986.
19145 Tue Jul 31 23:38:09 2007 Tadayoshi Funaba <tadf@dotrb.org>
19147 * lib/date/format.rb (_parse): now interprets slashed numerical
19148 dates as a big endian (except dd/mm/yyyy). [experimental]
19150 Mon Jul 30 11:16:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19152 * bignum.c (rb_big_aref): check for Bignum index range.
19155 Sat Jul 28 09:35:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19157 * ext/digest/lib/digest.rb (Digest::self.const_missing): avoid
19158 infinite recursive const_missing call. [ruby-talk:262193]
19160 Thu Jul 26 20:40:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19162 * range.c (range_eqq): call_super() in === does not work well
19163 since Enumerable#=== has different behavior. [ruby-dev:31296]
19165 Thu Jul 26 13:57:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19167 * dln.c (load_1, dln_find_1): constified.
19169 * dln.c (conv_to_posix_path): removed.
19171 * ruby.c (usage): constified.
19173 * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return
19174 VALUE instead of a pointer to static buffer.
19176 * ruby.c (push_include_cygwin): fixed buffer overflow.
19179 * ruby.c (ruby_init_loadpath): not convert built-in paths.
19181 Tue Jul 24 10:37:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19183 * io.c (rb_f_p): return nil if no argument. [ruby-dev:31285]
19185 Tue Jul 24 01:05:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19187 * regint.h (USE_MATCH_RANGE_IS_COMPLETE_RANGE): undef to achieve old
19188 rindex behavior. [ruby-dev:31265]
19190 Mon Jul 23 18:37:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19192 * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes
19193 some memory violation. [ruby-dev:31070]
19195 Sun Jul 22 20:09:49 2007 Tadayoshi Funaba <tadf@dotrb.org>
19197 * lib/date/format.rb (Date._parse): now accepts some new
19198 hints. [experimental]
19200 * lib/parsedate.rb: followed the changes on
19201 lib/date/format.rb. [experimental]
19203 Sun Jul 22 16:06:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19205 * thread.c (is_ruby_native_thread): made an int function as
19206 well as version 1.8.
19208 * include/ruby/ruby.h (is_ruby_native_thread): moved prototype
19209 from intern.h as well as version 1.8.
19211 Sun Jul 22 14:33:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19213 * file.c (rb_file_s_rename): deleted code to get rid of a bug of
19216 * file.c (rb_file_truncate): added prototype of GetLastError()
19217 on cygwin. [ruby-dev:31239]
19219 * include/ruby/intern.h (is_ruby_native_thread): prototype.
19221 * missing/strftime.c (strftime): fix printf format and actual
19224 * ext/Win32API/Win32API.c (Win32API_initialize): ditto.
19226 * ext/tk/tcltklib.c (ip_finalize): ditto.
19228 * ext/win32ole/win32ole.c (lcid_installed): ditto.
19230 * ext/socket/getnameinfo.c: include stdio.h always.
19232 Sat Jul 21 21:39:12 2007 Tadayoshi Funaba <tadf@dotrb.org>
19234 * lib/date.rb, lib/date/format.rb (Date._parse): now can take some
19235 hints (its aim must be mainly determination of endianness of
19236 date). [experimental]
19238 * lib/date.rb, lib/date/format.rb (Date._parse): now completes
19239 truncated year as default action. [experimental]
19241 * lib/date.rb, lib/date/format.rb: added ::iso8601, ::rfc3339,
19242 ::xmlschema, ::rfc2822, ::httpdate, ::jisx0301, #xmlschema,
19243 #httpdate. [experimental]
19245 Sat Jul 21 17:48:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19247 * common.mk: inverted rules order.
19249 * thread_win32.ci (w32_create_thread): bcc does not have
19252 * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_H
19253 only if extconf.h is created.
19255 * bcc32/Makefile.sub: headers have moved.
19257 * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_args
19260 * bcc32/setup.mak: check runtime version.
19262 * win32/win32.c (rb_w32_open_osfhandle): prototype has changed
19265 * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.
19267 * win32/resource.rb: include patchlevel number.
19269 Sat Jul 21 12:06:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19271 * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.
19273 Sat Jul 21 01:45:03 2007 Tadayoshi Funaba <tadf@dotrb.org>
19275 * lib/date/format.rb (Date._parse): completes calendar week based year.
19277 * lib/date/format.rb (Date._parse): detects year of ordinal date in
19280 Fri Jul 20 16:30:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19282 * compile.c (iseq_set_sequence): raise SyntaxError instead of rb_bug
19283 since this function can be called from VM::InstructionSequence.load.
19285 * compile.c (insn_set_sc_state, iseq_set_sequence_stackcaching): ditto.
19287 Fri Jul 20 16:11:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19289 * compile.c, compile.h (DECL_ANCHOR, INIT_ANCHOR): split not to
19290 initialize aggregations with dynamic values. [ruby-talk:259306]
19292 * eval.c (rb_protect): not to initialize aggregations with dynamic
19293 values. [ruby-talk:259306]
19295 * gc.c (mark_current_machine_context): ditto.
19297 * thread.c (thgroup_list, call_trace_func): ditto.
19299 * vm.c (vm_init_redefined_flag): ditto.
19301 Fri Jul 20 15:22:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19303 * ext/openssl/ossl_config.c (ossl_config_set_section): do not
19304 initialize aggregations with dynamic values. [ruby-talk:259306]
19306 Fri Jul 20 10:39:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19308 * parse.y (stmt, mlhs_node, lhs, arg, var_ref): return dummy
19309 NODE_BEGIN after errors. [ruby-dev:31100], [ruby-dev:31118]
19311 * parse.y (remove_begin): keep empty NODE_BEGIN, instead of null.
19312 [ruby-dev:31252], [ruby-dev:31263]
19314 Fri Jul 20 09:50:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19316 * bootstraptest/runner.rb (get_result_string): check $?.coredump?
19319 * bootstraptest/runner.rb (cleanup_coredump, check_coredump): see
19320 stackdump file too.
19322 Thu Jul 19 20:39:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19324 * parse.y (value_expr_gen): warn for empty expression ().
19327 Thu Jul 19 19:24:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19329 * eval_error.ci (get_backtrace): check the result more.
19330 [ruby-dev:31261] [ruby-bugs-12398]
19332 Thu Jul 19 14:38:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19334 * bignum.c (rb_big_lshift, rb_big_rshift): separated functions
19335 to get rid of infinite recursion. fixed calculation in edge
19336 cases. [ruby-dev:31244]
19338 * numeric.c (rb_fix_lshift, rb_fix_rshift): ditto.
19340 Wed Jul 18 16:57:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19342 * bignum.c (rb_big_pow): refine overflow check. [ruby-dev:31242]
19344 Wed Jul 18 09:19:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19346 * parse.y (rb_parser_append_print, rb_parser_while_loop): moved check
19347 for node to the head.
19349 * ruby.c (proc_options): do nothing for -p/-n options if tree is null.
19350 submitted by Yusuke ENDOH <mame AT tsg.ne.jp> at [ruby-dev:31243].
19352 Wed Jul 18 08:47:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19354 * time.c (time_succ): Time#succ should return a time object in the
19355 same timezone mode to the original. [ruby-talk:260256]
19357 Mon Jul 16 23:07:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19359 * lib/base64.rb (Base64::b64encode): should not specify /o option
19360 for regular expression. [ruby-dev:31221]
19362 Mon Jul 16 22:57:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19364 * sprintf.c (rb_str_format): make %u behave like %d for negative
19365 values, since decimal format does not work with preceding dots.
19368 Mon Jul 16 18:29:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19370 * string.c (rb_str_rindex_m): accept string-like object convertible
19371 with #to_str method, as well as rb_str_index_m. [ruby-core:11692]
19373 Mon Jul 16 07:17:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19375 * insns.def (getspecial): lfp_svar_get() requires int for special
19378 Mon Jul 16 05:45:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19380 * sprintf.c (rb_f_sprintf): more checks for format argument.
19381 [ruby-core:11569], [ruby-core:11570], [ruby-core:11571],
19384 Mon Jul 16 00:26:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19386 * bignum.c (rb_big_pow): removed invariant variable. [ruby-dev:31236]
19388 Sun Jul 15 22:24:37 2007 pegacorn <subscriber.jp AT gmail.com>
19390 * ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222]
19392 * ext/digest/digest.c (rb_digest_instance_update,
19393 rb_digest_instance_finish, rb_digest_instance_reset,
19394 rb_digest_instance_block_length): %s in rb_raise() expects char*.
19397 * ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231]
19399 * ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231]
19401 * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise()
19402 instead of rb_raise(). [ruby-dev:31222]
19404 * ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232]
19406 * ext/syck/syck.h: include stdlib.h for malloc() and free().
19409 * ext/syck/syck.h (syck_parser_set_input_type): prototype added.
19412 * win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232]
19414 * include/ruby/win32.h (rb_w32_getcwd): prototype added.
19417 Sun Jul 15 21:07:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19419 * bignum.c (bigtrunc): do not empty Bignum. [ruby-dev:31229]
19421 Sun Jul 15 19:05:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19423 * bignum.c (rb_cstr_to_inum): check leading non-digits.
19426 Sun Jul 15 04:42:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19428 * bignum.c (get2comp): do nothing for empty Bignum. [ruby-dev:31225]
19430 Sat Jul 14 22:49:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19432 * numeric.c (fix_pow): integer power calculation: 0**n => 0,
19433 1**n => 1, -1**n => 1 (n: even) / -1 (n: odd).
19435 * test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test
19436 suite. pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf.
19438 Sat Jul 14 18:46:35 2007 Tanaka Akira <akr@fsij.org>
19440 * configure.in: add --with-valgrind.
19442 * gc.h (SET_MACHINE_STACK_END): new macro to replace
19443 rb_gc_set_stack_end. it find out accurate stack boundary by
19444 asm using gcc on x86.
19446 * thread.c (rb_gc_set_stack_end): don't define if asm-version
19447 SET_MACHINE_STACK_END is available.
19449 * gc.c (mark_current_machine_context): extracted from garbage_collect.
19450 it use SET_MACHINE_STACK_END to not scan out of stack area.
19451 it notify conservative GC information to valgrind if
19454 Sat Jul 14 14:04:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19456 * enum.c (sort_by_cmp): check if reentered. [ruby-dev:24291]
19458 Sat Jul 14 11:08:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19460 * ext/json/ext/generator/generator.c (check_max_nesting): wrong
19461 format specifier. a patch from pegacorn <subscriber.jp AT gmail.com>.
19464 Sat Jul 14 02:27:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19466 * numeric.c (int_pow): overflow detection using FIT_SQRT_LONG().
19469 Sat Jul 14 02:05:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19471 * insns.def (opt_div): LONG2FIX() may not work for corner cases,
19472 use LONG2NUM() instead. [ruby-dev:31210]
19474 Sat Jul 14 00:34:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19476 * numeric.c (int_round): should not return false, but self.
19479 Fri Jul 13 18:31:27 2007 Koichi Sasada <ko1@atdot.net>
19481 * include/ruby/intern.h: remove unused function declarations.
19483 * include/ruby/ruby.h: ditto.
19485 Fri Jul 13 17:32:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19487 * vm.c (vm_free): clear free'ed living_threads field.
19490 * insns.def (opt_succ): use cast to shut a warning up.
19492 Fri Jul 13 16:10:00 2007 Tanaka Akira <akr@fsij.org>
19494 * lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to access
19495 http_proxy environment variable to avoid case insensitive
19496 environment search.
19498 Fri Jul 13 15:02:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19500 * win32/win32.c (CreateChild): enclose command line except for
19501 command.com which can not handle quotes. [ruby-talk:258939]
19503 Fri Jul 13 11:33:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19505 * range.c (range_max, range_min): return nil for empty set as well as
19506 1.8 and Enumerable. [ruby-dev:31198]
19508 Fri Jul 13 11:28:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19510 * parse.y (bvar): semicolon was lost for ripper description.
19513 Fri Jul 13 11:25:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19515 * parse.y (program, stmt, primary): reduced duplicated code.
19517 * parse.y (dsym): convert also literals containing NUL to
19520 * parse.y (debug_lines): use rb_hash_lookup() to get rid of
19521 call of Hash#default.
19523 * parse.y (ripper_warningS): unused in ripper right now.
19525 Fri Jul 13 10:33:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19527 * array.c (rb_ary_flatten_bang): check argument if valid
19528 integer. [ruby-dev:31197]
19530 Fri Jul 13 10:10:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19532 * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expand
19533 ::CONFIG which is an alias of MAKEFILE_CONFIG.
19535 Thu Jul 12 21:38:02 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19537 * insns.def (opt_succ): use LONG_MAX as maximum Fixnum VALUE.
19540 Thu Jul 12 18:42:18 2007 Tanaka Akira <akr@fsij.org>
19542 * range.c (range_max): use FIX2LONG instead of FIX2INT to avoid
19543 RangeError by ((-0x80000001)...(-0x80000001)).max on LP64.
19545 * insns.def (opt_plus): use FIX2LONG instead of FIX2INT to avoid
19546 RangeError by 0x3fffffffffffffff+1 on LP64.
19548 * insns.def (opt_succ): don't use 0x80000000 which assumes 32bit VALUE.
19549 use FIX2LONG instead of FIX2INT.
19552 Thu Jul 12 17:03:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19554 * struct.c (rb_struct_init_copy): disallow changing the size.
19557 Thu Jul 12 12:58:21 2007 Koichi Sasada <ko1@atdot.net>
19559 * blockinlining.c: remove "yarv" prefix.
19561 * array.c, numeric.c: ditto.
19563 * insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
19565 * yarvcore.c: removed.
19567 * yarvcore.h: renamed to core.h.
19569 * cont.c, debug.c, error.c, process.c, signal.c : ditto.
19571 * ext/probeprofiler/probeprofiler.c: ditto.
19573 * id.c, id.h: added.
19577 * compile.c: rename internal functions.
19579 * compile.h: fix debug flag.
19581 * eval.c, object.c, vm.c: remove ruby_top_self.
19582 use rb_vm_top_self() instead.
19584 * eval_intern.h, eval_load: ditto.
19586 * gc.c: rename yarv_machine_stack_mark() to
19587 rb_gc_mark_machine_stack().
19589 * insnhelper.h: remove unused macros.
19591 * iseq.c: add iseq_compile() to create iseq object
19592 from source string.
19594 * proc.c: rename a internal function.
19596 * template/insns.inc.tmpl: remove YARV prefix.
19598 * thread.c: use rb_iseq_eval() and rb_str_new2().
19600 * vm.c (rb_iseq_eval): added.
19602 * vm.c: move some functions from yarvcore.c.
19604 * vm_dump.c: fix to remove compiler warning.
19606 Thu Jul 12 12:24:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19608 * insns.def (opt_succ): fixed typo. [ruby-dev:31189]
19610 Thu Jul 12 10:30:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19612 * thread.c (thread_start_func_2): moved prototye from thread_*.ci.
19614 * thread_pthread.ci (thread_start_func_2): not use a directive
19615 inside a macro argument. [ruby-talk:258763]
19617 * thread.c (thread_join): pthread_t may not be pointer.
19619 * thread_pthread.ci (ubf_select_each): ditto.
19621 Thu Jul 12 05:32:28 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19623 * include/ruby/ruby.h (FIX2ULONG): drop sign bit for LLP64 platform.
19625 Tue Jul 10 19:34:45 2007 Koichi Sasada <ko1@atdot.net>
19627 * hash.c (rb_hash_lookup): added. this function is similar to
19628 rb_hash_aref(), but doesn't call Hash#default when no entry
19631 * include/ruby/intern.h: ditto.
19633 * insnhelper.ci (lfp_svar_get): use rb_hash_lookup().
19635 Tue Jul 10 19:16:28 2007 Koichi Sasada <ko1@atdot.net>
19637 * eval.c, insnhelper.ci, vm.c: change cref index (-1 -> 2).
19639 Tue Jul 10 18:49:56 2007 Koichi Sasada <ko1@atdot.net>
19641 * eval.c (exec_under): add proper casts.
19643 Tue Jul 10 16:58:16 2007 Koichi Sasada <ko1@atdot.net>
19645 * vm.c, insnhelper.ci: fix svar interface.
19647 * compile.c (iseq_compile_each), yarvcore.h: fix to use new
19648 svar interface for flip flop.
19652 * insns.def: ditto.
19654 * include/ruby/intern.h: remove "rb_svar()" declaration.
19656 Tue Jul 10 16:52:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19658 * compile.c (rb_iseq_compile): formatted if/else to switch statement.
19660 Tue Jul 10 15:57:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19662 * bootstraptest/test_flip.rb: new test for flip-flop operator.
19664 Tue Jul 10 14:50:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19666 * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.
19668 Mon Jul 9 02:17:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19670 * cont.c (cont_restore_1): workaround for x64-mswin64's SEH.
19672 Sun Jul 8 02:08:53 2007 NARUSE, Yui <naruse@ruby-lang.org>
19674 * lib/json.rb, lib/json/, ext/json/: import JSON 1.1.1
19676 Sat Jul 7 21:59:29 2007 Tanaka Akira <akr@fsij.org>
19678 * lib/pp.rb (PP::PPMethods#pp_hash): sort condition changed:
19679 all keys have a same class which is kind of Comparable.
19681 Sat Jul 7 17:12:37 2007 Koichi Sasada <ko1@atdot.net>
19683 * compile.c: use rb_bug() instead of rb_compile_error().
19685 Sat Jul 7 16:12:48 2007 Koichi Sasada <ko1@atdot.net>
19687 * parse.y: fix node construction (around f_margs).
19690 * bootstraptest/test_block.rb: add a test for above.
19692 * insnhelper.ci: fix indent.
19694 Sat Jul 7 15:36:50 2007 Tanaka Akira <akr@fsij.org>
19696 * lib/pp.rb (PP::PPMethods#pp_hash): sort if
19697 all keys are strings, symbols or integers.
19699 Sat Jul 7 15:30:05 2007 Koichi Sasada <ko1@atdot.net>
19701 * insnhelper.ci (vm_yield_setup_args), vm.c, insns.def:
19702 fix to pass nil as block parameter to yielded block.
19705 * bootstraptest/test_block.rb: add a test for above.
19707 Fri Jul 6 19:55:10 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
19709 * lib/irb.rb: typo. Thanks, Giles Bowkett.
19711 * lib/irb/completion.rb: support Ruby1.9 changing return value
19712 String to Symbol for Object#methods, etc. [ruby-dev:31148].
19714 Fri Jul 6 18:20:50 2007 Koichi Sasada <ko1@atdot.net>
19716 * bootstraptest/runner.rb: fix load path.
19718 * common.mk: fix "test" rule to run with "btest".
19720 * rubytest.rb, sample/test.rb: fix to show tests progress.
19722 Fri Jul 6 15:37:48 2007 Koichi Sasada <ko1@atdot.net>
19724 * test/ruby/test_iterator.rb: fix test to 1.9 spec.
19726 Fri Jul 6 15:21:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19728 * eval.c (rb_interrupt): suppress a gcc's officious warning.
19730 Fri Jul 6 14:57:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19732 * parse.y (keyword_to_name): constified.
19734 * ext/ripper/eventids2.c (token_to_eventid): ditto.
19736 Fri Jul 6 14:50:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19738 * bootstraptest/runner.rb: added --quiet option.
19740 Fri Jul 6 14:35:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19742 * parse.y (f_marg): wrap f_norm_arg assignment node with NODE_LIST.
19745 Fri Jul 6 12:15:01 2007 Tanaka Akira <akr@fsij.org>
19747 * test/ruby/sentgen.rb: new file.
19749 * test/ruby/test_assignment.rb: tests implemented using assignment
19750 generator and emulator.
19752 Fri Jul 6 03:06:58 2007 Koichi Sasada <ko1@atdot.net>
19754 * insns.def: remove unused code.
19756 * compile.c (compile_massign): fix to invoke to_splat on
19757 splat rhs (example: *a = *nil). [ruby-dev:31136]
19759 * bootstraptest/test_massign.rb: add tests for above.
19761 * compile.c (iseq_compile_each): disable excess optimization.
19764 Fri Jul 6 02:08:25 2007 Koichi Sasada <ko1@atdot.net>
19766 * insns.def: fix to invoke nil.to_splat on NODE_ARGSCAT.
19769 * bootstraptest/test_literal.rb: add tests for above.
19771 Thu Jul 5 19:45:55 2007 Koichi Sasada <ko1@atdot.net>
19773 * yarvcore.h: rename rb_control_frame_t#magic to flag.
19775 * vm.h: add VM_FRAME_TYPE() and VM_FRAME_FLAG().
19777 * cont.c, insnhelper.ci, insns.def, vm.c, vm_dump.c,
19778 vm_evalbody.ci, yarvcore.c: apply above changes.
19780 Thu Jul 5 19:16:14 2007 Koichi Sasada <ko1@atdot.net>
19782 * test/ruby/test_basicinstructions.rb: remove an assertion using
19783 unsupported hash literal (such as {1, 2}).
19785 * test/ruby/test_hash.rb: ditto.
19787 Thu Jul 5 19:12:22 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19789 * ruby.c: Qfalse is VALUE, not pointer.
19791 Thu Jul 5 18:42:01 2007 Koichi Sasada <ko1@atdot.net>
19793 * compile.c (iseq_compile_each): add break catch point.
19795 * insns.def (throw): support correct "break" and "return".
19796 this commit achieve that "make test" passes all tests.
19800 Thu Jul 5 18:44:12 2007 Tanaka Akira <akr@fsij.org>
19802 * parse.y (mlhs_basic): use mlhs_post after tSTAR.
19805 Thu Jul 5 18:27:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19807 * include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,
19808 eval_load.c, gc.c, iseq.c, main.c, parse.y, re.c, ruby.c,
19809 yarvcore.[ch] (ruby_eval_tree, ruby_sourcefile, ruby_sourceline,
19810 ruby_nerrs): purge global variables.
19812 * ruby.c (proc_options): moved do_print and do_loop options
19813 handling from ruby_process_options().
19815 Thu Jul 5 16:37:34 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19817 * numeric.c (int_pow): fix previous nubu's commit.
19819 * test/ruby/test_fixnum.rb: new test.
19821 Thu Jul 5 15:56:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19823 * numeric.c (int_pow): even number multiplication never be negative.
19825 Thu Jul 5 10:42:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19827 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
19828 support. [ruby-dev:31066]
19830 * .gdbinit: some improvements.
19832 Thu Jul 5 10:13:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19834 * parse.y (global_symbols.last_id): reduce unused ID numbers.
19836 * include/ruby/st.h, st.c (st_init_table, st_init_table_with_size):
19839 Wed Jul 4 23:36:27 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
19841 * lib/webrick/httpauth/authenticator.rb
19842 (WEBrick::HTTPAuth::Authenticator#check_scheme): auth-scheme must be
19843 treated as a case-insensitive token according to RFC 2617 section 1.2.
19845 Wed Jul 4 18:30:04 2007 Tanaka Akira <akr@fsij.org>
19847 * parse.y (mlhs_inner): new rule. [ruby-dev:31132]
19849 Wed Jul 4 05:11:57 2007 Koichi Sasada <ko1@atdot.net>
19851 * iseq.c (set_relation): added.
19853 Wed Jul 4 04:58:30 2007 Koichi Sasada <ko1@atdot.net>
19855 * insnhelper.ci (caller_setup_args): fix to show correct class
19856 on an error message (ex: m(&1)). [ruby-dev:31101]
19858 Wed Jul 4 04:30:32 2007 Koichi Sasada <ko1@atdot.net>
19860 * compile.c (compile_array, iseq_compile_each): fix about array
19861 generation in void context. [ruby-dev:31102]
19863 * bootstraptest/test_literal.rb: add a test for above.
19865 Wed Jul 4 04:07:00 2007 Koichi Sasada <ko1@atdot.net>
19867 * compile.c (compile_array): ignore NODE_ZARRAY.
19870 * bootstraptest/test_method.rb: add a test for above.
19872 Wed Jul 4 04:04:02 2007 Koichi Sasada <ko1@atdot.net>
19874 * compile.h: fix debug print level.
19876 Wed Jul 4 03:52:55 2007 Koichi Sasada <ko1@atdot.net>
19878 * compile.c (iseq_compile_each): support v[&b]= type method call.
19881 * bootstraptest/test_method.rb: add a test for above.
19883 Wed Jul 4 03:43:29 2007 Koichi Sasada <ko1@atdot.net>
19885 * compile.c (compile_massign): fix massign compilation
19886 (example: a, *v, (*x) = ...). [ruby-dev:31107]
19888 * bootstraptest/test_massign.rb: add tests for above.
19890 Tue Jul 3 23:12:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19892 * include/ruby/onigiruma.h (ONIG_EXTERN): use RUBY_EXTERN if defined.
19894 * regenc.h: include ruby/defines.h.
19896 * regint.h: x64-mswin64 support.
19898 Tue Jul 3 13:47:44 2007 Koichi Sasada <ko1@atdot.net>
19900 * cont.c (cont_save_machine_stack): clear saved_thread.machine_stack*.
19902 Mon Jul 2 21:45:53 2007 Koichi Sasada <ko1@atdot.net>
19904 * compile.c: rename iseq_translate_direct_threaded_code()
19905 to iseq_translate_threaded_code().
19907 * eval_intern.h, yarvcore.h: mv EXEC_EVENT_HOOK() and
19908 exec_event_hooks() to yarvcore.h.
19910 * insnhelper.ci, vm.c: mv yarv_finish_insn_seq to vm.c.
19912 * insns.def (opt_call_c_function): fix to use RESTORE_REGS().
19914 * iseq.c (rb_iseq_build_for_ruby2cext): fix to allocate iseq.
19916 Mon Jul 2 11:59:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19918 * insns.def (defineclass): suppress a warning.
19920 * insns.def (opt_call_c_function): should raise the thrown exception
19921 instead of returning it.
19923 Mon Jul 2 08:53:47 2007 Koichi Sasada <ko1@atdot.net>
19925 * eval_intern.h, yarvcore.h: move declaration of sysstack_error
19928 * iseq.c: fix symbol name (:toplevel -> :top).
19930 * lib/vm/instruction.rb, template/vm.inc.tmpl: replaceable
19933 Mon Jul 2 05:29:07 2007 Koichi Sasada <ko1@atdot.net>
19935 * compile.c, iseq.c: fix iseq some of load/store process.
19937 Mon Jul 2 03:09:36 2007 Koichi Sasada <ko1@atdot.net>
19939 * yarvcore.h, compile.c, insnhelper.ci, iseq.c, vm.c:
19940 rename structure names and field names.
19942 * insnhelper.h, insns.def: add GET_CONST_INLINE_CACHE().
19944 * iseq.c: add rb_iseq_build_for_ruby2cext().
19946 * yarvcore.h, vm.h: move declaration of rb_insn_func_t
19949 Sun Jul 1 03:25:53 2007 Koichi Sasada <ko1@atdot.net>
19951 * insnhelper.h, vm.h: some refactoring.
19952 remove useless comments, etc.
19954 Sun Jul 1 03:02:29 2007 Koichi Sasada <ko1@atdot.net>
19956 * yarvcore.h: some refactoring on rb_iseq_t.
19957 rename some variable names, add comments, etc.
19959 * compile.c, iseq.c, proc.c, vm.c: ditto.
19961 Sun Jul 1 02:57:57 2007 Koichi Sasada <ko1@atdot.net>
19963 * vm.h: rename insn_func_type to rb_insn_func_type.
19965 * vm_evalbody.ci: ditto.
19967 * insns.def: add opt_call_native_compiled instruction
19968 instead of opt_call_native_compiled.
19970 Sat Jun 30 00:17:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19972 * parse.y (parser_yylex): return non-valid token for an invalid
19973 instance/class variable name. a patch from Yusuke ENDOH
19974 <mame AT tsg.ne.jp>. [ruby-dev:31095]
19976 Fri Jun 29 23:38:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19978 * parse.y (stmts): fix for ripper.
19980 Fri Jun 29 21:55:48 2007 Koichi Sasada <ko1@atdot.net>
19982 * parse.y: fix to show line number of blank block.
19985 Fri Jun 29 20:51:04 2007 Tanaka Akira <akr@fsij.org>
19987 * lib/cgi/session.rb (create_new_id): don't cut off md5.hexdigest to
19990 Fri Jun 29 17:10:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19992 * debug.h: constified.
19994 * debug.c (ruby_set_debug_option): separated from main.c.
19996 * gc.c (ruby_gc_stress), signal.c (ruby_enable_coredump): prefixed.
19998 Fri Jun 29 16:39:06 2007 Koichi Sasada <ko1@atdot.net>
20000 * proc.c (proc_new): fix to return a proc object
20001 which block is contained ([ruby-dev:31056]).
20003 Fri Jun 29 15:43:59 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20005 * numeric.c (fix_pow): get rid of division by zero. reported by
20006 Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:31040]
20008 * numeric.c (int_round): do nothing when rounding by zeroth digit.
20009 check underflow. [ruby-dev:31043]
20011 Fri Jun 29 15:32:00 2007 Koichi Sasada <ko1@atdot.net>
20013 * configure.in: add fastcall attribute check.
20015 Fri Jun 29 14:51:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20017 * parse.y (assoc_list): remove expanded hash literal (no splat).
20019 * lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::EOFError): adapt
20022 Fri Jun 29 14:48:18 2007 Koichi Sasada <ko1@atdot.net>
20024 * tool/insns2vm.rb, lib/vm/instruction.rb: move process body
20025 to lib/vm/instruction.rb.
20027 * common.mk: fix aotc rule.
20028 experimental. bin/ruby2cext is not added yet.
20030 Fri Jun 29 11:23:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20032 * parse.y (dsym): return non-null NODE even if yyerror(). based on a
20033 patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085]
20035 Thu Jun 28 23:29:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20037 * parse.y (assoc_list): odd number check only for NODE_ARRAY.
20040 Thu Jun 28 22:24:33 2007 Koichi Sasada <ko1@atdot.net>
20042 * win32/Makefile.sub: define FUNC_FASTCALL macro.
20044 * vm.h: fix to use FUNC_FASTCALL macro.
20045 TODO: add FUNC_FASTCALL macro by configure.
20047 Thu Jun 28 19:38:53 2007 Koichi Sasada <ko1@atdot.net>
20049 * compile.c: fix to remove -Wall warnings on gcc.
20051 * compile.c (make_name_with_str): removed. use rb_sprintf() instead.
20053 Thu Jun 28 18:53:01 2007 Tanaka Akira <akr@fsij.org>
20055 * bignum.c (rb_big_hash): fix hash area.
20057 Thu Jun 28 15:00:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20059 * ext/stringio/stringio.c (strio_getline): local variable to be
20060 initialized. [ruby-dev:31077]
20062 Thu Jun 28 11:30:39 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20064 * gc.c (rb_obj_id): use SIGNED_VALUE instead of long.
20066 Thu Jun 28 05:01:56 2007 Koichi Sasada <ko1@atdot.net>
20068 * common.mk (run.gdb): fix to load $(srcdir)/.gdbinit
20070 * vm.c (rb_vm_set_finish_env): add a cast.
20072 * vm.h: support __fastcall for MSVC.
20074 Thu Jun 28 02:12:08 2007 Koichi Sasada <ko1@atdot.net>
20076 * bootstraptest/runner.rb: fix to untouch $:.
20078 Thu Jun 28 02:03:07 2007 Koichi Sasada <ko1@atdot.net>
20080 * compile.c (setup_args): change parameter type.
20082 Thu Jun 28 02:03:39 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20084 * parse.y (rb_intern2): unconstify cast.
20086 Thu Jun 28 01:44:31 2007 Tanaka Akira <akr@fsij.org>
20088 * parse.y (rb_intern2): don't allocate a string object at first.
20091 Thu Jun 28 01:24:02 2007 Koichi Sasada <ko1@atdot.net>
20093 * bootstraptest/runner.rb: fix to show file name.
20095 * bootstraptest/test_*.rb: add bootstrap tests.
20097 Thu Jun 28 01:22:15 2007 Koichi Sasada <ko1@atdot.net>
20099 * include/ruby/node.h, parse.y, gc.c, iseq.c: remove NODE_CREF.
20101 Thu Jun 28 01:19:43 2007 Koichi Sasada <ko1@atdot.net>
20103 * compile.c (iseq_compile_each): fix popped backref and others.
20104 ([ruby-dev:31068]).
20106 * compile.c (iseq_compile_each): remove needless statements.
20108 Wed Jun 27 23:51:33 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20110 * win32/win32.c: remove unused functions.
20112 Wed Jun 27 20:46:05 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20114 * include/ruby/win32.h, win32/Makefile.sub, win32/configure.bat,
20115 win32/mkexports.rb, win32/setup.mak, win32/win32.c: import
20118 Wed Jun 27 20:31:07 2007 Koichi Sasada <ko1@atdot.net>
20120 * compile.c (iseq_translate_direct_threaded_code): fix prototype
20123 * vm.h: add correct cast.
20125 Wed Jun 27 17:08:42 2007 Koichi Sasada <ko1@atdot.net>
20127 * vm_evalbody.ci: support OPT_CALL_THREADED_CODE.
20129 * insns.def, vm.c, vm.h: ditto.
20131 * vm.h: add VM_CFP_CNT() and VM_SP_CNT().
20133 Wed Jun 27 04:23:47 2007 Koichi Sasada <ko1@atdot.net>
20135 * compile.c (iseq_compile_each): fix type error.
20137 Wed Jun 27 03:26:15 2007 Koichi Sasada <ko1@atdot.net>
20139 * compile.c (compile_massign), insns.def (expandarray): support
20140 postarg with massign (a, *b, c = ...).
20142 * bootstraptest/test_massign.rb: add tests for above.
20144 * compile.h: fix debug macro names.
20146 Wed Jun 27 00:18:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20148 * string.c (rb_str_clear): need to check STR_EMBED_P() before
20149 free()ing memory. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
20152 Tue Jun 26 16:39:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20154 * process.c (proc_getgroups): use GIDT2NUM for rb_gid_t.
20156 Tue Jun 26 16:28:24 2007 Koichi Sasada <ko1@atdot.net>
20158 * thread.c (rb_thread_wait_fd_rw): terminate fdset.
20160 Tue Jun 26 16:26:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20162 * regint.h: IL32LLP64 support.
20164 Tue Jun 26 16:22:45 2007 Koichi Sasada <ko1@atdot.net>
20166 * iseq.c (ruby_node_name): update node names.
20168 Tue Jun 26 15:21:20 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20170 * include/ruby/ruby.h: IL32LLP64 support.
20172 * bignum.c (bigfixize, rb_cstr_to_inum): ditto.
20174 * insns.def (opt_plus, opt_minus, opt_mult): ditto.
20176 Tue Jun 26 15:04:06 2007 Koichi Sasada <ko1@atdot.net>
20178 * cont.c (rb_fiber_s_new): revert initializing VM stack.
20180 * yarvcore.c (th_init2): ditto.
20182 * vm.c, vm.h: fix to stop using Qundef on VM stack. According to
20183 this change, VM stack should not include Qundef value.
20185 * insns.def (putundef): removed.
20187 * compile.c (iseq_compile_each): ditto.
20189 * eval.c (eval): fix spacing.
20191 Tue Jun 26 04:03:50 2007 Koichi Sasada <ko1@atdot.net>
20193 * insnhelper.ci (vm_yield_with_cfunc), proc.c: fix Method#to_proc
20194 to return lambda Proc ([ruby-dev:31021], [ruby-dev:31037]).
20196 Tue Jun 26 03:46:08 2007 Koichi Sasada <ko1@atdot.net>
20198 * cont.c (rb_fiber_s_new): fix to clear rb_thread_t#tag.
20201 Tue Jun 26 03:38:31 2007 Koichi Sasada <ko1@atdot.net>
20203 * cont.c (rb_fiber_s_new), yarvcore.c (th_init2): fix to clear
20204 VM stack ([ruby-dev:31046]).
20206 Tue Jun 26 03:15:27 2007 Koichi Sasada <ko1@atdot.net>
20208 * compile.c: rename setup_arg() to setup_args().
20209 fix to use setup_args() at processing NODE_YIELD.
20211 Tue Jun 26 02:50:24 2007 Koichi Sasada <ko1@atdot.net>
20213 * compile.c (setup_arg): support kind of "m(*ary, x)" method call.
20214 ([ruby-dev:31048]).
20216 Tue Jun 26 00:28:44 2007 Koichi Sasada <ko1@atdot.net>
20218 * insnhelper.ci, vm.c: complete block parameter support.
20219 post arguments, optional arguments, block argument.
20221 * compile.c, parse.y: fix {|a|} parameter.
20223 * insnshelper.ci, insns.def: revert caller_setup_args() option
20224 (need_block_check) parameter.
20226 Mon Jun 25 20:18:44 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20228 * gc.c (RVALUE): in RVALUE and RBasic, flags must be the same type.
20230 Mon Jun 25 18:02:55 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20232 * ext/pty/extconf.rb: skip wince and win64.
20234 Mon Jun 25 17:59:32 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20236 * include/ruby/node.h (NODE_LMASK, nd_line): shouldn't use int and/or
20239 Mon Jun 25 11:36:35 2007 Koichi Sasada <ko1@atdot.net>
20241 * gc.h: add RUBY_ prefix to debug macros.
20243 * cont.c, proc.c, yarvcore.c,
20245 * gc.c: define ruby_gc_debug_indent variable to debug mark/free.
20247 * vm.c, insnhelper.ci: rename some functions to vm_* or rb_vm_*.
20248 move some functions, definitions, declarations to suitable files.
20250 * eval.c, yarvcore.h, eval_error.ci, insnhelper.ci: ditto.
20252 Mon Jun 25 09:45:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20254 * eval_error.ci, eval_jump.ci, eval_method.ci, eval_safe.ci: c-mode.
20256 Mon Jun 25 05:27:54 2007 Koichi Sasada <ko1@atdot.net>
20258 * eval.c: remove ruby_current_node and change eval() prototype.
20259 fix to use rb_sourcefile/line() instead of ruby_sourcefile/line.
20261 * error.c, eval_error.ci, eval_load.c, eval_safe.ci, gc.c,
20262 include/ruby/intern.h, parse.y, process.c, ruby.c: ditto.
20264 * vm.c: fix spaces.
20266 Mon Jun 25 04:20:14 2007 Koichi Sasada <ko1@atdot.net>
20268 * eval_*.h: rename to eval_*.ci.
20270 * common.mk: ditto.
20272 * eval_error.ci: remove ruby_set_current_source().
20274 * error.c, eval.c, ruby.c: ditto.
20276 * eval_safe.c, proc.c: remove unused macros.
20278 Mon Jun 25 03:37:20 2007 Koichi Sasada <ko1@atdot.net>
20280 * insnhelper.ci (caller_setup_args): add need_block_check option.
20282 * insns.def: ditto.
20284 * yarvcore.h: add GetCoreDataFromValue().
20286 Mon Jun 25 02:14:30 2007 Koichi Sasada <ko1@atdot.net>
20288 * call_cfunc.ci: removed.
20290 * insnhelper.ci: added. this function includes all functions that
20293 * common.mk: ditto.
20295 * insnhelper.h, vm.h, vm.c: move some declaration.
20297 * gc.h: remove GC_CHECK() macro because GC.stress is more useful.
20299 * compile.c, iseq.c, vm_dump: ditto.
20301 * gc.h, thread.c: move a prototype declaration.
20303 * debug.c, debug.h: rename some functions.
20305 * compile.h: ditto.
20307 Mon Jun 25 00:45:02 2007 Koichi Sasada <ko1@atdot.net>
20309 * insns.def (invokesuper): fix error message.
20311 Mon Jun 25 00:14:13 2007 Koichi Sasada <ko1@atdot.net>
20313 * vm.c: some refactoring.
20314 * rename th_* to vm_*.
20315 * remove unused variables functions.
20318 * blockinlining.c, compile.c, cont.c, eval.c, eval_intern.h,
20319 eval_jump.h, eval_load.c, inits.c, insns.def, iseq.c, parse.y,
20320 proc.c, process.c, signal.c, thread.c, vm.c, vm_dump.c,
20321 vm_evalbody.ci, yarvcore.c, yarvcore.h: ditto.
20323 Sun Jun 24 22:32:00 2007 Koichi Sasada <ko1@atdot.net>
20325 * eval_method.h (rb_add_method): fix to check 0.
20327 Sun Jun 24 22:00:17 2007 Koichi Sasada <ko1@atdot.net>
20329 * insn_send.ci: removed.
20331 * common.mk: ditto.
20333 * vm.c (vm_call_bmethod), isnsn.def: added. fix to use this
20334 function instead of using goto.
20336 * vm.c (vm_call_bmethod): renamed from th_invoke_bmethod().
20338 * vm.c (vm_method_missing): renamed from eval_method_missing().
20340 * vm_evalbody.ci: remove tmp_* variables.
20342 * insnhelper.h: add some macros.
20344 * insns.def: forbid zsuper from method defined by define_method().
20346 * test/ruby/test_super.rb: ditto.
20348 Sun Jun 24 20:01:08 2007 Koichi Sasada <ko1@atdot.net>
20350 * vm_macro.def: removed.
20352 * insn_send.ci: added. this file includes send instruction body.
20354 * common.mk: ditto.
20356 * insns.def: ditto.
20358 * tool/insns2vm.rb: ditto.
20362 Sun Jun 24 19:30:37 2007 Koichi Sasada <ko1@atdot.net>
20364 * insnhelper.h (RESTORE_REGS): add do/while(0) around macro.
20366 * vm.c, vm_macro.def: remove macro_eval_invoke_func() and
20367 add vm_setup_method(). use it instead.
20369 Sun Jun 24 19:02:33 2007 Koichi Sasada <ko1@atdot.net>
20371 * vm.c, vm_macro.def : remove macro_eval_invoke_cfunc() and
20372 add vm_call_cfunc().
20374 Sun Jun 24 17:54:13 2007 Koichi Sasada <ko1@atdot.net>
20376 * insns.def, vm.c: add/fix stack overflow check.
20378 Sun Jun 24 17:28:52 2007 Koichi Sasada <ko1@atdot.net>
20380 * insnhelper.h: change CHECK_STACK_OVERFLOW() to throw exception.
20382 * vm.c (caller_setup_arg), vm_macro.def: remove
20383 macro_eval_setup_send_arguments and add caller_setup_arg().
20385 * insns.def: ditto.
20387 * bootstraptest/test_method.rb: add splat arg tests.
20389 Sun Jun 24 16:35:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20391 * proc.c (proc_to_s): used a variable before initialized.
20393 Sun Jun 24 16:05:45 2007 Koichi Sasada <ko1@atdot.net>
20395 * vm.c (callee_setup_arg): added. support correct post arg.
20397 * vm_macro.def (macro_eval_invoke_func): fix to use
20400 * compile.c (set_arguments): adjust for above changes.
20402 * compile.c (iseq_compile_each): ditto.
20404 * iseq.c (ruby_iseq_disasm): ditto.
20406 * yarvcore.h: add rb_iseq_t#post_arg_start and arg_size.
20408 * bootstraptest/test_method.rb: add post arg tests.
20410 Sun Jun 24 16:10:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20412 * proc.c (proc_to_s): suppress warning, and reduced duplicated code.
20414 Sun Jun 24 15:33:47 2007 Koichi Sasada <ko1@atdot.net>
20416 * bootstraptest/runner.rb: set default directory to
20417 '/tmp/bootstraptest.tmpwd' and add --dir option.
20418 fix to output driver and target information.
20420 * common.mk: fix to run btest on BASERUBY and
20421 add OPTS to pass option ("make btest OPTS=...").
20423 Sun Jun 24 03:05:00 2007 Tanaka Akira <akr@fsij.org>
20425 * enum.c (enum_minmax): fix SEGV by [].minmax.
20427 Sat Jun 23 17:18:19 2007 Tanaka Akira <akr@fsij.org>
20429 * re.c (match_inspect): MatchData#inspect implemented.
20431 Sat Jun 23 15:00:16 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20433 * enum.c (enum_minmax): new method to get the minimum and maximum
20434 values from the enumerable at once.
20436 * enum.c (enum_minmax_by): ditto.
20438 Sat Jun 23 01:25:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20440 * hash.c (rb_hash_assoc): new method.
20442 * hash.c (rb_hash_rassoc): ditto.
20444 * hash.c (rb_hash_flatten): ditto.
20446 Fri Jun 22 23:55:59 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20448 * string.c (rb_str_upto): add optional argument to specify
20451 * range.c (range_step): use String#upto with optional argument.
20453 * range.c (range_each): ditto.
20455 Fri Jun 22 19:55:51 2007 Tanaka Akira <akr@fsij.org>
20457 * proc.c (proc_to_s): revert the change from %p to %lx at YARV
20460 Fri Jun 22 19:33:49 2007 Tanaka Akira <akr@fsij.org>
20462 * proc.c (proc_to_s): show is_lambda.
20464 Thu Jun 21 20:36:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20466 * hash.c (rb_hash_sort): remove hash specific implementation.
20468 Thu Jun 21 20:28:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20470 * hash.c (rb_hash_select): returns new hash, not assoc array.
20473 * hash.c (env_select): ditto.
20475 Thu Jun 21 23:08:19 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20477 * parse.y (rb_intern2): ID_JUNK test based on len, not by NUL.
20479 Thu Jun 21 19:42:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20481 * yarvcore.c (rb_thread_mark): mark also thrown_errinfo.
20483 Thu Jun 21 17:13:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20485 * parse.y (rb_intern2): name may not be NUL-terminated.
20487 Wed Jun 20 08:27:57 2007 Tanaka Akira <akr@fsij.org>
20489 * eval_error.h (error_print): show full stacktrace on
20490 non-SystemStackError.
20492 Wed Jun 20 04:45:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20494 * parse.y (rb_intern2): use rb_intern2 to intern without trailing
20497 * parse.y (rb_intern2, ripper_id2sym): fixed indent.
20499 Tue Jun 19 10:55:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20501 * eval_load.c (load_ext, rb_require_safe): pass VALUE instead of
20502 pointer. [ruby-Bugs-11659]
20504 Mon Jun 18 08:47:54 2007 Technorama Ltd. <oss-ruby@technorama.net>
20506 * ext/openssl/{extconf.rb,ossl_ssl_session.c}:
20507 Fix ruby-Bugs-11513.
20509 * ext/openssl/ossl_pkey_ec.c
20510 New methods EC::Point.[eql,make_affine!,invert!,on_curve?,infinity?]
20511 By default output the same key form as the openssl command.
20513 * ext/openssl/ossl_rand.c
20514 New method Random.status?
20516 * test/openssl/test_ec.rb
20519 Mon Jun 18 17:04:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20521 * eval_load.c (rb_require_safe, ruby_init_ext): load with ruby level
20522 cfp. [ruby-core:10779]
20524 * eval_intern.h, vm.c (rb_vm_call_cfunc): new function to call a
20525 function with ruby level cfp.
20527 Mon Jun 18 16:57:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20529 * parse.y (yycompile): disable trace while creating ruby_debug_lines.
20532 * thread.c (ruby_suppress_tracing): new function to call a function
20533 with suppressing trace.
20535 * lib/debug.rb, lib/tracer.rb: for YARV.
20537 Mon Jun 18 13:54:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20539 * eval.c (ruby_cleanup): return EXIT_FAILURE if any exceptions occurred
20540 in at_exit blocks. [ruby-core:11263]
20542 Mon Jun 18 02:49:16 2007 Koichi Sasada <ko1@atdot.net>
20544 * vm.c (env_mark): fix to mark block.proc.
20546 * vm.c (th_make_proc_from_block): set created proc to block->proc.
20548 Mon Jun 18 02:48:12 2007 Koichi Sasada <ko1@atdot.net>
20550 * vm_dump.c (vm_stack_dump_raw): hide VM stack trace.
20552 Mon Jun 18 02:43:53 2007 Koichi Sasada <ko1@atdot.net>
20554 * signal.c (sigsegv): clear gc_stress flag on SEGV.
20556 Mon Jun 18 01:14:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20558 * variable.c (rb_path2class): get rid of dangling pointer caused by
20559 optimized out value.
20561 * variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable,
20562 rb_generic_ivar_table, generic_ivar_get, generic_ivar_set,
20563 generic_ivar_defined, generic_ivar_remove, rb_mark_generic_ivar,
20564 rb_free_generic_ivar, rb_copy_generic_ivar,
20565 rb_obj_instance_variables): suppress warnings.
20567 Sun Jun 17 11:11:07 2007 Tanaka Akira <akr@fsij.org>
20569 * eval.c (rb_method_missing): avoid a warning "too many arguments
20570 for format string" on "./ruby -ve 'def m() super end; m'".
20572 Sat Jun 16 22:24:17 2007 Tanaka Akira <akr@fsij.org>
20574 * gc.c (garbage_collect): re-introduce ruby_current_node marking code.
20577 Sat Jun 16 21:37:43 2007 Tanaka Akira <akr@fsij.org>
20579 * gc.c (gc_sweep): re-introduce heap extension strategy change.
20582 Fri Jun 15 22:59:37 2007 Tanaka Akira <akr@fsij.org>
20584 * .gdbinit: new file to ease debugging using gdb.
20586 Fri Jun 15 22:33:55 2007 Tanaka Akira <akr@fsij.org>
20588 * signal.c (default_handler): func argument removed.
20589 (trap_handler): support SYSTEM_DEFAULT. call default_handler
20591 (sig_trap): don't call default_handler.
20594 Fri Jun 15 22:33:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20596 * common.mk (realclean): separate local and ext.
20598 * ext/extmk.rb: not remove unrelated directories.
20600 Fri Jun 15 20:50:02 2007 Tanaka Akira <akr@fsij.org>
20602 * keywords: enclose C code in declaration section by %{ and %} to
20603 avoid extra semicolon after #ifdef RIPPER.
20606 Fri Jun 15 18:56:52 2007 Tanaka Akira <akr@fsij.org>
20608 * signal.c (trap_handler): trap("SIGSEGV", "DEFAULT") may cause wrong
20609 trap error because SIG_DFL may be zero.
20611 Fri Jun 15 15:55:55 2007 Koichi Sasada <ko1@atdot.net>
20613 * insns.def (setconstant, toregexp): fix to mark object correctly.
20615 Fri Jun 15 13:24:18 2007 Koichi Sasada <ko1@atdot.net>
20617 * hash.c: exchange semantics of Hash#each and Hash#each_pair.
20618 pointed out by [ruby-dev:30997].
20620 * test/ruby/test_iterator.rb: ditto.
20622 * test/ruby/test_yield.rb: ditto.
20624 Fri Jun 15 12:38:29 2007 Koichi Sasada <ko1@atdot.net>
20626 * test/ruby/test_iterator.rb: remove debug code (GC.stress=true).
20628 Fri Jun 15 12:25:33 2007 Koichi Sasada <ko1@atdot.net>
20630 * vm.c (th_yield_setup_args): |v| should work as |v,|.
20631 ex) def m;yield 1, 2; end; m{|v| p v} #=> 1
20633 * parse.y: apply above change for "for" statement.
20635 * test/ruby/test_assignment.rb: ditto
20637 * test/ruby/test_basicinstructions.rb: ditto.
20639 * test/ruby/test_iterator.rb: ditto.
20641 * test/ruby/test_yield.rb: ditto.
20643 * compile.c (iseq_compile_each): fix debug.
20645 Fri Jun 15 12:22:10 2007 Koichi Sasada <ko1@atdot.net>
20647 * eval.c (ruby_finalize_1): rb_thread_t#errinfo should be clear with
20650 Fri Jun 15 12:20:11 2007 Koichi Sasada <ko1@atdot.net>
20652 * cont.c (rb_cont_call): forbid cross fiber continuation call.
20654 * test/ruby/test_fiber.rb: ditto.
20656 Fri Jun 15 12:14:07 2007 Koichi Sasada <ko1@atdot.net>
20658 * sample/test.rb: fix to show line information whether test succeeds.
20660 Thu Jun 14 17:16:05 2007 Tanaka Akira <akr@fsij.org>
20662 * eval_load.c (Init_load): delay allocating an array for rb_load_path
20663 to avoid GC problem in very early stage.
20664 (RUBY_GC_STRESS causes GC in such stage.)
20666 * variable.c (rb_gc_mark_global_tbl): rb_global_tbl may be 0 in
20669 * thread.c (thread_cleanup_func) [IA64]: clear register stack position.
20670 (thread_start_func_2) [IA64]: record the beginning of register
20671 stack using extra argument.
20672 (rb_gc_save_machine_context) [IA64]: record the end of register
20675 * gc.c [IA64] (SET_STACK_END): record the end of register stack.
20676 (garbage_collect) [IA64]: use recorded register stack area for
20678 (yarv_machine_stack_mark) [IA64]: GC mark from the register stack
20681 * yarvcore.c [IA64] (rb_gc_register_stack_start): defined.
20682 (Init_VM): store th->self on stack to fix GC problem.
20683 (Init_yarv) [IA64]: initialize the beginning of register stack.
20685 * yarvcore.h (struct rb_thread_struct) [IA64]: new members for
20686 register stack area.
20688 * thread_pthread.ci (thread_start_func_1) [IA64]: call
20689 thread_start_func_2 with the end of register stack.
20691 * cont.c (struct rb_context_struct) [IA64]: new members for register
20693 (cont_mark) [IA64]: GC mark from register stack area.
20694 (cont_free) [IA64]: free saved register stack.
20695 (cont_save_machine_stack) [IA64]: record the position and contents
20696 of the register stack.
20697 (cont_capture): store cont->self on stack to fix GC problem.
20698 (cont_restore_1) [IA64]: restore the register stack.
20699 [IA64] (register_stack_extend): new function.
20700 (cont_restore_0) [IA64]: call register_stack_extend instead of
20705 Thu Jun 14 17:09:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20707 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more
20708 extensions. [ruby-dev:30972]
20710 Thu Jun 14 14:40:42 2007 Tanaka Akira <akr@fsij.org>
20712 * lib/securerandom.rb: document updated.
20713 suggested by NaHi. [ruby-dev:30966]
20715 Wed Jun 13 22:42:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20717 * gc.c (garbage_collect): update IA64 register stack code.
20720 Wed Jun 13 06:05:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20722 * configure.in (darwin): prohibit loading extension libraries to
20725 Tue Jun 12 21:50:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20727 * parse.y (call_args): no allow splat after assocs. takes
20728 consistency over compatibility.
20730 * parse.y (call_args2): ditto
20732 Tue Jun 12 14:53:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20734 * lib/mkmf.rb (Logging.quiet, Logging.message): added quiet flag and
20735 use it. [ruby-core:10909]
20737 * lib/mkmf.rb (find_header): use header names in the message.
20739 Sun Jun 10 18:37:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20741 * ext/probeprofiler/probeprofiler.c: clean warnings.
20743 Sun Jun 10 18:32:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20745 * missing/isinf.c, missing/dup2.c, missing/strtod.c, missing/x68.c,
20746 missing/alloca.c: use "ruby/config.h".
20748 Sun Jun 10 17:49:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20750 * instruby.rb (install_recursive): should check parent directories of
20751 the destination. [ruby-dev:30947]
20753 Sun Jun 10 16:59:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20755 * parse.y (do_block, brace_block): fix line numbers. [ruby-dev:30831]
20757 Sun Jun 10 16:57:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20759 * instruby.rb (install_recursive): add :glob option rather than
20762 * instruby.rb (ext-comm): make header directory first.
20764 Sun Jun 10 16:10:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20766 * test/ruby/test_beginendblock.rb: typo.
20768 Sun Jun 10 16:07:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20770 * instruby.rb (install_recursive): skip .svn directories.
20772 Sun Jun 10 15:44:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20774 * win32/Makefile.sub (config.status): rubyhdrdir was missing.
20776 Sun Jun 10 15:26:36 2007 Tanaka Akira <akr@fsij.org>
20778 * Makefile.in: use --output-file for gperf to not leave lex.c.tmp.
20780 Sun Jun 10 15:11:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20782 * Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.
20784 * ext/extmk.rb: prepend also topdir to mflags at last.
20786 Sun Jun 10 13:47:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20788 * test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
20789 get rid of invoking shell. [ruby-dev:30942]
20791 Sun Jun 10 12:56:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20793 * include/ruby: moved public headers.
20795 * instruby.rb (install_recursive): skip backup files.
20797 * instruby.rb (ext-comm): install only current platform headers.
20799 Sun Jun 10 10:42:04 2007 Tanaka Akira <akr@fsij.org>
20801 * lib/securerandom.rb: renamed from lib/secrand.rb.
20802 suggested by NaHi. [ruby-dev:30934]
20804 Sat Jun 9 06:40:05 2007 Tanaka Akira <akr@fsij.org>
20806 * lib/secrand.rb: rename SecRand() to SecRand.random_number.
20807 suggested by NaHi. [ruby-dev:30934]
20809 Fri Jun 8 16:34:20 2007 Tanaka Akira <akr@fsij.org>
20811 * ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to support
20814 Fri Jun 8 16:11:00 2007 Koichi Sasada <ko1@atdot.net>
20816 * eval_jump.h: th->errinfo should clear with nil.
20818 Fri Jun 8 14:53:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20820 * parse.y (call_args): allow splat argument after unpacked
20821 assocs like 1.8 does.
20823 * parse.y (call_args): ditto.
20825 Fri Jun 8 14:26:18 2007 Tanaka Akira <akr@fsij.org>
20827 * lib/secrand.rb: new file for secure random interface.
20829 * lib/cgi/session.rb: use secrand for generating cookies.
20831 Fri Jun 8 12:44:37 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20833 * {win32,wince}/Makefile.sub: add lex.c rule.
20835 Fri Jun 8 11:54:18 2007 Tanaka Akira <akr@fsij.org>
20837 * lex.c.blt: moved from lex.c.
20839 * Makefile.in: use lex.c.blt if gperf is not available.
20840 [ruby-list:8212], [ruby-list:8214], [ruby-list:24667],
20841 [ruby-talk:120857], [ruby-dev:28102]
20843 Thu Jun 7 21:38:39 2007 Koichi Sasada <ko1@atdot.net>
20845 * thread.c (rb_thread_execute_interrupts): invoke ensure when
20848 Thu Jun 7 19:02:48 2007 Tanaka Akira <akr@fsij.org>
20850 * lib/pp.rb: call original "method" method instead of redefined one.
20852 Thu Jun 7 17:20:57 2007 Koichi Sasada <ko1@atdot.net>
20854 * iseq.c (prepare_iseq_build): freeze filename and name string.
20856 * variable.c: freeze class name string.
20858 Thu Jun 7 12:48:33 2007 Koichi Sasada <ko1@atdot.net>
20860 * cont.c (cont_restore_1): fix to check root fiber [ruby-dev:30911].
20862 * test/ruby/test_fiber.rb: add a test.
20864 Thu Jun 7 07:24:36 2007 NARUSE, Yui <naruse@ruby-lang.org>
20866 * lib/json/common.rb: Ponder offering parse! method.
20868 * lib/json/editor.rb: be a bit more robust while loading data.
20870 * ext/json/ext/{generator,parser}/extconf.rb:
20871 add a have_header directive for st.h
20873 * test/json: fix some tests.
20875 Thu Jun 7 03:29:18 2007 Koichi Sasada <ko1@atdot.net>
20877 * test_fiber.rb: add a test (Continuation and Fiber).
20879 Thu Jun 7 03:17:24 2007 Koichi Sasada <ko1@atdot.net>
20881 * cont.c (cont_new): add debug message.
20883 * cont.c (cont_restore_1): copy stack information from fiber.
20885 * cont.c (rb_fiber_s_new): fix to mark created fiber.
20887 * test/ruby/test_fiber.rb: add some tests around Thread and Fiber.
20889 * yarvcore.c (thread_free): fix to skip freeing stack if root fiber
20892 Thu Jun 7 01:03:20 2007 Koichi Sasada <ko1@atdot.net>
20894 * eval_intern.h, eval.c (ruby_init): remove POP_TAG_INIT().
20896 * cont.c (rb_fiber_start): remove zero-clearing tag.
20898 Wed Jun 6 20:23:46 2007 Koichi Sasada <ko1@atdot.net>
20900 * insns.def (invokeblock): fix of splat argument.
20901 (splat same as normal method dispatch)
20903 Wed Jun 6 16:27:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20905 * insns.def: fixed indentation.
20907 Wed Jun 6 10:58:23 2007 Koichi Sasada <ko1@atdot.net>
20909 * eval.c (rb_yield): fix to check Qundef.
20911 Wed Jun 6 10:57:45 2007 Koichi Sasada <ko1@atdot.net>
20913 * test/ruby/test_continuation.rb: add a test for last commit.
20915 Wed Jun 6 10:55:42 2007 Koichi Sasada <ko1@atdot.net>
20917 * cont.c (rb_cont_call): forbid calling dead fiber with
20920 Wed Jun 6 10:50:01 2007 Koichi Sasada <ko1@atdot.net>
20922 * compile.c (iseq_compile_each): fix around yield arguments
20923 (with NODE_ARGSCAT).
20925 Wed Jun 6 02:50:53 2007 Koichi Sasada <ko1@atdot.net>
20927 * cont.c (rb_fiber_start): clear th->tag and check error to fix
20928 [ruby-dev:30888] and [ruby-dev:30889].
20930 * eval_intern.h: fix rb_fiber_start() prototype.
20932 * test/ruby/test_fiber.rb: add tests for above.
20934 Wed Jun 6 02:40:20 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20936 * insnhelper.h, insns.def (DEC_SP): shouldn't use unary minus operator
20937 in pointer operation. some compilers (such as VC++8 x64) cannot deal
20938 it with expected way.
20940 Wed Jun 6 02:19:48 2007 Koichi Sasada <ko1@atdot.net>
20942 * parse.y (new_yield), compile.c (iseq_compile_each): fix
20945 * eval.c, eval_jump.h: simplify rb_yield*.
20947 * proc.c (proc_mark): fix to mark proc->block.proc.
20949 * proc.c (Init_Proc): add Proc#lambda?
20951 * test/ruby/test_lambda.rb: add some tests.
20953 * vm.c (invoke_block): fix to check lambda block or not.
20955 * vm.c (th_yield_setup_args): fix to check arguments size
20958 Tue Jun 5 16:30:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20960 * io.c (rb_f_p): returns arguments to intervene. [ruby-dev:29736]
20962 Tue Jun 5 14:07:55 2007 Koichi Sasada <ko1@atdot.net>
20964 * insns.def (invokeblock): check block is created by lambda
20967 * vm.c (block_proc_is_lambda): added.
20969 Tue Jun 5 14:47:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20971 * lib/pp.rb (PP::PPMethods::seplist): revert last change to work
20972 around wrapper bug. [ruby-dev:30840]
20974 Tue Jun 5 14:11:15 2007 NARUSE, Yui <naruse@ruby-lang.org>
20976 * ext/nkf/nkf-utf8/nkf.c (kanji_convert): Fix guess fallback.
20978 Tue Jun 5 13:32:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20980 * compile.c, dir.c, eval.c, eval_jump.h, eval_method.h, numeric.c,
20981 pack.c, parse.y, re.c, thread.c, vm.c, vm_dump.c, call_cfunc.ci,
20982 thread_pthread.ci, thread_win32.ci: fixed indentation.
20984 * call_cfunc.ci: protoized.
20986 * thread_win32.ci: fixed typo.
20988 Tue Jun 5 13:17:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20990 * call_cfunc.ci, compile.c, dir.c, eval.c, eval_jump.h, numeric.c,
20991 pack.c, re.c, thread.c, thread_win32.ci, vm.c, vm_dump.c: fixed
20994 Mon Jun 4 21:15:45 2007 NARUSE, Yui <naruse@ruby-lang.org>
20996 * lib/json.rb, lib/json, ext/json, test/json:
20997 import JSON library.
20999 * ext/nkf: import nkf.c rev:1.124
21002 Mon Jun 4 20:52:58 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21004 * numeric.c (int_round): should not just truncate.
21006 Sat Jun 2 16:48:55 2007 Koichi Sasada <ko1@atdot.net>
21008 * cont.c (Fiber#pass): rename to Fiber#yield. Block parameter
21009 of fiber body receive first yield values.
21010 e.g.: Fiber.new{|x| p x}.yield(:ok) #=> :ok
21012 * cont.c: rename rb_context_t#retval to rb_context_t#value.
21014 * test/ruby/test_fiber.rb: ditto.
21016 Sat Jun 2 16:45:21 2007 Koichi Sasada <ko1@atdot.net>
21018 * proc.c (Init_Proc): remove a line break.
21020 Sat Jun 2 01:27:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21022 * numeric.c (int_round): small optimization to handle bignums.
21024 Fri Jun 1 13:02:35 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21026 * insnhelper.h (INC_SP): shouldn't cast ``x'' to unsigned type because
21027 it might be a negative value.
21029 * insnhelper.h, insns.def: shouldn't use unary minus operator in index
21030 operator. some compilers (such as VC++8 x64) cannot deal it with
21033 Fri Jun 1 11:33:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21035 * numeric.c (num_round): should convert self to Float.
21038 Fri Jun 1 02:01:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21040 * numeric.c (flo_round): now takes optional argument to specify
21041 number of digits, like round() in Python/PHP.
21043 * numeric.c (num_round): ditto.
21045 Fri Jun 1 01:58:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21047 * enum.c (each_with_index_i): should work well with continuation.
21048 a patch from sheepman <sheepman AT sheepman.sakura.ne.jp>.
21051 Thu May 31 17:27:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21053 * lib/benchmark.rb (Benchmark::Job::item): avoid modifying the
21054 argument unintentionally. [ruby-talk:253676]
21056 Wed May 30 14:43:00 2007 Koichi Sasada <ko1@atdot.net>
21058 * cont.c (cont_capture): store all local variables in heap
21059 ([ruby-dev:30832]).
21061 * vm.c (th_stack_to_heap): added.
21063 * test/ruby/test_continuation.rb: add a test for above.
21065 * eval_intern.h (th_get_ruby_level_cfp): fix to clean code.
21067 Wed May 30 13:32:34 2007 Shugo Maeda <shugo@ruby-lang.org>
21069 * lib/net/imap.rb (ResponseParser#next_token): fixed
21072 * lib/net/imap.rb (ResponseParser#parse_error): fixed
21073 the condition not to refer @token.symbol unexpectedly.
21074 Thanks, Dick Monahan.
21076 Wed May 30 13:24:33 2007 Shugo Maeda <shugo@ruby-lang.org>
21078 * lib/net/ftp.rb (Net::FTP#transfercmd): skip 2XX
21079 responses for some FTP servers.
21081 Wed May 30 04:18:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21083 * eval.c (rb_eval_cmd): just return if no exceptions.
21086 Wed May 30 02:14:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21088 * signal.c (interrupt_init): needs to pass nil for Interrupt.
21091 * signal.c (trap): fixed segfaults. [ruby-dev:30830]
21093 Wed May 30 00:50:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21095 * gc.c (rb_source_filename, obj_free): suppress warnings.
21097 * gc.c (garbage_collect, yarv_machine_stack_mark): fixed typo.
21098 http://bugs.debian.org/426267
21100 Wed May 30 00:24:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21102 * parse.y (open_args, arg_ambiguous, parser_warning): should not use
21103 rb_warning in the parser.
21105 Tue May 29 12:31:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21107 * win32/win32.c (rb_w32_opendir): removed duplicated code.
21109 Tue May 29 10:55:24 2007 Koichi Sasada <ko1@atdot.net>
21111 * cont.c: fix bug around Continuation and Fiber.
21113 * test/ruby/test_continuation.rb: add tests for Continuation.
21115 Tue May 29 10:54:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21117 * win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magic
21120 Mon May 28 10:27:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21122 * cont.c: fixed a function name.
21124 Mon May 28 03:56:44 2007 Koichi Sasada <ko1@atdot.net>
21126 * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail.
21127 Fiber is known as "Micro Thread", "Coroutine", and other terms.
21128 At this time, only Fiber#pass is supported to change context.
21129 I want to know more suitable method name/API for Fiber (... do you
21130 know more suitable class name instead of Fiber?) as "suspend/resume",
21131 "call", "yield", "start/kick/stop/restart", ....
21133 * eval.c, eval_intern.h, thread.c, yarvcore.c, yarvcore.h: ditto.
21135 Sat May 26 00:38:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21137 * eval.c (ruby_exec_internal): do nothing if no code.
21139 * compile.c (rb_iseq_compile): check node if NULL before check
21140 nd_type. [ruby-talk:252956]
21142 Sat May 26 00:05:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21144 * test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
21145 skip tests for exitstatus and termsig on the platforms where
21146 signals not supported.
21148 Fri May 25 16:04:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21150 * yarvcore.c (Init_VM): wrap already initialized structs to use
21153 Fri May 25 11:09:47 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21155 * regint.h (include): on some platform, defines.h redefines
21156 SIZE_OF_LONG_LONG so shouldn't re-include config.h after included
21159 * regint.h (vsnprintf): ruby on windows already have vsnprintf macro.
21161 Thu May 24 12:07:27 2007 Koichi Sasada <ko1@atdot.net>
21163 * cont.c: check across trap violation.
21165 * eval.c, yarvcore.h: ditto.
21167 Thu May 24 11:46:55 2007 Koichi Sasada <ko1@atdot.net>
21169 * gc.c, yarvcore.c: fix to mark VM structure on startup.
21171 * yarvcore.h: disable USE_CACHED_VALUE.
21173 Thu May 24 01:54:53 2007 Koichi Sasada <ko1@atdot.net>
21175 * cont.c: support callcc which everyone love.
21176 incomplete. please give me bug reports.
21178 * common.mk, inits.c, thread.c: ditto.
21180 * yarvcore.c: export thread_mark().
21182 * yarvcore.h: disable value cache option.
21184 * eval_intern.h: set th_get_ruby_level_cfp to inline.
21186 Wed May 23 15:39:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21188 * common.mk: add a rule for regsyntax.c.
21190 Wed May 23 10:31:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21192 * oniguruma.h: updated to Oniguruma 5.7.0.
21194 * regsyntax.c, unicode.c: new files along with Oniguruma 5.x.
21196 Wed May 23 06:51:46 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
21198 * lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
21199 [ruby-dev:30740], Thanks Kentaro KAWAMOTO.
21201 Wed May 23 05:49:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21203 * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
21204 load path to get rid of load pre-installed extensions/libraries.
21207 Tue May 22 16:37:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21209 * ruby.c (set_arg0): support RSTRING_LEN on HP-UX. a patch from
21210 WATANABE Tetsuya <Tetsuya.WATANABE AT nifty.com>. [ruby-dev:30806]
21212 Mon May 21 13:40:00 2007 Koichi Sasada <ko1@atdot.net>
21214 * compile.c, vm_macro.def: support tail call optimization
21215 (on default, this feature is not enabled).
21217 * iseq.c, compile.c, vm_opts.h: add "tailcall_optimization"
21220 * sample/test.rb (test_ok): fix to adjust tailcall stack layout.
21222 * insns.def, vm.c, compile.c, yarvcore.c, yarvcore.h:
21223 add opt_gt, opt_le instructions.
21225 Mon May 21 03:34:06 2007 Minero Aoki <aamine@loveruby.net>
21227 * lib/net/smtp.rb: CRAM-MD5 authentication did not work.
21230 Sat May 19 10:26:01 2007 Tadayoshi Funaba <tadf@dotrb.org>
21232 * lib/date/format.rb (Date._parse): detects some OFX dates
21233 (Of course not fully).
21235 Sat May 19 03:08:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21237 * enum.c (enum_inject): minor improvement. [ruby-dev:30792]
21239 * enum.c (one_i): no needs to iterate once the result became false.
21241 * enum.c (enum_one): fix for an example.
21243 * enum.c (one_iter_i, none_iter_i): DRY.;
21245 Sat May 19 01:07:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21247 * enum.c (enum_inject): it is now can work without block. you
21248 have to specify two argument method name as the first argument.
21250 * enum.c (Init_Enumerable): reduce is new alias to inject.
21252 Sat May 19 01:05:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21254 * file.c (Init_File): method definition mismatch.
21256 Fri May 18 16:44:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21258 * file.c (Init_File): add to_path method to File objects.
21260 Fri May 18 11:12:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21262 * ruby.c (DllMain, ruby_init_loadpath): use DLL instance handle given
21263 to DllMain instead of VirtualQuery so that loadpath becomes relative
21264 from the DLL on WinCE too.
21266 Thu May 17 17:03:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21268 * misc/ruby-style.el (ruby-style-label-indent): for yacc rules.
21270 Thu May 17 13:30:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21272 * parse.y (f_arg): remove typo from ripper description.
21274 Thu May 17 13:23:38 2007 Koichi Sasada <ko1@atdot.net>
21276 * parse.y, compile.c (set_arguments): fix to support in-paren
21277 parameter (ex: def foo((a, b))).
21279 Thu May 17 13:01:52 2007 Koichi Sasada <ko1@atdot.net>
21281 * iseq.c (ruby_iseq_disasm): fix to show post arg info.
21283 Thu May 17 12:56:52 2007 Koichi Sasada <ko1@atdot.net>
21285 * debug.c (ruby_debug_node): fix to show node line.
21287 Wed May 16 21:48:44 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
21289 * lib/logger.rb (Logger::Application): remove meaningless logdev
21290 attribute and added logger attribute instead. [ruby-core:11143]
21291 also added Logger#formatter rdoc comment.
21293 Tue May 15 16:40:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21295 * test/ruby/test_beginendblock.rb (test_endblockwarn): now parser
21296 warnings emit source names and line numbers.
21298 Tue May 15 15:01:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21300 * win32/win32.c (init_stdhandle): stderr should be without buffering,
21301 but mswin32 use buffering when stderr is not connected to tty.
21303 Mon May 14 02:12:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21305 * array.c (rb_ary_zip): a.zip(b,c) should return an array, not
21308 * array.c (rb_ary_zip): a.zip(b,c) should return array with size
21309 truncated to the size of its shortest argument array.
21312 Mon May 14 01:54:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21314 * array.c (rb_ary_choice): should return nil when the array is
21317 Sat May 12 18:26:36 2007 Minero Aoki <aamine@loveruby.net>
21319 * lib/net/http.rb (tokens): forgot to add strip. [ruby-core:11120]
21321 * test/net/http/test_http.rb: test Net::HTTP.post_form.
21323 Fri May 11 15:27:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21325 * iseq.c (iseq_data_to_ary): internal IDs must not be exposed.
21328 * parse.y (internal_id_gen): now returns scope local ID instead of
21331 Thu May 10 15:15:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21333 * test/ruby/test_super.rb: add tests.
21335 Thu May 10 15:14:05 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21337 * ext/iconv/iconv.c (iconv_s_conv): rdoc fix.
21339 Thu May 10 15:09:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21341 * parse.y (POINTER_P): pointer may be larger than long.
21343 * parse.y (vtable_size, vtable_included, vtable_tblcpy,
21344 vtable_to_tbl): constified.
21346 Thu May 10 10:13:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21348 * thread.c (rb_thread_priority): rdoc fix; the initial value is
21349 inherited from the creating thread. [ruby-core:10607]
21351 Wed May 9 12:28:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21353 * bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv as
21354 aliases of quo. [ruby-dev:30771]
21356 Tue May 8 23:39:09 2007 Tadayoshi Funaba <tadf@dotrb.org>
21358 * lib/date/format.rb (Date._parse): revised treatment of
21359 hyphened/separatorless dates.
21361 * lib/date/format.rb: some trivial adjustments.
21363 Tue May 8 20:23:07 2007 Tadayoshi Funaba <tadf@dotrb.org>
21365 * lib/date/format.rb: reverted.
21367 Tue May 8 19:32:18 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
21369 * lib/rational.rb: fix high-precision Rationals cannot be
21370 converted to Floats. [ruby-Bugs:10502], [ruby-core:11069],
21373 Mon May 7 10:59:55 2007 Kouhei Sutou <kou@cozmixng.org>
21375 * lib/rss/image.rb, test/rss/test_image.rb: fixed Image module
21376 namespace URI. reported by Dmitry Borodaenko. Thanks.
21378 Sun May 6 18:44:11 2007 Minero Aoki <aamine@loveruby.net>
21380 * lib/net/http.rb (Net::HTTP.post_form): allow an Array of String
21381 for pairs argument. [ruby-Bugs:10340]
21383 * lib/net/http.rb (Net::HTTP#set_form_data): ditto.
21385 Sun May 6 17:54:36 2007 Minero Aoki <aamine@loveruby.net>
21387 * lib/net/http.rb: Connection header field might include both of
21388 "keep-alive" token and "close" token. [ruby-core:10818]
21390 Sat May 5 16:26:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21392 * lib/date/format.rb (Format::Bag#method_missing): get rid of
21393 modifying original argument. [ruby-core:11090]
21395 Thu May 3 22:20:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21397 * configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,
21398 search_required, rb_require_safe), ext/extmk.rb: Fix
21399 a bug where a statically linked extension cannot be autoloaded.
21400 [ruby-dev:30023] / [ruby-dev:30239]
21402 * thread.c: added an internal class, Barrier.
21404 * thread.c: copied rdocs from fastthread.
21406 * yarvcore.h (struct rb_vm_struct): moved loading_table from global.
21408 Thu May 3 18:10:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21410 * vm_evalbody.ci, insns.def, vm.c, tool/insns2vm.rb (rb_num_t):
21411 renamed to get rid of name clash. [ruby-dev:30504]
21413 * yarvcore.c (ruby_thread_init): ditto.
21415 Wed May 2 18:52:58 2007 Koichi Sasada <ko1@atdot.net>
21417 * vm.c, yarvcore.h, yarvcore.c, insns.def: fix to mark VM stack
21420 Wed May 2 17:13:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21422 * bignum.c (rb_big_quo): now calculate in integer. [ruby-dev:30753]
21424 Wed May 2 15:14:56 2007 Koichi Sasada <ko1@atdot.net>
21426 * eval_method.h: add redefine checks ([ruby-dev:30751]).
21428 Wed May 2 11:22:52 2007 Koichi Sasada <ko1@atdot.net>
21430 * compile.c: use Qtrue instead of 2.
21432 * vm.c, insns.def: support "lambda" calling convention.
21434 Wed May 2 06:46:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21436 * error.c, parse.y, ruby.h (rb_compile_warn, rb_compile_warning): warn
21437 for compilation. the parser should no longer use rb_warn() and
21438 rb_warning(). [ruby-dev:30121]
21440 Wed May 2 05:45:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21442 * parse.y (assoc): result of assoc_new needs to be an assoc.
21444 Wed May 2 05:40:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21446 * bignum.c (rb_big_pow): improvement by calculating from MSB and using
21447 factorization. <http://yowaken.dip.jp/tdiary/20070426.html#p01>
21449 Tue May 1 18:45:45 2007 Koichi Sasada <ko1@atdot.net>
21451 * sample/test.rb: import matzruby's sample/test.rb.
21453 Tue May 1 17:46:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21455 * array.c (rb_ary_choice): a new method to choose an element
21456 randomly from an array.
21458 * array.c (rb_ary_choice): fixed mistake from RDoc.
21460 Tue May 1 13:59:18 2007 Koichi Sasada <ko1@atdot.net>
21462 * proc.c (proc_arity): fix an arity bug ([ruby-core:11060]).
21464 Tue May 1 13:12:49 2007 Koichi Sasada <ko1@atdot.net>
21466 * yarvcore.h, compile.c (set_arguments): support post arguments.
21468 * test/ruby/test_method.rb: add tests for above.
21470 * test/ruby/test_proc.rb: ditto.
21472 * proc.c: fix an arity bug ([ruby-core:11029]).
21474 * vm.c, vm.h, insns.def, vm_dump.h: fix bmethod process.
21476 * vm.c: support block argument on block parameter.
21478 Fri Apr 27 17:05:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21480 * numeric.c (int_pow): bugfix of overflow detection.
21482 * numeric.c (int_pow): rb_big_pow() may return other than Bignum.
21484 Fri Apr 27 01:51:50 2007 Koichi Sasada <ko1@atdot.net>
21486 * compile.c: support multiple splat (e.g, [a, *b, *c, e, *f]).
21488 Fri Apr 27 00:03:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21490 * bignum.c (rb_big_pow): truncate all zero BDIGITs. [ruby-dev:30733]
21492 Thu Apr 26 17:31:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21494 * bignum.c (rb_big_pow): reduce multiplying for even number.
21496 * numeric.c (int_pow): calculate power in Fixnum as possible.
21499 Thu Apr 26 17:18:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21501 * parse.y: fixes for ripper.
21503 * parse.y (primary): reduced duplicated code.
21505 * parse.y (f_arg_item): should not override by meaningless value.
21507 * parse.y (f_arg, assocs): should not use $$ before assigned.
21509 * parse.y (assoc_list): dispatch assoclist_from_args for assocs as
21512 * parse.y (assoc): return assoc if dispatched result is $1.
21514 Thu Apr 26 13:54:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21516 * misc/ruby-style.el: new file. C/C++ style for ruby source code.
21518 Wed Apr 25 19:49:16 2007 Tanaka Akira <akr@fsij.org>
21520 * ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA to
21521 align file descriptor appropriately.
21523 Wed Apr 25 15:23:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21525 * win32/win32.c (NtInitialize, exit_handler): add initializing and
21526 cleanup of critical section object for select.
21528 * win32/win32.c (do_select): block reentrance.
21530 * win32/win32.c (rb_w32_select): 0 sec polling of socket. this is
21531 workaround because winsock cannot do select at same socket at the
21532 same time by two or more threads.
21534 Wed Apr 25 14:10:47 2007 Koichi Sasada <ko1@atdot.net>
21536 * ext/probeprofiler/probeprofiler.c: fix function name and
21539 Wed Apr 25 12:42:40 2007 Koichi Sasada <ko1@atdot.net>
21541 * yarvcore.h: remove rb_control_frame_t#callee_id.
21543 * vm_macro.def: ditto.
21545 * eval_intern.h (exec_event_hooks): fix to check event flags
21547 * eval_intern.h (EXEC_EVENT_HOOK): fix to re-check event flags.
21549 * ext/probeprofiler : added. this profiler is sampling based
21552 * vm.c: add rb_thread_current_status() API for probeprofiler.
21554 * thread.c (rb_thread_execute_interrupts): add comments.
21556 Wed Apr 25 10:36:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21558 * eval_intern.h (PUSH_TAG): no argument now.
21560 * eval.c, eval_error.h, eval_jump.h, eval_load.c, proc.c, thread.c:
21563 * thread.c (alloc_event_hook, rb_thread_remove_event_hook): should
21566 Tue Apr 24 09:33:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21568 * dir.c (do_stat, do_lstat, do_opendir): should not warn ENOTDIR.
21571 Mon Apr 23 22:14:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21573 * ext/extmk.rb ($ruby): add extout directory to include path.
21576 * lib/mkmf.rb (libpathflag): not to append RPATHFLAG to current
21579 * lib/mkmf.rb (init_mkmf): add current directory to default
21580 library path with highest priority. [ruby-core:10960]
21582 * lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS.
21584 Fri Apr 20 16:05:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21586 * configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted,
21587 it is done by libpathflag in mkmf.rb.
21589 Fri Apr 20 12:27:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21591 * lib/optparse.rb: fix to override conv proc.
21593 Fri Apr 20 12:21:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21595 * eval.c (ruby_cleanup): fixed access to out of bound, and inverted
21596 the order of errinfos.
21598 Fri Apr 20 10:33:23 2007 Koichi Sasada <ko1@atdot.net>
21600 * eval_intern.h: add prototypes of rb_sourceline() and
21603 Fri Apr 20 02:37:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21605 * eval.c (ruby_cleanup): re-send signal. [ruby-dev:30516]
21607 * eval_error.h (error_handle): no message when exiting by signal.
21609 * intern.h (rb_thread_signal_raise, ruby_default_signal): prototypes.
21611 * signal.c (esignal_init): takes a signal number and an optional
21614 * signal.c (interrupt_init): pass SIGINT always.
21616 * signal.c (ruby_default_signal): invoke system default signal
21619 * signal.c (rb_f_kill): use NUM2PIDT instead of NUM2INT.
21621 * signal.c (rb_signal_exec, trap): handle SIGTERM. [ruby-dev:30505]
21623 * thread.c (rb_thread_signal_raise): now takes signal number instead
21626 * thread.c (rb_thread_signal_exit): since rb_make_exception() calls
21627 #exception method, rb_class_new_instance() is not needed here.
21629 * yarvcore.h (struct rb_vm_struct), eval_jump.h (terminate_process):
21630 exit_code is no longer stored in VM.
21632 Thu Apr 19 18:37:49 2007 Koichi Sasada <ko1@atdot.net>
21634 * eval.c, node.h, thread.c, yarvcore.[ch], eval_intern.h:
21635 support set_trace_func (incomplete. id and klass
21636 don't be passed). And support Thread#set_trace_func
21637 which hook only specified thread and Thread#add_trace_func
21638 which add new trace func instead of replace old one.
21639 C level API was modified. See thread.c (logic) and
21640 yarvcore.h (data structures).
21642 * vm.c, vm_macro.def: add hook points.
21644 * compile.c, insns.def: fix "trace" instruction.
21646 * iseq.c, vm_macro.h: add compile option "trace_instruction".
21648 * test/ruby/test_settracefunc.rb: hook "c-return" of set_trace_func.
21650 Thu Apr 19 20:57:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21652 * parse.y (symbol): symbols should be followed by EXPR_ENDARG.
21654 * parse.y (dsym): ditto.
21656 * parse.y (parser_yylex): strings should be followed by
21659 * parse.y (parser_yylex): ditto for numbers.
21661 * parse.y (parser_yylex): EXPR_ENDARG after ']' and '}'.
21663 Thu Apr 19 17:46:36 2007 Koichi Sasada <ko1@atdot.net>
21665 * lib/optparse.rb: fix to override conv proc.
21667 Wed Apr 18 10:41:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21669 * util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]
21671 Wed Apr 18 02:50:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21673 * yarvcore.c (th_init2): push initial blockptr value for
21674 rb_block_given_p() outside ruby_exec(). [ruby-core:10923]
21676 Wed Apr 18 02:30:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21678 * configure.in (LDFLAGS): prepend -L. instead appending it to
21679 XLDFLAGS. [ruby-core:10933]
21681 * configure.in (Makefile): remove $U for automake from MISSING.
21684 Mon Apr 16 22:56:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21686 * ext/pty/expect_sample.rb: avoid symbolic link representation for
21687 expect. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
21690 Mon Apr 16 22:51:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21692 * sample: replace TRUE, FALSE with true, false respectively.
21693 a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
21696 Mon Apr 16 17:08:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21698 * lib/optparse.rb (make_switch): do not clobber converter if pattern
21699 has no convert method. reported by sheepman in [ruby-dev:30709].
21701 Mon Apr 16 16:49:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21703 * ext/stringio/stringio.c (strio_seek): consistent behavior with
21704 IO#seek. patch by sheepman in [ruby-dev:30710].
21706 Mon Apr 16 16:34:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21708 * parse.y (parser_yylex): should set command_start after block
21709 starting "do"s and braces. [ruby-core:10916]
21711 Mon Apr 16 10:51:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21713 * enum.c (enum_each_with_index): each_with_index to forward
21714 arguments to each. [ruby-core:10921]
21716 Mon Apr 16 10:43:10 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21718 * time.c (time_arg): should allow to specify 24:00.
21721 Sun Apr 15 09:12:54 2007 Tadayoshi Funaba <tadf@dotrb.org>
21723 * lib/date/format.rb: added some zone names.
21725 * lib/date/format.rb (_parse): now interprets doted numerical
21726 dates as a big endian (except dd.mm.yyyy).
21728 Thu Apr 12 17:13:22 2007 Koichi Sasada <ko1@atdot.net>
21730 * thread.c (mutex_try_lock): check and set owner thread.
21732 * thread_pthread.ci: fix to show error code in error message.
21734 Thu Apr 12 17:11:54 2007 Koichi Sasada <ko1@atdot.net>
21736 * eval.c (rb_rescue2): restore cfp ([ruby-dev:30582]).
21738 Thu Apr 12 16:06:48 2007 Koichi Sasada <ko1@atdot.net>
21740 * eval.c (rb_protect): restore cfp ([ruby-dev:30671]).
21742 Thu Apr 12 16:04:31 2007 Koichi Sasada <ko1@atdot.net>
21744 * compile.c (iseq_compile_each): check node->nd_state == 1, not !0.
21746 Wed Apr 11 16:35:16 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21748 * win32/win32.[ch] (rb_w32_enter_critical, rb_w32_leave_critical): no
21749 need to reject reentrance. removed.
21751 * rubysig.h (RUBY_CRITICAL): follow above changes.
21753 * rubysig.h (TRAP_BEG, TRAP_END): no need to save errno.
21755 Tue Apr 10 17:02:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21757 * win32/win32.c (rb_w32_fclose, rb_w32_close): need to save errno
21758 before calling original fclose()/close().
21760 Tue Apr 10 16:14:22 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21762 * thread_win32.ci (w32_wait_events): check whether interrupt_event is
21763 valid handle or not.
21765 * thread_win32.ci (native_thread_destroy): clear interrupt_event when
21768 Tue Apr 10 15:53:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21770 * thread_pthread.ci (native_thread_create): initialize sleep_cond.
21771 fixed: [ruby-dev:30675]
21773 Mon Apr 9 18:48:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21775 * thread.c (do_select): ubf_select() is not necessary. interrupt is
21776 checked in the loop.
21778 Mon Apr 9 18:27:26 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21780 * thread.c (do_select): use ubf_select() as UBF on windows.
21782 * win32/win32.c (do_select): shouldn't call catch_interrupt() here.
21783 fixed: [ruby-dev:30674], reported by wanabe.
21785 Mon Apr 9 09:24:32 2007 Shugo Maeda <shugo@ruby-lang.org>
21787 * lib/net/imap.rb (disconnect): call shutdown for
21788 SSLSocket. Thanks, Technorama Ltd.
21790 Sun Apr 8 13:28:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21792 * compile.c (defined_expr): test arguments of NODE_CALL and so
21793 on as well as NODE_ATTRASGN. [ruby-core:10886]
21795 Fri Apr 6 10:56:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21797 * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid of
21798 warning. we are aware of it.
21800 Fri Apr 6 04:00:24 2007 Technorama Ltd. <oss-ruby@technorama.net>
21802 * ext/openssl/ossl_{bn,x509{attr,cert,name,store}}.c:
21805 Thu Apr 5 17:59:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21807 * compile.c (defined_expr): support for assignment.
21810 * compile.h (ADD_CATCH_ENTRY): removed temporary variable.
21812 Thu Apr 5 15:13:34 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21814 * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should
21817 Thu Apr 5 14:58:49 2007 Technorama Ltd. <oss-ruby@technorama.net>
21819 * ext/openssl/ossl_pkcs5.c: New module.
21821 * ext/openssl/ossl_{cipher,digest,pkcs7,pkcs12}.c:
21822 Remove redundant module namespace.
21824 * ext/openssl/lib/openssl/{cipher,digest}.rb
21825 Add backwards compatible classes for rearranged classes.
21827 * ext/openssl/ossl_{pkcs7,pkcs12}.c: Add documentation.
21829 Thu Apr 5 00:42:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21831 * error.c (rb_notimplement), io.c (pipe_open): removed definite
21832 articles and UNIX manual section from messages. [ruby-dev:30690]
21834 Wed Apr 4 17:09:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21836 * io.c (pipe_open): refined the message of NotImplementedError.
21839 Wed Apr 4 12:29:02 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21841 * error.c (rb_notimplement): should show the name of this func,
21844 Wed Apr 4 10:18:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21846 * io.c (popen_exec): should not close close-on-exec FDs.
21849 * io.c (pipe_open): raise NotImplementedError for command "-" on
21850 platforms where fork(2) is not available. [ruby-dev:30681]
21852 Tue Apr 4 04:17:18 2007 Technorama Ltd. <oss-ruby@technorama.net>
21854 * ext/openssl/ossl_ssl.c: Add documentation.
21856 Tue Apr 3 16:22:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21858 * ext/openssl/extconf.rb: check for functions added in 1.9.
21860 * ext/openssl/ruby_missing.h: check per features instead by
21861 checking version code. [ruby-core:10845]
21863 Tue Apr 3 16:02:44 2007 Technorama Ltd. <oss-ruby@technorama.net>
21865 * ext/openssl/ossl_bn.c: More documentation.
21867 * ext/openssl/lib/ossl_{pkey,pkey_ec}.[ch]: Add elliptic curves.
21869 Tue Apr 3 15:50:41 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21871 * ext/socket/socket.c (s_recv, s_recvfrom): some systems (such as
21872 windows) doesn't set fromlen if the socket is connection-oriented.
21873 reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061]
21875 Tue Apr 3 09:36:55 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21877 * ext/openssl/ruby_missing.h: need to include version.h to check
21880 Mon Apr 3 07:10:12 2007 Technorama Ltd. <oss-ruby@technorama.net>
21882 * ext/openssl/ossl_{ssl.[ch],ssl_session.c},
21883 ext/openssl/lib/openssl/lib/openssl/ssl.rb:
21884 New SSL::Session class. Add session cb's, getter/setters,
21885 config, and statistics methods.
21887 Mon Apr 3 04:00:23 2007 Technorama Ltd. <oss-ruby@technorama.net>
21889 * ext/openssl/{ossl.[ch],ossl_pkey.c} Add documentation.
21891 * ext/openssl/ossl_hmac.c Add reset method.
21893 * ext/openssl/ossl_cipher.c (Cipher#update) Take additional
21896 * ext/openssl/{ossl_bio.c,ossl_ssl.c,ruby_missing.h}
21897 compatibility with 1.8.
21899 Mon Apr 2 21:55:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21901 * insns.def (throw), thread.c, yarvcore.h (throwed_errinfo): fixed
21904 Fri Mar 30 11:46:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21906 * win32/win32.c (rb_w32_cmdvector): fixed buffer size. reported by
21907 wanabe [ruby-dev:30672]
21909 * win32/win32.c (init_env, insert, rb_w32_get_environ): use strdup
21910 instead of malloc + strlcpy. suggested by nobu [ruby-dev:30673]
21912 Fri Mar 30 02:29:04 2007 Technorama <oss-ruby@technorama.net>
21914 * ext/openssl/ossl_{bn,cipher,digest,hmac,rand,pkey_{dh,dsa,rsa}}.c:
21915 Add Documentation for various methods.
21917 * ext/openssl/lib/openssl/cipher.rb: Ditto
21919 * ext/openssl/ossl_bn.c: add lshift! and rshift! methods.
21921 * ext/openssl/ossl_digest.c: GetDigestPtr() also accept a string.
21923 Fri Mar 23 11:28:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21925 * win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,
21926 rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64,
21927 rb_w32_get_environ): use strlcpy() and strlcat().
21929 * win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc().
21931 * win32/win32.c (rb_w32_closedir): check NULL before free pointers.
21933 Fri Mar 23 00:24:52 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
21935 * lib/shell: commit miss(support for ruby 1.9(YARV) thread model).
21937 Thu Mar 22 13:32:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21939 * win32/Makefile.sub (LIBS): remove an unnecessary library.
21941 Thu Mar 22 10:27:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21943 * test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s.
21945 Wed Mar 21 20:38:06 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21947 * marshal.c (w_short, w_long, w_object): get rid of VC++ warnings.
21949 Wed Mar 21 20:05:07 2007 Koichi Sasada <ko1@atdot.net>
21951 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
21952 proc.c, vm.c, vm_macro.def, vm_macro.def, yarvcore.c, yarvcore.h,
21953 debug.c, debug.h: merge half-baked-1.9 changes. The biggest change
21954 is to change node structure around NODE_SCOPE, NODE_ARGS. Every
21955 scope (method/class/block) has own NODE_SCOPE node and NODE_ARGS
21956 represents more details of arguments information. I'll write a
21957 document about detail of node structure.
21959 Wed Mar 21 17:04:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21961 * bignum.c (rb_big2str0): round up for the most significant digit.
21964 Tue Mar 21 08:20:00 2007 Nathaniel Talbott <ntalbott@ruby-lang.org>
21966 * test/testunit/collector/test_dir.rb: Fixed test/unit tests that
21967 were breaking due to Module#public_instance_methods now
21968 returning a Symbol instead of a String.
21970 * test/testunit/collector/test_objectspace.rb: Ditto.
21972 Tue Mar 20 22:54:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21974 * marshal.c (w_extended): erroneous check condition when dump
21975 method is defined. [ruby-core:10646]
21977 Tue Mar 20 21:36:47 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
21979 * lib/shell.rb, lib/shell: support for ruby 1.9(YARV) thread model.
21981 Tue Mar 20 16:36:08 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
21983 * distruby.rb: Add zip generation.
21985 Tue Mar 20 16:20:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21987 * eval.c (rb_f_callee_name): add __method__ and __callee__ again.
21988 __callee__ need to rework to adopt YARV. [ruby-core:10671]
21990 Tue Mar 20 11:09:00 2007 Akinori MUSHA <knu@iDaemons.org>
21992 * lib/set.rb: Revise rdoc.
21994 * lib/set.rb (Set#freeze, Set#taint, Set#untaint): Implement
21995 Set#freeze, Set#taint, and Set#untaint; requested by: Dan
21996 Hutchings <dan AT moltoagitato.com> in [ruby-bugs:PR#9359].
21998 Tue Mar 20 09:13:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22000 * process.c (rb_fork): flush stdouts always before fork(2).
22001 fixed: [ruby-dev:30612]
22003 Tue Mar 20 01:38:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22005 * thread.c (thread_start_func_2): store the result of first_func
22006 as well as first_proc.
22008 * thread.c (thread_create_core): block is not used if first_func
22011 Mon Mar 19 16:58:52 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22013 * missing/{strlcat,strlcpy}.c, missing.h: new functions.
22015 * LEGAL: add copyright notice about above files.
22017 * configure.in: check whether strlcat and strlcpy are exist or not.
22019 * {bcc32,win32,wince}/Makefile.sub: use above files.
22021 Mon Mar 19 14:12:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22023 * lib/matrix.rb (Matrix::inverse_from): adding partial pivoting to
22024 the Gauss-Jordan algorithm, making it stable. a patch from
22025 Peter Vanbroekhoven. [ruby-core:10641]
22027 Mon Mar 19 12:13:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22029 * regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
22030 Huehner <stefan at huehner.org>. [ruby-core:10543]
22032 Mon Mar 19 11:27:13 2007 Minero Aoki <aamine@loveruby.net>
22034 * lib/net/protocol.rb (rbuf_read): extend buffer size for speed.
22036 Sun Mar 18 08:31:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22038 * win32/dir.h, win32/win32.c (rb_w32_opendir, rb_w32_readdir,
22039 rb_w32_closedir): get rid of possible buffer-overflows.
22041 Sat Mar 17 19:10:39 2007 Kouhei Sutou <kou@cozmixng.org>
22043 * lib/rss, test/rss:
22045 - bumped version 0.1.6 to 0.1.7.
22046 * sample/rss/convert.rb: added new sample.
22048 Fri Mar 16 22:32:20 2007 Minero Aoki <aamine@loveruby.net>
22050 * lib/net/pop.rb: change default verification mode from
22051 VERIFY_PEER to VERIFY_NONE because most POPS server does not have
22052 true certification.
22054 Fri Mar 16 22:19:24 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22056 * ext/win32ole/win32ole.c: add WIN32OLE#ole_activex_initialize,
22057 a little bit supporting ActiveX control. [ruby-talk:241188]
22059 Fri Mar 16 22:16:58 2007 Minero Aoki <aamine@loveruby.net>
22061 * lib/net/http.rb: merge Ruby-SSPI patch contributed by Justin
22064 * ext/Win32API/lib/win32/sspi.rb: new file.
22066 Wed Mar 14 12:30:00 2007 Shigeo Kobayashi <shigeo@tinyforest.jp>
22068 * ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now
22069 treated as ("-0.31") not as ("0.31").
22071 Tue Mar 13 19:04:30 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
22073 * lib/sync.rb: support for ruby 1.9(YARV) thread model.
22075 Tue Mar 13 09:25:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22077 * common.mk (clear-installed-list): separated from install-prereq.
22079 Tue Mar 13 07:23:20 2007 Shugo Maeda <shugo@ruby-lang.org>
22081 * lib/monitor.rb (mon_try_enter): call @mon_muetx.try_lock.
22082 Thanks, Keiju ISHITSUKA. [ruby-dev:30507]
22084 Tue Mar 13 02:42:58 2007 Akinori MUSHA <knu@iDaemons.org>
22086 * lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nph
22087 assumption any more; submitted by MIYASAKA Masaru <alkaid AT
22088 coral.ocn.ne.jp> in [ruby-dev:30537].
22090 Mon Mar 12 10:53:28 2007 Akinori MUSHA <knu@iDaemons.org>
22092 * ext/openssl/ossl_asn1.c (Init_ossl_asn1): Let rdoc know about
22093 externally defined modules; submitted by Technorama
22094 Ltd. <oss-ruby AT technorama.net> in [ruby-bugs:PR#4704].
22096 * ext/openssl/ossl_bn.c (Init_ossl_bn): Ditto.
22098 * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Ditto.
22100 * ext/openssl/ossl_digest.c (Init_ossl_digest): Ditto.
22102 * ext/openssl/ossl_hmac.c (Init_ossl_hmac): Ditto.
22104 * ext/openssl/ossl_pkey.c (Init_ossl_pkey): Ditto.
22106 * ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): Ditto.
22108 * ext/openssl/ossl_pkey_dsa.c (Init_ossl_dsa): Ditto.
22110 * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): Ditto.
22112 * ext/openssl/ossl_rand.c (Init_ossl_rand): Ditto.
22114 * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Ditto.
22116 Sun Mar 11 18:42:01 2007 Akinori MUSHA <knu@iDaemons.org>
22118 * misc/ruby-mode.el (ruby-block-end-re): Support for the
22119 experimental ';;' terminator had been dropped.
22121 Sun Mar 11 05:45:46 2007 Akinori MUSHA <knu@iDaemons.org>
22123 * misc/README, misc/rdebug.el: Add rdebug.el, Emacs ruby-debug
22124 interface based on rubydb3x.el; submitted by Martin Nordholts
22125 <enselic AT gmail.com> in [ruby-bugs:PR#9023].
22127 Sat Mar 10 07:20:28 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22129 * ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB#library_name,
22130 WIN32OLE_TYPELIB#visible?.
22132 * test/win32ole/test_win32ole_typelib.rb: ditto.
22134 Thu Mar 8 09:17:59 2007 Minero Aoki <aamine@loveruby.net>
22136 * compile.c: iseq_compile -> rb_iseq_compile.
22140 * intern.h: provide function prototype of Init_jump.
22142 * eval_jump.h (Init_jump): declare function type.
22144 * thread.c: platform-dependent functions should be surrounded by #ifdef.
22146 * iseq.c (iseq_data_to_ary): remove unused variable.
22148 * compile.c (set_arguments): ditto.
22150 * thread.c (set_unblock_function): ditto.
22152 * thread_pthread.ci: reduce printf warning.
22154 * vm_dump.c: ditto.
22156 Tue Mar 6 16:35:04 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
22158 * lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477].
22160 Tue Mar 6 11:53:25 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
22162 * ext/tk/sample/irbtkw.rbw: fails to exit process.
22164 Tue Mar 6 10:23:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22166 * runruby.rb: added --pure (turned on by default) and --debugger
22169 Mon Mar 5 09:19:33 2007 Minero Aoki <aamine@loveruby.net>
22171 * lib/timeout.rb (Timeout.timeout): should return the block value
22174 * lib/timeout.rb (Timeout.timeout): should yield sec argument
22177 * lib/timeout.rb (Timeout.timeout): fix document.
22179 Mon Mar 5 09:16:40 2007 Minero Aoki <aamine@loveruby.net>
22181 * lib/net/smtp.rb: support automatic STARTTLS.
22183 * lib/net/smtp.rb: check server advertisement.
22185 * lib/net/smtp.rb: introduce new class SMTP::Response.
22187 * lib/net/smtp.rb (getok): should not use sprintf.
22189 * lib/net/smtp.rb (get_response): ditto.
22191 * lib/net/protocol.rb: reduce syntax warning on 1.9.
22193 Mon Mar 5 07:13:28 2007 Minero Aoki <aamine@loveruby.net>
22195 * lib/net/smtp.rb: reconstruct SMTPS/STARTTLS interface. New
22196 interface is incompatible from current 1.9 interface at all.
22198 * lib/net/smtp.rb: All SSL-related class methods are removed; use
22199 instance methods instead.
22201 * lib/net/smtp.rb: rename methods: *ssl -> *tls (with alias
22204 * lib/net/smtp.rb: rename methods: *tls -> *starttls.
22206 Mon Mar 5 01:36:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22208 * parse.y (parser_yylex), win32/win32.c (rb_w32_utime): fixed
22209 indentation broken at YARV merger.
22211 Sun Mar 4 23:41:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22213 * file.c (rb_stat_uid, rb_stat_gid, eaccess): use rb_uid_t and
22214 rb_gid_t instead of int.
22216 * file.c (rb_stat_s_utime): fixed a commit miss for the platforms
22217 where utimes() does not exist.
22219 * lib/fileutils.rb (touch): ditto.
22221 Sun Mar 4 14:46:56 2007 WATANABE Hirofumi <eban@ruby-lang.org>
22223 * util.c (push_element): should return a int value.
22225 Sun Mar 4 01:01:25 2007 Akinori MUSHA <knu@iDaemons.org>
22227 * lib/set.rb (Set#^, Set#&): Correct documentation. Those methods
22228 return sets, not arrays; noted by Oliver Frank Wittich <nietz AT
22231 Sat Mar 3 22:54:33 2007 Minero Aoki <aamine@loveruby.net>
22233 * lib/fileutils.rb (touch): last #touch change causes error when
22234 :mtime option was not given.
22236 Sat Mar 3 22:51:29 2007 Minero Aoki <aamine@loveruby.net>
22238 * lib/fileutils.rb (mv): could not move directory between
22239 different file systems. [ruby-dev:30411]
22241 Sat Mar 3 22:37:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22243 * file.c (rb_file_s_utime): allow nil to set the current time.
22245 * lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate
22246 options. fixed: [ruby-talk:219037]
22248 Sat Mar 3 15:52:26 2007 Akinori MUSHA <knu@iDaemons.org>
22250 * object.c (instance_variable_get): Restore rdoc markups lost in
22253 Fri Mar 2 21:17:14 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22255 * ext/win32ole/win32ole.c (get_ptr_of_variant, ole_set_safe_array,
22256 ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val,
22257 ): fix some bugs of WIN32OLE_VARIANT.new when variant type is
22258 VT_ARRAY|VT_BSTR or VT_BYREF.
22260 * ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize):
22261 WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value=
22262 is defined as instance method of WIN32OLE_VARIANT.
22264 * test/win32ole/test_win32ole_variant.rb: add some test for
22265 VT_ARRAY, VT_BYREF variant type.
22267 Fri Mar 2 07:58:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22269 * object.c (rb_obj_ivar_set): RDoc updated according to a
22270 suggestion from Brian Candler <B.Candler AT pobox.com>.
22273 Thu Mar 1 21:38:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22275 * parse.y (stmt, arg): should not omit lhs of OP_ASGN1 even if
22276 empty. [ruby-dev:30455]
22278 Thu Mar 1 02:55:25 2007 Akinori MUSHA <knu@iDaemons.org>
22280 * ext/digest/digest.c (get_digest_base_metadata): Allow inheriting
22281 Digest::Base subclasses, which was unintentionally made
22282 impossible while restructuring Digest classes.
22284 Thu Mar 1 02:05:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22286 * mkconfig.rb (patchlevel): read from version.h.
22288 Wed Feb 28 21:15:00 2007 WATANABE Hirofumi <eban@ruby-lang.org>
22290 * configure.in (ac_cv_func_fcntl): fcntl support for MinGW.
22292 * missing/flock.c: workaround for MinGW.
22294 Wed Feb 28 20:51:32 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
22296 * pack.c (pack_unpack): properly ignore non-base64 octets such as
22297 UTF-8 encoded BOMs; submitted by SOUMA Yutaka <holon@radastery.jp>
22298 to fix [ruby-core:10437]
22300 Wed Feb 28 18:31:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22302 * ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h.
22303 they are already checked at configure.
22304 reported by KOBAYASHI Yasuhiro [ruby-list:43225]
22306 Wed Feb 28 18:23:43 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22308 * lib/mkmf.rb ($DEFLIBPATH): default library paths ($(topdir), etc)
22309 should be the first elements of library paths list.
22310 reported by KOBAYASHI Yasuhiro [ruby-list:43225]
22312 Wed Feb 28 10:33:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22314 * Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): system
22315 specific thread model.
22317 * compile.h, regint.h, vm.h, array.c: removed unnecessary #include.
22319 Wed Feb 28 04:03:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22321 * enum.c (take_i): small cosmetic / documentation patch from
22322 Tadashi Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:30446]
22324 Wed Feb 28 01:20:18 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22326 * test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use
22327 target_os instead. reported by KOBAYASHI Yasuhiro [ruby-list:43225]
22329 Wed Feb 28 00:08:11 2007 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
22331 * mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']
22333 * common.mk: new target dist
22335 * distruby.rb: new file
22337 Tue Feb 27 22:18:45 2007 WATANABE Hirofumi <eban@ruby-lang.org>
22339 * configure.in (--enable-auto-image-base): avoid the necessity to
22340 rebase the shared libs as much as possible;
22341 submitted by Corinna Vinschen <spam at vinschen.de> in
22342 [ruby-talk:240964].
22344 Tue Feb 27 21:36:47 2007 WATANABE Hirofumi <eban@ruby-lang.org>
22346 * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().
22348 Tue Feb 27 21:33:04 2007 WATANABE Hirofumi <eban@ruby-lang.org>
22350 * configure.in (ac_cv_func_setrlimit): workaround for djgpp.
22352 Tue Feb 27 20:35:28 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22354 * common.mk (error.c, process.c): depend on yarvcore.h and rubysig.h.
22356 Tue Feb 27 19:26:31 2007 Akinori MUSHA <knu@iDaemons.org>
22358 * ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1,
22359 rb_nkf_guess2): Silence warnings regarding char * vs. unsigned
22360 char * mismatch; submitted by Lyle Johnson
22361 <lyle.johnson@gmail.com> in [ruby-core:10416].
22363 Tue Feb 27 19:15:01 2007 Akinori MUSHA <knu@iDaemons.org>
22365 * lib/base64.rb (Base64::b64encode): Fix documentation; submitted
22366 by David Symonds <dsymonds@gmail.com> in [ruby-core:10432].
22368 Tue Feb 27 18:59:42 2007 Akinori MUSHA <knu@iDaemons.org>
22370 * ext/bigdecimal/bigdecimal.c (BigDecimal_load): Silence warnings
22371 regarding char * vs. unsigned char * mismatch; submitted by Lyle
22372 Johnson <lyle.johnson@gmail.com> in [ruby-core:10416].
22374 * ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto.
22376 * ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto.
22378 * ext/digest/digest.c (rb_digest_base_finish,
22379 rb_digest_base_update): Ditto.
22381 Tue Feb 27 18:12:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22383 * enum.c (enum_take): new method. [ruby-dev:30407]
22385 * enum.c (enum_drop): ditto.
22387 Tue Feb 27 07:47:24 2007 Koichi Sasada <ko1@atdot.net>
22389 * yarvcore.h, vm.h: rename th_invoke_yield() to th_yield().
22391 * blockinlining.c: ditto.
22395 * vm.c, insns.def: rename th_invoke_yield_cfunc()
22396 to th_yield_with_cfunc().
22398 * yarvcore.h, yarvcore.c: rename theYarvVM to ruby_current_vm and
22399 yarvCurrentThread to ruby_current_thread. remove yarvVMArray.
22401 Tue Feb 27 00:45:23 2007 Minero Aoki <aamine@loveruby.net>
22403 * test/ruby/test_optimization.rb: restore method before calling
22406 Mon Feb 26 00:58:39 2007 Koichi Sasada <ko1@atdot.net>
22408 * yarvcore.h: add rb_thread_t#top_wrapper, top_self.
22410 * eval_load.c (rb_load): support eval in wrapper module
22411 (load(file, true)).
22415 * eval_jump.h: ditto.
22421 * yarvcore.c: ditto.
22423 * insns.def: add a empty line.
22425 Mon Feb 26 00:54:36 2007 Koichi Sasada <ko1@atdot.net>
22427 * common.mk: change "gdb" rule. You can debug miniruby with
22428 $(srcdir)/test.rb on gdb by this rule (type "make gdb").
22429 If you write break points to "breakpoints.gdb" on $srcdir,
22430 gdb runs with this file.
22432 Sun Feb 25 11:46:58 2007 Koichi Sasada <ko1@atdot.net>
22434 * win32/Makefile.sub: enable -Zi (debug) option.
22436 Sun Feb 25 11:38:40 2007 Koichi Sasada <ko1@atdot.net>
22438 * ruby.h: define RUBY_VM macro and remove NATIVETHREAD* macros.
22442 * signal.c (posix_signal): remove unused function
22443 posix_nativethread_signal().
22445 Sun Feb 25 11:31:13 2007 Koichi Sasada <ko1@atdot.net>
22447 * thread.c (rb_thread_run): fix to ANSI style.
22449 Sun Feb 25 11:09:16 2007 Minero Aoki <aamine@loveruby.net>
22451 * bootstraptest/runner.rb: show source code in error message.
22453 Sun Feb 25 09:39:50 2007 Koichi Sasada <ko1@atdot.net>
22457 rb_iseq_t#file_name -> filename
22458 rb_iseq_t#local_tbl -> local_table
22460 rb_iseq_t#local_table_size
22462 * compile.c: separate local_table_size and local_size
22463 (local variable size)
22465 * blockinlining.c: apply above rename.
22467 * compile.h: ditto.
22477 * vm_dump.c: ditto.
22479 Sun Feb 25 10:27:17 2007 Minero Aoki <aamine@loveruby.net>
22481 * bootstraptest/runner.rb: add lib/ to load path.
22483 Sat Feb 25 10:16:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22485 * rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
22487 Sat Feb 24 19:39:16 2007 Minero Aoki <aamine@loveruby.net>
22489 * common.mk: new target "btest", to run bootstraptests.
22491 Sat Feb 24 19:30:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22493 * file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):
22494 renamed from OpenFile.
22496 * ext/dl/cptr.c, ext/io/wait/wait.c, ext/openssl/ossl.h,
22497 ext/openssl/ossl_bio.c, ext/openssl/ossl_ssl.c, ext/pty/pty.c,
22498 ext/readline/readline.c, ext/socket/socket.c: ditto.
22500 Sat Feb 24 19:28:23 2007 Minero Aoki <aamine@loveruby.net>
22502 * bootstraptest/runner.rb: new option -v,--verbose.
22504 Sat Feb 24 18:55:50 2007 Minero Aoki <aamine@loveruby.net>
22506 * yarvtest/test_method.rb: removed (merged to bootstraptest).
22508 * yarvtest/test_class.rb: ditto.
22510 Sat Feb 24 18:44:39 2007 Minero Aoki <aamine@loveruby.net>
22512 * bootstraptest/test_class.rb: new file.
22514 * bootstraptest/test_method.rb: add tests.
22516 Sat Feb 24 18:44:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22518 * intern.h (rb_thread_blocking_region): add prototype.
22520 * file.c (rb_thread_flock, rb_file_flock): use UBF feature.
22522 * process.c (rb_waitpid_blocking, rb_waitpid): use UBF feature.
22524 * thread.c (rb_thread_debug): added runtime debugging flag.
22526 * thread.c (BLOCKING_REGION): restore previous UBF.
22528 * thread.c (rb_thread_blocking_region): default UBF to interrupt
22529 in system dependent way by RB_UBF_DFL.
22530 + ubf_select() on posix system
22531 + ubf_handle() on Win32
22534 * thread_win32.ci (rb_w32_wait_events_blocking): blocking version.
22536 * win32/win32.c (waitpid): use rb_w32_wait_events_blocking().
22538 Sat Feb 24 17:45:48 2007 Minero Aoki <aamine@loveruby.net>
22540 * parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.
22542 Sat Feb 24 16:52:55 2007 Minero Aoki <aamine@loveruby.net>
22544 * bootstraptest/runner.rb: fix syntax error.
22546 Sat Feb 24 16:51:09 2007 Minero Aoki <aamine@loveruby.net>
22548 * bootstraptest/runner.rb: new option --help.
22550 Sat Feb 24 16:47:33 2007 Minero Aoki <aamine@loveruby.net>
22552 * bootstraptest: new test suite.
22554 * bootstraptest/runner.rb: new file.
22556 * bootstraptest/test_literal.rb: new file.
22558 * bootstraptest/test_method.rb: new file.
22560 Sat Feb 24 16:29:15 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22562 * win32/win32.c (StartSocket): remove unnecessary code.
22564 Sat Feb 24 16:04:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22566 * parse.y (struct local_vars): remove unused nofree member from
22569 * parse.y (parser_free): ditto.
22571 Sat Feb 24 15:57:19 2007 Shugo Maeda <shugo@ruby-lang.org>
22573 * lib/thread.rb (ConditionVariable#broadcast): use Mutex
22574 instead of Thread.exclusive.
22576 * lib/monitor.rb (MonitorMixin#mon_exit): unset @mon_owner
22577 before calling Mutex#unlock.
22579 Sat Feb 24 15:51:45 2007 Minero Aoki <aamine@loveruby.net>
22581 * parse.y (program): remove useless assignment to reduce warning.
22583 Sat Feb 24 15:41:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22585 * parse.y (lambda): remove unused clause from the rule to stop
22588 Sat Feb 24 15:41:22 2007 Shugo Maeda <shugo@ruby-lang.org>
22590 * lib/thread.rb: do not redefine Mutex#synchronize.
22592 Sat Feb 24 15:14:02 2007 Shugo Maeda <shugo@ruby-lang.org>
22594 * lib/monitor.rb: rewritten using Mutex/ConditionVariable.
22596 Sat Feb 24 13:25:32 2007 Koichi Sasada <ko1@atdot.net>
22598 * lib/soap/mapping/factory.rb: catch up with spec changes (return
22599 Symbols instead of Strings).
22601 * lib/soap/mapping/mapping.rb: ditto.
22603 Sat Feb 24 10:49:55 2007 Koichi Sasada <ko1@atdot.net>
22605 * parse.y, node.h, compile.c: change node tree structure. a purpose
22606 of this change is to unify argument structure of method and block.
22607 this change prohibits duplicate block parameter name.
22608 new argument information:
22609 NODE_ARGS [m: int, o: NODE_OPT_ARG, ->]
22610 NODE_ARGS_AUX [r: ID, b: ID, ->]
22611 NODE_ARGS_AUX [Pst: id, Plen: int, init: NODE*]
22612 optarg information:
22613 NODE_OPT_ARGS [idx, expr, ->]
22615 * vm_macro.def: ditto.
22621 * compile.h: fix debug function name.
22623 * test/ripper/test_scanner_events.rb: |_,_,foo| -> |_1,_2,foo|
22625 * test/ruby/test_lambda.rb: disable test temporarily.
22627 Sat Feb 24 10:46:28 2007 Koichi Sasada <ko1@atdot.net>
22629 * test/testunit/test_testcase.rb: catch up with current instance
22632 Sat Feb 24 10:32:59 2007 Koichi Sasada <ko1@atdot.net>
22634 * common.mk: change vm_macro.def rule.
22636 Sat Feb 24 10:38:05 2007 Minero Aoki <aamine@loveruby.net>
22638 * ext/racc/cparse/cparse.c (cparse_params_mark): remove useless
22639 rb_gc_mark. Thanks Tomoyuki Chikanaga. [ruby-dev:30405]
22641 Sat Feb 24 07:31:35 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22643 * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array,
22644 WIN32OLE_VARIANT#value=, refactoring.
22646 * test/win32ole/test_win32ole_variant.rb: add some test for
22647 WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=.
22649 Fri Feb 23 18:37:55 2007 Minero Aoki <aamine@loveruby.net>
22651 * test/ruby/test_yield.rb: new test.
22653 * yarvtest/test_yield.rb: removed (moved to test_yield.rb).
22655 Fri Feb 23 18:27:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22657 * thread.c (rb_thread_polling): check interrupts here.
22659 * thread_win32.ci (w32_wait_events): rename from w32_wait_event(), and
22660 now receive multiple event handles.
22662 * win32/win32.c (wait_events, rb_w32_main_context): removed.
22664 * thread_win32.ci (rb_w32_wait_events): new function.
22666 * thread_win32.ci, win32/win32.c (rb_w32_sleep, rb_w32_Sleep): move
22667 from win32/win32.c to thread_win32.ci, and use w32_wait_events().
22669 Fri Feb 23 18:13:22 2007 Minero Aoki <aamine@loveruby.net>
22671 * test/ruby/test_optimization.rb: new test (merges test_opts.rb).
22673 * yarvtest/test_opts.rb: removed.
22675 Fri Feb 23 16:59:39 2007 Minero Aoki <aamine@loveruby.net>
22677 * test/ruby/test_assignment.rb: merge yarvtest/test_massign.
22679 * yarvtest/test_massign.rb: removed (merged to
22680 test_assignment.rb).
22682 Fri Feb 23 15:58:20 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22684 * signal.c (sighandler): need to re-install sighandler on some
22687 Fri Feb 23 15:05:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22689 * win32/win32.c (set_pioinfo_extra): simplified.
22691 Fri Feb 23 14:23:20 2007 Minero Aoki <aamine@loveruby.net>
22693 * test/ruby/test_literal.rb: new test.
22695 Fri Feb 23 12:40:12 2007 James Edward Gray II <james@grayproductions.net>
22697 * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the
22698 Content-Length parameter optional for responses in
22699 xmlrpc/client.rb; suggested by Daniel Berger
22700 <Daniel.Berger@qwest.com> and approved by the maintainer.
22702 * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime
22703 support to xmlrpc; approved by the maintainer.
22705 Fri Feb 23 12:24:46 2007 Minero Aoki <aamine@loveruby.net>
22707 * parse.y (lambda): add ripper event. This fixes bus error on
22710 * ext/ripper/extconf.rb: do not stop build.
22712 Fri Feb 23 12:16:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22714 * parse.y: remove dyna_check_gen() prototype.
22716 Fri Feb 23 11:41:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22718 * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h,
22719 object.c, string.c, variable.c, vm_macro.def: revert private
22720 instance variable feature, which is postponed until next major
22723 * marshal.c: TYPE_SYMBOL2 removed; MARSHAL_MINOR reverted back to
22726 Fri Feb 23 10:53:21 2007 Shugo Maeda <shugo@ruby-lang.org>
22728 * thread_pthread.ci (native_mutex_lock): do not call
22729 pthread_mutex_trylock().
22731 Fri Feb 23 10:31:16 2007 Minero Aoki <aamine@loveruby.net>
22733 * dln.c: use dlopen on Mac OS X 10.3 or later.
22735 Fri Feb 23 10:03:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22737 * string.c (rb_str_ord): need not to check string length; ord
22738 returns a codepoint for the first character in the string.
22740 Wed Feb 21 22:29:45 2007 Akinori MUSHA <knu@iDaemons.org>
22742 * numeric.c (fix_equal): A bit more optimization.
22744 Wed Feb 21 17:40:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22746 * numeric.c (fix_equal): remove FIX2LONG() to optimize. suggested
22747 in http://t-a-w.blogspot.com/2007/02/making-ruby-faster.html.
22750 * numeric.c (fix_cmp): ditto.
22752 Wed Feb 21 09:14:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22754 * eval_load.c (rb_require_safe): should restore safe level.
22756 Tue Feb 20 21:19:29 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22758 * ext/win32ole/win32ole.c (installed_code_page_proc,
22759 ole_variant2val): small refactoring.
22761 Tue Feb 20 15:11:42 2007 Koichi Sasada <ko1@atdot.net>
22763 * eval.c, vm.c, yarvcore.h: move definition of rb_call_super() to
22764 vm.c from eval.c. change th_call_super() to static function.
22766 Tue Feb 20 15:08:25 2007 Koichi Sasada <ko1@atdot.net>
22768 * test/io/nonblock/test_flush.rb: YARV doesn't raise any errors if
22769 another thread close IO object which current thread is blocking with.
22771 Tue Feb 20 15:03:29 2007 Koichi Sasada <ko1@atdot.net>
22773 * thread.c (do_select, rb_thread_wait_fd_rw): raise sys error if
22774 errno is not 0 and EBADF.
22776 Mon Feb 19 22:15:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22778 * configure.in (RUBY_REPLACE_TYPE): cache convertible type info.
22780 * intern.h (rb_detach_process): use rb_pid_t instead of pid_t.
22782 * ruby.h (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT):
22783 defaulted to conversion using long.
22785 Mon Feb 19 17:14:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22787 * ext/socket/socket.c (unix_peeraddr): wrong syscall name in error
22788 message for #peeraddr. a patch from Sam Roberts
22789 <sroberts at uniserve.com>. [ruby-core:10366]
22791 Sun Feb 18 22:56:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22793 * ext/etc/etc.c (etc_getgrgid): missed to replace a macro.
22795 Sun Feb 18 19:33:00 2007 Tadayoshi Funaba <tadf@dotrb.org>
22797 * lib/date/format.rb: updated based on date2 4.0.3.
22799 Sun Feb 18 13:11:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22801 * configure.in (pid_t, uid_t, gid_t): check if defined.
22803 * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use
22804 rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376]
22806 * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM,
22807 NUM2GIDT): moved to configure.in.
22809 Fri Feb 16 21:34:33 2007 Koichi Sasada <ko1@atdot.net>
22811 * object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id.
22813 * test/testunit/test_testcase.rb: fix to use instance_variable_get()
22814 to access @_result.
22816 Fri Feb 16 20:59:10 2007 Koichi Sasada <ko1@atdot.net>
22818 * intern.h: add a prototype of rb_sym_to_s().
22820 Fri Feb 16 19:24:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22822 * math.c (math_log): update document to mention second optional
22823 argument for logarithm base.
22825 Fri Feb 16 19:19:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22827 * parse.y (mrhs): need to append by arg_append().
22830 Fri Feb 16 11:18:21 2007 Eric Hodel <drbrain@segment7.net>
22832 * lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse
22833 <hgs at dmu.ac.uk> from [ruby-core:10135]
22835 * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite.
22837 Thu Feb 15 20:48:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22839 * win32/win32.c (set_pioinfo_extra): new function for VC++8 SP1
22840 workaround. [ruby-core:10259]
22842 * win32/win32.c (NtInitialize): call above function.
22844 Thu Feb 15 16:25:54 2007 Akinori MUSHA <knu@iDaemons.org>
22846 * lib/uri/generic.rb (URI::Generic::userinfo): Considering how
22847 `scheme://user:@...', `scheme://:password@...' and
22848 `scheme://:@...' are parsed, an empty user name or password
22849 should be allowed and represented as it is.
22851 Thu Feb 15 01:52:53 2007 Koichi Sasada <ko1@atdot.net>
22853 * vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to
22854 ruby_vm_global_state_version.
22856 Thu Feb 15 01:50:26 2007 Koichi Sasada <ko1@atdot.net>
22858 * test/fileutils/test_fileutils.rb (check_singleton): fix to use
22859 symbol instead of string.
22861 * test/io/nonblock/test_flush.rb: enable tests.
22863 * test/xmlrpc/test_webrick_server.rb: ditto.
22865 Thu Feb 15 01:43:45 2007 Koichi Sasada <ko1@atdot.net>
22867 * lib/delegate.rb: catch up with class local variable (@_v) spec.
22869 * lib/singleton.rb: ditto.
22871 Wed Feb 14 22:52:43 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22873 * ext/win32ole/win32ole.c (ole_variant2val): VC++6 does not
22874 support VT_I8, VT_UI8.
22876 Wed Feb 14 22:10:21 2007 Koichi Sasada <ko1@atdot.net>
22878 * configure.in: change stack limit to 2MB from 32MB.
22880 * win32/Makefile.sub: ditto.
22882 Wed Feb 14 21:39:36 2007 Akinori MUSHA <knu@iDaemons.org>
22884 * ext/digest/lib/digest.rb (Digest::self.const_missing): Drop
22885 autoloads for sha2 classes in favor of handling in
22886 const_missing(), to work around a problem exposed on OS X.
22888 Wed Feb 14 21:19:47 2007 Koichi Sasada <ko1@atdot.net>
22890 * thread_pthread.ci (native_thread_create): adjust 4KB (page size)
22893 Wed Feb 14 21:12:36 2007 Koichi Sasada <ko1@atdot.net>
22895 * thread_pthread.ci (CHECK_ERR): call rb_bug()
22896 instead of printf() and exit().
22898 Wed Feb 14 16:48:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22900 * lib/date/format.rb (Date::Format::Bag::method_missing): need not
22901 to use instance variables corresponding each method; use Hash
22904 Wed Feb 14 13:12:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22906 * re.c (reg_operand): allow symbols to be operands for regular
22907 expression matches.
22909 * string.c (Init_String): allow Symbol#===.
22911 * lib/date/format.rb (Date::Format::Bag::to_hash): string
22914 Wed Feb 14 12:58:38 2007 Koichi Sasada <ko1@atdot.net>
22916 * thread.c (do_select): fix to iterate select().
22917 on cygwin/mswin32, iterate in unblocking region.
22919 * thread.c (rb_thread_select): don't iterate on this function.
22920 (iterate in do_select).
22922 Wed Feb 14 11:39:18 2007 Koichi Sasada <ko1@atdot.net>
22924 * thread.c (set_unblock_function): fix function interface.
22926 Wed Feb 14 11:12:02 2007 Koichi Sasada <ko1@atdot.net>
22928 * eval_load.c, yarvcore.h: use rb_vm_t#loaded_features instead of
22929 rb_features (global variable).
22931 * yarvcore.c: mark rb_vm_t#loaded_features.
22933 Wed Feb 14 08:46:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22935 * compile.c (defined_expr): no longer distinguish ordinary local
22936 variables and in-block local variables in defined? value.
22938 Wed Feb 14 03:14:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22940 * lib/uri/generic.rb (URI::Generic::userinfo): should support
22941 empty password. [ruby-core:10290]
22943 * lib/uri/generic.rb (URI::Generic::set_password): password can be
22944 cleared by nil. [ruby-core:10290]
22946 Wed Feb 14 03:10:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22948 * parse.y (struct local_vars): no need to warn out-of-scope
22949 variables; remove dnames member from struct.
22951 Wed Feb 14 03:04:10 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22953 * parse.y: RVarmap no longer used as yytype; removed.
22955 * parse.y (dyna_push_gen): no longer need return value.
22957 * parse.y (dyna_pop_gen): no longer need argument.
22959 * parse.y (local_push_gen): initialize nofree.
22961 Wed Feb 14 00:30:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22963 * ext/socket/socket.c (init_unixsock): path may contain NUL for
22964 abstract unix sockets. [ruby-core:10288]
22966 Tue Feb 13 02:21:12 2007 Sam Roberts <sroberts@uniserve.com>
22968 * io.c (rb_f_syscall): Fix buffer overflow with syscall
22969 arguments. [ruby-bugs:PR#8541]
22971 Mon Feb 12 13:57:30 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22973 * ext/win32ole/win32ole.c (ole_variant2val): support VT_I8, VT_UI8.
22975 Mon Feb 12 11:48:52 2007 Kouhei Sutou <kou@cozmixng.org>
22977 * lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightses
22978 -> dc_rights_list. dc_rightses still exists for backward
22979 compatibility. [ruby-core:8350]
22981 * test/rss/test_maker_dc.rb: added tests for dc_rights_list.
22983 Sun Feb 11 22:40:17 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22985 * ext/win32ole/win32ole.c (ole_ptrtype2val): ole_type, ole_type_detail
22986 should not return "VARIANT,VARIANT".
22988 Sun Feb 11 22:11:05 2007 Kouhei Sutou <kou@cozmixng.org>
22990 * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#initialize):
22991 kept backward compatibility.
22993 Sun Feb 11 22:10:08 2007 Kouhei Sutou <kou@cozmixng.org>
22995 * lib/rss/parser.rb (RSS::ListenerMixin#start_else_element): used
22996 const_defined? instead of constants.include?.
22998 Sun Feb 11 18:47:14 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23000 * ext/win32ole/win32ole.c (ole_val2olevariantdata):
23001 WIN32OLE_VARIANT#new accepts nil when variant type is VT_ARRAY.
23003 * test/win32ole/test_win32ole_variant.rb: ditto.
23005 * ext/win32ole/win32ole.c: small refactoring.
23007 Sun Feb 11 07:42:25 2007 Akinori MUSHA <knu@iDaemons.org>
23009 * lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parse
23010 a quoted-string in a Content-Disposition value.
23012 Sat Feb 10 20:21:29 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23014 * ext/win32ole/win32ole.c: add WIN32OLE#ole_query_interface.
23015 thanks to Mikael Pahmp.
23017 * test/win32ole/test_win32ole.rb: ditto.
23019 Sat Feb 10 17:46:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23021 * common.mk: targets which depend on yarvcore.h now depend on
23024 * yarvcore.h (rb_vm_t): use rb_atomic_t instead of int.
23026 Sat Feb 10 00:13:11 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
23028 * ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd,
23029 __conv_keyonly_opts).
23031 Fri Feb 9 12:33:40 2007 Koichi Sasada <ko1@atdot.net>
23033 * thread_win32.ci (w32_show_error_message): renamed to w32_error.
23034 this function do rb_bug().
23036 * thread_win32.ci (w32_set_event, w32_reset_event, w32_close_handle,
23037 w32_resume_thread): added. fix to use these functions instead calling
23040 * thread_win32.ci (w32_create_thread): create suspend thread
23041 (caller must call w32_resume_thread()).
23043 Fri Feb 9 11:03:40 2007 Koichi Sasada <ko1@atdot.net>
23045 * test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.
23047 Fri Feb 9 05:08:17 2007 Koichi Sasada <ko1@atdot.net>
23049 * thread.c, thread_pthread.ci, thread_win32.ci (thread_start_func_1):
23050 move cleanup function to thread_start_func_2().
23052 * thread.c, thread_pthread.ci, thread_win32.ci:
23053 add more destruct functions.
23054 (native_thread_destroy() and native_mutex_destroy())
23056 * thread_pthread.ci, thread_pthread.h: make native_mutex_* functions
23057 (check error, etc), it's not macro any more.
23059 * thread_win32.ci (thread_start_func_1): store some values before
23060 running thread (to release these after running thread).
23062 * thread_win32.ci (native_thread_create): fix spaces.
23064 Thu Feb 8 22:44:04 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23066 * ext/win32ole/win32ole.c (ole_set_safe_array, ole_variant2val,
23067 ole_val_ary2variant_ary): fix WIN32OLE_VARIANT.new bug when
23068 1st argument is empty array, and when 2nd argument is
23071 * test/win32ole/test_win32ole_variant.rb: ditto.
23073 Thu Feb 8 22:39:09 2007 Koichi Sasada <ko1@atdot.net>
23075 * yarvtest/yarvtest.rb: check target command names.
23077 Thu Feb 8 22:31:45 2007 Koichi Sasada <ko1@atdot.net>
23079 * test/ruby/test_clone.rb: fix to current spec
23080 (Module should not be occur many times in ancestors).
23082 Thu Feb 8 22:26:14 2007 Koichi Sasada <ko1@atdot.net>
23084 * test/ruby/test_string.rb: ("foo" == :foo) and ("foo" === :foo)
23087 * ChangeLog: fix last messages.
23089 Thu Feb 8 22:24:06 2007 Koichi Sasada <ko1@atdot.net>
23091 * test/ruby/test_module.rb: fix to use Symbol instead of String.
23093 * test/ruby/test_module.rb: remove space before argument parentheses.
23095 Thu Feb 8 22:02:14 2007 Koichi Sasada <ko1@atdot.net>
23097 * test/ruby/marshaltestlib.rb: eval(sym) -> eval(sym.to_s)
23099 Thu Feb 8 21:35:16 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23101 * test/win32ole/test_propertyputref.rb (setup): fix typo.
23103 * test/win32ole/test_win32ole_event.rb: should not use
23104 InternetExplorer.gohome to test.
23106 Thu Feb 8 21:02:07 2007 Koichi Sasada <ko1@atdot.net>
23108 * thread.c (GVL_UNLOCK_RANGE): rename to BLOCKING_REGION().
23110 * thread.c (rb_thread_run_parallel): rename to
23111 rb_thread_blocking_region().
23113 Thu Feb 8 15:48:44 2007 Koichi Sasada <ko1@atdot.net>
23115 * yarvcore.h, thread.c: fix to use pthread on cygwin.
23117 * yarvcore.h, thread.c: move GVL_UNLOCK_BEGIN() and GVL_UNLOCK_END()
23118 from yarvcore.h to thread.c.
23120 * thread.c: change GVL_UNLOCK_RANGE() arguments
23121 (adding ubf as 2nd argument).
23123 * thread.c: fix to use polling in select on cygwin and mswin32.
23125 * thread.c, thread_pthread.ci, thread_win32.ci, yarvcore.h:
23127 * rb_thread_t#interrupt_function -> unblock_function
23128 * rb_interrupt_function_t -> rb_unblock_function
23129 * some interrupt function name -> ubf_*
23132 Thu Feb 8 16:08:02 2007 Koichi Sasada <ko1@atdot.net>
23134 * common.mk: fix to use RUNRUBY instead of BASERUBY if possible.
23136 * common.mk ($(INSNS) rule): remove $(PROGRAM) first.
23138 Thu Feb 8 15:43:05 2007 Koichi Sasada <ko1@atdot.net>
23140 * process.c: fix to use rb_status_line_set/get/clear().
23142 * eval_intern.h: fix line break.
23144 Thu Feb 8 15:00:14 2007 Koichi Sasada <ko1@atdot.net>
23146 * blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,
23147 eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,
23148 thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,
23149 vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
23150 fix typo (rb_thead_t -> rb_thread_t).
23152 * eval_intern.h: remove unused definitions.
23154 * common.mk: fix around vm_opts.h path
23155 and remove harmful argument passed to insns2vm.rb.
23157 Thu Feb 8 03:11:47 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23159 * lib/cgi.rb (CGI::unescapeHTML): invalid decoding for single
23160 unescaped ampersand. a patch from Tietew
23161 <tietew+ruby-dev at tietew.net> in [ruby-dev:30292].
23162 fixed: [ruby-dev:30289]
23164 Wed Feb 7 23:25:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23166 * eval.c (specific_eval): suppress warning.
23168 * thread_win32.h: undefine _WIN32 on cygwin. [ruby-dev:30303]
23170 Wed Feb 7 22:41:34 2007 Koichi Sasada <ko1@atdot.net>
23172 * eval_intern.h: remove UNSUPPORTED() macro.
23174 * thread.c: fix to define Continuation methods
23175 (they only do rb_notimplement()).
23177 Wed Feb 7 22:33:58 2007 Koichi Sasada <ko1@atdot.net>
23179 * eval_intern.h, yarvcore.h: remove unused macro definition.
23181 Wed Feb 7 22:30:28 2007 Koichi Sasada <ko1@atdot.net>
23183 * eval.c: fixed to use ANSI function style.
23185 Wed Feb 7 09:35:32 2007 Koichi Sasada <ko1@atdot.net>
23187 * this commit is a result of refactoring. only renaming functions,
23188 moving definitions place, add/remove prototypes, deleting
23189 unused variables and removing yarv.h.
23190 This commit doesn't change any behavior of ruby/vm.
23192 * yarv.h, common.mk: remove yarv.h (contents are moved to yarvcore.h).
23194 * error.c, eval_intern.h: include yarvcore.h instead yarv.h
23196 * rename some functions:
23197 * debug.[ch]: debug_*() -> ruby_debug_*()
23198 * iseq.c: iseq_*() -> rb_iseq_*(), ruby_iseq_disasm()
23199 * iseq.c: node_name() -> ruby_node_name()
23200 * vm.c: yarv_check_redefinition_opt_method() ->
23201 rb_vm_check_redefinition_opt_method()
23203 * some refactoring with checking -Wall.
23205 * array.c: remove rb_ary_ptr() (unused) and remove unused
23208 * object.c: add a prototype of rb_mod_module_exec().
23210 * eval_intern.h (ruby_cref): set it inline.
23212 * eval_load.c (rb_load), yarvcore.c: yarv_load() -> rb_load_internal().
23214 * parse.y: add a prototype of rb_parse_in_eval() (in eval.c).
23216 * process.c: add a prototype of rb_thread_stop_timer_thread() (in thread.c).
23218 * thread.c: remove raw_gets() function (unused) and fix some format
23219 mismatch (format mismatches have remained yet. this is todo).
23221 * thread.c (rb_thread_wait_fd_rw): fix typo on label name.
23223 * thread_pthread.ci: comment out codes with USE_THREAD_CACHE.
23225 * vm.c (rb_svar, rb_backref_get, rb_backref_get,
23226 rb_lastline_get, rb_lastline_set) : moved from yarvcore.c.
23228 * vm.c (yarv_init_redefined_flag): add a prototype and rename
23229 yarv_opt_method_table to vm_opt_method_table.
23231 * vm.c (rb_thread_eval): moved from yarvcore.c.
23233 * yarvcore.c: remove unused global variables and fix to use nsdr().
23235 Wed Feb 7 03:39:32 2007 Koichi Sasada <ko1@atdot.net>
23237 * blockinlining.c, compile.c, compile.h, error.c, eval.c,
23238 eval_intern.h, eval_jump.h, eval_load.c, eval_method.h,
23239 eval_safe.h, gc.c, insnhelper.h, insns.def, iseq.c, proc.c,
23240 process.c, signal.c, thread.c, thread_pthread.ci, thread_win32.ci,
23241 vm.c, vm.h, vm_dump.c, vm_evalbody.ci, vm_macro.def,
23242 yarv.h, yarvcore.h, yarvcore.c: change type and macro names:
23243 * yarv_*_t -> rb_*_t
23244 * yarv_*_struct -> rb_*_struct
23245 * yarv_tag -> rb_vm_tag
23246 * YARV_* -> RUBY_VM_*
23248 * proc.c, vm.c: move functions about env object creation
23249 from proc.c to vm.c.
23251 * proc.c, yarvcore.c: fix rb_cVM initialization place.
23253 * inits.c: change Init_ISeq() order (after Init_VM).
23255 * ruby.h, proc.c: change declaration place of rb_cEnv
23256 from proc.c to ruby.c.
23258 Tue Feb 6 22:06:45 2007 NARUSE, Yui <naruse@ruby-lang.org>
23260 * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}:
23261 imported nkf 2007-01-28.
23262 * Fixed: can't decode MIME encode JIS string.
23263 * Fixed: Fullwidth-halfwidth conversion.
23264 * Support DoCoMo's and Softbank's EMOJI
23265 * Support CP932, CP5022x, eucJP-ms UDC
23266 * Support UTF-32 encoding
23267 * Support beyond BMP
23268 [ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144]
23270 Tue Feb 6 20:36:19 2007 Kouhei Sutou <kou@cozmixng.org>
23272 * lib/rss/rss.rb, lib/rss/parser.rb: followed current Ruby
23273 specification. [ruby-dev:30274]
23275 Tue Feb 6 20:29:44 2007 Kouhei Sutou <kou@cozmixng.org>
23277 * lib/rss/rss.rb, lib/rss/parser.rb: removed needless code for
23278 backward compatibility.
23280 Tue Feb 6 18:43:17 2007 Shugo Maeda <shugo@ruby-lang.org>
23282 * lib/net/ftp.rb: moved fixes for EPIPE to the correct
23283 place. [ruby-core:10204]
23285 Tue Feb 6 16:38:08 2007 Koichi Sasada <ko1@atdot.net>
23287 * vm_opts.h: set properties:
23288 svn:keywords: Author Date Id Revision
23289 svn:eol-style: native
23291 Tue Feb 6 15:55:46 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23293 * variable.c (ivar_i): need to support class local instance
23296 Tue Feb 6 15:44:11 2007 Koichi Sasada <ko1@atdot.net>
23298 * compile.c (iseq_compile_each): fix setting is_local flag.
23300 * yarvtest/test_class.rb: add a test for class local instance variable.
23302 Tue Feb 6 14:15:34 2007 Koichi Sasada <ko1@atdot.net>
23304 * compile.c, insns.def: remove (get|set)instancevariable2 and add a
23305 operand is_local to (get|set)instancevariable.
23307 * yarvtest/test_class.rb: add a test for class local instance variable.
23309 * parse.y (rb_decompose_ivar2): remove unused variable oid.
23311 * tool/insns2vm.rb: remove needless require.
23313 Tue Feb 6 11:18:41 2007 Shugo Maeda <shugo@ruby-lang.org>
23315 * lib/net/ftp.rb: check the control connection on EPIPE.
23316 Thanks, Simon Williams. [ruby-core:9547]
23318 Tue Feb 6 11:03:27 2007 Koichi Sasada <ko1@atdot.net>
23320 * complement last commit.
23322 * common.mk (*.inc): use VPATH.
23324 * vm_opts.h: renamed from vm_opts.h.base.
23326 Tue Feb 6 10:02:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23328 * tool/insns2vm.rb: use vm_opts.h in VPATH.
23330 Tue Feb 6 03:47:58 2007 Koichi Sasada <ko1@atdot.net>
23332 * proc.c: support Binding#eval.
23334 * yarvtest/test_eval.rb: add a test for above change.
23336 Tue Feb 6 03:13:33 2007 Koichi Sasada <ko1@atdot.net>
23338 * proc.c: refactoring (remove K&R style, move Binding stuffs from
23339 Init_Proc() to Init_Binding()).
23341 Tue Feb 6 01:07:14 2007 Koichi Sasada <ko1@atdot.net>
23343 * intern.h: prepare rb_last_status_get() and rb_last_status_set().
23344 Use these functions instead of rb_last_status ([ruby-dev:30264]).
23346 * process.c: define above functions.
23348 * ext/pty/pty.c: use above functions.
23350 * io.c (pipe_finalize): ditto.
23352 * process.c: ditto.
23354 Mon Feb 5 21:26:56 2007 Koichi Sasada <ko1@atdot.net>
23356 * ruby.h: add a prototype of rb_id2str().
23358 Mon Feb 5 21:06:50 2007 Koichi Sasada <ko1@atdot.net>
23360 * eval_thread.c, common.mk: remove eval_thread.c.
23362 * yarvcore.c: rename cYarvThread to rb_cThread.
23364 * gc.c: remove YARV_* prefix.
23366 * gc.h: add an include guard and prototype of rb_gc_set_stack_end().
23368 * inits.c: fix to ANSI prototype style and reorder Init_*().
23370 * io.c (pipe_finalize): TODO: comment out last_status.
23372 * process.c, yarvcore.h: fix to use yarv_vm_t#last_status instead of
23373 rb_last_status and make last_status_get() to access $?.
23375 * yarvcore.c (vm_mark): mark yarv_vm_t#last_status.
23377 * ruby.h: add declarations of rb_cISeq and rb_cVM.
23379 * thread.c: move eval_thread.c codes to thread.c and remove yarv_*
23382 * thread.c (thread_start_func_2): use yarv_thread_t#first_func if
23385 * vm.c: fix copyright year.
23387 * yarvcore.c (Init_vm): rename to Init_VM().
23389 Mon Feb 5 04:09:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23391 * eval.c (rb_frame_callee): check if prev_cfp can be accessible.
23392 a patch from Yoshinori Sano <yoshinori.sano at gmail.com> in
23393 [ruby-dev:30252]. solves [ruby-dev:30200] and [ruby-core:9856].
23395 Sun Feb 4 20:34:41 2007 Kouhei Sutou <kou@cozmixng.org>
23397 * test/rss/rss-assertions.rb: removed needless code for backward
23400 Sun Feb 4 02:22:59 2007 Akinori MUSHA <knu@iDaemons.org>
23402 * lib/cgi.rb (CGI::QueryExtension::read_multipart): Remove a debug
23405 Sat Feb 3 23:51:58 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23407 * parse.y (rb_compose_ivar2): function to create a new ivar2
23408 symbol from a symbol and a class. back-ported from matzruby.
23410 * parse.y (rb_decompose_ivar2): reverse function of
23411 rb_compose_ivar2().
23413 * marshal.c (w_symbol): support class local instance variables.
23415 * marshal.c (r_object0): ditto.
23417 * compile.c (defined_expr): ditto.
23419 * compile.c (iseq_compile_each): ditto.
23421 * insns.def: add two new instructions: getinstancevariable2 and
23422 setinstancevariable2.
23424 Sat Feb 3 23:21:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23426 * insns.def (setclassvariable): remove unnecessary operand.
23428 * compile.c (iseq_compile_each): ditto.
23430 * common.mk (insns_info.inc): add dependency for insns_info.inc.
23432 Sat Feb 3 14:32:58 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23434 * ext/win32ole/win32ole.c (ole_val2olevariantdata, ole_val2variant):
23435 fix the bug of WIN32OLE_VARIANT.new when variant type is
23438 * ext/win32ole/sample/excel1.rb: rewrite using WIN32OLE_VARIANT.
23440 * test/win32ole/test_win32ole.rb: add some test.
23442 * test/win32ole/test_win32ole_variant.rb: ditto.
23444 Sat Feb 3 03:35:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23446 * Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.
23448 * common.mk (runruby, benchmark, benchmark-each, tbench): use
23449 PROGRAM for the file to be built.
23451 * proc.c (yarv_proc_alloc): needs return.
23453 * call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,
23454 eval_error.h, eval_jump.h, eval_load.c, eval_thread.c, gc.c,
23455 insnhelper.h, insns.def, iseq.c, main.c, numeric.c, parse.y,
23456 range.c, ruby.h, signal.c, thread.c, thread_win32.ci, vm.c,
23457 vm.h, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
23458 fixed indents and non-C90 comments.
23460 * regenc.h: revert to before YARV.
23462 * lib/mkmf.rb (create_makefile): make object files depend on
23463 extconf.h even if depend file exists.
23465 Fri Feb 2 23:39:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23467 * common.mk (bin): add more dependency. a patch from Tadashi
23468 Saito <shiba at mail2.accsnet.ne.jp>. [ruby-dev:30245]
23470 Fri Feb 2 18:44:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23472 * insns.def (setclassvariable): remove warn argument.
23474 Fri Feb 2 18:36:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23476 * common.mk (compile.$(OBJEXT)): add config.h to vm.c and
23479 Fri Feb 2 18:27:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23481 * eval.c: remove duplicated global variables rb_cProc and
23482 rb_cBinding. [ruby-dev:30242]
23484 Fri Feb 2 00:13:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23486 * ruby.h (SYMBOL_P): make Symbol immediate again for performance.
23488 * string.c: redesign symbol methods.
23490 Thu Feb 1 23:25:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23492 * parse.y (rb_id2str): store Strings for operator symbols.
23495 Thu Feb 1 21:04:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23497 * parse.y (assignable_gen): no need to generate NODE_CVDECL.
23499 * compile.c (iseq_compile_each): no NODE_CVDECL.
23501 Thu Feb 1 20:53:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23503 * vm.c (eval_get_cvar_base): destination for class variable access
23504 is now strictly innermost surrounding class or module. warned
23505 if accessed from toplevel.
23507 * variable.c (rb_cvar_get): new class variable look-up scheme:
23508 1) look up in the class. 2) if the class is singleton attached
23509 to a class (i.e. metaclass) then start look up in the attached
23510 class and its ancestors. 3) otherwise, look-up in ancestors of
23513 * eval.c (cvar_cbase): destination for class variable access is
23514 the class/module that holds the method, or cbase outside of
23517 Thu Feb 1 20:31:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23519 * variable.c (rb_cvar_set): remove warn argument.
23521 Wed Jan 31 14:52:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23523 * test/ruby/test_iterator.rb (TestIterator::test_block_given_within_iterator):
23524 add new test. [ruby-core:10125]
23526 Tue Jan 30 17:01:21 2007 NAKAMURA Usaku <usa@ruby-lang.org>
23528 * string.c (rb_str_sub_bang): calling rb_str_modify() should be just
23529 before actually modifying the string.
23530 fixed: [ruby-dev:30211] (originally reported by zunda)
23532 Tue Jan 30 13:24:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23534 * numeric.c (int_pred): add Integer#pred corresponding
23535 Integer#succ. [RCR#5]
23537 Tue Jan 30 12:05:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23539 * mkconfig.rb: autoconf 2.61 support. [ruby-core:10016]
23541 Mon Jan 29 23:52:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23543 * tool/compile.rb: replace YARVCore by VM class.
23545 Mon Jan 29 17:52:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23547 * lib/date/format.rb (Date::Format::Bag::method_missing): add
23548 prefix to avoid making t class-local instance variable.
23550 Mon Jan 29 21:32:37 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23552 * ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,
23553 WIN32OLE_VARIANT#vartype.
23555 * test/win32ole/test_win32ole.rb: add test for WIN32OLE.locale=,
23558 * test/win32ole/test_win32ole_variant.rb: add test for
23559 WIN32OLE_VARIANT#vartype.
23561 Mon Jan 29 14:14:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23563 * tool/parse.rb: replace YARVCore by VM class.
23564 http://d.hatena.ne.jp/ysano2005/20070128
23566 Sun Jan 28 08:41:49 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23568 * ext/win32ole/win32ole.c: refactoring.
23570 Sat Jan 27 18:36:33 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23572 * ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix.
23573 WIN32OLE_VARIANT.new check that 1st argument should T_ARRAY
23574 when variant type is VT_ARRAY.
23576 * test/win32ole/test_win32ole_variant.rb: add some test.
23578 Fri Jan 26 23:55:56 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23580 * ext/win32ole/win32ole.c: bug fix of WIN32OLE_VARIANT when variant
23581 type is VT_BYREF|VT_VARIANT.
23583 * test/win32ole/test_win32ole_variant_with_ie.rb: ditto.
23585 Fri Jan 26 12:03:39 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
23587 * ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,
23588 __conv_keyonly_optkeys): make them private [ruby-dev:30074].
23590 * ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073].
23592 * ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument.
23594 * ext/tk/lib/tk/canvas.rb: clarify the including module name
23597 * ext/tk/lib/tk/scrollable.rb: change primary name of modules
23600 Fri Jan 26 07:48:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23602 * enumerator.c (enumerator_init_copy): need to copy internal
23603 structure on clone and dup. [ruby-dev:30192]
23605 Wed Jan 24 20:34:51 2007 Kouhei Sutou <kou@cozmixng.org>
23607 * test/ruby/test_iterator.rb: removed a needless workaround.
23609 Wed Jan 24 18:05:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23611 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix
23612 regexp font-lock bug. [ruby-talk:235758]
23614 Tue Jan 23 18:26:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23616 * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
23617 of ===. [ruby-dev:30176]
23619 Tue Jan 23 15:39:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
23621 * Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
23622 setup.mak}: add --with-baseruby configure option.
23624 Mon Jan 22 14:57:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23626 * ext/socket/socket.c: fix errors in socket sample code.
23629 Sat Jan 20 21:05:18 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23631 * ext/win32ole/win32ole.c (fole_s_set_code_page): WIN32OLE.codepage=
23632 accepts installed codepage.
23634 * test/win32ole/test_win32ole.rb (test_s_codepage_changed): ditto.
23636 Sat Jan 20 11:18:49 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23638 * ext/win32ole/win32ole.c (ole_invoke, ole_invoke2, ole_propertyput):
23639 modify WIN32OLERuntimeError message.
23641 * test/win32ole/test_win32ole.rb: ditto.
23643 Sat Jan 20 06:45:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23645 * eval_proc.c (method_receiver): add new method to get the bound
23646 receiver of the method object. [ruby-talk:234949]
23648 * eval_proc.c (method_name): new method to get the name of a
23651 * eval_proc.c (method_owner): a new method to get the class or
23652 module that defines the method.
23654 Fri Jan 19 17:12:23 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23656 * ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_VARIANT::Empty,
23657 WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.
23659 * test/win32ole/test_win32ole_variant.rb: ditto.
23661 * test/win32ole/test_nil2vtempty.rb(test_openSchema): ditto.
23663 Fri Jan 19 06:53:38 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23665 * ext/win32ole/win32ole.c (olevariant_free): fix memory leak.
23667 * ext/win32ole/win32ole.c (ole_val2olevariantdata):
23668 WIN32OLE_VARIANT.new accepts nil as first argument for some VARIANT
23671 * test/win32ole/test_win32ole_variant.rb: ditto.
23673 Wed Jan 17 17:31:28 2007 Koichi Sasada <ko1@atdot.net>
23675 * some refactoring around yarvcore and proc.
23677 * eval_proc.c: renamed to proc.c.
23679 * common.mk: ditto.
23681 * yarvcore.h, yarvcore.c: rename or remove some global variables
23682 removed: mYarvCore, mYarvInsns
23683 renamed: cYarvISeq -> rb_cISeq,
23684 cYarvProc -> rb_cProc, cYarvBinding -> rb_cBinding
23685 ::YarvCore module is removed and ::YarvCore::VM class becomes ::VM.
23686 And change/remove some functions which added with YARV.
23688 * compile.c: ditto.
23696 * inits.c: rename Init_yarvcore to Init_vm.
23698 * yarvcore.c, proc.c: move some functions and initialization
23699 from yarvcore.c to proc.c.
23701 * intern.h, proc.c: add global function rb_binding_new(void).
23703 Tue Jan 16 17:49:29 2007 Koichi Sasada <ko1@atdot.net>
23705 * vm.c (eval_search_super_klass): rename to search_super_klass() and
23706 use it by th_call_super().
23708 * insns.def: ditto.
23710 Tue Jan 16 17:48:11 2007 Koichi Sasada <ko1@atdot.net>
23712 * common.mk: fix ruby script path.
23714 Tue Jan 16 17:39:44 2007 Koichi Sasada <ko1@atdot.net>
23716 * vm.c (invoke_block): fix to specify self.
23718 Tue Jan 16 12:12:27 2007 Koichi Sasada <ko1@atdot.net>
23722 Tue Jan 16 12:00:06 2007 Koichi Sasada <ko1@atdot.net>
23724 * eval_proc.c (rb_proc_new): added.
23726 * string.c (sym_to_proc): supported.
23728 * vm.c (invoke_block, th_invoke_yield, th_invoke_proc): fix to support
23731 * yarvcore.c: add a test code.
23733 Sat Jan 13 23:24:59 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23735 * ext/win32ole/win32ole.c (ole_free, ole_type_free,
23736 olemethod_free, olevariable_free, oleparam_free,
23737 ole_event_free): fix memory leak. [ruby-core:09846]
23739 Wed Jan 10 00:10:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23741 * array.c (rb_ary_replace): use ptr and len of orig instead of
23742 shared. fixed: [ruby-dev:30116]
23744 Tue Jan 9 17:48:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
23746 * file.c (rb_find_file): should not call fpath_check() with NULL.
23747 fixed: [ruby-core:09867]
23749 Tue Jan 9 12:29:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23751 * ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly
23752 convert uid/gid from VALUE.
23754 * ext/etc/etc.c (etc_getpwuid): ditto.
23756 Tue Jan 9 03:54:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23758 * string.c (rb_str_upto): String#upto from empty string makes
23759 infinite loop. [ruby-core:09864]
23761 * string.c (rb_str_upto): use RSTRING_LEN().
23763 Sun Jan 7 18:36:05 2007 Koichi Sasada <ko1@atdot.net>
23765 * thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),
23766 rb_thread_start_timer_thread()): added.
23768 * thread_pthread.ci: add a native_thread_join() and move
23769 rb_thread_reset_timer_thread() definition to thread.c.
23771 * thread_win32.ci: ditto
23773 * process.c: fix before_exec(), after_exec() to stop timer thread
23774 (and restart timer thread if exec failed). and fix to reset
23775 timer thread information when forked child process starts
23776 (to fix [ruby-core:09822]).
23778 Sun Jan 7 18:28:17 2007 Koichi Sasada <ko1@atdot.net>
23780 * common.mk: add a "compare" rule and fix MATZRUBY variable
23782 Sun Jan 7 17:47:16 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23784 * test/win32ole/test_win32ole.rb: add test for WIN32OLE#[],
23787 * ext/win32ole/win32ole.c: update comment for rdoc of
23788 WIN32OLE#[] and WIN32OLE#[]=.
23790 Sun Jan 7 12:13:26 2007 Eric Hodel <drbrain@segment7.net>
23792 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_class_comment):
23793 Look for class and module comments above rb_define_class and
23794 rb_define_module. Patch by Daniel Berger <djberg96 at gmail.com>
23796 Sun Jan 7 10:32:12 2007 Eric Hodel <drbrain@segment7.net>
23798 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants):
23799 Properly handle escaping of : in comments.
23800 * test/rdoc/parsers/test_parse_c.rb:
23801 Test RDoc::C_Parser#do_classes and Rdoc::C_Parser#find_class_comment.
23803 Sun Jan 7 09:31:18 2007 Tadayoshi Funaba <tadf@dotrb.org>
23805 * lib/date/format.rb: updated based on date2 4.0.1.
23807 Sat Jan 6 18:46:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
23809 * io.c (rb_io_getline_fast, rb_io_getline): increase lineno
23810 when met the delimiter or EOF. fixed: [ruby-dev:30081]
23812 * io.c (prepare_getline_args, rb_io_getline_1): split
23813 preparation of arguments and reading. [ruby-dev:30085]
23815 Sat Jan 6 13:48:36 2007 Koichi Sasada <ko1@atdot.net>
23817 * insns.def (send): fix to optimize send() with Symbol.
23819 * yarvtest/test_method.rb: add another test.
23821 Sat Jan 6 13:43:55 2007 Koichi Sasada <ko1@atdot.net>
23823 * common.mk: add PHONY dependency to some rules
23825 Sat Jan 6 11:50:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23827 * io.c (argf_read): fix wrong replacement. [ruby-dev:30070]
23829 Sat Jan 6 09:10:52 2007 Koichi Sasada <ko1@atdot.net>
23831 * insns.def: support direct method dispatch with "send" or "funcall".
23832 This means that "obj.send :m" skips "BasicObject#send" invocation
23833 (method frame creation, etc) and "obj.m" invokes directly.
23834 If you make backtrace, there are no entries of "send" method.
23836 * compile.c (iseq_specialized_instruction): fix to support above
23838 * eval.c: ditto (remove "static" from rb_f_send and rb_f_funcall
23840 * yarvcore.c: ditto (add a external IDs for compiler)
23842 * yarvcore.h: ditto (add a VM_CALL_SEND_BIT macro)
23844 * yarvtest/test_method.rb: add tests for above changes
23846 * eval.c: remove unused "Kernel#send" declaration
23848 Sat Jan 6 08:29:17 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
23850 * ext/win32ole/win32ole.c (Init_win32ole): add
23851 WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_NULL
23853 * test/win32ole/test_win32ole_variant_m.rb (test_variant): ditto.
23855 Sat Jan 6 03:49:22 2007 Koichi Sasada <ko1@atdot.net>
23857 * benchmark/run.rb: change option format
23861 Fri Jan 5 22:21:08 2007 Koichi Sasada <ko1@atdot.net>
23863 * benchmark/bm_app_pentomino.rb: use Array#dup instead of
23866 * benchmark/bmx_temp.rb: removed
23868 * benchmark/run.rb: use run.rb instead of run_rite.rb
23872 * benchmark/run_rite.rb: removed
23874 * common.mk: use $(srcdir)/test.rb to run a test program
23877 * benchmark/bmx_temp.rb: removed and
23878 set svn:ignore (bmx_*.rb) to benchmark/
23880 * test.rb: set svn:ignore
23882 Fri Jan 5 21:03:08 2007 Koichi Sasada <ko1@atdot.net>
23884 * yarvtest/yarvtest.rb: fix to compare results
23886 Fri Jan 5 20:52:56 2007 Koichi Sasada <ko1@atdot.net>
23888 * compile.c, compile.h: add ADD_CALL_RECEIVER() macro.
23890 * insns.def (send): use GET_SELF() direct if FCALL.
23892 * eval.c (rb_f_send): check method dispatch type to permit
23893 invoking private method when dispatch type is FCALL/VCALL
23895 * insns.def (opt_ltlt): remove useless statement.
23897 * vm.h: remove unused macros.
23899 Fri Jan 5 20:50:31 2007 Koichi Sasada <ko1@atdot.net>
23901 * benchmark/run_rite.rb: fix to use readlines instead of
23902 read(...).lines (because 1.8 doesn't have String#lines).
23904 Fri Jan 5 20:28:19 2007 Koichi Sasada <ko1@atdot.net>
23906 * thread_win32.ci (rb_thread_reset_timer_thread):
23907 added ([ruby-dev:30086]).
23909 Fri Jan 5 20:20:36 2007 Koichi Sasada <ko1@atdot.net>
23911 * common.mk: add .SUFFIXES rule
23913 Fri Jan 5 15:58:15 2007 Koichi Sasada <ko1@atdot.net>
23915 * eval_method.h (rb_alias): fix to check search result
23917 Fri Jan 5 13:59:53 2007 Koichi Sasada <ko1@atdot.net>
23919 * eval_method.h (rb_add_method): fix to check old_node
23921 Fri Jan 5 12:03:07 2007 Koichi Sasada <ko1@atdot.net>
23923 * compile.c (iseq_compile_each, set_block_local_tbl):
23924 support NODE_LAMBDA (partly).
23926 * sample/test.rb: restore test of NODE_LAMBDA
23928 * test/ruby/test_lambda.rb: ditto
23930 Fri Jan 5 12:31:23 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
23932 * thread_pthread.ci (native_sleep): fix tv_nsec overflow.
23934 Thu Jan 4 20:01:29 2007 Koichi Sasada <ko1@atdot.net>
23936 * common.mk: rename yarv-test-[all/each] to compare-test[/-each].
23937 purpose of "compare-test" rule is to compare ruby (trunk) and
23938 matzruby (branches/matzruby) binary in miniruby level. MATZRUBY
23939 parameter means an path to miniruby of matzruby binary. to do this
23940 comparison test, you should build matzruby branch.
23942 * yarvtest/yarvtest.rb: fix to use command line option as
23943 command names to be compared.
23945 * yarvtest/runner.rb: remove a debug output.
23947 Thu Jan 4 19:12:27 2007 Koichi Sasada <ko1@atdot.net>
23949 * common.mk: fix to use test.rb script in build directory.
23950 ($(srcdir)/test.rb -> test.rb)
23952 Thu Jan 4 17:28:05 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
23954 * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
23955 Arrays could not be modified in its each block. [ruby-dev:30063]
23957 Thu Jan 4 16:57:14 2007 Koichi Sasada <ko1@atdot.net>
23959 * yarv_version.h: removed.
23961 * common.mk: remove yarv_version.h from rules
23963 * yarvcore.h (Init_yarvcore): remove useless constants
23965 Thu Jan 4 17:00:06 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
23967 * ext/openssl/ossl_asn1.c (Init_ossl_asn1):
23968 OpenSSL::ASN1::ASN1Data#value,#tag,#tag_class and
23969 OpenSSL::ASN1::BitString#unused_bits should be public.
23971 Thu Jan 4 13:45:10 2007 Koichi Sasada <ko1@atdot.net>
23973 * thread_pthread.ci: fix last changes around PTHREAD_STACK_MIN.
23975 Thu Jan 4 13:42:47 2007 Koichi Sasada <ko1@atdot.net>
23977 * common.mk: restore changes.
23979 Thu Jan 4 10:33:54 2007 Koichi Sasada <ko1@atdot.net>
23981 * thread_pthread.ci: fix to skip using PTHREAD_STACK_MIN.
23984 Thu Jan 4 10:30:11 2007 Koichi Sasada <ko1@atdot.net>
23986 * benchmark/run_rite.rb (bm): fix to use lines.
23988 Wed Jan 3 18:49:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23990 * io.c (rb_io_getline): lineno update condition was wrong.
23993 * io.c (rb_io_getline_fast): ditto.
23995 Wed Jan 3 11:36:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
23997 * io.c (ruby_dup): start GC on ENOMEM as well.
23999 Tue Jan 2 10:29:54 2007 Eric Hodel <drbrain@segment7.net>
24001 * ext/zlib/zlib.c: fix to compile on YARV
24002 ruby_errinfo -> rb_errinfo()
24004 Mon Jan 1 08:07:06 2007 Koichi Sasada <ko1@atdot.net>
24006 * ext/tk/tcltklib.c: fix to compile on YARV
24007 ruby_errinfo -> rb_errinfo(),
24008 ruby_safe_level -> rb_safe_level().
24010 Mon Jan 1 07:57:17 2007 Koichi Sasada <ko1@atdot.net>
24012 * test/drb/test_drbssl.rb: fix to skip drb tests.
24014 Mon Jan 1 06:13:11 2007 Eric Hodel <drbrain@segment7.net>
24016 * lib/rdoc/parsers/c_parser.rb: Make Rdoc accessible. Update constant
24019 Mon Jan 1 06:13:11 2007 Eric Hodel <drbrain@segment7.net>
24021 * ext/bigdecimal/bigdecimal.c: Update constant comments to provide
24024 Mon Jan 1 06:05:55 2007 Eric Hodel <drbrain@segment7.net>
24026 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants):
24027 Allow RDoc comment to give friendly value for rb_define_const. Patch
24028 by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499].
24029 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants): Fix
24030 whitespace handling in constant comments.
24032 Mon Jan 1 00:00:00 2007 Koichi Sasada <ko1@atdot.net>
24036 Sun Dec 31 16:22:48 2006 Eric Hodel <drbrain@segment7.net>
24038 * array.c: Fix Array#reject.
24040 Sun Dec 31 00:46:25 2006 Tadayoshi Funaba <tadf@dotrb.org>
24042 * lib/date2.rb: removed.
24044 Sun Dec 31 00:15:13 2006 Tadayoshi Funaba <tadf@dotrb.org>
24046 * lib/date.rb, lib/date/format.rb: updated based on date2 4.0.
24048 Sat Dec 30 04:38:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24050 * enum.c (enum_each_with_index): reuse array for yield parameters.
24052 * enum.c (enum_min, enum_max): ditto.
24054 Sat Dec 30 04:25:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24056 * enum.c (enum_inject): reuse array for yield parameters.
24058 Sat Dec 30 02:54:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24060 * ext/stringio/stringio.c (strio_gets): accepts limit argument.
24062 * ext/stringio/stringio.c (strio_readline, strio_each,
24063 strio_readlines): ditto.
24065 Sat Dec 30 02:22:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24067 * ext/stringio/stringio.c (strio_getline): add limit capability.
24069 * io.c (rb_io_gets_m): accepts limit argument. [ruby-talk:231563]
24071 * io.c (rb_io_readline, rb_io_readlines, rb_io_each_line, argf_getline):
24074 * io.c (appendline): add limit capability.
24076 * io.c (rb_io_getline_fast, rb_io_getline): ditto.
24078 * io.c (rb_io_getline): small refactoring for DRY.
24080 * io.c (rb_io_s_foreach, rb_io_s_readlines): small refactoring.
24082 Thu Dec 28 15:27:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24084 * lib/cgi.rb (CGI::Cookie::initialize): use Array() again.
24087 Wed Dec 27 20:52:32 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
24089 * ext/win32ole/win32ole.c: remove WIN32OLE::PROPERTY class.
24091 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
24093 Wed Dec 27 10:04:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24095 * object.c (rb_Array): returns 1-element array if the argument
24096 does not have to_ary nor to_a.
24098 Tue Dec 26 21:02:14 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
24100 * test/win32ole/test_folderitem2_invokeverb.rb: The argument
24101 of Shell.NameSpace should not be file path.
24103 Tue Dec 26 06:13:08 2006 Minero Aoki <aamine@loveruby.net>
24105 * ext/bigdecimal/bigdecimal.c: remove useless method
24106 BigDecimal#!=. [ruby-dev:30050]
24108 Thu Dec 21 15:37:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24110 * string.c (rb_str_slice_bang): rdoc description bug fixed.
24113 Wed Dec 20 12:54:31 2006 Koichi Sasada <ko1@atdot.net>
24115 * Convert CVS repository to Subversion repository.
24117 Mon Dec 18 08:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24119 * lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer
24120 works. [ruby-core:09738]
24122 Fri Dec 15 00:19:53 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24124 * win32/Makefile.sub (COMPILE_RULES): latter rule has higher priority.
24126 * lib/mkmf.rb (create_makefile): remove static library before update,
24127 to get rid of sludge of Borland tlib.exe.
24129 Thu Dec 14 18:29:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24131 * ext/readline/readline.c: NetBSD editline does not have
24132 rl_username_completion_function() and rl_completion_matches().
24133 a patch from Takahiro Kambe <taca at back-street.net>.
24136 Thu Dec 14 18:20:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24138 * lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch from
24139 NAKAMURA Usaku <usa@ruby-lang.org>. [ruby-dev:30012]
24141 Tue Dec 12 23:33:53 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24143 * lib/optparse.rb (Switch#parse_arg, Switch#conv_arg): splat failures.
24145 Mon Dec 11 11:51:10 2006 Akinori MUSHA <knu@iDaemons.org>
24147 * ext/digest/sha2/lib/sha2.rb: Moved one level up from under
24148 the superfluous subdirectory digest/.
24150 Mon Dec 11 11:46:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24152 * variable.c (rb_define_const): typo fixed.
24154 Mon Dec 11 09:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24156 * string.c (rb_str_aset): index double decode problem.
24159 Sat Dec 9 21:39:24 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24161 * eval.c (ruby_cleanup): keep the exception till after END blocks.
24164 Sat Dec 9 11:22:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24166 * lib/irb/locale.rb (IRB::Locale::search_file): use File.exist?
24167 instead of File.exists?. a patch from Yutaka Kanemoto
24168 <kinpoco at gmail.com> in [ruby-dev:30000].
24170 Fri Dec 8 18:11:18 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24172 * lib/optparse.rb: cannot put :nodoc: before method definition.
24175 Fri Dec 8 17:00:13 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24177 * bin/rdoc: use File.exist? instead of File.exists?.
24179 Thu Dec 7 23:50:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24181 * object.c (Init_Object): new method Dir.exist?(path).
24184 * file.c (Init_File): remove File.exists?; use File.exist?
24187 * file.c: rename functions to test_* to rb_file_*_p.
24189 Thu Dec 7 09:29:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24191 * lib/weakref.rb (WeakRef::__setobj__): should support
24192 marshaling. [ruby-talk:228508]
24194 Wed Dec 6 23:58:36 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24196 * Makefile.in, common.mk (NULLCMD): moved for platforms that empty
24197 command does not run. fixed: [ruby-dev:29994]
24199 * win32/win32.c (init_stdhandle): redirect unopened IOs to NUL.
24202 Tue Dec 5 19:01:42 2006 WATANABE Hirofumi <eban@ruby-lang.org>
24204 * configure.in (SITE_DIR): fixed to empty RUBY_SITE_LIB in config.h on
24205 NetBSD. fixed: [ruby-dev:29358]
24207 Tue Dec 5 18:38:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24209 * lib/matrix.rb (Matrix::rank): use quo method to avoid integer
24210 division problem. [ruby-core:09644]
24212 * lib/matrix.rb (Matrix::rank_e): ditto.
24214 Tue Dec 5 00:59:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24216 * misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
24217 self assignment operator, not regex. [ruby-talk:227324]
24219 Tue Dec 5 00:19:14 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24221 * intern.h, object.c, variable.c (rb_mod_constants): added an optional
24222 flag to search ancestors, which is defaulted to true, as well as
24223 const_defined? and const_get. [ruby-dev:29989]
24225 Mon Dec 4 23:49:28 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24227 * instruby.rb (install_recursive): get rid of warning.
24229 * lib/optparse.rb (CompletingHash#match): get rid of splat failure.
24231 Mon Dec 4 19:16:39 2006 Akinori MUSHA <knu@iDaemons.org>
24233 * ext/digest/lib/digest/hmac.rb: Do alias << update.
24235 Mon Dec 4 10:48:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24237 * ruby.h (OFFT2NUM): use LONG2NUM() if sizeof(long) equals to
24240 Mon Dec 4 08:32:25 2006 Shugo Maeda <shugo@ruby-lang.org>
24242 * lib/cgi.rb (CGI::QueryExtension::read_multipart): should quote
24243 boundary. JVN#84798830
24245 Sun Dec 3 16:16:53 2006 Akinori MUSHA <knu@iDaemons.org>
24247 * ext/digest/lib/digest/hmac.rb: Fix problems with update
24248 timing. [Reported by: oss-ruby@technorama.net]
24250 Sat Dec 2 07:33:53 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
24252 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::FormData::<<):
24253 HTTPUtils::parse_header() takes a string. [ruby-dev:29931]
24255 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header):
24256 String does no longer have each method.
24258 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_form_data):
24261 Sat Dec 2 07:09:04 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
24263 * ext/openssl/ossl_ocsp.c: OpenSSL::OCSP::OSCPError should be
24264 subclass of OpenSSL::OpenSSLError. [ruby-dev:29980]
24266 Fri Dec 1 16:31:53 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
24268 * ext/tk/tcltklib.c: shouldn't run the killed thread at callback.
24269 [ruby-talk: 227408]
24271 Tue Nov 28 17:25:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24273 * array.c (ary_iter_check): should check modification (size
24274 change) during iteration.
24276 * array.c (rb_ary_initialize, rb_ary_shift, rb_ary_unshift,
24277 rb_ary_splice, rb_ary_reverse, rb_ary_sort, rb_ary_delete,
24278 rb_ary_delete_at, rb_ary_reject_bang, rb_ary_replace,
24279 rb_ary_clear, rb_ary_fill, rb_ary_uniq_bang, rb_ary_compact,
24280 rb_ary_shuffle): add iteration check.
24282 Mon Nov 27 09:00:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24284 * string.c (rb_str_ord): typo fixed. reported from Kornelius
24285 Kalnbach <murphy@rubychan.de>. [ruby-core:09621]
24287 Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org>
24289 * version.h: addition of RUBY_PATCHLEVEL.
24290 * version.c: ditto.
24292 Wed Nov 22 16:00:49 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
24294 * ext/tk/extconf.rb: support --with-X11/--without-X11 option.
24296 * ext/tk/README.tcltklib: add description about --with-X11-* option
24297 [ruby-talk:225166] and --with-X11/--without-X11 option.
24299 * ext/tk/tkutil/extconf.rb: able to be called manually
24300 [ruby-talk:225950].
24302 Sat Nov 18 23:39:20 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24304 * object.c (rb_obj_tap): a new method. [ruby-talk:224013]
24306 Wed Nov 15 23:22:54 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24308 * file.c (test_grpowned, rb_stat_grpowned): should honor
24309 supplementary group IDs. [ruby-core:09546]
24311 Tue Nov 7 18:35:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24313 * eval.c (formal_assign): need to pack rest arg information in
24316 Tue Nov 7 18:05:01 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
24318 * ext/tk/lib/tk/itemconfig.rb: minor bug fix.
24320 Tue Nov 7 17:52:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24322 * class.c (rb_include_module): revert duplicate inclusion of
24323 modules. [ruby-dev:29793]
24325 Tue Nov 7 17:18:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24327 * eval.c (method_missing): update old argument adjustment.
24329 Tue Nov 7 16:41:21 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24331 * eval.c (when_check): need to splat for NODE_ARGSCAT as well.
24334 Mon Nov 6 22:23:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24336 * string.c (Init_String): remove duplicated definition of
24339 Mon Nov 6 18:54:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24341 * eval.c (svalue_to_avalue): need to splat but no error.
24343 * eval.c: new macros - YIELD_CALL, YIELD_VALUES.
24345 * eval.c (rb_yield_values): specify YIELD_VALUES.
24347 * eval.c (rb_yield_0): use new macros.
24349 * eval.c (proc_invoke): slightly modified to separate YIELD_CALL
24350 and YIELD_VALUES from YIELD_ARY_ARGS.
24352 * object.c (Init_Object): add nil.to_splat => [].
24354 Mon Nov 6 15:41:55 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
24356 * ext/tk/lib/tk/itemconfig.rb: ext/tk/lib/tk/itemconfig.rb: bug
24357 fix on 'itemconfiginfo' method, and modify to make it easy to
24358 override 'itemconfiginfo' method.
24360 * ext/tk/lib/tkextlib/tile/treeview.rb: support Tile 0.7.8.
24362 * ext/tk/lib/tkextlib/version.rb: [new] add Tk::Tkextlib_RELEASE_DATE
24363 to get the information from scripts.
24365 * ext/tk/lib/tk.rb: load 'tkextlib/version.rb', and update RELEASE_DATE
24367 * ext/tk/lib/tkextlib/SUPPORT_STATUS: update.
24369 * ext/tk/sample/editable_listbox.rb: [new] the listbox with editable
24370 items. It's one of the example about usage of Place geometry manager.
24372 * ext/tk/sample/tktextio.rb: improve the functions of TkTextIO class.
24373 Those are required by 'irbtkw.rbw'.
24375 * ext/tk/sample/irbtkw.rbw: [new] IRB on Ruby/Tk. It doesn't need any
24376 real console. IRB works on a text widget without I/O blocking. That
24377 is, thread switching on IRB will work properly, even if on Windows.
24379 Mon Nov 6 00:42:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24381 * parse.y (arg_dup_check): vid may be nameless internal id.
24383 Sun Nov 5 19:52:19 2006 Tadayoshi Funaba <tadf@dotrb.org>
24385 * lib/date.rb: updated based on date2 3.9.7.
24387 Sat Nov 4 13:09:31 2006 Shugo Maeda <shugo@ruby-lang.org>
24389 * lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]
24391 Fri Nov 3 00:16:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24393 * ext/socket/socket.c (ruby_getnameinfo__aix): AF_INET6 workaround
24394 for AIX. a patch from Yutaka Kanemoto <kinpoco AT gmail.com>.
24397 Thu Nov 2 14:19:44 2006 Akinori MUSHA <knu@iDaemons.org>
24399 * lib/set.rb (Set#^): Fix XOR operation against a container that
24400 holds duplicate values. [ruby-core:9372]
24402 Thu Nov 2 10:00:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24404 * string.c: class Symbol is no longer subclass of String. also
24405 covers [ruby-core:09366]
24407 Thu Nov 2 08:21:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24409 * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should
24410 come earlier than String.
24412 * lib/soap/mapping/rubytypeFactory.rb (RubytypeFactory::obj2soap):
24415 * lib/set.rb (TC_Set::test_s_new): strings are no longer
24418 * lib/soap/property.rb (Property::load): ditto.
24420 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header): ditto.
24422 * lib/soap/mimemessage.rb (MIMEMessage::Headers::parse): ditto.
24424 Thu Nov 2 09:08:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24426 * array.c: revert lfree shift/unshift boost patch to avoid unknown
24429 Wed Nov 1 23:24:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24431 * ruby.h (struct RArray): revert embedding ptr in RVALUE.
24435 Wed Nov 1 23:01:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24437 * string.c (hash): use Bob Jenkins' hash algorithm.
24439 Wed Nov 1 02:22:31 2006 Akinori MUSHA <knu@iDaemons.org>
24441 * ext/digest/lib/digest/hmac.rb (Digest::HMAC::update): Minor
24444 * ext/digest/digest.c (rb_digest_instance_equal): Allow comparing
24445 a digest instance with another of a different class.
24447 Wed Nov 1 01:05:13 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24449 * eval.c (rb_call0): fixed bug of zsuper with both of opt and rest.
24450 fixed: [ruby-list:42928]
24452 Tue Oct 31 17:03:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24454 * time.c (time_dup): duplicate the class of original time.
24457 * lib/time.rb (Time::make_time, Time::rfc2822, Time::httpdate):
24458 should respect subclasses. [ruby-core:09357]
24460 Tue Oct 31 16:25:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24462 * array.c (ary_shared_first): should address offset after
24463 ary_shared_array(). [ruby-core:09358]
24465 Mon Oct 30 23:40:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24467 * Makefile.in (miniruby): add XLDFLAGS.
24469 * configure.in (aix): use -bE option for miniruby. [ruby-dev:29698]
24471 * dir.c (glob_helper): get rid of possible memory leak.
24473 * win32/win32.c (cmdglob, rb_w32_cmdvector, rb_w32_opendir,
24474 rb_w32_get_environ): not to use GC before initialization.
24476 Mon Oct 30 19:28:02 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24478 * bignum.c (rb_big2str0): use better approximation.
24480 Mon Oct 30 18:35:33 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24482 * bignum.c (rb_big2str0): wrong allocation length. a patch from
24483 U.Nakamura <usa at garbagecollect.jp> [ruby-dev:29710]
24485 Mon Oct 30 12:34:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24487 * eval.c (rb_eval): fix commit miss. [ruby-dev:29707]
24489 Mon Oct 30 11:15:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24491 * sprintf.c (rb_str_format): should preserve leading zero
24492 information for negative %b and %x. [ruby-talk:221347]
24494 Sun Oct 29 19:51:31 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
24496 * regexec.c: invalid offset value was used in STATE_CHECK_BUFF_INIT().
24498 Sat Oct 28 20:13:18 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
24500 * oniguruma.h: Version 4.4.5
24504 * regerror.c: ditto.
24506 * regexec.c: ditto.
24510 * regparse.c ditto.
24512 Sat Oct 28 07:56:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24514 * marshal.c (r_object0): missing break. [ruby-core:09345]
24516 Fri Oct 27 17:30:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24518 * enumerator.c (enum_each_cons): move RETURN_ENUMERATOR() after
24521 Thu Oct 26 21:05:48 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
24523 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_verify): should clear error.
24524 (fix http://bugs.debian.org/394336)
24526 * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): ditto.
24528 Thu Oct 26 15:23:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24530 * enumerator.c: remove by_slice and by_cons.
24532 Thu Oct 26 15:12:12 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24534 * ext/digest/digest.c (Init_digest): typo.
24536 Wed Oct 25 17:16:05 2006 Akinori MUSHA <knu@iDaemons.org>
24538 * test/digest/test_digest_hmac.rb: added.
24540 Wed Oct 25 16:34:31 2006 Akinori MUSHA <knu@iDaemons.org>
24542 * ext/digest/test.sh: make this script work again.
24544 Wed Oct 25 07:59:42 2006 Tadayoshi Funaba <tadf@dotrb.org>
24546 * lib/date/format.rb: updated based on date2 3.9.6.
24549 Wed Oct 25 00:58:19 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24551 * win32/mkexports.rb, win32/resource.rb: use unique variable names.
24553 Tue Oct 24 19:18:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24555 * enumerator.c (enumerator_by_slice): new method added.
24557 * enumerator.c (enumerator_by_cons): ditto.
24559 Tue Oct 24 18:56:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24561 * enumerator.c (enum_each_slice, enum_each_cons): returns
24562 Enumerable::Enumerator if no block is given. [ruby-dev:29246]
24564 * enumerator.c: remove methods: enum_with_index, enum_slice,
24565 enum_cons. [ruby-dev:29246]
24567 Tue Oct 24 18:51:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24569 * enum.c (enum_zip): add RETURN_ENUMERATOR() to zip method.
24571 Mon Oct 23 04:30:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24573 * marshal.c (r_object0): use return value from proc given as the
24574 second argument to Marshal#load() to allow value replacement in
24575 the restoring data.
24577 Sun Oct 22 14:48:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24579 * signal.c (Init_signal): avoid duplicated installation of SIGCHLD
24582 Sun Oct 22 16:47:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24584 * string.c (rb_str_substr): should be infected with only original
24585 string, but not the shared string. fixed: [ruby-core:09152]
24587 * string.c (rb_str_new4): keep shared string untainted when original
24588 string is tainted. fixed: [ruby-dev:29672]
24590 Sun Oct 22 07:55:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24592 * string.c (rb_str_upcase, rb_str_downcase, rb_str_downcase,
24593 rb_str_upcase_bang, rb_str_downcase_bang, rb_str_swapcase_bang):
24594 add RDoc description that case conversion to be effective only
24597 Sun Oct 22 05:20:34 2006 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
24599 * configure.in: alloca is broken; use C_ALLOCA instead.
24602 Sat Oct 21 17:50:40 2006 Akinori MUSHA <knu@iDaemons.org>
24604 * ext/digest/lib/digest.rb: Follow the framework updates.
24606 Fri Oct 20 22:00:43 2006 Akinori MUSHA <knu@iDaemons.org>
24608 * ext/digest/lib/digest/hmac.rb: Complete half-boiled updates.
24610 * ext/digest/sha2/lib/digest/sha2.rb: Fix #initialize_clone().
24612 Fri Oct 20 20:28:37 2006 Akinori MUSHA <knu@iDaemons.org>
24614 * ext/digest: Prefix C constants with RUBY_ and C type names with
24615 rb_ to avoid name clash in writing extensions.
24617 * ext/digest: Introduce Digest::Class and Digest::Instance for
24618 ease of implementing subclasses and add-ons, inspired by
24621 * ext/digest: The Digest::Instance module now requires and assumes
24622 that any instance be resettable and clonable, and add some
24623 convenient instance methods such as "new()", for creating a new
24624 copy, parameter taking "digest()" and "hexdigest()", for instant
24625 calculation. These methods make digest instances work just like
24628 * ext/digest/sha2/lib/digest/sha2.rb:
24629 Add the Digest::SHA2 class to wrap up SHA2 variants: SHA256,
24630 SHA384 and SHA512, hoping this module would make a decent
24631 example of a digest subclass written in Ruby.
24633 * ext/digest/lib/digest.rb: Adjust autoload entries for SHA2
24636 * ext/digest/lib/digest/hmac.rb: Follow the framework updates.
24638 Fri Oct 20 10:47:43 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24640 * lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.
24642 Fri Oct 20 08:42:38 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24644 * common.mk (NULLCMD): dummy command.
24646 * bcc32/Makefile.sub (post-install-*): Borland make cannot ignore
24647 command-less double-colon rules. [ruby-dev:29676]
24649 Fri Oct 20 00:37:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24651 * bcc32/Makefile.sub ($(LIBRUBY_SO)): execute pre-link hook.
24653 * ext/extmk.rb: workaround for Borland make.
24655 Wed Oct 18 23:02:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24657 * array.c (rb_ary_shift): shorten copy size. fixed: [ruby-list:42907]
24659 * signal.c (Init_signal): handle SIGTERM. fixed: [ruby-list:42895]
24661 * win32/win32.c (rb_w32_utime): allow NULL to set the current time.
24664 Wed Oct 18 13:25:50 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24666 * string.c (rb_str_each_line): String#lines now works when a block
24667 is given. in other words, lines become an alias to each_line.
24670 * string.c (rb_str_each_byte): ditto for bytes in place of lines.
24672 Wed Oct 18 00:55:33 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24674 * parse.y (parser_yylex): use particular enums. [ruby-core:09221]
24676 Tue Oct 17 22:03:08 2006 Minero Aoki <aamine@loveruby.net>
24678 * lib/erb.rb: String#each was removed, use #each_line instead.
24680 Tue Oct 17 12:27:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24682 * array.c (ary_shared_array): should set NOEMBED flag for a copied
24685 Tue Oct 17 08:04:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24687 * string.c (rb_str_lines): now takes optional argument for the
24690 * io.c (rb_io_lines, rb_io_bytes): new methods.
24692 Mon Oct 16 23:33:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24694 * array.c (rb_ary_unshift_m): a bug in lfree shift length
24697 Mon Oct 16 08:30:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24699 * mkconfig.rb: *OBJS are not needed for extension libraries.
24701 * {bcc32,wince,win32}/Makefile.sub (config.status): fixed typo,
24704 Mon Oct 16 00:44:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24706 * pack.c (pack_unpack): execute block if given with unpacked value
24707 instead of creating an array. an idea from Tim Bray.
24709 Sun Oct 15 01:03:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24711 * lib/test/unit/collector/dir.rb (Collector::Dir#collect): append base
24712 directory but not prepend.
24714 * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): do not
24715 join with dot. fixed: [ruby-core:09179]
24717 Sat Oct 14 23:39:50 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24719 * parse.y (singleton): no need to re-create NODE_SELF() again.
24722 Sat Oct 14 23:25:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24724 * parse.y (parser_warning, parser_warn): some error message may
24725 contain format specifiers. a patch from Akinori MUSHA <knu at
24726 iDaemons.org>. [ruby-dev:29657]
24728 * regparse.c (onig_rb_warning, onig_rb_warn): ditto.
24730 * ext/bigdecimal/bigdecimal.c (VpException): ditto.
24732 * ext/dl/handle.c (rb_dlhandle_initialize): ditto.
24734 * ext/gdbm/gdbm.c (rb_gdbm_fatal): ditto.
24736 Sat Oct 14 08:15:42 2006 Akinori MUSHA <knu@iDaemons.org>
24738 * ext/digest/digest.c, ext/digest/digest.h,
24739 ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
24740 ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c:
24741 Introduce API versioning.
24743 * ext/digest/digest.c, ext/digest/digest.h,
24744 ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
24745 ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c: Remove
24746 the constants DIGEST_LENGTH and BLOCK_LENGTH and turn them into
24747 instance methods digest_length() and block_length(). Class
24748 methods with the same names are also provided, which take extra
24749 parameters for a digest method.
24751 * ext/digest/lib/digest/hmac.rb: Completely redesign the somewhat
24752 bizarre API, now that Digest classes can take hashing
24755 Sat Oct 14 05:54:05 2006 Akinori MUSHA <knu@iDaemons.org>
24757 * ext/digest/digest.c: Improve RDoc documentation further more.
24759 Sat Oct 14 04:33:33 2006 Akinori MUSHA <knu@iDaemons.org>
24761 * ext/digest/digest.c: Improve RDoc documentation.
24763 * ext/digest/digest.c (Init_digest, rb_digest_base_s_digest,
24764 rb_digest_base_s_hexdigest): Make Digest::Base::digest() and
24765 Digest::Base::hexdigest() take extra arguments, which are passed
24766 through to the constructor in an internal call.
24768 * ext/digest/bubblebabble/bubblebabble.c
24769 (rb_digest_base_s_bubblebabble): Ditto for
24770 Digest::Base::bubblebabble().
24772 Sat Oct 14 00:55:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24774 * bcc32/Makefile.sub (post-install-ext): no longer needed.
24776 * bcc32/configure.bat: get rid of a quirk of Borland make, which
24777 sets empty macro in command line to "1".
24779 Fri Oct 13 22:49:02 2006 Tadayoshi Funaba <tadf@dotrb.org>
24781 * lib/date.rb: updated based on date2 3.9.5.
24783 Fri Oct 13 21:00:01 2006 Akinori MUSHA <knu@iDaemons.org>
24785 * ext/digest/lib/digest.rb (Digest): Try to auto-load non-standard
24786 digest modules when a specified digest class is missing.
24788 * ext/digest/lib/digest.rb: Define Digest(name) for ease of
24789 dynamically selecting a hashing algorithm.
24791 Fri Oct 13 20:53:37 2006 Akinori MUSHA <knu@iDaemons.org>
24793 * ext/digest/digest.c (Init_digest): Digest::Base.new() does no
24794 longer take an initial string to feed. This change allows
24795 subclasses to take hashing parameters. A statement such as
24796 ``md = Digest::MD5.new(s)'' can be easily rewritten as
24797 ``md = Digest::MD5.new << s'' or
24798 ``md = Digest::MD5.new.update(s)''.
24800 Fri Oct 13 20:51:55 2006 Akinori MUSHA <knu@iDaemons.org>
24802 * ext/digest/digest.c, ext/digest/md5/md5init.c,
24803 ext/digest/rmd160/rmd160init.c, ext/digest/sha1/sha1init.c,
24804 ext/digest/sha2/sha2init.c: Add RDoc documentation.
24806 * ext/digest/digest.txt, ext/digest/digest.txt.ja: Removed in
24807 favor of embedded RDoc documentation.
24809 Fri Oct 13 20:38:12 2006 Akinori MUSHA <knu@iDaemons.org>
24811 * ext/digest/bubblebabble, ext/digest/digest.c: Rip BubbleBabble
24812 support out of the base class and have a separate module named
24813 digest/bubblebabble.
24815 Fri Oct 13 19:53:59 2006 Akinori MUSHA <knu@iDaemons.org>
24817 * ext/digest/digest.c (rb_digest_base_equal): Again, should call
24818 digest() of a subclass instead of the one defined in the base
24821 Fri Oct 13 18:19:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24823 * object.c: Class#inherited RDoc added. a patch from Daniel
24824 Berger <djberg96 at gmail.com> [ruby-core:08942]
24826 Fri Oct 13 02:42:00 2006 Akinori MUSHA <knu@iDaemons.org>
24828 * ext/digest/digest.c (rb_digest_base_equal): Should call digest()
24829 of a subclass instead of the one defined in the base class.
24831 Fri Oct 13 02:30:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24833 * lib/test/unit/collector/dir.rb (Collector::Dir#collect): prepend
24834 base directory to load path.
24836 * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): should
24837 use the given File-like interface, but not File directly.
24839 * test/testunit/collector/test_dir.rb (TestDir::FileSystem): implement
24840 File-like methods correctly.
24842 Fri Oct 13 01:48:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24844 * lib/date.rb (Date::self.complete_hash): need to check if g is
24845 nil before dereference. [ruby-core:09116]
24847 Fri Oct 13 01:05:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24849 * string.c (rb_str_partition): RDoc update. a patch from
24850 Mauricio Fernandez <mfp at acm.org>. [ruby-core:09160]
24852 * hash.c (rb_hash_compare_by_id): ditto.
24854 Fri Oct 13 00:34:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24856 * object.c (rb_mod_cvar_defined): wrong id check. a patch from
24857 Mauricio Fernandez <mfp at acm.org>. [ruby-core:09158]
24859 * object.c (rb_mod_cvar_get): typo fixed. [ruby-core:09168]
24861 * object.c (rb_mod_cvar_set): ditto.
24863 Thu Oct 12 22:58:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24865 * hash.c (rb_hash_compare_by_id): somehow we lost renaming from
24866 Hash#identical. [ruby-core:09163]
24868 Thu Oct 12 18:25:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24870 * ext/tk/tkutil/tkutil.c (cbsubst_table_setup): need to handle new
24871 character literal (1 char string).
24873 * lib/mkmf.rb: shut up some warnings from tk's extconf.rb.
24875 Thu Oct 12 02:15:24 2006 Akinori MUSHA <knu@iDaemons.org>
24877 * ext/digest/lib/digest/hmac.rb: Make use of String#bytes.
24879 Thu Oct 12 02:12:31 2006 Akinori MUSHA <knu@iDaemons.org>
24881 * ext/digest/digest.c (get_digest_base_metadata): Use an instance
24882 variable of a class object instead of a class variable for
24883 metadata. This change is only crucial for ruby 1.8 because
24884 class variables are inherited to subclasses prior to 1.9, but
24885 applying it also to 1.9 will assure compatibilities.
24887 * ext/digest/md5/md5init.c (Init_md5): Ditto.
24889 * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
24891 * ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
24893 * ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
24895 Wed Oct 11 21:36:47 2006 Akinori MUSHA <knu@iDaemons.org>
24897 * ext/digest/digest.c (rb_digest_base_alloc,
24898 rb_digest_base_equal): Simplify the equality check and just
24899 compare resulted digests since state-level equality should
24900 not be so significant.
24902 * ext/digest/digest.h: Ditto.
24904 * ext/digest/*/*.[ch]: Ditto.
24906 Wed Oct 11 17:11:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24908 * eval.c (rb_obj_define_method): add half boiled RDoc document.
24910 Wed Oct 11 16:57:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24912 * array.c (rb_ary_replace): should shift lfree pointer before
24915 Wed Oct 11 15:07:42 2006 Akinori MUSHA <knu@iDaemons.org>
24917 * ext/digest/lib/digest/hmac.rb: Add digest/hmac, which implements
24918 HMAC keyed-hashing algorithm.
24920 Wed Oct 11 15:03:55 2006 Akinori MUSHA <knu@iDaemons.org>
24922 * ext/digest/digest.c (rb_digest_base_reset): Do not make
24923 recursive calls, but call initialize() when reset() is not
24924 defined in a subclass.
24926 Wed Oct 11 14:56:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24928 * ext/digest/sha1/sha1ossl.h: libssl 0.9.8c-3 defines no
24931 Wed Oct 11 14:03:31 2006 Akinori MUSHA <knu@iDaemons.org>
24933 * ext/digest/digest.c (rb_digest_base_reset, Init_digest): Add
24934 Digest::Base#reset.
24936 * ext/digest/digest.h: Update the header comment.
24938 * ext/digest/md5/md5ossl.h, ext/digest/md5/md5init.c (Init_md5):
24939 Define DIGEST_LENGTH and BLOCK_LENGTH.
24941 * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
24943 * ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
24945 * ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
24947 * ext/digest/depend, ext/digest/extconf.rb: Use $INSTALLFILES
24948 rather than adding make targets. [Pointed out by: nobu]
24950 Tue Oct 10 16:39:08 2006 Akinori MUSHA <knu@iDaemons.org>
24952 * ext/digest/digest.c (hexdigest_str_new, bubblebabble_str_new):
24953 Perform StringValue() checks properly.
24955 Tue Oct 10 13:21:21 2006 Akinori MUSHA <knu@iDaemons.org>
24957 * ext/digest/sha1/depend, ext/digest/sha2/depend: Remove obsolete
24960 Mon Oct 9 23:46:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24962 * lib/parsedate.rb: documentation patch from Konrad Meyer
24963 <konrad.meyer@gmail.com>. [ruby-doc:1238]
24965 * lib/open3.rb, lib/ping.rb: ditto.
24967 Mon Oct 9 23:40:58 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24969 * ext/extmk.rb, lib/fileutils.rb, lib/mkmf.rb, lib/optparse.rb,
24970 lib/shellwords.rb: get rid of shadowing outer local variable.
24972 Mon Oct 9 22:56:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24974 * lib/rexml/encoding.rb (REXML::Encoding::check_encoding): spaces
24975 are allowed around equal sign. [ruby-core:09032]
24977 * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser): ditto.
24979 Mon Oct 9 01:56:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24981 * eval.c (rb_obj_define_method): add new method
24982 Kernel#define_singleton_method. [ruby-list:42851]
24984 Sat Oct 7 23:53:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24986 * string.c (rb_str_scan): small documentation fix.
24989 Sat Oct 7 23:44:33 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24991 * bignum.c (rb_big_rshift): a bug in right shift of negative
24992 bignums. [ruby-core:09020]
24994 Sat Oct 7 23:33:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24996 * eval.c (formal_assign): packed post splat arguments may conflict
24997 with normal arguments. [ruby-core:09021]
24999 * eval.c (rb_call0): ditto.
25001 Sat Oct 7 11:53:04 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25003 * object.c (rb_mod_initialize): since module_eval no longer passes
25004 self, use module_exec instead. fixed: [ruby-dev:29637]
25006 Sat Oct 7 00:27:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25008 * class.c (rb_include_module): remove unnecessary check.
25011 Fri Oct 6 15:19:59 2006 Akinori MUSHA <knu@iDaemons.org>
25013 * ext/digest/depend: Fix header installation when the build
25014 directory is different from srcdir. [Pointed out by: eban]
25016 Fri Oct 6 09:56:31 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25018 * {bcc32,win32,wince}/Makefile.sub (config.status): shouldn't use
25019 copy command instead of install. use -run install.
25021 Fri Oct 6 06:53:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25023 * eval.c (rb_yield_0): small refactoring.
25025 * parse.y (bparam_item): fixed bugs in handling parenthesized LHS.
25027 Fri Oct 6 04:47:07 2006 Akinori MUSHA <knu@iDaemons.org>
25029 * ext/digest/depend: Install digest.h.
25031 Fri Oct 6 04:27:40 2006 Akinori MUSHA <knu@iDaemons.org>
25033 * ext/digest/lib/md5.rb, ext/digest/lib/sha1.rb: Remove those
25034 compatibility stub libraries.
25036 * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5.
25038 Fri Oct 6 04:09:51 2006 Akinori MUSHA <knu@iDaemons.org>
25040 * ext/digest/digest.c: Make hexdigest() always call digest() internally.
25042 * ext/digest/digest.c: Add bubblebabble().
25044 Fri Oct 6 02:38:42 2006 Akinori MUSHA <knu@iDaemons.org>
25046 * ext/digest/digest.c: Allow subclassing in Ruby.
25048 Fri Oct 6 02:06:10 2006 Akinori MUSHA <knu@iDaemons.org>
25050 * ext/digest/digest.c (hexdigest_str_new): Add a string size check.
25052 Thu Oct 5 19:28:35 2006 Akinori MUSHA <knu@iDaemons.org>
25054 * ext/digest/digest.[ch]: Since the argument order of
25055 hash_final_func_t was inconsistent with others, change it and
25056 rename to hash_finish_func_t to avoid confusion.
25058 * ext/digest/digest.[ch]: Remove and eliminate the use of
25059 hash_end_func_t. Implement hexdigest conversion in the base
25062 * ext/digest/md5/md5.c, ext/digest/md5/md5.h,
25063 ext/digest/md5/md5init.c, ext/digest/md5/md5ossl.c,
25064 ext/digest/md5/md5ossl.h: Remove MD5_End() and change
25065 MD5_Final() to MD5_Finish().
25067 * ext/digest/rmd160/depend, ext/digest/rmd160/extconf.rb,
25068 ext/digest/rmd160/rmd160.c, ext/digest/rmd160/rmd160.h,
25069 ext/digest/rmd160/rmd160hl.c, ext/digest/rmd160/rmd160init.c,
25070 ext/digest/rmd160/rmd160ossl.c, ext/digest/rmd160/rmd160ossl.h:
25071 Remove unused functions RMD160_End(), RMD160_File(),
25072 RMD160_Data() and change RMD160_Final() to RMD160_Finish().
25074 * ext/digest/sha1/extconf.rb, ext/digest/sha1/sha1.c,
25075 ext/digest/sha1/sha1.h, ext/digest/sha1/sha1hl.c,
25076 ext/digest/sha1/sha1init.c, ext/digest/sha1/sha1ossl.c,
25077 ext/digest/sha1/sha1ossl.h: Likewise.
25079 * ext/digest/sha2/extconf.rb, ext/digest/sha2/sha2.c,
25080 ext/digest/sha2/sha2.h, ext/digest/sha2/sha2hl.c,
25081 ext/digest/sha2/sha2init.c: Likewise.
25083 Wed Oct 4 18:47:25 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25085 * ext/tk/lib/tkextlib/*: bugfix and update
25086 (see ext/tk/ChangeLog.tkextlib).
25088 Wed Oct 4 17:25:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25090 * eval.c (rb_call): check protected visibility based on real self,
25091 not ruby_frame->self. [ruby-talk:217822]
25093 Wed Oct 4 15:46:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25095 * parse.y (block_param): should interpret single parenthesized
25096 left hand side expression.
25098 Wed Oct 4 08:52:30 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25100 * test/optparse/test_getopts.rb: changed the class name of test case
25101 to get rid of conflict with test_optparse.rb.
25103 Tue Oct 3 21:04:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25105 * parse.y (dyna_in_block): inline using macro.
25107 * parse.y (mlhs): simplifies the rule a bit.
25109 * parse.y (block_param): restrict block parameters to be local
25112 * test/ruby/test_iterator.rb (TestIterator::test_nested_iterator):
25113 update test suite to conform the last change.
25115 Tue Oct 3 02:31:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25117 * eval.c (splat_value): use "to_splat" instead of "to_ary" to
25118 prepare splat values as an array.
25120 * array.c (Init_Array): define to_splat.
25122 * range.c (range_to_splat): new method.
25124 * enumerator.c (enumerator_to_splat): ditto.
25126 Tue Oct 3 01:36:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25128 * string.c (rb_str_lines): returns an Enumerator instead of an
25131 * string.c (rb_str_bytes): a new method.
25133 Mon Oct 2 23:47:55 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25135 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):
25136 base directory should be lower precedence. fixed: [ruby-dev:29622]
25138 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
25140 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
25141 load expanded path. fixed: [ruby-dev:29621]
25143 Mon Oct 2 15:47:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25145 * instruby.rb: batfile should be CRLF'ed.
25147 Mon Oct 2 01:24:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25149 * common.mk (test-all): separate directory where running test cases
25152 * lib/test/unit/autorunner.rb (options): added --basedir, --workdir
25153 and --load-path options.
25155 * lib/test/unit/collector/dir.rb (recursive_collect, collect_file):
25156 base directory support.
25158 Sun Oct 1 23:56:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25160 * Makefile.in, common.mk, ext/extmk.rb, win{32,ce}/Makefile.in: keep
25161 LIBRUBY_SO unless need to be removed.
25163 Sun Oct 1 23:12:19 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25165 * lib/optparse.rb (OptionParser#make_switch): pass arguments directly.
25167 Sat Sep 30 15:11:26 2006 Tadayoshi Funaba <tadf@dotrb.org>
25169 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.4.
25171 Fri Sep 29 13:18:24 2006 Akinori MUSHA <knu@iDaemons.org>
25173 * ext/digest/lib/digest.rb (Digest): Require digest.so and fix the
25174 breakage. Point out by NAKAMURA Usaku in [ruby-dev:29619].
25176 Fri Sep 29 12:11:04 2006 WATANABE Hirofumi <eban@ruby-lang.org>
25178 * jcode.rb (succ!): call original succ! if $KCODE == 'n'.
25179 fixed: [ruby-talk:216845]
25181 Fri Sep 29 11:43:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25183 * lib/mkmf.rb (try_func): revert fallback checking undeclared function.
25184 fixed: [ruby-core:08949]
25186 Fri Sep 29 09:56:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25188 * ext/extmk.rb: extout is needed for also clean.
25189 fixed: [ruby-core:08944]
25191 * lib/optparse.rb (OptionParser::Switch#conv_arg): unsplat by
25192 Proc#call if no conversion is given.
25194 Thu Sep 28 23:59:31 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25196 * node.h (struct thread): declare win32_exception_list on cygwin and
25197 win32 regardless if it is implemented. Provisional fix for
25200 Thu Sep 28 20:49:20 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25202 * lib/tmpdir.rb: use return value of getdir.call for length.
25204 Wed Sep 27 22:08:16 2006 Akinori MUSHA <knu@iDaemons.org>
25206 * ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,
25207 require "digest" rather than "digest.so".
25209 * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
25211 * ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
25213 * ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
25215 Wed Sep 27 21:21:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25217 * string.c (rb_str_startwith): rename startwith? to start_with?,
25218 endwith? to endwith?, respectively. [ruby-talk:216685]
25220 Wed Sep 27 13:29:01 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25222 * lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s by
25223 join. some other methods as well. [ruby-dev:29613]
25225 Wed Sep 27 01:04:49 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25227 * lib/mkmf.rb (try_func): check function pointer first and macro next.
25229 * lib/mkmf.rb (have_type): simplified with typedef and sizeof.
25231 Wed Sep 27 00:08:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25233 * array.c (rb_ary_shift): shift/unshift performance boost patch,
25234 based on the patch from Eric Mahurin <eric_mahurin at yahoo.com>.
25237 * array.c (rb_ary_unshift_m): ditto.
25239 * array.c (ary_make_shared): ditto.
25241 * array.c (RESIZE_CAPA): ditto.
25243 * array.c (rb_ary_free): new function to free memory. code moved
25246 * string.c (rb_str_free): ditto.
25248 Tue Sep 26 23:57:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25250 * lib/optparse.rb (OptionParser#getopts): use strings as key.
25251 fixed: [ruby-dev:29614]
25253 Tue Sep 26 15:29:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25255 * {win32,wince}/Makefile.sub (CPP): check predefined value.
25257 Tue Sep 26 07:55:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25259 * array.c (rb_ary_shift): should not move memory region if array
25260 body is shared. a patch from Kent Sibilev <ksruby at gmail.com>.
25263 Mon Sep 25 23:10:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25265 * dir.c (rb_push_glob): need not to check by FilePathValue().
25268 * dir.c (dir_globs): ditto.
25270 Mon Sep 25 22:26:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25272 * file.c (rb_path_end): skip root directory. fixed: [ruby-core:08913]
25274 * lib/mkmf.rb (rm_f): get rid of NUL.
25276 * lib/mkmf.rb (init_mkmf): set default $LDFLAGS. Patch by Michal
25277 Suchanek <hramrach at centrum.cz>. [ruby-talk:216256]
25279 Mon Sep 25 15:06:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25281 * sample/test.rb: "print nil" now prints empty string.
25283 * test/ruby/test_system.rb (TestSystem::test_system): ditto.
25285 Mon Sep 25 11:26:25 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25287 * hash.c (recursive_hash): remove unused local variable.
25289 * parse.y (parser_yylex): ditto.
25291 * parse.y (rb_gc_mark_symbols): fix unmatched prototype .
25293 * file.c (rb_get_path): check NUL byte in the path string.
25295 Mon Sep 25 08:14:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25297 * array.c (rb_ary_shift): should clear shifting top element.
25300 * array.c (rb_ary_shift): avoid creating shared object if array
25303 Mon Sep 25 08:11:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25305 * random.c (rb_f_rand): RDoc typo fix. a patch from Frederick
25306 Cheung <fred at 82ask.com>. [ruby-talk:216047]
25308 Sun Sep 24 21:19:24 2006 Guy Decoux <ts@moulon.inra.fr>
25310 * gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.
25313 Sun Sep 24 22:28:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25315 * runruby.rb: extension library scripts moved into common directory.
25317 Sun Sep 24 12:10:04 2006 Tadayoshi Funaba <tadf@dotrb.org>
25319 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.3.
25321 Sun Sep 24 06:55:36 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25323 * io.c (rb_io_print): no special handling for nil as well as puts.
25324 fixed: [ruby-dev:29586]
25326 Sun Sep 24 06:25:53 2006 why the lucky stiff <why@ruby-lang.org>
25328 * eval.c (rb_thread_save_context, rb_thread_restore_context):
25329 sandbox hook to save and restore sandbox state.
25331 * eval.c (thread_no_ensure): added THREAD_NO_ENSURE thread flag.
25333 * eval.c (rb_thread_kill_bang): Thread#kill! uses the above flag
25334 to circumvent ensure, in order to prevent endless loops.
25335 contributed by MenTaLguY. [ruby-core:08768]
25337 * eval.c (rb_thread_kill): fix Thread#kill docs, which returns
25338 the thread object in all cases.
25340 * node.h: expose the rb_jmpbuf_t and rb_thread_t structs, along
25341 with the thread flags. used by the sandbox extension.
25343 * ruby.h: extern rb_eThreadError, so sandbox can swap it.
25345 Sat Sep 23 21:34:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25347 * lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI content
25348 may be empty. a patch from Jamis Buck <jamis at 37signals.com>.
25350 Sat Sep 23 20:54:28 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
25352 * oniguruma.h: Version 4.4.4
25354 * regexec.c: ditto.
25358 Sat Sep 23 08:35:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25360 * lib/rdoc/ri/ri_options.rb: prevent NameError. [ruby-dev:29597]
25362 Sat Sep 23 01:02:57 2006 Tadayoshi Funaba <tadf@dotrb.org>
25364 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.2.
25366 Fri Sep 22 18:07:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25368 * string.c (rb_str_partition): no need to call rb_call_super(),
25369 since String is no longer includes Enumerable.
25371 Fri Sep 22 17:33:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25373 * hash.c (rb_hash_eql): new method to be used by Hash.
25375 * hash.c (rb_hash_hash): ditto.
25377 Fri Sep 22 06:53:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25379 * bignum.c (rb_big_hash): use rb_memhash().
25381 * numeric.c (flo_hash): simplified. klass need not to affect
25382 resulting hash value.
25384 Fri Sep 22 02:06:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25386 * .cvsignore: ignore timestamp files and installed list file.
25388 Fri Sep 22 01:36:34 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25390 * instruby.rb: include FileUtils unconditionally.
25392 Fri Sep 22 00:36:05 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25394 * numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.
25395 patch from Ondrej Bilka <neleai at seznam.cz>. [ruby-core:08904]
25397 Thu Sep 21 22:56:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25399 * common.mk (no-install): not install rdoc actually.
25401 * common.mk (install-doc, no-install-doc): use instruby.rb.
25403 * instruby.rb: rdoc installation.
25405 * ext/extmk.rb: expand ruby executable names.
25407 Thu Sep 21 20:19:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25409 * string.c (str_new3): embed shorter strings more eagerly.
25411 Thu Sep 21 17:44:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25413 * string.c (rb_str_startwith): a new method to check if a string
25414 starts with given prefix.
25416 * string.c (rb_str_endwith): the opposite of String#startwith?.
25418 Thu Sep 21 16:29:02 2006 WATANABE Hirofumi <eban@ruby-lang.org>
25420 * rubytest.rb: use each_line instead of each.
25422 Thu Sep 21 15:06:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25424 * numeric.c (int_odd_p): a new method to check even or odd.
25427 * numeric.c (int_even_p): ditto.
25429 Thu Sep 21 13:55:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25431 * ext/etc/etc.c (etc_getpwuid): uid integer should be wrapped in
25432 uid_t value. [ruby-core:08897]
25434 * ext/etc/etc.c (etc_getpwuid): uid_t may be bigger than plain
25437 Thu Sep 21 10:07:09 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25439 * string.c (rb_str_partition): RDoc typo fixed. [ruby-core:08898]
25441 * string.c (rb_str_rpartition): fixed separation seek bug.
25443 Thu Sep 21 09:38:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25445 * string.c (rb_str_lines): new method to split a string into lines.
25447 * string.c (Init_String): Strings are no longer Enumerable. use
25448 each_line or lines method explicitly.
25450 * string.c (Init_String): remove each method. use each_lines.
25452 Wed Sep 20 23:17:41 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25454 * common.mk (pre-install-doc): create data directory before install.
25456 * lib/mkmf.rb (dir_re): fixed typo.
25458 * lib/mkmf.rb (install_dirs): remove extra slash.
25460 Wed Sep 20 22:41:45 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25462 * numeric.c (fix_mul): typo again. patch from Tadashi Saito
25463 <shiba at mail2.accsnet.ne.jp>. fixed: [ruby-core:08893]
25465 Wed Sep 20 19:32:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25467 * string.c (rb_str_partition): a new method to separate the string
25468 by a separator. taken from Python 2.5.
25470 * string.c (rb_str_rpartition): ditto.
25472 Wed Sep 20 09:49:40 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25474 * {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to define
25475 this macro to install.
25477 Wed Sep 20 09:43:10 2006 Shugo Maeda <shugo@ruby-lang.org>
25479 * lib/net/imap.rb: allow extra spaces in responses.
25480 Thanks, Tom Soderlund.
25482 Wed Sep 20 09:25:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25484 * ext/gdbm/gdbm.c: add RDoc documentation. a patch from Peter
25485 Adolphs <futzilogik at users dot sourceforge dot net>.
25488 Tue Sep 19 00:42:15 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25490 * object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,
25491 Kernel#instance_variable_defined? and Module#class_variable_defined?.
25494 * lib/date/format.rb (Date::Bag#method_missing): use new method,
25495 instance_variable_defined? to check if an instance variable is
25496 defined. fixed: [ruby-dev:29554]
25497 -- This didn't fix anything.
25499 Tue Sep 19 00:07:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25501 * string.c (sym_eql): fail early to gain performance.
25503 * string.c (sym_hash): cache hash value in aux.shared if possible.
25505 * gc.c (rb_obj_id): no need to treat symbols specially.
25507 * lib/fileutils.rb (FileUtils::FileUtils): singleton_methods() no
25508 longer return an array of strings, but of symbols.
25510 * lib/delegate.rb (DelegateClass): ditto.
25512 Mon Sep 18 15:29:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25514 * dir.c (dir_s_glob): restore GC protection volatile variable.
25517 * re.c (rb_reg_regcomp): ditto.
25519 Mon Sep 18 12:16:48 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25521 * numeric.c (fix_mul): get rid of shift overflow.
25523 Mon Sep 18 10:47:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25525 * dir.c (dir_s_glob): remove unused variable.
25527 * math.c (math_log): ditto.
25529 * re.c (rb_reg_regcomp): ditto.
25531 * eval.c (break_jump): ditto.
25533 * eval.c (rb_thread_yield_0): remove unused function.
25535 Sun Sep 17 23:44:58 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25537 * lib/rdoc/rdoc.rb (RDoc::RDoc#document): scan only files modified
25538 after the previous generation.
25540 Sun Sep 17 17:42:13 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25542 * common.mk (install-doc): reverted.
25544 * instruby.rb: stores file name list without destdir prefix.
25546 * lib/rdoc/generators/ri_generator.rb: do not chdir twice.
25548 Sun Sep 17 10:42:10 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25550 * numeric.c (fix_mul): fixed typo. fixed: [ruby-core:08885]
25552 Sat Sep 16 19:47:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25554 * README.EXT: should mention new macros: RSTRING_PTR, RSTRING_LEN,
25555 RARRAY_PTR, RARRAY_LEN.
25557 * README.EXT.ja: ditto.
25559 Sat Sep 16 16:39:23 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25561 * Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:
25562 use instruby.rb to install extensions instead of ext/extmk.rb.
25564 * instruby.rb: store installed list into the file.
25566 * ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
25568 * ext/io/wait/extconf.rb: suspicious checking_for.
25570 * ext/pty/pty.c (establishShell): parent pid is not used.
25572 * ext/pty/pty.c (freeDevice): not used.
25574 * lib/mkmf.rb (checking_for): improved the messages.
25576 Sat Sep 16 11:03:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25578 * array.c (ary_shared_first): should create embedded copies
25579 instead of sharing memory region for smaller arrays.
25581 Sat Sep 16 09:37:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25583 * struct.c (inspect_struct): do not display a class name for
25584 anonymous struct. The member fields are sufficient.
25586 Fri Sep 15 20:22:15 2006 NARUSE, Yui <naruse@ruby-lang.org>
25588 * ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.
25589 * Fix: check_bom cuts \xfe\xff\xXX\xXX of UTF-32LE.
25590 * Add support --ic=UTF-32.
25591 * Fix: can't guess UTF-16 and UTF-32.
25592 * Fix: can't decode beyond BMP of UTF-16LE.
25594 * ext/nkf/nkf.c (guess): Support UTF-32.
25596 * ext/nkf/lib/kconv.rb (kconv): Support UTF-32.
25598 * ext/nkf/lib/kconv.rb (to_utf32): new method.
25600 Fri Sep 15 05:23:24 2006 NARUSE, Yui <naruse@ruby-lang.org>
25602 * ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 2006-09-15.
25603 Add support for U+10000 - U+10FFFF
25606 Fri Sep 15 00:03:07 2006 Tanaka Akira <akr@fsij.org>
25608 * ext/digest/lib/digest.rb (Digest::Base.file): open a file in binary
25609 mode. suggested by Kazuhiro NISHIYAMA. [ruby-dev:29579]
25611 Thu Sep 14 17:21:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25613 * numeric.c (fix_mul): avoid bignum multiplication as far as
25614 possible. a patch from Ondrej Bilka <neleai at seznam.cz>.
25617 Thu Sep 14 16:34:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25619 * string.c (rb_str_intern): allow zero length symbols.
25622 Thu Sep 14 16:11:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25624 * string.c (rb_str_intern): raise SecurityError only when $SAFE
25625 level is greater than zero. [ruby-core:08862]
25627 * parse.y (rb_interned_p): new function to check if a string is
25630 * string.c (str_to_id): use rb_str_intern().
25632 Thu Sep 14 14:37:45 2006 Tanaka Akira <akr@fsij.org>
25634 * ext/digest/lib/digest.rb (Digest::Base.file): new method.
25637 Thu Sep 14 08:30:02 2006 Tanaka Akira <akr@fsij.org>
25639 * ext/digest/digest.c (rb_digest_base_inspect): new method.
25642 Thu Sep 14 01:13:56 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25644 * gc.c (ruby_init_stack): decrease "stack level too deep" in Windows.
25647 Thu Sep 14 01:02:25 2006 Tanaka Akira <akr@fsij.org>
25649 * ext/digest/lib/digest.rb: new file.
25652 Wed Sep 13 18:43:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25654 * README.EXT: English adjustment. [ruby-core:08851] and
25657 Wed Sep 13 18:25:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25659 * misc/ruby-mode.el (ruby-parse-partial): better here-doc support.
25660 a patch from Marshall T. Vandegrift <llasram at gmail.com>.
25663 Wed Sep 13 16:43:36 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25665 * string.c (rb_str_intern): prohibit interning tainted string.
25667 Wed Sep 13 01:14:02 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25669 * lib/optparse.rb (OptionParser#getopts): works with pre-registered
25670 options. [ruby-core:08826]
25672 Tue Sep 12 03:58:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25674 * hash.c (rb_hash_compare_by_identity): rename Hash#identical to
25675 Hash#compare_by_identity.
25677 Mon Sep 11 16:52:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25679 * hash.c (rb_hash_identical): a new method to make a hash to
25680 compare keys by their identity.
25682 * hash.c (rb_hash_identical_p): new method to tell if a hash is
25685 * st.c (st_numcmp, st_numhash): export hash type functions.
25687 Mon Sep 11 11:42:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25689 * lib/rexml/source.rb (REXML::Source::encoding): should not
25690 convert the body twice. [ruby-core:08828]
25692 * lib/rexml/encoding.rb (REXML::Encoding::encoding):
25693 Encoding#encoding= to return boolean value to tell if the body
25694 is really converted or not.
25696 * lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific
25697 conversion library (e.g. rexml/encodings/UTF-16.rb) to have
25700 * lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16):
25701 UTF-16#decode_utf16 should work strings without BOM.
25703 Mon Sep 11 07:39:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25705 * string.c (sym_equal): "sym == str" should compare them as
25706 strings. [ruby-dev:29554]
25708 Sun Sep 10 22:59:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25710 * instruby.rb (parse_args): remove splat.
25712 Sun Sep 10 20:25:30 2006 Tadayoshi Funaba <tadf@dotrb.org>
25714 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.1.
25716 Sun Sep 10 09:41:29 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25718 * file.c: ISPRINT() needs ctype.h
25720 Sun Sep 10 09:19:47 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25722 * lib/optparse.rb: splat parsed arguments.
25724 Tue Jan 10 09:18:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25726 * eval.c (rb_require_safe): prevent extension from loading twice.
25727 fixed: [ruby-dev:29523]
25729 Sat Sep 9 23:55:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25731 * file.c (rb_f_test): test(0) should not have any special
25732 meaning. [ruby-dev:29425]
25734 * file.c (rb_f_test): properer error message.
25736 Sat Sep 9 14:08:38 2006 Eric Hodel <drbrain@segment7.net>
25738 * lib/test/unit/testcase.rb (Test::Unit::TestCase#run): Rescue
25739 Exception in Test::Unit::TestCase#run. [ruby-core:08783]
25741 Sat Sep 9 04:55:59 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25743 * lib/pstore.rb: open all in binary mode, and get rid of the quirk of
25744 msvcrt. fixed: [ruby-dev:29518]
25746 Sat Sep 9 04:47:45 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25748 * Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
25750 * mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress
25751 warnings with $VERBOSE.
25753 * win32/resource.rb: only file which has more than one icon is DLL.
25755 Fri Sep 8 16:53:30 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25757 * string.c (str_alloc): should allocate a String object, even when
25758 asked to allocate a Symbol object. [ruby-dev:29529]
25760 Fri Sep 8 16:36:27 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25762 * ext/extmk.rb (extmake): follow Array#to_s.
25764 * lib/mkmf.rb (create_makefile): ditto.
25766 * win32/resource.rb: ditto.
25768 Fri Sep 8 10:00:12 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
25770 * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new
25771 method to parse multiple cookies per Set-Cookie header.
25772 Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>.
25775 Fri Sep 8 08:59:30 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25777 * win32/Makefile.sub, win32/configure.bat win32/setup.mak: program
25780 Fri Sep 8 08:25:39 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25782 * lib/optparse.rb: suppress `assigning void value' warning.
25784 Fri Sep 8 01:16:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25786 * array.c (Init_Array): #to_s to be an alias to #inspect.
25789 * hash.c (Init_Hash): ditto.
25791 * lib/mkmf.rb (create_makefile): replace "print array" by
25794 * mkconfig.rb: ditto.
25796 Thu Sep 7 21:02:56 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25798 * object.c (nil_to_s): returns the empty string again.
25801 Thu Sep 7 23:27:05 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25803 * file.c (path_check_0, fpath_check): disable path check on cygwin.
25806 Thu Sep 7 02:03:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25808 * time.c (time_to_s): adopt new date format using digits
25809 e.g. "2006-09-07 02:03:45 +9000".
25811 Thu Sep 7 01:54:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25813 * string.c (sym_equal): override. check equivalence.
25815 Wed Sep 6 13:25:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25817 * parse.y (symbols_i): need to initialize early-created symbols.
25820 Wed Sep 6 12:05:19 2006 NARUSE, Yui <naruse@ruby-lang.org>
25822 * ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505]
25824 Tue Sep 5 22:06:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25826 * ext/tk/tcltklib.c: use rb_ary_new3() since RARRAY_LEN() is not l-value.
25828 * ext/tk/tkutil/tkutil.c: use RARRAY_PTR() and RARRAY_LEN() and etc.
25829 fixed: [ruby-dev:29473]
25831 Tue Sep 5 06:47:22 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25833 * time.c (time_to_s): variable declaration after an execution
25836 Tue Sep 5 05:49:41 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25838 * file.c (path_check_0): check if sticky bit is set on parent
25839 directories for executable path. fixed: [ruby-dev:29415]
25841 Tue Sep 5 05:03:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25843 * numeric.c (fix_plus): addition in Fixnum will never overflow
25844 long. a patch from Ondrej Bilka <neleai at seznam.cz>.
25847 * numeric.c (fix_minus): ditto.
25849 * bignum.c (rb_big_pow): eagerly truncate resulting bignum.
25852 Mon Sep 4 23:15:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25854 * time.c (time_to_s): make it conform to RFC2822 date format.
25857 Mon Sep 4 21:43:57 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25859 * ext/dbm/extconf.rb: create makefile according to the result of check
25860 for dbm header. fixed: [ruby-dev:29445]
25862 Mon Sep 4 21:39:42 2006 Tadayoshi Funaba <tadf@dotrb.org>
25864 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.
25866 Mon Sep 4 21:14:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25868 * time.c (time_strftime): include nul character. fixed: [ruby-dev:29422]
25870 Mon Sep 4 16:39:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25872 * lib/cgi.rb (CGI::out): specify -x option for nkf.
25874 * lib/cgi.rb (CGI::out): should not convert utf-8 implicitly using
25875 NKF. it is too Japanese centric.
25877 Mon Sep 4 14:23:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25879 * ext/dbm/extconf.rb (db_check): remove debug print.
25881 Mon Sep 4 06:46:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25883 * parse.y (rb_id2sym): intern if id is attrset_id.
25884 [ruby-dev:29420] [ruby-dev:29447]
25886 Mon Sep 4 01:25:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25888 * eval.c (rb_f_local_variables): list symbols.
25890 * struct.c (rb_struct_s_members_m): ditto.
25892 * variable.c (ivar_i): ditto.
25894 * variable.c (gvar_i): ditto.
25896 * variable.c (cv_i): ditto.
25898 Sun Sep 3 20:47:02 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25900 * ruby.h (SYMBOL_P): Qnil and Qfalse are not Symbol.
25902 Sun Sep 3 15:32:44 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25904 * lib/mkmf.rb: get rid of nil.to_s.
25906 Sun Sep 3 06:24:38 2006 Tanaka Akira <akr@fsij.org>
25908 * ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
25910 Sun Sep 3 04:40:42 2006 Tanaka Akira <akr@fsij.org>
25912 * ext/socket/extconf.rb: check arpa/inet.h for ntohs.
25914 * ext/socket/socket.c: include arpa/inet.h if available.
25916 Sat Sep 2 23:59:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25918 * string.c (Init_String): undef Symbol#new.
25920 * struct.c (rb_struct_s_def): wrong symbol detection.
25922 Sat Sep 2 23:59:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25924 * string.c (str_to_id): a bug caused by premature optimization.
25926 Sat Sep 2 23:53:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25928 * object.c (Init_Object): move symbol related code to string.c
25930 * string.c (Init_String): Symbol as subclass of String.
25932 * parse.y (rb_intern2): handle symbol as strings.
25934 * string.c (str_new): substring of symbols are mere strings, not
25937 Sat Sep 2 23:37:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25939 * ruby.h (struct RArray): embed small arrays.
25940 (RARRAY_LEN): defined for accessing array members.
25941 (RARRAY_PTR): ditto.
25943 * array.c: use RARRAY_LEN and RARRAY_PTR.
25945 Sat Sep 2 13:23:01 2006 Tanaka Akira <akr@fsij.org>
25947 * common.mk (ia64.o): use the compiler driver to assemble ia64.s
25948 to use appropriate ABI.
25950 Sat Sep 2 12:06:35 2006 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
25952 * lib/soap/generator.rb (SOAP::SOAPGenerator#encode_tag): do not dump
25953 XML attribute which value is nil. value "" and nil both were dumped
25954 as 'attr="value"'. [ruby-dev:29395]
25956 Sat Sep 2 11:47:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25958 * eval.c (rb_eval): should handle when in else clause. a patch
25959 from Eric Hodel <drbrain at segment7.net>. [ruby-core:08662]
25961 * parse.y (primary): wrap with NODE_CASE. [ruby-core:08663]
25963 Sat Sep 2 12:00:32 2006 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
25965 * lib/csv.rb (CSV::IOReader#initialize): use String#[](pos, len)
25966 instead of String#[](idx) to check utf BOM. follows String#[](idx)
25967 behavior change of 1.9.
25969 Sat Sep 2 11:47:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25971 * eval.c (rb_eval): should handle when in else clause. a patch
25972 from Eric Hodel <drbrain at segment7.net>. [ruby-core:08662]
25974 * parse.y (primary): wrap with NODE_CASE. [ruby-core:08663]
25976 Fri Sep 1 22:07:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25978 * ruby.h (RSTRING_EMBED_LEN_MASK): uses 5 bits to support 64bit
25979 environment. [ruby-dev:29369]
25981 Fri Sep 1 22:02:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25983 * string.c (rb_str_resize): should copy embedded string to
25984 malloc'ed buffer. a patch from <nobu at ruby-lang.org> in
25985 [ruby-dev:29369]. fixed: [ruby-dev:29368]
25987 * string.c (rb_str_ord): use %ld specifier since STRING_LEN() is a
25988 long. [ruby-dev:29369]
25990 Fri Sep 1 21:41:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25992 * ext/socket/socket.c (socks_init): typo fixed. a patch from Sven
25993 Klemm <sven at c3d2.de>. [ruby-core:08770]
25995 Fri Sep 1 14:22:42 2006 WATANABE Hirofumi <eban@ruby-lang.org>
25997 * array.c (rb_ary_shuffle): RDoc fixed.
25999 Fri Sep 1 13:52:57 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26001 * ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work
26004 Fri Sep 1 09:32:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26006 * lib/irb/ruby-lex.rb (RubyLex::getc): should not push nil into
26007 reading buffer (@readed). reported in
26008 <http://jarp.does.notwork.org/diary/200608c.html#200608311>.
26010 Thu Aug 31 23:59:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26012 * lib/mkmf.rb (configuration): follow nil.to_s.
26014 Thu Aug 31 20:50:46 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26016 * lib/mkmf.rb (create_makefile): follow nil.to_s.
26018 * win32/resource.rb: ditto.
26020 Thu Aug 31 20:21:47 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26022 * eval.c (search_required): use RSTRING_PTR and RSTRING_STR.
26024 * file.c (test_identical, rb_file_s_truncate): ditto.
26026 * io.c (pipe_open, rb_io_reopen): ditto.
26028 * object.c (nil_plus): ditto.
26030 * process.c (proc_spawn_n, rb_spawn): ditto.
26032 * util.c (ruby_add_suffix): ditto.
26034 * ext/Win32API/Win32API.c (Win32API_initialize): ditto.
26036 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): ditto.
26038 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): ditto.
26040 * ext/tk/stubs.c, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: ditto.
26042 * ext/win32ole/win32ole.c (ole_val2olevariantdata): ditto.
26044 Thu Aug 31 18:23:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26046 * ruby.h (struct RString): embed small strings.
26047 (RSTRING_LEN): defined for accessing string members.
26048 (RSTRING_PTR): ditto.
26050 * string.c: use RSTRING_LEN and RSTRING_PTR.
26052 Thu Aug 31 17:16:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26054 * array.c (rb_ary_shuffle_bang): new method.
26056 * array.c (rb_ary_shuffle): ditto.
26058 * random.c (genrand_real): ditto.
26060 * random.c (genrand_int32): export the function.
26062 * random.c (Init_Random): initialize random seed at the
26065 Thu Aug 31 13:12:06 2006 why the lucky stiff <why@ruby-lang.org>
26067 * eval.c (ruby_init): rename top_cref to ruby_top_cref and export,
26068 along with ruby_cref, for use by the sandbox. [ruby-core:08762]
26072 Wed Aug 30 12:01:57 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26074 * numeric.c (flo_hash): improve collision.
26076 * string.c (rb_memhash): new generic function to calculate hash value
26079 Tue Aug 29 19:10:10 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26081 * hash.c (rb_hash_s_create): fixed memory leak, based on the patch
26082 by Kent Sibilev <ksruby at gmail.com>. fixed: [ruby-talk:211233]
26084 Mon Aug 28 11:29:46 2006 Eric Hodel <drbrain@segment7.net>
26086 * eval.c, parse.y: Revert.
26087 * ext/.document: Add digest.c.
26088 * ext/digest/digest.c: Make RDoc show up.
26089 * ext/io/wait.c: Fix call-seq in RDoc.
26091 Mon Aug 28 08:03:20 2006 Eric Hodel <drbrain@segment7.net>
26093 * ext/.document: Add C files with RDoc.
26094 * ext/digest/digest.c: Convert to RDoc.
26095 * ext/io/wait.c: ditto.
26096 * lib/rdoc/parsers/parse_rb.rb: Fix typo. Submitted by
26097 <calamitas at gmail.com>. [ruby-core:08724]
26099 Mon Aug 28 07:21:47 2006 Eric Hodel <drbrain@segment7.net>
26101 * file.c (File#size?): Fix documentation submitted by Rick Ohnemus.
26102 ruby-Bugs-5529. [ruby-core:08725]
26104 Sun Aug 27 21:41:23 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26106 * oniguruma.h: Version 4.4.0
26110 * regparse.h: ditto.
26112 * regexec.c: ditto.
26116 * regparse.c: ditto.
26118 Sat Aug 26 08:03:03 2006 Tadayoshi Funaba <tadf@dotrb.org>
26120 * lib/date.rb, lib/date/format.rb: updated based on date2 3.8.2.
26122 Fri Aug 25 21:15:22 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26124 * common.mk: add regint.h and oniguruma.h to dependence.
26126 * ext/strscan/depend: ditto.
26128 Fri Aug 25 20:35:57 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26130 * test/wsdl/document/echo.rb: removed.
26132 * test/wsdl/document/test_rpc.rb: remove echo.rb after test.
26135 Fri Aug 25 17:02:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26137 * gc.c (gc_sweep): typo fixed.
26139 Fri Aug 25 16:05:50 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26141 * object.c (sym_call): check if the receiver is given.
26143 Fri Aug 25 01:10:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26145 * object.c (rb_Integer): Integer(nil) should raise TypeError.
26148 * object.c (nil_to_s): no longer returns empty string but "nil".
26151 * lib/mkmf.rb: avoid COMMON_HEADERS being nil.
26153 Wed Aug 23 00:25:14 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26155 * lib/rexml/source.rb (REXML::IOSource#initialize): encoding have to
26156 be set with the accessor. fixed: [ruby-list:42737]
26158 Tue Aug 22 19:21:00 2006 Minero Aoki <aamine@loveruby.net>
26160 * lib/net/smtp.rb: parameter `to_addrs' might be an Array,
26161 .flatten is required. [ruby-dev:29316]
26163 Tue Aug 22 18:47:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26165 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):
26166 rdoc documents C module methods as instance methods. a patch in
26169 Tue Aug 22 12:35:57 2006 NARUSE, Yui <naruse@ruby-lang.org>
26171 * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for
26172 euc-jp [ruby-dev:29344]
26174 Sun Aug 20 11:46:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26176 * numeric.c (num_step): also return an enumerator object if no block
26179 Sat Aug 19 16:47:51 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26181 * ext/win32ole/win32ole.c (hash2named_arg): accept hash argument
26184 * test/win32ole/test_win32ole.rb
26187 Sat Aug 19 11:28:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26189 * file.c (rb_file_s_rename): use errno if set properly.
26190 fixed: [ruby-dev:29293]
26192 Fri Aug 18 01:05:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26194 * lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode. a
26195 patch from Fujioka <fuj at rabbix.jp>. [ruby-dev:29284]
26197 Thu Aug 17 19:15:16 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26199 * file.c (rb_stat_[rRwWxX]): check for super user.
26200 fixed: [ruby-core:08616]
26202 Thu Aug 17 14:47:06 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26204 * lib/mkmf.rb: added rdoc by Daniel Berger. [ruby-core:08177]
26206 Wed Aug 16 17:46:59 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26208 * marshal.c (r_byte): IO#getc returns one byte string now.
26209 fixed: [ruby-dev:29255]
26211 Wed Aug 16 17:22:44 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26213 * common.mk (pre-install-local): remove unnecessary code.
26216 Wed Aug 16 11:45:36 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26218 * process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid):
26219 get rid of bogus implementations on Mac OS X.
26221 Wed Aug 16 11:09:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26223 * ruby.c (set_arg0): fill argv other than the first with an empty
26224 string instead of NULL.
26226 Tue Aug 15 11:21:08 2006 Minero Aoki <aamine@loveruby.net>
26228 * lib/net/smtp.rb: support SMTP/SSL. Thanks Kazuhiro NISHIYAMA.
26230 * lib/net/smtp.rb: new method SMTP.use_ssl?
26232 * lib/net/smtp.rb: new method SMTP.enable_ssl.
26234 * lib/net/smtp.rb: new method SMTP.disable_ssl.
26236 * lib/net/smtp.rb: new method SMTP.default_ssl_port.
26238 * lib/net/smtp.rb: new method SMTP.default_tls_port.
26240 * lib/net/smtp.rb: now SMTP#enable_tls accepts a SSLContext
26241 object, instead of a verity and cert. [FEATURE CHANGE]
26243 * lib/net/smtp.rb: new method SMTP.ssl_context.
26245 * lib/net/smtp.rb: new method SMTP.default_ssl_context.
26247 * lib/net/smtp.rb: export SMTP.authenticate.
26249 * lib/net/smtp.rb: export SMTP.auth_plain.
26251 * lib/net/smtp.rb: export SMTP.auth_login.
26253 * lib/net/smtp.rb: export SMTP.auth_cram_md5.
26255 * lib/net/smtp.rb: export SMTP.starttls.
26257 * lib/net/smtp.rb: export SMTP.helo.
26259 * lib/net/smtp.rb: export SMTP.ehlo.
26261 * lib/net/smtp.rb: export SMTP.mailfrom.
26263 * lib/net/smtp.rb: export SMTP.rcptto.
26265 * lib/net/smtp.rb: export SMTP.rcptto_list.
26267 * lib/net/smtp.rb: export SMTP.data.
26269 * lib/net/smtp.rb: export SMTP.quit.
26271 Sat Aug 12 22:33:06 2006 Eric Hodel <drbrain@segment7.net>
26273 * string.c (String#split): Describe grouping behavior. Patch by Jan
26274 Svitok <jan.svitok at gmail.com>. [ruby-core:08603]
26276 Sun Aug 13 12:08:02 2006 Tanaka Akira <akr@fsij.org>
26278 * ext/socket/socket.c: ANSIfied. [ruby-core:08601]
26280 Sat Aug 12 15:55:32 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26282 * configure.in, bcc32/Makefile.sub, win32/Makefile.sub, win32/dir.h,
26283 win32/win32.c, win32/win32.h: large file support for win32.
26285 Fri Aug 11 15:39:25 2006 Eric Hodel <drbrain@segment7.net>
26287 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_body): Make RDoc
26288 ignore C function prototypes. Patch by Tilman Sauerbeck
26289 <tilman at code-monkey.de>. [ruby-core:8574]
26290 * lib/yaml/tag.rb: Replace nodoc with stopdoc so Module methods get
26293 Wed Aug 9 16:53:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26295 * lib/net/smtp.rb (Net::SMTP::auth_cram_md5): use ord to retrieve
26296 bytes from strings. a patch from WATANABE Tetsuya
26297 <Tetsuya.WATANABE at nifty.com>. [ruby-dev:29240]
26299 Tue Aug 8 23:49:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26301 * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify
26302 RDoc. a patch from Eric Hodel <drbrain at segment7.net>.
26305 Tue Aug 8 19:26:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26307 * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_string):
26308 affected by str[0] returns 1 char string. [ruby-dev:29223]
26310 * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_labels):
26313 Tue Aug 8 12:28:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26315 * parse.y (arg): allow newlines before ternary colon. [ruby-dev:29189]
26317 Mon Aug 7 17:56:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26319 * ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c,
26320 ext/digest/sha1/sha1ossl.c, ext/readline/readline.c: move
26321 inclusion of config.h to pacify AIX. a patch from Yutaka
26322 Kanemoto <kinpoco at gmail.com>. [ruby-dev:29197]
26324 Mon Aug 7 15:55:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26326 * ext/syck/syck.c (syck_move_tokens): should avoid negative
26327 memmove. [ruby-list:42625]
26329 Mon Aug 7 14:37:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26331 * configure.in, common.mk: AIX link issue. a patch from Yutaka
26332 Kanemoto <kinpoco at gmail.com>. [ruby-dev:29190]
26334 * ext/socket/socket.c: AIX socket support. [ruby-dev:29190]
26336 Mon Aug 7 12:05:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26338 * dln.c, eval.c, gc.c, ruby.h: shut up AIX alloca warning.
26339 a patch from Yutaka Kanemoto <kinpoco at gmail.com>.
26342 Sun Aug 6 20:34:24 2006 Tadayoshi Funaba <tadf@dotrb.org>
26344 * lib/date/format.rb (str[fp]time): %[EO]U didn't denote %U.
26346 Sun Aug 6 17:12:12 2006 Tanaka Akira <akr@fsij.org>
26348 * io.c (io_reopen): STDERR.reopen(open("/dev/tty", "w")) should not
26349 clear FMODE_PREP in STDERR.
26351 Sat Aug 5 22:53:41 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26353 * oniguruma.h: Version 4.2.2
26357 * regparse.h: ditto.
26359 * regexec.c: ditto.
26363 * regerror.c: ditto.
26365 * regparse.c: ditto.
26367 Sat Aug 5 17:07:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26369 * parse.y (top_local_setup): local_vars[-1] should point
26370 ruby_scope itself to protect local_tbl from garbage collection.
26373 Sat Aug 5 13:49:43 2006 Tadayoshi Funaba <tadf@dotrb.org>
26375 * lib/date/format.rb (str[fp]time): "%\n" means "\n".
26377 Fri Aug 4 12:13:22 2006 Eric Hodel <drbrain@segment7.net>
26379 * lib: Clean up files for RDoc.
26380 * lib/.document: Include most of the standard library in RDoc
26382 * lib/rdoc/ri/ri_formatter.rb: Don't unescape HTML in HtmlFormatter.
26383 Submitted by <ksruby at gmail.com>. [ruby-core:08392].
26384 * lib/drb/ssl.rb: Close socket on SSLError [ruby-core:7197]
26386 Fri Aug 4 18:59:49 2006 Keiju Ishitsuka <keiju@ruby-lang.org>
26388 * lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
26389 [ruby-core: 7122]. and support for ruby1.8.X
26391 Fri Aug 4 14:02:14 2006 James Edward Gray II <james@grayproductions.net>
26393 * lib/date/format.rb (__strptime, strftime): allow multi-line patterns
26394 in Date#strftime the same as Time#strftime accepts.
26395 fixed: [ruby-core:08466]
26397 Fri Aug 4 13:56:51 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26399 * pack.c (pack_pack): check argument overrun for 'P'. based on a
26400 patch by rucila <rucila at yahoo.cojp>. fixed: [ruby-dev:29182]
26402 Fri Aug 4 02:42:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26404 * sprintf.c (rb_str_format): a bug in %c type check.
26406 Fri Aug 4 01:28:19 2006 Tanaka Akira <akr@fsij.org>
26408 * io.c (io_reopen): STDERR.reopen(File.open("/dev/null", "w")) should
26411 Thu Aug 3 15:16:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26413 * range.c (range_include): should always call Enumerable#include?
26414 (not #===) for non numeric end points. [ruby-core:08477]
26417 Mon Jul 31 16:51:40 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26419 * win32/win32.c (exit_handler): new function; release winsock and
26420 environment work area.
26422 * win32/win32.c (NTInitialize): setup exit_handler.
26424 * win32/win32.c (StartSockets): use exit_handler.
26426 * win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead
26427 of GetEnvironmentVariable(), because the latter cannot distinguish
26428 whether a null environment variable exists or not.
26429 fixed: [ruby-talk:205123]
26431 Mon Jul 31 16:15:13 2006 Tanaka Akira <akr@fsij.org>
26433 * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile):
26434 setrlimit may fail with EINVAL.
26435 reported by MIYAMUKO Katsuyuki. [ruby-dev:29174]
26437 Mon Jul 31 09:22:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26439 * ruby.h: use ifdef (or defined) for macro constants that may or
26440 may not be defined to shut up gcc's -Wundef warnings.
26443 Mon Jul 31 13:38:13 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26445 * lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve
26446 for the value of IPv6 address in the Host: header field.
26448 Sun Jul 30 23:26:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26450 * eval.c (rb_call0): trace call/return of method defined from block.
26451 fixed: [ruby-core:08329]
26453 * eval.c (rb_trap_eval): make the current thread runnable to deal with
26454 exceptions which occurred within the trap. fixed: [ruby-dev:27729]
26456 * lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.
26457 fixed: [ruby-talk:204896]
26459 Sat Jul 29 06:12:06 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26461 * ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
26463 Sat Jul 29 01:23:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26465 * lib/logger.rb: improves the amount of documentation that Rdoc
26466 picks up when processing logger.rb by moving the require
26467 statement back before the comment block. a patch from Hugh
26468 Sasse <hgs at dmu.ac.uk>. [ruby-core:08422]
26470 Fri Jul 28 17:18:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26472 * ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings.
26474 Fri Jul 28 14:09:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26476 * eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]
26478 Fri Jul 28 10:41:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26480 * eval.c (rb_call): a bug in method cache look-up.
26481 http://www.rubyist.net/~matz/20060720.html#c04
26483 Fri Jul 28 10:19:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26485 * sprintf.c (rb_f_sprintf): documentation update patch from Jacob
26486 Fugal <lukfugl at gmail.com>. [ruby-core:08418]
26488 Fri Jul 28 09:41:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26490 * time.c (time_to_s): fixed typo. [ruby-dev:29162]
26492 Fri Jul 28 00:26:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26494 * math.c (domain_check): ANSI style function arguments
26496 * math.c (math_log): too few argument to domain_check().
26498 Thu Jul 27 21:19:54 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26500 * math.c (domain_check): a new function to check domain error
26501 explicitly for systems that return NaN like FreeBSD.
26504 * math.c (math_acos, math_asin, math_acosh, math_atanh, math_log,
26505 math_log10, math_sqrt): use domain_check().
26507 * math.c (math_sqrt): fix documentation flaw.
26509 Thu Jul 27 22:21:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26511 * time.c (time_to_s): fixed format mismatch.
26513 Thu Jul 27 18:12:12 2006 WATANABE Hirofumi <eban@ruby-lang.org>
26515 * time.c: need to declare time_utc_offset.
26517 Thu Jul 27 17:01:01 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26519 * io.c (io_close): always calls "close" method of the receiver.
26520 [ruby-core:6911] [ruby-core:8112]
26522 Thu Jul 27 16:41:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26524 * ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up
26525 Solaris compiler. [ruby-core:08114]
26527 * time.c (time_to_s): use +0900 style timezone string for local time.
26530 Wed Jul 26 22:20:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26532 * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
26534 Wed Jul 26 21:59:33 2006 Minero Aoki <aamine@loveruby.net>
26536 * lib/net/http.rb (Net::HTTP#post, request_post, request): should
26537 set Content-Type: x-www-form-urlencoded by default.
26539 * lib/net/http.rb (Net::HTTPHeader#content_type): should return
26540 nil when there's no Content-Type.
26542 * lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil
26543 when there's no sub Content-Type (e.g. "Content-Type: text").
26545 * lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed
26546 when there's no Content-Type.
26548 Wed Jul 26 18:38:13 2006 Minero Aoki <aamine@loveruby.net>
26550 * ext/strscan/strscan.c (strscan_do_scan): always return nil if
26551 p->curr exceeds string size.
26553 Wed Jul 26 18:33:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26555 * eval.c (Init_eval): rename #invoke_method and
26556 #invoke_functional_method to __send and __send! respectively.
26558 * eval.c (remove_method): prohibit removing __send and __send!.
26560 * eval.c (rb_undef): prohibit undef'ing __send and __send!.
26562 * eval.c (rb_eval): prohibit redefining __send and __send!.
26564 * lib/delegate.rb (Delegator): preserve __send.
26566 Wed Jul 26 18:14:19 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26568 * ext/pty/pty.c (getDevice): retry once after GC on failure.
26571 Wed Jul 26 17:43:20 2006 Minero Aoki <aamine@loveruby.net>
26573 * ext/strscan/strscan.c (strscan_do_scan):
26574 StringScanner.new("").scan(//) should return "". [ruby-Bugs:4361]
26576 Wed Jul 26 17:28:16 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26578 * sprintf.c (rb_str_format): prepend ".." to %u for negative bignum,
26579 but not "-". fixed: [ruby-core:08167]
26581 Wed Jul 26 16:39:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26583 * string.c (rb_str_scan): add string modification check.
26586 Wed Jul 26 16:06:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26588 * lib/cgi.rb (CGI::QueryExtension::read_multipart): check
26589 multipart boundary end. a patch from Fujioka <fuj at rabbix.jp>
26592 Wed Jul 26 01:02:59 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26594 * configure.in: suppress warnings by automake 1.8 or later.
26596 Tue Jul 25 14:46:14 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26598 * lib/mkmf.rb (configuration): typo.
26600 Tue Jul 25 13:14:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26602 * process.c (rb_proc_times): rename hz to hertz to avoid name
26603 crash on AIX. [ruby-dev:29126]
26605 Mon Jul 24 22:03:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26607 * eval.c (backtrace): skip frames successive on node and method name.
26609 Mon Jul 24 15:51:52 2006 Tanaka Akira <akr@fsij.org>
26611 * ext/readline/readline.c (readline_readline): rl_deprep_term_function
26612 may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070]
26614 Mon Jul 24 15:19:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26616 * eval.c (rb_call0): revert last change. [ruby-dev:29112]
26619 Sun Jul 23 22:59:49 2006 Tanaka Akira <akr@fsij.org>
26621 * test/socket/test_unix.rb: disabled on cygwin.
26622 reported by Kouhei Yanagita. [ruby-dev:29080]
26624 Fri Jul 21 23:57:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26626 * ruby.c (proc_options): script is never used while recursing.
26628 Fri Jul 21 21:21:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26630 * eval.c (rb_call0): include funcalled methods in caller list.
26631 fixed: [ruby-core:08290]
26633 Fri Jul 21 17:52:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26635 * object.c (rb_cstr_to_dbl): "9_e8" should consider "_e8" as
26636 trailing garbage so that it should return 9.0. [ruby-dev:29088]
26638 Fri Jul 21 12:11:00 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26640 * ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before
26641 prepending destdir on DOSISH.
26643 Fri Jul 21 04:17:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26645 * eval.c (rb_call): try local method look-up first for fcall, then
26646 normal method look-up. [ruby-talk:202564]
26648 * eval.c (rb_get_method_body): save local method cache separately.
26650 * eval.c (search_method): export info whether method is local or
26653 Thu Jul 20 20:27:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26655 * object.c (rb_mod_attr): make Module#attr to be an alias to
26656 attr_reader. [RCR#331]
26658 Thu Jul 20 15:07:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26660 * ruby.h: export classes/modules to implement sandbox.
26663 Wed Jul 19 19:40:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26665 * eval.c (rb_yield_0): should check args_args before lambda
26666 argument check. [ruby-dev:29029]
26668 Tue Jul 18 23:53:59 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26670 * process.c (rb_f_system): shouldn't block SIGCHLD if it's not
26673 Tue Jul 18 22:10:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26675 * process.c (rb_f_system): block SIGCHLD during the process
26676 execution, like glibc system(3) does. [ruby-talk:202361]
26678 Tue Jul 18 23:10:43 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26680 * win32/win32.c (open_ifs_socket): should not use plain malloc.
26682 * win32/win32.c (rb_w32_opendir): should not use plain realloc.
26684 Tue Jul 18 18:05:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26686 * test/ruby/test_float.rb (TestFloat::test_strtod): update test to
26687 conform strtod change.
26689 Tue Jul 18 16:52:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26691 * eval.c (yield_under_i): argument should be passed in avalue
26692 form. [ruby-dev:29044]
26694 Tue Jul 18 15:49:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26696 * pack.c (pack_unpack): propagate association array to copied
26697 string. [ruby-core:08223]
26699 * pack.c (pack_unpack): return referenced string itself if it has
26700 same length as specified. a patch from <nobu at ruby-lang.org>
26701 in [ruby-core:08225].
26703 * pack.c (pack_pack): taint 'p' packed strings.
26705 Tue Jul 18 15:19:07 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26707 * intern.h (st_foreach_safe): fix prototype.
26709 * node.h (NODE_LMASK): bigger than long on LLP64.
26711 * missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64.
26712 all changes are derived from [ruby-dev:29045]
26714 Tue Jul 18 14:03:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26716 * lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove
26717 inpect argument from sprintf. [ruby-dev:29039]
26719 Tue Jul 18 10:53:37 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26721 * object.c (rb_cstr_to_dbl): limit out-of-range message.
26723 * util.c (ruby_strtod): return end pointer even if ERANGE occurred.
26724 fixed: [ruby-dev:29041]
26726 Mon Jul 18 00:43:05 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26728 * util.c (ruby_strtod): stop at dot not followed by digits.
26729 fixed: [ruby-dev:29036]
26731 Tue Jul 18 00:01:27 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26733 * ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.
26735 Mon Jul 17 23:30:46 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26737 * configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for a
26738 bug of cygwin 1.5.20.
26740 Mon Jul 17 22:55:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26742 * ext/io/wait/wait.c (io_ready_p): protoize.
26744 Mon Jul 17 13:43:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26746 * pack.c (define_swapx): should not use plain malloc.
26748 * ext/curses/curses.c (curses_getmouse): ditto.
26750 Mon Jul 17 12:58:41 2006 WATANABE Hirofumi <eban@ruby-lang.org>
26752 * configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.
26754 Mon Jul 17 11:47:35 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26756 * st.c: still need to include config.h on some platforms.
26758 Sat Jul 15 01:09:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26760 * st.c (malloc): use xmalloc/xcalloc instead of plain
26761 malloc/calloc, to detect memory allocation failure. see
26762 <http://www.nongnu.org/failmalloc/>.
26764 Fri Jul 14 13:08:13 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26766 * ext/tk/lib/tk.rb: add methods for new features of latest Tcl/Tk8.5.
26768 * ext/tk/lib/tk/namespace.rb: ditto.
26770 Fri Jul 14 02:30:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26772 * lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.
26775 Fri Jul 14 00:10:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26777 * array.c (rb_ary_pop): may cause realloc oscillation. a patch
26778 from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>.
26781 Thu Jul 13 22:23:56 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26783 * ext/tk/lib/tk/composite.rb: improve handling of the classname on the
26784 option database for the widget class which includes TkComposite.
26786 Thu Jul 13 00:40:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26788 * ruby.h (FIX2LONG): returns integer of size of VALUE.
26791 * ruby.h (FIX2ULONG): ditto.
26793 Wed Jul 12 20:05:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26795 * parse.y (f_args): allow post mandatory arguments after optional
26796 arguments. [ruby-dev:29014]
26798 * parse.y (new_args_gen): allow post_args without rest_args.
26800 * eval.c (formal_assign): ditto.
26802 * parse.y (new_args_gen): check post argument duplication.
26804 Tue Jul 11 20:58:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26806 * ruby.h: export rb_cMethod. [ruby-talk:201259]
26808 Tue Jul 11 19:13:33 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26810 * ext/tk/lib/multi-tk.rb: remove restriction on the class of
26813 Tue Jul 11 18:00:57 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26815 * ext/tk/lib/multi-tk.rb: security fix.
26817 Tue Jul 11 17:28:08 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26819 * string.c (rb_str_dump): need to extend len for \b.
26821 Tue Jul 11 15:29:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26823 * bignum.c (rb_int2big): use SIGNED_VALUE. [ruby-dev:29019]
26825 * bignum.c (rb_int2inum, rb_uint2inum): use VALUE sized integer.
26827 * bignum.c (rb_big2long, rb_big2ulong): ditto.
26829 * numeric.c (rb_num2long, rb_num2ulong): ditto.
26831 * numeric.c (check_int, check_uint): ditto.
26833 * bignum.c (rb_quad_pack): typo fixed.
26835 Tue Jul 11 13:40:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26837 * bignum.c (bignorm): sizeof(long) may be smaller than
26838 sizeof(VALUE). [ruby-dev:29013]
26840 * ruby.h (FIXNUM_MAX): fixnum may be bigger than long.
26842 * ruby.h (SIGNED_VALUE): signed integer of size of VALUE.
26844 Mon Jul 10 23:37:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26846 * lib/soap/rpc/proxy.rb (Proxy::Operation::response_doc): remove
26847 splat star from return statements.
26849 * lib/soap/rpc/proxy.rb (Proxy::Operation::response_obj): retrieve
26850 the first value from the result array if response has only one
26853 Mon Jul 10 22:00:00 2006 Shigeo Kobayashi <shigek@ruby-lang.org>
26855 * ext/bigdecimal/bigdecimal.c: Allows '_' to appear within
26856 digits. [ruby-dev:28872]
26858 * ext/bigdecimal/lib/bigdecimal/util.rb: Bug in to_r reported by
26859 [ruby-list:42533] fixed.
26861 Mon Jul 10 19:22:19 2006 Tanaka Akira <akr@fsij.org>
26863 * gc.c (gc_sweep): expand heap earlier.
26864 reported by MORITA Naoyuki. [ruby-dev:28960]
26866 Mon Jul 10 18:59:34 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26868 * ext/tk/lib/tk/font.rb: sorry. mistaken to patch.
26870 Mon Jul 10 18:46:52 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26872 * ext/tk/tcltklib.c: make SEGV risk lower at exit.
26874 * ext/tk/lib/tk.rb: ditto.
26876 * ext/tk/lib/multi-tk.rb: fail to call function-style methods on slave
26877 interpreters. The strategy (MultiTkIp_PseudoToplevel_Evaluable) to
26878 fix the problem is a little tricky. You may have to take care of
26879 conflicting with it.
26881 * ext/tk/lib/tk.rb: a little change for the pseudo-toplevel strategy.
26883 * ext/tk/lib/tk/font.rb: ditto.
26885 * ext/tk/lib/tk/msgcat.rb: ditto.
26887 * ext/tk/lib/tkextlib/itk/incr_tk.rb: ditto.
26889 * ext/tk/sample/demos-en/widget: fail to call function-style methods
26890 on sample scripts. To fix it, a strategy which similar to the way
26891 on MultiTiIp is used. Please take care when re-write and re-run a
26892 demo script on the Widget-Demo code viewer.
26894 * ext/tk/sample/demos-jp/widget: ditto.
26896 Mon Jul 10 17:32:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26898 * sample/test.rb: update test suites.
26900 * test/ruby/test_assignment.rb (TestAssignment::test_yield): ditto.
26902 * test/ruby/test_iterator.rb (TestIterator::test_itertest): ditto.
26904 Mon Jul 10 14:43:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26906 * eval.c (rb_call): remove erroneously restored prot_tag->blkid
26907 initialization. [ruby-dev:28997] [ruby-dev:29000]
26909 Mon Jul 10 13:58:08 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26911 * signal.c (install_nativethread_sighandler): commented out.
26913 Mon Jul 10 09:29:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26915 * eval.c (rb_clear_cache_for_remove): clear entries for included
26916 module. fixed: [ruby-core:08180]
26918 Mon Jul 10 02:22:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26920 * eval.c (proc_invoke): should not overwrite block information in
26921 current frame. [ruby-dev:28957]
26923 * eval.c (rb_yield_0): retrieve proper block object from the frame
26926 * eval.c (proc_alloc): return preserved block object if it's
26929 Mon Jul 10 01:48:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26931 * st.h (st_data_t): use pointer sized integer for st_data_t.
26934 Sun Jul 9 18:06:47 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26936 * lib/mkmf.rb (try_constant): fix for value 1 at cross compiling.
26938 * lib/mkmf.rb (create_makefile): prevent substitution of macro
26939 definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02
26941 Sun Jul 9 07:58:48 2006 Ryan Davis <ryand@zenspider.com>
26943 * lib/rdoc/parsers/parse_f95.rb: massive overhaul from Yasuhiro
26944 Morikawa including new file suffixes, function support, public
26945 variables and constants, derived-types, defined operators and
26946 assignments, namelists, and subroutine and function
26947 arguments. Truly massive.
26949 * lib/rdoc/diagram.rb: diagrams are now cached.
26951 * lib/irb/completion.rb: fixed a crasher when completing against
26952 an unnamed class/module.
26954 * lib/rdoc/parsers/parse_c.rb: private comment (--/++) support in
26957 * lib/debug.rb: minor clarification in help.
26959 * lib/pp.rb: minor clarification on exception.
26961 Sun Jul 9 00:54:11 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26963 * eval.c (next_jump): deal with destination of next.
26964 fixed: [ruby-core:08169]
26966 Fri Jul 7 17:49:16 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26968 * string.c (rb_str_ord): extract lower byte. fixed: [ruby-dev:28980]
26970 * lib/jcode.rb (String#succ!): fix for 1.9. fixed: [ruby-dev:28979]
26972 Fri Jul 7 14:05:03 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26974 * win32/Makefile.sub (config.h): define FUNC_STDCALL/FUNC_CDECL.
26975 from [ruby-dev:28970].
26977 Fri Jul 7 00:38:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26979 * hash.c (rb_hash_default): should not call default procedure if
26980 no key is given. [ruby-list:42541]
26982 Thu Jul 6 23:30:04 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26984 * process.c (rb_proc_times): use sysconf(_SC_CLK_TCK) value prior to
26985 HZ and CLK_TCK. fixed: [ruby-talk:200293]
26987 Thu Jul 6 21:50:06 2006 Minero Aoki <aamine@loveruby.net>
26989 * ext/racc/cparse/cparse.c: sync with original code, rev 1.8.
26991 * ext/racc/cparse/cparse.c: should mark CparseParams objects.
26993 * lib/racc/parser.rb: sync with original code, rev 1.8.
26995 * lib/racc/parser.rb: update coding style.
26997 Wed Jul 5 05:28:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26999 * parse.y (block_param): should allow block argument after splat
27000 and post splat args.
27002 Wed Jul 5 01:12:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27004 * test/ruby/test_lambda.rb (TestLambdaParameters::test_lambda_as_iterator):
27005 -> style block no longer available. [ruby-dev:28958]
27007 Tue Jul 4 21:48:56 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27009 * ruby.c (proc_options): suppress warning on DOSISH.
27011 Tue Jul 4 15:12:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27013 * eval.c (rb_call): should not set prot_tag->blkid since it would
27014 never catch breaks at this level. [ruby-dev:28922]
27016 Tue Jul 4 04:48:36 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27018 * bignum.c: ruby 1.9 HEAD 64 bit warnings clean up from
27019 <ville.mattila at stonesoft.com>. [ruby-core:08120]
27021 Mon Jul 3 19:04:38 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27023 * ext/tk/tcltklib.c (ip_make_menu_embeddable): help to make a menu
27024 widget embeddable (pack, grid, and so on) like as a general widget.
27025 However, an embeddable menu may require to be defined some event
27026 bindings for general use.
27028 * ext/tk/lib/tk/event.rb: [bug fix] Tk.callback_break and
27029 Tk.callback_continue don't work on MultiTkIp.
27031 * ext/tk/lib/multi-tk.rb: ditto.
27033 * ext/tk/lib/tk.rb: lack of Tk.callback_return.
27035 * ext/tk/lib/tk/menu.rb: improve creating clone menus.
27037 Mon Jul 3 14:42:06 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27039 * ext/etc/extconf.rb (PW_UID2VAL, PW_GID2VAL): defaulted to conversion
27040 from int, and sys/types.h needs to be included before grp.h.
27041 fixed: [ruby-dev:28938]
27043 Mon Jul 3 10:44:01 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27045 * io.c (popen_exec): close file descriptors other than standard I/Os.
27046 fixed: [ruby-dev:28924]
27048 Mon Jul 3 05:15:29 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27050 * test/openssl/test_asn1.c: String#[]= doesn't accept Integer.
27052 Mon Jul 3 01:14:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27054 * string.c (rb_str_inspect): encode \b (\010) for escape.
27057 * string.c (rb_str_dump): ditto.
27059 Sun Jul 2 19:03:30 2006 Minero Aoki <aamine@loveruby.net>
27061 * ext/racc/cparse/cparse.c: sync with original code, rev 1.7.
27063 * ext/racc/cparse/cparse.c: must require version.h to get
27066 Sun Jul 2 18:42:27 2006 Minero Aoki <aamine@loveruby.net>
27068 * ext/racc/cparse/cparse.c: sync with original source code, rev
27071 * ext/racc/cparse/cparse.c: do not use rb_iterate to give a block
27072 to the method, use rb_block_call instead. [ruby-dev:28445]
27074 Sun Jul 2 11:22:03 2006 Tanaka Akira <akr@m17n.org>
27076 * io.c (io_reopen): STDOUT.reopen(filename, "w+") didn't work.
27077 (rb_io_reopen): STDOUT.reopen(File.open(filename, "w+")) didn't work.
27079 Sat Jul 1 23:55:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27081 * eval.c (PUSH_FRAME): initialize frame->self. [ruby-dev:28911]
27083 Sat Jul 1 17:00:42 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27085 * test/webrick/utils.rb: use Proc#yield instead of Proc#call.
27088 Sat Jul 1 15:15:49 2006 Tanaka Akira <akr@m17n.org>
27090 * test/socket/test_nonblock.rb: add timeout to send/receive
27091 an empty UDP packet.
27094 Fri Jun 30 23:46:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27096 * configure.in: should test isinf for Solaris with GCC compiler.
27097 a patch from <ville.mattila at stonesoft.com>. [ruby-core:07791]
27099 * configure.in: -shared patch from Andrew Morrow
27100 <andrew.c.morrow at gmail.com>. [ruby-core:08100]
27102 Fri Jun 30 19:35:41 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27104 * lib/webrick/httputils.rb (WEBrick::HTTPUtils._escape): should
27105 use String#ord to get ascii code from the one-character string.
27108 Thu Jun 29 23:56:01 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27110 * gc.c (gc_mark_children): a bug in NODE_BLOCK_PASS marking.
27113 Thu Jun 29 23:04:36 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27115 * parse.y: use ARGSPUSH instead of ARGSCAT to prevent too much
27118 * eval.c (when_check): need to handle ARGSPUSH as well.
27120 * eval.c (block_orphan): lambda and proc from method are always
27123 * gc.c (gc_mark_children): proper marking for NODE_LAMBDA.
27125 Thu Jun 29 22:47:30 2006 Tanaka Akira <akr@m17n.org>
27127 * eval.c (SETUP_ARGS0): avoid GC problem.
27130 Thu Jun 29 18:58:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27132 * ext/bigdecimal/bigdecimal.c (BigDecimal_version): fix patch
27135 Thu Jun 29 18:00:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27137 * ext/bigdecimal/bigdecimal.c: add RDoc document. a patch from
27138 mathew <meta at pobox.com>. [ruby-core:07050]
27140 Wed Jun 28 14:53:09 2006 Eric Hodel <drbrain@segment7.net>
27142 * lib/optparse.rb: RDoc patch from Robin Stocker <robin@nibor.org>
27145 Wed Jun 28 23:23:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27147 * object.c (rb_cstr_to_dbl): underscores should appear only
27148 between digits. [ruby-dev:28891]
27150 Wed Jun 28 19:04:34 2006 Tanaka Akira <akr@m17n.org>
27152 * test/socket/test_unix.rb: test_seqpacket_pair removed.
27155 Wed Jun 28 13:51:21 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27157 * eval.c (when_check): arbitrary values are allowed after splats.
27158 fixed: [ruby-dev:28879]
27160 Wed Jun 28 09:16:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27162 * parse.y (primary): remove meaningless else-only case statement
27165 Wed Jun 28 08:08:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27167 * eval.c (rb_eval): problem to handle else part. [ruby-dev:28873]
27169 Wed Jun 28 01:48:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27171 * eval.c (rb_eval): support splat in when expression list.
27174 * eval.c (when_check): a new auxiliary function for case match.
27176 * eval.c (when_cond): ditto.
27178 Wed Jun 28 01:05:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27180 * object.c (rb_cstr_to_dbl): should not skip '_' at the beginning
27181 of a string. [ruby-dev:28830]
27183 * bignum.c (rb_cstr_to_inum): ditto.
27185 Tue Jun 27 23:03:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27187 * string.c: RDoc update for =~ method. a patch from Alex Young
27188 <alex at blackkettle.org>. [ruby-core:08068]
27190 Tue Jun 27 22:47:18 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27192 * ext/tk/tcltklib.c: forgot to update TCLTKLIB_RELEASE_DATE.
27194 * ext/tk/lib/tk.rb (tk_tcl2ruby): [bug fix] sometimes fail to convert
27195 a tcl string to a ruby object if the tcl string includes "\n".
27197 Tue Jun 27 20:05:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27199 * io.c (pipe_open): backout unnecessary fix on 2006-06-26.
27202 * eval.c (rb_yield_0): exact argument number check now done only
27205 * eval.c (rb_yield_0): add check for number of arguments, if
27206 there's one lambda block parameter.
27208 Tue Jun 27 16:04:05 2006 WATANABE Hirofumi <eban@ruby-lang.org>
27210 * win32/win32.h: define isascii on MinGW for msvcrt compatibility.
27212 * configure.in: set ac_cv_header_sys_time_h=no on MinGW
27213 for msvcrt compatibility.
27215 Tue Jun 27 11:36:02 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27217 * ext/etc/etc.c (setup_passwd, setup_group): allow bignum uid, gid and
27218 so on. [ruby-talk:199102]
27220 Tue Jun 27 10:46:53 2006 Tanaka Akira <akr@m17n.org>
27222 * eval.c (rb_yield_0): avoid core dump. [ruby-dev:28840]
27224 Mon Jun 26 11:03:00 2006 Eric Hodel <drbrain@segment7.net>
27226 * lib/rdoc/ri: Add options to limit the ri search path.
27228 Tue Jun 27 01:31:59 2006 Tanaka Akira <akr@m17n.org>
27230 * ext/socket/socket.c (bsock_recv_nonblock): new method
27231 BasicSocket#recv_nonblock.
27232 (udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock.
27233 IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock.
27234 (unix_recvfrom_nonblock): removed.
27235 UNIXSocket#recvfrom_nonblock is removed.
27237 Tue Jun 27 00:52:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27239 * ext/ripper/eventids2.c (token_assoc): added tCHAR, which is not
27240 under 256 now. fixed: [ruby-dev:28832]
27242 Mon Jun 26 23:42:57 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27244 * eval.c (call_trace_func): no check for argument number of the
27245 callback. fixed: [ruby-dev:28812]
27247 Mon Jun 26 18:37:44 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27249 * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is
27250 deleted on callback.
27252 Mon Jun 26 15:40:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27254 * ext/socket/socket.c (sock_accept): revert to avoid ambiguity of
27255 argument evaluation order. [ruby-dev:28861]
27257 * ext/socket/socket.c (sock_accept_nonblock): ditto.
27259 Mon Jun 26 10:47:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27261 * io.c (pipe_open): avoid closing uninitialized file descriptors.
27262 a patch from <tommy at tmtm.org> [ruby-dev:28600]
27264 Sun Jun 25 23:02:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27266 * Makefile.in, mkconfig.rb: catch-up for latest autoconf.
27268 Sun Jun 25 17:44:16 2006 Tanaka Akira <akr@m17n.org>
27270 * parse.y (paren_args): wrap $2 by escape_Qundef because it may be
27271 Qundef. [ruby-dev:28843]
27273 Sun Jun 25 17:18:33 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
27275 * ext/win32ole/win32ole.c(ole_invoke): support some kind of
27276 method of word. [ruby-Bugs#3237]
27278 * test/win32ole/test_word.rb: ditto.
27280 Sat Jun 24 23:48:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27282 * parse.y: replace terminal token names with more descriptive
27283 name, i.e. kEND to keyword_end. [ruby-list:42477]
27285 Sat Jun 24 23:37:41 2006 Tanaka Akira <akr@m17n.org>
27287 * eval.c (rb_eval): use rb_ary_new2 instead of rb_ary_new4 to avoid
27289 (rb_yield_values): use rb_ary_new2 instead of rb_ary_new4.
27291 * array.c (rb_ary_new4): don't set len as n if contents is not
27292 initialized. make it safe with GC.
27296 Fri Jun 23 23:35:32 2006 Tanaka Akira <akr@m17n.org>
27298 * ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.
27301 Fri Jun 23 17:27:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27303 * eval.c (rb_block_pass): removed.
27305 * eval.c (rb_thread_start_1): use rb_proc_yield() instead of
27306 rb_block_pass(). fixed: [ruby-dev:28794]
27308 Thu Jun 22 11:52:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27310 * lib/net/http.rb (Net::HTTPResponse): duplicated error 501;
27311 HTTPInternalServerError should be error 500. [ruby-core:08037]
27313 Thu Jun 22 11:47:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27315 * variable.c (rb_mod_name): returns nil for anonymous modules.
27318 Thu Jun 22 10:31:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27320 * string.c (rb_str_aref): "abc"[3] should not return an empty
27321 string but nil. [ruby-dev:28786]
27323 Thu Jun 22 05:15:58 2006 Tanaka Akira <akr@m17n.org>
27325 * ext/socket/socket.c (sock_s_socketpair): try GC only once.
27328 Wed Jun 21 21:20:31 2006 Tadayoshi Funaba <tadf@dotrb.org>
27330 * lib/date.rb (jd_to_commercial): now works fine even if in
27331 mathn-ized context.
27333 Wed Jun 21 17:29:57 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27335 * ext/socket/getaddrinfo.c (freeaddrinfo, get_name): fixed typo.
27337 * ext/tk/tcltklib.c (tcl_eval, tcl_global_eval): ditto.
27339 * ext/zlib/zlib.c (rscheck): constified.
27341 Wed Jun 21 17:18:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27343 * lib/pp.rb (PP::PPMethods::seplist): should have preserved
27344 original reference to the array. [ruby-dev:28747]
27346 Wed Jun 21 14:35:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27348 * parse.y (block_param): do not use multiple assignment for a sole
27349 block parameter. [ruby-dev:28710]
27351 * eval.c (rb_yield_0): pass a raw yielded value to a sole block
27352 parameter if a value is passed by yield.
27354 * eval.c (proc_invoke): args may not be an array.
27356 * eval.c (rb_proc_yield): pass original value without wrapping
27359 Wed Jun 21 14:06:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27361 * parse.y (method_call): remove (fn)(args) style lambda
27362 invocation, add fn.(args) instead.
27364 Wed Jun 21 08:39:54 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27366 * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date
27367 and Time processing. [ruby-core:08033]
27369 Wed Jun 21 03:01:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27371 * eval.c, file.c, etc.: code-cleanup patch from Stefan Huehner
27372 <stefan at huehner.org>. [ruby-core:08029]
27374 Wed Jun 21 01:40:25 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27376 * parse.y (reswords): modifier token is no longer returned in fname
27377 state. fixed: [ruby-dev:28775]
27379 Tue Jun 20 23:28:34 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27381 * ext/extmk.rb (parse_args): provisional catch-up for the recent changes.
27383 * lib/optparse.rb (OptionParser::List#summarize, OptionParser#order!): ditto.
27385 Tue Jun 20 11:07:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27387 * eval.c (proc_invoke): intercept break and return from lambda
27388 Proc objects. [ruby-dev:28742]
27390 * eval.c (proc_invoke): remove unnecessary YIELD_PROC_CALL flag.
27392 * eval.c (YIELD_EXACT_ARGS): renamed from YIELD_LAMBDA_CALL, which
27393 is no longer related to the behavior turned on by this flag.
27395 * eval.c (return_jump): no need to care about PROT_YIELD.
27397 * eval.c (break_jump): no jump to toplevel PROT_THREAD tag.
27399 * eval.c (rb_yield_0): fix confusion between lambda (which is a
27400 property of a proc) and pcall (which depends on whether it's
27401 called via yield or call).
27403 * eval.c (rb_thread_yield): no need to specify YIELD_LAMBDA_CALL.
27405 * eval.c (rb_block_pass): update blkid in prot_tag.
27407 Mon Jun 19 23:40:59 2006 NARUSE, Yui <naruse@ruby-lang.org>
27409 * ext/nkf/lib/kconv.rb: remove default -m0 and fix document.
27411 * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}:
27412 imported nkf 2.0.7.
27414 Mon Jun 19 17:02:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27416 * sample/test.rb (proc_return3): return within non lambda block
27417 should terminate surrounding method. [ruby-dev:28741]
27419 Mon Jun 19 13:22:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27421 * ext/socket/socket.c (unix_sysaccept): typo fixed.
27423 * ext/socket/socket.c (sock_connect): remove an unused local
27426 Mon Jun 19 02:10:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27428 * ext/socket/socket.c (tcp_accept_nonblock): forgot to remove
27429 abandoned hacks. [ruby-dev:28740]
27431 Mon Jun 19 00:00:17 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27433 * ext/tk/lib/multi-tk.rb: fix bug: initialize improper tables.
27435 Sun Jun 18 20:28:43 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
27437 * ext/win32ole/win32ole.c (fole_methods): The return value
27438 of WIN32OLE#ole_methods should include PROPERTYPUTREF methods.
27440 * ext/win32ole/win32ole.c (fole_put_methods): The return value
27441 of WIN32OLE#ole_put_methods should include PROPERTYPUTREF methods.
27443 * test/win32ole/test_ole_methods.rb: ditto.
27445 * ext/win32ole/win32ole.c (ole_propertyput): support
27446 PROPERTYPUTREF. [ruby-talk:183042]
27448 * test/win32ole/test_propertyputref.rb: ditto.
27450 Sat Jun 17 23:42:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27452 * eval.c (Init_eval): add aliases invoke_method and
27453 invoke_functional_method corresponding send and funcall
27454 respectively. [ruby-talk:197512]
27456 * parse.y (parser_yylex): returns the most typical keyword token
27457 on EXPR_FNAME. [ruby-core:7995]
27459 * ext/socket/socket.c: protoize.
27461 Sat Jun 17 22:17:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27463 * lib/mathn.rb (Integer::prime_division): raise ZeroDivisionError
27464 on zeros. [ruby-dev:28739]
27466 Sat Jun 17 14:53:32 2006 Tanaka Akira <akr@m17n.org>
27468 * lib/pathname.rb (Kernel#Pathname): new method.
27470 Sat Jun 17 02:01:00 2006 Tanaka Akira <akr@m17n.org>
27472 * lib/pp.rb (Kernel#pretty_inspect): defined for pretty printed
27475 Fri Jun 16 01:41:00 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27477 * eval.c (rb_proc_arity): get rid of segfault for mere splat.
27479 * gc.c (gc_mark_children): NODE_BLOCK_PASS needs u3 to be marked.
27481 Thu Jun 15 22:06:56 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27483 * parse.y (then): remove ':' from 'then' and 'do' rules.
27485 Wed Jun 14 18:00:20 2006 Eric Hodel <drbrain@segment7.net>
27487 * enum.c (enum_any): Documentation typo.
27489 Wed Jun 14 15:01:09 2006 Eric Hodel <drbrain@segment7.net>
27491 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#warn): Don't print
27492 warnings when -q is set.
27494 Wed Jun 14 16:11:37 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27496 * eval.c (rb_f_method_name, rb_f_callee_name): document typo.
27498 Wed Jun 14 15:19:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27500 * hash.c (env_aset): raise TypeError on nil with more descriptive
27501 message. [ruby-core:07990]
27503 Tue Jun 13 17:22:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27505 * ext/socket/socket.c (Init_socket): remove obsolete constants:
27506 IPsocket, TCPsocket, SOCKSsocket, TCPserver, UDPsocket,
27507 UNIXsocket, UNIXserver.
27509 Tue Jun 13 09:07:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27511 * eval.c (formal_assign): post splat arguments should have had
27512 higher priority than optional arguments, since they are
27513 mandatory. [ruby-dev:28715]
27515 * eval.c (VIS_MASK): broken. should be 15. [ruby-dev:28715]
27517 * io.c (argf_getc): should return one-character string.
27520 * io.c (rb_io_readchar): ditto.
27522 Sun Jun 11 23:20:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27524 * object.c (sym_call): disallow to call private methods.
27526 * lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
27529 Sun Jun 11 09:56:41 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27531 * win32/win32.h (write): not need to define on bcc.
27533 Sun Jun 11 08:30:33 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27535 * lib/optparse.rb (OptionParser#getopts): new methods.
27537 Sun Jun 11 07:27:11 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27539 * lib/rdoc/ri/ri_writer.rb: use String#ord.
27541 Sun Jun 11 04:38:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27543 * object.c (sym_to_proc): imported Symbol#to_proc from ActiveSupport.
27545 Sat Jun 10 18:02:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27547 * ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo
27548 fixed: raize -> raise. [ruby-talk:196608]
27550 Sat Jun 10 17:49:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27552 * string.c (rb_str_ord): new method.
27554 * parse.y (rbracket): allow optional newline before closing
27557 Sat Jun 10 15:12:29 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27559 * eval.c (rb_f_method_name, rb_f_callee_name): new functions.
27560 new global method `__method__' and `__callee__'.
27562 Sat Jun 10 10:13:13 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27564 * lib/getoptlong.rb (GetoptLong#set_options): receive arguments
27567 * lib/irb/slex.rb: use Proc#yield.
27569 * lib/rdoc/markup/simple_markup/inline.rb: follow the new behavior
27572 * lib/rdoc/ri/ri_writer.rb: ditto.
27574 Sat Jun 10 08:17:23 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27576 * math.c (log2): may be a macro.
27578 * parse.y (args, block_param, f_args): pass f_post_arg to #params.
27580 * util.c (powersOf10): constified.
27582 * ext/readline/readline.c: include extconf.h first.
27584 * ext/ripper/eventids2.c: removed tLAMBDA_ARG.
27586 * ext/tk/tcltklib.c (lib_fromUTF8_core): removed conflict.
27588 * ext/tk/tkutil/tkutil.c (cbsubst_get_subst_arg): rb_id2name() is
27589 defined as const now.
27591 * ext/win32ole/win32ole.c (fole_missing): ditto.
27593 * lib/mkmf.rb (create_makefile): force to create extconf header.
27595 * lib/optparse.rb (order!): use Proc#yield.
27597 Sat Jun 10 06:53:22 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27599 * eval.c (CALLARGS): remove last semicolon. C90 compiler doesn't
27600 allow any lines (even if they're empty) within variable
27603 Fri Jun 9 09:56:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27605 * sprintf.c (rb_str_format): allow %c to print one character
27608 Thu Jun 8 14:00:02 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27610 * win32/win32.[ch] (rb_w32_read, rb_w32_write): new functions.
27611 use recv() and send() when fd is socket. fixed: [ruby-dev:28694]
27613 Wed Jun 7 16:22:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27615 * lib/tempfile.rb (Tempfile::make_tmpname): put dot between
27616 basename and pid. [ruby-talk:196272]
27618 Wed Jun 7 16:16:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27620 * parse.y (do_block): remove -> style block.
27622 * parse.y (parser_yylex): remove tLAMBDA_ARG.
27624 Wed Jun 7 14:51:22 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27626 * win32/win32.c (errmap): add some winsock errors.
27628 Wed Jun 7 09:14:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27630 * eval.c (rb_call0): binding for the return event hook should have
27631 consistent scope. [ruby-core:07928]
27633 Tue Jun 6 23:25:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27635 * eval.c (proc_invoke): return behavior should depend whether it
27636 is surrounded by a lambda or a mere block.
27638 Mon Jun 5 18:12:12 2006 Tanaka Akira <akr@m17n.org>
27640 * ext/socket/socket.c (sock_s_unpack_sockaddr_in): reject
27641 non-AF_INET/AF_INET6 sockaddr.
27642 (sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr.
27645 Sun Jun 4 20:40:19 2006 Tanaka Akira <akr@m17n.org>
27647 * ext/socket/socket.c: fix sockaddr_un handling.
27650 Sat Jun 3 23:53:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27652 * eval.c (formal_assign): handles post splat arguments.
27654 * eval.c (rb_call0): ditto.
27656 Sat Jun 3 13:10:41 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27658 * st.c (strhash): use FNV-1a hash.
27660 Fri Jun 2 20:01:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27662 * parse.y (parser_yylex): removed experimental ';;' terminator.
27664 Fri Jun 2 19:00:40 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27666 * ext/openssl/extconf.rb: use create_header.
27668 * ext/openssl/ossl.h, ext/openssl/openssl_missing.h:
27669 include RUBY_EXTCONF_H.
27671 Fri Jun 2 17:16:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27673 * lib/mkmf.rb (CLEANINGS): remove extconf.h by distclean if created.
27675 Fri Jun 2 00:11:19 2006 Tanaka Akira <akr@m17n.org>
27677 * ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocket
27678 too. (tested on NetBSD 3.0)
27679 (s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock.
27680 (sock_recvfrom_nonblock): use s_recvfrom_nonblock.
27681 (ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock
27682 (unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock
27683 (s_accept_nonblock): extracted from sock_accept_nonblock.
27684 (sock_accept_nonblock): use s_accept_nonblock.
27685 (tcp_accept_nonblock): new method: TCPServer#accept_nonblock
27686 (unix_accept_nonblock): new method: UNIXServer#accept_nonblock
27688 Thu Jun 1 19:12:37 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27690 * win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotes
27691 no longer has special meanings. fixed: [ruby-list:42311]
27693 Thu Jun 1 17:55:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27695 * eval.c (rb_node_arity): should be aware of post splat arguments.
27697 * eval.c (rb_proc_arity): ditto.
27699 Thu Jun 1 16:17:26 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27701 * win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not success
27702 if the length of the cwd is longer than MAX_PATH.
27703 fixed [ruby-list:42335]
27705 Thu Jun 1 16:07:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27707 * parse.y (f_args): syntax rule enhanced to support arguments
27710 * parse.y (mlhs_basic): ditto for multiple assignments
27712 * parse.y (block_param): ditto for block parameters.
27714 * parse.y (f_post_arg): mandatory formal arguments after the splat
27717 * parse.y (new_args_gen): generate nodes for mandatory formal
27718 arguments after the splat argument.
27720 * eval.c (rb_eval): dispatch mandatory formal arguments after the
27723 Thu Jun 1 11:33:32 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27725 * win32/win32.c (rb_w32_getcwd): set errno if not set.
27726 fixed [ruby-list:42346]
27728 Thu Jun 1 00:45:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27730 * parse.y (args): allow more than one splat in the argument list.
27732 Wed May 31 18:38:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27734 * parse.y (method_call): allow aref [] to accept all kind of
27735 method argument, including assocs, splat, and block argument.
27737 * eval.c (SETUP_ARGS0): prepare block argument as well.
27739 Tue May 30 18:13:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27741 * lib/mathn.rb (Integer): remove Integer#gcd2. [ruby-core:07931]
27743 Mon May 29 22:40:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27745 * eval.c (error_line): print receivers true/false/nil specially.
27747 * eval.c (rb_proc_yield): handles parameters in yield semantics.
27749 * eval.c (nil_yield): gives LocalJumpError to denote no block
27752 * io.c (rb_io_getc): now takes one-character string.
27754 Sat May 27 22:46:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27756 * eval.c (proc_invoke): save and restore block in the current frame.
27757 fixed: [ruby-core:07833], [ruby-talk:191639]
27759 Sat May 27 11:29:46 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27761 * ext/extmk.rb (extmake): remove extinit files if no statically linked
27764 Fri May 26 19:56:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27766 * string.c (rb_str_hash): use FNV-1a hash from Fowler/Noll/Vo
27769 Fri May 26 09:05:11 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27771 * ruby.h, lib/mkmf.rb (create_header): clear command line options for
27772 macros moved to extconf.h.
27774 * ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and
27775 EXTSTATIC permanent.
27777 * ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS.
27779 * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added
27782 * lib/mkmf.rb (configuration): add $defs unless extconf.h was created.
27784 Thu May 25 01:52:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27786 * lib/mkmf.rb (pkg_config): particular config commands support.
27788 * ext/extmk.rb: deal with $static set in extconf.rb.
27790 * mkconfig.rb: merge multiple entries to an entry with multiple lines.
27792 * lib/mkmf.rb: allow a series of commands to link.
27794 * win32/Makefile.sub: embed manifests.
27796 * win32/setup.mak: suffix OS name by runtime version.
27798 Wed May 24 23:52:11 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27800 * configure.in (ac_install_sh): ignore dummy install-sh.
27803 Wed May 24 17:55:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27805 * string.c (rb_str_aref): str[0] now returns 1 character string,
27806 instead of a fixnum. [Ruby2]
27808 * parse.y (parser_yylex): ?c now returns 1 character string,
27809 instead of a fixnum. [Ruby2]
27811 * string.c (rb_str_aset): no longer support fixnum insertion.
27813 Wed May 24 03:10:44 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27815 * ext/openssl/lib/openssl/ssl.rb
27816 (OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed.
27818 Mon May 22 16:32:03 2006 Tanaka Akira <akr@m17n.org>
27820 * rubyio.h (rb_io_set_nonblock): declared.
27822 * io.c (rb_io_set_nonblock): new function.
27823 (io_getpartial): nonblocking read support.
27824 (io_read_nonblock): new method: IO#read_nonblock.
27825 (io_write_nonblock): new method: IO#write_nonblock.
27827 * ext/socket/socket.c (s_accept): retry for EWOULDBLOCK.
27828 revert [ruby-talk:113807].
27829 (sock_connect_nonblock): new method: Socket#connect_nonblock.
27830 (sock_accept_nonblock): new method: Socket#accept_nonblock.
27831 (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock.
27835 Mon May 22 15:57:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27837 * eval.c (umethod_bind): should not update original class.
27840 Mon May 22 13:38:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27842 * eval.c (ev_const_get): should support constant access from
27843 within instance_eval(). [ruby-dev:28327]
27845 Sun May 21 09:50:31 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
27847 * regexec.c: add STK_NULL_CHECK_END to IS_TO_VOID_TARGET().
27850 Thu May 18 22:37:20 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27852 * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters,
27853 :InputBufferSize and :OutputBufferSize.
27855 * lib/webrick/utils.rb (WEBrick::Utils.timeout): add new timeout
27856 method. this implementation is expected to be compatible with
27857 timeout.rb and faster than timeout.rb.
27859 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#_read_data):
27860 Timeout.timeout is replaced by WEBrick::Utils.timeout.
27862 * lib/webrick/httprequest.rb: WEBrick::HTTPRequest::BUFSIZE is
27863 replaced by config[:InputBufferSize].
27865 * lib/webrick/httpresposne.rb: WEBrick::HTTPResponse::BUFSIZE is
27866 replaced by config[:OutputBufferSize].
27868 * lib/webrick/server.rb: get rid of unnecessary require.
27870 * test/webrick/test_utils.rb: test for WEBrick::Utils.timeout.
27872 Thu May 18 17:51:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27874 * time.c (time_timeval): should round for usec floating
27875 number. [ruby-core:07896]
27877 * time.c (time_add): ditto.
27879 Thu May 18 00:42:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27881 * ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
27883 Wed May 17 17:55:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27885 * dir.c (sys_warning): should not call a vararg function
27886 rb_sys_warning() indirectly. [ruby-core:07886]
27888 Tue May 16 17:23:19 2006 <sinara@blade.nagaokaut.ac.jp>
27890 * numeric.c (flo_divmod): the first element of Float#divmod should
27891 be an integer. [ruby-dev:28589]
27893 * test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder.
27895 Tue May 16 15:34:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27897 * re.c (rb_reg_initialize): should not allow modifying literal
27898 regexps. frozen check moved from rb_reg_initialize_m as well.
27900 Tue May 16 09:20:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27902 * re.c (rb_reg_initialize): should not modify untainted objects in
27903 safe levels higher than 3.
27905 * re.c (rb_memcmp): type change from char* to const void*.
27907 * dir.c (dir_close): should not close untainted dir stream.
27909 * dir.c (GetDIR): add tainted/frozen check for each dir operation.
27911 Mon May 15 21:37:12 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
27913 * re.c (rb_reg_prepare_re): don't use onig_recompile().
27915 Mon May 15 17:42:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27917 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):
27918 typo fixed. a patch from Florian Gross <florg at florg.net>.
27920 Sat May 13 16:14:05 2006 Tanaka Akira <akr@m17n.org>
27922 * lib/pp.rb (PP.mcall): new method.
27923 (Struct#pretty_print): call Kernel#class and Struct#members even if
27925 (Struct#pretty_print_cycle): ditto.
27928 Fri May 12 15:54:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27930 * eval.c (EXEC_EVENT_HOOK): trace_func may remove itself from
27931 event_hooks. no guarantee for arbitrary hook deletion.
27934 Thu May 11 19:57:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27936 * util.c (ruby_strtod): differ addition to minimize error.
27939 Thu May 11 18:30:11 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27941 * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): should return
27942 value. [ruby-dev:28627]
27944 Thu May 11 18:10:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27946 * util.c (ruby_strtod): should not raise ERANGE when the input
27947 string does not have any digits. [ruby-dev:28629]
27949 Wed May 10 23:40:21 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
27951 * oniguruma.h: Version 4.0.3
27953 * regexec.c: ditto.
27955 Mon May 8 09:10:31 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27957 * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.
27959 * ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method
27960 OpenSSL::Cipher.ciphers. it returns all the cipher names.
27962 * ext/openssl/ossl_cipher.c (ossl_cipher_init): refine warning message.
27964 * ext/openssl/lib/openssl/cipher.rb: reimplement without eval() and
27965 add constants AES128, AES192, AES256. [ruby-dev:28610]
27967 * ext/openssl/lib/openssl/digest.rb: reimplement without eval().
27969 * test/openssl/test_cipher.rb, test_digest: fix about reimplemented
27972 * sample/openssl/cipher.rb: rewrite all.
27974 Sun May 7 03:09:51 2006 Stephan Maka <stephan@spaceboyz.net>
27976 * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize):
27977 Use AF_INET6 for nameservers containing colons.
27979 Sat May 6 23:40:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27981 * eval.c (proc_invoke): should restore old ruby_frame->block.
27982 thanks to ts <decoux at moulon.inra.fr>. [ruby-core:07833]
27983 also fix [ruby-dev:28614] as well.
27985 Sat May 6 00:38:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27987 * signal.c (trap): sig should be less then NSIG. Coverity found
27988 this bug. a patch from Kevin Tew <tewk at tewk.com>.
27991 Thu May 4 22:13:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27993 * math.c (math_log2): add new method inspired by
27994 [ruby-talk:191237].
27996 * math.c (math_log): add optional base argument to Math::log().
27999 Thu May 4 02:24:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28001 * ext/syck/emitter.c (syck_scan_scalar): avoid accessing
28002 uninitialized array element. a patch from Pat Eyler
28003 <rubypate at gmail.com>. [ruby-core:07809]
28005 * array.c (rb_ary_fill): initialize local variables first. a
28006 patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07810]
28008 * ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free
28009 type_tag. a patch from Pat Eyler <rubypate at gmail.com>.
28012 Wed May 3 02:12:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28014 * ext/socket/socket.c (make_hostent_internal): accept ai_family
28015 check from Sam Roberts <sroberts at uniserve.com>.
28018 Mon May 1 17:58:16 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28020 * ext/win32ole/win32ole.c (add_event_call_back): should not
28021 delete event handler when the event name is not entried.
28023 Mon May 1 08:32:10 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28025 * ext/win32ole/win32ole.c (ole_param_ole_type): should return
28026 "unknown type" string when ITypeInfo::GetFuncDesc failed.
28028 Sat Apr 29 22:43:37 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
28030 * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize
28031 flag. [ruby-core:07785]
28033 Fri Apr 28 10:53:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28035 * util.c (ruby_strtod): should not cut off 18 digits for no
28036 reason. [ruby-core:07796]
28038 Thu Apr 27 01:38:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28040 * array.c (rb_ary_fill): internalize local variable "beg" to
28041 pacify Coverity. [ruby-core:07770]
28043 Wed Apr 26 16:59:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28045 * pack.c (pack_unpack): now supports CRLF newlines. a patch from
28046 <tommy at tmtm.org>. [ruby-dev:28601]
28048 Wed Apr 26 16:55:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28050 * applied code clean-up patch from Stefan Huehner
28051 <stefan at huehner.org>. [ruby-core:07764]
28053 Tue Apr 25 18:00:05 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28055 * ext/tk/tcltklib.c (delete_slaves): maybe increment the reference
28056 count of a NULL Tcl_Obj [ruby-core:07759].
28058 Tue Apr 25 07:55:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28060 * lib/jcode.rb (String::tr_s): should have translated non
28061 squeezing character sequence (i.e. a character) as well. thanks
28062 to Hiroshi Ichikawa <gimite at gimite.ddo.jp> [ruby-list:42090]
28064 Fri Apr 21 15:19:13 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28066 * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointer
28067 [ruby-core:07744] and memory leak.
28069 Fri Apr 21 12:14:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28071 * ext/socket/socket.c: document update patch from Sam Roberts
28072 <sroberts at uniserve.com>. [ruby-core:07701]
28074 Thu Apr 20 08:43:54 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28076 * lib/mathn.rb (Integer): need not to remove gcd2. a patch from
28077 NARUSE, Yui <naruse at airemix.com>. [ruby-dev:28570]
28079 Wed Apr 19 13:55:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28081 * parse.y (arg): too much NEW_LIST()
28083 * eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen.
28085 Wed Apr 19 11:57:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28087 * eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1.
28090 * parse.y (arg): use NODE_ARGSCAT for placeholder.
28092 Wed Apr 19 11:13:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28094 * lib/getoptlong.rb (GetoptLong::get): RDoc update patch from
28095 mathew <meta at pobox.com>. [ruby-core:07738]
28097 Wed Apr 19 10:13:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28099 * variable.c (rb_const_set): raise error when no target klass is
28100 supplied. [ruby-dev:28582]
28102 Tue Apr 18 17:40:37 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28104 * ext/tk/lib/multi-tk.rb: add a binding to a container for a slave IP.
28106 * ext/tk/lib/tk.rb: update RELEASE_DATE.
28108 * ext/tk/tcltklib.c: forget to reset a Tcl interpreter.
28110 * ext/tk/stubs.c: fix potential bugs about handling rb_argv0.
28112 Mon Apr 10 01:03:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28114 * prec.c (prec_prec_f): documentation patch from
28115 <gerardo.santana at gmail.com>. [ruby-core:07689]
28117 Sat Apr 8 02:34:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28119 * bignum.c (rb_big_pow): second operand may be too big even if
28120 it's a Fixnum. [ruby-talk:187984]
28122 Sat Apr 8 02:12:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28124 * README.EXT: update symbol description. [ruby-talk:188104]
28126 Sat Apr 8 18:06:28 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28128 * ext/win32ole/win32ole.c: add WIN32OLE_METHOD#inspect,
28129 WIN32OLE_PARAM#inspect.
28131 * test/win32ole/test_win32ole_method.rb: ditto.
28133 * add test/win32ole/test_win32ole_param.rb.
28135 Fri Apr 7 22:11:30 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28137 * ext/win32ole/win32ole.c(foletypelib_initialize): WIN32OLE_TYPELIB.new
28140 * test/win32ole/test_win32ole_typelib.rb(test_initialize): ditto.
28142 Thu Apr 6 23:28:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28144 * COPYING: explicitly note GPLv2. [ruby-talk:187922]
28146 Thu Apr 6 16:43:06 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28148 * intern.h (rb_obj_instance_exec, rb_mod_module_exec): add declaration.
28150 Thu Apr 6 11:18:37 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28152 * ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]
28154 Thu Apr 6 01:04:47 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28156 * ext/tk/tcltklib.c: fix SEGV when embedding to an application.
28159 * ext/tk/tcltklib.c: fix SEGV at exit. [ruby-talk:186489]
28161 * ext/tk/tkutil/tkutil.c: follow to changing specification of
28162 instance_eval on ruby-1.9.x.
28164 * ext/tk/lib/tk.rb: ditto.
28166 * ext/tk/lib/multi-tk.rb: ditto.
28168 * ext/tk/lib/tk.rb: remove warning about redefinition of methods.
28170 * ext/tk/lib/tk/variable.rb: remove warning about unseting Tcl
28173 Wed Apr 5 00:22:54 2006 Tanaka Akira <akr@m17n.org>
28175 * lib/pathname.rb: use a subclass for instantiation except
28176 methods take pathname argument. suggested by Evan Phoenix.
28179 Tue Apr 4 22:15:41 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28181 * parse.y: remove some obsolete syntax rules (unparenthesized
28182 method calls in argument list).
28184 Sat Apr 1 15:11:27 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28186 * ext/win32ole/win32ole.c: add WIN32OLE_TYPE#inspect,
28187 WIN32OLE_VARIABLE#inspect
28189 * remove ext/win32ole/tests/testOLEVARIABLE.rb, testOLETYPE.rb
28192 * testall.rb: ditto.
28194 * add test/win32ole
28196 Fri Mar 31 14:24:55 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
28198 * enumerator.c (enumerator_with_index): removed suspicious return
28201 Wed Mar 29 23:06:48 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28203 * ext/win32ole/win32ole.c (ole_invoke): change the behavior of
28204 WIN32OLE#[], WIN32OLE#[]=. These methods invoke DISPID_VALUE.
28206 * ext/win32ole/sample/excel2.rb: ditto.
28208 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
28210 Wed Mar 29 10:11:31 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28212 * ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar,
28213 e2w_conv): support C90 compiler.
28215 Mon Mar 27 22:45:37 2006 NARUSE, Yui <naruse@ruby-lang.org>
28217 * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: imported nkf 2.0.6.
28218 * Add --ic / --oc option and mapping tables.
28219 * Add fallback option.
28220 * Add --no-best-fit-chars option.
28223 * ext/nkf/nkf.c (nkf_split_options): added for parse option string.
28225 * ext/nkf/lib/kconv.rb (Kconv.to*): add -m0.
28226 Note that Kconv.to* still imply -X.
28228 * ext/nkf/test.rb: Removed. Obsolete by test/nkf.
28230 * ext/.document: enabled documents in nkf and kconv
28232 * ext/nkf/nkf.c, ext/nkf/lib/kconv.rb: Add rdoc.
28234 Mon Mar 27 03:17:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28236 * eval.c (rb_call0): insecure calling should be checked for non
28237 NODE_SCOPE method invocations too.
28239 * eval.c (rb_alias): should preserve the current safe level as
28240 well as method definition.
28242 Sun Mar 26 22:02:51 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
28244 * re.c: refactoring for options.
28248 Fri Mar 24 21:11:02 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
28250 * re.c (match_aref): RDoc description updated.
28252 * string.c (rb_str_sub): ditto.
28254 * string.c (rb_str_gsub): ditto.
28256 Fri Mar 24 17:20:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28258 * process.c (rb_f_sleep): remove RDoc description about SIGALRM
28259 which is not valid on the current implementation. [ruby-dev:28464]
28261 Thu Mar 23 21:40:47 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
28263 * re.c (rb_reg_regsub): prohibit \1, \2 ...\9 in replaced string
28264 for named regex pattern.
28266 Thu Mar 23 21:06:23 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
28268 * oniguruma.h: Version 4.0.2
28270 * regparse.c: ditto.
28274 * regerror.c: ditto.
28276 Thu Mar 23 10:47:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28278 * eval.c (method_missing): should support argument splat in
28279 super. a bug in combination of super, splat and
28280 method_missing. [ruby-talk:185438]
28282 Thu Mar 23 00:01:32 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
28284 * re.c (rb_reg_regsub): add back reference by name \k<name> in
28287 * re.h: add regexp argument to rb_reg_regsub().
28289 * string.c (rb_str_sub_bang): ditto.
28291 * string.c (str_gsub): ditto.
28293 Tue Mar 21 22:14:01 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
28295 * re.c (match_alloc): initialize member regexp.
28297 * re.c (match_aref): add String and Symbol argument. [ruby-dev:28448]
28299 * re.h: add member regexp to RMatch.
28301 * gc.c (gc_mark_children): add gc_mark() to regexp member.
28303 Mon Mar 20 12:05:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28305 * configure.in: Solaris SunPro compiler -rapth patch from
28306 <kuwa at labs.fujitsu.com>. [ruby-dev:28443]
28308 Mon Mar 20 11:12:38 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28310 * ext/win32ole/win32ole.c (folevariant_value): could not compile
28313 Mon Mar 20 09:40:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28315 * configure.in: remove enable_rpath=no for Solaris.
28318 Sun Mar 19 09:46:30 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28320 * ext/win32ole/win32ole.c (ole_val2olevariantdata): change behavior
28321 of converting OLE Variant object with VT_ARRAY|VT_UI1 and Ruby
28324 * ext/win32ole/win32ole.c (folevariant_value): ditto.
28326 * ext/win32ole/tests/testOLEVARIANT.rb: ditto.
28328 Wed Mar 15 16:51:11 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28330 * lib/mkmf.rb (create_makefile): support libraries without *.so.
28332 Wed Mar 15 16:39:29 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
28334 * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: should use
28335 "rb_str_new(0, 0)" to make empty string.
28337 Sun Mar 12 17:02:10 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28339 * ext/win32ole/win32ole.c(ole_val2olevariantdata): support VT_ARRAY in
28340 WIN32OLE_VARIANT.new().
28342 * ext/win32ole/tests/testOLEVARIANT.rb: ditto.
28344 * ext/win32ole/tests/testOLEPARAM.rb: test method name should not be
28347 Sat Mar 11 14:24:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28349 * ruby.1: a clarification patch from David Lutterkort
28350 <dlutter at redhat.com>. [ruby-core:7508]
28352 Sun Mar 5 18:40:58 2006 Minero Aoki <aamine@loveruby.net>
28354 * lib/fileutils.rb: do not repeat command options.
28356 Sun Mar 5 18:35:03 2006 Minero Aoki <aamine@loveruby.net>
28358 * lib/net/http.rb (send_request_with_body): #content_type never
28359 return false, use #main_type instead. [ruby-core:07476]
28361 Sat Mar 4 15:26:40 2006 Tanaka Akira <akr@m17n.org>
28363 * gc.c (id2ref): fix symbol test.
28365 Sat Mar 4 01:08:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28367 * lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygems
28368 directories. a patch from Eric Hodel <drbrain at segment7.net>.
28371 Fri Mar 3 17:59:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28373 * eval.c (rb_clear_cache_by_class): clearing wrong cache.
28375 Fri Mar 3 21:22:42 2006 Tanaka Akira <akr@m17n.org>
28377 * lib/fileutils.rb (FileUtils.cp_r): implement :remove_destination
28380 * ext/extmk.rb: use :remove_destination to install extension libraries
28381 to avoid SEGV. [ruby-dev:28417]
28383 Fri Mar 3 14:41:04 2006 Minero Aoki <aamine@loveruby.net>
28385 * ext/dl/.cvsignore: ignore callback.h.
28387 * ext/ripper/.cvsignore: ignore eventids2table.c.
28389 * ext/socket/.cvsignore: ignore constants.h.
28391 Thu Mar 2 18:58:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28393 * eval.c (rb_thread_fd_writable): should not re-schedule output
28394 from KILLED thread (must be error printing).
28396 Thu Mar 2 09:12:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28398 * array.c (rb_ary_flatten_bang): allow specifying recursion
28399 level. [ruby-talk:182170]
28401 * array.c (rb_ary_flatten): ditto.
28403 Thu Mar 2 08:02:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28405 * gc.c (add_heap): a heap_slots may overflow. a patch from Stefan
28406 Weil <weil at mail.berlios.de>.
28408 Wed Mar 1 17:13:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28410 * eval.c (rb_call): use separate cache for fcall/vcall
28413 * eval.c (rb_eval): NODE_FCALL, NODE_VCALL can call local
28416 * eval.c (rb_mod_local): a new method to specify newly added
28417 visibility "local".
28419 * eval.c (search_method): search for local methods which are
28420 visible only from the current class.
28422 * class.c (rb_class_local_methods): a method to list local methods.
28424 Thu Mar 2 17:54:45 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28426 * gc.c: commited magic for reducing RVALUE size on windows. (24->20byte)
28429 Thu Mar 2 14:12:26 2006 Tanaka Akira <akr@m17n.org>
28431 * gc.c: align VALUE with sizeof(RVALUE) globally.
28432 (is_pointer_to_heap): check alignment out of loop.
28433 (id2ref): avoid collision between symbols and objects.
28434 (rb_obj_id): ditto. moved from object.c.
28435 [ruby-talk:178364] [ruby-core:7305]
28437 Thu Mar 2 12:55:16 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28439 * win32/win32.c (filetime_to_unixtime): should set tm_isdst to -1.
28440 stat() didn't treat daylight saving time property on WinNT.
28443 Wed Mar 1 00:15:51 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28445 * lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.
28446 merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29.
28447 [ruby-talk:181631] [ruby-dev:28404]
28449 Tue Feb 28 19:32:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28451 * object.c (Init_Object): add BasicObject class as a top level
28454 Mon Feb 27 00:19:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28456 * ruby.h (SYM2ID): should not cast to signed long.
28459 Fri Feb 24 20:21:38 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
28461 * test/drb/drbtest.rb (add_service_command): quote pathnames in the
28462 server's command line for space contained directory names.
28463 Thanks, arton. [ruby-dev:28386]
28465 Fri Feb 24 12:10:07 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28467 * instruby.rb: install *.exe.manifest and *.dll.manifest if exist.
28470 Fri Feb 24 11:17:45 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28472 * win32/win32.c (NtInitialize): need to set a handler for VC++8.
28474 Thu Feb 23 22:39:59 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28476 * bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
28477 memory manager cannot handle large memory block properly.
28478 ex: 10000.times { "" << "." * 529671; GC.start } # crash
28481 Thu Feb 23 13:23:03 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28483 * eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]
28485 Wed Feb 22 21:16:55 2006 Tanaka Akira <akr@m17n.org>
28487 * lib/pathname.rb (Pathname#each_filename): use split_names properly.
28489 Wed Feb 22 16:24:05 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28491 * test/webrick/test_cgi.rb: should support platforms which search
28492 library path from the interpreter's path.
28493 And, support test without install incidentally.
28495 Wed Feb 22 14:21:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28497 * bignum.c (bignorm): x may not be a bignum. [ruby-dev:28367]
28499 Wed Feb 22 09:22:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28501 * eval.c (proc_alloc): add proper check for creation of a lambda
28504 Tue Feb 21 02:07:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28506 * parse.y (f_arglist): should set command_start = Qtrue for
28507 command body. [ruby-talk:180648]
28509 Mon Feb 20 22:30:17 2006 Tanaka Akira <akr@m17n.org>
28511 * mkconfig.rb: alias Config to RbConfig for compatibility.
28513 Mon Feb 20 18:21:41 2006 Tanaka Akira <akr@m17n.org>
28515 * io.c (rb_io_reopen): flush before reopening a file.
28516 reported by Mathieu Bouchard. [ruby-core:7396]
28518 Mon Feb 20 17:29:50 2006 Tanaka Akira <akr@m17n.org>
28520 * mkconfig.rb: generate RbConfig instead of Config.
28522 * instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
28523 ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
28524 lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
28525 lib/webrick/httpservlet/cgihandler.rb,
28526 test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
28527 test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
28528 test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
28529 win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
28532 Mon Feb 20 13:46:19 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28534 * lib/find.rb: should raise ENOENT if root entry does not exist,
28535 without opening it. [ruby-dev:28345]
28537 Mon Feb 20 12:27:53 2006 Kent Sibilev <ksruby@gmail.com>
28539 * lib/rational.rb (Integer::gcd): small typo fix.
28542 Mon Feb 20 10:03:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28544 * variable.c (rb_const_get_0): Object should have been the lowest
28545 in const lookup precedence. [ruby-dev:28343]
28547 Mon Feb 20 09:17:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28549 * lib/delegate.rb (Delegator): should not delegate "funcall".
28551 Mon Feb 20 09:13:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28553 * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):
28554 qualify the access for Config constant. [ruby-dev:28338]
28556 * lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify
28557 ClassValue. [ruby-dev:28338]
28559 Mon Feb 20 01:05:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28561 * lib/rational.rb (Integer::gcd): replaced by gcd4 in
28562 [ruby-core:07390]. [ruby-core:07377]
28564 Mon Feb 20 00:57:02 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
28566 * ext/openssl/ossl.h (OSSL_Debug): should not use __func__.
28569 Mon Feb 20 00:13:49 2006 Tanaka Akira <akr@m17n.org>
28571 * lib/open-uri.rb: add :ssl_verify_mode option.
28572 suggested by Will Glynn.
28574 * lib/open-uri.rb: add :ssl_ca_cert option.
28576 Sun Feb 19 04:46:29 2006 Guy Decoux <ts@moulon.inra.fr>
28578 * eval.c: initial value for block_unique must be 1.
28581 Sat Feb 18 23:58:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28583 * lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
28584 only when caller() level size is one. [ruby-core:07389]
28586 * lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
28589 * sample/rtags.rb: ditto.
28591 Sat Feb 18 21:16:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28593 * eval.c (rb_obj_instance_eval): RDoc description updated. a
28594 patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>.
28597 Sat Feb 18 01:01:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28599 * variable.c (rb_const_get_0): skip ruby_wrapper in const search
28600 to give it lower priority (just above Object). need not to
28601 change rb_const_defined_0() since it's only a precedence matter;
28602 they are defined anyway.
28604 Sat Feb 18 00:22:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28606 * lib/tracer.rb: merged a minor clarification patch from Daniel
28607 Berger <Daniel.Berger at qwest.com>. [ruby-core:07376]
28609 Fri Feb 17 17:30:20 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28611 * eval.c (ev_const_get): simplified using rb_const_get_fallback().
28613 * eval.c (ev_const_defined): adopt to ev_const_get() using
28614 rb_const_defined_fallback().
28616 * variable.c (rb_const_get_fallback): new function to implement
28619 * variable.c (rb_const_defined_fallback): new function to
28620 implement constant definition check.
28622 * variable.c (rb_const_get_0): adopt to new behavior. constants
28623 are looked up in the order of: current class, super classes (but
28624 Object), lexically external classes/modules, and Object.
28626 * variable.c (rb_const_defined_0): ditto.
28628 Fri Feb 17 11:20:53 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28630 * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330]
28632 * pack.c (EXTEND32): unpack("l") did not work where sizeof(long) != 4.
28635 * pack.c (pack_unpack): fixed integer overflow on template "w".
28638 Fri Feb 17 09:39:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28640 * eval.c (rb_thread_wait_for): sleep should always sleep for
28641 specified amount of time. [ruby-talk:180067]
28643 Wed Feb 15 16:52:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28645 * eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in its
28646 argument list. [ruby-core:07366]
28648 * parse.y (arg): avoid unnecessary extra argument.
28651 * eval.c (rb_eval): honor visibility on OP_ASGN1 and
28652 OP_ASGN2. [ruby-core:07366]
28654 Wed Feb 15 15:20:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28656 * eval.c (error_line): remove void control path. [ruby-dev:28335]
28658 Wed Feb 15 10:09:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28660 * eval.c (yield_under_i): should not pass self as an argument to
28661 the block for instance_eval. [ruby-core:07364]
28663 Wed Feb 15 09:20:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28665 * eval.c (rb_obj_instance_eval): should be no singleton classes for
28666 true, false, and nil. [ruby-dev:28186]
28668 Tue Feb 14 20:26:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28670 * enumerator.c (enumerator_each): return self if no block is
28671 given. [yarv-dev:882]
28673 Tue Feb 14 18:48:33 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28675 * eval.c (DMETHOD_P): accessing wrong frame. [ruby-dev:28181]
28677 * eval.c (proc_invoke): preserve FRAME_DMETH flag.
28679 Tue Feb 14 15:15:22 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28681 * ext/zlib/zlib.c: suppress warning on test/zlib. [ruby-dev:28323]
28683 Tue Feb 14 13:47:22 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28685 * win32/win32.c (rb_w32_utime): drop read-only attribute before
28686 changing file time.
28688 Tue Feb 14 13:38:01 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28690 * win32/Makefile.sub (config.h): should define HAVE_LONG_LONG with
28693 Tue Feb 14 11:42:38 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28695 * time.c (search_time_t): support non 32bit time_t environments.
28697 * win32/Makefile.sub (config.h): VC++8 has ``long long'' type.
28699 * win32/Makefile.sub (config.h): VC++8's time_t is 64bit value.
28701 Mon Feb 13 18:01:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28703 * eval.c (copy_node_scope): remove duplicated semicolons at end.
28704 a patch from KIMURA Koichi <kimura.koichi at canon.co.jp>.
28707 * eval.c (VIS_MODE): remove unnecessary argument.
28710 Mon Feb 13 13:49:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28712 * parse.y (parser_parse_string): mention "regexp" in a error
28713 message. a patch from Mauricio Fernandez <mfp at acm.org>
28716 Mon Feb 13 00:01:32 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
28718 * oniguruma.h: Version 4.0.1
28720 * regparse.c (onig_free_shared_cclass_table): fix memory leaks.
28722 * regcomp.c (optimize_node_left): change from IS_POSIXLINE() to IS_MULTILINE().
28724 * regint.h: rename ANCHOR_ANYCHAR_STAR_PL to ANCHOR_ANYCHAR_STAR_ML.
28726 * regparse.h: ditto.
28728 * regexec.c: ditto.
28730 Sat Feb 11 21:57:29 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
28732 * ext/win32ole/win32ole.c: add WIN32OLE.create_guid.
28734 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
28736 Sat Feb 11 01:57:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28738 * eval.c (rb_f_autoload): check if ruby_cbase is nil (during
28739 instance_eval for objects cannot have singleton classes,
28740 e.g. fixnums and symbols). [ruby-dev:28178]
28742 Fri Feb 10 12:31:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28744 * eval.c (rb_eval): should support NODE_ZSUPER in NODE_ITER.
28747 * eval.c (ZSUPER_ARGS): support macro.
28749 Wed Feb 8 10:26:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28751 * gc.c (rb_gc_call_finalizer_at_exit): turn on during_gc while
28752 invoking finalizers.
28754 * gc.c (rb_gc_finalize_deferred): ditto.
28756 Tue Feb 7 23:03:13 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28758 * ext/zlib/zlib.c: should not access ruby objects in finalizer.
28761 Tue Feb 7 18:42:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28763 * io.c (rb_write_error2): use fwrite(3) if rb_stderr is not
28764 updated or is already freed. [ruby-dev:28313]
28766 Mon Feb 6 16:02:51 2006 WATANABE Hirofumi <eban@ruby-lang.org>
28768 * file.c (rb_thread_flock): ERROR_NOT_LOCKED is not an error on Cygwin.
28769 In such situation, flock() should return 0.
28771 Mon Feb 6 14:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28773 * eval.c (error_line): include the class name of a surrounding
28774 method in error position description.
28776 Mon Feb 6 00:14:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28778 * enum.c (enum_find_index): a new method Enumerable#find_index.
28781 Sun Feb 5 23:29:31 2006 Tanaka Akira <akr@m17n.org>
28783 * ruby.h (struct RStruct): embed 3 or less elements structs.
28784 (RSTRUCT_LEN): defined for accessing struct members.
28785 (RSTRUCT_PTR): ditto.
28787 * struct.c: use RSTRUCT_LEN and RSTRUCT_PTR.
28788 (struct_alloc): allocate small structs in embedded format.
28789 (rb_struct_init_copy): ditto.
28791 * gc.c (gc_mark_children): use RSTRUCT_LEN and RSTRUCT_PTR.
28794 * marshal.c (w_object): use RSTRUCT_LEN and RSTRUCT_PTR.
28796 Sun Feb 5 21:01:49 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28798 * numeric.c (fix_to_s): removed workaround for radix 2. Historically,
28799 rb_fix2str could only handle radix 8, 10, 16. (Rev1.37) But for now,
28800 it can handle radix 2..36. [ruby-Bugs#3438] [ruby-core:7300]
28802 Sun Feb 5 18:49:00 2006 Minero Aoki <aamine@loveruby.net>
28804 * lib/net/http.rb (add_field, get_fields): keep 1.8.2
28805 compatibility. This patch is contributed by Rob Pitt.
28807 Sun Feb 5 16:33:50 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28809 * lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.
28811 Sun Feb 5 14:26:54 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28813 * lib/pstore.rb: should return default value if name is not found.
28816 * lib/pstore.rb: should raise PStore::Error if not in transaction.
28818 Sat Feb 4 22:51:43 2006 Tanaka Akira <akr@m17n.org>
28820 * eval.c: apply the FreeBSD getcontext/setcontext workaround
28821 only before FreeBSD 7-CURRENT.
28823 Sat Feb 4 21:10:06 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28825 * win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.
28826 In such situation, flock() should return 0.
28828 Sat Feb 4 15:52:56 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28830 * numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where
28831 sizeof(int) == 4 < sizeof(long). [ruby-core:7300]
28833 Sat Feb 4 15:02:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28835 * oniguruma.h: merge Oniguruma 4.0.0 [ruby-dev:28290]
28837 Fri Feb 3 19:25:53 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28839 * ruby.h: fixed prototype.
28841 * ext/syck/rubyext.c: defined symbol ID as global variable as others.
28843 Fri Feb 3 17:57:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28845 * eval.c: unify ruby_class (for method definition) and ruby_cbase
28846 (for constant reference).
28848 Fri Feb 3 15:02:10 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28850 * ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etc
28851 even if skip == 0. This causes buffer overrun.
28852 (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"'))
28854 Fri Feb 3 00:01:31 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28856 * ext/syck/emitter.c (syck_emitter_write): should not set '\0' on
28857 emitter's marker. if marker points to the end of buffer, this is
28858 buffer overrun. (ex: YAML.dump("." * 12288))
28860 Thu Feb 2 17:13:01 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28862 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): added
28863 support of :'string' style Symbol.
28865 Thu Feb 2 16:01:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28867 * eval.c (rb_call0): use TMP_ALLOC() instead of allocating
28868 a temporary array object.
28870 * eval.c (eval): need not to protect $SAFE value.
28873 * error.c (Init_Exception): change NameError to direct subclass of
28874 Exception so that default rescue do not handle it silently.
28876 Thu Feb 2 14:45:53 2006 Ville Mattila <ville.mattila@stonesoft.com>
28878 * configure.in: The isinf is not recognized by autoconf
28879 library guesser on solaris 10. [ruby-core:7138]
28881 Wed Feb 1 22:01:47 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28883 * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)
28884 where they are supported. modifying environ variable seems to
28885 segfault solaris 10. [ruby-core:7276] [ruby-dev:28270]
28887 * ruby.c (set_arg0): if use setenv(3), environ space cannot be used
28888 for altering argv[0].
28890 Tue Jan 31 14:46:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28892 * struct.c (rb_struct_select): update RDoc description.
28895 Tue Jan 31 11:58:51 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28897 * ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.
28899 * ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the
28900 last commit. Now it will return a proper object.
28902 Tue Jan 31 08:07:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28904 * numeric.c (int_upto): return an enumerator if no block is
28905 attached to the method.
28907 * numeric.c (int_downto): ditto.
28909 * numeric.c (int_dotimes): ditto.
28911 * enum.c (enum_first): new method Enumerable#first to take first n
28912 elements from an enumerable.
28914 * enum.c (enum_group_by): new method Enumerable#group_by that
28915 groups enumerable values according to their block values.
28917 Tue Jan 31 00:08:22 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28919 * ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.
28920 ex: ruby -ryaml -e 'YAML.load("!map:B {}")' [ruby-core:7217]
28922 Sat Jan 28 07:49:30 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28924 * lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this case
28925 file name is "a:0". I don't know this really happens though...
28928 Thu Jan 26 15:55:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
28930 * ext/socket/socket.c: turn on do_not_reverse_lookup by default.
28932 Wed Jan 25 22:29:04 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
28934 * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use
28935 system routine if provided. fixed: [ruby-core:07195]
28937 Sun Jan 22 23:27:13 2006 Go Noguchi <gonoguti@yahoo.co.jp>
28939 * lib/test/unit/autorunner.rb (process_args): ignore arguments after
28940 '--' so that test scripts can handle them. fixed: [ruby-dev:28258]
28942 Sun Jan 22 22:09:52 2006 Tanaka Akira <akr@m17n.org>
28944 * eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on
28945 IA64 to avoid reusing variable address.
28947 Sun Jan 22 20:03:35 2006 Tanaka Akira <akr@m17n.org>
28949 * eval.c (ruby_setjmp): define PRE_GETCONTEXT and POST_GETCONTEXT
28950 instead of FUNCTION_CALL_MAY_RETURN_TWICE.
28951 define PRE_GETCONTEXT to clear carry flag for workaround of
28952 FreeBSD/i386 getcontext/setcontext bug.
28955 Thu Jan 19 22:19:18 2006 Minero Aoki <aamine@loveruby.net>
28957 * lib/fileutils.rb (mv): should remove file after copying.
28960 Wed Jan 18 23:37:06 2006 Tanaka Akira <akr@m17n.org>
28962 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC
28964 (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext
28966 reported by Pav Lucistnik and Marius Strobl.
28967 http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html
28969 Tue Jan 17 23:59:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
28971 * object.c (rb_mod_const_get, rb_mod_const_defined): added optional
28972 flag to search ancestors, which is defaulted to true.
28973 fixed: [ruby-talk:175899]
28975 * eval.c (rb_mod_method_defined): ditto.
28977 Tue Jan 17 11:31:47 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28979 * win32/setup.mak (MAKE): workaround for nmake 8.
28981 Tue Jan 17 11:06:19 2006 NAKAMURA Usaku <usa@ruby-lang.org>
28983 * win32/Makefile.sub: invoke .bat via shell. workaround for nmake 8.
28985 Mon Jan 16 10:13:38 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28987 * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):
28988 should output complex key mark even if map's key is empty seq/map.
28991 Sat Jan 14 03:38:54 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28993 * file.c (rb_file_s_chmod): avoid warning where sizeof(int) !=
28996 Fri Jan 13 19:26:15 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28998 * lib/rdoc/diagram.rb:
28999 - properly quote bare element attributes
29000 - terminates dangling elements (e.g. <img>, <br>, <link>, etc)
29001 - converts "CVS" to the more HTML-friendly acronym element
29002 - adds missing type attributes to style elements
29004 based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028]
29006 * lib/rdoc/generators/html_generator.rb: ditto.
29007 * lib/rdoc/generators/template/html/hefss.rb: ditto.
29008 * lib/rdoc/generators/template/html/html.rb: ditto.
29009 * lib/rdoc/generators/template/html/kilmer.rb: ditto.
29011 Thu Jan 12 11:53:08 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29013 * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widget
29014 which is constructed with TkComposite module.
29015 [new feature] support 'command' option which is called just before
29016 popping up the balloon help.
29018 Wed Jan 11 00:12:29 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
29020 * lib/erb.rb (ERB::Compiler): add instance variable @insert_cmd to
29021 change <%='s behavior.
29023 Tue Jan 10 19:42:33 2006 Tanaka Akira <akr@m17n.org>
29025 * gc.c (garbage_collect): mark ruby_current_node.
29026 if an exception is raised in a finalizer written in C called by
29027 rb_gc_call_finalizer_at_exit, ruby_set_current_source may use
29028 collected ruby_current_node and mark_source_filename may corrupt
29031 Tue Jan 10 13:30:34 2006 akira yamada <akira@ruby-lang.org>
29033 * ext/syck/rubyext.c (syck_resolver_transfer): should be able to load
29034 !ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159]
29036 Tue Jan 10 12:47:41 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29038 * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in
29039 ruby 1.8.3/1.8.4. [ruby-core:6115]
29041 * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not
29042 be dumped properly. [ruby-core:7047]
29044 Tue Jan 10 12:00:48 2006 Aaron Schrab <aaron @nospam@ schrab.com>
29046 * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted
29047 Symbols broken. [ruby-Bugs:2535]
29049 Tue Jan 10 07:26:52 2006 Tanaka Akira <akr@m17n.org>
29051 * gc.c (gc_stress): renamed from always_gc and enabled by default.
29052 (gc_stress_get): new function for GC.stress.
29053 (gc_stress_set): new function for GC.stress=.
29055 Mon Jan 9 19:58:56 2006 arton <artonx@yahoo.co.jp>
29057 * ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed by
29058 http://www.zlib.net/ has zdll.lib. [ruby-dev:28209]
29060 Mon Jan 9 14:25:00 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29062 * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,
29063 (VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040]
29065 Mon Jan 9 14:25:00 2006 Kero van Gelder <rubyforge @nospam@ kero.tmfweb.nl>
29067 * lib/webrick/httpservlet/filehandler.rb: fixed typo. [ruby-core:7075]
29069 Sun Jan 8 14:15:27 2006 Tanaka Akira <akr@m17n.org>
29071 * eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.
29072 Intel C++ Compiler defines __GNUC__.
29073 http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm
29075 Sat Jan 7 15:40:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
29077 * parse.y (singleton): get rid of segfault on syntax error.
29078 fixed: [ruby-core:07070]
29080 Sat Jan 7 06:24:18 2006 Tanaka Akira <akr@m17n.org>
29082 * eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to
29083 avoid FreeBSD bug. FreeBSD defines FD_ISSET as just a bitmap of
29084 unsigned long. So returning the value from rb_fd_isset discards
29085 upper 32bits on LP64 environment.
29086 http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421
29088 Fri Jan 6 02:20:18 2006 Tanaka Akira <akr@m17n.org>
29090 * configure.in: don't force getcontext on IA64.
29092 * eval.c (ruby_setjmp): add an argument for just before getcontext.
29093 (THREAD_SAVE_CONTEXT): call rb_thread_save_context just
29097 Sun Jan 1 15:28:46 2006 Tanaka Akira <akr@m17n.org>
29099 * missing.h (isinf): avoid macro expansion
29100 "extern int isinf(double);" to
29101 "extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on
29104 Sun Jan 1 14:42:54 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29106 * win32/win32.c (rb_w32_seekdir): should not segfault even if passed
29107 the location which rb_w32_telldir didn't return. (and should change
29108 `bits' position) [ruby-core:7035]
29110 * win32/dir.h: ditto. (stores `loc' instead of `bitpos')
29112 * test/ruby/test_dir.rb: added.
29114 Sat Dec 31 22:57:00 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29116 * eval.c (rb_thread_save_context): should not recycle scope object used
29117 in a thread. fixed: [ruby-dev:28177]
29119 Sat Dec 31 19:50:38 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29121 * ext/syck/rubyext.c: attribute name was truncated with Rev1.64.
29123 Sat Dec 31 11:53:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29125 * lib/generator.rb: (Generator#initialize): should kill @loop_thread
29126 before starting new thread. (occurs when called via Generator#rewind)
29129 Fri Dec 30 18:22:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29131 * gc.c (garbage_collect): mark objects referred from aborting threads.
29134 * win32/Makefile.sub: VC++8 support.
29136 Fri Dec 30 15:17:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29138 * lib/generator.rb (Generator#initialize): ensured to stop @loop_thread.
29139 Mr. Tanaka pointed out one Thread.pass is not enough. [ruby-dev:28185]
29141 Fri Dec 30 12:20:57 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29143 * lib/generator.rb (Generator#initialize): fixed dead lock. this occurred
29144 when end? was called before @loop_thread was stopped. [ruby-core:7029]
29146 Fri Dec 30 01:04:52 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29148 * lib/generator.rb: should work with another thread. (more robust code)
29151 Thu Dec 29 23:59:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29153 * eval.c (rb_gc_mark_threads): keep unmarked threads which won't wake
29154 up alone, and mark threads in the loading table. [ruby-dev:28154]
29156 * eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked
29157 threads. [ruby-dev:28172]
29159 Thu Dec 29 17:02:07 2005 Tanaka Akira <akr@m17n.org>
29161 * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of
29162 "miniruby". [ruby-dev:28140]
29164 Thu Dec 29 14:35:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29166 * eval.c (rb_mod_define_method): should save safe_level in the
29167 proc object. [ruby-dev:28146]
29169 Thu Dec 29 11:22:34 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29171 * lib/generator.rb: reimplemented Generator class with Thread instead of
29172 callcc, in order to fix memory leak. [ruby-dev:28142]
29174 Wed Dec 28 14:10:05 2005 Tanaka Akira <akr@m17n.org>
29176 * ia64.s: remove .pred.safe_across_calls directive.
29177 reported by WATANABE Tetsuya. [ruby-dev:28141]
29179 Wed Dec 28 01:32:39 2005 Tanaka Akira <akr@m17n.org>
29181 * eval.c (struct thread): add bstr_max.
29182 (rb_thread_save_context): use realloc instead of REALLOC_N
29185 Tue Dec 27 23:59:53 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29187 * lib/optparse.rb (CompletingHash#match): fix for 1.9.
29189 Tue Dec 27 16:59:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29191 * test/drb/drbtest.rb (DRbService::self.ext_service): increase
29192 timeout limit. a patch from Kazuhiro NISHIYAMA
29193 <zn at mbf.nifty.com>. [ruby-dev:28132]
29195 Tue Dec 27 14:17:55 2005 Tanaka Akira <akr@m17n.org>
29197 * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn't
29199 don't check libunwind stuff.
29200 check __libc_ia64_register_backing_store_base.
29202 * defines.h: declare rb_ia64_bsp and rb_ia64_flushrs.
29203 (flush_register_windows): call rb_ia64_flushrs on IA64.
29205 * ia64.s: new file for IA64.
29206 it is separated from C program files because
29207 Intel C++ Compiler for IA64 doesn't support inline assembly.
29209 * common.mk (ia64.$(OBJEXT)): new target.
29211 * ruby.h (RUBY_INIT_STACK): defined.
29212 (ruby_init_stack): declared for RUBY_INIT_STACK.
29214 * main.c (main): precedes RUBY_INIT_STACK before ruby_init.
29216 * gc.c (rb_gc_register_stack_start): new global variable on IA64.
29217 (garbage_collect): simplify register stack marking code.
29218 don't use libunwind.
29219 (Init_stack): initialize rb_gc_register_stack_start.
29220 (ruby_init_stack): new function for RUBY_INIT_STACK.
29222 * eval.c (struct thread): add bstr_pos member for original position of
29224 (rb_thread_save_context): simplify register stack saving code.
29225 don't use libunwind.
29226 (rb_thread_restore_context_0): new function. moved from
29227 rb_thread_restore_context except the stack position checking code.
29228 don't use libunwind for IA64 register stack.
29229 (register_stack_extend): new function.
29230 (stack_extend): make it self-recursive with
29231 the stack position checking code in old rb_thread_restore_context.
29232 (rb_thread_restore_context): just call stack_extend.
29233 (flush_register_windows): removed.
29237 Tue Dec 27 14:09:39 2005 Minero Aoki <aamine@loveruby.net>
29239 * process.c: new method Process.exec. [ruby-dev:28107]
29241 Tue Dec 27 08:22:15 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29243 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_check):
29244 treat wildcard character in commonName. [ruby-dev:28121]
29246 Mon Dec 26 08:50:36 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29248 * eval.c (ev_const_get): fixed a bug in constant reference during
29249 instance_eval. [yarv-dev:707]
29251 * eval.c (ev_const_defined): ditto.
29253 * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from
29254 Joel VanderWerf <vjoel at path.berkeley.edu>.
29255 [ruby-talk:165285] [ruby-core:6995]
29257 Fri Dec 23 10:30:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29259 * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from
29260 Kailden <kailden at gmail.com>. [ruby-core:06984]
29262 Wed Dec 21 16:47:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29264 * file.c (w32_io_info): should return handle because FileIndex is
29265 valid only while file is open. [ruby-dev:28088]
29267 Wed Dec 21 12:12:21 2005 Tanaka Akira <akr@m17n.org>
29269 * test/pathname/test_pathname.rb (test_kernel_open): use
29273 Tue Dec 20 22:41:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29275 * eval.c (eval_under_i): evaluate source in caller's frame.
29278 Tue Dec 20 12:53:23 2005 why the lucky stiff <why@ruby-lang.org>
29280 * ext/syck/rubyext.c (syck_emitter_reset): to ensure compatibility
29281 with previous Ruby versions, documents are no longer headless.
29283 Tue Dec 20 12:33:01 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29285 * ext/syck/rubyext.c (syck_node_transform): ruby object holding
29286 explicitly freed SyckNode caused SEGV. [ruby-dev:28067]
29288 ... I think syck GC problem was solved now!
29290 Tue Dec 20 01:46:48 2005 Tanaka Akira <akr@m17n.org>
29292 * io.c (rb_f_backquote): fix a GC problem on
29293 IA64 with gcc 4.0.3 20051216 (prerelease) -O3.
29295 Mon Dec 19 23:32:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29297 * Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
29299 * main.c (always_gc): dllimport is required for VC to import a DLL
29300 symbol. fixed: [ruby-dev:28051]
29302 * parse.y (rb_symname_p): fixed wrong validation. [ruby-dev:28047]
29304 Mon Dec 19 23:09:24 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29306 * st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
29307 in gram.c to insert node from rb_syck_bad_anchor_handler into
29308 SyckParser's hash table. if GC occurs in st_insert, it's not under
29309 SyckParser's mark system yet. so RString can be released wrongly.
29311 * ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is
29312 NULL or not before S_FREE.
29314 * ext/syck/rubyext.c (syck_parser_assign_io): rb_check_string_type can
29315 return new RString. if so, it becomes unreachable from GC after
29316 returns syck_parser_assign_io, and can be freed by GC. (dangling
29317 in syck io system) so extends its life time till syck_parse is called.
29319 * ext/syck/rubyext.c (syck_parser_s_alloc): always allocates bonus,
29320 so no need to check if NULL, and "volatile VALUE hash"
29321 is not needed. (bonus->port was not protected in syck_emitter_reset)
29323 * ext/syck/rubyext.c (syck_mark_parser): ditto.
29325 * ext/syck/rubyext.c (syck_parser_load): ditto.
29327 * ext/syck/rubyext.c (syck_parser_load_documents): ditto.
29329 * ext/syck/rubyext.c (syck_emitter_s_alloc): ditto.
29331 * ext/syck/rubyext.c (syck_mark_emitter): ditto.
29333 * ext/syck/rubyext.c (syck_emitter_reset): ditto.
29335 * ext/syck/rubyext.c (syck_scalar_value_set): "should set newly
29336 allocated memory instead of RString's internal storage" stuff again.
29337 by this, should call syck_free_node instead of rb_syck_free_node.
29339 * ext/syck/rubyext.c (syck_node_type_id_set): ditto.
29341 ... I believe syck GC problem was solved by this.
29343 Mon Dec 19 12:20:59 2005 Tanaka Akira <akr@m17n.org>
29345 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): activate only
29346 before gcc 4.0.3 on SPARC and IA64.
29348 Mon Dec 19 11:37:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29350 * ext/syck/rubyext.c: sorry, I reverted my "should set newly
29351 allocated memory instead of RString's internal storage" stuff.
29352 node allocated in rubyext.c seems to be freed by rb_syck_free_node
29353 not syck_free_node, and it won't free data.str->ptr and type_id.
29355 (I still think this is unsafe because RString(foo)->ptr becomes
29356 dangling pointer when RString is modified or freed, but anyway
29357 I misunderstood, so go back to original code for now)
29359 Sat Dec 17 21:50:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29361 * ext/syck/rubyext.c (syck_emitter_reset): should initialize
29362 emitter->bonus->oid. otherwise rb_gc_mark crashes.
29364 * ext/syck/rubyext.c (syck_mark_parser): should mark anchor nodes
29365 because they hold ruby objects. (ie: rb_syck_bad_anchor_handler)
29367 Sat Dec 17 11:00:17 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29369 * ext/syck/rubyext.c (rb_syck_compile): avoid potential memory
29372 * ext/syck/rubyext.c (syck_set_ivars): avoid potential memory
29373 leak by explicit symbol allocation.
29375 Sat Dec 17 03:57:01 2005 Tanaka Akira <akr@m17n.org>
29377 * bignum.c (rb_big_rshift): fix a GC problem on
29378 IA64 with gcc 4.0.3 20051216 (prerelease).
29380 Sat Dec 17 03:30:23 2005 Tanaka Akira <akr@m17n.org>
29382 * eval.c (bmcall): fix a GC problem by tail call on
29383 IA64 with gcc 4.0.3 20051216 (prerelease).
29385 Fri Dec 16 17:53:45 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29387 * ext/syck/rubyext.c (rb_syck_compile): fixed memory leak.
29389 * ext/syck/rubyext.c: should protect global variable from GC.
29391 Fri Dec 16 11:44:43 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29393 * ext/syck/rubyext.c (syck_resolver_tagurize): fixed memory leak.
29395 * ext/syck/rubyext.c (syck_node_type_id_set): should set newly
29396 allocated memory instead of RString's internal storage.
29398 * ext/syck/rubyext.c (syck_scalar_value_set): ditto.
29400 ... these fixes won't fix [ruby-dev:27839]. more work is needed.
29402 Fri Dec 16 04:38:55 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29404 * lib/delegate.rb (Delegator::method_missing): should delegate
29407 Thu Dec 15 19:57:12 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29409 * lib/cgi.rb (CGI::QueryExtension::MorphingBody): fix criteria to
29410 use Tempfile. A fix from Zev Blut <rubyzbibd at ubit.com>.
29413 * string.c: remove global functions work on $_.
29415 Thu Dec 15 12:35:14 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29417 * lib/tmpdir.rb: merged RDoc patch from Eric Hodel <drbrain at
29418 segment7.net>. [ruby-core:06894]
29420 Thu Dec 15 01:33:31 2005 Tanaka Akira <akr@m17n.org>
29422 * ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on
29423 x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)
29425 Wed Dec 14 23:50:20 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29427 * lib/rdoc/parsers/parse_c.rb (find_class_comment): fix for class
29428 document with prototypes. [ruby-core:06863]
29430 Wed Dec 14 23:39:53 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29432 * dir.c (has_magic): glob names contain alphabets to enable case fold
29433 search. [ruby-dev:27735]
29435 * dir.c (Init_Dir): FNM_SYSCASE which is default case fold flag.
29438 Wed Dec 14 12:01:26 2005 Tanaka Akira <akr@m17n.org>
29440 * marshal.c (r_object0): fix a GC problem for reading a bignum on
29441 IA64 with gcc 3.3.5 (Debian 1:3.3.5-13).
29443 Tue Dec 13 12:23:47 2005 Tanaka Akira <akr@m17n.org>
29445 * re.c (rb_reg_regcomp): fix a GC problem on x86_64 with
29446 gcc 3.3.5 (Debian 1:3.3.5-13).
29448 Tue Dec 13 01:44:16 2005 Tanaka Akira <akr@m17n.org>
29450 * array.c (rb_ary_diff): fix a GC problem on IA64 with
29451 gcc 3.3.5 (Debian 1:3.3.5-13).
29452 When rb_ary_push is called, there was no register which contains
29453 `hash' but `&RHASH(hash)->tbl' instead.
29455 Tue Dec 13 00:08:09 2005 Tanaka Akira <akr@m17n.org>
29457 * sprintf.c (rb_str_format): fix a GC problem.
29460 Mon Dec 12 15:51:22 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29462 * test/openssl/test_ssl.rb (test_parallel): call GC.start to close
29463 unused files. [ruby-dev:27981]
29465 Mon Dec 12 09:58:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29467 * range.c (range_cover): new method Range#cover? added. the
29468 method name might be changed. thanks to takano32 at
29469 http://www.rubyist.net/~matz/20051210.html#c08 for name
29470 suggestion. [ruby-talk:167182]
29472 Mon Dec 12 00:33:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29474 * ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
29475 protect temporary context object. [ruby-dev:27979]
29477 * ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should
29478 be called before actual variable initialization.
29481 Sun Dec 11 23:54:07 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29483 * ext/tk/*: update to support libraries in ActiveTcl8.4.12.0
29484 (see ext/tk/ChangeLog.tkextlib).
29486 * ext/tk/sample/scrollframe.rb: add a new sample.
29488 Sun Dec 11 22:07:58 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
29490 * test/rinda/test_rinda.rb (test_remote_array_and_hash): pseudo remote
29491 objects are protected against GC. [ruby-dev:27911]
29493 Sat Dec 10 01:06:06 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
29495 * lib/matrix.rb: add Matrix#determinant_e, Matrix#rank_e.
29496 [ruby-dev:27820] and related thread.
29498 Sat Dec 10 00:31:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29500 * eval.c (calling_scope_t): gave names to magic numbers for rb_call().
29503 Fri Dec 9 23:31:02 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29505 * lib/rexml/encoding.rb (encoding=): give priority to particular
29506 conversion to iconv. [ruby-core:06520]
29508 Fri Dec 9 23:16:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29510 * range.c (range_include): return false unless included in numeric
29511 range. fixed: [ruby-dev:27975]
29513 Thu Dec 8 02:07:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29515 * eval.c (umethod_bind): adjust invoking class for module method.
29518 Thu Dec 8 00:40:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29520 * eval.c (call_trace_func): klass parameter should be a
29521 class/module that defines calling method. [ruby-talk:169307]
29523 Wed Dec 7 17:10:27 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
29525 * sprintf.c (rb_f_sprintf): [ruby-dev:27967]
29527 Wed Dec 7 16:39:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29529 * range.c (range_include): use discrete membership for non Numeric
29530 values, for example, String.
29532 * numeric.c (num_scalar_p): new method. [ruby-dev:27936]
29534 * lib/complex.rb (Complex#scalar?): ditto.
29536 Wed Dec 7 15:31:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29538 * sprintf.c (rb_str_format): integer overflow check added.
29540 * sprintf.c (GETASTER): ditto.
29542 Wed Dec 7 01:02:04 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29544 * ext/tk/README.macosx-aqua: [new document] tips to avoid the known
29545 bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X.
29547 * ext/tk/tcltklib.c: fix bug on switching threads and waiting on the
29548 deleted interpreter on vwait and tkwait command.
29550 * ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk
29553 * ext/tk/sample/demos-jp/image3.rb: [bug fix] wrong argument.
29555 * ext/tk/sample/demos-en/image3.rb: ditto.
29557 * ext/tk/sample/demos-jp/menu.rb: fix message for MacOS X.
29559 * ext/tk/sample/demos-jp/menu8x.rb: ditto.
29561 * ext/tk/sample/demos-en/menu.rb: ditto.
29563 Tue Dec 6 16:48:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29565 * gc.c (ruby_xmalloc2): change check condition for integer
29566 overflow. [ruby-dev:27399]
29568 * gc.c (ruby_xrealloc2): ditto.
29570 Tue Dec 6 16:37:57 2005 Yuya Nishida <yuya@j96.org>
29572 * eval.c (exec_under): avoid accessing ruby_frame->prev.
29575 Fri Dec 2 19:06:06 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29577 * dir.c (Compare): should not fold double byte alphabet on win9x.
29579 Thu Dec 1 00:50:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29581 * eval.c (rb_funcall2): allow to call protected methods.
29582 fixed: [ruby-dev:27890]
29584 Wed Nov 30 23:52:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29586 * parse.y (struct parser_params): fields common to ripper must be
29587 placed at each same offset.
29589 * parse.y (NEWHEAP, ADD2HEAP): set count after pointer was set.
29590 fixed: [ruby-dev:27896]
29592 Wed Nov 30 13:43:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29594 * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
29595 expression. [ruby-dev:27868]
29597 Mon Nov 28 20:24:22 2005 Tanaka Akira <akr@m17n.org>
29599 * lib/pp.rb (PP::PPMethods#object_address_group): mask an address with
29602 Tue Nov 29 23:57:05 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29604 * parse.y (struct parser_params): heap must be placed at same offset
29605 also in ripper.y. fixed: [ruby-dev:27846]
29607 * parse.y (yycompile): prevent vparser from tail call optimization.
29608 fixed: [ruby-dev:27851]
29610 * parse.y (parser_mark): value needs to be marked.
29611 fixed: [ruby-dev:27845]
29613 Tue Nov 29 22:45:30 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
29615 * lib/drb/observer.rb (notify_observers): follow change of observer.rb.
29616 fixed: [ruby-core:6796]
29618 Mon Nov 28 20:24:22 2005 Tanaka Akira <akr@m17n.org>
29620 * lib/pp.rb (PP::PPMethods#object_address_group): adjust address format.
29622 Mon Nov 28 18:55:22 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29624 * ext/socket/socket.c (init_inetsock_internal): remove setting
29625 SO_REUSEADDR option on server socket on Cygwin.
29626 fixed: [ruby-core:6765] ([ ruby-Bugs-2872 ])
29628 Mon Nov 28 13:11:45 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29630 * win32/win32.c (rb_w32_strerror): remove all CR and LF. (avoid broken
29631 error message on bccwin32 + winsock)
29633 Mon Nov 28 09:15:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29635 * lib/mkmf.rb (create_makefile): should not change sodir with
29636 dir.gsub!. (bccwin32 failed to install third party extensions)
29639 Sun Nov 27 05:37:20 2005 Tanaka Akira <akr@m17n.org>
29641 * lib/pathname.rb: use File.basename to decompose pathnames.
29642 experimental Windows support.
29644 Sun Nov 27 00:56:13 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
29646 * lib/wsdl/xmlSchema/complexContent.rb: missing
29647 ComplexContent#elementformdefault method.
29649 Sat Nov 26 19:57:45 2005 WATANABE Hirofumi <eban@ruby-lang.org>
29651 * dln.c (conv_to_posix_path): should initialize posix.
29653 Fri Nov 25 20:34:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29655 * lib/xmlrpc/datetime.rb (DateTime::to_a): comparison with non
29656 array-convertible object must return false.
29658 Fri Nov 25 14:34:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29660 * range.c (range_max): treat end exclusion without iteration if
29661 the end value is an integer. [ruby-talk:167433]
29663 Fri Nov 25 12:52:57 2005 Kouhei Sutou <kou@cozmixng.org>
29665 * lib/rss/rss.rb: added backward compatibility codes.
29666 * lib/rss/parser.rb: ditto.
29667 * test/rss/test_parser.rb: ditto.
29668 * test/rss/test_2.0.rb: ditto.
29670 * test/rss/test_content.rb: use #__send__ instead of #funcall for
29673 Fri Nov 25 12:39:56 2005 Kouhei Sutou <kou@cozmixng.org>
29675 * lib/rss/rss.rb: improved type conversion.
29676 * lib/rss/1.0.rb: ditto.
29677 * lib/rss/0.9.rb: ditto.
29678 * lib/rss/2.0.rb: ditto.
29679 * lib/rss/image.rb: ditto.
29680 * lib/rss/syndication.rb: ditto.
29682 * test/rss/test_2.0.rb: added type conversion tests.
29683 * test/rss/test_accessor.rb: ditto.
29684 * test/rss/test_to_s.rb: ditto.
29685 * test/rss/test_syndication.rb: ditto.
29686 * test/rss/test_setup_maker_2.0.rb: ditto.
29687 * test/rss/test_setup_maker_1.0.rb: ditto.
29688 * test/rss/test_setup_maker_0.9.rb: ditto.
29689 * test/rss/test_maker_sy.rb: ditto.
29690 * test/rss/test_maker_image.rb: ditto.
29691 * test/rss/test_maker_2.0.rb: ditto.
29692 * test/rss/test_maker_0.9.rb: ditto.
29693 * test/rss/test_image.rb: ditto.
29695 * test/rss/test_maker_1.0.rb: use assert instead of assert_equal.
29697 * test/rss/rss-assertions.rb: improved type conversion assertions.
29699 Fri Nov 25 10:38:20 2005 Kouhei Sutou <kou@cozmixng.org>
29701 * lib/rss/image.rb: added Image prefix.
29703 * lib/rss/maker/image.rb: ditto.
29705 Fri Nov 25 10:33:02 2005 Kouhei Sutou <kou@cozmixng.org>
29707 * test/rss/test_2.0.rb: added RSS 2.0 tests.
29709 * test/rss/rss-assertions.rb: extended XML stylesheet assertion.
29711 * lib/rss/0.9.rb: added initialize method.
29713 * test/rss/test_1.0.rb: cleanup.
29715 Fri Nov 25 10:29:48 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29717 * range.c (range_min): use <=> comparison rather than iteration.
29720 * range.c (range_max): ditto.
29722 Thu Nov 24 01:31:44 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29724 * file.c (w32_io_info): CreateFile failed on Win9x if file was already
29725 opened. (FILE_SHARE_READ was needed, but actually I don't understand
29726 the flags of CreateFile well...)
29728 Wed Nov 23 23:52:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29730 * numeric.c (num_div): use floor rather than rb_Integer().
29733 Wed Nov 23 22:34:15 2005 Kouhei Sutou <kou@cozmixng.org>
29735 * lib/rss/parser.rb: added entity handling type predicate.
29736 * lib/rss/rexmlparser.rb: ditto.
29737 * lib/rss/xmlparser.rb: ditto.
29738 * lib/rss/xmlscanner.rb: ditto.
29740 * lib/rss/xmlscanner.rb: more robust entity handling.
29742 * test/rss/test_parser.rb: added an entity handling test.
29744 Wed Nov 23 20:59:01 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29746 * ext/tk/lib/tk.rb: add Tk.pkgconfig_list and Tk.pkgconfig_get
29749 * ext/tk/lib/tk/text.rb: supports new indices modifiers on a Text
29750 widget [Tk8.5 feature].
29752 * ext/tk/lib/tk/virtevent.rb: add TkNamedVirtualEvent.
29754 * ext/tk/lib/tk/autoload.rb: ditto.
29756 * ext/tk/lib/tk/event.rb: add :data key for virtual events [Tk8.5
29759 Wed Nov 23 18:52:45 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29761 * file.c (w32_io_info): should not call GetFileInformationByHandle
29764 * file.c (w32_io_info): checks return value from rb_w32_get_osfhandle.
29766 * file.c (w32_io_info): now can identify directory on WinNT.
29768 Wed Nov 23 18:46:53 2005 Kouhei Sutou <kou@cozmixng.org>
29770 * lib/rss/: use #__send__ instead of #send.
29771 * test/rss/: ditto.
29773 Wed Nov 23 18:32:56 2005 Kouhei Sutou <kou@cozmixng.org>
29775 * test/rss/test_taxonomy.rb: use #reject directory.
29777 Wed Nov 23 18:26:00 2005 Kouhei Sutou <kou@cozmixng.org>
29779 * lib/rss/taxonomy.rb: changed class or module prefix to
29780 Taxonomy from Taxo.
29781 * lib/rss/maker/taxonomy.rb: ditto.
29783 Wed Nov 23 18:21:11 2005 Kouhei Sutou <kou@cozmixng.org>
29785 * lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS
29787 * lib/rss/taxonomy.rb: supported RSS Maker.
29788 * lib/rss/maker.rb: added taxonomy module support.
29790 * lib/rss/rss.rb: adjusted to other element API.
29791 * lib/rss/1.0.rb: adjusted to other element API but backward
29792 compatibility is reserved.
29793 * lib/rss/0.9.rb: ditto.
29795 * test/rss/test_maker_taxo.rb: added test case for taxonomy module
29797 * test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic.
29799 * test/rss/test_setup_maker_1.0.rb: added backward compatibility
29801 * test/rss/test_setup_maker_0.9.rb: ditto.
29802 * test/rss/test_setup_maker_2.0.rb: ditto.
29804 * test/rss/rss-testcase.rb: added convenience method for setting
29806 * test/rss/rss-assertions.rb: added assertion for taxo:topic.
29808 * sample/rss/blend.rb: followed new API.
29810 Wed Nov 23 17:42:24 2005 Kouhei Sutou <kou@cozmixng.org>
29812 * lib/rss/rss.rb: fixed a indentation bug.
29814 * lib/rss/taxonomy.rb: fixed <taxo:topic> #to_s bug.
29816 * test/rss/test_taxonomy.rb: added a #to_s test.
29818 Wed Nov 23 03:40:49 2005 Guy Decoux <ts@moulon.inra.fr>
29820 * re.c (KR_REHASH): should cast to unsigned for 64bit CPU.
29823 Wed Nov 23 07:26:44 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29825 * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
29827 * ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use
29828 OPENSSL_malloc to allocate X509V3_CTX.
29830 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use
29831 X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which
29832 values are placed in separate section).
29834 * test/openssl/test_x509ext.rb: new file.
29836 Wed Nov 23 01:22:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29838 * file.c (test_identical): test if two files are identical.
29840 * file.c (rb_f_test): support DOSISH systems where st_ino is not
29841 reliable. fixed: [ruby-core:06672]
29843 * win32.h, win32.c (rb_w32_osid): check the running platform.
29845 Tue Nov 22 23:52:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29847 * lib/optparse.rb: match incomplete (in current enconding) multibyte
29848 string. http://inamode6.tokuhirom.dnsalias.org/show/1551
29850 Tue Nov 22 18:36:11 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29852 * win32/win32.c (winnt_stat): set mapped errno instead of ENOENT.
29854 Tue Nov 22 14:36:54 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29856 * file.c (rb_file_s_basename): skip slashes just after UNC top slashes.
29858 * test/ruby/test_path.rb (test_dirname, test_basename): follow new
29859 spec. and add new tests.
29861 Tue Nov 22 13:30:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29863 * win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared');
29864 p Dir.glob('*') should work on WinNT. (implemented our own
29865 stat(2) on WinNT) [ruby-list:41552] [ruby-dev:27711]
29867 Tue Nov 22 02:31:53 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29869 * ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
29872 Tue Nov 22 01:45:21 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29874 * file.c (rb_file_s_basename): DOSISH_UNC is defined on cygwin but
29875 DOSISH is not. fixed: [ruby-dev:27797]
29877 Mon Nov 21 22:50:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29879 * file.c (rb_path_skip_prefix, rb_file_s_basename): UNC without path
29880 should not be splitted. fixed: [ruby-dev:27776] [ruby-dev:27786]
29882 * parse.y (dsym): prohibit empty symbol literal by interpolation.
29883 fixed: [ruby-talk:166529]
29885 Mon Nov 21 16:03:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29887 * win32/setup.mk: findstr doesn't exist on win9x.
29888 fixed: [ruby-dev:27756]
29890 Sun Nov 20 21:39:27 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
29892 * regparse.c (fetch_token_in_cc): tok->escaped should be
29893 initialized. [ruby-dev:27763]
29895 Sun Nov 20 22:34:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29897 * parse.y (rb_symname_p): [ not followed by ] is not valid symbol.
29898 fixed: [ruby-talk:166520]
29900 Sat Nov 19 19:57:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29902 * lib/fileutils.rb (FileUtils::ln): ln documentation fix.
29905 Sat Nov 19 08:19:38 2005 Zach Dennis <zdennis@mktec.com>
29907 * ext/socket/socket.c: Socket Documentation. [ruby-core:6552]
29909 Sat Nov 19 07:34:32 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29911 * ext/tk/lib/tk/font.rb: remove dependency on Ruby's version (1.8
29914 * ext/tk/lib/tkextlib/ICONS/icons.rb: ditto.
29916 * ext/tk/sample/tkextlib/treectrl/demo.rb: ditto.
29918 Fri Nov 18 18:07:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29920 * file.c (rb_file_s_dirname): should use skipprefix for UNC path.
29921 pointed out by nobu ([ruby-dev:27744]). fixed: [ruby-core:5076]
29923 Fri Nov 18 17:35:09 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29925 * ext/tk/lib/multi-tk.rb: add restriction to access the entried
29926 command table and manipulate other IPs (for reason of security).
29927 Now, a IP object can be controlled by only its master IP or the
29930 * ext/tk/lib/remote-tk.rb: add restriction to manipulate.
29932 * ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip)
29933 to check manipulability.
29935 * ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces.
29937 * ext/tk/lib/tk/namespace.rb: ditto.
29939 Fri Nov 18 16:47:33 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29941 * file.c (rb_file_s_dirname): added checks for some patterns with drive
29942 letter. fixed: [ruby-dev:27738]
29944 * test/ruby/test_path.rb (test_dirname): added tests for above
29947 Fri Nov 18 12:19:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29949 * win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
29950 returns true on VisualC++6.
29952 Thu Nov 17 17:58:00 2005 Kouhei Sutou <kou@cozmixng.org>
29954 * lib/rss/1.0.rb: added convenience method 'resources'.
29956 * lib/rss/taxonomy.rb: ditto.
29958 * test/rss/rss-assertions.rb: added test for 'resources'.
29960 * test/rss/test_taxonomy.rb: ditto.
29962 Thu Nov 17 17:53:30 2005 Kouhei Sutou <kou@cozmixng.org>
29964 * lib/rss/taxonomy.rb: implemented taxonomy module.
29966 * test/rss/test_taxonomy.rb: added tests for taxonomy support.
29968 Thu Nov 17 17:40:19 2005 Kouhei Sutou <kou@cozmixng.org>
29970 * lib/rss/1.0.rb: added rdf:Bag.
29972 Thu Nov 17 13:52:00 2005 Kouhei Sutou <kou@cozmixng.org>
29974 * lib/rss/rss.rb: removed needless argument 'prefix'.
29976 * lib/rss/parser.rb: ditto.
29978 Wed Nov 16 23:24:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29980 * common.mk (static-ruby): overridable.
29982 * ext/extmk.rb (parse_args): force to link extensions statically only
29983 if static is given for extstatic.
29985 * ext/extmk.rb (RUBY, RUBYW): overridable.
29987 Wed Nov 16 01:29:31 2005 Kouhei Sutou <kou@cozmixng.org>
29989 * lib/rss/trackback.rb: added TrackBack prefix.
29991 * lib/rss/maker/trackback.rb: ditto.
29993 Wed Nov 16 01:26:13 2005 Kouhei Sutou <kou@cozmixng.org>
29995 * lib/rss/rss.rb (RSS::VERSION): 0.1.5 -> 0.1.6.
29997 * test/rss/test_version.rb (RSS::TestVersion#test_version): ditto.
29999 Tue Nov 15 23:54:24 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30001 * file.c (file_load_ok): eaccess() returns 0 on success.
30002 fixed: [ruby-dev:27713]
30004 Tue Nov 15 16:36:03 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30006 * array.c (rb_ary_fill): previous commit disabled this usage:
30008 a = [0,1,2,3,4,5,6,7,8,9]
30009 a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil]
30011 previous commit has the advantage of early garbage collection, but
30012 potentially this would break some script. so I reverted behavior.
30014 Tue Nov 15 16:15:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30016 * file.c (file_load_ok): use eaccess() instead of actually opening
30017 the file. [ruby-talk:156378]
30019 * lib/jcode.rb (String::reverse): add new methods.
30022 Tue Nov 15 15:49:34 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30024 * array.c (rb_ary_fill): tail elements were vanished when the middle
30025 part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1])
30027 * test/ruby/test_array.rb (test_fill): added.
30029 Tue Nov 15 14:39:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30031 * array.c (rb_ary_fill): should adjust array length correctly when
30032 an array is expanded in the fill process. [ruby-core:06625]
30034 Mon Nov 14 23:49:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30036 * file.c (rb_file_s_readlink): ERANGE will occur only on GPFS.
30039 Mon Nov 14 17:36:22 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30041 * array.c (rb_ary_first): RDoc update from Daniel Berger
30042 <djberg96@yahoo.com>. [ruby-core:06577].
30044 Sun Nov 13 10:55:24 2005 Minero Aoki <aamine@loveruby.net>
30046 * lib/uri/common.rb (escape): regard second argument as a
30047 character set. [ruby-dev:27692]
30049 Sat Nov 12 08:36:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30051 * configure.in, eval.c, intern.h: check fd_mask type.
30053 * configure.in (socketpair): need to be checked.
30055 Fri Nov 11 19:53:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30057 * eval.c, intern.h: failed to compile where NFDBITS is defined but
30058 howmany() is not defined. [ruby-dev:27680]
30060 * io.c (is_socket): failed to compile where S_ISSOCK is not defined.
30062 * io.c (pipe_open): failed to compile where socketpair is not supported.
30064 Fri Nov 11 08:20:56 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30066 * Makefile.in (OUTFLAG): keep trailing spaces. [ruby-dev:27666]
30068 * mkconfig.rb: substitution references added.
30070 Fri Nov 11 07:39:49 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30072 * configure.in: undef HAVE_LINK on BeOS. (link(2) always returns
30073 EINVAL, and this causes error in test/fileutils.)
30075 * file.c: override chown(2) and fchown(2) on BeOS. (these functions
30076 should not change user/group id if -1 is passed as corresponding
30077 argument, and this causes error in test/fileutils too)
30080 Thu Nov 10 21:05:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30082 * lib/shellwords.rb: fix for blank but not empty string.
30083 fixed: [ruby-dev:27663]
30085 Wed Nov 9 08:39:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30087 * lib/shellwords.rb: refactored. [ruby-core:06581]
30089 Tue Nov 8 17:35:53 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30091 * intern.h, eval.c (rb_thread_signal_raise): constified.
30093 * signal.c: cosmetic change.
30095 Tue Nov 8 15:32:27 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30097 * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.
30098 [ruby-dev:27560] [ruby-core:4627]
30100 Mon Nov 7 20:54:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30102 * ext/iconv/iconv.c: iconvctl() support. [EXPERIMENTAL]
30104 Mon Nov 7 16:23:23 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30106 * ext/openssl/ossl.h: need to include winsock2.h before including
30107 windows.h by some openssl headers.
30109 Mon Nov 7 13:43:51 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30111 * ext/tk/stubs.c (_nativethread_consistency_check): use simpler
30112 (low cost) way to check whether the Tcl interpreter was compiled
30113 with threads enabled of not.
30115 * ext/tk/tcltklib.c: reduce warnings.
30117 * ext/tk/tkutil/tkutil.c: ditto.
30119 Mon Nov 7 00:06:12 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30121 * lib/yaml.rb: removed :nodoc: to generate Kernel doc. [ruby-core:6324]
30123 Sun Nov 6 23:39:13 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30125 * ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a
30126 bug of underlying library.
30128 Sun Nov 6 21:43:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30130 * ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch
30131 interpreter after initialization is done. [ruby-dev:27638]
30133 Sun Nov 6 20:13:27 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30135 * file.c (rb_file_s_readlink): readlink(2) on AIX fails with ERANGE if
30136 buffer size is less than required. fixed: [ruby-dev:27634]
30138 Sat Nov 5 13:42:50 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30140 * configure.in, cygwin/GNUmakefile.in (mingw): use def file to alias
30141 symbols. [ruby-dev:27532]
30143 * bcc32/mkexports.rb, win32/mkexports.rb: make aliases in DLL.
30145 * win32/win32.c, win32/win32.h: replace symbols only when RUBY_EXPORT
30148 Thu Nov 3 07:57:39 2005 Minero Aoki <aamine@loveruby.net>
30150 * lib/open-uri.rb (open_loop): find_proxy should return nil when
30151 proxy does not exist. [ruby-dev:27630]
30153 Wed Nov 2 20:25:28 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30155 * ext/tk/extconf.rb: ext/tk/extconf.rb: change the check parameter
30158 Wed Nov 2 19:03:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30160 * ext/tk/tcltklib.c (ip_rbUpdateObjCmd, ip_rb_threadUpdateObjCmd):
30161 passed improper flags to DoOneEvent().
30163 * ext/tk/tkutil/tkutil.c: use rb_obj_respond_to() instead of
30166 Tue Nov 1 14:20:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30168 * eval.c (rb_call_super): should call method_missing if super is
30169 called from Kernel method.
30171 * eval.c (exec_under): frame during eval should preserve external
30174 Tue Nov 1 10:48:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30176 * ext/openssl/extconf.rb: should check ERR_peek_last_error().
30179 * ext/openssl/ossl.c (ossl_raise): ditto.
30181 Mon Oct 31 17:34:46 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30183 * configure.in: use proper option for Sun linker. A patch from
30184 Shinya Kuwamura <kuwa at labs.fujitsu.com>. [ruby-dev:27603]
30186 Mon Oct 31 05:46:08 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30188 * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must
30189 not be empty. [ruby-talk:161220]
30191 * test/openssl/test_cipher.rb: add test for Cipher#update("").
30193 Mon Oct 31 05:38:26 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30195 * lib/webrick/httpservlet/cgihandler.rb
30196 (WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:
30197 header field should be splited into each cookie. [ruby-Bugs:2199]
30199 * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method
30200 to parse the value of Set-Cookie: header field.
30202 * test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,
30203 test/webrick/webrick.cgi: add some test for cookie.
30205 Mon Oct 31 02:33:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30207 * numeric.c (fix_rshift): RDoc fix. [ruby-core:6351]
30209 * util.h (strtod): add #undef for platforms defines strtod()
30210 macro. [ruby-dev:27563]
30212 Mon Oct 31 02:31:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30214 * test/ruby/test_float.rb (test_precision): test by assert_in_delta.
30217 Sat Oct 29 01:58:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30219 * ext/etc/etc.c: document update from mathew <meta@pobox.com>.
30222 * ext/fcntl/fcntl.c: ditto.
30224 Sat Oct 29 16:56:03 2005 Tadayoshi Funaba <tadf@dotrb.org>
30226 * lib/date.rb: added seven predicates sunday? to saturday?.
30228 * lib/date.rb: added two methods {prev,next}_month,
30229 that are almost same as << and >>.
30231 Thu Oct 27 20:34:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30233 * enumerator.c (enumerator_allocate): allow subclassing.
30235 Thu Oct 27 16:45:31 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30237 * string.c (scan_once): wrong condition to use mbclen2().
30240 Thu Oct 27 11:53:17 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30242 * missing.h, missing/memcmp.c, missing/memmove.c:
30243 ANSI compatible interface.
30245 Wed Oct 26 09:15:48 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30247 * ext/syck/implicit.c (syck_type_id_to_uri): should return
30248 newly allocated memory. otherwise, type_id will be freed
30249 twice. [ruby-dev:27384] [ruby-core:6385]
30251 Wed Oct 26 01:58:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30253 * configure.in (RUBY_EXTERN): macro to export symbols in shared
30254 library. [ruby-core:05528]
30256 * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
30257 configuration pass.
30259 * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.
30261 Tue Oct 25 20:06:59 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30263 * ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate
30264 values have VALUE type. there is an environment where sizeof(VALUE)
30265 != sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS
30266 and received by 64bit integer (VALUE), upper bits may have garbage value.
30269 Tue Oct 25 15:32:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30271 * lib/rational.rb: applied documentation patch from Gavin Sinclair
30272 <gsinclair@gmail.com>. [ruby-core:06364]
30274 * lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines
30275 in irb auto-indentation mode. [ruby-core:06358]
30277 Tue Oct 25 14:21:46 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30279 * gc.c (garbage_collect): sorry, previous commit was incorrect.
30282 Tue Oct 25 13:40:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30284 * gc.c (garbage_collect): return now whether there're rooms for new
30285 objects, rather than whether GC run. fixed: [ruby-core:6376]
30287 Tue Oct 25 02:12:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30289 * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
30290 reduce redundant backtrack. [ruby-talk:161771]
30292 Tue Oct 25 00:35:33 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
30294 * lib/rinda/*: RDoc documentation from Eric Hodel
30295 <drbrain@segment7.net> added.
30297 Mon Oct 24 21:14:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30299 * configure.in, io.c: use sys/syscall.h if syscall.h is not available.
30302 Mon Oct 24 20:38:25 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30304 * ext/Win32API/lib/win32/resolv.rb (get_info): support multiple DNS.
30305 fixed: [ruby-list:40058], [ruby-dev:27479]
30307 Mon Oct 24 11:01:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30309 * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
30310 typo fixed. [ruby-talk:162187]
30312 * ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
30313 ditto. [ruby-core:06359]
30315 Mon Oct 24 07:57:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30317 * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
30318 typo fixed. [ruby-talk:162187]
30320 * ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
30321 ditto. [ruby-core:06359]
30323 * lib/matrix.rb (Matrix::initialize): use funcall instead of send
30324 to allow private methods to be called. A report from
30325 Jean-Claude Arbaut <jcarbaut@laposte.net>. [ruby-core:06359]
30327 Mon Oct 24 00:41:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30329 * time.c (time_sunday): added predicate methods for the days of the
30330 week. [ruby-list:41340]
30332 Sun Oct 23 07:11:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30334 * ext/tk/extconf.rb: improve messages [ruby-core:06325].
30336 * ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
30337 ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
30338 ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
30339 ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
30340 ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
30341 ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
30342 ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
30344 * ext/tk/lib/tkextlib/*: ditto.
30346 * ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
30348 * ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
30350 * ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
30352 * ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
30354 * ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
30356 Sat Oct 22 23:54:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30358 * ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension
30359 options. [ruby-dev:27449]
30361 Sat Oct 22 14:25:43 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30363 * util.[hc] (ruby_add_suffix): constified.
30365 * util.[hc] (ruby_scan_{oct,hex}): fixed typo. (renamed from
30368 * util.c: almostly ANSI styled. (except for functions depending on
30369 macro and K&R technique)
30371 Sat Oct 22 13:26:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30373 * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
30374 if valid as a symbol name more strictly. [ruby-dev:27478]
30376 * test/ruby/test_symbol.rb: tests for [ruby-core:03573].
30378 * time.c (rb_strftime): removed meaningless volatile modifiers, and
30379 concatenate successive nul characters at once. [ruby-dev:27472]
30381 * ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,
30382 ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb,
30383 lib/rss/parser.rb, test/rss/test_content.rb,
30384 test/rss/test_dublincore.rb, test/rss/test_syndication.rb,
30385 test/rss/test_trackback.rb, test/ruby/test_eval.rb,
30386 test/socket/test_socket.rb, test/socket/test_udp.rb:
30387 Object#fcall was renamed as Object#funcall.
30389 Sat Oct 22 10:08:28 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30391 * missing.h, missing/*.c: SUSv3 compatible strcasecmp and strncasecmp,
30392 ANSI compatible strtol and strtoul, and ANSI styled other functions.
30394 Fri Oct 21 19:16:08 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30396 * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper)
30398 Fri Oct 21 17:49:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30400 * bin/erb (ERB::Main::run): typo fixed. [ruby-core:06337]
30402 Fri Oct 21 15:42:28 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30404 * intern.h, struct.c (rb_struct_iv_get): constified.
30406 * marshal.c: avoid one VC++6 warning for implicit conversion
30409 * ruby.h: ANSI styled.
30411 * bcc32/Makefile.sub (HAVE_HYPOT): added.
30413 * ext/socket/extconf.rb: BeOS is only one platform should call
30414 closesocket, so check __BEOS__ macro directly. (I was worried
30415 accidently HAVE_CLOSESOCKET is defined on windows again because
30418 * ext/socket/{getaddrinfo.c,socket.c}: ditto.
30420 ... these are all cosmetic changes.
30422 Fri Oct 21 15:23:23 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30424 * bignum.c (bignew_1): convertion from `int' to `char' discards
30425 upper bits, (ie. (char)0xff00 -> 0) so it's better to test if
30426 nonzero and set 0 or 1 instead of simply casting ... as a flag usage.
30427 (but I believe this won't cause actual bug in current implementation)
30430 * time.c: should use LONG_LONG instead of `long long'.
30432 Thu Oct 20 22:22:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30434 * parser.y (struct parser_params): parser never modify input string.
30436 * ext/ripper/tools/preproc.rb (prelude): do not append surplus
30437 newlines to fix line numbers.
30439 Thu Oct 20 11:41:57 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30441 * class.c, eval.c, hash.c, st.c, variable.c: changed /* ??? */ stuff
30442 protoize generated to ANYARGS.
30444 Thu Oct 20 11:18:11 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30446 * eval.c, file.c, ruby.c: removed strchr, strrchr, strstr definition
30447 because they are defined in missing.h.
30449 * missing.h, missing/strchr.c, missing/strstr.c: ANSI styled.
30451 Thu Oct 20 09:36:06 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30453 * lib/mkmf.rb (create_makefile): Borland make seems not to allow
30454 empty dependency list. If this change is not good, please correct
30457 Thu Oct 20 07:55:09 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30459 * lib/mkmf.rb (create_makefile): get rid of a restriction
30460 of Borland make. fixed: [ruby-dev:27460]
30462 * ext/ripper/depend: ditto.
30464 Wed Oct 19 23:58:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30466 * lib/mkmf.rb (create_makefile): do not create unnecessary empty
30467 directories. fixed: [ruby-dev:27451]
30469 Wed Oct 19 08:28:32 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30471 * file.c (rb_file_join): elements may contain null pointer strings.
30472 report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326]
30474 Wed Oct 19 02:34:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30476 * enumerator.c, eval.c, gc.c, parse.y, regparse.c, sjis.c, time.c:
30477 made internal symbols static. [ruby-dev:27435]
30479 Tue Oct 18 10:58:27 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30481 * ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
30482 ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend,
30483 use $distcleanfiles in extconf.rb.
30485 * win32/Makefile.sub (distclean-local): should remove .config.h.time.
30487 Mon Oct 17 09:42:50 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30489 * mkconfig.rb: fixup configure_args for mswin32 configure.
30491 * win32/configure.bat (srcdir, target): ditto.
30493 Mon Oct 17 05:01:50 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30495 * env.h: move struct METHOD and struct BLOCK from eval.c to
30496 support NodeWrap and ParseTree.
30498 Sun Oct 16 22:16:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30500 * ext/extmk.rb: omit non-existing directories.
30502 Sun Oct 16 14:40:54 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
30504 * lib/rinda/rinda.rb (Rinda::Tuple#initialize): check remote hash
30505 tuple. fixed: [ruby-list:41227]
30507 * test/rinda/test_rinda.rb: test it.
30509 Sun Oct 16 03:38:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30511 * rubysig.h (CHECK_INTS): prevent signal handler to run during
30512 critical section. [ruby-core:04039]
30514 * eval.c (load_wait): need not to call rb_thread_schedule()
30515 explicitly. [ruby-core:04039]
30517 * eval.c (rb_thread_schedule): clear rb_thread_critical.
30520 Sun Oct 16 00:13:14 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30522 * win32/configure.bat: remove unnecessary line which prevents
30525 Sat Oct 15 23:52:07 2005 Shugo Maeda <shugo@ruby-lang.org>
30527 * lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, and
30528 returns retrieved data if localfile is nil.
30530 * lib/net/ftp.rb: (gettextfile): ditto.
30532 Sat Oct 15 19:51:29 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
30534 * bin/erb: typo fixed, again. thanks, Doug Kearns.
30536 Fri Oct 14 23:09:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30538 * win32/Makefile.sub (MKFILES): update MKFILES if configure files get
30541 * win32/configure.bat, win32/setup.mak (configure_args): store
30542 arguments to configure files.
30544 Fri Oct 14 22:05:45 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30546 * win32/win32.c (ioctl): should set errno.
30548 Fri Oct 14 16:39:37 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30550 * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.
30551 It is harmful to permit the access to ~/public_html by default.
30552 suggested by Hiroyuki Iwatsuki.
30554 Fri Oct 14 04:58:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30556 * eval.c (rb_obj_instance_exec): create instance_exec and
30557 module_exec which pass arguments to the block.
30559 * eval.c (rb_f_funcall): rename fcall to funcall to follow
30562 Thu Oct 13 23:29:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30564 * parse.y (HEAPCNT): bison allocates indivisible size.
30565 fixed: [ruby-core:06261]
30567 * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:
30568 get rid of warnings. fixed: [ruby-core:06247]
30570 Wed Oct 12 12:51:56 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30572 * ext/openssl/ossl.c (Init_openssl): should call
30573 OpenSSL_add_ssl_algorithms().
30575 Wed Oct 12 11:08:54 2005 WATANABE Hirofumi <eban@ruby-lang.org>
30577 * file.c (rb_f_test): typo in RDoc comments.
30579 Tue Oct 11 21:41:58 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30581 * configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute form
30582 first. [ruby-dev:27398]
30584 * array.c, enum.c, eval.c, util.c: safer function pointer usage.
30585 fixed: [ruby-core:06143]
30587 * util.h (qsort): removed the definition incompatible to ANSI.
30588 fixed: [ruby-core:06147]
30590 * eval.c (rb_obj_respond_to): check if obj responds to the given
30591 method with the given visibility. [ruby-dev:27408]
30593 * eval.c (rb_respond_to): conform to Object#respond_to?. [ruby-dev:27411]
30595 Tue Oct 11 00:01:21 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30597 * st.c (st_free_table): do not call free() but xfree().
30600 Sat Oct 8 19:49:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30602 * eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666]
30604 * io.c (rb_io_init_copy): clear PREP flag for copied IO.
30605 fixed: [ruby-dev:27371]
30607 * parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
30608 heap. [ruby-list:41199]
30610 * parse.y (ripper_initialize): use rb_respond_to().
30612 * ext/ripper/depend (check): get rid of re-generating ripper.y always.
30614 * ext/iconv/charset_alias.rb: parse config.charset_alias file directly.
30616 * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a.
30618 * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched
30619 substring directly.
30621 * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed
30622 change of sample/test.rb.
30624 * test/net/http/test_http.rb: removed superfluous splatting stars.
30626 Fri Oct 7 16:41:43 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30628 * eval.c (splat_value): call rb_Array() to convert svalue to
30629 values. [ruby-dev:27397]
30631 Fri Oct 7 09:54:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30633 * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may
30634 not be parsed correctly. A patch from August Z. Flatby
30635 (augustzf) in [ruby-Patches-2595]. [ruby-core:06183]
30637 Thu Oct 6 22:51:30 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30639 * object.c (rb_Array): Array() to raise error for objects without
30642 * object.c (nil_to_a): revert NilClass#to_a.
30644 Thu Oct 6 20:10:38 2005 Minero Aoki <aamine@loveruby.net>
30646 * ext/strscan/strscan.c (strscan_free): remove useless code.
30647 [ruby-dev:26368] [ruby-dev:27389]
30649 Thu Oct 6 01:02:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30651 * range.c (rb_range_beg_len): should return Qfalse for non-range
30654 Wed Oct 5 04:42:38 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30656 * lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount the
30659 Wed Oct 5 04:06:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30661 * lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong call
30664 Mon Oct 3 00:04:00 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
30666 * pack.c (EXTEND16): [ruby-dev:27383]
30668 Sat Oct 1 23:55:24 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30670 * win32/win32.c (do_select, rb_w32_select): brush up.
30672 Sat Oct 1 12:57:02 2005 Tanaka Akira <akr@m17n.org>
30674 * bignum.c (rb_big_rand): removed. [ruby-dev:25405]
30676 Sat Oct 1 01:46:51 2005 Tanaka Akira <akr@m17n.org>
30678 * lib/open-uri.rb (OpenURI.open_loop): prohibit multiple proxy
30681 Thu Sep 29 10:26:18 2005 Tanaka Akira <akr@m17n.org>
30683 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): abolish sizeof(FILE).
30686 Thu Sep 29 10:15:14 2005 Tanaka Akira <akr@m17n.org>
30688 * lib/open-uri.rb (:proxy_http_basic_authentication): new option.
30690 Thu Sep 29 07:22:05 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30692 * eval.c (rb_f_send): underscores need to be escaped.
30693 fixed by Doug Kearns. [ruby-core:06053]
30695 Thu Sep 29 00:57:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30697 * eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when
30698 autoload succeeded.
30700 * variable.c (rb_autoload_load): now return true if autoload
30701 succeeded. fixed: [ruby-dev:27331]
30703 Wed Sep 28 23:40:04 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30705 * file.c (rb_stat_inspect): constified.
30707 Wed Sep 28 15:12:28 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30709 * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
30710 refer the value of QUERY_STRING. [ruby-list:41186]
30712 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=):
30715 Wed Sep 28 10:45:44 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30717 * ext/tk/tcltklib.c: cannot compile with Tcl/Tk8.0.x [ruby-dev:27335].
30719 Wed Sep 28 07:56:52 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30721 * lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo.
30722 [ruby-dev:27237], [ruby-core:05854]
30724 * lib/yaml/tag.rb (Module#yaml_as): suppress warnings.
30726 * lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto.
30728 Wed Sep 28 03:16:41 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30730 * rubysig.h: fixed build problem with --enable-pthread on platforms
30731 which don't have setitimer().
30733 Mon Sep 26 22:32:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30735 * eval.c (set_trace_func): add rb_secure(4) to prevent adding
30738 Mon Sep 26 20:59:28 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30740 * parse.y: changed to ANSI function style.
30742 Sun Sep 25 12:02:04 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
30744 * bin/erb: typo fixed.
30746 Sun Sep 25 11:54:11 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
30748 * lib/rinda/tuplespace.rb (Rinda::TemplateEntry::initialize): pull
30749 up method. Tabs converted to spaces.
30751 Sun Sep 25 09:34:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30753 * parse.y: replaced `foo _((boo))' with `foo(boo)'.
30755 Sun Sep 25 08:19:53 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30757 * test/rss/test_content.rb, test/rss/test_syndication.rb: use fcall
30758 instead of send in order to override visibility.
30760 Sun Sep 25 01:46:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30762 * misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indent
30763 closing parenthesis at same column as the opening.
30765 Sun Sep 25 01:33:41 2005 Tanaka Akira <akr@m17n.org>
30767 * process.c (proc_setrlimit): make the third argument (rlim_max)
30770 Sun Sep 25 00:42:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30772 * misc/ruby-mode.el (ruby-expr-beg): deal with heredoc separately.
30773 fixed: [ruby-list:41168]
30775 * misc/ruby-mode.el (ruby-calculate-indent): not to deepen indent
30776 level for continuous line inside parentheses.
30777 http://nabeken.tdiary.net/20050915.html#p02
30779 Sat Sep 24 21:19:39 2005 Minero Aoki <aamine@loveruby.net>
30781 * ext/strscan/strscan.c: document enhancement.
30783 * ext/strscan/strscan.c: update copyright year.
30785 * ext/strscan/strscan.c: update coding style.
30787 Sat Sep 24 20:20:05 2005 Minero Aoki <aamine@loveruby.net>
30789 * test/net/http/test_http.rb (teardown): Net::HTTP.version_1_1 breaks
30790 many other tests; ensure that Net::HTTP is version 1.2 after test.
30793 Sat Sep 24 11:44:28 2005 Minero Aoki <aamine@loveruby.net>
30795 * test/net/http/test_http.rb: new file.
30797 Sat Sep 24 08:54:05 2005 Minero Aoki <aamine@loveruby.net>
30799 * lib/fileutils.rb (cd): no longer accept :noop option, related
30800 code is useless. [ruby-core:05858] [ruby-Bugs:2494]
30802 Sat Sep 24 08:30:00 2005 Tanaka Akira <akr@m17n.org>
30804 * lib/pathname.rb (Pathname#sub): new method.
30806 Sat Sep 24 08:29:36 2005 Minero Aoki <aamine@loveruby.net>
30808 * lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose,
30809 DryRun. [ruby-core:05954]
30811 * test/fileutils/test_nowrite.rb: test it.
30813 * test/fileutils/test_dryrun.rb: new file.
30815 * test/fileutils/test_verbose.rb: new file.
30817 Sat Sep 24 07:59:01 2005 Minero Aoki <aamine@loveruby.net>
30819 * sample/ripper/colorize.rb: removed (replaced by ruby2html.rb).
30821 * sample/ripper/ruby2html.rb: added.
30823 Sat Sep 24 06:35:15 2005 Minero Aoki <aamine@loveruby.net>
30825 * ext/ripper: no longer generates .rb files.
30827 * parse.y (Init_ripper): ripper_init_eventids*() takes 1 argument,
30828 self (class Ripper).
30830 * ext/ripper/depend: target removed: `lib/ripper/core.rb'.
30832 * ext/ripper/depend: new target `eventids2table.c'.
30834 * ext/ripper/depend: new target `check'.
30836 * ext/ripper/eventids2.c: include eventids2table.c.
30838 * ext/ripper/eventids2.c: initialize SCANNER_EVENT_TABLE.
30840 * ext/ripper/extconf.rb: update $cleanfiles list.
30842 * ext/ripper/tools/generate.rb: no longer generate ripper/core.rb.
30844 * ext/ripper/tools/generate.rb: new mode `check'.
30846 * ext/ripper/tools/generate.rb: new mode `eventids2table'.
30848 * ext/ripper/lib/ripper/core.rb.in: removed.
30850 * ext/ripper/lib/ripper/core.rb: added.
30852 * ext/ripper/lib/ripper/filter.rb: update copyright year.
30854 * ext/ripper/lib/ripper/lexer.rb: ditto.
30856 * ext/ripper/lib/ripper/sexp.rb: ditto.
30858 Sat Sep 24 02:40:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30860 * lib/delegate.rb: document update from James Edward Gray II
30861 <james@grayproductions.net>. [ruby-core:05942]
30863 Sat Sep 24 02:05:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30865 * process.c (proc_daemon): should restrict execution on levels
30866 higher than $SAFE=2. suggested by URABE Shyouhei
30867 <shyouhei@ice.uec.ac.jp>.
30869 Fri Sep 23 20:10:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30871 * ext/ripper/tools/generate.rb, ext/ripper/tools/preproc.rb: StringIO
30872 is not available for miniruby. fixed: [ruby-dev:27307]
30874 Fri Sep 23 17:36:48 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
30876 * ext/win32ole/win32ole.c: avoid core dump with WIN32OLE_EVENT.
30879 Fri Sep 23 16:27:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30881 * lib/forwardable.rb: replaced by new implementation from
30882 <Daniel.Berger@qwest.com>. [ruby-core:05899]
30884 Fri Sep 23 07:07:47 2005 Minero Aoki <aamine@loveruby.net>
30886 * test/ripper/depend: use --output option instead of redirect;
30887 nmake does not remove a target when the target file is created by
30888 redirect. [ruby-dev:26466]
30890 * test/ripper/tools/preproc.rb: new option --output.
30892 Fri Sep 23 06:57:52 2005 Minero Aoki <aamine@loveruby.net>
30894 * test/ripper/tools/generate.rb: check parser event arity.
30896 * test/ripper/tools/generate.rb: detect crash of parser-event-IDs
30897 and scanner-event-IDs.
30899 Fri Sep 23 06:01:30 2005 Minero Aoki <aamine@loveruby.net>
30901 * test/ruby/test_file.rb: check File#chown(nil,nil).
30904 Fri Sep 23 05:57:23 2005 Minero Aoki <aamine@loveruby.net>
30906 * ext/ripper: refactoring code generation tools. [ruby-dev:27247]
30909 * ext/ripper/depend: use generate.rb.
30911 * ext/ripper/lib/ripper/core.rb: removed.
30913 * ext/ripper/tools/generate-eventids1.rb: removed (code moved to
30916 * ext/ripper/tools/generate-ripper_rb.rb: removed (code moved to
30919 * ext/ripper/tools/list-parse-event-ids.rb: removed (code moved to
30922 * ext/ripper/tools/list-scan-event-ids.rb: removed (code moved to
30925 * ext/ripper/lib/ripper/core.rb: removed.
30927 * ext/ripper: refactoring tests. [ruby-dev:27273]
30929 * ext/ripper/test/check-event-arity.rb: removed (code moved to
30930 tools/generate.rb).
30932 * ext/ripper/test/check-event-coverage.rb: removed (code moved to
30933 test/ripper/test_parser_events.rb).
30935 * ext/ripper/test/check-scanner-event-coverage.rb: removed (code
30936 moved to test/ripper/test_scanner_events.rb).
30938 * ext/ripper/test/list-called-events.rb: removed.
30940 * ext/ripper/test/src_rb: removed.
30942 * ext/ripper/test/validate.rb: removed.
30944 * test/ripper/test_scanner_events.rb: check event coverage.
30946 * ext/ripper/lib/ripper/core.rb.in: update copyright year.
30948 Thu Sep 22 23:40:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30950 * lib/mkmf.rb (find_executable0): default path if environment is not
30951 set. [ruby-dev:27281]
30953 * ext/ripper/extconf.rb (have_command): replaced with find_executable.
30955 Thu Sep 22 17:31:48 2005 Shugo Maeda <shugo@ruby-lang.org>
30957 * test/readline/test_readline.rb (TestReadline::replace_stdio):
30958 merged the patch of [ruby-dev:25232] instead of [ruby-dev:25223].
30959 (merged from ruby_1_8 branch)
30961 Wed Sep 21 23:30:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30963 * lib/mkmf.rb (configuration): generalized nmake dependent code.
30965 Wed Sep 21 14:16:30 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30967 * ext/ripper/depend (SUFFIXES): no longer needed.
30969 * ext/ripper/depend (c): avoid nmake problem. fixed [ruby-dev:27191]
30971 Wed Sep 21 08:52:25 2005 why the lucky stiff <why@ruby-lang.org>
30973 * ext/syck/token.c: correctly compute indentation of a block
30974 scalar's parent node. [ruby-talk:150620]
30976 Wed Sep 21 08:20:24 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30978 * README.EXT, README.EXT.ja: add new features.
30980 Wed Sep 21 07:43:58 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30982 * lib/optparse.rb (default_argv, Arguable#options): defaults strings
30983 to be parsed to Arguable instance.
30985 Wed Sep 21 02:44:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30987 * file.c (path_check_0): disallow sticky world writable directory
30988 in PATH (and $LOAD_PATH). [ruby-dev:27226]
30990 Wed Sep 21 00:32:22 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30992 * numeric.c (fix_idiv): 1.div(1.0) should return integer value.
30995 Tue Sep 20 22:25:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30997 * ext/io/wait/lib/nonblock.rb: disable on platforms non-blocking flag
30998 is not available. fixed: [ruby-dev:27187]
31000 * file.c (rb_stat_inspect): protoized function pointer.
31002 Tue Sep 20 18:23:04 2005 Tanaka Akira <akr@m17n.org>
31004 * eval.c (thread_mark): mark th->last_status. [ruby-dev:27179]
31006 Tue Sep 20 18:20:33 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31008 * lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776]
31010 Tue Sep 20 17:48:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31012 * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset
31013 information to content-type header.[ruby-core:5127]
31015 * lib/xmlrpc/server.rb (CGIServer::serve): ditto.
31017 * lib/xmlrpc/server.rb (ModRubyServer::serve): ditto.
31019 * lib/xmlrpc/server.rb (WEBrickServlet::service): ditto.
31021 Tue Sep 20 17:26:42 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31023 * test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath on
31024 windows. bcc32's runtime is not installed into system directory,
31025 so it cannot be found without this setting. [ruby-dev:27166]
31027 Tue Sep 20 17:14:10 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31029 * io.c: PIPE_BUF is not defined on BeOS. use _POSIX_PIPE_BUF instead.
31032 Tue Sep 20 17:10:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31034 * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
31035 test_s_open_error test to detect duplicate open.
31038 Tue Sep 20 15:39:40 2005 why the lucky stiff <why@ruby-lang.org>
31040 * ext/syck/emitter.c (syck_scan_scalar): prevent indicators from
31041 appearing alone or at the end of plain scalars. [ruby-core:5826]
31043 * ext/syck/emitter.c (syck_emit_scalar): treat typed scalar nodes
31046 * lib/syck.h: version 0.60.
31048 * lib/yaml/basenode.rb (YAML::BaseNode#at): transform keys during
31051 * ext/syck/rubyext.c: loading of binary-typed nodes. prevent
31052 emission of plain strings that look like symbols, but which aren't.
31054 Tue Sep 20 05:48:26 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31056 * test/xmlrpc/test_webrick_server.rb (setup_http_server):
31057 should not include 'webrick/https' unless 'use_ssl' because
31058 it fails where openssl is not installed.
31060 Tue Sep 20 01:24:45 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31062 * eval.c (splat_value): use to_a to splat non Array object.
31064 * object.c (nil_to_a): remove nil.to_a. [experimental]
31066 Tue Sep 20 01:01:41 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31068 * lib/mathn.rb (Fixnum): remove debug print.
31070 * lib/rational.rb (Rational): ditto.
31072 Tue Sep 20 00:34:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31074 * io.c (io_close): call rb_io_close() directly if io is a T_FILE
31075 object. [ruby-dev:27156]
31077 Mon Sep 19 18:58:10 2005 Minero Aoki <aamine@loveruby.net>
31079 * file.c (rb_file_chown): should accept nil. [ruby-dev:27171]
31081 Mon Sep 19 18:29:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31083 * file.c (file_expand_path): allow pathnames to expand.
31086 Mon Sep 19 15:12:15 2005 Minero Aoki <aamine@loveruby.net>
31088 * ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462]
31090 Mon Sep 19 14:49:19 2005 Minero Aoki <aamine@loveruby.net>
31092 * ext/ripper/eventids2.c: add prefix `t' to tLAMBDA-related lexer
31095 * ext/ripper/lib/ripper/core.rb: updated.
31097 Mon Sep 19 14:39:46 2005 Minero Aoki <aamine@loveruby.net>
31099 * parse.y (do_block): do_block event dispatches 2 args.
31102 * ext/ripper/lib/ripper/core.rb: updated.
31104 * ext/ripper/tools/list-parser-event-ids.rb: check arity mismatch.
31106 Mon Sep 19 07:45:37 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31108 * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c:
31109 an instance variable "private" is added to OpenSSL::PKey class.
31110 this ivar is a flag that shows whether there is a private key
31113 * ext/openssl/ossl_engine.c: (ossl_engine_load_privkey): set private
31116 * test/openssl/test_pkey_rsa.rb: add test about private detection.
31118 Mon Sep 19 06:38:03 2005 Minero Aoki <aamine@loveruby.net>
31120 * lib/fileutils.rb: method renaming: collect_methods ->
31123 Mon Sep 19 05:58:59 2005 Minero Aoki <aamine@loveruby.net>
31125 * lib/fileutils.rb: use module_function instead of single extend.
31127 * test/fileutils/test_fileutils.rb: test existence of singleton
31130 Mon Sep 19 05:32:41 2005 Minero Aoki <aamine@loveruby.net>
31132 * lib/fileutils.rb (remove_entry_secure): does not use chdir(2).
31134 Mon Sep 19 03:17:48 2005 Tanaka Akira <akr@m17n.org>
31136 * file.c (rb_thread_flock): wrap the flock system call by
31137 TRAP_BEG/TRAP_END to enable signals. [ruby-dev:27122]
31139 * ext/socket/socket.c (bsock_send): wrap the sendto and send system
31140 call by TRAP_BEG/TRAP_END to enable signals when writing to a socket
31141 which is full. [ruby-dev:27132]
31143 * io.c (rb_io_syswrite): wrap the write system call by
31144 TRAP_BEG/TRAP_END to run signal hander in syswrite method.
31147 Mon Sep 19 01:07:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31149 * numeric.c (Init_Numeric): should define Fixnum#div.
31152 * file.c (rb_thread_flock): wrap flock(2) by TRAP_BEG and
31153 TRAP_END. [ruby-dev:27122]
31155 * file.c (rb_file_join): call FilePathValue() to all Pathnames to
31156 join. [ruby-dev:27127]
31158 * file.c (rb_get_path): call StringValueCStr() to ensure no nul
31159 bytes in path strings.
31161 * gc.c (garbage_collect): need value for return. [ruby-dev:27127]
31163 Sun Sep 18 02:10:47 2005 why the lucky stiff <why@ruby-lang.org>
31165 * lib/yaml/rubytypes.rb: remove comments that are bungling up
31166 the rdoc and ri output. output symbols as plain scalars.
31168 * ext/syck/rubyext.c (syck_emitter_reset): emit headless
31171 * ext/syck/emitter.c (syck_scan_scalar): quote scalars with any
31172 kind of surrounding line space, tabs or spaces alike.
31174 * ext/syck/token.c: accept tabs as whitespace, not for indentation,
31175 but strip from plain scalars.
31177 * test/yaml/test_yaml.rb: remove outdated tests.
31179 Sun Sep 18 01:10:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31181 * gc.c (garbage_collect): return false if no GC run.
31183 Sat Sep 17 23:25:04 2005 sheepman <sheepman@sheepman.sakura.ne.jp>
31185 * lib/mathn.rb (Rational::inspect): should preserve original
31186 operand. [ruby-core:05806]
31188 Sat Sep 17 23:20:27 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31190 * lib/cgi.rb (CGI::Cookie): should handle multiple values for a
31191 cookie name. [ruby-talk:156140]
31193 * test/socket/test_tcp.rb (TestTCPSocket::test_recvfrom): typo
31194 fixed. [ruby-dev:27123]
31196 Sat Sep 17 20:58:56 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31198 * win32/win32.c (rb_w32_select): fixed deadlock bug.
31199 because select(2) modifies its fd_set arguments, it must be
31200 restored sometimes.
31202 * win32/win32.c (rb_w32_select): performance improvement when
31203 'always readable/writable handles' and sockets are passed.
31204 sockets should be polled every time.
31210 STDOUT.write(".") # busy on console (this is worst case though)
31214 # socket operation took long time. (sometimes timed out)
31215 Net::HTTP.start("www.ruby-lang.org") do |http|
31216 http.get("/cgi-bin/cvsweb.cgi/ruby/array.c?rev=1.179")
31219 Sat Sep 17 14:54:40 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31221 * test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):
31222 these tests are working now, so turned on. (windows)
31224 Sat Sep 17 14:18:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31226 * win32/win32.c (rb_w32_select): I hope performance problem was
31229 Sat Sep 17 13:45:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31231 * win32/win32.c (rb_w32_select): console support is back.
31232 but still has performance problem because I loosely took 1 second
31233 for wait time. I'll fix it later. (The reason I drastically changed
31234 the code is that I wanted to implement the fileset management as
31235 single function, and I was worried that if pipe or console
31236 was always available, socket may not be processed any time)
31238 Sat Sep 17 11:24:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31240 * win32/win32.c (rb_w32_select): select for socket didn't work.
31241 this caused deadlock in drb test. this happened because GetFileType
31242 for socket handle returns FILE_TYPE_PIPE. Of course, it's not a
31243 pipe. So socket handle didn't reach winsock's select function.
31245 * win32/win32.c (rb_w32_select): read for pipe was still blocked
31246 even if writer handle was closed.
31251 sleep 3; puts "------- 1"
31253 sleep 3; puts "------- 2"
31255 sleep 3; puts "------- 3"
31259 until r.eof? # should break by w.close but didn't.
31263 * win32/win32.c (rb_w32_select): temporary reverted console support
31264 but it'll be back soon.
31266 Sat Sep 17 10:42:13 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31268 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
31269 should call Kernel.eval on caller's safe-level instead of slave's
31270 safe-level (Of course, the given script should be evaluated on
31271 slave's safe-level).
31273 Sat Sep 17 09:45:26 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31275 * string.c (rb_str_substr): should propagate taintness even for
31276 empty strings. [ruby-dev:27121]
31278 * string.c (rb_str_aref): should infect result if range argument
31279 is tainted. [ruby-dev:27121]
31281 Sat Sep 17 08:35:39 2005 Kouhei Sutou <kou@cozmixng.org>
31283 * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#normalize): fixed
31284 strange RSS::Maker::Item#max_size behavior.
31285 Thanks to Kazuhiko <kazuhiko@fdiary.net>.
31287 * test/rss/test_maker_1.0.rb (RSS::TestMaker10#test_items): ditto.
31289 Sat Sep 17 08:02:53 2005 Shugo Maeda <shugo@ruby-lang.org>
31291 * lib/net/imap.rb: supported DIGEST-MD5. Thanks, Mathieu Arnold.
31293 * lib/net/imap.rb: use fcall instead of send. Thanks, Satoru
31296 Fri Sep 16 22:45:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31298 * file.c (rb_file_s_extname): empty string for path name ending with a
31299 period. fixed: [ruby-core:05651]
31301 * file.c (rb_file_join): smarter behavior at edge cases.
31302 fixed: [ruby-core:05706]
31304 * gc.c (rb_memerror, ruby_xmalloc, ruby_xrealloc, rb_newobj): just
31305 abondon if no memory available, when interpreter is not running.
31308 * gc.c (garbage_collect): return whether GC could run.
31310 * dir.c (rb_push_glob): fix delimiter bug. fixed: [ruby-dev:27105]
31312 * dir.c (dir_s_aref, dir_s_glob): allow multiple patterns.
31315 * win32/win32.c (cmdglob): enable brace expansion.
31317 Fri Sep 16 18:34:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31319 * ext/syck/node.c (syck_replace_str): was using return from the
31320 void function. a patch from MIYAMUKO Katsuyuki
31321 <miyamuko at mtb.biglobe.ne.jp>. [ruby-dev:27111]
31323 Fri Sep 16 14:48:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31325 * ext/tk/lib/multi-tk.rb: fix typo on MultiTkIp#bg_eval_string
31327 Fri Sep 16 12:02:12 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31329 * ext/syck/rubyext.c (syck_resolver_transfer): remove C++ style
31330 comment (//). [ruby-core:05793]
31332 Fri Sep 16 00:17:03 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
31334 * test/logger/test_logger.rb: unintentionally overwritten changes by
31337 Fri Sep 16 00:03:11 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31339 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should set
31342 Thu Sep 15 23:25:21 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
31344 * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5.
31346 #nnn is a ticket number at http://dev.ctor.org/soap4r
31350 * allow to configure an envelope namespace of SOAP request. (#124)
31351 TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope'
31352 @client.options["soap.envelope.requestnamespace"] =
31354 @client.options["soap.envelope.responsenamespace"] =
31356 @client.do_proc(...)
31358 * let SOAP request XML indent space configuable. see
31359 "soap.envelope.no_indent" option. (#130)
31361 * let external CES configuable.
31362 ex. client["soap.mapping.external_ces"] = 'SJIS'. $KCODE is used
31364 external CES ::= CES used in Ruby object of client and server
31365 internal CES ::= CES used in SOAP/OM
31367 * add iso-8859-1 external CES support. (#106)
31369 * fixed illegal 'qualified' handling of elements. it caused
31370 ASP.NET inteoperability problem. (#144)
31372 * added 'soap.envelope.use_numeric_character_reference' (boolean)
31373 option to let query XML use numeric character reference in XML,
31374 not plain UTF-8 character. !GoogleSearch server seems to not
31375 allow plain UTF-8 character since 2005-08-15 update. (#147)
31377 * SOAP::Header::SimpleHeader (de)serialization throws an exception
31378 on !SimpleHeader.on_(in|out)bound when header is a String. so we
31379 could not use a simple single element headerItem. fixed. thanks
31382 * out parameter of rpc operation did not work. (#132)
31384 * follow HTTP redirect only if using http-access2. (#125) (#145)
31386 * add a workaround for importing an WSDL whose path begins with
31387 drive letter. (#115)
31391 * SOAP Data which is defined as a simpletype was not mapped
31392 correctly to Ruby obj when using wsdl2ruby.rb generated classdef
31395 * rpc/literal support. (#118)
31397 * re-implemented local element qualify/unqualify control. handles
31398 elementFormDefault and form in WSDL. (#119)
31400 * Array of an element which has simpleType causes a crash. (#128)
31402 * prarmeterOrder may not contain return part so it can be shorter
31403 than parts size. Thanks to Hugh. (#139)
31407 * added !BasicAuth client sample. (#117)
31409 * added Base64 client/server sample.
31411 * added Flickr SOAP interface client sample. (#122)
31413 * added !SalesForce client sample. (#135)
31415 * updated Thawte CA certificate for !GoogleAdWords sample.
31417 * updated a client script with the newer version made by Johan.
31420 * shortened long file names. (#120)
31422 * fixed typo in authheader sample. (#129)
31424 * updated deprecated method usage. (#138)
31426 Thu Sep 15 22:40:27 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31428 * test/ruby/test_signal.rb (test_exit_action): skip the test using
31429 fork on fork-less platforms.
31431 Thu Sep 15 13:54:33 2005 Tanaka Akira <akr@m17n.org>
31433 * lib/open-uri.rb: add :read_timeout option.
31436 Thu Sep 15 11:39:18 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31438 * ext/tk/lib/tk/dialog.rb: If a dialog does not show up yet,
31439 TkDialogObj#name raises an exception. [ruby-talk:156109]
31441 Thu Sep 15 11:01:58 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31443 * win32/win32.c (rb_w32_pipe_exec): remove unnecessary CloseHandle().
31445 * win32/win32.c (extract_console_fd, peek_console): new functions.
31447 * win32/win32.c (rb_w32_select): check consoles by polling them.
31449 Thu Sep 15 00:18:24 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31451 * lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread with
31452 readpartial. [ruby-talk:127641]
31454 Wed Sep 14 23:28:28 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31456 * win32/win32.c (collect_file_fd): rename from extract_file_fd.
31458 * win32/win32.c (extract_pipe_fd, peek_pipe): new functions.
31460 * win32/win32.c (rb_w32_select): check pipes by polling them.
31462 Wed Sep 14 22:40:26 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31464 * dir.c (ruby_glob): glob function not using ruby exception system.
31466 Wed Sep 14 17:24:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31468 * dir.c: changed `foo (*bar)_((boo))' to `foo (*bar)(boo)`.
31470 * enumerator.c, eval.c, gc.c, intern.h, io.c, process.c, ruby.c,
31471 ruby.h, signal.c: ditto.
31473 Wed Sep 14 15:06:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31475 * bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
31477 * defines.h, dir.c, dln.h, enumerator.c, env.h, error.c, eval.c, file.c,
31478 gc.c, hash.c, inits.c, intern.h, io.c, lex.c, marshal.c, missing.h,
31479 node.h, numeric.c, pack.c, process.c, re.h, ruby.c, ruby.h, rubyio.h,
31480 rubysig.h, signal.c, sprintf.c, st.h, string.c, struct.c, time.c,
31481 util.c, util.h, variable.c: ditto.
31483 Tue Sep 13 22:09:40 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
31485 * lib/logger.rb (Logger): added formatter accessor to logger for
31486 dictating the way in which the logger should format the messages it
31487 displays. Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and
31490 * lib/logger.rb (Logger): added VERSION constant.
31492 * lib/logger.rb: removed document for LogDevice. It is an
31493 implementation detail and is not a public interface.
31495 * test/logger/test_logger.rb: added tests.
31497 Tue Sep 13 21:47:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31499 * eval.c (BEGIN_CALLARGS): pop halfly pushed status.
31500 fixed: [ruby-dev:26881]
31502 Tue Sep 13 20:24:37 2005 Tanaka Akira <akr@m17n.org>
31504 * ruby.h (PRINTF_ARGS): new macro for printf style argument checking.
31506 Tue Sep 13 15:41:29 2005 Minero Aoki <aamine@loveruby.net>
31508 * lib/net/http.rb: wrote docuemntation of HTTPRequest/HTTPResponse
31511 Tue Sep 13 14:27:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31513 * string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0
31514 because of crypt argument's constness mismatch. (I hope this works)
31515 (http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz)
31517 Tue Sep 13 12:33:05 2005 why the lucky stiff <why@ruby-lang.org>
31519 * lib/yaml.rb: reworking YAML::Stream to use the new
31522 * lib/yaml/stream.rb: ditto.
31524 * lib/yaml/rubytypes.rb: added Object#yaml_new.
31526 * lib/yaml/tag.rb: the tag_subclasses? method now
31527 shows up in the class. allow taguri to be set using an accessor.
31528 continue support of Object#to_yaml_type.
31530 * ext/syck/rubyext.c: new emitter code. yaml_new and yaml_initialize
31531 get called, should they be present. consolidated all the diaspora of internal node types into the family below YAML::Syck::Node -- Map,
31532 Seq, Scalar -- all of whom are SyckNode structs pointing to
31533 Ruby data. moved Object#yaml_new into the node_import and made it
31534 the default behavior. the target_class is always called wih
31535 yaml_new, prepended a parameter, which is the klass. loaded nodes
31536 through GenericResolver show their style.
31537 new Resolver#tagurize converts type ids to taguris.
31539 * ext/syck/implicit.re: were 'y' and 'n' seriously omitted??
31541 * ext/syck/emitter.c: renovated emitter, walks the tree in advance.
31542 consolidated redundant block_styles struct into
31543 the scalar_style struct. (this means loaded nodes can now
31544 be sent back to emitter and preserve at least its very basic
31547 * ext/syck/gram.c: headless documents of any kind allowed.
31549 * ext/syck/node.c: new syck_replace_str methods and syck_empty_*
31550 methods for rewriting node contents, while keeping the ID
31551 and other setup info. added syck_seq_assign.
31553 * ext/syck/syck.h: reflect block_styles and new node functions.
31555 Tue Sep 13 08:09:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31557 * lib/ostruct.rb (new_ostruct_member): Object#send no longer call
31558 private methods. [ruby-dev:27044]
31560 * test/rss/test_dublincore.rb, test/rss/test_trackback.rb,
31561 test/ruby/test_eval.rb, test/socket/test_socket.rb: ditto.
31563 * test/ruby/test_lambda (test_call_with_block): lambda makes new scope
31564 for formal block parameter.
31566 Tue Sep 13 01:17:45 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31568 * eval.c (proc_save_safe_level): no need to restrict safe level
31569 memoize in $SAFE>=3. [ruby-dev:27050]
31571 Tue Sep 13 00:02:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31573 * file.c (apply2files): stricter callback definition.
31575 * file.c (rb_path_check): constified.
31577 Mon Sep 12 20:53:06 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31579 * test/openssl/test_pkcs7.rb (test_enveloped): skip this test
31580 to avoid a bug of PKCS7_enctypt() (only if ext/openssl is
31581 compiled with OpenSSL-0.9.7d or earlier versions).
31582 http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html
31584 Mon Sep 12 20:32:00 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31586 * win32/win32.[hc] (rb_w32_argv_size, ...): reverted my latest change
31587 to avoid incompatible pointer warning. (mingw32)
31589 Mon Sep 12 19:58:53 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31591 * dln.c: avoid warning of const to non-const convertion.
31594 * eval.c, io.c, ruby.c: ditto.
31596 Mon Sep 12 19:26:29 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31598 * array.c: moved to ANSI function style from K&R function style.
31599 (used protoize on windows, so still K&R remains on #ifdef part of
31600 other platforms. And `foo _((boo))' stuff is still there)
31603 * bignum.c, class.c, compar.c, dir.c, dln.c, dmyext.c, enum.c,
31604 enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c,
31605 io.c, main.c, marshal.c, math.c, numeric.c, object.c, pack.c,
31606 prec.c, process.c, random.c, range.c, re.c, regcomp.c, regenc.c,
31607 regerror.c, regexec.c, regparse.c, regparse.h, ruby.c, signal.c,
31608 sprintf.c, st.c, string.c, struct.c, time.c, util.h, variable.c,
31611 Mon Sep 12 14:03:33 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31613 * test/dbm/test_dbm.rb: remove locking test, which may not be
31614 supported on some platforms. [ruby-dev:27030]
31616 Sun Sep 11 23:23:02 2005 Shugo Maeda <shugo@ruby-lang.org>
31618 * lib/net/imap.rb (starttls): supported the STARTTLS command.
31620 Sun Sep 11 22:18:07 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
31622 * bin/erb (ERB::Main#run): set ERB#filename so that it is used
31623 when reporting syntax/runtime errors. Tabs converted to spaces.
31625 Sat Sep 10 22:34:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31627 * array.c, bignum.c: protoize.
31629 Sat Sep 10 00:23:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31631 * eval.c (splat_value): simpler and consistent array conversion
31632 for argument splat. [yarv-dev:599]
31634 Fri Sep 9 16:45:25 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31636 * string.c (rb_str_times): make empty strings to keep taintness,
31637 and a little improvement. [ruby-dev:26900]
31639 * ext/iconv/iconv.c (iconv_try), ext/iconv/extconf.rb: get rid of meta
31640 characters in command line option. fixed: [ruby-talk:155369]
31642 * ext/iconv/iconv.c: protoized.
31644 Thu Sep 8 14:58:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31646 * merged a patch from Takahiro Kambe <taca at back-street.net> to
31647 support DragonFly BSD. [ruby-dev:26984]
31649 Thu Sep 8 13:14:57 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
31651 * missing/strchr.c (strrchr): fixed a bug in detecting NUL in a
31652 string. [ruby-dev:26985]
31654 Wed Sep 7 17:29:27 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31656 * ext/openssl/ossl_engine.c (ossl_engine_s_by_id):
31657 OpenSSL::Engine.by_id calls given block before calling
31658 ENGINE_init (block parameter is the return value of this method
31659 itself). this functionality is useful to load dynamic shared
31663 pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e|
31664 e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so")
31665 e.ctrl_cmd("LIST_ADD", "1")
31668 pkcs11.ctrl_cmd("PIN", "secret")
31669 key = pkcs11.load_private_key
31671 * ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method
31672 OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string.
31674 * ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method
31675 OpenSSL::Engine#cmds. it returms engine command definitions.
31677 Wed Sep 7 15:48:37 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31679 * ext/openssl/ossl_asn1.c (asn1str_to_str): new function.
31681 * ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo.
31682 this class wraps PKCS7_RECIP_INFO struct.
31684 * ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to
31685 OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of
31688 * test/openssl/test_pkcs7.rb: new file.
31690 Wed Sep 7 12:55:08 2005 Tanaka Akira <akr@m17n.org>
31692 * lib/open-uri.rb: abolish mod === tempfile to avoid a problem
31695 Wed Sep 7 10:45:15 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31697 * eval.c (rb_thread_switch): convert all exceptions to
31698 SystemExit. fixed: [ruby-core:05724]
31700 * eval.c (rb_thread_terminated): show backtrace before propagate
31701 exceptions to main thread.
31703 Wed Sep 7 09:21:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31705 * win32/win32.[hc] (rb_w32_utime): constified.
31707 * win32/win32.h (rb_w32_stat): added prototype.
31709 * win32/win32.[hc] (rb_w32_argv_size,rb_w32_join_argv,rb_w32_aspawn):
31710 changed `char *const *' to `const char *const *'. (constify string)
31712 Wed Sep 7 08:35:04 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31714 * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
31715 extension libraries.
31717 * bignum.c (bignew_1, bigadd): K&R style argument actually can't be
31720 * missing/vsnprintf.c: ANSI compiler supports const keyword.
31722 * ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h
31723 but no 64bit integer.
31725 * lib/mkmf.rb (what_type?): guesstimate type.
31727 * ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
31728 char*. fixed: [ruby-core:05470]
31730 Wed Sep 7 08:32:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31732 * string.c (rb_str_times): should taint empty strings as well.
31734 * object.c (Init_Object): make class_variable_{get,set} public.
31737 Mon Sep 5 22:28:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31739 * parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might be
31740 nothing. fixed: [ruby-dev:26952]
31742 * ext/ripper/eventids2.c: added new tokens. fixed: [ruby-dev:26952]
31744 Mon Sep 5 17:03:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31746 * lib/find.rb: should raise ENOENT if root entry does not exist.
31749 * lib/ostruct.rb: a patch from Florian Gross <florgro at gmail.com>
31750 merged to allow recursive inspect (and to_s) for OpenStruct.
31753 Mon Sep 5 08:20:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31755 * lib/observer.rb: a patch from nornagon <nornagon at gmail.com>
31756 merged to allow arbitrary names for update methods.
31759 Mon Sep 5 07:01:12 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31761 * ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write):
31762 should clear data from the buffer which already been output.
31764 Sun Sep 4 15:01:35 2005 Minero Aoki <aamine@loveruby.net>
31766 * parse.y (f_arg): Ripper should not do semantic check.
31769 Sat Sep 3 23:52:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31771 * eval.c (rb_f_fcall): new method to avoid inefficiency of
31772 obj.instance_eval{send(...)} tricks.
31774 Sat Sep 3 13:59:31 2005 Tanaka Akira <akr@m17n.org>
31776 * lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend
31778 (Pathname#ascend): ditto.
31780 Fri Sep 2 23:51:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31782 * parse.y (f_arg): f_norm_arg is a VALUE in ripper, not an ID.
31783 fixed: [ruby-dev:26942]
31785 * lib: do not use __send__ to access private methods. [ruby-dev:26935]
31787 Thu Sep 1 17:11:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31789 * eval.c (rb_call0): wrong condition for $SAFE restoration.
31791 Thu Sep 1 14:12:45 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31793 * ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn't
31794 work (gives wrong order of arguments).
31796 * ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace
31797 to support '-namespace' option of 'interp invokehidden' command
31800 Wed Aug 31 14:41:30 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31802 * win32/Makefile.sub (OPTFLAGS): default global optimization to
31803 disabled for all VC++ versions. fixed: [ruby-dev:26897]
31805 Wed Aug 31 10:36:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31807 * process.c (proc_detach, proc_setmaxgroups): missing argument type
31808 declaration. (I recommend ANSI-style function)
31810 Wed Aug 31 06:59:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31812 * string.c (rb_str_scan): already String#scan behaves differently
31813 regarding if block is given.
31815 Tue Aug 30 23:49:34 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31817 * array.c, dir.c, enum.c, hash.c, io.c, range.c, string.c, struct.c:
31818 let enumerable methods return Enumerator. [ruby-dev:26924]
31820 * intern.h (RETURN_ENUMERATOR): utility macro for enumerable methods.
31822 Tue Aug 30 23:25:45 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
31824 * lib/debug.rb: no need to restart at exit.
31826 Tue Aug 30 23:20:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31828 * eval.c (rb_rescue2): initialization miss. fixed: [ruby-dev:26917]
31830 * lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.
31832 * lib/mkmf.rb (link_command, cc_command, cpp_command): expand
31833 variables at once, and quote hdrdir. fixed: [ruby-core:05680]
31835 * lib/mkmf.rb (libpathflag): quote paths.
31837 Tue Aug 30 19:34:27 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31839 * ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h,
31840 ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid
31841 error in compilation with OpenSSL-0.9.8. [ruby-list:41068]
31843 Tue Aug 30 16:19:40 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
31845 * lib/irb/init.rb: bug fix. [ruby-dev: 26920]
31847 Tue Aug 30 16:13:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31849 * enum.c (enum_count): new method. [ruby-dev:26895]
31851 Tue Aug 30 12:45:15 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31853 * eval.c (rb_f_send): do not call private methods if the receiver
31854 is specified. [ruby-talk:153672]
31856 Mon Aug 29 19:47:18 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31858 * lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]
31860 * lib/rdoc/usage.rb: support the case when non-ruby code exists before
31861 shebang. (this is needed when ri.bat is executed on windows)
31863 Mon Aug 29 18:58:05 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
31865 * lib/irb/init.rb: make IRB -I option that is same befavior for ruby.
31868 * lib/irb/locale.rb: support to print help message when OS locale is
31869 ja_JP.utf-8. [ruby-dev:26872]
31871 Mon Aug 29 01:43:05 2005 Tanaka Akira <akr@m17n.org>
31873 * lib/pathname.rb (Pathname#descend): new method.
31874 (Pathname#ascend): ditto.
31876 Mon Aug 29 00:35:09 2005 Tanaka Akira <akr@m17n.org>
31878 * lib/time.rb: require 'date/format' instead of 'parsedate'.
31879 (Time.parse): extract fractional seconds using Date._parse.
31880 (Time.strptime): extract fractional seconds using Date._strptime.
31883 Sat Aug 27 20:13:31 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31885 * ext/curses/curses.c ({curses,window}_clrtoeol): added. suggested
31888 * ext/curses/curses.c: chtype in curses is not `char', rahter `long'.
31891 * ext/curses/view.rb: String =~ String is deprecated.
31893 Thu Aug 25 15:48:58 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31895 * ext/win32ole/win32ole.c: suppress warnings. (win32)
31897 Wed Aug 24 11:01:26 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31899 * test/logger/test_logger.rb (test_shifting_size): should close log
31900 device before unlink, since some platform cannot unlink opened
31903 Tue Aug 23 06:07:02 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31905 * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.
31906 these features are enabled if this library is compiled with
31907 OpenSSL 0.9.8 or later.
31909 * test/openssl/test_digest.rb: add test for new digests.
31911 Tue Aug 23 05:47:04 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31913 * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode
31914 the argument as a string.
31916 * ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method.
31918 * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should
31919 set @time to avoid warning.
31921 * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths,
31922 X509_STORE_add_cert, X509_STORE_add_crl): should raise error if
31923 wrapped functions fails.
31925 * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message.
31927 * ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid
31928 of unused variable.
31930 * test/openssl/test_ns_spki.rb: add new file.
31932 * test/openssl/test_x509store.rb: add test for error.
31934 Tue Aug 23 01:11:40 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31936 * sprintf.c (ruby__sfvwrite): should move `buf' to the end of
31937 `result'. [ruby-dev:26859]
31939 Mon Aug 22 23:51:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31941 * parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts with
31942 RE_OPTION_ONCE. [ruby-dev:26852]
31944 Mon Aug 22 20:11:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31946 * missing/vsnprintf.c (BSD__sprint): needs to call vwrite function
31947 pointer. fixed: [ruby-dev:26854]
31949 Sat Aug 20 23:55:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31951 * parse.y (parser_yylex): update paren_nest for brackets [].
31953 Sun Aug 21 00:10:23 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
31955 * lib/wsdl/xmlSchema/importer.rb (WSDL::XMLSchema::Importer#fetch): add
31956 a workaround for importing an WSDL whose path begins with drive
31957 letter. [ruby-dev:26242]
31959 Sat Aug 20 22:05:25 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
31961 * regexec.c (code_is_in_cclass_node): check code size.
31964 Sat Aug 20 22:37:13 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
31966 * lib/logger.rb (write, shift_log?, shift_log): file shifting race
31967 condition bug fixed. [ruby-dev:26764]
31969 * test/logger/test_logger.rb: tests.
31971 Fri Aug 19 18:13:39 2005 Tanaka Akira <akr@m17n.org>
31973 * lib/time.rb (Time.apply_offset): fix a problem with last day of
31974 month. reported by Lucas Nussbaum. [ruby-talk:152866]
31976 Thu Aug 18 11:05:36 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31978 * win32/win32.c (socketpair_internal): need to call open_ifs_socket()
31979 to create sockets instead of winsock's socket().
31980 fixed: [yarv-dev:581]
31982 Wed Aug 17 23:58:05 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31984 * eval.c (terminate_process): take String message.
31986 * eval.c (rb_thread_switch): propagate the exception caused thread
31987 termination directly. fixed: [ruby-core:05552]
31989 Wed Aug 17 21:20:05 2005 NARUSE, Yui <naruse@ruby-lang.org>
31991 * ext/nkf/lib/kconv.rb: ensure that symbol_to_option is private_class_method
31992 and all other methods are module_function
31993 fixed: [ruby-dev:26808]
31995 Wed Aug 17 00:05:46 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31997 * eval.c (rb_add_method): preserve safe level in the environment
31998 where a method is defined .
32000 * eval.c (rb_call0): restore preserved safe level in the method
32003 * parse.y (lambda): need separate block variable stack
32004 manipulation and lpar_beg maintenance. based on a patch found
32005 in [ruby-core:05551] from Mauricio Fernandez <mfp at acm.org>.
32007 * parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and
32008 kDO_LAMBDA. [ruby-core:05551]
32010 Mon Aug 15 07:24:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32012 * intern.h (rb_check_to_integer): add declaration.
32014 * object.c (rb_to_integer, rb_check_to_integer): argument constified.
32016 Mon Aug 15 00:38:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32018 * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE.
32021 * range.c (range_check, range_init): reduce uselse exceptions.
32023 Mon Aug 15 00:34:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32025 * parse.y (yycompile): remove unreachable code. [yarv-dev:570]
32027 Sat Aug 13 22:16:12 2005 Minero Aoki <aamine@loveruby.net>
32029 * lib/fileutils.rb (remove_entry_secure): forgot final chdir.
32031 Sat Aug 13 22:07:49 2005 Minero Aoki <aamine@loveruby.net>
32033 * lib/fileutils.rb (remove_entry_secure): uses chdir(2) and check
32034 if current directory is correct. [ruby-dev:26100] [ruby-dev:26226]
32036 Sat Aug 13 21:11:05 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
32038 * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT class.
32040 * ext/win32ole/tests/testall.rb: ditto.
32042 * ext/win32ole/tests/testOLEVARIANT.rb: ditto.
32044 Sat Aug 13 18:51:26 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32046 * eval.c (rb_block_pass): distinguish current block from others.
32047 fixed: [ruby-dev:26274]
32049 * ext/stringio/stringio.c (strio_set_string): disallow nil.
32050 http://www.rubyist.net/~nobu/t/20050811.html#c05
32052 Sat Aug 13 08:01:59 2005 NARUSE, Yui <naruse@ruby-lang.org>
32054 * ext/nkf/lib/kconv.rb: Kconv.kconv is now alias of Kconv.conv
32055 * ext/nkf/lib/kconv.rb: remove nkf dependend symbols fomr SYMBOL_TO_OPTION
32057 Fri Aug 12 17:06:53 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32059 * parse.y (f_larglist): allow optional arguments even when
32060 parentheses are omitted. based on Nobu's patch from
32061 http://www.rubyist.net/~nobu/t/20050805.html
32063 * parse.y (parser_yylex): update & maintain lpar_beg for detect
32066 Thu Aug 11 23:29:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32068 * ext/stringio/stringio.c: keep holding string after closed.
32070 Thu Aug 11 20:48:40 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
32072 * numeric.c (fix_equal, fix_cmp, fix_gt, fix_ge, fix_lt, fix_le):
32073 reduce coercing when a method knows about a operand type.
32076 Thu Aug 11 13:01:48 2005 Kouhei Sutou <kou@cozmixng.org>
32078 * lib/rss: fixed sort bug. [ruby-list:41018]
32080 * lib/rss/1.0.rb (RSS::RDF::Channel#setup_maker_attributes):
32083 * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#<=>): use #date
32085 (RSS::Maker::Base::self.def_array_element): added #size.
32087 * lib/rss/maker/1.0.rb
32088 (RSS::Maker::RSS10::Channel#to_rss,
32089 RSS::Maker::RSS10::Items::Item#to_rss): cleared dc_dates set
32090 upped by using #date.
32092 * lib/rss/maker/dublincore.rb
32093 (RSS::Maker::ChannelBase, RSS::Maker::ItemsBase::ItemBase):
32094 fixed opposite alias.
32096 * test/rss/test_setup_maker_1.0.rb
32097 (RSS::TestSetupMaker10::test_setup_maker_items_sort): added some
32098 tests for RSS::Maker::ItemsBase#do_sort.
32100 Wed Aug 10 12:01:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32102 * lib/delegate.rb: simplifies Delegator classes; SimpleDelegator
32103 now uses method_missing for all methods.
32105 Wed Aug 10 10:38:50 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32107 * bignum.c (rb_big_mul0): multiply two numbers (x, y) without
32108 normalizing the result. x should be a big number.
32111 * bignum.c (rb_big_pow): use rb_big_mul0() instead of
32114 * array.c (rb_ary_or, rb_ary_and, rb_ary_plus, rb_ary_diff):
32115 revert the change on 2005-08-03. Set operation on other item
32116 should have in separate methods.
32118 * parse.y (shadowing_lvar_gen): warn when arguments shadows
32119 external local variables.
32121 * parse.y (f_opt): optional arguments should not clobber external
32124 * parse.y (f_rest_arg): rest arguments should not clobber external
32127 Wed Aug 10 10:29:40 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32129 * ext/tk/lib/tk.rb: fix bug on handling __ruby2val_optkeys().
32131 * ext/tk/lib/tk/itemconfig.rb: fix bug on handling
32132 __item_ruby2val_optkeys().
32134 * ext/tk/lib/tk/canvas.rb: didn't check __item_ruby2val_optkeys().
32136 * ext/tk/lib/tkextlib/blt/component.rb: ditto.
32138 Tue Aug 9 21:53:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32140 * eval.c (formal_assign): let default values override
32141 arguments to zsuper. fixed: [ruby-dev:26743]
32143 Tue Aug 9 20:30:19 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
32145 * bignum.c (rb_big_coerce): allow bignum x bignum coercing.
32148 Tue Aug 9 15:12:04 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32150 * ext/tk/tcltklib.c: remove dangerous 'rb_jump_tag's.
32152 * ext/tk/lib/tk.rb: add __val2ruby_optkeys and __ruby2val_optkeys to
32153 help to convert option values between ruby and tcl.
32155 * ext/tk/lib/tk/itemconfig.rb: add __item_val2ruby_optkeys and
32156 __item_ruby2val_optkeys to help to convert option values between
32159 * ext/tk/lib/tk/radiobutton.rb: use __ruby2val_optkeys for 'variable'
32160 option (for the reason of backward compatibility).
32162 * ext/tk/lib/tk/composite.rb: clarify the arguments of super().
32164 * ext/tk/lib/tk/spinbox.rb: ditto.
32166 * ext/tk/lib/tk/text.rb: ditto.
32168 * ext/tk/lib/tk/validation.rb: ditto.
32170 * ext/tk/lib/tkextlib/*: support to treat tkvariable-type
32173 Tue Aug 9 08:24:05 2005 Mauricio Fernandez <mfp@acm.org>
32175 * parse.y (f_block_arg), eval.c (rb_yield_0): deal with dynamic
32176 variable lambda arguments. [ruby-core:05540]
32178 Mon Aug 8 22:13:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32180 * eval.c (assign): deal with new block argument.
32181 fixed: [ruby-core:05536]
32183 * eval.c (rb_node_arity): follow change of NODE_ARGS.
32184 fixed: [ruby-dev:26761]
32186 Mon Aug 8 21:28:13 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32188 * test/ruby/test_fnmatch.rb: separated from test_file.rb.
32190 Mon Aug 8 20:40:35 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
32192 * test/ruby/test_method.rb: added. [ruby-dev:26761]
32194 Mon Aug 8 01:26:37 2005 Mauricio Fernandez <mfp@acm.org>
32196 * parse.y (f_larglist): mistake in syntax rule. [ruby-core:05535]
32198 Mon Aug 8 05:16:55 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32200 * ext/openssl/ossl.c (ossl_raise): should use ERR_peek_last_error
32201 to get last error on the current thread. And should report
32202 if errors are on the stack while OpenSSL.debug is true.
32204 * ext/openssl/ossl.c (ossl_get_errors): new method for debugging
32207 Mon Aug 8 05:15:19 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32209 * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize),
32210 lib/webrick/httpserver.rb (HTTPServer#intialize),
32211 lib/webrick/httpservlet/cgihandler.rb (CGIHandler#initialize),
32212 lib/webrick/httpservlet/erbhandler.rb (ERBHandler#initialize),
32213 lib/webrick/httpservlet/filehandler.rb(DefaultFileHandler#initialize):
32214 super (called with no arguments) takes default value of optional
32215 arguments. [ruby-dev:26743]
32217 * lib/webrick/httputils.rb: add a media-type "text/html" for .xhtml.
32219 Sun Aug 7 23:52:39 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
32221 * test/ruby/test_super.rb: added optional arg tests. [ruby-dev:26743]
32222 the tests expects 1.8 behavior at this time.
32224 Sat Aug 6 12:35:24 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32226 * ext/tk/lib/{tk.rb,tk/itemconfig.rb}: configure creates
32227 TkVariable if key name is 'variable' or 'textvariable'
32228 by default. [ruby-dev:26749]
32230 * ext/tk/lib/tk/{label,radiobutton}.rb: removed its own
32231 {variable,textvariable} function.
32233 * ext/tk/lib/tk/variable.rb: retains backward conpatibility.
32235 Fri Aug 5 12:48:31 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32237 * ext/tk/tcltklib.c: fixed memory leak when tk_funcall raised
32238 exception. (copies argv into heap in tk_funcall instead of
32241 Fri Aug 5 12:36:40 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32243 * lib/mkmf.rb (create_makefile): need to convert path separetor
32244 before invoking install command.
32246 Fri Aug 5 08:08:05 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32248 * eval.c (return_jump): fix "can't across thread" error message
32249 when no thread associated.
32250 http://www.namikilab.tuat.ac.jp/~sasada/diary/200507.html#d31
32252 Fri Aug 5 00:25:12 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32254 * ext/tk/tcltklib.c: refactoring - extract ruby string <->
32255 tcl object conversion as get_str_from_obj and get_obj_from_str.
32257 Fri Aug 5 00:19:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32259 * enumerator.c (Init_Enumerator): provided features should have
32262 * eval.c (rb_feature_p): returns type of the feature instead of
32265 * eval.c (search_required): ruby library should be prior to statically
32266 linked extentions. fixed: [ruby-dev:26711]
32268 * eval.c (formal_assign): returns position of rest arguments variable.
32270 * parse.y (f_rest_arg): use anonymous variable for rest arguments.
32271 fixed: [ruby-dev:26647]
32273 * extmk.rb (extmake): needs to be wrapped in an Array.
32275 Thu Aug 4 20:03:18 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
32277 * numeric.c (Init_Numeric): do not share implementation among
32278 Fixnum#/ and Fixnum#div. [ruby-core:05531]
32280 Thu Aug 4 18:38:36 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32282 * ext/tk/tcltklib.c: cannot compile for Tcl7.6/Tk4.2.
32284 * ext/tk/tcltklib.c: add nativethread consistency check.
32286 * ext/tk/stubs.c: ditto.
32288 * ext/tk/lib/tk.rb: forgot to define TclTkIp.encoding and encoding=
32289 when Tcl is 7.6 or 8.0.
32291 * ext/tk/lib/tk/wm.rb: support to make some methods as options of
32292 root or toplevel widget. [ruby-talk:150336]
32294 * ext/tk/lib/tk/root.rb: ditto.
32296 * ext/tk/lib/tk/toplevel.rb: ditto.
32298 * ext/tk/lib/tkextlib/SUPPRT_STATUS: update RELEASE_DATE
32300 Thu Aug 4 13:30:15 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32302 * numeric.c (fix_div): should not convert the result into
32303 integer. [ruby-core:05524]
32305 Thu Aug 4 08:03:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32307 * ext/extmk.rb (extmake): should not modify $mflags for each
32310 Thu Aug 4 00:25:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32312 * common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated
32315 * bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS.
32317 * {win32,wince}/Makefile.sub: separate config.h for compiler versions.
32319 Thu Aug 4 00:24:59 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32321 * sprintf.c: replacing is no longer needed.
32323 Wed Aug 3 21:59:16 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32325 * ext/tk/lib/tk/variable.rb: TkVariable#trace didn't work on
32326 TkVariable retrived from TkVariable.new_hash.ref. [ruby-dev:26721]
32328 Wed Aug 3 12:40:28 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
32330 * numeric.c (fix_plus): reduce coercing when a method knows about
32331 a operand type. [ruby-dev:26723]
32333 * numeric.c (fix_minus, fix_mul, fix_quo, fix_div, fix_mod,
32334 fix_divmod, fix_pow): ditto.
32336 * bignum.c (rb_big_div, rb_big_modulo): export to reduce
32339 Wed Aug 3 10:13:52 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32341 * configure.in, {bcc32,win32,wince}/Makefile.sub (HAVE_SNPRINTF,
32342 HAVE_VSNPRINTF): use win32/win32.c's implementation instead of
32343 missing/vsnprintf.c's.
32345 * win32/win32.[ch] (rb_w32_snprintf, rb_w32_vsnprintf): reverted.
32347 Wed Aug 3 10:05:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32349 * configure.in: check vsnprintf() and snprintf().
32351 * sprintf.c, missing/vsnprintf.c: made vsnprintf() and snprintf()
32352 private. fixed: [ruby-dev:26651]
32354 Wed Aug 3 08:22:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32356 * ext/socket/socket.c (ruby_connect): revert [ruby-talk:111654]
32357 changes at 2004-09-07. [ruby-dev:26656]
32359 Wed Aug 3 06:53:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32361 * array.c (rb_ary_or): wraps the operand in an array if it is not
32362 an array. [ruby-talk:150495] [EXPERIMENTAL]
32364 * array.c (rb_ary_and, rb_ary_plus, rb_ary_diff): ditto.
32366 Tue Aug 2 10:23:12 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32368 * ext/tk/tcltklib.c: use Tcl_[GS]etVar2Ex instead of
32369 Tcl_Obj[GS]etVar2. (avoid Tcl_NewStringObj on supported platforms)
32371 * ext/tk/tcltklib.c: use ip_{get,set,unset}_variable2_core from
32372 ip_{get,set,unset}_variable.
32374 * ext/tk/tcltklib.c: replaced Tcl_Panic with rb_bug.
32376 Tue Aug 2 01:40:38 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32378 * lib/ping.rb (Ping.pingecho): should rescue StandardError.
32381 Mon Aug 1 19:02:23 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32383 * ext/tk/tcltklib.c: refactoring - replaced rb_ivar_defined &
32384 rb_ivar_get with single rb_attr_get call.
32386 Mon Aug 1 18:44:08 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32388 * ext/tk/tcltklib.c (Tcl_GetStringResult): refactoring - define
32389 alternative macro on Tcl7.x or earlier.
32391 Mon Aug 1 13:53:55 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32393 * ext/tk/tcltklib.c (deleted_ip): refactoring - interpreter
32394 deletion check. [ruby-dev:26664]
32396 Mon Aug 1 01:08:21 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
32398 * lib/drb/drb.rb (check_insecure_method): use private_methods and
32399 protected_methods instead of respond_to? to check method visibility.
32402 * test/drb/drbtest.rb: ditto.
32404 * test/drb/ut_drb.rb: ditto.
32406 Sat Jul 30 18:49:44 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
32408 * ext/win32ole/win32ole.c: add WIN32OLE_TYPE#ole_typelib,
32409 WIN32OLE_TYPE#implemented_ole_types.
32411 * ext/win32ole/tests/testOLETYPE.rb: ditto.
32413 Fri Jul 29 16:12:02 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
32415 * lib/irb/context.rb: fix `irb --readline` option. [ruby-dev:40955]
32417 Fri Jul 29 09:59:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32419 * eval.c (rb_call0): fix calling zsuper from a method with anonymous
32420 rest argument. [ruby-dev:26639]
32422 * eval.c (rb_yield_0): push yielded node instead of yielding.
32423 fixed: [yarv-dev:549]
32425 Thu Jul 28 21:49:17 2005 IWATSUKI Hiroyuki <don@na.rim.or.jp>
32427 * parse.y (rb_parser_end_seen_p): exclude from ripper.
32428 <http://moonrock.jp/~don/d/200507.html#d28_t2>
32430 * sprintf.c (clearerr): remove standard macro before re-definition.
32431 <http://moonrock.jp/~don/d/200507.html#d28_t3>
32433 Thu Jul 28 18:09:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32435 * ext/tk/stubs.c: When --enable-tcltk-stubs, the initialize
32436 routine creates a Tcl/Tk interpreter and deletes it. However,
32437 init cost of Tk's MainWindow is not so small. And that makes it
32438 impossible to use libraries written with Tcl functions only on
32439 an environment without a graphical display. This changes support
32440 delaying initalization of Tk_Stubs until the script needs Tk.
32442 * ext/tk/stubs.h: New file. Define prototypes and return codes of
32443 functions on stubs.c.
32445 * ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs
32446 until the script needs Tk.
32448 * ext/tk/tcltklib.c: Show friendly error messages for errors on
32451 * ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is
32452 exiting and $DEBUG is true. (Not fix. If you know the reason of
32453 why, please fix it.)
32455 * ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling
32458 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
32459 don't work propery.
32461 * ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk.
32463 * ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the
32464 object for an element of a Tcl's array variable.
32466 Thu Jul 28 17:23:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32468 * parse.y (f_larglist): allow block argument in lambda parameter
32469 list without parenthesis.
32471 Thu Jul 28 17:14:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32473 * hash.c (each_i): typo fixed. [ruby-dev:26622]
32475 Thu Jul 28 15:04:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32477 * parse.y (f_arg): better argument name duplication check
32479 * parse.y (new_args_gen): factored out name duplication check for
32480 optional and rest arguments.
32482 * parse.y (new_bv_gen): allow shadowing outer local variables;
32485 Thu Jul 28 13:46:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32487 * parse.y (ripper_warningS): the argument was omitted.
32490 Thu Jul 28 11:30:57 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32492 * parse.y (f_larglist): allow bv_decl at the end of lambda
32493 argument list. [EXPERIMENTAL]
32495 * parse.y (new_bv_gen): allow local variable shadowing, with
32496 warning in verbose mode.
32498 Wed Jul 27 23:23:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32500 * gc.c (obj_free): make message format consistent with one from
32501 gc_mark(). [ruby-talk:149668]
32503 * sprintf.c (quad_t): prepare quad_t as well. [ruby-talk:149668]
32505 Wed Jul 27 22:11:37 2005 Kouhei Sutou <kou@cozmixng.org>
32507 * sample/rss/tdiary_plugin: removed. because the plugin
32508 is imported in the tDiary plugin packages.
32510 Wed Jul 27 19:11:53 2005 Minero Aoki <aamine@loveruby.net>
32512 * lib/fileutils.rb (cd): follow :noop option change. (This patch
32513 is contributed by Doug Kearns)
32515 Wed Jul 27 16:25:59 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32517 * parse.y (lambda): Perl6 style -> lambda expression. [NEW]
32518 [VERY EXPERIMENTAL]
32520 Wed Jul 27 10:43:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32522 * gc.c (id2ref): must not assign pointers to long int. use
32523 LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP.
32526 * ruby.h: use LONG_LONG to simplify the change.
32529 Wed Jul 27 10:59:02 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32531 * dir.c (dir_each): rewinddir(3) before iteration.
32534 Wed Jul 27 02:34:58 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32536 * eval.c (rb_f_throw): replace all '0x%lx' by '%p'.
32539 * missing/vsnprintf.c (BSD_vfprintf): '%p' need to handle 64bit
32540 size pointer. [ruby-talk:149553]
32542 Tue Jul 26 22:41:28 2005 Minero Aoki <aamine@loveruby.net>
32544 * ext/ripper/lib/ripper/sexp.rb: new method Ripper.sexp_raw.
32546 * ext/ripper/lib/ripper/sexp.rb (Ripper.sexp): returns more
32547 readable tree. This is suggested by Kirill A. Shutemov.
32549 Tue Jul 26 22:05:12 2005 Minero Aoki <aamine@loveruby.net>
32551 * lib/net/http.rb: merge a patch contributed by Daniel Berger,
32552 with some modification. (RubyForge #2128)
32554 Tue Jul 26 18:11:33 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32556 * ruby.h: support LLP64 model. [ruby-talk:149524]
32558 Tue Jul 26 12:57:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32560 * ext/openssl/openssl_missin.c: include <openssl/engine.h> before
32561 <openssl/x509_vfy.h> to avoid compilation error of mswin32.
32562 suggested by NAKAMURA Usaku.
32564 Mon Jul 25 23:48:55 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32566 * win32/win32.[ch]: (rb_w32_vsnprintf, rb_w32_snprintf): removed.
32568 Mon Jul 25 21:30:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32570 * common.mk: Borland MAKE doesn't look for file names which have paths
32571 from VPATH. fixed: [ruby-dev:26604]
32573 * ruby.h (NORETURN, DEPRECATED): moved just after config.h.
32575 * {win32,wince}/Makefile.sub: vsnprintf() is in missing now.
32577 * {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for ruby
32580 Mon Jul 25 14:10:02 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32582 * ext/tk/lib/multi-tk.rb: fix en-bugged part in the last commit.
32584 Mon Jul 25 13:45:18 2005 NAJIMA Hiroki <najima@mickey.ai.kyutech.ac.jp>
32586 * io.c: check HAVE_SYS_IOCTL_H before including the header.
32589 Sat Jul 23 16:48:12 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32591 * ext/openssl/ossl_engine.c (ossl_engine_s_load): should check
32592 OPENSSL_NO_STATIC_ENGINE.
32594 Sat Jul 23 11:46:30 2005 Tanaka Akira <akr@m17n.org>
32596 * eval.c (rb_fd_select): the all three fd_sets must be long enough for
32597 select. fixed: [ruby-talk:149059]
32599 Sat Jul 23 10:01:41 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32601 * sprintf.c (rb_vsprintf, rb_sprintf): new functions return new String,
32602 using missing/vsnprintf.c. [ruby-dev:26580]
32604 * missing/vsnprintf.c: made the output changeable.
32606 Fri Jul 22 21:06:08 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
32608 * bignum.c (rb_big_eq): reduce isnan(). [ruby-dev:26600]
32610 * numeric.c (flo_eq, flo_gt, flo_ge, flo_lt, flo_le): ditto.
32612 Fri Jul 22 15:02:39 2005 Kouhei Sutou <kou@cozmixng.org>
32614 * lib/rss/rss.rb: moved copyright description to lib/rss.rb.
32616 * lib/rss.rb: added for convenience.
32618 * sample/rss/re_read.rb: added #to_s sample.
32620 * sample/rss/blend.rb: use 'require "rss"' instead of
32622 * sample/rss/list_description.rb: ditto.
32623 * sample/rss/rss_recent.rb: ditto.
32624 * sample/rss/tdiary-plugin/rss-recent.rb: ditto.
32626 * sample/rss/tdiary-plugin/rss-recent.rb: 0.0.6 -> 0.0.7.
32628 Fri Jul 22 14:37:43 2005 Kouhei Sutou <kou@cozmixng.org>
32630 * lib/rss/parser.rb (RSS::Parser#initialize): accept HTTP/FTP
32631 URI and local file path too.
32633 * test/rss/test_parser.rb (RSS::TestParser#test_parse): test
32636 Fri Jul 22 07:01:42 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32638 * ext/tk/tkutil/tkutil.c (tk_conv_args): forget to revert
32639 thread_critical and gc_disable when raise ArgumentError.
32641 * ext/tk/lib/remote-tk.rb: RemoteTkIp doesn't need to include TkUtil.
32643 * ext/tk/tcltklib.c: add TclTkIp#has_mainwindow? method.
32645 * ext/tk/lib/tk.rb: add Tk.has_mainwindow? method.
32647 * ext/tk/lib/multi-tk.rb: add MultiTkIp#has_mainwindow? method.
32649 * ext/tk/lib/remote-tk.rb: add RemoteTkIp#has_mainwindow? method.
32651 * ext/tk/lib/multi-tk.rb: slave IP fail to exit itself when $SAFE==4.
32653 * ext/tk/lib/multi-tk.rb: remove constants from MultiTkIp module to
32654 avoid access from external.
32656 * ext/tk/lib/multi-tk.rb: check_root flag is ignored on slave IPs'
32659 * ext/tk/lib/multi-tk.rb: hang-up Tk.mainloop called on a slave IP
32662 * ext/tk/lib/multi-tk.rb: MultiTkIp#bg_eval_proc doesn't work
32665 * ext/tk/lib/multi-tk.rb: add MultiTkIp#set_cb_error(proc) and
32666 cb_error(exc) to log errors at callbacks on safe slave IPs.
32668 * ext/tk/lib/multi-tk.rb: fail to get an available slave IP object
32669 when call Tk.mainloop in the block which is given to new_* method,
32670 because cannot finish initialize while the root widget is alive.
32672 * ext/tk/lib/multi-tk.rb: fail to control a slave IP when Tk.mainloop
32675 Thu Jul 21 01:00:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
32677 * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:
32679 [ruby-dev:26592] nkf constification
32681 Wed Jul 20 19:18:52 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32683 * io.c (S_ISREG): need to define S_ISREG before it is used first.
32685 Wed Jul 20 18:33:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32687 * io.c (wsplit_p): patch for the environment where
32688 fcntl(F_GETFL, O_NONBLOCK) is not supported. in that case,
32689 set FMODE_WSPLIT without fcntl check. [ruby-dev:26566]
32691 Wed Jul 20 18:07:11 2005 Tanaka Akira <akr@m17n.org>
32693 * io.c (rb_io_ctl): update FMODE_WSPLIT_INITIALIZED and FMODE_WSPLIT
32696 Wed Jul 20 10:04:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32698 * variable.c (rb_class_path): need to adjust snprintf() len for
32699 teminating NUL. [ruby-dev:26581]
32701 Wed Jul 20 03:58:52 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32703 * ext/socket/socket.c: sorry, BeOS also uses HAVE_CLOSESOCKET,
32706 * ext/socket/extconf.rb: should not define HAVE_CLOSESOCKET
32709 Wed Jul 20 03:12:21 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32711 * ext/socket/socket.c: should not undef close() on win32.
32712 it's defined to rb_w32_close(), otherwise handle leaks.
32715 Wed Jul 20 00:48:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32717 * error.c (syserr_initialize): don't use str before StringValue()
32718 check. [ruby-dev:26579]
32720 Tue Jul 19 22:47:29 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32722 * error.c (syserr_initialize): add 1 byte for snprintf() size for
32723 NUL at the end. [ruby-dev:26574]
32725 Tue Jul 19 17:16:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32727 * signal.c (trap): remove sigexit(); handle "EXIT" via sig_exec().
32730 * io.c (rb_io_inspect): replace sprintf() with "%s" format all
32731 over the place by snprintf() to avoid integer overflow.
32733 Tue Jul 19 14:10:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32735 * ext/tk/tcltklib.c: rbtk_eventloop_depth is used as int.
32737 * ext/tk/tcltklib.c: rbtk_pending_exception is tested with
32738 NIL_P, so should assign Qnil instead of 0 (Qfalse).
32740 * ext/tk/tcltklib.c (ip_invoke_real): fixed memory leak when
32743 Tue Jul 19 13:19:46 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32745 * ext/tk/lib/tk/variable.rb: For symmetry, add TkVariable#string. It
32746 returns a string even if the default value type of the TkVariable
32747 object is not "string".
32749 Mon Jul 18 21:39:18 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32751 * eval.c (rb_call0): make the pointer to NODE volatile
32752 instead of NODE itself.
32754 Mon Jul 18 14:32:21 2005 Tanaka Akira <akr@m17n.org>
32756 * eval.c (rb_call0): make body volatile to avoid possible optimization
32760 Mon Jul 18 12:23:27 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32762 * ext/io/wait/wait.c: wrong backport from trunk, and compile error on
32763 platforms fd_set is not a bit set. fixed: [ruby-dev:26562]
32765 Mon Jul 18 09:36:25 2005 Tanaka Akira <akr@m17n.org>
32767 * rubyio.h (FMODE_WSPLIT, FMODE_WSPLIT_INITIALIZED): new constant.
32769 * io.c (wsplit_p): new function.
32770 (io_fflush): split writing data by PIPE_BUF if wsplit_p is true in
32771 multi-threaded mode.
32772 (io_fwrite): ditto.
32775 Mon Jul 18 05:00:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
32777 * ext/nkf/nkf-utf8/nkf.c: import nkf.c 1.73
32780 Sun Jul 17 13:46:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32782 * ext/io/wait/extconf.rb, ext/io/wait/wait.c: Win32 platforms support.
32784 Sat Jul 16 23:43:16 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32786 * enumerator.c (Init_Enumerator): wrong argument specs.
32789 Sat Jul 16 15:52:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32791 * win32/win32.[hc]: constified socket functions. [ruby-dev:26553]
32793 Fri Jul 15 23:59:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32795 * lib/rdoc/parsers/parse_c.rb (handle_class_module): handle a
32796 module enclosed in a built-in module. fixed: [ruby-talk:148239]
32798 * lib/rdoc/parsers/parse_c.rb (find_body): allow macros as methods.
32800 * lib/rdoc/parsers/parse_c.rb (find_call_seq): allow :nodoc: modifier
32801 in C. [ruby-core:04572]
32803 Fri Jul 15 23:20:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32805 * enumerator.c (Init_Enumerator): use an internal directly.
32807 Fri Jul 15 07:58:10 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32809 * lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
32810 sockets should be non-blocking mode. [ruby-dev:26405]
32812 * lib/webrick/utils.rb (WEBrick::Utils.set_non_blocking): new method.
32814 Fri Jul 15 00:11:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32816 * enum.c (enumeratorize): create new enumerator for current method if
32819 * enumerator.c: moved from ext/enumerator.
32821 Thu Jul 14 18:27:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32823 * win32/win32.c (rb_w32_strerror): should return correct message
32824 for ENAMETOOLONG and ENOTEMPTY. (bcc32) [ruby-dev:26533]
32826 * win32/win32.c (rb_w32_strerror): stripped CR LF on the tail.
32827 (bcc32) [ruby-dev:26533]
32829 Thu Jul 14 00:45:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32831 * LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8.
32833 Wed Jul 13 22:44:00 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32835 * parse.y: remove static variables. [ruby-dev:26530]
32837 Wed Jul 13 19:36:29 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32839 * win32/win32.c (rb_w32_mkdir): should set EEXIST (not EACCES)
32840 if file or directory already exists. (bcc32) [ruby-dev:26508]
32842 * win32/win32.c (rb_w32_rmdir): should set ENOTDIR (not EINVAL)
32843 if it is not directory. (bcc32, win32)
32845 * win32/win32.c (rb_w32_rmdir, rb_w32_unlink): restore
32846 FILE_ATTRIBUTE_READONLY flag on function failure.
32848 Wed Jul 13 12:40:00 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32850 * ext/tk/tcltklib.c: TclTkLib.do_one_event doesn't work.
32852 * ext/tk/lib/tk.rb: Tk.thread_update is available.
32854 Tue Jul 12 23:32:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32856 * lib/mkmf.rb: keep curdir unexpanded.
32858 Mon Jul 11 23:50:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32860 * eval.c, intern.h (rb_proc_call, rb_obj_method, rb_method_call):
32863 * ext/enumerator/enumerator.c (enumerator_with_index): [EXPERIMENTAL]
32864 added a new method Enumerator#with_index. [ruby-talk:147728]
32866 Mon Jul 11 08:31:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32868 * regparse.c (fetch_escaped_value): mask values following \c in
32869 regexp. fixed: [ruby-dev:26500]
32871 Sun Jul 11 05:18:17 2005 Michael Neumann <mneumann@ruby-lang.org>
32873 * lib/xmlrpc/server.rb (XMLRPC::Server): Switch from GServer over to
32874 WEBrick. This makes file lib/xmlrpc/httpserver.rb obsolete (at least it is
32875 no further used by the XML-RPC library).
32877 Mon Jul 11 02:50:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32879 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
32880 mistook to merge the patch of [ruby-dev:26235] at
32883 Sun Jul 10 23:58:04 2005 Tanaka Akira <akr@m17n.org>
32885 * lib/pathname.rb (Pathname#unlink): try Dir.unlink first to
32886 avoid unlink a directory by root.
32887 cf. [ruby-dev:26237]
32889 Sun Jul 10 12:47:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32891 * lib/debug.rb (debug_command): added a deficient format specifier.
32892 fixed: [ruby-core:05419]
32894 Sat Jul 9 22:02:37 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
32896 * ext/win32ole/win32ole.c (ole_method_dispid): convert dispid
32897 in Ruby and C by INT2NUM and NUM2INT.
32899 * ext/win32ole/win32ole.c (ole_invoke2): ditto.
32901 * ext/win32ole/test/testWIN32OLE.rb: ditto.
32903 * ext/win32ole/test/testOLEMETHOD.rb: ditto.
32905 Fri Jul 8 15:45:04 2005 Kouhei Sutou <kou@cozmixng.org>
32907 * lib/rss/rss.rb (RSS::VERSION): 0.1.4 -> 0.1.5.
32909 * test/rss/test_version.rb (RSS::TestVersion#test_version):
32912 * lib/rss/0.9.rb (RSS::Rss::Channel::Item::Category):
32913 domain attribute of <category> is optional. Thanks to
32914 Chris Lee <clee@kde.org>.
32916 * test/rss/test_parser.rb (RSS::TestParser#test_category20):
32917 adjusted test case.
32919 Wed Jul 6 18:45:53 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32921 * object.c (rb_obj_pattern_match): now returns nil.
32924 Mon Jul 4 14:35:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32926 * sample/svr.rb: service can be stopped by ill-behaved client; use
32929 Mon Jul 4 13:25:21 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32931 * missing/erf.c: original erf.c by prof. Okumura is confirmed to
32932 be public domain. reverted BSD implementation.
32934 Wed Jul 6 11:15:21 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32936 * win32/win32.c (open_ifs_socket): new function.
32938 * win32/win32.c (StartSockets, rb_w32_socket): use open_ifs_socket()
32939 instead of socket().
32940 all changes are derived from [ruby-core:5388].
32942 Wed Jul 6 00:15:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
32944 * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:
32945 imported nkf.c 1.70 (support UTF-8-MAC)
32947 * ext/nkf/lib/kconv.rb: add :utf8mac and :internalunicode
32949 Tue Jul 5 23:44:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32951 * instruby.rb: expand source library path.
32953 Tue Jul 5 23:27:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32955 * array.c (sort_2): get rid of yet another bcc's bug.
32956 fixed: [ruby-core:05152]
32958 * eval.c (rb_thread_save_context): must not switch contexts during
32959 re-allocating stack. fixed: [ruby-core:05219]
32961 Tue Jul 5 15:15:10 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32963 * ext/tk/tkutil.c: fix typo.
32965 Tue Jul 5 14:52:56 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32967 * ext/tk/tcltklib.c: bug fix on treating Unicode strings.
32969 * ext/tk/tcltklib.c: add methods to treat encoding mode.
32971 * ext/tk/MANUAL_tcltklib.eng: add description of TclTkLib#encoding,
32972 encoding_system, and so on.
32974 * ext/tk/MANUAL_tcltklib.eucj: ditto.
32976 * ext/tk/tkutil/tkutil.c: fail to create a Tcl's list string from
32977 an array including multiple kind of encoded strings.
32979 * ext/tk/lib/tk.rb: ditto.
32981 * ext/tk/lib/multi-tk.rb: 2nd arg of _{to|from}UTF8 is omissible.
32983 * ext/tk/lib/remote-tk.rb: ditto.
32985 * ext/tk/lib/tk.rb: override TclTkLib#encoding and encoding= to
32986 use TkCore::INTERP.encoding and encoding=.
32988 * ext/tk/lib/tk.rb: when "require 'tk'" and $KCODE=='NONE', check
32989 DEFAULT_TK_ENCODING to decide Ruby/Tk's system encoding mode.
32991 * ext/tk/lib/tk/encodedstr.rb: check both of Tk.encoding and
32992 Tk.encoding_system. Tk.encoding has higher priority.
32994 * ext/tk/lib/tk/optiondb.rb: ditto.
32996 * ext/tk/lib/tk/spinbox.rb: ditto.
32998 * ext/tk/lib/tk/validation.rb: ditto.
33000 * ext/tk/lib/tk/namespace.rb: arguemnts for TclTkIp#_merge_tklist
33001 should be UTF-8 strings.
33003 Mon Jul 4 19:29:32 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33005 * lib/set.rb: test change to follow revision 1.28. (duck typing?)
33007 Mon Jul 4 11:23:50 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33009 * test/{dbm,gdbm,sdbm}/test_{dbm,gdbm,sdbm}.rb: skip some tests
33010 which using fork on fork-less platforms.
33012 Sun Jul 3 23:26:30 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
33014 * test/wsdl/document/test_rpc.rb: compare formatted time string of
33015 Time objects instead of comparing Time objects itself to avoid
33016 unintended conflict of usec part. [ruby-dev:26220]
33018 Sat Jul 2 22:41:04 2005 Tanaka Akira <akr@m17n.org>
33020 * ext/socket/socket.c (unix_send_io, unix_recv_io): support x86-64 and
33023 Sat Jul 2 17:06:23 2005 Tanaka Akira <akr@m17n.org>
33025 * defines.h (FLUSH_REGISTER_WINDOWS): defined for IA64.
33026 (flush_register_windows): declare flush_register_windows.
33028 * eval.c (flush_register_windows): new function.
33030 * ruby.h (NOINLINE): move up to be effective in defines.h.
33032 Sat Jul 2 15:19:41 2005 Tanaka Akira <akr@m17n.org>
33034 * configure.in: check select_large_fdset.
33036 * eval.c: use select_large_fdset to support large file descriptors
33037 on Solaris. [ruby-dev:26404]
33039 Fri Jul 1 17:55:08 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33041 * bignum.c (rb_big_neg): may be accessing bogus pointer value.
33043 Fri Jul 1 15:50:12 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33045 * missing/erf.c: need to include some headers for some platforms.
33047 * win32/win32.h (copysign, scalb): define for compatibility with
33048 other platforms. [ruby-dev:26430]
33050 Fri Jul 1 15:37:42 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33052 * missing/crypt.c: modified to make it compilable on platforms
33053 other than BSD. [ruby-dev:26430]
33055 * missing/erf.c: ditto. code from <exp.c> merged.
33057 Fri Jul 1 12:44:56 2005 Tanaka Akira <akr@m17n.org>
33059 * lib/open-uri.rb (OpenURI.open_http): refine post_connection_check
33062 Fri Jul 1 11:34:08 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33064 * missing/crypt.c: replaced with 4.4BSD version.
33066 * missing/erf.c: ditto.
33068 * missing/vsnprintf.c: removed the third provision from the old
33069 BSD license. [ruby-core:05177]
33071 Fri Jul 1 01:45:21 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33073 * enum.c (enum_min, enum_max): must not return Qundef.
33074 fixed: [ruby-core:05299]
33076 Fri Jul 1 00:18:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33078 * lib/delegate.rb (Delegator::respond_to): respond_to? must check
33079 destination object. [ruby-talk:146894]
33081 Thu Jun 30 23:52:12 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33083 * signal.c (trap): non-string trap hander was ignored.
33084 fixed: [ruby-dev:26417]
33086 Thu Jun 30 19:00:21 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
33088 * lib/irb/ruby-lex.rb (RubyLex::identify_number): alternative implements
33089 for [ruby-dev:26410]. And support a numeric form of 0d99999.
33091 Thu Jun 30 17:28:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33093 * lib/irb/ruby-lex.rb (RubyLex::identify_number): should not treat
33094 plain zero as an octal number. [ruby-dev:26410]
33096 Thu Jun 30 15:13:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33098 * eval.c (rb_eval): pre-evaluate argument for unambiguous
33099 evaluation order. [ruby-dev:26383]
33101 Thu Jun 30 14:48:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33103 * lib/net/http.rb (Net::HTTP#connect, Net::HTTP#request): should
33104 not send proxy username and password to origin servers.
33107 * lib/net/http.rb (Net::HTTP::ProxyDelta#edit_path): should not
33108 send HTTPS scheme URL to origine servers. [ruby-dev:25689]
33110 Thu Jun 30 09:53:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33112 * lib/delegate.rb (Delegator::method_missing): forward unknown
33113 method to the destination. suggested by
33114 <christophe.poucet@gmail.com>. [ruby-talk:146776]
33116 Wed Jun 29 00:03:20 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
33118 * regparse.c (fetch_token): avoid warning of unused goto tag.
33121 Tue Jun 28 21:59:29 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
33123 * dir.c, eval.c, parse.y, process.c, ruby.c: avoid warning "unused
33124 variable" [ruby-dev:26387]
33126 * dir.c (glob_helper): avoid warning "enumeration value `RECURSIVE'
33127 not handled in switch" [ruby-dev:26392]
33129 Tue Jun 28 01:52:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
33131 * ext/nkf/lib/kconv.rb: add Kconv::VERSION
33132 * ext/nkf/lib/kconv.rb (conv): can process arrayed options
33133 * ext/nkf/nkf-utf8/nkf.c: imported Revision 1.69
33134 * ext/nkf/nkf-utf8/utf8tbl.c: imported Revision 1.9
33136 Sat Jun 25 23:30:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33138 * process.c (detach_process_watcher): terminate process watcher
33139 thread right after rb_waitpid() succeed. [ruby-talk:146430]
33141 Sat Jun 25 17:12:20 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33143 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_query): should
33144 discard if key=val pair is empty. patch from Gary Wright.
33146 Sat Jun 25 15:49:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33148 * enum.c (enum_min, enum_max, enum_min_by, enum_max_by): do not ignore
33149 nil as the first element.
33151 Sat Jun 25 15:13:54 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33153 * lib/set.rb (Set#==): [ruby-dev:25206] (ported from ruby_1_8 branch)
33155 Sat Jun 25 11:37:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
33157 * ext/nkf/lib/kconv.rb: remove constants
33158 Iconv_Shift_JIS, Uconv_EUC_JP, Iconv_UTF8
33159 * ext/nkf/lib/kconv.rb: add module functions to Kconv
33160 conv, {eucjp, shiftjis, utf8}?, guess_as_symbol
33161 * ext/nkf/lib/kconv.rb: add instance methods to String
33162 conv, {eucjp, shiftjis, utf8}?
33163 * ext/nkf/lib/kconv.rb: add aliases Kconv.to_* and String#to_*
33165 Fri Jun 24 17:00:00 2005 Shigeo Kobayashi <shigeo@tinyforest.jp>
33167 * ext/bigdecimal/bigdecimal.c: patch from "NATORI Shin"
33168 (u-tokyo.ac.jp) applied to fix rounding bug.
33170 Fri Jun 24 13:17:45 2005 akira yamada <akira@ruby-lang.org>
33172 * lib/uri/common.rb, lib/uri/generic.rb: fixed typo in documents and
33173 replaced some existent domain name with "example.com".
33175 Fri Jun 24 12:23:19 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33177 * ext/tk/lib/tk.rb: fix typo on Tk.grid_propagate.
33179 * ext/tk/lib/tk.rb: Tk.event_generate and TkWindow#event_generate
33180 accept TkEvent::Event object as context argument.
33182 * ext/tk/lib/tk/event.rb: add TkEvent::Event#valid_fields and
33183 valid_for_generate to get field parameters of event_generate.
33185 Thu Jun 23 23:55:59 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33187 * runruby.rb: should load built rbconfig.rb.
33189 Thu Jun 23 16:53:15 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33191 * ext/tk/lib/tk/canvastag.rb: TkcGroup.new cannot include given items.
33192 TkcGroup#exclude calls wrong method.
33193 Add alias TkcGroup#add [ruby-talk:146049].
33195 * ext/tk/lib/tk/canvas.rb: TkCanvas#dtag and some subcommands of
33196 TkCanvas#addtag fail to treat a TkcTag argument.
33198 * ext/tk/lib/tk/event.rb: add TkEvent::Event#generate to help to send
33199 current event to other widgets.
33201 Mon Jun 20 18:44:04 2005 Tanaka Akira <akr@m17n.org>
33203 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): DUMMY_SETJMP is replaced
33204 because setjmp is not enough to fix getcontext and SPARC register
33207 Mon Jun 20 17:15:51 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33209 * ext/dbm/dbm.c (fdbm_closed): new method DBM#closed?
33211 * ext/gdbm/gdbm.c (fgdbm_closed): new method GDBM#closed?
33213 * ext/sdbm/init.c (fsdbm_closed): new method SDBM#closed?
33215 * test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb
33216 (teardown): close all db objects before deleting data files.
33218 * win32/win32.{ch} (unlink): hook runtime function to change
33219 file attribute before unlinking.
33220 merge from 1.8, see [ruby-dev:26360]
33222 Mon Jun 20 02:15:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33224 * gc.c (define_final): document fix: finalizers never get called
33225 before target object is destroyed.
33227 Mon Jun 20 01:26:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33229 * ext/openssl/openssl_missing.c, ext/openssl/ossl.h,
33230 ext/openssl/ossl_asn1.c, ext/openssl/ossl_bio.c,
33231 ext/openssl/ossl_pkcs12.h, ext/openssl/ossl_x509req.c: avoid
33232 compiler warnings. suggested by Michal Rokos.
33234 Sun Jun 20 00:22:02 2005 Michael Neumann <mneumann@ruby-lang.org>
33236 * lib/xmlrpc/utils.rb: Patch by Nobuhiro IMAI fixes the following
33237 problem: Default value modification on
33238 Module#public_instance_methods (false -> true) breaks
33239 s.add_handler(XMLRPC::iPIMethods("sample"), MyHandler.new) style
33240 security protection.
33242 * lib/xmlrpc/client.rb: Aliased XMLRPC::Client#new2 as
33243 XMLRPC::Client#new_from_uri, and #new3 as #new_from_hash.
33245 Sun Jun 19 14:09:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33247 * gc.c (run_final): reduce unnecessary object allocation during
33250 * gc.c (rb_gc_call_finalizer_at_exit): deferred finalizers list should
33251 be cleared before calling them. fixed: [ruby-talk:145790]
33253 Sat Jun 18 01:15:36 2005 Shugo Maeda <shugo@ruby-lang.org>
33255 * ext/readline/readline.c (readline_readline): do not set
33258 * ext/readline/readline.c (readline_s_set_input): new method.
33260 * ext/readline/readline.c (readline_s_set_output): new method.
33262 * lib/irb/input-method.rb: set Readline.input and Readline.output.
33264 Fri Jun 17 13:01:40 2005 Tanaka Akira <akr@m17n.org>
33266 * lib/time.rb (Time.parse): fix previous leap seconds support.
33267 (Time.rfc2822): ditto.
33268 (Time.xmlschema): ditto.
33270 Thu Jun 16 15:41:32 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33272 * ruby.c (load_file): '!' is already read. reported by gotoyuzo.
33274 Thu Jun 16 15:09:38 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33276 * ext/tk/tcltklib.c (ip_rb_threadVwaitCommand): Tcl_Release
33279 Thu Jun 16 13:34:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33281 * ext/tk/lib/tk.rb: add Tk.getMultiple{Open|Save}File() which return
33282 an Array of selected files.
33284 Thu Jun 16 12:53:24 2005 Tanaka Akira <akr@m17n.org>
33286 * lib/time.rb (Time.parse): "Fri Jan 1 08:59:60 +0900 1999" was
33287 parsed as "Fri Jan 01 09:00:00 JST 1999" even on an environment
33288 which supports leap seconds.
33289 (Time.rfc2822): ditto.
33290 (Time.xmlschema): ditto.
33292 Thu Jun 16 00:13:41 2005 Tanaka Akira <akr@m17n.org>
33294 * lib/resolv.rb (Resolv::DNS::Resource#ttl): new attribute.
33295 (Resolv::DNS::Resource#==): ignore @ttl.
33296 (Resolv::DNS::Resource#hash): ditto.
33297 (Resolv::DNS::Message::MessageDecoder#get_rr): save TTL in a
33299 based on [ruby-core:5190] by Eric Hodel.
33301 Wed Jun 15 18:26:39 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33303 * ext/tk/lib/tk.rb: support "tk inactive" sub-command [for Tcl/Tk8.5a3]
33305 * ext/tk/lib/tk/namespace.rb: support "namespace path" sub-command and
33306 'namespace ensemble' sub-command [for Tcl/Tk8.5a3]
33308 Tue Jun 14 02:02:43 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33310 * ext/tk/tkutil/tkutil.c: add TkUtil::CallbackSubst.subst_arg(m, ...)
33311 & _define_attribute_aliases(hash) to get substitution-argument from
33312 attributes (e.g. subst_arg(:x,:y,:num,:button) --> "%x %y %b %b ").
33314 * ext/tk/lib/tk/event.rb: use _define_attribute_aliases().
33316 Mon Jun 13 13:03:08 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33318 * hash.c (ruby_setenv): fixed SEGV. [ruby-dev:26186]
33320 Mon Jun 13 01:54:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33322 * signal.c (sigexit): call rb_thread_signal_exit() instead of
33323 rb_exit(). [ruby-dev:26347]
33325 * eval.c (rb_thread_signal_exit): a new function to exit on main
33328 * eval.c (rb_thread_switch): exit status should be retrieved from
33331 * eval.c (rb_f_exit): ensure exit(0) should call
33332 exit(EXIT_SUCCESS).
33334 Mon Jun 13 01:20:02 2005 Tanaka Akira <akr@m17n.org>
33336 * eval.c (rb_gc_mark_threads): curr_thread may not be part of the
33337 thread list. [ruby-dev:26312]
33339 Sat Jun 11 22:34:44 2005 Minero Aoki <aamine@loveruby.net>
33341 * parse.y: missing arg_paren event. This patch is contributed by
33342 Mitchell N Charity.
33344 Fri Jun 10 23:55:17 2005 Tanaka Akira <akr@m17n.org>
33346 * eval.c (unknown_node): show more information. [ruby-dev:26196]
33348 Fri Jun 10 23:35:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33350 * missing/mkdir.c: remove. [ruby-core:05177]
33352 Fri Jun 10 22:54:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33354 * missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179]
33356 Thu Jun 9 23:58:12 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33358 * ext/Win32API/Win32API.c (Win32API_Call): disable global
33359 optimization. fixed: [ruby-core:05143]
33361 Thu Jun 9 23:35:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33363 * enum.c (enum_inject): default the result value to Qundef to use
33364 first element as initial value if not given.
33366 Thu Jun 9 19:55:41 2005 Tanaka Akira <akr@m17n.org>
33368 * eval.c (ruby_longjmp): new macro to call longjmp, setcontext, etc.
33369 (ruby_setjmp): new macro to call setjmp, getcontext, etc.
33370 (ruby_setjmp): call setjmp before getcontext to avoid IA64 register
33374 * gc.c (Init_stack): remove IA64_MAGIC_STACK_LIMIT.
33376 Thu Jun 9 18:24:16 2005 Tanaka Akira <akr@m17n.org>
33378 * configure.in, eval.c, gc.c: use libunwind only on HP-UX.
33381 Thu Jun 9 14:46:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33383 * hash.c (env_aset): do not treat nil as key-removing value.
33386 * parse.y (method_call): allow aref expression ([]) to take a
33389 * parse.y (block_dup_check): a function to check duplication of
33390 a block argument and an actual block.
33392 Thu Jun 9 11:55:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33394 * lib/delegate.rb (SimpleDelegator::__setobj__): need check for
33395 recursive delegation. [ruby-core:04940]
33397 Thu Jun 9 11:50:43 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33399 * lib/cgi.rb: add underscore aliases CGI::escape_html,
33400 CGI::unescape_html, CGI::escape_element, CGI::unescape_element.
33403 Wed Jun 8 18:47:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33405 * misc/ruby-mode.el (ruby-expr-beg): fix looking point drift.
33407 Wed Jun 8 12:25:59 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33409 * array.c (rb_ary_nitems): add the block feature to Array#nitems.
33410 suggested by Bertram Scharpf <lists@bertram-scharpf.de> in
33411 [ruby-talk:134083].
33413 Wed Jun 8 11:11:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33415 * bignum.c (get2comp): revert all prior changes, and calculate
33416 proper 2's complement for negative numbers.
33418 Wed Jun 8 08:33:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33420 * enum.c (enum_min_by, enum_max_by): return nil if no iteration.
33421 fixed: [ruby-dev:26245]
33423 * eval.c (rb_need_block): ensure a block is given.
33425 * eval.c (backtrace): skip successive frames sharing same node.
33427 Wed Jun 8 01:27:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33429 * bignum.c (bignorm): fixed a bug in normalizing negative numbers
33430 reported from Honda Hiroki <hhonda@ipflex.com>. normalizing
33431 should not trim leading zeros from negative numbers.
33433 * bignum.c (rb_cstr_to_inum): must remove leading zeros for this
33436 Wed Jun 8 00:15:08 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33438 * ext/socket/socket.c (ruby_getaddrinfo__aix): merged a patch from
33439 KUBO Takehiro <kubo at jiubao.org> to support AIX. [ruby-list:40832]
33441 Wed Jun 8 00:09:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33443 * lib/yaml/rubytypes.rb (Array::to_yaml): merged a patch from
33444 Tilman Sauerbeck <tilman at code-monkey.de>. [ruby-core:05055]
33446 * lib/yaml/rubytypes.rb (Hash::to_yaml): ditto.
33448 Wed Jun 8 00:00:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33450 * ext/curses/curses.c (curses_insertln): merged a patch from
33451 TAKAHASHI Tamotsu <ttakah at lapis.plala.or.jp>. [ruby-ext:02305]
33453 Tue Jun 7 19:34:15 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33455 * lib/irb/init.rb (IRB::IRB.rc_file_generators): more flexible
33456 IRB.rc_file_generators. [ruby-core:05163]
33458 Tue Jun 7 18:39:31 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33460 * lib/thread.rb: RDoc documentation from Eric Hodel
33461 <drbrain@segment7.net> added. [ruby-core:05148]
33463 Tue Jun 7 18:30:04 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33465 * lib/mkmf.rb (create_makefile): add .SUFFIXES from depend file.
33466 fixed: [ruby-dev:26294]
33468 Tue Jun 7 17:20:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33470 * parse.y (parser_yylex): allow ';;' to be block terminator in
33471 place of 'end'. [highly experimental]
33473 * misc/ruby-mode.el (ruby-block-end-re): allow ';;' to be a
33474 negative indent trigger. [highly experimental]
33476 * parse.y (parser_yylex): small error fixed.
33478 Tue Jun 7 16:45:49 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33480 * parse.y (parser_yylex): "respond_to?:foo" should be interpreted
33481 as "respond_to? :foo" at the command level. [ruby-talk:144303]
33483 Tue Jun 7 16:32:53 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33485 * sprintf.c (rb_f_sprintf): raise exception on debug mode (-d),
33486 not verbose mode (-v/-w). [ruby-core:05123]
33488 * sprintf.c (rb_f_sprintf): warn always on verbose mode.
33490 Tue Jun 7 10:30:49 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33492 * ext/tk/lib/multi-tk.rb: slave-ip fails to call procedures
33493 delegated by master-ip.
33495 Mon Jun 6 16:35:18 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33497 * ext/ripper/depend: add .y to .SUFFIXES for nmake.
33499 Sun Jun 5 23:00:35 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33501 * ext/tk/lib/tk/console.rb: create console when required
33503 * ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console
33505 Sun Jun 5 10:23:52 2005 Tanaka Akira <akr@m17n.org>
33507 * signal.c (ruby_signal): don't set SA_RESTART.
33510 Sat Jun 4 14:55:18 2005 Tanaka Akira <akr@m17n.org>
33512 * test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.
33514 * test/gdbm/test_gdbm.rb: merged from ext/gdbm/testgdbm.rb.
33516 * test/sdbm/test_sdbm.rb: renamed from ext/sdbm/testsdbm.rb with
33517 modification to use test/unit.
33519 Fri Jun 3 23:23:02 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33521 * intern.h (rb_fdset_t): deal with fd bit sets over FD_SETSIZE.
33522 fixed: [ruby-dev:26187]
33524 * eval.c (rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr,
33525 rb_fd_isset, rb_fd_copy): ditto.
33527 * io.c (rb_io_wait_readable, rb_io_wait_writable, rb_f_select): ditto.
33529 * ext/io/wait/wait.c (io_wait): ditto.
33531 * ext/socket/socket.c (wait_connectable, unix_recv_io): ditto.
33533 Fri Jun 3 14:06:12 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33535 * ext/tk/lib/multi-tk.rb: fix typo.
33537 Thu Jun 2 23:42:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33539 * parse.y: pragma support on ripper. [ruby-dev:26266]
33541 Thu Jun 2 00:02:16 2005 Minero Aoki <aamine@loveruby.net>
33543 * struct.c: accessing >10 member caused segmentation fault.
33546 * test/ruby/test_struct.rb: test it.
33548 Wed Jun 1 11:30:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33550 * bcc32/Makefile.sub: can use single quote character in DESTDIR.
33553 * bcc32/Makefile.sub: Dir.glob in 1.9 doesn't treat \ as path separator.
33556 Wed Jun 1 00:11:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33558 * parse.y (method_call): new experiment: "(expr)(args...)" to
33559 invoke "expr.call(args...)". [EXPERIMENTAL]
33561 Tue May 31 23:43:41 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33563 * parse.y (command): revert implicit "call" for local variables.
33565 Tue May 31 15:52:45 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33567 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should
33568 break the loop if the socket reached to EOF. [ruby-talk:142285]
33570 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): send response
33571 without reading the whole request body if keep-alive is diabled.
33574 Mon May 30 23:48:29 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33576 * ext/tk/lib/tk/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk
33579 * ext/tk/lib/tk/msgcat.rb: ditto.
33581 * ext/tk/lib/tk/winpkg.rb: ditto.
33583 * ext/tk/lib/tkextlib/*: ditto.
33585 Sat May 28 16:39:21 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33587 * test/openssl/test_x509store.rb: add test for expired CRL
33588 and refine some assertions.
33590 Sat May 28 05:15:44 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33592 * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_time): should
33593 not set internal flag directry.
33595 Sat May 28 02:00:11 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33597 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
33598 ENV["REQUEST_URI"] is better to get correct Request-URI
33599 than ENV["SCRIPT_NAME"] + ENV["PATH_INFO"]. [ruby-dev:26235]
33601 Fri May 27 16:32:04 2005 WATANABE Hirofumi <eban@ruby-lang.org>
33603 * lib/mkmf.rb: use the semicolon as the path separator
33604 in the environment of MSYS. fixed: [ruby-dev:26232]
33606 Thu May 26 20:31:21 2005 Minero Aoki <aamine@loveruby.net>
33608 * lib/fileutils.rb (remove_entry_secure): add documentation.
33610 * lib/fileutils.rb (remove_entry_secure): should not invoke
33611 unlink(2) against a directory.
33613 Thu May 26 08:29:19 2005 Akiyoshi, Masamichi <akiyoshi@hp.com>
33615 * vms/vmsruby_private.c, vms/vmsruby_private.h: private routines
33616 for VMS port are added.
33618 * eval.c (ruby_init): change to call VMS private intialization routine.
33620 Thu May 26 07:39:07 2005 Minero Aoki <aamine@loveruby.net>
33622 * lib/fileutils.rb (rm_r): use lchown(2), not chown(2).
33625 * lib/fileutils.rb (cd): remove :noop option. (feature change)
33627 * lib/fileutils.rb (cp_r): should copy symlink as symlink, for
33628 also tree root. (feature change)
33630 * lib/fileutils.rb (cp_r): new option :dereference_root.
33632 * lib/fileutils.rb: new method remove_entry.
33634 * lib/fileutils.rb: new method remove_entry_secure.
33636 * lib/fileutils.rb: add documentation.
33638 Thu May 26 06:08:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33640 * ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_list
33642 Wed May 25 20:06:27 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33644 * ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJIS
33645 strings. To avoid the trouble, add arguments to control converting
33646 encoding, and do split on a UTF8 string.
33648 * ext/tk/lib/multi-tk.rb: modify to attend encoding.
33650 * ext/tk/lib/remote-tk.rb: ditto.
33652 * ext/tk/lib/tk/itemconfig.rb: ditto.
33654 * ext/tk/lib/tk/listbox.rb: ditto.
33656 * ext/tk/lib/tk/namespace.rb: ditto.
33658 * ext/tk/lib/tk/panedwindow.rb: ditto.
33660 * ext/tk/lib/tk/text.rb: ditto.
33662 * ext/tk/lib/tk/textmark.rb: ditto.
33664 * ext/tk/lib/tk/texttag.rb: ditto.
33666 * ext/tk/lib/tk/variable.rb: ditto.
33668 * ext/tk/lib/tk/winfo.rb: ditto.
33670 * ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb: ditto.
33672 * ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: ditto.
33674 * ext/tk/lib/tk.rb: add TkWindow#lower_window/raise_window and
33675 Tk#lower_window/raise_window by reason of method-name conflict
33677 * ext/tk/lib/tk/canvas.rb: bug fix on TkCanvas#delete when given
33678 non-TkcItem arguments.
33680 * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto.
33682 Wed May 25 19:48:12 2005 Minero Aoki <aamine@loveruby.net>
33684 * lib/fileutils.rb (rm_r): does chown(2). [ruby-dev:26199]
33686 Wed May 25 12:59:48 2005 Tanaka Akira <akr@m17n.org>
33688 * lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content of
33689 quoted-string should be zero or more characters.
33691 Tue May 24 23:42:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33693 * numeric.c (fix_pow): support Fixnum ** Float case directly
33694 without coercing. [ruby-talk:142697] [ruby-talk:143054]
33696 Tue May 24 16:57:24 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33698 * ruby.c (require_libraries): caused SEGV when continuation jumped
33699 in to the required library code.
33701 Tue May 24 17:45:59 2005 Shugo Maeda <shugo@ruby-lang.org>
33703 * test/readline/test_readline.rb: do not test libedit.
33704 fixed: [ruby-dev:26217]
33706 Tue May 24 06:45:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33708 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): string
33709 literals to be matched non-greedy.
33711 Tue May 24 00:39:14 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
33713 * test/soap/calc: method name 'set' was able to crash with a class Set.
33716 * test/wsdl/document/test_rpc.rb: dateTime comparison failed under
33717 TZ=right/Asia/Tokyo (with leap second.) [ruby-dev:26208]
33719 Mon May 23 16:23:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33721 * ext/tk/extconf.rb: Framework support on MacOS X Tiger.
33723 * ext/tk/README.tcltklib: add description of Framework support options.
33725 Mon May 23 15:07:34 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33727 * win32/Makefile.sub ($(PROGRAM)): add dependency on $(LIBRUBY_SO).
33730 Mon May 23 12:21:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33732 * re.c (make_regexp): should not return junk address during
33733 compile time. [ruby-dev:26206]
33735 Sun May 22 21:54:06 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
33737 * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.
33739 == SOAP client and server ==
33741 === for both client side and server side ===
33743 * improved document/literal service support.
33744 style(rpc,document)/use(encoding, literal) combination are all
33745 supported. for the detail about combination, see
33746 test/soap/test_style.rb.
33748 * let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to
33749 WSDL as well as obj2soap. closes #70.
33751 * let SOAP::Mapping::Object handle XML attribute for doc/lit service.
33752 you can set/get XML attribute via accessor methods which as a name
33753 'xmlattr_' prefixed (<foo name="bar"/> -> Foo#xmlattr_name).
33755 === client side ===
33757 * WSDLDriver capitalized name operation bug fixed. from
33758 1.5.3-ruby1.8.2, operation which has capitalized name (such as
33759 KeywordSearchRequest in AWS) is defined as a method having
33760 uncapitalized name. (converted with GenSupport.safemethodname
33761 to handle operation name 'foo-bar'). it introduced serious
33762 incompatibility; in the past, it was defined as a capitalized.
33763 define capitalized method as well under that circumstance.
33765 * added new factory interface 'WSDLDriverFactory#create_rpc_driver'
33766 to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver
33767 are merged). 'WSDLDriverFactory#create_driver' still creates
33768 WSDLDriver for compatibility but it warns that the method is
33769 deprecated. please use create_rpc_driver instead of create_driver.
33771 * allow to use an URI object as an endpoint_url even with net/http,
33774 === server side ===
33776 * added mod_ruby support to SOAP::CGIStub. rename a CGI script
33777 server.cgi to server.rb and let mod_ruby's RubyHandler handles the
33778 script. CGIStub detects if it's running under mod_ruby environment
33781 * added fcgi support to SOAP::CGIStub. see the sample at
33782 sample/soap/calc/server.fcgi. (almost same as server.cgi but has
33783 fcgi handler at the bottom.)
33785 * allow to return a SOAPFault object to respond customized SOAP fault.
33787 * added the interface 'generate_explicit_type' for server side
33788 (CGIStub, HTTPServer). call 'self.generate_explicit_type = true'
33789 if you want to return simplified XML even if it's rpc/encoded
33794 === WSDL definition ===
33796 * improved XML Schema support such as extension, restriction,
33797 simpleType, complexType + simpleContent, ref, length, import,
33800 * reduced "unknown element/attribute" warnings (warn only 1 time for
33803 * importing XSD file at schemaLocation with xsd:import.
33805 === code generation from WSDL ===
33807 * generator crashed when there's '-' in defined element/attribute
33810 * added ApacheMap WSDL definition.
33812 * sample/{soap,wsdl}: removed.
33814 Sun May 22 19:11:35 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33816 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):
33817 should initialize session id context. [ruby-core:4663]
33819 * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): add session id support.
33821 Sun May 22 12:30:58 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33823 * intern.h, parse.y (ruby_pragma): removed. fixed: [ruby-dev:26198]
33825 * parse.y (parser_pragma): pragma name was ignored.
33827 Sun May 22 02:39:57 2005 Minero Aoki <aamine@loveruby.net>
33829 * lib/fileutils.rb (rm_r): new option :secure to avoid
33830 time-to-check-to-time-to-use security problem. [ruby-dev:26100]
33832 * lib/fileutils.rb (remove_file, remove_dir): try chmod(700) only
33835 * lib/fileutils.rb: does not depend on find.rb.
33837 * lib/fileutils.rb: new method chmod_R.
33839 * lib/fileutils.rb (chown_R): did not work.
33841 Sat May 21 10:23:21 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33843 * bcc32/Makefile.sub: tds files were not deleted when DESTDIR
33844 included '\' path delimiter. [ruby-dev:26193]
33846 Fri May 20 15:52:18 2005 Shugo Maeda <shugo@ruby-lang.org>
33848 * ext/readline/readline.c (readline_attempted_completion_function):
33849 return 2 items if completion_proc returns only 1 item (for libedit).
33851 Fri May 20 01:24:33 2005 Shugo Maeda <shugo@ruby-lang.org>
33853 * ext/readline/extconf.rb: check rl_vi_editing_mode() and
33854 rl_emacs_editing_mode().
33856 Thu May 19 23:33:09 2005 Shugo Maeda <shugo@ruby-lang.org>
33858 * ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]
33860 * ext/readline/extconf.rb: added new option --enable-libedit.
33862 * test/readline/test_readline.rb: added assertions for
33865 * lib/irb/input-method.rb: do not use Readline::HISTORY.pop.
33867 Wed May 18 23:42:25 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33869 * error.c (exc_exception): reverted to call Exception#initialize
33870 directly. fixed: [ruby-dev:26177]
33872 Wed May 18 17:38:51 2005 WATANABE Hirofumi <eban@ruby-lang.org>
33874 * dir.c (glob_helper): check whether path is "" before calling
33875 do_opendir. [ruby-dev:26183]
33877 Wed May 18 13:40:48 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33879 * win32/win32.c (NtInitialize): fix typo.
33881 Wed May 18 11:07:47 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33883 * dir.c (glob_helper): get rid of using String. [ruby-dev:26180]
33885 * eval.c (ruby_options), win32/win32.c (NtInitialize): move argument
33886 intialization back. [ruby-dev:26180]
33888 Tue May 17 11:49:18 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33890 * win32/win32.c (unixtime_to_filetime): use localtime() instead of
33891 gmtime() when using FileLocalTimeToFileTime().
33893 Mon May 16 22:42:52 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33895 * win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
33896 to get rid of redefinition warnings on mingw.
33898 * class.c (rb_class_init_copy): singleton class is disallowed to copy,
33899 from its definition. fixed: [ruby-talk:142749]
33901 * parse.y (pragma_encoding): add prototype to suppress false warning
33904 * process.c (proc_spawn_v): use rb_w32_aspawn on Win32.
33906 Mon May 16 03:29:01 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33908 * win32/win32.{h,c}: define rb_[pgu]id_t.
33910 Mon May 16 00:21:02 2005 Tanaka Akira <akr@m17n.org>
33912 * lib/pathname.rb (Pathname#unlink): use SystemCallError instead of
33913 Errno::EISDIR because EISDIR is not portable.
33916 Sun May 15 22:28:10 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
33918 * lib/drb/drb.rb (DRbObject#method_missing): use raise(exception).
33921 Sun May 15 18:56:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33923 * configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefs
33924 to get rid of types which might not be defined yet. [ruby-dev:26165]
33926 Sun May 15 14:35:46 2005 Tanaka Akira <akr@m17n.org>
33928 * lib/pathname.rb (Pathname#unlink): unlink a symlink to a directory
33929 was failed. [ruby-core:4992]
33931 Sun May 15 09:57:30 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33933 * win32/win32.c (unixtime_to_filetime): deal with DST.
33936 Sat May 14 23:59:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33938 * error.c (exc_exception, {exit,name_err,syserr}_initialize): call
33939 Execption#initialize. fixed: [ruby-talk:142593]
33941 Sat May 14 23:56:41 2005 Erik Huelsmann <ehuels@gmail.com>
33943 * configure.in: Check for the availability of pid_t, gid_t and uid_t and
33944 remove AC_TYPE_UID_T. fixed: [ruby-core:04745]
33946 * defines.h: Remove pid_t typedef.
33948 * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with
33949 the available system types.
33951 * process.c: Change instances of pid_t and gid_t to their rb_*
33954 * ext/pty/pty.c: Change pid_t to rb_pid_t.
33956 * vms/config.h: Define HAVE_{P,G,U}ID_T to 1.
33958 * win32/Makefile.sub: Remove #define for {g,u}id_t.
33960 * win32/win32.c: Change pid_t to rb_pid_t.
33962 * wince/Makefile.sub: Remove #define for {g,u}id_t.
33964 * wince/sys/types.h: Remove definitions of {p,g,u}id_t.
33966 Sat May 14 11:47:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33968 * intern.h (ruby_pragma): prototype. [ruby-core:04881]
33970 * parse.y (parser_pragma): parse Emacsen hack.
33972 * parse.y (parser_prepare): deal with specific syntax at the top.
33974 * ruby.c (load_file): read the first line iff it started with shebang.
33976 Fri May 13 23:44:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33978 * ext/extmk.rb: keep srcdir unexpanded.
33980 * lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
33981 fixed: [ruby-core:04932]
33983 * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
33984 also INSTALL_PROG and INSTALL_DATA system dependent.
33985 fixed: [ruby-core:04931]
33987 Fri May 13 23:32:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33989 * eval.c (unknown_node): add volatile directive to prototype.
33991 Fri May 13 17:50:49 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33993 * variable.c (generic_ivar_get): rb_attr_get should not warn.
33996 Thu May 12 17:41:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
33998 * ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5
34000 Thu May 12 16:50:40 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34002 * lib/rdoc/parsers/parse_c.rb: more readability for mixing
34003 progress "c..." and warning message.
34005 Thu May 12 15:50:56 2005 Tilman Sauerbeck <tilman@code-monkey.de>
34007 * lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.
34010 Thu May 12 09:53:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34012 * version.c (ruby_show_version): flush for non-tty stdout.
34014 Thu May 12 01:23:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34016 * eval.c (unknown_node): ignore broken NODE to get rid of accessing
34017 possibly inaccessible address. fixed: [ruby-dev:26122]
34018 should emit more useful information like [ruby-dev:26126], though.
34020 Wed May 11 15:58:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34022 * eval.c (break_jump): break should not cross functions.
34025 Wed May 11 10:41:54 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34027 * lib/tempfile.rb (Tempfile#unlink): fixed typo.
34029 Wed May 11 01:03:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34031 * eval.c (TMP_ALLOC): use macro NEW_NODE() to get rid of warnings on
34032 platforms which have no alloca(). fixed: [ruby-talk:141301]
34034 Sun May 8 23:17:47 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34036 * ext/tk/lib/tk/timer.rb: fix typo.
34038 Sun May 8 21:00:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34040 * hash.c (Init_Hash): remove custom "hash" and "eql?".
34041 (ported from 1.8) [ruby-dev:26132]
34043 Sun May 8 16:50:25 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34045 * lib/profiler.rb: fixed "undefined method `[]' for nil:NilClass"
34046 [ruby-core:4775] [ruby-talk:140401] [ruby-dev:26118]
34048 Sat May 7 22:58:00 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34050 * lib/mkmf.rb (have_var): no libs argument is given.
34052 Fri May 6 08:08:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34054 * hash.c:rb_hash_hash_i() should be static. [ruby-core:04815]
34056 * re.c should include regint.h for declarations of oniguruma
34057 functions. [ruby-core:04815]
34059 Sun May 1 09:15:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34061 * ruby.c (process_sflag): replace '-' in variable names with '_'.
34064 * eval.c (rb_eval), parse.y (arg): reduce fixnum range literal at
34065 parser. fixed: [ruby-dev:26113]
34067 Sat Apr 30 11:59:25 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34069 * configure.in (RUBY_FUNC_ATTRIBUTE): check for function attribute.
34072 * eval.c, gc.c: moved noinline to configure.in.
34074 * rubyio.h (DEPRECATED): moved to configure.in.
34076 * ruby.h (DEPRECATED, NOINLINE): default definition.
34078 * win{32,ce}/Makefile.sub (config.h): deprecated and noinline for
34079 __declspec() are available for VC++7 or later.
34081 Sat Apr 30 06:57:39 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34083 * lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger
34084 and WEBrick::CGI#config. these are necessary to use an instance of
34085 WEBrick::CGI as the first argument of HTTPServlet#get_instance.
34086 (suggested by Tatsuki Sugiura)
34088 * lib/webrick/cgi.rb
34089 (WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware]
34090 if SERVER_SOFTWARE environment variable is not given.
34091 (WEBrick::CGI#start): req.path_info must be a String.
34092 (WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO
34093 and SCRIPT_NAME to run in console.
34095 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should
34096 not use String#split("/"). it removes trailing empty path component.
34098 Thu Apr 28 08:21:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34100 * ruby.c (set_arg0): use also environment variable space for setting
34101 $0. [ruby-core:04774]
34103 Wed Apr 27 23:42:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34105 * win32/Makefile.sub (OPTFLAGS): default global optimization to
34106 disabled only for VC++6.
34108 Tue Apr 26 22:58:00 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34110 * ext/tk/tcltklib.c (ip_invoke_core): call Tcl's "::unknown"
34111 command when can't get information of target command.
34113 Mon Apr 25 13:54:55 2005 speakillof <speakillof@yahoo.co.jp>
34115 * lib/rexml/encodings/SHIFT-JIS.rb: encoding and decoding were
34116 swapped. [ruby-core:4772]
34118 Mon Apr 25 01:18:43 2005 Tanaka Akira <akr@m17n.org>
34120 * oniguruma.h (OnigWarnFunc): add a variadic argument.
34123 Sat Apr 23 19:49:21 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34125 * ext/tk/tcltklib.c (ip_RubyExitCommand): exit with status code
34126 via TclTkIp#_eval didn't work. [ruby-talk:139390]
34128 Sat Apr 23 11:45:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34130 * eval.c (rb_provided): should check also path name to be loaded.
34131 fixed: [ruby-dev:26093]
34133 Fri Apr 22 16:55:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34135 * ext/tk/tcltklib.c (ip_set_exc_message): fixed memory leak.
34137 * ext/tk/tcltklib.c: eTkCallbackReturn was not initialized.
34139 Thu Apr 21 06:45:28 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34141 * ruby.c (ruby_incpush_expand, proc_options): expand relative path
34142 given with -I option. [ruby-dev:26090]
34144 * configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve
34145 C++ support. [ruby-dev:26089]
34147 Thu Apr 21 01:53:09 2005 Minero Aoki <aamine@loveruby.net>
34149 * lib/net/http.rb: add rdoc.
34151 Thu Apr 21 00:07:50 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34153 * lib/mkmf.rb (create_makefile): support platforms have file separator
34156 * {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator
34157 of building platform.
34159 * {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command.
34161 Wed Apr 20 23:22:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34163 * Makefile.in, common.mk: miniruby depends on MINIOBJS.
34165 * dmydln.c (dln_load): dummy function to raise LoadError.
34167 * cygwin/GNUmakefile.in, {bcc32,win32,wince}/Makefile.sub: miniruby
34168 can't load extensions on Windows.
34170 Wed Apr 20 23:01:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34172 * win32/ifchange.bat: delete testing files.
34174 Wed Apr 20 22:54:54 2005 Minero Aoki <aamine@loveruby.net>
34176 * lib/net/http.rb: new method Net::HTTP.post_form.
34178 * lib/net/http.rb: new method Net::HTTPHeader#set_form_data and
34179 its alias #form_data=.
34181 * lib/net/http.rb: Net::HTTPHeader#add_header -> add_field
34182 (adjustted to Ruby 1.8).
34184 Wed Apr 20 10:53:30 2005 WATANABE Hirofumi <eban@ruby-lang.org>
34186 * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module.
34189 Wed Apr 20 07:27:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34191 * {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak:
34194 * bcc32/setup.mak: make configuration variables overridable.
34196 Tue Apr 19 23:37:09 2005 WATANABE Hirofumi <eban@ruby-lang.org>
34198 * lib/ftools.rb (File.safe_unlink): do not modify a symlinked file.
34200 Tue Apr 19 23:02:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34202 * eval.c (search_required): deal with features with path too.
34204 * intern.h (rb_file_expand_path): prototype. fixed: [ruby-dev:26082]
34206 Tue Apr 19 08:38:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34208 * eval.c (search_required, rb_require_safe): expand path in
34209 rb_features. [ruby-dev:26079]
34211 * file.c (rb_find_file_ext): return absolute path.
34213 * ext/extmk.rb: expand path for ext/**/extconf.rb.
34215 * eval.c (search_required): handle static linked extensions.
34217 Mon Apr 18 15:37:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34219 * eval.c (rb_attr): attribute name check added.
34221 * numeric.c (flo_plus): small typo fix.
34223 Mon Apr 18 11:25:14 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34225 * ext/zlib/zlib.c (zstream_run): fixed SEGV. [ruby-core:4712]
34227 Sun Apr 17 23:57:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34229 * ext/extmk.rb (extmake, parse_args): do not expand destdir.
34231 * ext/extmk.rb (relative_from): treat mere drive letter as an absolute
34234 Sat Apr 16 17:01:16 2005 Kouhei Sutou <kou@cozmixng.org>
34236 * sample/rss/tdiary_plugin/rss-recent.rb (rss_recent_cache_rss):
34237 use the first date information of items as site date information
34238 if channel doesn't have date information.
34240 Sat Apr 16 15:27:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34242 * configure.in (RUBY_PROG_INSTALL): not add -p option to INSTALL.
34243 files need timestamps to be kept are only ar-archive on a few
34244 platforms, and be installed by instruby.rb but not INSTALL.
34245 fixed: [ruby-core:04721]
34247 * mkconfig.rb: purge autoconf value variables.
34249 Sat Apr 16 10:33:48 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34251 * bcc32/Makefile.sub: quick hack... prepend DESTDIR.
34252 still have restriction on DESTDIR ("", "/", "e:")
34254 Sat Apr 16 03:59:42 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34256 * ext/openssl/extconf.rb: check for OPENSSL_cleanse.
34258 * ext/openssl/openssl_missing.h: ditto.
34260 Fri Apr 15 22:40:19 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
34262 * ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE.codepage=
34264 * ext/win32ole/tests/testOLETYPELIB.rb: correct expected message.
34266 Fri Apr 15 22:04:07 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
34268 * ext/win32ole/win32ole.c(ole_invoke): retry after converting Qnil
34271 Thu Apr 14 19:05:06 2005 Minero Aoki <aamine@loveruby.net>
34273 * parse.y [ripper] (regexp): dispatch regexp option.
34276 * ext/ripper/lib/core.rb: regenerated (interface changed).
34278 Thu Apr 14 18:59:43 2005 Minero Aoki <aamine@loveruby.net>
34280 * lib/fileutils.rb (remove_file): ignore exceptions caused by
34283 * lib/fileutils.rb (remove_dir): try to get rights to rmdir.
34286 Thu Apr 14 18:51:02 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
34288 * lib/irb/ruby-lex.rb, lib/irb/slex.rb: bug fix of [ruby-Bugs-1745]
34290 * lib/irb/ext/loader.rb, lib/irb/ext/save-history.rb:
34291 fix location of @RCS_ID
34293 * lib/irb/cmd/help.rb: a lost of release IRB 0.9.5.
34295 Thu Apr 14 15:10:30 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
34297 * lib/irb/notifier.rb, lib/irb/output-method.rb, lib/irb/ext/history.rb
34298 fixed warning of 'ruby -w'
34300 Thu Apr 14 05:35:45 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
34302 * doc/irb/irb.rd.ja: a lost of release IRB 0.9.5.
34304 * lib/irb/slex.rb: bug fix by [ruby-core:04707].
34306 Thu Apr 14 00:20:31 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
34308 * bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5.
34310 Wed Apr 13 23:40:21 2005 Kouhei Sutou <kou@cozmixng.org>
34312 * lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.
34314 * lib/rss/rss.rb (RSS::Element#converter): fixed converter
34317 Wed Apr 13 22:12:16 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34319 * lib/optparse.rb (OptionParser#order!): call handlers iff matches
34322 Wed Apr 13 21:20:35 2005 WATANABE Hirofumi <eban@ruby-lang.org>
34324 * configure.in (mingw32): extract msvcr*.dll from objdump result.
34326 Wed Apr 13 19:25:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34328 * configure.in (mingw32): use actual runtime DLL name as ruby DLL
34329 name and default load path.
34331 * win32/Makefile.sub, win32/setup.mak: ditto.
34333 Tue Apr 12 19:30:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34335 * lib/optparse.rb (OptionParser#make_switch, OptionParser#order!):
34336 added non-option and end-of-args handler. [ruby-talk:136878]
34339 Tue Apr 12 15:33:09 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34341 * ext/tk/tcltklib.c (ip_finalize): better modification than the
34342 previous commit [ruby-dev:26029].
34344 Tue Apr 12 12:38:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34346 * ext/tk/tcltklib.c (ip_finalize): fix SEGV when Tcl_GlobalEval()
34347 modifies the argument string to eval.
34349 Tue Apr 12 02:21:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34351 * ext/tk/tcltklib.c (ip_finalize): add existence check of
34352 Tcl commands before calling Tcl_GlobalEval().
34354 Mon Apr 11 23:36:04 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34356 * lib/drb/drb.rb: [druby-ja:123] fix: When reference of my object is
34357 loaded, the object is tainted.
34359 * test/drb/test_drb.rb: ditto.
34361 Mon Apr 11 22:18:23 2005 WATANABE Hirofumi <eban@ruby-lang.org>
34363 * dir.c, file.c (lstat): avoid warnings for mingw.
34365 Mon Apr 11 20:11:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34367 * ext/tk/tcltklib.c (ip_finalize): adhoc patch to avoid SEGV when exit
34370 Mon Apr 11 15:24:20 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34372 * lib/mkmf.rb (configuration): shouldn't output hdrdir twice.
34374 Sat Apr 9 18:20:31 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34376 * ext/tk/lib/tk/image.rb: support to create TkImage object without
34377 creating a new image object on Tk.
34379 * ext/tk/lib/tk/menu.rb: use TkCommandNames on create_self()
34381 * ext/tk/lib/tk/root.rb: TkRoot.to_eval() returns '.'.
34383 * ext/tk/lib/tk/text.rb: add methods to create a TkText::IndexString
34384 from (x, y) coords.
34386 * ext/tk/lib/tkextlib/tile/: add demo and update support status.
34388 Sat Apr 9 14:42:29 2005 Kouhei Sutou <kou@cozmixng.org>
34390 * sample/rss/tdiary_plugin/rss-recent.rb: supported configuration
34393 Fri Apr 8 20:17:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34395 * ext/extmk.rb (extmake): hdrdir needs to be defined also in
34398 * lib/mkmf.rb (configuration, create_makefile): get rid of recursive
34401 Fri Apr 8 01:55:20 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34403 * ext/tk/sample/demos-{en,jp}/goldberg.rb: reduced window size.
34406 Thu Apr 7 23:58:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34408 * ext/extmk.rb (extmake): keep directory names in Makefile as macros.
34410 * lib/mkmf.rb (configuration, create_makefile): ditto.
34412 * lib/mkmf.rb (CXX_EXT): separate C++ extensions.
34414 Thu Apr 7 17:24:17 2005 Shugo Maeda <shugo@ruby-lang.org>
34416 * eval.c (rb_call0): "return" event hook should be always executed
34417 if event_hooks is set.
34419 Thu Apr 7 14:33:09 2005 Kouhei Sutou <kou@cozmixng.org>
34421 * test/rss/test_maker_dc.rb (test_date): added a test for #date=
34424 Thu Apr 7 11:49:53 2005 Kouhei Sutou <kou@cozmixng.org>
34426 * lib/rss/maker/dublincore.rb: _really_ supported multiple Dublin
34429 * test/rss/rss-assertions.rb (assert_multiple_dublin_core): added
34430 an assertion for testing multiple Dublin Core items.
34432 * test/rss/test_maker_dc.rb (test_rss10_multiple): added a test
34433 for making multiple Dublin Core items.
34435 Wed Apr 6 16:06:30 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34437 * test/ruby/test_env.rb (test_key): should test ENV.key instead of
34438 ENV.index. [ruby-dev:25994]
34440 Tue Apr 5 16:01:12 2005 Kouhei Sutou <kou@cozmixng.org>
34442 * lib/rss/*: refactored.
34443 - gave a name to 'x'.
34444 - undef_method -> remove_method for avoiding a warning in ruby 1.6.
34446 Tue Apr 5 15:45:33 2005 Kouhei Sutou <kou@cozmixng.org>
34448 * sample/rss/tdiary_plugin/rss-recent.rb:
34449 new option: @options['rss-recent.use-image-link']:
34450 use image as link instread of text if available.
34452 * sample/rss/tdiary_plugin/rss-recent.rb (RSS_RECENT_VERSION):
34455 Tue Apr 5 15:15:26 2005 Kouhei Sutou <kou@cozmixng.org>
34457 * lib/rss/dublincore.rb: supported multiple Dublin Core items.
34459 * lib/rss/parser.rb: added class name registry for complex model
34460 elements. (ex. have childlen elements, have some attributes and
34461 a child element and so on.)
34463 * lib/rss/maker/base.rb: added default current_element implementation.
34465 * lib/rss/maker/dublincore.rb: supported multiple Dublin Core
34468 * lib/rss/maker/image.rb: supproted new Dublin Core API.
34471 * lib/rss/trackback.rb (RSS::TrackBackUtils.new_with_value_if_need):
34472 moved to RSS::Utils.
34474 * lib/rss/utils.rb (RSS::Utils.new_with_value_if_need):
34475 moved from RSS::TrackBackUtils.
34478 * lib/rss/maker/image.rb: fixed invalid argument of
34479 add_need_initialize_variable bug.
34481 * lib/rss/maker/trackback.rb: ditto.
34484 * lib/rss/rss.rb (Hash#merge): added for ruby 1.6.
34486 * lib/rss/rss.rb (RSS::BaseModel.date_writer): changed to accept nil
34490 * test/test_dublincore.rb: added tests for plural accessor and
34491 multiple Dublin Core items.
34493 * test/test_setup_maker_1.0.rb: fixed swapped actual and expected
34496 Mon Apr 4 23:17:52 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34498 * ext/tk/lib/tk.rb (TkComm#array2tk_list): accept enc-mode argument to
34499 decide whether convert encoding of each element or not.
34501 * ext/tk/lib/tk/variable.rb (TkVariable#value=): fail to convert the
34502 encoding of array elements when assign an array to an TkVariable
34505 Mon Apr 4 10:26:48 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34507 * ext/tk/lib/tk/dialog.rb: fixed typo.
34509 Sat Apr 2 23:38:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34511 * configure.in (CP, INSTALL): get rid of less portable options.
34513 * lib/mkmf.rb (configuration, create_makefile): correct configuration
34516 * wince/configure.bat, wince/setup.mak: add prefix, extstatic and
34519 * lib/mkmf.rb (create_makefile): ensure library directories get made
34520 before copying libraries there.
34522 Sat Apr 2 16:59:46 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34524 * ext/tk/lib/tk.rb: forgot to update RELEASE_DATE
34526 * ext/tk/lib/tk/variable.rb: fix namespace trouble when autoloading
34528 * ext/tk/lib/tk/palette.rb: define Tcl variable 'tkPalette' as global
34530 * ext/tk/lib/tk/dialog.rb: use array2tk_list method when calling
34533 * ext/tk/lib/tk/autoload.rb: add autoload entry 'TkDialogObj' and
34536 Sat Apr 2 13:23:17 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34538 * hash.c (env_key): ENV.index is deprecated as well as Hash#index.
34539 use ENV.key instead. [ruby-dev:25974]
34541 Sat Apr 2 02:19:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34543 * ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'
34544 option without 'widgetname' option to allow creating a widget object
34545 which is used as an argument of Tcl/Tk's widget allocation commands.
34547 * ext/tk/lib/tk/image.rb (TkImage.initialize): accept 'imagename'
34548 option to create a image object by the given name.
34550 Thu Mar 31 22:23:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34552 * lib/mkmf.rb (SRC_EXT): exclude just case different suffixes on case
34553 insensitive file system platforms.
34555 * README.EXT, README.EXT.ja (Appendix C): utility functions.
34557 Thu Mar 31 14:08:43 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34559 * ext/openssl/ossl_engine.c (ossl_engine_s_load): should return
34560 value. [ruby-dev:25971]
34562 Thu Mar 31 11:07:50 2005 Kouhei Sutou <kou@cozmixng.org>
34564 * lib/rss/parser.rb: @@setter -> @@setters.
34566 * lib/rss/parser.rb
34567 (RSS::BaseListener.register_uri)
34568 (RSS::BaseListener.uri_registered?)
34569 (RSS::BaseListener.install_get_text_element):
34570 swapped the first argument and the second argument.
34572 * lib/rss/taxonomy.rb: swapped the first argument and the second
34573 argument for RSS::BaseListener.install_get_text_element.
34574 * lib/rss/image.rb: ditto.
34575 * lib/rss/syndication.rb: ditto.
34576 * lib/rss/dublincore.rb: ditto.
34577 * lib/rss/parser.rb: ditto.
34578 * lib/rss/1.0.rb: ditto.
34579 * lib/rss/2.0.rb: ditto.
34580 * lib/rss/0.9.rb: ditto.
34581 * lib/rss/content.rb: ditto.
34583 Thu Mar 31 11:00:36 2005 Kouhei Sutou <kou@cozmixng.org>
34585 * lib/rss/parser.rb
34586 (RSS::BaseListener.install_setter)
34587 (RSS::BaseListener.register_uri): changed fallback way.
34589 Thu Mar 31 08:25:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34591 * common.mk (RUBYOPT): clear for the environment RubyGems installed.
34593 * common.mk (clean-local): keep $(PREP) files till distclean.
34595 * common.mk (check): do all tests.
34597 Thu Mar 31 06:00:20 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34599 * ext/openssl/ossl_engine.c (ossl_engine_s_load): should not raise
34600 error even if the specified engine could not be loaded. (Dynamic
34601 engines don't have fixed name to load.)
34603 Wed Mar 30 17:41:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34605 * ext/tk/tcltklib.c: add TclTkIp#_create_console() method to create
34606 a Tcl/Tk's console window.
34608 * ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method.
34610 * ext/tk/lib/remote-tk.rb: ditto.
34612 * ext/tk/lib/tk/console.rb: ditto.
34614 * ext/tk/lib/tk.rb: update RELEASE_DATE
34616 * ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object.
34618 * ext/tk/sample/tkextlib/**: ditto.
34620 Tue Mar 29 22:20:49 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34622 * test/rinda/test_rinda.rb: use DRbObject.new_with instead of reinit.
34625 Tue Mar 29 00:04:57 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34627 * lib/drb/drb.rb: move method DRbObject#reinit to DRbObject.new_with.
34628 extract method DRbObject.prepare_backtrace. add DRb.regist_server,
34629 remove_server, fetch_server. change server in thread variable if
34630 in-proc server. [druby-ja:113]
34632 * lib/drb/gw.rb: ditto.
34634 Mon Mar 28 20:53:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34636 * ext/extmk.rb (extract_makefile): nothing to be removed when no file
34639 * ext/extmk.rb (extmake): restore srcdir.
34641 Mon Mar 28 08:39:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34643 * ext/iconv/iconv.c (iconv_create): Iconv::Failure requires 3
34644 arguments. (pointed out by NaHi)
34646 Sun Mar 27 00:56:58 2005 Minero Aoki <aamine@loveruby.net>
34648 * lib/fileutils.rb (remove_file): ignore Errno::E* if force option
34649 is set. [ruby-dev:25944]
34651 Sat Mar 26 22:51:33 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34653 * ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whether
34654 a class is available for a callback entry.
34656 * ext/tk/lib/tk.rb (after_cancel): add Tk.after_cancel(afterID) method.
34658 * ext/tk/lib/tk.rb (array2tk_list): change from private module method
34659 of TkComm to public module method.
34661 * ext/tk/lib/tk.rb (cget): add check that slot argument is not
34664 * ext/tk/lib/tk.rb (configinfo): ditto.
34666 * ext/tk/lib/tk/itemconfig.rb (itemcget): add check that slot argument
34667 is not empty string.
34669 * ext/tk/lib/tk/itemconfig.rb (itemconfiginfo): ditto.
34671 * ext/tk/lib/tk/entry.rb: add TkEntry#icursor and icursor= (alias of
34672 cursor and cursor= method).
34674 * ext/tk/lib/tk/font.rb: improve font treatment when the font name is
34677 * ext/tk/lib/tk/variable.rb: add :variable, :window and :procedure
34680 * ext/tk/lib/tk/variable.rb: improve treatment of array-type
34683 * ext/tk/lib/tkextlib/blt.rb: add commands for zooming.
34685 * ext/tk/lib/tkextlib/blt/*: bug fix.
34687 * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and add methods
34688 to call TreeCtrl commands for bindings.
34690 * ext/tk/sample/tkextlib/blt/*: new sample scripts.
34692 * ext/tk/sample/tkextlib/treectrl/*: ditto.
34694 Fri Mar 25 10:53:16 2005 WATANABE Hirofumi <eban@ruby-lang.org>
34696 * configure.in (WIN32_LEAN_AND_MEAN): removed because a lot of
34697 troubles. [ruby-list:40721]
34699 Thu Mar 24 23:10:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34701 * lib/mkmf.rb (macro_defined?): try to compile for an old compiler
34702 which doesn't bail out at #error directive. [ruby-dev:25818]
34704 * lib/mkmf.rb (check_sizeof): refine logging messages.
34706 Wed Mar 23 19:08:10 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34708 * lib/webrick/utils.rb (WEBrick::Utils.create_listeners):
34709 - should raise ArgumentError if no port is specified.
34710 - even if the specified port is 0, all TCPServers should be
34711 initialized with the port given to the first one.
34713 * lib/webrick/server.rb (WEBrick::GenericServer#initialize): if :Port
34714 parameter is 0, it should be updated with the port number which
34717 Wed Mar 23 16:12:40 2005 Shugo Maeda <shugo@ruby-lang.org>
34719 * parse.y (primary): fix lineno of rescue and ensure.
34721 Wed Mar 23 00:39:05 2005 Shugo Maeda <shugo@ruby-lang.org>
34723 * test/ruby/test_settracefunc.rb (test_event): added tests for
34724 "class" and "end" and "raise".
34726 Sun Mar 20 22:51:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34728 * lib/mkmf.rb (mkmf_failed): check if Makefile is created without
34731 Sat Mar 19 23:48:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34733 * misc/ruby-mode.el (ruby-expr-beg): returned true always.
34734 fixed: [ruby-list:40683]
34736 Sat Mar 19 00:41:02 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34738 * ext/tk/lib/tk/font.rb: add some TkFont class methods to get font
34739 information without creating a TkFont object.
34741 * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some
34742 classes for components of Tk::TreeCtrl
34744 Thu Mar 17 17:42:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34746 * struct.c (make_struct): allow non local-id field
34747 names. [ruby-core:04575]
34749 * struct.c (inspect_struct): ditto.
34751 Wed Mar 16 23:39:13 2005 Shugo Maeda <shugo@ruby-lang.org>
34753 * test/ruby/test_settracefunc.rb: added test for c-return.
34755 Wed Mar 16 22:57:43 2005 Shugo Maeda <shugo@ruby-lang.org>
34757 * eval.c (rb_call0): call_cfunc() should be protected.
34759 * eval.c (rb_add_event_hook): use K&R style.
34761 * eval.c (rb_remove_event_hook): ditto.
34763 Wed Mar 16 22:03:15 2005 Shugo Maeda <shugo@ruby-lang.org>
34765 * eval.c (rb_add_event_hook): new function to add a hook function for
34766 interpreter events.
34768 Wed Mar 16 18:08:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34770 * eval.c (rb_call0): reorganize "return" event post.
34772 * eval.c (return_jump): no need to post "return" event here.
34774 Tue Mar 15 23:49:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34776 * ext/iconv/iconv.c (Init_iconv): InvalidEncoding also should include
34779 Tue Mar 15 23:12:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34781 * eval.c (recursive_check, recursive_push): more restrictive check.
34782 fixed: [ruby-dev:25916]
34784 Tue Mar 15 16:38:31 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34786 * ext/tk/tkutil/tkutil.c (ary2list): give wrong arguments to hash2kv()
34788 Mon Mar 14 19:39:33 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34790 * ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_value
34793 * ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer
34795 Mon Mar 14 12:21:03 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34797 * ext/tk/lib/tk/timer.rb (TkRTTimer): forgot to reset the callback
34798 time. So, 'continue' do all callbacks between 'stop' and 'continue'.
34800 Mon Mar 14 08:14:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34802 * object.c (str_to_id): raise ArgumentError for NUL containing
34805 Mon Mar 14 00:13:49 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34807 * ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offset
34808 value. get a little better accuracy.
34810 * ext/tk/sample/demos-en/widget: use a binding with no local variables
34811 when eval a sample script.
34813 * ext/tk/sample/demos-en/bind.rb: ditto.
34815 * ext/tk/sample/demos-en/tcolor: ditto.
34817 * ext/tk/sample/demos-jp/widget: ditto.
34819 * ext/tk/sample/demos-jp/bind.rb: ditto.
34821 * ext/tk/sample/demos-jp/tcolor: ditto.
34823 Sun Mar 13 22:19:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34825 * eval.c (recursive_pop): raise TypeError instead of fatal error.
34826 fixed: [ruby-dev:25843]
34828 Sun Mar 13 10:09:17 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34830 * test/rinda/test_rinda.rb: remove test_gc. [ruby-dev:25871]
34832 Sun Mar 13 02:32:54 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34834 * ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DH
34835 parameter from the current SSL object.
34837 Sun Mar 13 02:09:03 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34839 * ext/openssl/ossl_pkey_dh.c (ossl_create_dh): fix typo.
34840 patch from IWATSUKI Hiroyuki. [ruby-dev:25867]
34842 * ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): ditto.
34843 (ossl_call_tmp_dh_callback): ditto
34845 Fri Mar 11 03:24:59 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34847 * parse.y (primary): wrong var node was set for NODE_LAMBDA.
34850 Thu Mar 10 19:10:29 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34852 * ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handler
34853 when exit from a recursive called eventloop
34855 * ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a
34858 * ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class
34860 * ext/tk/lib/tk/textmark.rb: move TkTextMark#+ and TkTextMark#- to
34861 TkText::IndexModMethods
34863 * ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and
34864 add them to TkText::IndexModMethods module
34866 * ext/tk/sample/tktextio.rb: add test part of "seek by text index
34869 Thu Mar 10 08:10:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34871 * re.c (make_regexp): need to free internal regexp structure when
34872 compilation fails. [ruby-talk:133228]
34874 Thu Mar 10 01:08:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34876 * parse.y (bv_decl): remove initialize rule from block local
34877 variable declaration.
34879 Wed Mar 9 23:55:34 2005 Tanaka Akira <akr@m17n.org>
34881 * lib/pp.rb (PP::PPMethods#guard_inspect_key): support
34882 __recursive_key__. [ruby-dev:25821]
34884 Wed Mar 9 19:42:21 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34886 * ext/openssl/ossl_ssl.c: OpenSSL::SSL::SSLContexts suports callbacks:
34887 - SSLContext#client_cert_cb is a Proc. it is called when a client
34888 certificate is requested by a server and no certificate was yet
34889 set for the SSLContext. it must return an Array which includes
34890 OpenSSL::X509::Certificate and OpenSSL::PKey::RSA/DSA objects.
34891 - SSLContext#tmp_dh_callback is called in key exchange with DH
34892 algorithm. it must return an OpenSSL::PKey::DH object.
34894 * ext/openssl/ossl_ssl.c:
34895 (ossl_sslctx_set_ciphers): ignore the argument if it's nil.
34896 (ossl_start_ssl, ossl_ssl_write): call rb_sys_fail if errno isn't 0.
34899 * ext/openssl/ossl_pkey.c
34900 (GetPrivPKeyPtr, ossl_pkey_sign): should call rb_funcall first.
34901 (DupPrivPKeyPtr): new function.
34903 * ext/openssl/ossl_pkey_dh.c: add default DH parameters.
34905 * ext/openssl/ossl_pkey.h: ditto.
34907 * ext/openssl/lib/openssl/cipher.rb: fix typo. [ruby-dev:24285]
34909 Wed Mar 9 18:09:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34911 * parse.y (gettable_gen): warns if VCALL name is used as
34912 out-of-scope block local variable. [EXPERIMENTAL]
34914 * parse.y (opt_bv_decl): add explicit block local variable
34915 declaration. raises error for name conflicts. [EXPERIMENTAL]
34917 Wed Mar 9 13:37:57 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34919 * ext/tk/sample/tktextio.rb: fix bug of handling 'end' position.
34920 support initial text, overwrite setting and pos_gravity control.
34922 Tue Mar 8 18:16:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34924 * ext/tk/sample/tktextio.rb: New sample script. TkTextIO class in this
34925 sample supports to use a text widget as if it is a I/O stream (such
34926 like as StringIO class).
34928 Tue Mar 8 13:39:25 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34930 * ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Lite
34933 Tue Mar 8 12:36:17 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34935 * ext/socket/socket.c: document from Sam Roberts
34936 <sroberts@uniserve.com> for getsockopt and setsockopt is merged.
34939 Tue Mar 8 10:48:53 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34941 * eval.c (rb_exec_recursive): declaration should precede statements
34944 Tue Mar 8 10:05:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34946 * error.c (errno_missing): Errno.const_missing to allow references
34947 to SyscallError exceptions not defined on the platform.
34950 * error.c (Init_syserr): Errno::NOERROR(0) for fallback exception.
34952 Tue Mar 8 01:19:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
34954 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66
34955 fixed: [ruby-dev:25828]
34957 Mon Mar 7 21:29:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34959 * lib/webrick/server.rb (WEBrick::GenericServer#start): should
34960 restore @token if accept failure. suggested by Dominique Brezinski.
34963 * sample/webrick/httpsd.rb: fix typo in comment. suggested by
34966 Mon Mar 7 21:01:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34968 * eval.c (rb_require_safe): get actual path string under safe level
34969 when requested. fixed: [ruby-dev:25815]
34971 Mon Mar 7 16:46:02 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34973 * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,
34974 ossl_ssl_write): need to set errno on Win32 platform.
34976 Mon Mar 7 14:55:43 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34978 * eval.c (block_pass): should not push unique number if a block is
34979 not an orphan. [ruby-dev:25808]
34981 Mon Mar 7 14:13:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34983 * ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
34984 should set @eof and @rbuffer.
34986 Mon Mar 7 10:28:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34988 * object.c (inspect_obj): unintended space removal.
34991 * eval.c (rb_exec_recursive): should not use NODE in disclosed
34992 context. [ruby-dev:25812]
34994 * io.c (rb_f_open): need not to check if to_open value is a
34995 T_FILE. [ruby-dev:25812]
34997 Mon Mar 7 01:21:01 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34999 * ext/tk/tkutil/tkutil.c: follow the change of st.c (committed
35000 at Fri, 4 Mar 2005 15:47:47 +0900 by matz)
35002 Mon Mar 7 00:01:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35004 * ext/tk/tcltklib.c: fail to call TclTkLib.mainloop when $SAFE==4
35006 Sun Mar 6 13:04:10 2005 Dee Zsombor <zsombor@ruby-lang.org>
35008 * misc/ruby-electric.el: added.
35009 * misc/Readme: updated.
35011 Sun Mar 6 11:47:10 2005 Sam Roberts <sroberts@uniserve.com>
35013 * lib/pp.rb: rdoced. [ruby-core:4490]
35015 Sun Mar 6 11:36:37 2005 Tanaka Akira <akr@m17n.org>
35017 * lib/pp.rb (File::Stat#pretty_print): Etc.getpwuid and Etc.getgrgid
35018 may return nil. [ruby-talk:129826]
35019 reported by Daniel Berger.
35021 Sun Mar 6 06:34:31 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
35023 * ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for that
35024 the underlying IO become readable or writable if the error was
35025 SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795]
35027 * ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto.
35029 * ext/openssl/lib/openssl/buffering.rb
35030 (Buffering#consume_rbuf): pointless eof flag resetting is deleted.
35031 (Buffering#read): should return an empty string if the specified
35033 (Buffering#readpartial): new method.
35034 (Buffering#readline): fix typo.
35035 (Buffering#getc): return the first character of string correctly.
35036 (Buffering#readchar): fix typo.
35037 (Buffering#eof?): should read again it the input buffer is empty.
35038 (Buffering#do_write): should rescue Errno::EAGAIN.
35039 (Buffering#puts): use "\n" as the output field separator.
35041 * ext/openssl/extconf.rb: get rid of GNUmakefile generation.
35043 * text/openssl/test_pair.rb: test for IO like methods.
35045 * test/ruby/ut_eof.rb: test about empty file.
35047 Sat Mar 5 17:48:31 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
35049 * dir.c (rb_glob): fixed mismatch of argument.
35051 * dir.c (fnmatch): removed unnecessary code. (by string.c 1.219)
35053 * win32/win32.c (NtInitialize): ditto. (by numeric.c 1.117)
35055 Sat Mar 5 16:50:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
35057 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.65
35059 Sat Mar 5 16:29:26 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35061 * ext/tk/lib/multi-tk.rb: freeze callback-entry objects
35063 * ext/tk/lib/tkextlib/tile.rb: support tile-0.6
35065 Sat Mar 5 12:52:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35067 * lib/mkmf.rb (create_makefile): allow putting spaces between target
35068 and colon in depend file.
35070 Sat Mar 5 02:41:00 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35072 * file.c (eaccess): workaround for VC++8 runtime.
35074 * win32/win32.c (ioinfo): VC++8 support.
35076 Fri Mar 4 19:39:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35078 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace
35079 also locally defined modules.
35081 * ext/iconv/iconv.c: rdocified.
35083 * ext/strscan/strscan.c: moved misplaced rdoc.
35085 Fri Mar 4 16:11:20 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35087 * eval.c (rb_exec_recursive): matched the declaration to prototype.
35089 * ext/curses/curses.c: don't need to check HAVE_WCOLOR_SET excluding
35090 window_color_set().
35092 * ext/tk/tcltklib.c: fixed commit mistakes.
35094 Fri Mar 4 12:45:17 2005 Tilman Sauerbeck <tilman@code-monkey.de>
35096 * lib/rdoc/parsers/parse_c.rb: allow whitespace after function names.
35099 * lib/rdoc/parsers/parse_simple.rb: adds support for private comments
35100 in the "simple" parser. [ruby-core:4301]
35102 Fri Mar 4 12:45:17 2005 Charles Mills <cmills@freeshell.org>
35104 * lib/rdoc/parsers/parse_c.rb: adds support for constants
35105 (rb_define_const), accessors (rb_define_attr), and makes a
35106 couple fixes. [ruby-core:4307]
35108 Fri Mar 4 12:45:17 2005 Florian Gross <florgro@gmail.com>
35110 * lib/rdoc/parsers/parse_rb.rb: Logic for def Builtin.method() end
35113 Fri Mar 4 12:45:17 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35115 * array.c: replace rb_protect_inspect() and rb_inspecting_p() by
35116 rb_exec_recursive() in eval.c.
35118 * eval.c (rb_exec_recursive): new function.
35120 * array.c (rb_ary_join): use rb_exec_recursive().
35122 * array.c (rb_ary_inspect, rb_ary_hash): ditto.
35124 * file.c (rb_file_join): ditto.
35126 * hash.c (rb_hash_inspect, rb_hash_to_s, rb_hash_hash): ditto.
35128 * io.c (rb_io_puts): ditto.
35130 * object.c (rb_obj_inspect): ditto
35132 * struct.c (rb_struct_inspect): ditto.
35134 Fri Mar 4 10:15:30 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35136 * lib/set.rb (SortedSet::setup): a hack to shut up warning.
35139 Fri Mar 4 09:37:12 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35141 * common.mk (install-nodoc, pre-install-doc, post-install-doc):
35142 fix some omissions.
35144 Fri Mar 4 08:09:12 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35146 * lib/time.rb (Time::strptime): add new function. inspired by
35147 [ruby-talk:132815].
35149 * lib/parsedate.rb (ParseDate::strptime): ditto.
35151 Fri Mar 4 07:07:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
35153 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63
35155 Thu Mar 3 23:24:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
35157 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62
35159 Thu Mar 3 18:47:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35161 * {bcc32,win32,wince}/Makefile.sub (config.h): check if affected
35162 when makefiles are modified.
35164 * {bcc32,win32,wince}/Makefile.sub (config.status): add variables
35167 * win32/ifchange.bat: try to update a file only if modified.
35169 * win32/resource.rb: more descriptions.
35171 * common.mk: add {pre,post}-install targets.
35173 * instruby.rb (install?): install particular part.
35175 * bcc32/Makefile.sub (post-install-ext): remove debug information
35176 files after installation.
35178 * ext/tk/tcltklib.c (ip_rbUpdateCommand, ip_rb_threadUpdateCommand):
35179 get rid of warnings with Tcl/Tk 8.3 or former.
35181 Thu Mar 3 11:49:51 2005 Kouhei Sutou <kou@cozmixng.org>
35183 * sample/rss/tdiary_plugin/rss-recent.rb: added site information.
35185 Wed Mar 2 19:53:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35187 * ext/extmk.rb (parse_args): return false if nothing matched.
35189 Wed Mar 2 17:15:08 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35191 * ext/tk/tcltklib.c (lib_eventloop_core): fix typo
35193 Wed Mar 2 16:59:50 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35195 * eval.c (ruby_native_thread_kill): call pthread_kill() to send a
35196 signal to ruby's native thread
35198 * ruby.h: add definition of ruby_native_thread_kill()
35200 * signal.c (sigsend_to_ruby_thread): send the signal to ruby's
35201 native thread ([ruby-dev:25744], [ruby-dev:25754]), and set
35202 signal mask to the current native thread
35204 Wed Mar 2 16:03:08 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35206 * ext/tk/tcltklib.c: enforce thread-check and exception-handling to
35207 avoid SEGV trouble.
35209 * ext/tk/tkutil/tkutil.c; fix a bug on converting a SJIS string array
35210 to a Tcl's list string.
35212 * ext/tk/tcltklib.c: wrap Tcl's original "namespace" command to
35213 protect from namespace crash.
35215 * ext/tk/lib/multi-tk.rb: enforce exception-handling.
35217 * ext/tk/lib/multi-tk.rb: catch IRB_EXIT to work on irb.
35219 * ext/tk/lib/tk.rb: ditto.
35221 * ext/tk/tcltklib.c: add TclTkLib.mainloop_thread?
35223 * ext/tk/lib/multi-tk.rb: (bug fix) callback returns a value.
35225 * ext/tk/lib/tk/canvas.rb (delete): bug fix when multiple arguments.
35227 * ext/tk/lib/clock.rb: fix 'no method error'.
35229 * ext/tk/lib/clock.rb (self.clicks): accept a Symbol argument.
35231 * ext/tk/lib/variable.rb: be able to set default_value_type; :numeric,
35232 :bool, :string, :symbol, :list, :numlist or nil (default; same to
35233 :string). If set a type, TkVariable#value returns a value of the
35236 * ext/tk/lib/tkextlib/tclx/tclx.rb: add Tk::TclX.signal to warn the
35237 risk of using TclX extension's 'signal' command.
35239 * ext/tk/sample/irbtk.rb: irb with Ruby/Tk.
35241 * ext/tk/sample/demos-*/anilabel.rb: bug fix on 'show code'
35243 * ext/tk/sample/demos-*/aniwave.rb: new Ruby/Tk animation demo.
35245 * ext/tk/sample/demos-*/pendulum.rb: ditto.
35247 * ext/tk/sample/demos-*/goldberg.rb: ditto.
35249 * ext/tk/sample/demos-*/widget: add entries of animation demos.
35251 Wed Mar 2 12:21:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35253 * eval.c (rb_eval): [EXPERIMENTAL] NODE_LAMBDA implemented.
35256 * node.h (NODE_LAMBDA): for literal Proc object.
35258 * parse.y (expr): interpret mere do...end block as proc object.
35260 * parse.y (primary): ditto, for brace block.
35262 Tue Mar 1 21:16:54 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
35264 * regcomp.c (optimize_node_left): uninitialized member
35265 (OptEnv.backrefed_status) was used. [ruby-dev:25778]
35267 Tue Mar 1 16:50:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35269 * regparse.c: move st_*_strend() functions from st.c. fixed some
35270 potential memory leaks.
35272 Tue Mar 1 00:40:35 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35274 * lib/rinda/tuplespace.rb (Rinda::TupleSpace): improved keeper thread.
35276 * test/rinda/test_rinda.rb: ditto.
35278 Mon Feb 28 23:10:13 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
35280 * ext/socket/socket.c (Init_socket): IPv6 is not supported although
35281 AF_INET6 is defined on bcc32. (rev1.108 again)
35283 * ext/socket/mkconstants.rb: ditto.
35285 Mon Feb 28 21:55:49 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
35287 * ext/strscan/strscan.c (strscan_s_allocate):
35288 use onig_region_init().
35290 * ext/strscan/strscan.c (adjust_registers_to_matched):
35291 use onig_region_set().
35293 Mon Feb 28 15:12:06 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
35295 * ext/socket/socket.c (Init_socket): ported more Socket::Constants
35296 from ruby_1_8, and made it easy to add new constants.
35299 * ext/socket/depend: ditto.
35301 * ext/socket/mkconstants.rb: ditto. (added)
35303 Mon Feb 28 11:42:23 2005 Ian Macdonald <ian@caliban.org>
35305 * exception error messages updated. [ruby-core:04497]
35307 Mon Feb 28 09:03:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35309 * ext/socket/socket.c (Init_socket): add bunch of Socket
35310 constants. Patch from Sam Roberts <sroberts@uniserve.com>.
35313 Sun Feb 27 05:55:38 2005 Minero Aoki <aamine@loveruby.net>
35315 * parse.y [ripper]: fix typo. [ruby-core:04494]
35317 Sat Feb 26 16:58:20 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
35319 * parse.y, re.c, regex.h, LEGAL, ext/strscan/strscan.c:
35320 remove oniggnu.h (GNU regex API).
35322 Wed Feb 23 22:08:16 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35324 * st.c, st.h: imported additional file changes on
35327 Wed Feb 23 21:45:29 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35329 * ascii.c, euc_jp.c, oniggnu.h, oniguruma.h, regcomp.c,
35330 regenc.c, regenc.h, regerror.c, regexec.c, regint.h,
35331 regparse.c, regparse.h, sjis.c, utf8.c: imported Oni Guruma
35334 Wed Feb 23 15:04:32 2005 akira yamada <akira@ruby-lang.org>
35336 * lib/uri/generic.rb (split_userinfo): should split ":pass" into ""
35337 and "pass". [ruby-dev:25667]
35339 Wed Feb 23 08:00:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35341 * array.c (rb_ary_s_create): no need for negative argc check.
35344 * array.c (rb_ary_unshift_m): ditto.
35346 Wed Feb 23 01:53:29 2005 Shugo Maeda <shugo@ruby-lang.org>
35348 * lib/net/imap.rb (initialize): handle certs correctly. Thanks,
35351 Wed Feb 23 00:37:34 2005 Kouhei Sutou <kou@cozmixng.org>
35353 * lib/mkmf.rb (mkmf_failed): fixed typo.
35355 Tue Feb 22 23:52:45 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35357 * configure.in, lib/mkmf.rb: use simple commands if available.
35359 * mkconfig.rb: remove autoconf internal variables from rbconfig.rb.
35361 * lib/mkmf.rb (create_makefile): substitute implicit rules in depend
35364 * {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST):
35365 include $(topdir) and $(hdrdir) to search path.
35367 Tue Feb 22 23:51:45 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35369 * ext/syck/rubyext.c: get rid of warnings caused by a bug of VC.
35371 Tue Feb 22 23:50:26 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35373 * signal.c (ruby_signal, ruby_nativethread_signal): must be valid as
35374 expressions, not only statements.
35376 Tue Feb 22 12:54:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35378 * eval.c (rb_thread_start_0): update curr_thread before raising
35379 TAG_THREAD. [ruby-dev:25712]
35381 Tue Feb 22 07:24:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35383 * parse.y (parser_yylex): identifier after dot must not be a variable.
35385 Mon Feb 21 18:31:12 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35387 * signal.c: Standard signal handlers ignore signals on non-Ruby native
35388 threads. When a handler is entried with ruby_signal() (like as the
35389 standard signal handlers), the handler for the signal is marked as
35390 it cannot accept non-Ruby native threads. If a handler can treat all
35391 signals on all native threads, please use ruby_nativethread_signal()
35394 Sun Feb 20 00:48:48 2005 Tanaka Akira <akr@m17n.org>
35396 * lib/open-uri.rb (URI::FTP#buffer_open): access mechanism
35397 re-implemented according to RFC 1738.
35398 reported by Guillaume Marcais. [ruby-talk:131650]
35400 Sat Feb 19 18:46:56 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35402 * lib/drb/drb.rb (DRbObject#respond_to?): take two arguments.
35405 * test/drb/drbtest.rb: ditto.
35407 Sat Feb 19 13:52:02 2005 Tanaka Akira <akr@m17n.org>
35409 * lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_check
35410 after connection is made.
35412 Sat Feb 19 13:31:28 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35414 * ext/extmk.rb (extract_makefile): remove no longer existing installed
35417 * lib/mkmf.rb (install_dirs): return installation directory list.
35419 * lib/mkmf.rb (create_makefile): reverted wrongly removed lines.
35421 Sat Feb 19 01:28:56 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
35423 * ext/bigdecimal/lib/bigdecimal/newton.rb: resolved LoadError.
35426 * ext/bigdecimal/sample/linear.rb: ditto.
35428 * ext/bigdecimal/sample/nlsolve.rb: ditto.
35430 * ext/bigdecimal/lib/bigdecimal/nlsolve.rb: removed because this file
35431 is sample script and same file exists in ext/bigdecimal/sample.
35433 Fri Feb 18 17:14:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35435 * lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
35436 of StandardError class, not Exception class. [ruby-core:04429]
35438 Fri Feb 18 04:06:41 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35440 * parse.y (fcall_gen): lvar(arg) will be evaluated as
35441 lvar.call(arg) when lvar is a defined local variable. [new]
35443 Thu Feb 17 22:15:34 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
35445 * ext/strscan/strscan.c: calls Oniguruma API directly.
35447 Thu Feb 17 21:53:12 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
35449 * common.mk, LEGAL: remove reggnu.c.
35451 Thu Feb 17 21:53:12 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35453 * gc.c, re.c: now ruby calls Oniguruma API directly, bypassing
35454 GNU compatible APIs.
35456 Thu Feb 17 20:09:23 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
35458 * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.
35460 Thu Feb 17 20:09:23 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35462 * test/digest/test_digest.rb: separate test case for each algorithms.
35465 Thu Feb 17 14:31:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35467 * object.c (rb_class_initialize): call inherited method before
35468 calling initializing block.
35470 * eval.c (rb_thread_start_1): initialize newly pushed frame.
35471 fixed: [ruby-dev:25707]
35473 Thu Feb 17 13:46:00 2005 Nathaniel Talbott <ntalbott@ruby-lang.org>
35475 * lib/test/unit/collector.rb (collect_file): now deletes paths added
35476 to $LOAD_PATH instead of restoring it verbatim.
35478 * lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that
35479 'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace
35480 collector again. Also tried to simplify the calling convention.
35482 * test/runner.rb: adjusted for new AutoRunner semantics.
35484 * lib/test/unit.rb: ditto.
35486 Thu Feb 17 04:21:47 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35488 * lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
35489 fixed: [ruby-core:04444]
35491 Thu Feb 17 00:31:21 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35493 * test/drb/test_drb.rb, ut_safe1.rb: port from 1.8
35495 Thu Feb 17 00:02:27 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35497 * eval.c (is_defined): NODE_IASGN is an assignment.
35499 Wed Feb 16 23:54:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35501 * eval.c (rb_thread_start_1): outer block variables wasn't linked to
35502 threads. fixed: [ruby-dev:25700]
35504 Wed Feb 16 15:11:43 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
35506 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize):
35507 native win32 platform doesn't have F_GETFL.
35509 Wed Feb 16 02:47:45 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
35511 * ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): should
35512 call rb_sys_fail instead of raising SSLError if SSL_ERROR_SYSCALL
35515 * ext/openssl/lib/openssl/buffering.rb (Buffering#fill_rbuff):
35516 should rescue Errno::EAGAIN.
35518 * ext/openssl/lib/openssl/buffering.rb (Buffering#each): fix typo.
35519 suggested by Brian Ollenberger.
35521 * ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the
35524 Tue Feb 15 22:14:34 2005 sheepman <sheepman@tcn.zaq.ne.jp>
35526 * ext/readline/readline.c (Readline.readline): use rl_outstream
35527 and rl_instream. [ruby-dev:25699]
35529 Mon Feb 14 23:58:17 2005 Kouhei Sutou <kou@cozmixng.org>
35531 * lib/rss/parser.rb (RSS::ListenerMixin::tag_end):
35532 fixed invalid namespace handling bug.
35534 Mon Feb 14 13:12:38 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
35536 * ext/openssl/lib/openssl/ssl.rb
35537 (OpenSSL::SSL::SSLSocket#post_connection_check): new method.
35539 Mon Feb 14 00:10:17 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35541 * lib/drb/drb.rb (DRbServer): add default_safe_level, safe_level,
35542 config[:safe_level] ([druby-ja:120])
35544 * test/drb/test_drb.rb, ut_eval.rb, ut_safe1.rb: ditto.
35546 Sun Feb 13 23:13:46 2005 Kouhei Sutou <kou@cozmixng.org>
35548 * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added
35549 convenient methods.
35551 * lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto.
35553 * lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto.
35555 * test/rss/: added tests for the convenient methods.
35557 Sun Feb 13 23:12:47 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35559 * eval.c (rb_thread_start_0): restore prot_tag before rewinding.
35561 Sun Feb 13 16:56:52 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
35563 * lib/webrick/cgi.rb (WEBrick::CGI.start): should set reason-phrase
35564 to the value of status header field. ([ruby-dev:40617])
35566 Sun Feb 13 11:38:40 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35568 * regparse.c (type_cclass_hash): (Thanks Nobu) fixed
35569 overrun. ([ruby-dev:25676]).
35571 Sun Feb 13 10:53:08 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35573 * oniggnu.h, oniguruma.h, regcomp.c, st.c: imported
35576 Sun Feb 13 01:33:19 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35578 * lib/erb.rb (ERB::Util.h, u): make it module_function.
35580 Sat Feb 12 22:17:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35582 * eval.c (TAG_THREAD): to start a new thread.
35584 * eval.c (ruby_init, ruby_options, ruby_cleanup, rb_protect,
35585 rb_load_protect, rb_thread_start_0): make thread anchor.
35587 * eval.c (proc_alloc): clone proc object if klass is not Proc or
35588 created in different thread.
35590 * eval.c (rb_block_pass): call a function with a block. [new]
35592 * eval.c (rb_f_throw): raise NameError in main thread.
35594 Sat Feb 12 17:29:19 2005 Tanaka Akira <akr@m17n.org>
35596 * lib/open-uri.rb (OpenURI.open_loop): send authentication only for
35597 the URI directly specified.
35599 Sat Feb 12 15:07:23 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35601 * random.c (rand_init): suppress warning.
35603 Sat Feb 12 14:10:24 2005 Tanaka Akira <akr@m17n.org>
35605 * lib/open-uri.rb (OpenURI.open_http): reject userinfo explicitly.
35607 Sat Feb 12 13:54:03 2005 Tanaka Akira <akr@m17n.org>
35609 * lib/open-uri.rb: support https if the platform provides CA
35612 Sat Feb 12 06:18:28 2005 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
35614 * ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check
35617 Fri Feb 11 17:37:50 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
35619 * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths):
35620 new method OpenSSL::X509::Store#set_default_paths.
35622 Fri Feb 11 11:33:53 2005 Tanaka Akira <akr@m17n.org>
35624 * lib/open-uri.rb (URI::HTTP#proxy_open): new option supported:
35625 :http_basic_authentication.
35626 suggested by Kent Sibilev. [ruby-core:4392]
35628 Fri Feb 11 06:30:07 2005 George Ogata <g_ogata@optushome.com.au>
35630 * misc/ruby-mode.el: ignore parenthesis inside heredoc.
35633 Fri Feb 11 04:54:13 2005 Tilman Sauerbeck <tilman@code-monkey.de>
35635 * lib/rdoc/generators/html_generator.rb: [ruby-core:04412]
35637 * lib/rdoc/generators/ri_generator.rb: ditto.
35639 Thu Feb 10 13:52:42 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35641 * configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): use
35642 winsock2 on mswin32/mingw.
35644 * ext/socket/extconf.rb: ditto.
35646 * win32/win32.c (StartSockets): ditto.
35648 * win32/win32.h: ditto.
35650 Thu Feb 10 12:09:16 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35652 * ext/extmk.rb (extract_makefile): default to true if not compiled
35655 * ext/extmk.rb (extmake): create dummy makefile if extconf failed.
35657 Thu Feb 10 12:07:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35659 * win32/win32.c (init_stdhandle): assign standard file handles.
35661 * bcc32/Makefile.sub (COMMON_LIBS): add libraries included in
35664 * lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to
35665 rule lines, add search path to implicit rules, and set Borland make
35666 special macros for search path.
35668 * win32/win32.c, win32/win32.h (read): avoid a BCC runtime bug.
35670 Thu Feb 10 00:47:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35672 * struct.c (make_struct): fixed: [ruby-core:04402]
35674 Wed Feb 9 16:33:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35676 * ext/socket/socket.c (wait_connectable): fixed wrong condition.
35678 Wed Feb 9 14:42:28 2005 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
35680 * eval.c (scope_dup): add volatile not to optimize tbl.
35682 Wed Feb 9 10:02:02 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35684 * ext/tk/make-tkutil, ext/tk/tkutil/subconf.rb: no longer used.
35686 * ext/tk/tkutil/extconf.rb: need to compile tkutil. [ruby-dev:25607]
35688 Wed Feb 9 08:07:08 2005 Paul Duncan <pabs@pablotron.org>
35690 * ext/curses/curses.c (window_color_set): [ruby-core:04393]
35692 Tue Feb 8 23:48:36 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35694 * lib/drb/drb.rb: reject :instance_eval, :class_eval, :module_eval
35697 Tue Feb 8 22:38:28 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35699 * keywords, parse.y: separate EXPR_VALUE from EXPR_BEG.
35700 fixed: [ruby-core:04310], [ruby-core:04368]
35702 Tue Feb 8 13:06:12 2005 Sam Roberts <sroberts@uniserve.com>
35704 * ext/socket/socket.c (Init_socket): SO_REUSEPORT added.
35707 Tue Feb 8 00:19:02 2005 Tanaka Akira <akr@m17n.org>
35709 * lib/resolv.rb (Resolv::DNS::Name#subdomain_of?): new method.
35710 (Resolv::DNS::Name#inspect): ditto.
35711 Suggested by Sam Roberts. [ruby-talk:129086]
35713 Mon Feb 7 23:14:11 2005 Tanaka Akira <akr@m17n.org>
35715 * io.c (io_getc): flush rb_stdout before read from stdin, which is
35716 connected to a tty. [ruby-core:4378]
35718 * rubyio.h (FMODE_TTY): renamed from FMODE_LINEBUF.
35720 Mon Feb 7 10:06:30 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35722 * object.c: [ruby-doc:818]
35724 Mon Feb 7 02:13:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35726 * ext/socket/extconf.rb (sockaddr_storage): winsock2.h have the
35727 definition of struct sockaddr_storage, but socket.c doesn't
35728 include it because this version of ruby still has binary level
35729 compatibility with winsock1.
35731 Mon Feb 7 01:22:50 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35733 * ext/extmk.rb (extract_makefile): extract previously collected
35734 informations from existing Makefile.
35736 * ext/socket/extconf.rb: check if getaddrinfo() works fine only when
35737 wide-getaddrinfo option is not given. fixed: [ruby-dev:25422]
35739 * ext/tk/extconf.rb: separate tkutil configuration.
35741 * lib/mkmf.rb ($extmk): check if under ext directory.
35743 * lib/mkmf.rb (Logging.postpone): allow recursive operation.
35745 * lib/mkmf.rb (try_constant): make sure if really a constant, reduce
35746 the number of times of compile.
35748 * lib/mkmf.rb (have_macro, have_var, byte_order): new functions.
35750 * lib/mkmf.rb (find_library): allow directory list with separators.
35752 * lib/mkmf.rb (arg_config): manage provided configuration options.
35754 * lib/mkmf.rb (dir_config): accept arrays of directory names as
35757 * lib/mkmf.rb (with_cppflags, with_cflags, with_ldflags): keep flags
35758 modified if the block returned true.
35760 Sun Feb 6 19:20:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35762 * eval.c (stack_extend): add prototype because VC++8 doesn't
35763 accept __declspec(noinline) with K&R style function definitions.
35765 Sun Feb 6 13:56:19 2005 Tadayoshi Funaba <tadf@dotrb.org>
35767 * lib/date.rb (new_with_hash): changed messages of exception.
35769 * lib/date/format.rb (str[fp]time): undocumented conversion
35770 specifications %[1-3] are now deprecated.
35772 Sun Feb 6 11:27:37 2005 Tanaka Akira <akr@m17n.org>
35774 * ext/dl/dl.c (Init_dl): function declaration should precede
35775 statements before C99.
35777 Sun Feb 6 03:24:20 2005 Tanaka Akira <akr@m17n.org>
35779 * lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not
35781 (Resolv::DNS::Resource::TXT#strings): new method to return all
35783 (Resolv::DNS::Message::MessageEncoder#put_string_list): new method.
35784 (Resolv::DNS::Message::MessageDecoder#get_string_list): ditto.
35785 based on [ruby-talk:129732] by Sam Roberts.
35787 Sat Feb 5 02:24:06 2005 Minero Aoki <aamine@loveruby.net>
35789 * test/ripper/test_scanner_events.rb: fix test.
35791 Fri Feb 4 18:44:35 2005 Minero Aoki <aamine@loveruby.net>
35793 * ext/ripper/lib/ripper/lexer.rb: last Lexer fix was incomplete;
35796 Fri Feb 4 15:57:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35798 * parse.y (open_args): fix too verbose warnings for the space
35799 before argument parentheses. [ruby-dev:25492]
35801 * parse.y (parser_yylex): ditto.
35803 Fri Feb 4 14:33:25 2005 Minero Aoki <aamine@loveruby.net>
35805 * ext/ripper/lib/ripper/filter.rb: ripper/tokenizer ->
35806 ripper/lexer. [ruby-dev:25632]
35808 Fri Feb 4 00:24:15 2005 Kouhei Sutou <kou@cozmixng.org>
35810 * lib/rss: supported Image module.
35811 http://web.resource.org/rss/1.0/modules/image/
35813 Thu Feb 3 23:42:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35815 * ext/stringio/stringio.c (strio_close, strio_close_read, strio_close_write):
35816 should return nil instead of self as well as IO. [ruby-dev:25623]
35818 * ext/stringio/stringio.c (strio_extend, strio_putc): fill with zero
35819 extended portion. [ruby-dev:25626]
35821 Thu Feb 3 16:12:57 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35823 * parse.y (parser_yylex): the first expression in the parentheses
35824 should not be a command. [ruby-dev:25492]
35826 Thu Feb 3 03:31:20 2005 NARUSE, Yui <naruse@ruby-lang.org>
35828 * ext/nkf/nkf-utf8/nkf.c: follow original v 1.57
35830 * ext/nkf/nkf-utf8/utf8tbl.c: follow original v 1.8
35832 * ext/nkf/nkf-utf8/config.h: follow original v 1.7
35834 Wed Feb 2 23:52:53 2005 sheepman <sheepman@tcn.zaq.ne.jp>
35836 * ext/stringio/stringio.c (strio_truncate): should MEMZERO an extended
35837 part. [ruby-dev:25618]
35839 Wed Feb 2 21:56:01 2005 Kouhei Sutou <kou@cozmixng.org>
35841 * lib/rss/rss.rb (RSS::Element#convert): added.
35843 * lib/rss/rss.rb: convert -> need_convert.
35845 * lib/rss/1.0.rb: ditto.
35847 * lib/rss/0.9.rb: ditto.
35849 * lib/rss/2.0.rb: ditto.
35851 * lib/rss/trackback.rb: ditto.
35853 Wed Feb 2 03:30:58 2005 Minero Aoki <aamine@loveruby.net>
35855 * ext/ripper/lib/ripper/tokenizer.rb -> lexer.rb.
35857 * ext/ripper/lib/ripper/lexer.rb: new method Ripper.slice.
35860 * ext/ripper/lib/ripper/sexp.rb: new file. [experimental]
35862 * ext/ripper/lib/ripper.rb: require ripper/lexer and ripper/sexp.
35864 Tue Feb 1 21:49:24 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35866 * lib/drb/drb.rb (DRb::DRbObject#respond_to?): check marshal_dump and
35869 Tue Feb 1 00:20:23 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
35871 * Makefile.in, configure.in: made EXTOUT configurable.
35873 * ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style.
35875 * lib/mkmf.rb: make extensions in depth order. [ruby-dev:25522]
35877 * configure.in (aix): fix linker flags on AIX. [ruby-talk:125460]
35879 Mon Jan 31 13:16:39 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35881 * ext/tk/extconf.rb: add tkutil configuration step (remove old schema)
35883 * ext/tk/depend: remove the information of tkutil
35885 * ext/tk/make-tkutil: sub-part of Makefile to compile tkutil
35887 * ext/tk/tkutil/tkutil.c: move tkutil.c to subdirectory
35889 * ext/tk/tkutil/subconf.rb: configuration file for tkutil.c
35891 * ext/tk/tkutil/depend: ditto
35893 Mon Jan 31 13:13:35 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35895 * ext/tk/tcltklib.c: add invalid namespace check
35897 * ext/tk/lib/multi-tk.rb: add invalid_namespace? method
35899 * ext/tk/lib/remote-tk.rb: ditto
35901 Mon Jan 31 10:29:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35903 * lib/irb/context.rb (IRB::Context::initialize): [ruby-core:04330]
35905 Mon Jan 31 09:44:03 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35907 * object.c (Init_Object): remove Object#type. [ruby-core:04335]
35909 Sat Jan 29 09:42:12 2005 Sam Roberts <sroberts@uniserve.com>
35911 * lib/resolv.rb (Resolv::DNS::Resource::IN::SRV): Added RFC2782 SRV
35912 resource record for specifying location of services.
35914 Sat Jan 29 00:10:33 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35916 * ascii.c, euc_jp.c, hash.c, oniggnu.h, oniguruma.h, regcomp.c,
35917 regenc.c, regenc.h, regerror.c, regexec.c, reggnu.c, regint.h,
35918 regparse.c, regparse.h, sjis.c, st.c, st.h, utf8.c: imported
35921 Fri Jan 28 17:16:55 2005 Tanaka Akira <akr@m17n.org>
35923 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf):
35924 parse options line for ndots option.
35925 (Resolv::Hosts#lazy_initialize): return self.
35926 (Resolv::DNS#lazy_initialize): ditto.
35927 (Resolv::DNS::Config#lazy_initialize): ditto.
35928 Suggested by Sam Roberts.
35930 Thu Jan 27 17:15:03 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35932 * ext/tk/extconf.rb: support new tk scheme on bccwin32.
35933 fixed: [ruby-dev:25546]
35935 Thu Jan 27 13:18:03 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35937 * st.c (st_foreach): report success/failure by return value.
35940 Thu Jan 27 00:12:19 2005 Minero Aoki <aamine@loveruby.net>
35942 * test/fileutils/test_fileutils.rb (setup): support BSD style
35943 directory group inheritance (again).
35945 Thu Jan 27 00:02:40 2005 Minero Aoki <aamine@loveruby.net>
35947 * test/fileutils/test_fileutils.rb (setup): support BSD style
35948 directory group inheritance. [ruby-dev:25440]
35950 * test/fileutils/fileasserts.rb (assert_same_entry): show entry
35953 Wed Jan 26 17:12:50 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
35955 * parse.y: forgot to initialize parser struct. [ruby-dev:25492]
35957 * parse.y (parser_yylex): no tLABEL on EXPR_BEG.
35960 Wed Jan 26 14:12:58 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35962 * ext/Setup*: remove tcltklib.
35964 Wed Jan 26 12:45:16 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35966 * ext/tk/extconf.rb: support new tk scheme on mswin32.
35967 fixed: [ruby-dev:25535]
35969 Wed Jan 26 10:45:19 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35971 * win32/win32.c (flock_winnt, flock_win95): unlock file even if
35972 LOCK_NB is specified.
35974 Tue Jan 25 23:10:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35976 * ext/tk: merge tcltklib for Ruby/Tk installation control
35978 * ext/tcltklib: remove
35980 Tue Jan 25 17:05:15 2005 NAKAMURA Usaku <usa@ruby-lang.org>
35982 * ruby.c (proc_options): correct -T option in RUBYOPT.
35983 fixed: [ruby-dev:25512]
35985 Tue Jan 25 14:05:52 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35987 * ext/tcltklib/tcltklib.c: fix SEGV bug; trouble on canceling remained
35988 after scripts [ruby-dev:25479]: NULL current namespace when deleting
35989 Tk interpreter [ruby-talk:126225]
35991 * ext/tcltklib/extconf.rb: bug fix; TCL_ENABLE_THREAD flag is inverted
35994 * ext/tcltklib/extconf.rb: add yet another native-thread check
35996 * ext/tk/tkutil.c: fix SEGV bug; NULL string pointer when finalize
35999 * ext/tk/lib/multi-tk.rb: avoid warning for deleted safeTk ip frame
36001 * ext/tk/lib/tk/bindtag.rb: bug fix; new method of named bindtag
36002 doesn't return the created object [ruby-dev:25479]
36004 * ext/tk/lib/tk/menu.rb: bug on treating arguments [ruby-dev:25479]
36006 * ext/tk/lib/tk.rb: bug fix; cannot accept a callback ID string for
36007 a command argument [ruby-dev:25479]
36009 * ext/tk/lib/multi-tk.rb: ditto
36011 * ext/tk/lib/tk/*.rb: ditto
36013 * ext/tk/lib/tkextlib/*.rb: ditto
36015 * ext/tk/sample/demos-jp/anilabel.rb: new demo script
36017 * ext/tk/sample/demos-en/anilabel.rb: ditto
36019 * ext/tk/sample/tkHTML/ss.rb: local variable scope bug fix
36022 Mon Jan 24 16:00:53 2005 NARUSE, Yui <naruse@ruby-lang.org>
36024 * ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_old
36025 but NKF.guess1. fixed: [ruby-dev:25491]
36027 Mon Jan 24 15:44:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36029 * document updates - [ruby-core:04296], [ruby-core:04301],
36030 [ruby-core:04302], [ruby-core:04307]
36032 Sun Jan 23 12:38:01 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
36034 * lib/soap/wsdlDriver.rb: from 1.5.3-ruby1.8.2, operation which has
36035 capitalized name (such as KeywordSearchRequest in AWS) is defined as
36036 a method having uncapitalized name. (converted with
36037 GenSupport.safemethodname to handle operation name 'foo-bar'). it
36038 introduced serious incompatibility; in the past, it was defined as a
36041 define capitalized method as well under that circumstance.
36043 Sun Jan 23 05:24:42 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
36045 * ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call
36046 GetOCSPReq at first.
36048 Sat Jan 22 22:59:08 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36050 * lib/drb/ssl.rb (accept): rescue SSLError. [druby-ja:110]
36052 Sat Jan 22 22:27:28 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36054 * lib/drb/unix.rb: fail if UNIXFileOwner is set. [druby-ja:111]
36056 Fri Jan 21 20:07:02 2005 Tanaka Akira <akr@m17n.org>
36058 * lib/resolv.rb (Resolv::DNS::Config.resolv): don't raise ResolvError.
36059 reported by Sam Roberts. [ruby-talk:127133]
36061 Fri Jan 21 17:09:44 2005 Shugo Maeda <shugo@ruby-lang.org>
36063 * lib/net/imap.rb (decode_utf7): use pack("U*") to encode UTF-8.
36065 * lib/net/imap.rb (encode_utf7): use unpack("U*") to decode UTF-8.
36067 * test/net/imap/test_imap.rb: added tests for Net::IMAP.
36069 Fri Jan 21 16:58:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36071 * dir.c (rb_push_glob): should work for NUL delimited patterns.
36073 * dir.c (rb_glob2): should aware of offset in the pattern.
36075 Fri Jan 21 13:58:37 2005 Shugo Maeda <shugo@ruby-lang.org>
36077 * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546]
36079 Fri Jan 21 00:37:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
36081 * ext/syck/rubyext.c (syck_parser_bufsize_set): avoid VC++ warning
36082 "local variable 'size' used without having been initialized".
36084 Thu Jan 20 11:42:02 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36086 * string.c (rb_str_new4): should propagate taintedness.
36088 * env.h: rename member names in struct FRAME; last_func -> callee,
36089 orig_func -> this_func, last_class -> this_class.
36091 * struct.c (rb_struct_set): use original method name, not callee
36092 name, to retrieve member slot. [ruby-core:04268]
36094 * time.c (time_strftime): protect from format modification from GC
36097 Thu Jan 20 02:01:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36099 * object.c (Init_Object): remove rb_obj_id_obsolete()
36101 Wed Jan 19 18:02:19 2005 NAKAMURA Usaku <usa@ruby-lang.org>
36103 * lib/ipaddr.rb (to_s, test_to_s): too many colons with some cases.
36105 Wed Jan 19 01:16:30 2005 Tanaka Akira <akr@m17n.org>
36107 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignore
36108 domain and search directive without an argument.
36109 reported by Sam Roberts. [ruby-talk:126781]
36111 Mon Jan 17 23:33:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
36113 * configure.in (aix): fix typo. [ruby-talk:126401]
36115 Mon Jan 17 07:08:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
36117 * ext/readline/readline.c: suppress warnings.
36119 * lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command):
36122 * lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto.
36124 * lib/irb/ext/history.rb (IRB::Context::eval_history): ditto.
36126 * lib/irb/locale.rb (IRB::Locale::real_load): ditto.
36128 * lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage.
36130 Mon Jan 17 00:09:42 2005 WATANABE Hirofumi <eban@ruby-lang.org>
36132 * lib/uri/common.rb (PORT): typo fix. fixed: [ruby-core:04256]
36134 Sat Jan 15 14:57:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
36136 * ruby.c (proc_options): ignore trailing CRs at the end of short
36137 options as well as long options. fixed: [ruby-core:04232]
36139 Sat Jan 15 13:44:22 2005 Kouhei Sutou <kou@cozmixng.org>
36141 * lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3.
36143 * lib/rss/rss.rb: accept inheritance. [ruby-talk:126104]
36145 Wed Jan 12 12:29:28 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36147 * eval.c (rb_mod_define_method): incomplete subclass check.
36150 * class.c (rb_make_metaclass): class of metaclasses should be
36151 plain Class. [ruby-list:40524]
36153 Tue Jan 11 20:58:52 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
36155 * io.c (remain_size): use buffered data instead of unreading to avoid
36156 inconsistency of text mode. fixed: [ruby-dev:25446]
36158 Tue Jan 11 09:37:53 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
36160 * numeric.c (Init_Numeric): turn off floating point exceptions
36161 on bcc32. "1e300".to_f had crashed by overflow.
36163 Mon Jan 10 15:28:51 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
36165 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should
36166 escape SCRIPT_NAME and PATH_INFO before being parsed as a URI.
36168 * lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add
36169 new method to escape URI path component.
36171 * lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value
36172 of :SSLEnable is false.
36174 * test/webrick/{test_cgi.rb,webrick.cgi}: new file.
36176 * test/webrick/utils.rb: require "webrick/https.h".
36178 Mon Jan 10 01:22:55 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36180 * gc.c (rb_data_object_alloc): klass may be NULL.
36183 Sun Jan 9 14:12:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
36185 * io.c (rb_f_select): IO list could be altered. [ruby-dev:25312]
36187 Sun Jan 9 04:08:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
36189 * test/webrick/test_server.rb (test_daemon): delete an assertion
36190 which has possibility to fail by race condition.
36192 Sun Jan 9 03:22:46 2005 Minero Aoki <aamine@loveruby.net>
36194 * test/fileutils/test_fileutils.rb (test_copy_entry): copy_entry
36195 copies only file type, not mtime. [ruby-dev:25383]
36197 Sat Jan 8 04:38:47 2005 why the lucky stiff <why@ruby-lang.org>
36199 * lib/yaml.rb: Kernel#y requires an argument.
36201 Fri Jan 7 21:12:29 2005 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
36203 * random.c (rand_init): use ALLOC_N instead of ALLOCA_N
36206 Fri Jan 7 20:01:31 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
36208 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
36209 should delete trailing LF from the result of pack("m*").
36211 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
36212 - should delete trailing LF from the result of pack("m*").
36213 - clear Request-Line not to send the response by HTTPServer#run.
36215 * lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues):
36216 refine regexp (and change the name of a local variable).
36218 * lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio
36219 don't allow changing its mode.
36221 * test/webrick/*, sample/webrick/httpproxy.rb: add new files.
36223 Fri Jan 7 18:03:35 2005 Tanaka Akira <akr@m17n.org>
36225 * gc.c (mark_locations_array): avoid core dump with -O3.
36228 Thu Jan 6 20:29:18 2005 NAKAMURA Usaku <usa@ruby-lang.org>
36230 * ext/zlib/zlib.c (zstream_end): should return value.
36232 Thu Jan 6 19:59:03 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
36234 * win32/win32.c (rb_w32_close): didn't close socket handle.
36237 * win32/win32.c (rb_w32_open_osfhandle): bcc32's _open_osfhandle
36240 Thu Jan 6 17:22:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
36242 * random.c (random_seed): O_NONBLOCK isn't defined on some
36243 platforms. [ruby-dev:25417]
36245 Thu Jan 6 13:45:35 2005 Tanaka Akira <akr@m17n.org>
36247 * lib/time.rb: recognize +00:00 and GMT as a localtime.
36249 Thu Jan 6 07:58:28 2005 Dave Thomas <dave@pragprog.com>
36251 * lib/rdoc/usage.rb (RDoc::RDoc.usage_no_exit): Allow for colons
36252 in path names on DOS machines. (thanks to Johan Nilsson)
36254 Thu Jan 6 00:02:35 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36256 * test/rinda/test_rinda.rb: use MockClock.sleep instead of Kernel.sleep
36259 Wed Jan 5 20:16:32 2005 Tanaka Akira <akr@m17n.org>
36261 * random.c (limited_big_rand): didn't work if SIZEOF_BDIGITS == 2.
36264 * random.c (random_seed): refined.
36266 Wed Jan 5 16:39:54 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
36268 * parse.y (BITSTACK_POP): workaround for bcc32 compiler's bug.
36269 shift assignment operator '>>=' for __int64 in struct may
36270 generate collapsed code. [ruby-dev:25342]
36272 * win32/win32.[ch]: failed to compile on bcc32 (and probably wince)
36275 Wed Jan 5 12:49:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
36277 * eval.c (rb_thread_initialize): Thread objects cannot be initialized
36278 again. fixed: [ruby-core:04067]
36280 Wed Jan 5 02:30:11 2005 Tanaka Akira <akr@m17n.org>
36282 * random.c (init_by_array): imported from mt19937ar-cok.tgz.
36283 (genrand_int32): ditto.
36284 (genrand_real): replaced with genrand_res53 in mt19937ar-cok.
36285 (rand_init): support bignum for longer seed.
36286 (random_seed): generate longer seed.
36287 (make_mask): new function.
36288 (limited_rand): ditto.
36289 (limited_big_rand): ditto.
36290 (rb_f_rand): call limited_rand and limited_big_rand.
36293 Tue Jan 4 23:25:29 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36295 * bignum.c (rb_big_rand): should return positive random number.
36298 Tue Jan 4 21:25:43 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36300 * test/drb/{test_drbssl.rb,test_drbunix.rb,ut_drb.rb}: use
36301 DRbService.ext_service. reduce sleep.
36303 Mon Jan 3 14:01:54 2005 Tanaka Akira <akr@m17n.org>
36305 * random.c (random_seed): don't use /dev/urandom if it is not
36308 Mon Jan 3 11:37:42 2005 Tanaka Akira <akr@m17n.org>
36310 * random.c (random_seed): use /dev/urandom if available.
36313 Tue Jan 4 11:15:29 2005 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
36315 * bignum.c (rb_big_rand): do not use rb_big_modulo to generate
36316 random bignums. [ruby-dev:25396]
36318 Mon Jan 3 11:03:37 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36320 * test/drb/test_drb.rb: move TestDRbReusePort to new file.
36323 * test/drb/drbtest.rb: change timeout.
36325 * test/drb/ignore_test_drb.rb: new file.
36327 Mon Jan 3 07:27:46 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
36329 * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
36330 raise NotImplementedError if password is encrypted by digest
36331 algorithms. This patch is contributed by sheepman. [ruby-list:40467]
36333 * lib/webrick/httpauth/digestauth.rb
36334 (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
36335 This patch is contributed by sheepman. [ruby-list:40482]
36337 * lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
36338 pack/unpack-template char "m" instead of lib/base64.rb to do base64
36339 encoding/decoding. fixed: [ruby-dev:25336]
36341 * test/webrick/test_httpauth.rb: new file.
36343 Sun Jan 2 15:42:10 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36345 * lib/drb/drb.rb: add lazy stop_service.
36347 * lib/drb/extserv.rb: ditto.
36349 Sun Jan 2 01:17:17 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36351 * test/drb/drbtest.rb: add method DRbService.ext_service.
36353 * test/drb/test_drb.rb: ditto.
36355 * test/drb/test_drbssl.rb: ditto.
36357 Sat Jan 1 20:23:02 2005 Tanaka Akira <akr@m17n.org>
36359 * io.c (argf_readpartial): new method ARGF.readpartial.
36360 (io_getpartial): extracted from io_readpartial.
36361 (io_readpartial): call io_getpartial.
36363 Sat Jan 1 17:44:54 2005 Minero Aoki <aamine@loveruby.net>
36365 * lib/net/http.rb (each_capitalized): should join header field
36366 value. This patch is contributed sheepman [ruby-list:40478]
36368 * test/net/http/test_httpheader.rb: test it.
36370 Sat Jan 1 16:21:29 2005 Minero Aoki <aamine@loveruby.net>
36372 * lib/fileutils.rb (copy_stream): use read/write instead of
36373 sysread/syswrite, which allows duck typing. [ruby-dev:25369]
36375 * lib/fileutils.rb (copy_stream): does NOT support nonblocking IO.
36378 * lib/fileutils.rb (copy_entry): could not copy symlink.
36380 * test/fileutils/test_fileutils.rb: test copy_entry, copy_file,
36383 Sat Jan 1 04:20:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
36385 * ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call
36386 StringValue before GetSPKI. fixed: [ruby-dev:25359].
36388 Sat Jan 1 01:13:28 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
36390 * variable.c (rb_autoload): [ruby-dev:25373]
36392 Fri Dec 31 14:10:43 2004 Dave Thomas <dave@pragprog.com>
36394 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item):
36395 Fix problem if heading contains formatting.
36397 Fri Dec 31 00:08:02 2004 Tanaka Akira <akr@m17n.org>
36399 * configure.in (HAVE_RLIM_T): removed because not used.
36401 Thu Dec 30 22:45:39 2004 Tanaka Akira <akr@m17n.org>
36403 * rubyio.h: don't deprecate rb_read_check.
36405 * io.c (STDIO_READ_DATA_PENDING): reverted from old READ_DATA_PENDING
36406 to check stdio read buffer.
36407 (rb_read_check): use STDIO_READ_DATA_PENDING.
36408 (rb_read_pending): ditto.
36411 Thu Dec 30 05:39:35 2004 Minero Aoki <aamine@loveruby.net>
36413 * parse.y: eliminate unused members in struct parser_params.
36414 [ruby-dev:25258] (again)
36416 * parse.y: make parser_new() static.
36418 Thu Dec 30 00:41:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36420 * eval.c (svalue_to_avalue): [ruby-dev:25366]
36422 * string.c (rb_str_justify): [ruby-dev:25367]
36424 Wed Dec 29 11:07:07 2004 Dave Thomas <dave@pragprog.com>
36426 * lib/rdoc/generators/template/html/kilmer.rb: Update to use new
36429 Tue Dec 28 22:31:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36431 * string.c (rb_str_justify): create buffer string after argument type
36432 conversion. fixed: [ruby-dev:25341]
36434 Tue Dec 28 17:18:17 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36436 * lib/net/telnet.rb (preprocess): remove NULL unless binmode.
36437 fixed: [ruby-list:40320]
36439 Tue Dec 28 15:41:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36441 * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
36442 variables. fixed: [ruby-list:40445]
36444 Tue Dec 28 15:25:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36446 * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
36449 * ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
36452 Tue Dec 28 13:35:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36454 * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate): ensure
36455 freeing internal zstreams. fixed: [ruby-dev:25309]
36457 * ext/zlib/zlib.c (rb_deflate_init_copy): replace rb_deflate_clone.
36459 Mon Dec 27 20:02:14 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36461 * ext/tcltklib/tcltklib.c: fix SEGV bug when deleting Tk interp
36463 * ext/tk/lib/multi-tk.rb: ditto
36465 Mon Dec 27 16:54:05 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36467 * ext/openssl/ossl_x509name.c (Init_ossl_x509name): should use
36468 rb_hash_new to get exactly a Hash. fix [ruby-dev:25325].
36470 Mon Dec 27 15:29:12 2004 Minero Aoki <aamine@loveruby.net>
36472 * test/fileutils/test_fileutils.rb (cp_r): tested wrong file name.
36475 Mon Dec 27 15:15:18 2004 Minero Aoki <aamine@loveruby.net>
36477 * lib/fileutils.rb (mv): should raise error when moving a
36478 directory to the (empty) directory. [ruby-talk:124368]
36480 * lib/fileutils.rb (mv): wrongly did not overwrite file on Win32
36483 Mon Dec 27 14:36:20 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36485 * process.c (NUM2RLIM, RLIM2NUM): Without SIZEOF_RLIM_T is not error.
36486 fixed: [ruby-dev:25346]
36488 Sun Dec 26 16:21:39 2004 Shugo Maeda <shugo@ruby-lang.org>
36490 * lib/net/imap.rb (Net::IMAP::PlainAuthenticator): added a new class
36491 to support the PLAIN authentication mechanism. Thanks, Benjamin
36494 Sat Dec 25 01:28:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36496 * io.c (rb_f_select): [ruby-dev:25312]
36498 Fri Dec 24 23:27:18 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36500 * ext/tk/lib/tk/image.rb: TkPhotoImage#cget bug fix
36502 Fri Dec 24 03:06:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36504 * io.c (io_reopen, rb_io_reopen): prohibit to change access mode for
36505 special IO ports. [ruby-dev:25225]
36507 * io.c (next_argv): reduce use of stdio.
36509 Fri Dec 24 02:22:53 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36511 * ext/syck/rubyext.c (syck_loader_transfer): check type conversion.
36513 * ext/syck/rubyext.c (syck_parser_assign_io, rb_new_syck_node): duck
36516 * ext/syck/rubyext.c (syck_parser_s_alloc, syck_parser_initialize):
36517 allocation framework.
36519 * ext/syck/rubyext.c (syck_emitter_s_alloc, syck_emitter_initialize):
36522 Fri Dec 24 01:21:00 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36524 * ext/tk/lib/tkextlib/blt.rb: add BLT extension support
36526 * ext/tk/lib/tkextlib/blt/*.rb: ditto
36528 * ext/tk/lib/tkextlib/blt/tile/*.rb: ditto
36530 Thu Dec 23 23:43:24 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36532 * process.c (proc_setgroups): check if the argument length is
36533 modified. fixed: [ruby-dev:25285]
36535 * process.c (SIZEOF_RLIM_T): err if size of rlim_t is not set.
36537 Thu Dec 23 19:08:41 2004 Tanaka Akira <akr@m17n.org>
36539 * rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.
36541 * io.c (io_check_tty): extracted function to set FMODE_LINEBUF and
36544 Thu Dec 23 13:13:33 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36546 * ext/tcltklib/tcltklib.c: define TclTkLib::COMPILE_INFO and
36549 * ext/tcltklib/extconf.rb: ditto
36551 * ext/tk/tkutil.c: define TkUtil::RELEASE_DATE
36553 * ext/tk/lib/tk.rb: define Tk::RELEASE_DATE
36555 Thu Dec 23 00:16:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36557 * configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]
36559 Wed Dec 22 11:14:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36561 * io.c (rb_io_mode_modenum): replace O_ACCMODE with O_RDWR.
36562 fixed: [ruby-dev:25273]
36564 Wed Dec 22 08:34:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36566 * ext/dl/sym.c (rb_dlsym_initialize): extract internal pointers after
36567 all argument conversion. fixed: [ruby-dev:25271]
36569 Tue Dec 21 16:15:21 2004 Michael Neumann <mneumann@ruby-lang.org>
36571 * lib/xmlrpc/client.rb: use "" instead of "." if prefix argument is
36572 nil in proxy methods. nil is default value.
36574 * test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb:
36575 use threads instead of forking. this should fix issue #1208
36576 (http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1208&group_id=426).
36577 removed testing of SSL enabled servlet as this hangs.
36579 Wed Dec 22 00:05:10 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
36581 * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.
36583 Tue Dec 21 22:07:41 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36585 * ext/openssl/ossl_asn1.c (ossl_asn1_decode_all): use rb_str_new4
36588 * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
36589 ossl_asn1_decode_all): temporary value should be marked volatile.
36591 Tue Dec 21 12:42:34 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36593 * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode):
36594 use rb_str_new4 to avoid SEGV. fix [ruby-dev:25261]
36596 * test/openssl/test_asn1.rb: add tests for OpenSSL::ASN1.
36598 Tue Dec 21 12:10:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36600 * ext/tk/lib/tk/grid.rb: rescue bug of 'grid configure' on Tcl/Tk8.3-
36602 Mon Dec 20 22:52:29 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
36604 * added samples for the previous soap4r's commit.
36606 Mon Dec 20 22:56:39 2004 Tanaka Akira <akr@m17n.org>
36608 * gc.c (set_stack_end): gcc noinline attribute is available since
36611 Mon Dec 20 22:40:31 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
36614 * lib/soap/mapping/wsdl*.rb
36615 * lib/wsdl/soap/element.rb
36616 * lib/wsdl/xmlSchema/simpleContent.rb
36627 * imported from the soap4r repository. Version: 1.5.3-ruby1.8.2
36629 * added several XSD basetype support: nonPositiveInteger,
36630 negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt,
36631 unsignedShort, unsignedByte, positiveInteger
36633 * HTTP client connection/send/receive timeout support.
36635 * HTTP client/server gzipped content encoding support.
36637 * improved WSDL schema definition support; still is far from
36638 complete, but is making step by step improvement.
36640 Mon Dec 20 14:45:19 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36642 * lib/net/https.rb: delete descriptions about key_file and cert_file.
36643 fixed: [ruby-dev:25243]
36645 * ext/openssl/lib/net/telnets.rb: ditto.
36647 Mon Dec 20 14:07:02 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36649 * ext/tk/lib/multi-tk.rb: supports new features of Tcl/Tk8.5a2
36651 * ext/tk/lib/tk/clock.rb: ditto
36653 * ext/tk/lib/tk/text.rb: ditto
36655 * ext/tk/lib/tk/panedwindow.rb: ditto
36657 Mon Dec 20 13:51:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36659 * ext/socket/socket.c (sock_s_getservbyport): [ruby-talk:124072]
36661 Mon Dec 20 10:51:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36663 * parse.y (special_local_set): prevent the parser object from GC.
36664 fixed: [ruby-dev:25252]
36666 Mon Dec 20 03:30:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36668 * lib/cgi/session.rb (CGI::Session#initialize): empty session id was
36669 used if request had no session key. fixed: [ruby-core:03981]
36671 Mon Dec 20 01:51:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36673 * struct.c (make_struct): [ruby-dev:25249]
36675 Mon Dec 20 00:16:54 2004 Kouhei Sutou <kou@cozmixng.org>
36677 * lib/rexml/encodings/SHIFT_JIS.rb: fixed LoadError bug.
36680 Sun Dec 19 17:24:59 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36682 * configure.in (enable_rpath): use rpath flag to embed the library
36683 path into extensions on ELF environment. [ruby-dev:25035]
36685 Sun Dec 19 11:01:25 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36687 * lib/test/unit.rb: use standalone runner for -e.
36689 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept
36690 multiple -p and -x options.
36692 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect):
36695 Sat Dec 18 16:36:23 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36697 * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate):
36698 disallow interrupt by type conversion. fixed: [ruby-dev:25226]
36700 Sat Dec 18 15:09:02 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
36702 * lib/webrick/httpauth.rb,
36703 lib/webrick/httpauth/{basicauth.rb,digestauth.rb}: use
36704 pack/unpack-template char "m" instead of lib/base64.rb to do base64
36707 Sat Dec 18 10:51:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36709 * dir.c (dir_open_dir): new function. [ruby-dev:25242]
36711 * io.c (rb_f_open): add type check for return value from to_open.
36713 Fri Dec 17 16:44:26 2004 Tanaka Akira <akr@m17n.org>
36715 * configure.in (ac_cv_sizeof_rlim_t): set 8 for BSD/OS.
36716 Reported by OHARA Shigeki. [ruby-dev:25236]
36718 Fri Dec 17 16:28:12 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36720 * ext/tk/lib/tk.rb: fix bug on setting up system encoding
36722 * ext/tk/lib/tk/event.rb: fix error on require process
36724 * ext/tk/lib/tk/font.rb: fix abnormal termination error on Windows
36726 * ext/tk/lib/tk/virtevent.rb: TkVirtualEvent::PreDefVirtEvent.new()
36727 accepts event-sequence arguments
36729 * ext/tk/lib/tk/text.rb: fail to dump embedded images
36731 * ext/tk/lib/tk/text.rb: tag_nextrange and tag_prevrange returns wrong
36734 * ext/tk/lib/tk/texttag.rb: nextrange and prevrange returns wrong
36737 * ext/tk/lib/tk/text.rb: add TkText::IndexModMethods module and
36738 TkText::IndexString class to treat text index modifiers
36740 * ext/tk/lib/tk/texttag.rb: use TkText::IndexModMethods module
36742 * ext/tk/lib/tk/textmark.rb: ditto
36744 * ext/tk/lib/tk/textimage.rb: ditto
36746 * ext/tk/lib/tk/textwindow.rb: ditto
36748 * ext/tk/lib/tk/textimage.rb: wrong gravity of text mark for embedded
36751 * ext/tk/lib/tk/textwindow.rb: wrong gravity of text mark for
36754 Fri Dec 17 13:33:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36756 * lib/cgi/session.rb (CGI::Session#initialize): control adding
36757 session_id hidden fields. fixed: [ruby-talk:123850]
36759 Fri Dec 17 00:01:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36761 * eval.c (rb_proc_arity, rb_node_arity, rb_mod_method_arity,
36762 rb_obj_method_arity): new functions to obtain method arity.
36765 Thu Dec 16 23:31:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36767 * lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension
36768 is installed. fixed: [ruby-dev:25215]
36770 Thu Dec 16 22:36:57 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36772 * test/drb/test_drb.rb: adjust and reduce sleep.
36774 Thu Dec 16 18:37:08 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36776 * ext/openssl/ossl.c (ossl_raise): refine message format.
36778 Thu Dec 16 16:29:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36780 * ext/tk/sample/demos-en/widget: modify version check for
36781 supporting features
36783 Thu Dec 16 16:03:50 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36785 * ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667]
36787 * ext/tk/lib/tk/timer.rb: accept :idle for the interval argument
36789 * ext/tk/lib/tk.rb: add TkComm._callback_entry?()
36791 * ext/tk/lib/multi-tk.rb: add MultiTkIp.cb_entry_class
36793 * ext/tk/lib/tk/canvas.rb: use TkComm._callback_entry?()
36795 * ext/tk/lib/tk/canvastag.rb: ditto
36797 * ext/tk/lib/tk/dialog.rb: ditto
36799 * ext/tk/lib/tk/optiondb.rb: ditto
36801 * ext/tk/lib/tk/text.rb: ditto
36803 * ext/tk/lib/tk/texttag.rb: ditto
36805 * ext/tk/lib/tk/textwindow.rb: ditto
36807 * ext/tk/lib/tk/timer.rb: ditto
36809 * ext/tk/lib/tk/validation.rb: ditto
36811 * ext/tk/lib/tkextlib/*: ditto
36813 Thu Dec 16 04:02:28 2004 Minero Aoki <aamine@loveruby.net>
36815 * ext/ripper/extconf.rb: bison is not needed if ripper.c exists.
36818 Thu Dec 16 03:27:10 2004 Minero Aoki <aamine@loveruby.net>
36820 * lib/net/http.rb: remove junk.
36822 Thu Dec 16 00:57:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36824 * ext/syck/rubyext.c (rb_syck_io_str_read): [ruby-core:03973]
36826 Thu Dec 16 00:43:29 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36828 * lib/drb/drb.rb: changed default binded address family to use an
36829 available address family of host name. [druby-ja:101]
36831 * lib/drb/ssl.rb: ditto
36833 Wed Dec 15 17:47:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36835 * lib/webrick/server.rb (WEBrick::GenericServer#start_thread):
36836 should log about all accepted socket. [ruby-core:03962]
36838 * lib/webrick/accesslog.rb (WEBrick::AccessLog#setup_params):
36839 "%%" and "%u" are supported. [webricken:135]
36841 * lib/webrick/httpservlet/filehandler.rb
36842 (WEBrick::HTTPServlet::FileHandler#check_filename):
36843 :NondisclosureName is acceptable if it is Enumerable.
36845 * lib/webrick/config.rb (WEBrick::Config::FileHandler):
36846 default value of :NondisclosureName is [".ht*", "*~"].
36848 Wed Dec 15 16:10:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36850 * object.c (rb_obj_id_obsolete): warn always.
36852 Wed Dec 15 15:31:02 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36854 * lib/set.rb (Set#==): [ruby-dev:25206]
36856 Wed Dec 15 14:32:18 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36858 * win32/win32.c (rb_w32_fdisset): check whether the handle is valid.
36860 Wed Dec 15 10:30:37 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36862 * ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198]
36864 Tue Dec 14 19:17:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36866 * utf8.c (utf8_is_mbc_ambiguous): [ruby-talk:123561]
36868 * utf8.c (utf8_mbc_to_normalize): ditto.
36870 Tue Dec 14 17:08:15 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36872 * win32/win32.c (rb_w32_close): need to reset osfhnd().
36874 Tue Dec 14 14:03:57 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36876 * ext/openssl/ossl.c (ossl_raise): avoid buffer overrun.
36879 Tue Dec 14 12:36:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36881 * lib/cgi/session.rb (CGI::Session::initialize): generate new
36882 session if given session_id does not exist. [ruby-list:40368]
36884 Tue Dec 14 08:47:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36886 * eval.c (Init_eval): should mark ruby_eval_tree. [ruby-dev:25189]
36888 Mon Dec 13 18:13:52 2004 Tanaka Akira <akr@m17n.org>
36890 * gc.c (set_stack_end): new function to obtain stack end address.
36891 set_stack_end obtains a stack end address by an address of local
36892 variable in the function.
36893 (SET_STACK_END, STACK_END): use set_stack_end. don't use alloca.
36894 This makes the conservative garbage collector to scan a stack frame
36895 of the garbage_collect function itself. This is required because
36896 callee-save registers may be stored in the frame.
36899 Mon Dec 13 02:45:51 2004 Shugo Maeda <shugo@ruby-lang.org>
36901 * ext/curses/curses.c (window_subwin): call NUM2INT() before
36902 GetWINDOW(). fixed: [ruby-dev:25161]
36904 Mon Dec 13 00:58:02 2004 Tanaka Akira <akr@m17n.org>
36906 * lib/pathname.rb (cleanpath_aggressive): make it private.
36907 (cleanpath_conservative): ditto.
36908 Suggested by Daniel Berger. [ruby-core:3914]
36910 Sun Dec 12 21:32:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36912 * test/ruby/test_super.rb (TestSuper#test_define_method): now methods
36913 from procs can call super.
36915 Sun Dec 12 10:35:10 2004 Dave Thomas <dave@pragprog.com>
36917 * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Don't
36918 show an accessor's r/w flag if none was specified
36920 Sun Dec 12 10:14:03 2004 Dave Thomas <dave@pragprog.com>
36922 * lib/rdoc/rdoc.rb (RDoc::RDoc::parse_files): Never exclude files
36923 explicitly given on the command line.
36925 Sat Dec 11 21:10:16 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36927 * lib/drb/drb.rb: add DRbRemoteError. [ruby-list:40348],
36930 * test/drb/drbtest.rb: ditto.
36932 * test/drb/ut_drb.rb: ditto.
36934 Sat Dec 11 13:08:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36936 * sample/optparse/subcommand.rb: a sample for sub commands like
36937 cvs. contributed by Minero Aoki.
36939 Fri Dec 10 08:39:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36941 * ext/socket/socket.c (sock_listen): get OpenFile just before calling
36944 Thu Dec 9 16:28:35 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36946 * ext/sdbm/init.c (GetDBM): typo.
36948 Thu Dec 9 16:21:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
36950 * lib/webrick/cgi.rb (WEBrick::CGI#setup_header): avoid
36951 SecurityError. [ruby-dev:24970]
36953 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should wait
36954 for reading request till data arrive. [ruby-talk:121068]
36956 Thu Dec 9 14:38:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36958 * string.c (rb_str_inspect): escape # which starts an expression
36959 substitution. fixed: [ruby-core:03922]
36961 * string.c (rb_str_dump): not escape # which isn't a substitution.
36963 Thu Dec 9 12:31:53 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36965 * io.c (pipe_open): should set prog if argc != 0.
36967 Thu Dec 9 10:54:36 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36969 * ext/dbm/dbm.c (fdbm_select): [ruby-dev:25132]
36971 * ext/sdbm/init.c: ditto.
36973 * ext/gdbm/gdbm.c: ditto.
36975 Thu Dec 9 10:19:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36977 * test/socket/test_socket.rb (test_setsockopt): use SO_LINGER instead
36978 of SO_BINDTODEVICE. fixed: [ruby-dev:25133]
36980 Thu Dec 9 03:08:36 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36982 * ext/tcltklib/tcltklib.c (ip_init): set root-win title to "ruby" when
36983 the running script is '-e one-liner' or '-' (stdin).
36985 * ext/tcltklib/extconf.rb: add find_library("#{lib}#{ver}",..) for
36988 * ext/tk/lib/tk/textmark.rb: TkTextMarkCurrent and TkTextMarkAnchor
36989 have a wrong parent class.
36991 * ext/tk/lib/tk/dialog.rb: rename TkDialog2 --> TkDialogObj and
36992 TkWarning2 --> TkWarningObj (old names are changed to alias names)
36994 * ext/tk/lib/tk/dialog.rb: bug fix of treatment of 'prev_command'
36995 option and hashes for configuration
36997 * ext/tk/lib/tk/dialog.rb: add TkDialogObj#name to return the
37000 * ext/tk/lib/tk/radiobutton.rb: rename enbugged method value() ==>
37001 get_value() and value=(val) ==> set_value(val).
37003 * ext/tk/lib/tk/menu.rb: add TkMenu.new_menuspec
37005 * ext/tk/lib/tk/menu.rb: add alias (TkMenuButton = TkMenubutton,
37006 TkOptionMenuButton = TkOptionMenubutton)
37008 * ext/tk/lib/tk/event.rb: new method aliases (same as option keys of
37009 event_generate) for Event object
37011 * ext/tk/lib/tk/font.rb: configinfo returns proper types of values
37013 * ext/tk/lib/tk.rb: bind methods accept subst_args + block
37015 * ext/tk/lib/tk/canvas.rb: ditto
37017 * ext/tk/lib/tk/canvastag.rb: ditto
37019 * ext/tk/lib/tk/frame.rb: ditto
37021 * ext/tk/lib/tk/text.rb: ditto
37023 * ext/tk/lib/tk/texttag.rb: ditto
37025 * ext/tk/lib/tk/toplevel.rb: ditto
37027 * ext/tk/lib/tkextlib/*: ditto and bug fix
37029 Wed Dec 8 23:54:29 2004 Dave Thomas <dave@pragprog.com>
37031 * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Typo
37032 meant that h2 tag was invisible.
37034 Wed Dec 8 22:10:02 2004 Tanaka Akira <akr@m17n.org>
37036 * rubyio.h, io.c, ext/dl/dl.c, ext/pty/pty.c, ext/socket/socket.c:
37037 create FILE object only when required: popen(3) and DL's IO#to_ptr.
37040 * io.c (rb_io_binmode): use setmode for Human68k. [ruby-dev:25121]
37042 Wed Dec 8 20:13:06 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37044 * process.c (rb_spawn): support for DJGPP.
37046 * lib/mkmf.rb (VPATH): specify the implicit path separator for DJGPP.
37048 Wed Dec 8 17:48:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37050 * eval.c (proc_invoke): merge Guy Decoux's argument preserve
37051 patch in [ruby-core:03874].
37053 Wed Dec 8 17:37:33 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37055 * win32/win32.c (rb_w32_pipe_exec): need to close original socket
37058 Wed Dec 8 14:31:36 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37060 * sprintf.c (rb_f_sprintf): [ruby-dev:25104]
37062 Wed Dec 8 13:49:46 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37064 * win32/win32.c (rb_w32_pipe_exec): must close original handle
37065 before exec. fixed: [ruby-dev:25112]
37067 Wed Dec 8 11:46:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37069 * parse.y (string_content): get rid of segfault at empty evstr.
37070 fixed: [ruby-dev:25113]
37072 Wed Dec 8 03:26:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37074 * ext/openssl/ossl_bio.c (ossl_obj2bio): should not use fptr->f.
37077 Wed Dec 8 03:26:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37079 * runruby.rb: prepend LIBRUBY_SO to LD_PRELOAD as well as rubytest.rb.
37081 Wed Dec 8 01:35:44 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37083 * win32/win32.c (is_socket): reorder of function definitions.
37085 Wed Dec 8 00:44:31 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37087 * io.c (pipe_open): win32 bidirectional pipe support.
37089 * win32/win32.[ch] (rb_w32_pipe_exec): ditto.
37091 * win32/win32.[ch] (socketpair): new function. POSIX socketpair
37094 * win32/win32.c (socketpair_internal): ditto.
37096 Wed Dec 8 00:25:07 2004 Kouhei Sutou <kou@cozmixng.org>
37098 * test/rss/test_version.rb: added version check test.
37101 Tue Dec 7 15:40:38 2004 Tanaka Akira <akr@m17n.org>
37103 * io.c (io_fwrite): avoid context switch before writing to stderr.
37106 * rubyio.h: refine deprecated declaration.
37108 * configure.in, file.c, io.c: remove useless check: fseeko, etc.
37110 Tue Dec 7 13:42:07 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37112 * dir.c (dir_s_mkdir): win32 special processing doesn't need any
37115 * win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible
37118 * win32/win32.[ch] (rb_w32_rmdir): new function.
37120 Tue Dec 7 00:27:37 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37122 * process.c (proc_setgroups): [ruby-dev:25081]
37124 Mon Dec 6 23:07:57 2004 Tanaka Akira <akr@m17n.org>
37126 * configure.in: check -lsocket for socketpair and shutdown.
37127 reported by Ville Mattila. [ruby-core:03903]
37129 Mon Dec 6 23:00:45 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37131 * configure.in (ac_cv_sizeof_rlim_t): setup for DJGPP.
37133 * io.c (is_socket, shutdown): define dummy macros for DJGPP.
37135 * process.c: use SIZEOF_RLIM_T instead of HAVE_RLIM_T for DJGPP.
37137 Mon Dec 6 21:19:40 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37139 * io.c (is_socket): fix typos. [ruby-core:03900]
37141 Mon Dec 6 20:13:28 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37143 * io.c (is_socket): new function.
37145 * io.c (rb_io_close_read, rb_io_close_write): use is_socket().
37147 * io.c (rb_io_fptr_finalize): need to check fptr->f before calling
37148 rb_io_fptr_cleanup().
37150 * io.c (pipe_open): win32 pipe support (experimental).
37152 * win32/win32.[ch] (rb_w32_pipe_exec): return file descriptors
37153 instead of FILE structure objects.
37155 * win32/win32.[ch] (rb_w32_is_socket): new function.
37157 Mon Dec 6 19:40:40 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37159 * Makefile.in (.y.c): simplify the rule.
37161 Mon Dec 6 18:08:10 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37163 * re.c (rb_reg_eqq): document fix. [ruby-talk:122541]
37165 Mon Dec 6 17:49:30 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37167 * eval.c (run_trap_eval): add prototype for Microsoft compiler.
37169 Mon Dec 6 17:32:38 2004 Tanaka Akira <akr@m17n.org>
37171 * rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,
37172 ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c:
37173 Use own buffering mechanism instead of stdio. [ruby-dev:25056]
37175 * io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb:
37178 Mon Dec 6 17:15:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37180 * test/socket/test_socket.rb (TestBasicSocket#test_setsockopt):
37181 BasicSocket#setsockopt dumps core. [ruby-dev:25039]
37183 * test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom):
37184 TCPSocket#recvfrom dumps core. [ruby-dev:24705]
37186 * test/socket/test_udp.rb (TestUDPSocket#test_connect):
37187 UDPSocket#connect dumps core. [ruby-dev:25045]
37189 * test/socket/test_udp.rb (TestUDPSocket#test_bind):
37190 UDPSocket#bind dumps core. [ruby-dev:25057]
37192 Mon Dec 6 09:59:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37194 * io.c (io_fread): take VALUE argument.
37196 * ext/socket/socket.c (sock_connect): use rb_str_new4().
37199 * eval.c (rb_yield_0): [ruby-dev:25051]
37201 Mon Dec 6 01:32:31 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37203 * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,
37204 ossl_rsa_public_decrypt, ossl_rsa_private_encrypt,
37205 ossl_rsa_private_decrypt): should take an optional argument
37206 to specify padding mode. [ruby-talk:122539]
37208 * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants
37209 PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING
37210 under OpenSSL::PKey::RSA.
37212 * test/openssl/test_pkey_rsa.rb: new file.
37214 Sun Dec 5 19:39:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37216 * lib/optparse.rb (OptionParser::Completion#complete): new parameter
37217 to direct case insensitiveness.
37219 * lib/optparse.rb (OptionParser#order!): ignore case only for long
37220 option. [ruby-dev:25048]
37222 Sun Dec 5 00:54:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37224 * mkconfig.rb: setup library paths before requiring library.
37227 Sat Dec 4 22:54:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37229 * io.c (io_write): remove rb_str_locktmp(). [ruby-dev:25050]
37231 * io.c (io_fwrite): takes VALUE string as an argument.
37234 * ext/socket/socket.c (sock_connect): remove rb_str_locktmp().
37237 * ext/socket/socket.c (udp_connect): [ruby-dev:25045]
37239 * ext/socket/socket.c (udp_bind): ditto.
37241 * ext/socket/socket.c (udp_send): ditto.
37243 * ext/socket/socket.c (bsock_send): ditto.
37245 * ext/socket/socket.c (s_recvfrom): ditto.
37247 * hash.c (rb_hash_hash): should provide "hash" method where "eql?"
37248 is redefined. [ruby-talk:122482]
37250 Sat Dec 4 21:29:05 2004 Minero Aoki <aamine@loveruby.net>
37252 * lib/fileutils.rb: (In previous commit) new method chown.
37254 * lib/fileutils.rb: (In previous commit) new method chown_R.
37256 * lib/fileutils.rb: (In previous commit) new method chmod_R
37257 wrongly added. Removed now.
37259 Sat Dec 4 20:45:52 2004 Minero Aoki <aamine@loveruby.net>
37261 * lib/fileutils.rb (mkdir, mkdir_p): should chmod explicitly.
37264 Sat Dec 4 18:54:09 2004 Kouhei Sutou <kou@cozmixng.org>
37266 * lib/rss/rss.rb: removed empty lines from output.
37268 Sat Dec 4 18:49:09 2004 Kouhei Sutou <kou@cozmixng.org>
37270 * lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
37272 * lib/rss/rss.rb: #item=/#set_item and so on are obsolete.
37274 Sat Dec 4 14:28:56 2004 Dave Thomas <dave@pragprog.com>
37276 * lib/rdoc/code_objects.rb (RDoc::Context::Section::set_comment):
37277 Section comments may now be bracketed by lines which are
37278 ignored. You can now write
37280 # :section: Dave's Section
37283 The lines before :section: are removed, and identical lines at the end are
37284 also removed if present.
37286 Sat Dec 4 00:35:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37288 * ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039]
37290 Fri Dec 3 12:25:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37292 * st.h: fix prototype for C++.
37294 Fri Dec 3 01:55:24 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37296 * ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missing
37297 returns proper object. "widget.option = val" returns val, and
37298 "widget.option(val)" returns self.
37300 * ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument.
37302 * ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and
37303 TkRadiobutton#value=(val).
37305 * ext/tk/lib/tk/spinbox.rb: callback substitution support on
37308 * ext/tk/sample/demos-en/widget: bug fix (wrong image height)
37310 * ext/tk/sample/demos-jp/widget: ditto.
37312 Fri Dec 3 00:21:05 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37314 * eval.c (proc_invoke): prepare to pass a block from "call" method
37315 to a Proc generated by Method#to_proc. [ruby-dev:25031]
37317 * eval.c (rb_yield_0): actually passes a block given to "call".
37319 * object.c (convert_type): use rb_respond_to() again. this fix is
37320 based on [ruby-dev:25021]
37322 * eval.c (rb_respond_to): funcall respond_to? if it's redefined.
37325 Thu Dec 2 15:13:53 2004 Michael Neumann <mneumann@ruby-lang.org>
37327 * test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expected
37328 values are now stored in YAML instead of using #inspect. This fixes
37331 Fri Dec 3 00:11:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37333 * io.c (rb_file_initialize): [ruby-dev:25032]
37335 Thu Dec 2 16:41:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37337 * eval.c (rb_protect): prevent continuations created inside from being
37338 called from the outside. [ruby-dev:25003]
37340 * eval.c (rb_callcc, rb_cont_call): prohibit calling from different
37341 signal contexts. [ruby-dev:25022]
37343 Thu Dec 2 10:45:02 2004 Shugo Maeda <shugo@ruby-lang.org>
37345 * test/readline/test_readline.rb: fix for NetBSD.
37347 Thu Dec 2 09:57:24 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37349 * lib/ostruct.rb (OpenStruct::Marshaler): OpenStruct can be
37350 marshaled again. [ruby-core:03862]
37352 Thu Dec 2 09:30:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37354 * eval.c (thread_mark): mark thread group. [ruby-dev:25020]
37356 * eval.c (thgroup_add): check whether the argument is really a Thread.
37358 Thu Dec 2 07:57:16 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37360 * io.c (rb_io_ctl): [ruby-dev:25019]
37362 Wed Dec 1 06:13:00 2004 NARUSE, Yui <naruse@ruby-lang.org>
37364 * ext/nkf/nkf.c: add constant NKF::VERSION
37366 * ext/nkf/nkf.c(guess): this becomes an alias of guess2
37368 * ext/nkf/test.rb: add --no-cp932
37370 * ext/nkf/nkf-utf8/nkf.c: original nkf2 revision 1.47
37372 Wed Dec 1 02:21:02 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37374 * signal.c (sighandler): call handler immediately only for default
37375 handlers. [ruby-dev:25003]
37377 Tue Nov 30 23:49:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37379 * io.c (pipe_open): errno should be preserved for rb_sys_fail() when
37382 Tue Nov 30 16:18:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37384 * io.c (io_fread): need not to null terminate. [ruby-dev:24998]
37386 * eval.c (rb_eval): should check previous frame for ZSUPER.
37388 * io.c (read_all): remove unnecessary rb_str_resize().
37391 * io.c (io_readpartial): ditto.
37393 * io.c (io_read): ditto.
37395 Tue Nov 30 14:58:33 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37397 * instruby.rb (install): add arguments explicitly to "super".
37399 Tue Nov 30 00:49:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37401 * eval.c (PUSH_FRAME): flags should have been initialized.
37403 * eval.c (rb_eval): [ruby-core:03856]
37405 * io.c (rb_io_sysread): use temporary lock. [ruby-dev:24992]
37407 Tue Nov 30 00:12:57 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
37409 * regparse.c: now handles many alternatives (over 500000)
37410 in regexp. [ruby-dev:24773]
37412 Mon Nov 29 16:06:04 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37414 * ext/stringio/stringio.c (strio_write): insufficiently filled string
37415 being extended when overwriting. [ruby-core:03836]
37417 Mon Nov 29 15:59:05 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37419 * lib/ostruct.rb (OpenStruct::method_missing): check method
37420 duplication for -d.
37422 * lib/ostruct.rb (OpenStruct::initialize): ditto.
37424 Mon Nov 29 15:22:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37426 * test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
37429 Mon Nov 29 13:37:54 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37431 * io.c (fptr_finalize): must not use FILE after fclose().
37434 Mon Nov 29 13:13:13 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37436 * win32/win32.c (CreateChild): push back the last space before next
37437 loop because CharNext() eats it.
37439 Mon Nov 29 03:08:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37441 * object.c (convert_type): [ruby-core:03845]
37443 * eval.c (rb_funcall_rescue): new function.
37445 * object.c (rb_Array): avoid using rb_respond_to().
37447 * object.c (rb_Integer): ditto.
37449 * eval.c (get_backtrace): no conversion for nil.
37451 * parse.y (reduce_nodes): empty body should return nil.
37453 Mon Nov 29 01:18:18 2004 Tanaka Akira <akr@m17n.org>
37455 * io.c (rb_io_check_writable): call io_seek regardless of
37456 NEED_IO_SEEK_BETWEEN_RW. [ruby-dev:24986]
37458 Sun Nov 28 15:57:58 2004 Kouhei Sutou <kou@cozmixng.org>
37460 * lib/rss/rss.rb (RSS::Element#tag): not use block_given? for
37461 working with ruby 1.6 again.
37463 * lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb:
37464 undef -> remove_method for working with ruby 1.6 again.
37466 Sun Nov 28 15:51:40 2004 Kouhei Sutou <kou@cozmixng.org>
37468 * lib/rss/rss.rb (RSS::NotSetError): added.
37470 * lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise
37471 RSS::NotSetError if required values of maker.channel are not
37472 set. [ruby-talk:120061]
37474 * test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS
37475 Maker raises or not.
37477 Sun Nov 28 12:14:47 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
37479 * regparse.c (fetch_token): fixed test failure on HP-UX ia64
37480 ([ruby-dev:24859]).
37482 Sun Nov 28 12:08:15 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
37484 * regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8
37485 characters that have U+00FE or invalid characters.
37487 Sun Nov 28 12:07:04 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
37489 * regexec.c, test/ruby/test_regexp.rb: fixed segmentation fault
37490 ([ruby-dev:24887]).
37492 Sun Nov 28 12:05:48 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
37494 * regcomp.c, regint.h: fixed PLATFORM_UNALIGNED_WORD_ACCESS
37495 problem ([ruby-dev:24802] and [ruby-core:3733])
37497 Sat Nov 27 23:43:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37499 * io.c (rb_io_initialize): [ruby-dev:24972]
37501 Sat Nov 27 21:43:39 2004 Tanaka Akira <akr@m17n.org>
37503 * io.c: avoid data lost with nonblocking fd and
37504 stdio buffering in sync mode. [ruby-dev:24966]
37505 based on matz's patch [ruby-dev:24967]
37506 (io_fwrite): new primitive writing function which writes
37507 directly if sync mode.
37508 (rb_io_fwrite): wrapper for io_fwrite now.
37509 (io_write): call io_fwrite instead of rb_io_fwrite.
37511 Sat Nov 27 17:43:21 2004 Kouhei Sutou <kou@cozmixng.org>
37513 * lib/rss/{0.9,1.0,2.0,trackback,xml-stylesheet}.rb: added
37516 * test/rss/test_setup_maker_*.rb: added tests for #setup_maker.
37518 * lib/rss/maker/base.rb(RSS::Maker::Items#max_size=): supported
37519 output item size limitation.
37521 * sample/rss/blend.rb: added sample for RSS Maker.
37523 Sat Nov 27 17:41:35 2004 Kouhei Sutou <kou@cozmixng.org>
37525 * lib/rss/maker/0.9.rb: supported RSS::Maker.make("0.91"). Now,
37526 "0.9" is just alias of "0.91."
37528 * test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91").
37530 * test/rss/test_to_s.rb: ditto.
37532 Sat Nov 27 17:21:30 2004 Kouhei Sutou <kou@cozmixng.org>
37534 * sample/rss/list_description.rb: untabified.
37536 * sample/rss/rss_recent.rb: ditto.
37538 Sat Nov 27 14:44:15 2004 Kent Sibilev <ksibilev@bellsouth.net>
37540 * lib/cgi/session.rb (CGI::Session::initialize): [ruby-core:03832]
37542 Sat Nov 27 09:41:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37544 * io.c (io_fread): old rb_io_fread with file closing checking.
37545 (rb_io_fread): wrapper for io_fread now.
37548 Fri Nov 26 18:02:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37550 * ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epath
37552 * ext/tk/lib/tk/image.rb: bug fix
37554 * ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only)
37556 * ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath
37558 Fri Nov 26 14:29:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37560 * io.c (rb_io_initialize): uninitialized fd was checked to see open
37561 mode. [ruby-dev:24963]
37563 * io.c (rb_io_initialize): uninitialized fd was used. [ruby-dev:24962]
37565 Fri Nov 26 13:49:06 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37567 * io.c (rb_io_initialize): should retrieve flags from copying file
37568 descriptor. [ruby-dev:24961]
37570 * eval.c (method_missing): raise TypeError for classes do not
37571 have allocators. [ruby-core:03752]
37573 * lib/erb.rb: add RDoc by James Edward Gray II. [ruby-core:03786]
37575 Fri Nov 26 13:29:02 2004 Dave Thomas <dave@pragprog.com>
37577 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::look_for_directives_in): Break
37578 out of preprocessing when we find a :section: directive (previously cleared out the
37579 comment, but this apparently now generates an error in gsub!)
37581 Fri Nov 26 00:17:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37583 * io.c (io_read): move StringValue() check before GetOpenFile().
37586 Thu Nov 25 20:14:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37588 * lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
37589 threads should be also processed. [ruby-talk:121320]
37591 Thu Nov 25 18:06:37 2004 Tanaka Akira <akr@m17n.org>
37593 * configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix
37594 problem with autoconf 2.52 or earlier.
37595 revert AC_PREREQ to 2.50.
37598 Thu Nov 25 07:59:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37600 * configure.in: AC_PREREQ(2.53) [ruby-core:03800]
37602 * io.c (read_all): stringify non-nil buffer argument, and always
37603 taint the result. [ruby-dev:24955]
37605 Wed Nov 24 01:01:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37607 * io.c (io_read): integer conversion should be prior to
37608 GetOpenFile(). [ruby-dev:24952]
37610 * configure.in, io.c: cancel [ ruby-Patches-1074 ].
37612 Tue Nov 23 08:09:50 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37614 * ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubutton
37616 Tue Nov 23 02:00:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37618 * file.c (rb_file_chown): integer conversion should be prior to
37619 GetOpenFile(). [ruby-dev:24949]
37621 Tue Nov 23 00:10:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37623 * file.c (rb_file_chown): integer conversion should be prior to
37624 GetOpenFile(). [ruby-dev:24947]
37626 * file.c (rb_file_truncate): ditto.
37628 * file.c (rb_file_s_truncate): ditto.
37630 * dir.c (dir_seek): use NUM2OFFT().
37632 * misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719]
37634 Mon Nov 22 22:33:02 2004 Dave Thomas <dave@pragprog.com>
37636 * lib/rdoc/parsers/parse_rb.rb (RDoc::parse_require): Don't use names
37637 of variables or constants when parsing 'require'
37639 Mon Nov 22 00:13:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37641 * dir.c (dir_seek): should retrieve dir_data after NUM2INT().
37644 Sat Nov 20 23:57:33 2004 Dave Thomas <dave@pragprog.com>
37646 * lib/rdoc/README (et al): Add a new directive, :section:, and
37647 change the output format to accommodate. :section: allows to to
37648 group together methods, attributes, constants, etc under
37649 headings in the output. If used, a table of contents is
37652 Sat Nov 20 23:56:54 2004 Dave Thomas <dave@pragprog.com>
37654 * lib/rdoc/options.rb (Options::parse): Force --inline-source if
37655 --one-file option given
37657 Sat Nov 20 23:55:19 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37659 * string.c (rb_str_splice): should place index wrapping after
37660 possible modification. [ruby-dev:24940]
37662 Sat Nov 20 23:25:12 2004 Minero Aoki <aamine@loveruby.net>
37664 * io.c (rb_io_getline): f.gets("") did not work. [ruby-core:03771]
37666 * test/ruby/test_io.rb (test_gets_rs): test it.
37668 Sat Nov 20 22:55:09 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37670 * test/runner.rb (CROSS_COMPILING): need to require rbconfig.rb before
37671 using CROSS_COMPILNG.
37673 Sat Nov 20 20:42:42 2004 Minero Aoki <aamine@loveruby.net>
37675 * ext/ripper/depend: fix ripper.o dependency.
37677 Sat Nov 20 17:48:29 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37679 * io.c (io_reopen): work around problem with Cygwin fseeko
37682 Sat Nov 20 05:34:24 2004 NARUSE, Yui <naruse@ruby-lang.org>
37684 * ext/nkf/nkf-utf8/nkf.c: original nkf.c rev:1.40
37686 * ext/nkf/test.rb: add test for mime encode/decode
37688 Sat Nov 20 01:45:04 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37690 * test/xmlrpc/test_webrick_server.rb: move `requrie "webrick/https"'
37691 into #setup_http_server method to avoid soap test errors.
37693 Sat Nov 20 01:37:34 2004 Johan Holmberg <holmberg@iar.se>
37695 * eval.c (error_print): nicer traceback at interrupt.
37698 Sat Nov 20 00:07:16 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37700 * string.c (str_gsub): internal buffer should not be listed by
37701 ObjectSpace.each_object() by String#gsub. [ruby-dev:24931]
37703 Fri Nov 19 22:44:43 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37705 * lib/test/unit/collector/dir.rb: better support for -p/-x option.
37707 Fri Nov 19 17:46:56 2004 Kouhei Sutou <kou@cozmixng.org>
37709 * lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
37710 changed /rss/channel/image to be optional. [ruby-Bugs:1047]
37712 * test/rss/test_maker_0.9.rb: added tests for the above.
37714 Fri Nov 19 17:18:17 2004 Kouhei Sutou <kou@cozmixng.org>
37716 * lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.
37718 * lib/rss: #to_s used #tag.
37720 * test/rss/test_to_s.rb: added.
37722 * lib/rss/maker.rb (RSS::Maker.make): changed API. It's not
37723 received modules which is used as the second argument.
37725 * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate):
37726 changed return value type which is not String but Boolean.
37728 * lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value
37729 type which is not String but Integer.
37731 * lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and
37732 <skipHours> has <hour>s.
37734 * lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto.
37736 * lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s.
37738 * lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto.
37740 * lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s.
37742 * lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto.
37744 * lib/rss/trackback.rb: parent element has <trackback:about>s.
37746 * lib/rss/maker/trackback.rb: ditto.
37748 Fri Nov 19 11:10:16 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37750 * lib/test/unit/collector/dir.rb: add support for directory name
37751 with -p/-x options.
37753 * test/testunit/collector/test_dir.rb: ditto.
37755 * lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
37758 Fri Nov 19 10:32:36 2004 Shugo Maeda <shugo@ruby-lang.org>
37760 * ext/readline/readline.c (readline_s_set_completion_append_character):
37761 accept nil. [ruby-core:03765]
37763 Fri Nov 19 01:20:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37765 * lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise
37766 exception if data corresponding to session specified from the
37767 client does not exist.
37769 Fri Nov 19 00:59:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37771 * string.c (str_gsub): internal buffer should not be listed by
37772 ObjectSpace.each_object(). [ruby-dev:24919]
37774 Thu Nov 18 23:42:36 2004 Minero Aoki <aamine@loveruby.net>
37776 * ext/ripper/depend: Never regenerate lib/ripper/core.rb
37777 automatically. [ruby-dev:24911]
37779 Thu Nov 18 20:47:24 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37781 * win32/win32.[ch] (rb_w32_isatty): new function to replace MSVCRT's
37782 isatty because it never sets errno.
37784 Thu Nov 18 18:41:08 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
37786 * test/ruby/test_stringchar.rb (test_bang): added.
37788 * string.c (rb_str_upcase_bang, rb_str_capitalize_bang)
37789 (rb_str_swapcase_bang): missing rb_str_modify().
37791 Thu Nov 18 17:05:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37793 * parse.y (f_rest_arg): store rest args into invisible local variable
37794 in order to get rid of SEGV at ZSUPER. [ruby-dev:24913]
37796 Thu Nov 18 15:39:52 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37798 * hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]
37800 Thu Nov 18 14:58:42 2004 Shugo Maeda <shugo@ruby-lang.org>
37802 * ext/readline/readline.c: check $SAFE.
37804 * test/readline/test_readline.rb: added tests for readline.
37806 Thu Nov 18 00:21:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37808 * process.c (proc_getpgrp): prohibit for $SAFE=2.
37811 * process.c (get_pid): ditto. [ruby-dev:24904]
37813 * process.c (get_ppid): ditto.
37815 * array.c (rb_ary_delete): defer rb_ary_modify() until actual
37816 modification. [ruby-dev:24901]
37818 Thu Nov 18 10:10:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37820 * io.c, rubyio.h (rb_io_modenum_flags): exported.
37822 * ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as
37823 well as IO.new does. [ruby-dev:24896]
37825 Wed Nov 17 23:47:30 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
37827 * test/ruby/test_settracefunc.rb: added. [ruby-dev:24884]
37829 Wed Nov 17 18:59:16 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
37831 * process.c (proc_getrlimit, proc_setrlimit): add rb_secure(2) to
37832 methods of Process.{getrlimit,setrlimit}
37834 Wed Nov 17 13:56:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37836 * parse.y (newline_node): should not use FL_SET. [ruby-dev:24874]
37838 * parse.y (string_content): should not use FL_UNSET.
37840 * node.h (NODE_NEWLINE): remove unused bit to utilize flag field
37843 Wed Nov 17 13:05:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37845 * dir.c (rb_push_glob): fix overrun. [ruby-dev:24886]
37847 Wed Nov 17 11:48:17 2004 Michael Neumann <mneumann@ruby-lang.org>
37849 * lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assigning
37850 to constants" warnings
37852 Wed Nov 17 09:38:18 2004 Johan Holmberg <holmberg@iar.se>
37854 * re.c (rb_reg_initialize_m): should raise exception instead of
37855 compile error. [ruby-core:03755]
37857 Wed Nov 17 03:42:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37859 * string.c (rb_str_splice): move rb_str_modify() after
37860 StringValue(), which may alter the receiver. [ruby-dev:24878]
37862 * error.c (rb_error_frozen): now raise RuntimeError instead of
37865 Tue Nov 16 21:22:47 2004 Michael Neumann <mneumann@ruby-lang.org>
37867 * lib/xmlrpc/server.rb (CGIServer): fixed bug when client sends
37868 "Content-typ: text/xml; ..."
37870 Tue Nov 16 23:45:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37872 * numeric.c (flo_divmod): protect float values from GC by
37873 assignment to local variables. [ruby-dev:24873]
37875 Tue Nov 16 14:31:54 2004 Michael Neumann <mneumann@ruby-lang.org>
37877 * test/xmlrpc/*: imported and refactored original test cases.
37879 * test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb:
37880 added test case that starts up a WEBrick XML-RPC server and performs
37881 some tests on it (both http and https servers are started).
37883 * lib/xmlrpc/create.rb (XMLWriter::each_installed_writer),
37884 lib/xmlrpc/parser.rb (XMLParser::each_installed_parser):
37885 added methods to simply original test cases
37887 * lib/xmlrpc/parser.rb, lib/xmlrpc/datetime.rb: applied patch by
37888 MoonWolf <moonwolf@moonwolf.com> to allow parsing datetime.iso8601
37889 (e.g. 20041105T01:15:23Z).
37891 * lib/xmlrpc/server.rb: fixed issue #998
37892 (http://rubyforge.org/tracker/?func=detail&atid=1700&aid=998&group_id=426)
37894 * lib/xmlrpc/create.rb, lib/xmlrpc/utils.rb: when marshalling/loading
37895 user-defined data structures, use Class#allocate instead of defining
37896 an empty #initialize method. module XMLRPC::Marshallable is now only
37899 * lib/xmlrpc/.document, lib/xmlrpc/README.rdoc: added howto
37901 Tue Nov 16 16:26:12 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37903 * {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h and
37904 config.status to force updating them.
37906 Tue Nov 16 16:20:45 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37908 * ext/stringio/stringio.c (strio_read): position was ignored when a
37909 buffer was passed. http://www.yo.rim.or.jp/~nov/d/?date=20041116#p03
37911 Tue Nov 16 13:35:54 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37913 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): add
37914 new option --exclude (-x) to skip some tests. [ruby-core:3363],
37917 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir.exclude):
37920 Tue Nov 16 11:19:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37922 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): use
37925 Tue Nov 16 01:41:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37927 * string.c (str_mod_check): frozen check should be separated.
37930 * array.c (rb_ary_update): pedantic check to detect
37931 rb_ary_to_ary() to modify the receiver. [ruby-dev:24861]
37933 Mon Nov 15 18:58:05 2004 Tanaka Akira <akr@m17n.org>
37935 * configure.in: check rlim_t more portably. [ruby-core:3735]
37937 Mon Nov 15 11:50:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37939 * misc/ruby-mode.el (ruby-special-char-p, ruby-parse-partial): handle
37940 operator symbols. [ruby-talk:120177]
37942 Mon Nov 15 08:58:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37944 * eval.c (Init_Proc): make proc as an alias to Proc.new.
37947 Mon Nov 15 00:46:03 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37949 * eval.c (rb_yield_0): lambda{}.call(1) should raise exception.
37952 Mon Nov 15 00:33:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37954 * string.c (rb_str_clear): avoid revealing NULL pointer.
37957 * string.c (str_gsub): add paranoid check. [ruby-dev:24827]
37959 * string.c (str_mod_check): check frozen status as well.
37962 Sun Nov 14 18:59:03 2004 Tanaka Akira <akr@m17n.org>
37964 * process.c (proc_getrlimit): new function for Process.getrlimit.
37965 (proc_setrlimit): new function for Process.setrlimit.
37968 * configure.in: check rlim_t and its size. check setrlimit.
37970 * ruby.h (NUM2ULL): new macro.
37972 Sun Nov 14 13:27:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37974 * lib/pp.rb (PP#object_address_group): remove odd number of 'f'
37975 prefixed to negative address.
37977 Sun Nov 14 10:48:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37979 * lib/mathn.rb (Integer::gcd2): faster implementation by
37980 <erlercw@siu.edu>. [ruby-talk:120232]
37982 Sun Nov 14 08:46:33 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
37984 * test/logger/test_logger.rb: Logger just expects
37985 Logger#datetime_format to be used for Time#strftime independently of
37986 locale. [ruby-dev:24828]
37988 Fri Nov 12 17:32:07 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37990 * bcc32/README.bcc32, win32/README.win32: need bison instead of
37993 Fri Nov 12 15:15:06 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37995 * eval.c (ruby_options): now we cannot call rb_glob() before
37996 ruby_init(), so call rb_w32_cmdvector() at ruby_options().
37998 * win32/win32.{c,h} (rb_w32_cmdvector): rename make_cmdvector() and
38001 Fri Nov 12 14:08:01 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38003 * ext/tk/lib/tk/event.rb: remove $LOADED_FEATURES trick
38005 * ext/tk/lib/tk.rb: ditto
38007 Fri Nov 12 00:31:05 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38009 * ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter string
38010 pointer. [ruby-dev:24783]
38012 Thu Nov 11 17:58:19 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38014 * dir.c (rb_glob): should have called rb_glob_caller().
38017 Thu Nov 11 16:56:10 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38019 * test/ruby/test_file.rb (test_truncate_wbuf): we want to test
38020 only File#truncate, not behavior of seek(2).
38022 Thu Nov 11 01:52:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38024 * error.c (syserr_initialize): use stringified object.
38027 Wed Nov 10 22:49:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38029 * lib/delegate.rb (SimpleDelegator::dup): wrong number of
38032 * lib/delegate.rb (DelegateClass::dup): ditto.
38034 Wed Nov 10 19:47:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38036 * dir.c (glob_helper): path is a string object now.
38038 Wed Nov 10 12:31:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38040 * README.EXT (Example): extconf.rb is indispensable now.
38042 Wed Nov 10 03:33:36 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38044 * ext/tcltklib/tcltklib.c: fix SEGV when compiled with Tcl/Tk8.3.x
38047 * ext/tk/lib/tkextlib/tile/style.rb: bug fix
38049 Tue Nov 9 22:24:07 2004 NARUSE, Yui <naruse@ruby-lang.org>
38051 * ext/nkf: original nkf.c rev:1.38
38053 * ext/nkf/nkf.c: fix bug: can't parse long-name options
38055 * ext/nkf/test.rb: fix bug: mime tests fail
38057 Tue Nov 9 14:27:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38059 * lib/optparse.rb (OptionParser::Officious): moved from DefaultList.
38061 Tue Nov 9 00:50:06 2004 Dave Thomas <dave@pragprog.com>
38063 * lib/rdoc/rdoc.rb: Change version numbering of RDoc and ri
38065 Tue Nov 9 01:05:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38067 * dir.c (rb_glob2): do not allocate buffer from heap to avoid
38068 memory leaks. use string object for buffering instead.
38071 * dir.c (join_path): ditto.
38073 * io.c (io_read): external input buffer may be modified even after
38074 rb_str_locktmp(). [ruby-dev:24735]
38076 * dir.c (fnmatch): p or s may be NULL. [ruby-dev:24749]
38078 Tue Nov 9 00:36:26 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
38080 * lib/drb/extservm.rb: add DRb::ExtServManager#uri=.
38083 Mon Nov 8 22:20:19 2004 Dave Thomas <dave@pragprog.com>
38085 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
38086 Fix bug where parent class wasn't being detected if the
38087 child class was defined using the A::B notation.
38089 Mon Nov 8 00:14:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38091 * configure.in: add setup for mignw32 cross compiling.
38094 Sun Nov 7 23:49:26 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38096 * ext/tk/lib/tk.rb: bind-event methods accept multi substitution
38099 * ext/tk/lib/tk/canvas.rb: ditto.
38101 * ext/tk/lib/tk/canvastag.rb: ditto.
38103 * ext/tk/lib/tk/text.rb: ditto.
38105 * ext/tk/lib/tk/texttag.rb: ditto.
38107 * ext/tk/lib/tkextlib: ditto.
38109 Sat Nov 6 20:40:16 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
38111 * ext/win32ole/win32ole.c: rename WIN32OLE#ole_obj_help to
38112 WIN32OLE#ole_type. alias ole_obj_help to ole_type.
38114 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
38116 Sat Nov 6 11:18:59 2004 Tadayoshi Funaba <tadf@dotrb.org>
38118 * lib/date.rb (_parse): checks whether zone was given.
38120 Sat Nov 6 00:46:27 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38122 * string.c (rb_str_locktmp): check STR_TMPLOCK flag before
38123 locking. [ruby-dev:24727]
38125 Fri Nov 5 19:07:16 2004 NARUSE, Yui <naruse@ruby-lang.org>
38127 * ext/nkf: follow CVS Head of original nkf.
38129 Fri Nov 5 18:12:42 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38131 * ext/tk/lib/tk/scrollable.rb: divide Scrollable module into
38132 X_Scrollable and Y_Scrollable
38134 * ext/tk/lib/tk/entry.rb: include X_Scrollable instead of Scrollable
38136 * ext/tk/lib/tk/autoload.rb: define autoload for X_Scrollable and
38139 Fri Nov 5 16:05:32 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38141 * ext/tk/lib/tk.rb: TkComm._at() supprts both of "@x,y" and "@x"
38143 Fri Nov 5 13:22:58 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38145 * ext/tk/lib/tk/text.rb: sorry. bug fix again.
38147 Fri Nov 5 13:17:54 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38149 * ext/tk/lib/tk/text.rb: bug fix
38151 Fri Nov 5 08:52:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38153 * gc.c (gc_mark): stricter GC stack check.
38155 Fri Nov 5 08:34:43 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38157 * string.c (str_gsub): should have removed rb_str_unlocktmp(str).
38160 * ext/socket/socket.c (s_recvfrom): buffer modification check.
38163 Thu Nov 4 23:54:21 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
38165 * regexec.c, regparse.c, regint.h: fixed conflicts between
38168 Thu Nov 4 23:41:55 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
38170 * ascii.c, euc_jp.c, oniggnu.h, oniguruma.h, regcomp.c,
38171 regenc.c, regenc.h, regerror.c, regexec.c, reggnu.c,
38172 regint.h, regparse.c, regparse.h, sjis.c, utf8.c:
38173 imported Oni Guruma 3.4.0.
38175 * parse.y, re.c: Now mbclen() takes unsigned char as
38178 Thu Nov 4 21:25:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38180 * string.c (str_gsub): string modify check no longer based on
38181 tmplock. [ruby-dev:24706]
38183 Thu Nov 4 21:13:48 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
38185 * ext/win32ole/win32ole.c(typelib_file_from_typelib): search "win16"
38186 entry to get library path.
38188 * ext/win32ole/win32ole.c(oletypelib_path): ditto.
38190 * ext/win32ole/win32ole.c(ole_typedesc2val): add VT_LPWSTR, VT_LPSTR,
38193 Thu Nov 4 15:02:14 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38195 * ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
38196 of TkVarAccess objects
38198 Thu Nov 4 09:11:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38200 * gc.c (gc_mark): enable GC stack checking.
38202 Thu Nov 4 03:11:33 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38204 * string.c (str_gsub): lock strings temporarily. [ruby-dev:24687]
38206 * ext/socket/socket.c (s_recvfrom): tmplock input buffer.
38209 Wed Nov 3 22:24:17 2004 Daigo Moriwaki <techml@sgtpepper.net>
38211 * lib/webrick/httpauth/digestauth.rb: use Base64.encode64 to
38214 Wed Nov 3 17:19:59 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38216 * array.c (rb_ary_uniq_bang): do not push frozen string from hash
38217 table. [ruby-dev:24695]
38219 * array.c (rb_ary_and): ditto.
38221 * array.c (rb_ary_or): ditto.
38223 Wed Nov 3 17:02:48 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38225 * ext/tk/lib/tk.rb: support to use different Tcl commands between
38226 configure and configinfo
38228 * ext/tk/lib/font.rb: ditto.
38230 * ext/tk/lib/itemconfig.rb: support to use different Tcl commands
38231 between item_configure and item_configinfo
38233 * ext/tk/lib/itemfont.rb: ditto.
38235 * ext/tk/extconf.rb: install SUPPORT_STATUS
38237 * ext/tk/lib/tkextlib: some bug fixes (see ext/tk/ChangeLog.tkextlib)
38239 Wed Nov 3 15:38:28 2004 Kouhei Sutou <kou@cozmixng.org>
38241 * test/rss/*.rb: removed tab width configuration headers.
38243 * test/rss/test_maker_{0.9,1.0}.rb: sort -> do_sort.
38245 * lib/rss/maker/*.rb: changed API to RSS version independence.
38247 * lib/rss/maker/base.rb
38248 (RSS::Maker::XMLStyleSheets::XMLStyleSheet): checked required
38249 (pseudo) attributes.
38251 * lib/rss/maker/base.rb (RSS::Maker::Items): sort -> do_sort.
38253 * lib/rss/rss.rb (RSS::BaseModel.install_date_element): avoided
38256 * lib/rss/0.9.rb (RSS::Rss#textinput): added convenience method.
38258 Tue Nov 2 16:35:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38260 * ext/enumerator/enumerator.c (each_cons_i): pass copy of an
38261 internal consequent array. [ruby-talk:118691]
38263 Tue Nov 2 14:54:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38265 * io.c (pipe_open): need to set cmd if argc == 0 (win32).
38267 Tue Nov 2 01:20:09 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38269 * io.c (pipe_open): IO.popen should take array as 1st argument for
38270 a command line. [ruby-dev:24678]
38272 * eval.c (proc_invoke): nail down dyna_var node when Proc object
38273 or continuation is created. [ruby-dev:24671]
38275 * io.c (rb_io_s_popen): do not expand argv array. [ruby-dev:24670]
38277 Mon Nov 1 22:25:56 2004 Kouhei Sutou <kou@cozmixng.org>
38279 * lib/rss/maker/base.rb: changed xml-stylesheet's API of RSS Maker
38280 like to item's one.
38282 * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#guess_type): fixed
38283 regular expression bug.
38285 * test/rss/test_maker_xml-stylesheet.rb: updated tests for
38288 Mon Nov 1 13:59:28 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38290 * ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.
38292 * ext/enumerator/extconf.rb, ext/fcntl/extconf.rb,
38293 ext/stringio/extconf.rb: added.
38295 * MANIFEST, ext/**/MANIFEST: removed.
38297 * README.EXT, README.EXT.ja: remove MANIFEST stuff.
38299 Mon Nov 1 11:52:18 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38301 * io.c (pipe_open): avoid conflict of variable name. [ruby-dev:24662]
38303 Mon Nov 1 11:46:19 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38305 * process.c (rb_f_exec): should check whether prog is NULL.
38307 Mon Nov 1 09:37:19 2004 Kouhei Sutou <kou@cozmixng.org>
38309 * lib/rss/maker.rb: added entry point of RSS Maker.
38311 Mon Nov 1 03:14:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38313 * eval.c (rb_get_method_body): store ICLASS in the cache.
38316 * eval.c (rb_provided): should return true for loading library
38317 too for autoloading. [ruby-core:03655]
38319 Mon Nov 1 01:14:52 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38321 * io.c (rb_f_open): create copy of popen specifier. [ruby-dev:24656]
38323 * string.c (rb_str_locktmp): lock string temporarily.
38325 * string.c (str_independent): add tmplock check.
38327 * io.c (io_write): lock output string temporarily.
38330 * io.c (io_write): use rb_str_locktmp().
38332 * io.c (read_all): ditto.
38334 Sun Oct 31 23:37:00 2004 NARUSE, Yui <naruse@ruby-lang.org>
38336 * process.c: on NetBSD don't use setruid() and setrgid().
38338 Sun Oct 31 23:12:10 2004 Kouhei Sutou <kou@cozmixng.org>
38340 * lib/rss/maker/*.rb: added RSS Maker.
38342 * test/rss/test_maker_*.rb: added tests for RSS Maker.
38344 Sun Oct 31 16:58:12 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
38346 * ext/win32ole/win32ole.c: add WIN32OLE.codepage, WIN32OLE.codepage=.
38348 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
38350 Sun Oct 31 14:35:26 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38352 * ext/nkf/nkf-utf8/nkf.c: add "\075?UTF-8?Q?" for Gmail.
38354 Sun Oct 31 14:18:56 2004 Minero Aoki <aamine@loveruby.net>
38356 * parse.y [ripper]: emit lexer-event values to the parser
38357 (still incomplete).
38359 Sat Oct 30 15:24:41 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
38361 * ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB class. add
38362 WIN32OLE#ole_typelib method.
38364 * ext/win32ole/tests/testOLETYPELIB.rb: add WIN32OLE_TYPELIB class.
38366 Sat Oct 30 06:53:24 2004 Peter Vanbroekhoven <peter.vanbroekhoven@cs.kuleuven.ac.be>
38368 * eval.c (rb_eval): NODE_XSTR should pass copy of literal string.
38370 Sat Oct 30 00:19:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38372 * array.c (rb_ary_update): a[n,m]=nil no longer works as element
38375 * enum.c (enum_sort_by): protect continuation jump in.
38378 * eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS,
38379 NEW_VALIAS), parse.y (fitem): allow dynamic symbols to
38380 NODE_UNDEF and NODE_ALIAS.
38382 Fri Oct 29 21:27:51 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38384 * io.c (rb_io_check_initialized): new function to check uninitialized
38385 object. [ruby-talk:118234]
38387 * file.c (rb_file_path), io.c (rb_io_closed): check if initialized.
38389 Fri Oct 29 19:05:33 2004 NARUSE, Yui <naruse@ruby-lang.org>
38391 * ext/nkf: follow nkf2.0.
38393 Fri Oct 29 17:18:22 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38395 * parse.y (ripper_s_allocate): add prototype for Microsoft compiler.
38397 * range.c (range_step, range_each): need cast.
38399 Fri Oct 29 16:34:19 2004 Daiki Ueno <ueno@unixuser.org>
38401 * misc/ruby-mode.el (ruby-parse-partial): Parse the rest of the
38402 line after opening heredoc identifier. [ruby-dev:24635]
38404 Fri Oct 29 11:35:04 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38406 * parse.y (rb_parser_append_print, rb_parser_while_loop): body node
38407 can be empty. [ruby-dev:24628]
38409 Fri Oct 29 10:00:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38411 * eval.c (rb_thread_start_0): forget to free some memory chunks.
38414 * eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,
38415 should be wrapped by PUSH_TAG/POP_TAG(). [ruby-dev:24627]
38417 Thu Oct 28 08:42:02 2004 Tanaka Akira <akr@m17n.org>
38419 * io.c (argf_forward): use ANSI style.
38420 (argf_read): call argf_forward with argv argument.
38423 Wed Oct 27 09:17:30 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38425 * string.c (str_gsub): use a string object for exception safeness.
38428 Wed Oct 27 07:38:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38430 * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.
38433 * ruby.h (FL_ABLE): nodes are not subject for flag operations.
38435 * io.c (ARGF_FORWARD): should have specified argv explicitly,
38436 since we no longer have frame->argv saved. [ruby-dev:24602]
38438 Tue Oct 26 23:30:39 2004 Dave Thomas <dave@pragprog.com>
38440 * lib/rdoc/code_objects.rb (RDoc::Context::add_class_or_module):
38441 Restore correct :nopdoc: behavior with nested classes and modules.
38443 Tue Oct 26 18:21:29 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38445 * string.c (RESIZE_CAPA): check string attribute before modifying
38446 capacity member of string structure. [ruby-dev:24594]
38448 Tue Oct 26 11:33:26 2004 David G. Andersen <dga@lcs.mit.edu>
38450 * ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain
38451 performance. [ruby-talk:117701]
38453 Tue Oct 26 10:56:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38455 * sprintf.c (rb_f_sprintf): raise ArgumentError for extra
38456 arguments, unless (digit)$ style used.
38458 Mon Oct 25 18:35:39 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38460 * win32/win32.c (isUNCRoot): should check NUL after '.'.
38463 * win32/win32.c (isUNCRoot): fixed buffer overrun.
38465 Mon Oct 25 08:03:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38467 * eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]
38469 Sun Oct 24 00:40:50 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38471 * eval.c (rb_load, search_required, rb_require_safe, rb_require): use
38472 frozen shared string to avoid outside modification. [ruby-dev:24580]
38474 Sat Oct 23 23:40:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38476 * io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in
38477 interpreter termination. [ruby-dev:24579]
38479 Sat Oct 23 22:18:32 2004 Guy Decoux <ts@moulon.inra.fr>
38481 * eval.c (frame_free): Guy Decoux solved the leak problem.
38482 Thanks. [ruby-core:03549]
38484 Sat Oct 23 00:20:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38486 * ext/zlib/zlib.c (zstream_append_input): clear klass for z->input
38487 to avoid potential vulnerability.
38489 * ext/zlib/zlib.c (zstream_run): always use zstream_append_input()
38490 to avoid SEGV. [ruby-dev:24568]
38492 Fri Oct 22 12:02:28 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38494 * eval.c (rb_alias): was warning for wrong condition.
38497 Fri Oct 22 10:36:37 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38499 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):
38500 should check if path_info is not nil.
38502 Fri Oct 22 00:22:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38504 * ext/zlib/zlib.c (zstream_shift_buffer): should restore class
38505 field of a buffer. [ruby-dev:24562]
38507 Fri Oct 22 00:20:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38509 * string.c (rb_str_include): should not treat char as negative value.
38512 Thu Oct 21 21:32:30 2004 IWATSUKI Hiroyuki <don@na.rim.or.jp>
38514 * lib/pstore.rb (PStore#transaction): Use the empty content when a
38515 file is not found. [ruby-dev:24561]
38517 Thu Oct 21 19:06:15 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38519 * lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):
38520 ensure to close @body. (http://bugs.debian.org/277520)
38522 Thu Oct 21 13:11:31 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38524 * io.c (pipe_open): variable name "fpw" is conflicted.
38526 Thu Oct 21 00:36:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38528 * eval.c (rb_alias): should warn on method discarding.
38531 * ext/zlib/zlib.c (zstream_expand_buffer_into): hide internal
38532 string buffer by clearing klass. [ruby-dev:24548]
38534 * parse.y (lex_getline): should not touch ruby_debug_lines if
38535 RIPPER is defined. [ruby-dev:24547]
38537 Wed Oct 20 19:45:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38539 * string.c (str_gsub): reentrant check. [ruby-dev:24432]
38541 Wed Oct 20 12:42:53 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38543 * io.c (rb_io_getline): rs modification check should not interfere
38546 Wed Oct 20 10:31:33 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38548 * parse.y (lex_getline): should update ruby_debug_lines.
38550 Wed Oct 20 04:17:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38552 * ext/dbm/dbm.c (fdbm_delete_if): should check if deleting element
38553 is a string. [ruby-dev:24490]
38555 * ext/sdbm/init.c (fsdbm_delete_if): ditto.
38557 Wed Oct 20 01:37:18 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38559 * array.c (rb_ary_times): Array#* should return an instance of
38560 the class of right operand. [ruby-dev:24526]
38562 * ext/zlib/zlib.c (zstream_detach_buffer): should not expose
38563 class-less object to Ruby world. [ruby-dev:24530]
38565 * eval.c (proc_dup): provide Proc#dup as well. [ruby-talk:116915]
38567 * eval.c (ruby_exec): stack marking position may be higher than
38568 expected. thanks to Guy Decoux. [ruby-core:03527]
38570 Wed Oct 20 00:25:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38572 * eval.c (search_required): required name must not be changed before
38573 loading. [ruby-dev:24492]
38575 Tue Oct 19 23:59:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38577 * eval.c (rb_require_safe): provide the feature after loaded.
38580 Tue Oct 19 22:43:12 2004 Dave Thomas <dave@pragprog.com>
38582 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_attr): If
38583 we come across 'attr' in a context where it isn't
38584 followed by a symbol, just issue a warning.
38586 Tue Oct 19 20:32:50 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
38588 * ext/win32ole.c(ole_invoke): retrieve the result value when
38589 retrying the IDispatch::invoke.
38591 Tue Oct 19 17:24:11 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38593 * io.c (read_all): block string buffer modification during
38594 rb_io_fread() by freezing it temporarily. [ruby-dev:24479]
38596 * dir.c (rb_push_glob): block call at once the end of method.
38599 * ext/enumerator/enumerator.c (enum_each_slice): remove
38600 rb_gc_force_recycle() to prevent potential SEGV.
38603 * ext/zlib/zlib.c (zstream_expand_buffer): hide internal string
38604 buffer by clearing klass. [ruby-dev:24510]
38606 Tue Oct 19 08:47:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38608 * string.c (rb_str_upto): method result must be checked. [ruby-dev:24504]
38610 * eval.c (error_print): ditto. [ruby-dev:24519]
38612 Mon Oct 18 23:37:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38614 * marshal.c (r_object0): check inheritance by the internal function.
38617 Mon Oct 18 11:29:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38619 * io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether file
38620 not existing is created. [ruby-dev:24505]
38622 Mon Oct 18 07:26:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38624 * file.c (rb_file_truncate): discard read buffer before truncation.
38627 Mon Oct 18 01:56:03 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38629 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#initialize):
38630 initial value of accpet-* should be array.
38632 Mon Oct 18 00:42:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38634 * ext/socket/socket.c (sock_s_getservbyaname): protocol string
38635 might be altered. [ruby-dev:24503]
38637 * string.c (rb_str_upto): check if return value from succ is a
38638 string. [ruby-dev:24504]
38640 Sun Oct 17 23:03:48 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38642 * ext/tk/lib/tk/timer.rb: TkTimer#start and restart accept a block
38644 Sun Oct 17 12:53:46 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
38646 * ext/win32ole/win32ole.c (fole_func_methods): correct argument mismatch.
38647 * ext/win32ole/win32ole.c (fole_get_methods): ditto.
38648 * ext/win32ole/win32ole.c (fole_put_methods): ditto.
38649 * ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE#ole_func_methods
38650 WIN32OLE#ole_get_methods, WIN32OLE#ole_put_methods
38652 Sat Oct 16 14:45:28 2004 Kouhei Sutou <kou@cozmixng.org>
38654 * lib/rss/0.9.rb (RSS::Rss#to_s): removed garbage.
38656 Sat Oct 16 13:42:49 2004 Kouhei Sutou <kou@cozmixng.org>
38658 * lib/rss/: untabified.
38659 * test/rss/: untabified.
38660 * lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent.
38662 Sat Oct 16 13:34:56 2004 Kouhei Sutou <kou@cozmixng.org>
38664 * lib/rss: supported prety print.
38665 * test/rss/test_1.0.rb: added test for calculating default indent size.
38667 Sat Oct 16 10:56:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38669 * lib/mkmf.rb (create_makefile): install-rb is needed for statically
38670 linked extensions. [ruby-dev:24491]
38672 Fri Oct 15 18:07:08 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38674 * ext/openssl/ossl_x509store.c
38675 (ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with
38676 ossl_x509stctx_* functions instead of X509_STORE_CTX_*.
38677 (ossl_x509store_set_time): add OpenSSL::X509::Store#time=.
38678 (ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=.
38680 * test/openssl/ossl_x509store.rb: test certificate validity times.
38682 Fri Oct 15 18:04:35 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38684 * ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is
38685 acceptable. Add TkTimer.start ( == new + start ).
38687 Fri Oct 15 12:43:09 2004 Tanaka Akira <akr@m17n.org>
38689 * eval.c (Init_stack): make prototype declaration consistent with
38690 the definition in gc.c.
38692 Thu Oct 14 13:33:59 2004 Kouhei Sutou <kou@cozmixng.org>
38694 * lib/rss/rss.rb: added link to Tutorial.
38696 Tue Oct 12 21:22:50 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38698 * lib/webrick/config.rb:
38699 add WEBrick::Config::FileHandler[:AcceptableLanguages].
38701 * lib/webrick/httpservlet/filehandler.rb
38702 (WEBrick::HTTPServlet::FileHandler#set_filename): search files
38703 having suffix of language-name which Accept-Language header field
38704 includes if :AcceptableLanguages options is present.
38706 * lib/webrick/httpservlet/filehandler.rb
38707 (WEBrick::HTTPServlet::FileHandler#get_servlet): new method to
38708 search servlet correspond to the suffix of filename.
38710 * lib/webrick/httprequest.rb: add attributes access methods: accept,
38711 accept_charset, accept_encoding, accept_language, content_length
38714 * lib/webrick/httpresponse.rb: add attribute access methods:
38715 content_length, content_length=, content_type and content_type=.
38717 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.mime_types):
38718 use the second suffix to detect media type. (the first suffix
38719 may be a language name.)
38721 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_qvalues):
38722 add method to parse Accept header field. it returns an Array of
38723 values sorted by the qvalues.
38725 Tue Oct 12 15:05:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38727 * io.c (MODE_BINMODE, MODE_BINARY): fixed reversed condition.
38729 Mon Oct 11 17:51:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38731 * io.c (rb_io_popen): get mode string via rb_io_flags_mode() to
38732 avoid mode string modification. [ruby-dev:24454]
38734 * io.c (rb_io_getline_fast): should take delim as unsigned char to
38735 distinguish EOF and '\377'. [ruby-dev:24460]
38737 * io.c (rb_io_getline): add check for RS modification.
38740 * enum.c (enum_sort_by): use qsort() directly instead using
38741 rb_iterate(). [ruby-dev:24462]
38743 * enum.c (enum_each_with_index): remove rb_gc_force_recycle() to
38744 prevent access to recycled object (via continuation for
38745 example). [ruby-dev:24463]
38747 Mon Oct 11 13:48:20 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38749 * ext/tk/lib/tk/*: untabify
38751 Sun Oct 10 12:32:08 2004 Dave Thomas <dave@pragprog.com>
38753 * lib/rdoc/parsers/parse_rb.rb (RDoc::parse_require): Allow 'require'
38754 to be used as a variable name
38756 Sun Oct 10 02:49:14 2004 Minero Aoki <aamine@loveruby.net>
38758 * ext/ripper/lib/ripper/filter.rb: require ripper/tokenizer.
38760 * ext/ripper/lib/ripper/filter.rb (parse): argument is optional.
38762 Sun Oct 10 02:43:13 2004 Minero Aoki <aamine@loveruby.net>
38764 * parse.y [ripper]: \n between two comments disappeared.
38766 Sat Oct 9 21:23:37 2004 Kouhei Sutou <kou@cozmixng.org>
38768 * lib/rss/converter.rb: changed to try to use Iconv for default
38771 * lib/rss/rss.rb: 0.0.9 -> 0.1.0.
38773 Sat Oct 9 19:50:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38775 * io.c (rb_io_getline): should not treat char as negative value.
38778 Sat Oct 9 00:25:39 2004 Tanaka Akira <akr@m17n.org>
38780 * io.c (rb_io_fread): rb_thread_wait_fd() was lost.
38783 Fri Oct 8 21:36:56 2004 Minero Aoki <aamine@loveruby.net>
38785 * lib/fileutils.rb (fu_traverse): return value of Dir.entries is
38786 reliable. (pass $SAFE=1)
38788 * lib/fileutils.rb (remove_dir): return value of Dir.foreach is
38789 reliable. (pass $SAFE=1)
38791 Fri Oct 8 09:49:32 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38793 * pack.c (pack_pack): pointer modification check before each
38794 iteration. [ruby-dev:24445]
38796 Fri Oct 8 01:13:05 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38798 * ext/tk/lib/tk/optiondb.rb: make it more secure
38800 Thu Oct 7 23:47:57 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38802 * ext/tk/lib/tk/scrollbar.rb: When 'set' operation, a scrollbar
38803 cannot propagate view port information from the source widget
38804 (that calls 'set') to other assigned widgets.
38806 Thu Oct 7 17:36:25 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38808 * ext/tk/lib/tk.rb: When CHILDKILLED and so on, Tk.errorCode returns
38809 a Fixnum for 2nd element (it's pid) of the return value.
38811 Thu Oct 7 12:55:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38813 * io.c (io_read): should freeze buffer before thread context
38814 switch. [ruby-dev:24442]
38816 * pack.c (pack_unpack): string conversion should at the top of the
38817 method. [ruby-dev:24439]
38819 * io.c (io_read): buffer should be frozen only after the length
38820 check. [ruby-dev:24440]
38822 Thu Oct 7 02:56:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38824 * ext/stringio/stringio.c: use FMODE_APPEND.
38826 Thu Oct 7 01:05:33 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38828 * ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCode
38830 Thu Oct 7 00:08:37 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38832 * io.c (rb_io_s_sysopen): preserve path in the buffer allocated by
38833 ALLOCA_N() to prevent modification. [ruby-dev:24438]
38835 Wed Oct 6 09:21:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38837 * io.c (rb_io_mode_flags): preserve append mode flag.
38840 * io.c (rb_io_modenum_mode): do not use external output buffer.
38842 * string.c (rb_str_justify): differ pointer retrieval to prevent
38843 padding string modification. [ruby-dev:24434]
38845 * range.c (range_each_func): allow func to terminate loop by
38846 returning RANGE_EACH_BREAK.
38848 * range.c (member_i): use RANGE_EACH_BREAK. [ruby-talk:114959]
38850 Tue Oct 5 09:53:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38852 * io.c (rb_fopen): mode string copy at the lowest level.
38854 * io.c (rb_io_flags_mode): requires output buffer no more. no
38857 * array.c (rb_ary_index): takes a block to compare items in an
38858 array. [ruby-talk:113069] [Ruby2]
38860 * array.c (rb_ary_rindex): ditto.
38862 Mon Oct 4 14:03:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38864 * io.c (rb_file_open_internal, rb_io_reopen): fname might be altered
38865 while GC. [ruby-dev:24408]
38867 Mon Oct 4 12:53:45 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38869 * ext/tk/lib/tk/optiondb.rb: support definition of command
38870 resources on widgets
38872 * ext/tk/lib/tk/image.rb: bug fix
38874 Sun Oct 3 21:16:05 2004 Shugo Maeda <shugo@ruby-lang.org>
38876 * lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the german
38877 version of Microsoft Exchange Server.
38879 * lib/net/imap.rb (RTEXT_REGEXP): ditto.
38881 * lib/net/imap.rb (CTEXT_REGEXP): ditto.
38883 Sat Oct 2 20:34:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38885 * parse.y (local_vars): moved to struct parser_params.
38888 * parser.y (stmts): remove suspicious NODE_BEGIN. [ruby-dev:24390]
38890 * node.h (NEW_DVAR): extra semicolon.
38892 Sat Oct 2 00:42:20 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38894 * marshal.c (r_byte): retrieve pointer from string value for each
38895 time. [ruby-dev:24404]
38897 * marshal.c (r_bytes0): ditto.
38899 * enum.c (sort_by_i): re-entrance check added. [ruby-dev:24399]
38901 * io.c (io_read): should freeze all reading buffer.
38904 * string.c (rb_str_sum): should use bignums when bits is greater
38905 than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395]
38907 * eval.c (specific_eval): defer pointer retrieval to prevent
38908 unsafe sourcefile string modification. [ruby-dev:24382]
38910 * string.c (rb_str_sum): wrong cast caused wrong result.
38913 * enum.c (enum_sort_by): hide temporary array from
38914 ObjectSpace.each_object. [ruby-dev:24386]
38916 * string.c (rb_str_sum): check was done with false pointer.
38919 * string.c (rb_str_sum): string may be altered. [ruby-dev:24381]
38921 Fri Oct 1 11:40:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38923 * eval.c (rb_f_eval): defer pointer retrieval to prevent unsafe
38924 sourcefile string modification. [ruby-dev:24373]
38926 * io.c (io_read): block string buffer modification during
38927 rb_io_fread() by freezing it temporarily. [ruby-dev:24366]
38929 * io.c (rb_io_s_popen): mode argument may be altered.
38932 * file.c (rb_file_s_basename): ext argument may be altered.
38935 * enum.c (enum_sort_by): use NODE instead of 2 element arrays.
38938 * string.c (rb_str_chomp_bang): StringValue() may change the
38939 receiver. [ruby-dev:24371]
38941 Fri Oct 1 11:25:20 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38943 * ext/tk/lib/tk/grid.rb: revive TkGrid.grid
38945 * ext/tk/lib/tk/pack.rb: revive TkPack.pack
38947 * ext/tk/lib/tk/place.rb: revive TkPlace.place
38949 Thu Sep 30 00:50:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38951 * ext/tcltklib/tcltklib.c (ip_init): bug fix
38953 * ext/tk/tkutil.c (get_eval_string_core): accept a Regexp object
38955 * ext/tk/lib/multi-tk.rb: fix bug on 'exit' operation
38957 * ext/tk/lib/tk/text.rb: 'tksearch' accepts a Regexp object as a
38958 matting pattern argument
38960 Wed Sep 29 10:58:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38962 * enum.c (sort_by_i): internally used object must not be changed
38963 outside. [ruby-dev:24368]
38965 Mon Sep 27 21:25:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38967 * eval.c (rb_call0): invoke finalizers periodically.
38969 * gc.c (gc_sweep): defer running finalizers. [ruby-dev:24354]
38971 * gc.c (rb_gc_finalize_deferred): run deferred finalizers.
38973 Mon Sep 27 15:01:59 2004 Minero Aoki <aamine@loveruby.net>
38975 * parse.y [ripper]: missing ';'.
38977 Mon Sep 27 13:46:45 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38979 * intern.h, struct.c (rb_struct_s_members, rb_struct_members): public
38980 accessors. [ruby-dev:24342]
38982 * marshal.c (w_object, r_object0): use accessors.
38984 Mon Sep 27 09:14:03 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38986 * array.c (rb_ary_delete): comparison may change the capacity.
38989 * array.c (rb_ary_fill): fill should honor length argument.
38992 * array.c (rb_ary_replace): should not use ptr from shared array.
38995 * ext/socket/socket.c (s_accept): don't retry for EWOULDBLOCK.
38998 Sun Sep 26 08:05:10 2004 Tadayoshi Funaba <tadf@dotrb.org>
39000 * lib/date.rb: provides {Time,Date,DateTime}#to_{time,date,datetime}.
39002 * sample/cal.rb: uses getoptlong instead of getopts.
39004 Sat Sep 25 18:39:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39006 * array.c (flatten): element size might change during comparison.
39009 Sat Sep 25 01:52:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39011 * struct.c (rb_struct_s_members): wrong call of struct_members.
39014 Fri Sep 24 16:09:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39016 * eval.c (proc_invoke): propagate DVAR_DONT_RECYCLE on termination
39017 to avoid double call to rb_gc_force_recycle(). [ruby-dev:24311]
39019 Fri Sep 24 08:29:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39021 * parse.y (rb_parser_append_print): should handle prelude.
39024 * parse.y (rb_parser_while_loop): ditto.
39026 * array.c (rb_ary_subseq): original object might be modified after
39027 sharing data creation. [ruby-dev:24327]
39029 * array.c (rb_ary_replace): ditto.
39031 * array.c (ary_make_shared): freeze shared array. [ruby-dev:24325]
39033 * struct.c (struct_members): always check struct size and size of
39034 members list in the class. [ruby-dev:24320]
39036 Thu Sep 23 19:48:14 2004 Minero Aoki <aamine@loveruby.net>
39038 * ext/ripper/Makefile.dev: removed.
39040 * ext/ripper/ripper.rb.in: moved to lib/ripper/core.rb.in.
39042 * ext/ripper/lib/ripper/core.rb: new file.
39044 * ext/ripper/lib/ripper/core.rb.in: new file.
39046 * ext/ripper/tools/generate-ripper_rb.rb: change comment.
39048 * test/ripper/*.rb: on__scan event removed.
39050 * test/ripper/*.rb: event name is changed: on__XXX -> on_XXX.
39052 Thu Sep 23 09:29:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39054 * string.c (rb_str_sub_bang): check if string is not modified
39055 during iteration. [ruby-dev:24315]
39057 * hash.c (rb_hash_rehash): replace st_foreach() by its deep
39058 checking counterpart. [ruby-dev:24310]
39060 Wed Sep 22 14:21:54 2004 Minero Aoki <aamine@loveruby.net>
39062 * parse.y [ripper]: on__scan event removed.
39064 * parse.y [ripper]: event name is changed: on__XXX -> on_XXX.
39066 * ext/ripper/eventids2.c: ditto.
39068 * ext/ripper/ripper.rb.in: ditto.
39070 * ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
39072 * ext/ripper/lib/ripper/tokenizer: ditto.
39074 * ext/ripper/lib/ripper/filter: new file.
39076 * sample/ripper/colorize.rb: new file.
39078 * sample/ripper/strip-comment.rb: new file.
39080 Wed Sep 22 13:50:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39082 * hash.c (hash_alloc): was using tbl pointer without
39085 Wed Sep 22 13:38:12 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39087 * hash.c (rb_hash_rehash): add iteration check. [ruby-dev:24301]
39089 * st.c (st_foreach): add deep check.
39091 * hash.c (rb_hash_fetch): returns KeyError instead of IndexError.
39093 * hash.c (env_fetch): ditto.
39095 Wed Sep 22 13:02:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39097 * win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.
39099 Wed Sep 22 09:04:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39101 * parse.y: remove global variables ruby_eval_tree and
39102 ruby_eval_tree_begin.
39104 * array.c (rb_ary_collect_bang): element size might change during
39105 comparison. [ruby-dev:24300]
39107 * array.c (rb_ary_reject_bang): ditto. [ruby-dev:24300]
39109 * array.c (rb_ary_eql): ditto. [ruby-dev:24300]
39111 Wed Sep 22 00:11:12 2004 Dave Thomas <dave@pragprog.com>
39113 * process.c: Add documentation for fork()
39115 Tue Sep 21 18:29:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39117 * array.c (rb_ary_uniq_bang): element size might change during
39118 comparison. [ruby-dev:24298]
39120 Mon Sep 20 17:46:51 2004 Minero Aoki <aamine@loveruby.net>
39122 * ext/ripper/lib/ripper/tokenizer.rb: fix typo.
39124 Mon Sep 20 17:38:43 2004 Minero Aoki <aamine@loveruby.net>
39126 * test/ripper/test_scanner_events.rb: tokens must be reordered.
39128 * ext/ripper/lib/ripper/tokenizer.rb: ditto.
39130 Mon Sep 20 16:58:16 2004 Minero Aoki <aamine@loveruby.net>
39132 * parse.y [ripper]: do not delay dispatching.
39134 * ext/ripper/lib/ripper/tokenizer.rb: sort tokens by right order.
39136 Mon Sep 20 15:17:47 2004 Minero Aoki <aamine@loveruby.net>
39138 * ext/ripper/lib/ripper/tokenizer.rb: new file.
39140 Mon Sep 20 15:13:52 2004 Minero Aoki <aamine@loveruby.net>
39142 * test/ripper/test_scanner_events.rb: test #lineno and #column.
39144 Mon Sep 20 14:50:17 2004 Minero Aoki <aamine@loveruby.net>
39146 * parse.y [ripper]: delayed heredocument events should be
39147 dispatched after EOF.
39149 Mon Sep 20 14:39:42 2004 Minero Aoki <aamine@loveruby.net>
39151 * parse.y [ripper]: adjust lineno and columns for multi-line
39154 * parse.y [ripper]: delay heredocument events until seeing
39157 * parse.y [ripper]: event on__heredoc_contentn ->
39158 on__tstring_content.
39160 * ext/ripper/eventids2.c: ditto.
39162 * ext/ripper/lib/ripper.rb: sync with eventids2.c.
39164 * test/ripper/test_scanner_events.rb: test it.
39166 * ext/ripper/tools/generate-ripper_rb.rb: show basename of input.
39168 * ext/ripper/Makefile.dev: support objdir build.
39170 Mon Sep 20 13:22:55 2004 Minero Aoki <aamine@loveruby.net>
39172 * parse.y [ripper]: remove Ripper#pos.
39174 * parse.y [ripper]: Ripper#column should return the column of the
39177 Mon Sep 20 12:02:41 2004 Minero Aoki <aamine@loveruby.net>
39179 * parse.y [ripper]: unify old_lex_p and token_head.
39181 * test/ripper/test_scanner_events.rb: now \r\n is saved correctly.
39183 * parse.y: new macro lex_goto_eol() for next change.
39185 Mon Sep 20 11:01:55 2004 Minero Aoki <aamine@loveruby.net>
39187 * parse.y [ripper]: adjust line number for heredoc. [ruby-dev:24272]
39189 Mon Sep 20 04:49:22 2004 Minero Aoki <aamine@loveruby.net>
39191 * ext/ripper/ripper.rb.in: new const Ripper::PARSER_EVENT_TABLE.
39193 * ext/ripper/ripper.rb.in: new const Ripper::SCANNER_EVENT_TABLE.
39195 * ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
39197 Mon Sep 20 04:13:00 2004 Minero Aoki <aamine@loveruby.net>
39199 * test/ripper/test_scanner_events.rb: test spaces before heredoc
39202 Mon Sep 20 03:46:54 2004 Minero Aoki <aamine@loveruby.net>
39204 * parse.y [ripper]: spaces before heredoc marker was lost.
39207 * keywords: rb_reserved_word() should be defined only in ruby
39208 core. [ruby-dev:24272]
39210 * lex.c: sync with keywords.
39212 * ext/ripper/ripper.rb.in (parse): fix typo.
39214 * ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
39216 Mon Sep 20 03:37:59 2004 Tanaka Akira <akr@m17n.org>
39218 * ext/zlib/zlib.c (gzfile_read_raw): call readpartial at first.
39219 (Zlib::GzipReader#readpartial): new method.
39221 Mon Sep 20 00:24:19 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39223 * enum.c (enum_sort_by): do not use qsort directly. use
39224 rb_ary_sort_bang() instead. [ruby-dev:24291]
39226 * enum.c (enum_sort_by): pedantic type check added.
39229 * hash.c (rb_hash_foreach_iter): check iter_lev after each
39230 iteration. [ruby-dev:24289]
39232 * array.c (rb_ary_and): element size might change during
39233 comparison. [ruby-dev:24290]
39235 * array.c (rb_ary_or): ditto. [ruby-dev:24292]
39237 * array.c (rb_ary_equal): wrong fix. [ruby-dev:24286]
39239 Sat Sep 18 15:02:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39241 * array.c (rb_ary_equal): element size might change during
39242 comparison. [ruby-dev:24254]
39244 * array.c (rb_ary_diff): ditto. [ruby-dev:24274]
39246 * array.c (rb_ary_select): ditto. [ruby-dev:24278]
39248 * array.c (rb_ary_delete): ditto. [ruby-dev:24283]
39250 * array.c (rb_ary_rindex): ditto. [ruby-dev:24275]
39252 * array.c (rb_ary_initialize): element size might change during
39253 initializing block. [ruby-dev:24284]
39255 Sat Sep 18 14:10:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39257 * dir.c (dir_s_chdir): avoid memory leak and unnecessary chdir to
39258 the original directory when exception has caused in changing
39259 direcotry or within block. thanks to Johan Holmberg
39260 <holmberg@iar.se> [ruby-core:03446]
39262 Fri Sep 17 20:29:33 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39264 * parse.y: add prototypes for Microsoft compiler.
39266 * ext/ripper/depend (parse.obj): lex.c exists at hdrdir.
39268 * {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c):
39271 Fri Sep 17 17:11:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39273 * array.c (rb_ary_delete): element comparison might change array
39274 size. [ruby-dev:24273]
39276 * parse.y: make ruby parser reentrant. merge ripper parser to the
39277 real one. this change makes ruby require bison.
39279 * file.c (rb_file_truncate): clear stdio buffer before truncating
39280 the file. [ruby-dev:24191]
39282 * ext/digest/digest.c: use rb_obj_class() instead of CLASS_OF
39283 which might return singleton class. [ruby-dev:24202]
39285 Fri Sep 17 16:07:09 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39287 * ext/tk/lib/multi-tk.rb: improve exit operation
39289 Fri Sep 17 15:01:57 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39291 * ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or
39294 * ext/tk/lib/tk.rb: add alias wait_window to wait_destroy
39296 * ext/tk/lib/multi-tk.rb: support calling 'mainloop' on slave
39297 interpreters (however, the 'real' eventloop must be run on the
39300 * ext/tk/lib/remote-tk.rb: follow the changes of ext/tk/lib/multi-tk.rb
39302 * ext/tk/sample/remote-ip_sample2.rb: ditto
39304 * ext/tk/sample/tkoptdb-safeTk.rb: ditto
39306 Thu Sep 16 18:12:13 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39308 * lib/webrick/cgi.rb (WEBrick::CGI#start): should set REMOTE_USER
39309 to request.user attribute.
39311 * lib/webrick/httpservlet/filehandler.rb
39312 (WEBrick::HTTPServlet::FileHandler#initialize): should expand
39313 the pathname of document root directory.
39315 Thu Sep 16 15:49:28 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39317 * string.c (rb_str_intern): protect string argument from GC.
39320 Wed Sep 15 20:22:23 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39322 * ext/tk/sample/tkoptdb-safeTk.rb: fix a bug depend on the changes
39325 Tue Sep 14 23:54:11 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39327 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string was en-bugged by
39328 the previous changes.
39330 Tue Sep 14 23:45:44 2004 Dave Thomas <dave@pragprog.com>
39332 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::TextFormatter.for):
39333 Add Eric Hodel's simpleformatter.
39335 Tue Sep 14 22:11:08 2004 Minero Aoki <aamine@loveruby.net>
39337 * parse.y [ripper]: Add rdoc.
39339 Tue Sep 14 20:24:49 2004 Minero Aoki <aamine@loveruby.net>
39341 * parse.y [ripper]: space event is on__sp, not on__lwsp.
39344 * ext/ripper/eventids2.c: ditto.
39346 * ext/ripper/lib/ripper.rb: ditto.
39348 * ext/ripper/depend (ripper.o): No action is needed.
39351 * ext/ripper/depend: Borland make does not accept pipes in
39352 Makefile rules. [ruby-dev:24589]
39354 * ext/ripper/depend: separate rules for developpers.
39356 * ext/ripper/Makefile.dev: new file.
39358 * ext/ripper/MANIFEST: add Makefile.dev.
39360 * ext/ripper/tools/generate-eventids1.rb: read from file, not
39363 * ext/ripper/extconf.rb: clean ripper.E.
39365 * ext/ripper/tools/generate-ripper_rb.rb: #include ids1/ids2
39368 * ext/ripper/tools/generate-ripper_rb.rb: SCANNER_EVENTS wrongly
39369 contained parser events.
39371 * ext/ripper/lib/ripper.rb: ditto.
39373 Tue Sep 14 16:59:37 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39375 * ext/tcltklib/tcltklib.c: fix SEGV
39377 * ext/tk/lib/multi-tk.rb: improve safe-level handling of argument proc
39379 * ext/tk/sample/multi-ip_sample.rb: rename of old 'safe-tk.rb'
39381 * ext/tk/sample/safe-tk.rb: new sample script
39384 Mon Sep 13 21:33:40 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39386 * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): add optional
39387 second argument to specify the output format (see also
39388 X509_NAME_print_ex).
39390 * ext/openssl/ossl_x509name.c (ossl_x509name_init): new constants:
39391 OpenSSL::X509::Name::COMPAT, OpenSSL::X509::Name::RFC2253,
39392 OpenSSL::X509::ONELINE, OpenSSL::X509::MULTILINE.
39394 * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name::RFC2253DN):
39395 new module to provide the parse for RFC2253 DN format.
39397 * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name.parse_rfc2253):
39398 new method to parse RFC2253 DN format.
39400 Mon Sep 13 19:16:33 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39402 * eval.c (blk_copy_prev): need frame_dup(). [ruby-dev:24103]
39404 Mon Sep 13 16:23:27 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39406 * ext/tk/lib/multi-tk.rb: MultiTkIp.new_master and new_slave accept
39407 safe-level value argument
39409 Mon Sep 13 10:48:37 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39411 * win32/win32.c (rb_w32_getpid): don't need to use _getpid() on
39412 mswin32 and mingw32.
39414 Mon Sep 13 10:22:05 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39416 * object.c (nil_inspect): fix typo.
39418 Mon Sep 13 09:29:58 2004 Minero Aoki <aamine@loveruby.net>
39420 * ext/ripper/depend: (nmake hack) prepend "./" to ripper.c to
39423 Mon Sep 13 06:43:42 2004 Minero Aoki <aamine@loveruby.net>
39425 * ext/ripper/tools/list-parse-event-ids.rb: does not use getopts.
39427 * ext/ripper/tools/list-scan-event-ids.rb: ditto.
39429 Mon Sep 13 02:42:28 2004 Minero Aoki <aamine@loveruby.net>
39431 * ext/Setup: add ripper.
39433 * ext/Setup.atheos: ditto.
39435 * ext/Setup.dj: ditto.
39437 * ext/Setup.emx: ditto.
39439 * ext/Setup.nt: ditto.
39441 * ext/Setup.x68: ditto.
39443 Mon Sep 13 02:26:31 2004 Minero Aoki <aamine@loveruby.net>
39445 * ext/ripper: ripper extention added.
39447 * ext/ripper/MANIFEST: new file.
39449 * ext/ripper/README: new file.
39451 * ext/ripper/depend: new file.
39453 * ext/ripper/extconf.rb: new file.
39455 * ext/ripper/eventids2.c: new file.
39457 * ext/ripper/ripper.rb.in: new file.
39459 * ext/ripper/lib/ripper.rb: new file.
39461 * ext/ripper/test/check-event-arity.rb: new file.
39463 * ext/ripper/test/check-event-coverage.sh: new file.
39465 * ext/ripper/test/check-scanner-event-coverage.rb: new file.
39467 * ext/ripper/test/list-called-events.rb: new file.
39469 * ext/ripper/test/src_rb: new file.
39471 * ext/ripper/test/validate.rb: new file.
39473 * ext/ripper/tools/generate-eventids1.rb: new file.
39475 * ext/ripper/tools/generate-param-macros.rb: new file.
39477 * ext/ripper/tools/generate-ripper_rb.rb: new file.
39479 * ext/ripper/tools/list-parse-event-ids.rb: new file.
39481 * ext/ripper/tools/list-scan-event-ids.rb: new file.
39483 * ext/ripper/tools/preproc.rb: new file.
39485 * ext/ripper/tools/strip.rb: new file.
39487 * test/ripper: ripper tests added.
39489 * test/ripper/dummyparser.rb: new file.
39491 * test/ripper/test_parser_events.rb: new file.
39493 * test/ripper/test_scanner_events.rb: new file.
39495 Mon Sep 13 01:03:02 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39497 * ext/tcltklib/tcltklib.c: improve control of preserv/release tcltkip
39499 * ext/tcltklib/tcltklib.c: store original 'exit' command
39501 * ext/tk/tkutil.c: fix(?) SEGV
39503 Mon Sep 13 00:22:53 2004 Minero Aoki <aamine@loveruby.net>
39505 * parse.y: fix file header.
39507 Mon Sep 13 00:20:39 2004 Minero Aoki <aamine@loveruby.net>
39509 * parse.y: ripper merged.
39515 Sun Sep 12 23:53:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39517 * util.c (ruby_strdup): remove unnecessary code. (xmalloc never
39520 * util.c (ruby_getcwd): fix memory leak on failure.
39522 Sun Sep 12 02:41:58 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39524 * ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and
39527 * ext/tk/lib/multi-tk.rb: ditto.
39529 * ext/tk/lib/remote-tk.rb: ditto.
39531 * ext/tcltklib/MANUAL.euc: ditto.
39533 * ext/tcltklib/MANUAL.eng: ditto.
39535 * ext/tcltklib/tcltklib.c: fix some reasons of SEGV
39537 * ext/tk/tkutil.c: ditto.
39539 * ext/tk/lib/multi-tk.rb: ditto.
39541 * ext/tk/lib/tk/timer.rb: ditto.
39543 Sat Sep 11 16:09:46 2004 Dave Thomas <dave@pragprog.com>
39545 * lib/rdoc/parsers/parse_rb.rb: Fix up cross-file class merging.
39547 Fri Sep 10 20:18:05 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39549 * ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious
39550 pointer conversion.
39552 Fri Sep 10 19:16:24 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39554 * bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.
39555 (need to rebuild all) [ruby-dev:24138]
39557 * win32/win32.{h,c}: ditto.
39559 Fri Sep 10 15:55:59 2004 Minero Aoki <aamine@loveruby.net>
39561 * lib/fileutils.rb (mkdir_p): should pass mode argument to
39562 Dir.mkdir. [ruby-dev:24242]
39564 * test/fileutils/test_fileutils.rb: test it.
39566 Fri Sep 10 02:43:54 2004 Dave Thomas <dave@pragprog.com>
39568 * lib/rdoc/generators/template/kilmer.rb: James Buck's
39569 patch for call-seq.
39571 Thu Sep 9 13:58:56 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39573 * ext/tcltklib/tcltklib.c (ip_init): change flag value for setting
39574 'argv' and 'argv0' variable
39576 * ext/tk/lib/remote-tk.rb: follow changes of multi-tk.rb
39578 Thu Sep 9 11:46:18 2004 Dave Thomas <dave@pragprog.com>
39580 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_classes): Allow
39581 spaces aroun parameter to define_method_under (James Buck)
39583 Wed Sep 8 18:44:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39585 * ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.
39588 Wed Sep 8 15:19:49 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39590 * ext/tcltklib/tcltklib.c (ip_init): cannot create a IP at level 4
39592 * ext/tk/lib/multi-tk.rb: improve 'exit' operation, security check,
39593 and error treatment
39595 * ext/tk/lib/multi-tk.rb: allow a trusted slave IP to create slave IPs
39597 * ext/tk/lib/tk/listbox.rb: add TkListbox#value, value=, clear, and
39600 * ext/tk/lib/tk/text.rb: add TkText#clear and erase
39602 Tue Sep 7 15:17:49 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39604 * ext/socket/socket.c (ruby_connect): break immediately if a
39605 socket is non-blocking. [ruby-talk:111654]
39607 Tue Sep 7 12:48:22 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39609 * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
39611 * win32/win32.[ch] (fcntl): ditto.
39613 * win32/win32.c (rb_w32_connect): support nonblocking mode.
39615 * ext/socket/socket.c (wait_connectable, ruby_connect): support
39616 nonblocking connect on various platforms.
39618 Mon Sep 6 11:00:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39620 * dir.c (dir_s_chdir): the patch to shut up false warning when
39621 exception occurred within a block. a patch was given from Johan
39622 Holmberg <holmberg at iar.se>. [ruby-core:03292]
39624 Mon Sep 6 10:57:40 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39626 * ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
39628 Mon Sep 6 07:51:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39630 * eval.c (cvar_cbase): singletons should refer outer cvar scope.
39633 * eval.c (rb_load): should preserve previous ruby_wrapper value.
39636 Sat Sep 4 01:14:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39638 * eval.c (cvar_cbase): class variables cause SEGV in
39639 instance_eval() for fixnums and symbols. [ruby-dev:24213]
39641 Fri Sep 3 17:47:58 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39643 * struct.c (make_struct): remove redefining constant when
39644 conflict. [ruby-dev:24210]
39646 Fri Sep 3 11:31:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39648 * ext/tk/lib/tk.rb: Tk.after makes TkCore::INTERP.tk_cmd_tbl grow
39651 Fri Sep 3 02:12:48 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39653 * ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]
39655 * ext/tk/lib/tk/text.rb: fix typo
39657 * ext/tk/lib/multi-tk.rb: improve safe-level treatment on slave IPs
39659 Fri Sep 3 01:54:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39661 * ext/extmk.rb (extmake): extact target prefix from Makefiles.
39663 * ext/extmk.rb: already built-in libraries satisfy dependencies.
39666 Wed Sep 1 21:16:50 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39668 * ext/tk/lib/tk/spinbox.rb: fix typo
39670 Wed Sep 1 19:28:37 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39672 * process.c (rb_proc_exec): label cannot precede variable declarations.
39674 Tue Aug 31 18:20:49 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39676 * ext/tk/tkutil.c (cbsubst_init): fix memory leak
39678 * ext/tk/tkutil.c (cbsubst_get_all_subst_keys): fix SEGV
39680 Tue Aug 31 16:04:22 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39682 * ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted,
39683 destroy its root widget
39685 Tue Aug 31 12:30:36 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39687 * ext/tcltklib/tcltklib.c (del_root): fix SEGV
39689 Mon Aug 30 21:50:14 2004 Dave Thomas <dave@pragprog.com>
39691 * object.c: Add RDoc for Module.included.
39693 Mon Aug 30 23:11:06 2004 Dave Thomas <dave@pragprog.com>
39695 * lib/rdoc/ri/ri_driver.rb (and others): ri now merges documentation
39696 if it finds the same class in multiple places.
39698 Mon Aug 30 22:40:30 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39700 * ext/tk/lib/multi-tk.rb: 'restart' method accepts arguments
39702 Mon Aug 30 15:10:46 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39704 * configure.in (GNU/k*BSD): fixed FTBFS on GNU/k*BSD. [ruby-dev:24051]
39706 Sun Aug 29 14:08:56 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39708 * ext/tcltklib/tcltklib.c: compile error on bcc32 [ruby-dev:24081]
39710 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string does not work
39712 Sat Aug 28 23:04:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39714 * bignum.c (rb_big_and): protect parameters from GC.
39717 Fri Aug 27 12:13:50 2004 Tanaka Akira <akr@m17n.org>
39719 * ext/stringio/stringio.c (Init_stringio): add StringIO#readpartial as
39720 an alias for StringIO#sysread.
39722 Fri Aug 27 10:14:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39724 * process.c (rb_proc_exec): strip trailing spaces. [ruby-dev:24143]
39726 * win32/win32.c (CreateChild): ditto.
39728 Thu Aug 26 04:38:29 2004 Dave Thomas <dave@pragprog.com>
39730 * eval.c (return_jump): Minor typo in error message. Now reads
39731 "return can't jump across threads".
39733 Wed Aug 25 15:18:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39735 * eval.c (rb_longjmp): Exception#to_str is no longer defined.
39737 Wed Aug 25 11:39:10 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39739 * error.c (exc_equal): exceptions are equal if they share same
39740 class, message and backtrace. [ruby-talk:110354]
39742 * error.c (name_err_mesg_equal): ditto.
39744 Tue Aug 24 16:41:48 2004 Shugo Maeda <shugo@ruby-lang.org>
39746 * lib/cgi/session.rb (CGI::Session::FileStore#initialize): do not
39747 use a session id as a filename.
39749 * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): ditto.
39751 * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): use
39754 Tue Aug 24 14:32:17 2004 Shugo Maeda <shugo@ruby-lang.org>
39756 * lib/cgi/session.rb (CGI::Session::FileStore#initialize): untaint
39757 session id after check.
39759 Tue Aug 24 08:57:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39761 * ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): d2i
39762 functions may replace the pointer indicated by the first argument.
39764 * ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
39766 * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
39768 Mon Aug 23 12:43:32 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39770 * lib/resolv.rb (Config.default_config_hash): when multiple domains
39771 are set, Win32::Resolv.get_resolv_info returns Array.
39773 Sun Aug 22 16:27:38 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39775 * ext/openssl/ossl_ssl.c (ossl_ssl_read):
39776 - should return an empty string if specified length to read is 0.
39777 - should check for pending data and wait for fd before reading.
39778 - call underlying IO's sysread if SSL session is not started.
39779 [ruby-dev:24072], [ruby-dev:24075]
39781 * ext/openssl/ossl_ssl.c (ossl_ssl_write):
39782 - call underlying IO's syswrite if SSL session is not started.
39784 * ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method
39785 OpenSSL::SSL#pending.
39787 * ext/openssl/lib/openssl/buffering.rb: should not use select.
39789 Sun Aug 22 01:10:36 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39791 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
39792 should call :ProxyContentHandler before finishing CONNECT.
39794 Sat Aug 21 06:41:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39796 * ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.
39798 * lib/mkmf.rb (arg_config, with_config): deal with '-' and '_'
39799 uniformly. [ruby-dev:24118]
39801 Fri Aug 20 14:49:42 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39803 * io.c (rb_io_check_writable): no need to check read buffer if
39804 already changed to write mode.
39806 Fri Aug 20 11:46:43 2004 UENO Katsuhiro <katsu@blue.sky.or.jp>
39808 * ext/zlib/zlib.c: GzipReader#ungetc caused crc error.
39810 Thu Aug 19 16:29:45 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39812 * ext/tk/lib/tk.rb: Fail to treat a hash value of 'font' option.
39814 * ext/tk/lib/tk.rb: bindinfo cannot return '%' substiturion infomation.
39816 * ext/tk/lib/menu.rb: typo bug.
39818 Thu Aug 19 15:15:24 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39820 * dir.c (free_dir): fix memory leak. reported by yamamoto
39823 Thu Aug 19 09:19:27 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39825 * configure.in, win32/Makefile.sub (LIBS): need to link shell32
39826 library for SH* functions on mswin32 and mingw32.
39828 * wince/Makefile.sub (LIBS): need to link ceshell library for SH*
39829 functions on mswince.
39831 Thu Aug 19 03:07:00 2004 why the lucky stiff <why@ruby-lang.org>
39833 * lib/yaml/baseemitter.rb: folding now handles double-quoted strings,
39834 fixed problem with extra line feeds at end of folding, whitespace
39835 opening scalar blocks.
39837 * lib/yaml/rubytypes.rb: subtelties in handling strings with
39838 non-printable characters and odd whitespace patterns.
39840 Wed Aug 18 23:44:20 2004 Minero Aoki <aamine@loveruby.net>
39842 * lib/net/protocol.rb (rbuf_fill): OpenSSL::SSLSocket has its own
39843 buffer, select(2) might not work. [ruby-dev:24072]
39845 Wed Aug 18 17:10:12 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39847 * ext/tcltklib/stubs.c (ruby_tcltk_stubs): need to call
39848 Tcl_FindExecutable() for Tcl/Tk 8.4.
39850 Wed Aug 18 12:52:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39852 * eval.c (rb_obj_instance_eval): evaluates under special singleton
39853 classes as for special constants.
39855 Wed Aug 18 11:22:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39857 * win32/win32.c (init_env): initialize HOME and USER environment
39858 variables unless set.
39860 Wed Aug 18 10:17:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39862 * eval.c (bind_eval): new method. [RCR 251]
39864 * string.c (rb_str_clear): new method. [ruby-dev:24104]
39866 Tue Aug 17 17:20:59 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39868 * io.c (rb_io_reopen): should clear allocated OpenFile. pointed
39869 out by Guy Decoux. [ruby-core:03288]
39871 Tue Aug 17 01:36:32 2004 Dave Thomas <dave@pragprog.com>
39873 * lib/rdoc/usage.rb: Remove extra indent. Tidy 'ri' option
39874 parsing so RDoc::usage plays better with OptionParser.
39876 Sat Aug 14 02:48:16 2004 Dave Thomas <dave@pragprog.com>
39878 * lib/rdoc/usage.rb: Added. Allows command line programs
39879 to report usage using their initial RDoc comment.
39881 Sat Aug 14 01:25:48 2004 why the lucky stiff <why@ruby-lang.org>
39883 * ext/syck/token.c: re2c no longer compiled with bit vectors. caused
39884 problems for non-ascii characters. [ruby-core:03280]
39885 * ext/syck/implicit.c: ditto.
39886 * ext/syck/bytecode.c: ditto.
39888 Fri Aug 13 12:55:20 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39890 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header):
39891 fix regex for range-spec.
39893 * lib/webrick/httpservlet/filehandler.rb
39894 (WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content):
39895 multipart/byteranges response was broken.
39897 * lib/xmlrpc/server.rb: refine example code.
39899 Thu Aug 12 10:54:17 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39901 * rubyio.h (rb_eof_error): should mark as NORETURN.
39903 * win32/win32.c (make_cmdvector): adjust escaped successive
39904 double-quote handling.
39906 Thu Aug 12 01:53:10 2004 Tanaka Akira <akr@m17n.org>
39908 * io.c (read_buffered_data): extracted from rb_io_fread.
39909 (io_readpartial): new method IO#readpartial.
39912 Wed Aug 11 17:17:50 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39914 * configure.in (RPATHFLAG): stop setting RPATHFLAG on Interix.
39916 Mon Aug 9 15:03:20 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39918 * lib/webrick/httpservlet/erbhandler.rb
39919 (WEBrick::HTTPServlet::ERBHandler#do_GET): should select media type
39920 by suffix of script filename.
39922 Mon Aug 9 12:51:43 2004 Dave Thomas <dave@pragprog.com>
39924 * dir.c (dir_s_glob): Roll in Austin Ziegler's Dir.glob and
39927 Mon Aug 9 06:33:06 2004 Minero Aoki <aamine@loveruby.net>
39929 * lib/fileutils.rb (cp_r): copies symlink to symlink, except
39930 root entries of cp_r.
39932 * lib/fileutils.rb: new method FileUtils.copy_entry.
39934 * test/fileutils/test_fileutils.rb: more cp_r tests.
39936 Sun Aug 8 00:43:31 2004 why the lucky stiff <why@ruby-lang.org>
39938 * lib/implicit.c: added sexagecimal float#base60.
39940 * ext/syck/rubyext.c (yaml_org_handler): ditto.
39942 * lib/token.c: indentation absolutely ignored when processing flow
39943 collections. plain scalars are trimmed if indentation follows in
39944 an ambiguous flow collection.
39946 Sat Aug 7 03:08:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39948 * process.c (proc_daemon): new method. should be modified for
39949 platforms without /dev/null.
39951 Sat Aug 7 00:50:01 2004 Tanaka Akira <akr@m17n.org>
39953 * ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.
39955 Wed Aug 4 13:26:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39957 * marshal.c (r_bytes0): optimize out read(0). [ruby-talk:108276]
39959 Tue Aug 3 13:49:12 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39961 * ext/tk/lib/tk/namespace.rb: bug fix
39963 * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: add Tk::TreeCtrl.loupe
39965 Mon Aug 2 23:33:48 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39967 * test/ruby/test_file.rb (test_fnmatch): added more tests.
39969 Mon Aug 2 18:04:21 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39971 * ext/tk/lib/tk/msgcat.rb (set_translation): bug fix (fail to set
39972 trans_str to the same as src_str when trans_str is not given.)
39974 Mon Aug 2 17:40:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39976 * eval.c (blk_free): fixed serious memory leak. [ruby-dev:24013]
39978 Mon Aug 2 11:53:06 2004 Dave Thomas <dave@pragprog.com>
39980 * lib/rdoc/code_objects.rb (RDoc::Context::find_symbol): Fix infinite recursion
39981 looking up some top level symbols (batsman)
39983 Mon Aug 2 11:48:29 2004 Dave Thomas <dave@pragprog.com>
39985 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): Allow '.'s in
39986 variable names to support SWIG generated files (Hans Fugal)
39988 Sat Jul 31 23:08:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39990 * eval.c (is_defined): stupid mistakes fixed. [ruby-dev:24006]
39992 Sat Jul 31 17:39:47 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39994 * misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial,
39995 ruby-calculate-indent, ruby-move-to-block, ruby-forward-sexp,
39996 ruby-backward-sexp): keywords must match word-wise.
39998 Sat Jul 31 13:37:51 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40000 * eval.c (is_defined): avoid unnecessary method invocations.
40002 Sat Jul 31 05:35:37 2004 why the lucky stiff <why@ruby-lang.org>
40004 * lib/yaml/rubytypes.rb: exceptions were using an older
40005 YAML.object_maker. [ruby-core:03080]
40007 * ext/syck/token.c (sycklex_yaml_utf8): using newline_len to
40008 handline CR-LFs. "\000" was showing up on folded blocks which
40011 Sat Jul 31 01:25:11 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40013 * eval.c (is_defined): call is_defined() before invoking
40014 rb_eval(). [ruby-talk:107867]
40016 Fri Jul 30 16:10:54 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40018 * ext/tcltklib/tcltklib.c (lib_fromUTF8_core): raise ArgumentError when
40019 the unknown encoding name is given.
40021 * ext/tcltklib/tcltklib.c (lib_toUTF8_core): ditto.
40023 * ext/tk/lib/tk.rb (Tk::Encoding.encoding_convertfrom): bug fix.
40025 * ext/tk/lib/tk.rb (Tk::Encoding.encoding_convertto): ditto.
40027 Wed Jul 28 18:59:17 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40029 * lib/cgi.rb (CGI::initialize): remove at_exit code for CGI_PARAMS
40030 and CGI_COOKIES. they will no longer be used.
40032 Wed Jul 28 15:44:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40034 * eval.c (rb_call0): should call rb_call_super() directly for
40035 visibility overriding. [ruby-dev:23989]
40037 Wed Jul 28 01:04:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40039 * env.h: remove argv from ruby_frame.
40041 * eval.c (rb_eval): no more copy on write.
40043 * eval.c (assign): ditto.
40045 * eval.c (rb_call0): can receive *rest by specifying negative
40046 argc. (-1 means 0 arg and *rest, -2 means 1 arg and *rest...)
40048 * eval.c (rb_call0): properly set frame's argc counter.
40050 * gc.c (rb_gc_mark_frame): need not to mark frame's argv
40052 * gc.c (run_final): wrong order of data. [ruby-dev:23984]
40054 Tue Jul 27 07:05:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40056 * eval.c (rb_eval): copy on write for argument local variable
40059 * eval.c (assign): ditto.
40061 * eval.c (rb_call0): update ruby_frame->argv with the default
40062 value used for the optional arguments.
40064 * object.c (Init_Object): "===" calls rb_obj_equal() directly.
40067 Mon Jul 26 11:22:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40069 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): should
40072 Sun Jul 25 10:56:28 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40074 * win32/win32.{h,c} (rb_w32_{f,fd,fs}open): workaround for bcc32's
40075 {f,fd,fs}open bug. set errno EMFILE and EBADF. [ruby-dev:23963]
40077 * test/drb/drbtest.rb: fix method duplication.
40079 Sat Jul 24 13:32:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40081 * range.c (rb_range_beg_len): returns Qnil only when "beg" points
40082 outside of a range. No boundary check for "end".
40084 Fri Jul 23 16:40:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40086 * gc.c (define_final): should not disclose NODE* to Ruby world.
40089 Fri Jul 23 08:52:22 2004 Shugo Maeda <shugo@ruby-lang.org>
40091 * lib/net/imap.rb (disconnected?): new method.
40093 Thu Jul 22 16:41:54 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40095 * lib/cgi/session.rb (CGI::Session::FileStore#update): sets the
40096 permission of the session data file to 0600.
40098 * lib/cgi/session/pstore.rb (CGI::Session::Pstore#initialize):
40101 Mon Jul 19 00:53:46 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40103 * lib/webrick/httpservlet/cgihandler.rb
40104 (WEBrick::HTTPServlet::CGIhandler#do_GET): set SystemRoot environment
40105 variable to CGI process on Windows native platforms. [ruby-dev:23936]
40107 Sun Jul 18 16:14:29 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40109 * ext/tk/lib/tk/msgcat.rb (TkMsgCatalog.callback): bug fix
40110 ( wrong number of argument )
40112 Sun Jul 18 08:13:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40114 * sprintf.c (rb_f_sprintf): remove extra sign digit.
40116 Sun Jul 18 03:19:14 2004 Akinori MUSHA <knu@iDaemons.org>
40118 * dir.c (bracket): use NULL instead of 0.
40120 Sun Jul 18 02:35:30 2004 Shugo Maeda <shugo@ruby-lang.org>
40122 * lib/net/imap.rb (receive_responses): return if a LOGOUT response
40125 Sat Jul 17 23:59:01 2004 Shugo Maeda <shugo@ruby-lang.org>
40127 * lib/net/imap.rb (send_string_data): wait command continuation
40128 requests before sending octet data of literals.
40130 Sat Jul 17 23:54:59 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40132 * ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable object
40134 Sat Jul 17 22:04:44 2004 akira yamada <akira@ruby-lang.org>
40136 * lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.
40138 Sat Jul 17 18:29:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40140 * parse.y (stmt): not to show same error messages twice.
40142 Sat Jul 17 14:18:11 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40144 * string.c (rb_str_match_m): String#match should also take
40145 optional argument. [ruby-core:03205]
40147 * re.c (rb_reg_match_m): add optional second argugment "pos" to
40148 specify match start point. [ruby-core:03203]
40150 Sat Jul 17 13:13:32 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40152 * lib/irb/ruby-lex.rb (RubyLex::identify_string): %s string do not
40153 process expression interpolation. [ruby-talk:106691]
40155 Sat Jul 17 05:26:27 2004 Dave Thomas <dave@pragprog.com>
40157 * lib/rdoc/diagram.rb: Incorporate Micheal Neumann's
40158 client-side imagemao patch
40160 Sat Jul 17 01:57:03 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40162 * eval.c (THREAD_ALLOC): th->thread should be initialized to NULL.
40163 [ruby-talk:106657] The solution was found by Guy Decoux.
40165 Fri Jul 16 22:30:28 2004 Michael Neumann <mneumann@ntecs.de>
40167 * file.c (rb_stat_dev_major): new methods File::Stat#dev_major and
40168 #dev_minor. [ruby-core:03195]
40170 Fri Jul 16 11:17:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40172 * error.c (exit_initialize): use EXIT_SUCCESS instead of 0.
40175 * error.c (exit_success_p): new method SystemExit#success?.
40178 * error.c (syserr_initialize): initialization for subclasses.
40181 Thu Jul 15 23:53:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40183 * lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exception
40184 no longer has to_str method.
40186 Thu Jul 15 22:59:48 2004 Shugo Maeda <shugo@ruby-lang.org>
40188 * ext/readline/extconf.rb: added dir_config for curses, ncurses,
40191 Thu Jul 15 20:44:46 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40193 * class.c: rdoc patch
40195 Thu Jul 15 14:12:34 2004 why the lucky stiff <why@ruby-lang.org>
40197 * lib/yaml.rb (YAML::load_file, YAML::parse_file): added.
40199 * ext/syck/token.c: re2c compiled with bit vectors now.
40200 * ext/syck/implicit.c: ditto.
40201 * ext/syck/bytecode.c: ditto.
40203 Thu Jul 15 10:15:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40205 * ext/tk/, ext/tcltklib/: bug fix
40207 * ext/tk/lib/tk.rb: better operation for SIGINT when processing
40209 * ext/tk/lib/tk/msgcat.rb: ditto.
40210 * ext/tk/lib/tk/variable.rb: ditto.
40211 * ext/tk/lib/tk/timer.rb: ditto.
40213 * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd
40214 to define validatecommand methods easier
40216 * ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext
40219 * ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type
40220 check for items (e.g. canvas items; depends on the class) to
40221 avoid some troubles on Tk extension widget class definition.
40223 * ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support
40225 * ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable
40228 Wed Jul 14 23:49:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40230 * enum.c (enum_min_by): new method Enum#min_by. added Enum#max_by
40233 Wed Jul 14 18:05:21 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40235 * ext/openssl/ossl_asn1.c (ossl_asn1cons_to_der): fix type of
40236 argument. [ruby-dev:23891]
40238 * test/openssl/test_x509store.rb: prune tests for CRL checking
40239 unless X509::V_FLAG_CRL_CHECK is defined.
40241 Wed Jul 14 12:20:05 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40243 * util.c (ruby_strtod): should not convert string in the form of
40244 "-I.FE-X" which both "I" and "F" are ommitted. [ruby-dev:23883]
40246 * test/ruby/test_float.rb (test_strtod): add test for bug fix.
40248 Wed Jul 14 00:33:48 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40250 * array.c: rdoc patch. merged patch from Johan Holmberg
40251 <holmberg@iar.se> [ruby-core:3170]
40253 Tue Jul 13 19:39:12 2004 akira yamada <akira@ruby-lang.org>
40255 * lib/uri/generic.rb (URI::Generic#merge_path):
40256 "URI('http://www.example.com/foo/..') + './'" should return
40257 "URI('http://www.example.com/')". [ruby-list:39838]
40258 "URI('http://www.example.com/') + './foo/bar/..'" should return
40259 "URI('http://www.example.com/foo/')". [ruby-list:39844]
40261 * test/uri/test_generic.rb (TestGeneric#test_merge): added tests.
40263 Tue Jul 13 15:48:56 2004 Akinori MUSHA <knu@iDaemons.org>
40265 * lib/mkmf.rb (init_mkmf): Do not add $(libdir) to $LIBPATH in
40268 * lib/mkmf.rb (dir_config): Prepend a new library path instead of
40269 appending so it is tried first.
40271 Tue Jul 13 00:50:48 2004 Dave Thomas <dave@pragprog.com>
40273 * lib/rdoc/parsers/parse_rb.rb: Support call-seq: for Ruby files.
40275 Mon Jul 12 21:20:51 2004 Dave Thomas <dave@pragprog.com>
40277 * html_generator.rb: Support hyperlinks of the form {any text}[xxx]
40278 as well as stuff[xxx]
40280 Sat Jul 10 09:30:24 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
40282 * test/soap/marshal/test_struct.rb: use qualified built-in class name
40283 (::Struct) to avoid name crash.
40285 Sat Jul 10 04:21:56 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40287 * ext/tk/lib/tk.rb: better operation for SIGINT when processing
40289 * ext/tk/lib/tk/msgcat.rb: ditto.
40290 * ext/tk/lib/tk/variable.rb: ditto.
40291 * ext/tk/lib/tk/timer.rb: ditto.
40293 * ext/tk/lib/tk/validation.rb (__def_validcmd): add a module
40294 function of Tk::ValidateConfigure to define validatecommand
40297 Fri Jul 9 22:18:59 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40299 * array.c, enum.c, pack.c: rdoc patch from Johan Holmberg
40300 <holmberg@iar.se> [ruby-core:3132] [ruby-core:3136]
40302 * numeric.c: rdoc patch.
40304 Fri Jul 9 19:26:39 2004 Tanaka Akira <akr@m17n.org>
40306 * lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to
40307 notice https is not supported.
40309 Fri Jul 9 14:28:54 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40311 * eval.c (rb_thread_raise): accept third argument as well as
40312 Kernel#raise, and evaluate the arguments to create an exception in
40313 the caller's context. [ruby-talk:105507]
40315 Fri Jul 9 01:47:08 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40317 * ext/tk/lib: bug fix
40318 * ext/tk/lib/tkextlib/itcl: add [incr Tcl] support
40319 * ext/tk/lib/tkextlib/itk: add [incr Tk] support
40320 * ext/tk/lib/tkextlib/iwidgets: midway point of [incr Widgets] support
40321 * ext/tk/sample/tkextlib/iwidgets: very simple examples of
40324 Thu Jul 8 19:27:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40326 * configure.in (rb_cv_stack_end_address): detect stack end address
40327 variable supplied by system. [ruby-core:03115]
40329 * gc.c (Init_stack): use system provided address if possible.
40331 Thu Jul 8 00:05:23 2004 akira yamada <akira@ruby-lang.org>
40333 * lib/tempfile.rb (Tempfile::initialize): got out code of
40334 generating tmpname. [ruby-dev:23832][ruby-dev:23837]
40336 Wed Jul 7 02:31:41 2004 Kouhei Sutou <kou@cozmixng.org>
40338 * lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0
40339 validation and validation which disregard order of elements.
40340 * test/rss/test_parser.rb: added tests for RSS 0.9x/2.0
40342 * test/rss/{test_trackback,rss-testcase}.rb: fixed no good method
40345 Wed Jul 7 00:48:34 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40347 * ext/tk/lib/tkextlib/tktrans.rb,
40348 ext/tk/lib/tkextlib/treectrl.rb: fix syntax errors.
40350 Tue Jul 6 18:38:45 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40352 * ext/tk/lib: improve framework of developping Tcl/Tk extension
40355 Mon Jul 5 23:56:42 2004 Kouhei Sutou <kou@cozmixng.org>
40357 * lib/rss/{trackback,syndication,dublincore,content}.rb: worked
40358 with ruby 1.6 again.
40360 * test/rss/rss-assertions.rb: ditto.
40362 Mon Jul 5 22:54:39 2004 Tanaka Akira <akr@m17n.org>
40364 * lib/uri/common.rb (Kernel#URI): new global method for parsing URIs.
40366 Mon Jul 5 09:02:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40368 * eval.c (rb_thread_yield, rb_f_catch): 4th argument to rb_yield_0()
40369 is a set of bit flags. [ruby-dev:23859]
40371 Mon Jul 5 01:20:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40373 * lib/drb/drb.rb(DRbConn self.open): If socket pool is full, close
40374 the socket whose last-access-time is oldest. (and add new one)
40377 Sun Jul 4 12:24:50 2004 Kouhei Sutou <kou@cozmixng.org>
40379 * lib/rss/rss.rb: added copyright header.
40381 Sat Jul 3 22:25:27 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
40384 * lib/soap/header/*
40385 * lib/soap/rpc/httpserver.rb
40386 * lib/wsdl/soap/cgiStubCreator.rb
40387 * lib/wsdl/soap/classDefCreator.rb
40388 * lib/wsdl/soap/classDefCreatorSupport.rb
40389 * lib/wsdl/soap/clientSkeltonCreator.rb
40390 * lib/wsdl/soap/driverCreator.rb
40391 * lib/wsdl/soap/mappingRegistryCreator.rb
40392 * lib/wsdl/soap/methodDefCreator.rb
40393 * lib/wsdl/soap/servantSkeltonCreator.rb
40394 * lib/wsdl/soap/standaloneServerStubCreator.rb
40395 * lib/wsdl/xmlSchema/enumeration.rb
40396 * lib/wsdl/xmlSchema/simpleRestriction.rb
40397 * lib/wsdl/xmlSchema/simpleType.rb
40398 * lib/xsd/codegen/*
40399 * lib/xsd/codegen.rb
40400 * sample/soap/authheader/*
40401 * sample/soap/raa2.4/*
40402 * sample/soap/ssl/*
40403 * sample/soap/swa/*
40404 * sample/soap/whois.rb
40405 * sample/wsdl/raa2.4/*
40406 * test/soap/header/*
40408 * test/soap/struct/*
40410 * test/soap/wsdlDriver/*
40411 * test/wsdl/multiplefault.wsdl
40412 * test/wsdl/simpletype/*
40413 * test/wsdl/test_multiplefault.rb
40416 * lib/soap/baseData.rb
40417 * lib/soap/element.rb
40418 * lib/soap/generator.rb
40419 * lib/soap/netHttpClient.rb
40420 * lib/soap/parser.rb
40421 * lib/soap/property.rb
40423 * lib/soap/streamHandler.rb
40424 * lib/soap/wsdlDriver.rb
40425 * lib/soap/encodingstyle/handler.rb
40426 * lib/soap/encodingstyle/literalHandler.rb
40427 * lib/soap/encodingstyle/soapHandler.rb
40428 * lib/soap/mapping/factory.rb
40429 * lib/soap/mapping/mapping.rb
40430 * lib/soap/mapping/registry.rb
40431 * lib/soap/mapping/rubytypeFactory.rb
40432 * lib/soap/mapping/wsdlRegistry.rb
40433 * lib/soap/rpc/cgistub.rb
40434 * lib/soap/rpc/driver.rb
40435 * lib/soap/rpc/proxy.rb
40436 * lib/soap/rpc/router.rb
40437 * lib/soap/rpc/soaplet.rb
40438 * lib/soap/rpc/standaloneServer.rb
40440 * lib/wsdl/definitions.rb
40441 * lib/wsdl/operation.rb
40442 * lib/wsdl/parser.rb
40443 * lib/wsdl/soap/definitions.rb
40444 * lib/wsdl/xmlSchema/complexContent.rb
40445 * lib/wsdl/xmlSchema/complexType.rb
40446 * lib/wsdl/xmlSchema/data.rb
40447 * lib/wsdl/xmlSchema/parser.rb
40448 * lib/wsdl/xmlSchema/schema.rb
40449 * lib/xsd/datatypes.rb
40451 * sample/soap/sampleStruct/server.rb
40452 * sample/wsdl/amazon/AmazonSearch.rb
40453 * sample/wsdl/amazon/AmazonSearchDriver.rb
40454 * test/soap/test_property.rb
40455 * test/soap/calc/test_calc_cgi.rb
40456 * test/wsdl/test_emptycomplextype.rb
40459 * add SOAP Header mustUnderstand support.
40461 * add HTTP client SSL configuration and Cookies support (works
40462 completely with http-access2).
40464 * add header handler for handling sending/receiving SOAP Header.
40466 * map Ruby's anonymous Struct to common SOAP Struct in SOAP Object
40467 Model. it caused error.
40469 * add WSDL simpleType support to restrict lexical value space.
40471 Sat Jul 3 17:19:44 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40473 * ext/tk/lib/tkextlib/tkDND.rb: fix syntax error.
40475 Thu Jul 1 18:36:08 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40477 * ext/tk/lib/tcltklib: bug fix
40479 * ext/tk/lib/tk: bug fix and add Tcl/Tk extension support libraries
40481 Thu Jul 1 18:31:31 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40483 * lib/pstore.rb (PStore#transaction): get rid of opening in write mode
40484 when read only transaction. [ruby-dev:23842]
40486 Thu Jul 1 00:44:42 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40488 * ext/openssl/ossl_cipher.c (ossl_cipher_encrypt, ossl_cipher_decrypt):
40489 re-implemnt (the arguments for this method is ).
40491 * ext/openssl/ossl_cipher.c (ossl_cipher_pkcs5_keyivgen): new method
40492 OpenSSL::Cipher::Cipher#pkcs5_keyivgen. it calls EVP_BytesToKey().
40494 * ext/openssl/ossl_cipher.c (ossl_cipher_set_key_length): new method
40495 OpenSSL::Cipher::Cipher#key_len=.
40497 Wed Jun 30 19:48:09 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40499 * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,
40500 EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex,
40501 EVP_DigestFinal_ex and EVP_DigestInit_ex.
40503 * ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function.
40505 * ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex,
40506 EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for
40509 * ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize,
40510 ossl_cipher_copy, ossl_cipher_reset, ossl_cipher_encrypt,
40511 ossl_cipher_decrypt, ossl_cipher_final, ossl_cipher_set_key,
40512 ossl_cipher_set_iv): replace all EVP_CipherInit and
40513 EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex.
40514 and EVP_CIPHER_CTX_init should only be called once.
40516 * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): check for
40517 EVP_CIPHER_CTX_set_padding.
40519 * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Cipher#<< is deprecated.
40521 * ext/openssl/ossl_digest.c: replace all EVP_DigestInit and
40522 EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex.
40523 and EVP_MD_CTX_init should only be called once.
40525 * ext/openssl/ossl_digest.c (digest_final): should call
40526 EVP_MD_CTX_cleanup to avoid memory leak.
40528 * ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init
40529 into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc.
40531 * ext/openssl/ossl_hmac.c (hmac_final): should call
40532 HMAC_CTX_cleanup to avoid memory leak.
40534 * test/openssl/test_cipher.rb, test/openssl/test_digest.rb,
40535 test/openssl/test_hmac.rb: new file.
40537 Wed Jun 30 16:59:39 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40539 * test/ruby/test_file.rb (test_fnmatch): some tests for File.fnmatch
40542 Wed Jun 30 11:38:51 2004 Mikael Brockman <phubuh@phubuh.org>
40544 * parse.y (primary): should not be NULL. [ruby-core:03098]
40546 Wed Jun 30 02:41:10 2004 why the lucky stiff <why@ruby-lang.org>
40548 * ext/syck/rubyext.c (syck_emitter_new): set buffer after
40549 Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835]
40551 Tue Jun 29 10:31:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40553 * eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.
40555 * gc.c (define_final, run_final): preserve and restore safe level for
40556 finalizers. [ruby-core:03058]
40558 * signal.c (signal_exec, rb_trap_exit, trap): preserve and restore
40559 safe level for signal handlers. [ruby-dev:23829]
40561 Mon Jun 28 14:57:56 2004 Jeff Mitchell <quixoticsycophant@yahoo.com>
40563 * configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due to
40564 DOSISH compilers. [ruby-core:03107]
40566 Mon Jun 28 00:35:29 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
40568 * sample/drb/*.rb: using 'DRb.thread.join' instead of 'gets'
40570 Sun Jun 27 22:36:47 2004 Kouhei Sutou <kou@cozmixng.org>
40572 * sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.
40574 Sat Jun 26 15:17:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40576 * variable.c (rb_mod_class_variables): class variables are no longer
40577 inherited. [ruby-dev:23808]
40579 Sat Jun 26 11:07:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40581 * configure.in (aix): -b must come at the start of the command line,
40582 and -e must not appear while testing libraries. [ruby-talk:104501]
40584 * lib/mkmf.rb (find_header, dir_config): quote directory names if
40585 necessary. [ruby-talk:104505]
40587 Sat Jun 26 00:13:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40589 * io.c (rb_fopen, rb_fdopen, rb_io_reopen): setvbuf() may return
40590 positive value on failure. [ruby-dev:23792]
40592 Fri Jun 25 18:07:15 2004 Michal Rokos <michal@ruby-lang.org>
40594 * gc.c: bring back _stklen for DJGPP [ruby-core:3084]
40596 Fri Jun 25 15:33:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40598 * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]
40600 Fri Jun 25 01:58:01 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40602 * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
40603 including version.h. [ruby-talk:104456]
40605 Thu Jun 24 14:23:29 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40607 * io.c (rb_io_fread): return already read data when system call is
40608 interrupted. [ruby-talk:97206]
40610 Thu Jun 24 01:25:21 2004 Shugo Maeda <shugo@ruby-lang.org>
40612 * version.h: added declarations of ruby_version,
40613 ruby_release_date, ruby_platform.
40615 Thu Jun 24 01:07:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40617 * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()
40618 should give us packed address, not struct sockaddr.
40621 Wed Jun 23 22:19:10 2004 Dave Thomas <dave@pragprog.com>
40623 * ext/socket/socket.c (sock_s_gethostbyaddr): Work around problem
40624 with OS X not returning 'from' parameter to recvfrom for
40625 connection-oriented sockets.
40627 Wed Jun 23 22:16:16 2004 Michal Rokos <michal@ruby-lang.org>
40629 * io.c: io_seek()'s retval should be checked [ruby-core:03045]
40631 Wed Jun 23 21:48:27 2004 Michal Rokos <michal@ruby-lang.org>
40633 * time.c: Fix indentation.
40635 * main.c: Remove _stklen, and _CRT_glob. Move _stacksize for
40636 __human68k__ to gc.c where the others are.
40638 * gc.c: put _stacksize in place and clean the #ifdefs macros.
40640 Wed Jun 23 17:37:54 2004 Shugo Maeda <shugo@ruby-lang.org>
40642 * lib/net/imap.rb: added new option --ssl.
40644 Wed Jun 23 01:45:27 2004 Dave Thomas <dave@pragprog.com>
40646 * lib/rdoc/parsers/parse_rb.rb (RubyLex::identify_quotation):
40647 Fix problem with the 'r' being dropped from %r{xxx}
40649 Wed Jun 23 00:10:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40651 * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing
40652 CRs and LFs. (doesn't depend on CR+LF) [ruby-dev:23749]
40654 Wed Jun 23 00:00:25 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40656 * eval.c (return_jump, break_jump): raise unexpected local jump
40657 exception directly. [ruby-dev:23740]
40659 * io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]
40661 Tue Jun 22 23:35:43 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40663 * sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.
40665 * test/ruby/test_sprintf.rb (test_nan, test_inf): add tests.
40667 Tue Jun 22 21:11:36 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
40669 * ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-
40672 * ext/win32ole/win32ole.c (ole_event_free): ditto.
40674 * ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message
40677 Tue Jun 22 19:24:59 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40679 * sprintf.c (rb_f_sprintf): unify output of NaN, Inf and -Inf with
40680 "%f" or etc on all platform. [ruby-dev:23704], [ruby-dev:23747]
40682 Tue Jun 22 15:28:12 2004 Michal Rokos <michal@ruby-lang.org>
40684 * compar.c: Remove explicit NIL_P() checks since rb_cmpint() does it
40685 again in the exactly same manner.
40687 Tue Jun 22 01:32:40 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40689 * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create
40690 empty pkey object if no argument is passed. [ruby-talk:103328]
40692 * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
40694 * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto.
40696 * ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p,
40697 OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=,
40698 OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=,
40699 OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=.
40701 * ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p,
40702 OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=,
40703 OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=,
40704 OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=,
40705 OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=.
40707 Mon Jun 21 09:24:51 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40709 * win32/win32.c (rb_w32_opendir): should set errno if error occurs
40710 when calling OS API.
40712 Sun Jun 20 21:12:54 2004 Shugo Maeda <shugo@ruby-lang.org>
40714 * lib/net/ftp.rb (binary=): send TYPE commands only once.
40716 Sat Jun 19 13:27:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40718 * eval.c (method_call): allow changing $SAFE. [ruby-dev:23713]
40720 * eval.c (proc_set_safe_level, proc_invoke, rb_mod_define_method): not
40721 set $SAFE for methods defined from Proc. [ruby-dev:23697]
40723 Sat Jun 19 01:10:12 2004 Kouhei Sutou <kou@cozmixng.org>
40725 * sample/rss/tdiary_plugin/rss-recent.rb: added more information.
40727 Fri Jun 18 23:12:22 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40729 * eval.c (proc_save_safe_level, rb_set_safe_level, safe_setter): limit
40732 Wed Jun 16 23:05:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40734 * object.c (rb_mod_freeze): prepare string representation before
40735 freezing. [ruby-talk:103646]
40737 Wed Jun 16 19:57:24 2004 Michal Rokos <michal@ruby-lang.org>
40739 * test/ruby/test_array.rb: extend testcase to check #first, #last,
40740 #shift, #unshift, #pop, #push
40742 Wed Jun 16 16:05:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40744 * array.c (ary_new): move alloc behind checks. [ruby-core:02982]
40746 * array.c (rb_ary_pop_m, rb_ary_shift_m): take arg to behave as push
40749 * array.c (rb_ary_first, rb_ary_last): make shared array for result
40750 array, and correct doc for Array#first(n) and Array#last(n)
40752 * array.c (rb_ary_select): not accept any arg.
40754 Wed Jun 16 16:03:59 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40756 * object.c (rb_class_inherited_p): singleton class inherits Class
40757 rather than its object's class. [ruby-dev:23690]
40759 Wed Jun 16 16:01:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40761 * gc.c (stack_grow_direction): memoize the direction.
40763 * gc.c (Init_stack): should always move to end of VALUE.
40765 Tue Jun 15 12:10:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40767 * ext/tk/lib/tk.rb: bug fix (TkWindow#grab)
40769 Mon Jun 14 18:23:27 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40771 * ext/tk/lib/remote-tk.rb: bug fix
40773 Sun Jun 13 00:23:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40775 * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
40777 * ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and
40778 eliminate warning about instance variable access
40780 * ext/tk/lib/tk/menubar.rb: improve supported menu_spec
40782 * ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library
40784 * ext/tk/lib/tk/root.rb: add menu_spec support
40786 * ext/tk/lib/tk/text.rb: bug fix
40788 * ext/tk/lib/tk/toplevel.rb: add menu_spec support
40790 * ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage
40792 Sat Jun 12 14:15:20 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40794 * dir.c: RDOC for File::FNM_CASEFOLD was missed.
40796 Sat Jun 12 11:15:53 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40798 * configure.in (target_os): strip -gnu suffix on Linux.
40800 Fri Jun 11 22:08:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40802 * array.c: remove #indexes, #indices.
40806 * ext/dbm/dbm.c: remove #indexes, #indices, "values_at" warning
40809 * ext/gdbm/gdbm.c: ditto.
40811 * ext/sdbm/init.c: ditto.
40813 * ext/dbm/dbm.c (Init_dbm): set VERSION constant as "unknown" when
40814 DB_VERSION_STRING is not available.
40816 Thu Jun 10 19:19:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40818 * ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().
40821 Wed Jun 9 16:09:01 2004 akira yamada <akira@ruby-lang.org>
40823 * lib/uri/generic.rb (URI::Generic::merge,
40824 URI::Generic::route_from): accepts non-hierarchical URI.
40827 * test/uri/test_generic.rb (TestGeneric::test_route,
40828 TestGeneric::test_merge): added tests for above changes.
40830 Wed Jun 9 15:39:55 2004 Akinori MUSHA <knu@iDaemons.org>
40832 * configure.in: Add support for DragonFly BSD.
40834 Wed Jun 9 15:07:06 2004 Akinori MUSHA <knu@iDaemons.org>
40836 * config.guess, config.sub: Update to a more recent version as of
40839 Wed Jun 9 11:20:05 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40841 * win32/win32.c: remove unused functions and variables.
40843 Wed Jun 2 20:16:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40845 * string.c (str_new4): should share shared instance if it already
40846 exists. [ruby-dev:23665]
40848 Wed Jun 2 12:41:53 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40850 * io.c (rb_io_gets_m): set lastline ($_) even when read line is
40851 nil. [ruby-dev:23663]
40853 Fri May 28 11:20:31 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40855 * eval.c (rb_eval): bad influence on frame node.
40857 * eval.c (eval): reverted wrongly removed condition. [ruby-dev:23638]
40859 Thu May 27 21:37:50 2004 Tanaka Akira <akr@m17n.org>
40861 * lib/pathname.rb (Pathname#initialize): fix pathname initialization
40864 Thu May 27 20:02:09 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40866 * io.c (rb_io_fwrite): check all case errno != 0 [ruby-dev:23648]
40868 Thu May 27 15:54:02 2004 Shugo Maeda <shugo@ruby-lang.org>
40870 * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
40871 Thanks, Rutger Nijlunsing.
40873 Thu May 27 14:53:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40875 * io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.
40876 add errno checking. [ruby-dev:23627]
40878 * io.c (rb_io_fwrite): should check if errno == ENOENT, too.
40880 Thu May 27 11:25:03 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
40882 * test/csv/test_csv.rb: illegal require module name (../lib/csv.rb).
40884 Wed May 26 23:12:13 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
40886 * lib/csv.rb (CSV.read, CSV.readlines): added. works as IO.read and
40887 IO.readlines in CSV format.
40889 * lib/csv.rb (CSV.parse): [CAUTION] behavior changed. in the past,
40890 CSV.parse accepts a filename to be read-opened (it was just a
40891 shortcut of CSV.open(filename, 'r')). now CSV.parse accepts a
40892 string or a stream to be parsed e.g.
40893 CSV.parse("1,2\n3,r") #=> [['1', '2'], ['3', '4']]
40895 * test/csv/test_csv.rb: follow above changes.
40897 Wed May 26 14:19:42 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40899 * eval.c (rb_eval, eval): make line number consistent on eval with
40900 Proc. [ruby-talk:101253]
40902 Wed May 26 13:59:17 2004 Dave Thomas <dave@pragprog.com>
40904 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::skip_for_variable): Allow for
40905 'do' after for statement
40907 Wed May 26 13:56:03 2004 Dave Thomas <dave@pragprog.com>
40909 * lib/rdoc/generators/html_generator.rb (Generators::MarkUp::style_url): Fix
40910 relative path to code CSS file
40912 Wed May 26 13:14:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40914 * io.c (rb_io_init_copy): copy also positions. [ruby-talk:100910]
40916 Wed May 26 00:00:00 2004 why the lucky stiff <why@ruby-lang.org>
40918 * ext/syck/syck.c (syck_new_parser): clear parser on init.
40919 thanks, ts. [ruby-core:02931]
40921 * ext/syck/token.c (sycklex_yaml_utf8): buffer underflow.
40922 thanks, ts. [ruby-core:02929]
40924 * lib/yaml/baseemitter.rb (indent_text): simpler flow block code.
40926 Tue May 25 11:54:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40928 * eval.c (rb_yield_0, proc_invoke, proc_arity): allow passing a block
40929 to a Proc. [ruby-dev:23533]
40931 * parse.y (block_par, block_var): ditto.
40933 Tue May 25 01:50:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40935 * ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):
40936 workaround for the versions earlier than OpenSSL-0.9.7.
40938 Mon May 24 10:46:26 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
40940 * lib/rdoc/generators/template/html/html.rb: SYSTEM identifiers
40941 must be absolute URIs
40943 Sun May 23 04:53:50 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
40945 * lib/pstore.rb (transaction): allow overriding dump and load.
40948 * lib/yaml/store.rb: follow lib/pstore.rb's change.
40950 Sat May 22 11:54:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40952 * MANIFEST: add test/openssl/test_x509store.rb.
40954 * ext/tk/MANIFEST: add recent files.
40956 Sat May 22 05:37:11 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
40958 * ext/tk/lib/remote-tk.rb: (NEW library) controll Tk interpreters
40959 on the other processes by Tcl/Tk's 'send' command
40961 Fri May 21 09:22:05 2004 Dave Thomas <dave@pragprog.com>
40963 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_parameters):
40964 Add ()'s around parameters that don't have them
40966 Fri May 21 02:21:11 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
40968 * lib/csv.rb: fixed a few bugs around multi char record/field separator.
40970 * test/csv/test_csv.rb: added boundary test for above feature.
40972 Thu May 20 17:02:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40974 * lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]
40976 * lib/mkmf.rb (create_header): macro name should not include equal
40979 Thu May 20 14:35:52 2004 Tanaka Akira <akr@m17n.org>
40981 * ext/socket/socket.c: check SCM_RIGHTS macro addition to
40982 the msg_control field to test existence of file descriptor passing
40985 Thu May 20 12:38:06 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40987 * numeric.c (flo_eq): always check if operands are NaN.
40990 Thu May 20 12:34:39 2004 Dave Thomas <dave@pragprog.com>
40992 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_visibility):
40993 At Ryan Davis' suggestion, honor visibility modifers if guarded by a
40996 Thu May 20 12:22:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40998 * lib/mkmf.rb (have_type): do not check pointer to incomplete type,
40999 which always get compiled.
41002 Wed May 19 23:45:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41004 * test/inlinetest.rb (InlineTest::loadtest): requiring library with
41005 replaced $0 can make $0 == __FILE__ block be evaluated twice.
41007 * test/ruby/envutil.rb (EnvUtil::rubybin): give priority to
41008 environment variable. [ruby-dev:23538]
41010 Wed May 19 11:08:10 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
41012 * ext/tk/lib/tk.rb: change permition of TkObject#tk_send from
41015 Wed May 19 02:29:36 2004 Minero Aoki <aamine@loveruby.net>
41017 * lib/net/http.rb: support TRACE.
41019 Wed May 19 02:21:53 2004 Minero Aoki <aamine@loveruby.net>
41021 * lib/net/http.rb: do not use class variables.
41023 Tue May 18 21:21:43 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41025 * lib/csv.rb: writes lines with "\n" when row separator is not given.
41026 formerly it was "\r\n".
41028 * lib/csv.rb: [CAUTION] API change
41030 * CSV::Row removed. a row is represented as just an Array. since
41031 CSV::Row was a subclass of Array, it won't hurt almost all programs
41032 except one which depended CSV::Row#match.
41034 * CSV::Cell removed. a cell is represented as just a String or
41035 nil(NULL). this change will cause widespread destruction.
41037 CSV.open("foo.csv", "r") do |row|
41039 if cell.is_null # Cell#is_null
41042 p cell.data # Cell#data
41049 CSV.open("foo.csv", "r") do |row|
41059 * lib/csv.rb: [CAUTION] record separator(CR, LF, CR+LF) behavior
41060 change. CSV.open, CSV.parse, and CSV,generate now do not force
41061 opened file binmode. formerly it set binmode explicitly.
41063 with CSV.open, binmode of opened file depends the given mode
41064 parameter "r", "w", "rb", and "wb". CSV.parse and CSV.generate open
41065 file with "r" and "w".
41067 setting mode properly is user's responsibility now.
41069 * lib/csv.rb: accepts String as a fs (field separator/column separator)
41070 and rs (record separator/row separator)
41072 * lib/csv.rb: added CSV.foreach(path, rs = nil, &block). CSV.foreach
41073 now does not handle "| cmd" as a path different from IO.foreach.
41076 * test/csv/test_csv.rb: updated.
41078 Tue May 18 14:24:20 2004 why the lucky stiff <why@ruby-lang.org>
41080 * lib/yaml.rb: added rdoc to beginning of lib.
41082 Tue May 18 14:00:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41084 * node.h (NEW_DSTR): adjust list length.
41086 * parse.y (literal_concat): ditto.
41088 Tue May 18 09:30:25 2004 SASADA Koichi <ko1@atdot.net>
41090 * eval.c (rb_method_node): search cache entry first.
41092 Mon May 17 16:04:06 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41094 * numeric.c (flo_to_s): it's preferable that "p 0.0" outputs "0.0"
41095 instead of "0.0e+00". [ruby-dev:23480]
41097 * numeric.c (flo_to_s): it's preferable that "p 0.00000000000000000001"
41098 outputs "1.0e-20" instead of "9.999999999999999e-21". (the precision
41099 is considered, but there is assumption DBL_DIG == 15 in current
41102 Mon May 17 10:13:33 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41104 * ext/socket/socket.c (setup_domain_and_type): honor duck typing.
41107 * ext/socket/socket.c (sock_s_getnameinfo): ditto.
41109 Mon May 17 00:36:21 2004 why the lucky stiff <why@ruby-lang.org>
41111 * lib/yaml/baseemitter.rb (indent_text): was forcing a mod value
41112 of zero at times, which kept some blocks from getting indentation.
41114 Mon May 17 00:07:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41116 * lib/drb/drb.rb: Cosmetic documentation changes.
41118 Sun May 16 20:55:49 2004 Tanaka Akira <akr@m17n.org>
41120 * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
41121 specify an open flag.
41122 (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT
41125 Sat May 15 17:52:24 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41127 * test/ruby/test_float.rb(test_strtod): Add test for signed 0.000...1
41129 Sat May 15 14:20:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41131 * ext/syck/depend: add ruby's headers.
41133 Sat May 15 13:38:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41135 * ext/syck/MANIFEST, ext/syck/depend: new file.
41137 * lib/yaml/rubytypes.rb: range of exponential floats. [ruby-core:02824]
41139 * test/yaml/test_yaml.rb: tests for strings start with colon and some
41142 Sat May 15 12:04:58 2004 why the lucky stiff <why@ruby-lang.org>
41144 * lib/yaml.rb: removed fallback to pure Ruby parser.
41146 * lib/yaml/baseemitter.rb (node_text): rewriting folded scalars.
41148 * ext/syck/syck.h: reports style of scalars now, be they plain, block
41149 single-, or double-quoted.
41151 * ext/syck/syck.c: ditto.
41153 * ext/syck/gram.c: ditto.
41155 * ext/syck/node.c: ditto.
41157 * ext/syck/token.c: ditto.
41159 * ext/syck/rubyext.c (yaml_org_handler): symbols loaded only
41160 if scalar style is plain.
41162 * test/yaml/test_yaml.rb (test_perl_regexp): updated test to
41163 match new regexp serialization.
41165 Sat May 15 01:41:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41167 * eval.c (eval): forgot to restore $SAFE value before evaluating
41168 compiled node. [ruby-core:02872]
41170 Sat May 15 01:33:12 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41172 * range.c (range_each_func): terminates loop if generating value
41173 is same to @end. [ruby-talk:100269]
41175 Fri May 14 22:08:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41177 * string.c (rb_str_new4): should not reuse frozen shared string if
41178 the original is not an instance of String. [ruby-talk:100193]
41180 Fri May 14 21:29:26 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41182 * time.c (time_mdump): preserve GMT bit in the marshal data.
41185 Fri May 14 18:37:49 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
41187 * ext/tk/lib/tk/canvas.rb: improve coords support for canvas
41188 items. Now, supports all of the followings.
41189 TkcLine.new(c, 0, 0, 100, 100, :fill=>'red')
41190 TkcLine.new(c, [0, 0, 100, 100], :fill=>'red')
41191 TkcLine.new(c, [0, 0], [100, 100], :fill=>'red')
41192 TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red')
41193 TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red')
41194 TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red')
41196 Fri May 14 13:30:39 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41198 * test/ruby/test_float.rb: Add test for util.c revision 1.42.
41200 Fri May 14 12:13:46 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41202 * util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.
41205 Thu May 13 15:47:30 2004 akira yamada <akira@ruby-lang.org>
41207 * lib/net/telnet.rb (Net::Telnet::login): "options" can specify
41208 regexps for login prompt and/or password prompt.
41210 Thu May 13 14:17:57 2004 why the lucky stiff <why@ruby-lang.org>
41212 * ext/syck/rubyext.c (yaml_org_handler): some empty strings were
41215 Thu May 13 11:04:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41217 * pack.c (pack_pack): always add with null for 'Z'.
41219 * pack.c (pack_unpack): terminated by null for 'Z'. [ruby-talk:98281]
41221 Wed May 12 19:59:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41223 * lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.
41226 Wed May 12 17:41:42 2004 Tanaka Akira <akr@m17n.org>
41228 * lib/resolv.rb (Resolv::DNS::Config): make it configurable without
41229 external file such as /etc/resolv.conf.
41231 Wed May 12 14:37:27 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
41233 * ext/openssl/ossl_x509name.c: attribute value of DC (short name of
41234 domainComponent) should be IA5String.
41236 Wed May 12 13:20:19 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
41238 * ext/tk/lib/tk/composite.rb: improve configure methods (based on
41239 the proposal of [ruby-talk:99671]).
41241 Wed May 12 11:51:08 2004 Dave Thomas <dave@pragprog.com>
41243 * class.c (rb_obj_singleton_methods): fix rdoc
41245 Tue May 11 07:09:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41247 * eval.c (is_defined): do not protect exception during receiver
41250 Mon May 10 22:28:14 2004 Minero Aoki <aamine@loveruby.net>
41252 * lib/net/protocol.rb (each_crlf_line): remove junk line.
41254 Mon May 10 21:44:42 2004 Dave Thomas <dave@pragprog.com>
41256 * lib/rdoc/generators/html_generator.rb: Change scheme for
41257 looking up symbols in HTML generator.
41259 Mon May 10 16:45:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41261 * eval.c (eval): warning during eval should not cause deadlock.
41264 * eval.c (rb_eval): raise TypeError exception for superclass
41265 mismatch. [ruby-list:39567]
41267 Mon May 10 12:11:37 2004 Dave Thomas <dave@pragprog.com>
41269 * lib/rdoc/generators/html_generator.rb: Hack to search parents
41270 for unqualified constant names.
41272 Mon May 10 01:18:15 2004 Minero Aoki <aamine@loveruby.net>
41274 * lib/net/pop.rb (logging): append "\n".
41276 Sun May 9 23:38:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41278 * lib/net/ftp.rb: ported documentation improvement from 1.8 branch
41280 * lib/net/imap.rb: ditto
41282 * lib/net/pop.rb: ditto
41284 * lib/net/smtp.rb: ditto
41286 * lib/net/telnet.rb: ditto
41288 Sun May 9 23:34:51 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41290 * test/ruby/test_float.rb: added test_strtod to test Float("0").
41292 Sun May 9 13:24:24 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41294 * lib/yaml/store.rb: use FileUtils::copy.
41296 Sun May 9 12:34:26 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41298 * regex.c: removed unused file.
41300 Sat May 8 10:53:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41302 * io.c (rb_f_open): open should not ignore block when "to_open"
41303 method is used. [ruby-dev:23478]
41305 Fri May 7 22:07:39 2004 Minero Aoki <aamine@loveruby.net>
41307 * lib/fileutils.rb (mv): new option `force'. [ruby-talk:99457]
41309 * lib/fileutils.rb: new method for command option reflection:
41310 FileUtils.commands, .options, .have_option?, .options_of,
41313 * lib/fileutils.rb: module Verbose, NoWrite, DryRun do not have
41314 option flags @fileutils_verbose and @fileutils_noop, they make no
41317 Fri May 7 21:50:21 2004 Dave Thomas <dave@pragprog.com>
41319 * lib/rdoc/parsers/parse_rb.rb (RDoc::parse_include): Allow
41320 multiple arguments to 'include'
41322 Fri May 7 21:03:51 2004 Minero Aoki <aamine@loveruby.net>
41324 * lib/fileutils.rb (fu_list): Array() breaks pathes including "\n".
41327 * test/fileutils/test_fileutils.rb (mkdir): test "\n" in path.
41329 Fri May 7 20:53:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41331 * ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473]
41333 Fri May 7 11:17:27 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41335 * util.c (ruby_strtod): "0.0000000000000000001" should be converted
41336 to 1.0e-19 instead of 0.0. (leading zeros aren't significant digits)
41337 [ruby-talk:99318] [ruby-dev:23465]
41339 Thu May 6 22:27:32 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41341 * ext/socket/socket.c (ippaddr): use NUMERICHOST if can not resolve
41344 Thu May 6 22:09:29 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
41346 * ext/tk/tkutil.c (get_eval_string_core): bug fix. [ruby-dev:23466]
41348 Thu May 6 14:22:29 2004 why the lucky stiff <why@ruby-lang.org>
41350 * lib/yaml/rubytypes.rb (to_yaml): added instance variable handling
41351 for Ranges, Strings, Structs, Regexps.
41353 * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a
41354 String's flow style.
41356 * lib/yaml.rb (YAML::object_maker): now uses Object.allocate.
41358 * ext/syck/gram.c: fixed transfer methods on structs, broke it
41361 Thu May 6 14:38:02 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41363 * dir.c (rb_push_glob): simplified code (not change behavior)
41365 Thu May 6 13:32:44 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41367 * ext/extmk.rb: get rid of side effect of Config.expand, patched by
41368 <tttt01@infoseek.jp> (ruby-bugs:PR#597)
41370 Thu May 6 11:40:28 2004 Shugo Maeda <shugo@ruby-lang.org>
41372 * lib/net/imap.rb (string): accept NIL.
41374 * lib/net/imap.rb (body_type_basic): allow body-fields omissions.
41376 Thu May 6 01:59:04 2004 Dave Thomas <dave@pragprog.com>
41378 * lib/rdoc/generators/html_generator.rb (Generators::HtmlMethod::params):
41379 Don't include the &block parameter if we have explicit
41382 Wed May 5 03:52:31 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41384 * lib/rinda/ring.rb: use recv instead of recvfrom.
41386 Wed May 5 00:38:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41388 * lib/gserver.rb: documented
41389 * lib/xmlrpc/README.txt: introduced for documentation purposes
41391 Mon May 3 09:47:24 2004 Dave Thomas <dave@pragprog.com>
41393 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_or_yield_parameters):
41394 Fix parsing bug if yield called within 1 line block
41396 Sun May 2 21:56:48 2004 Minero Aoki <aamine@loveruby.net>
41398 * test/fileutils/test_fileutils.rb (rm_f, rm_r): test :force flag.
41400 Sun May 2 01:04:38 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
41402 * ext/tcltklib, ext/tk: renewal Ruby/Tk
41404 Fri Apr 30 20:08:41 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41406 * time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
41408 Wed Apr 28 01:26:11 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41410 * oniguruma.h, regparse.c: imported Oni Guruma 2.2.8.
41412 Wed Apr 28 01:16:23 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41414 * oniguruma.h, regparse.c: imported Oni Guruma 2.2.7.
41416 Tue Apr 27 14:43:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41418 * common.mk: LIBURUBY_A is needed for extconf.rb even when
41421 Tue Apr 27 13:33:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41423 * parse.y (string_content): turn off NODE_NEWLINE flag to avoid
41424 unnecessary line trace for inlined expression.
41425 (ruby-bugs PR#1320)
41427 Tue Apr 27 08:15:13 2004 why the lucky stiff <why@ruby-lang.org>
41429 * lib/yaml/rubytypes.rb: passing Range tests.
41431 * ext/syck/syck.h: version 0.44.
41433 * ext/syck/gram.c: transfers no longer open an indentation.
41434 fixed transfers which precede blocks.
41436 * ext/syck/token.c: ditto.
41438 * ext/syck/syck.c: fixed segfault if an anchor has been released already.
41440 * ext/syck/node.c (syck_free_members): organized order of free'd nodes.
41442 * ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with
41445 Mon Apr 26 23:56:54 2004 Daniel Kelley <news-1082945587@dkelley.gmp.san-jose.ca.us>
41447 * README.EXT, README.EXT.ja: fixed wrong function signature.
41450 Mon Apr 26 21:40:09 2004 Dave Thomas <dave@pragprog.com>
41452 * lib/rdoc/code_objects.rb (RDoc::Context::add_alias): Only alias
41453 to instance methods.
41455 Sun Apr 25 18:26:23 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41457 * configure.in (ac_cv_func_fork): set to no on DJGPP.
41459 Sat Apr 24 14:32:03 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41461 * re.c: applied stack error handling patch. [ruby-dev:23431]
41463 Sat Apr 24 10:38:31 2004 Dave Thomas <dave@pragprog.com>
41465 * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::group_lines):
41466 Fix bug where consecutive headings are merged.
41468 Fri Apr 23 23:24:47 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41470 * lib/mkmf.rb: $hdrdir should not contain macros, for backward
41471 compatibility. [bruby-dev:28]
41473 * lib/mkmf.rb (create_makefile): in the case of extout, just copy
41474 script files, without comparison.
41476 Fri Apr 23 16:38:46 2004 Tanaka Akira <akr@m17n.org>
41478 * lib/pathname.rb: sync taint/freeze flag between
41479 a pathname object and its internal string object.
41481 Fri Apr 23 14:52:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41483 * parse.y (stmt, arg, aref_args): should not make sole splat into
41484 array, in aref_args other than aref with op_asgn.
41486 Fri Apr 23 14:14:38 2004 Tanaka Akira <akr@m17n.org>
41488 * lib/resolv.rb: don't use Regexp#source to embed regexps.
41491 Thu Apr 22 18:25:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41493 * common.mk, ext/extmk.rb: make ext and .ext get removed by distclean.
41495 Thu Apr 22 10:07:01 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41497 * */Makefile.sub (distclean-local): should remove $(RBCONFIG).
41499 Thu Apr 22 04:17:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41501 * eval.c (rb_mod_define_method): allow binding methods to modules.
41504 * parse.y (aref_args): should pass expanded list. [ruby-core:02793]
41506 Thu Apr 22 01:12:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41508 * numeric.c (flo_to_s): tweak output string based to preserve
41509 decimal point and to remove trailing zeros. [ruby-talk:97891]
41511 * string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
41512 search. [ruby-talk:97342]
41514 Wed Apr 21 23:04:42 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41516 * lib/rinda/rinda.rb, test/rinda/test_rinda.rb: check Hash tuple size.
41518 Wed Apr 21 20:05:00 2004 Tanaka Akira <akr@m17n.org>
41520 * lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.
41523 Wed Apr 21 18:39:46 2004 Minero Aoki <aamine@loveruby.net>
41525 * lib/net/smtp.rb: merge SMTP-TLS patch. This patch is
41526 contributed by Daniel Hob. [ruby-core:02789]
41528 Wed Apr 21 18:23:45 2004 Minero Aoki <aamine@loveruby.net>
41530 * lib/net/smtp.rb: change coding style: def m( a ) -> def m(a).
41532 Wed Apr 21 18:01:47 2004 Minero Aoki <aamine@loveruby.net>
41534 * lib/net/pop.rb: do not use class variables.
41536 * lib/net/pop.rb (do_start): ensure to clean up connection when
41537 authentication failed.
41539 Wed Apr 21 17:23:59 2004 Minero Aoki <aamine@loveruby.net>
41541 * lib/net/http.rb (HTTP#connect): CONNECT must precede SSL connect.
41544 * lib/net/http.rb (HTTP.new): class variables are not inherited
41547 Wed Apr 21 15:56:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41549 * lib/test/unit/ui/console/testrunner.rb (test_started): restore $0
41550 after changing process title. [ruby-talk:97426]
41552 Wed Apr 21 10:18:06 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41554 * process.c(rb_spawn): fix SEGV at "p system('command line here')"
41555 (may happen only in bccwin32) [ruby-dev:23380]
41557 Mon Apr 19 20:58:44 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41559 * dir.c: Updated RDocs.
41561 Mon Apr 19 18:11:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41563 * hash.c (rb_hash_equal): returns true if two hashes have same set
41564 of key-value set. [ruby-talk:97559]
41566 * hash.c (rb_hash_eql): returns true if two hashes are equal and
41567 have same default values.
41569 Mon Apr 19 08:19:11 2004 Doug Kearns <djkea2@mugca.its.monash.edu.au>
41571 * dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
41572 lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
41573 lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
41574 lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
41575 lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
41576 lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
41577 lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
41578 lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
41579 lib/test/unit/testsuite.rb: typo fix.
41581 Mon Apr 19 08:14:18 2004 Dave Thomas <dave@pragprog.com>
41583 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body): Allow for
41584 #ifdef HAVE_PROTOTYPES
41586 Fri Apr 16 17:04:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41588 * string.c (rb_str_equal): always returns true or false, never
41589 returns nil. [ruby-dev:23404]
41591 Fri Apr 16 12:38:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41593 * lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str is
41596 * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple
41597 value class changed.
41599 * lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield):
41602 Fri Apr 16 08:27:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41604 * ext/extmk.rb: skip linking when libraries to be preloaded not
41605 compiled. [ruby-list:39561]
41607 Thu Apr 15 19:57:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41609 * process.c (pst_success_p): new method Process::Status#success?.
41612 * rubytest.rb: do nothing while cross-compiling, return status in
41613 system independent style.
41615 Thu Apr 15 19:26:54 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41617 * dir.c (rb_push_glob): Dir.glob() should return nil if block is given.
41618 (http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=Dir)
41620 * dir.c (push_braces): Dir.glob() should handle '{ }' nested more than
41623 * dir.c (push_braces, rb_push_glob): Dir.glob() should handle escaped
41624 '{' and '}' and ','.
41628 Thu Apr 15 17:12:13 2004 Tanaka Akira <akr@m17n.org>
41630 * ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,
41631 GDBM::WRCREAT and GDBM::NEWDB.
41632 (fgdbm_initialize): use specified read/write flag.
41634 Wed Apr 14 13:06:09 2004 Doug Kearns <djkea2@mugca.its.monash.edu.au>
41636 * array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c,
41637 process.c, re.c, string.c: typos in RDoc comments. [ruby-core:02783]
41639 Wed Apr 14 11:29:56 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41641 * numeric.c (flo_eq): workaround for bcc32's bug.
41642 (ruby-bugs-ja:PR#594)
41644 Wed Apr 14 11:06:38 2004 Dave Thomas <dave@pragprog.com>
41646 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::scan): Changed
41647 behavior of :enddoc: -- it now unconditionally terminates
41648 processing of the current file.
41650 Wed Apr 14 10:57:40 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41652 * defines.h: include <net/socket.h> to get fd_set definition in BeOS.
41654 Tue Apr 13 23:00:55 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41656 * lib/rinda/rinda.rb: change pattern matching.
41657 a === b -> a == b || a === b. [druby-ja:98]
41659 * test/rinda/test_rinda.rb: ditto.
41661 Tue Apr 13 21:50:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41663 * bcc32/Makefile.sub (PHONY): Borland make disallows empty command
41666 Tue Apr 13 17:55:16 2004 Minero Aoki <aamine@loveruby.net>
41668 * lib/net/http.rb (begin_transport): should not overwrite HTTP
41669 request header. [ruby-list:39543]
41671 Tue Apr 13 16:48:00 2004 Minero Aoki <aamine@loveruby.net>
41673 * lib/net/pop.rb: merge POP3S patch. This patch is contributed by
41676 Tue Apr 13 02:56:29 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41678 * common.mk: changed the order of ascii.c alphabetically.
41680 Mon Apr 12 19:11:21 2004 Eric Hodel <drbrain@segment7.net>
41682 * gc.c (rb_gc_copy_finalizer): typo. [ruby-core:02774]
41684 Mon Apr 12 18:45:58 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
41686 * ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return
41689 Mon Apr 12 10:39:50 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41691 * dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob):
41692 fix memory leak. (leaked when block was interrupted)
41694 Sun Apr 11 19:10:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41696 * ruby.c (require_libraries): restore source file/line after
41697 statically linked extensions initialized. [ruby-dev:23357]
41699 Sun Apr 11 10:47:04 2004 Dave Thomas <dave@pragprog.com>
41701 * lib/rdoc/code_objects.rb (RDoc::TopLevel::add_class_or_module): Toplevel
41702 classes and modules are a special case too... (handle extending existing
41703 classes with or without :enddoc:)
41705 Sat Apr 10 23:51:13 2004 Dave Thomas <dave@pragprog.com>
41707 * lib/rdoc/code_objects.rb (RDoc::Context::add_to): Implementation of :enddoc:
41708 made one too many assumptions...
41710 Sat Apr 10 00:00:19 2004 Dave Thomas <dave@pragprog.com>
41712 * lib/rdoc/markup/simple_markup/inline.rb: Fix problem
41713 with \_cat_<b>dog</b>
41715 Fri Apr 9 17:05:21 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41717 * dir.c (has_magic, find_dirsep): incomplete '[' matches no character
41718 in Dir.glob. (follows File.fnmatch's behavior)
41720 * dir.c (fnmatch_helper): incomplete escape is ignored in File.fnmatch.
41721 (follows Dir.glob's behavior)
41723 * dir.c (find_dirsep): '/' between '[' and ']' is ignored in Dir.glob.
41724 (follows File.fnmatch with File::FNM_PATHNAME 's behavior)
41726 * dir.c (find_dirsep): escaped slash '\/' loses its meaning as
41727 directory separator in Dir.glob.
41731 Thu Apr 8 20:25:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41733 * ext/extmk.rb (extmake): skip uncompiled extensions.
41735 * lib/mkmf.rb (create_makefile): emit no rules for static library if
41736 $static is nil, e.g., outside of ext/.
41738 * lib/test/unit/ui/console/testrunner.rb (test_started): show test
41741 * runruby.rb: set environments to use the compiled binary.
41743 * test/runner.rb: do nothing while cross-compiling.
41745 * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
41746 know ruby binary, and restore $: after require.
41748 * test/ruby/envutil.rb: give priority to RUBY environment variable to
41749 use just compiled binary and libraries.
41751 Thu Apr 8 19:03:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41753 * io.c (rb_io_binmode): inverted condition. [ruby-dev:23349]
41755 Thu Apr 8 18:22:00 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41757 * ext/iconv/iconv.c (iconv_s_list): return encoding list if no block
41758 is given. [ruby-dev:23063]
41760 Wed Apr 7 15:29:24 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41762 * pack.c (pack_pack): use NUM2INT() instead of num2i32().
41764 Wed Apr 7 12:32:02 2004 Kouhei Sutou <kou@cozmixng.org>
41766 * lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
41767 resource attribute in rdf:li.
41768 * test/rss/test_parser.rb: added test for above change.
41770 * lib/rss/dublincore.rb: reverted style.
41772 * lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.
41774 Wed Apr 7 10:43:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41776 * Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
41777 doesn't work for object files on VC.
41779 * */Makefile.sub (config.h): need SIZEOF_TIME_T now.
41781 Wed Apr 7 00:24:34 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41783 * lib/rinda/rinda.rb: fix hash tuple bug.
41785 * lib/rinda/tuplespace.rb: ditto.
41787 * test/rinda/test_rinda.rb
41789 Tue Apr 6 18:24:18 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41791 * file.c (rb_get_path): get path string via "to_path" method if
41792 path object is not a string. [Ruby2]
41794 * gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
41797 * io.c (rb_io_reopen): should use rb_io_check_io().
41799 Tue Apr 6 16:46:09 2004 Tanaka Akira <akr@m17n.org>
41801 * configure.in: check the size of time_t.
41803 * time.c (time_add): new function.
41804 (time_plus): use time_add.
41805 (time_minus): use time_add.
41807 Tue Apr 6 13:11:48 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41809 * ext/socket/socket.c (raise_socket_error): never return.
41811 * ext/socket/socket.c (make_hostent): must return value.
41813 Tue Apr 6 00:14:43 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41815 * error.c (Init_Exception): remove Exception#to_str. [Ruby2]
41817 * eval.c (error_print): should no call "to_str" anymore use
41818 "message" method instead.
41820 * io.c (rb_f_open): Kernel#open() calls "to_open" if the first
41821 argument responds to it. [Ruby2]
41823 Tue Apr 6 00:13:43 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41825 * lib/rinda/rinda.rb: add require 'drb/drb'
41827 Mon Apr 5 22:25:32 2004 Tanaka Akira <akr@m17n.org>
41829 * test/zlib/test_zlib.rb: new file.
41830 (TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].
41832 Mon Apr 5 22:16:23 2004 Minero Aoki <aamine@loveruby.net>
41834 * parse.y (assoc_list): {a: 1, b: 2} should be allowed.
41837 Mon Apr 5 19:43:40 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41839 * regexec.c: imported Oni Guruma 2.2.6.
41841 Mon Apr 5 19:39:10 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41843 * regparse.c, oniguruma.h: imported Oni Guruma 2.2.6.
41845 Mon Apr 5 12:12:09 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41847 * ext/socket/socket.c (raise_socket_error): some platforms don't have
41850 Mon Apr 5 08:18:23 2004 Dave Thomas <dave@pragprog.com>
41852 * lib/rdoc/rdoc.rb: Remove leading ./ from file names so that cross
41853 references work properly.
41855 Sun Apr 4 14:01:20 2004 Dave Thomas <dave@pragprog.com>
41857 * lib/rdoc/options.rb (Options::parse): Allow multiple -x options to
41858 RDoc. Fix bug where files weren't being excluded properly
41860 Sat Apr 3 09:36:38 2004 why the lucky stiff <why@ruby-lang.org>
41862 * ext/syck/syck.h: version 0.43.
41864 Sat Apr 3 08:28:47 2004 why the lucky stiff <why@ruby-lang.org>
41866 * ext/syck/lib/gram.c: allow root-level inline collections.
41869 * lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits.
41872 Fri Apr 2 19:28:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41874 * bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
41876 Fri Apr 2 18:00:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41878 * ext/extmk.rb (extmake): extract necessary variables for static link
41881 * lib/mkmf.rb (create_makefile): save preload and libpath for next
41884 Fri Apr 2 17:27:17 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41886 * eval.c (top_include): include in the wrapped load is done for
41887 the wrapper, not for a singleton class for wrapped main.
41890 Fri Apr 2 15:13:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41892 * bignum.c (rb_big_eq): use temporary double variable to save the
41893 result (internal float register may be bigger than 64 bits, for
41894 example, 80 bits on x86). [ruby-dev:23311]
41896 Fri Apr 2 14:35:26 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41898 * eval.c (block_pass): should generate unique identifier of the
41899 pushing block. [ruby-talk:96363]
41901 Fri Apr 2 11:36:20 2004 Minero Aoki <aamine@loveruby.net>
41903 * eval.c (Init_load): make $LOADED_FEATURES built-in.
41906 * ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
41908 * lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.
41910 Fri Apr 2 07:31:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41912 * ext/socket/socket.c: mistakingly removed do_not_reverse_lookup.
41915 * ext/socket/socket.c (make_hostent): fix memory leak, based on
41916 the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>.
41918 Thu Apr 1 22:55:33 2004 Dave Thomas <dave@pragprog.com>
41920 * lib/rdoc/parsers/parse_rb.rb: Allow rdoc comments in
41923 * lib/rdoc/parsers/parse_rb.rb: Fix problem with comment in
41924 top-level method being taken as file comment.
41926 Thu Apr 1 22:55:04 2004 Dave Thomas <dave@pragprog.com>
41928 * lib/rdoc/ri/ri_options.rb: Fix undefined variable warning.
41930 Thu Apr 1 19:58:37 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41932 * lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URI
41933 object with soap/marshal.
41934 added URIFactory class for URI mapping. BasetypeFactory checks
41935 instance_variables when original mapping is not allowed (ivar must
41936 be empty). Instance of URI have instance_variables but it must be
41937 llowed whenever original mapping is allowed or not.
41939 Wed Mar 31 19:06:23 2004 Tanaka Akira <akr@m17n.org>
41941 * time.c (year_leap_p): new function.
41942 (timegm_noleapsecond): ditto.
41943 (search_time_t): use timegm_noleapsecond instead of
41944 mktime for first guess.
41946 Wed Mar 31 12:05:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41948 * lib/delegate.rb (DelegateClass): define internal methods of the
41949 result class, but not metaclass of the caller. [ruby-talk:96156]
41951 * intern.h: provide proper prototypes. [ruby-core:02724]
41953 * ruby.h: missing.h is now prerequisite to intern.h.
41955 Wed Mar 31 11:17:16 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41957 * pack.c (pack_pack): raises RangeError if uv is out of UTF8 value
41958 range. [ruby-dev:23281]
41960 * io.c (rb_io_binmode): stdio buffer should be empty when calling
41961 IO#binmode. [ruby-talk:96155]
41963 Tue Mar 30 20:25:34 2004 Tanaka Akira <akr@m17n.org>
41965 * time.c (search_time_t): limit guess range by mktime if it is
41966 available. [ruby-dev:23274]
41968 Tue Mar 30 18:19:00 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41970 * eval.c (rb_eval): fix SEGV at retry in iterator's receiver.
41973 Mon Mar 29 20:17:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41975 * process.c (rb_exec): follow older behavior if close-on-exec is not
41978 * process.c (rb_fork): protect from exceptions while waiting failed
41979 process, if status is given.
41981 Sun Mar 28 16:25:37 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41983 * cygwin/GNUmakefile.in (clean-local, distclean-local): remove
41986 * win32/Makefile.sub (clean-local): ditto.
41988 Sun Mar 28 14:23:02 2004 Minero Aoki <aamine@loveruby.net>
41990 * lib/net/pop.rb: def m( arg ) -> def m(arg).
41992 Sun Mar 28 14:09:13 2004 Minero Aoki <aamine@loveruby.net>
41994 * lib/net/pop.rb (auth): failed when account/password include "%".
41997 Sat Mar 27 21:40:41 2004 Tanaka Akira <akr@m17n.org>
41999 * lib/open-uri.rb: permit extra semicolon in content-type field.
42001 Sat Mar 27 10:40:48 2004 Tanaka Akira <akr@m17n.org>
42003 * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
42004 instead of PrettyPrint.
42006 Sat Mar 27 01:47:09 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42008 * lib/logger.rb: trim tail space of each line. no user visible change.
42010 * lib/rss/dublincore.rb: fixed class definition mismatch.
42012 * sample/openssl/gen_csr.rb: fixed wrong usage text.
42014 Thu Mar 25 23:15:24 2004 Dave Thomas <dave@pragprog.com>
42016 * lib/rdoc/ri/ri_options.rb (RI::Options::show_version):
42017 Add --version option
42019 Thu Mar 25 21:45:00 2004 Shigeo Kobayashi <shigek@ruby-lang.org>
42021 * ext/bigdecimal/bigdecimal.c: Bug in + and - reported by Bret Jolly
42024 Thu Mar 25 21:01:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42026 * version.c (ruby_show_copyright): obtain copyright year from
42029 * win32/resource.rb: ditto.
42031 Thu Mar 25 19:37:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42033 * win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
42036 * win32/resource.rb: include winver.h for older WindowsCE.
42038 Thu Mar 25 14:01:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42040 * common.mk, */Makefile.sub (lib, dll): phony targets.
42042 * configure.in (ruby, miniruby): ditto.
42044 * cygwin/GNUmakefile.in (rubyw): ditto.
42046 Thu Mar 25 04:16:18 2004 Dave Thomas <dave@pragprog.com>
42048 * lib/rdoc/ri/ri_options.rb (RI::Options): Add the --list-names option,
42049 which dumps our all known names
42051 Thu Mar 25 03:57:47 2004 Dave Thomas <dave@pragprog.com>
42053 * lib/rdoc/ri/ri_util.rb (NameDescriptor::initialize): No longer
42054 allow nested classes to be designated using "."--you must
42057 Thu Mar 25 02:00:18 2004 Dave Thomas <dave@pragprog.com>
42059 * lib/rdoc/generators/template/html/one_page_html.rb (Page):
42060 Fix to work with C modules.
42062 Wed Mar 24 20:49:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42064 * lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
42065 * lib/uri/common.rb: Ditto.
42066 * lib/uri/ftp.rb: Ditto.
42067 * lib/uri/generic.rb: Ditto.
42068 * lib/uri/http.rb: Ditto.
42069 * lib/uri/https.rb: Ditto.
42070 * lib/uri/ldap.rb: Ditto.
42071 * lib/uri/mailto.rb: Ditto.
42073 Wed Mar 24 18:48:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42075 * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
42076 DESTDIR after installed.
42078 * lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.
42080 Wed Mar 24 12:32:56 2004 Dave Thomas <dave@pragprog.com>
42082 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_class_module):
42083 Don't document methods if we don't know for sure the
42086 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
42087 Don't store documentation for singleton classes if we
42088 don't know the real class.
42090 Wed Mar 24 11:11:26 2004 Dave Thomas <dave@pragprog.com>
42092 * lib/rdoc/generators/html_generator.rb (Generators::HTMLGenerator::load_html_template):
42093 Allow non-RDoc templates by putting a slash in the template name
42095 Wed Mar 24 10:05:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42097 * lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
42098 until the file is really removed. [ruby-core:02684]
42100 Wed Mar 24 04:12:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42102 * object.c (rb_mod_cvar_get): new method Module#class_variable_get.
42104 * object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).
42106 Tue Mar 23 17:45:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42108 * eval.c (rb_thread_atfork): 1.9 warns no more for thread
42109 termination. [ruby-dev:23212]
42111 Tue Mar 23 14:46:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42113 * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
42114 separate files under directories due to directory separator.
42116 * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
42119 * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
42122 * cygwin/GNUmakefile.in: some mingw stuffs were missed.
42124 * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
42125 from command lines.
42127 * bcc32/Makefile.sub: needs bcc32/mkexports.rb.
42129 Mon Mar 22 08:21:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42131 * Makefile.in, */Makefile.sub, common.mk: extract common portions.
42133 * Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
42134 separated time stamp file for rbconfig.rb.
42136 * configure.in: append common.mk to Makefile.
42138 * mkconfig.rb: keep mtime of rbconfig.rb if unchanged.
42140 * win32/rm.bat: remove multiple files.
42142 * wince/mkconfig_wce.rb: use fake.rb instead.
42144 Sun Mar 21 22:17:35 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42146 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
42147 sort @virtual_hosts in address, port, host order.
42149 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
42150 hostname should not be match if :ServerAlias is not given.
42152 Sun Mar 21 21:11:16 2004 Keiju Ishitsuka <keiju@ishitsuka.com>
42154 * lib/shell/*: bug fix for Shell#system(command_line_string).
42156 Sun Mar 21 21:04:42 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42158 * ruby.1: add -width option to .Bl for old groff.
42160 Sun Mar 21 18:57:37 2004 Kouhei Sutou <kou@cozmixng.org>
42162 * test/rss/*: Test::Unit::TestCase -> RSS::TestCase and
42163 Test::Unit::Assertions -> RSS::Assertions.
42165 Sun Mar 21 18:48:20 2004 Kouhei Sutou <kou@cozmixng.org>
42167 * lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
42169 Sun Mar 21 18:15:29 2004 Kouhei Sutou <kou@cozmixng.org>
42171 * test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
42173 * lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
42176 Sat Mar 20 23:51:03 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42178 * eval.c (rb_require_safe): preserve old ruby_errinfo.
42181 * eval.c (rb_f_raise): should not clear backtrace information if
42182 exception object already have one.
42184 Sat Mar 20 21:21:03 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42186 * ext/extmk.rb: rm -rf $extout, not extout.
42188 Sat Mar 20 15:25:36 2004 Dave Thomas <dave@pragprog.com>
42190 * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Force
42191 page background to white.
42193 Sat Mar 20 09:33:36 2004 Tadayoshi Funaba <tadf@dotrb.org>
42195 * lib/date.rb, lib/date/format.rb: _parse() now accepts fractional
42196 part of second minute that follows a comma or a full stop.
42198 Fri Mar 19 21:06:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42200 * parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
42201 this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.
42203 Fri Mar 19 15:15:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42205 * variable.c (rb_cvar_set): class variables become private to the
42206 particular class/module. [Ruby2]
42208 * variable.c (rb_cvar_get): ditto.
42210 * variable.c (rb_cvar_defined): ditto.
42212 Fri Mar 19 11:31:32 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42214 * lib/mkmf.rb ($beos, $solaris): add OS flags.
42216 * lib/mkmf.rb (RUBY): / is not recognized as path separator on
42217 nmake/bmake. [ruby-list:39388]
42219 * lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.
42221 Fri Mar 19 01:55:57 2004 Mauricio Fernandez <batsman.geo@yahoo.com>
42223 * io.c (rb_io_sync): need not to check writable. [ruby-core:02674]
42225 Thu Mar 18 19:47:44 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42227 * instruby.rb, rubytest.rb: do not depend on srcdir.
42229 Thu Mar 18 18:50:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42231 * mkconfig.rb: no longer embed srcdir and compile_dir into
42234 * ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
42237 Thu Mar 18 17:46:35 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
42239 * lib/drb/drb.rb: do not undef :to_a.
42241 Thu Mar 18 16:22:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42243 * eval.c (proc_eq): avoid false positive by using scope and
42244 dyna_vars. no longer use frame.uniq.
42246 * eval.c (proc_arity): arity is now defined as number of
42247 parameters that would not be ignored. i.e. Proc.new{}.arity
42248 returns zero. update test suites too.
42250 Thu Mar 18 15:27:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42252 * eval.c: remove specialized version of rb_Array(). use simple
42253 one defined in object.c.
42255 * object.c (Init_Object): remove Kernel#to_a.
42257 * enum.c (enum_zip): use "to_a" instead of "to_ary".
42259 Wed Mar 17 00:22:03 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
42261 * oniguruma.h: imported Oniguruma 2.2.5.
42262 * regparse.c: ditto.
42264 Tue Mar 16 11:14:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42266 * dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.
42267 (Rev1.112 lost compatiblity)
42269 * dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME)
42270 should return true. (Rev1.112 lost compatiblity)
42272 * dir.c (fnmatch): File.fnmatch('**/.boo', '.foo/.boo',
42273 File::FNM_PATHNAME) should return false because of leading period.
42275 Mon Mar 15 17:01:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42277 * error.c (exc_initialize): calling 'to_str' each time just for
42278 type checking is too heavy. [ruby-core:02661]
42280 Mon Mar 15 10:14:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42282 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
42283 add do_not_reverse_lookup.
42285 Mon Mar 15 07:39:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42287 * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
42288 yield is not break destination. [ruby-dev:23197]
42290 Sun Mar 14 22:07:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42292 * eval.c (rb_thread_raise): err at unstarted thread. (PR#1302)
42294 Sat Mar 13 14:56:32 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
42296 * test/drb/ut_drb.rb: use 'druby://localhost:0'. [ruby-dev:23078]
42298 * test/drb/ut_eval.rb: ditto.
42300 * test/drb/ut_large.rb: ditto.
42302 * test/drb/ut_safe1.rb: ditto.
42304 * test/drb/ut_drb_drbssl.rb: use 'drbssl://localhost:0'.
42306 Fri Mar 12 23:52:56 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42308 * dir.c (fnmatch): directory recursion '**/' can be used with
42309 File::FNM_PATHNAME. [ruby-dev:22901]
42311 * dir.c (fnmatch, fnmatch_helper): only '/' is accepted as path
42312 separator even in DOSISH environment. [ruby-dev:22974]
42315 * dir.c (fnmatch_helper): faster '*' matching.
42317 Fri Mar 12 20:19:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42319 * configure.in (rb_cv_noreturn): default for platforms not support
42322 * ruby.c (ruby_init_loadpath): buffer for path name should have
42325 * lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH.
42327 * lib/mkmf.rb (create_makefile): default dependency rule.
42329 Fri Mar 12 07:35:36 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42331 * lib/webrick/config.rb (WEBrick::Config::General): add
42332 :DoNotReverseLookup.
42334 * lib/webrick/server.rb (WEBrick::GenericServer#accept): call
42335 do_not_reverse_lookup for each socket if :DoNotReverseLookup
42336 is set. [ruby-code:02357]
42338 Wed Mar 10 22:26:25 2004 Minero Aoki <aamine@loveruby.net>
42340 * lib/fileutils.rb (remove_dir): should handle symlink correctly.
42341 This patch is contributed by Christian Loew. [ruby-talk:94635]
42343 Wed Mar 10 16:28:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42345 * eval.c (return_jump): set return value to the return
42346 destination. separated from localjump_destination().
42348 * eval.c (break_jump): break innermost loop (or thread or proc).
42350 * eval.c (rb_yield_0): set exit_value for block break.
42352 Wed Mar 10 16:00:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42354 * struct.c (rb_struct_s_def): Struct::new executes block with
42355 generated struct class. [ruby-talk:02606]
42357 Wed Mar 10 15:58:43 2004 Ryan Davis <ryand@zenspider.com>
42359 * eval.c (eval): Only print backtrace if generating the backtrace
42360 doesn't generate an exception. [ruby-core:02621]
42362 Wed Mar 10 10:15:16 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42364 * ruby.c (opt_W_getter): get rid of warning.
42366 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
42369 Tue Mar 9 13:04:26 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42371 * io.c (rb_io_ungetc): raise IOError instead of calling
42372 rb_sys_fail(). [ruby-talk:23181]
42374 Tue Mar 9 10:03:40 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42376 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
42377 replaced regex.c entry with Oniguruma files.
42379 Tue Mar 9 01:09:46 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
42381 * Makefile.in: replaced regex.c entry with Oniguruma files.
42383 Mon Mar 8 23:16:07 2004 Minero Aoki <aamine@loveruby.net>
42385 * lib/net/http.rb: HTTPHeader did not initialized correctly.
42387 * lib/net/http.rb (connect): does same debug output.
42389 Mon Mar 8 21:38:18 2004 Minero Aoki <aamine@loveruby.net>
42391 * lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]
42393 Mon Mar 8 21:09:39 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42395 * dir.c (range): Cancel change for incomplete '['. More discussion
42398 Mon Mar 8 19:35:13 2004 akira yamada <akira@arika.org>
42400 * lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
42401 -> (?::#{PORT}). [ruby-dev:23170]
42403 Mon Mar 8 15:03:24 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42405 * dir.c (range): treat incomplete '[' as ordinary character (like
42406 has_magic does). fix buffer overrun at incomplete escape like '[\'.
42408 Mon Mar 8 13:35:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42410 * regparse.c (parse_exp): need to separate initialization for bcc32.
42413 * oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.
42415 Mon Mar 8 01:05:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42417 * lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander
42418 to :RequestCallback and add new option :ServerAlias.
42420 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use
42421 :RequestCallback and warn if :RequestHandler is in server's option.
42423 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print
42424 error message for WEBrick::HTTPSataus::Error.
42426 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
42427 lookup for hostname from :ServerAlias if the req.host is not match
42430 * lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
42431 use $?.exitstatus and refine log message.
42433 Sun Mar 7 16:22:26 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42435 * Makefile.in (lex.c): use $? instead of $<.
42437 * lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.
42440 Sun Mar 7 05:34:42 2004 Minero Aoki <aamine@loveruby.net>
42442 * lib/net/http.rb: HTTPHeader keeps its header fields as an array.
42444 * lib/net/http.rb: new method HTTPHeader#add_header, get_fields.
42446 * lib/net/http.rb: new method HTTPHeader#content_length=.
42448 * lib/net/http.rb: new method HTTPHeader#content_type, main_type,
42449 sub_type, type_params, content_type=, set_content_type.
42451 * lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may
42452 contain multiple LFs.
42454 Sun Mar 7 03:11:00 2004 Minero Aoki <aamine@loveruby.net>
42456 * lib/net/http.rb: new method Net::HTTPRequest#body(=).
42458 * lib/net/http.rb: new method Net::HTTPRequest#body_stream(=).
42460 Sun Mar 7 02:06:07 2004 Minero Aoki <aamine@loveruby.net>
42462 * lib/net/http.rb: spin off https code again.
42464 * lib/net/https.rb: new file.
42466 * ext/openssl/lib/net/https.rb: removed. moved to net/https with
42467 slight modifications.
42469 * ext/openssl/lib/net/protocols.rb: removed. merged with net/http.
42471 * lib/net/protocol.rb: new class BufferedIO.
42473 * lib/net/protocol.rb: InternetMessageIO < BufferedIO.
42475 * lib/net/protocol.rb: BufferedIO.new takes an IO.
42477 * lib/net/smtp.rb: follow InternetMessageIO's change.
42479 * lib/net/pop.rb: ditto.
42481 Sun Mar 7 00:55:03 2004 Minero Aoki <aamine@loveruby.net>
42483 * lib/net/protocol.rb: remove method: InternetMessageIO#address,
42484 port, ip_address, read_timeout(=), socket.
42486 * lib/net/protocol.rb: simplify code.
42488 * lib/net/protocol.rb: apply latest coding style.
42490 Sat Mar 6 15:15:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42492 * ext/strscan/depend: depends on re.h and regex.h.
42494 * ext/strscan/strscan.c: no version check needed.
42496 * ext/strscan/strscan.c (strscan_init_copy): struct re_registers must
42497 not be bitwise copied.
42499 Sat Mar 6 11:14:33 2004 David Black <dblack@wobblini.net>
42501 * lib/scanf.rb: refixed the previous fix in IO#block_scanf
42503 Sat Mar 6 10:49:40 2004 David Black <dblack@wobblini.net>
42505 * lib/scanf.rb: fixed a logic glitch in IO#block_scanf
42507 Sat Mar 6 02:00:19 2004 Minero Aoki <aamine@loveruby.net>
42509 * lib/net/http.rb: net/https is merged.
42511 * ext/openssl/lib/net/https.rb: ditto.
42513 Sat Mar 6 00:39:21 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
42515 * oniggnu.h: imported from Oniguruma library.
42516 * oniguruma.h: ditto.
42517 * regcomp.c: ditto.
42520 * regerror.c: ditto.
42522 * regexec.c: ditto.
42525 * regparse.c: ditto.
42526 * regparse.h: ditto.
42532 * MANIFEST: added Oniguruma files listed above.
42534 * LEGAL: added Oniguruma license.
42536 * regex.h: now includes oniggnu.h.
42538 * re.c: applied Oniguruma patch.
42540 Fri Mar 5 23:13:08 2004 Minero Aoki <aamine@loveruby.net>
42542 * lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK,
42543 UNLOCK, OPTIONS, PROPFIND, DELETE, MOVE, COPY, MKCOL.
42544 This patch is contributed by Tatsuki Sugiura.
42546 Fri Mar 5 20:58:37 2004 Minero Aoki <aamine@loveruby.net>
42548 * lib/net/http.rb: Net::HTTPResponse#response is obsolete.
42551 * lib/net/http.rb: Net::HTTPResponse#header is obsolete.
42553 * lib/net/http.rb: Net::HTTPResponse#read_header is obsolete.
42555 Fri Mar 5 20:10:57 2004 Minero Aoki <aamine@loveruby.net>
42557 * ext/strscan/strscan.c: new method StringScanner#initialize_copy
42558 to allow #dup and #clone.
42560 * test/strscan/test_strscan.rb: test StringScanner#dup.
42562 Fri Mar 5 19:42:09 2004 Minero Aoki <aamine@loveruby.net>
42564 * lib/net/http.rb (HTTPResponse#to_ary): should return an object
42565 which does not respond to #to_ary. It causes infinite loop in
42566 puts. [ruby-core:02578]
42568 Fri Mar 5 00:51:35 2004 Dave Thomas <dave@pragprog.com>
42570 * lib/test/unit.rb: Move RDoc documentation so that you can
42571 now say 'ri Test::Unit'
42573 Thu Mar 4 22:31:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42575 * Makefile.in: miniruby is not needed for cross compile.
42577 * configure.in (PREP): miniruby for native compile.
42579 Thu Mar 4 11:46:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42581 * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
42582 detach server processes to get rid of zombies.
42584 Thu Mar 4 10:41:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42586 * ruby.h (T_MASK): save 1 bit in flags bits by shifting T_xxx
42589 Thu Mar 4 08:08:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42591 * ext/syck/rubyext.c: get rid of warnings.
42593 * lib/rss/taxonomy.rb: ditto.
42595 * lib/rdoc/ri/ri_formatter.rb: ditto.
42597 * test/ruby/test_assignment.rb: ditto.
42599 Thu Mar 4 01:17:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42601 * lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
42604 Wed Mar 3 13:10:56 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42606 * eval.c (method_hash): new method. [ruby-talk:93968]
42608 * eval.c (proc_eq): do not compare dyna_vars.
42610 * eval.c (proc_hash): new method.
42612 * eval.c (rb_yield_0): protect break/return from within orphan (or
42613 lambda) Proc object.
42615 Wed Mar 3 09:52:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42617 * lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.
42620 Wed Mar 3 01:18:52 2004 Kouhei Sutou <kou@cozmixng.org>
42622 * lib/rss/converter.rb: handled Uconv::Error.
42624 * lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel
42626 Wed Mar 3 00:59:30 2004 David Black <dblack@wobblini.net>
42628 * lib/scanf.rb: soak_up_spaces only ungetc's non-space last
42631 * lib/scanf.rb: IO#block_scanf now returns partial last iteration
42632 array if format string matches partly
42634 Tue Mar 2 16:30:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42636 * io.c (pipe_open): erred program name should be reported by
42637 exceptions, instead of the first argument.
42639 * process.c (rb_spawn): ditto.
42641 * process.c (proc_spawn_v): use first argument as program name.
42643 * win32/win32.c (rb_w32_aspawn): ditto.
42645 * win32/win32.c (CreateChild): search executable file if no program
42648 * lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
42651 * lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
42652 [ruby-dev:23086], [ruby-dev:23103]
42654 * lib/rdoc/diagram.rb (convert_to_png): ditto.
42656 * lib/rdoc/generators/chm_generator.rb (compile_project): ditto.
42658 Tue Mar 2 12:24:03 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42660 * win32/Makefile.sub, wince/Makefile.sub (config.h): shouldn't check
42661 defined? NORETURN. [ruby-dev:23100]
42663 Tue Mar 2 11:28:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42665 * test/ruby/test_iterator.rb (test_ljump): cannot use
42666 assert_nothing_raised due to passing block.
42668 Tue Mar 2 06:23:14 2004 David Black <dblack@wobblini.net>
42670 * lib/scanf.rb: fixed Kernel#scanf to propagate code block
42672 Mon Mar 1 23:25:40 2004 David Black <dblack@wobblini.net>
42674 * lib/scanf.rb: Partial fix so STDIN#scanf works with new
42677 Mon Mar 1 19:42:05 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42679 * bcc32/setup.mak: configure's default is "--enable-install-doc"
42681 * win32/setup.mak: ditto.
42683 Mon Mar 1 12:24:10 2004 Dave Thomas <dave@pragprog.com>
42685 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_alias):
42686 Allow aliases to have parentheses
42688 Sun Feb 29 23:14:53 2004 Dave Thomas <dave@pragprog.com>
42690 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
42691 Handle :nodoc: on singleton classes.
42693 Sat Feb 28 21:50:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42695 * bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
42696 bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir''
42697 instead of ``make DESTDIR=dir install''.
42698 --with-static-linked-ext support on bccwin32. [ruby-dev:23034]
42700 Sat Feb 28 21:50:20 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42702 * bcc32/setup.mak: "configure --disable-install-doc" is now working.
42704 * win32/setup.mak: ditto.
42706 Sat Feb 28 15:09:49 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42708 * bcc32/configure.bat: append missing label ":exit".
42710 * bcc32/configure.bat: fix typo.
42712 Sat Feb 28 10:31:03 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
42714 * MANIFEST: add test_erb.rb
42716 * lib/erb.rb, test/erb/test_erb.rb: don't forget filename,
42717 if both filename and safe_level given. [ruby-dev:23050]
42719 Sat Feb 28 01:08:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42721 * parse.y (yylex): should not allow symbol for invalid global
42722 variable (e.g. `:$-)`). [ruby-core:02518]
42724 Fri Feb 27 20:37:09 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42726 * eval.c (proc_invoke): no orphan block check is needed when pcall
42729 * eval.c (localjump_destination): update localjump condition.
42731 Fri Feb 27 02:10:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42733 * eval.c (localjump_destination): lambda should not interfere
42734 return from the yielded block.
42736 Fri Feb 27 00:53:49 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
42738 * lib/drb/drb.rb, test/drb/drbtest.rb: require drb/eq.rb by default
42740 Thu Feb 26 12:15:02 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42742 * win32/win32.c (make_cmdvector): adjust successive double-quote
42745 Thu Feb 26 09:42:56 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42747 * hash.c (delete_if_i): use st_delete_safe() (via
42748 rb_hash_delete()) instead of returning ST_DELETE.
42750 Thu Feb 26 02:35:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42752 * process.c (rb_f_exec): get rid of SEGV when exec failed for command
42755 Wed Feb 25 21:17:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42757 * gc.c (obj_free), io.c (rb_io_fptr_finalize), rubyio.h (OpenFile):
42760 * io.c (rb_io_initialize): accept IO instance. [ruby-dev:22195]
42762 Wed Feb 25 21:16:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42764 * instruby.rb (with_destdir): should return the given argument if no
42767 * instruby.rb: use path name expansion of cmd.exe.
42769 Wed Feb 25 20:44:45 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42771 * lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:
42772 warn with caller position.
42774 * test/rss/test_content.rb, test/rss/test_dublincore.rb,
42775 test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi
42776 instead of cgi-lib.
42778 Tue Feb 24 18:42:03 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42780 * dir.c (glob_helper): '**/' should not match leading period
42781 unless File::FNM_DOTMATCH is set. (like '*/') [ruby-dev:23014]
42783 Tue Feb 24 18:03:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42785 * test/ruby/test_file.rb (test_fnmatch): test for dir.c:1.108.
42787 Tue Feb 24 17:07:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
42789 * dir.c (fnmatch): File.fnmatch with File::FNM_PATHNAME was broken
42790 for the pattern including '*' followed by '/'.
42792 Tue Feb 24 13:22:21 2004 Dave Thomas <dave@pragprog.com>
42794 * lib/rdoc/rdoc.rb (RDoc::RDoc::normalized_file_list): Attempt to get better
42795 heuristics on which files to include and exclude. Now only include
42796 non-standard files if they are explicitly named in ARGV.
42798 Tue Feb 24 07:23:30 2004 Dave Thomas <dave@pragprog.com>
42800 * lib/rdoc/generators/html_generator.rb: Deal with :stopdoc: when
42801 choosing a default main page to display (ie. don't select a page
42802 if we don't have documentation for it).
42804 Tue Feb 24 06:40:14 2004 Dave Thomas <dave@pragprog.com>
42806 * lib/rdoc/parsers/parse_rb.rb (RubyLex::identify_identifier): Handle
42807 class variables in code listings
42809 Tue Feb 24 06:32:27 2004 Dave Thomas <dave@pragprog.com>
42811 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_aliases): Handle
42812 aliases in C files.
42814 Tue Feb 24 06:16:22 2004 Dave Thomas <dave@pragprog.com>
42816 * lib/rdoc/rdoc.rb (RDoc::RDoc::document): Now create op dir _before_
42819 Tue Feb 24 06:08:47 2004 Dave Thomas <dave@pragprog.com>
42821 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_constant):
42822 Start collecting text of constant values earlier: was missing
42823 values in output if there was no space after '='
42825 Tue Feb 24 06:08:25 2004 Dave Thomas <dave@pragprog.com>
42827 * lib/rdoc/generators/html_generator.rb: Escape contant values.
42829 Tue Feb 24 03:45:06 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42831 * ext/openssl/ossl_config.c (ossl_config_each): add new method
42832 OpenSSL::Config#each. it iterates with section name, field name
42835 * ext/openssl/ossl_config.c (Init_ossl_config): include Enumerable.
42837 Mon Feb 23 09:09:44 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42839 * instruby.rb (parse_args): use optparse instead of getopts.
42841 * instruby.rb (DOSISH): embedded path in batch files should not be
42842 prefixed by DESTDIR. [ruby-core:02186]
42844 Sun Feb 22 14:58:04 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42846 * ext/extmk.rb: $extstatic is Array or nil now. [ruby-talk:93383]
42848 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.
42850 * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.
42852 Sun Feb 22 13:05:37 2004 akira yamada <akira@ruby-lang.org>
42854 * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.
42856 Sun Feb 22 12:58:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42858 * ext/extmk.rb: use optparse instead of getopts.
42860 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto.
42862 Sun Feb 22 09:51:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42864 * re.c: corrected documentation format (rb_reg_initialize_m)
42866 Sat Feb 21 22:41:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42868 * ext/zlib/zlib.c: documented, but needs more effort.
42870 Sat Feb 21 14:33:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42872 * ext/extmk.rb: prefer relative path. [ruby-talk:93037]
42874 Sat Feb 21 11:12:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42876 * missing/os2.c, missing/x68.c: typo fix. pointed out by greentea.
42878 Fri Feb 20 19:11:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42880 * lib/ostruct.rb (OpenStruct#initialize_copy): should not share
42881 members. [ruby-dev:22966]
42883 Fri Feb 20 18:59:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42885 * lib/irb/init.rb (IRB::IRB.parse_opts): add -I option to
42886 irb. [ruby-dev:39243]
42888 Fri Feb 20 12:55:27 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42890 * io.c (pipe_open): fix typo.
42892 * win32/win32.c (CreateChild): first argument to CreateProcess() must
42893 have path, not just basename.
42895 Thu Feb 19 23:24:16 2004 Dave Thomas <dave@pragprog.com>
42897 * lib/rdoc/generators/html_generator.rb (Generators::HtmlClass::build_attribute_list):
42898 Support visibility modifiers for attributes
42900 Thu Feb 19 22:39:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42902 * lib/ostruct.rb: documented
42904 Thu Feb 19 22:39:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42906 * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.
42907 DRb.start_service could handle this.
42909 Thu Feb 19 22:24:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42911 * lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class.
42913 c = class << Object.new; class C; self; end; end; SOAPMarshal.dump(c)
42915 Thu Feb 19 18:08:18 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42917 * ext/strscan/strscan.c: improved documentation
42919 Thu Feb 19 18:08:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42921 * win32/win32.c, win32/win32.h: fixed prototypes.
42923 * win32/win32.c (wait): same as waitpid() with -1.
42925 Thu Feb 19 02:34:28 2004 Dave Thomas <dave@pragprog.com>
42927 * lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::include_file):
42928 Only strip comment markers if all lines start with comments.
42930 Thu Feb 19 03:05:49 2004 Minero Aoki <aamine@loveruby.net>
42932 * ext/strscan/strscan.c: StringScanner#restsize is obsolete;
42933 use #rest_size instead.
42935 * ext/strscan/strscan.c: StringScanner#matchedsize is obsolete;
42936 use #matched_size instead.
42938 Thu Feb 19 02:42:19 2004 Minero Aoki <aamine@loveruby.net>
42940 * ext/strscan/strscan.c: don't use rb_eval_string, it defines
42941 classes under the module when required in module clauses.
42944 Thu Feb 19 02:37:28 2004 Minero Aoki <aamine@loveruby.net>
42946 * ext/strscan/strscan.c: merge documentation from 1.8 branch.
42947 Thanks Gavin Sinclair.
42949 Thu Feb 19 00:20:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42951 * lib/cgi-lib.rb: deprecated after 1.8.1
42953 * lib/getopts.rb: ditto
42955 * lib/importenv.rb: ditto
42957 * lib/parsearg.rb: ditto
42959 Thu Feb 19 00:11:05 2004 Dave Thomas <dave@pragprog.com>
42961 * lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::handle):
42962 Strip extraneous space from filenames in :include:
42964 Wed Feb 18 22:53:41 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
42966 * lib/drb/unix.rb: remove O_NONBLOCk, thanks \ay
42968 Wed Feb 18 22:42:19 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
42970 * test/rinda/test_rinda.rb: improt test_rinda.rb
42972 Wed Feb 18 22:03:11 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42974 * test/*: should not depend on $KCODE.
42976 Wed Feb 18 18:07:09 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42978 * test/ruby/test_sprintf.rb: added tests.
42980 Wed Feb 18 17:18:01 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42982 * ext/win32ole/win32ole.c: need to include <olectl.h> on Cygwin.
42984 Wed Feb 18 10:40:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42986 * sprintf.c (rb_f_sprintf): sign bit extension should not be done
42987 if FPLUS flag is specified. [ruby-list:39224]
42989 * sprintf.c (rb_f_sprintf): do not prepend dots for negative
42990 numbers if FZERO is specified. [ruby-dev:39218]
42992 Wed Feb 18 10:23:34 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42994 * sprintf.c (rb_f_sprintf): clean up.
42996 Tue Feb 17 23:40:34 2004 Guy Decoux <ts@moulon.inra.fr>
42998 * sprintf.c (rb_f_sprintf): preserve original val for
42999 format_integer. [ruby-talk:92975]
43001 Tue Feb 17 23:28:45 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43003 * test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $:
43004 trick to share the testcase test/ruby/marshaltestlib.rb.
43006 Tue Feb 17 23:13:23 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43008 * test/ruby/marshaltestlib.rb: common marshal testcase added.
43010 * test/ruby/test_marshal.rb: use above testsuite.
43012 * test/soap/marshal/test_marshal.rb: ditto.
43014 * test/soap/marshal/cmarshal.rb: removed (not used).
43016 Tue Feb 17 19:34:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43018 * ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.
43020 * ext/extmk.rb (extmake): remove compile directory if empty.
43022 * ext/extmk.rb (parse_args) lib/mkmf.rb (create_makefile): move
43023 initialization of $extout_prefix from lib/mkmf.rb. [ruby-dev:22928]
43025 * ext/extmk.rb: clear ext and extout directory when cleaning.
43027 * lib/mkmf.rb (CLEANLIBS): should be under $(arch) directory.
43029 Tue Feb 17 18:02:10 2004 Minero Aoki <aamine@loveruby.net>
43031 * ext/strscan/strscan.c: ScanError may be (wrongly) garbage
43032 collected. (thanks Gavin Sinclair)
43034 * ext/strscan/strscan.c: move ::ScanError to StringScanner::Error.
43035 ::ScanError is also defined for backward compatibility.
43037 * ext/strscan/strscan.c: #peep is obsolete, use #peek.
43039 * ext/strscan/strscan.c: #empty? is obsolete, use #eos?.
43041 * ext/strscan/strscan.c: #clear is obsolete, use #terminate.
43043 * ext/strscan/strscan.c: #getbyte is obsolete, use #get_byte.
43045 Tue Feb 17 12:12:47 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43047 * ext/extmk.rb (parse_args): delay expanding $(extout) until invoking
43050 * lib/mkmf.rb (CLEANLIBS): should remove files have specific
43053 Tue Feb 17 11:33:30 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43055 * lib/rss/rexmlparser.rb: REXML version may be 4 digits.
43057 Tue Feb 17 10:45:59 2004 NAKAMURA Usaku <usa@ruby-lang.org>
43059 * ext/syck/rubyext.c (syck_emitter_end_object): takes only one arg.
43061 Tue Feb 17 07:48:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43063 * lib/rexml/encodings/SHIFT_JIS: wrong library name.
43065 Tue Feb 17 01:35:28 2004 Tanaka Akira <akr@m17n.org>
43067 * eval.c (rb_eval): care that another thread replace NODE_DREGX_ONCE
43068 to NODE_LIT. [ruby-dev:22920]
43070 Tue Feb 17 01:20:57 2004 Minero Aoki <aamine@loveruby.net>
43072 * lib/fileutils.rb: new module FileUtils::DryRun.
43074 Mon Feb 16 23:28:14 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43076 * lib/csv.rb: document reduction. [ruby-core:02429]
43078 * test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display.
43079 it should be defined that the specification about what kind of Range
43080 is supported in ruby's custom type in YAML.
43082 Mon Feb 16 22:22:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
43084 * lib/generator.rb: corrected doc format
43086 * lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
43088 * lib/rinda/tuplespace.rb: ditto
43090 [Note: rinda files actually committed Wed Feb 18 07:27:00 2004]
43092 Mon Feb 16 20:28:52 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
43094 * bcc32/Makefile.sub: show more warnings. (refering to mingw)
43096 * bcc32/setup.mak: ditto.
43098 Mon Feb 16 18:35:58 2004 NAKAMURA Usaku <usa@ruby-lang.org>
43100 * win32/Makefile.sub (config.status): should create *.pdb on ext/,
43103 * win32/Makefile.sub (config.status): convert the name of import
43106 * lib/mkmf.rb (create_makefile): now don't need to remove
43109 Mon Feb 16 15:45:22 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43111 * configure.in: check functions, fork spawnv.
43113 * io.c (rb_io_s_popen): accept argv not only single command line.
43115 * process.c (rb_proc_exec_n): export.
43117 * process.c (rb_check_argv): check if arguments are safe to invoke.
43119 * process.c (rb_fork): retry to fork.
43121 * process.c (rb_spawn): spawn child process asynchronously.
43123 * process.c (rb_f_system): raise an exception if the command could not
43126 * win32/win32.c (rb_w32_argv_size): count necessary size for joined
43129 * win32/win32.c (rb_w32_join_argv): join arguments with quoting.
43131 * win32/win32.c (rb_w32_pipe_exec, rb_w32_spawn, rb_w32_aspawn):
43132 accept program name adding to command line.
43134 Mon Feb 16 15:18:33 2004 Minero Aoki <aamine@loveruby.net>
43136 * lib/racc/parser.rb: add note for Racc full package.
43138 Mon Feb 16 15:13:01 2004 Minero Aoki <aamine@loveruby.net>
43140 * ext/racc/cparse/README: new file.
43142 * ext/racc/cparse/MANIFEST: add README.
43144 Mon Feb 16 12:29:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43146 * ext/iconv/iconv.c (iconv_s_list): new method Iconv.list
43149 Mon Feb 16 10:29:52 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
43151 * dir.c (CompareImpl): File.fnmatch and Dir.glob get better performance
43152 in Win32. This is achived by calling downcase() for single-byte
43153 characters. (CharLower() is slower than downcase())
43155 Mon Feb 16 02:14:29 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
43157 * bcc32/Makefile.sub: should warn suspicious pointer conversion.
43159 * bcc32/setup.mak: ditto.
43161 Sun Feb 15 20:56:22 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
43163 * dir.c (push_braces): remove wrong const. [ruby-dev:22891]
43165 Sun Feb 15 20:41:15 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43167 * sample/soap/calc/httpd.rb, sample/soap/exchange/httpd.rb,
43168 sample/soap/sampleStruct/httpd.rb, sample/wsdl/googleSearch/httpd.rb:
43169 use soap/property instead of getopts for configuring DocumentRoot
43170 and port# of httpd. see samplehttpd.conf below.
43172 * sample/soap/calc/samplehttpd.conf,
43173 sample/soap/exchange/samplehttpd.conf,
43174 sample/soap/sampleStruct/samplehttpd.conf,
43175 sample/wsdl/googleSearch/samplehttpd.conf: added.
43177 Sun Feb 15 19:13:33 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
43179 * lib/rinda/tuplespace.rb: read(tpl,0), raise RequestExpiredError
43182 Sun Feb 15 15:48:57 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
43184 * ext/win32ole/win32ole.c: add IDispatch wrapper in val2variant.
43187 Sun Feb 15 15:23:29 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
43189 * ruby.h, dir.c (rb_glob): add const.
43191 Sun Feb 15 01:46:05 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
43193 * lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY).
43196 Sat Feb 14 23:59:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43198 * mkconfig.rb: use fileutils.rb instead of ftools.rb.
43200 * bcc32/Makefile.sub, win32/Makefile.sub (config.h): define
43201 STACK_GROW_DIRECTION.
43203 * bcc32/Makefile.sub (config.h): add newer checks.
43205 * wince/Makefile.sub (config.h): define NEED_IO_SEEK_BETWEEN_RW.
43207 Sat Feb 14 23:26:27 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43209 * lib/un.rb: use OptionParser instead of getopts.
43211 Sat Feb 14 11:28:14 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
43213 * sample/drb/*: import lib/drb/sample
43215 Sat Feb 14 11:14:12 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
43217 * lib/drb/drb.rb: add pretty_print, thanks gotoken.
43219 Fri Feb 13 21:51:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
43221 * lib/fileutils.rb: slighly improved documentation (sync with 1.8)
43223 Fri Feb 13 19:57:01 2004 Kouhei Sutou <kou@cozmixng.org>
43225 * test/rss/test_trackback.rb: added tests for TrackBack with RSS
43228 * test/rss/common.rb: added methods make RSS 2.0.
43230 * lib/rss/trackback.rb: TrackBack API is decided.
43232 * lib/rss/rss.rb: RSS::VERSION 0.0.7 -> 0.0.8.
43234 * lib/rss/parser.rb, lib/rss/rss.rb: replaced $DEBUG by RSS::DEBUG.
43236 * lib/rss/2.0.rb: removed RSS 2.0 URI. Because RSS 2.0 doesn't
43239 Fri Feb 13 14:41:00 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43241 * ext/tk/lib/tk.rb: en-bugged at last commit (Feb 11 23:24:22 2004)
43243 Fri Feb 13 12:26:37 2004 Minero Aoki <aamine@loveruby.net>
43245 * test/fileutils/test_fileutils.rb: rescue SystemCallError instead
43246 of EINVAL. File.link may raise EACCES on network file systems.
43248 Fri Feb 13 05:18:58 2004 Minero Aoki <aamine@loveruby.net>
43250 * test/fileutils/test_fileutils.rb: File.link raises EINVAL on
43251 Win9x. [ruby-dev:22713]
43253 Thu Feb 12 21:49:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
43255 * lib/ftools.rb: documented
43257 Thu Feb 12 21:19:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
43259 * lib/base64.rb: added and tidied documentation
43261 Thu Feb 12 20:45:01 2004 Minero Aoki <aamine@loveruby.net>
43263 * lib/net/protocol.rb (WriteAdapater#puts): must append "\n" to
43264 the string, don't prepend. (ruby-bugs:PR#1280)
43266 Thu Feb 12 20:31:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43268 * lib/mkmf.rb (create_tmpsrc): cpp32 of Borland C++ ignores #error
43269 directives in DOS line-ending files at all.
43271 Thu Feb 12 15:23:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43273 * parse.y (rparen): ignore preceding newlines to right parentheses.
43274 (ruby-bugs:PR#1221) [ruby-dev:22858]
43276 Thu Feb 12 14:17:43 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43278 * configure.in: set ac_cv_func_link to yes to enable link() on MinGW.
43281 Thu Feb 12 13:32:49 2004 NAKAMURA Usaku <usa@ruby-lang.org>
43283 * win32/win32.c (link): raise NotImplementedError on Win9X.
43284 contributed by Tietew. [ruby-dev:22713]
43286 * win32/win32.c, win32/win32.h (link): add const.
43288 Thu Feb 12 09:56:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43290 * ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.
43292 Thu Feb 12 02:23:56 2004 Tanaka Akira <akr@m17n.org>
43294 * lib/pathname.rb: use assert_raise instead of assert_raises.
43296 * lib/pp.rb: ditto.
43298 * lib/time.rb: ditto.
43300 * lib/tsort.rb: ditto.
43301 use TSortHash and TSortArray instead of Hash and Array in test.
43303 Wed Feb 11 23:24:22 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43305 * ext/tk/lib/tk.rb: properly treat a Tcl/Tk's string with escaping
43306 special characters.
43308 Tue Feb 10 20:49:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43310 * eval.c (method_proc): return bound Proc object. [ruby-dev:22854]
43312 * eval.c (rb_mod_define_method): bind method body itself for Method
43315 * node.h (NODE_DMETHOD): deprecated.
43317 * object.c (rb_class_inherited_p): export.
43319 Tue Feb 10 16:43:50 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43321 * eval.c (umethod_bind): purge unused check. [ruby-dev:22850]
43323 Tue Feb 10 14:33:08 2004 NAKAMURA Usaku <usa@ruby-lang.org>
43325 * string.c (rb_str_match): raise TypeError when both arguments are
43326 strings. [ruby-dev:22851]
43328 * string.c (rb_str_match2): removed.
43330 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
43331 wince/Makefile.sub (string.c): now not depend on version.h.
43333 Mon Feb 9 17:46:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43335 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
43336 runruby.rb: run rdoc, test and so on with compiled extension
43337 libraries. [ruby-dev:22688]
43339 * ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
43340 directory, similar to the actual directory structure.
43342 * lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
43343 file to create new file.
43345 * lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
43346 influence by envirionment variable.
43348 * bcc32/configure.bat, win32/configure.bat: add install-doc options.
43350 * win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
43351 bug which returns wrong mode. [ruby-dev:22846]
43353 Mon Feb 9 16:30:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43355 * process.c (detach_process_watcher): return the last status.
43358 Sun Feb 8 16:46:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43360 * lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
43361 sign for higher heap areas.
43363 Sun Feb 8 16:18:27 2004 akira yamada <akira@ruby-lang.org>
43365 * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
43368 Sun Feb 8 15:51:57 2004 akira yamada <akira@ruby-lang.org>
43370 * test/ruby/test_file.rb (TestFile::test_fnmatch): added tests for
43371 File.fnmatch. [ruby-dev:22815][ruby-dev:22819]
43373 Sun Feb 8 15:41:45 2004 akira yamada <akira@ruby-lang.org>
43375 * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
43376 added tests. [ruby-core:02306] [ruby-core:02311]
43378 Sun Feb 8 14:24:35 2004 Minero Aoki <aamine@loveruby.net>
43380 * lib/net/http.rb (HTTP#request): should not overwrite Connection
43381 header. (ruby-bugs:PR#1274)
43383 Sun Feb 8 10:11:21 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
43385 * dir.c (glob_helper): Dir.glob('**/') did not work. [ruby-dev:22832]
43387 Sun Feb 8 00:29:26 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
43389 * dir.c (fnmatch): File.fnmatch('*?', 'a') should return true.
43392 * dir.c (fnmatch): File.fnmatch('\[1\]' , '[1]') should return true.
43395 * dir.c: Did some styles (no change to behavior)
43397 Sat Feb 7 19:56:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43399 * lib/irb/init.rb (IRB.rc_files): yield possible rc file names.
43401 * lib/irb/input-method.rb (IRB::ReadlineInputMethod::initialize):
43402 load and save history automatically. [ruby-core:02352]
43404 Fri Feb 6 22:48:16 2004 Dave Thomas <dave@pragprog.com>
43406 * lib/rdoc/generators/html_generator.rb (gen_url): Support
43407 https in RDoc hyperlinks
43409 Fri Feb 6 22:41:22 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43411 * lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous
43412 commit. [ruby-dev:22813]
43414 Fri Feb 6 22:22:50 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43416 * lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
43417 variable which is defined in the test.
43419 Fri Feb 6 18:54:18 2004 akira yamada <akira@ruby-lang.org>
43421 * test/ruby/test_proc.rb (TestProc::test_eq): added a
43422 test. [ruby-dev:22599]
43424 Fri Feb 6 18:26:00 2004 akira yamada <akira@ruby-lang.org>
43426 * test/ruby/test_proc.rb (TestProc::test_eq): added tests for
43427 Proc#==. [ruby-dev:22592], [ruby-dev:22601]
43429 Fri Feb 6 10:12:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43431 * ext/socket/socket.c (bsock_do_not_reverse_lookup): control reverse
43432 lookup for every instance. [ruby-core:02346]
43434 Fri Feb 6 09:15:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43436 * lib/irb/extend-command.rb: add irb_help command. [ruby-talk:91610]
43438 * lib/irb/cmd/help.rb (IRB::ExtendCommand::Help): show RDoc.
43440 Fri Feb 6 00:48:37 2004 Tanaka Akira <akr@m17n.org>
43442 * lib/prettyprint.rb (PrettyPrint#first?): obsoleted.
43444 Thu Feb 5 23:56:55 2004 Tanaka Akira <akr@m17n.org>
43446 * lib/prettyprint.rb (PrettyPrint#seplist): added.
43448 * lib/pp.rb (PPMethods#pp_object): use seplist.
43449 (PPMethods#pp_hash): ditto.
43450 (Array#pretty_print): ditto.
43451 (Struct#pretty_print): ditto.
43452 (MatchData#pretty_print): ditto.
43454 * lib/set.rb (Set#pretty_print): use seplist.
43456 Wed Feb 4 22:39:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43458 * file.c (rb_stat_mode): should not sign-expand, so backout.
43460 Wed Feb 4 02:12:06 2004 Tanaka Akira <akr@m17n.org>
43462 * file.c (test_l): fix wrong method name in document.
43466 (test_suid): ditto.
43467 (test_sgid): ditto.
43468 (test_sticky): ditto.
43470 Tue Feb 3 22:36:25 2004 Kouhei Sutou <kou@cozmixng.org>
43472 * lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,
43473 lib/rss/rss.rb, lib/rss/syndication.rb: removed warnings.
43475 * lib/rss/converter.rb: removed handling load error of nkf.
43477 * test/rss/test_syndication.rb, test/rss/test_trackback.rb,
43478 test/rss/test_dublincore.rb, test/rss/test_content.rb: replaced
43479 'require "rss/parser"' by 'require "rss/1.0"'.
43481 * test/rss/test_parser.rb, test/rss/test_accessor.rb: removed
43482 'require "rss/parser"'.
43484 Tue Feb 3 11:23:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43486 * parse.y (reduce_nodes): remove tail returns. [ruby-talk:90934]
43488 Tue Feb 3 08:04:57 2004 Tanaka Akira <akr@m17n.org>
43490 * lib/pp.rb (Struct#pretty_print_cycle): follow 1.8 style.
43492 Mon Feb 2 22:06:31 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43494 * parse.y (block_append, new_evstr, void_expr0): remove no longer used
43497 Mon Feb 2 18:45:50 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43499 * dln.c (dln_load): don't specify RTLD_GLOBAL on Interix,
43500 because it caused SEGV when running runner.rb.
43502 Mon Feb 2 01:54:00 2004 Tanaka Akira <akr@m17n.org>
43504 * lib/pp.rb (Struct#pretty_print): make it 1.8 style.
43505 (Numeric#pretty_print, FalseClass#pretty_print)
43506 (TrueClass#pretty_print, Module#pretty_print): fix pp for objects
43507 with instance variables. [ruby-talk:91157]
43509 * lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopback
43512 * lib/resolv-replace.rb (BasicSocket#send): don't replace because
43513 it has no hostname argument.
43514 (IPSocket.getaddress): raise SocketError instead of
43515 Resolv::ResolvError for errors.
43516 (TCPSocket#initialize, UDPSocket#bind, UDPSocket#connect)
43517 (SOCKSSocket#initialize): use IPSocket.getaddress instead of
43519 (UDPSocket#send): recognize 3 arguments form. try all addresses on
43522 Sun Feb 1 23:00:00 2004 Shigeo Kobayashi <shigek@ruby-lang.org>
43524 * ext/bigdecimal.c: Bug in BigDecimal("1e#{n}").add BigDecimal('.5'),n)
43525 reported and fixed by Javier Goizueta.
43527 Sun Feb 1 18:21:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
43529 From ruby_1_8 branch:
43530 * lib/test/unit.rb: rearranged documentation for RDoc's sake.
43531 * lib/matrix.rb: improved documentation.
43532 * lib/net/http.rb: slight documentation formatting improvement.
43534 Sun Feb 1 05:30:06 2004 Tanaka Akira <akr@m17n.org>
43536 * lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY.
43537 raise an errror on non-http proxy URI.
43538 (OpenURI::Buffer#<<): make a tempfile binmode. [ruby-talk:90793]
43540 Sun Feb 1 00:57:41 2004 Kouhei Sutou <kou@cozmixng.org>
43542 * lib/rss/parser.rb (RSS::Parser): added @@default_parser. Used
43543 XML parser became selectable.
43544 * test/rss/test_parser.rb: added tests for
43545 RSS::Parser.default_parser.
43547 Sat Jan 31 02:28:15 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43549 * configure.in (RPATHFLAG): set to -Wl,-R like NetBSD on Interix.
43551 Sat Jan 31 01:09:41 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43553 * lib/logger.rb: leading 0 padding of timestamp usec part.
43555 Fri Jan 30 18:53:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43557 * re.c (KR_REHASH): wrong hash value on sizeof(long) > sizeof(int).
43559 Thu Jan 29 23:11:57 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43561 * configure.in (DLEXT2): removed. Ruby does not treat
43562 ".dll" as a extention library anymore.
43564 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (DLEXT2):
43567 * util.c (mblen): fix overrun. [ruby-dev:22672]
43569 Thu Jan 29 22:41:53 2004 Dave Thomas <dave@pragprog.com>
43571 * lib/rdoc/generators/html_generator.rb: Allow 'link:' in Tidylinks.
43572 THis means you can write "see f1[link:files/f1_rb.html]".
43574 Thu Jan 29 22:24:47 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43576 * sample/openssl/gen_csr.rb: follow OpenSSL::X509::Name change.
43577 ASN.1 type of subject DN elements were wrong.
43579 Thu Jan 29 22:19:51 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43581 * test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb to
43584 Thu Jan 29 19:28:16 2004 Minero Aoki <aamine@loveruby.net>
43586 * lib/net/http.rb (Request#initialize): reject only when a path is
43587 empty. [ruby-dev:22771]
43589 Thu Jan 29 18:54:08 2004 H.Yamamoto <ocean@m2.ccsnet.ne.jp>
43591 * dir.c (glob_helper): infinite loop bug in win32 code.
43594 Thu Jan 29 17:03:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43596 * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
43599 Thu Jan 29 11:32:14 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43601 * test/rss/test_*: do $: trick while searching a module in the current
43604 * test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb,
43605 test/soap/helloworld/test_helloworld.rb,
43606 test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path
43607 before using __FILE__.
43609 * test/yaml/test_yaml.rb: assert_equals -> assert_equal.
43611 Thu Jan 29 01:56:02 2004 why the lucky stiff <why@ruby-lang.org>
43613 * ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]
43615 * lib/yaml/rubytypes.rb: character Range now round-trips. [ruby-core:2306]
43617 * test/yaml/test_yaml.rb: add Time and Range tests.
43619 Thu Jan 29 00:00:46 2004 Kouhei Sutou <kou@cozmixng.org>
43621 * lib/rss: rss/parser.rb is always required.
43623 Wed Jan 28 15:09:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43625 * test/rss/*.rb: remove "test/" prefix.
43627 Wed Jan 28 13:07:02 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43629 * ext/iconv/extconf.rb: include iconv.h for libiconv. [ruby-dev:22715]
43631 Wed Jan 28 12:43:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43633 * lib/rss: rss library imported. [ruby-dev:22726]
43635 Wed Jan 28 04:29:41 2004 Eric Schwartz <emschwar@fc.hp.com>
43637 * lib/cgi/session.rb: use LOCK_SH to read, and a few other
43638 improvements. [ruby-core:02328]
43640 Tue Jan 27 15:00:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43642 * misc/ruby-mode.el: better support for general delimited
43643 strings. [ruby-dev:22695]
43645 Tue Jan 27 11:04:40 2004 FUKUMOTO Atsushi <fukumoto@nospam.imasy.or.jp>
43647 * ext/socket/socket.c (s_recvfrom): sending length should be an
43648 invariant while retrying on EAGAIN. [ruby-talk:89962]
43650 Tue Jan 27 10:31:28 2004 NAKAMURA Usaku <usa@ruby-lang.org>
43652 * ext/win32ole/win32ole.c (set_argv): fix condition.
43654 Tue Jan 27 02:26:31 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
43656 * lib/webrick/httputils.rb (WEBrick:HTTPUtils::parse_header):
43657 refine regex for header-name.
43659 Mon Jan 26 22:53:04 2004 Dave Thomas <dave@pragprog.com>
43661 * io.c: Remove documentation references to $defout.
43663 Mon Jan 26 14:41:46 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43665 * lib/weakref.rb (WeakRef::initialize): set up @__id before
43668 * lib/delegate.rb (Delegator::initialize): preserve
43669 singleton_method_added method [ruby-dev:22685]
43671 * lib/delegate.rb (Delegator::initialize): use Kernel::raise
43672 instead of mere raise. [ruby-dev:22681]
43674 Mon Jan 26 12:45:23 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43676 * ext/tcltklib/tcltklib.c: define CONST84 when TCL_MAJOR_VERSION == 7
43678 Mon Jan 26 11:30:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43680 * ext/extmk.rb: Makefiles should depend on also rbconfig.rb.
43681 (ruby-bugs:PR#1256)
43683 * ext/win32ole/win32ole.c (set_argv): set real arguments to
43684 WIN32OLE::ARGV. [ruby-list:39073]
43686 Sun Jan 25 18:25:26 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
43688 * ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): third
43689 argument become optional.
43691 * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
43693 * ext/openssl/ossl_x509name.c (Init_x509name): emailAddress and
43694 domainComponent should be IA5String.
43696 Sun Jan 25 01:45:38 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
43698 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): support
43701 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host): add
43702 new method to register virtual hosting server.
43704 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): add
43705 new method to lookup virtual hosting server.
43707 Sat Jan 24 13:06:26 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
43709 * ext/openssl/ossl_x509hame.c (ossl_x509name_initialize): change
43710 second argument. it expected to be a Hash not an Integer.
43712 * ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): add new
43713 function for OpenSSL::X509::Name#add_entry.
43715 * ext/openssl/ossl_x509name.c (Init_ossl_x509name): add constants
43716 OpenSSL::X509::Name::DEFAULT_OBJECT_TYPE and OBJECT_TYPE_TEMPLATE.
43718 * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#initialize):
43719 second argument takes OBJECT_TYPE_TEMPLATE by default.
43721 Fri Jan 23 02:26:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43723 * pack.c (num2i32): pack should not raise RangeError.
43726 * pack.c (pack_pack): do not auto convert nil to zero.
43728 Thu Jan 22 22:54:53 2004 Shugo Maeda <shugo@ruby-lang.org>
43730 * lib/net/imap.rb (BEG_REGEXP): allow 8-bit characters in quoted
43731 strings for Novell GroupWise Internet Agent.
43733 * lib/net/imap.rb (DATA_REGEXP): ditto.
43735 Thu Jan 22 18:35:49 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43737 * lib/e2mmap.rb (VERSION): remove unnecessary version checking.
43739 Thu Jan 22 16:21:02 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43741 * parse.y (string_content): reset lexical states at the beginning of
43742 string contents. [ruby-list:39061]
43744 Thu Jan 22 08:08:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43746 * parse.y (opt_rescue): use NODE_ERRINFO() instead of
43747 NODE_GVAR("$!"), to avoid confusion from variable aliasing.
43750 * version.c (Init_version): remove obsolete constants VERSION
43751 etc. [ruby-dev:22643]
43753 Thu Jan 22 01:46:32 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43755 * parse.y (newline_node): do not use NODE_NEWLINE node anymore,
43756 use NEWLINE flag instead.
43758 Thu Jan 22 01:12:12 2004 Siena. <siena@faculty.chiba-u.jp>
43760 * missing/os2.c (chdir, getcwd):
43761 use _chdir2 and _getcwd2 supporting multiple drives in OS/2 with EMX.
43763 Thu Jan 22 00:33:52 2004 Siena. <siena@faculty.chiba-u.jp>
43765 * configure.in: check availability of link(). [ruby-dev:22237]
43766 * file.c (rb_file_s_link): raise an exception when link() is unavailable.
43767 * missing/os2.c (link): removed. File#link isn't supported.
43768 * bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241]
43769 * win32/Makefile.sub: ditto.
43771 Thu Jan 22 00:26:25 2004 Siena. <siena@faculty.chiba-u.jp>
43773 * ChangeLog: typo: RUBY_MBCHAR_MAX was RUBY_MBCHAR_MAXSIZE.
43775 Thu Jan 22 00:12:51 2004 Siena. <siena@faculty.chiba-u.jp>
43777 * defines.h: define RUBY_MBCHAR_MAX instead of MB_CUR_MAX.
43778 * dir.c (Next, emx_mblen): use RUBY_MBCHAR_MAX for mblen().
43779 * file.c (CharNext): ditto.
43780 * ruby.c (translate_char): ditto.
43781 * util.c (__crt0_glob_function): ditto.
43783 Thu Jan 22 00:10:01 2004 Dave Thomas <dave@pragprog.com>
43785 * lib/base64.rb: :nodoc: the Deprecated module
43787 Wed Jan 21 23:52:39 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43789 * configure.in: Interix(SFU) support.
43791 Wed Jan 21 23:03:45 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
43793 * lib/drb/drb.rb: remove O_NONBLOCK, thanks \ay
43794 * lib/drb/extserv.rb: typo
43796 Wed Jan 21 17:57:56 2004 Shugo Maeda <shugo@ruby-lang.org>
43798 * lib/net/imap.rb (envelope): allow NIL.
43799 * lib/net/imap.rb (body): ditto.
43800 * lib/net/imap.rb (number): ditto.
43801 * lib/net/imap.rb (ensure_nz_number): show a detailed error
43804 Wed Jan 21 16:44:15 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43806 * lib/mkmf.rb (merge_libs): squeeze successive same libraries.
43809 Wed Jan 21 16:10:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43811 * lib/base64.rb: enclosed in a module. [ruby-core:02285]
43813 Wed Jan 21 16:01:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43815 * ext/digest/rmd160/extconf.rb: have_library appends found library.
43817 Wed Jan 21 11:36:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43819 * ext/socket/socket.c (sock_gethostbyname): returns host if
43820 ai_canonname is NULL. (ruby-bugs PR#1243)
43822 * parse.y (block_append): update nd_end for "real" head node.
43825 Tue Jan 20 14:48:28 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
43827 * ext/openssl/extconf.rb: should check <openssl/conf_api.h> instead
43828 of OPENSSL_VERSION_NUMBER. [ruby-list:39056]
43830 Tue Jan 20 14:43:17 2004 Dave Thomas <dave@pragprog.com>
43832 * lib/base64.rb: Add RDoc
43834 Tue Jan 20 14:25:51 2004 Dave Thomas <dave@pragprog.com>
43836 * lib/abbrev.rb: Add RDoc
43838 Tue Jan 20 13:22:39 2004 Dave Thomas <dave@pragprog.com>
43840 * lib/rdoc/generators/html_generator.rb: Document aliases at
43843 * lib/English.rb: Document English.rb.
43845 Tue Jan 20 04:41:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43847 * test/ruby/test_marshal.rb (MarshalTestLib::test_exception): test
43848 for [ruby-dev:22604].
43850 * test/ruby/test_marshal.rb (MarshalTestLibtest_singleton): test
43851 for [ruby-dev:22588].
43853 Tue Jan 20 02:38:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43855 * marshal.c (w_class): should not dump singleton class.
43858 Tue Jan 20 02:49:22 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
43860 * ext/openssl/extconf.rb: add check for OpenSSL version.
43863 Mon Jan 19 23:56:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43865 * error.c (name_err_mesg_to_str): inverted condition for result of
43866 inspection. [ruby-dev:22628]
43868 Mon Jan 19 22:24:28 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43870 * sample/exyacc.rb: escape '}' to avoid warning.
43872 * lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.
43874 Mon Jan 19 21:28:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43876 * ext/digest/defs.h, win32/win3.c, win32/win32.h, file.c: remove
43877 useless casts for Borland C.
43879 Mon Jan 19 17:39:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43881 * error.c (NameError::message): internal use only.
43883 * eval.c (rb_method_missing): use hidden constant.
43885 Mon Jan 19 16:30:53 2004 akira yamada <akira@ruby-lang.org>
43887 * test/ruby/test_time.rb: added tests for [ruby-dev:22614] and
43890 Mon Jan 19 13:09:21 2004 NAKAMURA Usaku <usa@ruby-lang.org>
43892 * ext/extmk.rb, win32/Makefile.sub, win32/configure.bat,
43893 win32/setup.mak: --with-static-linked-ext support on mswin32.
43895 Mon Jan 19 06:49:07 2004 Tadayoshi Funaba <tadf@dotrb.org>
43897 * lib/date.rb: zone was wrong when it was behind UTC.
43898 Thanks Mark J. Reed.
43900 * lib/date/format.rb: %z is now always replaced by four digits
43901 with a leading plus or minus sign.
43903 * sample/cal.rb: added a class, anyway.
43905 Mon Jan 19 01:08:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
43907 * class.c, error.c, eval.c, intern.h, object.c, variable.c:
43908 do not set path if it is a singleton class. [ruby-dev:22588]
43910 * lib/cgi.rb (CGI::QueryExtension): give extended string, not a
43913 Sun Jan 18 23:59:44 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43915 * ext/iconv/charset_alias.rb: prefer us_EN locale encodings or
43916 former. [ruby-dev:22609]
43918 * ext/iconv/iconv.c (iconv_create): raise InvalidEncoding
43919 exception when EINVAL.
43921 Sun Jan 18 23:16:34 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43923 * class.c, error.c, file.c, io.c, numeric.c, object.c, re.c, struct.c,
43924 time.c: marked init_copy functions nodoc.
43926 Sun Jan 18 20:47:35 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43928 * ruby.c: use translate_char() on Cygwin.
43930 Sun Jan 18 20:00:16 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43932 * lib/soap/wsdlDriver.rb, lib/wsdl/soap/operation.rb: add support of
43933 "parts" attribute of soap:body element in WSDL.
43935 * lib/wsdl/xmlSchema/schema.rb: friendly warning message for
43936 simpleType element which is not supported for now.
43938 * test/wsdl/soap/{soapbodyparts.wsdl,test_soapbodyparts.wsdl}: new
43941 Sun Jan 18 16:46:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43943 * time.c (time_overflow_p): should return results. [ruby-dev:22614]
43945 Sun Jan 18 12:07:24 2004 Siena. <siena@faculty.chiba-u.jp>
43947 * test/ruby/test_time.rb: new test case to test Time#[+-].
43949 * time.c (time_plus, time_minus): fix RangeError for a negative
43950 argument in environments whose time_t is unsigned. [ruby-dev:22608]
43952 Sun Jan 18 02:33:26 2004 WATANABE Hirofumi <eban@ruby-lang.org>
43954 * defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH.
43956 Sun Jan 18 00:23:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43958 * marshal.c (class2path): check anonymous class/module before
43959 checking referable, and allow singleton classes.
43961 Sat Jan 17 23:58:51 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43963 * error.c (NameError::Message): new class for lazy evaluation of
43964 message to ensure replaced before marshalling. [ruby-dev:22604]
43966 * eval.c (rb_method_missing): use NameError::Message.
43968 Sat Jan 17 21:49:50 2004 NAKAMURA Usaku <usa@ruby-lang.org>
43970 * lib/time.rb (test_rfc2822, test_rfc3339, test_encode_xmlschema):
43971 should not expect that all platforms handle negative time_t value.
43973 Fri Jan 16 23:53:09 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43975 * eval.c (proc_eq): compare also arguments and environment
43976 (including local variables). [ruby-dev:22590]
43978 Fri Jan 16 14:33:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43980 * marshal.c (class2path): get class path and check referable.
43983 Thu Jan 15 12:58:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43985 * io.c (argf_read): do not append EOF. (ruby-bugs-ja:PR#585)
43987 * io.c (rb_io_fwrite): ad-hockery hack to get rid of HP-UX stdio
43988 weird behavior. [ruby-dev:22424]
43990 Wed Jan 14 21:13:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43992 * test/inlinetest.rb (InlineTest::eval_part): eval under the top
43995 Wed Jan 14 17:54:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
43997 * test/inlinetest.rb (InlineTest::loadtest): require instead of
43998 load, to get rid of multiple loading.
44000 Wed Jan 14 13:30:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44002 * ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform.
44004 Wed Jan 14 09:32:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
44006 * MANIFEST: add test/net/test_httpheader.rb. (commit miss?)
44008 Wed Jan 14 00:58:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44010 * eval.c (Init_Proc): move SystemStackError from under
44011 StandardError to Exception. [ruby-talk:89782]
44013 Tue Jan 13 18:03:02 2004 Ian Macdonald <ian@caliban.org>
44015 * file.c (rb_stat_wr, rb_stat_ww): New functions
44016 implementing new methods (File::Stat#world_readable?,
44017 File::Stat#world_writable?).
44019 Tue Jan 13 16:53:25 2004 why the lucky stiff <why@ruby-lang.org>
44021 * ext/syck/rubyext.c: omission of Date library code caused
44022 test suite failure. [ruby-core:2251]
44024 Tue Jan 13 16:50:03 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44026 * ext/tk/lib/tk.rb: use $0 as the default application class name.
44028 Tue Jan 13 14:48:00 2004 Ian Macdonald <ian@caliban.org>
44030 * lib/pathname.rb: New methods (Pathname#world_readable?,
44031 Pathname#world_writable?).
44033 Tue Jan 13 14:48:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44035 * parse.y (primary): allow no "when" case. [ruby-dev:22578]
44037 * ruby.h (rb_class_of): reduce branch. [ruby-dev:22577]
44039 * ruby.h (rb_type): ditto.
44041 Tue Jan 13 14:26:59 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
44043 * lib/test/unit/ui/testrunnerutilities.rb (TestRunnerUtilities):
44044 moved run method which allows output level. [ruby-dev:22554]
44046 Tue Jan 13 13:04:24 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44048 * test/test_*.rb: Pathname#parent -> Pathname#dirname.
44050 Tue Jan 13 11:38:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44052 * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_spec_type_{int,float}):
44055 Tue Jan 13 07:52:40 2004 why the lucky stiff <why@ruby-lang.org>
44057 * ext/syck/bytecode.c: turn off default implicit typing.
44059 * ext/syck/implicit.c: detect base60 integers.
44061 * ext/syck/rubyext.c: handle base60, as well as hex and octal
44062 with commas. implicit typing of ruby symbols.
44064 * test/yaml/test_yaml.rb: add test.
44066 Tue Jan 13 04:29:52 2004 Dave Thomas <dave@pragprog.com>
44068 * lib/rdoc/ri/ri_driver.rb (RiDriver::report_method_stuff):
44069 Show fully-qualified class names in class list.
44071 Tue Jan 13 01:24:17 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44073 * file.c (test_wr): Rdoc fix. [ruby-core:02225]
44075 Tue Jan 13 01:04:37 2004 Dave Thomas <dave@pragprog.com>
44077 * lib/rdoc/ri/ri_paths.rb (RI::Paths): First attempt at
44078 incorporating DESTDIR in the rdoc installation.
44080 Mon Jan 12 23:26:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44082 * parse.y (primary): fix position after FCALL. [ruby-dev:22574]
44084 Mon Jan 12 18:00:11 2004 Ian Macdonald <ian@caliban.org>
44086 * file.c (test_wr, test_ww): New functions implementing new
44087 methods (File::world_readable?, File::world_writable?).
44089 * file.c (S_IRUGO, S_IGUGO): New macros.
44091 Mon Jan 12 12:07:22 2004 Dave Thomas <dave@pragprog.com>
44093 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods):
44094 Someone changed the "// in eval.c" comments to "/*...*/" style,
44095 so the parsing of the source file name broke.
44097 * object.c: Remove spurious space in TrueClass documentation.
44099 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body): Fix
44100 bad regexp: if the code before a documented method contained
44101 a comment that wasn't terminated by whitespace, that comment
44102 and all intervening code was included in the following
44103 method's documentation.
44105 * lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter::break_to_newline):
44106 HTML formats need explicit line breaks.
44108 Mon Jan 12 02:24:07 2004 Dave Thomas <dave@pragprog.com>
44110 * lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter): Add HTML
44111 generation support to ri (Elliot Hughes)
44113 Sun Jan 11 23:54:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44115 * env.h (ruby_frame, ruby_scope, ruby_in_eval, ruby_class,
44116 ruby_dyna_vars): export. [ruby-dev:22566]
44118 Sun Jan 11 02:35:53 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44120 * ext/socket/socket.c (make_hostent): a bug in brace position.
44122 * configure.in: install rdoc by default. if you do not want to
44123 install rdoc, specify --disable-install-doc.
44125 Sun Jan 11 02:07:47 2004 Dave Thomas <dave@pragprog.com>
44127 * lib/rdoc/ri/ri_options.rb (RI::Options::OptionList::OptionList):
44128 Also accept command line options via the 'RI' environment variable.
44130 Sat Jan 10 21:27:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44132 * eval.c (eval): need to add message delimiter. [ruby-dev:22561]
44134 Sat Jan 10 01:54:50 2004 Eric Sunshine <sunshine@sunshineco.com>
44136 * defines.h (__NeXT__): Ensure that all standard S_IRUSR, S_IWGRP,
44137 S_IRWXO, etc. macros are defined since future code might require
44138 them (even though present code only requires a subset).
44140 * defines.h (__NeXT__): Bug fix: WORDS_BIGENDIAN was not being set
44141 correctly on Rhapsody when -arch compiler flag was used (via
44142 configure's --enable-fat-binary option).
44144 Sat Jan 10 23:01:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44146 * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single
44147 quotes. [ruby-dev:22564]
44149 * lib/mkmf.rb (libpathflag): do not enclose with quotes always.
44151 * {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted.
44153 Sat Jan 10 22:46:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44155 * dir.c (dir_inspect): new method, Dir#inspect. [ruby-dev:22562]
44157 Fri Jan 9 17:36:51 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44159 * ext/socket/socket.c (make_hostent): getaddrinfo(3) on BSD do not
44160 fill ai_canonname if serv is not supplied. (ruby-bugs PR#1243)
44162 Fri Jan 9 13:14:59 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44164 * lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadError
44165 and SystemExitError) while loading a testcase. smell of bug.
44167 * test/testunit/collector/test_dir.rb: add new test of the LoadError.
44169 * test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if
44170 openssl is not installed.
44172 * test/testunit/collector/test_dir.rb: assert_raises -> assert_raise.
44174 Fri Jan 9 11:52:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44176 * rubysig.h: <errno.h> is needed to use errno which may be a macro.
44178 Fri Jan 9 11:20:24 2004 Siena. <siena@faculty.chiba-u.jp>
44180 * ext/extmk.rb (extmake): should not reduce necessary libraries.
44183 * lib/mkmf.rb (merge_libs): merge libraries according to
44186 Fri Jan 9 10:05:23 2004 Siena. <siena@faculty.chiba-u.jp>
44188 * lib/mkmf.rb (libpathflag): use single quotes. [ruby-dev:22440]
44190 Thu Jan 8 23:49:21 2004 WATANABE Hirofumi <eban@ruby-lang.org>
44192 * configure.in (RDOCTARGET): new macro. if you want to install
44193 rdoc documentation, you need to run configure with
44194 --enable-install-doc.
44196 Thu Jan 8 21:17:43 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
44198 * ext/openssl/ossl_pkey.c (ossl_pkey_to_der): removed; it returns
44201 * ext/openssl/ossl_pkey_dh.c (ossl_dh_to_der): new function for
44202 OpenSSL::PKey::DH#to_der.
44204 * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_to_der): new function for
44205 OpenSSL::PKey::DSA#to_der.
44207 * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_to_der): new function for
44208 OpenSSL::PKey::RSA#to_der.
44210 Thu Jan 8 18:25:29 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44212 * dir.c (glob_helper): should not recurse in exceptional status.
44214 Thu Jan 8 16:51:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44216 * test/wsdl/datetime/test_datetime.rb: fixed a stupid testcase which
44217 dumps "E" at month-end.
44219 Thu Jan 8 11:20:01 2004 WATANABE Hirofumi <eban@ruby-lang.org>
44221 * eval.c, object.c, process.c, re.c: don't use C++ style comments.
44223 Thu Jan 8 08:46:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44225 * ext/syck/rubyext.c (yaml_org_handler): lazy-load Date for
44228 Thu Jan 8 07:06:30 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44230 * ext/extmk.rb: preserve order in Setup. [ruby-dev:22503]
44232 * ext/extmk.rb: move dependent libraries just after depended
44235 * ext/digest/*/extconf.rb: depend on digest.
44237 Thu Jan 8 04:36:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
44239 * lib/webrick/cgi.rb (WEBrick::CGI#initialize): should create
44240 @config[:Logger] if it was not given.
44242 Wed Jan 7 22:28:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44244 * dir.c (glob_helper): fix memory leak.
44246 Wed Jan 7 21:15:07 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
44248 * sample/webrick/*: new files.
44250 * MANIFEST: add sample/webrick/*
44252 Wed Jan 7 20:51:51 2004 Minero Aoki <aamine@loveruby.net>
44254 * test/net/test_httpheader.rb: new file.
44256 * MANIFEST: add test/net/test_httpheader.rb.
44258 Wed Jan 7 20:42:06 2004 Minero Aoki <aamine@loveruby.net>
44260 * lib/net/http.rb (HTTPHeader#content_length): should return nil
44261 unless header exists. [ruby-dev:22519]
44263 Wed Jan 7 14:26:05 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44265 * ext/tk/lib/tk.rb (TkPanedWindow): use epath for embedded windows.
44267 * ext/tk/lib/tktext.rb: use epath for embedded windows.
44269 * ext/tk/lib/tkcanvas.rb: use epath for window items.
44271 Wed Jan 7 14:24:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44273 * lib/soap/{attachment.rb,mimemessage.rb}: added from soap4r/1.5.2.
44275 Wed Jan 7 13:00:18 2004 Dave Thomas <dave@pragprog.com>
44277 * lib/rdoc/ri/ri_driver.rb: Fix problem where ri was
44278 being too eager to find matches of ambiguous method
44279 names (such as "ri Thread.join" would return both
44280 Thread.join and ThreadsWait.join)
44282 Wed Jan 7 12:35:41 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44284 * lib/debug.rb: revert command parse regexps. [ruby-list:39014] by
44287 Wed Jan 7 08:21:04 2004 Dave Thomas <dave@pragprog.com>
44289 * lib/rdoc/parsers/parserfactory.rb: Check for shebang
44290 line in files that would otherwise be treated as
44293 Tue Jan 6 22:13:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44295 * eval.c (rb_mod_modfunc): should break if m has no super class.
44298 Tue Jan 6 21:51:37 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
44300 * io.c (fptr_finalize): should save errno just after failure.
44303 Tue Jan 6 20:51:10 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44305 * lib/logger.rb(Logger#msg2str): no special treatment for the object
44306 which responds to :to_str.
44308 * lib/logger.rb(LogDevice#initialize): remove type checking if the
44309 given object is a String. Kernel.open handles it correctly.
44311 * test/logger/test_logger.rb: follow above change (ArgumentError ->
44314 Tue Jan 6 14:53:14 2004 Dave Thomas <dave@pragprog.com>
44316 * bin/ri: split out the display side, making it pluggable. Added
44317 new ri_driver and ri_display files in lib/rdoc/ri.
44319 Tue Jan 6 11:29:43 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44321 * test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,
44322 test_pathname.rb,test_pp.rb,test_prettyprint.rb,test_set.rb,
44323 test_time.rb,test_tsort.rb: added.
44325 Tue Jan 6 09:38:27 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44327 * import soap4r/1.5.2;
44329 * lib/soap/{attachment.rb,baseData.rb,encodingstyle/soapHandler.rb}:
44330 introduce SOAPExternalReference class as a referenct to SOAPEnvelope
44333 * lib/soap/{attachment.rb,mimemessage.rb}: great SwA (SOAP messages
44334 with Attachments) support code by Jamie Herre.
44336 * lib/soap/{element.rb,marshal.rb,parser.rb,processor.rb,
44337 streamHandler.rb,wsdlDriver.rb}: SwA support.
44339 * lib/soap/rpc/{cgistub.rb,driver.rb,element.rb,proxy.rb,router.rb,
44340 soaplet.rb}: SwA support and refactoring.
44342 * lib/soap/generator.rb, lib/soap/mapping/mapping.rb: follow
44343 SOAPReference#initialize signature change.
44345 * lib/soap/mapping/factory.rb: deleted unused methods.
44347 * lib/soap/mapping/rubytypeFactory.rb: do no ignore case while xsi:type
44348 string <-> Ruby class name matching.
44350 * lib/xsd/datatypes.rb: check the smallest positive non-zero
44351 single-precision float exactly instead of packing with "f".
44354 * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: use 1.402e-45, not
44355 1.4e-45. 1.4e-45 is smaller than 2 ** -149...
44357 * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb,
44358 test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0".
44360 * test/soap/test_streamhandler.rb: revert to the previous test that
44361 warns "basic_auth unsupported under net/http".
44363 Tue Jan 6 06:37:53 2004 Dave Thomas <dave@pragprog.com>
44365 * bin/rdoc: Add --ri-system switch
44367 * lib/.document: Update with list of files that seem to have
44370 * lib/test/unit.rb: Reorder comment to make it RDoc friendly.
44372 * Makefile.in: add install-nodoc target, and make it
44373 generate RDoc on default install.
44375 * lib/rdoc/ri/ri_options.rb (RI::Options::parse): Add
44376 --doc-dir option to ri.
44378 Tue Jan 6 00:04:40 2004 Dave Thomas <dave@pragprog.com>
44380 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_or_yield_parameters):
44381 fix parsing if there are braces in a method parameter list
44383 Tue Jan 6 01:01:04 2004 NAKAMURA Usaku <usa@ruby-lang.org>
44385 * win32/dir.h, win32/win32.c: fix patch miss.
44387 * win32/Makefile.sub: fix file dependency.
44389 Mon Jan 5 20:32:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
44391 * lib/logger.rb: enhanced documentation.
44393 Mon Jan 5 18:58:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44395 * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
44398 * pack.c (pack_unpack): unpack requires big endian offet (OFF16B
44399 and OFF32B). The patch is from Minero Aoki in [ruby-dev:22489]
44401 * pack.c (OFF16B): add big-endian offset again.
44403 Mon Jan 5 03:00:53 2004 Minero Aoki <aamine@loveruby.net>
44405 * test/ruby/test_pack.rb: new test test_unpack_N.
44407 Mon Jan 5 01:47:53 2004 NAKAMURA Usaku <usa@ruby-lang.org>
44409 * lib/mkmf.rb (create_makefile): remove duplicated object files
44410 from $objs on DOSISH platforms.
44412 Sat Jan 3 02:44:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44414 * rubysig.h (TRAP_END): preserve errno before switching context.
44417 Sat Jan 3 01:18:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44419 * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
44422 Fri Jan 2 14:54:11 2004 Dave Thomas <dave@pragprog.com>
44424 * bin/ri: Add new --classes option, and arrange for
44425 help messages to be paged too.
44427 * bin/rdoc: Add statistics.
44429 * process.c: (MG) Added Process documentation
44431 * lib/rdoc/ri/ri_formatter.rb (RI::AttributeFormatter::wrap):
44432 Fix problem with labels not displaying in RI labeled
44433 lists using BS and ANSI modes.
44435 Fri Jan 2 01:50:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
44437 * io.c (argf_eof): ARGF.eof? should not have any side effect.
44440 Thu Jan 1 09:03:20 2004 Dave Thomas <dave@pragprog.com>
44442 * bin/ri (report_class_stuff): Fix problem with ambiguous nested
44443 classes not matching.
44445 Wed Dec 31 17:25:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44447 * io.c (argf_each_byte): should return self. [ruby-dev:22465]
44449 Wed Dec 31 15:05:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
44451 * lib/pathname.rb: Corrected small coding error.
44453 Wed Dec 31 15:00:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
44455 * lib/pathname.rb: Completed documentation.
44457 Wed Dec 31 11:20:34 2003 Dave Thomas <dave@pragprog.com>
44459 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): Make
44460 file referenced in "// in sss.c" relative to current file.
44462 Wed Dec 31 11:17:37 2003 Dave Thomas <dave@pragprog.com>
44464 * lib/rdoc/generators/html_generator.rb: Fix problem when
44465 a public method was aliased, but the alias is then
44466 made private, and hence doesn't appear in RDoc output.
44468 Wed Dec 31 01:33:05 2003 Dave Thomas <dave@pragprog.com>
44470 * array.c, error.c, eval.c, io.c, prec.c, range.c, re.c,
44471 string.c, time.c: Add RDoc for Kernel functions, and tidy.
44473 Tue Dec 30 19:39:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44475 * io.c (rb_f_readline): should raise EOFError at the end of
44476 files. [ruby-dev:22458]
44478 * io.c (argf_read): should concatenate input files when length
44479 argument is nil. [ruby-dev:22450]
44481 * io.c (argf_read): should update supplied string buffer (2nd
44482 argument) even when IO#read is called multiple times.
44484 * io.c: should initialize lineno by zero. [ruby-dev:22460]
44486 Tue Dec 30 12:30:30 2003 Dave Thomas <dave@pragprog.com>
44488 * lib/rdoc/code_objects.rb (RDoc::Context::find_symbol): If a
44489 class and a method have the same name, finding Xxx.abc was trying
44490 to find 'abc' in method 'Xxx', not class 'Xxx'.
44492 Tue Dec 30 08:32:32 2003 Dave Thomas <dave@pragprog.com>
44494 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method):
44495 Handle undoing nsting of yield parameters correctly for:
44497 def each_entry(&b) Dir.foreach(@path) {|f| yield P.new(f) } end
44499 Tue Dec 30 07:30:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
44501 * lib/pathname.rb: Added documentation.
44503 Mon Dec 29 20:08:17 2003 Minero Aoki <aamine@loveruby.net>
44505 * lib/net/http.rb (GenericRequest#initialize): check if path
44508 * lib/net/http.rb: def m( arg ) -> def m(arg)
44510 Mon Dec 29 12:51:02 2003 Dave Thomas <dave@pragprog.com>
44512 * eval.c: Add RDoc for Kernel global functions.
44514 Mon Dec 29 11:00:16 2003 Dave Thomas <dave@pragprog.com>
44516 * array.c: Tidy up RDoc loose ends.
44518 Mon Dec 29 05:05:51 2003 Dave Thomas <dave@pragprog.com>
44520 * struct.c, random: Add RDoc comments
44522 Mon Dec 29 02:25:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
44524 * lib/optparse.rb: Improved documentation.
44526 Mon Dec 29 02:20:54 2003 Dave Thomas <dave@pragprog.com>
44528 * eval.c: Add RDoc for class Proc, Method, UnboundMethod
44530 Mon Dec 29 02:20:26 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44532 * instruby.rb: fix install directory if destdir and compile_dir are
44533 not in the same drive.
44535 * ext/extmk.rb: ditto. [ruby-list:39009]
44537 * win32/Makefile.sub, win32/README.win32, win32/configure.bat,
44538 win32/setup.mak: new configure scheme. use ``configure --prefix=dir''
44539 instead of ``nmake DESTDIR=dir install''.
44541 Mon Dec 29 00:41:44 2003 Dave Thomas <dave@pragprog.com>
44543 * math.c: Add RDoc comments
44545 Sun Dec 28 20:19:11 2003 Tanaka Akira <akr@m17n.org>
44547 * ext/stringio/stringio.c (strio_sysread): StringIO.new.sysread didn't
44550 * ext/zlib/zlib.c (gzreader_gets): don't increment lineno when
44551 gzfile_read_all returns "".
44553 Sun Dec 28 15:25:08 2003 Dave Thomas <dave@pragprog.com>
44555 * class.c,object.c,parse.y,sprintf.c,variable.c: Document classes
44556 Object, Module, etc...
44558 Sun Dec 28 11:55:29 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44560 * test/csv/test_csv.rb: generate bom.csv and mac.csv files on the fly.
44563 * test/csv/{bom.csv,mac.csv}: removed.
44565 Sun Dec 28 08:56:51 2003 Dave Thomas <dave@pragprog.com>
44567 * eval.c: Thead[Group] RDoc (thanks to MG)
44569 Sun Dec 28 03:50:05 2003 Dave Thomas <dave@pragprog.com>
44571 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_override_comment):
44572 Escape method names used in regexp
44574 Sun Dec 28 01:46:02 2003 Dave Thomas <dave@wireless_3.local.thomases.com>
44576 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item):
44577 Add support for rules in 'ri' output.
44579 Sun Dec 28 01:35:35 2003 Dave Thomas <dave@pragprog.com>
44581 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body):
44582 Sometimes the Ruby source aliases two otherwise
44583 unrelated methods (for example Kernel#object_id and
44584 Kernel#hash are both the same C function). Provide a
44585 facility to allow the methods to be documented
44588 Sun Dec 28 01:05:31 2003 Dave Thomas <dave@pragprog.com>
44590 * marshal.c, signal.c: RDoc collemts added by Elliott Hughes
44592 Sun Dec 28 00:46:25 2003 Dave Thomas <dave@pragprog.com>
44594 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_class_comment):
44595 Some Ruby source uses lower-case class names for the
44596 Init_Xxx C function name.
44598 Sat Dec 27 23:41:46 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44600 * configure.in: fix "test: too many arguments" error.
44602 Sat Dec 27 15:32:40 2003 Dave Thomas <dave@wireless_3.local.thomases.com>
44604 * time.c: Add RDoc comments for Time class.
44606 Sat Dec 27 15:07:26 2003 Dave Thomas <dave@pragprog.com>
44608 * object.c: Add RDoc comments for Symbol class.
44610 Sat Dec 27 14:39:53 2003 Dave Thomas <dave@pragprog.com>
44612 * numeric.c (Init_Numeric): Add RDoc comments.
44614 Sat Dec 27 00:44:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44616 * io.c (next_argv): warn always for stdin on inplace edit mode.
44618 * io.c (read_all): need to check string value.
44620 * io.c (argf_read): allow ARGF.read(nil). [ruby-dev:22433]
44622 Fri Dec 26 23:02:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44624 * io.c (rb_f_backquote): need not to check nil result.
44627 * io.c (rb_io_getline): should return nil when read_all gives
44628 empty string, even when nil rs is specified. [ruby-core:02077]
44630 Fri Dec 26 18:33:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44632 * configure.in: check if getcontext and setcontext are available.
44634 * eval.c: use presence of getcontext/setcontext.
44636 Fri Dec 26 16:40:53 2003 Tanaka Akira <akr@m17n.org>
44638 * lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
44640 Fri Dec 26 14:05:13 2003 Minero Aoki <aamine@loveruby.net>
44642 * test/ruby/test_pack.rb: new test test_pack_N.
44644 Fri Dec 26 12:53:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44646 * pack.c (pack_pack): add sign check for 'i', and 'l'.
44649 * bignum.c (rb_quad_pack): add range check for 'quad int'.
44651 Fri Dec 26 10:58:58 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44653 * MANIFEST: add vms/config.h and remove vms/config.h_in.
44655 Fri Dec 26 10:42:00 2003 AKIYOSHI, Masamichi <masamichi.akiyoshi@hp.com>
44657 * io.c: [VMS] "rfm=stmlf" is specified for open() and fopen().
44659 Thu Dec 25 22:29:53 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44661 * string.c (rb_str_update): don't return any value.
44663 Thu Dec 25 15:30:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44665 * string.c (rb_str_update): call rb_str_modify().
44667 Thu Dec 25 05:08:09 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44669 * eval.c (search_required): search actual file name once when no
44670 extension specified.
44672 Thu Dec 25 04:00:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44674 * stable version 1.8.1 released.
44676 Thu Dec 25 00:17:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44678 * configure.in: check for nanosleep, -lrt if required.
44681 * eval.c (thread_timer): use select(2) if nanosleep(2) is not
44684 * eval.c: check __stub_getcontext for glibc on some platforms.
44687 Wed Dec 24 23:48:04 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44689 * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb
44690 test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0"
44691 to express -0.0. [ruby-talk:88786]
44693 Wed Dec 24 23:29:30 2003 Tanaka Akira <akr@m17n.org>
44695 * lib/tsort.rb (test_orphaned_break): removed.
44697 Wed Dec 24 20:53:06 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44699 * ext/tk/sample/tkmulticolumnlist.rb: new sample
44701 * ext/tk/sample/tkmultilistframe.rb: bug fix
44703 Wed Dec 24 20:37:37 2003 Eric Sunshine <sunshine@sunshineco.com>
44705 * configure.in (LDSHARED): Fixed typographical error in assignment of
44706 LDSHARED for Rhapsody which caused linking of extension modules to
44709 Wed Dec 24 17:51:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44711 * file.c (rb_thread_flock): enable thread support again.
44713 Wed Dec 24 16:46:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44715 * eval.c (catch_timer): do not call rb_thread_schedule() inside to
44716 avoid pthread_mutex_lock() deadlock. interrupts to system calls
44717 are detected by TRAP_END via EINTR error.
44719 * eval.c (thread_timer): do not post signal unless it is
44720 absolutely necessary.
44722 * rubysig.h (TRAP_END): add CHECK_INTS to switch thread.
44724 * regex.c (re_compile_pattern): check if nextp is smaller than
44725 pend. [ruby-dev:22372]
44727 * eval.c (umethod_bind): remove method overridden check.
44730 Wed Dec 24 16:13:05 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44732 * ext/openssl/ossl_ssl.c (ossl_ssl_read): should check for error
44733 status by SSL_get_error().
44735 * ext/openssl/ossl_ssl.c (ossl_ssl_write): ditto.
44737 Wed Dec 24 14:23:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44739 * ext/stringio/stringio.c (strio_read): clear the buffer argument
44740 when returning nil. [ruby-dev:22363]
44742 * test/ruby/ut_eof.rb (TestEOF::test_eof_0, TestEOF::test_eof_1):
44743 add buffer argument tests.
44745 Wed Dec 24 14:07:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44747 * lib/test/unit/assertions.rb: Modules are allowed to rescue.
44749 * lib/test/unit/autorunner.rb: show output_level in order.
44751 * lib/test/unit/collector/dir.rb: get rid of successive same
44752 directories in load path.
44754 * test/testunit/test_assertions.rb (test_assert_nothing_raised,
44755 test_assert_raise): test for modules.
44757 Wed Dec 24 13:43:34 2003 Shugo Maeda <shugo@ruby-lang.org>
44759 * lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
44762 Wed Dec 24 11:26:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44764 * test/fileutils/test_fileutils.rb: should not create any
44765 files or directories in current directory. [ruby-talk:88724]
44767 Wed Dec 24 10:29:53 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44769 * ext/stringio/stringio.c (strio_read): never return nil at
44770 unlimited read. [ruby-dev:22334]
44772 * ext/stringio/stringio.c (strio_read): support second
44773 argument. [ruby-dev:22350]
44775 Wed Dec 24 09:38:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44777 * parse.y (arg): should return 0 after error. [ruby-dev:22360]
44779 Wed Dec 24 00:56:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44781 * io.c (read_all): do not return nil at the end of file.
44784 * io.c (argf_read): do not depend on nil at eof behavior of
44787 * eval.c (rb_thread_join): dup exception before re-raising it.
44789 * io.c (rb_io_eof): call clearerr() to prevent side effect. this
44790 patch is supplied by Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>.
44793 * pack.c (OFF16): get offset for big endian machines.
44795 * pack.c (pack_pack): use OFF16 instead of OFF16B.
44798 * pack.c (pack_unpack): ditto.
44800 Tue Dec 23 22:47:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44802 * io.c (rb_io_check_readable): set FMODE_RBUF always, even if
44803 NEED_IO_SEEK_BETWEEN_RW is not defined. [ruby-dev:22340]
44805 * io.c (rb_io_check_writable): clear FMODE_RBUF before writing
44808 Tue Dec 23 22:25:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
44810 * lib/optparse.rb: incomplete RDoc documentation added in place of
44811 existing RD comments. Tabs converted to spaces.
44813 Tue Dec 23 19:44:47 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44815 * test/soap/test_streamhandler.rb (test_basic_auth): removed.
44816 soap4r + basic_auth is not officially supported in ruby/1.8.1 even
44817 though soap4r + basic_auth + http-access2 should run fine.
44819 Tue Dec 23 19:42:59 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44821 * io.c (rb_io_ungetc): raise an exception at unread stream to
44822 avoid unspecified behavior. [ruby-dev:22330]
44824 * test/ruby/test_system.rb (test_syntax): glob relatively from
44827 Tue Dec 23 18:09:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44829 * pack.c (pack_pack): remove unnecessary negative value check.
44832 Tue Dec 23 17:26:55 2003 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
44834 * bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]
44836 Tue Dec 23 16:08:16 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44838 * lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]
44840 * test/ruby/test_system.rb: num of asserts depended on running dir.
44842 * test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
44843 handle euc-jp. install iconv, uconv or xmlscan.
44845 Tue Dec 23 14:13:51 2003 akira yamada <akira@ruby-lang.org>
44847 * lib/uri/generic.rb (URI::Generic::check_userinfo,
44848 URI::Generic::check_user, URI::Generic::check_password): tests
44849 conflicts/depends with other components closely.
44851 * test/uri/test_generic.rb (TestGeneric::test_set_component):
44854 Tue Dec 23 11:08:34 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44856 * test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
44857 "euc-jp" might not be in supported encoding name list.
44860 Tue Dec 23 06:10:31 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44862 * lib/webrick/cgi.rb (CGI): add support for mod_ruby.
44864 * lib/webrick/cgi.rb (CGI::Socket): add check for existence of
44865 OpenSSL module in all HTTPS related methods.
44867 * lib/webrick/cgi.rb (CGI::Socket#cipher): should create similar
44868 value to OpenSSL::SSLSocket#cipher.
44870 * lib/webrick/httpresponse.rb (HTTPResponse#setup_header): should
44871 set "connection: close" if @keep_alive is false.
44873 * lib/webrick/https.rb (HTTPrequest#meta_vars): add supprt for
44874 SSL_PROTOCOL, SSL_CIPHER_USEKEYSIZE and SSL_CIPHER_ALGKEYSIZE.
44876 Mon Dec 22 23:00:05 2003 akira yamada <akira@ruby-lang.org>
44878 * lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
44880 Mon Dec 22 21:59:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44882 * ext/iconv/iconv.c (map_charset): always ensure code is a String.
44884 Mon Dec 22 21:15:29 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44886 * class.c (rb_mod_init_copy): always copy singleton class.
44889 Mon Dec 22 20:44:36 2003 akira yamada <akira@ruby-lang.org>
44891 * lib/uri/generic.rb (URI::Generic#route_from): accepts urls which
44894 * test/uri/test_generic.rb (TestGeneric::test_route): added a test.
44896 Mon Dec 22 20:38:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44898 * lib/cgi.rb: reduce eval.
44900 * lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to
44901 local_path. [ruby-list:38883]
44903 Mon Dec 22 20:09:31 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44905 * test/soap/test_property.rb: remove duplicated test method.
44907 Mon Dec 22 18:22:04 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44909 * bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
44910 HAVE_ISINF definition to follow previous commits of missing.h
44913 Mon Dec 22 17:23:42 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44915 * configure.in (ac_cv_func_setitimer): moved from defines.h
44917 * defines.h, rubysig.h, signal.c: removed macro handling which
44918 should be done in configure.
44920 * configure.in (intrinsics.h): check if present.
44922 * ruby.h: include intrinsics.h if available.
44924 * bignum.c, marshal.c: include ieeefp.h if available.
44926 * missing.h (isinf): define as a macro if finite() and isnan()
44927 are available. [ruby-core:02032]
44929 Mon Dec 22 17:07:31 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44931 * configure.in (mingw): set isnan, finite and isinf to yes.
44933 Mon Dec 22 13:40:19 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44935 * lib/soap/property.rb: passing block by reference.
44937 Mon Dec 22 00:32:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44939 * eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead of
44940 ALLOW_INTS which may switch context. [ruby-dev:22319]
44942 * ext/syck/emitter.c (syck_emitter_write): str bigger than
44943 e->bufsize causes buffer overflow. [ruby-dev:22307]
44945 Sun Dec 21 17:29:00 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44947 * class.c (rb_check_inheritable): new function. [ruby-dev:22316]
44949 * intern.h: add prototype.
44951 * eval.c (superclass): use rb_check_inheritable().
44953 * object.c (rb_class_initialize): check argument validity.
44955 Sun Dec 21 16:25:10 2003 Tanaka Akira <akr@m17n.org>
44957 * lib/pathname.rb (Pathname#+): re-implemented to resolve ".." in
44958 beginning of the argument.
44959 (Pathname#join): concatenate from the last argument.
44960 (Pathname#parent): just use Pathname#+.
44962 Sun Dec 21 00:12:37 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44964 * ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)
44966 * ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method
44968 Sat Dec 20 21:59:03 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44970 * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.
44972 * lib/webrick/cgi.rb (CGI#start): NPH scripts return status line
44973 instead of Status: header field.
44975 * lib/webrick/cgi.rb (CGI::Socket): refine some coditions.
44977 Sat Dec 20 16:07:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44979 * lib/optparse.rb (OptionParser::Completion::complete): wrong
44980 Regexp for word boundary. pointed out by Gavin Sinclair.
44982 * lib/optparse.rb (OptionParser::make_switch): [no-] prefix was
44985 Sat Dec 20 11:40:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44987 * lib/yaml.rb (YAML::YAML): adjust Marshal version.
44989 Sat Dec 20 03:56:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44991 * eval.c (rb_with_disable_interrupt): prohibit thread context
44992 switch during proc execution. [ruby-dev:21899]
44994 Sat Dec 20 02:41:02 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44996 * lib/webrick/cgi.rb: add file. (yet another CGI library)
44998 * MANIFEST: add lib/webrick/cgi.rb.
45000 Sat Dec 20 02:18:31 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45002 * misc/ruby-mode.el (ruby-calculate-indent): proper indentation
45003 inside of parentheses. [ruby-dev:22308]
45005 Fri Dec 19 21:24:22 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45007 * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): should not set
45008 HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH.
45010 * lib/webrick/https.rb (HTTPRequest#parse): should check presence
45011 of cert() method to detect SSLSocket.
45013 Fri Dec 19 22:56:46 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45015 * lib/soap/property.rb (SOAP::Property#load): new method for loading
45016 property value into existing property tree.
45018 * test/soap/test_property.rb: add test.
45020 Fri Dec 19 19:21:49 2003 akira yamada <akira@ruby-lang.org>
45022 * lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):
45023 should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}.
45025 Fri Dec 19 17:36:49 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45027 * ext/tk/sample/tkmultilistbox.rb: bug fix
45029 * ext/tk/sample/tkmultilistframe.rb: new sample script
45031 Fri Dec 19 03:44:27 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45033 * lib/webrick/httputils.rb (parse_form_data): should return an
45034 empty Hash if the body is empty.
45036 Thu Dec 18 21:47:35 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45038 * lib/mkmf.rb (create_makefile): should remove deffile if it's
45039 made by miniruby. based on nobu's patch.
45041 Thu Dec 18 21:44:21 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45043 * eval.c (stack_extend): ignore inline optimization on VC7.
45045 * win32/Makefile.sub (OS, RT): can override.
45047 * win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none
45048 option. based on Tietew's patch [ruby-dev:22289]
45050 Thu Dec 18 16:38:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45052 * dir.c (fnmatch): unlike find_dirsep(), rb_path_next() never
45055 Thu Dec 18 15:27:59 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45057 * lib/ipaddr.rb (IPSocket::getaddress): merge usa's patch.
45060 Wed Dec 17 15:15:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45062 * lib/cgi.rb (CGI::QueryExtension::Value::[]): should work like
45063 String#[] if more than one arguments are specified.
45065 * lib/delegate.rb: avoid using common instance name as "@obj".
45067 * lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer
45068 subclass of String, but DelegateClass(String).
45070 * ext/curses/extconf.rb: restore function check for init_color.
45073 * Makefile.in: need to specify $(MAINLIBS) for the miniruby
45076 * configure.in: better FreeBSD -lc_r support.
45078 Wed Dec 17 00:16:14 2003 Minero Aoki <aamine@loveruby.net>
45080 * ext/strscan/strscan.c: new method
45081 StringScanner#beginning_of_line? (alias #bol?)
45083 * ext/strscan/strscan.c: new method StringScanner#concat and #<<.
45085 * ext/strscan/strscan.c: StringScanner#new(str) does not duplicate
45086 nor freeze STR (allow destructive modification).
45088 * test/strscan/test_stringscanner.rb: test new methods above.
45090 * test/strscan/test_stringscanner.rb: test destructive string
45093 Tue Dec 16 21:20:47 2003 Tanaka Akira <akr@m17n.org>
45095 * lib/pp.rb: don't use local variable `pp'.
45097 * lib/prettyprint.rb: ditto.
45099 Tue Dec 16 13:20:43 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45101 * ext/tk/lib/tk.rb: condition bug of if statement on
45102 {pack,grid}_propagate methods
45104 Tue Dec 16 03:17:29 2003 why the lucky stiff <why@ruby-lang.org>
45106 * lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]
45108 * test/yaml/test_yaml.rb: add test.
45110 Tue Dec 16 01:14:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45112 * eval.c (catch_timer): check rb_thread_crtical in main native
45115 * eval.c (thread_timer): just sends signals periodically, to
45116 prevent main native thread from receiving them in critical
45117 section. [ruby-core:01959]
45119 Mon Dec 15 13:32:22 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45121 * dir.c (check_dirname): check string safety and remove extraneous
45122 trailing directory separators. [ruby-dev:22279]
45124 * file.c: renamed and externalized rb_path_next,
45125 rb_path_skip_prefix, rb_path_last_separator, rb_path_end.
45127 * intern.h: prototypes for rb_path_next, rb_path_skip_prefix,
45128 rb_path_last_separator, rb_path_end.
45130 Mon Dec 15 09:27:46 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45132 * ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): first argument
45133 of rb_protect should take an argument of VALUE.
45135 Sun Dec 14 18:46:48 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45137 * ext/socket/socket.c (Init_socket): IPv6 is not supported although
45138 AF_INET6 is defined on MinGW.
45140 * lib/ipaddr.rb (AF_INET6): workaround in the environment which does
45143 Sat Dec 13 18:55:16 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45145 * ext/iconv/charset_alias.rb: preserve original order.
45147 * ext/iconv/extconf.rb: remove wrapper file at clean.
45149 Sat Dec 13 18:09:42 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45151 * eval.c (thread_timer): use timer by sub-thread and nanosleep.
45154 * gc.c (Init_stack): no stack adjustment for THREAD_SAFE.
45156 Sat Dec 13 17:17:59 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45158 * eval.c (proc_alloc): cache the created object at first time.
45159 [ruby-talk:61288], [ruby-dev:22240]
45161 Sat Dec 13 09:01:23 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45163 * configure.in: check ucontext.h.
45165 * eval.c: use getcontext/setcontext() instead of setjmp/longjmp()
45166 on ia64 or with native thread enabled. [ruby-core:01932]
45168 Sat Dec 13 03:09:14 2003 why the lucky stiff <why@ruby-lang.org>
45170 * lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]
45172 * test/yaml/test_yaml.rb: add test.
45174 Fri Dec 12 22:36:44 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45176 * lib/csv.rb: add Cell#to_str and Cell#to_s for /.../ =~ aCell,
45177 "#{aCell}" and so on.
45179 * test/csv/test_csv.rb: add tests.
45181 Fri Dec 12 19:33:06 2003 Minero Aoki <aamine@loveruby.net>
45183 * lib/fileutils.rb (mkdir): remove trailing `/' from pathes.
45185 * lib/fileutils.rb (rmdir): ditto. [ruby-dev:22238]
45187 * lib/fileutils.rb (rmdir_r): ditto.
45189 * lib/fileutils.rb (fu_copy_dir): check if it is a directory after
45192 Fri Dec 12 06:06:09 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45194 * eval.c (proc_invoke): fix class name in warning message for
45195 define_method. [ruby-dev:22235]
45197 Thu Dec 11 21:24:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45199 * ext/openssl/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12.
45201 * ext/openssl/ossl.[ch]: ditto.
45203 * ext/openssl/MANIFEST: add ossl_pkcs12.[ch].
45205 Thu Dec 11 20:54:28 2003 Minero Aoki <aamine@loveruby.net>
45207 * lib/fileutils.rb (mkdir_p): remove trailing `/' befere mkdir(2).
45208 mkdir("nonexistdir/") does not work on NetBSD/Alpha 1.6.1.
45210 * lib/fileutils.rb (fu_list): call to_str for all arguments.
45212 Thu Dec 11 20:07:01 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45214 * lib/ftools.rb (makedirs): sync with fileutils.
45216 Thu Dec 11 19:53:03 2003 Minero Aoki <aamine@loveruby.net>
45218 * lib/fileutils.rb (mkdir_p): catch all SystemCallErrors.
45219 (mkdir("C:\") causes EACCESS on Windows 2000/NTFS)
45221 Thu Dec 11 19:08:02 2003 Minero Aoki <aamine@loveruby.net>
45223 * lib/fileutils.rb (mkdir_p): check if it is a directory after
45224 mkdir(2) instead of before mkdir(2), to avoid race condition.
45226 Refer: mkinstalldirs sh script, GNU mkdir(1) (coreutils 5.0)
45228 Thu Dec 11 18:49:30 2003 Minero Aoki <aamine@loveruby.net>
45230 * lib/fileutils.rb: def m( arg ) -> def m(arg).
45232 Thu Dec 11 11:39:43 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45234 * configure.in (ieeefp.h), numeric.c: needed for finite() on
45235 Solaris. [ruby-core:01921]
45237 * file.c (rb_stat_inspect): adjust format specifier.
45239 * parse.c (arg_prepend): nodetype() is for debug use.
45241 * ruby.h (ISASCII, etc): cast to int to get rid of warning.
45243 * ruby.h (alloca.h): include even in GCC. [ruby-core:01925]
45245 * ext/bigdecimal/bigdecimal.c (GetVpValue): adjust format
45248 * ext/bigdecimal/bigdecimal.c (BigDecimal_prec, BigDecimal_coerce,
45249 BigDecimal_divmod): use rb_assoc_new() to suppress memory usage.
45251 * ext/bigdecimal/bigdecimal.c (BigDecimal_split): ditto.
45253 * ext/dl/sym.c (rb_dlsym_guardcall): guard itself should be
45256 * ext/iconv/iconv.c (iconv_convert): ensure actual parameter with
45259 * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): do not
45260 define unless used.
45262 * ext/pty/pty.c (getDevice): get rid of warning.
45264 * ext/socket/socket.c (port_str, sock_s_getaddrinfo,
45265 sock_s_getnameinfo): FIX2INT() now returns long.
45267 * ext/socket/socket.c (init_inetsock_internal): uninitialized
45270 * ext/syck/rubyext.c (syck_parser_assign_io): add prototype.
45272 * ext/syck/rubyext.c (rb_syck_mktime, yaml_org_handler): use
45273 ISDIGIT() instead of isdigit() to avoid warnings and for
45274 platforms which don't support non-ascii charater.
45276 Wed Dec 10 19:28:56 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45278 * ext/stringio/stringio.c (strio_read): set EOF flag at short read.
45279 [ruby-dev:22223], [ruby-dev:22224]
45281 Wed Dec 10 18:07:25 2003 Minero Aoki <aamine@loveruby.net>
45283 * lib/erb.rb: new method ERB#filename(=). [ruby-dev:22208]
45285 Wed Dec 10 17:54:51 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45287 * ext/stringio/stringio.c (strio_read): do not set EOF flag when
45288 requested length is zero. [ruby-dev:22214]
45290 Wed Dec 10 17:17:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45292 * io.c (read_all): should return given string even if data read is
45293 empty. [ruby-dev:22207]
45295 Wed Dec 10 17:16:06 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45297 * ext/stringio/stringio.c (strio_read): adjust behavior at reading
45298 beyond EOF to IO. [ruby-dev:22205]
45300 * test/ruby/ut_eof.rb (TestEOF::Seek): test behaviors at reading
45303 * test/ruby/test_file.rb, test/stringio/test_stringio.rb: include
45304 TestEOF::Seek test case.
45306 Wed Dec 10 15:01:19 2003 Shugo Maeda <shugo@ruby-lang.org>
45308 * test/monitor/test_monitor.rb (test_cond): use Queue#deq
45311 Wed Dec 10 14:45:39 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45313 * ext/pty/pty.c (HAVE_SYS_IOCTL_H): need to include <sys/ioctl.h>
45314 for TIOCSCTTY on *BSD. based on gotoyuzo's patch.
45315 (ruby-bugs:PR#1211)
45317 * ext/pty/pty.c (establishShell): should close descriptors if fork
45320 Wed Dec 10 12:53:05 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45322 * win32/win32.h: define execv() using do_aspawn().
45324 * process.c (proc_exec_v): remove #ifdef's which stopped needing.
45326 Tue Dec 9 23:32:23 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45328 * ext/tk/lib/tk.rb, ext/tk/lib/tkcanvas.rb, ext/tk/lib/tkdialog.rb,
45329 ext/tk/lib/tkentry.rb, ext/tk/lib/tkscrollbox.rb, ext/tk/lib/tktext.rb,
45330 ext/tk/sample/tkalignbox.rb, ext/tk/sample/tkcombobox.rb,
45331 ext/tk/sample/tkmultilistbox.rb, ext/tk/sample/tkoptdb.rb, ext/tk/sample/tktextframe.rb,
45332 ext/tk/sample/demos-en/dialog1.rb, ext/tk/sample/demos-en/dialog2.rb,
45333 ext/tk/sample/demos-jp/dialog1.rb, ext/tk/sample/demos-jp/dialog2.rb:
45334 overrided instance methods, which are private methods on the super
45335 class, are changed to 'private'
45337 Tue Dec 9 19:53:02 2003 akira yamada <akira@ruby-lang.org>
45339 * lib/uri/generic.rb (URI::Generic#route_from0): make case insensitive
45342 * test/uri/test_generic.rb (test_route): added tests for the above
45345 Tue Dec 9 14:10:48 2003 Tanaka Akira <akr@m17n.org>
45347 * io.c (rb_io_check_readable): don't call io_seek if EOF flag is set,
45348 to avoid clearing EOF flag.
45349 (rb_io_check_writable): ditto.
45351 Tue Dec 9 02:53:55 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45353 * ext/tk/sample/tkalignbox.rb: new sample script
45355 Tue Dec 9 00:45:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
45357 * lib/test/unit/assertions.rb: renamed #assert_raises to #assert_raise
45358 and made the former call the latter. [ruby-core:01890]
45360 * test/testunit/test_assertions.rb: ditto.
45362 Tue Dec 9 00:07:35 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45364 * lib/soap/rpc/standaloneServer.rb: add 'shutdown' and 'status'
45365 methods as delegates to WEBrick.
45367 * test/soap/calc/{test_calc.rb,test_calc2.rb},
45368 test/soap/helloworld/test_helloworld.rb,
45369 test/wsdl/datetime/test_datetime.rb, test/wsdl/raa/test_raa.rb:
45372 Mon Dec 8 22:48:03 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45374 * lib/test/unit/autorunner.rb: remove dependency to a particular
45375 runner. [ruby-core:01901], [ruby-list:38869]
45377 * lib/test/unit/ui/testrunnerutilities.rb: moved output level
45378 constants from Console.
45380 * lib/test/unit/ui/console/testrunner.rb: ditto.
45382 * lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize):
45383 accept output_level.
45385 Mon Dec 8 15:03:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45387 * ext/syck/syck.c (syck_io_str_read): get rid of buffer overflow.
45389 Mon Dec 8 13:02:11 2003 Minero Aoki <aamine@loveruby.net>
45391 * lib/uri/common.rb: new method URI.regexp. [ruby-dev:22121]
45393 * test/uri/test_common.rb: add test for URI.regexp.
45395 Mon Dec 8 12:44:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45397 * pack.c: define swap16 and swap32 only if they are not
45398 defined. OpenBSD defines these macros. [ruby-dev:22181]
45400 Sun Dec 7 20:54:17 2003 Tanaka Akira <akr@m17n.org>
45402 * ext/iconv/iconv.c (map_charset): make case sensitive.
45403 ext/iconv/charset_alias.rb (charset_alias): don't ignore
45404 config.charset's information. sort aliases.
45406 Sat Dec 6 22:58:03 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45408 * ext/openssl/ossl_ssl.c (ossl_start_ssl): new function to wrap
45409 SSL_connect and SSL_accept; if SSL_connect (or SSL_accept) returned
45410 but not finished the handshake process, we should retry it.
45412 * ext/openssl/ossl_ssl.c (ossl_ssl_connect): call ossl_start_ssl.
45414 * ext/openssl/ossl_ssl.c (ossl_ssl_accept): ditto.
45416 * ext/openssl/ossl_ssl.c (ossl_ssl_read): allow signal traps.
45418 Sat Dec 6 21:45:10 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45420 * io.c (flush_before_seek): flush before seek on any platform.
45422 * configure.in: ditto.
45424 Sat Dec 6 17:23:00 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45426 * lib/soap/soap.rb(SOAP::Env.getenv): allow upcase environment variable
45427 as well as downcase one.
45429 * lib/soap/netHttpClient.rb(SOAP::NetHttpClient#proxy=): check URI.
45431 Fri Dec 5 23:22:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45433 * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises,
45434 Test::Unit::Assertions::assert_nothing_raised): use the last
45435 argument as message unless class object.
45437 * test/testunit/test_assertions.rb (test_assert_raises): test for
45438 multiple exception list. [ruby-core:01891]
45440 * test/testunit/test_assertions.rb (test_assert_nothing_raised): test
45441 for non-exception classes.
45443 Fri Dec 5 22:23:04 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45445 * lib/soap/netHttpClient.rb: proxy support did not work. fixed.
45447 * lib/soap/property.rb: add class methods for loading property from
45448 stream/file/propertyfile. propertyfile is a file which is located at
45451 * lib/soap/soap.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb,
45452 lib/wsdl/importer.rb: load property from propertyfile 'soap/property'
45453 e.g. /usr/local/lib/ruby/site_ruby/1.8/soap/property.
45455 * test/soap/test_property.rb, test/soap/test_streamhandler.rb: new file.
45457 Fri Dec 5 17:26:23 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45459 * eval.c (rb_exec_end_proc): maintain tmp_end_procs.
45462 Fri Dec 5 13:36:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45464 * eval.c (rb_exec_end_proc): should not clear end_procs and
45465 ephemeral_end_procs before execution. [ruby-dev:22144]
45467 * eval.c (rb_obj_extend): call Module#extended hook after
45468 extended_object. [ruby-list:38866]
45470 * object.c (Init_Object): Module#extended defined.
45472 Fri Dec 5 13:17:30 2003 Tanaka Akira <akr@m17n.org>
45474 * test/ruby/test_pipe.rb: use IO.pipe instead of IO.popen.
45476 Fri Dec 5 11:54:45 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45478 * ext/stringio/stringio.c (strio_read): follow IO#read.
45480 * test/ruby/ut_eof.rb, test/ruby/test_file.rb, test/ruby/test_pipe.rb,
45481 test/stringio/test_stringio.rb: add EOF test.
45483 Fri Dec 5 02:49:35 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45485 * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises):
45486 allow multiple exception list. [ruby-core:01884]
45488 * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
45489 check whether arguments are subclass of Exception.
45491 Thu Dec 4 23:54:00 2003 Rick Ohnemus <rick.ohnemus@systemware.com>
45493 * dln.c (aix_loaderror): should not use member named 'errno' which
45494 might be a macro (e.g. on AIX).
45496 Thu Dec 4 23:32:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45498 * io.c (read_all): do not depend on lseek position.
45501 Thu Dec 4 22:37:26 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45503 * eval.c (rb_eval): preserve $! value when retry happens in the
45504 rescue clause. [ruby-talk:86697]
45506 Thu Dec 4 21:50:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45508 * lib/drb/drb.rb (DRb::DRbMessage::send_request, send_reply):
45509 should rescue errors and re-raise DRbConnError on write too.
45512 Thu Dec 4 16:41:17 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45514 * parse.y (exc_list): allow expanding list. [ruby-dev:22134]
45516 Thu Dec 4 14:09:24 2003 Minero Aoki <aamine@loveruby.net>
45518 * test/fileutils/test_fileutils.rb (test_cp): test if the error is
45519 kind of SystemCallError. It is needless details that which errno
45520 is set on each systems.
45522 Thu Dec 4 13:24:13 2003 Shugo Maeda <shugo@ruby-lang.org>
45524 * lib/monitor.rb: use Object#__send__ instead of Object#send.
45526 Thu Dec 4 13:17:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45528 * lib/soap/streamHandler.rb: support latest released version of
45531 Thu Dec 4 13:04:44 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45533 * lib/soap/soap.rb: add SOAP::Env module for environment repository
45534 such as HTTP_PROXY.
45536 * lib/soap/property.rb: property implementation.
45538 * lib/soap/streamHandler.rb, lib/soap/wsdlDriver.rb,
45539 lib/soap/rpc/driver.rb: use soap/property.rb.
45541 * lib/wsdl/importer.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb:
45544 * lib/soap/netHttpClient.rb: add basic_auth, ssl_config, and cookie
45545 management interface, but ignored for now.
45547 * lib/xsd/charset.rb: add XSD::Charset.encoding= interface to set
45548 wiredump charset explicitly. it was fixed to 'utf-8' when iconv or
45549 uconv module was found.
45551 Thu Dec 4 10:43:58 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45553 * ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7
45556 Thu Dec 4 10:27:12 2003 Minero Aoki <aamine@loveruby.net>
45558 * lib/net/http.rb: update hyperlink to the Japanese document.
45560 Thu Dec 4 09:12:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45562 * ext/openssl/ossl_asn1.c (asn1time_to_time): should check that
45563 the underlying value of ASN1_TIME isn't NULL. [ruby-core:01881]
45565 Thu Dec 4 08:29:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45567 * lib/webrick/server.rb (GenericServer#start): should rescue
45568 Exception to avoid unexpected aborting. [ruby-core:01853]
45570 * lib/webrick/server.rb (GenericServer#start_thread): should check
45571 that peeraddr isn't nil before printing.
45573 * lib/webrick/httpresponse.rb (HTTPResponse#start_thread): should
45574 rescue Exception to avoid unexpected aborting of thread.
45576 Thu Dec 4 03:48:59 2003 Tanaka Akira <akr@m17n.org>
45578 * lib/pathname.rb (Pathname#link, Pathname#symlink): obsoleted.
45579 (Pathname#make_link, Pathname#make_symlink): new method.
45581 Thu Dec 4 01:45:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45583 * io.c (argf_read): should not terminate on empty string; wait
45584 until real EOF. [ruby-dev:21969]
45586 * io.c (argf_read): should adjust length to read, when length is
45587 specified and read spans command line argument files.
45589 Wed Dec 3 19:38:36 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
45591 * lib/drb/drb.rb: correct fcntl parameter. [ruby-dev:22120]
45593 Wed Dec 3 13:49:07 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45595 * ext/tk/lib/tk.rb: 'format'==>'Kernel.format' (avoid override trouble)
45597 * ext/tk/lib/tkafter.rb: ditto.
45599 * ext/tk/lib/tkcanvas.rb: ditto.
45601 * ext/tk/lib/tkdialog.rb: ditto.
45603 * ext/tk/lib/tktext.rb: ditto.
45605 Wed Dec 3 13:28:13 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45607 * Makefile.in (lex.c): try gperf first, and copy from the source
45608 directory if failed. [ruby-dev:22123]
45610 * ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.
45612 * lib/mkmf.rb (configuration): DLDFLAGS was duplicated.
45614 Tue Dec 2 23:18:12 2003 Minero Aoki <aamine@loveruby.net>
45616 * lib/net/http.rb: wrote the warning about HTTP_PROXY environment
45619 Tue Dec 2 21:31:42 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45621 * bin/testrb: new test runner. [ruby-core:01845]
45623 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner.run,
45624 Test::Unit::AutoRunner#process_args): take test list to run and
45627 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::RUNNERS,
45628 Test::Unit::AutoRunner#run): should not exit inside a library,
45629 just return the result instead.
45631 * lib/test/unit.rb: ditto.
45633 * test/runner.rb: exit with the test result.
45635 Tue Dec 2 20:18:48 2003 Eric Sunshine <sunshine@sunshineco.com>
45637 * configure.in (AC_PROG_YACC): AC_DEFINE(OLD_YACC) if Yacc is found
45638 instead of Bison or byacc.
45640 * parse.y: If OLD_YACC is defined, ensure that YYMAXDEPTH is at least
45641 10000 (Bison's default) since some old versions of Yacc define it as
45642 low as 150 by default, which is too low for Ruby to parse some files,
45643 such as date/format.rb. Among other issues, the parse problem causes
45644 "make test" to fail.
45646 Tue Dec 2 20:03:20 2003 Minero Aoki <aamine@loveruby.net>
45648 * test/fileutils/test_fileutils.rb: check if Pathnames are usable
45651 Tue Dec 2 04:22:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
45653 * lib/test/unit/assertions.rb: fixed #assert_no_match message.
45655 * test/testunit/test_assertions.rb: ditto.
45657 Tue Dec 2 00:43:00 2003 why the lucky stiff <why@ruby-lang.org>
45659 * ext/syck/syck.c: string buffering bug. decrementing by full
45660 max_size now. [ruby-core:01834]
45662 Mon Dec 1 21:33:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45664 * numeric.c (num_sadded): prohibit singleton method definition for
45665 Numerics. fill yet another gap between Fixnum and Bignum.
45667 Mon Dec 1 17:33:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45669 * pack.c (htov16): converts endian using swap16. htov32(), hton16,
45670 hton32 as well. [ruby-talk:85377]
45672 * pack.c (swap16): swap 2 bytes no matter how big short is on the
45673 platform. swap32() is also prepared.
45675 * numeric.c (rb_num2int): returns long to preserve information.
45676 rb_fix2int(), rb_num2uint(), rb_fix2uint() as well.
45679 * numeric.c (rb_num2uint): should not check for value range if the
45680 source value is negative.
45682 Mon Dec 1 17:14:34 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45684 * sample/optparse/opttest.rb: added.
45686 Mon Dec 1 16:10:52 2003 Dave Thomas <dave@pragprog.com>
45688 * lib/rdoc/rdoc.rb: (etc) initial merge into main tree.
45690 Mon Dec 1 14:17:49 2003 Minero Aoki <aamine@loveruby.net>
45692 * lib/fileutils.rb (fu_each_src_dest0): call #to_str to allow
45693 Pathname for arguments. [ruby-core:01795]
45695 * test/fileutils/test_fileutils.rb: does much strict test on
45696 "same" files detecting.
45698 Mon Dec 1 09:28:14 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45700 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
45701 (XCFLAGS): re-export $(XCFLAGS).
45703 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
45704 (ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value).
45706 Mon Dec 1 01:03:27 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45708 * lib/mkmf.rb (TRY_LINK, link_command): added support for DLDFLAGS
45709 and ARCH_FLAG. [ruby-dev:22085]
45711 Sun Nov 30 20:18:07 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45713 * configure.in: keep ARCH_FLAG separate. export ARCH_FLAG.
45716 * Makefile.in: add ARCH_FLAG to CFLAGS.
45718 * Makefile.in: add @CPPFLAGS@ to CPPFLAGS.
45720 * lib/mkmf.rb (link_command, cc_command): use ARCH_FLAG.
45722 * lib/mkmf.rb (configuration): add ARCH_FLAG to DLDFLAGS.
45724 * Makefile.in: add ARCH_FLAG to DLDFLAGS.
45726 * configure.in: should put getcwd in AC_CHECK_FUNCS, not
45727 AC_REPLACE_FUNCS. [ruby-core:01826]
45729 Sun Nov 30 18:22:48 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45731 * configure.in: do not override CCDLDFLAGS, LDFLAGS, XLDFLAGS,
45732 DLDFLAGS and LDSHARED.
45734 * configure.in: XCFLAGS for compiling ruby itself. ARCH_FLAG is
45735 reflected in CFLAGS.
45737 * lib/mkmf.rb: ditto. do not import XCFLAGS from config.status.
45739 Sun Nov 30 17:37:36 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45741 * ext/tk/lib/tk.rb: bug fix [ruby-talk:86746]
45743 Sun Nov 30 13:02:00 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45745 * lib/soap/encodingstyle/soapHandler.rb: refactoring - Simplifying
45746 Conditional Expressions.
45748 * lib/wsdl/soap/definitions.rb: refactoring - Move Method.
45750 * test/xsd/{test_noencoding.rb,noencoding.xml}: new files. test for
45751 encoding unspecified XML file parsing.
45753 * test/wsdl/{test_fault.rb,map,datetime}: new files. test of
45754 SOAPFault, dateTime and Apache's Map.
45756 Sun Nov 30 09:35:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45758 * string.c (rb_str_update): get rid of SEGV at just allocated String.
45761 Fri Nov 28 23:19:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45763 * gc.c (gc_mark): explicitly check mark recursion levels, instead
45764 of unreliable stack length.
45766 Fri Nov 28 22:49:56 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
45768 * lib/rinda/rinda.rb: fix TupleSpaceProxy#read, read_all.
45770 Fri Nov 28 21:44:40 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45772 * test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not
45773 a directory for FreeBSD.
45775 Fri Nov 28 19:37:56 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45777 * hash.c (env_has_value, env_index): must match exactly.
45779 * test/ruby/test_env.rb (test_has_value, test_index): condition for
45782 Fri Nov 28 17:59:20 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45784 * test/ruby/test_env.rb: add tests for ENV.
45786 Fri Nov 28 17:47:46 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
45788 * lib/drb/drb.rb (DRbMessage#load): rescue Errno::* and raise
45791 Fri Nov 28 15:41:15 2003 Tanaka Akira <akr@m17n.org>
45793 * lib/pathname.rb (Pathname#realpath): obsolete the force_absolute
45796 Fri Nov 28 14:41:52 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45798 * lib/soap/streamHandler.rb: drop unused http parameters.
45800 * lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb,
45801 lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb,
45802 lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken
45803 under WSDL dynanic client environment. fixed.
45805 * test/wsdl/raa/*: add tests.
45807 * lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.)
45808 bug of soap4r. XSDDateTimeImple.to_time passed a Float to
45809 Time.local/Time.gm as an usec, and NUM2LONG(rb_num2long for Float)
45810 causes rounding error.
45812 * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: add tests.
45814 Fri Nov 28 04:15:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45816 * eval.c (method_arity): used wrong Proc object. [ruby-talk:86504]
45818 Fri Nov 28 00:47:29 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45820 * eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true as
45821 success, false as failure. [ruby-dev:22067]
45823 * eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use
45824 ANSI macro instead of hard coded value.
45826 * eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not but
45829 Thu Nov 27 22:05:48 2003 Akinori MUSHA <knu@iDaemons.org>
45831 * eval.c, gc.c: FreeBSD/ia64 currently does not have a way for a
45832 process to get the base address for the RSE backing store, so
45833 hardcode it for the moment.
45834 [submitted by: Marcel Moolenaar <marcel@FreeBSD.org>]
45836 Thu Nov 27 17:36:42 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45838 * ext/tk/lib/tkafter.rb: bug fix on TkTimer#cancel_on_exception=(mode).
45839 TkTimer#wait recieves the exception of the callback.
45840 The exception is kept on @return_value.
45842 Thu Nov 27 16:58:48 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45844 * win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.
45846 Wed Nov 26 15:38:47 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45848 * test/fileutils/test_fileutils.rb (test_ln_s): should take the
45849 existing symbolic link for OpenBSD.
45851 Wed Nov 26 04:48:42 2003 why the lucky stiff <why@ruby-lang.org>
45853 * ext/syck/token.c: removed YYTOKTMP references which
45854 were causing buffer overflows on large block scalars,
45855 comments, quoted scalars and plain scalars.
45857 * ext/syck/rubyext.c: dynamic changing of buffer size.
45859 * ext/syck/syck.h: default buffer size of 4k.
45861 Wed Nov 26 00:55:30 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45863 * lib/webrick/httpresponse.rb: add HTTPResponse#keep_alive=.
45865 * lib/webrick/httpserver.rb (HTTPServer#run): should pass the
45866 request's keep_alive flag to the response.
45868 Tue Nov 25 21:41:35 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45870 * defines.h (ENV_IGNORECASE): should define when DOSISH without
45871 human68k. [ruby-dev:22047]
45873 * hash.c (env_has_value, env_index): don't ignore case of value.
45876 Tue Nov 25 21:39:37 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45878 * file.c (path_check_1): honor sticky bits always.
45881 Tue Nov 25 20:02:14 2003 Minero Aoki <aamine@loveruby.net>
45883 * test/fileutils/test_fileutils.rb: do test in more deep
45886 * test/fileutils/test_nowrite.rb: ditto.
45888 Tue Nov 25 19:04:23 2003 Tanaka Akira <akr@m17n.org>
45890 * lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test
45893 Tue Nov 25 18:13:30 2003 Minero Aoki <aamine@loveruby.net>
45895 * test/fileutils/test_fileutils.rb: chdir Dir.tmpdir before each
45896 test. [ruby-dev:22045]
45898 * test/fileutils/test_nowrite.rb: ditto.
45900 Tue Nov 25 17:52:11 2003 Tanaka Akira <akr@m17n.org>
45902 * lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGI
45903 if the environment variable is case sensitive.
45905 Tue Nov 25 16:41:33 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45907 * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb:
45908 removed. this test requires extra libraries in soap4r/1.5.*.
45910 Tue Nov 25 16:24:42 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45912 * lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license;
45915 * lib/soap/rpc/driver.rb, lib/soap/wsdlDriver.rb,
45916 lib/soap/streamHandler.rb: add interface to streamhandler.
45918 * lib/soap/marshal.rb: raise error if parse fails.
45920 * lib/soap/netHttpClient.rb: add https support. Patched by
45923 * lib/soap/netHttpClient.rb: dump HTTP response message body by itself.
45925 * lib/soap/rpc/driver.rb, lib/soap/rpc/proxy.rb,
45926 lib/soap/wsdlDriver.rb: add driver#mandatorycharset interface to foce
45927 using charset for parsing response from buggy server.
45929 * lib/soap/encodingstyle/soapHandler.rb: support Apache Axis's half
45930 typed multi-ref array.
45932 * lib/soap/mapping/factory.rb, lib/soap/mapping/registry.rb: map
45933 SOAPStruct which has multi-accessors which name are the same, to an
45936 * lib/soap/rpc/element.rb: fixed illegal parameter order.
45938 * lib/soap/rpc/element.rb: element name of response message could have
45939 the name other than 'return'.
45941 * lib/wsdl/operation.rb, lib/wsdl/operationBinding.rb,
45942 lib/wsdl/soap/classDefCreator.rb, lib/wsdl/soap/methodDefCreator.rb,
45943 lib/wsdl/soap/methodDefCreatorSupport.rb: WSDL/1.1 allows plural
45944 fault definition in a operation. [ruby-talk:84948]
45946 * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: add
45947 test for above fix.
45949 * lib/wsdl/soap/complexType.rb: support WSDL array definition with
45950 maxOccures="unbound".
45952 * lib/xsd/charset.rb: use cp932 under emx. Patched by
45953 Siena. / SHINAGAWA, Norihide in [ruby-dev:21972]
45955 * lib/xsd/xmlparser/parser.rb: set @charset nil by default. Nil means
45956 'follow encoding declaration in XML'.
45958 * sample/soap/digraph.rb, sample/wsdl/amazon/wsdlDriver.rb,
45959 sample/wsdl/googleSearch/sampleClient.rb,
45960 sample/wsdl/googleSearch/wsdlDriver.rb,
45961 test/wsdl/test_emptycomplextype.rb,
45962 test/wsdl/marshal/test_wsdlmarshal.rb,
45963 test/xsd/test_xmlschemaparser.rb: use File.open(...) { |f| f.read }
45964 instead of File.open(...).read. [ruby-dev:21964]
45966 * test/wsdl/emptycomplextype.wsdl, test/wsdl/test_emptycomplextype.rb:
45967 simplify the test case.
45969 * test/wsdl/axisArray/*: add tests for axis's array encoding.
45971 Tue Nov 25 16:15:29 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45973 * ruby.h: don't treat Cygwin as Windows.
45975 Tue Nov 25 15:18:28 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45977 * configure.in: change default value of --enable-pthread (default: no)
45979 Tue Nov 25 07:31:16 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45981 * parse.y (primary): allow newlines just before right argument
45982 parenthesis. (ruby-bugs:PR#1221)
45984 Mon Nov 24 23:32:06 2003 Tanaka Akira <akr@m17n.org>
45986 * lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): use
45987 catch/throw for redirection instead of exception.
45988 (OpenURI.open_loop, OpenURI.redirectable?): restrict redirection.
45990 Mon Nov 24 19:59:48 2003 Tanaka Akira <akr@m17n.org>
45992 * lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXY
45993 instead of HTTP_PROXY in the CGI environment.
45995 Mon Nov 24 19:32:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45997 * ext/etc/extconf.rb: check for pw_passwd in struct passwd and
45998 gr_passwd in struct group for DJGPP.
46000 * ext/etc/etc.c: ditto.
46002 * ext/Setup.dj: support for curses, etc, zlib.
46004 Mon Nov 24 17:00:00 2003 Tanaka Akira <akr@m17n.org>
46006 * lib/open-uri.rb: validate option names.
46007 :content_length_proc and :progress_proc option implemented.
46009 Mon Nov 24 14:53:10 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46011 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
46012 (XCFLAGS): output empty value instead of `-DRUBY_EXPORT'.
46014 Sat Nov 22 23:09:45 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46016 * configure.in: set enable_pthread to no on MinGW.
46018 Sat Nov 22 22:56:20 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46020 * configure.in: add --enable-pthread option (default: yes)
46022 Sat Nov 22 22:48:46 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46024 * ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkComposite
46026 * ext/tk/lib/tkafter.rb: bug fix of TkAfter#start
46028 * ext/tk/sample/tkcombobox.rb: new sample script
46030 * ext/tcltklib/tcltklib.c: add native thread check
46032 Sat Nov 22 18:49:47 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46034 * ext/curses/curses.c (window_nodelay): nodelay() of NetBSD's
46035 libcruses returns no value, just like keypad().
46037 Sat Nov 22 17:36:36 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46039 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
46040 (HAVE_GETCWD): output to config.h.
46042 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
46043 (XCFLAGS): output to config.status.
46045 Sat Nov 22 13:10:10 2003 Minero Aoki <aamine@loveruby.net>
46047 * lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino.
46049 Sat Nov 22 11:28:48 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46051 * gc.c (Init_stack): stack region is far smaller than usual if
46054 Sat Nov 22 07:30:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46056 * lib/test/unit/util/backtracefilter.rb: fixed a bug that occurred
46057 when an exception had no backtrace.
46059 * test/testunit/util/test_backtracefilter.rb: ditto.
46061 Fri Nov 21 16:44:18 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46063 * ext/tk/lib/tkentry.rb: fix the encoding trouble of percent
46064 substitutions on validatecommand option of TkEntry widget
46066 * ext/tk/lib/tk.rb: fix bug on {pack|grid}_propagate() method
46068 Fri Nov 21 16:12:11 2003 Akinori MUSHA <knu@iDaemons.org>
46070 * ruby.1: Fix markups and grammar.
46072 Fri Nov 21 14:49:42 2003 Minero Aoki <aamine@loveruby.net>
46074 * ruby.1: wrote about ruby related environment variables.
46076 Fri Nov 21 12:28:03 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46078 * marshal.c (w_extended): singleton methods should not be checked
46079 when dumping via marshal_dump() or _dump(). [ruby-talk:85909]
46081 Fri Nov 21 01:40:00 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46083 * configure.in: check <pthread.h>
46085 * ruby.h: include pthread.h if existence.
46086 define is_ruby_native() macro when not HAVE_NATIVETHREAD
46088 * eval.c: undef is_ruby_native() function when not HAVE_NATIVETHREAD
46090 Fri Nov 21 00:43:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46092 * lib/test/unit/assertions.rb: use #__send__ instead of #send.
46094 * lib/test/unit/testcase.rb: ditto.
46096 Thu Nov 20 19:19:22 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46098 * configure.in: don't find the Cygwin's pthread library on MinGW.
46100 Thu Nov 20 19:15:50 2003 Minero Aoki <aamine@loveruby.net>
46102 * lib/fileutils.rb (have_st_ino?): emx (OS/2 with EMX) does not
46103 have st_ino (always 0). [ruby-dev:21972]
46105 * lib/fileutils.rb (rename_cannot_overwrite_file?): emx does not
46106 allow overwriting files by rename(2).
46108 * test/fileutils/test_fileutils.rb: windows? ->
46109 have_drive_letter?, have_file_perm?
46111 Thu Nov 20 17:50:58 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46113 * ext/tk/sample/tkballoonhelp.rb: new sample script
46115 * ext/tk/sample/tkmultilistbox.rb: ditto
46117 * ext/tk/sample/tktextframe.rb: ditto
46119 Thu Nov 20 13:37:34 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46121 * ruby.h: define is_ruby_native_thread() for no native thread
46126 Thu Nov 20 12:42:47 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46128 * configure.in: always check existence of the pthread library
46130 * ruby.h: define macros for ruby's native thread check
46132 * eval.c: add ruby's native thread check
46136 Wed Nov 19 14:45:18 2003 Minero Aoki <aamine@loveruby.net>
46138 * lib/net/http.rb (to_ary): print more friendly warning message.
46140 Wed Nov 19 14:32:08 2003 Minero Aoki <aamine@loveruby.net>
46142 * lib/fileutils.rb (fu_same?): add djgpp and wince.
46144 * lib/fileutils.rb (cannot_overwrite_file?): add wince.
46146 Wed Nov 19 11:04:47 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46148 * lib/fileutils.rb (cannot_overwrite_file?, have_st_ino?): bccwin32
46149 is same as mswin32.
46151 Wed Nov 19 07:54:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46153 * lib/test/unit.rb: do not run tests if $! is set.
46155 * lib/test/unit/assertionfailederror.rb: extend StandardError instead
46156 Exception (irb catches the former but not the latter).
46158 Tue Nov 18 23:31:36 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46160 * missing/memmove.c (memmove): take void *, not char *.
46162 * missing.h (memmove): ditto.
46164 * missing.h (strchr, strrchr): return char *, not int.
46166 Tue Nov 18 22:20:10 2003 Minero Aoki <aamine@loveruby.net>
46168 * lib/fileutils.rb (fu_same?): temporal fix for windows.
46170 Tue Nov 18 19:05:04 2003 Minero Aoki <aamine@loveruby.net>
46172 * lib/fileutils.rb (fu_same?): check by inode instead of path
46173 name, to detect two hard links pointing to the same content.
46175 * test/fileutils.rb: did not create correctly looped symlinks.
46177 Tue Nov 18 18:23:05 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46179 * ext/stringio/stringio.c (strio_read): behave as IO at empty string.
46180 [ruby-dev:21939], [ruby-dev:21941]
46182 * ext/stringio/stringio.c (strio_getc, strio_getline): set EOF flag.
46184 * ext/stringio/stringio.c (strio_rewind, strio_seek, strio_ungetc):
46187 * test/stringio/test_stringio.rb: imported from [ruby-dev:21941].
46189 Tue Nov 18 14:06:35 2003 Minero Aoki <aamine@loveruby.net>
46191 * lib/fileutils.rb (fu_each_src_dest): raise if src==dest.
46192 [ruby-talk:85344] [ruby-core:01699]
46194 * lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow
46195 e.g. remote objects for receivers.
46197 * lib/fileutils.rb: FileTest -> File.
46199 * lib/fileutils.rb: put parentheses for arguments of File.xxxx?
46201 * test/fileutils/test_fileutils.rb (test_cp): test "cp a a".
46203 * test/fileutils/test_fileutils.rb (test_mv): test "mv a a".
46205 * test/fileutils/test_fileutils.rb (test_ln): test "ln a a".
46207 * test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a".
46209 * test/fileutils/test_fileutils.rb (test_install): test "install a a".
46211 * test/fileutils/fileasserts.rb: new method assert_symlink.
46213 * test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory.
46215 Mon Nov 17 19:38:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46217 * file.c (getcwdofdrv): avoid using getcwd() directly, use
46218 my_getcwd() instead.
46220 * merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine
46221 <sunshine@sunshineco.com>. [ruby-core:01596]
46223 Mon Nov 17 10:50:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46225 * lib/optparse.rb (OptionParser::Completion::complete): allow least
46226 common completion for three or more candidates.
46228 Mon Nov 17 09:41:38 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46230 * lib/test/unit/ui/tk/testrunner.rb,
46231 lib/test/unit/ui/gtk/testrunner.rb:
46232 run GUI main loop in sub thread.
46234 * lib/test/unit/ui/gtk2/testrunner.rb: imported from rough.
46236 * lib/test/unit/autorunner.rb (keyword_display): sort keywords.
46238 Sun Nov 16 18:10:57 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46240 * eval.c (rb_eval): iterator should return value from next inside
46241 begin/rescue/end. (ruby-bugs:PR#1218)
46243 Sun Nov 16 13:26:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46245 * marshal.c (w_object): LINK check earlier than anything else,
46246 i.e. do not dump TYPE_IVAR for already dumped objects.
46247 (ruby-bugs:PR#1220)
46249 * eval.c (rb_eval): call "inherited" only when a new class is
46250 generated; not on reopening.
46252 * eval.c (eval): prepend error position in evaluating string to
46253 "mesg" attribute string only when it's available and is a
46256 Sun Nov 16 12:16:10 2003 Minero Aoki <aamine@loveruby.net>
46258 * lib/net/protocol.rb: logging response body. [experimental]
46261 Sun Nov 16 10:49:38 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
46263 * lib/thread.rb (Thread.exclusive): wrap method definition in
46264 class Thread to enable rdoc to process.
46266 Sun Nov 16 09:45:23 2003 Minero Aoki <aamine@loveruby.net>
46268 * lib/net/http.rb (set_debug_output): warn if method is called
46269 after #start. [ruby-dev:38798]
46271 Sun Nov 16 04:41:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46273 * eval.c (eval): do not re-raise exception to avoid unnecessary
46274 exception copying, instead modify exception and internal
46275 information to adjust eval().
46277 * eval.c (backtrace): can return the current frame information
46280 Sat Nov 15 22:16:42 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46282 * /ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext):
46283 refine error message.
46285 Sat Nov 15 10:05:40 2003 Tanaka Akira <akr@m17n.org>
46287 * lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):
46288 refactored to support options.
46289 (Buffer): maintain size by this class.
46291 Sat Nov 15 07:40:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46293 * eval.c (rb_method_node): new API to retrieve method body.
46295 Fri Nov 14 13:21:30 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46297 * ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)
46299 * ext/tk/lib/tkdialog.rb: TkDialog.new accepts a parent widget
46300 argument [ruby-talk:85066]
46302 Thu Nov 13 20:53:35 2003 Tanaka Akira <akr@m17n.org>
46304 * lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.
46307 Thu Nov 13 19:17:00 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46309 * lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow
46312 Thu Nov 13 17:56:41 2003 Tanaka Akira <akr@m17n.org>
46314 * lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.
46315 reported by Take_tk <ggb03124@nifty.ne.jp>.
46318 Thu Nov 13 16:45:53 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46320 * ext/openssl/ossl_x509req.c (ossl_x509req_to_der): add function for
46321 X509::Request#to_der.
46323 Thu Nov 13 11:31:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46325 * lib/optparse.rb (OptionParser::Completion#complete): prior shorter
46326 name to containing longer name.
46328 Thu Nov 13 06:08:54 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46330 * ext/tk/lib/tk.rb: stop freezing some classes
46332 * ext/tk/lib/multi-tk.rb: ditto.
46334 Wed Nov 12 17:32:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46336 * lib/test/unit/assertions.rb (assert_throws, assert_nothing_thrown):
46337 uncaught throw in sub thread raises ThreadError.
46339 * lib/test/unit/ui/tk/testrunner.rb (setup_ui): "expand" is not
46342 Wed Nov 12 14:09:43 2003 Shugo Maeda <shugo@ruby-lang.org>
46344 * test/monitor/test_monitor.rb: fix the timing problem by Queue.
46346 Wed Nov 12 12:59:44 2003 Shugo Maeda <shugo@ruby-lang.org>
46348 * test/monitor/test_monitor.rb: added.
46350 Wed Nov 12 10:14:28 2003 Shugo Maeda <shugo@ruby-lang.org>
46352 * lib/monitor.rb: refactored. Thanks, Gennady Bystritsky.
46354 Wed Nov 12 06:11:39 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46356 * ext/openssl/ossl.c (ossl_x509_sk2ary, ossl_x509crl_sk2ary):
46357 add functions to convert STACK into Array.
46359 * ext/openssl/ossl.h: add prototypes.
46361 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_set_certificates,
46362 ossl_pkcs7_get_certificates, ossl_pkcs7_get_crls,
46363 ossl_pkcs7_set_crls): add functions for PKCS7#certificates=
46364 PKCS7#certificates, PKCS7#crls= and PKCS7#crls.
46366 Wed Nov 12 00:47:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46368 * lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.
46370 Tue Nov 11 23:54:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46372 * lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handle
46373 the case when the requested font is not available.
46375 Tue Nov 11 22:44:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46377 * io.c (appendline): file may not end with newline. a bug if
46378 READ_DATA_PENDING_PTR is defined. [ruby-talk:84925]
46380 Tue Nov 11 10:42:41 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46382 * ext/tk/lib/tk.rb: raise an exception when creating TkWindow
46383 object, because TkWindow class is an abstract class.
46385 Tue Nov 11 03:30:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46387 * lib/ext/openssl/ossl_conf.c (ossl_config_get_value): return nil
46388 if the specified value doesn't exist.
46390 * lib/ext/openssl/ossl_conf.c (ossl_config_get_section): return
46391 a empty hash if the specified section doesn't exist.
46393 Mon Nov 10 11:40:29 2003 Shugo Maeda <shugo@ruby-lang.org>
46395 * lib/monitor.rb (wait): return true on signal/broadcastfalse and
46396 false on timeout. Thanks Gennady Bystritsky.
46398 Mon Nov 10 00:07:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46400 * parse.y (primary): primary_value may be 0 when syntax error.
46403 Sun Nov 9 02:05:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46405 * lib/test/unit/assertions.rb: un-deprecated #assert_not_nil to
46406 maintain symmetry with #assert_nil. Also added better output for
46409 * test/testunit/tc_assertions.rb: ditto.
46411 Sat Nov 8 18:50:20 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46413 * test/wsdl/raa/*: add new testcase for WSDL loading, parsing and
46416 * test/soap/marshal/*: backport from soap4r/1.5.1. all differences are
46419 * lib/soap/*: backport from soap4r/1.5.1. all differences are for
46422 * lib/wsdl/data.rb, lib/wsdl/xmlSchema/data.rb: move definition of
46423 ArrayTypeAttrName from ::WSDL::XMLSchema::* to ::WSDL::*.
46426 * lib/wsdl/soap/definitions.rb: element name typo in custom exception
46427 struct definition which is needed for wsdlDriver; camelCase ->
46430 Sat Nov 8 13:49:50 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46432 * configure.in: improvement of pthread check
46434 Sat Nov 8 13:28:46 2003 Takaaki Tateishi <ttate@ttsky.net>
46436 * ext/dl/sym.c: Add DL.win32_last_error and DL.last_error.
46437 Thanks, Kaoru Shirai.
46439 Sat Nov 8 06:19:38 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46441 * ext/tcltklib/tcltklib.c: To fix 'pthread-enabled Tcl/Tk' problem,
46442 TclTkIp#_eval calls Tcl_Eval() on the mainloop thread only
46443 (queueing a handler to the EventQueue).
46445 * ext/tcltklib/README.1st: edit the description of '--with-pthread-ext'
46447 Fri Nov 7 23:23:04 2003 Tanaka Akira <akr@m17n.org>
46449 * lib/pathname.rb (Pathname#+): if self or the argument is `.', return
46451 (Pathname#parent): if self is `.', return `..'.
46452 (Pathname#children): if self is `.', don't prepend self for a
46453 pathname in a result.
46454 (Pathname#join): re-implemented using Pathname#+.
46455 (Pathname#find): if self is `.', remove `./' prefix of yielding
46458 Fri Nov 7 10:23:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46460 * ext/socket/socket.c (make_hostent): get rid of SEGV on aliases
46461 lookup failure. (ruby-bugs:PR#1215)
46463 Fri Nov 7 04:08:05 2003 UENO Katsuhiro <katsu@blue.sky.or.jp>
46465 * ext/zlib/zlib.c (Init_zlib): define Zlib::GzipReader#each_line as
46466 an alias of Zlib::GzipReader#each.
46468 Fri Nov 7 01:03:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46470 * eval.c (rb_load): save and restore rb_prohibit_interrupt.
46473 Thu Nov 6 18:05:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46475 * io.c (rb_io_inspect): show the path also at a closed file.
46478 Thu Nov 6 11:42:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46480 * ext/stringio/stringio.c (strio_set_string, strio_reopen): check
46483 * ext/stringio/stringio.c (strio_copy, strio_ungetc, strio_write,
46484 strio_putc): add infection.
46486 * ext/stringio/stringio.c (strio_path): just nil. [ruby-dev:21846]
46488 * ruby.c (proc_options): reserve searched script path in the
46489 source file name table. [ruby-list:38765]
46491 * lib/optparse.rb (OptionParser::Completion#complete): default not to
46492 ignore case on completion. [ruby-talk:84726]
46494 * win32/win32.c (make_cmdvector): process backslashes even if a quote
46497 Wed Nov 5 23:49:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46499 * sample/openssl/gen_csr.rb: there (at least) is a CA which does not
46500 accept DN in UTF8STRING format. it's a sample.
46502 Wed Nov 5 22:55:16 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46504 * configure.in, eval.c, signal.c: : add '--with-pthread-ext'
46505 option to fix the pthread trouble on 'tcltklib'
46507 * ext/tcltklib/README.1st: add the description of '--with-pthread-ext'
46509 * ext/tk/lib/tktext.rb: add TkText#text_copy, text_cut, text_paste
46510 to support Tcl/Tk8.4's tk_textCopy, tk_textCut, tk_textPaste
46512 * ext/tk/lib/tk.rb: add TkMenu#set_focus support Tcl/Tk's
46515 Wed Nov 5 17:33:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46517 * eval.c (rb_load): allow interrupt during loaded program
46518 evaluation. [ruby-dev:21834]
46520 * hash.c (rb_hash_fetch): always warn if default argument and a
46521 block are supplied at the same time. [ruby-dev:21842]
46523 * hash.c (env_fetch): ditto.
46525 * array.c (rb_ary_fetch): ditto.
46527 Wed Nov 5 19:08:47 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46529 * lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):
46530 do not remove next argument if empty value is placed.
46532 * test/optparse: added.
46534 Wed Nov 5 17:05:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46536 * lib/test/unit/ui/gtk/testrunner.rb: typo.
46538 Wed Nov 5 11:13:32 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46540 * string.c: add #include "version.h". this file still depends on it.
46542 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
46543 wince/Makefile.sub: add version.h dependency to string.c.
46545 Wed Nov 5 09:14:23 2003 Shugo Maeda <shugo@ruby-lang.org>
46547 * lib/monitor.rb: revert to the previous revision.
46549 Wed Nov 5 08:39:51 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46551 * lib/webrick/https.rb (HTTPRequest#parse): set @client_cert_chain.
46553 * lib/webrick/https.rb (HTTPRequest#meta_vars): create
46554 SSL_CLIENT_CERT_CHAIN_n from @client_cert_chain.
46556 * ext/openssl/ossl_ssl.c (ossl_ssl_get_peer_cert_chain): return nil
46557 if no cert-chain was given.
46559 Tue Nov 4 23:44:48 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46561 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
46562 remove needless version.h dependency.
46564 Tue Nov 4 23:38:43 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46566 * class.c, hash.c, string.c: remove #include "version.h".
46568 * Makefile.in: remove needless version.h dependency.
46570 Tue Nov 4 06:54:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46572 * io.c (read_all): fptr->f may be NULL, if IO is closed in the
46575 * io.c (io_read): ditto.
46577 * string.c (get_pat): remove 1.8.0 warning code.
46579 * string.c (rb_str_match): extend warning until 1.8.2.
46581 * string.c (rb_str_match2): ditto.
46583 * class.c (class_instance_method_list): remove 1.8.0 warnings.
46584 method_list now recurs. [ruby-dev:21816]
46586 * class.c (rb_obj_singleton_methods): ditto.
46588 * array.c (rb_ary_select): remove select with block.
46591 * hash.c (rb_hash_select): ditto.
46593 * hash.c (env_select): ditto.
46595 * re.c (match_select): ditto.
46597 * struct.c (rb_struct_select): ditto.
46599 Mon Nov 3 22:53:21 2003 Minero Aoki <aamine@loveruby.net>
46601 * lib/racc/parser.rb: synchronize with Racc 1.4.4.
46603 * ext/racc/cparse/cparse.c: ditto.
46605 * ext/racc/cparse/cparse.c (parse_main): should abort when
46606 the length of LR state stack <=1, not ==0.
46608 Mon Nov 3 08:50:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46610 * process.c (check_uid_switch): remove duplicated error messages.
46612 * process.c (check_gid_switch): ditto.
46614 Sun Nov 2 02:28:33 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46616 * lib/webrick/ssl.rb: new option :SSLExtraChainCert.
46618 Sun Nov 2 01:02:04 2003 Akinori MUSHA <knu@iDaemons.org>
46620 * string.c (rb_str_hash): Update the HASH_PERL alternative hash
46621 algorithm in sync with Perl 5.8.
46623 * st.c (strhash): Ditto.
46625 Sat Nov 1 18:21:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46627 * ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method
46628 SSLSocket#peer_cert_chain.
46630 * ext/openssl/ossl_x509req.c (GetX509ReqPtr): new function
46631 which returns underlying X509_REQ.
46633 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_issuer_cert,
46634 ossl_x509extfactory_set_subject_cert, ossl_x509extfactory_set_crl,
46635 ossl_x509extfactory_set_subject_req, ossl_x509extfactory_set_config):
46636 use underlying C struct without duplication not to leak momory.
46638 Sat Nov 1 01:49:03 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46640 * lib/soap/mapping/factory.rb: mark marshalled basetype objects when
46641 @allow_original_mapping is true. multi-referencing basetype node is
46642 prohibited in SOAP/1.1 encoding but soap4r's original ruby object
46643 mapping requires basetype to be marked to detect self referencing
46644 loop. e.g. o = 1; o.instance_eval { @iv = o } soap4r's original
46645 mapping is only used through soap/marshal API.
46647 * test/soap/marshal/test_marshal.rb: add tests for self referencing
46650 * test/soap/calc/test_calc_cgi.rb: fix test name.
46652 Fri Oct 31 22:26:29 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
46654 * wince/string_wce.c (strrchr): should decrement pointer.
46656 * wince/Makefile.sub: correct a range of isdigit().
46658 Fri Oct 31 12:55:24 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46660 * configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD.
46663 * bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto.
46665 Fri Oct 31 01:38:14 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46667 * wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spaces
46668 at the beginning of line to remove by sed. (ruby-bugs-ja:PR#580)
46670 Fri Oct 31 01:02:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46672 * compar.c (cmp_equal): protect exceptions from <=> comparison
46673 again. returns nil if any exception or error happened during
46676 * eval.c (search_required): should update *featurep when DLEXT2 is
46677 defined. (ruby-bugs-ja:PR#581)
46679 Thu Oct 30 23:41:04 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
46681 * lib/drb/drb.rb: add DRbArray
46683 * lib/drb/invokemethod.rb: fix Hash#each problem. [ruby-dev:21773]
46685 * lib/drb/unix.rb: add LoadError. [ruby-dev:21743]
46687 Thu Oct 30 23:19:11 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46689 * lib/soap/generator.rb: better XML pretty printing.
46691 * lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace
46692 assignment in the element which has "encodingStyle" attribute, and
46693 add necessary namespace assignment for "arrayType" attribute.
46695 * test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process
46698 Thu Oct 30 22:59:39 2003 why the lucky stiff <why@ruby-lang.org>
46700 * ext/syck/yaml2byte.c: HASH const too long. Thanks, matz.
46702 Thu Oct 30 19:13:53 2003 Akinori MUSHA <knu@iDaemons.org>
46704 * ext/syck/MANIFEST: Add yamlbyte.h.
46706 Thu Oct 30 14:25:31 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46708 * io.c (READ_DATA_BUFFERED): new macro to detect whether stdio
46711 * io.c (rb_io_fptr_cleanup): move path deallocation to
46712 rb_io_fptr_finalize (finalizer called by GC).
46714 Thu Oct 30 13:23:39 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46716 * parse.y (logop): left may be NULL. [ruby-talk:84539]
46718 * eval.c (rb_eval): NODE_CASE nd_head may be NULL.
46720 Thu Oct 30 10:14:51 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46722 * lib/test/unit/autorunner.rb: make fox runner work.
46724 Thu Oct 30 09:32:26 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46726 * process.c (rb_f_system): fixed lack of security check before
46727 calling do_spawn() on win32. [ruby-talk:84555]
46729 Thu Oct 30 02:46:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46731 * eval.c (proc_invoke): single array value to normal Proc#call
46732 (i.e. not via lambda call), should be treated just like yield.
46735 Thu Oct 30 02:25:48 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46737 * ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
46738 add new method to inherit @sync from @io.sync.
46740 * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): no need to
46741 set sync flag explicitly.
46743 * ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): call super.
46745 * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): set extra chain
46746 certificates in @extra_chain_cert.
46748 Wed Oct 29 22:02:04 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46750 * test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby
46751 interpreter to exec, instead of test/ruby/envutil.rb,
46753 Wed Oct 29 19:58:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46755 * ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
46756 defined and TCL_MAJOR_VERSION >= 8.
46758 * ext/tcltklib/tcltklib.c (VwaitVarProc, WaitVariableProc,
46759 rb_threadVwaitProc): use CONST84 instead of CONST.
46761 * ext/tcltklib/tcltklib.c (ip_rbTkWaitCommand,
46762 ip_rb_threadTkWaitCommand): use CONST84 always.
46764 Wed Oct 29 17:27:05 2003 Tanaka Akira <akr@m17n.org>
46766 * re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.
46768 * lib/pathname.rb (realpath): examine Dir.pwd because it may have
46771 Wed Oct 29 17:16:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46773 * eval.c (rb_longjmp): must not disturb original jump.
46776 Wed Oct 29 15:28:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46778 * eval.c (Init_Proc): taint preallocated exception object
46779 sysstack_error. [ruby-talk:84534]
46781 Wed Oct 29 11:27:39 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46783 * parse.y (ret_args): node may be NULL. [ruby-talk:84530]
46785 Tue Oct 28 15:20:12 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46787 * ext/tcltklib/tcltklib.c (VwaitVarProc, ip_rbVwaitObjCmd,
46788 WaitVariableProc, WaitVisibilityProc, WaitWindowProc,
46789 ip_rbTkWaitObjCmd, ip_rbTkWaitCommand, rb_threadVwaitProc,
46790 rb_threadWaitVisibilityProc, rb_threadWaitWindowProc,
46791 ip_rb_threadVwaitObjCmd, ip_rb_threadTkWaitObjCmd): prototype;
46792 avoid VC++ warnings.
46794 Mon Oct 27 19:19:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46796 * eval.c (rb_longjmp): ignore reentering error while warning.
46799 Mon Oct 27 00:23:50 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46801 * ext/tcltklib/tcltklib.c (ip_ruby): bug fix on Win : hang-up when
46802 calling 'exit' in the Tk callback procedure. [ruby-list:38656]
46804 Sat Oct 25 09:18:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46806 * eval.c (rb_method_missing): protect exception from within
46807 "inspect". (ruby-bugs:PR#1204)
46809 Fri Oct 24 23:26:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46811 * hash.c (rb_hash_each): Hash#each should yield single value.
46814 * hash.c (env_each): ditto for ENV.each.
46816 Thu Oct 23 20:25:32 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46818 * lib/webrick/server.rb (GenericServer#start): should rescue
46819 IOError from IO::accept. [ruby-dev:21692]
46821 Thu Oct 23 17:59:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46823 * eval.c (ruby_cleanup): initialize stack bottom for embedding.
46826 * ext/dl/extconf.rb: move list of files to clean from DEPEND file,
46827 to get rid of macro redefinitions.
46829 Thu Oct 23 13:44:00 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46831 * parse.y: integrate operations for stack_type. [ruby-dev:21681]
46833 Thu Oct 23 00:41:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46835 * test/soap/calc/*, test/soap/helloworld/*: set logging threshold
46838 Wed Oct 22 12:53:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46840 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
46841 ignore tests which raised LoadError.
46843 * test/drb/drbtest.rb, test/ruby/test_beginendblock.rb,
46844 test/ruby/test_system.rb: avoid requiring same file twice.
46846 * test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use
46847 ARGV unless invoked directly. do not create test cases unless
46848 required libraries are available.
46850 Wed Oct 22 02:31:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46852 * eval.c (ruby_cleanup): should not ignore exit_value in END
46853 execution. [ruby-dev:21670]
46855 Tue Oct 21 23:16:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46857 * eval.c (ruby_cleanup): call finalizers and exit procs before
46858 terminating threads.
46860 * eval.c (ruby_cleanup): preserve ruby_errinfo before ruby_finalize_0().
46862 Tue Oct 21 15:57:11 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46864 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
46865 prepend the directory of target file to the load path.
46867 Tue Oct 21 15:08:53 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46869 * win32/win32.c (do_spawn, do_aspawn): should wait child process even
46870 if callded with P_OVERLAY.
46872 * win32/win32.c (do_spawn, do_aspawn): should return child's exit
46875 Tue Oct 21 00:35:02 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46877 * test/soap/calc/*, test/soap/helloworld/*: catch the exception from
46878 test server thread and recover.
46880 Tue Oct 21 00:22:57 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
46882 * test/drb/*: import drb/runit.
46884 Mon Oct 20 23:55:47 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46886 * eval.c (rb_eval): set current node after arguments evaluation.
46889 * eval.c (rb_yield_0): set current node and keep it at local jump.
46891 Mon Oct 20 22:01:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46893 * eval.c (rb_thread_cleanup): keep thread group for main thread.
46896 Mon Oct 20 18:28:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46898 * eval.c (rb_catch): backout.
46900 Mon Oct 20 17:31:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46902 * eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP()
46905 * eval.c (localjump_destination): use unique number in ruby_frame
46906 for localjump destination.
46908 Mon Oct 20 11:31:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46910 * test/ruby/test_signal.rb (test_signal): restore old trap.
46912 Mon Oct 20 11:00:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46914 * gc.c (gc_sweep): loosen page free condition to avoid add_heap()
46915 race condition. [ruby-dev:21633]
46917 * gc.c (gc_sweep): do not update malloc_limit when malloc_increase
46918 is smaller than malloc_limit.
46920 Mon Oct 20 09:45:12 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46922 * lib/debug.rb (debug_command): remove debug print.
46924 Sun Oct 19 13:12:30 2003 Tanaka Akira <akr@m17n.org>
46926 * lib/pathname.rb (foreachline, dir_foreach): add obsolete warning.
46928 Sun Oct 19 00:14:22 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46930 * test/soap/calc/*, test/soap/helloworkd/*: changed port# of test
46933 Sat Oct 18 23:01:32 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46935 * missing/acosh.c (DBL_MANT_DIG): typo fix(ifdef -> ifndef).
46937 Sat Oct 18 05:48:59 2003 why the lucky stiff <why@ruby-lang.org>
46939 * ext/syck/rubyext.c: YAML::Syck::compile method.
46941 * ext/syck/syck.c: Buffer edge bug.
46943 * ext/syck/yaml2byte.c: YAML to bytecode converter.
46945 * ext/syck/yamlbyte.h: Ditto.
46947 * ext/syck/bytecode.c: Bytecode parser fixes to empty collections
46950 * ext/syck/token.c: Ditto.
46952 Fri Oct 17 23:07:38 2003 Akinori MUSHA <knu@iDaemons.org>
46954 * ext/enumerator/enumerator.c, ext/enumerator/enumerator.txt:
46955 Provide Kernel#to_enum as an alias for Kernel#enum_for. Maybe
46956 this is a better name.
46958 Fri Oct 17 23:00:30 2003 Akinori MUSHA <knu@iDaemons.org>
46960 * lib/generator.rb: Add rdoc documentation.
46962 Fri Oct 17 22:16:42 2003 Akinori MUSHA <knu@iDaemons.org>
46964 * lib/set.rb: Reword and fix Overview.
46966 * lib/set.rb: It is not necessary to require
46967 'test/unit/ui/console/testrunner'.
46969 Fri Oct 17 11:15:22 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46971 * test/ruby/test_range.rb: added.
46973 * MANIFEST: add test/ruby/test_range.rb.
46975 Fri Oct 17 03:21:23 2003 William Sobel <will.sobel@barra.com>
46977 * ext/socket/socket.c (make_hostent): h_aliases may be NULL.
46978 (ruby-bugs:PR#1195)
46980 * ext/socket/socket.c (sock_s_gethostbyaddr): ditto.
46982 Fri Oct 17 00:12:41 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46984 * ext/tk/lib/tk.rb: (bug fix) instance variable @frame was used
46985 without initializing on TkComposite module.
46987 Thu Oct 16 23:51:04 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46989 * ext/tk/lib/tk.rb: If $DEBUG == true and some exception is caused
46990 in a callback operation, Ruby/Tk shows a (verbose) backtrace
46991 information on the callback process.
46993 Thu Oct 16 17:09:19 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46995 * lib/debug.rb (DEBUGGER__::Context::debug_command): do not call
46996 debug_silent_eval() when $1 is not set. (ruby-bugs:PR#1194)
46998 Thu Oct 16 16:54:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47000 * string.c (rb_str_upto): ("a"..."a").to_a should return [].
47003 Thu Oct 16 16:40:51 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
47005 * ext/tk/lib/tk.rb:
47006 Add Tk::EncodedString and Tk::UTF8_String class to support
47007 characters using the \uXXXX escape to the UNICODE string.
47009 * ext/tk/sample/{demos-en,demos-jp}/unicodeout.rb
47010 new demo-scripts (samples of Tk::UTF8_String)
47012 * ext/tk/sample/{demos-en,demos-jp}/widget
47013 add entries for 'unicodeout.rb'
47015 Thu Oct 16 08:38:06 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47017 * test/digest/test_digest.rb (test_eq): show failed class.
47019 * test/ruby/test_iterator.rb (test_break, test_return_trace_func):
47020 test localjump destination.
47022 Wed Oct 15 20:22:31 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47024 * lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead of
47025 instance_eval('path_query'). [ruby-list:38575]
47027 Wed Oct 15 17:24:45 2003 URABE Shyouhei <root@mput.dip.jp>
47029 * lib/cgi.rb (CGI::Cookie): tiny typo fix.
47031 Wed Oct 15 15:00:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47033 * eval.c (ruby_run): just return FAILURE instead of parse error
47034 count. [ruby-list:38569]
47036 Wed Oct 15 13:17:02 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47038 * ext/digest/digest.c (rb_digest_base_alloc): need to initialize
47039 buffer. [ruby-dev:21622]
47041 Wed Oct 15 11:23:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47043 * marshal.c (w_object): dump extended modules as well.
47045 * marshal.c (r_object0): TYPE_USRMARSHAL should restore extended
47046 modules before invoking marshal_load. these two fixes are done
47047 by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>.
47049 Wed Oct 15 09:30:34 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47051 * ext/enumerator/enumerator.c (enumerator_each): avoid VC++ warning.
47053 * ext/syck/syck.h: include stdio.h for definition of FILE.
47055 Wed Oct 15 08:09:07 2003 why the lucky stiff <why@ruby-lang.org>
47057 * ext/syck/bytecode.c: Checkin of YAML bytecode support.
47059 * ext/syck/gram.c: Ditto.
47061 * ext/syck/syck.c: Ditto.
47063 * ext/syck/token.c: Ditto.
47065 * ext/syck/handler.c: Ditto.
47067 * ext/syck/handler.c: Now using 'tag' rather than 'taguri' in type URIs.
47069 * ext/syck/rubyext.c: Ditto (on both counts).
47071 Wed Oct 15 05:05:53 2003 Akinori MUSHA <knu@iDaemons.org>
47073 * lib/generator.rb: A new library which converts an internal
47074 iterator to an external iterator.
47076 * lib/abbrev.rb: A new library which creates an abbreviation table
47079 Wed Oct 15 04:31:51 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
47081 * ext/tk/sample/demos-en/entry3.rb, ext/tk/sample/demos-jp/entry3.rb:
47084 * ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/widget:
47085 add entries for 'entry3.rb'
47087 Wed Oct 15 04:31:47 2003 Akinori MUSHA <knu@iDaemons.org>
47089 * test/digest/test_digest.rb: Moved from ext/digest/test.rb.
47091 Wed Oct 15 03:53:20 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
47093 * ext/tk/lib/tk.rb: fixed trouble on auto-load Tcl commands (enbug
47094 on the last commit).
47096 Wed Oct 15 00:25:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47098 * parse.y (yylex): argument parentheses preceded by spaces should
47099 be warned; not error. [ruby-talk:84103]
47101 Wed Oct 15 00:20:15 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
47103 * ext/tcltklib/tcltklib.c: replace Tcl/Tk's vwait and tkwait to
47104 switch on threads smoothly and avoid seg-fault.
47106 * ext/tcltklib/tcltklib.c: add TclTkIp._thread_vwait and
47107 _thread_tkwait for waiting on a thread. (Because Tcl/Tk's vwait
47108 and tkwait command wait on an eventloop.)
47110 * ext/tk/lib/multi-tk.rb: support TclTkIp._thread_vwait and
47113 * ext/tk/lib/tk.rb: now, TkVariable#wait has 2 arguments.
47114 If 1st argument is true, waits on a thread. If false, waits on
47115 an eventloop. If 2nd argument is true, checks existence of
47116 rootwidgets. If false, doesn't. Default is wait(true, false).
47118 * ext/tk/lib/tk.rb: add TkVariable#tkwait(arg) which is equal to
47119 TkVariable#wait(arg, true). wait_visibility and wait_destroy
47120 have an argument for waiting on a thread or an eventloop.
47122 * ext/tk/lib/tk.rb: improve of accessing Tcl/Tk's special variables.
47124 * ext/tk/lib/tkafter.rb: support 'wait on a thread' and 'wait on
47127 Wed Oct 15 00:10:24 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47129 * lib/soap/baseData.rb: Introduce SOAPType as the common ancestor of
47130 SOAPBasetype and SOAPCompoundtype.
47132 * lib/soap/generator.rb, lib/soap/element.rb, lib/soap/encodingstyle/*:
47133 Encoding methods signature change. Pass SOAPGenerator as a parameter.
47135 * lib/soap/mapping/*, test/soap/marshal/test_marshal.rb: Refactoring
47136 for better marshalling/unmarshalling support. Now I think SOAP
47137 marshaller supports all kind of object graph which is supported by
47138 Ruby's original marshaller. Of course there could be bugs as always.
47141 * lib/soap/rpc/standaloneServer.rb: Set severity threshould to INFO.
47142 DEBUG is too noisy.
47144 * lib/xsd/datatypes.rb: DateTime#of is obsoleted. Use DateTime#offset.
47146 * test/wsdl/emptycomplextype.wsdl, test/xsd/xmlschema.xml: Avoid
47149 Tue Oct 14 19:09:35 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47151 * eval.c (ruby_finalize_0): return the given exit status unless
47152 SystemExit got raised.
47154 Tue Oct 14 11:53:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47156 * intern.h (ruby_stop): never return.
47158 * ruby.h (ruby_run): ditto.
47160 Tue Oct 14 04:43:55 2003 Tanaka Akira <akr@m17n.org>
47162 * lib/pathname.rb (realpath): make ELOOP check bit more robust.
47163 (children): prepend self by default.
47164 (chroot): obsoleted.
47166 Tue Oct 14 02:29:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47168 * eval.c (rb_require_safe): segfault after loading .so.
47170 Tue Oct 14 02:05:23 2003 Akinori MUSHA <knu@iDaemons.org>
47172 * ext/Setup*, ext/enumerator/*: Add ext/enumerator, a helper
47173 module for the Enumerable interface.
47175 Mon Oct 13 23:55:59 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47177 * test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"],
47180 Mon Oct 13 23:57:29 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47182 * eval.c (rb_feature_p): match by classified suffix.
47184 * eval.c (rb_require_safe): require library in the specified safe
47187 * variable.c (rb_autoload, rb_autoload_load): restore safe level
47188 when autoload was called. [ruby-dev:21338]
47190 * intern.h: prototypes; rb_require_safe.
47192 * test/runner.rb: accept non-option arguments.
47194 Mon Oct 13 20:49:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47196 * string.c (str_new4): should not preserve FL_TAINT status in the
47197 internal shared string. [ruby-dev:21601]
47199 * string.c (rb_str_new4): ditto.
47201 * eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values.
47203 * process.c: ditto. [ruby-list:38521]
47205 Mon Oct 13 19:51:02 2003 Koji Arai <jca02266@nifty.ne.jp>
47207 * lib/debug.rb (debug_command): should enter emacs mode when
47208 assigned any value to the environment variable "EMACS".
47209 On Meadow, (getenv "EMACS") is "meadow".
47211 Sun Oct 12 14:45:03 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47213 * ext/win32ole/extconf.rb: check "windows.h", not "windows".
47216 Sat Oct 11 20:41:03 2003 Corinna Vinschen <corinna@vinschen.de>
47218 * file.c (eaccess): Use access(2) on Cygwin.
47220 Sat Oct 11 17:09:21 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47222 * lib/rexml/quickpath.rb (REXML::QuickPath::match):
47223 escape '[' to avoid warning.
47225 Sat Oct 11 16:08:41 2003 Tanaka Akira <akr@m17n.org>
47227 * lib/pathname.rb (realpath): check existence of the file.
47229 * lib/pathname.rb (realpath): re-implemented.
47230 (realpath_root?, realpath_rec): removed
47232 Sat Oct 11 10:19:39 2003 Shugo Maeda <shugo@ruby-lang.org>
47234 * lib/monitor.rb: handle exceptions correctly. Thanks, Gennady
47237 Fri Oct 10 07:50:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47239 * eval.c (is_defined): inheritance line adjustment as like as
47242 Fri Oct 10 01:19:00 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47244 * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): add
47245 optional argument to specify the DirectoryString type
47246 (ASN1::UTF8STRING by default). RFC3280 deprecates PrintableString
47247 for DirectoryString, and strongly requires to use UTF8String for
47248 all certificates issued after December, 31 2003.
47250 * ext/openssl/lib/openssl/x509.rb (X509::Name::parse): ditto.
47252 Thu Oct 9 23:50:21 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47254 * eval.c (rb_thread_start_0): prevent thread from GC.
47257 Thu Oct 9 19:11:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47259 * eval.c (rb_thread_start_0): non-volatile should be restored from
47262 Thu Oct 9 17:43:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47264 * eval.c (proc_save_safe_level, proc_get_safe_level,
47265 proc_set_safe_level): save/restore safe level 1..4.
47267 Thu Oct 9 16:33:23 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47269 * marshal.c (r_object0): remove unnecessary iv restoration for
47270 USRMARSHAL. [ruby-dev:21582]
47272 * marshal.c (w_object): dump generic instance variables from
47273 a string from '_dump'.
47275 * variable.c (rb_generic_ivar_table): return 0 if obj's FL_EXIVAR
47278 * time.c (time_dump): copy instance variables to dumped string, to
47279 be included in the marshaled data.
47281 * bignum.c (rb_big2ulong): add range check to ensure round trip.
47283 Thu Oct 9 15:45:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47285 * pack.c (uv_to_utf8): change message to "out of range", since
47286 negative values are not "too big". [ruby-dev:21567]
47288 Thu Oct 9 14:05:38 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47290 * eval.c (rb_set_end_proc, rb_exec_end_proc): restore safe level.
47293 Thu Oct 9 10:51:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47295 * eval.c (rb_yield_0): no error if block is empty.
47297 Thu Oct 9 06:43:33 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47299 * eval.c (localjump_error): id should be ID.
47301 * eval.c (rb_eval): nd_rval is set in copy_node_scope().
47303 * eval.c (rb_yield_0): unused variable.
47305 * eval.c (rb_yield_0): nothing to do for empty node.
47307 * eval.c (call_end_proc, proc_invoke): adjust backtrace in END.
47310 * eval.c (rb_thread_start_0): set the value by break as the result.
47313 * eval.c (rb_thread_start_0, rb_thread_raise, rb_callcc): save
47314 variables across THREAD_SAVE_CONTEXT.
47316 Thu Oct 9 12:05:46 2003 Eric Sunshine <sunshine@sunshineco.com>
47318 * configure.in: revived NextStep, OpenStep, and Rhapsody ports which
47319 had become unbuildable; enhanced --enable-fat-binary option so that
47320 it accepts a list of desired architectures (rather than assuming a
47321 fixed list), or defaults to a platform-appropriate list if user does
47322 not provide an explicit list; made the default list of architectures
47323 for MAB (fat binary) more comprehensive; now uses -fno-common even
47324 when building the interpreter (in addition to using it for
47325 extensions), thus allowing the interpreter to be embedded into a
47326 plugin module of an external project (in addition to allowing
47327 embedding directly into an application); added checks for
47328 <netinet/in_systm.h> (needed by `socket' extension) and getcwd(); now
47329 ensures that -I/usr/local/include is employed when extensions'
47330 extconf.rb scripts invoke have_header() since extension checks on
47331 NextStep and OpenStep will fail without it if the desired resource
47332 resides in the /usr/local tree; fixed formatting of --help message.
47334 * Makefile.in: $(LIBRUBY_A) rule now deletes the archive before
47335 invoking $(AR) since `ar' on Apple/NeXT can not "update" MAB archives
47336 (see configure's --enable-fat-binary option); added rule for new
47339 * defines.h: fixed endian handling during MAB build (see configure's
47340 --enable-fat-binary option) to ensure that all portions of the
47341 project see the correct WORDS_BIGENDIAN value (some extension modules
47342 were getting the wrong endian setting); added missing constants
47343 GETPGRP_VOID, WNOHANG, WUNTRACED, X_OK, and type pid_t for NextStep
47344 and OpenStep; removed unnecessary and problematic HAVE_SYS_WAIT_H
47345 define in NeXT section.
47347 * dir.c: do not allow NAMLEN() macro to trust dirent::d_namlen on
47348 NextStep since, on some installations, this value always resolves
47351 * dln.c: added error reporting to NextStep extension loader since the
47352 previous behavior of failing silently was not useful; now ensures
47353 that NSLINKMODULE_OPTION_BINDNOW compatibility constant is defined
47354 for OpenStep and Rhapsody; no longer includes <mach-o/dyld.h> twice
47355 on Rhapsody since this header lacks multiple-include protection,
47356 which resulted in "redefinition" compilation errors.
47358 * main.c: also create hard reference to objc_msgSend() on NeXT
47359 platforms (in addition to Apple platforms).
47361 * lib/mkmf.rb: now exports XCFLAGS from configure script to extension
47362 makefiles so that extensions can be built MAB (see configure's
47363 --enable-fat-binary option); also utilize XCFLAGS in cc_command()
47364 (but not cpp_command() because MAB flags are incompatible with
47365 direct invocation of `cpp').
47367 * ext/curses/extconf.rb: now additionally checks for presence of these
47368 curses functions which are not present on NextStep or Openstep:
47369 bkgd(), bkgdset(), color(), curs(), getbkgd(), init(), scrl(), set(),
47370 setscrreg(), wattroff(), wattron(), wattrset(), wbkgd(), wbkgdset(),
47371 wscrl(), wsetscrreg()
47373 * ext/curses/curses.c: added appropriate #ifdef's for additional set of
47374 curses functions now checked by extconf.rb; fixed curses_bkgd() and
47375 window_bkgd() to correctly return boolean result rather than numeric
47376 result; fixed window_getbkgd() to correctly signal an error by
47377 returning nil rather than -1.
47379 * ext/etc/etc.c: setup_passwd() and setup_group() now check for null
47380 pointers before invoking rb_tainted_str_new2() upon fields extracted
47381 from `struct passwd' and `struct group' since null pointers in some
47382 fields are common on NextStep/OpenStep (especially so for the
47383 `pw_comment' field) and rb_tainted_str_new2() throws an exception
47384 when it receives a null pointer.
47386 * ext/pty/pty.c: include "util.h" for strdup()/ruby_strdup() for
47387 platforms such as NextStep and OpenStep which lack strdup().
47389 * ext/socket/getaddrinfo.c: cast first argument of getservbyname(),
47390 gethostbyaddr(), and gethostbyname() from (const char*) to non-const
47391 (char*) for older platforms such as NextStep and OpenStep.
47393 * ext/socket/socket.c: include "util.h" for strdup()/ruby_strdup() for
47394 platforms such as NextStep and OpenStep which lack strdup(); include
47395 <netinet/in_systm.h> if present for NextStep and OpenStep; cast first
47396 argument of gethostbyaddr() and getservbyname() from (const char*) to
47397 non-const (char*) for older platforms.
47399 * ext/syslog/syslog.c: include "util.h" for strdup()/ruby_strdup() for
47400 platforms such as NextStep and OpenStep which lack strdup().
47402 Wed Oct 8 22:19:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47404 * lib/test/unit.rb: removed installation instructions.
47406 * lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more
47409 * lib/test/unit.rb: ditto.
47411 * lib/test/unit.rb: extracted the running code in to AutoRunner.
47413 * lib/test/unit/autorunner.rb: added.
47415 * lib/test/unit/collector/objectspace.rb: extracted common test
47416 collection functionality in to a module.
47418 * lib/test/unit/collector.rb: ditto; added.
47420 * test/testunit/collector/test_objectspace.rb: ditto.
47422 * lib/test/unit/collector/dir.rb: added. Supports collecting tests out
47423 of a directory structure.
47425 * test/testunit/collector/test_dir.rb: added.
47427 * test/runner.rb: simplified to use the new capabilities.
47429 Tue Oct 7 15:23:09 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47431 * test/ruby/test_beginendblock.rb: add tests for nested BEGIN/END.
47433 * test/ruby/beginmainend.rb: add tests for nested BEGIN/END.
47435 * test/ruby/endblockwarn.rb: new file added to test of END-in-method
47438 Tue Oct 7 12:23:47 2003 Tanaka Akira <akr@m17n.org>
47440 * ext/fcntl/fcntl.c (Init_fcntl): define Fcntl::O_ACCMODE.
47442 * ext/socket/extconf.rb: useless assignment removed.
47444 Tue Oct 7 09:13:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47446 * test/ruby/test_beginendblock.rb (test_endinmethod): END{} is now
47449 Tue Oct 7 04:15:25 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47451 * parse.y (stmt): should not expand mrhs if lhs is solely starred.
47453 Tue Oct 7 02:57:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47455 * parse.y (stmt): rhs of multiple assignment should not be
47456 expanded using "to_a". [ruby-dev:21527]
47458 Tue Oct 7 01:42:34 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47460 * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): use appropriate
47461 free function for ASN1_OBJECT.
47463 * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_sn): add new function for
47464 ASN1::ObjectId#sn; it returns short name text representation of OID.
47466 * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_ln): add new function for
47467 ASN1::ObjectId#ln; it returns long name text representation of OID.
47469 * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_oid): add new function for
47470 ASN1::ObjectId#oid; it returns numerical representation of OID.
47472 Mon Oct 6 22:59:46 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47474 * lib/csv.rb (IOReader, BasicWriter): call binmode when a given IO
47475 respond_to?(:binmode). record separator was wrong when you gave
47476 text mode IO to Reader.parse and Writer.generate.
47478 * test/csv/test_csv.rb: add tests for above change.
47480 Sun Oct 5 23:27:09 2003 Tanaka Akira <akr@m17n.org>
47482 * ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.
47484 * ext/socket/socket.c (thread_read_select): restored.
47486 Mon Oct 6 16:23:38 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47488 * marshal.c (w_object): wrong method name in the message.
47490 Mon Oct 6 16:02:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47492 * parse.y (stmt): END in method should cause warning.
47495 Mon Oct 6 15:17:23 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47497 * test/ruby/test_iterator.rb (test_block_argument_without_paren):
47498 added. (follows sample/test.rb)
47500 Mon Oct 6 11:57:06 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47502 * test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: added
47503 test for eval-ed BEGIN END order.
47505 Mon Oct 6 09:19:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47507 * marshal.c (w_object): should pass "weak" value to next level.
47510 * eval.c (proc_alloc): should not use cached object if klass is
47511 different. [ruby-talk:83685]
47513 Sun Oct 5 23:27:09 2003 Tanaka Akira <akr@m17n.org>
47515 * lib/pathname.rb: version information is added in document.
47517 Sun Oct 5 23:07:03 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47519 * eval.c (rb_f_END): block should be given. [ruby-dev:21497]
47521 Sun Oct 5 22:51:23 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47523 * lib/ext/openssl/extconf.rb: add check for some engine functions
47524 unavailable in OpenSSL-0.9.6.
47526 * lib/ext/openssl/ossl_engine.c: ditto.
47528 Sun Oct 5 17:56:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47530 * eval.c (rb_eval): fix evaluation order. [ruby-list:38431]
47532 Sun Oct 5 15:05:06 2003 akira yamada <akira@ruby-lang.org>
47534 * test/uri/*: translated RUNIT to Test::Unit.
47536 Sun Oct 5 14:37:39 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47538 * lib/xsd/datatypes.rb: Rational -> Decimal string bug fix.
47540 * test/soap/marshal/test_marshal.rb: ditto.
47542 * test/soap/calc/test_calc_cgi.rb: add Config::CONFIG["EXEEXT"] to
47545 Sun Oct 5 13:47:22 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47547 * test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: add tests
47548 about scope, order and allowed syntax.
47550 Sun Oct 5 11:54:29 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47552 * test/ruby/envutil.rb: added. split "rubybin" from test_system.rb.
47554 * test/ruby/test_system.rb: use envutil.rb
47556 * test/ruby/test_beginendblock.rb: added.
47558 * test/ruby/beginmainend.rb: added. used in test_beginendblock.rb.
47560 Sun Oct 5 11:23:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47562 * test/testunit/runit/test_testresult.rb: removed some unnecessary
47565 Sun Oct 5 11:14:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47567 * lib/rubyunit.rb: aliasing TestCase into the top level is
47570 * lib/runit/assert.rb: fixed a couple of bugs caused by recent
47571 refactoring in Test::Unit.
47573 * test/testunit/runit/*: added.
47575 Sun Oct 5 10:55:29 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47577 * lib/open-uri.rb (URI::Generic#find_proxy): no_proxy support did not
47578 work. [ruby-dev:21484]
47580 Sun Oct 5 09:52:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47582 * lib/test/unit/assertions.rb: will use pp for output if available.
47583 Can be disabled by setting Assertions.use_pp = false.
47585 * test/testunit/test_assertions.rb: made a small change to exception
47588 Sun Oct 5 07:42:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47590 * lib/test/unit/assertions.rb: made small improvements to assertion
47591 messages. Deprecated Assertions#assert_not_nil; use #assert instead.
47593 * test/testunit/test_assertions.rb: ditto.
47595 * test/testunit/util/test_procwrapper.rb: use #assert instead of
47598 Sun Oct 5 04:10:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47600 * lib/test/unit/assertions.rb: refactored message building.
47602 Sun Oct 5 03:40:22 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47604 * ext/openssl/ossl_asn1.h: global symbols should be declared
47607 Sun Oct 5 03:03:20 2003 akira yamada <akira@ruby-lang.org>
47609 * test/ruby/test_exception.rb (test_else): added.
47611 Sun Oct 5 02:12:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47613 * lib/test/unit/assertions.rb: changed assertion messages to rely more
47614 heavily on #inspect. Added backtrace filtering for exceptions in
47615 assertion messages.
47617 * test/testunit/test_assertions.rb: ditto.
47619 Sun Oct 5 02:12:00 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
47621 * lib/drb/acl.rb, lib/drb/ssl.rb: added.
47623 * lib/drb/drb.rb: exit from a thread using 'break'.
47625 Sat Oct 4 21:49:14 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47627 * gc.c (Init_stack): the type of space is changed to unsigned int
47628 from double. [ruby-dev:21483]
47630 Sat Oct 4 17:52:59 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47632 * lib/soap/netHttpClient.rb: follow http-access2. hosts which matches
47633 ENV['no_proxy'] or ENV['NO_PROXY'] are not proxyed.
47634 - [,:] separated. ("ruby-lang.org:rubyist.net")
47635 - no regexp. (give "ruby-lang.org", not "*.ruby-lang.org")
47636 - if you want specify host by IP address, give full address.
47637 ("192.168.1.1, 192.168.1.2")
47639 * lib/soap/rpc/cgistub.rb: return "Status: XXX MMM" line.
47641 * test/runner.rb: give testsuite name.
47643 Sat Oct 4 15:16:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47645 * marshal.c (w_object): instance variable dump do not cause error
47646 for objects that cannot be dumped, if they traversed from
47647 marshal_dump. they are just ignored.
47649 * gc.c (Init_stack): cast "space" (doble value) into unsigned
47650 int. should run on PowerPC.
47652 * eval.c (rb_eval): should not execute else part if any exception
47653 is caught. [ruby-dev:21482]
47655 * parse.y (f_args): should allow unparenthesized block argument.
47657 * parse.y (f_rest_arg): should allow unparenthesized rest
47660 Sat Oct 4 14:59:51 2003 Tanaka Akira <akr@m17n.org>
47662 * lib/pathname.rb (initialize): raise ArgumentError if argument has
47664 (relative_path_from): new method.
47665 (each_entry): new method for replacement of dir_foreach.
47666 (foreach, foreachline, dir_foreach, chdir): obsoleted.
47668 Sat Oct 4 12:58:48 2003 akira yamada <akira@ruby-lang.org>
47670 * test/uri/* (6 files): added.
47672 Sat Oct 4 12:44:45 2003 akira yamada <akira@ruby-lang.org>
47674 * lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.
47676 Sat Oct 4 07:33:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47678 * lib/test/unit/testsuite.rb: changed #<< to return self, and added
47681 * test/testunit/test_testsuite.rb: ditto. Also slightly refactored
47684 * lib/test/unit/collector/objectspace.rb: collector now preserves the
47685 hierarchy of suites.
47687 * test/testunit/collector/test_objectspace.rb: ditto.
47689 Sat Oct 4 04:48:49 2003 why the lucky stiff <why@ruby-lang.org>
47691 * ext/syck/rubyext.c: default keys handled.
47693 * ext/syck/syck.h: lowered default buffer size to 16k for increased
47696 * test/yaml: checkin of basic unit tests.
47698 Sat Oct 4 04:24:19 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47700 * ext/openssl/extconf.rb: add check for X509V3_set_nconf.
47702 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):
47703 cannot implement if X509V3_set_nconf doesn't exist.
47705 Sat Oct 4 02:12:44 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47707 * lib/xsd/datatypes.rb: dump sign by itself. under the problematic
47708 platform, sprintf("%+.10g", -0.0) => +0. sigh.
47710 * sample/wsdl/amazon/*: update schema ver2 to ver3.
47712 Sat Oct 4 01:33:46 2003 Tanaka Akira <akr@m17n.org>
47714 * lib/pathname.rb (initialize): duplicate and freeze argument.
47715 (to_s): return duplicated string.
47716 (children): new method.
47717 (each_line): new alias to foreachline.
47719 Fri Oct 3 16:13:19 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47721 * ext/openssl/ossl_asn1.c: add DER encoder and decoder.
47723 * ext/openssl/ossl_asn1.h: add OpenSSL::ASN1 module.
47725 * ext/openssl/ossl.c (Init_openssl): call Init_ossl_asn1.
47727 * ext/openssl/extconf.rb: check if X509_ATTRIBUTE has field "single".
47729 * ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): accept
47730 DER encoded data argument.
47732 * ext/openssl/ossl_x509attr.c (ossl_x509attr_get_value): return
47733 DER encoded data in OpenSSL::ASN1 types.
47735 Fri Oct 3 13:02:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47737 * lib/test/unit.rb: refactored to use optparse.
47739 * lib/test/unit.rb: added support for selecting the output
47740 level from the command-line.
47742 * lib/test/unit.rb: added a command-line switch to stop processing
47743 the command-line, allowing arguments to be passed to tests.
47745 * lib/test/unit.rb: changed the method for specifying a runner or a
47746 filter from the command-line.
47748 * lib/test/unit/collector/objectspace.rb: fixed a bug causing all
47749 tests to be excluded when the filter was set to an empty array.
47751 * test/testunit/collector/test_objectspace.rb: ditto.
47753 Fri Oct 3 08:14:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47755 * lib/irb/ruby-lex.rb (RubyLex::identify_identifier): support
47756 'class ::Foo' syntax. [ruby-talk:83514]
47758 Fri Oct 3 08:01:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47760 * lib/test/unit/assertions.rb: added a default message for #assert,
47761 #assert_block, and #flunk.
47763 * test/testunit/test_assertions.rb: ditto.
47765 * lib/test/unit/failure.rb: failures now show a better trace of where
47768 * test/testunit/test_failure.rb: ditto (added).
47770 * lib/test/unit/testcase.rb: ditto.
47772 * test/testunit/test_testcase.rb: ditto.
47774 * lib/test/unit/util/backtracefilter.rb: added.
47776 * test/testunit/util/test_backtracefilter.rb: added.
47778 * lib/test/unit/error.rb: changed to use BacktraceFilter and improved
47781 * test/testunit/test_error.rb: ditto.
47783 Thu Oct 2 20:33:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47785 * ext/iconv/iconv.c (iconv_failure_initialize): conform with
47786 orthodox initialization method.
47788 * ext/iconv/iconv.c (iconv_fail): initialize exception instance
47789 from the class, and do not share instance variables with the
47790 others. [ruby-dev:21470]
47792 Thu Oct 2 18:20:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47794 * time.c (Init_Time): define initialize. [ruby-dev:21469]
47796 Thu Oct 2 17:39:38 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47798 * ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine.
47799 it supports OpenSSL hardware cryptographic engine interface.
47801 * ext/openssl/ossl_engine.h: ditto.
47803 * ext/openssl/MANIFEST: add ossl_engine.c and ossl_engine.h.
47805 * ext/openssl/extconf.rb: add check for openssl/engine.h.
47807 * ext/openssl/ossl.c: call Init_ossl_engine().
47809 * ext/openssl/ossl.h: include openssl/engine.h.
47811 * ext/openssl/ossl_pkey_{rsa,dsa,dh}.c: check if underlying
47812 EVP_PKEY referes engine.
47814 Thu Oct 2 17:22:37 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47816 * time.c (time_load): restore instance variables (if any) before
47817 loading from marshaled data.
47819 Thu Oct 2 14:19:15 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47821 * ext/iconv/iconv.c (iconv_fail): now yield erred substring, and
47822 set error object to $!.
47824 * ext/iconv/iconv.c (iconv_convert): error handler block should
47825 return appended part and the rest. if rest is nil, the
47828 Thu Oct 2 12:00:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47830 * variable.c (rb_const_defined_0): look up constants in Object as
47831 well. [ruby-dev:21458]
47833 * test/ruby/test_defined.rb (TestDefined::test_defined): test for
47836 Thu Oct 2 11:17:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47838 * lib/test/unit/assertions.rb: should not capture an
47839 AssertionFailedError unless explicitly requested.
47841 * test/testunit/test_assertions.rb: ditto.
47843 * test/testunit/collector/test_objectspace.rb: fixed a test failure
47844 caused by methods being returned in different orders on different
47845 platforms by moving test sorting from TestSuite into the locations
47846 where suites are constructed. [ruby-talk:83156]
47848 * lib/test/unit/testcase.rb: ditto.
47850 * lib/test/unit/testsuite.rb: ditto.
47852 * lib/test/unit/collector/objectspace.rb: ditto.
47854 Thu Oct 2 03:25:01 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47856 * eval.c (rb_thread_raise): prototype; avoid VC++ warning.
47858 Thu Oct 2 01:37:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47860 * time.c (time_mdump): new marshal dumper. _dump is still
47861 available for compatibility.
47863 * time.c (time_mload): new marshal loader.
47865 * marshal.c (w_object): preserve instance variables for objects
47868 * marshal.c (r_object0): restore instance variables before calling
47871 * error.c (rb_warn_m): always return nil.
47873 Thu Oct 2 01:32:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47875 * eval.c (rb_f_block_given_p): real required condition is
47876 ruby_frame->prev->iter == ITER_CUR.
47878 * eval.c (rb_block_given_p): ditto.
47880 * eval.c (block_pass): update ruby_frame->iter only when previous
47883 Thu Oct 2 01:02:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47885 * variable.c (rb_const_defined_at): should exclude constants from
47886 Object when TYPE(klass) == T_MODULE *and* exclude is on.
47889 * variable.c (rb_const_get_0): do not lookup constants from Object
47890 when TYPE(klass) == T_MODULE *and* exclude is on.
47892 Thu Oct 2 00:21:11 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47894 * test/logger/test_logger.rb: unlinking file before close causes
47895 problem under win32 box.
47897 * lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly
47898 when stringified and embedded into XML instance. Ruby's sprintf may
47899 format -0.0 as "0.0" (no minus sign) depending on underlying C
47900 sprintf implementation.
47902 * test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change.
47904 * test/soap/calc/*: give httpd config param "CGIInterpreter".
47905 "/usr/bin/env ruby" thing does not work under non-Unix boxes.
47907 Thu Oct 2 00:25:21 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47909 * signal.c (ruby_signal_name): adjust to the prototype.
47911 * process.c (pst_inspect): ditto.
47913 * ext/etc/etc.c (etc_getgrent, Init_etc): typo.
47915 Wed Oct 1 20:49:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47917 * gc.c (heaps): manage slots and limits together. [ruby-dev:21453]
47919 * gc.c (add_heap): should not clear heaps slot even if realloc()
47922 Wed Oct 1 20:36:49 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47924 * MANIFEST: add wince/mkconfig_wce.rb.
47926 Wed Oct 1 17:22:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47928 * ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,
47929 setgrent, getgrent, endgrent.
47931 * ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup.
47933 Wed Oct 1 17:01:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47935 * eval.c (rb_load): Object scope had priority over required file
47936 scope. [ruby-dev:21415]
47938 Wed Oct 1 14:09:53 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
47940 * wince/mkconfig_wce.rb: sorry, forget to commit.
47942 Wed Oct 1 10:08:42 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
47944 * wince/setup.mak: add sigmarionIII SDK support.
47946 * wince/Makefile.sub: ditto.
47948 * wince/mkexports.rb: fix linker error in SH4.
47950 * wince/mkconfig_wce.rb: camouflage RUBY_PLATFORM for compiling ext.
47952 Wed Oct 1 08:02:52 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
47954 * wince/time_wce.c (time): add zero check.
47956 Tue Sep 30 16:11:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47958 * Makefile.in: copy lex.c from $(srcdir) if it's not the current
47959 directory. [ruby-dev:21437]
47961 Tue Sep 30 11:29:23 2003 Tanaka Akira <akr@m17n.org>
47963 * process.c (pst_inspect): describe stopped process "stopped".
47965 Tue Sep 30 09:31:56 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47967 * test/runner.rb: glob for directories.
47969 Tue Sep 30 09:11:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47971 * eval.c (rb_eval): while/until should not capture break unless
47972 they are destination of the break.
47974 Tue Sep 30 03:12:02 2003 Minero Aoki <aamine@loveruby.net>
47976 * lib/net/http.rb (finish): revert to 1.93.
47978 * lib/net/pop.rb (finish): revert to 1.60.
47980 * lib/net/smtp.rb (finish): revert to 1.67.
47982 * lib/net/http.rb (do_start): ensure to close socket if failed to
47985 * lib/net/pop.rb (do_start): ditto.
47987 * lib/net/smtp.rb (do_start): ditto.
47989 * lib/net/smtp.rb: SMTP#started? wrongly returned false always.
47991 Tue Sep 30 02:54:49 2003 Minero Aoki <aamine@loveruby.net>
47993 * test/ruby/test_iterator.rb: new test
47994 test_break__nested_loop[123].
47996 Mon Sep 29 23:39:13 2003 Minero Aoki <aamine@loveruby.net>
47998 * lib/net/http.rb (finish): does not raise IOError even if
47999 !started?, to allow closing socket which was opened before
48002 * lib/net/pop.rb (finish): ditto.
48004 * lib/net/smtp.rb (finish): ditto.
48006 Mon Sep 29 19:06:51 2003 WATANABE Hirofumi <eban@ruby-lang.org>
48008 * ext/win32ole/extconf.rb: add windows.h checking.
48009 (ruby-bugs:PR#1185)
48011 Mon Sep 29 16:18:30 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48013 * lib/logger.rb: check if the given logdevice object respond_to :write
48014 and :close, not is_a? IO. duck duck.
48016 * test/logger/test_logger.rb: self IO.pipe reading/writing may be
48017 locked by the flood. use tempfile.
48019 * lib/wsdl/xmlSchema/data.rb: wrong constant reference.
48021 Mon Sep 29 16:11:23 2003 Minero Aoki <aamine@loveruby.net>
48023 * test/fileutils/test_fileutils.rb: clean up temporary symlink.
48024 Patched by NaHi. [ruby-dev:21420]
48026 Mon Sep 29 11:16:55 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48028 * eval.c (rb_thread_atfork): wrong format specifier.
48031 * process.c (pst_inspect): better description.
48033 Mon Sep 29 02:31:44 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48035 * lib/webrick/utils.rb (Utils::su): use setgid and setuid to
48036 set real and effective IDs. and setup group access list by
48039 Sun Sep 28 11:14:19 2003 Koji Arai <jca02266@nifty.ne.jp>
48041 * ext/digest/digest.c (Init_digest): `copy_object' was deprecated.
48042 `initialize_copy' should be defined.
48044 * ext/stringio/stringio.c (Init_stringio): ditto.
48046 Sat Sep 27 18:25:13 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48048 * lib/xsd/charset.rb: XSD::Charset.is_ces did return always true under
48049 $KCODE = "NONE" environment. check added.
48051 * test/xsd/test_xsd.rb: add tests for above fix.
48053 Sat Sep 27 15:58:50 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48055 * lib/soap/rpc/cgistub.rb: make logging severity threshold higher.
48057 * lib/soap/rpc/standaloneServer.rb: defer WEBrick server start to give
48058 a chance to reset logging severity threshold.
48060 * test/soap/calc/test_*, test/soap/helloworld/test_helloworld.rb: run
48063 Sat Sep 27 09:44:18 2003 Minero Aoki <aamine@loveruby.net>
48065 * test/fileutils/test_fileutils.rb: clear all errors on Windows.
48068 * test/fileutils/test_nowrite.rb: ditto.
48070 Sat Sep 27 04:57:07 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48072 * test/ruby/test_file.rb: new file. only asserts unlink-before-close
48075 * test/soap/marshal/test_digraph.rb: should close before unlink.
48076 unlink-before-close pattern is not needed here.
48078 Sat Sep 27 03:32:37 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48080 * test/soap/*, test/wsdl/*, test/xsd/*: move TestCase classes into
48081 each module namespace. TestMarshal in
48082 test/soap/marshal/test_marshal.rb crashed with
48083 test/ruby/test_marshal.rb.
48085 Sat Sep 27 01:30:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
48087 * ext/socket/socket.c (ruby_connect): on win32, type of the 4th
48088 argument of getsockopt is char *.
48090 Fri Sep 26 18:35:40 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48092 * lib/resolv-replace.rb: 1.8 compliance. [ruby-talk:82946]
48094 Fri Sep 26 17:39:27 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48096 * test/ruby/test_marshal.rb: add test for ruby's objects.
48098 Fri Sep 26 09:52:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48100 * defines.h (flush_register_windows): use volatile only for gcc on
48101 Solaris. [ruby-dev:21403]
48103 * lib/mkmf.rb (xsystem): use system directly to honor shell meta
48106 Fri Sep 26 00:10:13 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48108 * lib/README: updated.
48110 Thu Sep 25 17:48:10 2003 NAKAMURA Usaku <usa@ruby-lang.org>
48112 * ext/openssl/ossl.c (ossl_buf2str): fix type of 1st argument for
48115 * ext/openssl/ossl_hmac.c (ossl_hmac_digest): should return meaningful
48118 Thu Sep 25 09:00:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
48120 * lib/ostruct.rb: Added OpenStruct#==.
48122 * test/ostruct/test_ostruct.rb: Added.
48124 Thu Sep 25 07:55:26 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48126 * ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c,
48127 ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must
48128 not use C++ or C99 style comment yet. (ruby-bugs:PR#1184)
48130 Thu Sep 25 00:23:22 2003 WATANABE Hirofumi <eban@ruby-lang.org>
48132 * MANIFEST: add SOAP4R.
48134 Thu Sep 25 00:13:15 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48136 * lib/soap/* (29 files): SOAP4R added.
48138 * lib/wsdl/* (42 files): WSDL4R added.
48140 * lib/xsd/* (12 files): XSD4R added.
48142 * test/soap/* (16 files): added.
48144 * test/wsdl/* (2 files): added.
48146 * test/xsd/* (3 files): added.
48148 * sample/soap/* (27 files): added.
48150 * sample/wsdl/* (13 files): added.
48152 Wed Sep 24 02:08:11 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48154 * lib/webrick/httpservlet/cgihandler.rb: conform to mswin32.
48155 [ruby-talk:82735], [ruby-talk:82748], [ruby-talk:82818]
48157 Tue Sep 23 23:10:16 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48159 * lib/logger.rb: add Logger#<<(msg) for writing msg without any
48162 * test/logger/test_logger.rb: ditto.
48164 Tue Sep 23 20:47:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48166 * error.c (rb_warn_m): should not warn if -W0 is specified.
48169 Mon Sep 22 21:28:57 2003 WATANABE Hirofumi <eban@ruby-lang.org>
48171 * MANIFEST: updated.
48173 Mon Sep 22 19:22:26 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48175 * configure.in (AC_CHECK_FUNCS): add setuid and setgid.
48177 Mon Sep 22 12:34:55 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48179 * util.c (ruby_strtod): skip preceding zeros before counting
48180 digits in the mantissa. (ruby-bugs:PR#1181)
48182 Sun Sep 21 04:12:36 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48184 * ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): the argument
48185 should be a String.
48187 * ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): ditt.
48189 * ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): ditto.
48191 * ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
48193 * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto.
48195 Sat Sep 20 11:49:05 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48197 * lib/logger.rb: typo fixed.
48199 * test/logger/test_logger.rb: new file.
48201 Fri Sep 19 11:39:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
48203 * test/testunit/*: Added.
48205 * lib/test/unit.rb: Documentation update.
48207 * lib/test/unit/ui/console/testrunner.rb (TestRunner#initialize):
48210 * lib/test/unit.rb: Factored out an ObjectSpace collector.
48212 * lib/test/unit/collector/objectspace.rb: Ditto.
48214 * sample/testunit/*: Added.
48216 Fri Sep 19 01:00:48 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48218 * lib/webrick/log.rb (BasicLog#log): get rid of as ineffectual
48221 * lib/webrick/log.rb (BasicLog#format): add "\n" to message.
48223 Thu Sep 18 22:43:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48225 * eval.c (proc_invoke): should push PROT_PCALL tag for orphans.
48227 * eval.c (proc_invoke): should update "result" for orphans.
48229 Thu Sep 18 20:33:03 2003 Tietew <tietew-ml-ruby-list@tietew.net>
48231 * parse.y (str_xquote): do not prepend escapes in
48232 backqoute literals. [ruby-list:38409]
48234 Thu Sep 18 20:30:17 2003 Tanaka Akira <akr@m17n.org>
48236 * lib/pathname.rb: update document.
48238 Thu Sep 18 15:27:05 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48240 * lib/logger.rb: new file. Logger, formerly called devel-logger or
48243 * sample/logger/*: new file. samples of logger.rb.
48245 Wed Sep 17 23:41:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48247 * eval.c (localjump_destination): should not raise ThreadError
48248 exception for "break". [ruby-dev:21348]
48250 * eval.c (proc_invoke): use result instead of prot_tag->retval.
48251 retval is no longer propagated to the ancestors.
48253 Wed Sep 17 20:34:00 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48255 * parse.y (tokadd_string, parse_string, yylex): escaped terminator
48256 is now interpreted as is. [ruby-talk:82206]
48258 Wed Sep 17 18:52:36 2003 Minero Aoki <aamine@loveruby.net>
48260 * test/fileutils/fileassertions.rb: new file.
48262 * test/fileutils/test_fileutils.rb: new file.
48264 * test/fileutils/test_nowrite.rb: new file.
48266 Wed Sep 17 18:51:02 2003 Minero Aoki <aamine@loveruby.net>
48268 * test/strscan/test_stringscanner.rb: require test/unit.
48270 Wed Sep 17 18:35:34 2003 Minero Aoki <aamine@loveruby.net>
48272 * test/strscan/test_stringscanner.rb: new file.
48274 Wed Sep 17 18:03:30 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48276 * ext/openssl: all files are reviewed to simplify and avoid memory leak.
48278 * ext/openssl/extconf.rb: add check for assert.h.
48280 * ext/openssl/ossl.c (ossl_buf2str): new function to convert
48281 C buffer to String and free buffer.
48283 * ext/openssl/ossl.c (ossl_x509_ary2sk): new function to convert
48284 Array of OpenSSL::X509 to STACK_OF(X509) with exception safe.
48286 * ext/openssl/ossl.c (ossl_to_der, ossl_to_der_if_possible): new
48287 functions to convert object to DER string.
48289 * ext/openssl/ossl.h: ditto.
48291 * ext/openssl/ossl_bio.c (ossl_membio2str): new function to convert
48292 BIO to String object and free BIO.
48294 * ext/openssl/ossl_bio.h: ditto.
48296 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_to_der): add for "to_der".
48298 * ext/openssl/ossl_x509name.c (ossl_x509name_to_der): ditto.
48300 * ext/openssl/ossl_x509ext.c (ossl_x509ext_to_der): ditto.
48302 * ext/openssl/ossl_x509ext.c (create_ext_from_array): removed
48303 and reimplement in openssl/x509.rb.
48305 * ext/openssl/ossl_x509attr.c: reimplemented and disable some
48306 method temporarily. this class doesn't work fine without ASN.1
48307 data support;-) I'll rewrite in near future.
48309 * ext/openssl/lib/openssl/x509.c (X509::Attribute): get rid off
48312 * ext/openssl/lib/openssl/x509.c (X509::ExtensionFactory): refine all.
48314 Tue Sep 16 22:25:06 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48316 * test/csv/test_csv.rb: add negative tests of row_sep.
48318 Tue Sep 16 18:02:36 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48320 * regex.c (re_compile_pattern): should not translate character
48321 class range edge. [ruby-list:38393]
48323 Tue Sep 16 16:47:56 2003 WATANABE Hirofumi <eban@ruby-lang.org>
48325 * MANIFEST: add test/csv/mac.csv.
48327 * win32/Makefile.sub, bcc32/Makefile.sub (test): add phony NUL target.
48329 Mon Sep 15 19:02:52 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48331 * lib/csv.rb: add extra pamameter to specify row(record) separater
48332 character. To parse Mac's CR separated CSV, do like this.
48333 CSV.open("mac.csv", "r", ?,, ?\r) { |row| p row.to_a }
48334 The 3rd parameter in this example ?, is for column separater and the
48335 4th ?\r is for row separater. Row separater is nil by default. Nil
48336 separater means "\r\n" or "\n".
48338 * test/csv/test_csv.rb: add tests for above feature.
48340 * test/csv/mac.csv: added. Sample CR separated CSV file.
48342 Fri Sep 12 22:41:48 2003 Michal Rokos <m.rokos@sh.cvut.cz>
48344 * ext/openssl/ossl.c: move ASN.1 stuff to ossl_asn1.[ch]
48346 * ext/openssl/ossl.c: move BIO stuff to ossl_bio.[ch]
48348 * ext/openssl/ossl_asn1.[ch]: new files
48350 * ext/openssl/ossl_bio.[ch]: new files
48352 Fri Sep 12 12:30:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48354 * intern.h (rb_disable_super, rb_enable_super): replace with dummy
48355 expressions instead of prototypes. the functions remain yet for
48356 binary compatibility. [ruby-talk:81758]
48358 Fri Sep 12 12:09:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48360 * bignum.c (rb_big_and): convert argument using 'to_int'.
48362 * bignum.c (rb_big_or): ditto.
48364 * bignum.c (rb_big_xor): ditto.
48366 Fri Sep 12 07:06:14 2003 David Black <dblack@superlink.net>
48368 * lib/scanf.rb: Took out useless @matched_item variable; some small
48371 Thu Sep 11 08:43:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48373 * eval.c (rb_f_require): allow "require" on $SAFE>0, if feature
48374 name is not tainted.
48376 * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::stream):
48379 Wed Sep 10 22:47:30 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48381 * ext/openssl/ossl.h: add a workaround for win32 platform.
48382 libeay32.dll doesn't export functions defined in conf_api.h.
48384 * ext/openssl/ossl_config.c (ossl_config_initialize): ditto.
48386 * ext/openssl/ossl_config.c (ossl_config_add_value): ditto.
48388 * ext/openssl/ossl_config.c (set_conf_section_i): should check
48389 if the argument is Array.
48391 Wed Sep 10 22:41:54 2003 Tietew <tietew@tietew.net>
48393 * eval.c (win32_get_exception_list): avoid VC7 warning.
48396 Tue Sep 9 10:39:51 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48398 * eval.c (struct tag): dst should be VALUE.
48400 Tue Sep 9 10:39:51 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48402 * eval.c (localjump_destination): stop at the scope where the current
48403 block was created. [ruby-dev:21353]
48405 Tue Sep 9 05:17:04 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48407 * ext/openssl/ossl_config.rb: avoid compile error in OpenSSL-0.9.6.
48409 Tue Sep 9 02:41:35 2003 Michal Rokos <m.rokos@sh.cvut.cz>
48411 * ext/openssl/ossl_config.c: Refine compatibility.
48413 Tue Sep 9 01:50:45 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48415 * lib/webrick/httpserver.rb (HTTPServer#access_log): add "\n" to
48418 * lib/webrick/log.rb (BasicLog#log): add "\n" only if needed.
48420 Mon Sep 8 22:15:33 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
48422 * ext/tk/lib/multi-tk.rb: modify security check at creating
48425 Mon Sep 8 20:00:12 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48427 * lib/optparse.rb, lib/optparse/version.rb: search also all
48430 Mon Sep 8 19:26:33 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48432 * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h.
48434 * ext/openssl/ossl_config.c: refine all with backward compatibility.
48436 * ext/openssl/ossl_config.h: export GetConfigPtr() and DupConfigPtr().
48438 * ext/openssl/ossl_x509.c: added new constants under X509 module.
48439 DEFAULT_CERT_AREA, DEFAULT_CERT_DIR, DEFAULT_CERT_FILE,
48440 DEFAULT_CERT_DIR_ENV, DEFAULT_CERT_FILE_ENV and DEFAULT_PRIVATE_DIR.
48442 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_free): don't free
48443 the members of the struct. it's left to GC.
48445 * ext/openssl/ossl_x509ext.c (ossl_x509_set_config): add for config=.
48447 * ext/openssl/ossl_x509ext.c (Xossl_x509extfactory_initialize):
48448 add attr readers: issuer_certificate, subject_certificate,
48449 subject_request, crl and config.
48451 Mon Sep 8 18:26:41 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48453 * lib/webrick/accesslog.rb (AccessLog::setup_params): use req.port
48454 instead of config[:Port] or req.request_uri.port.
48456 * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): ditto.
48458 * lib/webrick/httpservlet/filehandler.rb (FileHandler#dir_list): ditto.
48460 * lib/webrick/config.rb: :Listen option never be used.
48462 * lib/webrick/server.rb (GenericServer#initialize): don't use :Listen
48463 option and add warning message.
48465 * lib/webrick/log.rb (BasicLog#<<): shortcut of log(INFO, ...).
48467 * lib/webrick/httpserver.rb (HTTPServer#accesslog): use << for logging.
48469 Sun Sep 7 16:08:28 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
48471 * ext/tcltklib/tcltklib.c (lib_mainloop_core): fixed signal-trap bug
48473 * ext/tk/lib/*.rb: Ruby/Tk works at $SAFE == 4
48475 Sat Sep 6 02:26:34 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48477 * test/ruby/test_*.rb: assert_same, assert_match, and so on.
48479 Sat Sep 6 18:45:46 2003 Mauricio Fernandez <batsman.geo@yahoo.com>
48481 * parse.y (assignable): call rb_compile_error(), not rb_bug().
48484 Sat Sep 6 17:40:41 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48486 * ext/openssl/ruby_missing.c: rid of unnecessary backward
48487 compatibility stuff. and remove DEFINE_ALLOC_WRAPPER from
48490 * ext/openssl/ossl_x509ext.c (X509::Extension.new): new method.
48492 * ext/openssl/ossl_x509ext.c (X509::Extension#oid=): new method.
48494 * ext/openssl/ossl_x509ext.c (X509::Extension#value=): new method.
48496 * ext/openssl/ossl_x509ext.c (X509::Extension#critical=): new method.
48498 Sat Sep 6 01:23:22 2003 NAKAMURA Usaku <usa@ruby-lang.org>
48500 * win32/win32.c (CreateChild): need to quote cmd if RUBYSHELL is set.
48502 * win32/win32.c (CreateChild): fix condition about whether to call
48505 Sat Sep 6 00:36:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
48507 * Makefile.in (test): phony target.
48509 * lib/mkmf.rb (have_library, find_library): configure by library
48512 * lib/optparse.rb (OptionParser#order, #permute, #parse): allow an
48515 * test/ruby/test_*.rb: moved invariants to left side in
48516 assert_equal, and use assert_nil, assert_raises and so on.
48518 * win32/win32.c (isInternalCmd): distinguish command.com and
48521 * win32/win32.c (make_cmdvector): a character just after wildcard
48522 was ignored. [ruby-core:01518]
48524 Fri Sep 5 20:27:08 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48526 * test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'
48528 Fri Sep 5 18:00:51 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48530 * ext/openssl/lib/openssl/x509.rb: new method X509::Name::parse.
48532 * ext/openssl/ossl_digest.c: add ossl_digest_new().
48534 * ext/openssl/ossl_digest.h: ditto.
48536 * ext/openssl/ossl_cipher.c: add ossl_cipher_new().
48538 * ext/openssl/ossl_cipher.h: ditto.
48540 Fri Sep 5 15:32:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48542 * misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): should not
48543 search delimiter forward if found in backward.
48545 Fri Sep 5 13:32:48 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48547 * test/runner.rb: arguments should be keys.
48549 Fri Sep 5 12:09:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
48551 * test/ruby/test_system.rb (test_system): check existence of ruby
48554 Fri Sep 5 11:32:17 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48556 * lib/optparse.rb (--version): fix assignment/reference order.
48558 * lib/optparse.rb (OptionParser#help): new; OptionParser#to_s may
48559 be deprecated in future.
48561 * lib/optparse/version.rb (OptionParser#show_version): hide Object.
48563 * test/runner.rb: fix optparse usage.
48565 * test/runner.rb: glob all testsuits if no tests given.
48567 Fri Sep 5 10:42:58 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48569 * test/runner.rb: added. gets testcases from command line and runs it.
48571 * test/ruby/test_gc.rb: remove useless part which was for dumping test
48574 Fri Sep 5 09:28:59 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48576 * test/ruby/test_gc.rb: added. splitter.rb which I made to split
48577 sample/test.rb into test/ruby/test_* kindly removed GC test (the
48578 last section in the original test) to reduce things to be worried.
48580 Fri Sep 5 03:00:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48582 * test/ruby/test_iterator.rb (test_block_in_arg): add no block
48585 * test/ruby/test_iterator.rb (test_ljump): uncomment LocalJumpError
48588 Fri Sep 5 01:10:11 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48590 * test/ruby: tests for ruby itself.
48592 * test/ruby/test_*.rb: split sample/test.rb into 28 test/unit testcases.
48593 some tests could not be translates... search '!!' mark to see it.
48595 * test/csv/test_csv.rb: should require 'csv', not '../lib/csv'. test
48596 runner should set load path correctly.
48598 Fri Sep 5 01:03:59 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48600 * test/csv/test_csv.rb: close opened files for CSV::IOBuf explicitly.
48601 opened file cannot be removed under win32 box.
48603 Thu Sep 4 23:59:40 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48605 * parse.y (tokadd_string): newlines have no special meanings in
48606 %w/%W, otherwise they are ignored only when interpolation is
48607 enabled. [ruby-dev:21325]
48609 Thu Sep 4 19:38:25 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48611 * ext/io/wait/.cvsignore: added.
48613 * ext/openssl/.cvsignore: added.
48615 Thu Sep 4 19:28:24 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48617 * sample/openssl: added. Sample of standard distribution library
48618 should be locate in sample/{module_name}/*.
48620 * ext/openssl/sample/*: removed. move to sample/openssl/*.
48622 Thu Sep 4 18:02:15 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48624 * test/csv/test_csv.rb: use remove_const to reduce warnings. use
48625 Dir.tmpdir to locate working files.
48627 Thu Sep 4 17:41:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48629 * misc/ruby-mode.el (ruby-here-doc-beg-re): underscore also is
48632 * misc/ruby-mode.el (ruby-here-doc-end-match): must quote
48633 arbitrary string to use as regexp.
48635 * misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): must not
48636 call `ruby-here-doc-end-match' unless `ruby-here-doc-beg-re'
48639 Thu Sep 4 15:40:07 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48641 * test/csv/test_csv.rb: run on test/unit original layer.
48643 Thu Sep 4 12:54:50 2003 why the lucky stiff <why@ruby-lang.org>
48645 * ext/syck/token.c: headerless documents with root-level spacing now
48648 Thu Sep 4 00:06:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48650 * eval.c (mark_frame_adj): need to adjust argv pointer if using
48651 system's alloca. [ruby-core:01503]
48653 Wed Sep 3 21:33:20 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
48655 * test: add test directory. Test::Unit aware testcases and needed
48656 files should be located in this directory. dir/file name convention;
48657 test/{module_name}/test_{testcase_name}.rb
48658 test/{module_name}/{needed_files}
48659 someday, someone will write testrunner which searches test_*.rb and
48660 run testcases automatically.
48662 * test/csv/*: add testcase for lib/csv.rb.
48664 Wed Sep 3 01:37:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48666 * io.c (rb_f_gets): should call next_argv() before type check
48667 current_file. [ruby-list:38336]
48669 Tue Sep 2 20:37:15 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48671 * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): warning
48672 for skipping server verification.
48674 Tue Sep 2 23:36:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48676 * eval.c (proc_invoke): should retrieve retval when pcall is true.
48678 Tue Sep 2 14:09:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48680 * ext/socket/extconf.rb: check s6_addr8 in in6_addr (Tru64 UNIX).
48681 the patch is submitted by nmu <nmu@users.sourceforge.jp>.
48683 * ext/socket/getaddrinfo.c (getaddrinfo): should use in6_addr8 on
48686 * ext/socket/getnameinfo.c (getnameinfo): ditto.
48688 Tue Sep 2 14:02:19 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
48690 * ext/tcltklib/tcltklib.c (ip_invoke): fixed bug on passing a exception
48692 * ext/tk/lib/{tk.rb, tkcanvas.rb, tkfont.rb, tktext.rb}:
48693 bug fix and improvement of font control
48695 Tue Sep 2 09:51:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48697 * eval.c (rb_eval): should not handle exceptions within rescue
48698 argument. [ruby-talk:80804]
48700 Tue Sep 2 00:44:37 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48702 * re.c (rb_memsearch): fix overrun. [ruby-talk:80759]
48704 Tue Sep 2 00:41:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48706 * ext/iconv/iconv.c (map_charset): use lower case keys.
48708 * ext/iconv/iconv.c (iconv_fail): just yield error and return the
48709 result if a block is given.
48711 * ext/iconv/iconv.c (iconv_convert): yield error and append the
48712 result if a block is given.
48714 * ext/iconv/charset_alias.rb (charset_alias): optional third
48717 * ext/iconv/charset_alias.rb (charset_alias): use CP932 instead of
48718 SHIFT_JIS on cygwin.
48720 Mon Sep 1 18:34:25 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48722 * eval.c (rb_eval): make tail recursion in ELSE clause of
48725 Mon Sep 1 18:00:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48727 * parse.y (aref_args): forgot to call NEW_SPLAT(). reported by
48730 * eval.c (Init_Thread): protect thgroup_default. suggested by Guy
48731 Decoux in [ruby-talk:80623]
48733 Mon Sep 1 16:59:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48735 * eval.c (rb_thread_switch): add RESTORE_EXIT; exit by another
48736 thread termination.
48738 * eval.c (rb_thread_start_0): should not error_print() within
48739 terminated thread, because $stderr used by it might be
48740 overriden now. [ruby-dev:21280]
48742 Sun Aug 31 22:46:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
48744 * eval.c (TAG_DST()): take no argument.
48746 * process.c (p_gid_sw_ensure): return VALUE.
48748 Sun Aug 31 22:27:10 2003 Hidetoshi NAGAI <nagai@dumbo.ai.kyutech.ac.jp>
48750 * process.c (p_gid_sw_ensure): lack of function type
48752 Sun Aug 31 12:25:06 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
48754 * lib/optparse.rb: --version takes an optional argument; "all" or
48755 a list of package names.
48757 Sun Aug 31 10:17:02 2003 Tadayoshi Funaba <tadf@dotrb.org>
48759 * lib/date/format.rb: yyyy/mm is not an acceptable format.
48761 * lib/time.rb: follow above.
48763 Sat Aug 30 14:25:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48765 * eval.c (rb_iter_break): should not call TAG_JUMP directly.
48767 Sat Aug 30 03:58:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48769 * eval.c (struct BLOCK): remove BLOCKTAG, use scope instead.
48771 * eval.c (POP_TAG): no longer propagate retval. retval is now set
48772 directly by localjump_destination().
48774 * eval.c (localjump_destination): new function to cast
48775 return/break local jump.
48777 * eval.c (rb_yield_0): stop TAG_RETURN/TAG_BREAK escaping.
48779 Fri Aug 29 22:35:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
48781 * bigdecimal.c *.html: The 2nd arg. for add,sub,mult, and div is 0,
48782 then result will be the same as +,-,*,/ respectively.
48784 Fri Aug 29 17:30:15 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
48786 * process.c: bug fix
48788 * process.c: add rb_secure(2) to methods of Process::{UID,GID,Sys}
48790 * process.c: deny handling IDs during evaluating the block given to
48791 the Process::{UID,GID}.switch method
48793 * ext/tcltklib/tcltklib.c: some methods have no effect if on slave-IP
48795 * ext/tcltklib/tcltklib.c: can create a interpreter without Tk
48797 * ext/tcltklib/tcltklib.c: bug fix on handling exceptions
48799 * ext/tcltklib/MANUAL.euc: modify
48801 * ext/tk/lib/tk.rb: freeze some core modules
48803 * ext/tk/lib/multi-tk.rb: more secure
48805 * ext/tk/lib/tk.rb: TkVariable.new(array) --> treat the array as the
48808 * ext/tk/lib/tk.rb: improve accessibility of TkVariable object
48810 * ext/tk/lib/tk.rb, ext/tk/lib/tkfont.rb, ext/tk/lib/tkcanvas.rb,
48811 ext/tk/lib/tktext.rb: fix bug of font handling
48813 * ext/tk/lib/tkfont.rb: TkFont.new() accepts compound fonts
48815 Thu Aug 28 22:07:12 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48817 * variable.c (rb_autoload_load): call const_missing if autoloading
48818 constant is not defined to allow hook.
48820 * eval.c (rb_eval): use rb_const_get_from() instead of
48823 * eval.c (is_defined): forgot to check NODE_COLON3.
48825 Thu Aug 28 17:30:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48827 * variable.c (rb_const_get_0): should check constants defined in
48828 included modules, if klass is Object. [ruby-talk:79302]
48830 * numeric.c (check_uint): check should be done using UINT_MAX, not
48831 INT_MAX. this fix is submitted by Lyle Johnson
48832 <lyle@knology.net> in [ruby-core:01486]
48834 Thu Aug 28 05:02:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48836 * parse.y (singleton): typo fixed (ruby-bugs-ja:PR#562)
48838 Thu Aug 28 02:37:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48840 * eval.c (rb_eval): *a = [1,2] now assigns [[1,2]] to a.
48841 consistent with *a = [1], which set [[1]] to a.
48843 * node.h: merge NODE_RESTARY to NODE_SPLAT.
48845 * parse.y: rules simplified a bit by removing NODE_RESTARY.
48847 * sample/test.rb: updated for new assignment behavior.
48849 Wed Aug 27 22:33:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48851 * error.c (rb_bug): should not use other methods; this function is
48852 not for ordinary use. [ruby-dev:21259]
48854 Wed Aug 27 15:07:57 2003 Minero Aoki <aamine@loveruby.net>
48856 * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334
48857 response. [ruby-list:38279]
48859 Wed Aug 27 05:10:15 2003 NAKAMURA Usaku <usa@ruby-lang.org>
48861 * win32/win32.c (map_errno): support winsock error.
48863 * win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid,
48864 kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime):
48865 pass errno to map_errno().
48867 * win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind,
48868 rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname,
48869 rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv,
48870 rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt,
48871 rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr,
48872 rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname,
48873 rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport,
48874 rb_w32_fclose, rb_w32_close): use map_errno().
48876 * win32/win32.h: add winsock errors.
48878 Tue Aug 26 23:53:23 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48880 * lib/ostruct.rb (OpenStruct::method_missing): prohibit modifying
48881 frozen OpenStruct. [ruby-talk:80214]
48883 Tue Aug 26 20:03:50 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48885 * lib/mkmf.rb (create_tmpsrc): add the hook for source.
48888 Tue Aug 26 15:59:53 2003 why the lucky stiff <why@ruby-lang.org>
48890 * implicit.c (syck_type_id_to_taguri): corrected detection of
48893 Sun Aug 24 01:02:48 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48895 * file.c (file_expand_path): performance improvement.
48898 Sat Aug 23 23:41:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48900 * file.c (rb_file_s_expand_path): avoid calling rb_scan_args() for
48901 apparent cases. [ruby-talk:79748]
48903 Sat Aug 23 18:56:53 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48905 * ext/nkf/nkf.c (rb_nkf_putchar): should use rb_str_resize() to just
48906 resize a string, rb_str_cat() disallows NULL. [ruby-dev:21237]
48908 Sat Aug 23 16:48:41 2003 Keiju Ishitsuka <keiju@ishitsuka.com>
48910 * lib/irb/ruby-lex.rb: bug fix for "foo" !~ /bar/. [ruby-talk:79942]
48912 Sat Aug 23 15:59:58 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48914 * eval.c (rb_eval, rb_iterate, block_pass): reduce PUSH/POP_TAG and
48915 EXEC_TAG() for retry. [ruby-dev:21216]
48917 Sat Aug 23 02:32:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48919 * eval.c (rb_yield_splat): should check if "values" is array.
48921 * enum.c (each_with_index_i): typo.
48923 Fri Aug 22 17:07:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
48925 * enum.c (inject_i): use rb_yield_values.
48927 * enum.c (each_with_index_i): ditto.
48929 * eval.c (rb_yield_splat): new function to call "yield *values".
48931 * string.c (rb_str_scan): use rb_yield_splat().
48933 Fri Aug 22 06:13:22 2003 why the lucky stiff <why@ruby-lang.org>
48935 * ext/syck/rubyext.c: refactoring of the transfer method
48936 dispatch. added yaml_org_handler for faster dispatch of
48937 transfers to base types.
48939 * lib/yaml/rubytypes.rb: removed handling of builtins from
48942 * ext/syck/token.c: quoted and block scalars are now implicit !str
48944 * ext/syck/implicit.c: empty string detected as !null.
48946 Fri Aug 22 01:00:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48948 * eval.c (block_pass): improve passing current block.
48950 Fri Aug 22 00:13:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
48952 * ext/bigdecimal/bigdecimal.c: Int. overflow bug in multiplication
48953 fixed, and VpNmlz() speed up.
48955 Wed Aug 20 16:44:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
48957 * ext/socket/socket.c (ruby_connect): many systems seem to have
48958 a problem in select() after EINPROGRESS. [ruby-list:38080]
48960 Wed Aug 20 01:31:17 2003 why the lucky stiff <why@ruby-lang.org>
48962 * ext/syck/syck.h: Parser definition problems on HP-UX.
48965 * ext/syck/handler.c (syck_hdlr_get_anchor): Memory leak.
48967 * ext/syck/syck.s (syck_io_file_read): Bad arguments to fread.
48969 * ext/syck/rubyext.c: Tainting issues.
48971 Tue Aug 19 23:20:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
48973 * ext/bigdecimal/bigdecimal.c .h .html: to_s("+") implemented.
48975 * ext/bigdecimal/lib/bigdecimal/math.rb: E implemented.
48977 Tue Aug 19 07:47:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
48979 * lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer.
48981 * lib/webrick/https.rb: SSLSocket handling is moved to webrick/ssl.rb.
48983 * lib/webrick/compat.rb (File::fnmatch): remove old migration code.
48985 * lib/webrick/httpserver.rb (HTTPServer#run): ditto.
48987 * lib/webrick/server.rb (GenericServer#listen): the body of this
48988 method is pull out as Utils::create_lisnteners.
48990 * lib/webrick/utils.rb (Utils::create_lisnteners): new method.
48992 * lib/webrick/server.rb (GenericServer#start): should rescue
48993 unknown errors. and refine comments.
48995 * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): should close
48996 socket if SSLSocket raises error.
48998 Tue Aug 19 11:19:33 2003 Shugo Maeda <shugo@ruby-lang.org>
49000 * io.c (next_argv): should not call GetOpenFile() if rb_stdout is
49003 Tue Aug 19 07:47:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
49005 * ext/openssl/ossl_ssl.c: sync_close is moved to SSLSocket as
49008 * ext/openssl/lib/openssl/buffering.rb (Buffering#close): ditto.
49010 * ext/openssl/lib/openssl/buffering.rb (Buffering#puts): should
49011 add a return to the tails of each line.
49013 * ext/openssl/lib/openssl/ssl.rb: new class OpenSSL::SSL::SSLServer.
49015 * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): use sync_close.
49017 * ext/openssl/sample/echo_svr.rb: use SSLServer.
49019 * ext/openssl/sample/echo_cli.rb: add example of SSLSocket#sync_close.
49021 Tue Aug 19 01:24:34 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49023 * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standard
49024 headers are inconsistent at this macro. [ruby-core:01432]
49026 * ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks.
49028 * ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers
49031 * instruby.rb: make list at first instead of iterator.
49034 Mon Aug 18 11:23:11 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49036 * dir.c (glob_helper): preserve raw order for **.
49038 Sun Aug 17 23:39:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49040 * ext/openssl/extconf.rb (HAVE_VA_ARGS_MACRO): need to compile.
49042 Sun Aug 17 17:10:03 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
49044 * ext/openssl/lib/openssl/ssl.rb (SSLSocket#sync_close=): add a
49045 method to specify if the underlying IO will be closed in
49048 * ext/openssl/lib/openssl/buffering.rb: add forwarders to
49049 setsockopt, getsockopt and fcntl.
49051 * ext/openssl/lib/net/protocols.rb: enable sync for SSLSocket.
49053 Sun Aug 17 11:32:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49055 * ext/extmk.rb (extmake): should not force to remake Makefile when
49056 installation and so on.
49058 Sat Aug 16 23:58:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49060 * marshal.c (w_symbol, w_object): get rid of warnings.
49062 * re.c (rb_memsearch): ditto.
49064 * time.c (time_dump): ditto.
49066 * ext/extmk.rb (extmake): not continue making when extconf.rb
49069 * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely.
49071 * ext/openssl/ossl.h: remove version.h dependency.
49073 * ext/openssl/ruby_missing.h: ditto.
49075 * lib/mkmf.rb (pkg_config): use --libs output except with
49076 only-L for other options. [ruby-list:38099]
49078 * lib/mkmf.rb (create_makefile): separate rule for static
49079 library from shared object.
49081 * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub:
49082 define exec_prefix and libdir.
49084 Fri Aug 15 23:15:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
49086 * ext/bigdecimal/bigdecimal.c .h: Bug in combination of limit & div
49089 * ext/bigdecimal/lib/bigdecimal/math.rb: atan() & sqrt() added.
49091 Fri Aug 15 12:01:43 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49093 * configure.in (HUGE_ST_INO): check whether struct stat.st_ino
49094 is larger than long. [ruby-dev:21194]
49095 http://www.geocities.co.jp/SiliconValley-PaloAlto/1409/ruby/beos.html
49097 * error.c (syserr_eqq): errno might exceed Fixnum limit.
49099 * error.c (Init_Exception): moved base initialization from
49102 * inits.c (rb_call_inits): postpone initializing errnos until
49103 Bignum is available.
49105 Fri Aug 15 12:01:43 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49107 * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): needed to let
49108 keyname() and so on be declared.
49110 * ext/curses/curses.c (curses_resizeterm, window_resize):
49111 arguments conflicted with macros in term.h.
49113 * ext/curses/curses.c (Curses module methods): ensure
49114 initialized. [ruby-dev:21191]
49116 Fri Aug 15 02:08:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49118 * gc.c (id2ref): recycle check should be done by klass == 0.
49121 Fri Aug 15 01:34:23 2003 Michal Rokos <m.rokos@sh.cvut.cz>
49123 * ext/openssl/ossl_pkey.c: move generate_cb here
49125 * ext/openssl/ossl_pkey_{dh|dsa|rsa}.c: adapt to this cb
49127 * ext/openssl/openssl_missing.[ch]: add (0.9.6x, x<j) missing BN funcs
49129 * ext/openssl/ossl_bn.c: use supplied funcs from openssl_missing.c
49131 Fri Aug 15 00:38:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
49133 * ext/bigdecimal/bigdecimal.c: Bug in div method fixed.
49135 * ext/bigdecimal/lib/bigdecimal/math.rb: Newly added.
49137 * ext/bigdecimal/sample/pi.rb: Changed so as to use math.rb.
49139 Thu Aug 14 21:19:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49141 * eval.c (Init_Thread): Continuation#[] added. [ruby-talk:79028]
49143 Thu Aug 14 20:03:34 2003 Masaki Suketa <masaki.suketa@nifty.ne.jp>
49145 * ext/win32ole/win32ole.c (OLE_FREE): should not call
49148 * ext/win32ole/win32ole.c (ole_event_free): ditto.
49150 * ext/win32ole/win32ole.c (ole_initialize): stop calling
49151 OleUninitialize at exit.
49153 Thu Aug 14 11:27:37 2003 NAKAMURA Usaku <usa@ruby-lang.org>
49155 * gc.c (rb_data_object_alloc): check type of 1st argument.
49158 Thu Aug 14 00:21:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49160 * parse.y (mlhs_node): should allow "::Foo" (colon3) as lhs.
49162 * parse.y (lhs): ditto.
49164 * parse.y (yylex): should return tCOLON3 right after kCLASS.
49167 * error.c (exc_initialize): was converting argument to string too
49168 eagerly. Only check was needed. [ruby-talk:78958]
49170 Wed Aug 13 23:31:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
49172 * ext/bigdecimal/bigdecimal.c .h .html: Ambiguity of
49173 BigDecimal::limit removed.
49175 Wed Aug 13 19:21:34 2003 Christian Neukirchen <chneukirchen@yahoo.de>
49177 * lib/webrick/https.rb (HTTPServer#run): should set syncing-mode
49178 to SSLSocket. [ruby-talk:78919]
49180 Wed Aug 13 18:13:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49182 * eval.c (POP_BLOCK): turn on BLOCK_LEFT flag when leaving block.
49184 * eval.c (proc_invoke): unpack return/break destination when block
49187 Wed Aug 13 15:58:31 2003 WATANABE Hirofumi <eban@ruby-lang.org>
49189 * object.c (rb_class_s_alloc): add function prototype to avoid VC++
49192 Wed Aug 13 13:50:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
49194 * ext/Win32API/Win32API.c (Win32API_initialize): should pass some
49195 class to first argument of Data_Wrap_Struct(). (ruby-bugs:PR#1109)
49197 Tue Aug 12 16:55:11 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49199 * Makefile.in: static link libraries to LIBRUBY_SO with static linked
49200 ext. [ruby-dev:21157]
49202 * ext/extmk.rb (extmake): sort extension library initialization order.
49204 * ext/extmk.rb (extmake): compact $extlibs.
49206 Tue Aug 12 02:48:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49208 * eval.c (THREAD_SAVE_CONTEXT): should explicitly turn off the
49209 flag before calling getcontext(2).
49211 * eval.c (struct thread): add member to save backing store on
49212 IA64. (ruby-bugs PR1086)
49214 * eval.c (thread_mark): mark IA64 backing store region.
49216 * eval.c (thread_free): free saved IA64 backing store.
49218 * eval.c (rb_thread_save_context): save IA64 backing store as well.
49220 * eval.c (rb_thread_restore_context): restore IA64 backing store.
49222 * eval.c (THREAD_ALLOC): initialize IA64 members.
49224 Mon Aug 11 22:31:50 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
49226 * lib/debug.rb(debug_command): inspection command should inspect
49227 resulting value even if it's nil. [ruby-dev:21180] by OMAE, jun
49228 <jun66j5@ybb.ne.jp>.
49230 * lib/debug.rb(debug_command): incomplete regexp.
49232 Mon Aug 11 17:33:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49234 * eval.c (rb_call_super): do not use rb_block_given_p() for
49235 check. [ruby-talk:78656]
49237 * eval.c (BEGIN_CALLARGS): push ITER_NOT only when ITER_PRE.
49239 Sun Aug 10 10:43:05 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
49241 * ext/openssl/lib/openssl/buffering.rb: increase BLOCK_SIZE
49242 from 1k to 16k bytes. [ruby-talk:78603]
49244 * ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc): enable
49245 partial write to allow interruption in SSLSocket#write.
49247 Sun Aug 10 00:34:16 2003 WATANABE Hirofumi <eban@ruby-lang.org>
49249 * cygwin/GNUmakefile: remove unnecessary '--drive-name=$(CC)'
49252 Sat Aug 9 10:36:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49254 * marshal.c (w_object): do not dump generic instance variable when
49255 marshal_dump is defined.
49257 Sat Aug 9 00:35:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
49259 * ext/bigdecimal.c: F style output(like 1234.56789) implemented
49261 * ext/bigdecimal_??.html: F style output(like 1234.56789)
49262 implemented to to_s method.
49264 Fri Aug 8 12:33:17 2003 WATANABE Hirofumi <eban@ruby-lang.org>
49266 * bcc32/Makefile.sub: rubyw.exe should be a Windows GUI program.
49267 add the -aa option to WLDFLAGS.
49269 Fri Aug 8 11:29:26 2003 Koji Arai <jca02266@nifty.ne.jp>
49271 * marshal.c (w_object): should set `c_arg' at first.
49273 Fri Aug 8 03:22:28 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
49275 * lib/webrick/httputils.rb (FormData#list): should not take
49276 a side effect for the receiver.
49278 Thu Aug 7 14:40:37 2003 WATANABE Hirofumi <eban@ruby-lang.org>
49280 * cygwin/GNUmakefile: better --disbale-shared option support.
49282 * cygwin/GNUmakefile: add forwarding DLL target for cygwin.
49284 Thu Aug 7 14:21:05 2003 Corinna Vinschen <vinschen@redhat.com>
49286 * configure.in: Fix Cygwin specific naming of libraries to
49287 be net distribution compliant. (ruby-bugs:PR#1077)
49288 cygwin-ruby18.dll -> cygruby18.dll
49290 Thu Aug 7 12:51:38 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49292 * eval.c (rb_f_at_exit): should not be called without a block.
49293 block_given check added.
49295 Thu Aug 7 06:46:06 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49297 * eval.c (rb_call0): forgot to pop ruby_class.
49299 * eval.c (rb_call0): update ruby_class as well as ruby_cref.
49300 (ruby-bugs-ja:PR#540)
49302 Thu Aug 7 04:52:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49304 * eval.c (rb_yield_0): remove ruby_frame->cbase and unify to
49305 ruby_cref. [ruby-talk:78141]
49307 Thu Aug 7 04:19:15 2003 Akinori MUSHA <knu@iDaemons.org>
49309 * gc.c: FreeBSD/ia64's mcontext_t is a bit different from that of
49310 Linux/ia64. This makes gc.c compile but miniruby coredumps for
49313 Thu Aug 7 00:15:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
49315 * ext/bigdecimal.c: Comparison results adjusted to Float's.
49316 * ext/bigdecimal.c: Use rb_num_coerce_????(x,y) instead of own.
49318 Wed Aug 6 22:58:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
49320 * lib/test/unit/testcase.rb: Added equality checking.
49321 * lib/test/unit/testsuite.rb: Added equality checking.
49322 * lib/test/unit/assertions.rb: Fixed a warning.
49324 Wed Aug 6 17:28:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49326 * ext/extmk.rb (extmake): pass LIBPATH to make ruby. [ruby-dev:21137]
49328 * ext/extmk.rb (extmake): set library name as source file name in
49329 Init_ext(). [ruby-dev:21137]
49331 * lib/mkmf.rb (Logging::postpone): postpone logging messages after
49332 heading message as the result of the block.
49334 * lib/mkmf.rb (macro_defined?): append newline to src unless ended
49337 * lib/mkmf.rb (have_library): treat nil function name as "main".
49338 (ruby-bugs:PR#1083)
49340 * lib/mkmf.rb (pkg_config): should append additional libraries to
49341 $libs but not $LIBS. [ruby-dev:21137]
49343 * ext/io/wait/extconf.rb: check DOSISH macro instead of platform.
49345 * ext/digest/sha1/extconf.rb: have_library already appends library
49348 Wed Aug 6 17:23:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49350 * eval.c: initialize /* OK */ variables by Qnil to stop warnings.
49352 Wed Aug 6 04:58:32 2003 NAKAMURA Usaku <usa@ruby-lang.org>
49354 * ext/Setup*: add io/wait and openssl.
49356 Wed Aug 6 01:13:38 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49358 * eval.c (rb_f_autoload): use ruby_cbase instead of ruby_class.
49360 * eval.c (rb_f_autoload_p): ditto.
49362 * class.c (rb_mod_init_copy): no longer implements independent
49363 clone and dup methods. override "initialize_copy" instead.
49366 * object.c (rb_class_s_alloc): define Class allocation function.
49367 this makes Classes to follow clone framework that uses
49370 * object.c (rb_class_initialize): separate instantiation and
49373 * object.c (rb_obj_alloc): prohibit instantiation from
49374 uninitialized class.
49376 * object.c (rb_class_superclass): check uninitialized class.
49378 * array.c (rb_ary_fill): wrong index processing with block. this
49379 fix was done by Koji Arai <JCA02266@nifty.ne.jp> [ruby-list:38029]
49381 * marshal.c (w_object): should preserve generic ivar for nil,
49382 true, false, symbols, and fixnums.
49384 * marshal.c (w_uclass): base_klass check should be done after
49387 Wed Aug 6 01:18:50 2003 Minero Aoki <aamine@loveruby.net>
49389 * lib/net/http.rb: update document.
49391 * lib/net/pop.rb: ditto.
49393 * lib/net/protocol.rb: ditto.
49395 Wed Aug 6 00:48:37 2003 Koji Arai <jca02266@nifty.ne.jp>
49397 * marshal.c (w_object): should recommend marshal_dump rather than
49400 Tue Aug 5 17:58:57 2003 WATANABE Hirofumi <eban@ruby-lang.org>
49402 * lib/fileutils.rb (install): should preserve timestamp only.
49404 Tue Aug 5 17:31:59 2003 Ian Macdonald <ian@caliban.org>
49406 * lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):
49409 Tue Aug 5 15:47:34 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
49411 * eval.c (rb_load): should preserve current source file/line.
49413 Tue Aug 5 10:04:42 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49415 * string.c (str_new4): ptr may refer null_str.
49417 Mon Aug 4 17:25:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
49419 * stable version 1.8.0 released.
49421 For the changes before 1.8.0, see doc/ChangeLog-1.8.0
49424 add-log-time-format: (lambda ()
49425 (let* ((time (current-time))
49426 (system-time-locale "C")
49427 (diff (+ (cadr time) 32400))
49428 (lo (% diff 65536))
49429 (hi (+ (car time) (/ diff 65536))))
49430 (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
49431 indent-tabs-mode: t