aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* file.c: include terminatornobu2015-03-301-1/+2
| | | | | | | | * win32/file.c (rb_readlink): include the terminator, since rb_w32_mbstr_to_wstr appends a terminator only when the length is not given explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: use read/write methods if possiblenobu2015-03-303-39/+65
| | | | | | | | * io.c (copy_stream_body): use the arguments without conversion if having read, readpartial, and write methods, than conversion by to_path method. [ruby-core:68676] [Bug #11015] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_case.rb: $make before $MAKEnobu2015-03-301-2/+2
| | | | | | | * lib/rubygems/test_case.rb (make_command): try unusual $make before usual $MAKE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-30svn2015-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_case.rb: use $MAKEnobu2015-03-291-2/+2
| | | | | | | * lib/rubygems/test_case.rb (make_command): usually $MAKE is defined but not $make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (objspace_allrefs_destruct_i): fix a typo.hsbt2015-03-292-2/+7
| | | | | | [Bug #11013] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos [ci skip]kazu2015-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: check iseq before replicationnobu2015-03-291-1/+1
| | | | | | | | * proc.c (proc_binding): do not replicate when iseq not found as rb_method_get_iseq() can return NULL. [ruby-core:68673] [Bug #11012] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: replicate method envnobu2015-03-293-2/+40
| | | | | | | | * proc.c (proc_binding): replicate env from method object, and allocate the local variable area for the iseq local table. [ruby-core:68673] [Bug #11012] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-29svn2015-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_proc.rb: test_curry_bindingnobu2015-03-291-1/+1
| | | | | | | * test/ruby/test_proc.rb (test_curry_binding): rename test_binding2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: use MEMCPYnobu2015-03-291-3/+4
| | | | | | * vm.c (vm_make_env_each): use MEMCPY instead of copy by loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: suppress warningsnobu2015-03-281-12/+17
| | | | | | | * vm_eval.c (iterate_method): split to suppress false warnings by gcc 4.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: simplifynobu2015-03-281-25/+13
| | | | | | | * vm_eval.c (rb_iterate0): simplify TAG_BREAK and TAG_RETRY by sharing common code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix r50104 [Bug #10906]naruse2015-03-281-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]naruse2015-03-282-0/+10
| | | | | | | | | | ruby itself (including numeric.c) is built with strict compile options including -std=iso9899:1999, but ext/date is not. By the way -std=iso9899:1999 is not only a warning option but also changes behavior like MACRO definitions for example INFINITY. gcc on Solaris affect this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-28svn2015-03-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: simplify rb_iteratenobu2015-03-273-12/+8
| | | | | | | | * internal.h (IFUNC_NEW): add argument for ID. * vm_eval.c (rb_iterate): create ifunnc only when it is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: rb_imemo_new_debugnobu2015-03-272-12/+6
| | | | | | | | * internal.h (rb_imemo_new_debug): pretend rb_imemo_new. * gc.c (rb_imemo_new_debug): share with rb_imemo_new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-27svn2015-03-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: revert to MINIRUBYnobu2015-03-272-1/+6
| | | | | | | * common.mk: revert using BOOTSTRAPRUBY for enc.mk, as enc/depend uses CONFIG. [ruby-core:68647] [Bug #11004] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gdbinit: T_IMEMOnobu2015-03-261-1/+35
| | | | | | * .gdbinit (rp_imemo): print the content support of each T_IMEMO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gdbinit: T_IMEMOnobu2015-03-261-0/+7
| | | | | | * .gdbinit (rp): add support of T_IMEMO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2015-03-260-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_observer.rb: add tests for Observable module.hsbt2015-03-262-0/+70
| | | | | | [fix GH-859] Patch by @brightbits git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: embed version substringnobu2015-03-261-1/+1
| | | | | | | | * tool/mkconfig.rb (RbConfig): embed substring of the version, not at the runtime, and fall back to the version itself for the case it does not include the teeny version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: BOOTSTRAPRUBY for enc.mknobu2015-03-261-1/+1
| | | | | | | * common.mk (enc.mk): use BOOTSTRAPRUBY since enc/make_encmake.rb should not depend on recent versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2015-03-250-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-26svn2015-03-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT: add redirect [ruby-core:68631]normal2015-03-252-0/+5
| | | | | | | | There are too many 3rd-party documentation sources which refer to README.EXT, so we should ensure readers can find the file at the new location. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state,naruse2015-03-254-7/+21
| | | | | | | | | | | | | but it is a dummy. * ext/socket/option.c: Solaris 11 doesn't have u_intN_t. * ext/socket/option.c: Solaris 11 needs inspect_tcpi_msec. * ext/socket/raddrinfo.c: Solaris 11 has AF_PACKET but doesn't have related macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fs.c: fix f_typenobu2015-03-252-6/+16
| | | | | | | * ext/-test-/file/fs.c (get_fsname): try magic number only if f_type is included. [ruby-dev:48913] [Bug #11000] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: override rest variablesnobu2015-03-251-2/+3
| | | | | | | * tool/make-snapshot (package): override variables which are not substituted by the command line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: RUBY_VERSIONnobu2015-03-251-0/+2
| | | | | | | * tool/make-snapshot (package): override RUBY_VERSION to proceed with different version ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bm_hash_aref_flo.rb: fix datanobu2015-03-252-1/+6
| | | | | | | * benchmark/bm_hash_aref_flo.rb: make more realistic data. [ruby-core:68632] [[Bug #10999] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: removed needless entries.hsbt2015-03-252-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gdbinit: member name changednobu2015-03-251-2/+2
| | | | | | | * .gdbinit (rp_class): origin has been renamed as origin_ at r49931. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension*: Fix spelling of filenamesnormal2015-03-243-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-25svn2015-03-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (k_exact_one_p): remove unused macro k_exact_one_p.gogotanaka2015-03-242-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (k_inexact_p, k_exact_zero_p): use k_exact_zero_p macrogogotanaka2015-03-242-5/+9
| | | | | | to remove k_inexact_p macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/extention.rdoc: move from toplevel document and added extname.hsbt2015-03-243-0/+5
| | | | | | * doc/extention.ja.rdoc: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/standard_library.rdoc: strip.hsbt2015-03-242-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/standard_library.rdoc: move Thread to Extentions.hsbt2015-03-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/contributing.rdoc: update Maintainers list.hsbt2015-03-242-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_writebarrier_generational): fix messages for rb_bug().ko12015-03-242-6/+13
| | | | | | | | | Remove `rb_' prefix. * gc.c (gc_writebarrier_incremental): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.ja.md: should be chunibyo.shugo2015-03-242-9/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fs.c: use statfs/statvfsnobu2015-03-243-38/+66
| | | | | | | * ext/-test-/file/fs.c (get_fsname): return filesystem name by statfs/statvfs. [ruby-core:68624] [Bug #10998] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: now doesn't required spaces just afterusa2015-03-242-2/+7
| | | | | | | `!`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [Feature #10950] fixed by r50064nobu2015-03-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e