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

594 Коммитов

Автор SHA1 Сообщение Дата
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
nobu 6a69ab937c extension.rdoc: RB_{INTEGER,FLOAT}_TYPE_P [ci skip]
* doc/extension.rdoc, doc/extension.rdoc (Checking Data Types):
  [DOC] mention RB_INTEGER_TYPE_P and RB_FLOAT_TYPE_P.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-18 01:21:57 +00:00
nobu 5d0bf9ae15 extension.rdoc: RB_TYPE_P [ci skip]
* doc/extension.rdoc, doc/extension.rdoc (Checking Data Types):
  [DOC] mention RB_TYPE_P.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-18 01:05:36 +00:00
kazu cc22facc9c fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-06 14:30:01 +00:00
kazu a0ab5a325b fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-02 11:46:01 +00:00
hsbt 5576a93756 * doc/standard_library.rdoc: Remove obsoleted classes and modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 10:20:43 +00:00
nobu 23603c27ee ext/thread: remove
* ext/thread: removed dummy extension library.  thread_sync.c
  provides "thread.rb" already.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 02:56:17 +00:00
nobu e46ba7abcc maintainers.rdoc: update ext/io/nonblock [ci skip]
* doc/maintainers.rdoc (ext/io/nonblock): still maintained, as
  well as ext/io/wait, which is the origin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 13:40:29 +00:00
