aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890drbrain2013-03-231-0/+5
| | | | | | | due to stopping DRb service. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/rinda.rb: Fixed loss of tuple when remote is alive but thedrbrain2013-03-231-0/+7
| | | | | | | | | call stack was unwound. Patch by Joel VanderWerf. [ruby-trunk - Bug #8125] * test/rinda/test_rinda.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_have_macro.rb: remove temporally files in the tests.akr2013-03-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c (kprintf): added from FreeBSD libstand's printf.naruse2013-03-231-0/+8
| | | | | | | | | this is consided as async signal safe function. * addr2line.c (rb_dump_backtrace_with_lines): use kfprintf. [Bug #8144] [ruby-core:53632] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Use Qnil and NIL_Pmrkn2013-03-231-0/+11
| | | | | | | | | | | | instead of (VALUE)0 as a return value. * ext/bigdecimal/bigdecimal.c (BigDecimal_div): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_divremain): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: preserve passed_blocknobu2013-03-231-3/+6
| | | | | | | | | | * vm_eval.c (check_funcall_respond_to): preserve passed_block, which is modified in vm_call0_body() via vm_call0(), and caused a bug of rb_check_funcall() by false negative result of rb_block_given_p(). re-fix [ruby-core:53650] [Bug #8153]. [ruby-core:53653] [Bug #8154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Avoid zip bug by not using obsolete rb_check_block_call [Bug #8153]marcandre2013-03-221-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forwardable.rb: reduce allocations in def_delegatorsnobu2013-03-221-0/+7
| | | | | | | | | * lib/forwardable.rb (Forwardable::FILE_REGEXP): create regexp object outside sources for eval, to reduce allocations in def_delegators wrappers. //o option does not make each regexps shared. patch by tmm1 (Aman Gupta) in [ruby-core:53620] [Bug #8143]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* load.c: loaded_features_index st_tablenobu2013-03-221-0/+6
| | | | | | | | * load.c (rb_feature_p), vm_core.h (rb_vm_struct): turn loaded_features_index into st_table. patches by tmm1 (Aman Gupta) in [ruby-core:53251] and [ruby-core:53274] [Bug #8048] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: Fix style.mrkn2013-03-221-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: refine warning messagenobu2013-03-211-0/+5
| | | | | | | * parse.y (ambiguous_operator): refine warning message, since this warning is shown after literal too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: check required kwarg with resthashnobu2013-03-211-0/+6
| | | | | | | | * vm_insnhelper.c (vm_callee_setup_keyword_arg): should check required keyword arguments even if rest hash is defined. [ruby-core:53608] [Bug #8139] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use rb_pid_t instead of pid_t.kazu2013-03-211-0/+7
| | | | | | | | | * process.c (rb_execarg_addopt, run_exec_pgroup): use rb_pid_t instead of pid_t. * ext/pty/pty.c (raise_from_check, pty_check): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c (rb_dump_backtrace_with_lines): output line at once.naruse2013-03-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r39861nobu2013-03-211-7/+0
| | | | | | | * include/ruby/ruby.h: revert r39861 because RB_UNUSED_VAR() is used for array variables in extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: fix deadlocknobu2013-03-211-0/+5
| | | | | | | * thread.c (ruby_kill): get rid of deadlock on signal 0. [ruby-dev:47182] [Bug #8137] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: RB_UNUSED_VAR from UNINITIALIZED_VARnobu2013-03-211-0/+7
| | | | | | | | * include/ruby/ruby.h (RB_UNUSED_VAR): move code from UNINITIALIZED_VAR() in vm_core.h. * vm_core.h (UNINITIALIZED_VAR): use RB_UNUSED_VAR(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (marshal_dump, marshal_load): workaround for segv onngoto2013-03-211-0/+6
| | | | | | | | Intel Solaris compiled with Oracle SolarisStudio 12.3. Partly revert r38174. [ruby-core:52042] [Bug #7805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: escape all closing parensnobu2013-03-211-0/+5
| | | | | | | * parse.y (simple_re_meta): escape all closing characters, not only round parenthesis. [ruby-core:53578] [Bug #8133] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h: suppress warningsnobu2013-03-211-0/+5
| | | | | | | * vm_core.h (UNINITIALIZED_VAR): suppress warnings by clang 4.2. [ruby-core:51742] [Bug #7756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: Typo in Date::MONTHNAMES by Matt Gaugerzzak2013-03-201-0/+5
| | | | | | | [GH fixes #261] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: format messagenobu2013-03-201-0/+5
| | | | | | | | * lib/mkmf.rb (find_library): fix to format message. [ruby-core:53568] [Bug #8130] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: prefix install_dirs only with DESTDIRnobu2013-03-201-0/+6
| | | | | | | | | * lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR directories to install only unless bundled extension libraries. [ruby-core:53502] [Bug #8115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):usa2013-03-201-0/+6
| | | | | | | | allow using different drive for source and build directories. this may fixes a minor problem of r39834. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported.shirosaki2013-03-201-0/+5
| | | | | | On Windows this test causes ArgumentError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_installer.rb (test_install_extension_flat):shirosaki2013-03-201-0/+6
| | | | | | | use ruby in build directory in case ruby is not installed. [ruby-core:53265] [Bug #8058] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): useusa2013-03-201-1/+6
| | | | | | | | | relative path to get rid of "too long commandline" error. * ChangeLog: fixed wrong description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: remove unused variables.ayumin2013-03-191-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: fixed typo.ayumin2013-03-191-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (test_hup_me): added a few comments.kosaki2013-03-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (ruby_kill): added a few comments.kosaki2013-03-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (ruby_kill): release GVL while waiting signal delivered.kosaki2013-03-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.usa2013-03-191-0/+5
| | | | | | | this fixes the build failure of mswin introduced at r39819. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* convert with one converternobu2013-03-191-0/+5
| | | | | | | | * string.c (rb_str_conv_enc_opts): convert with one converter, instead of re-creating converters for each buffer expansion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compose HFS file namesnobu2013-03-191-0/+5
| | | | | | | | * dir.c (glob_helper): compose HFS file names from UTF8-MAC. [ruby-core:48745] [Bug #7267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h: added a declaration of ruby_kill().kosaki2013-03-191-0/+19
| | | | | | | | | | | | | | | | | | | | * thread.c (ruby_kill): helper function of kill(). * signal.c (rb_f_kill): use ruby_kill() instead of kill(). * signal.c (rb_f_kill): call rb_thread_execute_interrupts() to ensure that make SignalException if sent a signal to myself. [Bug #7951] [ruby-core:52864] * vm_core.h (typedef struct rb_thread_struct): added th->interrupt_cond. * thread.c (rb_threadptr_interrupt_common): added to initialization of th->interrupt_cond. * thread.c (thread_create_core): ditto. * test/ruby/test_signal.rb (TestSignal#test_hup_me): test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (linux_iocparm_len): enable only exist _IOC_SIZE().kosaki2013-03-191-0/+5
| | | | | | Because musl libc doesn't have it. [Bug #8051] [ruby-core:53229] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.sorah2013-03-191-0/+5
| | | | | | [Bug #8116] [ruby-dev:47177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set ac_cv_prog_cxx if CXX is supplied.mrkn2013-03-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Fix c++ compiler auto-selection not only formrkn2013-03-181-0/+5
| | | | | | Darwin 11.x, but also the other versions of Darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Improve accuracy of objspace_live_num() andnari2013-03-181-0/+6
| | | | | | | allocated/freed counters. patched by tmm1(Aman Gupta). [Bug #8092] [ruby-core:53392] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).nari2013-03-181-0/+5
| | | | | | [Bug #8093] [ruby-core:53393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Fix unlimited memory growth with large values ofnari2013-03-181-0/+6
| | | | | | | RUBY_FREE_MIN. patched by tmm1(Aman Gupta). [Bug #8095] [ruby-core:53405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rbusa2013-03-181-0/+6
| | | | | | | | (TestErrInCallBack#test_err_in_callback): shouldn't create a file in source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (backtrace): on darwin use custom backtrace() to tracenaruse2013-03-181-0/+8
| | | | | | | | | beyond _sigtramp. darwin's backtrace can't trace beyond signal trampoline with sigaltstack. * configure.in: check execinfo.h on darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.h (END_INSN): revert r39517 because the segv seems fixed bynaruse2013-03-181-0/+5
| | | | | | r39806. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.c: Correct predefined macro name. This typo is introduced bynaruse2013-03-181-0/+5
| | | | | | r36534 and should be backported to ruby_2_0_0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Typo in Array#delete by Timo Sand [GH fixes #258]zzak2013-03-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fillbuf): show fd number on failure to debug.naruse2013-03-171-0/+5
| | | | | | http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20130316T050302Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: include sys/time.h for avoiding implicitkosaki2013-03-161-0/+5
| | | | | | declaration of gettimeofday(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e