nagachika
26b9fb4711
merge revision(s) 57517: [Backport #13190 ]
...
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/branches/ruby_2_3@58032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-19 21:48:03 +00:00
nagachika
bc059aa6d5
merge revision(s) 56980,56981: [Backport #13004 ]
...
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/branches/ruby_2_3@57346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-16 19:21:32 +00:00
nagachika
52c883bee3
merge revision(s) 53320,54756: [Backport #12246 ]
...
* doc/extension.rdoc: [DOC] `nul` should be uppercase.
change 'nul' => 'NUL'. [Fix GH-1172]
* doc/extension.rdoc: Improvements to english grammers.
[Bug #12246 ][ruby-core:74792][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-25 17:59:15 +00:00
nagachika
cce82740b5
merge revision(s) 54510: [Backport #12256 ]
...
* 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/branches/ruby_2_3@54709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-22 14:47:15 +00:00
nagachika
f3b73a8ef6
merge revision(s) 54434: [Backport #12228 ]
...
* 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/branches/ruby_2_3@54708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-22 14:44:24 +00:00
naruse
3f7f77606a
merge revision(s) 54110: [Backport #12143 ]
...
* 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/branches/ruby_2_3@54415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29 16:24:16 +00:00
naruse
0d41668f6c
merge revision(s) 53947,53948: [Backport #12111 ]
...
* 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]
* 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/branches/ruby_2_3@54409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29 15:01:08 +00:00
naruse
0e0e4cb4cc
merge revision(s) 53385: [Backport #11926 ]
...
* 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/branches/ruby_2_3@54393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29 12:01:17 +00:00
naruse
6b73bb455e
merge revision(s) 53299: [Backport #11870 ]
...
* compile.c, cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29 04:49:00 +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