Sun Apr 20 21:02:06 2008 Akinori MUSHA * enumerator.c: Resolve the method every time an enumeration method is run, not once when the enumerator is initialized as it was before, so that method_missing() and method (re)definition afterwards are both in effect; pointed out in: [ruby-core:16441] Sun Apr 20 17:59:25 2008 Akinori MUSHA * object.c, NEWS, test/ruby/test_symbol.rb: Revert Symbol#to_proc since it does not pass the tests. Sun Apr 20 14:29:35 2008 Technorama Ltd. * ext/openssl/ossl_ssl.c: initialize session class. Sat Apr 19 20:54:42 2008 akira yamada * lib/uri/ftp.rb, lib/uri/generic.rb, test/uri/test_common.rb, test/uri/test_ftp.rb, test/uri/test_generic.rb: backported from 1.9. [ruby-dev:31318] Sat Apr 19 20:35:02 2008 Akinori MUSHA * lib/yaml/baseemitter.rb, lib/yaml/encoding.rb: performance tuning around String#gsub. * lib/yaml/tag.rb: Replace nodoc with stopdoc so Module methods get documented. * lib/yaml/store.rb (YAML::load): modified to support empty database. * lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?): add a method to support faster PStore. Sat Apr 19 20:16:52 2008 Akinori MUSHA * lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit; merged from 1.9. * lib/yaml.rb (quick_emit): use combination of object_id and hash to identify repeated object references, since GC will reuse memory of objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698]; merged from 1.9. Sat Apr 19 20:05:39 2008 Akinori MUSHA * array.c (rb_ary_equal, rb_ary_eql, rb_ary_hash, rb_ary_cmp): Make Array#eql?, #hash, #== and #<=> use rb_exec_recursive() and handle recursive data properly. * hash.c (hash_equal, rb_hash_hash): Make Hash#eql?, #hash and #== use rb_exec_recursive() and handle recursive data properly. Sat Apr 19 19:26:09 2008 Akinori MUSHA * intern.h, eval.c (rb_exec_recursive): New internal function to help perform recursive operation; backported from 1.9. Sat Apr 19 18:42:04 2008 Akinori MUSHA * intern.h, hash.c (rb_hash_lookup): New internal function to check if a key exists in a hash, ignoring #default; backported from 1.9. Fri Apr 18 18:56:57 2008 Akinori MUSHA * ext/syck/rubyext.c (syck_genericresolver_node_import): should not set instance variable "@kind" before initializing it. [ruby-dev:32677] * ext/syck/rubyext.c (syck_resolver_initialize, syck_resolver_detect_implicit, syck_emitter_emit): remove unused variables. Fri Apr 18 18:54:57 2008 Akinori MUSHA * ext/syck/rubyext.c: Node#value defined twice. * lib/yaml/: several method redefinitions causing warnings. Fri Apr 18 16:36:16 2008 Akinori MUSHA * lib/rexml/node.rb (REXML::Node::indent): should initialize rv variable. a patch from Tadayoshi Funaba in [ruby-dev:32783]. Fri Apr 18 16:01:37 2008 Akinori MUSHA * lib/rexml: Merge fixes since 1.8.6 made solely on the ruby_1_8_6 branch. Wed Apr 16 06:11:49 2008 Akinori MUSHA * test/ruby/test_settracefunc.rb (TestSetTraceFunc#test_event): Fix tests to reflect the following changes: r15833, r15759. Wed Apr 16 02:09:14 2008 Kouhei Sutou * lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403] * test/xmlrpc/test_cookie.rb: add a test for the above fix. Tue Apr 15 23:48:28 2008 Akinori MUSHA * version.h: Branch off ruby_1_8_7 from ruby_1_8 in preparation for the forthcoming 1.8.7 release. Tue Apr 15 23:40:39 2008 Akinori MUSHA * ext/syck/rubyext.c (rb_syck_mktime): Avoid buffer overflow. Tue Apr 15 20:32:03 2008 Tanaka Akira * re.c (match_inspect): backported from 1.9. Tue Apr 15 19:03:28 2008 Kazuhiro NISHIYAMA * eval.c (method_receiver, method_name, method_owner): New methods; backported from 1.9. bug#19007 Tue Apr 15 18:39:14 2008 Kazuhiro NISHIYAMA * lib/uri.rb, lib/uri/ldaps.rb: added LDAPS scheme; backported from 1.9. bug#19015, [ruby-dev:31896] Tue Apr 15 17:45:43 2008 Kazuhiro NISHIYAMA * lib/net/smtp.rb: backported from 1.9. bug#19003 Tue Apr 15 17:06:12 2008 Kazuhiro NISHIYAMA * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): add tests. Tue Apr 15 16:58:55 2008 Hidetoshi NAGAI * ext/tk/lib/tk/menuspec.rb: option check will fail when TkConfigMethod.__IGNORE_UNKNOWN_CONFIGURE_OPTION__ is true. * ext/tk/lib/tk/palette.rb: bug fix. Tue Apr 15 16:47:48 2008 Kazuhiro NISHIYAMA * signal.c, gc.c: New methods: GC.stress, GC.stress=; backported from 1.9. a patch from Tadashi Saito in [ruby-dev:34394] and bug#19000 Tue Apr 15 12:35:44 2008 Nobuyoshi Nakada * rubyio.h (rb_io_t): renamed from OpenFile. * ruby.h (struct RHash), file.c, gc.c, io.c, ext/dl/dl.c, ext/io/wait/wait.c, ext/pty/pty.c, ext/readline/readline.c, ext/socket/socket.c: ditto. * win32/win32.h: removed workaround for OpenFile. Tue Apr 15 00:15:29 2008 Hidetoshi NAGAI * ext/tk/lib/tk/text.rb: typo. call a wrong method. * ext/tk/lib/tk/itemconfig.rb: ditto. * ext/tk/sample/ttk_wrapper.rb: bug fix. * ext/tk/sample/tktextio.rb: add binding for 'Ctrl-u' at console mode. * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemfont.rb, ext/tk/lib/font.rb: support __IGNORE_UNKNOWN_CONFIGURE_OPTION__ about font options. * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb, ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb, ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: bug fix. * ext/tk/lib/tkextlib/tile/tpaned.rb: improve TPaned#add. * ext/tk/lib/tk/timer.rb: add TkTimer#at_end(proc) to register the procedure which called at end of the timer. Mon Apr 14 19:54:21 2008 Akinori MUSHA * array.c (rb_ary_flatten, rb_ary_flatten_bang): Take an optional argument that determines the level of recursion to flatten; backported from 1.9. * array.c (rb_ary_shuffle_bang, rb_ary_shuffle, rb_ary_choice, rb_ary_cycle, rb_ary_permutation, rb_ary_combination, rb_ary_product, rb_ary_take, rb_ary_take_while, rb_ary_drop, rb_ary_drop_while): New methods: Array#shuffle, #shuffle!, #choice, #cycle, #permutation, #combination, #product, #take, #take_while, #drop, #drop_while; backported from 1.9. Mon Apr 14 19:52:35 2008 Akinori MUSHA * ruby.h: New macro: RB_GC_GUARD(). Mon Apr 14 19:49:35 2008 Akinori MUSHA * random.c (rb_genrand_int32, rb_genrand_real), intern.h: Export. * string.c (rb_str_tmp_new), intern.h: New function. Mon Apr 14 19:18:55 2008 NAKAMURA Usaku * enum.c (inject_i, inject_op_i): prototype. Mon Apr 14 19:10:47 2008 Akinori MUSHA * enum.c New methods: Enumerable#take, #take_while, #drop and #drop_while; backported from 1.9. Mon Apr 14 18:50:15 2008 Akinori MUSHA * enum.c: New methods: Enumerable#one?, #none?, #minmax, #min_by, #max_by, #minmax_by and #cycle; backported from 1.9. * enum.c (enum_find_index): Add support for find_index(obj); [ruby-dev:34313]; backported from 1.9. * enum.c (enum_inject): Add support for Enumerable#inject(:binop); backported from 1.9. * enum.c: Alias Enumerable#reject to #inject; backported from 1.9. Mon Apr 14 18:14:19 2008 Akinori MUSHA * enum.c (enum_find, enum_reject): Return an enumerator if no block is given; backported from 1.9. * io.c (rb_io_each_line, rb_io_each_byte, rb_io_s_foreach, argf_each_line, argf_each_byte): Ditto. * string.c (str_gsub): Ditto. Mon Apr 14 18:10:05 2008 NAKAMURA Usaku * enum.c (find_index_i, find_index_iter_i): add prototype for VC. Mon Apr 14 17:55:30 2008 Akinori MUSHA * array.c (rb_ary_collect_bang, rb_ary_select): Return an enumerator if no block is given; backported from 1.9. * dir.c (dir_each, dir_foreach): Ditto. * enum.c (enum_partition, enum_sort_by): Ditto. * gc.c (os_each_obj): Ditto. * hash.c (rb_hash_delete_if, rb_hash_reject_bang, rb_hash_select, rb_hash_each_value, rb_hash_each_key, rb_hash_each_pair, env_each_key, env_each_value, env_each, env_each_pair, env_reject_bang, env_delete_if, env_select): Ditto. * numeric.c (num_step, int_upto, int_downto, int_dotimes): Ditto. Mon Apr 14 16:42:53 2008 Akinori MUSHA * ruby.h (rb_block_call_func): Fix prototype. * enumerator.c (enumerator_iter_i, enumerator_each_i): Ditto. Mon Apr 14 15:49:05 2008 Akinori MUSHA * enum.c (enum_count, enum_find_index): New methods: Enumerable#count and #find_index; backported from 1.9. Mon Apr 14 14:16:08 2008 NAKAMURA Usaku * enumerator.c (enumerator_mark, enumerator_iter_i, enumerator_each_i, enumerator_allocate): add prototype. * enumerator.c (enumerator_each_i): declare unused two arguments. Mon Apr 14 13:58:32 2008 Akinori MUSHA * string.c (rb_str_each_char): New methods: String#chars and #each_char; backported from 1.9. Mon Apr 14 13:42:20 2008 Akinori MUSHA * string.c (rb_str_each_line, rb_str_each_byte): Reflect enumerator integration. #lines and #bytes are now aliases to #each_line and #each_byte, respectively. Mon Apr 14 13:19:36 2008 Akinori MUSHA * range.c (range_each, range_step): Return an enumerator if no block is given; backported from 1.9. * struct.c (rb_struct_each, rb_struct_each_pair): Ditto. Mon Apr 14 13:07:59 2008 Akinori MUSHA * string.c (rb_str_partition, rb_str_rpartition, rb_str_start_with, rb_str_end_with): New methods: String#partition, #rpartition, #start_with? and #end_with?; backported from 1.9. These methods are $KCODE aware unlike #index, #rindex and #include?. Sun Apr 13 15:55:52 2008 Kazuhiro NISHIYAMA * object.c (sym_to_proc): new method Symbol#to_proc; backported from 1.9. bug#19012 Fri Apr 11 19:14:30 2008 Kazuhiro NISHIYAMA * object.c (rb_obj_tap): new method Object#tap; backported from 1.9. bug#19008 Fri Apr 11 18:58:09 2008 Kazuhiro NISHIYAMA * process.c: new method Process.exec; backported from 1.9. bug#19006 Fri Apr 11 12:43:56 2008 Hidetoshi NAGAI * ext/tk/lib/tkextlib/tile.rb, ext/tk/lib/tkextlib/tile/style.rb, ext/tk/sample/tkextlib/tile/demo.rb: previous patch is not complete. Fri Apr 11 10:22:54 2008 Hidetoshi NAGAI * ext/tk/lib/tkextlib/tile.rb: __define_LoadImages_proc_for_compatibility__! do nothing when the Tcl command exists. * ext/tk/lib/tkextlib/tile/style.rb: __define_wrapper_proc_for_compatibility__! do nothing when the Tcl command exists. * ext/tk/sample/tkextlib/tile/demo.rb: don't create 'step' theme if it already exists. Fri Apr 11 08:05:12 2008 Yukihiro Matsumoto * marshal.c (w_object): add volatile to avoid potential GC bug. a patch from Tomoyuki Chikanaga in [ruby-dev:34311]. Thu Apr 10 20:29:13 2008 Akinori MUSHA * misc/rdebug.el, misc/README: Remove rdebug.el as per request from the maintainer and mention the ruby-debug project at RubyForge in README; bug#19043. Thu Apr 10 20:08:37 2008 Akinori MUSHA * enum.c (enum_first, enum_group_by): New methods: Enumerable#first and #group_by; backported from 1.9. Thu Apr 10 19:49:10 2008 Akinori MUSHA * enumerator.c (rb_eStopIteration), eval.c (rb_f_loop), ruby.h: Add a new exception class StopIteration, which breaks Kernel#loop iteration when raised; backported from 1.9. * enumerator.c (enumerator_next, enumerator_rewind): Implement #next and #rewind using the "generator" library. * lib/generator.rb: Implement Enumerable::Enumerator#next and #rewind. Thu Apr 10 19:29:48 2008 Akinori MUSHA * array.c (rb_ary_first, rb_ary_last): Return a shared array when possible. * array.c (rb_ary_pop, rb_ary_pop_m, rb_ary_shift, rb_ary_shift_m): Array#pop and Array#shift can take an optional argument specifying the number of elements to remove and return; backported from 1.9. Thu Apr 10 14:00:44 2008 Tanaka Akira * lib/resolv.rb (Resolv::DNS#each_address): backport from 1.9 for CNAME. [ruby-dev:34200] Thu Apr 10 01:42:25 2008 NAKAMURA Usaku * enum.c (iterate_method): add prototype to avoid warning on VC++. Wed Apr 9 23:12:41 2008 Hidetoshi NAGAI * ext/tk/tcltklib.c: SEGV when tcltk-stubs is enabled. * ext/tk/tcltklib.c: avoid error on a shared object. * ext/tk/extconf.rb: support --with-tcltkversion * ext/tk/README.tcltklib: add document about --with-tcltkversion * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/style.rb, ext/tk/sample/demos-en/style.rb, ext/tk/sample/demos-jp/bind.rb, ext/tk/sample/demos-en/bind.rb: bug fix. Wed Apr 9 21:54:45 2008 Akinori MUSHA * array.c (rb_ary_pop): Do not reallocate too often; backported from 1.9. Wed Apr 9 21:13:05 2008 Akinori MUSHA * array.c (rb_ary_each, rb_ary_each_index, rb_ary_reverse_each, rb_ary_reject, rb_ary_reject_bang): Array#each, #each_index, #reverse_each, #reject, #reject! and #delete_if return an enumerator if no block is given; backported from 1.9. Wed Apr 9 20:47:16 2008 Akinori MUSHA * array.c (rb_ary_index, rb_ary_index): Array#index and #rindex can take a block instead of an argument; backported from 1.9. Wed Apr 9 19:58:31 2008 Akinori MUSHA * enumerator.c, inits.c (rb_call_inits), ruby.h, intern.h, ext/enumerator, common.mk (OBJS, enumerator.$(OBJEXT)): Make the enumerator module built-in. * enumerator.c: New method: Enumerable::Enumerator#with_index. * enum.c (enum_each_with_index): Enumerable#each_with_index now returns an enumerator instead of raising an exception if no block is given. Enumerable#enum_with_index, formerly defined in the enumerator module, is kept as an alias to each_with_index for backward compatibility. Wed Apr 9 19:43:51 2008 Akinori MUSHA * eval.c (rb_obj_method, rb_proc_call), intern.h: Export. Tue Apr 8 11:11:28 2008 Yukihiro Matsumoto * eval.c (EXEC_TAG): remove unnecessary FLUSH_REGISTER_WINDOWS for better performance on SPARC. [ruby-core:16159] Tue Apr 8 10:49:54 2008 Yukihiro Matsumoto * re.c (rb_reg_quote): should always copy the quoting string. [ruby-core:16235] Mon Apr 7 21:35:08 2008 Akinori MUSHA * array.c (rb_ary_nitems): Backport Array#nitems with a block; suggested by Bertram Scharpf in [ruby-talk:134083]. Sun Apr 6 09:45:00 2008 Nobuyoshi Nakada * dir.c (dir_tell): check if closed. [ruby-core:16223] Sat Apr 5 10:05:00 2008 Nobuyoshi Nakada * object.c (rb_check_to_integer): backported for range_step. Fri Apr 4 05:57:11 2008 Yukihiro Matsumoto * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and @n_bytes as well. [ruby-core:16144] Fri Apr 4 02:17:06 2008 Yukihiro Matsumoto * range.c (range_step): should not round step into integer if begin and end are numeric. [ruby-core:15990] Tue Apr 1 14:43:38 2008 Nobuyoshi Nakada * configure.in: get rid of empty expansion. * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc. Tue Apr 1 11:36:19 2008 Nobuyoshi Nakada * configure.in: _setjmp is available but _longjmp is not on mingw. Tue Apr 1 03:20:40 2008 Nobuyoshi Nakada * configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers _setjmp over setjmp and sigsetjmp. [ruby-core:16023] __builtin_setjmp cannot handle a variable. * configure.in (--with-setjmp-type): new option to override the default rule in the above. * eval_intern.h (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp), vm_core.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and RUBY_JMP_BUF. Tue Apr 1 01:55:52 2008 Nobuyoshi Nakada * lib/resolv.rb (Resolv::Config.default_config_hash): requires win32/resolv to use Win32::Resolv. [ruby-dev:34138] Mon Mar 31 14:51:11 2008 Yukihiro Matsumoto * bignum.c (rb_big_div): Bignum#div should return integer for floating number operand. Sun Mar 30 07:00:32 2008 Nobuyoshi Nakada * ext/tk/tcltklib.c: rb_hash_lookup has not been backported yet. Sat Mar 29 14:18:41 2008 Hidetoshi NAGAI * ext/tk/*: full update Ruby/Tk to support Ruby(1.9|1.8) and Tc/Tk8.5. * ext/tk/lib/tkextlib/tile.rb: [incompatible] remove TileWidgets' instate/state/identify method to avoid the conflict with standard widget options. Those methods are renamed to ttk_instate/ttk_state/ ttk_identify (tile_instate/tile_state/tile_identify are available too). Although I don't recommend, if you realy need old methods, please define "Tk::USE_OBSOLETE_TILE_STATE_METHOD = true" before "require 'tkextlib/tile'". * ext/tk/lib/tkextlib/tile.rb: "Tk::Tile::__Import_Tile_Widgets__!" is obsolete. It outputs warning. To control default widget set, use "Tk.default_widget_set = :Ttk". * ext/tk/lib/tk.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__ method and __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method are defind as module methods of TkConfigMethod. It may help users to wrap old Ruby/Tk scripts (use standard widgets) to force to use Ttk widgets. Ttk widgets don't have some options of standard widgets which are control the view of widgets. When set ignore-mode true, configure method tries to ignoure such unknown options with no exception. Of course, it may raise other troubles on the GUI design. So, those are a little danger methods. * ext/tk/lib/tk/itemconfig.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__ method and __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method are defind as module methods of TkItemConfigMethod as the same purpose as TkConfigMethod's ones. * ext/tk/sample/ttk_wrapper.rb: A new example. This is a tool for wrapping old Ruby/Tk scripts (which use standard widgets) to use Ttk (Tile) widgets as default. * ext/tk/sample/tkextlib/tile/demo.rb: use ttk_instate/ttk_state method instead of instate/state method. * ext/tk/lib/tk/root, ext/tk/lib/tk/namespace.rb, ext/tk/lib/tk/text.rb, ext/tk/lib/tkextlib/*: some 'instance_eval's are replaced to "instance_exec(self)". * ext/tk/lib/tk/event.rb: bug fix on KEY_TBL and PROC_TBL (?x is not a character code on Ruby1.9). * ext/tk/lib/tk/variable.rb: support new style of operation argument on Tcl/Tk's 'trace' command for variables. * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget: bug fix * ext/tk/sammple/demos-jp/textpeer.rb, ext/tk/sammple/demos-en/textpeer.rb: new widget demo. * ext/tk/tcltklib.c: decrase SEGV troubles (probably) * ext/tk/lib/tk.rb: remove Thread.critical access if Ruby1.9 * ext/tk/lib/tk/multi-tk.rb: support Ruby1.9 (probably) * ext/tk/lib/tkextlib/tile.rb: add method to define Tcl/Tk command to make Tcl/Tk theme sources (based on different version of Tile extension) available. (Tk::Tile::__define_LoadImages_proc_for_comaptibility__) * ext/tk/lib/tk.rb, ext/tk/lib/tk/wm.rb: support dockable frames (Tcl/Tk8.5 feature). 'wm' command can treat many kinds of widgets as toplevel widgets. * ext/tk/lib/tkextlib/tile/style.rb: ditto. (Tk::Tile::Style.__define_wrapper_proc_for_compatibility__) * ext/tk/lib/tk/font.rb: add actual_hash and metrics_hash to get properties as a hash. metrics_hash method returns a boolean value for 'fixed' option. But metrics method returns numeric value (0 or 1) for 'fixed' option, because of backward compatibility. * ext/tk/lib/tk/timer.rb: somtimes fail to set callback procedure. * ext/tk/lib/tk.rb: add Tk.sleep and Tk.wakeup method. Tk.sleep doesn't block the eventloop. It will be better to use the method in event callbacks. * ext/tk/sample/tksleep_sample.rb: sample script about Tk.sleep. Sat Mar 29 04:08:59 2008 Yukihiro Matsumoto * class.c (clone_method): should copy cref as well. [ruby-core:15833] Mon Mar 24 20:07:42 2008 Akinori MUSHA * eval.c (rb_eval): Call trace hook for if expression after the condition has been evaluated, not before; submitted by Rocky Bernstein in #18722. Mon Mar 24 19:44:53 2008 Akinori MUSHA * parse.y (yycompile): Always prepare a new array for each file's SCRIPT_LINES__ storage, instead of appending source lines every time a file is re-loaded; submitted by Rocky Bernstein in #18517. Mon Mar 24 10:25:54 2008 Nobuyoshi Nakada * configure.in: sitearch should use target_cpu. [ruby-core:15986] Mon Mar 24 01:24:24 2008 Masatoshi SEKI * lib/erb.rb (result): use proc instead of Thread. [ruby-dev:33692] Fri Mar 21 21:26:52 2008 Nobuyoshi Nakada * lib/resolv.rb (Resolv::Hosts): should not use win32/resolv on cygwin. [ruby-dev:29945], [ruby-dev:34095] * lib/win32/registry.rb (Win32::Registry.expand_environ): try upcased name too for cygwin. [ruby-dev:29945] * lib/win32/resolv.rb (Win32::Resolv.get_hosts_path): use expand_path. Fri Mar 21 21:10:00 2008 Akinori MUSHA * lib/ipaddr.rb: Say that I am the current maintainer. * lib/set.rb: Ditto. * lib/shellwords.rb: Ditto. * ext/syslog/syslog.txt: Ditto. Fri Mar 21 09:24:28 2008 Nobuyoshi Nakada * instruby.rb (open_for_install): write block result and rewrite only if changed from existing file. Wed Mar 19 21:01:08 2008 Nobuyoshi Nakada * dir.c (dir_inspect, dir_path, dir_tell): check for frozen and closed is not needed. [ruby-dev:32640] Wed Mar 19 20:25:40 2008 Nobuyoshi Nakada * dir.c (Init_Dir): define inspect method. [ruby-core:15960] Wed Mar 19 14:59:12 2008 Nobuyoshi Nakada * misc/ruby-style.el (ruby-style-{case,label}-indent): fix for labels inside blocks in switch and function top level. Wed Mar 19 14:36:40 2008 Nobuyoshi Nakada * bignum.c (rb_cstr_to_inum): treat successive underscores as nondigit. [ruby-dev:34089] Wed Mar 19 00:01:23 2008 Masatoshi SEKI * lib/erb.rb (ERB::Compiler): Make some minor code optimization. Mon Mar 17 17:11:13 2008 Nobuyoshi Nakada * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead of calling `run-hooks' directly to run the mode hook. patch from Chiyuan Zhang in [ruby-core:15915] Mon Mar 17 16:41:08 2008 Nobuyoshi Nakada * configure.in: unset GREP_OPTIONS. [ruby-core:15918] Fri Mar 14 16:59:23 2008 Nobuyoshi Nakada * configure.in (RUBY_LIB_PREFIX): fix for prefix. Fri Mar 14 16:35:11 2008 Yukihiro Matsumoto * lib/cgi.rb (CGI::Cookie::initialize): performance patch from Makoto Kuwata in [ruby-dev:34048]. Fri Mar 14 15:49:05 2008 Nobuyoshi Nakada * configure.in (RUBY_LIB_PREFIX): use libdir. Fri Mar 14 10:12:29 2008 Nobuyoshi Nakada * configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor directives. Thu Mar 13 00:37:20 2008 Nobuyoshi Nakada * eval.c (rb_call0): yields the last executed node line number at return event. [ruby-core:15855] Wed Mar 12 02:12:20 2008 Kazuhiro NISHIYAMA * lib/delegate.rb: check $@ to avoid NoMethodError. Tue Mar 11 19:48:09 2008 Nobuyoshi Nakada * numeric.c (fix_coerce): try conversion before type check. [ruby-core:15838] Tue Mar 11 17:03:23 2008 Nobuyoshi Nakada * lib/delegate.rb (Delegator#initialize, DelegateClass): skip correct backtrace. [ruby-dev:34019] Tue Mar 11 16:43:53 2008 Nobuyoshi Nakada * win32/win32.c (rb_w32_cmdvector): terminate shrunken command line. Tue Mar 11 12:39:03 2008 Nobuyoshi Nakada * common.mk (clean-local): removes MINOBJS. Sat Mar 8 18:50:57 2008 Nobuyoshi Nakada * file.c (isdirsep): backslash is valid path separator on cygwin too. Fri Mar 7 19:56:10 2008 Nobuyoshi Nakada * lib/mkmf.rb: rdoc added. [ruby-Patches-9762] Thu Mar 6 15:10:21 2008 NAKAMURA Usaku * {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead of ruby$(EXEEXT). suggested by KIMURA Koichi . [ruby-dev:34000] Thu Mar 6 12:15:06 2008 Nobuyoshi Nakada * parse.y (opt_block_param): command can start just after block param definition. [ruby-list:44479] Thu Mar 6 00:34:11 2008 Masatoshi SEKI * lib/erb.rb: update RDoc. Thanks Makoto Kuwata [ruby-dev:33702] Mon Mar 3 23:28:34 2008 GOTOU Yuuzou * lib/webrick/httpservlet/filehandler.rb: should normalize path separators in path_info to prevent directory traversal attacks on DOSISH platforms. reported by Digital Security Research Group [DSECRG-08-026]. * lib/webrick/httpservlet/filehandler.rb: pathnames which have not to be published should be checked case-insensitively. Mon Mar 3 16:14:24 2008 Nobuyoshi Nakada * hash.c (rb_any_hash): shrinks all results in Fixnum range. [ruby-core:15713] Sat Mar 1 02:35:08 2008 Nobuyoshi Nakada * bignum.c (big2str_find_n1): check integer overflow. Tue Feb 26 16:06:00 2008 Technorama Ltd. * ext/openssl/ossl_pkey_{ec,dh,dsa,rsa}.c: Remove useless warnings. * ext/openssl/ossl_asn1.c: Simplify code. * ext/openssl/ossl_ssl_session.c Fix compiler warnings. Undefine #id if SSL_SESSION_get_id is not supported. Tue Feb 26 15:43:42 2008 Tanaka Akira * parse.y (tokadd_escape): refactored. [ruby-core:15657] Mon Feb 25 17:30:29 2008 Technorama Ltd. * ext/openssl/digest.c ext/openssl/lib/openssl/digest.rb: Commit patch #9280 from Akinori MUSHA. Simplify the OpenSSL::Digest class and make use of the existing Digest framework. Enhance performance. Mon Feb 25 13:40:03 2008 Tanaka Akira * process.c (Init_process): share bignum objects for RLIM_INFINITY, RLIM_SAVED_MAX and RLIM_SAVED_CUR if they are equal. Sun Feb 24 23:29:48 2008 Nobuyoshi Nakada * common.mk, {bcc,win}32/Makefile.sub (clean-local): remove intermediate files. Sun Feb 24 03:52:58 2008 Nobuyoshi Nakada * util.c (valid_filename): use O_EXCL to get rid of clobbering existing files in race conditions. Fri Feb 22 19:50:19 2008 Nobuyoshi Nakada * bignum.c (BIGZEROP): fix for longer Bignum zeros. [ruby-Bugs-17454] Fri Feb 22 16:09:53 2008 Nobuyoshi Nakada * bignum.c (rb_big_lshift, rb_big_rshift, rb_big_aref): removed excess arguments. Thu Feb 21 00:01:34 2008 Nobuyoshi Nakada * configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime load path. [ruby-list:44600] Wed Feb 20 23:55:19 2008 Nobuyoshi Nakada * win32/win32.c (rb_w32_map_errno): exported. Wed Feb 20 13:08:52 2008 Nobuyoshi Nakada * instruby.rb (parse_args): added --dir-mode, --script-mode and --cmd-type options. [ruby-dev:33816] * instruby.rb (parse_args): added bin-arch and bin-comm to install type, for compiled files and script files. * instruby.rb (parse_args): deal with make style command line macros, and count as long syle options if prefixed with INSTALL_. * instruby.rb (makedirs): use $dir_mode. [ruby-dev:33805] * instruby.rb (open_for_install): set file mode, which is now permission mode instead of access mode. * instruby.rb (bin-comm): installs scripts with replacing shebang lines. Tue Feb 19 18:34:32 2008 Tanaka Akira * gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed. [ruby-dev:33857] Tue Feb 19 14:27:32 2008 Nobuyoshi Nakada * ext/readline/readline.c (readline_event): prevent polling. based on a patch from error errorsson in [ruby-Bugs-17675]. Tue Feb 19 12:08:29 2008 Nobuyoshi Nakada * parse.y (yycompile): clear ruby_eval_tree_begin if parse failed. Mon Feb 18 16:23:45 2008 Nobuyoshi Nakada * parse.y (yycompile): clear ruby_eval_tree_begin too before parse. Mon Feb 18 10:17:42 2008 Nobuyoshi Nakada * ext/pty/lib/expect.rb (IO#expect): check if peer is closed. [ruby-Bugs-17940] Fri Feb 15 20:37:06 2008 Tadayoshi Funaba * lib/rational.rb (floor, ceil, truncate, round): do not use definitions of Numeric. * lib/rational.rb (to_i): should returns truncated self. * lib/complex.rb (numerator): requires Integer#{numerator,denominator}. * lib/complex.rb (quo): do not use definition of Numeric. * lib/complex.rb (div, divmod, floor, ceil, truncate, round): undef'ed. Fri Feb 15 15:23:12 2008 Nobuyoshi Nakada * ext/iconv/iconv.c (iconv_convert): check upper bound. a patch from Daniel Luz at [ruby-Bugs-17910]. Fri Feb 15 02:42:25 2008 Nobuyoshi Nakada * configure.in (ftruncate): check if available. * file.c (rb_file_truncate): check if ftruncate instead of truncate. Fri Feb 15 02:40:54 2008 Nobuyoshi Nakada * configure.in (sigsetmask): check when signal semantics is not POSIX. * signal.c (USE_TRAP_MASK): set true if sigprocmask or sigsetmask is available. Thu Feb 14 17:44:32 2008 Yukihiro Matsumoto * ext/dl/ptr.c (dlmem_each_i): typo fixed. a patch from IKOMA Yoshiki in [ruby-dev:33776]. Thu Feb 14 16:02:51 2008 Nobuyoshi Nakada * file.c (rb_file_s_utime): inhibits with secure level 2 or higher. Thu Feb 14 01:43:16 2008 Nobuyoshi Nakada * lib/timeout.rb (Timeout::timeout): made sensitive to location on the stack. [ruby-core:15458] Thu Feb 14 00:49:53 2008 Nobuyoshi Nakada * common.mk (INSTRUBY_ARGS): pass mode to install. [ruby-dev:33766] * instruby.rb (parse_args): added --data-mode and --prog-mode options. Tue Feb 12 11:33:26 2008 Masatoshi SEKI * test/erb/test_erb.rb(TestERBCore): import from erb-2.0.4. * test/erb/hello.erb: ditto Mon Feb 11 17:25:21 2008 Kouhei Sutou * lib/rss/rss.rb (RSS::VERSION), test/rss/test_version.rb, NEWS: 0.2.3 -> 0.2.4. * lib/rss/maker.rb, lib/rss/maker/, test/rss/test_maker_2.0.rb: fixed a bug that RSS::Maker.make("0.9")'s item doesn't make some elements if description is missed. Reported by Michael Auzenne. Thanks!!! * lib/rss/maker/0.9.rb, test/rss/test_maker_0.9.rb: RSS::Maker.make("0.9") generates RSS 0.92 not RSS 0.91. Mon Feb 11 16:57:00 2008 Kazuhiro NISHIYAMA * ChangeLog: format-time-string under C locale. [ruby-dev:33261] Mon Feb 11 16:31:47 2008 URABE Shyouhei * gc.c (rb_newobj): prohibit call of rb_newobj() during gc. Submitted by Sylvain Joyeux [ruby-core:12099]. * ext/dl/ptr.c: do not use LONG2NUM() inside dlptr_free(). Slightly modified fix bassed on a patch by Sylvain Joyeux [ruby-core:12099] [ ruby-bugs-11859 ] [ ruby-bugs-11882 ] [ ruby-patches-13151 ]. Mon Feb 11 00:22:55 2008 NARUSE, Yui * lib/benchmark.rb (Job::Benchmark#item): fix typo. Sat Feb 9 23:22:52 2008 Nobuyoshi Nakada * ext/bigdecimal/extconf.rb: simplified the condition. Sat Feb 9 17:51:24 2008 Nobuyoshi Nakada * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more precision. [ruby-talk:290296] * ext/bigdecimal/bigdecimal.c (BASE_FIG): made constant. * ext/bigdecimal/extconf.rb: ditto. [ruby-dev:33658] Sat Feb 9 00:44:52 2008 Nobuyoshi Nakada * lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than SystemExit and SignalException. [ruby-core:15359] Fri Feb 8 15:09:21 2008 Nobuyoshi Nakada * lib/mkmf.rb (xsystem): expand macros like as make. Tue Feb 5 11:14:11 2008 Nobuyoshi Nakada * lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR. * lib/mkmf.rb (install_files): rejects files matching to $NONINSTALLFILES. * lib/mkmf.rb (init_mkmf): defaults $NONINSTALLFILES to backup and temporary filse. Mon Feb 4 16:44:24 2008 Nobuyoshi Nakada * configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L. [ruby-dev:33584] Sat Feb 2 20:06:42 2008 Yukihiro Matsumoto * lib/benchmark.rb (Benchmark::realtime): make Benchmark#realtime a bit faster. a patch from Alexander Dymo in [ruby-core:15337]. Sat Feb 2 09:53:39 2008 Nobuyoshi Nakada * configure.in (darwin): disabled fat-binary support which confuses configure much, since ``universal'' implies hidden cross-compiling. TODO: ruby and libruby.bundle might be possible to bound with `lipo' after builds for each archs. Anyway, config.h and rbconfig.rb must be separated definitely at least. Fri Feb 1 21:42:37 2008 Nobuyoshi Nakada * configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_t consistent with the library implementation of MacOS X 10.5. [ruby-dev:33461] * configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken. Thu Jan 31 08:31:19 2008 Nobuyoshi Nakada * common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that can be executed even with -n. Thu Jan 31 07:00:19 2008 Masatoshi SEKI * lib/rinda/tuplespace.rb (bin_for_find): should find a symbol by Symbol class. * test/rinda/test_rinda.rb (test_symbol_tuple): ditto. Wed Jan 30 22:07:58 2008 Tadayoshi Funaba * lib/date.rb: refined deprecated methods. Wed Jan 30 22:06:54 2008 Tadayoshi Funaba * bignum.c (rb_cstr_to_inum): '0_2' is a valid representation. Tue Jan 29 22:40:12 2008 Yusuke Endoh * range.c (step_i): rb_funcall receives VALUE as an argument. Tue Jan 29 11:53:05 2008 Nobuyoshi Nakada * configure.in: rm largefile.h. Mon Jan 28 01:21:15 2008 Yukihiro Matsumoto * io.c (rb_open_file): should check NUL in path. . * io.c (rb_io_s_popen): ditto. * io.c (rb_io_reopen): ditto. * io.c (next_argv): ditto. * io.c (rb_io_s_foreach): ditto. * io.c (rb_io_s_readlines): ditto. * io.c (rb_io_s_read): ditto. Fri Jan 25 22:33:38 2008 Yusuke Endoh * math.c: fix comment. [ruby-dev:33276] Fri Jan 25 10:31:58 2008 Nobuyoshi Nakada * */*.bat: set svn:mime-type to text/batch. Thu Jan 24 19:36:22 2008 Nobuyoshi Nakada * lib/uri/generic.rb (URI::Generic::inspect): use Kernel#to_s instead object_id with printf. [ruby-dev:33347] Tue Jan 22 11:22:47 2008 NAKAMURA Usaku * win32/setup.mak ($(ARCH)): if a macro is appended by $(APPEND), a space will be inserted on the top of the line. * win32/Makefile.sub (MKFILES): stop make process if Makefile is updated. Mon Jan 21 17:34:41 2008 Akinori MUSHA * io.c (rb_io_mode_flags, rb_io_mode_modenum): Ignore encoding options for forward compatibility. Mon Jan 21 12:50:02 2008 Nobuyoshi Nakada * eval.c, gc.c (setjmp): sigsetjmp is a macro on cygwin. Sat Jan 19 11:21:53 2008 Nobuyoshi Nakada * configure.in (sigsetjmp): check if available. * eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available. Sat Jan 19 11:10:11 2008 Nobuyoshi Nakada * configure.in: Remove wrong assumptions about Cygwin. a patch from Corinna Vinschen in [ruby-Bugs-17018]. Thu Jan 17 21:06:01 2008 Tadayoshi Funaba * lib/date.rb (Date::Infinity#<=>): didn't work. A patch from Dirkjan Bussink [ruby-core:15098]. This is a bug obviously. However it didn't affect the library's functions. * lib/date.rb, lib/date/format.rb: some trivial changes. Tue Jan 15 15:09:28 2008 Nobuyoshi Nakada * win32/setup.mak: strip out empty lines from CPP output. Tue Jan 15 03:41:42 2008 Nobuyoshi Nakada * eval.c (eval): check if backtrace is empty. [ruby-core:15040] Tue Jan 15 01:28:47 2008 Nobuyoshi Nakada * common.mk: simplified dummy objects dependencies. Mon Jan 14 16:12:58 2008 Yukihiro Matsumoto * lib/shellwords.rb: scape should be an alias to shellescape. a patch from Masahiro Kawato in [ruby-dev:33060]. Mon Jan 14 09:32:40 2008 Tadayoshi Funaba * lib/time.rb: do not reference Time directly from the inside of definitions. [ruby-dev:33059] Sat Jan 12 18:27:41 2008 Nobuyoshi Nakada * eval.c (rb_define_alloc_func, rb_undef_alloc_func): should define/undef on a signleton class. [ruby-core:09959] Sat Jan 12 12:04:14 2008 Tadayoshi Funaba * lib/date.rb, lib/date/format.rb: tuning for performance. Fri Jan 11 12:35:56 2008 Nobuyoshi Nakada * configure.in: moved broken syscall checks from process.c etc. * defines.h (WORDS_BIGENDIAN): honor __BIG_ENDIAN__ than the result of configure. * dln.c: use dlopen on Mac OS X 10.3 or later. backport from trunk. * lib/rdoc/options.rb (check_diagram): more precise check, darwin is not Windows but minwg is on it. Thu Jan 10 10:53:50 2008 Nobuyoshi Nakada * win32/win32.c (rb_w32_open_osfhandle): reverted to old definition. [ ruby-Bugs-16948 ] Tue Jan 8 20:02:08 2008 Nobuyoshi Nakada * win{32,ce}/Makefile.sub: merged. Sun Jan 6 09:39:02 2008 Tadayoshi Funaba * lib/date.rb, lib/date/format.rb: introduced some constants (for internal use). * sample/cal.rb: trivial adjustments. Fri Jan 4 23:08:48 2008 Nobuyoshi Nakada * time.c (time_arg): use converted object. [ruby-core:14759] Fri Jan 4 01:20:21 2008 Nobuyoshi Nakada * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660] Thu Jan 3 11:28:58 2008 Nobuyoshi Nakada * io.c (fptr_finalize): clear errno first. [ruby-talk:284492] Wed Jan 2 10:18:56 2008 Tadayoshi Funaba * sample/time.rb: use Process.times instead of Time.times. Wed Jan 2 09:18:11 2008 Tadayoshi Funaba * sample/goodfriday.rb: examples for date are enough. retired. Wed Jan 2 09:06:55 2008 Tadayoshi Funaba * sample/cal.rb: just updated with the newest version. Mon Dec 31 06:50:38 2007 Nobuyoshi Nakada * trunk/common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for cross compiling. * configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib moved. Sun Dec 30 22:48:37 2007 Tadayoshi Funaba * lib/date.rb (_valid_time?): I'm not sure to recommend such an expression. but anyway it is acceptable now. [ruby-core:14580] Fri Dec 28 16:36:33 2007 NARUSE, Yui * lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address. Fri Dec 28 13:21:32 2007 Kouhei Sutou * lib/rss/rss.rb, test/rss/test_version.rb, NEWS: 0.2.2 -> 0.2.3. * lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name. Reported by Ray Chen. Thanks. Thu Dec 27 23:56:01 2007 Nobuyoshi Nakada * mkconfig.rb: should not use the libraries under the source directory at cross compiling. Thu Dec 27 11:02:45 2007 Nobuyoshi Nakada * intern.h, string.c (rb_str_set_len): added for upgrading path from 1.8 to 1.9. [ruby-dev:32807] * string.c (rb_str_lines, rb_str_bytes): ditto. Thu Dec 27 10:47:32 2007 Technorama Ltd. * ext/openssl/ossl_ssl.c: Only show a warning if the default DH callback is actually used. * ext/openssl/ossl_rand.c: New method: random_add(). Wed Dec 26 22:27:45 2007 NARUSE, Yui * lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array of Resolv::DNS::Label::Str. * lib/resolv.rb (Resolv::DNS::MessageEncoder#put_label): String#string is not defined, so replace to_s. * lib/resolv.rb (Resolv::IPv6#to_name): ip6.int is obsoleted by int.arpa. Mon Dec 24 16:18:57 2007 Eric Hodel * lib/rdoc/ri/ri_options.rb: Fix ri --help listing of gem ri paths. Merge of r14567 and r14569 from trunk. * lib/rdoc/ri/ri_paths.rb: Fix duplication of ri data for multiple gems. Merge of r14567 from trunk Mon Dec 24 12:35:03 2007 Nobuyoshi Nakada * win{32,ce}/Makefile.sub (MFLAGS): defaulted to -l. Mon Dec 24 11:56:31 2007 Nobuyoshi Nakada * {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS. Sat Dec 22 14:49:46 2007 Tadayoshi Funaba * lib/date.rb: don't freeze nil even if 1.8 will not be aware of the issue. [ruby-dev:32677] Wed Dec 19 13:57:43 2007 Nobuyoshi Nakada * configure.in (TIMEZONE_VOID): check whether timezone requires zero arguments. [ruby-dev:32631] Wed Dec 19 12:01:42 2007 Nobuyoshi Nakada * parse.y (f_rest_arg): check if duplicated. [ruby-core:14140] Wed Dec 19 10:52:29 2007 Nobuyoshi Nakada * bignum.c (rb_cstr_to_inum): an underscore succeeding after octal prefix is allowed. [ruby-core:14139] Mon Dec 17 13:43:15 2007 Tanaka Akira * gc.c (stack_end_address): use local variable address instead of __builtin_frame_address(0) to avoid SEGV on SunOS 5.11 on x86 with gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802). stack_end_address returned a frame address of garbage_collect since stack_end_address doesn't create its own frame. So a VALUE stored in a callee saved register, %edi, pushed into the stack at the beginning of garbage_collect was not marked. Mon Dec 17 12:21:25 2007 Nobuyoshi Nakada * Makefile.in (RUNRUBY): added RUNRUBYOPT. Fri Dec 14 12:36:35 2007 Nobuyoshi Nakada * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined and its type. * configure.in (timezone, altzone): check for recent cygwin. * missing/strftime.c (strftime): fix for timezone. [ruby-dev:32536] * lib/mkmf.rb (try_var): should fail for functions. * ext/readline/extconf.rb: should use have_func for functions instead of have_var. Tue Dec 11 00:04:05 2007 Akinori MUSHA * array.c (rb_ary_slice_bang): If an invalid negative index (< -size) is given, do not raise an exception but return nil just like slice() does. * test/ruby/test_array.rb (TestArray::test_slice, TestArray::test_slice!): Pull in test cases from trunk. Mon Dec 10 21:47:53 2007 Nobuyoshi Nakada * transcode.c (str_transcode): allow non-registered encodings. [ruby-dev:32520] Mon Dec 10 21:00:30 2007 Yukihiro Matsumoto * array.c (rb_ary_slice_bang): should return nil if position out of range. a patch from Akinori MUSHA . [ruby-dev:32518] Mon Dec 10 18:28:06 2007 Yukihiro Matsumoto * lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME regular expression. a patch from Ueda Satoshi . [ruby-dev:32514] Sun Dec 9 12:39:01 2007 Nobuyoshi Nakada * lib/cgi.rb (read_multipart): exclude blanks from header values. [ruby-list:44327] Wed Dec 5 23:38:50 2007 Nobuyoshi Nakada * range.c (range_each): followed step_i change. Wed Dec 5 18:08:45 2007 Tanaka Akira * numeric.c (int_odd_p): new method Integer#odd?. (int_even_p): new method Integer#even?. (int_pred): new method Integer#pred. (fix_odd_p): new method Fixnum#odd?. (fix_even_p): new method Fixnum#even?. Wed Dec 5 15:15:21 2007 Nobuyoshi Nakada * range.c (step_i, range_step): support non-fixnum steps. [ruby-talk:282100] Tue Dec 4 11:23:50 2007 Nobuyoshi Nakada * bignum.c (rb_cstr_to_inum): trailing spaces may exist at sqeezing preceeding 0s. [ruby-core:13873] Sun Dec 2 22:43:45 2007 Nobuyoshi Nakada * eval.c (error_print): put newline unless multiple line message ends with a newline. [ruby-dev:32429] Sun Dec 2 15:49:20 2007 Kouhei Sutou * lib/rss/rss.rb, test/rss/test_version.rb, NEWS: 0.2.1 -> 0.2.2. * lib/rss/maker/itunes.rb: fixed new_itunes_category. * lib/rss/maker/taxonomy.rb: new_taxo_topic -> new_topic because of consistency. * test/rss/test_maker_itunes.rb, test/rss/test_itunes.rb: removed needless UTF-8 characters. Sun Dec 2 01:12:15 2007 James Edward Gray II Merged 14070 from trunk. * lib/xmlrpc/server.rb (XMLRPC::Server#server): Improve signal handling so pressing control-c in the controlling terminal or sending SIGTERM stops the XML-RPC server. Sat Dec 1 15:13:33 2007 Yukihiro Matsumoto * lib/resolv.rb: documentation update. backported from 1.9. [ruby-core:13273] Sat Dec 1 03:30:47 2007 Nobuyoshi Nakada * parse.y (newline_node): set line from outermost node before removing NODE_BEGIN. [ruby-dev:32406] Fri Nov 30 21:53:28 2007 Kouhei Sutou * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1. * lib/rss/content.rb, lib/rss/content/1.0.rb, lib/rss/content/2.0.rb, lib/rss/maker/content.rb, test/rss/rss-testcase.rb, test/rss/test_content.rb, test/rss/test_maker_content.rb: supported content:encoded with RSS 2.0. Suggested by Sam Lown. Thanks. * NEWS: added the above changes. Thu Nov 29 16:59:10 2007 Nobuyoshi Nakada * parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814] Wed Nov 28 14:43:14 2007 Nobuyoshi Nakada * ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS to get rid of mixing $LDFLAGS and $ARCH_FLAG. * lib/mkmf.rb (configuration): ditto. * lib/mkmf.rb (create_makefile): support for extensions which has no shared object. Wed Nov 28 09:51:42 2007 Nobuyoshi Nakada * bignum.c (rb_big2str0): do not clobber space for sign. * sprintf.c (remove_sign_bits): extends sign bit first. Wed Nov 21 01:04:12 2007 Yukihiro Matsumoto * object.c (nil_plus): remove unused function. [ruby-core:13737] Sun Nov 18 14:03:44 2007 Nobuyoshi Nakada * eval.c (rb_alias): do not call hook functions until initialization finishes. [ruby-talk:279538] Sun Nov 18 09:09:48 2007 Nobuyoshi Nakada * lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers. Sat Nov 17 13:58:11 2007 Masaki Suketa * ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100] Fri Nov 16 17:41:34 2007 Nobuyoshi Nakada * ext/iconv/iconv.c (Document-class): moved the simplest example to the top. * ext/iconv/iconv.c (iconv_s_iconv): Document-method: needs class prefix for class method. [ruby-core:13542] * ext/iconv/iconv.c (iconv_iconv): also instance method needs to be qualified. Fri Nov 16 11:16:41 2007 Nobuyoshi Nakada * lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv. Thu Nov 15 19:50:46 2007 NAKAMURA Usaku * ext/curses/extconf.rb: check macro if cannot find func. [ruby-list:44224] Thu Nov 15 12:19:14 2007 Yukihiro Matsumoto * lib/cgi/session.rb (CGI::Session::FileStore::restore): use lockfile for exclusive locks. a patch from . [ruby-dev:32296] Wed Nov 14 01:52:59 2007 Tanaka Akira * missing/isinf.c (isinf): don't define if the macro is defined. Wed Nov 14 01:34:42 2007 Nobuyoshi Nakada * numeric.c (round): fallback definition. * numeric.c (flo_divmod, flo_round): use round() always. [ruby-dev:32269] Tue Nov 13 22:02:23 2007 Masatoshi SEKI * lib/drb/drb.rb: remove Thread.exclusive. * lib/drb/extservm.rb: ditto. Tue Nov 13 16:33:07 2007 Nobuyoshi Nakada * numeric.c (flodivmod): work around for infinity. * numeric.c (flo_divmod): work around for platforms have no round(). [ruby-dev:32247] Tue Nov 13 13:58:51 2007 Tanaka Akira * numeric.c (numeric.c): Integer#ord implemented. [ruby-dev:32206] Tue Nov 13 02:57:04 2007 URABE Shyouhei * numeric.c (flo_divmod): round to the nearest integer. [ ruby-Bugs-14540 ] Mon Nov 12 16:52:29 2007 Nobuyoshi Nakada * lib/mkmf.rb (create_makefile): rdoc about srcprefix. a patch from Daniel Berger in [ruby-core:13378]. Mon Nov 12 13:53:06 2007 Yukihiro Matsumoto * misc/ruby-mode.el (ruby-parse-partial): handle stringified symbols properly using ruby-forward-string. Mon Nov 12 12:38:31 2007 Tanaka Akira * Makefile.in (lex.c): don't remove lex.c at first. Fri Nov 9 07:26:04 2007 Yukihiro Matsumoto * random.c: update MT URL.[ruby-core:13305]. Wed Nov 7 03:32:38 2007 Yukihiro Matsumoto * lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for nkf conversion. a patch from . [ruby-dev:32183] Mon Nov 5 05:17:04 2007 Nobuyoshi Nakada * lib/optparse.rb (OptionParser::Switch::summarize): fix for long form option with very long argument. a patch from Kobayashi Noritada in [ruby-list:44179]. Mon Nov 5 01:20:33 2007 Yukihiro Matsumoto * parse.y (call_args): remove "parenthesize argument(s) for future version" warning. when I added this warning, I had a plan to reimplement the parser that is simpler than the current one. since we abandoned the plan, warning no longer required. Fri Nov 2 00:13:51 2007 Yukihiro Matsumoto * array.c (rb_ary_assoc): check and convert inner arrays (assocs) using #to_ary. * hash.c (rb_hash_s_create): check and convert argument hash using #to_hash. * hash.c (rb_hash_s_create): Hash#[] now takes assocs as source of hash conversion. Thu Nov 1 23:47:43 2007 Masatoshi SEKI * lib/drb/drb.rb (DRbTCPSocket): Improving with multiple network interface. * test/drb/drbtest.rb: ditto. Fri Oct 26 17:14:14 2007 Nobuyoshi Nakada * numeric.c (fix_pow): returns 1.0 for 0**0.0. * numeric.c (fix_pow): returns infinity for 0**-1. [ruby-dev:32084] Wed Oct 25 07:18:09 2007 James Edward Gray II Merged 13781 from trunk. * lib/net/telnet.rb (Net::Telnet#login): Allowing "passphrase" in addition to "password" for Telnet login prompts. [ruby-Bugs-10746] Wed Oct 25 06:46:21 2007 James Edward Gray II Merged 13779 from trunk. * lib/net/telnet.rb (Net::Telnet#login): Making the password prompt pattern case insensitive. [ruby-Bugs-10746] Thu Oct 25 14:19:33 2007 Nobuyoshi Nakada * io.c (rb_io_tell, rb_io_seek): check errno too. [ruby-dev:32093] Wed Oct 25 08:03:53 2007 James Edward Gray II Merged 13767, 13768, 13769, and 13770 from trunk. * lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug that caused time zone conversion to fail for some ISO 8601 date formats. [ruby-Bugs-12677] * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly start the HTTP connection to support keepalive requests. [ruby-Bugs-9353] * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the error message for Content-Type check failures. [ruby-core:12163] * lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type): Making Content-Type checks case insensitive. [ruby-Bugs-3367] Sun Oct 21 21:16:43 2007 Kouhei Sutou * lib/rss.rb, lib/rss/, test/rss/, sample/rss/: merged from trunk. - 0.1.6 -> 2.0.0. - fixed image module URI. Thanks to Dmitry Borodaenko. - supported Atom. - supported ITunes module. - supported Slash module. * NEWS: added an entry for RSS Parser. Thu Oct 18 10:57:06 2007 Tanaka Akira * ruby.h (RCLASS_IV_TBL): defined. (RCLASS_M_TBL): ditto. (RCLASS_SUPER): ditto. (RMODULE_IV_TBL): ditto. (RMODULE_M_TBL): ditto. (RMODULE_SUPER): ditto. Mon Oct 15 22:08:55 2007 Akinori MUSHA * NEWS: Merge some of the sub-sections, as the differences were unclear. Mon Oct 15 21:57:07 2007 Akinori MUSHA * NEWS: Mention ipaddr enhancements. * lib/ipaddr.rb (in_addr, in6_addr, addr_mask): Make some minor code optimization. * lib/ipaddr.rb (<=>): Implement IPAddr#<=> and make IPAddr comparable. * lib/ipaddr.rb (succ): Implement IPAddr#succ. You can now create a range between two IPAddr's, which (Range) object is enumerable. * lib/ipaddr.rb (to_range): A new method to create a Range object for the (network) address. * lib/ipaddr.rb (coerce_other): Support type coercion and make &, |, == and include? accept a string or an integer instead of an IPAddr object as the argument. * lib/ipaddr.rb (initialize): Give better error messages. * lib/ipaddr.rb: Improve documentation. Mon Oct 15 21:24:25 2007 Akinori MUSHA * NEWS: Mention shellwords and tempfile enhancements. * NEWS: Move the entry about Tk::X_Scrollable to a better section. Mon Oct 15 17:28:20 2007 NAKAMURA Usaku * ext/openssl/lib/openssl/buffering.rb (read, readpartial): revert r12496. handling EOF is a little differnt in ruby 1.8 and ruby 1.9. [ruby-dev:31979] Mon Oct 15 11:45:12 2007 Nobuyoshi Nakada * marshal.c (r_bytes0): refined length check. [ruby-dev:32059] Mon Oct 15 09:58:07 2007 Nobuyoshi Nakada * marshal.c (r_bytes0): check if source has enough data. [ruby-dev:32054] Mon Oct 15 01:15:09 2007 Tanaka Akira * ext/socket/socket.c (s_accept_nonblock): make accepted fd nonblocking. [ruby-talk:274079] Sun Oct 14 04:08:34 2007 Nobuyoshi Nakada * configure.in (AC_SYS_LARGEFILE): keep results also in command options, to vail out of mismatch. [ruby-list:44114] * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS. Sun Oct 14 03:55:52 2007 Nobuyoshi Nakada * win32/mkexports.rb: deal with __fastcall name decorations. [ruby-list:44111] Sat Oct 13 09:02:16 2007 Nobuyoshi Nakada * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108] Sat Oct 13 00:35:03 2007 Yukihiro Matsumoto * lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): typo fixed. [ruby-list:44099] Fri Oct 12 11:22:15 2007 Yukihiro Matsumoto * re.c (match_values_at): make #select to be alias to #values_at to adapt RDoc description. [ruby-core:12588] Thu Oct 11 14:32:46 2007 NAKAMURA Usaku * {bcc32,win32}/Makefile.sub (COMMON_MACROS): workaround for old SDK's bug. [ruby-core:12584] Wed Oct 10 23:34:45 2007 Tanaka Akira * lib/securerandom.rb: new file. [ruby-dev:31928] * lib/cgi/session.rb (create_new_id): use securerandom if available. Tue Oct 9 01:01:55 2007 Tanaka Akira * re.c (rb_reg_s_union_m): Regexp.union accepts single argument which is an array of patterns. [ruby-list:44084] Mon Oct 8 20:06:23 2007 GOTOU Yuuzou * lib/net/http.rb, lib/open-uri.rb: remove Net::HTTP#enable_post_connection_check. [ruby-dev:31960] * lib/net/imap.rb: hostname should be verified against server's indentity as persented in the server's certificate. [ruby-dev:31960] * ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto. Sat Oct 6 23:14:54 2007 Yukihiro Matsumoto * string.c (rb_str_to_i): update RDoc since base can be any value between 2 and 36. [ruby-talk:272879] Fri Oct 5 15:44:50 2007 Akinori MUSHA * lib/shellwords.rb: Add shellescape() and shelljoin(). * lib/shellwords.rb: Rename shellwords() to shellsplit() and make the former an alias to the latter. * lib/shellwords.rb: Add escape(), split(), join() as class methods, which are aliases to their respective long names prefixed with `shell'. * lib/shellwords.rb: Add String#shellescape(), String#shellsplit() and Array#shelljoin() for convenience. Fri Oct 5 15:40:04 2007 Akinori MUSHA * lib/tempfile.rb (Tempfile::make_tmpname): Allow to specify a suffix for a temporary file name. * lib/tempfile.rb (Tempfile::make_tmpname): Make temporary file names less predictable by including a random string. [inspired by: akr] Tue Oct 2 21:20:14 2007 NAKAMURA Usaku * win32/win32.c (make_cmdvector): adjust escaped successive double-quote handling. (merge from trunk) Tue Oct 2 20:35:24 2007 NAKAMURA Usaku * win32/win32.c (init_env): initialize HOME and USER environment variables unless set. [ruby-core:12328] (merge from trunk) * win32/win32.c (NtInitialize, getlogin): ditto. * configure.in, win32/Makefile.sub (LIBS): need to link shell32 library for SH* functions on mswin32 and mingw32. Mon Oct 1 12:50:59 2007 Yukihiro Matsumoto * gc.c (id2ref): valid id should not refer T_VALUE nor T_ICLASS. [ruby-dev:31911] Wed Sep 26 23:54:37 2007 Nobuyoshi Nakada * ext/extmk.rb (extmake), lib/mkmf.rb (configuration): top_srcdir should not prefixed with DESTDIR. Wed Sep 26 08:36:31 2007 Nobuyoshi Nakada * Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as other objects. [ruby-Bugs-14228] Wed Sep 26 05:12:17 2007 Nobuyoshi Nakada * parse.y (yyerror): limit error message length. [ruby-dev:31848] * regex.c (re_mbc_startpos): separated from re_adjust_startpos. Tue Sep 25 13:47:38 2007 Yukihiro Matsumoto * eval.c (remove_method): should not remove undef place holder. [ruby-dev:31817] Mon Sep 24 16:52:11 2007 Urabe Shyouhei * lib/net/http.rb: fix typo. Sun Sep 23 21:57:25 2007 GOTOU Yuuzou * lib/net/http.rb: an SSL verification (the server hostname should be matched with its certificate's commonName) is added. this verification can be skipped by "Net::HTTP#enable_post_connection_check=(false)". suggested by Chris Clark * lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to perform SSL post connection check. * ext/openssl/lib/openssl/ssl.c (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message. Sun Sep 23 09:05:05 2007 Nobuyoshi Nakada * gc.c (os_obj_of, os_each_obj): hide objects to be finalized. [ruby-dev:31810] Sun Sep 23 08:58:01 2007 Nobuyoshi Nakada * eval_method.ci (rb_attr): should not use alloca for unknowen size input. [ruby-dev:31816] * parse.y (rb_intern_str): prevent str from optimization. Sun Sep 23 05:42:35 2007 URABE Shyouhei * lib/rdoc/options.rb (Options::check_diagram): dot -V output changed. [ ruby-Bugs-11978 ], Thanks Florian Frank. Sat Sep 22 06:02:11 2007 Nobuyoshi Nakada * lib/optparse.rb (OptionParser::List::summarize): use each_line if defined rather than each. [ruby-Patches-14096] Sat Sep 22 05:19:49 2007 Nobuyoshi Nakada * ext/stringio/stringio.c (strio_init): separate from strio_initialize to share with strio_reopen properly. [ruby-Bugs-13919] Fri Sep 21 15:46:20 2007 Nobuyoshi Nakada * process.c (struct rb_exec_arg): proc should be a VALUE. * process.c (rb_f_exec): suppress a warning. Fri Sep 21 03:05:35 2007 Nobuyoshi Nakada * eval.c, intern.h, ext/thread/thread.c: should not free queue while any live threads are waiting. [ruby-dev:30653] Thu Sep 20 17:24:59 2007 Nobuyoshi Nakada * process.c (rb_detach_process): cast for the platforms where size of pointer differs from size of int. * process.c (rb_f_exec, rb_f_system): should not exceptions after fork. [ruby-core:08262] Fri Sep 14 00:34:25 2007 Masatoshi SEKI * lib/drb/extservm.rb (invoke_service): use Thread.exclusive instead of Thread.critical Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto * ruby.c (proc_options): -W should be allowed in RUBYOPT environment variable. [ruby-core:12118] Mon Sep 10 01:05:25 2007 Yukihiro Matsumoto * range.c (range_step): fixed integer overflow. [ruby-dev:31763] Sun Sep 9 09:14:45 2007 Tadayoshi Funaba * lib/date/format.rb (_strptime): now also attaches an element which denotes leftover substring if exists. Sat Sep 8 10:22:20 2007 Yukihiro Matsumoto * struct.c (rb_struct_s_members): should raise TypeError instead of call rb_bug(). [ruby-dev:31709] * marshal.c (r_object0): no nil check require any more. Sat Sep 8 09:38:19 2007 Tadayoshi Funaba * lib/date/format.rb (str[fp]time): now check specifications more strictly. Fri Sep 7 05:36:19 2007 Masatoshi SEKI * test/rinda/test_rinda.rb (MockClock): correct synchronous problems of the MultiThreading. [ruby-dev:31692] Wed Sep 5 22:02:27 2007 Yukihiro Matsumoto * array.c (rb_ary_subseq): need integer overflow check. [ruby-dev:31736] * array.c (rb_ary_splice): ditto. [ruby-dev:31737] * array.c (rb_ary_fill): ditto. [ruby-dev:31738] * string.c (rb_str_splice): integer overflow for length. [ruby-dev:31739] Sun Sep 2 00:48:15 2007 Tadayoshi Funaba * lib/date/format.rb (_parse): improved parsing of ordinal dates. * lib/date/format.rb (_parse): use named character classes in some regular expressions. Sat Sep 1 08:13:36 2007 Masaki Suketa * ext/win32ole/win32ole.c: add WIN32OLE#ole_activex_initialize. Thu Aug 30 13:13:13 2007 Nobuyoshi Nakada * lib/mkmf.rb (try_const, have_const): check for a const is defined. [ruby-core:04422] Thu Aug 30 13:10:57 2007 Nobuyoshi Nakada * configure.in (group_member): check if presents. * configure.in (XCFLAGS): add _GNU_SOURCE on linux. * file.c (group_member): use system routine if available. Thu Aug 30 08:24:18 2007 Tanaka Akira * ruby.h (RHASH_TBL): defined for compatibility to 1.9. * (RHASH_ITER_LEV): ditto. * (RHASH_IFNONE): ditto. * (RHASH_SIZE): ditto. * (RHASH_EMPTY_P): ditto. Wed Aug 29 13:05:59 2007 Yukihiro Matsumoto * include/ruby/defines.h (flush_register_windows): call "ta 0x03" even on Linux/Sparc. [ruby-dev:31674] Tue Aug 28 23:26:12 2007 Masaki Suketa * ext/win32ole/win32ole.c (ole_type_progid, reg_enum_key, reg_get_val, ole_wc2mb): fix the bug. Thanks, arton. [ruby-dev:31576] Mon Aug 27 19:10:50 2007 Yukihiro Matsumoto * ext/etc/etc.c (etc_getlogin): update documentation to note security issue. [ruby-Bugs-11821] Tue Aug 21 21:09:48 2007 Tanaka Akira * lib/tmpdir.rb (Dir.mktmpdir): make directory suffix specifiable. Tue Aug 21 13:57:04 2007 Nobuyoshi Nakada * hash.c (st_foreach_func, rb_foreach_func): typedefed. Mon Aug 20 17:25:33 2007 Yukihiro Matsumoto * eval.c (mnew): should preserve noex as safe_level. * eval.c (rb_call0): tighten security check condition.. Sat Aug 18 21:32:20 2007 Tanaka Akira * lib/tmpdir.rb (Dir.mktmpdir): new method. [ruby-dev:31462] Sat Aug 18 17:44:42 2007 Nobuyoshi Nakada * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc(). Sat Aug 18 15:59:52 2007 Nobuyoshi Nakada * process.c (detach_process_watcher): should not pass the pointer to an auto variable to the thread to be created. pointed and fix by KUBO Takehiro [ruby-dev:30618] Sat Aug 18 12:24:30 2007 Nobuyoshi Nakada * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep comment lines first. Thu Aug 16 20:40:50 2007 Yukihiro Matsumoto * bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound access. [ruby-dev:31404] Thu Aug 16 16:46:07 2007 Nobuyoshi Nakada * configure.in (aix): enable shared by default. * configure.in (aix): for 64bit-mode AIX. [ruby-dev:31401] + use CC for LDSHARED if non-gcc, + moved -G option from *LDFLAGS to LDSHARED, + set -brtl only in XLDFLAGS. Thu Aug 16 13:06:08 2007 Tanaka Akira * bignum.c (big_lshift): make shift offset long type. (big_rshift): ditto. (rb_big_lshift): ditto. (big_rshift): ditto. [ruby-dev:31434] Thu Aug 16 04:09:19 2007 Masatoshi SEKI * lib/rinda/tuplespace.rb (Rinda::TupleSpace#start_keeper): improve keeper thread. Wed Aug 15 13:50:10 2007 Nobuyoshi Nakada * hash.c (rb_hash_delete_key): delete the entry without calling block. * hash.c (rb_hash_shift): should consider iter_lev too. * hash.c (delete_if_i): use rb_hash_delete_key() so that the block isn't called twice. [ruby-core:11556] Sun Arg 12 03:56:30 2007 Masatoshi SEKI * lib/rinda/tuplespace.rb: fix Rinda::TupleSpace keeper thread bug. the thread is started too early. [ruby-talk:264062] * test/rinda/test_rinda.rb: ditto. Sat Aug 11 07:34:10 2007 Tadayoshi Funaba * lib/date/format.rb: reverted some wrongly erased "o" options (pointed out by nobu). Tue Aug 7 14:58:39 2007 Nobuyoshi Nakada * ext/pty/pty.c (establishShell): handshaking before close slave device. [ruby-talk:263410] * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): constified. * ext/pty/pty.c (SlaveName): removed static buffer. * ext/pty/expect_sample.rb: support for autologin. Tue Aug 7 12:45:13 2007 Nobuyoshi Nakada * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris. [ruby-Bugs-12859] Mon Aug 6 17:36:29 2007 Nobuyoshi Nakada * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax. Fri Aug 3 11:05:54 2007 Nobuyoshi Nakada * ext/extmk.rb (extmake): save all CONFIG values. * ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at distclean, respectively. * ext/extmk.rb: remove rdoc at clean, and installed list file at distclean, respectively. Fri Aug 3 07:09:05 2007 Nobuyoshi Nakada * lib/mkmf.rb: more verbose message. [ruby-Bugs-12766] * lib/mkmf.rb (have_type): suppress a warning with -Wall. * lib/mkmf.rb (find_type): new method. Thu Aug 2 13:46:39 2007 Nobuyoshi Nakada * sprintf.c (rb_f_sprintf): should not check positional number as width. [ruby-core:11838] Mon Jul 30 11:16:40 2007 Nobuyoshi Nakada * bignum.c (rb_big_aref): check for Bignum index range. [ruby-dev:31271] Sat Jul 28 09:35:41 2007 Yukihiro Matsumoto * ext/digest/lib/digest.rb (Digest::self.const_missing): avoid infinite recursive const_missing call. [ruby-talk:262193] Thu Jul 26 13:57:45 2007 Nobuyoshi Nakada * dln.c (load_1, dln_find_1): constified. * dln.c (conv_to_posix_path): removed. * ruby.c (usage): constified. * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return VALUE instead of a pointer to static buffer. * ruby.c (push_include_cygwin): fixed buffer overflow. [ruby-dev:31297] * ruby.c (ruby_init_loadpath): not convert built-in paths. Sun Jul 22 16:07:12 2007 Nobuyoshi Nakada * intern.h (is_ruby_native_thread): removed since declared as an int function in ruby.h already. Sun Jul 22 14:33:40 2007 Nobuyoshi Nakada * file.c (rb_file_s_rename): deleted code to get rid of a bug of old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * intern.h (is_ruby_native_thread): prototype. * missing/strftime.c (strftime): fix printf format and actual arguments. * ext/Win32API/Win32API.c (Win32API_initialize): ditto. * ext/tk/tcltklib.c (ip_finalize): ditto. * ext/dl/ptr.c (rb_dlptr_inspect): ditto. [ruby-dev:31268] * ext/dl/sym.c (rb_dlsym_inspect): ditto. * ext/socket/getnameinfo.c: include stdio.h always. * ext/win32ole/win32ole.c (ole_hresult2msg, folevariable_name, folevariable_ole_type, folevariable_ole_type_detail, folevariable_value, folemethod_visible): missing return value. Sat Jul 21 17:48:26 2007 Nobuyoshi Nakada * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_H only if extconf.h is created. * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_args support. * bcc32/setup.mak: check runtime version. * win32/win32.c (rb_w32_open_osfhandle): prototype has changed in bcc 5.82. * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic. * win32/resource.rb: include patchlevel number. Sat Jul 21 12:06:48 2007 Nobuyoshi Nakada * lib/mkmf.rb (init_mkmf): should remove mkmf.log too. Sat Jul 21 01:53:17 2007 Tadayoshi Funaba * lib/date/format.rb (Date._parse): completes calendar week based year. * lib/date/format.rb (Date._parse): detects year of ordinal date in extended format. Fri Jul 20 15:22:51 2007 Nobuyoshi Nakada * ext/openssl/ossl_config.c (ossl_config_set_section): do not initialize aggregations with dynamic values. [ruby-talk:259306] Thu Jul 19 19:24:14 2007 Nobuyoshi Nakada * eval.c (get_backtrace): check the result more. [ruby-dev:31261] [ruby-bugs-12398] Thu Jul 19 14:38:45 2007 Nobuyoshi Nakada * bignum.c (rb_big_lshift, rb_big_rshift): separated functions to get rid of infinite recursion. fixed calculation in edge cases. [ruby-dev:31244] * numeric.c (rb_fix_lshift, rb_fix_rshift): ditto. Wed Jul 18 16:57:41 2007 Nobuyoshi Nakada * bignum.c (rb_big_pow): refine overflow check. [ruby-dev:31242] Wed Jul 18 08:47:09 2007 Yukihiro Matsumoto * time.c (time_succ): Time#succ should return a time object in the same timezone mode to the original. [ruby-talk:260256] Tue Jul 17 00:50:53 2007 Yukihiro Matsumoto * numeric.c (fix_pow): integer power calculation: 0**n => 0, 1**n => 1, -1**n => 1 (n: even) / -1 (n: odd). * test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test suite. pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf. Mon Jul 16 23:07:51 2007 Yukihiro Matsumoto * lib/base64.rb (Base64::b64encode): should not specify /o option for regular expression. [ruby-dev:31221] Mon Jul 16 18:29:33 2007 Nobuyoshi Nakada * string.c (rb_str_rindex_m): accept string-like object convertible with #to_str method, as well as rb_str_index_m. [ruby-core:11692] Mon Jul 16 05:45:53 2007 Nobuyoshi Nakada * sprintf.c (rb_f_sprintf): more checks for format argument. [ruby-core:11569], [ruby-core:11570], [ruby-core:11571], [ruby-core:11573] Mon Jul 16 00:26:10 2007 Nobuyoshi Nakada * bignum.c (rb_big_pow): removed invariant variable. [ruby-dev:31236] Sun Jul 15 23:59:57 2007 Nobuyoshi Nakada * bignum.c (rb_big_neg): SIGNED_VALUE isn't in 1.8. Sun Jul 15 22:24:49 2007 pegacorn * ext/digest/digest.c (rb_digest_instance_update, rb_digest_instance_finish, rb_digest_instance_reset, rb_digest_instance_block_length): %s in rb_raise() expects char*. [ruby-dev:31222] * ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231] * ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231] * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise() instead of rb_raise(). [ruby-dev:31222] * ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232] * ext/syck/syck.h: include stdlib.h for malloc() and free(). [ruby-dev:31232] * ext/syck/syck.h (syck_parser_set_input_type): prototype added. [ruby-dev:31231] * win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232] * win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232] Sun Jul 15 21:07:43 2007 Nobuyoshi Nakada * bignum.c (bigtrunc): do not empty Bignum. [ruby-dev:31229] Sun Jul 15 19:05:28 2007 Nobuyoshi Nakada * bignum.c (rb_cstr_to_inum): check leading non-digits. [ruby-core:11691] Sun Jul 15 04:42:20 2007 Nobuyoshi Nakada * bignum.c (get2comp): do nothing for empty Bignum. [ruby-dev:31225] Sat Jul 14 14:04:06 2007 Nobuyoshi Nakada * enum.c (sort_by_cmp): check if reentered. [ruby-dev:24291] Sat Jul 14 12:44:14 2007 NAKAMURA, Hiroshi * test/openssl/test_pkcs7.rb: reverted the previous patch. it should be as it was to check interface compatibility. sorry for bothering with this. Sat Jul 14 12:16:17 2007 NAKAMURA, Hiroshi * test/openssl/test_pkcs7.rb: follow the library change. applied a patch from [ruby-dev:31214]. NOTE: r12496 imports the latest openssl libs from trunk to ruby_1_8 though its's not ChangeLog-ed. maintainer should aware that. Sat Jul 14 02:51:52 2007 Yukihiro Matsumoto * numeric.c (fix_pow): 0**2 should not raise floating point exception. [ruby-dev:31216] Sat Jul 14 02:25:48 2007 Yukihiro Matsumoto * numeric.c (int_pow): wrong overflow detection. [ruby-dev:31213] * numeric.c (int_pow): wrong overflow detection. [ruby-dev:31215] Fri Jul 13 16:10:00 2007 Tanaka Akira * lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to access http_proxy environment variable to avoid case insensitive environment search. Fri Jul 13 15:02:15 2007 Nobuyoshi Nakada * win32/win32.c (CreateChild): enclose command line except for command.com which can not handle quotes. [ruby-talk:258939] Fri Jul 13 10:10:46 2007 Nobuyoshi Nakada * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expand ::CONFIG which is an alias of MAKEFILE_CONFIG. Thu Jul 12 17:03:15 2007 Nobuyoshi Nakada * struct.c (rb_struct_init_copy): disallow changing the size. [ruby-dev:31168] Wed Jul 11 23:38:14 2007 NAKAMURA, Hiroshi * random.c: documentation fix. srand(0) initializes PRNG with '0', not with random_seed. Tue Jul 10 14:50:01 2007 Nobuyoshi Nakada * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir. Fri Jul 6 15:22:58 2007 Nobuyoshi Nakada * eval.c (rb_interrupt): suppress a gcc's officious warning. Thu Jul 5 16:44:28 2007 NAKAMURA Usaku * numeric.c (int_pow): fix previous nubu's commit. * test/ruby/test_fixnum.rb: new test. Thu Jul 5 15:56:06 2007 Nobuyoshi Nakada * numeric.c (int_pow): even number multiplication never be negative. Mon Jul 2 14:34:43 2007 Nobuyoshi Nakada * sprintf.c (rb_f_sprintf): sign bit extension should not be done if FPLUS flag is specified. [ruby-list:39224] Sat Jun 30 16:05:41 2007 Yukihiro Matsumoto * array.c (rb_ary_initialize): should call rb_ary_modify() first. [ruby-core:11562] Sat Jun 30 00:17:00 2007 Nobuyoshi Nakada * parse.y (yylex): return non-valid token for an invalid instance/class variable name. a patch from Yusuke ENDOH . [ruby-dev:31095] Fri Jun 29 11:23:09 2007 Nobuyoshi Nakada * parse.y (dsym): return non-null NODE even if yyerror(). based on a patch from Yusuke ENDOH . [ruby-dev:31085] Tue Jun 26 16:35:21 2007 Nobuyoshi Nakada * process.c (ruby_setreuid, ruby_setregid): rename to get rid of name clash. * process.c (proc_exec_v, rb_proc_exec): preserve errno. Sat Jun 23 00:37:46 2007 Yukihiro Matsumoto * hash.c (rb_hash_select): remove unnecessary varargs for rb_hash_select. a patch from Daniel Berger . [ruby-core:11527] * hash.c: ditto. Mon Jun 18 08:47:54 2007 Technorama Ltd. * ext/openssl/{extconf.rb,ossl_ssl_session.c}: Fix ruby-Bugs-11513. * ext/openssl/ossl_pkey_ec.c New methods EC::Point.[eql,make_affine!,invert!,on_curve?,infinity?] By default output the same key form as the openssl command. * ext/openssl/ossl_rand.c New method Random.status? Mon Jun 18 13:54:36 2007 Nobuyoshi Nakada * eval.c (ruby_cleanup): return EXIT_FAILURE if any exceptions occured in at_exit blocks. [ruby-core:11263] Mon Jun 18 01:14:10 2007 Nobuyoshi Nakada * variable.c (rb_path2class): get rid of dangling pointer caused by optimized out value. * variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable, rb_generic_ivar_table, generic_ivar_get, generic_ivar_set, generic_ivar_defined, generic_ivar_remove, rb_mark_generic_ivar, rb_free_generic_ivar, rb_copy_generic_ivar, rb_obj_instance_variables): suppress warnings. Fri Jun 15 22:33:29 2007 Nobuyoshi Nakada * common.mk (realclean): separate local and ext. * ext/extmk.rb: not remove unrelated directories. Fri Jun 15 17:01:20 2007 NAKAMURA Usaku * ext/dl/lib/dl/win32.rb: seems that dl doesn't accept void argument. fixed [ruby-bugs:PR#5489]. Thu Jun 14 17:09:48 2007 Nobuyoshi Nakada * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more extensions. [ruby-dev:30972] Wed Jun 13 06:05:12 2007 Nobuyoshi Nakada * configure.in (darwin): prohibit loading extension libraries to miniruby. Wed Jun 13 05:47:58 2007 Nobuyoshi Nakada * eval.c (rb_kill_thread): renamed in order to get rid of conflict with a BeOS system function. [ruby-core:10830] Tue Jun 12 14:53:51 2007 Nobuyoshi Nakada * lib/mkmf.rb (Logging.quiet, Logging.message): added quiet flag and use it. [ruby-core:10909] * lib/mkmf.rb (find_header): use header names in the message. Sun Jun 10 13:47:36 2007 Nobuyoshi Nakada * test/ruby/test_beginendblock.rb (test_should_propagate_signaled): get rid of invoking shell. [ruby-dev:30942] Thu Jun 7 19:02:48 2007 Tanaka Akira * lib/pp.rb: call original "method" method instead of redefined one. Mon Jun 4 11:11:12 2007 Shugo Maeda * lib/net/imap.rb (ResponseParser#next_token): fixed error message. (backported from HEAD) * lib/net/imap.rb (ResponseParser#parse_error): fixed the condition not to refer @token.symbol unexpectedly. Thanks, Dick Monahan. (backported from HEAD) Thu May 31 17:27:53 2007 Nobuyoshi Nakada * lib/benchmark.rb (Benchmark::Job::item): avoid modifying the argument unintentionally. [ruby-talk:253676] Thu May 31 02:12:32 2007 Masatoshi SEKI * lib/rinda/tuplespace.rb (Rinda::TupleBag): create index on tuple bag by first column. Wed May 30 13:27:40 2007 Shugo Maeda * lib/net/ftp.rb (Net::FTP#transfercmd): skip 2XX responses for some FTP servers. (backported from HEAD) Wed May 30 05:17:55 2007 Nobuyoshi Nakada * eval.c (rb_eval): get rid of SEGV at ZSUPER in a block [ruby-dev:30836] Wed May 30 04:29:43 2007 Nobuyoshi Nakada * eval.c (thread_timer): timer thread should not receive any signals. submitted by Sylvain Joyeux. [ruby-core:08546] Wed May 30 04:18:37 2007 Nobuyoshi Nakada * eval.c (rb_eval_cmd): just return if no exceptions. [ruby-dev:30820] Tue May 29 11:01:06 2007 Nobuyoshi Nakada * win32/win32.c (rb_w32_opendir): store attributes of the second entries or later too. * win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magic numbers. Mon May 28 02:54:05 2007 Masatoshi SEKI * lib/rinda/tuplespace.rb (Rinda::TupleBag#delete): use rindex and delete_at instead of delete for little improvement. Sat May 26 00:05:22 2007 Nobuyoshi Nakada * test/ruby/test_beginendblock.rb (test_should_propagate_signaled): skip tests for exitstatus and termsig on the platforms where signals not supported. Wed May 23 06:51:46 2007 URABE Shyouhei * lib/cgi.rb (CGI#[]): get rid of exceptions being raised. [ruby-dev:30740], Thanks Kentaro KAWAMOTO. Wed May 23 05:49:49 2007 Nobuyoshi Nakada * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default load path to get rid of load pre-installed extensions/libraries. [ruby-core:11017] Sat May 19 10:29:18 2007 Tadayoshi Funaba * lib/date/format.rb (Date._parse): detects some OFX dates (Of course not fully). Fri May 18 23:07:33 2007 Yukihiro Matsumoto * array.c (rb_ary_first): call rb_ary_subseq() instead of pushing values by itself. [ruby-talk:252062] * array.c (rb_ary_first): add negative length check. Fri May 18 17:10:31 2007 Nobuyoshi Nakada * win32/win32.c (move_to_next_entry): loc also must move forward. [ruby-talk:251987] Fri May 18 03:02:40 2007 Nobuyoshi Nakada * win32/mkexports.rb: preserve prefixed underscores for WINAPI symbols. * wince/mkconfig_wce.rb, wince/mkexports.rb: obsolete. Thu May 17 17:03:11 2007 Nobuyoshi Nakada * misc/ruby-style.el (ruby-style-label-indent): for yacc rules. Tue May 15 14:54:07 2007 NAKAMURA Usaku * win32/win32.c (init_stdhandle): stderr should be without buffering, but mswin32 use buffering when stderr is not connected to tty. Mon May 14 13:28:03 2007 Nobuyoshi Nakada * ext/thread/thread.c (wait_list): supress a warning. Thu May 10 15:21:51 2007 NAKAMURA Usaku * ext/iconv/iconv.c (iconv_s_conv): rdoc fix. Thu May 10 10:14:14 2007 Nobuyoshi Nakada * eval.c (rb_thread_priority): rdoc fix; the initial value is inherited from the creating thread. [ruby-core:10607] Wed May 9 12:28:57 2007 Nobuyoshi Nakada * bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv as aliases of quo. [ruby-dev:30771] Wed May 9 11:55:15 2007 Nobuyoshi Nakada * bignum.c (rb_big_quo): now calculate in integer. [ruby-dev:30753] Wed May 9 11:51:06 2007 Nobuyoshi Nakada * bignum.c (rb_big_pow): reduce multiplying for even number. * bignum.c (rb_big_pow): truncate all zero BDIGITs. [ruby-dev:30733] * bignum.c (rb_big_pow): improvement by calculating from MSB and using factorization. * numeric.c (int_pow): calculate power in Fixnum as possible. [ruby-dev:30726] Tue May 8 23:42:51 2007 Tadayoshi Funaba * lib/date/format.rb (Date._parse): revised treatment of hyphened/separatorless dates. * lib/date/format.rb: some trivial adjustments. Tue May 8 20:25:05 2007 Tadayoshi Funaba * lib/date/format.rb: reverted. Sat May 5 16:26:33 2007 Nobuyoshi Nakada * lib/date/format.rb (Format::Bag#method_missing): get rid of modifying orginal argument. [ruby-core:11090] Mon Apr 30 01:17:51 2007 Masatoshi SEKI * lib/rinda/tuplespace.rb (TupleSpace#create_entry, TupleBag#push, delete): extract method, and rename parameter. Fri Apr 27 02:00:17 2007 Ryan Davis * signal.c: Fixed backwards compatibility for 'raise Interrupt'. * lib/yaml/tag.rb: Running rdoc over the 1.8.6 tree skips Module. Patch from James Britt Thu Apr 26 13:54:51 2007 Nobuyoshi Nakada * misc/ruby-style.el: new file. C/C++ style for ruby source code. Wed Apr 25 19:49:16 2007 Tanaka Akira * ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA to align file descriptor appropriately. Tue Apr 24 09:33:57 2007 Nobuyoshi Nakada * dir.c (do_stat, do_lstat, do_opendir): should not warn ENOTDIR. [ruby-talk:248288] Mon Apr 23 22:14:42 2007 Nobuyoshi Nakada * ext/extmk.rb ($ruby): add extout directory to include path. [ruby-core:11003] * lib/mkmf.rb (libpathflag): not to append RPATHFLAG to current directory. * lib/mkmf.rb (init_mkmf): add current directory to default library path with highest priority. [ruby-core:10960] * lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS. Fri Apr 20 16:05:22 2007 Nobuyoshi Nakada * configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted, it is done by libpathflag in mkmf.rb. Fri Apr 20 12:27:04 2007 Nobuyoshi Nakada * lib/optparse.rb: fix to override conv proc. Fri Apr 20 12:17:05 2007 Nobuyoshi Nakada * eval.c (ruby_cleanup): inversed the order of errinfos. Thu Apr 19 14:53:32 2007 Nobuyoshi Nakada * lib/monitor.rb (ConditionVariable#wait, mon_enter, mon_exit_for_cond): ensures Thread.critical to be false. [ruby-talk:248300] Wed Apr 18 10:41:21 2007 Nobuyoshi Nakada * util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272] Wed Apr 18 02:30:24 2007 Nobuyoshi Nakada * configure.in (LDFLAGS): prepend -L. instead appending it to XLDFLAGS. [ruby-core:10933] * configure.in (Makefile): remove $U for automake from MISSING. [ruby-talk:248171] Tue Apr 17 16:46:46 2007 Yukihiro Matsumoto * eval.c (rb_yield_0): should not clear state on TAG_NEXT when it's invoked from within lambda body. [ruby-talk:248136] * eval.c (proc_invoke): handle TAG_NEXT which would be caused by next in the lambda body as well. Mon Apr 16 22:56:01 2007 Yukihiro Matsumoto * ext/pty/expect_sample.rb: avoid symbolic link representation for expect. a patch from Kazuhiro NISHIYAMA . [ruby-dev:30714] Mon Apr 16 22:51:11 2007 Yukihiro Matsumoto * sample: replace TRUE, FALSE with true, false respectively. a patch from Kazuhiro NISHIYAMA . [ruby-dev:30713] Mon Apr 16 17:08:02 2007 Nobuyoshi Nakada * lib/optparse.rb (make_switch): do not clobber converter if pattern has no convert method. reported by sheepman in [ruby-dev:30709]. Mon Apr 16 16:49:32 2007 Nobuyoshi Nakada * ext/stringio/stringio.c (strio_seek): consistent behavior with IO#seek. patch by sheepman in [ruby-dev:30710]. Mon Apr 16 16:34:08 2007 Yukihiro Matsumoto * parse.y (parser_yylex): should set command_start after block starting "do"s and braces. [ruby-core:10916] Sun Apr 15 09:19:57 2007 Tadayoshi Funaba * lib/date/format.rb: added some zone names. * lib/date/format.rb (_parse): now interprets doted numerical dates as a big endian (except dd.mm.yyyy). Tue Apr 10 17:37:36 2007 NAKAMURA Usaku * win32/win32.c (rb_w32_fclose, rb_w32_close): need to save errno before calling original fclose()/close(). Mon Apr 9 09:30:44 2007 Shugo Maeda * lib/net/imap.rb (disconnect): call shutdown for SSLSocket. Thanks, Technorama Ltd. Thu Apr 5 00:42:48 2007 Nobuyoshi Nakada * error.c (rb_notimplement), io.c (pipe_open): removed definite articles and UNIX manual section from messages. [ruby-dev:30690] Wed Apr 4 17:09:17 2007 Nobuyoshi Nakada * io.c (pipe_open): refined the message of NotImplementedError. [ruby-dev:30685] Wed Apr 4 10:18:04 2007 Nobuyoshi Nakada * io.c (pipe_open): raise NotImplementedError for command "-" on platforms where fork(2) is not available. [ruby-dev:30681] Tue Apr 3 15:45:41 2007 NAKAMURA Usaku * ext/socket/socket.c (s_recv, s_recvfrom): some systems (such as windows) doesn't set fromlen if the socket is connection-oriented. reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061] Sat Mar 24 23:40:29 2007 Nobuyoshi Nakada * node.h (struct rb_thread.locals): explicit as struct. [ruby-core:10585] * eval.c, node.h (enum rb_thread_status, struct rb_thread, rb_curr_thread, rb_main_thread): prefixed. [ruby-core:10586] * file.c (chompdirsep): made an unprefixed name static. * io.c (io_fread): ditto. Sat Mar 24 01:54:03 2007 Nobuyoshi Nakada * eval.c (ruby_cleanup): exit by SystemExit and SignalException in END block. [ruby-core:10609] * test/ruby/test_beginendblock.rb (test_should_propagate_exit_code): test for exit in END block. [ruby-core:10760] * test/ruby/test_beginendblock.rb (test_should_propagate_signaled): test for signal in END block. Thu Mar 22 23:13:17 2007 Nobuyoshi Nakada * eval.c (rb_provided): check for extension library if SOEXT is explicitly given. [ruby-dev:30657] Thu Mar 22 10:29:25 2007 NAKAMURA Usaku * test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s. Wed Mar 21 17:04:30 2007 Nobuyoshi Nakada * bignum.c (rb_big2str0): round up for the most significant digit. [ruby-core:10686] Wed Mar 21 07:21:24 2007 Akinori MUSHA * ext/thread/thread.c (remove_one): Preserve List invariants; submitted by: MenTaLguY in [ruby-core:10598] and [ruby-bugs:PR#9388]. Tue Mar 20 22:54:50 2007 Yukihiro Matsumoto * marshal.c (w_extended): erroneous check condition when dump method is defined. [ruby-core:10646] Tue Mar 20 15:37:24 2007 URABE Shyouhei * distruby.rb: Add zip generation. Tue Mar 20 11:28:41 2007 Akinori MUSHA * lib/matrix.rb (Matrix::inverse_from): adding partial pivoting to the Gauss-Jordan algorithm, making it stable. a patch from Peter Vanbroekhoven. [ruby-core:10641] Mon Mar 19 11:39:29 2007 Minero Aoki * lib/net/protocol.rb (rbuf_read): extend buffer size for speed. Sun Mar 18 04:23:52 2007 Akinori MUSHA * NEWS: Add a note about the new `date' library defining Time#to_date and Time#to_datetime private methods. * NEWS: Inform that the old `thread' library is considered to be stable. * NEWS: Sort library entries in alphabetical order. Fri Mar 16 21:48:11 2007 Akinori MUSHA * ext/dl/dl.c (rb_ary2cary): Fix a bug in type validation; submitted by sheepman in [ruby-dev:30554]. Fri Mar 16 18:28:06 2007 Akinori MUSHA * ext/etc/etc.c (etc_getgrgid): Fix a bug in Etc::getgrgid() always returning the (real) group entry of the running process; reported by: UEDA Hiroyuki in [ruby-dev:30586]. Fri Mar 16 16:33:58 2007 Akinori MUSHA * ext/thread/thread.c (unlock_mutex_inner): Make sure that the given mutex is actually owned by the caller; submitted by: Sylvain Joyeux in [ruby-core:10598]. Fri Mar 16 16:21:35 2007 Akinori MUSHA * ext/thread/thread.c (wait_condvar, lock_mutex): Fix a problem in ConditionVariable#wait that occurs when two threads that are trying to access the condition variable are also in concurrence for the given mutex; submitted by: Sylvain Joyeux and MenTaLguY in [ruby-core:10598]. Fri Mar 16 16:17:27 2007 Akinori MUSHA * test/thread/test_thread.rb: Add a test script for the `thread' library. This should result in failure as of now with ext/thread; submitted by: Sylvain Joyeux in [ruby-core:10598]. Wed Mar 14 12:30:00 2007 Shigeo Kobayashi * ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now treated as ("-0.31") not as ("0.31"). Tue Mar 13 09:25:10 2007 Nobuyoshi Nakada * common.mk (clear-installed-list): separated from install-prereq. Tue Mar 13 06:38:43 2007 Akinori MUSHA * NEWS: Reword and improve entries. Tue Mar 13 06:03:46 2007 Akinori MUSHA * stable version 1.8.6 released from the ruby_1_8_6 branch. Tue Mar 13 03:24:07 2007 Nobuyoshi Nakada * runruby.rb: added --pure (turned on by default) and --debugger options. Tue Mar 13 02:50:28 2007 Akinori MUSHA * lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nph assumption any more; submitted by MIYASAKA Masaru in [ruby-dev:30537]. Mon Mar 12 11:07:44 2007 Akinori MUSHA * ext/openssl/ossl_asn1.c (Init_ossl_asn1): Let rdoc know about externally defined modules; submitted by Technorama Ltd. in [ruby-bugs:PR#4704]. * ext/openssl/ossl_bn.c (Init_ossl_bn): Ditto. * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Ditto. * ext/openssl/ossl_digest.c (Init_ossl_digest): Ditto. * ext/openssl/ossl_hmac.c (Init_ossl_hmac): Ditto. * ext/openssl/ossl_pkey.c (Init_ossl_pkey): Ditto. * ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): Ditto. * ext/openssl/ossl_pkey_dsa.c (Init_ossl_dsa): Ditto. * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): Ditto. * ext/openssl/ossl_rand.c (Init_ossl_rand): Ditto. * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Ditto. Mon Mar 12 01:05:17 2007 Akinori MUSHA * ext/dl/sym.c (rb_dlsym_inspect): Use "0x%x" rather for pointers. This might not be very right but it is commonly used in other parts of the code; submitted by sheepman in [ruby-dev:30532]. * ext/dl/ptr.c (rb_dlptr_inspect): Ditto. Mon Mar 12 00:59:19 2007 Akinori MUSHA * ext/dl/lib/dl/import.rb (DL::Importable::Internal::import, DL::Importable::Internal::callback): Avoid race condition for an instance variable; submitted by sheepman in [ruby-dev:30530]. Sun Mar 11 18:57:50 2007 Akinori MUSHA * misc/README: Add a note about ruby-electric.el. * misc/ruby-mode.el (ruby-non-block-do-re): Fix ruby-non-block-do-re. [ruby-core:03719] * misc/inf-ruby.el: Synchronize the comment section with trunk. * misc/README, misc/rdebug.el: Add rdebug.el, Emacs ruby-debug interface based on rubydb3x.el; submitted by Martin Nordholts in [ruby-bugs:PR#9023]. Sun Mar 11 17:45:51 2007 Akinori MUSHA * ext/dl/mkcallback.rb (mkfunc): Make sure that a callback function is found in the function table before trying to call it; submitted by sheepman in [ruby-dev:30524]. Sun Mar 11 12:09:37 2007 Nobuyoshi Nakada * eval.c (error_handle): no message when exiting by signal. * eval.c (ruby_cleanup): re-send signal. [ruby-dev:30516] * eval.c (rb_thread_interrupt): instantiate SignalException. * eval.c (rb_thread_signal_raise): now takes signal number instead of signal name. * intern.h (rb_thread_signal_raise, ruby_default_signal): prototypes. * signal.c (esignal_init): takes a signal number and an optional signal name. * signal.c (interrupt_init): pass SIGINT always. * signal.c (ruby_default_signal): invoke system default signal handler. * signal.c (rb_signal_exec, trap): handle SIGTERM. [ruby-dev:30505] Tue Mar 6 19:08:46 2007 Akinori MUSHA * ext/digest/lib/md5.rb (MD5::new, MD5::md5): Do not modify Digest::MD5. * ext/digest/lib/sha1.rb (SHA1::new, SHA1::sha1): Ditto. Tue Mar 6 18:58:37 2007 Keiju Ishitsuka * lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477]. Tue Mar 6 18:44:26 2007 Akinori MUSHA * ext/digest/lib/md5.rb (MD5::new, MD5::md5): Catch up with Digest's API changes; noted by: Kazuhiro Yoshida in [ruby-dev:30500]. * ext/digest/lib/sha1.rb (SHA1::new, SHA1::sha1): Ditto. Tue Mar 6 18:24:19 2007 Akinori MUSHA * time.c (time_to_s): Back out the format changes; discussed in [ruby-dev:30495]. Tue Mar 6 11:53:25 2007 Hidetoshi NAGAI * ext/tk/sample/irbtkw.rbw: fails to exit process. Mon Mar 5 20:14:49 2007 Akinori MUSHA * time.c (time_to_s): Correct the wrong format which did not really conform to RFC 2822; pointed out by: OHARA Shigeki in [ruby-dev:30487]. Sun Mar 4 23:38:07 2007 Nobuyoshi Nakada * file.c (rb_stat_s_utime): fixed a commit miss for the platforms where utimes() does not exist. * lib/fileutils.rb (touch): ditto. Sun Mar 4 14:46:56 2007 WATANABE Hirofumi * util.c (push_element): should return a int value. Sun Mar 4 01:05:57 2007 Akinori MUSHA * lib/set.rb (Set#^, Set#&): Correct documentation. Those methods return sets, not arrays; noted by Oliver Frank Wittich . Sat Mar 3 23:01:07 2007 Minero Aoki * lib/fileutils.rb (mv): could not move a directory between different filesystems. [ruby-dev:30411] Sat Mar 3 22:57:11 2007 Minero Aoki * lib/fileutils.rb (touch): last commit causes error if :mtime option was not given. Sat Mar 3 22:37:02 2007 Nobuyoshi Nakada * file.c (rb_file_s_utime): allow nil to set the current time. * lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate options. fixed: [ruby-talk:219037] Sat Mar 3 21:17:35 2007 Akinori MUSHA * eval.c (stack_check): Unset inline to fix build with GCC 3.4.6; submitted by: NISHIMATSU Takeshi in [ruby-list:43218]. cf. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24556 Sat Mar 3 19:05:31 2007 Akinori MUSHA * ext/thread/thread.c (push_list): Use ALLOC(). * ext/thread/thread.c (rb_mutex_alloc): Ditto. * ext/thread/thread.c (rb_condvar_alloc): Ditto. Sat Mar 3 18:53:11 2007 Akinori MUSHA * NEWS: Add a note for String#intern. Sat Mar 3 16:23:13 2007 Akinori MUSHA * env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a local_tbl region from getting freed many times; submitted by Chikanaga Tomoyuki in [ruby-dev:30460]. * eval.c (proc_invoke): Ditto. * gc.c (obj_free): Ditto. * parse.y (top_local_setup_gen): Ditto. Sat Mar 3 16:07:02 2007 Akinori MUSHA * object.c (rb_obj_ivar_set): RDoc updated according to a suggestion from Brian Candler . [ruby-core:10469] Thu Mar 1 21:38:07 2007 Nobuyoshi Nakada * parse.y (stmt, arg): should not omit lhs of OP_ASGN1 even if empty. [ruby-dev:30455] Thu Mar 1 08:55:38 2007 Nobuyoshi Nakada * eval.c (rb_feature_p): check loading_tbl if the given ext is empty. [ruby-dev:30452] * eval.c (rb_feature_p): fix possible buffer overrun. Thu Mar 1 03:30:21 2007 Akinori MUSHA * ext/digest/digest.c (get_digest_base_metadata): Allow inheriting Digest::Base subclasses, which was unintentionally made impossible while restructuring Digest classes. Thu Mar 1 02:05:17 2007 Nobuyoshi Nakada * mkconfig.rb (patchlevel): read from version.h. Thu Mar 1 00:09:39 2007 Nobuyoshi Nakada * eval.c (rb_provided): return true only for features loaded from .rb files, and not search actual library type. [ruby-dev:30414] Wed Feb 28 21:15:00 2007 WATANABE Hirofumi * configure.in (ac_cv_func_fcntl): fcntl support for MinGW. * missing/flock.c: workaround for MinGW. Wed Feb 28 20:51:32 2007 URABE Shyouhei * pack.c (pack_unpack): properly ignore non-base64 octets such as UTF-8 encoded BOMs; submitted by SOUMA Yutaka to fix [ruby-core:10437] Wed Feb 28 18:59:57 2007 Akinori MUSHA * NEWS: Add NEWS, a document file to keep user visible feature changes between releases. Wed Feb 28 18:35:50 2007 NAKAMURA Usaku * ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h. they are already checked at configure. reported by KOBAYASHI Yasuhiro [ruby-list:43225] Wed Feb 28 18:34:48 2007 NAKAMURA Usaku * lib/mkmf.rb ($DEFLIBPATH): default library paths ($(topdir), etc) should be the first elements of library paths list. reported by KOBAYASHI Yasuhiro [ruby-list:43225] Wed Feb 28 18:31:32 2007 Akinori MUSHA * doc/NEWS-1.8.0: Rename NEWS to NEWS-1.8.0. This is way too old NEWS. Wed Feb 28 01:22:58 2007 NAKAMURA Usaku * test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use target_os instead. reported by KOBAYASHI Yasuhiro [ruby-list:43225] Wed Feb 28 00:08:11 2007 URABE Shyouhei * mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL'] * common.mk: new target dist * distruby.rb: new file Tue Feb 27 22:18:45 2007 WATANABE Hirofumi * configure.in (--enable-auto-image-base): avoid the neccessity to rebase the shared libs as much as possible; submitted by Corinna Vinschen in [ruby-talk:240964]. Tue Feb 27 21:36:47 2007 WATANABE Hirofumi * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi(). Tue Feb 27 21:33:04 2007 WATANABE Hirofumi * configure.in (ac_cv_func_setrlimit): workaround for djgpp. Tue Feb 27 19:38:52 2007 Akinori MUSHA * lib/base64.rb (Base64::b64encode): Fix documentation; submitted by David Symonds in [ruby-core:10432]. Tue Feb 27 19:36:57 2007 Akinori MUSHA * regex.c (calculate_must_string, slow_search, re_search): Silence warnings regarding char * vs. unsigned char * mismatch; submitted by Lyle Johnson in [ruby-core:10416]. * ext/bigdecimal/bigdecimal.c (BigDecimal_load): Ditto. * ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto. * ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto. * ext/digest/digest.c (rb_digest_base_finish, rb_digest_base_update): Ditto. * ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1, rb_nkf_guess2): Ditto. Tue Feb 27 03:40:09 2007 Akinori MUSHA * ext/thread/thread.c (wait_list_cleanup, rb_mutex_try_lock): Eliminate rb_thread_critical switching where unnecessary; implied by shugo in [ruby-dev:30412]. * ext/thread/thread.c (set_critical): Merge in thread_exclusive_ensure(). * ext/thread/thread.c: Consistently use 0 and 1 for rb_thread_critical values. Mon Feb 26 15:18:23 2007 Akinori MUSHA * ext/thread/thread.c: Use xmalloc()/xfree() instead of malloc()/free(); pointed out by shugo in [ruby-dev:30412]. Sun Feb 25 23:02:55 2007 Akinori MUSHA * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize): Initialize @workdir properly to silence a warning under -w. Submitted by in [ruby-dev:30400]. Sun Feb 25 02:47:43 2007 Akinori MUSHA * defines.h: Pull the RUBY_MBCHAR_MAXSIZE definition from trunk, which is necessary for dir.c to compile on djgpp and emx. Sat Feb 24 10:42:01 2007 Minero Aoki * ext/racc/cparse/cparse.c (cparse_params_mark): remove useless rb_gc_mark. Thanks Tomoyuki Chikanaga. [ruby-dev:30405] Fri Feb 23 15:10:46 2007 NAKAMURA Usaku * win32/win32.c (set_pioinfo_extra): new function for VC++8 SP1 workaround. [ruby-core:10259] * win32/win32.c (NtInitialize): call above function. Fri Feb 23 14:19:40 2007 NAKAMURA Usaku * signal.c (sighandler): need to tell to be interrupted to main context when handler is installed. * win32/win32.[ch] (rb_win32_interrupted): new function to listen interrupt. Fri Feb 23 13:02:17 2007 Akinori MUSHA * numeric.c (fix_cmp, fix_equal): Remove FIX2LONG() to optimize. suggested in http://t-a-w.blogspot.com/2007/02/making-ruby-faster.html. [ruby-talk:240223] Fri Feb 23 12:43:17 2007 James Edward Gray II * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the Content-Length parameter optional for responses in xmlrpc/client.rb; suggested by Daniel Berger and approved by the maintainer. * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime support to xmlrpc; approved by the maintainer. Mon Feb 19 18:22:52 2007 Nobuyoshi Nakada * configure.in, defines.h, eval.c (rb_feature_p, rb_provided, load_wait, search_required, rb_require_safe), ext/extmk.rb: Fix a bug where a statically linked extension cannot be autoloaded. [ruby-dev:30023] / [ruby-dev:30239] Mon Feb 19 17:14:28 2007 Yukihiro Matsumoto * ext/socket/socket.c (unix_peeraddr): wrong syscall name in error message for #peeraddr. a patch from Sam Roberts . [ruby-core:10366] Sun Feb 18 19:35:21 2007 Tadayoshi Funaba * lib/date/format.rb: updated based on date2 4.0.3. Fri Feb 16 11:18:21 2007 Eric Hodel * lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse from [ruby-core:10135] * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite. Thu Feb 15 20:26:30 2007 Akinori MUSHA * lib/uri/ftp.rb: Revert the previous change pending discussion. Thu Feb 15 18:08:17 2007 Akinori MUSHA * dir.c (glob_helper): Fix the function declaration. Thu Feb 15 17:13:32 2007 Akinori MUSHA * version.h: Welcome to the post-1.8.6 world. Radical changes are inhibited in the ruby_1_8 branch until the 1.8.6 final release goes out of the door. Thu Feb 15 16:44:14 2007 Akinori MUSHA * lib/uri/generic.rb (URI::Generic::userinfo): Considering how `scheme://user:@...', `scheme://:password@...' and `scheme://:@...' are parsed, an empty user name or password should be allowed and represented as it is. Thu Feb 15 11:46:05 2007 KIMURA Koichi * dir.c, win32/win32.c, win32/dir.h, ruby.h, intern.h: Bring encoding aware globbing support in from trunk. Dir.[] and Dir.glob() can now take many patterns in an array. Minor fixes will follow. Thu Feb 15 11:00:26 2007 Akinori MUSHA * lib/uri/generic.rb (URI::Generic::userinfo): should support empty password. [ruby-core:10290] * lib/uri/generic.rb (URI::Generic::set_password): password can be cleared by nil. [ruby-core:10290] * lib/uri/common.rb (escape): regard second string argument as a character set properly. [ruby-dev:27692] * lib/uri/ftp.rb: Attempt to conform to RFC 1738 with regard to relative/absolute paths. * lib/uri: Lovely RDOC patches from mathew (metaATpoboxDOTcom). Thu Feb 15 10:57:38 2007 Tietew > * lib/cgi.rb (CGI::unescapeHTML): invalid decoding for single unescaped ampersand. a patch from Tietew in [ruby-dev:30292]. fixed: [ruby-dev:30289] Thu Feb 15 10:48:40 2007 MenTaLguY * ext/thread/thread.c: Handle interrupted waits correctly. [ruby-bugs:PR#8663] Wed Feb 14 19:22:15 2007 Akinori MUSHA * ext/digest/lib/digest.rb (Digest::self.const_missing): Drop autoloads for sha2 classes in favor of handling in const_missing(), to work around a problem exposed on OS X. Tue Feb 13 02:21:12 2007 Sam Roberts * io.c (rb_f_syscall): Fix buffer overflow with syscall arguments. [ruby-bugs:PR#8541] Sun Feb 11 07:46:45 2007 Akinori MUSHA * lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parse a quoted-string in a Content-Disposition value. Sun Feb 11 06:27:54 2007 Akinori MUSHA * configure.in, ext/thread/extconf.rb, lib/thread.rb: Add a configure option `--disable-fastthread', to choose the original, pure ruby version of the "thread" library instead of the new, much faster implementation in ext/thread. Sun Feb 11 06:22:20 2007 Akinori MUSHA * ext/Setup: Add thread except for platforms without threads support. Sun Feb 11 06:15:16 2007 Akinori MUSHA * ext/thread/lib/thread.rb: Add a replacement of thread.rb that loads this extension. Sun Feb 11 05:39:47 2007 Akinori MUSHA * lib/thread.rb: Remove an ineffective part of the code. Sun Feb 11 05:32:54 2007 Akinori MUSHA * ext/thread/thread.c (rb_thread_exclusive): Implement Thread.exclusive. Sun Feb 11 05:26:51 2007 Akinori MUSHA * ext/thread/thread.c: Get rid of use of a dummy function. Sun Feb 11 01:45:31 2007 Hidetoshi NAGAI * ext/thread/thread.c (Init_thread): Define missing aliases: Queue#enq and SizedQueue#enq. Sat Feb 10 09:27:35 2007 Masaki Suketa * ext/win32ole/win32ole.c (ole_variant2val): fix compile error on VC++. Sat Feb 10 07:41:52 2007 Masaki Suketa * ext/win32ole/win32ole.c (ole_variant2val): fix the bug when SAFEARRAY pointer is NULL. Sat Feb 10 00:13:11 2007 Hidetoshi NAGAI * ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd, __conv_keyonly_opts). Fri Feb 9 20:44:53 2007 Akinori MUSHA * ext/thread: Make style fixes (mostly de-K&R'ism) to match the rest of the source code. * ext/thread: Make USE_MEM_POOLS an extconf option. Fri Feb 9 20:43:01 2007 Akinori MUSHA * ext/thread: Import the "fastthread" implementation by MenTaLguY in the original form. This module is not hooked into the build yet since it needs some style fixes and adjustments. Fri Feb 9 15:46:09 2007 Akinori MUSHA * ext/bigdecimal: Synchronize with trunk. Better function prototypes, removal of a useless method `!=', and document updates. Tue Feb 06 22:06:45 2007 NARUSE, Yui * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}: imported nkf 2007-01-28. * Fixed: can't decode MIME encode JIS string. * Fixed: Fullwitdh-halfwidth conversion. * Support DoCoMo's and Softbank's EMOJI * Support CP932, CP5022x, eucJP-ms UDC * Support UTF-32 encoding * Support beyond BMP [ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144] Wed Jan 31 14:52:09 2007 Yukihiro Matsumoto * eval.c (rb_iterate): need to PUSH_ITER in proper order. [ruby-core:10125] * test/ruby/test_iterator.rb (TestIterator::test_block_given_within_iterator): add new test. [ruby-core:10125] Tue Jan 30 14:58:51 2007 NAKAMURA Usaku * string.c (rb_str_sub_bang): calling rb_str_modify() should be just before actually modifying the string. fixed: [ruby-dev:30211] (originally reported by zunda) Tue Jan 30 12:05:35 2007 Nobuyoshi Nakada * mkconfig.rb: autoconf 2.61 support. [ruby-core:10016] Sat Jan 27 15:20:11 2007 Yukihiro Matsumoto * parse.y (dyna_var_lookup): should not alter dvar->val not to destroy living value. [ruby-core:10076] * parse.y (dyna_init): ditto. Fri Jan 26 12:03:39 2007 Hidetoshi NAGAI * ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd, __conv_keyonly_optkeys): make them private [ruby-dev:30074]. * ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073]. * ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument. * ext/tk/lib/tk/canvas.rb: clarify the including module name [ruby-dev:30080]. * ext/tk/lib/tk/scrollable.rb: change primary name of modules [ruby-dev:30080]. Wed Jan 24 18:05:39 2007 Yukihiro Matsumoto * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix regexp font-lock bug. [ruby-talk:235758] Tue Jan 23 11:02:33 2007 Yukihiro Matsumoto * lib/webrick/httprequest.rb (WEBrick::HTTPRequest::read_line): Tue Jan 23 18:26:12 2007 Yukihiro Matsumoto * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead of ===. [ruby-dev:30176] Tue Jan 23 10:48:17 2007 Yukihiro Matsumoto * hash.c: added documentation for Hash about how it uses eql? and hash methods for the keys. [ruby-core:09995] Mon Jan 22 14:57:25 2007 Yukihiro Matsumoto * ext/socket/socket.c: fix errors in socket sample code. [ruby-core:09992] Sat Jan 13 23:54:48 2007 Masaki Suketa * ext/win32ole/win32ole.c (ole_free, ole_type_free, olemethod_free, olevariable_free, oleparam_free, ole_event_free): fix memory leak. [ruby-core:09846] Fri Jan 12 11:13:55 2007 Nobuyoshi Nakada * ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly convert uid/gid from VALUE. (backport of r11521) Wed Jan 10 18:57:57 2007 Minero Aoki * ext/strscan/strscan.c (strscan_do_scan): should set kcode option before match. [ruby-dev:29914] * test/strscan/test_stringscanner.rb: test it. * re.c: export kcode_set_option and kcode_reset_option (with "rb_" prefix). * intern.h: ditto. Tue Jan 9 17:45:17 2007 NAKAMURA Usaku * file.c (rb_find_file): should not call fpath_check() with NULL. fixed: [ruby-core:09867] Tue Jan 9 03:54:38 2007 Yukihiro Matsumoto * string.c (rb_str_upto): String#upto from empty string makes inifinite loop. [ruby-core:09864] Sun Jan 7 12:13:26 2007 Eric Hodel * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_class_comment): Look for class and module comments above rb_define_class and rb_define_module. Patch by Daniel Berger Sun Jan 7 10:32:12 2007 Eric Hodel * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants): Properly handle escaping of : in comments. * test/rdoc/parsers/test_parse_c.rb: Test RDoc::C_Parser#do_classes and Rdoc::C_Parser#find_class_comment. Sun Jan 7 09:33:02 2007 Tadayoshi Funaba * lib/date/format.rb: updated based on date2 4.0.1. Wed Jan 3 11:36:51 2007 Yukihiro Matsumoto * io.c (ruby_dup): start GC on ENOMEM as well. Mon Jan 1 06:13:11 2007 Eric Hodel * lib/rdoc/parsers/c_parser.rb: Make Rdoc accessible. Update constant value information. Mon Jan 1 06:13:11 2007 Eric Hodel * ext/bigdecimal/bigdecimal.c: Update constant comments to provide values for RDoc. Mon Jan 1 06:05:55 2007 Eric Hodel * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constansts): Allow RDoc comment to give friendly value for rb_define_const. Patch by Daniel Berger , [ruby-patches-7499]. * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constansts): Fix whitespace handling in constant comments. Sun Dec 31 00:31:16 2006 Tadayoshi Funaba * lib/date.rb, lib/date/format.rb: updated based on date2 4.0. Thu Dec 14 18:29:13 2006 Yukihiro Matsumoto * ext/readline/readline.c: NetBSD editline does not have rl_username_completion_function() and rl_completion_matches(). a patch from Takahiro Kambe . [ruby-dev:30008] Thu Dec 14 18:20:43 2006 Yukihiro Matsumoto * lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch from NAKAMURA Usaku . [ruby-dev:30012] Mon Dec 11 11:58:36 2006 Akinori MUSHA * ext/digest/sha2/lib/sha2.rb: Moved one level up from under the superfluous subdirectory digest/. Mon Dec 11 11:46:18 2006 Yukihiro Matsumoto * variable.c (rb_define_const): typo fixed. Mon Dec 11 09:36:29 2006 Yukihiro Matsumoto * string.c (rb_str_aset): index double decode problem. [ruby-core:09695] Sat Dec 9 21:39:24 2006 Nobuyoshi Nakada * eval.c (ruby_cleanup): keep the exception till after END blocks. [ruby-core:09675] Sat Dec 9 11:22:00 2006 Yukihiro Matsumoto * lib/irb/locale.rb (IRB::Locale::search_file): ues File.exist? instead of File.exists?. a patch from Yutaka Kanemoto in [ruby-dev:30000]. Thu Dec 7 09:29:02 2006 Yukihiro Matsumoto * lib/weakref.rb (WeakRef::__setobj__): should support marshaling. [ruby-talk:228508] * lib/delegate.rb (Delegator::marshal_load): need to call __setobj__. Wed Dec 6 23:56:14 2006 Nobuyoshi Nakada * Makefile.in, common.mk (NULLCMD): moved for platforms that empty command does not run. fixed: [ruby-dev:29994] Wed Dec 6 17:17:26 2006 WATANABE Hirofumi * configure.in (SITE_DIR): fixed to emtpy RUBY_SITE_LIB in config.h on NetBSD. fixed: [ruby-dev:29358] Tue Dec 5 00:59:05 2006 Yukihiro Matsumoto * misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as self assignment operator, not regex. [ruby-talk:227324] Mon Dec 4 10:48:03 2006 Yukihiro Matsumoto * ruby.h (OFFT2NUM): use LONG2NUM() if sizeof(long) equals to sizeof(off_t). Mon Dec 4 10:43:46 2006 Yukihiro Matsumoto * parse.y (dyna_init_gen): dvar initialization only if dvar is assigned inner block. [ruby-talk:227402] Mon Dec 4 08:32:49 2006 Shugo Maeda * lib/cgi.rb (CGI::QueryExtension::read_multipart): should quote boundary. JVN#84798830 Sat Dec 2 07:09:04 2006 GOTOU Yuuzou * ext/openssl/ossl_ocsp.c: OpenSSL::OCSP::OSCPError should be subclass of OpenSSL::OpenSSLError. [ruby-dev:29980] Fri Dec 1 17:01:49 2006 NAKAMURA Usaku * gc.c (ruby_init_stack): decrease "stack level too deep" in Windows. merge from trunk. Fri Dec 1 16:31:53 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c: shouldn't run the killed thread at callback. [ruby-talk: 227408] Mon Nov 27 17:18:27 2006 Yukihiro Matsumoto * sprintf.c (rb_f_sprintf): need not to truncate string if no width specifier given for %s. [ruby-dev:29952] Sun Nov 26 16:36:46 2006 URABE Shyouhei * version.h: addition of RUBY_PATCHLEVEL. * version.c: ditto. Fri Nov 24 10:17:51 2006 Yukihiro Matsumoto * bignum.c (bignorm): avoid segmentation. a patch from Hiroyuki Ito . [ruby-list:43012] Thu Nov 23 10:38:40 2006 Yukihiro Matsumoto * eval.c (rb_mod_define_method): set implicit visibility only when it's called for the target class (ruby_cbase). Wed Nov 22 16:00:49 2006 Hidetoshi NAGAI * ext/tk/extconf.rb: support --with-X11/--without-X11 option. * ext/tk/README.tcltklib: add description about --with-X11-* option [ruby-talk:225166] and --with-X11/--without-X11 option. * ext/tk/tkutil/extconf.rb: able to be called manually [ruby-talk:225950]. Wed Nov 15 23:22:54 2006 Nobuyoshi Nakada * file.c (test_grpowned, rb_stat_grpowned): should honor supplementary group IDs. [ruby-core:09546] Thu Nov 9 03:15:22 2006 Yukihiro Matsumoto * eval.c (BEGIN_CALLARGS): ruby_block may be NULL even when ITER_PRE. Tue Nov 7 18:34:34 2006 Akinori MUSHA * ext/digest/lib/digest/hmac.rb: Keep this out of the 1.8 tree until we reach a consensus that HMAC should be put under Digest. Tue Nov 7 18:05:01 2006 Hidetoshi NAGAI * ext/tk/lib/tk/itemconfig.rb: minor bug fix. Mon Nov 6 20:11:20 2006 Kouhei Sutou * lib/rss/0.9.rb (RSS::Rss): removed needless include. Mon Nov 6 15:41:55 2006 Hidetoshi NAGAI * ext/tk/lib/tk/itemconfig.rb: ext/tk/lib/tk/itemconfig.rb: bug fix on 'itemconfiginfo' method, and modify to make it easy to override 'itemconfiginfo' method. * ext/tk/lib/tkextlib/tile/treeview.rb : support Tile 0.7.8. * ext/tk/lib/tkextlib/version.rb : [new] add Tk::Tkextlib_RELEASE_DATE to get the information from scripts. * ext/tk/lib/tk.rb: load 'tkextlib/version.rb', and update RELEASE_DATE * ext/tk/lib/tkextlib/SUPPORT_STATUS: update. * ext/tk/sample/editable_listbox.rb: [new] the listbox with editable items. It's one of the example about usage of Place geometry manager. * ext/tk/sample/tktextio.rb: improve the functions of TkTextIO class. Those are required by 'irbtkw.rbw'. * ext/tk/sample/irbtkw.rbw: [new] IRB on Ruby/Tk. It doesn't need any real console. IRB works on a text widget without I/O blocking. That is, thread switching on IRB will work properly, even if on Windows. Sun Nov 5 19:53:49 2006 Tadayoshi Funaba * lib/date.rb: updated based on date2 3.9.7. Sat Nov 4 13:13:57 2006 Shugo Maeda * lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002] (backported from HEAD) Fri Nov 3 00:16:37 2006 Yukihiro Matsumoto * ext/socket/socket.c (ruby_getnameinfo__aix): AF_INET6 workaround for AIX. a patch from Yutaka Kanemoto . [ruby-dev:29744] Thu Nov 2 15:43:39 2006 NAKAMURA Usaku * parse.y (primary): should set NODE even when compstmt is NULL. merge from trunk. fixed: [ruby-dev:29732] Thu Nov 2 14:48:30 2006 Akinori MUSHA * lib/set.rb (Set#^): Fix XOR operation against a container that holds duplicate values. [issue: #6444] Wed Nov 1 02:41:38 2006 Akinori MUSHA * ext/digest/lib/digest/hmac.rb (Digest::HMAC::update): Minor optimization. * ext/digest/digest.c (rb_digest_instance_equal): Allow comparing a digest instance with another of a different class. Wed Nov 1 01:05:13 2006 NAKAMURA Usaku * eval.c (rb_call0): fixed bug of zsuper with both of opt and rest. fixed: [ruby-list:42928] * test/ruby/test_super.rb: add tests to check above bug. Tue Oct 31 17:03:21 2006 Yukihiro Matsumoto * time.c (time_dup): duplicate the class of original time. [ruby-core:09357] * lib/time.rb (Time::make_time, Time::rfc2822, Time::httpdate): should respect subclasses. [ruby-core:09357] Mon Oct 30 23:40:52 2006 Nobuyoshi Nakada * Makefile.in (miniruby): add XLDFLAGS. * configure.in (aix): use -bE option for miniruby. [ruby-dev:29698] * dir.c (glob_helper): get rid of possible memory leak. * win32/win32.c (cmdglob, rb_w32_cmdvector, rb_w32_opendir, rb_w32_get_environ): not to use GC before initialization. Mon Oct 30 19:29:20 2006 NAKAMURA Usaku * bignum.c (rb_big2str0): use better approximation. Mon Oct 30 18:35:33 2006 Yukihiro Matsumoto * bignum.c (rb_big2str0): wrong allocation length. a patch from U.Nakamura [ruby-dev:29710] Mon Oct 30 12:34:02 2006 Yukihiro Matsumoto * eval.c (rb_eval): fix commit miss. [ruby-dev:29707] Mon Oct 30 12:20:58 2006 Yukihiro Matsumoto * bignum.c (rb_big2str0): a bug in length adjustment. Mon Oct 30 11:15:40 2006 Yukihiro Matsumoto * sprintf.c (rb_str_format): should preserve leading zero information for negative %b and %x. [ruby-talk:221347] Thu Oct 26 21:05:58 2006 GOTOU Yuuzou * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_verify): should clear error. (fix http://bugs.debian.org/394336) * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): ditto. Thu Oct 26 15:21:10 2006 NAKAMURA Usaku * ext/digest/digest.c (Init_digest): typo. Wed Oct 25 17:23:28 2006 Akinori MUSHA * ext/digest, test/digest/test_digest.rb: Merge from trunk: - Introduce versioning in Digest::Base API, and prefix C constants with RUBY_ and C type names with rb_ to avoid name clash in writing extensions. - Introduce Digest::Class and Digest::Instance for ease of implementing subclasses and add-ons. - Digest::Instance module requires and assumes that any instance be resettable and clonable. An instance method #new() is added so digest instances work just like digest classes. - The constructor does no longer take an initial string to feed; digest() and hexdigest() now do, instead. This allows digest classes to take their own hashing parameters. - Make some changes to digest() and hexdigest() class methods, which now take extra arguments, which are passed through to the constructor in an internal call. - Add #digest_length/size/length() and #block_length(), - Add the Digest::SHA2 class to wrap up SHA2 variants: SHA256, SHA384 and SHA512, hoping this module would make a decent example of a digest subclass written in Ruby. - Rip BubbleBabble support out of the base class and have a separate module named digest/bubblebabble. - Remove RD documents in favor of newly written and embedded RDoc documentation. Wed Oct 25 08:03:23 2006 Tadayoshi Funaba * lib/date/format.rb: updated based on date2 3.9.6. [ruby-core:09323] Sun Oct 22 14:48:31 2006 Yukihiro Matsumoto * signal.c (ruby_signal): don't set SA_RESTART. a backport from the HEAD. [ruby-talk:220937] [ruby-talk:147220] * signal.c (Init_signal): avoid duplicated installation of SIGCHLD hand