usa 82e6e21ecd * doc/maintainers.rdoc (ext/win32): of course, it's still maintained. [skip ci]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 12:18:51 +00:00
hsbt 5c194ec061 * doc/maintainers.rdoc: Update latest maintainers list on Ruby 2.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 11:43:13 +00:00
hsbt 621f2323bc * doc/maintainers.rdoc: Removed deprecated entries. These are already deleted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 10:52:51 +00:00
hsbt 49b64a9015 * doc/maintainers.rdoc: Removed Ruby 1.8 entries. It's not necessary to
Ruby 2.4 or later.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 10:52:49 +00:00
hsbt ba692a488e * doc/extension.rdoc: Improvements to english grammers.
[Bug #12246][ruby-core:74792][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-25 02:27:34 +00:00
nobu bcdfef89ae regexp.rdoc: terminators in comments [ci skip]
* doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
  comments.  [ruby-core:74838] [Bug #12256]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-07 10:04:05 +00:00
nobu c15acbba04 extension*.rdoc: fix errors [ci skip]
* extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
  Renamed files, wrong method names or argument types; the example
  GetDBM macro is now updated to the current version of the actual
  code.  patch by Marcus Stollsteimer in [ruby-core:74690].
  [Bug #12228]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-30 07:33:21 +00:00
hsbt e4e7ed03af * doc/extension.ja.rdoc: Fix RDoc markup in doc/extension*.rdoc.
[ci skip][Bug #12143][ruby-core:74143]
* doc/extension.rdoc: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-15 03:51:19 +00:00
nobu a12e8fd2ed doc: editor local variables [ci skip]
* doc/extension.rdoc, doc/extension.ja.rdoc: add editor local
  variables, with commenting out by :enddoc: directives which are
  just ignored unless code object mode.  [Bug #12111]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-26 05:40:28 +00:00
hsbt d7c46522fc * doc/extension.ja.rdoc: removed rendering error caused by editor specific
configuration on http://docs.ruby-lang.org/en/trunk/extension_rdoc.html .
  [Bug #12111][ruby-core:73990]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-26 03:26:55 +00:00
normal 68d4d7e41f doc/extension.rdoc: update paths for defs/ directory
These files were moved in r19844

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-20 06:39:14 +00:00
nobu 9286266137 standard_library.rdoc: fix typo [ci skip]
* doc/standard_library.rdoc: fix typo  [Fix GH-1230]
  Spelling mistakes -
  outputing > outputting
  publich > publish

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-31 03:16:40 +00:00
knu 066b825400 * doc/regexp.rdoc: [DOC] Elaborate on the \G anchor. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08 13:34:52 +00:00
nobu b01c28eeb3 Clarify object references example
* doc/marshal.rdoc: Clarify object references example, that the
  reference is same object.  [Fix GH-1156]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-05 02:47:38 +00:00
nobu 7d117c7046 contributing.rdoc: update [ci skip]
* doc/contributing.rdoc: mention some make targets, check, up, and
  love.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-03 15:24:10 +00:00
hsbt b4c1a13dcc * doc/NEWS-2.3.0: fix double words typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-01 10:39:16 +00:00
hsbt 8f8f92b508 * doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
operator. [ci skip][fix GH-1182] Patch by @dougo

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-30 11:26:09 +00:00
hsbt de962ebbc0 * doc/NEWS-2.3.0: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-27 10:55:59 +00:00
nobu c7d317cc02 `nul` should be uppercase [ci skip]
* doc/extension.rdoc: [DOC] `nul` should be uppercase.
  change 'nul' => 'NUL'.  [Fix GH-1172]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-27 00:34:55 +00:00
duerst 0ab9e70625 doc/CangeLog-2.3.0, ext/tk/lib/txextlib/SUPPORT_STATUS,
include/ruby/version.h: minor grammar fixes [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25 05:12:16 +00:00
nobu 22d8481f08 fix common misspelling [ci skip]
* compile.c, cont.c, doc, man: fix common misspelling.
  [ruby-core:72466] [Bug #11870]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 23:23:46 +00:00
usa 0674a9c7de * doc/contributing.rdoc: removed the list of branch maintainers because it may
be too old when users see it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 18:06:31 +00:00
usa d1a42eddce * doc/{ChangeLog,NEWS}-2.3.0: moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 17:24:57 +00:00
nobu e6be17c74a Fix typo in contributing docs [ci skip]
* doc/contributing.rdoc: [DOC] remove an extra word "here".
  [Fix GH-1169]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22 17:18:59 +00:00
hsbt 4f94cb43fc * doc/syntax/*.rdoc: separated modifier at sentence.
[ci skip][fix GH-1121] Patch by @clandry94

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-18 03:39:49 +00:00
nobu 00f9a74bca Fix typo [ci skip]
* doc/extension.rdoc: [DOC] fix double-word typo.  [Fix GH-1153]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-15 15:39:20 +00:00
nagachika 75c5b0afe4 * doc/NEWS-0.2.2: add description about incompatible change in Hash
duplicated key overriding policy. [Bug #10315] [Bug #11501]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-12 08:17:22 +00:00
shugo 6df0853173 * doc/syntax/refinements.rdoc: remove outdated description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09 05:38:31 +00:00
normal b401937c62 doc/extension.rdoc: warn about kwargs performance in C [ci skip]
This existing API seems doomed performance-wise, and writing
things in Ruby is nicer anyways.  So discourage folks from
using it.

[Feature #11339]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-07 18:49:49 +00:00
nobu 9a28a29b87 parse.y: indented hereoc
* parse.y: add heredoc <<~ syntax.  [Feature #9098]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-07 14:39:52 +00:00
nobu b71f6be026 Corrected grammar errors [ci skip]
* NEWS: [DOC] Various grammar corrections and clarifications to
  increase readability.  [Fix GH-1115]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-29 00:13:05 +00:00
shugo 46425732cf * doc/syntax/refinements.rdoc: update documentation to reflect
recent changes.
  [ci skip] [ruby-core:71466] [Misc #11681] Patch by James Adam

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-18 01:08:19 +00:00
sonots f8d4793c1b * doc/maintainers.rdoc: Change lib/logger.rb maintainer from nahi to sonots
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-17 14:16:02 +00:00
knu 1b5dce5a4e * NEWS: [DOC] In the new safe call syntax, arguments are evaluated
only if a call is made.

* doc/syntax/calling_methods.rdoc: Fix a typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-23 16:53:41 +00:00
nobu a356fe1c35 Safe navigation operator
* compile.c (iseq_peephole_optimize): peephole optimization for
  branchnil jumps.
* compile.c (iseq_compile_each): generate save navigation operator
  code.
* insns.def (branchnil): new opcode to pop the tos and branch if
  it is nil.
* parse.y (NEW_QCALL, call_op, parser_yylex): parse token '.?'.
  [Feature #11537]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-22 06:30:12 +00:00
knu 11b804feee [DOC] Remove `\0` since it's aprt of octal notation
A typo is fixed while at it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:58:56 +00:00
knu 5ac401c8dc [DOC] `\0` is interpreted as NUL only if not followed by an octal digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:31:39 +00:00
nobu 2b89d63e61 literals.rdoc: add DEL [ci skip]
* doc/syntax/literals.rdoc (Strings): [DOC] add DEL.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:21:13 +00:00
knu 6989f24117 [DOC] Revise the character literal part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:16:15 +00:00
knu d23857e558 [DOC] Document the full list of supported escape sequences in string literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:03:18 +00:00
nobu 22190b3f32 literals.rdoc: fix typos
* doc/syntax/literals.rdoc (Strings): fix typos.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 05:31:26 +00:00
usa 35947f6d42 * doc/syntax/literals.rdoc (Strings): mention about ?a literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 04:24:31 +00:00
hsbt 303c5a370e * doc/contributing.rdoc: fix configuration option.
[ci skip] [fix GH-1009]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-04 08:46:22 +00:00
nobu 63ee970ffb contributing.rdoc: double quotes [ci skip]
* doc/contributing.rdoc: double quotes to expand an environment
  variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-04 07:55:02 +00:00
nobu 6ed8d39de0 contributing.rdoc: portable substitution [ci skip]
* doc/contributing.rdoc: use portable substitution syntax
  available in plain bourne shell.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-04 06:48:09 +00:00
hsbt 40e2bed3dd * doc/contributing.rdoc: fixed wrong instructions with OS X
[fix GH-989][ci skip] Patch by @schneems

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-04 00:22:05 +00:00
normal 5c461d1eee doc/extension.rdoc: note rb_get_kwargs changes keywords_hash [ci skip]
[ruby-core:68507]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-04 21:45:23 +00:00
tenderlove 8252ef0ad3 change lingering dtrace probe documentation from function- to method-
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-30 02:04:26 +00:00
ktsj 20fe5da889 * doc/maintainers.rdoc: [DOC] net/telnet is no more in the stdlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 16:14:39 +00:00
hsbt f266d21f65 * doc/syntax/control_expressions.rdoc: fix a missing "a"
[fix GH-888][ci skip] Patch by @riffraff

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-08 06:06:03 +00:00
hsbt d9a2b3480e * doc/contributors.rdoc: fix a typo. Patch by @davydovanton
[fix GH-872][ci skip]
* doc/syntax/methods.rdoc: ditto.
* ext/digest/sha2/sha2.c: ditto.
* ext/socket/ipsocket.c: ditto.
* ext/tk/*: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-15 01:37:47 +00:00
svn 14ec77d179 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-14 23:26:01 +00:00
yugui 98544c372d * doc/extension.ja.rdoc: Added description of TypedData_XXX.
Deprecated the old DATA_XXX.
  Reviewed by ko1 and nobu.
  Fixes [ruby-dev:40881] #3064

* doc/extension.rdoc: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-14 23:25:47 +00:00
usa 06d95893b0 * doc/contributing.rdoc: update Maintainers list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-05 00:55:31 +00:00
svn c3c7b61bde * remove trailing spaces, append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:26:14 +00:00
hsbt dd659dc3b0 * doc/ChangeLog-0.06_to_0.52: added archived Changelog.
[ruby-list:50105]
* doc/ChangeLog-0.50_to_0.60: ditto.
* doc/ChangeLog-0.60_to_1.1: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:25:14 +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
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
kou d54bedb7f8 * doc/etc.rd.ja: Fix wrong coding for Emacs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-22 13:08:47 +00:00
hsbt c5e9d76221 * doc/syntax/methods.rdoc: add some missing spaces and
fix a grammatical error in method docs.
  [fix GH-843][ci skip] Patch by @nikolas

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-04 01:15:43 +00:00
hsbt 23b9356a0e * doc/syntax/calling_methods.rdoc: Fix documentation for "calling_methods"
Patch by @sos4nt [fix GH-830][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-17 02:04:02 +00:00
sho-h d38ef77dec * doc/standard_library.rdoc: [DOC] delete removed libraries.
[misc #10843] [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-15 05:26:49 +00:00
nobu e27a538eab security.rdoc: correction
* doc/security.rdoc (Symbols): ID2SYM never creates new IDs bound
  to immortal symbols, SYM2ID may create new IDs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05 21:09:27 +00:00
marcandre 899a1faa8f * doc/security.rdoc: [DOC] ammend symbols section for bug with
keyword args [ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05 20:06:11 +00:00
marcandre 8350b7dc04 * doc/security.rdoc: [DOC] ammend symbols section for bug with send [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04 16:41:38 +00:00
marcandre 229bfa7bb1 * doc/security.rdoc: [DOC] update symbols section [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04 16:24:16 +00:00
nobu 92c1538d48 security.rdoc: update about Symbol GC [ci skip]
* doc/security.rdoc (Symbols): update about Symbol GC.  Symbols
  explicitly converted from Strings now can be collected, but
  reflection/metaprogramming still can cause memory flooding.
  [Fix GH-725]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-02 01:51:37 +00:00
hsbt d03c86391b * doc/regexp.rdoc: fix regexp docs for whitespace character.
[ruby-dev:48765] [Bug #10624]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-01 12:41:54 +00:00
normal 12c2ad515e doc/syntax/literals.rdoc: spelling fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-29 16:54:32 +00:00
nobu d1e65737f6 literals.rdoc: quoted symbol keys
* doc/syntax/literals.rdoc (Hashes): describe about quoted symbol
  keys.

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-29 05:29:28 +00:00
nobu 25dddf158c literals.rdoc: Update for symbol literals
* doc/syntax/literals.rdoc (Symbols): now Symbols created by
  interpolation can be garbage collected.  patch by Yihang Ho in
  [ruby-core:67194].  [Bug #10671]
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-29 05:27:36 +00:00
kazu 39b8908e37 old ChangeLog and NEWS move to doc
* doc/NEWS-2.2.0: moved from NEWS
* doc/ChangeLog-2.2.0: moved ChangeLog older than created ruby_2_2 branch
* NEWS: NEWS for 2.3.0 that describes changes since 2.2.0
* ChangeLog: ChangeLog since branch point of ruby_2_2 branch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-25 13:53:36 +00:00
hsbt 6ec023e568 * doc/syntax/refinements.rdoc: refinements are no longer experimental.
patch by @gaurish [fix GH-755][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-01 01:42:38 +00:00
tenderlove 07308c4d30 * ext/dl/*: remove DL as it is replaced by Fiddle.
[Feature #5458] Thanks to Jonan Scheffler <jonanscheffler@gmail.com>
  for this patch

* test/dl/*: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31 21:13:09 +00:00
nobu 1a65cef0f0 doc: remove trailing spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 00:13:32 +00:00
zzak f13f9f6946 * doc/syntax/methods.rdoc: [DOC] [] and []= methods by @process
[Fixes GH-662] https://github.com/ruby/ruby/pull/662


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-22 10:50:52 +00:00
normal 161deb2196 doc/NEWS-2.0.0: fix typo for default RUBY_FIBER_MACHINE_STACK_SIZE
Checked against definition in vm_core.h
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-13 04:44:08 +00:00
drbrain e7ce17cfe8 * doc/keywords.rdoc: [DOC] Describe each keyword.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-24 18:54:13 +00:00
zzak bcd25152a6 * lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620]
Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620
* doc/globals.rdoc: Added $LOADED_FEATURES to list


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 19:54:55 +00:00
zzak 71c4c0b9e7 * doc/regexp.rdoc: [DOC] Clarify whitespace matching by @allolex
[Fixes GH-606] https://github.com/ruby/ruby/pull/606 [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 01:36:05 +00:00
nobu 37ce765ba3 fix typo [Fix GH-603]
* bootstraptest/test_literal.rb: fix typo of "dynamic".  [ci skip]
* regexp.rdoc: fix typo of "organized".  [ci skip]
* lib/session.rb: fix typo of "recognized".  [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28 15:20:28 +00:00
hsbt b3b9b6e5f7 * doc/syntax/assignment.rdoc: [DOC] Fix typo unclosed HTML tag by @andrewdotn
[fix GH-574][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-02 05:55:44 +00:00
zzak cac997eb95 * doc/syntax/literals.rdoc: [DOC] Single quote strings allows escape
of backslash as well, patch by @idupree [Fixes GH-553] [ci skip]
  https://github.com/ruby/ruby/pull/553


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-14 03:09:17 +00:00
zzak bfce381eb7 * doc/syntax/assignment.rdoc: [DOC] Fix assignment directions [ci skip]
By @idupree [Fixes GH-555] https://github.com/ruby/ruby/pull/555


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-06 06:16:35 +00:00
zzak 31fa4d8899 * doc/syntax/methods.rdoc: [DOC] Fix example for block arguments [ci skip]
By @idupree [Fixes GH-554] https://github.com/ruby/ruby/pull/554


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-06 06:08:40 +00:00
marcandre ec8de033e7 * NEWS-2.1.0: Mention that step can accept a 0 unit. See #9575
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02 01:54:36 +00:00
zzak 2af43c6d4b * doc/keywords.rdoc: [DOC] Add keywords doc by documenting-ruby/ruby#29
https://github.com/documenting-ruby/ruby/pull/29 [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-17 06:46:17 +00:00
normal 10e7961f99 doc/contributing.rdoc: allow/encourage other git hosts
git is a distributed system, so make it clear to potential contributors
that it does not and should not matter where their repositories are
hosted.

Furthermore, it should be possible to contribute to Open Source projects
by relying only on Open Source tools, protocols and APIs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-28 18:42:39 +00:00
hsbt fb69a11710 * doc/syntax/refinements.rdoc: typo fix by @skade [fix GH-508]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-21 12:00:08 +00:00
marcandre 291be0993b * doc/NEWS-2.1.0: Add mention for litteral.freeze
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-09 17:34:01 +00:00
kazu da8b79b4c4 old ChangeLog and NEWS move to doc
* doc/NEWS-2.1.0: moved from NEWS
* doc/ChangeLog-2.1.0: moved ChangeLog older than created ruby_2_0_0 branch
* NEWS: NEWS for 2.2.0 that describes changes since 2.1.0
* ChangeLog: ChangeLog since created v2_1_0_rc1 tag (branch point of ruby_2_1 branch)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 16:05:13 +00:00
zzak 573762a7b7 * doc/syntax/methods.rdoc: [DOC] Added example for underscore
conventions in method names. Also added doc to clarify encoding
  character set support for Ruby programs and elaborated on defining
  predicate and bang methods. Based on a patch by @gaurish
  [Fixes GH-477] https://github.com/ruby/ruby/pull/477


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 20:13:09 +00:00
zzak cadd660689 * doc/ChangeLog-1.9.3: [DOC] Fix typos by @dvsuresh
[Fixes GH-485] https://github.com/ruby/ruby/pull/485
* ext/openssl/ossl_config.c: ditto
* lib/rss/utils.rb, lib/time.rb: ditto
* test/ruby/envutil.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 18:21:14 +00:00
nobu cc0181caaf * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 10:56:07 +00:00
a_matsuda adb1ee65b7 [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]
* doc/ChangeLog-YARV:  Correct a typo in comment
* lib/rubygems/specification.rb:  ditto.
* test/rexml/data/tutorial.xml:  ditto.
* test/ruby/test_settracefunc.rb:  ditto.
* tool/instruction.rb:  ditto.

https://github.com/ruby/ruby/pull/482
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 10:54:54 +00:00
a_matsuda c1ffaef8c9 * doc/contributing.rdoc: [DOC] Correct spelling by @dvsuresh [Fixes GH-481]
https://github.com/ruby/ruby/pull/481
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 07:26:38 +00:00
a_matsuda 94bc0647b2 * doc/contributing.rdoc: [DOC] Fix typo by @dvsuresh [Fixes GH-476]
https://github.com/ruby/ruby/pull/476
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 02:21:09 +00:00
a_matsuda 8920ac2972 * doc/contributing.rdoc: [DOC] Fix typo in comments by @dvsuresh [Fixes GH-475]
* ext/openssl/ossl_ssl.c: ditto.
* test/ruby/test_m17n.rb:  ditto.

https://github.com/ruby/ruby/pull/475
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-12 07:21:19 +00:00
a_matsuda 1149533821 [DOC] Fix typo in docs/globals.rdoc by @dvsuresh [Fixes GH-474]
https://github.com/ruby/ruby/pull/474

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-12 06:05:34 +00:00
a_matsuda 02c8545037 * doc/contributing.rdoc: [DOC] curses is no more in the stdlib
* doc/contributors.rdoc:  Ditto.
* doc/maintainers.rdoc:  Ditto.
* doc/contributors.rdoc:  Ditto.
* doc/standard_library.rdoc:  Ditto.
* doc/syntax/modules_and_classes.rdoc:  Ditto.
* encoding.c:  Ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-10 11:22:13 +00:00
tmm1 4092574257 vm_method.c: add new ruby::method-cache-clear dtrace probe
* vm_method.c (rb_clear_method_cache_by_class): fire
  ruby::method-cache-clear probe on global or klass-level method cache
  clear [Bug #9190]
* probes.d (provider ruby): new dtrace probe
* doc/dtrace_probes.rdoc: docs for new probe
* test/dtrace/test_method_cache.rb: test for new probe

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-09 22:50:44 +00:00
zzak 547bd873d3 * doc/contributors.rdoc: [DOC] Import contributors from redmine wiki
Many wiki pages have become outdated and spam-ridden, we will import
  these to trunk and begin maintaining them in ruby-trunk. This will
  also allow new contributors to easily contribute patches to update
  these pages, where previously a redmine account with wiki access was
  required. Another bonus is having a contributors file to show thanks
  to all of the people who have submitted a patch to Ruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 13:17:27 +00:00
zzak d9d35ac9a0 * doc/maintainers.rdoc: [DOC] Current maintainers of Ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 09:04:19 +00:00
zzak 9e09550984 * doc/contributing.rdoc: [DOC] Current branch maintainers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:18:04 +00:00
zzak 5c1c8227c9 * doc/contributing.rdoc: [DOC] Reporting other (ruby-lang.org) issues
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:17:11 +00:00
zzak 588b6891d6 * doc/contributing.rdoc: [DOC] Current platform maintainers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:16:20 +00:00
zzak 476e4d79fa * doc/contributing.rdoc: [DOC] Reporting downstream distro issues
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:15:36 +00:00
zzak 7d4fa2f20b * doc/dtrace_probes.rdoc: [DOC] Import dtrace probes doc from wiki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:44:38 +00:00
zzak 6bea00dc32 * doc/contributing.rdoc: [DOC] Add heading above ChangeLog tips to
setup entry for commits, its not required. Actually easier if
  contributors don't include a ChangeLog entry.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:18:35 +00:00
zzak 8274df3e89 * doc/contributing.rdoc: [DOC] Add coding style heading for patch
rules


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:17:11 +00:00
zzak f1ea832fa0 * doc/contributing.rdoc: [DOC] Add notes about deciding what to patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:15:59 +00:00