summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-15* thread_pthread.c (numberof): renamed from ARRAY_SIZE() becausekosaki
other all files use numberof(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15r39766 denied to initialized already initialized time objectnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15* 2013-03-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15* test/ruby/test_lazy_enumerator.rb (TestLazyEnumerator#test_drop_while):headius
Modify while condition to show dropping remains off after first false value. This change was made in 39711. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15time.c: check re-initializenobu
* time.c (GetTimeval): check if already initialized instance. * time.c (GetNewTimeval): check if newly created instance. * time.c (time_init_0, time_init_1, time_init_copy, time_mload): must be newly created instance. [ruby-core:53436] [Bug #8099] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15* test/rubygems/test_gem_package.rb (test_verify_nonexistent): fixnobu
syntax error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15* test/rubygems/test_gem_package.rb (test_verify_nonexistent): shouldnobu
make no assumptions on system error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15error.c: rb_sys_fail_path_innobu
* error.c (syserr_initialize): add optional function name. * error.c (rb_sys_fail_path_in): rename and move from file.c, and pass func_name to SystemCallError#initialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15fix filenamekazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15internal.h: export rb_sys_fail_path_with_funcnobu
* internal.h (rb_sys_fail_path_with_func): export for socket/basicsocket.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15file.c: rb_sys_fail_path_with_funcnobu
* file.c (rb_sys_fail_path_with_func): share same function, and path may be nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* file.c (rb_sys_fail_path): define & use rb_sys_fail_path0 like r39752naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* proc.c: Typo in Proc.arity found by Jack Nagel [Bug #8094]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* 2013-03-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14Makefile.sub: __FUNCTION__nobu
* win32/Makefile.sub (config.h): __FUNCTION__ is available at least VC9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14file.c: insert separatornobu
* file.c (rb_sys_fail_path0): insert separator between function name and path name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14configure.in, file.c: RUBY_FUNCTION_NAME_STRINGnobu
* configure.in (rb_cv_function_name_string): macro for function name string predefined identifier, __func__ in C99, or __FUNCTION__ in gcc. * file.c (rb_sys_fail_path): use RUBY_FUNCTION_NAME_STRING. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* file.c (rb_sys_fail_path): use rb_sys_fail_path0 only on GCC.naruse
__func__ is C99 feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* file.c (rb_sys_fail_path0): add to append the name of called functionnaruse
to ease debugging for example blow umask_spec failure. http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130309T010202Z.diff.html.gz * file.c (rb_sys_fail_path): use rb_sys_fail_path0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14Refactor rb_file_expand_path_internal for dir_string corner casesluislavena
* win32/file.c (get_user_from_path): add internal function that retrieves username from supplied path (refactored). * win32/file.c (rb_file_expand_path_internal): refactor expansion of user home to use get_user_from_path and cover dir_string corner cases. [ruby-core:53168] [Bug #8034] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* NEWS: describe RUBY_HEAP_SLOTS_GROWTH_FACTOR.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* 2013-03-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14* doc/globals.rdoc: $? is thread-localdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13* gc.c: allow to tune growth of heap by environment variablenari
RUBY_HEAP_SLOTS_GROWTH_FACTOR. patched by tmm1(Aman Gupta). [Feature #8015] [ruby-core:53131] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13class.c: from the origin classnobu
* class.c (rb_obj_singleton_methods): collect methods from the origin class. [ruby-core:53207] [Bug #8044] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13vm_method.c: overrid flag of prepending methodnobu
* vm_method.c (rb_export_method): directly override the flag of method defined in prepending class too, not adding zsuper entry. [ruby-core:53106] [Bug #8005] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13assertions.rb: private flagnobu
* lib/test/unit/assertions.rb (assert_respond_to): accept optional include-private flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13configure.in: fix for old shellsnobu
* configure.in (rm, shvar_to_cpp, unexpand_shvar): local is not available on old shells. * configure.in (shvar_to_cpp): escape quotes for old shells. [Bug #7959] [Bug #8071] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13test_file_exhaustive.rb: fix abolute rootnobu
* test/ruby/test_file_exhaustive.rb (test_expand_path_home_dir_string): fix abolute root path for dosish platforms. [ruby-core:53354] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13* object.c (Init_Object): remove Module#used, which has beenshugo
introduced in Ruby 2.0 by mistake. [Bug #7916] [ruby-core:52719] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13rbuninstall.rb: fix for symlink to directorynobu
* tool/rbuninstall.rb: fix for symlink to directory by removing trailing slash which let File.symlink? return false. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12* 2013-03-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12* lib/irb.rb: Fix typodrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12required keyword argumentsnobu
* compile.c (iseq_set_arguments, iseq_compile_each): support required keyword arguments. [ruby-core:51454] [Feature #7701] * iseq.c (rb_iseq_parameters): ditto. * parse.y (f_kw, f_block_kw): ditto. this syntax is still experimental, the notation may change. * vm_core.h (rb_iseq_struct): ditto. * vm_insnhelper.c (vm_callee_setup_keyword_arg): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12 * date_core.c: clearly specify operator precedence.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12 * insns.def: fix condition.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12 * rational.c: fix dangling if, else-if and else.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* lib/rubygems/commands/setup_command.rb: Don't delete non-rubygemsdrbrain
files when installing RubyGems. * test/rubygems/test_gem_commands_setup_command.rb: Test for the above. * lib/rubygems/ext/ext_conf_builder.rb: Use full path to siteconf.rb in case the extconf.rb changes directories (like memcached does). * lib/rubygems/package.rb: Remove double slash from path. * test/rubygems/test_gem_package.rb: Test for the above. * test/rubygems/test_gem_package_old.rb: ditto. * lib/rubygems/source.rb: Revert automatic HTTPS upgrade * lib/rubygems/spec_fetcher.rb: ditto. * test/rubygems/test_gem_remote_fetcher.rb: ditto. * test/rubygems/test_gem_source.rb: ditto. * test/rubygems/test_gem_spec_fetcher.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* 2013-03-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* lib/net/smtp.rb: Added Net::SMTP#rset method to implement the SMTPdrbrain
RSET command. [ruby-trunk - Feature #5373] * NEWS: ditto. * test/net/smtp/test_smtp.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rdakr
argument only if non-nil value is given. [ruby-dev:47150] [ruby-trunk - Bug #8054] reported and analyzed by mrkn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* test/mkmf/test_config.rb (TestMkmf): fix superclass mismatch.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* test/mkmf/base.rb: class name conflict.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* enumerator.c (enumerator_with_index): try to convert given offset tonaruse
integer. fix bug introduced in r39594. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* test/ruby/envutil.rb (EnvUtil.with_default_external): add fornaruse
changing Encoding.default_external without warnings. * test/ruby/envutil.rb (EnvUtil.with_default_internal): ditto. * test/ruby/test_io_m17n.rb: use above with_default_external. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* io.c (extract_binmode): raise error even if binmode and textmodenaruse
don't conflict. [Bug #5918] [ruby-core:42199] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11gen_dummy_probes.rbnobu
* tool/gen_dummy_probes.rb: remove empty lines and compact. * tool/gen_dummy_probes.rb: allow arbitrary number of arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.naruse
fix lookbehind assertion fails with /m mode enabled. [Bug #8023] fix \Z matches where it shouldn't. [Bug #8001] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e