From 10/17/2012 to 10/23/2012


08:53 PM Revision 37306: * vm_insnhelper.c (vm_call_method): remove `default' and
add a case for `VM_METHOD_TYPE_UNDEF'. ko1 (Koichi Sasada)
08:42 PM Revision 37305: * eval_error.c (error_print), vm_eval.c (eval_string_with_cref),
vm_trace.c (rb_suppress_tracing): use TH_PUSH_TAG() instead of
ko1 (Koichi Sasada)
08:34 PM Revision 37304: * vm_eval.c (vm_call0_body): remove RUBY_VM_CHECK_INTS()
after method invocation using rb_call0().
* vm_eval.c (vm_call0_body): remove default section on top of
switch stat...
ko1 (Koichi Sasada)
05:46 PM Revision 37303: Add test for instance_exec receiving a curried proc.
04:37 PM Revision 37302: test_rubyoptions.rb: --help option
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage): now
--help shows more lines. [ruby-core:48072] [Bug ...
nobu (Nobuyoshi Nakada)
03:54 PM Revision 37301: * 2012-10-24
03:54 PM Revision 37300: * ChangeLog: fix typos of r37293.
nagachika (Tomoyuki Chikanaga)
01:37 PM Revision 37299: * thread.c (thread_raise_m): check interrupts after Thread#raise
if a target thread is the current thread because the behavior
of Thread.current.raise is expected to perform same a...
ko1 (Koichi Sasada)
08:08 AM Revision 37298: ruby.c: --help option
* ruby.c (usage, process_options): show more info in --help.
[EXPREIMENTAL] [ruby-core:48072] [Bug #7184]
nobu (Nobuyoshi Nakada)
05:20 AM Revision 37297: ruby-electric.el: fix #198
* misc/ruby-electric.el using variable `last-command-event' instead of
obsolete `last-command-char', so that work w...
nobu (Nobuyoshi Nakada)
05:06 AM Revision 37296: no visibility option for older GCC
* (visibility_option): visibility attribute is not
available before GCC 4, so do not use -fvisibility ...
nobu (Nobuyoshi Nakada)
04:52 AM Revision 37295: Revert the last commit because some tests (in btest) fail
ko1 (Koichi Sasada)
04:33 AM Revision 37294: * thread.c (rb_threadptr_raise): check interrupts after
Thread#raise because the behavior of Thread.current.raise is
expected to perform same as Kernel.raise (by rubyspec).
ko1 (Koichi Sasada)
04:22 AM Revision 37293: * vm_core.h, vm_insnhelper.c, vm_eval.c (OPT_CALL_CFUNC_WITHOUT_FRAME):
add a new otpimization and its macro `OPT_CALL_CFUNC_WITHOUT_FRAME'.
This optimization makes all cfunc method calls...
ko1 (Koichi Sasada)


09:25 PM Revision 37292: * ext/psych/parser.c: just get the constant defined in Ruby.
* ext/psych/lib/psych/syntax_error.rb: Psych::SyntaxError now inherits
from StandardError rather than SyntaxError. ...
09:24 PM Revision 37291: * ext/psych/lib/psych/scalar_scanner.rb: Cache symbols while
tokenizing. Thanks Kevin Menard! tenderlove
09:24 PM Revision 37290: * ext/psych/lib/psych/scalar_scanner.rb: Updated the RegExp to catch
Strings earlier in the tokenization process. Thanks Kevin Menard! tenderlove
09:14 PM Revision 37289: * ext/psych/lib/psych/visitors/to_ruby.rb: Handle nil tags specially
to avoid slow method_missing calls. Thanks Kevin Menard! tenderlove
09:09 PM Revision 37288: * ext/psych/lib/psych/scalar_scanner.rb: Ignore bad timestamps. If
something looks like a timestamp but has an invalid component, treat
it as a string instead of throwing an Argument...
09:06 PM Revision 37287: * ext/psych/lib/psych/scalar_scanner.rb: Fix scalar_scanner to
understand strings starting with an underscore and containing only
digits. Thanks Kelley Reynolds.
* test/psych/t...
09:02 PM Revision 37286: * 2012-10-23
09:02 PM Revision 37285: * ext/psych/lib/psych.rb: Changed comment in psych.rb to update new
home page for libyaml. Thanks to Carolyn Ann. tenderlove
12:47 AM Revision 37284: * 2012-10-22
12:47 AM Revision 37283: Supress warnings: unused variables
naruse (Yui NARUSE)


10:16 AM Revision 37282: * test/ruby/test_settracefunc.rb: remove trailing spaces.
ktsj (Kazuki Tsujimoto)
10:14 AM Revision 37281: * vm_trace.c (rb_threadptr_exec_event_hooks, rb_suppress_tracing):
constified. ktsj (Kazuki Tsujimoto)
10:14 AM Revision 37280: * vm_core.h (rb_vm_t::trace_running): add a new field
`trace_running' to store vm global tracing status.
* vm_trace.c: fix SEGV bug. event_hook was free'd
even when the...
ktsj (Kazuki Tsujimoto)
10:14 AM Revision 37279: * vm_core.h (rb_vm_t::trace_flag): remove `trace_flag'
which is no longer used. ktsj (Kazuki Tsujimoto)
09:41 AM Revision 37278: * 2012-10-21
09:41 AM Revision 37277: * ext/date/date_parse.c (date__parse): uses more tight parser if
defined TIGHT_PARSER. now inactivated; because it introduces
incompatibilities and it is a bit slow.
tadf (tadayoshi funaba)


11:36 AM Revision 37276: * gc.c: fix typos in documentation.
Eregon (Benoit Daloze)
06:57 AM Revision 37275: * include/ruby/ruby.h: add C APIs.
VALUE rb_newobj_of(VALUE klass, VALUE flags)
#define NEWOBJ_OF(obj,type,klass,flags)
These allow to change a allo...
03:51 AM Revision 37274: * ext/socket/socket.c: Documentation for Socket
Based on a patch by David Albert
[Bug #7105] [ruby-core:47828]
zzak (Zachary Scott)
02:01 AM Revision 37273: * lib/open-uri.rb: Documentation for OpenURI
zzak (Zachary Scott)


09:20 PM Revision 37272: * 2012-10-20
09:20 PM Revision 37271: * hash.c (initialize_copy): unset the default proc if there isn't one
for the target hash, call to_hash, check frozen status. tenderlove
01:22 PM Revision 37270: vm.c: pass through thrown objects
* vm.c (rb_vm_jump_tag_but_local_jump): pass through thrown objects.
[ruby-dev:46234] [Bug #7185]
* vm_eval.c (rb_e...
nobu (Nobuyoshi Nakada)
01:13 PM Revision 37269: set encoding to ASCII for appropriate String#unpack modifiers
* pack.c (pack_unpack): set encoding of the
'H','h','B' and 'B' modifiers to US-ASCII.
* test/ruby/test_pack.rb: te...
Eregon (Benoit Daloze)
10:38 AM Revision 37268: * method.h (rb_method_cfunc_t::invoker): add new field (func ptr)
`invoker'. `invoker' function invoke cfunc body
`invoker' is set at method definition ...
ko1 (Koichi Sasada)
07:57 AM Revision 37267: * eval.c, vm_eval.c: use TH_PUSH_TAG() instead of PUSH_TAG().
ko1 (Koichi Sasada)
02:15 AM Revision 37265: * benchmark/driver.rb: remove unexpected `output'.
(commit miss) ko1 (Koichi Sasada)
01:24 AM Revision 37264: * vm_insnhelper.c (vm_search_method): remove needless local variable.
ko1 (Koichi Sasada)
01:23 AM Revision 37263: * benchmark/bmx_temp.rb: removed.
This file should not be in repository. ko1 (Koichi Sasada)
01:22 AM Revision 37262: * 2012-10-19
01:22 AM Revision 37261: * benchmark/driver.rb: add new option `--ruby-arg [ARG]'
which is passed as a launch parameter for each ruby's execution.
($ ruby [ARG] [File])
ko1 (Koichi Sasada)


09:44 AM Revision 37260: * insns.def (opt_send_simple): move the location of
`opt_send_simple' to the place near `send' definition.
(to take care about icache locality).
ko1 (Koichi Sasada)
09:41 AM Revision 37259: * insns.def (send): remove unused condition.
This condition will be true after r37258.
* vm_insnhelper.c (vm_caller_setup_args): remove `UNLIKELY' on
checking b...
ko1 (Koichi Sasada)
08:35 AM Revision 37258: * insns.def (opt_send_simple): introduce new instruction used
when no need to care about block and splat.
* compile.c: use the `opt_send_simple' instruction.
ko1 (Koichi Sasada)
07:44 AM Revision 37257: vm_method.c: check arity earlier
* vm_method.c (rb_add_method_cfunc, rb_add_method_cfunc_frameless):
check arity earlier at definition time.
nobu (Nobuyoshi Nakada)
06:57 AM Revision 37256: ChangeLog: adjust spaces.
nobu (Nobuyoshi Nakada)
06:14 AM Revision 37255: * vm_insnhelper.c: add `inline' keyword to several functions.
Compilers (gcc) are conservative than I expected. ko1 (Koichi Sasada)
06:04 AM Revision 37254: * include/ruby/ruby.h: add a decl. of
`rb_define_frameless_method()'. ko1 (Koichi Sasada)
05:33 AM Revision 37253: * compile.c (new_callinfo): set a temporary index of callinfo
(used in `iseq_set_sequence()') to rb_call_info_t::aux::index.
rb_call_info_t::argc is initialiesed by same value o...
ko1 (Koichi Sasada)
05:22 AM Revision 37252: * class.c (rb_define_frameless_method): rename from
rb_define_method_fast(). Defined method with this C API
does not make a method frame. It is bit lightweight than
ko1 (Koichi Sasada)
01:30 AM Revision 37251: parse.y: fail if yyerror
* parse.y (assignable_gen): fail if yyerror occurred. fix a bug in
nobu (Nobuyoshi Nakada)
01:29 AM Revision 37250: test_syntax.rb: test_unassignable
* test/ruby/test_syntax.rb (TestSyntax#test_unassignable): assert
keywords are unassignable.
nobu (Nobuyoshi Nakada)
12:24 AM Revision 37249: * 2012-10-18
12:24 AM Revision 37248: * hash.c (initialize_copy): duping should rehash the hash.
* test/ruby/test_hash.rb: added a test to ensure rehash. tenderlove


01:36 PM Revision 37247: * ChangeLog: fix a typo of r37243.
nagachika (Tomoyuki Chikanaga)
12:20 PM Revision 37246: extmk.rb: fix mingw make failure with make -jN
* (WPROGRAM): need same dependencies as PROGRAM.
* cygwin/ ( move include posit...
07:26 AM Revision 37245: * benchmark/bm_vm2_method_missing.rb: add a benchmark to measure
performance of invoking `method_missing'. ko1 (Koichi Sasada)
07:24 AM Revision 37244: * vm_insnhelper.c (vm_getivar): fix to use `aux.index' instead of
`aux.opt_pc'. ko1 (Koichi Sasada)
07:12 AM Revision 37243: * vm_insnhelper.c (vm_call_method_missing): make a refactoring
about method_missing process. Use `vm_call_method()' to invoke
`method_missing' method instead of `rb_funcall2()'.
ko1 (Koichi Sasada)
06:33 AM Revision 37242: multiple opt-dir
* (opt-dir): allow multiple directories separated by
$PATH_SEPARATOR as well as dir_config in mkmf.rb....
nobu (Nobuyoshi Nakada)
06:30 AM Revision 37241: * ChangeLog: add credit.
shugo (Shugo Maeda)
06:18 AM Revision 37240: * lib/net/imap.rb: fix Net::IMAP::ResponseParser to accept
message/delivery-status ([ruby-core:47920] [Bug #7146]),
message/rfc822 attachments ([ruby-core:47921] [Bug #7147])...
shugo (Shugo Maeda)
03:55 AM Revision 37239: * ChangeLog: use tab for indentation.
shugo (Shugo Maeda)
02:06 AM Revision 37238: * test/ruby/test_hash.rb (TestHash#test_dup_equality): added a new test
to show the problem of r37232. usa (Usaku NAKAMURA)
01:50 AM Revision 37237: * vm_insnhelper.c (vm_search_method): fix a build error that occurs
when OPT_INLINE_METHOD_CACHE is 0. shugo (Shugo Maeda)

Also available in: Atom