1 Mon Jul 21 17:15:38 2008 Tanaka Akira <akr@fsij.org>
3 * encoding.c (rb_filesystem_encoding): use locale encoding on Unix.
6 Mon Jul 21 15:29:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8 * missing/vsnprintf.c (struct __sbuf, FILE): use size_t.
10 * sprintf.c (ruby__sfvwrite): ditto.
12 Mon Jul 21 13:55:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
14 * README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): mentioned
15 rb_sprintf and rb_vsprintf. [ruby-dev:35611]
17 Mon Jul 21 10:25:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
19 * io.c (prepare_getline_args): check if rs is a string when non-nil
20 lim is given. [ruby-dev:35610]
22 Mon Jul 21 04:55:20 2008 Tanaka Akira <akr@fsij.org>
24 * dir.c (dir_initialize): use rb_convert_type instead of
25 rb_check_convert_type to prevent SEGV by Dir.new(".", true).
26 (dir_initialize): use FilePathValue before rb_enc_get(dirname) to
27 prevent SEGV by Dir.new(0).
29 Mon Jul 21 04:42:15 2008 Tanaka Akira <akr@fsij.org>
31 * re.c (rb_reg_s_union): useless rb_enc_get call removed to prevent
32 SEGV by Regexp.union("", nil).
34 Sun Jul 20 22:50:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
36 * compile.c (iseq_compile_each): NODE_POSTEXE should set each end
37 procs only once. [ruby-dev:35596]
39 Sun Jul 20 16:00:37 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
41 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): use rb_protect
42 instead of rb_rescue2. [ruby-dev:35595]
44 Sun Jul 20 01:23:24 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
46 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.
48 * ext/win32ole/win32ole.c (EVENTSINK_GetIDsOfNames): return
49 ITypeInfo::GetIDsOfNames().
51 Sat Jul 19 09:31:35 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
53 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.
55 * ext/win32ole/win32ole.c: add document of inspect methods.
57 Sat Jul 19 06:08:43 2008 Eric Hodel <drbrain@segment7.net>
59 * lib/rdoc*: Import RDoc r104. Various make test-all fixes.
61 Sat Jul 19 00:27:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
63 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): fixed wrong check
64 about 64bit positive value.
66 Fri Jul 18 23:23:37 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
68 * ext/win32ole/win32ole.c (EVENTSINK_Invoke): avoid cfp consistency
69 error when exception raised in event callback.
71 Fri Jul 18 14:52:14 2008 NAKAMURA Usaku <usa@ruby-lang.org>
73 * win32/win32.c (socklist): table for registering socket options
74 (currently only O_NONBLOCK).
76 * win32/win32.c (StartSockets, exit_handler): alloc/free socklist.
78 * win32/win32.c (is_socket): use socklist.
80 * win32/win32.c (rb_w32_accept, rb_w32_socket, rb_w32_socketpair):
81 register new socket to socklist.
83 * win32/win32.c (rb_w32_close): remove closing socket from socklist.
85 * win32/win32.c (fcntl): register socket options.
87 * win32/win32.c (overlapped_socket_io): send to/recv from socket with
88 overlapped operation if the socket is not nonblocking mode.
91 * win32/win32.c (rb_w32_send, rb_w32_sendto, rb_w32_recv,
92 rb_w32_recvfrom): use overlapped_socket_io().
94 * win32/win32.c (open_ifs_socket): set overlapped mode. this is the
95 default mode of winsock's socket(), so lacking it is an old bug.
97 Fri Jul 18 09:44:30 2008
99 * lib/rdoc/*: Import RDoc r101.
101 Thu Jul 17 23:45:55 2008 Yusuke Endoh <mame@tsg.ne.jp>
103 * test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile.
105 Thu Jul 17 21:08:49 2008 Yusuke Endoh <mame@tsg.ne.jp>
107 * test/ruby/test_process.rb (test_getpriority, test_setpriority): use
108 PRIO_PROCESS instead of PRIO_USER.
110 Thu Jul 17 20:41:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
112 * pack.c (pack_unpack): fix v and V with big endian.
113 [1].pack("V").unpack("V") was [4294967296].
115 Thu Jul 17 20:35:03 2008 Yusuke Endoh <mame@tsg.ne.jp>
117 * pack.c (pack_pack): fix i! with big endian. [1].pack("i!") was
120 Thu Jul 17 16:48:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
122 * ext/socket/socket.c (ruby_connect): select() for connect() has
123 mean only when the socket is non-blocking.
125 Thu Jul 17 10:55:24 2008 Eric Hodel <drbrain@segment7.net>
127 * mkconfig.rb: Simplify expression for RDoc.
129 Thu Jul 17 10:21:15 2008 NAKAMURA Usaku <usa@ruby-lang.org>
131 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): strict check.
132 fixed [ruby-dev:33683]
134 Thu Jul 17 04:19:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
136 * thread.c (thread_start_func_2): wake up joining threads.
138 * thread.c (sleep_forever, sleep_timeval): return when interrupted.
141 * thread.c (timer_thread_function): restore main thread status.
144 Thu Jul 17 01:27:38 2008 Yusuke Endoh <mame@tsg.ne.jp>
146 * io.c (appendline): remove invalid access.
148 Wed Jul 16 18:04:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
150 * signal.c (signal_exec, trap_handler): trap accepts a string as
151 command. [ruby-dev:35533]
153 Wed Jul 16 00:04:30 2008 Yusuke Endoh <mame@tsg.ne.jp>
155 * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new
158 * test/ruby/test_argf.rb: use assert_in_out_err instead of
161 * test/ruby/test_module.rb: ditto.
163 * test/ruby/test_require.rb: ditto.
165 * test/ruby/test_objectspace.rb: ditto.
167 * test/ruby/test_object.rb: ditto.
169 * test/ruby/test_string.rb: ditto.
171 * test/ruby/test_method.rb: ditto.
173 * test/ruby/test_variable.rb: ditto.
175 * test/ruby/test_io.rb: ditto.
177 * test/ruby/test_rubyoptions.rb: ditto.
179 * test/ruby/test_exception.rb: ditto.
181 * test/ruby/test_class.rb: ditto.
183 * test/ruby/test_thread.rb: ditto.
185 Tue Jul 15 22:34:03 2008 NAKAMURA Usaku <usa@ruby-lang.org>
187 * win32/Makefile.sub (ruby_version): follow changes in configure.in.
189 Tue Jul 15 21:58:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
191 * ext/tk/{,tkutil/}extconf.rb: ruby/ruby.h no longer needs to be
194 * ext/tk/{tcltklib.c,tkutil/tkutil.c}: check macros for each headers.
196 Tue Jul 15 21:45:41 2008 Akinori MUSHA <knu@iDaemons.org>
198 * ext/tk/extconf.rb, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: Do
199 not test ruby/ruby.h, which makes OS X's gcc pick the wrong
200 header file from Ruby.framework.
202 Tue Jul 15 21:31:26 2008 Akinori MUSHA <knu@iDaemons.org>
204 * configure.in (--with-ruby-version): Add a new option to specify
205 the ruby version string for version specific directories.
208 * mkconfig.rb: Definition of ruby_version is now determined by the
211 Tue Jul 15 18:14:20 2008 NAKAMURA Usaku <usa@ruby-lang.org>
213 * ext/socket/socket.c (ruby_connect, s_accept): check before readable/
214 writable by select() instead of wrapping in blocking region.
216 * ext/socket/socket.c (bsock_send, s_recvfrom, udp_send, unix_send_io,
217 unix_recv_io): should check readable/writable before calling blocking
221 Tue Jul 15 18:12:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
223 * thread_win32.c (ubf_handle): cancel blocking IO if it can (only
224 Vista). see [ruby-dev:35446]
226 * win32/win32.c (errmap): add ERROR_OPERATION_ABORTED as EINTR.
228 Mon Jul 14 20:35:21 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
230 * test/win32ole/test_win32ole_event.rb (teardown): fix typo.
232 Mon Jul 14 18:47:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
234 * transcode.c (transcode_loop): constified.
236 * transcode.c (str_transcode): rb_str_set_len() sets a delimiter.
238 * transcode_data.h (rb_transcoder): constified preprocessor and
241 * enc/trans/japanese.c: ditto.
243 Sun Jul 13 05:37:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
245 * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
247 * {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added.
249 Sat Jul 12 23:54:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
251 * win32/Makefile.sub (LIBRUBY_DLDFLAGS): import library which created
252 with DLL is broken. save import library which created by lib.exe and
254 fixed the problem mentioned at the postscript of [ruby-dev:35448]
256 Sat Jul 12 23:24:21 2008 Tanaka Akira <akr@fsij.org>
258 * ext/socket/socket.c: use PRIuSIZE.
260 Sat Jul 12 22:41:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
262 * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): fixed typo.
264 Sat Jul 12 22:30:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
266 * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that
267 extconf.rb do not need to check if headers exist under separated
268 directory. [ruby-dev:35437]
270 * include/{ruby,rubyio,rubysig}.h, include/ruby/intern.h: use
271 "ruby/..." instead of <ruby/...>.
273 Sat Jul 12 22:17:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
275 * configure.in (sizeof ptrdiff_t): check for size of ptrdiff_t.
277 * include/ruby/ruby.h (PRI?PTRDIFF, PRI?SIZE): printf conversion
278 specifiers for ptrdiff_t and size_t/ssize_t.
280 * insns.def (leave), marshal.c (long_toobig), transcode.c
281 (str_transcode), vm_dump.c (control_frame_dump, stack_dump_each),
282 (debug_print_register, debug_print_pre): t and z length modifiers
285 Sat Jul 12 16:02:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
287 * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires
288 webrick/cookie. [ ruby-Bugs-21139 ]
290 Sat Jul 12 09:25:07 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
292 * test/win32ole/test_win32ole_event.rb: add test
293 for WIN32OLE_EVENT#on_event_with_outargs
295 * test/win32ole/test_win32ole_event.rb(teardown): calling
296 WIN32OLE_EVENT.message_loop
298 Sat Jul 12 01:54:13 2008 NAKAMURA Usaku <usa@ruby-lang.org>
300 * win32/win32.c (rb_w32_select): shoudn't pass non-socket handle to
303 Fri Jul 11 23:05:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
305 * test/zlib/test_zlib.rb: add a test for Zlib::Deflate#params.
307 Fri Jul 11 22:58:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
309 * ext/zlib/zlib.c (rb_deflate_params): flush before deflateParams.
312 Fri Jul 11 22:09:01 2008 NAKAMURA Usaku <usa@ruby-lang.org>
314 * win32/setup.rb, win32/Makefile.sub (PLATFORM): use $(PLATFORM)
315 instead of $(OS) because ENV["OS"] is used in test-all (drb).
317 Fri Jul 11 20:51:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
319 * io.c (rb_io_wait_readable, rb_io_wait_writable): check if the file
320 descriptor is closed.
322 * thread.c (rb_thread_wait_fd_rw): ditto.
324 Fri Jul 11 16:16:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
326 * win32/win32.c (rb_w32_accept, rb_w32_socket, rb_w32_socketpair):
327 prohibit inheritance of sockets, too. [experimental]
329 Fri Jul 11 14:39:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
331 * win32/win32.c (CreateChild): the measures for Vista is no longer
334 Fri Jul 11 06:16:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
336 * common.mk (process.o): depends on util.h.
338 Fri Jul 11 05:07:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
340 * include/ruby/win32.h (pipe): prohibit inheritance.
341 fixed: [ruby-dev:35421]
343 Fri Jul 11 00:56:46 2008 Koichi Sasada <ko1@atdot.net>
345 * thread.c (thread_create_core): fix GC problem.
348 Thu Jul 10 22:06:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
350 * lib/pstore.rb (PStore#transaction): return the result from the
351 block. [ruby-core:17718]
353 Thu Jul 10 21:15:49 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
355 * test/win32ole/test_win32ole_typelib.rb: add some illegal argument
358 * test/win32ole/test_win32ole_type.rb: ditto.
360 * test/win32ole/test_win32ole_event.rb: ditto.
362 * test/win32ole/test_win32ole_param.rb: ditto.
364 * test/win32ole/test_win32ole_method.rb: ditto.
366 Thu Jul 10 19:38:35 2008 wanabe <s.wanabe@gmail.com>
368 * test/ruby/envutil.rb (assert_normal_exit): r17993 revert.
370 Thu Jul 10 18:29:41 2008 wanabe <s.wanabe@gmail.com>
372 * test/ruby/envutil.rb (assert_normal_exit): finish writing script
373 before spawn("ruby") to avoid blocking in win32.
375 Thu Jul 10 17:20:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
377 * win32/win32.c (insert): follow recent changes of globbing.
379 Thu Jul 10 14:09:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
381 * ext/coverage/coverage.c (rb_coverage_start): return nil.
383 Thu Jul 10 12:41:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
385 * thread.c (rb_thread_wait_for): fixed variable name.
387 Thu Jul 10 12:09:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
389 * vm_core.h (rb_thread_t), vm.c (rb_thread_mark), process.c
390 (rb_last_status_get, rb_last_status_set, rb_last_status_clear):
391 moved last_status from rb_vm_t. [ruby-dev:35414]
393 * vm.c (th_init2): initialize last_status with nil.
395 Thu Jul 10 12:09:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
397 * thread.c (rb_thread_wait_for): wait until timed out only when
398 sleeping with timeout.
400 Wed Jul 9 22:41:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
402 * thread.c (sleep_timeval): wait until timed out. [ruby-core:17270]
404 Wed Jul 9 20:58:16 2008 Tanaka Akira <akr@fsij.org>
406 * array.c (rb_ary_fill): don't raise even if length is negative.
407 [ruby-core:17483], [ruby-core:17661]
409 Wed Jul 9 20:18:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
411 * configure.in (rb_cv_va_args_macro): check for __VA_ARGS__.
413 * thread.c (thread_debug): show source name and line if possible.
415 * thread_{pthread,win32}.c (rb_thread_create_timer_thread): needs more
418 Wed Jul 9 11:13:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
420 * lib/profiler.rb (Profiler__#print_profile): sort in the descending
421 order of cumulative time.
423 Wed Jul 9 11:11:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
425 * dir.c (struct glob_args, rb_glob_caller, rb_glob2, push_pattern),
426 (glob_brace): make consistent prototypes.
428 * dir.c (push_glob): set enc in the caller of rb_glob_caller as well
431 Wed Jul 9 09:12:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
433 * ext/nkf/nkf-utf8/nkf.c (options): use input_endian.
435 Wed Jul 9 01:38:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
437 * string.c (rb_str_succ): alphabets or numerics mutually enclosing
438 non-alphanumeric characters can carry up. e.g., "1.999".succ should
441 Wed Jul 9 00:12:31 2008 Yusuke Endoh <mame@tsg.ne.jp>
443 * thread.c (rb_set_coverages, rb_reset_coverages): enable and disable
444 coverage measurement.
446 * thread.c (rb_get_coverages): rename and move from vm.c.
448 * vm.c (rb_vm_get_coverages): ditto.
450 * iseq.c (prepare_iseq_build): ditto.
452 * thread.c (clear_coverage): ditto.
454 * parse.y (coverage): ditto.
456 * ext/coverage/coverage.c: use above functions, add new method
457 Coverage.start and fix rdoc .
459 Tue Jul 8 23:02:35 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
461 * ext/win32ole/win32ole.c (find_default_source): bug fix when
462 OLE object does not have default source interface.
464 * test/win32ole/test_win32ole_event.rb: ditto.
466 Tue Jul 8 22:56:23 2008 Yusuke Endoh <mame@tsg.ne.jp>
468 * thread.c (rb_enable_coverages): hide coverage array by setting 0 to
469 klass during measurement.
471 * parse.y (coverage, yycompile0): ditto.
473 * iseq.c (prepare_iseq_build): use rb_hash_lookup instead of
476 * thread.c (rb_coverage_result): restore klass of coverage array
479 * theaad.c (update_coverage): chcek whether its klass is 0.
481 Tue Jul 8 22:28:25 2008 Koichi Sasada <ko1@atdot.net>
483 * lib/debug.rb, lib/profile.rb: fix to use RubyVM.
485 * lib/rdoc/parsers/parse_c.rb: ditto.
487 Tue Jul 8 21:45:22 2008 Yusuke Endoh <mame@tsg.ne.jp>
489 * vm.c (rb_vm_mark): mark the last element of special_exceptions.
491 Tue Jul 8 19:55:40 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
493 * ext/win32ole/win32ole.c (find_default_source): try to
494 find COCLASS when WIN32OLE object is not COCLASS.
496 * test/win32ole/test_win32ole_event.rb: ditto
498 Tue Jul 8 13:38:22 2008 Koichi Sasada <ko1@atdot.net>
500 * compile.h: fix to skip inserting a trace insn.
502 Tue Jul 8 11:41:17 2008 NAKAMURA Usaku <usa@ruby-lang.org>
504 * dir.c: shoudn't use ruby object in globbing, because glob service
505 routines are called before initializing ruby on some platforms (ex.
508 Tue Jul 8 10:08:40 2008 NARUSE, Yui <naruse@ruby-lang.org>
510 * dir.c (Next): use rb_enc_mbclen. [ruby-dev:35390]
512 Tue Jul 8 07:59:40 2008 NARUSE, Yui <naruse@ruby-lang.org>
514 * dir.c (Next): use rb_enc_precise_mbclen.
516 Tue Jul 8 02:27:23 2008 NARUSE, Yui <naruse@ruby-lang.org>
518 * dir.c: preserve encoding of strings in glob and fnmatch.
520 * include/ruby/ruby.h: related changes.
522 Tue Jul 8 00:22:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
524 * string.c (rb_str_succ): limit carrying in an alphanumeric region if
525 exists. [ruby-dev:35094]
527 Mon Jul 7 20:39:28 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
529 * ext/win32ole/win32ole.c(Init_win32ole): add
530 WIN32OLE_TYPE#source_ole_types, WIN32OLE_TYPE#default_ole_types,
531 WIN32OLE_TYPE#default_event_sources.
533 * test/win32ole/test_win32ole_type.rb: ditto.
535 Mon Jul 7 19:45:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
537 * test/ruby/test_dir.rb (test_chroot_nodir): add Errno::EPERM.
539 Mon Jul 7 17:12:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
541 * lib/ipaddr.rb (IPAddr#initialize): get rid of ArgumentError in
542 IPAddr#to_range. a patch from okkez <okkez000 AT gmail.com> in
545 Mon Jul 7 01:24:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
547 * file.c (rb_file_s_extname): fix for file name with spaces.
550 Mon Jul 7 00:59:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
552 * thread_pthread.c (ruby_init_stack): prior STACK_END_ADDRESS if
553 found. [ruby-core:17624]
555 Sun Jul 6 23:48:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
557 * ext/socket/socket.c (bsock_send, s_recvfrom, ruby_connect, s_accept),
558 (udp_send, unix_send_io, unix_recv_io): blocking region support.
560 Sun Jul 6 18:34:35 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
562 * test/win32ole/test_win32ole_type.rb (test_initialize): add
565 Sun Jul 6 10:12:21 2008 Kouhei Sutou <kou@cozmixng.org>
567 * lib/test/unit/collector/objectspace.rb
568 (Test::Unit::Collector::ObjectSpace::NAME): fix a typo.
570 Sun Jul 6 00:56:51 2008 Tanaka Akira <akr@fsij.org>
572 * ext/socket/socket.c (host_str): fix type mismatch in rb_raise
575 (unix_recv_io): ditto.
576 (sock_s_unpack_sockaddr_un): ditto.
578 Sat Jul 5 23:42:23 2008 Tanaka Akira <akr@fsij.org>
580 * include/ruby/ruby.h (NUM2INT): cast to int.
582 (NUM2UINT): cast to unsigned int.
585 Sat Jul 5 23:10:41 2008 Tanaka Akira <akr@fsij.org>
587 * io.c (rb_pipe): new function for handling EMFILE and ENFILE
589 (UPDATE_MAXFD_PIPE): removed.
590 (pipe_open): use rb_pipe.
591 (rb_io_s_pipe): ditto.
593 * process.c (pipe_nocrash): use rb_pipe.
595 * include/ruby/intern.h (rb_pipe): declared.
597 Sat Jul 5 22:22:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
599 * thread.c (thread_initialize): NUM2INT() returns int.
601 * thread.c (timer_thread_function), thread_pthread.c (thread_timer),
602 thread_win32.c (timer_thread_func), thread_{pthread,win32}.c
603 (rb_thread_create_timer_thread): passing VM.
605 Sat Jul 5 20:53:18 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
607 * test/win32ole/test_word.rb: check word installed.
609 Sat Jul 5 16:12:54 2008 Narihiro Nakamura <authorNari@gmail.com>
611 * gc.c: revert. before lazy sweep.
613 Sat Jul 5 09:55:44 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
615 * ext/win32ole/win32ole.c: add WIN32OLE#ole_respond_to?
617 * test/win32ole/test_win32ole.rb: ditto.
619 Sat Jul 5 08:48:05 2008 Tanaka Akira <akr@fsij.org>
621 * re.c (unescape_nonascii): add has_property argument not to
622 raise error by /\p{Hiragana}\u{3042}/ in EUC-JP script.
623 (rb_reg_preprocess): use has_property argument to make regexp
626 Sat Jul 5 08:29:47 2008 Tanaka Akira <akr@fsij.org>
628 * re.c (unescape_nonascii): make regexp fixed_encoding if \p is used.
629 fixed [ruby-core:17279].
631 Fri Jul 4 23:12:53 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
633 * ext/win32ole/win32ole.c (d2time): fix the bug of VT_DATE
634 to String conversion when negative value.
636 * test/win32ole/test_win32ole_variant.rb: ditto.
638 Fri Jul 4 22:15:29 2008 Tanaka Akira <akr@fsij.org>
640 * lib/test/unit/testcase.rb: collect decendants of
641 Test::Unit::TestCase using inherited.
643 * lib/test/unit/autorunner.rb: don't use ObjectSpace.each_object.
645 * lib/test/unit/collector/dir.rb: ditto.
647 * lib/test/unit/collector/objectspace.rb: ditto.
651 Fri Jul 4 20:43:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
653 * include/ruby/oniguruma.h (OnigEncoding): removed auxiliary_data.
655 * include/ruby/encoding.h (ENC_DUMMY_P): moved dummy encoding flag to
656 rb_encoding from Encoding instance.
658 * encoding.c (rb_encoding_list): list of Encoding instances.
660 * encoding.c (struct rb_encoding_entry): moved base encoding from
663 Fri Jul 4 17:51:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
665 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): proper check.
667 Fri Jul 4 14:17:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
669 * lib/net/ftp.rb (Net::FTP#sendport): use divmod. [ruby-core:17557]
671 Fri Jul 4 11:08:37 2008 Narihiro Nakamura <authorNari@gmail.com>
673 * gc.c (garbage_collect_force): sweep is completely ended.
675 * gc.c (os_obj_of): invoke garbage_collect_force() when freelist none.
677 Fri Jul 4 05:01:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
679 * numeric.c (rb_num2uint, rb_fix2uint): typo.
681 Fri Jul 4 02:21:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
683 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): also needs checking
684 negative value. see [ruby-dev:33683]
686 Thu Jul 3 23:26:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
688 * include/ruby/intern.h: remove prototypes about coverage.
690 * iseq.c (prepare_iseq_build): add prototype.
692 * parse.y (coverage): ditto.
694 * thread.c (clear_coverage): ditto.
696 * thread.c (update_coverage): use rb_sourceline.
698 * thread.c (rb_get_coverages): rename and move to vm.c.
700 * vm.c (rb_vm_get_coverages): ditto.
702 * ext/coverage/coverage.c: add rdoc.
704 Thu Jul 3 21:51:21 2008 Yusuke Endoh <mame@tsg.ne.jp>
706 * ext/coverage/coverage.c, ext/coverage/extconf.rb: eliminate
707 COVERAGE__ and introduce coverage.so instead. How to measure
708 coverage: (1) require "coverage.so", (2) require or load Ruby source
709 file, and (3) Coverage.result will return the same hash as COVERAGE__.
712 * thread.c (rb_enable_coverages): start coverage measurement by using
715 * thread.c (rb_get_coverages): returns current results of coverage
718 * include/ruby/intern.h: add prototype for above two functions.
720 * vm_core.h, vm.c: add field of coverages to rb_vm_t.
722 * insns.def (trace): remove special handling for COVERAGE__.
724 * iseq.c (prepare_iseq_build): switch COVERAGE__ to
727 * parse.y (coverage): ditto.
729 * thread.c (clear_coverage): ditto.
731 * lib/coverage.rb: use coverage.so instead of COVERAGE__.
733 Thu Jul 3 21:20:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
735 * thread.c (thread_initialize): NUM2INT returns long.
737 Thu Jul 3 21:06:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
739 * eval.c (Init_eval): typo fixed in r17833.
741 Thu Jul 3 19:44:44 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
743 * ext/win32ole/win32ole.c (Init_win32ole): remove duplicate line.
745 Thu Jul 3 16:08:36 2008 Tanaka Akira <akr@fsij.org>
747 * configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch
748 on IA64 is broken. erfc(10000.0) aborts.
749 use missing/erf.c instead.
750 http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html
752 Thu Jul 3 12:49:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
754 * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
755 'localhost.localdomain'. [ruby-dev:35333]
757 * lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
759 Thu Jul 3 07:06:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
761 * Makefile.in (SET_LC_MESSAGES): LC_MESSAGES must be C.
763 Thu Jul 3 07:02:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
765 * eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze
766 messages of preallocated special exceptions also.
768 Thu Jul 3 04:39:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
770 * gc.c (rb_during_gc): VALUE cache is irrelevant.
772 Thu Jul 3 01:44:01 2008 Yusuke Endoh <mame@tsg.ne.jp>
774 * regint.h (GET_ALIGNMENT_PAD_SIZE, ALIGNMENT_RIGHT): cast pointer to
775 uintptr_t instead of unsigned int.
777 Thu Jul 3 01:23:13 2008 Yusuke Endoh <mame@tsg.ne.jp>
779 * sprintf.c: include ieeefp.h to refer isinf.
781 * ext/bigdecimal/bigdecimal.c: ditto.
783 * ext/json/ext/generator/generator.c: ditto.
787 Thu Jul 3 01:01:57 2008 Yusuke Endoh <mame@tsg.ne.jp>
789 * missing/tgamma.c (tgamma): remove unused variable.
791 Thu Jul 3 00:18:00 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
793 * ext/win32ole/win32ole.c: avoid creating Ruby object during
794 GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313]
796 * test/win32ole/test_win32ole_event.rb: ditto.
798 Thu Jul 3 00:09:31 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
800 * gc.c: add rb_during_gc(). based on a patch from arton <artonx AT
801 yahoo.co.jp> at [ruby-dev:35313].
803 * include/ruby/intern.h: ditto.
805 Wed Jul 2 09:49:10 2008 Narihiro Nakamura <authorNari@gmail.com>
807 * gc.c (gc_lazy_sweep) : use lazy sweep algorithm for response
810 * gc.c (garbage_collect_force) : mark and lazysweep invoke, after
813 * gc.c (GC_NOT_LAZY_SWEEP) : not lazy sweep flag. for debug.
815 Wed Jul 2 03:42:44 2008 Yusuke Endoh <mame@tsg.ne.jp>
817 * test/ruby/test_settracefunc.rb: fix expected traces for
818 RubyVM::FrozenCore's event and r17744.
820 Wed Jul 2 03:10:41 2008 Koichi Sasada <ko1@atdot.net>
822 * compile.h, insns.def: reduce insn operand of "trace".
824 * include/ruby/ruby.h: add RUBY_EVENT_COVERAGE event.
826 Wed Jul 2 02:02:34 2008 Koichi Sasada <ko1@atdot.net>
828 * proc.c, vm.c: fix to refer next ruby level cfp to make binding.
830 Wed Jul 2 01:58:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
832 * insns.def (trace): C99ism.
834 Wed Jul 2 01:53:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
836 * Add coverage measurement constant COVERAGE__. This constant is not
837 for casual use. Usage: (1) assign {} to COVERAGE__, (2) require or
838 load Ruby source file, and (3) COVERAGE__["sourcefilepath"] will
839 return an array whose elements represent number of executions per
842 * vm_core.h: add field of coverage array to iseq.
844 * iseq.c (prepare_iseq_build): ditto.
846 * insns.def (trace): update coverage array.
848 * parse.y (coverage): create and initialize coverage array.
850 * compile.h (ADD_TRACE): add trace instruction to update covearge
853 * thread.c (clear_coverage): delete coverage array when forking.
854 Otherwise, double count of coverage may occur.
856 * lib/coverage.rb: sample coverage measurement tool.
858 * error.c: distinguish explicitly between parse_in_eval and
865 Tue Jul 1 21:32:43 2008 Yusuke Endoh <mame@tsg.ne.jp>
867 * lib/test/unit/ui/console/testrunner.rb: prevent destructive
870 * test/rubygems/gemutilities.rb (build_rake_in): move from
871 test_gem_ext_rake_builder.rb.
873 * test/rubygems/test_gem_ext_rake_builder.rb: ditto.
875 * test/rubygems/test_gem_installer.rb: override Gem.ruby and
878 * test/rubygems/test_gem_uninstaller.rb: ditto.
881 Tue Jul 1 21:13:17 2008 Koichi Sasada <ko1@atdot.net>
883 * compile.c, vm.c, insns.def: call FrozenCore.set_postexe method
884 instead to use "postexe" insn.
886 * id.c, id.h: add a prepared id for above.
888 Tue Jul 1 21:09:58 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
890 * lib/mkmf.rb (create_tmpsrc): we need to include COMMON_HEADERS,
891 namely inclusion of ruby.h, because _GNU_SOURCE is now defined
892 there (if any) and socket.so requires it on Linux systems.
894 Tue Jul 1 20:55:07 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
896 * eval.c (rb_interrupt): trick to suppress GCC warning.
898 * sprintf.c (rb_str_format): ditto.
900 Tue Jul 1 20:44:36 2008 Koichi Sasada <ko1@atdot.net>
902 * tool/instruction.rb: RubyVM is not module.
904 Tue Jul 1 19:31:24 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
906 * ext/digest/digest.c (rb_digest_instance_inspect): constified.
908 * variable.c (rb_path2class): field precision should have type int.
910 Tue Jul 1 19:01:00 2008 NARUSE, Yui <naruse@ruby-lang.org>
912 * enc/shift_jis.c (code_is_ctype): HALF WIDTH KATAKANA is
915 Tue Jul 1 17:56:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
917 * missing/vsnprintf.c (BSD__uqtoa): constified.
919 Tue Jul 1 17:50:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
921 * enc/make_encdb.h: always add ';' at the end of line.
923 Tue Jul 1 17:44:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
925 * iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),
926 thread.c (eKillSignal, eTerminateSignal),
927 missing/vsnprintf.c (BSD_vfprintf): constified.
929 Tue Jul 1 17:37:43 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
931 * enc/ascii.c: ISO C does not allow extra ';' outside of a
934 * enc/us_ascii.c: ditto.
936 * enc/utf_8.c: ditto.
940 * enc/euc_jp.c: ditto.
942 * enc/euc_kr.c: ditto.
944 * enc/euc_tw.c: ditto.
946 * enc/gb2312.c: ditto.
950 * enc/iso_8859_1.c: ditto.
952 * enc/iso_8859_2.c: ditto.
954 * enc/iso_8859_3.c: ditto.
956 * enc/iso_8859_4.c: ditto.
958 * enc/iso_8859_5.c: ditto.
960 * enc/iso_8859_6.c: ditto.
962 * enc/iso_8859_7.c: ditto.
964 * enc/iso_8859_8.c: ditto.
966 * enc/iso_8859_9.c: ditto.
968 * enc/iso_8859_10.c: ditto.
970 * enc/iso_8859_11.c: ditto.
972 * enc/iso_8859_13.c: ditto.
974 * enc/iso_8859_14.c: ditto.
976 * enc/iso_8859_15.c: ditto.
978 * enc/iso_8859_16.c: ditto.
980 * enc/koi8_r.c: ditto.
982 * enc/shift_jis.c: ditto.
984 * enc/utf_16be.c: ditto.
986 * enc/utf_32be.c: ditto.
988 * enc/utf_32le.c: ditto.
990 * enc/windows_1251.c: ditto.
992 * process.c (run_exec_rlimit): ISO C90 forbids mixed declarations
995 * include/ruby/ruby.h (enum ruby_special_consts): ISO C forbids
996 comma at end of enumerator list
998 * include/ruby/ruby.h (enum ruby_value_type): ditto.
1000 * eval_intern.h (enum): ditto.
1002 * vm_core.h (enum rb_thread_status): ditto.
1004 * parse.y (enum lex_state_e): ditto.
1006 * parse.y (enum string_type): ditto.
1008 * process.c (enum): ditto.
1010 * ruby.c (enum dump_flag_bits): ditto.
1012 * ruby.c (enum disable_flag_bits): ditto.
1014 * enc/gb18030.c (enum): ditto.
1016 Tue Jul 1 17:21:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1018 * regexec.c (stack_double): use MatchStackLimitSize atomically.
1020 * regparse.c (onig_free_shared_cclass_table): OnigTypeCClassTable
1023 * regsyntax.c: constified all predefined OnigSyntaxTypes.
1025 Tue Jul 1 16:57:44 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
1027 * include/ruby/st.h (struct st_table): type of bit-field
1028 'num_entries' is a GCC extension
1030 * include/ruby/ruby.h (rb_intern): prefix __extnsion__ for
1031 braced-groups within expressions.
1033 * include/ruby/intern.h (rb_usascii_str_new2): ditto.
1035 * include/ruby/intern.h (rb_tainted_str_new2): ditto.
1037 * include/ruby/intern.h (rb_str_new2): ditto.
1039 Tue Jul 1 15:01:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1041 * lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make),
1042 (Gem::Ext::Builder.run): EXIT_SUCCESS may be 0 or may not.
1044 * test/rubygems/test_gem_ext_rake_builder.rb (build_rake_in): override
1045 Gem.ruby and ENV["rake"].
1047 * runruby.rb: bin/rake does not exist in archdir where architecture
1048 depend script (i.e. rbconfig.rb) exists.
1050 Tue Jul 1 13:19:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1052 * array.c (rb_ary_fill): check if beg is too big.
1054 Tue Jul 1 12:01:16 2008 Koichi Sasada <ko1@atdot.net>
1056 * compile.c, insns.def, vm.c, vm_core.h: remove some insns
1057 (undef, alias, definemethod).
1058 Call RubyVM::FrozenCore's singleton method instead.
1059 Add "putiseq" and "putspecialobject" instructions.
1061 * id.c, id.h: add ids for above.
1063 * tool/parse.rb: "VM" no longer exists. Use RubyVM instead.
1065 Tue Jul 1 03:28:16 2008 Eric Hodel <drbrain@segment7.net>
1067 * test/rubygems/test_ext_configure_builder.rb: Apply locale-free
1068 patch by Yusuke ENDOH. [ruby-core:17444].
1070 * runruby.rb: Set ENV['rake']. Patch by Yusuke ENDOH
1073 Tue Jul 1 01:07:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1075 * lib/cgi.rb (CGI::QueryExtension.read_multipart): blanks inside
1076 double quotes are allowed. [ruby-list:45140]
1078 Tue Jul 1 00:59:43 2008 Tanaka Akira <akr@fsij.org>
1080 * numeric.c (num_coerce): call rb_Float(x) first. don't depend on
1081 evaluation order of function arguments.
1083 Tue Jul 1 00:49:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1085 * gc.c (rb_newobj): abort GC phase before rb_bug.
1087 Mon Jun 30 23:15:07 2008 Yusuke Endoh <mame@tsg.ne.jp>
1089 * test/openssl/test_ssl.rb (start_server): shutdown TCPServer before
1092 Mon Jun 30 23:01:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1094 * common.mk (RUBY_H_INCLUDES): common headers which are included with
1097 Mon Jun 30 22:57:50 2008 Yusuke Endoh <mame@tsg.ne.jp>
1099 * test/ruby/test_settracefunc.rb (test_raise): reveal an exception
1100 hided by rescue modifier.
1102 Mon Jun 30 22:49:32 2008 Yusuke Endoh <mame@tsg.ne.jp>
1104 * test/ruby/test_array.rb (test_aset): access with too big index
1105 raises not ArgumentError but IndexError now.
1107 Mon Jun 30 22:30:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1109 * lib/test/unit/collector/dir.rb (recursive_collect): r15662 reverted.
1111 Mon Jun 30 22:27:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
1113 * ext/stringio/stringio.c (strio_getline): fix for nil and "" as
1114 separator. [ruby-dev:34591]
1116 Mon Jun 30 22:21:30 2008 Yusuke Endoh <mame@tsg.ne.jp>
1118 * io.c (argf_each_line): pass args to each_line. [ruby-dev:34958]
1120 Mon Jun 30 22:12:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1122 * gc.c (chain_finalized_object): should not delete from finalizer
1125 * gc.c (rb_gc_call_finalizer_at_exit): deferred_final_list may be
1128 Mon Jun 30 18:57:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1130 * gc.c (gc_finalize_deferred): allow object allocation in finalizers.
1132 * gc.c (rb_gc_call_finalizer_at_exit): ditto.
1134 Mon Jun 30 14:41:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1136 * gc.c (rb_newobj): prohibit call of rb_newobj() during gc when
1137 USE_VALUE_CACHE is not defined (normal case).
1139 Mon Jun 30 10:28:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1141 * ext/syslog/syslog.c (syslog_write): syslog operations should be
1142 protected from $SAFE level 4. a patch from Keita Yamaguchi
1143 <keita.yamaguchi at gmail.com>.
1145 * ext/syslog/syslog.c (mSyslog_close): ditto.
1147 * ext/syslog/syslog.c (mSyslog_set_mask): ditto.
1149 Mon Jun 30 03:01:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
1151 * test/net/http/test_http.rb (_test_request__file): specify encoding
1154 * test/net/http/utils.rb: ditto.
1156 Mon Jun 30 02:31:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
1158 * encoding.c (rb_utf8_encindex): defined.
1160 * include/ruby/encoding.h (rb_utf8_encindex): ditto.
1162 Mon Jun 30 02:14:34 2008 Koichi Sasada <ko1@atdot.net>
1164 * vm.c, vm_core.h,vm_core.h, vm_dump.c, iseq.c: rename class name
1165 VM -> RubyVM, and rename rb_cVM -> rb_cRubyVM.
1166 "VM" is too short name for class.
1168 * test/ruby/test_method.rb, test/ruby/test_settracefunc.rb: ditto.
1170 * include/ruby/ruby.h: rb_cRubyVM, rb_cEnv, rb_cISeq should not be
1173 Mon Jun 30 02:10:32 2008 Koichi Sasada <ko1@atdot.net>
1175 * process.c (Init_process): fix to avoid a warning.
1177 Mon Jun 30 01:52:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
1179 * test/ruby/test_parse.rb: remove tests for open_args.
1181 Sun Jun 29 23:01:54 2008 Tanaka Akira <akr@fsij.org>
1183 * string.c (rb_str_format_m): make tmp volatile to avoid possible GC
1186 Sun Jun 29 18:01:30 2008 Kouhei Sutou <kou@cozmixng.org>
1188 * lib/rss/parser.rb, lib/rss/utils.rb: merge documents from ruby_1_8.
1190 Sun Jun 29 17:44:23 2008 Kouhei Sutou <kou@cozmixng.org>
1192 * lib/rss/parser.rb (RSS::ListenerMixin#known_class): define to
1193 work with ruby 1.8.x too.
1195 Sun Jun 29 17:41:42 2008 Kouhei Sutou <kou@cozmixng.org>
1197 * lib/rss/maker/base.rb (RSS::Maker::RSSBase#to_feed): raise
1198 exception not return nil if RSS::Maker.make can't get required
1201 * test/rss/rss-assertions.rb: follow the above change.
1203 Sun Jun 29 17:37:23 2008 Kouhei Sutou <kou@cozmixng.org>
1205 * lib/rss/maker/base.rb (RSS::Maker::RSSBase#make): require block.
1207 * test/rss/test_maker_{0.9,1.0,2.0}.rb: follow the above change.
1209 Sun Jun 29 17:33:34 2008 Kouhei Sutou <kou@cozmixng.org>
1211 * lib/rss/maker/base.rb, lib/rss/maker/itunes.rb: don't use
1212 instance_eval to initialize variables. (speed up)
1214 Sun Jun 29 17:31:15 2008 Kouhei Sutou <kou@cozmixng.org>
1216 * lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION):
1219 Sun Jun 29 11:36:20 2008 Yusuke Endoh <mame@tsg.ne.jp>
1221 * dir.rb: fix resource leak.
1223 Sun Jun 29 09:43:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1225 * lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, and
1226 should be clean. based on a patch from arton <artonx AT
1227 yahoo.co.jp> at [ruby-dev:35269]
1229 Sun Jun 29 07:53:08 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1231 * ext/win32ole/win32ole.c (date2time_str): fix the overflow in
1232 some situation. [ruby-bugs-20793]
1234 Sat Jun 28 21:25:08 2008 Tanaka Akira <akr@fsij.org>
1236 * include/ruby/ruby.h (struct RRegexp): new field usecnt. replace
1239 * gc.c (gc_mark_children): mark src field of regexp.
1240 (obj_free): don't free str field.
1242 * re.c (REG_BUSY): removed.
1243 (rb_reg_initialize): prohibit re-initialize regexp.
1244 (rb_reg_search): use usecnt to prevent freeing regexp currently
1245 using. this prevents SEGV by:
1246 r = /\A((a.)*(a.)*)*b/
1247 r =~ "ab" + "\xc2\xa1".force_encoding("euc-jp")
1248 t = Thread.new { r =~ "ab"*8 + "\xc2\xa1".force_encoding("utf-8")}
1250 r =~ "ab"*8 + "\xc2\xa1".force_encoding("euc-jp")
1252 Sat Jun 28 21:15:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1254 * include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,
1255 rb_usascii_str_new2): use inline versions only for constant
1258 Sat Jun 28 13:12:06 2008 Tanaka Akira <akr@fsij.org>
1260 * test/rubygems/test_gem.rb (test_self_path_APPLE_GEM_HOME): don't use
1261 fixed /tmp/apple_gem_home directory.
1263 Sat Jun 28 08:40:18 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1265 * ext/win32ole/win32ole.c : check String encoding when
1266 converting String to VT_BSTR in OLE.
1268 * test/win32ole/test_win32ole.rb : ditto.
1270 Sat Jun 28 01:08:42 2008 Tanaka Akira <akr@fsij.org>
1272 * time.c (time_timespec): fix rounding negative float.
1274 Fri Jun 27 21:38:57 2008 Tanaka Akira <akr@fsij.org>
1276 * struct.c: __size__ removed. use the length of __members__ instead.
1277 (num_members): new function.
1279 Fri Jun 27 21:19:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1281 * test/inlinetest.rb (InlineTest.in_progname): workaround for frozen
1282 $0. [ruby-dev:35261]
1284 * lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto.
1286 Fri Jun 27 17:45:17 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
1288 * lib/erb.rb: adjust line number for magic comment.
1290 * test/erb/test_erb.rb: add tests for def_method.
1292 Fri Jun 27 14:29:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1294 * parse.y (primary): empty not should call '!' on nil.
1297 Fri Jun 27 14:25:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1299 * vm.c (vm_eval_body): if thrown exception is frozen, reraise it to
1300 create a new instance.
1302 Fri Jun 27 13:29:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1304 * include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,
1305 rb_usascii_str_new2): use with-length versions with strlen to
1306 optimize strlen, if optimized.
1308 Fri Jun 27 12:28:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1310 * lib/un.rb (mkmf): new command to create makefile.
1312 Fri Jun 27 11:06:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1314 * lib/un.rb (wait_writable): added help message.
1316 Fri Jun 27 06:52:54 2008 Koichi Sasada <ko1@atdot.net>
1318 * configure.in: need a ",".
1320 * process.c (rb_fork): check CANNOT_FORK_WITH_PTHREAD macro.
1322 Fri Jun 27 06:50:56 2008 Koichi Sasada <ko1@atdot.net>
1324 * vm_eval.c (vm_call_super): fix to call method_missing.
1325 [ruby-core:15719], [ruby-core:17340]
1327 Fri Jun 27 00:00:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1329 * ruby.c (set_arg0, ruby_prog_init): freeze $0. a patch from Keita
1330 Yamaguchi <keita.yamaguchi at gmail.com>.
1332 Thu Jun 26 23:58:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
1334 * string.c (rb_str_index_m, rb_str_rindex_m, rb_str_include): fix
1337 Thu Jun 26 17:43:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1339 * variable.c (rb_f_trace_var): should not be allowed at safe level 4.
1340 a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
1342 Thu Jun 26 11:04:30 2008 Eric Hodel <drbrain@segment7.net>
1344 * lib/rubygems: Update to RubyGems 1.2.0 r1824. Incorporates patch by
1345 Yusuke ENDOH [ruby-core:17353].
1347 Thu Jun 26 00:48:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1349 * parse.y (primary): not operand might be empty. [ruby-dev:35227]
1351 Wed Jun 25 21:54:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1353 * parse.y (primary): make functional-style not operator to act
1354 like function. see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>.
1356 Wed Jun 25 15:28:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1358 * array.c (rb_ary_fill): not depend on unspecified behavior at integer
1359 overflow. reported by Vincenzo Iozzo <snagg AT openssl.it>.
1361 Wed Jun 25 13:42:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
1363 * lib/erb.rb (ERB::Compiler:Buffer#new): push magic comment first.
1365 * lib/erb.rb (ERB::Compiler#compile): fix for broken input.
1367 Wed Jun 25 12:10:01 2008 NARUSE, Yui <naruse@ruby-lang.org>
1369 * lib/erb.rb (ERB::Compiler#compile): magic comment needs LF.
1371 Wed Jun 25 09:31:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
1373 * lib/erb.rb (ERB::Compiler#compile): output magic comment.
1375 Tue Jun 24 22:14:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
1377 * vm_eval.c (eval_string_with_cref): preserve parse_in_eval even if
1380 Tue Jun 24 22:09:18 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
1382 * ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
1385 Tue Jun 24 17:20:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1387 * configure.in (rb_cv_fork_with_pthread): check after check for
1388 pthread library, and define the macro when checked only.
1390 Tue Jun 24 17:04:39 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1392 * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
1394 Tue Jun 24 16:51:51 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1396 * io.c (io_reopen): remove cygwin handling because it seems to be for
1398 fixed [ruby-dev:35183]
1400 Tue Jun 24 11:12:33 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1402 * include/ruby/win32.h, win32/win32.c (rb_w32_getppid): now support
1403 getppid() on win32 (but only Win2k or later).
1405 * process.c (get_ppid): remove win32 special logic.
1407 Tue Jun 24 09:40:47 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1409 * ext/socket/socket.c (init_sock): socket is binmode on platforms
1410 which support binmode.
1412 Tue Jun 24 00:21:53 2008 Yusuke Endoh <mame@tsg.ne.jp>
1414 * compile.c (iseq_build_from_ary): initialize arg_opts, a patch from
1415 Adam Strzelecki <ono@java.pl> in [ruby-core:17220].
1417 Tue Jun 24 00:10:53 2008 wanabe <s.wanabe@gmail.com>
1418 * compile.c (iseq_build_from_ary): fix expression to obtain
1419 iseq->local_size and iseq->local_table_size. [ruby-dev:35205]
1421 Mon Jun 23 11:31:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1423 * lib/mathn.rb (Rational::power2): removed incomplete method.
1424 see [ruby-dev:35195]. [ruby-core:17293]
1426 Sun Jun 22 14:16:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1428 * ext/readline/extconf.rb (have_readline_func): readline on Mac OS X
1429 needs headers to detect some functions.
1431 Sun Jun 22 09:51:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1433 * object.c (rb_class_superclass): rdoc improvement, a patch from
1434 Gaston Ramos <ramos.gaston AT gmail.com> in [ruby-core:17371].
1436 Sun Jun 22 09:22:32 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
1438 * README.EXT: translated README.EXT.ja
1440 Sun Jun 22 00:42:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1442 * win32/win32.c (rb_w32_osid, rb_w32_osver, CreateChild): XP is
1443 is different from Vista about pipe handle inheritance.
1444 fixed [ruby-core:17367], reported by Lars Christensen <larsch at
1447 Sun Jun 22 00:38:45 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1449 * README.EXT.ja: add note about mark and free.
1451 Sun Jun 22 00:01:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1453 * io.c (rb_io_binmode_p, argf_binmode_p, Init_IO): new method
1454 IO#binmode? and ARGF.binmode? [ruby-dev:35148]
1456 Sat Jun 21 17:33:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1458 * win32/win32.c (rb_w32_spawn): no longer support P_WAIT.
1460 Sat Jun 21 16:46:09 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1462 * thread_win32.c (native_sleep): must block reentrance when accessing
1464 fixed [ruby-core:17341], reported by Bill Kelly <billk at cts.com>
1466 Sat Jun 21 16:29:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1468 * parse.y (call_args2, open_args): removed.
1470 * parse.y (parser_yylex): unified warnings at space between method
1471 name and argument parenthesis. [ruby-dev:33943]
1473 Sat Jun 21 16:21:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1475 * numeric.c (flo_round): get rid of overflow.
1477 Sat Jun 21 15:57:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1479 * lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
1482 Sat Jun 21 15:54:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1484 * configure.in: check if fork works with pthread.
1486 Sat Jun 21 15:31:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1488 * tool/make-snapshot: ported to ruby.
1490 * tool/make-snapshot: fixed digests.
1492 Sat Jun 21 04:36:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1494 * ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi):
1495 typo fixed (raize -> raise). [ruby-list:45101]
1497 * enumerator.c (enum_each_cons): typo in RDoc fixed.
1499 Sat Jun 21 00:45:34 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
1501 * tool/make-snapshot: do not use sha256sum; use BASERUBY instead
1503 * common.mk (dist): use tool/make-snapshot instead
1505 Fri Jun 20 16:34:14 2008 Tanaka Akira <akr@fsij.org>
1507 * process.c (Init_process): Process::Status#to_int removed.
1509 (pst_to_s): use PST2INT.
1510 (pst_inspect): ditto.
1512 (pst_bitand): ditto.
1513 (pst_rshift): ditto.
1514 (pst_wifstopped): ditto.
1515 (pst_wstopsig): ditto.
1516 (pst_wifsignaled): ditto.
1517 (pst_wtermsig): ditto.
1518 (pst_wifexited): ditto.
1519 (pst_wexitstatus): ditto.
1520 (pst_success_p): ditto.
1521 (pst_wcoredump): ditto.
1522 (rb_f_system): ditto.
1524 Fri Jun 20 15:40:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1526 * array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
1527 behavior at integer overflow.
1529 * string.c (str_buf_cat): ditto.
1531 Fri Jun 20 12:39:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1533 * process.c (rb_detach_process): store detached process ID in the
1534 thread local storage. moved from lib/open3.rb.
1536 Fri Jun 20 11:57:46 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1538 * string.c (rb_str_sub_bang): should preserve replacement points
1539 since they may be altered in the yielded block.
1541 Fri Jun 20 11:07:56 2008 Tanaka Akira <akr@fsij.org>
1543 * string.c (rb_memhash): randomize hash to avoid algorithmic
1545 (rb_str_hash): use rb_memhash.
1547 * include/ruby/intern.h (rb_reset_random_seed): declared.
1549 * thread.c (rb_thread_atfork): call rb_reset_random_seed.
1551 * inits.c (rb_call_inits): call Init_RandomSeed at first.
1553 * random.c (seed_initialized): defined.
1554 (fill_random_seed): extracted from random_seed.
1555 (make_seed_value): extracted from random_seed.
1556 (rb_f_rand): initialize random seed at first.
1557 (initial_seed): defined.
1558 (Init_RandomSeed): defined.
1559 (Init_RandomSeed2): defined.
1560 (rb_reset_random_seed): defined.
1561 (Init_Random): call Init_RandomSeed2.
1563 Wed Jun 18 21:52:38 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
1565 * array.c (ary_new, rb_ary_initialize, rb_ary_store,
1566 rb_ary_splice, rb_ary_times): integer overflows should be
1567 checked. based on patches from Drew Yao <ayao at apple.com>
1570 * string.c (rb_enc_cr_str_buf_cat): fixed unsafe use of alloca,
1571 which led memory corruption. based on a patch from Drew Yao
1572 <ayao at apple.com> fixed CVE-2008-2726
1574 Fri Jun 20 03:26:00 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1576 * process.c (rb_f_fork): NetBSD 4.0 or later can fork.
1578 Fri Jun 20 03:19:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
1580 * test/testunit/collector/test_dir.rb: r15825 made it unnecessary to change
1583 * test/testunit/collector/test_objectspace.rb: ditto.
1585 Fri Jun 20 03:14:31 2008 Eric Hodel <drbrain@segment7.net>
1587 * lib/rubygems*, test/rubygems/*: Update to RubyGems 1.1.1 r1784 (pre
1590 Fri Jun 20 03:01:59 2008 Yusuke Endoh <mame@tsg.ne.jp>
1592 * thread.c: try to remove false positive of deadlock detection (second
1595 Fri Jun 20 02:16:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1597 * lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293]
1599 Fri Jun 20 02:11:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1601 * string.c (str_gsub): should preserve last successful match
1602 data. [ruby-dev:35182]
1604 Fri Jun 20 01:07:28 2008 Koichi Sasada <ko1@atdot.net>
1606 * KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.
1608 Fri Jun 20 00:40:08 2008 Koichi Sasada <ko1@atdot.net>
1610 * proc.c (proc_new): fix to return Proc object if block is already
1611 in heap. [ruby-core:15711]
1613 * bootstraptest/test_proc.rb: add a test.
1615 Fri Jun 20 00:18:04 2008 Koichi Sasada <ko1@atdot.net>
1617 * thread_win32.c (native_sleep): fix to decrement sleeper count.
1619 Thu Jun 19 23:48:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
1621 * test/net/http/test_http.rb: compare encodings of two strings before
1622 comparing themself, which suppress too big error output.
1624 Thu Jun 19 23:46:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
1626 * ext/json/ext/parser/parser.rl, ext/json/ext/parser/parser.c: JSON
1627 text SHALL be encoded in Unicode.
1629 Thu Jun 19 23:17:56 2008 Yusuke Endoh <mame@tsg.ne.jp>
1631 * thread.c, thread_win32.c, vm_core.h: try to remove false positive of
1634 Thu Jun 19 21:38:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1636 * ext/extmk.rb (extmake): check if compile before showing message.
1638 Thu Jun 19 21:35:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1640 * tool/make-snapshot: supported multiple snapshots.
1642 Thu Jun 19 20:37:00 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
1644 * lib/net/pop.rb (Net::POP3#set_all_uids): speed
1645 up. a patch from <m-sumi AT techfirm.co.jp> [ruby-list:45047]
1647 Thu Jun 19 17:44:15 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1649 * ext/etc/etc.c (Init_etc): define constant aliases Etc::Passwd
1650 and Etc::Group. [ruby-dev:35150]
1652 Thu Jun 19 17:37:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1654 * string.c (str_alloc): specify 'inline' modifier.
1656 * string.c (str_alloc): remove cSymbol hack that no longer
1659 * string.c (scan_once): avoid retrieving encoding info unless
1662 Thu Jun 19 17:19:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
1664 * string.c (rb_str_scan): String#scan should preserve last
1665 successful match data. [ruby-dev:35106]
1667 Thu Jun 19 16:49:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1669 * missing/acosh.c (atanh): should set ERANGE to errno if parameter
1670 is the boundary case. fixed [ruby-dev:35155]
1672 Thu Jun 19 16:06:01 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
1674 * ext/tk/lib/tkextlib/tile/treeview.rb: cannot configure tags.
1676 Thu Jun 19 11:48:33 2008 Koichi Sasada <ko1@atdot.net>
1678 * test/ruby/test_enumerator.rb: fix to skip "with_memo" test.
1680 Thu Jun 19 11:40:55 2008 Koichi Sasada <ko1@atdot.net>
1682 * vm_insnhelper.c (vm_throw): fix "return" process from "lambda".
1684 * bootstraptest/test_proc.rb: add a test.
1686 * bootstraptest/pending.rb: add a pending bug.
1688 Thu Jun 19 00:33:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
1690 * test/etc/test_etc.rb: avoid infinite loop. [ruby-dev:35158]
1692 Wed Jun 18 23:07:19 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
1694 * gc.c (rb_newobj): prohibit call of rb_newobj() during gc.
1695 a patch from Sylvain Joyeux in [ruby-core:12099].
1697 Wed Jun 18 21:08:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1699 * ruby.c (verbose_setter, opt_W_getter): fixed prototypes.
1701 Wed Jun 18 19:20:00 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1703 * ruby.c (opt_W_getter): use ruby_verbose directly instead of parameter
1704 because ruby_verbose is not a real variable, so the address of
1705 parameter is not collect.
1707 Wed Jun 18 18:31:03 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1709 * win32/win32.c (errmap): add some pipe errors.
1711 * win32/win32.c (rb_w32_write): set errno when CRT's errno is EINVAL
1714 Wed Jun 18 18:09:08 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1716 * win32/win32.c (poll_child_status): set EINVAL to errno when
1717 GetExitCodeProcess() fails with ERROR_INVALID_HANDLE.
1719 Wed Jun 18 15:01:18 2008 NARUSE, Yui <naruse@ruby-lang.org>
1721 * io.c (rb_open_file): fs_encoding and fname_encoding is
1723 fixed [ruby-dev:35151]
1725 Wed Jun 18 14:30:06 2008 NARUSE, Yui <naruse@ruby-lang.org>
1727 * io.c (rb_open_file): not rb_enc_get_index but rb_enc_get.
1729 Wed Jun 18 13:49:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1731 * include/ruby/win32.h (pipe): now pipe is textmode. although this
1732 change is experimental, it will be spec if no compatibility problem
1735 Wed Jun 18 12:05:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1737 * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
1738 public methods only. [ruby-core:17283]
1740 * object.c (convert_type): ditto.
1742 * lib/singleton.rb (Singleton#_dump): conversion method should be
1745 Wed Jun 18 10:18:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1747 * ext/etc/etc.c (etc_passwd, etc_group): fixed rdoc. a patch from
1748 okkez <okkez000 AT gmail.com> in [ruby-dev:35141].
1750 Wed Jun 18 08:58:16 2008 Eric Hodel <drbrain@segment7.net>
1752 * lib/rubygems/*: Fix errors for 1.9.
1754 * gem_prelude.rb: Only remove methods from gem_prelude.rb when
1755 loading real RubyGems.
1757 Wed Jun 18 07:03:30 2008 Eric Hodel <drbrain@egment7.net>
1759 * lib/rubygems/*: Update to RubyGems r1778 (pre 1.2).
1761 Wed Jun 18 04:27:58 2008 Koichi Sasada <ko1@atdot.net>
1763 * KNOWNBUGS.rb, bootstraptest/pending.rb: move pending bug.
1765 Wed Jun 18 04:24:20 2008 Koichi Sasada <ko1@atdot.net>
1767 * vm.c, vm_insnhelper.c: fix escape process with "break" and "return"
1768 syntax in "lambda". [ ruby-Bugs-19304 ], [ruby-core:17164]
1770 * KNOWNBUGS.rb, bootstraptest/test_proc.rb: add/move solved test.
1772 Wed Jun 18 01:51:10 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
1774 * ext/tk/lib/multi-tk.rb: cannot access class variable from
1777 Wed Jun 18 00:03:33 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1779 * dir.c (Init_Dir): dir_foreach() takes variable argument.
1781 Tue Jun 17 23:04:24 2008 James Edward Gray II <jeg2@ruby-lang.org>
1783 * lib/net/telnet.rb: Fixing Telnet#wairfor() which was broken by
1784 changes to the Kernel::Integer() method. [ruby-core:17272]
1786 Tue Jun 17 23:02:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1788 * ruby.c (opt_W_getter): made a hooked variable.
1790 Tue Jun 17 22:04:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
1792 * enc/euc_jp.c (property_name_to_ctype): core dumped when sizeof(int)
1793 differs from sizeof(long). [ruby-dev:35131]
1795 * enc/shift_jis.c (property_name_to_ctype): ditto.
1797 * enc/unicode.c (onigenc_unicode_property_name_to_ctype): ditto.
1799 Tue Jun 17 20:32:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1801 * common.mk (miniruby$(EXEEXT)): $(PREP) isn't always same as
1802 miniruby, and tests, debug, etc have no meaning when
1805 Tue Jun 17 18:39:11 2008 Ryan Davis <ryan@wrath.local>
1807 * common.mk: fixed dependencies on miniruby.
1809 Tue Jun 17 18:11:01 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1811 * include/ruby/win32.h (pipe): expand pipe buffer size.
1813 Tue Jun 17 17:07:35 2008 NAKAMURA Usaku <usa@ruby-lang.org>
1815 * win32/win32.c (CreateChild): no need to inherit handles here because
1816 spawn'ed child cannot detect that STDIN is closed.
1818 Tue Jun 17 06:32:55 2008 NARUSE, Yui <naruse@ruby-lang.org>
1820 * dir.c (dir_data): add intenc and extenc.
1822 * dir.c (dir_s_alloc): ditto.
1824 * dir.c (dir_initialize): now accept internal_encoding and
1827 * dir.c (dir_s_open): changed for dir_initialize.
1829 * dir.c (dir_open_dir): ditto.
1831 * dir.c (dir_foreach): changed for dir_open_dir.
1833 * dir.c (dir_entries): changed for dir_open_dir.
1835 * dir.c (dir_enc_str): defined.
1837 * dir.c (dir_path): use dir_enc_str.
1839 * dir.c (dir_read): ditto.
1841 * dir.c (dir_each): ditto.
1843 Tue Jun 17 06:28:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
1845 * io.c (io_set_encoding): defined.
1847 * io.c (rb_open_file): convert path on Windows and Mac OS X.
1849 * io.c (open_key_args): use io_set_encoding and now accept
1850 internal_encoding and external_encoding.
1852 Tue Jun 17 06:26:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
1854 * encoding.c (rb_filesystem_encoding): defined.
1856 * include/ruby/encoding.h (rb_filesystem_encoding): added.
1858 Tue Jun 17 06:24:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
1860 * ext/syck/rubyext.c: add encoding header.
1862 Tue Jun 17 01:52:50 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
1864 * ext/tk/tcltklib.c: SEGV when exit.
1866 * ext/tk/lib/tk.rb: add a check for safety to Tk.exit.
1868 * ext/tk/sample/irbtkw.rbw: freezes when receives SIGINT.
1870 Mon Jun 16 21:58:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1872 * ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and
1873 IO#readlines do not affect $_. [ruby-core:17277]
1875 Mon Jun 16 18:52:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1877 * lib/thwait.rb (ThreadsWait): Exception2MessageMapper no longer has
1878 extend_to method. [ruby-core:17267]
1880 Mon Jun 16 14:46:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1882 * lib/e2mmap.rb (E2MM.def_e2message): typo.
1884 Mon Jun 16 09:43:27 2008 Akinori MUSHA <knu@iDaemons.org>
1886 * enumerator.c (enumerator_with_object, Init_Enumerator):
1887 Temporarily back out with_memo, for which we need a better name.
1889 Mon Jun 16 07:14:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1891 * ext/stringio/stringio.c (strio_readline, strio_each)
1892 (strio_readlines): set lastline. [ruby-core:17257]
1894 Mon Jun 16 01:49:39 2008 Koichi Sasada <ko1@atdot.net>
1896 * eval.c (rb_f_block_given_p): fix to skip class frame.
1899 * KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test.
1901 Mon Jun 16 01:48:08 2008 Koichi Sasada <ko1@atdot.net>
1903 * vm_dump.c (vm_stack_dump_raw): disable verbose debug output.
1905 Mon Jun 16 01:33:08 2008 Koichi Sasada <ko1@atdot.net>
1907 * vm_core.h, thread.c: rename global_interpreter_lock to
1910 Sun Jun 15 18:40:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
1912 * ext/syck/rubyext.c (yaml_org_handler): associate encoding.
1914 * ext/syck/rubyext.c (syck_genericresolver_node_import): ditto.
1916 Sun Jun 15 18:17:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1918 * vm_core.h (rb_vm_t), vm.c (rb_vm_mark): moved preallocated special
1921 * eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze
1922 preallocated special exceptions.
1924 * eval.c (rb_longjmp): duplicate the thrown exception to set backtrace
1927 * gc.c (rb_memerror): raise nomem_error without backtrace if failed to
1930 Sat Jun 14 22:52:35 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1932 * ext/stringio/stringio.c (strio_sysread): should not raise at empty
1933 read. a patch from Arthur Schreiber at [ruby-core:17245].
1935 Sat Jun 14 16:55:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1937 * file.c (file_expand_path): no need to expand root path which has no
1938 short file name. [ruby-dev:35095]
1940 Sat Jun 14 11:59:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1942 * gc.h (STACK_UPPER): moved from gc.c
1944 * thread.c, thread_{pthread,win32}.c (ruby_init_stack,
1945 ruby_thread_init_stack): moved stack initialization from gc.c.
1947 Sat Jun 14 11:57:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1949 * gc.h (STACK_UPPER): moved from gc.c
1951 * thread.c, thread_{pthread,win32}.c (ruby_init_stack,
1952 ruby_thread_init_stack): moved stack initialization from gc.c.
1954 Sat Jun 14 07:52:53 2008 Tanaka Akira <akr@fsij.org>
1956 * gc.c (ruby_initial_gc_stress): defined.
1957 (ruby_initial_gc_stress_ptr): defined.
1959 * debug.c (set_debug_option): use ruby_initial_gc_stress_ptr for
1962 Sat Jun 14 00:09:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
1964 * gc.c (ruby_gc_stress): moved to rb_objspace_t.
1966 * gc.c (gc_stress_get, gc_stress_set): VM local attribute.
1968 * signal.c (sigsegv): ditto.
1970 Fri Jun 13 21:55:48 2008 Tadayoshi Funaba <tadf@dotrb.org>
1972 * rational.c (nurat_equal_p): Rational(0,x) and 0 are equivalent,
1975 Fri Jun 13 21:26:39 2008 Tadayoshi Funaba <tadf@dotrb.org>
1977 * complex.c (string_to_c, nucomp_s_convert): preserve the current
1980 * rational.c (string_to_r, nurat_s_convert): ditto.
1982 * include/ruby/intern.h (rb_match_busy): added a declaration.
1984 Fri Jun 13 18:08:10 2008 Tanaka Akira <akr@fsij.org>
1986 * lib/time.rb (Time.xmlschema): don't accept decimal dot without
1987 fractional digits. fractional digits handling simplified.
1989 Fri Jun 13 17:20:40 2008 wanabe <s.wanabe@gmail.com>
1991 * complex.c (string_to_c_internal): save and restore backref.
1992 fixed [ruby-dev:34991]
1994 Fri Jun 13 17:06:20 2008 wanabe <s.wanabe@gmail.com>
1996 * rational.c (string_to_r_internal): save and restore backref.
1997 fixed [ruby-dev:34990]
1999 Fri Jun 13 14:41:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2001 * README.EXT.ja: update about Fixnum. reported in
2002 <http://www.tmtm.org/ja/tdiary/?date=20080611#p01>
2004 * README.EXT.ja: describe about StringValueCStr().
2006 * README.EXT: ditto.
2008 Fri Jun 13 14:24:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2010 * gc.c (rb_memerror): exit with EXIT_FAILURE instead of magic number.
2012 * gc.c (ruby_stack_check): STACK_LENGTH should be less than
2015 Fri Jun 13 12:55:37 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2017 * enum.c (sort_by_i): use NODE_DOT2 instead of NODE_MEMO to avoid
2018 extra calls to is_pointer_to_heap() in GC.
2020 * enum.c (enum_zip): ditto.
2022 Fri Jun 13 00:41:58 2008 Yusuke Endoh <mame@tsg.ne.jp>
2024 * test/ruby/test_thread.rb: add a test.
2026 Thu Jun 12 23:30:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
2028 * thread.c (mutex_unlock): fix cond_notified consistency.
2030 Thu Jun 12 22:19:45 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2032 * thread_win32.c (native_sleep): fixed previous commit.
2034 Thu Jun 12 21:59:17 2008 Yusuke Endoh <mame@tsg.ne.jp>
2036 * thread.c, vm_core.h, vm.c, thread_pthread.c, thread_win32.c: add
2037 deadlock detection. [ruby-dev:35044]
2039 * bootstraptest/test_thread.rb: add tests for above.
2041 Thu Jun 12 21:39:55 2008 Tadayoshi Funaba <tadf@dotrb.org>
2043 * complex.c: refactoring.
2045 * rational.c: ditto.
2047 Thu Jun 12 17:11:24 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2049 * regint.h: undefine USE_CAPTURE_HISTORY which is mentioned as
2050 unsupported in the Onigiruma document.
2052 Thu Jun 12 13:36:54 2008 Tanaka Akira <akr@fsij.org>
2054 * include/ruby/ruby.h (rb_intern): use rb_intern2 with strlen for
2055 constant symbols to optimize strlen.
2057 Thu Jun 12 08:47:51 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2059 * io.c (read_all): should use io_read_encoding(), not
2060 io_input_encoding().
2062 * io.c (rb_io_getline_1): reduce calling of io_read_encoding().
2064 * string.c (rb_str_scan): need not to restore $~ value, so avoid
2065 pinning match object.
2067 Thu Jun 12 02:49:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
2069 * ext/stringio/stringio.c (strio_init): rewind when reopened.
2071 Thu Jun 12 02:43:27 2008 Yusuke Endoh <mame@tsg.ne.jp>
2073 * array.c (rb_ary_zip): ANSI style.
2075 Thu Jun 12 02:25:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2077 * io.c (rb_io_reopen): clear read buffer.
2079 Thu Jun 12 00:56:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2081 * ext/tk: check proper conditions. [ruby-dev:35047]
2083 Wed Jun 11 23:33:13 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2085 * io.c (io_fread): bypass buffered read if reading buffer is empty.
2087 * io.c (remain_size): do not add extra one byte.
2089 Wed Jun 11 12:15:17 2008 Tanaka Akira <akr@fsij.org>
2091 * bootstraptest/runner.rb (assert_normal_exit): hide stderr output
2094 Wed Jun 11 09:26:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2096 * common.mk (encs): need to pass miniruby path for windows.
2098 Wed Jun 11 05:53:20 2008 Koichi Sasada <ko1@atdot.net>
2100 * vm.c, eval_intern.h (PASS_PASSED_BLOCK):
2101 set a VM_FRAME_FLAG_PASSED flag to skip this frame when
2102 searching ruby-level-cfp.
2104 * eval.c, eval_intern.h, proc.c: fix to check cfp. if there is
2105 no valid ruby-level-cfp, cause RuntimeError exception.
2108 * vm_core.h, vm_evalbody.c, vm.c, vm_dump.c, vm_insnhelper.c,
2109 insns.def: rename FRAME_MAGIC_* to VM_FRAME_MAGIC_*.
2111 * KNOWNBUGS.rb, bootstraptest/test*.rb: move solved bugs.
2113 Wed Jun 11 05:55:31 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
2115 * ext/tk/tcltklib.c: SEGV when tcltk-stubs is enabled.
2117 * ext/tk/tcltklib.c: avoid error on a shared object.
2119 * ext/tk/extconf.rb: support --with-tcltkversion
2121 * ext/tk/README.tcltklib: add document about --with-tcltkversion
2123 * ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb, ext/tk/lib/remote-tk.rb:
2124 not work on $SAFE==4
2126 * ext/tk/lib/multi-tk.rb: Object#methods returns Symbols on Ruby1.9.
2128 * ext/tk/lib/tk/timer.rb: add TkTimer#at_end(proc) to register the
2129 procedure which called at end of the timer.
2131 * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemfont.rb, ext/tk/lib/font.rb:
2132 support __IGNORE_UNKNOWN_CONFIGURE_OPTION__ about font options.
2134 * ext/tk/lib/*: treat __IGNORE_UNKNOWN_CONFIGURE_OPTION__
2136 * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb,
2137 ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb,
2138 ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: bug fix.
2140 * ext/tk/lib/tk/text.rb: typo. call a wrong method.
2142 * ext/tk/lib/tk/itemconfig.rb: ditto.
2144 * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemconfig.rb,
2145 ext/tk/lib/tk/canvas.rb: support alias names of option keys.
2147 * ext/tk/lib/tk/grid.rb: lack of module-method definitions.
2149 * ext/tk/lib/tk/pack.rb, ext/tk/lib/tk/grid.rb: increase supported
2150 parameter patterns of configure method.
2152 * ext/tk/lib/tk.rb: add TkWindow#grid_anchor, grid_column, grid_row.
2154 * ext/tk/lib/tk/wm.rb: methods of Tk::Wm_for_General module cannot
2155 pass the given block to methods of Tk::Wm module.
2157 * ext/tk/lib/tk/wm.rb: Wm#overrideredirect overwrites argument to
2160 * ext/tk/lib/tk.rb: fix memory (object) leak bug.
2162 * ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: fix memory leak.
2164 * ext/tk/sample/demos-jp/aniwave.rb, ext/tk/sample/demos-en/aniwave.rb:
2167 * ext/tk/lib/tkextlib/blt/component.rb,
2168 ext/tk/lib/tkextlib/tile/tentry.rb,
2169 ext/tk/lib/tkextlib/tile/treeview.rb: ditto.
2171 * ext/tk/lib/tkextlib/tile/tpaned.rb: improve TPaned#add.
2173 * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget,
2174 ext/tk/sample/demos-jp/style.rb, ext/tk/sample/demos-en/style.rb,
2175 ext/tk/sample/demos-jp/bind.rb, ext/tk/sample/demos-en/bind.rb:
2178 * ext/tk/sample/ttk_wrapper.rb: ditto.
2180 * ext/tk/sample/ttk_wrapper.rb: support "if __FILE__ == $0" idiom.
2182 * ext/tk/sample/tktextio.rb: add binding for 'Ctrl-u' at console mode.
2184 * ext/tk/lib/tkextlib/tile.rb, ext/tk/lib/tkextlib/tile/style.rb,
2185 ext/tk/sample/ttk_wrapper.rb: improve treating and control themes.
2186 add Tk::Tile.themes and Tk::Tile.set_theme(theme).
2188 * ext/tk/lib/tkextlib/tile.rb: lack of autoload definitions.
2190 * ext/tk/lib/tkextlib/tile/tnotebook.rb: cannot use kanji (not UTF-8)
2191 characters for headings.
2193 * ext/tk/lib/tkextlib/tkDND/shape.rb: wrong package name.
2195 * ext/tk/tkutil/tkutil.c: improve handling callback-subst-keys.
2196 Now, support longnam-keys (e.g. '%CTT' on tkdnd-2.0; however, still
2197 not support tkdnd-2.0 on tkextlib), and symbols of parameters (e.g.
2198 :widget=>'%W', :keycode=>'%k', '%x'=>:x, '%X'=>:root_x, and so on;
2199 those are attributes of event object). It means that Ruby/Tk accepts
2200 not only "widget.bind(ev, '%W', '%k', ...){|w, k, ...| ... }", but
2201 also "widget.bind(ev, :widget, :keycode, ...){|w, k, ...| ... }".
2202 It is potentially incompatible, when user passes symbols to the
2203 arguments of the callback block (the block receives the symbols as
2204 strings). I think that is very rare case (probably, used by Ruby/Tk
2205 experts only). When causes such trouble, please give strings instead
2206 of such symbol parameters (e.g. call Symbol#to_s method).
2208 * ext/tk/lib/tk/event.rb, ext/tk/lib/tk/validation.rb,
2209 ext/tk/lib/tkextlib/blt/treeview.rb,
2210 ext/tk/lib/tkextlib/winico/winico.rb: ditto.
2212 * ext/tk/tkutil/tkutil.c: strings are available on subst_tables on
2213 TkUtil::CallbackSubst class (it is useful on Ruby 1.9).
2215 * ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tkextlib/iwidgets/hierarchy.rb,
2216 ext/tk/lib/tkextlib/iwidgets/spinner.rb,
2217 ext/tk/lib/tkextlib/iwidgets/entryfield.rb,
2218 ext/tk/lib/tkextlib/iwidgets/calendar.rb,
2219 ext/tk/lib/tkextlib/blt/dragdrop.rb,
2220 ext/tk/lib/tkextlib/tkDND/tkdnd.rb,
2221 ext/tk/lib/tkextlib/treectrl/tktreectrl.rb,
2222 ext/tk/lib/tkextlib/tktable/tktable.rb: disable code piece became
2223 unnecessary by reason of the changes of ext/tk/tkutil/tkutil.c.
2225 * ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb: change strategy to define
2226 the constant WITH_ENCODING.
2228 * ext/tk/lib/tk.rb: fix bug on Tk::Encoding.tk_encoding_names.
2230 Wed Jun 11 03:40:37 2008 Akinori MUSHA <knu@iDaemons.org>
2232 * lib/find.rb (Find#find): Return an enumerator if no block is
2235 Wed Jun 11 01:28:12 2008 Koichi Sasada <ko1@atdot.net>
2237 * include/ruby/intern.h, proc.c: revert rb_proc_call() and
2238 create rb_proc_call_with_block() instead.
2240 * include/ruby/ruby.h, eval_jump.c, thread.c, vm_insnhelper.c:
2241 rb_blockptr should not be exposed.
2243 Tue Jun 10 21:07:19 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2245 * test/ruby/test_float.rb: add tests. [ruby-dev:35009]
2247 Tue Jun 10 20:55:57 2008 Tadayoshi Funaba <tadf@dotrb.org>
2249 * complex.c (nucomp_s_convert): need not to initialize optional
2250 argument for rb_scan_args().
2252 Tue Jun 10 20:13:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2254 * ext/extmk.rb: negate default of --without-ext if --with-ext is
2257 * ext/extmk.rb: negate default of --without-ext.
2259 Tue Jun 10 17:43:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2261 * array.c (rb_ary_shuffle_bang): update RDoc. [ruby-dev:35034]
2263 Tue Jun 10 17:30:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2265 * include/ruby/intern.h (rb_obj_instance_exec, rb_mod_module_exec):
2268 Tue Jun 10 17:00:29 2008 wanabe <s.wanabe@gmail.com>
2270 * util.c (ruby_strtod): ruby_strtod don't allow a trailing
2271 decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]
2273 Tue Jun 10 13:48:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2275 * rational.c (nurat_s_convert): need not to initialize optional
2276 argument for rb_scan_args().
2278 Tue Jun 10 12:58:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2280 * ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.
2282 Tue Jun 10 12:43:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2284 * include/ruby/ruby.h (CONST_ID_CACHE): fixed statement expression.
2286 Tue Jun 10 11:25:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2288 * ruby.c (rb_argv0): revised for ext/tk.
2290 * include/ruby/encoding.h: not to use varargs.h since requiring C89.
2292 Tue Jun 10 00:50:51 2008 Yusuke Endoh <mame@tsg.ne.jp>
2294 * include/ruby/ruby.h, vm_core.h: add a type rb_blockptr.
2296 * vm_insnhelper.c (vm_yield_with_cfunc): vm_yield_with_cfunc receives
2297 blockptr and passes it to iterating block.
2299 * proc.c (rb_proc_call), include/ruby/intern.h: rb_proc_call receives
2300 blockptr. "rb_proc_call(self, args, blockptr)" in C corresponds to
2301 "self.call(*args, &block)" in Ruby.
2303 * proc.c (proc_call): pass blockptr to block that is written in C.
2305 * proc.c (curry): receive blockptr and pass it to original proc.
2308 * vm.c (invoke_block_from_c): fix for change of vm_yield_with_cfunc.
2310 * thread.c (call_trace_proc), eval_jump.c (rb_call_end_proc): fix for
2311 change of rb_proc_call.
2313 Tue Jun 10 00:10:49 2008 Tanaka Akira <akr@fsij.org>
2315 * common.mk (test-knownbug): give $(OPTS) for bootstraptest/runner.rb.
2317 Mon Jun 9 23:10:50 2008 Tanaka Akira <akr@fsij.org>
2319 * eval.c (Init_stack): don't declare. it is a macro now.
2321 Mon Jun 9 22:46:47 2008 wanabe <s.wanabe@gmail.com>
2323 * compile.c : treat []&&= in virtually the same way as []||=.
2326 Mon Jun 9 21:17:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2328 * enc/depend (clean): remove build directories.
2330 * test_knownbug.rb -> KNOWNBUGS.rb: renamed.
2332 * common.mk: apply above change.
2334 Mon Jun 9 21:14:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2336 * lib/mkmf.rb (configuration): set flags.
2338 Mon Jun 9 21:09:02 2008 Koichi Sasada <ko1@atdot.net>
2340 * bootstraptest/test_knownbug.rb -> ./test_knownbug.rb: moved.
2342 * common.mk: add a rule "test-knownbug".
2344 Mon Jun 9 21:00:32 2008 Tadayoshi Funaba <tadf@dotrb.org>
2346 * complex.c (nucomp_s_convert): can accept Complex('i').
2349 Mon Jun 9 18:25:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2351 * include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc.
2353 * *.c: no cache in init functions.
2355 Mon Jun 9 17:56:30 2008 Akinori MUSHA <knu@iDaemons.org>
2357 * lib/set.rb (Set#delete_if): Call to_a.
2358 (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to
2359 yield elements in sorted order; [ruby-core:17144] by Arthur
2361 (SortedSet#each, SortedSet#each, TC_Set#test_each)
2362 (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by
2365 Mon Jun 9 17:47:09 2008 Tanaka Akira <akr@fsij.org>
2367 * io.c (fptr_finalize): close IO object if fd is already closed.
2368 (rb_p): call rb_io_write just once.
2370 Mon Jun 9 15:37:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2372 * ruby.c (require_libraries): req_list may be NULL. [ruby-dev:35008]
2374 Mon Jun 9 14:18:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2376 * vm_core.h (struct rb_vm_struct): moved src_encoding_index,
2377 ruby_debug, ruby_verbose, and rb_progname.
2379 * ruby.c (rb_argv0): no longer used.
2381 * ruby.c (struct cmdline_options): moved setids and req_list, and the
2382 latter is now an array, to prevent memory leak.
2384 * ruby.c (cmdline_options_init): added.
2386 * ruby.c (add_modules, require_libraries, init_ids, forbid_setid): use
2387 struct cmdline_options.
2389 * vm.c (vm_init2): initialize src_encoding_index.
2391 * vm.c: getters/setters for ruby_{debug,verbose}.
2393 Mon Jun 9 09:54:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2395 * include/ruby/intern.h (Init_stack): make to call ruby_init_stack.
2397 Mon Jun 9 08:12:40 2008 wanabe <s.wanabe@gmail.com>
2399 * vm_insnhelper.c, vm.c, proc.c : revert r17021. [ruby-dev:34997]
2401 Mon Jun 9 03:12:23 2008 Koichi Sasada <ko1@atdot.net>
2403 * bootstraptest/pending.rb: move/remove solved issues.
2405 * bootstraptest/test_class.rb: ditto.
2407 Mon Jun 9 02:32:58 2008 Akinori MUSHA <knu@iDaemons.org>
2409 * ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well.
2412 Sun Jun 8 22:22:20 2008 wanabe <s.wanabe@gmail.com>
2414 * vm_insnhelper.c, vm.c, proc.c (proc_call): allow call method with
2415 block that both is written in C. [ruby-dev:34273] [ruby-core:15551]
2417 * proc.c (curry): use proc_call instead of rb_proc_call.
2418 [ruby-dev:34273] [ruby-core:15551]
2420 Sun Jun 8 21:50:27 2008 Yusuke Endoh <mame@tsg.ne.jp>
2422 * test/zlib/test_zlib.rb: add tests to achieve over 90% test coverage
2425 Sun Jun 8 20:12:47 2008 wanabe <s.wanabe@gmail.com>
2427 * vm_insnhelper.c (vm_throw): regard break as return in lambda.
2430 Sun Jun 8 19:17:59 2008 Koichi Sasada <ko1@atdot.net>
2432 * gc.c: add a build option "CALC_EXACT_MALLOC_SIZE".
2433 This option enables to calculate exact size of current
2434 allocated size by malloc(). You can access these information
2435 with GC.malloc_allocated_size and GC.malloc_allocations.
2436 This option consume additional memory as a header of each memory
2437 object. This option also helps to find out xmalloc()/xfree()
2438 consistency. If you get trouble with this option, some extension
2439 using "free()" instead of "xfree()".
2440 This options is disabled by default.
2442 Sun Jun 8 18:15:38 2008 Koichi Sasada <ko1@atdot.net>
2444 * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,
2445 enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c,
2446 io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c,
2447 string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c,
2449 allocated memory objects by xmalloc (ruby_xmalloc) should be
2450 freed by xfree (ruby_xfree).
2452 * ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
2453 ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c,
2454 ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c,
2455 ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c,
2456 ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c:
2459 Sun Jun 8 01:15:11 2008 Tanaka Akira <akr@fsij.org>
2461 * hash.c (hash_i): make Hash#hash order insensitive.
2462 (rb_hash_dup): use DUPSETUP.
2464 Sat Jun 7 23:47:35 2008 Akinori MUSHA <knu@iDaemons.org>
2466 * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up
2467 initialize_copy; [ruby-list:45016].
2469 Sat Jun 7 22:15:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2471 * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as
2472 SITE_DIR. a patch from Richard Brown <rbrown AT exherbo.org> in
2475 Sat Jun 7 21:37:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2477 * io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode):
2480 * util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa().
2482 Sat Jun 7 16:06:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2484 * configure.in (CFLAGS, CXXFLAGS): append default flags.
2486 Sat Jun 7 01:23:59 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2488 * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
2489 fixed [ruby-dev:34979]
2491 Fri Jun 6 23:46:19 2008 Koichi Sasada <ko1@atdot.net>
2493 * vm_insnhelper.c (vm_callee_setup_arg): check simple flag before
2494 calling setup_arg function(). this change reduce function call.
2496 Fri Jun 6 21:51:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2498 * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.
2500 * ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo,
2501 freehostent, freeaddrinfo): undef before define because these are
2502 macros in some versions of Windows SDK.
2504 merged from ruby_1_8.
2506 Fri Jun 6 18:25:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2508 * test/iconv/utils.rb (default_test): override not to croak.
2510 Fri Jun 6 16:41:45 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2512 * include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]
2514 Fri Jun 6 15:05:02 2008 Tanaka Akira <akr@fsij.org>
2516 * gc.c (count_objects): clear hash after counting objects.
2518 Fri Jun 6 12:43:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2520 * test/ruby/test_dir.rb (TestDir::test_glob): glob file names not sorted.
2522 Fri Jun 6 00:05:33 2008 Tanaka Akira <akr@fsij.org>
2524 * lib/time.rb (Time.xmlschema): don't use float. fix
2525 http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504
2527 Thu Jun 5 23:56:18 2008 Yusuke Endoh <mame@tsg.ne.jp>
2529 * test/ruby/test_gc.rb: add tests to achieve over 90% test coverage of
2532 * test/ruby/test_objectspace.rb: ditto.
2534 * test/ruby/test_marshal.rb: ditto.
2536 Thu Jun 5 23:40:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
2538 * gc.c (rb_objspace_alloc): this function is needed only when
2539 ENABLE_VM_OBJSPACE macro is defined.
2543 Thu Jun 5 23:31:21 2008 Yusuke Endoh <mame@tsg.ne.jp>
2545 * test/stringio/test_stringio.rb: add tests to achieve over 95% test
2546 coverage of stringio.
2548 * test/strscan/test_stringscanner.rb: ditto for strscan.
2550 Thu Jun 5 23:25:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
2552 * eval.c (ruby_finalize_0): clear trace_func after executing END
2555 * thread.c: fix typo.
2557 Thu Jun 5 22:50:50 2008 Tanaka Akira <akr@fsij.org>
2559 * gc.c (os_obj_of): heaps may be modified in yield.
2561 Thu Jun 5 21:46:50 2008 Yusuke Endoh <mame@tsg.ne.jp>
2563 * st.c (st_reverse_foreach): comment out unused function.
2565 * util.c (dtoa): ditto.
2567 Thu Jun 5 20:30:46 2008 Akinori MUSHA <knu@iDaemons.org>
2569 * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):
2570 Add a null check for ssl; submitted by akira yamada
2571 in [ruby-dev:34950].
2573 * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if
2574 SSL_OP_NO_TICKET is present; submitted by akira yamada
2575 in [ruby-dev:34944].
2577 * test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a
2578 workaround for the case where OpenSSL is configured with
2579 --enable-tlsext; submitted by akira yamada in [ruby-dev:34944].
2581 Thu Jun 5 20:24:15 2008 Yusuke Endoh <mame@tsg.ne.jp>
2583 * thread.c (thread_set_trace_func_m): fix check for proc argument.
2585 Thu Jun 5 20:17:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
2587 * lib/rexml/document.rb (REXML::Document:write): leaky modification
2588 trans -> transitive. [ruby-dev:32040], r13686
2590 * lib/rexml/text.rb (Text.check): fix check for illegal character.
2592 Thu Jun 5 14:03:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2594 * ext/iconv/iconv.c (iconv_create): find encoding without options.
2596 Thu Jun 5 07:48:32 2008 Koichi Sasada <ko1@atdot.net>
2598 * string.c (hash): should be "static".
2600 Thu Jun 5 01:47:18 2008 Yusuke Endoh <mame@tsg.ne.jp>
2602 * test/ruby/test_transcode.rb: add tests for iso-2022-jp.
2604 Thu Jun 5 01:27:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
2606 * test/ruby/test_process.rb: add tests.
2608 Wed Jun 4 23:10:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
2610 * ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.
2612 Wed Jun 4 18:53:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2614 * object.c (rb_obj_alloc): RDoc updated. a patch from Gaston
2615 Ramos <ramos.gaston at gmail.com> in [ruby-core:17073].
2617 Wed Jun 4 18:36:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2619 * lib/rdoc.rb: massive spelling correction patch from Evan Farrar
2620 <evanfarrar at gmail.com> in [ruby-doc:1382] applied.
2622 Wed Jun 4 17:52:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2624 * ext/iconv/iconv.c (iconv_iconv): fix for length argument and now
2625 allows range. [ruby-core:17092]
2627 Wed Jun 4 15:45:41 2008 Akinori MUSHA <knu@iDaemons.org>
2629 * enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
2632 Wed Jun 4 13:06:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2634 * configure.in (CFLAGS, CXXFLAGS): include additional flags to
2635 CFLAGS and CXXFLAGS while configuration.
2637 Tue Jun 3 23:06:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
2639 * ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
2642 Tue Jun 3 22:37:26 2008 Yusuke Endoh <mame@tsg.ne.jp>
2644 * ext/strscan/strscan.c (strscan_exist_p): fix document.
2646 Tue Jun 3 22:33:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
2648 * test/ruby/test_dir.rb: add tests to achieve over 90% test coverage
2651 * test/ruby/test_encoding.rb: add tests for dummy?, name_list and
2654 * test/ruby/test_marshal.rb: add some tests.
2656 Tue Jun 3 22:25:51 2008 Yusuke Endoh <mame@tsg.ne.jp>
2658 * test/etc/test_etc.rb: new tests for etc.
2660 Tue Jun 3 19:35:02 2008 Akinori MUSHA <knu@iDaemons.org>
2662 * enumerator.c (enumerator_with_memo): New method: with_memo().
2664 Tue Jun 3 20:04:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2666 * win32/Makefile.sub (miniruby$(EXEEXT)): miniruby cannot be
2667 written by miniruby itself.
2669 Tue Jun 3 19:33:22 2008 Akinori MUSHA <knu@iDaemons.org>
2671 * enumerator.c (enumerator_init_copy): Take care of
2672 initialize_copy as well as initialize.
2674 Tue Jun 3 16:06:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2676 * file.c (file_expand_path): fix for non-existent files and SFN of
2677 symlinks. [ruby-talk:303736]
2679 Tue Jun 3 15:12:01 2008 Akinori MUSHA <knu@iDaemons.org>
2681 * lib/set.rb (Set#classify): Back out the `group_by' alias.
2684 Tue Jun 3 15:00:22 2008 Akinori MUSHA <knu@iDaemons.org>
2686 * lib/set.rb (Set#collect, Set#select): Back out. I thought it
2687 was consistent but turned out to be wrong.
2689 Tue Jun 3 13:41:08 2008 Akinori MUSHA <knu@iDaemons.org>
2691 * lib/set.rb (Set#collect, Set#select): Override Enumerable
2692 methods and make them return a set. [ruby-core:17055]
2693 (Set#delete_if, Set#collect!, Set#reject!, Set#classify)
2694 (Set#divide, Set#delete_if): Return an enumerator if no block is
2696 (Set#classify): Define an alias `group_by' to override that of
2699 Tue Jun 3 13:35:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2701 * process.c (run_exec_pgroup): C99 ism.
2703 Tue Jun 3 12:51:57 2008 Akinori MUSHA <knu@iDaemons.org>
2705 * enumerator.c (enumerator_allocate, enumerator_ptr): Properly
2706 detect if the object is initialized and raise error when
2708 (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052]
2710 Tue Jun 3 01:21:51 2008 Yusuke Endoh <mame@tsg.ne.jp>
2712 * test/ruby/test_method.rb: add a test.
2714 Tue Jun 3 00:26:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
2716 * marshal.c (w_object): add a check for modification of array during
2719 Mon Jun 2 22:27:57 2008 Yusuke Endoh <mame@tsg.ne.jp>
2721 * enc/iso_8859_5.c: Large omicron should lowercase to small omicron.
2723 * test/ruby/test_big5.rb, test/ruby/test_cp949.rb,
2724 test/ruby/test_euc_jp.rb, test/ruby/test_euc_kr.rb,
2725 test/ruby/test_euc_tw.rb, test/ruby/test_gb18030.rb,
2726 test/ruby/test_gbk.rb, test/ruby/test_iso_8859.rb,
2727 test/ruby/test_koi8.rb, test/ruby/test_shift_jis.rb,
2728 test/ruby/test_windows_1251.rb: new tests for encoding.
2730 * test/ruby/test_utf16.rb, test/ruby/test_utf32.rb,
2731 test/ruby/test_regexp.rb: add tests.
2733 Mon Jun 2 21:56:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
2735 * test/ruby/test_file.rb: add tests for uninitialized object.
2737 * test/ruby/test_class.rb: ditto.
2739 * test/ruby/test_thread.rb: ditto.
2741 Mon Jun 2 21:44:15 2008 Yusuke Endoh <mame@tsg.ne.jp>
2743 * re.c: fix SEGV by Regexp.allocate.names, Match.allocate.names, etc.
2745 * test/ruby/test_regexp.rb: add tests for above.
2747 * io.c: fix SEGV by IO.allocate.print, etc.
2749 * test/ruby/test_io.rb: add tests for above.
2751 Mon Jun 2 19:17:47 2008 Tanaka Akira <akr@fsij.org>
2753 * test/ruby/test_argf.rb (teardown): remove renamed temporary files.
2755 Mon Jun 2 18:51:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2757 * lib/un.rb (wait_writable): wait until target files can be
2760 * win32/Makefile.sub (LDSHARED_0, LINK_SO): get rid of failure of
2763 Mon Jun 2 16:26:17 2008 Akinori MUSHA <knu@iDaemons.org>
2765 * lib/delegate.rb (Delegator::MethodDelegation#respond_to):
2766 respond_to? should now take optional second argument; submitted
2767 by Jeremy Kemper <jeremy at bitsweat.net> in [ruby-core:17045].
2769 Mon Jun 2 16:14:18 2008 Akinori MUSHA <knu@iDaemons.org>
2771 * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Oops. This
2772 change did not apply to trunk. Backed out.
2774 Mon Jun 2 16:08:24 2008 Akinori MUSHA <knu@iDaemons.org>
2776 * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug
2777 where tokens are not yielded one by one.
2779 * test/erb/test_erb.rb (TestERBCore#_test_01)
2780 (TestERBCore#test_02_safe_04): The expected value should come
2781 first for assert_equal().
2783 Mon Jun 2 13:06:38 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2785 * mkconfig.rb: hide build path from rbconfig.rb.
2787 Mon Jun 2 08:46:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2789 * util.c (ruby_strtod, dtoa): initialize more variables for error
2792 Mon Jun 2 04:55:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2794 * suppress warnings on cygwin, mingw and mswin.
2796 Mon Jun 2 04:35:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
2798 * enc/gb18030.c (gb18030_code_to_mbc): add 0x80000000
2799 for 4bytes character.
2801 Mon Jun 2 03:52:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2803 * ruby.c (set_arg0): reverted used variable definition.
2805 Mon Jun 2 03:23:25 2008 NARUSE, Yui <naruse@ruby-lang.org>
2807 * enc/gb18030.c (gb18030_mbc_to_code): mask by 0x7FFFFFFF
2808 because OnigCodePoint will be used as 32bit signed int.
2809 Masking by 0x7FFFFFFF is ok on GB18030;
2810 Minimum 4bytes character is 0x81308130.
2812 Sun Jun 1 22:29:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
2814 * rational.c (string_to_r_internal): use rb_isdigit.
2816 * marshal.c (long_toobig): use %zd.
2818 * ruby.c (set_arg0): move unused variable definition.
2820 Sun Jun 1 12:18:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
2822 * insns.def (DEFINE_INSN): subtract of pointers is ptrdiff_t.
2823 this is not int on 64bit system.
2825 * vm_dump.c (control_frame_dump): ditto.
2827 * vm_dump.c (stack_dump_each): ditto.
2829 * vm_dump.c (debug_print_register): ditto.
2831 * vm_dump.c (debug_print_pre): ditto.
2833 * transcode.c (str_transcode): ditto.
2835 Sun Jun 1 10:32:18 2008 Tanaka Akira <akr@fsij.org>
2837 * test/ruby/envutil.rb (assert_normal_exit): show coredump status.
2839 Sat May 31 23:33:34 2008 Akinori MUSHA <knu@iDaemons.org>
2841 * README, README.ja: Add a note about default C flags.
2843 Sat May 31 23:02:00 2008 Tanaka Akira <akr@fsij.org>
2845 * gc.c (count_objects): clear given hash.
2847 Sat May 31 20:28:10 2008 Yusuke Endoh <mame@tsg.ne.jp>
2849 * test/ruby/test_regexp.rb: add tests.
2851 Sat May 31 19:11:39 2008 NARUSE, Yui <naruse@ruby-lang.org>
2853 * enc/utf_16{be,le}.c (utf16{be,le}_code_to_mbc):
2854 fix codepoint to bytes.
2856 Sat May 31 18:28:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2858 * suppress warnings with -Wwrite-string.
2860 Sat May 31 18:26:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2862 * array.c (rb_ary_delete_if): should return enumerator if no block
2863 is given. [ruby-dev:34901]
2865 Sat May 31 15:58:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2867 * Makefile.in, configure.in (warnflags): defaulted to -Wall
2868 -Wno-parentheses with gcc. [ruby-dev:34810]
2870 Sat May 31 15:17:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2872 * include/ruby/mvm.h: new header file for MVM, and moved rb_vm_t and
2873 rb_thread_t from vm_core.h.
2875 Sat May 31 12:02:23 2008 Tanaka Akira <akr@fsij.org>
2877 * test/ruby/envutil.rb (assert_normal_exit): show pid when fail.
2879 Fri May 30 23:55:56 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2881 * test/ruby/test_rubyoptions.rb: add a test of RUBY_DESCRIPTION.
2883 Fri May 30 22:47:17 2008 Yusuke Endoh <mame@tsg.ne.jp>
2885 * test/ruby/test_regexp.rb: add tests.
2887 Fri May 30 22:40:53 2008 Yusuke Endoh <mame@tsg.ne.jp>
2889 * test/ruby/test_signal.rb: add tests to achieve over 80% test
2890 coverage of signal.c.
2892 Fri May 30 22:28:03 2008 Yusuke Endoh <mame@tsg.ne.jp>
2894 * signal.c (esignal_signo): fix SignalException#signo which returned
2897 * signal.c (esignal_init): always prepend "SIG" to a string that is
2898 returned by SignalException#signm.
2900 Fri May 30 22:17:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
2902 * test/ruby/test_argf.rb: rename a conflicting method name.
2904 * test/ruby/test_string.rb: ditto.
2906 * test/ruby/test_io.rb: ditto.
2908 Fri May 30 22:14:37 2008 Yusuke Endoh <mame@tsg.ne.jp>
2910 * compile.c (defined_expr): fix SEGV by defined?([1]).
2912 Fri May 30 12:18:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2914 * common.mk (prelude.c): simply depends on PREP. [ruby-dev:34877]
2916 * enc/make_encdb.rb, enc/trans/make_transdb.rb: ditto.
2918 Fri May 30 10:55:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2920 * vm_core.h (struct rb_unblock_callback), thread.c
2921 (set_unblock_function), thread_{pthread,win32}.c (native_sleep):
2922 extracted from struct rb_thread_struct.
2924 * thread.c (reset_unblock_function): not check interrupts at leaving
2925 blocking region. [ruby-dev:34874]
2927 Fri May 30 06:09:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
2929 * enc/utf_8.c: add UTF8-MAC (UTF-8-MAC).
2931 Fri May 30 04:17:13 2008 Akinori MUSHA <knu@iDaemons.org>
2933 * enum.c (enum_count, count_all_i, Init_Enumerable),
2934 array.c (rb_ary_count): If no argument or block is given, count
2935 the number of all elements.
2937 Fri May 30 03:12:18 2008 Akinori MUSHA <knu@iDaemons.org>
2939 * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand):
2940 Int should be enough here.
2942 Fri May 30 02:35:00 2008 Akinori MUSHA <knu@iDaemons.org>
2944 * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand),
2945 ext/openssl/ossl_pkey_dh.c (ossl_dh_s_generate)
2946 (ossl_dh_initialize),
2947 ext/openssl/ossl_pkey_dsa.c (ossl_dsa_s_generate),
2948 ext/openssl/ossl_rand.c (ossl_rand_bytes)
2949 (ossl_rand_pseudo_bytes, ossl_rand_egd_bytes),
2950 ext/openssl/ossl_x509store.c (ossl_x509stctx_set_error): Do not
2951 use FIX2INT() without checking the value type. Use NUM2INT()
2952 instead; found by akr in [ruby-dev:34890].
2954 Fri May 30 02:08:20 2008 Yusuke Endoh <mame@tsg.ne.jp>
2956 * signal.c (esignal_init): handle a non-integer argument correctly,
2957 allowing SignalException.new(:INT).
2959 Fri May 30 00:59:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
2961 * test/ruby/test_regexp.rb: add tests.
2963 Thu May 29 22:51:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
2965 * test/ruby/test_require.rb: add a test for load with wrap flag, to
2966 achieve 100% test coverage of eval_jump.c.
2968 Thu May 29 22:47:53 2008 Yusuke Endoh <mame@tsg.ne.jp>
2970 * test/ruby/test_argf.rb: new tests for ARGF, to achieve over 85% test
2973 * test/ruby/test_io.rb: add tests.
2975 Thu May 29 22:41:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
2977 * io.c (argf_readchar): raise EOFError, synchronizing IO#readchar.
2979 Thu May 29 22:29:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
2981 * io.c (argf_external_encoding, argf_internal_encoding): fix SEGV by
2982 ARGF.external_encoding.
2984 Thu May 29 17:52:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2986 * ext/zlib/extconf.rb: search zlib1, and regard mswin32 later than VC6
2987 as WIN32. [ruby-core:16984]
2989 Wed May 28 18:05:28 2008 Akinori MUSHA <knu@iDaemons.org>
2991 * array.c (rb_ary_nitems, Init_Array): Axe Array#nitems().
2992 cf. [ruby-dev:34676]-[ruby-dev:34713]
2994 Wed May 28 17:50:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2996 * win32/mkexports.rb (Exports#objdump, Exports#each_line): extracted.
2998 Wed May 28 17:41:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3000 * Makefile.in (MKPREP): appended $(RBCONFIG).
3002 * common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32
3003 to get of compiling twice each time.
3005 * win32/Makefile.sub (prelude.c): not depend on $(PREP).
3007 Wed May 28 17:37:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3009 * win32/mkexports.rb (Exports::Mswin#each_export): speed up.
3011 Wed May 28 16:41:59 2008 Akinori MUSHA <knu@iDaemons.org>
3013 * array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the
3014 beginning. [rubyspec]
3016 Wed May 28 16:12:44 2008 Akinori MUSHA <knu@iDaemons.org>
3018 * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
3019 Set the HTTP status code to 302 if a Location header field is
3020 present and the status code is not valid as a client
3021 redirection. cf. RFC 3875 6.2.3, 6.2.4.
3023 Wed May 28 15:53:52 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3025 * enc/trans/japanese.c (to_SHIFT_JIS_EF_infos): typo.
3027 Wed May 28 15:18:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3029 * lib/singleton.rb (SingletonClassMethods): _load should be public.
3031 Wed May 28 13:30:43 2008 NARUSE, Yui <naruse@ruby-lang.org>
3033 * enc/trans/japanese.c: add workaround for Unicode to CP932.
3034 U+2015->0x815C, U+2225->0x8161, U+FF0D->0x817C, U+FF3C->0x815F,
3035 U+FF5E->0x8160, U+FFE0->0x8191, U+FFE1->0x8192, U+FFE2->0x81CA
3037 Wed May 28 12:52:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3039 * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
3040 private methods too. [ruby-dev:34671]
3042 * object.c (convert_type): ditto.
3044 Wed May 28 08:42:51 2008 Tanaka Akira <akr@fsij.org>
3046 * numeric.c: "%" is required before PRI?VALUE.
3048 Tue May 27 22:10:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3050 * eval_error.c (error_handle): SystemExit and SignalException throws
3051 TAG_RAISE but not TAG_FATAL.
3053 * thread.c (rb_thread_execute_interrupts): delay interrupts during
3054 raising exceptions. [ruby-dev:34855]
3056 Tue May 27 20:18:30 2008 Akinori MUSHA <knu@iDaemons.org>
3058 * array.c (rb_ary_slice_bang): Return an empty array instead of
3059 nil when pos is valid and len is adjusted from a valid value to
3060 zero; caught by RubySpec.
3062 Tue May 27 19:12:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3064 * Makefile.in (MKPREP), common.mk, win32/Makefile.sub (prelude.c): get
3065 rid of depending PREP with nmake.
3067 * common.mk (encs): depends on libruby.
3069 Tue May 27 19:00:22 2008 Akinori MUSHA <knu@iDaemons.org>
3071 * ext/stringio/stringio.c (strio_each_char, Init_stringio): Add
3072 StringIO#{each_char,chars}.
3073 (Init_stringio): Fix StringIO#bytes.
3075 Tue May 27 17:54:35 2008 Akinori MUSHA <knu@iDaemons.org>
3077 * ext/stringio/stringio.c (strio_each_byte): Return self instead
3078 of nil as the rdoc says.
3080 Tue May 27 15:36:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3082 * numeric.c (check_int): use PRIxVALUE format specifier.
3084 * numeric.c (check_uint, rb_num2fix, int_chr): ditto.
3086 * numeric.c (num_fdiv): fallback to_f should always return float
3087 result. should not use #quo that may return rational.
3089 * numeric.c (num_div): should raise ZeroDivisionError.
3091 * numeric.c (fix_divide): ditto.
3093 * test/ruby/test_numeric.rb (TestNumeric::test_divmod): avoid
3094 ZeroDivisionError in tests.
3096 Tue May 27 13:14:53 2008 Akinori MUSHA <knu@iDaemons.org>
3098 * enum.c (enum_to_a): Pass arguments through to #each().
3099 (enum_sort): Follow the enum_to_a signature change.
3100 (enum_reverse_each): Add #reverse_each().
3102 Tue May 27 13:12:37 2008 Akinori MUSHA <knu@iDaemons.org>
3104 * io.c (Init_IO): Define ARGF.{lines,bytes,chars}.
3106 Tue May 27 12:06:37 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3108 * file.c (BUFCHECK): wrong condition. [ruby-core:16921]
3110 * file.c (file_expand_buf): shouldn't use buflen for length of string.
3112 Mon May 26 18:24:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3114 * file.c (BUFCHECK): no resize if enough room.
3116 * file.c (file_expand_path): use BUFCHECK.
3118 Mon May 26 17:48:42 2008 Akinori MUSHA <knu@iDaemons.org>
3120 * enumerator.c (struct enumerator, enumerator_init)
3121 (enumerator_init_copy, enumerator_each): Eliminate iter.
3122 (enumerator_ptr): Do not hardcode the class name.
3123 (enumerator_with_index): Delay variable initialization after
3124 RETURN_ENUMERATOR().
3126 Mon May 26 17:23:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3128 * file.c (file_expand_path): add more space for '/'.
3130 * file.c (file_expand_path): should reset address of p after calling
3131 rb_str_resize(). [ruby-dev:34800]
3133 Mon May 26 16:49:55 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3135 * misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook is
3136 not available. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>
3137 in [ruby-dev:34853].
3139 Mon May 26 16:41:35 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3141 * file.c (ntfs_tail): filename which starts with '.' is valid.
3143 * file.c (file_expand_path): cygwin symlink support.
3145 Mon May 26 07:15:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3147 * vm_dump.c (rb_vm_bugreport): rb_make_backtrace has no arguments.
3149 Mon May 26 01:17:54 2008 Tanaka Akira <akr@fsij.org>
3151 * test/ruby/envutil.rb (assert_normal_exit): signal description
3154 Mon May 26 00:52:52 2008 Akinori MUSHA <knu@iDaemons.org>
3156 * hash.c (env_each_key, env_each_value, env_reject_bang)
3157 (rb_env_clear, env_replace): Omit duplicated secure level check.
3159 Mon May 26 00:37:16 2008 Akinori MUSHA <knu@iDaemons.org>
3161 * hash.c (env_each_value): Do not call env_values() twice.
3163 Sun May 25 17:54:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
3165 * compile.c (iseq_compile): set local_table for
3166 ISEQ_TYPE_DEFINED_GUARD.
3168 Sun May 25 17:52:25 2008 Yusuke Endoh <mame@tsg.ne.jp>
3170 * compile.c (iseq_build_body): remove side effect from
3171 VM::InstructionSequence.load.
3173 Sun May 25 04:30:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
3175 * test/ruby/test_modules.rb (remove_json_mixins): change judgment
3178 Sun May 25 03:54:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
3180 * test/ruby/test_modules.rb (test_ancestors, test_included_modules):
3183 Sun May 25 02:37:25 2008 Koichi Sasada <ko1@atdot.net>
3185 * eval_method.c: renamed from vm_method.c. "vm_method.c" is included
3188 * vm_eval.c: added. Some codes are moved from "eval.c"
3190 * common.mk: fix for above changes.
3192 * compile.c: make a vm_eval(0)
3194 * eval.c, eval_error.c, eval_intern.h, eval_jump.c, proc.c, vm.c,
3195 id.c, id.h, vm_core.h, vm_dump.c, vm_evalbody.c, vm_insnhelper.c,
3196 blockinlining.c: fix for above changes. and do some refactoring.
3197 this changes improve rb_yield() performance.
3199 Sat May 24 22:32:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3201 * util.c (ruby_strtod): clear errno at the top of our own
3202 implementation of strtod(3). [ruby-dev:34834] [ruby-dev:34839]
3204 Sat May 24 15:26:16 2008 Yusuke Endoh <mame@tsg.ne.jp>
3206 * compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): remove
3207 special handling that decrements sp in CATCH_TYPE_NEXT for NODE_WHILE.
3209 * vm.c (vm_eval_body), vm_insnhelper.c (vm_throw): remove unused code.
3211 Sat May 24 08:13:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
3213 * transcode.c (rb_str_transcode): argc is 1, and argv is &to.
3215 Fri May 23 17:55:11 2008 Akinori MUSHA <knu@iDaemons.org>
3217 * array.c (rb_ary_slice_bang): Be consistent with Array#slice()
3218 and String#slice!(). Just return nil when a negative length or
3219 out of boundary index is given instead of raising an exception
3220 via internal functions.
3222 Fri May 23 16:44:34 2008 Akinori MUSHA <knu@iDaemons.org>
3224 * enumerator.c (Init_Enumerator): Override
3225 Enumerable::Enumerator#each_with_index with #with_index.
3227 Fri May 23 12:23:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3229 * vm_core.h (rb_num_t): moved form vm.h.
3231 * tool/instruction.rb (RubyVM::Instruction#sp_increase_c_expr),
3232 tool/instruction.rb (RubyVM::VmBodyGenerator#make_header_operands):
3233 omit unused variables.
3235 Fri May 23 08:47:02 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3237 * error.c (exc_equal): == operator should be transitional.
3240 * error.c (syserr_eqq): === should be able to handle delegated
3243 Fri May 23 06:15:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3245 * iseq.c (rb_iseq_compile_with_option): get rid of segv.
3247 Fri May 23 02:29:14 2008 Koichi Sasada <ko1@atdot.net>
3249 * insns.def (opt_gt|ge|lt|le): use values directly to compare.
3251 Fri May 23 01:15:09 2008 Koichi Sasada <ko1@atdot.net>
3253 * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h,
3254 vm.c, vm_core.h, vm_insnhelper.c: remove pointless "const".
3256 Thu May 22 23:45:17 2008 Yusuke Endoh <mame@tsg.ne.jp>
3258 * compile.c (get_destination_insn, get_next_insn, get_prev_insn):
3259 peephole optimization should not ignore ISEQ_ELEMENT_ADJUST.
3261 Thu May 22 20:20:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3263 * marshal.c (check_dump_arg, check_load_arg): check if reentered.
3266 Thu May 22 20:14:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
3268 * iseq.c (iseq_load, iseq_data_to_ary): support
3269 ISEQ_TYPE_DEFINED_GUARD.
3271 Thu May 22 19:01:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3273 * vm.c (vm_get_ruby_level_cfp): moved from eval_intern.h.
3275 * vm.c (sdr, nsdr): define methods only if VMDEBUG is defined.
3277 Thu May 22 17:18:35 2008 Tanaka Akira <akr@fsij.org>
3279 * array.c (rb_ary_compact_bang): fix reallocation size.
3281 Thu May 22 15:20:20 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3283 * eval_intern.h, vm_core.h, include/ruby/intern.h, include/ruby/ruby.h,
3284 vm.c: need to add const to prototypes, of course.
3286 Thu May 22 13:24:43 2008 Koichi Sasada <ko1@atdot.net>
3288 * eval.c, vm.c, vm_core.h, vm_insnhelper.c: specify "const".
3290 * vm_opts.h: add a OPT_TOKEN_THREADED_CODE macro.
3292 Thu May 22 12:51:41 2008 Tanaka Akira <akr@fsij.org>
3294 * insns.def (newhash): fix a variable definition: "const k".
3296 Thu May 22 12:40:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3298 * array.c (flatten): check if reentered. [ruby-dev:34798]
3300 Thu May 22 11:39:59 2008 Tanaka Akira <akr@fsij.org>
3302 * test/ruby/envutil.rb (assert_normal_exit): capture stdout and stderr
3303 of the child process.
3305 Thu May 22 08:28:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3307 * array.c (flatten): free memo hash table before raising exception.
3310 Thu May 22 06:30:10 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
3312 * array.c (flatten): fix memory leak.
3314 Thu May 22 06:21:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
3316 * ext/nkf/nkf-utf8/nkf.c (nkf_str_caseeql): added.
3318 * ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index): use nkf_str_caseeql.
3320 Thu May 22 05:45:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3322 * proc.c (proc_dup): should copy safe_level from src proc
3323 properly. a patch from Keita Yamaguchi
3324 <keita.yamaguchi at gmail.com>
3326 Thu May 22 02:46:08 2008 Shugo Maeda <shugo@ruby-lang.org>
3328 * lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739]
3330 Thu May 22 00:30:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
3332 * test/ruby/test_require.rb: new tests for library requiring, to
3333 achieve over 90% test coverage of dln.c.
3335 * test/ruby/test_class.rb: add tests to achieve over 90% test coverage
3338 * test/ruby/test_module.rb: ditto.
3340 Thu May 22 00:15:44 2008 Koichi Sasada <ko1@atdot.net>
3342 * insns.def, vm_insnhelper.c: specify "const".
3344 Wed May 21 23:20:21 2008 Koichi Sasada <ko1@atdot.net>
3346 * bootstraptest/test_eval.rb: fix syntax.
3348 Wed May 21 17:46:17 2008 NARUSE, Yui <naruse@ruby-lang.org>
3350 * ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index):
3351 use strcasecmp. [ruby-dev:34787]
3353 Wed May 21 16:48:22 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3355 * array.c (rb_ary_compact_bang): avoid forceful realloc.
3357 Wed May 21 07:42:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
3359 * string.c (rb_usascii_str_new): use rb_str_new.
3361 * string.c (rb_enc_str_new): ditto.
3363 * string.c (rb_usascii_str_new2): use rb_str_new2.
3365 Wed May 21 07:22:01 2008 NARUSE, Yui <naruse@ruby-lang.org>
3367 * encoding.c, include/ruby/encoding.h
3368 (rb_enc_associate, rb_enc_associate_index):
3369 returns obj. [ruby-dev:34778]
3371 Wed May 21 04:20:20 2008 NARUSE, Yui <naruse@ruby-lang.org>
3373 * encoding.c (rb_ascii8bit_encoding): use ENCINDEX_ASCII.
3375 * encoding.c, include/ruby/encoding.h (rb_ascii8bit_encindex):
3378 * encoding.c (rb_locale_encoding): use rb_usascii_encoding().
3380 Wed May 21 01:45:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3382 * test/ruby/test_file_exhaustive.rb (setup): workaround for Windows
3385 * test/ruby/envutil.rb (rubyexec): now Open3.open3 is supported on
3388 * test/ruby/test_process.rb: use ``||'' instead of ``;'' because
3389 cmd.exe not support it.
3391 Wed May 21 01:28:47 2008 NARUSE, Yui <naruse@ruby-lang.org>
3393 * transcode.c, include/ruby/encoding.h (rb_str_transcode):
3394 C API of encoding conversion for Ruby object.
3395 VALUE rb_str_transcode(VALUE str, VALUE to).
3397 * transcode.c (str_encode, str_encode_bang):
3398 rename from rb_tr_transcode or rb_str_transcode_bang.
3400 Tue May 20 23:26:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
3402 * test/ruby/test_array.rb: fix tests for 64bit CPU.
3404 Tue May 20 20:59:56 2008 NARUSE, Yui <naruse@ruby-lang.org>
3406 * ext/nkf/nkf-utf8/nkf.c (rb_nkf_convert) (nkf_enc_without_bom):
3407 reverted. nkf-utf8/nkf.c should be independent of ruby.
3409 * ext/nkf/nkf.c (options):
3410 moved from nkf-utf8/nkf.c.
3411 override nkf's original settings for Unicode BOM.
3413 Tue May 20 13:20:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3415 * ext/nkf/nkf.c (rb_nkf_convert), ext/nkf/nkf-utf8/nkf.c
3416 (nkf_enc_without_bom): BOM is not a part of encodings.
3418 * ext/nkf/nkf.c (Init_nkf), ext/nkf/nkf-utf8/nkf.c (options):
3419 UTF-{16,32} without endian have no sense.
3421 Tue May 20 12:13:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3423 * ruby.c (proc_options, process_options): --dump option.
3425 Tue May 20 11:36:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3427 * include/ruby/ruby.h (PRI[diouxX]VALUE): printf format for VALUE.
3429 * gc.c (assign_heap_slot): suppress a warning.
3431 Tue May 20 03:42:43 2008 Koichi Sasada <ko1@atdot.net>
3433 * eval.c, vm_insnhelper.c: fix cref in instance_eval
3434 and cvar_base search protocol.
3436 * bootstraptest/test_knownbug.rb, test_eval.rb: move solved test
3439 * test/ruby/test_eval.rb: fix tests for spec.
3441 Tue May 20 01:43:44 2008 Koichi Sasada <ko1@atdot.net>
3443 * bootstraptest/test_knownbug.rb: fix a test.
3444 "block_given?" returns true if "yield" can be used.
3446 Tue May 20 01:07:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
3448 * parse.y (assignable_gen): when "self = 1" was evaluated, unnecessary
3449 error message was output, which might cause null pointer access.
3451 Tue May 20 08:38:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3453 * string.c (rb_enc_strlen_cr): need to set ENC_CODERANGE_7BIT if
3454 search_nonascii() fails. [ruby-dev:34751]
3456 * string.c (rb_str_reverse): preserve coderange info if the
3457 receiver is 7bit string.
3459 * string.c (rb_str_reverse_bang): ditto.
3461 * string.c (rb_str_reverse_bang): should have called
3462 single_byte_optimizable before rb_str_modify() that clears
3465 * string.c (tr_trans): handle single bytes more eagerly.
3467 Mon May 19 23:32:12 2008 Koichi Sasada <ko1@atdot.net>
3469 * vm.c (invoke_block_from_c): fix call flow.
3471 Mon May 19 23:19:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
3473 * regexec.c (slow_search): check the case when the length is 1.
3474 The behavior of memcmp is undefined if the third argument is 0.
3476 Mon May 19 21:07:48 2008 Koichi Sasada <ko1@atdot.net>
3478 * thread_pthread.c (native_thread_apply_priority):
3479 fix argument range check. [ruby-dev:33124]
3481 Mon May 19 18:22:35 2008 Akinori MUSHA <knu@iDaemons.org>
3483 * ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): Fix the type
3484 of md; pointed out by Takahiro Kambe <taca at back-street.net>
3485 in [ruby-dev:34748].
3487 Mon May 19 17:23:55 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3489 * regparse.c (PINC): use optimized enclen() instead of
3490 ONIGENC_MBC_ENC_LEN().
3492 * regparse.c (PFETCH): ditto.
3494 * regparse.c (PFETCH): small optimization.
3496 * regexec.c (slow_search): single byte encoding optimization.
3498 * regenc.h (enclen): avoid calling function when encoding's
3501 * re.c (rb_reg_regsub): rb_enc_ascget() optimization for single
3504 * re.c (rb_reg_search): avoid allocating new re_registers if we
3505 already have MatchData.
3507 * re.c (match_init_copy): avoid unnecessary onig_region_free()
3508 before onig_region_copy.
3510 * encoding.c (rb_enc_get_index): remove implicit enc_capable check
3513 * encoding.c (rb_enc_set_index): ditto.
3515 * encoding.c (enc_compatible_p): small refactoring.
3517 * include/ruby/encoding.h (rb_enc_dummy_p): inline
3518 rb_enc_dummy_p() and export related code.
3520 Mon May 19 14:32:03 2008 Koichi Sasada <ko1@atdot.net>
3522 * version.h: fix strange change by version.h update tool.
3524 Mon May 19 14:18:13 2008 Koichi Sasada <ko1@atdot.net>
3526 * bootstraptest/test_knownbug.rb: move solved tests.
3528 * bootstraptest/test_eval.rb, test_literal.rb, test_syntax.rb,
3529 test_thread.rb: ditto.
3531 * test/ruby/test_m17n.rb, test_proc.rb, test_sprintf.rb,
3532 test_string.rb, test/ruby/test_struct.rb: ditto.
3534 Mon May 19 13:23:03 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3536 * process.c (rb_spawn_internal): set last_status when status == -1
3537 because there is no path to set it on win32. this patch is derived
3538 from [ruby-core:16787], submitted by Luis Lavena <luislavena at
3541 Mon May 19 11:32:47 2008 Koichi Sasada <ko1@atdot.net>
3543 * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling.
3544 VM value stack frame of block contains cref information.
3545 (dfp[-1] points CREF)
3547 * compile.c, eval_intern.h, eval_method.c, load.c, proc.c,
3548 vm_dump.h, vm_core.h: ditto.
3550 * include/ruby/ruby.h, gc.c: remove T_VALUES because of above
3553 * bootstraptest/test_eval.rb, test_knownbug.rb: move solved test.
3555 Sun May 18 22:26:51 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
3557 * lib/webrick/httpservlet/filehandler.rb: should normalize path
3558 name in path_info to prevent script disclosure vulnerability on
3559 DOSISH filesystems. (fix: CVE-2008-1891)
3560 Note: NTFS/FAT filesystem should not be published by the platforms
3561 other than Windows. Pathname interpretation (including short
3562 filename) is less than perfect.
3564 * lib/webrick/httpservlet/abstract.rb
3565 (WEBrick::HTTPServlet::AbstractServlet#redirect_to_directory_uri):
3566 should escape the value of Location: header.
3568 * lib/webrick/httpservlet/cgi_runner.rb: accept interpreter
3569 command line arguments.
3571 Sun May 18 02:54:46 2008 Yusuke Endoh <mame@tsg.ne.jp>
3573 * pack.c (pack_pack): check errno to detect error of ruby_strtoul.
3575 * pack.c (pack_unpack): ditto.
3577 * test/ruby/test_pack.rb: add a test for above.
3579 Sat May 17 23:53:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3581 * file.c (file_expand_path): fix for short file name on Cygwin.
3583 Sat May 17 18:03:52 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
3585 * vm.c (Init_VM): removed the definition of Thread#initialize,
3586 which is overwritten in Init_Thread and is never used.
3588 Sat May 17 14:01:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3590 * array.c (rb_ary_sort_bang): should not free shared pointer, and set
3591 shared. [ruby-dev:34732]
3593 Sat May 17 12:34:54 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
3595 * thread_pthread.c (Init_native_thread): Kernel#.sleep used never to
3596 sleep on Mac OS X. Reported by arton <artonx AT yahoo.co.jp>.
3598 * thread_pthread.c (native_sleep): added error checks.
3600 Sat May 17 11:29:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3602 * file.c (rb_file_s_extname): first dot is not an extension name.
3604 Sat May 17 03:21:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3606 * array.c (rb_ary_sort_bang): stop memory leak. [ruby-dev:34726]
3608 * re.c (rb_reg_search): need to free allocated buffer in re_register.
3610 * regexec.c (onig_region_new): more pedantic malloc check.
3612 * regexec.c (onig_region_resize): ditto.
3614 * regexec.c (STATE_CHECK_BUFF_INIT): ditto.
3616 * regexec.c (onig_region_copy): use onig_region_resize.
3618 Fri May 16 12:48:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3620 * math.c (to_flo): rb_Float() accepts even strings for input.
3622 * complex.c (nucomp_to_f): fix wrong message.
3624 * complex.c (nucomp_to_r): ditto.
3626 * object.c (rb_Float): do not check NaN for error. NaN is a part
3627 of valid float values.
3629 Thu May 15 23:36:09 2008 Yusuke Endoh <mame@tsg.ne.jp>
3631 * test/ruby/test_string.rb: add tests to achieve over 90% test
3632 coverage of string.c.
3634 * test/ruby/test_m17n.rb: ditto.
3636 * test/ruby/test_symbol.rb: ditto.
3638 * test/ruby/test_pack.rb: ditto.
3640 Thu May 15 23:01:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
3642 * string.c (tr_find): String#delete returned wrong result when multiple
3643 utf-8 arguments are passed.
3645 * test/ruby/test_m17n.rb (test_delete): add a test for above.
3647 Thu May 15 22:37:56 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3649 * parse.y (ripper_warningS): now used.
3651 Thu May 15 15:33:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3653 * file.c (file_expand_path): support for alternative data stream
3654 and ignored trailing garbage of NTFS.
3656 * file.c (rb_file_s_basename): ditto.
3658 * file.c (rb_file_s_extname): ditto.
3660 Thu May 15 13:43:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3662 * object.c (rb_cstr_to_dbl): no need for forceful warning when
3663 converting to float. overflow is a nature of float values.
3665 * parse.y (parser_yylex): ditto.
3667 Thu May 15 13:23:20 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3669 * re.c (rb_reg_prepare_enc): error condition was updated for non
3670 ASCII compatible strings.
3672 Thu May 15 12:19:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3674 * ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted
3675 prototype change in openssl bundled with newer OpenBSD.
3676 a patch from Takahiro Kambe <taca at back-street.net> in
3679 Wed May 14 22:09:25 2008 Yusuke Endoh <mame@tsg.ne.jp>
3681 * ChangeLog: fix typo.
3683 Wed May 14 21:49:14 2008 Yusuke Endoh <mame@tsg.ne.jp>
3685 * test/ruby/test_object.rb: new tests to achieve over 90% test
3686 coverage of object.c, eval.c and eval_method.c.
3688 * test/ruby/test_module.rb: ditto.
3690 * test/ruby/test_trace.rb: ditto.
3692 * test/ruby/test_integer.rb: ditto.
3694 * test/ruby/test_float.rb: ditto.
3696 * test/ruby/test_method.rb: ditto.
3698 * test/ruby/test_variable.rb: ditto.
3700 * test/ruby/test_eval.rb: ditto.
3702 * test/ruby/test_exception.rb: ditto.
3704 * test/ruby/test_class.rb: ditto.
3706 Wed May 14 12:46:37 2008 Koichi Sasada <ko1@atdot.net>
3708 * iseq.c (insn_operand_intern): remove Qundef related code.
3710 Wed May 14 12:42:36 2008 Akinori MUSHA <knu@iDaemons.org>
3712 * array.c (rb_ary_count): Override Enumerable#count for better
3715 Wed May 14 11:29:06 2008 Koichi Sasada <ko1@atdot.net>
3717 * insns.def: add a "putcbase" instruction.
3719 * compile.c, insns.def: fix to use putcbase instruction for
3720 class search. Qundef should not be used.
3722 Wed May 14 07:49:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3724 * eval.c (rb_call0): defer calling of rb_frame_self() until it
3725 become really necessary.
3727 * eval.c (rb_call): ditto.
3729 Wed May 14 00:55:56 2008 Yusuke Endoh <mame@tsg.ne.jp>
3731 * test/ruby/test_io_m17n.rb: remove a duplicative method.
3733 * test/ruby/test_utf16.rb: rename a conflicting method name.
3735 * test/ruby/test_array.rb: ditto.
3737 * test/ruby/test_file_exhaustive.rb: ditto.
3739 * test/ruby/test_hash.rb: ditto.
3741 * test/ruby/test_env.rb: ditto.
3743 * test/ruby/test_fixnum.rb: ditto.
3745 * test/ruby/test_rational.rb: ditto.
3747 Wed May 14 00:45:58 2008 Yusuke Endoh <mame@tsg.ne.jp>
3749 * eval_method.c (rb_add_method): fix check for warning when
3750 Object#initialize is redefined. (same as 1.8)
3752 Tue May 13 23:32:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3754 * enum.c (enum_yield): use rb_yield_values2.
3756 * enum.c (DEFINE_ENUMFUNCS): macro to define enumerator and yielding
3759 * enum.c (enum_all_func, enum_any_func, enum_one_func,
3760 enum_none_func): reduced duplicate code.
3762 Tue May 13 15:09:38 2008 Akinori MUSHA <knu@iDaemons.org>
3764 * enumerator.c: Update rdoc.
3765 (enumerator_initialize): Discourage the use.
3766 (enum_each_slice, enum_each_cons, enumerator_each)
3767 (enumerator_with_index): Add a note about a call without a block.
3769 Tue May 13 08:25:31 2008 Tanaka Akira <akr@fsij.org>
3771 * io.c (rb_f_gets): re-enable rdoc.
3772 (rb_f_readline): ditto.
3773 (rb_f_readlines): ditto.
3775 Tue May 13 07:56:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3777 * string.c (rb_str_cat): fixed buffer overrun reported by
3778 Christopher Thompson <cthompson at nexopia.com> in [ruby-core:16746]
3780 Mon May 12 23:37:57 2008 Yusuke Endoh <mame@tsg.ne.jp>
3782 * vm.c (collect_local_variables_in_env): remove unnecessary check
3783 which causes: x=1;proc{local_variables}.call #=> []
3785 * test/ruby/test_variable.rb: add a test for above.
3787 Mon May 12 23:05:24 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3789 * process.c, include/ruby/intern.h (rb_run_exec_options): externed.
3791 * process.c (save_redirect_fd, save_env_i, save_env, run_exec_dup2,
3792 run_exec_open, run_exec_pgroup, run_exec_rlimit, rb_run_exec_options):
3793 save parent's process environments.
3795 * process.c (rb_spawn_internal): remove calling run_exec_options()
3796 because cannot restore after spawn.
3798 * io.c (pipe_open): ditto.
3800 * test/ruby/test_process.rb (test_execopts_env): upcase environment
3801 variable name for case insensitive platforms.
3803 * win32/win32.c (init_env): set USER environment variable only when
3804 USERNAME is available.
3806 Mon May 12 22:23:01 2008 Tanaka Akira <akr@fsij.org>
3808 * lib/date.rb (once): use Object#object_id instead of Symbol#to_i.
3810 Mon May 12 21:34:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3812 * test/ruby/envutil.rb (rubybin): return expanded rubyexe instead of
3813 expanded ruby if available.
3815 Mon May 12 20:19:55 2008 Akinori MUSHA <knu@iDaemons.org>
3817 * enum.c (grep_i): Be aware of multiple values;
3818 fix [ruby-dev:34653].
3819 (grep_iter_i): Ditto.
3822 (find_index_i): Ditto.
3823 (find_all_i): Ditto.
3826 (inject_op_i): Ditto.
3827 (partition_i): Ditto.
3828 (group_by_i): Ditto.
3832 (all_iter_i): Ditto.
3834 (any_iter_i): Ditto.
3836 (one_iter_i): Ditto.
3838 (none_iter_i): Ditto.
3847 (minmax_by_i): Ditto.
3850 (take_while_i): Ditto.
3852 (drop_while_i): Ditto.
3855 * enum.c (each_with_index): Update rdoc. each_with_index() takes
3856 arguments that are passed through to each(), and a hash preserves
3859 Mon May 12 19:05:24 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3861 * process.c (rb_spawn_internal): remove calling run_exec_options()
3862 because cannot restore after spawn. we'll fix this later.
3864 Mon May 12 18:16:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
3866 * process.c (rb_spawn_internal): need to call run_exec_options() before
3867 spawn if the platform doesn't have fork. [ruby-dev:34647]
3869 Mon May 12 15:20:02 2008 Tanaka Akira <akr@fsij.org>
3871 * gc.c (ruby_vm_xmalloc): increase malloc_increase only if malloc
3872 succeeds. failed malloc size can be huge. it may increase
3873 malloc_limit too big which cause less GC and memory full.
3874 (ruby_vm_xrealloc): ditto.
3875 (rb_objspace): make params.limit and params.increase size_t.
3877 Mon May 12 15:04:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3879 * re.c (rb_reg_prepare_re): made non static with small refactoring.
3881 * ext/strscan/strscan.c (strscan_do_scan): should adjust encoding
3882 before regex searching.
3884 Mon May 12 13:57:19 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3886 * eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}. "defined?(a||=1)"
3887 should not operate assignment. [ruby-dev:34645]
3889 Mon May 12 13:29:26 2008 Tanaka Akira <akr@fsij.org>
3891 * bignum.c (bigzero_p): check from MSB to LSB. [ruby-dev:34649]
3893 Mon May 12 12:32:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3895 * common.mk (RUBYOPT): affected BASERUBY too. [ruby-talk:301514]
3897 Mon May 12 12:27:55 2008 Tanaka Akira <akr@fsij.org>
3899 * gc.c (assign_heap_slot): fix condition for number of objects in
3902 Mon May 12 12:24:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3904 * string.c (sym_to_i): really removed. [ruby-dev:34641]
3906 Mon May 12 11:15:55 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
3908 * gc.c (assign_heap_slot): put the binary search routine in order.
3910 Mon May 12 10:52:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3912 * ruby.c (ruby_init_gems), gem_prelude.rb: check if Gem is defined
3913 instead of Gem::Enable.
3915 * gem_prelude.rb (load_full_rubygems_library, const_missing): prevent
3916 infinite recursion. [ruby-dev:34539]
3918 Sun May 11 23:19:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3920 * enum.c (all_iter_i, any_iter_i): reduced duplicated code.
3922 Sun May 11 22:54:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3924 * bootstraptest/runner.rb (main): leave -I options for purelib.rb
3927 * bootstraptest/runner.rb (main): handle relative path -r options.
3929 Sun May 11 19:04:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
3931 * test/ruby/test_thread.rb: kill and join temporal threads that are
3932 created in each test.
3934 Sun May 11 17:58:45 2008 Tanaka Akira <akr@fsij.org>
3936 * test/ruby/test_process.rb (TestProcess#with_stdin): defined.
3937 (TestProcess#test_argv0_noarg): don't use redirect_fds.
3940 Sun May 11 17:57:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
3942 * configure.in (MINIRUBY): should not include extension library path.
3944 Sun May 11 14:40:36 2008 Tanaka Akira <akr@fsij.org>
3946 * include/ruby/ruby.h (SIZET2NUM): new macro.
3947 (NUM2SIZET): new macro.
3949 * gc.c (struct rb_objspace): use size_t for increment, length and
3951 (allocate_heaps): ditto.
3952 (assign_heap_slot): ditto.
3953 (set_heaps_increment): ditto.
3954 (gc_mark_all): ditto.
3955 (is_pointer_to_heap): ditto.
3956 (free_unused_heaps): ditto.
3959 (rb_gc_call_finalizer_at_exit): ditto.
3960 (count_objects): ditto.
3962 Sun May 11 13:14:09 2008 Tanaka Akira <akr@fsij.org>
3964 * thread.c (thread_cleanup_func_before_exec): extracted from
3965 thread_cleanup_func not to touch pthread data.
3966 pthread_cond_destroy in forked process may cause deadlock on
3967 Debian GNU/Linux Etch on x86, x86-64 and IA64.
3968 this doesn't cause resource leak because the process will exec soon.
3969 (terminate_atfork_before_exec_i): defined.
3970 (rb_thread_atfork_before_exec): defined.
3972 * include/ruby/intern.h (rb_thread_atfork_before_exec): declared.
3974 * process.c (rb_exec_atfork): call rb_thread_atfork_before_exec
3975 instead of rb_thread_atfork.
3977 * io.c (popen_exec): call rb_thread_atfork_before_exec instead of
3980 Sat May 10 22:14:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3982 * string.c (tr_trans): single '^' does not mean negation.
3985 * string.c (tr_trans): should check src size, not str size.
3988 * string.c (tr_trans): should not turn on modify flag if no
3989 modification happens. [ruby-dev:34631]
3991 Sat May 10 18:11:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
3993 * string.c (rb_str_each_line): zero length record separator should
3994 split a string into paragraphs. [ruby-dev:34586]
3996 * string.c (rb_str_each_line): RDoc updated.
3998 Sat May 10 11:36:20 2008 Tanaka Akira <akr@fsij.org>
4000 * vm.c (env_mark): mark env->block.self. prevent SEGV when GC occur
4001 in prepare_iseq_build with gcc version 3.4.6 [FreeBSD] 20060305 on
4004 Fri May 9 19:16:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4006 * thread.c (timeofday): use monotonic clock. based on a patch
4007 from zimbatm <zimbatm at oree.ch> in [ruby-core:16627].
4009 Fri May 9 07:47:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4011 * cont.c (cont_restore_0): dynamic stack direction code should be
4012 consistent with static one. [ruby-talk:301152]
4014 Fri May 9 00:03:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4016 * parse.y (arg): operator assignment "a += b rescue c" should be
4017 parsed as "a += (b rescue c)" just like normal assignment.
4020 Thu May 8 18:14:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4022 * bignum.c (rb_big_and): bit-wise operation should not take float
4023 values. [ruby-dev:34612]
4025 * bignum.c (rb_big_or): ditto.
4027 * bignum.c (rb_big_xor): ditto.
4029 Thu May 8 17:44:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4031 * common.mk, ext/extmk.rb, lib/mkmf.rb: use absolute path for RUBYOPT.
4033 * file.c (rb_find_file_ext): guard load_path from GC.
4034 gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) optimizes
4035 load_path by holding only RARRAY_LEN(load_path) and
4036 RARRAY_PTR(load_path) in registers on IA64 GNU/Linux Etch.
4038 Thu May 8 16:41:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4040 * configure.in (MINIRUBY), common.mk (RUBYOPT): add purelib.rb.
4043 Thu May 8 16:00:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4045 * parse.y (parser_yylex): ! and ? at the bottom are no longer part
4046 of valid symbol names. [ruby-dev:34590]
4048 Thu May 8 15:36:11 2008 Tanaka Akira <akr@fsij.org>
4050 * thread.c (rb_gc_save_machine_context): call FLUSH_REGISTER_WINDOWS
4051 to mark the register stack from GC on another thread.
4053 Thu May 8 15:14:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4055 * array.c (rb_ary_sort_bang): freeze temporary array.
4057 Thu May 8 13:19:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4059 * vm.c (rb_thread_mark): mark stat_insn_usage only when ptr is not
4062 Thu May 8 10:44:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4064 * array.c (sort_reentered): reentered check may be called from
4067 Thu May 8 09:51:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4069 * array.c (sort_1, sort_2): check for reentered and if elements are
4070 accessible. [ruby-core:16679]
4072 Thu May 8 06:43:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4074 * dln.c (dln_find_exe_r, dln_find_file_r): reentrant versions.
4076 * file.c (rb_find_file_ext, rb_find_file), process.c (proc_exec_v),
4077 (rb_proc_exec, proc_spawn_v, proc_spawn), ruby.c (process_options):
4078 use reentrant versions.
4080 Thu May 8 06:27:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4082 * thread.c (rb_thread_key_p): thread local storage stores ID.
4084 Thu May 8 01:10:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4086 * string.c (tr_trans): should squeeze properly. [ruby-dev:34587]
4088 * string.c (tr_trans): had a bug in treating multi-byte character
4091 * string.c (rb_str_delete_bang): need not to do anything for empty
4094 * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_delete): add
4095 test for empty receiver.
4097 Wed May 7 20:19:18 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4099 * ruby.c (process_options, ruby_set_argv): set encoding of rb_argv
4100 after Init_prelude() because cannot load encoding extensions before
4103 Wed May 7 20:00:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4105 * numeric.c (bit_coerce): float should not be a valid operand of
4106 bitwise operations. [ruby-dev:34583]
4108 Wed May 7 19:35:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4110 * thread.c (rb_thread_key_p): should always convert symbol to ID.
4113 Wed May 7 19:30:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4115 * numeric.c (fix_divide): float division should floor() before
4116 rounding into integer. [ruby-dev:34584]
4118 Wed May 7 18:02:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4120 * string.c (sym_to_i): remove obsolete method. preparation for
4123 * numeric.c (fix_to_sym): ditto.
4125 * numeric.c (fix_id2name): ditto.
4127 Wed May 7 17:43:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4129 * io.c (io_puts_ary): check recursion first. [ruby-dev:34580]
4131 Wed May 7 17:41:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4133 * vm.c (vm_eval_body): initialize retval. [ruby-dev:34576]
4135 Wed May 7 13:02:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4137 * bignum.c (rb_big_fdiv): flo.fdiv(NaN) should result NaN.
4139 * numeric.c (num_quo): renamed and moved from bignum.c.
4142 * bignum.c (rb_big_fdiv): update RDoc description
4144 * rational.c (nurat_s_new_m): small refactoring.
4146 * bignum.c (rb_big2dbl): no need for forceful warning when
4147 converting to float. overflow is a nature of float values.
4149 Wed May 7 00:54:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4151 * ext/zlib/zlib.c (gzreader_gets): may cause infinite loop.
4152 a patch from Kouya <kouyataifu4 at gmail.com> in
4153 [ruby-reference-manual:762].
4155 Tue May 6 02:08:18 2008 Tanaka Akira <akr@fsij.org>
4157 * test/io/nonblock/test_flush.rb: don't set Thread.abort_on_exception.
4159 * test/net/imap/test_imap.rb: ensure disconnecting imap to terminate
4162 Tue May 6 00:29:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4164 * iseq.c (insn_operand_intern): should handle Qundef embedded in
4165 operand. [ruby-core:16656]
4167 Tue May 6 00:00:02 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4169 * compile.c (iseq_compile_each): should call compile_cpath() for
4170 modules as well. [ruby-dev:34585]
4172 * insns.def (defineclass): add undef handling.
4174 Mon May 5 23:49:40 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4176 * insns.def (defineclass): was using wrong variable. [ruby-dev:34592]
4178 Mon May 5 20:07:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4180 * io.c (io_fflush): IO#flush problem within threads. a patch from
4181 <s.wanabe at gmail.com> in [ruby-dev:34595].
4183 Mon May 5 19:58:44 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4185 * compile.c (defined_expr): protect some expression from
4186 segmentation fault. a patch from wanabe <s.wanabe at gmail.com>
4187 in [ruby-dev:34593].
4189 Mon May 5 19:49:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4191 * struct.c (rb_struct_s_def): Struct.new(0) should not SEGV.
4192 based on the patch from wanabe <s.wanabe at gmail.com> in
4195 * struct.c (make_struct): call to_str on name object.
4197 Mon May 5 17:17:40 2008 Tanaka Akira <akr@fsij.org>
4199 * eval.c (ruby_cleanup): wrap ruby_finalize_0 by SAVE_ROOT_JMPBUF to
4200 avoid SEGV by at_exit { Fiber.new{}.resume } on IA64.
4202 Mon May 5 12:12:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4204 * array.c (rb_ary_slice_bang): should adjust length before making
4207 Mon May 5 11:36:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4209 * array.c (rb_ary_dup): should dupe corresponding information.
4212 Mon May 5 11:13:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4214 * compile.c (compile_cpath): use Qundef to denote cbase lookup.
4216 * insns.def (defineclass): Qundef is passed for cbase.
4218 * insns.def (setconstant): ditto.
4220 * vm_insnhelper.c (vm_check_if_namespace): use rb_inspect()
4221 instead of rb_obj_as_string() for better description.
4223 Mon May 5 02:10:23 2008 Tanaka Akira <akr@fsij.org>
4225 * gc.c (set_heaps_increment): fix memory allocation strategy by
4226 determining heaps_inc from heaps_used, not objects_delta.
4227 (struct rb_objspace): delta removed. change increment, length and
4228 used to long for LP64.
4229 (objects_delta): removed.
4230 (allocate_heaps): add next_heaps_length argument.
4231 (init_heap): renamed from add_heap.
4232 (garbage_collect): use heaps_increment in dont_gc.
4234 Sun May 4 21:09:32 2008 Tanaka Akira <akr@fsij.org>
4236 * lib/getoptlong.rb: use $stderr instead of $deferr.
4238 Sun May 4 16:04:28 2008 Tanaka Akira <akr@fsij.org>
4240 * time.c (obj2nsec): fix string argument.
4242 Sun May 4 14:29:14 2008 Tanaka Akira <akr@fsij.org>
4244 * eval.c (rb_obj_respond_to): check the result of respond_to? method
4247 Sun May 4 12:57:58 2008 Tanaka Akira <akr@fsij.org>
4249 * string.c (rb_str_each_line): return original string.
4251 Sat May 3 20:57:06 2008 Tanaka Akira <akr@fsij.org>
4253 * test/ruby/envutil.rb (Test::Unit::Assertions#assert_normal_exit):
4256 Sat May 3 18:10:54 2008 Tanaka Akira <akr@fsij.org>
4258 * time.c (time_timespec): raise TypeError for nil and other objects
4259 which has no divmod method.
4261 Fri May 2 23:59:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4263 * io.c (internal_read_func, internal_write_func): split from
4266 Fri May 2 23:55:15 2008 Tanaka Akira <akr@fsij.org>
4268 * variable.c (rb_define_hooked_variable): guard *var from GC to
4269 prevent collecting argf under RUBY_DEBUG=gc_stress.
4271 Fri May 2 17:29:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4273 * range.c (range_step): call to_int if step is not a numeric
4274 value. [ruby-dev:34575]
4276 Fri May 2 16:10:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4278 * range.c (range_step): do not forcefully convert steps into
4279 integers. [ruby-dev:34571]
4281 Fri May 2 14:52:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4283 * misc/ruby-mode.el: move fontifying code from hook. a patch from
4284 Phil Hagelberg <phil at hagelb.org> in [ruby-core:16636].
4286 Fri May 2 14:10:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4288 * range.c (range_step): step may be bignum.
4290 Fri May 2 13:52:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4292 * re.c (Init_Regexp): remove MatchData#select. [ruby-dev:34563]
4294 Thu May 1 23:59:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4296 * bignum.c (rb_big_divide), numeric.c (fix_divide): check for result
4297 domain. [ruby-dev:34559]
4299 Thu May 1 23:57:06 2008 James Edward Gray II <jeg2@ruby-lang.org>
4301 * lib/net/telnet.rb: This patch from Brian Candler adds a FailEOF mode which
4302 can be activated to have net/telnet raise EOFError exceptions when the
4303 remote connection is closed. The default behavior remains unchanged though.
4305 Thu May 1 23:43:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4307 * range.c (range_step): check if step can be converted to an integer.
4310 * range.c (range_step): allow float step bigger than zero but less
4311 than one. [ruby-dev:34557]
4313 Thu May 1 23:20:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4315 * bignum.c (rb_big_divide): return an integer for idiv.
4318 Thu May 1 20:47:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4320 * hash.c (rb_hash_s_create): should access converted hash value.
4323 Thu May 1 20:31:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4325 * test/ruby/test_parse.rb (TestParse::test_void_expr_stmts_value):
4328 * rational.c (nurat_to_f): no need for forceful warning when
4329 converting to float. overflow is a nature of float values.
4331 Thu May 1 16:10:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4333 * hash.c (env_delete_if): return enumerator if no block given.
4336 Wed Apr 30 21:36:40 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
4338 * lib/erb.rb (url_encode): [ruby-dev:34497] ERB::Util#url_encode
4339 bug fix. Reported by rubikitch.
4341 * test/erb/test_erb.rb: ditto
4343 Wed Apr 30 20:11:36 2008 James Edward Gray II <jeg2@ruby-lang.org>
4345 * lib/net/telnet.rb: Fixing a bug where line endings would not be properly
4346 escaped when the two character ending was broken up into separate TCP
4347 packets. Issue reported and patched by Brian Candler.
4349 Wed Apr 30 18:03:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4351 * load.c (rb_load_path), vm_core.h (rb_vm_t): moved to VM.
4353 * load.c (rb_get_load_path): returns absolute load path.
4355 * load.c (load_path_getter): $LOAD_PATH getter.
4357 * file.c (rb_find_file_ext, rb_find_file), ruby.c (push_include,
4358 ruby_init_loadpath): use the accessor.
4360 * vm.c (rb_vm_mark): mark load_path.
4362 Wed Apr 30 17:47:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4364 * re.c (rb_reg_search): use local variable. a patch from wanabe
4365 <s.wanabe AT gmail.com> in [ruby-dev:34537]. [ruby-dev:34492]
4367 Wed Apr 30 16:10:18 2008 Yusuke Endoh <mame@tsg.ne.jp>
4369 * eval_intern.h: specify the values of the enumeration constants
4370 explicitly. [ruby-dev:34489]
4372 Wed Apr 30 12:32:39 2008 Tanaka Akira <akr@fsij.org>
4374 * process.c (check_exec_redirect_fd): prohibit duplex IO.
4375 (check_exec_fds): record maxhint even if close_others is not
4377 (rb_exec_arg_fixup): renamed from rb_exec_arg_fix.
4379 Mon Apr 28 20:24:27 2008 Tadayoshi Funaba <tadf@dotrb.org>
4381 * rational.c (nurat_marshal_load): checks the given
4382 denominator. [ruby-dev:34536]
4384 Mon Apr 28 14:21:18 2008 Tanaka Akira <akr@fsij.org>
4386 * include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of
4387 FIXNUM_MAX to make it possible to convert to double accurately on
4388 environments with 64bit VALUE and 64bit double.
4389 It assumes FLT_RADIX is 2.
4390 fix RubyForge bug #14102.
4392 Mon Apr 28 12:48:57 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4394 * process.c (rb_exec_arg_addopt, rb_exec_arg_addopt): now can specify
4395 close_exec on having no fork environment (but still meaningless).
4397 Mon Apr 28 11:11:29 2008 Tanaka Akira <akr@fsij.org>
4399 * process.c (run_exec_options): don't call FIX2INT for nil.
4401 Mon Apr 28 11:11:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4403 * proc.c (method_name): should return symbols instead of strings.
4406 Mon Apr 28 09:02:43 2008 Tanaka Akira <akr@fsij.org>
4408 * include/ruby/intern.h (rb_exec_arg_init): declared.
4409 (rb_exec_arg_addopt): declared.
4410 (rb_exec_arg_fix): declared.
4411 (rb_exec_initarg): removed.
4412 (rb_exec_getargs): removed.
4413 (rb_exec_initarg2): removed.
4415 * io.c (struct popen_arg): make execarg as a pointer.
4416 (popen_exec): follow popen_arg change.
4417 (pipe_open): add eargp argument. extract argc and argv from eargp.
4418 use rb_exec_arg_addopt to add redirect options.
4419 (pipe_open_v): set up struct rb_exec_arg.
4420 (pipe_open_s): set up struct rb_exec_arg.
4422 * process.c (rb_exec_arg_addopt): new function extracted from
4423 check_exec_options_i.
4424 (check_exec_options_i): use rb_exec_arg_addopt.
4425 (rb_check_exec_options): opthash is always a hash now.
4426 (rb_exec_getargs): make it static.
4427 (rb_exec_fillarg): renamed from rb_exec_initarg2. don't set up
4429 (rb_exec_arg_init): new function.
4430 (rb_exec_arg_fix): new function.
4431 (rb_f_exec): use rb_exec_arg_init and rb_exec_arg_fix. use
4432 rb_exec_arg_addopt to set close_others option.
4433 (run_exec_options): make close_others by default.
4434 (rb_spawn_internal): use rb_exec_arg_init and rb_exec_arg_fix. use
4435 rb_exec_arg_addopt to set close_others option.
4437 Sun Apr 27 18:59:04 2008 Tadayoshi Funaba <tadf@dotrb.org>
4439 * rational.c (nurat_expt): use f_rational_new2. [ruby-dev:34524]
4441 Sun Apr 27 15:23:40 2008 Koichi Sasada <ko1@atdot.net>
4443 * gc.c (gc_count): add a GC.count method. This method returns
4444 a GC invoking count.
4446 Sun Apr 27 12:20:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4448 * vm_core.h (rb_vm_t), gc.c (rb_objspace, rb_newobj), vm.c
4449 (Init_BareVM): per-VM object space support, which is disabled now.
4451 * gc.c (rb_objspace_alloc), vm.c (Init_BareVM): should not use ruby
4454 * gc.c (garbage_collect, etc): performance improvement by passing the
4455 reference instead of referring the global variable in each functions.
4457 Sun Apr 27 08:06:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
4459 * ruby.c (ruby_set_argv): ARGV should be locale encoding.
4462 Sun Apr 27 01:46:29 2008 Tanaka Akira <akr@fsij.org>
4464 * lib/open3.rb (Open3.popen3w): removed.
4465 (Open3.popen3): notice wait_thr.
4467 Sun Apr 27 01:13:05 2008 Eric Hodel <drbrain@segment7.net>
4469 * lib/rdoc, test/rdoc: Update to RDoc 2.0.0 r56.
4471 Sat Apr 26 21:30:40 2008 Tanaka Akira <akr@fsij.org>
4473 * include/ruby/intern.h (rb_hash_dup): declared.
4475 * hash.c (rb_hash_dup): new function.
4477 * process.c (rb_spawn_internal): don't modify option hash.
4479 Sat Apr 26 18:36:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4481 * io.c, signal.c, thread.c, thread_win32.c, include/ruby/intern.h:
4484 Sat Apr 26 17:42:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4486 * error.c (builtin_types), gc.c (count_objects): added Complex and
4489 Sat Apr 26 17:35:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4491 * error.c (rb_eNOERROR): renamed.
4493 Sat Apr 26 17:30:11 2008 Koichi Sasada <ko1@atdot.net>
4495 * include/ruby/ruby.h, gc.c: remove T_BLOCK.
4497 * include/ruby/ruby.h: re-number T_xxx.
4499 Sat Apr 26 17:31:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4501 * process.c (rb_cProcessTms, rb_cProcessStatus): renamed.
4503 * error.c (builtin_types), signal.c (siglist), st.c (primes),
4504 struct.c (ref_func), time.c (months): constified.
4506 Sat Apr 26 13:00:41 2008 Tanaka Akira <akr@fsij.org>
4508 * lib/open3.rb: double fork is replaced by spawn with Process.detach.
4509 (Open3.popen3w): new method to access the thread returned by
4512 Sat Apr 26 00:47:43 2008 Tanaka Akira <akr@fsij.org>
4514 * process.c (rb_spawn_internal): new function to specify
4515 default_close_others.
4516 (rb_spawn): specify default_close_others true.
4517 (rb_f_system): call rb_spawn_internal with default_close_others as
4520 Sat Apr 26 12:26:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4522 * range.c (range_each): use INT2FIX() for fixnum values.
4524 Fri Apr 25 17:56:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4526 * gc.c (free_unused_heaps): preserve last used heap segment to
4527 reduce malloc() call.
4529 Fri Apr 25 17:54:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4531 * gc.c (HEAP_SIZE): use smaller heap segment (2K) for more chance
4532 to be freed. based on patch from authorNari <authornari at gmail.com>.
4534 * gc.c (rb_newobj_from_heap): eventually allocate heap segments.
4536 Fri Apr 25 15:35:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4538 * process.c (rb_spawn): rb_exec_initarg() returns new argc and argv in
4541 Fri Apr 25 12:37:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4543 * array.c (flatten): returns an instance of same class.
4546 Fri Apr 25 10:52:27 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4548 * include/ruby/win32.h: define mode_t for umask.
4550 * process.c (check_exec_options_i, check_exec_fds, run_exec_options):
4551 support "close_others" only when fork(2) is available.
4553 Fri Apr 25 00:16:11 2008 Tanaka Akira <akr@fsij.org>
4555 * process.c: include sys/stat.h for umask.
4557 Thu Apr 24 23:25:17 2008 Tanaka Akira <akr@fsij.org>
4559 * include/ruby/intern.h (rb_env_clear): declared.
4560 (rb_io_mode_modenum): declared.
4561 (rb_close_before_exec): declared.
4562 (struct rb_exec_arg): add options and redirect_fds field.
4563 (rb_check_argv): removed.
4564 (rb_exec_initarg): declared.
4565 (rb_exec_getargs): declared.
4566 (rb_exec_initarg2): declared.
4567 (rb_fork): add third argument: fds.
4569 * io.c (max_file_descriptor): new static variable to record maximum
4570 file descriptor ruby used.
4571 (UPDATE_MAXFD): new macro.
4572 (UPDATE_MAXFD_PIPE): new macro.
4573 (rb_io_mode_modenum): externed.
4574 (rb_sysopen): update max_file_descriptor.
4575 (rb_close_before_exec): new function.
4576 (popen_exec): redirection removed because it is done by extended
4578 (pipe_open): generate a hash for spawn options to specify
4580 (pipe_open_v): use rb_exec_getargs.
4581 (pipe_open_s): use rb_exec_getargs.
4582 (rb_io_initialize): update max_file_descriptor.
4584 * process.c (hide_obj): new function.
4585 (check_exec_redirect_fd): new function.
4586 (check_exec_redirect): new function.
4587 (check_exec_options_i): new function.
4588 (check_exec_fds): new function.
4589 (rb_check_exec_options): new function.
4590 (check_exec_env_i): new function.
4591 (rb_check_exec_env): new function.
4592 (rb_exec_getargs): new function.
4593 (rb_exec_initarg2): new function.
4594 (rb_exec_initarg): new function.
4595 (rb_f_exec): use rb_exec_initarg.
4596 (intcmp): new function.
4597 (run_exec_dup2): new function.
4598 (run_exec_close): new function.
4599 (run_exec_open): new function.
4600 (run_exec_pgroup): new function.
4601 (run_exec_rlimit): new function.
4602 (run_exec_options): new function.
4603 (rb_exec): call run_exec_options.
4604 (move_fds_to_avoid_crash): new function.
4605 (pipe_nocrash): new function.
4606 (rb_fork): use pipe_nocrash to avoid file descriptor conflicts.
4607 (rb_spawn): use rb_exec_initarg.
4608 (rlimit_resource_name2int): extracted from rlimit_resource_type.
4609 (rlimit_type_by_hname): new function.
4610 (rlimit_type_by_lname): new function.
4611 (rlimit_resource_type): use rlimit_type_by_hname.
4612 (proc_daemon): add fds argument for rb_fork.
4614 * hash.c (rb_env_clear): renamed from env_clear and externed.
4618 Thu Apr 24 23:00:58 2008 Yusuke Endoh <mame@tsg.ne.jp>
4620 * test/ruby/test_thread.rb: fix typos.
4622 * test/ruby/envutil.rb (rubyexec): move Open3.popen3 call into timeout
4625 Thu Apr 24 22:34:52 2008 Yusuke Endoh <mame@tsg.ne.jp>
4627 * test/ruby/test_comparable.rb: new tests for Comparable, to achieve
4628 100% test coverage of compar.c.
4630 Thu Apr 24 17:19:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4632 * ruby.c (process_options): set safe_level before loading script.
4635 Thu Apr 24 14:15:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4637 * dln.c (dln_find_1): prior files with extensions to files sans
4638 extensions. [ruby-core:16517]
4640 Thu Apr 24 00:26:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4642 * lib/rdoc/ri/descriptions.rb: fixed wrong class nestings.
4644 Thu Apr 24 00:20:01 2008 Yusuke Endoh <mame@tsg.ne.jp>
4646 * test/ruby/test_settracefunc.rb: add a test for set_trace_func.
4648 * test/ruby/envutil.rb: move "rubyexec" method from test_rubyoptions.rb.
4650 * test/ruby/test_rubyoptions.rb: use rubyexec in envutil.rb.
4652 * test/ruby/test_thread.rb: add tests to achieve over 90% test coverage
4655 Wed Apr 23 15:28:52 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
4657 * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed
4658 notice moved from comment to assertion message. [ruby-dev:29127]
4660 Wed Apr 23 11:49:54 2008 Akinori MUSHA <knu@iDaemons.org>
4662 * lib/set.rb (Set#each, SortedSet#each, TC_Set#test_each): Return
4663 an enumerator if no block is given.
4665 Wed Apr 23 00:36:03 2008 Yusuke Endoh <mame@tsg.ne.jp>
4667 * test/openssl/test_ssl.rb (start_server): add timeout to server.join.
4669 Wed Apr 23 00:18:45 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
4671 * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): Improve
4672 tests of Symbol#to_proc.
4674 Tue Apr 22 22:40:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4676 * lib/drb/drb.rb (DRb::DRbServer::check_insecure_method): should
4677 check method names by symbols, not by strings. a patch from
4678 Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34487].
4680 Tue Apr 22 22:15:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4682 * misc/ruby-style.el (ruby-style-{case,label}-indent): up list from
4685 Tue Apr 22 21:09:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
4687 * ext/nkf/nkf-utf8/nkf.c (score_table_A0, score_table_F0):
4688 type of content is unsigned char.
4690 * ext/nkf/nkf-utf8/nkf.c (push_broken_buf): 'c' is nkf_char.
4692 * ext/nkf/nkf-utf8/nkf.c (push_broken_buf): enc is 0 or pointer.
4694 * ext/nkf//nkf.c (options): type of option is unsigned char.
4696 Tue Apr 22 20:51:58 2008 NARUSE, Yui <naruse@ruby-lang.org>
4698 * ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char.
4700 Tue Apr 22 19:23:05 2008 Akinori MUSHA <knu@iDaemons.org>
4702 * enumerator.c (enumerator_initialize): Remove an undocumented
4703 feature (passing a block to the constructor) that's broken.
4704 This is not what I intended.
4706 Tue Apr 22 17:54:05 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
4708 * vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not
4711 Tue Apr 22 16:24:27 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
4713 * string.c (rb_enc_cr_str_buf_cat): do not use C++ comments.
4715 Tue Apr 22 16:23:53 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
4717 * configure.in: use AC_USE_SYSTEM_EXTENSIONS.
4719 Tue Apr 22 16:23:16 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
4721 * vm_evalbody.c (DECL_SC_REG): use __asm__ instead.
4723 Tue Apr 22 16:18:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4725 * vm_evalbody.c (DECL_SC_REG): typo fixed.
4727 Tue Apr 22 15:25:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4729 * configure.in (struct timespec): needs time.h according to POSIX.
4731 Tue Apr 22 13:19:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4733 * thread.c (rb_thread_stop_timer_thread): should clear
4734 timer_thread_id after stopping it.
4736 Tue Apr 22 13:12:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4738 * thread.c (thread_join): remove the current thread from the join list
4739 of the target thread.
4741 Tue Apr 22 12:03:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4743 * vm_insnhelper.c (vm_get_ev_const): search from the base klass if it
4746 Tue Apr 22 09:58:13 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4748 * ext/win32ole/win32ole.c: avoid warnings.
4750 Tue Apr 22 09:56:51 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4752 * file.c (eaccess): workaround for recent msvcrt's behavior.
4755 Mon Apr 21 19:08:32 2008 Tanaka Akira <akr@fsij.org>
4757 * io.c (copy_stream_body): call rb_io_check_readable and
4758 rb_io_check_writable.
4760 Mon Apr 21 17:45:27 2008 Akinori MUSHA <knu@iDaemons.org>
4762 * ext/dbm/dbm.c (fdbm_each_value, fdbm_each_key, fdbm_each_pair):
4763 GDBM#{each,each_pair,each_key,each_value}: Return an enumerator
4764 if no block is given.
4766 * ext/gdbm/gdbm.c (fgdbm_each_value, fgdbm_each_key,
4767 fgdbm_each_pair): GDBM#{each,each_pair,each_key,each_value}:
4768 Return an enumerator if no block is given.
4770 * ext/openssl/ossl_config.c (ossl_config_each):
4771 OpenSSL::Config#each: Return an enumerator if no block is given.
4773 * ext/readline/readline.c (hist_each): Readline::HISTORY#each:
4774 Return an enumerator if no block is given.
4776 * ext/sdbm/init.c (fsdbm_each_value, fsdbm_each_key,
4777 fsdbm_each_pair): SDBM#{each,each_pair,each_key,each_value}:
4778 Return an enumerator if no block is given.
4780 * ext/stringio/stringio.c (strio_each_byte, strio_each):
4781 StringIO#{each,each_line,each_byte}: Return an enumerator if no
4784 * ext/stringio/stringio.c (Init_stringio): Add #lines and #bytes,
4785 which are aliases to #each_line and #each_byte, respectively.
4787 * ext/win32ole/win32ole.c (fole_each): WIN32OLE#each: Return an
4788 enumerator if no block is given.
4790 * ext/zlib/zlib.c (rb_gzreader_each_byte, rb_gzreader_each):
4791 Zlib::GzipReader#{each,each_line,each_byte}: Return an
4792 enumerator if no block is given.
4794 * ext/zlib/zlib.c (Init_zlib): Add Zlib::GzipReader#lines and
4795 #bytes, which are aliases to #each_line and #each_byte,
4798 Mon Apr 21 17:01:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4800 * iseq.c (rb_iseq_compile_with_option): check if src is a string.
4803 Mon Apr 21 16:06:47 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4805 * enumerator.c (enumerator_init): preserve the method name in ID.
4807 * enumerator.c (enumerator_each): need not to call rb_to_id().
4809 * enumerator.c (enumerator_with_index): ditto.
4811 Mon Apr 21 11:00:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4813 * compile.c (defined_expr): capture exception during defined?
4814 evaluation. a patch from wanabe <s.wanabe at gmail.com> in
4815 [ruby-dev:34461]. [ruby-core:16010]
4817 Mon Apr 21 10:06:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4819 * time.c: should include <errno.h> to refer errno.
4821 Mon Apr 21 09:58:04 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4823 * time.c (rb_strftime): check errno to detect strftime(3)'s error.
4824 this is workaround for recent version of MSVCRT.
4827 Mon Apr 21 08:54:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
4829 * gc.c (ruby_xmalloc): use size_t for malloc argument instead of long.
4831 Sun Apr 20 21:00:21 2008 Akinori MUSHA <knu@iDaemons.org>
4833 * enumerator.c, include/ruby/ruby.h: Export rb_cEnumerator.
4835 Sun Apr 20 20:47:50 2008 Akinori MUSHA <knu@iDaemons.org>
4837 * enumerator.c: Resolve the method every time an enumeration
4838 method is run, not once when the enumerator is initialized as it
4839 was before, so that method_missing() and method (re)definition
4840 afterwards are both in effect; pointed out in: [ruby-core:16441]
4842 Sun Apr 20 15:11:00 2008 Tanaka Akira <akr@fsij.org>
4844 * io.c (copy_stream_rbuf_to_dst): removed.
4845 (copy_stream_fallback_body): don't bypass write method.
4846 (copy_stream_body): simplified.
4848 Sun Apr 20 15:01:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4850 * vm_core.h (struct iseq_compile_data): moved label_no from
4853 * compile.c (iseq_set_exception_table): allocates catch_table only
4856 * compile.c (struct iseq_link_element, struct iseq_insn_data): made
4859 Sun Apr 20 14:44:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4861 * compile.c (iseq_compile_each): fix for splat in when and rescue.
4862 a patch from wanabe <s.wanabe AT gmail.com> in [ruby-dev:34429].
4865 Sun Apr 20 13:55:37 2008 Tanaka Akira <akr@fsij.org>
4867 * io.c (copy_stream_fallback): write directly (bypassing write method)
4870 Sun Apr 20 12:49:03 2008 Tanaka Akira <akr@fsij.org>
4872 * io.c (copy_stream_fallback): read directly (bypassing readpartial
4873 method) if possible.
4875 Sun Apr 20 04:45:13 2008 Tanaka Akira <akr@fsij.org>
4877 * io.c (copy_stream_body): use readpartial and write method for
4878 non-IOs such as StringIO and ARGF.
4880 Fri Apr 18 20:57:33 2008 Yusuke Endoh <mame@tsg.ne.jp>
4882 * test/ruby/test_array.rb: add tests to achieve over 95% test coverage
4885 Fri Apr 18 17:37:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4887 * gc.c (rb_gc_mark_locations): get rid of underflow.
4889 * gc.c (mark_current_machine_context): check if the main thread stack
4890 position may shrink under the initialized position. [ruby-core:16436]
4892 Thu Apr 17 22:20:52 2008 Yusuke Endoh <mame@tsg.ne.jp>
4894 * enc/trans/utf_16_32.c (fun_so_to_utf_16be, fun_so_to_utf_16le): add
4895 parentheses to remove warnings of gcc.
4897 * io.c (rb_io_getc): remove unused variables.
4899 * compile.c (NODE_NEXT, NODE_REDO): remove unused labels.
4901 * ext/nkf/nkf.c (rb_nkf_convert): remove unused variables.
4903 * ext/syck/rubyext.c (syck_resolver_initialize,
4904 syck_resolver_detect_implicit, syck_emitter_emit): remove unused
4907 Thu Apr 17 20:12:47 2008 Yusuke Endoh <mame@tsg.ne.jp>
4909 * test/ruby/test_rubyoptions.rb (test_search): enable some assertions.
4911 * test/ruby/test_rubyoptions.rb: flunk message in win32.
4913 Thu Apr 17 16:07:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4915 * test/ruby/test_rubyoptions.rb (ruby): run in C locale.
4917 * test/ruby/test_rubyoptions.rb (test_encoding): --encoding does not
4920 Thu Apr 17 00:45:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
4922 * test/ruby/test_process.rb (test_rlimit_nofile): reset RLIMIT_NOFILE
4923 before exit (for gcov).
4925 * test/ruby/test_rubyoptions.rb: new tests for option of ruby
4926 interpreter, to achieve over 95% test coverage of ruby.c.
4928 Wed Apr 16 02:40:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4930 * ruby.c (process_options): preludes and parser need to run in safe
4931 level 0. [ruby-dev:34407]
4933 Wed Apr 16 02:26:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4935 * ruby.c (process_options): dln_find_file returns the pointer to a
4936 static buffer, so should copy it. [ruby-dev:34409]
4938 Tue Apr 15 23:08:46 2008 Kouhei Sutou <kou@cozmixng.org>
4940 * lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]
4942 * test/xmlrpc/test_cookie.rb: add a test for the above fix.
4944 Tue Apr 15 19:20:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4946 * io.c: #undef rb_argv moved before #define.
4948 Tue Apr 15 18:02:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4950 * include/ruby/intern.h (rb_argv): replaced with rb_get_argv().
4953 Tue Apr 15 17:10:59 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
4955 * lib/net/http.rb, lib/net/smtp.rb, lib/net/pop.rb: update
4956 URLs of Japanese documents.
4958 Tue Apr 15 16:45:14 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
4960 * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): add tests.
4962 Tue Apr 15 15:38:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
4964 * misc/ruby-mode.el (ruby-encoding-map): added shift-jis for older
4967 * misc/ruby-mode.el (ruby-mode-set-encoding):
4968 coding-system-to-mime-charset is not a standard function.
4970 fix for the case that magic comment exists but coding system is
4973 * misc/ruby-mode.el (ruby-mode): use write-contents-functions or
4974 write-contents-hooks for older versions.
4976 Tue Apr 15 07:21:21 2008 Tadayoshi Funaba <tadf@dotrb.org>
4978 * complex.c (nucomp_div): [ruby-dev:34357]
4980 * complex.c (nucomp_abs): use hypot.
4982 * complex.c (nucomp_quo): do not force conversion.
4984 * test/ruby/test_complex.rb: omitted some meaningless tests.
4986 Mon Apr 14 23:25:50 2008 Yusuke Endoh <mame@tsg.ne.jp>
4988 * test/ruby/test_objectspace.rb: add a test for
4989 ObjectSpace.count_objects.
4991 Mon Apr 14 22:44:24 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
4993 * file.c (SET_EXTERNAL_ENCODING): avoid call rb_enc_check() on
4994 half-baked result string.
4996 * re.c (rb_reg_search): make search reentrant. [ruby-dev:34223]
4998 * test/ruby/test_parse.rb (TestParse::test_global_variable):
4999 should preserve $& variable.
5001 Mon Apr 14 17:23:27 2008 Akinori MUSHA <knu@iDaemons.org>
5003 * hash.c (rb_hash_delete_if, rb_hash_reject_bang, env_delete_if,
5004 env_reject_bang): Return an enumerator if no block is given.
5006 Mon Apr 14 14:33:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5008 * compile.c, compile.h (compile_debug): made runtime option.
5010 * debug.c (ruby_debug_print_indent): returns if debug_level exceeds
5013 * debug.c (ruby_debug_printf): printf to stderr.
5015 * iseq.c (make_compile_option, make_compile_option_value): added
5018 * vm_core.h (rb_compile_option_t): added debug_level.
5020 * vm_core.h (struct iseq_compile_data): added node_level.
5022 Mon Apr 14 12:52:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5024 * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350]
5026 * gc.c (rb_objspace_t): packed globals. [ruby-dev:34348]
5028 * gc.c (finalizers): removed. [ruby-dev:34349]
5030 Mon Apr 14 11:30:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5032 * array.c (ary_new): new integer overflow check condition.
5033 suggested by TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in
5036 * array.c (rb_ary_initialize): ditto.
5038 Mon Apr 14 00:51:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
5040 * test/ruby/test_parse.rb: add tests to achieve over 95% test coverage
5043 Sun Apr 13 23:53:58 2008 Akinori MUSHA <knu@iDaemons.org>
5045 * enum.c (enum_cycle): Make Enumerable#cycle do a finite loop when
5046 the number of cycles is specified.
5048 * array.c (rb_ary_cycle): Ditto for Array#cycle.
5050 Sun Apr 13 18:52:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5052 * thread_pthread.c (lock_func): should not check interrupts in
5053 blocking region. [ruby-dev:34378]
5055 Sat Apr 12 12:41:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5057 * eval.c (ruby_exec_node, ruby_run_node), ruby.c (process_options):
5058 use iseq instead of NODE.
5060 * gc.c (source_filenames): removed.
5062 * include/ruby/intern.h, parse.y (yycompile, parser_mark, parser_free,
5063 ripper_initialize): rb_source_filename() is no longer used.
5065 * compile.c, compile.h (ERROR_ARGS), parse.y (node_newnode, fixpos,
5066 parser_warn, e_option_supplied, warn_unless_e_option, range_op,
5067 cond0): nd_file is no longer used.
5069 Sat Apr 12 12:17:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5071 * prelude.rb (require_relative): move require_relative from
5072 lib/require_relative.rb. [ruby-core:16356]
5074 * lib/require_relative.rb: removed.
5076 Sat Apr 12 05:55:57 2008 Eric Hodel <drbrain@segment7.net>
5078 * lib/rubygems*, test/rubygems*: Update to RubyGems 1.1.1 r1701.
5080 Sat Apr 12 03:13:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5082 * file.c (file_expand_path): set external encoding.
5084 * file.c (rb_file_s_basename, rb_file_s_dirname, rb_file_s_extname):
5087 Fri Apr 11 17:35:06 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5089 * enum.c (count_i): modified to shut warning up.
5091 Fri Apr 11 17:25:09 2008 Akinori MUSHA <knu@iDaemons.org>
5093 * enum.c (count_i, count_iter_i, enum_count, enum_find_index):
5096 Fri Apr 11 17:06:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5098 * enum.c (find_index_i): modified to shut warning up.
5100 * enum.c (find_index_iter_i): ditto.
5102 Fri Apr 11 16:44:43 2008 Akinori MUSHA <knu@iDaemons.org>
5104 * enum.c (enum_find_index): Add support for find_index(obj);
5107 * array.c (rb_ary_index): Define find_index as an alias to index.
5109 Fri Apr 11 16:42:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5111 * lib/yaml/store.rb (YAML::load): modified to support empty
5114 Fri Apr 11 08:05:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5116 * marshal.c (w_object): add volatile to avoid potential GC bug. a
5117 patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp>
5118 in [ruby-dev:34311].
5120 Thu Apr 10 23:08:52 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5122 * lib/pstore.rb (PStore::dump, PStore::load): allow subclass
5123 overriding. [ruby-dev:34305]
5125 * lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?):
5126 add a method to support faster PStore.
5128 Thu Apr 10 20:36:45 2008 Akinori MUSHA <knu@iDaemons.org>
5130 * misc/rdebug.el, misc/README: Remove rdebug.el as per request
5131 from the maintainer and mention the ruby-debug project at
5132 RubyForge in README; bug#19043.
5134 Thu Apr 10 19:41:00 2008 Akinori MUSHA <knu@iDaemons.org>
5136 * eval.c (rb_f_loop): Mention StopIteration in the document.
5138 Thu Apr 10 19:23:55 2008 Akinori MUSHA <knu@iDaemons.org>
5140 * array.c (rb_ary_pop_m, rb_ary_shift_m): Update documents for
5141 #pop() and #shift().
5143 * array.c (rb_ary_slice_bang): Update document. Assigning
5144 array[*args]= nil no longer removes elements.
5146 Thu Apr 10 16:58:44 2008 Tanaka Akira <akr@fsij.org>
5148 * marshal.c (w_object): TYPE_USERDEF assigns id for ivars first.
5149 [ruby-dev:34159] by nagachika.
5151 Thu Apr 10 15:03:47 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5153 * lib/generator.rb: removed obsolete library. [ruby-core:16233]
5155 * test/test_generator.rb: removed as well. [ruby-dev:34306]
5157 * lib/pstore.rb: replaced by Hongli Lai's faster version.
5159 Thu Apr 10 10:27:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5161 * thread_pthread.c (native_sleep): sleep_cond is initialized at
5162 creation. [ruby-Patches-19361].
5164 Wed Apr 9 14:43:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5166 * thread.c (lock_func): optimized and checks for interrupt_flag.
5167 based on a patch from Sylvain Joyeux in [ruby-Patches-19361] and
5168 [ruby-Patches-19362].
5170 Wed Apr 9 12:12:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5172 * test/ruby/test_thread.rb: new tests from Sylvain Joyeux in
5173 [ruby-Patches-19361].
5175 Tue Apr 8 21:36:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5177 * thread.c (rb_mutex_sleep): ensures to re-acquire at waking up.
5178 [ruby-Patches-19361]
5180 Tue Apr 8 11:00:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5182 * lib/complex.rb: remove Math first before overwriting by CMath.
5184 Tue Apr 8 10:34:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5186 * load.c (rb_require_safe): should check fname path after $SAFE is
5187 properly set. [ruby-dev:34268]
5189 * re.c (rb_reg_quote): should always copy the quoting string.
5192 Tue Apr 8 10:30:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5194 * common.mk (prelude.c): depends on enc/prelude.rb.
5196 * enc/prelude.rb: fixed initial library names.
5198 Tue Apr 8 03:39:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5200 * load.c (rb_provided): check expanded path for relative path
5201 features, loading or loaded features are already expanded in 1.9.
5203 * variable.c (rb_autoload_load): no needs to check if provided before
5204 rb_require_safe. [ruby-dev:34266]
5206 Mon Apr 7 22:41:21 2008 Tadayoshi Funaba <tadf@dotrb.org>
5208 * numeric.c: cancelled recent changes (except to remove rdiv).
5212 * bignum.c: added rb_big_idiv.
5214 Mon Apr 7 15:51:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5216 * encoding.c (enc_init_db): moved to enc/encdb.c.
5218 * transcode.c (init_transcoder_table): moved to enc/trans/transdb.c.
5220 * enc/depend (enc/encdb.o enc/trans/transdb.o): depend on
5221 corresponding headers.
5223 * common.mk (COMMONOBJS): moved transcode.o from OBJS
5225 Mon Apr 7 12:26:32 2008 Koichi Sasada <ko1@atdot.net>
5227 * bootstraptest/test_knownbug.rb: add a known-bug.
5229 Mon Apr 7 12:15:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5231 * range.c (range_each_func): should not leave a variable
5232 uninitialized, which could cause SEGV.
5234 * range.c (range_step): removed duplicated and unreachable code.
5236 Mon Apr 7 02:12:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5238 * string.c (rb_str_intern): need not to check if tainted.
5241 Sun Apr 6 09:45:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5243 * dir.c (dir_tell): check if closed. [ruby-core:16223]
5245 Sat Apr 5 23:17:20 2008 Tadayoshi Funaba <tadf@dotrb.org>
5247 * lib/cmath.rb: new.
5249 * lib/complex.rb: depends lib/cmath.rb.
5251 * lib/rational.rb: added rdiv.
5253 * complex.c: removed some math functions.
5255 Sat Apr 5 05:50:57 2008 Eric Hodel <drbrain@segment7.net>
5257 * lib/rdoc/parsers/parse_rb.rb: Fix uninitialized variable warnings.
5259 * lib/rdoc/generator/html.rb: ditto.
5261 * lib/rdoc/options.rb: Fix shadowed variable warning.
5263 * lib/webrick/httprequest.rb: Fix redefined method warning.
5265 Sat Apr 5 02:13:52 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5267 * bignum.c (rb_cmpint): moved from compar.c, to check bignum
5270 Fri Apr 4 23:24:06 2008 NARUSE, Yui <naruse@ruby-lang.org>
5272 * re.c (rb_memsearch_qs): wrong boundary condition.
5274 * re.c (rb_memsearch_qs_utf8): ditto.
5276 Fri Apr 4 14:11:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5278 * re.c (rb_memsearch_qs): wrong boundary condition. a patch from
5279 wanabe <s.wanabe AT gmail.com> in [ruby-dev:34248].
5281 Fri Apr 4 05:57:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5283 * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and
5284 @n_bytes as well. [ruby-core:16144]
5286 Fri Apr 4 01:59:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5288 * range.c (range_step): add step for each iteration if begin and
5289 end are numeric. [ruby-core:15990]
5291 Fri Apr 4 00:42:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5293 * bignum.c (Init_Bignum): rdiv method removed. [ruby-dev:34242]
5295 * complex.c (nucomp_quo): ditto.
5297 * numeric.c (num_rdiv): ditto.
5299 * rational.c (nurat_div): ditto.
5301 * complex.c (nucomp_fdiv): fdiv implementation restored.
5303 * numeric.c (num_quo): RDoc updated.
5305 Thu Apr 3 21:51:45 2008 Tadayoshi Funaba <tadf@dotrb.org>
5307 * complex.c (nucomp_int_check): function for DRY real check.
5309 * complex.c (nucomp_{add,sub,mul,div,expt}): use rb_num_coerce_bin().
5311 Thu Apr 3 19:59:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5313 * insns.def (defineclass): check if cbase is a class or a module.
5316 Thu Apr 3 14:42:11 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5318 * common.mk (INSNS): add insns_info.inc.
5320 * common.mk (INSNS): make incs separately for nmake.
5322 Thu Apr 3 13:20:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5324 * common.mk (endb.h, transdb.h, prelude.c): depend on $(PREP) and
5325 check if really changed. [ruby-core:16102]
5327 * Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.sub
5328 (MINIOBJS, ARCHMINIOBJS): separated.
5330 Thu Apr 3 09:00:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5332 * compile.c (iseq_set_sequence, iseq_insns_unification,
5333 insn_data_to_s_detail): constified.
5335 * iseq.c (insn_operand_intern, ruby_iseq_disasm_insn): ditto.
5337 * template/{insns_info,opt_sc,optunifs}.inc.tmpl: ditto.
5339 * tool/instruction.rb (OptUnifsIncGenerator): ditto.
5341 Thu Apr 3 08:46:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5343 * range.c (range_include): add RDoc to describe that comparison
5344 for numeric is done according magnitude of values.
5347 Wed Apr 2 22:29:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5349 * rational.c (nurat_int_check): function for DRY integer check.
5351 * numeric.c (num_rdiv): should always return rational number.
5353 * rational.c (nurat_add, nurat_sub, nurat_mul, nurat_fdiv,
5354 nurat_cmp): use rb_num_coerce_bin().
5356 * rational.c (nurat_division): does / and rdiv.
5358 * .gdbinit (rp): no longer use rb_p().
5360 Wed Apr 2 06:52:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5362 * .gdbinit (rp): supports rational and complex numbers. it's
5363 cheating since it uses rb_p().
5365 Wed Apr 2 06:24:06 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5367 * include/ruby/node.h: add new constants for rb_call()'s scope.
5369 * eval.c (iterate_method): use CALL_* scope constant to specify
5372 * eval.c (rb_each, rb_apply, rb_funcall, rb_funcall2, rb_funcall3):
5375 Tue Apr 1 21:19:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5377 * rational.c: need to include <float.h> just once.
5379 Tue Apr 1 16:40:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5381 * bignum.c (big2dbl): more precise conversion at edge cases.
5384 Tue Apr 1 14:43:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5386 * configure.in: get rid of empty expansion.
5388 * configure.in: _setjmp is available but _longjmp is not on mingw.
5390 Tue Apr 1 09:41:22 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5392 * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
5394 Tue Apr 1 07:31:58 2008 Eric Hodel <drbrain@segment7.net>
5396 * lib/rubygems* test/rubygems*: Import RubyGems 1.1.0.
5398 Tue Apr 1 03:20:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5400 * configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers
5401 _setjmp over setjmp and sigsetjmp. [ruby-core:16023]
5402 __builtin_setjmp cannot handle a variable.
5404 * configure.in (--with-setjmp-type): new option to override the
5405 default rule in the above.
5407 * eval_intern.h (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp),
5408 vm_core.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and
5411 Tue Apr 1 01:55:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5413 * lib/resolv.rb (Resolv::Config.default_config_hash): requires
5414 win32/resolv to use Win32::Resolv. [ruby-dev:34138]
5416 Tue Apr 1 01:40:58 2008 Tadayoshi Funaba <tadf@dotrb.org>
5418 * complex.c: adopted the ruby's style.
5420 * rational.c: ditto.
5422 Tue Apr 1 00:17:35 2008 Tadayoshi Funaba <tadf@dotrb.org>
5424 * rational.c: revert.
5426 Mon Mar 31 18:57:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5428 * {bcc,win}32/Makefile.sub (config.h): define ssize_t.
5430 * io.c (copy_stream_body): some platform don't have O_NOCTTY.
5432 Mon Mar 31 18:42:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5434 * configure.in: check for ssize_t. [ruby-dev:34184]
5436 Mon Mar 31 14:45:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5438 * numeric.c (num_quo): should convert its operand to Rational.
5440 * rational.c (string_to_r_strict): should raise TypeError.
5442 * bignum.c (Init_Bignum): should not redefine Bignum#div.
5443 Numeric#div will do. [ruby-dev:34066]
5445 Mon Mar 31 04:05:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
5447 * io.c (io_getc): set coderange while getting characters.
5449 Sun Mar 30 23:16:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5451 * proc.c (proc_dup): should copy is_lambda attribute as well.
5454 Sun Mar 30 15:33:29 2008 Tanaka Akira <akr@fsij.org>
5456 * io.c: IO.copy_stream implemented. [ruby-dev:33843]
5458 * thread.c (rb_fd_select): new function.
5460 * configure.in (sys/sendfile.h): check the header file.
5461 (sendfile): check the function.
5462 (pread): check the function.
5464 Sat Mar 29 14:18:41 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
5466 * ext/tk/*: full update Ruby/Tk to support Ruby(1.9|1.8) and Tc/Tk8.5.
5468 * ext/tk/lib/tkextlib/tile.rb: [incompatible] remove TileWidgets'
5469 instate/state/identify method to avoid the conflict with standard
5470 widget options. Those methods are renamed to ttk_instate/ttk_state/
5471 ttk_identify (tile_instate/tile_state/tile_identify are available
5472 too). Although I don't recommend, if you really need old methods,
5473 please define "Tk::USE_OBSOLETE_TILE_STATE_METHOD = true" before
5474 "require 'tkextlib/tile'".
5476 * ext/tk/lib/tkextlib/tile.rb: "Tk::Tile::__Import_Tile_Widgets__!"
5477 is obsolete. It outputs warning. To control default widget set,
5478 use "Tk.default_widget_set = :Ttk".
5480 * ext/tk/lib/tk.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__ method and
5481 __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method are defined
5482 as module methods of TkConfigMethod. It may help users to wrap old
5483 Ruby/Tk scripts (use standard widgets) to force to use Ttk widgets.
5484 Ttk widgets don't have some options of standard widgets which are
5485 control the view of widgets. When set ignore-mode true, configure
5486 method tries to ignore such unknown options with no exception.
5487 Of course, it may raise other troubles on the GUI design.
5488 So, those are a little danger methods.
5490 * ext/tk/lib/tk/itemconfig.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__
5491 method and __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method
5492 are defined as module methods of TkItemConfigMethod as the same
5493 purpose as TkConfigMethod's ones.
5495 * ext/tk/sample/ttk_wrapper.rb: A new example. This is a tool for
5496 wrapping old Ruby/Tk scripts (which use standard widgets) to use
5497 Ttk (Tile) widgets as default.
5499 * ext/tk/sample/tkextlib/tile/demo.rb: use ttk_instate/ttk_state
5500 method instead of instate/state method.
5502 * ext/tk/lib/tk/root, ext/tk/lib/tk/namespace.rb,
5503 ext/tk/lib/tk/text.rb, ext/tk/lib/tkextlib/*: some 'instance_eval's
5504 are replaced to "instance_exec(self)".
5506 * ext/tk/lib/tk/event.rb: bug fix on KEY_TBL and PROC_TBL (?x is not
5507 a character code on Ruby1.9).
5509 * ext/tk/lib/tk/variable.rb: support new style of operation argument
5510 on Tcl/Tk's 'trace' command for variables.
5512 * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget: bug fix
5514 * ext/tk/sample/demos-jp/textpeer.rb,
5515 ext/tk/sample/demos-en/textpeer.rb: new widget demo.
5517 * ext/tk/tcltklib.c: decrease SEGV troubles (probably)
5519 * ext/tk/lib/tk.rb: remove Thread.critical access if Ruby1.9
5521 * ext/tk/lib/tk/multi-tk.rb: support Ruby1.9 (probably)
5523 * ext/tk/lib/tkextlib/tile.rb: add method to define Tcl/Tk command
5524 to make Tcl/Tk theme sources (based on different version of Tile
5525 extension) available.
5526 (Tk::Tile::__define_LoadImages_proc_for_compatibility__)
5528 * ext/tk/lib/tk.rb, ext/tk/lib/tk/wm.rb: support dockable frames
5529 (Tcl/Tk8.5 feature). 'wm' command can treat many kinds of widgets
5530 as toplevel widgets.
5532 * ext/tk/lib/tkextlib/tile/style.rb: ditto.
5533 (Tk::Tile::Style.__define_wrapper_proc_for_compatibility__)
5535 * ext/tk/lib/tk/font.rb: add actual_hash and metrics_hash to get
5536 properties as a hash. metrics_hash method returns a boolean value
5537 for 'fixed' option. But metrics method returns numeric value
5538 (0 or 1) for 'fixed' option, because of backward compatibility.
5540 * ext/tk/lib/tk/timer.rb: sometimes fail to set callback procedure.
5542 * ext/tk/lib/tk.rb: add Tk.sleep and Tk.wakeup method. Tk.sleep
5543 doesn't block the eventloop. It will be better to use the method
5546 * ext/tk/sample/tksleep_sample.rb: sample script about Tk.sleep.
5548 Thu Mar 27 20:44:22 2008 Tadayoshi Funaba <tadf@dotrb.org>
5550 * complex.c (f_lcm): removed.
5552 * rational.c (rb_lcm, rb_gcdlcm): added.
5554 * lib/complex.rb (gcd, lcm, gcdlcm): removed.
5556 * lib/rational.rb (gcd, lcm, gcdlcm): ditto.
5558 Wed Mar 26 18:11:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5560 * variable.c (rb_mod_constants): rdoc updated. a patch from
5561 Florian Gilcher <flo AT andersground.net> in [ruby-core:16009].
5563 Wed Mar 26 00:55:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
5565 * test/ruby/test_rand.rb: add tests to achieve over 95% test coverage
5568 Wed Mar 26 00:28:55 2008 Yusuke Endoh <mame@tsg.ne.jp>
5570 * test/ruby/test_rational.rb: add tests to achieve over 90% test
5571 coverage of rational.c.
5573 * test/ruby/test_complex.rb: ditto for complex.c.
5575 Tue Mar 25 19:34:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
5577 * bootstraptest/test_knownbug.rb: add tests. [ruby-dev:34128]
5579 Tue Mar 25 19:09:04 2008 Yusuke Endoh <mame@tsg.ne.jp>
5581 * array.c (ary_new): fix size check. [ruby-dev:34123]
5583 * array.c (rb_ary_take, rb_ary_drop): check negative size and use
5584 NUM2LONG instead of FIX2LONG. [ruby-dev:34123]
5586 * enum.c (enum_take, enum_drop): check negative size.
5588 * test/ruby/test_array.rb: add tests for above.
5590 Tue Mar 25 16:32:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5592 * ruby.c (proc_options): checks if the word is empty.
5594 * ruby.c (process_options): typo fixed. [ruby-dev:34122]
5596 Tue Mar 25 15:26:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5598 * compile.c (defined_expr): false short-circuit destination label may
5599 be needed. [ruby-talk:295296]
5601 * compile.c (iseq_compile_each): put nil if false short-circuit is
5604 * compile.c (compile_massign_opt): no need to use alloca.
5606 Mon Mar 24 19:23:52 2008 Akinori MUSHA <knu@iDaemons.org>
5608 * parse.y (debug_lines): Always prepare a new array for each
5609 file's SCRIPT_LINES__ storage, instead of appending source lines
5610 every time a file is re-loaded; submitted by Rocky Bernstein in
5613 Mon Mar 24 10:25:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5615 * configure.in: sitearch should use target_cpu. [ruby-core:15986]
5617 Sun Mar 23 02:51:57 2008 Tanaka Akira <akr@fsij.org>
5619 * process.c (rlimit_resource_value): use NUM2RLIM.
5621 Sun Mar 23 02:28:01 2008 Tadayoshi Funaba <tadf@dotrb.org>
5623 * complex.c: fixed. [ruby-dev:34109]
5625 * rational.c: ditto.
5627 Fri Mar 21 21:32:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5629 * io.c (rb_f_gets, rb_f_readline, rb_f_readlines): delegates to ARGF
5630 as well as puts and putc. [ruby-dev:34100]
5632 Fri Mar 21 21:26:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5634 * lib/resolv.rb (Resolv::Hosts): should not use win32/resolv on cygwin.
5635 [ruby-dev:29945], [ruby-dev:34095]
5637 * lib/win32/registry.rb (Win32::Registry.expand_environ): try upcased
5638 name too for cygwin. [ruby-dev:29945]
5640 * lib/win32/resolv.rb (Win32::Resolv.get_hosts_path): use expand_path.
5642 Fri Mar 21 21:10:00 2008 Akinori MUSHA <knu@iDaemons.org>
5644 * lib/ipaddr.rb: Say that I am the current maintainer.
5646 * lib/set.rb: Ditto.
5648 * lib/shellwords.rb: Ditto.
5650 * ext/syslog/syslog.txt: Ditto.
5652 Fri Mar 21 09:24:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5654 * instruby.rb (open_for_install): write block result and rewrite only
5655 if changed from existing file.
5657 Fri Mar 21 08:29:33 2008 Tadayoshi Funaba <tadf@dotrb.org>
5659 * rational.c (nurat_to_f): rearrangement.
5661 Fri Mar 21 06:44:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5663 * rational.c (nurat_to_f): C99.
5665 Fri Mar 21 01:40:27 2008 Yusuke Endoh <mame@tsg.ne.jp>
5667 * complex.c (nucomp_sub, nucomp_expt): call corresponding functions.
5669 Fri Mar 21 01:21:43 2008 Yusuke Endoh <mame@tsg.ne.jp>
5671 * missing/tgamma.c: include config.h before math.h. [ruby-dev:34075]
5673 Thu Mar 20 21:46:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5675 * io.c (argf_getline): use receiver.
5677 Thu Mar 20 21:20:19 2008 Tadayoshi Funaba <tadf@dotrb.org>
5679 * rational.c: some improvements (include Shin-ichiro HARA's
5682 * complex.c: some improvements.
5684 * test/ruby/test_rational2.rb: new.
5686 Thu Mar 20 00:21:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5688 * io.c (argf_initialize_copy): get rid of segfault.
5690 * io.c (argf_tell, argf_seek_m, argf_set_pos, argf_rewind,
5691 argf_fileno, argf_to_io, argf_eofl, argf_getc, argf_getbyte,
5692 argf_readchar, argf_readbyte, argf_each_line): use receiver.
5694 Wed Mar 19 23:52:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5696 * io.c (rb_io_putc, rb_io_puts): output directly if the receiver is
5697 rb_stdout to get rid of infinite recursion. [ruby-dev:34059]
5699 Wed Mar 19 22:27:41 2008 Tadayoshi Funaba <tadf@dotrb.org>
5701 * rational.c: added rb_gcd.
5703 * complex.c: use rb_gcd.
5705 Wed Mar 19 18:37:00 2008 Tadayoshi Funaba <tadf@dotrb.org>
5707 * complex.c: revert.
5709 * rational.c: revert.
5711 Wed Mar 19 17:31:20 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5713 * eval_intern.h (TH_EXEC_TAG): need not to FLUSH_REGISTER_WINDOWS.
5714 [ruby-core:15871], [ruby-dev:34088]
5716 Wed Mar 19 14:53:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5718 * complex.c (nucomp_to_s, nucomp_inspect): get rid of making
5719 unnecessary intermediate objects.
5721 * complex.c (make_patterns, string_to_c): do not treat successive
5722 underscores as a part of numeric like as literals. [ruby-dev:34085]
5724 * rational.c (make_patterns, string_to_r): ditto.
5726 Wed Mar 19 14:36:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5728 * bignum.c (rb_cstr_to_inum): treat successive underscores as
5729 nondigit. [ruby-dev:34089]
5731 Wed Mar 19 14:08:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5733 * encoding.c (enc_check_encoding): should not load autoloaded encoding
5734 directly, instead use rb_enc_find_index() which deal with alias and
5735 replica. [ruby-core:15957]
5737 Wed Mar 19 11:49:47 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5739 * regint.h (include): include ruby.h instead of defines.h and config.h.
5741 Wed Mar 19 10:17:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5743 * regint.h (CHECK_INTERRUPT_IN_MATCH_AT): add interrupt check
5744 during match. [ruby-talk:295002]
5746 Tue Mar 18 16:24:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5748 * parse.y (literal_concat_gen): bail out at different encoding.
5750 Tue Mar 18 04:00:27 2008 NARUSE, Yui <naruse@ruby-lang.org>
5752 * re.c (rb_memsearch_ss): simple shift search.
5754 * re.c (rb_memsearch_qs): quick search.
5756 * re.c (rb_memsearch_qs_utf8): quick search for UTF-8 string.
5758 * re.c (rb_memsearch_qs_utf8_hash): hash functions for above.
5760 * re.c (rb_memsearch): use above functions.
5762 * string.c (rb_str_index): give enc to rb_memsearch.
5764 * include/ruby/intern.h (rb_memsearch): move to encoding.h.
5766 * include/ruby/encoding.h (rb_memsearch): move from intern.h.
5768 * common.mk (PREP): add dependency.
5770 Mon Mar 17 22:23:54 2008 Yusuke Endoh <mame@tsg.ne.jp>
5772 * array.c (rb_ary_take, rb_ary_take_while, rb_ary_drop,
5773 rb_ary_drop_while): new methods. [ruby-dev:34067]
5775 * test/ruby/test_array.rb: add tests for above.
5777 Mon Mar 17 17:11:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5779 * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
5780 of calling `run-hooks' directly to run the mode hook. patch from
5781 Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
5783 Mon Mar 17 16:41:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5785 * configure.in: unset GREP_OPTIONS. [ruby-core:15918]
5787 Sun Mar 16 18:07:07 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
5789 * enc/trans/utf_16_32.c: bug fix (some invalid UTF-8 sequences
5792 * test/ruby/test_transcode.rb: test for above bug
5794 Sun Mar 16 17:28:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
5796 * common.mk (LIBRUBY_SO): add dependency to $(BUILTIN_ENCOBJS).
5798 Sun Mar 16 08:51:41 2008 Tadayoshi Funaba <tadf@dotrb.org>
5800 * include/ruby/intern.h: added some declarations.
5802 * include/ruby/ruby.h: ditto.
5804 * common.mk: added some entries.
5806 * configure.in: added a check for signbit.
5808 * lib/complex.rb: nearly all of core definitions have been removed.
5810 * lib/rational.rb: ditto.
5812 * lib/mathn.rb: some trivial adjustments.
5816 * rational.c: ditto.
5818 * numeric.c (flo_{quo,rdiv}, fix_fdiv): added.
5820 * numeric.c ({num,int}_{numerator,denominator}): ditto.
5822 * bignum.c (rb_big_fdiv): ditto.
5824 * numeric.c (fix_{quo,pow}): now may yield rational number.
5826 * bignum.c (rb_big_{quo,pow}): ditto.
5828 * numeric.c (rb_{int,flo}_induced_from): now can accept rational.
5830 * gc.c (gc_mark_children, obj_free): now detects complex and rational.
5832 * inits.c (rb_call_inits): now calls Init_{Complex,Rational}.
5834 * test/ruby/test_complex.rb: new.
5836 * test/ruby/test_rational.rb: ditto.
5838 Sat Mar 15 17:48:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5840 * encoding.c (rb_enc_associate_index): pass unnecessary enc_capable().
5842 * string.c (rb_str_cmp): reduce invocation of rb_enc_compatible().
5844 Fri Mar 14 17:04:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5846 * include/ruby/ruby.h (inttypes.h): includes always if available.
5848 * string.c, ext/digest/defs.h: moved inttypes.h to ruby.h.
5850 Fri Mar 14 16:59:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5852 * configure.in (RUBY_LIB_PREFIX): fix for prefix.
5854 Fri Mar 14 16:35:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5856 * lib/cgi.rb (CGI::Cookie::initialize): performance patch from
5857 Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048].
5859 Fri Mar 14 15:49:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5861 * configure.in (RUBY_LIB_PREFIX): use libdir.
5863 Fri Mar 14 14:24:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5865 * ext/digest/defs.h: inttypes.h is still needed.
5867 Fri Mar 14 11:34:12 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5869 * {bcc,win}32/Makefile.sub: follow below changes.
5871 Fri Mar 14 11:24:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5873 * misc/ruby-mode.el (ruby-encoding-map, ruby-use-encoding-map): added
5876 Fri Mar 14 10:37:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
5878 * configure.in (int8_t, uint8_t, int16_t, uint16_t int32_t,
5879 uint32_t int64_t, uint64_t, int128_t, uint128_t,
5880 intptr_t, uintptr_t): check if defined.
5882 * win32/Makefile.sub: follow configure.in.
5884 * ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t.
5886 Fri Mar 14 10:12:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5888 * configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor
5891 Fri Mar 14 10:03:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5893 * string.c (UNALIGNED_WORD_ACCESS): IA64 cannot access unaligned word.
5895 Thu Mar 13 21:00:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5897 * array.c (rb_ary_slice_bang): should not use rb_ary_subseq()
5898 which shares internal pointer. splice modifies the receiver
5899 right after subseq. [ruby-dev:34005]
5901 * bootstraptest/test_struct.rb: some test moved from test to shut
5904 Thu Mar 13 19:42:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
5906 * {bcc,win}32/Makefile.sub (config.h): define uint32_t.
5908 Thu Mar 13 14:14:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5910 * trunk/configure.in (AC_CHECK_HEADERS): stdint.h is not needed to
5913 * trunk/configure.in (rb_cv_type_uint32_t): unquoted. [ruby-dev:34030]
5915 * trunk/string.c (hash): use inttypes.h instead of stdint.h.
5917 Thu Mar 13 10:42:46 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5919 * numeric.c (fix_divmod): should return integer division. [ruby-dev:34006]
5921 * enum.c (zip_ary): wrong boundary condition.
5923 * test/ruby/test_numeric.rb (TestNumeric::test_num2long): bit-and
5924 should not raise RangeError.
5926 Thu Mar 13 03:12:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5928 * lib/irb/cmd/help.rb: should be updated for new ri structure.
5931 * lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional.
5933 * lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be
5936 * lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for
5937 method. maybe broken.
5939 * lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError
5942 Thu Mar 13 01:45:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5944 * configure.in (stdint.h): check if presence.
5946 * configure.in (uint32_t): check if defined.
5948 * string.c (hash): fix for portability. [ruby-dev:34020]
5950 Wed Mar 12 17:33:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5952 * object.c (rb_cstr_to_dbl): fix for a mere underscore.
5954 Wed Mar 12 14:47:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5956 * eval_intern.h (rb_thread_raised_set): use generic flags.
5958 * eval.c (rb_longjmp): clear all raised flags.
5960 * eval.c (stack_check): leave clearing flag to rb_longjmp.
5962 * gc.c (rb_memerror): use thread raised flag instead of static flag.
5964 Tue Mar 11 23:38:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5966 * array.c (rb_ary_combination): argument check before creating
5969 * array.c (rb_ary_permutation): ditto.
5971 * enum.c (enum_zip): optimize if all arguments are arrays.
5973 Tue Mar 11 19:48:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5975 * numeric.c (fix_coerce): try conversion before type check.
5978 Tue Mar 11 12:39:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
5980 * common.mk (clean-local): WINMAINOBJ is Windows specific.
5982 Tue Mar 11 10:19:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5984 * string.c (hash): replaced by MurmurHash described in
5985 <http://murmurhash.googlepages.com/>.
5987 Tue Mar 11 09:52:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5989 * string.c (rb_str_comparable): empty strings in any encoding are
5990 compatible each other.
5992 Tue Mar 11 00:46:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5994 * ruby.c (usage): remove some unimportant lines to fit -h message
5995 in a page. [ruby-dev:34018]
5997 Mon Mar 10 17:11:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
5999 * eval.c (rb_f_local_variables): local_variables should return an
6000 array of symbols. [ruby-dev:34008]
6002 * vm.c (collect_local_variables_in_env): ditto.
6004 Mon Mar 10 15:53:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6006 * version.c (MKSTR): make US-ASCII. [ruby-dev:34010]
6008 Mon Mar 10 02:08:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
6010 * string.c (rb_str_index): if t == s + pos, the character beginning
6011 from s + pos is valid.
6013 Sun Mar 9 13:51:21 2008 Eric Hodel <drbrain@segment7.net>
6015 * lib/rdoc/generator.rb: Restore missing line to #params. Patch by
6016 Lincoln Stoll <lstoll at lstoll.net>
6018 Sun Mar 9 09:52:00 2008 Eric Hodel <drbrain@segment7.net>
6020 * lib/rdoc/code_objects.rb: Remove debugging Kernel#p. Patch by
6021 Lincoln Stoll <lstoll at lstoll.net>
6022 * lib/rdoc/generator/html.rb: Fully qualify AllReferences. Patch by
6023 Lincoln Stoll <lstoll at lstoll.net>
6024 * lib/rdoc/ri/writer.rb: Fix 1.8 backwards compatibility.
6026 Sat Mar 8 18:50:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6028 * file.c (isdirsep): backslash is valid path separator on cygwin too.
6030 Sat Mar 8 06:53:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
6032 * string.c (search_nonascii): Use VALUE instead of unsigned long
6033 because VALUE can be the fastest unsigned integer type.
6034 On LLP64 unsigned long isn't the fastest.
6035 * string.c (str_strlen): ditto.
6036 * string.c (str_utf8_nth): ditto.
6037 * string.c (count_utf8_lead_bytes_with_ulong): ditto.
6039 * string.c (count_utf8_lead_bytes_with_word): renamed.
6041 Fri Mar 7 21:27:43 2008 Yusuke Endoh <mame@tsg.ne.jp>
6043 * bignum.c: fix indent.
6045 Fri Mar 7 21:12:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
6047 * bignum.c (power_cache_init, power_cache_get_power0, Init_Bignum):
6048 delayed initializing power cache per base. [ruby-dev:34003]
6050 Fri Mar 7 20:30:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6052 * cont.c (cont_restore_0): fixed typo. [ruby-core:15821]
6054 Fri Mar 7 19:56:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6056 * lib/mkmf.rb: rdoc added. [ruby-Patches-9762]
6058 Thu Mar 6 17:26:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6060 * sprintf.c (rb_str_format): space flag is in effect for Inf/NaN too.
6063 Thu Mar 6 15:44:20 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6065 * sprintf.c (rb_str_format): casting double to long is undefined
6066 if the integer part of double is out of the range of long.
6068 Thu Mar 6 15:11:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6070 * sprintf.c (rb_str_format): ignore 0 flag for NaN and Inf.
6073 Thu Mar 6 15:05:25 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6075 * {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead of
6077 suggested by KIMURA Koichi <kimura.koichi at canon.co.jp>.
6080 Thu Mar 6 14:46:08 2008 Tanaka Akira <akr@fsij.org>
6082 * missing/lgamma_r.c (loggamma): return 0 for 1 and 2.
6084 * test/ruby/test_math.rb: accept errors by functions under missing/.
6086 Thu Mar 6 14:29:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
6088 * transcode.c (rb_str_transcode_bang): set coderange.
6090 * transcode.c (rb_str_transcode): use rb_str_transcode_bang.
6092 Thu Mar 6 14:00:10 2008 Tanaka Akira <akr@fsij.org>
6094 * include/ruby/missing.h (cbrt): add declaration.
6096 Thu Mar 6 11:14:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6098 * misc/ruby-mode.el (ruby-add-log-current-method): use ruby style
6101 Thu Mar 6 11:12:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6103 * sprintf.c (rb_str_format): no need of loop.
6105 Thu Mar 6 08:30:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6107 * object.c (rb_mod_freeze): call rb_class_name() directly.
6110 Thu Mar 6 04:32:06 2008 NARUSE, Yui <naruse@ruby-lang.org>
6112 * string.c (count_utf8_lead_bytes_with_ulong): fix shift size.
6115 * string.c (str_utf8_nth) fix wrong counting.
6117 Thu Mar 6 00:34:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6119 * sprintf.c (rb_str_format): size_t returned from strlen() can be
6122 Thu Mar 6 00:31:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6124 * struct.c (make_struct): preserve encoding of struct name.
6126 Wed Mar 5 22:49:20 2008 NARUSE, Yui <naruse@ruby-lang.org>
6128 * string.c (is_utf8_lead_byte, count_utf8_lead_bytes_with_ulong):
6129 defined for UTF-8 optimization.
6131 * string.c (str_strlen): use is_utf8_lead_byte and
6132 count_utf8_lead_bytes_with_ulong.
6134 * string.c (str_utf8_nth) ditto.
6136 Wed Mar 5 17:53:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6138 * file.c (rb_file_flock): returns false on EAGAIN if non-blocking.
6141 Wed Mar 5 17:43:43 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
6143 * transcode.c (transcode_loop): Adjusted detection of invalid
6144 (ill-formed) UTF-8 sequences. Fixing potential security issue, see
6145 http://www.unicode.org/versions/Unicode5.1.0/#Notable_Changes.
6147 * test/ruby/test_transcode.rb: Added two tests for above fix.
6149 Wed Mar 5 14:00:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6151 * numeric.c (fix_to_s): avoid rb_scan_args() when no argument
6153 * bignum.c (rb_big_to_s): ditto.
6154 * enum.c (enum_first): ditto.
6155 * eval_jump.c (rb_f_catch): ditto.
6156 * io.c (rb_obj_display): ditto.
6157 * class.c (rb_obj_singleton_methods): ditto.
6158 * object.c (rb_class_initialize): ditto.
6159 * random.c (rb_f_srand): ditto.
6160 * range.c (range_step): ditto.
6161 * re.c (rb_reg_s_last_match): ditto.
6162 * string.c (rb_str_to_i): ditto.
6163 * string.c (rb_str_each_line): ditto.
6164 * string.c (rb_str_chomp_bang): ditto.
6165 * string.c (rb_str_sum): ditto.
6167 * string.c (str_modifiable): declare inline.
6168 * string.c (str_independent): ditto.
6170 Wed Mar 5 11:50:32 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6172 * lib/debug.rb: require 'continuation' to implement "restart"
6173 command. [ruby-dev:33992]
6175 * lib/debug.rb (Context::debug_command): remove local variable
6176 shadowing to shut up warnings. [ruby-dev:33992]
6178 * lib/debug.rb (Context::display_list): ditto.
6180 * lib/debug.rb (Context::resume): ditto.
6182 * lib/debug.rb (Context::get_thread): no longer use #index for Hash.
6184 Tue Mar 4 21:35:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6186 * lib/irb.rb (IRB::Irb::eval_input): SyntaxError should not be
6187 considered as IRB bug. [ruby-dev:33991]
6189 * lib/irb/workspace.rb (IRB::WorkSpace::filter_backtrace): should
6190 filter 'irb.rb' as well for context mode 2 and 3.
6192 Tue Mar 4 19:10:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6194 * hash.c (rb_hash_aset): should not copy key string when
6195 compare_by_identity is set. [ruby-dev:33604]
6197 * hash.c (hash_equal): two hash tables are different when internal
6198 comparison table differ. [ruby-dev:33989]
6200 Tue Mar 4 16:29:06 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6202 * parse.y (parser_yylex): disallow non digits '0o' expression.
6204 Tue Mar 4 14:35:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
6206 * io.c (open_key_args): use rb_io_open_with_args instead of rb_f_open.
6209 Tue Mar 4 13:41:46 2008 Tanaka Akira <akr@fsij.org>
6211 * gc.c (add_heap): fix previous change. [ruby-dev:33988]
6213 Tue Mar 4 10:21:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6215 * gc.c (add_heap): use binary search to find the place to insert the
6216 new heap slot. [ruby-dev:33983]
6218 Tue Mar 4 05:30:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
6220 * io.c (open_key_args): use rb_io_open instead of rb_f_open.
6223 Mon Mar 3 23:28:37 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
6225 * lib/webrick/httpservlet/filehandler.rb: should normalize path
6226 separators in path_info to prevent directory traversal
6227 attacks on DOSISH platforms.
6228 reported by Digital Security Research Group [DSECRG-08-026].
6230 * lib/webrick/httpservlet/filehandler.rb: pathnames which have
6231 not to be published should be checked case-insensitively.
6233 Mon Mar 3 17:25:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6235 * gc.c (add_heap): sort heaps array in ascending order to use
6238 * gc.c (is_pointer_to_heap): use binary search to identify object
6239 in heaps. works better when number of heap segments grow big.
6241 Mon Mar 3 17:15:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6243 * re.c (rb_reg_regsub): remove too strict encoding check.
6246 Mon Mar 3 16:14:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6248 * hash.c (rb_any_hash): shrinks all results in Fixnum range.
6251 Sun Mar 2 23:03:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6253 * io.c (rb_io_ungetc): reduce redundant call.
6255 Sun Mar 2 10:13:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6257 * ruby.c (load_file): parse shebang in us-ascii. a patch from
6258 sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:33955]
6260 Sun Mar 2 00:08:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6262 * object.c (rb_cstr_to_dbl): check for successive underscores.
6265 Sat Mar 1 17:59:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6267 * io.c (struct argf): packed ARGF stuffs.
6269 * ruby.c (proc_options): use ruby_set_inplace_mode().
6271 Sat Mar 1 17:51:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6273 * lib/test/unit/collector/dir.rb (recursive_collect): do not always
6274 include all test_*.rb.
6276 Sat Mar 1 14:14:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6278 * development snapshot 1.9.0-1 released.
6280 Sat Mar 1 13:46:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6282 * tool/make-snapshot: make prereq uses MINIRUBY.
6284 * tool/make-snapshot: allow packaging like 1.9.0-1 by second
6285 command-line argument.
6287 Sat Mar 1 13:11:03 2008 Tanaka Akira <akr@fsij.org>
6289 * test/ruby/allpairs.rb: new file for all pairs method.
6291 * test/ruby/test_m17n_comb.rb: use allpairs.rb to reduce test cases.
6293 * test/ruby/test_sprintf_comb.rb: ditto.
6295 Sat Mar 1 12:34:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6297 * string.c (sym_inspect): use rb_str_inspect() instead of
6298 rb_str_dump(). [ruby-dev:33946]
6300 Sat Mar 1 12:15:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6302 * eval_method.c (rb_get_method_body): ent->method may be freed by
6303 GC. [ruby-dev:31819]
6305 * thread.c (remove_event_hook): should not access freed memory.
6308 Sat Mar 1 10:31:19 2008 NARUSE, Yui <naruse@ruby-lang.org>
6310 * io.c (read_all, rb_io_getline_fast): encoding is io_input_encoding.
6312 Sat Mar 1 10:09:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6314 * string.c (tr_setup_table, rb_str_split_m, rb_str_chomp_bang):
6315 simplified with rb_enc_ascget(). [ruby-dev:33944]
6317 Sat Mar 1 10:01:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6319 * string.c (rb_str_coderange_scan_restartable): should not return
6320 offset in the middle of a character.
6322 * string.c (rb_str_coderange_scan_restartable): should not return
6325 Sat Mar 1 09:36:08 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6327 * sprintf.c (rb_str_format): "%#.0o" should keep prefix where
6330 Sat Mar 1 02:35:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6332 * bignum.c (big2str_find_n1): check integer overflow.
6334 Sat Mar 1 00:29:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6336 * encoding.c (rb_enc_dummy_p): bootstrap encodings can not be dummy.
6338 * encoding.c (rb_enc_ascget): no needs to call rb_enc_precise_mbclen()
6341 Fri Feb 29 23:14:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6343 * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_chomp): test
6346 Fri Feb 29 20:58:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6348 * test/ruby/test_iterator.rb (TestIterator::test_enumerator):
6349 adjust test for zip behavior reversion.
6351 Fri Feb 29 20:25:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6353 * string.c (rb_str_chomp_bang): now works on UTF-16.
6355 * string.c (tr_setup_table): negation should work on non ASCII
6356 compatible strings as well.
6358 * string.c (rb_str_split_m): awk split should work on non ASCII
6359 compatible strings as well.
6361 Fri Feb 29 18:08:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6363 * time.c (time_strftime): format should be ascii compatible.
6365 * parse.y (rb_intern3): non ASCII compatible symbols.
6367 * re.c (rb_reg_regsub): add encoding check.
6369 * string.c (rb_str_chomp_bang): ditto.
6371 * test/ruby/test_utf16.rb (TestUTF16::test_chomp): raises exception.
6373 Fri Feb 29 15:16:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6375 * string.c (rb_str_rpartition): calculation was done in byte indexing.
6377 * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_start_with):
6378 allow start_with? matching on broken strings.
6380 Fri Feb 29 15:12:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6382 * parse.y (opt_block_param): command can start just after block param
6383 definition. [ruby-list:44479]
6385 Fri Feb 29 03:22:19 2008 NARUSE, Yui <naruse@ruby-lang.org>
6387 * test/ruby/test_time.rb (test_readers): fix typo.
6388 (test_strftime): "UTC" is also ok for time.gmtime.strftime("%Z").
6390 Fri Feb 29 02:50:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
6392 * string.c (str_new): remove encoding assumption of empty string.
6394 * hash.c ( rb_f_getenv, env_fetch, env_inspect): result of ENV should
6395 be always ASCII-8BIT.
6397 * object.c (nil_to_s): nil.to_s should be US-ASCII.
6399 Fri Feb 29 02:24:22 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
6401 * ext/tk/lib/tk.rb: forgot to update RELEASE_DATE
6403 * ext/tk/lib/tk.rb, ext/tk/lib/tk/text.rb,
6404 ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: remove adhoc check
6405 of Ruby's features (use existence of some classes instead of
6406 comparing with RUBY_VERSION)
6408 * ext/tk/lib/tk/root.rb, ext/tk/lib/tk/autoload.rb: make TkRoot
6409 (Tk::Root) unswitchable
6411 * ext/tk/lib/multi-tk.rb: partial bug fix (still not work!!)
6413 Thu Feb 28 23:37:12 2008 Tanaka Akira <akr@fsij.org>
6415 * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): use ASCII-8BIT
6416 for charset unspecified non-text data.
6418 Thu Feb 28 22:19:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
6420 * encoding.c (enc_capable): IMMEDIATE_P doesn't include Qnil and Qfalse.
6421 use SPECIAL_CONST_P.
6423 Thu Feb 28 19:45:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
6425 * encoding.c (enc_find): check type of argument and convert to String
6426 if it is StringValue. [ruby-cvs:22866]
6428 Thu Feb 28 18:07:52 2008 Tanaka Akira <akr@fsij.org>
6430 * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): setup encoding
6432 (OpenURI::Meta#meta_add_field): call meta_setup_encoding when
6435 Thu Feb 28 15:29:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
6437 * io.c (rb_io_getline_fast): scan coderange.
6439 Thu Feb 28 14:36:46 2008 NARUSE, Yui <naruse@ruby-lang.org>
6441 * string.c (rb_enc_str_copy): removed.
6443 Thu Feb 28 13:51:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6445 * eval.c (stack_check): made flag per threads.
6447 * thread.c (rb_thread_set_raised, rb_thread_reset_raised): prefixed.
6449 Thu Feb 28 11:43:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6451 * file.c (rb_file_flock): immediately returns on EAGAIN if
6452 non-blocking. [ruby-core:15672]
6454 Thu Feb 28 11:23:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6456 * io.c (rb_io_getline_1): get rid of segfault. [ruby-dev:33938]
6458 Thu Feb 28 11:19:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6460 * string.c (rb_str_reverse_bang): removed unused variables.
6462 * include/ruby/encoding.h (rb_str_coderange_scan_restartable): added
6465 * string.c (rb_str_coderange_scan_restartable, rb_str_times): removed
6468 * string.c (rb_str_reverse_bang): ditto
6470 * string.c (rb_enc_str_copy): unused now. may be used in future?
6472 Thu Feb 28 03:03:32 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
6474 * ext/tk/lib/tk.rb, ext/tk/lib/*: make default widget set
6475 switchable between Tk (standard Tcl/Tk widget set) and
6476 Ttk (Tile). Initial default widget set is Tk. Now, toplevel
6477 widget classes are removed and defined as aliases.
6478 For example, "TkButton" is an alias of the "Tk::Button" class.
6479 Those aliases are replaced when switching default widget set.
6480 "Tk.default_widget_set=" is the method for switching default
6481 widget set. "Tk.default_widget_set = :Ttk" defines Ttk (Tile)
6482 widget set as default. It means that "TkButton" denotes
6483 "Tk::Tile::Button" class. And then, "TkButton.new" creates
6484 a Tk::Tile::Button widget. Of course, you can back to use
6485 standard Tk widgets as the default widget set by calling
6486 "Tk.default_widget_set = :Tk", whenever you want. Based on
6487 the feature, you can use Ttk widget styling engine on your
6488 old Ruby/Tk application without modifying its source, if you
6489 don't use widget options unsupported on Ttk widgets (At first,
6490 call "Tk.default_widget_set = :Ttk", and next load and run
6492 This is one step for supporting Tcl/Tk8.5 features.
6494 Wed Feb 27 22:55:42 2008 NARUSE, Yui <naruse@ruby-lang.org>
6496 * string.c (rb_str_coderange_scan_restartable): coderange scanning
6499 * io.c (read_all): set coderange when not convert encoding.
6501 Wed Feb 27 03:55:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6503 * ext/extmk.rb, enc/make_encmake.rb: load current mkmf.rb even if
6506 * ext/extmk.rb, enc/make_encmake.rb, lib/mkmf.rb: need to be 1.8
6507 compatible for cross-compiling.
6509 Tue Feb 26 16:53:13 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6511 * misc/ruby-mode.el (ruby-calculate-indent): should distinguish
6512 comment and # in strings. [ruby-dev:33874]
6514 Tue Feb 26 16:41:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6516 * array.c (combi_len, rb_ary_product): check for overflow.
6519 Tue Feb 26 16:38:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6521 * array.c (recursive_cmp): compare minimal length parts.
6523 Tue Feb 26 16:06:00 2008 Technorama Ltd. <oss-ruby@technorama.net>
6525 * ext/openssl/ossl_{ec,dh,dsa,rsa}.c: Remove useless warnings.
6527 * ext/openssl/ossl_asn1.c: Simplify code.
6529 * ext/openssl/ossl_ssl_session.c Fix compiler warnings.
6530 Undefine #id if SSL_SESSION_get_id is not supported.
6532 Tue Feb 26 15:50:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6534 * parse.y (value_expr_gen): removed inappropriate warning.
6537 Tue Feb 26 15:43:42 2008 Tanaka Akira <akr@fsij.org>
6539 * parse.y (tokadd_escape): refactored. [ruby-core:15657]
6541 Tue Feb 26 15:30:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6543 * array.c (rb_ary_eql, rb_ary_cmp): get rid of stack overflow with
6544 self-recursive constructs. [ruby-Bugs-18356]
6546 Tue Feb 26 01:16:01 2008 Tanaka Akira <akr@fsij.org>
6548 * include/ruby/ruby.h (ROBJECT_NUMIV): renamed from ROBJECT_LEN.
6549 (ROBJECT_IVPTR): renamed from ROBJECT_PTR.
6551 * variable.c: follow the above renaming.
6559 Mon Feb 25 17:30:29 2008 Technorama Ltd. <oss-ruby@technorama.net>
6561 * ext/openssl/digest.c ext/openssl/lib/openssl/digest.rb:
6562 Commit patch #9280 from Akinori MUSHA.
6563 Simplify the OpenSSL::Digest class and make use of the
6564 existing Digest framework.
6565 Enhance performance.
6567 Mon Feb 25 15:33:29 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6569 * bignum.c (big2str_karatsuba): initialize cache if not initialized.
6571 * bignum.c (Init_Bignum): delayed initializing cache.
6574 Mon Feb 25 13:40:03 2008 Tanaka Akira <akr@fsij.org>
6576 * process.c (Init_process): share bignum objects for RLIM_INFINITY,
6577 RLIM_SAVED_MAX and RLIM_SAVED_CUR if they are equal.
6579 Mon Feb 25 10:41:41 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
6581 * encoding.c (Encoding#dummy): minor grammatical fixes
6582 in rdoc documentation.
6584 Mon Feb 25 00:01:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6586 * cygwin/GNUmakefile.in (clean-local): should be double-colon.
6588 Sun Feb 24 23:39:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6590 * common.mk, {bcc,win}32/Makefile.sub (clean-local): remove
6593 * cygwin/GNUmakefile.in (clean-local): remove def file.
6595 Sun Feb 24 06:49:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6597 * debug.c (ruby_set_debug_option): separated ruby_each_words().
6599 * util.c (ruby_each_words): extracted from ruby_set_debug_option().
6601 * ruby.c (enable_option, disable_option): allow all for all known
6604 * ruby.c (proc_options): generalized enable/disable options.
6606 * ruby.c (ruby_init_gems): take enabled flag. [ruby-core:14840]
6608 * ruby.c (process_options): added --disable-rubyopt flag.
6610 * include/ruby/util.h (ruby_each_words): prototype.
6612 Sun Feb 24 05:25:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6614 * ruby.c (proc_options): check if argument for -E exists.
6616 Sun Feb 24 05:09:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6618 * misc/ruby-style.el (ruby-style-label-indent): fix for labels inside
6621 Sun Feb 24 03:52:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6623 * util.c (valid_filename): use O_EXCL to get rid of clobbering
6624 existing files in race conditions.
6626 Sat Feb 23 21:36:13 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6628 * ext/win32ole/win32ole.c (ole_init_cp): should return value.
6630 Sat Feb 23 20:16:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
6632 * string.c (str_sublen): removed.
6634 * string.c (rb_str_reverse, rb_str_reverse_bang): use
6635 single_byte_optimizable.
6637 Sat Feb 23 19:25:18 2008 NARUSE, Yui <naruse@ruby-lang.org>
6639 * string.c (rb_enc_cr_str_copy_for_substr): renamed from
6642 * string.c: use rb_enc_cr_str_copy_for_substr and keep coderange.
6644 Sat Feb 23 18:50:17 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
6646 * ext/win32ole/win32ole.c (ole_encoding2cp): remove US-ASCII
6649 Sat Feb 23 01:09:47 2008 Tanaka Akira <akr@fsij.org>
6651 * process.c (rlimit_resource_type): new function.
6652 (rlimit_resource_value): new function.
6653 (proc_getrlimit): use rlimit_resource_type to accept
6654 symbol and string as resource type.
6655 (proc_setrlimit): use rlimit_resource_type and rlimit_resource_value
6656 to accept symbol and string as resource type and values.
6658 Fri Feb 22 21:12:42 2008 NARUSE, Yui <naruse@ruby-lang.org>
6660 * string.c (rb_enc_cr_str_copy): check string's coderange is 7bit or
6663 Fri Feb 22 19:50:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6665 * bignum.c (BIGZEROP): fix for longer Bignum zeros. [ruby-Bugs-17454]
6667 Fri Feb 22 15:47:36 2008 Tanaka Akira <akr@fsij.org>
6669 * encoding.c (rb_enc_mbclen): return minlen instead of 1 when
6670 a character is not found properly.
6672 * string.c (rb_enc_strlen): round up string length with fixed
6673 multibyte encoding such as UTF-32.
6674 (rb_enc_strlen_cr): ditto.
6675 (rb_str_substr): fix substring with fixed multibyte encoding.
6676 (rb_str_justify): check number of characters.
6678 Fri Feb 22 12:11:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
6680 * string.c (rb_str_inspect): string of ascii incompatible encoding
6681 should be escaped and returned as US-ASCII encoding.
6683 Fri Feb 22 11:16:55 2008 NARUSE, Yui <naruse@ruby-lang.org>
6685 * string.c (rb_str_substr): copy encoding although empty string.
6687 Fri Feb 22 04:48:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
6689 * string.c (rb_str_times): empty string's coderange is CODERANGE_7BIT.
6691 * string.c (rb_str_substr): ditto.
6693 * encoding.c (rb_enc_compatible): empty string is compatible with not
6694 only nonasciicompatible strings. [ruby-dev:33895]
6696 Thu Feb 21 17:15:15 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
6698 * transcode.c: Added basic support for passing options to String#encode
6699 via a hash. Currently only one option, with one value, is supported:
6700 invalid: :ignore (dropping invalid byte sequences instead of
6701 producing an error). Option naming is not yet stable!
6703 * test/ruby/test_transcode.rb: Added a single test for invalid: :ignore
6704 option. Not more tests because most data does not yet distinguish
6705 between INVALID and UNKNOWN.
6707 Thu Feb 21 16:35:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6709 * array.c (rb_ary_unshift_m): expands enough for argc. [ruby-dev:33880]
6711 Thu Feb 21 14:49:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6713 * io.c (argf_set_encoding): uses current_file after check if next
6716 Thu Feb 21 14:13:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
6718 * io.c (rb_f_putc): invoke stdout method so that redefining putc
6719 may take effect. [ruby-talk:291844]
6721 * io.c (rb_f_puts): ditto.
6723 Thu Feb 21 11:10:49 2008 NARUSE, Yui <naruse@ruby-lang.org>
6725 * string.c: replace rb_enc_copy by rb_enc_cr_str_copy or
6726 rb_enc_cr_str_exact_copy.
6728 Thu Feb 21 10:35:04 2008 NARUSE, Yui <naruse@ruby-lang.org>
6730 * include/ruby/encoding.h (rb_enc_asciicompat): dummy encoding is not
6731 ascii compatible. [ruby-dev:33878]
6733 Thu Feb 21 00:01:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6735 * configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime
6736 load path. [ruby-list:44600]
6738 Wed Feb 20 23:55:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6740 * win32/win32.c (rb_w32_map_errno): exported.
6742 Wed Feb 20 23:28:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6744 * ext/readline/extconf.rb (rl_event_hook): workaround for native
6747 Wed Feb 20 19:42:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
6749 * encoding.c (rb_enc_associate_index): doesn't clear coderange
6750 when new encoding equals to old one.
6752 Wed Feb 20 19:15:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
6754 * string.c (rb_enc_str_copy): added for wrapper for rb_enc_copy.
6755 this also copy coderange when ptr and len is equal.
6757 * string.c (rb_enc_cr_str_copy): added for wrapper for rb_enc_copy.
6758 this always copy coderange.
6760 * string.c (str_replace_shared): use rb_enc_str_copy.
6762 * string.c (str_new3): don't rb_enc_copy because encoding is copied
6763 at str_replace_shared.
6765 Wed Feb 20 13:08:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6767 * instruby.rb (parse_args): added --dir-mode, --script-mode and
6768 --cmd-type options. [ruby-dev:33816]
6770 * instruby.rb (parse_args): added bin-arch and bin-comm to install
6771 type, for compiled files and script files.
6773 * instruby.rb (parse_args): deal with make style command line macros,
6774 and count as long style options if prefixed with INSTALL_.
6776 * instruby.rb (makedirs): use $dir_mode. [ruby-dev:33805]
6778 * instruby.rb (open_for_install): set file mode, which is now
6779 permission mode instead of access mode.
6781 * instruby.rb (bin-comm): installs scripts with replacing shebang
6784 Wed Feb 20 10:04:22 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6786 * io.c (open_key_args): set arg->io even if no options passed.
6789 Tue Feb 19 21:11:49 2008 NARUSE, Yui <naruse@ruby-lang.org>
6791 * string.c (rb_enc_strlen_cr): get length with coderange scan.
6793 * string.c (str_strlen): use rb_enc_strlen_cr. [ruby-dev:33849]
6795 Tue Feb 19 20:49:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6797 * eval.c (rb_raise_jump): moved adjustment for control frame.
6799 Tue Feb 19 18:34:32 2008 Tanaka Akira <akr@fsij.org>
6801 * gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed. [ruby-dev:33857]
6803 Tue Feb 19 14:27:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6805 * ext/readline/readline.c (readline_event): prevent polling. based on
6806 a patch from error errorsson in [ruby-Bugs-17675].
6808 Tue Feb 19 11:14:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6810 * eval.c (ruby_exec_node): no thread starts inside iseq compilation.
6812 * eval.c (rb_f_raise): skip current control frame. [ruby-core:15589]
6814 * insns.def (opt_div): raise as the ordinary method. [ruby-core:15589]
6816 Mon Feb 18 15:16:30 2008 Tanaka Akira <akr@fsij.org>
6818 * string.c (rb_str_each_line): fix newline size.
6820 Mon Feb 18 13:06:37 2008 Tanaka Akira <akr@fsij.org>
6822 * lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
6824 Mon Feb 18 11:51:19 2008 Tanaka Akira <akr@fsij.org>
6826 * re.c (re_warn): defined to restore warnings for /[a-c-e]/, etc.
6828 Mon Feb 18 10:17:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
6830 * ext/pty/lib/expect.rb (IO#expect): check if peer is closed.
6833 Mon Feb 18 00:33:03 2008 Tanaka Akira <akr@fsij.org>
6835 * re.c (rb_reg_regsub): don't repeat repl twice with
6836 "X".sub!(/./, sprintf("\\%c", 255)).
6838 Sun Feb 17 23:06:55 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
6840 * lib/cgi.rb (CGI::escapeHTML): use gsub with Hash. [ruby-dev:33828]
6842 Sun Feb 17 21:38:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
6844 * encoding.c (ENC_CODERANGE_AND): fix broken case. [ruby-dev:33826]
6846 * string.c (rb_str_times): fix broken case. [ruby-dev:33826]
6848 Sun Feb 17 20:45:10 2008 Tanaka Akira <akr@fsij.org>
6850 * re.c (rb_reg_prepare_re): add enable_warning parameter.
6851 (rb_reg_adjust_startpos): disable warning by rb_reg_prepare_re.
6852 (rb_reg_search): follow rb_reg_prepare_re parameter change.
6854 Sun Feb 17 20:12:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
6856 * test/ruby/test_regexp.rb: add tests to achieve over 90% test
6859 Sun Feb 17 15:25:08 2008 NARUSE, Yui <naruse@ruby-lang.org>
6861 * encoding.c (ENC_CODERANGE_AND): added.
6863 * string.c (rb_str_plus, rb_str_times): keep coderange.
6865 * parse.y (STR_NEW0) use rb_usascii_str_new.
6867 Sun Feb 17 14:07:24 2008 Tanaka Akira <akr@fsij.org>
6869 * string.c (str_strlen): rb_enc_strlen doesn't fail.
6871 Sun Feb 17 13:03:48 2008 Tanaka Akira <akr@fsij.org>
6873 * string.c (str_sublen): use rb_enc_strlen.
6875 Sun Feb 17 12:17:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
6877 * enc/{euc_jp.c,gbk.c,iso_8859_1.c,iso_8859_11.c,iso_8859_13.c,
6878 iso_8859_2.c,iso_8859_6.c,iso_8859_7.c,iso_8859_8.c,iso_8859_9.c,
6879 shift_jis.c,windows_1251.c}: add document about encodings.
6881 * enc/cp949.c: divided into new file.
6883 Sun Feb 17 10:59:04 2008 Tanaka Akira <akr@fsij.org>
6885 * re.c (rb_reg_quote): return US-ASCII string consistently.
6887 Sun Feb 17 09:17:08 2008 Tanaka Akira <akr@fsij.org>
6889 * string.c (rb_str_times): reduce loop overhead.
6891 Sun Feb 17 03:37:01 2008 Tanaka Akira <akr@fsij.org>
6893 * include/ruby/re.h (struct rmatch_offset): new struct for character
6895 (struct rmatch): new struct.
6896 (struct RMatch): reference struct rmatch.
6897 (RMATCH_REGS): new macro.
6899 * re.c (match_alloc): initialize struct rmatch.
6900 (pair_byte_cmp): new function.
6901 (update_char_offset): update character offsets.
6902 (match_init_copy): copy regexp and character offsets.
6903 (match_sublen): removed.
6904 (match_offset): use update_char_offset.
6905 (match_begin): ditto.
6907 (rb_reg_search): make character offset updated flag false.
6908 (match_size): use RMATCH_REGS.
6909 (match_backref_number): ditto.
6910 (rb_reg_nth_defined): ditto.
6911 (rb_reg_nth_match): ditto.
6912 (rb_reg_match_pre): ditto.
6913 (rb_reg_match_post): ditto.
6914 (rb_reg_match_last): ditto.
6915 (match_array): ditto.
6916 (match_aref): ditto.
6917 (match_values_at): ditto.
6918 (match_inspect): ditto.
6920 * string.c (rb_str_subpat_set): use RMATCH_REGS.
6921 (rb_str_sub_bang): ditto.
6923 (rb_str_split_m): ditto.
6926 * gc.c (obj_free): free character offsets.
6928 Sun Feb 17 03:13:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
6930 * win32/resource.rb: made version infos confirm to OS spec.
6932 * {bcc32,win32}/Makefile.sub (*.rc): add dependency.
6934 Sat Feb 16 20:49:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
6936 * string.c (rb_str_substr): optimized for UTF-8.
6938 Sat Feb 16 18:13:53 2008 Tanaka Akira <akr@fsij.org>
6940 * encoding.c (rb_enc_compatible): check encoding incapable arguments.
6942 Sat Feb 16 20:12:47 2008 Tanaka Akira <akr@fsij.org>
6944 * re.c (match_inspect): avoid SEGV with MatchData.allocate.inspect.
6946 Sat Feb 16 19:04:17 2008 NARUSE, Yui <naruse@ruby-lang.org>
6948 * string.c (str_strlen): revert r15507. [ruby-dev:33810]
6950 Sat Feb 16 18:25:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
6952 * string.c (str_strlen): little more optimization.
6953 (rb_enc_nth): remove needless variable 'c'.
6955 Sat Feb 16 18:00:13 2008 Tanaka Akira <akr@fsij.org>
6957 * encoding.c (rb_enc_compatible): empty strings are always compatible.
6959 * string.c (rb_enc_cr_str_buf_cat): ditto.
6961 Sat Feb 16 16:14:35 2008 Tanaka Akira <akr@fsij.org>
6963 * string.c (rb_enc_strlen): UTF-8 character count moved to str_strlen.
6964 (str_strlen): UTF-8 character count is only applicable for valid
6965 UTF-8 string. [ruby-dev:33807]
6967 Sat Feb 16 13:16:49 2008 Tanaka Akira <akr@fsij.org>
6969 * string.c (rb_str_sub_bang): stringize replacing hash values.
6972 Sat Feb 16 13:01:33 2008 NARUSE, Yui <naruse@ruby-lang.org>
6974 * string.c (rb_enc_strlen): add search_nonascii like character
6977 Sat Feb 16 11:53:35 2008 Tanaka Akira <akr@fsij.org>
6979 * encoding.c (rb_enc_strlen): moved to string.c.
6981 * string.c (rb_enc_strlen): use search_nonascii.
6982 (str_strlen): don't use search_nonascii.
6984 Sat Feb 16 11:45:31 2008 Tanaka Akira <akr@fsij.org>
6986 * lib/require_relative.rb: check require_relative call in eval.
6988 Sat Feb 16 08:00:01 2008 NARUSE, Yui <naruse@ruby-lang.org>
6990 * ruby.c (process_options): set default_external before loading
6991 libraries. [ruby-dev:33801]
6993 Sat Feb 16 05:49:54 2008 NARUSE, Yui <naruse@ruby-lang.org>
6995 * enc/iso_8859_{4,13}.c: Windows-1257 is replica of ISO-8859-13.
6997 * string.c (single_byte_optimizable): rb_enc_mbminlen must be 1
6998 when rb_enc_mbmaxlen is 1.
7000 Sat Feb 16 03:43:18 2008 Tanaka Akira <akr@fsij.org>
7002 * encoding.c (rb_enc_nth): moved to string.c.
7004 * string.c (rb_enc_nth): moved from string.c. use search_nonascii
7005 for ASCII compatible string.
7006 (str_nth): wrong optimization removed to fix
7007 "a".force_encoding("EUC-JP").slice!(0,10) returns
7008 "a\x00\x00\x00\x00\x00\x00\x00\x00\x00"
7010 Sat Feb 16 00:21:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7012 * range.c (rb_range_beg_len): check if responds to "begin" and "end"
7013 methods for non-Range object.
7015 Fri Feb 15 20:29:42 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
7017 * ext/win32ole/win32ole.c (ole_init_cp): initialize WIN32OLE.codepage
7018 according to Encoding.default_external.
7020 * test/win32ole/test_win32ole.rb: ditto.
7022 Fri Feb 15 19:31:23 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7024 * include/ruby/node.h (NODE_FL_NEWLINE): renamed from NODE_NEWLINE
7025 to denote its a flag. [ruby-core:15529]
7027 Fri Feb 15 18:23:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7029 * string.c (rb_str_sub_bang, str_gsub): allows hash for replacement.
7031 Fri Feb 15 17:12:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7033 * string.c (str_strlen): use search_nonascii() for performance.
7035 * string.c (str_nth): ditto.
7037 Fri Feb 15 16:22:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7039 * io.c (open_key_args): allow specifying both :mode and :encoding.
7041 Fri Feb 15 15:34:47 2008 Tanaka Akira <akr@fsij.org>
7043 * string.c (rb_str_getbyte): new method.
7044 (rb_str_setbyte): new method.
7046 Fri Feb 15 15:29:03 2008 Tanaka Akira <akr@fsij.org>
7048 * lib/require_relative.rb: new file.
7050 Fri Feb 15 15:23:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7052 * ext/iconv/iconv.c (iconv_convert): check upper bound. a patch from
7053 Daniel Luz at [ruby-Bugs-17910].
7055 Fri Feb 15 10:35:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7057 * re.c (rb_reg_quote): set US-ASCII for ASCII-only string.
7060 Fri Feb 15 10:27:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7062 * {win,bcc}32/Makefile.sub (config.h): added HAVE_FTRUNCATE.
7065 Fri Feb 15 09:44:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7067 * parse.y (reg_compile_gen): reg_fragment_setenc might not raise an
7068 exception before rb_reg_compile.
7070 Fri Feb 15 07:37:40 2008 Eric Hodel <drbrain@segment7.net>
7072 * lib/rdoc/ri/paths.rb: Preserve compatibility with 1.8.
7074 Fri Feb 15 02:42:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7076 * configure.in (ftruncate): check if available.
7078 * file.c (rb_file_truncate): check if ftruncate instead of truncate.
7080 Fri Feb 15 02:40:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7082 * configure.in (sigsetmask): check when signal semantics is not POSIX.
7084 * signal.c (USE_TRAP_MASK): set true if sigprocmask or sigsetmask is
7087 Thu Feb 14 23:56:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7089 * eval_error.c (error_print): append a newline to rest lines.
7091 * parse.y (reg_compile_gen): appends error message from
7092 rb_reg_compile() to one from reg_fragment_setenc().
7094 Thu Feb 14 21:00:14 2008 Tanaka Akira <akr@fsij.org>
7096 * io.c (io_reopen): check STDIN, STDOUT and STDERR mode according to
7099 Thu Feb 14 16:07:40 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7101 * test/ruby/test_math.rb: actual-expected argument ordering for
7102 test_math.rb fixed. a patch from Tadashi Saito
7103 <shiba AT mail2.accsnet.ne.jp> in [ruby-dev:33770].
7105 Thu Feb 14 16:02:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7107 * file.c (rb_file_s_utime): inhibits with secure level 2 or higher.
7109 Thu Feb 14 12:30:02 2008 Tanaka Akira <akr@fsij.org>
7111 * re.c (rb_reg_preprocess_dregexp): use non-preprocessed regexp source
7114 Thu Feb 14 01:43:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7116 * lib/timeout.rb (Timeout::timeout): made sensitive to location on the
7117 stack. [ruby-core:15458]
7119 Thu Feb 14 00:49:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7121 * common.mk (INSTRUBY_ARGS): pass mode to install. [ruby-dev:33766]
7123 * instruby.rb (parse_args): added --data-mode and --prog-mode options.
7125 Thu Feb 14 00:02:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
7127 * eval.c (eval): allow to eval in a binding that has a singleton method.
7130 * test/ruby/test_proc.rb: add tests to achieve over 70% test coverage
7133 * test/ruby/test_method.rb: ditto.
7135 Wed Feb 13 22:46:36 2008 Tanaka Akira <akr@fsij.org>
7137 * lib/pathname.rb (Pathname#sub_ext): new method. [ruby-list:44608]
7139 Wed Feb 13 21:50:32 2008 Yusuke Endoh <mame@tsg.ne.jp>
7141 * proc.c (proc_curry): new method. [ruby-dev:33676]
7143 * test/ruby/test_proc.rb: add tests for above.
7145 Wed Feb 13 20:48:50 2008 Tanaka Akira <akr@fsij.org>
7147 * include/ruby/ruby.h (RObject): add iv_index_tbl for shortcut of
7148 RCLASS_IV_INDEX_TBL(rb_obj_class(obj)).
7149 (ROBJECT_IV_INDEX_TBL): defined.
7151 * object.c (init_copy): initialize iv_index_tbl in struct RObject.
7153 * variable.c (ivar_get): use ROBJECT_IV_INDEX_TBL.
7154 (rb_ivar_defined): ditto.
7155 (obj_ivar_each): ditto.
7156 (rb_obj_remove_instance_variable): ditto.
7157 (rb_ivar_set): update iv_index_tbl in struct RObject.
7159 Wed Feb 13 16:21:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
7161 * lib/uri/generic.rb: revert r15442. 2nd argument of String#sub parse
7162 escapes. [ruby-dev:33726]
7164 * bootstraptest/test_method.rb, enc/depend, instruby.rb, lib/mkmf.rb,
7165 mkconfig.rb: revert r15443. ditto.
7167 Wed Feb 13 11:20:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7169 * enc/depend: fix typo.
7171 * lib/mkmf.rb: revert r15443. "\\1#{sep}\\2" is wrong if sep is ended
7174 Wed Feb 13 08:57:21 2008 Eric Hodel <drbrain@segment7.net>
7176 * lib/rdoc/markup/inline.rb: Allow inline markup to have a leading
7177 '#' or '\', or trailing punctuation. i.e. *#freeze?*, *\foo?*.
7179 Wed Feb 13 07:21:23 2008 Eric Hodel <drbrain@segment7.net>
7181 * lib/rdoc/to_html_hyperlink.rb: Moved linking to to_html.rb, move
7182 crossref to to_html_crossref.rb
7184 Wed Feb 13 04:15:44 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7186 * parse.y (arg_concat_gen, arg_append_gen): optimize for array push.
7188 * parse.y (arg_concat_gen): optimize for array concat.
7190 * parse.y (arg_add_gen): removed since identical to arg_append_gen.
7192 Tue Feb 12 21:04:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7194 * parse.y (exc_list): should use mrhs if non array.
7196 Tue Feb 12 20:32:50 2008 Tadayoshi Funaba <tadf@dotrb.org>
7198 * lib/rational.rb (floor, ceil, truncate, round): do not use
7199 definitions of Numeric.
7201 * lib/rational.rb (to_i): should returns truncated self.
7203 * lib/complex.rb (numerator): requires
7204 Integer#{numerator,denominator}.
7206 * lib/complex.rb (quo): do not use definition of Numeric.
7208 * lib/complex.rb (>, >=, <, <=, between?, div, divmod, modulo,
7209 floor, ceil, truncate, round): undef'ed.
7211 * lib/mathn.rb (Rational#inspect): removed.
7213 Tue Feb 12 16:48:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7215 * parse.y (args, mrhs): flattens literal array splats.
7217 * parse.y (exc_list): splat literal array.
7219 Tue Feb 12 15:27:19 2008 NARUSE, Yui <naruse@ruby-lang.org>
7221 * bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,
7222 instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
7223 mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
7224 test/ruby/test_stringchar.rb: fixes around String#gsub.
7227 Tue Feb 12 15:11:47 2008 NARUSE, Yui <naruse@ruby-lang.org>
7229 * ext/json/lib/json/pure/generator.rb,
7230 ext/json/lib/json/pure/parser.rb, ext/openssl/lib/openssl/x509.rb,
7231 ext/win32ole/sample/olegen.rb, lib/date/format.rb, lib/irb/context.rb,
7232 lib/irb/workspace.rb, lib/net/http.rb, lib/net/imap.rb,
7233 lib/rdoc/generator.rb, lib/rdoc/markup/to_html.rb,
7234 lib/rdoc/markup/to_latex.rb, lib/rdoc/parsers/parse_c.rb,
7235 lib/rdoc/ri/formatter.rb, lib/rexml/parsers/baseparser.rb,
7236 lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rss/parser.rb,
7237 lib/uri/common.rb, lib/uri/generic.rb, lib/webrick/httpresponse.rb,
7238 lib/webrick/httpservlet/filehandler.rb, lib/yaml/baseemitter.rb,
7239 lib/yaml/encoding.rb: performance tuning around String#gsub.
7241 Tue Feb 12 12:16:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7243 * string.c (rb_str_hash_cmp): lighter version of rb_str_cmp() for
7244 hash comparison function.
7246 * hash.c (rb_any_cmp): use rb_str_hash_cmp().
7248 * string.c (rb_str_casecmp): should return nil for incompatible
7251 Tue Feb 12 12:13:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7253 * instruby.rb: specify file mode to install. a patch from
7254 pegacorn <subscriber.jp AT gmail.com> in [ruby-dev:33699].
7256 Tue Feb 12 11:38:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7258 * numeric.c (rb_num_coerce_bin): add ID argument to specify
7259 caller's method name. [ruby-dev:33663]
7261 * numeric.c (rb_num_coerce_cmp): ditto.
7263 * numeric.c (rb_num_coerce_relop): ditto.
7265 * ext/bigdecimal/bigdecimal.c (DoSomeOne): add function name argument.
7267 Tue Feb 12 10:25:02 2008
7269 * lib/rdoc/rdoc.rb: Wrap parse_files' read in version check for
7270 backwards compatibility.
7272 Tue Feb 12 10:15:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
7274 * ruby.c (load_file): enc must effect source encoding.
7277 Tue Feb 12 10:16:47 2008 Eric Hodel <drbrain@segment7.net>
7279 * lib/rdoc/ri/paths.rb: Restore require rubygems check.
7281 Tue Feb 12 02:42:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7283 * range.c (range_include): specialize single character string
7284 case (e.g. (?a ..?z).include(?x)) for performance.
7287 * string.c (rb_str_upto): specialize single character case.
7289 * string.c (rb_str_hash): omit coderange scan for performance.
7291 * object.c (rb_check_to_integer): check Fixnum first.
7293 * object.c (rb_to_integer): ditto.
7295 * string.c (rb_str_equal): inline memcmp to avoid unnecessary
7296 rb_str_comparable().
7298 * parse.y (rb_intern2): use US-ASCII encoding.
7300 * parse.y (rb_intern_str): ditto.
7302 Mon Feb 11 17:21:18 2008 Kouhei Sutou <kou@cozmixng.org>
7304 * lib/rss/rss.rb (RSS::VERSION), test/rss/test_version.rb:
7307 * lib/rss/maker.rb, lib/rss/maker/, test/rss/test_maker_2.0.rb:
7308 fixed a bug that RSS::Maker.make("0.9")'s item doesn't make some
7309 elements if description is missed.
7310 Reported by Michael Auzenne. Thanks!!!
7312 * lib/rss/maker/0.9.rb, test/rss/test_maker_0.9.rb:
7313 RSS::Maker.make("0.9") generates RSS 0.92 not RSS 0.91.
7315 Mon Feb 11 10:43:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
7317 * ruby.c (load_file): the encoding of DATA follows the source
7318 file encoding. [ruby-dev:33693]
7320 Mon Feb 11 06:50:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
7322 * test/ruby/test_pack.rb: fix tests for 64bit CPU.
7324 * test/ruby/test_bignum.rb: ditto.
7326 * test/ruby/test_file_exhaustive.rb: ditto.
7328 * test/ruby/test_integer.rb: ditto.
7330 * test/ruby/test_time.rb: ditto.
7332 * test/ruby/test_numeric.rb: ditto.
7334 * test/ruby/test_fixnum.rb: ditto.
7336 Mon Feb 11 00:18:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
7338 * lib/benchmark.rb (Job::Benchmark#item): fix typo.
7340 Sun Feb 10 21:58:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
7342 * common.mk (encdb, transdb): depend on $(PREP).
7344 Sun Feb 10 16:58:20 2008 Eric Hodel <drbrain@segment7.net>
7346 * lib/rubygems*, test/rubygems*, gem_prelude.rb: Import RubyGems
7347 r1601. [ruby-core:15381]
7349 Sun Feb 10 15:07:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7351 * {bcc32,win32,wince}/Makefile.sub (MISSING): added cbrt.obj.
7353 Sun Feb 10 12:58:33 2008 Eric Hodel <drbrain@segment7.net>
7355 * lib/rdoc/code_objects.rb: Make some attributes accessible for reuse.
7356 * lib/rdoc/generator/html.rb: Pull out ContextUser classes and related
7358 * lib/rdoc/generator.rb: Move ContextUser classes to
7359 RDoc::Generator::Context for reuse.
7360 * lib/rdoc/rdoc.rb: Make RDoc::RDoc initialization a little easier.
7361 * lib/rdoc/options.rb: Make RDoc::Options easier to use without
7363 * lib/rdoc/markup/to_*.rb: Subclass RDoc::Markup::Formatter.
7364 * lib/rdoc/markup/formatter.rb: Add RDoc::Markup::Formatter to make
7365 RDoc markup conversion easier.
7366 * lib/rdoc/markup/fragments.rb: Make RDoc::Markup::ListItem easier to
7368 * lib/rdoc/markup/to_html_hyperlink.rb: Pulled out of the HTML
7369 generator for easier reusability.
7370 * lib/rdoc/markup.rb: Fix bug with labeled lists containing bullet
7372 * lib/rdoc/generators/html/html.rb: Fix Constant display.
7374 Sat Feb 9 23:44:29 2008 Tanaka Akira <akr@fsij.org>
7376 * missing/tgamma.c (tgamma): use lgamma_r if available.
7378 Sat Feb 9 23:22:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7380 * ext/bigdecimal/extconf.rb: simplified the condition.
7382 Sat Feb 9 21:20:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
7384 * test/ruby/test_math.rb: add tests for Math.gamma, Math.lgamma and
7385 Math.cbrt, and use assert_in_delta instead of assert.
7387 Sat Feb 9 18:34:45 2008 Tanaka Akira <akr@fsij.org>
7389 * math.c (math_cbrt): new method Math.cbrt.
7391 * configure.in (cbrt): check for replacement functions.
7393 * missing/cbrt.c: new file.
7395 Sat Feb 9 17:51:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7397 * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more
7398 precision. [ruby-talk:290296]
7400 * ext/bigdecimal/bigdecimal.c (BASE_FIG): made constant.
7402 * ext/bigdecimal/extconf.rb: ditto. [ruby-dev:33658]
7404 Sat Feb 9 12:06:45 2008 Tanaka Akira <akr@fsij.org>
7406 * missing/tgamma.c (tgamma): add error check.
7408 Sat Feb 9 11:47:03 2008 Tanaka Akira <akr@fsij.org>
7410 * math.c (math_gamma): add error check.
7411 (math_lgamma): ditto.
7413 Sat Feb 9 11:09:26 2008 Tanaka Akira <akr@fsij.org>
7415 * missing/lgamma_r.c (lgamma_r): return HUGE_VAL for non-positive
7418 Sat Feb 9 10:03:07 2008 Tanaka Akira <akr@fsij.org>
7420 * string.c (rb_str_new4): copy encoding from orig, instead of shared
7423 Sat Feb 09 01:01:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
7425 * file.c (lchmod_internal): fix warning cast from pointer to integer of
7428 Sat Feb 9 00:44:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7430 * lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than
7431 SystemExit and SignalException. [ruby-core:15359]
7433 Fri Feb 8 23:51:36 2008 Tanaka Akira <akr@fsij.org>
7435 * missing/lgamma_r.c (lgamma_r): use smaller argument for sin function.
7437 Fri Feb 8 22:10:36 2008 Tanaka Akira <akr@fsij.org>
7439 * lib/open-uri.rb (OpenURI.open_http): rescue URI::InvalidURIError by
7440 URI.parse for location URI.
7442 Fri Feb 8 19:22:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7444 * ext/iconv/iconv.c (rb_str_derive): uses rb_str_subseq() for byte
7445 length. [ruby-dev:33653]
7447 * ext/iconv/iconv.c (iconv_convert): added toidx argument to set
7448 encoding of successfully converted string. [ruby-dev:33221]
7450 Fri Feb 8 15:09:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7452 * lib/mkmf.rb (xsystem): expand macros like as make.
7454 Fri Feb 8 09:27:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
7456 * lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
7458 Fri Feb 8 00:07:24 2008 Yusuke Endoh <mame@tsg.ne.jp>
7460 * test/ruby/test_hash.rb: follow the change of Hash#flatten.
7462 * test/ruby/test_time.rb: add tests to achieve over 70% test coverage
7465 * test/ruby/test_prec.rb: ditto over 90% for prec.c.
7467 Thu Feb 7 19:11:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7469 * string.c (rb_str_dup): reverted unneeded change. [ruby-dev:33634]
7471 * string.c (rb_str_replace): makes frozen shared string before
7474 Thu Feb 7 16:33:51 2008 Tanaka Akira <akr@fsij.org>
7476 * io.c (io_reopen): don't change access mode for stdin, stdout and
7477 stderr. [ruby-core:15360]
7479 Thu Feb 7 16:33:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7481 * string.c (str_replace_shared): replaces string with sharing.
7483 * string.c (rb_str_new4, rb_str_associate, rb_str_associated): allows
7484 associated strings shared.
7486 * string.c (rb_str_dup, rb_str_substr, rb_str_replace): shares memory.
7489 Thu Feb 7 15:42:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7491 * string.c (rb_str_end_with): compares with the suffix.
7493 Thu Feb 7 15:03:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
7495 * enc/trans/korean.c: add support for CP949 by Park Ji-In.
7498 Thu Feb 7 11:11:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7500 * missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
7501 by literal 0.0. use const variable instead.
7503 * {bcc32,win32,wince}/Makefile.sub (MISSING): add lgamma_r.obj and
7506 Thu Feb 7 10:39:21 2008 Tanaka Akira <akr@fsij.org>
7508 * math.c (math_gamma): new method Math.gamma.
7509 (math_lgamma): new method Math.lgamma.
7511 * include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA.
7512 (lgamma_r): declared unless HAVE_LGAMMA_R.
7514 * configure.in (tgamma): check for replacement functions.
7517 * missing/tgamma.c: new file. based on gamma.c from
7518 "C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook
7519 in C language) (Gijyutsu hyouron sha, Tokyo, 1991)
7520 by Haruhiko Okumura.
7522 * missing/lgamma_r.c: ditto.
7524 * LEGAL (missing/tgamma.c): describe as public domain.
7525 (missing/lgamma_r.c): ditto.
7527 Thu Feb 7 09:05:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7529 * ext/nkf/nkf-utf8/nkf.c (nkf_enc_from_index): BINARY does not
7530 have in-bound encoding index.
7532 Thu Feb 7 04:26:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
7534 * enc/trans/korean.c: add EUC-KR conversion support by Park Ji-In.
7537 Wed Feb 6 01:47:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7539 * hash.c (rb_hash_flatten): do not flatten recursively by default.
7542 Wed Feb 6 00:50:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7544 * insns.def (adjuststack): never use INC_SP with minus value because
7545 some compilers cannot deal it correctly. use DEC_SP instead.
7547 Wed Feb 6 00:48:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
7549 * test/ruby/test_hash.rb: add tests to achieve over 90% test coverage
7552 * test/ruby/test_env.rb: ditto.
7554 Wed Feb 6 00:24:49 2008 Yusuke Endoh <mame@tsg.ne.jp>
7556 * hash.c (env_rassoc): remove access to free'd environment on mswin32.
7558 Tue Feb 5 21:57:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
7560 * vm.c (rb_call_super): pass a passed block when super is called via
7561 rb_call_super. [ruby-dev:33598]
7563 Tue Feb 5 11:14:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7565 * lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR.
7567 * lib/mkmf.rb (install_files): rejects files matching to
7570 * lib/mkmf.rb (init_mkmf): defaults $NONINSTALLFILES to backup and
7573 Mon Feb 4 21:52:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7575 * lib/delegate.rb (DelegateClass): use define_method instead of
7576 module_eval to improve performance. [ruby-dev:33586]
7578 Mon Feb 4 16:44:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7580 * configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L.
7583 Mon Feb 4 14:51:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7585 * parse.y (rb_enc_symname2_p): support "!", "!=" and "!~".
7588 Mon Feb 4 13:58:42 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7590 * lib/delegate.rb (Delegator.preserved, DelegateClass.methods): extend
7591 shouldn't be delegated. [ruby-dev:32987], etc.
7593 Mon Feb 4 08:59:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7595 * lib/cgi.rb (CGI::QueryExtension::[]): no more transition
7596 extend(CGI::Value). a patch from <tommy AT tmtm.org> in
7599 Sun Feb 3 21:13:13 2008 Yusuke Endoh <mame@tsg.ne.jp>
7601 * test/ruby/test_numeric.rb: forgot to add this (at r15360).
7603 * test/ruby/test_file_exhaustive.rb: add tests to achieve over 80% test
7606 Sat Feb 2 20:06:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7608 * lib/benchmark.rb (Benchmark::realtime): make Benchmark#realtime
7609 a bit faster. a patch from Alexander Dymo <dymo AT ukrpost.ua> in
7612 Sat Feb 2 17:40:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
7614 * time.c (time_cmp): Time.<=> no longer supports comparison with
7615 numeric. [ruby-core:15332]
7617 Sat Feb 2 09:53:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7619 * configure.in (darwin): disabled fat-binary support which confuses
7620 configure much, since ``universal'' implies hidden cross-compiling.
7621 TODO: ruby and libruby.bundle might be possible to bound with `lipo'
7622 after builds for each archs. Anyway, config.h and rbconfig.rb must
7623 be separated definitely at least.
7625 Sat Feb 2 09:28:36 2008 Tanaka Akira <akr@fsij.org>
7627 * random.c (limited_big_rand): fix buffer overflow when SIZEOF_BDIGITS
7628 is 2. fixed by Kenta Murata. [ruby-dev:33565]
7630 Fri Feb 1 21:42:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7632 * configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_t
7633 consistent with the library implementation of MacOS X 10.5.
7636 * configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.
7638 Fri Feb 1 11:44:22 2008 Tanaka Akira <akr@fsij.org>
7640 * tool/compile_prelude.rb (C_ESC): use octal escape to avoid
7641 "\x09for (;;) ..." to be interpret the first character 0x9f.
7643 Thu Jan 31 23:06:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
7645 * test/ruby/test_bignum.rb: suppress warnings during test.
7647 * test/ruby/test_enum.rb: ditto.
7649 * test/ruby/test_integer.rb: add tests to achieve over 90% test
7650 coverage of numeric.c.
7652 * test/ruby/test_float.rb: ditto.
7654 * test/ruby/test_fixnum.rb: ditto.
7656 * test/ruby/test_numeric.rb: ditto.
7658 * test/ruby/test_pack.rb: add tests to achieve over 90% test coverage
7661 Thu Jan 31 17:30:42 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7663 * marshal.c (r_object0): no need to call r_entry for immediate values.
7665 Thu Jan 31 15:46:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7667 * lib/rdoc/ri/formatter.rb (output): add accessor.
7669 * lib/rdoc/ri/display.rb (page): replace @formatter.output instead of
7672 Thu Jan 31 15:06:50 2008 NARUSE, Yui <naruse@ruby-lang.org>
7674 * marshal.c (r_object0): call r_entry/r_leave to call proc when
7675 TYPE_FIXNUM, TYPE_NIL, TYPE_TRUE, TYPE_FALSE, TYPE_SYMBOL.
7677 Thu Jan 31 14:03:38 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7679 * lib/rdoc/ri/display.rb (display_method_list, display_class_list):
7680 use @formatter.raw_print_line instead of puts.
7682 * lib/rdoc/ri/driver.rb (select_methods): new method to collect all
7683 instance/class methods which match with passed pattern.
7685 * lib/rdoc/ri/driver.rb (run): use class_cache's result directly
7686 instead of select_classes' because it's removed now.
7688 * lib/rdoc/ri/driver.rb (run): search methods when passed name is not
7689 class name. [ruby-core:15309]
7691 Thu Jan 31 08:31:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7693 * common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that can
7694 be executed even with -n.
7696 Thu Jan 31 06:24:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7698 * io.c (rb_io_close_read): replaces fptr with the tied writer if
7701 * io.c (rb_io_close_write): unties the tied IO for writing if duplex.
7704 Thu Jan 31 02:22:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7706 * io.c (open_key_args): allow encoding key to take two encoding
7707 names. a patch from <rubikitch AT ruby-lang.org>. [ruby-dev:33540]
7709 Thu Jan 31 02:15:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7711 * parse.y (dsym): allow empty symbols. [ruby-core:15248]
7713 Thu Jan 31 00:01:51 2008 Tanaka Akira <akr@fsij.org>
7715 * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'.
7716 fixed by Petr Chromec.
7717 http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698
7719 Wed Jan 30 17:32:49 2008 NARUSE, Yui <naruse@ruby-lang.org>
7721 * enc/*.c: add GB12345, UCS-{2,4}{BE,LE}.
7723 Wed Jan 30 14:32:18 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7725 * lib/rdoc/ri/driver.rb (cache_file_for): shouldn't use `:' in filename.
7727 Wed Jan 30 14:27:19 2008 Tanaka Akira <akr@fsij.org>
7729 * string.c (rb_str_succ): use wrapped character as a carry for
7730 ASCII incompatible encoding.
7732 Wed Jan 30 12:26:59 2008 Tanaka Akira <akr@fsij.org>
7734 * enc/utf_16be.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
7735 (UTF16_IS_SURROGATE_SECOND): ditto.
7736 (UTF16_IS_SURROGATE): defined.
7737 (utf16be_mbc_enc_len): validation implemented.
7739 * enc/utf_16le.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
7740 (UTF16_IS_SURROGATE_SECOND): ditto.
7741 (UTF16_IS_SURROGATE): defined.
7742 (utf16le_mbc_enc_len): validation implemented.
7744 Wed Jan 30 12:06:43 2008 Tadayoshi Funaba <tadf@dotrb.org>
7746 * bignum.c (rb_cstr_to_inum): '0_2' is a valid representation.
7748 Wed Jan 30 11:57:50 2008 NARUSE, Yui <naruse@ruby-lang.org>
7750 * bootstraptest/runner.rb: fix -I../../hoge case.
7752 Wed Jan 30 01:25:16 2008 Yusuke Endoh <mame@tsg.ne.jp>
7754 * test/ruby/test_range.rb: add tests to achieve over 90% test coverage
7757 Wed Jan 30 00:09:37 2008 Tanaka Akira <akr@fsij.org>
7759 * enc/euc_tw.c (euctw_mbc_enc_len): validation implemented.
7761 Tue Jan 29 22:58:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
7763 * test/ruby/test_enumerator.rb: add tests to achieve over 90% test
7764 coverage of enumerator.c.
7766 * test/ruby/test_enum.rb: add for enum.c.
7768 Tue Jan 29 22:29:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
7770 * enumerator.c: fix documents.
7772 Tue Jan 29 22:27:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
7774 * range.c: fix SEGV by ("a" .. "z").step(2 ** 30) { }.
7776 Tue Jan 29 21:59:16 2008 Tanaka Akira <akr@fsij.org>
7778 * enc/euc_tw.c (euctw_islead): 0x8e is a leading byte.
7780 Tue Jan 29 21:55:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
7782 * bignum.c: move object allocation out of blocking_region.
7785 Tue Jan 29 20:37:36 2008 NARUSE, Yui <naruse@ruby-lang.org>
7787 * enc/trans/make_transdb.rb: add for make transdb.h.
7789 * dmytranscode.c: add for miniruby.
7791 * enc/gbk.c (gbk_left_adjust_char_head, gbk_is_allowed_reverse_match):
7792 fix odd regexp match. [ruby-dev:33502]
7794 Tue Jan 29 20:17:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7796 * {bcc32,win32}/Makefile.sub (MINIOBJS): add dmytranscode.$(OBJEXT).
7798 Tue Jan 29 19:39:40 2008 NARUSE, Yui <naruse@ruby-lang.org>
7800 * configure.in, common.mk: fix rule for dmytranscode.o.
7802 Tue Jan 29 19:03:16 2008 NARUSE, Yui <naruse@ruby-lang.org>
7804 * enc/trans/japanese.c (rb_to_Windows_31J): to 'Windows-31J'.
7806 * common.mk: add rules for transdb.h.
7808 * transcode.c (init_transcoder_table): use transdb.h.
7810 Tue Jan 29 18:05:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7812 * encoding.c (encdb_{replicate,alias,dummy,declare}): define only if
7813 NO_ENCDB_H is not defined.
7815 Tue Jan 29 17:54:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
7817 * enc/gbk.c (EncLen_gbk): too short. [ruby-dev:33497]
7819 Tue Jan 29 17:25:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
7821 * dmyencoding.c, encoding.c (enc_init_db, NO_ENCDB_H):
7822 miniruby doesn't use encdb.
7824 * common.mk: encdb.h use miniruby.
7826 Tue Jan 29 17:37:36 2008 Tanaka Akira <akr@fsij.org>
7828 * enc/gb18030.c (gb18030_mbc_enc_len): validation implemented.
7830 Tue Jan 29 17:01:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
7832 * tool/ifchange: remove $temp when unchanged.
7834 Tue Jan 29 16:59:01 2008 Tanaka Akira <akr@fsij.org>
7836 * insns.def (toregexp): generate a regexp from strings instead of one
7839 * re.c (rb_reg_new_ary): defined for toregexp. it concatenates
7840 strings after each string is preprocessed.
7842 * compile.c (compile_dstr_fragments): split from compile_dstr.
7843 (compile_dstr): call compile_dstr_fragments.
7844 (compile_dregx): defined for dynamic regexp.
7845 (iseq_compile_each): use compile_dregx for dynamic regexp.
7849 Tue Jan 29 16:25:26 2008 NARUSE, Yui <naruse@ruby-lang.org>
7851 * common.mk, ext/extmk.rb: always make encdb.h.
7853 Tue Jan 29 12:53:39 2008 NARUSE, Yui <naruse@ruby-lang.org>
7855 * enc/gbk.c: add GBK, CP936 and CP949.
7857 * enc/euc_kr.c: remove CP949.
7859 * enc/euc_cn.c: remove CP936 and rename to gb2312.c
7861 * enc/gb2312.c: GB2312 is preferred MIME name.
7863 Tue Jan 29 03:01:29 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7865 * parse.y (reg_fragment_setenc_gen): US-ASCII script special code.
7867 * parse.y (reg_fragment_check_len, reg_compile_gen): no need such
7871 * test/ruby/test_m17n.rb (test_regexp_usacii_literal): add tests.
7873 Tue Jan 29 01:38:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7875 * common.mk ($(srcdir)/revision.h): no need to show ifchange execution
7876 because ifchange echos updated or unchanged.
7878 Tue Jan 29 01:26:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7880 * common.mk (up): use last changed revision.
7882 * common.mk (up): force to update revision.h.
7884 Tue Jan 29 00:12:17 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7886 * bignum.c (rb_big2str0): should be US-ASCII.
7888 Tue Jan 29 00:10:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7890 * misc/ruby-mode.el (ruby-mode-set-encoding): updates magic comment.
7892 Mon Jan 28 23:47:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
7894 * parse.y (rb_id2str, ripper_initialize, Init_ripper):
7895 use rb_usascii_str_new2. [ruby-dev:33449]
7897 Mon Jan 28 19:37:08 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7899 * ext/win32ole/win32ole.c (ole_cp2encoding): new function.
7901 * ext/win32ole/win32ole.c (ole_wc2vstr, ole_variant2val, fole_missing):
7902 set encoding to result.
7904 * ext/win32ole/win32ole.c (fole_s_set_code_page, Init_win32ole): set
7908 Mon Jan 28 11:17:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
7910 * string.c, parse.y, re.c: use rb_ascii8bit_encoding.
7912 Mon Jan 28 17:54:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
7914 * enc/utf_7.h: add dummy encoding UTF-7 and its alias CP65000.
7916 Mon Jan 28 17:41:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7918 * enc/utf_8.c: add alias CP65001.
7920 Mon Jan 28 15:33:23 2008 Tanaka Akira <akr@fsij.org>
7922 * enc/big5.c (big5_mbc_enc_len): validation implemented.
7924 Mon Jan 28 13:02:02 2008 Tanaka Akira <akr@fsij.org>
7926 * enc/euc_kr.c (euckr_mbc_enc_len): validation implemented.
7928 Mon Jan 28 11:24:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7930 * parse.y (parser_str_new): encoding of UTF-8 literal string in
7931 US-ASCII script is UTF-8. [ruby-dev:33406]
7933 Mon Jan 28 10:25:59 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7935 * test/ruby/test_m17n.rb (test_magic_comment): add test.
7937 Mon Jan 28 09:34:54 2008 NAKAMURA Usaku <usa@ruby-lang.org>
7939 * common.mk (help): use double quotes for nmake.
7941 Mon Jan 28 00:39:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7943 * parse.y (parser_set_encode): check if encoding is ASCII compatible.
7945 Mon Jan 28 01:21:15 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
7947 * io.c (rb_open_file): should check NUL in path.
7948 <http://www.rubyist.net/~matz/20080125.html#c01>.
7950 * io.c (rb_io_s_popen): ditto.
7952 * io.c (rb_io_reopen): ditto.
7954 * io.c (next_argv): ditto.
7956 Sun Jan 27 23:33:35 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
7958 * sprintf.c (rb_str_format): fix for left justify flag.
7960 * sprintf.c (rb_str_format): zero-precision zero bug revised.
7963 Sun Jan 27 23:20:54 2008 Tanaka Akira <akr@fsij.org>
7965 * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid
7967 (onigenc_mbclen_charfound): removed.
7968 (onigenc_mbclen_needmore): removed.
7969 (onigenc_mbclen_recover): removed.
7970 (ONIGENC_MBCLEN_CHARFOUND): removed.
7971 (ONIGENC_MBCLEN_CHARFOUND_P): defined.
7972 (ONIGENC_MBCLEN_CHARFOUND_LEN): defined.
7973 (ONIGENC_MBCLEN_INVALID): removed.
7974 (ONIGENC_MBCLEN_INVALID_P): defined.
7975 (ONIGENC_MBCLEN_NEEDMORE): removed.
7976 (ONIGENC_MBCLEN_NEEDMORE_P): defined.
7977 (ONIGENC_MBCLEN_NEEDMORE_LEN): defined.
7978 (ONIGENC_MBC_ENC_LEN): use onigenc_mbclen_approximate.
7980 * regenc.c (onigenc_mbclen_approximate): defined.
7982 * include/ruby/encoding.h (MBCLEN_CHARFOUND): removed.
7983 (MBCLEN_INVALID): removed.
7984 (MBCLEN_NEEDMORE): removed.
7985 (MBCLEN_CHARFOUND_P): defined.
7986 (MBCLEN_INVALID_P): defined.
7987 (MBCLEN_NEEDMORE_P): defined.
7988 (MBCLEN_CHARFOUND_LEN): defined.
7989 (MBCLEN_NEEDMORE_LEN): defined.
7991 * encoding.c: use new API.
7999 Sun Jan 27 22:55:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8001 * parse.y (value_expr_gen): reverted r12880. [ruby-dev:33388]
8003 Sun Jan 27 22:33:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8005 * sprintf.c (rb_str_format): fix for octal with precision.
8008 Sun Jan 27 22:31:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8010 * misc/ruby-mode.el (ruby-mode-set-encoding): automatically insert
8011 encoding magic comment.
8013 * misc/ruby-mode.el (ruby-mode): set ruby-mode-set-encoding to buffer
8014 local before-save-hook.
8016 Sun Jan 27 19:51:15 2008 Tanaka Akira <akr@fsij.org>
8018 * string.c (rb_str_inspect): avoid exception by
8019 "\#\xa1".force_encoding("euc-jp").inspect.
8021 Sun Jan 27 19:07:33 2008 Tanaka Akira <akr@fsij.org>
8023 * string.c (rb_str_succ): warning suppressed.
8025 Sun Jan 27 18:18:13 2008 NARUSE, Yui <naruse@ruby-lang.org>
8027 * common.mk (help): show major targets.
8029 Sun Jan 27 17:54:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
8031 * ext/nkf/nkf.c: raise error when no output encoding is given.
8033 Sun Jan 27 17:20:10 2008 Tanaka Akira <akr@fsij.org>
8035 * string.c (rb_str_succ): don't increment/decrement codepoint.
8037 Sun Jan 27 16:03:42 2008 NARUSE, Yui <naruse@ruby-lang.org>
8039 * lib/irb/ruby-lex.rb (RubyLex#buf_input): use chars.to_a.
8041 Sun Jan 27 16:27:22 2008 NARUSE, Yui <naruse@ruby-lang.org>
8043 * ext/nkf/nkf-utf8: update nkf.
8045 Sun Jan 27 16:25:27 2008 NARUSE, Yui <naruse@ruby-lang.org>
8047 * re.c (rb_reg_source): set encoding as regexp encoding.
8049 Sun Jan 27 05:56:39 2008 Tanaka Akira <akr@fsij.org>
8051 * re.c (rb_reg_preprocess): force fixed encoding when ASCII
8052 incompatible source string.
8054 Sat Jan 26 23:46:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8056 * sprintf.c (rb_str_format): zero-precision zero should be empty.
8059 * sprintf.c (rb_str_format): not prepend octal prefix to negative or
8060 zero value. [ruby-dev:33363], [ruby-dev:33367]
8062 Sat Jan 26 23:42:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8064 * parse.y (assignable_gen, keyword_to_name): __ENCODING__ was missing.
8066 Sat Jan 26 19:08:45 2008 Tanaka Akira <akr@fsij.org>
8068 * marshal.c (w_object): dump string encoding in USERDEF.
8071 Sat Jan 26 17:42:23 2008 Koichi Sasada <ko1@atdot.net>
8073 * compile.c (iseq_compile_each): validate argument expr of "next"
8076 * bootstraptest/test_syntax.rb: add a test.
8078 Sat Jan 26 17:22:46 2008 Koichi Sasada <ko1@atdot.net>
8080 * compile.c, compile.h: fix to calculate correct stack depth
8081 at each instruction.
8083 Sat Jan 26 09:41:02 2008 NARUSE, Yui <naruse@ruby-lang.org>
8085 * lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
8088 * test/json/{test_json.rb, test_json_unicode.rb}:
8091 Sat Jan 26 09:30:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8093 * include/ruby/encoding.h (rb_usascii_encindex): added prototype.
8095 * include/ruby/intern.h (rb_usascii_str_new, rb_usascii_str_new2):
8098 Sat Jan 26 09:17:13 2008 NARUSE, Yui <naruse@ruby-lang.org>
8100 * string.c (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when
8101 empty string (len == 0).
8103 Sat Jan 26 03:41:53 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8105 * parse.y (parser_initialize): set default script encoding as US-ASCII.
8107 * ruby.c (load_file): ditto.
8109 * ruby.c (process_options): set script encoding of -e from locale
8110 except when -K is specified.
8112 * ruby.c (load_file): set script encoding of stdin from locale except
8113 when -K is specified. [ruby-dev:33375]
8115 Sat Jan 26 02:51:06 2008 Koichi Sasada <ko1@atdot.net>
8117 * compile.c, compile.h: fix stack pointer issues.
8118 calculate correct stack depth at compile time.
8120 * insns.def (emptstack): remove it and add a new insn "adjuststack".
8122 * bootstraptest/test_knownbug.rb: move/remove fixed test.
8124 * bootstraptest/test_syntax.rb: ditto.
8126 Sat Jan 26 00:17:18 2008 NARUSE, Yui <naruse@ruby-lang.org>
8128 * string.c (rb_str_usascii_new{,2}: defined.
8129 (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when empty
8132 * encoding.c (rb_usascii_encoding, rb_usascii_encindex): defined.
8133 (rb_enc_inspect, enc_name, rb_locale_charmap, rb_enc_name_list_i):
8134 use rb_str_ascii_new.
8136 * array.c (recursive_join, inspect_ary): ditto.
8138 * object.c (nil_to_s, nil_inspect, true_to_s, false_to_s,
8139 rb_mod_to_s): ditto.
8141 * hash.c (inspect_hash, rb_hash_inspect, rb_f_getenv, env_fetch,
8142 env_clear, env_to_s, env_inspect): ditto.
8144 * numeric.c (flo_to_s, int_chr, rb_fix2str): ditto.
8146 * bignum.c (rb_big2str): ditto.
8148 * file.c (rb_file_ftype, rb_file_s_dirname, rb_file_s_extname,
8149 file_inspect_join, Init_file): ditto.
8151 * test/ruby/test_ruby_m17n.rb: add checks for encoding of string.
8153 Sat Jan 26 01:35:46 2008 Tanaka Akira <akr@fsij.org>
8155 * marshal.c (r_byte): use getbyte instead of getc.
8156 (marshal_load): ditto.
8159 Sat Jan 26 00:43:40 2008 Tanaka Akira <akr@fsij.org>
8161 * io.c (rb_io_getline_fast): don't care ASCII incompatible encoding.
8162 (prepare_getline_args): generate a newline according to IO encoding
8164 (rb_io_getline_1): call rb_io_getline_fast only for ASCII
8165 compatible encoding.
8167 Fri Jan 25 21:49:36 2008 Tanaka Akira <akr@fsij.org>
8169 * string.c (rb_str_buf_cat_ascii): use rb_enc_cr_str_buf_cat.
8171 Fri Jan 25 19:38:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8173 * common.mk (version.$(OBJEXT)): depends on $(srcdir)/revision.h.
8175 * common.mk (revision.h): extracts revision number with ``svn info''.
8177 * common.mk (up): target to update from the repository.
8179 * Makefile.in, {win,bcc}32/Makefile.sub (IFCHANGE): tool to update a
8182 * tool/ifchange: for unixen.
8184 * win32/ifchange.bat: some fix
8186 Fri Jan 25 17:12:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8188 * ruby.c (load_file): set default to ASCII-8BIT explicitly if -K
8189 option is not given.
8191 Fri Jan 25 16:31:47 2008 Tanaka Akira <akr@fsij.org>
8193 * include/ruby/intern.h (rb_str_buf_cat_ascii): declared.
8195 * string.c (rb_str_buf_cat_ascii): defined.
8197 * re.c (rb_reg_s_union): use rb_str_buf_cat_ascii to support ASCII
8198 incompatible encoding.
8200 Fri Jan 25 16:11:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8202 * ruby.c (process_options, load_file, rb_load_file): propagates script
8203 encoding by -K to libraries. [ruby-dev:33156]
8205 Fri Jan 25 15:56:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8207 * ruby.c (cmdline_arguments): split argc and argv from cmdline_options.
8209 * ruby.c (process_options): not set encoding of -e option from -E
8210 option if they are not compatible.
8212 Fri Jan 25 13:15:23 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8214 * ruby.c (proc_options, process_options, load_file): shouldn't effect
8215 --encoding to script encoding. [ruby-dev:33169]
8217 Fri Jan 25 10:31:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8219 * */*.bat: set svn:mime-type to text/batch.
8221 Thu Jan 24 23:23:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
8223 * enum.c (enum_one, enum_take_while, enum_drop_while): fix documents.
8225 Thu Jan 24 21:46:24 2008 Tanaka Akira <akr@fsij.org>
8227 * parse.y (reg_fragment_setenc_gen): associate ASCII-8BIT only if
8228 str has only ASCII characters.
8230 Thu Jan 24 20:46:17 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8232 * test/ruby/test_m17n.rb: follow to the following changes.
8234 Thu Jan 24 20:21:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8236 * parser.y (parser_str_new): automatically update string literal's
8237 encoding from US-ASCII to ASCII-8BIT when script encoding is US-ASCII
8238 and the string includes non-ascii bytes. [ruby-dev:33348]
8240 * parser.y (reg_fragment_check_gen, reg_compile_gen): automatically
8241 update regexp literal's encoding from US-ASCII to ASCII-8BIT when
8242 script encoding is US-ASCII, the regexp has no kcode option and the
8243 regexp includes non-ascii bytes. [ruby-dev:33353]
8245 Thu Jan 24 19:36:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8247 * lib/uri/generic.rb (URI::Generic::inspect): use Kernel#to_s instead
8248 object_id with printf. [ruby-dev:33347]
8250 Thu Jan 24 19:29:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8252 * sprintf.c (remove_sign_bits): returns pointer to the first char to
8253 be used, instead of copying.
8255 * sprintf.c (rb_str_format): negative indicator dots should come
8256 before sign digits always. [ruby-dev:33224]
8258 Thu Jan 24 18:19:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8260 * include/ruby/encoding.h (rb_enc_is_newline): parenthesized arguments.
8262 Thu Jan 24 18:14:14 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8264 * re.c (rb_reg_fixed_encoding_p): no need to treat ASCII-8BIT specially.
8266 Thu Jan 24 16:53:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8268 * re.c (rb_reg_initialize): 7bit clean regexp should be US-ASCII.
8271 Thu Jan 24 16:31:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8273 * io.c (rb_io_getline_fast): the end point of left_char_head()
8274 must be the last character. [ruby-cvs:22445]
8276 Thu Jan 24 16:24:25 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8278 * parse.y (reg_fragment_setenc_gen): recognize regexp with option n as
8279 as ASCII-8BIT instead of US-ASCII. [ruby-dev:33339]
8281 Thu Jan 24 15:44:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8283 * array.c (collect_bang_i): use rb_ary_store() to avoid potential
8284 memory corruption. a patch from Yusuke Endoh <mame@tsg.ne.jp>
8285 in [ruby-dev:33328].
8287 * array.c (ITERATE): remove unnecessary macro.
8289 * array.c (sort_1): remove ary_sort_check(). in-place sort keep
8290 original elements even when it's modified.
8292 * array.c (sort_2): ditto.
8294 Thu Jan 24 15:09:40 2008 Tanaka Akira <akr@fsij.org>
8296 * time.c (make_time_t): revert round trip test. [ruby-dev:33058]
8298 Thu Jan 24 11:14:56 2008 Tanaka Akira <akr@fsij.org>
8300 * string.c (rb_enc_cr_str_buf_cat): ASCII incompatible encoding is
8301 not compatible with any other encoding.
8303 Thu Jan 24 07:34:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
8305 * parse.y (STR_NEW0): set encoding as US-ASCII.
8307 Thu Jan 24 03:47:41 2008 NARUSE, Yui <naruse@ruby-lang.org>
8309 * lib/rexml/text.rb, lib/rubygems/open-uri.rb, lib/open-uri.rb,
8310 test/logger/test_logger.rb, test/ruby/test_regexp.rb:
8311 fix tests. [ruby-dev:33336]
8313 Thu Jan 24 03:23:44 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8315 * string.c (rb_str_each_line): use memchr(3) for faster newline
8318 * io.c (appendline): remove unused arguments
8320 * io.c (rb_io_getline_fast): make much simpler (and faster).
8322 Thu Jan 24 02:13:07 2008 Yusuke Endoh <mame@tsg.ne.jp>
8324 * insns.def (expandarray): fix stack inc. [ruby-dev:32892]
8326 * bootstraptest/test_knownbug.rb, test_massign.rb: move a fixed test.
8328 Thu Jan 24 01:00:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
8330 * encoding.{c, h} (rb_usascii_encoding): added.
8332 * parse.y (parser_str_new, rb_intern3): ascii only string literal is
8335 * ruby.c (proc_optionc): -Kn means ASCII-8BIT.
8337 Wed Jan 23 23:54:40 2008 Yusuke Endoh <mame@tsg.ne.jp>
8339 * sprintf.c: fix comment. [ruby-dev:33275]
8341 * math.c: fix comment. [ruby-dev:33276]
8343 Wed Jan 23 22:47:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
8345 * test/ruby/test_struct.rb: add tests to achieve over 90% test
8346 coverage of struct.c.
8348 * test/ruby/test_sprintf.rb: ditto for sprintf.c.
8350 * test/ruby/test_math.rb: ditto for math.c.
8352 Wed Jan 23 22:14:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8354 * enc/trans/japanese.c (rb_from_Windows_31J, rb_to_Windows_31J):
8355 provisional workaround for Windows-31J. [ruby-dev:33320]
8357 Wed Jan 23 15:25:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8359 * time.c (time_strftime): copy encoding from format. [ruby-dev:33303]
8361 Wed Jan 23 15:04:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8363 * string.c (str_make_independent): should set length.
8365 * string.c (rb_str_associate): hide associated array from ObjectSpace.
8367 * string.c (rb_str_associated): return associated array with freezing
8368 instead of false. [ruby-dev:33282]
8370 * string.c (rb_str_freeze): freeze associated array together.
8372 Wed Jan 23 13:39:48 2008 Tanaka Akira <akr@fsij.org>
8374 * re.c (rb_reg_prepare_re): fix SEGV by
8375 /a/ =~ "aa".force_encoding("utf-16be").
8377 Wed Jan 23 11:53:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8379 * string.c (str_mod_check, str_nth, str_offset): constified.
8381 * string.c (rb_str_dump): dump in ASCII-8BIT always.
8383 Wed Jan 23 10:18:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8385 * eval_method.c (rb_export_method): set ruby_vm_redefined_flag for
8386 visibility change as well. reported by K.Kosako in
8387 http://d.hatena.ne.jp/kkos/20080122#1201012720.
8389 Tue Jan 22 22:26:23 2008 Yusuke Endoh <mame@tsg.ne.jp>
8391 * test/ruby/test_bignum.rb: change some tests because rational
8392 redefines Bignum#quo and Bignum#**.
8394 Tue Jan 22 20:58:15 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8396 * lib/mkmf.rb (create_makefile): need to output sodir rule.
8398 Tue Jan 22 19:37:16 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8400 * lib/mkmf.rb (create_makefile): lib files shouldn't depend on install
8401 dir because if the dir is newer than lib files, lib files will be
8404 Tue Jan 22 17:52:52 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
8406 * enc/trans/utf_16_32.c: Streamline parentheses, add more
8407 'static' qualifiers.
8409 Tue Jan 22 12:57:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8411 * configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) from
8412 MINIRUBY since miniruby might not be able to load DLL.
8414 * test/ruby/test_m17n.rb: move tests from bootstrap test.
8416 * encoding.c (enc_find): should check name if ASCII compatible.
8418 * string.c (rb_str_end_with): should check character boundary.
8420 * encoding.c (rb_enc_compatible): encoding must be ASCII
8421 compatible before checking ENC_CODERANGE_7BIT.
8423 * encoding.c (rb_enc_compatible): wrong compatibility condition.
8426 Tue Jan 22 09:26:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8428 * string.c (rb_str_each_char): iterates over a shadow.
8431 Tue Jan 22 08:59:52 2008 Eric Hodel <drbrain@segment7.net>
8433 * lib/rdoc/ri/formatter.rb: Indent labeled lists like note lists.
8435 * test/rdoc/test_rdoc_ri_overstrike_formatter.rb: Added.
8437 * test/rdoc/test_rdoc_ri_formatter.rb: Added tests.
8439 Tue Jan 22 04:40:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8441 * parse.y (rb_intern3): do not call rb_enc_mbclen() if *m is
8442 ASCII. [ruby-talk:287225]
8444 * string.c (rb_str_each_line): use rb_enc_is_newline() to gain
8445 performance if the record separator ($/) is not modified.
8447 Tue Jan 22 01:15:51 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
8449 * ChangeLog: format-time-string under C locale. [ruby-dev:33261]
8451 Tue Jan 22 00:45:12 2008 Yusuke Endoh <mame@tsg.ne.jp>
8453 * test/ruby/test_bignum.rb: add tests for bignum.c.
8455 Tue Jan 22 00:30:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
8457 * bignum.c (big_shift): fix a bug that caused infinite loop when
8460 Mon Jan 21 20:09:38 2008 Tadayoshi Funaba <tadf@dotrb.org>
8462 * lib/date.rb (marshal_load): initialize the cache.
8464 Mon Jan 21 19:42:42 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
8466 * transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb:
8467 added UTF-32BE and UTF-32LE conversions.
8469 Mon Jan 21 14:36:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8471 * transcode.c (str_transcode): initialize transcoder in
8472 rb_transcoding. [ruby-dev:33234]
8474 * transcode_data.h (rb_transcoding): transcoder constified.
8476 Mon Jan 21 12:50:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8478 * eval.c, gc.c (setjmp): sigsetjmp is a macro on cygwin.
8480 Mon Jan 21 12:35:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8482 * transcode.c (transcode_loop, str_transcoding_resize): use unsigned
8483 char. [ruby-dev:33232]
8485 * transcode_data.h (rb_transcoding, rb_transcoder): removed callback
8488 * enc/trans/japanese.c: ditto.
8490 * enc/trans/utf_16_32.c: parenthesized bit-or operands.
8492 Mon Jan 21 11:59:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8494 * string.c (rb_str_each_char): move forward. [ruby-dev:33231]
8496 Mon Jan 21 06:40:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8498 * transcode.c (transcode_dispatch): constified return value.
8500 * transcode_data.h (rb_transcoding): include pointer to rb_transcoder
8503 * transcode_data.h (rb_transcoder): all callback functions should have
8504 their own parameters.
8506 * enc/trans/{japanese,single_byte}.c: constified.
8508 Mon Jan 21 03:45:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8510 * string.c (rb_str_each_char): advance offset before get next char
8511 length. [ruby-dev:33211]
8513 Sun Jan 20 20:00:20 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
8515 * transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb:
8516 added UTF-16LE conversions.
8518 * fixed changelog for last commit
8520 Sun Jan 20 17:54:00 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
8522 * added changelog for last commit
8524 Sun Jan 20 15:08:08 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
8526 * enc/trans/utf_16_32.c: new file, currently implementing
8527 UTF-16BE conversions only.
8529 * test/ruby/test_transcode.rb: Added tests for UTF-16BE;
8530 made check_both_ways() use force_encoding differently.
8532 * transcode_data.h, transcode.c: Support for more conversion
8535 Sun Jan 20 13:06:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8537 * string.c (rb_str_each_char): performance improvement, and stop if
8538 shortened in the block. [ruby-dev:33189]
8540 Sun Jan 20 09:12:26 2008 NARUSE, Yui <naruse@ruby-lang.org>
8542 * common.mk: use -Ks when read insns.def. [ruby-dev#33185]
8544 * parse.y: fix -e and stdin strings aren't set encoding.
8546 Sun Jan 20 05:12:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
8548 * enc/make_encdb.rb: fix duplication check.
8550 Sun Jan 20 05:03:46 2008 NARUSE, Yui <naruse@ruby-lang.org>
8552 * ascii.c: remove definition of replica KOI8-U.
8554 Sun Jan 20 00:33:59 2008 NARUSE, Yui <naruse@ruby-lang.org>
8556 * enc/koi8_u.c: added.
8558 * regenc.c, enc/utf_8.c, enc/unicode.c, enc/gb18030.c: add ARG_UNUSED.
8560 Sat Jan 19 22:41:39 2008 Tanaka Akira <akr@fsij.org>
8562 * string.c (coderange_scan): don't call mbclen functions for ASCII
8563 characters with ASCII compatible encoding.
8565 Sat Jan 19 21:00:34 2008 Tanaka Akira <akr@fsij.org>
8567 * lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant
8568 error by `./ruby test/rubygems/test_gem_server.rb'.
8570 Sat Jan 19 20:41:29 2008 Tanaka Akira <akr@fsij.org>
8572 * encoding.c (enc_new): don't free rb_encoding to avoid SEGV by
8573 `miniruby -e exit' on x86_64 GNU/Linux.
8575 Sat Jan 19 18:40:19 2008 Tadayoshi Funaba <tadf@dotrb.org>
8577 * lib/date.rb (once): use an instance variable which points a hash
8578 as cache. [experimental]
8580 Sat Jan 19 17:21:29 2008 Tadayoshi Funaba <tadf@dotrb.org>
8582 * lib/date.rb, lib/date/format.rb: parse's hints as an
8583 experimental function has been removed.
8585 Sat Jan 19 11:21:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8587 * configure.in (sigsetjmp): check if available.
8589 * eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available.
8591 Sat Jan 19 11:10:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8593 * configure.in: Remove wrong assumptions about Cygwin. a patch from
8594 Corinna Vinschen in [ruby-Bugs-17018].
8596 Sat Jan 19 09:23:14 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
8598 * ext/win32ole/win32ole.c (ole_set_safe_array): should not use
8601 * test/win32ole/test_win32ole_variant.rb: ditto.
8603 Sat Jan 19 08:58:47 2008 Eric Hodel <drbrain@segment7.net>
8605 * lib/rdoc/markup: Remove ListBase and Line constants.
8607 * lib/rdoc/ri: Allow output IO to be specified.
8609 * test/rdoc/parser/test_parse_c.rb: Move up one level, fixed.
8611 * test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to
8612 match new class name, updated to match new classes.
8614 * test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests.
8616 * test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of
8617 RDoc::RI::AttributeManager tests.
8619 * test/rdoc/test_simple_markup.rb: Moved to match new class name.
8621 Sat Jan 19 08:35:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8623 * parse.y (parser_prepare): get encoding from the first line.
8626 * ruby.c (load_file): set encoding to input with set_encoding.
8628 Sat Jan 19 03:46:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8630 * thread.c (thread_create_core): prohibit thread creation in the
8631 frozen thread group. a patch in [ruby-dev:33176] from sheepman
8632 <sheepman AT sheepman.sakura.ne.jp>.
8634 * thread.c (thread_create_core): should inherit ThreadGroup from
8637 Sat Jan 19 00:37:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8639 * sprintf.c (rb_str_format): set result encoding for wider width.
8641 Sat Jan 19 00:13:19 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8643 * thread_win32.c (w32_wait_events): shouldn't invoke interrupt handle
8646 Fri Jan 18 23:49:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8648 * thread.c (thread_create_core): set thread group before creating
8651 Fri Jan 18 20:19:51 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8653 * parse.y (ripper_initialize): too early to set parser->enc.
8655 Fri Jan 18 20:03:05 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8657 * win32/setup.mak (BASERUBY): nmake cannot execute ruby correctly
8658 if the path of ruby.exe is quoted.
8660 * win32/setup.mak ($(ARCH)): if a macro is appended by $(APPEND),
8661 a space will be inserted on the top of the line.
8663 Fri Jan 18 17:56:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8665 * eval_intern.h, insnhelper.h, thread_pthread.h, vm_core.h, vm_opts.h:
8666 prefixed include guards with RUBY.
8668 * id.h: added include guard.
8670 * regenc.h, regint.h, regparse.h: prefixed include guards with
8673 Fri Jan 18 15:57:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8675 * thread.c (thread_cleanup_func): ignore errors from destroying mutex
8676 of dead thread. [ruby-core:15069]
8678 * thread_pthread.c, thread_win32.c (native_thread_destroy): ditto.
8680 Fri Jan 18 15:56:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8682 * encoding.c (rb_enc_name_list_i, rb_enc_aliases_enc_i): freeze
8683 element strings to be returned.
8685 Fri Jan 18 14:36:34 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
8687 * test/ruby/test_m17n.rb (test_str_dump): added test for
8688 String#dump. [ruby-dev:33142]
8690 Fri Jan 18 12:25:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8692 * encoding.c (load_encoding): check if successfully loaded.
8694 * encoding.c (rb_enc_find_index): use original encoding name to
8695 replicate loaded encoding instead alias.
8697 Fri Jan 18 09:43:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8699 * re.c (rb_char_to_option_kcode): Regexp switch `s' should mean
8700 Windows-31J, as wells as `-Ks'.
8702 Fri Jan 18 09:22:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8704 * parse.y (parser_initialize): explicitly call rb_ascii8bit_encoding().
8706 * parse.y (parser_prepare): lex_input may not be have encoding (e.g. IO).
8708 * parse.y (rb_parser_compile_string): set encoding from input string.
8710 * encoding.c (rb_enc_find_index): use ASCII-8BIT if loading known
8713 * parse.y (ripper_initialize): move parser->enc initialization.
8715 * encoding.c (rb_enc_aliases_enc_i): exclude non alias names from
8718 * encoding.c (rb_enc_find_index): use original encoding name to
8721 Fri Jan 18 07:06:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8723 * io.c (Init_IO): stdin/stdout may not be duplex.
8725 Fri Jan 18 04:27:57 2008 Eric Hodel <drbrain@segment7.net>
8727 * sample/rdoc/markup/rdoc2latex.rb: Fix for new namespacing.
8729 * lib/rdoc/markup/to_latex.rb: Fix namespacing.
8731 Fri Jan 18 02:02:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8733 * bootstraptest/runner.rb (assert_valid_syntax): added.
8735 * bootstraptest/test_knownbug.rb: added test for [ruby-list:44479]
8737 Fri Jan 18 01:48:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8739 * vm_insnhelper.c (vm_call_method): check argument number to
8740 attr_reader. [ruby-core:15120]
8742 Fri Jan 18 00:49:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8744 * io.c (rb_io_check_readable): flush tied write IO too.
8746 * io.c (Init_IO): tie stdin with stdout. [ruby-core:15107]
8748 Fri Jan 18 00:23:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8750 * encoding.c (enc_free): removed since rb_encoding may be used while
8753 Fri Jan 18 00:17:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8755 * enc/euc_cn.c: split from enc/euc_kr.c.
8757 Fri Jan 18 00:03:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8759 * ext/stringio/stringio.c (strio_init): use default external encoding
8760 if nothing is given. a patch from sheepman <sheepman AT
8761 sheepman.sakura.ne.jp> in [ruby-dev:33159].
8763 Thu Jan 17 23:56:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8765 * common.mk (encdb.h): give output file name to make_encdb.rb.
8767 * encoding.c (enc_table): simplified.
8769 * encoding.c (enc_register_at): lazy loading. [ruby-dev:33013]
8771 * regenc.h (ENC_DUMMY): added.
8773 * enc/make_encdb.rb: now emits macros only.
8775 * enc/iso_2022_jp.h: split from encoding.c.
8777 Thu Jan 17 21:48:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8779 * re.c (rb_char_to_option_kcode): fixed typo.
8781 Thu Jan 17 21:01:25 2008 Tadayoshi Funaba <tadf@dotrb.org>
8783 * lib/date.rb (Date::Infinity#<=>): didn't work. A patch from
8784 Dirkjan Bussink <d.bussink AT gmail.com> [ruby-core:15098].
8785 This is a bug obviously. However it didn't affect the library's
8788 * lib/date.rb, lib/date/format.rb: some trivial changes.
8790 Thu Jan 17 13:07:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8792 * string.c (rb_str_dump): preserve the encoding of source string
8793 if it is ASCII compatible. otherwise, add '.force_encoding()'
8794 for ugly work around. maybe we should implement some other way
8795 to keep non ASCII encoding in dumped string. [ruby-dev:33142]
8797 Thu Jan 17 10:30:32 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8799 * io.c (io_fwrite): always flush IO on tty, even without newlines.
8802 Wed Jan 16 22:45:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8804 * encoding.c (enc_register_at): make own copy. [ruby-dev:33136]
8806 Wed Jan 16 18:03:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8808 * io.c (pipe_open, rb_io_s_popen): clear temporary object to release
8809 and prevent from GC.
8811 Wed Jan 16 17:55:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8813 * numeric.c (fix_quo): typo. a patch from Shin-ichiro HARA
8814 <sinara AT blade.nagaokaut.ac.jp> in [ruby-dev:33130]
8816 Wed Jan 16 17:36:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8818 * test/test_delegate.rb: add new test file for delegate.rb.
8820 Wed Jan 16 16:14:00 2008 Akinori MUSHA <knu@iDaemons.org>
8822 * ruby.1: Fix grammar.
8824 Wed Jan 16 15:26:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8826 * file.c (sys_fail2): get rid of unlimited alloca.
8828 * io.c (mode_enc, pipe_open, rb_io_s_popen): ditto.
8830 * load.c (rb_feature_p): ditto.
8832 * object.c (rb_cstr_to_dbl): ditto.
8834 * io.c (mode_enc): fixed uninitialized variable.
8836 Wed Jan 16 12:51:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8838 * include/ruby/intern.h (rb_str_tmp_new, rb_str_shared_replace):
8841 Tue Jan 15 23:52:51 2008 NARUSE, Yui <naruse@ruby-lang.org>
8843 * enc/*: add ARG_UNUSED.
8845 * enc/koi8_u.c: added.
8847 Tue Jan 15 23:00:08 2008 NARUSE, Yui <naruse@ruby-lang.org>
8849 * enc/utf_{16,32}{be,le}.c: remove some ARG_UNUSED. replace struct
8850 OnigEncodingST by OnigEncoding.
8852 Tue Jan 15 22:30:43 2008 NARUSE, Yui <naruse@ruby-lang.org>
8854 * encoding.c (ENC_REGISTER): use &OnigEncoding*.
8855 (ENCINDEX_UTF_8): renamed from ENCINDEX_UTF8.
8856 (rb_enc_init): use ENC_REGISTER.
8858 * include/ruby/oniguruma.h (OnigEncodingUTF8, ONIG_ENCODING_UTF8):
8861 * enc/*.c: remove use of &encoding_*; use enc argument instead.
8863 Tue Jan 15 18:44:46 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8865 * enc/utf_8.c: remove use of ONIG_ENCODING_UTF8 altogether; use
8866 enc argument instead.
8868 Tue Jan 15 18:05:26 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8870 * enc/utf_8.c (ONIG_ENCODING_UTF8): reverted.
8872 Tue Jan 15 18:01:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8874 * win32/Makefile.sub (MKFILES): add dependencies.
8876 Tue Jan 15 18:00:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8878 * enc/utf_8.c (OnigEncodingDefine): encoding name should be kept
8881 Tue Jan 15 17:53:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8883 * enc/utf_8.c: renamed as IANA name.
8885 * enc/Makefile.in: ditto.
8887 Tue Jan 15 16:59:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8889 * ruby.c (proc_options): encoding libraries cannot be loaded until
8892 Tue Jan 15 15:09:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8894 * win32/setup.mak: strip out empty lines from CPP output.
8896 Tue Jan 15 14:57:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8898 * {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full path
8899 to get rid of ./ruby.exe.
8901 * win32/enc-setup.mak: workaround for Borland make.
8903 Tue Jan 15 14:44:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8905 * encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.
8907 Tue Jan 15 13:54:41 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8909 * {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir when
8912 Tue Jan 15 13:43:18 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8914 * common.mk (us_ascii.o): add dependencies. [ruby-dev:33111]
8916 Tue Jan 15 03:41:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8918 * eval.c (eval): check if backtrace is empty. [ruby-core:15040]
8920 Tue Jan 15 01:28:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8922 * common.mk: simplified dummy objects dependencies.
8924 Tue Jan 15 01:19:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
8926 * common.mk (OBJS): moved encoding.o from COMMONOBJS.
8928 * common.mk (dmyencoding.o): added. [ruby-dev:33099]
8930 * configure.in, {win,bcc}32/Makefile.sub (MINIOBJS): added
8933 * dmyencoding.c (rb_locale_charmap): returns nil for miniruby.
8935 Tue Jan 15 00:05:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8937 * io.c (appendline): specifying limit should not generate broken
8938 byte sequence. strings should be rounded. [ruby-dev:33088]
8940 Mon Jan 14 23:33:02 2008 NARUSE, Yui <naruse@ruby-lang.org>
8942 * ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.
8944 Mon Jan 14 23:31:05 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8946 * configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
8948 * bootstraptest/runner.rb (main): expand -I directory path.
8950 Mon Jan 14 23:28:10 2008 NAKAMURA Usaku <usa@ruby-lang.org>
8952 * win32/enc-setup.mak (BUILTIN_ENCOBJS): depends on enc/Makefile.in.
8954 Mon Jan 14 22:48:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8956 * re.c (rb_char_to_option_kcode): use rb_enc_find_index() instead
8957 of using fixed index value.
8959 * enc/Makefile.in (encsrcdir): make US-ASCII built-in.
8961 Mon Jan 14 22:25:02 2008 WATANABE Hirofumi <eban@ruby-lang.org>
8963 * golf_prelude.rb: Shorter method name completion. Same method
8964 used for const missing. do_while and do_until added. Enumerator
8965 gains all of Array's abilities. Ex:
8966 '123'.m{|i|i*2} #=> "112233"
8967 '123'.pe #=> '123'.perm*' ' #=> "123 132 213 231 312 321"
8968 base on a patch from Darren Smith <darrenks AT ml1.net>.
8970 Mon Jan 14 21:10:02 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
8972 * enc/us_ascii.c: wrong alias name: ANSI_X3.4-1986.
8974 * rubytest.rb: add -I#{srcdir} to load encoding DLL.
8976 Mon Jan 14 18:53:58 2008 Koichi Sasada <ko1@atdot.net>
8978 * thread.c: clear thread structure.
8979 (TODO: survey that child process should clear mutex or not).
8981 * bootstraptest/test_knownbug.rb, test_thread.rb: move a fixed test.
8983 Mon Jan 14 18:43:38 2008 Koichi Sasada <ko1@atdot.net>
8985 * bootstraptest/runner.rb: add "flunk" method.
8987 * bootstraptest/test_knownbug.rb: fix to use flunk.
8989 Mon Jan 14 18:10:59 2008 Koichi Sasada <ko1@atdot.net>
8991 * vm.h: remove dangerous assembler sentence.
8993 Mon Jan 14 18:06:37 2008 NARUSE, Yui <naruse@ruby-lang.org>
8995 * encoding.c (rb_locale_encoding): return US-ASCII when charmap is
8998 Mon Jan 14 16:12:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9000 * lib/shellwords.rb: scape should be an alias to shellescape. a
9001 patch from Masahiro Kawato <m-kawato AT mwb.biglobe.ne.jp> in
9004 Mon Jan 14 16:09:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9006 * ruby.1: a patch to describe --encoding. a patch from Yugui
9007 <yugui AT yugui.sakura.ne.jp> in [ruby-dev:33079].
9011 Mon Jan 14 13:49:26 2008 Tanaka Akira <akr@fsij.org>
9013 * re.c (rb_reg_prepare_re): initialize error message buffer.
9014 (rb_reg_search): ditto.
9015 (rb_reg_check_preprocess): ditto.
9016 (rb_reg_new_str): ditto.
9017 (rb_enc_reg_new): ditto.
9018 (rb_reg_compile): ditto.
9019 (rb_reg_initialize_m): ditto.
9020 (rb_reg_s_union_m): ditto.
9022 Mon Jan 14 12:33:07 2008 Eric Hodel <drbrain@segment7.net>
9024 * lib/rdoc/markup*: Renamespace from SM::SimpleMarkup to
9027 Mon Jan 14 10:45:45 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
9029 * enc/ascii.c: Exchanged order of arguments for one ENC_ALIAS
9031 Mon Jan 14 09:19:07 2008 Tadayoshi Funaba <tadf@dotrb.org>
9033 * lib/time.rb: do not reference Time directly from the inside of
9034 definitions. [ruby-dev:33059]
9036 Mon Jan 14 05:44:44 2008 NARUSE, Yui <naruse@ruby-lang.org>
9038 * enc/*.c: add replicas and aliases.
9040 * enc/make_encdb.h: add duplicate and undefined check.
9042 Mon Jan 14 02:03:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
9044 * include/ruby/oniguruma.h: remove ONIG_ENCODING_* and OnigEncoding*
9045 which are not builtin.
9047 * regenc.{c,h} (onigenc_mb2_code_to_mbclen, onigenc_mb4_code_to_mbclen):
9050 * enc/big5.c, enc/euc_kr.c, enc/euc_tw.c, enc/gb18030.c,
9051 enc/koi8_r.c, enc/windows_1251.c: imported from Oniguruma.
9053 Sun Jan 13 22:47:28 2008 NARUSE, Yui <naruse@ruby-lang.org>
9055 * enc/make_encdb.h: sort encoding names by original name.
9057 * encoding.c, enc/*.c: define replicas and aliases.
9059 Sun Jan 13 20:24:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
9061 * encoding.c: add documents.
9063 Sun Jan 13 18:41:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9065 * encoding.c (Init_Encoding): moved initialization from encdb.h.
9067 * enc/make_encdb.rb (enc_name_list): constified.
9069 * enc/make_encdb.rb (enc_init_db): moved some functions to encoding.c.
9071 Sun Jan 13 13:53:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9073 * ruby.c (load_file): local variable was not initialized when -x flag
9076 * ruby.c (load_file): script files should not be affected by locale.
9079 Sun Jan 13 12:01:32 2008 Eric Hodel <drbrain@segment7.net>
9081 * lib/rdoc/generators*: Reorganize RDoc generators.
9083 Sun Jan 13 11:41:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
9085 * encoding.c (ENCINDEX_EUC_JP, ENCINDEX_SJIS): removed.
9086 (rb_enc_init): EUC-JP and Shift_JIS are not builtin now.
9088 * enc/Makefile.in: ditto.
9092 * ruby.c (proc_options): ditto.
9094 * enc/shift_jis.c, enc/euc_jp.c: fixes for remove from builtin.
9096 Sun Jan 13 10:21:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9098 * encoding.c (enc_table): packed all enc_table stuff.
9100 Sun Jan 13 09:58:17 2008 NARUSE, Yui <naruse@ruby-lang.org>
9102 * encoding.c (rb_enc_init): revert removing SJIS.
9104 * enc/sjis.c: move to enc/shift_jis.c, to make encoding name equal to
9105 filename for convenience of loading lib.
9107 * enc/shift_jis.c: moved from enc/sjis.c.
9109 * common.mk: follows enc/shift_jis.c.
9111 * enc/Makefile.in: ditto.
9113 Sun Jan 13 09:22:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9115 * common.mk (incs): includes encdb.h.
9117 Sun Jan 13 09:17:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9119 * {bcc,win}32/Makefile.sub (MV): use move instead of ren. [ruby-Bugs-17019]
9121 Sun Jan 13 01:52:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9123 * enc/make_encdb.rb: should work on Ruby 1.8. [ruby-dev:33069]
9125 * common.mk (encdb.h): pass enc dir from outside to make_encdb.rb.
9127 Sun Jan 13 00:01:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
9129 * enc/make_encdb.rb: added. search enc/*.c and make encoding database.
9131 * regenc.h (ENC_REPLICATE, ENC_ALIAS): added for defining replica
9132 encoding and encoding alias.
9134 * encoding.c (rb_enc_init): move alias definitions to enc/*.c.
9135 (rb_enc_find_index): search original of replica and alias when no
9137 (rb_enc_name_list, rb_enc_aliases_enc_i, rb_enc_aliases_str_i,
9138 rb_enc_aliases, Encoding.name_list, Encoding.aliases): added.
9139 (Init_Encoding): init encdb.
9141 * enc/ascii.c, enc/us_ascii.c, enc/euc_jp.c, enc/sjis.c:
9142 add replica encoding and encoding alias definition.
9144 * common.mk (dist-clean-local): add rule for remove encdb.h.
9146 Sat Jan 12 18:27:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9148 * eval.c (rb_define_alloc_func, rb_undef_alloc_func): should
9149 define/undef on a singleton class. [ruby-core:09959]
9151 Sat Jan 12 12:44:36 2008 NARUSE, Yui <naruse@ruby-lang.org>
9153 * ext/nkf/nkf.c: rdoc update.
9155 Sat Jan 12 12:01:49 2008 Tadayoshi Funaba <tadf@dotrb.org>
9157 * lib/date.rb, lib/date/format.rb: tuning for performance.
9159 Sat Jan 12 11:29:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9161 * bootstraptest/test_proc.rb: fixed wrong expected result. pointed
9162 out by Kornelius "murphy" Kalnbach <murphy AT rubychan.de> in
9165 Sat Jan 12 04:38:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
9167 * ruby.c (process_options): -e'script' is locale encoding by default.
9168 (load_file): ruby script from stdin is locale encoding by default.
9170 Sat Jan 12 04:31:59 2008 NARUSE, Yui <naruse@ruby-lang.org>
9172 * ext/nkf/nkf-utf8/nkf.c: fix bug: -m was -m0.
9174 Fri Jan 11 23:22:31 2008 Tanaka Akira <akr@fsij.org>
9176 * string.c (string.c): call rb_str_buf_append to update encoding of
9177 str1, even if str2 is empty.
9179 Fri Jan 11 20:20:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9181 * proc.c (proc_mark): needs to mark the receiver too. a patch from
9182 Chris Heath <chris AT heathens.co.nz> in [ruby-core:14983].
9185 Fri Jan 11 18:28:49 2008 Eric Hodel <drbrain@segment7.net>
9187 * lib/rdoc/usage.rb: Removed.
9189 * lib/getoptlong.rb: Update example to not use lib/rdoc/usage.rb.
9191 Fri Jan 11 18:17:10 2008 Eric Hodel <drbrain@segment7.net>
9193 * lib/rdoc/ri/driver.rb (read_yaml): Follow namespace change
9196 Fri Jan 11 16:55:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9198 * string.c (rb_str_append): performance improvement.
9200 Fri Jan 11 12:35:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9202 * configure.in: moved broken syscall checks from process.c etc.
9204 * defines.h (WORDS_BIGENDIAN): honor __BIG_ENDIAN__ than the result of
9207 * lib/rdoc/options.rb (check_diagram): more precise check, darwin
9208 is not Windows but mingw is on it.
9210 Fri Jan 11 09:59:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
9212 * ext/nkf/nkf-utf8/nkf.c: update to r1.163.
9214 * ext/nkf/nkf.c: ASCII's canonical name is US-ASCII.
9216 * ext/nkf/lib/kconv.rb (Kconv.isjis): force_encoding('BINARY').
9218 Fri Jan 11 09:23:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
9220 * encoding.c (set_base_encoding): must use rb_enc_dummy_p.
9222 Fri Jan 11 06:13:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9224 * encoding.c (rb_to_encoding_index, rb_to_encoding): disallow nil.
9227 Fri Jan 11 01:08:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9229 * thread.c (rb_mutex_unlock): proper error message for unlocking
9230 mutex that is not locked. a patch from Yusuke ENDOH
9231 <mame at tsg.ne.jp> in [ruby-dev:33010].
9233 Thu Jan 10 18:00:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9235 * prelude.rb (Mutex::synchronize): capture exception from unlock.
9238 Thu Jan 10 10:15:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9240 * io.c (io_encoding_set): IO.pipe("euc-jp", nil) should work as
9241 IO.pipe("euc-jp", nil). [ruby-dev:33000]
9243 * io.c (io_encoding_set): handle nil for v1.
9245 Thu Jan 10 02:41:22 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9247 * io.c (rb_io_binmode): should not alter encoding. [ruby-dev:32918]
9249 * io.c (io_read_encoding): need not to return ASCII-8BIT for
9252 Wed Jan 9 22:04:17 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
9254 * lib/mathn.rb (Prime#each): returns an enumerator if no block
9255 given. [ruby-dev:32815]
9257 Wed Jan 9 22:03:26 2008 NARUSE, Yui <naruse@ruby-lang.org>
9259 * encoding.c (rb_enc_replicate): replica of dummy is a dummy.
9261 Wed Jan 9 20:55:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9263 * lib/e2mmap.rb (Exception2MessageMapper::Raise): define fail.
9266 Wed Jan 9 20:35:42 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
9268 * lib/webrick/httprequest.rb: support X-Forwarded-* header fields.
9269 WEBrick::HTTPRequest#{host,port,request_uri} is derived having
9270 regards to X-Forwarded-Proto and X-Forwarded-Host.
9272 * lib/webrick/httprequest.rb
9273 (WEBrick::HTTPRequest#server_name?): new method.
9274 (WEBrick::HTTPRequest#remote_ip?): new method.
9275 (WEBrick::HTTPRequest#ssl?): new method.
9277 Wed Jan 9 18:24:39 2008 WATANABE Hirofumi <eban@ruby-lang.org>
9279 * golf_prelude.rb (Array#to_s): alias to join.
9281 * golf_prelude.rb (FalseClass#to_s): return "".
9283 Wed Jan 9 16:59:54 2008 Tanaka Akira <akr@fsij.org>
9285 * string.c (rb_enc_cr_str_buf_cat): fix self appending.
9287 Wed Jan 9 15:54:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9289 * ruby.c (process_options): give priority command line encoding option
9290 to RUBYOPT, and enable -E option in RUBYOPT.
9292 * ruby.c (load_file): deal with encoding option in shebang line if
9293 nothing in command line and RUBYOPT.
9295 Wed Jan 9 14:55:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9297 * parse.y (yycompile0): remove setting parser->enc because it is set
9298 in parser_prepare() by previous change of parser_prepare().
9300 Wed Jan 9 14:52:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9302 * string.c (rb_enc_cr_str_buf_cat, rb_str_buf_append): deal with self
9305 Wed Jan 9 14:44:57 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9307 * parse.y (parser_prepare): set parser->enc from lex_input for ripper.
9309 Wed Jan 9 13:45:52 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
9311 * lib/webrick/server.rb (WEBrick::HTTPServer#start):
9312 :DoNotReverseLookup option had not been performed.
9314 Wed Jan 9 13:03:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9316 * string.c (rb_enc_cr_str_buf_cat): do not recalculate coderange
9317 value if it's given from outside.
9319 Wed Jan 9 08:42:01 2008 James Edward Gray II <jeg2@ruby-lang.org>
9321 * enum.c: Updating the documentation of Enumerable#zip to reflect
9322 the recent changes Matz made to the method.
9324 Wed Jan 9 01:35:10 2008 NARUSE, Yui <naruse@ruby-lang.org>
9326 * enc/Makefile.in (BUILTIN_ENCS): UTF-{16,32}{BE,LE} are not builtin.
9328 Tue Jan 8 23:55:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
9330 * encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin.
9332 Tue Jan 8 22:33:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
9334 * encoding.c, Makefile.in, include/ruby/oniguruma.h,
9335 enc/Makefile.in: fix rules for UTF-{16,32}{BE,LE}.
9337 Tue Jan 8 20:02:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9339 * win{32,ce}/Makefile.sub: merged.
9341 Tue Jan 8 19:48:15 2008 Eric Hodel <drbrain@segment7.net>
9343 * lib/rdoc/ri/driver.rb: Speed up Marshal.load. Fix bug with nested
9346 Tue Jan 8 19:17:29 2008 Eric Hodel <drbrain@segment7.net>
9348 * lib/rdoc/*: Clean up namespacing of RI's classes.
9350 Tue Jan 8 18:05:35 2008 Eric Hodel <drbrain@segment7.net>
9352 * bin/ri, lib/rdoc/ri/*: Replace with Ryan Davis' cached ri.
9354 Tue Jan 8 17:32:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9356 * enum.c (enum_zip): honor length of the receiver, not the
9357 shortest length. [ruby-core:14738]
9359 * enum.c (enum_zip): returns array not enumerator for no block
9360 form. [ruby-core:14738]
9362 * enumerator.c (next_ii): do not ignore multiple values yielded.
9364 * array.c (rb_ary_zip): faster version without creating generators.
9366 Tue Jan 8 15:47:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9368 * enc/utf{16,32}_{be,le}.c: use &OnigEncodingName(*) instead of
9371 Tue Jan 8 15:40:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9373 * regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): suppressed
9376 * regenc.h, enc/unicode.c (onigenc_unicode_ctype_code_range): added
9379 * enc/utf{16,32}_{be,le}.c: added init functions.
9381 * enc/utf{16,32}_{be,le}.c: imported from Oniguruma 5.9.1.
9383 Tue Jan 8 15:03:10 2008 Tanaka Akira <akr@fsij.org>
9385 * string.c (str_gsub): avoid appending empty pre-match substr.
9387 Tue Jan 8 13:05:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9389 * compile.c (iseq_build_from_ary), iseq.c (iseq_load): fix for format change.
9391 Tue Jan 8 07:56:11 2008 Tanaka Akira <akr@fsij.org>
9393 * string.c (rb_str_buf_append): fix append itself.
9395 Tue Jan 8 01:13:50 2008 Tanaka Akira <akr@fsij.org>
9397 * string.c (STR_ENC_GET): defined. same as rb_enc_get without
9399 (coderange_scan): ASCII-8BIT test refined.
9400 (rb_enc_cr_str_buf_cat): new internal function to accumulate
9401 strings with encoding.
9402 (rb_enc_str_buf_cat): use rb_enc_cr_str_buf_cat.
9403 (rb_str_buf_append): ditto
9404 (str_gsub): use rb_str_buf_append.
9405 (rb_str_hash): use ENCODING_GET.
9406 (rb_str_comparable): ditto.
9407 (rb_str_cmp): compare encoding index, not rb_encoding address.
9409 Mon Jan 7 20:37:55 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
9411 * lib/webrick/httpservlet/cgihandler.rb: external encoding of
9412 tempfiles is set to "ASCII-8BIT".
9414 Mon Jan 7 19:39:50 2008 Eric Hodel <drbrain@segment7.net>
9416 * lib/rdoc/template.rb: Use ERB instead of custom template language.
9418 * lib/rdoc/generators/template/html/old_html.rb: Remove.
9420 * lib/rdoc/generators/template/*: Convert to ERB.
9422 Mon Jan 7 19:11:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9424 * string.c (Init_String): sym_match arity spec was wrong. a patch
9425 from Hiroyuki Iwatsuki <don at na.rim.or.jp> in [ruby-dev:32957].
9427 Mon Jan 7 18:10:33 2008 Tanaka Akira <akr@fsij.org>
9429 * string.c (str_gsub): move rb_enc_get(str) to out of loop.
9431 Mon Jan 7 15:52:10 2008 Tanaka Akira <akr@fsij.org>
9433 * include/ruby/oniguruma.h (OnigEncodingType): new member
9434 ruby_encoding_index to avoid linear search in rb_enc_to_index.
9436 * include/ruby/encoding.h (rb_enc_to_index): macro defined to use
9437 ruby_encoding_index.
9439 * encoding.c (rb_enc_to_index): removed.
9440 (enc_register_at): initialize ruby_encoding_index member.
9442 Mon Jan 7 16:10:35 2008 Eric Hodel <drbrain@segment7.net>
9444 * lib/rdoc/tokenstream.rb: Namespace under RDoc.
9446 Mon Jan 7 16:06:09 2008 Eric Hodel <drbrain@segment7.net>
9448 * lib/rdoc/dot.rb: Namespace under RDoc.
9450 * lib/rdoc/diagram.rb: Clean up formatting.
9452 Mon Jan 7 15:51:35 2008 Eric Hodel <drbrain@segment7.net>
9454 * lib/rdoc/options.rb: Convert to OptionParser, clean up -h output,
9455 namespace under RDoc.
9456 * lib/rdoc/*: Namespace RDoc::Options.
9458 Mon Jan 7 15:42:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
9460 * common.mk, Makefile.in, */Makefile.sub (distclean-local): move
9461 removing rule of ext/ripper/y.output from common.mk to Makefiles
9462 that depend on platforms.
9464 Mon Jan 7 13:54:57 2008 Tanaka Akira <akr@fsij.org>
9466 * re.c (rb_reg_preprocess): fix fixed_enc condition.
9468 Mon Jan 7 11:51:49 2008 Eric Hodel <drbrain@segment7.net>
9470 * lib/rdoc/generators/ri_generator.rb: Merge documentation from the
9471 same class on output. Fixes bug where documentation could
9474 * lib/rdoc/options.rb: Fix typo.
9476 * lib/rdoc/generators/*: Clean up some namespacing and make RDoc
9479 Mon Jan 7 11:44:45 2008 Tanaka Akira <akr@fsij.org>
9481 * encoding.c (rb_enc_internal_get_index): extracted from
9483 (rb_enc_internal_set_index): extracted from rb_enc_associate_index
9485 * include/ruby/encoding.h (ENCODING_SET): work over ENCODING_INLINE_MAX.
9486 (ENCODING_GET): ditto.
9487 (ENCODING_IS_ASCII8BIT): defined.
9488 (ENCODING_CODERANGE_SET): defined.
9490 * re.c (rb_reg_fixed_encoding_p): use ENCODING_IS_ASCII8BIT.
9492 * string.c (rb_enc_str_buf_cat): use ENCODING_IS_ASCII8BIT.
9494 * parse.y (reg_fragment_setenc_gen): use ENCODING_IS_ASCII8BIT.
9496 * marshal.c (has_ivars): use ENCODING_IS_ASCII8BIT.
9498 Mon Jan 7 02:14:07 2008 Tanaka Akira <akr@fsij.org>
9500 * string.c (coderange_scan): avoid rb_enc_to_index.
9501 (rb_enc_str_buf_cat): ditto.
9502 (str_cat_char): use rb_enc_str_buf_cat.
9503 (rb_str_inspect): ditto.
9505 Mon Jan 7 01:36:49 2008 Tanaka Akira <akr@fsij.org>
9507 * string.c (coderange_scan): optimize ASCII-8BIT string.
9508 (rb_enc_str_buf_cat): don't call coderange_scan if possible.
9510 Mon Jan 7 01:05:45 2008 Tanaka Akira <akr@fsij.org>
9512 * lib/erb.rb (ERB::Revision): cut off locale dependent string in Date
9515 Mon Jan 7 00:48:02 2008 Tanaka Akira <akr@fsij.org>
9517 * Date keyword removed to avoid inclusion of locale dependent
9518 string. [ruby-dev:32940]
9520 Sun Jan 6 21:14:12 2008 Tanaka Akira <akr@fsij.org>
9522 * re.c (rb_reg_initialize_str): forbid raw non ASCII character
9523 for ASCII-8BIT regexp in non ASCII-8BIT script.
9525 Sun Jan 6 18:19:12 2008 Tanaka Akira <akr@fsij.org>
9527 * include/ruby/encoding.h (rb_enc_str_buf_cat): declared.
9529 * string.c (coderange_scan): extracted from rb_enc_str_coderange.
9530 (rb_enc_str_coderange): use coderange_scan.
9531 (rb_str_shared_replace): copy encoding and coderange.
9532 (rb_enc_str_buf_cat): new function for linear complexity string
9533 accumulation with encoding.
9534 (rb_str_sub_bang): don't conflict substituted part and replacement.
9535 (str_gsub): use rb_enc_str_buf_cat.
9536 (rb_str_clear): clear coderange.
9538 * re.c (rb_reg_regsub): use rb_enc_str_buf_cat.
9540 Sun Jan 6 17:55:44 2008 Technorama Ltd. <oss-ruby@technorama.net>
9542 * lib/securerandom.rb: Add Win32 support.
9544 Sun Jan 6 09:32:58 2008 Tadayoshi Funaba <tadf@dotrb.org>
9546 * lib/date.rb, lib/date/format.rb: introduced some constants
9547 (for internal use) and aliases (minute and second).
9549 * sample/cal.rb: trivial adjustments.
9551 Sun Jan 6 01:38:07 2008 Tanaka Akira <akr@fsij.org>
9553 * re.c (rb_reg_initialize_str): /\x80/n is not an error even if script
9556 Sun Jan 6 00:48:12 2008 NARUSE, Yui <naruse@ruby-lang.org>
9558 * lib/resolv.rb (Resolv::DNS#each_address): get A record and then AAAA
9559 record. [ruby-dev:32925]
9561 Sat Jan 5 21:48:03 2008 Tanaka Akira <akr@fsij.org>
9563 * vm_insnhelper.c (vm_callee_setup_arg): it is not inlinable because
9566 Sat Jan 5 16:50:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9568 * string.c (rb_str_resize): copy if old data is not empty
9571 Sat Jan 5 13:04:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9573 * ruby.c (proc_options): no need for intermediate object.
9575 Sat Jan 5 11:48:19 2008 Tanaka Akira <akr@fsij.org>
9577 * encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.
9578 IE6 accepts csWindows31J but Windows-31J.
9580 Sat Jan 5 02:21:10 2008 Tanaka Akira <akr@fsij.org>
9582 * include/ruby/ruby.h (rb_intern): memorize interned ID for constant
9583 string, using gcc's __builtin_constant_p and statement expression.
9585 Sat Jan 5 02:14:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9587 * string.c (trnext): should enable backslash escape.
9589 Sat Jan 5 01:50:32 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9591 * eval.c (Init_eval): move instance_eval and instance_exec to
9592 BasicObject. [ruby-core:14747]
9594 * lib/delegate.rb: should preserve new methods in BasicObject.
9596 Sat Jan 5 01:46:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9598 * ruby.c (proc_options): update according to the last API revert.
9600 Sat Jan 5 01:30:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9602 * include/ruby/intern.h, re.c (rb_reg_new): keep interface same as
9603 1.8. [ruby-core:14583]
9605 * include/ruby/intern.h, re.c (rb_reg_new_str): renamed, and defines
9606 HAVE_RB_REG_NEW_STR macro to tell if it is available.
9608 * include/ruby/encoding.h (rb_enc_reg_new): added.
9610 * insns.def (toregexp), marshal.c (r_object0): use rb_reg_new_str().
9612 * re.c (rb_reg_regcomp, rb_reg_s_union): ditto.
9614 Fri Jan 4 23:08:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9616 * time.c (time_arg): use converted object. [ruby-core:14759]
9618 Fri Jan 4 16:24:58 2008 Tanaka Akira <akr@fsij.org>
9620 * ext/digest/lib/digest/hmac.rb (Digest::HMAC#initialize): use
9621 String#bytesize to avoid test errors on EUC-JP environment.
9623 Fri Jan 4 14:00:50 2008 Tanaka Akira <akr@fsij.org>
9625 * re.c (rb_reg_prepare_re): check string encoding. Oniguruma doesn't
9626 support invalid encoding.
9628 Fri Jan 4 10:22:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9630 * re.c (rb_reg_search): avoid inner loop for reverse search.
9632 * regexec.c: unset USE_MATCH_RANGE_MUST_BE_INSIDE_OF_SPECIFIED_RANGE
9633 which is turned on since oniguruma 5.9.1.
9635 Fri Jan 4 02:53:31 2008 Tanaka Akira <akr@fsij.org>
9637 * enc/euc_jp.c: remove eucjp_ prefix. breakpoint can be specified as
9638 euc_jp.c:mbc_enc_len. avoid needless conflict by merge.
9640 * enc/sjis.c: remove sjis_ prefix.
9642 * enc/utf8.c: remove utf8_ prefix.
9644 * enc/iso_8859_1.c: remove iso_8859_1_ prefix.
9646 * enc/iso_8859_2.c: remove iso_8859_2_ prefix.
9648 * enc/iso_8859_3.c: remove iso_8859_3_ prefix.
9650 * enc/iso_8859_4.c: remove iso_8859_4_ prefix.
9652 * enc/iso_8859_5.c: remove iso_8859_5_ prefix.
9654 * enc/iso_8859_6.c: remove iso_8859_6_ prefix.
9656 * enc/iso_8859_7.c: remove iso_8859_7_ prefix.
9658 * enc/iso_8859_8.c: remove iso_8859_8_ prefix.
9660 * enc/iso_8859_9.c: remove iso_8859_9_ prefix.
9662 * enc/iso_8859_10.c: remove iso_8859_10_ prefix.
9664 * enc/iso_8859_11.c: remove iso_8859_11_ prefix.
9666 * enc/iso_8859_13.c: remove iso_8859_13_ prefix.
9668 * enc/iso_8859_14.c: remove iso_8859_14_ prefix.
9670 * enc/iso_8859_15.c: remove iso_8859_15_ prefix.
9672 * enc/iso_8859_16.c: remove iso_8859_16_ prefix.
9674 Fri Jan 4 02:47:06 2008 Tanaka Akira <akr@fsij.org>
9676 * re.c (rb_reg_search): iterate onig_match for reverse mode.
9678 Fri Jan 4 01:20:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9680 * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660]
9682 Fri Jan 4 00:54:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9684 * include/ruby/oniguruma.h: Oniguruma 5.9.1 merged.
9686 Fri Jan 4 00:20:47 2008 Tanaka Akira <akr@fsij.org>
9688 * io.c (io_ungetc): move data in buffer if it is required to store the
9691 Thu Jan 3 21:56:07 2008 Tanaka Akira <akr@fsij.org>
9693 * include/ruby/ruby.h (st_strcasecmp): declared for STRCASECMP.
9694 (st_strncasecmp): declared for STRNCASECMP.
9696 Thu Jan 3 20:24:48 2008 Koichi Sasada <ko1@atdot.net>
9698 * eval_jump.c (rb_f_catch): Restore cfp if caught thrown object.
9700 Thu Jan 3 19:45:57 2008 Koichi Sasada <ko1@atdot.net>
9702 * bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
9704 Thu Jan 3 18:39:12 2008 Tanaka Akira <akr@fsij.org>
9706 * encoding.c: (rb_tolower, rb_toupper): body was exchanged.
9708 Thu Jan 3 17:54:01 2008 Tanaka Akira <akr@fsij.org>
9710 * regenc.h (onigenc_ascii_is_code_ctype): put back.
9712 Thu Jan 3 17:33:09 2008 Tanaka Akira <akr@fsij.org>
9714 * encoding.c (rb_isalnum): defined.
9715 (rb_isalpha): ditto.
9716 (rb_isblank): ditto.
9717 (rb_iscntrl): ditto.
9718 (rb_isdigit): ditto.
9719 (rb_isgraph): ditto.
9720 (rb_islower): ditto.
9721 (rb_isprint): ditto.
9722 (rb_ispunct): ditto.
9723 (rb_isspace): ditto.
9724 (rb_isupper): ditto.
9725 (rb_isxdigit): ditto.
9726 (rb_tolower): ditto.
9727 (rb_toupper): ditto.
9729 * include/ruby/ruby.h: don't include include/ruby/encoding.h.
9730 (rb_isascii): defined.
9731 (rb_isalnum): declared.
9732 (rb_isalpha): ditto.
9733 (rb_isblank): ditto.
9734 (rb_iscntrl): ditto.
9735 (rb_isdigit): ditto.
9736 (rb_isgraph): ditto.
9737 (rb_islower): ditto.
9738 (rb_isprint): ditto.
9739 (rb_ispunct): ditto.
9740 (rb_isspace): ditto.
9741 (rb_isupper): ditto.
9742 (rb_isxdigit): ditto.
9743 (rb_tolower): ditto.
9744 (rb_toupper): ditto.
9745 (ISASCII): simplified.
9757 * include/ruby/encoding.h (rb_isascii): removed.
9758 (rb_isalnum): ditto.
9759 (rb_isalpha): ditto.
9760 (rb_isblank): ditto.
9761 (rb_iscntrl): ditto.
9762 (rb_isdigit): ditto.
9763 (rb_isgraph): ditto.
9764 (rb_islower): ditto.
9765 (rb_isprint): ditto.
9766 (rb_ispunct): ditto.
9767 (rb_isspace): ditto.
9768 (rb_isupper): ditto.
9769 (rb_isxdigit): ditto.
9770 (rb_tolower): ditto.
9771 (rb_toupper): ditto.
9773 * common.mk: dependency updated.
9775 Thu Jan 3 15:10:26 2008 Tanaka Akira <akr@fsij.org>
9777 * include/ruby/encoding.h (rb_isascii): simplified.
9778 (rb_isalnum): call onigenc_ascii_is_code_ctype without indirect call.
9779 (rb_isalpha): ditto.
9780 (rb_isblank): ditto.
9781 (rb_iscntrl): ditto.
9782 (rb_isdigit): ditto.
9783 (rb_isgraph): ditto.
9784 (rb_islower): ditto.
9785 (rb_isprint): ditto.
9786 (rb_ispunct): ditto.
9787 (rb_isspace): ditto.
9788 (rb_isupper): ditto.
9789 (rb_isxdigit): ditto.
9791 * include/ruby/oniguruma.h (onigenc_ascii_is_code_ctype): declaration
9792 moved from regenc.h.
9794 Thu Jan 3 14:37:17 2008 Tanaka Akira <akr@fsij.org>
9796 * parse.y (parser_magic_comment): use STRNCASECMP.
9797 (set_file_encoding): ditto.
9799 Thu Jan 3 11:44:37 2008 Tanaka Akira <akr@fsij.org>
9801 * time.c: don't mention an obsolete library, ParseDate.
9803 Thu Jan 3 11:28:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9805 * io.c (fptr_finalize): clear errno first. [ruby-talk:284492]
9807 Thu Jan 3 05:02:36 2008 Tanaka Akira <akr@fsij.org>
9809 * enc/us_ascii.c: add us_ascii_ prefix for functions to ease
9810 setting breakpoint when debugging.
9812 * enc/euc_jp.c: add eucjp_ prefix.
9814 * enc/sjis.c: add sjis_ prefix.
9816 * enc/iso_8859_1.c: add iso_8859_1_ prefix.
9818 * enc/iso_8859_2.c: add iso_8859_2_ prefix.
9820 * enc/iso_8859_3.c: add iso_8859_3_ prefix.
9822 * enc/iso_8859_4.c: add iso_8859_4_ prefix.
9824 * enc/iso_8859_5.c: add iso_8859_5_ prefix.
9826 * enc/iso_8859_6.c: add iso_8859_6_ prefix.
9828 * enc/iso_8859_7.c: add iso_8859_7_ prefix.
9830 Thu Jan 3 02:44:34 2008 Tanaka Akira <akr@fsij.org>
9832 * bignum.c (conv_digit): use ISDIGIT, ISLOWER and ISUPPER.
9834 Wed Jan 2 23:50:15 2008 Tanaka Akira <akr@fsij.org>
9836 * util.c (ruby_strtoul): "0x", "+" and "-" is not a valid integer.
9837 end of integer should be just after "0", the beginning, the
9838 beginning respectively.
9840 Wed Jan 2 15:23:15 2008 Tanaka Akira <akr@fsij.org>
9842 * util.c (ruby_strtoul): locale independent strtoul is implemented to
9843 avoid "i".to_i(36) cause 0 under tr_TR locale on Debian GNU/Linux
9845 This is newly implemented, not a copy of missing/strtoul.c.
9847 * include/ruby/ruby.h (ruby_strtoul): declared.
9848 (STRTOUL): defined to use ruby_strtoul.
9850 * bignum.c, pack.c, ext/socket/socket.c: use STRTOUL.
9852 * configure.in (strtoul): don't check.
9854 * missing/strtoul.c: removed.
9856 * include/ruby/missing.h (strtoul): removed.
9858 * common.mk (strtoul.o): removed.
9860 * LEGAL (missing/strtoul.c): removed.
9862 Wed Jan 2 14:41:08 2008 Tanaka Akira <akr@fsij.org>
9864 * common.mk (strcasecmp.o): removed.
9865 (strncasecmp.o): removed.
9867 * include/ruby/missing.h (strcasecmp): removed.
9868 (strncasecmp): removed.
9870 Wed Jan 2 11:34:57 2008 Tanaka Akira <akr@fsij.org>
9872 * missing/strcasecmp.c: removed. Ruby don't use locale dependent
9875 * missing/strncasecmp.c: ditto.
9877 * configure.in: don't check strcasecmp and strncasecmp.
9879 * LEGAL: missing/strcasecmp.c and missing/strncasecmp.c removed.
9881 Wed Jan 2 10:13:54 2008 Tadayoshi Funaba <tadf@dotrb.org>
9883 * sample/time.rb: use Process.times instead of Time.times.
9885 Wed Jan 2 09:09:53 2008 Tadayoshi Funaba <tadf@dotrb.org>
9887 * sample/goodfriday.rb: examples for date are enough. retired.
9889 Wed Jan 2 08:58:54 2008 Tadayoshi Funaba <tadf@dotrb.org>
9891 * sample/cal.rb: just updated with the newest version.
9893 Wed Jan 2 01:19:31 2008 Tanaka Akira <akr@fsij.org>
9895 * enc/depend: dependency updated.
9897 Wed Jan 2 00:14:41 2008 NARUSE, Yui <naruse@ruby-lang.org>
9899 * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: Update nkf.
9901 * ext/nkf/nkf.c: fix documents.
9903 * ext/nkf/lib/kconv.rb: fix documents.
9904 (Kconv.is*): use valid_encoding?.
9905 (Kconv.isjis): defined.
9907 Tue Jan 1 23:17:03 2008 Tanaka Akira <akr@fsij.org>
9909 * common.mk: dependency updated.
9911 Tue Jan 1 21:11:33 2008 Tanaka Akira <akr@fsij.org>
9913 * include/ruby/encoding.h (rb_isascii): defined.
9914 (rb_isalnum): ditto.
9915 (rb_isalpha): ditto.
9916 (rb_isblank): ditto.
9917 (rb_iscntrl): ditto.
9918 (rb_isdigit): ditto.
9919 (rb_isgraph): ditto.
9920 (rb_islower): ditto.
9921 (rb_isprint): ditto.
9922 (rb_ispunct): ditto.
9923 (rb_isspace): ditto.
9924 (rb_isupper): ditto.
9925 (rb_isxdigit): ditto.
9926 (rb_tolower): ditto.
9927 (rb_toupper): ditto.
9929 * include/ruby/st.h (st_strcasecmp): declared.
9930 (st_strncasecmp): ditto.
9932 * st.c (type_strcasehash): use st_strcasecmp instead of strcasecmp.
9933 (st_strcasecmp): defined.
9934 (st_strncasecmp): ditto.
9936 * include/ruby/ruby.h: include include/ruby/encoding.h.
9937 (ISASCII): use rb_isascii.
9938 (ISPRINT): use rb_isprint.
9939 (ISSPACE): use rb_isspace.
9940 (ISUPPER): use rb_isupper.
9941 (ISLOWER): use rb_islower.
9942 (ISALNUM): use rb_isalnum.
9943 (ISALPHA): use rb_isalpha.
9944 (ISDIGIT): use rb_isdigit.
9945 (ISXDIGIT): use rb_isxdigit.
9948 (STRCASECMP): ditto.
9949 (STRNCASECMP): ditto.
9951 * dir.c, encoding.c, file.c, hash.c, process.c, ruby.c, time.c,
9952 transcode.c, ext/readline/readline.c: use locale insensitive
9953 functions. [ruby-core:14662]
9955 Tue Jan 1 17:50:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9957 * io.c (rb_io_mode_enc): encoding spec is not allowed in binary mode.
9960 Tue Jan 1 14:41:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9962 * lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:
9963 <http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9>
9966 Tue Jan 1 14:15:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
9968 * string.c (rb_str_substr): offset movement bug. a patch from
9969 Vincent Isambart <vincent.isambart at gmail.com> in
9970 [ruby-core:14647]. [ruby-core:14644]
9972 Tue Jan 1 01:29:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9974 * encoding.c (rb_to_encoding): raises for non-nil, non-encoding,
9975 non-string object. [ruby-core:14634]
9977 Tue Jan 1 01:04:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
9979 * ruby.c (process_options): rejects dummy encoding.
9981 Mon Dec 31 23:53:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
9983 * ruby.c (proc_options, process_options): delays finding encoding
9984 until load_path is set.
9986 Mon Dec 31 23:27:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
9988 * string.c (rb_str_resize): embeds if ptr is null. [ruby-dev:32819]
9990 Mon Dec 31 23:17:22 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
9992 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
9993 call do_XXX which correspond with request method.
9994 (WEBrick::HTTPProxyServer#do_CONNECT,do_GET,do_POST,do_HEAD): added.
9996 * test/webrick/test_httpproxy.rb: add test for WEBrick::HTTPProxyServer.
9998 Mon Dec 31 22:53:29 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10000 * thread_pthread.c (native_sleep): timespec tv_sec may overflow on
10001 some platform. a patch from zunda <zunda616e AT yahoo.co.jp> in
10004 Mon Dec 31 19:35:20 2007 Tanaka Akira <akr@fsij.org>
10006 * string.c (IS_7BIT): removed.
10007 (single_byte_optimizable): new function to test optimizationability
10008 using single byte string.
10009 (str_strlen): use single_byte_optimizable instead of
10011 (str_nth): rename argument: asc -> singlebyte.
10012 (str_offset): ditto.
10013 (rb_str_substr): use single_byte_optimizable instead of IS_7BIT.
10014 (rb_str_index): ditto.
10015 (rb_str_rindex): ditto.
10016 (rb_str_splice): ditto.
10017 (rb_str_justify): ditto.
10019 Mon Dec 31 07:39:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10021 * main.c, goruby.c (RUBY_MAIN_INIT): removed.
10023 * goruby.c (goruby_run_node): run after ruby_init_loadpath() so that
10024 require works, and protect the call.
10026 Mon Dec 31 06:50:38 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10028 * common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for cross
10031 * configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib
10034 Mon Dec 31 06:08:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10036 * include/ruby/encoding.h (rb_enc_sprintf, rb_enc_vsprintf): prototyped.
10038 * sprintf.c (rb_enc_sprintf, rb_enc_vsprintf): new functions to format
10039 arguments with encoding.
10041 Sun Dec 30 23:48:00 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10043 * golf_prelude.rb (String#/): define / as split, as association of
10046 Sun Dec 30 23:19:06 2007 WATANABE Hirofumi <eban@ruby-lang.org>
10048 * golf_prelude.rb (@@golf_hash): for performance improvement.
10050 Sun Dec 30 22:44:50 2007 Tadayoshi Funaba <tadf@dotrb.org>
10052 * lib/date.rb (_valid_time?): I'm not sure to recommend such an
10053 expression. but anyway it is acceptable now. [ruby-core:14580]
10055 Sun Dec 30 21:54:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10057 * parse.y (program, yycompile0): too early to drop lex_lastline in
10060 Sun Dec 30 19:23:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10062 * bootstraptest/test_knownbug.rb: support DOSISH.
10064 Sun Dec 30 17:43:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10066 * encoding.c (Init_Encoding): registered rb_encoding differs from
10069 Sun Dec 30 13:56:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10071 * parse.y (program): clear input strings after all process.
10073 * parse.y (parser_nextc, parser_yylex): should not drop lex_lastline
10074 while lex_p is valid. [ruby-dev:32896]
10076 Sun Dec 30 10:54:49 2007 NARUSE, Yui <naruse@ruby-lang.org>
10078 * configure.in: rm largefile.h.
10080 * common.mk: clean golf, conf*, preludes, and so on.
10082 * enc/depend: silent and ignore error for rm.
10084 * enc/Makefile.in: should define prefix and exec_prefix.
10086 Sun Dec 30 06:31:11 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10088 * encoding.c (Init_encoding): register Windows-31J and its alias.
10091 * ruby.c (proc_options): -Ks options means Windows-31J, not Shift_JIS.
10093 Sun Dec 30 06:27:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10095 * lib/mkmf.rb (depend_rules): need to convert `/' to `\' for windows
10098 Sun Dec 30 01:43:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10100 * enc/Makefile.in (DLDFLAGS): like as extensions. [ruby-core:14567]
10102 Sat Dec 29 23:48:13 2007 Tanaka Akira <akr@fsij.org>
10104 * io.c (io_fflush): don't retry when wbuf modified by other threads.
10106 Sat Dec 29 22:44:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10108 * re.c (rb_reg_regsub): returns the given string itself if nothing
10111 * string.c (rb_str_sub_bang): keeps code-range as possible.
10113 * string.c (str_gsub): adjusts code-range. [ruby-core:14566]
10115 Sat Dec 29 21:54:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10117 * common.mk (clean, distclean, realclean): should include clean-enc
10118 and others. [ruby-dev:32887]
10120 Sat Dec 29 13:29:29 2007 Tanaka Akira <akr@fsij.org>
10122 * bootstraptest/test_knownbug.rb: add a test reported by
10123 Kazuhiro NISHIYAMA. [ruby-dev:32819].
10124 add a test reported by Frederick Cheung. [ruby-core:14556].
10126 * test/ruby/test_m17n.rb (test_gsub): add a test reported by
10127 Sam Ruby. [ruby-core:14566]
10129 Sat Dec 29 04:46:58 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
10131 * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):
10132 throw won't raise NameError nor ThreadError but ArgumentError on 1.9.
10133 (Test::Unit::Assertions#assert_not_throws): ditto.
10135 * test/testunit/test_assertions.rb: add assertions for throwing some
10136 objects other than Symbol.
10138 Sat Dec 29 03:10:12 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10140 * io.c (io_unread): fix typo.
10142 Sat Dec 29 02:18:45 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10144 * io.c (io_unread): adhoc workaround for non-binary mode of some DOSish
10145 platforms. this is not perfect and safety, but works with most cases.
10147 Fri Dec 28 23:53:18 2007 Tanaka Akira <akr@fsij.org>
10149 * ext/strscan/strscan.c (str_new): new function for allocate an string
10150 with encoding propagation.
10151 (extract_range): use str_new.
10152 (extract_beg_len): ditto.
10153 (strscan_peek): ditto.
10154 (strscan_rest): ditto.
10156 Fri Dec 28 20:18:42 2007 WATANABE Hirofumi <eban@ruby-lang.org>
10158 * golf_prelude.rb (Object.say): derived from Perl 5.10.
10160 Fri Dec 28 19:39:34 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10162 * encoding.c (rb_locale_encoding): should check return value from
10163 rb_locale_charmap().
10165 * ruby.c (locale_encoding): removed.
10167 * ruby.c (process_options): use rb_locale_encoding() instead of
10170 * ext/readline/readline.c (readline_readline): use locale encoding
10171 instead of input IO's encoding. [ruby-dev:32872]
10173 Fri Dec 28 19:29:07 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10175 * ext/readline/readline.c (readline_readline, readline_s_set_input):
10176 use mReadline directly because self is not always same.
10178 Fri Dec 28 19:11:28 2007 Tanaka Akira <akr@fsij.org>
10180 * encoding.c (rb_locale_encoding): defined.
10182 * include/ruby/encoding.h (rb_locale_encoding): declared.
10184 Fri Dec 28 18:45:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10186 * ext/readline/readline.c (readline_readline): set encoding to result.
10188 * ext/readline/readline.c (readline_s_set_input, Init_readline): save
10189 input IO to hidden instance variable.
10191 Fri Dec 28 01:55:04 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
10193 * transcode.c (transcode_dispatch): reverted some of the changes
10196 * transcode.c, enc/trans/single_byte.c: Added conversions to/from
10197 US-ASCII and ASCII-8BIT (using data tables).
10199 * enc/trans/single_byte.c: Some spacing/ordering changes due to
10200 automatic data file generation.
10202 * transcode_data.h, transcode.c: Preliminary code for using
10203 micro-conversion functions.
10205 * test/ruby/test_transcode.rb: Added some tests for US-ASCII and
10206 ASCII-8BIT conversions.
10208 Fri Dec 28 17:33:44 2007 Tanaka Akira <akr@fsij.org>
10210 * time.c (make_time_t): verify mktime and timegm result.
10212 Fri Dec 28 16:36:33 2007 NARUSE, Yui <naruse@airemix.com>
10214 * lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.
10216 Fri Dec 28 16:10:00 2007 Eric Hodel <drbrain@segment7.net>
10218 * lib/rdoc/dot/dot.rb: Move to lib/rdoc/dot.rb. Fix namespacing.
10220 * lib/rdoc/diagram.rb: Update for 1.9.
10222 Fri Dec 28 15:38:29 2007 Eric Hodel <drbrain@segment7.net>
10224 * lib/rdoc/markup/sample/: Move to sample/rdoc/markup directory.
10226 Fri Dec 28 15:15:12 2007 Akinori MUSHA <knu@iDaemons.org>
10228 * lib/irb/completion.rb: Remove garbage ("X=1").
10230 Fri Dec 28 15:12:05 2007 Eric Hodel <drbrain@segment7.net>
10232 * lib/rdoc, test/rdoc: Move RDoc tests out of lib/.
10234 Fri Dec 28 15:10:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10236 * encoding.c (set_base_encoding, enc_base_encoding): renamed
10237 based_encoding as base_encoding.
10239 Fri Dec 28 13:57:49 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10241 * golf_prelude.rb (Integer#each): use alias simply.
10243 Fri Dec 28 13:45:21 2007 Akinori MUSHA <knu@iDaemons.org>
10245 * golf_prelude.rb (Object.const_missing): No need to delegate to
10246 superclass. Just raise a NameError when none matches.
10248 Fri Dec 28 13:18:47 2007 Kouhei Sutou <kou@cozmixng.org>
10250 * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.
10252 * lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name.
10253 Reported by Ray Chen. Thanks.
10255 Fri Dec 28 13:07:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10257 * gc.c (os_obj_of): returns an enumerator if no block given. based on
10258 a patch from Yugui <yugui AT yugui.sakura.ne.jp>. [ruby-dev:32828]
10260 Fri Dec 28 11:46:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10262 * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison
10263 1.8 series. [ruby-dev:32825]
10265 Fri Dec 28 11:39:02 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10267 * golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[]
10268 returns an array of lines.
10270 Fri Dec 28 11:16:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10272 * golf_prelude.rb (Object.quine): get the script itself.
10274 Fri Dec 28 10:06:54 2007 Akinori MUSHA <knu@iDaemons.org>
10276 * golf_prelude.rb (Object.const_missing): Auto-complete constants.
10278 Fri Dec 28 01:55:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10280 * transcode.c (transcode_dispatch): allows transcoding from/to
10283 Fri Dec 28 01:47:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10285 * golf_prelude.rb (Integer): Integer is now enumerable on goruby.
10287 Fri Dec 28 01:27:47 2007 Tanaka Akira <akr@fsij.org>
10289 * lib/rdoc/rdoc.rb (parse_files): don't depend on the default external
10292 Fri Dec 28 00:01:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10294 * common.mk (golf_prelude.c): use MINIRUBY instead of BASERUBY because
10295 tool/compile_prelude.rb requires rbconfig.rb.
10297 Thu Dec 27 23:56:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10299 * mkconfig.rb: should not use the libraries under the source directory
10300 at cross compiling.
10302 Thu Dec 27 23:43:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10304 * cygwin/GNUmakefile.in (EXTOBJS): uses ruby.rc always for other than
10307 Thu Dec 27 22:31:37 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10309 * lib/rubygems/commands/update_command.rb (do_rubygems_update): use
10310 portable and safely ENV operation. reported in
10311 <http://slashdot.jp/developers/comments.pl?sid=384937&cid=1273085>.
10313 Thu Dec 27 21:47:04 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10315 * mkconfig.rb (prefix): archdir is "1.9.0", not "1.9". reported in
10316 <http://slashdot.jp/developers/comments.pl?sid=384937&cid=1273085>.
10318 Thu Dec 27 17:57:30 2007 Tanaka Akira <akr@fsij.org>
10320 * parse.y, transcode_data.h, transcode.c, lib/weakref.rb,
10321 lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, enc/trans/japanese.c:
10322 change "illegal" to "invalid" in a context which doesn't against
10325 Thu Dec 27 16:37:06 2007 Tanaka Akira <akr@fsij.org>
10327 * re.c (rb_reg_s_union): show encodings in error message.
10329 Thu Dec 27 15:25:16 2007 Tanaka Akira <akr@fsij.org>
10331 * encoding.c (rb_enc_codelen): show codepoint in error message.
10333 * include/ruby/encoding.h (rb_enc_codelen): comment it returns
10336 * string.c (rb_str_concat): rb_enc_codelen doesn't return 0.
10338 Thu Dec 27 15:18:44 2007 Tanaka Akira <akr@fsij.org>
10340 * encoding.c (rb_enc_codelen): error message refined.
10342 Thu Dec 27 15:11:27 2007 Tanaka Akira <akr@fsij.org>
10344 * encoding.c (rb_enc_check): show encodings in error message.
10346 Thu Dec 27 15:02:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10348 * string.c (rb_str_casecmp): fixed using a wrong variable.
10351 Thu Dec 27 14:34:38 2007 Tanaka Akira <akr@fsij.org>
10353 * io.c (io_fflush): checks wbuf modification by other threads.
10354 not perfect. it need locks.
10356 Thu Dec 27 10:44:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10358 * ext/socket/socket.c: a patch to support IRIX from Andrew
10359 Thompson <andrew@hijacked.us> in [ruby-core:14447].
10361 Thu Dec 27 02:25:45 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10363 * lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCES
10364 occurs. this is a workaround for mswin32.
10366 Wed Dec 26 22:47:31 2007 NARUSE, Yui <naruse@ruby-lang.org>
10368 * lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array of
10369 Resolv::DNS::Label::Str.
10371 * lib/resolv.rb (Resolv::DNS::MessageEncoder#put_label): String#string
10372 is not defined, so replace to_s.
10374 * lib/resolv.rb (Resolv::IPv6#to_name): ip6.int is obsoleted by
10378 Wed Dec 26 21:27:02 2007 Tadayoshi Funaba <tadf@dotrb.org>
10380 * lib/date/format.rb (_xmlschema): some improvements.
10382 * lib/date/format.rb (_parse): a new hint compfunc. [experimental]
10384 Wed Dec 26 17:31:08 2007 Tanaka Akira <akr@fsij.org>
10386 * io.c (io_fflush): check closed fptr after rb_write_internal to avoid
10389 Wed Dec 26 16:10:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10391 * string.c (Init_String): defines chars method.
10393 Wed Dec 26 14:38:43 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10395 * instruby.rb: install goruby if exists.
10397 Wed Dec 26 13:55:02 2007 James Edward Gray II <jeg2@ruby-lang.org>
10399 * lib/csv.rb: Cleaned up some code with Ruby 1.9 idioms.
10401 Wed Dec 26 13:29:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10403 * array.c (tmpbuf): use rb_str_tmp_new().
10405 Wed Dec 26 00:57:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10407 * ext/json/ext/generator/generator.c (Init_generator): requires
10408 json/common.rb for GeneratorError, when static linked. a patch from
10409 Kenta Murata <muraken AT gmail.com> in [ruby-dev:32789].
10411 Tue Dec 25 23:33:55 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10413 * development version 1.9.0 released.
10415 Tue Dec 25 23:25:29 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10417 * lib/rexml/node.rb (REXML::Node::indent): should initialize rv
10418 variable. a patch from Tadayoshi Funaba <tadf AT dotrb.org> in
10421 Tue Dec 25 23:16:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10423 * ruby.c (proc_options): encoding option in shebang and RUBYOPT did not
10424 work, do not store alloca()ed string in a parent scope struct.
10426 Tue Dec 25 22:56:52 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10428 * win32/Makefile.sub (config.status): keep this file.
10430 Tue Dec 25 22:55:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10432 * configure.in (TIMEZONE_VOID): typo.
10434 Tue Dec 25 22:45:10 2007 Koichi Sasada <ko1@atdot.net>
10436 * insns2vm.rb: add encoding option to shebang.
10438 Tue Dec 25 22:13:51 2007 Koichi Sasada <ko1@atdot.net>
10440 * bootstraptest/pending.rb: add pending issue.
10442 Tue Dec 25 22:12:40 2007 Koichi Sasada <ko1@atdot.net>
10444 * thread.c: remove Thread.critical(=).
10446 Tue Dec 25 21:44:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10448 * tool/make-snapshot: add version number.
10450 Tue Dec 25 21:32:54 2007 Koichi Sasada <ko1@atdot.net>
10452 * compile.c (iseq_compile_each): fix stack consistency error
10453 (break is compiled to throw instead of jump insn).
10454 these problems are reported by Yusuke ENDOH <mame AT tsg.ne.jp>
10456 * bootstraptest/test_knownbug.rb, test_syntax.rb: move fixed test.
10458 Tue Dec 25 21:32:44 2007 Tanaka Akira <akr@fsij.org>
10460 * parse.y (struct parser_params): make parser_ruby_sourcefile common
10461 field. it is used by node_newnode.
10462 new field parser_ruby_sourcefile_string for ripper.
10463 (parser_initialize): initialize parser_ruby_sourcefile in ripper.
10464 (ripper_initialize): initialize parser_ruby_sourcefile_string.
10466 Tue Dec 25 21:26:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10468 * common.mk (parse.c): depends on tool/ytab.sed.
10470 * tool/ytab.sed: hack for bison 2.1.
10472 Tue Dec 25 20:24:58 2007 Technorama Ltd. <oss-ruby@technorama.net>
10474 * ext/openssl/ossl_ssl.c: Only show a warning if the default
10475 DH callback is actually used.
10477 * ext/openssl/ossl_rand.c: New method: random_add().
10479 Tue Dec 25 20:24:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10481 * tool/make-snapshot: argument check, and cleanup exported directory.
10483 Tue Dec 25 20:07:13 2007 WATANABE Hirofumi <eban@ruby-lang.org>
10485 * tool/make-snapshot: more portable.
10487 Tue Dec 25 19:01:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10489 * encoding.h (rb_enc_mbc_to_codepoint): wrapper for
10490 ONIGENC_MBC_TO_CODE().
10492 * string.c (rb_str_succ): deal with invalid sequence as binary.
10494 Tue Dec 25 18:40:46 2007 Koichi Sasada <ko1@atdot.net>
10496 * iseq.c: all methods need $SAFE < 1.
10498 vm.c: comment out debug functions.
10500 Tue Dec 25 18:37:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10502 * io.c (appendline): move RS comparison to rb_io_getline_1().
10504 Tue Dec 25 18:27:51 2007 Tanaka Akira <akr@fsij.org>
10506 * string.c (rb_str_each_line): don't call rb_enc_codepoint with empty
10509 Tue Dec 25 18:06:04 2007 Tanaka Akira <akr@fsij.org>
10511 * string.c (rb_str_inspect): don't call rb_enc_codepoint with empty
10512 string. fix '#'.inspect.
10514 * encoding.c (rb_enc_codepoint): raise on empty string.
10516 Tue Dec 25 17:48:28 2007 Shugo Maeda <shugo@ruby-lang.org>
10518 * vm.c (rb_frame_method_id_and_class): new function to get the
10519 method id and class of the current frame.
10521 Tue Dec 25 17:32:04 2007 Akinori MUSHA <knu@iDaemons.org>
10523 * lib/mkmf.rb (create_makefile): Add a missing dependency on the
10524 target directory for each .rb file. This will hopefully fix
10525 parallel make (-jN). Tested on FreeBSD.
10527 Tue Dec 25 16:51:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10529 * enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed
10530 from_encoding and to_encoding.
10532 Tue Dec 25 16:41:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10534 * golf_prelude.rb (h): add new method for all golfers.
10536 Tue Dec 25 16:37:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10538 * enc/trans/japanese.c (rb_to_EUC_JP): fixed typo.
10540 Tue Dec 25 16:34:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10542 * ext/dl/depend: add dependencies. [ruby-dev:32760]
10544 Tue Dec 25 16:26:48 2007 Koichi Sasada <ko1@atdot.net>
10546 * include/ruby/ruby.h, thread.c: rename is_ruby_native_thread() to
10547 ruby_native_thread_p().
10549 * ext/tk/tcltklib.c: apply it.
10551 Tue Dec 25 16:15:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10553 * common.mk (clean-enc): clean encoding objects.
10555 Tue Dec 25 16:04:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10557 * common.mk, goruby.c, golf_prelude.rb: for golfers.
10559 * main.c (main): hook for embedding applications.
10561 * tool/compile_prelude.rb: can change initialize function name.
10563 Tue Dec 25 15:59:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10565 * encoding.c (rb_enc_register): do not use based_encoding to check if
10568 Tue Dec 25 15:55:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10570 * string.c (rb_str_succ): fix for string with non-alphanumeric chars.
10572 Tue Dec 25 15:42:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10574 * io.c (rb_io_external_encoding): should return nil for
10575 pass-through write IO. [ruby-dev:32740]
10577 Tue Dec 25 15:24:57 2007 Tanaka Akira <akr@fsij.org>
10579 * io.c (appendline): initialize rslen to 1 if rsptr is 0.
10580 rslen is the length of the delimiter.
10581 if only delim is given, it should be 1.
10584 Tue Dec 25 15:21:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10586 * transcode.c (transcode_dispatch): fix for multistep transcode.
10588 Tue Dec 25 15:07:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10590 * enc/trans/single_byte.c (Init_single_byte): renamed.
10592 Tue Dec 25 15:00:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10594 * enum.c (enum_yield): when multiple values yielded from #each
10595 pack them into an array. [ruby-dev:32708]
10597 * enum.c: all method but all?, any?, one? and none? passed packed
10598 multiple values to the block.
10600 * enum.c (collect_all): should pack all values. [ruby-core:14410]
10602 Tue Dec 25 14:57:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10604 * common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.
10606 * transcode_data.h (rb_transcoding, rb_transcoder): prefixed.
10608 * transcode.c (rb_register_transcoder, rb_declare_transcoder): split
10609 declaration and registration. [ruby-dev:32704]
10611 * transcode.c (transcode_dispatch): autoload pre-declared transcoder.
10613 * transcode.c (str_transcode): use rb_define_dummy_encoding().
10615 * transcode.c (Init_transcode): initialize transcoder tables.
10617 * enc/trans/single_byte.c, enc/trans/japanese.c: moved from top.
10619 Tue Dec 25 14:20:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10621 * lib/mkmf.rb (map_dir): should generate path including $top_srcdir.
10623 Tue Dec 25 14:09:16 2007 James Edward Gray II <jeg2@ruby-lang.org>
10625 * lib/csv.rb: Fixed test failures caused by changes to Ruby.
10627 * test/csv/tc_serialization, test/csv/tc_csv_parsing, test/csv/tc_features:
10628 Fixed test failures caused by changes to Ruby.
10630 Tue Dec 25 14:11:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10632 * io.c (io_encoding_set): missing return type.
10634 Tue Dec 25 14:03:48 2007 NARUSE, Yui <naruse@ruby-lang.org>
10636 * test/rinda/test_rinda.rb (MockClock#{_forward, forward, sleep}):
10637 Change default value of n as @reso from nil. If default value is
10638 nil, n.+ is not defined.
10640 Tue Dec 25 13:54:01 2007 Tanaka Akira <akr@fsij.org>
10642 * test/ruby/test_io_m17n.rb (test_pipe): fixed.
10645 Tue Dec 25 13:44:51 2007 Koichi Sasada <ko1@atdot.net>
10647 * thread.c (rb_thread_wait_fd_rw): should check EBADF on select().
10649 Tue Dec 25 13:30:03 2007 Koichi Sasada <ko1@atdot.net>
10651 * thread_pthread.c, thread_pthread.h, thread_win32.c,
10652 thread_win32.c: make some functions static functions.
10653 a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp>
10654 in [ruby-core:14407]
10656 Tue Dec 25 13:23:13 2007 Tanaka Akira <akr@fsij.org>
10658 * test/ruby/test_io_m17n.rb (test_write_noenc): don't mix text and
10659 binary mode. [ruby-dev:32743]
10661 Tue Dec 25 13:13:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10663 * README.EXT.ja, dir.c, eval.c, eval_intern.h, lex.c.src,
10664 lex.c.blt, keywords, load.c, thread.c: more ANSI'ize.
10665 a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp>
10666 in [ruby-dev:32725]
10668 Tue Dec 25 13:07:56 2007 Koichi Sasada <ko1@atdot.net>
10670 * vm_core.h, thread.c, cont.c: add RUBY_VM_SET_INTERRUPT(),
10671 RUBY_VM_SET_TIMER_INTERRUPT(), RUBY_VM_INTERRUPTED().
10673 * thread.c, thread_pthread.c, thread_win32.c: fix to ignore time slice
10676 * bootstraptest/test_thread.rb: add a test for time limited join test.
10678 Tue Dec 25 12:42:59 2007 Koichi Sasada <ko1@atdot.net>
10680 * vm.c (Init_VM): remove unused code.
10683 Tue Dec 25 12:32:32 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
10685 * transcode.c: Moving a static counter from inside register_transcoder()
10686 and register_functional_transcoder() to outside the functions, renaming
10687 from n to next_transcoder_position. Fixes 3) in [ruby-dev:32715].
10689 Tue Dec 25 12:22:17 2007 NARUSE, Yui <naruse@ruby-lang.org>
10691 * sample/from.rb: follow Ruby 1.9 libraries.
10693 Tue Dec 25 12:21:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10695 * proc.c (method_inspect): preserve encoding of the method name.
10697 Tue Dec 25 12:07:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10699 * configure.in (BASERUBY): delayed error until BASERUBY is used.
10701 Tue Dec 25 11:48:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10703 * sample/README: removed obsoleted files: dbmtest.rb,
10704 getopts.test, mrshtest.rb, regx.rb.
10706 Tue Dec 25 11:45:34 2007 James Edward Gray II <jeg2@ruby-lang.org>
10708 * lib/csv.rb: Import the FasterCSV source as the new CSV class.
10710 * test/csv/*: Added all applicable tests from FasterCSV.
10712 Tue Dec 25 11:33:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10714 * error.c (report_bug): uses ruby_description.
10716 Tue Dec 25 11:20:38 2007 Koichi Sasada <ko1@atdot.net>
10718 * compile.c (iseq_compile_each): fix stack consistency error.
10719 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:32720]
10721 * bootstraptest/test_syntax.rb: add 2 tests for above.
10723 Tue Dec 25 11:14:20 2007 Koichi Sasada <ko1@atdot.net>
10725 * iseq.c, vm_core.h: comment out unused fields.
10727 Tue Dec 25 11:02:10 2007 Koichi Sasada <ko1@atdot.net>
10729 * vm.c: check frame is FINAL when creating env.
10732 * bootstraptest/test_block.rb: add a test for above.
10734 Tue Dec 25 09:12:13 2007 Eric Hodel <drbrain@segment7.net>
10736 * lib/rdoc/: Enable RDoc debugging only with $DEBUG_RDOC.
10738 Tue Dec 25 08:37:43 2007 James Edward Gray II <jeg2@ruby-lang.org>
10740 * lib/csv.rb, test/csv/test_csv.rb: Removed in preparation for
10741 FasterCSV code import.
10743 Tue Dec 25 08:27:43 2007 Eric Hodel <drbrain@segment7.net>
10745 * lib/rubygems.rb: Fix test failures.
10747 * test/rubygems/test_gem.rb: Fix test failure.
10749 Tue Dec 25 06:23:40 2007 Koichi Sasada <ko1@atdot.net>
10751 * bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test.
10753 Tue Dec 25 06:19:04 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
10755 * sample/biorhythm.rb: follow Ruby 1.9 libraries.
10757 Tue Dec 25 06:15:01 2007 Koichi Sasada <ko1@atdot.net>
10759 * vm.c: add dummy toplevel frame.
10761 Tue Dec 25 05:44:56 2007 Eric Hodel <drbrain@segment7.net>
10763 * lib/net/http.rb: Fix uninitialized variable warning.
10766 * lib/irb/output-method.rb: Remove unused #foo method.
10769 Tue Dec 25 05:24:12 2007 Koichi Sasada <ko1@atdot.net>
10771 * compile.c (iseq_compile): clear local table if node == 0.
10772 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:32530]
10774 * vm.c: clear VM stack.
10776 Tue Dec 25 04:23:32 2007 Tanaka Akira <akr@fsij.org>
10778 * parse.y (rb_id2str): fill klass of returned string as rb_cString.
10779 some strings are allocated before rb_cString is created.
10780 This prevents a "called on terminated object" error by
10781 ObjectSpace.each_object(Module) {|m| p m.name }.
10783 Tue Dec 25 03:51:55 2007 Koichi Sasada <ko1@atdot.net>
10785 * compile.c (iseq_compile_each): fix stack consistency bug.
10786 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
10788 Tue Dec 25 03:19:47 2007 WATANABE Hirofumi <eban@ruby-lang.org>
10790 * tool/make-snapshot: must create configure and lex.c.
10792 Tue Dec 25 03:16:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10794 * io.c (rb_io_s_pipe): now takes up to two arguments. allow its
10795 external/internal encoding by Encoding objects.
10797 * io.c (rb_io_set_encoding): new method to set encoding of the IO.
10799 * io.c (argf_set_encoding): ditto.
10801 Tue Dec 25 03:08:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10803 * pack.c (pack_pack): use NUM2LONG instead of NUM2INT.
10805 * numeric.c (fix_lshift, fix_aref): use SIZEOF_LONG instead of
10808 * bignum.c (big2ulong, rb_big_aref): ditto.
10810 Tue Dec 25 02:55:26 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
10812 * lib/rexml/element.rb (REXML::Elements#each): yield in each
10813 should be called with one parameter. [ruby-dev:32708]
10815 Tue Dec 25 02:15:39 2007 Koichi Sasada <ko1@atdot.net>
10817 * compile.c (iseq_compile_each): add a "pop" insn after break
10818 to fix stack consistency error. [ruby-core:14385]
10820 * bootstraptest/test_syntax.rb: add tests for above.
10822 * bootstraptest/test_knownbug.rb: remove fixed bug.
10824 Tue Dec 25 01:54:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10826 * id.c (Init_id): remove several unused symbols. [ruby-core:14362]
10828 * compile.c (iseq_specialized_instruction): do not use
10829 VM_CALL_SEND_BANG flag any longer.
10831 Tue Dec 25 01:42:41 2007 Tanaka Akira <akr@fsij.org>
10833 * lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.
10835 Tue Dec 25 01:38:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10837 * proc.c (method_name): preserve Symbol's encoding.
10839 * numeric.c (fix_id2name): ditto.
10841 Tue Dec 25 01:19:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
10843 * include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.
10845 * include/ruby/encoding.h (rb_enc_right_char_head): ditto.
10847 * io.c (appendline): does multibyte RS search in the function.
10849 * io.c (prepare_getline_args): RS may be nil.
10851 * io.c (rb_io_getc): should process character based on external
10852 encoding, when transcoding required.
10854 Tue Dec 25 01:07:57 2007 Tanaka Akira <akr@fsij.org>
10856 * lib/irb/output-method.rb: translate a comment to English to
10857 avoid mix of EUC-JP comment and UTF-8 Date keyword.
10858 svn substitute Date keyword with UTF-8 weekday on UTF-8 locale.
10860 Tue Dec 25 00:27:28 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
10862 * lib/webrick/httpservley/cgihandler.rb
10863 (WEBrick::HTTPServlet::CGIHandler#do_GET): m17nized.
10865 Mon Dec 24 23:55:29 2007 Tanaka Akira <akr@fsij.org>
10867 * lib/cgi.rb (CGI::escape): m17nized.
10868 (CGI::unescape): ditto.
10869 (CGI::escapeHTML): ditto.
10870 (CGI::unescapeHTML): ditto.
10872 Mon Dec 24 23:32:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
10874 * transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
10876 Mon Dec 24 23:13:09 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
10878 * lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitls
10881 Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
10883 * lib/ftools.rb: removed obsoleted lib. use fileutils instead (by eban).
10885 * lib/rdoc/rdoc.rb, lib/rdoc/generators/*, lib/rake.rb: let it use
10886 fileutils instead of ftools.
10888 * lib/shell/command-processor.rb: removed unused references to ftools.
10890 * lib/parsedate.rb: removed. see [ruby-core:12535], [ruby-dev:31969].
10892 * lib/README: updated.
10894 Mon Dec 24 23:01:04 2007 Tanaka Akira <akr@fsij.org>
10896 * lib/open-uri.rb (OpenURI::Buffer): use Meta ===. [ruby-core:14295]
10898 Mon Dec 24 22:46:42 2007 NARUSE, Yui <naruse@ruby-lang.org>
10900 * transcode.c: register_functional_transcoder() added.
10901 (init_transcoder_table(: register ISO-2022-JP.
10902 (str_transcode): add preprocessor and postprocessor.
10904 * transcode_data_japanese.c: add ISO-2022-JP support.
10906 * transcode_data.h: moved transcoder and transcoding definition from
10909 Mon Dec 24 20:29:28 2007 Koichi Sasada <ko1@atdot.net>
10911 * test/io/nonblock/test_flush.rb: fix test for 1.9.
10913 Mon Dec 24 20:23:44 2007 Koichi Sasada <ko1@atdot.net>
10915 * test/rinda/test_rinda.rb: revert last commit because this test seems
10916 to have timing problem to halt all tests.
10918 Mon Dec 24 20:18:52 2007 Koichi Sasada <ko1@atdot.net>
10920 * test/rinda/test_rinda.rb: enable rinda test.
10922 Mon Dec 24 20:16:54 2007 Koichi Sasada <ko1@atdot.net>
10924 * instruby.rb: fix rdoc install dir.
10926 Mon Dec 24 18:37:32 2007 Tanaka Akira <akr@fsij.org>
10928 * re.c (rb_reg_prepare_re): show regexp encoding in the error message.
10930 Mon Dec 24 18:23:32 2007 Tanaka Akira <akr@fsij.org>
10932 * eval.c (rb_exc_raise): ANSI style.
10933 (rb_exc_fatal): ditto.
10934 (rb_raise_jump): ditto.
10935 (rb_jump_tag): ditto.
10936 (rb_block_given_p): ditto.
10938 * variable.c (original_module): ditto.
10940 Mon Dec 24 18:05:09 2007 Koichi Sasada <ko1@atdot.net>
10942 * iseq.c (Init_ISeq): disable ISeq.load() because there is no verifier.
10944 * iseq.c, proc.c: add ISeq.disasm(method).
10946 Mon Dec 24 18:06:03 2007 Tanaka Akira <akr@fsij.org>
10948 * eval_method.c (Init_eval_method): extracted from Init_eval
10949 for rdoc to find rb_mod_remove_method, rb_mod_undef_method and
10950 rb_mod_alias_method.
10952 * eval.c (Init_eval): call Init_eval_method.
10954 Mon Dec 24 17:59:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10956 * load.c (load_lock): reverted.
10958 * thread.c (rb_barrier_wait): check for recursive wait.
10960 Mon Dec 24 17:50:54 2007 Tanaka Akira <akr@fsij.org>
10962 * eval.c (function_call_may_return_twice_jmp_buf): removed.
10963 (function_call_may_return_twice_false): removed.
10966 Mon Dec 24 17:40:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10968 * common.mk (node_name.inc, miniprelude.c, prelude.c): nmake cannot
10969 handle target vpath in other than implicit rules.
10971 Mon Dec 24 17:20:34 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
10973 * lib/{mailread.rb,getopts.rb,parsearg.rb}: removed.
10974 see [ruby-core:12535], [ruby-dev:31969].
10976 Mon Dec 24 17:12:57 2007 Tanaka Akira <akr@fsij.org>
10978 * include/ruby/intern.h, random.c, array.c:
10979 change exported name.
10980 genrand_int32 -> rb_genrand_int32.
10981 genrand_real -> rb_genrand_real.
10984 Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
10986 * {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion
10987 at ruby-core and ruby-dev. see [ruby-core:12535], [ruby-dev:31969].
10989 Mon Dec 24 17:06:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
10991 * load.c (rb_feature_p): returns loading path name too.
10993 * load.c (search_required): returns path too if feature is being
10994 loaded. [ruby-dev:32048] [TODO: refactoring]
10996 Mon Dec 24 16:29:12 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
10998 * sample/openssl: reviewed and remove dependency on getopts.rb.
11000 Mon Dec 24 16:18:57 2007 Koichi Sasada <ko1@atdot.net>
11002 * mkconfig.rb: add teeny to CONFIG['ruby_version'].
11004 Mon Dec 24 15:55:50 2007 Koichi Sasada <ko1@atdot.net>
11006 * tool/compile.rb, getrev.rb, runruby.rb: remove unused tools.
11008 Mon Dec 24 15:42:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11010 * configure.in, cygwin/GNUmakefile.in, */Makefile.sub,
11011 djgpp/config.hin.: version dependent directory names now contain
11014 Mon Dec 24 15:29:13 2007 Tanaka Akira <akr@fsij.org>
11016 * tool/serb.rb: removed.
11018 Mon Dec 24 13:55:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11020 * proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.
11023 * test/ruby/test_symbol.rb (test_to_proc): a test from Frederick
11024 Cheung <frederick.cheung AT gmail.com>.
11026 Mon Dec 24 13:43:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11028 * thread.c (rb_thread_atfork): should not leave living_threads
11029 referring freed table while allocating new table.
11031 Mon Dec 24 12:49:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11033 * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specify
11034 compiled output file name explicitly.
11036 * enc/Makefile.in, enc/depend: now makes compiler to put generated
11037 files under directories corresponding to the each source.
11038 enc/trans supported.
11040 * enc/make_encmake.rb: evaluates depend file before Makefile.in so
11041 that the former can influence to CONFIG.
11043 Mon Dec 24 12:35:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11045 * win{32,ce}/Makefile.sub (MFLAGS): defaulted to -l.
11047 Mon Dec 24 12:08:10 2007 Eric Hodel <drbrain@segment7.net>
11049 * /, ext/: Add svn:ignore for OS X Xcode 3's conftest.dSYM
11052 Mon Dec 24 11:56:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11054 * common.mk: should not pass MAKEFLAGS to recursive make.
11055 + normal make: MFLAGS are set and command line options and macros
11056 are all passed silently.
11057 + GNU make: ditto, and all options and macros in MAKEFLAGS are in
11059 + nmake: MFLAGS is not set and MAKEFLAGS has only options without
11060 hyphen, no macros exist in any variables.
11061 + Borland make: ditto, and command line macros cannot override
11062 macros in makefile, so passing them is vain.
11064 * {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not
11065 set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS.
11067 Mon Dec 24 11:32:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11069 * string.c (rb_str_comparable): fixed to keep transitivity.
11072 Mon Dec 24 11:20:31 2007 Eric Hodel <drbrain@segment7.net>
11074 * lib/rdoc/ri/ri_options.rb: Fix display of GEMDIRS, make command
11075 examples match ri's name.
11077 * lib/rdoc/ri/ri_paths.rb: Only allow latest ri dirs in ri output.
11079 Mon Dec 24 10:49:04 2007 Eric Hodel <drbrain@segment7.net>
11081 * lib/uri/mailto.rb, lib/uri/common.rb: Fix Regexp warnings. Patch
11082 #16524 from Kornelius Kalnbach, [ruby-core:14302].
11084 Mon Dec 24 10:37:38 2007 Eric Hodel <drbrain@segment7.net>
11086 * gem_prelude.rb: Remove methods from Gem, not QuickLoader, to fix
11089 Mon Dec 24 09:45:45 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11091 * transcode.c, transcode_data_one_byte.c, transcode_data_japanese.c:
11092 added rb_ prefix to external data symbols.
11094 Mon Dec 24 05:32:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11096 * enum.c (enum_inject): updated documentation. a patch from Keita
11097 Yamaguchi <keita.yamaguchi AT gmail.com> in [ruby-dev:32686].
11099 * README.EXT: updated. a patch from Tadashi Saito
11100 <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14328].
11102 * array.c (rb_ary_at): updated documentation. a patch from Tadashi
11103 Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].
11105 Mon Dec 24 05:13:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11107 * string.c (tr_trans): should associate new encoding if modified.
11109 Mon Dec 24 04:04:12 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
11111 * test/net/http/test_https.rb: should rescue LoadError.
11113 Mon Dec 24 03:57:28 2007 Koichi Sasada <ko1@atdot.net>
11115 * cont.c, vm.h: fix to support sparc machine.
11116 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
11118 Mon Dec 24 03:35:19 2007 Koichi Sasada <ko1@atdot.net>
11120 * common.mk: remove additional "-".
11122 Mon Dec 24 02:59:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11124 * io.c (rb_io_check_readable): should not fill fptr->enc always.
11125 read-write IO (e.g. socket) does not work. [ruby-dev:32685]
11127 * io.c (io_read_encoding): retrieve reading encoding.
11129 * io.c (prepare_getline_args): convert RS to external encoding.
11131 * string.c (str_new_shared): was setting embedding flag of wrong
11132 string object. [ruby-dev:32685]
11134 * io.c (io_enc_str): should preserve default_external encoding.
11136 * io.c (appendline): should do multibyte aware RS search.
11138 Mon Dec 24 02:06:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11140 * io.c (rb_f_open): documentation update.
11142 * io.c (rb_io_s_pipe): ditto.
11144 * io.c (io_fwrite): wrong encoding destination.
11146 * io.c (rb_io_external_encoding): should return the encoding of
11149 * io.c (rb_io_internal_encoding): should return the encoding of
11152 Mon Dec 24 01:46:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11154 * io.c (rb_io_s_pipe): allow specifying read-side encoding.
11156 * io.c (io_enc_str): wrong encoding destination.
11158 Mon Dec 24 01:03:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11160 * string.c (rb_str_comparable): comparison including broken
11161 coderange strings do not consider encoding.
11163 Mon Dec 24 00:57:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11165 * io.c (open_key_args): IO direct methods (foreach, readlines,
11166 read) now takes keyword argument: encoding, mode, open_args.
11168 Mon Dec 24 00:52:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11170 * io.c (rb_io_s_read): encoding argument reverted.
11172 * io.c (mode_enc): independent function to share code.
11174 * io.c (rb_io_internal_encoding): new method.
11176 Mon Dec 24 00:47:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11178 * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn):
11179 rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary
11180 warning in make test.
11182 Sun Dec 23 23:03:13 2007 Tanaka Akira <akr@fsij.org>
11184 * encoding.c (rb_enc_codepoint): implemented to raise invalid
11187 * include/ruby/encoding.h (rb_enc_codepoint): macro is replaced as a
11190 Sun Dec 23 19:45:22 2007 Tanaka Akira <akr@fsij.org>
11192 * lib/time.rb (Time.httpdate): fix 2 digits year for 20xx.
11193 reported by Tadayoshi Funaba. [ruby-dev:32687]
11195 Sun Dec 23 19:33:42 2007 Eric Hodel <drbrain@segment7.net>
11197 * lib/open-uri.rb: Fix method redefined warning. [ruby-core:14304]
11199 Sun Dec 23 18:31:49 2007 NARUSE, Yui <naruse@ruby-lang.org>
11201 * ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.
11203 * ext/nkf/nkf.c (Init_nkf): use rb_nkf_enc_get("ASCII").
11205 * ext/nkf/nkf-utf8/nkf.c: Update 1.161.
11207 * ext/nkf/nkf-utf9/config.h: default output encoding is now UTF-8.
11209 * ext/nkf/lib/kconv.rb (Kconv.kconv): replace Encoding#name by
11212 Sun Dec 23 18:02:52 2007 Eric Hodel <drbrain@segment7.net>
11214 * lib/rubygems/gem_open_uri.rb: Fix version check.
11216 Sun Dec 23 17:24:48 2007 Tanaka Akira <akr@fsij.org>
11218 * encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.
11220 Sun Dec 23 17:00:23 2007 Tanaka Akira <akr@fsij.org>
11222 * lib/time.rb (Time.httpdate): use Time.utc for
11223 "day-of-week, dd-mon-yy HH::MM:SS GMT" format.
11225 Sun Dec 23 16:12:40 2007 Eric Hodel <drbrain@segment7.net>
11227 * lib/rdoc: Fix 1.9 warnings.
11229 Sun Dec 23 15:28:37 2007 Eric Hodel <drbrain@segment7.net>
11231 * lib/rubygems, test/rubygems: Fix new 1.9 warnings.
11233 Sun Dec 23 14:43:10 2007 Eric Hodel <drbrain@segment7.net>
11235 * gem_prelude.rb: Use require to load rubygems.rb so the correct path
11236 is in $LOADED_FEATURES on RubyGems upgrade.
11238 Sun Dec 23 11:26:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11240 * string.c (sym_call): use exact argument array interface.
11243 Sun Dec 23 11:01:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11245 * io.c (rb_io_binmode_m): removed C99ism.
11247 Sun Dec 23 10:23:23 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11249 * transcode_data_one_byte.c: Better (and more honest) optimization.
11251 * transcode_data_japanese.c: First optimization step.
11253 Sun Dec 23 09:07:02 2007 Tanaka Akira <akr@fsij.org>
11255 * include/ruby/encoding.h, encoding.c, re.c, io.c, parse.y, numeric.c,
11256 ruby.c, transcode.c, ext/nkf/nkf.c: rename rb_ascii_encoding to
11257 rb_ascii8bit_encoding. rb_ascii_encoding is ambiguous with
11258 ASCII-8BIT and US-ASCII.
11260 Sun Dec 23 03:35:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11262 * version.h: use patchlevel if revision is not set.
11264 * {bcc32,win{32,ce}}/setup.mak (-version-): skip including revision.h.
11266 * common.mk (srcs): new target to generated sources.
11268 * common.mk (encs, ext/ripper/ripper.c): MAKEFLAGS needs -.
11270 * enc/depend, enc/make_encmake.rb: use erb.
11272 Sun Dec 23 01:56:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11274 * io.c (rb_io_mode_enc): do not set encoding unless explicitly
11277 * io.c (rb_io_check_readable): fill fptr->enc by default_external
11280 * io.c (io_enc_str): fptr->enc is always set for reading IO (by
11281 rb_io_check_readable(fptr)).
11283 Sun Dec 23 01:18:06 2007 David Flanagan <david@davidflanagan.com>
11285 * io.c, io.h: temporary patch to partially implement
11286 transcode-on-read and transcode-on-write
11288 Sun Dec 23 00:48:05 2007 Shugo Maeda <shugo@ruby-lang.org>
11290 * test/net/imap/test_imap.rb: added tests for SSL.
11292 Sat Dec 22 21:10:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11294 * ext/syck/rubyext.c (syck_genericresolver_node_import): should
11295 not set instance variable "@kind" before initializing it.
11298 Sat Dec 22 19:52:23 2007 Koichi Sasada <ko1@atdot.net>
11300 * bootstraptest/test_objectspace.rb: fix condition.
11302 Sat Dec 22 19:17:10 2007 Koichi Sasada <ko1@atdot.net>
11304 * ext/probeprofiler/: removed.
11306 Sat Dec 22 19:14:38 2007 Koichi Sasada <ko1@atdot.net>
11308 * process.c (rb_f_fork): Unsupport Kernel.fork() on NetBSD.
11310 Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11312 * test/ruby/test_transcode.rb: Added simple tests for
11313 EUC-JP and Shift_JIS and tests for ASCII-only range
11315 Sat Dec 22 18:20:13 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11317 * common.mk (version.o): add dependency. [ruby-dev:32680]
11319 Sat Dec 22 17:45:11 2007 NARUSE, Yui <naruse@ruby-lang.org>
11321 * ext/nkf/nkf.c (Init_nkf): use rb_ascii_encoding() for
11322 rb_nkf_enc_get("US-ASCII").
11323 * if use rb_nkf_enc_get("US-ASCII"), ruby will crash - this is bug?
11325 Sat Dec 22 17:39:03 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11327 * lib/mkmf.rb ($extmk): fixed broken condition.
11329 Sat Dec 22 17:35:59 2007 NARUSE, Yui <naruse@ruby-lang.org>
11331 * ext/nkf/nkf-utf8.c: Update nkf.c rev:1.157.
11333 * ext/nkf/nkf.c (rb_nkf_enc_get): replicate proper based encoding.
11335 * ext/nkf/kconv.c (Kconv#kconv, to*): use self.encoding as from_enc
11336 when from_enc isn't given.
11338 Sat Dec 22 17:06:50 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
11340 * ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.
11342 * ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext#set_params):
11343 new method to set suitable SSL parameters.
11345 * lib/net/pop.rb, lib/net/http.rb, lib/net/imap.rb,
11346 test/openssl/test_ssl.rb: follow above change.
11348 * test/net/http/test_https.rb: refine error case.
11350 Sat Dec 22 16:58:49 2007 Shugo Maeda <shugo@ruby-lang.org>
11352 * lib/net/imap.rb (encode_utf7): accept UTF-8 strings.
11354 * lib/net/imap.rb (decode_utf7): return UTF-8 strings.
11356 Sat Dec 22 15:56:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11358 * transcode_data_japanese: typo.
11360 Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11362 * ChangeLog: Information for last patch got lost, fixed
11364 Sat Dec 22 15:45:45 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11366 * transcode_data_one_byte: slightly optimized
11368 * transcode_data_japanese: new data file for EUC-JP and SHIFT_JIS
11369 (not yet optimized; tests to follow; data from
11370 http://nkf.sourceforge.jp/ucm/{SJIS|eucJP}-nkf.ucm)
11372 * common.mk, transcode.c: Adjusted for transcode_data_japanese
11374 Sat Dec 22 15:30:13 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11376 * */Makefile.sub (MFLAGS): define unless defined.
11378 Sat Dec 22 15:17:40 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11380 * lib/mkmf.rb ($extmk): set true only when under ext/ or tool/.
11382 Sat Dec 22 15:14:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11384 * common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.
11386 * configure.in (STRINGIZE): stringizing macro.
11388 * include/ruby/defines.h (STRINGIZE): fallback.
11390 * tool/make-snapshot: new file.
11392 * version.c (ruby_description, ruby_copyright): string constants for
11395 Sat Dec 22 15:03:37 2007 Shugo Maeda <shugo@ruby-lang.org>
11397 * lib/net/imap.rb (initialize): fixed documentation.
11399 Sat Dec 22 15:01:16 2007 Shugo Maeda <shugo@ruby-lang.org>
11401 * lib/net/pop.rb (enable_ssl): use OpenSSL::SSL::SSLContext.build
11402 instead of SSLContext.new (default verify mode is now
11403 OpenSSL::SSL::VERIFY_PEER).
11405 Sat Dec 22 14:45:21 2007 Tadayoshi Funaba <tadf@dotrb.org>
11407 * lib/date.rb: shouldn't freeze nil. [ruby-dev:32677]
11409 Sat Dec 22 14:27:27 2007 Tanaka Akira <akr@fsij.org>
11411 * regenc.c (onigenc_ascii_is_code_ctype): moved from enc/ascii.c.
11413 * regenc.h (onigenc_ascii_is_code_ctype): declared.
11415 * enc/ascii.c: use onigenc_ascii_is_code_ctype.
11417 * enc/us_ascii.c: new file for US-ASCII.
11419 Sat Dec 22 14:30:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11421 * parse.y (reg_named_capture_assign_iter): allows non-ascii names and
11422 get rid of reserved word IDs.
11424 Sat Dec 22 14:18:45 2007 Koichi Sasada <ko1@atdot.net>
11426 * test/ruby/test_float.rb, test_sprintf.rb: fix test place.
11428 Sat Dec 22 14:17:02 2007 Koichi Sasada <ko1@atdot.net>
11430 * bootstraptest/test_objectspace.rb: skip frozen string.
11432 Sat Dec 22 14:02:58 2007 Koichi Sasada <ko1@atdot.net>
11434 * array.c (rb_ary_permutation): add volatile to avoid GC problem.
11436 Sat Dec 22 11:47:42 2007 Koichi Sasada <ko1@atdot.net>
11438 * eval.c (rb_obj_instance_eval): use class of immediate objects.
11440 * test/ruby/test_eval.rb: fix a test.
11442 Sat Dec 22 11:37:06 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11444 * encoding.c (rb_locale_charmap): win32 support.
11446 Sat Dec 22 11:31:14 2007 Eric Hodel <drbrain@segment7.net>
11448 * gem_prelude.rb: Place bin dir before lib dir so gem bin stubs work.
11450 Sat Dec 22 11:05:44 2007 Jim Weirich <jim@tardis.local>
11452 * lib/rake.rb (Rake): Added Rake and related libraries to the
11455 Sat Dec 22 10:30:45 2007 Koichi Sasada <ko1@atdot.net>
11457 * tool/insns2vm.rb: moved from lib/vm/instruction.rb.
11459 Sat Dec 22 10:25:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11461 * parse.y (reg_named_capture_assign_iter): captured name should
11462 not be reserved word. a patch from Keita Yamaguchi
11463 <keita.yamaguchi AT gmail.com> in [ruby-dev:32675].
11465 * parse.y (reg_named_capture_assign_iter): just ignore the
11466 captures that do not have valid local variable name.
11468 Sat Dec 22 10:19:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11470 * eval.c (rb_f_method_name): now __method__ and __callee__ are
11471 aliases. [ruby-core:14244]
11473 Sat Dec 22 08:29:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11475 * string.c (rb_str_buf_append): improvement for non-broken coded
11478 Sat Dec 22 06:30:04 2007 Koichi Sasada <ko1@atdot.net>
11480 * bootstraptest/test_fork.rb: skip if fork is not unsupported.
11482 * bootstraptest/test_io.rb: skip if require failed.
11484 Sat Dec 22 06:09:12 2007 David Flanagan <david@davidflanagan.com>
11486 * io.c: fix typo in rdoc comment
11488 Sat Dec 22 05:09:43 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11490 * parse.y (parser_str_new, rb_intern3): rb_default_encoding() renamed.
11492 * ext/nkf/nkf.c (rb_nkf_putchar): ditto.
11494 Sat Dec 22 03:54:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11496 * encoding.c (rb_ascii_encoding): renamed from previous
11497 rb_default_encoding().
11499 Sat Dec 22 02:49:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11501 * parse.y (command): block from cmd_brace_block was ignored.
11504 * re.c (rb_reg_prepare_re): stop ENCODING_NONE warning if the
11505 encoding of the str is ASCII-8BIT.
11507 Sat Dec 22 01:52:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11509 * io.c (io_ungetc): avoid buffer relocation, which might cause
11510 serious problem under concurrent situation.
11512 Sat Dec 22 01:35:41 2007 Tanaka Akira <akr@fsij.org>
11514 * re.c (ARG_ENCODING_NONE): defined for /.../n option.
11515 (REG_ENCODING_NONE): ditto.
11516 (rb_char_to_option_kcode): return ARG_ENCODING_NONE for n.
11517 (rb_reg_prepare_re): warn /ascii/n =~ "non-ascii".
11518 (rb_reg_initialize): set REG_ENCODING_NONE from ARG_ENCODING_NONE.
11520 Sat Dec 22 01:23:10 2007 Shugo Maeda <shugo@ruby-lang.org>
11522 * test/json/test_json_addition.rb (test_core): do not use Time.now
11523 because JSON can't hold nsec.
11525 Sat Dec 22 01:10:30 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11527 * ext/tk/sample/tkextlib/vu/canvSticker2.rb,
11528 ext/tk/sample/demos-{en,jp}/bind.rb: fix typo. [ruby-dev:32668]
11530 Sat Dec 22 00:56:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11532 * sample/test.rb (valid_syntax): force_encoding input script.
11534 Fri Dec 21 23:48:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11536 * lib/mkmf.rb (depend_rules): suffixes list broken. fixed.
11538 Fri Dec 21 20:18:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11540 * bignum.c (rb_big_mul0): remove unused variable.
11542 * bignum.c (bigdivrem): ditto.
11544 Fri Dec 21 20:13:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11546 * include/ruby/ruby.h (rb_catch_obj, rb_throw_obj): prototyped.
11548 * include/ruby/intern.h (rb_fiber_alive_p): prototyped.
11550 Fri Dec 21 20:09:18 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11552 * string.c (rb_str_succ): retry increasing until valid char is found.
11554 Fri Dec 21 20:00:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11556 * encoding.c (rb_enc_replicate): now creates first class encoding.
11558 * encoding.c (rb_define_dummy_encoding): always based on the default
11561 * encoding.c (rb_enc_dummy_p): check if dummy.
11563 * encoding.c (enc_inspect): shows if dummy.
11565 * encoding.c (Init_Encoding): added dummy? method
11567 * include/ruby/encoding.h (ENCODING_INLINE_MAX): increased.
11569 Fri Dec 21 18:40:54 2007 Koichi Sasada <ko1@atdot.net>
11571 * io.c: write() should be in blocking region.
11573 * bootstraptest/test_io.rb, test_knownbug.rb: move a fixed test.
11575 Fri Dec 21 17:56:30 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
11577 * ext/tk/tcltklib.c: provisional support on Ruby-VM.
11579 * ext/tk/MANUAL_tcltklib.eng, ext/tk/MANUAL_tcltklib.eucj:
11580 modify document about new functions.
11582 * ext/tk/lib/tk.rb, ext/tk/lib/tk/labelframe.rb,
11583 ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/toplevel.rb,
11584 ext/tk/lib/tk/scrollbar.rb, ext/tk/lib/tk/message.rb,
11585 ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/text.rb,
11586 ext/tk/lib/tk/scale.rb, ext/tk/lib/tk/entry.rb,
11587 ext/tk/lib/tk/ttk_selector.rb, ext/tk/lib/tk/menu.rb,
11588 ext/tk/lib/tk/label.rb, ext/tk/lib/tk/spinbox.rb,
11589 ext/tk/lib/tk/textmark.rb, ext/tk/lib/tk/winpkg.rb,
11590 ext/tk/lib/tk/checkbutton.rb, ext/tk/lib/tk/panedwindow.rb,
11591 ext/tk/lib/tk/texttag.rb, ext/tk/lib/tk/root.rb,
11592 ext/tk/lib/tk/textimage.rb, ext/tk/lib/tk/radiobutton.rb,
11593 ext/tk/lib/tk/package.rb, ext/tk/lib/tk/macpkg.rb,
11594 ext/tk/lib/tk/composite.rb, ext/tk/lib/tk/autoload.rb,
11595 ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/button.rb,
11596 ext/tk/lib/tk/textwindow.rb,
11597 ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb,
11598 ext/tk/lib/tkextlib/tile/style.rb,
11599 ext/tk/lib/tkextlib/tile/tscrollbar.rb,
11600 ext/tk/lib/tkextlib/tile/tpaned.rb, ext/tk/lib/tkextlib/tile.rb,
11601 ext/tk/extconf.rb: support Tcl/Tk8.5 (partial, not complete).
11603 * ext/tk/sample/demos-jp/widget,
11604 ext/tk/sample/demos-jp/pendulum.rb,
11605 ext/tk/sample/demos-jp/bind.rb,
11606 ext/tk/sample/tkextlib/vu/canvSticker2.rb,
11607 ext/tk/sample/demos-en/pendulum.rb,
11608 ext/tk/sample/demos-en/bind.rb: remove $KCODE and minor bug fix.
11610 Fri Dec 21 17:49:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11612 * transcode.c (rb_str_transcode_bang): returns self if no conversion.
11615 Fri Dec 21 17:44:47 2007 Eric Hodel <drbrain@segment7.net>
11617 * lib/rubygems*: Update to RubyGems 1.0.1, r1581
11619 Fri Dec 21 17:32:49 2007 Koichi Sasada <ko1@atdot.net>
11621 * bootstraptest/pending.rb: renamed from featurebug.rb.
11622 This file contains bugs which is known but will not be
11625 Fri Dec 21 17:31:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11627 * debug.c (dummy_gdb_enums.various): added ENCODING and CODERANGE
11630 * .gdbinit: use enum constants.
11632 Fri Dec 21 17:28:17 2007 Koichi Sasada <ko1@atdot.net>
11634 * bootstraptest/featurebug.rb: added.
11636 * bootstraptest/test_knownbug.rb: move a feature bug.
11638 Fri Dec 21 17:25:22 2007 Koichi Sasada <ko1@atdot.net>
11640 * thread.c (rb_thread_atfork): fix to mark thread object.
11643 * bootstraptest/test_knownbug.rb, test_fork.rb: move a fixed test.
11645 Fri Dec 21 17:07:13 2007 Koichi Sasada <ko1@atdot.net>
11647 * gc.h: extern variable should not be initialized.
11649 * thread_pthread.c: add a parameter.
11651 Fri Dec 21 16:50:43 2007 Tanaka Akira <akr@fsij.org>
11653 * encoding.c (Init_Encoding): use enc_name as to_s.
11654 (enc_inspect): renamed from enc_to_s. add "#" at beginning.
11656 Fri Dec 21 16:37:43 2007 NARUSE, Yui <naruse@ruby-lang.org>
11658 * ext/nkf/nkf-utf8/config.h (MIME_DECODE_DEFAULT, X0201_DEFAULT):
11659 defined as FALSE. nkf and kconv don't decode MIME encoded string
11660 and don't convert JIS X 0201 Katakana.
11662 * test/nkf/test_kconv.rb: fix tests.
11664 Fri Dec 21 16:33:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11666 * enumerator.c (enumerator_iter_i): adjusted for rb_block_call_func.
11668 * include/ruby/ruby.h (rb_block_call_func): function to be called back
11671 Fri Dec 21 16:25:25 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11673 * common.mk, transcode_data_iso_8859.c: renamed to
11674 transcode_data_one_byte.c.
11676 Fri Dec 21 16:10:30 2007 Shigeo Kobayashi <shigeo@tinyforest.jp>
11678 * ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug
11679 pointed by Ryan Platte fixed(Patch to the patch from "NATORI
11680 Shin"). [ruby-talk:273360]
11682 Fri Dec 21 16:06:13 2007 Tanaka Akira <akr@fsij.org>
11684 * re.c (append_utf8): use rb_utf8_encoding() instead of
11685 rb_enc_find("utf-8").
11687 Fri Dec 21 15:59:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11689 * encoding.c (rb_enc_init): use enc_register_at() directly.
11691 * encoding.c (rb_utf8_encoding): returns utf-8 encoding.
11693 * include/ruby/encoding.h (rb_utf8_encoding): prototyped.
11695 * parse.y (UTF8_ENC): uses rb_utf8_encoding().
11697 Fri Dec 21 15:31:59 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11699 * io.c (rb_io_s_read): allow specifying encoding explicitly.
11701 * io.c (rb_io_binmode): specifies encoding to ASCII-8BIT (binary).
11703 * io.c (rb_io_s_read): IO should be in binary mode when offset is
11706 * encoding.c (rb_to_encoding): returns default encoding if no
11707 corresponding encoding found.
11709 Fri Dec 21 15:24:22 2007 Shugo Maeda <shugo@ruby-lang.org>
11711 * lib/net/imap.rb (initialize): accept service name. changed
11712 the default value of the old style +verify+ argument to true.
11714 Fri Dec 21 15:15:44 2007 Tanaka Akira <akr@fsij.org>
11716 * gc.c (rb_garbage_collect): new function for debugging.
11718 Fri Dec 21 15:16:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11720 * encoding.c (rb_to_encoding_index): should return error instead of
11721 exception even if type is incorrect.
11723 Fri Dec 21 14:58:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11725 * enumerator.c (enumerator_init_copy): prohibit cloning of
11726 generators since Fibers cannot be copied.
11728 * enumerator.c (enumerator_init_copy): typo fixed.
11730 Fri Dec 21 14:46:07 2007 Tanaka Akira <akr@fsij.org>
11732 * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist.
11734 Fri Dec 21 14:01:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11736 * test/ruby/test_system.rb (TestSystem::valid_syntax): apply
11737 ASCII-8BIT encoding explicitly.
11739 * re.c (rb_reg_prepare_re): add encoding name in the message.
11741 Fri Dec 21 13:54:05 2007 Tanaka Akira <akr@fsij.org>
11743 * re.c: change "character encodings differ" error messages.
11745 Fri Dec 21 13:46:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11747 * encoding.c (rb_enc_register): set encoding constant.
11749 * encoding.c (rb_enc_find_index): replace non-alphanumeric chars with
11750 underscores, so that initialize function can be called.
11752 * encoding.c (rb_enc_find_index): extension libraries have lower case
11753 names conventionally.
11755 * ruby.c (proc_options, process_options): finds encoding after
11756 load_path is initialized.
11758 Fri Dec 21 13:10:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11760 * io.c (rb_io_external_encoding): new method.
11762 * encoding.c (rb_enc_from_encoding): returns Qnil for NULL
11765 * io.c (rb_io_external_encoding): should fill delayed
11766 initialization for STDIN.
11768 Fri Dec 21 13:09:11 2007 Tanaka Akira <akr@fsij.org>
11770 * encoding.c (rb_locale_charmap): return nil if no locale information.
11772 Fri Dec 21 12:55:39 2007 Tanaka Akira <akr@fsij.org>
11774 * lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.
11776 Fri Dec 21 12:45:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11778 * string.c (rb_str_chomp_bang): avoid unnecessary loop using
11779 ONIGENC_LEFT_ADJUST_CHAR_HEAD().
11781 Fri Dec 21 12:32:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11783 * file.c (Init_File): File.exists? revived.
11785 * dir.c (Init_Dir): Dir.exists? again.
11787 Fri Dec 21 12:26:36 2007 Koichi Sasada <ko1@atdot.net>
11789 * compile.c: remove "illegal".
11791 Fri Dec 21 12:22:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11793 * keywords, parse.y (__ENCODING__): represent script encoding.
11795 Fri Dec 21 12:16:50 2007 Tanaka Akira <akr@fsij.org>
11797 * string.c (rb_str_is_ascii_only_p): new method ascii_only?.
11799 Fri Dec 21 12:11:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11801 * io.c (rb_io_mode_enc): set default external encoding if no
11802 encoding specified explicitly.
11804 Fri Dec 21 12:00:34 2007 Tanaka Akira <akr@fsij.org>
11806 * configure.in: check langinfo.h and locale.h.
11808 * encoding.c: use langinfo.h only if available.
11810 * main.c: use locale.h only if available.
11812 Fri Dec 21 11:47:56 2007 Tanaka Akira <akr@fsij.org>
11814 * encoding.c: include locale.h
11815 (rb_locale_charmap): new method Encoding.locale_charmap for
11816 nl_langinfo(CODESET).
11818 * include/ruby/encoding.h (rb_locale_charmap): declared.
11820 * main.c (main): call setlocale with LC_CTYPE.
11822 * ruby.c (locale_encoding): use rb_locale_charmap.
11824 Fri Dec 21 11:35:10 2007 Koichi Sasada <ko1@atdot.net>
11826 * vm.c, vm_dump.c: fix typo. Reported by Yuki Mitsui.
11828 Fri Dec 21 11:28:00 2007 Tanaka Akira <akr@fsij.org>
11830 * regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
11831 compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c,
11832 ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb,
11833 ext/openssl/ossl_bn.c, numeric.c, vm.c,
11834 benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal"
11835 for non law violation context.
11837 Fri Dec 21 11:23:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11839 * common.mk (enc.mk): depends on $(RBCONFIG) instead of rbconfig.rb.
11841 * encoding.c (Init_Encoding): ISO-8859-1 is no longer a replica.
11843 * regenc.h (OnigEncodingDefine): names of extension and encoding can
11846 * enc/Makefile.in: always shared.
11848 * enc/depend (deffile): should not upcase.
11850 * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: fix for Init.
11852 Fri Dec 21 09:26:48 2007 Tanaka Akira <akr@fsij.org>
11854 * tool/compile_prelude.rb: use erb.
11856 Fri Dec 21 08:07:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11858 * enumerator.c (enumerator_next): should call next_init() if fiber
11859 is dead already. [ruby-dev:32459]
11861 Fri Dec 21 01:21:49 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
11863 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLContext.build):
11864 enable CRL checking by default.
11866 Fri Dec 21 01:20:56 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
11868 * lib/net/http.rb (Net::HTTP#connect): use
11869 OpenSSL::SSL::SSLContext.build instead of SSLContext.new (default
11870 verify mode is now OpenSSL::SSL::VERIFY_PEER).
11872 * lib/net/https.rb: SSL parameters are defined by attr_accessor.
11874 * test/net/http/test_https.rb: add test for HTTPS features.
11876 Fri Dec 21 01:11:37 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
11878 * io.c (select_internal): should return original value.
11880 Fri Dec 21 00:26:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11882 * string.c (tr_trans): wrong encoding check for tree strings.
11884 * test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring
11885 sequence" is not an error to be tested.
11887 * test/ruby/test_m17n.rb (TestM17N::test_tr): ditto.
11889 Thu Dec 20 19:29:07 2007 Shugo Maeda <shugo@ruby-lang.org>
11891 * lib/net/imap.rb (initialize): the second argument is an option
11892 hash now. use SSLContext.build to specify SSL parameters.
11894 Thu Dec 20 19:11:56 2007 Koichi Sasada <ko1@atdot.net>
11896 * thread_pthread.c (native_thread_apply_priority): check
11897 _POSIX_PRIORITY_SCHEDULING for OpenBSD.
11899 Thu Dec 20 18:33:54 2007 Koichi Sasada <ko1@atdot.net>
11901 * configure.in: add libthr for FreeBSD.
11903 Thu Dec 20 18:17:14 2007 Koichi Sasada <ko1@atdot.net>
11905 * common.mk, *.ci: renamed to *.c.
11907 * eval_load.c: renamed to load.c.
11909 Thu Dec 20 17:36:01 2007 Eric Hodel <drbrain@segment7.net>
11911 * lib/rubygems*: Import RubyGems 1.0.0, r1575.
11913 Thu Dec 20 17:18:38 2007 Koichi Sasada <ko1@atdot.net>
11915 * proc.c: support Proc#binding.
11917 * sample/test.rb: add a test.
11919 Thu Dec 20 17:15:15 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
11921 * pack.c: Slight change to documentation ('character' ->
11922 'byte (C char)'). [ruby-core:13126], see also [ruby-core:13998].
11924 Thu Dec 20 17:07:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11926 * common.mk (enc.mk): depends on rbconfig.rb.
11928 * regenc.h (OnigEncodingDefine): external encoding definition macro.
11930 * enc/Makefile.in: fix for linking.
11932 * enc/depend, enc/make_encmake.rb: fix for Windows.
11934 * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: renamed.
11936 Thu Dec 20 16:42:55 2007 Koichi Sasada <ko1@atdot.net>
11938 * iseq.c (find_line_no): return 0 if not found.
11940 Thu Dec 20 16:04:17 2007 Koichi Sasada <ko1@atdot.net>
11942 * insnhelper.ci, vm.c, vm_core.h: change interface of
11943 vm_invoke_block() to specify block ptr. [ruby-talk:266422]
11945 * cont.c, eval_jump.ci, insns.def, proc.c, signal.c, thread.c:
11946 apply above change.
11948 * bootstraptest/test_knownbug.rb: move fixed bug.
11950 * bootstraptest/test_block.rb: ditto. and add a test.
11952 Thu Dec 20 15:47:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
11954 * enc/iso_8859_{1..16}.c: renamed.
11956 Thu Dec 20 09:59:27 2007 Koichi Sasada <ko1@atdot.net>
11958 * insnhelper.ci (vm_expandarray): fix sp increase place.
11959 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32581].
11961 * bootstraptest/test_massign.rb: add a test for above.
11963 * bootstraptest/test_syntax.rb: fix last committed test.
11965 Thu Dec 20 09:47:58 2007 Koichi Sasada <ko1@atdot.net>
11967 * bootstraptest/test_syntax.rb: add a test.
11969 Thu Dec 20 09:40:51 2007 Koichi Sasada <ko1@atdot.net>
11971 * compile.c (iseq_compile_each/NODE_RETURN): fix stack consistency.
11973 Thu Dec 20 09:42:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11975 * bignum.c (big2str_orig): access beyond memory region cause crash
11976 on interrupt. a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in
11977 [ruby-dev:32651]. [ruby-dev:32641]
11979 Thu Dec 20 09:06:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
11981 * string.c (rb_str_index): wrong starting position.
11983 Thu Dec 20 06:34:27 2007 Koichi Sasada <ko1@atdot.net>
11985 * compile.c (iseq_compile_each): add pop after throw as return.
11987 * bootstraptest/test_knownbug.rb, test_syntax.rb: move resolved test.
11989 * vm_core.h, iseq.c, compile.h: add debug output code.
11991 Thu Dec 20 04:57:18 2007 Koichi Sasada <ko1@atdot.net>
11993 * compile.c (iseq_compile_each): remove unused retry entry.
11995 Thu Dec 20 04:15:41 2007 NAKAMURA Usaku <usa@ruby-lang.org>
11997 * */Makefile.sub (DEFS, RM): output to config.status.
11999 Thu Dec 20 02:59:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12001 * common.mk (encs): create encoding directory.
12003 Thu Dec 20 02:50:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12005 * enc/iso8859_{1..16}.c: adjust for ruby.
12007 Thu Dec 20 02:28:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12009 * enc/iso8859_{1..16}.c: imported from Onigiruma 5.9.0.
12011 Thu Dec 20 02:23:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12013 * enc/Makefile.in (RM): added.
12015 * enc/depend (encs): sort in alpha-numeric order.
12017 * enc/depend (clean, distclean): added.
12019 Thu Dec 20 01:10:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12021 * compile.c (iseq_compile_each): should handle upper level eval iseq
12022 from break/next, and COMPILE_ERROR() breaks only one block.
12025 Thu Dec 20 00:07:36 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
12027 * test/drb/drbtest.rb (test_07_public_private_protected_missing):
12028 followed current Ruby specification.
12030 Wed Dec 19 23:57:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12032 * dir.c (dir_inspect, dir_path, dir_tell): check for frozen and closed
12033 is not needed. [ruby-dev:32640]
12035 Wed Dec 19 22:59:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12037 * string.c (str_sublen): adjust position if position is not at the
12038 head of a character.
12040 * string.c (rb_str_chomp_bang): check if match start at the head
12043 * string.c (rb_str_chomp_bang): wrong adjust condition.
12045 * string.c (rb_str_rindex): comparison length should be based on
12046 bytes, not characters.
12048 * string.c (rb_str_rindex_m): too much adjustment.
12050 * re.c (reg_match_pos): pos adjustment should be based on
12053 * test/ruby/test_m17n.rb (TestM17N::test_str_insert): test updated
12054 to check negative offset behavior.
12056 * string.c (rb_str_each_line): should consider rslen.
12058 * string.c (rb_str_buf_append): should propagate encoding.
12060 * string.c (rb_str_each_line): ditto.
12062 * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): should
12063 check encoding as well.
12065 * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): empty
12066 array can not propagate encoding; should not check.
12068 Wed Dec 19 21:42:18 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12070 * re.c (rb_reg_regsub): should set checked encoding.
12072 * string.c (rb_str_sub_bang): applied r14212 too.
12074 Wed Dec 19 20:40:01 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12076 * bignum.c (bigmul1): C99ism.
12078 * bignum.c (bigdivrem1): need dummy return value.
12080 Wed Dec 19 19:18:06 2007 NARUSE, Yui <naruse@ruby-lang.org>
12082 * ext/nkf/nkf-utf8/nkf.c: Updated.
12084 * ext/nkf/nkf.c (rb_nkf_enc_get): added.
12085 (find encoding or replicate default encoding)
12087 * ext/nkf/nkf.c (NKF::<ENCODING>): redefine encoding constant.
12089 * ext/nkf/lib/kconv.rb (Kconv::<ENCODING>): redefined as Encoding.
12091 * ext/nkf/lib/kconv.rb: refactoring.
12093 Wed Dec 19 19:11:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12095 * bignum.c (rb_big_mul0): blocking check for bigger numbers.
12096 a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32632].
12098 * bignum.c (bigdivrem): ditto.
12100 Wed Dec 19 17:34:50 2007 Koichi Sasada <ko1@atdot.net>
12102 * compile.c (iseq_compile_each): remove "retry" in block.
12103 ("iter{retry}" cause syntax error)
12104 Currently, "begin; ...; rescue; iter{retry}; end" cause
12107 * bootstraptest/test_jump.rb: ditto.
12109 * lib/drb/invokemethod.rb: ditto.
12111 * sample/drb/darrayc.rb: ditto.
12113 * sample/test.rb: ditto.
12115 * test/drb/drbtest.rb: ditto.
12117 * test/ruby/test_iterator.rb: ditto.
12119 * sample/test.rb: add a 'test' directory on the SYSTEM test.
12121 Wed Dec 19 17:12:59 2007 Koichi Sasada <ko1@atdot.net>
12123 * bootstraptest/test_knownbug.rb, test_block.rb:
12126 * bootstraptest/test_m17n.rb: added.
12128 Wed Dec 19 16:59:55 2007 Koichi Sasada <ko1@atdot.net>
12130 * eval.c (errinfo_place): skip if error is Fixnum. [ruby-dev:32608]
12132 * bootstraptest/test_exception.rb, test_known_bug.rb: move fixed bug.
12134 Wed Dec 19 16:31:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12136 * parse.y (reg_named_capture_assign_iter): remove C99 dependency.
12138 * parse.y (reg_named_capture_assign_iter): get rid of creating
12141 * parse.y (rb_enc_symname2_p): check for non-nul-terminated string.
12143 Wed Dec 19 15:37:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12145 * insnhelper.ci (vm_yield_with_cfunc): call cfunc with
12146 (argv[0], data, argc, argv) to pass all arguments.
12148 * enumerator.c (enumerator_each_i): adapted to new calling
12151 Wed Dec 19 15:13:20 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12153 * string.c (rb_str_justify): should propagate encoding from pad
12156 Wed Dec 19 13:57:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12158 * configure.in (TIMEZONE_VOID): check whether timezone requires zero
12159 arguments. [ruby-dev:32631]
12161 Wed Dec 19 13:22:14 2007 NARUSE, Yui <naruse@ruby-lang.org>
12163 * ext/nkf/nkf.c (NKF::_ENCODING): removed.
12165 * ext/nkf/nkf.c (rb_nkf_kconv): renamed to rb_nkf_convert.
12167 * ext/nkf/nkf.c (rb_nkf_convert): set encoding.
12169 * ext/nkf/nkf.c (rb_nkf_guess1): removed.
12171 * ext/nkf/nkf.c (rb_nkf_guess2): renamed to rb_nkf_guess.
12173 * ext/nkf/nkf.c (rb_nkf_guess):
12174 guess method now returns encoding object.
12176 * ext/nkf/nkf-utf8/nkf.c: Update to nkf 2.0.8 2007-12-19.
12178 Wed Dec 19 10:52:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12180 * bignum.c (rb_cstr_to_inum): an underscore succeeding after octal
12181 prefix is allowed. [ruby-core:14139]
12183 Wed Dec 19 00:09:19 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12185 * bignum.c (rb_cstr_to_inum): wrong radix check. a patch from
12186 Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32628].
12188 * bignum.c (big2str_find_n1): ditto.
12190 Tue Dec 18 23:53:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12192 * compile.c (iseq_compile_each): fix for segfault. [ruby-dev:31372]
12194 Tue Dec 18 23:44:32 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12196 * test/net/http/utils.rb: split TestNetHTTPUtils module from
12197 test/net/http/test_http.rb. and start HTTP server in each test case.
12199 Tue Dec 18 23:27:51 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12201 * lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
12202 should rescue Errno::EINVAL from TCPServer#accept. this exception
12203 might occur if the server socket is not in ready to listen.
12205 * lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
12206 don't call TCPServer#close if the :ShutdownSocketWithoutClose is set.
12208 * lib/webrick/config.rb (WEBrick::Config::General): add new parameter
12209 :ShutdownSocketWithoutClose.
12211 Tue Dec 18 22:51:47 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12213 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#shutdown):
12214 new method which calls TCPSocket#shutdown of the underlying socket.
12216 Tue Dec 18 22:11:50 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12218 * lib/rss/parser.rb, lib/rss/atom.rb, lib/rss/rss.rb,
12219 test/rss/rss-assertions.rb, test/rss/test_atom.rb: use
12220 pack/unpack("m") instead of base64 library.
12222 * lib/webrick/httpproxy.rb: use delete("\n") instead of chomp/chop
12223 because the result of pack("m") might be multi-line.
12225 Tue Dec 18 22:12:35 2007 Koichi Sasada <ko1@atdot.net>
12227 * insnhelper.ci, vm.c: rewrite sp manipulation around method/block
12228 invocation. [ruby-dev:32547]
12230 Tue Dec 18 22:11:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
12232 * ext/dl/win32/lib/win32/sspi.rb: use pack/unpack("m") instead of
12233 base64 library which was already removed.
12235 Tue Dec 18 21:09:23 2007 Koichi Sasada <ko1@atdot.net>
12237 * vm.c (invoke_block): merge 2 stack overflow checks.
12239 Tue Dec 18 20:58:35 2007 Koichi Sasada <ko1@atdot.net>
12241 * compile.c, insnhelper.ci, insns.def, object.c, vm.c, vm.h:
12242 optimize !@, != method invocation.
12244 * id.c, id.h: ditto.
12246 * bootstraptest/test_syntax.rb: add tests for above.
12248 Tue Dec 18 18:10:05 2007 Koichi Sasada <ko1@atdot.net>
12250 * bootstraptest/test_knownbug.rb: add issues.
12252 Tue Dec 18 20:22:44 2007 Tanaka Akira <akr@fsij.org>
12254 * parse.y (arg tMATCH arg): call reg_named_capture_assign_gen if regexp
12256 (reg_named_capture_assign_gen): assign the result of named capture
12257 into local variables.
12260 * re.c: document the assignment by named captures.
12262 Tue Dec 18 18:09:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12264 * string.c (rb_str_splice): propagate encoding.
12266 * string.c (rb_str_subpat_set): ditto.
12268 Tue Dec 18 17:27:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12270 * object.c (rb_obj_freeze): preserve frozen state of immediate
12271 values in internal hash table, a la generic_ivar.
12273 * object.c (rb_obj_frozen_p): check immediate values too.
12275 * variable.c (generic_ivar_set): add frozen check fro immediate
12278 Tue Dec 18 17:04:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12280 * transcode.c (rb_str_transcode_bang, rb_str_transcode): set new
12281 encoding even if no conversion is done because of 7bit only.
12284 Tue Dec 18 15:43:59 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12286 * common.mk (encs, ext/ripper/ripper.c): other options must come
12287 before MAKEFLAGS in GNU make.
12289 Tue Dec 18 15:19:55 2007 Eric Hodel <drbrain@segment7.net>
12291 * lib/rdoc/parsers/parse_rb.rb: Don't call private fail anymore.
12293 Tue Dec 18 15:17:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12295 * common.mk (encs, ext/ripper/ripper.c): pass MAKEFLAGS.
12297 Tue Dec 18 14:45:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12299 * parse.y (op_tbl): remove duplication to avoid symbol aliases.
12301 Tue Dec 18 14:39:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12303 * string.c (str_nth): need not to raise out-of-range exception.
12305 * test/ruby/test_m17n.rb (TestM17N::test_str_aref_len): removed
12308 Tue Dec 18 14:05:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12310 * enc/depend: get rid of target expanded as empty for nmake.
12312 Tue Dec 18 07:56:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12314 * proc.c (rb_obj_public_method): Object#public_method to retrieve
12315 public method object.
12317 * proc.c (rb_mod_public_instance_method): Module#public_instance_method
12318 to retrieve public instance method from class / module.
12320 * proc.c (mnew): visibility check added.
12322 * eval_error.ci (rb_print_undef): add rb_ prefix.
12324 * eval_error.ci (rb_print_undef): add visibility in the error
12327 Tue Dec 18 05:54:26 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12329 * lib/Env.rb, lib/base64.rb, lib/importenv.rb, lib/eregex.rb: removed.
12331 * lib/ping.rb, lib/readbytes.rb: removed
12333 Tue Dec 18 02:30:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12335 * configure.in (BUILTIN_ENCS): removed.
12337 * common.mk (enc.mk): pass BUILTIN_ENCS from command line.
12339 * enc/depend: ditto.
12341 * enc/make_encmake.rb: ditto.
12343 Tue Dec 18 01:46:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12345 * sprintf.c (rb_str_format): need to clear output buffer to avoid
12346 broken encoding compatibility check.
12348 Tue Dec 18 01:40:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12350 * lib/mkmf.rb (depend_rules): inserts ruby to only headers.
12352 Tue Dec 18 01:21:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12354 * parse.y (parser_encode_length): chomp eol style modifiers.
12356 * parse.y (parser_magic_comment): ditto.
12358 * parse.y (set_file_encoding): ditto.
12360 Tue Dec 18 01:15:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12362 * common.mk (encs): added dependencies.
12364 * enc/Makefile.in, enc/depend, enc/make_encmake.rb: moved serb code.
12366 * lib/mkmf.rb (depend_rules): now takes content string, not file name.
12368 * win32/enc-setup.mak: overrides default target.
12370 Tue Dec 18 00:26:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12372 * re.c (rb_reg_initialize): raise error if non-Unicode fixed
12373 encoding option is specified for regexp literals with \u{}
12376 * string.c (rb_str_squeeze_bang): should squeeze multibyte
12377 characters as well.
12379 Mon Dec 17 21:41:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12381 * win32/enc-setup.mak: extracts BUILTIN_ENCOBJS.
12383 * tool/compile_prelude.rb: needs srcdir.
12385 Mon Dec 17 21:24:04 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12387 * common.mk (miniprelude.c): add -I$(srcdir).
12389 Mon Dec 17 20:53:27 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12391 * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ssl_version):
12392 new method OpenSSL::SSL::SSLContext#ssl_version to wrap
12393 SSL_CTX_set_ssl_version.
12395 * ext/openssl/ossl_ssl.c (ossl_ssl_get_verify_result):
12396 new method OpenSSL::SSL::SSLSocket#verify_result to wrap
12397 SSL_get_verify_result.
12399 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLContext.build):
12400 new method to build OpenSSL::SSL::SSLContext with Hash parameters.
12401 this method provides safety default parameters than SSLContext.new.
12403 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL.verify_certificate_identity):
12404 new module function: pull out identity verification process
12405 from OpenSSL::SSL::SSLSocket#post_connection_check.
12407 Mon Dec 17 18:42:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12409 * string.c (scan_once): need no encoding compatibility check.
12410 it's done inside of re_reg_search().
12412 * string.c (rb_str_split_m): ditto.
12414 * re.c (rb_reg_regsub): ditto.
12416 Mon Dec 17 17:50:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12418 * string.c (rb_str_index): check if substring is broken.
12420 * string.c (rb_str_rindex): ditto.
12422 * string.c (rb_str_succ): should carry over.
12424 Mon Dec 17 17:47:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12426 * common.mk (encs): new target to compile external encodings.
12428 * enc/Makefile.in: became a serb template.
12430 * enc/make_encmake.rb: creates enc.mk from enc/Makefile.in using serb.
12432 * lib/mkmf.rb (relative_from): moved from ext/extmk.rb.
12434 * lib/mkmf.rb ($extmk): true if under to top source directory, not
12437 * lib/mkmf.rb (depend_rules): extracted from create_makefile.
12439 * tool/serb.rb (serb): splitted from tool/compile_prelude.rb.
12441 Mon Dec 17 17:32:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12443 * configure.in (MAKEFILES): removed enc/Makefile.
12445 * configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.
12447 * enc/Makefile.in (BUILTIN_ENCS): includes .c suffix.
12449 * enc/depend: splitted from Makefile.in.
12451 * {bcc32,win32,wince}/setup.mak (-encs-): extracts BUILTIN_ENCOBJS.
12453 Mon Dec 17 17:07:53 2007 Tanaka Akira <akr@fsij.org>
12455 * string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.
12457 Mon Dec 17 16:39:25 2007 Tanaka Akira <akr@fsij.org>
12459 * string.c (rb_enc_str_coderange): set ENC_CODERANGE_BROKEN using
12460 rb_enc_precise_mbclen.
12461 (rb_str_valid_encoding_p): just check coderange is
12462 ENC_CODERANGE_BROKEN or not.
12464 Mon Dec 17 16:04:16 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12466 * ext/openssl/lib/openssl/buffering.rb (Buffering#gets): added second
12467 optional argument to specify maximum length limit.
12469 Mon Dec 17 16:02:30 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
12471 * lib/webrick/httprequest.rb, lib/webrick/cgi.rb: Request-Line or
12472 header fields should be read with maximum length. [ruby-talk:231745]
12474 Mon Dec 17 14:03:39 2007 Tanaka Akira <akr@fsij.org>
12476 * include/ruby/encoding.h (ENC_CODERANGE_VALID): rename from
12477 ENC_CODERANGE_8BIT.
12479 * string.c (rb_enc_str_coderange): follow the renaming.
12481 Mon Dec 17 13:56:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12483 * string.c (tr_find): wrong condition fixed.
12485 * sprintf.c (rb_str_format): check encoding based on result, not
12488 * string.c (rb_str_upto): add encoding check.
12490 Mon Dec 17 12:21:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12492 * Makefile.in (RUNRUBY): added RUNRUBYOPT.
12494 Mon Dec 17 11:38:59 2007 Tanaka Akira <akr@fsij.org>
12496 * thread_win32.ci (native_thread_create): initialize
12497 th->machine_stack_maxsize as rb_gc_stack_maxsize.
12499 Sun Dec 16 17:07:35 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12501 * transcode.c (transcode_loop): removed special case (-1)
12502 for undefined conversions.
12504 * transcode_data_iso_8859.c: Changed from character constants
12505 ('\xC2') to integer constants (0xC2) for shorter files and
12506 better readability; eliminated duplicated tables; changed
12507 from -1 offset to actual UNDEF entry (not yet distinguishing
12508 UNDEF and ILLEGAL correctly).
12510 * test/ruby/test_transcode.rb: added a test for UNDEF conversion.
12512 Sun Dec 16 14:51:59 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12514 * configure.in (MAKEFILES): should be enc/Makefile, not GNUmakefile.
12517 * configure.in (BUILTIN_ENCS): removed escapes for OpenBSD.
12519 Sat Dec 15 23:58:46 2007 Tanaka Akira <akr@fsij.org>
12521 * test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, even
12524 Sat Dec 15 23:50:31 2007 Tanaka Akira <akr@fsij.org>
12526 * test/xmlrpc/webrick_testing.rb: join webrick server thread.
12528 Sat Dec 15 22:27:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12530 * configure.in (BUILTIN_ENCS): splitted command line instead of
12531 semicolons for Solaris.
12533 Sat Dec 15 21:38:24 2007 Tanaka Akira <akr@fsij.org>
12535 * lib/timeout.rb: join the background thread to make sure it is dead.
12537 Sat Dec 15 20:20:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12539 * configure.in (enc/Makefile): add external encoding objects list.
12541 * common.mk (BUILTIN_ENCOBJS): renamed from ENCOBJS.
12543 * configure.in (BUILTIN_ENCS): [] needs to be enclosed because of m4.
12545 * Makefile.in (BUILTIN_ENCOBJS): substituted by autoconf.
12547 * enc/Makefile.in: new file to compile external encoding sources.
12549 * encoding.c (rb_enc_find_index): auto-load external encoding objects
12550 as "ext/ENCODING_NAME". [ruby-dev:32606]
12552 Sat Dec 15 13:04:30 2007 Tanaka Akira <akr@fsij.org>
12554 * vm_core.h (rb_thread_t): new member machine_stack_maxsize and
12555 machine_register_stack_maxsize.
12557 * gc.c (rb_gc_stack_maxsize): new global variable for the thread size
12558 of the main thread.
12559 (STACK_LEVEL_MAX): use machine_stack_maxsize of current thread.
12560 (ruby_stack_check): check IA64 register stack.
12561 (ruby_set_stack_size): set rb_gc_stack_maxsize.
12562 (Init_stack): set rb_gc_stack_maxsize.
12564 * thread_pthread.ci (native_thread_create): initialize
12565 th->machine_stack_maxsize and th->machine_register_stack_maxsize.
12567 * vm.c (Init_BareVM): initialize th->machine_stack_maxsize and
12568 th->machine_register_stack_maxsize.
12570 * thread_win32.ci (native_thread_create): initialize
12571 th->machine_stack_maxsize. not tested. just a guess at all.
12575 Sat Dec 15 12:58:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12577 * encoding.c (rb_enc_register, rb_enc_replicate, rb_enc_alias): check
12578 if already registered.
12580 Sat Dec 15 01:57:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12582 * lib/rdoc/options.rb (Options::parse): do not access $KCODE any
12583 longer. [ruby-core:14079]
12585 * lib/irb/init.rb (IRB::IRB.parse_opts): ditto.
12587 * lib/cgi.rb (CGI::CGI): ditto.
12589 Fri Dec 14 18:18:31 2007 Tanaka Akira <akr@fsij.org>
12591 * thread_pthread.ci (native_thread_create): twice the stack size.
12592 512KB is not enough to complete test-all on Debian GNU/Linux on
12595 Fri Dec 14 16:10:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12597 * io.c (rb_f_p): RDoc update. a patch from murphy <murphy AT rubychan.de>.
12600 Fri Dec 14 16:06:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12602 * string.c (rb_str_cmp): encoding aware comparison.
12604 * string.c (rb_str_casecmp): ditto.
12606 Fri Dec 14 15:25:30 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
12608 * transcode.c (encoding_equal): new function.
12610 * transcode.c (str_transcode, transcode_dispatch): added two-step
12611 conversion logic via UTF-8.
12613 * transcode.c: some minor formatting fixes
12615 * transcode_data.h, transcode_data_iso_8859.c: Shortened
12616 extremely frequently used macros to shorten file length.
12618 * test/ruby/test_transcode.rb: Fixed name of test class;
12619 added setup method to ensure all necessary encodings exist;
12620 split tests into more test methods; added tests; fixed ordering
12621 of arguments in assert_equal to have expected result first.
12623 Fri Dec 14 13:47:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12625 * common.mk (ruby.imp): fix for circular dependency. a patch from
12626 Yutaka Kanemoto <kinpoco AT gmail.com> in [ruby-dev:32590].
12628 * regint.h, st.c, ext/json/ext/generator/generator.c: suppress
12631 Fri Dec 14 12:36:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12633 * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined
12636 * configure.in (timezone, altzone): check for recent cygwin.
12638 * missing/strftime.c (strftime): fix for timezone. [ruby-dev:32536]
12640 * lib/mkmf.rb (try_var): should fail for functions.
12642 * ext/readline/extconf.rb: should use have_func for functions instead
12645 Fri Dec 14 10:25:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12647 * lib/e2mmap.rb (Exception2MessageMapper::E2MM.Raise): $! no
12648 longer modifiable in 1.9.
12650 Fri Dec 14 08:17:24 2007 Tanaka Akira <akr@fsij.org>
12652 * eval.c (rb_protect): restore root_jmpbuf even if proc exits by
12653 break such as dbm.delete_if { break }.
12655 Fri Dec 14 02:55:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12657 * string.c (str_nth): direct jump if string is 7bit only. great
12658 performance boost for worst case.
12660 * string.c (str_strlen): direct size if string is 7bit only.
12662 Fri Dec 14 02:29:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12664 * encoding.c (rb_enc_compatible): 1st argument (typically the
12665 receiver) would have higher priority in encoding detection.
12667 Fri Dec 14 02:05:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12669 * io.c (rb_io_synchronized): should check if initialized.
12672 Fri Dec 14 00:54:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12674 * re.c (rb_reg_initialize): embedded string may override encoding
12675 of the regular expression.
12677 * re.c (rb_reg_initialize): fix encoding of regular expression if
12678 embedded string has its own encoding specified.
12680 Thu Dec 13 22:16:46 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12682 * encoding.c (rb_enc_compatible): encoding should never fall back
12683 to ASCII-8BIT unless both encodings are ASCII-8BIT.
12685 Thu Dec 13 20:31:28 2007 Tanaka Akira <akr@fsij.org>
12687 * string.c (rb_str_shared_replace): make str noembed after free.
12689 Thu Dec 13 20:09:09 2007 Tanaka Akira <akr@fsij.org>
12691 * eval.c (rb_protect): restore root_jmpbuf to avoid SEGV by
12692 'IO.pipe; [].each.next' with gcc version 3.3.5 (Debian 1:3.3.5-13)
12695 Thu Dec 13 17:51:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12697 * string.c (rb_str_split_m): need not to check encoding if regexp
12700 * string.c (rb_str_justify): associate encoding of original to the
12703 * string.c (rb_str_chomp_bang): need to check encoding of record
12706 * string.c (str_gsub): should copy encoding to the result.
12708 * sprintf.c (rb_str_format): ditto.
12710 * string.c (rb_str_succ): should not enter infinite loop for
12711 non-ASCII, non-alphanumeric character at the bottom.
12713 Thu Dec 13 17:03:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12715 * encoding.c (rb_enc_compatible): should swap encoding indexes too.
12717 Thu Dec 13 16:41:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12719 * encoding.c (rb_enc_compatible): should not judge compatibility
12720 based on rb_enc_asciicompat().
12722 Thu Dec 13 13:09:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12724 * include/ruby/io.h (MakeOpenFile): fptr->enc should be
12725 initialized to zero. [ruby-dev:32569]
12727 Thu Dec 13 08:56:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12729 * io.c (rb_io_getc): use default external encoding if fptr->enc is
12730 not set. [ruby-dev:32565]
12732 * lib/rubygems/package.rb (Gem::TarReader::Entry::rewind): typo fixed.
12735 Thu Dec 13 08:24:16 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12737 * io.c (read_all): should associate default external encoding.
12739 * io.c (io_read): should NOT associate default external encoding.
12741 Wed Dec 12 23:22:58 2007 Tanaka Akira <akr@fsij.org>
12743 * re.c, regerror.c, string.c, parse.y, ruby.c, file.c:
12744 use capital letter for \xHH notation. [ruby-dev:32511]
12746 Wed Dec 12 22:21:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12748 * io.c (rb_io_mode_enc): allow specifying external encoding in
12749 open mode, e.g. open(path, "r:utf-8").
12751 Wed Dec 12 21:26:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12753 * eval_method.ci (rb_alias): no need to skip aliasing when new
12754 equals to old. [ruby-core:13990]
12756 Wed Dec 12 16:34:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12758 * io.c (rb_io_check_readable): set default external encoding to
12761 * io.c (io_enc_str): associate encoding to output string.
12763 Wed Dec 12 12:44:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12765 * parse.y (expr): 'not' and '!' should act as conditional
12766 expression. [ruby-dev:32548]
12768 Wed Dec 12 12:11:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12770 * re.c (rb_reg_regsub): should copy encoding.
12772 * string.c (rb_str_sub_bang, str_gsub): should check and copy encoding
12775 Tue Dec 11 23:04:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12777 * pack.c (pack_pack): RDoc update. a patch from Gary Wright
12778 <radar2002 AT gmail.com>. [ruby-core:13998]
12780 * pack.c (pack_unpack): ditto.
12782 Tue Dec 11 16:37:47 2007 Tanaka Akira <akr@fsij.org>
12784 * encoding.c (rb_enc_ascget): renamed from rb_enc_get_ascii.
12786 * include/ruby/encoding.h: follow the renaming.
12790 Tue Dec 11 16:19:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12792 * Makefile.in, */Makefile.sub (CP, MV): added.
12794 * common.mk (.y.c): not discard the old target until successfully
12797 Tue Dec 11 15:20:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12799 * object.c (Init_Object): singleton_method_{added,removed,undefined}
12800 hooks should be defined for BasicObject. [ruby-dev:32531]
12802 * eval.c (Init_eval): method_missing should be defined for all
12803 objects; moved to BasicObject.
12805 Tue Dec 11 14:27:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12807 * transcode.c (transcode_loop): get rid of SEGV at sequence can not be
12810 * transcode.c (rb_str_transcode_bang): copy encoding. [ruby-dev:32532]
12812 * test/ruby/test_transcode.rb: added tests from Martin Duerst <duerst
12813 AT it.aoyama.ac.jp>. [ruby-dev:32532]
12815 Tue Dec 11 12:05:51 2007 Tanaka Akira <akr@fsij.org>
12817 * encoding.c (rb_enc_get_ascii): add an argument to provide the
12818 length of the returned character.
12820 * include/ruby/encoding.h (rb_enc_get_ascii): add the argument.
12822 * re.c (rb_reg_expr_str): modify rb_enc_get_ascii call.
12823 (rb_reg_quote): ditto.
12824 (rb_reg_regsub): ditto.
12826 Tue Dec 11 09:40:21 2007 Tanaka Akira <akr@fsij.org>
12828 * include/ruby/oniguruma.h (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE):
12829 parenthesize an argument.
12831 Tue Dec 11 02:23:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12833 * eval.c (rb_method_missing): RDoc update patch from Hugh Sasse
12834 <hgs AT dmu.ac.uk>. [ruby-core:12932]
12836 Tue Dec 11 01:51:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12838 * lib/net/http.rb (Net::HTTP::get): now supports gzip
12839 content-encoding. a patch from Hugh Sasse <hgs AT dmu.ac.uk>.
12842 Tue Dec 11 01:21:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12844 * parse.y (shadowing_lvar_gen): no duplicate error for "_".
12846 Mon Dec 10 22:08:47 2007 Akinori MUSHA <knu@iDaemons.org>
12848 * array.c (rb_ary_slice_bang): If an invalid range is given, do
12849 not raise an exception but return nil just like slice() does.
12851 Mon Dec 10 21:47:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12853 * transcode.c (str_transcode): allow non-registered encodings.
12856 Mon Dec 10 21:00:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12858 * array.c (rb_ary_slice_bang): should return nil if position out
12859 of range. a patch from Akinori MUSHA <knu AT iDaemons.org>.
12862 Mon Dec 10 19:02:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12864 * re.c (rb_reg_match): should calculate offset by converted
12865 operand. [ruby-cvs:21416]
12867 Mon Dec 10 18:28:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12869 * lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
12870 regular expression. a patch from Ueda Satoshi
12871 <s-ueda AT livedoor.jp>. [ruby-dev:32514]
12873 Mon Dec 10 17:46:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12875 * string.c (rb_str_tmp_new): creates hidden temporary buffer.
12877 * transcode.c (transcoding): added a pointer to function to flush.
12879 * transcode.c (transcode_loop): do not use string internal.
12882 * transcode.c (str_transcode): allow Encoding objects.
12884 * transcode_data.h (BYTE_LOOKUP): use actual struct name.
12886 Mon Dec 10 16:52:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12888 * string.c (rb_str_insert): should not add length in bytes to index in
12891 Mon Dec 10 14:33:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12893 * eval.c (rb_f_public_send): rename invoke_method to public_send.
12894 it now invokes public method only no matter how it's called.
12896 Mon Dec 10 14:00:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12898 * transcode.c: new file to provide encoding conversion features.
12899 code contributed by Martin Duerst.
12901 Mon Dec 10 13:50:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
12903 * re.c (rb_reg_search): return byte offset. [ruby-dev:32452]
12905 * re.c (rb_reg_match, rb_reg_match2, rb_reg_match_m): convert byte
12906 offset to char index.
12908 * string.c (rb_str_index): return byte offset. [ruby-dev:32472]
12910 * string.c (rb_str_split_m): calculate in byte offset.
12912 Mon Dec 10 09:56:29 2007 Koichi Sasada <ko1@atdot.net>
12914 * benchmark/bm_vm1_neq.rb, bm_vm1_not.rb: added.
12916 Mon Dec 10 07:48:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12918 * parse.y (parser_yylex): wrong token was generated. [ruby-dev:32498]
12920 * object.c (rb_obj_not_match): wrong test.
12922 Mon Dec 10 06:44:47 2007 Tanaka Akira <akr@fsij.org>
12924 * re.c (rb_reg_expr_str): use \xHH instead of \OOO.
12926 * regerror.c (to_ascii): ditto.
12927 (onig_snprintf_with_pattern): ditto.
12928 (onig_snprintf_with_pattern): ditto.
12930 * string.c (rb_str_inspect): ditto.
12931 (rb_str_dump): ditto.
12933 * parse.y (parser_yylex): ditto.
12935 * ruby.c (proc_options): ditto.
12937 * file.c (rb_f_test): ditto.
12941 Mon Dec 10 06:41:00 2007 Tanaka Akira <akr@fsij.org>
12943 * re.c (rb_reg_names): new method Regexp#names.
12944 (rb_reg_named_captures): new method Regexp#named_captures
12945 (match_regexp): new method MatchData#regexp.
12946 (match_names): new method MatchData#names.
12948 * lib/pp.rb (MatchData#pretty_print): show names of named captures.
12952 Mon Dec 10 01:35:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
12954 * parse.y (expr): redefinable not (!) operator.
12956 * parse.y (arg): ditto.
12958 * object.c (rb_obj_not): new method "!".
12960 * object.c (rb_obj_not_equal): new method "!=".
12962 * object.c (rb_obj_not_match): new method "!~".
12964 Sun Dec 9 22:31:36 2007 Tanaka Akira <akr@fsij.org>
12966 * re.c (rb_reg_s_last_match): accept named capture's name.
12968 Sun Dec 9 15:57:53 2007 Tanaka Akira <akr@fsij.org>
12970 * re.c (match_backref_number): new function for converting a backref
12971 name/number to an integer.
12972 (match_offset): use match_backref_number.
12973 (match_begin): ditto.
12974 (match_end): ditto.
12975 (name_to_backref_number): raise IndexError instead of RuntimeError.
12976 (match_inspect): show capture index.
12978 Sun Dec 9 14:59:15 2007 Koichi Sasada <ko1@atdot.net>
12980 * eval_intern.h (CHECK_STACK_OVERFLOW): reserve frame size.
12983 Sun Dec 9 14:38:25 2007 Koichi Sasada <ko1@atdot.net>
12985 * vm.c (rb_thread_mark): use rb_gc_mark_maybe() for
12986 VM stack specified by mark_stack_len. [ruby-dev:32462]
12988 * insnhelper.ci: clear vm stack extended by opt value.
12990 Sun Dec 9 14:08:47 2007 Tanaka Akira <akr@fsij.org>
12992 * include/ruby/ruby.h (FilePathStringValue): defined. similar to
12993 FilePathValue but no taint check.
12995 * file.c (rb_get_path_no_checksafe): implementation of
12996 FilePathStringValue.
12997 (rb_file_s_basename): use FilePathStringValue.
12998 (rb_file_s_dirname): ditto.
12999 (rb_file_s_extname): ditto.
13000 (rb_file_s_split): ditto.
13001 (rb_file_join): ditto.
13003 * dir.c (file_s_fnmatch): ditto.
13005 Sun Dec 9 12:49:34 2007 Tanaka Akira <akr@fsij.org>
13007 * re.c (append_utf8): check unicode range.
13009 Sun Dec 9 12:39:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13011 * lib/cgi.rb (read_multipart): exclude blanks from header values.
13014 Sun Dec 9 12:18:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13016 * file.c (rb_get_path): use the original object if to_path method is
13017 not defined. [ruby-dev:32473]
13019 * io.c (rb_f_open): call to_open on non-string objects, instead of
13020 to_str. [ruby-dev:32473]
13022 Sun Dec 9 12:12:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13024 * string.c (tr_find): returns true if no characters to be removed is
13027 Sun Dec 9 12:03:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13029 * parse.y (parser_magic_comment): delimits with a semicolon.
13031 Sun Dec 9 11:29:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13033 * string.c (tr_trans): get rid of segfaults when has multibytes but
13034 source sets have no multibytes.
13036 Sun Dec 9 04:01:28 2007 Tanaka Akira <akr@fsij.org>
13038 * encoding.c (rb_enc_mbclen): return 1 if underlying implementation
13039 returns a length longer than e-p.
13040 (rb_enc_precise_mbclen): return needmore if underlying
13041 implementation returns a length longer than e-p.
13043 Sat Dec 8 17:59:40 2007 Tanaka Akira <akr@fsij.org>
13045 * signal.c (posix_signal): return value.
13047 Sat Dec 8 17:22:16 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13049 * test/openssl/test_pkcs7.rb: Remove redundant module namespace.
13051 Sat Dec 8 17:07:10 2007 Tanaka Akira <akr@fsij.org>
13053 * ruby.c (proc_options): make rb_raise format as a string literal to
13056 Sat Dec 8 16:18:16 2007 Tanaka Akira <akr@fsij.org>
13058 * re.c (rb_reg_check_preprocess): new function for validating regexp
13061 * parse.y (regexp): invoke reg_fragment_check.
13062 (reg_fragment_check): defined.
13063 (reg_fragment_check_gen): defined.
13065 Sat Dec 8 11:06:29 2007 Tanaka Akira <akr@fsij.org>
13067 * encoding.c (rb_enc_mbclen): make it never fail.
13068 (rb_enc_nth): don't check the return value of rb_enc_mbclen.
13069 (rb_enc_strlen): ditto.
13070 (rb_enc_precise_mbclen): return needmore(1) if e <= p.
13071 (rb_enc_get_ascii): new function for extracting ASCII character.
13073 * include/ruby/encoding.h (rb_enc_get_ascii): declared.
13075 * include/ruby/regex.h (ismbchar): removed.
13077 * re.c (rb_reg_expr_str): use rb_enc_get_ascii.
13078 (unescape_escaped_nonascii): use rb_enc_precise_mbclen to determine
13079 the termination of escaped non-ASCII character.
13080 (unescape_nonascii): use rb_enc_precise_mbclen.
13081 (rb_reg_quote): use rb_enc_get_ascii.
13082 (rb_reg_regsub): use rb_enc_get_ascii.
13084 * string.c (rb_str_reverse) don't check the return value of
13086 (rb_str_split_m): don't call rb_enc_mbclen with e <= p.
13088 * parse.y (is_identchar): use ISASCII.
13089 (parser_ismbchar): removed.
13090 (parser_precise_mbclen): new macro.
13091 (parser_isascii): new macro.
13092 (parser_tokadd_mbchar): use parser_precise_mbclen to check invalid
13093 character precisely.
13094 (parser_tokadd_string): use parser_isascii.
13095 (parser_yylex): ditto.
13096 (is_special_global_name): don't call is_identchar with e <= p.
13097 (rb_enc_symname_p): ditto.
13101 * ext/tk/sample/tkextlib/vu/canvSticker2.rb: remove coding cookie
13102 because the encoding is not UTF-8. [ruby-dev:32475]
13104 Fri Dec 7 20:21:35 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
13106 * ext/openssl/lib/net/ftptls.rb, ext/openssl/lib/net/telnets.rb:
13107 half-finished libraries are discontinued.
13109 Fri Dec 7 15:44:40 2007 Tanaka Akira <akr@fsij.org>
13111 * lib/pp.rb: use Hash for recursion check as inspect.
13113 Fri Dec 7 15:04:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13115 * array.c (flatten): some performance improvements, based on a patch
13116 from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13877].
13119 * thread.c (rb_exec_recursive): use Hash instead of Array for
13120 performance improvement. [ruby-core:13898]
13122 * thread.c (recursive_pop): use object ID.
13124 Thu Dec 6 19:52:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13126 * parse.y (arg): typo fixed ("!" -> "|") in the ripper code.
13128 Thu Dec 6 19:48:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13130 * parse.y (arg): tUPLUS no longer works as identity operation any
13131 more. inspired by [ruby-talk:265532].
13133 Thu Dec 6 18:22:11 2007 Tanaka Akira <akr@fsij.org>
13135 * encoding.c (rb_enc_precise_mbclen): new function for mbclen with
13138 * include/ruby/encoding.h (rb_enc_precise_mbclen): declared.
13139 (MBCLEN_CHARFOUND): new macro.
13140 (MBCLEN_INVALID): new macro.
13141 (MBCLEN_NEEDMORE): new macro.
13143 * include/ruby/oniguruma.h (OnigEncodingTypeST): replace mbc_enc_len
13144 by precise_mbc_enc_len.
13145 (ONIGENC_PRECISE_MBC_ENC_LEN): new macro.
13146 (ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND): new macro.
13147 (ONIGENC_CONSTRUCT_MBCLEN_INVALID): new macro.
13148 (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE): new macro.
13149 (ONIGENC_MBCLEN_CHARFOUND): new macro.
13150 (ONIGENC_MBCLEN_INVALID): new macro.
13151 (ONIGENC_MBCLEN_NEEDMORE): new macro.
13152 (ONIGENC_MBC_ENC_LEN): use ONIGENC_PRECISE_MBC_ENC_LEN.
13154 * enc/euc_jp.c: validation implemented.
13156 * enc/sjis.c: ditto.
13158 * enc/utf8.c: ditto.
13160 * string.c (rb_str_inspect): use rb_enc_precise_mbclen for invalid
13162 (rb_str_valid_encoding_p): new method String#valid_encoding?.
13164 * io.c (rb_io_getc): use rb_enc_precise_mbclen.
13168 Thu Dec 6 01:37:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13170 * regparse.c (i_apply_case_fold): fix for negative character class. a
13171 patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13884].
13173 Thu Dec 6 01:00:38 2007 NARUSE, Yui <naruse@ruby-lang.org>
13175 * ext/iconv/iconv.c (iconv_s_list): support NetBSD/Citrus iconv.
13177 Wed Dec 5 16:18:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13179 * proc.c (rb_proc_s_new): call initialize. [ruby-core:13824]
13181 * proc.c (rb_proc_location): return file name and line number where
13182 the proc is defined.
13184 * thread.c (thread_s_new): call initialize. [ruby-core:13835]
13186 * thread.c (thread_initialize): split initialize method.
13188 Wed Dec 5 15:25:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13190 * parse.y (rb_intern3): fix to changing encoding to default, and
13191 uncommented r13835, which is rare but not impossible.
13193 Wed Dec 5 15:15:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13195 * range.c (step_i, range_step): support non-fixnum steps.
13198 Wed Dec 5 14:25:11 2007 Koichi Sasada <ko1@atdot.net>
13200 * compile.c (iseq_compile_each): fix typo.
13202 Wed Dec 5 13:41:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13204 * parse.y (yycompile): get rid of tracing while parsing.
13207 * thread.c (ruby_suppress_tracing): added a new parameter, which
13208 directs to call func always.
13210 Tue Dec 4 19:56:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13212 * ext/iconv/iconv.c (iconv_convert): should not set encoding unless
13213 the target encoding is supported. [ruby-dev:32451]
13215 Tue Dec 4 17:34:17 2007 NARUSE, Yui <naruse@ruby-lang.org>
13217 * ext/nkf/lib/kconv.rb (tojis, tosjis, toeuc, toutf8):
13218 set encoding. [ruby-dev:32447]
13220 Tue Dec 4 17:07:25 2007 NARUSE, Yui <naruse@ruby-lang.org>
13222 * lib/json.rb, lib/json/*: moved to ext/json/lib.
13224 Tue Dec 4 16:34:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13226 * ext/iconv/iconv.c (iconv_create): achieve target encoding.
13228 * ext/iconv/iconv.c (iconv_convert, iconv_finish, iconv_iconv,
13229 iconv_conv): set result string encoding. [ruby-dev:32446]
13231 * ext/iconv/iconv.c (iconv_initialize, iconv_s_open): set encoding to
13234 Tue Dec 4 14:34:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13236 * ruby.c (process_options): reverted c flag.
13238 Tue Dec 4 11:23:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13240 * bignum.c (rb_cstr_to_inum): trailing spaces may exist at squeezing
13241 preceding 0s. [ruby-core:13873]
13243 Mon Dec 3 11:51:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13245 * ext/Win32API/*: removed or moved to ext/dl/win32.
13247 * ext/dl/win32/*: new. [ruby-dev:32387]
13249 Sun Dec 2 22:08:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13251 * parse.y (parser_tokadd_mbchar): fix for ASCII chars. [ruby-dev:32432]
13253 * parse.y (parser_parse_string, parser_here_document): prevent false
13256 Sun Dec 2 20:43:22 2007 Tanaka Akira <akr@fsij.org>
13258 * re.c (unescape_escaped_nonascii): fix mbclen argument.
13260 Sun Dec 2 15:47:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13262 * parse.y (parser_tokadd_mbchar): check insufficient multibyte char.
13265 Sun Dec 2 15:42:16 2007 Kouhei Sutou <kou@cozmixng.org>
13267 * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.1 -> 0.2.2.
13269 * lib/rss/maker/itunes.rb: fixed new_itunes_category.
13270 * lib/rss/maker/taxonomy.rb: new_taxo_topic -> new_topic because
13273 * test/rss/test_maker_itunes.rb, test/rss/test_itunes.rb: removed
13274 needless UTF-8 characters.
13276 Sun Dec 2 15:18:37 2007 Koichi Sasada <ko1@atdot.net>
13278 * insnhelper.ci (vm_callee_setup_arg): fix error message.
13281 Sun Dec 2 09:12:48 2007 Tanaka Akira <akr@fsij.org>
13283 * parse.y (regexp): fix /#{}\xa1\xa2/e to be EUC-JP.
13284 (reg_fragment_setenc_gen): extracted from reg_compile_gen.
13286 Sun Dec 2 01:39:51 2007 Tanaka Akira <akr@fsij.org>
13288 * include/ruby/intern.h (rb_uv_to_utf8): declared.
13290 * re.c (rb_reg_preprocess): new function for dynamic regexp with
13291 \u{} such as Regexp.new("\\u{6666}").
13292 (rb_reg_prepare_re): preprocess regexp for recompiling.
13293 (read_escaped_byte): new function.
13294 (unescape_escaped_nonascii): new function.
13295 (append_utf8): new function.
13296 (unescape_unicode_list): new function.
13297 (unescape_unicode_bmp): new function.
13298 (unescape_nonascii): new function.
13299 (rb_reg_initialize): preprocess regexp.
13301 * pack.c (rb_uv_to_utf8): renamed from uv_to_utf8.
13303 * parse.y (STR_NEW3): take func instead of has8 and hasmb.
13304 (parser_str_new): use default coderange mechanism except for regexp.
13305 (parser_tokadd_utf8): copy regexp source as-is.
13306 (parser_read_escape): UTF-8 stuff removed.
13307 (parser_tokadd_escape): has8bit and hasmb removed.
13308 (parser_tokadd_string): fix 8-bit single byte character with \u.
13309 (parser_parse_string): has8bit and hasmb removed.
13310 (parser_here_document): has8bit and hasmb removed.
13311 (parser_yylex): call parser_tokadd_utf8 instead of read_escape for
13314 Wed Dec 2 01:00:07 2007 James Edward Gray II <jeg2@ruby-lang.org>
13316 * lib/xmlrpc/server.rb (XMLRPC::Server#server): Improve signal handling so
13317 pressing control-c in the controlling terminal or sending SIGTERM stops
13318 the XML-RPC server.
13320 Sat Dec 1 23:04:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13322 * encoding.c: rename primary_encoding -> default_external (encoding).
13324 Sat Dec 1 19:52:57 2007 Tadayoshi Funaba <tadf@dotrb.org>
13326 * lib/date.rb (Time#to_datetime): use nsec instead of usec.
13328 * lib/date.rb (DateTime#to_time): second minute as an argument to
13329 Time::utc contains fractional part in rational; hence Time
13330 object may keep resolution at most nanosecond.
13332 Sat Dec 1 14:36:05 2007 Koichi Sasada <ko1@atdot.net>
13334 * bootstraptest/test_knownbug.rb: move fixed bugs.
13336 * test/ruby/test_sprintf.rb: ditto.
13338 * test/yaml/test_yaml.rb: ditto.
13340 Sat Dec 1 13:24:47 2007 Koichi Sasada <ko1@atdot.net>
13342 * insnhelper.ci (vm_yield_with_cfunc): fix to passing argc on third
13343 parameter of IFUNC. [ruby-dev:32329]
13345 * enumerator.c: fix to pass exact number of argument.
13347 * eval.c (rb_yield_values2): added.
13349 * include/ruby/ruby.h: ditto.
13351 * bootstraptest/test_knownbug.rb: move a fixed test.
13353 * bootstraptest/test_block.rb: ditto.
13355 Sat Dec 1 10:45:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13357 * io.c (rb_f_open): use to_open for every non-string object. path
13358 object may use method_missing.
13360 Sat Dec 1 09:44:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13362 * insns.def (concatarray, splatarray): use to_a instead of
13365 * insnhelper.ci (caller_setup_args): ditto.
13367 Sat Dec 1 03:34:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13369 * parse.y (newline_node): always remove NODE_BEGIN.
13371 Fri Nov 30 23:48:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13373 * signal.c (ruby_signal): use SA_SIGINFO if available.
13374 [ ruby-Patches-6418 ]
13376 Fri Nov 30 22:52:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13378 * signal.c (trap_signm): SIGVTALRM no longer used for green
13379 thread. [ruby-talk:281318]
13381 * signal.c (ruby_sig_finalize): do not install SIG_DFL handler if
13382 previous handler is sighandler().
13384 Fri Nov 30 21:02:15 2007 NARUSE, Yui <naruse@ruby-lang.org>
13386 * lib/json.rb, lib/json/add/{core.rb, rails.rb},
13387 test/json/test_json_rails.rb: additional files of JSON 1.1.2.
13390 Fri Nov 30 19:33:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13392 * ext/syck/rubyext.c (rb_syck_mktime): avoid segmentation fault.
13395 Fri Nov 30 19:05:55 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13397 * enum.c (enum_count): precise argument number check.
13399 * enum.c (enum_count): return Enumerator if no block given.
13401 Fri Nov 30 16:42:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13403 * enum.c (enum_take_while): returns Enumerator if no block given.
13405 * enum.c (enum_drop_while): ditto.
13407 Thu Nov 29 16:59:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13409 * parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814]
13411 Thu Nov 29 06:45:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13413 * hash.c (rb_hash_eql): recursive comparison should be based on
13414 eql? [ruby-core:13803]
13416 Wed Nov 28 18:08:00 2007 NARUSE, Yui <naruse@ruby-lang.org>
13418 * ext/json, lib/json, test/json: Update to JSON 1.1.2.
13421 * math.c: fix typo.
13423 Wed Nov 28 16:29:35 2007 Koichi Sasada <ko1@atdot.net>
13425 * insnhelper.ci (vm_invoke_block): should splat args.
13428 * test/ruby/test_yield.rb: add tests for above.
13430 Wed Nov 28 14:43:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13432 * ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS to
13433 get rid of mixing $LDFLAGS and $ARCH_FLAG.
13435 * lib/mkmf.rb (configuration): ditto.
13437 * lib/mkmf.rb (create_makefile): support for extensions which has no
13440 Wed Nov 28 02:42:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13442 * bignum.c (big2str_find_n1): removed extraneous element.
13443 [ruby-dev:32351], [ruby-dev:32365]
13445 * bignum.c (big2str_find_n1): returns necessary digits now.
13447 * sprintf.c (remove_sign_bits): extends sign bit first.
13449 Tue Nov 27 15:53:43 2007 Koichi Sasada <ko1@atdot.net>
13451 * compile.c (iseq_compile_each): "when *[],1" dumps core.
13452 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32350]
13454 * bootstraptest/test_syntax.rb: add a test for above.
13456 Tue Nov 27 15:40:05 2007 Koichi Sasada <ko1@atdot.net>
13458 * compile.c (iseq_compile_each): "a[*b] += 1" dumps core.
13459 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32354]
13461 * bootstraptest/test_syntax.rb: add a test for above.
13463 Tue Nov 27 12:47:23 2007 Koichi Sasada <ko1@atdot.net>
13465 * compile.c, insns.def: change return value of "defined?"
13466 for $&, $1, ... . If such variables are defined,
13467 return "global-variable".
13469 * test/ruby/test_defined.rb: add tests.
13471 * bootstraptest/test_syntax.rb: fix a test.
13473 Tue Nov 27 11:54:46 2007 Koichi Sasada <ko1@atdot.net>
13475 * insns.def: fix typo.
13477 Tue Nov 27 11:23:20 2007 Koichi Sasada <ko1@atdot.net>
13479 * test_beginendblock.rb: add loop to wait signal.
13482 Tue Nov 27 11:14:57 2007 Tanaka Akira <akr@fsij.org>
13484 * include/ruby/encoding.h, encoding.c, re.c, string.c, parse.y:
13485 rename ENC_CODERANGE_SINGLE to ENC_CODERANGE_7BIT.
13486 rename ENC_CODERANGE_MULTI to ENC_CODERANGE_8BIT.
13487 Because single byte 8bit character, such as Shift_JIS 1byte katakana,
13488 is represented by ENC_CODERANGE_MULTI even if it is not multi byte.
13490 Tue Nov 27 10:45:45 2007 Koichi Sasada <ko1@atdot.net>
13492 * eval.c (rb_method_missing): fix stack trace.
13494 * bootstraptest/test_knownbug.rb: move solved tests.
13496 * bootstraptest/test_method.rb, test/ruby/test_regexp.rb: ditto.
13498 Tue Nov 27 09:57:42 2007 Koichi Sasada <ko1@atdot.net>
13500 * insns.def, compile.c: fix to allow dsym for alias/undef.
13503 * bootstraptest/test_method.rb: add tests for above.
13505 Mon Nov 26 23:18:46 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
13507 * lib/drb/extserv.rb (initialize, stop_service): synchronize with
13510 * test/drb/test_drb.rb (TestDRbEval): ignored.
13512 Mon Nov 26 17:32:16 2007 Tanaka Akira <akr@fsij.org>
13514 * re.c (Init_Regexp): new method Regexp#fixed_encoding?
13517 Mon Nov 26 13:28:14 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
13519 * lib/complex.rb: be able to create Complex(0, -0.0). [ruby-list:44268]
13521 Mon Nov 26 11:24:04 2007 Tanaka Akira <akr@fsij.org>
13523 * re.c (rb_reg_fixed_encoding_p): extracted from rb_reg_prepare_re and
13525 (rb_reg_s_union): refactored.
13527 Mon Nov 26 10:44:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13529 * io.c (rb_read_internal, rb_sysopen_internal): remove C99 dependency.
13531 Sun Nov 25 22:21:35 2007 Tanaka Akira <akr@fsij.org>
13533 * include/ruby/encoding.h (rb_enc_str_asciionly_p): declared.
13534 (rb_enc_str_asciicompat_p): defined.
13536 * re.c (rb_reg_initialize_str): use rb_enc_str_asciionly_p.
13537 (rb_reg_quote): return ascii-8bit string if the argument is
13538 ascii-only to generate encoding generic regexp if possible.
13539 (rb_reg_s_union): fix encoding handling. [ruby-dev:32094]
13541 * string.c (rb_enc_str_asciionly_p): defined.
13543 Sun Nov 25 12:12:03 2007 Eric Hodel <drbrain@segment7.net>
13545 * gem_prelude.rb: Import fast-loading gem_prelude.rb from RubyGems.
13547 * lib/rubygems*: Import RubyGems r1516.
13549 Sat Nov 24 23:25:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13551 * test/ruby/test_eval.rb (TestEval::test_instance_eval_cvar):
13552 updated not to modify class variable of Object class.
13554 Fri Nov 23 17:34:24 2007 Koichi Sasada <ko1@atdot.net>
13556 * io.c: add rb_read_internal() as blocking function.
13558 Fri Nov 23 17:33:39 2007 Koichi Sasada <ko1@atdot.net>
13560 * vm.c: fix comment.
13562 Fri Nov 23 17:26:11 2007 Koichi Sasada <ko1@atdot.net>
13564 * bootstraptest/test_knownbug.rb: move solved tests.
13566 * bootstraptest/test_io.rb, test_marshal.rb, test_objectspace.rb:
13569 * test/ruby/test_integer.rb, test_regexp.rb: ditto.
13571 Fri Nov 23 15:59:04 2007 Tanaka Akira <akr@fsij.org>
13573 * struct.c (rb_struct_alloc_noinit): new function.
13574 (rb_struct_define_without_accessor): add allocator to the arguments.
13576 * range.c (range_alloc): re-introduced using rb_struct_alloc_noinit.
13578 Fri Nov 23 15:27:43 2007 Tanaka Akira <akr@fsij.org>
13580 * re.c (REG_CASESTATE): unused macro removed.
13581 (rb_reg_prepare_re): check encoding difference.
13582 (rb_reg_initialize): check 8bit byte.
13584 * parse.y (parser_tokadd_escape): fix has8bit.
13588 Fri Nov 23 15:16:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13590 * variable.c (rb_f_global_variables): variable names should not
13591 duplicate. [ruby-dev:32344]
13593 Fri Nov 23 13:34:08 2007 Tanaka Akira <akr@fsij.org>
13595 * struct.c (rb_struct_define_without_accessor): new function.
13597 * range.c (range_alloc): removed.
13598 (Init_Range): use rb_struct_define_without_accessor.
13600 based on [ruby-dev:32327].
13602 Fri Nov 23 11:01:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13604 * re.c (match_begin): should return offset by character.
13607 * re.c (match_end): ditto.
13609 * re.c (rb_reg_search): ditto.
13611 Fri Nov 23 10:44:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13613 * compile.c (defined_expr): defined(method(x)) dumped core. a
13614 patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32335]
13616 Wed Nov 21 18:03:49 2007 Koichi Sasada <ko1@atdot.net>
13618 * vm.c: fix to recycle thread data (VM stack).
13622 * benchmark/bm_vm3_thread_create_join.rb: add loop count.
13624 Wed Nov 21 18:02:10 2007 Koichi Sasada <ko1@atdot.net>
13626 * benchmark/driver.rb: add path to trunk/lib if driver runner is
13627 in build directory.
13629 Wed Nov 21 16:39:21 2007 Tanaka Akira <akr@fsij.org>
13631 * test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert
13632 to test tv_sec only for filestamp resolution portability.
13633 (assert_same_entry): use assert_same_entry for mtime comparison.
13635 Wed Nov 21 14:55:13 2007 Koichi Sasada <ko1@atdot.net>
13637 * array.c (rb_ary_permutation): add gc guard codes.
13639 Wed Nov 21 11:16:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13641 * insnhelper.ci (vm_search_normal_superclass): rename function.
13643 * insnhelper.ci (vm_search_superclass): ditto.
13645 * proc.c (struct METHOD): rename rklass -> rclass.
13647 Wed Nov 21 03:12:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13649 * process.c (rb_f_system): returns nil on execution failure.
13652 Wed Nov 21 01:04:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13654 * object.c (nil_plus): remove unused function. [ruby-core:13737]
13656 Tue Nov 20 21:46:46 2007 Tanaka Akira <akr@fsij.org>
13658 * time.c (time_mload): ignore invalid digits in submicro.
13660 Tue Nov 20 20:33:32 2007 Koichi Sasada <ko1@atdot.net>
13662 * include/ruby/ruby.h: rename RFloat#double_value -> float_value.
13664 * numeric.c, parse.y: ditto.
13666 Tue Nov 20 19:36:21 2007 Koichi Sasada <ko1@atdot.net>
13668 * gc.h, vm_core.h: decl of rb_gc_save_machine_context()
13669 should be at vm_core.h.
13671 * include/ruby/ruby.h, intern.h: remove type rb_thread_t.
13673 * include/ruby/intern.h: change rb_unblock_function_t,
13674 rb_unblock_function_t.
13676 * file.c, process.c: apply above changes.
13678 * thread.c, thread_pthread.ci, thread_win32.ci: ditto.
13680 * io.c: support blocking open (2). [ruby-core:13614]
13682 Tue Nov 20 17:10:11 2007 Tanaka Akira <akr@fsij.org>
13684 * io.c (rb_io_close_on_exec_p): new method IO#close_on_exec?.
13685 (rb_io_set_close_on_exec): new method IO#close_on_exec=.
13688 Tue Nov 20 16:24:31 2007 Tanaka Akira <akr@fsij.org>
13690 * gc.c (gc_mark_children): obj->as.file.fptr may be 0 for T_FILE.
13692 Tue Nov 20 15:09:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13694 * parse.y (parser_read_escape): has8bit flag may be set with control
13695 escape. [ruby-core:13722]
13697 * parse.y (parser_prepare): set begging after BOM if exists.
13700 Tue Nov 20 14:55:37 2007 Eric Hodel <drbrain@segment7.net>
13702 * lib/rubygems*: Update to RubyGems 0.9.5.
13704 Tue Nov 20 13:00:44 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13706 * include/ruby/win32.h win32/win32.c (rb_w32_pipe_exec): use dual fd
13707 instead of socketpair when mode is RDWR.
13709 * io.c (pipe_open): pass &write_fd to rb_w32_pipe_exec().
13711 * io.c (popen_redirect): define only when HAVE_FORK.
13713 Tue Nov 20 12:12:04 2007 Tanaka Akira <akr@fsij.org>
13715 * include/ruby/io.h (rb_io_t): add tied_io_for_writing member.
13717 * io.c: use tied_io_for_writing for duplex popen.
13719 * gc.c: mark tied_io_for_writing.
13721 * common.mk: gc.o depends io.h.
13725 Tue Nov 20 11:59:33 2007 Tanaka Akira <akr@fsij.org>
13727 * test/drb/test_drb.rb: rename TestRubyYield to TestDRbRubyYield to
13728 avoid name crash with test/ruby/test_yield.rb.
13729 TestRuby18Yield is renamed to TestDRbRuby18Yield too.
13731 Tue Nov 20 03:24:42 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
13733 * lib/drb/extservm.rb: merged from ruby_1_8 branch.
13735 * lib/drb/acl.rb: ditto.
13737 * lib/drb/ssl.rb: ditto.
13739 * lib/drb/unix.rb: ditto.
13741 * lib/drb/drb.rb: ditto.
13743 * lib/drb/observer.rb: ditto.
13745 * lib/drb/invokemethod.rb: ditto.
13747 * test/drb/test_drbssl.rb: ditto.
13749 * test/drb/test_drb.rb: ditto.
13751 * test/drb/drbtest.rb: ditto.
13753 * test/drb/test_drbunix.rb: ditto.
13755 Tue Nov 20 00:52:46 2007 Tanaka Akira <akr@fsij.org>
13757 * test/fileutils/fileasserts.rb (assert_equal_time): show nsec if
13758 assertion fails but time.to_s equals.
13759 (assert_same_entry): use assert_equal_time.
13761 * test/fileutils/test_fileutils.rb (test_install): use
13764 Mon Nov 19 18:46:49 2007 Tanaka Akira <akr@fsij.org>
13766 * file.c (utime_internal): fallback utimensat to utimes.
13768 Mon Nov 19 17:51:27 2007 Tanaka Akira <akr@fsij.org>
13770 * configure.in: check struct timespec, clock_gettime, utimensat,
13771 struct stat.st_atim,
13772 struct stat.st_atimespec,
13773 struct stat.st_atimensec,
13774 struct stat.st_mtim,
13775 struct stat.st_mtimespec,
13776 struct stat.st_mtimensec,
13777 struct stat.st_ctim,
13778 struct stat.st_ctimespec,
13779 struct stat.st_ctimensec.
13781 * include/ruby/missing.h: provide struct timespec if not available.
13783 * time.c: support nanosecond-resolution using struct timespec.
13784 (time_nsec): new method: Time#nsec and Time#tv_nsec.
13786 * include/ruby/intern.h: provide rb_time_nano_new.
13788 * file.c (utime_internal): use utimensat if available.
13789 (rb_file_s_utime): refactored.
13790 (rb_f_test): use stat_atime, stat_mtime, stat_ctime.
13791 (rb_stat_cmp): check tv_nsec.
13792 (stat_atimespec): new function.
13793 (stat_atime): ditto.
13794 (stat_mtimespec): ditto.
13795 (stat_mtime): ditto.
13796 (stat_ctimespec): ditto.
13797 (stat_ctime): ditto.
13798 (rb_stat_atime): use stat_atime.
13799 (rb_file_s_atime): ditto.
13800 (rb_file_atime): ditto.
13801 (rb_stat_mtime): use stat_mtime.
13802 (rb_file_s_mtime): ditto.
13803 (rb_file_mtime): ditto.
13804 (rb_file_ctime): use stat_ctime.
13805 (rb_file_s_ctime): ditto.
13806 (rb_stat_ctime): ditto.
13808 * variable.c (rb_copy_generic_ivar): clear clone's instance variables
13809 if obj has no instance variable.
13811 * marshal.c (w_object): dump instance variables of generated string
13812 for TYPE_USERDEF, even if original object has instance variables.
13814 * lib/time.rb (Time#xmlschema): use nsec instead of usec.
13818 Mon Nov 19 17:48:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13820 * object.c (rb_class_superclass): should not raise exception for
13821 BasicObject. [ruby-Bugs-15668]
13823 Mon Nov 19 16:04:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13825 * array.c (rb_ary_permutation): gives all permutations of elements
13826 if no argument given. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
13829 Mon Nov 19 02:44:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13831 * compile.c (iseq_compile_each): alias and undef accept dsyms as well
13832 as literals. [ruby-dev:32308]
13834 Mon Nov 19 02:31:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13836 * eval_method.ci (rb_add_method): no redefinition warning for undef.
13838 Mon Nov 19 01:53:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13840 * parse.y (parser_read_escape): disallow control and meta modifiers
13841 for non-ASCII characters. [ruby-core:13685]
13843 Sun Nov 18 20:47:41 2007 Tanaka Akira <akr@fsij.org>
13845 * marshal.c (mark_dump_arg): it may be called after dump_ensure.
13847 Sun Nov 18 18:27:47 2007 Tanaka Akira <akr@fsij.org>
13849 * time.c (time_minus): fix Time.at(2**60+1) - Time.at(2**60).
13851 Sun Nov 18 17:28:49 2007 Tanaka Akira <akr@fsij.org>
13853 * time.c (time_arg): show actual year in 2-3 digits year warning.
13854 (time_mdump): show actual year in "year too big to marshal" error.
13856 Sun Nov 18 14:03:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13858 * eval_method.ci (rb_alias): do not call hook functions until
13859 initialization finishes. [ruby-talk:279538]
13861 Sun Nov 18 09:09:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13863 * lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.
13865 Sun Nov 18 05:19:46 2007 Tanaka Akira <akr@fsij.org>
13867 * lib/mkmf.rb (have_struct_member): define HAVE_type_member.
13869 Sat Nov 17 23:51:29 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
13871 * ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100]
13873 Sat Nov 17 23:21:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13875 * parse.y (parser_yylex): should clear parser->tokp as well.
13878 * parse.y: remove NEED_ASSOC that break test_parser_events.
13880 * parse.y (parser_yylex): should not decrement line numbers at the
13883 * file.c (rb_find_file_ext): search .rb files first through in the
13886 Fri Nov 16 23:31:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13888 * bignum.c (rb_big_odd_p): new method added. a patch from Tadashi
13889 Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:32305]
13891 * bignum.c (rb_big_even_p): ditto.
13893 Fri Nov 16 17:41:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13895 * ext/iconv/iconv.c (Document-class): moved the simplest example to
13898 * ext/iconv/iconv.c (iconv_s_iconv): Document-method: needs class
13899 prefix for class method. [ruby-core:13542]
13901 * ext/iconv/iconv.c (iconv_iconv): also instance method needs to be
13904 Fri Nov 16 16:26:57 2007 Shugo Maeda <shugo@ruby-lang.org>
13906 * include/ruby/ruby.h: added some declarations for event hooks.
13908 * lib/profile.rb: set VM::InstructionSequence.compile_option.
13910 Fri Nov 16 11:16:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13912 * lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.
13914 Fri Nov 16 03:36:01 2007 why the lucky stiff <why@ruby-lang.org>
13916 * ext/syck/rubyext.c: Node#value defined twice.
13918 * lib/yaml/: several method redefinitions causing warnings.
13920 Fri Nov 16 03:01:00 2007 why the lucky stiff <why@ruby-lang.org>
13922 * lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit.
13924 Fri Nov 16 02:51:59 2007 why the lucky stiff <why@ruby-lang.org>
13926 * lib/yaml.rb (quick_emit): use combination of object_id and hash to
13927 identify repeated object references, since GC will reuse memory of
13928 objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698]
13930 Thu Nov 15 19:49:03 2007 NAKAMURA Usaku <usa@ruby-lang.org>
13932 * ext/curses/extconf.rb: check macro if cannot find func.
13935 Thu Nov 15 18:04:06 2007 Tanaka Akira <akr@fsij.org>
13937 * tool/compile_prelude.rb: fix TMP_RUBY_PREFIX for relative load path
13940 Thu Nov 15 17:28:21 2007 Tanaka Akira <akr@fsij.org>
13942 * tool/compile_prelude.rb: absolute path may not start with a slash.
13945 Thu Nov 15 17:07:54 2007 Tanaka Akira <akr@fsij.org>
13947 * tool/compile_prelude.rb: fix first substitution.
13948 use constant for prefix.
13949 pointed by Richard Kilmer.
13951 Thu Nov 15 14:29:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
13953 * common.mk (prereq): added auto generated sources. [ruby-dev:32280]
13955 Thu Nov 15 12:31:13 2007 Tanaka Akira <akr@fsij.org>
13957 * tool/compile_prelude.rb: use constant for prefix.
13959 Thu Nov 15 12:24:39 2007 Tanaka Akira <akr@fsij.org>
13961 * tool/compile_prelude.rb: use simple template system for source
13964 Thu Nov 15 12:19:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13966 * lib/cgi/session.rb (CGI::Session::FileStore::restore): use
13967 lockfile for exclusive locks. a patch from <tommy AT tmtm.org>.
13970 Thu Nov 15 12:14:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13972 * tool/compile_prelude.rb (c_esc): need to escape closing brace.
13974 Thu Nov 15 11:52:16 2007 Tanaka Akira <akr@fsij.org>
13976 * tool/compile_prelude.rb: adjust RbConfig::CONFIG paths relative
13977 to the installation path.
13979 Thu Nov 15 11:25:20 2007 Tanaka Akira <akr@fsij.org>
13981 * ruby.c (usage): fix typo on --disable-gems option.
13982 pointed by Richard Kilmer.
13984 Wed Nov 14 16:16:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13986 * test/net/http/test_https_proxy.rb
13987 (HTTPSProxyTest::test_https_proxy_authentication): initialize
13988 local variable 't' first. [ruby-dev:32253]
13990 Wed Nov 14 15:39:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
13992 * test/socket/test_socket.rb: update not to use 1.8 assignment to
13993 external local variable in the block parameters. [ruby-dev:32251]
13995 * test/strscan/test_stringscanner.rb: avoid $KCODE, and use
13996 String#force_encoding(). [ruby-dev:32251]
13998 Wed Nov 14 14:04:42 2007 Tanaka Akira <akr@fsij.org>
14000 * common.mk, Makefile.in: rename prelude.c to miniprelude.c.
14001 rename ext_prelude.c to prelude.c
14003 * win32/Makefile.sub: ditto.
14005 * bcc32/Makefile.sub: ditto.
14007 Wed Nov 14 07:09:48 2007 Koichi Sasada <ko1@atdot.net>
14009 * blockinlining.c, compile.c, compile.h, debug.c, debug.h,
14010 id.c, insnhelper.h, insns.def, thread.c, thread_pthread.ci,
14011 thread_pthread.h, thread_win32.ci, thread_win32.h, vm.h,
14012 vm_dump.c, vm_evalbody.ci, vm_opts.h: fix comments and
14015 Wed Nov 14 07:07:51 2007 Koichi Sasada <ko1@atdot.net>
14017 * tool/makedocs.rb, template/insnstbl.html: removed.
14019 Wed Nov 14 02:50:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14021 * common.mk (parse.c): dependency also needs vpath.
14023 * common.mk (node_name.inc, prelude.c): VPATH in nmake does not
14024 work for targets of explicit rules.
14026 Wed Nov 14 02:11:38 2007 Tanaka Akira <akr@fsij.org>
14028 * missing/isinf.c (isinf): don't define if the macro is defined.
14030 * configure.in: no need to set ac_cv_func_isinf=yes on non-gcc
14033 Wed Nov 14 01:34:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14035 * numeric.c (round): fallback definition.
14037 * numeric.c (flo_divmod, flo_round): use round() always.
14040 Wed Nov 14 00:33:49 2007 Koichi Sasada <ko1@atdot.net>
14042 * include/ruby/ruby.h: introduce 2 macros:
14043 RFLOAT_VALUE(v), DOUBLE2NUM(dbl).
14044 Rename RFloat#value -> RFloat#double_value.
14045 Do not touch RFloat#double_value directly.
14047 * bignum.c, insns.def, marshal.c, math.c, numeric.c, object.c,
14048 pack.c, parse.y, process.c, random.c, sprintf.c, string.c,
14049 time.c: apply above changes.
14051 * ext/dl/mkcallback.rb, ext/json/ext/generator/generator.c:
14054 Wed Nov 14 00:15:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14056 * tool/ytab.sed: get rid of GNU sed feature. a patch from Laurent
14057 Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470].
14059 Tue Nov 13 21:41:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14061 * common.mk (parse.c), ext/ripper/depend (ripper.c): process after
14062 bison with sed. [ruby-dev:32204]
14064 * ruby.c (proc_options): use yydebug in cmdline_options.
14066 * ruby.c (process_options): set yydebug flag of parser.
14068 * parse.y (yydebug): moved into struct parser_params.
14070 * parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser
14073 * */Makefile.sub (parse.c): moved to common.mk.
14075 * tool/ytab.sed: comment out yydebug definition, and substitute
14076 yyerror with parser_yyerror.
14078 Tue Nov 13 16:33:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14080 * numeric.c (flodivmod): work around for infinity.
14082 * numeric.c (flo_divmod): work around for platforms have no round().
14085 Tue Nov 13 15:26:33 2007 Tanaka Akira <akr@fsij.org>
14087 * lex.c.blt: moved from lex.c.
14089 * lex.c.src: copied from keywords. This is the source of lex.c.blt.
14091 * Makefile.in (lex.c): use lex.c.blt if keywords is same as lex.c.src.
14093 * win32/Makefile.sub (lex.c): re-introduce copy rule.
14095 * bcc32/Makefile.sub (lex.c): ditto.
14097 * wince/Makefile.sub (lex.c): ditto.
14099 Tue Nov 13 15:21:52 2007 Koichi Sasada <ko1@atdot.net>
14101 * compile.c (iseq_specialized_instruction): check argc.
14103 Tue Nov 13 14:44:32 2007 why the lucky stiff <why@ruby-lang.org>
14105 * test/yaml/test_yaml.rb: fixed the failing YAML Struct test
14108 Tue Nov 13 02:57:04 2007 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
14110 * numeric.c (flo_divmod): round to the nearest integer.
14111 [ ruby-Bugs-14540 ]
14113 Tue Nov 13 00:36:16 2007 Shugo Maeda <shugo@ruby-lang.org>
14115 * test/ruby/test_settracefunc.rb: fixed tests for set_trace_func.
14117 Mon Nov 12 19:47:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14119 * thread.c (call_trace_proc): should return value.
14121 Mon Nov 12 19:45:18 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14123 * {bcc,win}32/Makefile.sub (miniruby): use $(COMMONOBJS) and $(DMYEXT)
14124 instead of $(LIBRUBY_A).
14126 Mon Nov 12 18:32:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14128 * {bcc,win}32/Makefile.sub (MINIOBJS): added prelude.$(OBJEXT).
14130 Mon Nov 12 17:13:23 2007 Tanaka Akira <akr@fsij.org>
14132 * Makefile.in, common.mk: add prelude.o to MINIOBJS.
14134 Mon Nov 12 16:52:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14136 * lib/mkmf.rb (create_makefile): rdoc about srcprefix. a patch from
14137 Daniel Berger <djberg96 AT gmail.com> in [ruby-core:13378].
14139 Mon Nov 12 16:48:09 2007 Tanaka Akira <akr@fsij.org>
14141 * Makefile.in, common.mk: add ext_prelude.o to OBJS.
14143 Mon Nov 12 13:57:39 2007 Tanaka Akira <akr@fsij.org>
14145 * configure.in (MINIDLNOBJS): removed.
14146 (MINIOBJS): set to dln.o if dmydln.o is not used.
14148 * Makefile.in (miniruby): use MINIOBJS instead of MINIDLNOBJS.
14150 Mon Nov 12 13:53:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14152 * misc/ruby-mode.el (ruby-parse-partial): handle stringified
14153 symbols properly using ruby-forward-string.
14155 Mon Nov 12 12:17:59 2007 Tanaka Akira <akr@fsij.org>
14157 * configure.in (MINIDLNOBJS): defined.
14159 * Makefile.in (miniruby): use MINIDLNOBJS and COMMONOBJS instead of
14160 MINIOBJS and OBJS to avoid linking both dmydln.o and dln.o.
14162 Sun Nov 11 20:32:45 2007 Tanaka Akira <akr@fsij.org>
14164 * {win32,wince,bcc32}/Makefile.sub: delete lex.c rule.
14166 Sun Nov 11 19:40:52 2007 Tanaka Akira <akr@fsij.org>
14168 * Makefile.in (lex.c): simplified.
14170 Sun Nov 11 18:31:48 2007 Tanaka Akira <akr@fsij.org>
14172 * Makefile.in (lex.c): touch lex.c if gperf failed but lex.c exists.
14173 Although this may cause non-updated lex.c,
14174 svn co may generate keywords newer than lex.c especially on
14175 a file system which can record fractional mtime such as XFS.
14177 Sun Nov 11 17:32:46 2007 Shugo Maeda <shugo@ruby-lang.org>
14179 * insnhelper.ci (vm_call_method): pass mn->nd_clss to
14180 vm_call_cfunc() instead of klass.
14182 * vm.c (rb_thread_method_id_and_klass): traverse parent_iseq.
14184 * thread.c (call_trace_proc): use rb_thread_method_id_and_klass().
14186 Sun Nov 11 16:54:25 2007 Tanaka Akira <akr@fsij.org>
14188 * lex.c: renamed from lex.c.blt.
14190 * Makefile.in (lex.c): use find command to check mtime.
14192 Sun Nov 11 05:34:13 2007 Eric Hodel <drbrain@segment7.net>
14194 * bin/gem: Add forgotten gem command.
14196 Sat Nov 10 23:50:31 2007 Tanaka Akira <akr@fsij.org>
14198 * string.c (tr_trans): cast to unsigned char after dereference
14199 a pointer to a char to avoid SEGV with "\377".tr("a", "b").
14202 Sat Nov 10 23:08:53 2007 Tanaka Akira <akr@fsij.org>
14204 * configure.in, common.mk, Makefile.in: don't generate
14205 libminiruby-static.a.
14207 Sat Nov 10 19:46:54 2007 Tanaka Akira <akr@fsij.org>
14209 * configure.in, common.mk, Makefile.in: generate libminiruby-static.a
14210 which contains prelude.o for miniruby.
14212 Sat Nov 10 18:10:07 2007 Tanaka Akira <akr@fsij.org>
14214 * gem_prelude.rb: new file for gem libraries. currently empty.
14216 * common.mk: generate ext_prelude.c by prelude.rb and gem_prelude.rb.
14217 ruby (not miniruby) is linked with ext_prelude.o instead of
14220 * inits.c (rb_call_inits): don't call Init_prelude.
14222 * ruby.c: support --disable-gems option.
14223 (ruby_init_gems): new function to define Gem::Enable and
14224 invoke Init_prelude.
14225 (process_options): call ruby_init_gems just after
14226 ruby_init_loadpath.
14228 * tool/compile_prelude.rb: support multiple files.
14230 Sat Nov 10 17:27:55 2007 Shugo Maeda <shugo@ruby-lang.org>
14232 * thread.c (call_trace_proc): don't call ID2SYM() for ID_ALLOCATOR
14235 Sat Nov 10 16:37:07 2007 Eric Hodel <drbrain@segment7.net>
14237 * lib/rubygems: Import RubyGems revision 1493.
14239 * lib/rubygems.rb: ditto.
14241 * lib/ubygems.rb: ditto.
14243 * lib/rbconfig/datadir.rb: ditto.
14245 * test/rubygems: ditto.
14247 Sat Nov 10 16:34:21 2007 Eric Hodel <drbrain@segment7.net>
14249 * lib/soap/property.rb: Don't override Enumerable#inject for 1.9.
14251 Sat Nov 10 14:43:30 2007 David Flanagan <davidflanagan@ruby-lang.org>
14253 * parse.y: use ASCII encoding for string literals that are
14254 7-bit clean, fixing regression from my previous patch
14256 Sat Nov 10 13:18:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14258 * {bcc32,win32}/Makefile.sub: vendor_ruby support.
14260 Fri Nov 9 23:33:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14262 * parse.y (parser_nextc): added single line read forward buffer.
14264 * parse.y (parser_yylex): adjust line number for fluent interface.
14266 Fri Nov 9 22:04:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14268 * vm.h (FRAME_MAGIC_MASK_BITS): bits of FRAME_MAGIC_MASK.
14270 * insnhelper.ci (vm_call_cfunc, vm_cfunc_flags): use shift operations.
14272 Fri Nov 9 21:46:28 2007 Koichi Sasada <ko1@atdot.net>
14274 * eval.c (eval): should be volatile value for GC.
14276 Fri Nov 9 17:48:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14278 * ruby.c (locale_encoding): guesstimate encoding from environment
14279 variables. [ruby-core:13315]
14281 * ruby.c (process_options): set primary encoding from environment.
14283 Fri Nov 9 16:51:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14285 * io.c (rb_io_each_byte): should update rbuf_off and rbuf_len for
14286 each iteration. [ruby-dev:31659][ruby-dev:32192]
14288 * variable.c (rb_cvar_set): cvar assignment obey same rule to cvar
14289 reference. [ruby-dev:32192]
14291 Fri Nov 9 15:52:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14293 * encoding.c (enc_check_encoding, rb_set_primary_encoding): ENCODING
14294 is no longer in FL_USERS flags.
14296 Fri Nov 9 15:20:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14298 * string.c (rb_str_squeeze_bang): initialize squeezing table if no
14301 Fri Nov 9 13:57:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14303 * enum.c (each_with_index_i): use rb_yield_values() for
14304 compatibility with Enumerator#with_index(). a patch from Yusuke
14305 ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32195]
14307 Fri Nov 9 13:45:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14309 * test/ruby/test_iterator.rb (TestIterator::IterTest::each):
14310 #each_pair is now alias to #each. [ruby-dev:32192]
14312 * test/ruby/test_iterator.rb (TestIterator::test_assoc_yield):
14315 Fri Nov 9 12:56:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14317 * eval_load.c (loaded_feature_path): check with type of given feature.
14319 Fri Nov 9 12:43:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14321 * test/ruby/test_basicinstructions.rb: updated for new class
14322 behavior. [ruby-dev:32192]
14324 * encoding.c (enc_name): Encoding should not rely on ENCODING in
14325 the FL_USERS flags.
14327 * encoding.c (rb_enc_from_encoding): do not call rb_enc_associate
14328 for encoding itself.
14330 * encoding.c (enc_register_at): ditto.
14332 * marshal.c (r_ivar): do not set real instance variable for
14333 encoding data associated.
14335 Fri Nov 9 10:43:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14337 * eval.c (send_internal): use self in the previous frame to check for
14338 protected methods. [ruby-core:13254]
14340 * insnhelper.ci (vm_call_method): send! method has gone.
14342 Fri Nov 9 10:38:13 2007 Koichi Sasada <ko1@atdot.net>
14344 * marshal.c (w_object): should be SPECIAL_CONST_P() instead of
14347 Fri Nov 9 10:29:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14349 * eval.c (rb_invoke_method): check if invoked in function style.
14352 * insnhelper.ci (vm_call_cfunc, vm_cfunc_flags): stores and returns VM
14355 * vm.c (rb_vm_cfunc_funcall_p): returns if the current method is
14356 invoked in function style.
14358 Fri Nov 9 10:10:21 2007 Koichi Sasada <ko1@atdot.net>
14360 * cont.c: add rb_context_t#type.
14362 Fri Nov 9 10:05:54 2007 Koichi Sasada <ko1@atdot.net>
14364 * ruby.c (set_arg0): fix breaking environ bugs.
14366 Fri Nov 9 07:26:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14368 * random.c: update MT URL.[ruby-core:13305].
14370 Thu Nov 8 17:09:55 2007 David Flanagan <davidflanagan@ruby-lang.org>
14372 * object.c: improve docs for Object.tap
14374 * ChangeLog: fix bogus dates on my previous entries
14376 Thu Nov 8 15:13:56 2007 David Flanagan <davidflanagan@ruby-lang.org>
14378 * parse.y: fix segfault with \x escapes in regexps
14379 delete unused #if 0 code regions from previous patch
14381 Thu Nov 8 12:12:10 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14383 * parse.y (parser_read_escape): remove C99/gcc-ism.
14385 Thu Nov 8 07:54:22 2007 David Flanagan <davidflanagan@ruby-lang.org>
14387 * parse.y: patch, based on Nobu's, work to support \u escapes
14388 also modifications for better coderange detection
14390 * test/ruby/test_unicode_escapes.rb: test cases
14392 * test/ruby/test_mixed_unicode_escapes.rb: mixed encoding test cases
14394 Thu Nov 8 07:14:37 2007 David Flanagan <davidflanagan@ruby-lang.org>
14396 * parse.y (rb_intern3): commented out broken code that prevented
14397 correct interning of multi-byte symbols. Without this patch
14398 :x==:x is false when x is a multi-byte character.
14400 Thu Nov 8 07:04:31 2007 David Flanagan <davidflanagan@ruby-lang.org>
14402 * string.c (tr_setup_table, tr_trans): fix test failures
14403 in test/ruby/test_string.rb
14405 Wed Nov 7 15:07:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14407 * enum.c (enum_each_with_index): make different arrays at each
14408 iteration. [ruby-dev:32181]
14410 Wed Nov 7 05:17:24 2007 David Flanagan <davidflanagan@ruby-lang.org>
14412 * eval.c: fix typo in invoke_method documentation
14414 Wed Nov 7 03:52:26 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14416 * array.c (rb_ary_product): core dumped with non array arguments.
14417 a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32180]
14419 Wed Nov 7 03:32:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14421 * lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for
14422 nkf conversion. a patch from <moonwolf AT moonwolf.com>.
14425 Wed Nov 7 02:59:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14427 * array.c (rb_ary_each_index): should return meaningful value.
14429 Tue Nov 6 16:37:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14431 * eval_load.c (loaded_feature_path): need to expand relative paths.
14433 * eval_load.c (rb_feature_p): check if the feature is loading with
14434 load path. [ruby-dev:31932]
14436 * eval_load.c (load_lock): check the result of barrier waiting.
14438 * thread.c (rb_barrier_wait): check if owned by the current thread.
14440 * thread.c (rb_barrier_release): ditto.
14442 Mon Nov 5 08:01:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14444 * eval.c (Init_eval): move #send to Kernel module from BasicObject.
14446 Mon Nov 5 05:17:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14448 * lib/optparse.rb (OptionParser::Switch::summarize): fix for long form
14449 option with very long argument. a patch from Kobayashi Noritada
14450 <nori1 AT dolphin.c.u-tokyo.ac.jp> in [ruby-list:44179].
14452 Mon Nov 5 01:20:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14454 * parse.y (call_args): remove "parenthesize argument(s) for future
14455 version" warning. when I added this warning, I had a plan to
14456 reimplement the parser that is simpler than the current one.
14457 since we abandoned the plan, warning no longer required.
14459 Mon Nov 5 01:02:56 2007 Minero Aoki <aamine@loveruby.net>
14461 * lib/net/http.rb (HTTPHeader#initialize): provide default
14462 User-Agent to fix 500 error on some corrupted HTTP servers.
14465 Mon Nov 5 00:32:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14467 * eval.c (rb_f_send): allow send/__send__ to call methods of all
14468 visibility again. we no longer provide __send, __send!.
14470 * eval.c (rb_invoke_method): new method to honor private
14471 visibility. if it's invoked in a function call style, it calls
14472 private methods as well (previous 1.9 send behavior).
14474 Mon Nov 5 00:24:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14476 * win32/Makefile.sub: vendor_ruby support.
14478 * configure.in (RUBY_LIB): duplicated.
14480 Mon Nov 5 00:01:33 2007 Tanaka Akira <akr@fsij.org>
14482 * re.c (rb_reg_quote): quote \v as well.
14484 Sun Nov 4 23:51:59 2007 Tanaka Akira <akr@fsij.org>
14486 * re.c (rb_reg_initialize_m): use StringValuePtr instead of
14487 StringValueCStr because \0 exists when Regexp.new("\0").
14489 Sun Nov 4 08:11:19 2007 Tanaka Akira <akr@fsij.org>
14491 * gc.c (count_objects): count TOTAL.
14493 Sun Nov 4 03:58:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14495 * string.c (tr_setup_table): use C array for characters that fit
14496 in a byte to gain performance.
14498 * string.c (rb_str_delete_bang): ditto.
14500 * string.c (rb_str_squeeze_bang): ditto.
14502 * string.c (rb_str_count): ditto.
14504 * string.c (tr_trans): ditto.
14506 Sun Nov 4 00:06:40 2007 Tanaka Akira <akr@fsij.org>
14508 * gc.c (count_objects): ObjectSpace.count_objects implemented.
14511 Sat Nov 3 22:49:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14513 * hash.c (rb_hash_each_pair): make Hash#each to be alias to
14514 Hash#each_pair for compatibility and clarity.
14516 * hash.c (env_each_pair): ditto.
14518 Sat Nov 3 22:41:05 2007 Tanaka Akira <akr@fsij.org>
14520 * configure.in: --with-vendor-hdrdir implemented.
14522 * lib/mkmf.rb: check --vendor argument.
14524 * README.EXT: explain --vendor option for extconf.rb
14526 * README.EXT.ja: ditto.
14528 Sat Nov 3 20:30:48 2007 Tanaka Akira <akr@fsij.org>
14530 * configure.in: --with-vendordir implemented.
14532 * mkconfig.rb: add config to vendorlibdir and vendorarchdir.
14534 * instruby.rb: make vendor library directories.
14536 * ruby.c: insert vendor library directories into load path.
14538 Fri Nov 2 20:55:49 2007 Kouhei Sutou <kou@cozmixng.org>
14540 * lib/rss/content.rb, lib/rss/content/, lib/rss/maker/content.rb,
14541 test/rss/test_content.rb, test/rss/test_maker_content.rb,
14542 test/rss/rss-testcase.rb (RSS::TestCase): supported
14543 content:encoded with RSS 2.0.
14544 Suggested by Sam Lown. Thanks.
14546 Fri Nov 2 20:47:04 2007 Kouhei Sutou <kou@cozmixng.org>
14548 * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.
14550 Thu Nov 1 21:56:45 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14552 * error.c (Init_Exception): make NameError to be subclass of
14553 StandardError again.
14555 * error.c (Init_Exception): make SecurityError to be subclass of
14556 Exception, since it's too important to be handled implicitly.
14558 Thu Nov 1 14:51:39 2007 David Flanagan <davidflanagan@ruby-lang.org>
14559 * enum.c (take_while_i, drop_while_i) add RTEST to handle nil return
14561 Thu Nov 1 02:12:50 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14563 * common.mk (prereq): update the path of prelude.c.
14565 * common.mk (prelude.c): rollback a part of r13675, because it is not
14566 documented and causes build error.
14568 Thu Nov 1 01:52:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14570 * enum.c (enum_drop): fix typo.
14572 Thu Nov 1 01:51:01 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14574 * vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.
14576 Thu Nov 1 00:46:30 2007 NAKAMURA Usaku <usa@ruby-lang.org>
14578 * win32/configure.bat, setup.mak: now can recognize OS even if
14579 the ``--target'' option of configure is omitted.
14581 * win32/README.win32: update the descriptions about compiler.
14583 Wed Oct 31 03:13:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14585 * enum.c (enum_take_while): separate with-block form.
14587 * enum.c (drop_while_i): ditto.
14589 * enum.c (enum_butfirst): abandon butfirst method. reverted.
14591 Tue Oct 30 10:03:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14593 * enum.c (enum_butfirst): add a new method to iterates over
14594 elements but first n. RDoc need to be updated.
14596 * enumerator.c (Init_Enumerator): remove unnecessary symbol
14599 Mon Oct 29 18:42:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14601 * parse.y (bvar): block-local variable can shadow outer variable.
14604 Mon Oct 29 17:58:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14606 * string.c (rb_str_substr): performance improvement. [ruby-dev:31806]
14608 Mon Oct 29 17:20:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14610 * encoding.c (rb_enc_replicate): new function to replicate encoding.
14612 * encoding.c (enc_based_encoding): Encoding#base_encoding returns
14613 based encoding of replica.
14615 Mon Oct 29 17:18:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14617 * encoding.c (rb_enc_compatible): ASCII encoding is compatible with
14618 ASCII-compatible encoding, even for non-string objects.
14620 Sun Oct 28 21:50:02 2007 Tanaka Akira <akr@fsij.org>
14622 * lib/open-uri.rb: :redirect option implemented to disable redirects.
14623 (OpenURI::HTTPRedirect): new exception class for redirection.
14625 Fri Oct 26 17:38:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14627 * numeric.c (int_chr): take an optional encoding parameter.
14630 Fri Oct 26 17:14:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14632 * numeric.c (fix_pow): returns 1.0 for 0**0.0.
14634 * numeric.c (fix_pow): returns infinity for 0**-1. [ruby-dev:32084]
14636 Fri Oct 26 15:00:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14638 * misc/ruby-style.el (ruby-style-{case,label}-indent): adjust for
14639 labels inside switch block.
14641 Fri Oct 26 05:48:57 2007 David Flanagan <davidflanagan@ruby-lang.org>
14642 * array.c: raise IndexError for negative length in rb_ary_fill
14644 Wed Oct 25 07:12:03 2007 James Edward Gray II <jeg2@ruby-lang.org>
14646 * lib/net/telnet.rb (Net::Telnet#login): Allowing "passphrase" in
14647 addition to "password" for Telnet login prompts. [ruby-Bugs-10746]
14649 Wed Oct 25 06:34:11 2007 James Edward Gray II <jeg2@ruby-lang.org>
14651 * lib/net/telnet.rb (Net::Telnet#login): Making the password prompt
14652 pattern case insensitive. [ruby-Bugs-10746]
14654 Fri Oct 26 04:21:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14656 * lib/net/pop.rb (Net::POP3::do_start): type fixed. a patch from
14657 Dan Zwell <dzwell AT zwell.net> in [ruby-core:12941].
14659 Fri Oct 26 01:48:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14661 * array.c (rb_ary_assoc): check and convert inner arrays (assocs)
14664 * hash.c (rb_hash_s_create): check and convert argument hash
14667 * hash.c (rb_hash_s_create): Hash#[] now takes assocs as source of
14670 Thu Oct 25 16:46:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14672 * parse.y (parser_yylex): dot at the head of the line denote line
14673 continuation from previous one to support fluent interface.
14676 * misc/ruby-mode.el (ruby-calculate-indent): support fluent dot.
14678 Thu Oct 25 14:19:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14680 * io.c (rb_io_tell, rb_io_seek): check errno too. [ruby-dev:32093]
14682 Thu Oct 25 13:59:53 2007 David Flanagan <davidflanagan@ruby-lang.org>
14684 * parse.y (parser_tokspace): increment tokidx
14685 fixes test failure at [test/ruby/test_stringchar.rb:72]
14687 Thu Oct 25 09:49:49 2007 akira yamada <akira@ruby-lang.org>
14689 * lib/uri.rb, lib/uri/ldaps.rb: added LDAPS
14690 scheme. [ruby-dev:31896]
14692 Wed Oct 25 06:23:14 2007 James Edward Gray II <jeg2@ruby-lang.org>
14694 * lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug that
14695 caused time zone conversion to fail for some ISO 8601 date formats.
14698 Wed Oct 25 04:59:28 2007 James Edward Gray II <jeg2@ruby-lang.org>
14700 * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly start
14701 the HTTP connection to support keepalive requests. [ruby-Bugs-9353]
14703 Wed Oct 25 04:46:53 2007 James Edward Gray II <jeg2@ruby-lang.org>
14705 * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the error
14706 message for Content-Type check failures. [ruby-core:12163]
14708 Wed Oct 25 03:45:08 2007 James Edward Gray II <jeg2@ruby-lang.org>
14710 * lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type):
14711 Making Content-Type checks case insensitive. [ruby-Bugs-3367]
14713 Wed Oct 24 17:09:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14715 * parse.y (parser_tokspace): make space in token buffer.
14717 * parse.y (parser_yylex): fix encoding of single character literal.
14719 Tue Oct 23 13:44:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14721 * parse.y (call_args2): nd_head of NODE_BLOCK_PASS should be a list.
14724 Tue Oct 23 10:42:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14726 * ruby.c (process_options): encoding set by command line option takes
14727 priority over the encoding in the source, as the primary encoding.
14729 Mon Oct 22 19:24:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14731 * ruby.c (proc_options): allow space after -E (encoding) option.
14733 Mon Oct 22 11:03:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14735 * encoding.c (enc_check_encoding): returns index now.
14737 * encoding.c (rb_enc_compatible): check if two objects have compatible
14740 * encoding.c (enc_compatible_p): added Encoding.compatible?.
14742 * include/ruby/encoding.h (rb_enc_compatible): prototype.
14744 Sun Oct 21 18:29:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14746 * encoding.c (rb_enc_default, rb_enc_primary): return pointers to
14747 rb_encoding of default and primary respectively. [ruby-core:12795]
14749 * encoding.c (set_primary_encoding): removed primary_encoding setter.
14751 Sat Oct 20 13:17:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14753 * enum.c (enum_cycle): hide temporary array from ObjectSpace.
14756 Sat Oct 20 11:49:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14758 * file.c (rb_get_path): returns frozen string.
14760 * file.c (rb_file_s_chown, rb_file_s_lchown): use uid_t and gid_t.
14762 Fri Oct 19 20:08:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14764 * encoding.c (rb_id_encoding): returns ID "encoding".
14766 * marshal.c (w_encoding): dump encoding name.
14768 * marshal.c (r_ivar): load encoding.
14770 Fri Oct 19 16:41:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14772 * parse.y (parser_regx_options, reg_compile_gen): relaxened encoding
14775 * re.c (rb_reg_initialize): always set encoding of Regexp.
14777 * re.c (rb_reg_initialize_str): fix encoding for non 7bit-clean
14780 * re.c (rb_reg_initialize_m): use ascii encoding for 'n' option.
14782 Fri Oct 19 11:09:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14784 * ruby.c (process_options): set primary encoding from the parser
14785 always. [ruby-core:12758]
14787 * ruby.c (load_file): should not discard the parser parameter.
14789 Fri Oct 19 10:55:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14791 * range.c (range_last): removed unused variables.
14793 Thu Oct 18 17:08:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14795 * enum.c (enum_find_index): update RDoc. a patch from David Flanagan
14796 <david AT davidflanagan.com> in [ruby-core:12710].
14798 * enum.c (enum_take, enum_drop): ditto.
14800 * enum.c (enum_cycle): should not cause infinite loop for empty
14801 arrays. [ruby-core:12710]
14803 * range.c (Init_Range): typo fixed.
14805 Thu Oct 18 16:39:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14807 * lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): more
14808 duck typed. better performance on JRuby.
14809 http://headius.blogspot.com/2007/10/another-performance-discovery-rexml.html
14811 Thu Oct 18 09:33:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14813 * range.c (range_first): takes first n element if argument is
14814 given. [ruby-core:12697]
14816 * range.c (range_last): returns last n elements if argument is
14819 * array.c (rb_ary_subseq, rb_ary_last): export.
14821 Wed Oct 17 17:39:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14823 * ruby.c (proc_options): fixed reversed condition. [ruby-core:12722]
14825 Wed Oct 17 13:54:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14827 * re.c (rb_reg_s_union): the last check was not complete.
14829 Wed Oct 17 11:30:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14831 * encoding.c (rb_enc_from_encoding, rb_enc_register): associate index
14834 * encoding.c (enc_capable): Encoding objects are encoding capable.
14836 * re.c (rb_reg_s_union): check if encoding matching by exact encoding
14839 Wed Oct 17 06:18:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14841 * encoding.c (rb_enc_alias, rb_enc_find_index): changed
14842 enc_table_alias to a name-to-index hash.
14844 * encoding.c (rb_enc_init): use upper case names for aliases to use as
14847 * encoding.c (enc_find): allow symbols.
14849 * encoding.c (Init_Encoding): define encoding constants.
14851 * st.c (strcasehash): fix wrong code range condition.
14853 Wed Oct 17 05:07:18 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14855 * encoding.c (rb_primary_encoding): added Encoding.primary_encoding.
14857 * parse.y (rb_parser_encoding): added.
14859 * ruby.c (proc_options): added -E and --encoding options.
14861 * ruby.c (process_options): set primary encoding from command line
14862 option if set, or source encoding.
14864 * include/ruby/encoding.h (rb_enc_from_encoding,
14865 rb_get_primary_encoding, rb_set_primary_encoding): prototypes.
14867 * include/ruby/node.h (rb_parser_encoding): prototype.
14869 Wed Oct 17 03:37:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14871 * re.c (rb_reg_desc): set encoding.
14873 * re.c (rb_reg_s_union): check encodings.
14875 * enc/utf8.c (utf8_code_to_mbclen): 0xfe and 0xff are valid Unicode to
14876 be encoded to 2bytes in UTF-8. [ruby-core:12700]
14878 Wed Oct 17 02:50:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14880 * string.c (rb_str_ord): use encoding.
14882 Wed Oct 17 01:57:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14884 * re.c (rb_reg_initialize_m): allow binary encoding option.
14887 Tue Oct 16 19:48:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14889 * re.c (rb_reg_s_union): check for encoding of original object.
14891 Tue Oct 16 18:28:51 2007 Tanaka Akira <akr@fsij.org>
14893 * debug.c: use enum for constants for gdb if possible.
14895 Tue Oct 16 18:20:10 2007 Tanaka Akira <akr@fsij.org>
14897 * ruby.c, debug.c: move debug enum and constants to debug.c.
14899 Tue Oct 16 18:16:15 2007 Tanaka Akira <akr@fsij.org>
14901 * ruby.c (RUBY_ENCODING_SHIFT): added as enum.
14903 * .gdbinit (rp): show encoding and coderange for strings.
14905 Tue Oct 16 14:48:38 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14907 * parse.y (parser_regx_options): check if regexp encoding option
14908 matches to current encoding.
14910 * re.c (char_to_option, rb_char_to_option_kcode): 'n' is not kcode
14913 * re.c (rb_reg_to_s, rb_reg_error_desc): copy encoding rather than
14914 append as an option.
14916 * re.c (make_regexp, rb_reg_prepare_re): use encoding of Regexp and
14917 String instead of kcode.
14919 * re.c (rb_reg_initialize): set fixed option if none is set.
14921 * re.c (rb_reg_regcomp): ditto.
14923 * re.c (rb_reg_equal): check if encodings are equal.
14925 * re.c (rb_reg_initialize_m): encoding option is obsolete.
14927 * re.c (rb_kcode, rb_get_kcode, rb_set_kcode): removed.
14929 * re.c (Init_Regexp): removed Regexp#kcode method.
14931 * ruby.c (proc_options): allow long encoding name.
14933 Tue Oct 16 14:03:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14935 * re.c (rb_reg_s_union): encoding of all regexp objects should
14936 match. [ruby-dev:32076]
14938 Tue Oct 16 13:49:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14940 * encoding.c (enc_to_s): rename function.
14942 Tue Oct 16 13:25:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14944 * string.c (rb_str_new4): should copy encoding. a patch from NARUSE,
14945 Yui <naruse AT airemix.com>. [ruby-dev:32076]
14947 Tue Oct 16 01:31:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14949 * enum.c (enum_inject): RDoc update. a patch from David Flanagan
14950 <david AT davidflanagan.com> in [ruby-core:12710].
14952 Tue Oct 16 01:25:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
14954 * encoding.c (Init_Encoding): define #to_s to show encoding name
14955 in to_s representation as well as #inspect.
14957 Mon Oct 15 13:24:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14959 * numeric.c (flo_round): should be number but not rounding factor.
14962 Mon Oct 15 11:45:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14964 * marshal.c (r_bytes0): refined length check. [ruby-dev:32059]
14966 Mon Oct 15 10:24:19 2007 Tanaka Akira <akr@fsij.org>
14968 * process.c (pst_to_s): returns a string such as "pid 10220 exit 1"
14969 instead of "256". [ruby-dev:32053]
14970 (pst_inspect): change format
14971 "#<Process::Status: pid=10220,exited(1)>" to
14972 "#<Process::Status: pid 10220 exit 1>".
14974 Mon Oct 15 09:58:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14976 * marshal.c (r_bytes0): check if source has enough data.
14979 Mon Oct 15 01:15:09 2007 Tanaka Akira <akr@fsij.org>
14981 * ext/socket/socket.c (s_accept_nonblock): make accepted fd
14982 nonblocking. [ruby-talk:274079]
14984 Sun Oct 14 17:31:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
14986 * encoding.c (rb_obj_encoding): rdoc update. a patch from David
14987 Flanagan <david AT davidflanagan.com>. [ruby-core:12664]
14989 * encoding.c (enc_dump, enc_load): marshaling feature. a patch from
14990 David Flanagan. [ruby-core:12665]
14992 * encoding.c (Init_Encoding): undefine allocator of Encoding.
14993 [ruby-core:12665], [ruby-core:12666]
14995 * test/ruby/test_encoding.rb: tests for Encoding from David Flanagan
14998 Sun Oct 14 11:09:09 2007 Tanaka Akira <akr@fsij.org>
15000 * lib/pp.rb (PP::PPMethods#pp_hash): don't sort keys because hash is
15002 (ENV.pretty_print): call pp_hash with sorted hash.
15004 Sun Oct 14 04:08:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15006 * configure.in (AC_SYS_LARGEFILE): keep results also in command
15007 options, to vail out of mismatch. [ruby-list:44114]
15009 * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS.
15011 Sun Oct 14 03:55:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15013 * win32/mkexports.rb: deal with __fastcall name decorations.
15016 Sun Oct 14 02:20:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15018 * encoding.c (rb_cEncoding): new Encoding class.
15020 * encoding.c (rb_to_encoding, rb_to_encoding_index): helper functions.
15022 * encoding.c (rb_obj_encoding): return Encoding object now.
15024 * gc.c (garbage_collect): mark Encoding objects.
15026 * inits.c (rb_call_inits): call Init_Encoding.
15028 * string.c (rb_str_force_encoding): accept Encoding object as well as
15031 * include/ruby/encoding.h (rb_to_encoding_index, rb_to_encoding):
15034 Sun Oct 14 01:03:30 2007 Tanaka Akira <akr@fsij.org>
15036 * lib/open-uri.rb (OpenURI.open_http): fix :ssl_ca_cert option.
15038 Sat Oct 13 21:23:21 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
15040 * ext/win32ole/win32ole.c (foletype_s_ole_classes,
15041 foletype_s_typelibs): refactoring.
15043 * test/win32ole/test_win32ole_type.rb: add some test.
15045 * ext/win32ole/win32ole.c (Init_win32ole): change method name
15046 WIN32OLE_TYPELIB.ole_types from WIN32OLE_TYPELIB.ole_classes.
15048 * test/win32ole/test_win32ole_typelib.rb: ditto.
15050 * test/win32ole/test_folderitem2_invokeverb.rb: check create
15051 shortcut string more strictly (This test is invoked in Japanese
15052 Windows environment).
15054 Sat Oct 13 09:11:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15056 * parse.y (set_file_encoding): case-insensitive search, a patch from
15057 David Flanagan <david AT davidflanagan.com> [ruby-core:12629]
15059 Sat Oct 13 09:02:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15061 * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]
15063 Sat Oct 13 00:17:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15065 * lib/rexml/document.rb (REXML::Document::write): leaky
15066 modification trans -> transitive. [ruby-dev:32040]
15068 Sat Oct 13 00:00:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15070 * parse.y: encoding specifier should work if the line matches
15071 /coding[:=] ?/, a la Python PEP-263, so that VIM comments like
15072 "# vim: set fileencoding=<encoding name>" should be recognized.
15074 Fri Oct 12 15:04:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15076 * parse.y (magic_comments): add "encoding" as same as "coding".
15078 * parse.y (set_file_encoding): special file encoding handling.
15080 * parse.y (parser_yylex): ditto.
15082 Fri Oct 12 12:44:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15084 * array.c (rb_ary_combination): fixed memory corruption due to too
15085 small memory allocation
15087 * array.c (rb_ary_product): accessing out of memory bounds.
15090 Fri Oct 12 11:22:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15092 * re.c (match_values_at): make #select to be alias to #values_at
15093 to adapt RDoc description. [ruby-core:12588]
15095 Thu Oct 11 21:10:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15097 * include/ruby/node.h (NOEX_LOCAL): remove unused local visibility.
15099 * class.c (ins_methods_push): ditto.
15101 * class.c (rb_class_local_methods): method removed.
15103 Thu Oct 11 14:29:31 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15105 * */Makefile.sub (COMMON_MACROS): workaround for old SDK's bug.
15108 Thu Oct 11 06:35:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15110 * Makefile.in, */Makefile.sub (VPATH): add enc directory.
15112 * common.mk (ENCOBJS): encoding objects.
15114 * enc: directory for encodings.
15116 Thu Oct 11 00:04:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15118 * include/ruby/oniguruma.h (OnigEncodingTypeST): add OnigEncoding
15119 parameter to every function members.
15121 * include/ruby/oniguruma.h (OnigEncodingTypeST): add auxiliary
15122 data member to provide user defined data for an encoding.
15124 Wed Oct 10 23:32:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15126 * re.c (rb_reg_s_quote): no longer takes optional second argument
15127 that has never been documented.
15129 Wed Oct 10 15:39:04 2007 Tanaka Akira <akr@fsij.org>
15131 * encoding.c (rb_enc_init): don't alias iso-8859-1 to ascii.
15133 * ascii.c (OnigEncodingASCII): change the name US-ASCII to ASCII-8BIT.
15135 Wed Oct 10 14:31:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15137 * string.c (rb_enc_str_coderange): fixed check for non-ascii.
15139 Tue Oct 9 21:35:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15141 * array.c (rb_ary_permutation, rb_ary_combination): missing type
15144 * array.c (rb_ary_permutation): used buffer should be t1.
15146 * array.c (rb_ary_permutation): use frozen shared hidden array.
15149 Tue Oct 9 16:58:10 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15151 * array.c: remove to_a completely.
15153 * array.c (tmpbuf): keep DRY to clear klass of temporary objects.
15155 Tue Oct 9 16:33:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15157 * array.c (rb_ary_permutation, rb_ary_combination, rb_ary_product):
15158 hide internal buffer objects. [ruby-dev:31982]
15160 Tue Oct 9 16:00:32 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15162 * parse.y (parser_read_escape, parser_tokadd_escape): check code range.
15165 Tue Oct 9 15:40:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15167 * parse.y (STR_NEW3): check for if single byte sequence.
15169 Mon Oct 8 20:06:29 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
15171 * lib/net/imap.rb, lib/net/smtp.rb, lib/net/pop.rb: hostname should
15172 be verified against server's identity as presented in the server's
15173 certificate. [ruby-dev:31960]
15175 * ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto.
15177 Sun Oct 7 22:37:47 2007 Kouhei Sutou <kou@cozmixng.org>
15179 * test/rss/test_taxonomy.rb, test/rss/test_parser_1.0.rb,
15180 test/rss/test_image.rb, test/rss/rss-testcase.rb: ensured
15181 declaring XML namespaces.
15183 Sun Oct 7 22:00:01 2007 Tanaka Akira <akr@fsij.org>
15185 * include/ruby/node.h: make node flags as VALUE type.
15186 enum ruby_node_flags removed.
15188 * ruby.c: define RUBY_NODE_* as const for gdb.
15190 Sun Oct 7 18:57:12 2007 Tanaka Akira <akr@fsij.org>
15192 * include/ruby/ruby.h: enum ruby_value_flags removed. [ruby-dev:31959]
15194 * ruby.c: define RUBY_FL_* as const VALUE for gdb.
15196 Sun Oct 7 17:50:14 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
15198 * lib/net/http.rb: remove enable_post_connection_check flag.
15200 * lib/open-uri.rb: ditto.
15202 Sun Oct 7 15:48:40 2007 Koichi Sasada <ko1@atdot.net>
15204 * insns.def (opt_eq): fix to use rb_str_equal().
15206 Sat Oct 6 23:14:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15208 * string.c (rb_str_to_i): update RDoc since base can be any value
15209 between 2 and 36. [ruby-talk:272879]
15211 Sat Oct 6 16:24:02 2007 Koichi Sasada <ko1@atdot.net>
15213 * cont.c (cont_free): check Fiber or Continuation.
15215 * bootstraptest/test_knownbug.rb: remove a fixed test.
15217 Sat Oct 6 14:56:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15219 * encoding.c (rb_enc_register): returns new index or -1 if failed.
15221 * encoding.c (rb_enc_alias): check if original name is registered.
15223 * encoding.c (rb_enc_init): register in same order as kcode options in
15224 re.c. added new aliases.
15226 * string.c (rb_str_force_encoding): check if valid encoding name.
15228 Sat Oct 6 14:32:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15230 * insns.def (opt_eq): get rid of gcc bug.
15232 Sat Oct 6 02:34:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15234 * include/ruby/defines.h: no longer provide DEFAULT_KCODE.
15236 Fri Oct 5 21:24:59 2007 Tanaka Akira <akr@fsij.org>
15238 * re.c (rb_reg_s_union_m): Regexp.union accepts single argument which
15239 is an array of patterns. [ruby-list:44084]
15241 Fri Oct 5 16:42:27 2007 Tanaka Akira <akr@fsij.org>
15243 * bootstraptest/runner.rb (assert_not_match): new method.
15245 Fri Oct 5 16:15:52 2007 Akinori MUSHA <knu@iDaemons.org>
15247 * configure.in: Turn on --enable-pthread by default for FreeBSD
15248 5.2.1-RELEASE and later, and remove pthread support for older
15249 versions which has never worked perfectly.
15251 Fri Oct 5 16:11:50 2007 Akinori MUSHA <knu@iDaemons.org>
15253 * time.c (time_to_s): Fix documentation. Time format changed.
15255 Fri Oct 5 04:02:39 2007 Akinori MUSHA <knu@iDaemons.org>
15257 * lib/ipaddr.rb (in_addr, in6_addr, addr_mask): Make some minor
15260 Fri Oct 5 03:25:51 2007 Akinori MUSHA <knu@iDaemons.org>
15262 * lib/ipaddr.rb (<=>): Implement IPAddr#<=> and make IPAddr
15265 * lib/ipaddr.rb (succ): Implement IPAddr#succ. You can now create
15266 a range between two IPAddr's, which (Range) object is
15269 * lib/ipaddr.rb (to_range): A new method to create a Range object
15270 for the (network) address.
15272 Fri Oct 5 03:14:45 2007 Akinori MUSHA <knu@iDaemons.org>
15274 * lib/ipaddr.rb (coerce_other): Support type coercion and make &,
15275 |, == and include? accept a string or an integer instead of an
15276 IPAddr object as the argument.
15278 * lib/ipaddr.rb (initialize): Give better error messages.
15280 * lib/ipaddr.rb: Improve documentation.
15282 Thu Oct 4 20:45:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15284 * process.c (Init_process): win32 has our own WNOHANG definition, so
15285 remove unnecessary #ifdef guard.
15287 Thu Oct 4 20:17:19 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15289 * array.c (rb_ary_permutation, rb_ary_product): support non C99
15292 Thu Oct 4 17:33:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15294 * re.c (kcode_setter): Perl-ish global variable `$=' no longer
15297 * io.c (Init_IO): remove obsolete variables: $defout, $deferr.
15299 * re.c (Init_Regexp): remove obsolete const alias: MatchingData.
15301 * time.c (Init_Time): remove obsolete Time::times.
15303 * re.c (ignorecase_setter): change warning message.
15305 * re.c (ignorecase_getter): now gives warning.
15307 * string.c (rb_str_cmp_m): update RDoc document.
15309 * re.c (kcode_setter): restore erroneously removed setter.
15311 Thu Oct 4 16:28:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15313 * encoding.c (rb_obj_encoding): returns encoding of the given object.
15315 * parse.y (reg_compile_gen): copy encoding from source string if
15318 * re.c (Init_Regexp): new method Regexp#encoding.
15320 * string.c (str_encoding): moved to encoding.c
15322 Thu Oct 4 15:49:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15324 * array.c (rb_ary_permutation): remove C99 dependency.
15327 * array.c (rb_ary_product): ditto.
15329 Wed Oct 3 23:37:17 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15331 * ext/nkf/nkf.c, bin/ri, bin/irb: fixed typos in doc and comments.
15332 a patch from Eugene Ossintsev <eugoss AT gmail.com>.
15335 Wed Oct 3 17:56:22 2007 Koichi Sasada <ko1@atdot.net>
15337 * benchmark/driver.rb: enable specify label to executable.
15338 (-e "ruby1::/path/to/ruby1; ruby2::/path/to/ruby2; ...")
15340 Wed Oct 3 16:58:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15342 * parse.y (parser_str_new, parser_yylex, rb_intern3): set code-range
15345 * parse.y (parser_tokadd_string): check code-range.
15347 * parse.y (parser_parse_string, parser_here_document): ditto.
15349 * parse.y (parser_set_encode): check if valid encoding.
15351 Wed Oct 3 15:43:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15353 * variable.c (rb_cvar_set): check whether class variable is
15354 defined in superclasses. root classes have higher priority.
15355 removes lower class variable entry from IV_TBL (if it's defined
15356 in classes, not modules).
15358 * variable.c (rb_cvar_get): ditto.
15360 Wed Oct 3 10:06:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15362 * ruby.c (ruby_process_options): push frame with program name.
15365 Tue Oct 2 20:16:55 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15367 * win32/win32.c (init_env): refactoring. remove unused code.
15369 Tue Oct 2 12:30:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15371 * array.c (rb_ary_product): generalized product, now takes
15372 arbitrary number of arrays. a patch from David Flanagan
15373 <david AT davidflanagan.com>. [ruby-core:12346]
15375 Tue Oct 2 08:25:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15377 * array.c (rb_ary_permutation): implementation contributed from
15378 David Flanagan. [ruby-core:12344]
15380 * array.c (rb_ary_combination): RDoc update to clarify. a patch
15381 from David Flanagan. [ruby-core:12344]
15383 * array.c (rb_ary_permutation): small dirty hack by Matz to avoid
15386 Tue Oct 2 07:01:05 2007 Koichi Sasada <ko1@atdot.net>
15388 * proc.c (proc_dup): proc->block.proc should be self.
15390 * bootstraptest/test_knownbug.rb, test_method.rb:
15393 Mon Oct 1 16:17:44 2007 Tanaka Akira <akr@fsij.org>
15395 * bootstraptest/test_method.rb: use assert_normal_exit to test
15398 Mon Oct 1 15:57:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15400 * gc.c (id2ref): skip ICLASS.
15402 Mon Oct 1 15:29:35 2007 Tanaka Akira <akr@fsij.org>
15404 * bootstraptest/runner.rb (assert_normal_exit): use `` instead of
15407 Mon Oct 1 15:17:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15409 * gc.c (id2ref): T_VALUES is less than T_BLOCK. [ruby-dev:31911]
15411 Mon Oct 1 10:58:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15413 * ruby.c (require_libraries): use require method instead of calling
15414 rb_require directly. [ruby-dev:31322]
15416 Mon Oct 1 10:52:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15418 * eval.c (ruby_options), ruby.c (proc_options, process_options): not
15419 call exit(2) directly. [ruby-dev:31912]
15421 * eval.c (ruby_run_node): deal with direct exit code.
15423 Sun Sep 30 17:12:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15425 * string.c (rb_str_append): always set encoding, and coderange
15428 * include/ruby/encoding.h (ENC_CODERANGE_SET): fixed a bug not to
15431 Sun Sep 30 11:52:11 2007 Tanaka Akira <akr@fsij.org>
15433 * bootstraptest/runner.rb (pretty): don't show beginning empty line.
15435 Sun Sep 30 11:32:34 2007 Tanaka Akira <akr@fsij.org>
15437 * numeric.c: use #ifdef for test LONG_LONG_VALUE.
15439 Sun Sep 30 04:30:55 2007 Tanaka Akira <akr@fsij.org>
15441 * bignum.c: use SIZEOF_LONG instead of SIZEOF_ULONG which is not
15444 Sun Sep 30 04:03:43 2007 Tanaka Akira <akr@fsij.org>
15446 * re.c (Init_Regexp): test DEFAULT_KCODE in C code because
15447 KCODE_EUC, etc. are enum.
15449 Sun Sep 30 00:55:40 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15451 * variable.c (obj_ivar_each): get rid of warning.
15453 Sat Sep 29 17:45:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15455 * main.c (main): use platform-independent per-process initialization.
15458 * ruby.c (ruby_sysinit): new function for per-process initialization.
15460 * include/ruby/ruby.h (RUBY_GLOBAL_SETUP): toplevel setup declaration.
15462 * include/ruby/win32.h, win32/mkexports.rb: alias NtInitialize
15465 * win32/win32.c (rb_w32_sysinit): renamed from NtInitialize.
15467 Sat Sep 29 17:31:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15469 * array.c (rb_ary_combination): new method to give all combination
15470 of elements from an array. [ruby-list:42671]
15472 * array.c (rb_ary_product): a new method to get all combinations
15473 of elements from two arrays. can be extended to combinations of
15474 n-arrays, e.g. a.product(b,c,d). anyone volunteer?
15476 * array.c (rb_ary_permutation): empty function body to calculate
15477 permutations of array elements. need volunteer.
15479 Sat Sep 29 17:14:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15481 * marshal.c (r_leave): move proc invocation from r_entry() to
15482 avoid potential crash.
15484 Sat Sep 29 12:28:08 2007 Tanaka Akira <akr@fsij.org>
15486 * bootstraptest/runner.rb (assert_normal_exit): new method.
15488 * bootstraptest/test_knownbug.rb: add test for Marshal.load.
15490 Sat Sep 29 10:12:20 2007 Tanaka Akira <akr@fsij.org>
15492 * variable.c (rb_ivar_set): fix class instance variable.
15494 * object.c (rb_class_real): cl argument may be 0.
15496 Sat Sep 29 09:12:02 2007 Tanaka Akira <akr@fsij.org>
15498 * object.c (rb_class_real): use BUILTIN_TYPE instead of TYPE.
15499 access flags directly instead of FL_TEST.
15500 they are enough because cl argument is a class.
15502 Sat Sep 29 08:57:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15504 * include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
15506 Sat Sep 29 06:47:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15508 * ruby.c (struct cmdline_options): static variables packed.
15510 Sat Sep 29 05:29:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15512 * io.c (rb_io_fdopen): create IO object from fd.
15514 * parse.y (yycompile): use encoding of the source as default.
15516 * ruby.c (proc_options, load_file): ditto.
15518 Sat Sep 29 04:27:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15520 * encoding.c (rb_enc_alias): allow encodings multiple aliases.
15522 * encoding.c (rb_enc_find_index): search the encoding which has the
15523 given name and return its index if found, or -1.
15525 * st.c (type_strcasehash): case-insensitive string hash type.
15527 * string.c (rb_str_force_encoding): force encoding of self. this name
15528 comes from [ruby-dev:31894] by Martin Duerst. [ruby-dev:31744]
15530 * include/ruby/encoding.h (rb_enc_find_index, rb_enc_associate_index):
15533 * include/ruby/encoding.h (rb_enc_isctype): direct interface to ctype.
15535 * include/ruby/st.h (st_init_strcasetable): prototyped.
15537 Sat Sep 29 03:53:26 2007 Koichi Sasada <ko1@atdot.net>
15539 * cont.c: Thread local storage should be fiber local.
15541 * bootstraptest/test_knownbug.rb, test/ruby/test_fiber.rb:
15544 Fri Sep 28 23:15:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15546 * insnhelper.ci (vm_call_method): allow send! to call protected
15547 methods as well. [ruby-core:12280]
15549 Fri Sep 28 22:33:47 2007 Koichi Sasada <ko1@atdot.net>
15551 * benchmark/bm_so_fasta.rb: added.
15553 * benchmark/bm_so_k_nucleotide.rb: added.
15555 * benchmark/bm_so_reverse_complement.rb: added.
15557 * benchmark/make_fasta_output.rb: added.
15559 * benchmark/prepare_so_k_nucleotide.rb: added.
15561 * benchmark/prepare_so_reverse_complement.rb: added.
15563 Fri Sep 28 19:14:51 2007 Koichi Sasada <ko1@atdot.net>
15565 * benchmark/driver.rb: fix notations.
15567 * benchmark/bm_loop_whileloop.rb: ditto.
15569 * benchmark/bm_loop_whileloop2.rb: ditto.
15571 * benchmark/bm_app_uri.rb: added.
15573 * benchmark/bm_vm1_ivar_set.rb: ditto.
15575 * benchmark/bm_so_binary_trees.rb: added from Computer Language
15576 Benchmarks Game (http://shootout.alioth.debian.org/).
15578 * benchmark/bm_so_fannkuch.rb: ditto.
15580 * benchmark/bm_so_mandelbrot.rb: ditto.
15582 * benchmark/bm_so_meteor_contest.rb: ditto.
15584 * benchmark/bm_so_nbody.rb: ditto.
15586 * benchmark/bm_so_nsieve.rb: ditto.
15588 * benchmark/bm_so_nsieve_bits.rb: ditto.
15590 * benchmark/bm_so_partial_sums.rb: ditto.
15592 * benchmark/bm_so_pidigits.rb: ditto.
15594 * benchmark/bm_so_spectralnorm.rb: ditto.
15596 Fri Sep 28 16:22:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15598 * vm_core.h (rb_vm_struct): fix typo: bufferd -> buffered.
15600 Fri Sep 28 15:47:48 2007 Koichi Sasada <ko1@atdot.net>
15602 * benchmark/driver.rb: fix to output benchmark results
15603 to file "bmlog-#{Time.now.strftime('%Y%m%d-%H%M%S')}.#{$$}".
15605 * benchmark/bm_io_file_create.rb: remove useless codes.
15607 * benchmark/bm_vm2_eval.rb: added.
15609 Fri Sep 28 15:05:24 2007 Tanaka Akira <akr@fsij.org>
15611 * include/ruby/intern.h: export rb_ivar_foreach.
15613 * include/ruby/ruby.h: modify struct RObject and RClass for optimizing
15614 T_OBJECT space. [ruby-dev:31853]
15615 (ROBJECT_LEN, ROBJECT_PTR)
15616 (RCLASS_IV_TBL, RCLASS_M_TBL, RCLASS_SUPER, RCLASS_IV_INDEX_TBL)
15617 (RMODULE_IV_TBL, RMODULE_M_TBL, RMODULE_SUPER): abstract accessor
15620 * variable.c: support the modified RObject and RClass.
15628 * marshal.c: ditto.
15630 * eval_method.ci: use the abstract accessor.
15632 * insns.def: ditto.
15644 * insnhelper.ci: ditto.
15646 * ext/digest/digest.c: ditto.
15648 Fri Sep 28 13:20:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15650 * io.c (rb_io_getline_fast, rb_io_getline_1): set encoding to the
15651 result string, as well as getc.
15653 Fri Sep 28 12:51:42 2007 Koichi Sasada <ko1@atdot.net>
15655 * benchmark/bm_app_erb.rb: added.
15657 * benchmark/bm_io_file_(create|read|write).rb: added.
15659 Fri Sep 28 12:49:05 2007 Koichi Sasada <ko1@atdot.net>
15661 * benchmark/driver.rb: fix file selection algorithm.
15663 Fri Sep 28 02:05:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15665 * string.c (rb_str_comparable): need not to check asciicompat here.
15667 * encoding.c (rb_enc_check): ditto.
15669 * string.c (rb_enc_str_coderange): tuned a bit; no broken check.
15671 * encoding.c (rb_enc_check): new encoding comparison criteria.
15673 Thu Sep 27 17:36:28 2007 NAKAMURA Usaku <usa@ruby-lang.org>
15675 * win32/REAMDE.win32: follow recent changes.
15677 Thu Sep 27 16:01:53 2007 Koichi Sasada <ko1@atdot.net>
15679 * benchmark/driver.rb: fix to output some helpful messages.
15681 Thu Sep 27 15:44:51 2007 Koichi Sasada <ko1@atdot.net>
15683 * benchmark/driver.rb: added.
15685 * common.mk: fix to use above driver.
15687 * benchmark/prepare_so_count_words.rb: added.
15689 * benchmark/bm_so_count_words.rb: fix benchmark process.
15691 Thu Sep 27 15:42:34 2007 Koichi Sasada <ko1@atdot.net>
15693 * ext/fiber/fiber.c: modify prototype declaration.
15696 Thu Sep 27 09:42:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15698 * parse.y (strings, xstring, regexp, dsym): empty strings have
15701 Thu Sep 27 07:39:13 2007 Tanaka Akira <akr@fsij.org>
15703 * bootstraptest/runner.rb (assert_finish): new method.
15705 * bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using
15708 Thu Sep 27 04:46:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15710 * encoding.c (rb_enc_associate_index): deal with ASCII compatible
15713 * encoding.c (rb_enc_check): allow ASCII compatible strings.
15715 * parse.y (rb_intern_str): use ASCII encoding for ASCII string.
15717 * string.c (rb_enc_str_coderange): check for code-range.
15719 * string.c (rb_str_modify): clear code-range flags.
15721 * string.c (rb_str_hash, rb_str_eql): ASCII compatible strings are
15724 * include/ruby/encoding.h: added code-range flags.
15726 Thu Sep 27 04:40:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15728 * gc.c (rb_mark_set): new function to mark keys.
15730 * marshal.c (struct dump_arg, struct load_arg): added wrappers to mark
15731 data and compat_tbl entries. [ruby-dev:31870]
15733 Thu Sep 27 03:17:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15735 * process.c (rb_waitpid): no needs to poll. [ruby-dev:31871]
15737 Wed Sep 26 20:11:46 2007 Koichi Sasada <ko1@atdot.net>
15739 * bootstraptest/test_knownbug.rb: remove a fixed test.
15741 Wed Sep 26 20:00:12 2007 Koichi Sasada <ko1@atdot.net>
15743 * bootstraptest/test_knownbug.rb: move fixed tests.
15745 * bootstraptest/test_method.rb: ditto.
15747 * test/ruby/test_io.rb: ditto.
15749 Wed Sep 26 19:36:26 2007 Koichi Sasada <ko1@atdot.net>
15751 * eval.c (eval): fix to check stack overflow.
15754 * eval_intern.h, vm.h: move CHECK_STACK_OVERFLOW() macro.
15756 Wed Sep 26 19:27:11 2007 Koichi Sasada <ko1@atdot.net>
15758 * insnhelper.ci (vm_throw): fix to move increment point.
15761 Wed Sep 26 19:23:56 2007 Koichi Sasada <ko1@atdot.net>
15763 * cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146]
15765 * ext/fiber/fiber.c: enable Fiber#transfer.
15767 Wed Sep 26 18:38:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15769 * encoding.c (rb_enc_check): check for ASCII-compatibilities.
15771 * parse.y (parser_tokadd_string, parser_parse_string,
15772 parser_here_document, parser_yylex): set encoding to US-ASCII.
15774 * parse.y (rb_enc_symname_p): check if valid with encoding.
15776 * parse.y (rb_intern3): let symbols have encoding.
15778 * string.c (rb_str_hash): add encoding index.
15780 * string.c (rb_str_comparable, rb_str_equal, rb_str_eql): check if
15781 compatible encoding.
15783 * string.c (sym_inspect): made encoding aware.
15785 * insns.def (opt_eq): compare with encoding.
15787 * include/ruby/encoding.h (rb_enc_asciicompat): check if ASCII
15790 * include/ruby/encoding.h (rb_enc_get_index): added prototype.
15792 * include/ruby/intern.h (rb_str_comparable, rb_str_equal): ditto.
15794 Wed Sep 26 15:01:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15796 * eval_method.ci (rb_get_alloc_func): cast to suppress a warning.
15798 * eval_method.ci (remove_method): local variable to be initialized.
15800 Wed Sep 26 08:36:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15802 * Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as other
15803 objects. [ruby-Bugs-14228]
15805 Wed Sep 26 05:12:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15807 * parse.y (parser_yyerror): limit error message length.
15810 Tue Sep 25 15:11:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15812 * io.c (io_ungetc): reallocate internal buffer if pushing data
15813 excess capacity. [ruby-dev:31650]
15815 Tue Sep 25 13:43:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15817 * eval_method.ci (remove_method): should not remove undef place
15818 holder. [ruby-dev:31816], [ruby-dev:31817]
15820 Tue Sep 25 09:51:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15822 * eval.c (rb_longjmp): source file information may be NULL.
15825 * eval.c (ruby_finalize_0): clear trace_func before finalization.
15827 Mon Sep 24 22:36:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15829 * array.c (rb_ary_equal): should handle recursive array.
15831 * hash.c (hash_equal): should handle recursive hash.
15833 Mon Sep 24 22:14:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15835 * lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]
15837 * hash.c (hash_i): avoid too frequent hash conflict where key and
15838 value are same. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
15841 Mon Sep 24 17:56:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15843 * ext/strscan/strscan.c (strscan_initialize, strscan_getch): use the
15844 encoding of the target string instead of setting to StringScanner
15845 instance. [ruby-dev:31831]
15847 Mon Sep 24 16:52:11 2007 Urabe Shyouhei <shyouhei@ruby-lang.org>
15849 * lib/net/http.rb: fix typo.
15851 Mon Sep 24 06:49:15 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
15853 * lib/net/http.rb: an SSL verification (the server hostname should
15854 be matched with its certificate's commonName) is added.
15855 this verification can be skipped by
15856 "Net::HTTP#enable_post_connection_check=(false)".
15857 suggested by Chris Clark <cclark at isecpartners.com>
15859 * lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to
15860 perform SSL post connection check.
15862 * ext/openssl/lib/openssl/ssl.c
15863 (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message.
15865 Sun Sep 23 09:05:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15867 * gc.c (os_obj_of, os_each_obj): hide objects to be finalized.
15870 Sun Sep 23 08:58:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15872 * eval_method.ci (rb_attr): should not use alloca for unknown size
15873 input. [ruby-dev:31818]
15875 * parse.y (rb_intern_str): prevent str from optimization.
15877 Sun Sep 23 06:16:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15879 * eval_method.ci (remove_method): check for undefined method.
15882 Sun Sep 23 05:42:35 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
15884 * lib/rdoc/options.rb (Options::check_diagram): dot -V output
15885 changed. [ ruby-Bugs-11978 ], Thanks Florian Frank.
15887 Sat Sep 22 06:02:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15889 * lib/optparse.rb (OptionParser::List::summarize): use each_line if
15890 defined rather than each. [ruby-Patches-14096]
15892 Sat Sep 22 05:19:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15894 * ext/stringio/stringio.c (strio_init): separate from strio_initialize
15895 to share with strio_reopen properly. [ruby-Bugs-13919]
15897 Fri Sep 21 14:51:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15899 * gc.c (gc_mark_rest): copy just used part.
15901 * gc.c (gc_mark_children): mark u1 and u2 of NODE_ARGSCAT.
15903 * gc.c (os_obj_of): hide T_VALUES too. [ruby-dev:31804]
15905 * gc.c (run_final): freeze temporary argument array.
15907 Fri Sep 21 04:58:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15909 * misc/ruby-style.el (ruby-style-label-indent): fix for function top
15912 Fri Sep 21 02:11:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15914 * re.c (rb_reg_match_m): evaluate a block if match. it would make
15915 condition statement much shorter, if no else clause is needed.
15917 * string.c (rb_str_match_m): ditto.
15919 Fri Sep 21 02:02:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
15921 * hash.c (hash_equal): should call rb_eql when argument eql is set.
15923 Thu Sep 20 17:28:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15925 * io.c (popen_exec), process.c (rb_spawn): stop other threads before
15926 exec. [ruby-core:08262]
15928 Tue Sep 18 22:08:42 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
15930 * lib/matrix.rb: fix a coerce bug of Vector. [ruby-core: 12190]
15932 Mon Sep 17 21:06:03 2007 Minero Aoki <aamine@loveruby.net>
15934 * lib/net/http.rb (HTTP::GenericRequest#initialize): check path is
15935 not nil. [ruby-dev:31149]
15937 Mon Sep 17 21:00:51 2007 Minero Aoki <aamine@loveruby.net>
15939 * parse.y (ripper): rename event: arglist_* -> args_*.
15941 * parse.y (ripper): rename event: restparam -> rest_param.
15943 * parse.y (ripper): rename event: constpath_* -> const_path_*.
15945 * parse.y (ripper): rename event: topconst_* -> top_const_*.
15947 * parse.y (ripper): rename event: iter_block -> method_add_block.
15949 * parse.y (ripper): support block local parameter declaration.
15951 * parse.y (ripper): introduce new macro params_new.
15953 * ext/ripper/lib/ripper/sexp.rb: should not dispose event
15954 arguments whose name ends with "_new" but arity != 0.
15956 Sat Sep 15 23:36:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15958 * parse.y (struct parser_params): common members in the parser and
15959 ripper must be placed at each same location.
15961 Sat Sep 15 18:25:15 2007 Kouhei Sutou <kou@cozmixng.org>
15963 * string.c (rb_str_rstrip_bang): fixed too much rstrip. [ruby-dev:31786]
15965 Sat Sep 15 17:32:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15967 * parse.y (parser_initialize): set default encoding. [ruby-dev:31787]
15969 * ruby.c (load_file): make new parse instance after processing shebang
15972 Sat Sep 15 17:04:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
15974 * encoding.c (rb_enc_associate_index, rb_enc_get_index): check if
15975 object is encoding capable. [ruby-dev:31780]
15977 * string.c (rb_str_subpat_set): check for if the argument is a String.
15979 Sat Sep 15 13:31:21 2007 Kouhei Sutou <kou@cozmixng.org>
15981 * lib/rss.rb, lib/rss/, test/rss/:
15983 - supported Slash module.
15985 Fri Sep 14 22:20:01 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
15987 * ext/win32ole/win32ole.c (fev_unadvise): no needs to reset
15990 Fri Sep 14 17:28:32 2007 Koichi Sasada <ko1@atdot.net>
15992 * test/ruby/test_io.rb: tests which cause SEGV should not be
15995 * bootstraptest/test_knownbug.rb: add above test to known bug.
15997 Fri Sep 14 16:24:04 2007 Koichi Sasada <ko1@atdot.net>
15999 * insnhelper.ci (vm_expandarray): assignment should be placed
16000 after creating new array.
16002 Fri Sep 14 16:17:30 2007 Koichi Sasada <ko1@atdot.net>
16004 * bootstraptest/runner.rb: add a stress test (-s).
16006 Fri Sep 14 16:14:28 2007 Koichi Sasada <ko1@atdot.net>
16008 * vm.h, eval_intern.h: move some macros to eval_intern.h.
16010 * eval_jump.ci (rb_f_throw): fix to use NEW_THROW_OBJECT().
16012 * eval.c (rb_f_loop): remove additional macro.
16014 Fri Sep 14 16:12:10 2007 Koichi Sasada <ko1@atdot.net>
16016 * insnhelper.ci (vm_expandarray): should be volatile value for GC.
16018 Thu Sep 13 15:42:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16020 * compile.c (iseq_compile_each): inline cache entries are overwritten
16021 in iseq_build_body().
16023 Thu Sep 13 14:00:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16025 * parse.y (brace_block): should use compstmt. patch submitted by
16026 Kirill A. Shutemov <k.shutemov AT gmail.com> [ruby-core:12154].
16028 Thu Sep 13 13:47:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16030 * parse.y (rb_id2str): fixed typo.
16032 Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16034 * ruby.c (proc_options): -W should be allowed in RUBYOPT
16035 environment variable. [ruby-core:12118]
16037 Wed Sep 12 15:19:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16039 * io.c (rb_io_s_sysopen): should not use alloca for unknown size
16040 input. [ruby-dev:31775]
16042 * parse.y (rb_id2str): ditto.
16044 * marshal.c (w_float): use snprintf instead of sprintf.
16046 Tue Sep 11 17:28:00 2007 Akinori MUSHA <knu@iDaemons.org>
16048 * lib/tempfile.rb (Tempfile::make_tmpname): Allow to specify a
16049 suffix for a temporary file name.
16051 * lib/tempfile.rb (Tempfile::make_tmpname): Make temporary file
16052 names less predictable by including a random string.
16055 Tue Sep 11 17:25:59 2007 Akinori MUSHA <knu@iDaemons.org>
16057 * lib/shellwords.rb: Add shellescape() and shelljoin().
16059 * lib/shellwords.rb: Rename shellwords() to shellsplit() and make
16060 the former an alias to the latter.
16062 * lib/shellwords.rb: Add escape(), split(), join() as class
16063 methods, which are aliases to their respective long names
16064 prefixed with `shell'.
16066 * lib/shellwords.rb: Add String#shellescape(), String#shellsplit()
16067 and Array#shelljoin() for convenience.
16069 Mon Sep 10 15:48:31 2007 Tanaka Akira <akr@fsij.org>
16071 * range.c: represent initialized state using EXCL instead of FL_USER3.
16073 * range.c (range_dumper): make uninitialized range dumpable.
16074 (range_loader): make uninitialized range loadable.
16076 Mon Sep 10 13:44:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16078 * array.c (rb_ary_cycle): avoid infinite loop for empty array.
16079 based on a patch from David Flanagan. [ruby-core:12085]
16081 Mon Sep 10 01:21:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16083 * marshal.c (r_object0): struct allocation first to check if a
16084 class is a struct. compatibility check should come next.
16086 Mon Sep 10 01:05:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16088 * range.c (range_step): fixed integer overflow. [ruby-dev:31763]
16090 Sun Sep 9 08:57:27 2007 Tadayoshi Funaba <tadf@dotrb.org>
16092 * lib/date/format.rb (_strptime): now also attaches an element
16093 which denotes leftover substring if exists.
16095 Sun Sep 9 01:59:08 2007 Tanaka Akira <akr@fsij.org>
16097 * marshal.c (r_object0): check T_STRUCT type for structs.
16099 Sun Sep 9 01:17:05 2007 Tanaka Akira <akr@fsij.org>
16101 * marshal.c (r_object0): don't call user-defined initialize for
16104 * include/ruby/intern.h (rb_struct_initialize): declared.
16106 * struct.c (rb_struct_initialize): export.
16108 Sat Sep 8 23:55:56 2007 Tanaka Akira <akr@fsij.org>
16110 * eval_method.ci (rb_get_alloc_func): new function to get allocation
16113 * include/ruby/intern.h (rb_alloc_func_t): declared.
16114 (rb_define_alloc_func): declared.
16115 (rb_marshal_define_compat): declared.
16117 * range.c: use T_STRUCT for Range.
16119 * inits.c: move Init_marshal() prior to Init_Range() because
16120 Init_Range calls rb_marshal_define_compat which needs
16121 marshal's compat_allocator_tbl initialized.
16123 * marshal.c: support marshal format compatibility layer designed for
16124 marshaling T_STRUCT Range using T_OBJECT format.
16125 (rb_marshal_define_compat): defined.
16129 Sat Sep 8 10:05:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16131 * struct.c (rb_struct_s_members): check if __members__ is an
16132 array to prevent segmentation fault. [ruby-dev:31759]
16134 Sat Sep 8 09:33:09 2007 Tadayoshi Funaba <tadf@dotrb.org>
16136 * lib/date/format.rb (str[fp]time): now check specifications more
16139 Sat Sep 8 02:56:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16141 * test/ruby/test_fiber.rb (TestFiber::test_throw): uncaught throw
16142 now raise ArgumentError exception.
16144 Sat Sep 8 02:45:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16146 * struct.c (rb_struct_s_members): should raise TypeError instead
16147 of call rb_bug(). [ruby-dev:31709]
16149 * marshal.c (r_object0): no nil check require any more.
16151 Sat Sep 8 01:46:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16153 * regenc.c, regenc.h (onigenc_single_byte_mbc_enc_len): should take
16154 two arguments. [ruby-dev:31754]
16156 Fri Sep 7 00:58:16 2007 Koichi Sasada <ko1@atdot.net>
16158 * common.mk: fix typo.
16160 Fri Sep 7 00:28:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16162 * io.c (rb_io_getc): forgot to commit rb_enc_mbclen() fix.
16164 * ext/stringio/stringio.c (strio_getc): rb_enc_mbclen() fix.
16166 * ext/stringio/stringio.c (strio_ungetc): ditto.
16168 Thu Sep 6 22:57:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16170 * lib/fileutils.rb (FileUtils::Entry_::copy): prevent self copy of
16173 * lib/fileutils.rb (FileUtils::fu_each_src_dest0): use try_convert.
16175 * lib/fileutils.rb (FileUtils::fu_update_option): ditto.
16177 Thu Sep 6 21:36:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16179 * include/ruby/oniguruma.h (OnigEncodingTypeST): add end parameter
16182 * euc_jp.c (mbc_enc_len), sjis.c (mbc_enc_len),
16183 utf8.c (utf8_mbc_enc_len): ditto.
16185 * encoding.c (rb_enc_mbclen): add end parameter.
16187 Thu Sep 6 21:31:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16189 * array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui
16190 <yugui@yugui.sakura.ne.jp>. [ruby-dev:31748]
16192 Thu Sep 6 12:42:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16194 * string.c (rb_str_succ, rb_str_chop_bang, rb_str_chop): m17n support.
16197 Wed Sep 5 22:02:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16199 * array.c (rb_ary_subseq): need integer overflow check.
16202 * array.c (rb_ary_splice): ditto. [ruby-dev:31737]
16204 * array.c (rb_ary_fill): ditto. [ruby-dev:31738]
16206 * string.c (rb_str_splice): integer overflow for length.
16209 Tue Sep 4 20:43:44 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16211 * ext/win32ole/win32ole.c: add WIN32OLE_EVENT#unadvise.
16213 * test/win32ole/test_win32ole_event.rb: ditto.
16215 Mon Sep 3 15:37:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16217 * common.mk (vm.o): depends on st.h too.
16219 Sun Sep 2 23:38:29 2007 Tanaka Akira <akr@fsij.org>
16221 * include/ruby/st.h (struct st_table): make num_entries bitfield
16222 instead of num_bins for speed. num_entries has less access.
16224 Sun Sep 2 00:37:57 2007 Tadayoshi Funaba <tadf@dotrb.org>
16226 * lib/date/format.rb (_parse): improved parsing of ordinal dates.
16228 * lib/date/format.rb (_parse): use named character classes in some
16229 regular expressions.
16231 Sat Sep 1 23:44:26 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16233 * eval_jump.ci (rb_f_throw): wrap tag and TAG_THROW in a NODE_MEMO
16234 node to make throw instruction to work well.
16236 Sat Sep 1 20:56:07 2007 Tanaka Akira <akr@fsij.org>
16238 * include/ruby/ruby.h (struct RBignum): embed digits in RBignum for
16241 * bignum.c: RBignum embedded digits implemented.
16243 * include/ruby/intern.h: declare rb_big_resize.
16245 * gc.c: don't free embedded digits.
16247 * numeric.c: replace direct bignum field accessor by abstract field
16248 accessor such as RBIGNUM(val)->sign to RBIGNUM_SIGN(val).
16250 * sprintf.c: ditto.
16254 * marshal.c: ditto.
16258 * .gdbinit: support embedded small bignums.
16262 Sat Sep 1 19:59:43 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16264 * ext/win32ole/win32ole.c (ole_event_free): IConnectionPoint should be
16267 * ext/win32ole/win32ole.c (EVENTSINK_Destructor): ITypeInfo should be
16270 * ext/win32ole/win32ole.c (fev_initialize): refactoring.
16272 Sat Sep 1 16:26:09 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16274 * test/socket/test_tcp.rb (test_recvfrom): same as mswin32 on mswin64.
16276 Sat Sep 1 14:24:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16278 * st.c (st_numcmp, st_numhash): use st_data_t instead of long, because
16279 the former may be larger than the latter.
16281 * include/ruby/st.h (CHAR_BIT): get rid of magic number.
16283 * include/ruby/st.h (rb_index_t): use st_data_t for the platforms it
16284 is larger than int.
16286 Sat Sep 1 10:43:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16288 * eval_jump.ci (rb_f_catch): generate new tag object if no argument is
16289 given. backported from MatzRuby. [ruby-dev:31609]
16291 * eval_jump.ci (rb_catch): call #catch without arguments if tag
16294 * eval_jump.ci (rb_f_throw): allow throwing non-symbol object.
16296 * eval_jump.ci (rb_catch_obj): new function to wait throw with arbitrary
16299 * eval_jump.ci (rb_throw_obj): new function to throw arbitrary object.
16301 * variable.c (check_autoload_table): prevent multiple calls from
16304 Fri Aug 31 07:12:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16306 * numeric.c (SQRT_LONG_MAX): use SIZEOF_LONG instead of SIZEOF_VALUE
16307 because SIZEOF_VALUE > SIZEOF_LONG on some platforms.
16309 Fri Aug 31 04:18:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16311 * parse.y (f_norm_arg, f_arg_item): not croak already erred names.
16314 * parse.y (assignable_gen): ignore already erred names.
16316 * parse.y (shadowing_lvar_gen): always make new block local variable
16317 when shadowing outer local variable. [ruby-dev:31507]
16319 Thu Aug 30 19:40:33 2007 NAKAMURA Usaku <usa@ruby-lang.org>
16321 * regenc.h: check RUBY_EXTERN before including config.h and defines.h
16323 * common.mk: update header dependency.
16325 Thu Aug 30 14:06:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16327 * proc.c (rb_obj_define_method): reverted. [ruby-talk:266637]
16329 Thu Aug 30 13:49:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16331 * lib/mkmf.rb: initialize $top_srcdir always. [ruby-dev:31682]
16333 * lib/mkmf.rb (try_const, have_const): check for a const is defined.
16336 Thu Aug 30 08:00:12 2007 Tanaka Akira <akr@fsij.org>
16338 * include/ruby/intern.h: declare rb_hash_tbl.
16340 * include/ruby/ruby.h (RHash): delay st_table allocation.
16341 rename tbl field to ntbl to detect direct reference to the st_table
16342 as a compile error.
16343 (RHASH_TBL): abstract accessor defined.
16344 (RHASH_ITER_LEV): ditto.
16345 (RHASH_IFNONE): ditto.
16346 (RHASH_SIZE): ditto.
16347 (RHASH_EMPTY_P): ditto.
16348 (hash_alloc0, hash_alloc): unified because hash_alloc doesn't
16349 allocate st_table now.
16351 * hash.c: delay st_table allocation.
16353 * gc.c: replace tbl by ntbl.
16355 * array.c: replace direct field accessor by abstract field accessor
16356 such as RHASH(hash)->tbl to RHASH_TBL(hash).
16358 * marshal.c: ditto.
16360 * insns.def: ditto.
16362 * ext/iconv/iconv.c: ditto.
16364 * ext/json/ext/generator/generator.c: ditto.
16366 * ext/json/ext/parser/parser.c: ditto.
16368 * ext/json/ext/parser/parser.rl: ditto.
16370 * ext/syck/rubyext.c: ditto.
16372 * ext/tk/tkutil/tkutil.c: ditto.
16376 Wed Aug 29 18:36:06 2007 Tanaka Akira <akr@fsij.org>
16378 * lib/open-uri.rb: add :ftp_active_mode option. [ruby-dev:31677]
16380 Wed Aug 29 14:55:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16382 * string.c (str_gsub): should not use mbclen2() which has broken API.
16384 * re.c: remove rb_reg_mbclen2().
16386 Wed Aug 29 12:48:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16388 * parse.y (aref_args): args may not be a list. [ruby-dev:31592]
16390 Wed Aug 29 11:30:10 2007 Tanaka Akira <akr@fsij.org>
16392 * include/ruby/st.h (struct st_table): add entries_packed 1-bit
16393 bitfield. decrease num_bins 1-bit.
16395 * st.c: pack numhash which have 5 or less entries in bins.
16396 (st_init_table_with_size): setup entries_packed flag.
16397 (st_clear): support packed mode.
16398 (st_lookup): ditto.
16399 (st_insert): ditto.
16400 (st_add_direct): ditto.
16402 (st_delete): ditto.
16403 (st_foreach): ditto.
16404 (st_reverse_foreach): ditto.
16405 (unpack_entries): new function for converting to unpacked mode.
16409 Wed Aug 29 10:46:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16411 * include/ruby/defines.h (flush_register_windows): call "ta 0x03"
16412 even on Linux/Sparc. [ruby-dev:31674]
16414 Tue Aug 28 19:16:00 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16416 * ext/win32ole/win32ole.c (ole_type_progid): progid getted by
16417 ProgIDFromCLSID should be freed by CoTaskMemFree. Thanks, arton.
16419 * test/win32ole/test_win32ole.rb (test_raise_message): set negative
16420 compareMode value to raise WIN32OLERuntimeError.
16422 * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
16423 support some environment which returns IShellDispatch5 instead
16426 Tue Aug 28 15:42:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16428 * string.c (rb_str_subseq): retrieve substring based on byte offset.
16430 * string.c (rb_str_rindex_m): was confusing character offset and
16433 Tue Aug 28 14:23:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16435 * string.c (rb_str_splice_0): should check to modify. [ruby-dev:31665]
16437 Tue Aug 28 14:21:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16439 * parse.y (parser_prepare): set parser encode too when BOM exists.
16441 Tue Aug 28 00:51:22 2007 Koichi Sasada <ko1@atdot.net>
16443 * thread.c: fix Mutex to be interruptable lock.
16445 * thread_win32.ci, thread_win32.h, thread_pthread.ci, thread_pthread.h:
16446 prepare native_cond_*() which are based on pthread_cond_*() spec.
16448 * prelude.rb: fix Mutex#synchronize method.
16450 * vm_core.h, include/ruby/intern.h: change unblock function interface
16451 (to pass some user data).
16453 * file.c, process.c: ditto.
16455 * benchmark/bm_vm2_mutex.rb: add a benchmark for mutex.
16457 * benchmark/bm_vm3_thread_mutex.rb: add a benchmark for mutex
16460 * benchmark/run.rb: fix to remove ENV['RUBYLIB'] for matzruby.
16462 * test/ruby/test_thread.rb: add a test.
16464 * common.mk: fix benchmark options.
16466 Mon Aug 27 23:14:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16468 * string.c (rb_str_rstrip_bang): wrong strip point. [ruby-dev:31652]
16470 * string.c (rb_str_each_line): should swallow sequence of newlines
16471 if rs (optional argument) is an empty string. [ruby-dev:31652]
16473 Mon Aug 27 22:39:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16475 * encoding.c (rb_enc_codelen): raises invalid sequence exception
16476 if ONIGENC_CODE_TO_MBCLEN() returns zero. [ruby-dev:31661]
16478 * encoding.c (rb_enc_mbclen): check invalid sequence.
16480 Mon Aug 27 20:27:59 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16482 * ext/win32ole/win32ole.c (ole_type_progid): fix the bug.
16485 * test/win32ole/test_win32ole_type.rb (test_initialize):
16486 remove duplicate assertions.
16488 Mon Aug 27 19:10:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16490 * ext/etc/etc.c (etc_getlogin): update documentation to note
16491 security issue. [ruby-Bugs-11821]
16493 Mon Aug 27 15:56:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16495 * string.c (sym_encoding): return the encoding of a Symbol.
16497 Mon Aug 27 15:33:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16499 * util.c (IEEE_BIG_ENDIAN): use configured value. [ruby-dev:31623]
16501 * util.c (Llong): set to LONG_LONG if available.
16503 Mon Aug 27 13:11:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16505 * string.c (tr_trans): wrong condition for mbmaxlen==1 strings.
16508 Mon Aug 27 00:41:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16510 * io.c (rb_io_each_byte): caused infinite loop. [ruby-dev:31652]
16512 * io.c (rb_io_getc): should return nil at EOF, not EOFError.
16514 * lib/delegate.rb (SimpleDelegator::__setobj__): use raise
16515 argument to specify backtrace.
16517 * test/ruby/test_fnmatch.rb (TestFnmatch::bracket_test):
16518 String#include? no longer works for Fixnum. use #chr.
16521 Sun Aug 26 12:27:14 2007 Koichi Sasada <ko1@atdot.net>
16523 * cont.c: fix to remove Fiber.new until fiber.so is not loaded.
16525 * test/ruby/test_continuation.rb: fix to use resume.
16527 Sun Aug 26 06:51:46 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16529 * ext/win32ole/win32ole.c (ole_wc2mb, reg_enum_key): allocate
16530 buffer should be NULL terminated.
16532 Sun Aug 26 06:04:13 2007 Koichi Sasada <ko1@atdot.net>
16534 * insnhelper.ci (vm_setup_method): reorder code for branch prediction.
16536 Sun Aug 26 05:54:49 2007 Koichi Sasada <ko1@atdot.net>
16538 * insnhelper.ci (vm_call_method): fix to relaxant safe level check
16539 ($SAFE > 2). [ruby-core:11998]
16541 * bootstraptest/test_method.rb: add tests for above.
16543 Sun Aug 26 05:52:08 2007 Koichi Sasada <ko1@atdot.net>
16545 * test/ruby/test_fiber.rb: fix to require 'continuation'.
16547 Sat Aug 25 23:52:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16549 * enumerator.c (enumerator_next): message changed.
16551 Sat Aug 25 23:22:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16553 * include/ruby/encoding.h: remove unused rb_enc_ismbchar().
16555 Sat Aug 25 22:50:14 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16557 * ext/win32ole/win32ole.c (ole_event_free, EVENTSINK_Destructor,
16558 fev_initialize): remove the connection ole_event_free and
16559 EVENTSINK_Destructor.
16561 Sat Aug 25 17:52:06 2007 Koichi Sasada <ko1@atdot.net>
16563 * string.c, include/ruby/intern.h: export rb_str_length().
16565 * insns.def: use rb_str_length() in opt_length.
16567 Sat Aug 25 17:48:51 2007 Koichi Sasada <ko1@atdot.net>
16569 * cont.c: rename FIBER_STACK_SIZE to FIBER_VM_STACK_SIZE.
16571 Sat Aug 25 17:05:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16573 * io.c (swallow): removed condition using an unset variable.
16575 * parse.y, re.c: re-applied revision 13092.
16577 * string.c (rb_str_splice): return from void function.
16579 * include/ruby/encoding.h (rb_enc_str_new): prototype added.
16581 Sat Aug 25 11:45:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16583 * encoding.c: provide basic features for M17N.
16585 * parse.y: encoding aware parsing.
16587 * parse.y (pragma_encoding): encoding specification pragma.
16589 * parse.y (rb_intern3): encoding specified symbols.
16591 * string.c (rb_str_length): length based on characters.
16592 for older behavior, bytesize method added.
16594 * string.c (rb_str_index_m): index based on characters. rindex as
16597 * string.c (succ_char): encoding aware succeeding string.
16599 * string.c (rb_str_reverse): reverse based on characters.
16601 * string.c (rb_str_inspect): encoding aware string description.
16603 * string.c (rb_str_upcase_bang): encoding aware case conversion.
16604 downcase, capitalize, swapcase as well.
16606 * string.c (rb_str_tr_bang): tr based on characters. delete,
16607 squeeze, tr_s, count as well.
16609 * string.c (rb_str_split_m): split based on characters.
16611 * string.c (rb_str_each_line): encoding aware each_line.
16613 * string.c (rb_str_each_char): added. iteration based on
16616 * string.c (rb_str_strip_bang): encoding aware whitespace
16617 stripping. lstrip, rstrip as well.
16619 * string.c (rb_str_justify): encoding aware justifying (ljust,
16622 * string.c (str_encoding): get encoding attribute from a string.
16624 * re.c (rb_reg_initialize): encoding aware regular expression
16626 * sprintf.c (rb_str_format): formatting (i.e. length count) based
16629 * io.c (rb_io_getc): getc to return one-character string.
16630 for older behavior, getbyte method added.
16632 * ext/stringio/stringio.c (strio_getc): ditto.
16634 * io.c (rb_io_ungetc): allow pushing arbitrary string at the
16635 current reading point.
16637 * ext/stringio/stringio.c (strio_ungetc): ditto.
16639 * ext/strscan/strscan.c: encoding support.
16641 Sat Aug 25 10:59:19 2007 Koichi Sasada <ko1@atdot.net>
16643 * cont.c: separate Continuation and Fiber from core.
16645 * ext/continuation/*, ext/fiber/*: ditto.
16647 * include/ruby/ruby.h: remove rb_cFiber.
16649 * include/ruby/intern.h: add the rb_fiber_new() declaration.
16651 * enumerator.c (next_init): fix to use rb_fiber_new().
16653 * test/ruby/test_enumerator.rb: remove next? tests.
16655 * test/ruby/test_continuation.rb: add a require 'continuation'.
16657 * test/ruby/test_fiber.rb: add a require 'fiber'.
16659 Sat Aug 25 10:20:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16661 * common.mk (prelude.o): depends on vm_core.h now.
16663 * common.mk (prelude.c): depends on tool/compile_prelude.rb too.
16665 * common.mk (prereq): updates all auto-generated sources.
16667 * tool/compile_prelude.rb: separated dynamic and static portions.
16669 Sat Aug 25 10:05:17 2007 Koichi Sasada <ko1@atdot.net>
16671 * prelude.rb: add Thread.exclusive. This class method
16672 is different from 1.8's. Thread.exclusive only does
16673 synchronize with VM global mutex.
16675 Sat Aug 25 09:39:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16677 * array.c (rb_ary_s_try_convert): more document description.
16679 * re.c (rb_reg_s_try_convert): typo fixed.
16681 Sat Aug 25 08:54:12 2007 Koichi Sasada <ko1@atdot.net>
16683 * id.h, id.c: remove idFuncall.
16685 * compile.c (iseq_specialized_instruction): ditto.
16687 Sat Aug 25 08:47:28 2007 Koichi Sasada <ko1@atdot.net>
16689 * tool/compile_prelude.rb: fix to include "vm_core.h".
16691 Sat Aug 25 03:49:14 2007 Tanaka Akira <akr@fsij.org>
16693 * test/ruby/sentence.rb (Sentence): include Enumerable.
16694 (Sentence#each): defined.
16696 * test/ruby/test_assignment.rb: use Sentence#expand.
16698 Sat Aug 25 03:08:57 2007 Koichi Sasada <ko1@atdot.net>
16700 * prelude.rb: fix Mutex#synchronize definition.
16702 Sat Aug 25 02:08:45 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16704 * array.c (rb_ary_s_try_convert): a new class method to convert
16705 object or nil if it's not target-type. this mechanism is used
16706 to convert types in the C implemented methods.
16708 * hash.c (rb_hash_s_try_convert): ditto.
16710 * io.c (rb_io_s_try_convert): ditto.
16712 * re.c (rb_reg_s_try_convert): ditto.
16714 * string.c (rb_str_s_try_convert): ditto.
16716 Sat Aug 25 00:49:44 2007 Koichi Sasada <ko1@atdot.net>
16718 * benchmark/bm_loop_generator.rb: added.
16720 Sat Aug 25 00:22:31 2007 Koichi Sasada <ko1@atdot.net>
16722 * prelude.rb: added. run this script on startup.
16724 * tool/compile_prelude.rb: compile prelude.rb to C string.
16725 (prelude.rb -> prelude.c)
16727 * common.mk: fix to build with prelude.c.
16729 * inits.c (rb_call_inits): ditto.
16731 * thread.c (Init_Thread): move definition of Mutex#synchronize
16734 Sat Aug 25 00:08:43 2007 Koichi Sasada <ko1@atdot.net>
16736 * compile.c (compile_massign_opt): fix to skip massign optimization
16737 with global variables.
16739 * bootstraptest/test_massign.rb: add some tests for above.
16741 Fri Aug 24 18:42:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16743 * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.
16745 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize):
16746 initialize @workdir to stop warning.
16748 Fri Aug 24 18:30:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16750 * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block):
16751 replace funcall by send!. other files in the distribution as well.
16753 Fri Aug 24 17:06:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16755 * eval.c (rb_f_send_bang): abandon the name funcall for private
16758 Fri Aug 24 15:27:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16760 * enumerator.c (enumerator_next): stop pre-fetching.
16762 * enumerator.c (Init_Enumerator): remove next? method.
16764 Fri Aug 24 15:14:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16766 * eval.c (rb_f_loop): now handles StopIteration exception.
16768 Thu Aug 23 20:31:31 2007 Koichi Sasada <ko1@atdot.net>
16770 * compile.c: optimize simple massign.
16772 Thu Aug 23 20:02:25 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
16774 * ext/win32ole/win32ole.c (reg_get_value): use RegQueryValueEx instead
16775 of RegQueryValueEx.
16777 * ext/win32ole/win32ole.c (typelib_file_from_clsid): fix the bug
16778 that the function always returns Qnil.
16780 * test/win32ole/test_win32ole_type.rb (test_initialize): add some test.
16782 Thu Aug 23 17:25:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16784 * configure.in (group_member): check if presents.
16786 * configure.in (XCFLAGS): add _GNU_SOURCE on linux.
16788 * file.c (group_member): use system routine if available.
16790 * process.c: moved _GNU_SOURCE macro to Makefile.
16792 Thu Aug 23 16:59:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16794 * compile.c (compile_massign), insnhelper.ci (vm_throw): not use C99
16797 * cont.c (rb_cont_call, fiber_switch, rb_fiber_resume, rb_fiber_yield):
16800 * cont.c (rb_fiber_start): change on non-volatile variable between
16801 setjmp and longjmp may not has an effect.
16803 * enumerator.c (sym_call): initialize first.
16805 * enumerator.c (enum_iter): typedefed.
16807 * enumerator.c (next_i): suppress a warning.
16809 Thu Aug 23 16:04:11 2007 Koichi Sasada <ko1@atdot.net>
16811 * compile.c, insns.def, parse.y: fix massign order. This change
16812 causes performance problem. Try vm1_swap benchmark.
16815 * insns.def, insnhelper.ci: move process body of expandarray insn to
16818 * bootstraptest/test_knownbug.rb, bootstraptest/test_massign.rb:
16819 move a solved test.
16821 Thu Aug 23 15:51:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16823 * parse.y (f_norm_arg): ripper has no shadowing check.
16825 * parse.y (f_block_arg): dispatch blkarg_mark.
16827 Thu Aug 23 15:48:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16829 * compile.c (make_masgn_lhs, iseq_compile_each): fixed indent.
16831 * compile.c (iseq_translate_threaded_code),
16832 vm_evalbody.ci (get_insns_address_table),
16833 template/vmtc.inc.tmpl (insns_address_table): constified.
16835 * vm_evalbody.ci (vm_eval),
16836 template/insns_info.inc.tmpl (insn_stack_increase, insn_ret_num):
16839 Thu Aug 23 13:19:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16841 * parse.y (f_norm_arg): check also nested arguments. [ruby-dev:31502]
16843 Thu Aug 23 00:06:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16845 * util.c: updated for ANSI C only. applied a patch from
16846 <snakagawa AT infoteria.co.jp>. [ruby-dev:31591]
16848 Thu Aug 23 00:04:45 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16850 * missing/strtod.c: removed. [ruby-dev:31588]
16854 Wed Aug 22 15:59:44 2007 Koichi Sasada <ko1@atdot.net>
16856 * bootstraptest/test_knownbug.rb:
16857 fix typo of filename (test_knwonbug.rb).
16859 Wed Aug 22 14:04:53 2007 Koichi Sasada <ko1@atdot.net>
16861 * bootstraptest/test_knwonbug.rb: added. This file will contain
16862 test cases which point out known bug. If bug is fixed, tests
16863 should move to the suitable place.
16865 * bootstraptest/test_massign.rb: move a test which show known bug
16866 to test_knownbug.rb.
16868 Wed Aug 22 13:02:26 2007 Tanaka Akira <akr@fsij.org>
16870 * bootstraptest/runner.rb (in_temporary_working_directory):
16871 don't remove the directory specified by --dir.
16873 Wed Aug 22 05:51:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16875 * util.c (ruby_strtod): replaced by the implementation by David
16876 M. Gay inspired by William D. Clinger's paper "How to Read Floating
16877 Point Numbers Accurately" [Proc. ACM SIGPLAN '90, pp. 92-101].
16878 a patch from Satoshi Nakagawa <snakagawa AT infoteria.co.jp>.
16881 * test/ruby/test_float.rb (TestFloat::test_float): add test for
16884 Wed Aug 22 03:51:07 2007 Koichi Sasada <ko1@atdot.net>
16886 * cont.c: add Fiber#resume and Fiber.yield.
16887 and Fiber::Core class to realize Coroutine.
16889 * include/ruby/intern.h: declare rb_fiber_yield(), rb_fiber_resume().
16891 * enumerator.c: use above api.
16893 * test/ruby/test_fiber.rb: fix and add tests for above changes.
16895 Tue Aug 21 21:09:48 2007 Tanaka Akira <akr@fsij.org>
16897 * lib/tmpdir.rb (Dir.mktmpdir): make directory suffix specifiable.
16898 suggested by knu. [ruby-dev:31568]
16900 Tue Aug 21 15:00:23 2007 Koichi Sasada <ko1@atdot.net>
16902 * st.c (st_clear): reset num_entries too.
16904 Tue Aug 21 13:57:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16906 * hash.c (st_foreach_func, rb_foreach_func): typedefed.
16908 * hash.c (rb_hash_clear): use st_clear() unless iterating.
16910 * st.c (struct st_table_entry): add new members, fore and back, to
16911 iterate in inserted order.
16913 * include/ruby/st.h (struct st_table): ditto.
16915 Tue Aug 21 04:09:06 2007 Koichi Sasada <ko1@atdot.net>
16917 * benchmark/bm_vm2_case.rb: add a new benchmark.
16918 YARV optimize case/when syntax. If every conditions
16919 are literal (such as Symbol, Fixnum, String), dispatch
16920 calc order will be O(1).
16922 Tue Aug 21 04:08:07 2007 Koichi Sasada <ko1@atdot.net>
16924 * test/ruby/test_enumerator.rb: fix last commit.
16926 Tue Aug 21 03:59:32 2007 Koichi Sasada <ko1@atdot.net>
16928 * test_enumerator.rb (enum_test): fix to return sorted
16929 array (for Hash test).
16931 Tue Aug 21 03:55:20 2007 Koichi Sasada <ko1@atdot.net>
16933 * enumerator.c (next_i): fix to return with Fiber#yield at
16934 the end of each block. [ruby-dev:31470]
16936 * enumerator.c (enumerator_next_p): call init_next if not
16937 initialized. [ruby-dev:31514]
16939 * test/ruby/test_enumerator.rb: add tests for Enumerator.
16941 Mon Aug 20 23:28:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
16943 * string.c (Init_String): remove Symbol.intern and Symbol#dump.
16946 * dir.c (dir_foreach): return Enumerator if no block given.
16949 * io.c (rb_io_s_foreach): argument count check before making
16950 Enumerator. [ruby-dev:31525]
16952 Mon Aug 20 23:17:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16954 * vm_core.h (struct rb_thread_struct): removed first_func_arg and
16955 reuse first_args instead.
16957 Sun Aug 19 13:31:40 2007 Tanaka Akira <akr@fsij.org>
16959 * gc.c: use VALGRIND_MAKE_MEM_UNDEFINED to detect use of collected
16960 objects if valgrind is available. It cannot detect first 2 words
16961 because they are used as the free list.
16963 Sun Aug 19 13:13:52 2007 Koichi Sasada <ko1@atdot.net>
16965 * compile.c (iseq_compile_each/NODE_RESBODY): fix to add
16966 additional nop to prevent tailcall optimization.
16968 * vm_opts.h: clean up comments.
16970 Sun Aug 19 12:58:39 2007 Koichi Sasada <ko1@atdot.net>
16972 * insnhelper.ci (vm_call_bmethod): fix to propagate information
16973 that this proc is "from Method". [ruby-dev:31490]
16975 * proc.c (method_proc, rb_mod_define_method): ditto.
16977 * vm.c (vm_invoke_proc_core): removed.
16979 * vm_core.h: ditto.
16981 Sun Aug 19 12:36:11 2007 Tanaka Akira <akr@fsij.org>
16983 * test/ruby/sentence.rb: new method Sentence().
16985 Sun Aug 19 12:32:39 2007 Koichi Sasada <ko1@atdot.net>
16987 * insnhelper.ci (vm_callee_setup_arg): fix to mark enough VM stack.
16990 Sat Aug 18 19:02:34 2007 Tanaka Akira <akr@fsij.org>
16992 * test/ruby/test_yield.rb (TestYieldGen): relax array size check
16993 in nested parameters.
16996 Sat Aug 18 17:44:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
16998 * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc().
17000 Sat Aug 18 17:40:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17002 * thread.c (is_ruby_native_thread): check properly. [ruby-dev:31166]
17004 Sat Aug 18 16:44:15 2007 Koichi Sasada <ko1@atdot.net>
17006 * insnhelper.ci (vm_call_bmethod),
17007 vm.c (vm_invoke_proc_core): fix to do not restore
17008 $SAFE when proc invoked by bmethod.
17010 * vm_core.h: ditto.
17012 Sat Aug 18 16:44:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17014 * eval_error.ci (ruby_error_print): call error_print.
17016 * eval_jump.ci, process.c (rb_exit, rb_f_exit, rb_f_abort): moved.
17018 Sat Aug 18 15:59:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17020 * process.c (detach_process_watcher): should not pass the pointer
17021 to an auto variable to the thread to be created. pointed and
17022 fix by KUBO Takehiro <kubo at jiubao.org> [ruby-dev:30618]
17024 Sat Aug 18 15:52:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17026 * insnhelper.ci (vm_send_optimize): use MEMMOVE to shift values inside
17029 Sat Aug 18 15:45:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17031 * insnhelper.ci (vm_yield_setup_args): rsize and psize should not be
17034 Sat Aug 18 14:35:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17036 * insnhelper.ci (vm_callee_setup_arg, vm_send_optimize,
17037 vm_yield_setup_args): bulk copy for arguments.
17039 Sat Aug 18 13:55:58 2007 Koichi Sasada <ko1@atdot.net>
17041 * compile.c (iseq_compile_each): fix to allow self.x=
17044 * bootstraptest/test_method.rb: add a test for above.
17046 Sat Aug 18 14:05:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17048 * parse.y (reg_compile_gen): obtain error info from errinfo.
17050 * re.c (rb_reg_error_desc): make RegexpError for initialization error.
17052 * re.c (rb_reg_compile): return nil and set errinfo if error.
17054 Sat Aug 18 13:23:01 2007 Koichi Sasada <ko1@atdot.net>
17056 * eval.c: $! should not be writable.
17058 * eval.c (rb_rubylevel_errinfo): added. rb_errinfo() returns
17059 rb_thread_t#errinfo. rb_rubylevel_errinfo() returns $! value.
17061 Sat Aug 18 13:14:40 2007 Koichi Sasada <ko1@atdot.net>
17063 * insnhelper.ci (vm_callee_setup_arg): fix to check arguments
17064 correctly. [ruby-dev:31472]
17066 Sat Aug 18 13:13:06 2007 Koichi Sasada <ko1@atdot.net>
17068 * bootstraptest/test_exception.rb: add escape character ("\") for
17071 Sat Aug 18 12:42:50 2007 Tanaka Akira <akr@fsij.org>
17073 * test/ruby/test_yield.rb (TestYieldGen): add test for yielding to
17074 lambda using lambda parameter passing emulator.
17076 Sat Aug 18 12:24:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17078 * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep
17079 comment lines first.
17081 Sat Aug 18 11:44:59 2007 Koichi Sasada <ko1@atdot.net>
17083 * compile.c (iseq_set_arguments), insnhelper.ci
17084 (vm_callee_setup_arg, vm_yield_setup_args):
17085 fix to cause raise on "lambda{|a|}.call(1, 2)".
17088 * bootstraptest/test_block.rb: add tests for above.
17090 Sat Aug 18 01:12:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17092 * eval.c (frame_func_id): return proper method ID.
17094 Fri Aug 17 22:43:11 2007 Koichi Sasada <ko1@atdot.net>
17096 * compile.c (iseq_compile_each): massign should return rvalue(s).
17098 Fri Aug 17 22:10:19 2007 Koichi Sasada <ko1@atdot.net>
17100 * test/ruby/test_basicinstructions.rb: fix old tests.
17101 class variables should be inherited.
17103 Fri Aug 17 21:20:44 2007 Koichi Sasada <ko1@atdot.net>
17105 * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias),
17106 insnhelper.ci (vm_call_method): fix to save safelevel for
17109 * include/ruby/node.h: ditto.
17111 * bootstraptest/test_method.rb: add a test for above.
17113 Fri Aug 17 16:02:50 2007 Koichi Sasada <ko1@atdot.net>
17115 * thread.c (rb_thread_terminate_all): fix to ignore
17118 * thread.c (thread_start_func_2): fix
17119 abort_on_exception process. [ruby-dev:31394]
17121 Fri Aug 17 14:38:36 2007 Tanaka Akira <akr@fsij.org>
17123 * bootstraptest/runner.rb (in_temporary_working_directory): use
17124 Dir.mktmpdir to create and remove temporary directory.
17125 (Dir.mktmpdir): define if not available.
17128 Fri Aug 17 03:07:37 2007 Koichi Sasada <ko1@atdot.net>
17130 * compile.c (iseq_compile_each): fix throw insn option of next.
17132 Fri Aug 17 01:25:23 2007 Koichi Sasada <ko1@atdot.net>
17134 * compile.c (iseq_set_arguments), insnhelper.ci
17135 (vm_callee_setup_arg, vm_yield_setup_args): fix
17136 block parameter problems. [ruby-dev:31437], [ruby-dev:31440]
17138 * bootstraptest/test_block.rb: add a test of [ruby-dev:31440].
17140 Fri Aug 17 01:24:12 2007 Koichi Sasada <ko1@atdot.net>
17142 * iseq.c (ruby_iseq_disasm): fix to show arg_simple value.
17144 Fri Aug 17 01:21:29 2007 Koichi Sasada <ko1@atdot.net>
17146 * insns.def (throw): insert a RUBY_VM_CHECK_INTS(). [ruby-dev:31361]
17148 Thu Aug 16 20:40:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17150 * bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound
17151 access. [ruby-dev:31404]
17153 * sprintf.c (rb_str_format): small float should not call
17156 Thu Aug 16 22:10:06 2007 Koichi Sasada <ko1@atdot.net>
17158 * compile.c (iseq_compile_each): fix next/redo stack consistency.
17161 * bootstraptest/test_syntax.rb: add tests for above.
17163 * sample/test.rb: fix to use __FILE__ instead of $0 to know basedir.
17165 Thu Aug 16 21:14:06 2007 WATANABE Hirofumi <eban@ruby-lang.org>
17167 * configure.in (BASERUBY): need AC_SUBST. [ruby-dev:31438]
17169 Thu Aug 16 19:18:26 2007 Tanaka Akira <akr@fsij.org>
17171 * test/ruby/sentence.rb: Sentence class implemented
17172 based on sentgen.rb
17174 * test/ruby/sentgen.rb: removed.
17176 * test/ruby/test_assignment.rb: use sentence.rb.
17178 * test/ruby/test_yield.rb: block parameter passing emulator
17181 Thu Aug 16 16:48:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17183 * configure.in (BASERUBY): check if base ruby is runnable first.
17186 Thu Aug 16 16:46:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17188 * configure.in (aix): enable shared by default.
17190 * configure.in (aix): for 64bit-mode AIX. [ruby-dev:31401]
17191 + use CC for LDSHARED if non-gcc,
17192 + moved -G option from *LDFLAGS to LDSHARED,
17193 + set -brtl only in XLDFLAGS.
17195 Thu Aug 16 13:06:08 2007 Tanaka Akira <akr@fsij.org>
17197 * bignum.c (big_lshift): make shift offset long type.
17198 (big_rshift): ditto.
17199 (rb_big_lshift): ditto.
17200 (big_rshift): ditto.
17203 Thu Aug 16 06:29:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17205 * io.c (argf_readpartial): argf_forward needs argc and argv.
17207 Thu Aug 16 02:47:39 2007 Koichi Sasada <ko1@atdot.net>
17209 * cont.c (rb_fiber_m_yield): added. use this function
17210 for Fiber#yield instead of rb_fiber_yield.
17212 Thu Aug 16 00:36:52 2007 Tanaka Akira <akr@fsij.org>
17214 * lib/tmpdir.rb (Dir.mktmpdir): new method. [ruby-dev:31416]
17216 Wed Aug 15 18:57:30 2007 Koichi Sasada <ko1@atdot.net>
17218 * gc.c (os_live_obj): fix to skip T_VALUES.
17220 * sample/test.rb: add an ObjectSpace test.
17222 Wed Aug 15 16:49:04 2007 Koichi Sasada <ko1@atdot.net>
17224 * inits.c (rb_call_inits): change initializing order.
17227 Wed Aug 15 16:44:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17229 * io.c (ARGF_FORWARD): wrongly compares with current_file with
17230 rb_stdout. should be rb_stdin. [ruby-cvs:20177]
17232 Wed Aug 15 14:59:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17234 * io.c (rb_io_initialize, argf_each_line, argf_each_byte): suppress
17237 Wed Aug 15 14:22:05 2007 Koichi Sasada <ko1@atdot.net>
17239 * parse.y: remove "//" type comment.
17241 Wed Aug 15 13:42:15 2007 Koichi Sasada <ko1@atdot.net>
17243 * parse.y: fix rules around f_margs. "make test" passes all tests.
17245 * bootstraptest/test_block.rb: add some tests for above.
17247 Wed Aug 15 13:50:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17249 * hash.c (rb_hash_delete_key): delete the entry without calling block.
17251 * hash.c (rb_hash_shift): should consider iter_lev too.
17253 * hash.c (delete_if_i): use rb_hash_delete_key() so that the block
17254 isn't called twice. [ruby-core:11556]
17256 Wed Aug 15 13:39:25 2007 Koichi Sasada <ko1@atdot.net>
17258 * process.c (proc_geteuid): fix strange conversion. [ruby-dev:31417]
17260 Wed Aug 15 01:05:55 2007 Tanaka Akira <akr@fsij.org>
17262 * bootstraptest/runner.rb (assert_check): don't call newtest.
17263 (assert_equal): call newtest.
17264 (assert_match): ditto.
17266 Tue Aug 14 21:43:39 2007 Tanaka Akira <akr@fsij.org>
17268 * bootstraptest/runner.rb (assert_check): new method.
17269 (assert_match): new method.
17270 (assert_equal): use assert_check.
17271 (pretty): give failure description as an argument.
17273 * bootstraptest/test_exception.rb: use assert_match to describe the
17274 test for [ruby-dev:31407]. [ruby-dev:31412]
17276 Tue Aug 14 19:53:15 2007 Koichi Sasada <ko1@atdot.net>
17278 * proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: move
17279 init place of exception_error.
17283 * eval.c (Init_eval): set exception_error#throwed_state as TAG_FATAL.
17286 * bootstraptest/test_exception.rb: add a test for above.
17288 Tue Aug 14 19:51:20 2007 Koichi Sasada <ko1@atdot.net>
17290 * common.mk: change test order (test -> btest).
17292 Tue Aug 14 00:04:27 2007 Kouhei Sutou <kou@cozmixng.org>
17294 * lib/rss/rss.rb: 0.1.8 -> 0.1.9.
17296 * test/rss/test_version.rb: followed the above change.
17298 * lib/rss/parser.rb: fixed a bug that handles unintended elements.
17299 Thanks to Takuo Yonezawa. [ruby-list:43841]
17301 Mon Aug 13 17:23:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17303 * eval.c (rb_clear_trace_func, rb_thread_stop_timer_thread):
17304 declarations for forward references.
17306 * eval.c (rb_longjmp, eval): use local variable.
17308 * eval.c (rb_longjmp): string object not to be optimized.
17310 Mon Aug 13 13:21:58 2007 Tanaka Akira <akr@fsij.org>
17312 * lib/open-uri.rb: make ftp passive mode to avoid NAT problem.
17315 Mon Aug 13 09:18:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17317 * ext/stringio/stringio.c (strio_getc): should returns
17318 one-character string.
17320 * ext/stringio/stringio.c: remove unnecessary prototypes.
17322 * ext/stringio/stringio.c (strio_getbyte): new method.
17324 * ext/stringio/stringio.c (strio_readbyte): new method.
17326 * ext/stringio/stringio.c (strio_ungetc): should take a string as
17329 Mon Aug 13 08:19:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17331 * io.c (argf_close): always close via method.
17333 * io.c (Init_IO): remove obsolete Kernel#getc.
17335 Mon Aug 13 05:03:53 2007 Koichi Sasada <ko1@atdot.net>
17337 * thread.c (rb_thread_raise): check if target thread is
17338 thrown by another thread or not. [ruby-dev:31371]
17340 * bootstraptest/test_thread.rb: add a test for above.
17342 Mon Aug 13 04:35:30 2007 Koichi Sasada <ko1@atdot.net>
17344 * compile.c (iseq_peephole_optimize): fix peephole optimization
17345 bug. [ruby-dev:31360]
17347 * bootstraptest/test_syntax.rb: add a test for above.
17349 Mon Aug 13 04:02:29 2007 Koichi Sasada <ko1@atdot.net>
17351 * vm_dump.c (debug_print_pre): fix to show control frame count.
17353 * insns.def (opt_call_c_function): fix operand type.
17355 * lib/vm/instruction.rb: ditto.
17357 * insnhelper.ci (vm_push_frame, vm_pop_frame): fix to show
17358 control stack status on if VMDEBUG == 2.
17360 * vm.h: add a comment about VMDEBUG.
17362 * iseq.c (find_prev_line_no): fix to skip bug report if
17365 * lib/vm/instruction.rb: fix to use build_string() on
17366 source code generators.
17368 Mon Aug 13 03:57:32 2007 Koichi Sasada <ko1@atdot.net>
17370 * template/yasmdata.rb.tmpl: fix type and name.
17372 Sat Aug 11 23:27:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17374 * io.c (argf_each_line): should use #each_line, not #each.
17376 * io.c (argf_each_line): simplified.
17378 * io.c (argf_getline): should handle non T_FILE object in ARGV.
17380 * io.c (argf_each_byte): each_byte should yield bytes not
17381 one-character strings. [ruby-dev:31374]
17383 Sat Aug 11 07:24:55 2007 Tadayoshi Funaba <tadf@dotrb.org>
17385 * lib/date/format.rb: reverted some wrongly erased "o" options
17386 (pointed out by nobu).
17388 Sat Aug 11 00:01:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17390 * thread.c (thread_start_func_2): not re-raise to main thread if it is
17391 joining the current thread.
17393 Fri Aug 10 23:54:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17395 * thread.c (thread_create_core): inherit the priority of creating
17396 thread. submitted at [ruby-core:11873] by David Flanagan <david AT
17397 davidflanagan.com>. [ruby-core:11876]
17399 Fri Aug 10 05:12:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17401 * thread.c (thread_start_func_2): let abort_on_exception work.
17404 Fri Aug 10 04:47:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17406 * parse.y (internal_id_gen): internal ID must be bigger than
17409 Thu Aug 9 16:04:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17411 * parse.y (stmt): check if rhs has value before assignment instead
17412 inside node_assign_gen(). [ruby-dev:31293]
17414 * parse.y (call_bin_op_gen, call_uni_op_gen): split call_op_gen.
17416 Thu Aug 9 14:01:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17418 * parse.y (f_marg_list): renamed from f_marg_head.
17420 * parse.y (f_margs): allow multiple mandatory arguments after a splat.
17423 Thu Aug 9 02:02:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17425 * enum.c (enum_cycle): typo fixed. a patch from Kazuhiro
17426 NISHIYAMA <zn AT mbf.nifty.com>. [ruby-dev:31362]
17428 Wed Aug 8 19:17:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17430 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): no longer check
17431 HAVE_RB_IO_STDIO_FILE.
17433 Wed Aug 8 15:52:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17435 * enumerator.c (enumerator_next_p): should check correctly even when
17436 e.next has not been called before.
17438 * enumerator.c (enumerator_next): raise StopIteration (name taken
17439 from Python) instead of IndexError.
17441 * enum.c (enum_zip): catch StopIteration exception.
17443 * enumerator.c (enumerator_with_index): return Enumerator if no
17446 * test/ruby/test_iterator.rb (TestIterator::test_enumerator): add
17447 test for enumerators.
17449 Wed Aug 8 11:48:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17451 * bignum.c (rb_big2str0): should not use RTEST for non-VALUE.
17453 Wed Aug 8 11:25:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
17455 * bignum.c (rb_big2str0): should preserve sign mark.
17457 Wed Aug 8 11:02:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17459 * common.mk (btest-miniruby, test-sample): split the test target
17460 so that -k option works.
17462 Tue Aug 7 14:58:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17464 * ext/pty/pty.c (establishShell): handshaking before close slave
17465 device. [ruby-talk:263410]
17467 * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): constified.
17469 * ext/pty/pty.c (SlaveName): removed static buffer.
17471 * ext/pty/expect_sample.rb: support for autologin.
17473 Tue Aug 7 13:58:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17475 * include/ruby/ruby.h (ruby_special_consts): added RUBY_SPECIAL_SHIFT.
17477 * .gdbinit: some improvements.
17479 Tue Aug 7 13:28:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17481 * common.mk (node_name.inc): use $? instead of $< for nmake.
17484 Tue Aug 7 12:45:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17486 * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.
17489 Tue Aug 7 12:31:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17491 * io.c (pipe_open): fix for win32 platforms.
17493 Tue Aug 7 02:58:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17495 * bignum.c (rb_big2str0): make Bignum#to_s even faster. a patch
17496 from Kenta Murata <muraken AT gmail.com>. [ruby-dev:31354]
17498 Tue Aug 7 01:42:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17500 * enum.c (enum_zip): zip no longer converts arguments into
17501 arrays, uses enumerators.
17503 Tue Aug 7 01:27:47 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17505 * cont.c (rb_fiber_yield): change argument ordering. export.
17507 * cont.c (rb_fiber_current): export
17509 * include/ruby/intern.h: export several functions from cont.c.
17511 * enumerator.c (enumerator_next): new method to implement external
17512 iterator (generator) using fiber.
17514 * enumerator.c (enumerator_next_p): new method to check whether
17515 any element is left in the generator sequence.
17517 * enumerator.c (enumerator_rewind): a new method to rewind the
17518 generator sequence.
17520 Tue Aug 7 01:15:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17522 * enum.c (enum_cycle): new method to cycle enumerable forever.
17524 Tue Aug 7 00:05:38 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
17526 * irb/ruby-lex.rb: support for '\c'. [ruby-talk:263508]
17528 Mon Aug 6 20:29:22 2007 Koichi Sasada <ko1@atdot.net>
17530 * insnhelper.ci, insns.def: move some statements to functions.
17532 * vm.c, vm.h, vm_evalbody.ci: fix include/typedef places.
17534 Mon Aug 6 18:41:12 2007 Koichi Sasada <ko1@atdot.net>
17536 * lib/vm/instruction.rb (make_header_analysys): fix last commit.
17538 Mon Aug 6 18:33:22 2007 Koichi Sasada <ko1@atdot.net>
17540 * lib/vm/instruction.rb (make_header_analysys): add to separate
17541 header addition process.
17543 Mon Aug 6 17:36:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17545 * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.
17547 Mon Aug 6 16:57:08 2007 Koichi Sasada <ko1@atdot.net>
17549 * sample/test.rb: fix to output file name if it contains
17552 Mon Aug 6 16:41:22 2007 Koichi Sasada <ko1@atdot.net>
17554 * parse.y (value_expr_gen): fix to cause "void value expression"
17555 when jump expression such as "next" are shown on value_expr().
17558 * bootstraptest/test_syntax.rb: fix to above change.
17560 Mon Aug 6 14:36:30 2007 Koichi Sasada <ko1@atdot.net>
17562 * parse.y: fix a f_marg rule. [ruby-dev:31160]
17564 Mon Aug 6 14:29:30 2007 Koichi Sasada <ko1@atdot.net>
17566 * bootstraptest/runner.rb (assert_equal): add additional
17569 Mon Aug 6 13:34:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17571 * common.mk (INSNS): not chdir to srcdir.
17573 * common.mk (node_name.inc): auto-generate node name list.
17575 * iseq.c (ruby_node_name): ditto.
17577 * iseq.c (iseq_s_compile_option_get, Init_ISeq): added a new
17578 method VM::InstructionSequence::compile_option.
17580 * lib/vm/instruction.rb (RubyVM::SourceCodeGenerator): --destdir
17583 * tool/node_name.rb: to auto-generate node name list.
17585 Sun Aug 5 11:51:39 2007 Kouhei Sutou <kou@cozmixng.org>
17587 * lib/rss, sample/rss, test/rss:
17589 - supported <itunes:XXX>.
17590 - reverted backward incompatibility API changes introduced 0.1.7.
17592 Sun Aug 5 04:56:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17594 * io.c (pipe_open_v, pipe_open_s): separate array and string
17595 cases. [ruby-dev:31344]
17597 Fri Aug 3 11:05:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17599 * ext/extmk.rb (extmake): save all CONFIG values.
17601 * ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at
17602 distclean, respectively.
17604 * ext/extmk.rb: remove rdoc at clean, and installed list file at
17605 distclean, respectively.
17607 Fri Aug 3 07:09:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17609 * lib/mkmf.rb: more verbose message. [ruby-Bugs-12766]
17611 * lib/mkmf.rb (have_type): suppress a warning with -Wall.
17613 * lib/mkmf.rb (find_type): new method.
17615 Fri Aug 3 00:00:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17617 * bignum.c (big2str_table): base cannot be 0 or 1.
17619 Thu Aug 2 23:42:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17621 * parse.y (reg_compile_gen): set error if failed to compile regexp
17622 literal. [ruby-dev:31336]
17624 * re.c (option_to_str, arg_kcode, opt_kcode): options conversion
17625 between int and string.
17627 * re.c (rb_reg_compile): should not use regexp which could not get
17628 initialized. [ruby-dev:31333]
17629 return error message to let the parser know it.
17631 * re.c (rb_reg_compile): append regexp options to error message.
17634 Thu Aug 2 22:05:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17636 * bignum.c (rb_big2str0): faster Bignum#to_s using Karatsuba
17637 algorithm. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
17638 in [ruby-dev:31312], slightly modified by Kenta Murata
17639 <muraken AT gmail.com> in [ruby-dev:31339].
17641 Thu Aug 2 13:46:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17643 * sprintf.c (rb_f_sprintf): should not check positional number as
17644 width. [ruby-core:11838]
17646 Wed Aug 1 12:40:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17648 * generic.rb (URI::Generic::merge_path): behave as RFC 3986.
17651 Tue Jul 31 23:38:09 2007 Tadayoshi Funaba <tadf@dotrb.org>
17653 * lib/date/format.rb (_parse): now interprets slashed numerical
17654 dates as a big endian (except dd/mm/yyyy). [experimental]
17656 Mon Jul 30 11:16:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17658 * bignum.c (rb_big_aref): check for Bignum index range.
17661 Sat Jul 28 09:35:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17663 * ext/digest/lib/digest.rb (Digest::self.const_missing): avoid
17664 infinite recursive const_missing call. [ruby-talk:262193]
17666 Thu Jul 26 20:40:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17668 * range.c (range_eqq): call_super() in === does not work well
17669 since Enumerable#=== has different behavior. [ruby-dev:31296]
17671 Thu Jul 26 13:57:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17673 * dln.c (load_1, dln_find_1): constified.
17675 * dln.c (conv_to_posix_path): removed.
17677 * ruby.c (usage): constified.
17679 * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return
17680 VALUE instead of a pointer to static buffer.
17682 * ruby.c (push_include_cygwin): fixed buffer overflow.
17685 * ruby.c (ruby_init_loadpath): not convert built-in paths.
17687 Tue Jul 24 10:37:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17689 * io.c (rb_f_p): return nil if no argument. [ruby-dev:31285]
17691 Tue Jul 24 01:05:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17693 * regint.h (USE_MATCH_RANGE_IS_COMPLETE_RANGE): undef to achieve old
17694 rindex behavior. [ruby-dev:31265]
17696 Mon Jul 23 18:37:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17698 * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes
17699 some memory violation. [ruby-dev:31070]
17701 Sun Jul 22 20:09:49 2007 Tadayoshi Funaba <tadf@dotrb.org>
17703 * lib/date/format.rb (Date._parse): now accepts some new
17704 hints. [experimental]
17706 * lib/parsedate.rb: followed the changes on
17707 lib/date/format.rb. [experimental]
17709 Sun Jul 22 16:06:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17711 * thread.c (is_ruby_native_thread): made an int function as
17712 well as version 1.8.
17714 * include/ruby/ruby.h (is_ruby_native_thread): moved prototype
17715 from intern.h as well as version 1.8.
17717 Sun Jul 22 14:33:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17719 * file.c (rb_file_s_rename): deleted code to get rid of a bug of
17722 * file.c (rb_file_truncate): added prototype of GetLastError()
17723 on cygwin. [ruby-dev:31239]
17725 * include/ruby/intern.h (is_ruby_native_thread): prototype.
17727 * missing/strftime.c (strftime): fix printf format and actual
17730 * ext/Win32API/Win32API.c (Win32API_initialize): ditto.
17732 * ext/tk/tcltklib.c (ip_finalize): ditto.
17734 * ext/win32ole/win32ole.c (lcid_installed): ditto.
17736 * ext/socket/getnameinfo.c: include stdio.h always.
17738 Sat Jul 21 21:39:12 2007 Tadayoshi Funaba <tadf@dotrb.org>
17740 * lib/date.rb, lib/date/format.rb (Date._parse): now can take some
17741 hints (its aim must be mainly determination of endianness of
17742 date). [experimental]
17744 * lib/date.rb, lib/date/format.rb (Date._parse): now completes
17745 truncated year as default action. [experimental]
17747 * lib/date.rb, lib/date/format.rb: added ::iso8601, ::rfc3339,
17748 ::xmlschema, ::rfc2822, ::httpdate, ::jisx0301, #xmlschema,
17749 #httpdate. [experimental]
17751 Sat Jul 21 17:48:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17753 * common.mk: inverted rules order.
17755 * thread_win32.ci (w32_create_thread): bcc does not have
17758 * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_H
17759 only if extconf.h is created.
17761 * bcc32/Makefile.sub: headers have moved.
17763 * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_args
17766 * bcc32/setup.mak: check runtime version.
17768 * win32/win32.c (rb_w32_open_osfhandle): prototype has changed
17771 * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.
17773 * win32/resource.rb: include patchlevel number.
17775 Sat Jul 21 12:06:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17777 * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.
17779 Sat Jul 21 01:45:03 2007 Tadayoshi Funaba <tadf@dotrb.org>
17781 * lib/date/format.rb (Date._parse): completes calendar week based year.
17783 * lib/date/format.rb (Date._parse): detects year of ordinal date in
17786 Fri Jul 20 16:30:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17788 * compile.c (iseq_set_sequence): raise SyntaxError instead of rb_bug
17789 since this function can be called from VM::InstructionSequence.load.
17791 * compile.c (insn_set_sc_state, iseq_set_sequence_stackcaching): ditto.
17793 Fri Jul 20 16:11:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17795 * compile.c, compile.h (DECL_ANCHOR, INIT_ANCHOR): split not to
17796 initialize aggregations with dynamic values. [ruby-talk:259306]
17798 * eval.c (rb_protect): not to initialize aggregations with dynamic
17799 values. [ruby-talk:259306]
17801 * gc.c (mark_current_machine_context): ditto.
17803 * thread.c (thgroup_list, call_trace_func): ditto.
17805 * vm.c (vm_init_redefined_flag): ditto.
17807 Fri Jul 20 15:22:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17809 * ext/openssl/ossl_config.c (ossl_config_set_section): do not
17810 initialize aggregations with dynamic values. [ruby-talk:259306]
17812 Fri Jul 20 10:39:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17814 * parse.y (stmt, mlhs_node, lhs, arg, var_ref): return dummy
17815 NODE_BEGIN after errors. [ruby-dev:31100], [ruby-dev:31118]
17817 * parse.y (remove_begin): keep empty NODE_BEGIN, instead of null.
17818 [ruby-dev:31252], [ruby-dev:31263]
17820 Fri Jul 20 09:50:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17822 * bootstraptest/runner.rb (get_result_string): check $?.coredump?
17825 * bootstraptest/runner.rb (cleanup_coredump, check_coredump): see
17826 stackdump file too.
17828 Thu Jul 19 20:39:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17830 * parse.y (value_expr_gen): warn for empty expression ().
17833 Thu Jul 19 19:24:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17835 * eval_error.ci (get_backtrace): check the result more.
17836 [ruby-dev:31261] [ruby-bugs-12398]
17838 Thu Jul 19 14:38:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17840 * bignum.c (rb_big_lshift, rb_big_rshift): separated functions
17841 to get rid of infinite recursion. fixed calculation in edge
17842 cases. [ruby-dev:31244]
17844 * numeric.c (rb_fix_lshift, rb_fix_rshift): ditto.
17846 Wed Jul 18 16:57:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17848 * bignum.c (rb_big_pow): refine overflow check. [ruby-dev:31242]
17850 Wed Jul 18 09:19:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17852 * parse.y (rb_parser_append_print, rb_parser_while_loop): moved check
17853 for node to the head.
17855 * ruby.c (proc_options): do nothing for -p/-n options if tree is null.
17856 submitted by Yusuke ENDOH <mame AT tsg.ne.jp> at [ruby-dev:31243].
17858 Wed Jul 18 08:47:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17860 * time.c (time_succ): Time#succ should return a time object in the
17861 same timezone mode to the original. [ruby-talk:260256]
17863 Mon Jul 16 23:07:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17865 * lib/base64.rb (Base64::b64encode): should not specify /o option
17866 for regular expression. [ruby-dev:31221]
17868 Mon Jul 16 22:57:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17870 * sprintf.c (rb_str_format): make %u behave like %d for negative
17871 values, since decimal format does not work with preceding dots.
17874 Mon Jul 16 18:29:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17876 * string.c (rb_str_rindex_m): accept string-like object convertible
17877 with #to_str method, as well as rb_str_index_m. [ruby-core:11692]
17879 Mon Jul 16 07:17:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17881 * insns.def (getspecial): lfp_svar_get() requires int for special
17884 Mon Jul 16 05:45:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17886 * sprintf.c (rb_f_sprintf): more checks for format argument.
17887 [ruby-core:11569], [ruby-core:11570], [ruby-core:11571],
17890 Mon Jul 16 00:26:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17892 * bignum.c (rb_big_pow): removed invariant variable. [ruby-dev:31236]
17894 Sun Jul 15 22:24:37 2007 pegacorn <subscriber.jp AT gmail.com>
17896 * ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222]
17898 * ext/digest/digest.c (rb_digest_instance_update,
17899 rb_digest_instance_finish, rb_digest_instance_reset,
17900 rb_digest_instance_block_length): %s in rb_raise() expects char*.
17903 * ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231]
17905 * ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231]
17907 * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise()
17908 instead of rb_raise(). [ruby-dev:31222]
17910 * ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232]
17912 * ext/syck/syck.h: include stdlib.h for malloc() and free().
17915 * ext/syck/syck.h (syck_parser_set_input_type): prototype added.
17918 * win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232]
17920 * include/ruby/win32.h (rb_w32_getcwd): prototype added.
17923 Sun Jul 15 21:07:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17925 * bignum.c (bigtrunc): do not empty Bignum. [ruby-dev:31229]
17927 Sun Jul 15 19:05:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17929 * bignum.c (rb_cstr_to_inum): check leading non-digits.
17932 Sun Jul 15 04:42:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17934 * bignum.c (get2comp): do nothing for empty Bignum. [ruby-dev:31225]
17936 Sat Jul 14 22:49:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17938 * numeric.c (fix_pow): integer power calculation: 0**n => 0,
17939 1**n => 1, -1**n => 1 (n: even) / -1 (n: odd).
17941 * test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test
17942 suite. pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf.
17944 Sat Jul 14 18:46:35 2007 Tanaka Akira <akr@fsij.org>
17946 * configure.in: add --with-valgrind.
17948 * gc.h (SET_MACHINE_STACK_END): new macro to replace
17949 rb_gc_set_stack_end. it find out accurate stack boundary by
17950 asm using gcc on x86.
17952 * thread.c (rb_gc_set_stack_end): don't define if asm-version
17953 SET_MACHINE_STACK_END is available.
17955 * gc.c (mark_current_machine_context): extracted from garbage_collect.
17956 it use SET_MACHINE_STACK_END to not scan out of stack area.
17957 it notify conservative GC information to valgrind if
17960 Sat Jul 14 14:04:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
17962 * enum.c (sort_by_cmp): check if reentered. [ruby-dev:24291]
17964 Sat Jul 14 11:08:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17966 * ext/json/ext/generator/generator.c (check_max_nesting): wrong
17967 format specifier. a patch from pegacorn <subscriber.jp AT gmail.com>.
17970 Sat Jul 14 02:27:43 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17972 * numeric.c (int_pow): overflow detection using FIT_SQRT_LONG().
17975 Sat Jul 14 02:05:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17977 * insns.def (opt_div): LONG2FIX() may not work for corner cases,
17978 use LONG2NUM() instead. [ruby-dev:31210]
17980 Sat Jul 14 00:34:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17982 * numeric.c (int_round): should not return false, but self.
17985 Fri Jul 13 18:31:27 2007 Koichi Sasada <ko1@atdot.net>
17987 * include/ruby/intern.h: remove unused function declarations.
17989 * include/ruby/ruby.h: ditto.
17991 Fri Jul 13 17:32:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
17993 * vm.c (vm_free): clear free'ed living_threads field.
17996 * insns.def (opt_succ): use cast to shut a warning up.
17998 Fri Jul 13 16:10:00 2007 Tanaka Akira <akr@fsij.org>
18000 * lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to access
18001 http_proxy environment variable to avoid case insensitive
18002 environment search.
18004 Fri Jul 13 15:02:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18006 * win32/win32.c (CreateChild): enclose command line except for
18007 command.com which can not handle quotes. [ruby-talk:258939]
18009 Fri Jul 13 11:33:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18011 * range.c (range_max, range_min): return nil for empty set as well as
18012 1.8 and Enumerable. [ruby-dev:31198]
18014 Fri Jul 13 11:28:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18016 * parse.y (bvar): semicolon was lost for ripper description.
18019 Fri Jul 13 11:25:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18021 * parse.y (program, stmt, primary): reduced duplicated code.
18023 * parse.y (dsym): convert also literals containing NUL to
18026 * parse.y (debug_lines): use rb_hash_lookup() to get rid of
18027 call of Hash#default.
18029 * parse.y (ripper_warningS): unused in ripper right now.
18031 Fri Jul 13 10:33:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18033 * array.c (rb_ary_flatten_bang): check argument if valid
18034 integer. [ruby-dev:31197]
18036 Fri Jul 13 10:10:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18038 * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expand
18039 ::CONFIG which is an alias of MAKEFILE_CONFIG.
18041 Thu Jul 12 21:38:02 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18043 * insns.def (opt_succ): use LONG_MAX as maximum Fixnum VALUE.
18046 Thu Jul 12 18:42:18 2007 Tanaka Akira <akr@fsij.org>
18048 * range.c (range_max): use FIX2LONG instead of FIX2INT to avoid
18049 RangeError by ((-0x80000001)...(-0x80000001)).max on LP64.
18051 * insns.def (opt_plus): use FIX2LONG instead of FIX2INT to avoid
18052 RangeError by 0x3fffffffffffffff+1 on LP64.
18054 * insns.def (opt_succ): don't use 0x80000000 which assumes 32bit VALUE.
18055 use FIX2LONG instead of FIX2INT.
18058 Thu Jul 12 17:03:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18060 * struct.c (rb_struct_init_copy): disallow changing the size.
18063 Thu Jul 12 12:58:21 2007 Koichi Sasada <ko1@atdot.net>
18065 * blockinlining.c: remove "yarv" prefix.
18067 * array.c, numeric.c: ditto.
18069 * insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
18071 * yarvcore.c: removed.
18073 * yarvcore.h: renamed to core.h.
18075 * cont.c, debug.c, error.c, process.c, signal.c : ditto.
18077 * ext/probeprofiler/probeprofiler.c: ditto.
18079 * id.c, id.h: added.
18083 * compile.c: rename internal functions.
18085 * compile.h: fix debug flag.
18087 * eval.c, object.c, vm.c: remove ruby_top_self.
18088 use rb_vm_top_self() instead.
18090 * eval_intern.h, eval_load: ditto.
18092 * gc.c: rename yarv_machine_stack_mark() to
18093 rb_gc_mark_machine_stack().
18095 * insnhelper.h: remove unused macros.
18097 * iseq.c: add iseq_compile() to create iseq object
18098 from source string.
18100 * proc.c: rename a internal function.
18102 * template/insns.inc.tmpl: remove YARV prefix.
18104 * thread.c: use rb_iseq_eval() and rb_str_new2().
18106 * vm.c (rb_iseq_eval): added.
18108 * vm.c: move some functions from yarvcore.c.
18110 * vm_dump.c: fix to remove compiler warning.
18112 Thu Jul 12 12:24:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18114 * insns.def (opt_succ): fixed typo. [ruby-dev:31189]
18116 Thu Jul 12 10:30:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18118 * thread.c (thread_start_func_2): moved prototye from thread_*.ci.
18120 * thread_pthread.ci (thread_start_func_2): not use a directive
18121 inside a macro argument. [ruby-talk:258763]
18123 * thread.c (thread_join): pthread_t may not be pointer.
18125 * thread_pthread.ci (ubf_select_each): ditto.
18127 Thu Jul 12 05:32:28 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18129 * include/ruby/ruby.h (FIX2ULONG): drop sign bit for LLP64 platform.
18131 Tue Jul 10 19:34:45 2007 Koichi Sasada <ko1@atdot.net>
18133 * hash.c (rb_hash_lookup): added. this function is similar to
18134 rb_hash_aref(), but doesn't call Hash#default when no entry
18137 * include/ruby/intern.h: ditto.
18139 * insnhelper.ci (lfp_svar_get): use rb_hash_lookup().
18141 Tue Jul 10 19:16:28 2007 Koichi Sasada <ko1@atdot.net>
18143 * eval.c, insnhelper.ci, vm.c: change cref index (-1 -> 2).
18145 Tue Jul 10 18:49:56 2007 Koichi Sasada <ko1@atdot.net>
18147 * eval.c (exec_under): add proper casts.
18149 Tue Jul 10 16:58:16 2007 Koichi Sasada <ko1@atdot.net>
18151 * vm.c, insnhelper.ci: fix svar interface.
18153 * compile.c (iseq_compile_each), yarvcore.h: fix to use new
18154 svar interface for flip flop.
18158 * insns.def: ditto.
18160 * include/ruby/intern.h: remove "rb_svar()" declaration.
18162 Tue Jul 10 16:52:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18164 * compile.c (rb_iseq_compile): formatted if/else to switch statement.
18166 Tue Jul 10 15:57:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18168 * bootstraptest/test_flip.rb: new test for flip-flop operator.
18170 Tue Jul 10 14:50:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18172 * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.
18174 Mon Jul 9 02:17:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18176 * cont.c (cont_restore_1): workaround for x64-mswin64's SEH.
18178 Sun Jul 8 02:08:53 2007 NARUSE, Yui <naruse@ruby-lang.org>
18180 * lib/json.rb, lib/json/, ext/json/: import JSON 1.1.1
18182 Sat Jul 7 21:59:29 2007 Tanaka Akira <akr@fsij.org>
18184 * lib/pp.rb (PP::PPMethods#pp_hash): sort condition changed:
18185 all keys have a same class which is kind of Comparable.
18187 Sat Jul 7 17:12:37 2007 Koichi Sasada <ko1@atdot.net>
18189 * compile.c: use rb_bug() instead of rb_compile_error().
18191 Sat Jul 7 16:12:48 2007 Koichi Sasada <ko1@atdot.net>
18193 * parse.y: fix node construction (around f_margs).
18196 * bootstraptest/test_block.rb: add a test for above.
18198 * insnhelper.ci: fix indent.
18200 Sat Jul 7 15:36:50 2007 Tanaka Akira <akr@fsij.org>
18202 * lib/pp.rb (PP::PPMethods#pp_hash): sort if
18203 all keys are strings, symbols or integers.
18205 Sat Jul 7 15:30:05 2007 Koichi Sasada <ko1@atdot.net>
18207 * insnhelper.ci (vm_yield_setup_args), vm.c, insns.def:
18208 fix to pass nil as block parameter to yielded block.
18211 * bootstraptest/test_block.rb: add a test for above.
18213 Fri Jul 6 19:55:10 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
18215 * lib/irb.rb: typo. Thanks, Giles Bowkett.
18217 * lib/irb/completion.rb: support Ruby1.9 changing return value
18218 String to Symbol for Object#methods, etc. [ruby-dev:31148].
18220 Fri Jul 6 18:20:50 2007 Koichi Sasada <ko1@atdot.net>
18222 * bootstraptest/runner.rb: fix load path.
18224 * common.mk: fix "test" rule to run with "btest".
18226 * rubytest.rb, sample/test.rb: fix to show tests progress.
18228 Fri Jul 6 15:37:48 2007 Koichi Sasada <ko1@atdot.net>
18230 * test/ruby/test_iterator.rb: fix test to 1.9 spec.
18232 Fri Jul 6 15:21:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18234 * eval.c (rb_interrupt): suppress a gcc's officious warning.
18236 Fri Jul 6 14:57:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18238 * parse.y (keyword_to_name): constified.
18240 * ext/ripper/eventids2.c (token_to_eventid): ditto.
18242 Fri Jul 6 14:50:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18244 * bootstraptest/runner.rb: added --quiet option.
18246 Fri Jul 6 14:35:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18248 * parse.y (f_marg): wrap f_norm_arg assignment node with NODE_LIST.
18251 Fri Jul 6 12:15:01 2007 Tanaka Akira <akr@fsij.org>
18253 * test/ruby/sentgen.rb: new file.
18255 * test/ruby/test_assignment.rb: tests implemented using assignment
18256 generator and emulator.
18258 Fri Jul 6 03:06:58 2007 Koichi Sasada <ko1@atdot.net>
18260 * insns.def: remove unused code.
18262 * compile.c (compile_massign): fix to invoke to_splat on
18263 splat rhs (example: *a = *nil). [ruby-dev:31136]
18265 * bootstraptest/test_massign.rb: add tests for above.
18267 * compile.c (iseq_compile_each): disable excess optimization.
18270 Fri Jul 6 02:08:25 2007 Koichi Sasada <ko1@atdot.net>
18272 * insns.def: fix to invoke nil.to_splat on NODE_ARGSCAT.
18275 * bootstraptest/test_literal.rb: add tests for above.
18277 Thu Jul 5 19:45:55 2007 Koichi Sasada <ko1@atdot.net>
18279 * yarvcore.h: rename rb_control_frame_t#magic to flag.
18281 * vm.h: add VM_FRAME_TYPE() and VM_FRAME_FLAG().
18283 * cont.c, insnhelper.ci, insns.def, vm.c, vm_dump.c,
18284 vm_evalbody.ci, yarvcore.c: apply above changes.
18286 Thu Jul 5 19:16:14 2007 Koichi Sasada <ko1@atdot.net>
18288 * test/ruby/test_basicinstructions.rb: remove an assertion using
18289 unsupported hash literal (such as {1, 2}).
18291 * test/ruby/test_hash.rb: ditto.
18293 Thu Jul 5 19:12:22 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18295 * ruby.c: Qfalse is VALUE, not pointer.
18297 Thu Jul 5 18:42:01 2007 Koichi Sasada <ko1@atdot.net>
18299 * compile.c (iseq_compile_each): add break catch point.
18301 * insns.def (throw): support correct "break" and "return".
18302 this commit achieve that "make test" passes all tests.
18306 Thu Jul 5 18:44:12 2007 Tanaka Akira <akr@fsij.org>
18308 * parse.y (mlhs_basic): use mlhs_post after tSTAR.
18311 Thu Jul 5 18:27:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18313 * include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,
18314 eval_load.c, gc.c, iseq.c, main.c, parse.y, re.c, ruby.c,
18315 yarvcore.[ch] (ruby_eval_tree, ruby_sourcefile, ruby_sourceline,
18316 ruby_nerrs): purge global variables.
18318 * ruby.c (proc_options): moved do_print and do_loop options
18319 handling from ruby_process_options().
18321 Thu Jul 5 16:37:34 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18323 * numeric.c (int_pow): fix previous nubu's commit.
18325 * test/ruby/test_fixnum.rb: new test.
18327 Thu Jul 5 15:56:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18329 * numeric.c (int_pow): even number multiplication never be negative.
18331 Thu Jul 5 10:42:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18333 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
18334 support. [ruby-dev:31066]
18336 * .gdbinit: some improvements.
18338 Thu Jul 5 10:13:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18340 * parse.y (global_symbols.last_id): reduce unused ID numbers.
18342 * include/ruby/st.h, st.c (st_init_table, st_init_table_with_size):
18345 Wed Jul 4 23:36:27 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
18347 * lib/webrick/httpauth/authenticator.rb
18348 (WEBrick::HTTPAuth::Authenticator#check_scheme): auth-scheme must be
18349 treated as a case-insensitive token according to RFC 2617 section 1.2.
18351 Wed Jul 4 18:30:04 2007 Tanaka Akira <akr@fsij.org>
18353 * parse.y (mlhs_inner): new rule. [ruby-dev:31132]
18355 Wed Jul 4 05:11:57 2007 Koichi Sasada <ko1@atdot.net>
18357 * iseq.c (set_relation): added.
18359 Wed Jul 4 04:58:30 2007 Koichi Sasada <ko1@atdot.net>
18361 * insnhelper.ci (caller_setup_args): fix to show correct class
18362 on an error message (ex: m(&1)). [ruby-dev:31101]
18364 Wed Jul 4 04:30:32 2007 Koichi Sasada <ko1@atdot.net>
18366 * compile.c (compile_array, iseq_compile_each): fix about array
18367 generation in void context. [ruby-dev:31102]
18369 * bootstraptest/test_literal.rb: add a test for above.
18371 Wed Jul 4 04:07:00 2007 Koichi Sasada <ko1@atdot.net>
18373 * compile.c (compile_array): ignore NODE_ZARRAY.
18376 * bootstraptest/test_method.rb: add a test for above.
18378 Wed Jul 4 04:04:02 2007 Koichi Sasada <ko1@atdot.net>
18380 * compile.h: fix debug print level.
18382 Wed Jul 4 03:52:55 2007 Koichi Sasada <ko1@atdot.net>
18384 * compile.c (iseq_compile_each): support v[&b]= type method call.
18387 * bootstraptest/test_method.rb: add a test for above.
18389 Wed Jul 4 03:43:29 2007 Koichi Sasada <ko1@atdot.net>
18391 * compile.c (compile_massign): fix massign compilation
18392 (example: a, *v, (*x) = ...). [ruby-dev:31107]
18394 * bootstraptest/test_massign.rb: add tests for above.
18396 Tue Jul 3 23:12:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18398 * include/ruby/onigiruma.h (ONIG_EXTERN): use RUBY_EXTERN if defined.
18400 * regenc.h: include ruby/defines.h.
18402 * regint.h: x64-mswin64 support.
18404 Tue Jul 3 13:47:44 2007 Koichi Sasada <ko1@atdot.net>
18406 * cont.c (cont_save_machine_stack): clear saved_thread.machine_stack*.
18408 Mon Jul 2 21:45:53 2007 Koichi Sasada <ko1@atdot.net>
18410 * compile.c: rename iseq_translate_direct_threaded_code()
18411 to iseq_translate_threaded_code().
18413 * eval_intern.h, yarvcore.h: mv EXEC_EVENT_HOOK() and
18414 exec_event_hooks() to yarvcore.h.
18416 * insnhelper.ci, vm.c: mv yarv_finish_insn_seq to vm.c.
18418 * insns.def (opt_call_c_function): fix to use RESTORE_REGS().
18420 * iseq.c (rb_iseq_build_for_ruby2cext): fix to allocate iseq.
18422 Mon Jul 2 11:59:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18424 * insns.def (defineclass): suppress a warning.
18426 * insns.def (opt_call_c_function): should raise the thrown exception
18427 instead of returning it.
18429 Mon Jul 2 08:53:47 2007 Koichi Sasada <ko1@atdot.net>
18431 * eval_intern.h, yarvcore.h: move declaration of sysstack_error
18434 * iseq.c: fix symbol name (:toplevel -> :top).
18436 * lib/vm/instruction.rb, template/vm.inc.tmpl: replaceable
18439 Mon Jul 2 05:29:07 2007 Koichi Sasada <ko1@atdot.net>
18441 * compile.c, iseq.c: fix iseq some of load/store process.
18443 Mon Jul 2 03:09:36 2007 Koichi Sasada <ko1@atdot.net>
18445 * yarvcore.h, compile.c, insnhelper.ci, iseq.c, vm.c:
18446 rename structure names and field names.
18448 * insnhelper.h, insns.def: add GET_CONST_INLINE_CACHE().
18450 * iseq.c: add rb_iseq_build_for_ruby2cext().
18452 * yarvcore.h, vm.h: move declaration of rb_insn_func_t
18455 Sun Jul 1 03:25:53 2007 Koichi Sasada <ko1@atdot.net>
18457 * insnhelper.h, vm.h: some refactoring.
18458 remove useless comments, etc.
18460 Sun Jul 1 03:02:29 2007 Koichi Sasada <ko1@atdot.net>
18462 * yarvcore.h: some refactoring on rb_iseq_t.
18463 rename some variable names, add comments, etc.
18465 * compile.c, iseq.c, proc.c, vm.c: ditto.
18467 Sun Jul 1 02:57:57 2007 Koichi Sasada <ko1@atdot.net>
18469 * vm.h: rename insn_func_type to rb_insn_func_type.
18471 * vm_evalbody.ci: ditto.
18473 * insns.def: add opt_call_native_compiled instruction
18474 instead of opt_call_native_compiled.
18476 Sat Jun 30 00:17:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18478 * parse.y (parser_yylex): return non-valid token for an invalid
18479 instance/class variable name. a patch from Yusuke ENDOH
18480 <mame AT tsg.ne.jp>. [ruby-dev:31095]
18482 Fri Jun 29 23:38:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18484 * parse.y (stmts): fix for ripper.
18486 Fri Jun 29 21:55:48 2007 Koichi Sasada <ko1@atdot.net>
18488 * parse.y: fix to show line number of blank block.
18491 Fri Jun 29 20:51:04 2007 Tanaka Akira <akr@fsij.org>
18493 * lib/cgi/session.rb (create_new_id): don't cut off md5.hexdigest to
18496 Fri Jun 29 17:10:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18498 * debug.h: constified.
18500 * debug.c (ruby_set_debug_option): separated from main.c.
18502 * gc.c (ruby_gc_stress), signal.c (ruby_enable_coredump): prefixed.
18504 Fri Jun 29 16:39:06 2007 Koichi Sasada <ko1@atdot.net>
18506 * proc.c (proc_new): fix to return a proc object
18507 which block is contained ([ruby-dev:31056]).
18509 Fri Jun 29 15:43:59 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18511 * numeric.c (fix_pow): get rid of division by zero. reported by
18512 Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:31040]
18514 * numeric.c (int_round): do nothing when rounding by zeroth digit.
18515 check underflow. [ruby-dev:31043]
18517 Fri Jun 29 15:32:00 2007 Koichi Sasada <ko1@atdot.net>
18519 * configure.in: add fastcall attribute check.
18521 Fri Jun 29 14:51:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18523 * parse.y (assoc_list): remove expanded hash literal (no splat).
18525 * lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::EOFError): adapt
18528 Fri Jun 29 14:48:18 2007 Koichi Sasada <ko1@atdot.net>
18530 * tool/insns2vm.rb, lib/vm/instruction.rb: move process body
18531 to lib/vm/instruction.rb.
18533 * common.mk: fix aotc rule.
18534 experimental. bin/ruby2cext is not added yet.
18536 Fri Jun 29 11:23:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18538 * parse.y (dsym): return non-null NODE even if yyerror(). based on a
18539 patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085]
18541 Thu Jun 28 23:29:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18543 * parse.y (assoc_list): odd number check only for NODE_ARRAY.
18546 Thu Jun 28 22:24:33 2007 Koichi Sasada <ko1@atdot.net>
18548 * win32/Makefile.sub: define FUNC_FASTCALL macro.
18550 * vm.h: fix to use FUNC_FASTCALL macro.
18551 TODO: add FUNC_FASTCALL macro by configure.
18553 Thu Jun 28 19:38:53 2007 Koichi Sasada <ko1@atdot.net>
18555 * compile.c: fix to remove -Wall warnings on gcc.
18557 * compile.c (make_name_with_str): removed. use rb_sprintf() instead.
18559 Thu Jun 28 18:53:01 2007 Tanaka Akira <akr@fsij.org>
18561 * bignum.c (rb_big_hash): fix hash area.
18563 Thu Jun 28 15:00:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18565 * ext/stringio/stringio.c (strio_getline): local variable to be
18566 initialized. [ruby-dev:31077]
18568 Thu Jun 28 11:30:39 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18570 * gc.c (rb_obj_id): use SIGNED_VALUE instead of long.
18572 Thu Jun 28 05:01:56 2007 Koichi Sasada <ko1@atdot.net>
18574 * common.mk (run.gdb): fix to load $(srcdir)/.gdbinit
18576 * vm.c (rb_vm_set_finish_env): add a cast.
18578 * vm.h: support __fastcall for MSVC.
18580 Thu Jun 28 02:12:08 2007 Koichi Sasada <ko1@atdot.net>
18582 * bootstraptest/runner.rb: fix to untouch $:.
18584 Thu Jun 28 02:03:07 2007 Koichi Sasada <ko1@atdot.net>
18586 * compile.c (setup_args): change parameter type.
18588 Thu Jun 28 02:03:39 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18590 * parse.y (rb_intern2): unconstify cast.
18592 Thu Jun 28 01:44:31 2007 Tanaka Akira <akr@fsij.org>
18594 * parse.y (rb_intern2): don't allocate a string object at first.
18597 Thu Jun 28 01:24:02 2007 Koichi Sasada <ko1@atdot.net>
18599 * bootstraptest/runner.rb: fix to show file name.
18601 * bootstraptest/test_*.rb: add bootstrap tests.
18603 Thu Jun 28 01:22:15 2007 Koichi Sasada <ko1@atdot.net>
18605 * include/ruby/node.h, parse.y, gc.c, iseq.c: remove NODE_CREF.
18607 Thu Jun 28 01:19:43 2007 Koichi Sasada <ko1@atdot.net>
18609 * compile.c (iseq_compile_each): fix popped backref and others.
18610 ([ruby-dev:31068]).
18612 * compile.c (iseq_compile_each): remove needless statements.
18614 Wed Jun 27 23:51:33 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18616 * win32/win32.c: remove unused functions.
18618 Wed Jun 27 20:46:05 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18620 * include/ruby/win32.h, win32/Makefile.sub, win32/configure.bat,
18621 win32/mkexports.rb, win32/setup.mak, win32/win32.c: import
18624 Wed Jun 27 20:31:07 2007 Koichi Sasada <ko1@atdot.net>
18626 * compile.c (iseq_translate_direct_threaded_code): fix prototype
18629 * vm.h: add correct cast.
18631 Wed Jun 27 17:08:42 2007 Koichi Sasada <ko1@atdot.net>
18633 * vm_evalbody.ci: support OPT_CALL_THREADED_CODE.
18635 * insns.def, vm.c, vm.h: ditto.
18637 * vm.h: add VM_CFP_CNT() and VM_SP_CNT().
18639 Wed Jun 27 04:23:47 2007 Koichi Sasada <ko1@atdot.net>
18641 * compile.c (iseq_compile_each): fix type error.
18643 Wed Jun 27 03:26:15 2007 Koichi Sasada <ko1@atdot.net>
18645 * compile.c (compile_massign), insns.def (expandarray): support
18646 postarg with massign (a, *b, c = ...).
18648 * bootstraptest/test_massign.rb: add tests for above.
18650 * compile.h: fix debug macro names.
18652 Wed Jun 27 00:18:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18654 * string.c (rb_str_clear): need to check STR_EMBED_P() before
18655 free()ing memory. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
18658 Tue Jun 26 16:39:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18660 * process.c (proc_getgroups): use GIDT2NUM for rb_gid_t.
18662 Tue Jun 26 16:28:24 2007 Koichi Sasada <ko1@atdot.net>
18664 * thread.c (rb_thread_wait_fd_rw): terminate fdset.
18666 Tue Jun 26 16:26:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18668 * regint.h: IL32LLP64 support.
18670 Tue Jun 26 16:22:45 2007 Koichi Sasada <ko1@atdot.net>
18672 * iseq.c (ruby_node_name): update node names.
18674 Tue Jun 26 15:21:20 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18676 * include/ruby/ruby.h: IL32LLP64 support.
18678 * bignum.c (bigfixize, rb_cstr_to_inum): ditto.
18680 * insns.def (opt_plus, opt_minus, opt_mult): ditto.
18682 Tue Jun 26 15:04:06 2007 Koichi Sasada <ko1@atdot.net>
18684 * cont.c (rb_fiber_s_new): revert initializing VM stack.
18686 * yarvcore.c (th_init2): ditto.
18688 * vm.c, vm.h: fix to stop using Qundef on VM stack. According to
18689 this change, VM stack should not include Qundef value.
18691 * insns.def (putundef): removed.
18693 * compile.c (iseq_compile_each): ditto.
18695 * eval.c (eval): fix spacing.
18697 Tue Jun 26 04:03:50 2007 Koichi Sasada <ko1@atdot.net>
18699 * insnhelper.ci (vm_yield_with_cfunc), proc.c: fix Method#to_proc
18700 to return lambda Proc ([ruby-dev:31021], [ruby-dev:31037]).
18702 Tue Jun 26 03:46:08 2007 Koichi Sasada <ko1@atdot.net>
18704 * cont.c (rb_fiber_s_new): fix to clear rb_thread_t#tag.
18707 Tue Jun 26 03:38:31 2007 Koichi Sasada <ko1@atdot.net>
18709 * cont.c (rb_fiber_s_new), yarvcore.c (th_init2): fix to clear
18710 VM stack ([ruby-dev:31046]).
18712 Tue Jun 26 03:15:27 2007 Koichi Sasada <ko1@atdot.net>
18714 * compile.c: rename setup_arg() to setup_args().
18715 fix to use setup_args() at processing NODE_YIELD.
18717 Tue Jun 26 02:50:24 2007 Koichi Sasada <ko1@atdot.net>
18719 * compile.c (setup_arg): support kind of "m(*ary, x)" method call.
18720 ([ruby-dev:31048]).
18722 Tue Jun 26 00:28:44 2007 Koichi Sasada <ko1@atdot.net>
18724 * insnhelper.ci, vm.c: complete block parameter support.
18725 post arguments, optional arguments, block argument.
18727 * compile.c, parse.y: fix {|a|} parameter.
18729 * insnshelper.ci, insns.def: revert caller_setup_args() option
18730 (need_block_check) parameter.
18732 Mon Jun 25 20:18:44 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18734 * gc.c (RVALUE): in RVALUE and RBasic, flags must be the same type.
18736 Mon Jun 25 18:02:55 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18738 * ext/pty/extconf.rb: skip wince and win64.
18740 Mon Jun 25 17:59:32 2007 NAKAMURA Usaku <usa@ruby-lang.org>
18742 * include/ruby/node.h (NODE_LMASK, nd_line): shouldn't use int and/or
18745 Mon Jun 25 11:36:35 2007 Koichi Sasada <ko1@atdot.net>
18747 * gc.h: add RUBY_ prefix to debug macros.
18749 * cont.c, proc.c, yarvcore.c,
18751 * gc.c: define ruby_gc_debug_indent variable to debug mark/free.
18753 * vm.c, insnhelper.ci: rename some functions to vm_* or rb_vm_*.
18754 move some functions, definitions, declarations to suitable files.
18756 * eval.c, yarvcore.h, eval_error.ci, insnhelper.ci: ditto.
18758 Mon Jun 25 09:45:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18760 * eval_error.ci, eval_jump.ci, eval_method.ci, eval_safe.ci: c-mode.
18762 Mon Jun 25 05:27:54 2007 Koichi Sasada <ko1@atdot.net>
18764 * eval.c: remove ruby_current_node and change eval() prototype.
18765 fix to use rb_sourcefile/line() instead of ruby_sourcefile/line.
18767 * error.c, eval_error.ci, eval_load.c, eval_safe.ci, gc.c,
18768 include/ruby/intern.h, parse.y, process.c, ruby.c: ditto.
18770 * vm.c: fix spaces.
18772 Mon Jun 25 04:20:14 2007 Koichi Sasada <ko1@atdot.net>
18774 * eval_*.h: rename to eval_*.ci.
18776 * common.mk: ditto.
18778 * eval_error.ci: remove ruby_set_current_source().
18780 * error.c, eval.c, ruby.c: ditto.
18782 * eval_safe.c, proc.c: remove unused macros.
18784 Mon Jun 25 03:37:20 2007 Koichi Sasada <ko1@atdot.net>
18786 * insnhelper.ci (caller_setup_args): add need_block_check option.
18788 * insns.def: ditto.
18790 * yarvcore.h: add GetCoreDataFromValue().
18792 Mon Jun 25 02:14:30 2007 Koichi Sasada <ko1@atdot.net>
18794 * call_cfunc.ci: removed.
18796 * insnhelper.ci: added. this function includes all functions that
18799 * common.mk: ditto.
18801 * insnhelper.h, vm.h, vm.c: move some declaration.
18803 * gc.h: remove GC_CHECK() macro because GC.stress is more useful.
18805 * compile.c, iseq.c, vm_dump: ditto.
18807 * gc.h, thread.c: move a prototype declaration.
18809 * debug.c, debug.h: rename some functions.
18811 * compile.h: ditto.
18813 Mon Jun 25 00:45:02 2007 Koichi Sasada <ko1@atdot.net>
18815 * insns.def (invokesuper): fix error message.
18817 Mon Jun 25 00:14:13 2007 Koichi Sasada <ko1@atdot.net>
18819 * vm.c: some refactoring.
18820 * rename th_* to vm_*.
18821 * remove unused variables functions.
18824 * blockinlining.c, compile.c, cont.c, eval.c, eval_intern.h,
18825 eval_jump.h, eval_load.c, inits.c, insns.def, iseq.c, parse.y,
18826 proc.c, process.c, signal.c, thread.c, vm.c, vm_dump.c,
18827 vm_evalbody.ci, yarvcore.c, yarvcore.h: ditto.
18829 Sun Jun 24 22:32:00 2007 Koichi Sasada <ko1@atdot.net>
18831 * eval_method.h (rb_add_method): fix to check 0.
18833 Sun Jun 24 22:00:17 2007 Koichi Sasada <ko1@atdot.net>
18835 * insn_send.ci: removed.
18837 * common.mk: ditto.
18839 * vm.c (vm_call_bmethod), isnsn.def: added. fix to use this
18840 function instead of using goto.
18842 * vm.c (vm_call_bmethod): renamed from th_invoke_bmethod().
18844 * vm.c (vm_method_missing): renamed from eval_method_missing().
18846 * vm_evalbody.ci: remove tmp_* variables.
18848 * insnhelper.h: add some macros.
18850 * insns.def: forbid zsuper from method defined by define_method().
18852 * test/ruby/test_super.rb: ditto.
18854 Sun Jun 24 20:01:08 2007 Koichi Sasada <ko1@atdot.net>
18856 * vm_macro.def: removed.
18858 * insn_send.ci: added. this file includes send instruction body.
18860 * common.mk: ditto.
18862 * insns.def: ditto.
18864 * tool/insns2vm.rb: ditto.
18868 Sun Jun 24 19:30:37 2007 Koichi Sasada <ko1@atdot.net>
18870 * insnhelper.h (RESTORE_REGS): add do/while(0) around macro.
18872 * vm.c, vm_macro.def: remove macro_eval_invoke_func() and
18873 add vm_setup_method(). use it instead.
18875 Sun Jun 24 19:02:33 2007 Koichi Sasada <ko1@atdot.net>
18877 * vm.c, vm_macro.def : remove macro_eval_invoke_cfunc() and
18878 add vm_call_cfunc().
18880 Sun Jun 24 17:54:13 2007 Koichi Sasada <ko1@atdot.net>
18882 * insns.def, vm.c: add/fix stack overflow check.
18884 Sun Jun 24 17:28:52 2007 Koichi Sasada <ko1@atdot.net>
18886 * insnhelper.h: change CHECK_STACK_OVERFLOW() to throw exception.
18888 * vm.c (caller_setup_arg), vm_macro.def: remove
18889 macro_eval_setup_send_arguments and add caller_setup_arg().
18891 * insns.def: ditto.
18893 * bootstraptest/test_method.rb: add splat arg tests.
18895 Sun Jun 24 16:35:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18897 * proc.c (proc_to_s): used a variable before initialized.
18899 Sun Jun 24 16:05:45 2007 Koichi Sasada <ko1@atdot.net>
18901 * vm.c (callee_setup_arg): added. support correct post arg.
18903 * vm_macro.def (macro_eval_invoke_func): fix to use
18906 * compile.c (set_arguments): adjust for above changes.
18908 * compile.c (iseq_compile_each): ditto.
18910 * iseq.c (ruby_iseq_disasm): ditto.
18912 * yarvcore.h: add rb_iseq_t#post_arg_start and arg_size.
18914 * bootstraptest/test_method.rb: add post arg tests.
18916 Sun Jun 24 16:10:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18918 * proc.c (proc_to_s): suppress warning, and reduced duplicated code.
18920 Sun Jun 24 15:33:47 2007 Koichi Sasada <ko1@atdot.net>
18922 * bootstraptest/runner.rb: set default directory to
18923 '/tmp/bootstraptest.tmpwd' and add --dir option.
18924 fix to output driver and target information.
18926 * common.mk: fix to run btest on BASERUBY and
18927 add OPTS to pass option ("make btest OPTS=...").
18929 Sun Jun 24 03:05:00 2007 Tanaka Akira <akr@fsij.org>
18931 * enum.c (enum_minmax): fix SEGV by [].minmax.
18933 Sat Jun 23 17:18:19 2007 Tanaka Akira <akr@fsij.org>
18935 * re.c (match_inspect): MatchData#inspect implemented.
18937 Sat Jun 23 15:00:16 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18939 * enum.c (enum_minmax): new method to get the minimum and maximum
18940 values from the enumerable at once.
18942 * enum.c (enum_minmax_by): ditto.
18944 Sat Jun 23 01:25:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18946 * hash.c (rb_hash_assoc): new method.
18948 * hash.c (rb_hash_rassoc): ditto.
18950 * hash.c (rb_hash_flatten): ditto.
18952 Fri Jun 22 23:55:59 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18954 * string.c (rb_str_upto): add optional argument to specify
18957 * range.c (range_step): use String#upto with optional argument.
18959 * range.c (range_each): ditto.
18961 Fri Jun 22 19:55:51 2007 Tanaka Akira <akr@fsij.org>
18963 * proc.c (proc_to_s): revert the change from %p to %lx at YARV
18966 Fri Jun 22 19:33:49 2007 Tanaka Akira <akr@fsij.org>
18968 * proc.c (proc_to_s): show is_lambda.
18970 Thu Jun 21 20:36:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18972 * hash.c (rb_hash_sort): remove hash specific implementation.
18974 Thu Jun 21 20:28:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18976 * hash.c (rb_hash_select): returns new hash, not assoc array.
18979 * hash.c (env_select): ditto.
18981 Thu Jun 21 23:08:19 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
18983 * parse.y (rb_intern2): ID_JUNK test based on len, not by NUL.
18985 Thu Jun 21 19:42:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18987 * yarvcore.c (rb_thread_mark): mark also thrown_errinfo.
18989 Thu Jun 21 17:13:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
18991 * parse.y (rb_intern2): name may not be NUL-terminated.
18993 Wed Jun 20 08:27:57 2007 Tanaka Akira <akr@fsij.org>
18995 * eval_error.h (error_print): show full stacktrace on
18996 non-SystemStackError.
18998 Wed Jun 20 04:45:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19000 * parse.y (rb_intern2): use rb_intern2 to intern without trailing
19003 * parse.y (rb_intern2, ripper_id2sym): fixed indent.
19005 Tue Jun 19 10:55:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19007 * eval_load.c (load_ext, rb_require_safe): pass VALUE instead of
19008 pointer. [ruby-Bugs-11659]
19010 Mon Jun 18 08:47:54 2007 Technorama Ltd. <oss-ruby@technorama.net>
19012 * ext/openssl/{extconf.rb,ossl_ssl_session.c}:
19013 Fix ruby-Bugs-11513.
19015 * ext/openssl/ossl_pkey_ec.c
19016 New methods EC::Point.[eql,make_affine!,invert!,on_curve?,infinity?]
19017 By default output the same key form as the openssl command.
19019 * ext/openssl/ossl_rand.c
19020 New method Random.status?
19022 * test/openssl/test_ec.rb
19025 Mon Jun 18 17:04:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19027 * eval_load.c (rb_require_safe, ruby_init_ext): load with ruby level
19028 cfp. [ruby-core:10779]
19030 * eval_intern.h, vm.c (rb_vm_call_cfunc): new function to call a
19031 function with ruby level cfp.
19033 Mon Jun 18 16:57:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19035 * parse.y (yycompile): disable trace while creating ruby_debug_lines.
19038 * thread.c (ruby_suppress_tracing): new function to call a function
19039 with suppressing trace.
19041 * lib/debug.rb, lib/tracer.rb: for YARV.
19043 Mon Jun 18 13:54:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19045 * eval.c (ruby_cleanup): return EXIT_FAILURE if any exceptions occurred
19046 in at_exit blocks. [ruby-core:11263]
19048 Mon Jun 18 02:49:16 2007 Koichi Sasada <ko1@atdot.net>
19050 * vm.c (env_mark): fix to mark block.proc.
19052 * vm.c (th_make_proc_from_block): set created proc to block->proc.
19054 Mon Jun 18 02:48:12 2007 Koichi Sasada <ko1@atdot.net>
19056 * vm_dump.c (vm_stack_dump_raw): hide VM stack trace.
19058 Mon Jun 18 02:43:53 2007 Koichi Sasada <ko1@atdot.net>
19060 * signal.c (sigsegv): clear gc_stress flag on SEGV.
19062 Mon Jun 18 01:14:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19064 * variable.c (rb_path2class): get rid of dangling pointer caused by
19065 optimized out value.
19067 * variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable,
19068 rb_generic_ivar_table, generic_ivar_get, generic_ivar_set,
19069 generic_ivar_defined, generic_ivar_remove, rb_mark_generic_ivar,
19070 rb_free_generic_ivar, rb_copy_generic_ivar,
19071 rb_obj_instance_variables): suppress warnings.
19073 Sun Jun 17 11:11:07 2007 Tanaka Akira <akr@fsij.org>
19075 * eval.c (rb_method_missing): avoid a warning "too many arguments
19076 for format string" on "./ruby -ve 'def m() super end; m'".
19078 Sat Jun 16 22:24:17 2007 Tanaka Akira <akr@fsij.org>
19080 * gc.c (garbage_collect): re-introduce ruby_current_node marking code.
19083 Sat Jun 16 21:37:43 2007 Tanaka Akira <akr@fsij.org>
19085 * gc.c (gc_sweep): re-introduce heap extension strategy change.
19088 Fri Jun 15 22:59:37 2007 Tanaka Akira <akr@fsij.org>
19090 * .gdbinit: new file to ease debugging using gdb.
19092 Fri Jun 15 22:33:55 2007 Tanaka Akira <akr@fsij.org>
19094 * signal.c (default_handler): func argument removed.
19095 (trap_handler): support SYSTEM_DEFAULT. call default_handler
19097 (sig_trap): don't call default_handler.
19100 Fri Jun 15 22:33:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19102 * common.mk (realclean): separate local and ext.
19104 * ext/extmk.rb: not remove unrelated directories.
19106 Fri Jun 15 20:50:02 2007 Tanaka Akira <akr@fsij.org>
19108 * keywords: enclose C code in declaration section by %{ and %} to
19109 avoid extra semicolon after #ifdef RIPPER.
19112 Fri Jun 15 18:56:52 2007 Tanaka Akira <akr@fsij.org>
19114 * signal.c (trap_handler): trap("SIGSEGV", "DEFAULT") may cause wrong
19115 trap error because SIG_DFL may be zero.
19117 Fri Jun 15 15:55:55 2007 Koichi Sasada <ko1@atdot.net>
19119 * insns.def (setconstant, toregexp): fix to mark object correctly.
19121 Fri Jun 15 13:24:18 2007 Koichi Sasada <ko1@atdot.net>
19123 * hash.c: exchange semantics of Hash#each and Hash#each_pair.
19124 pointed out by [ruby-dev:30997].
19126 * test/ruby/test_iterator.rb: ditto.
19128 * test/ruby/test_yield.rb: ditto.
19130 Fri Jun 15 12:38:29 2007 Koichi Sasada <ko1@atdot.net>
19132 * test/ruby/test_iterator.rb: remove debug code (GC.stress=true).
19134 Fri Jun 15 12:25:33 2007 Koichi Sasada <ko1@atdot.net>
19136 * vm.c (th_yield_setup_args): |v| should work as |v,|.
19137 ex) def m;yield 1, 2; end; m{|v| p v} #=> 1
19139 * parse.y: apply above change for "for" statement.
19141 * test/ruby/test_assignment.rb: ditto
19143 * test/ruby/test_basicinstructions.rb: ditto.
19145 * test/ruby/test_iterator.rb: ditto.
19147 * test/ruby/test_yield.rb: ditto.
19149 * compile.c (iseq_compile_each): fix debug.
19151 Fri Jun 15 12:22:10 2007 Koichi Sasada <ko1@atdot.net>
19153 * eval.c (ruby_finalize_1): rb_thread_t#errinfo should be clear with
19156 Fri Jun 15 12:20:11 2007 Koichi Sasada <ko1@atdot.net>
19158 * cont.c (rb_cont_call): forbid cross fiber continuation call.
19160 * test/ruby/test_fiber.rb: ditto.
19162 Fri Jun 15 12:14:07 2007 Koichi Sasada <ko1@atdot.net>
19164 * sample/test.rb: fix to show line information whether test succeeds.
19166 Thu Jun 14 17:16:05 2007 Tanaka Akira <akr@fsij.org>
19168 * eval_load.c (Init_load): delay allocating an array for rb_load_path
19169 to avoid GC problem in very early stage.
19170 (RUBY_GC_STRESS causes GC in such stage.)
19172 * variable.c (rb_gc_mark_global_tbl): rb_global_tbl may be 0 in
19175 * thread.c (thread_cleanup_func) [IA64]: clear register stack position.
19176 (thread_start_func_2) [IA64]: record the beginning of register
19177 stack using extra argument.
19178 (rb_gc_save_machine_context) [IA64]: record the end of register
19181 * gc.c [IA64] (SET_STACK_END): record the end of register stack.
19182 (garbage_collect) [IA64]: use recorded register stack area for
19184 (yarv_machine_stack_mark) [IA64]: GC mark from the register stack
19187 * yarvcore.c [IA64] (rb_gc_register_stack_start): defined.
19188 (Init_VM): store th->self on stack to fix GC problem.
19189 (Init_yarv) [IA64]: initialize the beginning of register stack.
19191 * yarvcore.h (struct rb_thread_struct) [IA64]: new members for
19192 register stack area.
19194 * thread_pthread.ci (thread_start_func_1) [IA64]: call
19195 thread_start_func_2 with the end of register stack.
19197 * cont.c (struct rb_context_struct) [IA64]: new members for register
19199 (cont_mark) [IA64]: GC mark from register stack area.
19200 (cont_free) [IA64]: free saved register stack.
19201 (cont_save_machine_stack) [IA64]: record the position and contents
19202 of the register stack.
19203 (cont_capture): store cont->self on stack to fix GC problem.
19204 (cont_restore_1) [IA64]: restore the register stack.
19205 [IA64] (register_stack_extend): new function.
19206 (cont_restore_0) [IA64]: call register_stack_extend instead of
19211 Thu Jun 14 17:09:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19213 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more
19214 extensions. [ruby-dev:30972]
19216 Thu Jun 14 14:40:42 2007 Tanaka Akira <akr@fsij.org>
19218 * lib/securerandom.rb: document updated.
19219 suggested by NaHi. [ruby-dev:30966]
19221 Wed Jun 13 22:42:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19223 * gc.c (garbage_collect): update IA64 register stack code.
19226 Wed Jun 13 06:05:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19228 * configure.in (darwin): prohibit loading extension libraries to
19231 Tue Jun 12 21:50:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19233 * parse.y (call_args): no allow splat after assocs. takes
19234 consistency over compatibility.
19236 * parse.y (call_args2): ditto
19238 Tue Jun 12 14:53:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19240 * lib/mkmf.rb (Logging.quiet, Logging.message): added quiet flag and
19241 use it. [ruby-core:10909]
19243 * lib/mkmf.rb (find_header): use header names in the message.
19245 Sun Jun 10 18:37:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19247 * ext/probeprofiler/probeprofiler.c: clean warnings.
19249 Sun Jun 10 18:32:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19251 * missing/isinf.c, missing/dup2.c, missing/strtod.c, missing/x68.c,
19252 missing/alloca.c: use "ruby/config.h".
19254 Sun Jun 10 17:49:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19256 * instruby.rb (install_recursive): should check parent directories of
19257 the destination. [ruby-dev:30947]
19259 Sun Jun 10 16:59:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19261 * parse.y (do_block, brace_block): fix line numbers. [ruby-dev:30831]
19263 Sun Jun 10 16:57:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19265 * instruby.rb (install_recursive): add :glob option rather than
19268 * instruby.rb (ext-comm): make header directory first.
19270 Sun Jun 10 16:10:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19272 * test/ruby/test_beginendblock.rb: typo.
19274 Sun Jun 10 16:07:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19276 * instruby.rb (install_recursive): skip .svn directories.
19278 Sun Jun 10 15:44:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19280 * win32/Makefile.sub (config.status): rubyhdrdir was missing.
19282 Sun Jun 10 15:26:36 2007 Tanaka Akira <akr@fsij.org>
19284 * Makefile.in: use --output-file for gperf to not leave lex.c.tmp.
19286 Sun Jun 10 15:11:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19288 * Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.
19290 * ext/extmk.rb: prepend also topdir to mflags at last.
19292 Sun Jun 10 13:47:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19294 * test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
19295 get rid of invoking shell. [ruby-dev:30942]
19297 Sun Jun 10 12:56:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19299 * include/ruby: moved public headers.
19301 * instruby.rb (install_recursive): skip backup files.
19303 * instruby.rb (ext-comm): install only current platform headers.
19305 Sun Jun 10 10:42:04 2007 Tanaka Akira <akr@fsij.org>
19307 * lib/securerandom.rb: renamed from lib/secrand.rb.
19308 suggested by NaHi. [ruby-dev:30934]
19310 Sat Jun 9 06:40:05 2007 Tanaka Akira <akr@fsij.org>
19312 * lib/secrand.rb: rename SecRand() to SecRand.random_number.
19313 suggested by NaHi. [ruby-dev:30934]
19315 Fri Jun 8 16:34:20 2007 Tanaka Akira <akr@fsij.org>
19317 * ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to support
19320 Fri Jun 8 16:11:00 2007 Koichi Sasada <ko1@atdot.net>
19322 * eval_jump.h: th->errinfo should clear with nil.
19324 Fri Jun 8 14:53:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19326 * parse.y (call_args): allow splat argument after unpacked
19327 assocs like 1.8 does.
19329 * parse.y (call_args): ditto.
19331 Fri Jun 8 14:26:18 2007 Tanaka Akira <akr@fsij.org>
19333 * lib/secrand.rb: new file for secure random interface.
19335 * lib/cgi/session.rb: use secrand for generating cookies.
19337 Fri Jun 8 12:44:37 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19339 * {win32,wince}/Makefile.sub: add lex.c rule.
19341 Fri Jun 8 11:54:18 2007 Tanaka Akira <akr@fsij.org>
19343 * lex.c.blt: moved from lex.c.
19345 * Makefile.in: use lex.c.blt if gperf is not available.
19346 [ruby-list:8212], [ruby-list:8214], [ruby-list:24667],
19347 [ruby-talk:120857], [ruby-dev:28102]
19349 Thu Jun 7 21:38:39 2007 Koichi Sasada <ko1@atdot.net>
19351 * thread.c (rb_thread_execute_interrupts): invoke ensure when
19354 Thu Jun 7 19:02:48 2007 Tanaka Akira <akr@fsij.org>
19356 * lib/pp.rb: call original "method" method instead of redefined one.
19358 Thu Jun 7 17:20:57 2007 Koichi Sasada <ko1@atdot.net>
19360 * iseq.c (prepare_iseq_build): freeze filename and name string.
19362 * variable.c: freeze class name string.
19364 Thu Jun 7 12:48:33 2007 Koichi Sasada <ko1@atdot.net>
19366 * cont.c (cont_restore_1): fix to check root fiber [ruby-dev:30911].
19368 * test/ruby/test_fiber.rb: add a test.
19370 Thu Jun 7 07:24:36 2007 NARUSE, Yui <naruse@ruby-lang.org>
19372 * lib/json/common.rb: Ponder offering parse! method.
19374 * lib/json/editor.rb: be a bit more robust while loading data.
19376 * ext/json/ext/{generator,parser}/extconf.rb:
19377 add a have_header directive for st.h
19379 * test/json: fix some tests.
19381 Thu Jun 7 03:29:18 2007 Koichi Sasada <ko1@atdot.net>
19383 * test_fiber.rb: add a test (Continuation and Fiber).
19385 Thu Jun 7 03:17:24 2007 Koichi Sasada <ko1@atdot.net>
19387 * cont.c (cont_new): add debug message.
19389 * cont.c (cont_restore_1): copy stack information from fiber.
19391 * cont.c (rb_fiber_s_new): fix to mark created fiber.
19393 * test/ruby/test_fiber.rb: add some tests around Thread and Fiber.
19395 * yarvcore.c (thread_free): fix to skip freeing stack if root fiber
19398 Thu Jun 7 01:03:20 2007 Koichi Sasada <ko1@atdot.net>
19400 * eval_intern.h, eval.c (ruby_init): remove POP_TAG_INIT().
19402 * cont.c (rb_fiber_start): remove zero-clearing tag.
19404 Wed Jun 6 20:23:46 2007 Koichi Sasada <ko1@atdot.net>
19406 * insns.def (invokeblock): fix of splat argument.
19407 (splat same as normal method dispatch)
19409 Wed Jun 6 16:27:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19411 * insns.def: fixed indentation.
19413 Wed Jun 6 10:58:23 2007 Koichi Sasada <ko1@atdot.net>
19415 * eval.c (rb_yield): fix to check Qundef.
19417 Wed Jun 6 10:57:45 2007 Koichi Sasada <ko1@atdot.net>
19419 * test/ruby/test_continuation.rb: add a test for last commit.
19421 Wed Jun 6 10:55:42 2007 Koichi Sasada <ko1@atdot.net>
19423 * cont.c (rb_cont_call): forbid calling dead fiber with
19426 Wed Jun 6 10:50:01 2007 Koichi Sasada <ko1@atdot.net>
19428 * compile.c (iseq_compile_each): fix around yield arguments
19429 (with NODE_ARGSCAT).
19431 Wed Jun 6 02:50:53 2007 Koichi Sasada <ko1@atdot.net>
19433 * cont.c (rb_fiber_start): clear th->tag and check error to fix
19434 [ruby-dev:30888] and [ruby-dev:30889].
19436 * eval_intern.h: fix rb_fiber_start() prototype.
19438 * test/ruby/test_fiber.rb: add tests for above.
19440 Wed Jun 6 02:40:20 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19442 * insnhelper.h, insns.def (DEC_SP): shouldn't use unary minus operator
19443 in pointer operation. some compilers (such as VC++8 x64) cannot deal
19444 it with expected way.
19446 Wed Jun 6 02:19:48 2007 Koichi Sasada <ko1@atdot.net>
19448 * parse.y (new_yield), compile.c (iseq_compile_each): fix
19451 * eval.c, eval_jump.h: simplify rb_yield*.
19453 * proc.c (proc_mark): fix to mark proc->block.proc.
19455 * proc.c (Init_Proc): add Proc#lambda?
19457 * test/ruby/test_lambda.rb: add some tests.
19459 * vm.c (invoke_block): fix to check lambda block or not.
19461 * vm.c (th_yield_setup_args): fix to check arguments size
19464 Tue Jun 5 16:30:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19466 * io.c (rb_f_p): returns arguments to intervene. [ruby-dev:29736]
19468 Tue Jun 5 14:07:55 2007 Koichi Sasada <ko1@atdot.net>
19470 * insns.def (invokeblock): check block is created by lambda
19473 * vm.c (block_proc_is_lambda): added.
19475 Tue Jun 5 14:47:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19477 * lib/pp.rb (PP::PPMethods::seplist): revert last change to work
19478 around wrapper bug. [ruby-dev:30840]
19480 Tue Jun 5 14:11:15 2007 NARUSE, Yui <naruse@ruby-lang.org>
19482 * ext/nkf/nkf-utf8/nkf.c (kanji_convert): Fix guess fallback.
19484 Tue Jun 5 13:32:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19486 * compile.c, dir.c, eval.c, eval_jump.h, eval_method.h, numeric.c,
19487 pack.c, parse.y, re.c, thread.c, vm.c, vm_dump.c, call_cfunc.ci,
19488 thread_pthread.ci, thread_win32.ci: fixed indentation.
19490 * call_cfunc.ci: protoized.
19492 * thread_win32.ci: fixed typo.
19494 Tue Jun 5 13:17:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19496 * call_cfunc.ci, compile.c, dir.c, eval.c, eval_jump.h, numeric.c,
19497 pack.c, re.c, thread.c, thread_win32.ci, vm.c, vm_dump.c: fixed
19500 Mon Jun 4 21:15:45 2007 NARUSE, Yui <naruse@ruby-lang.org>
19502 * lib/json.rb, lib/json, ext/json, test/json:
19503 import JSON library.
19505 * ext/nkf: import nkf.c rev:1.124
19508 Mon Jun 4 20:52:58 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19510 * numeric.c (int_round): should not just truncate.
19512 Sat Jun 2 16:48:55 2007 Koichi Sasada <ko1@atdot.net>
19514 * cont.c (Fiber#pass): rename to Fiber#yield. Block parameter
19515 of fiber body receive first yield values.
19516 e.g.: Fiber.new{|x| p x}.yield(:ok) #=> :ok
19518 * cont.c: rename rb_context_t#retval to rb_context_t#value.
19520 * test/ruby/test_fiber.rb: ditto.
19522 Sat Jun 2 16:45:21 2007 Koichi Sasada <ko1@atdot.net>
19524 * proc.c (Init_Proc): remove a line break.
19526 Sat Jun 2 01:27:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19528 * numeric.c (int_round): small optimization to handle bignums.
19530 Fri Jun 1 13:02:35 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19532 * insnhelper.h (INC_SP): shouldn't cast ``x'' to unsigned type because
19533 it might be a negative value.
19535 * insnhelper.h, insns.def: shouldn't use unary minus operator in index
19536 operator. some compilers (such as VC++8 x64) cannot deal it with
19539 Fri Jun 1 11:33:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19541 * numeric.c (num_round): should convert self to Float.
19544 Fri Jun 1 02:01:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19546 * numeric.c (flo_round): now takes optional argument to specify
19547 number of digits, like round() in Python/PHP.
19549 * numeric.c (num_round): ditto.
19551 Fri Jun 1 01:58:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19553 * enum.c (each_with_index_i): should work well with continuation.
19554 a patch from sheepman <sheepman AT sheepman.sakura.ne.jp>.
19557 Thu May 31 17:27:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19559 * lib/benchmark.rb (Benchmark::Job::item): avoid modifying the
19560 argument unintentionally. [ruby-talk:253676]
19562 Wed May 30 14:43:00 2007 Koichi Sasada <ko1@atdot.net>
19564 * cont.c (cont_capture): store all local variables in heap
19565 ([ruby-dev:30832]).
19567 * vm.c (th_stack_to_heap): added.
19569 * test/ruby/test_continuation.rb: add a test for above.
19571 * eval_intern.h (th_get_ruby_level_cfp): fix to clean code.
19573 Wed May 30 13:32:34 2007 Shugo Maeda <shugo@ruby-lang.org>
19575 * lib/net/imap.rb (ResponseParser#next_token): fixed
19578 * lib/net/imap.rb (ResponseParser#parse_error): fixed
19579 the condition not to refer @token.symbol unexpectedly.
19580 Thanks, Dick Monahan.
19582 Wed May 30 13:24:33 2007 Shugo Maeda <shugo@ruby-lang.org>
19584 * lib/net/ftp.rb (Net::FTP#transfercmd): skip 2XX
19585 responses for some FTP servers.
19587 Wed May 30 04:18:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19589 * eval.c (rb_eval_cmd): just return if no exceptions.
19592 Wed May 30 02:14:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19594 * signal.c (interrupt_init): needs to pass nil for Interrupt.
19597 * signal.c (trap): fixed segfaults. [ruby-dev:30830]
19599 Wed May 30 00:50:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19601 * gc.c (rb_source_filename, obj_free): suppress warnings.
19603 * gc.c (garbage_collect, yarv_machine_stack_mark): fixed typo.
19604 http://bugs.debian.org/426267
19606 Wed May 30 00:24:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19608 * parse.y (open_args, arg_ambiguous, parser_warning): should not use
19609 rb_warning in the parser.
19611 Tue May 29 12:31:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19613 * win32/win32.c (rb_w32_opendir): removed duplicated code.
19615 Tue May 29 10:55:24 2007 Koichi Sasada <ko1@atdot.net>
19617 * cont.c: fix bug around Continuation and Fiber.
19619 * test/ruby/test_continuation.rb: add tests for Continuation.
19621 Tue May 29 10:54:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19623 * win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magic
19626 Mon May 28 10:27:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19628 * cont.c: fixed a function name.
19630 Mon May 28 03:56:44 2007 Koichi Sasada <ko1@atdot.net>
19632 * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail.
19633 Fiber is known as "Micro Thread", "Coroutine", and other terms.
19634 At this time, only Fiber#pass is supported to change context.
19635 I want to know more suitable method name/API for Fiber (... do you
19636 know more suitable class name instead of Fiber?) as "suspend/resume",
19637 "call", "yield", "start/kick/stop/restart", ....
19639 * eval.c, eval_intern.h, thread.c, yarvcore.c, yarvcore.h: ditto.
19641 Sat May 26 00:38:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19643 * eval.c (ruby_exec_internal): do nothing if no code.
19645 * compile.c (rb_iseq_compile): check node if NULL before check
19646 nd_type. [ruby-talk:252956]
19648 Sat May 26 00:05:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19650 * test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
19651 skip tests for exitstatus and termsig on the platforms where
19652 signals not supported.
19654 Fri May 25 16:04:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19656 * yarvcore.c (Init_VM): wrap already initialized structs to use
19659 Fri May 25 11:09:47 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19661 * regint.h (include): on some platform, defines.h redefines
19662 SIZE_OF_LONG_LONG so shouldn't re-include config.h after included
19665 * regint.h (vsnprintf): ruby on windows already have vsnprintf macro.
19667 Thu May 24 12:07:27 2007 Koichi Sasada <ko1@atdot.net>
19669 * cont.c: check across trap violation.
19671 * eval.c, yarvcore.h: ditto.
19673 Thu May 24 11:46:55 2007 Koichi Sasada <ko1@atdot.net>
19675 * gc.c, yarvcore.c: fix to mark VM structure on startup.
19677 * yarvcore.h: disable USE_CACHED_VALUE.
19679 Thu May 24 01:54:53 2007 Koichi Sasada <ko1@atdot.net>
19681 * cont.c: support callcc which everyone love.
19682 incomplete. please give me bug reports.
19684 * common.mk, inits.c, thread.c: ditto.
19686 * yarvcore.c: export thread_mark().
19688 * yarvcore.h: disable value cache option.
19690 * eval_intern.h: set th_get_ruby_level_cfp to inline.
19692 Wed May 23 15:39:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19694 * common.mk: add a rule for regsyntax.c.
19696 Wed May 23 10:31:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19698 * oniguruma.h: updated to Oniguruma 5.7.0.
19700 * regsyntax.c, unicode.c: new files along with Oniguruma 5.x.
19702 Wed May 23 06:51:46 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
19704 * lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
19705 [ruby-dev:30740], Thanks Kentaro KAWAMOTO.
19707 Wed May 23 05:49:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19709 * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
19710 load path to get rid of load pre-installed extensions/libraries.
19713 Tue May 22 16:37:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19715 * ruby.c (set_arg0): support RSTRING_LEN on HP-UX. a patch from
19716 WATANABE Tetsuya <Tetsuya.WATANABE AT nifty.com>. [ruby-dev:30806]
19718 Mon May 21 13:40:00 2007 Koichi Sasada <ko1@atdot.net>
19720 * compile.c, vm_macro.def: support tail call optimization
19721 (on default, this feature is not enabled).
19723 * iseq.c, compile.c, vm_opts.h: add "tailcall_optimization"
19726 * sample/test.rb (test_ok): fix to adjust tailcall stack layout.
19728 * insns.def, vm.c, compile.c, yarvcore.c, yarvcore.h:
19729 add opt_gt, opt_le instructions.
19731 Mon May 21 03:34:06 2007 Minero Aoki <aamine@loveruby.net>
19733 * lib/net/smtp.rb: CRAM-MD5 authentication did not work.
19736 Sat May 19 10:26:01 2007 Tadayoshi Funaba <tadf@dotrb.org>
19738 * lib/date/format.rb (Date._parse): detects some OFX dates
19739 (Of course not fully).
19741 Sat May 19 03:08:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19743 * enum.c (enum_inject): minor improvement. [ruby-dev:30792]
19745 * enum.c (one_i): no needs to iterate once the result became false.
19747 * enum.c (enum_one): fix for an example.
19749 * enum.c (one_iter_i, none_iter_i): DRY.;
19751 Sat May 19 01:07:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19753 * enum.c (enum_inject): it is now can work without block. you
19754 have to specify two argument method name as the first argument.
19756 * enum.c (Init_Enumerable): reduce is new alias to inject.
19758 Sat May 19 01:05:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19760 * file.c (Init_File): method definition mismatch.
19762 Fri May 18 16:44:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19764 * file.c (Init_File): add to_path method to File objects.
19766 Fri May 18 11:12:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19768 * ruby.c (DllMain, ruby_init_loadpath): use DLL instance handle given
19769 to DllMain instead of VirtualQuery so that loadpath becomes relative
19770 from the DLL on WinCE too.
19772 Thu May 17 17:03:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19774 * misc/ruby-style.el (ruby-style-label-indent): for yacc rules.
19776 Thu May 17 13:30:27 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19778 * parse.y (f_arg): remove typo from ripper description.
19780 Thu May 17 13:23:38 2007 Koichi Sasada <ko1@atdot.net>
19782 * parse.y, compile.c (set_arguments): fix to support in-paren
19783 parameter (ex: def foo((a, b))).
19785 Thu May 17 13:01:52 2007 Koichi Sasada <ko1@atdot.net>
19787 * iseq.c (ruby_iseq_disasm): fix to show post arg info.
19789 Thu May 17 12:56:52 2007 Koichi Sasada <ko1@atdot.net>
19791 * debug.c (ruby_debug_node): fix to show node line.
19793 Wed May 16 21:48:44 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
19795 * lib/logger.rb (Logger::Application): remove meaningless logdev
19796 attribute and added logger attribute instead. [ruby-core:11143]
19797 also added Logger#formatter rdoc comment.
19799 Tue May 15 16:40:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19801 * test/ruby/test_beginendblock.rb (test_endblockwarn): now parser
19802 warnings emit source names and line numbers.
19804 Tue May 15 15:01:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19806 * win32/win32.c (init_stdhandle): stderr should be without buffering,
19807 but mswin32 use buffering when stderr is not connected to tty.
19809 Mon May 14 02:12:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19811 * array.c (rb_ary_zip): a.zip(b,c) should return an array, not
19814 * array.c (rb_ary_zip): a.zip(b,c) should return array with size
19815 truncated to the size of its shortest argument array.
19818 Mon May 14 01:54:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19820 * array.c (rb_ary_choice): should return nil when the array is
19823 Sat May 12 18:26:36 2007 Minero Aoki <aamine@loveruby.net>
19825 * lib/net/http.rb (tokens): forgot to add strip. [ruby-core:11120]
19827 * test/net/http/test_http.rb: test Net::HTTP.post_form.
19829 Fri May 11 15:27:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19831 * iseq.c (iseq_data_to_ary): internal IDs must not be exposed.
19834 * parse.y (internal_id_gen): now returns scope local ID instead of
19837 Thu May 10 15:15:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19839 * test/ruby/test_super.rb: add tests.
19841 Thu May 10 15:14:05 2007 NAKAMURA Usaku <usa@ruby-lang.org>
19843 * ext/iconv/iconv.c (iconv_s_conv): rdoc fix.
19845 Thu May 10 15:09:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19847 * parse.y (POINTER_P): pointer may be larger than long.
19849 * parse.y (vtable_size, vtable_included, vtable_tblcpy,
19850 vtable_to_tbl): constified.
19852 Thu May 10 10:13:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19854 * thread.c (rb_thread_priority): rdoc fix; the initial value is
19855 inherited from the creating thread. [ruby-core:10607]
19857 Wed May 9 12:28:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19859 * bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv as
19860 aliases of quo. [ruby-dev:30771]
19862 Tue May 8 23:39:09 2007 Tadayoshi Funaba <tadf@dotrb.org>
19864 * lib/date/format.rb (Date._parse): revised treatment of
19865 hyphened/separatorless dates.
19867 * lib/date/format.rb: some trivial adjustments.
19869 Tue May 8 20:23:07 2007 Tadayoshi Funaba <tadf@dotrb.org>
19871 * lib/date/format.rb: reverted.
19873 Tue May 8 19:32:18 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
19875 * lib/rational.rb: fix high-precision Rationals cannot be
19876 converted to Floats. [ruby-Bugs:10502], [ruby-core:11069],
19879 Mon May 7 10:59:55 2007 Kouhei Sutou <kou@cozmixng.org>
19881 * lib/rss/image.rb, test/rss/test_image.rb: fixed Image module
19882 namespace URI. reported by Dmitry Borodaenko. Thanks.
19884 Sun May 6 18:44:11 2007 Minero Aoki <aamine@loveruby.net>
19886 * lib/net/http.rb (Net::HTTP.post_form): allow an Array of String
19887 for pairs argument. [ruby-Bugs:10340]
19889 * lib/net/http.rb (Net::HTTP#set_form_data): ditto.
19891 Sun May 6 17:54:36 2007 Minero Aoki <aamine@loveruby.net>
19893 * lib/net/http.rb: Connection header field might include both of
19894 "keep-alive" token and "close" token. [ruby-core:10818]
19896 Sat May 5 16:26:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19898 * lib/date/format.rb (Format::Bag#method_missing): get rid of
19899 modifying original argument. [ruby-core:11090]
19901 Thu May 3 22:20:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19903 * configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,
19904 search_required, rb_require_safe), ext/extmk.rb: Fix
19905 a bug where a statically linked extension cannot be autoloaded.
19906 [ruby-dev:30023] / [ruby-dev:30239]
19908 * thread.c: added an internal class, Barrier.
19910 * thread.c: copied rdocs from fastthread.
19912 * yarvcore.h (struct rb_vm_struct): moved loading_table from global.
19914 Thu May 3 18:10:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19916 * vm_evalbody.ci, insns.def, vm.c, tool/insns2vm.rb (rb_num_t):
19917 renamed to get rid of name clash. [ruby-dev:30504]
19919 * yarvcore.c (ruby_thread_init): ditto.
19921 Wed May 2 18:52:58 2007 Koichi Sasada <ko1@atdot.net>
19923 * vm.c, yarvcore.h, yarvcore.c, insns.def: fix to mark VM stack
19926 Wed May 2 17:13:26 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19928 * bignum.c (rb_big_quo): now calculate in integer. [ruby-dev:30753]
19930 Wed May 2 15:14:56 2007 Koichi Sasada <ko1@atdot.net>
19932 * eval_method.h: add redefine checks ([ruby-dev:30751]).
19934 Wed May 2 11:22:52 2007 Koichi Sasada <ko1@atdot.net>
19936 * compile.c: use Qtrue instead of 2.
19938 * vm.c, insns.def: support "lambda" calling convention.
19940 Wed May 2 06:46:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19942 * error.c, parse.y, ruby.h (rb_compile_warn, rb_compile_warning): warn
19943 for compilation. the parser should no longer use rb_warn() and
19944 rb_warning(). [ruby-dev:30121]
19946 Wed May 2 05:45:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19948 * parse.y (assoc): result of assoc_new needs to be an assoc.
19950 Wed May 2 05:40:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19952 * bignum.c (rb_big_pow): improvement by calculating from MSB and using
19953 factorization. <http://yowaken.dip.jp/tdiary/20070426.html#p01>
19955 Tue May 1 18:45:45 2007 Koichi Sasada <ko1@atdot.net>
19957 * sample/test.rb: import matzruby's sample/test.rb.
19959 Tue May 1 17:46:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
19961 * array.c (rb_ary_choice): a new method to choose an element
19962 randomly from an array.
19964 * array.c (rb_ary_choice): fixed mistake from RDoc.
19966 Tue May 1 13:59:18 2007 Koichi Sasada <ko1@atdot.net>
19968 * proc.c (proc_arity): fix an arity bug ([ruby-core:11060]).
19970 Tue May 1 13:12:49 2007 Koichi Sasada <ko1@atdot.net>
19972 * yarvcore.h, compile.c (set_arguments): support post arguments.
19974 * test/ruby/test_method.rb: add tests for above.
19976 * test/ruby/test_proc.rb: ditto.
19978 * proc.c: fix an arity bug ([ruby-core:11029]).
19980 * vm.c, vm.h, insns.def, vm_dump.h: fix bmethod process.
19982 * vm.c: support block argument on block parameter.
19984 Fri Apr 27 17:05:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19986 * numeric.c (int_pow): bugfix of overflow detection.
19988 * numeric.c (int_pow): rb_big_pow() may return other than Bignum.
19990 Fri Apr 27 01:51:50 2007 Koichi Sasada <ko1@atdot.net>
19992 * compile.c: support multiple splat (e.g, [a, *b, *c, e, *f]).
19994 Fri Apr 27 00:03:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
19996 * bignum.c (rb_big_pow): truncate all zero BDIGITs. [ruby-dev:30733]
19998 Thu Apr 26 17:31:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20000 * bignum.c (rb_big_pow): reduce multiplying for even number.
20002 * numeric.c (int_pow): calculate power in Fixnum as possible.
20005 Thu Apr 26 17:18:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20007 * parse.y: fixes for ripper.
20009 * parse.y (primary): reduced duplicated code.
20011 * parse.y (f_arg_item): should not override by meaningless value.
20013 * parse.y (f_arg, assocs): should not use $$ before assigned.
20015 * parse.y (assoc_list): dispatch assoclist_from_args for assocs as
20018 * parse.y (assoc): return assoc if dispatched result is $1.
20020 Thu Apr 26 13:54:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20022 * misc/ruby-style.el: new file. C/C++ style for ruby source code.
20024 Wed Apr 25 19:49:16 2007 Tanaka Akira <akr@fsij.org>
20026 * ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA to
20027 align file descriptor appropriately.
20029 Wed Apr 25 15:23:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20031 * win32/win32.c (NtInitialize, exit_handler): add initializing and
20032 cleanup of critical section object for select.
20034 * win32/win32.c (do_select): block reentrance.
20036 * win32/win32.c (rb_w32_select): 0 sec polling of socket. this is
20037 workaround because winsock cannot do select at same socket at the
20038 same time by two or more threads.
20040 Wed Apr 25 14:10:47 2007 Koichi Sasada <ko1@atdot.net>
20042 * ext/probeprofiler/probeprofiler.c: fix function name and
20045 Wed Apr 25 12:42:40 2007 Koichi Sasada <ko1@atdot.net>
20047 * yarvcore.h: remove rb_control_frame_t#callee_id.
20049 * vm_macro.def: ditto.
20051 * eval_intern.h (exec_event_hooks): fix to check event flags
20053 * eval_intern.h (EXEC_EVENT_HOOK): fix to re-check event flags.
20055 * ext/probeprofiler : added. this profiler is sampling based
20058 * vm.c: add rb_thread_current_status() API for probeprofiler.
20060 * thread.c (rb_thread_execute_interrupts): add comments.
20062 Wed Apr 25 10:36:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20064 * eval_intern.h (PUSH_TAG): no argument now.
20066 * eval.c, eval_error.h, eval_jump.h, eval_load.c, proc.c, thread.c:
20069 * thread.c (alloc_event_hook, rb_thread_remove_event_hook): should
20072 Tue Apr 24 09:33:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20074 * dir.c (do_stat, do_lstat, do_opendir): should not warn ENOTDIR.
20077 Mon Apr 23 22:14:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20079 * ext/extmk.rb ($ruby): add extout directory to include path.
20082 * lib/mkmf.rb (libpathflag): not to append RPATHFLAG to current
20085 * lib/mkmf.rb (init_mkmf): add current directory to default
20086 library path with highest priority. [ruby-core:10960]
20088 * lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS.
20090 Fri Apr 20 16:05:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20092 * configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted,
20093 it is done by libpathflag in mkmf.rb.
20095 Fri Apr 20 12:27:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20097 * lib/optparse.rb: fix to override conv proc.
20099 Fri Apr 20 12:21:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20101 * eval.c (ruby_cleanup): fixed access to out of bound, and inverted
20102 the order of errinfos.
20104 Fri Apr 20 10:33:23 2007 Koichi Sasada <ko1@atdot.net>
20106 * eval_intern.h: add prototypes of rb_sourceline() and
20109 Fri Apr 20 02:37:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20111 * eval.c (ruby_cleanup): re-send signal. [ruby-dev:30516]
20113 * eval_error.h (error_handle): no message when exiting by signal.
20115 * intern.h (rb_thread_signal_raise, ruby_default_signal): prototypes.
20117 * signal.c (esignal_init): takes a signal number and an optional
20120 * signal.c (interrupt_init): pass SIGINT always.
20122 * signal.c (ruby_default_signal): invoke system default signal
20125 * signal.c (rb_f_kill): use NUM2PIDT instead of NUM2INT.
20127 * signal.c (rb_signal_exec, trap): handle SIGTERM. [ruby-dev:30505]
20129 * thread.c (rb_thread_signal_raise): now takes signal number instead
20132 * thread.c (rb_thread_signal_exit): since rb_make_exception() calls
20133 #exception method, rb_class_new_instance() is not needed here.
20135 * yarvcore.h (struct rb_vm_struct), eval_jump.h (terminate_process):
20136 exit_code is no longer stored in VM.
20138 Thu Apr 19 18:37:49 2007 Koichi Sasada <ko1@atdot.net>
20140 * eval.c, node.h, thread.c, yarvcore.[ch], eval_intern.h:
20141 support set_trace_func (incomplete. id and klass
20142 don't be passed). And support Thread#set_trace_func
20143 which hook only specified thread and Thread#add_trace_func
20144 which add new trace func instead of replace old one.
20145 C level API was modified. See thread.c (logic) and
20146 yarvcore.h (data structures).
20148 * vm.c, vm_macro.def: add hook points.
20150 * compile.c, insns.def: fix "trace" instruction.
20152 * iseq.c, vm_macro.h: add compile option "trace_instruction".
20154 * test/ruby/test_settracefunc.rb: hook "c-return" of set_trace_func.
20156 Thu Apr 19 20:57:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20158 * parse.y (symbol): symbols should be followed by EXPR_ENDARG.
20160 * parse.y (dsym): ditto.
20162 * parse.y (parser_yylex): strings should be followed by
20165 * parse.y (parser_yylex): ditto for numbers.
20167 * parse.y (parser_yylex): EXPR_ENDARG after ']' and '}'.
20169 Thu Apr 19 17:46:36 2007 Koichi Sasada <ko1@atdot.net>
20171 * lib/optparse.rb: fix to override conv proc.
20173 Wed Apr 18 10:41:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20175 * util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]
20177 Wed Apr 18 02:50:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20179 * yarvcore.c (th_init2): push initial blockptr value for
20180 rb_block_given_p() outside ruby_exec(). [ruby-core:10923]
20182 Wed Apr 18 02:30:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20184 * configure.in (LDFLAGS): prepend -L. instead appending it to
20185 XLDFLAGS. [ruby-core:10933]
20187 * configure.in (Makefile): remove $U for automake from MISSING.
20190 Mon Apr 16 22:56:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20192 * ext/pty/expect_sample.rb: avoid symbolic link representation for
20193 expect. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
20196 Mon Apr 16 22:51:11 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20198 * sample: replace TRUE, FALSE with true, false respectively.
20199 a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
20202 Mon Apr 16 17:08:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20204 * lib/optparse.rb (make_switch): do not clobber converter if pattern
20205 has no convert method. reported by sheepman in [ruby-dev:30709].
20207 Mon Apr 16 16:49:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20209 * ext/stringio/stringio.c (strio_seek): consistent behavior with
20210 IO#seek. patch by sheepman in [ruby-dev:30710].
20212 Mon Apr 16 16:34:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20214 * parse.y (parser_yylex): should set command_start after block
20215 starting "do"s and braces. [ruby-core:10916]
20217 Mon Apr 16 10:51:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20219 * enum.c (enum_each_with_index): each_with_index to forward
20220 arguments to each. [ruby-core:10921]
20222 Mon Apr 16 10:43:10 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20224 * time.c (time_arg): should allow to specify 24:00.
20227 Sun Apr 15 09:12:54 2007 Tadayoshi Funaba <tadf@dotrb.org>
20229 * lib/date/format.rb: added some zone names.
20231 * lib/date/format.rb (_parse): now interprets doted numerical
20232 dates as a big endian (except dd.mm.yyyy).
20234 Thu Apr 12 17:13:22 2007 Koichi Sasada <ko1@atdot.net>
20236 * thread.c (mutex_try_lock): check and set owner thread.
20238 * thread_pthread.ci: fix to show error code in error message.
20240 Thu Apr 12 17:11:54 2007 Koichi Sasada <ko1@atdot.net>
20242 * eval.c (rb_rescue2): restore cfp ([ruby-dev:30582]).
20244 Thu Apr 12 16:06:48 2007 Koichi Sasada <ko1@atdot.net>
20246 * eval.c (rb_protect): restore cfp ([ruby-dev:30671]).
20248 Thu Apr 12 16:04:31 2007 Koichi Sasada <ko1@atdot.net>
20250 * compile.c (iseq_compile_each): check node->nd_state == 1, not !0.
20252 Wed Apr 11 16:35:16 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20254 * win32/win32.[ch] (rb_w32_enter_critical, rb_w32_leave_critical): no
20255 need to reject reentrance. removed.
20257 * rubysig.h (RUBY_CRITICAL): follow above changes.
20259 * rubysig.h (TRAP_BEG, TRAP_END): no need to save errno.
20261 Tue Apr 10 17:02:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20263 * win32/win32.c (rb_w32_fclose, rb_w32_close): need to save errno
20264 before calling original fclose()/close().
20266 Tue Apr 10 16:14:22 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20268 * thread_win32.ci (w32_wait_events): check whether interrupt_event is
20269 valid handle or not.
20271 * thread_win32.ci (native_thread_destroy): clear interrupt_event when
20274 Tue Apr 10 15:53:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20276 * thread_pthread.ci (native_thread_create): initialize sleep_cond.
20277 fixed: [ruby-dev:30675]
20279 Mon Apr 9 18:48:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20281 * thread.c (do_select): ubf_select() is not necessary. interrupt is
20282 checked in the loop.
20284 Mon Apr 9 18:27:26 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20286 * thread.c (do_select): use ubf_select() as UBF on windows.
20288 * win32/win32.c (do_select): shouldn't call catch_interrupt() here.
20289 fixed: [ruby-dev:30674], reported by wanabe.
20291 Mon Apr 9 09:24:32 2007 Shugo Maeda <shugo@ruby-lang.org>
20293 * lib/net/imap.rb (disconnect): call shutdown for
20294 SSLSocket. Thanks, Technorama Ltd.
20296 Sun Apr 8 13:28:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20298 * compile.c (defined_expr): test arguments of NODE_CALL and so
20299 on as well as NODE_ATTRASGN. [ruby-core:10886]
20301 Fri Apr 6 10:56:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20303 * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid of
20304 warning. we are aware of it.
20306 Fri Apr 6 04:00:24 2007 Technorama Ltd. <oss-ruby@technorama.net>
20308 * ext/openssl/ossl_{bn,x509{attr,cert,name,store}}.c:
20311 Thu Apr 5 17:59:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20313 * compile.c (defined_expr): support for assignment.
20316 * compile.h (ADD_CATCH_ENTRY): removed temporary variable.
20318 Thu Apr 5 15:13:34 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20320 * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should
20323 Thu Apr 5 14:58:49 2007 Technorama Ltd. <oss-ruby@technorama.net>
20325 * ext/openssl/ossl_pkcs5.c: New module.
20327 * ext/openssl/ossl_{cipher,digest,pkcs7,pkcs12}.c:
20328 Remove redundant module namespace.
20330 * ext/openssl/lib/openssl/{cipher,digest}.rb
20331 Add backwards compatible classes for rearranged classes.
20333 * ext/openssl/ossl_{pkcs7,pkcs12}.c: Add documentation.
20335 Thu Apr 5 00:42:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20337 * error.c (rb_notimplement), io.c (pipe_open): removed definite
20338 articles and UNIX manual section from messages. [ruby-dev:30690]
20340 Wed Apr 4 17:09:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20342 * io.c (pipe_open): refined the message of NotImplementedError.
20345 Wed Apr 4 12:29:02 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20347 * error.c (rb_notimplement): should show the name of this func,
20350 Wed Apr 4 10:18:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20352 * io.c (popen_exec): should not close close-on-exec FDs.
20355 * io.c (pipe_open): raise NotImplementedError for command "-" on
20356 platforms where fork(2) is not available. [ruby-dev:30681]
20358 Tue Apr 4 04:17:18 2007 Technorama Ltd. <oss-ruby@technorama.net>
20360 * ext/openssl/ossl_ssl.c: Add documentation.
20362 Tue Apr 3 16:22:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20364 * ext/openssl/extconf.rb: check for functions added in 1.9.
20366 * ext/openssl/ruby_missing.h: check per features instead by
20367 checking version code. [ruby-core:10845]
20369 Tue Apr 3 16:02:44 2007 Technorama Ltd. <oss-ruby@technorama.net>
20371 * ext/openssl/ossl_bn.c: More documentation.
20373 * ext/openssl/lib/ossl_{pkey,pkey_ec}.[ch]: Add elliptic curves.
20375 Tue Apr 3 15:50:41 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20377 * ext/socket/socket.c (s_recv, s_recvfrom): some systems (such as
20378 windows) doesn't set fromlen if the socket is connection-oriented.
20379 reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061]
20381 Tue Apr 3 09:36:55 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20383 * ext/openssl/ruby_missing.h: need to include version.h to check
20386 Mon Apr 3 07:10:12 2007 Technorama Ltd. <oss-ruby@technorama.net>
20388 * ext/openssl/ossl_{ssl.[ch],ssl_session.c},
20389 ext/openssl/lib/openssl/lib/openssl/ssl.rb:
20390 New SSL::Session class. Add session cb's, getter/setters,
20391 config, and statistics methods.
20393 Mon Apr 3 04:00:23 2007 Technorama Ltd. <oss-ruby@technorama.net>
20395 * ext/openssl/{ossl.[ch],ossl_pkey.c} Add documentation.
20397 * ext/openssl/ossl_hmac.c Add reset method.
20399 * ext/openssl/ossl_cipher.c (Cipher#update) Take additional
20402 * ext/openssl/{ossl_bio.c,ossl_ssl.c,ruby_missing.h}
20403 compatibility with 1.8.
20405 Mon Apr 2 21:55:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20407 * insns.def (throw), thread.c, yarvcore.h (throwed_errinfo): fixed
20410 Fri Mar 30 11:46:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20412 * win32/win32.c (rb_w32_cmdvector): fixed buffer size. reported by
20413 wanabe [ruby-dev:30672]
20415 * win32/win32.c (init_env, insert, rb_w32_get_environ): use strdup
20416 instead of malloc + strlcpy. suggested by nobu [ruby-dev:30673]
20418 Fri Mar 30 02:29:04 2007 Technorama <oss-ruby@technorama.net>
20420 * ext/openssl/ossl_{bn,cipher,digest,hmac,rand,pkey_{dh,dsa,rsa}}.c:
20421 Add Documentation for various methods.
20423 * ext/openssl/lib/openssl/cipher.rb: Ditto
20425 * ext/openssl/ossl_bn.c: add lshift! and rshift! methods.
20427 * ext/openssl/ossl_digest.c: GetDigestPtr() also accept a string.
20429 Fri Mar 23 11:28:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20431 * win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,
20432 rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64,
20433 rb_w32_get_environ): use strlcpy() and strlcat().
20435 * win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc().
20437 * win32/win32.c (rb_w32_closedir): check NULL before free pointers.
20439 Fri Mar 23 00:24:52 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
20441 * lib/shell: commit miss(support for ruby 1.9(YARV) thread model).
20443 Thu Mar 22 13:32:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20445 * win32/Makefile.sub (LIBS): remove an unnecessary library.
20447 Thu Mar 22 10:27:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20449 * test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s.
20451 Wed Mar 21 20:38:06 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20453 * marshal.c (w_short, w_long, w_object): get rid of VC++ warnings.
20455 Wed Mar 21 20:05:07 2007 Koichi Sasada <ko1@atdot.net>
20457 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
20458 proc.c, vm.c, vm_macro.def, vm_macro.def, yarvcore.c, yarvcore.h,
20459 debug.c, debug.h: merge half-baked-1.9 changes. The biggest change
20460 is to change node structure around NODE_SCOPE, NODE_ARGS. Every
20461 scope (method/class/block) has own NODE_SCOPE node and NODE_ARGS
20462 represents more details of arguments information. I'll write a
20463 document about detail of node structure.
20465 Wed Mar 21 17:04:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20467 * bignum.c (rb_big2str0): round up for the most significant digit.
20470 Tue Mar 21 08:20:00 2007 Nathaniel Talbott <ntalbott@ruby-lang.org>
20472 * test/testunit/collector/test_dir.rb: Fixed test/unit tests that
20473 were breaking due to Module#public_instance_methods now
20474 returning a Symbol instead of a String.
20476 * test/testunit/collector/test_objectspace.rb: Ditto.
20478 Tue Mar 20 22:54:50 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20480 * marshal.c (w_extended): erroneous check condition when dump
20481 method is defined. [ruby-core:10646]
20483 Tue Mar 20 21:36:47 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
20485 * lib/shell.rb, lib/shell: support for ruby 1.9(YARV) thread model.
20487 Tue Mar 20 16:36:08 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
20489 * distruby.rb: Add zip generation.
20491 Tue Mar 20 16:20:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20493 * eval.c (rb_f_callee_name): add __method__ and __callee__ again.
20494 __callee__ need to rework to adopt YARV. [ruby-core:10671]
20496 Tue Mar 20 11:09:00 2007 Akinori MUSHA <knu@iDaemons.org>
20498 * lib/set.rb: Revise rdoc.
20500 * lib/set.rb (Set#freeze, Set#taint, Set#untaint): Implement
20501 Set#freeze, Set#taint, and Set#untaint; requested by: Dan
20502 Hutchings <dan AT moltoagitato.com> in [ruby-bugs:PR#9359].
20504 Tue Mar 20 09:13:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20506 * process.c (rb_fork): flush stdouts always before fork(2).
20507 fixed: [ruby-dev:30612]
20509 Tue Mar 20 01:38:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20511 * thread.c (thread_start_func_2): store the result of first_func
20512 as well as first_proc.
20514 * thread.c (thread_create_core): block is not used if first_func
20517 Mon Mar 19 16:58:52 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20519 * missing/{strlcat,strlcpy}.c, missing.h: new functions.
20521 * LEGAL: add copyright notice about above files.
20523 * configure.in: check whether strlcat and strlcpy are exist or not.
20525 * {bcc32,win32,wince}/Makefile.sub: use above files.
20527 Mon Mar 19 14:12:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20529 * lib/matrix.rb (Matrix::inverse_from): adding partial pivoting to
20530 the Gauss-Jordan algorithm, making it stable. a patch from
20531 Peter Vanbroekhoven. [ruby-core:10641]
20533 Mon Mar 19 12:13:36 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20535 * regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
20536 Huehner <stefan at huehner.org>. [ruby-core:10543]
20538 Mon Mar 19 11:27:13 2007 Minero Aoki <aamine@loveruby.net>
20540 * lib/net/protocol.rb (rbuf_read): extend buffer size for speed.
20542 Sun Mar 18 08:31:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20544 * win32/dir.h, win32/win32.c (rb_w32_opendir, rb_w32_readdir,
20545 rb_w32_closedir): get rid of possible buffer-overflows.
20547 Sat Mar 17 19:10:39 2007 Kouhei Sutou <kou@cozmixng.org>
20549 * lib/rss, test/rss:
20551 - bumped version 0.1.6 to 0.1.7.
20552 * sample/rss/convert.rb: added new sample.
20554 Fri Mar 16 22:32:20 2007 Minero Aoki <aamine@loveruby.net>
20556 * lib/net/pop.rb: change default verification mode from
20557 VERIFY_PEER to VERIFY_NONE because most POPS server does not have
20558 true certification.
20560 Fri Mar 16 22:19:24 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
20562 * ext/win32ole/win32ole.c: add WIN32OLE#ole_activex_initialize,
20563 a little bit supporting ActiveX control. [ruby-talk:241188]
20565 Fri Mar 16 22:16:58 2007 Minero Aoki <aamine@loveruby.net>
20567 * lib/net/http.rb: merge Ruby-SSPI patch contributed by Justin
20570 * ext/Win32API/lib/win32/sspi.rb: new file.
20572 Wed Mar 14 12:30:00 2007 Shigeo Kobayashi <shigeo@tinyforest.jp>
20574 * ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now
20575 treated as ("-0.31") not as ("0.31").
20577 Tue Mar 13 19:04:30 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
20579 * lib/sync.rb: support for ruby 1.9(YARV) thread model.
20581 Tue Mar 13 09:25:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20583 * common.mk (clear-installed-list): separated from install-prereq.
20585 Tue Mar 13 07:23:20 2007 Shugo Maeda <shugo@ruby-lang.org>
20587 * lib/monitor.rb (mon_try_enter): call @mon_muetx.try_lock.
20588 Thanks, Keiju ISHITSUKA. [ruby-dev:30507]
20590 Tue Mar 13 02:42:58 2007 Akinori MUSHA <knu@iDaemons.org>
20592 * lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nph
20593 assumption any more; submitted by MIYASAKA Masaru <alkaid AT
20594 coral.ocn.ne.jp> in [ruby-dev:30537].
20596 Mon Mar 12 10:53:28 2007 Akinori MUSHA <knu@iDaemons.org>
20598 * ext/openssl/ossl_asn1.c (Init_ossl_asn1): Let rdoc know about
20599 externally defined modules; submitted by Technorama
20600 Ltd. <oss-ruby AT technorama.net> in [ruby-bugs:PR#4704].
20602 * ext/openssl/ossl_bn.c (Init_ossl_bn): Ditto.
20604 * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Ditto.
20606 * ext/openssl/ossl_digest.c (Init_ossl_digest): Ditto.
20608 * ext/openssl/ossl_hmac.c (Init_ossl_hmac): Ditto.
20610 * ext/openssl/ossl_pkey.c (Init_ossl_pkey): Ditto.
20612 * ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): Ditto.
20614 * ext/openssl/ossl_pkey_dsa.c (Init_ossl_dsa): Ditto.
20616 * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): Ditto.
20618 * ext/openssl/ossl_rand.c (Init_ossl_rand): Ditto.
20620 * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Ditto.
20622 Sun Mar 11 18:42:01 2007 Akinori MUSHA <knu@iDaemons.org>
20624 * misc/ruby-mode.el (ruby-block-end-re): Support for the
20625 experimental ';;' terminator had been dropped.
20627 Sun Mar 11 05:45:46 2007 Akinori MUSHA <knu@iDaemons.org>
20629 * misc/README, misc/rdebug.el: Add rdebug.el, Emacs ruby-debug
20630 interface based on rubydb3x.el; submitted by Martin Nordholts
20631 <enselic AT gmail.com> in [ruby-bugs:PR#9023].
20633 Sat Mar 10 07:20:28 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
20635 * ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB#library_name,
20636 WIN32OLE_TYPELIB#visible?.
20638 * test/win32ole/test_win32ole_typelib.rb: ditto.
20640 Thu Mar 8 09:17:59 2007 Minero Aoki <aamine@loveruby.net>
20642 * compile.c: iseq_compile -> rb_iseq_compile.
20646 * intern.h: provide function prototype of Init_jump.
20648 * eval_jump.h (Init_jump): declare function type.
20650 * thread.c: platform-dependent functions should be surrounded by #ifdef.
20652 * iseq.c (iseq_data_to_ary): remove unused variable.
20654 * compile.c (set_arguments): ditto.
20656 * thread.c (set_unblock_function): ditto.
20658 * thread_pthread.ci: reduce printf warning.
20660 * vm_dump.c: ditto.
20662 Tue Mar 6 16:35:04 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
20664 * lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477].
20666 Tue Mar 6 11:53:25 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
20668 * ext/tk/sample/irbtkw.rbw: fails to exit process.
20670 Tue Mar 6 10:23:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20672 * runruby.rb: added --pure (turned on by default) and --debugger
20675 Mon Mar 5 09:19:33 2007 Minero Aoki <aamine@loveruby.net>
20677 * lib/timeout.rb (Timeout.timeout): should return the block value
20680 * lib/timeout.rb (Timeout.timeout): should yield sec argument
20683 * lib/timeout.rb (Timeout.timeout): fix document.
20685 Mon Mar 5 09:16:40 2007 Minero Aoki <aamine@loveruby.net>
20687 * lib/net/smtp.rb: support automatic STARTTLS.
20689 * lib/net/smtp.rb: check server advertisement.
20691 * lib/net/smtp.rb: introduce new class SMTP::Response.
20693 * lib/net/smtp.rb (getok): should not use sprintf.
20695 * lib/net/smtp.rb (get_response): ditto.
20697 * lib/net/protocol.rb: reduce syntax warning on 1.9.
20699 Mon Mar 5 07:13:28 2007 Minero Aoki <aamine@loveruby.net>
20701 * lib/net/smtp.rb: reconstruct SMTPS/STARTTLS interface. New
20702 interface is incompatible from current 1.9 interface at all.
20704 * lib/net/smtp.rb: All SSL-related class methods are removed; use
20705 instance methods instead.
20707 * lib/net/smtp.rb: rename methods: *ssl -> *tls (with alias
20710 * lib/net/smtp.rb: rename methods: *tls -> *starttls.
20712 Mon Mar 5 01:36:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20714 * parse.y (parser_yylex), win32/win32.c (rb_w32_utime): fixed
20715 indentation broken at YARV merger.
20717 Sun Mar 4 23:41:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20719 * file.c (rb_stat_uid, rb_stat_gid, eaccess): use rb_uid_t and
20720 rb_gid_t instead of int.
20722 * file.c (rb_stat_s_utime): fixed a commit miss for the platforms
20723 where utimes() does not exist.
20725 * lib/fileutils.rb (touch): ditto.
20727 Sun Mar 4 14:46:56 2007 WATANABE Hirofumi <eban@ruby-lang.org>
20729 * util.c (push_element): should return a int value.
20731 Sun Mar 4 01:01:25 2007 Akinori MUSHA <knu@iDaemons.org>
20733 * lib/set.rb (Set#^, Set#&): Correct documentation. Those methods
20734 return sets, not arrays; noted by Oliver Frank Wittich <nietz AT
20737 Sat Mar 3 22:54:33 2007 Minero Aoki <aamine@loveruby.net>
20739 * lib/fileutils.rb (touch): last #touch change causes error when
20740 :mtime option was not given.
20742 Sat Mar 3 22:51:29 2007 Minero Aoki <aamine@loveruby.net>
20744 * lib/fileutils.rb (mv): could not move directory between
20745 different file systems. [ruby-dev:30411]
20747 Sat Mar 3 22:37:02 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20749 * file.c (rb_file_s_utime): allow nil to set the current time.
20751 * lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate
20752 options. fixed: [ruby-talk:219037]
20754 Sat Mar 3 15:52:26 2007 Akinori MUSHA <knu@iDaemons.org>
20756 * object.c (instance_variable_get): Restore rdoc markups lost in
20759 Fri Mar 2 21:17:14 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
20761 * ext/win32ole/win32ole.c (get_ptr_of_variant, ole_set_safe_array,
20762 ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val,
20763 ): fix some bugs of WIN32OLE_VARIANT.new when variant type is
20764 VT_ARRAY|VT_BSTR or VT_BYREF.
20766 * ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize):
20767 WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value=
20768 is defined as instance method of WIN32OLE_VARIANT.
20770 * test/win32ole/test_win32ole_variant.rb: add some test for
20771 VT_ARRAY, VT_BYREF variant type.
20773 Fri Mar 2 07:58:24 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20775 * object.c (rb_obj_ivar_set): RDoc updated according to a
20776 suggestion from Brian Candler <B.Candler AT pobox.com>.
20779 Thu Mar 1 21:38:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20781 * parse.y (stmt, arg): should not omit lhs of OP_ASGN1 even if
20782 empty. [ruby-dev:30455]
20784 Thu Mar 1 02:55:25 2007 Akinori MUSHA <knu@iDaemons.org>
20786 * ext/digest/digest.c (get_digest_base_metadata): Allow inheriting
20787 Digest::Base subclasses, which was unintentionally made
20788 impossible while restructuring Digest classes.
20790 Thu Mar 1 02:05:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20792 * mkconfig.rb (patchlevel): read from version.h.
20794 Wed Feb 28 21:15:00 2007 WATANABE Hirofumi <eban@ruby-lang.org>
20796 * configure.in (ac_cv_func_fcntl): fcntl support for MinGW.
20798 * missing/flock.c: workaround for MinGW.
20800 Wed Feb 28 20:51:32 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
20802 * pack.c (pack_unpack): properly ignore non-base64 octets such as
20803 UTF-8 encoded BOMs; submitted by SOUMA Yutaka <holon@radastery.jp>
20804 to fix [ruby-core:10437]
20806 Wed Feb 28 18:31:51 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20808 * ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h.
20809 they are already checked at configure.
20810 reported by KOBAYASHI Yasuhiro [ruby-list:43225]
20812 Wed Feb 28 18:23:43 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20814 * lib/mkmf.rb ($DEFLIBPATH): default library paths ($(topdir), etc)
20815 should be the first elements of library paths list.
20816 reported by KOBAYASHI Yasuhiro [ruby-list:43225]
20818 Wed Feb 28 10:33:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20820 * Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): system
20821 specific thread model.
20823 * compile.h, regint.h, vm.h, array.c: removed unnecessary #include.
20825 Wed Feb 28 04:03:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20827 * enum.c (take_i): small cosmetic / documentation patch from
20828 Tadashi Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:30446]
20830 Wed Feb 28 01:20:18 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20832 * test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use
20833 target_os instead. reported by KOBAYASHI Yasuhiro [ruby-list:43225]
20835 Wed Feb 28 00:08:11 2007 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
20837 * mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']
20839 * common.mk: new target dist
20841 * distruby.rb: new file
20843 Tue Feb 27 22:18:45 2007 WATANABE Hirofumi <eban@ruby-lang.org>
20845 * configure.in (--enable-auto-image-base): avoid the necessity to
20846 rebase the shared libs as much as possible;
20847 submitted by Corinna Vinschen <spam at vinschen.de> in
20848 [ruby-talk:240964].
20850 Tue Feb 27 21:36:47 2007 WATANABE Hirofumi <eban@ruby-lang.org>
20852 * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().
20854 Tue Feb 27 21:33:04 2007 WATANABE Hirofumi <eban@ruby-lang.org>
20856 * configure.in (ac_cv_func_setrlimit): workaround for djgpp.
20858 Tue Feb 27 20:35:28 2007 NAKAMURA Usaku <usa@ruby-lang.org>
20860 * common.mk (error.c, process.c): depend on yarvcore.h and rubysig.h.
20862 Tue Feb 27 19:26:31 2007 Akinori MUSHA <knu@iDaemons.org>
20864 * ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1,
20865 rb_nkf_guess2): Silence warnings regarding char * vs. unsigned
20866 char * mismatch; submitted by Lyle Johnson
20867 <lyle.johnson@gmail.com> in [ruby-core:10416].
20869 Tue Feb 27 19:15:01 2007 Akinori MUSHA <knu@iDaemons.org>
20871 * lib/base64.rb (Base64::b64encode): Fix documentation; submitted
20872 by David Symonds <dsymonds@gmail.com> in [ruby-core:10432].
20874 Tue Feb 27 18:59:42 2007 Akinori MUSHA <knu@iDaemons.org>
20876 * ext/bigdecimal/bigdecimal.c (BigDecimal_load): Silence warnings
20877 regarding char * vs. unsigned char * mismatch; submitted by Lyle
20878 Johnson <lyle.johnson@gmail.com> in [ruby-core:10416].
20880 * ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto.
20882 * ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto.
20884 * ext/digest/digest.c (rb_digest_base_finish,
20885 rb_digest_base_update): Ditto.
20887 Tue Feb 27 18:12:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
20889 * enum.c (enum_take): new method. [ruby-dev:30407]
20891 * enum.c (enum_drop): ditto.
20893 Tue Feb 27 07:47:24 2007 Koichi Sasada <ko1@atdot.net>
20895 * yarvcore.h, vm.h: rename th_invoke_yield() to th_yield().
20897 * blockinlining.c: ditto.
20901 * vm.c, insns.def: rename th_invoke_yield_cfunc()
20902 to th_yield_with_cfunc().
20904 * yarvcore.h, yarvcore.c: rename theYarvVM to ruby_current_vm and
20905 yarvCurrentThread to ruby_current_thread. remove yarvVMArray.
20907 Tue Feb 27 00:45:23 2007 Minero Aoki <aamine@loveruby.net>
20909 * test/ruby/test_optimization.rb: restore method before calling
20912 Mon Feb 26 00:58:39 2007 Koichi Sasada <ko1@atdot.net>
20914 * yarvcore.h: add rb_thread_t#top_wrapper, top_self.
20916 * eval_load.c (rb_load): support eval in wrapper module
20917 (load(file, true)).
20921 * eval_jump.h: ditto.
20927 * yarvcore.c: ditto.
20929 * insns.def: add a empty line.
20931 Mon Feb 26 00:54:36 2007 Koichi Sasada <ko1@atdot.net>
20933 * common.mk: change "gdb" rule. You can debug miniruby with
20934 $(srcdir)/test.rb on gdb by this rule (type "make gdb").
20935 If you write break points to "breakpoints.gdb" on $srcdir,
20936 gdb runs with this file.
20938 Sun Feb 25 11:46:58 2007 Koichi Sasada <ko1@atdot.net>
20940 * win32/Makefile.sub: enable -Zi (debug) option.
20942 Sun Feb 25 11:38:40 2007 Koichi Sasada <ko1@atdot.net>
20944 * ruby.h: define RUBY_VM macro and remove NATIVETHREAD* macros.
20948 * signal.c (posix_signal): remove unused function
20949 posix_nativethread_signal().
20951 Sun Feb 25 11:31:13 2007 Koichi Sasada <ko1@atdot.net>
20953 * thread.c (rb_thread_run): fix to ANSI style.
20955 Sun Feb 25 11:09:16 2007 Minero Aoki <aamine@loveruby.net>
20957 * bootstraptest/runner.rb: show source code in error message.
20959 Sun Feb 25 09:39:50 2007 Koichi Sasada <ko1@atdot.net>
20963 rb_iseq_t#file_name -> filename
20964 rb_iseq_t#local_tbl -> local_table
20966 rb_iseq_t#local_table_size
20968 * compile.c: separate local_table_size and local_size
20969 (local variable size)
20971 * blockinlining.c: apply above rename.
20973 * compile.h: ditto.
20983 * vm_dump.c: ditto.
20985 Sun Feb 25 10:27:17 2007 Minero Aoki <aamine@loveruby.net>
20987 * bootstraptest/runner.rb: add lib/ to load path.
20989 Sat Feb 25 10:16:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20991 * rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
20993 Sat Feb 24 19:39:16 2007 Minero Aoki <aamine@loveruby.net>
20995 * common.mk: new target "btest", to run bootstraptests.
20997 Sat Feb 24 19:30:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
20999 * file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):
21000 renamed from OpenFile.
21002 * ext/dl/cptr.c, ext/io/wait/wait.c, ext/openssl/ossl.h,
21003 ext/openssl/ossl_bio.c, ext/openssl/ossl_ssl.c, ext/pty/pty.c,
21004 ext/readline/readline.c, ext/socket/socket.c: ditto.
21006 Sat Feb 24 19:28:23 2007 Minero Aoki <aamine@loveruby.net>
21008 * bootstraptest/runner.rb: new option -v,--verbose.
21010 Sat Feb 24 18:55:50 2007 Minero Aoki <aamine@loveruby.net>
21012 * yarvtest/test_method.rb: removed (merged to bootstraptest).
21014 * yarvtest/test_class.rb: ditto.
21016 Sat Feb 24 18:44:39 2007 Minero Aoki <aamine@loveruby.net>
21018 * bootstraptest/test_class.rb: new file.
21020 * bootstraptest/test_method.rb: add tests.
21022 Sat Feb 24 18:44:30 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21024 * intern.h (rb_thread_blocking_region): add prototype.
21026 * file.c (rb_thread_flock, rb_file_flock): use UBF feature.
21028 * process.c (rb_waitpid_blocking, rb_waitpid): use UBF feature.
21030 * thread.c (rb_thread_debug): added runtime debugging flag.
21032 * thread.c (BLOCKING_REGION): restore previous UBF.
21034 * thread.c (rb_thread_blocking_region): default UBF to interrupt
21035 in system dependent way by RB_UBF_DFL.
21036 + ubf_select() on posix system
21037 + ubf_handle() on Win32
21040 * thread_win32.ci (rb_w32_wait_events_blocking): blocking version.
21042 * win32/win32.c (waitpid): use rb_w32_wait_events_blocking().
21044 Sat Feb 24 17:45:48 2007 Minero Aoki <aamine@loveruby.net>
21046 * parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.
21048 Sat Feb 24 16:52:55 2007 Minero Aoki <aamine@loveruby.net>
21050 * bootstraptest/runner.rb: fix syntax error.
21052 Sat Feb 24 16:51:09 2007 Minero Aoki <aamine@loveruby.net>
21054 * bootstraptest/runner.rb: new option --help.
21056 Sat Feb 24 16:47:33 2007 Minero Aoki <aamine@loveruby.net>
21058 * bootstraptest: new test suite.
21060 * bootstraptest/runner.rb: new file.
21062 * bootstraptest/test_literal.rb: new file.
21064 * bootstraptest/test_method.rb: new file.
21066 Sat Feb 24 16:29:15 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21068 * win32/win32.c (StartSocket): remove unnecessary code.
21070 Sat Feb 24 16:04:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21072 * parse.y (struct local_vars): remove unused nofree member from
21075 * parse.y (parser_free): ditto.
21077 Sat Feb 24 15:57:19 2007 Shugo Maeda <shugo@ruby-lang.org>
21079 * lib/thread.rb (ConditionVariable#broadcast): use Mutex
21080 instead of Thread.exclusive.
21082 * lib/monitor.rb (MonitorMixin#mon_exit): unset @mon_owner
21083 before calling Mutex#unlock.
21085 Sat Feb 24 15:51:45 2007 Minero Aoki <aamine@loveruby.net>
21087 * parse.y (program): remove useless assignment to reduce warning.
21089 Sat Feb 24 15:41:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21091 * parse.y (lambda): remove unused clause from the rule to stop
21094 Sat Feb 24 15:41:22 2007 Shugo Maeda <shugo@ruby-lang.org>
21096 * lib/thread.rb: do not redefine Mutex#synchronize.
21098 Sat Feb 24 15:14:02 2007 Shugo Maeda <shugo@ruby-lang.org>
21100 * lib/monitor.rb: rewritten using Mutex/ConditionVariable.
21102 Sat Feb 24 13:25:32 2007 Koichi Sasada <ko1@atdot.net>
21104 * lib/soap/mapping/factory.rb: catch up with spec changes (return
21105 Symbols instead of Strings).
21107 * lib/soap/mapping/mapping.rb: ditto.
21109 Sat Feb 24 10:49:55 2007 Koichi Sasada <ko1@atdot.net>
21111 * parse.y, node.h, compile.c: change node tree structure. a purpose
21112 of this change is to unify argument structure of method and block.
21113 this change prohibits duplicate block parameter name.
21114 new argument information:
21115 NODE_ARGS [m: int, o: NODE_OPT_ARG, ->]
21116 NODE_ARGS_AUX [r: ID, b: ID, ->]
21117 NODE_ARGS_AUX [Pst: id, Plen: int, init: NODE*]
21118 optarg information:
21119 NODE_OPT_ARGS [idx, expr, ->]
21121 * vm_macro.def: ditto.
21127 * compile.h: fix debug function name.
21129 * test/ripper/test_scanner_events.rb: |_,_,foo| -> |_1,_2,foo|
21131 * test/ruby/test_lambda.rb: disable test temporarily.
21133 Sat Feb 24 10:46:28 2007 Koichi Sasada <ko1@atdot.net>
21135 * test/testunit/test_testcase.rb: catch up with current instance
21138 Sat Feb 24 10:32:59 2007 Koichi Sasada <ko1@atdot.net>
21140 * common.mk: change vm_macro.def rule.
21142 Sat Feb 24 10:38:05 2007 Minero Aoki <aamine@loveruby.net>
21144 * ext/racc/cparse/cparse.c (cparse_params_mark): remove useless
21145 rb_gc_mark. Thanks Tomoyuki Chikanaga. [ruby-dev:30405]
21147 Sat Feb 24 07:31:35 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21149 * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array,
21150 WIN32OLE_VARIANT#value=, refactoring.
21152 * test/win32ole/test_win32ole_variant.rb: add some test for
21153 WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=.
21155 Fri Feb 23 18:37:55 2007 Minero Aoki <aamine@loveruby.net>
21157 * test/ruby/test_yield.rb: new test.
21159 * yarvtest/test_yield.rb: removed (moved to test_yield.rb).
21161 Fri Feb 23 18:27:17 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21163 * thread.c (rb_thread_polling): check interrupts here.
21165 * thread_win32.ci (w32_wait_events): rename from w32_wait_event(), and
21166 now receive multiple event handles.
21168 * win32/win32.c (wait_events, rb_w32_main_context): removed.
21170 * thread_win32.ci (rb_w32_wait_events): new function.
21172 * thread_win32.ci, win32/win32.c (rb_w32_sleep, rb_w32_Sleep): move
21173 from win32/win32.c to thread_win32.ci, and use w32_wait_events().
21175 Fri Feb 23 18:13:22 2007 Minero Aoki <aamine@loveruby.net>
21177 * test/ruby/test_optimization.rb: new test (merges test_opts.rb).
21179 * yarvtest/test_opts.rb: removed.
21181 Fri Feb 23 16:59:39 2007 Minero Aoki <aamine@loveruby.net>
21183 * test/ruby/test_assignment.rb: merge yarvtest/test_massign.
21185 * yarvtest/test_massign.rb: removed (merged to
21186 test_assignment.rb).
21188 Fri Feb 23 15:58:20 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21190 * signal.c (sighandler): need to re-install sighandler on some
21193 Fri Feb 23 15:05:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21195 * win32/win32.c (set_pioinfo_extra): simplified.
21197 Fri Feb 23 14:23:20 2007 Minero Aoki <aamine@loveruby.net>
21199 * test/ruby/test_literal.rb: new test.
21201 Fri Feb 23 12:40:12 2007 James Edward Gray II <james@grayproductions.net>
21203 * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the
21204 Content-Length parameter optional for responses in
21205 xmlrpc/client.rb; suggested by Daniel Berger
21206 <Daniel.Berger@qwest.com> and approved by the maintainer.
21208 * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime
21209 support to xmlrpc; approved by the maintainer.
21211 Fri Feb 23 12:24:46 2007 Minero Aoki <aamine@loveruby.net>
21213 * parse.y (lambda): add ripper event. This fixes bus error on
21216 * ext/ripper/extconf.rb: do not stop build.
21218 Fri Feb 23 12:16:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21220 * parse.y: remove dyna_check_gen() prototype.
21222 Fri Feb 23 11:41:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21224 * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h,
21225 object.c, string.c, variable.c, vm_macro.def: revert private
21226 instance variable feature, which is postponed until next major
21229 * marshal.c: TYPE_SYMBOL2 removed; MARSHAL_MINOR reverted back to
21232 Fri Feb 23 10:53:21 2007 Shugo Maeda <shugo@ruby-lang.org>
21234 * thread_pthread.ci (native_mutex_lock): do not call
21235 pthread_mutex_trylock().
21237 Fri Feb 23 10:31:16 2007 Minero Aoki <aamine@loveruby.net>
21239 * dln.c: use dlopen on Mac OS X 10.3 or later.
21241 Fri Feb 23 10:03:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21243 * string.c (rb_str_ord): need not to check string length; ord
21244 returns a codepoint for the first character in the string.
21246 Wed Feb 21 22:29:45 2007 Akinori MUSHA <knu@iDaemons.org>
21248 * numeric.c (fix_equal): A bit more optimization.
21250 Wed Feb 21 17:40:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21252 * numeric.c (fix_equal): remove FIX2LONG() to optimize. suggested
21253 in http://t-a-w.blogspot.com/2007/02/making-ruby-faster.html.
21256 * numeric.c (fix_cmp): ditto.
21258 Wed Feb 21 09:14:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21260 * eval_load.c (rb_require_safe): should restore safe level.
21262 Tue Feb 20 21:19:29 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21264 * ext/win32ole/win32ole.c (installed_code_page_proc,
21265 ole_variant2val): small refactoring.
21267 Tue Feb 20 15:11:42 2007 Koichi Sasada <ko1@atdot.net>
21269 * eval.c, vm.c, yarvcore.h: move definition of rb_call_super() to
21270 vm.c from eval.c. change th_call_super() to static function.
21272 Tue Feb 20 15:08:25 2007 Koichi Sasada <ko1@atdot.net>
21274 * test/io/nonblock/test_flush.rb: YARV doesn't raise any errors if
21275 another thread close IO object which current thread is blocking with.
21277 Tue Feb 20 15:03:29 2007 Koichi Sasada <ko1@atdot.net>
21279 * thread.c (do_select, rb_thread_wait_fd_rw): raise sys error if
21280 errno is not 0 and EBADF.
21282 Mon Feb 19 22:15:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21284 * configure.in (RUBY_REPLACE_TYPE): cache convertible type info.
21286 * intern.h (rb_detach_process): use rb_pid_t instead of pid_t.
21288 * ruby.h (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT):
21289 defaulted to conversion using long.
21291 Mon Feb 19 17:14:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21293 * ext/socket/socket.c (unix_peeraddr): wrong syscall name in error
21294 message for #peeraddr. a patch from Sam Roberts
21295 <sroberts at uniserve.com>. [ruby-core:10366]
21297 Sun Feb 18 22:56:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21299 * ext/etc/etc.c (etc_getgrgid): missed to replace a macro.
21301 Sun Feb 18 19:33:00 2007 Tadayoshi Funaba <tadf@dotrb.org>
21303 * lib/date/format.rb: updated based on date2 4.0.3.
21305 Sun Feb 18 13:11:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21307 * configure.in (pid_t, uid_t, gid_t): check if defined.
21309 * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use
21310 rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376]
21312 * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM,
21313 NUM2GIDT): moved to configure.in.
21315 Fri Feb 16 21:34:33 2007 Koichi Sasada <ko1@atdot.net>
21317 * object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id.
21319 * test/testunit/test_testcase.rb: fix to use instance_variable_get()
21320 to access @_result.
21322 Fri Feb 16 20:59:10 2007 Koichi Sasada <ko1@atdot.net>
21324 * intern.h: add a prototype of rb_sym_to_s().
21326 Fri Feb 16 19:24:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21328 * math.c (math_log): update document to mention second optional
21329 argument for logarithm base.
21331 Fri Feb 16 19:19:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21333 * parse.y (mrhs): need to append by arg_append().
21336 Fri Feb 16 11:18:21 2007 Eric Hodel <drbrain@segment7.net>
21338 * lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse
21339 <hgs at dmu.ac.uk> from [ruby-core:10135]
21341 * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite.
21343 Thu Feb 15 20:48:36 2007 NAKAMURA Usaku <usa@ruby-lang.org>
21345 * win32/win32.c (set_pioinfo_extra): new function for VC++8 SP1
21346 workaround. [ruby-core:10259]
21348 * win32/win32.c (NtInitialize): call above function.
21350 Thu Feb 15 16:25:54 2007 Akinori MUSHA <knu@iDaemons.org>
21352 * lib/uri/generic.rb (URI::Generic::userinfo): Considering how
21353 `scheme://user:@...', `scheme://:password@...' and
21354 `scheme://:@...' are parsed, an empty user name or password
21355 should be allowed and represented as it is.
21357 Thu Feb 15 01:52:53 2007 Koichi Sasada <ko1@atdot.net>
21359 * vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to
21360 ruby_vm_global_state_version.
21362 Thu Feb 15 01:50:26 2007 Koichi Sasada <ko1@atdot.net>
21364 * test/fileutils/test_fileutils.rb (check_singleton): fix to use
21365 symbol instead of string.
21367 * test/io/nonblock/test_flush.rb: enable tests.
21369 * test/xmlrpc/test_webrick_server.rb: ditto.
21371 Thu Feb 15 01:43:45 2007 Koichi Sasada <ko1@atdot.net>
21373 * lib/delegate.rb: catch up with class local variable (@_v) spec.
21375 * lib/singleton.rb: ditto.
21377 Wed Feb 14 22:52:43 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21379 * ext/win32ole/win32ole.c (ole_variant2val): VC++6 does not
21380 support VT_I8, VT_UI8.
21382 Wed Feb 14 22:10:21 2007 Koichi Sasada <ko1@atdot.net>
21384 * configure.in: change stack limit to 2MB from 32MB.
21386 * win32/Makefile.sub: ditto.
21388 Wed Feb 14 21:39:36 2007 Akinori MUSHA <knu@iDaemons.org>
21390 * ext/digest/lib/digest.rb (Digest::self.const_missing): Drop
21391 autoloads for sha2 classes in favor of handling in
21392 const_missing(), to work around a problem exposed on OS X.
21394 Wed Feb 14 21:19:47 2007 Koichi Sasada <ko1@atdot.net>
21396 * thread_pthread.ci (native_thread_create): adjust 4KB (page size)
21399 Wed Feb 14 21:12:36 2007 Koichi Sasada <ko1@atdot.net>
21401 * thread_pthread.ci (CHECK_ERR): call rb_bug()
21402 instead of printf() and exit().
21404 Wed Feb 14 16:48:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21406 * lib/date/format.rb (Date::Format::Bag::method_missing): need not
21407 to use instance variables corresponding each method; use Hash
21410 Wed Feb 14 13:12:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21412 * re.c (reg_operand): allow symbols to be operands for regular
21413 expression matches.
21415 * string.c (Init_String): allow Symbol#===.
21417 * lib/date/format.rb (Date::Format::Bag::to_hash): string
21420 Wed Feb 14 12:58:38 2007 Koichi Sasada <ko1@atdot.net>
21422 * thread.c (do_select): fix to iterate select().
21423 on cygwin/mswin32, iterate in unblocking region.
21425 * thread.c (rb_thread_select): don't iterate on this function.
21426 (iterate in do_select).
21428 Wed Feb 14 11:39:18 2007 Koichi Sasada <ko1@atdot.net>
21430 * thread.c (set_unblock_function): fix function interface.
21432 Wed Feb 14 11:12:02 2007 Koichi Sasada <ko1@atdot.net>
21434 * eval_load.c, yarvcore.h: use rb_vm_t#loaded_features instead of
21435 rb_features (global variable).
21437 * yarvcore.c: mark rb_vm_t#loaded_features.
21439 Wed Feb 14 08:46:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21441 * compile.c (defined_expr): no longer distinguish ordinary local
21442 variables and in-block local variables in defined? value.
21444 Wed Feb 14 03:14:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21446 * lib/uri/generic.rb (URI::Generic::userinfo): should support
21447 empty password. [ruby-core:10290]
21449 * lib/uri/generic.rb (URI::Generic::set_password): password can be
21450 cleared by nil. [ruby-core:10290]
21452 Wed Feb 14 03:10:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21454 * parse.y (struct local_vars): no need to warn out-of-scope
21455 variables; remove dnames member from struct.
21457 Wed Feb 14 03:04:10 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21459 * parse.y: RVarmap no longer used as yytype; removed.
21461 * parse.y (dyna_push_gen): no longer need return value.
21463 * parse.y (dyna_pop_gen): no longer need argument.
21465 * parse.y (local_push_gen): initialize nofree.
21467 Wed Feb 14 00:30:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21469 * ext/socket/socket.c (init_unixsock): path may contain NUL for
21470 abstract unix sockets. [ruby-core:10288]
21472 Tue Feb 13 02:21:12 2007 Sam Roberts <sroberts@uniserve.com>
21474 * io.c (rb_f_syscall): Fix buffer overflow with syscall
21475 arguments. [ruby-bugs:PR#8541]
21477 Mon Feb 12 13:57:30 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21479 * ext/win32ole/win32ole.c (ole_variant2val): support VT_I8, VT_UI8.
21481 Mon Feb 12 11:48:52 2007 Kouhei Sutou <kou@cozmixng.org>
21483 * lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightses
21484 -> dc_rights_list. dc_rightses still exists for backward
21485 compatibility. [ruby-core:8350]
21487 * test/rss/test_maker_dc.rb: added tests for dc_rights_list.
21489 Sun Feb 11 22:40:17 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21491 * ext/win32ole/win32ole.c (ole_ptrtype2val): ole_type, ole_type_detail
21492 should not return "VARIANT,VARIANT".
21494 Sun Feb 11 22:11:05 2007 Kouhei Sutou <kou@cozmixng.org>
21496 * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#initialize):
21497 kept backward compatibility.
21499 Sun Feb 11 22:10:08 2007 Kouhei Sutou <kou@cozmixng.org>
21501 * lib/rss/parser.rb (RSS::ListenerMixin#start_else_element): used
21502 const_defined? instead of constants.include?.
21504 Sun Feb 11 18:47:14 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21506 * ext/win32ole/win32ole.c (ole_val2olevariantdata):
21507 WIN32OLE_VARIANT#new accepts nil when variant type is VT_ARRAY.
21509 * test/win32ole/test_win32ole_variant.rb: ditto.
21511 * ext/win32ole/win32ole.c: small refactoring.
21513 Sun Feb 11 07:42:25 2007 Akinori MUSHA <knu@iDaemons.org>
21515 * lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parse
21516 a quoted-string in a Content-Disposition value.
21518 Sat Feb 10 20:21:29 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21520 * ext/win32ole/win32ole.c: add WIN32OLE#ole_query_interface.
21521 thanks to Mikael Pahmp.
21523 * test/win32ole/test_win32ole.rb: ditto.
21525 Sat Feb 10 17:46:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21527 * common.mk: targets which depend on yarvcore.h now depend on
21530 * yarvcore.h (rb_vm_t): use rb_atomic_t instead of int.
21532 Sat Feb 10 00:13:11 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
21534 * ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd,
21535 __conv_keyonly_opts).
21537 Fri Feb 9 12:33:40 2007 Koichi Sasada <ko1@atdot.net>
21539 * thread_win32.ci (w32_show_error_message): renamed to w32_error.
21540 this function do rb_bug().
21542 * thread_win32.ci (w32_set_event, w32_reset_event, w32_close_handle,
21543 w32_resume_thread): added. fix to use these functions instead calling
21546 * thread_win32.ci (w32_create_thread): create suspend thread
21547 (caller must call w32_resume_thread()).
21549 Fri Feb 9 11:03:40 2007 Koichi Sasada <ko1@atdot.net>
21551 * test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.
21553 Fri Feb 9 05:08:17 2007 Koichi Sasada <ko1@atdot.net>
21555 * thread.c, thread_pthread.ci, thread_win32.ci (thread_start_func_1):
21556 move cleanup function to thread_start_func_2().
21558 * thread.c, thread_pthread.ci, thread_win32.ci:
21559 add more destruct functions.
21560 (native_thread_destroy() and native_mutex_destroy())
21562 * thread_pthread.ci, thread_pthread.h: make native_mutex_* functions
21563 (check error, etc), it's not macro any more.
21565 * thread_win32.ci (thread_start_func_1): store some values before
21566 running thread (to release these after running thread).
21568 * thread_win32.ci (native_thread_create): fix spaces.
21570 Thu Feb 8 22:44:04 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21572 * ext/win32ole/win32ole.c (ole_set_safe_array, ole_variant2val,
21573 ole_val_ary2variant_ary): fix WIN32OLE_VARIANT.new bug when
21574 1st argument is empty array, and when 2nd argument is
21577 * test/win32ole/test_win32ole_variant.rb: ditto.
21579 Thu Feb 8 22:39:09 2007 Koichi Sasada <ko1@atdot.net>
21581 * yarvtest/yarvtest.rb: check target command names.
21583 Thu Feb 8 22:31:45 2007 Koichi Sasada <ko1@atdot.net>
21585 * test/ruby/test_clone.rb: fix to current spec
21586 (Module should not be occur many times in ancestors).
21588 Thu Feb 8 22:26:14 2007 Koichi Sasada <ko1@atdot.net>
21590 * test/ruby/test_string.rb: ("foo" == :foo) and ("foo" === :foo)
21593 * ChangeLog: fix last messages.
21595 Thu Feb 8 22:24:06 2007 Koichi Sasada <ko1@atdot.net>
21597 * test/ruby/test_module.rb: fix to use Symbol instead of String.
21599 * test/ruby/test_module.rb: remove space before argument parentheses.
21601 Thu Feb 8 22:02:14 2007 Koichi Sasada <ko1@atdot.net>
21603 * test/ruby/marshaltestlib.rb: eval(sym) -> eval(sym.to_s)
21605 Thu Feb 8 21:35:16 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21607 * test/win32ole/test_propertyputref.rb (setup): fix typo.
21609 * test/win32ole/test_win32ole_event.rb: should not use
21610 InternetExplorer.gohome to test.
21612 Thu Feb 8 21:02:07 2007 Koichi Sasada <ko1@atdot.net>
21614 * thread.c (GVL_UNLOCK_RANGE): rename to BLOCKING_REGION().
21616 * thread.c (rb_thread_run_parallel): rename to
21617 rb_thread_blocking_region().
21619 Thu Feb 8 15:48:44 2007 Koichi Sasada <ko1@atdot.net>
21621 * yarvcore.h, thread.c: fix to use pthread on cygwin.
21623 * yarvcore.h, thread.c: move GVL_UNLOCK_BEGIN() and GVL_UNLOCK_END()
21624 from yarvcore.h to thread.c.
21626 * thread.c: change GVL_UNLOCK_RANGE() arguments
21627 (adding ubf as 2nd argument).
21629 * thread.c: fix to use polling in select on cygwin and mswin32.
21631 * thread.c, thread_pthread.ci, thread_win32.ci, yarvcore.h:
21633 * rb_thread_t#interrupt_function -> unblock_function
21634 * rb_interrupt_function_t -> rb_unblock_function
21635 * some interrupt function name -> ubf_*
21638 Thu Feb 8 16:08:02 2007 Koichi Sasada <ko1@atdot.net>
21640 * common.mk: fix to use RUNRUBY instead of BASERUBY if possible.
21642 * common.mk ($(INSNS) rule): remove $(PROGRAM) first.
21644 Thu Feb 8 15:43:05 2007 Koichi Sasada <ko1@atdot.net>
21646 * process.c: fix to use rb_status_line_set/get/clear().
21648 * eval_intern.h: fix line break.
21650 Thu Feb 8 15:00:14 2007 Koichi Sasada <ko1@atdot.net>
21652 * blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,
21653 eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,
21654 thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,
21655 vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
21656 fix typo (rb_thead_t -> rb_thread_t).
21658 * eval_intern.h: remove unused definitions.
21660 * common.mk: fix around vm_opts.h path
21661 and remove harmful argument passed to insns2vm.rb.
21663 Thu Feb 8 03:11:47 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21665 * lib/cgi.rb (CGI::unescapeHTML): invalid decoding for single
21666 unescaped ampersand. a patch from Tietew
21667 <tietew+ruby-dev at tietew.net> in [ruby-dev:30292].
21668 fixed: [ruby-dev:30289]
21670 Wed Feb 7 23:25:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21672 * eval.c (specific_eval): suppress warning.
21674 * thread_win32.h: undefine _WIN32 on cygwin. [ruby-dev:30303]
21676 Wed Feb 7 22:41:34 2007 Koichi Sasada <ko1@atdot.net>
21678 * eval_intern.h: remove UNSUPPORTED() macro.
21680 * thread.c: fix to define Continuation methods
21681 (they only do rb_notimplement()).
21683 Wed Feb 7 22:33:58 2007 Koichi Sasada <ko1@atdot.net>
21685 * eval_intern.h, yarvcore.h: remove unused macro definition.
21687 Wed Feb 7 22:30:28 2007 Koichi Sasada <ko1@atdot.net>
21689 * eval.c: fixed to use ANSI function style.
21691 Wed Feb 7 09:35:32 2007 Koichi Sasada <ko1@atdot.net>
21693 * this commit is a result of refactoring. only renaming functions,
21694 moving definitions place, add/remove prototypes, deleting
21695 unused variables and removing yarv.h.
21696 This commit doesn't change any behavior of ruby/vm.
21698 * yarv.h, common.mk: remove yarv.h (contents are moved to yarvcore.h).
21700 * error.c, eval_intern.h: include yarvcore.h instead yarv.h
21702 * rename some functions:
21703 * debug.[ch]: debug_*() -> ruby_debug_*()
21704 * iseq.c: iseq_*() -> rb_iseq_*(), ruby_iseq_disasm()
21705 * iseq.c: node_name() -> ruby_node_name()
21706 * vm.c: yarv_check_redefinition_opt_method() ->
21707 rb_vm_check_redefinition_opt_method()
21709 * some refactoring with checking -Wall.
21711 * array.c: remove rb_ary_ptr() (unused) and remove unused
21714 * object.c: add a prototype of rb_mod_module_exec().
21716 * eval_intern.h (ruby_cref): set it inline.
21718 * eval_load.c (rb_load), yarvcore.c: yarv_load() -> rb_load_internal().
21720 * parse.y: add a prototype of rb_parse_in_eval() (in eval.c).
21722 * process.c: add a prototype of rb_thread_stop_timer_thread() (in thread.c).
21724 * thread.c: remove raw_gets() function (unused) and fix some format
21725 mismatch (format mismatches have remained yet. this is todo).
21727 * thread.c (rb_thread_wait_fd_rw): fix typo on label name.
21729 * thread_pthread.ci: comment out codes with USE_THREAD_CACHE.
21731 * vm.c (rb_svar, rb_backref_get, rb_backref_get,
21732 rb_lastline_get, rb_lastline_set) : moved from yarvcore.c.
21734 * vm.c (yarv_init_redefined_flag): add a prototype and rename
21735 yarv_opt_method_table to vm_opt_method_table.
21737 * vm.c (rb_thread_eval): moved from yarvcore.c.
21739 * yarvcore.c: remove unused global variables and fix to use nsdr().
21741 Wed Feb 7 03:39:32 2007 Koichi Sasada <ko1@atdot.net>
21743 * blockinlining.c, compile.c, compile.h, error.c, eval.c,
21744 eval_intern.h, eval_jump.h, eval_load.c, eval_method.h,
21745 eval_safe.h, gc.c, insnhelper.h, insns.def, iseq.c, proc.c,
21746 process.c, signal.c, thread.c, thread_pthread.ci, thread_win32.ci,
21747 vm.c, vm.h, vm_dump.c, vm_evalbody.ci, vm_macro.def,
21748 yarv.h, yarvcore.h, yarvcore.c: change type and macro names:
21749 * yarv_*_t -> rb_*_t
21750 * yarv_*_struct -> rb_*_struct
21751 * yarv_tag -> rb_vm_tag
21752 * YARV_* -> RUBY_VM_*
21754 * proc.c, vm.c: move functions about env object creation
21755 from proc.c to vm.c.
21757 * proc.c, yarvcore.c: fix rb_cVM initialization place.
21759 * inits.c: change Init_ISeq() order (after Init_VM).
21761 * ruby.h, proc.c: change declaration place of rb_cEnv
21762 from proc.c to ruby.c.
21764 Tue Feb 6 22:06:45 2007 NARUSE, Yui <naruse@ruby-lang.org>
21766 * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}:
21767 imported nkf 2007-01-28.
21768 * Fixed: can't decode MIME encode JIS string.
21769 * Fixed: Fullwidth-halfwidth conversion.
21770 * Support DoCoMo's and Softbank's EMOJI
21771 * Support CP932, CP5022x, eucJP-ms UDC
21772 * Support UTF-32 encoding
21773 * Support beyond BMP
21774 [ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144]
21776 Tue Feb 6 20:36:19 2007 Kouhei Sutou <kou@cozmixng.org>
21778 * lib/rss/rss.rb, lib/rss/parser.rb: followed current Ruby
21779 specification. [ruby-dev:30274]
21781 Tue Feb 6 20:29:44 2007 Kouhei Sutou <kou@cozmixng.org>
21783 * lib/rss/rss.rb, lib/rss/parser.rb: removed needless code for
21784 backward compatibility.
21786 Tue Feb 6 18:43:17 2007 Shugo Maeda <shugo@ruby-lang.org>
21788 * lib/net/ftp.rb: moved fixes for EPIPE to the correct
21789 place. [ruby-core:10204]
21791 Tue Feb 6 16:38:08 2007 Koichi Sasada <ko1@atdot.net>
21793 * vm_opts.h: set properties:
21794 svn:keywords: Author Date Id Revision
21795 svn:eol-style: native
21797 Tue Feb 6 15:55:46 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21799 * variable.c (ivar_i): need to support class local instance
21802 Tue Feb 6 15:44:11 2007 Koichi Sasada <ko1@atdot.net>
21804 * compile.c (iseq_compile_each): fix setting is_local flag.
21806 * yarvtest/test_class.rb: add a test for class local instance variable.
21808 Tue Feb 6 14:15:34 2007 Koichi Sasada <ko1@atdot.net>
21810 * compile.c, insns.def: remove (get|set)instancevariable2 and add a
21811 operand is_local to (get|set)instancevariable.
21813 * yarvtest/test_class.rb: add a test for class local instance variable.
21815 * parse.y (rb_decompose_ivar2): remove unused variable oid.
21817 * tool/insns2vm.rb: remove needless require.
21819 Tue Feb 6 11:18:41 2007 Shugo Maeda <shugo@ruby-lang.org>
21821 * lib/net/ftp.rb: check the control connection on EPIPE.
21822 Thanks, Simon Williams. [ruby-core:9547]
21824 Tue Feb 6 11:03:27 2007 Koichi Sasada <ko1@atdot.net>
21826 * complement last commit.
21828 * common.mk (*.inc): use VPATH.
21830 * vm_opts.h: renamed from vm_opts.h.base.
21832 Tue Feb 6 10:02:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21834 * tool/insns2vm.rb: use vm_opts.h in VPATH.
21836 Tue Feb 6 03:47:58 2007 Koichi Sasada <ko1@atdot.net>
21838 * proc.c: support Binding#eval.
21840 * yarvtest/test_eval.rb: add a test for above change.
21842 Tue Feb 6 03:13:33 2007 Koichi Sasada <ko1@atdot.net>
21844 * proc.c: refactoring (remove K&R style, move Binding stuffs from
21845 Init_Proc() to Init_Binding()).
21847 Tue Feb 6 01:07:14 2007 Koichi Sasada <ko1@atdot.net>
21849 * intern.h: prepare rb_last_status_get() and rb_last_status_set().
21850 Use these functions instead of rb_last_status ([ruby-dev:30264]).
21852 * process.c: define above functions.
21854 * ext/pty/pty.c: use above functions.
21856 * io.c (pipe_finalize): ditto.
21858 * process.c: ditto.
21860 Mon Feb 5 21:26:56 2007 Koichi Sasada <ko1@atdot.net>
21862 * ruby.h: add a prototype of rb_id2str().
21864 Mon Feb 5 21:06:50 2007 Koichi Sasada <ko1@atdot.net>
21866 * eval_thread.c, common.mk: remove eval_thread.c.
21868 * yarvcore.c: rename cYarvThread to rb_cThread.
21870 * gc.c: remove YARV_* prefix.
21872 * gc.h: add an include guard and prototype of rb_gc_set_stack_end().
21874 * inits.c: fix to ANSI prototype style and reorder Init_*().
21876 * io.c (pipe_finalize): TODO: comment out last_status.
21878 * process.c, yarvcore.h: fix to use yarv_vm_t#last_status instead of
21879 rb_last_status and make last_status_get() to access $?.
21881 * yarvcore.c (vm_mark): mark yarv_vm_t#last_status.
21883 * ruby.h: add declarations of rb_cISeq and rb_cVM.
21885 * thread.c: move eval_thread.c codes to thread.c and remove yarv_*
21888 * thread.c (thread_start_func_2): use yarv_thread_t#first_func if
21891 * vm.c: fix copyright year.
21893 * yarvcore.c (Init_vm): rename to Init_VM().
21895 Mon Feb 5 04:09:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21897 * eval.c (rb_frame_callee): check if prev_cfp can be accessible.
21898 a patch from Yoshinori Sano <yoshinori.sano at gmail.com> in
21899 [ruby-dev:30252]. solves [ruby-dev:30200] and [ruby-core:9856].
21901 Sun Feb 4 20:34:41 2007 Kouhei Sutou <kou@cozmixng.org>
21903 * test/rss/rss-assertions.rb: removed needless code for backward
21906 Sun Feb 4 02:22:59 2007 Akinori MUSHA <knu@iDaemons.org>
21908 * lib/cgi.rb (CGI::QueryExtension::read_multipart): Remove a debug
21911 Sat Feb 3 23:51:58 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21913 * parse.y (rb_compose_ivar2): function to create a new ivar2
21914 symbol from a symbol and a class. back-ported from matzruby.
21916 * parse.y (rb_decompose_ivar2): reverse function of
21917 rb_compose_ivar2().
21919 * marshal.c (w_symbol): support class local instance variables.
21921 * marshal.c (r_object0): ditto.
21923 * compile.c (defined_expr): ditto.
21925 * compile.c (iseq_compile_each): ditto.
21927 * insns.def: add two new instructions: getinstancevariable2 and
21928 setinstancevariable2.
21930 Sat Feb 3 23:21:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21932 * insns.def (setclassvariable): remove unnecessary operand.
21934 * compile.c (iseq_compile_each): ditto.
21936 * common.mk (insns_info.inc): add dependency for insns_info.inc.
21938 Sat Feb 3 14:32:58 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
21940 * ext/win32ole/win32ole.c (ole_val2olevariantdata, ole_val2variant):
21941 fix the bug of WIN32OLE_VARIANT.new when variant type is
21944 * ext/win32ole/sample/excel1.rb: rewrite using WIN32OLE_VARIANT.
21946 * test/win32ole/test_win32ole.rb: add some test.
21948 * test/win32ole/test_win32ole_variant.rb: ditto.
21950 Sat Feb 3 03:35:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21952 * Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.
21954 * common.mk (runruby, benchmark, benchmark-each, tbench): use
21955 PROGRAM for the file to be built.
21957 * proc.c (yarv_proc_alloc): needs return.
21959 * call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,
21960 eval_error.h, eval_jump.h, eval_load.c, eval_thread.c, gc.c,
21961 insnhelper.h, insns.def, iseq.c, main.c, numeric.c, parse.y,
21962 range.c, ruby.h, signal.c, thread.c, thread_win32.ci, vm.c,
21963 vm.h, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
21964 fixed indents and non-C90 comments.
21966 * regenc.h: revert to before YARV.
21968 * lib/mkmf.rb (create_makefile): make object files depend on
21969 extconf.h even if depend file exists.
21971 Fri Feb 2 23:39:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21973 * common.mk (bin): add more dependency. a patch from Tadashi
21974 Saito <shiba at mail2.accsnet.ne.jp>. [ruby-dev:30245]
21976 Fri Feb 2 18:44:31 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21978 * insns.def (setclassvariable): remove warn argument.
21980 Fri Feb 2 18:36:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21982 * common.mk (compile.$(OBJEXT)): add config.h to vm.c and
21985 Fri Feb 2 18:27:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21987 * eval.c: remove duplicated global variables rb_cProc and
21988 rb_cBinding. [ruby-dev:30242]
21990 Fri Feb 2 00:13:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
21992 * ruby.h (SYMBOL_P): make Symbol immediate again for performance.
21994 * string.c: redesign symbol methods.
21996 Thu Feb 1 23:25:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
21998 * parse.y (rb_id2str): store Strings for operator symbols.
22001 Thu Feb 1 21:04:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22003 * parse.y (assignable_gen): no need to generate NODE_CVDECL.
22005 * compile.c (iseq_compile_each): no NODE_CVDECL.
22007 Thu Feb 1 20:53:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22009 * vm.c (eval_get_cvar_base): destination for class variable access
22010 is now strictly innermost surrounding class or module. warned
22011 if accessed from toplevel.
22013 * variable.c (rb_cvar_get): new class variable look-up scheme:
22014 1) look up in the class. 2) if the class is singleton attached
22015 to a class (i.e. metaclass) then start look up in the attached
22016 class and its ancestors. 3) otherwise, look-up in ancestors of
22019 * eval.c (cvar_cbase): destination for class variable access is
22020 the class/module that holds the method, or cbase outside of
22023 Thu Feb 1 20:31:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22025 * variable.c (rb_cvar_set): remove warn argument.
22027 Wed Jan 31 14:52:09 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22029 * test/ruby/test_iterator.rb (TestIterator::test_block_given_within_iterator):
22030 add new test. [ruby-core:10125]
22032 Tue Jan 30 17:01:21 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22034 * string.c (rb_str_sub_bang): calling rb_str_modify() should be just
22035 before actually modifying the string.
22036 fixed: [ruby-dev:30211] (originally reported by zunda)
22038 Tue Jan 30 13:24:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22040 * numeric.c (int_pred): add Integer#pred corresponding
22041 Integer#succ. [RCR#5]
22043 Tue Jan 30 12:05:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22045 * mkconfig.rb: autoconf 2.61 support. [ruby-core:10016]
22047 Mon Jan 29 23:52:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22049 * tool/compile.rb: replace YARVCore by VM class.
22051 Mon Jan 29 17:52:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22053 * lib/date/format.rb (Date::Format::Bag::method_missing): add
22054 prefix to avoid making t class-local instance variable.
22056 Mon Jan 29 21:32:37 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22058 * ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,
22059 WIN32OLE_VARIANT#vartype.
22061 * test/win32ole/test_win32ole.rb: add test for WIN32OLE.locale=,
22064 * test/win32ole/test_win32ole_variant.rb: add test for
22065 WIN32OLE_VARIANT#vartype.
22067 Mon Jan 29 14:14:35 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22069 * tool/parse.rb: replace YARVCore by VM class.
22070 http://d.hatena.ne.jp/ysano2005/20070128
22072 Sun Jan 28 08:41:49 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22074 * ext/win32ole/win32ole.c: refactoring.
22076 Sat Jan 27 18:36:33 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22078 * ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix.
22079 WIN32OLE_VARIANT.new check that 1st argument should T_ARRAY
22080 when variant type is VT_ARRAY.
22082 * test/win32ole/test_win32ole_variant.rb: add some test.
22084 Fri Jan 26 23:55:56 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22086 * ext/win32ole/win32ole.c: bug fix of WIN32OLE_VARIANT when variant
22087 type is VT_BYREF|VT_VARIANT.
22089 * test/win32ole/test_win32ole_variant_with_ie.rb: ditto.
22091 Fri Jan 26 12:03:39 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
22093 * ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,
22094 __conv_keyonly_optkeys): make them private [ruby-dev:30074].
22096 * ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073].
22098 * ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument.
22100 * ext/tk/lib/tk/canvas.rb: clarify the including module name
22103 * ext/tk/lib/tk/scrollable.rb: change primary name of modules
22106 Fri Jan 26 07:48:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22108 * enumerator.c (enumerator_init_copy): need to copy internal
22109 structure on clone and dup. [ruby-dev:30192]
22111 Wed Jan 24 20:34:51 2007 Kouhei Sutou <kou@cozmixng.org>
22113 * test/ruby/test_iterator.rb: removed a needless workaround.
22115 Wed Jan 24 18:05:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22117 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix
22118 regexp font-lock bug. [ruby-talk:235758]
22120 Tue Jan 23 18:26:12 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22122 * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
22123 of ===. [ruby-dev:30176]
22125 Tue Jan 23 15:39:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22127 * Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
22128 setup.mak}: add --with-baseruby configure option.
22130 Mon Jan 22 14:57:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22132 * ext/socket/socket.c: fix errors in socket sample code.
22135 Sat Jan 20 21:05:18 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22137 * ext/win32ole/win32ole.c (fole_s_set_code_page): WIN32OLE.codepage=
22138 accepts installed codepage.
22140 * test/win32ole/test_win32ole.rb (test_s_codepage_changed): ditto.
22142 Sat Jan 20 11:18:49 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22144 * ext/win32ole/win32ole.c (ole_invoke, ole_invoke2, ole_propertyput):
22145 modify WIN32OLERuntimeError message.
22147 * test/win32ole/test_win32ole.rb: ditto.
22149 Sat Jan 20 06:45:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22151 * eval_proc.c (method_receiver): add new method to get the bound
22152 receiver of the method object. [ruby-talk:234949]
22154 * eval_proc.c (method_name): new method to get the name of a
22157 * eval_proc.c (method_owner): a new method to get the class or
22158 module that defines the method.
22160 Fri Jan 19 17:12:23 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22162 * ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_VARIANT::Empty,
22163 WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.
22165 * test/win32ole/test_win32ole_variant.rb: ditto.
22167 * test/win32ole/test_nil2vtempty.rb(test_openSchema): ditto.
22169 Fri Jan 19 06:53:38 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22171 * ext/win32ole/win32ole.c (olevariant_free): fix memory leak.
22173 * ext/win32ole/win32ole.c (ole_val2olevariantdata):
22174 WIN32OLE_VARIANT.new accepts nil as first argument for some VARIANT
22177 * test/win32ole/test_win32ole_variant.rb: ditto.
22179 Wed Jan 17 17:31:28 2007 Koichi Sasada <ko1@atdot.net>
22181 * some refactoring around yarvcore and proc.
22183 * eval_proc.c: renamed to proc.c.
22185 * common.mk: ditto.
22187 * yarvcore.h, yarvcore.c: rename or remove some global variables
22188 removed: mYarvCore, mYarvInsns
22189 renamed: cYarvISeq -> rb_cISeq,
22190 cYarvProc -> rb_cProc, cYarvBinding -> rb_cBinding
22191 ::YarvCore module is removed and ::YarvCore::VM class becomes ::VM.
22192 And change/remove some functions which added with YARV.
22194 * compile.c: ditto.
22202 * inits.c: rename Init_yarvcore to Init_vm.
22204 * yarvcore.c, proc.c: move some functions and initialization
22205 from yarvcore.c to proc.c.
22207 * intern.h, proc.c: add global function rb_binding_new(void).
22209 Tue Jan 16 17:49:29 2007 Koichi Sasada <ko1@atdot.net>
22211 * vm.c (eval_search_super_klass): rename to search_super_klass() and
22212 use it by th_call_super().
22214 * insns.def: ditto.
22216 Tue Jan 16 17:48:11 2007 Koichi Sasada <ko1@atdot.net>
22218 * common.mk: fix ruby script path.
22220 Tue Jan 16 17:39:44 2007 Koichi Sasada <ko1@atdot.net>
22222 * vm.c (invoke_block): fix to specify self.
22224 Tue Jan 16 12:12:27 2007 Koichi Sasada <ko1@atdot.net>
22228 Tue Jan 16 12:00:06 2007 Koichi Sasada <ko1@atdot.net>
22230 * eval_proc.c (rb_proc_new): added.
22232 * string.c (sym_to_proc): supported.
22234 * vm.c (invoke_block, th_invoke_yield, th_invoke_proc): fix to support
22237 * yarvcore.c: add a test code.
22239 Sat Jan 13 23:24:59 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22241 * ext/win32ole/win32ole.c (ole_free, ole_type_free,
22242 olemethod_free, olevariable_free, oleparam_free,
22243 ole_event_free): fix memory leak. [ruby-core:09846]
22245 Wed Jan 10 00:10:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22247 * array.c (rb_ary_replace): use ptr and len of orig instead of
22248 shared. fixed: [ruby-dev:30116]
22250 Tue Jan 9 17:48:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
22252 * file.c (rb_find_file): should not call fpath_check() with NULL.
22253 fixed: [ruby-core:09867]
22255 Tue Jan 9 12:29:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22257 * ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly
22258 convert uid/gid from VALUE.
22260 * ext/etc/etc.c (etc_getpwuid): ditto.
22262 Tue Jan 9 03:54:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22264 * string.c (rb_str_upto): String#upto from empty string makes
22265 infinite loop. [ruby-core:09864]
22267 * string.c (rb_str_upto): use RSTRING_LEN().
22269 Sun Jan 7 18:36:05 2007 Koichi Sasada <ko1@atdot.net>
22271 * thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),
22272 rb_thread_start_timer_thread()): added.
22274 * thread_pthread.ci: add a native_thread_join() and move
22275 rb_thread_reset_timer_thread() definition to thread.c.
22277 * thread_win32.ci: ditto
22279 * process.c: fix before_exec(), after_exec() to stop timer thread
22280 (and restart timer thread if exec failed). and fix to reset
22281 timer thread information when forked child process starts
22282 (to fix [ruby-core:09822]).
22284 Sun Jan 7 18:28:17 2007 Koichi Sasada <ko1@atdot.net>
22286 * common.mk: add a "compare" rule and fix MATZRUBY variable
22288 Sun Jan 7 17:47:16 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22290 * test/win32ole/test_win32ole.rb: add test for WIN32OLE#[],
22293 * ext/win32ole/win32ole.c: update comment for rdoc of
22294 WIN32OLE#[] and WIN32OLE#[]=.
22296 Sun Jan 7 12:13:26 2007 Eric Hodel <drbrain@segment7.net>
22298 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_class_comment):
22299 Look for class and module comments above rb_define_class and
22300 rb_define_module. Patch by Daniel Berger <djberg96 at gmail.com>
22302 Sun Jan 7 10:32:12 2007 Eric Hodel <drbrain@segment7.net>
22304 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants):
22305 Properly handle escaping of : in comments.
22306 * test/rdoc/parsers/test_parse_c.rb:
22307 Test RDoc::C_Parser#do_classes and Rdoc::C_Parser#find_class_comment.
22309 Sun Jan 7 09:31:18 2007 Tadayoshi Funaba <tadf@dotrb.org>
22311 * lib/date/format.rb: updated based on date2 4.0.1.
22313 Sat Jan 6 18:46:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
22315 * io.c (rb_io_getline_fast, rb_io_getline): increase lineno
22316 when met the delimiter or EOF. fixed: [ruby-dev:30081]
22318 * io.c (prepare_getline_args, rb_io_getline_1): split
22319 preparation of arguments and reading. [ruby-dev:30085]
22321 Sat Jan 6 13:48:36 2007 Koichi Sasada <ko1@atdot.net>
22323 * insns.def (send): fix to optimize send() with Symbol.
22325 * yarvtest/test_method.rb: add another test.
22327 Sat Jan 6 13:43:55 2007 Koichi Sasada <ko1@atdot.net>
22329 * common.mk: add PHONY dependency to some rules
22331 Sat Jan 6 11:50:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22333 * io.c (argf_read): fix wrong replacement. [ruby-dev:30070]
22335 Sat Jan 6 09:10:52 2007 Koichi Sasada <ko1@atdot.net>
22337 * insns.def: support direct method dispatch with "send" or "funcall".
22338 This means that "obj.send :m" skips "BasicObject#send" invocation
22339 (method frame creation, etc) and "obj.m" invokes directly.
22340 If you make backtrace, there are no entries of "send" method.
22342 * compile.c (iseq_specialized_instruction): fix to support above
22344 * eval.c: ditto (remove "static" from rb_f_send and rb_f_funcall
22346 * yarvcore.c: ditto (add a external IDs for compiler)
22348 * yarvcore.h: ditto (add a VM_CALL_SEND_BIT macro)
22350 * yarvtest/test_method.rb: add tests for above changes
22352 * eval.c: remove unused "Kernel#send" declaration
22354 Sat Jan 6 08:29:17 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22356 * ext/win32ole/win32ole.c (Init_win32ole): add
22357 WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_NULL
22359 * test/win32ole/test_win32ole_variant_m.rb (test_variant): ditto.
22361 Sat Jan 6 03:49:22 2007 Koichi Sasada <ko1@atdot.net>
22363 * benchmark/run.rb: change option format
22367 Fri Jan 5 22:21:08 2007 Koichi Sasada <ko1@atdot.net>
22369 * benchmark/bm_app_pentomino.rb: use Array#dup instead of
22372 * benchmark/bmx_temp.rb: removed
22374 * benchmark/run.rb: use run.rb instead of run_rite.rb
22378 * benchmark/run_rite.rb: removed
22380 * common.mk: use $(srcdir)/test.rb to run a test program
22383 * benchmark/bmx_temp.rb: removed and
22384 set svn:ignore (bmx_*.rb) to benchmark/
22386 * test.rb: set svn:ignore
22388 Fri Jan 5 21:03:08 2007 Koichi Sasada <ko1@atdot.net>
22390 * yarvtest/yarvtest.rb: fix to compare results
22392 Fri Jan 5 20:52:56 2007 Koichi Sasada <ko1@atdot.net>
22394 * compile.c, compile.h: add ADD_CALL_RECEIVER() macro.
22396 * insns.def (send): use GET_SELF() direct if FCALL.
22398 * eval.c (rb_f_send): check method dispatch type to permit
22399 invoking private method when dispatch type is FCALL/VCALL
22401 * insns.def (opt_ltlt): remove useless statement.
22403 * vm.h: remove unused macros.
22405 Fri Jan 5 20:50:31 2007 Koichi Sasada <ko1@atdot.net>
22407 * benchmark/run_rite.rb: fix to use readlines instead of
22408 read(...).lines (because 1.8 doesn't have String#lines).
22410 Fri Jan 5 20:28:19 2007 Koichi Sasada <ko1@atdot.net>
22412 * thread_win32.ci (rb_thread_reset_timer_thread):
22413 added ([ruby-dev:30086]).
22415 Fri Jan 5 20:20:36 2007 Koichi Sasada <ko1@atdot.net>
22417 * common.mk: add .SUFFIXES rule
22419 Fri Jan 5 15:58:15 2007 Koichi Sasada <ko1@atdot.net>
22421 * eval_method.h (rb_alias): fix to check search result
22423 Fri Jan 5 13:59:53 2007 Koichi Sasada <ko1@atdot.net>
22425 * eval_method.h (rb_add_method): fix to check old_node
22427 Fri Jan 5 12:03:07 2007 Koichi Sasada <ko1@atdot.net>
22429 * compile.c (iseq_compile_each, set_block_local_tbl):
22430 support NODE_LAMBDA (partly).
22432 * sample/test.rb: restore test of NODE_LAMBDA
22434 * test/ruby/test_lambda.rb: ditto
22436 Fri Jan 5 12:31:23 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
22438 * thread_pthread.ci (native_sleep): fix tv_nsec overflow.
22440 Thu Jan 4 20:01:29 2007 Koichi Sasada <ko1@atdot.net>
22442 * common.mk: rename yarv-test-[all/each] to compare-test[/-each].
22443 purpose of "compare-test" rule is to compare ruby (trunk) and
22444 matzruby (branches/matzruby) binary in miniruby level. MATZRUBY
22445 parameter means an path to miniruby of matzruby binary. to do this
22446 comparison test, you should build matzruby branch.
22448 * yarvtest/yarvtest.rb: fix to use command line option as
22449 command names to be compared.
22451 * yarvtest/runner.rb: remove a debug output.
22453 Thu Jan 4 19:12:27 2007 Koichi Sasada <ko1@atdot.net>
22455 * common.mk: fix to use test.rb script in build directory.
22456 ($(srcdir)/test.rb -> test.rb)
22458 Thu Jan 4 17:28:05 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
22460 * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
22461 Arrays could not be modified in its each block. [ruby-dev:30063]
22463 Thu Jan 4 16:57:14 2007 Koichi Sasada <ko1@atdot.net>
22465 * yarv_version.h: removed.
22467 * common.mk: remove yarv_version.h from rules
22469 * yarvcore.h (Init_yarvcore): remove useless constants
22471 Thu Jan 4 17:00:06 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
22473 * ext/openssl/ossl_asn1.c (Init_ossl_asn1):
22474 OpenSSL::ASN1::ASN1Data#value,#tag,#tag_class and
22475 OpenSSL::ASN1::BitString#unused_bits should be public.
22477 Thu Jan 4 13:45:10 2007 Koichi Sasada <ko1@atdot.net>
22479 * thread_pthread.ci: fix last changes around PTHREAD_STACK_MIN.
22481 Thu Jan 4 13:42:47 2007 Koichi Sasada <ko1@atdot.net>
22483 * common.mk: restore changes.
22485 Thu Jan 4 10:33:54 2007 Koichi Sasada <ko1@atdot.net>
22487 * thread_pthread.ci: fix to skip using PTHREAD_STACK_MIN.
22490 Thu Jan 4 10:30:11 2007 Koichi Sasada <ko1@atdot.net>
22492 * benchmark/run_rite.rb (bm): fix to use lines.
22494 Wed Jan 3 18:49:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22496 * io.c (rb_io_getline): lineno update condition was wrong.
22499 * io.c (rb_io_getline_fast): ditto.
22501 Wed Jan 3 11:36:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
22503 * io.c (ruby_dup): start GC on ENOMEM as well.
22505 Tue Jan 2 10:29:54 2007 Eric Hodel <drbrain@segment7.net>
22507 * ext/zlib/zlib.c: fix to compile on YARV
22508 ruby_errinfo -> rb_errinfo()
22510 Mon Jan 1 08:07:06 2007 Koichi Sasada <ko1@atdot.net>
22512 * ext/tk/tcltklib.c: fix to compile on YARV
22513 ruby_errinfo -> rb_errinfo(),
22514 ruby_safe_level -> rb_safe_level().
22516 Mon Jan 1 07:57:17 2007 Koichi Sasada <ko1@atdot.net>
22518 * test/drb/test_drbssl.rb: fix to skip drb tests.
22520 Mon Jan 1 06:13:11 2007 Eric Hodel <drbrain@segment7.net>
22522 * lib/rdoc/parsers/c_parser.rb: Make Rdoc accessible. Update constant
22525 Mon Jan 1 06:13:11 2007 Eric Hodel <drbrain@segment7.net>
22527 * ext/bigdecimal/bigdecimal.c: Update constant comments to provide
22530 Mon Jan 1 06:05:55 2007 Eric Hodel <drbrain@segment7.net>
22532 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants):
22533 Allow RDoc comment to give friendly value for rb_define_const. Patch
22534 by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499].
22535 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants): Fix
22536 whitespace handling in constant comments.
22538 Mon Jan 1 00:00:00 2007 Koichi Sasada <ko1@atdot.net>
22542 Sun Dec 31 16:22:48 2006 Eric Hodel <drbrain@segment7.net>
22544 * array.c: Fix Array#reject.
22546 Sun Dec 31 00:46:25 2006 Tadayoshi Funaba <tadf@dotrb.org>
22548 * lib/date2.rb: removed.
22550 Sun Dec 31 00:15:13 2006 Tadayoshi Funaba <tadf@dotrb.org>
22552 * lib/date.rb, lib/date/format.rb: updated based on date2 4.0.
22554 Sat Dec 30 04:38:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22556 * enum.c (enum_each_with_index): reuse array for yield parameters.
22558 * enum.c (enum_min, enum_max): ditto.
22560 Sat Dec 30 04:25:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22562 * enum.c (enum_inject): reuse array for yield parameters.
22564 Sat Dec 30 02:54:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22566 * ext/stringio/stringio.c (strio_gets): accepts limit argument.
22568 * ext/stringio/stringio.c (strio_readline, strio_each,
22569 strio_readlines): ditto.
22571 Sat Dec 30 02:22:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22573 * ext/stringio/stringio.c (strio_getline): add limit capability.
22575 * io.c (rb_io_gets_m): accepts limit argument. [ruby-talk:231563]
22577 * io.c (rb_io_readline, rb_io_readlines, rb_io_each_line, argf_getline):
22580 * io.c (appendline): add limit capability.
22582 * io.c (rb_io_getline_fast, rb_io_getline): ditto.
22584 * io.c (rb_io_getline): small refactoring for DRY.
22586 * io.c (rb_io_s_foreach, rb_io_s_readlines): small refactoring.
22588 Thu Dec 28 15:27:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22590 * lib/cgi.rb (CGI::Cookie::initialize): use Array() again.
22593 Wed Dec 27 20:52:32 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22595 * ext/win32ole/win32ole.c: remove WIN32OLE::PROPERTY class.
22597 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
22599 Wed Dec 27 10:04:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22601 * object.c (rb_Array): returns 1-element array if the argument
22602 does not have to_ary nor to_a.
22604 Tue Dec 26 21:02:14 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
22606 * test/win32ole/test_folderitem2_invokeverb.rb: The argument
22607 of Shell.NameSpace should not be file path.
22609 Tue Dec 26 06:13:08 2006 Minero Aoki <aamine@loveruby.net>
22611 * ext/bigdecimal/bigdecimal.c: remove useless method
22612 BigDecimal#!=. [ruby-dev:30050]
22614 Thu Dec 21 15:37:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22616 * string.c (rb_str_slice_bang): rdoc description bug fixed.
22619 Wed Dec 20 12:54:31 2006 Koichi Sasada <ko1@atdot.net>
22621 * Convert CVS repository to Subversion repository.
22623 Mon Dec 18 08:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22625 * lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer
22626 works. [ruby-core:09738]
22628 Fri Dec 15 00:19:53 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22630 * win32/Makefile.sub (COMPILE_RULES): latter rule has higher priority.
22632 * lib/mkmf.rb (create_makefile): remove static library before update,
22633 to get rid of sludge of Borland tlib.exe.
22635 Thu Dec 14 18:29:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22637 * ext/readline/readline.c: NetBSD editline does not have
22638 rl_username_completion_function() and rl_completion_matches().
22639 a patch from Takahiro Kambe <taca at back-street.net>.
22642 Thu Dec 14 18:20:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22644 * lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch from
22645 NAKAMURA Usaku <usa@ruby-lang.org>. [ruby-dev:30012]
22647 Tue Dec 12 23:33:53 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22649 * lib/optparse.rb (Switch#parse_arg, Switch#conv_arg): splat failures.
22651 Mon Dec 11 11:51:10 2006 Akinori MUSHA <knu@iDaemons.org>
22653 * ext/digest/sha2/lib/sha2.rb: Moved one level up from under
22654 the superfluous subdirectory digest/.
22656 Mon Dec 11 11:46:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22658 * variable.c (rb_define_const): typo fixed.
22660 Mon Dec 11 09:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22662 * string.c (rb_str_aset): index double decode problem.
22665 Sat Dec 9 21:39:24 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22667 * eval.c (ruby_cleanup): keep the exception till after END blocks.
22670 Sat Dec 9 11:22:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22672 * lib/irb/locale.rb (IRB::Locale::search_file): use File.exist?
22673 instead of File.exists?. a patch from Yutaka Kanemoto
22674 <kinpoco at gmail.com> in [ruby-dev:30000].
22676 Fri Dec 8 18:11:18 2006 NAKAMURA Usaku <usa@ruby-lang.org>
22678 * lib/optparse.rb: cannot put :nodoc: before method definition.
22681 Fri Dec 8 17:00:13 2006 NAKAMURA Usaku <usa@ruby-lang.org>
22683 * bin/rdoc: use File.exist? instead of File.exists?.
22685 Thu Dec 7 23:50:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22687 * object.c (Init_Object): new method Dir.exist?(path).
22690 * file.c (Init_File): remove File.exists?; use File.exist?
22693 * file.c: rename functions to test_* to rb_file_*_p.
22695 Thu Dec 7 09:29:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22697 * lib/weakref.rb (WeakRef::__setobj__): should support
22698 marshaling. [ruby-talk:228508]
22700 Wed Dec 6 23:58:36 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22702 * Makefile.in, common.mk (NULLCMD): moved for platforms that empty
22703 command does not run. fixed: [ruby-dev:29994]
22705 * win32/win32.c (init_stdhandle): redirect unopened IOs to NUL.
22708 Tue Dec 5 19:01:42 2006 WATANABE Hirofumi <eban@ruby-lang.org>
22710 * configure.in (SITE_DIR): fixed to empty RUBY_SITE_LIB in config.h on
22711 NetBSD. fixed: [ruby-dev:29358]
22713 Tue Dec 5 18:38:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22715 * lib/matrix.rb (Matrix::rank): use quo method to avoid integer
22716 division problem. [ruby-core:09644]
22718 * lib/matrix.rb (Matrix::rank_e): ditto.
22720 Tue Dec 5 00:59:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22722 * misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
22723 self assignment operator, not regex. [ruby-talk:227324]
22725 Tue Dec 5 00:19:14 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22727 * intern.h, object.c, variable.c (rb_mod_constants): added an optional
22728 flag to search ancestors, which is defaulted to true, as well as
22729 const_defined? and const_get. [ruby-dev:29989]
22731 Mon Dec 4 23:49:28 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22733 * instruby.rb (install_recursive): get rid of warning.
22735 * lib/optparse.rb (CompletingHash#match): get rid of splat failure.
22737 Mon Dec 4 19:16:39 2006 Akinori MUSHA <knu@iDaemons.org>
22739 * ext/digest/lib/digest/hmac.rb: Do alias << update.
22741 Mon Dec 4 10:48:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22743 * ruby.h (OFFT2NUM): use LONG2NUM() if sizeof(long) equals to
22746 Mon Dec 4 08:32:25 2006 Shugo Maeda <shugo@ruby-lang.org>
22748 * lib/cgi.rb (CGI::QueryExtension::read_multipart): should quote
22749 boundary. JVN#84798830
22751 Sun Dec 3 16:16:53 2006 Akinori MUSHA <knu@iDaemons.org>
22753 * ext/digest/lib/digest/hmac.rb: Fix problems with update
22754 timing. [Reported by: oss-ruby@technorama.net]
22756 Sat Dec 2 07:33:53 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
22758 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::FormData::<<):
22759 HTTPUtils::parse_header() takes a string. [ruby-dev:29931]
22761 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header):
22762 String does no longer have each method.
22764 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_form_data):
22767 Sat Dec 2 07:09:04 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
22769 * ext/openssl/ossl_ocsp.c: OpenSSL::OCSP::OSCPError should be
22770 subclass of OpenSSL::OpenSSLError. [ruby-dev:29980]
22772 Fri Dec 1 16:31:53 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
22774 * ext/tk/tcltklib.c: shouldn't run the killed thread at callback.
22775 [ruby-talk: 227408]
22777 Tue Nov 28 17:25:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22779 * array.c (ary_iter_check): should check modification (size
22780 change) during iteration.
22782 * array.c (rb_ary_initialize, rb_ary_shift, rb_ary_unshift,
22783 rb_ary_splice, rb_ary_reverse, rb_ary_sort, rb_ary_delete,
22784 rb_ary_delete_at, rb_ary_reject_bang, rb_ary_replace,
22785 rb_ary_clear, rb_ary_fill, rb_ary_uniq_bang, rb_ary_compact,
22786 rb_ary_shuffle): add iteration check.
22788 Mon Nov 27 09:00:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22790 * string.c (rb_str_ord): typo fixed. reported from Kornelius
22791 Kalnbach <murphy@rubychan.de>. [ruby-core:09621]
22793 Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org>
22795 * version.h: addition of RUBY_PATCHLEVEL.
22796 * version.c: ditto.
22798 Wed Nov 22 16:00:49 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
22800 * ext/tk/extconf.rb: support --with-X11/--without-X11 option.
22802 * ext/tk/README.tcltklib: add description about --with-X11-* option
22803 [ruby-talk:225166] and --with-X11/--without-X11 option.
22805 * ext/tk/tkutil/extconf.rb: able to be called manually
22806 [ruby-talk:225950].
22808 Sat Nov 18 23:39:20 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22810 * object.c (rb_obj_tap): a new method. [ruby-talk:224013]
22812 Wed Nov 15 23:22:54 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22814 * file.c (test_grpowned, rb_stat_grpowned): should honor
22815 supplementary group IDs. [ruby-core:09546]
22817 Tue Nov 7 18:35:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22819 * eval.c (formal_assign): need to pack rest arg information in
22822 Tue Nov 7 18:05:01 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
22824 * ext/tk/lib/tk/itemconfig.rb: minor bug fix.
22826 Tue Nov 7 17:52:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22828 * class.c (rb_include_module): revert duplicate inclusion of
22829 modules. [ruby-dev:29793]
22831 Tue Nov 7 17:18:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22833 * eval.c (method_missing): update old argument adjustment.
22835 Tue Nov 7 16:41:21 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22837 * eval.c (when_check): need to splat for NODE_ARGSCAT as well.
22840 Mon Nov 6 22:23:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22842 * string.c (Init_String): remove duplicated definition of
22845 Mon Nov 6 18:54:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22847 * eval.c (svalue_to_avalue): need to splat but no error.
22849 * eval.c: new macros - YIELD_CALL, YIELD_VALUES.
22851 * eval.c (rb_yield_values): specify YIELD_VALUES.
22853 * eval.c (rb_yield_0): use new macros.
22855 * eval.c (proc_invoke): slightly modified to separate YIELD_CALL
22856 and YIELD_VALUES from YIELD_ARY_ARGS.
22858 * object.c (Init_Object): add nil.to_splat => [].
22860 Mon Nov 6 15:41:55 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
22862 * ext/tk/lib/tk/itemconfig.rb: ext/tk/lib/tk/itemconfig.rb: bug
22863 fix on 'itemconfiginfo' method, and modify to make it easy to
22864 override 'itemconfiginfo' method.
22866 * ext/tk/lib/tkextlib/tile/treeview.rb: support Tile 0.7.8.
22868 * ext/tk/lib/tkextlib/version.rb: [new] add Tk::Tkextlib_RELEASE_DATE
22869 to get the information from scripts.
22871 * ext/tk/lib/tk.rb: load 'tkextlib/version.rb', and update RELEASE_DATE
22873 * ext/tk/lib/tkextlib/SUPPORT_STATUS: update.
22875 * ext/tk/sample/editable_listbox.rb: [new] the listbox with editable
22876 items. It's one of the example about usage of Place geometry manager.
22878 * ext/tk/sample/tktextio.rb: improve the functions of TkTextIO class.
22879 Those are required by 'irbtkw.rbw'.
22881 * ext/tk/sample/irbtkw.rbw: [new] IRB on Ruby/Tk. It doesn't need any
22882 real console. IRB works on a text widget without I/O blocking. That
22883 is, thread switching on IRB will work properly, even if on Windows.
22885 Mon Nov 6 00:42:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22887 * parse.y (arg_dup_check): vid may be nameless internal id.
22889 Sun Nov 5 19:52:19 2006 Tadayoshi Funaba <tadf@dotrb.org>
22891 * lib/date.rb: updated based on date2 3.9.7.
22893 Sat Nov 4 13:09:31 2006 Shugo Maeda <shugo@ruby-lang.org>
22895 * lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]
22897 Fri Nov 3 00:16:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22899 * ext/socket/socket.c (ruby_getnameinfo__aix): AF_INET6 workaround
22900 for AIX. a patch from Yutaka Kanemoto <kinpoco AT gmail.com>.
22903 Thu Nov 2 14:19:44 2006 Akinori MUSHA <knu@iDaemons.org>
22905 * lib/set.rb (Set#^): Fix XOR operation against a container that
22906 holds duplicate values. [ruby-core:9372]
22908 Thu Nov 2 10:00:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22910 * string.c: class Symbol is no longer subclass of String. also
22911 covers [ruby-core:09366]
22913 Thu Nov 2 08:21:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22915 * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should
22916 come earlier than String.
22918 * lib/soap/mapping/rubytypeFactory.rb (RubytypeFactory::obj2soap):
22921 * lib/set.rb (TC_Set::test_s_new): strings are no longer
22924 * lib/soap/property.rb (Property::load): ditto.
22926 * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header): ditto.
22928 * lib/soap/mimemessage.rb (MIMEMessage::Headers::parse): ditto.
22930 Thu Nov 2 09:08:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22932 * array.c: revert lfree shift/unshift boost patch to avoid unknown
22935 Wed Nov 1 23:24:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22937 * ruby.h (struct RArray): revert embedding ptr in RVALUE.
22941 Wed Nov 1 23:01:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22943 * string.c (hash): use Bob Jenkins' hash algorithm.
22945 Wed Nov 1 02:22:31 2006 Akinori MUSHA <knu@iDaemons.org>
22947 * ext/digest/lib/digest/hmac.rb (Digest::HMAC::update): Minor
22950 * ext/digest/digest.c (rb_digest_instance_equal): Allow comparing
22951 a digest instance with another of a different class.
22953 Wed Nov 1 01:05:13 2006 NAKAMURA Usaku <usa@ruby-lang.org>
22955 * eval.c (rb_call0): fixed bug of zsuper with both of opt and rest.
22956 fixed: [ruby-list:42928]
22958 Tue Oct 31 17:03:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22960 * time.c (time_dup): duplicate the class of original time.
22963 * lib/time.rb (Time::make_time, Time::rfc2822, Time::httpdate):
22964 should respect subclasses. [ruby-core:09357]
22966 Tue Oct 31 16:25:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22968 * array.c (ary_shared_first): should address offset after
22969 ary_shared_array(). [ruby-core:09358]
22971 Mon Oct 30 23:40:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
22973 * Makefile.in (miniruby): add XLDFLAGS.
22975 * configure.in (aix): use -bE option for miniruby. [ruby-dev:29698]
22977 * dir.c (glob_helper): get rid of possible memory leak.
22979 * win32/win32.c (cmdglob, rb_w32_cmdvector, rb_w32_opendir,
22980 rb_w32_get_environ): not to use GC before initialization.
22982 Mon Oct 30 19:28:02 2006 NAKAMURA Usaku <usa@ruby-lang.org>
22984 * bignum.c (rb_big2str0): use better approximation.
22986 Mon Oct 30 18:35:33 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22988 * bignum.c (rb_big2str0): wrong allocation length. a patch from
22989 U.Nakamura <usa at garbagecollect.jp> [ruby-dev:29710]
22991 Mon Oct 30 12:34:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22993 * eval.c (rb_eval): fix commit miss. [ruby-dev:29707]
22995 Mon Oct 30 11:15:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
22997 * sprintf.c (rb_str_format): should preserve leading zero
22998 information for negative %b and %x. [ruby-talk:221347]
23000 Sun Oct 29 19:51:31 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
23002 * regexec.c: invalid offset value was used in STATE_CHECK_BUFF_INIT().
23004 Sat Oct 28 20:13:18 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
23006 * oniguruma.h: Version 4.4.5
23010 * regerror.c: ditto.
23012 * regexec.c: ditto.
23016 * regparse.c ditto.
23018 Sat Oct 28 07:56:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23020 * marshal.c (r_object0): missing break. [ruby-core:09345]
23022 Fri Oct 27 17:30:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23024 * enumerator.c (enum_each_cons): move RETURN_ENUMERATOR() after
23027 Thu Oct 26 21:05:48 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
23029 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_verify): should clear error.
23030 (fix http://bugs.debian.org/394336)
23032 * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): ditto.
23034 Thu Oct 26 15:23:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23036 * enumerator.c: remove by_slice and by_cons.
23038 Thu Oct 26 15:12:12 2006 NAKAMURA Usaku <usa@ruby-lang.org>
23040 * ext/digest/digest.c (Init_digest): typo.
23042 Wed Oct 25 17:16:05 2006 Akinori MUSHA <knu@iDaemons.org>
23044 * test/digest/test_digest_hmac.rb: added.
23046 Wed Oct 25 16:34:31 2006 Akinori MUSHA <knu@iDaemons.org>
23048 * ext/digest/test.sh: make this script work again.
23050 Wed Oct 25 07:59:42 2006 Tadayoshi Funaba <tadf@dotrb.org>
23052 * lib/date/format.rb: updated based on date2 3.9.6.
23055 Wed Oct 25 00:58:19 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23057 * win32/mkexports.rb, win32/resource.rb: use unique variable names.
23059 Tue Oct 24 19:18:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23061 * enumerator.c (enumerator_by_slice): new method added.
23063 * enumerator.c (enumerator_by_cons): ditto.
23065 Tue Oct 24 18:56:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23067 * enumerator.c (enum_each_slice, enum_each_cons): returns
23068 Enumerable::Enumerator if no block is given. [ruby-dev:29246]
23070 * enumerator.c: remove methods: enum_with_index, enum_slice,
23071 enum_cons. [ruby-dev:29246]
23073 Tue Oct 24 18:51:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23075 * enum.c (enum_zip): add RETURN_ENUMERATOR() to zip method.
23077 Mon Oct 23 04:30:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23079 * marshal.c (r_object0): use return value from proc given as the
23080 second argument to Marshal#load() to allow value replacement in
23081 the restoring data.
23083 Sun Oct 22 14:48:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23085 * signal.c (Init_signal): avoid duplicated installation of SIGCHLD
23088 Sun Oct 22 16:47:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23090 * string.c (rb_str_substr): should be infected with only original
23091 string, but not the shared string. fixed: [ruby-core:09152]
23093 * string.c (rb_str_new4): keep shared string untainted when original
23094 string is tainted. fixed: [ruby-dev:29672]
23096 Sun Oct 22 07:55:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23098 * string.c (rb_str_upcase, rb_str_downcase, rb_str_downcase,
23099 rb_str_upcase_bang, rb_str_downcase_bang, rb_str_swapcase_bang):
23100 add RDoc description that case conversion to be effective only
23103 Sun Oct 22 05:20:34 2006 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
23105 * configure.in: alloca is broken; use C_ALLOCA instead.
23108 Sat Oct 21 17:50:40 2006 Akinori MUSHA <knu@iDaemons.org>
23110 * ext/digest/lib/digest.rb: Follow the framework updates.
23112 Fri Oct 20 22:00:43 2006 Akinori MUSHA <knu@iDaemons.org>
23114 * ext/digest/lib/digest/hmac.rb: Complete half-boiled updates.
23116 * ext/digest/sha2/lib/digest/sha2.rb: Fix #initialize_clone().
23118 Fri Oct 20 20:28:37 2006 Akinori MUSHA <knu@iDaemons.org>
23120 * ext/digest: Prefix C constants with RUBY_ and C type names with
23121 rb_ to avoid name clash in writing extensions.
23123 * ext/digest: Introduce Digest::Class and Digest::Instance for
23124 ease of implementing subclasses and add-ons, inspired by
23127 * ext/digest: The Digest::Instance module now requires and assumes
23128 that any instance be resettable and clonable, and add some
23129 convenient instance methods such as "new()", for creating a new
23130 copy, parameter taking "digest()" and "hexdigest()", for instant
23131 calculation. These methods make digest instances work just like
23134 * ext/digest/sha2/lib/digest/sha2.rb:
23135 Add the Digest::SHA2 class to wrap up SHA2 variants: SHA256,
23136 SHA384 and SHA512, hoping this module would make a decent
23137 example of a digest subclass written in Ruby.
23139 * ext/digest/lib/digest.rb: Adjust autoload entries for SHA2
23142 * ext/digest/lib/digest/hmac.rb: Follow the framework updates.
23144 Fri Oct 20 10:47:43 2006 NAKAMURA Usaku <usa@ruby-lang.org>
23146 * lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.
23148 Fri Oct 20 08:42:38 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23150 * common.mk (NULLCMD): dummy command.
23152 * bcc32/Makefile.sub (post-install-*): Borland make cannot ignore
23153 command-less double-colon rules. [ruby-dev:29676]
23155 Fri Oct 20 00:37:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23157 * bcc32/Makefile.sub ($(LIBRUBY_SO)): execute pre-link hook.
23159 * ext/extmk.rb: workaround for Borland make.
23161 Wed Oct 18 23:02:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23163 * array.c (rb_ary_shift): shorten copy size. fixed: [ruby-list:42907]
23165 * signal.c (Init_signal): handle SIGTERM. fixed: [ruby-list:42895]
23167 * win32/win32.c (rb_w32_utime): allow NULL to set the current time.
23170 Wed Oct 18 13:25:50 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23172 * string.c (rb_str_each_line): String#lines now works when a block
23173 is given. in other words, lines become an alias to each_line.
23176 * string.c (rb_str_each_byte): ditto for bytes in place of lines.
23178 Wed Oct 18 00:55:33 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23180 * parse.y (parser_yylex): use particular enums. [ruby-core:09221]
23182 Tue Oct 17 22:03:08 2006 Minero Aoki <aamine@loveruby.net>
23184 * lib/erb.rb: String#each was removed, use #each_line instead.
23186 Tue Oct 17 12:27:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23188 * array.c (ary_shared_array): should set NOEMBED flag for a copied
23191 Tue Oct 17 08:04:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23193 * string.c (rb_str_lines): now takes optional argument for the
23196 * io.c (rb_io_lines, rb_io_bytes): new methods.
23198 Mon Oct 16 23:33:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23200 * array.c (rb_ary_unshift_m): a bug in lfree shift length
23203 Mon Oct 16 08:30:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23205 * mkconfig.rb: *OBJS are not needed for extension libraries.
23207 * {bcc32,wince,win32}/Makefile.sub (config.status): fixed typo,
23210 Mon Oct 16 00:44:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23212 * pack.c (pack_unpack): execute block if given with unpacked value
23213 instead of creating an array. an idea from Tim Bray.
23215 Sun Oct 15 01:03:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23217 * lib/test/unit/collector/dir.rb (Collector::Dir#collect): append base
23218 directory but not prepend.
23220 * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): do not
23221 join with dot. fixed: [ruby-core:09179]
23223 Sat Oct 14 23:39:50 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23225 * parse.y (singleton): no need to re-create NODE_SELF() again.
23228 Sat Oct 14 23:25:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23230 * parse.y (parser_warning, parser_warn): some error message may
23231 contain format specifiers. a patch from Akinori MUSHA <knu at
23232 iDaemons.org>. [ruby-dev:29657]
23234 * regparse.c (onig_rb_warning, onig_rb_warn): ditto.
23236 * ext/bigdecimal/bigdecimal.c (VpException): ditto.
23238 * ext/dl/handle.c (rb_dlhandle_initialize): ditto.
23240 * ext/gdbm/gdbm.c (rb_gdbm_fatal): ditto.
23242 Sat Oct 14 08:15:42 2006 Akinori MUSHA <knu@iDaemons.org>
23244 * ext/digest/digest.c, ext/digest/digest.h,
23245 ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
23246 ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c:
23247 Introduce API versioning.
23249 * ext/digest/digest.c, ext/digest/digest.h,
23250 ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
23251 ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c: Remove
23252 the constants DIGEST_LENGTH and BLOCK_LENGTH and turn them into
23253 instance methods digest_length() and block_length(). Class
23254 methods with the same names are also provided, which take extra
23255 parameters for a digest method.
23257 * ext/digest/lib/digest/hmac.rb: Completely redesign the somewhat
23258 bizarre API, now that Digest classes can take hashing
23261 Sat Oct 14 05:54:05 2006 Akinori MUSHA <knu@iDaemons.org>
23263 * ext/digest/digest.c: Improve RDoc documentation further more.
23265 Sat Oct 14 04:33:33 2006 Akinori MUSHA <knu@iDaemons.org>
23267 * ext/digest/digest.c: Improve RDoc documentation.
23269 * ext/digest/digest.c (Init_digest, rb_digest_base_s_digest,
23270 rb_digest_base_s_hexdigest): Make Digest::Base::digest() and
23271 Digest::Base::hexdigest() take extra arguments, which are passed
23272 through to the constructor in an internal call.
23274 * ext/digest/bubblebabble/bubblebabble.c
23275 (rb_digest_base_s_bubblebabble): Ditto for
23276 Digest::Base::bubblebabble().
23278 Sat Oct 14 00:55:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23280 * bcc32/Makefile.sub (post-install-ext): no longer needed.
23282 * bcc32/configure.bat: get rid of a quirk of Borland make, which
23283 sets empty macro in command line to "1".
23285 Fri Oct 13 22:49:02 2006 Tadayoshi Funaba <tadf@dotrb.org>
23287 * lib/date.rb: updated based on date2 3.9.5.
23289 Fri Oct 13 21:00:01 2006 Akinori MUSHA <knu@iDaemons.org>
23291 * ext/digest/lib/digest.rb (Digest): Try to auto-load non-standard
23292 digest modules when a specified digest class is missing.
23294 * ext/digest/lib/digest.rb: Define Digest(name) for ease of
23295 dynamically selecting a hashing algorithm.
23297 Fri Oct 13 20:53:37 2006 Akinori MUSHA <knu@iDaemons.org>
23299 * ext/digest/digest.c (Init_digest): Digest::Base.new() does no
23300 longer take an initial string to feed. This change allows
23301 subclasses to take hashing parameters. A statement such as
23302 ``md = Digest::MD5.new(s)'' can be easily rewritten as
23303 ``md = Digest::MD5.new << s'' or
23304 ``md = Digest::MD5.new.update(s)''.
23306 Fri Oct 13 20:51:55 2006 Akinori MUSHA <knu@iDaemons.org>
23308 * ext/digest/digest.c, ext/digest/md5/md5init.c,
23309 ext/digest/rmd160/rmd160init.c, ext/digest/sha1/sha1init.c,
23310 ext/digest/sha2/sha2init.c: Add RDoc documentation.
23312 * ext/digest/digest.txt, ext/digest/digest.txt.ja: Removed in
23313 favor of embedded RDoc documentation.
23315 Fri Oct 13 20:38:12 2006 Akinori MUSHA <knu@iDaemons.org>
23317 * ext/digest/bubblebabble, ext/digest/digest.c: Rip BubbleBabble
23318 support out of the base class and have a separate module named
23319 digest/bubblebabble.
23321 Fri Oct 13 19:53:59 2006 Akinori MUSHA <knu@iDaemons.org>
23323 * ext/digest/digest.c (rb_digest_base_equal): Again, should call
23324 digest() of a subclass instead of the one defined in the base
23327 Fri Oct 13 18:19:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23329 * object.c: Class#inherited RDoc added. a patch from Daniel
23330 Berger <djberg96 at gmail.com> [ruby-core:08942]
23332 Fri Oct 13 02:42:00 2006 Akinori MUSHA <knu@iDaemons.org>
23334 * ext/digest/digest.c (rb_digest_base_equal): Should call digest()
23335 of a subclass instead of the one defined in the base class.
23337 Fri Oct 13 02:30:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23339 * lib/test/unit/collector/dir.rb (Collector::Dir#collect): prepend
23340 base directory to load path.
23342 * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): should
23343 use the given File-like interface, but not File directly.
23345 * test/testunit/collector/test_dir.rb (TestDir::FileSystem): implement
23346 File-like methods correctly.
23348 Fri Oct 13 01:48:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23350 * lib/date.rb (Date::self.complete_hash): need to check if g is
23351 nil before dereference. [ruby-core:09116]
23353 Fri Oct 13 01:05:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23355 * string.c (rb_str_partition): RDoc update. a patch from
23356 Mauricio Fernandez <mfp at acm.org>. [ruby-core:09160]
23358 * hash.c (rb_hash_compare_by_id): ditto.
23360 Fri Oct 13 00:34:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23362 * object.c (rb_mod_cvar_defined): wrong id check. a patch from
23363 Mauricio Fernandez <mfp at acm.org>. [ruby-core:09158]
23365 * object.c (rb_mod_cvar_get): typo fixed. [ruby-core:09168]
23367 * object.c (rb_mod_cvar_set): ditto.
23369 Thu Oct 12 22:58:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23371 * hash.c (rb_hash_compare_by_id): somehow we lost renaming from
23372 Hash#identical. [ruby-core:09163]
23374 Thu Oct 12 18:25:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23376 * ext/tk/tkutil/tkutil.c (cbsubst_table_setup): need to handle new
23377 character literal (1 char string).
23379 * lib/mkmf.rb: shut up some warnings from tk's extconf.rb.
23381 Thu Oct 12 02:15:24 2006 Akinori MUSHA <knu@iDaemons.org>
23383 * ext/digest/lib/digest/hmac.rb: Make use of String#bytes.
23385 Thu Oct 12 02:12:31 2006 Akinori MUSHA <knu@iDaemons.org>
23387 * ext/digest/digest.c (get_digest_base_metadata): Use an instance
23388 variable of a class object instead of a class variable for
23389 metadata. This change is only crucial for ruby 1.8 because
23390 class variables are inherited to subclasses prior to 1.9, but
23391 applying it also to 1.9 will assure compatibilities.
23393 * ext/digest/md5/md5init.c (Init_md5): Ditto.
23395 * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
23397 * ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
23399 * ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
23401 Wed Oct 11 21:36:47 2006 Akinori MUSHA <knu@iDaemons.org>
23403 * ext/digest/digest.c (rb_digest_base_alloc,
23404 rb_digest_base_equal): Simplify the equality check and just
23405 compare resulted digests since state-level equality should
23406 not be so significant.
23408 * ext/digest/digest.h: Ditto.
23410 * ext/digest/*/*.[ch]: Ditto.
23412 Wed Oct 11 17:11:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23414 * eval.c (rb_obj_define_method): add half boiled RDoc document.
23416 Wed Oct 11 16:57:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23418 * array.c (rb_ary_replace): should shift lfree pointer before
23421 Wed Oct 11 15:07:42 2006 Akinori MUSHA <knu@iDaemons.org>
23423 * ext/digest/lib/digest/hmac.rb: Add digest/hmac, which implements
23424 HMAC keyed-hashing algorithm.
23426 Wed Oct 11 15:03:55 2006 Akinori MUSHA <knu@iDaemons.org>
23428 * ext/digest/digest.c (rb_digest_base_reset): Do not make
23429 recursive calls, but call initialize() when reset() is not
23430 defined in a subclass.
23432 Wed Oct 11 14:56:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23434 * ext/digest/sha1/sha1ossl.h: libssl 0.9.8c-3 defines no
23437 Wed Oct 11 14:03:31 2006 Akinori MUSHA <knu@iDaemons.org>
23439 * ext/digest/digest.c (rb_digest_base_reset, Init_digest): Add
23440 Digest::Base#reset.
23442 * ext/digest/digest.h: Update the header comment.
23444 * ext/digest/md5/md5ossl.h, ext/digest/md5/md5init.c (Init_md5):
23445 Define DIGEST_LENGTH and BLOCK_LENGTH.
23447 * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
23449 * ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
23451 * ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
23453 * ext/digest/depend, ext/digest/extconf.rb: Use $INSTALLFILES
23454 rather than adding make targets. [Pointed out by: nobu]
23456 Tue Oct 10 16:39:08 2006 Akinori MUSHA <knu@iDaemons.org>
23458 * ext/digest/digest.c (hexdigest_str_new, bubblebabble_str_new):
23459 Perform StringValue() checks properly.
23461 Tue Oct 10 13:21:21 2006 Akinori MUSHA <knu@iDaemons.org>
23463 * ext/digest/sha1/depend, ext/digest/sha2/depend: Remove obsolete
23466 Mon Oct 9 23:46:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23468 * lib/parsedate.rb: documentation patch from Konrad Meyer
23469 <konrad.meyer@gmail.com>. [ruby-doc:1238]
23471 * lib/open3.rb, lib/ping.rb: ditto.
23473 Mon Oct 9 23:40:58 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23475 * ext/extmk.rb, lib/fileutils.rb, lib/mkmf.rb, lib/optparse.rb,
23476 lib/shellwords.rb: get rid of shadowing outer local variable.
23478 Mon Oct 9 22:56:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23480 * lib/rexml/encoding.rb (REXML::Encoding::check_encoding): spaces
23481 are allowed around equal sign. [ruby-core:09032]
23483 * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser): ditto.
23485 Mon Oct 9 01:56:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23487 * eval.c (rb_obj_define_method): add new method
23488 Kernel#define_singleton_method. [ruby-list:42851]
23490 Sat Oct 7 23:53:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23492 * string.c (rb_str_scan): small documentation fix.
23495 Sat Oct 7 23:44:33 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23497 * bignum.c (rb_big_rshift): a bug in right shift of negative
23498 bignums. [ruby-core:09020]
23500 Sat Oct 7 23:33:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23502 * eval.c (formal_assign): packed post splat arguments may conflict
23503 with normal arguments. [ruby-core:09021]
23505 * eval.c (rb_call0): ditto.
23507 Sat Oct 7 11:53:04 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23509 * object.c (rb_mod_initialize): since module_eval no longer passes
23510 self, use module_exec instead. fixed: [ruby-dev:29637]
23512 Sat Oct 7 00:27:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23514 * class.c (rb_include_module): remove unnecessary check.
23517 Fri Oct 6 15:19:59 2006 Akinori MUSHA <knu@iDaemons.org>
23519 * ext/digest/depend: Fix header installation when the build
23520 directory is different from srcdir. [Pointed out by: eban]
23522 Fri Oct 6 09:56:31 2006 NAKAMURA Usaku <usa@ruby-lang.org>
23524 * {bcc32,win32,wince}/Makefile.sub (config.status): shouldn't use
23525 copy command instead of install. use -run install.
23527 Fri Oct 6 06:53:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23529 * eval.c (rb_yield_0): small refactoring.
23531 * parse.y (bparam_item): fixed bugs in handling parenthesized LHS.
23533 Fri Oct 6 04:47:07 2006 Akinori MUSHA <knu@iDaemons.org>
23535 * ext/digest/depend: Install digest.h.
23537 Fri Oct 6 04:27:40 2006 Akinori MUSHA <knu@iDaemons.org>
23539 * ext/digest/lib/md5.rb, ext/digest/lib/sha1.rb: Remove those
23540 compatibility stub libraries.
23542 * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5.
23544 Fri Oct 6 04:09:51 2006 Akinori MUSHA <knu@iDaemons.org>
23546 * ext/digest/digest.c: Make hexdigest() always call digest() internally.
23548 * ext/digest/digest.c: Add bubblebabble().
23550 Fri Oct 6 02:38:42 2006 Akinori MUSHA <knu@iDaemons.org>
23552 * ext/digest/digest.c: Allow subclassing in Ruby.
23554 Fri Oct 6 02:06:10 2006 Akinori MUSHA <knu@iDaemons.org>
23556 * ext/digest/digest.c (hexdigest_str_new): Add a string size check.
23558 Thu Oct 5 19:28:35 2006 Akinori MUSHA <knu@iDaemons.org>
23560 * ext/digest/digest.[ch]: Since the argument order of
23561 hash_final_func_t was inconsistent with others, change it and
23562 rename to hash_finish_func_t to avoid confusion.
23564 * ext/digest/digest.[ch]: Remove and eliminate the use of
23565 hash_end_func_t. Implement hexdigest conversion in the base
23568 * ext/digest/md5/md5.c, ext/digest/md5/md5.h,
23569 ext/digest/md5/md5init.c, ext/digest/md5/md5ossl.c,
23570 ext/digest/md5/md5ossl.h: Remove MD5_End() and change
23571 MD5_Final() to MD5_Finish().
23573 * ext/digest/rmd160/depend, ext/digest/rmd160/extconf.rb,
23574 ext/digest/rmd160/rmd160.c, ext/digest/rmd160/rmd160.h,
23575 ext/digest/rmd160/rmd160hl.c, ext/digest/rmd160/rmd160init.c,
23576 ext/digest/rmd160/rmd160ossl.c, ext/digest/rmd160/rmd160ossl.h:
23577 Remove unused functions RMD160_End(), RMD160_File(),
23578 RMD160_Data() and change RMD160_Final() to RMD160_Finish().
23580 * ext/digest/sha1/extconf.rb, ext/digest/sha1/sha1.c,
23581 ext/digest/sha1/sha1.h, ext/digest/sha1/sha1hl.c,
23582 ext/digest/sha1/sha1init.c, ext/digest/sha1/sha1ossl.c,
23583 ext/digest/sha1/sha1ossl.h: Likewise.
23585 * ext/digest/sha2/extconf.rb, ext/digest/sha2/sha2.c,
23586 ext/digest/sha2/sha2.h, ext/digest/sha2/sha2hl.c,
23587 ext/digest/sha2/sha2init.c: Likewise.
23589 Wed Oct 4 18:47:25 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
23591 * ext/tk/lib/tkextlib/*: bugfix and update
23592 (see ext/tk/ChangeLog.tkextlib).
23594 Wed Oct 4 17:25:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23596 * eval.c (rb_call): check protected visibility based on real self,
23597 not ruby_frame->self. [ruby-talk:217822]
23599 Wed Oct 4 15:46:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23601 * parse.y (block_param): should interpret single parenthesized
23602 left hand side expression.
23604 Wed Oct 4 08:52:30 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23606 * test/optparse/test_getopts.rb: changed the class name of test case
23607 to get rid of conflict with test_optparse.rb.
23609 Tue Oct 3 21:04:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23611 * parse.y (dyna_in_block): inline using macro.
23613 * parse.y (mlhs): simplifies the rule a bit.
23615 * parse.y (block_param): restrict block parameters to be local
23618 * test/ruby/test_iterator.rb (TestIterator::test_nested_iterator):
23619 update test suite to conform the last change.
23621 Tue Oct 3 02:31:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23623 * eval.c (splat_value): use "to_splat" instead of "to_ary" to
23624 prepare splat values as an array.
23626 * array.c (Init_Array): define to_splat.
23628 * range.c (range_to_splat): new method.
23630 * enumerator.c (enumerator_to_splat): ditto.
23632 Tue Oct 3 01:36:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23634 * string.c (rb_str_lines): returns an Enumerator instead of an
23637 * string.c (rb_str_bytes): a new method.
23639 Mon Oct 2 23:47:55 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23641 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):
23642 base directory should be lower precedence. fixed: [ruby-dev:29622]
23644 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
23646 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
23647 load expanded path. fixed: [ruby-dev:29621]
23649 Mon Oct 2 15:47:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
23651 * instruby.rb: batfile should be CRLF'ed.
23653 Mon Oct 2 01:24:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23655 * common.mk (test-all): separate directory where running test cases
23658 * lib/test/unit/autorunner.rb (options): added --basedir, --workdir
23659 and --load-path options.
23661 * lib/test/unit/collector/dir.rb (recursive_collect, collect_file):
23662 base directory support.
23664 Sun Oct 1 23:56:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23666 * Makefile.in, common.mk, ext/extmk.rb, win{32,ce}/Makefile.in: keep
23667 LIBRUBY_SO unless need to be removed.
23669 Sun Oct 1 23:12:19 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23671 * lib/optparse.rb (OptionParser#make_switch): pass arguments directly.
23673 Sat Sep 30 15:11:26 2006 Tadayoshi Funaba <tadf@dotrb.org>
23675 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.4.
23677 Fri Sep 29 13:18:24 2006 Akinori MUSHA <knu@iDaemons.org>
23679 * ext/digest/lib/digest.rb (Digest): Require digest.so and fix the
23680 breakage. Point out by NAKAMURA Usaku in [ruby-dev:29619].
23682 Fri Sep 29 12:11:04 2006 WATANABE Hirofumi <eban@ruby-lang.org>
23684 * jcode.rb (succ!): call original succ! if $KCODE == 'n'.
23685 fixed: [ruby-talk:216845]
23687 Fri Sep 29 11:43:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23689 * lib/mkmf.rb (try_func): revert fallback checking undeclared function.
23690 fixed: [ruby-core:08949]
23692 Fri Sep 29 09:56:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23694 * ext/extmk.rb: extout is needed for also clean.
23695 fixed: [ruby-core:08944]
23697 * lib/optparse.rb (OptionParser::Switch#conv_arg): unsplat by
23698 Proc#call if no conversion is given.
23700 Thu Sep 28 23:59:31 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23702 * node.h (struct thread): declare win32_exception_list on cygwin and
23703 win32 regardless if it is implemented. Provisional fix for
23706 Thu Sep 28 20:49:20 2006 NAKAMURA Usaku <usa@ruby-lang.org>
23708 * lib/tmpdir.rb: use return value of getdir.call for length.
23710 Wed Sep 27 22:08:16 2006 Akinori MUSHA <knu@iDaemons.org>
23712 * ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,
23713 require "digest" rather than "digest.so".
23715 * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
23717 * ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
23719 * ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
23721 Wed Sep 27 21:21:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23723 * string.c (rb_str_startwith): rename startwith? to start_with?,
23724 endwith? to endwith?, respectively. [ruby-talk:216685]
23726 Wed Sep 27 13:29:01 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23728 * lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s by
23729 join. some other methods as well. [ruby-dev:29613]
23731 Wed Sep 27 01:04:49 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23733 * lib/mkmf.rb (try_func): check function pointer first and macro next.
23735 * lib/mkmf.rb (have_type): simplified with typedef and sizeof.
23737 Wed Sep 27 00:08:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23739 * array.c (rb_ary_shift): shift/unshift performance boost patch,
23740 based on the patch from Eric Mahurin <eric_mahurin at yahoo.com>.
23743 * array.c (rb_ary_unshift_m): ditto.
23745 * array.c (ary_make_shared): ditto.
23747 * array.c (RESIZE_CAPA): ditto.
23749 * array.c (rb_ary_free): new function to free memory. code moved
23752 * string.c (rb_str_free): ditto.
23754 Tue Sep 26 23:57:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23756 * lib/optparse.rb (OptionParser#getopts): use strings as key.
23757 fixed: [ruby-dev:29614]
23759 Tue Sep 26 15:29:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
23761 * {win32,wince}/Makefile.sub (CPP): check predefined value.
23763 Tue Sep 26 07:55:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23765 * array.c (rb_ary_shift): should not move memory region if array
23766 body is shared. a patch from Kent Sibilev <ksruby at gmail.com>.
23769 Mon Sep 25 23:10:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23771 * dir.c (rb_push_glob): need not to check by FilePathValue().
23774 * dir.c (dir_globs): ditto.
23776 Mon Sep 25 22:26:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23778 * file.c (rb_path_end): skip root directory. fixed: [ruby-core:08913]
23780 * lib/mkmf.rb (rm_f): get rid of NUL.
23782 * lib/mkmf.rb (init_mkmf): set default $LDFLAGS. Patch by Michal
23783 Suchanek <hramrach at centrum.cz>. [ruby-talk:216256]
23785 Mon Sep 25 15:06:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23787 * sample/test.rb: "print nil" now prints empty string.
23789 * test/ruby/test_system.rb (TestSystem::test_system): ditto.
23791 Mon Sep 25 11:26:25 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23793 * hash.c (recursive_hash): remove unused local variable.
23795 * parse.y (parser_yylex): ditto.
23797 * parse.y (rb_gc_mark_symbols): fix unmatched prototype .
23799 * file.c (rb_get_path): check NUL byte in the path string.
23801 Mon Sep 25 08:14:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23803 * array.c (rb_ary_shift): should clear shifting top element.
23806 * array.c (rb_ary_shift): avoid creating shared object if array
23809 Mon Sep 25 08:11:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23811 * random.c (rb_f_rand): RDoc typo fix. a patch from Frederick
23812 Cheung <fred at 82ask.com>. [ruby-talk:216047]
23814 Sun Sep 24 21:19:24 2006 Guy Decoux <ts@moulon.inra.fr>
23816 * gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.
23819 Sun Sep 24 22:28:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23821 * runruby.rb: extension library scripts moved into common directory.
23823 Sun Sep 24 12:10:04 2006 Tadayoshi Funaba <tadf@dotrb.org>
23825 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.3.
23827 Sun Sep 24 06:55:36 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23829 * io.c (rb_io_print): no special handling for nil as well as puts.
23830 fixed: [ruby-dev:29586]
23832 Sun Sep 24 06:25:53 2006 why the lucky stiff <why@ruby-lang.org>
23834 * eval.c (rb_thread_save_context, rb_thread_restore_context):
23835 sandbox hook to save and restore sandbox state.
23837 * eval.c (thread_no_ensure): added THREAD_NO_ENSURE thread flag.
23839 * eval.c (rb_thread_kill_bang): Thread#kill! uses the above flag
23840 to circumvent ensure, in order to prevent endless loops.
23841 contributed by MenTaLguY. [ruby-core:08768]
23843 * eval.c (rb_thread_kill): fix Thread#kill docs, which returns
23844 the thread object in all cases.
23846 * node.h: expose the rb_jmpbuf_t and rb_thread_t structs, along
23847 with the thread flags. used by the sandbox extension.
23849 * ruby.h: extern rb_eThreadError, so sandbox can swap it.
23851 Sat Sep 23 21:34:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23853 * lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI content
23854 may be empty. a patch from Jamis Buck <jamis at 37signals.com>.
23856 Sat Sep 23 20:54:28 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
23858 * oniguruma.h: Version 4.4.4
23860 * regexec.c: ditto.
23864 Sat Sep 23 08:35:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23866 * lib/rdoc/ri/ri_options.rb: prevent NameError. [ruby-dev:29597]
23868 Sat Sep 23 01:02:57 2006 Tadayoshi Funaba <tadf@dotrb.org>
23870 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.2.
23872 Fri Sep 22 18:07:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23874 * string.c (rb_str_partition): no need to call rb_call_super(),
23875 since String is no longer includes Enumerable.
23877 Fri Sep 22 17:33:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23879 * hash.c (rb_hash_eql): new method to be used by Hash.
23881 * hash.c (rb_hash_hash): ditto.
23883 Fri Sep 22 06:53:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23885 * bignum.c (rb_big_hash): use rb_memhash().
23887 * numeric.c (flo_hash): simplified. klass need not to affect
23888 resulting hash value.
23890 Fri Sep 22 02:06:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23892 * .cvsignore: ignore timestamp files and installed list file.
23894 Fri Sep 22 01:36:34 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23896 * instruby.rb: include FileUtils unconditionally.
23898 Fri Sep 22 00:36:05 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23900 * numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.
23901 patch from Ondrej Bilka <neleai at seznam.cz>. [ruby-core:08904]
23903 Thu Sep 21 22:56:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23905 * common.mk (no-install): not install rdoc actually.
23907 * common.mk (install-doc, no-install-doc): use instruby.rb.
23909 * instruby.rb: rdoc installation.
23911 * ext/extmk.rb: expand ruby executable names.
23913 Thu Sep 21 20:19:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23915 * string.c (str_new3): embed shorter strings more eagerly.
23917 Thu Sep 21 17:44:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23919 * string.c (rb_str_startwith): a new method to check if a string
23920 starts with given prefix.
23922 * string.c (rb_str_endwith): the opposite of String#startwith?.
23924 Thu Sep 21 16:29:02 2006 WATANABE Hirofumi <eban@ruby-lang.org>
23926 * rubytest.rb: use each_line instead of each.
23928 Thu Sep 21 15:06:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23930 * numeric.c (int_odd_p): a new method to check even or odd.
23933 * numeric.c (int_even_p): ditto.
23935 Thu Sep 21 13:55:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23937 * ext/etc/etc.c (etc_getpwuid): uid integer should be wrapped in
23938 uid_t value. [ruby-core:08897]
23940 * ext/etc/etc.c (etc_getpwuid): uid_t may be bigger than plain
23943 Thu Sep 21 10:07:09 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23945 * string.c (rb_str_partition): RDoc typo fixed. [ruby-core:08898]
23947 * string.c (rb_str_rpartition): fixed separation seek bug.
23949 Thu Sep 21 09:38:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23951 * string.c (rb_str_lines): new method to split a string into lines.
23953 * string.c (Init_String): Strings are no longer Enumerable. use
23954 each_line or lines method explicitly.
23956 * string.c (Init_String): remove each method. use each_lines.
23958 Wed Sep 20 23:17:41 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23960 * common.mk (pre-install-doc): create data directory before install.
23962 * lib/mkmf.rb (dir_re): fixed typo.
23964 * lib/mkmf.rb (install_dirs): remove extra slash.
23966 Wed Sep 20 22:41:45 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23968 * numeric.c (fix_mul): typo again. patch from Tadashi Saito
23969 <shiba at mail2.accsnet.ne.jp>. fixed: [ruby-core:08893]
23971 Wed Sep 20 19:32:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23973 * string.c (rb_str_partition): a new method to separate the string
23974 by a separator. taken from Python 2.5.
23976 * string.c (rb_str_rpartition): ditto.
23978 Wed Sep 20 09:49:40 2006 NAKAMURA Usaku <usa@ruby-lang.org>
23980 * {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to define
23981 this macro to install.
23983 Wed Sep 20 09:43:10 2006 Shugo Maeda <shugo@ruby-lang.org>
23985 * lib/net/imap.rb: allow extra spaces in responses.
23986 Thanks, Tom Soderlund.
23988 Wed Sep 20 09:25:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
23990 * ext/gdbm/gdbm.c: add RDoc documentation. a patch from Peter
23991 Adolphs <futzilogik at users dot sourceforge dot net>.
23994 Tue Sep 19 00:42:15 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
23996 * object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,
23997 Kernel#instance_variable_defined? and Module#class_variable_defined?.
24000 * lib/date/format.rb (Date::Bag#method_missing): use new method,
24001 instance_variable_defined? to check if an instance variable is
24002 defined. fixed: [ruby-dev:29554]
24003 -- This didn't fix anything.
24005 Tue Sep 19 00:07:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24007 * string.c (sym_eql): fail early to gain performance.
24009 * string.c (sym_hash): cache hash value in aux.shared if possible.
24011 * gc.c (rb_obj_id): no need to treat symbols specially.
24013 * lib/fileutils.rb (FileUtils::FileUtils): singleton_methods() no
24014 longer return an array of strings, but of symbols.
24016 * lib/delegate.rb (DelegateClass): ditto.
24018 Mon Sep 18 15:29:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24020 * dir.c (dir_s_glob): restore GC protection volatile variable.
24023 * re.c (rb_reg_regcomp): ditto.
24025 Mon Sep 18 12:16:48 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24027 * numeric.c (fix_mul): get rid of shift overflow.
24029 Mon Sep 18 10:47:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24031 * dir.c (dir_s_glob): remove unused variable.
24033 * math.c (math_log): ditto.
24035 * re.c (rb_reg_regcomp): ditto.
24037 * eval.c (break_jump): ditto.
24039 * eval.c (rb_thread_yield_0): remove unused function.
24041 Sun Sep 17 23:44:58 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24043 * lib/rdoc/rdoc.rb (RDoc::RDoc#document): scan only files modified
24044 after the previous generation.
24046 Sun Sep 17 17:42:13 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24048 * common.mk (install-doc): reverted.
24050 * instruby.rb: stores file name list without destdir prefix.
24052 * lib/rdoc/generators/ri_generator.rb: do not chdir twice.
24054 Sun Sep 17 10:42:10 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24056 * numeric.c (fix_mul): fixed typo. fixed: [ruby-core:08885]
24058 Sat Sep 16 19:47:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24060 * README.EXT: should mention new macros: RSTRING_PTR, RSTRING_LEN,
24061 RARRAY_PTR, RARRAY_LEN.
24063 * README.EXT.ja: ditto.
24065 Sat Sep 16 16:39:23 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24067 * Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:
24068 use instruby.rb to install extensions instead of ext/extmk.rb.
24070 * instruby.rb: store installed list into the file.
24072 * ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
24074 * ext/io/wait/extconf.rb: suspicious checking_for.
24076 * ext/pty/pty.c (establishShell): parent pid is not used.
24078 * ext/pty/pty.c (freeDevice): not used.
24080 * lib/mkmf.rb (checking_for): improved the messages.
24082 Sat Sep 16 11:03:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24084 * array.c (ary_shared_first): should create embedded copies
24085 instead of sharing memory region for smaller arrays.
24087 Sat Sep 16 09:37:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24089 * struct.c (inspect_struct): do not display a class name for
24090 anonymous struct. The member fields are sufficient.
24092 Fri Sep 15 20:22:15 2006 NARUSE, Yui <naruse@ruby-lang.org>
24094 * ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.
24095 * Fix: check_bom cuts \xfe\xff\xXX\xXX of UTF-32LE.
24096 * Add support --ic=UTF-32.
24097 * Fix: can't guess UTF-16 and UTF-32.
24098 * Fix: can't decode beyond BMP of UTF-16LE.
24100 * ext/nkf/nkf.c (guess): Support UTF-32.
24102 * ext/nkf/lib/kconv.rb (kconv): Support UTF-32.
24104 * ext/nkf/lib/kconv.rb (to_utf32): new method.
24106 Fri Sep 15 05:23:24 2006 NARUSE, Yui <naruse@ruby-lang.org>
24108 * ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 2006-09-15.
24109 Add support for U+10000 - U+10FFFF
24112 Fri Sep 15 00:03:07 2006 Tanaka Akira <akr@fsij.org>
24114 * ext/digest/lib/digest.rb (Digest::Base.file): open a file in binary
24115 mode. suggested by Kazuhiro NISHIYAMA. [ruby-dev:29579]
24117 Thu Sep 14 17:21:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24119 * numeric.c (fix_mul): avoid bignum multiplication as far as
24120 possible. a patch from Ondrej Bilka <neleai at seznam.cz>.
24123 Thu Sep 14 16:34:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24125 * string.c (rb_str_intern): allow zero length symbols.
24128 Thu Sep 14 16:11:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24130 * string.c (rb_str_intern): raise SecurityError only when $SAFE
24131 level is greater than zero. [ruby-core:08862]
24133 * parse.y (rb_interned_p): new function to check if a string is
24136 * string.c (str_to_id): use rb_str_intern().
24138 Thu Sep 14 14:37:45 2006 Tanaka Akira <akr@fsij.org>
24140 * ext/digest/lib/digest.rb (Digest::Base.file): new method.
24143 Thu Sep 14 08:30:02 2006 Tanaka Akira <akr@fsij.org>
24145 * ext/digest/digest.c (rb_digest_base_inspect): new method.
24148 Thu Sep 14 01:13:56 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24150 * gc.c (ruby_init_stack): decrease "stack level too deep" in Windows.
24153 Thu Sep 14 01:02:25 2006 Tanaka Akira <akr@fsij.org>
24155 * ext/digest/lib/digest.rb: new file.
24158 Wed Sep 13 18:43:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24160 * README.EXT: English adjustment. [ruby-core:08851] and
24163 Wed Sep 13 18:25:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24165 * misc/ruby-mode.el (ruby-parse-partial): better here-doc support.
24166 a patch from Marshall T. Vandegrift <llasram at gmail.com>.
24169 Wed Sep 13 16:43:36 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24171 * string.c (rb_str_intern): prohibit interning tainted string.
24173 Wed Sep 13 01:14:02 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24175 * lib/optparse.rb (OptionParser#getopts): works with pre-registered
24176 options. [ruby-core:08826]
24178 Tue Sep 12 03:58:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24180 * hash.c (rb_hash_compare_by_identity): rename Hash#identical to
24181 Hash#compare_by_identity.
24183 Mon Sep 11 16:52:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24185 * hash.c (rb_hash_identical): a new method to make a hash to
24186 compare keys by their identity.
24188 * hash.c (rb_hash_identical_p): new method to tell if a hash is
24191 * st.c (st_numcmp, st_numhash): export hash type functions.
24193 Mon Sep 11 11:42:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24195 * lib/rexml/source.rb (REXML::Source::encoding): should not
24196 convert the body twice. [ruby-core:08828]
24198 * lib/rexml/encoding.rb (REXML::Encoding::encoding):
24199 Encoding#encoding= to return boolean value to tell if the body
24200 is really converted or not.
24202 * lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific
24203 conversion library (e.g. rexml/encodings/UTF-16.rb) to have
24206 * lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16):
24207 UTF-16#decode_utf16 should work strings without BOM.
24209 Mon Sep 11 07:39:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24211 * string.c (sym_equal): "sym == str" should compare them as
24212 strings. [ruby-dev:29554]
24214 Sun Sep 10 22:59:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24216 * instruby.rb (parse_args): remove splat.
24218 Sun Sep 10 20:25:30 2006 Tadayoshi Funaba <tadf@dotrb.org>
24220 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.1.
24222 Sun Sep 10 09:41:29 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24224 * file.c: ISPRINT() needs ctype.h
24226 Sun Sep 10 09:19:47 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24228 * lib/optparse.rb: splat parsed arguments.
24230 Tue Jan 10 09:18:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24232 * eval.c (rb_require_safe): prevent extension from loading twice.
24233 fixed: [ruby-dev:29523]
24235 Sat Sep 9 23:55:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24237 * file.c (rb_f_test): test(0) should not have any special
24238 meaning. [ruby-dev:29425]
24240 * file.c (rb_f_test): properer error message.
24242 Sat Sep 9 14:08:38 2006 Eric Hodel <drbrain@segment7.net>
24244 * lib/test/unit/testcase.rb (Test::Unit::TestCase#run): Rescue
24245 Exception in Test::Unit::TestCase#run. [ruby-core:08783]
24247 Sat Sep 9 04:55:59 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24249 * lib/pstore.rb: open all in binary mode, and get rid of the quirk of
24250 msvcrt. fixed: [ruby-dev:29518]
24252 Sat Sep 9 04:47:45 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24254 * Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
24256 * mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress
24257 warnings with $VERBOSE.
24259 * win32/resource.rb: only file which has more than one icon is DLL.
24261 Fri Sep 8 16:53:30 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24263 * string.c (str_alloc): should allocate a String object, even when
24264 asked to allocate a Symbol object. [ruby-dev:29529]
24266 Fri Sep 8 16:36:27 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24268 * ext/extmk.rb (extmake): follow Array#to_s.
24270 * lib/mkmf.rb (create_makefile): ditto.
24272 * win32/resource.rb: ditto.
24274 Fri Sep 8 10:00:12 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
24276 * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new
24277 method to parse multiple cookies per Set-Cookie header.
24278 Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>.
24281 Fri Sep 8 08:59:30 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24283 * win32/Makefile.sub, win32/configure.bat win32/setup.mak: program
24286 Fri Sep 8 08:25:39 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24288 * lib/optparse.rb: suppress `assigning void value' warning.
24290 Fri Sep 8 01:16:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24292 * array.c (Init_Array): #to_s to be an alias to #inspect.
24295 * hash.c (Init_Hash): ditto.
24297 * lib/mkmf.rb (create_makefile): replace "print array" by
24300 * mkconfig.rb: ditto.
24302 Thu Sep 7 21:02:56 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24304 * object.c (nil_to_s): returns the empty string again.
24307 Thu Sep 7 23:27:05 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24309 * file.c (path_check_0, fpath_check): disable path check on cygwin.
24312 Thu Sep 7 02:03:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24314 * time.c (time_to_s): adopt new date format using digits
24315 e.g. "2006-09-07 02:03:45 +9000".
24317 Thu Sep 7 01:54:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24319 * string.c (sym_equal): override. check equivalence.
24321 Wed Sep 6 13:25:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24323 * parse.y (symbols_i): need to initialize early-created symbols.
24326 Wed Sep 6 12:05:19 2006 NARUSE, Yui <naruse@ruby-lang.org>
24328 * ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505]
24330 Tue Sep 5 22:06:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24332 * ext/tk/tcltklib.c: use rb_ary_new3() since RARRAY_LEN() is not l-value.
24334 * ext/tk/tkutil/tkutil.c: use RARRAY_PTR() and RARRAY_LEN() and etc.
24335 fixed: [ruby-dev:29473]
24337 Tue Sep 5 06:47:22 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24339 * time.c (time_to_s): variable declaration after an execution
24342 Tue Sep 5 05:49:41 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24344 * file.c (path_check_0): check if sticky bit is set on parent
24345 directories for executable path. fixed: [ruby-dev:29415]
24347 Tue Sep 5 05:03:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24349 * numeric.c (fix_plus): addition in Fixnum will never overflow
24350 long. a patch from Ondrej Bilka <neleai at seznam.cz>.
24353 * numeric.c (fix_minus): ditto.
24355 * bignum.c (rb_big_pow): eagerly truncate resulting bignum.
24358 Mon Sep 4 23:15:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24360 * time.c (time_to_s): make it conform to RFC2822 date format.
24363 Mon Sep 4 21:43:57 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24365 * ext/dbm/extconf.rb: create makefile according to the result of check
24366 for dbm header. fixed: [ruby-dev:29445]
24368 Mon Sep 4 21:39:42 2006 Tadayoshi Funaba <tadf@dotrb.org>
24370 * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.
24372 Mon Sep 4 21:14:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24374 * time.c (time_strftime): include nul character. fixed: [ruby-dev:29422]
24376 Mon Sep 4 16:39:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24378 * lib/cgi.rb (CGI::out): specify -x option for nkf.
24380 * lib/cgi.rb (CGI::out): should not convert utf-8 implicitly using
24381 NKF. it is too Japanese centric.
24383 Mon Sep 4 14:23:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24385 * ext/dbm/extconf.rb (db_check): remove debug print.
24387 Mon Sep 4 06:46:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24389 * parse.y (rb_id2sym): intern if id is attrset_id.
24390 [ruby-dev:29420] [ruby-dev:29447]
24392 Mon Sep 4 01:25:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24394 * eval.c (rb_f_local_variables): list symbols.
24396 * struct.c (rb_struct_s_members_m): ditto.
24398 * variable.c (ivar_i): ditto.
24400 * variable.c (gvar_i): ditto.
24402 * variable.c (cv_i): ditto.
24404 Sun Sep 3 20:47:02 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24406 * ruby.h (SYMBOL_P): Qnil and Qfalse are not Symbol.
24408 Sun Sep 3 15:32:44 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24410 * lib/mkmf.rb: get rid of nil.to_s.
24412 Sun Sep 3 06:24:38 2006 Tanaka Akira <akr@fsij.org>
24414 * ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
24416 Sun Sep 3 04:40:42 2006 Tanaka Akira <akr@fsij.org>
24418 * ext/socket/extconf.rb: check arpa/inet.h for ntohs.
24420 * ext/socket/socket.c: include arpa/inet.h if available.
24422 Sat Sep 2 23:59:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24424 * string.c (Init_String): undef Symbol#new.
24426 * struct.c (rb_struct_s_def): wrong symbol detection.
24428 Sat Sep 2 23:59:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24430 * string.c (str_to_id): a bug caused by premature optimization.
24432 Sat Sep 2 23:53:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24434 * object.c (Init_Object): move symbol related code to string.c
24436 * string.c (Init_String): Symbol as subclass of String.
24438 * parse.y (rb_intern2): handle symbol as strings.
24440 * string.c (str_new): substring of symbols are mere strings, not
24443 Sat Sep 2 23:37:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24445 * ruby.h (struct RArray): embed small arrays.
24446 (RARRAY_LEN): defined for accessing array members.
24447 (RARRAY_PTR): ditto.
24449 * array.c: use RARRAY_LEN and RARRAY_PTR.
24451 Sat Sep 2 13:23:01 2006 Tanaka Akira <akr@fsij.org>
24453 * common.mk (ia64.o): use the compiler driver to assemble ia64.s
24454 to use appropriate ABI.
24456 Sat Sep 2 12:06:35 2006 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
24458 * lib/soap/generator.rb (SOAP::SOAPGenerator#encode_tag): do not dump
24459 XML attribute which value is nil. value "" and nil both were dumped
24460 as 'attr="value"'. [ruby-dev:29395]
24462 Sat Sep 2 11:47:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24464 * eval.c (rb_eval): should handle when in else clause. a patch
24465 from Eric Hodel <drbrain at segment7.net>. [ruby-core:08662]
24467 * parse.y (primary): wrap with NODE_CASE. [ruby-core:08663]
24469 Sat Sep 2 12:00:32 2006 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
24471 * lib/csv.rb (CSV::IOReader#initialize): use String#[](pos, len)
24472 instead of String#[](idx) to check utf BOM. follows String#[](idx)
24473 behavior change of 1.9.
24475 Sat Sep 2 11:47:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24477 * eval.c (rb_eval): should handle when in else clause. a patch
24478 from Eric Hodel <drbrain at segment7.net>. [ruby-core:08662]
24480 * parse.y (primary): wrap with NODE_CASE. [ruby-core:08663]
24482 Fri Sep 1 22:07:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24484 * ruby.h (RSTRING_EMBED_LEN_MASK): uses 5 bits to support 64bit
24485 environment. [ruby-dev:29369]
24487 Fri Sep 1 22:02:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24489 * string.c (rb_str_resize): should copy embedded string to
24490 malloc'ed buffer. a patch from <nobu at ruby-lang.org> in
24491 [ruby-dev:29369]. fixed: [ruby-dev:29368]
24493 * string.c (rb_str_ord): use %ld specifier since STRING_LEN() is a
24494 long. [ruby-dev:29369]
24496 Fri Sep 1 21:41:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24498 * ext/socket/socket.c (socks_init): typo fixed. a patch from Sven
24499 Klemm <sven at c3d2.de>. [ruby-core:08770]
24501 Fri Sep 1 14:22:42 2006 WATANABE Hirofumi <eban@ruby-lang.org>
24503 * array.c (rb_ary_shuffle): RDoc fixed.
24505 Fri Sep 1 13:52:57 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
24507 * ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work
24510 Fri Sep 1 09:32:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24512 * lib/irb/ruby-lex.rb (RubyLex::getc): should not push nil into
24513 reading buffer (@readed). reported in
24514 <http://jarp.does.notwork.org/diary/200608c.html#200608311>.
24516 Thu Aug 31 23:59:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24518 * lib/mkmf.rb (configuration): follow nil.to_s.
24520 Thu Aug 31 20:50:46 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24522 * lib/mkmf.rb (create_makefile): follow nil.to_s.
24524 * win32/resource.rb: ditto.
24526 Thu Aug 31 20:21:47 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24528 * eval.c (search_required): use RSTRING_PTR and RSTRING_STR.
24530 * file.c (test_identical, rb_file_s_truncate): ditto.
24532 * io.c (pipe_open, rb_io_reopen): ditto.
24534 * object.c (nil_plus): ditto.
24536 * process.c (proc_spawn_n, rb_spawn): ditto.
24538 * util.c (ruby_add_suffix): ditto.
24540 * ext/Win32API/Win32API.c (Win32API_initialize): ditto.
24542 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): ditto.
24544 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): ditto.
24546 * ext/tk/stubs.c, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: ditto.
24548 * ext/win32ole/win32ole.c (ole_val2olevariantdata): ditto.
24550 Thu Aug 31 18:23:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24552 * ruby.h (struct RString): embed small strings.
24553 (RSTRING_LEN): defined for accessing string members.
24554 (RSTRING_PTR): ditto.
24556 * string.c: use RSTRING_LEN and RSTRING_PTR.
24558 Thu Aug 31 17:16:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24560 * array.c (rb_ary_shuffle_bang): new method.
24562 * array.c (rb_ary_shuffle): ditto.
24564 * random.c (genrand_real): ditto.
24566 * random.c (genrand_int32): export the function.
24568 * random.c (Init_Random): initialize random seed at the
24571 Thu Aug 31 13:12:06 2006 why the lucky stiff <why@ruby-lang.org>
24573 * eval.c (ruby_init): rename top_cref to ruby_top_cref and export,
24574 along with ruby_cref, for use by the sandbox. [ruby-core:08762]
24578 Wed Aug 30 12:01:57 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24580 * numeric.c (flo_hash): improve collision.
24582 * string.c (rb_memhash): new generic function to calculate hash value
24585 Tue Aug 29 19:10:10 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24587 * hash.c (rb_hash_s_create): fixed memory leak, based on the patch
24588 by Kent Sibilev <ksruby at gmail.com>. fixed: [ruby-talk:211233]
24590 Mon Aug 28 11:29:46 2006 Eric Hodel <drbrain@segment7.net>
24592 * eval.c, parse.y: Revert.
24593 * ext/.document: Add digest.c.
24594 * ext/digest/digest.c: Make RDoc show up.
24595 * ext/io/wait.c: Fix call-seq in RDoc.
24597 Mon Aug 28 08:03:20 2006 Eric Hodel <drbrain@segment7.net>
24599 * ext/.document: Add C files with RDoc.
24600 * ext/digest/digest.c: Convert to RDoc.
24601 * ext/io/wait.c: ditto.
24602 * lib/rdoc/parsers/parse_rb.rb: Fix typo. Submitted by
24603 <calamitas at gmail.com>. [ruby-core:08724]
24605 Mon Aug 28 07:21:47 2006 Eric Hodel <drbrain@segment7.net>
24607 * file.c (File#size?): Fix documentation submitted by Rick Ohnemus.
24608 ruby-Bugs-5529. [ruby-core:08725]
24610 Sun Aug 27 21:41:23 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
24612 * oniguruma.h: Version 4.4.0
24616 * regparse.h: ditto.
24618 * regexec.c: ditto.
24622 * regparse.c: ditto.
24624 Sat Aug 26 08:03:03 2006 Tadayoshi Funaba <tadf@dotrb.org>
24626 * lib/date.rb, lib/date/format.rb: updated based on date2 3.8.2.
24628 Fri Aug 25 21:15:22 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
24630 * common.mk: add regint.h and oniguruma.h to dependence.
24632 * ext/strscan/depend: ditto.
24634 Fri Aug 25 20:35:57 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24636 * test/wsdl/document/echo.rb: removed.
24638 * test/wsdl/document/test_rpc.rb: remove echo.rb after test.
24641 Fri Aug 25 17:02:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24643 * gc.c (gc_sweep): typo fixed.
24645 Fri Aug 25 16:05:50 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24647 * object.c (sym_call): check if the receiver is given.
24649 Fri Aug 25 01:10:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24651 * object.c (rb_Integer): Integer(nil) should raise TypeError.
24654 * object.c (nil_to_s): no longer returns empty string but "nil".
24657 * lib/mkmf.rb: avoid COMMON_HEADERS being nil.
24659 Wed Aug 23 00:25:14 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24661 * lib/rexml/source.rb (REXML::IOSource#initialize): encoding have to
24662 be set with the accessor. fixed: [ruby-list:42737]
24664 Tue Aug 22 19:21:00 2006 Minero Aoki <aamine@loveruby.net>
24666 * lib/net/smtp.rb: parameter `to_addrs' might be an Array,
24667 .flatten is required. [ruby-dev:29316]
24669 Tue Aug 22 18:47:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24671 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):
24672 rdoc documents C module methods as instance methods. a patch in
24675 Tue Aug 22 12:35:57 2006 NARUSE, Yui <naruse@ruby-lang.org>
24677 * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for
24678 euc-jp [ruby-dev:29344]
24680 Sun Aug 20 11:46:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24682 * numeric.c (num_step): also return an enumerator object if no block
24685 Sat Aug 19 16:47:51 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
24687 * ext/win32ole/win32ole.c (hash2named_arg): accept hash argument
24690 * test/win32ole/test_win32ole.rb
24693 Sat Aug 19 11:28:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24695 * file.c (rb_file_s_rename): use errno if set properly.
24696 fixed: [ruby-dev:29293]
24698 Fri Aug 18 01:05:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24700 * lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode. a
24701 patch from Fujioka <fuj at rabbix.jp>. [ruby-dev:29284]
24703 Thu Aug 17 19:15:16 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24705 * file.c (rb_stat_[rRwWxX]): check for super user.
24706 fixed: [ruby-core:08616]
24708 Thu Aug 17 14:47:06 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24710 * lib/mkmf.rb: added rdoc by Daniel Berger. [ruby-core:08177]
24712 Wed Aug 16 17:46:59 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24714 * marshal.c (r_byte): IO#getc returns one byte string now.
24715 fixed: [ruby-dev:29255]
24717 Wed Aug 16 17:22:44 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24719 * common.mk (pre-install-local): remove unnecessary code.
24722 Wed Aug 16 11:45:36 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24724 * process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid):
24725 get rid of bogus implementations on Mac OS X.
24727 Wed Aug 16 11:09:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24729 * ruby.c (set_arg0): fill argv other than the first with an empty
24730 string instead of NULL.
24732 Tue Aug 15 11:21:08 2006 Minero Aoki <aamine@loveruby.net>
24734 * lib/net/smtp.rb: support SMTP/SSL. Thanks Kazuhiro NISHIYAMA.
24736 * lib/net/smtp.rb: new method SMTP.use_ssl?
24738 * lib/net/smtp.rb: new method SMTP.enable_ssl.
24740 * lib/net/smtp.rb: new method SMTP.disable_ssl.
24742 * lib/net/smtp.rb: new method SMTP.default_ssl_port.
24744 * lib/net/smtp.rb: new method SMTP.default_tls_port.
24746 * lib/net/smtp.rb: now SMTP#enable_tls accepts a SSLContext
24747 object, instead of a verity and cert. [FEATURE CHANGE]
24749 * lib/net/smtp.rb: new method SMTP.ssl_context.
24751 * lib/net/smtp.rb: new method SMTP.default_ssl_context.
24753 * lib/net/smtp.rb: export SMTP.authenticate.
24755 * lib/net/smtp.rb: export SMTP.auth_plain.
24757 * lib/net/smtp.rb: export SMTP.auth_login.
24759 * lib/net/smtp.rb: export SMTP.auth_cram_md5.
24761 * lib/net/smtp.rb: export SMTP.starttls.
24763 * lib/net/smtp.rb: export SMTP.helo.
24765 * lib/net/smtp.rb: export SMTP.ehlo.
24767 * lib/net/smtp.rb: export SMTP.mailfrom.
24769 * lib/net/smtp.rb: export SMTP.rcptto.
24771 * lib/net/smtp.rb: export SMTP.rcptto_list.
24773 * lib/net/smtp.rb: export SMTP.data.
24775 * lib/net/smtp.rb: export SMTP.quit.
24777 Sat Aug 12 22:33:06 2006 Eric Hodel <drbrain@segment7.net>
24779 * string.c (String#split): Describe grouping behavior. Patch by Jan
24780 Svitok <jan.svitok at gmail.com>. [ruby-core:08603]
24782 Sun Aug 13 12:08:02 2006 Tanaka Akira <akr@fsij.org>
24784 * ext/socket/socket.c: ANSIfied. [ruby-core:08601]
24786 Sat Aug 12 15:55:32 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24788 * configure.in, bcc32/Makefile.sub, win32/Makefile.sub, win32/dir.h,
24789 win32/win32.c, win32/win32.h: large file support for win32.
24791 Fri Aug 11 15:39:25 2006 Eric Hodel <drbrain@segment7.net>
24793 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_body): Make RDoc
24794 ignore C function prototypes. Patch by Tilman Sauerbeck
24795 <tilman at code-monkey.de>. [ruby-core:8574]
24796 * lib/yaml/tag.rb: Replace nodoc with stopdoc so Module methods get
24799 Wed Aug 9 16:53:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24801 * lib/net/smtp.rb (Net::SMTP::auth_cram_md5): use ord to retrieve
24802 bytes from strings. a patch from WATANABE Tetsuya
24803 <Tetsuya.WATANABE at nifty.com>. [ruby-dev:29240]
24805 Tue Aug 8 23:49:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24807 * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify
24808 RDoc. a patch from Eric Hodel <drbrain at segment7.net>.
24811 Tue Aug 8 19:26:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24813 * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_string):
24814 affected by str[0] returns 1 char string. [ruby-dev:29223]
24816 * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_labels):
24819 Tue Aug 8 12:28:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24821 * parse.y (arg): allow newlines before ternary colon. [ruby-dev:29189]
24823 Mon Aug 7 17:56:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24825 * ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c,
24826 ext/digest/sha1/sha1ossl.c, ext/readline/readline.c: move
24827 inclusion of config.h to pacify AIX. a patch from Yutaka
24828 Kanemoto <kinpoco at gmail.com>. [ruby-dev:29197]
24830 Mon Aug 7 15:55:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24832 * ext/syck/syck.c (syck_move_tokens): should avoid negative
24833 memmove. [ruby-list:42625]
24835 Mon Aug 7 14:37:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24837 * configure.in, common.mk: AIX link issue. a patch from Yutaka
24838 Kanemoto <kinpoco at gmail.com>. [ruby-dev:29190]
24840 * ext/socket/socket.c: AIX socket support. [ruby-dev:29190]
24842 Mon Aug 7 12:05:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24844 * dln.c, eval.c, gc.c, ruby.h: shut up AIX alloca warning.
24845 a patch from Yutaka Kanemoto <kinpoco at gmail.com>.
24848 Sun Aug 6 20:34:24 2006 Tadayoshi Funaba <tadf@dotrb.org>
24850 * lib/date/format.rb (str[fp]time): %[EO]U didn't denote %U.
24852 Sun Aug 6 17:12:12 2006 Tanaka Akira <akr@fsij.org>
24854 * io.c (io_reopen): STDERR.reopen(open("/dev/tty", "w")) should not
24855 clear FMODE_PREP in STDERR.
24857 Sat Aug 5 22:53:41 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
24859 * oniguruma.h: Version 4.2.2
24863 * regparse.h: ditto.
24865 * regexec.c: ditto.
24869 * regerror.c: ditto.
24871 * regparse.c: ditto.
24873 Sat Aug 5 17:07:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24875 * parse.y (top_local_setup): local_vars[-1] should point
24876 ruby_scope itself to protect local_tbl from garbage collection.
24879 Sat Aug 5 13:49:43 2006 Tadayoshi Funaba <tadf@dotrb.org>
24881 * lib/date/format.rb (str[fp]time): "%\n" means "\n".
24883 Fri Aug 4 12:13:22 2006 Eric Hodel <drbrain@segment7.net>
24885 * lib: Clean up files for RDoc.
24886 * lib/.document: Include most of the standard library in RDoc
24888 * lib/rdoc/ri/ri_formatter.rb: Don't unescape HTML in HtmlFormatter.
24889 Submitted by <ksruby at gmail.com>. [ruby-core:08392].
24890 * lib/drb/ssl.rb: Close socket on SSLError [ruby-core:7197]
24892 Fri Aug 4 18:59:49 2006 Keiju Ishitsuka <keiju@ruby-lang.org>
24894 * lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
24895 [ruby-core: 7122]. and support for ruby1.8.X
24897 Fri Aug 4 14:02:14 2006 James Edward Gray II <james@grayproductions.net>
24899 * lib/date/format.rb (__strptime, strftime): allow multi-line patterns
24900 in Date#strftime the same as Time#strftime accepts.
24901 fixed: [ruby-core:08466]
24903 Fri Aug 4 13:56:51 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24905 * pack.c (pack_pack): check argument overrun for 'P'. based on a
24906 patch by rucila <rucila at yahoo.cojp>. fixed: [ruby-dev:29182]
24908 Fri Aug 4 02:42:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24910 * sprintf.c (rb_str_format): a bug in %c type check.
24912 Fri Aug 4 01:28:19 2006 Tanaka Akira <akr@fsij.org>
24914 * io.c (io_reopen): STDERR.reopen(File.open("/dev/null", "w")) should
24917 Thu Aug 3 15:16:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24919 * range.c (range_include): should always call Enumerable#include?
24920 (not #===) for non numeric end points. [ruby-core:08477]
24923 Mon Jul 31 16:51:40 2006 NAKAMURA Usaku <usa@ruby-lang.org>
24925 * win32/win32.c (exit_handler): new function; release winsock and
24926 environment work area.
24928 * win32/win32.c (NTInitialize): setup exit_handler.
24930 * win32/win32.c (StartSockets): use exit_handler.
24932 * win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead
24933 of GetEnvironmentVariable(), because the latter cannot distinguish
24934 whether a null environment variable exists or not.
24935 fixed: [ruby-talk:205123]
24937 Mon Jul 31 16:15:13 2006 Tanaka Akira <akr@fsij.org>
24939 * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile):
24940 setrlimit may fail with EINVAL.
24941 reported by MIYAMUKO Katsuyuki. [ruby-dev:29174]
24943 Mon Jul 31 09:22:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24945 * ruby.h: use ifdef (or defined) for macro constants that may or
24946 may not be defined to shut up gcc's -Wundef warnings.
24949 Mon Jul 31 13:38:13 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
24951 * lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve
24952 for the value of IPv6 address in the Host: header field.
24954 Sun Jul 30 23:26:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24956 * eval.c (rb_call0): trace call/return of method defined from block.
24957 fixed: [ruby-core:08329]
24959 * eval.c (rb_trap_eval): make the current thread runnable to deal with
24960 exceptions which occurred within the trap. fixed: [ruby-dev:27729]
24962 * lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.
24963 fixed: [ruby-talk:204896]
24965 Sat Jul 29 06:12:06 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
24967 * ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
24969 Sat Jul 29 01:23:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24971 * lib/logger.rb: improves the amount of documentation that Rdoc
24972 picks up when processing logger.rb by moving the require
24973 statement back before the comment block. a patch from Hugh
24974 Sasse <hgs at dmu.ac.uk>. [ruby-core:08422]
24976 Fri Jul 28 17:18:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
24978 * ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings.
24980 Fri Jul 28 14:09:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24982 * eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]
24984 Fri Jul 28 10:41:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24986 * eval.c (rb_call): a bug in method cache look-up.
24987 http://www.rubyist.net/~matz/20060720.html#c04
24989 Fri Jul 28 10:19:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24991 * sprintf.c (rb_f_sprintf): documentation update patch from Jacob
24992 Fugal <lukfugl at gmail.com>. [ruby-core:08418]
24994 Fri Jul 28 09:41:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
24996 * time.c (time_to_s): fixed typo. [ruby-dev:29162]
24998 Fri Jul 28 00:26:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25000 * math.c (domain_check): ANSI style function arguments
25002 * math.c (math_log): too few argument to domain_check().
25004 Thu Jul 27 21:19:54 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25006 * math.c (domain_check): a new function to check domain error
25007 explicitly for systems that return NaN like FreeBSD.
25010 * math.c (math_acos, math_asin, math_acosh, math_atanh, math_log,
25011 math_log10, math_sqrt): use domain_check().
25013 * math.c (math_sqrt): fix documentation flaw.
25015 Thu Jul 27 22:21:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25017 * time.c (time_to_s): fixed format mismatch.
25019 Thu Jul 27 18:12:12 2006 WATANABE Hirofumi <eban@ruby-lang.org>
25021 * time.c: need to declare time_utc_offset.
25023 Thu Jul 27 17:01:01 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25025 * io.c (io_close): always calls "close" method of the receiver.
25026 [ruby-core:6911] [ruby-core:8112]
25028 Thu Jul 27 16:41:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25030 * ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up
25031 Solaris compiler. [ruby-core:08114]
25033 * time.c (time_to_s): use +0900 style timezone string for local time.
25036 Wed Jul 26 22:20:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25038 * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
25040 Wed Jul 26 21:59:33 2006 Minero Aoki <aamine@loveruby.net>
25042 * lib/net/http.rb (Net::HTTP#post, request_post, request): should
25043 set Content-Type: x-www-form-urlencoded by default.
25045 * lib/net/http.rb (Net::HTTPHeader#content_type): should return
25046 nil when there's no Content-Type.
25048 * lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil
25049 when there's no sub Content-Type (e.g. "Content-Type: text").
25051 * lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed
25052 when there's no Content-Type.
25054 Wed Jul 26 18:38:13 2006 Minero Aoki <aamine@loveruby.net>
25056 * ext/strscan/strscan.c (strscan_do_scan): always return nil if
25057 p->curr exceeds string size.
25059 Wed Jul 26 18:33:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25061 * eval.c (Init_eval): rename #invoke_method and
25062 #invoke_functional_method to __send and __send! respectively.
25064 * eval.c (remove_method): prohibit removing __send and __send!.
25066 * eval.c (rb_undef): prohibit undef'ing __send and __send!.
25068 * eval.c (rb_eval): prohibit redefining __send and __send!.
25070 * lib/delegate.rb (Delegator): preserve __send.
25072 Wed Jul 26 18:14:19 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25074 * ext/pty/pty.c (getDevice): retry once after GC on failure.
25077 Wed Jul 26 17:43:20 2006 Minero Aoki <aamine@loveruby.net>
25079 * ext/strscan/strscan.c (strscan_do_scan):
25080 StringScanner.new("").scan(//) should return "". [ruby-Bugs:4361]
25082 Wed Jul 26 17:28:16 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25084 * sprintf.c (rb_str_format): prepend ".." to %u for negative bignum,
25085 but not "-". fixed: [ruby-core:08167]
25087 Wed Jul 26 16:39:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25089 * string.c (rb_str_scan): add string modification check.
25092 Wed Jul 26 16:06:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25094 * lib/cgi.rb (CGI::QueryExtension::read_multipart): check
25095 multipart boundary end. a patch from Fujioka <fuj at rabbix.jp>
25098 Wed Jul 26 01:02:59 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25100 * configure.in: suppress warnings by automake 1.8 or later.
25102 Tue Jul 25 14:46:14 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25104 * lib/mkmf.rb (configuration): typo.
25106 Tue Jul 25 13:14:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25108 * process.c (rb_proc_times): rename hz to hertz to avoid name
25109 crash on AIX. [ruby-dev:29126]
25111 Mon Jul 24 22:03:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25113 * eval.c (backtrace): skip frames successive on node and method name.
25115 Mon Jul 24 15:51:52 2006 Tanaka Akira <akr@fsij.org>
25117 * ext/readline/readline.c (readline_readline): rl_deprep_term_function
25118 may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070]
25120 Mon Jul 24 15:19:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25122 * eval.c (rb_call0): revert last change. [ruby-dev:29112]
25125 Sun Jul 23 22:59:49 2006 Tanaka Akira <akr@fsij.org>
25127 * test/socket/test_unix.rb: disabled on cygwin.
25128 reported by Kouhei Yanagita. [ruby-dev:29080]
25130 Fri Jul 21 23:57:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25132 * ruby.c (proc_options): script is never used while recursing.
25134 Fri Jul 21 21:21:08 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25136 * eval.c (rb_call0): include funcalled methods in caller list.
25137 fixed: [ruby-core:08290]
25139 Fri Jul 21 17:52:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25141 * object.c (rb_cstr_to_dbl): "9_e8" should consider "_e8" as
25142 trailing garbage so that it should return 9.0. [ruby-dev:29088]
25144 Fri Jul 21 12:11:00 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25146 * ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before
25147 prepending destdir on DOSISH.
25149 Fri Jul 21 04:17:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25151 * eval.c (rb_call): try local method look-up first for fcall, then
25152 normal method look-up. [ruby-talk:202564]
25154 * eval.c (rb_get_method_body): save local method cache separately.
25156 * eval.c (search_method): export info whether method is local or
25159 Thu Jul 20 20:27:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25161 * object.c (rb_mod_attr): make Module#attr to be an alias to
25162 attr_reader. [RCR#331]
25164 Thu Jul 20 15:07:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25166 * ruby.h: export classes/modules to implement sandbox.
25169 Wed Jul 19 19:40:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25171 * eval.c (rb_yield_0): should check args_args before lambda
25172 argument check. [ruby-dev:29029]
25174 Tue Jul 18 23:53:59 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25176 * process.c (rb_f_system): shouldn't block SIGCHLD if it's not
25179 Tue Jul 18 22:10:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25181 * process.c (rb_f_system): block SIGCHLD during the process
25182 execution, like glibc system(3) does. [ruby-talk:202361]
25184 Tue Jul 18 23:10:43 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25186 * win32/win32.c (open_ifs_socket): should not use plain malloc.
25188 * win32/win32.c (rb_w32_opendir): should not use plain realloc.
25190 Tue Jul 18 18:05:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25192 * test/ruby/test_float.rb (TestFloat::test_strtod): update test to
25193 conform strtod change.
25195 Tue Jul 18 16:52:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25197 * eval.c (yield_under_i): argument should be passed in avalue
25198 form. [ruby-dev:29044]
25200 Tue Jul 18 15:49:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25202 * pack.c (pack_unpack): propagate association array to copied
25203 string. [ruby-core:08223]
25205 * pack.c (pack_unpack): return referenced string itself if it has
25206 same length as specified. a patch from <nobu at ruby-lang.org>
25207 in [ruby-core:08225].
25209 * pack.c (pack_pack): taint 'p' packed strings.
25211 Tue Jul 18 15:19:07 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25213 * intern.h (st_foreach_safe): fix prototype.
25215 * node.h (NODE_LMASK): bigger than long on LLP64.
25217 * missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64.
25218 all changes are derived from [ruby-dev:29045]
25220 Tue Jul 18 14:03:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25222 * lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove
25223 inpect argument from sprintf. [ruby-dev:29039]
25225 Tue Jul 18 10:53:37 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25227 * object.c (rb_cstr_to_dbl): limit out-of-range message.
25229 * util.c (ruby_strtod): return end pointer even if ERANGE occurred.
25230 fixed: [ruby-dev:29041]
25232 Mon Jul 18 00:43:05 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25234 * util.c (ruby_strtod): stop at dot not followed by digits.
25235 fixed: [ruby-dev:29036]
25237 Tue Jul 18 00:01:27 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25239 * ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.
25241 Mon Jul 17 23:30:46 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25243 * configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for a
25244 bug of cygwin 1.5.20.
25246 Mon Jul 17 22:55:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25248 * ext/io/wait/wait.c (io_ready_p): protoize.
25250 Mon Jul 17 13:43:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25252 * pack.c (define_swapx): should not use plain malloc.
25254 * ext/curses/curses.c (curses_getmouse): ditto.
25256 Mon Jul 17 12:58:41 2006 WATANABE Hirofumi <eban@ruby-lang.org>
25258 * configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.
25260 Mon Jul 17 11:47:35 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25262 * st.c: still need to include config.h on some platforms.
25264 Sat Jul 15 01:09:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25266 * st.c (malloc): use xmalloc/xcalloc instead of plain
25267 malloc/calloc, to detect memory allocation failure. see
25268 <http://www.nongnu.org/failmalloc/>.
25270 Fri Jul 14 13:08:13 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25272 * ext/tk/lib/tk.rb: add methods for new features of latest Tcl/Tk8.5.
25274 * ext/tk/lib/tk/namespace.rb: ditto.
25276 Fri Jul 14 02:30:12 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25278 * lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.
25281 Fri Jul 14 00:10:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25283 * array.c (rb_ary_pop): may cause realloc oscillation. a patch
25284 from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>.
25287 Thu Jul 13 22:23:56 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25289 * ext/tk/lib/tk/composite.rb: improve handling of the classname on the
25290 option database for the widget class which includes TkComposite.
25292 Thu Jul 13 00:40:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25294 * ruby.h (FIX2LONG): returns integer of size of VALUE.
25297 * ruby.h (FIX2ULONG): ditto.
25299 Wed Jul 12 20:05:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25301 * parse.y (f_args): allow post mandatory arguments after optional
25302 arguments. [ruby-dev:29014]
25304 * parse.y (new_args_gen): allow post_args without rest_args.
25306 * eval.c (formal_assign): ditto.
25308 * parse.y (new_args_gen): check post argument duplication.
25310 Tue Jul 11 20:58:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25312 * ruby.h: export rb_cMethod. [ruby-talk:201259]
25314 Tue Jul 11 19:13:33 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25316 * ext/tk/lib/multi-tk.rb: remove restriction on the class of
25319 Tue Jul 11 18:00:57 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25321 * ext/tk/lib/multi-tk.rb: security fix.
25323 Tue Jul 11 17:28:08 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25325 * string.c (rb_str_dump): need to extend len for \b.
25327 Tue Jul 11 15:29:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25329 * bignum.c (rb_int2big): use SIGNED_VALUE. [ruby-dev:29019]
25331 * bignum.c (rb_int2inum, rb_uint2inum): use VALUE sized integer.
25333 * bignum.c (rb_big2long, rb_big2ulong): ditto.
25335 * numeric.c (rb_num2long, rb_num2ulong): ditto.
25337 * numeric.c (check_int, check_uint): ditto.
25339 * bignum.c (rb_quad_pack): typo fixed.
25341 Tue Jul 11 13:40:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25343 * bignum.c (bignorm): sizeof(long) may be smaller than
25344 sizeof(VALUE). [ruby-dev:29013]
25346 * ruby.h (FIXNUM_MAX): fixnum may be bigger than long.
25348 * ruby.h (SIGNED_VALUE): signed integer of size of VALUE.
25350 Mon Jul 10 23:37:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25352 * lib/soap/rpc/proxy.rb (Proxy::Operation::response_doc): remove
25353 splat star from return statements.
25355 * lib/soap/rpc/proxy.rb (Proxy::Operation::response_obj): retrieve
25356 the first value from the result array if response has only one
25359 Mon Jul 10 22:00:00 2006 Shigeo Kobayashi <shigek@ruby-lang.org>
25361 * ext/bigdecimal/bigdecimal.c: Allows '_' to appear within
25362 digits. [ruby-dev:28872]
25364 * ext/bigdecimal/lib/bigdecimal/util.rb: Bug in to_r reported by
25365 [ruby-list:42533] fixed.
25367 Mon Jul 10 19:22:19 2006 Tanaka Akira <akr@fsij.org>
25369 * gc.c (gc_sweep): expand heap earlier.
25370 reported by MORITA Naoyuki. [ruby-dev:28960]
25372 Mon Jul 10 18:59:34 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25374 * ext/tk/lib/tk/font.rb: sorry. mistaken to patch.
25376 Mon Jul 10 18:46:52 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25378 * ext/tk/tcltklib.c: make SEGV risk lower at exit.
25380 * ext/tk/lib/tk.rb: ditto.
25382 * ext/tk/lib/multi-tk.rb: fail to call function-style methods on slave
25383 interpreters. The strategy (MultiTkIp_PseudoToplevel_Evaluable) to
25384 fix the problem is a little tricky. You may have to take care of
25385 conflicting with it.
25387 * ext/tk/lib/tk.rb: a little change for the pseudo-toplevel strategy.
25389 * ext/tk/lib/tk/font.rb: ditto.
25391 * ext/tk/lib/tk/msgcat.rb: ditto.
25393 * ext/tk/lib/tkextlib/itk/incr_tk.rb: ditto.
25395 * ext/tk/sample/demos-en/widget: fail to call function-style methods
25396 on sample scripts. To fix it, a strategy which similar to the way
25397 on MultiTiIp is used. Please take care when re-write and re-run a
25398 demo script on the Widget-Demo code viewer.
25400 * ext/tk/sample/demos-jp/widget: ditto.
25402 Mon Jul 10 17:32:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25404 * sample/test.rb: update test suites.
25406 * test/ruby/test_assignment.rb (TestAssignment::test_yield): ditto.
25408 * test/ruby/test_iterator.rb (TestIterator::test_itertest): ditto.
25410 Mon Jul 10 14:43:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25412 * eval.c (rb_call): remove erroneously restored prot_tag->blkid
25413 initialization. [ruby-dev:28997] [ruby-dev:29000]
25415 Mon Jul 10 13:58:08 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25417 * signal.c (install_nativethread_sighandler): commented out.
25419 Mon Jul 10 09:29:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25421 * eval.c (rb_clear_cache_for_remove): clear entries for included
25422 module. fixed: [ruby-core:08180]
25424 Mon Jul 10 02:22:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25426 * eval.c (proc_invoke): should not overwrite block information in
25427 current frame. [ruby-dev:28957]
25429 * eval.c (rb_yield_0): retrieve proper block object from the frame
25432 * eval.c (proc_alloc): return preserved block object if it's
25435 Mon Jul 10 01:48:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25437 * st.h (st_data_t): use pointer sized integer for st_data_t.
25440 Sun Jul 9 18:06:47 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25442 * lib/mkmf.rb (try_constant): fix for value 1 at cross compiling.
25444 * lib/mkmf.rb (create_makefile): prevent substitution of macro
25445 definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02
25447 Sun Jul 9 07:58:48 2006 Ryan Davis <ryand@zenspider.com>
25449 * lib/rdoc/parsers/parse_f95.rb: massive overhaul from Yasuhiro
25450 Morikawa including new file suffixes, function support, public
25451 variables and constants, derived-types, defined operators and
25452 assignments, namelists, and subroutine and function
25453 arguments. Truly massive.
25455 * lib/rdoc/diagram.rb: diagrams are now cached.
25457 * lib/irb/completion.rb: fixed a crasher when completing against
25458 an unnamed class/module.
25460 * lib/rdoc/parsers/parse_c.rb: private comment (--/++) support in
25463 * lib/debug.rb: minor clarification in help.
25465 * lib/pp.rb: minor clarification on exception.
25467 Sun Jul 9 00:54:11 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25469 * eval.c (next_jump): deal with destination of next.
25470 fixed: [ruby-core:08169]
25472 Fri Jul 7 17:49:16 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25474 * string.c (rb_str_ord): extract lower byte. fixed: [ruby-dev:28980]
25476 * lib/jcode.rb (String#succ!): fix for 1.9. fixed: [ruby-dev:28979]
25478 Fri Jul 7 14:05:03 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25480 * win32/Makefile.sub (config.h): define FUNC_STDCALL/FUNC_CDECL.
25481 from [ruby-dev:28970].
25483 Fri Jul 7 00:38:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25485 * hash.c (rb_hash_default): should not call default procedure if
25486 no key is given. [ruby-list:42541]
25488 Thu Jul 6 23:30:04 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25490 * process.c (rb_proc_times): use sysconf(_SC_CLK_TCK) value prior to
25491 HZ and CLK_TCK. fixed: [ruby-talk:200293]
25493 Thu Jul 6 21:50:06 2006 Minero Aoki <aamine@loveruby.net>
25495 * ext/racc/cparse/cparse.c: sync with original code, rev 1.8.
25497 * ext/racc/cparse/cparse.c: should mark CparseParams objects.
25499 * lib/racc/parser.rb: sync with original code, rev 1.8.
25501 * lib/racc/parser.rb: update coding style.
25503 Wed Jul 5 05:28:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25505 * parse.y (block_param): should allow block argument after splat
25506 and post splat args.
25508 Wed Jul 5 01:12:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25510 * test/ruby/test_lambda.rb (TestLambdaParameters::test_lambda_as_iterator):
25511 -> style block no longer available. [ruby-dev:28958]
25513 Tue Jul 4 21:48:56 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25515 * ruby.c (proc_options): suppress warning on DOSISH.
25517 Tue Jul 4 15:12:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25519 * eval.c (rb_call): should not set prot_tag->blkid since it would
25520 never catch breaks at this level. [ruby-dev:28922]
25522 Tue Jul 4 04:48:36 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25524 * bignum.c: ruby 1.9 HEAD 64 bit warnings clean up from
25525 <ville.mattila at stonesoft.com>. [ruby-core:08120]
25527 Mon Jul 3 19:04:38 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25529 * ext/tk/tcltklib.c (ip_make_menu_embeddable): help to make a menu
25530 widget embeddable (pack, grid, and so on) like as a general widget.
25531 However, an embeddable menu may require to be defined some event
25532 bindings for general use.
25534 * ext/tk/lib/tk/event.rb: [bug fix] Tk.callback_break and
25535 Tk.callback_continue don't work on MultiTkIp.
25537 * ext/tk/lib/multi-tk.rb: ditto.
25539 * ext/tk/lib/tk.rb: lack of Tk.callback_return.
25541 * ext/tk/lib/tk/menu.rb: improve creating clone menus.
25543 Mon Jul 3 14:42:06 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25545 * ext/etc/extconf.rb (PW_UID2VAL, PW_GID2VAL): defaulted to conversion
25546 from int, and sys/types.h needs to be included before grp.h.
25547 fixed: [ruby-dev:28938]
25549 Mon Jul 3 10:44:01 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25551 * io.c (popen_exec): close file descriptors other than standard I/Os.
25552 fixed: [ruby-dev:28924]
25554 Mon Jul 3 05:15:29 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
25556 * test/openssl/test_asn1.c: String#[]= doesn't accept Integer.
25558 Mon Jul 3 01:14:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25560 * string.c (rb_str_inspect): encode \b (\010) for escape.
25563 * string.c (rb_str_dump): ditto.
25565 Sun Jul 2 19:03:30 2006 Minero Aoki <aamine@loveruby.net>
25567 * ext/racc/cparse/cparse.c: sync with original code, rev 1.7.
25569 * ext/racc/cparse/cparse.c: must require version.h to get
25572 Sun Jul 2 18:42:27 2006 Minero Aoki <aamine@loveruby.net>
25574 * ext/racc/cparse/cparse.c: sync with original source code, rev
25577 * ext/racc/cparse/cparse.c: do not use rb_iterate to give a block
25578 to the method, use rb_block_call instead. [ruby-dev:28445]
25580 Sun Jul 2 11:22:03 2006 Tanaka Akira <akr@m17n.org>
25582 * io.c (io_reopen): STDOUT.reopen(filename, "w+") didn't work.
25583 (rb_io_reopen): STDOUT.reopen(File.open(filename, "w+")) didn't work.
25585 Sat Jul 1 23:55:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25587 * eval.c (PUSH_FRAME): initialize frame->self. [ruby-dev:28911]
25589 Sat Jul 1 17:00:42 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
25591 * test/webrick/utils.rb: use Proc#yield instead of Proc#call.
25594 Sat Jul 1 15:15:49 2006 Tanaka Akira <akr@m17n.org>
25596 * test/socket/test_nonblock.rb: add timeout to send/receive
25597 an empty UDP packet.
25600 Fri Jun 30 23:46:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25602 * configure.in: should test isinf for Solaris with GCC compiler.
25603 a patch from <ville.mattila at stonesoft.com>. [ruby-core:07791]
25605 * configure.in: -shared patch from Andrew Morrow
25606 <andrew.c.morrow at gmail.com>. [ruby-core:08100]
25608 Fri Jun 30 19:35:41 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
25610 * lib/webrick/httputils.rb (WEBrick::HTTPUtils._escape): should
25611 use String#ord to get ascii code from the one-character string.
25614 Thu Jun 29 23:56:01 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25616 * gc.c (gc_mark_children): a bug in NODE_BLOCK_PASS marking.
25619 Thu Jun 29 23:04:36 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25621 * parse.y: use ARGSPUSH instead of ARGSCAT to prevent too much
25624 * eval.c (when_check): need to handle ARGSPUSH as well.
25626 * eval.c (block_orphan): lambda and proc from method are always
25629 * gc.c (gc_mark_children): proper marking for NODE_LAMBDA.
25631 Thu Jun 29 22:47:30 2006 Tanaka Akira <akr@m17n.org>
25633 * eval.c (SETUP_ARGS0): avoid GC problem.
25636 Thu Jun 29 18:58:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25638 * ext/bigdecimal/bigdecimal.c (BigDecimal_version): fix patch
25641 Thu Jun 29 18:00:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25643 * ext/bigdecimal/bigdecimal.c: add RDoc document. a patch from
25644 mathew <meta at pobox.com>. [ruby-core:07050]
25646 Wed Jun 28 14:53:09 2006 Eric Hodel <drbrain@segment7.net>
25648 * lib/optparse.rb: RDoc patch from Robin Stocker <robin@nibor.org>
25651 Wed Jun 28 23:23:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25653 * object.c (rb_cstr_to_dbl): underscores should appear only
25654 between digits. [ruby-dev:28891]
25656 Wed Jun 28 19:04:34 2006 Tanaka Akira <akr@m17n.org>
25658 * test/socket/test_unix.rb: test_seqpacket_pair removed.
25661 Wed Jun 28 13:51:21 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25663 * eval.c (when_check): arbitrary values are allowed after splats.
25664 fixed: [ruby-dev:28879]
25666 Wed Jun 28 09:16:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25668 * parse.y (primary): remove meaningless else-only case statement
25671 Wed Jun 28 08:08:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25673 * eval.c (rb_eval): problem to handle else part. [ruby-dev:28873]
25675 Wed Jun 28 01:48:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25677 * eval.c (rb_eval): support splat in when expression list.
25680 * eval.c (when_check): a new auxiliary function for case match.
25682 * eval.c (when_cond): ditto.
25684 Wed Jun 28 01:05:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25686 * object.c (rb_cstr_to_dbl): should not skip '_' at the beginning
25687 of a string. [ruby-dev:28830]
25689 * bignum.c (rb_cstr_to_inum): ditto.
25691 Tue Jun 27 23:03:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25693 * string.c: RDoc update for =~ method. a patch from Alex Young
25694 <alex at blackkettle.org>. [ruby-core:08068]
25696 Tue Jun 27 22:47:18 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25698 * ext/tk/tcltklib.c: forgot to update TCLTKLIB_RELEASE_DATE.
25700 * ext/tk/lib/tk.rb (tk_tcl2ruby): [bug fix] sometimes fail to convert
25701 a tcl string to a ruby object if the tcl string includes "\n".
25703 Tue Jun 27 20:05:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25705 * io.c (pipe_open): backout unnecessary fix on 2006-06-26.
25708 * eval.c (rb_yield_0): exact argument number check now done only
25711 * eval.c (rb_yield_0): add check for number of arguments, if
25712 there's one lambda block parameter.
25714 Tue Jun 27 16:04:05 2006 WATANABE Hirofumi <eban@ruby-lang.org>
25716 * win32/win32.h: define isascii on MinGW for msvcrt compatibility.
25718 * configure.in: set ac_cv_header_sys_time_h=no on MinGW
25719 for msvcrt compatibility.
25721 Tue Jun 27 11:36:02 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25723 * ext/etc/etc.c (setup_passwd, setup_group): allow bignum uid, gid and
25724 so on. [ruby-talk:199102]
25726 Tue Jun 27 10:46:53 2006 Tanaka Akira <akr@m17n.org>
25728 * eval.c (rb_yield_0): avoid core dump. [ruby-dev:28840]
25730 Mon Jun 26 11:03:00 2006 Eric Hodel <drbrain@segment7.net>
25732 * lib/rdoc/ri: Add options to limit the ri search path.
25734 Tue Jun 27 01:31:59 2006 Tanaka Akira <akr@m17n.org>
25736 * ext/socket/socket.c (bsock_recv_nonblock): new method
25737 BasicSocket#recv_nonblock.
25738 (udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock.
25739 IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock.
25740 (unix_recvfrom_nonblock): removed.
25741 UNIXSocket#recvfrom_nonblock is removed.
25743 Tue Jun 27 00:52:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25745 * ext/ripper/eventids2.c (token_assoc): added tCHAR, which is not
25746 under 256 now. fixed: [ruby-dev:28832]
25748 Mon Jun 26 23:42:57 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25750 * eval.c (call_trace_func): no check for argument number of the
25751 callback. fixed: [ruby-dev:28812]
25753 Mon Jun 26 18:37:44 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25755 * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is
25756 deleted on callback.
25758 Mon Jun 26 15:40:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25760 * ext/socket/socket.c (sock_accept): revert to avoid ambiguity of
25761 argument evaluation order. [ruby-dev:28861]
25763 * ext/socket/socket.c (sock_accept_nonblock): ditto.
25765 Mon Jun 26 10:47:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25767 * io.c (pipe_open): avoid closing uninitialized file descriptors.
25768 a patch from <tommy at tmtm.org> [ruby-dev:28600]
25770 Sun Jun 25 23:02:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25772 * Makefile.in, mkconfig.rb: catch-up for latest autoconf.
25774 Sun Jun 25 17:44:16 2006 Tanaka Akira <akr@m17n.org>
25776 * parse.y (paren_args): wrap $2 by escape_Qundef because it may be
25777 Qundef. [ruby-dev:28843]
25779 Sun Jun 25 17:18:33 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
25781 * ext/win32ole/win32ole.c(ole_invoke): support some kind of
25782 method of word. [ruby-Bugs#3237]
25784 * test/win32ole/test_word.rb: ditto.
25786 Sat Jun 24 23:48:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25788 * parse.y: replace terminal token names with more descriptive
25789 name, i.e. kEND to keyword_end. [ruby-list:42477]
25791 Sat Jun 24 23:37:41 2006 Tanaka Akira <akr@m17n.org>
25793 * eval.c (rb_eval): use rb_ary_new2 instead of rb_ary_new4 to avoid
25795 (rb_yield_values): use rb_ary_new2 instead of rb_ary_new4.
25797 * array.c (rb_ary_new4): don't set len as n if contents is not
25798 initialized. make it safe with GC.
25802 Fri Jun 23 23:35:32 2006 Tanaka Akira <akr@m17n.org>
25804 * ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.
25807 Fri Jun 23 17:27:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25809 * eval.c (rb_block_pass): removed.
25811 * eval.c (rb_thread_start_1): use rb_proc_yield() instead of
25812 rb_block_pass(). fixed: [ruby-dev:28794]
25814 Thu Jun 22 11:52:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25816 * lib/net/http.rb (Net::HTTPResponse): duplicated error 501;
25817 HTTPInternalServerError should be error 500. [ruby-core:08037]
25819 Thu Jun 22 11:47:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25821 * variable.c (rb_mod_name): returns nil for anonymous modules.
25824 Thu Jun 22 10:31:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25826 * string.c (rb_str_aref): "abc"[3] should not return an empty
25827 string but nil. [ruby-dev:28786]
25829 Thu Jun 22 05:15:58 2006 Tanaka Akira <akr@m17n.org>
25831 * ext/socket/socket.c (sock_s_socketpair): try GC only once.
25834 Wed Jun 21 21:20:31 2006 Tadayoshi Funaba <tadf@dotrb.org>
25836 * lib/date.rb (jd_to_commercial): now works fine even if in
25837 mathn-ized context.
25839 Wed Jun 21 17:29:57 2006 NAKAMURA Usaku <usa@ruby-lang.org>
25841 * ext/socket/getaddrinfo.c (freeaddrinfo, get_name): fixed typo.
25843 * ext/tk/tcltklib.c (tcl_eval, tcl_global_eval): ditto.
25845 * ext/zlib/zlib.c (rscheck): constified.
25847 Wed Jun 21 17:18:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25849 * lib/pp.rb (PP::PPMethods::seplist): should have preserved
25850 original reference to the array. [ruby-dev:28747]
25852 Wed Jun 21 14:35:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25854 * parse.y (block_param): do not use multiple assignment for a sole
25855 block parameter. [ruby-dev:28710]
25857 * eval.c (rb_yield_0): pass a raw yielded value to a sole block
25858 parameter if a value is passed by yield.
25860 * eval.c (proc_invoke): args may not be an array.
25862 * eval.c (rb_proc_yield): pass original value without wrapping
25865 Wed Jun 21 14:06:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25867 * parse.y (method_call): remove (fn)(args) style lambda
25868 invocation, add fn.(args) instead.
25870 Wed Jun 21 08:39:54 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25872 * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date
25873 and Time processing. [ruby-core:08033]
25875 Wed Jun 21 03:01:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25877 * eval.c, file.c, etc.: code-cleanup patch from Stefan Huehner
25878 <stefan at huehner.org>. [ruby-core:08029]
25880 Wed Jun 21 01:40:25 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25882 * parse.y (reswords): modifier token is no longer returned in fname
25883 state. fixed: [ruby-dev:28775]
25885 Tue Jun 20 23:28:34 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25887 * ext/extmk.rb (parse_args): provisional catch-up for the recent changes.
25889 * lib/optparse.rb (OptionParser::List#summarize, OptionParser#order!): ditto.
25891 Tue Jun 20 11:07:55 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25893 * eval.c (proc_invoke): intercept break and return from lambda
25894 Proc objects. [ruby-dev:28742]
25896 * eval.c (proc_invoke): remove unnecessary YIELD_PROC_CALL flag.
25898 * eval.c (YIELD_EXACT_ARGS): renamed from YIELD_LAMBDA_CALL, which
25899 is no longer related to the behavior turned on by this flag.
25901 * eval.c (return_jump): no need to care about PROT_YIELD.
25903 * eval.c (break_jump): no jump to toplevel PROT_THREAD tag.
25905 * eval.c (rb_yield_0): fix confusion between lambda (which is a
25906 property of a proc) and pcall (which depends on whether it's
25907 called via yield or call).
25909 * eval.c (rb_thread_yield): no need to specify YIELD_LAMBDA_CALL.
25911 * eval.c (rb_block_pass): update blkid in prot_tag.
25913 Mon Jun 19 23:40:59 2006 NARUSE, Yui <naruse@ruby-lang.org>
25915 * ext/nkf/lib/kconv.rb: remove default -m0 and fix document.
25917 * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}:
25918 imported nkf 2.0.7.
25920 Mon Jun 19 17:02:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25922 * sample/test.rb (proc_return3): return within non lambda block
25923 should terminate surrounding method. [ruby-dev:28741]
25925 Mon Jun 19 13:22:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25927 * ext/socket/socket.c (unix_sysaccept): typo fixed.
25929 * ext/socket/socket.c (sock_connect): remove an unused local
25932 Mon Jun 19 02:10:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25934 * ext/socket/socket.c (tcp_accept_nonblock): forgot to remove
25935 abandoned hacks. [ruby-dev:28740]
25937 Mon Jun 19 00:00:17 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
25939 * ext/tk/lib/multi-tk.rb: fix bug: initialize improper tables.
25941 Sun Jun 18 20:28:43 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
25943 * ext/win32ole/win32ole.c (fole_methods): The return value
25944 of WIN32OLE#ole_methods should include PROPERTYPUTREF methods.
25946 * ext/win32ole/win32ole.c (fole_put_methods): The return value
25947 of WIN32OLE#ole_put_methods should include PROPERTYPUTREF methods.
25949 * test/win32ole/test_ole_methods.rb: ditto.
25951 * ext/win32ole/win32ole.c (ole_propertyput): support
25952 PROPERTYPUTREF. [ruby-talk:183042]
25954 * test/win32ole/test_propertyputref.rb: ditto.
25956 Sat Jun 17 23:42:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25958 * eval.c (Init_eval): add aliases invoke_method and
25959 invoke_functional_method corresponding send and funcall
25960 respectively. [ruby-talk:197512]
25962 * parse.y (parser_yylex): returns the most typical keyword token
25963 on EXPR_FNAME. [ruby-core:7995]
25965 * ext/socket/socket.c: protoize.
25967 Sat Jun 17 22:17:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25969 * lib/mathn.rb (Integer::prime_division): raise ZeroDivisionError
25970 on zeros. [ruby-dev:28739]
25972 Sat Jun 17 14:53:32 2006 Tanaka Akira <akr@m17n.org>
25974 * lib/pathname.rb (Kernel#Pathname): new method.
25976 Sat Jun 17 02:01:00 2006 Tanaka Akira <akr@m17n.org>
25978 * lib/pp.rb (Kernel#pretty_inspect): defined for pretty printed
25981 Fri Jun 16 01:41:00 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
25983 * eval.c (rb_proc_arity): get rid of segfault for mere splat.
25985 * gc.c (gc_mark_children): NODE_BLOCK_PASS needs u3 to be marked.
25987 Thu Jun 15 22:06:56 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
25989 * parse.y (then): remove ':' from 'then' and 'do' rules.
25991 Wed Jun 14 18:00:20 2006 Eric Hodel <drbrain@segment7.net>
25993 * enum.c (enum_any): Documentation typo.
25995 Wed Jun 14 15:01:09 2006 Eric Hodel <drbrain@segment7.net>
25997 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#warn): Don't print
25998 warnings when -q is set.
26000 Wed Jun 14 16:11:37 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26002 * eval.c (rb_f_method_name, rb_f_callee_name): document typo.
26004 Wed Jun 14 15:19:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26006 * hash.c (env_aset): raise TypeError on nil with more descriptive
26007 message. [ruby-core:07990]
26009 Tue Jun 13 17:22:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26011 * ext/socket/socket.c (Init_socket): remove obsolete constants:
26012 IPsocket, TCPsocket, SOCKSsocket, TCPserver, UDPsocket,
26013 UNIXsocket, UNIXserver.
26015 Tue Jun 13 09:07:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26017 * eval.c (formal_assign): post splat arguments should have had
26018 higher priority than optional arguments, since they are
26019 mandatory. [ruby-dev:28715]
26021 * eval.c (VIS_MASK): broken. should be 15. [ruby-dev:28715]
26023 * io.c (argf_getc): should return one-character string.
26026 * io.c (rb_io_readchar): ditto.
26028 Sun Jun 11 23:20:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26030 * object.c (sym_call): disallow to call private methods.
26032 * lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
26035 Sun Jun 11 09:56:41 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26037 * win32/win32.h (write): not need to define on bcc.
26039 Sun Jun 11 08:30:33 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26041 * lib/optparse.rb (OptionParser#getopts): new methods.
26043 Sun Jun 11 07:27:11 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26045 * lib/rdoc/ri/ri_writer.rb: use String#ord.
26047 Sun Jun 11 04:38:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26049 * object.c (sym_to_proc): imported Symbol#to_proc from ActiveSupport.
26051 Sat Jun 10 18:02:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26053 * ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo
26054 fixed: raize -> raise. [ruby-talk:196608]
26056 Sat Jun 10 17:49:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26058 * string.c (rb_str_ord): new method.
26060 * parse.y (rbracket): allow optional newline before closing
26063 Sat Jun 10 15:12:29 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26065 * eval.c (rb_f_method_name, rb_f_callee_name): new functions.
26066 new global method `__method__' and `__callee__'.
26068 Sat Jun 10 10:13:13 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26070 * lib/getoptlong.rb (GetoptLong#set_options): receive arguments
26073 * lib/irb/slex.rb: use Proc#yield.
26075 * lib/rdoc/markup/simple_markup/inline.rb: follow the new behavior
26078 * lib/rdoc/ri/ri_writer.rb: ditto.
26080 Sat Jun 10 08:17:23 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26082 * math.c (log2): may be a macro.
26084 * parse.y (args, block_param, f_args): pass f_post_arg to #params.
26086 * util.c (powersOf10): constified.
26088 * ext/readline/readline.c: include extconf.h first.
26090 * ext/ripper/eventids2.c: removed tLAMBDA_ARG.
26092 * ext/tk/tcltklib.c (lib_fromUTF8_core): removed conflict.
26094 * ext/tk/tkutil/tkutil.c (cbsubst_get_subst_arg): rb_id2name() is
26095 defined as const now.
26097 * ext/win32ole/win32ole.c (fole_missing): ditto.
26099 * lib/mkmf.rb (create_makefile): force to create extconf header.
26101 * lib/optparse.rb (order!): use Proc#yield.
26103 Sat Jun 10 06:53:22 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26105 * eval.c (CALLARGS): remove last semicolon. C90 compiler doesn't
26106 allow any lines (even if they're empty) within variable
26109 Fri Jun 9 09:56:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26111 * sprintf.c (rb_str_format): allow %c to print one character
26114 Thu Jun 8 14:00:02 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26116 * win32/win32.[ch] (rb_w32_read, rb_w32_write): new functions.
26117 use recv() and send() when fd is socket. fixed: [ruby-dev:28694]
26119 Wed Jun 7 16:22:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26121 * lib/tempfile.rb (Tempfile::make_tmpname): put dot between
26122 basename and pid. [ruby-talk:196272]
26124 Wed Jun 7 16:16:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26126 * parse.y (do_block): remove -> style block.
26128 * parse.y (parser_yylex): remove tLAMBDA_ARG.
26130 Wed Jun 7 14:51:22 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26132 * win32/win32.c (errmap): add some winsock errors.
26134 Wed Jun 7 09:14:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26136 * eval.c (rb_call0): binding for the return event hook should have
26137 consistent scope. [ruby-core:07928]
26139 Tue Jun 6 23:25:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26141 * eval.c (proc_invoke): return behavior should depend whether it
26142 is surrounded by a lambda or a mere block.
26144 Mon Jun 5 18:12:12 2006 Tanaka Akira <akr@m17n.org>
26146 * ext/socket/socket.c (sock_s_unpack_sockaddr_in): reject
26147 non-AF_INET/AF_INET6 sockaddr.
26148 (sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr.
26151 Sun Jun 4 20:40:19 2006 Tanaka Akira <akr@m17n.org>
26153 * ext/socket/socket.c: fix sockaddr_un handling.
26156 Sat Jun 3 23:53:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26158 * eval.c (formal_assign): handles post splat arguments.
26160 * eval.c (rb_call0): ditto.
26162 Sat Jun 3 13:10:41 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26164 * st.c (strhash): use FNV-1a hash.
26166 Fri Jun 2 20:01:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26168 * parse.y (parser_yylex): removed experimental ';;' terminator.
26170 Fri Jun 2 19:00:40 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26172 * ext/openssl/extconf.rb: use create_header.
26174 * ext/openssl/ossl.h, ext/openssl/openssl_missing.h:
26175 include RUBY_EXTCONF_H.
26177 Fri Jun 2 17:16:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26179 * lib/mkmf.rb (CLEANINGS): remove extconf.h by distclean if created.
26181 Fri Jun 2 00:11:19 2006 Tanaka Akira <akr@m17n.org>
26183 * ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocket
26184 too. (tested on NetBSD 3.0)
26185 (s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock.
26186 (sock_recvfrom_nonblock): use s_recvfrom_nonblock.
26187 (ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock
26188 (unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock
26189 (s_accept_nonblock): extracted from sock_accept_nonblock.
26190 (sock_accept_nonblock): use s_accept_nonblock.
26191 (tcp_accept_nonblock): new method: TCPServer#accept_nonblock
26192 (unix_accept_nonblock): new method: UNIXServer#accept_nonblock
26194 Thu Jun 1 19:12:37 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26196 * win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotes
26197 no longer has special meanings. fixed: [ruby-list:42311]
26199 Thu Jun 1 17:55:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26201 * eval.c (rb_node_arity): should be aware of post splat arguments.
26203 * eval.c (rb_proc_arity): ditto.
26205 Thu Jun 1 16:17:26 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26207 * win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not success
26208 if the length of the cwd is longer than MAX_PATH.
26209 fixed [ruby-list:42335]
26211 Thu Jun 1 16:07:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26213 * parse.y (f_args): syntax rule enhanced to support arguments
26216 * parse.y (mlhs_basic): ditto for multiple assignments
26218 * parse.y (block_param): ditto for block parameters.
26220 * parse.y (f_post_arg): mandatory formal arguments after the splat
26223 * parse.y (new_args_gen): generate nodes for mandatory formal
26224 arguments after the splat argument.
26226 * eval.c (rb_eval): dispatch mandatory formal arguments after the
26229 Thu Jun 1 11:33:32 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26231 * win32/win32.c (rb_w32_getcwd): set errno if not set.
26232 fixed [ruby-list:42346]
26234 Thu Jun 1 00:45:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26236 * parse.y (args): allow more than one splat in the argument list.
26238 Wed May 31 18:38:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26240 * parse.y (method_call): allow aref [] to accept all kind of
26241 method argument, including assocs, splat, and block argument.
26243 * eval.c (SETUP_ARGS0): prepare block argument as well.
26245 Tue May 30 18:13:53 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26247 * lib/mathn.rb (Integer): remove Integer#gcd2. [ruby-core:07931]
26249 Mon May 29 22:40:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26251 * eval.c (error_line): print receivers true/false/nil specially.
26253 * eval.c (rb_proc_yield): handles parameters in yield semantics.
26255 * eval.c (nil_yield): gives LocalJumpError to denote no block
26258 * io.c (rb_io_getc): now takes one-character string.
26260 Sat May 27 22:46:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26262 * eval.c (proc_invoke): save and restore block in the current frame.
26263 fixed: [ruby-core:07833], [ruby-talk:191639]
26265 Sat May 27 11:29:46 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26267 * ext/extmk.rb (extmake): remove extinit files if no statically linked
26270 Fri May 26 19:56:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26272 * string.c (rb_str_hash): use FNV-1a hash from Fowler/Noll/Vo
26275 Fri May 26 09:05:11 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26277 * ruby.h, lib/mkmf.rb (create_header): clear command line options for
26278 macros moved to extconf.h.
26280 * ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and
26281 EXTSTATIC permanent.
26283 * ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS.
26285 * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added
26288 * lib/mkmf.rb (configuration): add $defs unless extconf.h was created.
26290 Thu May 25 01:52:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26292 * lib/mkmf.rb (pkg_config): particular config commands support.
26294 * ext/extmk.rb: deal with $static set in extconf.rb.
26296 * mkconfig.rb: merge multiple entries to an entry with multiple lines.
26298 * lib/mkmf.rb: allow a series of commands to link.
26300 * win32/Makefile.sub: embed manifests.
26302 * win32/setup.mak: suffix OS name by runtime version.
26304 Wed May 24 23:52:11 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26306 * configure.in (ac_install_sh): ignore dummy install-sh.
26309 Wed May 24 17:55:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26311 * string.c (rb_str_aref): str[0] now returns 1 character string,
26312 instead of a fixnum. [Ruby2]
26314 * parse.y (parser_yylex): ?c now returns 1 character string,
26315 instead of a fixnum. [Ruby2]
26317 * string.c (rb_str_aset): no longer support fixnum insertion.
26319 Wed May 24 03:10:44 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26321 * ext/openssl/lib/openssl/ssl.rb
26322 (OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed.
26324 Mon May 22 16:32:03 2006 Tanaka Akira <akr@m17n.org>
26326 * rubyio.h (rb_io_set_nonblock): declared.
26328 * io.c (rb_io_set_nonblock): new function.
26329 (io_getpartial): nonblocking read support.
26330 (io_read_nonblock): new method: IO#read_nonblock.
26331 (io_write_nonblock): new method: IO#write_nonblock.
26333 * ext/socket/socket.c (s_accept): retry for EWOULDBLOCK.
26334 revert [ruby-talk:113807].
26335 (sock_connect_nonblock): new method: Socket#connect_nonblock.
26336 (sock_accept_nonblock): new method: Socket#accept_nonblock.
26337 (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock.
26341 Mon May 22 15:57:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26343 * eval.c (umethod_bind): should not update original class.
26346 Mon May 22 13:38:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26348 * eval.c (ev_const_get): should support constant access from
26349 within instance_eval(). [ruby-dev:28327]
26351 Sun May 21 09:50:31 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26353 * regexec.c: add STK_NULL_CHECK_END to IS_TO_VOID_TARGET().
26356 Thu May 18 22:37:20 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26358 * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters,
26359 :InputBufferSize and :OutputBufferSize.
26361 * lib/webrick/utils.rb (WEBrick::Utils.timeout): add new timeout
26362 method. this implementation is expected to be compatible with
26363 timeout.rb and faster than timeout.rb.
26365 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#_read_data):
26366 Timeout.timeout is replaced by WEBrick::Utils.timeout.
26368 * lib/webrick/httprequest.rb: WEBrick::HTTPRequest::BUFSIZE is
26369 replaced by config[:InputBufferSize].
26371 * lib/webrick/httpresposne.rb: WEBrick::HTTPResponse::BUFSIZE is
26372 replaced by config[:OutputBufferSize].
26374 * lib/webrick/server.rb: get rid of unnecessary require.
26376 * test/webrick/test_utils.rb: test for WEBrick::Utils.timeout.
26378 Thu May 18 17:51:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26380 * time.c (time_timeval): should round for usec floating
26381 number. [ruby-core:07896]
26383 * time.c (time_add): ditto.
26385 Thu May 18 00:42:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26387 * ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
26389 Wed May 17 17:55:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26391 * dir.c (sys_warning): should not call a vararg function
26392 rb_sys_warning() indirectly. [ruby-core:07886]
26394 Tue May 16 17:23:19 2006 <sinara@blade.nagaokaut.ac.jp>
26396 * numeric.c (flo_divmod): the first element of Float#divmod should
26397 be an integer. [ruby-dev:28589]
26399 * test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder.
26401 Tue May 16 15:34:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26403 * re.c (rb_reg_initialize): should not allow modifying literal
26404 regexps. frozen check moved from rb_reg_initialize_m as well.
26406 Tue May 16 09:20:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26408 * re.c (rb_reg_initialize): should not modify untainted objects in
26409 safe levels higher than 3.
26411 * re.c (rb_memcmp): type change from char* to const void*.
26413 * dir.c (dir_close): should not close untainted dir stream.
26415 * dir.c (GetDIR): add tainted/frozen check for each dir operation.
26417 Mon May 15 21:37:12 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26419 * re.c (rb_reg_prepare_re): don't use onig_recompile().
26421 Mon May 15 17:42:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26423 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):
26424 typo fixed. a patch from Florian Gross <florg at florg.net>.
26426 Sat May 13 16:14:05 2006 Tanaka Akira <akr@m17n.org>
26428 * lib/pp.rb (PP.mcall): new method.
26429 (Struct#pretty_print): call Kernel#class and Struct#members even if
26431 (Struct#pretty_print_cycle): ditto.
26434 Fri May 12 15:54:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26436 * eval.c (EXEC_EVENT_HOOK): trace_func may remove itself from
26437 event_hooks. no guarantee for arbitrary hook deletion.
26440 Thu May 11 19:57:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26442 * util.c (ruby_strtod): differ addition to minimize error.
26445 Thu May 11 18:30:11 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26447 * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): should return
26448 value. [ruby-dev:28627]
26450 Thu May 11 18:10:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26452 * util.c (ruby_strtod): should not raise ERANGE when the input
26453 string does not have any digits. [ruby-dev:28629]
26455 Wed May 10 23:40:21 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26457 * oniguruma.h: Version 4.0.3
26459 * regexec.c: ditto.
26461 Mon May 8 09:10:31 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26463 * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.
26465 * ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method
26466 OpenSSL::Cipher.ciphers. it returns all the cipher names.
26468 * ext/openssl/ossl_cipher.c (ossl_cipher_init): refine warning message.
26470 * ext/openssl/lib/openssl/cipher.rb: reimplement without eval() and
26471 add constants AES128, AES192, AES256. [ruby-dev:28610]
26473 * ext/openssl/lib/openssl/digest.rb: reimplement without eval().
26475 * test/openssl/test_cipher.rb, test_digest: fix about reimplemented
26478 * sample/openssl/cipher.rb: rewrite all.
26480 Sun May 7 03:09:51 2006 Stephan Maka <stephan@spaceboyz.net>
26482 * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize):
26483 Use AF_INET6 for nameservers containing colons.
26485 Sat May 6 23:40:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26487 * eval.c (proc_invoke): should restore old ruby_frame->block.
26488 thanks to ts <decoux at moulon.inra.fr>. [ruby-core:07833]
26489 also fix [ruby-dev:28614] as well.
26491 Sat May 6 00:38:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26493 * signal.c (trap): sig should be less then NSIG. Coverity found
26494 this bug. a patch from Kevin Tew <tewk at tewk.com>.
26497 Thu May 4 22:13:22 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26499 * math.c (math_log2): add new method inspired by
26500 [ruby-talk:191237].
26502 * math.c (math_log): add optional base argument to Math::log().
26505 Thu May 4 02:24:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26507 * ext/syck/emitter.c (syck_scan_scalar): avoid accessing
26508 uninitialized array element. a patch from Pat Eyler
26509 <rubypate at gmail.com>. [ruby-core:07809]
26511 * array.c (rb_ary_fill): initialize local variables first. a
26512 patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07810]
26514 * ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free
26515 type_tag. a patch from Pat Eyler <rubypate at gmail.com>.
26518 Wed May 3 02:12:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26520 * ext/socket/socket.c (make_hostent_internal): accept ai_family
26521 check from Sam Roberts <sroberts at uniserve.com>.
26524 Mon May 1 17:58:16 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26526 * ext/win32ole/win32ole.c (add_event_call_back): should not
26527 delete event handler when the event name is not entried.
26529 Mon May 1 08:32:10 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26531 * ext/win32ole/win32ole.c (ole_param_ole_type): should return
26532 "unknown type" string when ITypeInfo::GetFuncDesc failed.
26534 Sat Apr 29 22:43:37 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26536 * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize
26537 flag. [ruby-core:07785]
26539 Fri Apr 28 10:53:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26541 * util.c (ruby_strtod): should not cut off 18 digits for no
26542 reason. [ruby-core:07796]
26544 Thu Apr 27 01:38:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26546 * array.c (rb_ary_fill): internalize local variable "beg" to
26547 pacify Coverity. [ruby-core:07770]
26549 Wed Apr 26 16:59:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26551 * pack.c (pack_unpack): now supports CRLF newlines. a patch from
26552 <tommy at tmtm.org>. [ruby-dev:28601]
26554 Wed Apr 26 16:55:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26556 * applied code clean-up patch from Stefan Huehner
26557 <stefan at huehner.org>. [ruby-core:07764]
26559 Tue Apr 25 18:00:05 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26561 * ext/tk/tcltklib.c (delete_slaves): maybe increment the reference
26562 count of a NULL Tcl_Obj [ruby-core:07759].
26564 Tue Apr 25 07:55:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26566 * lib/jcode.rb (String::tr_s): should have translated non
26567 squeezing character sequence (i.e. a character) as well. thanks
26568 to Hiroshi Ichikawa <gimite at gimite.ddo.jp> [ruby-list:42090]
26570 Fri Apr 21 15:19:13 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26572 * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointer
26573 [ruby-core:07744] and memory leak.
26575 Fri Apr 21 12:14:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26577 * ext/socket/socket.c: document update patch from Sam Roberts
26578 <sroberts at uniserve.com>. [ruby-core:07701]
26580 Thu Apr 20 08:43:54 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26582 * lib/mathn.rb (Integer): need not to remove gcd2. a patch from
26583 NARUSE, Yui <naruse at airemix.com>. [ruby-dev:28570]
26585 Wed Apr 19 13:55:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26587 * parse.y (arg): too much NEW_LIST()
26589 * eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen.
26591 Wed Apr 19 11:57:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26593 * eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1.
26596 * parse.y (arg): use NODE_ARGSCAT for placeholder.
26598 Wed Apr 19 11:13:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26600 * lib/getoptlong.rb (GetoptLong::get): RDoc update patch from
26601 mathew <meta at pobox.com>. [ruby-core:07738]
26603 Wed Apr 19 10:13:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26605 * variable.c (rb_const_set): raise error when no target klass is
26606 supplied. [ruby-dev:28582]
26608 Tue Apr 18 17:40:37 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26610 * ext/tk/lib/multi-tk.rb: add a binding to a container for a slave IP.
26612 * ext/tk/lib/tk.rb: update RELEASE_DATE.
26614 * ext/tk/tcltklib.c: forget to reset a Tcl interpreter.
26616 * ext/tk/stubs.c: fix potential bugs about handling rb_argv0.
26618 Mon Apr 10 01:03:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26620 * prec.c (prec_prec_f): documentation patch from
26621 <gerardo.santana at gmail.com>. [ruby-core:07689]
26623 Sat Apr 8 02:34:34 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26625 * bignum.c (rb_big_pow): second operand may be too big even if
26626 it's a Fixnum. [ruby-talk:187984]
26628 Sat Apr 8 02:12:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26630 * README.EXT: update symbol description. [ruby-talk:188104]
26632 Sat Apr 8 18:06:28 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26634 * ext/win32ole/win32ole.c: add WIN32OLE_METHOD#inspect,
26635 WIN32OLE_PARAM#inspect.
26637 * test/win32ole/test_win32ole_method.rb: ditto.
26639 * add test/win32ole/test_win32ole_param.rb.
26641 Fri Apr 7 22:11:30 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26643 * ext/win32ole/win32ole.c(foletypelib_initialize): WIN32OLE_TYPELIB.new
26646 * test/win32ole/test_win32ole_typelib.rb(test_initialize): ditto.
26648 Thu Apr 6 23:28:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26650 * COPYING: explicitly note GPLv2. [ruby-talk:187922]
26652 Thu Apr 6 16:43:06 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26654 * intern.h (rb_obj_instance_exec, rb_mod_module_exec): add declaration.
26656 Thu Apr 6 11:18:37 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26658 * ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]
26660 Thu Apr 6 01:04:47 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
26662 * ext/tk/tcltklib.c: fix SEGV when embedding to an application.
26665 * ext/tk/tcltklib.c: fix SEGV at exit. [ruby-talk:186489]
26667 * ext/tk/tkutil/tkutil.c: follow to changing specification of
26668 instance_eval on ruby-1.9.x.
26670 * ext/tk/lib/tk.rb: ditto.
26672 * ext/tk/lib/multi-tk.rb: ditto.
26674 * ext/tk/lib/tk.rb: remove warning about redefinition of methods.
26676 * ext/tk/lib/tk/variable.rb: remove warning about unseting Tcl
26679 Wed Apr 5 00:22:54 2006 Tanaka Akira <akr@m17n.org>
26681 * lib/pathname.rb: use a subclass for instantiation except
26682 methods take pathname argument. suggested by Evan Phoenix.
26685 Tue Apr 4 22:15:41 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26687 * parse.y: remove some obsolete syntax rules (unparenthesized
26688 method calls in argument list).
26690 Sat Apr 1 15:11:27 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26692 * ext/win32ole/win32ole.c: add WIN32OLE_TYPE#inspect,
26693 WIN32OLE_VARIABLE#inspect
26695 * remove ext/win32ole/tests/testOLEVARIABLE.rb, testOLETYPE.rb
26698 * testall.rb: ditto.
26700 * add test/win32ole
26702 Fri Mar 31 14:24:55 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
26704 * enumerator.c (enumerator_with_index): removed suspicious return
26707 Wed Mar 29 23:06:48 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26709 * ext/win32ole/win32ole.c (ole_invoke): change the behavior of
26710 WIN32OLE#[], WIN32OLE#[]=. These methods invoke DISPID_VALUE.
26712 * ext/win32ole/sample/excel2.rb: ditto.
26714 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
26716 Wed Mar 29 10:11:31 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26718 * ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar,
26719 e2w_conv): support C90 compiler.
26721 Mon Mar 27 22:45:37 2006 NARUSE, Yui <naruse@ruby-lang.org>
26723 * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: imported nkf 2.0.6.
26724 * Add --ic / --oc option and mapping tables.
26725 * Add fallback option.
26726 * Add --no-best-fit-chars option.
26729 * ext/nkf/nkf.c (nkf_split_options): added for parse option string.
26731 * ext/nkf/lib/kconv.rb (Kconv.to*): add -m0.
26732 Note that Kconv.to* still imply -X.
26734 * ext/nkf/test.rb: Removed. Obsolete by test/nkf.
26736 * ext/.document: enabled documents in nkf and kconv
26738 * ext/nkf/nkf.c, ext/nkf/lib/kconv.rb: Add rdoc.
26740 Mon Mar 27 03:17:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26742 * eval.c (rb_call0): insecure calling should be checked for non
26743 NODE_SCOPE method invocations too.
26745 * eval.c (rb_alias): should preserve the current safe level as
26746 well as method definition.
26748 Sun Mar 26 22:02:51 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26750 * re.c: refactoring for options.
26754 Fri Mar 24 21:11:02 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26756 * re.c (match_aref): RDoc description updated.
26758 * string.c (rb_str_sub): ditto.
26760 * string.c (rb_str_gsub): ditto.
26762 Fri Mar 24 17:20:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26764 * process.c (rb_f_sleep): remove RDoc description about SIGALRM
26765 which is not valid on the current implementation. [ruby-dev:28464]
26767 Thu Mar 23 21:40:47 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26769 * re.c (rb_reg_regsub): prohibit \1, \2 ...\9 in replaced string
26770 for named regex pattern.
26772 Thu Mar 23 21:06:23 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26774 * oniguruma.h: Version 4.0.2
26776 * regparse.c: ditto.
26780 * regerror.c: ditto.
26782 Thu Mar 23 10:47:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26784 * eval.c (method_missing): should support argument splat in
26785 super. a bug in combination of super, splat and
26786 method_missing. [ruby-talk:185438]
26788 Thu Mar 23 00:01:32 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26790 * re.c (rb_reg_regsub): add back reference by name \k<name> in
26793 * re.h: add regexp argument to rb_reg_regsub().
26795 * string.c (rb_str_sub_bang): ditto.
26797 * string.c (str_gsub): ditto.
26799 Tue Mar 21 22:14:01 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
26801 * re.c (match_alloc): initialize member regexp.
26803 * re.c (match_aref): add String and Symbol argument. [ruby-dev:28448]
26805 * re.h: add member regexp to RMatch.
26807 * gc.c (gc_mark_children): add gc_mark() to regexp member.
26809 Mon Mar 20 12:05:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26811 * configure.in: Solaris SunPro compiler -rapth patch from
26812 <kuwa at labs.fujitsu.com>. [ruby-dev:28443]
26814 Mon Mar 20 11:12:38 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26816 * ext/win32ole/win32ole.c (folevariant_value): could not compile
26819 Mon Mar 20 09:40:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26821 * configure.in: remove enable_rpath=no for Solaris.
26824 Sun Mar 19 09:46:30 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26826 * ext/win32ole/win32ole.c (ole_val2olevariantdata): change behavior
26827 of converting OLE Variant object with VT_ARRAY|VT_UI1 and Ruby
26830 * ext/win32ole/win32ole.c (folevariant_value): ditto.
26832 * ext/win32ole/tests/testOLEVARIANT.rb: ditto.
26834 Wed Mar 15 16:51:11 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26836 * lib/mkmf.rb (create_makefile): support libraries without *.so.
26838 Wed Mar 15 16:39:29 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
26840 * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: should use
26841 "rb_str_new(0, 0)" to make empty string.
26843 Sun Mar 12 17:02:10 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
26845 * ext/win32ole/win32ole.c(ole_val2olevariantdata): support VT_ARRAY in
26846 WIN32OLE_VARIANT.new().
26848 * ext/win32ole/tests/testOLEVARIANT.rb: ditto.
26850 * ext/win32ole/tests/testOLEPARAM.rb: test method name should not be
26853 Sat Mar 11 14:24:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26855 * ruby.1: a clarification patch from David Lutterkort
26856 <dlutter at redhat.com>. [ruby-core:7508]
26858 Sun Mar 5 18:40:58 2006 Minero Aoki <aamine@loveruby.net>
26860 * lib/fileutils.rb: do not repeat command options.
26862 Sun Mar 5 18:35:03 2006 Minero Aoki <aamine@loveruby.net>
26864 * lib/net/http.rb (send_request_with_body): #content_type never
26865 return false, use #main_type instead. [ruby-core:07476]
26867 Sat Mar 4 15:26:40 2006 Tanaka Akira <akr@m17n.org>
26869 * gc.c (id2ref): fix symbol test.
26871 Sat Mar 4 01:08:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26873 * lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygems
26874 directories. a patch from Eric Hodel <drbrain at segment7.net>.
26877 Fri Mar 3 17:59:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26879 * eval.c (rb_clear_cache_by_class): clearing wrong cache.
26881 Fri Mar 3 21:22:42 2006 Tanaka Akira <akr@m17n.org>
26883 * lib/fileutils.rb (FileUtils.cp_r): implement :remove_destination
26886 * ext/extmk.rb: use :remove_destination to install extension libraries
26887 to avoid SEGV. [ruby-dev:28417]
26889 Fri Mar 3 14:41:04 2006 Minero Aoki <aamine@loveruby.net>
26891 * ext/dl/.cvsignore: ignore callback.h.
26893 * ext/ripper/.cvsignore: ignore eventids2table.c.
26895 * ext/socket/.cvsignore: ignore constants.h.
26897 Thu Mar 2 18:58:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26899 * eval.c (rb_thread_fd_writable): should not re-schedule output
26900 from KILLED thread (must be error printing).
26902 Thu Mar 2 09:12:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26904 * array.c (rb_ary_flatten_bang): allow specifying recursion
26905 level. [ruby-talk:182170]
26907 * array.c (rb_ary_flatten): ditto.
26909 Thu Mar 2 08:02:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26911 * gc.c (add_heap): a heap_slots may overflow. a patch from Stefan
26912 Weil <weil at mail.berlios.de>.
26914 Wed Mar 1 17:13:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26916 * eval.c (rb_call): use separate cache for fcall/vcall
26919 * eval.c (rb_eval): NODE_FCALL, NODE_VCALL can call local
26922 * eval.c (rb_mod_local): a new method to specify newly added
26923 visibility "local".
26925 * eval.c (search_method): search for local methods which are
26926 visible only from the current class.
26928 * class.c (rb_class_local_methods): a method to list local methods.
26930 Thu Mar 2 17:54:45 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
26932 * gc.c: commited magic for reducing RVALUE size on windows. (24->20byte)
26935 Thu Mar 2 14:12:26 2006 Tanaka Akira <akr@m17n.org>
26937 * gc.c: align VALUE with sizeof(RVALUE) globally.
26938 (is_pointer_to_heap): check alignment out of loop.
26939 (id2ref): avoid collision between symbols and objects.
26940 (rb_obj_id): ditto. moved from object.c.
26941 [ruby-talk:178364] [ruby-core:7305]
26943 Thu Mar 2 12:55:16 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
26945 * win32/win32.c (filetime_to_unixtime): should set tm_isdst to -1.
26946 stat() didn't treat daylight saving time property on WinNT.
26949 Wed Mar 1 00:15:51 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
26951 * lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.
26952 merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29.
26953 [ruby-talk:181631] [ruby-dev:28404]
26955 Tue Feb 28 19:32:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26957 * object.c (Init_Object): add BasicObject class as a top level
26960 Mon Feb 27 00:19:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
26962 * ruby.h (SYM2ID): should not cast to signed long.
26965 Fri Feb 24 20:21:38 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
26967 * test/drb/drbtest.rb (add_service_command): quote pathnames in the
26968 server's command line for space contained directory names.
26969 Thanks, arton. [ruby-dev:28386]
26971 Fri Feb 24 12:10:07 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26973 * instruby.rb: install *.exe.manifest and *.dll.manifest if exist.
26976 Fri Feb 24 11:17:45 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26978 * win32/win32.c (NtInitialize): need to set a handler for VC++8.
26980 Thu Feb 23 22:39:59 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
26982 * bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
26983 memory manager cannot handle large memory block properly.
26984 ex: 10000.times { "" << "." * 529671; GC.start } # crash
26987 Thu Feb 23 13:23:03 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
26989 * eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]
26991 Wed Feb 22 21:16:55 2006 Tanaka Akira <akr@m17n.org>
26993 * lib/pathname.rb (Pathname#each_filename): use split_names properly.
26995 Wed Feb 22 16:24:05 2006 NAKAMURA Usaku <usa@ruby-lang.org>
26997 * test/webrick/test_cgi.rb: should support platforms which search
26998 library path from the interpreter's path.
26999 And, support test without install incidentally.
27001 Wed Feb 22 14:21:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27003 * bignum.c (bignorm): x may not be a bignum. [ruby-dev:28367]
27005 Wed Feb 22 09:22:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27007 * eval.c (proc_alloc): add proper check for creation of a lambda
27010 Tue Feb 21 02:07:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27012 * parse.y (f_arglist): should set command_start = Qtrue for
27013 command body. [ruby-talk:180648]
27015 Mon Feb 20 22:30:17 2006 Tanaka Akira <akr@m17n.org>
27017 * mkconfig.rb: alias Config to RbConfig for compatibility.
27019 Mon Feb 20 18:21:41 2006 Tanaka Akira <akr@m17n.org>
27021 * io.c (rb_io_reopen): flush before reopening a file.
27022 reported by Mathieu Bouchard. [ruby-core:7396]
27024 Mon Feb 20 17:29:50 2006 Tanaka Akira <akr@m17n.org>
27026 * mkconfig.rb: generate RbConfig instead of Config.
27028 * instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
27029 ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
27030 lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
27031 lib/webrick/httpservlet/cgihandler.rb,
27032 test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
27033 test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
27034 test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
27035 win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
27038 Mon Feb 20 13:46:19 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27040 * lib/find.rb: should raise ENOENT if root entry does not exist,
27041 without opening it. [ruby-dev:28345]
27043 Mon Feb 20 12:27:53 2006 Kent Sibilev <ksruby@gmail.com>
27045 * lib/rational.rb (Integer::gcd): small typo fix.
27048 Mon Feb 20 10:03:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27050 * variable.c (rb_const_get_0): Object should have been the lowest
27051 in const lookup precedence. [ruby-dev:28343]
27053 Mon Feb 20 09:17:11 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27055 * lib/delegate.rb (Delegator): should not delegate "funcall".
27057 Mon Feb 20 09:13:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27059 * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):
27060 qualify the access for Config constant. [ruby-dev:28338]
27062 * lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify
27063 ClassValue. [ruby-dev:28338]
27065 Mon Feb 20 01:05:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27067 * lib/rational.rb (Integer::gcd): replaced by gcd4 in
27068 [ruby-core:07390]. [ruby-core:07377]
27070 Mon Feb 20 00:57:02 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
27072 * ext/openssl/ossl.h (OSSL_Debug): should not use __func__.
27075 Mon Feb 20 00:13:49 2006 Tanaka Akira <akr@m17n.org>
27077 * lib/open-uri.rb: add :ssl_verify_mode option.
27078 suggested by Will Glynn.
27080 * lib/open-uri.rb: add :ssl_ca_cert option.
27082 Sun Feb 19 04:46:29 2006 Guy Decoux <ts@moulon.inra.fr>
27084 * eval.c: initial value for block_unique must be 1.
27087 Sat Feb 18 23:58:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27089 * lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
27090 only when caller() level size is one. [ruby-core:07389]
27092 * lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
27095 * sample/rtags.rb: ditto.
27097 Sat Feb 18 21:16:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27099 * eval.c (rb_obj_instance_eval): RDoc description updated. a
27100 patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>.
27103 Sat Feb 18 01:01:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27105 * variable.c (rb_const_get_0): skip ruby_wrapper in const search
27106 to give it lower priority (just above Object). need not to
27107 change rb_const_defined_0() since it's only a precedence matter;
27108 they are defined anyway.
27110 Sat Feb 18 00:22:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27112 * lib/tracer.rb: merged a minor clarification patch from Daniel
27113 Berger <Daniel.Berger at qwest.com>. [ruby-core:07376]
27115 Fri Feb 17 17:30:20 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27117 * eval.c (ev_const_get): simplified using rb_const_get_fallback().
27119 * eval.c (ev_const_defined): adopt to ev_const_get() using
27120 rb_const_defined_fallback().
27122 * variable.c (rb_const_get_fallback): new function to implement
27125 * variable.c (rb_const_defined_fallback): new function to
27126 implement constant definition check.
27128 * variable.c (rb_const_get_0): adopt to new behavior. constants
27129 are looked up in the order of: current class, super classes (but
27130 Object), lexically external classes/modules, and Object.
27132 * variable.c (rb_const_defined_0): ditto.
27134 Fri Feb 17 11:20:53 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27136 * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330]
27138 * pack.c (EXTEND32): unpack("l") did not work where sizeof(long) != 4.
27141 * pack.c (pack_unpack): fixed integer overflow on template "w".
27144 Fri Feb 17 09:39:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27146 * eval.c (rb_thread_wait_for): sleep should always sleep for
27147 specified amount of time. [ruby-talk:180067]
27149 Wed Feb 15 16:52:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27151 * eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in its
27152 argument list. [ruby-core:07366]
27154 * parse.y (arg): avoid unnecessary extra argument.
27157 * eval.c (rb_eval): honor visibility on OP_ASGN1 and
27158 OP_ASGN2. [ruby-core:07366]
27160 Wed Feb 15 15:20:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27162 * eval.c (error_line): remove void control path. [ruby-dev:28335]
27164 Wed Feb 15 10:09:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27166 * eval.c (yield_under_i): should not pass self as an argument to
27167 the block for instance_eval. [ruby-core:07364]
27169 Wed Feb 15 09:20:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27171 * eval.c (rb_obj_instance_eval): should be no singleton classes for
27172 true, false, and nil. [ruby-dev:28186]
27174 Tue Feb 14 20:26:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27176 * enumerator.c (enumerator_each): return self if no block is
27177 given. [yarv-dev:882]
27179 Tue Feb 14 18:48:33 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27181 * eval.c (DMETHOD_P): accessing wrong frame. [ruby-dev:28181]
27183 * eval.c (proc_invoke): preserve FRAME_DMETH flag.
27185 Tue Feb 14 15:15:22 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27187 * ext/zlib/zlib.c: suppress warning on test/zlib. [ruby-dev:28323]
27189 Tue Feb 14 13:47:22 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27191 * win32/win32.c (rb_w32_utime): drop read-only attribute before
27192 changing file time.
27194 Tue Feb 14 13:38:01 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27196 * win32/Makefile.sub (config.h): should define HAVE_LONG_LONG with
27199 Tue Feb 14 11:42:38 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27201 * time.c (search_time_t): support non 32bit time_t environments.
27203 * win32/Makefile.sub (config.h): VC++8 has ``long long'' type.
27205 * win32/Makefile.sub (config.h): VC++8's time_t is 64bit value.
27207 Mon Feb 13 18:01:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27209 * eval.c (copy_node_scope): remove duplicated semicolons at end.
27210 a patch from KIMURA Koichi <kimura.koichi at canon.co.jp>.
27213 * eval.c (VIS_MODE): remove unnecessary argument.
27216 Mon Feb 13 13:49:48 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27218 * parse.y (parser_parse_string): mention "regexp" in a error
27219 message. a patch from Mauricio Fernandez <mfp at acm.org>
27222 Mon Feb 13 00:01:32 2006 K.Kosako <sndgk393 AT ybb.ne.jp>
27224 * oniguruma.h: Version 4.0.1
27226 * regparse.c (onig_free_shared_cclass_table): fix memory leaks.
27228 * regcomp.c (optimize_node_left): change from IS_POSIXLINE() to IS_MULTILINE().
27230 * regint.h: rename ANCHOR_ANYCHAR_STAR_PL to ANCHOR_ANYCHAR_STAR_ML.
27232 * regparse.h: ditto.
27234 * regexec.c: ditto.
27236 Sat Feb 11 21:57:29 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
27238 * ext/win32ole/win32ole.c: add WIN32OLE.create_guid.
27240 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
27242 Sat Feb 11 01:57:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27244 * eval.c (rb_f_autoload): check if ruby_cbase is nil (during
27245 instance_eval for objects cannot have singleton classes,
27246 e.g. fixnums and symbols). [ruby-dev:28178]
27248 Fri Feb 10 12:31:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27250 * eval.c (rb_eval): should support NODE_ZSUPER in NODE_ITER.
27253 * eval.c (ZSUPER_ARGS): support macro.
27255 Wed Feb 8 10:26:06 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27257 * gc.c (rb_gc_call_finalizer_at_exit): turn on during_gc while
27258 invoking finalizers.
27260 * gc.c (rb_gc_finalize_deferred): ditto.
27262 Tue Feb 7 23:03:13 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27264 * ext/zlib/zlib.c: should not access ruby objects in finalizer.
27267 Tue Feb 7 18:42:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27269 * io.c (rb_write_error2): use fwrite(3) if rb_stderr is not
27270 updated or is already freed. [ruby-dev:28313]
27272 Mon Feb 6 16:02:51 2006 WATANABE Hirofumi <eban@ruby-lang.org>
27274 * file.c (rb_thread_flock): ERROR_NOT_LOCKED is not an error on Cygwin.
27275 In such situation, flock() should return 0.
27277 Mon Feb 6 14:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27279 * eval.c (error_line): include the class name of a surrounding
27280 method in error position description.
27282 Mon Feb 6 00:14:57 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27284 * enum.c (enum_find_index): a new method Enumerable#find_index.
27287 Sun Feb 5 23:29:31 2006 Tanaka Akira <akr@m17n.org>
27289 * ruby.h (struct RStruct): embed 3 or less elements structs.
27290 (RSTRUCT_LEN): defined for accessing struct members.
27291 (RSTRUCT_PTR): ditto.
27293 * struct.c: use RSTRUCT_LEN and RSTRUCT_PTR.
27294 (struct_alloc): allocate small structs in embedded format.
27295 (rb_struct_init_copy): ditto.
27297 * gc.c (gc_mark_children): use RSTRUCT_LEN and RSTRUCT_PTR.
27300 * marshal.c (w_object): use RSTRUCT_LEN and RSTRUCT_PTR.
27302 Sun Feb 5 21:01:49 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27304 * numeric.c (fix_to_s): removed workaround for radix 2. Historically,
27305 rb_fix2str could only handle radix 8, 10, 16. (Rev1.37) But for now,
27306 it can handle radix 2..36. [ruby-Bugs#3438] [ruby-core:7300]
27308 Sun Feb 5 18:49:00 2006 Minero Aoki <aamine@loveruby.net>
27310 * lib/net/http.rb (add_field, get_fields): keep 1.8.2
27311 compatibility. This patch is contributed by Rob Pitt.
27313 Sun Feb 5 16:33:50 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27315 * lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.
27317 Sun Feb 5 14:26:54 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27319 * lib/pstore.rb: should return default value if name is not found.
27322 * lib/pstore.rb: should raise PStore::Error if not in transaction.
27324 Sat Feb 4 22:51:43 2006 Tanaka Akira <akr@m17n.org>
27326 * eval.c: apply the FreeBSD getcontext/setcontext workaround
27327 only before FreeBSD 7-CURRENT.
27329 Sat Feb 4 21:10:06 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27331 * win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.
27332 In such situation, flock() should return 0.
27334 Sat Feb 4 15:52:56 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27336 * numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where
27337 sizeof(int) == 4 < sizeof(long). [ruby-core:7300]
27339 Sat Feb 4 15:02:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27341 * oniguruma.h: merge Oniguruma 4.0.0 [ruby-dev:28290]
27343 Fri Feb 3 19:25:53 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27345 * ruby.h: fixed prototype.
27347 * ext/syck/rubyext.c: defined symbol ID as global variable as others.
27349 Fri Feb 3 17:57:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27351 * eval.c: unify ruby_class (for method definition) and ruby_cbase
27352 (for constant reference).
27354 Fri Feb 3 15:02:10 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27356 * ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etc
27357 even if skip == 0. This causes buffer overrun.
27358 (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"'))
27360 Fri Feb 3 00:01:31 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27362 * ext/syck/emitter.c (syck_emitter_write): should not set '\0' on
27363 emitter's marker. if marker points to the end of buffer, this is
27364 buffer overrun. (ex: YAML.dump("." * 12288))
27366 Thu Feb 2 17:13:01 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27368 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): added
27369 support of :'string' style Symbol.
27371 Thu Feb 2 16:01:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27373 * eval.c (rb_call0): use TMP_ALLOC() instead of allocating
27374 a temporary array object.
27376 * eval.c (eval): need not to protect $SAFE value.
27379 * error.c (Init_Exception): change NameError to direct subclass of
27380 Exception so that default rescue do not handle it silently.
27382 Thu Feb 2 14:45:53 2006 Ville Mattila <ville.mattila@stonesoft.com>
27384 * configure.in: The isinf is not recognized by autoconf
27385 library guesser on solaris 10. [ruby-core:7138]
27387 Wed Feb 1 22:01:47 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27389 * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)
27390 where they are supported. modifying environ variable seems to
27391 segfault solaris 10. [ruby-core:7276] [ruby-dev:28270]
27393 * ruby.c (set_arg0): if use setenv(3), environ space cannot be used
27394 for altering argv[0].
27396 Tue Jan 31 14:46:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27398 * struct.c (rb_struct_select): update RDoc description.
27401 Tue Jan 31 11:58:51 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27403 * ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.
27405 * ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the
27406 last commit. Now it will return a proper object.
27408 Tue Jan 31 08:07:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27410 * numeric.c (int_upto): return an enumerator if no block is
27411 attached to the method.
27413 * numeric.c (int_downto): ditto.
27415 * numeric.c (int_dotimes): ditto.
27417 * enum.c (enum_first): new method Enumerable#first to take first n
27418 elements from an enumerable.
27420 * enum.c (enum_group_by): new method Enumerable#group_by that
27421 groups enumerable values according to their block values.
27423 Tue Jan 31 00:08:22 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27425 * ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.
27426 ex: ruby -ryaml -e 'YAML.load("!map:B {}")' [ruby-core:7217]
27428 Sat Jan 28 07:49:30 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27430 * lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this case
27431 file name is "a:0". I don't know this really happens though...
27434 Thu Jan 26 15:55:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
27436 * ext/socket/socket.c: turn on do_not_reverse_lookup by default.
27438 Wed Jan 25 22:29:04 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27440 * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use
27441 system routine if provided. fixed: [ruby-core:07195]
27443 Sun Jan 22 23:27:13 2006 Go Noguchi <gonoguti@yahoo.co.jp>
27445 * lib/test/unit/autorunner.rb (process_args): ignore arguments after
27446 '--' so that test scripts can handle them. fixed: [ruby-dev:28258]
27448 Sun Jan 22 22:09:52 2006 Tanaka Akira <akr@m17n.org>
27450 * eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on
27451 IA64 to avoid reusing variable address.
27453 Sun Jan 22 20:03:35 2006 Tanaka Akira <akr@m17n.org>
27455 * eval.c (ruby_setjmp): define PRE_GETCONTEXT and POST_GETCONTEXT
27456 instead of FUNCTION_CALL_MAY_RETURN_TWICE.
27457 define PRE_GETCONTEXT to clear carry flag for workaround of
27458 FreeBSD/i386 getcontext/setcontext bug.
27461 Thu Jan 19 22:19:18 2006 Minero Aoki <aamine@loveruby.net>
27463 * lib/fileutils.rb (mv): should remove file after copying.
27466 Wed Jan 18 23:37:06 2006 Tanaka Akira <akr@m17n.org>
27468 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC
27470 (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext
27472 reported by Pav Lucistnik and Marius Strobl.
27473 http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html
27475 Tue Jan 17 23:59:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27477 * object.c (rb_mod_const_get, rb_mod_const_defined): added optional
27478 flag to search ancestors, which is defaulted to true.
27479 fixed: [ruby-talk:175899]
27481 * eval.c (rb_mod_method_defined): ditto.
27483 Tue Jan 17 11:31:47 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27485 * win32/setup.mak (MAKE): workaround for nmake 8.
27487 Tue Jan 17 11:06:19 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27489 * win32/Makefile.sub: invoke .bat via shell. workaround for nmake 8.
27491 Mon Jan 16 10:13:38 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27493 * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):
27494 should output complex key mark even if map's key is empty seq/map.
27497 Sat Jan 14 03:38:54 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27499 * file.c (rb_file_s_chmod): avoid warning where sizeof(int) !=
27502 Fri Jan 13 19:26:15 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27504 * lib/rdoc/diagram.rb:
27505 - properly quote bare element attributes
27506 - terminates dangling elements (e.g. <img>, <br>, <link>, etc)
27507 - converts "CVS" to the more HTML-friendly acronym element
27508 - adds missing type attributes to style elements
27510 based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028]
27512 * lib/rdoc/generators/html_generator.rb: ditto.
27513 * lib/rdoc/generators/template/html/hefss.rb: ditto.
27514 * lib/rdoc/generators/template/html/html.rb: ditto.
27515 * lib/rdoc/generators/template/html/kilmer.rb: ditto.
27517 Thu Jan 12 11:53:08 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27519 * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widget
27520 which is constructed with TkComposite module.
27521 [new feature] support 'command' option which is called just before
27522 popping up the balloon help.
27524 Wed Jan 11 00:12:29 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
27526 * lib/erb.rb (ERB::Compiler): add instance variable @insert_cmd to
27527 change <%='s behavior.
27529 Tue Jan 10 19:42:33 2006 Tanaka Akira <akr@m17n.org>
27531 * gc.c (garbage_collect): mark ruby_current_node.
27532 if an exception is raised in a finalizer written in C called by
27533 rb_gc_call_finalizer_at_exit, ruby_set_current_source may use
27534 collected ruby_current_node and mark_source_filename may corrupt
27537 Tue Jan 10 13:30:34 2006 akira yamada <akira@ruby-lang.org>
27539 * ext/syck/rubyext.c (syck_resolver_transfer): should be able to load
27540 !ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159]
27542 Tue Jan 10 12:47:41 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27544 * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in
27545 ruby 1.8.3/1.8.4. [ruby-core:6115]
27547 * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not
27548 be dumped properly. [ruby-core:7047]
27550 Tue Jan 10 12:00:48 2006 Aaron Schrab <aaron @nospam@ schrab.com>
27552 * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted
27553 Symbols broken. [ruby-Bugs:2535]
27555 Tue Jan 10 07:26:52 2006 Tanaka Akira <akr@m17n.org>
27557 * gc.c (gc_stress): renamed from always_gc and enabled by default.
27558 (gc_stress_get): new function for GC.stress.
27559 (gc_stress_set): new function for GC.stress=.
27561 Mon Jan 9 19:58:56 2006 arton <artonx@yahoo.co.jp>
27563 * ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed by
27564 http://www.zlib.net/ has zdll.lib. [ruby-dev:28209]
27566 Mon Jan 9 14:25:00 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27568 * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,
27569 (VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040]
27571 Mon Jan 9 14:25:00 2006 Kero van Gelder <rubyforge @nospam@ kero.tmfweb.nl>
27573 * lib/webrick/httpservlet/filehandler.rb: fixed typo. [ruby-core:7075]
27575 Sun Jan 8 14:15:27 2006 Tanaka Akira <akr@m17n.org>
27577 * eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.
27578 Intel C++ Compiler defines __GNUC__.
27579 http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm
27581 Sat Jan 7 15:40:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
27583 * parse.y (singleton): get rid of segfault on syntax error.
27584 fixed: [ruby-core:07070]
27586 Sat Jan 7 06:24:18 2006 Tanaka Akira <akr@m17n.org>
27588 * eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to
27589 avoid FreeBSD bug. FreeBSD defines FD_ISSET as just a bitmap of
27590 unsigned long. So returning the value from rb_fd_isset discards
27591 upper 32bits on LP64 environment.
27592 http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421
27594 Fri Jan 6 02:20:18 2006 Tanaka Akira <akr@m17n.org>
27596 * configure.in: don't force getcontext on IA64.
27598 * eval.c (ruby_setjmp): add an argument for just before getcontext.
27599 (THREAD_SAVE_CONTEXT): call rb_thread_save_context just
27603 Sun Jan 1 15:28:46 2006 Tanaka Akira <akr@m17n.org>
27605 * missing.h (isinf): avoid macro expansion
27606 "extern int isinf(double);" to
27607 "extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on
27610 Sun Jan 1 14:42:54 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27612 * win32/win32.c (rb_w32_seekdir): should not segfault even if passed
27613 the location which rb_w32_telldir didn't return. (and should change
27614 `bits' position) [ruby-core:7035]
27616 * win32/dir.h: ditto. (stores `loc' instead of `bitpos')
27618 * test/ruby/test_dir.rb: added.
27620 Sat Dec 31 22:57:00 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27622 * eval.c (rb_thread_save_context): should not recycle scope object used
27623 in a thread. fixed: [ruby-dev:28177]
27625 Sat Dec 31 19:50:38 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27627 * ext/syck/rubyext.c: attribute name was truncated with Rev1.64.
27629 Sat Dec 31 11:53:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27631 * lib/generator.rb: (Generator#initialize): should kill @loop_thread
27632 before starting new thread. (occurs when called via Generator#rewind)
27635 Fri Dec 30 18:22:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27637 * gc.c (garbage_collect): mark objects referred from aborting threads.
27640 * win32/Makefile.sub: VC++8 support.
27642 Fri Dec 30 15:17:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27644 * lib/generator.rb (Generator#initialize): ensured to stop @loop_thread.
27645 Mr. Tanaka pointed out one Thread.pass is not enough. [ruby-dev:28185]
27647 Fri Dec 30 12:20:57 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27649 * lib/generator.rb (Generator#initialize): fixed dead lock. this occurred
27650 when end? was called before @loop_thread was stopped. [ruby-core:7029]
27652 Fri Dec 30 01:04:52 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27654 * lib/generator.rb: should work with another thread. (more robust code)
27657 Thu Dec 29 23:59:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27659 * eval.c (rb_gc_mark_threads): keep unmarked threads which won't wake
27660 up alone, and mark threads in the loading table. [ruby-dev:28154]
27662 * eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked
27663 threads. [ruby-dev:28172]
27665 Thu Dec 29 17:02:07 2005 Tanaka Akira <akr@m17n.org>
27667 * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of
27668 "miniruby". [ruby-dev:28140]
27670 Thu Dec 29 14:35:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27672 * eval.c (rb_mod_define_method): should save safe_level in the
27673 proc object. [ruby-dev:28146]
27675 Thu Dec 29 11:22:34 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27677 * lib/generator.rb: reimplemented Generator class with Thread instead of
27678 callcc, in order to fix memory leak. [ruby-dev:28142]
27680 Wed Dec 28 14:10:05 2005 Tanaka Akira <akr@m17n.org>
27682 * ia64.s: remove .pred.safe_across_calls directive.
27683 reported by WATANABE Tetsuya. [ruby-dev:28141]
27685 Wed Dec 28 01:32:39 2005 Tanaka Akira <akr@m17n.org>
27687 * eval.c (struct thread): add bstr_max.
27688 (rb_thread_save_context): use realloc instead of REALLOC_N
27691 Tue Dec 27 23:59:53 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27693 * lib/optparse.rb (CompletingHash#match): fix for 1.9.
27695 Tue Dec 27 16:59:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27697 * test/drb/drbtest.rb (DRbService::self.ext_service): increase
27698 timeout limit. a patch from Kazuhiro NISHIYAMA
27699 <zn at mbf.nifty.com>. [ruby-dev:28132]
27701 Tue Dec 27 14:17:55 2005 Tanaka Akira <akr@m17n.org>
27703 * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn't
27705 don't check libunwind stuff.
27706 check __libc_ia64_register_backing_store_base.
27708 * defines.h: declare rb_ia64_bsp and rb_ia64_flushrs.
27709 (flush_register_windows): call rb_ia64_flushrs on IA64.
27711 * ia64.s: new file for IA64.
27712 it is separated from C program files because
27713 Intel C++ Compiler for IA64 doesn't support inline assembly.
27715 * common.mk (ia64.$(OBJEXT)): new target.
27717 * ruby.h (RUBY_INIT_STACK): defined.
27718 (ruby_init_stack): declared for RUBY_INIT_STACK.
27720 * main.c (main): precedes RUBY_INIT_STACK before ruby_init.
27722 * gc.c (rb_gc_register_stack_start): new global variable on IA64.
27723 (garbage_collect): simplify register stack marking code.
27724 don't use libunwind.
27725 (Init_stack): initialize rb_gc_register_stack_start.
27726 (ruby_init_stack): new function for RUBY_INIT_STACK.
27728 * eval.c (struct thread): add bstr_pos member for original position of
27730 (rb_thread_save_context): simplify register stack saving code.
27731 don't use libunwind.
27732 (rb_thread_restore_context_0): new function. moved from
27733 rb_thread_restore_context except the stack position checking code.
27734 don't use libunwind for IA64 register stack.
27735 (register_stack_extend): new function.
27736 (stack_extend): make it self-recursive with
27737 the stack position checking code in old rb_thread_restore_context.
27738 (rb_thread_restore_context): just call stack_extend.
27739 (flush_register_windows): removed.
27743 Tue Dec 27 14:09:39 2005 Minero Aoki <aamine@loveruby.net>
27745 * process.c: new method Process.exec. [ruby-dev:28107]
27747 Tue Dec 27 08:22:15 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
27749 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_check):
27750 treat wildcard character in commonName. [ruby-dev:28121]
27752 Mon Dec 26 08:50:36 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27754 * eval.c (ev_const_get): fixed a bug in constant reference during
27755 instance_eval. [yarv-dev:707]
27757 * eval.c (ev_const_defined): ditto.
27759 * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from
27760 Joel VanderWerf <vjoel at path.berkeley.edu>.
27761 [ruby-talk:165285] [ruby-core:6995]
27763 Fri Dec 23 10:30:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27765 * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from
27766 Kailden <kailden at gmail.com>. [ruby-core:06984]
27768 Wed Dec 21 16:47:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27770 * file.c (w32_io_info): should return handle because FileIndex is
27771 valid only while file is open. [ruby-dev:28088]
27773 Wed Dec 21 12:12:21 2005 Tanaka Akira <akr@m17n.org>
27775 * test/pathname/test_pathname.rb (test_kernel_open): use
27779 Tue Dec 20 22:41:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27781 * eval.c (eval_under_i): evaluate source in caller's frame.
27784 Tue Dec 20 12:53:23 2005 why the lucky stiff <why@ruby-lang.org>
27786 * ext/syck/rubyext.c (syck_emitter_reset): to ensure compatibility
27787 with previous Ruby versions, documents are no longer headless.
27789 Tue Dec 20 12:33:01 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27791 * ext/syck/rubyext.c (syck_node_transform): ruby object holding
27792 explicitly freed SyckNode caused SEGV. [ruby-dev:28067]
27794 ... I think syck GC problem was solved now!
27796 Tue Dec 20 01:46:48 2005 Tanaka Akira <akr@m17n.org>
27798 * io.c (rb_f_backquote): fix a GC problem on
27799 IA64 with gcc 4.0.3 20051216 (prerelease) -O3.
27801 Mon Dec 19 23:32:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27803 * Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
27805 * main.c (always_gc): dllimport is required for VC to import a DLL
27806 symbol. fixed: [ruby-dev:28051]
27808 * parse.y (rb_symname_p): fixed wrong validation. [ruby-dev:28047]
27810 Mon Dec 19 23:09:24 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27812 * st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
27813 in gram.c to insert node from rb_syck_bad_anchor_handler into
27814 SyckParser's hash table. if GC occurs in st_insert, it's not under
27815 SyckParser's mark system yet. so RString can be released wrongly.
27817 * ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is
27818 NULL or not before S_FREE.
27820 * ext/syck/rubyext.c (syck_parser_assign_io): rb_check_string_type can
27821 return new RString. if so, it becomes unreachable from GC after
27822 returns syck_parser_assign_io, and can be freed by GC. (dangling
27823 in syck io system) so extends its life time till syck_parse is called.
27825 * ext/syck/rubyext.c (syck_parser_s_alloc): always allocates bonus,
27826 so no need to check if NULL, and "volatile VALUE hash"
27827 is not needed. (bonus->port was not protected in syck_emitter_reset)
27829 * ext/syck/rubyext.c (syck_mark_parser): ditto.
27831 * ext/syck/rubyext.c (syck_parser_load): ditto.
27833 * ext/syck/rubyext.c (syck_parser_load_documents): ditto.
27835 * ext/syck/rubyext.c (syck_emitter_s_alloc): ditto.
27837 * ext/syck/rubyext.c (syck_mark_emitter): ditto.
27839 * ext/syck/rubyext.c (syck_emitter_reset): ditto.
27841 * ext/syck/rubyext.c (syck_scalar_value_set): "should set newly
27842 allocated memory instead of RString's internal storage" stuff again.
27843 by this, should call syck_free_node instead of rb_syck_free_node.
27845 * ext/syck/rubyext.c (syck_node_type_id_set): ditto.
27847 ... I believe syck GC problem was solved by this.
27849 Mon Dec 19 12:20:59 2005 Tanaka Akira <akr@m17n.org>
27851 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): activate only
27852 before gcc 4.0.3 on SPARC and IA64.
27854 Mon Dec 19 11:37:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27856 * ext/syck/rubyext.c: sorry, I reverted my "should set newly
27857 allocated memory instead of RString's internal storage" stuff.
27858 node allocated in rubyext.c seems to be freed by rb_syck_free_node
27859 not syck_free_node, and it won't free data.str->ptr and type_id.
27861 (I still think this is unsafe because RString(foo)->ptr becomes
27862 dangling pointer when RString is modified or freed, but anyway
27863 I misunderstood, so go back to original code for now)
27865 Sat Dec 17 21:50:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27867 * ext/syck/rubyext.c (syck_emitter_reset): should initialize
27868 emitter->bonus->oid. otherwise rb_gc_mark crashes.
27870 * ext/syck/rubyext.c (syck_mark_parser): should mark anchor nodes
27871 because they hold ruby objects. (ie: rb_syck_bad_anchor_handler)
27873 Sat Dec 17 11:00:17 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27875 * ext/syck/rubyext.c (rb_syck_compile): avoid potential memory
27878 * ext/syck/rubyext.c (syck_set_ivars): avoid potential memory
27879 leak by explicit symbol allocation.
27881 Sat Dec 17 03:57:01 2005 Tanaka Akira <akr@m17n.org>
27883 * bignum.c (rb_big_rshift): fix a GC problem on
27884 IA64 with gcc 4.0.3 20051216 (prerelease).
27886 Sat Dec 17 03:30:23 2005 Tanaka Akira <akr@m17n.org>
27888 * eval.c (bmcall): fix a GC problem by tail call on
27889 IA64 with gcc 4.0.3 20051216 (prerelease).
27891 Fri Dec 16 17:53:45 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27893 * ext/syck/rubyext.c (rb_syck_compile): fixed memory leak.
27895 * ext/syck/rubyext.c: should protect global variable from GC.
27897 Fri Dec 16 11:44:43 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
27899 * ext/syck/rubyext.c (syck_resolver_tagurize): fixed memory leak.
27901 * ext/syck/rubyext.c (syck_node_type_id_set): should set newly
27902 allocated memory instead of RString's internal storage.
27904 * ext/syck/rubyext.c (syck_scalar_value_set): ditto.
27906 ... these fixes won't fix [ruby-dev:27839]. more work is needed.
27908 Fri Dec 16 04:38:55 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27910 * lib/delegate.rb (Delegator::method_missing): should delegate
27913 Thu Dec 15 19:57:12 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27915 * lib/cgi.rb (CGI::QueryExtension::MorphingBody): fix criteria to
27916 use Tempfile. A fix from Zev Blut <rubyzbibd at ubit.com>.
27919 * string.c: remove global functions work on $_.
27921 Thu Dec 15 12:35:14 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27923 * lib/tmpdir.rb: merged RDoc patch from Eric Hodel <drbrain at
27924 segment7.net>. [ruby-core:06894]
27926 Thu Dec 15 01:33:31 2005 Tanaka Akira <akr@m17n.org>
27928 * ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on
27929 x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)
27931 Wed Dec 14 23:50:20 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27933 * lib/rdoc/parsers/parse_c.rb (find_class_comment): fix for class
27934 document with prototypes. [ruby-core:06863]
27936 Wed Dec 14 23:39:53 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
27938 * dir.c (has_magic): glob names contain alphabets to enable case fold
27939 search. [ruby-dev:27735]
27941 * dir.c (Init_Dir): FNM_SYSCASE which is default case fold flag.
27944 Wed Dec 14 12:01:26 2005 Tanaka Akira <akr@m17n.org>
27946 * marshal.c (r_object0): fix a GC problem for reading a bignum on
27947 IA64 with gcc 3.3.5 (Debian 1:3.3.5-13).
27949 Tue Dec 13 12:23:47 2005 Tanaka Akira <akr@m17n.org>
27951 * re.c (rb_reg_regcomp): fix a GC problem on x86_64 with
27952 gcc 3.3.5 (Debian 1:3.3.5-13).
27954 Tue Dec 13 01:44:16 2005 Tanaka Akira <akr@m17n.org>
27956 * array.c (rb_ary_diff): fix a GC problem on IA64 with
27957 gcc 3.3.5 (Debian 1:3.3.5-13).
27958 When rb_ary_push is called, there was no register which contains
27959 `hash' but `&RHASH(hash)->tbl' instead.
27961 Tue Dec 13 00:08:09 2005 Tanaka Akira <akr@m17n.org>
27963 * sprintf.c (rb_str_format): fix a GC problem.
27966 Mon Dec 12 15:51:22 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
27968 * test/openssl/test_ssl.rb (test_parallel): call GC.start to close
27969 unused files. [ruby-dev:27981]
27971 Mon Dec 12 09:58:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27973 * range.c (range_cover): new method Range#cover? added. the
27974 method name might be changed. thanks to takano32 at
27975 http://www.rubyist.net/~matz/20051210.html#c08 for name
27976 suggestion. [ruby-talk:167182]
27978 Mon Dec 12 00:33:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
27980 * ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
27981 protect temporary context object. [ruby-dev:27979]
27983 * ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should
27984 be called before actual variable initialization.
27987 Sun Dec 11 23:54:07 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27989 * ext/tk/*: update to support libraries in ActiveTcl8.4.12.0
27990 (see ext/tk/ChangeLog.tkextlib).
27992 * ext/tk/sample/scrollframe.rb: add a new sample.
27994 Sun Dec 11 22:07:58 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
27996 * test/rinda/test_rinda.rb (test_remote_array_and_hash): pseudo remote
27997 objects are protected against GC. [ruby-dev:27911]
27999 Sat Dec 10 01:06:06 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
28001 * lib/matrix.rb: add Matrix#determinant_e, Matrix#rank_e.
28002 [ruby-dev:27820] and related thread.
28004 Sat Dec 10 00:31:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28006 * eval.c (calling_scope_t): gave names to magic numbers for rb_call().
28009 Fri Dec 9 23:31:02 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28011 * lib/rexml/encoding.rb (encoding=): give priority to particular
28012 conversion to iconv. [ruby-core:06520]
28014 Fri Dec 9 23:16:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28016 * range.c (range_include): return false unless included in numeric
28017 range. fixed: [ruby-dev:27975]
28019 Thu Dec 8 02:07:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28021 * eval.c (umethod_bind): adjust invoking class for module method.
28024 Thu Dec 8 00:40:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28026 * eval.c (call_trace_func): klass parameter should be a
28027 class/module that defines calling method. [ruby-talk:169307]
28029 Wed Dec 7 17:10:27 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
28031 * sprintf.c (rb_f_sprintf): [ruby-dev:27967]
28033 Wed Dec 7 16:39:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28035 * range.c (range_include): use discrete membership for non Numeric
28036 values, for example, String.
28038 * numeric.c (num_scalar_p): new method. [ruby-dev:27936]
28040 * lib/complex.rb (Complex#scalar?): ditto.
28042 Wed Dec 7 15:31:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28044 * sprintf.c (rb_str_format): integer overflow check added.
28046 * sprintf.c (GETASTER): ditto.
28048 Wed Dec 7 01:02:04 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28050 * ext/tk/README.macosx-aqua: [new document] tips to avoid the known
28051 bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X.
28053 * ext/tk/tcltklib.c: fix bug on switching threads and waiting on the
28054 deleted interpreter on vwait and tkwait command.
28056 * ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk
28059 * ext/tk/sample/demos-jp/image3.rb: [bug fix] wrong argument.
28061 * ext/tk/sample/demos-en/image3.rb: ditto.
28063 * ext/tk/sample/demos-jp/menu.rb: fix message for MacOS X.
28065 * ext/tk/sample/demos-jp/menu8x.rb: ditto.
28067 * ext/tk/sample/demos-en/menu.rb: ditto.
28069 Tue Dec 6 16:48:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28071 * gc.c (ruby_xmalloc2): change check condition for integer
28072 overflow. [ruby-dev:27399]
28074 * gc.c (ruby_xrealloc2): ditto.
28076 Tue Dec 6 16:37:57 2005 Yuya Nishida <yuya@j96.org>
28078 * eval.c (exec_under): avoid accessing ruby_frame->prev.
28081 Fri Dec 2 19:06:06 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28083 * dir.c (Compare): should not fold double byte alphabet on win9x.
28085 Thu Dec 1 00:50:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28087 * eval.c (rb_funcall2): allow to call protected methods.
28088 fixed: [ruby-dev:27890]
28090 Wed Nov 30 23:52:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28092 * parse.y (struct parser_params): fields common to ripper must be
28093 placed at each same offset.
28095 * parse.y (NEWHEAP, ADD2HEAP): set count after pointer was set.
28096 fixed: [ruby-dev:27896]
28098 Wed Nov 30 13:43:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28100 * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
28101 expression. [ruby-dev:27868]
28103 Mon Nov 28 20:24:22 2005 Tanaka Akira <akr@m17n.org>
28105 * lib/pp.rb (PP::PPMethods#object_address_group): mask an address with
28108 Tue Nov 29 23:57:05 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28110 * parse.y (struct parser_params): heap must be placed at same offset
28111 also in ripper.y. fixed: [ruby-dev:27846]
28113 * parse.y (yycompile): prevent vparser from tail call optimization.
28114 fixed: [ruby-dev:27851]
28116 * parse.y (parser_mark): value needs to be marked.
28117 fixed: [ruby-dev:27845]
28119 Tue Nov 29 22:45:30 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
28121 * lib/drb/observer.rb (notify_observers): follow change of observer.rb.
28122 fixed: [ruby-core:6796]
28124 Mon Nov 28 20:24:22 2005 Tanaka Akira <akr@m17n.org>
28126 * lib/pp.rb (PP::PPMethods#object_address_group): adjust address format.
28128 Mon Nov 28 18:55:22 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28130 * ext/socket/socket.c (init_inetsock_internal): remove setting
28131 SO_REUSEADDR option on server socket on Cygwin.
28132 fixed: [ruby-core:6765] ([ ruby-Bugs-2872 ])
28134 Mon Nov 28 13:11:45 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28136 * win32/win32.c (rb_w32_strerror): remove all CR and LF. (avoid broken
28137 error message on bccwin32 + winsock)
28139 Mon Nov 28 09:15:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28141 * lib/mkmf.rb (create_makefile): should not change sodir with
28142 dir.gsub!. (bccwin32 failed to install third party extensions)
28145 Sun Nov 27 05:37:20 2005 Tanaka Akira <akr@m17n.org>
28147 * lib/pathname.rb: use File.basename to decompose pathnames.
28148 experimental Windows support.
28150 Sun Nov 27 00:56:13 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
28152 * lib/wsdl/xmlSchema/complexContent.rb: missing
28153 ComplexContent#elementformdefault method.
28155 Sat Nov 26 19:57:45 2005 WATANABE Hirofumi <eban@ruby-lang.org>
28157 * dln.c (conv_to_posix_path): should initialize posix.
28159 Fri Nov 25 20:34:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28161 * lib/xmlrpc/datetime.rb (DateTime::to_a): comparison with non
28162 array-convertible object must return false.
28164 Fri Nov 25 14:34:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28166 * range.c (range_max): treat end exclusion without iteration if
28167 the end value is an integer. [ruby-talk:167433]
28169 Fri Nov 25 12:52:57 2005 Kouhei Sutou <kou@cozmixng.org>
28171 * lib/rss/rss.rb: added backward compatibility codes.
28172 * lib/rss/parser.rb: ditto.
28173 * test/rss/test_parser.rb: ditto.
28174 * test/rss/test_2.0.rb: ditto.
28176 * test/rss/test_content.rb: use #__send__ instead of #funcall for
28179 Fri Nov 25 12:39:56 2005 Kouhei Sutou <kou@cozmixng.org>
28181 * lib/rss/rss.rb: improved type conversion.
28182 * lib/rss/1.0.rb: ditto.
28183 * lib/rss/0.9.rb: ditto.
28184 * lib/rss/2.0.rb: ditto.
28185 * lib/rss/image.rb: ditto.
28186 * lib/rss/syndication.rb: ditto.
28188 * test/rss/test_2.0.rb: added type conversion tests.
28189 * test/rss/test_accessor.rb: ditto.
28190 * test/rss/test_to_s.rb: ditto.
28191 * test/rss/test_syndication.rb: ditto.
28192 * test/rss/test_setup_maker_2.0.rb: ditto.
28193 * test/rss/test_setup_maker_1.0.rb: ditto.
28194 * test/rss/test_setup_maker_0.9.rb: ditto.
28195 * test/rss/test_maker_sy.rb: ditto.
28196 * test/rss/test_maker_image.rb: ditto.
28197 * test/rss/test_maker_2.0.rb: ditto.
28198 * test/rss/test_maker_0.9.rb: ditto.
28199 * test/rss/test_image.rb: ditto.
28201 * test/rss/test_maker_1.0.rb: use assert instead of assert_equal.
28203 * test/rss/rss-assertions.rb: improved type conversion assertions.
28205 Fri Nov 25 10:38:20 2005 Kouhei Sutou <kou@cozmixng.org>
28207 * lib/rss/image.rb: added Image prefix.
28209 * lib/rss/maker/image.rb: ditto.
28211 Fri Nov 25 10:33:02 2005 Kouhei Sutou <kou@cozmixng.org>
28213 * test/rss/test_2.0.rb: added RSS 2.0 tests.
28215 * test/rss/rss-assertions.rb: extended XML stylesheet assertion.
28217 * lib/rss/0.9.rb: added initialize method.
28219 * test/rss/test_1.0.rb: cleanup.
28221 Fri Nov 25 10:29:48 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28223 * range.c (range_min): use <=> comparison rather than iteration.
28226 * range.c (range_max): ditto.
28228 Thu Nov 24 01:31:44 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28230 * file.c (w32_io_info): CreateFile failed on Win9x if file was already
28231 opened. (FILE_SHARE_READ was needed, but actually I don't understand
28232 the flags of CreateFile well...)
28234 Wed Nov 23 23:52:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28236 * numeric.c (num_div): use floor rather than rb_Integer().
28239 Wed Nov 23 22:34:15 2005 Kouhei Sutou <kou@cozmixng.org>
28241 * lib/rss/parser.rb: added entity handling type predicate.
28242 * lib/rss/rexmlparser.rb: ditto.
28243 * lib/rss/xmlparser.rb: ditto.
28244 * lib/rss/xmlscanner.rb: ditto.
28246 * lib/rss/xmlscanner.rb: more robust entity handling.
28248 * test/rss/test_parser.rb: added an entity handling test.
28250 Wed Nov 23 20:59:01 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28252 * ext/tk/lib/tk.rb: add Tk.pkgconfig_list and Tk.pkgconfig_get
28255 * ext/tk/lib/tk/text.rb: supports new indices modifiers on a Text
28256 widget [Tk8.5 feature].
28258 * ext/tk/lib/tk/virtevent.rb: add TkNamedVirtualEvent.
28260 * ext/tk/lib/tk/autoload.rb: ditto.
28262 * ext/tk/lib/tk/event.rb: add :data key for virtual events [Tk8.5
28265 Wed Nov 23 18:52:45 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28267 * file.c (w32_io_info): should not call GetFileInformationByHandle
28270 * file.c (w32_io_info): checks return value from rb_w32_get_osfhandle.
28272 * file.c (w32_io_info): now can identify directory on WinNT.
28274 Wed Nov 23 18:46:53 2005 Kouhei Sutou <kou@cozmixng.org>
28276 * lib/rss/: use #__send__ instead of #send.
28277 * test/rss/: ditto.
28279 Wed Nov 23 18:32:56 2005 Kouhei Sutou <kou@cozmixng.org>
28281 * test/rss/test_taxonomy.rb: use #reject directory.
28283 Wed Nov 23 18:26:00 2005 Kouhei Sutou <kou@cozmixng.org>
28285 * lib/rss/taxonomy.rb: changed class or module prefix to
28286 Taxonomy from Taxo.
28287 * lib/rss/maker/taxonomy.rb: ditto.
28289 Wed Nov 23 18:21:11 2005 Kouhei Sutou <kou@cozmixng.org>
28291 * lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS
28293 * lib/rss/taxonomy.rb: supported RSS Maker.
28294 * lib/rss/maker.rb: added taxonomy module support.
28296 * lib/rss/rss.rb: adjusted to other element API.
28297 * lib/rss/1.0.rb: adjusted to other element API but backward
28298 compatibility is reserved.
28299 * lib/rss/0.9.rb: ditto.
28301 * test/rss/test_maker_taxo.rb: added test case for taxonomy module
28303 * test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic.
28305 * test/rss/test_setup_maker_1.0.rb: added backward compatibility
28307 * test/rss/test_setup_maker_0.9.rb: ditto.
28308 * test/rss/test_setup_maker_2.0.rb: ditto.
28310 * test/rss/rss-testcase.rb: added convenience method for setting
28312 * test/rss/rss-assertions.rb: added assertion for taxo:topic.
28314 * sample/rss/blend.rb: followed new API.
28316 Wed Nov 23 17:42:24 2005 Kouhei Sutou <kou@cozmixng.org>
28318 * lib/rss/rss.rb: fixed a indentation bug.
28320 * lib/rss/taxonomy.rb: fixed <taxo:topic> #to_s bug.
28322 * test/rss/test_taxonomy.rb: added a #to_s test.
28324 Wed Nov 23 03:40:49 2005 Guy Decoux <ts@moulon.inra.fr>
28326 * re.c (KR_REHASH): should cast to unsigned for 64bit CPU.
28329 Wed Nov 23 07:26:44 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
28331 * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
28333 * ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use
28334 OPENSSL_malloc to allocate X509V3_CTX.
28336 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use
28337 X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which
28338 values are placed in separate section).
28340 * test/openssl/test_x509ext.rb: new file.
28342 Wed Nov 23 01:22:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28344 * file.c (test_identical): test if two files are identical.
28346 * file.c (rb_f_test): support DOSISH systems where st_ino is not
28347 reliable. fixed: [ruby-core:06672]
28349 * win32.h, win32.c (rb_w32_osid): check the running platform.
28351 Tue Nov 22 23:52:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28353 * lib/optparse.rb: match incomplete (in current enconding) multibyte
28354 string. http://inamode6.tokuhirom.dnsalias.org/show/1551
28356 Tue Nov 22 18:36:11 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28358 * win32/win32.c (winnt_stat): set mapped errno instead of ENOENT.
28360 Tue Nov 22 14:36:54 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28362 * file.c (rb_file_s_basename): skip slashes just after UNC top slashes.
28364 * test/ruby/test_path.rb (test_dirname, test_basename): follow new
28365 spec. and add new tests.
28367 Tue Nov 22 13:30:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28369 * win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared');
28370 p Dir.glob('*') should work on WinNT. (implemented our own
28371 stat(2) on WinNT) [ruby-list:41552] [ruby-dev:27711]
28373 Tue Nov 22 02:31:53 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28375 * ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
28378 Tue Nov 22 01:45:21 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28380 * file.c (rb_file_s_basename): DOSISH_UNC is defined on cygwin but
28381 DOSISH is not. fixed: [ruby-dev:27797]
28383 Mon Nov 21 22:50:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28385 * file.c (rb_path_skip_prefix, rb_file_s_basename): UNC without path
28386 should not be splitted. fixed: [ruby-dev:27776] [ruby-dev:27786]
28388 * parse.y (dsym): prohibit empty symbol literal by interpolation.
28389 fixed: [ruby-talk:166529]
28391 Mon Nov 21 16:03:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28393 * win32/setup.mk: findstr doesn't exist on win9x.
28394 fixed: [ruby-dev:27756]
28396 Sun Nov 20 21:39:27 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
28398 * regparse.c (fetch_token_in_cc): tok->escaped should be
28399 initialized. [ruby-dev:27763]
28401 Sun Nov 20 22:34:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28403 * parse.y (rb_symname_p): [ not followed by ] is not valid symbol.
28404 fixed: [ruby-talk:166520]
28406 Sat Nov 19 19:57:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28408 * lib/fileutils.rb (FileUtils::ln): ln documentation fix.
28411 Sat Nov 19 08:19:38 2005 Zach Dennis <zdennis@mktec.com>
28413 * ext/socket/socket.c: Socket Documentation. [ruby-core:6552]
28415 Sat Nov 19 07:34:32 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28417 * ext/tk/lib/tk/font.rb: remove dependency on Ruby's version (1.8
28420 * ext/tk/lib/tkextlib/ICONS/icons.rb: ditto.
28422 * ext/tk/sample/tkextlib/treectrl/demo.rb: ditto.
28424 Fri Nov 18 18:07:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28426 * file.c (rb_file_s_dirname): should use skipprefix for UNC path.
28427 pointed out by nobu ([ruby-dev:27744]). fixed: [ruby-core:5076]
28429 Fri Nov 18 17:35:09 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28431 * ext/tk/lib/multi-tk.rb: add restriction to access the entried
28432 command table and manipulate other IPs (for reason of security).
28433 Now, a IP object can be controlled by only its master IP or the
28436 * ext/tk/lib/remote-tk.rb: add restriction to manipulate.
28438 * ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip)
28439 to check manipulability.
28441 * ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces.
28443 * ext/tk/lib/tk/namespace.rb: ditto.
28445 Fri Nov 18 16:47:33 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28447 * file.c (rb_file_s_dirname): added checks for some patterns with drive
28448 letter. fixed: [ruby-dev:27738]
28450 * test/ruby/test_path.rb (test_dirname): added tests for above
28453 Fri Nov 18 12:19:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28455 * win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
28456 returns true on VisualC++6.
28458 Thu Nov 17 17:58:00 2005 Kouhei Sutou <kou@cozmixng.org>
28460 * lib/rss/1.0.rb: added convenience method 'resources'.
28462 * lib/rss/taxonomy.rb: ditto.
28464 * test/rss/rss-assertions.rb: added test for 'resources'.
28466 * test/rss/test_taxonomy.rb: ditto.
28468 Thu Nov 17 17:53:30 2005 Kouhei Sutou <kou@cozmixng.org>
28470 * lib/rss/taxonomy.rb: implemented taxonomy module.
28472 * test/rss/test_taxonomy.rb: added tests for taxonomy support.
28474 Thu Nov 17 17:40:19 2005 Kouhei Sutou <kou@cozmixng.org>
28476 * lib/rss/1.0.rb: added rdf:Bag.
28478 Thu Nov 17 13:52:00 2005 Kouhei Sutou <kou@cozmixng.org>
28480 * lib/rss/rss.rb: removed needless argument 'prefix'.
28482 * lib/rss/parser.rb: ditto.
28484 Wed Nov 16 23:24:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28486 * common.mk (static-ruby): overridable.
28488 * ext/extmk.rb (parse_args): force to link extensions statically only
28489 if static is given for extstatic.
28491 * ext/extmk.rb (RUBY, RUBYW): overridable.
28493 Wed Nov 16 01:29:31 2005 Kouhei Sutou <kou@cozmixng.org>
28495 * lib/rss/trackback.rb: added TrackBack prefix.
28497 * lib/rss/maker/trackback.rb: ditto.
28499 Wed Nov 16 01:26:13 2005 Kouhei Sutou <kou@cozmixng.org>
28501 * lib/rss/rss.rb (RSS::VERSION): 0.1.5 -> 0.1.6.
28503 * test/rss/test_version.rb (RSS::TestVersion#test_version): ditto.
28505 Tue Nov 15 23:54:24 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28507 * file.c (file_load_ok): eaccess() returns 0 on success.
28508 fixed: [ruby-dev:27713]
28510 Tue Nov 15 16:36:03 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28512 * array.c (rb_ary_fill): previous commit disabled this usage:
28514 a = [0,1,2,3,4,5,6,7,8,9]
28515 a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil]
28517 previous commit has the advantage of early garbage collection, but
28518 potentially this would break some script. so I reverted behavior.
28520 Tue Nov 15 16:15:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28522 * file.c (file_load_ok): use eaccess() instead of actually opening
28523 the file. [ruby-talk:156378]
28525 * lib/jcode.rb (String::reverse): add new methods.
28528 Tue Nov 15 15:49:34 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28530 * array.c (rb_ary_fill): tail elements were vanished when the middle
28531 part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1])
28533 * test/ruby/test_array.rb (test_fill): added.
28535 Tue Nov 15 14:39:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28537 * array.c (rb_ary_fill): should adjust array length correctly when
28538 an array is expanded in the fill process. [ruby-core:06625]
28540 Mon Nov 14 23:49:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28542 * file.c (rb_file_s_readlink): ERANGE will occur only on GPFS.
28545 Mon Nov 14 17:36:22 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28547 * array.c (rb_ary_first): RDoc update from Daniel Berger
28548 <djberg96@yahoo.com>. [ruby-core:06577].
28550 Sun Nov 13 10:55:24 2005 Minero Aoki <aamine@loveruby.net>
28552 * lib/uri/common.rb (escape): regard second argument as a
28553 character set. [ruby-dev:27692]
28555 Sat Nov 12 08:36:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28557 * configure.in, eval.c, intern.h: check fd_mask type.
28559 * configure.in (socketpair): need to be checked.
28561 Fri Nov 11 19:53:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28563 * eval.c, intern.h: failed to compile where NFDBITS is defined but
28564 howmany() is not defined. [ruby-dev:27680]
28566 * io.c (is_socket): failed to compile where S_ISSOCK is not defined.
28568 * io.c (pipe_open): failed to compile where socketpair is not supported.
28570 Fri Nov 11 08:20:56 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28572 * Makefile.in (OUTFLAG): keep trailing spaces. [ruby-dev:27666]
28574 * mkconfig.rb: substitution references added.
28576 Fri Nov 11 07:39:49 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28578 * configure.in: undef HAVE_LINK on BeOS. (link(2) always returns
28579 EINVAL, and this causes error in test/fileutils.)
28581 * file.c: override chown(2) and fchown(2) on BeOS. (these functions
28582 should not change user/group id if -1 is passed as corresponding
28583 argument, and this causes error in test/fileutils too)
28586 Thu Nov 10 21:05:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28588 * lib/shellwords.rb: fix for blank but not empty string.
28589 fixed: [ruby-dev:27663]
28591 Wed Nov 9 08:39:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28593 * lib/shellwords.rb: refactored. [ruby-core:06581]
28595 Tue Nov 8 17:35:53 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28597 * intern.h, eval.c (rb_thread_signal_raise): constified.
28599 * signal.c: cosmetic change.
28601 Tue Nov 8 15:32:27 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
28603 * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.
28604 [ruby-dev:27560] [ruby-core:4627]
28606 Mon Nov 7 20:54:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28608 * ext/iconv/iconv.c: iconvctl() support. [EXPERIMENTAL]
28610 Mon Nov 7 16:23:23 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28612 * ext/openssl/ossl.h: need to include winsock2.h before including
28613 windows.h by some openssl headers.
28615 Mon Nov 7 13:43:51 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28617 * ext/tk/stubs.c (_nativethread_consistency_check): use simpler
28618 (low cost) way to check whether the Tcl interpreter was compiled
28619 with threads enabled of not.
28621 * ext/tk/tcltklib.c: reduce warnings.
28623 * ext/tk/tkutil/tkutil.c: ditto.
28625 Mon Nov 7 00:06:12 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28627 * lib/yaml.rb: removed :nodoc: to generate Kernel doc. [ruby-core:6324]
28629 Sun Nov 6 23:39:13 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28631 * ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a
28632 bug of underlying library.
28634 Sun Nov 6 21:43:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28636 * ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch
28637 interpreter after initialization is done. [ruby-dev:27638]
28639 Sun Nov 6 20:13:27 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28641 * file.c (rb_file_s_readlink): readlink(2) on AIX fails with ERANGE if
28642 buffer size is less than required. fixed: [ruby-dev:27634]
28644 Sat Nov 5 13:42:50 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28646 * configure.in, cygwin/GNUmakefile.in (mingw): use def file to alias
28647 symbols. [ruby-dev:27532]
28649 * bcc32/mkexports.rb, win32/mkexports.rb: make aliases in DLL.
28651 * win32/win32.c, win32/win32.h: replace symbols only when RUBY_EXPORT
28654 Thu Nov 3 07:57:39 2005 Minero Aoki <aamine@loveruby.net>
28656 * lib/open-uri.rb (open_loop): find_proxy should return nil when
28657 proxy does not exist. [ruby-dev:27630]
28659 Wed Nov 2 20:25:28 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28661 * ext/tk/extconf.rb: ext/tk/extconf.rb: change the check parameter
28664 Wed Nov 2 19:03:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28666 * ext/tk/tcltklib.c (ip_rbUpdateObjCmd, ip_rb_threadUpdateObjCmd):
28667 passed improper flags to DoOneEvent().
28669 * ext/tk/tkutil/tkutil.c: use rb_obj_respond_to() instead of
28672 Tue Nov 1 14:20:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28674 * eval.c (rb_call_super): should call method_missing if super is
28675 called from Kernel method.
28677 * eval.c (exec_under): frame during eval should preserve external
28680 Tue Nov 1 10:48:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
28682 * ext/openssl/extconf.rb: should check ERR_peek_last_error().
28685 * ext/openssl/ossl.c (ossl_raise): ditto.
28687 Mon Oct 31 17:34:46 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28689 * configure.in: use proper option for Sun linker. A patch from
28690 Shinya Kuwamura <kuwa at labs.fujitsu.com>. [ruby-dev:27603]
28692 Mon Oct 31 05:46:08 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
28694 * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must
28695 not be empty. [ruby-talk:161220]
28697 * test/openssl/test_cipher.rb: add test for Cipher#update("").
28699 Mon Oct 31 05:38:26 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
28701 * lib/webrick/httpservlet/cgihandler.rb
28702 (WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:
28703 header field should be splited into each cookie. [ruby-Bugs:2199]
28705 * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method
28706 to parse the value of Set-Cookie: header field.
28708 * test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,
28709 test/webrick/webrick.cgi: add some test for cookie.
28711 Mon Oct 31 02:33:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28713 * numeric.c (fix_rshift): RDoc fix. [ruby-core:6351]
28715 * util.h (strtod): add #undef for platforms defines strtod()
28716 macro. [ruby-dev:27563]
28718 Mon Oct 31 02:31:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28720 * test/ruby/test_float.rb (test_precision): test by assert_in_delta.
28723 Sat Oct 29 01:58:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28725 * ext/etc/etc.c: document update from mathew <meta@pobox.com>.
28728 * ext/fcntl/fcntl.c: ditto.
28730 Sat Oct 29 16:56:03 2005 Tadayoshi Funaba <tadf@dotrb.org>
28732 * lib/date.rb: added seven predicates sunday? to saturday?.
28734 * lib/date.rb: added two methods {prev,next}_month,
28735 that are almost same as << and >>.
28737 Thu Oct 27 20:34:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28739 * enumerator.c (enumerator_allocate): allow subclassing.
28741 Thu Oct 27 16:45:31 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28743 * string.c (scan_once): wrong condition to use mbclen2().
28746 Thu Oct 27 11:53:17 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28748 * missing.h, missing/memcmp.c, missing/memmove.c:
28749 ANSI compatible interface.
28751 Wed Oct 26 09:15:48 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28753 * ext/syck/implicit.c (syck_type_id_to_uri): should return
28754 newly allocated memory. otherwise, type_id will be freed
28755 twice. [ruby-dev:27384] [ruby-core:6385]
28757 Wed Oct 26 01:58:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28759 * configure.in (RUBY_EXTERN): macro to export symbols in shared
28760 library. [ruby-core:05528]
28762 * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
28763 configuration pass.
28765 * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.
28767 Tue Oct 25 20:06:59 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28769 * ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate
28770 values have VALUE type. there is an environment where sizeof(VALUE)
28771 != sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS
28772 and received by 64bit integer (VALUE), upper bits may have garbage value.
28775 Tue Oct 25 15:32:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28777 * lib/rational.rb: applied documentation patch from Gavin Sinclair
28778 <gsinclair@gmail.com>. [ruby-core:06364]
28780 * lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines
28781 in irb auto-indentation mode. [ruby-core:06358]
28783 Tue Oct 25 14:21:46 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28785 * gc.c (garbage_collect): sorry, previous commit was incorrect.
28788 Tue Oct 25 13:40:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28790 * gc.c (garbage_collect): return now whether there're rooms for new
28791 objects, rather than whether GC run. fixed: [ruby-core:6376]
28793 Tue Oct 25 02:12:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28795 * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
28796 reduce redundant backtrack. [ruby-talk:161771]
28798 Tue Oct 25 00:35:33 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
28800 * lib/rinda/*: RDoc documentation from Eric Hodel
28801 <drbrain@segment7.net> added.
28803 Mon Oct 24 21:14:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28805 * configure.in, io.c: use sys/syscall.h if syscall.h is not available.
28808 Mon Oct 24 20:38:25 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28810 * ext/Win32API/lib/win32/resolv.rb (get_info): support multiple DNS.
28811 fixed: [ruby-list:40058], [ruby-dev:27479]
28813 Mon Oct 24 11:01:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28815 * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
28816 typo fixed. [ruby-talk:162187]
28818 * ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
28819 ditto. [ruby-core:06359]
28821 Mon Oct 24 07:57:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28823 * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
28824 typo fixed. [ruby-talk:162187]
28826 * ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
28827 ditto. [ruby-core:06359]
28829 * lib/matrix.rb (Matrix::initialize): use funcall instead of send
28830 to allow private methods to be called. A report from
28831 Jean-Claude Arbaut <jcarbaut@laposte.net>. [ruby-core:06359]
28833 Mon Oct 24 00:41:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28835 * time.c (time_sunday): added predicate methods for the days of the
28836 week. [ruby-list:41340]
28838 Sun Oct 23 07:11:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
28840 * ext/tk/extconf.rb: improve messages [ruby-core:06325].
28842 * ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
28843 ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
28844 ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
28845 ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
28846 ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
28847 ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
28848 ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
28850 * ext/tk/lib/tkextlib/*: ditto.
28852 * ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
28854 * ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
28856 * ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
28858 * ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
28860 * ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
28862 Sat Oct 22 23:54:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28864 * ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension
28865 options. [ruby-dev:27449]
28867 Sat Oct 22 14:25:43 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28869 * util.[hc] (ruby_add_suffix): constified.
28871 * util.[hc] (ruby_scan_{oct,hex}): fixed typo. (renamed from
28874 * util.c: almostly ANSI styled. (except for functions depending on
28875 macro and K&R technique)
28877 Sat Oct 22 13:26:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28879 * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
28880 if valid as a symbol name more strictly. [ruby-dev:27478]
28882 * test/ruby/test_symbol.rb: tests for [ruby-core:03573].
28884 * time.c (rb_strftime): removed meaningless volatile modifiers, and
28885 concatenate successive nul characters at once. [ruby-dev:27472]
28887 * ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,
28888 ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb,
28889 lib/rss/parser.rb, test/rss/test_content.rb,
28890 test/rss/test_dublincore.rb, test/rss/test_syndication.rb,
28891 test/rss/test_trackback.rb, test/ruby/test_eval.rb,
28892 test/socket/test_socket.rb, test/socket/test_udp.rb:
28893 Object#fcall was renamed as Object#funcall.
28895 Sat Oct 22 10:08:28 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28897 * missing.h, missing/*.c: SUSv3 compatible strcasecmp and strncasecmp,
28898 ANSI compatible strtol and strtoul, and ANSI styled other functions.
28900 Fri Oct 21 19:16:08 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28902 * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper)
28904 Fri Oct 21 17:49:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
28906 * bin/erb (ERB::Main::run): typo fixed. [ruby-core:06337]
28908 Fri Oct 21 15:42:28 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28910 * intern.h, struct.c (rb_struct_iv_get): constified.
28912 * marshal.c: avoid one VC++6 warning for implicit conversion
28915 * ruby.h: ANSI styled.
28917 * bcc32/Makefile.sub (HAVE_HYPOT): added.
28919 * ext/socket/extconf.rb: BeOS is only one platform should call
28920 closesocket, so check __BEOS__ macro directly. (I was worried
28921 accidently HAVE_CLOSESOCKET is defined on windows again because
28924 * ext/socket/{getaddrinfo.c,socket.c}: ditto.
28926 ... these are all cosmetic changes.
28928 Fri Oct 21 15:23:23 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28930 * bignum.c (bignew_1): convertion from `int' to `char' discards
28931 upper bits, (ie. (char)0xff00 -> 0) so it's better to test if
28932 nonzero and set 0 or 1 instead of simply casting ... as a flag usage.
28933 (but I believe this won't cause actual bug in current implementation)
28936 * time.c: should use LONG_LONG instead of `long long'.
28938 Thu Oct 20 22:22:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28940 * parser.y (struct parser_params): parser never modify input string.
28942 * ext/ripper/tools/preproc.rb (prelude): do not append surplus
28943 newlines to fix line numbers.
28945 Thu Oct 20 11:41:57 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28947 * class.c, eval.c, hash.c, st.c, variable.c: changed /* ??? */ stuff
28948 protoize generated to ANYARGS.
28950 Thu Oct 20 11:18:11 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28952 * eval.c, file.c, ruby.c: removed strchr, strrchr, strstr definition
28953 because they are defined in missing.h.
28955 * missing.h, missing/strchr.c, missing/strstr.c: ANSI styled.
28957 Thu Oct 20 09:36:06 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
28959 * lib/mkmf.rb (create_makefile): Borland make seems not to allow
28960 empty dependency list. If this change is not good, please correct
28963 Thu Oct 20 07:55:09 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28965 * lib/mkmf.rb (create_makefile): get rid of a restriction
28966 of Borland make. fixed: [ruby-dev:27460]
28968 * ext/ripper/depend: ditto.
28970 Wed Oct 19 23:58:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28972 * lib/mkmf.rb (create_makefile): do not create unnecessary empty
28973 directories. fixed: [ruby-dev:27451]
28975 Wed Oct 19 08:28:32 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28977 * file.c (rb_file_join): elements may contain null pointer strings.
28978 report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326]
28980 Wed Oct 19 02:34:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
28982 * enumerator.c, eval.c, gc.c, parse.y, regparse.c, sjis.c, time.c:
28983 made internal symbols static. [ruby-dev:27435]
28985 Tue Oct 18 10:58:27 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28987 * ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
28988 ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend,
28989 use $distcleanfiles in extconf.rb.
28991 * win32/Makefile.sub (distclean-local): should remove .config.h.time.
28993 Mon Oct 17 09:42:50 2005 NAKAMURA Usaku <usa@ruby-lang.org>
28995 * mkconfig.rb: fixup configure_args for mswin32 configure.
28997 * win32/configure.bat (srcdir, target): ditto.
28999 Mon Oct 17 05:01:50 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29001 * env.h: move struct METHOD and struct BLOCK from eval.c to
29002 support NodeWrap and ParseTree.
29004 Sun Oct 16 22:16:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29006 * ext/extmk.rb: omit non-existing directories.
29008 Sun Oct 16 14:40:54 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
29010 * lib/rinda/rinda.rb (Rinda::Tuple#initialize): check remote hash
29011 tuple. fixed: [ruby-list:41227]
29013 * test/rinda/test_rinda.rb: test it.
29015 Sun Oct 16 03:38:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29017 * rubysig.h (CHECK_INTS): prevent signal handler to run during
29018 critical section. [ruby-core:04039]
29020 * eval.c (load_wait): need not to call rb_thread_schedule()
29021 explicitly. [ruby-core:04039]
29023 * eval.c (rb_thread_schedule): clear rb_thread_critical.
29026 Sun Oct 16 00:13:14 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29028 * win32/configure.bat: remove unnecessary line which prevents
29031 Sat Oct 15 23:52:07 2005 Shugo Maeda <shugo@ruby-lang.org>
29033 * lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, and
29034 returns retrieved data if localfile is nil.
29036 * lib/net/ftp.rb: (gettextfile): ditto.
29038 Sat Oct 15 19:51:29 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
29040 * bin/erb: typo fixed, again. thanks, Doug Kearns.
29042 Fri Oct 14 23:09:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29044 * win32/Makefile.sub (MKFILES): update MKFILES if configure files get
29047 * win32/configure.bat, win32/setup.mak (configure_args): store
29048 arguments to configure files.
29050 Fri Oct 14 22:05:45 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29052 * win32/win32.c (ioctl): should set errno.
29054 Fri Oct 14 16:39:37 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29056 * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.
29057 It is harmful to permit the access to ~/public_html by default.
29058 suggested by Hiroyuki Iwatsuki.
29060 Fri Oct 14 04:58:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29062 * eval.c (rb_obj_instance_exec): create instance_exec and
29063 module_exec which pass arguments to the block.
29065 * eval.c (rb_f_funcall): rename fcall to funcall to follow
29068 Thu Oct 13 23:29:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29070 * parse.y (HEAPCNT): bison allocates indivisible size.
29071 fixed: [ruby-core:06261]
29073 * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:
29074 get rid of warnings. fixed: [ruby-core:06247]
29076 Wed Oct 12 12:51:56 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29078 * ext/openssl/ossl.c (Init_openssl): should call
29079 OpenSSL_add_ssl_algorithms().
29081 Wed Oct 12 11:08:54 2005 WATANABE Hirofumi <eban@ruby-lang.org>
29083 * file.c (rb_f_test): typo in RDoc comments.
29085 Tue Oct 11 21:41:58 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29087 * configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute form
29088 first. [ruby-dev:27398]
29090 * array.c, enum.c, eval.c, util.c: safer function pointer usage.
29091 fixed: [ruby-core:06143]
29093 * util.h (qsort): removed the definition incompatible to ANSI.
29094 fixed: [ruby-core:06147]
29096 * eval.c (rb_obj_respond_to): check if obj responds to the given
29097 method with the given visibility. [ruby-dev:27408]
29099 * eval.c (rb_respond_to): conform to Object#respond_to?. [ruby-dev:27411]
29101 Tue Oct 11 00:01:21 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29103 * st.c (st_free_table): do not call free() but xfree().
29106 Sat Oct 8 19:49:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29108 * eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666]
29110 * io.c (rb_io_init_copy): clear PREP flag for copied IO.
29111 fixed: [ruby-dev:27371]
29113 * parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
29114 heap. [ruby-list:41199]
29116 * parse.y (ripper_initialize): use rb_respond_to().
29118 * ext/ripper/depend (check): get rid of re-generating ripper.y always.
29120 * ext/iconv/charset_alias.rb: parse config.charset_alias file directly.
29122 * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a.
29124 * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched
29125 substring directly.
29127 * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed
29128 change of sample/test.rb.
29130 * test/net/http/test_http.rb: removed superfluous splatting stars.
29132 Fri Oct 7 16:41:43 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29134 * eval.c (splat_value): call rb_Array() to convert svalue to
29135 values. [ruby-dev:27397]
29137 Fri Oct 7 09:54:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29139 * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may
29140 not be parsed correctly. A patch from August Z. Flatby
29141 (augustzf) in [ruby-Patches-2595]. [ruby-core:06183]
29143 Thu Oct 6 22:51:30 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29145 * object.c (rb_Array): Array() to raise error for objects without
29148 * object.c (nil_to_a): revert NilClass#to_a.
29150 Thu Oct 6 20:10:38 2005 Minero Aoki <aamine@loveruby.net>
29152 * ext/strscan/strscan.c (strscan_free): remove useless code.
29153 [ruby-dev:26368] [ruby-dev:27389]
29155 Thu Oct 6 01:02:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29157 * range.c (rb_range_beg_len): should return Qfalse for non-range
29160 Wed Oct 5 04:42:38 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29162 * lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount the
29165 Wed Oct 5 04:06:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29167 * lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong call
29170 Mon Oct 3 00:04:00 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
29172 * pack.c (EXTEND16): [ruby-dev:27383]
29174 Sat Oct 1 23:55:24 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29176 * win32/win32.c (do_select, rb_w32_select): brush up.
29178 Sat Oct 1 12:57:02 2005 Tanaka Akira <akr@m17n.org>
29180 * bignum.c (rb_big_rand): removed. [ruby-dev:25405]
29182 Sat Oct 1 01:46:51 2005 Tanaka Akira <akr@m17n.org>
29184 * lib/open-uri.rb (OpenURI.open_loop): prohibit multiple proxy
29187 Thu Sep 29 10:26:18 2005 Tanaka Akira <akr@m17n.org>
29189 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): abolish sizeof(FILE).
29192 Thu Sep 29 10:15:14 2005 Tanaka Akira <akr@m17n.org>
29194 * lib/open-uri.rb (:proxy_http_basic_authentication): new option.
29196 Thu Sep 29 07:22:05 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29198 * eval.c (rb_f_send): underscores need to be escaped.
29199 fixed by Doug Kearns. [ruby-core:06053]
29201 Thu Sep 29 00:57:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29203 * eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when
29204 autoload succeeded.
29206 * variable.c (rb_autoload_load): now return true if autoload
29207 succeeded. fixed: [ruby-dev:27331]
29209 Wed Sep 28 23:40:04 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29211 * file.c (rb_stat_inspect): constified.
29213 Wed Sep 28 15:12:28 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29215 * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
29216 refer the value of QUERY_STRING. [ruby-list:41186]
29218 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=):
29221 Wed Sep 28 10:45:44 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29223 * ext/tk/tcltklib.c: cannot compile with Tcl/Tk8.0.x [ruby-dev:27335].
29225 Wed Sep 28 07:56:52 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29227 * lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo.
29228 [ruby-dev:27237], [ruby-core:05854]
29230 * lib/yaml/tag.rb (Module#yaml_as): suppress warnings.
29232 * lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto.
29234 Wed Sep 28 03:16:41 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29236 * rubysig.h: fixed build problem with --enable-pthread on platforms
29237 which don't have setitimer().
29239 Mon Sep 26 22:32:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29241 * eval.c (set_trace_func): add rb_secure(4) to prevent adding
29244 Mon Sep 26 20:59:28 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29246 * parse.y: changed to ANSI function style.
29248 Sun Sep 25 12:02:04 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
29250 * bin/erb: typo fixed.
29252 Sun Sep 25 11:54:11 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
29254 * lib/rinda/tuplespace.rb (Rinda::TemplateEntry::initialize): pull
29255 up method. Tabs converted to spaces.
29257 Sun Sep 25 09:34:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29259 * parse.y: replaced `foo _((boo))' with `foo(boo)'.
29261 Sun Sep 25 08:19:53 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29263 * test/rss/test_content.rb, test/rss/test_syndication.rb: use fcall
29264 instead of send in order to override visibility.
29266 Sun Sep 25 01:46:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29268 * misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indent
29269 closing parenthesis at same column as the opening.
29271 Sun Sep 25 01:33:41 2005 Tanaka Akira <akr@m17n.org>
29273 * process.c (proc_setrlimit): make the third argument (rlim_max)
29276 Sun Sep 25 00:42:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29278 * misc/ruby-mode.el (ruby-expr-beg): deal with heredoc separately.
29279 fixed: [ruby-list:41168]
29281 * misc/ruby-mode.el (ruby-calculate-indent): not to deepen indent
29282 level for continuous line inside parentheses.
29283 http://nabeken.tdiary.net/20050915.html#p02
29285 Sat Sep 24 21:19:39 2005 Minero Aoki <aamine@loveruby.net>
29287 * ext/strscan/strscan.c: document enhancement.
29289 * ext/strscan/strscan.c: update copyright year.
29291 * ext/strscan/strscan.c: update coding style.
29293 Sat Sep 24 20:20:05 2005 Minero Aoki <aamine@loveruby.net>
29295 * test/net/http/test_http.rb (teardown): Net::HTTP.version_1_1 breaks
29296 many other tests; ensure that Net::HTTP is version 1.2 after test.
29299 Sat Sep 24 11:44:28 2005 Minero Aoki <aamine@loveruby.net>
29301 * test/net/http/test_http.rb: new file.
29303 Sat Sep 24 08:54:05 2005 Minero Aoki <aamine@loveruby.net>
29305 * lib/fileutils.rb (cd): no longer accept :noop option, related
29306 code is useless. [ruby-core:05858] [ruby-Bugs:2494]
29308 Sat Sep 24 08:30:00 2005 Tanaka Akira <akr@m17n.org>
29310 * lib/pathname.rb (Pathname#sub): new method.
29312 Sat Sep 24 08:29:36 2005 Minero Aoki <aamine@loveruby.net>
29314 * lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose,
29315 DryRun. [ruby-core:05954]
29317 * test/fileutils/test_nowrite.rb: test it.
29319 * test/fileutils/test_dryrun.rb: new file.
29321 * test/fileutils/test_verbose.rb: new file.
29323 Sat Sep 24 07:59:01 2005 Minero Aoki <aamine@loveruby.net>
29325 * sample/ripper/colorize.rb: removed (replaced by ruby2html.rb).
29327 * sample/ripper/ruby2html.rb: added.
29329 Sat Sep 24 06:35:15 2005 Minero Aoki <aamine@loveruby.net>
29331 * ext/ripper: no longer generates .rb files.
29333 * parse.y (Init_ripper): ripper_init_eventids*() takes 1 argument,
29334 self (class Ripper).
29336 * ext/ripper/depend: target removed: `lib/ripper/core.rb'.
29338 * ext/ripper/depend: new target `eventids2table.c'.
29340 * ext/ripper/depend: new target `check'.
29342 * ext/ripper/eventids2.c: include eventids2table.c.
29344 * ext/ripper/eventids2.c: initialize SCANNER_EVENT_TABLE.
29346 * ext/ripper/extconf.rb: update $cleanfiles list.
29348 * ext/ripper/tools/generate.rb: no longer generate ripper/core.rb.
29350 * ext/ripper/tools/generate.rb: new mode `check'.
29352 * ext/ripper/tools/generate.rb: new mode `eventids2table'.
29354 * ext/ripper/lib/ripper/core.rb.in: removed.
29356 * ext/ripper/lib/ripper/core.rb: added.
29358 * ext/ripper/lib/ripper/filter.rb: update copyright year.
29360 * ext/ripper/lib/ripper/lexer.rb: ditto.
29362 * ext/ripper/lib/ripper/sexp.rb: ditto.
29364 Sat Sep 24 02:40:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29366 * lib/delegate.rb: document update from James Edward Gray II
29367 <james@grayproductions.net>. [ruby-core:05942]
29369 Sat Sep 24 02:05:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29371 * process.c (proc_daemon): should restrict execution on levels
29372 higher than $SAFE=2. suggested by URABE Shyouhei
29373 <shyouhei@ice.uec.ac.jp>.
29375 Fri Sep 23 20:10:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29377 * ext/ripper/tools/generate.rb, ext/ripper/tools/preproc.rb: StringIO
29378 is not available for miniruby. fixed: [ruby-dev:27307]
29380 Fri Sep 23 17:36:48 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
29382 * ext/win32ole/win32ole.c: avoid core dump with WIN32OLE_EVENT.
29385 Fri Sep 23 16:27:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29387 * lib/forwardable.rb: replaced by new implementation from
29388 <Daniel.Berger@qwest.com>. [ruby-core:05899]
29390 Fri Sep 23 07:07:47 2005 Minero Aoki <aamine@loveruby.net>
29392 * test/ripper/depend: use --output option instead of redirect;
29393 nmake does not remove a target when the target file is created by
29394 redirect. [ruby-dev:26466]
29396 * test/ripper/tools/preproc.rb: new option --output.
29398 Fri Sep 23 06:57:52 2005 Minero Aoki <aamine@loveruby.net>
29400 * test/ripper/tools/generate.rb: check parser event arity.
29402 * test/ripper/tools/generate.rb: detect crash of parser-event-IDs
29403 and scanner-event-IDs.
29405 Fri Sep 23 06:01:30 2005 Minero Aoki <aamine@loveruby.net>
29407 * test/ruby/test_file.rb: check File#chown(nil,nil).
29410 Fri Sep 23 05:57:23 2005 Minero Aoki <aamine@loveruby.net>
29412 * ext/ripper: refactoring code generation tools. [ruby-dev:27247]
29415 * ext/ripper/depend: use generate.rb.
29417 * ext/ripper/lib/ripper/core.rb: removed.
29419 * ext/ripper/tools/generate-eventids1.rb: removed (code moved to
29422 * ext/ripper/tools/generate-ripper_rb.rb: removed (code moved to
29425 * ext/ripper/tools/list-parse-event-ids.rb: removed (code moved to
29428 * ext/ripper/tools/list-scan-event-ids.rb: removed (code moved to
29431 * ext/ripper/lib/ripper/core.rb: removed.
29433 * ext/ripper: refactoring tests. [ruby-dev:27273]
29435 * ext/ripper/test/check-event-arity.rb: removed (code moved to
29436 tools/generate.rb).
29438 * ext/ripper/test/check-event-coverage.rb: removed (code moved to
29439 test/ripper/test_parser_events.rb).
29441 * ext/ripper/test/check-scanner-event-coverage.rb: removed (code
29442 moved to test/ripper/test_scanner_events.rb).
29444 * ext/ripper/test/list-called-events.rb: removed.
29446 * ext/ripper/test/src_rb: removed.
29448 * ext/ripper/test/validate.rb: removed.
29450 * test/ripper/test_scanner_events.rb: check event coverage.
29452 * ext/ripper/lib/ripper/core.rb.in: update copyright year.
29454 Thu Sep 22 23:40:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29456 * lib/mkmf.rb (find_executable0): default path if environment is not
29457 set. [ruby-dev:27281]
29459 * ext/ripper/extconf.rb (have_command): replaced with find_executable.
29461 Thu Sep 22 17:31:48 2005 Shugo Maeda <shugo@ruby-lang.org>
29463 * test/readline/test_readline.rb (TestReadline::replace_stdio):
29464 merged the patch of [ruby-dev:25232] instead of [ruby-dev:25223].
29465 (merged from ruby_1_8 branch)
29467 Wed Sep 21 23:30:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29469 * lib/mkmf.rb (configuration): generalized nmake dependent code.
29471 Wed Sep 21 14:16:30 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29473 * ext/ripper/depend (SUFFIXES): no longer needed.
29475 * ext/ripper/depend (c): avoid nmake problem. fixed [ruby-dev:27191]
29477 Wed Sep 21 08:52:25 2005 why the lucky stiff <why@ruby-lang.org>
29479 * ext/syck/token.c: correctly compute indentation of a block
29480 scalar's parent node. [ruby-talk:150620]
29482 Wed Sep 21 08:20:24 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29484 * README.EXT, README.EXT.ja: add new features.
29486 Wed Sep 21 07:43:58 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29488 * lib/optparse.rb (default_argv, Arguable#options): defaults strings
29489 to be parsed to Arguable instance.
29491 Wed Sep 21 02:44:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29493 * file.c (path_check_0): disallow sticky world writable directory
29494 in PATH (and $LOAD_PATH). [ruby-dev:27226]
29496 Wed Sep 21 00:32:22 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29498 * numeric.c (fix_idiv): 1.div(1.0) should return integer value.
29501 Tue Sep 20 22:25:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29503 * ext/io/wait/lib/nonblock.rb: disable on platforms non-blocking flag
29504 is not available. fixed: [ruby-dev:27187]
29506 * file.c (rb_stat_inspect): protoized function pointer.
29508 Tue Sep 20 18:23:04 2005 Tanaka Akira <akr@m17n.org>
29510 * eval.c (thread_mark): mark th->last_status. [ruby-dev:27179]
29512 Tue Sep 20 18:20:33 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29514 * lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776]
29516 Tue Sep 20 17:48:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29518 * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset
29519 information to content-type header.[ruby-core:5127]
29521 * lib/xmlrpc/server.rb (CGIServer::serve): ditto.
29523 * lib/xmlrpc/server.rb (ModRubyServer::serve): ditto.
29525 * lib/xmlrpc/server.rb (WEBrickServlet::service): ditto.
29527 Tue Sep 20 17:26:42 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29529 * test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath on
29530 windows. bcc32's runtime is not installed into system directory,
29531 so it cannot be found without this setting. [ruby-dev:27166]
29533 Tue Sep 20 17:14:10 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29535 * io.c: PIPE_BUF is not defined on BeOS. use _POSIX_PIPE_BUF instead.
29538 Tue Sep 20 17:10:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29540 * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
29541 test_s_open_error test to detect duplicate open.
29544 Tue Sep 20 15:39:40 2005 why the lucky stiff <why@ruby-lang.org>
29546 * ext/syck/emitter.c (syck_scan_scalar): prevent indicators from
29547 appearing alone or at the end of plain scalars. [ruby-core:5826]
29549 * ext/syck/emitter.c (syck_emit_scalar): treat typed scalar nodes
29552 * lib/syck.h: version 0.60.
29554 * lib/yaml/basenode.rb (YAML::BaseNode#at): transform keys during
29557 * ext/syck/rubyext.c: loading of binary-typed nodes. prevent
29558 emission of plain strings that look like symbols, but which aren't.
29560 Tue Sep 20 05:48:26 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29562 * test/xmlrpc/test_webrick_server.rb (setup_http_server):
29563 should not include 'webrick/https' unless 'use_ssl' because
29564 it fails where openssl is not installed.
29566 Tue Sep 20 01:24:45 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29568 * eval.c (splat_value): use to_a to splat non Array object.
29570 * object.c (nil_to_a): remove nil.to_a. [experimental]
29572 Tue Sep 20 01:01:41 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29574 * lib/mathn.rb (Fixnum): remove debug print.
29576 * lib/rational.rb (Rational): ditto.
29578 Tue Sep 20 00:34:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29580 * io.c (io_close): call rb_io_close() directly if io is a T_FILE
29581 object. [ruby-dev:27156]
29583 Mon Sep 19 18:58:10 2005 Minero Aoki <aamine@loveruby.net>
29585 * file.c (rb_file_chown): should accept nil. [ruby-dev:27171]
29587 Mon Sep 19 18:29:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29589 * file.c (file_expand_path): allow pathnames to expand.
29592 Mon Sep 19 15:12:15 2005 Minero Aoki <aamine@loveruby.net>
29594 * ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462]
29596 Mon Sep 19 14:49:19 2005 Minero Aoki <aamine@loveruby.net>
29598 * ext/ripper/eventids2.c: add prefix `t' to tLAMBDA-related lexer
29601 * ext/ripper/lib/ripper/core.rb: updated.
29603 Mon Sep 19 14:39:46 2005 Minero Aoki <aamine@loveruby.net>
29605 * parse.y (do_block): do_block event dispatches 2 args.
29608 * ext/ripper/lib/ripper/core.rb: updated.
29610 * ext/ripper/tools/list-parser-event-ids.rb: check arity mismatch.
29612 Mon Sep 19 07:45:37 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29614 * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c:
29615 an instance variable "private" is added to OpenSSL::PKey class.
29616 this ivar is a flag that shows whether there is a private key
29619 * ext/openssl/ossl_engine.c: (ossl_engine_load_privkey): set private
29622 * test/openssl/test_pkey_rsa.rb: add test about private detection.
29624 Mon Sep 19 06:38:03 2005 Minero Aoki <aamine@loveruby.net>
29626 * lib/fileutils.rb: method renaming: collect_methods ->
29629 Mon Sep 19 05:58:59 2005 Minero Aoki <aamine@loveruby.net>
29631 * lib/fileutils.rb: use module_function instead of single extend.
29633 * test/fileutils/test_fileutils.rb: test existence of singleton
29636 Mon Sep 19 05:32:41 2005 Minero Aoki <aamine@loveruby.net>
29638 * lib/fileutils.rb (remove_entry_secure): does not use chdir(2).
29640 Mon Sep 19 03:17:48 2005 Tanaka Akira <akr@m17n.org>
29642 * file.c (rb_thread_flock): wrap the flock system call by
29643 TRAP_BEG/TRAP_END to enable signals. [ruby-dev:27122]
29645 * ext/socket/socket.c (bsock_send): wrap the sendto and send system
29646 call by TRAP_BEG/TRAP_END to enable signals when writing to a socket
29647 which is full. [ruby-dev:27132]
29649 * io.c (rb_io_syswrite): wrap the write system call by
29650 TRAP_BEG/TRAP_END to run signal hander in syswrite method.
29653 Mon Sep 19 01:07:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29655 * numeric.c (Init_Numeric): should define Fixnum#div.
29658 * file.c (rb_thread_flock): wrap flock(2) by TRAP_BEG and
29659 TRAP_END. [ruby-dev:27122]
29661 * file.c (rb_file_join): call FilePathValue() to all Pathnames to
29662 join. [ruby-dev:27127]
29664 * file.c (rb_get_path): call StringValueCStr() to ensure no nul
29665 bytes in path strings.
29667 * gc.c (garbage_collect): need value for return. [ruby-dev:27127]
29669 Sun Sep 18 02:10:47 2005 why the lucky stiff <why@ruby-lang.org>
29671 * lib/yaml/rubytypes.rb: remove comments that are bungling up
29672 the rdoc and ri output. output symbols as plain scalars.
29674 * ext/syck/rubyext.c (syck_emitter_reset): emit headless
29677 * ext/syck/emitter.c (syck_scan_scalar): quote scalars with any
29678 kind of surrounding line space, tabs or spaces alike.
29680 * ext/syck/token.c: accept tabs as whitespace, not for indentation,
29681 but strip from plain scalars.
29683 * test/yaml/test_yaml.rb: remove outdated tests.
29685 Sun Sep 18 01:10:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29687 * gc.c (garbage_collect): return false if no GC run.
29689 Sat Sep 17 23:25:04 2005 sheepman <sheepman@sheepman.sakura.ne.jp>
29691 * lib/mathn.rb (Rational::inspect): should preserve original
29692 operand. [ruby-core:05806]
29694 Sat Sep 17 23:20:27 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29696 * lib/cgi.rb (CGI::Cookie): should handle multiple values for a
29697 cookie name. [ruby-talk:156140]
29699 * test/socket/test_tcp.rb (TestTCPSocket::test_recvfrom): typo
29700 fixed. [ruby-dev:27123]
29702 Sat Sep 17 20:58:56 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29704 * win32/win32.c (rb_w32_select): fixed deadlock bug.
29705 because select(2) modifies its fd_set arguments, it must be
29706 restored sometimes.
29708 * win32/win32.c (rb_w32_select): performance improvement when
29709 'always readable/writable handles' and sockets are passed.
29710 sockets should be polled every time.
29716 STDOUT.write(".") # busy on console (this is worst case though)
29720 # socket operation took long time. (sometimes timed out)
29721 Net::HTTP.start("www.ruby-lang.org") do |http|
29722 http.get("/cgi-bin/cvsweb.cgi/ruby/array.c?rev=1.179")
29725 Sat Sep 17 14:54:40 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29727 * test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):
29728 these tests are working now, so turned on. (windows)
29730 Sat Sep 17 14:18:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29732 * win32/win32.c (rb_w32_select): I hope performance problem was
29735 Sat Sep 17 13:45:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29737 * win32/win32.c (rb_w32_select): console support is back.
29738 but still has performance problem because I loosely took 1 second
29739 for wait time. I'll fix it later. (The reason I drastically changed
29740 the code is that I wanted to implement the fileset management as
29741 single function, and I was worried that if pipe or console
29742 was always available, socket may not be processed any time)
29744 Sat Sep 17 11:24:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29746 * win32/win32.c (rb_w32_select): select for socket didn't work.
29747 this caused deadlock in drb test. this happened because GetFileType
29748 for socket handle returns FILE_TYPE_PIPE. Of course, it's not a
29749 pipe. So socket handle didn't reach winsock's select function.
29751 * win32/win32.c (rb_w32_select): read for pipe was still blocked
29752 even if writer handle was closed.
29757 sleep 3; puts "------- 1"
29759 sleep 3; puts "------- 2"
29761 sleep 3; puts "------- 3"
29765 until r.eof? # should break by w.close but didn't.
29769 * win32/win32.c (rb_w32_select): temporary reverted console support
29770 but it'll be back soon.
29772 Sat Sep 17 10:42:13 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29774 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
29775 should call Kernel.eval on caller's safe-level instead of slave's
29776 safe-level (Of course, the given script should be evaluated on
29777 slave's safe-level).
29779 Sat Sep 17 09:45:26 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29781 * string.c (rb_str_substr): should propagate taintness even for
29782 empty strings. [ruby-dev:27121]
29784 * string.c (rb_str_aref): should infect result if range argument
29785 is tainted. [ruby-dev:27121]
29787 Sat Sep 17 08:35:39 2005 Kouhei Sutou <kou@cozmixng.org>
29789 * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#normalize): fixed
29790 strange RSS::Maker::Item#max_size behavior.
29791 Thanks to Kazuhiko <kazuhiko@fdiary.net>.
29793 * test/rss/test_maker_1.0.rb (RSS::TestMaker10#test_items): ditto.
29795 Sat Sep 17 08:02:53 2005 Shugo Maeda <shugo@ruby-lang.org>
29797 * lib/net/imap.rb: supported DIGEST-MD5. Thanks, Mathieu Arnold.
29799 * lib/net/imap.rb: use fcall instead of send. Thanks, Satoru
29802 Fri Sep 16 22:45:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29804 * file.c (rb_file_s_extname): empty string for path name ending with a
29805 period. fixed: [ruby-core:05651]
29807 * file.c (rb_file_join): smarter behavior at edge cases.
29808 fixed: [ruby-core:05706]
29810 * gc.c (rb_memerror, ruby_xmalloc, ruby_xrealloc, rb_newobj): just
29811 abondon if no memory available, when interpreter is not running.
29814 * gc.c (garbage_collect): return whether GC could run.
29816 * dir.c (rb_push_glob): fix delimiter bug. fixed: [ruby-dev:27105]
29818 * dir.c (dir_s_aref, dir_s_glob): allow multiple patterns.
29821 * win32/win32.c (cmdglob): enable brace expansion.
29823 Fri Sep 16 18:34:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29825 * ext/syck/node.c (syck_replace_str): was using return from the
29826 void function. a patch from MIYAMUKO Katsuyuki
29827 <miyamuko at mtb.biglobe.ne.jp>. [ruby-dev:27111]
29829 Fri Sep 16 14:48:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29831 * ext/tk/lib/multi-tk.rb: fix typo on MultiTkIp#bg_eval_string
29833 Fri Sep 16 12:02:12 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29835 * ext/syck/rubyext.c (syck_resolver_transfer): remove C++ style
29836 comment (//). [ruby-core:05793]
29838 Fri Sep 16 00:17:03 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
29840 * test/logger/test_logger.rb: unintentionally overwritten changes by
29843 Fri Sep 16 00:03:11 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
29845 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should set
29848 Thu Sep 15 23:25:21 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
29850 * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5.
29852 #nnn is a ticket number at http://dev.ctor.org/soap4r
29856 * allow to configure an envelope namespace of SOAP request. (#124)
29857 TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope'
29858 @client.options["soap.envelope.requestnamespace"] =
29860 @client.options["soap.envelope.responsenamespace"] =
29862 @client.do_proc(...)
29864 * let SOAP request XML indent space configuable. see
29865 "soap.envelope.no_indent" option. (#130)
29867 * let external CES configuable.
29868 ex. client["soap.mapping.external_ces"] = 'SJIS'. $KCODE is used
29870 external CES ::= CES used in Ruby object of client and server
29871 internal CES ::= CES used in SOAP/OM
29873 * add iso-8859-1 external CES support. (#106)
29875 * fixed illegal 'qualified' handling of elements. it caused
29876 ASP.NET inteoperability problem. (#144)
29878 * added 'soap.envelope.use_numeric_character_reference' (boolean)
29879 option to let query XML use numeric character reference in XML,
29880 not plain UTF-8 character. !GoogleSearch server seems to not
29881 allow plain UTF-8 character since 2005-08-15 update. (#147)
29883 * SOAP::Header::SimpleHeader (de)serialization throws an exception
29884 on !SimpleHeader.on_(in|out)bound when header is a String. so we
29885 could not use a simple single element headerItem. fixed. thanks
29888 * out parameter of rpc operation did not work. (#132)
29890 * follow HTTP redirect only if using http-access2. (#125) (#145)
29892 * add a workaround for importing an WSDL whose path begins with
29893 drive letter. (#115)
29897 * SOAP Data which is defined as a simpletype was not mapped
29898 correctly to Ruby obj when using wsdl2ruby.rb generated classdef
29901 * rpc/literal support. (#118)
29903 * re-implemented local element qualify/unqualify control. handles
29904 elementFormDefault and form in WSDL. (#119)
29906 * Array of an element which has simpleType causes a crash. (#128)
29908 * prarmeterOrder may not contain return part so it can be shorter
29909 than parts size. Thanks to Hugh. (#139)
29913 * added !BasicAuth client sample. (#117)
29915 * added Base64 client/server sample.
29917 * added Flickr SOAP interface client sample. (#122)
29919 * added !SalesForce client sample. (#135)
29921 * updated Thawte CA certificate for !GoogleAdWords sample.
29923 * updated a client script with the newer version made by Johan.
29926 * shortened long file names. (#120)
29928 * fixed typo in authheader sample. (#129)
29930 * updated deprecated method usage. (#138)
29932 Thu Sep 15 22:40:27 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29934 * test/ruby/test_signal.rb (test_exit_action): skip the test using
29935 fork on fork-less platforms.
29937 Thu Sep 15 13:54:33 2005 Tanaka Akira <akr@m17n.org>
29939 * lib/open-uri.rb: add :read_timeout option.
29942 Thu Sep 15 11:39:18 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
29944 * ext/tk/lib/tk/dialog.rb: If a dialog does not show up yet,
29945 TkDialogObj#name raises an exception. [ruby-talk:156109]
29947 Thu Sep 15 11:01:58 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29949 * win32/win32.c (rb_w32_pipe_exec): remove unnecessary CloseHandle().
29951 * win32/win32.c (extract_console_fd, peek_console): new functions.
29953 * win32/win32.c (rb_w32_select): check consoles by polling them.
29955 Thu Sep 15 00:18:24 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
29957 * lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread with
29958 readpartial. [ruby-talk:127641]
29960 Wed Sep 14 23:28:28 2005 NAKAMURA Usaku <usa@ruby-lang.org>
29962 * win32/win32.c (collect_file_fd): rename from extract_file_fd.
29964 * win32/win32.c (extract_pipe_fd, peek_pipe): new functions.
29966 * win32/win32.c (rb_w32_select): check pipes by polling them.
29968 Wed Sep 14 22:40:26 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
29970 * dir.c (ruby_glob): glob function not using ruby exception system.
29972 Wed Sep 14 17:24:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29974 * dir.c: changed `foo (*bar)_((boo))' to `foo (*bar)(boo)`.
29976 * enumerator.c, eval.c, gc.c, intern.h, io.c, process.c, ruby.c,
29977 ruby.h, signal.c: ditto.
29979 Wed Sep 14 15:06:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
29981 * bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
29983 * defines.h, dir.c, dln.h, enumerator.c, env.h, error.c, eval.c, file.c,
29984 gc.c, hash.c, inits.c, intern.h, io.c, lex.c, marshal.c, missing.h,
29985 node.h, numeric.c, pack.c, process.c, re.h, ruby.c, ruby.h, rubyio.h,
29986 rubysig.h, signal.c, sprintf.c, st.h, string.c, struct.c, time.c,
29987 util.c, util.h, variable.c: ditto.
29989 Tue Sep 13 22:09:40 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
29991 * lib/logger.rb (Logger): added formatter accessor to logger for
29992 dictating the way in which the logger should format the messages it
29993 displays. Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and
29996 * lib/logger.rb (Logger): added VERSION constant.
29998 * lib/logger.rb: removed document for LogDevice. It is an
29999 implementation detail and is not a public interface.
30001 * test/logger/test_logger.rb: added tests.
30003 Tue Sep 13 21:47:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30005 * eval.c (BEGIN_CALLARGS): pop halfly pushed status.
30006 fixed: [ruby-dev:26881]
30008 Tue Sep 13 20:24:37 2005 Tanaka Akira <akr@m17n.org>
30010 * ruby.h (PRINTF_ARGS): new macro for printf style argument checking.
30012 Tue Sep 13 15:41:29 2005 Minero Aoki <aamine@loveruby.net>
30014 * lib/net/http.rb: wrote docuemntation of HTTPRequest/HTTPResponse
30017 Tue Sep 13 14:27:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30019 * string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0
30020 because of crypt argument's constness mismatch. (I hope this works)
30021 (http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz)
30023 Tue Sep 13 12:33:05 2005 why the lucky stiff <why@ruby-lang.org>
30025 * lib/yaml.rb: reworking YAML::Stream to use the new
30028 * lib/yaml/stream.rb: ditto.
30030 * lib/yaml/rubytypes.rb: added Object#yaml_new.
30032 * lib/yaml/tag.rb: the tag_subclasses? method now
30033 shows up in the class. allow taguri to be set using an accessor.
30034 continue support of Object#to_yaml_type.
30036 * ext/syck/rubyext.c: new emitter code. yaml_new and yaml_initialize
30037 get called, should they be present. consolidated all the diaspora of internal node types into the family below YAML::Syck::Node -- Map,
30038 Seq, Scalar -- all of whom are SyckNode structs pointing to
30039 Ruby data. moved Object#yaml_new into the node_import and made it
30040 the default behavior. the target_class is always called wih
30041 yaml_new, prepended a parameter, which is the klass. loaded nodes
30042 through GenericResolver show their style.
30043 new Resolver#tagurize converts type ids to taguris.
30045 * ext/syck/implicit.re: were 'y' and 'n' seriously omitted??
30047 * ext/syck/emitter.c: renovated emitter, walks the tree in advance.
30048 consolidated redundant block_styles struct into
30049 the scalar_style struct. (this means loaded nodes can now
30050 be sent back to emitter and preserve at least its very basic
30053 * ext/syck/gram.c: headless documents of any kind allowed.
30055 * ext/syck/node.c: new syck_replace_str methods and syck_empty_*
30056 methods for rewriting node contents, while keeping the ID
30057 and other setup info. added syck_seq_assign.
30059 * ext/syck/syck.h: reflect block_styles and new node functions.
30061 Tue Sep 13 08:09:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30063 * lib/ostruct.rb (new_ostruct_member): Object#send no longer call
30064 private methods. [ruby-dev:27044]
30066 * test/rss/test_dublincore.rb, test/rss/test_trackback.rb,
30067 test/ruby/test_eval.rb, test/socket/test_socket.rb: ditto.
30069 * test/ruby/test_lambda (test_call_with_block): lambda makes new scope
30070 for formal block parameter.
30072 Tue Sep 13 01:17:45 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30074 * eval.c (proc_save_safe_level): no need to restrict safe level
30075 memoize in $SAFE>=3. [ruby-dev:27050]
30077 Tue Sep 13 00:02:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30079 * file.c (apply2files): stricter callback definition.
30081 * file.c (rb_path_check): constified.
30083 Mon Sep 12 20:53:06 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30085 * test/openssl/test_pkcs7.rb (test_enveloped): skip this test
30086 to avoid a bug of PKCS7_enctypt() (only if ext/openssl is
30087 compiled with OpenSSL-0.9.7d or earlier versions).
30088 http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html
30090 Mon Sep 12 20:32:00 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30092 * win32/win32.[hc] (rb_w32_argv_size, ...): reverted my latest change
30093 to avoid incompatible pointer warning. (mingw32)
30095 Mon Sep 12 19:58:53 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30097 * dln.c: avoid warning of const to non-const convertion.
30100 * eval.c, io.c, ruby.c: ditto.
30102 Mon Sep 12 19:26:29 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30104 * array.c: moved to ANSI function style from K&R function style.
30105 (used protoize on windows, so still K&R remains on #ifdef part of
30106 other platforms. And `foo _((boo))' stuff is still there)
30109 * bignum.c, class.c, compar.c, dir.c, dln.c, dmyext.c, enum.c,
30110 enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c,
30111 io.c, main.c, marshal.c, math.c, numeric.c, object.c, pack.c,
30112 prec.c, process.c, random.c, range.c, re.c, regcomp.c, regenc.c,
30113 regerror.c, regexec.c, regparse.c, regparse.h, ruby.c, signal.c,
30114 sprintf.c, st.c, string.c, struct.c, time.c, util.h, variable.c,
30117 Mon Sep 12 14:03:33 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30119 * test/dbm/test_dbm.rb: remove locking test, which may not be
30120 supported on some platforms. [ruby-dev:27030]
30122 Sun Sep 11 23:23:02 2005 Shugo Maeda <shugo@ruby-lang.org>
30124 * lib/net/imap.rb (starttls): supported the STARTTLS command.
30126 Sun Sep 11 22:18:07 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
30128 * bin/erb (ERB::Main#run): set ERB#filename so that it is used
30129 when reporting syntax/runtime errors. Tabs converted to spaces.
30131 Sat Sep 10 22:34:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30133 * array.c, bignum.c: protoize.
30135 Sat Sep 10 00:23:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30137 * eval.c (splat_value): simpler and consistent array conversion
30138 for argument splat. [yarv-dev:599]
30140 Fri Sep 9 16:45:25 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30142 * string.c (rb_str_times): make empty strings to keep taintness,
30143 and a little improvement. [ruby-dev:26900]
30145 * ext/iconv/iconv.c (iconv_try), ext/iconv/extconf.rb: get rid of meta
30146 characters in command line option. fixed: [ruby-talk:155369]
30148 * ext/iconv/iconv.c: protoized.
30150 Thu Sep 8 14:58:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30152 * merged a patch from Takahiro Kambe <taca at back-street.net> to
30153 support DragonFly BSD. [ruby-dev:26984]
30155 Thu Sep 8 13:14:57 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
30157 * missing/strchr.c (strrchr): fixed a bug in detecting NUL in a
30158 string. [ruby-dev:26985]
30160 Wed Sep 7 17:29:27 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30162 * ext/openssl/ossl_engine.c (ossl_engine_s_by_id):
30163 OpenSSL::Engine.by_id calls given block before calling
30164 ENGINE_init (block parameter is the return value of this method
30165 itself). this functionality is useful to load dynamic shared
30169 pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e|
30170 e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so")
30171 e.ctrl_cmd("LIST_ADD", "1")
30174 pkcs11.ctrl_cmd("PIN", "secret")
30175 key = pkcs11.load_private_key
30177 * ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method
30178 OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string.
30180 * ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method
30181 OpenSSL::Engine#cmds. it returms engine command definitions.
30183 Wed Sep 7 15:48:37 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30185 * ext/openssl/ossl_asn1.c (asn1str_to_str): new function.
30187 * ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo.
30188 this class wraps PKCS7_RECIP_INFO struct.
30190 * ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to
30191 OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of
30194 * test/openssl/test_pkcs7.rb: new file.
30196 Wed Sep 7 12:55:08 2005 Tanaka Akira <akr@m17n.org>
30198 * lib/open-uri.rb: abolish mod === tempfile to avoid a problem
30201 Wed Sep 7 10:45:15 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30203 * eval.c (rb_thread_switch): convert all exceptions to
30204 SystemExit. fixed: [ruby-core:05724]
30206 * eval.c (rb_thread_terminated): show backtrace before propagate
30207 exceptions to main thread.
30209 Wed Sep 7 09:21:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30211 * win32/win32.[hc] (rb_w32_utime): constified.
30213 * win32/win32.h (rb_w32_stat): added prototype.
30215 * win32/win32.[hc] (rb_w32_argv_size,rb_w32_join_argv,rb_w32_aspawn):
30216 changed `char *const *' to `const char *const *'. (constify string)
30218 Wed Sep 7 08:35:04 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30220 * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
30221 extension libraries.
30223 * bignum.c (bignew_1, bigadd): K&R style argument actually can't be
30226 * missing/vsnprintf.c: ANSI compiler supports const keyword.
30228 * ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h
30229 but no 64bit integer.
30231 * lib/mkmf.rb (what_type?): guesstimate type.
30233 * ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
30234 char*. fixed: [ruby-core:05470]
30236 Wed Sep 7 08:32:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30238 * string.c (rb_str_times): should taint empty strings as well.
30240 * object.c (Init_Object): make class_variable_{get,set} public.
30243 Mon Sep 5 22:28:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30245 * parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might be
30246 nothing. fixed: [ruby-dev:26952]
30248 * ext/ripper/eventids2.c: added new tokens. fixed: [ruby-dev:26952]
30250 Mon Sep 5 17:03:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30252 * lib/find.rb: should raise ENOENT if root entry does not exist.
30255 * lib/ostruct.rb: a patch from Florian Gross <florgro at gmail.com>
30256 merged to allow recursive inspect (and to_s) for OpenStruct.
30259 Mon Sep 5 08:20:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30261 * lib/observer.rb: a patch from nornagon <nornagon at gmail.com>
30262 merged to allow arbitrary names for update methods.
30265 Mon Sep 5 07:01:12 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30267 * ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write):
30268 should clear data from the buffer which already been output.
30270 Sun Sep 4 15:01:35 2005 Minero Aoki <aamine@loveruby.net>
30272 * parse.y (f_arg): Ripper should not do semantic check.
30275 Sat Sep 3 23:52:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30277 * eval.c (rb_f_fcall): new method to avoid inefficiency of
30278 obj.instance_eval{send(...)} tricks.
30280 Sat Sep 3 13:59:31 2005 Tanaka Akira <akr@m17n.org>
30282 * lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend
30284 (Pathname#ascend): ditto.
30286 Fri Sep 2 23:51:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30288 * parse.y (f_arg): f_norm_arg is a VALUE in ripper, not an ID.
30289 fixed: [ruby-dev:26942]
30291 * lib: do not use __send__ to access private methods. [ruby-dev:26935]
30293 Thu Sep 1 17:11:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30295 * eval.c (rb_call0): wrong condition for $SAFE restoration.
30297 Thu Sep 1 14:12:45 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30299 * ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn't
30300 work (gives wrong order of arguments).
30302 * ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace
30303 to support '-namespace' option of 'interp invokehidden' command
30306 Wed Aug 31 14:41:30 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30308 * win32/Makefile.sub (OPTFLAGS): default global optimization to
30309 disabled for all VC++ versions. fixed: [ruby-dev:26897]
30311 Wed Aug 31 10:36:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30313 * process.c (proc_detach, proc_setmaxgroups): missing argument type
30314 declaration. (I recommend ANSI-style function)
30316 Wed Aug 31 06:59:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30318 * string.c (rb_str_scan): already String#scan behaves differently
30319 regarding if block is given.
30321 Tue Aug 30 23:49:34 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30323 * array.c, dir.c, enum.c, hash.c, io.c, range.c, string.c, struct.c:
30324 let enumerable methods return Enumerator. [ruby-dev:26924]
30326 * intern.h (RETURN_ENUMERATOR): utility macro for enumerable methods.
30328 Tue Aug 30 23:25:45 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
30330 * lib/debug.rb: no need to restart at exit.
30332 Tue Aug 30 23:20:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30334 * eval.c (rb_rescue2): initialization miss. fixed: [ruby-dev:26917]
30336 * lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.
30338 * lib/mkmf.rb (link_command, cc_command, cpp_command): expand
30339 variables at once, and quote hdrdir. fixed: [ruby-core:05680]
30341 * lib/mkmf.rb (libpathflag): quote paths.
30343 Tue Aug 30 19:34:27 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30345 * ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h,
30346 ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid
30347 error in compilation with OpenSSL-0.9.8. [ruby-list:41068]
30349 Tue Aug 30 16:19:40 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
30351 * lib/irb/init.rb: bug fix. [ruby-dev: 26920]
30353 Tue Aug 30 16:13:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30355 * enum.c (enum_count): new method. [ruby-dev:26895]
30357 Tue Aug 30 12:45:15 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30359 * eval.c (rb_f_send): do not call private methods if the receiver
30360 is specified. [ruby-talk:153672]
30362 Mon Aug 29 19:47:18 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30364 * lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]
30366 * lib/rdoc/usage.rb: support the case when non-ruby code exists before
30367 shebang. (this is needed when ri.bat is executed on windows)
30369 Mon Aug 29 18:58:05 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
30371 * lib/irb/init.rb: make IRB -I option that is same befavior for ruby.
30374 * lib/irb/locale.rb: support to print help message when OS locale is
30375 ja_JP.utf-8. [ruby-dev:26872]
30377 Mon Aug 29 01:43:05 2005 Tanaka Akira <akr@m17n.org>
30379 * lib/pathname.rb (Pathname#descend): new method.
30380 (Pathname#ascend): ditto.
30382 Mon Aug 29 00:35:09 2005 Tanaka Akira <akr@m17n.org>
30384 * lib/time.rb: require 'date/format' instead of 'parsedate'.
30385 (Time.parse): extract fractional seconds using Date._parse.
30386 (Time.strptime): extract fractional seconds using Date._strptime.
30389 Sat Aug 27 20:13:31 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30391 * ext/curses/curses.c ({curses,window}_clrtoeol): added. suggested
30394 * ext/curses/curses.c: chtype in curses is not `char', rahter `long'.
30397 * ext/curses/view.rb: String =~ String is deprecated.
30399 Thu Aug 25 15:48:58 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30401 * ext/win32ole/win32ole.c: supress warnings. (win32)
30403 Wed Aug 24 11:01:26 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30405 * test/logger/test_logger.rb (test_shifting_size): should close log
30406 device before unlink, since some platform cannot unlink opened
30409 Tue Aug 23 06:07:02 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30411 * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.
30412 these features are enabled if this library is compiled with
30413 OpenSSL 0.9.8 or later.
30415 * test/openssl/test_digest.rb: add test for new digests.
30417 Tue Aug 23 05:47:04 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30419 * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode
30420 the argument as a string.
30422 * ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method.
30424 * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should
30425 set @time to avoid warning.
30427 * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths,
30428 X509_STORE_add_cert, X509_STORE_add_crl): should raise error if
30429 wrapped functions fails.
30431 * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message.
30433 * ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid
30434 of unused variable.
30436 * test/openssl/test_ns_spki.rb: add new file.
30438 * test/openssl/test_x509store.rb: add test for error.
30440 Tue Aug 23 01:11:40 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30442 * sprintf.c (ruby__sfvwrite): should move `buf' to the end of
30443 `result'. [ruby-dev:26859]
30445 Mon Aug 22 23:51:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30447 * parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts with
30448 RE_OPTION_ONCE. [ruby-dev:26852]
30450 Mon Aug 22 20:11:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30452 * missing/vsnprintf.c (BSD__sprint): needs to call vwrite function
30453 pointer. fixed: [ruby-dev:26854]
30455 Sat Aug 20 23:55:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30457 * parse.y (parser_yylex): update paren_nest for brackets [].
30459 Sun Aug 21 00:10:23 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
30461 * lib/wsdl/xmlSchema/importer.rb (WSDL::XMLSchema::Importer#fetch): add
30462 a workaround for importing an WSDL whose path begins with drive
30463 letter. [ruby-dev:26242]
30465 Sat Aug 20 22:05:25 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
30467 * regexec.c (code_is_in_cclass_node): check code size.
30470 Sat Aug 20 22:37:13 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
30472 * lib/logger.rb (write, shift_log?, shift_log): file shifting race
30473 condition bug fixed. [ruby-dev:26764]
30475 * test/logger/test_logger.rb: tests.
30477 Fri Aug 19 18:13:39 2005 Tanaka Akira <akr@m17n.org>
30479 * lib/time.rb (Time.apply_offset): fix a problem with last day of
30480 month. reported by Lucas Nussbaum. [ruby-talk:152866]
30482 Thu Aug 18 11:05:36 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30484 * win32/win32.c (socketpair_internal): need to call open_ifs_socket()
30485 to create sockets instead of winsock's socket().
30486 fixed: [yarv-dev:581]
30488 Wed Aug 17 23:58:05 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30490 * eval.c (terminate_process): take String message.
30492 * eval.c (rb_thread_switch): propagate the exception caused thread
30493 termination directly. fixed: [ruby-core:05552]
30495 Wed Aug 17 21:20:05 2005 NARUSE, Yui <naruse@ruby-lang.org>
30497 * ext/nkf/lib/kconv.rb: ensure that symbol_to_option is private_class_method
30498 and all other methods are module_function
30499 fixed: [ruby-dev:26808]
30501 Wed Aug 17 00:05:46 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30503 * eval.c (rb_add_method): preserve safe level in the environment
30504 where a method is defined .
30506 * eval.c (rb_call0): restore preserved safe level in the method
30509 * parse.y (lambda): need separate block variable stack
30510 manipulation and lpar_beg maintenance. based on a patch found
30511 in [ruby-core:05551] from Mauricio Fernandez <mfp at acm.org>.
30513 * parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and
30514 kDO_LAMBDA. [ruby-core:05551]
30516 Mon Aug 15 07:24:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30518 * intern.h (rb_check_to_integer): add declaration.
30520 * object.c (rb_to_integer, rb_check_to_integer): argument constified.
30522 Mon Aug 15 00:38:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30524 * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE.
30527 * range.c (range_check, range_init): reduce uselse exceptions.
30529 Mon Aug 15 00:34:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30531 * parse.y (yycompile): remove unreachable code. [yarv-dev:570]
30533 Sat Aug 13 22:16:12 2005 Minero Aoki <aamine@loveruby.net>
30535 * lib/fileutils.rb (remove_entry_secure): forgot final chdir.
30537 Sat Aug 13 22:07:49 2005 Minero Aoki <aamine@loveruby.net>
30539 * lib/fileutils.rb (remove_entry_secure): uses chdir(2) and check
30540 if current directory is correct. [ruby-dev:26100] [ruby-dev:26226]
30542 Sat Aug 13 21:11:05 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
30544 * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT class.
30546 * ext/win32ole/tests/testall.rb: ditto.
30548 * ext/win32ole/tests/testOLEVARIANT.rb: ditto.
30550 Sat Aug 13 18:51:26 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30552 * eval.c (rb_block_pass): distinguish current block from others.
30553 fixed: [ruby-dev:26274]
30555 * ext/stringio/stringio.c (strio_set_string): disallow nil.
30556 http://www.rubyist.net/~nobu/t/20050811.html#c05
30558 Sat Aug 13 08:01:59 2005 NARUSE, Yui <naruse@ruby-lang.org>
30560 * ext/nkf/lib/kconv.rb: Kconv.kconv is now alias of Kconv.conv
30561 * ext/nkf/lib/kconv.rb: remove nkf dependend symbols fomr SYMBOL_TO_OPTION
30563 Fri Aug 12 17:06:53 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30565 * parse.y (f_larglist): allow optional arguments even when
30566 parentheses are omitted. based on Nobu's patch from
30567 http://www.rubyist.net/~nobu/t/20050805.html
30569 * parse.y (parser_yylex): update & maintain lpar_beg for detect
30572 Thu Aug 11 23:29:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30574 * ext/stringio/stringio.c: keep holding string after closed.
30576 Thu Aug 11 20:48:40 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
30578 * numeric.c (fix_equal, fix_cmp, fix_gt, fix_ge, fix_lt, fix_le):
30579 reduce coercing when a method knows about a operand type.
30582 Thu Aug 11 13:01:48 2005 Kouhei Sutou <kou@cozmixng.org>
30584 * lib/rss: fixed sort bug. [ruby-list:41018]
30586 * lib/rss/1.0.rb (RSS::RDF::Channel#setup_maker_attributes):
30589 * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#<=>): use #date
30591 (RSS::Maker::Base::self.def_array_element): added #size.
30593 * lib/rss/maker/1.0.rb
30594 (RSS::Maker::RSS10::Channel#to_rss,
30595 RSS::Maker::RSS10::Items::Item#to_rss): cleared dc_dates set
30596 upped by using #date.
30598 * lib/rss/maker/dublincore.rb
30599 (RSS::Maker::ChannelBase, RSS::Maker::ItemsBase::ItemBase):
30600 fixed opposite alias.
30602 * test/rss/test_setup_maker_1.0.rb
30603 (RSS::TestSetupMaker10::test_setup_maker_items_sort): added some
30604 tests for RSS::Maker::ItemsBase#do_sort.
30606 Wed Aug 10 12:01:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30608 * lib/delegate.rb: simplifies Delegator classes; SimpleDelegator
30609 now uses method_missing for all methods.
30611 Wed Aug 10 10:38:50 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30613 * bignum.c (rb_big_mul0): multiply two numbers (x, y) without
30614 normalizing the result. x should be a big number.
30617 * bignum.c (rb_big_pow): use rb_big_mul0() instead of
30620 * array.c (rb_ary_or, rb_ary_and, rb_ary_plus, rb_ary_diff):
30621 revert the change on 2005-08-03. Set operation on other item
30622 should have in separate methods.
30624 * parse.y (shadowing_lvar_gen): warn when arguments shadows
30625 external local variables.
30627 * parse.y (f_opt): optional arguments should not clobber external
30630 * parse.y (f_rest_arg): rest arguments should not clobber external
30633 Wed Aug 10 10:29:40 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30635 * ext/tk/lib/tk.rb: fix bug on handling __ruby2val_optkeys().
30637 * ext/tk/lib/tk/itemconfig.rb: fix bug on handling
30638 __item_ruby2val_optkeys().
30640 * ext/tk/lib/tk/canvas.rb: didn't check __item_ruby2val_optkeys().
30642 * ext/tk/lib/tkextlib/blt/component.rb: ditto.
30644 Tue Aug 9 21:53:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30646 * eval.c (formal_assign): let default values override
30647 arguments to zsuper. fixed: [ruby-dev:26743]
30649 Tue Aug 9 20:30:19 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
30651 * bignum.c (rb_big_coerce): allow bignum x bignum coercing.
30654 Tue Aug 9 15:12:04 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30656 * ext/tk/tcltklib.c: remove dangerous 'rb_jump_tag's.
30658 * ext/tk/lib/tk.rb: add __val2ruby_optkeys and __ruby2val_optkeys to
30659 help to convert option values between ruby and tcl.
30661 * ext/tk/lib/tk/itemconfig.rb: add __item_val2ruby_optkeys and
30662 __item_ruby2val_optkeys to help to convert option values between
30665 * ext/tk/lib/tk/radiobutton.rb: use __ruby2val_optkeys for 'variable'
30666 option (for the reason of backward compatibility).
30668 * ext/tk/lib/tk/composite.rb: clarify the arguments of super().
30670 * ext/tk/lib/tk/spinbox.rb: ditto.
30672 * ext/tk/lib/tk/text.rb: ditto.
30674 * ext/tk/lib/tk/validation.rb: ditto.
30676 * ext/tk/lib/tkextlib/*: support to treat tkvariable-type
30679 Tue Aug 9 08:24:05 2005 Mauricio Fernandez <mfp@acm.org>
30681 * parse.y (f_block_arg), eval.c (rb_yield_0): deal with dynamic
30682 variable lambda arguments. [ruby-core:05540]
30684 Mon Aug 8 22:13:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30686 * eval.c (assign): deal with new block argument.
30687 fixed: [ruby-core:05536]
30689 * eval.c (rb_node_arity): follow change of NODE_ARGS.
30690 fixed: [ruby-dev:26761]
30692 Mon Aug 8 21:28:13 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30694 * test/ruby/test_fnmatch.rb: separated from test_file.rb.
30696 Mon Aug 8 20:40:35 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
30698 * test/ruby/test_method.rb: added. [ruby-dev:26761]
30700 Mon Aug 8 01:26:37 2005 Mauricio Fernandez <mfp@acm.org>
30702 * parse.y (f_larglist): mistake in syntax rule. [ruby-core:05535]
30704 Mon Aug 8 05:16:55 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30706 * ext/openssl/ossl.c (ossl_raise): should use ERR_peek_last_error
30707 to get last error on the current thread. And should report
30708 if errors are on the stack while OpenSSL.debug is true.
30710 * ext/openssl/ossl.c (ossl_get_errors): new method for debugging
30713 Mon Aug 8 05:15:19 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30715 * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize),
30716 lib/webrick/httpserver.rb (HTTPServer#intialize),
30717 lib/webrick/httpservlet/cgihandler.rb (CGIHandler#initialize),
30718 lib/webrick/httpservlet/erbhandler.rb (ERBHandler#initialize),
30719 lib/webrick/httpservlet/filehandler.rb(DefaultFileHandler#initialize):
30720 super (called with no arguments) takes default value of optional
30721 arguments. [ruby-dev:26743]
30723 * lib/webrick/httputils.rb: add a media-type "text/html" for .xhtml.
30725 Sun Aug 7 23:52:39 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
30727 * test/ruby/test_super.rb: added optional arg tests. [ruby-dev:26743]
30728 the tests expects 1.8 behavior at this time.
30730 Sat Aug 6 12:35:24 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30732 * ext/tk/lib/{tk.rb,tk/itemconfig.rb}: configure creates
30733 TkVariable if key name is 'variable' or 'textvariable'
30734 by default. [ruby-dev:26749]
30736 * ext/tk/lib/tk/{label,radiobutton}.rb: removed its own
30737 {variable,textvariable} function.
30739 * ext/tk/lib/tk/variable.rb: retains backward conpatibility.
30741 Fri Aug 5 12:48:31 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30743 * ext/tk/tcltklib.c: fixed memory leak when tk_funcall raised
30744 exception. (copies argv into heap in tk_funcall instead of
30747 Fri Aug 5 12:36:40 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30749 * lib/mkmf.rb (create_makefile): need to convert path separetor
30750 before invoking install command.
30752 Fri Aug 5 08:08:05 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30754 * eval.c (return_jump): fix "can't across thread" error message
30755 when no thread associated.
30756 http://www.namikilab.tuat.ac.jp/~sasada/diary/200507.html#d31
30758 Fri Aug 5 00:25:12 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30760 * ext/tk/tcltklib.c: refactoring - extract ruby string <->
30761 tcl object conversion as get_str_from_obj and get_obj_from_str.
30763 Fri Aug 5 00:19:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30765 * enumerator.c (Init_Enumerator): provided features should have
30768 * eval.c (rb_feature_p): returns type of the feature instead of
30771 * eval.c (search_required): ruby library should be prior to statically
30772 linked extentions. fixed: [ruby-dev:26711]
30774 * eval.c (formal_assign): returns position of rest arguments variable.
30776 * parse.y (f_rest_arg): use anonymous variable for rest arguments.
30777 fixed: [ruby-dev:26647]
30779 * extmk.rb (extmake): needs to be wrapped in an Array.
30781 Thu Aug 4 20:03:18 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
30783 * numeric.c (Init_Numeric): do not share implementation among
30784 Fixnum#/ and Fixnum#div. [ruby-core:05531]
30786 Thu Aug 4 18:38:36 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30788 * ext/tk/tcltklib.c: cannot compile for Tcl7.6/Tk4.2.
30790 * ext/tk/tcltklib.c: add nativethread consistency check.
30792 * ext/tk/stubs.c: ditto.
30794 * ext/tk/lib/tk.rb: forgot to define TclTkIp.encoding and encoding=
30795 when Tcl is 7.6 or 8.0.
30797 * ext/tk/lib/tk/wm.rb: support to make some methods as options of
30798 root or toplevel widget. [ruby-talk:150336]
30800 * ext/tk/lib/tk/root.rb: ditto.
30802 * ext/tk/lib/tk/toplevel.rb: ditto.
30804 * ext/tk/lib/tkextlib/SUPPRT_STATUS: update RELEASE_DATE
30806 Thu Aug 4 13:30:15 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30808 * numeric.c (fix_div): should not convert the result into
30809 integer. [ruby-core:05524]
30811 Thu Aug 4 08:03:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30813 * ext/extmk.rb (extmake): should not modify $mflags for each
30816 Thu Aug 4 00:25:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30818 * common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated
30821 * bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS.
30823 * {win32,wince}/Makefile.sub: separate config.h for compiler versions.
30825 Thu Aug 4 00:24:59 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30827 * sprintf.c: replacing is no longer needed.
30829 Wed Aug 3 21:59:16 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30831 * ext/tk/lib/tk/variable.rb: TkVariable#trace didn't work on
30832 TkVariable retrived from TkVariable.new_hash.ref. [ruby-dev:26721]
30834 Wed Aug 3 12:40:28 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
30836 * numeric.c (fix_plus): reduce coercing when a method knows about
30837 a operand type. [ruby-dev:26723]
30839 * numeric.c (fix_minus, fix_mul, fix_quo, fix_div, fix_mod,
30840 fix_divmod, fix_pow): ditto.
30842 * bignum.c (rb_big_div, rb_big_modulo): export to reduce
30845 Wed Aug 3 10:13:52 2005 NAKAMURA Usaku <usa@ruby-lang.org>
30847 * configure.in, {bcc32,win32,wince}/Makefile.sub (HAVE_SNPRINTF,
30848 HAVE_VSNPRINTF): use win32/win32.c's implementation instead of
30849 missing/vsnprintf.c's.
30851 * win32/win32.[ch] (rb_w32_snprintf, rb_w32_vsnprintf): reverted.
30853 Wed Aug 3 10:05:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30855 * configure.in: check vsnprintf() and snprintf().
30857 * sprintf.c, missing/vsnprintf.c: made vsnprintf() and snprintf()
30858 private. fixed: [ruby-dev:26651]
30860 Wed Aug 3 08:22:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30862 * ext/socket/socket.c (ruby_connect): revert [ruby-talk:111654]
30863 changes at 2004-09-07. [ruby-dev:26656]
30865 Wed Aug 3 06:53:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30867 * array.c (rb_ary_or): wraps the operand in an array if it is not
30868 an array. [ruby-talk:150495] [EXPERIMENTAL]
30870 * array.c (rb_ary_and, rb_ary_plus, rb_ary_diff): ditto.
30872 Tue Aug 2 10:23:12 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30874 * ext/tk/tcltklib.c: use Tcl_[GS]etVar2Ex instead of
30875 Tcl_Obj[GS]etVar2. (avoid Tcl_NewStringObj on supported platforms)
30877 * ext/tk/tcltklib.c: use ip_{get,set,unset}_variable2_core from
30878 ip_{get,set,unset}_variable.
30880 * ext/tk/tcltklib.c: replaced Tcl_Panic with rb_bug.
30882 Tue Aug 2 01:40:38 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
30884 * lib/ping.rb (Ping.pingecho): should rescue StandardError.
30887 Mon Aug 1 19:02:23 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30889 * ext/tk/tcltklib.c: refactoring - replaced rb_ivar_defined &
30890 rb_ivar_get with single rb_attr_get call.
30892 Mon Aug 1 18:44:08 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30894 * ext/tk/tcltklib.c (Tcl_GetStringResult): refactoring - define
30895 alternative macro on Tcl7.x or earlier.
30897 Mon Aug 1 13:53:55 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
30899 * ext/tk/tcltklib.c (deleted_ip): refactoring - interpreter
30900 deletion check. [ruby-dev:26664]
30902 Mon Aug 1 01:08:21 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
30904 * lib/drb/drb.rb (check_insecure_method): use private_methods and
30905 protected_methods instead of respond_to? to check method visibility.
30908 * test/drb/drbtest.rb: ditto.
30910 * test/drb/ut_drb.rb: ditto.
30912 Sat Jul 30 18:49:44 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
30914 * ext/win32ole/win32ole.c: add WIN32OLE_TYPE#ole_typelib,
30915 WIN32OLE_TYPE#implemented_ole_types.
30917 * ext/win32ole/tests/testOLETYPE.rb: ditto.
30919 Fri Jul 29 16:12:02 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
30921 * lib/irb/context.rb: fix `irb --readline` option. [ruby-dev:40955]
30923 Fri Jul 29 09:59:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30925 * eval.c (rb_call0): fix calling zsuper from a method with anonymous
30926 rest argument. [ruby-dev:26639]
30928 * eval.c (rb_yield_0): push yielded node instead of yielding.
30929 fixed: [yarv-dev:549]
30931 Thu Jul 28 21:49:17 2005 IWATSUKI Hiroyuki <don@na.rim.or.jp>
30933 * parse.y (rb_parser_end_seen_p): exclude from ripper.
30934 <http://moonrock.jp/~don/d/200507.html#d28_t2>
30936 * sprintf.c (clearerr): remove standard macro before re-definition.
30937 <http://moonrock.jp/~don/d/200507.html#d28_t3>
30939 Thu Jul 28 18:09:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
30941 * ext/tk/stubs.c: When --enable-tcltk-stubs, the initialize
30942 routine creates a Tcl/Tk interpreter and deletes it. However,
30943 init cost of Tk's MainWindow is not so small. And that makes it
30944 impossible to use libraries written with Tcl functions only on
30945 an environment without a graphical display. This changes support
30946 delaying initalization of Tk_Stubs until the script needs Tk.
30948 * ext/tk/stubs.h: New file. Define prototypes and return codes of
30949 functions on stubs.c.
30951 * ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs
30952 until the script needs Tk.
30954 * ext/tk/tcltklib.c: Show friendly error messages for errors on
30957 * ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is
30958 exiting and $DEBUG is true. (Not fix. If you know the reason of
30959 why, please fix it.)
30961 * ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling
30964 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
30965 don't work propery.
30967 * ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk.
30969 * ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the
30970 object for an element of a Tcl's array variable.
30972 Thu Jul 28 17:23:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30974 * parse.y (f_larglist): allow block argument in lambda parameter
30975 list without parenthesis.
30977 Thu Jul 28 17:14:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30979 * hash.c (each_i): typo fixed. [ruby-dev:26622]
30981 Thu Jul 28 15:04:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30983 * parse.y (f_arg): better argument name duplication check
30985 * parse.y (new_args_gen): factored out name duplication check for
30986 optional and rest arguments.
30988 * parse.y (new_bv_gen): allow shadowing outer local variables;
30991 Thu Jul 28 13:46:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
30993 * parse.y (ripper_warningS): the argument was omitted.
30996 Thu Jul 28 11:30:57 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
30998 * parse.y (f_larglist): allow bv_decl at the end of lambda
30999 argument list. [EXPERIMENTAL]
31001 * parse.y (new_bv_gen): allow local variable shadowing, with
31002 warning in verbose mode.
31004 Wed Jul 27 23:23:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31006 * gc.c (obj_free): make message format consistent with one from
31007 gc_mark(). [ruby-talk:149668]
31009 * sprintf.c (quad_t): prepare quad_t as well. [ruby-talk:149668]
31011 Wed Jul 27 22:11:37 2005 Kouhei Sutou <kou@cozmixng.org>
31013 * sample/rss/tdiary_plugin: removed. because the plugin
31014 is imported in the tDiary plugin packages.
31016 Wed Jul 27 19:11:53 2005 Minero Aoki <aamine@loveruby.net>
31018 * lib/fileutils.rb (cd): follow :noop option change. (This patch
31019 is contributed by Doug Kearns)
31021 Wed Jul 27 16:25:59 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31023 * parse.y (lambda): Perl6 style -> lambda expression. [NEW]
31024 [VERY EXPERIMENTAL]
31026 Wed Jul 27 10:43:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31028 * gc.c (id2ref): must not assign pointers to long int. use
31029 LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP.
31032 * ruby.h: use LONG_LONG to simplify the change.
31035 Wed Jul 27 10:59:02 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31037 * dir.c (dir_each): rewinddir(3) before iteration.
31040 Wed Jul 27 02:34:58 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31042 * eval.c (rb_f_throw): replace all '0x%lx' by '%p'.
31045 * missing/vsnprintf.c (BSD_vfprintf): '%p' need to handle 64bit
31046 size pointer. [ruby-talk:149553]
31048 Tue Jul 26 22:41:28 2005 Minero Aoki <aamine@loveruby.net>
31050 * ext/ripper/lib/ripper/sexp.rb: new method Ripper.sexp_raw.
31052 * ext/ripper/lib/ripper/sexp.rb (Ripper.sexp): returns more
31053 readable tree. This is suggested by Kirill A. Shutemov.
31055 Tue Jul 26 22:05:12 2005 Minero Aoki <aamine@loveruby.net>
31057 * lib/net/http.rb: merge a patch contributed by Daniel Berger,
31058 with some modification. (RubyForge #2128)
31060 Tue Jul 26 18:11:33 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31062 * ruby.h: support LLP64 model. [ruby-talk:149524]
31064 Tue Jul 26 12:57:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31066 * ext/openssl/openssl_missin.c: include <openssl/engine.h> before
31067 <openssl/x509_vfy.h> to avoid compilation error of mswin32.
31068 suggested by NAKAMURA Usaku.
31070 Mon Jul 25 23:48:55 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31072 * win32/win32.[ch]: (rb_w32_vsnprintf, rb_w32_snprintf): removed.
31074 Mon Jul 25 21:30:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31076 * common.mk: Borland MAKE doesn't look for file names which have paths
31077 from VPATH. fixed: [ruby-dev:26604]
31079 * ruby.h (NORETURN, DEPRECATED): moved just after config.h.
31081 * {win32,wince}/Makefile.sub: vsnprintf() is in missing now.
31083 * {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for ruby
31086 Mon Jul 25 14:10:02 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31088 * ext/tk/lib/multi-tk.rb: fix en-bugged part in the last commit.
31090 Mon Jul 25 13:45:18 2005 NAJIMA Hiroki <najima@mickey.ai.kyutech.ac.jp>
31092 * io.c: check HAVE_SYS_IOCTL_H before including the header.
31095 Sat Jul 23 16:48:12 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31097 * ext/openssl/ossl_engine.c (ossl_engine_s_load): should check
31098 OPENSSL_NO_STATIC_ENGINE.
31100 Sat Jul 23 11:46:30 2005 Tanaka Akira <akr@m17n.org>
31102 * eval.c (rb_fd_select): the all three fd_sets must be long enough for
31103 select. fixed: [ruby-talk:149059]
31105 Sat Jul 23 10:01:41 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31107 * sprintf.c (rb_vsprintf, rb_sprintf): new functions return new String,
31108 using missing/vsnprintf.c. [ruby-dev:26580]
31110 * missing/vsnprintf.c: made the output changeable.
31112 Fri Jul 22 21:06:08 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
31114 * bignum.c (rb_big_eq): reduce isnan(). [ruby-dev:26600]
31116 * numeric.c (flo_eq, flo_gt, flo_ge, flo_lt, flo_le): ditto.
31118 Fri Jul 22 15:02:39 2005 Kouhei Sutou <kou@cozmixng.org>
31120 * lib/rss/rss.rb: moved copyright description to lib/rss.rb.
31122 * lib/rss.rb: added for convenience.
31124 * sample/rss/re_read.rb: added #to_s sample.
31126 * sample/rss/blend.rb: use 'require "rss"' instead of
31128 * sample/rss/list_description.rb: ditto.
31129 * sample/rss/rss_recent.rb: ditto.
31130 * sample/rss/tdiary-plugin/rss-recent.rb: ditto.
31132 * sample/rss/tdiary-plugin/rss-recent.rb: 0.0.6 -> 0.0.7.
31134 Fri Jul 22 14:37:43 2005 Kouhei Sutou <kou@cozmixng.org>
31136 * lib/rss/parser.rb (RSS::Parser#initialize): accept HTTP/FTP
31137 URI and local file path too.
31139 * test/rss/test_parser.rb (RSS::TestParser#test_parse): test
31142 Fri Jul 22 07:01:42 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31144 * ext/tk/tkutil/tkutil.c (tk_conv_args): forget to revert
31145 thread_critical and gc_disable when raise ArgumentError.
31147 * ext/tk/lib/remote-tk.rb: RemoteTkIp doesn't need to include TkUtil.
31149 * ext/tk/tcltklib.c: add TclTkIp#has_mainwindow? method.
31151 * ext/tk/lib/tk.rb: add Tk.has_mainwindow? method.
31153 * ext/tk/lib/multi-tk.rb: add MultiTkIp#has_mainwindow? method.
31155 * ext/tk/lib/remote-tk.rb: add RemoteTkIp#has_mainwindow? method.
31157 * ext/tk/lib/multi-tk.rb: slave IP fail to exit itself when $SAFE==4.
31159 * ext/tk/lib/multi-tk.rb: remove constants from MultiTkIp module to
31160 avoid access from external.
31162 * ext/tk/lib/multi-tk.rb: check_root flag is ignored on slave IPs'
31165 * ext/tk/lib/multi-tk.rb: hang-up Tk.mainloop called on a slave IP
31168 * ext/tk/lib/multi-tk.rb: MultiTkIp#bg_eval_proc doesn't work
31171 * ext/tk/lib/multi-tk.rb: add MultiTkIp#set_cb_error(proc) and
31172 cb_error(exc) to log errors at callbacks on safe slave IPs.
31174 * ext/tk/lib/multi-tk.rb: fail to get an available slave IP object
31175 when call Tk.mainloop in the block which is given to new_* method,
31176 because cannot finish initialize while the root widget is alive.
31178 * ext/tk/lib/multi-tk.rb: fail to control a slave IP when Tk.mainloop
31181 Thu Jul 21 01:00:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
31183 * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:
31185 [ruby-dev:26592] nkf constification
31187 Wed Jul 20 19:18:52 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31189 * io.c (S_ISREG): need to define S_ISREG before it is used first.
31191 Wed Jul 20 18:33:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31193 * io.c (wsplit_p): patch for the environment where
31194 fcntl(F_GETFL, O_NONBLOCK) is not supported. in that case,
31195 set FMODE_WSPLIT without fcntl check. [ruby-dev:26566]
31197 Wed Jul 20 18:07:11 2005 Tanaka Akira <akr@m17n.org>
31199 * io.c (rb_io_ctl): update FMODE_WSPLIT_INITIALIZED and FMODE_WSPLIT
31202 Wed Jul 20 10:04:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31204 * variable.c (rb_class_path): need to adjust snprintf() len for
31205 teminating NUL. [ruby-dev:26581]
31207 Wed Jul 20 03:58:52 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31209 * ext/socket/socket.c: sorry, BeOS also uses HAVE_CLOSESOCKET,
31212 * ext/socket/extconf.rb: should not define HAVE_CLOSESOCKET
31215 Wed Jul 20 03:12:21 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31217 * ext/socket/socket.c: should not undef close() on win32.
31218 it's defined to rb_w32_close(), otherwise handle leaks.
31221 Wed Jul 20 00:48:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31223 * error.c (syserr_initialize): don't use str before StringValue()
31224 check. [ruby-dev:26579]
31226 Tue Jul 19 22:47:29 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31228 * error.c (syserr_initialize): add 1 byte for snprintf() size for
31229 NUL at the end. [ruby-dev:26574]
31231 Tue Jul 19 17:16:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31233 * signal.c (trap): remove sigexit(); handle "EXIT" via sig_exec().
31236 * io.c (rb_io_inspect): replace sprintf() with "%s" format all
31237 over the place by snprintf() to avoid integer overflow.
31239 Tue Jul 19 14:10:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31241 * ext/tk/tcltklib.c: rbtk_eventloop_depth is used as int.
31243 * ext/tk/tcltklib.c: rbtk_pending_exception is tested with
31244 NIL_P, so should assign Qnil instead of 0 (Qfalse).
31246 * ext/tk/tcltklib.c (ip_invoke_real): fixed memory leak when
31249 Tue Jul 19 13:19:46 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31251 * ext/tk/lib/tk/variable.rb: For symmetry, add TkVariable#string. It
31252 returns a string even if the default value type of the TkVariable
31253 object is not "string".
31255 Mon Jul 18 21:39:18 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31257 * eval.c (rb_call0): make the pointer to NODE volatile
31258 instead of NODE itself.
31260 Mon Jul 18 14:32:21 2005 Tanaka Akira <akr@m17n.org>
31262 * eval.c (rb_call0): make body volatile to avoid possible optimization
31266 Mon Jul 18 12:23:27 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31268 * ext/io/wait/wait.c: wrong backport from trunk, and compile error on
31269 platforms fd_set is not a bit set. fixed: [ruby-dev:26562]
31271 Mon Jul 18 09:36:25 2005 Tanaka Akira <akr@m17n.org>
31273 * rubyio.h (FMODE_WSPLIT, FMODE_WSPLIT_INITIALIZED): new constant.
31275 * io.c (wsplit_p): new function.
31276 (io_fflush): split writing data by PIPE_BUF if wsplit_p is true in
31277 multi-threaded mode.
31278 (io_fwrite): ditto.
31281 Mon Jul 18 05:00:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
31283 * ext/nkf/nkf-utf8/nkf.c: import nkf.c 1.73
31286 Sun Jul 17 13:46:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31288 * ext/io/wait/extconf.rb, ext/io/wait/wait.c: Win32 platforms support.
31290 Sat Jul 16 23:43:16 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31292 * enumerator.c (Init_Enumerator): wrong argument specs.
31295 Sat Jul 16 15:52:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31297 * win32/win32.[hc]: constified socket functions. [ruby-dev:26553]
31299 Fri Jul 15 23:59:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31301 * lib/rdoc/parsers/parse_c.rb (handle_class_module): handle a
31302 module enclosed in a built-in module. fixed: [ruby-talk:148239]
31304 * lib/rdoc/parsers/parse_c.rb (find_body): allow macros as methods.
31306 * lib/rdoc/parsers/parse_c.rb (find_call_seq): allow :nodoc: modifier
31307 in C. [ruby-core:04572]
31309 Fri Jul 15 23:20:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31311 * enumerator.c (Init_Enumerator): use an internal directly.
31313 Fri Jul 15 07:58:10 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31315 * lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
31316 sockets should be non-blocking mode. [ruby-dev:26405]
31318 * lib/webrick/utils.rb (WEBrick::Utils.set_non_blocking): new method.
31320 Fri Jul 15 00:11:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31322 * enum.c (enumeratorize): create new enumerator for current method if
31325 * enumerator.c: moved from ext/enumerator.
31327 Thu Jul 14 18:27:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31329 * win32/win32.c (rb_w32_strerror): should return correct message
31330 for ENAMETOOLONG and ENOTEMPTY. (bcc32) [ruby-dev:26533]
31332 * win32/win32.c (rb_w32_strerror): stripped CR LF on the tail.
31333 (bcc32) [ruby-dev:26533]
31335 Thu Jul 14 00:45:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31337 * LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8.
31339 Wed Jul 13 22:44:00 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31341 * parse.y: remove static variables. [ruby-dev:26530]
31343 Wed Jul 13 19:36:29 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31345 * win32/win32.c (rb_w32_mkdir): should set EEXIST (not EACCES)
31346 if file or directory already exists. (bcc32) [ruby-dev:26508]
31348 * win32/win32.c (rb_w32_rmdir): should set ENOTDIR (not EINVAL)
31349 if it is not directory. (bcc32, win32)
31351 * win32/win32.c (rb_w32_rmdir, rb_w32_unlink): restore
31352 FILE_ATTRIBUTE_READONLY flag on function failure.
31354 Wed Jul 13 12:40:00 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31356 * ext/tk/tcltklib.c: TclTkLib.do_one_event doesn't work.
31358 * ext/tk/lib/tk.rb: Tk.thread_update is available.
31360 Tue Jul 12 23:32:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31362 * lib/mkmf.rb: keep curdir unexpanded.
31364 Mon Jul 11 23:50:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31366 * eval.c, intern.h (rb_proc_call, rb_obj_method, rb_method_call):
31369 * ext/enumerator/enumerator.c (enumerator_with_index): [EXPERIMENTAL]
31370 added a new method Enumerator#with_index. [ruby-talk:147728]
31372 Mon Jul 11 08:31:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31374 * regparse.c (fetch_escaped_value): mask values following \c in
31375 regexp. fixed: [ruby-dev:26500]
31377 Sun Jul 11 05:18:17 2005 Michael Neumann <mneumann@ruby-lang.org>
31379 * lib/xmlrpc/server.rb (XMLRPC::Server): Switch from GServer over to
31380 WEBrick. This makes file lib/xmlrpc/httpserver.rb obsolete (at least it is
31381 no further used by the XML-RPC library).
31383 Mon Jul 11 02:50:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31385 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
31386 mistook to merge the patch of [ruby-dev:26235] at
31389 Sun Jul 10 23:58:04 2005 Tanaka Akira <akr@m17n.org>
31391 * lib/pathname.rb (Pathname#unlink): try Dir.unlink first to
31392 avoid unlink a directory by root.
31393 cf. [ruby-dev:26237]
31395 Sun Jul 10 12:47:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31397 * lib/debug.rb (debug_command): added a deficient format specifier.
31398 fixed: [ruby-core:05419]
31400 Sat Jul 9 22:02:37 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
31402 * ext/win32ole/win32ole.c (ole_method_dispid): convert dispid
31403 in Ruby and C by INT2NUM and NUM2INT.
31405 * ext/win32ole/win32ole.c (ole_invoke2): ditto.
31407 * ext/win32ole/test/testWIN32OLE.rb: ditto.
31409 * ext/win32ole/test/testOLEMETHOD.rb: ditto.
31411 Fri Jul 8 15:45:04 2005 Kouhei Sutou <kou@cozmixng.org>
31413 * lib/rss/rss.rb (RSS::VERSION): 0.1.4 -> 0.1.5.
31415 * test/rss/test_version.rb (RSS::TestVersion#test_version):
31418 * lib/rss/0.9.rb (RSS::Rss::Channel::Item::Category):
31419 domain attribute of <category> is optional. Thanks to
31420 Chris Lee <clee@kde.org>.
31422 * test/rss/test_parser.rb (RSS::TestParser#test_category20):
31423 adjusted test case.
31425 Wed Jul 6 18:45:53 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31427 * object.c (rb_obj_pattern_match): now returns nil.
31430 Mon Jul 4 14:35:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31432 * sample/svr.rb: service can be stopped by ill-behaved client; use
31435 Mon Jul 4 13:25:21 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31437 * missing/erf.c: original erf.c by prof. Okumura is confirmed to
31438 be public domain. reverted BSD implementation.
31440 Wed Jul 6 11:15:21 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31442 * win32/win32.c (open_ifs_socket): new function.
31444 * win32/win32.c (StartSockets, rb_w32_socket): use open_ifs_socket()
31445 instead of socket().
31446 all changes are derived from [ruby-core:5388].
31448 Wed Jul 6 00:15:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
31450 * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:
31451 imported nkf.c 1.70 (support UTF-8-MAC)
31453 * ext/nkf/lib/kconv.rb: add :utf8mac and :internalunicode
31455 Tue Jul 5 23:44:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31457 * instruby.rb: expand source library path.
31459 Tue Jul 5 23:27:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31461 * array.c (sort_2): get rid of yet another bcc's bug.
31462 fixed: [ruby-core:05152]
31464 * eval.c (rb_thread_save_context): must not switch contexts during
31465 re-allocating stack. fixed: [ruby-core:05219]
31467 Tue Jul 5 15:15:10 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31469 * ext/tk/tkutil.c: fix typo.
31471 Tue Jul 5 14:52:56 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31473 * ext/tk/tcltklib.c: bug fix on treating Unicode strings.
31475 * ext/tk/tcltklib.c: add methods to treat encoding mode.
31477 * ext/tk/MANUAL_tcltklib.eng: add description of TclTkLib#encoding,
31478 encoding_system, and so on.
31480 * ext/tk/MANUAL_tcltklib.eucj: ditto.
31482 * ext/tk/tkutil/tkutil.c: fail to create a Tcl's list string from
31483 an array including multiple kind of encoded strings.
31485 * ext/tk/lib/tk.rb: ditto.
31487 * ext/tk/lib/multi-tk.rb: 2nd arg of _{to|from}UTF8 is omissible.
31489 * ext/tk/lib/remote-tk.rb: ditto.
31491 * ext/tk/lib/tk.rb: override TclTkLib#encoding and encoding= to
31492 use TkCore::INTERP.encoding and encoding=.
31494 * ext/tk/lib/tk.rb: when "require 'tk'" and $KCODE=='NONE', check
31495 DEFAULT_TK_ENCODING to decide Ruby/Tk's system encoding mode.
31497 * ext/tk/lib/tk/encodedstr.rb: check both of Tk.encoding and
31498 Tk.encoding_system. Tk.encoding has higher priority.
31500 * ext/tk/lib/tk/optiondb.rb: ditto.
31502 * ext/tk/lib/tk/spinbox.rb: ditto.
31504 * ext/tk/lib/tk/validation.rb: ditto.
31506 * ext/tk/lib/tk/namespace.rb: arguemnts for TclTkIp#_merge_tklist
31507 should be UTF-8 strings.
31509 Mon Jul 4 19:29:32 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31511 * lib/set.rb: test change to follow revision 1.28. (duck typing?)
31513 Mon Jul 4 11:23:50 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31515 * test/{dbm,gdbm,sdbm}/test_{dbm,gdbm,sdbm}.rb: skip some tests
31516 which using fork on fork-less platforms.
31518 Sun Jul 3 23:26:30 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
31520 * test/wsdl/document/test_rpc.rb: compare formatted time string of
31521 Time objects instead of comparing Time objects itself to avoid
31522 unintended conflict of usec part. [ruby-dev:26220]
31524 Sat Jul 2 22:41:04 2005 Tanaka Akira <akr@m17n.org>
31526 * ext/socket/socket.c (unix_send_io, unix_recv_io): support x86-64 and
31529 Sat Jul 2 17:06:23 2005 Tanaka Akira <akr@m17n.org>
31531 * defines.h (FLUSH_REGISTER_WINDOWS): defined for IA64.
31532 (flush_register_windows): declare flush_register_windows.
31534 * eval.c (flush_register_windows): new function.
31536 * ruby.h (NOINLINE): move up to be effective in defines.h.
31538 Sat Jul 2 15:19:41 2005 Tanaka Akira <akr@m17n.org>
31540 * configure.in: check select_large_fdset.
31542 * eval.c: use select_large_fdset to support large file descriptors
31543 on Solaris. [ruby-dev:26404]
31545 Fri Jul 1 17:55:08 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31547 * bignum.c (rb_big_neg): may be accessing bogus pointer value.
31549 Fri Jul 1 15:50:12 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31551 * missing/erf.c: need to include some headers for some platforms.
31553 * win32/win32.h (copysign, scalb): define for compatibility with
31554 other platforms. [ruby-dev:26430]
31556 Fri Jul 1 15:37:42 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31558 * missing/crypt.c: modified to make it compilable on platforms
31559 other than BSD. [ruby-dev:26430]
31561 * missing/erf.c: ditto. code from <exp.c> merged.
31563 Fri Jul 1 12:44:56 2005 Tanaka Akira <akr@m17n.org>
31565 * lib/open-uri.rb (OpenURI.open_http): refine post_connection_check
31568 Fri Jul 1 11:34:08 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31570 * missing/crypt.c: replaced with 4.4BSD version.
31572 * missing/erf.c: ditto.
31574 * missing/vsnprintf.c: removed the third provision from the old
31575 BSD license. [ruby-core:05177]
31577 Fri Jul 1 01:45:21 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31579 * enum.c (enum_min, enum_max): must not return Qundef.
31580 fixed: [ruby-core:05299]
31582 Fri Jul 1 00:18:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31584 * lib/delegate.rb (Delegator::respond_to): respond_to? must check
31585 destination object. [ruby-talk:146894]
31587 Thu Jun 30 23:52:12 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31589 * signal.c (trap): non-string trap hander was ignored.
31590 fixed: [ruby-dev:26417]
31592 Thu Jun 30 19:00:21 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
31594 * lib/irb/ruby-lex.rb (RubyLex::identify_number): alternative implements
31595 for [ruby-dev:26410]. And support a numeric form of 0d99999.
31597 Thu Jun 30 17:28:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31599 * lib/irb/ruby-lex.rb (RubyLex::identify_number): should not treat
31600 plain zero as an octal number. [ruby-dev:26410]
31602 Thu Jun 30 15:13:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31604 * eval.c (rb_eval): pre-evaluate argument for unambiguous
31605 evaluation order. [ruby-dev:26383]
31607 Thu Jun 30 14:48:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31609 * lib/net/http.rb (Net::HTTP#connect, Net::HTTP#request): should
31610 not send proxy username and password to origin servers.
31613 * lib/net/http.rb (Net::HTTP::ProxyDelta#edit_path): should not
31614 send HTTPS scheme URL to origine servers. [ruby-dev:25689]
31616 Thu Jun 30 09:53:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31618 * lib/delegate.rb (Delegator::method_missing): forward unknown
31619 method to the destination. suggested by
31620 <christophe.poucet@gmail.com>. [ruby-talk:146776]
31622 Wed Jun 29 00:03:20 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
31624 * regparse.c (fetch_token): avoid warning of unused goto tag.
31627 Tue Jun 28 21:59:29 2005 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
31629 * dir.c, eval.c, parse.y, process.c, ruby.c: avoid warning "unused
31630 variable" [ruby-dev:26387]
31632 * dir.c (glob_helper): avoid warning "enumeration value `RECURSIVE'
31633 not handled in switch" [ruby-dev:26392]
31635 Tue Jun 28 01:52:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
31637 * ext/nkf/lib/kconv.rb: add Kconv::VERSION
31638 * ext/nkf/lib/kconv.rb (conv): can process arrayed options
31639 * ext/nkf/nkf-utf8/nkf.c: imported Revision 1.69
31640 * ext/nkf/nkf-utf8/utf8tbl.c: imported Revision 1.9
31642 Sat Jun 25 23:30:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31644 * process.c (detach_process_watcher): terminate process watcher
31645 thread right after rb_waitpid() succeed. [ruby-talk:146430]
31647 Sat Jun 25 17:12:20 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31649 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_query): should
31650 discard if key=val pair is empty. patch from Gary Wright.
31652 Sat Jun 25 15:49:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31654 * enum.c (enum_min, enum_max, enum_min_by, enum_max_by): do not ignore
31655 nil as the first element.
31657 Sat Jun 25 15:13:54 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31659 * lib/set.rb (Set#==): [ruby-dev:25206] (ported from ruby_1_8 branch)
31661 Sat Jun 25 11:37:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
31663 * ext/nkf/lib/kconv.rb: remove constants
31664 Iconv_Shift_JIS, Uconv_EUC_JP, Iconv_UTF8
31665 * ext/nkf/lib/kconv.rb: add module functions to Kconv
31666 conv, {eucjp, shiftjis, utf8}?, guess_as_symbol
31667 * ext/nkf/lib/kconv.rb: add instance methods to String
31668 conv, {eucjp, shiftjis, utf8}?
31669 * ext/nkf/lib/kconv.rb: add aliases Kconv.to_* and String#to_*
31671 Fri Jun 24 17:00:00 2005 Shigeo Kobayashi <shigeo@tinyforest.jp>
31673 * ext/bigdecimal/bigdecimal.c: patch from "NATORI Shin"
31674 (u-tokyo.ac.jp) applied to fix rounding bug.
31676 Fri Jun 24 13:17:45 2005 akira yamada <akira@ruby-lang.org>
31678 * lib/uri/common.rb, lib/uri/generic.rb: fixed typo in documents and
31679 replaced some existent domain name with "example.com".
31681 Fri Jun 24 12:23:19 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31683 * ext/tk/lib/tk.rb: fix typo on Tk.grid_propagate.
31685 * ext/tk/lib/tk.rb: Tk.event_generate and TkWindow#event_generate
31686 accept TkEvent::Event object as context argument.
31688 * ext/tk/lib/tk/event.rb: add TkEvent::Event#valid_fields and
31689 valid_for_generate to get field parameters of event_generate.
31691 Thu Jun 23 23:55:59 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31693 * runruby.rb: should load built rbconfig.rb.
31695 Thu Jun 23 16:53:15 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31697 * ext/tk/lib/tk/canvastag.rb: TkcGroup.new cannot include given items.
31698 TkcGroup#exclude calls wrong method.
31699 Add alias TkcGroup#add [ruby-talk:146049].
31701 * ext/tk/lib/tk/canvas.rb: TkCanvas#dtag and some subcommands of
31702 TkCanvas#addtag fail to treat a TkcTag argument.
31704 * ext/tk/lib/tk/event.rb: add TkEvent::Event#generate to help to send
31705 current event to other widgets.
31707 Mon Jun 20 18:44:04 2005 Tanaka Akira <akr@m17n.org>
31709 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): DUMMY_SETJMP is replaced
31710 because setjmp is not enough to fix getcontext and SPARC register
31713 Mon Jun 20 17:15:51 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31715 * ext/dbm/dbm.c (fdbm_closed): new method DBM#closed?
31717 * ext/gdbm/gdbm.c (fgdbm_closed): new method GDBM#closed?
31719 * ext/sdbm/init.c (fsdbm_closed): new method SDBM#closed?
31721 * test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb
31722 (teardown): close all db objects before deleting data files.
31724 * win32/win32.{ch} (unlink): hook runtime function to change
31725 file attribute before unlinking.
31726 merge from 1.8, see [ruby-dev:26360]
31728 Mon Jun 20 02:15:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31730 * gc.c (define_final): document fix: finalizers never get called
31731 before target object is destroyed.
31733 Mon Jun 20 01:26:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
31735 * ext/openssl/openssl_missing.c, ext/openssl/ossl.h,
31736 ext/openssl/ossl_asn1.c, ext/openssl/ossl_bio.c,
31737 ext/openssl/ossl_pkcs12.h, ext/openssl/ossl_x509req.c: avoid
31738 compiler warnings. suggested by Michal Rokos.
31740 Sun Jun 20 00:22:02 2005 Michael Neumann <mneumann@ruby-lang.org>
31742 * lib/xmlrpc/utils.rb: Patch by Nobuhiro IMAI fixes the following
31743 problem: Default value modification on
31744 Module#public_instance_methods (false -> true) breaks
31745 s.add_handler(XMLRPC::iPIMethods("sample"), MyHandler.new) style
31746 security protection.
31748 * lib/xmlrpc/client.rb: Aliased XMLRPC::Client#new2 as
31749 XMLRPC::Client#new_from_uri, and #new3 as #new_from_hash.
31751 Sun Jun 19 14:09:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31753 * gc.c (run_final): reduce unnecessary object allocation during
31756 * gc.c (rb_gc_call_finalizer_at_exit): deferred finalizers list should
31757 be cleared before calling them. fixed: [ruby-talk:145790]
31759 Sat Jun 18 01:15:36 2005 Shugo Maeda <shugo@ruby-lang.org>
31761 * ext/readline/readline.c (readline_readline): do not set
31764 * ext/readline/readline.c (readline_s_set_input): new method.
31766 * ext/readline/readline.c (readline_s_set_output): new method.
31768 * lib/irb/input-method.rb: set Readline.input and Readline.output.
31770 Fri Jun 17 13:01:40 2005 Tanaka Akira <akr@m17n.org>
31772 * lib/time.rb (Time.parse): fix previous leap seconds support.
31773 (Time.rfc2822): ditto.
31774 (Time.xmlschema): ditto.
31776 Thu Jun 16 15:41:32 2005 NAKAMURA Usaku <usa@ruby-lang.org>
31778 * ruby.c (load_file): '!' is already read. reported by gotoyuzo.
31780 Thu Jun 16 15:09:38 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31782 * ext/tk/tcltklib.c (ip_rb_threadVwaitCommand): Tcl_Release
31785 Thu Jun 16 13:34:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31787 * ext/tk/lib/tk.rb: add Tk.getMultiple{Open|Save}File() which return
31788 an Array of selected files.
31790 Thu Jun 16 12:53:24 2005 Tanaka Akira <akr@m17n.org>
31792 * lib/time.rb (Time.parse): "Fri Jan 1 08:59:60 +0900 1999" was
31793 parsed as "Fri Jan 01 09:00:00 JST 1999" even on an environment
31794 which supports leap seconds.
31795 (Time.rfc2822): ditto.
31796 (Time.xmlschema): ditto.
31798 Thu Jun 16 00:13:41 2005 Tanaka Akira <akr@m17n.org>
31800 * lib/resolv.rb (Resolv::DNS::Resource#ttl): new attribute.
31801 (Resolv::DNS::Resource#==): ignore @ttl.
31802 (Resolv::DNS::Resource#hash): ditto.
31803 (Resolv::DNS::Message::MessageDecoder#get_rr): save TTL in a
31805 based on [ruby-core:5190] by Eric Hodel.
31807 Wed Jun 15 18:26:39 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31809 * ext/tk/lib/tk.rb: support "tk inactive" sub-command [for Tcl/Tk8.5a3]
31811 * ext/tk/lib/tk/namespace.rb: support "namespace path" sub-command and
31812 'namespace ensemble' sub-command [for Tcl/Tk8.5a3]
31814 Tue Jun 14 02:02:43 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31816 * ext/tk/tkutil/tkutil.c: add TkUtil::CallbackSubst.subst_arg(m, ...)
31817 & _define_attribute_aliases(hash) to get substitution-argument from
31818 attributes (e.g. subst_arg(:x,:y,:num,:button) --> "%x %y %b %b ").
31820 * ext/tk/lib/tk/event.rb: use _define_attribute_aliases().
31822 Mon Jun 13 13:03:08 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
31824 * hash.c (ruby_setenv): fixed SEGV. [ruby-dev:26186]
31826 Mon Jun 13 01:54:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31828 * signal.c (sigexit): call rb_thread_signal_exit() instead of
31829 rb_exit(). [ruby-dev:26347]
31831 * eval.c (rb_thread_signal_exit): a new function to exit on main
31834 * eval.c (rb_thread_switch): exit status should be retrieved from
31837 * eval.c (rb_f_exit): ensure exit(0) should call
31838 exit(EXIT_SUCCESS).
31840 Mon Jun 13 01:20:02 2005 Tanaka Akira <akr@m17n.org>
31842 * eval.c (rb_gc_mark_threads): curr_thread may not be part of the
31843 thread list. [ruby-dev:26312]
31845 Sat Jun 11 22:34:44 2005 Minero Aoki <aamine@loveruby.net>
31847 * parse.y: missing arg_paren event. This patch is contributed by
31848 Mitchell N Charity.
31850 Fri Jun 10 23:55:17 2005 Tanaka Akira <akr@m17n.org>
31852 * eval.c (unknown_node): show more information. [ruby-dev:26196]
31854 Fri Jun 10 23:35:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31856 * missing/mkdir.c: remove. [ruby-core:05177]
31858 Fri Jun 10 22:54:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31860 * missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179]
31862 Thu Jun 9 23:58:12 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31864 * ext/Win32API/Win32API.c (Win32API_Call): disable global
31865 optimization. fixed: [ruby-core:05143]
31867 Thu Jun 9 23:35:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31869 * enum.c (enum_inject): default the result value to Qundef to use
31870 first element as initial value if not given.
31872 Thu Jun 9 19:55:41 2005 Tanaka Akira <akr@m17n.org>
31874 * eval.c (ruby_longjmp): new macro to call longjmp, setcontext, etc.
31875 (ruby_setjmp): new macro to call setjmp, getcontext, etc.
31876 (ruby_setjmp): call setjmp before getcontext to avoid IA64 register
31880 * gc.c (Init_stack): remove IA64_MAGIC_STACK_LIMIT.
31882 Thu Jun 9 18:24:16 2005 Tanaka Akira <akr@m17n.org>
31884 * configure.in, eval.c, gc.c: use libunwind only on HP-UX.
31887 Thu Jun 9 14:46:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31889 * hash.c (env_aset): do not treat nil as key-removing value.
31892 * parse.y (method_call): allow aref expression ([]) to take a
31895 * parse.y (block_dup_check): a function to check duplication of
31896 a block argument and an actual block.
31898 Thu Jun 9 11:55:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31900 * lib/delegate.rb (SimpleDelegator::__setobj__): need check for
31901 recursive delegation. [ruby-core:04940]
31903 Thu Jun 9 11:50:43 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31905 * lib/cgi.rb: add underscore aliases CGI::escape_html,
31906 CGI::unescape_html, CGI::escape_element, CGI::unescape_element.
31909 Wed Jun 8 18:47:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31911 * misc/ruby-mode.el (ruby-expr-beg): fix looking point drift.
31913 Wed Jun 8 12:25:59 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31915 * array.c (rb_ary_nitems): add the block feature to Array#nitems.
31916 suggested by Bertram Scharpf <lists@bertram-scharpf.de> in
31917 [ruby-talk:134083].
31919 Wed Jun 8 11:11:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31921 * bignum.c (get2comp): revert all prior changes, and calculate
31922 proper 2's complement for negative numbers.
31924 Wed Jun 8 08:33:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31926 * enum.c (enum_min_by, enum_max_by): return nil if no iteration.
31927 fixed: [ruby-dev:26245]
31929 * eval.c (rb_need_block): ensure a block is given.
31931 * eval.c (backtrace): skip successive frames sharing same node.
31933 Wed Jun 8 01:27:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31935 * bignum.c (bignorm): fixed a bug in normalizing negative numbers
31936 reported from Honda Hiroki <hhonda@ipflex.com>. normalizing
31937 should not trim leading zeros from negative numbers.
31939 * bignum.c (rb_cstr_to_inum): must remove leading zeros for this
31942 Wed Jun 8 00:15:08 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31944 * ext/socket/socket.c (ruby_getaddrinfo__aix): merged a patch from
31945 KUBO Takehiro <kubo at jiubao.org> to support AIX. [ruby-list:40832]
31947 Wed Jun 8 00:09:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31949 * lib/yaml/rubytypes.rb (Array::to_yaml): merged a patch from
31950 Tilman Sauerbeck <tilman at code-monkey.de>. [ruby-core:05055]
31952 * lib/yaml/rubytypes.rb (Hash::to_yaml): ditto.
31954 Wed Jun 8 00:00:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31956 * ext/curses/curses.c (curses_insertln): merged a patch from
31957 TAKAHASHI Tamotsu <ttakah at lapis.plala.or.jp>. [ruby-ext:02305]
31959 Tue Jun 7 19:34:15 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31961 * lib/irb/init.rb (IRB::IRB.rc_file_generators): more flexible
31962 IRB.rc_file_generators. [ruby-core:05163]
31964 Tue Jun 7 18:39:31 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31966 * lib/thread.rb: RDoc documentation from Eric Hodel
31967 <drbrain@segment7.net> added. [ruby-core:05148]
31969 Tue Jun 7 18:30:04 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
31971 * lib/mkmf.rb (create_makefile): add .SUFFIXES from depend file.
31972 fixed: [ruby-dev:26294]
31974 Tue Jun 7 17:20:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31976 * parse.y (parser_yylex): allow ';;' to be block terminator in
31977 place of 'end'. [highly experimental]
31979 * misc/ruby-mode.el (ruby-block-end-re): allow ';;' to be a
31980 negative indent trigger. [highly experimental]
31982 * parse.y (parser_yylex): small error fixed.
31984 Tue Jun 7 16:45:49 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31986 * parse.y (parser_yylex): "respond_to?:foo" should be interpreted
31987 as "respond_to? :foo" at the command level. [ruby-talk:144303]
31989 Tue Jun 7 16:32:53 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
31991 * sprintf.c (rb_f_sprintf): raise exception on debug mode (-d),
31992 not verbose mode (-v/-w). [ruby-core:05123]
31994 * sprintf.c (rb_f_sprintf): warn always on verbose mode.
31996 Tue Jun 7 10:30:49 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
31998 * ext/tk/lib/multi-tk.rb: slave-ip fails to call procedures
31999 delegated by master-ip.
32001 Mon Jun 6 16:35:18 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32003 * ext/ripper/depend: add .y to .SUFFIXES for nmake.
32005 Sun Jun 5 23:00:35 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32007 * ext/tk/lib/tk/console.rb: create console when required
32009 * ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console
32011 Sun Jun 5 10:23:52 2005 Tanaka Akira <akr@m17n.org>
32013 * signal.c (ruby_signal): don't set SA_RESTART.
32016 Sat Jun 4 14:55:18 2005 Tanaka Akira <akr@m17n.org>
32018 * test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.
32020 * test/gdbm/test_gdbm.rb: merged from ext/gdbm/testgdbm.rb.
32022 * test/sdbm/test_sdbm.rb: renamed from ext/sdbm/testsdbm.rb with
32023 modification to use test/unit.
32025 Fri Jun 3 23:23:02 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32027 * intern.h (rb_fdset_t): deal with fd bit sets over FD_SETSIZE.
32028 fixed: [ruby-dev:26187]
32030 * eval.c (rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr,
32031 rb_fd_isset, rb_fd_copy): ditto.
32033 * io.c (rb_io_wait_readable, rb_io_wait_writable, rb_f_select): ditto.
32035 * ext/io/wait/wait.c (io_wait): ditto.
32037 * ext/socket/socket.c (wait_connectable, unix_recv_io): ditto.
32039 Fri Jun 3 14:06:12 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32041 * ext/tk/lib/multi-tk.rb: fix typo.
32043 Thu Jun 2 23:42:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32045 * parse.y: pragma support on ripper. [ruby-dev:26266]
32047 Thu Jun 2 00:02:16 2005 Minero Aoki <aamine@loveruby.net>
32049 * struct.c: accessing >10 member caused segmentation fault.
32052 * test/ruby/test_struct.rb: test it.
32054 Wed Jun 1 11:30:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32056 * bcc32/Makefile.sub: can use single quote character in DESTDIR.
32059 * bcc32/Makefile.sub: Dir.glob in 1.9 doesn't treat \ as path separator.
32062 Wed Jun 1 00:11:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32064 * parse.y (method_call): new experiment: "(expr)(args...)" to
32065 invoke "expr.call(args...)". [EXPERIMENTAL]
32067 Tue May 31 23:43:41 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32069 * parse.y (command): revert implicit "call" for local variables.
32071 Tue May 31 15:52:45 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32073 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should
32074 break the loop if the socket reached to EOF. [ruby-talk:142285]
32076 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): send response
32077 without reading the whole request body if keep-alive is diabled.
32080 Mon May 30 23:48:29 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32082 * ext/tk/lib/tk/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk
32085 * ext/tk/lib/tk/msgcat.rb: ditto.
32087 * ext/tk/lib/tk/winpkg.rb: ditto.
32089 * ext/tk/lib/tkextlib/*: ditto.
32091 Sat May 28 16:39:21 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32093 * test/openssl/test_x509store.rb: add test for expired CRL
32094 and refine some assertions.
32096 Sat May 28 05:15:44 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32098 * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_time): should
32099 not set internal flag directry.
32101 Sat May 28 02:00:11 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32103 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
32104 ENV["REQUEST_URI"] is better to get correct Request-URI
32105 than ENV["SCRIPT_NAME"] + ENV["PATH_INFO"]. [ruby-dev:26235]
32107 Fri May 27 16:32:04 2005 WATANABE Hirofumi <eban@ruby-lang.org>
32109 * lib/mkmf.rb: use the semicolon as the path separator
32110 in the environment of MSYS. fixed: [ruby-dev:26232]
32112 Thu May 26 20:31:21 2005 Minero Aoki <aamine@loveruby.net>
32114 * lib/fileutils.rb (remove_entry_secure): add documentation.
32116 * lib/fileutils.rb (remove_entry_secure): should not invoke
32117 unlink(2) against a directory.
32119 Thu May 26 08:29:19 2005 Akiyoshi, Masamichi <akiyoshi@hp.com>
32121 * vms/vmsruby_private.c, vms/vmsruby_private.h: private routines
32122 for VMS port are added.
32124 * eval.c (ruby_init): change to call VMS private intialization routine.
32126 Thu May 26 07:39:07 2005 Minero Aoki <aamine@loveruby.net>
32128 * lib/fileutils.rb (rm_r): use lchown(2), not chown(2).
32131 * lib/fileutils.rb (cd): remove :noop option. (feature change)
32133 * lib/fileutils.rb (cp_r): should copy symlink as symlink, for
32134 also tree root. (feature change)
32136 * lib/fileutils.rb (cp_r): new option :dereference_root.
32138 * lib/fileutils.rb: new method remove_entry.
32140 * lib/fileutils.rb: new method remove_entry_secure.
32142 * lib/fileutils.rb: add documentation.
32144 Thu May 26 06:08:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32146 * ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_list
32148 Wed May 25 20:06:27 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32150 * ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJIS
32151 strings. To avoid the trouble, add arguments to control converting
32152 encoding, and do split on a UTF8 string.
32154 * ext/tk/lib/multi-tk.rb: modify to attend encoding.
32156 * ext/tk/lib/remote-tk.rb: ditto.
32158 * ext/tk/lib/tk/itemconfig.rb: ditto.
32160 * ext/tk/lib/tk/listbox.rb: ditto.
32162 * ext/tk/lib/tk/namespace.rb: ditto.
32164 * ext/tk/lib/tk/panedwindow.rb: ditto.
32166 * ext/tk/lib/tk/text.rb: ditto.
32168 * ext/tk/lib/tk/textmark.rb: ditto.
32170 * ext/tk/lib/tk/texttag.rb: ditto.
32172 * ext/tk/lib/tk/variable.rb: ditto.
32174 * ext/tk/lib/tk/winfo.rb: ditto.
32176 * ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb: ditto.
32178 * ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: ditto.
32180 * ext/tk/lib/tk.rb: add TkWindow#lower_window/raise_window and
32181 Tk#lower_window/raise_window by reason of method-name conflict
32183 * ext/tk/lib/tk/canvas.rb: bug fix on TkCanvas#delete when given
32184 non-TkcItem arguments.
32186 * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto.
32188 Wed May 25 19:48:12 2005 Minero Aoki <aamine@loveruby.net>
32190 * lib/fileutils.rb (rm_r): does chown(2). [ruby-dev:26199]
32192 Wed May 25 12:59:48 2005 Tanaka Akira <akr@m17n.org>
32194 * lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content of
32195 quoted-string should be zero or more characters.
32197 Tue May 24 23:42:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32199 * numeric.c (fix_pow): support Fixnum ** Float case directly
32200 without coercing. [ruby-talk:142697] [ruby-talk:143054]
32202 Tue May 24 16:57:24 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32204 * ruby.c (require_libraries): caused SEGV when continuation jumped
32205 in to the required library code.
32207 Tue May 24 17:45:59 2005 Shugo Maeda <shugo@ruby-lang.org>
32209 * test/readline/test_readline.rb: do not test libedit.
32210 fixed: [ruby-dev:26217]
32212 Tue May 24 06:45:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32214 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): string
32215 literals to be matched non-greedy.
32217 Tue May 24 00:39:14 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
32219 * test/soap/calc: method name 'set' was able to crash with a class Set.
32222 * test/wsdl/document/test_rpc.rb: dateTime comparison failed under
32223 TZ=right/Asia/Tokyo (with leap second.) [ruby-dev:26208]
32225 Mon May 23 16:23:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32227 * ext/tk/extconf.rb: Framework support on MacOS X Tiger.
32229 * ext/tk/README.tcltklib: add description of Framework support options.
32231 Mon May 23 15:07:34 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32233 * win32/Makefile.sub ($(PROGRAM)): add dependency on $(LIBRUBY_SO).
32236 Mon May 23 12:21:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32238 * re.c (make_regexp): should not return junk address during
32239 compile time. [ruby-dev:26206]
32241 Sun May 22 21:54:06 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
32243 * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.
32245 == SOAP client and server ==
32247 === for both client side and server side ===
32249 * improved document/literal service support.
32250 style(rpc,document)/use(encoding, literal) combination are all
32251 supported. for the detail about combination, see
32252 test/soap/test_style.rb.
32254 * let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to
32255 WSDL as well as obj2soap. closes #70.
32257 * let SOAP::Mapping::Object handle XML attribute for doc/lit service.
32258 you can set/get XML attribute via accessor methods which as a name
32259 'xmlattr_' prefixed (<foo name="bar"/> -> Foo#xmlattr_name).
32261 === client side ===
32263 * WSDLDriver capitalized name operation bug fixed. from
32264 1.5.3-ruby1.8.2, operation which has capitalized name (such as
32265 KeywordSearchRequest in AWS) is defined as a method having
32266 uncapitalized name. (converted with GenSupport.safemethodname
32267 to handle operation name 'foo-bar'). it introduced serious
32268 incompatibility; in the past, it was defined as a capitalized.
32269 define capitalized method as well under that circumstance.
32271 * added new factory interface 'WSDLDriverFactory#create_rpc_driver'
32272 to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver
32273 are merged). 'WSDLDriverFactory#create_driver' still creates
32274 WSDLDriver for compatibility but it warns that the method is
32275 deprecated. please use create_rpc_driver instead of create_driver.
32277 * allow to use an URI object as an endpoint_url even with net/http,
32280 === server side ===
32282 * added mod_ruby support to SOAP::CGIStub. rename a CGI script
32283 server.cgi to server.rb and let mod_ruby's RubyHandler handles the
32284 script. CGIStub detects if it's running under mod_ruby environment
32287 * added fcgi support to SOAP::CGIStub. see the sample at
32288 sample/soap/calc/server.fcgi. (almost same as server.cgi but has
32289 fcgi handler at the bottom.)
32291 * allow to return a SOAPFault object to respond customized SOAP fault.
32293 * added the interface 'generate_explicit_type' for server side
32294 (CGIStub, HTTPServer). call 'self.generate_explicit_type = true'
32295 if you want to return simplified XML even if it's rpc/encoded
32300 === WSDL definition ===
32302 * improved XML Schema support such as extension, restriction,
32303 simpleType, complexType + simpleContent, ref, length, import,
32306 * reduced "unknown element/attribute" warnings (warn only 1 time for
32309 * importing XSD file at schemaLocation with xsd:import.
32311 === code generation from WSDL ===
32313 * generator crashed when there's '-' in defined element/attribute
32316 * added ApacheMap WSDL definition.
32318 * sample/{soap,wsdl}: removed.
32320 Sun May 22 19:11:35 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32322 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):
32323 should initialize session id context. [ruby-core:4663]
32325 * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): add session id support.
32327 Sun May 22 12:30:58 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32329 * intern.h, parse.y (ruby_pragma): removed. fixed: [ruby-dev:26198]
32331 * parse.y (parser_pragma): pragma name was ignored.
32333 Sun May 22 02:39:57 2005 Minero Aoki <aamine@loveruby.net>
32335 * lib/fileutils.rb (rm_r): new option :secure to avoid
32336 time-to-check-to-time-to-use security problem. [ruby-dev:26100]
32338 * lib/fileutils.rb (remove_file, remove_dir): try chmod(700) only
32341 * lib/fileutils.rb: does not depend on find.rb.
32343 * lib/fileutils.rb: new method chmod_R.
32345 * lib/fileutils.rb (chown_R): did not work.
32347 Sat May 21 10:23:21 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32349 * bcc32/Makefile.sub: tds files were not deleted when DESTDIR
32350 included '\' path delimiter. [ruby-dev:26193]
32352 Fri May 20 15:52:18 2005 Shugo Maeda <shugo@ruby-lang.org>
32354 * ext/readline/readline.c (readline_attempted_completion_function):
32355 return 2 items if completion_proc returns only 1 item (for libedit).
32357 Fri May 20 01:24:33 2005 Shugo Maeda <shugo@ruby-lang.org>
32359 * ext/readline/extconf.rb: check rl_vi_editing_mode() and
32360 rl_emacs_editing_mode().
32362 Thu May 19 23:33:09 2005 Shugo Maeda <shugo@ruby-lang.org>
32364 * ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]
32366 * ext/readline/extconf.rb: added new option --enable-libedit.
32368 * test/readline/test_readline.rb: added assertions for
32371 * lib/irb/input-method.rb: do not use Readline::HISTORY.pop.
32373 Wed May 18 23:42:25 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32375 * error.c (exc_exception): reverted to call Exception#initialize
32376 directly. fixed: [ruby-dev:26177]
32378 Wed May 18 17:38:51 2005 WATANABE Hirofumi <eban@ruby-lang.org>
32380 * dir.c (glob_helper): check whether path is "" before calling
32381 do_opendir. [ruby-dev:26183]
32383 Wed May 18 13:40:48 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32385 * win32/win32.c (NtInitialize): fix typo.
32387 Wed May 18 11:07:47 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32389 * dir.c (glob_helper): get rid of using String. [ruby-dev:26180]
32391 * eval.c (ruby_options), win32/win32.c (NtInitialize): move argument
32392 intialization back. [ruby-dev:26180]
32394 Tue May 17 11:49:18 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32396 * win32/win32.c (unixtime_to_filetime): use localtime() instead of
32397 gmtime() when using FileLocalTimeToFileTime().
32399 Mon May 16 22:42:52 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32401 * win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
32402 to get rid of redefinition warnings on mingw.
32404 * class.c (rb_class_init_copy): singleton class is disallowed to copy,
32405 from its definition. fixed: [ruby-talk:142749]
32407 * parse.y (pragma_encoding): add prototype to suppress false warning
32410 * process.c (proc_spawn_v): use rb_w32_aspawn on Win32.
32412 Mon May 16 03:29:01 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32414 * win32/win32.{h,c}: define rb_[pgu]id_t.
32416 Mon May 16 00:21:02 2005 Tanaka Akira <akr@m17n.org>
32418 * lib/pathname.rb (Pathname#unlink): use SystemCallError instead of
32419 Errno::EISDIR because EISDIR is not portable.
32422 Sun May 15 22:28:10 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
32424 * lib/drb/drb.rb (DRbObject#method_missing): use raise(exception).
32427 Sun May 15 18:56:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32429 * configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefs
32430 to get rid of types which might not be defined yet. [ruby-dev:26165]
32432 Sun May 15 14:35:46 2005 Tanaka Akira <akr@m17n.org>
32434 * lib/pathname.rb (Pathname#unlink): unlink a symlink to a directory
32435 was failed. [ruby-core:4992]
32437 Sun May 15 09:57:30 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32439 * win32/win32.c (unixtime_to_filetime): deal with DST.
32442 Sat May 14 23:59:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32444 * error.c (exc_exception, {exit,name_err,syserr}_initialize): call
32445 Execption#initialize. fixed: [ruby-talk:142593]
32447 Sat May 14 23:56:41 2005 Erik Huelsmann <ehuels@gmail.com>
32449 * configure.in: Check for the availability of pid_t, gid_t and uid_t and
32450 remove AC_TYPE_UID_T. fixed: [ruby-core:04745]
32452 * defines.h: Remove pid_t typedef.
32454 * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with
32455 the available system types.
32457 * process.c: Change instances of pid_t and gid_t to their rb_*
32460 * ext/pty/pty.c: Change pid_t to rb_pid_t.
32462 * vms/config.h: Define HAVE_{P,G,U}ID_T to 1.
32464 * win32/Makefile.sub: Remove #define for {g,u}id_t.
32466 * win32/win32.c: Change pid_t to rb_pid_t.
32468 * wince/Makefile.sub: Remove #define for {g,u}id_t.
32470 * wince/sys/types.h: Remove definitions of {p,g,u}id_t.
32472 Sat May 14 11:47:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32474 * intern.h (ruby_pragma): prototype. [ruby-core:04881]
32476 * parse.y (parser_pragma): parse Emacsen hack.
32478 * parse.y (parser_prepare): deal with specific syntax at the top.
32480 * ruby.c (load_file): read the first line iff it started with shebang.
32482 Fri May 13 23:44:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32484 * ext/extmk.rb: keep srcdir unexpanded.
32486 * lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
32487 fixed: [ruby-core:04932]
32489 * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
32490 also INSTALL_PROG and INSTALL_DATA system dependent.
32491 fixed: [ruby-core:04931]
32493 Fri May 13 23:32:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32495 * eval.c (unknown_node): add volatile directive to prototype.
32497 Fri May 13 17:50:49 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32499 * variable.c (generic_ivar_get): rb_attr_get should not warn.
32502 Thu May 12 17:41:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
32504 * ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5
32506 Thu May 12 16:50:40 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32508 * lib/rdoc/parsers/parse_c.rb: more readability for mixing
32509 progress "c..." and warning message.
32511 Thu May 12 15:50:56 2005 Tilman Sauerbeck <tilman@code-monkey.de>
32513 * lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.
32516 Thu May 12 09:53:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32518 * version.c (ruby_show_version): flush for non-tty stdout.
32520 Thu May 12 01:23:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32522 * eval.c (unknown_node): ignore broken NODE to get rid of accessing
32523 possibly inaccessible address. fixed: [ruby-dev:26122]
32524 should emit more useful information like [ruby-dev:26126], though.
32526 Wed May 11 15:58:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32528 * eval.c (break_jump): break should not cross functions.
32531 Wed May 11 10:41:54 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32533 * lib/tempfile.rb (Tempfile#unlink): fixed typo.
32535 Wed May 11 01:03:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32537 * eval.c (TMP_ALLOC): use macro NEW_NODE() to get rid of warnings on
32538 platforms which have no alloca(). fixed: [ruby-talk:141301]
32540 Sun May 8 23:17:47 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32542 * ext/tk/lib/tk/timer.rb: fix typo.
32544 Sun May 8 21:00:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32546 * hash.c (Init_Hash): remove custom "hash" and "eql?".
32547 (ported from 1.8) [ruby-dev:26132]
32549 Sun May 8 16:50:25 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32551 * lib/profiler.rb: fixed "undefined method `[]' for nil:NilClass"
32552 [ruby-core:4775] [ruby-talk:140401] [ruby-dev:26118]
32554 Sat May 7 22:58:00 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32556 * lib/mkmf.rb (have_var): no libs argument is given.
32558 Fri May 6 08:08:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32560 * hash.c:rb_hash_hash_i() should be static. [ruby-core:04815]
32562 * re.c should include regint.h for declarations of oniguruma
32563 functions. [ruby-core:04815]
32565 Sun May 1 09:15:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32567 * ruby.c (process_sflag): replace '-' in variable names with '_'.
32570 * eval.c (rb_eval), parse.y (arg): reduce fixnum range literal at
32571 parser. fixed: [ruby-dev:26113]
32573 Sat Apr 30 11:59:25 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32575 * configure.in (RUBY_FUNC_ATTRIBUTE): check for function attribute.
32578 * eval.c, gc.c: moved noinline to configure.in.
32580 * rubyio.h (DEPRECATED): moved to configure.in.
32582 * ruby.h (DEPRECATED, NOINLINE): default definition.
32584 * win{32,ce}/Makefile.sub (config.h): deprecated and noinline for
32585 __declspec() are available for VC++7 or later.
32587 Sat Apr 30 06:57:39 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32589 * lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger
32590 and WEBrick::CGI#config. these are necessary to use an instance of
32591 WEBrick::CGI as the first argument of HTTPServlet#get_instance.
32592 (suggested by Tatsuki Sugiura)
32594 * lib/webrick/cgi.rb
32595 (WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware]
32596 if SERVER_SOFTWARE environment variable is not given.
32597 (WEBrick::CGI#start): req.path_info must be a String.
32598 (WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO
32599 and SCRIPT_NAME to run in console.
32601 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should
32602 not use String#split("/"). it removes trailing empty path component.
32604 Thu Apr 28 08:21:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32606 * ruby.c (set_arg0): use also environment variable space for setting
32607 $0. [ruby-core:04774]
32609 Wed Apr 27 23:42:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32611 * win32/Makefile.sub (OPTFLAGS): default global optimization to
32612 disabled only for VC++6.
32614 Tue Apr 26 22:58:00 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32616 * ext/tk/tcltklib.c (ip_invoke_core): call Tcl's "::unknown"
32617 command when can't get information of target command.
32619 Mon Apr 25 13:54:55 2005 speakillof <speakillof@yahoo.co.jp>
32621 * lib/rexml/encodings/SHIFT-JIS.rb: encoding and decoding were
32622 swapped. [ruby-core:4772]
32624 Mon Apr 25 01:18:43 2005 Tanaka Akira <akr@m17n.org>
32626 * oniguruma.h (OnigWarnFunc): add a variadic argument.
32629 Sat Apr 23 19:49:21 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32631 * ext/tk/tcltklib.c (ip_RubyExitCommand): exit with status code
32632 via TclTkIp#_eval didn't work. [ruby-talk:139390]
32634 Sat Apr 23 11:45:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32636 * eval.c (rb_provided): should check also path name to be loaded.
32637 fixed: [ruby-dev:26093]
32639 Fri Apr 22 16:55:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32641 * ext/tk/tcltklib.c (ip_set_exc_message): fixed memory leak.
32643 * ext/tk/tcltklib.c: eTkCallbackReturn was not initialized.
32645 Thu Apr 21 06:45:28 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32647 * ruby.c (ruby_incpush_expand, proc_options): expand relative path
32648 given with -I option. [ruby-dev:26090]
32650 * configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve
32651 C++ support. [ruby-dev:26089]
32653 Thu Apr 21 01:53:09 2005 Minero Aoki <aamine@loveruby.net>
32655 * lib/net/http.rb: add rdoc.
32657 Thu Apr 21 00:07:50 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32659 * lib/mkmf.rb (create_makefile): support platforms have file separator
32662 * {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator
32663 of building platform.
32665 * {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command.
32667 Wed Apr 20 23:22:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32669 * Makefile.in, common.mk: miniruby depends on MINIOBJS.
32671 * dmydln.c (dln_load): dummy function to raise LoadError.
32673 * cygwin/GNUmakefile.in, {bcc32,win32,wince}/Makefile.sub: miniruby
32674 can't load extensions on Windows.
32676 Wed Apr 20 23:01:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32678 * win32/ifchange.bat: delete testing files.
32680 Wed Apr 20 22:54:54 2005 Minero Aoki <aamine@loveruby.net>
32682 * lib/net/http.rb: new method Net::HTTP.post_form.
32684 * lib/net/http.rb: new method Net::HTTPHeader#set_form_data and
32685 its alias #form_data=.
32687 * lib/net/http.rb: Net::HTTPHeader#add_header -> add_field
32688 (adjustted to Ruby 1.8).
32690 Wed Apr 20 10:53:30 2005 WATANABE Hirofumi <eban@ruby-lang.org>
32692 * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module.
32695 Wed Apr 20 07:27:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32697 * {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak:
32700 * bcc32/setup.mak: make configuration variables overridable.
32702 Tue Apr 19 23:37:09 2005 WATANABE Hirofumi <eban@ruby-lang.org>
32704 * lib/ftools.rb (File.safe_unlink): do not modify a symlinked file.
32706 Tue Apr 19 23:02:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32708 * eval.c (search_required): deal with features with path too.
32710 * intern.h (rb_file_expand_path): prototype. fixed: [ruby-dev:26082]
32712 Tue Apr 19 08:38:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32714 * eval.c (search_required, rb_require_safe): expand path in
32715 rb_features. [ruby-dev:26079]
32717 * file.c (rb_find_file_ext): return absolute path.
32719 * ext/extmk.rb: expand path for ext/**/extconf.rb.
32721 * eval.c (search_required): handle static linked extensions.
32723 Mon Apr 18 15:37:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
32725 * eval.c (rb_attr): attribute name check added.
32727 * numeric.c (flo_plus): small typo fix.
32729 Mon Apr 18 11:25:14 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32731 * ext/zlib/zlib.c (zstream_run): fixed SEGV. [ruby-core:4712]
32733 Sun Apr 17 23:57:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32735 * ext/extmk.rb (extmake, parse_args): do not expand destdir.
32737 * ext/extmk.rb (relative_from): treat mere drive letter as an absolute
32740 Sat Apr 16 17:01:16 2005 Kouhei Sutou <kou@cozmixng.org>
32742 * sample/rss/tdiary_plugin/rss-recent.rb (rss_recent_cache_rss):
32743 use the first date information of items as site date information
32744 if channel doesn't have date information.
32746 Sat Apr 16 15:27:03 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32748 * configure.in (RUBY_PROG_INSTALL): not add -p option to INSTALL.
32749 files need timestamps to be kept are only ar-archive on a few
32750 platforms, and be installed by instruby.rb but not INSTALL.
32751 fixed: [ruby-core:04721]
32753 * mkconfig.rb: purge autoconf value variables.
32755 Sat Apr 16 10:33:48 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32757 * bcc32/Makefile.sub: quick hack... prepend DESTDIR.
32758 still have restriction on DESTDIR ("", "/", "e:")
32760 Sat Apr 16 03:59:42 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
32762 * ext/openssl/extconf.rb: check for OPENSSL_cleanse.
32764 * ext/openssl/openssl_missing.h: ditto.
32766 Fri Apr 15 22:40:19 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
32768 * ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE.codepage=
32770 * ext/win32ole/tests/testOLETYPELIB.rb: correct expected message.
32772 Fri Apr 15 22:04:07 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
32774 * ext/win32ole/win32ole.c(ole_invoke): retry after converting Qnil
32777 Thu Apr 14 19:05:06 2005 Minero Aoki <aamine@loveruby.net>
32779 * parse.y [ripper] (regexp): dispatch regexp option.
32782 * ext/ripper/lib/core.rb: regenerated (interface changed).
32784 Thu Apr 14 18:59:43 2005 Minero Aoki <aamine@loveruby.net>
32786 * lib/fileutils.rb (remove_file): ignore exceptions caused by
32789 * lib/fileutils.rb (remove_dir): try to get rights to rmdir.
32792 Thu Apr 14 18:51:02 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
32794 * lib/irb/ruby-lex.rb, lib/irb/slex.rb: bug fix of [ruby-Bugs-1745]
32796 * lib/irb/ext/loader.rb, lib/irb/ext/save-history.rb:
32797 fix location of @RCS_ID
32799 * lib/irb/cmd/help.rb: a lost of release IRB 0.9.5.
32801 Thu Apr 14 15:10:30 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
32803 * lib/irb/notifier.rb, lib/irb/output-method.rb, lib/irb/ext/history.rb
32804 fixed warning of 'ruby -w'
32806 Thu Apr 14 05:35:45 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
32808 * doc/irb/irb.rd.ja: a lost of release IRB 0.9.5.
32810 * lib/irb/slex.rb: bug fix by [ruby-core:04707].
32812 Thu Apr 14 00:20:31 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
32814 * bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5.
32816 Wed Apr 13 23:40:21 2005 Kouhei Sutou <kou@cozmixng.org>
32818 * lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.
32820 * lib/rss/rss.rb (RSS::Element#converter): fixed converter
32823 Wed Apr 13 22:12:16 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32825 * lib/optparse.rb (OptionParser#order!): call handlers iff matches
32828 Wed Apr 13 21:20:35 2005 WATANABE Hirofumi <eban@ruby-lang.org>
32830 * configure.in (mingw32): extract msvcr*.dll from objdump result.
32832 Wed Apr 13 19:25:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32834 * configure.in (mingw32): use actual runtime DLL name as ruby DLL
32835 name and default load path.
32837 * win32/Makefile.sub, win32/setup.mak: ditto.
32839 Tue Apr 12 19:30:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32841 * lib/optparse.rb (OptionParser#make_switch, OptionParser#order!):
32842 added non-option and end-of-args handler. [ruby-talk:136878]
32845 Tue Apr 12 15:33:09 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32847 * ext/tk/tcltklib.c (ip_finalize): better modification than the
32848 previous commit [ruby-dev:26029].
32850 Tue Apr 12 12:38:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32852 * ext/tk/tcltklib.c (ip_finalize): fix SEGV when Tcl_GlobalEval()
32853 modifies the argument string to eval.
32855 Tue Apr 12 02:21:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32857 * ext/tk/tcltklib.c (ip_finalize): add existence check of
32858 Tcl commands before calling Tcl_GlobalEval().
32860 Mon Apr 11 23:36:04 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
32862 * lib/drb/drb.rb: [druby-ja:123] fix: When reference of my object is
32863 loaded, the object is tainted.
32865 * test/drb/test_drb.rb: ditto.
32867 Mon Apr 11 22:18:23 2005 WATANABE Hirofumi <eban@ruby-lang.org>
32869 * dir.c, file.c (lstat): avoid warnings for mingw.
32871 Mon Apr 11 20:11:06 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32873 * ext/tk/tcltklib.c (ip_finalize): adhoc patch to avoid SEGV when exit
32876 Mon Apr 11 15:24:20 2005 NAKAMURA Usaku <usa@ruby-lang.org>
32878 * lib/mkmf.rb (configuration): shouldn't output hdrdir twice.
32880 Sat Apr 9 18:20:31 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32882 * ext/tk/lib/tk/image.rb: support to create TkImage object without
32883 creating a new image object on Tk.
32885 * ext/tk/lib/tk/menu.rb: use TkCommandNames on create_self()
32887 * ext/tk/lib/tk/root.rb: TkRoot.to_eval() returns '.'.
32889 * ext/tk/lib/tk/text.rb: add methods to create a TkText::IndexString
32890 from (x, y) coords.
32892 * ext/tk/lib/tkextlib/tile/: add demo and update support status.
32894 Sat Apr 9 14:42:29 2005 Kouhei Sutou <kou@cozmixng.org>
32896 * sample/rss/tdiary_plugin/rss-recent.rb: supported configuration
32899 Fri Apr 8 20:17:48 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32901 * ext/extmk.rb (extmake): hdrdir needs to be defined also in
32904 * lib/mkmf.rb (configuration, create_makefile): get rid of recursive
32907 Fri Apr 8 01:55:20 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
32909 * ext/tk/sample/demos-{en,jp}/goldberg.rb: reduced window size.
32912 Thu Apr 7 23:58:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
32914 * ext/extmk.rb (extmake): keep directory names in Makefile as macros.
32916 * lib/mkmf.rb (configuration, create_makefile): ditto.
32918 * lib/mkmf.rb (CXX_EXT): separate C++ extensions.
32920 Thu Apr 7 17:24:17 2005 Shugo Maeda <shugo@ruby-lang.org>
32922 * eval.c (rb_call0): "return" event hook should be always executed
32923 if event_hooks is set.
32925 Thu Apr 7 14:33:09 2005 Kouhei Sutou <kou@cozmixng.org>
32927 * test/rss/test_maker_dc.rb (test_date): added a test for #date=
32930 Thu Apr 7 11:49:53 2005 Kouhei Sutou <kou@cozmixng.org>
32932 * lib/rss/maker/dublincore.rb: _really_ supported multiple Dublin
32935 * test/rss/rss-assertions.rb (assert_multiple_dublin_core): added
32936 an assertion for testing multiple Dublin Core items.
32938 * test/rss/test_maker_dc.rb (test_rss10_multiple): added a test
32939 for making multiple Dublin Core items.
32941 Wed Apr 6 16:06:30 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
32943 * test/ruby/test_env.rb (test_key): should test ENV.key instead of
32944 ENV.index. [ruby-dev:25994]
32946 Tue Apr 5 16:01:12 2005 Kouhei Sutou <kou@cozmixng.org>
32948 * lib/rss/*: refactored.
32949 - gave a name to 'x'.
32950 - undef_method -> remove_method for avoiding a warning in ruby 1.6.
32952 Tue Apr 5 15:45:33 2005 Kouhei Sutou <kou@cozmixng.org>
32954 * sample/rss/tdiary_plugin/rss-recent.rb:
32955 new option: @options['rss-recent.use-image-link']:
32956 use image as link instread of text if available.
32958 * sample/rss/tdiary_plugin/rss-recent.rb (RSS_RECENT_VERSION):
32961 Tue Apr 5 15:15:26 2005 Kouhei Sutou <kou@cozmixng.org>
32963 * lib/rss/dublincore.rb: supported multiple Dublin Core items.
32965 * lib/rss/parser.rb: added class name registry for complex model
32966 elements. (ex. have childlen elements, have some attributes and
32967 a child element and so on.)
32969 * lib/rss/maker/base.rb: added default current_element implementation.
32971 * lib/rss/maker/dublincore.rb: supported multiple Dublin Core
32974 * lib/rss/maker/image.rb: supproted new Dublin Core API.
32977 * lib/rss/trackback.rb (RSS::TrackBackUtils.new_with_value_if_need):
32978 moved to RSS::Utils.
32980 * lib/rss/utils.rb (RSS::Utils.new_with_value_if_need):
32981 moved from RSS::TrackBackUtils.
32984 * lib/rss/maker/image.rb: fixed invalid argument of
32985 add_need_initialize_variable bug.
32987 * lib/rss/maker/trackback.rb: ditto.
32990 * lib/rss/rss.rb (Hash#merge): added for ruby 1.6.
32992 * lib/rss/rss.rb (RSS::BaseModel.date_writer): changed to accept nil
32996 * test/test_dublincore.rb: added tests for plural accessor and
32997 multiple Dublin Core items.
32999 * test/test_setup_maker_1.0.rb: fixed swapped actual and expected
33002 Mon Apr 4 23:17:52 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33004 * ext/tk/lib/tk.rb (TkComm#array2tk_list): accept enc-mode argument to
33005 decide whether convert encoding of each element or not.
33007 * ext/tk/lib/tk/variable.rb (TkVariable#value=): fail to convert the
33008 encoding of array elements when assign an array to an TkVariable
33011 Mon Apr 4 10:26:48 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33013 * ext/tk/lib/tk/dialog.rb: fixed typo.
33015 Sat Apr 2 23:38:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33017 * configure.in (CP, INSTALL): get rid of less portable options.
33019 * lib/mkmf.rb (configuration, create_makefile): correct configuration
33022 * wince/configure.bat, wince/setup.mak: add prefix, extstatic and
33025 * lib/mkmf.rb (create_makefile): ensure library directories get made
33026 before copying libraries there.
33028 Sat Apr 2 16:59:46 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33030 * ext/tk/lib/tk.rb: forgot to update RELEASE_DATE
33032 * ext/tk/lib/tk/variable.rb: fix namespace trouble when autoloading
33034 * ext/tk/lib/tk/palette.rb: define Tcl variable 'tkPalette' as global
33036 * ext/tk/lib/tk/dialog.rb: use array2tk_list method when calling
33039 * ext/tk/lib/tk/autoload.rb: add autoload entry 'TkDialogObj' and
33042 Sat Apr 2 13:23:17 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33044 * hash.c (env_key): ENV.index is deprecated as well as Hash#index.
33045 use ENV.key instead. [ruby-dev:25974]
33047 Sat Apr 2 02:19:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33049 * ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'
33050 option without 'widgetname' option to allow creating a widget object
33051 which is used as an argument of Tcl/Tk's widget allocation commands.
33053 * ext/tk/lib/tk/image.rb (TkImage.initialize): accept 'imagename'
33054 option to create a image object by the given name.
33056 Thu Mar 31 22:23:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33058 * lib/mkmf.rb (SRC_EXT): exclude just case different suffixes on case
33059 insensitive file system platforms.
33061 * README.EXT, README.EXT.ja (Appendix C): utility functions.
33063 Thu Mar 31 14:08:43 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33065 * ext/openssl/ossl_engine.c (ossl_engine_s_load): should return
33066 value. [ruby-dev:25971]
33068 Thu Mar 31 11:07:50 2005 Kouhei Sutou <kou@cozmixng.org>
33070 * lib/rss/parser.rb: @@setter -> @@setters.
33072 * lib/rss/parser.rb
33073 (RSS::BaseListener.register_uri)
33074 (RSS::BaseListener.uri_registered?)
33075 (RSS::BaseListener.install_get_text_element):
33076 swapped the first argument and the second argument.
33078 * lib/rss/taxonomy.rb: swapped the first argument and the second
33079 argument for RSS::BaseListener.install_get_text_element.
33080 * lib/rss/image.rb: ditto.
33081 * lib/rss/syndication.rb: ditto.
33082 * lib/rss/dublincore.rb: ditto.
33083 * lib/rss/parser.rb: ditto.
33084 * lib/rss/1.0.rb: ditto.
33085 * lib/rss/2.0.rb: ditto.
33086 * lib/rss/0.9.rb: ditto.
33087 * lib/rss/content.rb: ditto.
33089 Thu Mar 31 11:00:36 2005 Kouhei Sutou <kou@cozmixng.org>
33091 * lib/rss/parser.rb
33092 (RSS::BaseListener.install_setter)
33093 (RSS::BaseListener.register_uri): changed fallback way.
33095 Thu Mar 31 08:25:40 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33097 * common.mk (RUBYOPT): clear for the environment RubyGems installed.
33099 * common.mk (clean-local): keep $(PREP) files till distclean.
33101 * common.mk (check): do all tests.
33103 Thu Mar 31 06:00:20 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33105 * ext/openssl/ossl_engine.c (ossl_engine_s_load): should not raise
33106 error even if the specified engine could not be loaded. (Dynamic
33107 engines don't have fixed name to load.)
33109 Wed Mar 30 17:41:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33111 * ext/tk/tcltklib.c: add TclTkIp#_create_console() method to create
33112 a Tcl/Tk's console window.
33114 * ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method.
33116 * ext/tk/lib/remote-tk.rb: ditto.
33118 * ext/tk/lib/tk/console.rb: ditto.
33120 * ext/tk/lib/tk.rb: update RELEASE_DATE
33122 * ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object.
33124 * ext/tk/sample/tkextlib/**: ditto.
33126 Tue Mar 29 22:20:49 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
33128 * test/rinda/test_rinda.rb: use DRbObject.new_with instead of reinit.
33131 Tue Mar 29 00:04:57 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
33133 * lib/drb/drb.rb: move method DRbObject#reinit to DRbObject.new_with.
33134 extract method DRbObject.prepare_backtrace. add DRb.regist_server,
33135 remove_server, fetch_server. change server in thread variable if
33136 in-proc server. [druby-ja:113]
33138 * lib/drb/gw.rb: ditto.
33140 Mon Mar 28 20:53:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33142 * ext/extmk.rb (extract_makefile): nothing to be removed when no file
33145 * ext/extmk.rb (extmake): restore srcdir.
33147 Mon Mar 28 08:39:49 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33149 * ext/iconv/iconv.c (iconv_create): Iconv::Failure requires 3
33150 arguments. (pointed out by NaHi)
33152 Sun Mar 27 00:56:58 2005 Minero Aoki <aamine@loveruby.net>
33154 * lib/fileutils.rb (remove_file): ignore Errno::E* if force option
33155 is set. [ruby-dev:25944]
33157 Sat Mar 26 22:51:33 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33159 * ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whether
33160 a class is available for a callback entry.
33162 * ext/tk/lib/tk.rb (after_cancel): add Tk.after_cancel(afterID) method.
33164 * ext/tk/lib/tk.rb (array2tk_list): change from private module method
33165 of TkComm to public module method.
33167 * ext/tk/lib/tk.rb (cget): add check that slot argument is not
33170 * ext/tk/lib/tk.rb (configinfo): ditto.
33172 * ext/tk/lib/tk/itemconfig.rb (itemcget): add check that slot argument
33173 is not empty string.
33175 * ext/tk/lib/tk/itemconfig.rb (itemconfiginfo): ditto.
33177 * ext/tk/lib/tk/entry.rb: add TkEntry#icursor and icursor= (alias of
33178 cursor and cursor= method).
33180 * ext/tk/lib/tk/font.rb: improve font treatment when the font name is
33183 * ext/tk/lib/tk/variable.rb: add :variable, :window and :procedure
33186 * ext/tk/lib/tk/variable.rb: improve treatment of array-type
33189 * ext/tk/lib/tkextlib/blt.rb: add commands for zooming.
33191 * ext/tk/lib/tkextlib/blt/*: bug fix.
33193 * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and add methods
33194 to call TreeCtrl commands for bindings.
33196 * ext/tk/sample/tkextlib/blt/*: new sample scripts.
33198 * ext/tk/sample/tkextlib/treectrl/*: ditto.
33200 Fri Mar 25 10:53:16 2005 WATANABE Hirofumi <eban@ruby-lang.org>
33202 * configure.in (WIN32_LEAN_AND_MEAN): removed because a lot of
33203 troubles. [ruby-list:40721]
33205 Thu Mar 24 23:10:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33207 * lib/mkmf.rb (macro_defined?): try to compile for an old compiler
33208 which doesn't bail out at #error directive. [ruby-dev:25818]
33210 * lib/mkmf.rb (check_sizeof): refine logging messages.
33212 Wed Mar 23 19:08:10 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33214 * lib/webrick/utils.rb (WEBrick::Utils.create_listeners):
33215 - should raise ArgumentError if no port is specified.
33216 - even if the specified port is 0, all TCPServers should be
33217 initialized with the port given to the first one.
33219 * lib/webrick/server.rb (WEBrick::GenericServer#initialize): if :Port
33220 parameter is 0, it should be updated with the port number which
33223 Wed Mar 23 16:12:40 2005 Shugo Maeda <shugo@ruby-lang.org>
33225 * parse.y (primary): fix lineno of rescue and ensure.
33227 Wed Mar 23 00:39:05 2005 Shugo Maeda <shugo@ruby-lang.org>
33229 * test/ruby/test_settracefunc.rb (test_event): added tests for
33230 "class" and "end" and "raise".
33232 Sun Mar 20 22:51:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33234 * lib/mkmf.rb (mkmf_failed): check if Makefile is created without
33237 Sat Mar 19 23:48:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33239 * misc/ruby-mode.el (ruby-expr-beg): returned true always.
33240 fixed: [ruby-list:40683]
33242 Sat Mar 19 00:41:02 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33244 * ext/tk/lib/tk/font.rb: add some TkFont class methods to get font
33245 information without creating a TkFont object.
33247 * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some
33248 classes for components of Tk::TreeCtrl
33250 Thu Mar 17 17:42:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33252 * struct.c (make_struct): allow non local-id field
33253 names. [ruby-core:04575]
33255 * struct.c (inspect_struct): ditto.
33257 Wed Mar 16 23:39:13 2005 Shugo Maeda <shugo@ruby-lang.org>
33259 * test/ruby/test_settracefunc.rb: added test for c-return.
33261 Wed Mar 16 22:57:43 2005 Shugo Maeda <shugo@ruby-lang.org>
33263 * eval.c (rb_call0): call_cfunc() should be protected.
33265 * eval.c (rb_add_event_hook): use K&R style.
33267 * eval.c (rb_remove_event_hook): ditto.
33269 Wed Mar 16 22:03:15 2005 Shugo Maeda <shugo@ruby-lang.org>
33271 * eval.c (rb_add_event_hook): new function to add a hook function for
33272 interpreter events.
33274 Wed Mar 16 18:08:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33276 * eval.c (rb_call0): reorganize "return" event post.
33278 * eval.c (return_jump): no need to post "return" event here.
33280 Tue Mar 15 23:49:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33282 * ext/iconv/iconv.c (Init_iconv): InvalidEncoding also should include
33285 Tue Mar 15 23:12:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33287 * eval.c (recursive_check, recursive_push): more restrictive check.
33288 fixed: [ruby-dev:25916]
33290 Tue Mar 15 16:38:31 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33292 * ext/tk/tkutil/tkutil.c (ary2list): give wrong arguments to hash2kv()
33294 Mon Mar 14 19:39:33 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33296 * ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_value
33299 * ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer
33301 Mon Mar 14 12:21:03 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33303 * ext/tk/lib/tk/timer.rb (TkRTTimer): forgot to reset the callback
33304 time. So, 'continue' do all callbacks between 'stop' and 'continue'.
33306 Mon Mar 14 08:14:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33308 * object.c (str_to_id): raise ArgumentError for NUL containing
33311 Mon Mar 14 00:13:49 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33313 * ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offset
33314 value. get a little better accuracy.
33316 * ext/tk/sample/demos-en/widget: use a binding with no local variables
33317 when eval a sample script.
33319 * ext/tk/sample/demos-en/bind.rb: ditto.
33321 * ext/tk/sample/demos-en/tcolor: ditto.
33323 * ext/tk/sample/demos-jp/widget: ditto.
33325 * ext/tk/sample/demos-jp/bind.rb: ditto.
33327 * ext/tk/sample/demos-jp/tcolor: ditto.
33329 Sun Mar 13 22:19:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33331 * eval.c (recursive_pop): raise TypeError instead of fatal error.
33332 fixed: [ruby-dev:25843]
33334 Sun Mar 13 10:09:17 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
33336 * test/rinda/test_rinda.rb: remove test_gc. [ruby-dev:25871]
33338 Sun Mar 13 02:32:54 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33340 * ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DH
33341 parameter from the current SSL object.
33343 Sun Mar 13 02:09:03 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33345 * ext/openssl/ossl_pkey_dh.c (ossl_create_dh): fix typo.
33346 patch from IWATSUKI Hiroyuki. [ruby-dev:25867]
33348 * ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): ditto.
33349 (ossl_call_tmp_dh_callback): ditto
33351 Fri Mar 11 03:24:59 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33353 * parse.y (primary): wrong var node was set for NODE_LAMBDA.
33356 Thu Mar 10 19:10:29 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33358 * ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handler
33359 when exit from a recursive called eventloop
33361 * ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a
33364 * ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class
33366 * ext/tk/lib/tk/textmark.rb: move TkTextMark#+ and TkTextMark#- to
33367 TkText::IndexModMethods
33369 * ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and
33370 add them to TkText::IndexModMethods module
33372 * ext/tk/sample/tktextio.rb: add test part of "seek by text index
33375 Thu Mar 10 08:10:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33377 * re.c (make_regexp): need to free internal regexp structure when
33378 compilation fails. [ruby-talk:133228]
33380 Thu Mar 10 01:08:20 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33382 * parse.y (bv_decl): remove initialize rule from block local
33383 variable declaration.
33385 Wed Mar 9 23:55:34 2005 Tanaka Akira <akr@m17n.org>
33387 * lib/pp.rb (PP::PPMethods#guard_inspect_key): support
33388 __recursive_key__. [ruby-dev:25821]
33390 Wed Mar 9 19:42:21 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33392 * ext/openssl/ossl_ssl.c: OpenSSL::SSL::SSLContexts suports callbacks:
33393 - SSLContext#client_cert_cb is a Proc. it is called when a client
33394 certificate is requested by a server and no certificate was yet
33395 set for the SSLContext. it must return an Array which includes
33396 OpenSSL::X509::Certificate and OpenSSL::PKey::RSA/DSA objects.
33397 - SSLContext#tmp_dh_callback is called in key exchange with DH
33398 algorithm. it must return an OpenSSL::PKey::DH object.
33400 * ext/openssl/ossl_ssl.c:
33401 (ossl_sslctx_set_ciphers): ignore the argument if it's nil.
33402 (ossl_start_ssl, ossl_ssl_write): call rb_sys_fail if errno isn't 0.
33405 * ext/openssl/ossl_pkey.c
33406 (GetPrivPKeyPtr, ossl_pkey_sign): should call rb_funcall first.
33407 (DupPrivPKeyPtr): new function.
33409 * ext/openssl/ossl_pkey_dh.c: add default DH parameters.
33411 * ext/openssl/ossl_pkey.h: ditto.
33413 * ext/openssl/lib/openssl/cipher.rb: fix typo. [ruby-dev:24285]
33415 Wed Mar 9 18:09:51 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33417 * parse.y (gettable_gen): warns if VCALL name is used as
33418 out-of-scope block local variable. [EXPERIMENTAL]
33420 * parse.y (opt_bv_decl): add explicit block local variable
33421 declaration. raises error for name conflicts. [EXPERIMENTAL]
33423 Wed Mar 9 13:37:57 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33425 * ext/tk/sample/tktextio.rb: fix bug of handling 'end' position.
33426 support initial text, overwrite setting and pos_gravity control.
33428 Tue Mar 8 18:16:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33430 * ext/tk/sample/tktextio.rb: New sample script. TkTextIO class in this
33431 sample supports to use a text widget as if it is a I/O stream (such
33432 like as StringIO class).
33434 Tue Mar 8 13:39:25 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33436 * ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Lite
33439 Tue Mar 8 12:36:17 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33441 * ext/socket/socket.c: document from Sam Roberts
33442 <sroberts@uniserve.com> for getsockopt and setsockopt is merged.
33445 Tue Mar 8 10:48:53 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33447 * eval.c (rb_exec_recursive): declaration should precede statements
33450 Tue Mar 8 10:05:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33452 * error.c (errno_missing): Errno.const_missing to allow references
33453 to SyscallError exceptions not defined on the platform.
33456 * error.c (Init_syserr): Errno::NOERROR(0) for fallback exception.
33458 Tue Mar 8 01:19:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
33460 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66
33461 fixed: [ruby-dev:25828]
33463 Mon Mar 7 21:29:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33465 * lib/webrick/server.rb (WEBrick::GenericServer#start): should
33466 restore @token if accept failure. suggested by Dominique Brezinski.
33469 * sample/webrick/httpsd.rb: fix typo in comment. suggested by
33472 Mon Mar 7 21:01:37 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33474 * eval.c (rb_require_safe): get actual path string under safe level
33475 when requested. fixed: [ruby-dev:25815]
33477 Mon Mar 7 16:46:02 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33479 * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,
33480 ossl_ssl_write): need to set errno on Win32 platform.
33482 Mon Mar 7 14:55:43 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33484 * eval.c (block_pass): should not push unique number if a block is
33485 not an orphan. [ruby-dev:25808]
33487 Mon Mar 7 14:13:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33489 * ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
33490 should set @eof and @rbuffer.
33492 Mon Mar 7 10:28:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33494 * object.c (inspect_obj): unintended space removal.
33497 * eval.c (rb_exec_recursive): should not use NODE in disclosed
33498 context. [ruby-dev:25812]
33500 * io.c (rb_f_open): need not to check if to_open value is a
33501 T_FILE. [ruby-dev:25812]
33503 Mon Mar 7 01:21:01 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33505 * ext/tk/tkutil/tkutil.c: follow the change of st.c (committed
33506 at Fri, 4 Mar 2005 15:47:47 +0900 by matz)
33508 Mon Mar 7 00:01:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33510 * ext/tk/tcltklib.c: fail to call TclTkLib.mainloop when $SAFE==4
33512 Sun Mar 6 13:04:10 2005 Dee Zsombor <zsombor@ruby-lang.org>
33514 * misc/ruby-electric.el: added.
33515 * misc/Readme: updated.
33517 Sun Mar 6 11:47:10 2005 Sam Roberts <sroberts@uniserve.com>
33519 * lib/pp.rb: rdoced. [ruby-core:4490]
33521 Sun Mar 6 11:36:37 2005 Tanaka Akira <akr@m17n.org>
33523 * lib/pp.rb (File::Stat#pretty_print): Etc.getpwuid and Etc.getgrgid
33524 may return nil. [ruby-talk:129826]
33525 reported by Daniel Berger.
33527 Sun Mar 6 06:34:31 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
33529 * ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for that
33530 the underlying IO become readable or writable if the error was
33531 SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795]
33533 * ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto.
33535 * ext/openssl/lib/openssl/buffering.rb
33536 (Buffering#consume_rbuf): pointless eof flag resetting is deleted.
33537 (Buffering#read): should return an empty string if the specified
33539 (Buffering#readpartial): new method.
33540 (Buffering#readline): fix typo.
33541 (Buffering#getc): return the first character of string correctly.
33542 (Buffering#readchar): fix typo.
33543 (Buffering#eof?): should read again it the input buffer is empty.
33544 (Buffering#do_write): should rescue Errno::EAGAIN.
33545 (Buffering#puts): use "\n" as the output field separator.
33547 * ext/openssl/extconf.rb: get rid of GNUmakefile generation.
33549 * text/openssl/test_pair.rb: test for IO like methods.
33551 * test/ruby/ut_eof.rb: test about empty file.
33553 Sat Mar 5 17:48:31 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33555 * dir.c (rb_glob): fixed mismatch of argument.
33557 * dir.c (fnmatch): removed unnecessary code. (by string.c 1.219)
33559 * win32/win32.c (NtInitialize): ditto. (by numeric.c 1.117)
33561 Sat Mar 5 16:50:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
33563 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.65
33565 Sat Mar 5 16:29:26 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33567 * ext/tk/lib/multi-tk.rb: freeze callback-entry objects
33569 * ext/tk/lib/tkextlib/tile.rb: support tile-0.6
33571 Sat Mar 5 12:52:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33573 * lib/mkmf.rb (create_makefile): allow putting spaces between target
33574 and colon in depend file.
33576 Sat Mar 5 02:41:00 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33578 * file.c (eaccess): workaround for VC++8 runtime.
33580 * win32/win32.c (ioinfo): VC++8 support.
33582 Fri Mar 4 19:39:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33584 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace
33585 also locally defined modules.
33587 * ext/iconv/iconv.c: rdocified.
33589 * ext/strscan/strscan.c: moved misplaced rdoc.
33591 Fri Mar 4 16:11:20 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33593 * eval.c (rb_exec_recursive): matched the declaration to prototype.
33595 * ext/curses/curses.c: don't need to check HAVE_WCOLOR_SET excluding
33596 window_color_set().
33598 * ext/tk/tcltklib.c: fixed commit mistakes.
33600 Fri Mar 4 12:45:17 2005 Tilman Sauerbeck <tilman@code-monkey.de>
33602 * lib/rdoc/parsers/parse_c.rb: allow whitespace after function names.
33605 * lib/rdoc/parsers/parse_simple.rb: adds support for private comments
33606 in the "simple" parser. [ruby-core:4301]
33608 Fri Mar 4 12:45:17 2005 Charles Mills <cmills@freeshell.org>
33610 * lib/rdoc/parsers/parse_c.rb: adds support for constants
33611 (rb_define_const), accessors (rb_define_attr), and makes a
33612 couple fixes. [ruby-core:4307]
33614 Fri Mar 4 12:45:17 2005 Florian Gross <florgro@gmail.com>
33616 * lib/rdoc/parsers/parse_rb.rb: Logic for def Builtin.method() end
33619 Fri Mar 4 12:45:17 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33621 * array.c: replace rb_protect_inspect() and rb_inspecting_p() by
33622 rb_exec_recursive() in eval.c.
33624 * eval.c (rb_exec_recursive): new function.
33626 * array.c (rb_ary_join): use rb_exec_recursive().
33628 * array.c (rb_ary_inspect, rb_ary_hash): ditto.
33630 * file.c (rb_file_join): ditto.
33632 * hash.c (rb_hash_inspect, rb_hash_to_s, rb_hash_hash): ditto.
33634 * io.c (rb_io_puts): ditto.
33636 * object.c (rb_obj_inspect): ditto
33638 * struct.c (rb_struct_inspect): ditto.
33640 Fri Mar 4 10:15:30 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33642 * lib/set.rb (SortedSet::setup): a hack to shut up warning.
33645 Fri Mar 4 09:37:12 2005 NAKAMURA Usaku <usa@ruby-lang.org>
33647 * common.mk (install-nodoc, pre-install-doc, post-install-doc):
33648 fix some omissions.
33650 Fri Mar 4 08:09:12 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33652 * lib/time.rb (Time::strptime): add new function. inspired by
33653 [ruby-talk:132815].
33655 * lib/parsedate.rb (ParseDate::strptime): ditto.
33657 Fri Mar 4 07:07:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
33659 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63
33661 Thu Mar 3 23:24:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
33663 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62
33665 Thu Mar 3 18:47:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33667 * {bcc32,win32,wince}/Makefile.sub (config.h): check if affected
33668 when makefiles are modified.
33670 * {bcc32,win32,wince}/Makefile.sub (config.status): add variables
33673 * win32/ifchange.bat: try to update a file only if modified.
33675 * win32/resource.rb: more descriptions.
33677 * common.mk: add {pre,post}-install targets.
33679 * instruby.rb (install?): install particular part.
33681 * bcc32/Makefile.sub (post-install-ext): remove debug information
33682 files after installation.
33684 * ext/tk/tcltklib.c (ip_rbUpdateCommand, ip_rb_threadUpdateCommand):
33685 get rid of warnings with Tcl/Tk 8.3 or former.
33687 Thu Mar 3 11:49:51 2005 Kouhei Sutou <kou@cozmixng.org>
33689 * sample/rss/tdiary_plugin/rss-recent.rb: added site information.
33691 Wed Mar 2 19:53:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33693 * ext/extmk.rb (parse_args): return false if nothing matched.
33695 Wed Mar 2 17:15:08 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33697 * ext/tk/tcltklib.c (lib_eventloop_core): fix typo
33699 Wed Mar 2 16:59:50 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33701 * eval.c (ruby_native_thread_kill): call pthread_kill() to send a
33702 signal to ruby's native thread
33704 * ruby.h: add definition of ruby_native_thread_kill()
33706 * signal.c (sigsend_to_ruby_thread): send the signal to ruby's
33707 native thread ([ruby-dev:25744], [ruby-dev:25754]), and set
33708 signal mask to the current native thread
33710 Wed Mar 2 16:03:08 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33712 * ext/tk/tcltklib.c: enforce thread-check and exception-handling to
33713 avoid SEGV trouble.
33715 * ext/tk/tkutil/tkutil.c; fix a bug on converting a SJIS string array
33716 to a Tcl's list string.
33718 * ext/tk/tcltklib.c: wrap Tcl's original "namespace" command to
33719 protect from namespace crash.
33721 * ext/tk/lib/multi-tk.rb: enforce exception-handling.
33723 * ext/tk/lib/multi-tk.rb: catch IRB_EXIT to work on irb.
33725 * ext/tk/lib/tk.rb: ditto.
33727 * ext/tk/tcltklib.c: add TclTkLib.mainloop_thread?
33729 * ext/tk/lib/multi-tk.rb: (bug fix) callback returns a value.
33731 * ext/tk/lib/tk/canvas.rb (delete): bug fix when multiple arguments.
33733 * ext/tk/lib/clock.rb: fix 'no method error'.
33735 * ext/tk/lib/clock.rb (self.clicks): accept a Symbol argument.
33737 * ext/tk/lib/variable.rb: be able to set default_value_type; :numeric,
33738 :bool, :string, :symbol, :list, :numlist or nil (default; same to
33739 :string). If set a type, TkVariable#value returns a value of the
33742 * ext/tk/lib/tkextlib/tclx/tclx.rb: add Tk::TclX.signal to warn the
33743 risk of using TclX extension's 'signal' command.
33745 * ext/tk/sample/irbtk.rb: irb with Ruby/Tk.
33747 * ext/tk/sample/demos-*/anilabel.rb: bug fix on 'show code'
33749 * ext/tk/sample/demos-*/aniwave.rb: new Ruby/Tk animation demo.
33751 * ext/tk/sample/demos-*/pendulum.rb: ditto.
33753 * ext/tk/sample/demos-*/goldberg.rb: ditto.
33755 * ext/tk/sample/demos-*/widget: add entries of animation demos.
33757 Wed Mar 2 12:21:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33759 * eval.c (rb_eval): [EXPERIMENTAL] NODE_LAMBDA implemented.
33762 * node.h (NODE_LAMBDA): for literal Proc object.
33764 * parse.y (expr): interpret mere do...end block as proc object.
33766 * parse.y (primary): ditto, for brace block.
33768 Tue Mar 1 21:16:54 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
33770 * regcomp.c (optimize_node_left): uninitialized member
33771 (OptEnv.backrefed_status) was used. [ruby-dev:25778]
33773 Tue Mar 1 16:50:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33775 * regparse.c: move st_*_strend() functions from st.c. fixed some
33776 potential memory leaks.
33778 Tue Mar 1 00:40:35 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
33780 * lib/rinda/tuplespace.rb (Rinda::TupleSpace): improved keeper thread.
33782 * test/rinda/test_rinda.rb: ditto.
33784 Mon Feb 28 23:10:13 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33786 * ext/socket/socket.c (Init_socket): IPv6 is not supported although
33787 AF_INET6 is defined on bcc32. (rev1.108 again)
33789 * ext/socket/mkconstants.rb: ditto.
33791 Mon Feb 28 21:55:49 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
33793 * ext/strscan/strscan.c (strscan_s_allocate):
33794 use onig_region_init().
33796 * ext/strscan/strscan.c (adjust_registers_to_matched):
33797 use onig_region_set().
33799 Mon Feb 28 15:12:06 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33801 * ext/socket/socket.c (Init_socket): ported more Socket::Constants
33802 from ruby_1_8, and made it easy to add new constants.
33805 * ext/socket/depend: ditto.
33807 * ext/socket/mkconstants.rb: ditto. (added)
33809 Mon Feb 28 11:42:23 2005 Ian Macdonald <ian@caliban.org>
33811 * exception error messages updated. [ruby-core:04497]
33813 Mon Feb 28 09:03:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33815 * ext/socket/socket.c (Init_socket): add bunch of Socket
33816 constants. Patch from Sam Roberts <sroberts@uniserve.com>.
33819 Sun Feb 27 05:55:38 2005 Minero Aoki <aamine@loveruby.net>
33821 * parse.y [ripper]: fix typo. [ruby-core:04494]
33823 Sat Feb 26 16:58:20 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
33825 * parse.y, re.c, regex.h, LEGAL, ext/strscan/strscan.c:
33826 remove oniggnu.h (GNU regex API).
33828 Wed Feb 23 22:08:16 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
33830 * st.c, st.h: imported additional file changes on
33833 Wed Feb 23 21:45:29 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
33835 * ascii.c, euc_jp.c, oniggnu.h, oniguruma.h, regcomp.c,
33836 regenc.c, regenc.h, regerror.c, regexec.c, regint.h,
33837 regparse.c, regparse.h, sjis.c, utf8.c: imported Oni Guruma
33840 Wed Feb 23 15:04:32 2005 akira yamada <akira@ruby-lang.org>
33842 * lib/uri/generic.rb (split_userinfo): should split ":pass" into ""
33843 and "pass". [ruby-dev:25667]
33845 Wed Feb 23 08:00:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33847 * array.c (rb_ary_s_create): no need for negative argc check.
33850 * array.c (rb_ary_unshift_m): ditto.
33852 Wed Feb 23 01:53:29 2005 Shugo Maeda <shugo@ruby-lang.org>
33854 * lib/net/imap.rb (initialize): handle certs correctly. Thanks,
33857 Wed Feb 23 00:37:34 2005 Kouhei Sutou <kou@cozmixng.org>
33859 * lib/mkmf.rb (mkmf_failed): fixed typo.
33861 Tue Feb 22 23:52:45 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33863 * configure.in, lib/mkmf.rb: use simple commands if available.
33865 * mkconfig.rb: remove autoconf internal variables from rbconfig.rb.
33867 * lib/mkmf.rb (create_makefile): substitute implicit rules in depend
33870 * {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST):
33871 include $(topdir) and $(hdrdir) to search path.
33873 Tue Feb 22 23:51:45 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33875 * ext/syck/rubyext.c: get rid of warnings caused by a bug of VC.
33877 Tue Feb 22 23:50:26 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33879 * signal.c (ruby_signal, ruby_nativethread_signal): must be valid as
33880 expressions, not only statements.
33882 Tue Feb 22 12:54:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33884 * eval.c (rb_thread_start_0): update curr_thread before raising
33885 TAG_THREAD. [ruby-dev:25712]
33887 Tue Feb 22 07:24:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33889 * parse.y (parser_yylex): identifier after dot must not be a variable.
33891 Mon Feb 21 18:31:12 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
33893 * signal.c: Standard signal handlers ignore signals on non-Ruby native
33894 threads. When a handler is entried with ruby_signal() (like as the
33895 standard signal handlers), the handler for the signal is marked as
33896 it cannot accept non-Ruby native threads. If a handler can treat all
33897 signals on all native threads, please use ruby_nativethread_signal()
33900 Sun Feb 20 00:48:48 2005 Tanaka Akira <akr@m17n.org>
33902 * lib/open-uri.rb (URI::FTP#buffer_open): access mechanism
33903 re-implemented according to RFC 1738.
33904 reported by Guillaume Marcais. [ruby-talk:131650]
33906 Sat Feb 19 18:46:56 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
33908 * lib/drb/drb.rb (DRbObject#respond_to?): take two arguments.
33911 * test/drb/drbtest.rb: ditto.
33913 Sat Feb 19 13:52:02 2005 Tanaka Akira <akr@m17n.org>
33915 * lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_check
33916 after connection is made.
33918 Sat Feb 19 13:31:28 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33920 * ext/extmk.rb (extract_makefile): remove no longer existing installed
33923 * lib/mkmf.rb (install_dirs): return installation directory list.
33925 * lib/mkmf.rb (create_makefile): reverted wrongly removed lines.
33927 Sat Feb 19 01:28:56 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33929 * ext/bigdecimal/lib/bigdecimal/newton.rb: resolved LoadError.
33932 * ext/bigdecimal/sample/linear.rb: ditto.
33934 * ext/bigdecimal/sample/nlsolve.rb: ditto.
33936 * ext/bigdecimal/lib/bigdecimal/nlsolve.rb: removed because this file
33937 is sample script and same file exists in ext/bigdecimal/sample.
33939 Fri Feb 18 17:14:00 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33941 * lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
33942 of StandardError class, not Exception class. [ruby-core:04429]
33944 Fri Feb 18 04:06:41 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33946 * parse.y (fcall_gen): lvar(arg) will be evaluated as
33947 lvar.call(arg) when lvar is a defined local variable. [new]
33949 Thu Feb 17 22:15:34 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
33951 * ext/strscan/strscan.c: calls Oniguruma API directly.
33953 Thu Feb 17 21:53:12 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
33955 * common.mk, LEGAL: remove reggnu.c.
33957 Thu Feb 17 21:53:12 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
33959 * gc.c, re.c: now ruby calls Oniguruma API directly, bypassing
33960 GNU compatible APIs.
33962 Thu Feb 17 20:09:23 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
33964 * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.
33966 Thu Feb 17 20:09:23 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
33968 * test/digest/test_digest.rb: separate test case for each algorithms.
33971 Thu Feb 17 14:31:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33973 * object.c (rb_class_initialize): call inherited method before
33974 calling initializing block.
33976 * eval.c (rb_thread_start_1): initialize newly pushed frame.
33977 fixed: [ruby-dev:25707]
33979 Thu Feb 17 13:46:00 2005 Nathaniel Talbott <ntalbott@ruby-lang.org>
33981 * lib/test/unit/collector.rb (collect_file): now deletes paths added
33982 to $LOAD_PATH instead of restoring it verbatim.
33984 * lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that
33985 'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace
33986 collector again. Also tried to simplify the calling convention.
33988 * test/runner.rb: adjusted for new AutoRunner semantics.
33990 * lib/test/unit.rb: ditto.
33992 Thu Feb 17 04:21:47 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
33994 * lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
33995 fixed: [ruby-core:04444]
33997 Thu Feb 17 00:31:21 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
33999 * test/drb/test_drb.rb, ut_safe1.rb: port from 1.8
34001 Thu Feb 17 00:02:27 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34003 * eval.c (is_defined): NODE_IASGN is an assignment.
34005 Wed Feb 16 23:54:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34007 * eval.c (rb_thread_start_1): outer block variables wasn't linked to
34008 threads. fixed: [ruby-dev:25700]
34010 Wed Feb 16 15:11:43 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34012 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize):
34013 native win32 platform doesn't have F_GETFL.
34015 Wed Feb 16 02:47:45 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34017 * ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): should
34018 call rb_sys_fail instead of raising SSLError if SSL_ERROR_SYSCALL
34021 * ext/openssl/lib/openssl/buffering.rb (Buffering#fill_rbuff):
34022 should rescue Errno::EAGAIN.
34024 * ext/openssl/lib/openssl/buffering.rb (Buffering#each): fix typo.
34025 suggested by Brian Ollenberger.
34027 * ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the
34030 Tue Feb 15 22:14:34 2005 sheepman <sheepman@tcn.zaq.ne.jp>
34032 * ext/readline/readline.c (Readline.readline): use rl_outstream
34033 and rl_instream. [ruby-dev:25699]
34035 Mon Feb 14 23:58:17 2005 Kouhei Sutou <kou@cozmixng.org>
34037 * lib/rss/parser.rb (RSS::ListenerMixin::tag_end):
34038 fixed invalid namespace handling bug.
34040 Mon Feb 14 13:12:38 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34042 * ext/openssl/lib/openssl/ssl.rb
34043 (OpenSSL::SSL::SSLSocket#post_connection_check): new method.
34045 Mon Feb 14 00:10:17 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34047 * lib/drb/drb.rb (DRbServer): add default_safe_level, safe_level,
34048 config[:safe_level] ([druby-ja:120])
34050 * test/drb/test_drb.rb, ut_eval.rb, ut_safe1.rb: ditto.
34052 Sun Feb 13 23:13:46 2005 Kouhei Sutou <kou@cozmixng.org>
34054 * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added
34055 convenient methods.
34057 * lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto.
34059 * lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto.
34061 * test/rss/: added tests for the convenient methods.
34063 Sun Feb 13 23:12:47 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34065 * eval.c (rb_thread_start_0): restore prot_tag before rewinding.
34067 Sun Feb 13 16:56:52 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34069 * lib/webrick/cgi.rb (WEBrick::CGI.start): should set reason-phrase
34070 to the value of status header field. ([ruby-dev:40617])
34072 Sun Feb 13 11:38:40 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
34074 * regparse.c (type_cclass_hash): (Thanks Nobu) fixed
34075 overrun. ([ruby-dev:25676]).
34077 Sun Feb 13 10:53:08 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
34079 * oniggnu.h, oniguruma.h, regcomp.c, st.c: imported
34082 Sun Feb 13 01:33:19 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34084 * lib/erb.rb (ERB::Util.h, u): make it module_function.
34086 Sat Feb 12 22:17:11 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34088 * eval.c (TAG_THREAD): to start a new thread.
34090 * eval.c (ruby_init, ruby_options, ruby_cleanup, rb_protect,
34091 rb_load_protect, rb_thread_start_0): make thread anchor.
34093 * eval.c (proc_alloc): clone proc object if klass is not Proc or
34094 created in different thread.
34096 * eval.c (rb_block_pass): call a function with a block. [new]
34098 * eval.c (rb_f_throw): raise NameError in main thread.
34100 Sat Feb 12 17:29:19 2005 Tanaka Akira <akr@m17n.org>
34102 * lib/open-uri.rb (OpenURI.open_loop): send authentication only for
34103 the URI directly specified.
34105 Sat Feb 12 15:07:23 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34107 * random.c (rand_init): suppress warning.
34109 Sat Feb 12 14:10:24 2005 Tanaka Akira <akr@m17n.org>
34111 * lib/open-uri.rb (OpenURI.open_http): reject userinfo explicitly.
34113 Sat Feb 12 13:54:03 2005 Tanaka Akira <akr@m17n.org>
34115 * lib/open-uri.rb: support https if the platform provides CA
34118 Sat Feb 12 06:18:28 2005 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
34120 * ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check
34123 Fri Feb 11 17:37:50 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34125 * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths):
34126 new method OpenSSL::X509::Store#set_default_paths.
34128 Fri Feb 11 11:33:53 2005 Tanaka Akira <akr@m17n.org>
34130 * lib/open-uri.rb (URI::HTTP#proxy_open): new option supported:
34131 :http_basic_authentication.
34132 suggested by Kent Sibilev. [ruby-core:4392]
34134 Fri Feb 11 06:30:07 2005 George Ogata <g_ogata@optushome.com.au>
34136 * misc/ruby-mode.el: ignore parenthesis inside heredoc.
34139 Fri Feb 11 04:54:13 2005 Tilman Sauerbeck <tilman@code-monkey.de>
34141 * lib/rdoc/generators/html_generator.rb: [ruby-core:04412]
34143 * lib/rdoc/generators/ri_generator.rb: ditto.
34145 Thu Feb 10 13:52:42 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34147 * configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): use
34148 winsock2 on mswin32/mingw.
34150 * ext/socket/extconf.rb: ditto.
34152 * win32/win32.c (StartSockets): ditto.
34154 * win32/win32.h: ditto.
34156 Thu Feb 10 12:09:16 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34158 * ext/extmk.rb (extract_makefile): default to true if not compiled
34161 * ext/extmk.rb (extmake): create dummy makefile if extconf failed.
34163 Thu Feb 10 12:07:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34165 * win32/win32.c (init_stdhandle): assign standard file handles.
34167 * bcc32/Makefile.sub (COMMON_LIBS): add libraries included in
34170 * lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to
34171 rule lines, add search path to implicit rules, and set Borland make
34172 special macros for search path.
34174 * win32/win32.c, win32/win32.h (read): avoid a BCC runtime bug.
34176 Thu Feb 10 00:47:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34178 * struct.c (make_struct): fixed: [ruby-core:04402]
34180 Wed Feb 9 16:33:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34182 * ext/socket/socket.c (wait_connectable): fixed wrong condition.
34184 Wed Feb 9 14:42:28 2005 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
34186 * eval.c (scope_dup): add volatile not to optimize tbl.
34188 Wed Feb 9 10:02:02 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34190 * ext/tk/make-tkutil, ext/tk/tkutil/subconf.rb: no longer used.
34192 * ext/tk/tkutil/extconf.rb: need to compile tkutil. [ruby-dev:25607]
34194 Wed Feb 9 08:07:08 2005 Paul Duncan <pabs@pablotron.org>
34196 * ext/curses/curses.c (window_color_set): [ruby-core:04393]
34198 Tue Feb 8 23:48:36 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34200 * lib/drb/drb.rb: reject :instance_eval, :class_eval, :module_eval
34203 Tue Feb 8 22:38:28 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34205 * keywords, parse.y: separate EXPR_VALUE from EXPR_BEG.
34206 fixed: [ruby-core:04310], [ruby-core:04368]
34208 Tue Feb 8 13:06:12 2005 Sam Roberts <sroberts@uniserve.com>
34210 * ext/socket/socket.c (Init_socket): SO_REUSEPORT added.
34213 Tue Feb 8 00:19:02 2005 Tanaka Akira <akr@m17n.org>
34215 * lib/resolv.rb (Resolv::DNS::Name#subdomain_of?): new method.
34216 (Resolv::DNS::Name#inspect): ditto.
34217 Suggested by Sam Roberts. [ruby-talk:129086]
34219 Mon Feb 7 23:14:11 2005 Tanaka Akira <akr@m17n.org>
34221 * io.c (io_getc): flush rb_stdout before read from stdin, which is
34222 connected to a tty. [ruby-core:4378]
34224 * rubyio.h (FMODE_TTY): renamed from FMODE_LINEBUF.
34226 Mon Feb 7 10:06:30 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34228 * object.c: [ruby-doc:818]
34230 Mon Feb 7 02:13:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34232 * ext/socket/extconf.rb (sockaddr_storage): winsock2.h have the
34233 definition of struct sockaddr_storage, but socket.c doesn't
34234 include it because this version of ruby still has binary level
34235 compatibility with winsock1.
34237 Mon Feb 7 01:22:50 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34239 * ext/extmk.rb (extract_makefile): extract previously collected
34240 informations from existing Makefile.
34242 * ext/socket/extconf.rb: check if getaddrinfo() works fine only when
34243 wide-getaddrinfo option is not given. fixed: [ruby-dev:25422]
34245 * ext/tk/extconf.rb: separate tkutil configuration.
34247 * lib/mkmf.rb ($extmk): check if under ext directory.
34249 * lib/mkmf.rb (Logging.postpone): allow recursive operation.
34251 * lib/mkmf.rb (try_constant): make sure if really a constant, reduce
34252 the number of times of compile.
34254 * lib/mkmf.rb (have_macro, have_var, byte_order): new functions.
34256 * lib/mkmf.rb (find_library): allow directory list with separators.
34258 * lib/mkmf.rb (arg_config): manage provided configuration options.
34260 * lib/mkmf.rb (dir_config): accept arrays of directory names as
34263 * lib/mkmf.rb (with_cppflags, with_cflags, with_ldflags): keep flags
34264 modified if the block returned true.
34266 Sun Feb 6 19:20:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34268 * eval.c (stack_extend): add prototype because VC++8 doesn't
34269 accept __declspec(noinline) with K&R style function definitions.
34271 Sun Feb 6 13:56:19 2005 Tadayoshi Funaba <tadf@dotrb.org>
34273 * lib/date.rb (new_with_hash): changed messages of exception.
34275 * lib/date/format.rb (str[fp]time): undocumented conversion
34276 specifications %[1-3] are now deprecated.
34278 Sun Feb 6 11:27:37 2005 Tanaka Akira <akr@m17n.org>
34280 * ext/dl/dl.c (Init_dl): function declaration should precede
34281 statements before C99.
34283 Sun Feb 6 03:24:20 2005 Tanaka Akira <akr@m17n.org>
34285 * lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not
34287 (Resolv::DNS::Resource::TXT#strings): new method to return all
34289 (Resolv::DNS::Message::MessageEncoder#put_string_list): new method.
34290 (Resolv::DNS::Message::MessageDecoder#get_string_list): ditto.
34291 based on [ruby-talk:129732] by Sam Roberts.
34293 Sat Feb 5 02:24:06 2005 Minero Aoki <aamine@loveruby.net>
34295 * test/ripper/test_scanner_events.rb: fix test.
34297 Fri Feb 4 18:44:35 2005 Minero Aoki <aamine@loveruby.net>
34299 * ext/ripper/lib/ripper/lexer.rb: last Lexer fix was incomplete;
34302 Fri Feb 4 15:57:06 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34304 * parse.y (open_args): fix too verbose warnings for the space
34305 before argument parentheses. [ruby-dev:25492]
34307 * parse.y (parser_yylex): ditto.
34309 Fri Feb 4 14:33:25 2005 Minero Aoki <aamine@loveruby.net>
34311 * ext/ripper/lib/ripper/filter.rb: ripper/tokenizer ->
34312 ripper/lexer. [ruby-dev:25632]
34314 Fri Feb 4 00:24:15 2005 Kouhei Sutou <kou@cozmixng.org>
34316 * lib/rss: supported Image module.
34317 http://web.resource.org/rss/1.0/modules/image/
34319 Thu Feb 3 23:42:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34321 * ext/stringio/stringio.c (strio_close, strio_close_read, strio_close_write):
34322 should return nil instead of self as well as IO. [ruby-dev:25623]
34324 * ext/stringio/stringio.c (strio_extend, strio_putc): fill with zero
34325 extended portion. [ruby-dev:25626]
34327 Thu Feb 3 16:12:57 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34329 * parse.y (parser_yylex): the first expression in the parentheses
34330 should not be a command. [ruby-dev:25492]
34332 Thu Feb 3 03:31:20 2005 NARUSE, Yui <naruse@ruby-lang.org>
34334 * ext/nkf/nkf-utf8/nkf.c: follow original v 1.57
34336 * ext/nkf/nkf-utf8/utf8tbl.c: follow original v 1.8
34338 * ext/nkf/nkf-utf8/config.h: follow original v 1.7
34340 Wed Feb 2 23:52:53 2005 sheepman <sheepman@tcn.zaq.ne.jp>
34342 * ext/stringio/stringio.c (strio_truncate): should MEMZERO an extended
34343 part. [ruby-dev:25618]
34345 Wed Feb 2 21:56:01 2005 Kouhei Sutou <kou@cozmixng.org>
34347 * lib/rss/rss.rb (RSS::Element#convert): added.
34349 * lib/rss/rss.rb: convert -> need_convert.
34351 * lib/rss/1.0.rb: ditto.
34353 * lib/rss/0.9.rb: ditto.
34355 * lib/rss/2.0.rb: ditto.
34357 * lib/rss/trackback.rb: ditto.
34359 Wed Feb 2 03:30:58 2005 Minero Aoki <aamine@loveruby.net>
34361 * ext/ripper/lib/ripper/tokenizer.rb -> lexer.rb.
34363 * ext/ripper/lib/ripper/lexer.rb: new method Ripper.slice.
34366 * ext/ripper/lib/ripper/sexp.rb: new file. [experimental]
34368 * ext/ripper/lib/ripper.rb: require ripper/lexer and ripper/sexp.
34370 Tue Feb 1 21:49:24 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34372 * lib/drb/drb.rb (DRb::DRbObject#respond_to?): check marshal_dump and
34375 Tue Feb 1 00:20:23 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34377 * Makefile.in, configure.in: made EXTOUT configurable.
34379 * ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style.
34381 * lib/mkmf.rb: make extensions in depth order. [ruby-dev:25522]
34383 * configure.in (aix): fix linker flags on AIX. [ruby-talk:125460]
34385 Mon Jan 31 13:16:39 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34387 * ext/tk/extconf.rb: add tkutil configuration step (remove old schema)
34389 * ext/tk/depend: remove the information of tkutil
34391 * ext/tk/make-tkutil: sub-part of Makefile to compile tkutil
34393 * ext/tk/tkutil/tkutil.c: move tkutil.c to subdirectory
34395 * ext/tk/tkutil/subconf.rb: configuration file for tkutil.c
34397 * ext/tk/tkutil/depend: ditto
34399 Mon Jan 31 13:13:35 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34401 * ext/tk/tcltklib.c: add invalid namespace check
34403 * ext/tk/lib/multi-tk.rb: add invalid_namespace? method
34405 * ext/tk/lib/remote-tk.rb: ditto
34407 Mon Jan 31 10:29:18 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34409 * lib/irb/context.rb (IRB::Context::initialize): [ruby-core:04330]
34411 Mon Jan 31 09:44:03 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34413 * object.c (Init_Object): remove Object#type. [ruby-core:04335]
34415 Sat Jan 29 09:42:12 2005 Sam Roberts <sroberts@uniserve.com>
34417 * lib/resolv.rb (Resolv::DNS::Resource::IN::SRV): Added RFC2782 SRV
34418 resource record for specifying location of services.
34420 Sat Jan 29 00:10:33 2005 Kazuo Saito <ksaito@uranus.dti.ne.jp>
34422 * ascii.c, euc_jp.c, hash.c, oniggnu.h, oniguruma.h, regcomp.c,
34423 regenc.c, regenc.h, regerror.c, regexec.c, reggnu.c, regint.h,
34424 regparse.c, regparse.h, sjis.c, st.c, st.h, utf8.c: imported
34427 Fri Jan 28 17:16:55 2005 Tanaka Akira <akr@m17n.org>
34429 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf):
34430 parse options line for ndots option.
34431 (Resolv::Hosts#lazy_initialize): return self.
34432 (Resolv::DNS#lazy_initialize): ditto.
34433 (Resolv::DNS::Config#lazy_initialize): ditto.
34434 Suggested by Sam Roberts.
34436 Thu Jan 27 17:15:03 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34438 * ext/tk/extconf.rb: support new tk scheme on bccwin32.
34439 fixed: [ruby-dev:25546]
34441 Thu Jan 27 13:18:03 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34443 * st.c (st_foreach): report success/failure by return value.
34446 Thu Jan 27 00:12:19 2005 Minero Aoki <aamine@loveruby.net>
34448 * test/fileutils/test_fileutils.rb (setup): support BSD style
34449 directory group inheritance (again).
34451 Thu Jan 27 00:02:40 2005 Minero Aoki <aamine@loveruby.net>
34453 * test/fileutils/test_fileutils.rb (setup): support BSD style
34454 directory group inheritance. [ruby-dev:25440]
34456 * test/fileutils/fileasserts.rb (assert_same_entry): show entry
34459 Wed Jan 26 17:12:50 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34461 * parse.y: forgot to initialize parser struct. [ruby-dev:25492]
34463 * parse.y (parser_yylex): no tLABEL on EXPR_BEG.
34466 Wed Jan 26 14:12:58 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34468 * ext/Setup*: remove tcltklib.
34470 Wed Jan 26 12:45:16 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34472 * ext/tk/extconf.rb: support new tk scheme on mswin32.
34473 fixed: [ruby-dev:25535]
34475 Wed Jan 26 10:45:19 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34477 * win32/win32.c (flock_winnt, flock_win95): unlock file even if
34478 LOCK_NB is specified.
34480 Tue Jan 25 23:10:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34482 * ext/tk: merge tcltklib for Ruby/Tk installation control
34484 * ext/tcltklib: remove
34486 Tue Jan 25 17:05:15 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34488 * ruby.c (proc_options): correct -T option in RUBYOPT.
34489 fixed: [ruby-dev:25512]
34491 Tue Jan 25 14:05:52 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34493 * ext/tcltklib/tcltklib.c: fix SEGV bug; trouble on canceling remained
34494 after scripts [ruby-dev:25479]: NULL current namespace when deleting
34495 Tk interpreter [ruby-talk:126225]
34497 * ext/tcltklib/extconf.rb: bug fix; TCL_ENABLE_THREAD flag is inverted
34500 * ext/tcltklib/extconf.rb: add yet another native-thread check
34502 * ext/tk/tkutil.c: fix SEGV bug; NULL string pointer when finalize
34505 * ext/tk/lib/multi-tk.rb: avoid warning for deleted safeTk ip frame
34507 * ext/tk/lib/tk/bindtag.rb: bug fix; new method of named bindtag
34508 doesn't return the created object [ruby-dev:25479]
34510 * ext/tk/lib/tk/menu.rb: bug on treating arguments [ruby-dev:25479]
34512 * ext/tk/lib/tk.rb: bug fix; cannot accept a callback ID string for
34513 a command argument [ruby-dev:25479]
34515 * ext/tk/lib/multi-tk.rb: ditto
34517 * ext/tk/lib/tk/*.rb: ditto
34519 * ext/tk/lib/tkextlib/*.rb: ditto
34521 * ext/tk/sample/demos-jp/anilabel.rb: new demo script
34523 * ext/tk/sample/demos-en/anilabel.rb: ditto
34525 * ext/tk/sample/tkHTML/ss.rb: local variable scope bug fix
34528 Mon Jan 24 16:00:53 2005 NARUSE, Yui <naruse@ruby-lang.org>
34530 * ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_old
34531 but NKF.guess1. fixed: [ruby-dev:25491]
34533 Mon Jan 24 15:44:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34535 * document updates - [ruby-core:04296], [ruby-core:04301],
34536 [ruby-core:04302], [ruby-core:04307]
34538 Sun Jan 23 12:38:01 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
34540 * lib/soap/wsdlDriver.rb: from 1.5.3-ruby1.8.2, operation which has
34541 capitalized name (such as KeywordSearchRequest in AWS) is defined as
34542 a method having uncapitalized name. (converted with
34543 GenSupport.safemethodname to handle operation name 'foo-bar'). it
34544 introduced serious incompatibility; in the past, it was defined as a
34547 define capitalized method as well under that circumstance.
34549 Sun Jan 23 05:24:42 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34551 * ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call
34552 GetOCSPReq at first.
34554 Sat Jan 22 22:59:08 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34556 * lib/drb/ssl.rb (accept): rescue SSLError. [druby-ja:110]
34558 Sat Jan 22 22:27:28 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34560 * lib/drb/unix.rb: fail if UNIXFileOwner is set. [druby-ja:111]
34562 Fri Jan 21 20:07:02 2005 Tanaka Akira <akr@m17n.org>
34564 * lib/resolv.rb (Resolv::DNS::Config.resolv): don't raise ResolvError.
34565 reported by Sam Roberts. [ruby-talk:127133]
34567 Fri Jan 21 17:09:44 2005 Shugo Maeda <shugo@ruby-lang.org>
34569 * lib/net/imap.rb (decode_utf7): use pack("U*") to encode UTF-8.
34571 * lib/net/imap.rb (encode_utf7): use unpack("U*") to decode UTF-8.
34573 * test/net/imap/test_imap.rb: added tests for Net::IMAP.
34575 Fri Jan 21 16:58:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34577 * dir.c (rb_push_glob): should work for NUL delimited patterns.
34579 * dir.c (rb_glob2): should aware of offset in the pattern.
34581 Fri Jan 21 13:58:37 2005 Shugo Maeda <shugo@ruby-lang.org>
34583 * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546]
34585 Fri Jan 21 00:37:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34587 * ext/syck/rubyext.c (syck_parser_bufsize_set): avoid VC++ warning
34588 "local variable 'size' used without having been initialized".
34590 Thu Jan 20 11:42:02 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34592 * string.c (rb_str_new4): should propagate taintedness.
34594 * env.h: rename member names in struct FRAME; last_func -> callee,
34595 orig_func -> this_func, last_class -> this_class.
34597 * struct.c (rb_struct_set): use original method name, not callee
34598 name, to retrieve member slot. [ruby-core:04268]
34600 * time.c (time_strftime): protect from format modification from GC
34603 Thu Jan 20 02:01:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34605 * object.c (Init_Object): remove rb_obj_id_obsolete()
34607 Wed Jan 19 18:02:19 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34609 * lib/ipaddr.rb (to_s, test_to_s): too many colons with some cases.
34611 Wed Jan 19 01:16:30 2005 Tanaka Akira <akr@m17n.org>
34613 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignore
34614 domain and search directive without an argument.
34615 reported by Sam Roberts. [ruby-talk:126781]
34617 Mon Jan 17 23:33:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34619 * configure.in (aix): fix typo. [ruby-talk:126401]
34621 Mon Jan 17 07:08:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34623 * ext/readline/readline.c: suppress warnings.
34625 * lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command):
34628 * lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto.
34630 * lib/irb/ext/history.rb (IRB::Context::eval_history): ditto.
34632 * lib/irb/locale.rb (IRB::Locale::real_load): ditto.
34634 * lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage.
34636 Mon Jan 17 00:09:42 2005 WATANABE Hirofumi <eban@ruby-lang.org>
34638 * lib/uri/common.rb (PORT): typo fix. fixed: [ruby-core:04256]
34640 Sat Jan 15 14:57:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34642 * ruby.c (proc_options): ignore trailing CRs at the end of short
34643 options as well as long options. fixed: [ruby-core:04232]
34645 Sat Jan 15 13:44:22 2005 Kouhei Sutou <kou@cozmixng.org>
34647 * lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3.
34649 * lib/rss/rss.rb: accept inheritance. [ruby-talk:126104]
34651 Wed Jan 12 12:29:28 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34653 * eval.c (rb_mod_define_method): incomplete subclass check.
34656 * class.c (rb_make_metaclass): class of metaclasses should be
34657 plain Class. [ruby-list:40524]
34659 Tue Jan 11 20:58:52 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34661 * io.c (remain_size): use buffered data instead of unreading to avoid
34662 inconsistency of text mode. fixed: [ruby-dev:25446]
34664 Tue Jan 11 09:37:53 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34666 * numeric.c (Init_Numeric): turn off floating point exceptions
34667 on bcc32. "1e300".to_f had crashed by overflow.
34669 Mon Jan 10 15:28:51 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34671 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should
34672 escape SCRIPT_NAME and PATH_INFO before being parsed as a URI.
34674 * lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add
34675 new method to escape URI path component.
34677 * lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value
34678 of :SSLEnable is false.
34680 * test/webrick/{test_cgi.rb,webrick.cgi}: new file.
34682 * test/webrick/utils.rb: require "webrick/https.h".
34684 Mon Jan 10 01:22:55 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34686 * gc.c (rb_data_object_alloc): klass may be NULL.
34689 Sun Jan 9 14:12:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34691 * io.c (rb_f_select): IO list could be altered. [ruby-dev:25312]
34693 Sun Jan 9 04:08:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34695 * test/webrick/test_server.rb (test_daemon): delete an assertion
34696 which has possibility to fail by race condition.
34698 Sun Jan 9 03:22:46 2005 Minero Aoki <aamine@loveruby.net>
34700 * test/fileutils/test_fileutils.rb (test_copy_entry): copy_entry
34701 copies only file type, not mtime. [ruby-dev:25383]
34703 Sat Jan 8 04:38:47 2005 why the lucky stiff <why@ruby-lang.org>
34705 * lib/yaml.rb: Kernel#y requires an argument.
34707 Fri Jan 7 21:12:29 2005 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
34709 * random.c (rand_init): use ALLOC_N instead of ALLOCA_N
34712 Fri Jan 7 20:01:31 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34714 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
34715 should delete trailing LF from the result of pack("m*").
34717 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
34718 - should delete trailing LF from the result of pack("m*").
34719 - clear Request-Line not to send the response by HTTPServer#run.
34721 * lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues):
34722 refine regexp (and change the name of a local variable).
34724 * lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio
34725 don't allow changing its mode.
34727 * test/webrick/*, sample/webrick/httpproxy.rb: add new files.
34729 Fri Jan 7 18:03:35 2005 Tanaka Akira <akr@m17n.org>
34731 * gc.c (mark_locations_array): avoid core dump with -O3.
34734 Thu Jan 6 20:29:18 2005 NAKAMURA Usaku <usa@ruby-lang.org>
34736 * ext/zlib/zlib.c (zstream_end): should return value.
34738 Thu Jan 6 19:59:03 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34740 * win32/win32.c (rb_w32_close): didn't close socket handle.
34743 * win32/win32.c (rb_w32_open_osfhandle): bcc32's _open_osfhandle
34746 Thu Jan 6 17:22:41 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34748 * random.c (random_seed): O_NONBLOCK isn't defined on some
34749 platforms. [ruby-dev:25417]
34751 Thu Jan 6 13:45:35 2005 Tanaka Akira <akr@m17n.org>
34753 * lib/time.rb: recognize +00:00 and GMT as a localtime.
34755 Thu Jan 6 07:58:28 2005 Dave Thomas <dave@pragprog.com>
34757 * lib/rdoc/usage.rb (RDoc::RDoc.usage_no_exit): Allow for colons
34758 in path names on DOS machines. (thanks to Johan Nilsson)
34760 Thu Jan 6 00:02:35 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34762 * test/rinda/test_rinda.rb: use MockClock.sleep instead of Kernel.sleep
34765 Wed Jan 5 20:16:32 2005 Tanaka Akira <akr@m17n.org>
34767 * random.c (limited_big_rand): didn't work if SIZEOF_BDIGITS == 2.
34770 * random.c (random_seed): refined.
34772 Wed Jan 5 16:39:54 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
34774 * parse.y (BITSTACK_POP): workaround for bcc32 compiler's bug.
34775 shift assignment operator '>>=' for __int64 in struct may
34776 generate collapsed code. [ruby-dev:25342]
34778 * win32/win32.[ch]: failed to compile on bcc32 (and probably wince)
34781 Wed Jan 5 12:49:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
34783 * eval.c (rb_thread_initialize): Thread objects cannot be initialized
34784 again. fixed: [ruby-core:04067]
34786 Wed Jan 5 02:30:11 2005 Tanaka Akira <akr@m17n.org>
34788 * random.c (init_by_array): imported from mt19937ar-cok.tgz.
34789 (genrand_int32): ditto.
34790 (genrand_real): replaced with genrand_res53 in mt19937ar-cok.
34791 (rand_init): support bignum for longer seed.
34792 (random_seed): generate longer seed.
34793 (make_mask): new function.
34794 (limited_rand): ditto.
34795 (limited_big_rand): ditto.
34796 (rb_f_rand): call limited_rand and limited_big_rand.
34799 Tue Jan 4 23:25:29 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34801 * bignum.c (rb_big_rand): should return positive random number.
34804 Tue Jan 4 21:25:43 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34806 * test/drb/{test_drbssl.rb,test_drbunix.rb,ut_drb.rb}: use
34807 DRbService.ext_service. reduce sleep.
34809 Mon Jan 3 14:01:54 2005 Tanaka Akira <akr@m17n.org>
34811 * random.c (random_seed): don't use /dev/urandom if it is not
34814 Mon Jan 3 11:37:42 2005 Tanaka Akira <akr@m17n.org>
34816 * random.c (random_seed): use /dev/urandom if available.
34819 Tue Jan 4 11:15:29 2005 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
34821 * bignum.c (rb_big_rand): do not use rb_big_modulo to generate
34822 random bignums. [ruby-dev:25396]
34824 Mon Jan 3 11:03:37 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34826 * test/drb/test_drb.rb: move TestDRbReusePort to new file.
34829 * test/drb/drbtest.rb: change timeout.
34831 * test/drb/ignore_test_drb.rb: new file.
34833 Mon Jan 3 07:27:46 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34835 * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
34836 raise NotImplementedError if password is encrypted by digest
34837 algorithms. This patch is contributed by sheepman. [ruby-list:40467]
34839 * lib/webrick/httpauth/digestauth.rb
34840 (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
34841 This patch is contributed by sheepman. [ruby-list:40482]
34843 * lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
34844 pack/unpack-template char "m" instead of lib/base64.rb to do base64
34845 encoding/decoding. fixed: [ruby-dev:25336]
34847 * test/webrick/test_httpauth.rb: new file.
34849 Sun Jan 2 15:42:10 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34851 * lib/drb/drb.rb: add lazy stop_service.
34853 * lib/drb/extserv.rb: ditto.
34855 Sun Jan 2 01:17:17 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
34857 * test/drb/drbtest.rb: add method DRbService.ext_service.
34859 * test/drb/test_drb.rb: ditto.
34861 * test/drb/test_drbssl.rb: ditto.
34863 Sat Jan 1 20:23:02 2005 Tanaka Akira <akr@m17n.org>
34865 * io.c (argf_readpartial): new method ARGF.readpartial.
34866 (io_getpartial): extracted from io_readpartial.
34867 (io_readpartial): call io_getpartial.
34869 Sat Jan 1 17:44:54 2005 Minero Aoki <aamine@loveruby.net>
34871 * lib/net/http.rb (each_capitalized): should join header field
34872 value. This patch is contributed sheepman [ruby-list:40478]
34874 * test/net/http/test_httpheader.rb: test it.
34876 Sat Jan 1 16:21:29 2005 Minero Aoki <aamine@loveruby.net>
34878 * lib/fileutils.rb (copy_stream): use read/write instead of
34879 sysread/syswrite, which allows duck typing. [ruby-dev:25369]
34881 * lib/fileutils.rb (copy_stream): does NOT support nonblocking IO.
34884 * lib/fileutils.rb (copy_entry): could not copy symlink.
34886 * test/fileutils/test_fileutils.rb: test copy_entry, copy_file,
34889 Sat Jan 1 04:20:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
34891 * ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call
34892 StringValue before GetSPKI. fixed: [ruby-dev:25359].
34894 Sat Jan 1 01:13:28 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
34896 * variable.c (rb_autoload): [ruby-dev:25373]
34898 Fri Dec 31 14:10:43 2004 Dave Thomas <dave@pragprog.com>
34900 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item):
34901 Fix problem if heading contains formatting.
34903 Fri Dec 31 00:08:02 2004 Tanaka Akira <akr@m17n.org>
34905 * configure.in (HAVE_RLIM_T): removed because not used.
34907 Thu Dec 30 22:45:39 2004 Tanaka Akira <akr@m17n.org>
34909 * rubyio.h: don't deprecate rb_read_check.
34911 * io.c (STDIO_READ_DATA_PENDING): reverted from old READ_DATA_PENDING
34912 to check stdio read buffer.
34913 (rb_read_check): use STDIO_READ_DATA_PENDING.
34914 (rb_read_pending): ditto.
34917 Thu Dec 30 05:39:35 2004 Minero Aoki <aamine@loveruby.net>
34919 * parse.y: eliminate unused members in struct parser_params.
34920 [ruby-dev:25258] (again)
34922 * parse.y: make parser_new() static.
34924 Thu Dec 30 00:41:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
34926 * eval.c (svalue_to_avalue): [ruby-dev:25366]
34928 * string.c (rb_str_justify): [ruby-dev:25367]
34930 Wed Dec 29 11:07:07 2004 Dave Thomas <dave@pragprog.com>
34932 * lib/rdoc/generators/template/html/kilmer.rb: Update to use new
34935 Tue Dec 28 22:31:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
34937 * string.c (rb_str_justify): create buffer string after argument type
34938 conversion. fixed: [ruby-dev:25341]
34940 Tue Dec 28 17:18:17 2004 NAKAMURA Usaku <usa@ruby-lang.org>
34942 * lib/net/telnet.rb (preprocess): remove NULL unless binmode.
34943 fixed: [ruby-list:40320]
34945 Tue Dec 28 15:41:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
34947 * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
34948 variables. fixed: [ruby-list:40445]
34950 Tue Dec 28 15:25:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
34952 * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
34955 * ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
34958 Tue Dec 28 13:35:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
34960 * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate): ensure
34961 freeing internal zstreams. fixed: [ruby-dev:25309]
34963 * ext/zlib/zlib.c (rb_deflate_init_copy): replace rb_deflate_clone.
34965 Mon Dec 27 20:02:14 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
34967 * ext/tcltklib/tcltklib.c: fix SEGV bug when deleting Tk interp
34969 * ext/tk/lib/multi-tk.rb: ditto
34971 Mon Dec 27 16:54:05 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
34973 * ext/openssl/ossl_x509name.c (Init_ossl_x509name): should use
34974 rb_hash_new to get exactly a Hash. fix [ruby-dev:25325].
34976 Mon Dec 27 15:29:12 2004 Minero Aoki <aamine@loveruby.net>
34978 * test/fileutils/test_fileutils.rb (cp_r): tested wrong file name.
34981 Mon Dec 27 15:15:18 2004 Minero Aoki <aamine@loveruby.net>
34983 * lib/fileutils.rb (mv): should raise error when moving a
34984 directory to the (empty) directory. [ruby-talk:124368]
34986 * lib/fileutils.rb (mv): wrongly did not overwrite file on Win32
34989 Mon Dec 27 14:36:20 2004 NAKAMURA Usaku <usa@ruby-lang.org>
34991 * process.c (NUM2RLIM, RLIM2NUM): Without SIZEOF_RLIM_T is not error.
34992 fixed: [ruby-dev:25346]
34994 Sun Dec 26 16:21:39 2004 Shugo Maeda <shugo@ruby-lang.org>
34996 * lib/net/imap.rb (Net::IMAP::PlainAuthenticator): added a new class
34997 to support the PLAIN authentication mechanism. Thanks, Benjamin
35000 Sat Dec 25 01:28:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35002 * io.c (rb_f_select): [ruby-dev:25312]
35004 Fri Dec 24 23:27:18 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35006 * ext/tk/lib/tk/image.rb: TkPhotoImage#cget bug fix
35008 Fri Dec 24 03:06:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35010 * io.c (io_reopen, rb_io_reopen): prohibit to change access mode for
35011 special IO ports. [ruby-dev:25225]
35013 * io.c (next_argv): reduce use of stdio.
35015 Fri Dec 24 02:22:53 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35017 * ext/syck/rubyext.c (syck_loader_transfer): check type conversion.
35019 * ext/syck/rubyext.c (syck_parser_assign_io, rb_new_syck_node): duck
35022 * ext/syck/rubyext.c (syck_parser_s_alloc, syck_parser_initialize):
35023 allocation framework.
35025 * ext/syck/rubyext.c (syck_emitter_s_alloc, syck_emitter_initialize):
35028 Fri Dec 24 01:21:00 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35030 * ext/tk/lib/tkextlib/blt.rb: add BLT extension support
35032 * ext/tk/lib/tkextlib/blt/*.rb: ditto
35034 * ext/tk/lib/tkextlib/blt/tile/*.rb: ditto
35036 Thu Dec 23 23:43:24 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35038 * process.c (proc_setgroups): check if the argument length is
35039 modified. fixed: [ruby-dev:25285]
35041 * process.c (SIZEOF_RLIM_T): err if size of rlim_t is not set.
35043 Thu Dec 23 19:08:41 2004 Tanaka Akira <akr@m17n.org>
35045 * rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.
35047 * io.c (io_check_tty): extracted function to set FMODE_LINEBUF and
35050 Thu Dec 23 13:13:33 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35052 * ext/tcltklib/tcltklib.c: define TclTkLib::COMPILE_INFO and
35055 * ext/tcltklib/extconf.rb: ditto
35057 * ext/tk/tkutil.c: define TkUtil::RELEASE_DATE
35059 * ext/tk/lib/tk.rb: define Tk::RELEASE_DATE
35061 Thu Dec 23 00:16:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35063 * configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]
35065 Wed Dec 22 11:14:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35067 * io.c (rb_io_mode_modenum): replace O_ACCMODE with O_RDWR.
35068 fixed: [ruby-dev:25273]
35070 Wed Dec 22 08:34:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35072 * ext/dl/sym.c (rb_dlsym_initialize): extract internal pointers after
35073 all argument conversion. fixed: [ruby-dev:25271]
35075 Tue Dec 21 16:15:21 2004 Michael Neumann <mneumann@ruby-lang.org>
35077 * lib/xmlrpc/client.rb: use "" instead of "." if prefix argument is
35078 nil in proxy methods. nil is default value.
35080 * test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb:
35081 use threads instead of forking. this should fix issue #1208
35082 (http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1208&group_id=426).
35083 removed testing of SSL enabled servlet as this hangs.
35085 Wed Dec 22 00:05:10 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
35087 * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.
35089 Tue Dec 21 22:07:41 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35091 * ext/openssl/ossl_asn1.c (ossl_asn1_decode_all): use rb_str_new4
35094 * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
35095 ossl_asn1_decode_all): temporary value should be marked volatile.
35097 Tue Dec 21 12:42:34 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35099 * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode):
35100 use rb_str_new4 to avoid SEGV. fix [ruby-dev:25261]
35102 * test/openssl/test_asn1.rb: add tests for OpenSSL::ASN1.
35104 Tue Dec 21 12:10:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35106 * ext/tk/lib/tk/grid.rb: rescue bug of 'grid configure' on Tcl/Tk8.3-
35108 Mon Dec 20 22:52:29 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
35110 * added samples for the previous soap4r's commit.
35112 Mon Dec 20 22:56:39 2004 Tanaka Akira <akr@m17n.org>
35114 * gc.c (set_stack_end): gcc noinline attribute is available since
35117 Mon Dec 20 22:40:31 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
35120 * lib/soap/mapping/wsdl*.rb
35121 * lib/wsdl/soap/element.rb
35122 * lib/wsdl/xmlSchema/simpleContent.rb
35133 * imported from the soap4r repository. Version: 1.5.3-ruby1.8.2
35135 * added several XSD basetype support: nonPositiveInteger,
35136 negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt,
35137 unsignedShort, unsignedByte, positiveInteger
35139 * HTTP client connection/send/receive timeout support.
35141 * HTTP client/server gzipped content encoding support.
35143 * improved WSDL schema definition support; still is far from
35144 complete, but is making step by step improvement.
35146 Mon Dec 20 14:45:19 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35148 * lib/net/https.rb: delete descriptions about key_file and cert_file.
35149 fixed: [ruby-dev:25243]
35151 * ext/openssl/lib/net/telnets.rb: ditto.
35153 Mon Dec 20 14:07:02 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35155 * ext/tk/lib/multi-tk.rb: supports new features of Tcl/Tk8.5a2
35157 * ext/tk/lib/tk/clock.rb: ditto
35159 * ext/tk/lib/tk/text.rb: ditto
35161 * ext/tk/lib/tk/panedwindow.rb: ditto
35163 Mon Dec 20 13:51:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35165 * ext/socket/socket.c (sock_s_getservbyport): [ruby-talk:124072]
35167 Mon Dec 20 10:51:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35169 * parse.y (special_local_set): prevent the parser object from GC.
35170 fixed: [ruby-dev:25252]
35172 Mon Dec 20 03:30:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35174 * lib/cgi/session.rb (CGI::Session#initialize): empty session id was
35175 used if request had no session key. fixed: [ruby-core:03981]
35177 Mon Dec 20 01:51:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35179 * struct.c (make_struct): [ruby-dev:25249]
35181 Mon Dec 20 00:16:54 2004 Kouhei Sutou <kou@cozmixng.org>
35183 * lib/rexml/encodings/SHIFT_JIS.rb: fixed LoadError bug.
35186 Sun Dec 19 17:24:59 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35188 * configure.in (enable_rpath): use rpath flag to embed the library
35189 path into extensions on ELF environment. [ruby-dev:25035]
35191 Sun Dec 19 11:01:25 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35193 * lib/test/unit.rb: use standalone runner for -e.
35195 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept
35196 multiple -p and -x options.
35198 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect):
35201 Sat Dec 18 16:36:23 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35203 * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate):
35204 disallow interrupt by type conversion. fixed: [ruby-dev:25226]
35206 Sat Dec 18 15:09:02 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
35208 * lib/webrick/httpauth.rb,
35209 lib/webrick/httpauth/{basicauth.rb,digestauth.rb}: use
35210 pack/unpack-template char "m" instead of lib/base64.rb to do base64
35213 Sat Dec 18 10:51:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35215 * dir.c (dir_open_dir): new function. [ruby-dev:25242]
35217 * io.c (rb_f_open): add type check for return value from to_open.
35219 Fri Dec 17 16:44:26 2004 Tanaka Akira <akr@m17n.org>
35221 * configure.in (ac_cv_sizeof_rlim_t): set 8 for BSD/OS.
35222 Reported by OHARA Shigeki. [ruby-dev:25236]
35224 Fri Dec 17 16:28:12 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35226 * ext/tk/lib/tk.rb: fix bug on setting up system encoding
35228 * ext/tk/lib/tk/event.rb: fix error on require process
35230 * ext/tk/lib/tk/font.rb: fix abnormal termination error on Windows
35232 * ext/tk/lib/tk/virtevent.rb: TkVirtualEvent::PreDefVirtEvent.new()
35233 accepts event-sequence arguments
35235 * ext/tk/lib/tk/text.rb: fail to dump embedded images
35237 * ext/tk/lib/tk/text.rb: tag_nextrange and tag_prevrange returns wrong
35240 * ext/tk/lib/tk/texttag.rb: nextrange and prevrange returns wrong
35243 * ext/tk/lib/tk/text.rb: add TkText::IndexModMethods module and
35244 TkText::IndexString class to treat text index modifiers
35246 * ext/tk/lib/tk/texttag.rb: use TkText::IndexModMethods module
35248 * ext/tk/lib/tk/textmark.rb: ditto
35250 * ext/tk/lib/tk/textimage.rb: ditto
35252 * ext/tk/lib/tk/textwindow.rb: ditto
35254 * ext/tk/lib/tk/textimage.rb: wrong gravity of text mark for embedded
35257 * ext/tk/lib/tk/textwindow.rb: wrong gravity of text mark for
35260 Fri Dec 17 13:33:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35262 * lib/cgi/session.rb (CGI::Session#initialize): control adding
35263 session_id hidden fields. fixed: [ruby-talk:123850]
35265 Fri Dec 17 00:01:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35267 * eval.c (rb_proc_arity, rb_node_arity, rb_mod_method_arity,
35268 rb_obj_method_arity): new functions to obtain method arity.
35271 Thu Dec 16 23:31:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35273 * lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension
35274 is installed. fixed: [ruby-dev:25215]
35276 Thu Dec 16 22:36:57 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35278 * test/drb/test_drb.rb: adjust and reduce sleep.
35280 Thu Dec 16 18:37:08 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35282 * ext/openssl/ossl.c (ossl_raise): refine message format.
35284 Thu Dec 16 16:29:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35286 * ext/tk/sample/demos-en/widget: modify version check for
35287 supporting features
35289 Thu Dec 16 16:03:50 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35291 * ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667]
35293 * ext/tk/lib/tk/timer.rb: accept :idle for the interval argument
35295 * ext/tk/lib/tk.rb: add TkComm._callback_entry?()
35297 * ext/tk/lib/multi-tk.rb: add MultiTkIp.cb_entry_class
35299 * ext/tk/lib/tk/canvas.rb: use TkComm._callback_entry?()
35301 * ext/tk/lib/tk/canvastag.rb: ditto
35303 * ext/tk/lib/tk/dialog.rb: ditto
35305 * ext/tk/lib/tk/optiondb.rb: ditto
35307 * ext/tk/lib/tk/text.rb: ditto
35309 * ext/tk/lib/tk/texttag.rb: ditto
35311 * ext/tk/lib/tk/textwindow.rb: ditto
35313 * ext/tk/lib/tk/timer.rb: ditto
35315 * ext/tk/lib/tk/validation.rb: ditto
35317 * ext/tk/lib/tkextlib/*: ditto
35319 Thu Dec 16 04:02:28 2004 Minero Aoki <aamine@loveruby.net>
35321 * ext/ripper/extconf.rb: bison is not needed if ripper.c exists.
35324 Thu Dec 16 03:27:10 2004 Minero Aoki <aamine@loveruby.net>
35326 * lib/net/http.rb: remove junk.
35328 Thu Dec 16 00:57:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35330 * ext/syck/rubyext.c (rb_syck_io_str_read): [ruby-core:03973]
35332 Thu Dec 16 00:43:29 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35334 * lib/drb/drb.rb: changed default binded address family to use an
35335 available address family of host name. [druby-ja:101]
35337 * lib/drb/ssl.rb: ditto
35339 Wed Dec 15 17:47:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35341 * lib/webrick/server.rb (WEBrick::GenericServer#start_thread):
35342 should log about all accepted socket. [ruby-core:03962]
35344 * lib/webrick/accesslog.rb (WEBrick::AccessLog#setup_params):
35345 "%%" and "%u" are supported. [webricken:135]
35347 * lib/webrick/httpservlet/filehandler.rb
35348 (WEBrick::HTTPServlet::FileHandler#check_filename):
35349 :NondisclosureName is acceptable if it is Enumerable.
35351 * lib/webrick/config.rb (WEBrick::Config::FileHandler):
35352 default value of :NondisclosureName is [".ht*", "*~"].
35354 Wed Dec 15 16:10:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35356 * object.c (rb_obj_id_obsolete): warn always.
35358 Wed Dec 15 15:31:02 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35360 * lib/set.rb (Set#==): [ruby-dev:25206]
35362 Wed Dec 15 14:32:18 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35364 * win32/win32.c (rb_w32_fdisset): check whether the handle is valid.
35366 Wed Dec 15 10:30:37 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35368 * ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198]
35370 Tue Dec 14 19:17:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35372 * utf8.c (utf8_is_mbc_ambiguous): [ruby-talk:123561]
35374 * utf8.c (utf8_mbc_to_normalize): ditto.
35376 Tue Dec 14 17:08:15 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35378 * win32/win32.c (rb_w32_close): need to reset osfhnd().
35380 Tue Dec 14 14:03:57 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35382 * ext/openssl/ossl.c (ossl_raise): avoid buffer overrun.
35385 Tue Dec 14 12:36:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35387 * lib/cgi/session.rb (CGI::Session::initialize): generate new
35388 session if given session_id does not exist. [ruby-list:40368]
35390 Tue Dec 14 08:47:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35392 * eval.c (Init_eval): should mark ruby_eval_tree. [ruby-dev:25189]
35394 Mon Dec 13 18:13:52 2004 Tanaka Akira <akr@m17n.org>
35396 * gc.c (set_stack_end): new function to obtain stack end address.
35397 set_stack_end obtains a stack end address by an address of local
35398 variable in the function.
35399 (SET_STACK_END, STACK_END): use set_stack_end. don't use alloca.
35400 This makes the conservative garbage collector to scan a stack frame
35401 of the garbage_collect function itself. This is required because
35402 callee-save registers may be stored in the frame.
35405 Mon Dec 13 02:45:51 2004 Shugo Maeda <shugo@ruby-lang.org>
35407 * ext/curses/curses.c (window_subwin): call NUM2INT() before
35408 GetWINDOW(). fixed: [ruby-dev:25161]
35410 Mon Dec 13 00:58:02 2004 Tanaka Akira <akr@m17n.org>
35412 * lib/pathname.rb (cleanpath_aggressive): make it private.
35413 (cleanpath_conservative): ditto.
35414 Suggested by Daniel Berger. [ruby-core:3914]
35416 Sun Dec 12 21:32:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35418 * test/ruby/test_super.rb (TestSuper#test_define_method): now methods
35419 from procs can call super.
35421 Sun Dec 12 10:35:10 2004 Dave Thomas <dave@pragprog.com>
35423 * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Don't
35424 show an accessor's r/w flag if none was specified
35426 Sun Dec 12 10:14:03 2004 Dave Thomas <dave@pragprog.com>
35428 * lib/rdoc/rdoc.rb (RDoc::RDoc::parse_files): Never exclude files
35429 explicitly given on the command line.
35431 Sat Dec 11 21:10:16 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
35433 * lib/drb/drb.rb: add DRbRemoteError. [ruby-list:40348],
35436 * test/drb/drbtest.rb: ditto.
35438 * test/drb/ut_drb.rb: ditto.
35440 Sat Dec 11 13:08:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35442 * sample/optparse/subcommand.rb: a sample for sub commands like
35443 cvs. contributed by Minero Aoki.
35445 Fri Dec 10 08:39:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35447 * ext/socket/socket.c (sock_listen): get OpenFile just before calling
35450 Thu Dec 9 16:28:35 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35452 * ext/sdbm/init.c (GetDBM): typo.
35454 Thu Dec 9 16:21:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35456 * lib/webrick/cgi.rb (WEBrick::CGI#setup_header): avoid
35457 SecurityError. [ruby-dev:24970]
35459 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should wait
35460 for reading request till data arrive. [ruby-talk:121068]
35462 Thu Dec 9 14:38:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35464 * string.c (rb_str_inspect): escape # which starts an expression
35465 substitution. fixed: [ruby-core:03922]
35467 * string.c (rb_str_dump): not escape # which isn't a substitution.
35469 Thu Dec 9 12:31:53 2004 WATANABE Hirofumi <eban@ruby-lang.org>
35471 * io.c (pipe_open): should set prog if argc != 0.
35473 Thu Dec 9 10:54:36 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35475 * ext/dbm/dbm.c (fdbm_select): [ruby-dev:25132]
35477 * ext/sdbm/init.c: ditto.
35479 * ext/gdbm/gdbm.c: ditto.
35481 Thu Dec 9 10:19:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35483 * test/socket/test_socket.rb (test_setsockopt): use SO_LINGER instead
35484 of SO_BINDTODEVICE. fixed: [ruby-dev:25133]
35486 Thu Dec 9 03:08:36 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35488 * ext/tcltklib/tcltklib.c (ip_init): set root-win title to "ruby" when
35489 the running script is '-e one-liner' or '-' (stdin).
35491 * ext/tcltklib/extconf.rb: add find_library("#{lib}#{ver}",..) for
35494 * ext/tk/lib/tk/textmark.rb: TkTextMarkCurrent and TkTextMarkAnchor
35495 have a wrong parent class.
35497 * ext/tk/lib/tk/dialog.rb: rename TkDialog2 --> TkDialogObj and
35498 TkWarning2 --> TkWarningObj (old names are changed to alias names)
35500 * ext/tk/lib/tk/dialog.rb: bug fix of treatment of 'prev_command'
35501 option and hashes for configuration
35503 * ext/tk/lib/tk/dialog.rb: add TkDialogObj#name to return the
35506 * ext/tk/lib/tk/radiobutton.rb: rename enbugged method value() ==>
35507 get_value() and value=(val) ==> set_value(val).
35509 * ext/tk/lib/tk/menu.rb: add TkMenu.new_menuspec
35511 * ext/tk/lib/tk/menu.rb: add alias (TkMenuButton = TkMenubutton,
35512 TkOptionMenuButton = TkOptionMenubutton)
35514 * ext/tk/lib/tk/event.rb: new method aliases (same as option keys of
35515 event_generate) for Event object
35517 * ext/tk/lib/tk/font.rb: configinfo returns proper types of values
35519 * ext/tk/lib/tk.rb: bind methods accept subst_args + block
35521 * ext/tk/lib/tk/canvas.rb: ditto
35523 * ext/tk/lib/tk/canvastag.rb: ditto
35525 * ext/tk/lib/tk/frame.rb: ditto
35527 * ext/tk/lib/tk/text.rb: ditto
35529 * ext/tk/lib/tk/texttag.rb: ditto
35531 * ext/tk/lib/tk/toplevel.rb: ditto
35533 * ext/tk/lib/tkextlib/*: ditto and bug fix
35535 Wed Dec 8 23:54:29 2004 Dave Thomas <dave@pragprog.com>
35537 * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Typo
35538 meant that h2 tag was invisible.
35540 Wed Dec 8 22:10:02 2004 Tanaka Akira <akr@m17n.org>
35542 * rubyio.h, io.c, ext/dl/dl.c, ext/pty/pty.c, ext/socket/socket.c:
35543 create FILE object only when required: popen(3) and DL's IO#to_ptr.
35546 * io.c (rb_io_binmode): use setmode for Human68k. [ruby-dev:25121]
35548 Wed Dec 8 20:13:06 2004 WATANABE Hirofumi <eban@ruby-lang.org>
35550 * process.c (rb_spawn): support for DJGPP.
35552 * lib/mkmf.rb (VPATH): specify the implicit path separator for DJGPP.
35554 Wed Dec 8 17:48:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35556 * eval.c (proc_invoke): merge Guy Decoux's argument preserve
35557 patch in [ruby-core:03874].
35559 Wed Dec 8 17:37:33 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35561 * win32/win32.c (rb_w32_pipe_exec): need to close original socket
35564 Wed Dec 8 14:31:36 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35566 * sprintf.c (rb_f_sprintf): [ruby-dev:25104]
35568 Wed Dec 8 13:49:46 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35570 * win32/win32.c (rb_w32_pipe_exec): must close original handle
35571 before exec. fixed: [ruby-dev:25112]
35573 Wed Dec 8 11:46:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35575 * parse.y (string_content): get rid of segfault at empty evstr.
35576 fixed: [ruby-dev:25113]
35578 Wed Dec 8 03:26:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35580 * ext/openssl/ossl_bio.c (ossl_obj2bio): should not use fptr->f.
35583 Wed Dec 8 03:26:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35585 * runruby.rb: prepend LIBRUBY_SO to LD_PRELOAD as well as rubytest.rb.
35587 Wed Dec 8 01:35:44 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35589 * win32/win32.c (is_socket): reorder of function definitions.
35591 Wed Dec 8 00:44:31 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35593 * io.c (pipe_open): win32 bidirectional pipe support.
35595 * win32/win32.[ch] (rb_w32_pipe_exec): ditto.
35597 * win32/win32.[ch] (socketpair): new function. POSIX socketpair
35600 * win32/win32.c (socketpair_internal): ditto.
35602 Wed Dec 8 00:25:07 2004 Kouhei Sutou <kou@cozmixng.org>
35604 * test/rss/test_version.rb: added version check test.
35607 Tue Dec 7 15:40:38 2004 Tanaka Akira <akr@m17n.org>
35609 * io.c (io_fwrite): avoid context switch before writing to stderr.
35612 * rubyio.h: refine deprecated declaration.
35614 * configure.in, file.c, io.c: remove useless check: fseeko, etc.
35616 Tue Dec 7 13:42:07 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35618 * dir.c (dir_s_mkdir): win32 special processing doesn't need any
35621 * win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible
35624 * win32/win32.[ch] (rb_w32_rmdir): new function.
35626 Tue Dec 7 00:27:37 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35628 * process.c (proc_setgroups): [ruby-dev:25081]
35630 Mon Dec 6 23:07:57 2004 Tanaka Akira <akr@m17n.org>
35632 * configure.in: check -lsocket for socketpair and shutdown.
35633 reported by Ville Mattila. [ruby-core:03903]
35635 Mon Dec 6 23:00:45 2004 WATANABE Hirofumi <eban@ruby-lang.org>
35637 * configure.in (ac_cv_sizeof_rlim_t): setup for DJGPP.
35639 * io.c (is_socket, shutdown): define dummy macros for DJGPP.
35641 * process.c: use SIZEOF_RLIM_T instead of HAVE_RLIM_T for DJGPP.
35643 Mon Dec 6 21:19:40 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35645 * io.c (is_socket): fix typos. [ruby-core:03900]
35647 Mon Dec 6 20:13:28 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35649 * io.c (is_socket): new function.
35651 * io.c (rb_io_close_read, rb_io_close_write): use is_socket().
35653 * io.c (rb_io_fptr_finalize): need to check fptr->f before calling
35654 rb_io_fptr_cleanup().
35656 * io.c (pipe_open): win32 pipe support (experimental).
35658 * win32/win32.[ch] (rb_w32_pipe_exec): return file descriptors
35659 instead of FILE structure objects.
35661 * win32/win32.[ch] (rb_w32_is_socket): new function.
35663 Mon Dec 6 19:40:40 2004 WATANABE Hirofumi <eban@ruby-lang.org>
35665 * Makefile.in (.y.c): simplify the rule.
35667 Mon Dec 6 18:08:10 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35669 * re.c (rb_reg_eqq): document fix. [ruby-talk:122541]
35671 Mon Dec 6 17:49:30 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35673 * eval.c (run_trap_eval): add prototype for Microsoft compiler.
35675 Mon Dec 6 17:32:38 2004 Tanaka Akira <akr@m17n.org>
35677 * rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,
35678 ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c:
35679 Use own buffering mechanism instead of stdio. [ruby-dev:25056]
35681 * io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb:
35684 Mon Dec 6 17:15:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35686 * test/socket/test_socket.rb (TestBasicSocket#test_setsockopt):
35687 BasicSocket#setsockopt dumps core. [ruby-dev:25039]
35689 * test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom):
35690 TCPSocket#recvfrom dumps core. [ruby-dev:24705]
35692 * test/socket/test_udp.rb (TestUDPSocket#test_connect):
35693 UDPSocket#connect dumps core. [ruby-dev:25045]
35695 * test/socket/test_udp.rb (TestUDPSocket#test_bind):
35696 UDPSocket#bind dumps core. [ruby-dev:25057]
35698 Mon Dec 6 09:59:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35700 * io.c (io_fread): take VALUE argument.
35702 * ext/socket/socket.c (sock_connect): use rb_str_new4().
35705 * eval.c (rb_yield_0): [ruby-dev:25051]
35707 Mon Dec 6 01:32:31 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
35709 * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,
35710 ossl_rsa_public_decrypt, ossl_rsa_private_encrypt,
35711 ossl_rsa_private_decrypt): should take an optional argument
35712 to specify padding mode. [ruby-talk:122539]
35714 * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants
35715 PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING
35716 under OpenSSL::PKey::RSA.
35718 * test/openssl/test_pkey_rsa.rb: new file.
35720 Sun Dec 5 19:39:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35722 * lib/optparse.rb (OptionParser::Completion#complete): new parameter
35723 to direct case insensitiveness.
35725 * lib/optparse.rb (OptionParser#order!): ignore case only for long
35726 option. [ruby-dev:25048]
35728 Sun Dec 5 00:54:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
35730 * mkconfig.rb: setup library paths before requiring library.
35733 Sat Dec 4 22:54:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35735 * io.c (io_write): remove rb_str_locktmp(). [ruby-dev:25050]
35737 * io.c (io_fwrite): takes VALUE string as an argument.
35740 * ext/socket/socket.c (sock_connect): remove rb_str_locktmp().
35743 * ext/socket/socket.c (udp_connect): [ruby-dev:25045]
35745 * ext/socket/socket.c (udp_bind): ditto.
35747 * ext/socket/socket.c (udp_send): ditto.
35749 * ext/socket/socket.c (bsock_send): ditto.
35751 * ext/socket/socket.c (s_recvfrom): ditto.
35753 * hash.c (rb_hash_hash): should provide "hash" method where "eql?"
35754 is redefined. [ruby-talk:122482]
35756 Sat Dec 4 21:29:05 2004 Minero Aoki <aamine@loveruby.net>
35758 * lib/fileutils.rb: (In previous commit) new method chown.
35760 * lib/fileutils.rb: (In previous commit) new method chown_R.
35762 * lib/fileutils.rb: (In previous commit) new method chmod_R
35763 wrongly added. Removed now.
35765 Sat Dec 4 20:45:52 2004 Minero Aoki <aamine@loveruby.net>
35767 * lib/fileutils.rb (mkdir, mkdir_p): should chmod explicitly.
35770 Sat Dec 4 18:54:09 2004 Kouhei Sutou <kou@cozmixng.org>
35772 * lib/rss/rss.rb: removed empty lines from output.
35774 Sat Dec 4 18:49:09 2004 Kouhei Sutou <kou@cozmixng.org>
35776 * lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
35778 * lib/rss/rss.rb: #item=/#set_item and so on are obsolete.
35780 Sat Dec 4 14:28:56 2004 Dave Thomas <dave@pragprog.com>
35782 * lib/rdoc/code_objects.rb (RDoc::Context::Section::set_comment):
35783 Section comments may now be bracketed by lines which are
35784 ignored. You can now write
35786 # :section: Dave's Section
35789 The lines before :section: are removed, and identical lines at the end are
35790 also removed if present.
35792 Sat Dec 4 00:35:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35794 * ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039]
35796 Fri Dec 3 12:25:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35798 * st.h: fix prototype for C++.
35800 Fri Dec 3 01:55:24 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
35802 * ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missing
35803 returns proper object. "widget.option = val" returns val, and
35804 "widget.option(val)" returns self.
35806 * ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument.
35808 * ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and
35809 TkRadiobutton#value=(val).
35811 * ext/tk/lib/tk/spinbox.rb: callback substitution support on
35814 * ext/tk/sample/demos-en/widget: bug fix (wrong image height)
35816 * ext/tk/sample/demos-jp/widget: ditto.
35818 Fri Dec 3 00:21:05 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35820 * eval.c (proc_invoke): prepare to pass a block from "call" method
35821 to a Proc generated by Method#to_proc. [ruby-dev:25031]
35823 * eval.c (rb_yield_0): actually passes a block given to "call".
35825 * object.c (convert_type): use rb_respond_to() again. this fix is
35826 based on [ruby-dev:25021]
35828 * eval.c (rb_respond_to): funcall respond_to? if it's redefined.
35831 Thu Dec 2 15:13:53 2004 Michael Neumann <mneumann@ruby-lang.org>
35833 * test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expected
35834 values are now stored in YAML instead of using #inspect. This fixes
35837 Fri Dec 3 00:11:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35839 * io.c (rb_file_initialize): [ruby-dev:25032]
35841 Thu Dec 2 16:41:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35843 * eval.c (rb_protect): prevent continuations created inside from being
35844 called from the outside. [ruby-dev:25003]
35846 * eval.c (rb_callcc, rb_cont_call): prohibit calling from different
35847 signal contexts. [ruby-dev:25022]
35849 Thu Dec 2 10:45:02 2004 Shugo Maeda <shugo@ruby-lang.org>
35851 * test/readline/test_readline.rb: fix for NetBSD.
35853 Thu Dec 2 09:57:24 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35855 * lib/ostruct.rb (OpenStruct::Marshaler): OpenStruct can be
35856 marshaled again. [ruby-core:03862]
35858 Thu Dec 2 09:30:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35860 * eval.c (thread_mark): mark thread group. [ruby-dev:25020]
35862 * eval.c (thgroup_add): check whether the argument is really a Thread.
35864 Thu Dec 2 07:57:16 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35866 * io.c (rb_io_ctl): [ruby-dev:25019]
35868 Wed Dec 1 06:13:00 2004 NARUSE, Yui <naruse@ruby-lang.org>
35870 * ext/nkf/nkf.c: add constant NKF::VERSION
35872 * ext/nkf/nkf.c(guess): this becomes an alias of guess2
35874 * ext/nkf/test.rb: add --no-cp932
35876 * ext/nkf/nkf-utf8/nkf.c: original nkf2 revision 1.47
35878 Wed Dec 1 02:21:02 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35880 * signal.c (sighandler): call handler immediately only for default
35881 handlers. [ruby-dev:25003]
35883 Tue Nov 30 23:49:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35885 * io.c (pipe_open): errno should be preserved for rb_sys_fail() when
35888 Tue Nov 30 16:18:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35890 * io.c (io_fread): need not to null terminate. [ruby-dev:24998]
35892 * eval.c (rb_eval): should check previous frame for ZSUPER.
35894 * io.c (read_all): remove unnecessary rb_str_resize().
35897 * io.c (io_readpartial): ditto.
35899 * io.c (io_read): ditto.
35901 Tue Nov 30 14:58:33 2004 WATANABE Hirofumi <eban@ruby-lang.org>
35903 * instruby.rb (install): add arguments explicitly to "super".
35905 Tue Nov 30 00:49:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35907 * eval.c (PUSH_FRAME): flags should have been initialized.
35909 * eval.c (rb_eval): [ruby-core:03856]
35911 * io.c (rb_io_sysread): use temporary lock. [ruby-dev:24992]
35913 Tue Nov 30 00:12:57 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35915 * regparse.c: now handles many alternatives (over 500000)
35916 in regexp. [ruby-dev:24773]
35918 Mon Nov 29 16:06:04 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35920 * ext/stringio/stringio.c (strio_write): insufficiently filled string
35921 being extended when overwriting. [ruby-core:03836]
35923 Mon Nov 29 15:59:05 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35925 * lib/ostruct.rb (OpenStruct::method_missing): check method
35926 duplication for -d.
35928 * lib/ostruct.rb (OpenStruct::initialize): ditto.
35930 Mon Nov 29 15:22:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35932 * test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
35935 Mon Nov 29 13:37:54 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
35937 * io.c (fptr_finalize): must not use FILE after fclose().
35940 Mon Nov 29 13:13:13 2004 NAKAMURA Usaku <usa@ruby-lang.org>
35942 * win32/win32.c (CreateChild): push back the last space before next
35943 loop because CharNext() eats it.
35945 Mon Nov 29 03:08:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
35947 * object.c (convert_type): [ruby-core:03845]
35949 * eval.c (rb_funcall_rescue): new function.
35951 * object.c (rb_Array): avoid using rb_respond_to().
35953 * object.c (rb_Integer): ditto.
35955 * eval.c (get_backtrace): no conversion for nil.
35957 * parse.y (reduce_nodes): empty body should return nil.
35959 Mon Nov 29 01:18:18 2004 Tanaka Akira <akr@m17n.org>
35961 * io.c (rb_io_check_writable): call io_seek regardless of
35962 NEED_IO_SEEK_BETWEEN_RW. [ruby-dev:24986]
35964 Sun Nov 28 15:57:58 2004 Kouhei Sutou <kou@cozmixng.org>
35966 * lib/rss/rss.rb (RSS::Element#tag): not use block_given? for
35967 working with ruby 1.6 again.
35969 * lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb:
35970 undef -> remove_method for working with ruby 1.6 again.
35972 Sun Nov 28 15:51:40 2004 Kouhei Sutou <kou@cozmixng.org>
35974 * lib/rss/rss.rb (RSS::NotSetError): added.
35976 * lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise
35977 RSS::NotSetError if required values of maker.channel are not
35978 set. [ruby-talk:120061]
35980 * test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS
35981 Maker raises or not.
35983 Sun Nov 28 12:14:47 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35985 * regparse.c (fetch_token): fixed test failure on HP-UX ia64
35986 ([ruby-dev:24859]).
35988 Sun Nov 28 12:08:15 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35990 * regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8
35991 characters that have U+00FE or invalid characters.
35993 Sun Nov 28 12:07:04 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
35995 * regexec.c, test/ruby/test_regexp.rb: fixed segmentation fault
35996 ([ruby-dev:24887]).
35998 Sun Nov 28 12:05:48 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
36000 * regcomp.c, regint.h: fixed PLATFORM_UNALIGNED_WORD_ACCESS
36001 problem ([ruby-dev:24802] and [ruby-core:3733])
36003 Sat Nov 27 23:43:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36005 * io.c (rb_io_initialize): [ruby-dev:24972]
36007 Sat Nov 27 21:43:39 2004 Tanaka Akira <akr@m17n.org>
36009 * io.c: avoid data lost with nonblocking fd and
36010 stdio buffering in sync mode. [ruby-dev:24966]
36011 based on matz's patch [ruby-dev:24967]
36012 (io_fwrite): new primitive writing function which writes
36013 directly if sync mode.
36014 (rb_io_fwrite): wrapper for io_fwrite now.
36015 (io_write): call io_fwrite instead of rb_io_fwrite.
36017 Sat Nov 27 17:43:21 2004 Kouhei Sutou <kou@cozmixng.org>
36019 * lib/rss/{0.9,1.0,2.0,trackback,xml-stylesheet}.rb: added
36022 * test/rss/test_setup_maker_*.rb: added tests for #setup_maker.
36024 * lib/rss/maker/base.rb(RSS::Maker::Items#max_size=): supported
36025 output item size limitation.
36027 * sample/rss/blend.rb: added sample for RSS Maker.
36029 Sat Nov 27 17:41:35 2004 Kouhei Sutou <kou@cozmixng.org>
36031 * lib/rss/maker/0.9.rb: supported RSS::Maker.make("0.91"). Now,
36032 "0.9" is just alias of "0.91."
36034 * test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91").
36036 * test/rss/test_to_s.rb: ditto.
36038 Sat Nov 27 17:21:30 2004 Kouhei Sutou <kou@cozmixng.org>
36040 * sample/rss/list_description.rb: untabified.
36042 * sample/rss/rss_recent.rb: ditto.
36044 Sat Nov 27 14:44:15 2004 Kent Sibilev <ksibilev@bellsouth.net>
36046 * lib/cgi/session.rb (CGI::Session::initialize): [ruby-core:03832]
36048 Sat Nov 27 09:41:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36050 * io.c (io_fread): old rb_io_fread with file closing checking.
36051 (rb_io_fread): wrapper for io_fread now.
36054 Fri Nov 26 18:02:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36056 * ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epath
36058 * ext/tk/lib/tk/image.rb: bug fix
36060 * ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only)
36062 * ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath
36064 Fri Nov 26 14:29:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36066 * io.c (rb_io_initialize): uninitialized fd was checked to see open
36067 mode. [ruby-dev:24963]
36069 * io.c (rb_io_initialize): uninitialized fd was used. [ruby-dev:24962]
36071 Fri Nov 26 13:49:06 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36073 * io.c (rb_io_initialize): should retrieve flags from copying file
36074 descriptor. [ruby-dev:24961]
36076 * eval.c (method_missing): raise TypeError for classes do not
36077 have allocators. [ruby-core:03752]
36079 * lib/erb.rb: add RDoc by James Edward Gray II. [ruby-core:03786]
36081 Fri Nov 26 13:29:02 2004 Dave Thomas <dave@pragprog.com>
36083 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::look_for_directives_in): Break
36084 out of preprocessing when we find a :section: directive (previously cleared out the
36085 comment, but this apparently now generates an error in gsub!)
36087 Fri Nov 26 00:17:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36089 * io.c (io_read): move StringValue() check before GetOpenFile().
36092 Thu Nov 25 20:14:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36094 * lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
36095 threads should be also processed. [ruby-talk:121320]
36097 Thu Nov 25 18:06:37 2004 Tanaka Akira <akr@m17n.org>
36099 * configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix
36100 problem with autoconf 2.52 or earlier.
36101 revert AC_PREREQ to 2.50.
36104 Thu Nov 25 07:59:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36106 * configure.in: AC_PREREQ(2.53) [ruby-core:03800]
36108 * io.c (read_all): stringify non-nil buffer argument, and always
36109 taint the result. [ruby-dev:24955]
36111 Wed Nov 24 01:01:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36113 * io.c (io_read): integer conversion should be prior to
36114 GetOpenFile(). [ruby-dev:24952]
36116 * configure.in, io.c: cancel [ ruby-Patches-1074 ].
36118 Tue Nov 23 08:09:50 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36120 * ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubutton
36122 Tue Nov 23 02:00:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36124 * file.c (rb_file_chown): integer conversion should be prior to
36125 GetOpenFile(). [ruby-dev:24949]
36127 Tue Nov 23 00:10:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36129 * file.c (rb_file_chown): integer conversion should be prior to
36130 GetOpenFile(). [ruby-dev:24947]
36132 * file.c (rb_file_truncate): ditto.
36134 * file.c (rb_file_s_truncate): ditto.
36136 * dir.c (dir_seek): use NUM2OFFT().
36138 * misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719]
36140 Mon Nov 22 22:33:02 2004 Dave Thomas <dave@pragprog.com>
36142 * lib/rdoc/parsers/parse_rb.rb (RDoc::parse_require): Don't use names
36143 of variables or constants when parsing 'require'
36145 Mon Nov 22 00:13:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36147 * dir.c (dir_seek): should retrieve dir_data after NUM2INT().
36150 Sat Nov 20 23:57:33 2004 Dave Thomas <dave@pragprog.com>
36152 * lib/rdoc/README (et al): Add a new directive, :section:, and
36153 change the output format to accommodate. :section: allows to to
36154 group together methods, attributes, constants, etc under
36155 headings in the output. If used, a table of contents is
36158 Sat Nov 20 23:56:54 2004 Dave Thomas <dave@pragprog.com>
36160 * lib/rdoc/options.rb (Options::parse): Force --inline-source if
36161 --one-file option given
36163 Sat Nov 20 23:55:19 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36165 * string.c (rb_str_splice): should place index wrapping after
36166 possible modification. [ruby-dev:24940]
36168 Sat Nov 20 23:25:12 2004 Minero Aoki <aamine@loveruby.net>
36170 * io.c (rb_io_getline): f.gets("") did not work. [ruby-core:03771]
36172 * test/ruby/test_io.rb (test_gets_rs): test it.
36174 Sat Nov 20 22:55:09 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36176 * test/runner.rb (CROSS_COMPILING): need to require rbconfig.rb before
36177 using CROSS_COMPILNG.
36179 Sat Nov 20 20:42:42 2004 Minero Aoki <aamine@loveruby.net>
36181 * ext/ripper/depend: fix ripper.o dependency.
36183 Sat Nov 20 17:48:29 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36185 * io.c (io_reopen): work around problem with Cygwin fseeko
36188 Sat Nov 20 05:34:24 2004 NARUSE, Yui <naruse@ruby-lang.org>
36190 * ext/nkf/nkf-utf8/nkf.c: original nkf.c rev:1.40
36192 * ext/nkf/test.rb: add test for mime encode/decode
36194 Sat Nov 20 01:45:04 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36196 * test/xmlrpc/test_webrick_server.rb: move `requrie "webrick/https"'
36197 into #setup_http_server method to avoid soap test errors.
36199 Sat Nov 20 01:37:34 2004 Johan Holmberg <holmberg@iar.se>
36201 * eval.c (error_print): nicer traceback at interrupt.
36204 Sat Nov 20 00:07:16 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36206 * string.c (str_gsub): internal buffer should not be listed by
36207 ObjectSpace.each_object() by String#gsub. [ruby-dev:24931]
36209 Fri Nov 19 22:44:43 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36211 * lib/test/unit/collector/dir.rb: better support for -p/-x option.
36213 Fri Nov 19 17:46:56 2004 Kouhei Sutou <kou@cozmixng.org>
36215 * lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
36216 changed /rss/channel/image to be optional. [ruby-Bugs:1047]
36218 * test/rss/test_maker_0.9.rb: added tests for the above.
36220 Fri Nov 19 17:18:17 2004 Kouhei Sutou <kou@cozmixng.org>
36222 * lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.
36224 * lib/rss: #to_s used #tag.
36226 * test/rss/test_to_s.rb: added.
36228 * lib/rss/maker.rb (RSS::Maker.make): changed API. It's not
36229 received modules which is used as the second argument.
36231 * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate):
36232 changed return value type which is not String but Boolean.
36234 * lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value
36235 type which is not String but Integer.
36237 * lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and
36238 <skipHours> has <hour>s.
36240 * lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto.
36242 * lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s.
36244 * lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto.
36246 * lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s.
36248 * lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto.
36250 * lib/rss/trackback.rb: parent element has <trackback:about>s.
36252 * lib/rss/maker/trackback.rb: ditto.
36254 Fri Nov 19 11:10:16 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36256 * lib/test/unit/collector/dir.rb: add support for directory name
36257 with -p/-x options.
36259 * test/testunit/collector/test_dir.rb: ditto.
36261 * lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
36264 Fri Nov 19 10:32:36 2004 Shugo Maeda <shugo@ruby-lang.org>
36266 * ext/readline/readline.c (readline_s_set_completion_append_character):
36267 accept nil. [ruby-core:03765]
36269 Fri Nov 19 01:20:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36271 * lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise
36272 exception if data corresponding to session specified from the
36273 client does not exist.
36275 Fri Nov 19 00:59:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36277 * string.c (str_gsub): internal buffer should not be listed by
36278 ObjectSpace.each_object(). [ruby-dev:24919]
36280 Thu Nov 18 23:42:36 2004 Minero Aoki <aamine@loveruby.net>
36282 * ext/ripper/depend: Never regenerate lib/ripper/core.rb
36283 automatically. [ruby-dev:24911]
36285 Thu Nov 18 20:47:24 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36287 * win32/win32.[ch] (rb_w32_isatty): new function to replace MSVCRT's
36288 isatty because it never sets errno.
36290 Thu Nov 18 18:41:08 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
36292 * test/ruby/test_stringchar.rb (test_bang): added.
36294 * string.c (rb_str_upcase_bang, rb_str_capitalize_bang)
36295 (rb_str_swapcase_bang): missing rb_str_modify().
36297 Thu Nov 18 17:05:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36299 * parse.y (f_rest_arg): store rest args into invisible local variable
36300 in order to get rid of SEGV at ZSUPER. [ruby-dev:24913]
36302 Thu Nov 18 15:39:52 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36304 * hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]
36306 Thu Nov 18 14:58:42 2004 Shugo Maeda <shugo@ruby-lang.org>
36308 * ext/readline/readline.c: check $SAFE.
36310 * test/readline/test_readline.rb: added tests for readline.
36312 Thu Nov 18 00:21:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36314 * process.c (proc_getpgrp): prohibit for $SAFE=2.
36317 * process.c (get_pid): ditto. [ruby-dev:24904]
36319 * process.c (get_ppid): ditto.
36321 * array.c (rb_ary_delete): defer rb_ary_modify() until actual
36322 modification. [ruby-dev:24901]
36324 Thu Nov 18 10:10:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36326 * io.c, rubyio.h (rb_io_modenum_flags): exported.
36328 * ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as
36329 well as IO.new does. [ruby-dev:24896]
36331 Wed Nov 17 23:47:30 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
36333 * test/ruby/test_settracefunc.rb: added. [ruby-dev:24884]
36335 Wed Nov 17 18:59:16 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
36337 * process.c (proc_getrlimit, proc_setrlimit): add rb_secure(2) to
36338 methods of Process.{getrlimit,setrlimit}
36340 Wed Nov 17 13:56:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36342 * parse.y (newline_node): should not use FL_SET. [ruby-dev:24874]
36344 * parse.y (string_content): should not use FL_UNSET.
36346 * node.h (NODE_NEWLINE): remove unused bit to utilize flag field
36349 Wed Nov 17 13:05:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36351 * dir.c (rb_push_glob): fix overrun. [ruby-dev:24886]
36353 Wed Nov 17 11:48:17 2004 Michael Neumann <mneumann@ruby-lang.org>
36355 * lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assigning
36356 to constants" warnings
36358 Wed Nov 17 09:38:18 2004 Johan Holmberg <holmberg@iar.se>
36360 * re.c (rb_reg_initialize_m): should raise exception instead of
36361 compile error. [ruby-core:03755]
36363 Wed Nov 17 03:42:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36365 * string.c (rb_str_splice): move rb_str_modify() after
36366 StringValue(), which may alter the receiver. [ruby-dev:24878]
36368 * error.c (rb_error_frozen): now raise RuntimeError instead of
36371 Tue Nov 16 21:22:47 2004 Michael Neumann <mneumann@ruby-lang.org>
36373 * lib/xmlrpc/server.rb (CGIServer): fixed bug when client sends
36374 "Content-typ: text/xml; ..."
36376 Tue Nov 16 23:45:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36378 * numeric.c (flo_divmod): protect float values from GC by
36379 assignment to local variables. [ruby-dev:24873]
36381 Tue Nov 16 14:31:54 2004 Michael Neumann <mneumann@ruby-lang.org>
36383 * test/xmlrpc/*: imported and refactored original test cases.
36385 * test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb:
36386 added test case that starts up a WEBrick XML-RPC server and performs
36387 some tests on it (both http and https servers are started).
36389 * lib/xmlrpc/create.rb (XMLWriter::each_installed_writer),
36390 lib/xmlrpc/parser.rb (XMLParser::each_installed_parser):
36391 added methods to simply original test cases
36393 * lib/xmlrpc/parser.rb, lib/xmlrpc/datetime.rb: applied patch by
36394 MoonWolf <moonwolf@moonwolf.com> to allow parsing datetime.iso8601
36395 (e.g. 20041105T01:15:23Z).
36397 * lib/xmlrpc/server.rb: fixed issue #998
36398 (http://rubyforge.org/tracker/?func=detail&atid=1700&aid=998&group_id=426)
36400 * lib/xmlrpc/create.rb, lib/xmlrpc/utils.rb: when marshalling/loading
36401 user-defined data structures, use Class#allocate instead of defining
36402 an empty #initialize method. module XMLRPC::Marshallable is now only
36405 * lib/xmlrpc/.document, lib/xmlrpc/README.rdoc: added howto
36407 Tue Nov 16 16:26:12 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36409 * {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h and
36410 config.status to force updating them.
36412 Tue Nov 16 16:20:45 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36414 * ext/stringio/stringio.c (strio_read): position was ignored when a
36415 buffer was passed. http://www.yo.rim.or.jp/~nov/d/?date=20041116#p03
36417 Tue Nov 16 13:35:54 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36419 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): add
36420 new option --exclude (-x) to skip some tests. [ruby-core:3363],
36423 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir.exclude):
36426 Tue Nov 16 11:19:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36428 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): use
36431 Tue Nov 16 01:41:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36433 * string.c (str_mod_check): frozen check should be separated.
36436 * array.c (rb_ary_update): pedantic check to detect
36437 rb_ary_to_ary() to modify the receiver. [ruby-dev:24861]
36439 Mon Nov 15 18:58:05 2004 Tanaka Akira <akr@m17n.org>
36441 * configure.in: check rlim_t more portably. [ruby-core:3735]
36443 Mon Nov 15 11:50:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36445 * misc/ruby-mode.el (ruby-special-char-p, ruby-parse-partial): handle
36446 operator symbols. [ruby-talk:120177]
36448 Mon Nov 15 08:58:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36450 * eval.c (Init_Proc): make proc as an alias to Proc.new.
36453 Mon Nov 15 00:46:03 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36455 * eval.c (rb_yield_0): lambda{}.call(1) should raise exception.
36458 Mon Nov 15 00:33:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36460 * string.c (rb_str_clear): avoid revealing NULL pointer.
36463 * string.c (str_gsub): add paranoid check. [ruby-dev:24827]
36465 * string.c (str_mod_check): check frozen status as well.
36468 Sun Nov 14 18:59:03 2004 Tanaka Akira <akr@m17n.org>
36470 * process.c (proc_getrlimit): new function for Process.getrlimit.
36471 (proc_setrlimit): new function for Process.setrlimit.
36474 * configure.in: check rlim_t and its size. check setrlimit.
36476 * ruby.h (NUM2ULL): new macro.
36478 Sun Nov 14 13:27:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36480 * lib/pp.rb (PP#object_address_group): remove odd number of 'f'
36481 prefixed to negative address.
36483 Sun Nov 14 10:48:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36485 * lib/mathn.rb (Integer::gcd2): faster implementation by
36486 <erlercw@siu.edu>. [ruby-talk:120232]
36488 Sun Nov 14 08:46:33 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
36490 * test/logger/test_logger.rb: Logger just expects
36491 Logger#datetime_format to be used for Time#strftime independently of
36492 locale. [ruby-dev:24828]
36494 Fri Nov 12 17:32:07 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36496 * bcc32/README.bcc32, win32/README.win32: need bison instead of
36499 Fri Nov 12 15:15:06 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36501 * eval.c (ruby_options): now we cannot call rb_glob() before
36502 ruby_init(), so call rb_w32_cmdvector() at ruby_options().
36504 * win32/win32.{c,h} (rb_w32_cmdvector): rename make_cmdvector() and
36507 Fri Nov 12 14:08:01 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36509 * ext/tk/lib/tk/event.rb: remove $LOADED_FEATURES trick
36511 * ext/tk/lib/tk.rb: ditto
36513 Fri Nov 12 00:31:05 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36515 * ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter string
36516 pointer. [ruby-dev:24783]
36518 Thu Nov 11 17:58:19 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36520 * dir.c (rb_glob): should have called rb_glob_caller().
36523 Thu Nov 11 16:56:10 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36525 * test/ruby/test_file.rb (test_truncate_wbuf): we want to test
36526 only File#truncate, not behavior of seek(2).
36528 Thu Nov 11 01:52:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36530 * error.c (syserr_initialize): use stringified object.
36533 Wed Nov 10 22:49:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36535 * lib/delegate.rb (SimpleDelegator::dup): wrong number of
36538 * lib/delegate.rb (DelegateClass::dup): ditto.
36540 Wed Nov 10 19:47:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36542 * dir.c (glob_helper): path is a string object now.
36544 Wed Nov 10 12:31:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36546 * README.EXT (Example): extconf.rb is indispensable now.
36548 Wed Nov 10 03:33:36 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36550 * ext/tcltklib/tcltklib.c: fix SEGV when compiled with Tcl/Tk8.3.x
36553 * ext/tk/lib/tkextlib/tile/style.rb: bug fix
36555 Tue Nov 9 22:24:07 2004 NARUSE, Yui <naruse@ruby-lang.org>
36557 * ext/nkf: original nkf.c rev:1.38
36559 * ext/nkf/nkf.c: fix bug: can't parse long-name options
36561 * ext/nkf/test.rb: fix bug: mime tests fail
36563 Tue Nov 9 14:27:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36565 * lib/optparse.rb (OptionParser::Officious): moved from DefaultList.
36567 Tue Nov 9 00:50:06 2004 Dave Thomas <dave@pragprog.com>
36569 * lib/rdoc/rdoc.rb: Change version numbering of RDoc and ri
36571 Tue Nov 9 01:05:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36573 * dir.c (rb_glob2): do not allocate buffer from heap to avoid
36574 memory leaks. use string object for buffering instead.
36577 * dir.c (join_path): ditto.
36579 * io.c (io_read): external input buffer may be modified even after
36580 rb_str_locktmp(). [ruby-dev:24735]
36582 * dir.c (fnmatch): p or s may be NULL. [ruby-dev:24749]
36584 Tue Nov 9 00:36:26 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
36586 * lib/drb/extservm.rb: add DRb::ExtServManager#uri=.
36589 Mon Nov 8 22:20:19 2004 Dave Thomas <dave@pragprog.com>
36591 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
36592 Fix bug where parent class wasn't being detected if the
36593 child class was defined using the A::B notation.
36595 Mon Nov 8 00:14:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36597 * configure.in: add setup for mignw32 cross compiling.
36600 Sun Nov 7 23:49:26 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36602 * ext/tk/lib/tk.rb: bind-event methods accept multi substitution
36605 * ext/tk/lib/tk/canvas.rb: ditto.
36607 * ext/tk/lib/tk/canvastag.rb: ditto.
36609 * ext/tk/lib/tk/text.rb: ditto.
36611 * ext/tk/lib/tk/texttag.rb: ditto.
36613 * ext/tk/lib/tkextlib: ditto.
36615 Sat Nov 6 20:40:16 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
36617 * ext/win32ole/win32ole.c: rename WIN32OLE#ole_obj_help to
36618 WIN32OLE#ole_type. alias ole_obj_help to ole_type.
36620 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
36622 Sat Nov 6 11:18:59 2004 Tadayoshi Funaba <tadf@dotrb.org>
36624 * lib/date.rb (_parse): checks whether zone was given.
36626 Sat Nov 6 00:46:27 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36628 * string.c (rb_str_locktmp): check STR_TMPLOCK flag before
36629 locking. [ruby-dev:24727]
36631 Fri Nov 5 19:07:16 2004 NARUSE, Yui <naruse@ruby-lang.org>
36633 * ext/nkf: follow CVS Head of original nkf.
36635 Fri Nov 5 18:12:42 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36637 * ext/tk/lib/tk/scrollable.rb: divide Scrollable module into
36638 X_Scrollable and Y_Scrollable
36640 * ext/tk/lib/tk/entry.rb: include X_Scrollable instead of Scrollable
36642 * ext/tk/lib/tk/autoload.rb: define autoload for X_Scrollable and
36645 Fri Nov 5 16:05:32 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36647 * ext/tk/lib/tk.rb: TkComm._at() supprts both of "@x,y" and "@x"
36649 Fri Nov 5 13:22:58 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36651 * ext/tk/lib/tk/text.rb: sorry. bug fix again.
36653 Fri Nov 5 13:17:54 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36655 * ext/tk/lib/tk/text.rb: bug fix
36657 Fri Nov 5 08:52:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36659 * gc.c (gc_mark): stricter GC stack check.
36661 Fri Nov 5 08:34:43 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36663 * string.c (str_gsub): should have removed rb_str_unlocktmp(str).
36666 * ext/socket/socket.c (s_recvfrom): buffer modification check.
36669 Thu Nov 4 23:54:21 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
36671 * regexec.c, regparse.c, regint.h: fixed conflicts between
36674 Thu Nov 4 23:41:55 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
36676 * ascii.c, euc_jp.c, oniggnu.h, oniguruma.h, regcomp.c,
36677 regenc.c, regenc.h, regerror.c, regexec.c, reggnu.c,
36678 regint.h, regparse.c, regparse.h, sjis.c, utf8.c:
36679 imported Oni Guruma 3.4.0.
36681 * parse.y, re.c: Now mbclen() takes unsigned char as
36684 Thu Nov 4 21:25:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36686 * string.c (str_gsub): string modify check no longer based on
36687 tmplock. [ruby-dev:24706]
36689 Thu Nov 4 21:13:48 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
36691 * ext/win32ole/win32ole.c(typelib_file_from_typelib): search "win16"
36692 entry to get library path.
36694 * ext/win32ole/win32ole.c(oletypelib_path): ditto.
36696 * ext/win32ole/win32ole.c(ole_typedesc2val): add VT_LPWSTR, VT_LPSTR,
36699 Thu Nov 4 15:02:14 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36701 * ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
36702 of TkVarAccess objects
36704 Thu Nov 4 09:11:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36706 * gc.c (gc_mark): enable GC stack checking.
36708 Thu Nov 4 03:11:33 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36710 * string.c (str_gsub): lock strings temporarily. [ruby-dev:24687]
36712 * ext/socket/socket.c (s_recvfrom): tmplock input buffer.
36715 Wed Nov 3 22:24:17 2004 Daigo Moriwaki <techml@sgtpepper.net>
36717 * lib/webrick/httpauth/digestauth.rb: use Base64.encode64 to
36720 Wed Nov 3 17:19:59 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36722 * array.c (rb_ary_uniq_bang): do not push frozen string from hash
36723 table. [ruby-dev:24695]
36725 * array.c (rb_ary_and): ditto.
36727 * array.c (rb_ary_or): ditto.
36729 Wed Nov 3 17:02:48 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
36731 * ext/tk/lib/tk.rb: support to use different Tcl commands between
36732 configure and configinfo
36734 * ext/tk/lib/font.rb: ditto.
36736 * ext/tk/lib/itemconfig.rb: support to use different Tcl commands
36737 between item_configure and item_configinfo
36739 * ext/tk/lib/itemfont.rb: ditto.
36741 * ext/tk/extconf.rb: install SUPPORT_STATUS
36743 * ext/tk/lib/tkextlib: some bug fixes (see ext/tk/ChangeLog.tkextlib)
36745 Wed Nov 3 15:38:28 2004 Kouhei Sutou <kou@cozmixng.org>
36747 * test/rss/*.rb: removed tab width configuration headers.
36749 * test/rss/test_maker_{0.9,1.0}.rb: sort -> do_sort.
36751 * lib/rss/maker/*.rb: changed API to RSS version independence.
36753 * lib/rss/maker/base.rb
36754 (RSS::Maker::XMLStyleSheets::XMLStyleSheet): checked required
36755 (pseudo) attributes.
36757 * lib/rss/maker/base.rb (RSS::Maker::Items): sort -> do_sort.
36759 * lib/rss/rss.rb (RSS::BaseModel.install_date_element): avoided
36762 * lib/rss/0.9.rb (RSS::Rss#textinput): added convenience method.
36764 Tue Nov 2 16:35:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36766 * ext/enumerator/enumerator.c (each_cons_i): pass copy of an
36767 internal consequent array. [ruby-talk:118691]
36769 Tue Nov 2 14:54:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36771 * io.c (pipe_open): need to set cmd if argc == 0 (win32).
36773 Tue Nov 2 01:20:09 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36775 * io.c (pipe_open): IO.popen should take array as 1st argument for
36776 a command line. [ruby-dev:24678]
36778 * eval.c (proc_invoke): nail down dyna_var node when Proc object
36779 or continuation is created. [ruby-dev:24671]
36781 * io.c (rb_io_s_popen): do not expand argv array. [ruby-dev:24670]
36783 Mon Nov 1 22:25:56 2004 Kouhei Sutou <kou@cozmixng.org>
36785 * lib/rss/maker/base.rb: changed xml-stylesheet's API of RSS Maker
36786 like to item's one.
36788 * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#guess_type): fixed
36789 regular expression bug.
36791 * test/rss/test_maker_xml-stylesheet.rb: updated tests for
36794 Mon Nov 1 13:59:28 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36796 * ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.
36798 * ext/enumerator/extconf.rb, ext/fcntl/extconf.rb,
36799 ext/stringio/extconf.rb: added.
36801 * MANIFEST, ext/**/MANIFEST: removed.
36803 * README.EXT, README.EXT.ja: remove MANIFEST stuff.
36805 Mon Nov 1 11:52:18 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36807 * io.c (pipe_open): avoid conflict of variable name. [ruby-dev:24662]
36809 Mon Nov 1 11:46:19 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36811 * process.c (rb_f_exec): should check whether prog is NULL.
36813 Mon Nov 1 09:37:19 2004 Kouhei Sutou <kou@cozmixng.org>
36815 * lib/rss/maker.rb: added entry point of RSS Maker.
36817 Mon Nov 1 03:14:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36819 * eval.c (rb_get_method_body): store ICLASS in the cache.
36822 * eval.c (rb_provided): should return true for loading library
36823 too for autoloading. [ruby-core:03655]
36825 Mon Nov 1 01:14:52 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36827 * io.c (rb_f_open): create copy of popen specifier. [ruby-dev:24656]
36829 * string.c (rb_str_locktmp): lock string temporarily.
36831 * string.c (str_independent): add tmplock check.
36833 * io.c (io_write): lock output string temporarily.
36836 * io.c (io_write): use rb_str_locktmp().
36838 * io.c (read_all): ditto.
36840 Sun Oct 31 23:37:00 2004 NARUSE, Yui <naruse@ruby-lang.org>
36842 * process.c: on NetBSD don't use setruid() and setrgid().
36844 Sun Oct 31 23:12:10 2004 Kouhei Sutou <kou@cozmixng.org>
36846 * lib/rss/maker/*.rb: added RSS Maker.
36848 * test/rss/test_maker_*.rb: added tests for RSS Maker.
36850 Sun Oct 31 16:58:12 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
36852 * ext/win32ole/win32ole.c: add WIN32OLE.codepage, WIN32OLE.codepage=.
36854 * ext/win32ole/tests/testWIN32OLE.rb: ditto.
36856 Sun Oct 31 14:35:26 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36858 * ext/nkf/nkf-utf8/nkf.c: add "\075?UTF-8?Q?" for Gmail.
36860 Sun Oct 31 14:18:56 2004 Minero Aoki <aamine@loveruby.net>
36862 * parse.y [ripper]: emit lexer-event values to the parser
36863 (still incomplete).
36865 Sat Oct 30 15:24:41 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
36867 * ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB class. add
36868 WIN32OLE#ole_typelib method.
36870 * ext/win32ole/tests/testOLETYPELIB.rb: add WIN32OLE_TYPELIB class.
36872 Sat Oct 30 06:53:24 2004 Peter Vanbroekhoven <peter.vanbroekhoven@cs.kuleuven.ac.be>
36874 * eval.c (rb_eval): NODE_XSTR should pass copy of literal string.
36876 Sat Oct 30 00:19:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36878 * array.c (rb_ary_update): a[n,m]=nil no longer works as element
36881 * enum.c (enum_sort_by): protect continuation jump in.
36884 * eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS,
36885 NEW_VALIAS), parse.y (fitem): allow dynamic symbols to
36886 NODE_UNDEF and NODE_ALIAS.
36888 Fri Oct 29 21:27:51 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36890 * io.c (rb_io_check_initialized): new function to check uninitialized
36891 object. [ruby-talk:118234]
36893 * file.c (rb_file_path), io.c (rb_io_closed): check if initialized.
36895 Fri Oct 29 19:05:33 2004 NARUSE, Yui <naruse@ruby-lang.org>
36897 * ext/nkf: follow nkf2.0.
36899 Fri Oct 29 17:18:22 2004 NAKAMURA Usaku <usa@ruby-lang.org>
36901 * parse.y (ripper_s_allocate): add prototype for Microsoft compiler.
36903 * range.c (range_step, range_each): need cast.
36905 Fri Oct 29 16:34:19 2004 Daiki Ueno <ueno@unixuser.org>
36907 * misc/ruby-mode.el (ruby-parse-partial): Parse the rest of the
36908 line after opening heredoc identifier. [ruby-dev:24635]
36910 Fri Oct 29 11:35:04 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36912 * parse.y (rb_parser_append_print, rb_parser_while_loop): body node
36913 can be empty. [ruby-dev:24628]
36915 Fri Oct 29 10:00:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36917 * eval.c (rb_thread_start_0): forget to free some memory chunks.
36920 * eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,
36921 should be wrapped by PUSH_TAG/POP_TAG(). [ruby-dev:24627]
36923 Thu Oct 28 08:42:02 2004 Tanaka Akira <akr@m17n.org>
36925 * io.c (argf_forward): use ANSI style.
36926 (argf_read): call argf_forward with argv argument.
36929 Wed Oct 27 09:17:30 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36931 * string.c (str_gsub): use a string object for exception safeness.
36934 Wed Oct 27 07:38:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36936 * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.
36939 * ruby.h (FL_ABLE): nodes are not subject for flag operations.
36941 * io.c (ARGF_FORWARD): should have specified argv explicitly,
36942 since we no longer have frame->argv saved. [ruby-dev:24602]
36944 Tue Oct 26 23:30:39 2004 Dave Thomas <dave@pragprog.com>
36946 * lib/rdoc/code_objects.rb (RDoc::Context::add_class_or_module):
36947 Restore correct :nopdoc: behavior with nested classes and modules.
36949 Tue Oct 26 18:21:29 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36951 * string.c (RESIZE_CAPA): check string attribute before modifying
36952 capacity member of string structure. [ruby-dev:24594]
36954 Tue Oct 26 11:33:26 2004 David G. Andersen <dga@lcs.mit.edu>
36956 * ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain
36957 performance. [ruby-talk:117701]
36959 Tue Oct 26 10:56:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36961 * sprintf.c (rb_f_sprintf): raise ArgumentError for extra
36962 arguments, unless (digit)$ style used.
36964 Mon Oct 25 18:35:39 2004 WATANABE Hirofumi <eban@ruby-lang.org>
36966 * win32/win32.c (isUNCRoot): should check NUL after '.'.
36969 * win32/win32.c (isUNCRoot): fixed buffer overrun.
36971 Mon Oct 25 08:03:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36973 * eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]
36975 Sun Oct 24 00:40:50 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
36977 * eval.c (rb_load, search_required, rb_require_safe, rb_require): use
36978 frozen shared string to avoid outside modification. [ruby-dev:24580]
36980 Sat Oct 23 23:40:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36982 * io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in
36983 interpreter termination. [ruby-dev:24579]
36985 Sat Oct 23 22:18:32 2004 Guy Decoux <ts@moulon.inra.fr>
36987 * eval.c (frame_free): Guy Decoux solved the leak problem.
36988 Thanks. [ruby-core:03549]
36990 Sat Oct 23 00:20:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
36992 * ext/zlib/zlib.c (zstream_append_input): clear klass for z->input
36993 to avoid potential vulnerability.
36995 * ext/zlib/zlib.c (zstream_run): always use zstream_append_input()
36996 to avoid SEGV. [ruby-dev:24568]
36998 Fri Oct 22 12:02:28 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37000 * eval.c (rb_alias): was warning for wrong condition.
37003 Fri Oct 22 10:36:37 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37005 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):
37006 should check if path_info is not nil.
37008 Fri Oct 22 00:22:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37010 * ext/zlib/zlib.c (zstream_shift_buffer): should restore class
37011 field of a buffer. [ruby-dev:24562]
37013 Fri Oct 22 00:20:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37015 * string.c (rb_str_include): should not treat char as negative value.
37018 Thu Oct 21 21:32:30 2004 IWATSUKI Hiroyuki <don@na.rim.or.jp>
37020 * lib/pstore.rb (PStore#transaction): Use the empty content when a
37021 file is not found. [ruby-dev:24561]
37023 Thu Oct 21 19:06:15 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37025 * lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):
37026 ensure to close @body. (http://bugs.debian.org/277520)
37028 Thu Oct 21 13:11:31 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37030 * io.c (pipe_open): variable name "fpw" is conflicted.
37032 Thu Oct 21 00:36:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37034 * eval.c (rb_alias): should warn on method discarding.
37037 * ext/zlib/zlib.c (zstream_expand_buffer_into): hide internal
37038 string buffer by clearing klass. [ruby-dev:24548]
37040 * parse.y (lex_getline): should not touch ruby_debug_lines if
37041 RIPPER is defined. [ruby-dev:24547]
37043 Wed Oct 20 19:45:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37045 * string.c (str_gsub): reentrant check. [ruby-dev:24432]
37047 Wed Oct 20 12:42:53 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37049 * io.c (rb_io_getline): rs modification check should not interfere
37052 Wed Oct 20 10:31:33 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37054 * parse.y (lex_getline): should update ruby_debug_lines.
37056 Wed Oct 20 04:17:55 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37058 * ext/dbm/dbm.c (fdbm_delete_if): should check if deleting element
37059 is a string. [ruby-dev:24490]
37061 * ext/sdbm/init.c (fsdbm_delete_if): ditto.
37063 Wed Oct 20 01:37:18 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37065 * array.c (rb_ary_times): Array#* should return an instance of
37066 the class of right operand. [ruby-dev:24526]
37068 * ext/zlib/zlib.c (zstream_detach_buffer): should not expose
37069 class-less object to Ruby world. [ruby-dev:24530]
37071 * eval.c (proc_dup): provide Proc#dup as well. [ruby-talk:116915]
37073 * eval.c (ruby_exec): stack marking position may be higher than
37074 expected. thanks to Guy Decoux. [ruby-core:03527]
37076 Wed Oct 20 00:25:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37078 * eval.c (search_required): required name must not be changed before
37079 loading. [ruby-dev:24492]
37081 Tue Oct 19 23:59:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37083 * eval.c (rb_require_safe): provide the feature after loaded.
37086 Tue Oct 19 22:43:12 2004 Dave Thomas <dave@pragprog.com>
37088 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_attr): If
37089 we come across 'attr' in a context where it isn't
37090 followed by a symbol, just issue a warning.
37092 Tue Oct 19 20:32:50 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
37094 * ext/win32ole.c(ole_invoke): retrieve the result value when
37095 retrying the IDispatch::invoke.
37097 Tue Oct 19 17:24:11 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37099 * io.c (read_all): block string buffer modification during
37100 rb_io_fread() by freezing it temporarily. [ruby-dev:24479]
37102 * dir.c (rb_push_glob): block call at once the end of method.
37105 * ext/enumerator/enumerator.c (enum_each_slice): remove
37106 rb_gc_force_recycle() to prevent potential SEGV.
37109 * ext/zlib/zlib.c (zstream_expand_buffer): hide internal string
37110 buffer by clearing klass. [ruby-dev:24510]
37112 Tue Oct 19 08:47:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37114 * string.c (rb_str_upto): method result must be checked. [ruby-dev:24504]
37116 * eval.c (error_print): ditto. [ruby-dev:24519]
37118 Mon Oct 18 23:37:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37120 * marshal.c (r_object0): check inheritance by the internal function.
37123 Mon Oct 18 11:29:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37125 * io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether file
37126 not existing is created. [ruby-dev:24505]
37128 Mon Oct 18 07:26:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37130 * file.c (rb_file_truncate): discard read buffer before truncation.
37133 Mon Oct 18 01:56:03 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37135 * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#initialize):
37136 initial value of accpet-* should be array.
37138 Mon Oct 18 00:42:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37140 * ext/socket/socket.c (sock_s_getservbyaname): protocol string
37141 might be altered. [ruby-dev:24503]
37143 * string.c (rb_str_upto): check if return value from succ is a
37144 string. [ruby-dev:24504]
37146 Sun Oct 17 23:03:48 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37148 * ext/tk/lib/tk/timer.rb: TkTimer#start and restart accept a block
37150 Sun Oct 17 12:53:46 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
37152 * ext/win32ole/win32ole.c (fole_func_methods): correct argument mismatch.
37153 * ext/win32ole/win32ole.c (fole_get_methods): ditto.
37154 * ext/win32ole/win32ole.c (fole_put_methods): ditto.
37155 * ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE#ole_func_methods
37156 WIN32OLE#ole_get_methods, WIN32OLE#ole_put_methods
37158 Sat Oct 16 14:45:28 2004 Kouhei Sutou <kou@cozmixng.org>
37160 * lib/rss/0.9.rb (RSS::Rss#to_s): removed garbage.
37162 Sat Oct 16 13:42:49 2004 Kouhei Sutou <kou@cozmixng.org>
37164 * lib/rss/: untabified.
37165 * test/rss/: untabified.
37166 * lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent.
37168 Sat Oct 16 13:34:56 2004 Kouhei Sutou <kou@cozmixng.org>
37170 * lib/rss: supported prety print.
37171 * test/rss/test_1.0.rb: added test for calculating default indent size.
37173 Sat Oct 16 10:56:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37175 * lib/mkmf.rb (create_makefile): install-rb is needed for statically
37176 linked extensions. [ruby-dev:24491]
37178 Fri Oct 15 18:07:08 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37180 * ext/openssl/ossl_x509store.c
37181 (ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with
37182 ossl_x509stctx_* functions instead of X509_STORE_CTX_*.
37183 (ossl_x509store_set_time): add OpenSSL::X509::Store#time=.
37184 (ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=.
37186 * test/openssl/ossl_x509store.rb: test certificate validity times.
37188 Fri Oct 15 18:04:35 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37190 * ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is
37191 acceptable. Add TkTimer.start ( == new + start ).
37193 Fri Oct 15 12:43:09 2004 Tanaka Akira <akr@m17n.org>
37195 * eval.c (Init_stack): make prototype declaration consistent with
37196 the definition in gc.c.
37198 Thu Oct 14 13:33:59 2004 Kouhei Sutou <kou@cozmixng.org>
37200 * lib/rss/rss.rb: added link to Tutorial.
37202 Tue Oct 12 21:22:50 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37204 * lib/webrick/config.rb:
37205 add WEBrick::Config::FileHandler[:AcceptableLanguages].
37207 * lib/webrick/httpservlet/filehandler.rb
37208 (WEBrick::HTTPServlet::FileHandler#set_filename): search files
37209 having suffix of language-name which Accept-Language header field
37210 includes if :AcceptableLanguages options is present.
37212 * lib/webrick/httpservlet/filehandler.rb
37213 (WEBrick::HTTPServlet::FileHandler#get_servlet): new method to
37214 search servlet correspond to the suffix of filename.
37216 * lib/webrick/httprequest.rb: add attributes access methods: accept,
37217 accept_charset, accept_encoding, accept_language, content_length
37220 * lib/webrick/httpresponse.rb: add attribute access methods:
37221 content_length, content_length=, content_type and content_type=.
37223 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.mime_types):
37224 use the second suffix to detect media type. (the first suffix
37225 may be a language name.)
37227 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_qvalues):
37228 add method to parse Accept header field. it returns an Array of
37229 values sorted by the qvalues.
37231 Tue Oct 12 15:05:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37233 * io.c (MODE_BINMODE, MODE_BINARY): fixed reversed condition.
37235 Mon Oct 11 17:51:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37237 * io.c (rb_io_popen): get mode string via rb_io_flags_mode() to
37238 avoid mode string modification. [ruby-dev:24454]
37240 * io.c (rb_io_getline_fast): should take delim as unsigned char to
37241 distinguish EOF and '\377'. [ruby-dev:24460]
37243 * io.c (rb_io_getline): add check for RS modification.
37246 * enum.c (enum_sort_by): use qsort() directly instead using
37247 rb_iterate(). [ruby-dev:24462]
37249 * enum.c (enum_each_with_index): remove rb_gc_force_recycle() to
37250 prevent access to recycled object (via continuation for
37251 example). [ruby-dev:24463]
37253 Mon Oct 11 13:48:20 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37255 * ext/tk/lib/tk/*: untabify
37257 Sun Oct 10 12:32:08 2004 Dave Thomas <dave@pragprog.com>
37259 * lib/rdoc/parsers/parse_rb.rb (RDoc::parse_require): Allow 'require'
37260 to be used as a variable name
37262 Sun Oct 10 02:49:14 2004 Minero Aoki <aamine@loveruby.net>
37264 * ext/ripper/lib/ripper/filter.rb: require ripper/tokenizer.
37266 * ext/ripper/lib/ripper/filter.rb (parse): argument is optional.
37268 Sun Oct 10 02:43:13 2004 Minero Aoki <aamine@loveruby.net>
37270 * parse.y [ripper]: \n between two comments disappeared.
37272 Sat Oct 9 21:23:37 2004 Kouhei Sutou <kou@cozmixng.org>
37274 * lib/rss/converter.rb: changed to try to use Iconv for default
37277 * lib/rss/rss.rb: 0.0.9 -> 0.1.0.
37279 Sat Oct 9 19:50:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37281 * io.c (rb_io_getline): should not treat char as negative value.
37284 Sat Oct 9 00:25:39 2004 Tanaka Akira <akr@m17n.org>
37286 * io.c (rb_io_fread): rb_thread_wait_fd() was lost.
37289 Fri Oct 8 21:36:56 2004 Minero Aoki <aamine@loveruby.net>
37291 * lib/fileutils.rb (fu_traverse): return value of Dir.entries is
37292 reliable. (pass $SAFE=1)
37294 * lib/fileutils.rb (remove_dir): return value of Dir.foreach is
37295 reliable. (pass $SAFE=1)
37297 Fri Oct 8 09:49:32 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37299 * pack.c (pack_pack): pointer modification check before each
37300 iteration. [ruby-dev:24445]
37302 Fri Oct 8 01:13:05 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37304 * ext/tk/lib/tk/optiondb.rb: make it more secure
37306 Thu Oct 7 23:47:57 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37308 * ext/tk/lib/tk/scrollbar.rb: When 'set' operation, a scrollbar
37309 cannot propagate view port information from the source widget
37310 (that calls 'set') to other assigned widgets.
37312 Thu Oct 7 17:36:25 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37314 * ext/tk/lib/tk.rb: When CHILDKILLED and so on, Tk.errorCode returns
37315 a Fixnum for 2nd element (it's pid) of the return value.
37317 Thu Oct 7 12:55:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37319 * io.c (io_read): should freeze buffer before thread context
37320 switch. [ruby-dev:24442]
37322 * pack.c (pack_unpack): string conversion should at the top of the
37323 method. [ruby-dev:24439]
37325 * io.c (io_read): buffer should be frozen only after the length
37326 check. [ruby-dev:24440]
37328 Thu Oct 7 02:56:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37330 * ext/stringio/stringio.c: use FMODE_APPEND.
37332 Thu Oct 7 01:05:33 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37334 * ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCode
37336 Thu Oct 7 00:08:37 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37338 * io.c (rb_io_s_sysopen): preserve path in the buffer allocated by
37339 ALLOCA_N() to prevent modification. [ruby-dev:24438]
37341 Wed Oct 6 09:21:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37343 * io.c (rb_io_mode_flags): preserve append mode flag.
37346 * io.c (rb_io_modenum_mode): do not use external output buffer.
37348 * string.c (rb_str_justify): differ pointer retrieval to prevent
37349 padding string modification. [ruby-dev:24434]
37351 * range.c (range_each_func): allow func to terminate loop by
37352 returning RANGE_EACH_BREAK.
37354 * range.c (member_i): use RANGE_EACH_BREAK. [ruby-talk:114959]
37356 Tue Oct 5 09:53:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37358 * io.c (rb_fopen): mode string copy at the lowest level.
37360 * io.c (rb_io_flags_mode): requires output buffer no more. no
37363 * array.c (rb_ary_index): takes a block to compare items in an
37364 array. [ruby-talk:113069] [Ruby2]
37366 * array.c (rb_ary_rindex): ditto.
37368 Mon Oct 4 14:03:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37370 * io.c (rb_file_open_internal, rb_io_reopen): fname might be altered
37371 while GC. [ruby-dev:24408]
37373 Mon Oct 4 12:53:45 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37375 * ext/tk/lib/tk/optiondb.rb: support definition of command
37376 resources on widgets
37378 * ext/tk/lib/tk/image.rb: bug fix
37380 Sun Oct 3 21:16:05 2004 Shugo Maeda <shugo@ruby-lang.org>
37382 * lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the german
37383 version of Microsoft Exchange Server.
37385 * lib/net/imap.rb (RTEXT_REGEXP): ditto.
37387 * lib/net/imap.rb (CTEXT_REGEXP): ditto.
37389 Sat Oct 2 20:34:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37391 * parse.y (local_vars): moved to struct parser_params.
37394 * parser.y (stmts): remove suspicious NODE_BEGIN. [ruby-dev:24390]
37396 * node.h (NEW_DVAR): extra semicolon.
37398 Sat Oct 2 00:42:20 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37400 * marshal.c (r_byte): retrieve pointer from string value for each
37401 time. [ruby-dev:24404]
37403 * marshal.c (r_bytes0): ditto.
37405 * enum.c (sort_by_i): re-entrance check added. [ruby-dev:24399]
37407 * io.c (io_read): should freeze all reading buffer.
37410 * string.c (rb_str_sum): should use bignums when bits is greater
37411 than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395]
37413 * eval.c (specific_eval): defer pointer retrieval to prevent
37414 unsafe sourcefile string modification. [ruby-dev:24382]
37416 * string.c (rb_str_sum): wrong cast caused wrong result.
37419 * enum.c (enum_sort_by): hide temporary array from
37420 ObjectSpace.each_object. [ruby-dev:24386]
37422 * string.c (rb_str_sum): check was done with false pointer.
37425 * string.c (rb_str_sum): string may be altered. [ruby-dev:24381]
37427 Fri Oct 1 11:40:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37429 * eval.c (rb_f_eval): defer pointer retrieval to prevent unsafe
37430 sourcefile string modification. [ruby-dev:24373]
37432 * io.c (io_read): block string buffer modification during
37433 rb_io_fread() by freezing it temporarily. [ruby-dev:24366]
37435 * io.c (rb_io_s_popen): mode argument may be altered.
37438 * file.c (rb_file_s_basename): ext argument may be altered.
37441 * enum.c (enum_sort_by): use NODE instead of 2 element arrays.
37444 * string.c (rb_str_chomp_bang): StringValue() may change the
37445 receiver. [ruby-dev:24371]
37447 Fri Oct 1 11:25:20 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37449 * ext/tk/lib/tk/grid.rb: revive TkGrid.grid
37451 * ext/tk/lib/tk/pack.rb: revive TkPack.pack
37453 * ext/tk/lib/tk/place.rb: revive TkPlace.place
37455 Thu Sep 30 00:50:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37457 * ext/tcltklib/tcltklib.c (ip_init): bug fix
37459 * ext/tk/tkutil.c (get_eval_string_core): accept a Regexp object
37461 * ext/tk/lib/multi-tk.rb: fix bug on 'exit' operation
37463 * ext/tk/lib/tk/text.rb: 'tksearch' accepts a Regexp object as a
37464 matting pattern argument
37466 Wed Sep 29 10:58:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37468 * enum.c (sort_by_i): internally used object must not be changed
37469 outside. [ruby-dev:24368]
37471 Mon Sep 27 21:25:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37473 * eval.c (rb_call0): invoke finalizers periodically.
37475 * gc.c (gc_sweep): defer running finalizers. [ruby-dev:24354]
37477 * gc.c (rb_gc_finalize_deferred): run deferred finalizers.
37479 Mon Sep 27 15:01:59 2004 Minero Aoki <aamine@loveruby.net>
37481 * parse.y [ripper]: missing ';'.
37483 Mon Sep 27 13:46:45 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
37485 * intern.h, struct.c (rb_struct_s_members, rb_struct_members): public
37486 accessors. [ruby-dev:24342]
37488 * marshal.c (w_object, r_object0): use accessors.
37490 Mon Sep 27 09:14:03 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37492 * array.c (rb_ary_delete): comparison may change the capacity.
37495 * array.c (rb_ary_fill): fill should honor length argument.
37498 * array.c (rb_ary_replace): should not use ptr from shared array.
37501 * ext/socket/socket.c (s_accept): don't retry for EWOULDBLOCK.
37504 Sun Sep 26 08:05:10 2004 Tadayoshi Funaba <tadf@dotrb.org>
37506 * lib/date.rb: provides {Time,Date,DateTime}#to_{time,date,datetime}.
37508 * sample/cal.rb: uses getoptlong instead of getopts.
37510 Sat Sep 25 18:39:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37512 * array.c (flatten): element size might change during comparison.
37515 Sat Sep 25 01:52:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37517 * struct.c (rb_struct_s_members): wrong call of struct_members.
37520 Fri Sep 24 16:09:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37522 * eval.c (proc_invoke): propagate DVAR_DONT_RECYCLE on termination
37523 to avoid double call to rb_gc_force_recycle(). [ruby-dev:24311]
37525 Fri Sep 24 08:29:45 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37527 * parse.y (rb_parser_append_print): should handle prelude.
37530 * parse.y (rb_parser_while_loop): ditto.
37532 * array.c (rb_ary_subseq): original object might be modified after
37533 sharing data creation. [ruby-dev:24327]
37535 * array.c (rb_ary_replace): ditto.
37537 * array.c (ary_make_shared): freeze shared array. [ruby-dev:24325]
37539 * struct.c (struct_members): always check struct size and size of
37540 members list in the class. [ruby-dev:24320]
37542 Thu Sep 23 19:48:14 2004 Minero Aoki <aamine@loveruby.net>
37544 * ext/ripper/Makefile.dev: removed.
37546 * ext/ripper/ripper.rb.in: moved to lib/ripper/core.rb.in.
37548 * ext/ripper/lib/ripper/core.rb: new file.
37550 * ext/ripper/lib/ripper/core.rb.in: new file.
37552 * ext/ripper/tools/generate-ripper_rb.rb: change comment.
37554 * test/ripper/*.rb: on__scan event removed.
37556 * test/ripper/*.rb: event name is changed: on__XXX -> on_XXX.
37558 Thu Sep 23 09:29:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37560 * string.c (rb_str_sub_bang): check if string is not modified
37561 during iteration. [ruby-dev:24315]
37563 * hash.c (rb_hash_rehash): replace st_foreach() by its deep
37564 checking counterpart. [ruby-dev:24310]
37566 Wed Sep 22 14:21:54 2004 Minero Aoki <aamine@loveruby.net>
37568 * parse.y [ripper]: on__scan event removed.
37570 * parse.y [ripper]: event name is changed: on__XXX -> on_XXX.
37572 * ext/ripper/eventids2.c: ditto.
37574 * ext/ripper/ripper.rb.in: ditto.
37576 * ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
37578 * ext/ripper/lib/ripper/tokenizer: ditto.
37580 * ext/ripper/lib/ripper/filter: new file.
37582 * sample/ripper/colorize.rb: new file.
37584 * sample/ripper/strip-comment.rb: new file.
37586 Wed Sep 22 13:50:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37588 * hash.c (hash_alloc): was using tbl pointer without
37591 Wed Sep 22 13:38:12 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37593 * hash.c (rb_hash_rehash): add iteration check. [ruby-dev:24301]
37595 * st.c (st_foreach): add deep check.
37597 * hash.c (rb_hash_fetch): returns KeyError instead of IndexError.
37599 * hash.c (env_fetch): ditto.
37601 Wed Sep 22 13:02:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37603 * win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.
37605 Wed Sep 22 09:04:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37607 * parse.y: remove global variables ruby_eval_tree and
37608 ruby_eval_tree_begin.
37610 * array.c (rb_ary_collect_bang): element size might change during
37611 comparison. [ruby-dev:24300]
37613 * array.c (rb_ary_reject_bang): ditto. [ruby-dev:24300]
37615 * array.c (rb_ary_eql): ditto. [ruby-dev:24300]
37617 Wed Sep 22 00:11:12 2004 Dave Thomas <dave@pragprog.com>
37619 * process.c: Add documentation for fork()
37621 Tue Sep 21 18:29:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37623 * array.c (rb_ary_uniq_bang): element size might change during
37624 comparison. [ruby-dev:24298]
37626 Mon Sep 20 17:46:51 2004 Minero Aoki <aamine@loveruby.net>
37628 * ext/ripper/lib/ripper/tokenizer.rb: fix typo.
37630 Mon Sep 20 17:38:43 2004 Minero Aoki <aamine@loveruby.net>
37632 * test/ripper/test_scanner_events.rb: tokens must be reordered.
37634 * ext/ripper/lib/ripper/tokenizer.rb: ditto.
37636 Mon Sep 20 16:58:16 2004 Minero Aoki <aamine@loveruby.net>
37638 * parse.y [ripper]: do not delay dispatching.
37640 * ext/ripper/lib/ripper/tokenizer.rb: sort tokens by right order.
37642 Mon Sep 20 15:17:47 2004 Minero Aoki <aamine@loveruby.net>
37644 * ext/ripper/lib/ripper/tokenizer.rb: new file.
37646 Mon Sep 20 15:13:52 2004 Minero Aoki <aamine@loveruby.net>
37648 * test/ripper/test_scanner_events.rb: test #lineno and #column.
37650 Mon Sep 20 14:50:17 2004 Minero Aoki <aamine@loveruby.net>
37652 * parse.y [ripper]: delayed heredocument events should be
37653 dispatched after EOF.
37655 Mon Sep 20 14:39:42 2004 Minero Aoki <aamine@loveruby.net>
37657 * parse.y [ripper]: adjust lineno and columns for multi-line
37660 * parse.y [ripper]: delay heredocument events until seeing
37663 * parse.y [ripper]: event on__heredoc_contentn ->
37664 on__tstring_content.
37666 * ext/ripper/eventids2.c: ditto.
37668 * ext/ripper/lib/ripper.rb: sync with eventids2.c.
37670 * test/ripper/test_scanner_events.rb: test it.
37672 * ext/ripper/tools/generate-ripper_rb.rb: show basename of input.
37674 * ext/ripper/Makefile.dev: support objdir build.
37676 Mon Sep 20 13:22:55 2004 Minero Aoki <aamine@loveruby.net>
37678 * parse.y [ripper]: remove Ripper#pos.
37680 * parse.y [ripper]: Ripper#column should return the column of the
37683 Mon Sep 20 12:02:41 2004 Minero Aoki <aamine@loveruby.net>
37685 * parse.y [ripper]: unify old_lex_p and token_head.
37687 * test/ripper/test_scanner_events.rb: now \r\n is saved correctly.
37689 * parse.y: new macro lex_goto_eol() for next change.
37691 Mon Sep 20 11:01:55 2004 Minero Aoki <aamine@loveruby.net>
37693 * parse.y [ripper]: adjust line number for heredoc. [ruby-dev:24272]
37695 Mon Sep 20 04:49:22 2004 Minero Aoki <aamine@loveruby.net>
37697 * ext/ripper/ripper.rb.in: new const Ripper::PARSER_EVENT_TABLE.
37699 * ext/ripper/ripper.rb.in: new const Ripper::SCANNER_EVENT_TABLE.
37701 * ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
37703 Mon Sep 20 04:13:00 2004 Minero Aoki <aamine@loveruby.net>
37705 * test/ripper/test_scanner_events.rb: test spaces before heredoc
37708 Mon Sep 20 03:46:54 2004 Minero Aoki <aamine@loveruby.net>
37710 * parse.y [ripper]: spaces before heredoc marker was lost.
37713 * keywords: rb_reserved_word() should be defined only in ruby
37714 core. [ruby-dev:24272]
37716 * lex.c: sync with keywords.
37718 * ext/ripper/ripper.rb.in (parse): fix typo.
37720 * ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
37722 Mon Sep 20 03:37:59 2004 Tanaka Akira <akr@m17n.org>
37724 * ext/zlib/zlib.c (gzfile_read_raw): call readpartial at first.
37725 (Zlib::GzipReader#readpartial): new method.
37727 Mon Sep 20 00:24:19 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37729 * enum.c (enum_sort_by): do not use qsort directly. use
37730 rb_ary_sort_bang() instead. [ruby-dev:24291]
37732 * enum.c (enum_sort_by): pedantic type check added.
37735 * hash.c (rb_hash_foreach_iter): check iter_lev after each
37736 iteration. [ruby-dev:24289]
37738 * array.c (rb_ary_and): element size might change during
37739 comparison. [ruby-dev:24290]
37741 * array.c (rb_ary_or): ditto. [ruby-dev:24292]
37743 * array.c (rb_ary_equal): wrong fix. [ruby-dev:24286]
37745 Sat Sep 18 15:02:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37747 * array.c (rb_ary_equal): element size might change during
37748 comparison. [ruby-dev:24254]
37750 * array.c (rb_ary_diff): ditto. [ruby-dev:24274]
37752 * array.c (rb_ary_select): ditto. [ruby-dev:24278]
37754 * array.c (rb_ary_delete): ditto. [ruby-dev:24283]
37756 * array.c (rb_ary_rindex): ditto. [ruby-dev:24275]
37758 * array.c (rb_ary_initialize): element size might change during
37759 initializing block. [ruby-dev:24284]
37761 Sat Sep 18 14:10:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37763 * dir.c (dir_s_chdir): avoid memory leak and unnecessary chdir to
37764 the original directory when exception has caused in changing
37765 direcotry or within block. thanks to Johan Holmberg
37766 <holmberg@iar.se> [ruby-core:03446]
37768 Fri Sep 17 20:29:33 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37770 * parse.y: add prototypes for Microsoft compiler.
37772 * ext/ripper/depend (parse.obj): lex.c exists at hdrdir.
37774 * {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c):
37777 Fri Sep 17 17:11:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37779 * array.c (rb_ary_delete): element comparison might change array
37780 size. [ruby-dev:24273]
37782 * parse.y: make ruby parser reentrant. merge ripper parser to the
37783 real one. this change makes ruby require bison.
37785 * file.c (rb_file_truncate): clear stdio buffer before truncating
37786 the file. [ruby-dev:24191]
37788 * ext/digest/digest.c: use rb_obj_class() instead of CLASS_OF
37789 which might return singleton class. [ruby-dev:24202]
37791 Fri Sep 17 16:07:09 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37793 * ext/tk/lib/multi-tk.rb: improve exit operation
37795 Fri Sep 17 15:01:57 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37797 * ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or
37800 * ext/tk/lib/tk.rb: add alias wait_window to wait_destroy
37802 * ext/tk/lib/multi-tk.rb: support calling 'mainloop' on slave
37803 interpreters (however, the 'real' eventloop must be run on the
37806 * ext/tk/lib/remote-tk.rb: follow the changes of ext/tk/lib/multi-tk.rb
37808 * ext/tk/sample/remote-ip_sample2.rb: ditto
37810 * ext/tk/sample/tkoptdb-safeTk.rb: ditto
37812 Thu Sep 16 18:12:13 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37814 * lib/webrick/cgi.rb (WEBrick::CGI#start): should set REMOTE_USER
37815 to request.user attribute.
37817 * lib/webrick/httpservlet/filehandler.rb
37818 (WEBrick::HTTPServlet::FileHandler#initialize): should expand
37819 the pathname of document root directory.
37821 Thu Sep 16 15:49:28 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
37823 * string.c (rb_str_intern): protect string argument from GC.
37826 Wed Sep 15 20:22:23 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37828 * ext/tk/sample/tkoptdb-safeTk.rb: fix a bug depend on the changes
37831 Tue Sep 14 23:54:11 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37833 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string was en-bugged by
37834 the previous changes.
37836 Tue Sep 14 23:45:44 2004 Dave Thomas <dave@pragprog.com>
37838 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::TextFormatter.for):
37839 Add Eric Hodel's simpleformatter.
37841 Tue Sep 14 22:11:08 2004 Minero Aoki <aamine@loveruby.net>
37843 * parse.y [ripper]: Add rdoc.
37845 Tue Sep 14 20:24:49 2004 Minero Aoki <aamine@loveruby.net>
37847 * parse.y [ripper]: space event is on__sp, not on__lwsp.
37850 * ext/ripper/eventids2.c: ditto.
37852 * ext/ripper/lib/ripper.rb: ditto.
37854 * ext/ripper/depend (ripper.o): No action is needed.
37857 * ext/ripper/depend: Borland make does not accept pipes in
37858 Makefile rules. [ruby-dev:24589]
37860 * ext/ripper/depend: separate rules for developpers.
37862 * ext/ripper/Makefile.dev: new file.
37864 * ext/ripper/MANIFEST: add Makefile.dev.
37866 * ext/ripper/tools/generate-eventids1.rb: read from file, not
37869 * ext/ripper/extconf.rb: clean ripper.E.
37871 * ext/ripper/tools/generate-ripper_rb.rb: #include ids1/ids2
37874 * ext/ripper/tools/generate-ripper_rb.rb: SCANNER_EVENTS wrongly
37875 contained parser events.
37877 * ext/ripper/lib/ripper.rb: ditto.
37879 Tue Sep 14 16:59:37 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37881 * ext/tcltklib/tcltklib.c: fix SEGV
37883 * ext/tk/lib/multi-tk.rb: improve safe-level handling of argument proc
37885 * ext/tk/sample/multi-ip_sample.rb: rename of old 'safe-tk.rb'
37887 * ext/tk/sample/safe-tk.rb: new sample script
37890 Mon Sep 13 21:33:40 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
37892 * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): add optional
37893 second argument to specify the output format (see also
37894 X509_NAME_print_ex).
37896 * ext/openssl/ossl_x509name.c (ossl_x509name_init): new constants:
37897 OpenSSL::X509::Name::COMPAT, OpenSSL::X509::Name::RFC2253,
37898 OpenSSL::X509::ONELINE, OpenSSL::X509::MULTILINE.
37900 * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name::RFC2253DN):
37901 new module to provide the parse for RFC2253 DN format.
37903 * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name.parse_rfc2253):
37904 new method to parse RFC2253 DN format.
37906 Mon Sep 13 19:16:33 2004 WATANABE Hirofumi <eban@ruby-lang.org>
37908 * eval.c (blk_copy_prev): need frame_dup(). [ruby-dev:24103]
37910 Mon Sep 13 16:23:27 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
37912 * ext/tk/lib/multi-tk.rb: MultiTkIp.new_master and new_slave accept
37913 safe-level value argument
37915 Mon Sep 13 10:48:37 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37917 * win32/win32.c (rb_w32_getpid): don't need to use _getpid() on
37918 mswin32 and mingw32.
37920 Mon Sep 13 10:22:05 2004 NAKAMURA Usaku <usa@ruby-lang.org>
37922 * object.c (nil_inspect): fix typo.
37924 Mon Sep 13 09:29:58 2004 Minero Aoki <aamine@loveruby.net>
37926 * ext/ripper/depend: (nmake hack) prepend "./" to ripper.c to
37929 Mon Sep 13 06:43:42 2004 Minero Aoki <aamine@loveruby.net>
37931 * ext/ripper/tools/list-parse-event-ids.rb: does not use getopts.
37933 * ext/ripper/tools/list-scan-event-ids.rb: ditto.
37935 Mon Sep 13 02:42:28 2004 Minero Aoki <aamine@loveruby.net>
37937 * ext/Setup: add ripper.
37939 * ext/Setup.atheos: ditto.
37941 * ext/Setup.dj: ditto.
37943 * ext/Setup.emx: ditto.
37945 * ext/Setup.nt: ditto.
37947 * ext/Setup.x68: ditto.
37949 Mon Sep 13 02:26:31 2004 Minero Aoki <aamine@loveruby.net>
37951 * ext/ripper: ripper extention added.
37953 * ext/ripper/MANIFEST: new file.
37955 * ext/ripper/README: new file.
37957 * ext/ripper/depend: new file.
37959 * ext/ripper/extconf.rb: new file.
37961 * ext/ripper/eventids2.c: new file.
37963 * ext/ripper/ripper.rb.in: new file.
37965 * ext/ripper/lib/ripper.rb: new file.
37967 * ext/ripper/test/check-event-arity.rb: new file.
37969 * ext/ripper/test/check-event-coverage.sh: new file.
37971 * ext/ripper/test/check-scanner-event-coverage.rb: new file.
37973 * ext/ripper/test/list-called-events.rb: new file.
37975 * ext/ripper/test/src_rb: new file.
37977 * ext/ripper/test/validate.rb: new file.
37979 * ext/ripper/tools/generate-eventids1.rb: new file.
37981 * ext/ripper/tools/generate-param-macros.rb: new file.
37983 * ext/ripper/tools/generate-ripper_rb.rb: new file.
37985 * ext/ripper/tools/list-parse-event-ids.rb: new file.
37987 * ext/ripper/tools/list-scan-event-ids.rb: new file.
37989 * ext/ripper/tools/preproc.rb: new file.
37991 * ext/ripper/tools/strip.rb: new file.
37993 * test/ripper: ripper tests added.
37995 * test/ripper/dummyparser.rb: new file.
37997 * test/ripper/test_parser_events.rb: new file.
37999 * test/ripper/test_scanner_events.rb: new file.
38001 Mon Sep 13 01:03:02 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38003 * ext/tcltklib/tcltklib.c: improve control of preserv/release tcltkip
38005 * ext/tcltklib/tcltklib.c: store original 'exit' command
38007 * ext/tk/tkutil.c: fix(?) SEGV
38009 Mon Sep 13 00:22:53 2004 Minero Aoki <aamine@loveruby.net>
38011 * parse.y: fix file header.
38013 Mon Sep 13 00:20:39 2004 Minero Aoki <aamine@loveruby.net>
38015 * parse.y: ripper merged.
38021 Sun Sep 12 23:53:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38023 * util.c (ruby_strdup): remove unnecessary code. (xmalloc never
38026 * util.c (ruby_getcwd): fix memory leak on failure.
38028 Sun Sep 12 02:41:58 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38030 * ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and
38033 * ext/tk/lib/multi-tk.rb: ditto.
38035 * ext/tk/lib/remote-tk.rb: ditto.
38037 * ext/tcltklib/MANUAL.euc: ditto.
38039 * ext/tcltklib/MANUAL.eng: ditto.
38041 * ext/tcltklib/tcltklib.c: fix some reasons of SEGV
38043 * ext/tk/tkutil.c: ditto.
38045 * ext/tk/lib/multi-tk.rb: ditto.
38047 * ext/tk/lib/tk/timer.rb: ditto.
38049 Sat Sep 11 16:09:46 2004 Dave Thomas <dave@pragprog.com>
38051 * lib/rdoc/parsers/parse_rb.rb: Fix up cross-file class merging.
38053 Fri Sep 10 20:18:05 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38055 * ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious
38056 pointer conversion.
38058 Fri Sep 10 19:16:24 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38060 * bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.
38061 (need to rebuild all) [ruby-dev:24138]
38063 * win32/win32.{h,c}: ditto.
38065 Fri Sep 10 15:55:59 2004 Minero Aoki <aamine@loveruby.net>
38067 * lib/fileutils.rb (mkdir_p): should pass mode argument to
38068 Dir.mkdir. [ruby-dev:24242]
38070 * test/fileutils/test_fileutils.rb: test it.
38072 Fri Sep 10 02:43:54 2004 Dave Thomas <dave@pragprog.com>
38074 * lib/rdoc/generators/template/kilmer.rb: James Buck's
38075 patch for call-seq.
38077 Thu Sep 9 13:58:56 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38079 * ext/tcltklib/tcltklib.c (ip_init): change flag value for setting
38080 'argv' and 'argv0' variable
38082 * ext/tk/lib/remote-tk.rb: follow changes of multi-tk.rb
38084 Thu Sep 9 11:46:18 2004 Dave Thomas <dave@pragprog.com>
38086 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_classes): Allow
38087 spaces aroun parameter to define_method_under (James Buck)
38089 Wed Sep 8 18:44:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38091 * ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.
38094 Wed Sep 8 15:19:49 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38096 * ext/tcltklib/tcltklib.c (ip_init): cannot create a IP at level 4
38098 * ext/tk/lib/multi-tk.rb: improve 'exit' operation, security check,
38099 and error treatment
38101 * ext/tk/lib/multi-tk.rb: allow a trusted slave IP to create slave IPs
38103 * ext/tk/lib/tk/listbox.rb: add TkListbox#value, value=, clear, and
38106 * ext/tk/lib/tk/text.rb: add TkText#clear and erase
38108 Tue Sep 7 15:17:49 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38110 * ext/socket/socket.c (ruby_connect): break immediately if a
38111 socket is non-blocking. [ruby-talk:111654]
38113 Tue Sep 7 12:48:22 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38115 * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
38117 * win32/win32.[ch] (fcntl): ditto.
38119 * win32/win32.c (rb_w32_connect): support nonblocking mode.
38121 * ext/socket/socket.c (wait_connectable, ruby_connect): support
38122 nonblocking connect on various platforms.
38124 Mon Sep 6 11:00:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38126 * dir.c (dir_s_chdir): the patch to shut up false warning when
38127 exception occurred within a block. a patch was given from Johan
38128 Holmberg <holmberg at iar.se>. [ruby-core:03292]
38130 Mon Sep 6 10:57:40 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38132 * ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
38134 Mon Sep 6 07:51:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38136 * eval.c (cvar_cbase): singletons should refer outer cvar scope.
38139 * eval.c (rb_load): should preserve previous ruby_wrapper value.
38142 Sat Sep 4 01:14:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38144 * eval.c (cvar_cbase): class variables cause SEGV in
38145 instance_eval() for fixnums and symbols. [ruby-dev:24213]
38147 Fri Sep 3 17:47:58 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38149 * struct.c (make_struct): remove redefining constant when
38150 conflict. [ruby-dev:24210]
38152 Fri Sep 3 11:31:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38154 * ext/tk/lib/tk.rb: Tk.after makes TkCore::INTERP.tk_cmd_tbl grow
38157 Fri Sep 3 02:12:48 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38159 * ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]
38161 * ext/tk/lib/tk/text.rb: fix typo
38163 * ext/tk/lib/multi-tk.rb: improve safe-level treatment on slave IPs
38165 Fri Sep 3 01:54:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38167 * ext/extmk.rb (extmake): extact target prefix from Makefiles.
38169 * ext/extmk.rb: already built-in libraries satisfy dependencies.
38172 Wed Sep 1 21:16:50 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38174 * ext/tk/lib/tk/spinbox.rb: fix typo
38176 Wed Sep 1 19:28:37 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38178 * process.c (rb_proc_exec): label cannot precede variable declarations.
38180 Tue Aug 31 18:20:49 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38182 * ext/tk/tkutil.c (cbsubst_init): fix memory leak
38184 * ext/tk/tkutil.c (cbsubst_get_all_subst_keys): fix SEGV
38186 Tue Aug 31 16:04:22 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38188 * ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted,
38189 destroy its root widget
38191 Tue Aug 31 12:30:36 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38193 * ext/tcltklib/tcltklib.c (del_root): fix SEGV
38195 Mon Aug 30 21:50:14 2004 Dave Thomas <dave@pragprog.com>
38197 * object.c: Add RDoc for Module.included.
38199 Mon Aug 30 23:11:06 2004 Dave Thomas <dave@pragprog.com>
38201 * lib/rdoc/ri/ri_driver.rb (and others): ri now merges documentation
38202 if it finds the same class in multiple places.
38204 Mon Aug 30 22:40:30 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38206 * ext/tk/lib/multi-tk.rb: 'restart' method accepts arguments
38208 Mon Aug 30 15:10:46 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38210 * configure.in (GNU/k*BSD): fixed FTBFS on GNU/k*BSD. [ruby-dev:24051]
38212 Sun Aug 29 14:08:56 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38214 * ext/tcltklib/tcltklib.c: compile error on bcc32 [ruby-dev:24081]
38216 * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string does not work
38218 Sat Aug 28 23:04:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38220 * bignum.c (rb_big_and): protect parameters from GC.
38223 Fri Aug 27 12:13:50 2004 Tanaka Akira <akr@m17n.org>
38225 * ext/stringio/stringio.c (Init_stringio): add StringIO#readpartial as
38226 an alias for StringIO#sysread.
38228 Fri Aug 27 10:14:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38230 * process.c (rb_proc_exec): strip trailing spaces. [ruby-dev:24143]
38232 * win32/win32.c (CreateChild): ditto.
38234 Thu Aug 26 04:38:29 2004 Dave Thomas <dave@pragprog.com>
38236 * eval.c (return_jump): Minor typo in error message. Now reads
38237 "return can't jump across threads".
38239 Wed Aug 25 15:18:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38241 * eval.c (rb_longjmp): Exception#to_str is no longer defined.
38243 Wed Aug 25 11:39:10 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38245 * error.c (exc_equal): exceptions are equal if they share same
38246 class, message and backtrace. [ruby-talk:110354]
38248 * error.c (name_err_mesg_equal): ditto.
38250 Tue Aug 24 16:41:48 2004 Shugo Maeda <shugo@ruby-lang.org>
38252 * lib/cgi/session.rb (CGI::Session::FileStore#initialize): do not
38253 use a session id as a filename.
38255 * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): ditto.
38257 * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): use
38260 Tue Aug 24 14:32:17 2004 Shugo Maeda <shugo@ruby-lang.org>
38262 * lib/cgi/session.rb (CGI::Session::FileStore#initialize): untaint
38263 session id after check.
38265 Tue Aug 24 08:57:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38267 * ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): d2i
38268 functions may replace the pointer indicated by the first argument.
38270 * ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
38272 * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
38274 Mon Aug 23 12:43:32 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38276 * lib/resolv.rb (Config.default_config_hash): when multiple domains
38277 are set, Win32::Resolv.get_resolv_info returns Array.
38279 Sun Aug 22 16:27:38 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38281 * ext/openssl/ossl_ssl.c (ossl_ssl_read):
38282 - should return an empty string if specified length to read is 0.
38283 - should check for pending data and wait for fd before reading.
38284 - call underlying IO's sysread if SSL session is not started.
38285 [ruby-dev:24072], [ruby-dev:24075]
38287 * ext/openssl/ossl_ssl.c (ossl_ssl_write):
38288 - call underlying IO's syswrite if SSL session is not started.
38290 * ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method
38291 OpenSSL::SSL#pending.
38293 * ext/openssl/lib/openssl/buffering.rb: should not use select.
38295 Sun Aug 22 01:10:36 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38297 * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
38298 should call :ProxyContentHandler before finishing CONNECT.
38300 Sat Aug 21 06:41:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38302 * ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.
38304 * lib/mkmf.rb (arg_config, with_config): deal with '-' and '_'
38305 uniformly. [ruby-dev:24118]
38307 Fri Aug 20 14:49:42 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38309 * io.c (rb_io_check_writable): no need to check read buffer if
38310 already changed to write mode.
38312 Fri Aug 20 11:46:43 2004 UENO Katsuhiro <katsu@blue.sky.or.jp>
38314 * ext/zlib/zlib.c: GzipReader#ungetc caused crc error.
38316 Thu Aug 19 16:29:45 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38318 * ext/tk/lib/tk.rb: Fail to treat a hash value of 'font' option.
38320 * ext/tk/lib/tk.rb: bindinfo cannot return '%' substiturion infomation.
38322 * ext/tk/lib/menu.rb: typo bug.
38324 Thu Aug 19 15:15:24 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38326 * dir.c (free_dir): fix memory leak. reported by yamamoto
38329 Thu Aug 19 09:19:27 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38331 * configure.in, win32/Makefile.sub (LIBS): need to link shell32
38332 library for SH* functions on mswin32 and mingw32.
38334 * wince/Makefile.sub (LIBS): need to link ceshell library for SH*
38335 functions on mswince.
38337 Thu Aug 19 03:07:00 2004 why the lucky stiff <why@ruby-lang.org>
38339 * lib/yaml/baseemitter.rb: folding now handles double-quoted strings,
38340 fixed problem with extra line feeds at end of folding, whitespace
38341 opening scalar blocks.
38343 * lib/yaml/rubytypes.rb: subtelties in handling strings with
38344 non-printable characters and odd whitespace patterns.
38346 Wed Aug 18 23:44:20 2004 Minero Aoki <aamine@loveruby.net>
38348 * lib/net/protocol.rb (rbuf_fill): OpenSSL::SSLSocket has its own
38349 buffer, select(2) might not work. [ruby-dev:24072]
38351 Wed Aug 18 17:10:12 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38353 * ext/tcltklib/stubs.c (ruby_tcltk_stubs): need to call
38354 Tcl_FindExecutable() for Tcl/Tk 8.4.
38356 Wed Aug 18 12:52:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38358 * eval.c (rb_obj_instance_eval): evaluates under special singleton
38359 classes as for special constants.
38361 Wed Aug 18 11:22:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38363 * win32/win32.c (init_env): initialize HOME and USER environment
38364 variables unless set.
38366 Wed Aug 18 10:17:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38368 * eval.c (bind_eval): new method. [RCR 251]
38370 * string.c (rb_str_clear): new method. [ruby-dev:24104]
38372 Tue Aug 17 17:20:59 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38374 * io.c (rb_io_reopen): should clear allocated OpenFile. pointed
38375 out by Guy Decoux. [ruby-core:03288]
38377 Tue Aug 17 01:36:32 2004 Dave Thomas <dave@pragprog.com>
38379 * lib/rdoc/usage.rb: Remove extra indent. Tidy 'ri' option
38380 parsing so RDoc::usage plays better with OptionParser.
38382 Sat Aug 14 02:48:16 2004 Dave Thomas <dave@pragprog.com>
38384 * lib/rdoc/usage.rb: Added. Allows command line programs
38385 to report usage using their initial RDoc comment.
38387 Sat Aug 14 01:25:48 2004 why the lucky stiff <why@ruby-lang.org>
38389 * ext/syck/token.c: re2c no longer compiled with bit vectors. caused
38390 problems for non-ascii characters. [ruby-core:03280]
38391 * ext/syck/implicit.c: ditto.
38392 * ext/syck/bytecode.c: ditto.
38394 Fri Aug 13 12:55:20 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38396 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header):
38397 fix regex for range-spec.
38399 * lib/webrick/httpservlet/filehandler.rb
38400 (WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content):
38401 multipart/byteranges response was broken.
38403 * lib/xmlrpc/server.rb: refine example code.
38405 Thu Aug 12 10:54:17 2004 NAKAMURA Usaku <usa@ruby-lang.org>
38407 * rubyio.h (rb_eof_error): should mark as NORETURN.
38409 * win32/win32.c (make_cmdvector): adjust escaped successive
38410 double-quote handling.
38412 Thu Aug 12 01:53:10 2004 Tanaka Akira <akr@m17n.org>
38414 * io.c (read_buffered_data): extracted from rb_io_fread.
38415 (io_readpartial): new method IO#readpartial.
38418 Wed Aug 11 17:17:50 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38420 * configure.in (RPATHFLAG): stop setting RPATHFLAG on Interix.
38422 Mon Aug 9 15:03:20 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38424 * lib/webrick/httpservlet/erbhandler.rb
38425 (WEBrick::HTTPServlet::ERBHandler#do_GET): should select media type
38426 by suffix of script filename.
38428 Mon Aug 9 12:51:43 2004 Dave Thomas <dave@pragprog.com>
38430 * dir.c (dir_s_glob): Roll in Austin Ziegler's Dir.glob and
38433 Mon Aug 9 06:33:06 2004 Minero Aoki <aamine@loveruby.net>
38435 * lib/fileutils.rb (cp_r): copies symlink to symlink, except
38436 root entries of cp_r.
38438 * lib/fileutils.rb: new method FileUtils.copy_entry.
38440 * test/fileutils/test_fileutils.rb: more cp_r tests.
38442 Sun Aug 8 00:43:31 2004 why the lucky stiff <why@ruby-lang.org>
38444 * lib/implicit.c: added sexagecimal float#base60.
38446 * ext/syck/rubyext.c (yaml_org_handler): ditto.
38448 * lib/token.c: indentation absolutely ignored when processing flow
38449 collections. plain scalars are trimmed if indentation follows in
38450 an ambiguous flow collection.
38452 Sat Aug 7 03:08:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38454 * process.c (proc_daemon): new method. should be modified for
38455 platforms without /dev/null.
38457 Sat Aug 7 00:50:01 2004 Tanaka Akira <akr@m17n.org>
38459 * ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.
38461 Wed Aug 4 13:26:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38463 * marshal.c (r_bytes0): optimize out read(0). [ruby-talk:108276]
38465 Tue Aug 3 13:49:12 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38467 * ext/tk/lib/tk/namespace.rb: bug fix
38469 * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: add Tk::TreeCtrl.loupe
38471 Mon Aug 2 23:33:48 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38473 * test/ruby/test_file.rb (test_fnmatch): added more tests.
38475 Mon Aug 2 18:04:21 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38477 * ext/tk/lib/tk/msgcat.rb (set_translation): bug fix (fail to set
38478 trans_str to the same as src_str when trans_str is not given.)
38480 Mon Aug 2 17:40:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38482 * eval.c (blk_free): fixed serious memory leak. [ruby-dev:24013]
38484 Mon Aug 2 11:53:06 2004 Dave Thomas <dave@pragprog.com>
38486 * lib/rdoc/code_objects.rb (RDoc::Context::find_symbol): Fix infinite recursion
38487 looking up some top level symbols (batsman)
38489 Mon Aug 2 11:48:29 2004 Dave Thomas <dave@pragprog.com>
38491 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): Allow '.'s in
38492 variable names to support SWIG generated files (Hans Fugal)
38494 Sat Jul 31 23:08:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38496 * eval.c (is_defined): stupid mistakes fixed. [ruby-dev:24006]
38498 Sat Jul 31 17:39:47 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38500 * misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial,
38501 ruby-calculate-indent, ruby-move-to-block, ruby-forward-sexp,
38502 ruby-backward-sexp): keywords must match word-wise.
38504 Sat Jul 31 13:37:51 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38506 * eval.c (is_defined): avoid unnecessary method invocations.
38508 Sat Jul 31 05:35:37 2004 why the lucky stiff <why@ruby-lang.org>
38510 * lib/yaml/rubytypes.rb: exceptions were using an older
38511 YAML.object_maker. [ruby-core:03080]
38513 * ext/syck/token.c (sycklex_yaml_utf8): using newline_len to
38514 handline CR-LFs. "\000" was showing up on folded blocks which
38517 Sat Jul 31 01:25:11 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38519 * eval.c (is_defined): call is_defined() before invoking
38520 rb_eval(). [ruby-talk:107867]
38522 Fri Jul 30 16:10:54 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38524 * ext/tcltklib/tcltklib.c (lib_fromUTF8_core): raise ArgumentError when
38525 the unknown encoding name is given.
38527 * ext/tcltklib/tcltklib.c (lib_toUTF8_core): ditto.
38529 * ext/tk/lib/tk.rb (Tk::Encoding.encoding_convertfrom): bug fix.
38531 * ext/tk/lib/tk.rb (Tk::Encoding.encoding_convertto): ditto.
38533 Wed Jul 28 18:59:17 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38535 * lib/cgi.rb (CGI::initialize): remove at_exit code for CGI_PARAMS
38536 and CGI_COOKIES. they will no longer be used.
38538 Wed Jul 28 15:44:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38540 * eval.c (rb_call0): should call rb_call_super() directly for
38541 visibility overriding. [ruby-dev:23989]
38543 Wed Jul 28 01:04:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38545 * env.h: remove argv from ruby_frame.
38547 * eval.c (rb_eval): no more copy on write.
38549 * eval.c (assign): ditto.
38551 * eval.c (rb_call0): can receive *rest by specifying negative
38552 argc. (-1 means 0 arg and *rest, -2 means 1 arg and *rest...)
38554 * eval.c (rb_call0): properly set frame's argc counter.
38556 * gc.c (rb_gc_mark_frame): need not to mark frame's argv
38558 * gc.c (run_final): wrong order of data. [ruby-dev:23984]
38560 Tue Jul 27 07:05:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38562 * eval.c (rb_eval): copy on write for argument local variable
38565 * eval.c (assign): ditto.
38567 * eval.c (rb_call0): update ruby_frame->argv with the default
38568 value used for the optional arguments.
38570 * object.c (Init_Object): "===" calls rb_obj_equal() directly.
38573 Mon Jul 26 11:22:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38575 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): should
38578 Sun Jul 25 10:56:28 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38580 * win32/win32.{h,c} (rb_w32_{f,fd,fs}open): workaround for bcc32's
38581 {f,fd,fs}open bug. set errno EMFILE and EBADF. [ruby-dev:23963]
38583 * test/drb/drbtest.rb: fix method duplication.
38585 Sat Jul 24 13:32:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38587 * range.c (rb_range_beg_len): returns Qnil only when "beg" points
38588 outside of a range. No boundary check for "end".
38590 Fri Jul 23 16:40:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38592 * gc.c (define_final): should not disclose NODE* to Ruby world.
38595 Fri Jul 23 08:52:22 2004 Shugo Maeda <shugo@ruby-lang.org>
38597 * lib/net/imap.rb (disconnected?): new method.
38599 Thu Jul 22 16:41:54 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38601 * lib/cgi/session.rb (CGI::Session::FileStore#update): sets the
38602 permission of the session data file to 0600.
38604 * lib/cgi/session/pstore.rb (CGI::Session::Pstore#initialize):
38607 Mon Jul 19 00:53:46 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38609 * lib/webrick/httpservlet/cgihandler.rb
38610 (WEBrick::HTTPServlet::CGIhandler#do_GET): set SystemRoot environment
38611 variable to CGI process on Windows native platforms. [ruby-dev:23936]
38613 Sun Jul 18 16:14:29 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38615 * ext/tk/lib/tk/msgcat.rb (TkMsgCatalog.callback): bug fix
38616 ( wrong number of argument )
38618 Sun Jul 18 08:13:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38620 * sprintf.c (rb_f_sprintf): remove extra sign digit.
38622 Sun Jul 18 03:19:14 2004 Akinori MUSHA <knu@iDaemons.org>
38624 * dir.c (bracket): use NULL instead of 0.
38626 Sun Jul 18 02:35:30 2004 Shugo Maeda <shugo@ruby-lang.org>
38628 * lib/net/imap.rb (receive_responses): return if a LOGOUT response
38631 Sat Jul 17 23:59:01 2004 Shugo Maeda <shugo@ruby-lang.org>
38633 * lib/net/imap.rb (send_string_data): wait command continuation
38634 requests before sending octet data of literals.
38636 Sat Jul 17 23:54:59 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38638 * ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable object
38640 Sat Jul 17 22:04:44 2004 akira yamada <akira@ruby-lang.org>
38642 * lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.
38644 Sat Jul 17 18:29:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38646 * parse.y (stmt): not to show same error messages twice.
38648 Sat Jul 17 14:18:11 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38650 * string.c (rb_str_match_m): String#match should also take
38651 optional argument. [ruby-core:03205]
38653 * re.c (rb_reg_match_m): add optional second argugment "pos" to
38654 specify match start point. [ruby-core:03203]
38656 Sat Jul 17 13:13:32 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38658 * lib/irb/ruby-lex.rb (RubyLex::identify_string): %s string do not
38659 process expression interpolation. [ruby-talk:106691]
38661 Sat Jul 17 05:26:27 2004 Dave Thomas <dave@pragprog.com>
38663 * lib/rdoc/diagram.rb: Incorporate Micheal Neumann's
38664 client-side imagemao patch
38666 Sat Jul 17 01:57:03 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38668 * eval.c (THREAD_ALLOC): th->thread should be initialized to NULL.
38669 [ruby-talk:106657] The solution was found by Guy Decoux.
38671 Fri Jul 16 22:30:28 2004 Michael Neumann <mneumann@ntecs.de>
38673 * file.c (rb_stat_dev_major): new methods File::Stat#dev_major and
38674 #dev_minor. [ruby-core:03195]
38676 Fri Jul 16 11:17:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38678 * error.c (exit_initialize): use EXIT_SUCCESS instead of 0.
38681 * error.c (exit_success_p): new method SystemExit#success?.
38684 * error.c (syserr_initialize): initialization for subclasses.
38687 Thu Jul 15 23:53:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38689 * lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exception
38690 no longer has to_str method.
38692 Thu Jul 15 22:59:48 2004 Shugo Maeda <shugo@ruby-lang.org>
38694 * ext/readline/extconf.rb: added dir_config for curses, ncurses,
38697 Thu Jul 15 20:44:46 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38699 * class.c: rdoc patch
38701 Thu Jul 15 14:12:34 2004 why the lucky stiff <why@ruby-lang.org>
38703 * lib/yaml.rb (YAML::load_file, YAML::parse_file): added.
38705 * ext/syck/token.c: re2c compiled with bit vectors now.
38706 * ext/syck/implicit.c: ditto.
38707 * ext/syck/bytecode.c: ditto.
38709 Thu Jul 15 10:15:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38711 * ext/tk/, ext/tcltklib/: bug fix
38713 * ext/tk/lib/tk.rb: better operation for SIGINT when processing
38715 * ext/tk/lib/tk/msgcat.rb: ditto.
38716 * ext/tk/lib/tk/variable.rb: ditto.
38717 * ext/tk/lib/tk/timer.rb: ditto.
38719 * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd
38720 to define validatecommand methods easier
38722 * ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext
38725 * ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type
38726 check for items (e.g. canvas items; depends on the class) to
38727 avoid some troubles on Tk extension widget class definition.
38729 * ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support
38731 * ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable
38734 Wed Jul 14 23:49:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
38736 * enum.c (enum_min_by): new method Enum#min_by. added Enum#max_by
38739 Wed Jul 14 18:05:21 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38741 * ext/openssl/ossl_asn1.c (ossl_asn1cons_to_der): fix type of
38742 argument. [ruby-dev:23891]
38744 * test/openssl/test_x509store.rb: prune tests for CRL checking
38745 unless X509::V_FLAG_CRL_CHECK is defined.
38747 Wed Jul 14 12:20:05 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38749 * util.c (ruby_strtod): should not convert string in the form of
38750 "-I.FE-X" which both "I" and "F" are ommitted. [ruby-dev:23883]
38752 * test/ruby/test_float.rb (test_strtod): add test for bug fix.
38754 Wed Jul 14 00:33:48 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38756 * array.c: rdoc patch. merged patch from Johan Holmberg
38757 <holmberg@iar.se> [ruby-core:3170]
38759 Tue Jul 13 19:39:12 2004 akira yamada <akira@ruby-lang.org>
38761 * lib/uri/generic.rb (URI::Generic#merge_path):
38762 "URI('http://www.example.com/foo/..') + './'" should return
38763 "URI('http://www.example.com/')". [ruby-list:39838]
38764 "URI('http://www.example.com/') + './foo/bar/..'" should return
38765 "URI('http://www.example.com/foo/')". [ruby-list:39844]
38767 * test/uri/test_generic.rb (TestGeneric#test_merge): added tests.
38769 Tue Jul 13 15:48:56 2004 Akinori MUSHA <knu@iDaemons.org>
38771 * lib/mkmf.rb (init_mkmf): Do not add $(libdir) to $LIBPATH in
38774 * lib/mkmf.rb (dir_config): Prepend a new library path instead of
38775 appending so it is tried first.
38777 Tue Jul 13 00:50:48 2004 Dave Thomas <dave@pragprog.com>
38779 * lib/rdoc/parsers/parse_rb.rb: Support call-seq: for Ruby files.
38781 Mon Jul 12 21:20:51 2004 Dave Thomas <dave@pragprog.com>
38783 * html_generator.rb: Support hyperlinks of the form {any text}[xxx]
38784 as well as stuff[xxx]
38786 Sat Jul 10 09:30:24 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
38788 * test/soap/marshal/test_struct.rb: use qualified built-in class name
38789 (::Struct) to avoid name crash.
38791 Sat Jul 10 04:21:56 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38793 * ext/tk/lib/tk.rb: better operation for SIGINT when processing
38795 * ext/tk/lib/tk/msgcat.rb: ditto.
38796 * ext/tk/lib/tk/variable.rb: ditto.
38797 * ext/tk/lib/tk/timer.rb: ditto.
38799 * ext/tk/lib/tk/validation.rb (__def_validcmd): add a module
38800 function of Tk::ValidateConfigure to define validatecommand
38803 Fri Jul 9 22:18:59 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38805 * array.c, enum.c, pack.c: rdoc patch from Johan Holmberg
38806 <holmberg@iar.se> [ruby-core:3132] [ruby-core:3136]
38808 * numeric.c: rdoc patch.
38810 Fri Jul 9 19:26:39 2004 Tanaka Akira <akr@m17n.org>
38812 * lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to
38813 notice https is not supported.
38815 Fri Jul 9 14:28:54 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38817 * eval.c (rb_thread_raise): accept third argument as well as
38818 Kernel#raise, and evaluate the arguments to create an exception in
38819 the caller's context. [ruby-talk:105507]
38821 Fri Jul 9 01:47:08 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38823 * ext/tk/lib: bug fix
38824 * ext/tk/lib/tkextlib/itcl: add [incr Tcl] support
38825 * ext/tk/lib/tkextlib/itk: add [incr Tk] support
38826 * ext/tk/lib/tkextlib/iwidgets: midway point of [incr Widgets] support
38827 * ext/tk/sample/tkextlib/iwidgets: very simple examples of
38830 Thu Jul 8 19:27:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38832 * configure.in (rb_cv_stack_end_address): detect stack end address
38833 variable supplied by system. [ruby-core:03115]
38835 * gc.c (Init_stack): use system provided address if possible.
38837 Thu Jul 8 00:05:23 2004 akira yamada <akira@ruby-lang.org>
38839 * lib/tempfile.rb (Tempfile::initialize): got out code of
38840 generating tmpname. [ruby-dev:23832][ruby-dev:23837]
38842 Wed Jul 7 02:31:41 2004 Kouhei Sutou <kou@cozmixng.org>
38844 * lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0
38845 validation and validation which disregard order of elements.
38846 * test/rss/test_parser.rb: added tests for RSS 0.9x/2.0
38848 * test/rss/{test_trackback,rss-testcase}.rb: fixed no good method
38851 Wed Jul 7 00:48:34 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38853 * ext/tk/lib/tkextlib/tktrans.rb,
38854 ext/tk/lib/tkextlib/treectrl.rb: fix syntax errors.
38856 Tue Jul 6 18:38:45 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38858 * ext/tk/lib: improve framework of developping Tcl/Tk extension
38861 Mon Jul 5 23:56:42 2004 Kouhei Sutou <kou@cozmixng.org>
38863 * lib/rss/{trackback,syndication,dublincore,content}.rb: worked
38864 with ruby 1.6 again.
38866 * test/rss/rss-assertions.rb: ditto.
38868 Mon Jul 5 22:54:39 2004 Tanaka Akira <akr@m17n.org>
38870 * lib/uri/common.rb (Kernel#URI): new global method for parsing URIs.
38872 Mon Jul 5 09:02:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38874 * eval.c (rb_thread_yield, rb_f_catch): 4th argument to rb_yield_0()
38875 is a set of bit flags. [ruby-dev:23859]
38877 Mon Jul 5 01:20:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
38879 * lib/drb/drb.rb(DRbConn self.open): If socket pool is full, close
38880 the socket whose last-access-time is oldest. (and add new one)
38883 Sun Jul 4 12:24:50 2004 Kouhei Sutou <kou@cozmixng.org>
38885 * lib/rss/rss.rb: added copyright header.
38887 Sat Jul 3 22:25:27 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
38890 * lib/soap/header/*
38891 * lib/soap/rpc/httpserver.rb
38892 * lib/wsdl/soap/cgiStubCreator.rb
38893 * lib/wsdl/soap/classDefCreator.rb
38894 * lib/wsdl/soap/classDefCreatorSupport.rb
38895 * lib/wsdl/soap/clientSkeltonCreator.rb
38896 * lib/wsdl/soap/driverCreator.rb
38897 * lib/wsdl/soap/mappingRegistryCreator.rb
38898 * lib/wsdl/soap/methodDefCreator.rb
38899 * lib/wsdl/soap/servantSkeltonCreator.rb
38900 * lib/wsdl/soap/standaloneServerStubCreator.rb
38901 * lib/wsdl/xmlSchema/enumeration.rb
38902 * lib/wsdl/xmlSchema/simpleRestriction.rb
38903 * lib/wsdl/xmlSchema/simpleType.rb
38904 * lib/xsd/codegen/*
38905 * lib/xsd/codegen.rb
38906 * sample/soap/authheader/*
38907 * sample/soap/raa2.4/*
38908 * sample/soap/ssl/*
38909 * sample/soap/swa/*
38910 * sample/soap/whois.rb
38911 * sample/wsdl/raa2.4/*
38912 * test/soap/header/*
38914 * test/soap/struct/*
38916 * test/soap/wsdlDriver/*
38917 * test/wsdl/multiplefault.wsdl
38918 * test/wsdl/simpletype/*
38919 * test/wsdl/test_multiplefault.rb
38922 * lib/soap/baseData.rb
38923 * lib/soap/element.rb
38924 * lib/soap/generator.rb
38925 * lib/soap/netHttpClient.rb
38926 * lib/soap/parser.rb
38927 * lib/soap/property.rb
38929 * lib/soap/streamHandler.rb
38930 * lib/soap/wsdlDriver.rb
38931 * lib/soap/encodingstyle/handler.rb
38932 * lib/soap/encodingstyle/literalHandler.rb
38933 * lib/soap/encodingstyle/soapHandler.rb
38934 * lib/soap/mapping/factory.rb
38935 * lib/soap/mapping/mapping.rb
38936 * lib/soap/mapping/registry.rb
38937 * lib/soap/mapping/rubytypeFactory.rb
38938 * lib/soap/mapping/wsdlRegistry.rb
38939 * lib/soap/rpc/cgistub.rb
38940 * lib/soap/rpc/driver.rb
38941 * lib/soap/rpc/proxy.rb
38942 * lib/soap/rpc/router.rb
38943 * lib/soap/rpc/soaplet.rb
38944 * lib/soap/rpc/standaloneServer.rb
38946 * lib/wsdl/definitions.rb
38947 * lib/wsdl/operation.rb
38948 * lib/wsdl/parser.rb
38949 * lib/wsdl/soap/definitions.rb
38950 * lib/wsdl/xmlSchema/complexContent.rb
38951 * lib/wsdl/xmlSchema/complexType.rb
38952 * lib/wsdl/xmlSchema/data.rb
38953 * lib/wsdl/xmlSchema/parser.rb
38954 * lib/wsdl/xmlSchema/schema.rb
38955 * lib/xsd/datatypes.rb
38957 * sample/soap/sampleStruct/server.rb
38958 * sample/wsdl/amazon/AmazonSearch.rb
38959 * sample/wsdl/amazon/AmazonSearchDriver.rb
38960 * test/soap/test_property.rb
38961 * test/soap/calc/test_calc_cgi.rb
38962 * test/wsdl/test_emptycomplextype.rb
38965 * add SOAP Header mustUnderstand support.
38967 * add HTTP client SSL configuration and Cookies support (works
38968 completely with http-access2).
38970 * add header handler for handling sending/receiving SOAP Header.
38972 * map Ruby's anonymous Struct to common SOAP Struct in SOAP Object
38973 Model. it caused error.
38975 * add WSDL simpleType support to restrict lexical value space.
38977 Sat Jul 3 17:19:44 2004 WATANABE Hirofumi <eban@ruby-lang.org>
38979 * ext/tk/lib/tkextlib/tkDND.rb: fix syntax error.
38981 Thu Jul 1 18:36:08 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
38983 * ext/tk/lib/tcltklib: bug fix
38985 * ext/tk/lib/tk: bug fix and add Tcl/Tk extension support libraries
38987 Thu Jul 1 18:31:31 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
38989 * lib/pstore.rb (PStore#transaction): get rid of opening in write mode
38990 when read only transaction. [ruby-dev:23842]
38992 Thu Jul 1 00:44:42 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
38994 * ext/openssl/ossl_cipher.c (ossl_cipher_encrypt, ossl_cipher_decrypt):
38995 re-implemnt (the arguments for this method is ).
38997 * ext/openssl/ossl_cipher.c (ossl_cipher_pkcs5_keyivgen): new method
38998 OpenSSL::Cipher::Cipher#pkcs5_keyivgen. it calls EVP_BytesToKey().
39000 * ext/openssl/ossl_cipher.c (ossl_cipher_set_key_length): new method
39001 OpenSSL::Cipher::Cipher#key_len=.
39003 Wed Jun 30 19:48:09 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39005 * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,
39006 EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex,
39007 EVP_DigestFinal_ex and EVP_DigestInit_ex.
39009 * ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function.
39011 * ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex,
39012 EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for
39015 * ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize,
39016 ossl_cipher_copy, ossl_cipher_reset, ossl_cipher_encrypt,
39017 ossl_cipher_decrypt, ossl_cipher_final, ossl_cipher_set_key,
39018 ossl_cipher_set_iv): replace all EVP_CipherInit and
39019 EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex.
39020 and EVP_CIPHER_CTX_init should only be called once.
39022 * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): check for
39023 EVP_CIPHER_CTX_set_padding.
39025 * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Cipher#<< is deprecated.
39027 * ext/openssl/ossl_digest.c: replace all EVP_DigestInit and
39028 EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex.
39029 and EVP_MD_CTX_init should only be called once.
39031 * ext/openssl/ossl_digest.c (digest_final): should call
39032 EVP_MD_CTX_cleanup to avoid memory leak.
39034 * ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init
39035 into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc.
39037 * ext/openssl/ossl_hmac.c (hmac_final): should call
39038 HMAC_CTX_cleanup to avoid memory leak.
39040 * test/openssl/test_cipher.rb, test/openssl/test_digest.rb,
39041 test/openssl/test_hmac.rb: new file.
39043 Wed Jun 30 16:59:39 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39045 * test/ruby/test_file.rb (test_fnmatch): some tests for File.fnmatch
39048 Wed Jun 30 11:38:51 2004 Mikael Brockman <phubuh@phubuh.org>
39050 * parse.y (primary): should not be NULL. [ruby-core:03098]
39052 Wed Jun 30 02:41:10 2004 why the lucky stiff <why@ruby-lang.org>
39054 * ext/syck/rubyext.c (syck_emitter_new): set buffer after
39055 Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835]
39057 Tue Jun 29 10:31:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39059 * eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.
39061 * gc.c (define_final, run_final): preserve and restore safe level for
39062 finalizers. [ruby-core:03058]
39064 * signal.c (signal_exec, rb_trap_exit, trap): preserve and restore
39065 safe level for signal handlers. [ruby-dev:23829]
39067 Mon Jun 28 14:57:56 2004 Jeff Mitchell <quixoticsycophant@yahoo.com>
39069 * configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due to
39070 DOSISH compilers. [ruby-core:03107]
39072 Mon Jun 28 00:35:29 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
39074 * sample/drb/*.rb: using 'DRb.thread.join' instead of 'gets'
39076 Sun Jun 27 22:36:47 2004 Kouhei Sutou <kou@cozmixng.org>
39078 * sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.
39080 Sat Jun 26 15:17:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39082 * variable.c (rb_mod_class_variables): class variables are no longer
39083 inherited. [ruby-dev:23808]
39085 Sat Jun 26 11:07:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39087 * configure.in (aix): -b must come at the start of the command line,
39088 and -e must not appear while testing libraries. [ruby-talk:104501]
39090 * lib/mkmf.rb (find_header, dir_config): quote directory names if
39091 necessary. [ruby-talk:104505]
39093 Sat Jun 26 00:13:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39095 * io.c (rb_fopen, rb_fdopen, rb_io_reopen): setvbuf() may return
39096 positive value on failure. [ruby-dev:23792]
39098 Fri Jun 25 18:07:15 2004 Michal Rokos <michal@ruby-lang.org>
39100 * gc.c: bring back _stklen for DJGPP [ruby-core:3084]
39102 Fri Jun 25 15:33:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39104 * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]
39106 Fri Jun 25 01:58:01 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39108 * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
39109 including version.h. [ruby-talk:104456]
39111 Thu Jun 24 14:23:29 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39113 * io.c (rb_io_fread): return already read data when system call is
39114 interrupted. [ruby-talk:97206]
39116 Thu Jun 24 01:25:21 2004 Shugo Maeda <shugo@ruby-lang.org>
39118 * version.h: added declarations of ruby_version,
39119 ruby_release_date, ruby_platform.
39121 Thu Jun 24 01:07:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39123 * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()
39124 should give us packed address, not struct sockaddr.
39127 Wed Jun 23 22:19:10 2004 Dave Thomas <dave@pragprog.com>
39129 * ext/socket/socket.c (sock_s_gethostbyaddr): Work around problem
39130 with OS X not returning 'from' parameter to recvfrom for
39131 connection-oriented sockets.
39133 Wed Jun 23 22:16:16 2004 Michal Rokos <michal@ruby-lang.org>
39135 * io.c: io_seek()'s retval should be checked [ruby-core:03045]
39137 Wed Jun 23 21:48:27 2004 Michal Rokos <michal@ruby-lang.org>
39139 * time.c: Fix indentation.
39141 * main.c: Remove _stklen, and _CRT_glob. Move _stacksize for
39142 __human68k__ to gc.c where the others are.
39144 * gc.c: put _stacksize in place and clean the #ifdefs macros.
39146 Wed Jun 23 17:37:54 2004 Shugo Maeda <shugo@ruby-lang.org>
39148 * lib/net/imap.rb: added new option --ssl.
39150 Wed Jun 23 01:45:27 2004 Dave Thomas <dave@pragprog.com>
39152 * lib/rdoc/parsers/parse_rb.rb (RubyLex::identify_quotation):
39153 Fix problem with the 'r' being dropped from %r{xxx}
39155 Wed Jun 23 00:10:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39157 * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing
39158 CRs and LFs. (doesn't depend on CR+LF) [ruby-dev:23749]
39160 Wed Jun 23 00:00:25 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39162 * eval.c (return_jump, break_jump): raise unexpected local jump
39163 exception directly. [ruby-dev:23740]
39165 * io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]
39167 Tue Jun 22 23:35:43 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39169 * sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.
39171 * test/ruby/test_sprintf.rb (test_nan, test_inf): add tests.
39173 Tue Jun 22 21:11:36 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
39175 * ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-
39178 * ext/win32ole/win32ole.c (ole_event_free): ditto.
39180 * ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message
39183 Tue Jun 22 19:24:59 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39185 * sprintf.c (rb_f_sprintf): unify output of NaN, Inf and -Inf with
39186 "%f" or etc on all platform. [ruby-dev:23704], [ruby-dev:23747]
39188 Tue Jun 22 15:28:12 2004 Michal Rokos <michal@ruby-lang.org>
39190 * compar.c: Remove explicit NIL_P() checks since rb_cmpint() does it
39191 again in the exactly same manner.
39193 Tue Jun 22 01:32:40 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39195 * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create
39196 empty pkey object if no argument is passed. [ruby-talk:103328]
39198 * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
39200 * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto.
39202 * ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p,
39203 OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=,
39204 OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=,
39205 OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=.
39207 * ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p,
39208 OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=,
39209 OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=,
39210 OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=,
39211 OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=.
39213 Mon Jun 21 09:24:51 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39215 * win32/win32.c (rb_w32_opendir): should set errno if error occurs
39216 when calling OS API.
39218 Sun Jun 20 21:12:54 2004 Shugo Maeda <shugo@ruby-lang.org>
39220 * lib/net/ftp.rb (binary=): send TYPE commands only once.
39222 Sat Jun 19 13:27:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39224 * eval.c (method_call): allow changing $SAFE. [ruby-dev:23713]
39226 * eval.c (proc_set_safe_level, proc_invoke, rb_mod_define_method): not
39227 set $SAFE for methods defined from Proc. [ruby-dev:23697]
39229 Sat Jun 19 01:10:12 2004 Kouhei Sutou <kou@cozmixng.org>
39231 * sample/rss/tdiary_plugin/rss-recent.rb: added more information.
39233 Fri Jun 18 23:12:22 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39235 * eval.c (proc_save_safe_level, rb_set_safe_level, safe_setter): limit
39238 Wed Jun 16 23:05:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39240 * object.c (rb_mod_freeze): prepare string representation before
39241 freezing. [ruby-talk:103646]
39243 Wed Jun 16 19:57:24 2004 Michal Rokos <michal@ruby-lang.org>
39245 * test/ruby/test_array.rb: extend testcase to check #first, #last,
39246 #shift, #unshift, #pop, #push
39248 Wed Jun 16 16:05:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39250 * array.c (ary_new): move alloc behind checks. [ruby-core:02982]
39252 * array.c (rb_ary_pop_m, rb_ary_shift_m): take arg to behave as push
39255 * array.c (rb_ary_first, rb_ary_last): make shared array for result
39256 array, and correct doc for Array#first(n) and Array#last(n)
39258 * array.c (rb_ary_select): not accept any arg.
39260 Wed Jun 16 16:03:59 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39262 * object.c (rb_class_inherited_p): singleton class inherits Class
39263 rather than its object's class. [ruby-dev:23690]
39265 Wed Jun 16 16:01:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39267 * gc.c (stack_grow_direction): memoize the direction.
39269 * gc.c (Init_stack): should always move to end of VALUE.
39271 Tue Jun 15 12:10:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39273 * ext/tk/lib/tk.rb: bug fix (TkWindow#grab)
39275 Mon Jun 14 18:23:27 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39277 * ext/tk/lib/remote-tk.rb: bug fix
39279 Sun Jun 13 00:23:04 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39281 * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
39283 * ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and
39284 eliminate warning about instance variable access
39286 * ext/tk/lib/tk/menubar.rb: improve supported menu_spec
39288 * ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library
39290 * ext/tk/lib/tk/root.rb: add menu_spec support
39292 * ext/tk/lib/tk/text.rb: bug fix
39294 * ext/tk/lib/tk/toplevel.rb: add menu_spec support
39296 * ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage
39298 Sat Jun 12 14:15:20 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39300 * dir.c: RDOC for File::FNM_CASEFOLD was missed.
39302 Sat Jun 12 11:15:53 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39304 * configure.in (target_os): strip -gnu suffix on Linux.
39306 Fri Jun 11 22:08:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39308 * array.c: remove #indexes, #indices.
39312 * ext/dbm/dbm.c: remove #indexes, #indices, "values_at" warning
39315 * ext/gdbm/gdbm.c: ditto.
39317 * ext/sdbm/init.c: ditto.
39319 * ext/dbm/dbm.c (Init_dbm): set VERSION constant as "unknown" when
39320 DB_VERSION_STRING is not available.
39322 Thu Jun 10 19:19:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39324 * ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().
39327 Wed Jun 9 16:09:01 2004 akira yamada <akira@ruby-lang.org>
39329 * lib/uri/generic.rb (URI::Generic::merge,
39330 URI::Generic::route_from): accepts non-hierarchical URI.
39333 * test/uri/test_generic.rb (TestGeneric::test_route,
39334 TestGeneric::test_merge): added tests for above changes.
39336 Wed Jun 9 15:39:55 2004 Akinori MUSHA <knu@iDaemons.org>
39338 * configure.in: Add support for DragonFly BSD.
39340 Wed Jun 9 15:07:06 2004 Akinori MUSHA <knu@iDaemons.org>
39342 * config.guess, config.sub: Update to a more recent version as of
39345 Wed Jun 9 11:20:05 2004 NAKAMURA Usaku <usa@ruby-lang.org>
39347 * win32/win32.c: remove unused functions and variables.
39349 Wed Jun 2 20:16:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39351 * string.c (str_new4): should share shared instance if it already
39352 exists. [ruby-dev:23665]
39354 Wed Jun 2 12:41:53 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39356 * io.c (rb_io_gets_m): set lastline ($_) even when read line is
39357 nil. [ruby-dev:23663]
39359 Fri May 28 11:20:31 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39361 * eval.c (rb_eval): bad influence on frame node.
39363 * eval.c (eval): reverted wrongly removed condition. [ruby-dev:23638]
39365 Thu May 27 21:37:50 2004 Tanaka Akira <akr@m17n.org>
39367 * lib/pathname.rb (Pathname#initialize): fix pathname initialization
39370 Thu May 27 20:02:09 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39372 * io.c (rb_io_fwrite): check all case errno != 0 [ruby-dev:23648]
39374 Thu May 27 15:54:02 2004 Shugo Maeda <shugo@ruby-lang.org>
39376 * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
39377 Thanks, Rutger Nijlunsing.
39379 Thu May 27 14:53:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39381 * io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.
39382 add errno checking. [ruby-dev:23627]
39384 * io.c (rb_io_fwrite): should check if errno == ENOENT, too.
39386 Thu May 27 11:25:03 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
39388 * test/csv/test_csv.rb: illegal require module name (../lib/csv.rb).
39390 Wed May 26 23:12:13 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
39392 * lib/csv.rb (CSV.read, CSV.readlines): added. works as IO.read and
39393 IO.readlines in CSV format.
39395 * lib/csv.rb (CSV.parse): [CAUTION] behavior changed. in the past,
39396 CSV.parse accepts a filename to be read-opened (it was just a
39397 shortcut of CSV.open(filename, 'r')). now CSV.parse accepts a
39398 string or a stream to be parsed e.g.
39399 CSV.parse("1,2\n3,r") #=> [['1', '2'], ['3', '4']]
39401 * test/csv/test_csv.rb: follow above changes.
39403 Wed May 26 14:19:42 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39405 * eval.c (rb_eval, eval): make line number consistent on eval with
39406 Proc. [ruby-talk:101253]
39408 Wed May 26 13:59:17 2004 Dave Thomas <dave@pragprog.com>
39410 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::skip_for_variable): Allow for
39411 'do' after for statement
39413 Wed May 26 13:56:03 2004 Dave Thomas <dave@pragprog.com>
39415 * lib/rdoc/generators/html_generator.rb (Generators::MarkUp::style_url): Fix
39416 relative path to code CSS file
39418 Wed May 26 13:14:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39420 * io.c (rb_io_init_copy): copy also positions. [ruby-talk:100910]
39422 Wed May 26 00:00:00 2004 why the lucky stiff <why@ruby-lang.org>
39424 * ext/syck/syck.c (syck_new_parser): clear parser on init.
39425 thanks, ts. [ruby-core:02931]
39427 * ext/syck/token.c (sycklex_yaml_utf8): buffer underflow.
39428 thanks, ts. [ruby-core:02929]
39430 * lib/yaml/baseemitter.rb (indent_text): simpler flow block code.
39432 Tue May 25 11:54:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39434 * eval.c (rb_yield_0, proc_invoke, proc_arity): allow passing a block
39435 to a Proc. [ruby-dev:23533]
39437 * parse.y (block_par, block_var): ditto.
39439 Tue May 25 01:50:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39441 * ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):
39442 workaround for the versions earlier than OpenSSL-0.9.7.
39444 Mon May 24 10:46:26 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
39446 * lib/rdoc/generators/template/html/html.rb: SYSTEM identifiers
39447 must be absolute URIs
39449 Sun May 23 04:53:50 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
39451 * lib/pstore.rb (transaction): allow overriding dump and load.
39454 * lib/yaml/store.rb: follow lib/pstore.rb's change.
39456 Sat May 22 11:54:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39458 * MANIFEST: add test/openssl/test_x509store.rb.
39460 * ext/tk/MANIFEST: add recent files.
39462 Sat May 22 05:37:11 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39464 * ext/tk/lib/remote-tk.rb: (NEW library) controll Tk interpreters
39465 on the other processes by Tcl/Tk's 'send' command
39467 Fri May 21 09:22:05 2004 Dave Thomas <dave@pragprog.com>
39469 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_parameters):
39470 Add ()'s around parameters that don't have them
39472 Fri May 21 02:21:11 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
39474 * lib/csv.rb: fixed a few bugs around multi char record/field separator.
39476 * test/csv/test_csv.rb: added boundary test for above feature.
39478 Thu May 20 17:02:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39480 * lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]
39482 * lib/mkmf.rb (create_header): macro name should not include equal
39485 Thu May 20 14:35:52 2004 Tanaka Akira <akr@m17n.org>
39487 * ext/socket/socket.c: check SCM_RIGHTS macro addition to
39488 the msg_control field to test existence of file descriptor passing
39491 Thu May 20 12:38:06 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39493 * numeric.c (flo_eq): always check if operands are NaN.
39496 Thu May 20 12:34:39 2004 Dave Thomas <dave@pragprog.com>
39498 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_visibility):
39499 At Ryan Davis' suggestion, honor visibility modifers if guarded by a
39502 Thu May 20 12:22:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39504 * lib/mkmf.rb (have_type): do not check pointer to incomplete type,
39505 which always get compiled.
39508 Wed May 19 23:45:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39510 * test/inlinetest.rb (InlineTest::loadtest): requiring library with
39511 replaced $0 can make $0 == __FILE__ block be evaluated twice.
39513 * test/ruby/envutil.rb (EnvUtil::rubybin): give priority to
39514 environment variable. [ruby-dev:23538]
39516 Wed May 19 11:08:10 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39518 * ext/tk/lib/tk.rb: change permition of TkObject#tk_send from
39521 Wed May 19 02:29:36 2004 Minero Aoki <aamine@loveruby.net>
39523 * lib/net/http.rb: support TRACE.
39525 Wed May 19 02:21:53 2004 Minero Aoki <aamine@loveruby.net>
39527 * lib/net/http.rb: do not use class variables.
39529 Tue May 18 21:21:43 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
39531 * lib/csv.rb: writes lines with "\n" when row separator is not given.
39532 formerly it was "\r\n".
39534 * lib/csv.rb: [CAUTION] API change
39536 * CSV::Row removed. a row is represented as just an Array. since
39537 CSV::Row was a subclass of Array, it won't hurt almost all programs
39538 except one which depended CSV::Row#match.
39540 * CSV::Cell removed. a cell is represented as just a String or
39541 nil(NULL). this change will cause widespread destruction.
39543 CSV.open("foo.csv", "r") do |row|
39545 if cell.is_null # Cell#is_null
39548 p cell.data # Cell#data
39555 CSV.open("foo.csv", "r") do |row|
39565 * lib/csv.rb: [CAUTION] record separator(CR, LF, CR+LF) behavior
39566 change. CSV.open, CSV.parse, and CSV,generate now do not force
39567 opened file binmode. formerly it set binmode explicitly.
39569 with CSV.open, binmode of opened file depends the given mode
39570 parameter "r", "w", "rb", and "wb". CSV.parse and CSV.generate open
39571 file with "r" and "w".
39573 setting mode properly is user's responsibility now.
39575 * lib/csv.rb: accepts String as a fs (field separator/column separator)
39576 and rs (record separator/row separator)
39578 * lib/csv.rb: added CSV.foreach(path, rs = nil, &block). CSV.foreach
39579 now does not handle "| cmd" as a path different from IO.foreach.
39582 * test/csv/test_csv.rb: updated.
39584 Tue May 18 14:24:20 2004 why the lucky stiff <why@ruby-lang.org>
39586 * lib/yaml.rb: added rdoc to beginning of lib.
39588 Tue May 18 14:00:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39590 * node.h (NEW_DSTR): adjust list length.
39592 * parse.y (literal_concat): ditto.
39594 Tue May 18 09:30:25 2004 SASADA Koichi <ko1@atdot.net>
39596 * eval.c (rb_method_node): search cache entry first.
39598 Mon May 17 16:04:06 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39600 * numeric.c (flo_to_s): it's preferable that "p 0.0" outputs "0.0"
39601 instead of "0.0e+00". [ruby-dev:23480]
39603 * numeric.c (flo_to_s): it's preferable that "p 0.00000000000000000001"
39604 outputs "1.0e-20" instead of "9.999999999999999e-21". (the precision
39605 is considered, but there is assumption DBL_DIG == 15 in current
39608 Mon May 17 10:13:33 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39610 * ext/socket/socket.c (setup_domain_and_type): honor duck typing.
39613 * ext/socket/socket.c (sock_s_getnameinfo): ditto.
39615 Mon May 17 00:36:21 2004 why the lucky stiff <why@ruby-lang.org>
39617 * lib/yaml/baseemitter.rb (indent_text): was forcing a mod value
39618 of zero at times, which kept some blocks from getting indentation.
39620 Mon May 17 00:07:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
39622 * lib/drb/drb.rb: Cosmetic documentation changes.
39624 Sun May 16 20:55:49 2004 Tanaka Akira <akr@m17n.org>
39626 * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
39627 specify an open flag.
39628 (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT
39631 Sat May 15 17:52:24 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39633 * test/ruby/test_float.rb(test_strtod): Add test for signed 0.000...1
39635 Sat May 15 14:20:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39637 * ext/syck/depend: add ruby's headers.
39639 Sat May 15 13:38:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39641 * ext/syck/MANIFEST, ext/syck/depend: new file.
39643 * lib/yaml/rubytypes.rb: range of exponential floats. [ruby-core:02824]
39645 * test/yaml/test_yaml.rb: tests for strings start with colon and some
39648 Sat May 15 12:04:58 2004 why the lucky stiff <why@ruby-lang.org>
39650 * lib/yaml.rb: removed fallback to pure Ruby parser.
39652 * lib/yaml/baseemitter.rb (node_text): rewriting folded scalars.
39654 * ext/syck/syck.h: reports style of scalars now, be they plain, block
39655 single-, or double-quoted.
39657 * ext/syck/syck.c: ditto.
39659 * ext/syck/gram.c: ditto.
39661 * ext/syck/node.c: ditto.
39663 * ext/syck/token.c: ditto.
39665 * ext/syck/rubyext.c (yaml_org_handler): symbols loaded only
39666 if scalar style is plain.
39668 * test/yaml/test_yaml.rb (test_perl_regexp): updated test to
39669 match new regexp serialization.
39671 Sat May 15 01:41:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39673 * eval.c (eval): forgot to restore $SAFE value before evaluating
39674 compiled node. [ruby-core:02872]
39676 Sat May 15 01:33:12 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39678 * range.c (range_each_func): terminates loop if generating value
39679 is same to @end. [ruby-talk:100269]
39681 Fri May 14 22:08:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39683 * string.c (rb_str_new4): should not reuse frozen shared string if
39684 the original is not an instance of String. [ruby-talk:100193]
39686 Fri May 14 21:29:26 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39688 * time.c (time_mdump): preserve GMT bit in the marshal data.
39691 Fri May 14 18:37:49 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39693 * ext/tk/lib/tk/canvas.rb: improve coords support for canvas
39694 items. Now, supports all of the followings.
39695 TkcLine.new(c, 0, 0, 100, 100, :fill=>'red')
39696 TkcLine.new(c, [0, 0, 100, 100], :fill=>'red')
39697 TkcLine.new(c, [0, 0], [100, 100], :fill=>'red')
39698 TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red')
39699 TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red')
39700 TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red')
39702 Fri May 14 13:30:39 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39704 * test/ruby/test_float.rb: Add test for util.c revision 1.42.
39706 Fri May 14 12:13:46 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39708 * util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.
39711 Thu May 13 15:47:30 2004 akira yamada <akira@ruby-lang.org>
39713 * lib/net/telnet.rb (Net::Telnet::login): "options" can specify
39714 regexps for login prompt and/or password prompt.
39716 Thu May 13 14:17:57 2004 why the lucky stiff <why@ruby-lang.org>
39718 * ext/syck/rubyext.c (yaml_org_handler): some empty strings were
39721 Thu May 13 11:04:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39723 * pack.c (pack_pack): always add with null for 'Z'.
39725 * pack.c (pack_unpack): terminated by null for 'Z'. [ruby-talk:98281]
39727 Wed May 12 19:59:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39729 * lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.
39732 Wed May 12 17:41:42 2004 Tanaka Akira <akr@m17n.org>
39734 * lib/resolv.rb (Resolv::DNS::Config): make it configurable without
39735 external file such as /etc/resolv.conf.
39737 Wed May 12 14:37:27 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
39739 * ext/openssl/ossl_x509name.c: attribute value of DC (short name of
39740 domainComponent) should be IA5String.
39742 Wed May 12 13:20:19 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39744 * ext/tk/lib/tk/composite.rb: improve configure methods (based on
39745 the proposal of [ruby-talk:99671]).
39747 Wed May 12 11:51:08 2004 Dave Thomas <dave@pragprog.com>
39749 * class.c (rb_obj_singleton_methods): fix rdoc
39751 Tue May 11 07:09:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39753 * eval.c (is_defined): do not protect exception during receiver
39756 Mon May 10 22:28:14 2004 Minero Aoki <aamine@loveruby.net>
39758 * lib/net/protocol.rb (each_crlf_line): remove junk line.
39760 Mon May 10 21:44:42 2004 Dave Thomas <dave@pragprog.com>
39762 * lib/rdoc/generators/html_generator.rb: Change scheme for
39763 looking up symbols in HTML generator.
39765 Mon May 10 16:45:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39767 * eval.c (eval): warning during eval should not cause deadlock.
39770 * eval.c (rb_eval): raise TypeError exception for superclass
39771 mismatch. [ruby-list:39567]
39773 Mon May 10 12:11:37 2004 Dave Thomas <dave@pragprog.com>
39775 * lib/rdoc/generators/html_generator.rb: Hack to search parents
39776 for unqualified constant names.
39778 Mon May 10 01:18:15 2004 Minero Aoki <aamine@loveruby.net>
39780 * lib/net/pop.rb (logging): append "\n".
39782 Sun May 9 23:38:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
39784 * lib/net/ftp.rb: ported documentation improvement from 1.8 branch
39786 * lib/net/imap.rb: ditto
39788 * lib/net/pop.rb: ditto
39790 * lib/net/smtp.rb: ditto
39792 * lib/net/telnet.rb: ditto
39794 Sun May 9 23:34:51 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
39796 * test/ruby/test_float.rb: added test_strtod to test Float("0").
39798 Sun May 9 13:24:24 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39800 * lib/yaml/store.rb: use FileUtils::copy.
39802 Sun May 9 12:34:26 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
39804 * regex.c: removed unused file.
39806 Sat May 8 10:53:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39808 * io.c (rb_f_open): open should not ignore block when "to_open"
39809 method is used. [ruby-dev:23478]
39811 Fri May 7 22:07:39 2004 Minero Aoki <aamine@loveruby.net>
39813 * lib/fileutils.rb (mv): new option `force'. [ruby-talk:99457]
39815 * lib/fileutils.rb: new method for command option reflection:
39816 FileUtils.commands, .options, .have_option?, .options_of,
39819 * lib/fileutils.rb: module Verbose, NoWrite, DryRun do not have
39820 option flags @fileutils_verbose and @fileutils_noop, they make no
39823 Fri May 7 21:50:21 2004 Dave Thomas <dave@pragprog.com>
39825 * lib/rdoc/parsers/parse_rb.rb (RDoc::parse_include): Allow
39826 multiple arguments to 'include'
39828 Fri May 7 21:03:51 2004 Minero Aoki <aamine@loveruby.net>
39830 * lib/fileutils.rb (fu_list): Array() breaks pathes including "\n".
39833 * test/fileutils/test_fileutils.rb (mkdir): test "\n" in path.
39835 Fri May 7 20:53:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39837 * ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473]
39839 Fri May 7 11:17:27 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39841 * util.c (ruby_strtod): "0.0000000000000000001" should be converted
39842 to 1.0e-19 instead of 0.0. (leading zeros aren't significant digits)
39843 [ruby-talk:99318] [ruby-dev:23465]
39845 Thu May 6 22:27:32 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
39847 * ext/socket/socket.c (ippaddr): use NUMERICHOST if can not resolve
39850 Thu May 6 22:09:29 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39852 * ext/tk/tkutil.c (get_eval_string_core): bug fix. [ruby-dev:23466]
39854 Thu May 6 14:22:29 2004 why the lucky stiff <why@ruby-lang.org>
39856 * lib/yaml/rubytypes.rb (to_yaml): added instance variable handling
39857 for Ranges, Strings, Structs, Regexps.
39859 * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a
39860 String's flow style.
39862 * lib/yaml.rb (YAML::object_maker): now uses Object.allocate.
39864 * ext/syck/gram.c: fixed transfer methods on structs, broke it
39867 Thu May 6 14:38:02 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
39869 * dir.c (rb_push_glob): simplified code (not change behavior)
39871 Thu May 6 13:32:44 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39873 * ext/extmk.rb: get rid of side effect of Config.expand, patched by
39874 <tttt01@infoseek.jp> (ruby-bugs:PR#597)
39876 Thu May 6 11:40:28 2004 Shugo Maeda <shugo@ruby-lang.org>
39878 * lib/net/imap.rb (string): accept NIL.
39880 * lib/net/imap.rb (body_type_basic): allow body-fields omissions.
39882 Thu May 6 01:59:04 2004 Dave Thomas <dave@pragprog.com>
39884 * lib/rdoc/generators/html_generator.rb (Generators::HtmlMethod::params):
39885 Don't include the &block parameter if we have explicit
39888 Wed May 5 03:52:31 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
39890 * lib/rinda/ring.rb: use recv instead of recvfrom.
39892 Wed May 5 00:38:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
39894 * lib/gserver.rb: documented
39895 * lib/xmlrpc/README.txt: introduced for documentation purposes
39897 Mon May 3 09:47:24 2004 Dave Thomas <dave@pragprog.com>
39899 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_or_yield_parameters):
39900 Fix parsing bug if yield called within 1 line block
39902 Sun May 2 21:56:48 2004 Minero Aoki <aamine@loveruby.net>
39904 * test/fileutils/test_fileutils.rb (rm_f, rm_r): test :force flag.
39906 Sun May 2 01:04:38 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
39908 * ext/tcltklib, ext/tk: renewal Ruby/Tk
39910 Fri Apr 30 20:08:41 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39912 * time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
39914 Wed Apr 28 01:26:11 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
39916 * oniguruma.h, regparse.c: imported Oni Guruma 2.2.8.
39918 Wed Apr 28 01:16:23 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
39920 * oniguruma.h, regparse.c: imported Oni Guruma 2.2.7.
39922 Tue Apr 27 14:43:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39924 * common.mk: LIBURUBY_A is needed for extconf.rb even when
39927 Tue Apr 27 13:33:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
39929 * parse.y (string_content): turn off NODE_NEWLINE flag to avoid
39930 unnecessary line trace for inlined expression.
39931 (ruby-bugs PR#1320)
39933 Tue Apr 27 08:15:13 2004 why the lucky stiff <why@ruby-lang.org>
39935 * lib/yaml/rubytypes.rb: passing Range tests.
39937 * ext/syck/syck.h: version 0.44.
39939 * ext/syck/gram.c: transfers no longer open an indentation.
39940 fixed transfers which precede blocks.
39942 * ext/syck/token.c: ditto.
39944 * ext/syck/syck.c: fixed segfault if an anchor has been released already.
39946 * ext/syck/node.c (syck_free_members): organized order of free'd nodes.
39948 * ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with
39951 Mon Apr 26 23:56:54 2004 Daniel Kelley <news-1082945587@dkelley.gmp.san-jose.ca.us>
39953 * README.EXT, README.EXT.ja: fixed wrong function signature.
39956 Mon Apr 26 21:40:09 2004 Dave Thomas <dave@pragprog.com>
39958 * lib/rdoc/code_objects.rb (RDoc::Context::add_alias): Only alias
39959 to instance methods.
39961 Sun Apr 25 18:26:23 2004 WATANABE Hirofumi <eban@ruby-lang.org>
39963 * configure.in (ac_cv_func_fork): set to no on DJGPP.
39965 Sat Apr 24 14:32:03 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
39967 * re.c: applied stack error handling patch. [ruby-dev:23431]
39969 Sat Apr 24 10:38:31 2004 Dave Thomas <dave@pragprog.com>
39971 * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::group_lines):
39972 Fix bug where consecutive headings are merged.
39974 Fri Apr 23 23:24:47 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39976 * lib/mkmf.rb: $hdrdir should not contain macros, for backward
39977 compatibility. [bruby-dev:28]
39979 * lib/mkmf.rb (create_makefile): in the case of extout, just copy
39980 script files, without comparison.
39982 Fri Apr 23 16:38:46 2004 Tanaka Akira <akr@m17n.org>
39984 * lib/pathname.rb: sync taint/freeze flag between
39985 a pathname object and its internal string object.
39987 Fri Apr 23 14:52:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39989 * parse.y (stmt, arg, aref_args): should not make sole splat into
39990 array, in aref_args other than aref with op_asgn.
39992 Fri Apr 23 14:14:38 2004 Tanaka Akira <akr@m17n.org>
39994 * lib/resolv.rb: don't use Regexp#source to embed regexps.
39997 Thu Apr 22 18:25:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
39999 * common.mk, ext/extmk.rb: make ext and .ext get removed by distclean.
40001 Thu Apr 22 10:07:01 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40003 * */Makefile.sub (distclean-local): should remove $(RBCONFIG).
40005 Thu Apr 22 04:17:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40007 * eval.c (rb_mod_define_method): allow binding methods to modules.
40010 * parse.y (aref_args): should pass expanded list. [ruby-core:02793]
40012 Thu Apr 22 01:12:57 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40014 * numeric.c (flo_to_s): tweak output string based to preserve
40015 decimal point and to remove trailing zeros. [ruby-talk:97891]
40017 * string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
40018 search. [ruby-talk:97342]
40020 Wed Apr 21 23:04:42 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
40022 * lib/rinda/rinda.rb, test/rinda/test_rinda.rb: check Hash tuple size.
40024 Wed Apr 21 20:05:00 2004 Tanaka Akira <akr@m17n.org>
40026 * lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.
40029 Wed Apr 21 18:39:46 2004 Minero Aoki <aamine@loveruby.net>
40031 * lib/net/smtp.rb: merge SMTP-TLS patch. This patch is
40032 contributed by Daniel Hob. [ruby-core:02789]
40034 Wed Apr 21 18:23:45 2004 Minero Aoki <aamine@loveruby.net>
40036 * lib/net/smtp.rb: change coding style: def m( a ) -> def m(a).
40038 Wed Apr 21 18:01:47 2004 Minero Aoki <aamine@loveruby.net>
40040 * lib/net/pop.rb: do not use class variables.
40042 * lib/net/pop.rb (do_start): ensure to clean up connection when
40043 authentication failed.
40045 Wed Apr 21 17:23:59 2004 Minero Aoki <aamine@loveruby.net>
40047 * lib/net/http.rb (HTTP#connect): CONNECT must precede SSL connect.
40050 * lib/net/http.rb (HTTP.new): class variables are not inherited
40053 Wed Apr 21 15:56:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40055 * lib/test/unit/ui/console/testrunner.rb (test_started): restore $0
40056 after changing process title. [ruby-talk:97426]
40058 Wed Apr 21 10:18:06 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40060 * process.c(rb_spawn): fix SEGV at "p system('command line here')"
40061 (may happen only in bccwin32) [ruby-dev:23380]
40063 Mon Apr 19 20:58:44 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40065 * dir.c: Updated RDocs.
40067 Mon Apr 19 18:11:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40069 * hash.c (rb_hash_equal): returns true if two hashes have same set
40070 of key-value set. [ruby-talk:97559]
40072 * hash.c (rb_hash_eql): returns true if two hashes are equal and
40073 have same default values.
40075 Mon Apr 19 08:19:11 2004 Doug Kearns <djkea2@mugca.its.monash.edu.au>
40077 * dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
40078 lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
40079 lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
40080 lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
40081 lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
40082 lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
40083 lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
40084 lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
40085 lib/test/unit/testsuite.rb: typo fix.
40087 Mon Apr 19 08:14:18 2004 Dave Thomas <dave@pragprog.com>
40089 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body): Allow for
40090 #ifdef HAVE_PROTOTYPES
40092 Fri Apr 16 17:04:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40094 * string.c (rb_str_equal): always returns true or false, never
40095 returns nil. [ruby-dev:23404]
40097 Fri Apr 16 12:38:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40099 * lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str is
40102 * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple
40103 value class changed.
40105 * lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield):
40108 Fri Apr 16 08:27:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40110 * ext/extmk.rb: skip linking when libraries to be preloaded not
40111 compiled. [ruby-list:39561]
40113 Thu Apr 15 19:57:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40115 * process.c (pst_success_p): new method Process::Status#success?.
40118 * rubytest.rb: do nothing while cross-compiling, return status in
40119 system independent style.
40121 Thu Apr 15 19:26:54 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40123 * dir.c (rb_push_glob): Dir.glob() should return nil if block is given.
40124 (http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=Dir)
40126 * dir.c (push_braces): Dir.glob() should handle '{ }' nested more than
40129 * dir.c (push_braces, rb_push_glob): Dir.glob() should handle escaped
40130 '{' and '}' and ','.
40134 Thu Apr 15 17:12:13 2004 Tanaka Akira <akr@m17n.org>
40136 * ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,
40137 GDBM::WRCREAT and GDBM::NEWDB.
40138 (fgdbm_initialize): use specified read/write flag.
40140 Wed Apr 14 13:06:09 2004 Doug Kearns <djkea2@mugca.its.monash.edu.au>
40142 * array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c,
40143 process.c, re.c, string.c: typos in RDoc comments. [ruby-core:02783]
40145 Wed Apr 14 11:29:56 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40147 * numeric.c (flo_eq): workaround for bcc32's bug.
40148 (ruby-bugs-ja:PR#594)
40150 Wed Apr 14 11:06:38 2004 Dave Thomas <dave@pragprog.com>
40152 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::scan): Changed
40153 behavior of :enddoc: -- it now unconditionally terminates
40154 processing of the current file.
40156 Wed Apr 14 10:57:40 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40158 * defines.h: include <net/socket.h> to get fd_set definition in BeOS.
40160 Tue Apr 13 23:00:55 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
40162 * lib/rinda/rinda.rb: change pattern matching.
40163 a === b -> a == b || a === b. [druby-ja:98]
40165 * test/rinda/test_rinda.rb: ditto.
40167 Tue Apr 13 21:50:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40169 * bcc32/Makefile.sub (PHONY): Borland make disallows empty command
40172 Tue Apr 13 17:55:16 2004 Minero Aoki <aamine@loveruby.net>
40174 * lib/net/http.rb (begin_transport): should not overwrite HTTP
40175 request header. [ruby-list:39543]
40177 Tue Apr 13 16:48:00 2004 Minero Aoki <aamine@loveruby.net>
40179 * lib/net/pop.rb: merge POP3S patch. This patch is contributed by
40182 Tue Apr 13 02:56:29 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
40184 * common.mk: changed the order of ascii.c alphabetically.
40186 Mon Apr 12 19:11:21 2004 Eric Hodel <drbrain@segment7.net>
40188 * gc.c (rb_gc_copy_finalizer): typo. [ruby-core:02774]
40190 Mon Apr 12 18:45:58 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40192 * ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return
40195 Mon Apr 12 10:39:50 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40197 * dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob):
40198 fix memory leak. (leaked when block was interrupted)
40200 Sun Apr 11 19:10:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40202 * ruby.c (require_libraries): restore source file/line after
40203 statically linked extensions initialized. [ruby-dev:23357]
40205 Sun Apr 11 10:47:04 2004 Dave Thomas <dave@pragprog.com>
40207 * lib/rdoc/code_objects.rb (RDoc::TopLevel::add_class_or_module): Toplevel
40208 classes and modules are a special case too... (handle extending existing
40209 classes with or without :enddoc:)
40211 Sat Apr 10 23:51:13 2004 Dave Thomas <dave@pragprog.com>
40213 * lib/rdoc/code_objects.rb (RDoc::Context::add_to): Implementation of :enddoc:
40214 made one too many assumptions...
40216 Sat Apr 10 00:00:19 2004 Dave Thomas <dave@pragprog.com>
40218 * lib/rdoc/markup/simple_markup/inline.rb: Fix problem
40219 with \_cat_<b>dog</b>
40221 Fri Apr 9 17:05:21 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40223 * dir.c (has_magic, find_dirsep): incomplete '[' matches no character
40224 in Dir.glob. (follows File.fnmatch's behavior)
40226 * dir.c (fnmatch_helper): incomplete escape is ignored in File.fnmatch.
40227 (follows Dir.glob's behavior)
40229 * dir.c (find_dirsep): '/' between '[' and ']' is ignored in Dir.glob.
40230 (follows File.fnmatch with File::FNM_PATHNAME 's behavior)
40232 * dir.c (find_dirsep): escaped slash '\/' loses its meaning as
40233 directory separator in Dir.glob.
40237 Thu Apr 8 20:25:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40239 * ext/extmk.rb (extmake): skip uncompiled extensions.
40241 * lib/mkmf.rb (create_makefile): emit no rules for static library if
40242 $static is nil, e.g., outside of ext/.
40244 * lib/test/unit/ui/console/testrunner.rb (test_started): show test
40247 * runruby.rb: set environments to use the compiled binary.
40249 * test/runner.rb: do nothing while cross-compiling.
40251 * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
40252 know ruby binary, and restore $: after require.
40254 * test/ruby/envutil.rb: give priority to RUBY environment variable to
40255 use just compiled binary and libraries.
40257 Thu Apr 8 19:03:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40259 * io.c (rb_io_binmode): inverted condition. [ruby-dev:23349]
40261 Thu Apr 8 18:22:00 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40263 * ext/iconv/iconv.c (iconv_s_list): return encoding list if no block
40264 is given. [ruby-dev:23063]
40266 Wed Apr 7 15:29:24 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40268 * pack.c (pack_pack): use NUM2INT() instead of num2i32().
40270 Wed Apr 7 12:32:02 2004 Kouhei Sutou <kou@cozmixng.org>
40272 * lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
40273 resource attribute in rdf:li.
40274 * test/rss/test_parser.rb: added test for above change.
40276 * lib/rss/dublincore.rb: reverted style.
40278 * lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.
40280 Wed Apr 7 10:43:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40282 * Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
40283 doesn't work for object files on VC.
40285 * */Makefile.sub (config.h): need SIZEOF_TIME_T now.
40287 Wed Apr 7 00:24:34 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
40289 * lib/rinda/rinda.rb: fix hash tuple bug.
40291 * lib/rinda/tuplespace.rb: ditto.
40293 * test/rinda/test_rinda.rb
40295 Tue Apr 6 18:24:18 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40297 * file.c (rb_get_path): get path string via "to_path" method if
40298 path object is not a string. [Ruby2]
40300 * gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
40303 * io.c (rb_io_reopen): should use rb_io_check_io().
40305 Tue Apr 6 16:46:09 2004 Tanaka Akira <akr@m17n.org>
40307 * configure.in: check the size of time_t.
40309 * time.c (time_add): new function.
40310 (time_plus): use time_add.
40311 (time_minus): use time_add.
40313 Tue Apr 6 13:11:48 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40315 * ext/socket/socket.c (raise_socket_error): never return.
40317 * ext/socket/socket.c (make_hostent): must return value.
40319 Tue Apr 6 00:14:43 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40321 * error.c (Init_Exception): remove Exception#to_str. [Ruby2]
40323 * eval.c (error_print): should no call "to_str" anymore use
40324 "message" method instead.
40326 * io.c (rb_f_open): Kernel#open() calls "to_open" if the first
40327 argument responds to it. [Ruby2]
40329 Tue Apr 6 00:13:43 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
40331 * lib/rinda/rinda.rb: add require 'drb/drb'
40333 Mon Apr 5 22:25:32 2004 Tanaka Akira <akr@m17n.org>
40335 * test/zlib/test_zlib.rb: new file.
40336 (TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].
40338 Mon Apr 5 22:16:23 2004 Minero Aoki <aamine@loveruby.net>
40340 * parse.y (assoc_list): {a: 1, b: 2} should be allowed.
40343 Mon Apr 5 19:43:40 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
40345 * regexec.c: imported Oni Guruma 2.2.6.
40347 Mon Apr 5 19:39:10 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
40349 * regparse.c, oniguruma.h: imported Oni Guruma 2.2.6.
40351 Mon Apr 5 12:12:09 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40353 * ext/socket/socket.c (raise_socket_error): some platforms don't have
40356 Mon Apr 5 08:18:23 2004 Dave Thomas <dave@pragprog.com>
40358 * lib/rdoc/rdoc.rb: Remove leading ./ from file names so that cross
40359 references work properly.
40361 Sun Apr 4 14:01:20 2004 Dave Thomas <dave@pragprog.com>
40363 * lib/rdoc/options.rb (Options::parse): Allow multiple -x options to
40364 RDoc. Fix bug where files weren't being excluded properly
40366 Sat Apr 3 09:36:38 2004 why the lucky stiff <why@ruby-lang.org>
40368 * ext/syck/syck.h: version 0.43.
40370 Sat Apr 3 08:28:47 2004 why the lucky stiff <why@ruby-lang.org>
40372 * ext/syck/lib/gram.c: allow root-level inline collections.
40375 * lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits.
40378 Fri Apr 2 19:28:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40380 * bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
40382 Fri Apr 2 18:00:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40384 * ext/extmk.rb (extmake): extract necessary variables for static link
40387 * lib/mkmf.rb (create_makefile): save preload and libpath for next
40390 Fri Apr 2 17:27:17 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40392 * eval.c (top_include): include in the wrapped load is done for
40393 the wrapper, not for a singleton class for wrapped main.
40396 Fri Apr 2 15:13:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40398 * bignum.c (rb_big_eq): use temporary double variable to save the
40399 result (internal float register may be bigger than 64 bits, for
40400 example, 80 bits on x86). [ruby-dev:23311]
40402 Fri Apr 2 14:35:26 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40404 * eval.c (block_pass): should generate unique identifier of the
40405 pushing block. [ruby-talk:96363]
40407 Fri Apr 2 11:36:20 2004 Minero Aoki <aamine@loveruby.net>
40409 * eval.c (Init_load): make $LOADED_FEATURES built-in.
40412 * ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
40414 * lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.
40416 Fri Apr 2 07:31:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40418 * ext/socket/socket.c: mistakingly removed do_not_reverse_lookup.
40421 * ext/socket/socket.c (make_hostent): fix memory leak, based on
40422 the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>.
40424 Thu Apr 1 22:55:33 2004 Dave Thomas <dave@pragprog.com>
40426 * lib/rdoc/parsers/parse_rb.rb: Allow rdoc comments in
40429 * lib/rdoc/parsers/parse_rb.rb: Fix problem with comment in
40430 top-level method being taken as file comment.
40432 Thu Apr 1 22:55:04 2004 Dave Thomas <dave@pragprog.com>
40434 * lib/rdoc/ri/ri_options.rb: Fix undefined variable warning.
40436 Thu Apr 1 19:58:37 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
40438 * lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URI
40439 object with soap/marshal.
40440 added URIFactory class for URI mapping. BasetypeFactory checks
40441 instance_variables when original mapping is not allowed (ivar must
40442 be empty). Instance of URI have instance_variables but it must be
40443 llowed whenever original mapping is allowed or not.
40445 Wed Mar 31 19:06:23 2004 Tanaka Akira <akr@m17n.org>
40447 * time.c (year_leap_p): new function.
40448 (timegm_noleapsecond): ditto.
40449 (search_time_t): use timegm_noleapsecond instead of
40450 mktime for first guess.
40452 Wed Mar 31 12:05:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40454 * lib/delegate.rb (DelegateClass): define internal methods of the
40455 result class, but not metaclass of the caller. [ruby-talk:96156]
40457 * intern.h: provide proper prototypes. [ruby-core:02724]
40459 * ruby.h: missing.h is now prerequisite to intern.h.
40461 Wed Mar 31 11:17:16 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40463 * pack.c (pack_pack): raises RangeError if uv is out of UTF8 value
40464 range. [ruby-dev:23281]
40466 * io.c (rb_io_binmode): stdio buffer should be empty when calling
40467 IO#binmode. [ruby-talk:96155]
40469 Tue Mar 30 20:25:34 2004 Tanaka Akira <akr@m17n.org>
40471 * time.c (search_time_t): limit guess range by mktime if it is
40472 available. [ruby-dev:23274]
40474 Tue Mar 30 18:19:00 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40476 * eval.c (rb_eval): fix SEGV at retry in iterator's receiver.
40479 Mon Mar 29 20:17:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40481 * process.c (rb_exec): follow older behavior if close-on-exec is not
40484 * process.c (rb_fork): protect from exceptions while waiting failed
40485 process, if status is given.
40487 Sun Mar 28 16:25:37 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40489 * cygwin/GNUmakefile.in (clean-local, distclean-local): remove
40492 * win32/Makefile.sub (clean-local): ditto.
40494 Sun Mar 28 14:23:02 2004 Minero Aoki <aamine@loveruby.net>
40496 * lib/net/pop.rb: def m( arg ) -> def m(arg).
40498 Sun Mar 28 14:09:13 2004 Minero Aoki <aamine@loveruby.net>
40500 * lib/net/pop.rb (auth): failed when account/password include "%".
40503 Sat Mar 27 21:40:41 2004 Tanaka Akira <akr@m17n.org>
40505 * lib/open-uri.rb: permit extra semicolon in content-type field.
40507 Sat Mar 27 10:40:48 2004 Tanaka Akira <akr@m17n.org>
40509 * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
40510 instead of PrettyPrint.
40512 Sat Mar 27 01:47:09 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
40514 * lib/logger.rb: trim tail space of each line. no user visible change.
40516 * lib/rss/dublincore.rb: fixed class definition mismatch.
40518 * sample/openssl/gen_csr.rb: fixed wrong usage text.
40520 Thu Mar 25 23:15:24 2004 Dave Thomas <dave@pragprog.com>
40522 * lib/rdoc/ri/ri_options.rb (RI::Options::show_version):
40523 Add --version option
40525 Thu Mar 25 21:45:00 2004 Shigeo Kobayashi <shigek@ruby-lang.org>
40527 * ext/bigdecimal/bigdecimal.c: Bug in + and - reported by Bret Jolly
40530 Thu Mar 25 21:01:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40532 * version.c (ruby_show_copyright): obtain copyright year from
40535 * win32/resource.rb: ditto.
40537 Thu Mar 25 19:37:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40539 * win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
40542 * win32/resource.rb: include winver.h for older WindowsCE.
40544 Thu Mar 25 14:01:03 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40546 * common.mk, */Makefile.sub (lib, dll): phony targets.
40548 * configure.in (ruby, miniruby): ditto.
40550 * cygwin/GNUmakefile.in (rubyw): ditto.
40552 Thu Mar 25 04:16:18 2004 Dave Thomas <dave@pragprog.com>
40554 * lib/rdoc/ri/ri_options.rb (RI::Options): Add the --list-names option,
40555 which dumps our all known names
40557 Thu Mar 25 03:57:47 2004 Dave Thomas <dave@pragprog.com>
40559 * lib/rdoc/ri/ri_util.rb (NameDescriptor::initialize): No longer
40560 allow nested classes to be designated using "."--you must
40563 Thu Mar 25 02:00:18 2004 Dave Thomas <dave@pragprog.com>
40565 * lib/rdoc/generators/template/html/one_page_html.rb (Page):
40566 Fix to work with C modules.
40568 Wed Mar 24 20:49:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
40570 * lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
40571 * lib/uri/common.rb: Ditto.
40572 * lib/uri/ftp.rb: Ditto.
40573 * lib/uri/generic.rb: Ditto.
40574 * lib/uri/http.rb: Ditto.
40575 * lib/uri/https.rb: Ditto.
40576 * lib/uri/ldap.rb: Ditto.
40577 * lib/uri/mailto.rb: Ditto.
40579 Wed Mar 24 18:48:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40581 * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
40582 DESTDIR after installed.
40584 * lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.
40586 Wed Mar 24 12:32:56 2004 Dave Thomas <dave@pragprog.com>
40588 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_class_module):
40589 Don't document methods if we don't know for sure the
40592 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
40593 Don't store documentation for singleton classes if we
40594 don't know the real class.
40596 Wed Mar 24 11:11:26 2004 Dave Thomas <dave@pragprog.com>
40598 * lib/rdoc/generators/html_generator.rb (Generators::HTMLGenerator::load_html_template):
40599 Allow non-RDoc templates by putting a slash in the template name
40601 Wed Mar 24 10:05:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40603 * lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
40604 until the file is really removed. [ruby-core:02684]
40606 Wed Mar 24 04:12:44 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40608 * object.c (rb_mod_cvar_get): new method Module#class_variable_get.
40610 * object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).
40612 Tue Mar 23 17:45:22 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40614 * eval.c (rb_thread_atfork): 1.9 warns no more for thread
40615 termination. [ruby-dev:23212]
40617 Tue Mar 23 14:46:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40619 * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
40620 separate files under directories due to directory separator.
40622 * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
40625 * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
40628 * cygwin/GNUmakefile.in: some mingw stuffs were missed.
40630 * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
40631 from command lines.
40633 * bcc32/Makefile.sub: needs bcc32/mkexports.rb.
40635 Mon Mar 22 08:21:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40637 * Makefile.in, */Makefile.sub, common.mk: extract common portions.
40639 * Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
40640 separated time stamp file for rbconfig.rb.
40642 * configure.in: append common.mk to Makefile.
40644 * mkconfig.rb: keep mtime of rbconfig.rb if unchanged.
40646 * win32/rm.bat: remove multiple files.
40648 * wince/mkconfig_wce.rb: use fake.rb instead.
40650 Sun Mar 21 22:17:35 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40652 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
40653 sort @virtual_hosts in address, port, host order.
40655 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
40656 hostname should not be match if :ServerAlias is not given.
40658 Sun Mar 21 21:11:16 2004 Keiju Ishitsuka <keiju@ishitsuka.com>
40660 * lib/shell/*: bug fix for Shell#system(command_line_string).
40662 Sun Mar 21 21:04:42 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40664 * ruby.1: add -width option to .Bl for old groff.
40666 Sun Mar 21 18:57:37 2004 Kouhei Sutou <kou@cozmixng.org>
40668 * test/rss/*: Test::Unit::TestCase -> RSS::TestCase and
40669 Test::Unit::Assertions -> RSS::Assertions.
40671 Sun Mar 21 18:48:20 2004 Kouhei Sutou <kou@cozmixng.org>
40673 * lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
40675 Sun Mar 21 18:15:29 2004 Kouhei Sutou <kou@cozmixng.org>
40677 * test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
40679 * lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
40682 Sat Mar 20 23:51:03 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40684 * eval.c (rb_require_safe): preserve old ruby_errinfo.
40687 * eval.c (rb_f_raise): should not clear backtrace information if
40688 exception object already have one.
40690 Sat Mar 20 21:21:03 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40692 * ext/extmk.rb: rm -rf $extout, not extout.
40694 Sat Mar 20 15:25:36 2004 Dave Thomas <dave@pragprog.com>
40696 * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Force
40697 page background to white.
40699 Sat Mar 20 09:33:36 2004 Tadayoshi Funaba <tadf@dotrb.org>
40701 * lib/date.rb, lib/date/format.rb: _parse() now accepts fractional
40702 part of second minute that follows a comma or a full stop.
40704 Fri Mar 19 21:06:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40706 * parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
40707 this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.
40709 Fri Mar 19 15:15:15 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40711 * variable.c (rb_cvar_set): class variables become private to the
40712 particular class/module. [Ruby2]
40714 * variable.c (rb_cvar_get): ditto.
40716 * variable.c (rb_cvar_defined): ditto.
40718 Fri Mar 19 11:31:32 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40720 * lib/mkmf.rb ($beos, $solaris): add OS flags.
40722 * lib/mkmf.rb (RUBY): / is not recognized as path separator on
40723 nmake/bmake. [ruby-list:39388]
40725 * lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.
40727 Fri Mar 19 01:55:57 2004 Mauricio Fernandez <batsman.geo@yahoo.com>
40729 * io.c (rb_io_sync): need not to check writable. [ruby-core:02674]
40731 Thu Mar 18 19:47:44 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40733 * instruby.rb, rubytest.rb: do not depend on srcdir.
40735 Thu Mar 18 18:50:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40737 * mkconfig.rb: no longer embed srcdir and compile_dir into
40740 * ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
40743 Thu Mar 18 17:46:35 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
40745 * lib/drb/drb.rb: do not undef :to_a.
40747 Thu Mar 18 16:22:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40749 * eval.c (proc_eq): avoid false positive by using scope and
40750 dyna_vars. no longer use frame.uniq.
40752 * eval.c (proc_arity): arity is now defined as number of
40753 parameters that would not be ignored. i.e. Proc.new{}.arity
40754 returns zero. update test suites too.
40756 Thu Mar 18 15:27:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40758 * eval.c: remove specialized version of rb_Array(). use simple
40759 one defined in object.c.
40761 * object.c (Init_Object): remove Kernel#to_a.
40763 * enum.c (enum_zip): use "to_a" instead of "to_ary".
40765 Wed Mar 17 00:22:03 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
40767 * oniguruma.h: imported Oniguruma 2.2.5.
40768 * regparse.c: ditto.
40770 Tue Mar 16 11:14:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40772 * dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.
40773 (Rev1.112 lost compatiblity)
40775 * dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME)
40776 should return true. (Rev1.112 lost compatiblity)
40778 * dir.c (fnmatch): File.fnmatch('**/.boo', '.foo/.boo',
40779 File::FNM_PATHNAME) should return false because of leading period.
40781 Mon Mar 15 17:01:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40783 * error.c (exc_initialize): calling 'to_str' each time just for
40784 type checking is too heavy. [ruby-core:02661]
40786 Mon Mar 15 10:14:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40788 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
40789 add do_not_reverse_lookup.
40791 Mon Mar 15 07:39:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40793 * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
40794 yield is not break destination. [ruby-dev:23197]
40796 Sun Mar 14 22:07:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40798 * eval.c (rb_thread_raise): err at unstarted thread. (PR#1302)
40800 Sat Mar 13 14:56:32 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
40802 * test/drb/ut_drb.rb: use 'druby://localhost:0'. [ruby-dev:23078]
40804 * test/drb/ut_eval.rb: ditto.
40806 * test/drb/ut_large.rb: ditto.
40808 * test/drb/ut_safe1.rb: ditto.
40810 * test/drb/ut_drb_drbssl.rb: use 'drbssl://localhost:0'.
40812 Fri Mar 12 23:52:56 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40814 * dir.c (fnmatch): directory recursion '**/' can be used with
40815 File::FNM_PATHNAME. [ruby-dev:22901]
40817 * dir.c (fnmatch, fnmatch_helper): only '/' is accepted as path
40818 separator even in DOSISH environment. [ruby-dev:22974]
40821 * dir.c (fnmatch_helper): faster '*' matching.
40823 Fri Mar 12 20:19:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40825 * configure.in (rb_cv_noreturn): default for platforms not support
40828 * ruby.c (ruby_init_loadpath): buffer for path name should have
40831 * lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH.
40833 * lib/mkmf.rb (create_makefile): default dependency rule.
40835 Fri Mar 12 07:35:36 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40837 * lib/webrick/config.rb (WEBrick::Config::General): add
40838 :DoNotReverseLookup.
40840 * lib/webrick/server.rb (WEBrick::GenericServer#accept): call
40841 do_not_reverse_lookup for each socket if :DoNotReverseLookup
40842 is set. [ruby-code:02357]
40844 Wed Mar 10 22:26:25 2004 Minero Aoki <aamine@loveruby.net>
40846 * lib/fileutils.rb (remove_dir): should handle symlink correctly.
40847 This patch is contributed by Christian Loew. [ruby-talk:94635]
40849 Wed Mar 10 16:28:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40851 * eval.c (return_jump): set return value to the return
40852 destination. separated from localjump_destination().
40854 * eval.c (break_jump): break innermost loop (or thread or proc).
40856 * eval.c (rb_yield_0): set exit_value for block break.
40858 Wed Mar 10 16:00:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40860 * struct.c (rb_struct_s_def): Struct::new executes block with
40861 generated struct class. [ruby-talk:02606]
40863 Wed Mar 10 15:58:43 2004 Ryan Davis <ryand@zenspider.com>
40865 * eval.c (eval): Only print backtrace if generating the backtrace
40866 doesn't generate an exception. [ruby-core:02621]
40868 Wed Mar 10 10:15:16 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40870 * ruby.c (opt_W_getter): get rid of warning.
40872 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
40875 Tue Mar 9 13:04:26 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
40877 * io.c (rb_io_ungetc): raise IOError instead of calling
40878 rb_sys_fail(). [ruby-talk:23181]
40880 Tue Mar 9 10:03:40 2004 NAKAMURA Usaku <usa@ruby-lang.org>
40882 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
40883 replaced regex.c entry with Oniguruma files.
40885 Tue Mar 9 01:09:46 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
40887 * Makefile.in: replaced regex.c entry with Oniguruma files.
40889 Mon Mar 8 23:16:07 2004 Minero Aoki <aamine@loveruby.net>
40891 * lib/net/http.rb: HTTPHeader did not initialized correctly.
40893 * lib/net/http.rb (connect): does same debug output.
40895 Mon Mar 8 21:38:18 2004 Minero Aoki <aamine@loveruby.net>
40897 * lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]
40899 Mon Mar 8 21:09:39 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40901 * dir.c (range): Cancel change for incomplete '['. More discussion
40904 Mon Mar 8 19:35:13 2004 akira yamada <akira@arika.org>
40906 * lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
40907 -> (?::#{PORT}). [ruby-dev:23170]
40909 Mon Mar 8 15:03:24 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
40911 * dir.c (range): treat incomplete '[' as ordinary character (like
40912 has_magic does). fix buffer overrun at incomplete escape like '[\'.
40914 Mon Mar 8 13:35:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40916 * regparse.c (parse_exp): need to separate initialization for bcc32.
40919 * oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.
40921 Mon Mar 8 01:05:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
40923 * lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander
40924 to :RequestCallback and add new option :ServerAlias.
40926 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use
40927 :RequestCallback and warn if :RequestHandler is in server's option.
40929 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print
40930 error message for WEBrick::HTTPSataus::Error.
40932 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
40933 lookup for hostname from :ServerAlias if the req.host is not match
40936 * lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
40937 use $?.exitstatus and refine log message.
40939 Sun Mar 7 16:22:26 2004 WATANABE Hirofumi <eban@ruby-lang.org>
40941 * Makefile.in (lex.c): use $? instead of $<.
40943 * lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.
40946 Sun Mar 7 05:34:42 2004 Minero Aoki <aamine@loveruby.net>
40948 * lib/net/http.rb: HTTPHeader keeps its header fields as an array.
40950 * lib/net/http.rb: new method HTTPHeader#add_header, get_fields.
40952 * lib/net/http.rb: new method HTTPHeader#content_length=.
40954 * lib/net/http.rb: new method HTTPHeader#content_type, main_type,
40955 sub_type, type_params, content_type=, set_content_type.
40957 * lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may
40958 contain multiple LFs.
40960 Sun Mar 7 03:11:00 2004 Minero Aoki <aamine@loveruby.net>
40962 * lib/net/http.rb: new method Net::HTTPRequest#body(=).
40964 * lib/net/http.rb: new method Net::HTTPRequest#body_stream(=).
40966 Sun Mar 7 02:06:07 2004 Minero Aoki <aamine@loveruby.net>
40968 * lib/net/http.rb: spin off https code again.
40970 * lib/net/https.rb: new file.
40972 * ext/openssl/lib/net/https.rb: removed. moved to net/https with
40973 slight modifications.
40975 * ext/openssl/lib/net/protocols.rb: removed. merged with net/http.
40977 * lib/net/protocol.rb: new class BufferedIO.
40979 * lib/net/protocol.rb: InternetMessageIO < BufferedIO.
40981 * lib/net/protocol.rb: BufferedIO.new takes an IO.
40983 * lib/net/smtp.rb: follow InternetMessageIO's change.
40985 * lib/net/pop.rb: ditto.
40987 Sun Mar 7 00:55:03 2004 Minero Aoki <aamine@loveruby.net>
40989 * lib/net/protocol.rb: remove method: InternetMessageIO#address,
40990 port, ip_address, read_timeout(=), socket.
40992 * lib/net/protocol.rb: simplify code.
40994 * lib/net/protocol.rb: apply latest coding style.
40996 Sat Mar 6 15:15:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
40998 * ext/strscan/depend: depends on re.h and regex.h.
41000 * ext/strscan/strscan.c: no version check needed.
41002 * ext/strscan/strscan.c (strscan_init_copy): struct re_registers must
41003 not be bitwise copied.
41005 Sat Mar 6 11:14:33 2004 David Black <dblack@wobblini.net>
41007 * lib/scanf.rb: refixed the previous fix in IO#block_scanf
41009 Sat Mar 6 10:49:40 2004 David Black <dblack@wobblini.net>
41011 * lib/scanf.rb: fixed a logic glitch in IO#block_scanf
41013 Sat Mar 6 02:00:19 2004 Minero Aoki <aamine@loveruby.net>
41015 * lib/net/http.rb: net/https is merged.
41017 * ext/openssl/lib/net/https.rb: ditto.
41019 Sat Mar 6 00:39:21 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
41021 * oniggnu.h: imported from Oniguruma library.
41022 * oniguruma.h: ditto.
41023 * regcomp.c: ditto.
41026 * regerror.c: ditto.
41028 * regexec.c: ditto.
41031 * regparse.c: ditto.
41032 * regparse.h: ditto.
41038 * MANIFEST: added Oniguruma files listed above.
41040 * LEGAL: added Oniguruma license.
41042 * regex.h: now includes oniggnu.h.
41044 * re.c: applied Oniguruma patch.
41046 Fri Mar 5 23:13:08 2004 Minero Aoki <aamine@loveruby.net>
41048 * lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK,
41049 UNLOCK, OPTIONS, PROPFIND, DELETE, MOVE, COPY, MKCOL.
41050 This patch is contributed by Tatsuki Sugiura.
41052 Fri Mar 5 20:58:37 2004 Minero Aoki <aamine@loveruby.net>
41054 * lib/net/http.rb: Net::HTTPResponse#response is obsolete.
41057 * lib/net/http.rb: Net::HTTPResponse#header is obsolete.
41059 * lib/net/http.rb: Net::HTTPResponse#read_header is obsolete.
41061 Fri Mar 5 20:10:57 2004 Minero Aoki <aamine@loveruby.net>
41063 * ext/strscan/strscan.c: new method StringScanner#initialize_copy
41064 to allow #dup and #clone.
41066 * test/strscan/test_strscan.rb: test StringScanner#dup.
41068 Fri Mar 5 19:42:09 2004 Minero Aoki <aamine@loveruby.net>
41070 * lib/net/http.rb (HTTPResponse#to_ary): should return an object
41071 which does not respond to #to_ary. It causes infinite loop in
41072 puts. [ruby-core:02578]
41074 Fri Mar 5 00:51:35 2004 Dave Thomas <dave@pragprog.com>
41076 * lib/test/unit.rb: Move RDoc documentation so that you can
41077 now say 'ri Test::Unit'
41079 Thu Mar 4 22:31:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41081 * Makefile.in: miniruby is not needed for cross compile.
41083 * configure.in (PREP): miniruby for native compile.
41085 Thu Mar 4 11:46:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41087 * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
41088 detach server processes to get rid of zombies.
41090 Thu Mar 4 10:41:25 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41092 * ruby.h (T_MASK): save 1 bit in flags bits by shifting T_xxx
41095 Thu Mar 4 08:08:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41097 * ext/syck/rubyext.c: get rid of warnings.
41099 * lib/rss/taxonomy.rb: ditto.
41101 * lib/rdoc/ri/ri_formatter.rb: ditto.
41103 * test/ruby/test_assignment.rb: ditto.
41105 Thu Mar 4 01:17:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41107 * lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
41110 Wed Mar 3 13:10:56 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41112 * eval.c (method_hash): new method. [ruby-talk:93968]
41114 * eval.c (proc_eq): do not compare dyna_vars.
41116 * eval.c (proc_hash): new method.
41118 * eval.c (rb_yield_0): protect break/return from within orphan (or
41119 lambda) Proc object.
41121 Wed Mar 3 09:52:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41123 * lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.
41126 Wed Mar 3 01:18:52 2004 Kouhei Sutou <kou@cozmixng.org>
41128 * lib/rss/converter.rb: handled Uconv::Error.
41130 * lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel
41132 Wed Mar 3 00:59:30 2004 David Black <dblack@wobblini.net>
41134 * lib/scanf.rb: soak_up_spaces only ungetc's non-space last
41137 * lib/scanf.rb: IO#block_scanf now returns partial last iteration
41138 array if format string matches partly
41140 Tue Mar 2 16:30:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41142 * io.c (pipe_open): erred program name should be reported by
41143 exceptions, instead of the first argument.
41145 * process.c (rb_spawn): ditto.
41147 * process.c (proc_spawn_v): use first argument as program name.
41149 * win32/win32.c (rb_w32_aspawn): ditto.
41151 * win32/win32.c (CreateChild): search executable file if no program
41154 * lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
41157 * lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
41158 [ruby-dev:23086], [ruby-dev:23103]
41160 * lib/rdoc/diagram.rb (convert_to_png): ditto.
41162 * lib/rdoc/generators/chm_generator.rb (compile_project): ditto.
41164 Tue Mar 2 12:24:03 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41166 * win32/Makefile.sub, wince/Makefile.sub (config.h): shouldn't check
41167 defined? NORETURN. [ruby-dev:23100]
41169 Tue Mar 2 11:28:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41171 * test/ruby/test_iterator.rb (test_ljump): cannot use
41172 assert_nothing_raised due to passing block.
41174 Tue Mar 2 06:23:14 2004 David Black <dblack@wobblini.net>
41176 * lib/scanf.rb: fixed Kernel#scanf to propagate code block
41178 Mon Mar 1 23:25:40 2004 David Black <dblack@wobblini.net>
41180 * lib/scanf.rb: Partial fix so STDIN#scanf works with new
41183 Mon Mar 1 19:42:05 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41185 * bcc32/setup.mak: configure's default is "--enable-install-doc"
41187 * win32/setup.mak: ditto.
41189 Mon Mar 1 12:24:10 2004 Dave Thomas <dave@pragprog.com>
41191 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_alias):
41192 Allow aliases to have parentheses
41194 Sun Feb 29 23:14:53 2004 Dave Thomas <dave@pragprog.com>
41196 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
41197 Handle :nodoc: on singleton classes.
41199 Sat Feb 28 21:50:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41201 * bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
41202 bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir''
41203 instead of ``make DESTDIR=dir install''.
41204 --with-static-linked-ext support on bccwin32. [ruby-dev:23034]
41206 Sat Feb 28 21:50:20 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41208 * bcc32/setup.mak: "configure --disable-install-doc" is now working.
41210 * win32/setup.mak: ditto.
41212 Sat Feb 28 15:09:49 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41214 * bcc32/configure.bat: append missing label ":exit".
41216 * bcc32/configure.bat: fix typo.
41218 Sat Feb 28 10:31:03 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41220 * MANIFEST: add test_erb.rb
41222 * lib/erb.rb, test/erb/test_erb.rb: don't forget filename,
41223 if both filename and safe_level given. [ruby-dev:23050]
41225 Sat Feb 28 01:08:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41227 * parse.y (yylex): should not allow symbol for invalid global
41228 variable (e.g. `:$-)`). [ruby-core:02518]
41230 Fri Feb 27 20:37:09 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41232 * eval.c (proc_invoke): no orphan block check is needed when pcall
41235 * eval.c (localjump_destination): update localjump condition.
41237 Fri Feb 27 02:10:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41239 * eval.c (localjump_destination): lambda should not interfere
41240 return from the yielded block.
41242 Fri Feb 27 00:53:49 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41244 * lib/drb/drb.rb, test/drb/drbtest.rb: require drb/eq.rb by default
41246 Thu Feb 26 12:15:02 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41248 * win32/win32.c (make_cmdvector): adjust successive double-quote
41251 Thu Feb 26 09:42:56 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41253 * hash.c (delete_if_i): use st_delete_safe() (via
41254 rb_hash_delete()) instead of returning ST_DELETE.
41256 Thu Feb 26 02:35:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41258 * process.c (rb_f_exec): get rid of SEGV when exec failed for command
41261 Wed Feb 25 21:17:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41263 * gc.c (obj_free), io.c (rb_io_fptr_finalize), rubyio.h (OpenFile):
41266 * io.c (rb_io_initialize): accept IO instance. [ruby-dev:22195]
41268 Wed Feb 25 21:16:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41270 * instruby.rb (with_destdir): should return the given argument if no
41273 * instruby.rb: use path name expansion of cmd.exe.
41275 Wed Feb 25 20:44:45 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41277 * lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:
41278 warn with caller position.
41280 * test/rss/test_content.rb, test/rss/test_dublincore.rb,
41281 test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi
41282 instead of cgi-lib.
41284 Tue Feb 24 18:42:03 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41286 * dir.c (glob_helper): '**/' should not match leading period
41287 unless File::FNM_DOTMATCH is set. (like '*/') [ruby-dev:23014]
41289 Tue Feb 24 18:03:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41291 * test/ruby/test_file.rb (test_fnmatch): test for dir.c:1.108.
41293 Tue Feb 24 17:07:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41295 * dir.c (fnmatch): File.fnmatch with File::FNM_PATHNAME was broken
41296 for the pattern including '*' followed by '/'.
41298 Tue Feb 24 13:22:21 2004 Dave Thomas <dave@pragprog.com>
41300 * lib/rdoc/rdoc.rb (RDoc::RDoc::normalized_file_list): Attempt to get better
41301 heuristics on which files to include and exclude. Now only include
41302 non-standard files if they are explicitly named in ARGV.
41304 Tue Feb 24 07:23:30 2004 Dave Thomas <dave@pragprog.com>
41306 * lib/rdoc/generators/html_generator.rb: Deal with :stopdoc: when
41307 choosing a default main page to display (ie. don't select a page
41308 if we don't have documentation for it).
41310 Tue Feb 24 06:40:14 2004 Dave Thomas <dave@pragprog.com>
41312 * lib/rdoc/parsers/parse_rb.rb (RubyLex::identify_identifier): Handle
41313 class variables in code listings
41315 Tue Feb 24 06:32:27 2004 Dave Thomas <dave@pragprog.com>
41317 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_aliases): Handle
41318 aliases in C files.
41320 Tue Feb 24 06:16:22 2004 Dave Thomas <dave@pragprog.com>
41322 * lib/rdoc/rdoc.rb (RDoc::RDoc::document): Now create op dir _before_
41325 Tue Feb 24 06:08:47 2004 Dave Thomas <dave@pragprog.com>
41327 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_constant):
41328 Start collecting text of constant values earlier: was missing
41329 values in output if there was no space after '='
41331 Tue Feb 24 06:08:25 2004 Dave Thomas <dave@pragprog.com>
41333 * lib/rdoc/generators/html_generator.rb: Escape contant values.
41335 Tue Feb 24 03:45:06 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
41337 * ext/openssl/ossl_config.c (ossl_config_each): add new method
41338 OpenSSL::Config#each. it iterates with section name, field name
41341 * ext/openssl/ossl_config.c (Init_ossl_config): include Enumerable.
41343 Mon Feb 23 09:09:44 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41345 * instruby.rb (parse_args): use optparse instead of getopts.
41347 * instruby.rb (DOSISH): embedded path in batch files should not be
41348 prefixed by DESTDIR. [ruby-core:02186]
41350 Sun Feb 22 14:58:04 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41352 * ext/extmk.rb: $extstatic is Array or nil now. [ruby-talk:93383]
41354 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.
41356 * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.
41358 Sun Feb 22 13:05:37 2004 akira yamada <akira@ruby-lang.org>
41360 * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.
41362 Sun Feb 22 12:58:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41364 * ext/extmk.rb: use optparse instead of getopts.
41366 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto.
41368 Sun Feb 22 09:51:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41370 * re.c: corrected documentation format (rb_reg_initialize_m)
41372 Sat Feb 21 22:41:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41374 * ext/zlib/zlib.c: documented, but needs more effort.
41376 Sat Feb 21 14:33:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41378 * ext/extmk.rb: prefer relative path. [ruby-talk:93037]
41380 Sat Feb 21 11:12:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41382 * missing/os2.c, missing/x68.c: typo fix. pointed out by greentea.
41384 Fri Feb 20 19:11:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41386 * lib/ostruct.rb (OpenStruct#initialize_copy): should not share
41387 members. [ruby-dev:22966]
41389 Fri Feb 20 18:59:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41391 * lib/irb/init.rb (IRB::IRB.parse_opts): add -I option to
41392 irb. [ruby-dev:39243]
41394 Fri Feb 20 12:55:27 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41396 * io.c (pipe_open): fix typo.
41398 * win32/win32.c (CreateChild): first argument to CreateProcess() must
41399 have path, not just basename.
41401 Thu Feb 19 23:24:16 2004 Dave Thomas <dave@pragprog.com>
41403 * lib/rdoc/generators/html_generator.rb (Generators::HtmlClass::build_attribute_list):
41404 Support visibility modifiers for attributes
41406 Thu Feb 19 22:39:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41408 * lib/ostruct.rb: documented
41410 Thu Feb 19 22:39:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41412 * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.
41413 DRb.start_service could handle this.
41415 Thu Feb 19 22:24:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41417 * lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class.
41419 c = class << Object.new; class C; self; end; end; SOAPMarshal.dump(c)
41421 Thu Feb 19 18:08:18 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41423 * ext/strscan/strscan.c: improved documentation
41425 Thu Feb 19 18:08:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41427 * win32/win32.c, win32/win32.h: fixed prototypes.
41429 * win32/win32.c (wait): same as waitpid() with -1.
41431 Thu Feb 19 02:34:28 2004 Dave Thomas <dave@pragprog.com>
41433 * lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::include_file):
41434 Only strip comment markers if all lines start with comments.
41436 Thu Feb 19 03:05:49 2004 Minero Aoki <aamine@loveruby.net>
41438 * ext/strscan/strscan.c: StringScanner#restsize is obsolete;
41439 use #rest_size instead.
41441 * ext/strscan/strscan.c: StringScanner#matchedsize is obsolete;
41442 use #matched_size instead.
41444 Thu Feb 19 02:42:19 2004 Minero Aoki <aamine@loveruby.net>
41446 * ext/strscan/strscan.c: don't use rb_eval_string, it defines
41447 classes under the module when required in module clauses.
41450 Thu Feb 19 02:37:28 2004 Minero Aoki <aamine@loveruby.net>
41452 * ext/strscan/strscan.c: merge documentation from 1.8 branch.
41453 Thanks Gavin Sinclair.
41455 Thu Feb 19 00:20:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41457 * lib/cgi-lib.rb: deprecated after 1.8.1
41459 * lib/getopts.rb: ditto
41461 * lib/importenv.rb: ditto
41463 * lib/parsearg.rb: ditto
41465 Thu Feb 19 00:11:05 2004 Dave Thomas <dave@pragprog.com>
41467 * lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::handle):
41468 Strip extraneous space from filenames in :include:
41470 Wed Feb 18 22:53:41 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41472 * lib/drb/unix.rb: remove O_NONBLOCk, thanks \ay
41474 Wed Feb 18 22:42:19 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41476 * test/rinda/test_rinda.rb: improt test_rinda.rb
41478 Wed Feb 18 22:03:11 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41480 * test/*: should not depend on $KCODE.
41482 Wed Feb 18 18:07:09 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41484 * test/ruby/test_sprintf.rb: added tests.
41486 Wed Feb 18 17:18:01 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41488 * ext/win32ole/win32ole.c: need to include <olectl.h> on Cygwin.
41490 Wed Feb 18 10:40:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
41492 * sprintf.c (rb_f_sprintf): sign bit extension should not be done
41493 if FPLUS flag is specified. [ruby-list:39224]
41495 * sprintf.c (rb_f_sprintf): do not prepend dots for negative
41496 numbers if FZERO is specified. [ruby-dev:39218]
41498 Wed Feb 18 10:23:34 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41500 * sprintf.c (rb_f_sprintf): clean up.
41502 Tue Feb 17 23:40:34 2004 Guy Decoux <ts@moulon.inra.fr>
41504 * sprintf.c (rb_f_sprintf): preserve original val for
41505 format_integer. [ruby-talk:92975]
41507 Tue Feb 17 23:28:45 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41509 * test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $:
41510 trick to share the testcase test/ruby/marshaltestlib.rb.
41512 Tue Feb 17 23:13:23 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41514 * test/ruby/marshaltestlib.rb: common marshal testcase added.
41516 * test/ruby/test_marshal.rb: use above testsuite.
41518 * test/soap/marshal/test_marshal.rb: ditto.
41520 * test/soap/marshal/cmarshal.rb: removed (not used).
41522 Tue Feb 17 19:34:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41524 * ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.
41526 * ext/extmk.rb (extmake): remove compile directory if empty.
41528 * ext/extmk.rb (parse_args) lib/mkmf.rb (create_makefile): move
41529 initialization of $extout_prefix from lib/mkmf.rb. [ruby-dev:22928]
41531 * ext/extmk.rb: clear ext and extout directory when cleaning.
41533 * lib/mkmf.rb (CLEANLIBS): should be under $(arch) directory.
41535 Tue Feb 17 18:02:10 2004 Minero Aoki <aamine@loveruby.net>
41537 * ext/strscan/strscan.c: ScanError may be (wrongly) garbage
41538 collected. (thanks Gavin Sinclair)
41540 * ext/strscan/strscan.c: move ::ScanError to StringScanner::Error.
41541 ::ScanError is also defined for backward compatibility.
41543 * ext/strscan/strscan.c: #peep is obsolete, use #peek.
41545 * ext/strscan/strscan.c: #empty? is obsolete, use #eos?.
41547 * ext/strscan/strscan.c: #clear is obsolete, use #terminate.
41549 * ext/strscan/strscan.c: #getbyte is obsolete, use #get_byte.
41551 Tue Feb 17 12:12:47 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41553 * ext/extmk.rb (parse_args): delay expanding $(extout) until invoking
41556 * lib/mkmf.rb (CLEANLIBS): should remove files have specific
41559 Tue Feb 17 11:33:30 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41561 * lib/rss/rexmlparser.rb: REXML version may be 4 digits.
41563 Tue Feb 17 10:45:59 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41565 * ext/syck/rubyext.c (syck_emitter_end_object): takes only one arg.
41567 Tue Feb 17 07:48:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41569 * lib/rexml/encodings/SHIFT_JIS: wrong library name.
41571 Tue Feb 17 01:35:28 2004 Tanaka Akira <akr@m17n.org>
41573 * eval.c (rb_eval): care that another thread replace NODE_DREGX_ONCE
41574 to NODE_LIT. [ruby-dev:22920]
41576 Tue Feb 17 01:20:57 2004 Minero Aoki <aamine@loveruby.net>
41578 * lib/fileutils.rb: new module FileUtils::DryRun.
41580 Mon Feb 16 23:28:14 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41582 * lib/csv.rb: document reduction. [ruby-core:02429]
41584 * test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display.
41585 it should be defined that the specification about what kind of Range
41586 is supported in ruby's custom type in YAML.
41588 Mon Feb 16 22:22:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41590 * lib/generator.rb: corrected doc format
41592 * lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
41594 * lib/rinda/tuplespace.rb: ditto
41596 [Note: rinda files actually committed Wed Feb 18 07:27:00 2004]
41598 Mon Feb 16 20:28:52 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41600 * bcc32/Makefile.sub: show more warnings. (refering to mingw)
41602 * bcc32/setup.mak: ditto.
41604 Mon Feb 16 18:35:58 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41606 * win32/Makefile.sub (config.status): should create *.pdb on ext/,
41609 * win32/Makefile.sub (config.status): convert the name of import
41612 * lib/mkmf.rb (create_makefile): now don't need to remove
41615 Mon Feb 16 15:45:22 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41617 * configure.in: check functions, fork spawnv.
41619 * io.c (rb_io_s_popen): accept argv not only single command line.
41621 * process.c (rb_proc_exec_n): export.
41623 * process.c (rb_check_argv): check if arguments are safe to invoke.
41625 * process.c (rb_fork): retry to fork.
41627 * process.c (rb_spawn): spawn child process asynchronously.
41629 * process.c (rb_f_system): raise an exception if the command could not
41632 * win32/win32.c (rb_w32_argv_size): count necessary size for joined
41635 * win32/win32.c (rb_w32_join_argv): join arguments with quoting.
41637 * win32/win32.c (rb_w32_pipe_exec, rb_w32_spawn, rb_w32_aspawn):
41638 accept program name adding to command line.
41640 Mon Feb 16 15:18:33 2004 Minero Aoki <aamine@loveruby.net>
41642 * lib/racc/parser.rb: add note for Racc full package.
41644 Mon Feb 16 15:13:01 2004 Minero Aoki <aamine@loveruby.net>
41646 * ext/racc/cparse/README: new file.
41648 * ext/racc/cparse/MANIFEST: add README.
41650 Mon Feb 16 12:29:10 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41652 * ext/iconv/iconv.c (iconv_s_list): new method Iconv.list
41655 Mon Feb 16 10:29:52 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41657 * dir.c (CompareImpl): File.fnmatch and Dir.glob get better performance
41658 in Win32. This is achived by calling downcase() for single-byte
41659 characters. (CharLower() is slower than downcase())
41661 Mon Feb 16 02:14:29 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41663 * bcc32/Makefile.sub: should warn suspicious pointer conversion.
41665 * bcc32/setup.mak: ditto.
41667 Sun Feb 15 20:56:22 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41669 * dir.c (push_braces): remove wrong const. [ruby-dev:22891]
41671 Sun Feb 15 20:41:15 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41673 * sample/soap/calc/httpd.rb, sample/soap/exchange/httpd.rb,
41674 sample/soap/sampleStruct/httpd.rb, sample/wsdl/googleSearch/httpd.rb:
41675 use soap/property instead of getopts for configuring DocumentRoot
41676 and port# of httpd. see samplehttpd.conf below.
41678 * sample/soap/calc/samplehttpd.conf,
41679 sample/soap/exchange/samplehttpd.conf,
41680 sample/soap/sampleStruct/samplehttpd.conf,
41681 sample/wsdl/googleSearch/samplehttpd.conf: added.
41683 Sun Feb 15 19:13:33 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41685 * lib/rinda/tuplespace.rb: read(tpl,0), raise RequestExpiredError
41688 Sun Feb 15 15:48:57 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
41690 * ext/win32ole/win32ole.c: add IDispatch wrapper in val2variant.
41693 Sun Feb 15 15:23:29 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41695 * ruby.h, dir.c (rb_glob): add const.
41697 Sun Feb 15 01:46:05 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
41699 * lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY).
41702 Sat Feb 14 23:59:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41704 * mkconfig.rb: use fileutils.rb instead of ftools.rb.
41706 * bcc32/Makefile.sub, win32/Makefile.sub (config.h): define
41707 STACK_GROW_DIRECTION.
41709 * bcc32/Makefile.sub (config.h): add newer checks.
41711 * wince/Makefile.sub (config.h): define NEED_IO_SEEK_BETWEEN_RW.
41713 Sat Feb 14 23:26:27 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41715 * lib/un.rb: use OptionParser instead of getopts.
41717 Sat Feb 14 11:28:14 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41719 * sample/drb/*: import lib/drb/sample
41721 Sat Feb 14 11:14:12 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
41723 * lib/drb/drb.rb: add pretty_print, thanks gotoken.
41725 Fri Feb 13 21:51:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41727 * lib/fileutils.rb: slighly improved documentation (sync with 1.8)
41729 Fri Feb 13 19:57:01 2004 Kouhei Sutou <kou@cozmixng.org>
41731 * test/rss/test_trackback.rb: added tests for TrackBack with RSS
41734 * test/rss/common.rb: added methods make RSS 2.0.
41736 * lib/rss/trackback.rb: TrackBack API is decided.
41738 * lib/rss/rss.rb: RSS::VERSION 0.0.7 -> 0.0.8.
41740 * lib/rss/parser.rb, lib/rss/rss.rb: replaced $DEBUG by RSS::DEBUG.
41742 * lib/rss/2.0.rb: removed RSS 2.0 URI. Because RSS 2.0 doesn't
41745 Fri Feb 13 14:41:00 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
41747 * ext/tk/lib/tk.rb: en-bugged at last commit (Feb 11 23:24:22 2004)
41749 Fri Feb 13 12:26:37 2004 Minero Aoki <aamine@loveruby.net>
41751 * test/fileutils/test_fileutils.rb: rescue SystemCallError instead
41752 of EINVAL. File.link may raise EACCES on network file systems.
41754 Fri Feb 13 05:18:58 2004 Minero Aoki <aamine@loveruby.net>
41756 * test/fileutils/test_fileutils.rb: File.link raises EINVAL on
41757 Win9x. [ruby-dev:22713]
41759 Thu Feb 12 21:49:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41761 * lib/ftools.rb: documented
41763 Thu Feb 12 21:19:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
41765 * lib/base64.rb: added and tidied documentation
41767 Thu Feb 12 20:45:01 2004 Minero Aoki <aamine@loveruby.net>
41769 * lib/net/protocol.rb (WriteAdapater#puts): must append "\n" to
41770 the string, don't prepend. (ruby-bugs:PR#1280)
41772 Thu Feb 12 20:31:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41774 * lib/mkmf.rb (create_tmpsrc): cpp32 of Borland C++ ignores #error
41775 directives in DOS line-ending files at all.
41777 Thu Feb 12 15:23:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41779 * parse.y (rparen): ignore preceding newlines to right parentheses.
41780 (ruby-bugs:PR#1221) [ruby-dev:22858]
41782 Thu Feb 12 14:17:43 2004 WATANABE Hirofumi <eban@ruby-lang.org>
41784 * configure.in: set ac_cv_func_link to yes to enable link() on MinGW.
41787 Thu Feb 12 13:32:49 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41789 * win32/win32.c (link): raise NotImplementedError on Win9X.
41790 contributed by Tietew. [ruby-dev:22713]
41792 * win32/win32.c, win32/win32.h (link): add const.
41794 Thu Feb 12 09:56:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41796 * ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.
41798 Thu Feb 12 02:23:56 2004 Tanaka Akira <akr@m17n.org>
41800 * lib/pathname.rb: use assert_raise instead of assert_raises.
41802 * lib/pp.rb: ditto.
41804 * lib/time.rb: ditto.
41806 * lib/tsort.rb: ditto.
41807 use TSortHash and TSortArray instead of Hash and Array in test.
41809 Wed Feb 11 23:24:22 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
41811 * ext/tk/lib/tk.rb: properly treat a Tcl/Tk's string with escaping
41812 special characters.
41814 Tue Feb 10 20:49:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41816 * eval.c (method_proc): return bound Proc object. [ruby-dev:22854]
41818 * eval.c (rb_mod_define_method): bind method body itself for Method
41821 * node.h (NODE_DMETHOD): deprecated.
41823 * object.c (rb_class_inherited_p): export.
41825 Tue Feb 10 16:43:50 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41827 * eval.c (umethod_bind): purge unused check. [ruby-dev:22850]
41829 Tue Feb 10 14:33:08 2004 NAKAMURA Usaku <usa@ruby-lang.org>
41831 * string.c (rb_str_match): raise TypeError when both arguments are
41832 strings. [ruby-dev:22851]
41834 * string.c (rb_str_match2): removed.
41836 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
41837 wince/Makefile.sub (string.c): now not depend on version.h.
41839 Mon Feb 9 17:46:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41841 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
41842 runruby.rb: run rdoc, test and so on with compiled extension
41843 libraries. [ruby-dev:22688]
41845 * ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
41846 directory, similar to the actual directory structure.
41848 * lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
41849 file to create new file.
41851 * lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
41852 influence by envirionment variable.
41854 * bcc32/configure.bat, win32/configure.bat: add install-doc options.
41856 * win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
41857 bug which returns wrong mode. [ruby-dev:22846]
41859 Mon Feb 9 16:30:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41861 * process.c (detach_process_watcher): return the last status.
41864 Sun Feb 8 16:46:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41866 * lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
41867 sign for higher heap areas.
41869 Sun Feb 8 16:18:27 2004 akira yamada <akira@ruby-lang.org>
41871 * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
41874 Sun Feb 8 15:51:57 2004 akira yamada <akira@ruby-lang.org>
41876 * test/ruby/test_file.rb (TestFile::test_fnmatch): added tests for
41877 File.fnmatch. [ruby-dev:22815][ruby-dev:22819]
41879 Sun Feb 8 15:41:45 2004 akira yamada <akira@ruby-lang.org>
41881 * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
41882 added tests. [ruby-core:02306] [ruby-core:02311]
41884 Sun Feb 8 14:24:35 2004 Minero Aoki <aamine@loveruby.net>
41886 * lib/net/http.rb (HTTP#request): should not overwrite Connection
41887 header. (ruby-bugs:PR#1274)
41889 Sun Feb 8 10:11:21 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41891 * dir.c (glob_helper): Dir.glob('**/') did not work. [ruby-dev:22832]
41893 Sun Feb 8 00:29:26 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
41895 * dir.c (fnmatch): File.fnmatch('*?', 'a') should return true.
41898 * dir.c (fnmatch): File.fnmatch('\[1\]' , '[1]') should return true.
41901 * dir.c: Did some styles (no change to behavior)
41903 Sat Feb 7 19:56:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41905 * lib/irb/init.rb (IRB.rc_files): yield possible rc file names.
41907 * lib/irb/input-method.rb (IRB::ReadlineInputMethod::initialize):
41908 load and save history automatically. [ruby-core:02352]
41910 Fri Feb 6 22:48:16 2004 Dave Thomas <dave@pragprog.com>
41912 * lib/rdoc/generators/html_generator.rb (gen_url): Support
41913 https in RDoc hyperlinks
41915 Fri Feb 6 22:41:22 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41917 * lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous
41918 commit. [ruby-dev:22813]
41920 Fri Feb 6 22:22:50 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
41922 * lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
41923 variable which is defined in the test.
41925 Fri Feb 6 18:54:18 2004 akira yamada <akira@ruby-lang.org>
41927 * test/ruby/test_proc.rb (TestProc::test_eq): added a
41928 test. [ruby-dev:22599]
41930 Fri Feb 6 18:26:00 2004 akira yamada <akira@ruby-lang.org>
41932 * test/ruby/test_proc.rb (TestProc::test_eq): added tests for
41933 Proc#==. [ruby-dev:22592], [ruby-dev:22601]
41935 Fri Feb 6 10:12:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41937 * ext/socket/socket.c (bsock_do_not_reverse_lookup): control reverse
41938 lookup for every instance. [ruby-core:02346]
41940 Fri Feb 6 09:15:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41942 * lib/irb/extend-command.rb: add irb_help command. [ruby-talk:91610]
41944 * lib/irb/cmd/help.rb (IRB::ExtendCommand::Help): show RDoc.
41946 Fri Feb 6 00:48:37 2004 Tanaka Akira <akr@m17n.org>
41948 * lib/prettyprint.rb (PrettyPrint#first?): obsoleted.
41950 Thu Feb 5 23:56:55 2004 Tanaka Akira <akr@m17n.org>
41952 * lib/prettyprint.rb (PrettyPrint#seplist): added.
41954 * lib/pp.rb (PPMethods#pp_object): use seplist.
41955 (PPMethods#pp_hash): ditto.
41956 (Array#pretty_print): ditto.
41957 (Struct#pretty_print): ditto.
41958 (MatchData#pretty_print): ditto.
41960 * lib/set.rb (Set#pretty_print): use seplist.
41962 Wed Feb 4 22:39:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41964 * file.c (rb_stat_mode): should not sign-expand, so backout.
41966 Wed Feb 4 02:12:06 2004 Tanaka Akira <akr@m17n.org>
41968 * file.c (test_l): fix wrong method name in document.
41972 (test_suid): ditto.
41973 (test_sgid): ditto.
41974 (test_sticky): ditto.
41976 Tue Feb 3 22:36:25 2004 Kouhei Sutou <kou@cozmixng.org>
41978 * lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,
41979 lib/rss/rss.rb, lib/rss/syndication.rb: removed warnings.
41981 * lib/rss/converter.rb: removed handling load error of nkf.
41983 * test/rss/test_syndication.rb, test/rss/test_trackback.rb,
41984 test/rss/test_dublincore.rb, test/rss/test_content.rb: replaced
41985 'require "rss/parser"' by 'require "rss/1.0"'.
41987 * test/rss/test_parser.rb, test/rss/test_accessor.rb: removed
41988 'require "rss/parser"'.
41990 Tue Feb 3 11:23:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
41992 * parse.y (reduce_nodes): remove tail returns. [ruby-talk:90934]
41994 Tue Feb 3 08:04:57 2004 Tanaka Akira <akr@m17n.org>
41996 * lib/pp.rb (Struct#pretty_print_cycle): follow 1.8 style.
41998 Mon Feb 2 22:06:31 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42000 * parse.y (block_append, new_evstr, void_expr0): remove no longer used
42003 Mon Feb 2 18:45:50 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42005 * dln.c (dln_load): don't specify RTLD_GLOBAL on Interix,
42006 because it caused SEGV when running runner.rb.
42008 Mon Feb 2 01:54:00 2004 Tanaka Akira <akr@m17n.org>
42010 * lib/pp.rb (Struct#pretty_print): make it 1.8 style.
42011 (Numeric#pretty_print, FalseClass#pretty_print)
42012 (TrueClass#pretty_print, Module#pretty_print): fix pp for objects
42013 with instance variables. [ruby-talk:91157]
42015 * lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopback
42018 * lib/resolv-replace.rb (BasicSocket#send): don't replace because
42019 it has no hostname argument.
42020 (IPSocket.getaddress): raise SocketError instead of
42021 Resolv::ResolvError for errors.
42022 (TCPSocket#initialize, UDPSocket#bind, UDPSocket#connect)
42023 (SOCKSSocket#initialize): use IPSocket.getaddress instead of
42025 (UDPSocket#send): recognize 3 arguments form. try all addresses on
42028 Sun Feb 1 23:00:00 2004 Shigeo Kobayashi <shigek@ruby-lang.org>
42030 * ext/bigdecimal.c: Bug in BigDecimal("1e#{n}").add BigDecimal('.5'),n)
42031 reported and fixed by Javier Goizueta.
42033 Sun Feb 1 18:21:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42035 From ruby_1_8 branch:
42036 * lib/test/unit.rb: rearranged documentation for RDoc's sake.
42037 * lib/matrix.rb: improved documentation.
42038 * lib/net/http.rb: slight documentation formatting improvement.
42040 Sun Feb 1 05:30:06 2004 Tanaka Akira <akr@m17n.org>
42042 * lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY.
42043 raise an errror on non-http proxy URI.
42044 (OpenURI::Buffer#<<): make a tempfile binmode. [ruby-talk:90793]
42046 Sun Feb 1 00:57:41 2004 Kouhei Sutou <kou@cozmixng.org>
42048 * lib/rss/parser.rb (RSS::Parser): added @@default_parser. Used
42049 XML parser became selectable.
42050 * test/rss/test_parser.rb: added tests for
42051 RSS::Parser.default_parser.
42053 Sat Jan 31 02:28:15 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42055 * configure.in (RPATHFLAG): set to -Wl,-R like NetBSD on Interix.
42057 Sat Jan 31 01:09:41 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42059 * lib/logger.rb: leading 0 padding of timestamp usec part.
42061 Fri Jan 30 18:53:23 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42063 * re.c (KR_REHASH): wrong hash value on sizeof(long) > sizeof(int).
42065 Thu Jan 29 23:11:57 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42067 * configure.in (DLEXT2): removed. Ruby does not treat
42068 ".dll" as a extention library anymore.
42070 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (DLEXT2):
42073 * util.c (mblen): fix overrun. [ruby-dev:22672]
42075 Thu Jan 29 22:41:53 2004 Dave Thomas <dave@pragprog.com>
42077 * lib/rdoc/generators/html_generator.rb: Allow 'link:' in Tidylinks.
42078 THis means you can write "see f1[link:files/f1_rb.html]".
42080 Thu Jan 29 22:24:47 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42082 * sample/openssl/gen_csr.rb: follow OpenSSL::X509::Name change.
42083 ASN.1 type of subject DN elements were wrong.
42085 Thu Jan 29 22:19:51 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42087 * test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb to
42090 Thu Jan 29 19:28:16 2004 Minero Aoki <aamine@loveruby.net>
42092 * lib/net/http.rb (Request#initialize): reject only when a path is
42093 empty. [ruby-dev:22771]
42095 Thu Jan 29 18:54:08 2004 H.Yamamoto <ocean@m2.ccsnet.ne.jp>
42097 * dir.c (glob_helper): infinite loop bug in win32 code.
42100 Thu Jan 29 17:03:49 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42102 * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
42105 Thu Jan 29 11:32:14 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42107 * test/rss/test_*: do $: trick while searching a module in the current
42110 * test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb,
42111 test/soap/helloworld/test_helloworld.rb,
42112 test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path
42113 before using __FILE__.
42115 * test/yaml/test_yaml.rb: assert_equals -> assert_equal.
42117 Thu Jan 29 01:56:02 2004 why the lucky stiff <why@ruby-lang.org>
42119 * ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]
42121 * lib/yaml/rubytypes.rb: character Range now round-trips. [ruby-core:2306]
42123 * test/yaml/test_yaml.rb: add Time and Range tests.
42125 Thu Jan 29 00:00:46 2004 Kouhei Sutou <kou@cozmixng.org>
42127 * lib/rss: rss/parser.rb is always required.
42129 Wed Jan 28 15:09:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42131 * test/rss/*.rb: remove "test/" prefix.
42133 Wed Jan 28 13:07:02 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42135 * ext/iconv/extconf.rb: include iconv.h for libiconv. [ruby-dev:22715]
42137 Wed Jan 28 12:43:07 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42139 * lib/rss: rss library imported. [ruby-dev:22726]
42141 Wed Jan 28 04:29:41 2004 Eric Schwartz <emschwar@fc.hp.com>
42143 * lib/cgi/session.rb: use LOCK_SH to read, and a few other
42144 improvements. [ruby-core:02328]
42146 Tue Jan 27 15:00:14 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42148 * misc/ruby-mode.el: better support for general delimited
42149 strings. [ruby-dev:22695]
42151 Tue Jan 27 11:04:40 2004 FUKUMOTO Atsushi <fukumoto@nospam.imasy.or.jp>
42153 * ext/socket/socket.c (s_recvfrom): sending length should be an
42154 invariant while retrying on EAGAIN. [ruby-talk:89962]
42156 Tue Jan 27 10:31:28 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42158 * ext/win32ole/win32ole.c (set_argv): fix condition.
42160 Tue Jan 27 02:26:31 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42162 * lib/webrick/httputils.rb (WEBrick:HTTPUtils::parse_header):
42163 refine regex for header-name.
42165 Mon Jan 26 22:53:04 2004 Dave Thomas <dave@pragprog.com>
42167 * io.c: Remove documentation references to $defout.
42169 Mon Jan 26 14:41:46 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42171 * lib/weakref.rb (WeakRef::initialize): set up @__id before
42174 * lib/delegate.rb (Delegator::initialize): preserve
42175 singleton_method_added method [ruby-dev:22685]
42177 * lib/delegate.rb (Delegator::initialize): use Kernel::raise
42178 instead of mere raise. [ruby-dev:22681]
42180 Mon Jan 26 12:45:23 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
42182 * ext/tcltklib/tcltklib.c: define CONST84 when TCL_MAJOR_VERSION == 7
42184 Mon Jan 26 11:30:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42186 * ext/extmk.rb: Makefiles should depend on also rbconfig.rb.
42187 (ruby-bugs:PR#1256)
42189 * ext/win32ole/win32ole.c (set_argv): set real arguments to
42190 WIN32OLE::ARGV. [ruby-list:39073]
42192 Sun Jan 25 18:25:26 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42194 * ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): third
42195 argument become optional.
42197 * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
42199 * ext/openssl/ossl_x509name.c (Init_x509name): emailAddress and
42200 domainComponent should be IA5String.
42202 Sun Jan 25 01:45:38 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42204 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): support
42207 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host): add
42208 new method to register virtual hosting server.
42210 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): add
42211 new method to lookup virtual hosting server.
42213 Sat Jan 24 13:06:26 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42215 * ext/openssl/ossl_x509hame.c (ossl_x509name_initialize): change
42216 second argument. it expected to be a Hash not an Integer.
42218 * ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): add new
42219 function for OpenSSL::X509::Name#add_entry.
42221 * ext/openssl/ossl_x509name.c (Init_ossl_x509name): add constants
42222 OpenSSL::X509::Name::DEFAULT_OBJECT_TYPE and OBJECT_TYPE_TEMPLATE.
42224 * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#initialize):
42225 second argument takes OBJECT_TYPE_TEMPLATE by default.
42227 Fri Jan 23 02:26:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42229 * pack.c (num2i32): pack should not raise RangeError.
42232 * pack.c (pack_pack): do not auto convert nil to zero.
42234 Thu Jan 22 22:54:53 2004 Shugo Maeda <shugo@ruby-lang.org>
42236 * lib/net/imap.rb (BEG_REGEXP): allow 8-bit characters in quoted
42237 strings for Novell GroupWise Internet Agent.
42239 * lib/net/imap.rb (DATA_REGEXP): ditto.
42241 Thu Jan 22 18:35:49 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42243 * lib/e2mmap.rb (VERSION): remove unnecessary version checking.
42245 Thu Jan 22 16:21:02 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42247 * parse.y (string_content): reset lexical states at the beginning of
42248 string contents. [ruby-list:39061]
42250 Thu Jan 22 08:08:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42252 * parse.y (opt_rescue): use NODE_ERRINFO() instead of
42253 NODE_GVAR("$!"), to avoid confusion from variable aliasing.
42256 * version.c (Init_version): remove obsolete constants VERSION
42257 etc. [ruby-dev:22643]
42259 Thu Jan 22 01:46:32 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42261 * parse.y (newline_node): do not use NODE_NEWLINE node anymore,
42262 use NEWLINE flag instead.
42264 Thu Jan 22 01:12:12 2004 Siena. <siena@faculty.chiba-u.jp>
42266 * missing/os2.c (chdir, getcwd):
42267 use _chdir2 and _getcwd2 supporting multiple drives in OS/2 with EMX.
42269 Thu Jan 22 00:33:52 2004 Siena. <siena@faculty.chiba-u.jp>
42271 * configure.in: check availability of link(). [ruby-dev:22237]
42272 * file.c (rb_file_s_link): raise an exception when link() is unavailable.
42273 * missing/os2.c (link): removed. File#link isn't supported.
42274 * bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241]
42275 * win32/Makefile.sub: ditto.
42277 Thu Jan 22 00:26:25 2004 Siena. <siena@faculty.chiba-u.jp>
42279 * ChangeLog: typo: RUBY_MBCHAR_MAX was RUBY_MBCHAR_MAXSIZE.
42281 Thu Jan 22 00:12:51 2004 Siena. <siena@faculty.chiba-u.jp>
42283 * defines.h: define RUBY_MBCHAR_MAX instead of MB_CUR_MAX.
42284 * dir.c (Next, emx_mblen): use RUBY_MBCHAR_MAX for mblen().
42285 * file.c (CharNext): ditto.
42286 * ruby.c (translate_char): ditto.
42287 * util.c (__crt0_glob_function): ditto.
42289 Thu Jan 22 00:10:01 2004 Dave Thomas <dave@pragprog.com>
42291 * lib/base64.rb: :nodoc: the Deprecated module
42293 Wed Jan 21 23:52:39 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42295 * configure.in: Interix(SFU) support.
42297 Wed Jan 21 23:03:45 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
42299 * lib/drb/drb.rb: remove O_NONBLOCK, thanks \ay
42300 * lib/drb/extserv.rb: typo
42302 Wed Jan 21 17:57:56 2004 Shugo Maeda <shugo@ruby-lang.org>
42304 * lib/net/imap.rb (envelope): allow NIL.
42305 * lib/net/imap.rb (body): ditto.
42306 * lib/net/imap.rb (number): ditto.
42307 * lib/net/imap.rb (ensure_nz_number): show a detailed error
42310 Wed Jan 21 16:44:15 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42312 * lib/mkmf.rb (merge_libs): squeeze successive same libraries.
42315 Wed Jan 21 16:10:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42317 * lib/base64.rb: enclosed in a module. [ruby-core:02285]
42319 Wed Jan 21 16:01:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42321 * ext/digest/rmd160/extconf.rb: have_library appends found library.
42323 Wed Jan 21 11:36:00 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42325 * ext/socket/socket.c (sock_gethostbyname): returns host if
42326 ai_canonname is NULL. (ruby-bugs PR#1243)
42328 * parse.y (block_append): update nd_end for "real" head node.
42331 Tue Jan 20 14:48:28 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42333 * ext/openssl/extconf.rb: should check <openssl/conf_api.h> instead
42334 of OPENSSL_VERSION_NUMBER. [ruby-list:39056]
42336 Tue Jan 20 14:43:17 2004 Dave Thomas <dave@pragprog.com>
42338 * lib/base64.rb: Add RDoc
42340 Tue Jan 20 14:25:51 2004 Dave Thomas <dave@pragprog.com>
42342 * lib/abbrev.rb: Add RDoc
42344 Tue Jan 20 13:22:39 2004 Dave Thomas <dave@pragprog.com>
42346 * lib/rdoc/generators/html_generator.rb: Document aliases at
42349 * lib/English.rb: Document English.rb.
42351 Tue Jan 20 04:41:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42353 * test/ruby/test_marshal.rb (MarshalTestLib::test_exception): test
42354 for [ruby-dev:22604].
42356 * test/ruby/test_marshal.rb (MarshalTestLibtest_singleton): test
42357 for [ruby-dev:22588].
42359 Tue Jan 20 02:38:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42361 * marshal.c (w_class): should not dump singleton class.
42364 Tue Jan 20 02:49:22 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42366 * ext/openssl/extconf.rb: add check for OpenSSL version.
42369 Mon Jan 19 23:56:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42371 * error.c (name_err_mesg_to_str): inverted condition for result of
42372 inspection. [ruby-dev:22628]
42374 Mon Jan 19 22:24:28 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42376 * sample/exyacc.rb: escape '}' to avoid warning.
42378 * lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.
42380 Mon Jan 19 21:28:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42382 * ext/digest/defs.h, win32/win3.c, win32/win32.h, file.c: remove
42383 useless casts for Borland C.
42385 Mon Jan 19 17:39:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42387 * error.c (NameError::message): internal use only.
42389 * eval.c (rb_method_missing): use hidden constant.
42391 Mon Jan 19 16:30:53 2004 akira yamada <akira@ruby-lang.org>
42393 * test/ruby/test_time.rb: added tests for [ruby-dev:22614] and
42396 Mon Jan 19 13:09:21 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42398 * ext/extmk.rb, win32/Makefile.sub, win32/configure.bat,
42399 win32/setup.mak: --with-static-linked-ext support on mswin32.
42401 Mon Jan 19 06:49:07 2004 Tadayoshi Funaba <tadf@dotrb.org>
42403 * lib/date.rb: zone was wrong when it was behind UTC.
42404 Thanks Mark J. Reed.
42406 * lib/date/format.rb: %z is now always replaced by four digits
42407 with a leading plus or minus sign.
42409 * sample/cal.rb: added a class, anyway.
42411 Mon Jan 19 01:08:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42413 * class.c, error.c, eval.c, intern.h, object.c, variable.c:
42414 do not set path if it is a singleton class. [ruby-dev:22588]
42416 * lib/cgi.rb (CGI::QueryExtension): give extended string, not a
42419 Sun Jan 18 23:59:44 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42421 * ext/iconv/charset_alias.rb: prefer us_EN locale encodings or
42422 former. [ruby-dev:22609]
42424 * ext/iconv/iconv.c (iconv_create): raise InvalidEncoding
42425 exception when EINVAL.
42427 Sun Jan 18 23:16:34 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42429 * class.c, error.c, file.c, io.c, numeric.c, object.c, re.c, struct.c,
42430 time.c: marked init_copy functions nodoc.
42432 Sun Jan 18 20:47:35 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42434 * ruby.c: use translate_char() on Cygwin.
42436 Sun Jan 18 20:00:16 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42438 * lib/soap/wsdlDriver.rb, lib/wsdl/soap/operation.rb: add support of
42439 "parts" attribute of soap:body element in WSDL.
42441 * lib/wsdl/xmlSchema/schema.rb: friendly warning message for
42442 simpleType element which is not supported for now.
42444 * test/wsdl/soap/{soapbodyparts.wsdl,test_soapbodyparts.wsdl}: new
42447 Sun Jan 18 16:46:48 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42449 * time.c (time_overflow_p): should return results. [ruby-dev:22614]
42451 Sun Jan 18 12:07:24 2004 Siena. <siena@faculty.chiba-u.jp>
42453 * test/ruby/test_time.rb: new test case to test Time#[+-].
42455 * time.c (time_plus, time_minus): fix RangeError for a negative
42456 argument in environments whose time_t is unsigned. [ruby-dev:22608]
42458 Sun Jan 18 02:33:26 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42460 * defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH.
42462 Sun Jan 18 00:23:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42464 * marshal.c (class2path): check anonymous class/module before
42465 checking referable, and allow singleton classes.
42467 Sat Jan 17 23:58:51 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42469 * error.c (NameError::Message): new class for lazy evaluation of
42470 message to ensure replaced before marshalling. [ruby-dev:22604]
42472 * eval.c (rb_method_missing): use NameError::Message.
42474 Sat Jan 17 21:49:50 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42476 * lib/time.rb (test_rfc2822, test_rfc3339, test_encode_xmlschema):
42477 should not expect that all platforms handle negative time_t value.
42479 Fri Jan 16 23:53:09 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42481 * eval.c (proc_eq): compare also arguments and environment
42482 (including local variables). [ruby-dev:22590]
42484 Fri Jan 16 14:33:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42486 * marshal.c (class2path): get class path and check referable.
42489 Thu Jan 15 12:58:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42491 * io.c (argf_read): do not append EOF. (ruby-bugs-ja:PR#585)
42493 * io.c (rb_io_fwrite): ad-hockery hack to get rid of HP-UX stdio
42494 weird behavior. [ruby-dev:22424]
42496 Wed Jan 14 21:13:06 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42498 * test/inlinetest.rb (InlineTest::eval_part): eval under the top
42501 Wed Jan 14 17:54:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42503 * test/inlinetest.rb (InlineTest::loadtest): require instead of
42504 load, to get rid of multiple loading.
42506 Wed Jan 14 13:30:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42508 * ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform.
42510 Wed Jan 14 09:32:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42512 * MANIFEST: add test/net/test_httpheader.rb. (commit miss?)
42514 Wed Jan 14 00:58:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42516 * eval.c (Init_Proc): move SystemStackError from under
42517 StandardError to Exception. [ruby-talk:89782]
42519 Tue Jan 13 18:03:02 2004 Ian Macdonald <ian@caliban.org>
42521 * file.c (rb_stat_wr, rb_stat_ww): New functions
42522 implementing new methods (File::Stat#world_readable?,
42523 File::Stat#world_writable?).
42525 Tue Jan 13 16:53:25 2004 why the lucky stiff <why@ruby-lang.org>
42527 * ext/syck/rubyext.c: omission of Date library code caused
42528 test suite failure. [ruby-core:2251]
42530 Tue Jan 13 16:50:03 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
42532 * ext/tk/lib/tk.rb: use $0 as the default application class name.
42534 Tue Jan 13 14:48:00 2004 Ian Macdonald <ian@caliban.org>
42536 * lib/pathname.rb: New methods (Pathname#world_readable?,
42537 Pathname#world_writable?).
42539 Tue Jan 13 14:48:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42541 * parse.y (primary): allow no "when" case. [ruby-dev:22578]
42543 * ruby.h (rb_class_of): reduce branch. [ruby-dev:22577]
42545 * ruby.h (rb_type): ditto.
42547 Tue Jan 13 14:26:59 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
42549 * lib/test/unit/ui/testrunnerutilities.rb (TestRunnerUtilities):
42550 moved run method which allows output level. [ruby-dev:22554]
42552 Tue Jan 13 13:04:24 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42554 * test/test_*.rb: Pathname#parent -> Pathname#dirname.
42556 Tue Jan 13 11:38:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42558 * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_spec_type_{int,float}):
42561 Tue Jan 13 07:52:40 2004 why the lucky stiff <why@ruby-lang.org>
42563 * ext/syck/bytecode.c: turn off default implicit typing.
42565 * ext/syck/implicit.c: detect base60 integers.
42567 * ext/syck/rubyext.c: handle base60, as well as hex and octal
42568 with commas. implicit typing of ruby symbols.
42570 * test/yaml/test_yaml.rb: add test.
42572 Tue Jan 13 04:29:52 2004 Dave Thomas <dave@pragprog.com>
42574 * lib/rdoc/ri/ri_driver.rb (RiDriver::report_method_stuff):
42575 Show fully-qualified class names in class list.
42577 Tue Jan 13 01:24:17 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42579 * file.c (test_wr): Rdoc fix. [ruby-core:02225]
42581 Tue Jan 13 01:04:37 2004 Dave Thomas <dave@pragprog.com>
42583 * lib/rdoc/ri/ri_paths.rb (RI::Paths): First attempt at
42584 incorporating DESTDIR in the rdoc installation.
42586 Mon Jan 12 23:26:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42588 * parse.y (primary): fix position after FCALL. [ruby-dev:22574]
42590 Mon Jan 12 18:00:11 2004 Ian Macdonald <ian@caliban.org>
42592 * file.c (test_wr, test_ww): New functions implementing new
42593 methods (File::world_readable?, File::world_writable?).
42595 * file.c (S_IRUGO, S_IGUGO): New macros.
42597 Mon Jan 12 12:07:22 2004 Dave Thomas <dave@pragprog.com>
42599 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods):
42600 Someone changed the "// in eval.c" comments to "/*...*/" style,
42601 so the parsing of the source file name broke.
42603 * object.c: Remove spurious space in TrueClass documentation.
42605 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body): Fix
42606 bad regexp: if the code before a documented method contained
42607 a comment that wasn't terminated by whitespace, that comment
42608 and all intervening code was included in the following
42609 method's documentation.
42611 * lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter::break_to_newline):
42612 HTML formats need explicit line breaks.
42614 Mon Jan 12 02:24:07 2004 Dave Thomas <dave@pragprog.com>
42616 * lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter): Add HTML
42617 generation support to ri (Elliot Hughes)
42619 Sun Jan 11 23:54:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42621 * env.h (ruby_frame, ruby_scope, ruby_in_eval, ruby_class,
42622 ruby_dyna_vars): export. [ruby-dev:22566]
42624 Sun Jan 11 02:35:53 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42626 * ext/socket/socket.c (make_hostent): a bug in brace position.
42628 * configure.in: install rdoc by default. if you do not want to
42629 install rdoc, specify --disable-install-doc.
42631 Sun Jan 11 02:07:47 2004 Dave Thomas <dave@pragprog.com>
42633 * lib/rdoc/ri/ri_options.rb (RI::Options::OptionList::OptionList):
42634 Also accept command line options via the 'RI' environment variable.
42636 Sat Jan 10 21:27:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42638 * eval.c (eval): need to add message delimiter. [ruby-dev:22561]
42640 Sat Jan 10 01:54:50 2004 Eric Sunshine <sunshine@sunshineco.com>
42642 * defines.h (__NeXT__): Ensure that all standard S_IRUSR, S_IWGRP,
42643 S_IRWXO, etc. macros are defined since future code might require
42644 them (even though present code only requires a subset).
42646 * defines.h (__NeXT__): Bug fix: WORDS_BIGENDIAN was not being set
42647 correctly on Rhapsody when -arch compiler flag was used (via
42648 configure's --enable-fat-binary option).
42650 Sat Jan 10 23:01:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42652 * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single
42653 quotes. [ruby-dev:22564]
42655 * lib/mkmf.rb (libpathflag): do not enclose with quotes always.
42657 * {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted.
42659 Sat Jan 10 22:46:18 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42661 * dir.c (dir_inspect): new method, Dir#inspect. [ruby-dev:22562]
42663 Fri Jan 9 17:36:51 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42665 * ext/socket/socket.c (make_hostent): getaddrinfo(3) on BSD do not
42666 fill ai_canonname if serv is not supplied. (ruby-bugs PR#1243)
42668 Fri Jan 9 13:14:59 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42670 * lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadError
42671 and SystemExitError) while loading a testcase. smell of bug.
42673 * test/testunit/collector/test_dir.rb: add new test of the LoadError.
42675 * test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if
42676 openssl is not installed.
42678 * test/testunit/collector/test_dir.rb: assert_raises -> assert_raise.
42680 Fri Jan 9 11:52:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42682 * rubysig.h: <errno.h> is needed to use errno which may be a macro.
42684 Fri Jan 9 11:20:24 2004 Siena. <siena@faculty.chiba-u.jp>
42686 * ext/extmk.rb (extmake): should not reduce necessary libraries.
42689 * lib/mkmf.rb (merge_libs): merge libraries according to
42692 Fri Jan 9 10:05:23 2004 Siena. <siena@faculty.chiba-u.jp>
42694 * lib/mkmf.rb (libpathflag): use single quotes. [ruby-dev:22440]
42696 Thu Jan 8 23:49:21 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42698 * configure.in (RDOCTARGET): new macro. if you want to install
42699 rdoc documentation, you need to run configure with
42700 --enable-install-doc.
42702 Thu Jan 8 21:17:43 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42704 * ext/openssl/ossl_pkey.c (ossl_pkey_to_der): removed; it returns
42707 * ext/openssl/ossl_pkey_dh.c (ossl_dh_to_der): new function for
42708 OpenSSL::PKey::DH#to_der.
42710 * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_to_der): new function for
42711 OpenSSL::PKey::DSA#to_der.
42713 * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_to_der): new function for
42714 OpenSSL::PKey::RSA#to_der.
42716 Thu Jan 8 18:25:29 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42718 * dir.c (glob_helper): should not recurse in exceptional status.
42720 Thu Jan 8 16:51:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42722 * test/wsdl/datetime/test_datetime.rb: fixed a stupid testcase which
42723 dumps "E" at month-end.
42725 Thu Jan 8 11:20:01 2004 WATANABE Hirofumi <eban@ruby-lang.org>
42727 * eval.c, object.c, process.c, re.c: don't use C++ style comments.
42729 Thu Jan 8 08:46:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42731 * ext/syck/rubyext.c (yaml_org_handler): lazy-load Date for
42734 Thu Jan 8 07:06:30 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42736 * ext/extmk.rb: preserve order in Setup. [ruby-dev:22503]
42738 * ext/extmk.rb: move dependent libraries just after depended
42741 * ext/digest/*/extconf.rb: depend on digest.
42743 Thu Jan 8 04:36:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42745 * lib/webrick/cgi.rb (WEBrick::CGI#initialize): should create
42746 @config[:Logger] if it was not given.
42748 Wed Jan 7 22:28:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42750 * dir.c (glob_helper): fix memory leak.
42752 Wed Jan 7 21:15:07 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
42754 * sample/webrick/*: new files.
42756 * MANIFEST: add sample/webrick/*
42758 Wed Jan 7 20:51:51 2004 Minero Aoki <aamine@loveruby.net>
42760 * test/net/test_httpheader.rb: new file.
42762 * MANIFEST: add test/net/test_httpheader.rb.
42764 Wed Jan 7 20:42:06 2004 Minero Aoki <aamine@loveruby.net>
42766 * lib/net/http.rb (HTTPHeader#content_length): should return nil
42767 unless header exists. [ruby-dev:22519]
42769 Wed Jan 7 14:26:05 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
42771 * ext/tk/lib/tk.rb (TkPanedWindow): use epath for embedded windows.
42773 * ext/tk/lib/tktext.rb: use epath for embedded windows.
42775 * ext/tk/lib/tkcanvas.rb: use epath for window items.
42777 Wed Jan 7 14:24:04 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42779 * lib/soap/{attachment.rb,mimemessage.rb}: added from soap4r/1.5.2.
42781 Wed Jan 7 13:00:18 2004 Dave Thomas <dave@pragprog.com>
42783 * lib/rdoc/ri/ri_driver.rb: Fix problem where ri was
42784 being too eager to find matches of ambiguous method
42785 names (such as "ri Thread.join" would return both
42786 Thread.join and ThreadsWait.join)
42788 Wed Jan 7 12:35:41 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42790 * lib/debug.rb: revert command parse regexps. [ruby-list:39014] by
42793 Wed Jan 7 08:21:04 2004 Dave Thomas <dave@pragprog.com>
42795 * lib/rdoc/parsers/parserfactory.rb: Check for shebang
42796 line in files that would otherwise be treated as
42799 Tue Jan 6 22:13:34 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42801 * eval.c (rb_mod_modfunc): should break if m has no super class.
42804 Tue Jan 6 21:51:37 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
42806 * io.c (fptr_finalize): should save errno just after failure.
42809 Tue Jan 6 20:51:10 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42811 * lib/logger.rb(Logger#msg2str): no special treatment for the object
42812 which responds to :to_str.
42814 * lib/logger.rb(LogDevice#initialize): remove type checking if the
42815 given object is a String. Kernel.open handles it correctly.
42817 * test/logger/test_logger.rb: follow above change (ArgumentError ->
42820 Tue Jan 6 14:53:14 2004 Dave Thomas <dave@pragprog.com>
42822 * bin/ri: split out the display side, making it pluggable. Added
42823 new ri_driver and ri_display files in lib/rdoc/ri.
42825 Tue Jan 6 11:29:43 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42827 * test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,
42828 test_pathname.rb,test_pp.rb,test_prettyprint.rb,test_set.rb,
42829 test_time.rb,test_tsort.rb: added.
42831 Tue Jan 6 09:38:27 2004 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
42833 * import soap4r/1.5.2;
42835 * lib/soap/{attachment.rb,baseData.rb,encodingstyle/soapHandler.rb}:
42836 introduce SOAPExternalReference class as a referenct to SOAPEnvelope
42839 * lib/soap/{attachment.rb,mimemessage.rb}: great SwA (SOAP messages
42840 with Attachments) support code by Jamie Herre.
42842 * lib/soap/{element.rb,marshal.rb,parser.rb,processor.rb,
42843 streamHandler.rb,wsdlDriver.rb}: SwA support.
42845 * lib/soap/rpc/{cgistub.rb,driver.rb,element.rb,proxy.rb,router.rb,
42846 soaplet.rb}: SwA support and refactoring.
42848 * lib/soap/generator.rb, lib/soap/mapping/mapping.rb: follow
42849 SOAPReference#initialize signature change.
42851 * lib/soap/mapping/factory.rb: deleted unused methods.
42853 * lib/soap/mapping/rubytypeFactory.rb: do no ignore case while xsi:type
42854 string <-> Ruby class name matching.
42856 * lib/xsd/datatypes.rb: check the smallest positive non-zero
42857 single-precision float exactly instead of packing with "f".
42860 * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: use 1.402e-45, not
42861 1.4e-45. 1.4e-45 is smaller than 2 ** -149...
42863 * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb,
42864 test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0".
42866 * test/soap/test_streamhandler.rb: revert to the previous test that
42867 warns "basic_auth unsupported under net/http".
42869 Tue Jan 6 06:37:53 2004 Dave Thomas <dave@pragprog.com>
42871 * bin/rdoc: Add --ri-system switch
42873 * lib/.document: Update with list of files that seem to have
42876 * lib/test/unit.rb: Reorder comment to make it RDoc friendly.
42878 * Makefile.in: add install-nodoc target, and make it
42879 generate RDoc on default install.
42881 * lib/rdoc/ri/ri_options.rb (RI::Options::parse): Add
42882 --doc-dir option to ri.
42884 Tue Jan 6 00:04:40 2004 Dave Thomas <dave@pragprog.com>
42886 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_or_yield_parameters):
42887 fix parsing if there are braces in a method parameter list
42889 Tue Jan 6 01:01:04 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42891 * win32/dir.h, win32/win32.c: fix patch miss.
42893 * win32/Makefile.sub: fix file dependency.
42895 Mon Jan 5 20:32:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
42897 * lib/logger.rb: enhanced documentation.
42899 Mon Jan 5 18:58:47 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42901 * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
42904 * pack.c (pack_unpack): unpack requires big endian offet (OFF16B
42905 and OFF32B). The patch is from Minero Aoki in [ruby-dev:22489]
42907 * pack.c (OFF16B): add big-endian offset again.
42909 Mon Jan 5 03:00:53 2004 Minero Aoki <aamine@loveruby.net>
42911 * test/ruby/test_pack.rb: new test test_unpack_N.
42913 Mon Jan 5 01:47:53 2004 NAKAMURA Usaku <usa@ruby-lang.org>
42915 * lib/mkmf.rb (create_makefile): remove duplicated object files
42916 from $objs on DOSISH platforms.
42918 Sat Jan 3 02:44:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42920 * rubysig.h (TRAP_END): preserve errno before switching context.
42923 Sat Jan 3 01:18:08 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42925 * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
42928 Fri Jan 2 14:54:11 2004 Dave Thomas <dave@pragprog.com>
42930 * bin/ri: Add new --classes option, and arrange for
42931 help messages to be paged too.
42933 * bin/rdoc: Add statistics.
42935 * process.c: (MG) Added Process documentation
42937 * lib/rdoc/ri/ri_formatter.rb (RI::AttributeFormatter::wrap):
42938 Fix problem with labels not displaying in RI labeled
42939 lists using BS and ANSI modes.
42941 Fri Jan 2 01:50:13 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
42943 * io.c (argf_eof): ARGF.eof? should not have any side effect.
42946 Thu Jan 1 09:03:20 2004 Dave Thomas <dave@pragprog.com>
42948 * bin/ri (report_class_stuff): Fix problem with ambiguous nested
42949 classes not matching.
42951 Wed Dec 31 17:25:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
42953 * io.c (argf_each_byte): should return self. [ruby-dev:22465]
42955 Wed Dec 31 15:05:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
42957 * lib/pathname.rb: Corrected small coding error.
42959 Wed Dec 31 15:00:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
42961 * lib/pathname.rb: Completed documentation.
42963 Wed Dec 31 11:20:34 2003 Dave Thomas <dave@pragprog.com>
42965 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): Make
42966 file referenced in "// in sss.c" relative to current file.
42968 Wed Dec 31 11:17:37 2003 Dave Thomas <dave@pragprog.com>
42970 * lib/rdoc/generators/html_generator.rb: Fix problem when
42971 a public method was aliased, but the alias is then
42972 made private, and hence doesn't appear in RDoc output.
42974 Wed Dec 31 01:33:05 2003 Dave Thomas <dave@pragprog.com>
42976 * array.c, error.c, eval.c, io.c, prec.c, range.c, re.c,
42977 string.c, time.c: Add RDoc for Kernel functions, and tidy.
42979 Tue Dec 30 19:39:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
42981 * io.c (rb_f_readline): should raise EOFError at the end of
42982 files. [ruby-dev:22458]
42984 * io.c (argf_read): should concatenate input files when length
42985 argument is nil. [ruby-dev:22450]
42987 * io.c (argf_read): should update supplied string buffer (2nd
42988 argument) even when IO#read is called multiple times.
42990 * io.c: should initialize lineno by zero. [ruby-dev:22460]
42992 Tue Dec 30 12:30:30 2003 Dave Thomas <dave@pragprog.com>
42994 * lib/rdoc/code_objects.rb (RDoc::Context::find_symbol): If a
42995 class and a method have the same name, finding Xxx.abc was trying
42996 to find 'abc' in method 'Xxx', not class 'Xxx'.
42998 Tue Dec 30 08:32:32 2003 Dave Thomas <dave@pragprog.com>
43000 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method):
43001 Handle undoing nsting of yield parameters correctly for:
43003 def each_entry(&b) Dir.foreach(@path) {|f| yield P.new(f) } end
43005 Tue Dec 30 07:30:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
43007 * lib/pathname.rb: Added documentation.
43009 Mon Dec 29 20:08:17 2003 Minero Aoki <aamine@loveruby.net>
43011 * lib/net/http.rb (GenericRequest#initialize): check if path
43014 * lib/net/http.rb: def m( arg ) -> def m(arg)
43016 Mon Dec 29 12:51:02 2003 Dave Thomas <dave@pragprog.com>
43018 * eval.c: Add RDoc for Kernel global functions.
43020 Mon Dec 29 11:00:16 2003 Dave Thomas <dave@pragprog.com>
43022 * array.c: Tidy up RDoc loose ends.
43024 Mon Dec 29 05:05:51 2003 Dave Thomas <dave@pragprog.com>
43026 * struct.c, random: Add RDoc comments
43028 Mon Dec 29 02:25:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
43030 * lib/optparse.rb: Improved documentation.
43032 Mon Dec 29 02:20:54 2003 Dave Thomas <dave@pragprog.com>
43034 * eval.c: Add RDoc for class Proc, Method, UnboundMethod
43036 Mon Dec 29 02:20:26 2003 NAKAMURA Usaku <usa@ruby-lang.org>
43038 * instruby.rb: fix install directory if destdir and compile_dir are
43039 not in the same drive.
43041 * ext/extmk.rb: ditto. [ruby-list:39009]
43043 * win32/Makefile.sub, win32/README.win32, win32/configure.bat,
43044 win32/setup.mak: new configure scheme. use ``configure --prefix=dir''
43045 instead of ``nmake DESTDIR=dir install''.
43047 Mon Dec 29 00:41:44 2003 Dave Thomas <dave@pragprog.com>
43049 * math.c: Add RDoc comments
43051 Sun Dec 28 20:19:11 2003 Tanaka Akira <akr@m17n.org>
43053 * ext/stringio/stringio.c (strio_sysread): StringIO.new.sysread didn't
43056 * ext/zlib/zlib.c (gzreader_gets): don't increment lineno when
43057 gzfile_read_all returns "".
43059 Sun Dec 28 15:25:08 2003 Dave Thomas <dave@pragprog.com>
43061 * class.c,object.c,parse.y,sprintf.c,variable.c: Document classes
43062 Object, Module, etc...
43064 Sun Dec 28 11:55:29 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43066 * test/csv/test_csv.rb: generate bom.csv and mac.csv files on the fly.
43069 * test/csv/{bom.csv,mac.csv}: removed.
43071 Sun Dec 28 08:56:51 2003 Dave Thomas <dave@pragprog.com>
43073 * eval.c: Thead[Group] RDoc (thanks to MG)
43075 Sun Dec 28 03:50:05 2003 Dave Thomas <dave@pragprog.com>
43077 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_override_comment):
43078 Escape method names used in regexp
43080 Sun Dec 28 01:46:02 2003 Dave Thomas <dave@wireless_3.local.thomases.com>
43082 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item):
43083 Add support for rules in 'ri' output.
43085 Sun Dec 28 01:35:35 2003 Dave Thomas <dave@pragprog.com>
43087 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body):
43088 Sometimes the Ruby source aliases two otherwise
43089 unrelated methods (for example Kernel#object_id and
43090 Kernel#hash are both the same C function). Provide a
43091 facility to allow the methods to be documented
43094 Sun Dec 28 01:05:31 2003 Dave Thomas <dave@pragprog.com>
43096 * marshal.c, signal.c: RDoc collemts added by Elliott Hughes
43098 Sun Dec 28 00:46:25 2003 Dave Thomas <dave@pragprog.com>
43100 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_class_comment):
43101 Some Ruby source uses lower-case class names for the
43102 Init_Xxx C function name.
43104 Sat Dec 27 23:41:46 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43106 * configure.in: fix "test: too many arguments" error.
43108 Sat Dec 27 15:32:40 2003 Dave Thomas <dave@wireless_3.local.thomases.com>
43110 * time.c: Add RDoc comments for Time class.
43112 Sat Dec 27 15:07:26 2003 Dave Thomas <dave@pragprog.com>
43114 * object.c: Add RDoc comments for Symbol class.
43116 Sat Dec 27 14:39:53 2003 Dave Thomas <dave@pragprog.com>
43118 * numeric.c (Init_Numeric): Add RDoc comments.
43120 Sat Dec 27 00:44:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43122 * io.c (next_argv): warn always for stdin on inplace edit mode.
43124 * io.c (read_all): need to check string value.
43126 * io.c (argf_read): allow ARGF.read(nil). [ruby-dev:22433]
43128 Fri Dec 26 23:02:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43130 * io.c (rb_f_backquote): need not to check nil result.
43133 * io.c (rb_io_getline): should return nil when read_all gives
43134 empty string, even when nil rs is specified. [ruby-core:02077]
43136 Fri Dec 26 18:33:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43138 * configure.in: check if getcontext and setcontext are available.
43140 * eval.c: use presence of getcontext/setcontext.
43142 Fri Dec 26 16:40:53 2003 Tanaka Akira <akr@m17n.org>
43144 * lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
43146 Fri Dec 26 14:05:13 2003 Minero Aoki <aamine@loveruby.net>
43148 * test/ruby/test_pack.rb: new test test_pack_N.
43150 Fri Dec 26 12:53:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43152 * pack.c (pack_pack): add sign check for 'i', and 'l'.
43155 * bignum.c (rb_quad_pack): add range check for 'quad int'.
43157 Fri Dec 26 10:58:58 2003 NAKAMURA Usaku <usa@ruby-lang.org>
43159 * MANIFEST: add vms/config.h and remove vms/config.h_in.
43161 Fri Dec 26 10:42:00 2003 AKIYOSHI, Masamichi <masamichi.akiyoshi@hp.com>
43163 * io.c: [VMS] "rfm=stmlf" is specified for open() and fopen().
43165 Thu Dec 25 22:29:53 2003 NAKAMURA Usaku <usa@ruby-lang.org>
43167 * string.c (rb_str_update): don't return any value.
43169 Thu Dec 25 15:30:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43171 * string.c (rb_str_update): call rb_str_modify().
43173 Thu Dec 25 05:08:09 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43175 * eval.c (search_required): search actual file name once when no
43176 extension specified.
43178 Thu Dec 25 04:00:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43180 * stable version 1.8.1 released.
43182 Thu Dec 25 00:17:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43184 * configure.in: check for nanosleep, -lrt if required.
43187 * eval.c (thread_timer): use select(2) if nanosleep(2) is not
43190 * eval.c: check __stub_getcontext for glibc on some platforms.
43193 Wed Dec 24 23:48:04 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43195 * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb
43196 test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0"
43197 to express -0.0. [ruby-talk:88786]
43199 Wed Dec 24 23:29:30 2003 Tanaka Akira <akr@m17n.org>
43201 * lib/tsort.rb (test_orphaned_break): removed.
43203 Wed Dec 24 20:53:06 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43205 * ext/tk/sample/tkmulticolumnlist.rb: new sample
43207 * ext/tk/sample/tkmultilistframe.rb: bug fix
43209 Wed Dec 24 20:37:37 2003 Eric Sunshine <sunshine@sunshineco.com>
43211 * configure.in (LDSHARED): Fixed typographical error in assignment of
43212 LDSHARED for Rhapsody which caused linking of extension modules to
43215 Wed Dec 24 17:51:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43217 * file.c (rb_thread_flock): enable thread support again.
43219 Wed Dec 24 16:46:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43221 * eval.c (catch_timer): do not call rb_thread_schedule() inside to
43222 avoid pthread_mutex_lock() deadlock. interrupts to system calls
43223 are detected by TRAP_END via EINTR error.
43225 * eval.c (thread_timer): do not post signal unless it is
43226 absolutely necessary.
43228 * rubysig.h (TRAP_END): add CHECK_INTS to switch thread.
43230 * regex.c (re_compile_pattern): check if nextp is smaller than
43231 pend. [ruby-dev:22372]
43233 * eval.c (umethod_bind): remove method overridden check.
43236 Wed Dec 24 16:13:05 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43238 * ext/openssl/ossl_ssl.c (ossl_ssl_read): should check for error
43239 status by SSL_get_error().
43241 * ext/openssl/ossl_ssl.c (ossl_ssl_write): ditto.
43243 Wed Dec 24 14:23:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43245 * ext/stringio/stringio.c (strio_read): clear the buffer argument
43246 when returning nil. [ruby-dev:22363]
43248 * test/ruby/ut_eof.rb (TestEOF::test_eof_0, TestEOF::test_eof_1):
43249 add buffer argument tests.
43251 Wed Dec 24 14:07:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43253 * lib/test/unit/assertions.rb: Modules are allowed to rescue.
43255 * lib/test/unit/autorunner.rb: show output_level in order.
43257 * lib/test/unit/collector/dir.rb: get rid of successive same
43258 directories in load path.
43260 * test/testunit/test_assertions.rb (test_assert_nothing_raised,
43261 test_assert_raise): test for modules.
43263 Wed Dec 24 13:43:34 2003 Shugo Maeda <shugo@ruby-lang.org>
43265 * lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
43268 Wed Dec 24 11:26:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43270 * test/fileutils/test_fileutils.rb: should not create any
43271 files or directories in current directory. [ruby-talk:88724]
43273 Wed Dec 24 10:29:53 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43275 * ext/stringio/stringio.c (strio_read): never return nil at
43276 unlimited read. [ruby-dev:22334]
43278 * ext/stringio/stringio.c (strio_read): support second
43279 argument. [ruby-dev:22350]
43281 Wed Dec 24 09:38:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43283 * parse.y (arg): should return 0 after error. [ruby-dev:22360]
43285 Wed Dec 24 00:56:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43287 * io.c (read_all): do not return nil at the end of file.
43290 * io.c (argf_read): do not depend on nil at eof behavior of
43293 * eval.c (rb_thread_join): dup exception before re-raising it.
43295 * io.c (rb_io_eof): call clearerr() to prevent side effect. this
43296 patch is supplied by Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>.
43299 * pack.c (OFF16): get offset for big endian machines.
43301 * pack.c (pack_pack): use OFF16 instead of OFF16B.
43304 * pack.c (pack_unpack): ditto.
43306 Tue Dec 23 22:47:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43308 * io.c (rb_io_check_readable): set FMODE_RBUF always, even if
43309 NEED_IO_SEEK_BETWEEN_RW is not defined. [ruby-dev:22340]
43311 * io.c (rb_io_check_writable): clear FMODE_RBUF before writing
43314 Tue Dec 23 22:25:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
43316 * lib/optparse.rb: incomplete RDoc documentation added in place of
43317 existing RD comments. Tabs converted to spaces.
43319 Tue Dec 23 19:44:47 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43321 * test/soap/test_streamhandler.rb (test_basic_auth): removed.
43322 soap4r + basic_auth is not officially supported in ruby/1.8.1 even
43323 though soap4r + basic_auth + http-access2 should run fine.
43325 Tue Dec 23 19:42:59 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43327 * io.c (rb_io_ungetc): raise an exception at unread stream to
43328 avoid unspecified behavior. [ruby-dev:22330]
43330 * test/ruby/test_system.rb (test_syntax): glob relatively from
43333 Tue Dec 23 18:09:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43335 * pack.c (pack_pack): remove unnecessary negative value check.
43338 Tue Dec 23 17:26:55 2003 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
43340 * bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]
43342 Tue Dec 23 16:08:16 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43344 * lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]
43346 * test/ruby/test_system.rb: num of asserts depended on running dir.
43348 * test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
43349 handle euc-jp. install iconv, uconv or xmlscan.
43351 Tue Dec 23 14:13:51 2003 akira yamada <akira@ruby-lang.org>
43353 * lib/uri/generic.rb (URI::Generic::check_userinfo,
43354 URI::Generic::check_user, URI::Generic::check_password): tests
43355 conflicts/depends with other components closely.
43357 * test/uri/test_generic.rb (TestGeneric::test_set_component):
43360 Tue Dec 23 11:08:34 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43362 * test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
43363 "euc-jp" might not be in supported encoding name list.
43366 Tue Dec 23 06:10:31 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43368 * lib/webrick/cgi.rb (CGI): add support for mod_ruby.
43370 * lib/webrick/cgi.rb (CGI::Socket): add check for existence of
43371 OpenSSL module in all HTTPS related methods.
43373 * lib/webrick/cgi.rb (CGI::Socket#cipher): should create similar
43374 value to OpenSSL::SSLSocket#cipher.
43376 * lib/webrick/httpresponse.rb (HTTPResponse#setup_header): should
43377 set "connection: close" if @keep_alive is false.
43379 * lib/webrick/https.rb (HTTPrequest#meta_vars): add supprt for
43380 SSL_PROTOCOL, SSL_CIPHER_USEKEYSIZE and SSL_CIPHER_ALGKEYSIZE.
43382 Mon Dec 22 23:00:05 2003 akira yamada <akira@ruby-lang.org>
43384 * lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
43386 Mon Dec 22 21:59:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43388 * ext/iconv/iconv.c (map_charset): always ensure code is a String.
43390 Mon Dec 22 21:15:29 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43392 * class.c (rb_mod_init_copy): always copy singleton class.
43395 Mon Dec 22 20:44:36 2003 akira yamada <akira@ruby-lang.org>
43397 * lib/uri/generic.rb (URI::Generic#route_from): accepts urls which
43400 * test/uri/test_generic.rb (TestGeneric::test_route): added a test.
43402 Mon Dec 22 20:38:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43404 * lib/cgi.rb: reduce eval.
43406 * lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to
43407 local_path. [ruby-list:38883]
43409 Mon Dec 22 20:09:31 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43411 * test/soap/test_property.rb: remove duplicated test method.
43413 Mon Dec 22 18:22:04 2003 NAKAMURA Usaku <usa@ruby-lang.org>
43415 * bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
43416 HAVE_ISINF definition to follow previous commits of missing.h
43419 Mon Dec 22 17:23:42 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43421 * configure.in (ac_cv_func_setitimer): moved from defines.h
43423 * defines.h, rubysig.h, signal.c: removed macro handling which
43424 should be done in configure.
43426 * configure.in (intrinsics.h): check if present.
43428 * ruby.h: include intrinsics.h if available.
43430 * bignum.c, marshal.c: include ieeefp.h if available.
43432 * missing.h (isinf): define as a macro if finite() and isnan()
43433 are available. [ruby-core:02032]
43435 Mon Dec 22 17:07:31 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43437 * configure.in (mingw): set isnan, finite and isinf to yes.
43439 Mon Dec 22 13:40:19 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43441 * lib/soap/property.rb: passing block by reference.
43443 Mon Dec 22 00:32:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43445 * eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead of
43446 ALLOW_INTS which may switch context. [ruby-dev:22319]
43448 * ext/syck/emitter.c (syck_emitter_write): str bigger than
43449 e->bufsize causes buffer overflow. [ruby-dev:22307]
43451 Sun Dec 21 17:29:00 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43453 * class.c (rb_check_inheritable): new function. [ruby-dev:22316]
43455 * intern.h: add prototype.
43457 * eval.c (superclass): use rb_check_inheritable().
43459 * object.c (rb_class_initialize): check argument validity.
43461 Sun Dec 21 16:25:10 2003 Tanaka Akira <akr@m17n.org>
43463 * lib/pathname.rb (Pathname#+): re-implemented to resolve ".." in
43464 beginning of the argument.
43465 (Pathname#join): concatenate from the last argument.
43466 (Pathname#parent): just use Pathname#+.
43468 Sun Dec 21 00:12:37 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43470 * ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)
43472 * ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method
43474 Sat Dec 20 21:59:03 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43476 * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.
43478 * lib/webrick/cgi.rb (CGI#start): NPH scripts return status line
43479 instead of Status: header field.
43481 * lib/webrick/cgi.rb (CGI::Socket): refine some coditions.
43483 Sat Dec 20 16:07:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43485 * lib/optparse.rb (OptionParser::Completion::complete): wrong
43486 Regexp for word boundary. pointed out by Gavin Sinclair.
43488 * lib/optparse.rb (OptionParser::make_switch): [no-] prefix was
43491 Sat Dec 20 11:40:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43493 * lib/yaml.rb (YAML::YAML): adjust Marshal version.
43495 Sat Dec 20 03:56:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43497 * eval.c (rb_with_disable_interrupt): prohibit thread context
43498 switch during proc execution. [ruby-dev:21899]
43500 Sat Dec 20 02:41:02 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43502 * lib/webrick/cgi.rb: add file. (yet another CGI library)
43504 * MANIFEST: add lib/webrick/cgi.rb.
43506 Sat Dec 20 02:18:31 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43508 * misc/ruby-mode.el (ruby-calculate-indent): proper indentation
43509 inside of parentheses. [ruby-dev:22308]
43511 Fri Dec 19 21:24:22 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43513 * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): should not set
43514 HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH.
43516 * lib/webrick/https.rb (HTTPRequest#parse): should check presence
43517 of cert() method to detect SSLSocket.
43519 Fri Dec 19 22:56:46 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43521 * lib/soap/property.rb (SOAP::Property#load): new method for loading
43522 property value into existing property tree.
43524 * test/soap/test_property.rb: add test.
43526 Fri Dec 19 19:21:49 2003 akira yamada <akira@ruby-lang.org>
43528 * lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):
43529 should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}.
43531 Fri Dec 19 17:36:49 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43533 * ext/tk/sample/tkmultilistbox.rb: bug fix
43535 * ext/tk/sample/tkmultilistframe.rb: new sample script
43537 Fri Dec 19 03:44:27 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43539 * lib/webrick/httputils.rb (parse_form_data): should return an
43540 empty Hash if the body is empty.
43542 Thu Dec 18 21:47:35 2003 NAKAMURA Usaku <usa@ruby-lang.org>
43544 * lib/mkmf.rb (create_makefile): should remove deffile if it's
43545 made by miniruby. based on nobu's patch.
43547 Thu Dec 18 21:44:21 2003 NAKAMURA Usaku <usa@ruby-lang.org>
43549 * eval.c (stack_extend): ignore inline optimization on VC7.
43551 * win32/Makefile.sub (OS, RT): can override.
43553 * win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none
43554 option. based on Tietew's patch [ruby-dev:22289]
43556 Thu Dec 18 16:38:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43558 * dir.c (fnmatch): unlike find_dirsep(), rb_path_next() never
43561 Thu Dec 18 15:27:59 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43563 * lib/ipaddr.rb (IPSocket::getaddress): merge usa's patch.
43566 Wed Dec 17 15:15:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43568 * lib/cgi.rb (CGI::QueryExtension::Value::[]): should work like
43569 String#[] if more than one arguments are specified.
43571 * lib/delegate.rb: avoid using common instance name as "@obj".
43573 * lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer
43574 subclass of String, but DelegateClass(String).
43576 * ext/curses/extconf.rb: restore function check for init_color.
43579 * Makefile.in: need to specify $(MAINLIBS) for the miniruby
43582 * configure.in: better FreeBSD -lc_r support.
43584 Wed Dec 17 00:16:14 2003 Minero Aoki <aamine@loveruby.net>
43586 * ext/strscan/strscan.c: new method
43587 StringScanner#beginning_of_line? (alias #bol?)
43589 * ext/strscan/strscan.c: new method StringScanner#concat and #<<.
43591 * ext/strscan/strscan.c: StringScanner#new(str) does not duplicate
43592 nor freeze STR (allow destructive modification).
43594 * test/strscan/test_stringscanner.rb: test new methods above.
43596 * test/strscan/test_stringscanner.rb: test destructive string
43599 Tue Dec 16 21:20:47 2003 Tanaka Akira <akr@m17n.org>
43601 * lib/pp.rb: don't use local variable `pp'.
43603 * lib/prettyprint.rb: ditto.
43605 Tue Dec 16 13:20:43 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43607 * ext/tk/lib/tk.rb: condition bug of if statement on
43608 {pack,grid}_propagate methods
43610 Tue Dec 16 03:17:29 2003 why the lucky stiff <why@ruby-lang.org>
43612 * lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]
43614 * test/yaml/test_yaml.rb: add test.
43616 Tue Dec 16 01:14:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43618 * eval.c (catch_timer): check rb_thread_crtical in main native
43621 * eval.c (thread_timer): just sends signals periodically, to
43622 prevent main native thread from receiving them in critical
43623 section. [ruby-core:01959]
43625 Mon Dec 15 13:32:22 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43627 * dir.c (check_dirname): check string safety and remove extraneous
43628 trailing directory separators. [ruby-dev:22279]
43630 * file.c: renamed and externalized rb_path_next,
43631 rb_path_skip_prefix, rb_path_last_separator, rb_path_end.
43633 * intern.h: prototypes for rb_path_next, rb_path_skip_prefix,
43634 rb_path_last_separator, rb_path_end.
43636 Mon Dec 15 09:27:46 2003 NAKAMURA Usaku <usa@ruby-lang.org>
43638 * ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): first argument
43639 of rb_protect should take an argument of VALUE.
43641 Sun Dec 14 18:46:48 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43643 * ext/socket/socket.c (Init_socket): IPv6 is not supported although
43644 AF_INET6 is defined on MinGW.
43646 * lib/ipaddr.rb (AF_INET6): workaround in the environment which does
43649 Sat Dec 13 18:55:16 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43651 * ext/iconv/charset_alias.rb: preserve original order.
43653 * ext/iconv/extconf.rb: remove wrapper file at clean.
43655 Sat Dec 13 18:09:42 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43657 * eval.c (thread_timer): use timer by sub-thread and nanosleep.
43660 * gc.c (Init_stack): no stack adjustment for THREAD_SAFE.
43662 Sat Dec 13 17:17:59 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43664 * eval.c (proc_alloc): cache the created object at first time.
43665 [ruby-talk:61288], [ruby-dev:22240]
43667 Sat Dec 13 09:01:23 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43669 * configure.in: check ucontext.h.
43671 * eval.c: use getcontext/setcontext() instead of setjmp/longjmp()
43672 on ia64 or with native thread enabled. [ruby-core:01932]
43674 Sat Dec 13 03:09:14 2003 why the lucky stiff <why@ruby-lang.org>
43676 * lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]
43678 * test/yaml/test_yaml.rb: add test.
43680 Fri Dec 12 22:36:44 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43682 * lib/csv.rb: add Cell#to_str and Cell#to_s for /.../ =~ aCell,
43683 "#{aCell}" and so on.
43685 * test/csv/test_csv.rb: add tests.
43687 Fri Dec 12 19:33:06 2003 Minero Aoki <aamine@loveruby.net>
43689 * lib/fileutils.rb (mkdir): remove trailing `/' from pathes.
43691 * lib/fileutils.rb (rmdir): ditto. [ruby-dev:22238]
43693 * lib/fileutils.rb (rmdir_r): ditto.
43695 * lib/fileutils.rb (fu_copy_dir): check if it is a directory after
43698 Fri Dec 12 06:06:09 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43700 * eval.c (proc_invoke): fix class name in warning message for
43701 define_method. [ruby-dev:22235]
43703 Thu Dec 11 21:24:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43705 * ext/openssl/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12.
43707 * ext/openssl/ossl.[ch]: ditto.
43709 * ext/openssl/MANIFEST: add ossl_pkcs12.[ch].
43711 Thu Dec 11 20:54:28 2003 Minero Aoki <aamine@loveruby.net>
43713 * lib/fileutils.rb (mkdir_p): remove trailing `/' befere mkdir(2).
43714 mkdir("nonexistdir/") does not work on NetBSD/Alpha 1.6.1.
43716 * lib/fileutils.rb (fu_list): call to_str for all arguments.
43718 Thu Dec 11 20:07:01 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43720 * lib/ftools.rb (makedirs): sync with fileutils.
43722 Thu Dec 11 19:53:03 2003 Minero Aoki <aamine@loveruby.net>
43724 * lib/fileutils.rb (mkdir_p): catch all SystemCallErrors.
43725 (mkdir("C:\") causes EACCESS on Windows 2000/NTFS)
43727 Thu Dec 11 19:08:02 2003 Minero Aoki <aamine@loveruby.net>
43729 * lib/fileutils.rb (mkdir_p): check if it is a directory after
43730 mkdir(2) instead of before mkdir(2), to avoid race condition.
43732 Refer: mkinstalldirs sh script, GNU mkdir(1) (coreutils 5.0)
43734 Thu Dec 11 18:49:30 2003 Minero Aoki <aamine@loveruby.net>
43736 * lib/fileutils.rb: def m( arg ) -> def m(arg).
43738 Thu Dec 11 11:39:43 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43740 * configure.in (ieeefp.h), numeric.c: needed for finite() on
43741 Solaris. [ruby-core:01921]
43743 * file.c (rb_stat_inspect): adjust format specifier.
43745 * parse.c (arg_prepend): nodetype() is for debug use.
43747 * ruby.h (ISASCII, etc): cast to int to get rid of warning.
43749 * ruby.h (alloca.h): include even in GCC. [ruby-core:01925]
43751 * ext/bigdecimal/bigdecimal.c (GetVpValue): adjust format
43754 * ext/bigdecimal/bigdecimal.c (BigDecimal_prec, BigDecimal_coerce,
43755 BigDecimal_divmod): use rb_assoc_new() to suppress memory usage.
43757 * ext/bigdecimal/bigdecimal.c (BigDecimal_split): ditto.
43759 * ext/dl/sym.c (rb_dlsym_guardcall): guard itself should be
43762 * ext/iconv/iconv.c (iconv_convert): ensure actual parameter with
43765 * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): do not
43766 define unless used.
43768 * ext/pty/pty.c (getDevice): get rid of warning.
43770 * ext/socket/socket.c (port_str, sock_s_getaddrinfo,
43771 sock_s_getnameinfo): FIX2INT() now returns long.
43773 * ext/socket/socket.c (init_inetsock_internal): uninitialized
43776 * ext/syck/rubyext.c (syck_parser_assign_io): add prototype.
43778 * ext/syck/rubyext.c (rb_syck_mktime, yaml_org_handler): use
43779 ISDIGIT() instead of isdigit() to avoid warnings and for
43780 platforms which don't support non-ascii charater.
43782 Wed Dec 10 19:28:56 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43784 * ext/stringio/stringio.c (strio_read): set EOF flag at short read.
43785 [ruby-dev:22223], [ruby-dev:22224]
43787 Wed Dec 10 18:07:25 2003 Minero Aoki <aamine@loveruby.net>
43789 * lib/erb.rb: new method ERB#filename(=). [ruby-dev:22208]
43791 Wed Dec 10 17:54:51 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43793 * ext/stringio/stringio.c (strio_read): do not set EOF flag when
43794 requested length is zero. [ruby-dev:22214]
43796 Wed Dec 10 17:17:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43798 * io.c (read_all): should return given string even if data read is
43799 empty. [ruby-dev:22207]
43801 Wed Dec 10 17:16:06 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43803 * ext/stringio/stringio.c (strio_read): adjust behavior at reading
43804 beyond EOF to IO. [ruby-dev:22205]
43806 * test/ruby/ut_eof.rb (TestEOF::Seek): test behaviors at reading
43809 * test/ruby/test_file.rb, test/stringio/test_stringio.rb: include
43810 TestEOF::Seek test case.
43812 Wed Dec 10 15:01:19 2003 Shugo Maeda <shugo@ruby-lang.org>
43814 * test/monitor/test_monitor.rb (test_cond): use Queue#deq
43817 Wed Dec 10 14:45:39 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43819 * ext/pty/pty.c (HAVE_SYS_IOCTL_H): need to include <sys/ioctl.h>
43820 for TIOCSCTTY on *BSD. based on gotoyuzo's patch.
43821 (ruby-bugs:PR#1211)
43823 * ext/pty/pty.c (establishShell): should close descriptors if fork
43826 Wed Dec 10 12:53:05 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43828 * win32/win32.h: define execv() using do_aspawn().
43830 * process.c (proc_exec_v): remove #ifdef's which stopped needing.
43832 Tue Dec 9 23:32:23 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43834 * ext/tk/lib/tk.rb, ext/tk/lib/tkcanvas.rb, ext/tk/lib/tkdialog.rb,
43835 ext/tk/lib/tkentry.rb, ext/tk/lib/tkscrollbox.rb, ext/tk/lib/tktext.rb,
43836 ext/tk/sample/tkalignbox.rb, ext/tk/sample/tkcombobox.rb,
43837 ext/tk/sample/tkmultilistbox.rb, ext/tk/sample/tkoptdb.rb, ext/tk/sample/tktextframe.rb,
43838 ext/tk/sample/demos-en/dialog1.rb, ext/tk/sample/demos-en/dialog2.rb,
43839 ext/tk/sample/demos-jp/dialog1.rb, ext/tk/sample/demos-jp/dialog2.rb:
43840 overrided instance methods, which are private methods on the super
43841 class, are changed to 'private'
43843 Tue Dec 9 19:53:02 2003 akira yamada <akira@ruby-lang.org>
43845 * lib/uri/generic.rb (URI::Generic#route_from0): make case insensitive
43848 * test/uri/test_generic.rb (test_route): added tests for the above
43851 Tue Dec 9 14:10:48 2003 Tanaka Akira <akr@m17n.org>
43853 * io.c (rb_io_check_readable): don't call io_seek if EOF flag is set,
43854 to avoid clearing EOF flag.
43855 (rb_io_check_writable): ditto.
43857 Tue Dec 9 02:53:55 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
43859 * ext/tk/sample/tkalignbox.rb: new sample script
43861 Tue Dec 9 00:45:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
43863 * lib/test/unit/assertions.rb: renamed #assert_raises to #assert_raise
43864 and made the former call the latter. [ruby-core:01890]
43866 * test/testunit/test_assertions.rb: ditto.
43868 Tue Dec 9 00:07:35 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43870 * lib/soap/rpc/standaloneServer.rb: add 'shutdown' and 'status'
43871 methods as delegates to WEBrick.
43873 * test/soap/calc/{test_calc.rb,test_calc2.rb},
43874 test/soap/helloworld/test_helloworld.rb,
43875 test/wsdl/datetime/test_datetime.rb, test/wsdl/raa/test_raa.rb:
43878 Mon Dec 8 22:48:03 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43880 * lib/test/unit/autorunner.rb: remove dependency to a particular
43881 runner. [ruby-core:01901], [ruby-list:38869]
43883 * lib/test/unit/ui/testrunnerutilities.rb: moved output level
43884 constants from Console.
43886 * lib/test/unit/ui/console/testrunner.rb: ditto.
43888 * lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize):
43889 accept output_level.
43891 Mon Dec 8 15:03:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43893 * ext/syck/syck.c (syck_io_str_read): get rid of buffer overflow.
43895 Mon Dec 8 13:02:11 2003 Minero Aoki <aamine@loveruby.net>
43897 * lib/uri/common.rb: new method URI.regexp. [ruby-dev:22121]
43899 * test/uri/test_common.rb: add test for URI.regexp.
43901 Mon Dec 8 12:44:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43903 * pack.c: define swap16 and swap32 only if they are not
43904 defined. OpenBSD defines these macros. [ruby-dev:22181]
43906 Sun Dec 7 20:54:17 2003 Tanaka Akira <akr@m17n.org>
43908 * ext/iconv/iconv.c (map_charset): make case sensitive.
43909 ext/iconv/charset_alias.rb (charset_alias): don't ignore
43910 config.charset's information. sort aliases.
43912 Sat Dec 6 22:58:03 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
43914 * ext/openssl/ossl_ssl.c (ossl_start_ssl): new function to wrap
43915 SSL_connect and SSL_accept; if SSL_connect (or SSL_accept) returned
43916 but not finished the handshake process, we should retry it.
43918 * ext/openssl/ossl_ssl.c (ossl_ssl_connect): call ossl_start_ssl.
43920 * ext/openssl/ossl_ssl.c (ossl_ssl_accept): ditto.
43922 * ext/openssl/ossl_ssl.c (ossl_ssl_read): allow signal traps.
43924 Sat Dec 6 21:45:10 2003 WATANABE Hirofumi <eban@ruby-lang.org>
43926 * io.c (flush_before_seek): flush before seek on any platform.
43928 * configure.in: ditto.
43930 Sat Dec 6 17:23:00 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43932 * lib/soap/soap.rb(SOAP::Env.getenv): allow upcase environment variable
43933 as well as downcase one.
43935 * lib/soap/netHttpClient.rb(SOAP::NetHttpClient#proxy=): check URI.
43937 Fri Dec 5 23:22:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43939 * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises,
43940 Test::Unit::Assertions::assert_nothing_raised): use the last
43941 argument as message unless class object.
43943 * test/testunit/test_assertions.rb (test_assert_raises): test for
43944 multiple exception list. [ruby-core:01891]
43946 * test/testunit/test_assertions.rb (test_assert_nothing_raised): test
43947 for non-exception classes.
43949 Fri Dec 5 22:23:04 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
43951 * lib/soap/netHttpClient.rb: proxy support did not work. fixed.
43953 * lib/soap/property.rb: add class methods for loading property from
43954 stream/file/propertyfile. propertyfile is a file which is located at
43957 * lib/soap/soap.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb,
43958 lib/wsdl/importer.rb: load property from propertyfile 'soap/property'
43959 e.g. /usr/local/lib/ruby/site_ruby/1.8/soap/property.
43961 * test/soap/test_property.rb, test/soap/test_streamhandler.rb: new file.
43963 Fri Dec 5 17:26:23 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43965 * eval.c (rb_exec_end_proc): maintain tmp_end_procs.
43968 Fri Dec 5 13:36:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
43970 * eval.c (rb_exec_end_proc): should not clear end_procs and
43971 ephemeral_end_procs before execution. [ruby-dev:22144]
43973 * eval.c (rb_obj_extend): call Module#extended hook after
43974 extended_object. [ruby-list:38866]
43976 * object.c (Init_Object): Module#extended defined.
43978 Fri Dec 5 13:17:30 2003 Tanaka Akira <akr@m17n.org>
43980 * test/ruby/test_pipe.rb: use IO.pipe instead of IO.popen.
43982 Fri Dec 5 11:54:45 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43984 * ext/stringio/stringio.c (strio_read): follow IO#read.
43986 * test/ruby/ut_eof.rb, test/ruby/test_file.rb, test/ruby/test_pipe.rb,
43987 test/stringio/test_stringio.rb: add EOF test.
43989 Fri Dec 5 02:49:35 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
43991 * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises):
43992 allow multiple exception list. [ruby-core:01884]
43994 * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
43995 check whether arguments are subclass of Exception.
43997 Thu Dec 4 23:54:00 2003 Rick Ohnemus <rick.ohnemus@systemware.com>
43999 * dln.c (aix_loaderror): should not use member named 'errno' which
44000 might be a macro (e.g. on AIX).
44002 Thu Dec 4 23:32:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44004 * io.c (read_all): do not depend on lseek position.
44007 Thu Dec 4 22:37:26 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44009 * eval.c (rb_eval): preserve $! value when retry happens in the
44010 rescue clause. [ruby-talk:86697]
44012 Thu Dec 4 21:50:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44014 * lib/drb/drb.rb (DRb::DRbMessage::send_request, send_reply):
44015 should rescue errors and re-raise DRbConnError on write too.
44018 Thu Dec 4 16:41:17 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44020 * parse.y (exc_list): allow expanding list. [ruby-dev:22134]
44022 Thu Dec 4 14:09:24 2003 Minero Aoki <aamine@loveruby.net>
44024 * test/fileutils/test_fileutils.rb (test_cp): test if the error is
44025 kind of SystemCallError. It is needless details that which errno
44026 is set on each systems.
44028 Thu Dec 4 13:24:13 2003 Shugo Maeda <shugo@ruby-lang.org>
44030 * lib/monitor.rb: use Object#__send__ instead of Object#send.
44032 Thu Dec 4 13:17:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44034 * lib/soap/streamHandler.rb: support latest released version of
44037 Thu Dec 4 13:04:44 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44039 * lib/soap/soap.rb: add SOAP::Env module for environment repository
44040 such as HTTP_PROXY.
44042 * lib/soap/property.rb: property implementation.
44044 * lib/soap/streamHandler.rb, lib/soap/wsdlDriver.rb,
44045 lib/soap/rpc/driver.rb: use soap/property.rb.
44047 * lib/wsdl/importer.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb:
44050 * lib/soap/netHttpClient.rb: add basic_auth, ssl_config, and cookie
44051 management interface, but ignored for now.
44053 * lib/xsd/charset.rb: add XSD::Charset.encoding= interface to set
44054 wiredump charset explicitly. it was fixed to 'utf-8' when iconv or
44055 uconv module was found.
44057 Thu Dec 4 10:43:58 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44059 * ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7
44062 Thu Dec 4 10:27:12 2003 Minero Aoki <aamine@loveruby.net>
44064 * lib/net/http.rb: update hyperlink to the Japanese document.
44066 Thu Dec 4 09:12:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44068 * ext/openssl/ossl_asn1.c (asn1time_to_time): should check that
44069 the underlying value of ASN1_TIME isn't NULL. [ruby-core:01881]
44071 Thu Dec 4 08:29:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44073 * lib/webrick/server.rb (GenericServer#start): should rescue
44074 Exception to avoid unexpected aborting. [ruby-core:01853]
44076 * lib/webrick/server.rb (GenericServer#start_thread): should check
44077 that peeraddr isn't nil before printing.
44079 * lib/webrick/httpresponse.rb (HTTPResponse#start_thread): should
44080 rescue Exception to avoid unexpected aborting of thread.
44082 Thu Dec 4 03:48:59 2003 Tanaka Akira <akr@m17n.org>
44084 * lib/pathname.rb (Pathname#link, Pathname#symlink): obsoleted.
44085 (Pathname#make_link, Pathname#make_symlink): new method.
44087 Thu Dec 4 01:45:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44089 * io.c (argf_read): should not terminate on empty string; wait
44090 until real EOF. [ruby-dev:21969]
44092 * io.c (argf_read): should adjust length to read, when length is
44093 specified and read spans command line argument files.
44095 Wed Dec 3 19:38:36 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
44097 * lib/drb/drb.rb: correct fcntl parameter. [ruby-dev:22120]
44099 Wed Dec 3 13:49:07 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44101 * ext/tk/lib/tk.rb: 'format'==>'Kernel.format' (avoid override trouble)
44103 * ext/tk/lib/tkafter.rb: ditto.
44105 * ext/tk/lib/tkcanvas.rb: ditto.
44107 * ext/tk/lib/tkdialog.rb: ditto.
44109 * ext/tk/lib/tktext.rb: ditto.
44111 Wed Dec 3 13:28:13 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44113 * Makefile.in (lex.c): try gperf first, and copy from the source
44114 directory if failed. [ruby-dev:22123]
44116 * ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.
44118 * lib/mkmf.rb (configuration): DLDFLAGS was duplicated.
44120 Tue Dec 2 23:18:12 2003 Minero Aoki <aamine@loveruby.net>
44122 * lib/net/http.rb: wrote the warning about HTTP_PROXY environment
44125 Tue Dec 2 21:31:42 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44127 * bin/testrb: new test runner. [ruby-core:01845]
44129 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner.run,
44130 Test::Unit::AutoRunner#process_args): take test list to run and
44133 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::RUNNERS,
44134 Test::Unit::AutoRunner#run): should not exit inside a library,
44135 just return the result instead.
44137 * lib/test/unit.rb: ditto.
44139 * test/runner.rb: exit with the test result.
44141 Tue Dec 2 20:18:48 2003 Eric Sunshine <sunshine@sunshineco.com>
44143 * configure.in (AC_PROG_YACC): AC_DEFINE(OLD_YACC) if Yacc is found
44144 instead of Bison or byacc.
44146 * parse.y: If OLD_YACC is defined, ensure that YYMAXDEPTH is at least
44147 10000 (Bison's default) since some old versions of Yacc define it as
44148 low as 150 by default, which is too low for Ruby to parse some files,
44149 such as date/format.rb. Among other issues, the parse problem causes
44150 "make test" to fail.
44152 Tue Dec 2 20:03:20 2003 Minero Aoki <aamine@loveruby.net>
44154 * test/fileutils/test_fileutils.rb: check if Pathnames are usable
44157 Tue Dec 2 04:22:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
44159 * lib/test/unit/assertions.rb: fixed #assert_no_match message.
44161 * test/testunit/test_assertions.rb: ditto.
44163 Tue Dec 2 00:43:00 2003 why the lucky stiff <why@ruby-lang.org>
44165 * ext/syck/syck.c: string buffering bug. decrementing by full
44166 max_size now. [ruby-core:01834]
44168 Mon Dec 1 21:33:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44170 * numeric.c (num_sadded): prohibit singleton method definition for
44171 Numerics. fill yet another gap between Fixnum and Bignum.
44173 Mon Dec 1 17:33:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44175 * pack.c (htov16): converts endian using swap16. htov32(), hton16,
44176 hton32 as well. [ruby-talk:85377]
44178 * pack.c (swap16): swap 2 bytes no matter how big short is on the
44179 platform. swap32() is also prepared.
44181 * numeric.c (rb_num2int): returns long to preserve information.
44182 rb_fix2int(), rb_num2uint(), rb_fix2uint() as well.
44185 * numeric.c (rb_num2uint): should not check for value range if the
44186 source value is negative.
44188 Mon Dec 1 17:14:34 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44190 * sample/optparse/opttest.rb: added.
44192 Mon Dec 1 16:10:52 2003 Dave Thomas <dave@pragprog.com>
44194 * lib/rdoc/rdoc.rb: (etc) initial merge into main tree.
44196 Mon Dec 1 14:17:49 2003 Minero Aoki <aamine@loveruby.net>
44198 * lib/fileutils.rb (fu_each_src_dest0): call #to_str to allow
44199 Pathname for arguments. [ruby-core:01795]
44201 * test/fileutils/test_fileutils.rb: does much strict test on
44202 "same" files detecting.
44204 Mon Dec 1 09:28:14 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44206 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
44207 (XCFLAGS): re-export $(XCFLAGS).
44209 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
44210 (ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value).
44212 Mon Dec 1 01:03:27 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44214 * lib/mkmf.rb (TRY_LINK, link_command): added support for DLDFLAGS
44215 and ARCH_FLAG. [ruby-dev:22085]
44217 Sun Nov 30 20:18:07 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44219 * configure.in: keep ARCH_FLAG separate. export ARCH_FLAG.
44222 * Makefile.in: add ARCH_FLAG to CFLAGS.
44224 * Makefile.in: add @CPPFLAGS@ to CPPFLAGS.
44226 * lib/mkmf.rb (link_command, cc_command): use ARCH_FLAG.
44228 * lib/mkmf.rb (configuration): add ARCH_FLAG to DLDFLAGS.
44230 * Makefile.in: add ARCH_FLAG to DLDFLAGS.
44232 * configure.in: should put getcwd in AC_CHECK_FUNCS, not
44233 AC_REPLACE_FUNCS. [ruby-core:01826]
44235 Sun Nov 30 18:22:48 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44237 * configure.in: do not override CCDLDFLAGS, LDFLAGS, XLDFLAGS,
44238 DLDFLAGS and LDSHARED.
44240 * configure.in: XCFLAGS for compiling ruby itself. ARCH_FLAG is
44241 reflected in CFLAGS.
44243 * lib/mkmf.rb: ditto. do not import XCFLAGS from config.status.
44245 Sun Nov 30 17:37:36 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44247 * ext/tk/lib/tk.rb: bug fix [ruby-talk:86746]
44249 Sun Nov 30 13:02:00 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44251 * lib/soap/encodingstyle/soapHandler.rb: refactoring - Simplifying
44252 Conditional Expressions.
44254 * lib/wsdl/soap/definitions.rb: refactoring - Move Method.
44256 * test/xsd/{test_noencoding.rb,noencoding.xml}: new files. test for
44257 encoding unspecified XML file parsing.
44259 * test/wsdl/{test_fault.rb,map,datetime}: new files. test of
44260 SOAPFault, dateTime and Apache's Map.
44262 Sun Nov 30 09:35:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44264 * string.c (rb_str_update): get rid of SEGV at just allocated String.
44267 Fri Nov 28 23:19:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44269 * gc.c (gc_mark): explicitly check mark recursion levels, instead
44270 of unreliable stack length.
44272 Fri Nov 28 22:49:56 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
44274 * lib/rinda/rinda.rb: fix TupleSpaceProxy#read, read_all.
44276 Fri Nov 28 21:44:40 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44278 * test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not
44279 a directory for FreeBSD.
44281 Fri Nov 28 19:37:56 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44283 * hash.c (env_has_value, env_index): must match exactly.
44285 * test/ruby/test_env.rb (test_has_value, test_index): condition for
44288 Fri Nov 28 17:59:20 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44290 * test/ruby/test_env.rb: add tests for ENV.
44292 Fri Nov 28 17:47:46 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
44294 * lib/drb/drb.rb (DRbMessage#load): rescue Errno::* and raise
44297 Fri Nov 28 15:41:15 2003 Tanaka Akira <akr@m17n.org>
44299 * lib/pathname.rb (Pathname#realpath): obsolete the force_absolute
44302 Fri Nov 28 14:41:52 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44304 * lib/soap/streamHandler.rb: drop unused http parameters.
44306 * lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb,
44307 lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb,
44308 lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken
44309 under WSDL dynanic client environment. fixed.
44311 * test/wsdl/raa/*: add tests.
44313 * lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.)
44314 bug of soap4r. XSDDateTimeImple.to_time passed a Float to
44315 Time.local/Time.gm as an usec, and NUM2LONG(rb_num2long for Float)
44316 causes rounding error.
44318 * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: add tests.
44320 Fri Nov 28 04:15:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44322 * eval.c (method_arity): used wrong Proc object. [ruby-talk:86504]
44324 Fri Nov 28 00:47:29 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44326 * eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true as
44327 success, false as failure. [ruby-dev:22067]
44329 * eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use
44330 ANSI macro instead of hard coded value.
44332 * eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not but
44335 Thu Nov 27 22:05:48 2003 Akinori MUSHA <knu@iDaemons.org>
44337 * eval.c, gc.c: FreeBSD/ia64 currently does not have a way for a
44338 process to get the base address for the RSE backing store, so
44339 hardcode it for the moment.
44340 [submitted by: Marcel Moolenaar <marcel@FreeBSD.org>]
44342 Thu Nov 27 17:36:42 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44344 * ext/tk/lib/tkafter.rb: bug fix on TkTimer#cancel_on_exception=(mode).
44345 TkTimer#wait recieves the exception of the callback.
44346 The exception is kept on @return_value.
44348 Thu Nov 27 16:58:48 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44350 * win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.
44352 Wed Nov 26 15:38:47 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44354 * test/fileutils/test_fileutils.rb (test_ln_s): should take the
44355 existing symbolic link for OpenBSD.
44357 Wed Nov 26 04:48:42 2003 why the lucky stiff <why@ruby-lang.org>
44359 * ext/syck/token.c: removed YYTOKTMP references which
44360 were causing buffer overflows on large block scalars,
44361 comments, quoted scalars and plain scalars.
44363 * ext/syck/rubyext.c: dynamic changing of buffer size.
44365 * ext/syck/syck.h: default buffer size of 4k.
44367 Wed Nov 26 00:55:30 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44369 * lib/webrick/httpresponse.rb: add HTTPResponse#keep_alive=.
44371 * lib/webrick/httpserver.rb (HTTPServer#run): should pass the
44372 request's keep_alive flag to the response.
44374 Tue Nov 25 21:41:35 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44376 * defines.h (ENV_IGNORECASE): should define when DOSISH without
44377 human68k. [ruby-dev:22047]
44379 * hash.c (env_has_value, env_index): don't ignore case of value.
44382 Tue Nov 25 21:39:37 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44384 * file.c (path_check_1): honor sticky bits always.
44387 Tue Nov 25 20:02:14 2003 Minero Aoki <aamine@loveruby.net>
44389 * test/fileutils/test_fileutils.rb: do test in more deep
44392 * test/fileutils/test_nowrite.rb: ditto.
44394 Tue Nov 25 19:04:23 2003 Tanaka Akira <akr@m17n.org>
44396 * lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test
44399 Tue Nov 25 18:13:30 2003 Minero Aoki <aamine@loveruby.net>
44401 * test/fileutils/test_fileutils.rb: chdir Dir.tmpdir before each
44402 test. [ruby-dev:22045]
44404 * test/fileutils/test_nowrite.rb: ditto.
44406 Tue Nov 25 17:52:11 2003 Tanaka Akira <akr@m17n.org>
44408 * lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGI
44409 if the environment variable is case sensitive.
44411 Tue Nov 25 16:41:33 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44413 * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb:
44414 removed. this test requires extra libraries in soap4r/1.5.*.
44416 Tue Nov 25 16:24:42 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44418 * lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license;
44421 * lib/soap/rpc/driver.rb, lib/soap/wsdlDriver.rb,
44422 lib/soap/streamHandler.rb: add interface to streamhandler.
44424 * lib/soap/marshal.rb: raise error if parse fails.
44426 * lib/soap/netHttpClient.rb: add https support. Patched by
44429 * lib/soap/netHttpClient.rb: dump HTTP response message body by itself.
44431 * lib/soap/rpc/driver.rb, lib/soap/rpc/proxy.rb,
44432 lib/soap/wsdlDriver.rb: add driver#mandatorycharset interface to foce
44433 using charset for parsing response from buggy server.
44435 * lib/soap/encodingstyle/soapHandler.rb: support Apache Axis's half
44436 typed multi-ref array.
44438 * lib/soap/mapping/factory.rb, lib/soap/mapping/registry.rb: map
44439 SOAPStruct which has multi-accessors which name are the same, to an
44442 * lib/soap/rpc/element.rb: fixed illegal parameter order.
44444 * lib/soap/rpc/element.rb: element name of response message could have
44445 the name other than 'return'.
44447 * lib/wsdl/operation.rb, lib/wsdl/operationBinding.rb,
44448 lib/wsdl/soap/classDefCreator.rb, lib/wsdl/soap/methodDefCreator.rb,
44449 lib/wsdl/soap/methodDefCreatorSupport.rb: WSDL/1.1 allows plural
44450 fault definition in a operation. [ruby-talk:84948]
44452 * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: add
44453 test for above fix.
44455 * lib/wsdl/soap/complexType.rb: support WSDL array definition with
44456 maxOccures="unbound".
44458 * lib/xsd/charset.rb: use cp932 under emx. Patched by
44459 Siena. / SHINAGAWA, Norihide in [ruby-dev:21972]
44461 * lib/xsd/xmlparser/parser.rb: set @charset nil by default. Nil means
44462 'follow encoding declaration in XML'.
44464 * sample/soap/digraph.rb, sample/wsdl/amazon/wsdlDriver.rb,
44465 sample/wsdl/googleSearch/sampleClient.rb,
44466 sample/wsdl/googleSearch/wsdlDriver.rb,
44467 test/wsdl/test_emptycomplextype.rb,
44468 test/wsdl/marshal/test_wsdlmarshal.rb,
44469 test/xsd/test_xmlschemaparser.rb: use File.open(...) { |f| f.read }
44470 instead of File.open(...).read. [ruby-dev:21964]
44472 * test/wsdl/emptycomplextype.wsdl, test/wsdl/test_emptycomplextype.rb:
44473 simplify the test case.
44475 * test/wsdl/axisArray/*: add tests for axis's array encoding.
44477 Tue Nov 25 16:15:29 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44479 * ruby.h: don't treat Cygwin as Windows.
44481 Tue Nov 25 15:18:28 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44483 * configure.in: change default value of --enable-pthread (default: no)
44485 Tue Nov 25 07:31:16 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44487 * parse.y (primary): allow newlines just before right argument
44488 parenthesis. (ruby-bugs:PR#1221)
44490 Mon Nov 24 23:32:06 2003 Tanaka Akira <akr@m17n.org>
44492 * lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): use
44493 catch/throw for redirection instead of exception.
44494 (OpenURI.open_loop, OpenURI.redirectable?): restrict redirection.
44496 Mon Nov 24 19:59:48 2003 Tanaka Akira <akr@m17n.org>
44498 * lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXY
44499 instead of HTTP_PROXY in the CGI environment.
44501 Mon Nov 24 19:32:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44503 * ext/etc/extconf.rb: check for pw_passwd in struct passwd and
44504 gr_passwd in struct group for DJGPP.
44506 * ext/etc/etc.c: ditto.
44508 * ext/Setup.dj: support for curses, etc, zlib.
44510 Mon Nov 24 17:00:00 2003 Tanaka Akira <akr@m17n.org>
44512 * lib/open-uri.rb: validate option names.
44513 :content_length_proc and :progress_proc option implemented.
44515 Mon Nov 24 14:53:10 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44517 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
44518 (XCFLAGS): output empty value instead of `-DRUBY_EXPORT'.
44520 Sat Nov 22 23:09:45 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44522 * configure.in: set enable_pthread to no on MinGW.
44524 Sat Nov 22 22:56:20 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44526 * configure.in: add --enable-pthread option (default: yes)
44528 Sat Nov 22 22:48:46 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44530 * ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkComposite
44532 * ext/tk/lib/tkafter.rb: bug fix of TkAfter#start
44534 * ext/tk/sample/tkcombobox.rb: new sample script
44536 * ext/tcltklib/tcltklib.c: add native thread check
44538 Sat Nov 22 18:49:47 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44540 * ext/curses/curses.c (window_nodelay): nodelay() of NetBSD's
44541 libcruses returns no value, just like keypad().
44543 Sat Nov 22 17:36:36 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44545 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
44546 (HAVE_GETCWD): output to config.h.
44548 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
44549 (XCFLAGS): output to config.status.
44551 Sat Nov 22 13:10:10 2003 Minero Aoki <aamine@loveruby.net>
44553 * lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino.
44555 Sat Nov 22 11:28:48 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44557 * gc.c (Init_stack): stack region is far smaller than usual if
44560 Sat Nov 22 07:30:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
44562 * lib/test/unit/util/backtracefilter.rb: fixed a bug that occurred
44563 when an exception had no backtrace.
44565 * test/testunit/util/test_backtracefilter.rb: ditto.
44567 Fri Nov 21 16:44:18 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44569 * ext/tk/lib/tkentry.rb: fix the encoding trouble of percent
44570 substitutions on validatecommand option of TkEntry widget
44572 * ext/tk/lib/tk.rb: fix bug on {pack|grid}_propagate() method
44574 Fri Nov 21 16:12:11 2003 Akinori MUSHA <knu@iDaemons.org>
44576 * ruby.1: Fix markups and grammar.
44578 Fri Nov 21 14:49:42 2003 Minero Aoki <aamine@loveruby.net>
44580 * ruby.1: wrote about ruby related environment variables.
44582 Fri Nov 21 12:28:03 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44584 * marshal.c (w_extended): singleton methods should not be checked
44585 when dumping via marshal_dump() or _dump(). [ruby-talk:85909]
44587 Fri Nov 21 01:40:00 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44589 * configure.in: check <pthread.h>
44591 * ruby.h: include pthread.h if existence.
44592 define is_ruby_native() macro when not HAVE_NATIVETHREAD
44594 * eval.c: undef is_ruby_native() function when not HAVE_NATIVETHREAD
44596 Fri Nov 21 00:43:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
44598 * lib/test/unit/assertions.rb: use #__send__ instead of #send.
44600 * lib/test/unit/testcase.rb: ditto.
44602 Thu Nov 20 19:19:22 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44604 * configure.in: don't find the Cygwin's pthread library on MinGW.
44606 Thu Nov 20 19:15:50 2003 Minero Aoki <aamine@loveruby.net>
44608 * lib/fileutils.rb (have_st_ino?): emx (OS/2 with EMX) does not
44609 have st_ino (always 0). [ruby-dev:21972]
44611 * lib/fileutils.rb (rename_cannot_overwrite_file?): emx does not
44612 allow overwriting files by rename(2).
44614 * test/fileutils/test_fileutils.rb: windows? ->
44615 have_drive_letter?, have_file_perm?
44617 Thu Nov 20 17:50:58 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44619 * ext/tk/sample/tkballoonhelp.rb: new sample script
44621 * ext/tk/sample/tkmultilistbox.rb: ditto
44623 * ext/tk/sample/tktextframe.rb: ditto
44625 Thu Nov 20 13:37:34 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44627 * ruby.h: define is_ruby_native_thread() for no native thread
44632 Thu Nov 20 12:42:47 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44634 * configure.in: always check existence of the pthread library
44636 * ruby.h: define macros for ruby's native thread check
44638 * eval.c: add ruby's native thread check
44642 Wed Nov 19 14:45:18 2003 Minero Aoki <aamine@loveruby.net>
44644 * lib/net/http.rb (to_ary): print more friendly warning message.
44646 Wed Nov 19 14:32:08 2003 Minero Aoki <aamine@loveruby.net>
44648 * lib/fileutils.rb (fu_same?): add djgpp and wince.
44650 * lib/fileutils.rb (cannot_overwrite_file?): add wince.
44652 Wed Nov 19 11:04:47 2003 NAKAMURA Usaku <usa@ruby-lang.org>
44654 * lib/fileutils.rb (cannot_overwrite_file?, have_st_ino?): bccwin32
44655 is same as mswin32.
44657 Wed Nov 19 07:54:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
44659 * lib/test/unit.rb: do not run tests if $! is set.
44661 * lib/test/unit/assertionfailederror.rb: extend StandardError instead
44662 Exception (irb catches the former but not the latter).
44664 Tue Nov 18 23:31:36 2003 WATANABE Hirofumi <eban@ruby-lang.org>
44666 * missing/memmove.c (memmove): take void *, not char *.
44668 * missing.h (memmove): ditto.
44670 * missing.h (strchr, strrchr): return char *, not int.
44672 Tue Nov 18 22:20:10 2003 Minero Aoki <aamine@loveruby.net>
44674 * lib/fileutils.rb (fu_same?): temporal fix for windows.
44676 Tue Nov 18 19:05:04 2003 Minero Aoki <aamine@loveruby.net>
44678 * lib/fileutils.rb (fu_same?): check by inode instead of path
44679 name, to detect two hard links pointing to the same content.
44681 * test/fileutils.rb: did not create correctly looped symlinks.
44683 Tue Nov 18 18:23:05 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44685 * ext/stringio/stringio.c (strio_read): behave as IO at empty string.
44686 [ruby-dev:21939], [ruby-dev:21941]
44688 * ext/stringio/stringio.c (strio_getc, strio_getline): set EOF flag.
44690 * ext/stringio/stringio.c (strio_rewind, strio_seek, strio_ungetc):
44693 * test/stringio/test_stringio.rb: imported from [ruby-dev:21941].
44695 Tue Nov 18 14:06:35 2003 Minero Aoki <aamine@loveruby.net>
44697 * lib/fileutils.rb (fu_each_src_dest): raise if src==dest.
44698 [ruby-talk:85344] [ruby-core:01699]
44700 * lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow
44701 e.g. remote objects for receivers.
44703 * lib/fileutils.rb: FileTest -> File.
44705 * lib/fileutils.rb: put parentheses for arguments of File.xxxx?
44707 * test/fileutils/test_fileutils.rb (test_cp): test "cp a a".
44709 * test/fileutils/test_fileutils.rb (test_mv): test "mv a a".
44711 * test/fileutils/test_fileutils.rb (test_ln): test "ln a a".
44713 * test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a".
44715 * test/fileutils/test_fileutils.rb (test_install): test "install a a".
44717 * test/fileutils/fileasserts.rb: new method assert_symlink.
44719 * test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory.
44721 Mon Nov 17 19:38:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44723 * file.c (getcwdofdrv): avoid using getcwd() directly, use
44724 my_getcwd() instead.
44726 * merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine
44727 <sunshine@sunshineco.com>. [ruby-core:01596]
44729 Mon Nov 17 10:50:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44731 * lib/optparse.rb (OptionParser::Completion::complete): allow least
44732 common completion for three or more candidates.
44734 Mon Nov 17 09:41:38 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44736 * lib/test/unit/ui/tk/testrunner.rb,
44737 lib/test/unit/ui/gtk/testrunner.rb:
44738 run GUI main loop in sub thread.
44740 * lib/test/unit/ui/gtk2/testrunner.rb: imported from rough.
44742 * lib/test/unit/autorunner.rb (keyword_display): sort keywords.
44744 Sun Nov 16 18:10:57 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44746 * eval.c (rb_eval): iterator should return value from next inside
44747 begin/rescue/end. (ruby-bugs:PR#1218)
44749 Sun Nov 16 13:26:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44751 * marshal.c (w_object): LINK check earlier than anything else,
44752 i.e. do not dump TYPE_IVAR for already dumped objects.
44753 (ruby-bugs:PR#1220)
44755 * eval.c (rb_eval): call "inherited" only when a new class is
44756 generated; not on reopening.
44758 * eval.c (eval): prepend error position in evaluating string to
44759 "mesg" attribute string only when it's available and is a
44762 Sun Nov 16 12:16:10 2003 Minero Aoki <aamine@loveruby.net>
44764 * lib/net/protocol.rb: logging response body. [experimental]
44767 Sun Nov 16 10:49:38 2003 Gavin Sinclair <gsinclair@soyabean.com.au>
44769 * lib/thread.rb (Thread.exclusive): wrap method definition in
44770 class Thread to enable rdoc to process.
44772 Sun Nov 16 09:45:23 2003 Minero Aoki <aamine@loveruby.net>
44774 * lib/net/http.rb (set_debug_output): warn if method is called
44775 after #start. [ruby-dev:38798]
44777 Sun Nov 16 04:41:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44779 * eval.c (eval): do not re-raise exception to avoid unnecessary
44780 exception copying, instead modify exception and internal
44781 information to adjust eval().
44783 * eval.c (backtrace): can return the current frame information
44786 Sat Nov 15 22:16:42 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44788 * /ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext):
44789 refine error message.
44791 Sat Nov 15 10:05:40 2003 Tanaka Akira <akr@m17n.org>
44793 * lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):
44794 refactored to support options.
44795 (Buffer): maintain size by this class.
44797 Sat Nov 15 07:40:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44799 * eval.c (rb_method_node): new API to retrieve method body.
44801 Fri Nov 14 13:21:30 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44803 * ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)
44805 * ext/tk/lib/tkdialog.rb: TkDialog.new accepts a parent widget
44806 argument [ruby-talk:85066]
44808 Thu Nov 13 20:53:35 2003 Tanaka Akira <akr@m17n.org>
44810 * lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.
44813 Thu Nov 13 19:17:00 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44815 * lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow
44818 Thu Nov 13 17:56:41 2003 Tanaka Akira <akr@m17n.org>
44820 * lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.
44821 reported by Take_tk <ggb03124@nifty.ne.jp>.
44824 Thu Nov 13 16:45:53 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44826 * ext/openssl/ossl_x509req.c (ossl_x509req_to_der): add function for
44827 X509::Request#to_der.
44829 Thu Nov 13 11:31:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44831 * lib/optparse.rb (OptionParser::Completion#complete): prior shorter
44832 name to containing longer name.
44834 Thu Nov 13 06:08:54 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44836 * ext/tk/lib/tk.rb: stop freezing some classes
44838 * ext/tk/lib/multi-tk.rb: ditto.
44840 Wed Nov 12 17:32:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44842 * lib/test/unit/assertions.rb (assert_throws, assert_nothing_thrown):
44843 uncaught throw in sub thread raises ThreadError.
44845 * lib/test/unit/ui/tk/testrunner.rb (setup_ui): "expand" is not
44848 Wed Nov 12 14:09:43 2003 Shugo Maeda <shugo@ruby-lang.org>
44850 * test/monitor/test_monitor.rb: fix the timing problem by Queue.
44852 Wed Nov 12 12:59:44 2003 Shugo Maeda <shugo@ruby-lang.org>
44854 * test/monitor/test_monitor.rb: added.
44856 Wed Nov 12 10:14:28 2003 Shugo Maeda <shugo@ruby-lang.org>
44858 * lib/monitor.rb: refactored. Thanks, Gennady Bystritsky.
44860 Wed Nov 12 06:11:39 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44862 * ext/openssl/ossl.c (ossl_x509_sk2ary, ossl_x509crl_sk2ary):
44863 add functions to convert STACK into Array.
44865 * ext/openssl/ossl.h: add prototypes.
44867 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_set_certificates,
44868 ossl_pkcs7_get_certificates, ossl_pkcs7_get_crls,
44869 ossl_pkcs7_set_crls): add functions for PKCS7#certificates=
44870 PKCS7#certificates, PKCS7#crls= and PKCS7#crls.
44872 Wed Nov 12 00:47:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
44874 * lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.
44876 Tue Nov 11 23:54:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
44878 * lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handle
44879 the case when the requested font is not available.
44881 Tue Nov 11 22:44:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44883 * io.c (appendline): file may not end with newline. a bug if
44884 READ_DATA_PENDING_PTR is defined. [ruby-talk:84925]
44886 Tue Nov 11 10:42:41 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44888 * ext/tk/lib/tk.rb: raise an exception when creating TkWindow
44889 object, because TkWindow class is an abstract class.
44891 Tue Nov 11 03:30:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
44893 * lib/ext/openssl/ossl_conf.c (ossl_config_get_value): return nil
44894 if the specified value doesn't exist.
44896 * lib/ext/openssl/ossl_conf.c (ossl_config_get_section): return
44897 a empty hash if the specified section doesn't exist.
44899 Mon Nov 10 11:40:29 2003 Shugo Maeda <shugo@ruby-lang.org>
44901 * lib/monitor.rb (wait): return true on signal/broadcastfalse and
44902 false on timeout. Thanks Gennady Bystritsky.
44904 Mon Nov 10 00:07:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44906 * parse.y (primary): primary_value may be 0 when syntax error.
44909 Sun Nov 9 02:05:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
44911 * lib/test/unit/assertions.rb: un-deprecated #assert_not_nil to
44912 maintain symmetry with #assert_nil. Also added better output for
44915 * test/testunit/tc_assertions.rb: ditto.
44917 Sat Nov 8 18:50:20 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
44919 * test/wsdl/raa/*: add new testcase for WSDL loading, parsing and
44922 * test/soap/marshal/*: backport from soap4r/1.5.1. all differences are
44925 * lib/soap/*: backport from soap4r/1.5.1. all differences are for
44928 * lib/wsdl/data.rb, lib/wsdl/xmlSchema/data.rb: move definition of
44929 ArrayTypeAttrName from ::WSDL::XMLSchema::* to ::WSDL::*.
44932 * lib/wsdl/soap/definitions.rb: element name typo in custom exception
44933 struct definition which is needed for wsdlDriver; camelCase ->
44936 Sat Nov 8 13:49:50 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44938 * configure.in: improvement of pthread check
44940 Sat Nov 8 13:28:46 2003 Takaaki Tateishi <ttate@ttsky.net>
44942 * ext/dl/sym.c: Add DL.win32_last_error and DL.last_error.
44943 Thanks, Kaoru Shirai.
44945 Sat Nov 8 06:19:38 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
44947 * ext/tcltklib/tcltklib.c: To fix 'pthread-enabled Tcl/Tk' problem,
44948 TclTkIp#_eval calls Tcl_Eval() on the mainloop thread only
44949 (queueing a handler to the EventQueue).
44951 * ext/tcltklib/README.1st: edit the description of '--with-pthread-ext'
44953 Fri Nov 7 23:23:04 2003 Tanaka Akira <akr@m17n.org>
44955 * lib/pathname.rb (Pathname#+): if self or the argument is `.', return
44957 (Pathname#parent): if self is `.', return `..'.
44958 (Pathname#children): if self is `.', don't prepend self for a
44959 pathname in a result.
44960 (Pathname#join): re-implemented using Pathname#+.
44961 (Pathname#find): if self is `.', remove `./' prefix of yielding
44964 Fri Nov 7 10:23:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44966 * ext/socket/socket.c (make_hostent): get rid of SEGV on aliases
44967 lookup failure. (ruby-bugs:PR#1215)
44969 Fri Nov 7 04:08:05 2003 UENO Katsuhiro <katsu@blue.sky.or.jp>
44971 * ext/zlib/zlib.c (Init_zlib): define Zlib::GzipReader#each_line as
44972 an alias of Zlib::GzipReader#each.
44974 Fri Nov 7 01:03:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
44976 * eval.c (rb_load): save and restore rb_prohibit_interrupt.
44979 Thu Nov 6 18:05:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44981 * io.c (rb_io_inspect): show the path also at a closed file.
44984 Thu Nov 6 11:42:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
44986 * ext/stringio/stringio.c (strio_set_string, strio_reopen): check
44989 * ext/stringio/stringio.c (strio_copy, strio_ungetc, strio_write,
44990 strio_putc): add infection.
44992 * ext/stringio/stringio.c (strio_path): just nil. [ruby-dev:21846]
44994 * ruby.c (proc_options): reserve searched script path in the
44995 source file name table. [ruby-list:38765]
44997 * lib/optparse.rb (OptionParser::Completion#complete): default not to
44998 ignore case on completion. [ruby-talk:84726]
45000 * win32/win32.c (make_cmdvector): process backslashes even if a quote
45003 Wed Nov 5 23:49:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45005 * sample/openssl/gen_csr.rb: there (at least) is a CA which does not
45006 accept DN in UTF8STRING format. it's a sample.
45008 Wed Nov 5 22:55:16 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45010 * configure.in, eval.c, signal.c: : add '--with-pthread-ext'
45011 option to fix the pthread trouble on 'tcltklib'
45013 * ext/tcltklib/README.1st: add the description of '--with-pthread-ext'
45015 * ext/tk/lib/tktext.rb: add TkText#text_copy, text_cut, text_paste
45016 to support Tcl/Tk8.4's tk_textCopy, tk_textCut, tk_textPaste
45018 * ext/tk/lib/tk.rb: add TkMenu#set_focus support Tcl/Tk's
45021 Wed Nov 5 17:33:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45023 * eval.c (rb_load): allow interrupt during loaded program
45024 evaluation. [ruby-dev:21834]
45026 * hash.c (rb_hash_fetch): always warn if default argument and a
45027 block are supplied at the same time. [ruby-dev:21842]
45029 * hash.c (env_fetch): ditto.
45031 * array.c (rb_ary_fetch): ditto.
45033 Wed Nov 5 19:08:47 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45035 * lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):
45036 do not remove next argument if empty value is placed.
45038 * test/optparse: added.
45040 Wed Nov 5 17:05:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45042 * lib/test/unit/ui/gtk/testrunner.rb: typo.
45044 Wed Nov 5 11:13:32 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45046 * string.c: add #include "version.h". this file still depends on it.
45048 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
45049 wince/Makefile.sub: add version.h dependency to string.c.
45051 Wed Nov 5 09:14:23 2003 Shugo Maeda <shugo@ruby-lang.org>
45053 * lib/monitor.rb: revert to the previous revision.
45055 Wed Nov 5 08:39:51 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45057 * lib/webrick/https.rb (HTTPRequest#parse): set @client_cert_chain.
45059 * lib/webrick/https.rb (HTTPRequest#meta_vars): create
45060 SSL_CLIENT_CERT_CHAIN_n from @client_cert_chain.
45062 * ext/openssl/ossl_ssl.c (ossl_ssl_get_peer_cert_chain): return nil
45063 if no cert-chain was given.
45065 Tue Nov 4 23:44:48 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45067 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
45068 remove needless version.h dependency.
45070 Tue Nov 4 23:38:43 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45072 * class.c, hash.c, string.c: remove #include "version.h".
45074 * Makefile.in: remove needless version.h dependency.
45076 Tue Nov 4 06:54:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45078 * io.c (read_all): fptr->f may be NULL, if IO is closed in the
45081 * io.c (io_read): ditto.
45083 * string.c (get_pat): remove 1.8.0 warning code.
45085 * string.c (rb_str_match): extend warning until 1.8.2.
45087 * string.c (rb_str_match2): ditto.
45089 * class.c (class_instance_method_list): remove 1.8.0 warnings.
45090 method_list now recurs. [ruby-dev:21816]
45092 * class.c (rb_obj_singleton_methods): ditto.
45094 * array.c (rb_ary_select): remove select with block.
45097 * hash.c (rb_hash_select): ditto.
45099 * hash.c (env_select): ditto.
45101 * re.c (match_select): ditto.
45103 * struct.c (rb_struct_select): ditto.
45105 Mon Nov 3 22:53:21 2003 Minero Aoki <aamine@loveruby.net>
45107 * lib/racc/parser.rb: synchronize with Racc 1.4.4.
45109 * ext/racc/cparse/cparse.c: ditto.
45111 * ext/racc/cparse/cparse.c (parse_main): should abort when
45112 the length of LR state stack <=1, not ==0.
45114 Mon Nov 3 08:50:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45116 * process.c (check_uid_switch): remove duplicated error messages.
45118 * process.c (check_gid_switch): ditto.
45120 Sun Nov 2 02:28:33 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45122 * lib/webrick/ssl.rb: new option :SSLExtraChainCert.
45124 Sun Nov 2 01:02:04 2003 Akinori MUSHA <knu@iDaemons.org>
45126 * string.c (rb_str_hash): Update the HASH_PERL alternative hash
45127 algorithm in sync with Perl 5.8.
45129 * st.c (strhash): Ditto.
45131 Sat Nov 1 18:21:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45133 * ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method
45134 SSLSocket#peer_cert_chain.
45136 * ext/openssl/ossl_x509req.c (GetX509ReqPtr): new function
45137 which returns underlying X509_REQ.
45139 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_issuer_cert,
45140 ossl_x509extfactory_set_subject_cert, ossl_x509extfactory_set_crl,
45141 ossl_x509extfactory_set_subject_req, ossl_x509extfactory_set_config):
45142 use underlying C struct without duplication not to leak momory.
45144 Sat Nov 1 01:49:03 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45146 * lib/soap/mapping/factory.rb: mark marshalled basetype objects when
45147 @allow_original_mapping is true. multi-referencing basetype node is
45148 prohibited in SOAP/1.1 encoding but soap4r's original ruby object
45149 mapping requires basetype to be marked to detect self referencing
45150 loop. e.g. o = 1; o.instance_eval { @iv = o } soap4r's original
45151 mapping is only used through soap/marshal API.
45153 * test/soap/marshal/test_marshal.rb: add tests for self referencing
45156 * test/soap/calc/test_calc_cgi.rb: fix test name.
45158 Fri Oct 31 22:26:29 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
45160 * wince/string_wce.c (strrchr): should decrement pointer.
45162 * wince/Makefile.sub: correct a range of isdigit().
45164 Fri Oct 31 12:55:24 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45166 * configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD.
45169 * bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto.
45171 Fri Oct 31 01:38:14 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45173 * wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spaces
45174 at the beginning of line to remove by sed. (ruby-bugs-ja:PR#580)
45176 Fri Oct 31 01:02:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45178 * compar.c (cmp_equal): protect exceptions from <=> comparison
45179 again. returns nil if any exception or error happened during
45182 * eval.c (search_required): should update *featurep when DLEXT2 is
45183 defined. (ruby-bugs-ja:PR#581)
45185 Thu Oct 30 23:41:04 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
45187 * lib/drb/drb.rb: add DRbArray
45189 * lib/drb/invokemethod.rb: fix Hash#each problem. [ruby-dev:21773]
45191 * lib/drb/unix.rb: add LoadError. [ruby-dev:21743]
45193 Thu Oct 30 23:19:11 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45195 * lib/soap/generator.rb: better XML pretty printing.
45197 * lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace
45198 assignment in the element which has "encodingStyle" attribute, and
45199 add necessary namespace assignment for "arrayType" attribute.
45201 * test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process
45204 Thu Oct 30 22:59:39 2003 why the lucky stiff <why@ruby-lang.org>
45206 * ext/syck/yaml2byte.c: HASH const too long. Thanks, matz.
45208 Thu Oct 30 19:13:53 2003 Akinori MUSHA <knu@iDaemons.org>
45210 * ext/syck/MANIFEST: Add yamlbyte.h.
45212 Thu Oct 30 14:25:31 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45214 * io.c (READ_DATA_BUFFERED): new macro to detect whether stdio
45217 * io.c (rb_io_fptr_cleanup): move path deallocation to
45218 rb_io_fptr_finalize (finalizer called by GC).
45220 Thu Oct 30 13:23:39 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45222 * parse.y (logop): left may be NULL. [ruby-talk:84539]
45224 * eval.c (rb_eval): NODE_CASE nd_head may be NULL.
45226 Thu Oct 30 10:14:51 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45228 * lib/test/unit/autorunner.rb: make fox runner work.
45230 Thu Oct 30 09:32:26 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45232 * process.c (rb_f_system): fixed lack of security check before
45233 calling do_spawn() on win32. [ruby-talk:84555]
45235 Thu Oct 30 02:46:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45237 * eval.c (proc_invoke): single array value to normal Proc#call
45238 (i.e. not via lambda call), should be treated just like yield.
45241 Thu Oct 30 02:25:48 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45243 * ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
45244 add new method to inherit @sync from @io.sync.
45246 * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): no need to
45247 set sync flag explicitly.
45249 * ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): call super.
45251 * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): set extra chain
45252 certificates in @extra_chain_cert.
45254 Wed Oct 29 22:02:04 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45256 * test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby
45257 interpreter to exec, instead of test/ruby/envutil.rb,
45259 Wed Oct 29 19:58:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45261 * ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
45262 defined and TCL_MAJOR_VERSION >= 8.
45264 * ext/tcltklib/tcltklib.c (VwaitVarProc, WaitVariableProc,
45265 rb_threadVwaitProc): use CONST84 instead of CONST.
45267 * ext/tcltklib/tcltklib.c (ip_rbTkWaitCommand,
45268 ip_rb_threadTkWaitCommand): use CONST84 always.
45270 Wed Oct 29 17:27:05 2003 Tanaka Akira <akr@m17n.org>
45272 * re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.
45274 * lib/pathname.rb (realpath): examine Dir.pwd because it may have
45277 Wed Oct 29 17:16:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45279 * eval.c (rb_longjmp): must not disturb original jump.
45282 Wed Oct 29 15:28:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45284 * eval.c (Init_Proc): taint preallocated exception object
45285 sysstack_error. [ruby-talk:84534]
45287 Wed Oct 29 11:27:39 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45289 * parse.y (ret_args): node may be NULL. [ruby-talk:84530]
45291 Tue Oct 28 15:20:12 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45293 * ext/tcltklib/tcltklib.c (VwaitVarProc, ip_rbVwaitObjCmd,
45294 WaitVariableProc, WaitVisibilityProc, WaitWindowProc,
45295 ip_rbTkWaitObjCmd, ip_rbTkWaitCommand, rb_threadVwaitProc,
45296 rb_threadWaitVisibilityProc, rb_threadWaitWindowProc,
45297 ip_rb_threadVwaitObjCmd, ip_rb_threadTkWaitObjCmd): prototype;
45298 avoid VC++ warnings.
45300 Mon Oct 27 19:19:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45302 * eval.c (rb_longjmp): ignore reentering error while warning.
45305 Mon Oct 27 00:23:50 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45307 * ext/tcltklib/tcltklib.c (ip_ruby): bug fix on Win : hang-up when
45308 calling 'exit' in the Tk callback procedure. [ruby-list:38656]
45310 Sat Oct 25 09:18:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45312 * eval.c (rb_method_missing): protect exception from within
45313 "inspect". (ruby-bugs:PR#1204)
45315 Fri Oct 24 23:26:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45317 * hash.c (rb_hash_each): Hash#each should yield single value.
45320 * hash.c (env_each): ditto for ENV.each.
45322 Thu Oct 23 20:25:32 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45324 * lib/webrick/server.rb (GenericServer#start): should rescue
45325 IOError from IO::accept. [ruby-dev:21692]
45327 Thu Oct 23 17:59:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45329 * eval.c (ruby_cleanup): initialize stack bottom for embedding.
45332 * ext/dl/extconf.rb: move list of files to clean from DEPEND file,
45333 to get rid of macro redefinitions.
45335 Thu Oct 23 13:44:00 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45337 * parse.y: integrate operations for stack_type. [ruby-dev:21681]
45339 Thu Oct 23 00:41:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45341 * test/soap/calc/*, test/soap/helloworld/*: set logging threshold
45344 Wed Oct 22 12:53:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45346 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
45347 ignore tests which raised LoadError.
45349 * test/drb/drbtest.rb, test/ruby/test_beginendblock.rb,
45350 test/ruby/test_system.rb: avoid requiring same file twice.
45352 * test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use
45353 ARGV unless invoked directly. do not create test cases unless
45354 required libraries are available.
45356 Wed Oct 22 02:31:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45358 * eval.c (ruby_cleanup): should not ignore exit_value in END
45359 execution. [ruby-dev:21670]
45361 Tue Oct 21 23:16:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45363 * eval.c (ruby_cleanup): call finalizers and exit procs before
45364 terminating threads.
45366 * eval.c (ruby_cleanup): preserve ruby_errinfo before ruby_finalize_0().
45368 Tue Oct 21 15:57:11 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45370 * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
45371 prepend the directory of target file to the load path.
45373 Tue Oct 21 15:08:53 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45375 * win32/win32.c (do_spawn, do_aspawn): should wait child process even
45376 if callded with P_OVERLAY.
45378 * win32/win32.c (do_spawn, do_aspawn): should return child's exit
45381 Tue Oct 21 00:35:02 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45383 * test/soap/calc/*, test/soap/helloworld/*: catch the exception from
45384 test server thread and recover.
45386 Tue Oct 21 00:22:57 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
45388 * test/drb/*: import drb/runit.
45390 Mon Oct 20 23:55:47 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45392 * eval.c (rb_eval): set current node after arguments evaluation.
45395 * eval.c (rb_yield_0): set current node and keep it at local jump.
45397 Mon Oct 20 22:01:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45399 * eval.c (rb_thread_cleanup): keep thread group for main thread.
45402 Mon Oct 20 18:28:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45404 * eval.c (rb_catch): backout.
45406 Mon Oct 20 17:31:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45408 * eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP()
45411 * eval.c (localjump_destination): use unique number in ruby_frame
45412 for localjump destination.
45414 Mon Oct 20 11:31:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45416 * test/ruby/test_signal.rb (test_signal): restore old trap.
45418 Mon Oct 20 11:00:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45420 * gc.c (gc_sweep): loosen page free condition to avoid add_heap()
45421 race condition. [ruby-dev:21633]
45423 * gc.c (gc_sweep): do not update malloc_limit when malloc_increase
45424 is smaller than malloc_limit.
45426 Mon Oct 20 09:45:12 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45428 * lib/debug.rb (debug_command): remove debug print.
45430 Sun Oct 19 13:12:30 2003 Tanaka Akira <akr@m17n.org>
45432 * lib/pathname.rb (foreachline, dir_foreach): add obsolete warning.
45434 Sun Oct 19 00:14:22 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45436 * test/soap/calc/*, test/soap/helloworkd/*: changed port# of test
45439 Sat Oct 18 23:01:32 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45441 * missing/acosh.c (DBL_MANT_DIG): typo fix(ifdef -> ifndef).
45443 Sat Oct 18 05:48:59 2003 why the lucky stiff <why@ruby-lang.org>
45445 * ext/syck/rubyext.c: YAML::Syck::compile method.
45447 * ext/syck/syck.c: Buffer edge bug.
45449 * ext/syck/yaml2byte.c: YAML to bytecode converter.
45451 * ext/syck/yamlbyte.h: Ditto.
45453 * ext/syck/bytecode.c: Bytecode parser fixes to empty collections
45456 * ext/syck/token.c: Ditto.
45458 Fri Oct 17 23:07:38 2003 Akinori MUSHA <knu@iDaemons.org>
45460 * ext/enumerator/enumerator.c, ext/enumerator/enumerator.txt:
45461 Provide Kernel#to_enum as an alias for Kernel#enum_for. Maybe
45462 this is a better name.
45464 Fri Oct 17 23:00:30 2003 Akinori MUSHA <knu@iDaemons.org>
45466 * lib/generator.rb: Add rdoc documentation.
45468 Fri Oct 17 22:16:42 2003 Akinori MUSHA <knu@iDaemons.org>
45470 * lib/set.rb: Reword and fix Overview.
45472 * lib/set.rb: It is not necessary to require
45473 'test/unit/ui/console/testrunner'.
45475 Fri Oct 17 11:15:22 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45477 * test/ruby/test_range.rb: added.
45479 * MANIFEST: add test/ruby/test_range.rb.
45481 Fri Oct 17 03:21:23 2003 William Sobel <will.sobel@barra.com>
45483 * ext/socket/socket.c (make_hostent): h_aliases may be NULL.
45484 (ruby-bugs:PR#1195)
45486 * ext/socket/socket.c (sock_s_gethostbyaddr): ditto.
45488 Fri Oct 17 00:12:41 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45490 * ext/tk/lib/tk.rb: (bug fix) instance variable @frame was used
45491 without initializing on TkComposite module.
45493 Thu Oct 16 23:51:04 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45495 * ext/tk/lib/tk.rb: If $DEBUG == true and some exception is caused
45496 in a callback operation, Ruby/Tk shows a (verbose) backtrace
45497 information on the callback process.
45499 Thu Oct 16 17:09:19 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45501 * lib/debug.rb (DEBUGGER__::Context::debug_command): do not call
45502 debug_silent_eval() when $1 is not set. (ruby-bugs:PR#1194)
45504 Thu Oct 16 16:54:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45506 * string.c (rb_str_upto): ("a"..."a").to_a should return [].
45509 Thu Oct 16 16:40:51 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45511 * ext/tk/lib/tk.rb:
45512 Add Tk::EncodedString and Tk::UTF8_String class to support
45513 characters using the \uXXXX escape to the UNICODE string.
45515 * ext/tk/sample/{demos-en,demos-jp}/unicodeout.rb
45516 new demo-scripts (samples of Tk::UTF8_String)
45518 * ext/tk/sample/{demos-en,demos-jp}/widget
45519 add entries for 'unicodeout.rb'
45521 Thu Oct 16 08:38:06 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45523 * test/digest/test_digest.rb (test_eq): show failed class.
45525 * test/ruby/test_iterator.rb (test_break, test_return_trace_func):
45526 test localjump destination.
45528 Wed Oct 15 20:22:31 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45530 * lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead of
45531 instance_eval('path_query'). [ruby-list:38575]
45533 Wed Oct 15 17:24:45 2003 URABE Shyouhei <root@mput.dip.jp>
45535 * lib/cgi.rb (CGI::Cookie): tiny typo fix.
45537 Wed Oct 15 15:00:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45539 * eval.c (ruby_run): just return FAILURE instead of parse error
45540 count. [ruby-list:38569]
45542 Wed Oct 15 13:17:02 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45544 * ext/digest/digest.c (rb_digest_base_alloc): need to initialize
45545 buffer. [ruby-dev:21622]
45547 Wed Oct 15 11:23:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45549 * marshal.c (w_object): dump extended modules as well.
45551 * marshal.c (r_object0): TYPE_USRMARSHAL should restore extended
45552 modules before invoking marshal_load. these two fixes are done
45553 by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>.
45555 Wed Oct 15 09:30:34 2003 NAKAMURA Usaku <usa@ruby-lang.org>
45557 * ext/enumerator/enumerator.c (enumerator_each): avoid VC++ warning.
45559 * ext/syck/syck.h: include stdio.h for definition of FILE.
45561 Wed Oct 15 08:09:07 2003 why the lucky stiff <why@ruby-lang.org>
45563 * ext/syck/bytecode.c: Checkin of YAML bytecode support.
45565 * ext/syck/gram.c: Ditto.
45567 * ext/syck/syck.c: Ditto.
45569 * ext/syck/token.c: Ditto.
45571 * ext/syck/handler.c: Ditto.
45573 * ext/syck/handler.c: Now using 'tag' rather than 'taguri' in type URIs.
45575 * ext/syck/rubyext.c: Ditto (on both counts).
45577 Wed Oct 15 05:05:53 2003 Akinori MUSHA <knu@iDaemons.org>
45579 * lib/generator.rb: A new library which converts an internal
45580 iterator to an external iterator.
45582 * lib/abbrev.rb: A new library which creates an abbreviation table
45585 Wed Oct 15 04:31:51 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45587 * ext/tk/sample/demos-en/entry3.rb, ext/tk/sample/demos-jp/entry3.rb:
45590 * ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/widget:
45591 add entries for 'entry3.rb'
45593 Wed Oct 15 04:31:47 2003 Akinori MUSHA <knu@iDaemons.org>
45595 * test/digest/test_digest.rb: Moved from ext/digest/test.rb.
45597 Wed Oct 15 03:53:20 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45599 * ext/tk/lib/tk.rb: fixed trouble on auto-load Tcl commands (enbug
45600 on the last commit).
45602 Wed Oct 15 00:25:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45604 * parse.y (yylex): argument parentheses preceded by spaces should
45605 be warned; not error. [ruby-talk:84103]
45607 Wed Oct 15 00:20:15 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
45609 * ext/tcltklib/tcltklib.c: replace Tcl/Tk's vwait and tkwait to
45610 switch on threads smoothly and avoid seg-fault.
45612 * ext/tcltklib/tcltklib.c: add TclTkIp._thread_vwait and
45613 _thread_tkwait for waiting on a thread. (Because Tcl/Tk's vwait
45614 and tkwait command wait on an eventloop.)
45616 * ext/tk/lib/multi-tk.rb: support TclTkIp._thread_vwait and
45619 * ext/tk/lib/tk.rb: now, TkVariable#wait has 2 arguments.
45620 If 1st argument is true, waits on a thread. If false, waits on
45621 an eventloop. If 2nd argument is true, checks existence of
45622 rootwidgets. If false, doesn't. Default is wait(true, false).
45624 * ext/tk/lib/tk.rb: add TkVariable#tkwait(arg) which is equal to
45625 TkVariable#wait(arg, true). wait_visibility and wait_destroy
45626 have an argument for waiting on a thread or an eventloop.
45628 * ext/tk/lib/tk.rb: improve of accessing Tcl/Tk's special variables.
45630 * ext/tk/lib/tkafter.rb: support 'wait on a thread' and 'wait on
45633 Wed Oct 15 00:10:24 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45635 * lib/soap/baseData.rb: Introduce SOAPType as the common ancestor of
45636 SOAPBasetype and SOAPCompoundtype.
45638 * lib/soap/generator.rb, lib/soap/element.rb, lib/soap/encodingstyle/*:
45639 Encoding methods signature change. Pass SOAPGenerator as a parameter.
45641 * lib/soap/mapping/*, test/soap/marshal/test_marshal.rb: Refactoring
45642 for better marshalling/unmarshalling support. Now I think SOAP
45643 marshaller supports all kind of object graph which is supported by
45644 Ruby's original marshaller. Of course there could be bugs as always.
45647 * lib/soap/rpc/standaloneServer.rb: Set severity threshould to INFO.
45648 DEBUG is too noisy.
45650 * lib/xsd/datatypes.rb: DateTime#of is obsoleted. Use DateTime#offset.
45652 * test/wsdl/emptycomplextype.wsdl, test/xsd/xmlschema.xml: Avoid
45655 Tue Oct 14 19:09:35 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45657 * eval.c (ruby_finalize_0): return the given exit status unless
45658 SystemExit got raised.
45660 Tue Oct 14 11:53:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45662 * intern.h (ruby_stop): never return.
45664 * ruby.h (ruby_run): ditto.
45666 Tue Oct 14 04:43:55 2003 Tanaka Akira <akr@m17n.org>
45668 * lib/pathname.rb (realpath): make ELOOP check bit more robust.
45669 (children): prepend self by default.
45670 (chroot): obsoleted.
45672 Tue Oct 14 02:29:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45674 * eval.c (rb_require_safe): segfault after loading .so.
45676 Tue Oct 14 02:05:23 2003 Akinori MUSHA <knu@iDaemons.org>
45678 * ext/Setup*, ext/enumerator/*: Add ext/enumerator, a helper
45679 module for the Enumerable interface.
45681 Mon Oct 13 23:55:59 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45683 * test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"],
45686 Mon Oct 13 23:57:29 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45688 * eval.c (rb_feature_p): match by classified suffix.
45690 * eval.c (rb_require_safe): require library in the specified safe
45693 * variable.c (rb_autoload, rb_autoload_load): restore safe level
45694 when autoload was called. [ruby-dev:21338]
45696 * intern.h: prototypes; rb_require_safe.
45698 * test/runner.rb: accept non-option arguments.
45700 Mon Oct 13 20:49:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45702 * string.c (str_new4): should not preserve FL_TAINT status in the
45703 internal shared string. [ruby-dev:21601]
45705 * string.c (rb_str_new4): ditto.
45707 * eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values.
45709 * process.c: ditto. [ruby-list:38521]
45711 Mon Oct 13 19:51:02 2003 Koji Arai <jca02266@nifty.ne.jp>
45713 * lib/debug.rb (debug_command): should enter emacs mode when
45714 assigned any value to the environment variable "EMACS".
45715 On Meadow, (getenv "EMACS") is "meadow".
45717 Sun Oct 12 14:45:03 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45719 * ext/win32ole/extconf.rb: check "windows.h", not "windows".
45722 Sat Oct 11 20:41:03 2003 Corinna Vinschen <corinna@vinschen.de>
45724 * file.c (eaccess): Use access(2) on Cygwin.
45726 Sat Oct 11 17:09:21 2003 WATANABE Hirofumi <eban@ruby-lang.org>
45728 * lib/rexml/quickpath.rb (REXML::QuickPath::match):
45729 escape '[' to avoid warning.
45731 Sat Oct 11 16:08:41 2003 Tanaka Akira <akr@m17n.org>
45733 * lib/pathname.rb (realpath): check existence of the file.
45735 * lib/pathname.rb (realpath): re-implemented.
45736 (realpath_root?, realpath_rec): removed
45738 Sat Oct 11 10:19:39 2003 Shugo Maeda <shugo@ruby-lang.org>
45740 * lib/monitor.rb: handle exceptions correctly. Thanks, Gennady
45743 Fri Oct 10 07:50:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45745 * eval.c (is_defined): inheritance line adjustment as like as
45748 Fri Oct 10 01:19:00 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45750 * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): add
45751 optional argument to specify the DirectoryString type
45752 (ASN1::UTF8STRING by default). RFC3280 deprecates PrintableString
45753 for DirectoryString, and strongly requires to use UTF8String for
45754 all certificates issued after December, 31 2003.
45756 * ext/openssl/lib/openssl/x509.rb (X509::Name::parse): ditto.
45758 Thu Oct 9 23:50:21 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45760 * eval.c (rb_thread_start_0): prevent thread from GC.
45763 Thu Oct 9 19:11:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45765 * eval.c (rb_thread_start_0): non-volatile should be restored from
45768 Thu Oct 9 17:43:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45770 * eval.c (proc_save_safe_level, proc_get_safe_level,
45771 proc_set_safe_level): save/restore safe level 1..4.
45773 Thu Oct 9 16:33:23 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45775 * marshal.c (r_object0): remove unnecessary iv restoration for
45776 USRMARSHAL. [ruby-dev:21582]
45778 * marshal.c (w_object): dump generic instance variables from
45779 a string from '_dump'.
45781 * variable.c (rb_generic_ivar_table): return 0 if obj's FL_EXIVAR
45784 * time.c (time_dump): copy instance variables to dumped string, to
45785 be included in the marshaled data.
45787 * bignum.c (rb_big2ulong): add range check to ensure round trip.
45789 Thu Oct 9 15:45:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45791 * pack.c (uv_to_utf8): change message to "out of range", since
45792 negative values are not "too big". [ruby-dev:21567]
45794 Thu Oct 9 14:05:38 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45796 * eval.c (rb_set_end_proc, rb_exec_end_proc): restore safe level.
45799 Thu Oct 9 10:51:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45801 * eval.c (rb_yield_0): no error if block is empty.
45803 Thu Oct 9 06:43:33 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45805 * eval.c (localjump_error): id should be ID.
45807 * eval.c (rb_eval): nd_rval is set in copy_node_scope().
45809 * eval.c (rb_yield_0): unused variable.
45811 * eval.c (rb_yield_0): nothing to do for empty node.
45813 * eval.c (call_end_proc, proc_invoke): adjust backtrace in END.
45816 * eval.c (rb_thread_start_0): set the value by break as the result.
45819 * eval.c (rb_thread_start_0, rb_thread_raise, rb_callcc): save
45820 variables across THREAD_SAVE_CONTEXT.
45822 Thu Oct 9 12:05:46 2003 Eric Sunshine <sunshine@sunshineco.com>
45824 * configure.in: revived NextStep, OpenStep, and Rhapsody ports which
45825 had become unbuildable; enhanced --enable-fat-binary option so that
45826 it accepts a list of desired architectures (rather than assuming a
45827 fixed list), or defaults to a platform-appropriate list if user does
45828 not provide an explicit list; made the default list of architectures
45829 for MAB (fat binary) more comprehensive; now uses -fno-common even
45830 when building the interpreter (in addition to using it for
45831 extensions), thus allowing the interpreter to be embedded into a
45832 plugin module of an external project (in addition to allowing
45833 embedding directly into an application); added checks for
45834 <netinet/in_systm.h> (needed by `socket' extension) and getcwd(); now
45835 ensures that -I/usr/local/include is employed when extensions'
45836 extconf.rb scripts invoke have_header() since extension checks on
45837 NextStep and OpenStep will fail without it if the desired resource
45838 resides in the /usr/local tree; fixed formatting of --help message.
45840 * Makefile.in: $(LIBRUBY_A) rule now deletes the archive before
45841 invoking $(AR) since `ar' on Apple/NeXT can not "update" MAB archives
45842 (see configure's --enable-fat-binary option); added rule for new
45845 * defines.h: fixed endian handling during MAB build (see configure's
45846 --enable-fat-binary option) to ensure that all portions of the
45847 project see the correct WORDS_BIGENDIAN value (some extension modules
45848 were getting the wrong endian setting); added missing constants
45849 GETPGRP_VOID, WNOHANG, WUNTRACED, X_OK, and type pid_t for NextStep
45850 and OpenStep; removed unnecessary and problematic HAVE_SYS_WAIT_H
45851 define in NeXT section.
45853 * dir.c: do not allow NAMLEN() macro to trust dirent::d_namlen on
45854 NextStep since, on some installations, this value always resolves
45857 * dln.c: added error reporting to NextStep extension loader since the
45858 previous behavior of failing silently was not useful; now ensures
45859 that NSLINKMODULE_OPTION_BINDNOW compatibility constant is defined
45860 for OpenStep and Rhapsody; no longer includes <mach-o/dyld.h> twice
45861 on Rhapsody since this header lacks multiple-include protection,
45862 which resulted in "redefinition" compilation errors.
45864 * main.c: also create hard reference to objc_msgSend() on NeXT
45865 platforms (in addition to Apple platforms).
45867 * lib/mkmf.rb: now exports XCFLAGS from configure script to extension
45868 makefiles so that extensions can be built MAB (see configure's
45869 --enable-fat-binary option); also utilize XCFLAGS in cc_command()
45870 (but not cpp_command() because MAB flags are incompatible with
45871 direct invocation of `cpp').
45873 * ext/curses/extconf.rb: now additionally checks for presence of these
45874 curses functions which are not present on NextStep or Openstep:
45875 bkgd(), bkgdset(), color(), curs(), getbkgd(), init(), scrl(), set(),
45876 setscrreg(), wattroff(), wattron(), wattrset(), wbkgd(), wbkgdset(),
45877 wscrl(), wsetscrreg()
45879 * ext/curses/curses.c: added appropriate #ifdef's for additional set of
45880 curses functions now checked by extconf.rb; fixed curses_bkgd() and
45881 window_bkgd() to correctly return boolean result rather than numeric
45882 result; fixed window_getbkgd() to correctly signal an error by
45883 returning nil rather than -1.
45885 * ext/etc/etc.c: setup_passwd() and setup_group() now check for null
45886 pointers before invoking rb_tainted_str_new2() upon fields extracted
45887 from `struct passwd' and `struct group' since null pointers in some
45888 fields are common on NextStep/OpenStep (especially so for the
45889 `pw_comment' field) and rb_tainted_str_new2() throws an exception
45890 when it receives a null pointer.
45892 * ext/pty/pty.c: include "util.h" for strdup()/ruby_strdup() for
45893 platforms such as NextStep and OpenStep which lack strdup().
45895 * ext/socket/getaddrinfo.c: cast first argument of getservbyname(),
45896 gethostbyaddr(), and gethostbyname() from (const char*) to non-const
45897 (char*) for older platforms such as NextStep and OpenStep.
45899 * ext/socket/socket.c: include "util.h" for strdup()/ruby_strdup() for
45900 platforms such as NextStep and OpenStep which lack strdup(); include
45901 <netinet/in_systm.h> if present for NextStep and OpenStep; cast first
45902 argument of gethostbyaddr() and getservbyname() from (const char*) to
45903 non-const (char*) for older platforms.
45905 * ext/syslog/syslog.c: include "util.h" for strdup()/ruby_strdup() for
45906 platforms such as NextStep and OpenStep which lack strdup().
45908 Wed Oct 8 22:19:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
45910 * lib/test/unit.rb: removed installation instructions.
45912 * lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more
45915 * lib/test/unit.rb: ditto.
45917 * lib/test/unit.rb: extracted the running code in to AutoRunner.
45919 * lib/test/unit/autorunner.rb: added.
45921 * lib/test/unit/collector/objectspace.rb: extracted common test
45922 collection functionality in to a module.
45924 * lib/test/unit/collector.rb: ditto; added.
45926 * test/testunit/collector/test_objectspace.rb: ditto.
45928 * lib/test/unit/collector/dir.rb: added. Supports collecting tests out
45929 of a directory structure.
45931 * test/testunit/collector/test_dir.rb: added.
45933 * test/runner.rb: simplified to use the new capabilities.
45935 Tue Oct 7 15:23:09 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45937 * test/ruby/test_beginendblock.rb: add tests for nested BEGIN/END.
45939 * test/ruby/beginmainend.rb: add tests for nested BEGIN/END.
45941 * test/ruby/endblockwarn.rb: new file added to test of END-in-method
45944 Tue Oct 7 12:23:47 2003 Tanaka Akira <akr@m17n.org>
45946 * ext/fcntl/fcntl.c (Init_fcntl): define Fcntl::O_ACCMODE.
45948 * ext/socket/extconf.rb: useless assignment removed.
45950 Tue Oct 7 09:13:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45952 * test/ruby/test_beginendblock.rb (test_endinmethod): END{} is now
45955 Tue Oct 7 04:15:25 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45957 * parse.y (stmt): should not expand mrhs if lhs is solely starred.
45959 Tue Oct 7 02:57:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45961 * parse.y (stmt): rhs of multiple assignment should not be
45962 expanded using "to_a". [ruby-dev:21527]
45964 Tue Oct 7 01:42:34 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
45966 * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): use appropriate
45967 free function for ASN1_OBJECT.
45969 * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_sn): add new function for
45970 ASN1::ObjectId#sn; it returns short name text representation of OID.
45972 * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_ln): add new function for
45973 ASN1::ObjectId#ln; it returns long name text representation of OID.
45975 * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_oid): add new function for
45976 ASN1::ObjectId#oid; it returns numerical representation of OID.
45978 Mon Oct 6 22:59:46 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
45980 * lib/csv.rb (IOReader, BasicWriter): call binmode when a given IO
45981 respond_to?(:binmode). record separator was wrong when you gave
45982 text mode IO to Reader.parse and Writer.generate.
45984 * test/csv/test_csv.rb: add tests for above change.
45986 Sun Oct 5 23:27:09 2003 Tanaka Akira <akr@m17n.org>
45988 * ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.
45990 * ext/socket/socket.c (thread_read_select): restored.
45992 Mon Oct 6 16:23:38 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
45994 * marshal.c (w_object): wrong method name in the message.
45996 Mon Oct 6 16:02:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
45998 * parse.y (stmt): END in method should cause warning.
46001 Mon Oct 6 15:17:23 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46003 * test/ruby/test_iterator.rb (test_block_argument_without_paren):
46004 added. (follows sample/test.rb)
46006 Mon Oct 6 11:57:06 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46008 * test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: added
46009 test for eval-ed BEGIN END order.
46011 Mon Oct 6 09:19:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46013 * marshal.c (w_object): should pass "weak" value to next level.
46016 * eval.c (proc_alloc): should not use cached object if klass is
46017 different. [ruby-talk:83685]
46019 Sun Oct 5 23:27:09 2003 Tanaka Akira <akr@m17n.org>
46021 * lib/pathname.rb: version information is added in document.
46023 Sun Oct 5 23:07:03 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46025 * eval.c (rb_f_END): block should be given. [ruby-dev:21497]
46027 Sun Oct 5 22:51:23 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46029 * lib/ext/openssl/extconf.rb: add check for some engine functions
46030 unavailable in OpenSSL-0.9.6.
46032 * lib/ext/openssl/ossl_engine.c: ditto.
46034 Sun Oct 5 17:56:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46036 * eval.c (rb_eval): fix evaluation order. [ruby-list:38431]
46038 Sun Oct 5 15:05:06 2003 akira yamada <akira@ruby-lang.org>
46040 * test/uri/*: translated RUNIT to Test::Unit.
46042 Sun Oct 5 14:37:39 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46044 * lib/xsd/datatypes.rb: Rational -> Decimal string bug fix.
46046 * test/soap/marshal/test_marshal.rb: ditto.
46048 * test/soap/calc/test_calc_cgi.rb: add Config::CONFIG["EXEEXT"] to
46051 Sun Oct 5 13:47:22 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46053 * test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: add tests
46054 about scope, order and allowed syntax.
46056 Sun Oct 5 11:54:29 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46058 * test/ruby/envutil.rb: added. split "rubybin" from test_system.rb.
46060 * test/ruby/test_system.rb: use envutil.rb
46062 * test/ruby/test_beginendblock.rb: added.
46064 * test/ruby/beginmainend.rb: added. used in test_beginendblock.rb.
46066 Sun Oct 5 11:23:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46068 * test/testunit/runit/test_testresult.rb: removed some unnecessary
46071 Sun Oct 5 11:14:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46073 * lib/rubyunit.rb: aliasing TestCase into the top level is
46076 * lib/runit/assert.rb: fixed a couple of bugs caused by recent
46077 refactoring in Test::Unit.
46079 * test/testunit/runit/*: added.
46081 Sun Oct 5 10:55:29 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46083 * lib/open-uri.rb (URI::Generic#find_proxy): no_proxy support did not
46084 work. [ruby-dev:21484]
46086 Sun Oct 5 09:52:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46088 * lib/test/unit/assertions.rb: will use pp for output if available.
46089 Can be disabled by setting Assertions.use_pp = false.
46091 * test/testunit/test_assertions.rb: made a small change to exception
46094 Sun Oct 5 07:42:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46096 * lib/test/unit/assertions.rb: made small improvements to assertion
46097 messages. Deprecated Assertions#assert_not_nil; use #assert instead.
46099 * test/testunit/test_assertions.rb: ditto.
46101 * test/testunit/util/test_procwrapper.rb: use #assert instead of
46104 Sun Oct 5 04:10:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46106 * lib/test/unit/assertions.rb: refactored message building.
46108 Sun Oct 5 03:40:22 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46110 * ext/openssl/ossl_asn1.h: global symbols should be declared
46113 Sun Oct 5 03:03:20 2003 akira yamada <akira@ruby-lang.org>
46115 * test/ruby/test_exception.rb (test_else): added.
46117 Sun Oct 5 02:12:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46119 * lib/test/unit/assertions.rb: changed assertion messages to rely more
46120 heavily on #inspect. Added backtrace filtering for exceptions in
46121 assertion messages.
46123 * test/testunit/test_assertions.rb: ditto.
46125 Sun Oct 5 02:12:00 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
46127 * lib/drb/acl.rb, lib/drb/ssl.rb: added.
46129 * lib/drb/drb.rb: exit from a thread using 'break'.
46131 Sat Oct 4 21:49:14 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46133 * gc.c (Init_stack): the type of space is changed to unsigned int
46134 from double. [ruby-dev:21483]
46136 Sat Oct 4 17:52:59 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46138 * lib/soap/netHttpClient.rb: follow http-access2. hosts which matches
46139 ENV['no_proxy'] or ENV['NO_PROXY'] are not proxyed.
46140 - [,:] separated. ("ruby-lang.org:rubyist.net")
46141 - no regexp. (give "ruby-lang.org", not "*.ruby-lang.org")
46142 - if you want specify host by IP address, give full address.
46143 ("192.168.1.1, 192.168.1.2")
46145 * lib/soap/rpc/cgistub.rb: return "Status: XXX MMM" line.
46147 * test/runner.rb: give testsuite name.
46149 Sat Oct 4 15:16:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46151 * marshal.c (w_object): instance variable dump do not cause error
46152 for objects that cannot be dumped, if they traversed from
46153 marshal_dump. they are just ignored.
46155 * gc.c (Init_stack): cast "space" (doble value) into unsigned
46156 int. should run on PowerPC.
46158 * eval.c (rb_eval): should not execute else part if any exception
46159 is caught. [ruby-dev:21482]
46161 * parse.y (f_args): should allow unparenthesized block argument.
46163 * parse.y (f_rest_arg): should allow unparenthesized rest
46166 Sat Oct 4 14:59:51 2003 Tanaka Akira <akr@m17n.org>
46168 * lib/pathname.rb (initialize): raise ArgumentError if argument has
46170 (relative_path_from): new method.
46171 (each_entry): new method for replacement of dir_foreach.
46172 (foreach, foreachline, dir_foreach, chdir): obsoleted.
46174 Sat Oct 4 12:58:48 2003 akira yamada <akira@ruby-lang.org>
46176 * test/uri/* (6 files): added.
46178 Sat Oct 4 12:44:45 2003 akira yamada <akira@ruby-lang.org>
46180 * lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.
46182 Sat Oct 4 07:33:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46184 * lib/test/unit/testsuite.rb: changed #<< to return self, and added
46187 * test/testunit/test_testsuite.rb: ditto. Also slightly refactored
46190 * lib/test/unit/collector/objectspace.rb: collector now preserves the
46191 hierarchy of suites.
46193 * test/testunit/collector/test_objectspace.rb: ditto.
46195 Sat Oct 4 04:48:49 2003 why the lucky stiff <why@ruby-lang.org>
46197 * ext/syck/rubyext.c: default keys handled.
46199 * ext/syck/syck.h: lowered default buffer size to 16k for increased
46202 * test/yaml: checkin of basic unit tests.
46204 Sat Oct 4 04:24:19 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46206 * ext/openssl/extconf.rb: add check for X509V3_set_nconf.
46208 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):
46209 cannot implement if X509V3_set_nconf doesn't exist.
46211 Sat Oct 4 02:12:44 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46213 * lib/xsd/datatypes.rb: dump sign by itself. under the problematic
46214 platform, sprintf("%+.10g", -0.0) => +0. sigh.
46216 * sample/wsdl/amazon/*: update schema ver2 to ver3.
46218 Sat Oct 4 01:33:46 2003 Tanaka Akira <akr@m17n.org>
46220 * lib/pathname.rb (initialize): duplicate and freeze argument.
46221 (to_s): return duplicated string.
46222 (children): new method.
46223 (each_line): new alias to foreachline.
46225 Fri Oct 3 16:13:19 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46227 * ext/openssl/ossl_asn1.c: add DER encoder and decoder.
46229 * ext/openssl/ossl_asn1.h: add OpenSSL::ASN1 module.
46231 * ext/openssl/ossl.c (Init_openssl): call Init_ossl_asn1.
46233 * ext/openssl/extconf.rb: check if X509_ATTRIBUTE has field "single".
46235 * ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): accept
46236 DER encoded data argument.
46238 * ext/openssl/ossl_x509attr.c (ossl_x509attr_get_value): return
46239 DER encoded data in OpenSSL::ASN1 types.
46241 Fri Oct 3 13:02:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46243 * lib/test/unit.rb: refactored to use optparse.
46245 * lib/test/unit.rb: added support for selecting the output
46246 level from the command-line.
46248 * lib/test/unit.rb: added a command-line switch to stop processing
46249 the command-line, allowing arguments to be passed to tests.
46251 * lib/test/unit.rb: changed the method for specifying a runner or a
46252 filter from the command-line.
46254 * lib/test/unit/collector/objectspace.rb: fixed a bug causing all
46255 tests to be excluded when the filter was set to an empty array.
46257 * test/testunit/collector/test_objectspace.rb: ditto.
46259 Fri Oct 3 08:14:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46261 * lib/irb/ruby-lex.rb (RubyLex::identify_identifier): support
46262 'class ::Foo' syntax. [ruby-talk:83514]
46264 Fri Oct 3 08:01:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46266 * lib/test/unit/assertions.rb: added a default message for #assert,
46267 #assert_block, and #flunk.
46269 * test/testunit/test_assertions.rb: ditto.
46271 * lib/test/unit/failure.rb: failures now show a better trace of where
46274 * test/testunit/test_failure.rb: ditto (added).
46276 * lib/test/unit/testcase.rb: ditto.
46278 * test/testunit/test_testcase.rb: ditto.
46280 * lib/test/unit/util/backtracefilter.rb: added.
46282 * test/testunit/util/test_backtracefilter.rb: added.
46284 * lib/test/unit/error.rb: changed to use BacktraceFilter and improved
46287 * test/testunit/test_error.rb: ditto.
46289 Thu Oct 2 20:33:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46291 * ext/iconv/iconv.c (iconv_failure_initialize): conform with
46292 orthodox initialization method.
46294 * ext/iconv/iconv.c (iconv_fail): initialize exception instance
46295 from the class, and do not share instance variables with the
46296 others. [ruby-dev:21470]
46298 Thu Oct 2 18:20:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46300 * time.c (Init_Time): define initialize. [ruby-dev:21469]
46302 Thu Oct 2 17:39:38 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46304 * ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine.
46305 it supports OpenSSL hardware cryptographic engine interface.
46307 * ext/openssl/ossl_engine.h: ditto.
46309 * ext/openssl/MANIFEST: add ossl_engine.c and ossl_engine.h.
46311 * ext/openssl/extconf.rb: add check for openssl/engine.h.
46313 * ext/openssl/ossl.c: call Init_ossl_engine().
46315 * ext/openssl/ossl.h: include openssl/engine.h.
46317 * ext/openssl/ossl_pkey_{rsa,dsa,dh}.c: check if underlying
46318 EVP_PKEY referes engine.
46320 Thu Oct 2 17:22:37 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46322 * time.c (time_load): restore instance variables (if any) before
46323 loading from marshaled data.
46325 Thu Oct 2 14:19:15 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46327 * ext/iconv/iconv.c (iconv_fail): now yield erred substring, and
46328 set error object to $!.
46330 * ext/iconv/iconv.c (iconv_convert): error handler block should
46331 return appended part and the rest. if rest is nil, the
46334 Thu Oct 2 12:00:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46336 * variable.c (rb_const_defined_0): look up constants in Object as
46337 well. [ruby-dev:21458]
46339 * test/ruby/test_defined.rb (TestDefined::test_defined): test for
46342 Thu Oct 2 11:17:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46344 * lib/test/unit/assertions.rb: should not capture an
46345 AssertionFailedError unless explicitly requested.
46347 * test/testunit/test_assertions.rb: ditto.
46349 * test/testunit/collector/test_objectspace.rb: fixed a test failure
46350 caused by methods being returned in different orders on different
46351 platforms by moving test sorting from TestSuite into the locations
46352 where suites are constructed. [ruby-talk:83156]
46354 * lib/test/unit/testcase.rb: ditto.
46356 * lib/test/unit/testsuite.rb: ditto.
46358 * lib/test/unit/collector/objectspace.rb: ditto.
46360 Thu Oct 2 03:25:01 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46362 * eval.c (rb_thread_raise): prototype; avoid VC++ warning.
46364 Thu Oct 2 01:37:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46366 * time.c (time_mdump): new marshal dumper. _dump is still
46367 available for compatibility.
46369 * time.c (time_mload): new marshal loader.
46371 * marshal.c (w_object): preserve instance variables for objects
46374 * marshal.c (r_object0): restore instance variables before calling
46377 * error.c (rb_warn_m): always return nil.
46379 Thu Oct 2 01:32:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46381 * eval.c (rb_f_block_given_p): real required condition is
46382 ruby_frame->prev->iter == ITER_CUR.
46384 * eval.c (rb_block_given_p): ditto.
46386 * eval.c (block_pass): update ruby_frame->iter only when previous
46389 Thu Oct 2 01:02:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46391 * variable.c (rb_const_defined_at): should exclude constants from
46392 Object when TYPE(klass) == T_MODULE *and* exclude is on.
46395 * variable.c (rb_const_get_0): do not lookup constants from Object
46396 when TYPE(klass) == T_MODULE *and* exclude is on.
46398 Thu Oct 2 00:21:11 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46400 * test/logger/test_logger.rb: unlinking file before close causes
46401 problem under win32 box.
46403 * lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly
46404 when stringified and embedded into XML instance. Ruby's sprintf may
46405 format -0.0 as "0.0" (no minus sign) depending on underlying C
46406 sprintf implementation.
46408 * test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change.
46410 * test/soap/calc/*: give httpd config param "CGIInterpreter".
46411 "/usr/bin/env ruby" thing does not work under non-Unix boxes.
46413 Thu Oct 2 00:25:21 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46415 * signal.c (ruby_signal_name): adjust to the prototype.
46417 * process.c (pst_inspect): ditto.
46419 * ext/etc/etc.c (etc_getgrent, Init_etc): typo.
46421 Wed Oct 1 20:49:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46423 * gc.c (heaps): manage slots and limits together. [ruby-dev:21453]
46425 * gc.c (add_heap): should not clear heaps slot even if realloc()
46428 Wed Oct 1 20:36:49 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46430 * MANIFEST: add wince/mkconfig_wce.rb.
46432 Wed Oct 1 17:22:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46434 * ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,
46435 setgrent, getgrent, endgrent.
46437 * ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup.
46439 Wed Oct 1 17:01:30 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46441 * eval.c (rb_load): Object scope had priority over required file
46442 scope. [ruby-dev:21415]
46444 Wed Oct 1 14:09:53 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
46446 * wince/mkconfig_wce.rb: sorry, forget to commit.
46448 Wed Oct 1 10:08:42 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
46450 * wince/setup.mak: add sigmarionIII SDK support.
46452 * wince/Makefile.sub: ditto.
46454 * wince/mkexports.rb: fix linker error in SH4.
46456 * wince/mkconfig_wce.rb: camouflage RUBY_PLATFORM for compiling ext.
46458 Wed Oct 1 08:02:52 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
46460 * wince/time_wce.c (time): add zero check.
46462 Tue Sep 30 16:11:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46464 * Makefile.in: copy lex.c from $(srcdir) if it's not the current
46465 directory. [ruby-dev:21437]
46467 Tue Sep 30 11:29:23 2003 Tanaka Akira <akr@m17n.org>
46469 * process.c (pst_inspect): describe stopped process "stopped".
46471 Tue Sep 30 09:31:56 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46473 * test/runner.rb: glob for directories.
46475 Tue Sep 30 09:11:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46477 * eval.c (rb_eval): while/until should not capture break unless
46478 they are destination of the break.
46480 Tue Sep 30 03:12:02 2003 Minero Aoki <aamine@loveruby.net>
46482 * lib/net/http.rb (finish): revert to 1.93.
46484 * lib/net/pop.rb (finish): revert to 1.60.
46486 * lib/net/smtp.rb (finish): revert to 1.67.
46488 * lib/net/http.rb (do_start): ensure to close socket if failed to
46491 * lib/net/pop.rb (do_start): ditto.
46493 * lib/net/smtp.rb (do_start): ditto.
46495 * lib/net/smtp.rb: SMTP#started? wrongly returned false always.
46497 Tue Sep 30 02:54:49 2003 Minero Aoki <aamine@loveruby.net>
46499 * test/ruby/test_iterator.rb: new test
46500 test_break__nested_loop[123].
46502 Mon Sep 29 23:39:13 2003 Minero Aoki <aamine@loveruby.net>
46504 * lib/net/http.rb (finish): does not raise IOError even if
46505 !started?, to allow closing socket which was opened before
46508 * lib/net/pop.rb (finish): ditto.
46510 * lib/net/smtp.rb (finish): ditto.
46512 Mon Sep 29 19:06:51 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46514 * ext/win32ole/extconf.rb: add windows.h checking.
46515 (ruby-bugs:PR#1185)
46517 Mon Sep 29 16:18:30 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46519 * lib/logger.rb: check if the given logdevice object respond_to :write
46520 and :close, not is_a? IO. duck duck.
46522 * test/logger/test_logger.rb: self IO.pipe reading/writing may be
46523 locked by the flood. use tempfile.
46525 * lib/wsdl/xmlSchema/data.rb: wrong constant reference.
46527 Mon Sep 29 16:11:23 2003 Minero Aoki <aamine@loveruby.net>
46529 * test/fileutils/test_fileutils.rb: clean up temporary symlink.
46530 Patched by NaHi. [ruby-dev:21420]
46532 Mon Sep 29 11:16:55 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46534 * eval.c (rb_thread_atfork): wrong format specifier.
46537 * process.c (pst_inspect): better description.
46539 Mon Sep 29 02:31:44 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46541 * lib/webrick/utils.rb (Utils::su): use setgid and setuid to
46542 set real and effective IDs. and setup group access list by
46545 Sun Sep 28 11:14:19 2003 Koji Arai <jca02266@nifty.ne.jp>
46547 * ext/digest/digest.c (Init_digest): `copy_object' was deprecated.
46548 `initialize_copy' should be defined.
46550 * ext/stringio/stringio.c (Init_stringio): ditto.
46552 Sat Sep 27 18:25:13 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46554 * lib/xsd/charset.rb: XSD::Charset.is_ces did return always true under
46555 $KCODE = "NONE" environment. check added.
46557 * test/xsd/test_xsd.rb: add tests for above fix.
46559 Sat Sep 27 15:58:50 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46561 * lib/soap/rpc/cgistub.rb: make logging severity threshold higher.
46563 * lib/soap/rpc/standaloneServer.rb: defer WEBrick server start to give
46564 a chance to reset logging severity threshold.
46566 * test/soap/calc/test_*, test/soap/helloworld/test_helloworld.rb: run
46569 Sat Sep 27 09:44:18 2003 Minero Aoki <aamine@loveruby.net>
46571 * test/fileutils/test_fileutils.rb: clear all errors on Windows.
46574 * test/fileutils/test_nowrite.rb: ditto.
46576 Sat Sep 27 04:57:07 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46578 * test/ruby/test_file.rb: new file. only asserts unlink-before-close
46581 * test/soap/marshal/test_digraph.rb: should close before unlink.
46582 unlink-before-close pattern is not needed here.
46584 Sat Sep 27 03:32:37 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46586 * test/soap/*, test/wsdl/*, test/xsd/*: move TestCase classes into
46587 each module namespace. TestMarshal in
46588 test/soap/marshal/test_marshal.rb crashed with
46589 test/ruby/test_marshal.rb.
46591 Sat Sep 27 01:30:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46593 * ext/socket/socket.c (ruby_connect): on win32, type of the 4th
46594 argument of getsockopt is char *.
46596 Fri Sep 26 18:35:40 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46598 * lib/resolv-replace.rb: 1.8 compliance. [ruby-talk:82946]
46600 Fri Sep 26 17:39:27 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46602 * test/ruby/test_marshal.rb: add test for ruby's objects.
46604 Fri Sep 26 09:52:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46606 * defines.h (flush_register_windows): use volatile only for gcc on
46607 Solaris. [ruby-dev:21403]
46609 * lib/mkmf.rb (xsystem): use system directly to honor shell meta
46612 Fri Sep 26 00:10:13 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46614 * lib/README: updated.
46616 Thu Sep 25 17:48:10 2003 NAKAMURA Usaku <usa@ruby-lang.org>
46618 * ext/openssl/ossl.c (ossl_buf2str): fix type of 1st argument for
46621 * ext/openssl/ossl_hmac.c (ossl_hmac_digest): should return meaningful
46624 Thu Sep 25 09:00:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46626 * lib/ostruct.rb: Added OpenStruct#==.
46628 * test/ostruct/test_ostruct.rb: Added.
46630 Thu Sep 25 07:55:26 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46632 * ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c,
46633 ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must
46634 not use C++ or C99 style comment yet. (ruby-bugs:PR#1184)
46636 Thu Sep 25 00:23:22 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46638 * MANIFEST: add SOAP4R.
46640 Thu Sep 25 00:13:15 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46642 * lib/soap/* (29 files): SOAP4R added.
46644 * lib/wsdl/* (42 files): WSDL4R added.
46646 * lib/xsd/* (12 files): XSD4R added.
46648 * test/soap/* (16 files): added.
46650 * test/wsdl/* (2 files): added.
46652 * test/xsd/* (3 files): added.
46654 * sample/soap/* (27 files): added.
46656 * sample/wsdl/* (13 files): added.
46658 Wed Sep 24 02:08:11 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46660 * lib/webrick/httpservlet/cgihandler.rb: conform to mswin32.
46661 [ruby-talk:82735], [ruby-talk:82748], [ruby-talk:82818]
46663 Tue Sep 23 23:10:16 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46665 * lib/logger.rb: add Logger#<<(msg) for writing msg without any
46668 * test/logger/test_logger.rb: ditto.
46670 Tue Sep 23 20:47:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46672 * error.c (rb_warn_m): should not warn if -W0 is specified.
46675 Mon Sep 22 21:28:57 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46677 * MANIFEST: updated.
46679 Mon Sep 22 19:22:26 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46681 * configure.in (AC_CHECK_FUNCS): add setuid and setgid.
46683 Mon Sep 22 12:34:55 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46685 * util.c (ruby_strtod): skip preceding zeros before counting
46686 digits in the mantissa. (ruby-bugs:PR#1181)
46688 Sun Sep 21 04:12:36 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46690 * ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): the argument
46691 should be a String.
46693 * ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): ditt.
46695 * ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): ditto.
46697 * ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
46699 * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto.
46701 Sat Sep 20 11:49:05 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46703 * lib/logger.rb: typo fixed.
46705 * test/logger/test_logger.rb: new file.
46707 Fri Sep 19 11:39:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
46709 * test/testunit/*: Added.
46711 * lib/test/unit.rb: Documentation update.
46713 * lib/test/unit/ui/console/testrunner.rb (TestRunner#initialize):
46716 * lib/test/unit.rb: Factored out an ObjectSpace collector.
46718 * lib/test/unit/collector/objectspace.rb: Ditto.
46720 * sample/testunit/*: Added.
46722 Fri Sep 19 01:00:48 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46724 * lib/webrick/log.rb (BasicLog#log): get rid of as ineffectual
46727 * lib/webrick/log.rb (BasicLog#format): add "\n" to message.
46729 Thu Sep 18 22:43:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46731 * eval.c (proc_invoke): should push PROT_PCALL tag for orphans.
46733 * eval.c (proc_invoke): should update "result" for orphans.
46735 Thu Sep 18 20:33:03 2003 Tietew <tietew-ml-ruby-list@tietew.net>
46737 * parse.y (str_xquote): do not prepend escapes in
46738 backqoute literals. [ruby-list:38409]
46740 Thu Sep 18 20:30:17 2003 Tanaka Akira <akr@m17n.org>
46742 * lib/pathname.rb: update document.
46744 Thu Sep 18 15:27:05 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46746 * lib/logger.rb: new file. Logger, formerly called devel-logger or
46749 * sample/logger/*: new file. samples of logger.rb.
46751 Wed Sep 17 23:41:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46753 * eval.c (localjump_destination): should not raise ThreadError
46754 exception for "break". [ruby-dev:21348]
46756 * eval.c (proc_invoke): use result instead of prot_tag->retval.
46757 retval is no longer propagated to the ancestors.
46759 Wed Sep 17 20:34:00 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46761 * parse.y (tokadd_string, parse_string, yylex): escaped terminator
46762 is now interpreted as is. [ruby-talk:82206]
46764 Wed Sep 17 18:52:36 2003 Minero Aoki <aamine@loveruby.net>
46766 * test/fileutils/fileassertions.rb: new file.
46768 * test/fileutils/test_fileutils.rb: new file.
46770 * test/fileutils/test_nowrite.rb: new file.
46772 Wed Sep 17 18:51:02 2003 Minero Aoki <aamine@loveruby.net>
46774 * test/strscan/test_stringscanner.rb: require test/unit.
46776 Wed Sep 17 18:35:34 2003 Minero Aoki <aamine@loveruby.net>
46778 * test/strscan/test_stringscanner.rb: new file.
46780 Wed Sep 17 18:03:30 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46782 * ext/openssl: all files are reviewed to simplify and avoid memory leak.
46784 * ext/openssl/extconf.rb: add check for assert.h.
46786 * ext/openssl/ossl.c (ossl_buf2str): new function to convert
46787 C buffer to String and free buffer.
46789 * ext/openssl/ossl.c (ossl_x509_ary2sk): new function to convert
46790 Array of OpenSSL::X509 to STACK_OF(X509) with exception safe.
46792 * ext/openssl/ossl.c (ossl_to_der, ossl_to_der_if_possible): new
46793 functions to convert object to DER string.
46795 * ext/openssl/ossl.h: ditto.
46797 * ext/openssl/ossl_bio.c (ossl_membio2str): new function to convert
46798 BIO to String object and free BIO.
46800 * ext/openssl/ossl_bio.h: ditto.
46802 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_to_der): add for "to_der".
46804 * ext/openssl/ossl_x509name.c (ossl_x509name_to_der): ditto.
46806 * ext/openssl/ossl_x509ext.c (ossl_x509ext_to_der): ditto.
46808 * ext/openssl/ossl_x509ext.c (create_ext_from_array): removed
46809 and reimplement in openssl/x509.rb.
46811 * ext/openssl/ossl_x509attr.c: reimplemented and disable some
46812 method temporarily. this class doesn't work fine without ASN.1
46813 data support;-) I'll rewrite in near future.
46815 * ext/openssl/lib/openssl/x509.c (X509::Attribute): get rid off
46818 * ext/openssl/lib/openssl/x509.c (X509::ExtensionFactory): refine all.
46820 Tue Sep 16 22:25:06 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46822 * test/csv/test_csv.rb: add negative tests of row_sep.
46824 Tue Sep 16 18:02:36 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46826 * regex.c (re_compile_pattern): should not translate character
46827 class range edge. [ruby-list:38393]
46829 Tue Sep 16 16:47:56 2003 WATANABE Hirofumi <eban@ruby-lang.org>
46831 * MANIFEST: add test/csv/mac.csv.
46833 * win32/Makefile.sub, bcc32/Makefile.sub (test): add phony NUL target.
46835 Mon Sep 15 19:02:52 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46837 * lib/csv.rb: add extra pamameter to specify row(record) separater
46838 character. To parse Mac's CR separated CSV, do like this.
46839 CSV.open("mac.csv", "r", ?,, ?\r) { |row| p row.to_a }
46840 The 3rd parameter in this example ?, is for column separater and the
46841 4th ?\r is for row separater. Row separater is nil by default. Nil
46842 separater means "\r\n" or "\n".
46844 * test/csv/test_csv.rb: add tests for above feature.
46846 * test/csv/mac.csv: added. Sample CR separated CSV file.
46848 Fri Sep 12 22:41:48 2003 Michal Rokos <m.rokos@sh.cvut.cz>
46850 * ext/openssl/ossl.c: move ASN.1 stuff to ossl_asn1.[ch]
46852 * ext/openssl/ossl.c: move BIO stuff to ossl_bio.[ch]
46854 * ext/openssl/ossl_asn1.[ch]: new files
46856 * ext/openssl/ossl_bio.[ch]: new files
46858 Fri Sep 12 12:30:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46860 * intern.h (rb_disable_super, rb_enable_super): replace with dummy
46861 expressions instead of prototypes. the functions remain yet for
46862 binary compatibility. [ruby-talk:81758]
46864 Fri Sep 12 12:09:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46866 * bignum.c (rb_big_and): convert argument using 'to_int'.
46868 * bignum.c (rb_big_or): ditto.
46870 * bignum.c (rb_big_xor): ditto.
46872 Fri Sep 12 07:06:14 2003 David Black <dblack@superlink.net>
46874 * lib/scanf.rb: Took out useless @matched_item variable; some small
46877 Thu Sep 11 08:43:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
46879 * eval.c (rb_f_require): allow "require" on $SAFE>0, if feature
46880 name is not tainted.
46882 * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::stream):
46885 Wed Sep 10 22:47:30 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46887 * ext/openssl/ossl.h: add a workaround for win32 platform.
46888 libeay32.dll doesn't export functions defined in conf_api.h.
46890 * ext/openssl/ossl_config.c (ossl_config_initialize): ditto.
46892 * ext/openssl/ossl_config.c (ossl_config_add_value): ditto.
46894 * ext/openssl/ossl_config.c (set_conf_section_i): should check
46895 if the argument is Array.
46897 Wed Sep 10 22:41:54 2003 Tietew <tietew@tietew.net>
46899 * eval.c (win32_get_exception_list): avoid VC7 warning.
46902 Tue Sep 9 10:39:51 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46904 * eval.c (struct tag): dst should be VALUE.
46906 Tue Sep 9 10:39:51 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46908 * eval.c (localjump_destination): stop at the scope where the current
46909 block was created. [ruby-dev:21353]
46911 Tue Sep 9 05:17:04 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46913 * ext/openssl/ossl_config.rb: avoid compile error in OpenSSL-0.9.6.
46915 Tue Sep 9 02:41:35 2003 Michal Rokos <m.rokos@sh.cvut.cz>
46917 * ext/openssl/ossl_config.c: Refine compatibility.
46919 Tue Sep 9 01:50:45 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46921 * lib/webrick/httpserver.rb (HTTPServer#access_log): add "\n" to
46924 * lib/webrick/log.rb (BasicLog#log): add "\n" only if needed.
46926 Mon Sep 8 22:15:33 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46928 * ext/tk/lib/multi-tk.rb: modify security check at creating
46931 Mon Sep 8 20:00:12 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
46933 * lib/optparse.rb, lib/optparse/version.rb: search also all
46936 Mon Sep 8 19:26:33 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46938 * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h.
46940 * ext/openssl/ossl_config.c: refine all with backward compatibility.
46942 * ext/openssl/ossl_config.h: export GetConfigPtr() and DupConfigPtr().
46944 * ext/openssl/ossl_x509.c: added new constants under X509 module.
46945 DEFAULT_CERT_AREA, DEFAULT_CERT_DIR, DEFAULT_CERT_FILE,
46946 DEFAULT_CERT_DIR_ENV, DEFAULT_CERT_FILE_ENV and DEFAULT_PRIVATE_DIR.
46948 * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_free): don't free
46949 the members of the struct. it's left to GC.
46951 * ext/openssl/ossl_x509ext.c (ossl_x509_set_config): add for config=.
46953 * ext/openssl/ossl_x509ext.c (Xossl_x509extfactory_initialize):
46954 add attr readers: issuer_certificate, subject_certificate,
46955 subject_request, crl and config.
46957 Mon Sep 8 18:26:41 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46959 * lib/webrick/accesslog.rb (AccessLog::setup_params): use req.port
46960 instead of config[:Port] or req.request_uri.port.
46962 * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): ditto.
46964 * lib/webrick/httpservlet/filehandler.rb (FileHandler#dir_list): ditto.
46966 * lib/webrick/config.rb: :Listen option never be used.
46968 * lib/webrick/server.rb (GenericServer#initialize): don't use :Listen
46969 option and add warning message.
46971 * lib/webrick/log.rb (BasicLog#<<): shortcut of log(INFO, ...).
46973 * lib/webrick/httpserver.rb (HTTPServer#accesslog): use << for logging.
46975 Sun Sep 7 16:08:28 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
46977 * ext/tcltklib/tcltklib.c (lib_mainloop_core): fixed signal-trap bug
46979 * ext/tk/lib/*.rb: Ruby/Tk works at $SAFE == 4
46981 Sat Sep 6 02:26:34 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
46983 * test/ruby/test_*.rb: assert_same, assert_match, and so on.
46985 Sat Sep 6 18:45:46 2003 Mauricio Fernandez <batsman.geo@yahoo.com>
46987 * parse.y (assignable): call rb_compile_error(), not rb_bug().
46990 Sat Sep 6 17:40:41 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
46992 * ext/openssl/ruby_missing.c: rid of unnecessary backward
46993 compatibility stuff. and remove DEFINE_ALLOC_WRAPPER from
46996 * ext/openssl/ossl_x509ext.c (X509::Extension.new): new method.
46998 * ext/openssl/ossl_x509ext.c (X509::Extension#oid=): new method.
47000 * ext/openssl/ossl_x509ext.c (X509::Extension#value=): new method.
47002 * ext/openssl/ossl_x509ext.c (X509::Extension#critical=): new method.
47004 Sat Sep 6 01:23:22 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47006 * win32/win32.c (CreateChild): need to quote cmd if RUBYSHELL is set.
47008 * win32/win32.c (CreateChild): fix condition about whether to call
47011 Sat Sep 6 00:36:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
47013 * Makefile.in (test): phony target.
47015 * lib/mkmf.rb (have_library, find_library): configure by library
47018 * lib/optparse.rb (OptionParser#order, #permute, #parse): allow an
47021 * test/ruby/test_*.rb: moved invariants to left side in
47022 assert_equal, and use assert_nil, assert_raises and so on.
47024 * win32/win32.c (isInternalCmd): distinguish command.com and
47027 * win32/win32.c (make_cmdvector): a character just after wildcard
47028 was ignored. [ruby-core:01518]
47030 Fri Sep 5 20:27:08 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47032 * test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'
47034 Fri Sep 5 18:00:51 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47036 * ext/openssl/lib/openssl/x509.rb: new method X509::Name::parse.
47038 * ext/openssl/ossl_digest.c: add ossl_digest_new().
47040 * ext/openssl/ossl_digest.h: ditto.
47042 * ext/openssl/ossl_cipher.c: add ossl_cipher_new().
47044 * ext/openssl/ossl_cipher.h: ditto.
47046 Fri Sep 5 15:32:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47048 * misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): should not
47049 search delimiter forward if found in backward.
47051 Fri Sep 5 13:32:48 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47053 * test/runner.rb: arguments should be keys.
47055 Fri Sep 5 12:09:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47057 * test/ruby/test_system.rb (test_system): check existence of ruby
47060 Fri Sep 5 11:32:17 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47062 * lib/optparse.rb (--version): fix assignment/reference order.
47064 * lib/optparse.rb (OptionParser#help): new; OptionParser#to_s may
47065 be deprecated in future.
47067 * lib/optparse/version.rb (OptionParser#show_version): hide Object.
47069 * test/runner.rb: fix optparse usage.
47071 * test/runner.rb: glob all testsuits if no tests given.
47073 Fri Sep 5 10:42:58 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47075 * test/runner.rb: added. gets testcases from command line and runs it.
47077 * test/ruby/test_gc.rb: remove useless part which was for dumping test
47080 Fri Sep 5 09:28:59 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47082 * test/ruby/test_gc.rb: added. splitter.rb which I made to split
47083 sample/test.rb into test/ruby/test_* kindly removed GC test (the
47084 last section in the original test) to reduce things to be worried.
47086 Fri Sep 5 03:00:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47088 * test/ruby/test_iterator.rb (test_block_in_arg): add no block
47091 * test/ruby/test_iterator.rb (test_ljump): uncomment LocalJumpError
47094 Fri Sep 5 01:10:11 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47096 * test/ruby: tests for ruby itself.
47098 * test/ruby/test_*.rb: split sample/test.rb into 28 test/unit testcases.
47099 some tests could not be translates... search '!!' mark to see it.
47101 * test/csv/test_csv.rb: should require 'csv', not '../lib/csv'. test
47102 runner should set load path correctly.
47104 Fri Sep 5 01:03:59 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47106 * test/csv/test_csv.rb: close opened files for CSV::IOBuf explicitly.
47107 opened file cannot be removed under win32 box.
47109 Thu Sep 4 23:59:40 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47111 * parse.y (tokadd_string): newlines have no special meanings in
47112 %w/%W, otherwise they are ignored only when interpolation is
47113 enabled. [ruby-dev:21325]
47115 Thu Sep 4 19:38:25 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47117 * ext/io/wait/.cvsignore: added.
47119 * ext/openssl/.cvsignore: added.
47121 Thu Sep 4 19:28:24 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47123 * sample/openssl: added. Sample of standard distribution library
47124 should be locate in sample/{module_name}/*.
47126 * ext/openssl/sample/*: removed. move to sample/openssl/*.
47128 Thu Sep 4 18:02:15 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47130 * test/csv/test_csv.rb: use remove_const to reduce warnings. use
47131 Dir.tmpdir to locate working files.
47133 Thu Sep 4 17:41:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47135 * misc/ruby-mode.el (ruby-here-doc-beg-re): underscore also is
47138 * misc/ruby-mode.el (ruby-here-doc-end-match): must quote
47139 arbitrary string to use as regexp.
47141 * misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): must not
47142 call `ruby-here-doc-end-match' unless `ruby-here-doc-beg-re'
47145 Thu Sep 4 15:40:07 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47147 * test/csv/test_csv.rb: run on test/unit original layer.
47149 Thu Sep 4 12:54:50 2003 why the lucky stiff <why@ruby-lang.org>
47151 * ext/syck/token.c: headerless documents with root-level spacing now
47154 Thu Sep 4 00:06:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47156 * eval.c (mark_frame_adj): need to adjust argv pointer if using
47157 system's alloca. [ruby-core:01503]
47159 Wed Sep 3 21:33:20 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47161 * test: add test directory. Test::Unit aware testcases and needed
47162 files should be located in this directory. dir/file name convention;
47163 test/{module_name}/test_{testcase_name}.rb
47164 test/{module_name}/{needed_files}
47165 someday, someone will write testrunner which searches test_*.rb and
47166 run testcases automatically.
47168 * test/csv/*: add testcase for lib/csv.rb.
47170 Wed Sep 3 01:37:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47172 * io.c (rb_f_gets): should call next_argv() before type check
47173 current_file. [ruby-list:38336]
47175 Tue Sep 2 20:37:15 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47177 * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): warning
47178 for skipping server verification.
47180 Tue Sep 2 23:36:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47182 * eval.c (proc_invoke): should retrieve retval when pcall is true.
47184 Tue Sep 2 14:09:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47186 * ext/socket/extconf.rb: check s6_addr8 in in6_addr (Tru64 UNIX).
47187 the patch is submitted by nmu <nmu@users.sourceforge.jp>.
47189 * ext/socket/getaddrinfo.c (getaddrinfo): should use in6_addr8 on
47192 * ext/socket/getnameinfo.c (getnameinfo): ditto.
47194 Tue Sep 2 14:02:19 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
47196 * ext/tcltklib/tcltklib.c (ip_invoke): fixed bug on passing a exception
47198 * ext/tk/lib/{tk.rb, tkcanvas.rb, tkfont.rb, tktext.rb}:
47199 bug fix and improvement of font control
47201 Tue Sep 2 09:51:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47203 * eval.c (rb_eval): should not handle exceptions within rescue
47204 argument. [ruby-talk:80804]
47206 Tue Sep 2 00:44:37 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47208 * re.c (rb_memsearch): fix overrun. [ruby-talk:80759]
47210 Tue Sep 2 00:41:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47212 * ext/iconv/iconv.c (map_charset): use lower case keys.
47214 * ext/iconv/iconv.c (iconv_fail): just yield error and return the
47215 result if a block is given.
47217 * ext/iconv/iconv.c (iconv_convert): yield error and append the
47218 result if a block is given.
47220 * ext/iconv/charset_alias.rb (charset_alias): optional third
47223 * ext/iconv/charset_alias.rb (charset_alias): use CP932 instead of
47224 SHIFT_JIS on cygwin.
47226 Mon Sep 1 18:34:25 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47228 * eval.c (rb_eval): make tail recursion in ELSE clause of
47231 Mon Sep 1 18:00:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47233 * parse.y (aref_args): forgot to call NEW_SPLAT(). reported by
47236 * eval.c (Init_Thread): protect thgroup_default. suggested by Guy
47237 Decoux in [ruby-talk:80623]
47239 Mon Sep 1 16:59:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47241 * eval.c (rb_thread_switch): add RESTORE_EXIT; exit by another
47242 thread termination.
47244 * eval.c (rb_thread_start_0): should not error_print() within
47245 terminated thread, because $stderr used by it might be
47246 overriden now. [ruby-dev:21280]
47248 Sun Aug 31 22:46:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47250 * eval.c (TAG_DST()): take no argument.
47252 * process.c (p_gid_sw_ensure): return VALUE.
47254 Sun Aug 31 22:27:10 2003 Hidetoshi NAGAI <nagai@dumbo.ai.kyutech.ac.jp>
47256 * process.c (p_gid_sw_ensure): lack of function type
47258 Sun Aug 31 12:25:06 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
47260 * lib/optparse.rb: --version takes an optional argument; "all" or
47261 a list of package names.
47263 Sun Aug 31 10:17:02 2003 Tadayoshi Funaba <tadf@dotrb.org>
47265 * lib/date/format.rb: yyyy/mm is not an acceptable format.
47267 * lib/time.rb: follow above.
47269 Sat Aug 30 14:25:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47271 * eval.c (rb_iter_break): should not call TAG_JUMP directly.
47273 Sat Aug 30 03:58:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47275 * eval.c (struct BLOCK): remove BLOCKTAG, use scope instead.
47277 * eval.c (POP_TAG): no longer propagate retval. retval is now set
47278 directly by localjump_destination().
47280 * eval.c (localjump_destination): new function to cast
47281 return/break local jump.
47283 * eval.c (rb_yield_0): stop TAG_RETURN/TAG_BREAK escaping.
47285 Fri Aug 29 22:35:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47287 * bigdecimal.c *.html: The 2nd arg. for add,sub,mult, and div is 0,
47288 then result will be the same as +,-,*,/ respectively.
47290 Fri Aug 29 17:30:15 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
47292 * process.c: bug fix
47294 * process.c: add rb_secure(2) to methods of Process::{UID,GID,Sys}
47296 * process.c: deny handling IDs during evaluating the block given to
47297 the Process::{UID,GID}.switch method
47299 * ext/tcltklib/tcltklib.c: some methods have no effect if on slave-IP
47301 * ext/tcltklib/tcltklib.c: can create a interpreter without Tk
47303 * ext/tcltklib/tcltklib.c: bug fix on handling exceptions
47305 * ext/tcltklib/MANUAL.euc: modify
47307 * ext/tk/lib/tk.rb: freeze some core modules
47309 * ext/tk/lib/multi-tk.rb: more secure
47311 * ext/tk/lib/tk.rb: TkVariable.new(array) --> treat the array as the
47314 * ext/tk/lib/tk.rb: improve accessibility of TkVariable object
47316 * ext/tk/lib/tk.rb, ext/tk/lib/tkfont.rb, ext/tk/lib/tkcanvas.rb,
47317 ext/tk/lib/tktext.rb: fix bug of font handling
47319 * ext/tk/lib/tkfont.rb: TkFont.new() accepts compound fonts
47321 Thu Aug 28 22:07:12 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47323 * variable.c (rb_autoload_load): call const_missing if autoloading
47324 constant is not defined to allow hook.
47326 * eval.c (rb_eval): use rb_const_get_from() instead of
47329 * eval.c (is_defined): forgot to check NODE_COLON3.
47331 Thu Aug 28 17:30:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47333 * variable.c (rb_const_get_0): should check constants defined in
47334 included modules, if klass is Object. [ruby-talk:79302]
47336 * numeric.c (check_uint): check should be done using UINT_MAX, not
47337 INT_MAX. this fix is submitted by Lyle Johnson
47338 <lyle@knology.net> in [ruby-core:01486]
47340 Thu Aug 28 05:02:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47342 * parse.y (singleton): typo fixed (ruby-bugs-ja:PR#562)
47344 Thu Aug 28 02:37:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47346 * eval.c (rb_eval): *a = [1,2] now assigns [[1,2]] to a.
47347 consistent with *a = [1], which set [[1]] to a.
47349 * node.h: merge NODE_RESTARY to NODE_SPLAT.
47351 * parse.y: rules simplified a bit by removing NODE_RESTARY.
47353 * sample/test.rb: updated for new assignment behavior.
47355 Wed Aug 27 22:33:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47357 * error.c (rb_bug): should not use other methods; this function is
47358 not for ordinary use. [ruby-dev:21259]
47360 Wed Aug 27 15:07:57 2003 Minero Aoki <aamine@loveruby.net>
47362 * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334
47363 response. [ruby-list:38279]
47365 Wed Aug 27 05:10:15 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47367 * win32/win32.c (map_errno): support winsock error.
47369 * win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid,
47370 kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime):
47371 pass errno to map_errno().
47373 * win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind,
47374 rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname,
47375 rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv,
47376 rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt,
47377 rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr,
47378 rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname,
47379 rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport,
47380 rb_w32_fclose, rb_w32_close): use map_errno().
47382 * win32/win32.h: add winsock errors.
47384 Tue Aug 26 23:53:23 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47386 * lib/ostruct.rb (OpenStruct::method_missing): prohibit modifying
47387 frozen OpenStruct. [ruby-talk:80214]
47389 Tue Aug 26 20:03:50 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47391 * lib/mkmf.rb (create_tmpsrc): add the hook for source.
47394 Tue Aug 26 15:59:53 2003 why the lucky stiff <why@ruby-lang.org>
47396 * implicit.c (syck_type_id_to_taguri): corrected detection of
47399 Sun Aug 24 01:02:48 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47401 * file.c (file_expand_path): performance improvement.
47404 Sat Aug 23 23:41:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47406 * file.c (rb_file_s_expand_path): avoid calling rb_scan_args() for
47407 apparent cases. [ruby-talk:79748]
47409 Sat Aug 23 18:56:53 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47411 * ext/nkf/nkf.c (rb_nkf_putchar): should use rb_str_resize() to just
47412 resize a string, rb_str_cat() disallows NULL. [ruby-dev:21237]
47414 Sat Aug 23 16:48:41 2003 Keiju Ishitsuka <keiju@ishitsuka.com>
47416 * lib/irb/ruby-lex.rb: bug fix for "foo" !~ /bar/. [ruby-talk:79942]
47418 Sat Aug 23 15:59:58 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47420 * eval.c (rb_eval, rb_iterate, block_pass): reduce PUSH/POP_TAG and
47421 EXEC_TAG() for retry. [ruby-dev:21216]
47423 Sat Aug 23 02:32:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47425 * eval.c (rb_yield_splat): should check if "values" is array.
47427 * enum.c (each_with_index_i): typo.
47429 Fri Aug 22 17:07:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47431 * enum.c (inject_i): use rb_yield_values.
47433 * enum.c (each_with_index_i): ditto.
47435 * eval.c (rb_yield_splat): new function to call "yield *values".
47437 * string.c (rb_str_scan): use rb_yield_splat().
47439 Fri Aug 22 06:13:22 2003 why the lucky stiff <why@ruby-lang.org>
47441 * ext/syck/rubyext.c: refactoring of the transfer method
47442 dispatch. added yaml_org_handler for faster dispatch of
47443 transfers to base types.
47445 * lib/yaml/rubytypes.rb: removed handling of builtins from
47448 * ext/syck/token.c: quoted and block scalars are now implicit !str
47450 * ext/syck/implicit.c: empty string detected as !null.
47452 Fri Aug 22 01:00:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47454 * eval.c (block_pass): improve passing current block.
47456 Fri Aug 22 00:13:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47458 * ext/bigdecimal/bigdecimal.c: Int. overflow bug in multiplication
47459 fixed, and VpNmlz() speed up.
47461 Wed Aug 20 16:44:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47463 * ext/socket/socket.c (ruby_connect): many systems seem to have
47464 a problem in select() after EINPROGRESS. [ruby-list:38080]
47466 Wed Aug 20 01:31:17 2003 why the lucky stiff <why@ruby-lang.org>
47468 * ext/syck/syck.h: Parser definition problems on HP-UX.
47471 * ext/syck/handler.c (syck_hdlr_get_anchor): Memory leak.
47473 * ext/syck/syck.s (syck_io_file_read): Bad arguments to fread.
47475 * ext/syck/rubyext.c: Tainting issues.
47477 Tue Aug 19 23:20:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47479 * ext/bigdecimal/bigdecimal.c .h .html: to_s("+") implemented.
47481 * ext/bigdecimal/lib/bigdecimal/math.rb: E implemented.
47483 Tue Aug 19 07:47:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47485 * lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer.
47487 * lib/webrick/https.rb: SSLSocket handling is moved to webrick/ssl.rb.
47489 * lib/webrick/compat.rb (File::fnmatch): remove old migration code.
47491 * lib/webrick/httpserver.rb (HTTPServer#run): ditto.
47493 * lib/webrick/server.rb (GenericServer#listen): the body of this
47494 method is pull out as Utils::create_lisnteners.
47496 * lib/webrick/utils.rb (Utils::create_lisnteners): new method.
47498 * lib/webrick/server.rb (GenericServer#start): should rescue
47499 unknown errors. and refine comments.
47501 * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): should close
47502 socket if SSLSocket raises error.
47504 Tue Aug 19 11:19:33 2003 Shugo Maeda <shugo@ruby-lang.org>
47506 * io.c (next_argv): should not call GetOpenFile() if rb_stdout is
47509 Tue Aug 19 07:47:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47511 * ext/openssl/ossl_ssl.c: sync_close is moved to SSLSocket as
47514 * ext/openssl/lib/openssl/buffering.rb (Buffering#close): ditto.
47516 * ext/openssl/lib/openssl/buffering.rb (Buffering#puts): should
47517 add a return to the tails of each line.
47519 * ext/openssl/lib/openssl/ssl.rb: new class OpenSSL::SSL::SSLServer.
47521 * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): use sync_close.
47523 * ext/openssl/sample/echo_svr.rb: use SSLServer.
47525 * ext/openssl/sample/echo_cli.rb: add example of SSLSocket#sync_close.
47527 Tue Aug 19 01:24:34 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47529 * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standard
47530 headers are inconsistent at this macro. [ruby-core:01432]
47532 * ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks.
47534 * ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers
47537 * instruby.rb: make list at first instead of iterator.
47540 Mon Aug 18 11:23:11 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47542 * dir.c (glob_helper): preserve raw order for **.
47544 Sun Aug 17 23:39:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47546 * ext/openssl/extconf.rb (HAVE_VA_ARGS_MACRO): need to compile.
47548 Sun Aug 17 17:10:03 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47550 * ext/openssl/lib/openssl/ssl.rb (SSLSocket#sync_close=): add a
47551 method to specify if the underlying IO will be closed in
47554 * ext/openssl/lib/openssl/buffering.rb: add forwarders to
47555 setsockopt, getsockopt and fcntl.
47557 * ext/openssl/lib/net/protocols.rb: enable sync for SSLSocket.
47559 Sun Aug 17 11:32:04 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47561 * ext/extmk.rb (extmake): should not force to remake Makefile when
47562 installation and so on.
47564 Sat Aug 16 23:58:18 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47566 * marshal.c (w_symbol, w_object): get rid of warnings.
47568 * re.c (rb_memsearch): ditto.
47570 * time.c (time_dump): ditto.
47572 * ext/extmk.rb (extmake): not continue making when extconf.rb
47575 * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely.
47577 * ext/openssl/ossl.h: remove version.h dependency.
47579 * ext/openssl/ruby_missing.h: ditto.
47581 * lib/mkmf.rb (pkg_config): use --libs output except with
47582 only-L for other options. [ruby-list:38099]
47584 * lib/mkmf.rb (create_makefile): separate rule for static
47585 library from shared object.
47587 * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub:
47588 define exec_prefix and libdir.
47590 Fri Aug 15 23:15:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47592 * ext/bigdecimal/bigdecimal.c .h: Bug in combination of limit & div
47595 * ext/bigdecimal/lib/bigdecimal/math.rb: atan() & sqrt() added.
47597 Fri Aug 15 12:01:43 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47599 * configure.in (HUGE_ST_INO): check whether struct stat.st_ino
47600 is larger than long. [ruby-dev:21194]
47601 http://www.geocities.co.jp/SiliconValley-PaloAlto/1409/ruby/beos.html
47603 * error.c (syserr_eqq): errno might exceed Fixnum limit.
47605 * error.c (Init_Exception): moved base initialization from
47608 * inits.c (rb_call_inits): postpone initializing errnos until
47609 Bignum is available.
47611 Fri Aug 15 12:01:43 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47613 * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): needed to let
47614 keyname() and so on be declared.
47616 * ext/curses/curses.c (curses_resizeterm, window_resize):
47617 arguments conflicted with macros in term.h.
47619 * ext/curses/curses.c (Curses module methods): ensure
47620 initialized. [ruby-dev:21191]
47622 Fri Aug 15 02:08:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47624 * gc.c (id2ref): recycle check should be done by klass == 0.
47627 Fri Aug 15 01:34:23 2003 Michal Rokos <m.rokos@sh.cvut.cz>
47629 * ext/openssl/ossl_pkey.c: move generate_cb here
47631 * ext/openssl/ossl_pkey_{dh|dsa|rsa}.c: adapt to this cb
47633 * ext/openssl/openssl_missing.[ch]: add (0.9.6x, x<j) missing BN funcs
47635 * ext/openssl/ossl_bn.c: use supplied funcs from openssl_missing.c
47637 Fri Aug 15 00:38:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47639 * ext/bigdecimal/bigdecimal.c: Bug in div method fixed.
47641 * ext/bigdecimal/lib/bigdecimal/math.rb: Newly added.
47643 * ext/bigdecimal/sample/pi.rb: Changed so as to use math.rb.
47645 Thu Aug 14 21:19:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47647 * eval.c (Init_Thread): Continuation#[] added. [ruby-talk:79028]
47649 Thu Aug 14 20:03:34 2003 Masaki Suketa <masaki.suketa@nifty.ne.jp>
47651 * ext/win32ole/win32ole.c (OLE_FREE): should not call
47654 * ext/win32ole/win32ole.c (ole_event_free): ditto.
47656 * ext/win32ole/win32ole.c (ole_initialize): stop calling
47657 OleUninitialize at exit.
47659 Thu Aug 14 11:27:37 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47661 * gc.c (rb_data_object_alloc): check type of 1st argument.
47664 Thu Aug 14 00:21:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47666 * parse.y (mlhs_node): should allow "::Foo" (colon3) as lhs.
47668 * parse.y (lhs): ditto.
47670 * parse.y (yylex): should return tCOLON3 right after kCLASS.
47673 * error.c (exc_initialize): was converting argument to string too
47674 eagerly. Only check was needed. [ruby-talk:78958]
47676 Wed Aug 13 23:31:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47678 * ext/bigdecimal/bigdecimal.c .h .html: Ambiguity of
47679 BigDecimal::limit removed.
47681 Wed Aug 13 19:21:34 2003 Christian Neukirchen <chneukirchen@yahoo.de>
47683 * lib/webrick/https.rb (HTTPServer#run): should set syncing-mode
47684 to SSLSocket. [ruby-talk:78919]
47686 Wed Aug 13 18:13:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47688 * eval.c (POP_BLOCK): turn on BLOCK_LEFT flag when leaving block.
47690 * eval.c (proc_invoke): unpack return/break destination when block
47693 Wed Aug 13 15:58:31 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47695 * object.c (rb_class_s_alloc): add function prototype to avoid VC++
47698 Wed Aug 13 13:50:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47700 * ext/Win32API/Win32API.c (Win32API_initialize): should pass some
47701 class to first argument of Data_Wrap_Struct(). (ruby-bugs:PR#1109)
47703 Tue Aug 12 16:55:11 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47705 * Makefile.in: static link libraries to LIBRUBY_SO with static linked
47706 ext. [ruby-dev:21157]
47708 * ext/extmk.rb (extmake): sort extension library initialization order.
47710 * ext/extmk.rb (extmake): compact $extlibs.
47712 Tue Aug 12 02:48:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47714 * eval.c (THREAD_SAVE_CONTEXT): should explicitly turn off the
47715 flag before calling getcontext(2).
47717 * eval.c (struct thread): add member to save backing store on
47718 IA64. (ruby-bugs PR1086)
47720 * eval.c (thread_mark): mark IA64 backing store region.
47722 * eval.c (thread_free): free saved IA64 backing store.
47724 * eval.c (rb_thread_save_context): save IA64 backing store as well.
47726 * eval.c (rb_thread_restore_context): restore IA64 backing store.
47728 * eval.c (THREAD_ALLOC): initialize IA64 members.
47730 Mon Aug 11 22:31:50 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
47732 * lib/debug.rb(debug_command): inspection command should inspect
47733 resulting value even if it's nil. [ruby-dev:21180] by OMAE, jun
47734 <jun66j5@ybb.ne.jp>.
47736 * lib/debug.rb(debug_command): incomplete regexp.
47738 Mon Aug 11 17:33:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47740 * eval.c (rb_call_super): do not use rb_block_given_p() for
47741 check. [ruby-talk:78656]
47743 * eval.c (BEGIN_CALLARGS): push ITER_NOT only when ITER_PRE.
47745 Sun Aug 10 10:43:05 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47747 * ext/openssl/lib/openssl/buffering.rb: increase BLOCK_SIZE
47748 from 1k to 16k bytes. [ruby-talk:78603]
47750 * ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc): enable
47751 partial write to allow interruption in SSLSocket#write.
47753 Sun Aug 10 00:34:16 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47755 * cygwin/GNUmakefile: remove unnecessary '--drive-name=$(CC)'
47758 Sat Aug 9 10:36:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47760 * marshal.c (w_object): do not dump generic instance variable when
47761 marshal_dump is defined.
47763 Sat Aug 9 00:35:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47765 * ext/bigdecimal.c: F style output(like 1234.56789) implemented
47767 * ext/bigdecimal_??.html: F style output(like 1234.56789)
47768 implemented to to_s method.
47770 Fri Aug 8 12:33:17 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47772 * bcc32/Makefile.sub: rubyw.exe should be a Windows GUI program.
47773 add the -aa option to WLDFLAGS.
47775 Fri Aug 8 11:29:26 2003 Koji Arai <jca02266@nifty.ne.jp>
47777 * marshal.c (w_object): should set `c_arg' at first.
47779 Fri Aug 8 03:22:28 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
47781 * lib/webrick/httputils.rb (FormData#list): should not take
47782 a side effect for the receiver.
47784 Thu Aug 7 14:40:37 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47786 * cygwin/GNUmakefile: better --disbale-shared option support.
47788 * cygwin/GNUmakefile: add forwarding DLL target for cygwin.
47790 Thu Aug 7 14:21:05 2003 Corinna Vinschen <vinschen@redhat.com>
47792 * configure.in: Fix Cygwin specific naming of libraries to
47793 be net distribution compliant. (ruby-bugs:PR#1077)
47794 cygwin-ruby18.dll -> cygruby18.dll
47796 Thu Aug 7 12:51:38 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47798 * eval.c (rb_f_at_exit): should not be called without a block.
47799 block_given check added.
47801 Thu Aug 7 06:46:06 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47803 * eval.c (rb_call0): forgot to pop ruby_class.
47805 * eval.c (rb_call0): update ruby_class as well as ruby_cref.
47806 (ruby-bugs-ja:PR#540)
47808 Thu Aug 7 04:52:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47810 * eval.c (rb_yield_0): remove ruby_frame->cbase and unify to
47811 ruby_cref. [ruby-talk:78141]
47813 Thu Aug 7 04:19:15 2003 Akinori MUSHA <knu@iDaemons.org>
47815 * gc.c: FreeBSD/ia64's mcontext_t is a bit different from that of
47816 Linux/ia64. This makes gc.c compile but miniruby coredumps for
47819 Thu Aug 7 00:15:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
47821 * ext/bigdecimal.c: Comparison results adjusted to Float's.
47822 * ext/bigdecimal.c: Use rb_num_coerce_????(x,y) instead of own.
47824 Wed Aug 6 22:58:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
47826 * lib/test/unit/testcase.rb: Added equality checking.
47827 * lib/test/unit/testsuite.rb: Added equality checking.
47828 * lib/test/unit/assertions.rb: Fixed a warning.
47830 Wed Aug 6 17:28:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47832 * ext/extmk.rb (extmake): pass LIBPATH to make ruby. [ruby-dev:21137]
47834 * ext/extmk.rb (extmake): set library name as source file name in
47835 Init_ext(). [ruby-dev:21137]
47837 * lib/mkmf.rb (Logging::postpone): postpone logging messages after
47838 heading message as the result of the block.
47840 * lib/mkmf.rb (macro_defined?): append newline to src unless ended
47843 * lib/mkmf.rb (have_library): treat nil function name as "main".
47844 (ruby-bugs:PR#1083)
47846 * lib/mkmf.rb (pkg_config): should append additional libraries to
47847 $libs but not $LIBS. [ruby-dev:21137]
47849 * ext/io/wait/extconf.rb: check DOSISH macro instead of platform.
47851 * ext/digest/sha1/extconf.rb: have_library already appends library
47854 Wed Aug 6 17:23:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47856 * eval.c: initialize /* OK */ variables by Qnil to stop warnings.
47858 Wed Aug 6 04:58:32 2003 NAKAMURA Usaku <usa@ruby-lang.org>
47860 * ext/Setup*: add io/wait and openssl.
47862 Wed Aug 6 01:13:38 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47864 * eval.c (rb_f_autoload): use ruby_cbase instead of ruby_class.
47866 * eval.c (rb_f_autoload_p): ditto.
47868 * class.c (rb_mod_init_copy): no longer implements independent
47869 clone and dup methods. override "initialize_copy" instead.
47872 * object.c (rb_class_s_alloc): define Class allocation function.
47873 this makes Classes to follow clone framework that uses
47876 * object.c (rb_class_initialize): separate instantiation and
47879 * object.c (rb_obj_alloc): prohibit instantiation from
47880 uninitialized class.
47882 * object.c (rb_class_superclass): check uninitialized class.
47884 * array.c (rb_ary_fill): wrong index processing with block. this
47885 fix was done by Koji Arai <JCA02266@nifty.ne.jp> [ruby-list:38029]
47887 * marshal.c (w_object): should preserve generic ivar for nil,
47888 true, false, symbols, and fixnums.
47890 * marshal.c (w_uclass): base_klass check should be done after
47893 Wed Aug 6 01:18:50 2003 Minero Aoki <aamine@loveruby.net>
47895 * lib/net/http.rb: update document.
47897 * lib/net/pop.rb: ditto.
47899 * lib/net/protocol.rb: ditto.
47901 Wed Aug 6 00:48:37 2003 Koji Arai <jca02266@nifty.ne.jp>
47903 * marshal.c (w_object): should recommend marshal_dump rather than
47906 Tue Aug 5 17:58:57 2003 WATANABE Hirofumi <eban@ruby-lang.org>
47908 * lib/fileutils.rb (install): should preserve timestamp only.
47910 Tue Aug 5 17:31:59 2003 Ian Macdonald <ian@caliban.org>
47912 * lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):
47915 Tue Aug 5 15:47:34 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
47917 * eval.c (rb_load): should preserve current source file/line.
47919 Tue Aug 5 10:04:42 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47921 * string.c (str_new4): ptr may refer null_str.
47923 Mon Aug 4 17:25:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
47925 * stable version 1.8.0 released.
47927 For the changes before 1.8.0, see doc/ChangeLog-1.8.0
47930 add-log-time-format: (lambda ()
47931 (let* ((time (current-time))
47932 (system-time-locale "C")
47933 (diff (+ (cadr time) 32400))
47934 (lo (% diff 65536))
47935 (hi (+ (car time) (/ diff 65536))))
47936 (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
47937 indent-tabs-mode: t