check RUBY_VM_CHECK_INTS_BLOCKING first.
- thread.c (sleep_timeval)
-
ditto.
- test/ruby/test_thread.rb (test_async_interrupt_blocking)
-
add a test exceptions are correctly deferred and raised on :on_blocking context.
Wed Dec 5 02:36:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk, defs/id.def, template/id.c.tmpl
-
generate id.c as well as id.h.
Wed Dec 5 00:56:21 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_mutex_owned_p)
-
new method that return current thread have the target mutex or not. [Feature #7505] [ruby-dev:46697]
- test/ruby/test_thread.rb (test_mutex_owned, test_mutex_owned2)
-
test for the above.
- NEWS
-
new for the above.
Wed Dec 5 00:05:47 2012 Masatoshi SEKI<EMAIL_ADDRESS>↑
- lib/erb.rb (make_compiler, add_put_cmd, add_insert_cmd)
-
extract methods.
2012-12-04¶ ↑
Tue Dec 4 18:21:04 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- test/ruby/memory_status.rb (Memory)
-
use fiddle/types if available.
- test/ruby/memory_status.rb (Memory::Win32)
-
:stdcall is needed on x86 WIN32. This commit partly reverts r38054.
Tue Dec 4 18:05:58 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- ext/fiddle/lib/fiddle/types.rb
-
copied from ext/dl/lib/dl/types.rb and modified for Fiddle, needed for migration from DL to Fiddle.
Tue Dec 4 17:57:09 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- ext/fiddle/lib/fiddle/import.rb (import_function, bind_function)
-
should respect call_type for migration from DL to Fiddle. [Bug #7484] [ruby-core:50405]
Tue Dec 4 16:54:00 2012 Eric Hodel<EMAIL_ADDRESS>↑
- .document
-
Added ChangeLog and doc/ChangeLog-* as documentation
Tue Dec 4 16:47:46 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/parser/changelog.rb
- lib/rdoc/parser.rb
-
ditto
- test/rdoc/test_rdoc_parser_changelog.rb
-
Test for above.
Tue Dec 4 16:23:32 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- marshal.c (path2class, path2module)
-
use PRIsVALUE.
- marshal.c (w_object, marshal_dump, marshal_load)
-
use rb_check_funcall if possible.
- marshal.c (w_object, marshal_dump, r_object0, marshal_load)
-
use RB_GC_GUARD() (directly or indirectly) instead of volatile.
- variable.c (rb_path_to_class)
-
prevent the argument from GC.
Tue Dec 04 13:55:07 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_opts.h
-
enable optimization - operand unification. Operand unification technique enable to combine an instruction and specific operands and make new instruction.
- defs/opt_operand.def
-
add several configuration of operand unification.
- insns.def
-
use `int' instead to suppress warning.
Tue Dec 4 08:33:46 2012 Eric Hodel<EMAIL_ADDRESS>↑
- README.EXT
-
Converted to RDoc format
- README.EXT.ja
-
ditto
Tue Dec 4 08:32:10 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/ri/driver.rb
-
Fixed ri page display for files with extensions.
- test/rdoc/test_rdoc_ri_driver.rb
-
Test for above
Tue Dec 4 04:11:50 2012 Eric Hodel<EMAIL_ADDRESS>↑
- .document
-
Add NEWS for `ri ruby:NEWS`
- NEWS
-
Set format as rdoc
- doc/NEWS-1.8.7
-
ditto
- doc/NEWS-1.9.1
-
ditto
- doc/NEWS-1.9.2
-
ditto
- doc/NEWS-1.9.3
-
ditto
2012-12-03¶ ↑
Mon Dec 3 17:58:53 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- parse.y
-
replace parser->enc with current_enc.
Mon Dec 3 20:37:22 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_exec.c
-
check VM_COLLECT_USAGE_DETAILS.
Mon Dec 3 20:28:02 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (iseq_specialized_instruction)
-
change condition of using `opt_send_simple'. More method invocations can be simple.
Mon Dec 3 20:03:38 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- test/ruby/test_objectspace.rb
-
skip RuntimeError which says a message “can't modify frozen File”. Is that correct behavior?
Mon Dec 03 20:00:19 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_exec.c
-
vm_analysis_insn should be static.
Mon Dec 3 19:10:12 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- random.c (Init_Random), rational.c (Init_Rational)
-
make marshal methods private. [Feature #6539]
Mon Dec 3 18:29:27 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.h
-
iseq_catch_table_entry::catch_type should be Fixnum because they are pushed into Array in a compiler. [Bug #7502]
- test/ruby/test_objectspace.rb
-
add a test of this issue.
Mon Dec 3 18:25:16 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- template/id.h.tmpl (preserved_ids)
-
“empty?” is not an attribute name.
Mon Dec 3 16:23:09 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c (vm_backtrace_to_ary)
-
check negative size (2nd arg).
Mon Dec 3 15:50:33 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- misc/ruby-additional.el (ruby-mode-set-encoding)
-
Unbreak by fixing a typo, s/set/setq/.
Mon Dec 3 14:14:19 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (iseq_compile_each)
-
joke shouldn't use id.h defined ids.
- id.c (Init_id)
-
ditto.
- common.mk
-
fix dependency.
Mon Dec 3 12:43:35 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- misc/ruby-mode.el (ruby-block-end-re, ruby-delimiter, ruby-mode-syntax-table, ruby-parse-partial, ruby-beginning-of-indent)
-
merge from Emacs.
- misc/ruby-mode.el (ruby-calculate-indent)
-
fix indentation of argument lines in parentheses. [Bug #5140]
Mon Dec 3 07:52:41 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/parser.rb
-
Improved modeline support. Patch by nobu.
- test/rdoc/test_rdoc_parser.rb
-
Test for above.
Sun Dec 3 00:06:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (BigDecimal_new)
-
stop checking string taintness. [Bug #5508] [ruby-core:40510]
2012-12-02¶ ↑
Sun Dec 2 19:26:47 2012 Masaya Tarui<EMAIL_ADDRESS>↑
- thread.c (RB_GC_SAVE_MACHINE_CONTEXT, rb_gc_save_machine_context)
-
extract rb_gc_save_machine_context to RB_GC_SAVE_MACHINE_CONTEXT. NOTE: machine_regs and machine_stack_end must be set in current scope.
Sun Dec 2 18:46:24 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- array.c, enum.c, insns.def, io.c, numeric.c, parse.y, process.c, range.c
-
use prepared IDs. A patch from charliesome (Charlie Somerville). [Bug #7495]
- common.mk
-
add dependency to id.h.
- common.mk
-
replace ID_H_INCLUDES with id.h.
Sun Dec 2 16:48:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/weakref.rb (rdoc)
-
Clean up usage, add example, note ArgumentError on WeakRef.new
Sun Dec 2 16:45:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- gc.c (WeakMap)
-
Add doc for internal reference, use lib/weakref.rb
Sun Dec 2 07:24:23 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/parser.rb
-
Parse files with a -*- rdoc -*- modeline
- test/rdoc/test_rdoc_parser.rb
-
Test for above
Sun Dec 2 06:02:00 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- gc.h (SET_MACHINE_STACK_END)
-
add volatile for preventing harmful optimization. [ruby-dev:46665] [Bug #7468]
Sun Dec 2 05:01:58 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_line_trace_each)
-
iterate `line' event only.
- test/ruby/test_iseq.rb
-
add a test for this change.
Sun Dec 2 02:46:04 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c
-
add TracePoint#inspect.
- test/ruby/test_settracefunc.rb
-
add a test for this change.
2012-12-01¶ ↑
Sat Dec 1 21:18:19 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- test/ruby/test_backtrace.rb
-
add a test for Thread::Backtrace::Location#inspect. BTW, tests for `caller_locations' are not enough. Any volunteers are welcome.
Sat Dec 1 21:06:58 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c (location_inspect_m)
-
add Thread::Backtrace::Location#inspect. It same as loc_obj.to_s.inspect.
Sat Dec 1 19:24:09 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_puts)
-
recurse for the argument itself, not converted array elements. [ruby-core:42444] [Bug #5986]
Sat Dec 1 19:01:36 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- marshal.c (w_object, r_object0)
-
call private marshal methods. [Feature #6539]
Sat Dec 1 18:52:22 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/commands/cleanup_command.rb
-
Fix cleanup command for multiple gems. [ruby-trunk - #7481] by Kouhei Sutou
- test/rubygems/test_gem_commands_cleanup_command.rb
-
Test for above.
- lib/rubygems.rb
-
Autoload Gem::Source to prevent test failures
Sat Dec 1 18:17:00 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- complex.c (Init_Complex), time.c (Init_Time)
-
make marshal methods private. [Feature #6539]
- object.c (Init_Object)
-
make remove_instance_variable public. [Feature #6539]
- id.c (Init_id), template/id.h.tmpl
-
add initialize_{copy,clone,dup} and respond_to_missing?.
- vm_method.c (rb_method_entry_make)
-
make above methods private. [Feature #6539]
Sat Dec 1 16:40:22 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_thread.rb
-
move ConditionVariable related test into test/thread/test_cv.rb.
- test/thread/test_cv.rb
-
new file.
- test/thread/test_cv.rb (test_condvar_empty_signal)
-
new tests.
- test/thread/test_cv.rb (test_condvar_empty_broadcast)
-
ditto.
Sat Dec 1 15:14:25 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_thread.rb (test_cv_wait_deadlock)
-
enable cv deadlock test.
Sat Dec 1 14:23:33 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/thread.rb (ConditionVariable)
-
use hash instead of array for @waiters.
- test/thread/test_queue.rb (test_sized_queue_and_wakeup)
-
remove a test because @waiters no longer have a chance to duplicated. Now it's a hash.
Sat Dec 1 17:16:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- misc/ruby-electric.el (ruby-electric-curlies)
-
use kill-region instead of interactive command delete-backward-char.
Sat Dec 1 17:12:55 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- misc/inf-ruby.el (inferior-ruby-mode)
-
fix the compilation-shell-minor-mode configuration. a patch by j2petkov (Jean-Christophe Petkovich) in [ruby-core:46518]. [Bug #6742]
Sat Dec 1 15:05:30 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (glob_helper)
-
use NAMLEN() to tell the length of d_name instead of strlen(), which can access beyond the boundary.
Sat Dec 1 13:48:13 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/specification.rb
-
Don't add default gems to $LOAD_PATH as they are already there.
Sat Dec 1 12:22:17 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- re-added r38053 that is reverted by r38061. Problems by r38053 are resolved by r38096. r38096 removed GEM_SKIP configuration. The below is ChangeLog of r38053
- defs/default_gems
-
Add base directory column.
- tool/rbinstall.rb
-
- Install .gemspecs of default gem to #{GEM_HOME}/specifications/default/. - Update files parameter of .gemspecs by relative path from library directory.
Sat Dec 1 11:09:12 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- variable.c (rb_class_path_no_cache)
-
add a function to get the class path without caching the computed path. Some classes are frozen, and will raise an exception without this.
- probes.d (cmethod-entry, cmethod-return)
-
separate cmethods from regular methods to match set trace func.
- probes_helper.h
-
refactor macros. Fix probes to avoid calling inspect when profiling.
- insns.def
-
update for use with new macros.
- vm_eval.c
-
ditto
- vm_insnhelper.c
-
ditto
- test/dtrace/test_singleton_function.rb
-
fix test for new output.
- test/dtrace/test_cmethod.rb
-
test the cmethod probes.
Sat Dec 1 09:44:16 2012 Eric Hodel<EMAIL_ADDRESS>↑
- test/rdoc/test_rdoc_options.rb
-
Windows drive letters are case-insensitive.
Sat Dec 1 09:42:13 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems.rb
-
Search for gem deps file up the directory tree.
- test/rubygems/test_gem.rb
-
Test for above.
Sat Dec 1 09:33:32 2012 Eric Hodel<EMAIL_ADDRESS>↑
- test/runner.rb
-
Set GEM_HOME, GEM_PATH and GEM_SKIP to empty set. With default_gem support in RubyGems GEM_SKIP prevents loading of built-in gems.
Sat Dec 1 07:16:17 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- compile.c (ADD_CATCH_ENTRY)
-
add a cast to fix SEGV with x64 mingw on Windows 8. Without cast, 0 might be non zero value at higher bits in rb_ary_new3(). [ruby-core:50258] [Bug #7456]
Sat Dec 1 04:07:57 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- parse.y (parser.utf8)
-
remove unused property.
- parse.y (UTF8_ENC)
-
remove unused macro.
- parse.y (parser_tokadd_utf8)
-
use rb_utf8_encoding() directly.
Sat Dec 1 03:49:45 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/sync.rb (Sync_m#sync_synchronize)
-
add Thread.async_interrupt_timing for protecting from async interrupt.
- lib/sync.rb (Sync_m#sync_lock)
-
ditto.
Sat Dec 1 03:38:04 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/thread.rb (ConditionVariable#broadcast)
-
s/RuntimeError/StandardError/
- lib/thread.rb (ConditionVariable#signal)
-
ditto.
Sat Dec 1 03:29:52 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/thread.rb (SizedQueue#pop)
-
rewrite by using ConditionVariable.
- lib/thread.rb (SizedQueue#push)
-
ditto.
- lib/thread.rb (SizedQueue#max)
-
ditto.
- lib/thread.rb (Queue#pop)
-
ditto.
- lib/thread.rb (Queue#push)
-
ditto.
- lib/thread.rb (SizedQueue#num_waiting)
-
adopt the above changes.
- lib/thread.rb (SizedQueue#initialize)
-
ditto.
- lib/thread.rb (Queue#num_waiting)
-
ditto.
- lib/thread.rb (Queue#initialize)
-
ditto.
- test/thread/test_queue.rb (test_sized_queue_and_wakeup)
-
ditto.
Sat Dec 1 03:45:47 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (Thread.async_interrupt_timing)
-
fix RDoc. :never is not used any more.
Sat Dec 1 02:56:19 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c
-
add RubyVM::InstructionSequence (ISeq) inspection methods. * ISeq#path returns path of this ISeq written. * ISeq#absolute_path returns absolute path. * ISeq#label returns label (method name and so on). * ISeq#base_label returns base label (see Thread::Backtrace::Location). * ISeq#first_lineno returns first line number of this ISeq. * ISeq.of(obj) returns ISeq object which obj (Proc or Method) is contains.
- test/ruby/test_iseq.rb
-
add tests.
Sat Dec 1 02:58:51 2012 Eric Hodel<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (rb_event_flag_t)
-
Maintain integer precision for clang error (VALUE aka unsigned long vs unsigned int)
Sat Dec 1 02:53:18 2012 Eric Hodel<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_dependency_installer.rb
-
Use Gem.read_binary instead of IO.binread for ruby 1.8 compatibility in the rubygems source repository. Updates r38075
Sat Dec 1 02:33:20 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_interrupt_mask, async_interrupt_timing_func)
-
merge into them into rb_thread_s_async_interrupt_timing.
- thread.c (rb_thread_s_async_interrupt_timing)
-
ditto.
Sat Dec 1 02:11:47 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_interrupt_mask)
-
add argument check.
- thread.c (async_interrupt_timing_arg_check_i)
-
helper function for the above.
- test/ruby/test_thread.rb (test_async_interrupt_timing_invalid_argument)
-
test for the above.
Sat Dec 1 01:19:34 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/thread.rb (ConditionVariable#broadcast)
-
protect from async interrupt by using Thread.async_interrupt_timing.
- lib/thread.rb (ConditionVariable#signal)
-
ditto.
- lib/thread.rb (ConditionVariable#wait)
-
ditto.
Sat Dec 1 02:04:23 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err)
-
raise if assert_in_out_err misused.
Sat Dec 1 02:08:16 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/rdoc/test_rdoc_rubygems_hook.rb (TestRDocRubygemsHook#test_setup_unwritable)
-
1. check the existence of the file(directory) before touch it. 2. remove test file(directory) after the test. see [ruby-core:50388].
Sat Dec 1 01:51:06 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c
-
add following two methods. * ISeq#line_trace_all returns all line traces (line numbers) * ISeq#line_trace_specify(pos, set) set `pos'th line event to specified_line event (if set is true). These features are introduced for debuggers (mainly to make breakpoint).
- iseq.h
-
add decl. of C APIs.
- test/ruby/test_iseq.rb
-
add tests.
- vm_trace.c
-
add `specified_line' event.
- include/ruby/ruby.h
-
ditto.
Sat Dec 1 01:49:52 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_dependency_installer.rb
-
gems are of course binary files, so use a binary reading method when reading it. see [ruby-core:50388].
Sat Dec 1 01:21:07 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- lib/rubygems/command.rb (Gem::Command#get_all_gem_names_and_versions)
-
who assumes that the pathname of a gem never contains ':' ? yes, on Unixen pathnames can contain ':', and on Windows they almost certainly contain ':'. see [ruby-core:50388].
- lib/rubygems/requirement.rb (Gem::Requirement::PATTERN_RAW)
-
extract the regexp to match the version specifier from PATTERN to use in above method.
Sat Dec 1 00:48:19 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- ext/fiddle/extconf.rb, ext/fiddle/function.c (Fiddle::Function::STDCALL)
-
FFI_STDCALL is not a macro, but an enumeration. [ruby-core:50398] [Bug #7483]
Sat Dec 1 00:08:55 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_installer.rb (TestGemInstaller#test_check_executable_overwrite_other_non_gem)
-
on Windows, rubygems always generate a wrapper .bat file when installing a file into bin, so testing no-overwrite a wrapper file and a non-wrapper file is nonsense. see [ruby-core:50388].
2012-11-30¶ ↑
Fri Nov 30 23:39:58 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_installer.rb (TestGemInstaller#test_check_executable_overwrite_default_bin_dir)
-
if the executable to be overwritten was generated by rubygems, the error message differs from the only copied one's. see [ruby-core:50388].
Fri Nov 30 23:27:26 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_ext_ext_conf_builder.rb (TestGemExtExtConfBuilder::test_class_make)
-
reading with binary mode of course introduce r on Windows. see [ruby-core:50388].
Fri Nov 30 23:11:37 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- lib/rubygems/specification.rb (Gem::Specification.validate_permissions)
-
don't check executability of the source on Windows. they will be wrapped to .bat files when installing. see [ruby-core:50388].
Fri Nov 30 22:44:14 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- vm_core.h (rb_vm_struct)
-
add thread_destruct_lock field.
- thread.c (Init_Thread)
-
ditto.
- thread.c (rb_vm_gvl_destroy)
-
ditto.
- thread.c (thread_start_func_2)
-
make sure vm->running_thread don't point to dead thread.
- thread.c (timer_thread_function)
-
close a race against thread destruction. [Bug #4911]
- vm_core.h (rb_thread_set_current)
-
reset running time of current thread instead of previous thread. We no longer assume previous running thread still live.
Fri Nov 30 21:57:43 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
Fri Nov 30 21:07:56 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- lib/test/unit/parallel.rb (Test::Unit::Worker.run)
-
wrap LoadError because it's Gem::LoadError sometimes. see [Bug #6882]
Fri Nov 30 20:47:44 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c
-
TracePoint#self returns invoking/exiting thread object at thread_begin/end event.
- test/ruby/test_settracefunc.rb
-
fix test.
Fri Nov 30 19:55:17 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/memory_status.rb (Memory::Win32)
-
use fiddle instead of dl, but I doubt fiddle is not compatible with dl. (if you are interested, see the diff.) [ruby-core:50194] [Bug #7443]
Fri Nov 30 19:37:44 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- defs/default_gems
-
Add base directory column.
- tool/rbinstall.rb
-
- Install .gemspecs of default gem to #{GEM_HOME}/specifications/default/. - Update files parameter of .gemspecs by relative path from library directory.
Fri Nov 30 19:30:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- vm_trace.c
-
tracepoint_attr_return_value (TracePoint#return_value): include `:b_return` for method doc tracepoint_enable_m, tracepoint_disable_m (#enable/#disable): don't have block argument, document block scope
Fri Nov 30 18:52:56 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c (tracepoint_disable_m, tracepoint_enable_m)
-
fix block parameter. No argument should be given to a block which is passed to TracePoint#enable (and disable).
Fri Nov 30 18:23:26 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c
-
rename Thread.control_interrupt to Thread.async_interrupt_timing. The option name `:never' is also changed to `:defer'. [ruby-core:50375] [ruby-trunk - Feature #6762]
- thread.c
-
remove Thread.check_interrupt. This method is difficult to understand by name.
- thread.c
-
add Thread.async_interrupted?. This method check any deferred async interrupts.
- test/ruby/test_thread.rb
-
change tests for above.
Fri Nov 30 18:24:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- vm_trace.c
-
Documentation for TracePoint API [ruby-core:47243] [Feature #6895]
Fri Nov 30 17:43:50 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_cmp_m)
-
try to compare with to_str result if possible before calling <=> method. [ruby-core:49279] [Bug #7342]
- string.c (rb_str_cmp_m)
-
use rb_check_funcall instead of respond_to and call.
- string.c (rb_str_cmp_m)
-
return fixed value, one of -1,0,+1 always.
Fri Nov 30 16:19:14 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_dump.c (rb_vm_bugreport)
-
get rid of calling methods in sigsegv handler. based on a patch by charliesome (Charlie Somerville) [ruby-core:49573] [Bug #7402]
Fri Nov 30 16:05:44 2012 Eric Hodel<EMAIL_ADDRESS>↑
- NEWS
-
Added RubyGems 2.0.0
Fri Nov 30 15:24:37 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (parser_yylex)
-
fix false usage of local variable, it cannot appear in fname state [ruby-core:49659] [Bug #7408]
Fri Nov 30 15:20:12 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/package.rb
-
Load YAML for building gems.
- test/rubygems/test_gem_commands_contents_command.rb
-
Sort expected output of default gem contents. Re-fixes r38004 and r38005.
Fri Nov 30 15:15:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- vm_trace.c (set_trace_func)
-
Formatting of params and events
Fri Nov 30 14:45:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/net/http.rb
-
Net::HTTP::Patch to list of HTTP Request Classes Patch by Ryunosuke SATO [Fixes #217 on github]
Fri Nov 30 14:05:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/cgi.rb
-
CGI example for HTML generation Patch by Marcus Stollsteimer [ruby-core:50303] [Bug #7465]
Fri Nov 30 13:52:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- time.c
-
Documentation improvements, grammar and formatting Patch by Bernd Homuth [ruby-core:49203] [Bug #7326]
Fri Nov 30 13:48:33 2012 Eric Hodel<EMAIL_ADDRESS>↑
Fri Nov 30 13:11:53 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/commands/setup_command.rb
-
Remove old files on install of RubyGems. (not by rbinstall.rb).
- test/rubygems/test_gem_commands_setup_command.rb
-
Test for above.
Fri Nov 30 12:47:59 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/abbrev.rb (Abbrev#abbrev)
-
A fixed string prefix pattern should only match the beginning of each word, not the beginning of every line in it.
- lib/abbrev.rb (Abbrev#abbrev)
-
Stop using a regexp that causes a false warning. [Bug #7471]
Fri Nov 30 12:30:55 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- test/test_abbrev.rb
-
Add tests for lib/abbrev.rb.
Fri Nov 30 12:27:51 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/spec_fetcher.rb
-
Allow prerelease spec fetching to fail for bundler.
- test/rubygems/test_gem_spec_fetcher.rb
-
Test for above.
Fri Nov 30 12:20:53 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rake/backtrace.rb
-
Removed duplication in Rake::Backtrace::SUPPRESSED_PATHS
- test/rake/test_rake_backtrace.rb
-
Skip tests when tmpdir is in the suppressed pattern.
Fri Nov 30 11:07:45 2012 Shugo Maeda<EMAIL_ADDRESS>↑
Fri Nov 30 10:38:54 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/ri/driver.rb
-
Relaxed matching for pages to be more user-friendly.
- test/rdoc/test_rdoc_ri_driver.rb
-
Test for above.
Fri Nov 30 09:50:16 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/markdown.rb
-
Fixed warnings with -w
Fri Nov 30 09:38:22 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (RB_GC_GUARD_PTR)
-
add note.
- vm_backtrace.c (backtrace_to_str_ary)
-
use RB_GC_GUARD() instead of RB_GC_GUARD_PTR() which has no effect.
- (backtrace_to_location_ary)
-
ditto.
- (vm_backtrace_to_ary)
-
ditto.
Fri Nov 30 09:22:52 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/commands/contents_command.rb
-
Sort output from command. Replaces r38004, r38005
- test/rubygems/test_gem_commands_contents_command.rb
-
ditto.
- lib/rubygems/defaults.rb
-
Use Gem.path_separator for jruby support.
- lib/rubygems/path_support.rb
-
ditto
Fri Nov 30 08:34:03 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/generator/darkfish.rb
-
Silenced warning
- test/rdoc/test_rdoc_rdoc.rb
-
ditto
- lib/rdoc/markup/parser.rb
-
Use byteslice when available for performance
- test/rdoc/test_rdoc_markup_parser.rb
-
Test for above
- lib/rdoc/test_case.rb
-
ditto
- lib/rdoc/parser/ruby.rb
-
Fixed bug parsing yield({})
- test/rdoc/test_rdoc_parser_ruby.rb (end)
- lib/rdoc/rubygems_hook.rb
-
Skip default gems. Display generator name properly.
- test/rdoc/test_rdoc_rubygems_hook.rb
-
Test for above
- lib/rdoc/servlet.rb
-
Fixed typo.
Fri Nov 30 08:09:56 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
remove a unused function.
Fri Nov 30 07:46:42 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (rb_objspace_call_finalizer)
-
finalize_deferred may free up a object which is reachable from a part after this function, e.g. ruby_vm_destruct(). [ruby-dev:46647] [Bug #7452]
- test/ruby/test_gc.rb (test_finalizing_main_thread)
-
add a test for above.
Fri Nov 30 07:43:44 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_thread_interrupted)
-
avoid warning of implicit conversion.
- thread.c (rb_threadptr_execute_interrupts)
-
ditto.
Fri Nov 30 07:34:28 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c
-
add GC guards.
Fri Nov 30 07:21:33 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c
-
add events * :thread_begin - hook at thread beginning. * :thread_end - hook at thread ending. * :b_call - hook at block enter. * :b_return - hook at block leave. This change slow down block invocation. Please try and give us feedback until 2.0 code freeze.
- include/ruby/ruby.h
-
ditto.
- compile.c (rb_iseq_compile_node)
-
ditto.
- insns.def
-
ditto.
- thread.c
-
ditto.
- vm.c
-
ditto.
- include/ruby/debug.h
-
add a comment.
- test/ruby/test_settracefunc.rb
-
add a tests.
Fri Nov 30 06:56:30 2012 Ryan Davis<EMAIL_ADDRESS>↑
- test/minitest/*
-
Imported minitest 4.3.2 (r8027)
Fri Nov 30 04:16:29 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rake/*
-
Updated to rake 0.9.5
- test/rake/*
-
ditto.
- NEWS
-
ditto.
Fri Nov 30 02:53:47 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- vm.c
-
add a return hook when a method raises an exception.
- probes_helper.h
-
look up klass and method if none are provided.
- eval.c
-
update macro usage.
- vm_eval.c
-
ditto.
- vm_insnhelper.c
-
ditto.
- test/dtrace/test_function_entry.rb
-
test for change.
Fri Nov 30 02:27:12 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- compile.c (compile_array_)
-
refix r37991 remove assertion: it is true only if type == COMPILE_ARRAY_TYPE_HASH. [ruby-dev:46658] [Bug #7466]
- vm.c (m_core_hash_from_ary)
-
add assertion instead of above.
- vm.c (m_core_hash_merge_ary)
-
ditto.
2012-11-29¶ ↑
Thu Nov 29 19:15:14 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- compile.c (compile_array_)
-
hash elements must be paired even for literal elements. [ruby-dev:46658] [Bug #7466]
Thu Nov 29 22:39:35 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ssl_npn_encode_protocol_i)
-
fix byte order issue on big-endian architecture [ruby-core:50292] [Bug #7463]
Thu Nov 29 22:23:31 2012 Hiroshi Nakamura<EMAIL_ADDRESS>↑
- test/openssl/test_cipher.rb (test_ctr_if_exists)
-
add CTR mode test if underlying OpenSSL supports it. See #4408
Thu Nov 29 21:42:16 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_method.c (rb_method_entry_make)
-
add a method entry with VM_METHOD_TYPE_REFINED to the class refined by the refinement if the target module is a refinement. When a method entry with VM_METHOD_TYPE_UNDEF is invoked by vm_call_method(), a method with the same name is searched in refinements. If such a method is found, the method is invoked. Otherwise, the original method in the refined class (rb_method_definition_t::body.orig_def) is invoked. This change is made to simplify the normal method lookup and to improve the performance of normal method calls.
- vm_method.c (EXPR1, search_method, rb_method_entry), vm_eval.c (rb_call0, rb_search_method_entry)
-
do not use refinements for method lookup.
- vm_insnhelper.c (vm_call_method)
-
search methods in refinements if ci->me is VM_METHOD_TYPE_REFINED. If the method is called by super (i.e., ci->call == vm_call_super_method), skip the same method entry as the current method to avoid infinite call of the same method.
- class.c (include_modules_at)
-
add a refined method entry for each method defined in a module included in a refinement.
- class.c (rb_prepend_module)
-
set an empty table to RCLASS_M_TBL(klass) to add refined method entries, because refinements should have priority over prepended modules.
- proc.c (mnew)
-
use rb_method_entry_with_refinements() to get a refined method.
- test/ruby/test_refinement.rb (test_inline_method_cache)
-
do not skip the test because it should pass successfully.
- test/ruby/test_refinement.rb (test_redefine_refined_method)
-
new test for the case a refined method is redefined.
Thu Nov 29 17:45:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- variable.c (rb_const_set)
-
show namespace in warning messages. [Feature #7190]
Thu Nov 29 17:31:53 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/rubygems.rb (Gem.load_yaml)
-
return if Kernel#gem is not defined yet. This causes crash if test-all requires libraries in a certain order. A simple reproducible code is ruby –disable-gem -e'require“yaml”;require“minitest/autorun”'
Thu Nov 29 17:19:26 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/tracer.rb
-
Updated to match removal of custom_require from RubyGems.
- test/test_tracer.rb
-
ditto. Improved failure message if the test fails
Thu Nov 29 17:15:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- gc.c
-
Documentation for GC, GC::Profiler, ObjectSpace, and ObjectSpace::WeakMap [ruby-core:50245] [Bug #7449]
Thu Nov 29 17:12:26 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- tool/generic_erb.rb, tool/id2token.rb
-
add –path-separator option for mingw where make and built ruby live in different world.
- tool/vpath.rb
-
extract from tool/instruction.rb.
Thu Nov 29 17:11:06 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/io/wait/test_io_wait.rb (TestIOWait#fill_pipe)
-
Errno::EWOULDBLOCK may not be the same as Errno::EAGAIN. patch by phasis68 (Heesob Park) at [ruby-core:49894]. [Bug #7420]
Thu Nov 29 17:03:38 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/test_case.rb
-
Determine path to certificates to avoid build-dir problems.
- test/rubygems/test_gem_security_signer.rb
-
Use predetermined paths to avoid build-dir problems.
Thu Nov 29 16:18:14 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/test_case.rb
-
Disable loading of keys and certificates outside rubygems or ruby tests as the files are not available (or necessary).
Thu Nov 29 16:14:41 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c (rb_debug_inspector_open)
-
use RARRAY_LENINT() for int variable.
Thu Nov 29 15:59:55 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/debug.h
-
add rb_debug_inspector_* APIs.
- vm_backtrace.c
-
ditto.
- common.mk
-
add dependency from vm_backtrace.o to include/ruby/debug.h.
- proc.c (rb_binding_new_with_cfp)
-
constify.
- vm.c (rb_vm_get_ruby_level_next_cfp)
-
constify.
- vm_core.h, vm_trace.c
-
move decls.
Thu Nov 29 15:56:14 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/rdoc/test_case.rb (RDoc::TestCase#verbose_capture_io)
-
defined for asserts of warnings.
- test/rdoc
-
use verbose_capture_io on asserts of warnings. they failed when tests was run with RUBYOPT=-W0.
Thu Nov 29 15:53:38 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/psych/extconf.rb
-
added –enable-bundled-libyaml option. this enforces using bundled libyaml.
Thu Nov 29 15:51:54 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems*
-
Updated to RubyGems 2.0
- test/rubygems*
-
ditto.
- common.mk (prelude)
-
Updated for RubyGems 2.0 source rearrangement.
- tool/change_maker.rb
-
Allow invalid UTF-8 characters in source files.
Thu Nov 29 15:38:14 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/debug.h
-
provide rb_tracearg_*() APIs, instead of rb_tracepoint_attr_*(). These APIs are for debuggers/profilers. They will be explained in another docs sometime.
- vm_trace.c
-
ditto.
Thu Nov 29 15:10:45 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- test/minitest/test_minitest_unit.rb
-
restore orig_verbose only if it is set. This broke rdoc's tests. u64.rubyci.org/~chkbuild/ruby-trunk/log/20121129T050102Z.diff.html.gz
Thu Nov 29 14:56:30 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c (rb_tracepoint_attr_method_id)
-
rename TracePoint#id to TracePoint#method_id.
- include/ruby/debug.h
-
ditto.
- test/ruby/test_settracefunc.rb
-
ditto,
Thu Nov 29 14:49:10 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c (rb_tracepoint_attr_defined_class)
-
rename TracePoint#klass to TracePoint#defined_class. [ruby-core:50187] Re: [ruby-trunk - Feature #6895]
- include/ruby/debug.h
-
ditto.
- test/ruby/test_settracefunc.rb
-
ditto.
Thu Nov 29 14:27:57 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (gc_stat)
-
prepare Symbol objects at first time to make it fast.
Thu Nov 29 14:02:15 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (gc_stat)
-
GC.stat supports new information * total_allocated_object: total allocated object number. * total_freed_object: total freed object number. Above two numbers are only accumulated and they will overflow (return to 0). Please use them as a hint.
Thu Nov 29 12:13:54 2012 Ryan Davis<EMAIL_ADDRESS>↑
- lib/minitest/*
-
Imported minitest 4.3.2 (r8026)
- test/minitest/*
-
ditto
Thu Nov 29 11:06:06 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_start_func_2)
-
remove unused code. When th->safe_level == 4, th->errinfo never be thrown. So, to create new exception makes no sense.
Thu Nov 29 10:29:53 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c
-
same as a last patch.
Thu Nov 29 10:24:25 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c
-
use `long' for return values of `NUM2LONG()'.
Thu Nov 29 09:52:08 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread.c (do_select)
-
suppress warning (uninitialized value warning) with UNINITIALIZED_VAR().
Thu Nov 29 09:36:09 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- eval.c (ruby_cleanup)
-
delay THREAD_KILLED timing. It should be located just before rb_thread_terminate_all().
Thu Nov 29 09:10:17 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c (vm_backtrace_to_ary)
-
support range argument like Array#[]. [ruby-core:50092] [ruby-trunk - Feature #7434] Test and document is not available. Please help us.
Thu Nov 29 06:46:33 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_start_func_2)
-
small cleanups.
Thu Nov 29 06:37:08 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_start_func_2)
-
remove unused code. this function never be used for main thread.
Thu Nov 29 06:27:55 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_start_func_2)
-
remove unused code. errinfo = th->errinfo; and errinfo = rb_errinfo(); are the same.
Thu Nov 29 05:26:32 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c (backtrace_to_str_ary2)
-
rename to backtrace_to_str_ary.
- vm_backtrace.c (rb_backtrace_to_str_ary)
-
use `backtrace_to_str_ary()'.
- vm_backtrace.c (backtrace_to_frame_ary)
-
rename to backtrace_to_location_ary.
Thu Nov 29 05:19:25 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- probes.d
-
Change function-entry probe to method-entry.
- insns.def
-
ditto
- probes_helper.h
-
ditto
- test/dtrace/test_function_entry.rb
-
ditto
- test/dtrace/test_singleton_function.rb
-
ditto
- vm.c
-
ditto
- vm_eval.c
-
ditto
- vm_insnhelper.c
-
ditto
Thu Nov 29 04:45:17 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c
-
rename Class name from ::RubyVM::Backtrace and ::RubyVM::Backtrace::Location to ::Thread::Backtrace and ::Thread::Backtrace::Location.
2012-11-28¶ ↑
Wed Nov 28 23:52:02 2012 Masaya Tarui<EMAIL_ADDRESS>↑
Wed Nov 28 23:39:01 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_mutex_sleep)
-
fix to allow spurious wakeup. [ruby-dev:46654] [ruby-trunk - Bug #7455]
- NEWS
-
write about spurious wakeup.
Wed Nov 28 22:57:23 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread_win32.c
-
catch up latest change of BLOCKING_REGION.
Wed Nov 28 22:54:21 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_method)
-
fix undefined behavior. Should not access scope local variable from outer scope.
Wed Nov 28 22:20:55 2012 Masaya Tarui<EMAIL_ADDRESS>↑
- test/ruby/test_thread.rb (test_thread_status_in_trap)
-
change test for thread status in trap. now can accept Thread#join and Thread#value in trap.
Wed Nov 28 21:58:47 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/thread.h (rb_thread_call_without_gvl2)
-
change meaning of function. This function is called with same parameters of `rb_thread_call_without_gvl()'. However, if interrupts are detected, then return immediately.
- thread.c
-
implement `rb_thread_call_without_gvl2()'.
Wed Nov 28 21:31:21 2012 Masaya Tarui<EMAIL_ADDRESS>↑
- thread.c (thread_join_sleep)
-
check spurious wakeup by itself for corresponding status change in trap context.
- vm_core.h (struct rb_thread_struct)
-
add rb_thread_list_t and use as join_list for reentry by trap context.
- thread.c (thread_start_func_2)
-
ditto.
- thread.c (remove_from_join_list)
-
ditto.
- thread.c (rb_thread_atfork)
-
ditto.
- thread.c (thread_join)
-
ditto. & remove trap handler check.
- thread.c (sleep_forever)
-
add argument : spurious_check.
- thread.c (sleep_timeval)
-
ditto.
- thread.c (rb_thread_sleep_forever)
-
set spurious_check.
- thread.c (rb_thread_sleep_deadly)
-
ditto.
- thread.c (sleep_for_polling)
-
ditto.
- thread.c (rb_thread_wait_for)
-
ditto.
- thread.c (sleep_wait_for_interrupt)
-
bypass spurious_check.
Wed Nov 28 21:23:18 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/psych/yaml/emitter.c (yaml_emitter_write_indicator)
-
constify.
- ext/psych/yaml/emitter.c (yaml_emitter_write_block_scalar_hints)
-
ditto.
- ext/psych/extconf.rb
-
mingw32 also needs macros for win32, not only mswin32.
- ext/psych/extconf.rb
-
compile sources in the source directory without copying by using VPATH.
Wed Nov 28 21:18:57 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (MakeMakefile#each_compile_rules)
-
splat $(VPATH) for each VPATH elements.
Wed Nov 28 16:40:14 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- vm_core.h (enum rb_thread_status)
-
remove THREAD_TO_KILL
- vm_core.h (struct rb_thread_struct)
-
add to_kill field
- thread.c (terminate_i)
-
convert THREAD_TO_KILL to to_kill.
- thread.c (rb_threadptr_to_kill)
-
ditto.
- thread.c (rb_thread_kill)
-
ditto.
- thread.c (rb_thread_wakeup_alive)
-
ditto.
- thread.c (thread_list_i)
-
ditto.
- thread.c (static const char)
-
ditto.
- thread.c (thread_status_name)
-
ditto.
- thread.c (rb_thread_status)
-
ditto.
- thread.c (rb_thread_inspect)
-
ditto.
- vm_backtrace.c (thread_backtrace_to_ary)
-
ditto.
- thread.c (rb_threadptr_execute_interrupts)
-
fix thread status overwritten issue. [Bug #7450] [ruby-core:50249]
- test/ruby/test_thread.rb (test_hread_status_raise_after_kill)
-
test for the above.
- test/ruby/test_thread.rb (test_thread_status_in_trap)
-
test for thread status in trap.
- test/ruby/test_thread.rb (test_status_and_stop_p)
-
remove Thread.control_interrupt unsafe test. Thread#kill no longer changes thread status. Instead of, Thread#kill receiver changes their own status when receiving kill signal.
Wed Nov 28 16:21:46 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (struct rb_mutex_struct)
-
add allow_trap field.
- internal.h (rb_mutex_allow_trap)
-
added.
- thread.c (rb_mutex_lock, rb_mutex_unlock)
-
check mutex->allow_trap.
- thread.c (mutex_sleep)
-
remove trap check because it uses rb_mutex_lock and rb_mutex_unlock internally.
- thread.c (rb_mutex_allow_trap)
-
new helper function for the above.
- io.c (io_binwrite)
-
mark fptr->write_lock as writable in trap.
- test/ruby/test_signal.rb (test_trap_puts)
-
test for the above.
Wed Nov 28 16:59:12 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- proc.c
-
remove Proc#== and Object#eql?. Proc objects compared with their object ids. [Bug #4559]
- test/ruby/test_proc.rb
-
remove related test.
Wed Nov 28 16:41:04 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/servlet.rb
-
Add support for serving documentation from a subdirectory.
- lib/rdoc/generator/darkfish.rb
-
ditto
- test/rdoc/test_rdoc_servlet.rb
-
Test for above
- test/rdoc/test_rdoc_servlet.rb
-
ditto
Wed Nov 28 15:37:17 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
fix r37924: run only on i86-linux.
Wed Nov 28 15:31:11 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- io.c (FMODE_SYNCWRITE)
-
removed unused macro.
Wed Nov 28 15:19:25 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- configure.in
-
revert r37911, r37906 and r37904 which break build with non-gcc and/or non-IA32 compilers, e.g. Solaris Studio, Fujitsu C Compiler. [ruby-dev:46646] [Bug #7451]
Wed Nov 28 14:50:55 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/psych/extconf.rb
-
copy sources into build directory, not into srcdir.
Wed Nov 28 14:34:06 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_mutex_lock)
-
moved trap context check from rb_mutex_trylock because try_lock have no change to make a deadlock.
- thread.c (rb_mutex_trylock)
-
ditto.
- NEWS
-
news for the above.
Wed Nov 28 13:39:54 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_s_new)
-
uses main_thread->status instead of th->inhibit_thread_creation for preventing thread creation.
- vm_core.h (rb_vm_struct)
-
remove inhibit_thread_creation field.
- thread.c (rb_thread_terminate_all)
-
ditto.
Wed Nov 28 13:27:29 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/extconf.rb
-
use embedded libyaml if no system libyaml is found. [ruby-core:49463]
- ext/psych/lib/psych.rb
-
updating to psych 2.0.0
- ext/psych/lib/psych/deprecated.rb
-
updated docs
- ext/psych/psych.gemspec
-
updated to psych 2.0.0
- ext/psych/psych.h
-
fixing header file include for rename
- ext/psych/psych_emitter.c
-
renamed to avoid libyaml conflict.
- ext/psych/psych_emitter.h
-
ditto
- ext/psych/psych_parser.c
-
ditto
- ext/psych/psych_parser.h
-
ditto
- ext/psych/psych_to_ruby.c
-
ditto
- ext/psych/psych_to_ruby.h
-
ditto
- ext/psych/psych_yaml_tree.c
-
ditto
- ext/psych/psych_yaml_tree.h
-
ditto
- ext/psych/yaml/LICENSE
-
embedding libyaml 0.1.4
- ext/psych/yaml/api.c
-
ditto
- ext/psych/yaml/config.h
-
ditto
- ext/psych/yaml/dumper.c
-
ditto
- ext/psych/yaml/emitter.c
-
ditto
- ext/psych/yaml/loader.c
-
ditto
- ext/psych/yaml/parser.c
-
ditto
- ext/psych/yaml/reader.c
-
ditto
- ext/psych/yaml/scanner.c
-
ditto
- ext/psych/yaml/writer.c
-
ditto
- ext/psych/yaml/yaml.h
-
ditto
- ext/psych/yaml/yaml_private.h
-
ditto
Wed Nov 28 12:54:59 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_join)
-
A trap handler check was moved from thread_join_m because Thread#value should be raised an exception too.
- thread.c (thread_join_m)
-
remove trap handler check.
- test/ruby/test_thread.rb (test_thread_join_in_trap)
-
add test for thread#value.
- NEWS
-
documentation fix for the above.
Wed Nov 28 11:07:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/fiddle/closure.c
-
Documentation for Fiddle
- ext/fiddle/lib/fiddle/import.rb
-
ditto
- ext/fiddle/lib/fiddle/value.rb
-
ditto
- ext/fiddle/lib/fiddle/pack.rb
-
ditto
- ext/fiddle/lib/fiddle/cparser.rb
-
ditto
- ext/fiddle/lib/fiddle/struct.rb
-
ditto
- ext/fiddle/lib/fiddle/function.rb
-
ditto
Wed Nov 28 09:15:51 2012 Ryan Davis<EMAIL_ADDRESS>↑
- ext/strscan/strscan.c
-
Added charpos for multibyte string position.
- test/strscan/test_stringscanner.rb
-
ditto
Wed Nov 28 09:00:34 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/fiddle/fiddle.c
-
adding alignment constants for compatibility with DL.
- ext/fiddle/fiddle.h
-
ditto
- ext/fiddle/lib/fiddle/cparser.rb
-
importing the C parser for DL backwards compatibility.
- ext/fiddle/lib/fiddle/import.rb
-
importing the import DSL for DL backwards compatibility.
- ext/fiddle/lib/fiddle/pack.rb
-
importing structure pack for DL backwards compatibility.
- ext/fiddle/lib/fiddle/value.rb
-
ditto
- ext/fiddle/lib/fiddle/struct.rb
-
importing struct DSL for DL backwards compatibility.
- test/dl/test_c_struct_entry.rb
-
importing tests
- test/dl/test_c_union_entity.rb
-
ditto
- test/dl/test_cparser.rb
-
ditto
- test/dl/test_import.rb
-
ditto
- test/fiddle/test_c_struct_entry.rb
-
ditto
- test/fiddle/test_c_union_entity.rb
-
ditto
- test/fiddle/test_cparser.rb
-
ditto
- test/fiddle/test_import.rb
-
ditto
Wed Nov 28 08:56:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- doc/globals.rdoc
-
Add documentation file for magic globals [ruby-core:29048] [Bug #3022]
Wed Nov 28 08:55:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- .document
-
Add README's to be included with docs
Wed Nov 28 08:26:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/dl/lib/dl.rb
-
Deprecation notice for DL
Wed Nov 28 08:25:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/fiddle/closure.c
-
Documentation for Fiddle
- ext/fiddle/pointer.c
-
ditto
- ext/fiddle/function.c
-
ditto
- ext/fiddle/lib/fiddle.rb
-
ditto
- ext/fiddle/fiddle.c
-
ditto
- ext/fiddle/handle.c
-
ditto
Wed Nov 28 04:53:40 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/fiddle/handle.c
-
Make Fiddle independent of DL, copy DL::Handle to Fiddle::Handle.
- ext/fiddle/pointer.c
-
Make Fiddle independent of DL, copy DL::Pointer to Fiddle::Pointer.
- test/fiddle/test_func.rb
-
relevant tests
- test/fiddle/test_handle.rb
-
ditto
- test/fiddle/test_pointer.rb
-
ditto
- ext/dl/lib/dl/struct.rb
-
use Fiddle::Pointer if available
- ext/fiddle/extconf.rb
-
check for dlfcn.h
- ext/fiddle/fiddle.c
-
add constants for sizeof() things
- ext/fiddle/fiddle.h
-
include dlfcn.h
- ext/fiddle/function.c
-
expose a C function for creating new Fiddle::Function objects.
- ext/fiddle/lib/fiddle.rb
-
include constants for dl backwards compat
- ext/fiddle/lib/fiddle/function.rb
-
read the pointer from the function for dl backwards compat.
- test/dl/test_callback.rb
-
check the addresses of the pointers rather than their types.
- test/fiddle/helper.rb
-
remove dependency on dl
- test/fiddle/test_closure.rb
-
ditto
- test/fiddle/test_fiddle.rb
-
ditto
Wed Nov 28 03:03:28 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in (opt-dir)
-
don't use non portable flag -E of sed.
Wed Nov 28 02:55:35 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in (ARCH_FLAG)
-
__sync_val_compare_and_swap_4 needs -march=$target_cpu on at least linux gcc 4.1. patched by KOSAKI Motohiro
2012-11-27¶ ↑
Tue Nov 27 22:03:09 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints, rb_str_enumerate_lines)
-
Dummy initialization of ary has been replaced with UNINITIALIZED_VAR().
Tue Nov 27 21:29:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- bignum.c (bigdivrem)
-
optimize the way to retry calculation of bigdivrem so that the calculation is started from the point where the last interruption was occurred.
- bignum.c (bigdivrem1)
-
ditto.
- test/ruby/test_bignum.rb
-
add a test case for rb_bigdivrem in the case that an interruption is occurred during bigdivrem1 is running.
Tue Nov 27 19:56:43 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (rb_vm_make_env_object)
-
make Proc object if Env is possible to point block. [ruby-core:41038] [ruby-trunk - Bug #5634]
- vm.c (rb_vm_make_proc)
-
No need to make Proc object here.
- bootstraptest/test_proc.rb
-
add tests.
Tue Nov 27 18:51:06 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- ruby_atomic.h (ATOMIC_CAS)
-
added for Solaris and other platforms.
- ruby_atomic.h, signal.c (NEED_RUBY_ATOMIC_OPS)
-
renamed from NEED_RUBY_ATOMIC_EXCHANGE.
- signal.c (ruby_atomic_compare_and_swap)
-
naive, non-atomic compare-and-swap implementation only used for platforms without valid support for atomic operations.
Tue Nov 27 17:43:46 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/*
-
Added –root option for building documentation outside the source directory.
- test/rdoc/*
-
ditto
- common.mk (rdoc)
-
Added –root to rdoc rule
Tue Nov 27 16:24:45 2012 Eric Hodel<EMAIL_ADDRESS>↑
- test/rdoc/test_rdoc_ri_paths.rb
-
Fixed duplicate path bug which caused windows failures.
Tue Nov 27 16:06:00 2012 Eric Hodel<EMAIL_ADDRESS>↑
- test/rdoc/test_rdoc_generator_darkfish.rb
-
Updated tests for windows
- test/rdoc/test_rdoc_options.rb
-
ditto
- test/rdoc/test_rdoc_parser.rb
-
ditto
- test/rdoc/test_rdoc_rdoc.rb
-
ditto
- test/rdoc/test_rdoc_ri_driver.rb
-
ditto
- test/rdoc/test_rdoc_servlet.rb
-
ditto
Tue Nov 27 15:13:51 2012 Eric Hodel<EMAIL_ADDRESS>↑
- common.mk (rdoc)
-
Set –debug for rdoc generation in case of bugs
Tue Nov 27 14:56:45 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc/rubygems_hook.rb
-
Updated for (upcoming) RubyGems 2 import.
- test/rdoc/test_rdoc_rubygems_hook.rb
-
ditto
Tue Nov 27 13:59:29 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- NEWS
-
add improvements of the garbage collector.
Tue Nov 27 13:27:46 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rdoc*
-
Updated to RDoc 4.0 (pre-release)
- bin/rdoc
-
ditto
- test/rdoc*
-
ditto
- NEWS
-
Updated with RDoc 4.0 information
Tue Nov 27 12:17:11 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_thread_terminate_all)
-
retry broadcast only when an exception is raised.
Tue Nov 27 12:02:25 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_thread_terminate_all)
-
broadcast terminate event not only an interrupt exception but any exceptions.
Tue Nov 27 10:55:09 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- eval.c (ruby_cleanup)
-
set thread status to THREAD_KILLED for preventing thr.raise.
- test/ruby/test_thread.rb (test_main_thread_status_at_exit)
-
test for the above.
Tue Nov 27 10:31:29 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_thread_terminate_all)
-
suppress a warning.
Tue Nov 27 09:29:11 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_join)
-
raises ThreadError if target thread is a main thread.
- test/ruby/test_thread.rb (test_thread_join_main_thread)
-
test for the above.
- NEWS
-
news for the above.
Tue Nov 27 09:24:47 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_join)
-
raises ThreadError if target thread is a current thread.
- test/ruby/test_thread.rb (test_thread_join_current)
-
test for the above.
- NEWS
-
news for the above.
Tue Nov 27 09:59:16 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb (extmake)
-
close mkmf.log for each libraries so that failure messages are not mixed.
Tue Nov 27 09:58:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/digest/*/extconf.rb, ext/openssl/extconf.rb
-
get git rid of post-1.8 feature require_relative for cross compilation. [ruby-core:50160] [Bug #7439]
Tue Nov 27 09:17:59 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- NEWS
-
add TracePoint.
Tue Nov 27 08:16:03 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c
-
rename TracePoint#file and TracePoint#line to TracePoint#path and TracePoint#lineno respectively. They are consistent to RubyVM::Backtrace::Location.
- include/ruby/debug.h
-
ditto.
- vm_core.h
-
ditto.
- test/ruby/test_settracefunc.rb
-
ditto.
Tue Nov 27 08:04:26 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_thread_terminate_all)
-
broadcast eTerminateSignal again when Ctrl-C was pressed. [Feature #1952] [ruby-dev:39107]
Tue Nov 27 07:58:03 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
add members to rb_trace_arg_t: * `klass_solved' represents klass and id is checked. * `line' represents line calculated from cfp. * `file' represents line calculated from cfp.
- vm_trace.c
-
fix to use above data structures. No need to calculate klass and id, line and file pairs for each trace points.
Tue Nov 27 07:47:09 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_thread_terminate_all)
-
add RUBY_VM_CHECK_INTS_BLOCKING(). Otherwise the loop in this function behave as busy loop because native_sleep() return immediately when RUBY_VM_INTERRUPTED() is true.
Tue Nov 27 04:12:49 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb (extmake)
-
git rid of post-1.8 features for cross compilation. [ruby-core:50160] [Bug #7439]
Tue Nov 27 00:13:41 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_mutex_trylock, rb_mutex_unlock, mutex_sleep)
-
raises ThreadError if called from trap handler as Thread#join.
- NEWS
-
news for the above.
2012-11-26¶ ↑
Mon Nov 26 23:55:33 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- NEWS
-
update for Thread#join incompatible change.
Mon Nov 26 22:44:24 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_thread_terminate_all)
-
use native_sleep() instead of rb_thread_schedule(). Otherwise, it consume 100% cpu meaninglessly. [Bug #5368] [ruby-dev:44546]
- thread.c (thread_start_func_2)
-
last sub-thread wakes up main thread.
Mon Nov 26 21:16:04 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT, RUBY_VM_SET_FINALIZER_INTERRUPT, RUBY_VM_SET_TRAP_INTERRUPT, RUBY_VM_INTERRUPTED)
-
use enum symbol instead of immediate value.
- thread.c (thread_join_m, rb_threadptr_execute_interrupts)
-
ditto.
- signal.c (signal_exec)
-
ditto.
Mon Nov 26 20:23:20 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_join_m)
-
use th->interrupt_mask instead of th->in_trap.
- vm_core.h (struct rb_thread_struct)
-
remove in_trap member.
- signal.c (signal_exec)
-
ditto.
- thread.c (thread_create_core)
-
ditto.
- thread.c (Init_Thread)
-
ditto.
Mon Nov 26 20:23:49 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_argf.rb (TestArgf#test_chars)
-
since marshal data is binary, shouldn't pass via text mode. use base64 encoded data.
Mon Nov 26 19:45:18 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ruby_atomic.h (ATOMIC_CAS)
-
new macro for compare-and-exchange.
- vm_core.h (struct rb_thread_struct)
-
add interrupt_mask member.
- thread.c (thread_create_core, Init_Thread)
-
initialize th->thread_mask.
- vm_core.h (RUBY_VM_INTERRUPTED_ANY)
-
new macro for avoiding bare th->interrupt_flag.
- vm_core.h (RUBY_VM_INTERRUPTED, RUBY_VM_INTERRUPTED)
-
check th->interrupt_mask.
- thread.c (set_unblock_function, rb_thread_schedule)
-
replace th->interrupt_flag with RUBY_VM_INTERRUPTED_ANY()
- signal.c (signal_exec)
-
set up thread->interrupt_mask for preventing recursive trap handler.
- vm_core.h (RUBY_VM_CHECK_INTS, RUBY_VM_CHECK_INTS_BLOCKING)
-
ditto.
- thread.c (rb_threadptr_execute_interrupts)
-
don't process interrupt if it is masked. [Bug #6009] [ruby-core:42524]
Mon Nov 26 19:43:42 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (make_compile_option_value)
-
add trace_instruction option. a patch by davidbalbert (David Albert). [Bug #6786]
Mon Nov 26 19:10:53 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- bootstraptest/test_thread.rb
-
try to `join' each 100 threads. This benchmark seems consuming long time on travis-ci several times (and make `failure').
Mon Nov 26 18:22:56 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- common.mk
-
specify label `built-ruby'.
- benchmark/driver.rb
-
quote path.
Mon Nov 26 18:26:28 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- signal.c (signal_exec)
-
add volatile to make sure setjmp safe.
Mon Nov 26 18:19:47 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- signal.c (signal_exec)
-
suppress “warning: variable 'signum' might be clobbered by 'longjmp' or 'vfork'” warning.
Mon Nov 26 18:15:47 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/driver.rb
-
accept multiple `-e'. You don't need to use `;' separation character. [ruby-core:50139] [ruby-trunk - Bug #7380]
Mon Nov 26 17:10:04 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints, rb_str_enumerate_lines)
-
suppress “may be used uninitialized in this function” warning.
Mon Nov 26 17:00:12 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- vm_core.h (rb_thread_struct)
-
added 'in_trap' member for marking running trap handler.
- signal.c (signal_exec)
-
turn on in_trap when running trap.
- thread.c (Init_Thread, thread_create_core)
-
initialize in_trap when creating new threads.
- thread.c (thread_join_m)
-
raise ThreadError when running trap handler.Bug [#6416]
- test/ruby/test_thread.rb (test_thread_join_in_trap)
-
new test for the above.
Mon Nov 26 16:36:13 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- io.c (argf_each_codepoint)
-
add missing ARGF#codepoints [Bug #7438]
Mon Nov 26 15:50:29 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- bignum.c (bigdivrem)
-
restart calculation when bigdivrem1 was interrupted by signal. Otherwise, ruby script may see a garbage value.
Mon Nov 26 15:33:02 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- bignum.c (big_div_struct)
-
added volatile to 'stop' member. Otherwise, “if (bds->stop)” check in bigdivrem1 don't read memory and ignore interrupt.
- bignum.c (bigdivrem, rb_big_stop)
-
ditto.
Mon Nov 26 12:11:09 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/Makefile.sub (DLNOBJ)
-
missing in r37821.
Mon Nov 26 10:50:19 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb (test_setsid)
-
added a few wait for preventing that Process.getsid makes Errno::ESRCH.
2012-11-25¶ ↑
Sun Nov 25 22:34:00 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- array.c (ary_resize_smaller)
-
new function to resize array.
- array.c (rb_ary_delete)
-
refactoring to extract a function.
- array.c (rb_ary_delete_same)
-
refactoring. It renames function, reduces duplicated code and removes unused code.
- gc.c (wmap_final_func)
-
follow the above change.
- internal.h (rb_ary_delete_same)
-
ditto.
Sun Nov 25 22:27:33 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- array.c
-
fixes for the updated documentation in r35858: Typos and take/#drop accept to take/drop 0 elements.
Sun Nov 25 19:43:29 2012 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- NEWS
-
add a news about iconv.
Sun Nov 25 03:49:23 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/set.rb, test/test_set.rb
-
Move tests embedded in lib/set.rb to test/test_set.rb.
Sun Nov 25 03:44:50 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- string.c (rb_str_each_line, rb_str_lines)
-
String#lines now returns an array instead of an enumerator. Passing a block is deprecated but still supported for backwards compatibility. Based on the patch by yhara. [Feature #6670]
- string.c (rb_str_each_char, rb_str_chars)
-
Ditto for String#chars.
- string.c (rb_str_each_codepoint, rb_str_codepoints)
-
Ditto for String#codepoints.
- string.c (rb_str_each_byte, rb_str_bytes)
-
Ditto for String#bytes.
- NEWS
-
Add notes for the above changes.
Sun Nov 25 02:07:37 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- test/ruby/envutil.rb (Test
-
:Unit::Assertions#assert_warning)
- (Test
-
:Unit::Assertions#assert_warn), test/ruby/envutil.rb, test/ruby/test_enumerator.rb, test/ruby/test_io_m17n.rb, test/ruby/test_regexp.rb, test/ruby/test_syntax.rb: assert_warn() and assert_warning() are reversed.
2012-11-24¶ ↑
Sat Nov 24 21:08:50 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- gc.c (wmap_final_func)
-
rename variables to clarify the meaning. In wmap2obj the key is WeakRef and the value is referenced object. In obj2wmap the key is referenced object and the value is an array of WeakRef.
- gc.c (wmap_finalize)
-
ditto. [ruby-core:49044] [Bug #7304]
Sat Nov 24 21:01:55 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- array.c (rb_ary_delete_same_obj)
-
new function for WeakRef. This deletes same objects as item argument in the array.
- internal.h (rb_ary_delete_same_obj)
-
add a declaration.
- gc.c (wmap_final_func)
-
remove WeakRef object reference from the array. rb_ary_delete() is not usable because it uses rb_equal() to compare object references.
- gc.c (wmap_finalize)
-
remove recycled object references from weak map hash properly. How to get object reference from object id was wrong. st_delete() doesn't work properly if key and value arguments are same. The key of obj2wmap is referenced object and the value of obj2wmap is WeakRef array.
- gc.c (wmap_aset)
-
obj2wmap should contain WeakRef array in the definition.
- test/test_weakref.rb (TestWeakRef#test_not_reference_different_object, TestWeakRef#test_weakref_finalize)
-
add tests for above. [ruby-core:49044] [Bug #7304]
Sat Nov 24 19:44:41 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/nkf/nkf-utf8/nkf.c (unicode_iconv_combine)
-
returning flags are nkf_char.
Sat Nov 24 19:29:18 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- test/ruby/test_rubyoptions.rb (test_usage, test_usage_long)
-
reduced, renamed.
Sat Nov 24 13:10:14 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c (rb_tracepoint_attr_raised_exception)
-
should not check value before event checking.
- vm_trace.c (rb_tracepoint_attr_return_value)
-
ditto.
- test/ruby/test_settracefunc.rb
-
add tests for TracePoint#return_value and TracePoint#raised_exception.
Sat Nov 24 12:47:27 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb (TestProcess#test_setsid)
-
“./ruby-trunk” doesn't work on all environments. EnvUtil.rubybin would be suitable.
Sat Nov 24 12:28:04 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- array.c (rb_ary_aref)
-
fix Segmentation fault at TestArray#test_aref on x64 mingw. Variable argument of rb_scan_args() should be a pointer
Sat Nov 24 11:47:14 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- process.c (proc_getsid)
-
adds new method for getting session id. Contributed from fumiyas (Fumiyasu SATOH). Thank you! [Feature #6757] [ruby-dev:45977]
- configure.in
-
adds getsid check.
- test/ruby/test_process.rb (TestProcess#test_setsid)
-
new test for the above.
- NEWS
-
news for the above.
Sat Nov 24 10:59:14 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (thread_create_core)
-
don't use th->thread_id before initialized.
Sat Nov 24 00:00:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (proc_options, process_options, ruby_process_options)
-
take care of the case argc is 0, and check if argv has NULL. [ruby-core:49889] [Bug #7423]
Sat Nov 24 00:00:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (–disable-dln)
-
option to disable dynamic linking feature. [ruby-core:37676] [Feature #4946]
2012-11-23¶ ↑
Fri Nov 23 23:44:41 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (MakeMakefile#pkg_config)
-
strip all white spaces for mingw64+MSYS pkg-config which erroneously emits extra newlines. [ruby-core:47998] [Bug #7163]
Fri Nov 23 17:31:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (usage)
-
wrap description lines if options are too long.
Fri Nov 23 11:13:46 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2)
-
refine assertion.
- test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2)
-
now –help option is for modern terminals.
Fri Nov 23 10:45:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/socket/ipsocket.c (IPSocket#peeraddr)
-
Fix example [ruby-core:46429] [Bug #6732]
Fri Nov 23 02:40:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/cgi/core.rb
-
Documentation for CGI#header alias Based on a patch by Marcus Stollsteimer [ruby-core:49585] [Bug #7405]
2012-11-22¶ ↑
Thu Nov 22 23:48:10 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (is_swept_object)
-
extract from is_dead_object().
- gc.c (rb_gcdebug_print_obj_condition)
-
add the function for debug. This function shows some conditions of given object (e.g., marked, in heap, swept).
- gc.c (rb_gcdebug_sentinel)
-
add the function for debug. This function allow check to inadvertently free up an object.
Thu Nov 22 23:45:18 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- array.c (rb_ary_shared_with_p)
-
fix cache validity check. If pop or shift has been called against $: or $“, the array will be still shared with the snapshot. We check array length for cache validity. [ruby-core:49518] [Bug #7383]
- test/ruby/test_require.rb (TestRequire#test_require_with_array_pop, TestRequire#test_require_with_array_shift)
-
add tests for above.
Thu Nov 22 21:48:48 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- common.mk, win32/Makefile.sub (probes.dmyh)
-
now be made in current
Thu Nov 22 21:34:51 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- test/ruby/test_rubyoptions.rb
-
added a test.
Thu Nov 22 20:32:07 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (string_to_c_strict, string_to_c)
-
check NUL.
- rational.c (string_to_r_strict, string_to_r)
-
ditto.
Thu Nov 22 20:21:45 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- Makefile.in (.dmyh.h)
-
removed $(VPATH). GNU make don't recognize suffix rule with VPATH.
Thu Nov 22 18:11:27 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h)
-
nmake merges explicit rules for same target, but not merges explicit rules and implicit rules – always explicit rules win. So, need to add an explicit rule for probes.h. [Bug #7421] [ruby-core:49839]
Thu Nov 22 18:01:28 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- Makefile.in (probes.o)
-
add -C to ignore include in probes.d.
- probes.d
-
include vm_opts.h instead of vm_core.h.
- vm_opts.h (VM_COLLECT_USAGE_DETAILS)
-
move definition from vm_core.h.
Thu Nov 22 17:45:17 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/nkf/nkf-utf8
-
Merge b0a6577a521d1bba5e19853f95d5c4b9be1072b5. Support JIS X 0213 and some bugfixes.
Thu Nov 22 17:39:37 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- tool/gen_dummy_probes.rb
-
don't change include, if and endif lines. [Bug #7370]
Thu Nov 22 16:58:26 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- Makefile.in
-
run preprocessor when making probe.h
- probes.d
-
define probe insn and insn__operand only when VM_COLLECT_USAGE_DETAILS is 1. [Bug #7370]
Thu Nov 22 16:20:49 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- vm.c
-
Don't define vm_collect_usage_operand() and static void vm_collect_usage_insn() when disabling VM_COLLECT_USAGE_DETAILS. (refix r37796)
Thu Nov 22 15:26:02 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- vm_insnhelper.h
-
partly revert r37631 (DTrace support). “vm usage information is always collected, so uncomment the functions.” causes performance impact. [Bug #7370] Off course this revert disables related probes.
Thu Nov 22 14:14:36 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- re.c (rb_memsearch_ss)
-
Apply performance improvement to short byte array search for platforms without memmem(3). [Feature #6311] [ruby-dev:45530]
Thu Nov 22 12:52:19 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- test/ruby/test_string.rb (TestString#test_index)
-
Add some corner cases to tests for String#index, which might fail if ruby directly used a buggy memmem(3) implementation.
Thu Nov 22 08:06:42 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- test/ruby/test_gc.rb (test_profiler_clear)
-
fix wrong method calls [Bug #7419] [ruby-core:49828].
Thu Nov 22 02:22:33 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- NEWS
-
edited (order etc).
2012-11-21¶ ↑
Wed Nov 21 22:52:59 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/io/wait/wait.c (io_wait_readable)
-
add alias wait_readable.
- ext/io/wait/wait.c (io_wait_writable)
-
this is easier to use than IO.select for a single IO object and is immune to the limitations/inefficiency of select() on platforms where poll/ppoll is available. patched by Eric Wong. [Feature #4646]
Wed Nov 21 22:27:52 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (garbage_collect)
-
remove a duplicative probe.
Wed Nov 21 22:08:48 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (gc_profile_clear)
-
realloc profile records if its size is higher than the threshold, GC_PROFILE_RECORD_DEFAULT_SIZE * 2.
Wed Nov 21 21:53:29 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (nucomp_to_c)
-
added.
Wed Nov 21 21:35:38 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- include/ruby/util.h
-
removed extra semicolon in definition of macro.
- compile.c
-
ditto.
- cont.c
-
ditto.
- math.c
-
ditto.
- node.c
-
ditto.
- parse.y
-
ditto.
Wed Nov 21 18:46:37 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- rational.c (read_digits)
-
due to a bit tighter rb_cstr_to_inum().
Wed Nov 21 16:13:37 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/bm_so_nsieve_bits.rb
-
add an encoding pragma because this benchmark using strings (literals) as binary sequence. Now, they are UTF-8 strings. [ruby-dev:46578]
Wed Nov 21 00:57:43 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- file.c (Init_File)
-
null device definition uses rb_define_const instead of rb_file_const.
Wed Nov 21 00:28:18 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- test/ruby/test_m17n_comb.rb (test_str_crypt)
-
Use RbConfig to get libc's directory. Patched by Vit Ondruch [ruby-core:49763] [Bug #7312]
2012-11-20¶ ↑
Tue Nov 20 23:28:26 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- marshal.c
-
add marshal readahead. marshalized Array, Hash and Struct have size at least number of its elements, marshal readahead will read the certain readable length and buffer when it needs more bytes. marshal readahead prevents many calls to IO#getbyte and IO#read, then it enables performance improvement. [ruby-dev:45637] [Feature #6440]
Tue Nov 20 22:35:02 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- Makefile.in (.d.h)
-
replace char * to const char * because somehow current dtrace removes const of function declaration in probes.d.
Tue Nov 20 21:41:04 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/debug.h
-
introduced. Debugging/profiling features will be located.
- vm_trace.c
-
expose C-level TracePoint APIs. Note that they are experimental.
- vm_trace.c, include/ruby/debug.h
-
rename `rb_hook_flag_t' to `rb_event_hook_flag_t'. Macro names `RUBY_HOOK_FLAG_*' are also renamed to `RUBY_EVENT_HOOK_FLAG_*'.
- debug.h, vm_debug.h
-
rename debug.h to vm_debug.h.
- common.mk
-
ditto.
- debug.c, main.c, vm_core.h
-
ditto.
Tue Nov 20 21:12:37 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in (RUBY_DTRACE_AVAILABLE)
-
only check dtrace availability.
- configure.in (RUBY_DTRACE_POSTPROCESS)
-
restore.
Tue Nov 20 21:22:44 2012 Masaki Suketa<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole_type.rb (test_implemented_ole_types)
-
IShellDispatch6 bundled in Windows 8. Thanks to phasis68 (Heesob Park). [ruby-core:49580][Bug #7403]
Tue Nov 20 21:06:41 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c
-
some improvements.
- rational.c
-
ditto.
Tue Nov 20 21:01:16 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (incs)
-
BSD make cannot deal with non-prefixed dependency and prefixed target.
Tue Nov 20 20:10:23 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- array.c (rb_ary_bsearch)
-
fix rdoc bug (O(n log n) -> O(log n)). Patch by Charlie Somerville. [ruby-core:49661] [Bug #7409]
- range.c (range_bsearch)
-
ditto.
Tue Nov 20 19:02:44 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c
-
rename and add TracePoint APIs.
- test/ruby/test_settracefunc.rb
-
add tests.
Tue Nov 20 18:35:05 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_trace.c
-
add two methods:
- (1) TracePoint#return_value which returns return value on the
-
return and :c_return event.
- (2) TracePoint#raised_exception which returns raised exception value on the
-
raise event. Each methods raise RuntimeError if it is called at unsupported event. Please review and give us feedback until next preview release (Dec/2012) of Ruby 2.0.0. [Feature #6895]
- insns.def, vm.c, vm_eval.c, vm_insnhelper.c, eval.c, thread.c
-
ditto.
- vm_trace.c, vm_core.h
-
move definition of rb_trace_arg_t from vm_trace.c to vm_core.h. Caller fills rb_trace_arg_t and pass the pointer of this variable.
- test/ruby/test_settracefunc.rb
-
fix tests to test this change.
Tue Nov 20 17:31:12 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
fix dtrace didn't work on darwin.
- configure.in (RUBY_DTRACE_AVAILABLE)
-
unify RUBY_DTRACE_POSTPROCESS and RUBY_DTRACE_BSD_BROKEN.
Tue Nov 20 15:20:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- file.c (File.extname)
-
Documentation for extname on dotfiles and files ending with a dot. Also, added example for this. [ruby-core:47852] [Bug #7112]
Tue Nov 20 14:19:20 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_signal.rb (TestSignal#test_signame)
-
fix windows test failure. Process.kill on windows can't send a signal to another process.
Tue Nov 20 13:58:11 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- io.c (Init_IO)
-
moved all rb_file_const() into file.c.
- file.c (Init_File)
-
replace with rb_file_const() with rb_define_const() because RDoc don't care rb_file_const. [Bug #5530]
Tue Nov 20 12:35:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ruby.c (usage_msg)
-
Fix typo [ruby-core:49205] [Bug #7327]
Tue Nov 20 12:35:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- file.c (File::NULL)
-
Document File::NULL constant [ruby-core:49384] [Bug #7365]
Tue Nov 20 12:05:15 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_read)
-
Windows 8 fixed one of a bug of console API. based on the patch by Heesob Park at [ruby-core:49479] [Bug #7379]
Tue Nov 20 11:14:33 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in (–enable-dtrace)
-
always call RUBY_DTRACE_BSD_BROKEN for portability. As the note, FreeBSD 8 has DTrace as the optional feature (it is enabled by the build option), but doesn't have USDT. FreeBSD 9 has USDT but they are still optional. FreeBSD 10 will enable them by default. The variable $rb_cv_prog_dtrace_g is “yes” only on FreeBSD 9 with optional DTrace or FreeBSD 10. If it is “no”, you cannot know whether it doesn't need -G or DTrace is disabled. (by checking error code, you can know)
Tue Nov 20 11:05:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/tracer.rb (Tracer.trace_func)
-
printf to stdout Patch by Michal Fojtik [ruby-core:45219] [Bug #6490]
Tue Nov 20 10:14:22 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_thread_s_check_interrupt)
-
removed redundant GET_THREAD().
Tue Nov 20 10:12:46 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_async_errinfo_active_p)
-
added a small comment.
Tue Nov 20 10:05:56 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread.c (rb_thread_blocking_region_end)
-
replaced GET_THREAD() with ruby_thread_from_native(). We don't have GVL here.
Tue Nov 20 09:56:15 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
Tue Nov 20 09:48:34 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- signal.c (rb_get_next_signal)
-
removed pointless signal disabling. pthread_sigmask() only changes current thread mask.
Tue Nov 20 09:36:55 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- signal.c (install_sighandler)
-
added comments why we need rb_disable_interrupt().
Tue Nov 20 09:31:33 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- signal.c (rb_disable_interrupt, rb_enable_interrupt)
-
removed USE_TRAP_MASK.
- signal.c (trap_arg, trap_ensure)
-
removed.
- signal.c (trap, sig_trap)
-
removed pointless signal disabling. We don't need it because we no longer run trap handler on signal handler context.
Tue Nov 20 09:20:49 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- prelude.rb
-
Moved Mutex#synchronize to
- thread.c (rb_mutex_synchronize_m)
-
here. [Bug #4266]
Tue Nov 20 08:36:15 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- signal.c (sig_signame)
-
implements Signal.signame method [Feature #5613]
- test/ruby/test_signal.rb (test_signame)
-
adds test for above
- NEWS
-
add an item about above
2012-11-19¶ ↑
Mon Nov 19 22:55:48 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- configure.in (–enable-dtrace)
-
change help message
Mon Nov 19 21:24:18 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- vm_dump.c
-
not to include probes.h because the code does not depend on it.
- common.mk (vm_dump.$(OBJEXT))
-
remove dependency on probes.h
Mon Nov 19 16:30:59 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- struct.c (rb_struct_each_pair)
-
yield associated pairs so that an unsplat argument can get both, for consistency with Hash, OpenStruct, and etc. [ruby-dev:46533] [Bug #7382]
Mon Nov 19 16:17:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (LIBS)
-
libelf is need on only FreeBSD.
Mon Nov 19 16:08:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (RUBYLIB)
-
purelib option in runruby.rb is deprecated since r28841, so set to an empty list to get rid of a bogus path in child processes, which caused an insecure operation exception in test/ruby/test_encoding.rb:test_unsafe.
Mon Nov 19 15:40:50 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- .travis.yml (script)
-
add OPTS=-v, requested by @_ko1.
Mon Nov 19 15:09:07 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
fix didn't enable_dtrace=yes on auto.
- configure.in
-
see enable_dtrace for adding libelf on FreeBSD.
- common.mk
-
VPATH is not needed.
Mon Nov 19 14:55:51 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c
-
add `Thread#backtrace_locations' method. This method is similar to `caller_locations' method for specific method. And fix to accept `level' and `n' parameters for `Thread#backtrace' and `Thread#backtrace_locations'. `caller' (and `caller_locations') do not return `caller' method frame. However, `Thread#backtrace' (and `Thread#backtrace_locations') return `Thread#backtrace' method frame itself if `Thread.current.backtrace' was called.
- vm_backtrace.c
-
ditto.
- internal.h
-
ditto.
- test/ruby/test_backtrace.rb
-
add tests.
Mon Nov 19 14:54:32 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- Makefile.in, common.mk (probes.h)
-
moved to common.mk and changed to see $(srcdir).
- common.mk (probes.dmyh)
-
now created it on $(srcdir) always.
- win32/Makefile.sub (.SUFFIXES)
-
removed common suffix.
Mon Nov 19 10:00:10 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- Makefile.in (.SUFFIX)
-
bsdmake needs .SUFFIX is defined before use.
- common.mk
-
fix path of probes.dmyh.
- common.mk (vm_dump.o)
-
depend probes.h.
- configure.in
-
FreeBSD's USDT requires libelf.
Mon Nov 19 01:11:59 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- vm_core.h, probes_helper.h (RUBY_DTRACE_FUNC_ENTRY_HOOK, RUBY_DTRACE_FUNC_RETURN_HOOK)
-
move from vm_core.h to new file probes_helper.h for narrowing dependency to probes.h.
- common.mk (VM_CORE_H_INCLUDES)
-
remove dependency to probes.h.
- common.mk (vm.$(OBJEXT))
-
add dependency to probes_helper.h.
- vm.c, vm_insnhelper.c
-
include probes_helper.h.
2012-11-18¶ ↑
Sun Nov 18 16:33:00 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- configure.in, Makefile.in, common.mk
-
support DTrace on Solaris 10, based on r26235 by Yugui. On Solaris 10, low optimization level may also be needed, e.g. optflags=“-xO1” or “-xO0” with Oracle SolarisStudio 12.3 cc.
- configure.in (–enable-dtrace)
-
new option to enable/disable DTrace support. By default, trying to enable if dtrace command is found on the system. It is disabled when cross compiling.
- configure.in (RUBY_DTRACE_POSTPROCESS)
-
new macro. checks whether the dtrace on the system needs postprocessing with “dtrace -G”. The postprocessing is needed on Solaris 10 and other platforms.
- configure.in (RUBY_DTRACE_BSD_BROKEN)
-
new macro. checks whether the dtrace supports USDT.
- configure.in (DTRACE)
-
move after RUBY_DTRACE_POSTPROCESS.
- configure.in (LD)
-
On Solaris, /usr/ccs/bin/ld is preferred.
- configure.in, Makefile.in, common.mk (DTRACE_OBJ)
-
new macro for DTrace probe object generated by postprocessing with “dtrace -G”.
- Makefile.in, common.mk (probes.$(OBJEXT))
-
DTrace probe object generated by the postprocessing. New file probes.stamp is for rebuilding related objects that may be modified by “dtrace -G”.
- configure.in, Makefile.in, common.mk (DTRACE_GLOMMED_OBJ)
-
new macro for DTrace static library hacks.
- configure.in, Makefile.in (LIBRUBY_A_OBJS)
-
ditto.
- Makefile.in, common.mk (ruby-glommed.$(OBJEXT))
-
new target with rule for DTrace static library hacks.
- common.mk (DTRACE_DEPENDENT_OBJS)
-
objects depended on probes.h.
Sun Nov 18 09:31:47 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (read_comp)
-
mathn compliant.
- rational.c (read_num)
-
ditto.
Sun Nov 18 02:50:12 2012 Luis Lavena<EMAIL_ADDRESS>↑
- win32/file.c (replace_to_long_name)
-
correct logic around wildcard characters detection and ensure wide-chars are used as pattern. [ruby-core:49451] [Bug #7374]
Sun Nov 18 02:02:46 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (read_comp)
-
modified handling of polar form.
Sun Nov 18 00:50:44 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (read_comp)
-
fixed handling of polar form.
Sun Nov 18 00:14:46 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (string_to_c_strict, string_to_c)
-
rewrote without regexp.
- rational.c (string_to_r_strict, string_to_r)
-
ditto.
2012-11-17¶ ↑
Sat Nov 17 23:53:05 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (make_patterns)
-
should not accept extra sign.
Sat Nov 17 12:14:50 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/yaml_tree.rb
-
use literal YAML style when emitting multi-line strings. Thanks @atambo
- test/psych/test_yaml.rb
-
test for change.
Sat Nov 17 12:03:41 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/scalar_scanner.rb
-
avoid raising exceptions when parsing Floats and Integers. Thanks riffraff [ruby-core:44426]
- test/psych/test_numeric.rb
-
associated test
Sat Nov 17 11:34:31 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- st.c (st_update)
-
pass the key in st_table so that we can free memory of the key in st_table when deleting. [ruby-core:49220] [Bug #7330]
- test/-ext-/st/test_update.rb (Bug::StTable#test_pass_objects_in_st_table)
-
add a test.
Sat Nov 17 11:26:36 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/core_ext.rb
-
move Kernel#y so that it can manually be required as 'psych/y'.
- ext/psych/lib/psych/y.rb
-
ditto
Sat Nov 17 08:13:48 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- lib/abbrev.rb
-
fix r37113. Correct examples, fix style and show explicit dependency (require 'abbrev').
Sat Nov 17 07:35:15 2012 Luis Lavena<EMAIL_ADDRESS>↑
- win32/file.c (replace_to_long_name)
-
skip automatic path expansion when wildcard character is used. [ruby-core:49451] [Bug #7374]
- test/ruby/test_file_exhaustive.rb
-
add a test for above.
Sat Nov 17 00:50:23 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- marshal.c (w_object)
-
add flonum to arg->data to keep reference index consistency. [ruby-core:49323] [Bug #7348]
- test/ruby/test_marshal.rb
-
add a test for above.
Sat Nov 17 00:40:25 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (incs)
-
dist files need probes.dmyh.
- common.mk (probes.dmyh)
-
depends on generator script.
- Makefile.in, common.mk, configure.in, win32/Makefile.sub (probes.h)
-
select generating with dtrace or copying dummy file by suffix rules.
2012-11-16¶ ↑
Fri Nov 16 19:24:10 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- thread.c (rb_thread_call_without_gvl2)
-
change the parameter of `func' from `int *skip_interrupt' to `VALUE *flags'. If (flags & RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS) is not zero, then skip checking interrupt. [ruby-core:46547]
- include/ruby/thread.h
-
ditto.
Fri Nov 16 18:59:05 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- Makefile.in (no-dtrace-probes.h)
-
dmyprobes.h is in srcdir.
- common.mk (dmyprobes.h)
-
ditto.
Fri Nov 16 17:57:15 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- Makefile.in (probes.h)
-
split build commands for dtrace-available and unavailable platforms.
- Makefile.in (incs)
-
probes.h is a platform dependent file, so it cannot be a part of prereq target. move it to all-incs.
- configure.in (DTRACE)
-
move after AC_PROG_CC since cross_compiling is set in it.
- configure.in (DTRACE)
-
ignore non-prefixed version if cross-compiling.
- Makefile.in, win32/Makefile.sub (probes.h)
-
fix copying dmyprobes.h path when outplace-build.
Fri Nov 16 15:27:36 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- lib/net/pop.rb (POP3.certs)
-
fix typo in comment. patch from no6v (Nobuhiro IMAI<EMAIL_ADDRESS>[ruby-dev:46519] [Bug #7355]
Fri Nov 16 12:36:47 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- test/rake/helper.rb (Rake::TestCase#setup)
-
revert r37669. @orig_PWD should be the original pwd.
- test/rake/test_*.rb
-
don't use @orig_PWD to load libraries. It should be specified with relative path from the file.
Fri Nov 16 10:22:52 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- test/rake/helper.rb (Rake::TestCase#setup)
-
@orig_PWD shouldn't be Dir.pwd when the build directory is different from source directory.
Fri Nov 16 09:41:08 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/rake/version.rb
-
workaround fix to build. see #7366 [ruby-dev:46522]
Fri Nov 16 07:23:18 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rake*
-
Updated to rake 0.9.4 rake.rubyforge.org/doc/release_notes/rake-0_9_4_rdoc.html for a list of changes in 0.9.4.
- test/rake*
-
ditto
- NEWS
-
ditto
Fri Nov 16 06:58:52 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rake*
-
Updated to rake 0.9.3. See rake.rubyforge.org/doc/release_notes/rake-0_9_3_rdoc.html for a list of changes in 0.9.3.
- test/rake*
-
ditto
- bin/rake
-
ditto
- NEWS
-
ditto
2012-11-15¶ ↑
Thu Nov 15 22:39:32 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- range.c (range_bsearch)
-
fix some bugs: a documentation bug, a wrong condition, missed break in switch/case, and workaround for GCC optimization. See [ruby-core:49364] in detail. A great patch from Heesob Park. [Bug #7352] [Feature #4766]
- array.c (rb_ary_bsearch)
-
fix similar bug (missed break).
- test/ruby/test_range.rb
-
add two test cases for above.
Thu Nov 15 22:41:57 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_exec.h (GENTRY)
-
GENTRY should be pointer size. A patch by yoshidam (Yoshida Masato) [Bug #7332].
Thu Nov 15 13:20:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- man/erb.1
-
Fix grammar and copyright dates
- man/goruby.1
-
ditto
- man/irb.1
-
ditto
- man/rake.1
-
ditto
- man/ri.1
-
ditto
- man/ruby.1
-
ditto Patch by Arthur Gunn [Fixes Github #210]
Thu Nov 15 11:35:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- man/ruby.1
-
Grammar edits for man page Based on a patch by Michael Endsley [Fixes Github #183]
Thu Nov 15 00:47:20 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- array.c (rb_ary_bsearch)
-
add Array#bsearch for binary search. [ruby-core:36390] [Feature #4766]
- test/ruby/test_array.rb
-
add a test for above.
- range.c (range_bsearch)
-
add Range#bsearch for binary search. [ruby-core:36390] [Feature #4766]
- test/ruby/test_range.rb
-
add a test for above
- NEWS
-
added the two new methods.
2012-11-14¶ ↑
Wed Nov 14 13:25:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/fileutils.rb (chmod)
-
Add “X” to modes, convert format to table [ruby-core:48965] [Bug #7288]
Wed Nov 14 11:51:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/csv.rb (init_comments)
-
Document private method init_comments. Based on a patch from Vincent Batts [ruby-core:49172] [Bug #7319]
Wed Nov 14 00:54:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- Makefile.in (probes.h)
-
create from probes.d
2012-11-13¶ ↑
Tue Nov 13 18:44:01 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_cfunc_with_frame)
-
don't use ci after EXEC_EVENT_HOOK because ci can be overridden.
- vm_eval.c
-
ditto.
- method.h
-
change invoker's parameters types.
- vm_method.c (call_cfunc_invoker_func)
-
ditto.
Tue Nov 13 18:01:54 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_mod_using)
-
raise an ArgumentError if cyclic using is detected. based on the patch by Charlie Somerville. [ruby-core:49092] Bug #7308
- test/ruby/test_refinement.rb
-
related test.
Tue Nov 13 17:40:04 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- common.mk (vm_insnhelper.c)
-
this target is useless and causes ruby always need rebuild.
Tue Nov 13 17:35:49 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (insn_data_to_s_detail)
-
remove debug lines.
Tue Nov 13 17:28:47 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_caller_setup_args)
-
save and restore ci->argc and ci->blockptr before and after method invocations because these method dispatches can override call_info.
- bootstraptest/test_method.rb
-
add tests for this fix.
Tue Nov 13 16:38:02 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- common.mk (dmyprobes.h)
-
always create for make dist.
- Makefile.in (probes.h)
-
create or copy dmyprobes.h
- win32/Makefile.sub
-
only do copy dmyprobes.h.
Tue Nov 13 15:37:21 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- Makefile.in (.SUFFIX)
-
.SUFFIX is needed here for .d.h on bsd make.
Tue Nov 13 15:34:35 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- common.mk Makefile.in win32/Makefile.sub (.d.h)
-
it's not common.
Tue Nov 13 12:27:11 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
disable dtrace because it doesn't work on FreeBSD.
- common.mk (clean-local)
-
rm probes.h.
- common.mk (parse.o)
-
depend $(PROBES_H_INCLUDES).
- common.mk (.d.h)
-
moved from Makefile.in and use BASERUBY.
- tool/gen_dummy_probes.rb
-
reimplemented with ruby because sed is not available on Windows Microsoft VC++ environment.
Tue Nov 13 12:30:26 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/README.win32
-
added mention about build directory. currently we can not build ruby in win32 directory. this problem is reported by Masahiro Kitajima<EMAIL_ADDRESS>Tue Nov 13 11:03:47 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- re.c (rb_memsearch_ss)
-
performance improvement by using memmem(3) if possible. [ruby-dev:45530] [Feature #6311]
- configure.in
-
check existence of memmem(3) and that it is not broken.
Tue Nov 13 06:50:02 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- probes.d
-
add DTrace probe declarations. [ruby-core:27448]
- array.c (empty_ary_alloc, ary_new)
-
added array create DTrace probe.
- compile.c (rb_insns_name)
-
allowing DTrace probes to access instruction sequence name.
- Makefile.in
-
translate probes.d file to appropriate header file.
- common.mk
-
declare dependencies on the DTrace header.
- configure.in
-
add a test for existence of DTrace.
- eval.c (setup_exception)
-
add a probe for when an exception is raised.
- gc.c
-
Add DTrace probes for mark begin and end, and sweep begin and end.
- hash.c (empty_hash_alloc)
-
Add a probe for hash allocation.
- insns.def
-
Add probes for function entry and return.
- internal.h
-
function declaration for compile.c change.
- load.c (rb_f_load)
-
add probes for `load` entry and exit, require entry and exit, and wrapping search_required for load path search.
- object.c (rb_obj_alloc)
-
added a probe for general object creation.
- parse.y (yycompile0)
-
added a probe around parse and compile phase.
- string.c (empty_str_alloc, str_new)
-
DTrace probes for string allocation.
- test/dtrace/*
-
tests for DTrace probes.
- vm.c (vm_invoke_proc)
-
add probes for function return on exception raise, hash create, and instruction sequence execution.
- vm_core.h
-
add probe declarations for function entry and exit.
- vm_dump.c
-
add probes header file.
- vm_eval.c (vm_call0_cfunc, vm_call0_cfunc_with_frame)
-
add probe on function entry and return.
- vm_exec.c
-
expose instruction number to instruction name function.
- vm_insnhelper.c
-
add function entry and exit probes for cfunc methods.
- vm_insnhelper.h
-
vm usage information is always collected, so uncomment the functions.
2012-11-12¶ ↑
Mon Nov 12 19:14:50 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- configure.in (isinf, isnan)
-
isinf() and isnan() are macros on DragonFly which cannot be found by AC_REPLACE_FUNCS(). This workaround enforces the fact that they exist on DragonFly.
Mon Nov 12 15:59:38 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_core.h (rb_call_info_t
-
:refinements), compile.c (new_callinfo), vm_insnhelper.c (vm_search_method): revert r37616 because it's too slow. [ruby-dev:46477]
- test/ruby/test_refinement.rb (test_inline_method_cache)
-
skip the test until the bug is fixed efficiently.
Mon Nov 12 14:28:01 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/mkexports.rb (each_export)
-
skip garbage generated by VS2012's nmake. reported and patched by Yoshida Masato at [Bug #7333] [ruby-dev:46484]
2012-11-11¶ ↑
Sun Nov 11 18:58:55 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- test/date/test_date_{parse,strptime}.rb
-
changed the format of some extra messages.
Sun Nov 11 18:41:34 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_parse.c (date__parse)
-
revised the tight parser
Sun Nov 11 15:39:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (rb_hash_s_create)
-
just warn for wrong elements now. [ruby-dev:46440] [Bug #7300]
- hash.c (rb_hash_s_create)
-
refine error messages.
- error.c (rb_builtin_class_name)
-
share for above.
Sun Nov 11 15:12:18 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (top_using)
-
remove Kernel#using, and add main.using instead.
- test/ruby/test_refinement.rb
-
related test.
Sun Nov 11 13:41:01 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_using_refinement, rb_mod_using, f_using)
-
clear method cache only when using is called explicitly.
- test/ruby/test_refinement.rb
-
related test.
Sun Nov 11 12:56:34 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- lib/pstore.rb (PStore)
-
fix not to replace ThreadError raised in transaction block with PStore::Error. [ruby-core:39238] [Bug #5269]
Sun Nov 11 11:36:19 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- vm_core.h (rb_call_info_t
-
:refinements), compile.c (new_callinfo): add a new field for inline method cache.
- vm_insnhelper.c (vm_search_method)
-
check rb_call_info_t::refinements not to confuse inline method cache when module_eval is used with refinements.
- test/ruby/test_refinement.rb
-
related test.
2012-11-10¶ ↑
Sat Nov 10 23:02:31 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c
-
move immutable fields from struct heaps_slot and struct sorted_heaps_slot into struct heaps_header. Based on a patch from Sokolov Yura [Feature #6199]
Sat Nov 10 19:28:16 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c
-
modified doc.
- rational.c
-
ditto.
Sat Nov 10 18:20:10 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_parse.c
-
edited about era.
Sat Nov 10 12:13:41 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- tool/rbinstall.rb
-
Don't install *.gemspec under lib/. [ruby-core:48966] [Bug #7289] Reported by Vit Ondruch. Thanks!!!
Sat Nov 10 00:49:26 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- ruby_atomic.h
-
renamed from atomic.h to avoid header file name conflict on Solaris 10. [ruby-dev:46414] [Bug #7287]
- gc.c, signal.c, vm_core.h, common.mk
-
reflect the rename from atomic.h to ruby_atomic.h.
Sat Nov 10 00:46:57 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- atomic.h
-
Revert r37491 which is a temporary workaround.
Sat Nov 10 00:33:31 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- siphash.h
-
check configure macros before include newer headers.
2012-11-09¶ ↑
Fri Nov 9 23:33:05 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/erb.rb (ERB#run, ERB#result)
-
eval under isolated bindings for safe concurrent use. [ruby-core:47638] [Bug #7046]
Fri Nov 9 23:05:06 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- random.c (BYTE_ORDER)
-
define using configured WORDS_BIGENDIAN.
- siphash.c (sip_init_state)
-
use union to suppress warnings by gcc 4.7.
Fri Nov 9 19:40:03 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- array.c (rb_ary_splice)
-
fix r37583 doesn't consider the case when beg > array length.
Fri Nov 9 16:11:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- random.c (rb_memhash)
-
use siphash.
Fri Nov 9 16:08:46 2012 Sokolov Yura funny-falcon<EMAIL_ADDRESS>↑
- array.c
-
speedup Array#unshift by using space in shared array. [Feature #6638] - when array owns its shared array (ARY_SHARED_NUM == 1), and there is enough space then try unshift values directly into shared array. - when resulting array is big (~>64 items) then make it shared with enough room for future unshifts, and then insert into shared array.
- array.c (rb_ary_splice)
-
use shared array in rb_ary_slice. [Feature #6638] - use ary_ensure_room_for_push when rb_ary_slice used to add at the end of array, cause rb_ary_concat use rb_ary_slice.
- array.c (ary_ensure_room_for_push)
-
make array really suitable for queue. [Feature #6638] when array is shared (which happens after Array#shift), and ARY_SHARED_NUM == 1 (which is very often when array used as queue), then make rb_ary_push push directly into shared array.
- array.c (rb_ary_modify)
-
steal shared array's container when ARY_SHARED_NUM == 1. [Feature #6638] - Do not allocate new memory in rb_ary_modify when ARY_SHARED_NUM == 1 and length almost same. - Store ARY_CAPA instead of RARRAY_LEN in ary_make_shared, to make it useful. - Fix rb_ary_sort_bang accordantly.
Fri Nov 9 16:00:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c
-
Documentation for BigDecimal Based on a patch from Vincent Batts [ruby-core:49047] [Bug #7305]
Fri Nov 9 15:25:42 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/shellwords.rb (Shellwords#shellescape)
-
Add back my original real world example with some enhancement.
- lib/shellwords.rb (Shellwords#shelljoin)
-
Undo part of the previous rdoc change. This new example using a string-only array was not in line with the description.
Fri Nov 9 12:58:13 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- string.c (rb_str_crypt)
-
crypt(3) may return NULL. Latest glibc (2.16?) crypt(3) actually returns NULL. [Bug #7312]
Fri Nov 9 12:07:06 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (alloca), eval_intern.h (alloca), gc.c (alloca)
-
Make alloca() globally available by moving the ultimate ifdef's to ruby/ruby.h. Gcc hides its builtin alloca() when compiling with -ansi, and linking thus fails on platforms that lack their own alloca() implementation in libc, which include OpenBSD and some ports of NetBSD. We use alloca() everywhere including from within third party C extensions, so alloca() must be made globally available. [Bug #7307]
- addr2line.c (alloca)
-
Replace the alloca() part with the ultimate ifdef's. [Bug #7307]
Fri Nov 9 09:30:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- io.c (IO#new)
-
Fix indentation from r37444 [ruby-core:48052] [Bug #7179]
Fri Nov 9 07:36:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- bignum.c (bigmul0)
-
enable big_mul_toom3. [ruby-core:48552] [Bug #7242]
- bignum.c (bigmul1_toom3)
-
fix incorrect calculation. the patch is made by Heesob Park. [ruby-core:48552] [Bug #7242]
Fri Nov 9 05:33:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- bignum.c (bigmul0)
-
disable big_mul_toom3 temporarily. [ruby-core:48552] [Bug #7242]
- test/ruby/test_bignum.rb (test_mul_large_numbers)
-
add a test for bigmul1_toom3 suggested in [Bug #7242].
2012-11-08¶ ↑
Thu Nov 8 21:57:59 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- re.c (rb_memsearch)
-
performance improvement by using memchr(). [ruby-dev:45397] [Feature #6173]
Thu Nov 8 19:02:50 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line)
-
treat r as newline as mame pointed. [ruby-dev:46425] [Bug #7278]
Thu Nov 8 11:32:11 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- configure.in (–with-opt-dir)
-
Avoid nesting of double quotes inside backquotes, since some traditional shells like PD KSH
Thu Nov 8 09:34:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- numeric.c
-
Add a caution that the results of the comparing operations of two NaNs are undefined. [#1720] [ruby-dev:38725] [ruby-core:36966]
Thu Nov 8 00:24:14 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- ext/curses/view.rb
-
Do not fail if the file to view is shorter than the screen height.
2012-11-07¶ ↑
Wed Nov 7 15:22:37 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- numeric.c (ruby_float_step)
-
fix r37514: it yielded with NaN if the unit is infinity.
Wed Nov 7 15:46:12 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- lib/webrick.rb
-
fix typo. reported by Rohit Arondekar. github.com/ruby/ruby/pull/211
Wed Nov 7 15:34:12 2012 Takeyuki FUJIOKA<EMAIL_ADDRESS>↑
- lib/cgi/core.rb
-
alias CGI#http_header to CGI#header.
Wed Nov 7 12:49:39 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_mod_refine)
-
set RMODULE_IS_REFINEMENT to a created refinement module, and don't override method_added.
- vm_method.c (rb_method_entry_make)
-
check redefinition of optimized methods when a method is added to a refinement module. [ruby-core:48970] [Bug #7290]
- test/ruby/test_refinement.rb
-
related test.
Wed Nov 7 11:48:14 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- misc/ruby-additional.el (ruby-mode-set-encoding)
-
now encoding needs to be set always explicitly actually. [Feature #6679]
Wed Nov 7 09:15:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- object.c (rb_mod_const_get)
-
avoid inadvertent symbol creation.
Wed Nov 7 07:52:50 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- enum.c (rb_enum_cycle_size)
-
prefix with rb.
Wed Nov 7 04:32:15 2012 Luis Lavena<EMAIL_ADDRESS>↑
- test/ruby/test_file_exhaustive.rb
-
Remove FIXME skip on Windows specific test because the test in question was already fixed.
Wed Nov 7 03:45:12 2012 Luis Lavena<EMAIL_ADDRESS>↑
- ext/zlib/extconf.rb
-
Recognize zlibwapi as linking library. Patch by Daniel Berger. [ruby-core:44979] [Feature #6421]
2012-11-06¶ ↑
Tue Nov 6 20:40:28 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- object.c (rb_mod_const_get)
-
Fix constant missing exception class and message to maintain backwards compatibility. Constant search should start at Object when constant starts with '::'
- test/ruby/test_module.rb
-
test for fixes
Tue Nov 6 16:50:00 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- lib/tempfile.rb (Tempfile#inspect)
-
fix confusing inspect. previous Tempfile#inspect says it is a File, but actually it is not a File. t = Tempfile.new(“foo”) #=> #<File:/tmp/foo20121106-31970-1ffbum0> t.is_a? File #=> false now Tempfile#inspect returns like: t = Tempfile.new(“foo”) #=> #<Tempfile:/tmp/foo20121106-31970-1ffbum0> [ruby-core:47544] [Bug #7027]
Tue Nov 6 16:22:30 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- atomic.h
-
add include <sys/atomic.h> for the workaround of header file name conflict of atomic.h with /usr/include/atomic.h on Solaris 10. [ruby-dev:46414] [Bug #7287]
Tue Nov 6 14:38:00 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole.rb
-
now source encoding is UTF-8, so binary strings in old scripts are dangerous.
Tue Nov 6 14:25:09 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line)
-
don't use /n in universal regexp. [ruby-dev:46394] [Bug #7278]
Tue Nov 6 09:42:26 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- string.c (rb_str_b)
-
Add String#b, returning a copied string whose encoding is ASCII-8BIT. [ruby-dev:45992] [Feature #6767]
Tue Nov 6 09:37:57 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ruby.c (load_file_internal)
-
set default source encoding as UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679]
- parse.y (parser_initialize)
-
set default parser encoding as UTF-8 instead of US-ASCII.
Tue Nov 6 05:48:06 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_require.rb (TestRequire#test_require_to_path_redefined_in_load_path, TestRequire#test_require_to_str_redefined_in_load_path)
-
Suppress method redefined warning when test-all with RUBYOPT=-w.
2012-11-05¶ ↑
Mon Nov 5 23:28:57 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- file.c (rb_get_path_check_to_string)
-
extract from rb_get_path_check(). We change the spec not to call to_path of String object.
- file.c (rb_get_path_check_convert)
-
extract from rb_get_path_check().
- file.c (rb_get_path_check)
-
follow the above change.
- file.c (rb_file_expand_path_fast)
-
remove check_expand_path_args(). Instead we call it in load.c.
- file.c (rb_find_file_ext_safe)
-
use rb_get_expanded_load_path() to reduce expand cost.
- file.c (rb_find_file_safe)
-
ditto.
- internal.h (rb_get_expanded_load_path)
-
add a declaration.
- internal.h (rb_get_path_check_to_string, rb_get_path_check_convert)
-
add declarations.
- load.c (rb_construct_expanded_load_path)
-
fix for compatibility. Same checks in rb_get_path_check() are added. We don't replace $LOAD_PATH and ensure that String object of $LOAD_PATH are frozen. We don't freeze non String object and expand it every time. We add arguments for expanding load path partially and checking if load path have relative paths or non String objects.
- load.c (load_path_getcwd)
-
get current working directory for checking if it's changed when getting load path.
- load.c (rb_get_expanded_load_path)
-
fix for rebuilding cache properly. We check if current working directory is changed and rebuild expanded load path cache. We expand paths which start with ~ (User HOME) and non String objects every time for compatibility. We make this accessible from other source files.
- load.c (rb_feature_provided)
-
call rb_get_path() since we changed rb_file_expand_path_fast() not to call it.
- load.c (Init_load)
-
initialize vm->load_path_check_cache.
- vm.c (rb_vm_mark)
-
mark vm->load_path_check_cache for GC.
- vm_core.h (rb_vm_struct)
-
add vm->load_path_check_cache to store data to check load path cache validity.
- test/ruby/test_require.rb (TestRequire)
-
add tests for require compatibility related to cached expanded load path. [ruby-core:47970] [Bug #7158]
Mon Nov 5 23:26:05 2012 Greg Price<EMAIL_ADDRESS>↑
- load.c (rb_get_expanded_load_path)
-
cache the expanded load path. This saves 4KB of allocation and some stats for every element of the load path (so nearly a MB in my Rails app) on every require.
- load.c (rb_construct_expanded_load_path)
-
ensure that $LOAD_PATH entries are frozen strings. The user must mutate $LOAD_PATH itself rather than its individual entries.
- vm_core.h (rb_vm_struct)
-
add fields.
- vm.c (rb_vm_mark)
-
mark new fields.
- ruby.c (process_options)
-
modify $LOAD_PATH directly rather than its elements. Patch by Greg Price. [ruby-core:47970] [Bug #7158]
Mon Nov 5 23:24:42 2012 Greg Price<EMAIL_ADDRESS>↑
- load.c (rb_feature_p, rb_provide_feature)
-
index $LOADED_FEATURES so that require isn't so slow.
- load.c (rb_provide_feature, get_loaded_features_index)
-
ensure that $LOADED_FEATURES entries are frozen strings. The user must mutate $LOADED_FEATURES itself rather than its individual entries.
- load.c (reset_loaded_features_snapshot)
-
add a new function to reset vm->loaded_features_snapshot.
- load.c (get_loaded_features_index_raw)
-
add a new function to get the loaded-features index.
- load.c (features_index_add_single)
-
add a new function to add to the loaded-features index a single feature.
- load.c (features_index_add)
-
add a new function to add to the loaded-features index all the required entries for `feature`.
- vm_core.h (rb_vm_struct)
-
add fields.
- vm.c (rb_vm_mark)
-
mark new fields.
- include/ruby/intern.h (rb_hash_clear)
-
declare function.
- hash.c (rb_hash_clear)
-
make function non-static. Patch by Greg Price. [ruby-core:47970] [Bug #7158]
Mon Nov 5 23:23:51 2012 Greg Price<EMAIL_ADDRESS>↑
- array.c (rb_ary_shared_with_p)
-
new function. Expose whether two arrays are shared (read-only, C only).
- include/ruby/intern.h (rb_ary_shared_with_p)
-
declare. Patch by Greg Price. [ruby-core:47970] [Bug #7158]
Mon Nov 5 23:21:14 2012 Greg Price<EMAIL_ADDRESS>↑
- load.c (loaded_feature_path)
-
clarify and briefly comment function. These clarifications have no effect on the behavior of the function.
- load.c (rb_feature_p)
-
explain the search loop. Especially useful because the logic is complicated as described in the second paragraph. Patch by Greg Price. [ruby-core:47970] [Bug #7158]
Mon Nov 5 22:45:03 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- ext/dl/win32/lib/Win32API.rb (Win32API#call)
-
use 64bit pointer for x64 Windows. This would fix TestSecureRandom#test_s_random_bytes_without_openssl error. [ruby-core:47451] [Bug #6990]
Mon Nov 5 22:09:26 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- cygwin/GNUmakefile.in (uncommon.mk)
-
link *.res.o. EXTOBJES is defined in uncommon.mk. *.res.o setting should be below uncommon.mk. [ruby-core:48858] [Bug #7277]
Mon Nov 5 11:35:11 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread_pthread.c (native_thread_init, native_thread_destroy)
-
removed HAVE_PTHREAD_CONDATTR_INIT check because this silly ifdef makes use-uninitialized-var issue and (2) native_cond_initialize() already have a right platform and caller don't need any additional care. [Bug #6825]
Mon Nov 5 10:57:59 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/cgi/core.rb
-
check if Tempfile is defined before use it.
- lib/cgi/core.rb
-
remove tempfiles only if tempfiles exist
Mon Nov 5 12:17:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- lib/uri/http.rb (URI::HTTP.build)
-
Fix example Patch by Carina C. Zona [Fixes #209 Github]
Mon Nov 5 09:55:05 2012 Takeyuki FUJIOKA<EMAIL_ADDRESS>↑
- lib/cgi/core.rb
-
remove tempfile more early.
2012-11-04¶ ↑
Sun Nov 4 20:29:46 2012 Takeyuki FUJIOKA<EMAIL_ADDRESS>↑
- lib/cgi.rb, lib/cgi/*/rb
-
rename CGI#header to CGI#http_header, add and update HTML5 tag generator. [Bug #7110] Patch provided by Marcus Stollsteimer, thank you !
Sun Nov 4 11:47:39 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- lib/fileutils.rb (module FileUtils)
-
repatch [ruby-core:39622] [Feature #5337]. improve performance of FileUtils#compare_stream. [ruby-core:47545] [Feature #7028]
Sun Nov 4 11:27:54 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- array.c (recursive_equal)
-
fix to return true when self and other are resized to same size and the current index become out of range.
- test/ruby/test_array.rb
-
add a test for the above.
Sun Nov 4 10:19:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (file_s_fnmatch)
-
match with expanding braces if FNM_EXTGLOB is set. [ruby-core:40037] [Feature #5422]
2012-11-03¶ ↑
Sat Nov 3 23:38:15 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c
-
modified doc.
- rational.c
-
ditto.
Sat Nov 3 22:38:55 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
modified doc.
Sat Nov 3 18:35:55 2012 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- vm.c (rb_vm_rewrite_ep_in_errinfo, vm_rewrite_ep_in_errinfo)
-
merge code and remove `rb_vm_rewrite_ep_in_errinfo'.
Sat Nov 3 18:15:24 2012 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- vm.c, proc.c
-
avoid unnecessary `rb_vm_rewrite_ep_in_errinfo' calls.
Sat Nov 3 17:53:43 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- bin/testrb
-
Use only Test::Unit::AutoRunner in test-unit gem compatible API to be available by both test/unit bundled in Ruby and test-unit gem.
- lib/test/unit.rb (Test::Unit::AutoRunner)
-
Move codes from testrb.
Sat Nov 3 14:56:21 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_parse.c (parse_eu)
-
should capture apostrophe too.
Sat Nov 3 14:46:15 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_parse.c (date__parse)
-
revised the tight parser.
Sat Nov 3 14:43:42 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/xmldecl.rb (REXML::XMLDecl#content)
-
Add missing A and z.
Sat Nov 3 14:42:55 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/output.rb (REXML::Output#initialize)
-
Use normalized encoding name.
Sat Nov 3 14:41:17 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/output.rb (REXML::Output)
-
Don't output BOM in middle of the output string.
- test/rexml/test_document.rb
-
Add a test for the above change.
Sat Nov 3 14:09:55 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- NEWS
-
Add an item about REXML::Document#write.
Sat Nov 3 13:46:49 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- test/rexml/test_document.rb
-
Fix tests that expect encoding name isn't normalized.
Sat Nov 3 13:26:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- dir.c (Dir#glob)
-
Documentation for pattern section, backslash subsection Patch by Eric Bouchut [ruby-core:48528] [Bug #7230]
Sat Nov 3 13:26:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- io.c (IO#new)
-
Documentation for Kernel#open modes and formatting [ruby-core:48052] [Bug #7179]
Sat Nov 3 13:01:02 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- test/rexml/test_encoding.rb (EncodingTester#test_in_different_out)
-
Fix a test that expects encoding in XML declaration is changed by Output's encoding. It is dropped feature.
Sat Nov 3 12:49:45 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/document.rb (REXML::Document#write)
-
Document encoding option. Now different encoding between XML file's encoding and XML declaration's encoding is support. [Feature #4872] (work in progress)
- lib/rexml/xmldecl.rb (REXML::XMLDecl#write)
-
Always use XMLDecl's encoding.
- test/rexml/test_document.rb
-
Update tests for the above change.
Sat Nov 3 12:18:35 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- array.c (recursive_equal)
-
fix not to make invalid pointers when self and other are resized to same size in #== of their elements. [ruby-dev:46373] [Feature #6177]
Sat Nov 3 12:06:15 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- test/rexml/test_xml_declaration.rb (TestXmlDeclaration#test_*)
-
Remove needless prefix from test names.
Sat Nov 3 12:04:52 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- test/rexml/test_xml_declaration_parent_child.rb
-
Rename to …
- test/rexml/test_xml_declaration.rb
-
… this.
Sat Nov 3 11:43:00 2012 Zachary Scott<EMAIL_ADDRESS>↑
- hash.c (rb_hash_delete)
-
Correct grammar Patch by Glenn Oppegard [Fixes #208 Github]
Sat Nov 3 11:28:28 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- NEWS
-
add a news about GC::Profiler.raw_data.
Sat Nov 3 11:01:32 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- NEWS
-
add a news about rb_newobj_of() and NEWOBJ_OF().
Sat Nov 3 10:17:41 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- eval.c (f_current_dirname)
-
add the new method for Kernel. This method almost same as File.dirname(__FILE__). One different behavior is it returns nil when __FILE__ returns nil. [Feature #3346]
- NEWS
-
ditto
- test/ruby/test_method.rb
-
related test.
Sat Nov 3 09:03:34 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- test/ruby/test_refinement.rb (test_new_method_by_send, test_new_method_by_method_object)
-
add tests for Kernel#send and Kernel#method with refinements.
- test/ruby/test_refinement.rb (test_symbol_to_proc)
-
add a test calling a proc created by Symbol#to_proc outside the scope where a refinement is closed over.
Sat Nov 3 04:14:19 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm.c (rb_vm_rewrite_ep_in_errinfo)
-
rewrite all catch points in errinfo, not only the topmost frame. based on the patch by ktsj (Kazuki Tsujimoto) in [ruby-dev:45656]. [Bug #6460]
2012-11-02¶ ↑
Fri Nov 2 20:11:17 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (MakeMakefile#timestamp_file)
-
remove @ which looks like configure variables.
- lib/mkmf.rb (MakeMakefile#timestamp_file)
-
use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]
Fri Nov 2 17:55:39 2012 Shota Fukumori<EMAIL_ADDRESS>↑
- lib/test/unit.rb (_run_parallel)
-
Delete status line before showing results. Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250]
- lib/test/unit.rb (_run_parallel)
-
Fix strange result when disabled retrying. Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250]
Fri Nov 2 17:52:12 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- object.c (rb_mod_to_s)
-
Module#{to_s,inspect}, when invoked on a refinement, returns a string in the format #<refinement:C@M>, where C is a refined class and M is a module at which the refinement is defined.
- eval.c (rb_mod_refine)
-
store information on a refinement for the above change.
- test/ruby/test_refinement.rb
-
related test.
Fri Nov 2 16:57:52 2012 Shota Fukumori<EMAIL_ADDRESS>↑
- vm_dump.c (rb_vm_bugreport)
-
Because of many log directories, making directory lists readable.
Fri Nov 2 16:44:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- vm_dump.c (rb_vm_bugreport)
-
add ~/Library/Logs/DiagnosticReports in the locations list of crash reports.
Fri Nov 2 14:52:52 2012 Masaki Matsushita<EMAIL_ADDRESS>↑
- array.c (recursive_equal)
-
performance improvement by avoiding overhead to call rb_ary_elt(). [ruby-dev:45412] [Feature #6177]
Fri Nov 2 14:47:53 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- string.c (sym_to_proc, sym_call)
-
A Proc created by Symbol#to_proc should close over the current refinements. [ruby-dev:46345] [Bug #7261]
- vm_eval.c (rb_call0, rb_search_method_entry, rb_funcall_passing_block_with_refinements)
-
add a new argument `refinements' for the above changes.
- test/ruby/test_refinement.rb
-
related test.
Fri Nov 2 08:24:28 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (top_define_method)
-
new method, main.define_method. [ruby-core:45715] [Feature #6609]
- eval.c (top_include)
-
fix a warning message, main is not a class or module.
Fri Nov 2 04:41:33 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (MakeMakefile#timestamp_file)
-
use ! instead of %, a GNU make special character.
Fri Nov 2 04:40:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure)
-
use never existing file in the current temporary directory.
Fri Nov 2 04:23:20 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- tool/merger.rb
-
add feature to tag preview/rc.
Fri Nov 2 03:23:37 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/mkmf.rb
-
fix for if config is nil.
2012-11-01¶ ↑
Thu Nov 1 23:06:01 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- tool/make-snapshot
-
fix wrong regexp for releasing preview. patched by mame.
Thu Nov 1 22:27:11 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- NEWS
-
add a news about objspace, ObjectSpace.reachable_objects_from.
Thu Nov 1 21:57:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (BigDecimal_new), test/bigdecimal/test_bigdecimal.rb
-
Fix exception message of BigDecimal constructor with a Float.
Thu Nov 1 21:52:20 2012 Kenta Murata<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (BigDecimal_add), test/bigdecimal/test_bigdecimal.rb
-
need to specify precision for converting Rational and Float. [ruby-core:48045] [Bug #7176]
Thu Nov 1 21:42:20 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb
-
Revert r37404. My ubuntu box has actually the directory named “/nonexistent”… Sorry.
Thu Nov 1 21:28:28 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb
-
Process.exec raised EACCES on Linux 3.5.0-17-generic. This is a temporal fix to rescue that exception. Needs kosaki's review.
Thu Nov 1 21:19:56 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- iseq.c (set_relation)
-
parent_iseq need to be set regardless iseq type. fix r37397.
Thu Nov 1 19:47:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread_pthread.c (RUBY_STACK_MIN)
-
may not a compile time constant. fix r37079. [ruby-dev:46322] [Bug #7247]
Thu Nov 1 16:44:36 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- NEWS
-
add note for Module#refine, Module#refinements, Module#using, and Kernel#using.
Thu Nov 1 14:41:47 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_using_module)
-
using should be used indirectly. [ruby-dev:46326] [Feature #7251]
2012-10-31¶ ↑
Wed Oct 31 18:17:38 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (gc_profile_record)
-
don't define unused variables when GC_PROFILE_MORE_DETAIL is 0.
Wed Oct 31 18:10:53 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (gc_prof_mark_timer_stop)
-
count is not initialized.
Wed Oct 31 09:28:24 2012 Eric Hodel<EMAIL_ADDRESS>↑
- thread.c (rb_thread_call_without_gvl2)
-
Note that ubf() may or may not be called with the GVL. Hinted that rb_thread_call_with_gvl() can be used to access ruby functionality.
Wed Oct 31 09:06:54 2012 Eric Hodel<EMAIL_ADDRESS>↑
- thread.c (rb_thread_call_without_gvl2)
-
Update documentation to natural English.
- thread.c (rb_thread_call_with_gvl)
-
ditto.
Wed Oct 31 02:53:07 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/dl/lib/dl/struct.rb
-
fix strange require order. [ruby-dev:45702]
- ext/dl/lib/dl/value.rb
-
ditto
- test/dl/test_c_struct_entry.rb
-
remove strange require order from tests.
- test/dl/test_c_union_entity.rb
-
ditto
2012-10-30¶ ↑
Tue Oct 30 23:59:32 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (rb_mod_refine)
-
fix the error message when no block is given. [ruby-dev:46319] [Bug #7244]
- test/ruby/test_refinement.rb
-
related test.
Tue Oct 30 19:27:48 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- process.c (redirect_dup2)
-
set standard handles when new fd is stdio, because if there is no allocated console at the moment Windows does not automatically associate it for child process's standard handle. this is adhoc workaround. reported by Martin Thiede at [ruby-core:48542] [Bug #7239].
- io.c (rb_cloexec_dup2)
-
ditto.
Tue Oct 30 03:08:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/rbconfig/obsolete.rb (Config)
-
re-introduce warnings for a lame-duck. [ruby-core:46836] [Bug #6809]
Tue Oct 30 02:20:10 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- thread.c
-
added Thread#thread_variable_(get|set), Thread#thread_variable?, and Thread#thread_variables for operating on variables that are local to threads. [ruby-core:47790]
- vm.c
-
ditto
- test/ruby/test_thread.rb
-
tests for thread variables.
2012-10-29¶ ↑
Mon Oct 29 18:22:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/stringio/stringio.c (strio_close)
-
close separately per each instances, as well as IO.
Mon Oct 29 10:22:00 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/handlers/recorder.rb
-
added a class for recording YAML parse and emit events.
- ext/psych/lib/psych/handler.rb
-
adding a list of events so that handler classes can more easily be meta-programmed.
- test/psych/handlers/test_recorder.rb
-
tests for the change.
2012-10-28¶ ↑
Sun Oct 28 23:52:25 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- test/rexml/test_document.rb
-
Add tests for parsing XML encoded by UTF-8 with BOM.
Sun Oct 28 23:47:09 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/source.rb
-
Move encoding detection code to base class.
- lib/rexml/encoding.rb
-
Remove needless encoding detection code.
Sun Oct 28 21:40:13 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/parsers/baseparser.rb
-
Fix a bug that UTF-8 is used for UTF-16XX encoded XML that doesn't have encoding=“UTF-16” in XML declaration.
- test/rexml/test_document.rb
-
Add tests for the above change.
Sun Oct 28 21:37:34 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- test/rexml/test_document.rb
-
Group tests that they parse UTF-16XX encoded XML that has encoding=“UTF-16” in XML declaration.
Sun Oct 28 21:25:11 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/source.rb (REXML::IOSource#initialize)
-
Reduce @line_break initialize code. It should be done only in encoding=.
- lib/rexml/parsers/baseparser.rb
-
Don't set UTF-16 encoding to source by encoding=“UTF-16” in XML declaration because UTF-16XX source encoding should be set in Source#initialize or IOSource#initialize. They should handle BOM. Parser should not consider about it.
Sun Oct 28 21:18:37 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- test/rexml/test_document.rb
-
Add tests for parsing XML encoded by UTF-16 with BOM.
Sun Oct 28 19:12:11 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_parse.c (iso8601_{ext,bas}_time)
-
should not match empty string.
Sun Oct 28 18:51:33 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_parse.c (date__parse)
-
revised the tight parser.
Sun Oct 28 15:41:50 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/document.rb (REXML::Document#write)
-
Add :encoding option to support custom XML encoding. [Feature #4872] (work in progress)
- test/rexml/test_document.rb
-
Add tests for the above change.
Sun Oct 28 15:00:19 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/document.rb (REXML::Document#write)
-
Remove needless indent in document.
Sun Oct 28 14:59:14 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/document.rb (REXML::Document#write)
-
Accept options Hash as argument.
- test/rexml/test_document.rb
-
Add tests for the above change.
Sun Oct 28 14:09:44 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/document.rb (REXML::Document#write)
-
Fix wrong usage in document.
Sun Oct 28 14:03:48 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- lib/rexml/document.rb (REXML::Document#write)
-
Fix wrong method names in document.
Sun Oct 28 10:12:15 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/yaml_tree.rb
-
`tree` should return the same thing on every call.
- test/psych/visitors/test_yaml_tree.rb
-
related test.
Sun Oct 28 10:05:03 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/yaml_tree.rb
-
YAML Tree object should be able to take an emitter object as it's output.
- test/psych/visitors/test_yaml_tree.rb
-
related test.
Sun Oct 28 08:23:16 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- bignum.c (bignew_1)
-
Bignum instances are frozen. Feature #3222
- include/ruby/ruby.h
-
Fixnum instances are also frozen.
- class.c (singleton_class_of)
-
check Bignum before singleton checking.
- test/ruby/test_bignum.rb
-
add a test.
- test/ruby/test_fixnum.rb
-
ditto.
- test/ruby/marshaltestlib.rb, test/ruby/test_eval.rb, test/ruby/test_object.rb
-
catch up above changes.
Sun Oct 28 04:38:06 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (vm_define_method)
-
remove type and frozen checking. Checking is done in `rb_singleton_class()'.
Sun Oct 28 00:49:06 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (assign_in_cond)
-
warn for static content object assignments in conditional statements. [ruby-dev:43083] [Feature #4299]
2012-10-27¶ ↑
Sat Oct 27 23:33:41 2012 Benoit Daloze<EMAIL_ADDRESS>↑
- gc.c (gc_profile_result, gc_profile_report)
-
use internal structures to avoid allocations and progressively print the output for report. [ruby-core:47163] [Bug #6865]
Sat Oct 27 11:01:10 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- numeric.c (rb_float_new_in_heap), include/ruby/ruby.h
-
make all Float objects frozen. [ruby-dev:46081] [ruby-trunk - Feature #6936] Most part of patch by NARUSE, Yui<EMAIL_ADDRESS>- class.c (singleton_class_of)
-
raise TypeError when trying to define a singleton method on Float objects.
- vm.c (vm_define_method)
-
ditto.
- test/ruby/marshaltestlib.rb
-
catch up above changes.
- test/ruby/test_class.rb
-
ditto.
- test/test_pp.rb
-
ditto.
Sat Oct 27 10:50:53 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- object.c (rb_mod_const_get)
-
make sure the constant name is converted to a string before searching. [ruby-core:48405]
Sat Oct 27 10:12:13 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_compile_with_option)
-
Instead of testing respond_to, just check if the argument is actually a file, because by calling user-defined gets something weired can happen. Patch by Glass_saga. [ruby-dev:40202] [Bug #2861]
- parse.y (ripper_initialize)
-
ditto.
Sat Oct 27 10:07:57 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (enum lex_state_e)
-
[EXPERIMENTAL] lex_state as bit field / IS_lex_state() macro. based on the patch by Dave B in [ruby-core:23503]. [Feature #1493]
Sat Oct 27 10:05:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/win32.h (fstat)
-
use _fstati64() instead of fstati64() on mingw32.
Sat Oct 27 06:28:33 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- object.c (rb_mod_const_get)
-
const_get accepts qualified constant strings. e.g. Object.const_get(“Foo::Bar::Baz”) [ruby-core:41404]
- test/ruby/test_module.rb
-
tests for new behavior
2012-10-26¶ ↑
Fri Oct 26 13:24:20 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (literal_concat_gen)
-
merge fixed strings across concatenated literals, after an interpolation.
2012-10-25¶ ↑
Thu Oct 25 17:48:54 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (has_redirection)
-
should use shell (cmd.exe) when the commandline contains '&'. reported by Roger Pack at [ruby-core:47912] [Bug #7143], and patched by Heesob Park at [ruby-core:47931].
Thu Oct 25 15:00:08 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h, class.c
-
remove (revert) `rb_add_method_cfunc_frameless()' API. This API is not mature to become an official API. For example, we can not use this API with `rb_define_private_method()'.
- method.h, vm_method.c (rb_add_method_cfunc_frameless)
-
removed.
Thu Oct 25 13:35:07 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- tool/mkconfig.rb
-
remove string literal concatenation.
2012-10-24¶ ↑
Wed Oct 24 18:49:16 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c (type2sym, count_objects_size)
-
use enum instead of size_t which may be larger than actual values.
Wed Oct 24 17:41:24 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/driver.rb
-
add `-x' or `–exclude' option to specify exclude benchmark name pattern. You can specify “-x foo” if you want to exclude the benchmarks if the name of benchmark contains `foo'.
Wed Oct 24 11:57:24 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (gc_prepare_free_objects)
-
rename to match the behavior of this function.
Wed Oct 24 11:55:19 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c (reachable_object_from_i)
-
change data structure of the result of reachable objects. Keys of table contains object_id of each reachable objects. Value of table is an object itself or an instance of InternalObjectWrapper. To avoid duplication, we use st_table and object_id keys.
- ext/objspace/objspace.c (type2sym)
-
bug fix. Should use `i' instead of `type'.
Wed Oct 24 10:33:09 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (garbage_collect, gc_marks)
-
move the location of clear and restore rb_objspace_t::mark_func_data from garbage_collect() to gc_marks().
Wed Oct 24 10:17:45 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c (Init_objspace)
-
add a new method `ObjectSpace::InternalObjectWrapper#internal_object_id' which returns an object id of a wrapped internal object.
Wed Oct 24 08:55:04 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c (ObjectSpace.reachable_objects_from)
-
internal object support. If given object `obj' has references to internal objects
- (such as T_NODE objects), then this method returns instances of `ObjectSpace
-
:InternalObjectWrapper' instead of that internal objects. This instance contains a reference to an internal object and you can check the type of internal object using `ObjectSpace::InternalObjectWrapper#type' method. Rdoc of `InternalObjectWrapper' is not prepared yet.
- gc.c (rb_objspace_reachable_objects_from), gc.h
-
change an interface of 'rb_objspace_reachable_objects_from()'
- gc.c, gc.h
-
add two APIs - rb_objspace_markable_object_p(obj): check markable or not. - rb_objspace_internal_object_p(obj): check internal or not.
Wed Oct 24 05:52:36 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_method)
-
remove `default' and add a case for `VM_METHOD_TYPE_UNDEF'.
Wed Oct 24 05:41:18 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- eval_error.c (error_print), vm_eval.c (eval_string_with_cref), vm_trace.c (rb_suppress_tracing)
-
use TH_PUSH_TAG() instead of PUSH_TAG().
Wed Oct 24 05:17:52 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_eval.c (vm_call0_body)
-
remove RUBY_VM_CHECK_INTS() after method invocation using rb_call0().
- vm_eval.c (vm_call0_body)
-