remove default section on top of switch statement and add cases for `VM_METHOD_TYPE_CFUNC_FRAMELESS' and `VM_METHOD_TYPE_UNDEF'.
- vm_eval.c (vm_call0_body)
-
remove useless brackets.
2012-10-23¶ ↑
Tue Oct 23 22:34:49 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- 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 as Kernel#raise (by rubyspec).
Tue Oct 23 17:08:39 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (usage, process_options)
-
show more info in –help. [EXPERIMENTAL] [ruby-core:48072] [Bug #7184]
Tue Oct 23 14:20:43 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
Tue Oct 23 14:06:47 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (visibility_option)
-
visibility attribute is not available before GCC 4, so do not use -fvisibility option in that case. [ruby-core:48147] [Bug #7205]
Tue Oct 23 12:57:29 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h, vm_insnhelper.c, vm_eval.c (OPT_CALL_CFUNC_WITHOUT_FRAME)
-
add a new optimization and its macro `OPT_CALL_CFUNC_WITHOUT_FRAME'. This optimization makes all cfunc method calls `frameless', which is faster than ordinal cfunc method call. If `frame' is needed (for example, it calls another method with `rb_funcall()'), then build a frame. In other words, this optimization delays frame building. However, to delay the frame building, we need additional overheads:
- (1) Store the last call information. (2) Check the delayed frame building before the frame is needed. (3) Overhead to build a delayed frame. rb_thread_t
-
:passed_ci is storage of delayed cfunc call information.
- vm_insnhelper.c, vm.c
-
add VM_PROFILE* macros to measure behaviour of VM internals. I will extend this feature.
- vm_method.c, method.h
-
change parameters of the `invoker' function. Receive `func' pointer as the first parameter.
Tue Oct 23 06:21:05 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- 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. Thanks Eric Hodel!
- test/psych/test_exception.rb
-
tests for change.
Tue Oct 23 06:17:36 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/scalar_scanner.rb
-
Cache symbols while tokenizing. Thanks Kevin Menard!
Tue Oct 23 06:15:40 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/scalar_scanner.rb
-
Updated the RegExp to catch Strings earlier in the tokenization process. Thanks Kevin Menard!
Tue Oct 23 06:12:39 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/to_ruby.rb
-
Handle nil tags specially to avoid slow method_missing calls. Thanks Kevin Menard!
Tue Oct 23 06:07:57 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- 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 ArgumentError. Thanks Rhett Sutphin!
- test/psych/test_scalar_scanner.rb
-
appropriate tests.
Tue Oct 23 06:04:07 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- 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/test_scalar_scanner.rb
-
test for fix
Tue Oct 23 06:00:41 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych.rb
-
Changed comment in psych.rb to update new home page for libyaml. Thanks to Carolyn Ann.
2012-10-21¶ ↑
Sun Oct 21 19:12:59 2012 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- 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 hook is still used in another thread. [ruby-dev:46141] [Bug #7032]
Sun Oct 21 19:12:42 2012 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- vm_core.h (rb_vm_t::trace_flag)
-
remove `trace_flag' which is no longer used.
Sun Oct 21 18:34:27 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- 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.
2012-10-20¶ ↑
Sat Oct 20 15:35:06 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- 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 allocation strategy depending on klass or flags.
- gc.c
-
ditto
- array.c
-
use new C API.
- bignum.c
-
ditto
- class.c
-
ditto
- complex.c
-
ditto
- ext/socket/ancdata.c
-
ditto
- ext/socket/option.c
-
ditto
- hash.c
-
ditto
- io.c
-
ditto
- marshal.c
-
ditto
- numeric.c
-
ditto
- object.c
-
ditto
- random.c
-
ditto
- range.c
-
ditto
- rational.c
-
ditto
- re.c
-
ditto
- string.c
-
ditto
- struct.c
-
ditto [Feature #7177][Feature #7047]
Sat Oct 20 12:50:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/socket/socket.c
-
Documentation for Socket Based on a patch by David Albert [Bug #7105] [ruby-core:47828]
Sat Oct 20 11:00:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/open-uri.rb
-
Documentation for OpenURI
Sat Oct 20 06:18:34 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- hash.c (initialize_copy)
-
unset the default proc if there isn't one for the target hash, call to_hash, check frozen status.
2012-10-19¶ ↑
Fri Oct 19 22:22:01 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm.c (rb_vm_jump_tag_but_local_jump)
-
pass through thrown objects. [ruby-dev:46234] [Bug #7185]
- vm_eval.c (rb_eval_cmd)
-
if state is non-zero, val should be nil and rb_vm_jump_tag_but_local_jump() just jump tag.
Fri Oct 19 22:11:55 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- pack.c (pack_unpack)
-
set encoding of the 'H','h','B' and 'B' modifiers to US-ASCII.
- test/ruby/test_pack.rb
-
tests for the above. [ruby-core:47653][Bug #7050]
- test/test_securerandom.rb
-
tests for SecureRandom.hex from tenderlove. [ruby-core:46792][Bug #6799]
Fri Oct 19 19:29:11 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h (rb_method_cfunc_t::invoker)
-
add new field (func ptr) `invoker'. `invoker' function invoke cfunc body
- (rb_method_cfunc_t
-
:func). `invoker' is set at method definition timing. With this change, the big `switch' (branch) in `call_cfunc()' is no longer needed. However, the performance benefit is only a bit.
- vm_core.h (rb_call_info_t::aux::func)
-
add a new field to store cfunc body function pointer.
- vm_method.c (call_cfunc_invoker_func)
-
add a new function which returns a suitable invoke function.
- vm_method.c (setup_method_cfunc_struct)
-
added.
- vm_method.c (rb_add_method)
-
fix to set `invoker'.
- vm_eval.c (vm_call0_body)
-
catch up above changes.
- vm_insnhelper.c (call_cfunc)
-
removed.
- vm_insnhelper.c (vm_call_cfunc)
-
fix to call cfunc body with `invoker' function.
Fri Oct 19 16:55:58 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- eval.c, vm_eval.c
-
use TH_PUSH_TAG() instead of PUSH_TAG().
Fri Oct 19 11:13:55 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/driver.rb
-
remove unexpected `output'.
Fri Oct 19 10:24:03 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_search_method)
-
remove needless local variable.
Fri Oct 19 10:22:26 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/bmx_temp.rb
-
removed. This file should not be in repository.
Fri Oct 19 10:20:10 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/driver.rb
-
add new option `–ruby-arg [ARG]' which is passed as a launch parameter for each ruby's execution.
2012-10-18¶ ↑
Thu Oct 18 18:42:35 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- insns.def (opt_send_simple)
-
move the location of `opt_send_simple' to the place near `send' definition.
Thu Oct 18 18:29:25 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- insns.def (send)
-
remove unused condition. This condition will be true after r37258.
- vm_insnhelper.c (vm_caller_setup_args)
-
remove `UNLIKELY' on checking blockiseq (it seems `LIKELY').
Thu Oct 18 17:31:58 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- 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.
Thu Oct 18 16:44:07 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_method.c (rb_add_method_cfunc, rb_add_method_cfunc_frameless)
-
check arity earlier at definition time.
Thu Oct 18 15:11:31 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c
-
add `inline' keyword to several functions. Compilers (gcc) are conservative than I expected.
Thu Oct 18 15:01:15 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
add a decl. of `rb_define_frameless_method()'.
Thu Oct 18 14:31:17 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- 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 initialized by same value of rb_call_info_t::orig_argc.
Thu Oct 18 14:11:08 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- 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 ordinal C functions. Now only 0 or 1 argc are permitted.
- method.h (VM_METHOD_TYPE_CFUNC_FRAMELESS)
-
rename macro name from VM_METHOD_TYPE_CFUNC_FAST.
- vm_insnhelper.c, vm_method.c
-
rename related functions.
- proc.c (rb_method_entry_arity)
-
catch up above changes.
Thu Oct 18 10:30:34 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (assignable_gen)
-
fail if yyerror occurred. fix a bug in r36973.
Thu Oct 18 09:23:03 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- hash.c (initialize_copy)
-
duping should rehash the hash.
- test/ruby/test_hash.rb
-
added a test to ensure rehash.
2012-10-17¶ ↑
Wed Oct 17 21:16:47 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- common.mk (WPROGRAM)
-
need same dependencies as PROGRAM.
- cygwin/GNUmakefile.in (uncommon.mk)
-
move include position below WPROGRAM definition to be defined in uncommon.mk.
- ext/extmk.rb (all, static)
-
fix make rubyw.exe failure with make -jN. If make of ruby.exe and rubyw.exe run in parallel, link dll and link exe run in parallel, which causes link failure on mingw. To fix this, we make ruby.exe and rubyw.exe in one make process. [ruby-core:48007] [Bug #7165]
Wed Oct 17 16:25:34 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/bm_vm2_method_missing.rb
-
add a benchmark to measure performance of invoking `method_missing'.
Wed Oct 17 16:23:17 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_getivar)
-
fix to use `aux.index' instead of `aux.opt_pc'.
Wed Oct 17 16:03:54 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- 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()'. In `vm_call_method()', set fastpath to `vm_call_method_missing()' if it can be cached.
- vm_core.h (rb_call_info_t)
-
add new field `rb_call_info_t::aux::missing_reason' to pass the reason to `vm_call_method_missing()'.
Wed Oct 17 15:33:12 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (opt-dir)
-
allow multiple directories separated by $PATH_SEPARATOR as well as dir_config in mkmf.rb. [ruby-core:47868] [Bug #7120]
Wed Oct 17 15:08:13 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- 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]), and
- (BODY (“MIXED”)) ([ruby-core
-
47951] [Bug #7153]). patched by Tony Arkles.
- test/net/imap/test_imap_response_parser.rb
-
related test.
Wed Oct 17 11:04:48 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_hash.rb (TestHash#test_dup_equality)
-
added a new test to show the problem of r37232.
Wed Oct 17 10:48:40 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_search_method)
-
fix a build error that occurs when OPT_INLINE_METHOD_CACHE is 0.
Wed Oct 17 08:46:47 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/bm_vm2_dstr.rb
-
add a benchmark to measure performance of dynamic generated string (“foo#{bar}baz”).
Wed Oct 17 08:32:46 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (compile_dstr_fragments)
-
use `putobject' instead of `putstring' for all of strings used by NODE_DSTR because ruby users can not grab this string. For example, the string object of “baz” in “foo#{bar}baz” is located by `putobject' (users can not touch “baz” object directly). This change reduces GC pressure. This improvement is suggested by Aaron Patterson.
Wed Oct 17 08:02:57 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_interrupt_mask)
-
fix to check interrupt after interrupt_mask changed.
Wed Oct 17 06:42:47 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_method)
-
fix to return value immediately. Remove CHECK_INTS() after that method dispatch.
Wed Oct 17 06:25:56 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- hash.c (initialize_copy)
-
copy the underlying st_table on dup, rather than copying the hash key by key. [ruby-core:48009]
- test/ruby/test_hash.rb
-
relevant tests for initialize_copy
Wed Oct 17 06:17:44 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_iseq_setup_2)
-
separate tailcall and normal method frame setup functions. Add checking interrupts at the tailcall setup function.
Wed Oct 17 05:35:37 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/bm_vm1_yield.rb
-
add a benchmark to measure `yield'
- benchmark/bm_vm2_method_with_block.rb
-
add a benchmark to measure method invocation with empty block.
Wed Oct 17 05:05:07 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_invoke_block)
-
vm_caller_setup_args() can skip when splat flag is not set.
Wed Oct 17 01:53:47 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_getivar, vm_setivar)
-
support index inline cache with rb_call_info_t to speedup `attr' getter and setter. Cached index is stored in rb_call_info_t::aux::index. `index' == 0 means not cached. `index' > 0 means cached and cached index is `index - 1'.
- insns.def ((get|set)instancevariable)
-
use new wrapper functions vm_(get|set)instancevariable() defined in vm_insnhelper.c.
- vm_core.h (rb_call_info_t::aux)
-
introduce new union data because opt_pc can share with index.
2012-10-16¶ ↑
Tue Oct 16 22:24:44 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/driver.rb (show_results)
-
Show speedup ratio with first executables score at last of results if two or more executables are given.
Tue Oct 16 21:59:01 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/driver.rb
-
some refactoring.
Tue Oct 16 14:56:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_file_join)
-
need to check again after any conversion run. [ruby-core:48012] [Bug #7168]
Tue Oct 16 12:52:14 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- test/ruby/envutil.rb (Test::Unit::Assertions#assert_file)
-
rename from file_assertion.
Tue Oct 16 11:30:18 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_file_join)
-
hide the result under construction until return.
- file.c (rb_file_join)
-
check nul-byte only for strings, since FilePathStringValue() does it. [ruby-core:48012] [Bug #7168]
- file.c (rb_file_join)
-
path names must be ASCII-compatible. [ruby-core:48012] [Bug #7168]
- file.c (check_path_encoding)
-
new function to ensure path name encoding to be ASCII-compatible.
Tue Oct 16 09:40:04 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_regexp.rb (TextRegexp#test_raw_hyphen_and_tk_char_type_after_range)
-
use Regexp.new instead of literal to ignore a parser warning.
Tue Oct 16 09:30:30 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_regexp.rb (TextRegexp#test_raw_hyphen_and_tk_char_type_after_range)
-
ignoring warnings are already set in setup method.
Tue Oct 16 06:44:06 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (VM_CALLEE_SETUP_ARG)
-
fix wrong condition.
Tue Oct 16 06:29:18 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_method)
-
disable CI_SET_FASTPATH() if this method call needs splat argument because cached functions
- bootstraptest/test_method.rb
-
add a test to check an above issue.
Tue Oct 16 06:15:44 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h
-
introduce new method type VM_METHOD_TYPE_CFUNC_FAST. This method is similar to VM_METHOD_TYPE_CFUNC methods, but called cfunc without building new frame (does not push new control frame). If error is occurred in cfunc, the backtrace only shows caller frame and upper. This kind of methods can be added by rb_define_method_fast(). This feature is similar to specialized instructions (opt_plus, etc), but more flexible (but a bit slower).
- class.c (rb_define_method_fast)
-
added. Maybe it will be renamed soon.
- vm_insnhelper.c (vm_call_method)
-
support method type VM_METHOD_TYPE_CFUNC_FAST.
- proc.c (rb_method_entry_arity)
-
catch up new method type.
- vm_method.c (rb_add_method_cfunc_fast)
-
added.
Tue Oct 16 02:32:29 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.h (CI_SET_FASTPATH)
-
add new parameter `enabled'. If `enable' is 0 then CI_SET_FASTPATH() doesn't work. And add new configuration option OPT_CALL_FASTPATH. If this macro was defined by 0, then CI_SET_FASTPATH() doesn't work any more.
- vm_insnhelper.c (vm_call_method)
-
Pass `0' for `enabled' parameter of CI_SET_FASTPATH if this method is protected.
Tue Oct 16 02:17:35 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h (VM_CALL_*)
-
rename VM_CALL_*_BIT to VM_CALL_* (remove `_BIT' suffix). Add comments on each macros. Remove unused macro VM_CALL_TAILRECURSION_BIT.
- compile.c, iseq.c, insns.def, vm_insnhelper.c
-
ditto.
2012-10-15¶ ↑
Mon Oct 15 22:14:44 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/ruby/envutil.rb (Test::Unit::Assertions#file_assertion)
-
rewrite file assertions.
Mon Oct 15 09:41:17 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (VM_CALLEE_SETUP_ARG)
-
skip CI_SET_FASTPATH() if it was called from vm_yield_setup_args().
Mon Oct 15 05:20:13 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.h CI_SET_FASTPATH
-
introduce new macro `CI_SET_FASTPATH(ci, func)'. This macro set `ci->call' as `func'. `func' (ci->call) is called at the last of `send'
- vm_insnhelper.c (vm_call_method)
-
use `CI_SET_FASTPATH'. After several checking (visibility, argc checking), the result of checking can be reused until re-definition of this method with inline method cache. Note that this optimization is now experimental. If you find any problem about it, please tell us.
Mon Oct 15 04:51:55 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c
-
refactoring. - move all `call' related functions to the last of file. - make functions for respective method types in vm_call_method().
- vm_core.h
-
add `opt_pc' field in `rb_call_info_t' as temporal variable.
- vm_eval.c (vm_call0_body)
-
catch up above changes.
Mon Oct 15 03:51:46 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/bm_vm1_attr_ivar(_set).rb
-
added (for method dispatch speed).
- benchmark/bm_vm1_float_simple.rb
-
added (for flonum/float).
Mon Oct 15 02:51:16 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_eval.c (vm_call0_body)
-
add new function. `vm_call0()' makes call_info struct and calls `vm_call0_body()' with this struct. In near future, `vm_call0()' will be removed because all of `vm_call0()' users setup call_info struct by itself.
Mon Oct 15 01:38:06 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- insns.def (send, invokesuper, invokeblock, opt_*), vm_core.h
-
use only a `ci' (rb_call_info_t) parameter instead of using parameters such as `op_id', 'op_argc', `blockiseq' and flag. These information are stored in rb_call_info_t at the compile time. This technique simplifies parameter passing at related function calls (~10% speedups for simple method invocation at my machine). `rb_call_info_t' also has new function pointer variable `call'. This `call' variable enables to customize method (block) invocation process for each place. However, it always call `vm_call_general()' at this changes. `rb_call_info_t' also has temporary variables for method
- vm_core.h, compile.c, insns.def
-
introduce VM_CALL_ARGS_SKIP_SETUP VM_CALL macro. This flag indicates that this call can skip caller_setup (block arg and splat arg).
- compile.c
-
catch up above changes.
- iseq.c
-
catch up above changes (especially for TS_CALLINFO).
- tool/instruction.rb
-
catch up above changes.
- vm_insnhelper.c, vm_insnhelper.h
-
ditto. Macros and functions parameters are changed.
- vm_eval.c (vm_call0)
-
ditto (it will be rewritten soon).
2012-10-14¶ ↑
Sun Oct 14 12:30:44 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (rb_f_sub, rb_f_gsub)
-
pass the given block. [ruby-core:47967] [Bug #7157]
2012-10-13¶ ↑
Sat Oct 13 23:15:39 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- regparse.c (parse_char_class)
-
should match with a hyphen after a range in a character class.
- test/ruby/test_regexp.rb (TestRegexp#test_char_class)
-
fixed wrong test.
- test/ruby/test_regexp.rb (TestRegexp#check)
-
now can accept the error message.
- test/ruby/test_regexp.rb (TextRegexp#test_raw_hyphen_and_tk_char_type_after_range)
-
renamed because the previous name was wrong.
- test/ruby/test_regexp.rb (TextRegexp#test_raw_hyphen_and_tk_char_type_after_range)
-
added more test pattern.
Sat Oct 13 03:01:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (realpath_rec)
-
prevent link from GC while link_names refers the content.
Sat Oct 13 01:37:48 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_regexp.rb (TestRegexp#test_raw_hyphen_and_type_char_after_range)
-
added new test. ref [ruby-core:47115] [Backport #6853]
2012-10-12¶ ↑
Fri Oct 12 21:55:08 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- include/ruby/win32.h (rb_w32_pow)
-
set floating point precision for mingw-w64 x86 pow(). This improves the precision of pow() on Windows XP for TestFloat#test_round_with_precision failure. [ruby-core:47911] [Bug #7142]
Fri Oct 12 21:37:25 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/webrick/test_cgi.rb (TestWEBrickCGI#test_cgi)
-
skip a test depending on locale on Windows. ENV[] doesn't work properly if console code page is not equal to file system encoding. [ruby-core:47910] [Bug #7140]
Fri Oct 12 20:40:29 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (posix_sh_cmds)
-
the command name of colon is “:”.
Fri Oct 12 18:18:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_get_path_check)
-
path name must not contain NUL bytes.
Fri Oct 12 16:06:20 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- tool/merger.rb
-
now can merge revision(s) without –ticket again.
Fri Oct 12 14:10:41 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (dir_config, init_mkmf)
-
use configured libdir value as default library path. [ruby-core:43726] [Bug #6207]
Fri Oct 12 05:25:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/timeout.rb (timeout)
-
Remove paragraph on wrong implementation detail. [ruby-core:47739] [Bug #7088]
2012-10-11¶ ↑
Thu Oct 11 23:09:46 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_sub{seq,pos,str}, rb_str_each_{line,codepoint})
-
prevent String copies from GC. [ruby-core:47881] [Bug #7135]
Thu Oct 11 07:40:50 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- iseq.c (insn_operand_intern)
-
cast op to rb_call_info_t* before compare with iseq->callinfo_entries whose type is rb_call_info_t*.
Thu Oct 11 03:37:08 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- bootstraptest/test_block.rb
-
add tests for block with super.
Thu Oct 11 02:54:07 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_dump.c
-
fix debug prints to catch up recent changes such as VM data structures.
Thu Oct 11 02:50:34 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (insn_operand_intern)
-
add support disasm TS_CALLINFO operands.
2012-10-10¶ ↑
Wed Oct 10 15:12:48 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb (TestProcess#test_execopts_gid)
-
skip on windows because the platform does not have Process.group method. patched by Jon Forums in [ruby-core:47878] [Bug #7133].
2012-10-09¶ ↑
Tue Oct 9 23:18:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/ruby/envutil.rb (assert_file, assert_file_not)
-
more descriptive assertions for File predicates.
Tue Oct 9 18:01:37 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- array.c (rb_ary_sample)
-
use rb_random_ulong_limited, since precision of long may be larger than double.
- random.c (rb_random_ulong_limited)
-
new function to return a random value from 0 upto limit as unsigned long, similarly to rb_genrand_ulong_limited but with arbitrary RNG object.
Tue Oct 9 17:13:27 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_execarg_addopt, rb_execarg_run_options)
-
add :uid and :gid options. [ruby-core:47414] [Feature #6975]
Tue Oct 9 14:36:11 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (iseq_free)
-
fix memory leak. rb_iseq_t::callinfo_entries should be freed.
Tue Oct 9 14:28:18 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h (rb_call_info_t)
-
add new type `rb_call_info_t'. This data structure contains information including inline method cache. After that, `struct iseq_inline_cache_entry' does not need to contain inline cache for method invocation. Other information will be added to this data structure.
- vm_core.h (rb_iseq_t)
-
add `callinfo_entries' and `callinfo_size' members to `rb_iseq_t'.
- insns.def, compile.c
-
Use CALL_INFO instead of IC.
- tool/instruction.rb
-
support CALL_INFO as operand type.
- vm_insnhelper.c, vm_insnhelper.h
-
ditto.
2012-10-08¶ ↑
Mon Oct 8 23:55:41 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_mod_refinements)
-
new method Module#refinements.
- test/ruby/test_refinement.rb
-
add new tests for the above changes.
Mon Oct 8 23:02:19 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h, vm_method.c
-
rename omod and overlaid modules to refinements.
- eval.c (hidden_identity_hash_new)
-
renamed from identity_hash_new.
2012-10-07¶ ↑
Sun Oct 7 23:54:33 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- ext/zlib/zlib.c (zstream_run_func)
-
don't call inflate() when z->stream.avail_in == 0. it return Z_BUF_ERROR. but deflate() could be called with z->stream->avail_in == 0 because it has hidden buffer in z->stream->state (opaque structure). fix for gem install error. [ruby-dev:46149] [Bug #7040]
Sun Oct 7 04:50:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/abbrev.rb
-
Documentation examples for Abbrev. [ruby-core:47442] [Bug #6985]
Sun Oct 7 04:50:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- thread.c (rb_thread_aref)
-
Grammar in Thread documentation. Patch by Steve Klabnik [ruby-core:47799] [Bug #7099]
Sun Oct 7 04:37:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- string.c (rb_str_match)
-
Clarify behavior for captured strings and local variable assignment Patch by Marcus Stollsteimer [ruby-core:47668] [Bug #7062]
2012-10-06¶ ↑
Sat Oct 6 18:31:36 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_opts.h (OPT_GLOBAL_METHOD_CACHE)
-
new build option to enable/disable global method caching. [ruby-dev:46203] [Bug #7111]
- vm_method.c (rb_method_entry_get_with_omod)
-
don't use global method cache if OPT_GLOBAL_METHOD_CACHE is 0.
Sat Oct 6 16:32:04 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_method.c (search_method)
-
check omod only once for performance.
Sat Oct 6 09:42:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE)
-
endian-less wide UTF encodings are dummy but Unicode.
- encoding.c (rb_encdb_set_unicode)
-
set Unicode flag.
- template/encdb.h.tmpl
-
allow ENC_DUMMY variants.
- encoding.c (rb_enc_unicode_p)
-
oniguruma provides Unicode flag.
2012-10-05¶ ↑
Fri Oct 5 17:18:42 JST 2012 TAKANO Mitsuhiro<EMAIL_ADDRESS>↑
- template/Doxyfile.tmpl
-
remove SHOW_DIRECTORIES and HTML_ALIGN_MEMBERS lines. They have been obsolete in Doxygen version 1.8.2.
Fri Oct 5 15:26:18 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c
-
add ObjectSpace#reachable_objects_from. This method returns an array of objects referenced by given object. If given object is special objects such as true/false/nil/Fixnum etc then it returns nil. See rdoc for details. [ruby-core:39772]
- test/objspace/test_objspace.rb
-
add a test for this method.
- gc.c
-
add rb_objspace_reachable_objects_from(). To make this function, add several member `mark_func_data' to rb_objspace_t. If mark_func_data is not null, then gc_mark() calls mark_func_data::mark_func.
- gc.h
-
export rb_objspace_reachable_objects_from().
2012-10-04¶ ↑
Thu Oct 4 23:40:04 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (init_heap)
-
call init_mark_stack before to allocate altstack. This change avoid the stack overflow at the signal handler on 32bit, but I don't understand reason… [Feature #7095]
Thu Oct 4 22:39:27 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- insns.def (getlocal, setlocal)
-
remove old getlocal/setlocal instructions and rename getdaynmic/setdynamic instructions to getlocal/setlocal.
- compile.c
-
ditto.
- iseq.c
-
remove TS_DINDEX.
- vm_exec.h (dindex_t)
-
remove type definition of `dindex_t'.
- tool/instruction.rb
-
ditto.
Thu Oct 4 21:44:17 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (vm_analysis_insn|operand|register)
-
use st_insert instead of using rb_hash_aset() because rb_hash_aset() check $SAFE.
Thu Oct 4 21:15:26 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (VM_COLLECT_USAGE_DETAILS)
-
make new VM usage analysis hooks (old macro name is COLLECT_USAGE_ANALYSIS). This feature is only for VM developers. (I'm not sure I can use `VM developers' (the plural form) in this sentence). If VM_COLLECT_USAGE_DETAILS is not 0, VM enables the following usage collection features:
- (1) instruction
-
collect instruction usages.
- (2) operand
-
collect operand usages.
- (3) register
-
collect register usages. The results are stored in RubyVM::USAGE_ANALYSIS_INSN for (1, 2), RubyVM::USAGE_ANALYSIS_INSN_BIGRAM for (1) and RubyVM::USAGE_ANALYSIS_REGS for (3). You can stop collecting usages with RubyVM::USAGE_ANALYSIS_INSN_STOP(), RubyVM::USAGE_ANALYSIS_OPERAND_STOP(), RubyVM::USAGE_ANALYSIS_REGISTER_STOP() for (1), (2), (3) respectively. You can also change the hook functions by setting C level global variables `ruby_vm_collect_usage_func_(insn|operand|register)' for (1), (2), (3) respectively. See codes for more details.
- tool/instruction.rb
-
fix macro names.
- iseq.c (insn_operand_intern)
-
make it export (used in vm.c). fix to skip several processes if not needed (pointer is 0).
- vm_dump.c
-
move codes for collection features to vm.c.
- vm_exec.h
-
rename macro and function names.
- vm_insnhelper.h
-
ditto.
Thu Oct 4 18:59:14 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- test/ruby/test_settracefunc.rb (test_tracepoint)
-
remove unused test case.
Thu Oct 4 17:24:51 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (rb_objspace_call_finalizer)
-
call gc_mark_stacked_objects at suitable point.
Thu Oct 4 16:31:29 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- gc.c (rb_objspace_call_finalizer)
-
mark self-referencing finalizers before run finalizers, to fix SEGV from btest on 32bit.
- gc.c (gc_mark_stacked_objects)
-
extract from gc_marks().
Thu Oct 4 11:43:28 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread_pthread.c (ruby_init_stack)
-
round stack limit to page size boundary to calculate stack size more precisely. [ruby-dev:46174] [Bug #7084]
2012-10-03¶ ↑
Wed Oct 3 19:51:57 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
Use the non-recursive marking instead of recursion. The recursion marking of CRuby needs checking stack overflow and the fail-safe system, but these systems not good at partial points, for example, marking deep tree structures. [ruby-dev:46184] [Feature #7095]
- configure.in (GC_MARK_STACKFRAME_WORD)
-
removed. It's used by checking stack overflow of marking.
- win32/Makefile.sub (GC_MARK_STACKFRAME_WORD)
-
ditto.
Wed Oct 3 15:33:02 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread_pthread.c (ruby_init_stack)
-
use getrlimit() for the main thread on Mac OS X, since pthread_get_stack{addr,size}_np() return the default value always, but not the ulimit value. [ruby-dev:46174] [Bug #7084]
Wed Oct 3 11:43:15 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_reopen)
-
improvement to accept optional arguments. a patch by Glass_saga (Masaki Matsushita) in [ruby-core:47806]. [Feature #7103]
Wed Oct 3 04:36:11 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/openssl/ossl_x509store.c (ossl_x509store_add_file)
-
Added documentation
- ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths)
-
ditto
- ext/openssl/ossl_x509store.c (ossl_x509store_add_cert)
-
ditto
Wed Oct 3 02:23:37 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- error.c (exc_to_s, name_err_to_s, name_err_mesg_to_str)
-
do not taint messages.
2012-10-02¶ ↑
Tue Oct 2 16:47:06 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- eval.c (identity_hash_new)
-
hide internal hashes for refinements.
- eval.c (rb_mod_refine)
-
no default value.
2012-10-01¶ ↑
Mon Oct 1 22:54:02 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (identity_hash_new)
-
new function to create a new identity hash.
- eval.c (rb_overlay_module, rb_mod_using, rb_mod_refine)
-
use identity_hash_new().
Mon Oct 1 02:34:53 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- configure.in (–with-opt-dir)
-
Make this also work on DLDFLAGS so LIBRUBY_SO links fine with libexecinfo installed in a non-system directory.
2012-09-30¶ ↑
Sun Sep 30 23:32:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- vm_dump.c (rb_vm_bugreport)
-
add /Library/Logs/DiagnosticReports in the list of locations of crash reports.
Sun Sep 30 21:18:03 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- string.c (rb_str_concat)
-
use memcpy to copy a string which contains NUL characters. [ruby-core:47751] [Bug #7090]
2012-09-29¶ ↑
Sat Sep 29 19:41:53 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/envutil.rb (EnvUtil#invoke_ruby)
-
kill child process before Timeout::Error is raised. rmdir of mktmpdir fails with EACCES if child process is alive on Windows.
- test/thread/test_queue.rb (TestQueue)
-
increase timeout. This test takes long time on Windows XP.
Sat Sep 29 19:41:33 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/net/http/test_http.rb (TestNetHTTP#test_proxy_address)
-
clear environment variables. If http_proxy environment variable was set, the test failed.
- test/net/http/test_http.rb (TestNetHTTP#test_proxy_port)
-
ditto.
Sat Sep 29 19:41:11 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/drb/drbtest.rb (DRbCore#teardown)
-
Use Process.kill :KILL on Windows because Process.kill :INT silently fails on Windows 7 and raises EINVAL on Windows XP for spawned process with new_pgroup: false.
- test/drb/drbtest.rb (DRbAry#teardown)
-
ditto.
Sat Sep 29 19:40:32 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic)
-
set script encoding to work with LANG=C. It would work on both Windows and Unix. Refix of r37051.
Sat Sep 29 11:21:06 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_insnhelper.c (rb_vm_using_modules)
-
use using_modules before klass to fix method lookup order, and use klass even if klass is not a module to make refinements in class_eval invoked on classes work.
- eval.c (rb_using_module)
-
accept a class as the second argument.
- eval.c (rb_mod_using, f_using)
-
raise a TypeError if the argument is not a module.
- test/ruby/test_refinement.rb
-
add new tests for the above changes.
Sat Sep 29 02:18:57 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic)
-
Use ruby only on Windows since the test fails on Unix with LANG=C. [ruby-core:47709] [Bug #7076]
2012-09-28¶ ↑
Fri Sep 28 22:19:31 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic)
-
echo command doesn't work properly against non-ascii character on Windows with chcp 437. Instead we use ruby. [ruby-core:47709] [Bug #7076]
Fri Sep 28 17:54:31 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_setup_method)
-
refactoring. Remove src_argc and use iseq->arg_size directly.
Fri Sep 28 17:26:27 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/rubygems/installer.rb (check_that_user_bin_dir_is_in_path)
-
test_generate_bin_bindir_with_user_install_warning(TestGemInstaller) fails on Windows with msys bash. It makes comparing paths case-insensitive. pick from upstream to fix a failure of test-all [ruby-core:47711] github.com/rubygems/rubygems/commit/c474edb2f3704206f04da1c8c6cf9fb079d84abe
Fri Sep 28 15:44:45 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_method.c (search_method)
-
copy refinement iclasses to search superclasses correctly.
- test/ruby/test_refinement.rb
-
related test.
Fri Sep 28 15:15:41 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- insns.def (opt_checkenv)
-
remove unused instruction `opt_checkenv'.
- compile.c (iseq_compile_each)
-
ditto.
- node.h
-
remove unused node `NODE_OPTBLOCK'.
- ext/objspace/objspace.c, gc.c (gc_mark_children)
-
ditto.
Fri Sep 28 13:14:34 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
now VM_DEBUG_BP_CHECK should be 1.
Fri Sep 28 12:51:54 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove rb_control_frame_t::bp (bp: base pointer). `bp' can be calculate by `sp' (stack pointer) of previous frame. Now, `bp_check' field is remained for debug. You can eliminate this field by setting VM_DEBUG_BP_CHECK as 0.
- vm_insnhelper.c (vm_base_ptr)
-
add `vm_base_ptr(cfp). This function calculates base pointer from cfp.
- vm_insnhelper.c (vm_setup_method)
-
push `recv' value on top of value stack (before method parameters). This change is for keeping consistency with normal method dispatch.
- insns.def
-
fix to use vm_base_ptr().
- vm.c (vm_exec)
-
ditto.
- vm_dump.c
-
remove `bp' related dumps.
- cont.c (fiber_init)
-
fix to check VM_DEBUG_BP_CHECK.
Fri Sep 28 10:40:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_reopen)
-
accept File::Constants as well as mode string. based on the patch by Glass_saga (Masaki Matsushita) in [ruby-core:47694]. [Feature #7067]
2012-09-27¶ ↑
Thu Sep 27 18:36:51 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_overlay_module, rb_mod_refine)
-
accept a module as the argument of Module#refine.
- vm_method.c (search_method)
-
if klass is an iclass, lookup the original module of the iclass in omod in order to allow refinements of modules.
- test/ruby/test_refinement.rb
-
add tests for the above changes.
Thu Sep 27 18:12:20 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/syslog/lib/syslog/logger.rb
-
add a formatter to the Syslog::Logger object. [Bug #7065]
- test/syslog/test_syslog_logger.rb
-
ditto.
2012-09-26¶ ↑
Wed Sep 26 16:39:57 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- insns.def
-
add new instruction `opt_empty_p' for optimize `empty?' method. Apply a patch proposed at [ruby-dev:46120] [ruby-trunk - Feature #6972] by Glass_saga (Masaki Matsushita).
- compile.c (iseq_specialized_instruction), vm.c, vm_insnhelper.h
-
ditto.
- id.c, template/id.h.tmpl
-
ditto.
- test/ruby/test_optimization.rb
-
test for this changes.
2012-09-25¶ ↑
Tue Sep 25 09:59:26 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- insns.def (invokesuper)
-
klass in cfp is not valid in at_exit and END blocks. [ruby-core:47680] [Bug #7064]
Tue Sep 25 08:11:11 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_defined_string)
-
the index of defined_strings must be the value of type - 1.
2012-09-24¶ ↑
Mon Sep 24 17:36:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- compile.c (defined_expr), insns.def (defined)
-
share single frozen strings. [EXPERIMENTAL] [ruby-core:47558][Feature #7035]
- iseq.c (rb_iseq_defined_string)
-
make expression strings.
Mon Sep 24 11:22:36 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- tool/merger.rb
-
add –ticket option to add ticket number.
2012-09-23¶ ↑
Sun Sep 23 21:51:59 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (String#unspace)
-
unescape with backslashes. normal makes need to escape spaces with backslashes. nmake is not the case. [Bug #7036]
- lib/mkmf.rb (create_makefile)
-
use timestamp file dependencies for directories.
- lib/mkmf.rb
-
unexpand macros.
- lib/mkmf.rb (LIBPATHFLAG)
-
no needs to escape library path here.
- lib/mkmf.rb (MakeMakefile#configuration)
-
make prefix paths internal to deal with in Makefile.
- lib/mkmf.rb (MakeMakefile#mkintpath)
-
not a global function now.
Sun Sep 23 02:33:37 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- complex.c
-
Fix examples of r36993. Keep the simple definition, mathematics define the result. Based on patch by Robin Dupret. Fixes #188 on github.
2012-09-22¶ ↑
Sat Sep 22 07:15:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/ripper/lib/ripper.rb
-
Match sample output to Ripper.sexp from current trunk version. [Bug #6929]
2012-09-20¶ ↑
Thu Sep 20 23:05:11 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread_pthread.c (native_cond_initialize)
-
destroy condattr after using it. Patch by Stanislav Sedov. Thank you. [Bug #7041] [ruby-core:47619]
Thu Sep 20 22:53:02 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread_pthread.c (native_cond_initialize)
-
clean up ifdef condition.
Thu Sep 20 16:42:44 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/drb/ssl.rb (DRb::DRbSSLSocket::SSLConfig::DEFAULT)
-
add SSLTmpDhCallback for configuration option.
- lib/drb/ssl.rb (setup_ssl_context)
-
copy the value of tmp_dh_callback.
- test/drb/ut_array_drbssl.rb
-
set tmp_dh_callback to suppress warning.
- test/drb/ut_drb_drbssl.rb
-
ditto.
Thu Sep 20 10:56:08 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/drb/ut_drb.rb
-
revert a part of r36987, and get rid of a warning with another method. if the substitution is removed, the ExtSrv object will be GC'ed and some tests will be blocked.
Thu Sep 20 07:20:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- complex.c
-
Examples for Complex Documentation. Patch by Robin Dupret. Fixes #184 on github.
Thu Sep 20 07:15:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/ripper/lib/ripper.rb
-
Documentation for Ripper.
:void_stmt
is meaningless [Bug #6929] [ruby-core:47507]
Thu Sep 20 07:05:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/csv.rb (Object#CSV, Array#to_csv, String#parse_csv)
-
Examples and documentation for CSV. [Bug #6880] [ruby-core:47218]
Thu Sep 20 00:42:20 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- array.c (take_items), enum.c (enum_zip)
-
raise TypeError at non-enumerable objects, not NoMethodError. [ruby-dev:46145] [Bug #7038]
- vm_eval.c (rb_check_block_call)
-
check_funcall variant with block function.
2012-09-18¶ ↑
Tue Sep 18 17:51:29 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_sslctx_attrs)
-
add npn_select_db to suppress warning: instance variable @npn_select_cb not initialized
2012-09-16¶ ↑
Sun Sep 16 17:47:00 2012 Eric Hodel<EMAIL_ADDRESS>↑
- tool/change_maker.rb
-
Update svn detection for subversion 1.7's single .svn directory.
Sun Sep 16 11:39:12 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (io_set_read_length)
-
if the read length equals to the buffer string size then nothing to do. or ensure the string modifiable before setting the length only when the former is shorter. based on the patch in [ruby-core:47541] by Hiroshi Shirosaki. [ruby-core:46586] [Bug #6764]
Sun Sep 16 08:57:52 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (strict_warnflags)
-
separate strict flags from warnflags only for core. [ruby-dev:46105]
Sun Sep 16 08:16:05 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- .editorconfig
-
add. [ruby-core:47548] [Feature #7030]
2012-09-15¶ ↑
Sat Sep 15 01:56:40 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/nkf/nkf-utf8/nkf.c
-
Merge upstream: 50a383c84. [ruby-dev:46128] [Bug #7005]
Sat Sep 15 00:20:04 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/nkf/nkf.c (rb_nkf_convert)
-
suppress warning.
2012-09-14¶ ↑
Fri Sep 14 04:05:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- array.c (rb_ary_diff, rb_ary_uniq)
-
Enhance documentation for array uniqueness Based on a patch by Robin Dupret [Bug #6872] [ruby-core:47209]
Fri Sep 14 03:30:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- array.c (rb_ary_select)
-
Update documentation for Array#select
- enum.c (enum_find_all, enum_reject)
-
Update documentation for Enumerable#find_all and Enumerable#reject Based on a patch by Jeff Saracco [Bug #6908] [ruby-core:47285] [Fixes #166 on github]
Fri Sep 14 00:20:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- signal.c (rb_f_kill)
-
Update documentation for Process.kill to reflect kill(2) Patch by Richo Healey
2012-09-13¶ ↑
Thu Sep 13 21:40:49 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- lib/securerandom.rb (SecureRandom.random_bytes)
-
Use 64bit value as pointer for Windows x64 to fix SystemCallError.
- lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage)
-
Set proper encoding to avoid invalid byte sequence error. [ruby-core:47451] [Bug #6990]
Thu Sep 13 11:20:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/optparse.rb
-
Remove unreachable email address from documentation [Bug #6996] [ruby-core:47459]
Thu Sep 13 11:20:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/xmlrpc.rb
-
Documentation for XMLRPC
- lib/xmlrpc/datetime.rb
-
ditto.
- lib/xmlrpc/parser.rb
-
ditto.
- lib/xmlrpc/client.rb
-
ditto.
- lib/xmlrpc/utils.rb
-
ditto.
- lib/xmlrpc/README.rdoc
-
ditto.
- lib/xmlrpc/create.rb
-
ditto.
- lib/xmlrpc/base64.rb
-
ditto.
- lib/xmlrpc/config.rb
-
ditto.
- lib/xmlrpc/httpserver.rb
-
ditto.
- lib/xmlrpc/server.rb
-
ditto.
- lib/xmlrpc/marshal.rb
-
ditto.
- lib/xmlrpc/README.txt
-
ditto. [Bug #6909] [ruby-core:47286]
Thu Sep 13 10:22:11 2012 Takashi Toyoshima<EMAIL_ADDRESS>↑
- configure.in
-
Don't use PIE on Haiku because loader support is not enough.
Thu Sep 13 08:20:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/shellwords.rb
-
Documentation for Shellwords.
Thu Sep 13 08:00:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/ripper/lib/ripper.rb
-
Documentation for Ripper.
- ext/ripper/lib/ripper/lexer.rb
-
ditto.
- ext/ripper/lib/ripper/sexp.rb
-
ditto.
- ext/ripper/lib/ripper/filter.rb
-
ditto.
- ext/ripper/lib/ripper/core.rb
-
ditto. [Bug #6929] [ruby-core:47309]
2012-09-12¶ ↑
Wed Sep 12 22:59:07 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_method_missing, vm_call_method)
-
reuse arguments on the VM stack and get rid of ALLOCA.
2012-09-10¶ ↑
Mon Sep 10 10:19:34 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- enc/depend
-
fixed wrong change in a part of r34802.
Mon Sep 10 01:38:51 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose)
-
suppress integer <-> pointer cast warnings. [Feature #4570] [ruby-core:35711]
Mon Sep 10 01:36:00 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- io.c (rb_io_close)
-
notify fd close before releasing gvl.
- io.c (fptr_finalize)
-
modify fptr->mode before releasing gvl. remove unnecessary rb_thread_fd_close(). [Feature #4570] [ruby-core:35711]
Mon Sep 10 00:16:34 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- process.c
-
exec() requires to be single threaded also on Haiku. by Takashi Toyoshima<EMAIL_ADDRESS>github.com/ruby/ruby/pull/178
2012-09-09¶ ↑
Sun Sep 9 22:02:50 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/socket/basicsocket.c (rsock_bsock_send)
-
avoid unnecessary select() calls before doing I/O Patch by Eric Wong. [Feature #4538] [ruby-core:35586]
- ext/socket/init.c (rsock_s_recvfrom)
-
ditto.
- ext/socket/init.c (rsock_s_accept)
-
ditto.
- ext/socket/udpsocket.c (udp_send)
-
ditto.
- io.c (io_fflush)
-
ditto.
- io.c (io_binwrite)
-
ditto.
- io.c (rb_io_syswrite)
-
ditto.
Sun Sep 9 21:21:15 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/thread.rb (Queue#pop)
-
Fixed double registration issue when mutex.sleep is interrupted. [Bug #5258] [ruby-dev:44448]
- lib/thread.rb (SizedQueue#push)
-
ditto.
- test/thread/test_queue.rb (test_sized_queue_and_wakeup, test_queue_pop_interrupt, test_sized_queue_pop_interrupt, test_sized_queue_push_interrupt)
-
new tests.
Sun Sep 9 20:20:31 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/sync.rb (Sync_m#sync_lock)
-
Fixed wakeup/raise unsafe code. Patched by Masaki Matsushita. [Bug #5355] [ruby-dev:44521]
- test/thread/test_sync.rb (test_sync_lock_and_wakeup, test_sync_upgrade_and_wakeup, test_sync_lock_and_raise)
-
new test.
Sun Sep 9 18:39:46 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- include/ruby/intern.h (rb_thread_blocking_region)
-
Added a comment of recommended alternative way.
Sun Sep 9 18:37:05 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/sync.rb (Sync_m)
-
Removed RCS_ID.
Sun Sep 9 18:21:03 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_io.rb (test_advise_pipe)
-
new test to check io.advise() against anonymous io object don't make crash. made by Eric Wong. [Bug #6081] [ruby-core:42880]
Sun Sep 9 16:47:12 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose)
-
new functions.
- io.c (fptr_finalize)
-
release GVL if possible. Patched by Eric Wong. [Feature #4570] [ruby-core:35711]
Sun Sep 9 16:08:48 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- io.c (io_bufread)
-
removed unnecessary rb_thread_wait_fd(). Patch by Eric Wong. [Bug #6629] [ruby-core:45789]
- io.c (rb_io_sysread)
-
ditto.
- io.c (copy_stream_fallback_body)
-
ditto.
Sun Sep 9 15:21:52 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_mutex_lock)
-
stop multiple threads use pthread_cond_timedwait() concurrently. [Bug #6278] [ruby-core:44275]
2012-09-08¶ ↑
Sat Sep 8 18:52:22 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- internal.h (struct rb_classext_struct)
-
move allocator function into rb_classext_t from ordinary method table. [ruby-dev:46121] [Feature #6993]
- object.c (rb_obj_alloc)
-
call allocator function directly.
- vm_method.c (rb_define_alloc_func, rb_undef_alloc_func, rb_get_alloc_func)
-
use allocator function in rb_classext_t.
2012-09-07¶ ↑
Fri Sep 7 01:21:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb (extmake), lib/mkmf.rb (have_framework)
-
fix splitting options with an argument, not using NUL as special character. [ruby-core:47447] [Bug #6987]
2012-09-06¶ ↑
Thu Sep 6 14:49:49 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- .gdbinit (rp)
-
FLONUM support.
- include/ruby/ruby.h (ruby_special_consts)
-
define FLONUM constants always, so that they are available from gdb.
- include/ruby/ruby.h (RB_FLOAT_TYPE_P)
-
merge FLONUM and non-FLONUM versions. inline TYPE() comparison and FLONUM_P() should be optimized away on non-FLONUM.
Thu Sep 6 08:20:55 2012 Ryan Davis<EMAIL_ADDRESS>↑
- lib/minitest/*
-
Imported minitest 3.4.0 (r7762)
- test/minitest/*
-
ditto
2012-09-05¶ ↑
Wed Sep 5 19:20:53 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- parse.y (rb_warn4S)
-
renamed from rb_warn4(), because the case in r36911 takes a string.
- parse.y (rb_warn4S)
-
use ripper_warnS() for ripper.
- parse.y (ripper_warnS)
-
now it is used.
Wed Sep 5 15:51:52 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- .travis.yml (notifications)
-
[experimental] update notification template.
Wed Sep 5 15:21:12 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- parse.y (rb_warn4)
-
added as a rb_warn variant to warn with explicit source file name and line in parse.y.
- parse.y (warn_unused_var)
-
use rb_warn4 to suppress warning on ripper.
Wed Sep 5 13:30:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (glob_make_pattern)
-
names under recursive need to be single basenames to match for each name. [ruby-core:47418] [Bug #6977]
2012-09-04¶ ↑
Tue Sep 4 20:55:17 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/envutil.rb (EnvUtil#invoke_ruby)
-
show Timeout::Error instead of IOError if the timeout has expired.
- test/test_pstore.rb (PStoreTest#test_pstore_files_are_accessed_as_binary_files)
-
increase timeout because this test is slow on Windows. [ruby-core:47402] [Bug #6965]
Tue Sep 4 11:28:57 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- vm_eval.c (ruby_eval_string_from_file_protect)
-
initializer element is not computable at load time.
2012-09-03¶ ↑
Mon Sep 3 21:22:37 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (rb_float_value)
-
suppress warnings. [ruby-core:47406][Bug #6971]
Mon Sep 3 14:49:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/matrix.rb (Vector#magnitude)
-
accumulate squares of absolute values to fix for complex vector. [ruby-dev:46100] [Bug #6966]
2012-09-02¶ ↑
Sun Sep 2 05:41:28 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/webrick/ssl.rb (WEBrick::Config::SSL)
-
add new key SSLTmpDhCallback to set SSLContext#tmp_dh_callback.
- lib/webrick/ssl.rb (WEBrick::GenericServer#setup_ssl_context)
-
follow above.
2012-09-01¶ ↑
Sat Sep 1 18:50:50 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/set.rb (#initialize_copy, eql)
-
Use instance_variable_get instead of instance_eval.
2012-08-31¶ ↑
Fri Aug 31 21:47:56 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/test/unit/test-unit.gemspec
-
Make test/unit default gem. [Feature #6875] [ruby-dev:46051]
Fri Aug 31 17:38:43 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/set.rb (Set#{each,reject!,select!}, Set#each)
-
Pass the original block through instead of creating one that only yields the passed argument.
Fri Aug 31 16:23:20 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/ipaddr.rb
-
Introduce several new error classes where only ArgumentError and StandardError were used. IPAddr::Error is their common ancestor class that inherits from ArgumentError for backward compatibility. Submitted by Jon Daniel. Fixes #173 on GitHub.
Fri Aug 31 14:51:27 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_to_f)
-
added for previous commit.
Fri Aug 31 14:32:05 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (BigDecimal_to_f)
-
use self's sign to determine 0.0 and Inf's sign instead of internal double value's. Reported by phasis68 (Heesob Park) at [ruby-core:47381] [Bug #6955]
Fri Aug 31 14:31:17 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- template/id.h.tmpl, tool/id2token.rb
-
make id.h independent from parse.h, and make parse.c dependent on it instead.
Fri Aug 31 14:27:39 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (create_makefile)
-
fix race conditions at install-ext. target files need to depend on destination directory timestamp files, not phony targets.
Fri Aug 31 14:03:45 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_trace.c (clean_hooks)
-
do not access freed memory.
- vm_trace.c (rb_threadptr_exec_event_hooks)
-
fix uninitialized state when no events is executed.
2012-08-30¶ ↑
Thu Aug 30 18:21:51 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- io.c (rb_io_close)
-
call rb_last_status_clear.
Thu Aug 30 16:17:52 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (BigDecimal_to_f)
-
check underflow since strtod() sets errno to ERANGE at underflow too. [ruby-core:47342] [Bug #6944]
Thu Aug 30 12:44:43 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/set.rb (Set#{<,>,<=,>=})
-
Define comparison operators as shorthand for the {proper_}{subset?,superset?} methods (finally). Given a push by Alexander E. Fischer.
Thu Aug 30 09:21:01 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/uri/ftp.rb (URI::FTP#initialize)
-
raise InvalidURIError if “//” is not present [ruby-core:47344] [Bug #6945]
Thu Aug 30 07:45:12 2012 Luis Lavena<EMAIL_ADDRESS>↑
- test/ruby/test_file_exhaustive.rb
-
fix test introduced in r36811 for posix environments where HOME is not defined. [ruby-core:47322]
2012-08-29¶ ↑
Wed Aug 29 23:42:59 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_last_status_clear)
-
declared.
- process.c (rb_last_status_clear)
-
exported.
- (rb_f_system)
-
call rb_last_status_clear.
- io.c (rb_f_backquote)
-
call rb_last_status_clear.
Wed Aug 29 22:01:15 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_f_system)
-
check failures of waitpid. [ruby-talk:398687]
Wed Aug 29 15:03:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (LIBDIR_BASENAME)
-
use configured libdir value to fix –enable-load-relative on systems where libdir is not default value, overridden in config.site files. [ruby-core:47267] [Bug #6903]
- ruby.c (ruby_init_loadpath_safe)
-
ditto.
Wed Aug 29 14:34:41 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- addr2line.c
-
SIZE_MAX is defined in stdint.h, so r36755 breaks 32bit FreeBSD. [ruby-core:47360] [Bug #6948]
2012-08-28¶ ↑
Tue Aug 28 22:31:49 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- insns.def (checkmatch)
-
suppress warnings. [ruby-core:47339] [Bug #6930]
Tue Aug 28 20:03:54 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
Fixing Haiku R1/alpha3 build with gcc-4.4.4. - omit ANSI standard flags to compile socket extension where anonymous union is required. - remove redundant -be flags. by Takashi Toyoshima<EMAIL_ADDRESS>github.com/ruby/ruby/pull/168
Tue Aug 28 11:32:37 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- nacl/GNUmakefile.in (.rbconfig.time)
-
r36828 was incomplete. It did not run correctly on clean build.
Tue Aug 28 09:25:20 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/Makefile.sub (Makefile)
-
make to depend on common.mk, to stop and force to re-run make process when common.mk is changed.
2012-08-27¶ ↑
Mon Aug 27 20:19:49 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/etc/test_etc.rb (TestEtc#test_getgrgid)
-
fix for non unique GID. No unixen systems guarantee that GID is unique. Etc.getgrgid would not return the first entry in the order of Etc.group for shared GID. [ruby-core:47312] [Bug #6935]
Mon Aug 27 18:19:36 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (rb_float_value)
-
optimize it. This technique was pointed by shinichiro.hamaji <shinh.skr.jp/m/?date=20120825#p02>.
Mon Aug 27 15:08:25 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- common.mk (vm_trace.o)
-
Added a missing dependency.
2012-08-26¶ ↑
Sun Aug 26 09:29:32 2012 Yuki Sonoda (Yugui<EMAIL_ADDRESS>↑
- nacl/GNUmakefile.in (package)
-
make package should install example.html for nacl build Patch by Takashi Toyoshima <toyoshim AT gmail.com>.
Sun Aug 26 09:22:33 2012 Yuki Sonoda (Yugui<EMAIL_ADDRESS>↑
- nacl/GNUmakefile.in (CC, LD, NM, AR, AS, RANLIB, OBJDUMP, OBJCOPY) Rewrites these variables instead of PATH. NaCl port uses a toolchain which is specified by NACL_SDK_ROOT environment variable. Originally, NaCl build added the toolchain under the NACL_SDK_ROOT to the PATH. But updating PATH doesn't work on Mac. (RBCONFIG)
-
Replaces configs with the variable updates above.
- configure.in
-
Thus it is no longer necessary to check $PATH. Based on a patch by Takashi Toyoshima <toyoshim AT gmail.com>.
Sun Aug 26 16:53:00 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- insns.def (checkmatch)
-
suppress warnings. [ruby-core:47310] [Bug #6930]
- vm_core.h (VM_FRAME_TYPE_FINISH_P)
-
ditto.
2012-08-24¶ ↑
Fri Aug 24 15:42:28 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (create_makefile)
-
use timestamp for destination directories to make them before making or copying files there. [ruby-dev:46067] [Bug #6904]
Fri Aug 24 12:40:15 2012 Luis Lavena<EMAIL_ADDRESS>↑
- configure.in (mingw)
-
add shlwapi to the list of dependency libs for Windows.
- win32/Makefile.sub (EXTSOLIBS)
-
ditto.
- internal.h
-
declare internal functions rb_w32_init_file, rb_file_expand_path_internal and rb_file_expand_path_fast.
- file.c (Init_File)
-
invoke Windows initialization rb_w32_init_file
- win32/file.c (rb_file_load_path_internal)
-
new function. Windows-specific implementation that replaces file_expand_path. [Bug #6836]
- win32/file.c (rb_w32_init_file)
-
new function. Initialize codepage cache for faster conversion encodings lookup.
- file.c (file_expand_path)
-
rename to rb_file_expand_path_internal. Conditionally exclude from Windows.
- file.c (rb_file_expand_path_fast)
-
new function. delegates to rb_file_expand_path_internal without performing a hit to the filesystem.
- file.c (file_expand_path_1)
-
use rb_file_expand_path_internal without path expansion (used by require).
- file.c (rb_find_file_ext_safe)
-
ditto.
- file.c (rb_find_file_safe)
-
ditto.
- load.c (rb_get_expanded_load_path)
-
use rb_file_expand_path_fast.
- load.c (rb_feature_provided)
-
ditto.
- file.c (rb_file_expand_path)
-
use rb_file_expand_path_internal with path expansion.
- file.c (rb_file_absolute_path)
-
ditto.
- test/ruby/test_file_exhaustive.rb
-
new tests to exercise rb_file_expand_path_internal implementation and compliance with existing behaviors.
Fri Aug 24 07:35:24 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/http/backward.rb (class Net)
-
Restored Net::HTTPSession to fix backwards-compatibility with ancient Net::HTTP. [Bug #6889]
2012-08-23¶ ↑
Thu Aug 23 20:58:55 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- common.mk
-
support `make id.h` without `rm .id.h.time` after `rm id.h`.
Thu Aug 23 20:48:45 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method)
-
new test.
- test/ruby/test_bignum.rb (TestBignum#test_singleton_method)
-
ditto.
- test/ruby/test_float.rb (TestFloat#test_singleton_method)
-
ditto.
- test/ruby/test_symbol.rb (TestSymbol#test_singleton_method)
-
ditto.
Thu Aug 23 20:34:32 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- class.c (singleton_class_of)
-
flonum can't have singleton class.
- vm.c (vm_define_method)
-
flonum can't have singleton method.
Thu Aug 23 19:18:33 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- common.mk (win32/*)
-
macro RUBY_H_INCLUDES is not defined there, so need to move dependency rules under the definition of it.
Thu Aug 23 19:16:20 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/Makefile.sub
-
refactoring. remove unused rules, and update some rules which are not used usually to fit current macros.
Thu Aug 23 16:46:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_find_file_ext_safe, rb_find_file_safe)
-
default to US-ASCII for encdb and transdb.
- load.c (search_required)
-
keep encoding of feature name. set loading path to filesystem encoding. [Bug #6377]
- ruby.c (add_modules, require_libraries)
-
assume default external encoding as well as ARGV.
Thu Aug 23 16:20:04 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
introduce flonum technique for 64bit CPU environment (sizeof(double) == sizeof(VALUE)). flonum technique enables to avoid double object creation if the double value d is in range about between 1.72723e-77 < |d| <= 1.15792e+77 or 0.0. flonum Float value is immediate and their lowest two bits are b10. If flonum is activated, then USE_FLONUM macro is 1. I'll write detailed in this technique on bugs.ruby-lang.org/projects/ruby-trunk/wiki/Flonum_tech
- benchmark/bmx_temp.rb
-
add an benchmark for simple Float calculation.
- gc.c (id2ref, rb_obj_id)
-
add flonum Float support.
- include/ruby/intern.h
-
move decl of rb_float_new(double) to include/ruby/ruby.h.
- insns.def, vm.c, vm_insnhelper.c
-
add flonum optimization and simplify source code.
- vm_insnhelper.h (FLONUM_2_P)
-
added.
- marshal.c
-
support flonum output.
- numeric.c (rb_float_new_in_heap)
-
added.
- parse.y
-
support flonum.
- random.c
-
ditto.
Thu Aug 23 16:12:40 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- lib/mkmf.rb (create_makefile)
-
add dependency to header files when depend files don't exist. now we can remove simple (and often wrong) depend files in most cases.
Thu Aug 23 16:02:20 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/date/depend
-
add dependency to $(ruby_headers).
Thu Aug 23 12:51:39 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- insns.def (invokesuper)
-
reverted r36640 partially to make super in a thread work correctly. [ruby-core:47284] [Bug #6907]
- test/ruby/test_super.rb
-
related test.
Thu Aug 23 12:30:20 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/configure.bat
-
support –with(out)?-ext(ensions) options.
Thu Aug 23 11:52:04 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
Fixing Haiku build. - -lbe is not required for linking - stack protector doesn't work for now because of the default gcc's bug by Takashi Toyoshima<EMAIL_ADDRESS>github.com/ruby/ruby/pull/167
- signal.c (ruby_signal)
-
haiku doesn't have SIGBUS.
Thu Aug 23 11:32:44 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/open-uri/test_open-uri.rb (TestOpenURI#test_read_timeout)
-
this test expects that the server thread will be killed in sleep, but 0.01 sec is too short to reach there.
Thu Aug 23 10:49:28 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
use the value of –with-opt-dir on building ruby itself. [ruby-dev:46064] [Bug #6900]
Thu Aug 23 10:36:35 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- common.mk (ID_H_TARGET)
-
revert a part of r36724 and r36751. they break mswin build from clean source.
Thu Aug 23 02:37:35 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/syck
-
removed. Fixes [ruby-core:43360]
- test/syck
-
removed.
- lib/yaml.rb
-
only require psych, show a warning if people try to set the engine to syck.
Thu Aug 23 01:46:53 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- insns.def
-
search up the cf stack for an object that is an instance of the recipient class. Fixes [ruby-core:47186]
- test/ruby/test_super.rb
-
related test.
2012-08-22¶ ↑
Wed Aug 22 19:46:24 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
[ruby-core:47266].
Wed Aug 22 19:41:19 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
[ruby-core:47226].
Wed Aug 22 16:57:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (configuration)
-
extract least ruby headers list as ruby_headers, so depend files can use default dependency explicitly.
Wed Aug 22 15:27:50 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_setup_method)
-
fix last commit of vm_insnhelper.c (r36771). [ruby-dev:46065] [Bug #6901] Should not disable tail call opt on FINISH_FRAME. This flag should be propagated correctly.
Wed Aug 22 14:05:23 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c
-
support TracePoint. [ruby-trunk - Feature #6895]
- test/ruby/test_settracefunc.rb
-
add tests for above.
- proc.c (rb_binding_new_with_cfp)
-
add an internal function.
- vm.c (rb_vm_control_frame_id_and_class)
-
add an internal function.
- vm_trace.c
-
add rb_add_event_hook2() and rb_thread_add_event_hook2(). Give us the good name for them!
Wed Aug 22 11:38:16 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- .travis.yml (before_script)
-
Turned out that make -j is broken.
Wed Aug 22 11:23:35 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_setup_method)
-
should not enable tail call optimization for frames with VM_FRAME_FLAG_FINISH. [ruby-dev:46065] [Bug #6901]
Wed Aug 22 11:20:47 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/rubygems/test_case.rb
-
run test with psych if exist.
Wed Aug 22 07:27:00 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/cgi/util.rb (CGI.escapeHTML)
-
use ' [ruby-core:47221] [Bug #6861]
2012-08-21¶ ↑
Tue Aug 21 21:59:22 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- lib/observer.rb
-
fix typo. github.com/ruby/ruby/pull/162 by unsymbol (Philip Cunningham).
Tue Aug 21 20:30:06 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- test/fileutils/test_fileutils.rb (TestFileUtils#teardown)
-
do not assume cwd is TMPROOT and never remove current directory. [ruby-core:47224][Bug #6884]
Tue Aug 21 17:29:56 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- addr2line.c (fill_lines)
-
need check and cast of the file size of target binary because there are some platforms which off_t > size_t.
Tue Aug 21 17:07:58 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- .travis.yml (compiler)
-
[experimental] clang support.
Tue Aug 21 15:44:27 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/dl/lib/dl/func.rb (DL::Function#bind)
-
fixes an error in test/dl/test_import.rb (DL::TestImport#test_carried_function) introduced by r36718. the instance of the anonymous class which wraps the block should have same methods and instance variables of self.
Tue Aug 21 14:29:22 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/Makefile.sub (scriptbin.mk)
-
no need to include twice.
Tue Aug 21 10:52:08 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/unit/test.rb (Test::Unit::ProxyError)
-
new exception class to wrap exceptions raised in workers in parallel test mode.
- test/unit/parallel.rb (Test::Unit::Worker#puke)
-
use above wrapper exception. [Bug #6882] [ruby-dev:46054]
Tue Aug 21 10:40:06 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- test_continuation.rb (tracing_with_thread_set_trace_func)
-
fix to use Thread#set_trace_func, not set_trace_func(nil).
Tue Aug 21 09:32:41 2012 Ryan Davis<EMAIL_ADDRESS>↑
- lib/minitest/*
-
Imported minitest 3.3.0 (r7676)
- test/minitest/*
-
ditto
Tue Aug 21 09:05:32 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/testunit/tests_for_parallel/ptest_forth.rb
-
added a test case which causes an error.
- test/testunit/test_parallel.rb
-
follow above change. see [Bug #6882]
Tue Aug 21 05:43:00 2012 James Edward Gray II<EMAIL_ADDRESS>↑
- lib/csv.rb
-
Fixes #161 on github
- lib/csv.rb
-
You can now specify a pattern for :skip_lines. Matching lines will not be passed to the CSV parser.
- lib/csv.rb
-
Patch by Christian Schwartz.
Tue Aug 21 05:25:41 2012 Eric Hodel<EMAIL_ADDRESS>↑
- re.c (rb_reg_initialize_m)
-
Forgot to update output for or'd-options example.
Tue Aug 21 05:18:03 2012 Eric Hodel<EMAIL_ADDRESS>↑
- re.c (rb_reg_initialize_m)
-
Update example to show that regexp options use | an not || to avoid confusion.
2012-08-20¶ ↑
Mon Aug 20 23:02:27 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y
-
more descriptive token names in syntax error messages.
Mon Aug 20 20:36:30 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_method)
-
follow iclasses as klass in cfp but not included modules. [ruby-core:47241] [Bug #6891]
- vm_insnhelper.c (vm_call_bmethod)
-
pass defined_class to follow proper ancestors. [ruby-core:47241] [Bug #6891]
Mon Aug 20 11:40:27 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- common.mk
-
fix failed to make with -j2. gist.github.com/3397935
Mon Aug 20 10:51:01 2012 Shota Fukumori<EMAIL_ADDRESS>↑
- lib/test/unit.rb, lib/test/unit/parallel.rb
-
generate error message (String) in parallel.rb instead of marshalling Exception. Fixes [Bug #6882] [ruby-dev:46054]
2012-08-19¶ ↑
Sun Aug 19 01:24:32 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- enum.c
-
fix docs. github.com/ruby/ruby/pull/129 by richardkmichael (Richard Michael).
Sun Aug 19 00:47:26 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- lib/fileutils.rb
-
fix typo. github.com/ruby/ruby/pull/155 by simonc (Simon COURTOIS).
2012-08-18¶ ↑
Sat Aug 18 09:57:46 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- enc/depend
-
fix inplace-build condition. enc.mk is generated with setting $srcdir to enc, but pwd is still top build directory. [ruby-core:47236] [Bug #6888]
2012-08-17¶ ↑
Fri Aug 17 23:28:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- object.c (rb_any_to_s, rb_obj_inspect)
-
preserve encodings of class name and instance variable names.
Fri Aug 17 12:39:33 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/dl/lib/dl/func.rb (DL::Function#bind)
-
allow to return/break from the callback method. (Fiddle already allows it.) [Bug #6389] [ruby-dev:45604]
2012-08-16¶ ↑
Thu Aug 16 12:09:51 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- nacl/pepper_main.c (init_loadpath)
-
Pushes the correct load path on other architectures than x86_64. Fixes #6873.
Thu Aug 16 19:54:24 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c, vm_core.h
-
simplify tracing mechanism.
- include/ruby/ruby.h
-
remove internal data definition and macros.
- internal.h (ruby_suppress_tracing), vm_trace.c
-
rename ruby_suppress_tracing() to rb_suppress_tracing() and remove unused function parameter.
- parse.y
-
fix to use renamed rb_suppress_tracing().
- thread.c (thread_create_core)
-
no need to set RUBY_VM_VM.
- vm.c (mark_event_hooks)
-
move definition to vm_trace.c.
- vm.c (ruby_vm_event_flags)
-
add a global variable. This global variable represents all of Threads and VM's event masks (T1#events | T2#events | … | VM#events). You can check the possibility kick trace func or not with ruby_vm_event_flags. ruby_vm_event_flags is maintained by vm_trace.c.
- cont.c (fiber_switch, rb_cont_call)
-
restore tracing status. [Feature #4347]
- test/ruby/test_continuation.rb
-
ditto.
Thu Aug 16 19:15:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- object.c (rb_class_initialize)
-
forbid inheriting uninitialized class. another class tree not based on BasicObject cannot exist. [ruby-core:47148][Bug #6863]
Thu Aug 16 11:52:06 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/-ext-/test_printf.rb (Test_SPrintf#test_{taint,untrust})
-
use plain object so that the results of to_s and inspect are infected. [ruby-dev:46053] [Bug #6881]
Thu Aug 16 09:46:07 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- strftime.c
-
remove unnecessary macros to check traditional C. github.com/ruby/ruby/pull/46 by lateau (Daehyub Kim).
- vsnprintf.c
-
remove K&R.
2012-08-15¶ ↑
Wed Aug 15 19:37:33 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- configure.in (ac_cv_func_shutdown)
-
shutdown(2) has a dummy implementation but has no declaration and does not work in NativeClient SDK pepper_20.
Wed Aug 15 19:29:29 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- common.mk (vm_backtrace.o)
-
Added missing dependencies.
- ext/nkf/depend (nkf.o)
-
ditto.
Wed Aug 15 20:47:49 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- object.c (rb_obj_inspect)
-
Kernel#inspect: do not call to_s. A class can now benefit from the nice default inspect even if it defines to_s. Also, there is no more unexpected change in inspect result.
- NEWS
-
Add note about the change.
- bignum.c, io.c, numeric.c, object.c, proc.c, vm.c (Init_*)
-
Adapt internal structures (by aliasing inspect to to_s) so they don't rely on the removed behavior (#inspect calling overridden to_s).
- test/ruby/test_object.rb (test_inspect)
-
add tests for Kernel#inspect.
- lib/pp.rb (class PP)
-
do not call to_s anymore, as inspect no more does (mame).
- test/test_pp.rb (class PPInspectTest)
-
remove related assertion (mame). [ruby-core:43238][Feature #6130]
- test/drb/drbtest.rb (DRbCore#teardown, DRbAry#teardown)
-
adapt DRb tests with the new change (shirosaki). [ruby-core:47182][Bug #6866]
Wed Aug 15 18:05:37 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#failed)
-
need to delete the status line if the status is skipped and -q is specified.
Wed Aug 15 16:26:52 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- sprintf.c (ruby__sfvextra)
-
the result should be infected by the given strings.
- sprintf.c (ruby__sfvwrite)
-
set buffer length and exclude uninitialized garbage to get correct coderange.
Wed Aug 15 16:20:09 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (ID_H_TARGET)
-
make timestamp file of id.h so that the header will not be remade repetitively.
Wed Aug 15 11:39:53 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c
-
separate trace_func related functions from thread.c.
- thread.c
-
ditto.
- common.mk
-
add vm_trace.o.
- inits.c
-
call Init_vm_trace().
2012-08-14¶ ↑
Tue Aug 14 16:25:46 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- test/erb/test_erb.rb (test_html_escape)
-
add assertions for the cases where the argument is not a String.
Tue Aug 14 16:03:31 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (check_valid_dir)
-
reject “…” as directory name. [Bug #6851]
Tue Aug 14 16:02:51 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_file_exhaustive.rb (TestFileExhaustive#test_stat_dotted_prefix)
-
added.
Tue Aug 14 15:39:09 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_file_exhaustive.rb (TestFileExhaustive#test_stat_drive_root)
-
added.
Tue Aug 14 10:38:17 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/erb.rb (ERB::Util.html_escape)
-
fix r36687: call to_s before passing it to CGI.escapeHTML.
2012-08-13¶ ↑
Mon Aug 13 13:13:19 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/erb.rb (ERB::Util.html_escape)
-
use CGI.escapeHTML to escape single quotes. [ruby-core:47138] [Bug #6861]
2012-08-12¶ ↑
Sun Aug 12 11:57:20 2012 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- vm.c (invoke_block_from_c)
-
fix unintentional block passing. [ruby-dev:45071] [Bug #5832]
2012-08-10¶ ↑
Fri Aug 10 08:41:28 2012 Eric Hodel<EMAIL_ADDRESS>↑
- gc.c (gc_malloc_allocated_size)
-
RDoc does not process macros, so mention this method is only available when ruby is built with CALC_EXACT_MALLOC_SIZE
- gc.c (gc_malloc_allocations)
-
ditto
2012-08-09¶ ↑
Thu Aug 9 23:46:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- tool/mkrunnable.rb
-
see build_os instead of target arch for cross-compiling.
- configure.in (MINIRUBY)
-
use real path for include path.
- template/fake.rb.in (builddir)
-
remove duplications
Thu Aug 9 20:03:11 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_file_exhaustive.rb (TestFileExhaustive#test_stat_special_file)
-
add a test. GetFileAttributesExW fails to get attributes of special files such as pagefile.sys.
- win32/win32.c (check_valid_dir)
-
for performance, check the path by FindFirstFileW only if the path contains “…”
- win32/win32.c (winnt_stat)
-
use GetFileAttributesExW instead of FindFirstFileW since GetFileAttributesExW is faster. Based on the patch by Dusan D. Majkic. [ruby-core:47083] [Feature #6845]
Thu Aug 9 18:33:46 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (proc_options)
-
show version only once even if -v and –version are given together. twitter.com/d6rkaiz/status/233491797085671424
Thu Aug 9 12:37:22 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/openssl/test_config.rb (OpenSSL#test_constants)
-
skip this test if platform is Mac OS X or Windows. [Bug #6830]
2012-08-08¶ ↑
Wed Aug 8 22:51:30 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (eval_under)
-
singletons other than special constants don't need cref-scope hack.
Wed Aug 8 22:45:38 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (.y.h)
-
split from .y.c rule to manage dependency on parse.h. [ruby-core:46741] [Bug #6789]
- common.mk (id.h)
-
keep old file unless changed.
Wed Aug 8 17:11:20 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (ADD_INSNL)
-
make ADD_INSNL as alias of ADD_INSN1.
Wed Aug 8 17:08:14 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- bootstrap/test_exception.rb
-
fix a last committed test.
Wed Aug 8 16:27:58 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c, insns.def (checkmatch)
-
remove checkincludearray instruction and add new instruction checkmatch. This change is to solve [Bug #4438] “rescue args type check omitted”.
- iseq.c
-
increment ISEQ_MAJOR_VERSION because removal of checkincludearray instruction.
- vm_core.h
-
add several definitions for the checkmatch instruction.
- vm_insnhelper.c (check_match)
-
added.
- bootstraptest/test_exception.rb
-
add a test.
- test/ruby/test_exception.rb
-
ditto.
Wed Aug 8 05:51:20 2012 Eric Hodel<EMAIL_ADDRESS>↑
- proc.c (method_clone)
-
Added documentation. Patch by Robin Dupret. Fixes #152 on github.
2012-08-07¶ ↑
Tue Aug 7 20:19:29 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/readline/readline.c (Init_readline)
-
rl_catch_signals=0 returns back. Without this, on FreeBSD9 and readline 6.2 irb can't catch ^C. [Bug #5423]
Tue Aug 7 20:12:39 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_exec.c, insns.def (leave)
-
solve problems on OPT_CALL_THREADED_CODE. Catch up finish frame structure on OPT_CALL_THREADED_CODE.
- vm_core.h
-
add rb_thread_t#retval for temporary space on OPT_CALL_THREADED_CODE.
- vm.c (th_init)
-
clear rb_thread_t#retval as Qundef.
- vm_dump.c (rb_vmdebug_debug_print_pre)
-
fix debug print format.
Tue Aug 7 11:58:27 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_require.rb (TestRequire#test_require_twice)
-
added.
Tue Aug 7 11:35:37 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_method.c (rb_redefine_opt_method)
-
use RCLASS_ORIGIN to avoid SEGV when a module-prepended class is refined.
Tue Aug 7 10:46:37 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_file_exhaustive.rb (TestFileExhaustive#test_expand_path*)
-
refactoring. split the method into some chunks of the same kind of tests.
Tue Aug 7 00:31:09 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_special_singleton_class_of)
-
utility function.
- vm_eval.c (eval_under)
-
special deal for class variable scope with instance_eval.
- vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec)
-
allow method definition in instance_eval of special constants. [ruby-core:28324] [Bug #2788]
Tue Aug 7 00:23:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- variable.c (CVAR_LOOKUP)
-
split into helper functions.
2012-08-06¶ ↑
Mon Aug 6 19:15:11 2012 Masaki Suketa<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole_variant.rb
-
setting WIN32OLE.locale to pass some assertion. Thanks to Hiroshi Shirosaki. [ruby-core:46873][Bug #6814]
Mon Aug 6 15:54:50 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- internal.h, class.c, eval.c, insns.def
-
find the appropriate receiver for super called in instance_eval. If such a receiver is not found, raise NoMethodError. [ruby-dev:39772] [Bug #2402]
Mon Aug 6 14:54:38 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- include/ruby/ruby.h, eval.c, vm_insnhelper.c
-
fix typo.
Mon Aug 6 13:13:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (vm_call_super)
-
since cfp->klass is always class or iclass, no search from method entry.
- insns.def (defined)
-
now should use klass in the current control frame to search superclass, not me->klass. reported by naruse.
Mon Aug 6 11:19:19 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/etc/test_etc.rb (TestEtc#test_getpwuid)
-
`s' is never set to nil.
Mon Aug 6 11:08:48 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/syslog/test_syslog_logger.rb
-
skip unless Syslog module is available.
Mon Aug 6 00:40:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (BigMath_s_log)
-
fix format specifier.
Mon Aug 6 00:39:24 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (NUM2ULONG)
-
optimize by inline as well as NUM2LONG, and cast to unsigned long explicitly for the platforms where SIZEOF_VALUE is larger than SIZEOF_LONG.
- include/ruby/ruby.h (NUM2SSIZET)
-
fix type to cast.
2012-08-05¶ ↑
Sun Aug 5 21:10:36 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined. remove unused declarations. [ruby-core:47004] [Bug #6837]
Sun Aug 5 19:31:57 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
just move functions and so on. I don't touch any internal implementation.
Sun Aug 5 13:22:29 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
use gcc-4.2 prior to clang, gcc, and cc if exist for the use of Snow Leopard's old clang. see also r36594, r36610, r36611.
Sun Aug 5 06:55:10 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_{core,strftime}.c
-
[ruby-core:46990].
2012-08-04¶ ↑
Sat Aug 4 22:56:20 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
use inline functions instead of macros, and close up related codes for the profiler.
Sat Aug 4 20:37:56 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (gc_mark_children)
-
use gc_mark_ptr instead of marking a object directly.
Sat Aug 4 10:02:03 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- test/ruby/test_alias.rb (test_super_in_aliased_module_method)
-
add a test case for [ruby-dev:46028], which fails in 1.8.
Sat Aug 4 01:56:06 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_search_normal_superclass)
-
no longer needs receiver, klass is always unique in the ancestors now.
Sat Aug 4 01:27:40 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- insns.def (invokesuper)
-
reverted r36612 so that super in an aliased method will not call the same method.
2012-08-03¶ ↑
Fri Aug 3 19:26:10 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- insns.def (invokesuper)
-
don't skip the same class. instead, use rb_method_entry_get_with_omod() to avoid infinite loop when super is used with refinements. [ruby-core:30450] [Bug #3351]
Fri Aug 3 19:21:19 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in
-
use clang prior to gcc only when self-compiling on darwin. search default compilers on other platforms. [Bug #6816]
Fri Aug 3 17:25:49 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
move RUBY_MINGW32 after AC_PROG_CC. RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816]
- configure.in
-
don't use AC_PROG_CC in AS_CASE.
Fri Aug 3 17:21:52 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/runner.rb
-
get rid of loading previously installed gems. [ruby-dev:46025]
Fri Aug 3 16:40:01 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- .travis.yml (notifications)
-
[experimental] IRC notifications.
2012-08-02¶ ↑
Thu Aug 2 20:32:29 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_mod_using)
-
new method Module#using. [experimental]
- eval.c (rb_mod_refine)
-
new method Module#refine. [experimental]
- eval.c (f_using)
-
new method Kernel#using. [experimental]
Thu Aug 2 20:08:02 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- class.c, insns.def, method.h, proc.c, vm.c, vm_core.h, vm_eval.c, vm_insnhelper.c, vm_insnhelper.h, vm_method.c
-
add klass to rb_control_frame_t to implement super correctly.
Thu Aug 2 13:23:08 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in (AC_PROG_CC)
-
AC_PROG_CC tries clang at first on darwin. [Bug #6816]
Thu Aug 2 11:39:25 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
return true or false. Patch by Dirkjan Bussink. [Bug #6821]
- test/ruby/test_gc.rb
-
add test-case for this bug.
2012-08-01¶ ↑
Wed Aug 1 22:29:12 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- ext/digest/digest.c (hexencode_str_new)
-
return an ASCII string
- test/digest
-
tests for all kind of digests encodings [ruby-core:46792][Bug #6799]
Wed Aug 1 05:50:53 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_rubyoptions.rb (TestRubyOptions#test_encoding)
-
Fix test_encoding failure on Windows. With chcp 65001, 1252 and 437, test_encoding failed. Test result depends on locale because LANG environment variable doesn't affect locale on Windows. [ruby-core:46872] [Bug #6813]
Wed Aug 1 00:33:19 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (include_class_new)
-
fix duplication of prepended module. since m_tbl of prepended module is always zero, copy from its copy iclass of original.
2012-07-31¶ ↑
Tue Jul 31 18:22:34 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- variable.c (classname)
-
tell if found name is permanent. search tmp_classpath only if class id is set. [ruby-core:42865][Bug #6078]
- variable.c (rb_class_path)
-
duplicate found temporary path.
- variable.c (rb_set_class_path_string, rb_set_class_path)
-
set class id to find classpath.
Tue Jul 31 10:36:12 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych.rb
-
updated to released version.
- ext/psych/psych.gemspec
-
ditto
Tue Jul 31 06:18:06 2012 Eric Hodel<EMAIL_ADDRESS>↑
- time.c (time_sec)
-
Remove extra wording about leap seconds and refer directly to Wikipedia's leap second page for further information. [Bug #6749]
2012-07-30¶ ↑
Mon Jul 30 23:01:47 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/rubygems/platform.rb (Gem::Platform#initialize)
-
Support pattern like x86_64-netbsd6.99.7.
Mon Jul 30 21:00:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- variable.c (find_class_path)
-
no retry when preferred is given.
- variable.c (classname)
-
if classid is set try it to find full qualified class path, and then try arbitrary class path. try tmp_classpath at last even if enclosing namespace is anonymous. fix r36574. [ruby-core:42865][Bug #6078]
- variable.c (rb_set_class_path_string, rb_set_class_path)
-
set tmp_classpath instead of classpath if the name is not permanent.
Mon Jul 30 14:24:20 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- variable.c
-
store anonymous class path in tmp_classpath but not in classpath. [ruby-core:42865][Bug #6078]
Mon Jul 30 13:11:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (DLDFLAGS)
-
on Darwin, deprecate -flat_namespace to get rid of huge imported symbols table.
- configure.in (LIBRUBY_RELATIVE)
-
libruby_so is not made when disable-shared, so no absolute path is used for it and executable file is runnable anywhere.
Mon Jul 30 01:30:10 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- common.mk
-
add a dependency. [ruby-core:46741] [Bug #6789]
2012-07-29¶ ↑
Sun Jul 29 15:44:47 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- thread.c (thread_create_core)
-
hide th->async_errinfo_mask_stack from ObjectSpace.each_object. refix of r36539.
Sun Jul 29 23:57:27 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/socket/option.c (inet_ntop)
-
use rb_w32_inet_ntop, instead of inet_ntop directly, which is unavailable on older version Windows.
- win32/win32.c (rb_w32_inet_ntop)
-
type should be const.
Sun Jul 29 14:20:34 2012 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- thread.c (Init_Thread)
-
does not need to set klass explicitly.
Sun Jul 29 06:21:04 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- win32/win32.c
-
suppress warning redeclared on mingw64. *_s functions are declared if MINGW_HAS_SECURE_API is defined. Follow up r36556.
Sun Jul 29 00:28:46 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
remove unused initialization.
2012-07-28¶ ↑
Sat Jul 28 16:26:09 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- win32/win32.c (gmtime_r)
-
use _gmtime64_s() with x86_64-w64-mingw32.
- win32/win32.c (localtime_r)
-
use _localtime64_s() with x86_64-w64-mingw32. Since FileTimeToSystemTime() seems not work with large value under x64. Mingw-w64 doesn't have these declaration. [ruby-core:46780] [Bug #6794]
2012-07-27¶ ↑
Fri Jul 27 18:25:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_check_io)
-
make public.
- process.c (check_exec_redirect)
-
try conversion to IO on redirect parameters. [ruby-core:44181] [Bug #6269]
Fri Jul 27 17:58:12 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (RUBY_CPPOUTFILE)
-
get rid of variable conflict so CPPFLAGS is not duplicated. [ruby-core:43097] [Bug #6119]
Fri Jul 27 12:12:36 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/mkexports.rb
-
should not export DllMain(). reported by luis at [ruby-core:46743] [Bug #6790], solved by Heesob Park, and confirmed by nobu.
2012-07-26¶ ↑
Thu Jul 26 14:51:29 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- test/net/http/test_https.rb (TestNetHTTPS#test_session_reuse)
-
localhost is not (always) <IP_ADDRESS>. Don't expect that.
Thu Jul 26 07:18:38 2012<EMAIL_ADDRESS>↑
- ext/json/fbuffer/fbuffer.h
-
avoid compilation error on AIX by -ansi -std=iso9899:199409 (r36038). [ruby-core:46744] [Bug #6791].
Thu Jul 26 00:42:23 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- thread.c (thread_create_core, Init_Thread)
-
hide th->async_errinfo_queue and th->async_errinfo_mask_stack from ObjectSpace.each_object.
2012-07-25¶ ↑
Wed Jul 25 17:41:05 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- complex.c, rational.c
-
compatible marshal loader for compatibilities with 1.8. [ruby-core:45775] [Bug #6625]
Wed Jul 25 17:17:05 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- atomic.h
-
prefer GCC atomic builtins than Windows APIs, if possible, since they are generic.
Wed Jul 25 11:16:57 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/.document
-
Removed. All files in net/ should be included in RDoc.
Wed Jul 25 10:00:23 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/testunit/test_redefinition.rb
-
broken class/method names.
Wed Jul 25 09:26:32 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/cgi/html.rb
-
Use << instead of +=. `a += b` is syntax sugar of `a = a + b`; it creates a new string object. `a << b` is concatenation and doesn't create new object.
Wed Jul 25 09:16:26 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/cgi/html.rb (element_init)
-
suppress redefine warning. Don't define methods if they are already defined.
Wed Jul 25 09:05:38 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/http.rb
-
Added SSL session reuse across connections for a single instance to speed up connection. [Feature #5341]
- NEWS
-
ditto
- test/net/http/test_https.rb
-
Tests for #5341
Wed Jul 25 06:54:24 2012 Eric Hodel<EMAIL_ADDRESS>↑
- doc/re.rdoc
-
Fix spelling
Wed Jul 25 06:49:12 2012 Eric Hodel<EMAIL_ADDRESS>↑
- re.c (rb_reg_s_last_match)
-
Update $~ to reference Regexp documentation about “special global variables”. [Bug #6723]
Wed Jul 25 06:28:56 2012 Eric Hodel<EMAIL_ADDRESS>↑
- iseq.c
-
Added documentation. Patch by David Albert. [Bug #6785]
Wed Jul 25 03:05:06 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- parse.y
-
added symbols and qsymbols productions for %i and %I support. %i{ .. } returns a list of symbols without interpolation, %I{ .. } returns a list of symbols with interpolation. Thanks to Josh Susser for inspiration of this feature. [Feature #4985]
- ext/ripper/eventids2.c
-
added ripper events for %i and %I.
- test/ripper/test_parser_events.rb
-
ripper tests
- test/ripper/test_scanner_events.rb
-
ditto
- test/ruby/test_array.rb
-
test for %i and %I behavior
2012-07-24¶ ↑
Tue Jul 24 23:34:43 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- include/ruby/win32.h (rb_w32_pow)
-
add new function. We use powl() instead of broken pow() for x64-mingw32. This workaround fixes test failures related to floating point numeric. [ruby-core:46686] [Bug #6784]
Tue Jul 24 15:01:24 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_socket, rb_w32_socketpair)
-
remember the family in the high word of socklist value.
- win32/win32.c (overlapped_socket_io, recvmsg, sendmsg, setfl)
-
follow above changes.
- win32/win32.c (rb_w32_getsockname)
-
set remembered family to the argument when OS's function fails.
Tue Jul 24 12:35:13 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_dir_m17n.rb
-
remove a garbage.
- test/ruby/test_dir_m17n.rb
-
convert from ascii-8bit to other encoding with 8bit bytes always fails.
Tue Jul 24 12:32:18 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_dir_m17n.rb
-
sorry, typo.
Tue Jul 24 12:13:26 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_dir_m17n.rb
-
refactoring. RE should be in the left side of the =~ operator, and compare the result with nil is meaningless.
Tue Jul 24 11:35:20 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_pack.rb (test_pack_unpack_M)
-
was redefined accidentally.
Tue Jul 24 09:31:18 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems
-
Updated to RubyGems 1.8.24, a bugfix release.
Tue Jul 24 08:30:15 2012 Luis Lavena<EMAIL_ADDRESS>↑
- test/ruby/test_dir_m17n.rb (create_and_check_raw_file_name)
-
add new helper method to ease encoding testing. Patch by Oleg Sukhodolsky. [ruby-core:46589][Bug #6765]
- test/ruby/test_dir_m17n.rb (test_filename_extutf8)
-
use filesystem encoding when reading entries and comparing.
- test/ruby/test_dir_m17n.rb (test_filename_utf8_raw_name)
-
removed.
- test/ruby/test_dir_m17n.rb (test_filename_utf8_raw_jp_name)
-
split test.
Tue Jul 24 08:09:30 2012 Luis Lavena<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole_method.rb (is_ruby64?)
-
Correct platform used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki. [ruby-core:46651][Bug #6782]
Tue Jul 24 07:22:58 2012 Eric Hodel<EMAIL_ADDRESS>↑
- time.c (time_sec)
-
Updated description of leap seconds for accuracy. Based on patch by Marcus Stollsteimer. [Bug #6749]
Tue Jul 24 07:03:11 2012 Eric Hodel<EMAIL_ADDRESS>↑
- string.c (rb_str_sub)
-
Fixed wording of documentation to match the replacement operation. Minor cleanup of markup. [Bug #6719]
- string.c (rb_str_sub_bang)
-
Minor wording change for clarity, minor cleanup of markup.
2012-07-23¶ ↑
Mon Jul 23 23:58:40 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- enc/Makefile.in (TARGET_NAME, TARGET_ENTRY)
-
needed for EXTDLDFLAGS on some platforms. [ruby-core:46600] [Bug #6768]
- enc/depend
-
no longer needs tweaking DLDFLAGS for TARGET names.
Mon Jul 23 22:48:19 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/open-uri.rb
-
use respond_to? to test Tempfile. [ruby-dev:45995] [Bug #6781] reported by hsbt (Hiroshi SHIBATA).
Mon Jul 23 14:43:34 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (LIBPATHENV)
-
LIBPATH is used on AIX, but not SHLIB_PATH which was carelessly copied from HP/UX. suggested by Perry Smith at [ruby-core:46397]. [Bug #6728]
Mon Jul 23 01:55:08 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- test/uri/test_generic.rb (URI#test_find_proxy)
-
add tests with empty *_proxy env variables.
Mon Jul 23 01:47:26 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- test/uri/test_generic.rb (URI#with_env)
-
unset proxy related env variables. [Bug #6774]
- test/uri/test_generic.rb (URI#test_find_proxy)
-
fix failures when proxy related env variables already set. [Bug #6774]
2012-07-22¶ ↑
Sun Jul 22 23:58:48 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_execute_interrupts_common)
-
increase running_time_us on THREAD_TO_KILL like on THREAD_RUNNABLE. This cause not to switch from a thread which is to be killed on FreeBSD and Mac OS X. see also the test. This issue maybe exist for long time but happens after r36430.
2012-07-21¶ ↑
Sat Jul 21 06:21:45 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/http.rb
-
fixes for r36476. [Feature #6546] u64.rubyci.org/~chkbuild/ruby-trunk/log/20120720T030101Z.diff.html.gz
- lib/net/http.rb (Net::HTTP.newobj)
-
return back for compatibility.
- lib/net/http.rb (Net::HTTP.new)
-
set default_port if proxy port is not given.
- lib/net/http.rb (Net::HTTP#initialize)
-
ditto.
- lib/net/http.rb (Net::HTTP#proxy?)
-
return true or false.
- lib/net/http.rb (Net::HTTP#proxy_address)
-
check proxy_uri is not nil.
- lib/net/http.rb (Net::HTTP#proxy_port)
-
ditto.
Sat Jul 21 23:12:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread_pthread.c (ruby_init_stack)
-
STACK_GROW_DIR_DETECTION is necessary on platforms with unknown stack direction. [Bug #6761]
Sat Jul 21 15:13:42 2012 Shota Fukumori<EMAIL_ADDRESS>↑
- lib/test/unit/testcase.rb (method_added)
-
refactoring.
Sat Jul 21 14:06:41 2012 Shota Fukumori<EMAIL_ADDRESS>↑
- lib/test/unit/testcase.rb
-
warn when test_* method is redefined. Patch by mame (Yusuke Endoh). [Feature #2643] [ruby-core:27790]
- test/testunit/test_redefinition.rb
-
Test for above.
- test/testunit/test4test_redefinition.rb
-
Ditto.
Sat Jul 21 08:41:14 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/logger.rb
-
Updated example in Logger comment to match other examples and fixed a bug. Patch by Marcus Stollsteimer. [Bug #6759]
2012-07-20¶ ↑
Fri Jul 20 17:20:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- random.c (rb_random_real)
-
refine error message.
Fri Jul 20 11:03:17 2012 Eric Hodel<EMAIL_ADDRESS>↑
- NEWS
-
Updated net/http for automatic proxy detection (#6546) and automatic gzip and deflate compression (#6492, #6494).
Fri Jul 20 10:55:38 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/http.rb
-
Net::HTTP now automatically detects and uses proxies from the environment. A proxy may also be specified as before. Net::HTTP::Proxy still creates anonymous classes, but these classes are only used to store configuration information. When an HTTP instance is created the configuration is now copied. Additionally, Net::HTTP::ProxyDelta is no longer used by Net::HTTP [Feature #6546]
- lib/open-uri.rb
-
Moved URI::Generic#find_proxy to uri/generic.
- lib/uri/generic.rb
-
Imported find_proxy from open-uri.
- test/open-uri/test_open-uri.rb
-
Moved proxy-discovery tests to URI.
- test/uri/test_generic.rb
-
Imported proxy-discovery tests from open-uri.
- test/net/http/test_http.rb
-
Added tests for proxy behavior.
Fri Jul 20 09:34:11 2012 Eric Hodel<EMAIL_ADDRESS>↑
- test/socket/test_socket.rb
-
Ignore IPv6 unique local addresses on OS X (iCloud Back to my Mac addresses) for test_udp_socket since they do not act as loopback addresses. [Bug #6692]
Fri Jul 20 09:32:14 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/socket/raddrinfo.c (addrinfo_ipv6_unique_local_p)
-
Added Addrinfo#ipv6_unique_local? to detect RFC 4193 unique local addresses. Part of #6692
- ext/socket/rubysocket.h
-
Add IN6_IS_ADDR_UNIQUE_LOCAL macro if missing.
- test/socket/test_addrinfo.rb
-
Test for ipv6_unique_local?
Fri Jul 20 07:40:32 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/http/response.rb
-
Automatically inflate gzip and deflate-encoded response bodies. [Feature #6942]
- lib/net/http/generic_request.rb
-
Automatically accept gzip and deflate content-encoding for requests. [Feature #6494]
- lib/net/http/request.rb
-
Updated documentation for #6494.
- lib/net/http.rb
-
Updated documentation for #6492 and #6494, removed Content-Encoding handling now present in Net::HTTPResponse.
- test/net/http/test_httpresponse.rb
-
Tests for #6492
- test/net/http/test_http_request.rb
-
Tests for #6494
- test/open-uri/test_open-uri.rb (test_content_encoding)
-
Updated test for automatic content-encoding handling.
Fri Jul 20 03:42:54 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread_pthread.c
-
use ifdef, not if.
2012-07-19¶ ↑
Thu Jul 19 15:08:40 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_thread_s_control_interrupt, rb_thread_s_check_interrupt)
-
added for Thread.control_interrupt and Thread.check_interrupt. See details on rdoc. I'll make an ticket for this feature.
- test/ruby/test_thread.rb
-
add a test for Thread.control_interrupt.
- thread.c (rb_threadptr_raise)
-
make a new exception object even if argc is 0.
- thread.c (rb_thread_kill)
-
kill thread immediately if target thread is current thread.
- vm_core.h (RUBY_VM_CHECK_INTS_BLOCKING)
-
added. CHECK_INTS while/after blocking operation.
- vm_core.h (RUBY_VM_CHECK_INTS)
-
require rb_thread_t ptr.
- cont.c (fiber_switch)
-
use replaced RUBY_VM_CHECK_INTS().
- eval.c (ruby_cleanup)
-
ditto.
- insns.def
-
ditto.
- process.c (rb_waitpid)
-
ditto.
- vm_eval.c (vm_call0)
-
ditto.
- vm_insnhelper.c (vm_call_method)
-
ditto.
Thu Jul 19 22:46:48 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/ruby/test_io.rb
-
remove temporally files early.
Thu Jul 19 15:38:35 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- variable.c (rb_mod_class_variables)
-
return inherited variables except when the optional argument is set to false. [ruby-dev:44034] [Bug #4971]
- variable.c (rb_mod_constants)
-
fix typo in documentation.
Thu Jul 19 14:30:43 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- internal.h
-
move mark function declarations that should be private.
Thu Jul 19 14:18:22 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/socket/init.c (rsock_init_sock)
-
need to update max fd on all platforms.
Thu Jul 19 14:15:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread.c (rb_gc_mark_threads)
-
remove deprecated function.
Thu Jul 19 13:28:03 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*)
-
re-enable the tests because now it's OK on windows.
Thu Jul 19 13:26:25 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/socket/extconf.rb
-
now enable IPv6 by default on mswin.
Thu Jul 19 09:33:46 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/emitter.c (initialize)
-
allow a configuration object to be passed to the constructor so that mutation isn't required after instantiation.
- ext/psych/lib/psych/handler.rb
-
add configuration object
- ext/psych/lib/psych/visitors/emitter.rb
-
use configuration object if extra configuration is present.
Thu Jul 19 08:20:25 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/ruby/test_file.rb
-
remove temporally files early.
Thu Jul 19 07:37:41 2012 Masatoshi SEKI<EMAIL_ADDRESS>↑
- test/drb/drbtest.rb
-
fixed: can't delete unix domain sockets problem.
Thu Jul 19 03:41:20 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- bignum.c
-
Added include <strings.h> for ffs(). Patch by Perry Smith. Thank you. [Bug #6748]
Thu Jul 19 01:56:02 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- include/ruby/intern.h (rb_num_zerodiv)
-
Added NORETURN. Patched by Xi Wang. [Bug #6736]
2012-07-18¶ ↑
Wed Jul 18 23:57:38 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- pack.c (pack_pack)
-
round down too long uuencode width. folding width in uuencode format cannot be longer than 63 bytes.
Wed Jul 18 23:04:18 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/dbm/dbm.c (fdbm_empty_p)
-
fix wrong condition introduced in r36438.
- ext/sdbm/init.c (fsdbm_empty_p)
-
ditto.
Wed Jul 18 23:08:57 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/ruby/test_beginendblock.rb
-
remove temporally files early.
Wed Jul 18 22:43:02 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/ruby/test_autoload.rb
-
remove temporally files early.
Wed Jul 18 21:59:46 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/ruby/test_argf.rb
-
use temporally directory.
Wed Jul 18 19:41:19 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/openssl/test_config.rb
-
remove temporally files early.
Wed Jul 18 17:45:26 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- error.c (rb_builtin_type_name)
-
map by index.
Wed Jul 18 16:17:40 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (have_framework)
-
get rid of separating -framework option and its argument and dealing with the argument as a library or an object name. if $LDFLAGS were an array…
Wed Jul 18 16:09:10 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- ext/curses/extconf.rb
-
support PDCurses. patched by Luis Lavena. [ruby-core:46485] [Feature #6735]
Wed Jul 18 15:50:25 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- parse.y (primary)
-
allow an empty grouped expression as the operand of the not operator (e.g., not ()). [ruby-core:45976] [Bug #6674]
- parse.y (parser_yylex)
-
show no warning for a grouped expression as the operand of the not operator (e.g., not (a)) or as an argument of a method call without parentheses (e.g., foo (a)). [ruby-core:39050] [Bug #5214]
Wed Jul 18 15:33:21 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_thread_call_without_gvl2)
-
added. it can skip last CHECK_INTS. See document for more details. Document about it was updated a bit.
- include/ruby/thread.h (decl. of rb_thread_call_without_gvl2)
-
added.
- thread.c (rb_thread_call_with_gvl)
-
remove “EXPERIMENTAL!” warning from a document.
Wed Jul 18 14:53:21 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (EXTDLDFLAGS)
-
split options for each extension libraries, and unused in ruby.pc. [Bug #6734]
- lib/mkmf.rb (MakeMakefile#configuration)
-
add EXTDLDFLAGS.
Wed Jul 18 14:47:23 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c
-
fix last commit miss.
Wed Jul 18 14:16:51 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_async_errinfo_*)
-
manage async errors queue. Async events such as an exception throwed by Thread#raise, Thread#kill and thread termination (after main thread termination) will be queued to th->async_errinfo_queue. - clear: clear the queue. - enque: enque err object into queue. - deque: deque err object from queue. - active_p: return 1 if the queue should be checked. rb_thread_t#thrown_errinfo was removed.
- vm_core.h
-
add declarations of rb_threadptr_async_errinfo_*. remove rb_thread_t#thrown_errinfo field and add rb_thread_t#async_errinfo_queue (queue body: Array), rb_thread_t#async_errinfo_queue_checked (flag), rb_thread_t#async_errinfo_mask_stack(Array, not used yet).
- vm.c (rb_thread_mark)
-
fix a mark function.
- cont.c (rb_fiber_start)
-
enque an error.
- process.c (after_fork)
-
clear async errinfo queue.
Wed Jul 18 14:25:55 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- pack.c
-
(ditto) bitwise operations are not char. Apply explicit casts on them.
Wed Jul 18 12:59:50 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- encoding.c (load_encoding)
-
explicit cast to suppress warning. Though the cast truncates some bits, from heuristic analysis I believe it is OK to do so here.
- bignum.c (rb_cstr_to_inum)
-
ditto.
Wed Jul 18 12:55:54 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/benchmark.rb
-
Fix Benchmark#benchmark output with an empty caption. patched by Benoit Daloze. [ruby-core:45719] [Bug #6610]
Wed Jul 18 10:00:54 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/debug.rb
-
Added toplevel documentation. Based on patch by Oscar Del Ben. [Bug #6743], fixes #146 on github.
Wed Jul 18 09:33:59 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole_event.rb (TestWIN32OLE_EVENT)
-
use standard skip method to skip tests.
Wed Jul 18 09:26:45 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/logger.rb
-
Updated typos and output to match modern Logger output. Patch by Marcus Stollsteimer. [Bug #6738]
Wed Jul 18 07:59:29 2012 Takeyuki FUJIOKA<EMAIL_ADDRESS>↑
- lib/cgi/util.rb (CGI.escapeHTML,unescapeHTML)
-
Add ' for HTML5 escaping. [Feature #6620]
2012-07-17¶ ↑
Tue Jul 17 22:17:13 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/open-uri.rb
-
call io.close! for Tempfile.
Tue Jul 17 16:41:32 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- proc.c (rb_proc_arity)
-
return normal value (not -n-1) if it is not a labmda, or it is a labmda and no arg_opts. [Bug #5694]
Tue Jul 17 03:56:34 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/to_ruby.rb
-
strings with YAML anchors are properly referenced. Patched by Joe Rafaniello via Github: github.com/tenderlove/psych/pull/69
- ext/psych/lib/psych/visitors/yaml_tree.rb
-
ditto
- test/psych/test_alias_and_anchor.rb
-
test for change
2012-07-16¶ ↑
Mon Jul 16 23:20:24 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (rb_integer_float_cmp)
-
use FIXNUM_MIN and FIXNUM_MAX, instead of LONG_MIN and LONG_MAX.
Mon Jul 16 22:50:41 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- numeric.c (flo_to_s)
-
use the exponential form if the integer part is longer than or equal DBL_DIG. [ruby-dev:45960] [ruby-trunk - Bug #6741]
Mon Jul 16 22:01:00 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- ext/readline/readline.c
-
fixed docs. [Bug #6740] patched by Nobuhiro IMAI.
Mon Jul 16 19:24:01 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (rb_integer_float_eq)
-
new function.
- (rb_big_eq)
-
use rb_integer_float_eq.
- internal.h (rb_integer_float_eq)
-
declared.
- numeric.c (flo_eq)
-
use rb_integer_float_eq.
- (fix_equal)
-
ditto.
Mon Jul 16 19:02:31 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (rb_integer_float_cmp)
-
rename a local variable.
Mon Jul 16 18:40:26 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (rb_integer_float_cmp)
-
renamed from rb_big_float_cmp.
- internal.h
-
follow the above change.
- numeric.c
-
ditto.
Mon Jul 16 17:57:54 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (rb_big_float_cmp)
-
compare an integer and float precisely. [ruby-core:31376] [Bug #3589] reported by Tomasz Wegrzanowski.
Mon Jul 16 17:29:45 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (rb_big_float_cmp)
-
support fixnum for argument x.
- numeric.c (fix_equal)
-
use rb_big_float_cmp.
- (fix_cmp)
-
ditto.
- (fix_gt)
-
ditto.
- (fix_ge)
-
ditto.
- (fix_lt)
-
ditto.
- (fix_le)
-
ditto.
- (flo_eq)
-
ditto.
- (flo_cmp)
-
use rb_big_float_cmp for fixnum argument.
- (flo_gt)
-
ditto.
- (flo_ge)
-
ditto.
- (flo_lt)
-
ditto.
- (flo_le)
-
ditto.
Mon Jul 16 17:05:53 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- test/fileutils/test_fileutils.rb
-
add test for FileUtils#uptodate?
Mon Jul 16 16:56:12 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- lib/fileutils.rb (FileUtils.uptodate?)
-
remove useless parameter. patched by Oscar Del Ben.[Bug #6708]
Mon Jul 16 15:37:56 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (rb_big_eq)
-
use rb_big_float_cmp.
Mon Jul 16 15:00:45 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_big_float_cmp)
-
declared.
- bignum.c (rb_big_float_cmp)
-
extracted from rb_big_cmp and big_op.
- (rb_big_cmp)
-
use rb_big_float_cmp.
- (big_op)
-
ditto.
- numeric.c (flo_cmp)
-
use rb_big_float_cmp.
- (flo_gt)
-
ditto.
- (flo_ge)
-
ditto.
- (flo_lt)
-
ditto.
- (flo_le)
-
ditto.
Mon Jul 16 14:14:21 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- bignum.c (enum big_op_t)
-
new type.
- (big_op)
-
use enum big_op_t.
- (big_gt)
-
ditto.
- (big_ge)
-
ditto.
- (big_lt)
-
ditto.
- (big_le)
-
ditto.
2012-07-14¶ ↑
Sat Jul 14 18:18:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- array.c (rb_get_values_at)
-
fill with nil out of range. [ruby-core:43678] [Bug #6203]
Sat Jul 14 17:17:55 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- cont.c (cont_restore_0)
-
improve docs. [Bug #6706] patched by Oscar Del Ben via github.com/ruby/ruby/pull/140
Sat Jul 14 17:08:13 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (rb_hash_s_create)
-
raise an exception, when input elements are not one or two elements arrays. [ruby-core:39945] [Bug #5406]
Sat Jul 14 16:16:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#_run_parallel)
-
use Array#uniq!.
- lib/test/unit.rb (Test::Unit::Runner#deal)
-
deal tasks to workers.
- lib/test/unit.rb (Test::Unit::Runner#quit_workers)
-
close and kill all workers.
- lib/test/unit.rb (Test::Unit::Runner#delete_worker)
-
delete dead worker from working set.
- lib/test/unit.rb (Test::Unit::Runner#launch_worker)
-
add new worker to working set.
- lib/test/unit.rb (Test::Unit::Runner#launch_worker)
-
extract.
- lib/test/unit.rb (Test::Unit::Runner#start_watchdog)
-
extract.
- lib/test/unit.rb (Test::Unit::Runner#_run_parallel)
-
move initializations with nothing to release outside begin/ensure.
Sat Jul 14 16:04:24 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- array.c (rb_ary_join)
-
should not infected by separator if it is not used. [ruby-core:42161][Bug #5902]
Sat Jul 14 02:31:55 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/intern.h (rb_thread_blocking_region)
-
fix declarations prototypes without arguments in C++ have different meanings than C.
2012-07-12¶ ↑
Thu Jul 12 12:32:26 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/runner.rb
-
skip default gems to get rid of loading old versions before installation.
Thu Jul 12 11:44:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_new_frozen)
-
since the result object should have same tainted/untrusted bits with the original object, return new object if the shared object unmatch. [ruby-core:39745][Bug #5374]
Thu Jul 12 10:46:39 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*)
-
cannot cross between network interfaces on Windows, so skip this test until we find better test.
Thu Jul 12 08:48:33 2012 Ryan Davis<EMAIL_ADDRESS>↑
- lib/minitest/*
-
Imported minitest 3.2.0 (r7598)
- test/minitest/*
-
ditto
Thu Jul 12 05:11:41 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- insns.def (defined)
-
use method entry and id in cfp for proper superclass, since klass in iseq is shared by dynamically defined methods from the same block. [ruby-core:45831][Bug #6644]
Thu Jul 12 01:49:07 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/http.rb (Net::HTTP#connect)
-
use local_host and local_port if specified. patched by Ricardo Amorim [Feature #6617]
2012-07-11¶ ↑
Wed Jul 11 17:36:39 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb
-
append ENCOBJS to DLDOBJS but not EXTSOLIBS which is not a target, to compile enc/encinit.c.
Wed Jul 11 12:38:20 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul)
-
nonstatic initializer of an aggregate type is a C99ism.
- ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul)
-
get rid of VC++ warnings.
Wed Jul 11 10:16:38 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby.h (HAVE_RUBY_THREAD_H)
-
to show ruby/thread.h to be available. fixup of r36355.
Wed Jul 11 03:26:47 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/zlib/zlib.c
-
Added streaming support to inflate processing. This allows zlib streams to be processed without huge memory growth. [Feature #6612]
- NEWS
-
ditto
- ext/zlib/zlib.c (zstream_expand_buffer)
-
Uses rb_yield when a block is given for streaming support. Refactored to use zstream_expand_buffer_into to remove duplicate code.
- ext/zlib/zlib.c (zstream_expand_buffer_protect)
-
Added wrapper function to pass jump state back through GVL-free section to allow zstream clean-up before terminating the ruby call.
- ext/zlib/zlib.c (zstream_expand_buffer_without_gvl)
-
Acquire GVL to yield processed chunk of output stream.
- ext/zlib/zlib.c (zstream_detach_buffer)
-
When a block is given, returns Qnil mid-stream and yields the output buffer at the end of the stream.
- test/zlib/test_zlib.rb
-
Updated tests
2012-07-10¶ ↑
Tue Jul 10 22:57:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/thread.h
-
new header file for thread stuff.
- thread.c (rb_thread_call_without_gvl)
-
export. [Feature#4328] returns void* instead of VALUE. [Feature #5543]
- thread.c (rb_thread_blocking_region)
-
deprecate. [ruby-core:46295]
Tue Jul 10 10:48:59 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- include/ruby/win32.h (NT, NtInitialize)
-
removed unused old macros.
Tue Jul 10 10:43:37 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- configure.in
-
removed –enable/disable-win95 options. (see r36342)
Tue Jul 10 00:44:41 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
Removed RUBY_GLOBAL_SETUP completely. It is no meaning definition since r24894.
- main.c
-
ditto.
- nacl/pepper_main.c
-
ditto.
2012-07-09¶ ↑
Mon Jul 9 16:11:30 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- vm_eval.c (rb_eval_string_from_file, rb_eval_string_from_file_protect)
-
new functions to replace rb_compile_main_from_string() and ruby_eval_main().
- nacl/pepper_ruby.c
-
Follows the change in vm_eval.c
Mon Jul 9 14:05:42 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (ruby_opaque_t)
-
removed.
- (ruby_compile_main_from_file, ruby_compile_main_from_string, ruby_eval_main)
-
removed.
- eval.c (ruby_eval_main_internal)
-
became ruby_exec_internal() again.
- (ruby_eval_main)
-
removed.
- ruby.c (PREPARE_PARSE_MAIN) reverted. (parse_and_compile_main, ruby_compile_main_from_file, ruby_compile_main_from_string)
-
removed
Mon Jul 9 23:59:36 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- dln.c
-
Simplify and make consistent an ifdef for Mac OS X.
- ext/socket/rubysocket.h
-
ditto.
- ext/tk/stubs.c
-
ditto.
- io.c
-
ditto.
- process.c
-
ditto.
- signal.c
-
ditto.
- vm_dump.c
-
ditto.
Mon Jul 9 17:37:35 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (win95_stat)
-
removed unnecessary macro.
Mon Jul 9 17:22:16 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/configure.bat, win32/setup.mak, win32/Makefile.sub
-
omitted Win9x support. removed –enable/disable-win95 options.
- include/ruby/win32.h, file.c, win32/win32.c
-
ditto.
- win32/README.win32
-
ditto.
Mon Jul 9 13:28:34 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (DLDFLAGS)
-
use TARGET_ENTRY to specify an entry point instead of TARGET which may contain non-identifier characters.
- lib/mkmf.rb (create_makefile)
-
add TARGET_NAME which is the first part consists of only word characters. [ruby-core:46248][Bug #6709]
2012-07-08¶ ↑
Sun Jul 8 07:36:19 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (shadowing_lvar_gen, warn_unused_var)
-
no warnings for variables starting with _. [ruby-core:46160][Feature #6693]
2012-07-07¶ ↑
Sat Jul 7 23:07:30 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- test/csv/test_features.rb
-
add require for Tempfile.
- test/csv/test_serialization.rb
-
ditto.
2012-07-06¶ ↑
Fri Jul 6 06:49:50 2012 Eric Hodel<EMAIL_ADDRESS>↑
- array.c (rb_ary_aref)
-
Added a description of the behavior of index positioning. [Bug #6680]
- array.c (rb_ary_aset)
-
ditto. Reordered sentences for clarity.
- string.c (rb_str_aref_m)
-
Added a description of the behavior of index positioning
Fri Jul 6 05:38:44 2012 Eric Hodel<EMAIL_ADDRESS>↑
- string.c (rb_str_bytesize)
-
Improve documentation. Patch by Oscar Del Ben from github issue #138.
- string.c (rb_str_empty)
-
ditto.
- string.c (rb_str_times)
-
ditto.
- string.c (rb_str_dump)
-
ditto.
- string.c (rb_str_center)
-
ditto.
Fri Jul 6 04:05:59 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/zlib/zlib.c (zstream_expand_buffer_without_gvl)
-
Use ruby_xrealloc() to avoid crash with CALC_EXACT_MALLOC_SIZE.
2012-07-05¶ ↑
Thu Jul 5 17:32:19 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- internal.h
-
move ThreadShield declarations from intern.h.
Thu Jul 5 16:00:24 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread.c (ThreadShield)
-
rename from Barrier.
Thu Jul 5 15:14:50 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- bootstraptest/runner.rb (show_progress)
-
refine error output. do not count non-empty error message, but just warn.
- bootstraptest/runner.rb (error)
-
show errors immediately if tty.
Thu Jul 5 12:28:11 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- test/net/http/test_httpresponses.rb
-
Add a test file for Net::HTTPResponses and put a test case for the previous bug.
2012-07-04¶ ↑
Wed Jul 4 21:55:35 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ruby.c (proc_options)
-
warn only if -K and -w option is specified. see also r36274 [Feature #5206]
Wed Jul 4 21:41:44 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- gc.c, atomic.h (ATOMIC_SIZE_*)
-
moved from gc.c to atomic.h [ruby-dev:45909]
Wed Jul 4 19:13:15 2012 Masaki Suketa<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole.rb (test_s_codepage_changed)
-
FileSystemObject only supports ANSI or UTF-16LE encoding. Patch by h.shirosaki (Hiroshi Shirosaki) [ruby-trunk - Bug #6650]
Wed Jul 4 11:52:12 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- gc.c (ATOMIC_SIZE_*)
-
64bit Windows support.
Wed Jul 4 11:11:28 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- eval.c (rb_frame_callee, rb_f_callee_name)
-
fix to return the called id. this longstanding bug has been caused and blocked by the structure of old rb_control_frame_t and rb_iseq_t.
- vm_insnhelper.c (vm_push_frame)
-
set proper method entry.
Wed Jul 4 08:29:31 2012 Eric Hodel<EMAIL_ADDRESS>↑
- array.c (rb_ary_aref)
-
Updated documentation to indicate the starting index is an index into the array or string. Updated examples to show behavior of indexes at the end of an array or string. Based on patch by Marcus Stollsteimer. [Bug #6680]
- array.c (rb_ary_aset)
-
ditto.
- string.c (rb_str_aref)
-
ditto. Also added descriptive argument names to call-seq section.
Wed Jul 4 07:05:59 2012 Eric Hodel<EMAIL_ADDRESS>↑
- test/zlib/test_zlib.rb (test_inflate_partial_input)
-
Added test for inflating incomplete zlib streams.
2012-07-03¶ ↑
Tue Jul 3 23:14:16 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- gc.c (ATOMIC_SIZE_EXCHANGE)
-
fix function name on Solaris [Bug #6689] [ruby-dev:45904]
Tue Jul 3 16:07:49 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- gc.c (vm_malloc_fixup, vm_xrealloc, vm_xfree, after_gc_sweep)
-
use atomic operations to update malloc_params.
Tue Jul 3 14:50:16 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/zlib/zlib.c (zstream_run_func)
-
Don't exit run loop for buffer error. [Feature #6615]
- ext/zlib/zlib.c
-
Fix style to match existing functions.
Tue Jul 3 12:05:51 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/dl/cfunc.c (rb_dlcfunc_call)
-
also needed the workaround for VC8 for x64. [ruby-dev:45875] [Bug #6676] reported by aves_ramphastos (Seigo Ishigane)
Tue Jul 3 11:56:46 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/zlib/zlib.c (zstream_detach_buffer)
-
Refactored tainting of output string, moving it from the callee to zstream_detach_buffer.
- ext/zlib/zlib.c (rb_zstream_finish)
-
ditto
- ext/zlib/zlib.c (rb_zstream_flush_next_out)
-
ditto
- ext/zlib/zlib.c (rb_deflate_deflate)
-
ditto
- ext/zlib/zlib.c (rb_deflate_flush)
-
ditto
- ext/zlib/zlib.c (rb_inflate_inflate)
-
ditto
Tue Jul 3 11:16:06 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (runnable)
-
make symbolic links to run in build directory.
Tue Jul 3 10:46:06 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ruby.c (proc_options)
-
warn if -K option is specified. [Feature #5206]
Tue Jul 3 06:12:13 2012 Eric Hodel<EMAIL_ADDRESS>↑
- object.c (Init_Object)
-
Added RDoc location pointers for Kernel#methods, Kernel#protected_methods, Kernel#private_methods and Kernel#public_methods. [Bug #6666]
Tue Jul 3 06:02:54 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/zlib/zlib.c (zstream_run)
-
Process zlib streams without GVL. [Feature #6615]
- NEWS
-
ditto.
2012-07-02¶ ↑
Mon Jul 2 22:13:04 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- thread.c (rb_thread_aref)
-
add explanation for why Thread#[] and Thread#[]= are fiber-local and not thread-local. reported by Julien A. [ruby-core:41606] [ruby-trunk - Bug #5750]
Mon Jul 2 21:25:55 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- time.c (timew_out_of_timet_range)
-
specialization for SIZEOF_TIME_T == SIZEOF_INT64_T.
Mon Jul 2 17:06:32 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_include_module)
-
include modules after the origin.
- class.c (include_modules_at)
-
skip prepended modules.
- class.c (rb_prepend_module)
-
now basic.klass in ICLASS refers the old original class/module. [ruby-dev:45868][Bug #6662]
- class.c (rb_mod_ancestors)
-
ditto.
- vm_method.c (search_method)
-
search method entry from the origin iclass.
Mon Jul 2 05:54:58 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
[ruby-core:46058].
Mon Jul 2 05:35:43 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c (d_lite_marshal_load)
-
accepts old dump.
Mon Jul 2 03:21:53 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- README.EXT.ja
-
fixed args of have_struct_member() , create_makefile() same as r35977. however, mkmf.rb include no Japanese-docs, so Appendix C was not removed. [Bug #6597]
2012-06-29¶ ↑
Fri Jun 29 05:08:41 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/test/unit/parallel.rb
-
workaround fix for rubygems. RubyGems can't find rake if the source directory is not equal to the directory which is running the test. [Bug #6604]
2012-06-28¶ ↑
Thu Jun 28 20:33:15 2012 Luis Lavena<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole.rb (test_s_codepage_changed)
-
FileSystemObject only supports ANSI or UTF-16LE encoding. Patch by bosko (Bosko Ivanisevic) [ruby-trunk - Bug #6650]
Thu Jun 28 09:27:09 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- class.c (class_instance_method_list)
-
consider prepended Class/Module when recur != 0. [ruby-dev:45863] [Bug #6660]
- test/ruby/test_module.rb (test_prepend_instance_methods_false)
-
add a test for it.
Thu Jun 28 06:12:42 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_mod_ancestors)
-
fix ancestors order. [ruby-core:45919][Bug #6658] [ruby-dev:45861][Bug #6659]
2012-06-27¶ ↑
Wed Jun 27 21:28:59 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- lib/racc/parser.rb
-
NotImplementError is not exist.
- lib/irb/output-method.rb (IRB::OutputMethod#print)
-
ditto.
Wed Jun 27 21:31:13 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_prepend_module)
-
ancestors of prepending module also should be included. [ruby-core:45914][Bug #6654]
Wed Jun 27 21:01:32 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (class_instance_method_list)
-
m_tbl in prepended class/module is NULL. [ruby-core:45915][Bug #6655]
Wed Jun 27 16:48:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_prepend_module)
-
prepend module into another module.
- eval.c (rb_mod_prepend)
-
new method Module#prepend. [Feature #1102]
Wed Jun 27 09:15:46 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (is_popen_fork)
-
check if fork and raise NotImplementedError if unavailable.
- io.c (rb_io_s_popen)
-
allow environment variables hash and exec options as flat parameters, not in an array arguments. [Feature#6651] [EXPERIMENTAL]
- process.c (rb_execarg_extract_options)
-
extract exec options, but no exceptions on non-exec options and returns them as a Hash.
- process.c (rb_execarg_setenv)
-
set environment variables.
2012-06-26¶ ↑
Tue Jun 26 16:57:14 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread_pthread.c (register_cached_thread_and_wait)
-
return immediately if malloc() failed. [ruby-core:43960] [ruby-trunk - Bug #6235]
- thread_pthread.c (USE_THREAD_CACHE)
-
check already defined or not.
Tue Jun 26 10:01:56 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_s_popen)
-
revert r36213 “popen: shell commands with envvar” because it disabled to let single command bypass shell.
2012-06-25¶ ↑
Mon Jun 25 17:49:28 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_mix_module)
-
revert Module#mix.
Mon Jun 25 16:57:38 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (rb_mod_define_method)
-
allow method transplanting from a module to either class or module. [ruby-core:34267][Feature #4254]
Mon Jun 25 11:34:45 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- internal.h
-
use rb_pid_t instead of pid_t because of there is no definition of pid_t here on Windows.
Mon Jun 25 00:25:01 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- configure.in (for stack end address)
-
remove human68k specific check. It is no longer supported.
2012-06-24¶ ↑
Sun Jun 24 23:02:17 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (pipe_open)
-
merge win32 code using spawnv().
Sun Jun 24 22:53:42 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (check_exec_fds)
-
separate check_exec_fds_1() since nonstatic initializer of an aggregate type is not allowed by C89.
Sun Jun 24 07:47:17 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
options field removed.
- process.c
-
follow the rb_execarg change.
2012-06-23¶ ↑
Sat Jun 23 23:48:21 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (proc_spawn_cmd)
-
unused variable removed to suppress a warning.
- (save_env)
-
ditto. [ruby-core:45797] reported by Luis Lavena.
Sat Jun 23 23:19:31 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add new_pgroup_given and new_pgroup_flag fields.
- process.c (EXEC_OPTION_NEW_PGROUP)
-
removed.
- (proc_spawn_cmd)
-
take a struct rb_execarg argument. use the new fields.
- (rb_execarg_addopt)
-
use the new fields.
- (rb_spawn_process)
-
follow the proc_spawn_cmd change. [ruby-core:45794] [ruby-trunk - Bug #6633] reported by Luis Lavena.
Sat Jun 23 20:26:36 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add fd_dup2, fd_close, fd_open, fd_dup2_child fields.
- process.c (EXEC_OPTION_DUP2)
-
removed.
- (EXEC_OPTION_CLOSE)
-
removed.
- (EXEC_OPTION_OPEN)
-
removed.
- (EXEC_OPTION_DUP2_CHILD)
-
removed.
- (mark_exec_arg)
-
mark the new fields.
- (check_exec_redirect1)
-
change condition for default option.
- (check_exec_redirect)
-
take a struct rb_execarg argument. use the new fields.
- (rb_execarg_addopt)
-
follow the check_exec_redirect change.
- (check_exec_fds)
-
use the new fields.
- (save_redirect_fd)
-
ditto.
Sat Jun 23 19:01:18 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_execarg_fixup)
-
fix envopts condition.
Sat Jun 23 18:44:13 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (check_exec_redirect1)
-
extracted from check_exec_redirect.
Sat Jun 23 17:22:02 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (save_env)
-
don't use EXEC_OPTION_UNSETENV_OTHERS.
- (rb_execarg_run_options)
-
ditto.
Sat Jun 23 17:04:08 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add env_modification field.
- process.c (EXEC_OPTION_ENV)
-
removed.
- (mark_exec_arg)
-
mark env_modification field.
- (rb_exec_fillarg)
-