aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* common.mk: update dependencynobu2015-11-071-0/+1
| | | | | | * common.mk: update dependency of string.o to id.h for r52479. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-11-08svn2015-11-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#initialize):naruse2015-11-073-1/+9
| | | | | | default value of Net::HTTP#open_timeout is now 60 (was nil). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: use predefined IDs for minor bloat reductionnormal2015-11-072-10/+18
| | | | | | | | | | | | | | | | | | | * string.c (id_to_s): remove redundant variable (rb_obj_as_string): trade id_to_s for idTo_s (rb_str_equal): replace rb_intern(...) with pre-defined ID (rb_str_cmp_m): ditto (rb_str_match): ditto (str_upto_each): ditto (rb_str_sum): ditto (Init_String): remove id_to_s initialization This leads to a minor size reduction on my x86 (32-bit) system: text data bss dec hex filename 129373 8 32 129413 1f985 string.o-orig 129082 8 8 129098 1f84a string.o git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (rb_cThreadShield): make staticnormal2015-11-072-1/+5
| | | | | | | Nothing outside of thread.c accesses this variable, so avoid cluttering up the global namespace with it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2015-11-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_trace.c (rb_threadptr_exec_event_hooks_orig):ko12015-11-072-0/+10
| | | | | | | | | | | | maintain trace_running counter on internal events. This patch is made by Takashi Kokubun <takashikkbn@gmail.com>. [Bug #11603] https://github.com/ruby/ruby/pull/1059 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: check unused argsnobu2015-11-071-2/+6
| | | | | | | * ext/io/console/console.c (console_set_winsize): unused arguments also should be nil or integers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typonobu2015-11-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthese.ko12015-11-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_fileno, dirfd): support of Dir#fileno on Solaris 10.ngoto2015-11-063-0/+30
| | | | | | | | | | | | Solaris 10 does not have dirfd, but the file descriptor of a directory is stored in the d_fd or dd_fd member in the DIR struct. Note that Solaris 11 has dirfd(3C). * configure.in: checks for DIR.d_fd and DIR.dd_fd on Solaris 10. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r52469naruse2015-11-063-68/+57
| | | | | | | | "* lib/cmath.rb: methods which has suffix '!' are now deprecated." It breaks rubyspec: http://rubyci.s3.amazonaws.com/ubuntu1510/ruby-trunk/log/20151106T153002Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-11-07svn2015-11-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: methods which has suffix '!' are now deprecated.gogotanaka2015-11-063-57/+68
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: clarifies Array#reject! documentation.gogotanaka2015-11-062-2/+7
| | | | | | [fix GH-894][ci skip] Patch by @GxSplinter git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2015-11-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: extracted test helper.hsbt2015-11-063-13/+14
| | | | | | * test/lib/zombie_hunter.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_array_const_ptr, rb_struct_const_ptr):ngoto2015-11-062-4/+21
| | | | | | | | | | | | Suppress pointer type mismatch warnings occurred with old version of Fujitsu C Compiler (fcc) on Solaris 10. The warnings cause failure of TestMkmf::TestConvertible. [Bug #11644] [ruby-dev:49326] * include/ruby/ruby.h (FIX_CONST_VALUE_PTR): macro for the above, only effective with fcc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: compress man pages.nobu2015-11-061-10/+22
| | | | | | | * tool/rbinstall.rb (man): get rid of prompt from compress program. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: compress man pages.nobu2015-11-061-1/+6
| | | | | | | * tool/rbinstall.rb (man): compress mdoc-style man pages, without Mdoc2Man. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change DOTQnobu2015-11-069-40/+45
| | | | | | | * defs/id.def (token_ops), parse.y (parser_yylex): change DOTQ from ".?" to "&.". [ruby-core:71363] [Feature #11537] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: fix segv after invalid keyword argumentnobu2015-11-063-14/+36
| | | | | | | | * parse.y (kwd_append): fix segv after invalid keyword argument, preceding keyword list is NULL when syntax error is there. [ruby-core:71356] [Bug #11663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-11-06svn2015-11-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_autoload: hoist out ruby_impl_requirenormal2015-11-052-15/+22
| | | | | | | | Having "require" implemented in Ruby is the common case nowadays with RubyGems, so ensure it is easy-to-reuse the same logic for future tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: token_opsnobu2015-11-055-88/+76
| | | | | | | * defs/id.def (token_ops): gather associations between IDs, operators, and parser tokens. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: CALL_Q_Pnobu2015-11-051-3/+4
| | | | | | | * parse.y (CALL_Q_P): extract common condition for safe-call token. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: use RARRAY_ASETnobu2015-11-054-6/+15
| | | | | | | | | * ext/socket/socket.c (make_addrinfo): use RARRAY_ASET for write-barrier. * ext/tk/tcltklib.c ({call,eval,invoke}_queue_handler): ditto. * ext/tk/tkutil/tkutil.c (ary2list, ary2list2): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tk: RARRAY_AREFnobu2015-11-052-0/+6
| | | | | | | * ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c (RARRAY_AREF): add fallback definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-11-05svn2015-11-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: use RARRAY_AREFnobu2015-11-0520-87/+93
| | | | | | | | * ext/**/*.c: prefer RARRAY_AREF to indexing RARRAY_CONST_PTR. pointed out by hanmac. https://github.com/ruby/ruby/commit/3553a86#commitcomment-14187670 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revive deleted entry [ci skip]kazu2015-11-041-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: Add documentation for #thread_list_all.hsbt2015-11-042-0/+28
| | | | | | [Misc #11580][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tkutil.c: rb_ary_catnobu2015-11-042-8/+21
| | | | | | | * ext/tk/tkutil/tkutil.c (rb_ary_cat): fallback definition. rb_ary_cat() is available since 2.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tkutil.c: strndupnobu2015-11-041-9/+18
| | | | | | * ext/tk/tkutil/tkutil.c (strndup): fallback definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: use RARRAY_CONST_PTRnobu2015-11-0420-106/+123
| | | | | | | * ext/bigdecimal/bigdecimal.c: use RARRAY_CONST_PTR just fore reference instead of RARRAY_PTR, to keep the array WB-protected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: adjust index typenobu2015-11-0412-28/+32
| | | | | | * ext: use long for index instead of int and RARRAY_LENINT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: suppress a warningnobu2015-11-041-1/+1
| | | | | | | * variable.c (autoload_reset): initialize formally to suppress a warning from container_off_var() by Visual C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c: fix documentation for rb_define_class{_id}_under.hsbt2015-11-042-2/+7
| | | | | | [fix GH-991][ci skip] Patch by @kachick git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h: fix typo. Patch by @davydovantonhsbt2015-11-042-1/+6
| | | | | | [fix GH-1076][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: use correct grammer. Patch by @tveastmanhsbt2015-11-042-1/+6
| | | | | | [fix GH-1079][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb: add debug information for mswin CI. this change will be ↵usa2015-11-041-1/+1
| | | | | | reverted later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: fix rdoc of Process.getsid [ci skip]nobu2015-11-042-1/+6
| | | | | | | * process.c (proc_getsid): [DOC] Fix double word 'for' and typo. [Fix GH-1080] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gdbm.rb: sync after reorganizenobu2015-11-041-3/+2
| | | | | | | * test/gdbm/test_gdbm.rb (test_reorganize): sync after reorganize to ensure that the db file get packed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fake.rb: fix builddirnobu2015-11-041-1/+1
| | | | | | | * tool/fake.rb (prehook): consider the case building under the source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf/base.rb: capture outputnobu2015-11-041-1/+5
| | | | | | | * test/mkmf/base.rb (TestMkmf::Base::Capture#write): capture output inside mkmf method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: revert r52431nobu2015-11-041-15/+6
| | | | | | * lib/mkmf.rb: it's an issue of test/mkmf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-11-04svn2015-11-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* include/ruby/ruby.h (struct RObject): hide iv_index_tbl typenormal2015-11-032-1/+6
| | | | | | | | | | | | | | This is an implementation detail and should not be exposed to C extension users. We may change this to id_table soon; and id_table should not be exposed as a public API. It is highly unlikely any existing C extensions require this; so the risk of breakage is very low. Ideally, all of RObject could be hidden. [ruby-core:71306] [Feature #11647] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gdbm.rb: teardownnobu2015-11-031-1/+3
| | | | | | * test/gdbm/test_gdbm.rb (teardown): show hidden files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_timeout.rb: exact messagesnobu2015-11-031-2/+2
| | | | | | | * test/test_timeout.rb (test_rescue_exit, test_custom_exception): assert with exact messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e