Граф коммитов

39009 Коммитов

Автор SHA1 Сообщение Дата
nobu efbfd90272 io.c: use read/write methods if possible
* 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
2015-03-30 02:28:02 +00:00
nobu be6ef3502e test_case.rb: $make before $MAKE
* 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-30 00:50:47 +00:00
svn 144484f213 * 2015-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 22:36:28 +00:00
nobu d4fc094391 test_case.rb: use $MAKE
* 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
2015-03-29 22:35:45 +00:00
hsbt 2e9f4bfd51 * gc.c (objspace_allrefs_destruct_i): fix a typo.
[Bug #11013]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 12:08:43 +00:00
kazu 101d566ce8 fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 10:03:24 +00:00
nobu 0899bd5227 proc.c: check iseq before replication
* 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
2015-03-29 04:49:57 +00:00
nobu 509089e9b1 proc.c: replicate method env
* 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-29 02:51:34 +00:00
svn 4bc9b1d29a * 2015-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 02:47:38 +00:00
nobu c45a4d1417 test_proc.rb: test_curry_binding
* 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
2015-03-29 02:47:36 +00:00
nobu 485d04253f vm.c: use MEMCPY
* 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
2015-03-29 02:47:24 +00:00
nobu 2303483dde vm_eval.c: suppress warnings
* 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
2015-03-28 05:22:12 +00:00
nobu dd6ab6b811 vm_eval.c: simplify
* 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
2015-03-28 05:22:04 +00:00
naruse 0a321b21fa fix r50104 [Bug #10906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-28 02:30:17 +00:00
naruse 4651b848e1 * ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]
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-28 00:23:58 +00:00
svn 736d95de05 * 2015-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-27 23:51:23 +00:00
nobu 1c59cc2cce vm_eval.c: simplify rb_iterate
* 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
2015-03-27 23:51:18 +00:00
nobu 55152ae26d internal.h: rb_imemo_new_debug
* 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-27 23:51:09 +00:00
svn 4f06c9f64d * 2015-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-27 07:35:28 +00:00
nobu 62d8e6d1b1 common.mk: revert to MINIRUBY
* 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
2015-03-27 07:34:18 +00:00
nobu 785438a3d7 .gdbinit: T_IMEMO
* .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
2015-03-26 06:50:57 +00:00
nobu 3f8d077744 .gdbinit: T_IMEMO
* .gdbinit (rp): add support of T_IMEMO.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-26 06:30:15 +00:00
svn bad657e8b6 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-26 01:05:22 +00:00
hsbt 4d6aeebbab * test/test_observer.rb: add tests for Observable module.
[fix GH-859] Patch by @brightbits

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-26 01:05:18 +00:00
nobu 733a03c285 mkconfig.rb: embed version substring
* 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
2015-03-26 00:30:07 +00:00
nobu 95de0e6841 common.mk: BOOTSTRAPRUBY for enc.mk
* 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
2015-03-26 00:29:56 +00:00
svn 9b4c437578 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 21:46:59 +00:00
svn a6ba36b2b0 * 2015-03-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 21:44:23 +00:00
normal 06dc719614 README.EXT: add redirect [ruby-core:68631]
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
2015-03-25 21:43:58 +00:00
naruse 4e8fbe1778 * ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state,
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
2015-03-25 08:10:14 +00:00
nobu 526b12964f fs.c: fix f_type
* 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
2015-03-25 08:03:11 +00:00
nobu 8d43213467 make-snapshot: override rest variables
* 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
2015-03-25 07:44:58 +00:00
nobu cfa98ab2eb make-snapshot: RUBY_VERSION
* 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
2015-03-25 07:07:23 +00:00
nobu 69a2df4eb6 bm_hash_aref_flo.rb: fix data
* 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
2015-03-25 02:20:43 +00:00
hsbt 18178a9331 * .document: removed needless entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 01:39:11 +00:00
nobu 722b95baff .gdbinit: member name changed
* .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
2015-03-25 00:41:42 +00:00
normal 34870967c0 doc/extension*: Fix spelling of filenames
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 23:15:04 +00:00
svn bd8298d9a7 * 2015-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 21:59:59 +00:00
gogotanaka cf204a8943 * complex.c (k_exact_one_p): remove unused macro k_exact_one_p.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 21:59:55 +00:00
gogotanaka c959238445 * complex.c (k_inexact_p, k_exact_zero_p): use k_exact_zero_p macro
to remove k_inexact_p macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 21:59:36 +00:00
hsbt 6d86d0773c * doc/extention.rdoc: move from toplevel document and added extname.
* doc/extention.ja.rdoc: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 13:23:38 +00:00
hsbt cd101b50ea * doc/standard_library.rdoc: strip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 13:07:19 +00:00
hsbt 035bdf3788 * doc/standard_library.rdoc: move Thread to Extentions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 13:07:03 +00:00
hsbt cd834d45a2 * doc/contributing.rdoc: update Maintainers list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 12:59:36 +00:00
ko1 fce98c9e88 * gc.c (gc_writebarrier_generational): fix messages for rb_bug().
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
2015-03-24 10:12:24 +00:00
shugo e0ca50790f * README.ja.md: should be chunibyo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 08:47:08 +00:00
nobu acae106c7c fs.c: use statfs/statvfs
* 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
2015-03-24 08:30:15 +00:00
usa 8ea6b7a137 * tool/redmine-backporter.rb: now doesn't required spaces just after
`!`.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 07:49:02 +00:00
nobu d289a78549 [Feature #10950] fixed by r50064
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-23 22:03:09 +00:00
svn 5a5dc9cc12 * 2015-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-23 18:37:36 +00:00