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

515 Коммитов

Автор SHA1 Сообщение Дата
shyouhei 55317a74f7 delete tool/instruction.rb
Previous commit changed insns.def format. Now is the time for its
generators. In doing so I chose to modernize the system, not just
patch.  My attempt includes

- extensive use of Onigumo regular expressions
- split from one big file (instruction.rb) into separated MVC
- partial view

Also, let me take this opportunity to kill old unused features
such as

- stack caching
- minsns / yasmdata which are never seriously used
- yarvarch document generation (moved to doc/)
- vast majority of unused arguments to insns2vm.rb

This commit generates VM source codes that cleanly compile, and
the generated binary passes tests.  At least for me.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-09 13:30:31 +00:00
kazu c818e364df Add parens [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-08 08:12:04 +00:00
mrkn 6bb9890fb1 doc/NEWS-2.5.0: Time.at is a class method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-08 04:35:20 +00:00
stomar 403c03d13f doc/NEWS-2.5.0: improve language
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-07 17:47:53 +00:00
mrkn 33f34bbf81 doc/NEWS-2.5.0: Fix the description of backtrace format change
* The backtrace format change is affected by $stderr, but not STDERR.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-07 01:20:10 +00:00
kazu da0c6035ad [DOC] doc/NEWS-2.5.0: remove trailing comma [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-01 00:13:54 +00:00
kazu 8be1c6523d Move from NEWS to doc/NEWS-2.5.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-26 11:35:48 +00:00
mame 2c74fe1106 doc/contributing.rdoc: Update platform maintainers
* mswin32 and Symbian OS are no longer supported
* Mac OS X was renamed

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-25 05:16:05 +00:00
hsbt 7825e8363d Postponing the Bundler merge.
I faced a big issue about Bundler with ruby core.
  I have no time to resolve it issue before 2.5 final release.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-22 23:08:05 +00:00
stomar 80e852d8a1 doc/syntax/refinements.rdoc: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-08 22:51:42 +00:00
shugo 476f9b6388 Specify refinement inheritance by Module#include.
[ruby-core:79880] [Bug #13271]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-03 08:35:44 +00:00
hsbt 9ffa42b995 Added repository url for default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-01 04:39:49 +00:00
hsbt e4b67f7d74 Added bundler entry to documentation of library and maintainers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-01 04:25:32 +00:00
kazu e3fcf44afe Clarify Dir.mktmpdir's change
`FileUtils.remove_entry_secure` checks `world_writable?` (and `sticky?`) only.
[ci skip]
ref https://github.com/rurema/doctree/pull/805

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-12 07:05:58 +00:00
stomar 093aa9ae03 refinements.rdoc: improve docs
* doc/syntax/refinements.rdoc: [DOC] fix typos and grammar
  and remove superfluous "for the first time".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-07 20:04:58 +00:00
stomar d2ff14cb9d doc/NEWS-2.4.0: fix grammar and typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-02 20:25:04 +00:00
stomar 524ad5b729 doc/contributors.rdoc: [DOC] update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-29 20:56:13 +00:00
rhe 171f968d22 doc/syntax/methods.rdoc: fix a misleading example
As a bonus, wrap a long line added by r60295.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-22 04:19:03 +00:00
sonots 71b932d675 * doc/regexp.rdoc: In regexp doc, two backslashes match one literally
In the "Metacharacters and Escapes" section of regexp.rdoc, it said that
to match a backslash literally, it must be backslash-escaped, but the
rendered HTML showed three backslashes (\\\). There should only be two
backslashes (\\).

patched by jlmuir (J. Lewis Muir) [fix GH-1677]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 23:38:17 +00:00
sonots ba9e870709 * doc/regexp.rdoc: Fix regexp doc syntax highlighting
patched by jlmuir (J. Lewis Muir) [fix GH-1678]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 23:36:53 +00:00
svn cd381d8acc * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 15:19:46 +00:00
hsbt 86f1d9b705 Clarify return value for assignment methods.
https://github.com/ruby/ruby/pull/1682

  Patch by @sos4nt [fix GH-1682]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 15:19:45 +00:00
nobu b9031d7088 Show rb_data_type_t definition [ci skip]
[Fix GH-1707]
Author:    hkdnet <hkdnet@users.noreply.github.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-26 23:28:07 +00:00
nobu 2461376aee Fix a reference [ci skip]
[Fix GH-1706]
Author:    hkdnet <hkdnet@users.noreply.github.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-26 23:28:06 +00:00
hsbt 99d64640c4 Exclude Changelog files from documentation.
Patch from larskanis (Lars Kanis).
  [Misc #13704][ruby-core:81878]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-01 03:34:18 +00:00
kazu 8560376071 `$=` is no longer effective. [ci skip]
* doc/globals.rdoc: [DOC] `$=` is no longer effective.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-08-31 00:05:29 +00:00
yui-knk 28c02b9e08 Fix types of function argument
* doc/extension.ja.rdoc: Fix types of rb_ary_aref argument

* doc/extension.rdoc: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-08-10 14:46:51 +00:00
kazu a2078e7c54 Fix URI::FTP.build code example typo
ref https://github.com/rurema/doctree/pull/462
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-08-02 15:10:43 +00:00
normal ed831a6c5b doc/extension.rdoc: start documenting threading and IO APIs
This will hopefully be useful for folks writing C extensions.

* doc/extension.rdoc: start documenting threading and IO APIs
  [ruby-core:82016] [Feature #13740]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-18 02:10:50 +00:00
normal d15cc7a6a3 doc/extension.rdoc: update wikipedia link to HTTPS
Avoid the latency for HTTP -> HTTPS redirect

* doc/extension.rdoc: update wikipedia link to HTTPS

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-12 18:31:07 +00:00
normal aff529a5ff webrick: become maintainer
<CAK6HhsrshX7s3qai4usbXknTQnA4GoRThJcQ_Ea=WgTG2Gu0QA@mail.gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-07 16:53:03 +00:00
naruse 978967b2e6 webrick is _unmaintained_
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-26 10:37:13 +00:00
nobu 6dc924b606 refinements.rdoc: [DOC] improved [Fix GH-1659]
* doc/syntax/refinements.rdocrefinements.rdoc: grammatical
  correction and code highlighting improved

* doc/syntax/refinements.rdocrefinements.rdoc: Fixnum replaced
  with Integer and Integer with Numeric

Author:    Shiva Bhusal <shivabhusal@users.noreply.github.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-23 00:29:45 +00:00
k0kubun 37bc70e650 doc/maintainers.rdoc: Add me to ERB maintainers
The current maintainer suggested this in ruby-dev:50113.
Please ping me if an issue happens in ERB.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-20 17:03:01 +00:00
hsbt 7a856b11c8 Removed mathn.rb from stdlib. It's deprecated from Ruby 2.2.
[Feature #10169][[ruby-core:64553]]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-21 06:16:11 +00:00
hsbt 6a08beef51 Removed math mode from irb.
mathn is deprecated from Ruby 2.2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-20 09:11:36 +00:00
hsbt 7b3ac07781 Removed deprecated extensions of mathn.
* ext/mathn/{complex,rational}: Removed from ruby core.
    [fix GH-1542][Feature #13334][ruby-core:80247]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-20 08:21:24 +00:00
stomar 2c6cbcde84 doc/extension.rdoc: rb_str_append grammar fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-10 17:28:18 +00:00
nobu 9adc876393 extension.rdoc: rb_str_append [ci skip]
* doc/extension.rdoc: add rb_str_append and fix equivalent for
  rb_str_catf and rb_str_vcatf from rb_str_cat2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-10 15:34:37 +00:00
nobu 85f62055c4 extension.rdoc: fix rb_enc_str_new_literal
* doc/extension.rdoc: Add missing enc arg to rb_enc_str_new_literal.

[ci skip]
[Fix GH-1577]
Author:    Dylan Thacker-Smith <Dylan.Smith@shopify.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-10 15:26:48 +00:00
hsbt eaaff62eb2 Update library entry for stringio and fiddle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-06 01:47:45 +00:00
nobu 8109114b18 Add IO#pread and IO#pwrite methods
These methods are useful for safe/concurrent file I/O in
multi-thread/process environments and also fairly standard
nowadays especially in systems supporting pthreads.

Based on patches by Avseyev <sergey.avseyev@gmail.com> at
[ruby-core:79290].  [Feature #4532]

* configure.in: check for pwrite(2).  pread() is already used
  internally for IO.copy_stream.

* io.c: implement wrappers for pread(2) and pwrite(2) and expose
  them in IO.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-03 00:10:50 +00:00
stomar 48bc5004c0 doc/contributors.rdoc: [DOC] update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-01 20:43:35 +00:00
nobu f57d515d69 array.c: Array#append and Array#prepend
* array.c (Init_Array): Add alias "append" to Array#push, and
  "prepend" to Array#unshift.  [Feature #12746] [Fix GH-1574]

Author:    pascbjumper2 <stowers.joshua@live.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-01 07:38:12 +00:00
stomar 46eed7b80b methods.rdoc: small improvements
* doc/syntax/methods.rdoc: [DOC] small improvements: fix some typos,
  grammar, punctuation, consistently use capitalized "Ruby".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-29 19:12:01 +00:00
nobu e014c8c4d8 numeric.c: improves Float#round rdoc [ci skip]
* numeric.c (flo_round): [DOC] improves Float#round documentation
  to better highlight the half keyword.  [Fix GH-1541]

Author:    Evan Brodie <brodie.evan@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-28 02:15:51 +00:00
kazu eaf4f2ec85 Use https URL instead of http URL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-22 12:27:53 +00:00
kazu 3a55e8a436 fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-17 13:24:14 +00:00
hsbt 7e0aaf3ac3 Added initial gemspec for SDBM module.
[Feature #13261]

  * doc/*.rdoc: Move SDBM entry to default gem section.
  * ext/sdbm/sdbm.gemspec: first gemspec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-28 07:45:54 +00:00
hsbt 55c13218d9 Added initial gemspec for Etc module.
[Feature #13256]

  * doc/*.rdoc: move Etc module to default gem section.
  * ext/etc/etc.gemspec: first gemspec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-27 09:20:39 +00:00
hsbt 395ad27e72 Update maintainers and standard library docs for GDBM.
[Feature #13248][ruby-core:79742]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-24 07:55:50 +00:00
kazu 7010dc6f68 extension.rdoc: add document title
* doc/extension.rdoc, doc/extension.ja.rdoc: [DOC]
  add title and adapt subheading levels.

* doc/extension.rdoc: [DOC] fix subheading level of section
  about "Ruby Constants That Can Be Accessed From C".

* doc/extension.ja.rdoc: [DOC] add missing subheading.

[ruby-core:79590] [Bug #13229]
Author:    Marcus Stollsteimer <sto.mar@web.de>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-20 12:20:22 +00:00
kou b89623fb1e Fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-14 13:29:13 +00:00
hsbt 6c0d7c98b6 Added initial gemspec for Scanf module.
[Feature #13213]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-14 11:12:52 +00:00
hsbt 5d906263ab Added initial gemspec for Fcntl module.
[Feature #13206]

  * ext/fcntl/fcntl.gemspec: initial commit.
  * doc/maintainers.rdoc, doc/standard_library.rdoc: Move Fcntl module
    to Default gems section.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-10 09:41:15 +00:00
hsbt f2e1c710fc Update maintainers list.
* Added Default gems section and move some libraries to it section.
 * Added Bundled gems section and added upstream repositories of bundled gems.
 * Added upstream repositories to some default gems.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-09 11:46:32 +00:00
hsbt ab29cd8085 Update latest infomation of standard libraries.
* Added Bundled gems section.
 * Added IO::console to Default gems.
 * Move XMLRPC to Bundled gems section.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-09 11:26:21 +00:00
hsbt 6de9cae680 Separated default gems section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-09 10:49:08 +00:00
normal 90fdfec11a doc: Fix error for escape sequences in string literals
Backslash goes first in escape sequences, so it must be
"any other character following a backslash is interpreted as ...",
while the doc says "...followed by...".

Author: Marcus Stollsteimer <sto.mar@web.de>
[ruby-core:79418] [Bug #13190]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-03 23:34:48 +00:00
hsbt 17ee91960f Fix function name for DBM on extension document.
Patch by Yuji Yaginuma, @y-yagi <yuuji.yaginuma@gmail.com>
  [ci skip][fix GH-1519]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-26 07:09:58 +00:00
kazu 121984da8e Remove deprecated rbconfig/datadir
This is deleted at
0e3c2c1f04
in upstream.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-20 13:33:06 +00:00
a_matsuda 992b0148ca s/SaveStringValue/SafeStringValue/
Fix a typo in extension.rdoc.

Signed-off-by: Akira Matsuda <ronnie@dio.jp>

closes #1512

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-15 13:45:12 +00:00
duerst b70d3f67ee adjust spacing [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-02 01:40:12 +00:00
hsbt 9043c073ee Update submaintainer of default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-31 22:44:31 +00:00
kazu 948762808e Move from NEWS to doc/NEWS-2.4.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26 12:00:01 +00:00
ktsj 1b45e53349 doc/standard_library.rdoc: Tk is removed from stdlib
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-18 12:29:34 +00:00
kazu f573eee225 extension.rdoc: add ANYARGS to method definitions
* doc/extension.rdoc (rb_define_method, rb_define_singleton_method,
  rb_define_private_method, rb_define_protected_method,
  rb_define_module_function, rb_define_global_function): set ANYARGS
  as arguments to their underlying functions.

[ci skip]
Patch by: Dmitry Gritsay <unseductable@gmail.com>
[Fix GH-1473]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-08 12:58:26 +00:00
kazu adef6efcde untabify [ci skip]
based on the patch by W <wolf@wolfsden.cz>
[Fix GH-1497]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-06 15:33:49 +00:00
kazu 0f0c388a0e Fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-06 15:33:47 +00:00
kazu a560add68a Fix typos
Patch by: Koichi ITO <koic.ito@gmail.com>
[Fix GH-1498]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-06 12:49:46 +00:00
nobu b62e322017 extension.rdoc: fix rb_get_kwargs [ci skip]
* doc/extension.rdoc: [DOC] optional keyword arguments are
  defaulted to Qundef.  ignored keys are kept in the hash but a
  new Hash is not created.  [ruby-dev:49893] [Bug #13004]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-04 08:50:28 +00:00
naruse 6c5f5233db Moved deleted ChangeLog into doc/ChangeLog-2.4.0
And Add doc/ChangeLog-2016 as an anchor.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-08 09:31:52 +00:00
sho-h 840d23cb08 * doc/standard_library.rdoc: fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 00:10:49 +00:00
svn 843231675f * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 18:09:37 +00:00
naruse 8c5ae8933a Add ChangeLog-2015 as an anchor of new ChangeLog see #12283
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 18:09:36 +00:00
sho-h cc7b3feb09 * doc/standard_library.rdoc: remove "thread.rb" phrase because
Queue and ConditionVariable were moved to built-in class.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 07:18:48 +00:00
nobu d97b8d0d6c extension.rdoc: update rb_ensure description
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-02 00:50:05 +00:00
nobu 564cb1a0a8 extension.rdoc: update rb_rescue description
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.

* doc/extension.rdoc: mention the exception object which is passed
  to func2 as the second argument.  [Fix GH-1471]

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 23:45:50 +00:00
kazu fa857bc6c2 fix some typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 15:47:55 +00:00
kazu 478606bfd5 fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 15:17:26 +00:00
normal 43112104df doc/extension.rdoc: wording fix w.r.t. volatile vs RB_GC_GUARD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-13 01:40:21 +00:00
kazu 7f887ab122 Fix similar typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-12 15:28:07 +00:00
kazu caa9083451 Fix typo [ci skip]
Replace "You can defined hooked variables" with "You can define hooked variables"

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-12 15:28:06 +00:00
hsbt 377f69e4fe * doc/syntax/control_expressions.rdoc: Add missing 'as'
[ci skip][fix GH-1448] Patch by @jsyeo

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-30 09:43:24 +00:00
kazu f4b566dfdd * doc/extension.ja.rdoc: translate r56189 (rb_gc_adjust_memory_usage). [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-20 12:25:36 +00:00
nobu 68aa1d81cf gc.c: rb_gc_adjust_memory_usage
* gc.c (rb_gc_adjust_memory_usage): notify memory usage to the GC
  engine by extension libraries, to trigger GC.  [Feature #12690]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-20 07:52:25 +00:00
kazu 151536d44d * doc/extension.ja.rdoc: translate r56130 (rb_check_arity). [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-17 01:51:22 +00:00
kazu 7070c5bff3 * doc/extension.ja.rdoc: Fix file name. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-15 12:41:07 +00:00
kazu 07efce075b Use https instead of http in some URLs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-11 10:33:36 +00:00
nobu c5d707dc65 extension.rdoc: rb_check_arity [ci skip]
* doc/extension.rdoc (rb_check_arity): described.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-10 08:16:50 +00:00
nobu b5f3a113f5 fix file names [ci skip]
* doc/extension.rdoc, doc/extension.ja.rdoc: fix file name.
  pointed out by @takkanm in the RubyKaigi talk.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-09 04:50:07 +00:00
yui-knk 826da51bdb * doc/extension.ja.rdoc: [DOC] Fix a typo. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 16:54:06 +00:00
okkez 564512db58 * doc/NEWS-2.1.0: fix method name
* doc/NEWS-2.2.0: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 00:44:34 +00:00
okkez 5bd53c4a2a * doc/NEWS-2.1.0: fix method name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 00:34:10 +00:00
naruse 303dc3c591 * ext/tk: Tk is removed from stdlib. [Feature #8539]
https://github.com/ruby/tk is the new upstream.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-09 06:44:45 +00:00
kazu 38fc851d36 * doc/maintainers.rdoc: Remove moved file section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-08 15:16:30 +00:00
kazu e73b32199d fix filenames [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-25 12:12:19 +00:00
hsbt 250139662e * doc/maintainers.rdoc: xmlrpc is bundled gem from Ruby 2.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-24 03:53:47 +00:00
hsbt c1929dc9d7 * doc/maintainers.rdoc: Update OpenSSL maintainer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-24 03:08:22 +00:00
nobu d70a84d5d4 methods.rdoc: closing tag
* doc/syntax/methods.rdoc (Method Names): add proper closing tag.
  [Fix GH-1356]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-21 02:07:31 +00:00