summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-09* load.c (load_lock): revert r38744. it should acquire new threadglass
shield. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-09vm.c: initialize root_svarnobu
* vm.c (th_init, ruby_thread_init): initialize root_svar with Qnil, since lep_svar_place() expects uninitialized svar to be nil, not 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-09test_flip.rb: flip-flop shared by threadsnobu
* test/ruby/test_flip.rb (TestFlip#test_shared_thread): flip-flop should be separated per threads git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-09Add RUBYOPT=>nil to avoid false negativenaruse
add RUBYOPT=nil to suppress circular require warnings to avoid false negative with stderr assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-09* test/ruby/test_require.rb: improve test for r38744.glass
fix to use Tempfile instead of temporary file in current directory. the patch is from nobu (Nobuyoshi Nakada). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-09* load.c (load_lock): fix not to delete thread shield twice.glass
it may break the shield locked by another thread. [Bug #7530] [ruby-core:50645] * test/ruby/test_require.rb: a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-08compile.c: adjust indentnobu
* compile.c (iseq_compile_each): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-08* 2013-01-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-08ruby.h: alignnobu
* include/ruby/ruby.h (RBasic): to be aligned on a VALUE size boundary. [Bug #7647] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-08insns.def: adjust indentnobu
* insns.def (getlocal, defined): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-08vm_core.h: flip_cnt in rb_iseq_tnobu
* vm_core.h (rb_iseq_t): move flip_cnt from struct iseq_compile_data, because it has same life span as enclosing iseq. [Bug #7671] [ruby-core:51296] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-08Fix wrong English in ChangeLogmrkn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-08* README (install): note about distclean-ext.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* 2013-01-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal):mrkn
add RB_GC_GUARD to prevent the immediate object is GCed too early. This patch was made by Yusuke Endoh. [Bug #7044] [ruby-core:47632] * test/bigdecimal/test_bigdecimal.rb: add a reproduction test for the issue [Bug #7044] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* vm_method.c (Init_eval_method): main.public and main.privateshugo
should be private. * proc.c (Init_Proc): main.define_method should be private. * test/ruby/test_module.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* eval.c (Init_eval): main.include should be private.shugo
[ruby-core:51293] [Bug #7670] * test/ruby/test_module.rb (test_top_include_is_private): a new test for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* NEWS: remove description about `require "refinement"'.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* eval.c (Init_eval): enable Refinements by default.shugo
[ruby-core:51286] [Bug #7667] * eval.c (rb_mod_refine, top_using): show a warning when Module#refine or main.using is called at the first time. * ext/refinement/*: removed the extension library "refinement". * test/ruby/test_refinement.rb: fix for the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* include/ruby/ruby.h (RUBY_EVENT_SPECIFIED_LINE): make it special.ko1
This flag is not contained by RUBY_EVENT_TRACEPOINT_ALL. This event is experimental one. It is possible to remove/rename flag name after 2.0.1. * vm_trace.c (get_event_id): return :line if SPECIFIED_LINE was occurred. `:specified_line' never been returned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07test_syntax.rb: assert_not_labelnobu
* test/ruby/test_syntax.rb (TestSyntax#assert_not_label): need to eval in the current binding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07parse.y: bare kwrest_marknobu
* parse.y (f_kwrest): allow bare kwrest_mark as valid syntax. its semantics is still undefined. [Bug #7662] [ruby-core:51269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07parse.y: duplicated kwrest namenobu
* parse.y (f_kwrest): reject duplicated kwrest argument name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07envutil.rb: assert_syntax_errornobu
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_syntax_error): new assertion for syntax error and error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07envutil.rb: optional fnamenobu
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_valid_syntax): make fname optional for inline source. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* vm_trace.c (rb_threadptr_exec_event_hooks_orig): pop tag beforeko1
JUMP_TAG() if frame is `finish' frame. Without this patch, there is an inconsistency between control frame stack and tags stack. [Bug #7668] * test/ruby/test_settracefunc.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* Makefile.in, common.mk (fake, yes-fake, no-make): these dependeciesusa
are not platform dependent. * win32/Makefile.sub ($(arch)-fake.rb): workaround. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07vm_insnhelper.c: keyrest should not overwrite rest argnobu
* vm_insnhelper.c (vm_callee_setup_arg_complex, vm_yield_setup_block_args): set keyrest hash after making rest array, so that the last element will not be overwritten. [ruby-core:51278] [Bug #7665] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* NEWS: adjust indent.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* 2013-01-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* NEWS: add a NEWS entry about RubyVM.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-06fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-06* win32/Makefie.sub: Fix build with VC.yugui
Patch by Charlie Savage. Fixes [ruby-core:51261] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-06* bootstraptest/test_io.c: add a test for [ruby-dev:46834].yugui
* io.c (rb_cloexec_fcntl_dupfd) Use an emulation with dup(2) when fcntl(2) and/or F_DUPFD is unavailable. Suggested by akr. * configure.in (HAVE_FCNTL): NativeClient does not provide fcntl(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-06* doc/syntax/modules_and_classes.rdoc: Fixed typo.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* doc/syntax/modules_and_classes.rdoc: Added singleton classesdrbrain
documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet): Typo inzzak
example. Patch by shlensky [Fixes #232 on github] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* 2013-01-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* lib/net/http/generic_request.rb:naruse
Amazon ECA API and GTE/1.3 disallow requests whose host has port number if its port number equlas to default port number of the scheme. [Bug #7650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05Suppress warningsnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* doc/syntax/modules_and_classes.rdoc: Improved description of methodsdrbrain
on a module or class as suggested by Tobias Buhlmann git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* string.c (rb_str_enumerate_lines): fix invalid byte sequence errorglass
when a separator is passed. The patch is from yoshidam (Yoshida Masato). [Bug #7646] [ruby-dev:46827] * test/ruby/test_string.rb: a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05envutil.rb: check stdout and stderrnobu
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): check stdout and stderr both. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05* doc/syntax/modules_and_classes.rdoc: Added documentation of syntaxdrbrain
for Modules and Classes. * doc/syntax/methods.rdoc: Moved some text to the Modules and Classes syntax document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04* doc/syntax/methods.rdoc: Added return values and scope sections,drbrain
slightly modified from the original patch. Fixes #227 from github by Dave Brown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04* io.c (rb_cloexec_fcntl_dupfd): improve #ifdef condition.kosaki
* io.c (rb_maygvl_fd_fix_cloexec): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04* lib/rubygems/commands/cleanup_command.rb: Clean all possible gemsdrbrain
using multiple passes. Fixes RubyGems bug #422. Refactored for maintainability. * test/rubygems/test_gem_commands_cleanup_command.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e