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

924 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada dcb705ace7
doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip] 2020-09-29 15:28:09 +09:00
Yusuke Endoh 2e947bc181 doc/syntax/literals.rdoc: explain `#@foo` and `#$foo` 2020-09-29 14:39:52 +09:00
Samuel Williams f7aa51b2b8 Update NEWS & documentation relating to scheduler. 2020-09-21 15:28:03 +12:00
Kazuhiro NISHIYAMA e4dbb91f4c
Fix typos [ci skip]
s/overriden/overridden/
2020-09-17 20:34:59 +09:00
Samuel Williams 132453fa52 Rename `Fiber{}` to `Fiber.schedule{}`. 2020-09-14 16:44:09 +12:00
Hiroshi SHIBATA 6042b7433d
Promote time.rb to default gems 2020-09-12 08:29:06 +09:00
Hiroshi SHIBATA 01e0d74965
Promote resolv-replace to default gems 2020-09-11 22:01:08 +09:00
Hiroshi SHIBATA e0675b1c76
Promote resolv to default gems 2020-09-11 21:50:07 +09:00
Hiroshi SHIBATA d1851ba5b9
Promote securerandom to default gems 2020-09-11 21:15:25 +09:00
Hiroshi SHIBATA 2f24818319
Promote open-uri to default gems 2020-09-11 20:38:18 +09:00
Hiroshi SHIBATA 867204c4a5
Promote syslog to default gems 2020-09-10 20:42:53 +09:00
Hiroshi SHIBATA cf76a4a5c2
Promote base64 to default gems 2020-09-10 18:56:17 +09:00
Hiroshi SHIBATA cf681038d6
Promote shellwords to default gems 2020-09-10 18:56:17 +09:00
Hiroshi SHIBATA cee8e95761
Promote abbrev to default gems 2020-09-10 18:56:16 +09:00
Hiroshi SHIBATA 01828a955a
Promote tsort to default gems 2020-09-09 21:53:09 +09:00
Kazuhiro NISHIYAMA c19f8f6263
Add `*.md` to doc/.document [ci skip] 2020-09-06 19:05:30 +09:00
Ashwin Elangovan 40c06e6fe1
Fixed some typos in ractor.md (#3522) 2020-09-05 15:58:31 -04:00
andrewmelis 72757fb596 Fix typo in ractor.md 2020-09-05 17:21:43 +09:00
Tom Schady de30450d91 Fix typos in Ractor README. 2020-09-04 12:41:35 -04:00
Koichi Sasada 79df14c04b Introduce Ractor mechanism for parallel execution
This commit introduces Ractor mechanism to run Ruby program in
parallel. See doc/ractor.md for more details about Ractor.
See ticket [Feature #17100] to see the implementation details
and discussions.

[Feature #17100]

This commit does not complete the implementation. You can find
many bugs on using Ractor. Also the specification will be changed
so that this feature is experimental. You will see a warning when
you make the first Ractor with `Ractor.new`.

I hope this feature can help programmers from thread-safety issues.
2020-09-03 21:11:06 +09:00
Kazuhiro NISHIYAMA 705b908f7d
Fix a typo [ci skip] 2020-09-03 17:54:00 +09:00
Burdette Lamar 4a5dd970a7
Add alias treatment to method_documentation.rdoc (#3468)
* Add alias treatment to method_documentation.rdoc
2020-08-28 13:39:16 -05:00
Lars Kanis 92b2d5816a Add documentation to "dcompact" callback and "parent" member 2020-08-25 10:50:51 -07:00
Hiroshi SHIBATA 2e3a7f70ae
Promote nkf to default gems 2020-08-25 21:17:19 +09:00
Kazuhiro NISHIYAMA 30ccc7d04b
Fix typos 2020-08-23 22:46:04 +09:00
Hiroshi SHIBATA 8c97883b73
Promote erb to default gems 2020-08-21 20:18:44 +09:00
Hiroshi SHIBATA bc374e5cea
Promote rinda to default gems 2020-08-21 18:10:03 +09:00
Hiroshi SHIBATA dfda2f739b
Promote find to default gems 2020-08-20 21:00:53 +09:00
Hiroshi SHIBATA 8a40e9b5a2
Promote set to default gems 2020-08-20 12:39:11 +09:00
Nobuyoshi Nakada fee1b98fde
[DOC] fixed the method name 2020-08-14 16:33:47 +09:00
Burdette Lamar 22fd617aa5
Adding doc/dig_methods.rdoc and links to it (#3416)
Adds a full discussion of #dig, along with links from Array, Hash, Struct, and OpenStruct.

CSV::Table and CSV::Row are over in ruby/csv. I'll get to them soon.

The art to the thing is to figure out how much (or how little) to say at each #dig.
2020-08-13 13:16:27 -05:00
Jeremy Evans d43e99b722
Add Method Documentation Guide (#3399)
This documents how methods for core classes and classes in the
standard library should be documented.

Co-authored-by: Eric Hodel <drbrain@segment7.net>
2020-08-10 12:47:31 -07:00
Hiroshi SHIBATA 2bd1f827f1
Promote io-nonblock to the default gems. 2020-07-30 21:21:08 +09:00
Hiroshi SHIBATA d75b42a70a
Promote io-wait to the default gems 2020-07-30 21:10:28 +09:00
Hiroshi SHIBATA 7befc0cdfc
Promote optparse to default gems 2020-07-22 18:38:51 +09:00
Burdette Lamar d9749b4715
[ruby/csv] RDoc for converters (#157)
* More on RDoc for converters

* More on RDoc for converters

* Fix indent

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
https://github.com/ruby/csv/commit/6044976160
2020-07-20 02:32:54 +09:00
Burdette Lamar 544d82f49b
[ruby/csv] RDoc: summary lists for options (#154)
* RDoc: summary lists for options

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods
https://github.com/ruby/csv/commit/72d8a25dc9
2020-07-20 02:32:54 +09:00
Burdette Lamar 7bf13c5183
[ruby/csv] Improve RDoc for common options (#146)
https://github.com/ruby/csv/commit/223cbee35d
2020-07-20 02:32:53 +09:00
Burdette Lamar d9eff306f5
[ruby/csv] Organize files in doc/ (#145)
https://github.com/ruby/csv/commit/bc9ea859b0
2020-07-20 02:32:53 +09:00
Burdette Lamar 9901bb4c73
[ruby/csv] Add missing file doc/argument_io.rdoc (#140)
https://github.com/ruby/csv/commit/e37f04aa5c
2020-07-20 02:32:52 +09:00
Burdette Lamar 6ba1abd40c
[ruby/csv] Enhanced Rdoc for CSV (#122)
https://github.com/ruby/csv/commit/cd670595d5
2020-07-20 02:32:50 +09:00
Jeremy Evans 021cec938a Clarify behavior of super in method in module included in refinement [ci skip]
Fixes [Bug #16977]
2020-07-10 15:31:51 -07:00
Hiroshi SHIBATA 70b8bdbc90 Removed sdbm entries from doc 2020-06-19 08:26:47 +09:00
Yusuke Endoh 8bee9e5cd5 doc/contributing.rdoc: Now ruby >= 2.2 or 2.3 is required to build ruby 2020-06-10 09:52:54 +09:00
Hiroshi SHIBATA 41b8866e75
This document is steal status.
Now, You can see the all of contributors at https://github.com/ruby/ruby/graphs/contributors
2020-06-10 09:29:37 +09:00
Jeremy Evans d2c48705ae Update extension.rdoc for Ruby 3 keyword argument separation [ci skip]
This removes the discussion of behavior removed in Ruby 3.
2020-06-01 15:18:50 -07:00
Nobuyoshi Nakada 3ed79a97b0
doc/contributing.rdoc: Removed obsolete platforms [ci skip] 2020-05-29 23:49:15 +09:00
Nobuyoshi Nakada 2225aa987f
[DOC] Turned note-lists into label-lists [ci skip] 2020-05-25 11:02:08 +09:00
Nobuyoshi Nakada 185f49f90c
Fixed RDoc formatting [ci skip] 2020-05-18 21:25:01 +09:00
Avdi Grimm afd84c58ac Document how to enable USDT method entry/exit tracepoints 2020-05-18 17:39:21 +12:00
Burdette Lamar 24739c62e5
[ci skip] Rdoc enhancements for Array (#3063)
* Per @nobu review

* Rdoc enhancements for Array

* Responses to review
2020-05-15 14:12:40 -07:00
Burdette Lamar d469807980
[CI skip] Enhance rdoc intro for Hash (#3056)
* Per @nobu review

* [CI skip] Enhance rdoc intro for Hash

* Tweak call-seq for Hash.new

* Tweak call-seq for Hash.new

* Minor corrections

* Respond to review

* Respond to review

* Respond to review

* Respond to review

* Fix chain exampmle

* Response to review
2020-05-15 14:11:42 -07:00
Kazuhiro NISHIYAMA a9b2014d26
Fix a typo [ci skip] 2020-05-15 17:45:28 +09:00
Yusuke Endoh 39365b46e2
Merge pull request #3047 from mame/suppress-backtrace
Add `--suppress-backtrace=num` option to limit the backtrace length
2020-05-15 01:22:56 +09:00
Samuel Williams 0e3b0fcdba
Thread scheduler for light weight concurrency. 2020-05-14 22:10:55 +12:00
Nobuyoshi Nakada 5b8c36dfb2
[DOC] Added GNU make specific targets [ci skip] 2020-04-24 18:32:47 +09:00
Nobuyoshi Nakada 04a55763fa
[DOC] Split "How to run a part of the test suite" [ci skip] 2020-04-24 18:32:41 +09:00
Burdette Lamar f563f3c5ef
RDoc enhancements for Hash[]. 2020-04-23 20:46:20 +12:00
Kazuki Tsujimoto e042380e0e
power_assert repository is transferred to ruby/power_assert 2020-04-18 20:42:00 +09:00
Kazuhiro NISHIYAMA 5257a53090
Removed NIL/TRUE/FALSE from documents too
This is follow up of 62554ca978
2020-04-17 17:40:57 +09:00
Nobuyoshi Nakada bc646e6715
[DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
Kazuki Tsujimoto cab9788e0c
Fix typos 2020-04-05 12:15:18 +09:00
zverok 33260d404f Enhance pattern matching introduction 2020-04-04 23:16:49 +09:00
Hiroshi SHIBATA 4be2a891cc
The upstream repository of bundler was changed rubygems/rubygems now.
https://github.com/rubygems/rubygems/pull/3166
2020-03-16 19:28:52 +09:00
Kazuhiro NISHIYAMA bf9abc4772
Use URL instead of relative path 2020-03-10 22:20:18 +09:00
Kazuhiro NISHIYAMA 21039d9c73
Add link to ../benchmark/README.md from make_cheatsheet [ci skip] 2020-03-10 22:18:59 +09:00
Jeremy Evans f991340e07 Document defined? and global_variables handling of regexp global variables [ci skip]
Fixes [Bug #11304]
2020-03-06 13:06:49 -08:00
zverok 281b350058 Add pattern matching documentation
Add separate doc/syntax/pattern_matching.rdoc, add
link to control_expressions.rdoc.

The documentation is "reverse-engineered" from Ruby 2.7
behavior and early preview presentations, and corrected
by pattern-matching feature author @k-tsj.
2020-02-24 00:28:13 +09:00
Hiroshi SHIBATA fa1cf777db
Move an entry of net-ftp to the default gems section 2020-02-21 21:23:16 +09:00
Hiroshi SHIBATA a294ec1622
Move an entry of net-ftp to the default gems section 2020-02-21 19:56:15 +09:00
Masataka Pocke Kuwabara 59c2a115f0 Fix typo in NEWS-2.7.0 2020-02-21 13:31:15 +09:00
Hiroshi SHIBATA a326b4b0b8
Move an entry of net-imap to the default gems section 2020-02-20 21:24:51 +09:00
Marcus Stollsteimer 97e8212a76 doc/make_cheatsheet.md: fix typos 2020-02-19 20:57:38 +01:00
Hiroshi SHIBATA c42c6a5950
Move the entry of net-protocol on docs 2020-02-17 22:16:13 +09:00
Hiroshi SHIBATA 4a2b99795a
Move the English entries to the default gems at docs 2020-02-13 20:36:44 +09:00
Hiroshi SHIBATA a91ce05046
Move the entries of tempfile on docs 2020-02-12 20:34:19 +09:00
Hiroshi SHIBATA 1b219f1fb2
Move the entries of tempfile on docs 2020-02-12 19:47:31 +09:00
Jeremy Evans ea32715e00 Add backwards compatibility example macro for rb_eval_cmd_kwd [ci skip] 2020-02-11 08:52:14 -08:00
Hiroshi SHIBATA f905f694cc
Monitor is extention library now 2020-02-11 14:27:15 +09:00
Hiroshi SHIBATA 3e788241ea
Update the documentation for weakref 2020-02-11 14:10:49 +09:00
Hiroshi SHIBATA 2d1cb93d40
Update readline-ext entry at docs 2020-02-10 20:51:06 +09:00
Hiroshi SHIBATA 442c6de554
Added commands of test-bundler to cheatsheet. 2020-02-10 13:28:54 +09:00
Yusuke Endoh 26532c7e77 doc/make_cheatsheet.md: add a memo about how to run one rubyspec file 2020-02-09 21:40:16 +09:00
Taha Husain 7f6bd6bb1c fix rdoc formatting [ci skip] 2020-02-01 23:06:33 +09:00
Kazuhiro NISHIYAMA 9af7d048b6
Fix a typo [ci skip] 2020-01-24 15:59:45 +09:00
MSP-Greg 5bb1c81a33 rename make-cheetsheet.md [ci skip] 2020-01-24 15:27:21 +09:00
Yusuke Endoh db82c680cd doc/make-cheetsheet.md: Added 2020-01-24 10:29:33 +09:00
Adam Isom 09271acdaf Update documentation for Array/Hash Argument section of methods.rdoc 2020-01-17 19:50:39 +09:00
Hiroshi SHIBATA 62baad9fe1
Removed xmlrpc and net-telnet from the bundled gems.
[Feature #16484][ruby-core:96682]
2020-01-16 16:56:53 +09:00
Hiroshi SHIBATA 83240f315a Make rss library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA c3ccf23d58 Make rexml library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA b53d8230f1
Fixed the wrong url for benchmark 2020-01-10 22:57:20 +09:00
Hiroshi SHIBATA e04366056a
Update the upstream repository of bundler 2020-01-10 22:56:46 +09:00
Takashi Kokubun afd3f64f8c
Redmine /projects/ruby-trunk is now redirected
to /projects/ruby-master
2019-12-31 22:06:19 -08:00
Kazuhiro NISHIYAMA 3096baec0e
Copy NEWS to doc/NEWS-2.7.0 2019-12-31 18:16:21 +09:00
Vladimir Dementyev e882187612 syntax.rdoc: remove "experimental" from refinements (#2796) 2019-12-29 16:59:07 -08:00
Marcus Stollsteimer 3679023df8 [DOC] Fix typo and language 2019-12-24 16:57:30 +01:00
Marcus Stollsteimer 66e518f7b3 [DOC] Fix typo 2019-12-24 13:01:24 +01:00
Marcus Stollsteimer a7b5018495 [DOC] Use capitalized "Ruby" 2019-12-23 22:07:02 +01:00
Marcus Stollsteimer ba9ccef818 [DOC] Various fixes in bug triaging guide 2019-12-23 22:04:59 +01:00
zverok a4b99f9764 Fix typos of previous docs PR
In #2612 I made two typos (extra ,, and copy-pasted
same line of code instead of showing two different
ones), fixing them.
2019-12-23 08:36:58 +09:00
zverok e568bb5649 Update private visibility explanation 2019-12-22 23:17:39 +09:00
Nobuyoshi Nakada fac60be324
shell.rb is no longer bundled [ci skip] 2019-12-20 09:40:06 +09:00
Nobuyoshi Nakada db16629008
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
2019-12-20 09:32:42 +09:00
Kevin Deisz 171803d5d3 Promote did_you_mean to default gem
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become difficult to load it when using Bundler.setup. See this issue: https://github.com/yuki24/did_you_mean/issues/117#issuecomment-482733159 for more details.
2019-11-30 21:08:19 -05:00
Hiroshi SHIBATA 0950ef9a9a Remove e2mmap entries from docs 2019-11-30 08:00:40 +09:00
aycabta 91bf3b7a77 Use singleline/multiline instead of readline/reidline 2019-11-21 02:44:35 +09:00
Jeremy Evans 3a0de05bee Remove mention of $SAFE and taint from doc [ci skip] 2019-11-18 01:00:25 +02:00
Hiroshi SHIBATA bcfe94b7f2
Revert "Revert "Promote uri to default gems""
This reverts commit fdfad90522.

  f1f27da6c4 resolved this.
2019-11-11 22:21:43 +09:00
Hiroshi SHIBATA fdfad90522
Revert "Promote uri to default gems"
This reverts commit c5b4d2a259.

  This commit affects with activation feature of RubyGems.
  [Bug #16337][ruby-core:95768]
2019-11-09 20:16:03 +09:00
Hiroshi SHIBATA c5b4d2a259
Promote uri to default gems 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 8c9438d219
Promote yaml to default gems 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 2a0ed5691e
Promote timeout to default gems 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 9a90a4d953
Fixup 368ee984ed52f6abe1fdf8360ad72e6cf1cbfa66 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 5f206cebb9
Promote observer to default gems. But not yet released 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA fc1d06b25d
Added gemspec for readline gem that is wrapper library for reline and readline extension 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA fc85bdeb77
Promote cgi to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 223d3c460a
Promote net-smtp to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA eb0b13596d
Promote net-pop to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 77c94e0dd8
Promote benchmark to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 1159dbf305
Promote delegate to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 3b0bd34001
Promote pstore to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 6797c3e371
Promote getoptlong to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA d1630d41ad
Promote open3 to default gems 2019-11-07 07:16:27 +09:00
Hiroshi SHIBATA fb7fe7f16c
Added rubygems url for published gem 2019-11-07 07:16:27 +09:00
Hiroshi SHIBATA 91135f6d29
Promote singleton to default gems 2019-11-07 07:16:26 +09:00
Nobuyoshi Nakada 7b2cd548aa
[DOC] mentioned `\R` [ci skip] 2019-11-03 23:18:01 +09:00
Nobuyoshi Nakada f8b3d7d159
[DOC] \s in regexp is not same as in string [ci skip] 2019-11-03 22:53:17 +09:00
zverok bddb31bb37 Documentation improvements for Ruby core
* Top-level `return`;
* Documentation for comments syntax;
* `rescue` inside blocks;
* Enhance `Object#to_enum` docs;
* Make `chomp:` option more obvious for `String#each_line` and
  `#lines`;
* Enhance `Proc#>>` and `#<<` docs;
* Enhance `Processs` class docs.
2019-10-26 14:58:08 +09:00
Kazuhiro NISHIYAMA 959ddf44b3
Fix typos [ci skip] 2019-10-23 12:00:44 +09:00
Kazuhiro NISHIYAMA d2982bea67
Remove duplicated `.` [ci skip] 2019-10-15 20:18:32 +09:00
Jeremy Evans 29c1e9a0d4 Document the difference between expressions and statements [ci skip]
In the grammar, all expressions are statements, but not all
statements are expressions.  Some parts of the grammar accept
expressions and not other types of statements, which causes
similar looking code to parse differently due to operator
precedence.

Mostly from Dan0042 (Daniel DeLorme).

Fixes [Bug #16092]
2019-10-10 13:45:19 -07:00
Jeremy Evans 59c3b1c9c8 Add section to extension.rdoc for backwards compatibility macros [ci skip]
These macros should make it easier to C extensions to switch to
the Ruby 2.7 C-API *_kw functions, but still have the code work
correctly on older Ruby versions.
2019-10-07 13:51:28 -07:00
Jeremy Evans c0eae130b1 Note RB_PASS_EMPTY_KEYWORDS and RB_SCAN_ARGS_EMPTY_KEYWORDS will be removed
There is no need for these in Ruby 3.0, and the plan is to
remove them.
2019-10-07 13:51:21 -07:00
Jeremy Evans 9f24e8fdbb Document *_kw functions added to include/ruby/ruby.h [ci skip]
Also documents the non-*_kw functions if they were not already
documented.
2019-10-03 14:13:27 -07:00
Jeremy Evans c7715a4936 Add documentation regarding keyword argument separation [ci skip] 2019-10-03 14:13:27 -07:00
Jeremy Evans 12e27a411c Minor updates to methods and calling_methods documentation [ci skip] 2019-10-03 14:13:27 -07:00
Nobuyoshi Nakada 2683171994
[DOC] DOT is not a part of a receiver [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 16:43:39 +09:00
Hiroshi SHIBATA 9d25c652a9
Removed ThreadsWait from the ruby repository 2019-09-20 14:21:04 +09:00
Hiroshi SHIBATA 37c0839425
Removed Synchronizer from the ruby repository. 2019-09-20 14:06:22 +09:00
Hiroshi SHIBATA 3b56a0934f
Removed Shell from the ruby repository. 2019-09-20 12:56:18 +09:00
Hiroshi SHIBATA 67a6662032
Removed Scanf from the ruby repository. 2019-09-20 12:43:11 +09:00
Hiroshi SHIBATA a3b8501614
Removed CMath from the ruby repository. 2019-09-20 12:31:37 +09:00
Nobuyoshi Nakada b80df6e8e0
Update NEWS and documents [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 02:40:59 +09:00
Kazuhiro NISHIYAMA 70f57287cf
Fix a typo [ci skip] 2019-09-16 21:36:23 +09:00
Jeremy Evans cd0e208963 Document {n}? regexp pattern is optional and not non-greedy [ci skip]
While not consistent with {n,}?, {,m}?, and {n,m}?, it is arguably
more useful, as otherwise the ? would have no effect.

Fixes [Bug #15583]
2019-08-28 11:50:33 -07:00
Nobuyoshi Nakada 7704bbd640
Marked up command line options [ci skip] 2019-08-16 00:28:22 +09:00
Olivier Lacan 8e7df4bbf9
Use the word heredocs in Here Documents docs
Two advantages:
- higher relevance of the extremely common word "heredocs" which may
help people find this page when searching for "ruby heredocs"
- the anchor link becomes `#label-Here+Documents+-28heredocs-29`, which is
ugly due to the parentheses but includes the word "heredocs" in the URL to
this section

If anyone knows a way to prevent RDoc from turning invalid characters into
ugly and meaningless ASCII codes, I'm listening. I don't want to break existing
anchor links but RDoc should really ignore these characters or turn them into
dashes.

Closes: https://github.com/ruby/ruby/pull/2103
2019-08-04 09:18:48 +09:00
Nobuyoshi Nakada 954223ebd4
[DOC] mentioned minimum versions of tools [ci skip] 2019-08-03 14:56:41 +09:00
Jeremy Evans bd32833382 Document behavior when mixing named captures with parentheses [ci skip]
Fixes [Bug #13716]
2019-07-26 14:26:59 -07:00
Hiroshi SHIBATA ab087ecb4d
Added the upstream repositories to default gems. 2019-07-23 13:34:35 +09:00
Hiroshi SHIBATA 73d56d6fe7
reline is default gems now. 2019-07-23 13:32:21 +09:00
Hiroshi SHIBATA 44cfabddbe
Removed duplicated entry for racc. 2019-07-23 11:20:08 +09:00
Jeremy Evans c945d115a5 Document use of ensure and else at method level [ci skip] 2019-07-19 11:39:05 -07:00
Jeremy Evans ceeb1535dd Remove section on performance advantage of not using a block parameter [ci skip]
Improvements in Ruby 2.5 and 2.6 make this section no longer
accurate.
2019-07-19 11:38:49 -07:00
Jeremy Evans 7e2677675d Remove mention of Proc.new with implicit block [ci skip]
This support is now deprecated and will be removed in Ruby 3.
2019-07-19 11:38:49 -07:00
Jeremy Evans bf2f84b2ff Document evaluation order of arguments [ci skip]
Fixes [Misc #8905]
2019-07-19 11:38:49 -07:00
Jeremy Evans 71d21f3c75 Document required keyword argument syntax [ci skip]
Fixes [Bug #8952]
2019-07-19 11:38:42 -07:00
Kazuhiro NISHIYAMA e644e2de85
Remove doc/etc.rd.ja [ci skip]
[Feature #16003] [ruby-dev:50814]
2019-07-19 09:01:53 +09:00
Kazuhiro NISHIYAMA 62f34bd1fe
doc/globals.rdoc: Add deprecated to TRUE,FALSE,NIL [ci skip]
They are warned since 2.4.0.
2019-07-15 13:59:02 +09:00
Jeremy Evans 99afea5328 Add bug triaging guide
Implements [Misc #15943]
2019-07-14 21:41:12 -07:00
Kazuhiro NISHIYAMA 226d569e57
doc/irb/irb.rd.ja: Update options from `irb -h` [ci skip] 2019-07-15 11:03:24 +09:00
Kazuhiro NISHIYAMA 05cc87df1b
[DOC] Struct::Passwd#uclass renamed from #class at r2500 [ci skip] 2019-07-15 10:53:05 +09:00
Kazuhiro NISHIYAMA d0f113f6c1
doc/globals.rdoc: Add RUBY_REVISION [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA ab31e13e75
doc/globals.rdoc: Add RUBY_PATCHLEVEL [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA 9a402cf61f
doc/globals.rdoc: Add RUBY_COPYRIGHT [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA 5d606b5174
doc/globals.rdoc: Add TOPLEVEL_BINDING [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA 2618db3011
[DOC] Fix typos [ci skip] 2019-07-14 16:00:34 +09:00
Kazuhiro NISHIYAMA f2d99fd820
[DOC] Fix indent [ci skip] 2019-07-14 15:54:19 +09:00
Kazuhiro NISHIYAMA dda2c860d9
[DOC] Fix link to feature [ci skip] 2019-07-14 14:59:34 +09:00
Kazuhiro NISHIYAMA 6da539be3e
Fix typos [ci skip] 2019-07-14 14:52:31 +09:00
Kazuhiro NISHIYAMA 421dd31145
[DOC] Fix experimental marker [ci skip] 2019-07-14 14:34:32 +09:00
Nobuyoshi Nakada 1a4f7c9bfa
[DOC] Markup code in globals.rdoc
Look forward to further improvements in RDoc to automatically mark
up global variables and global constants.
2019-07-13 23:36:34 +09:00
Benoit Daloze 6ef73c1472 Improve documentation in doc/globals.rdoc 2019-07-13 15:47:37 +02:00
Benoit Daloze 237b3e00c7 Document $~ before dependent global variables 2019-07-13 15:39:54 +02:00
Benoit Daloze b1ee7148f8 Improve documentation of $LOAD_PATH 2019-07-13 15:35:16 +02:00
Benoit Daloze 4a935bc6f6 Document $LOAD_PATH.resolve_feature_path in globals.rdoc
* RDoc does not seem to support documenting singleton object methods,
  and making $LOAD_PATH a class as a workaround is too weird.
2019-07-13 15:23:49 +02:00
Benoit Daloze b0f6f33094 Document a few more RUBY_* constants 2019-07-13 15:16:26 +02:00
Benoit Daloze 43677a2c58 Document the long form of global variables and mention aliases on the same line
* The longer forms are self-explanatory and I believe more often used.
* Same for ARGV and ARGF, describe them there and mention $* and $< just refer to them.
2019-07-13 15:07:19 +02:00
Jeremy Evans a4b5aaa9a7 Remove Changelog section from doc/contributing.rdoc [ci skip]
Replace it with a section on commit message formatting.  Also,
move the section on rebasing to the bottom, since that only
applies to committers and not most contributors.

Fixes [Bug #14886]
2019-07-02 08:22:11 -07:00
Kazuhiro NISHIYAMA 934a3a926c
Prefer master rather than trunk in doc/contributing.rdoc [ci skip] 2019-07-02 09:35:11 +09:00
Kazuhiro NISHIYAMA 73923bf583
[DOC] Add LibreSSL [ci skip] 2019-07-02 09:35:11 +09:00
Kazuhiro NISHIYAMA 1235e054eb
[DOC] Add spaces [ci skip] 2019-06-26 21:44:42 +09:00
Kazuhiro NISHIYAMA d9a055a721
[DOC] Fix svn account [ci skip] 2019-06-26 21:44:20 +09:00
Jeremy Evans 0f28094201 Improve wording of Local Variables and eval section
As pointed out by nobu, "defined" should be used instead of "assigned".
2019-06-25 11:18:08 -07:00
git dd57442f74 * remove trailing spaces. 2019-06-26 01:53:19 +09:00
Jeremy Evans 0bd5f846df Document local variable interactions with eval
Fixes [Bug #13337]
2019-06-25 09:52:34 -07:00
Hiroshi SHIBATA 3aa8691d52 Added and update the racc entries on doc/*. 2019-06-20 16:11:03 +09:00
Kazuhiro NISHIYAMA e6aa0a61fa
[DOC] non-nil `$,`,`$;` will be deprecated [ci skip]
```
% ruby -e '$,=""; $;=""'
-e:1: warning: non-nil $, will be deprecated
-e:1: warning: non-nil $; will be deprecated
```
2019-06-18 17:31:42 +09:00
Kazuhiro NISHIYAMA f48aad7ba2
Add reline to doc/maintainers.rdoc 2019-06-03 10:47:38 +09:00
Jeremy Evans 560cd5b1f0 Add myself as OpenBSD platform maintainer 2019-06-01 00:52:40 -07:00
aycabta 3a9008b984 Add --colorize and --nocolorize options to IRB 2019-05-21 08:57:21 +09:00
Marcus Stollsteimer 1f349ea297 Fix typo 2019-05-03 16:12:22 +02:00
aycabta 94b740b249 Use Ripper for IRB
The debug option of IRB is deleted because it's just for IRB's pure Ruby
parser.
2019-04-30 14:40:06 +09:00
Nobuyoshi Nakada 1432471a75
Disallow also CR in here-doc identifier
* parse.y (heredoc_identifier): CR in here-document identifier
  might or might not result in a syntax error, by the EOL code.
  make a syntax error regardless of the EOL code.
2019-04-29 13:47:20 +09:00
Nobuyoshi Nakada 330b376133
parse.y: fix here-doc identifier with newline
* parse.y (heredoc_identifier): quoted here-document identifier
  must end within the same line.

  the only corner case that here-document identifier can contain a
  newline is that the closing qoute is placed at the beginning of
  the next line, and has been warned since 2.4.

  ```ruby
  <<"EOS
  " # warning: here document identifier ends with a newline
  EOS
  ```
2019-04-29 12:49:59 +09:00
Nobuyoshi Nakada bb6036946e
Reduce matz's work, let git do it instead 2019-04-28 00:30:16 +09:00
Nobuyoshi Nakada 429fdf3de2
Added ChangeLog marker for the beginning of 2.7.0 2019-04-27 23:27:12 +09:00
Nobuyoshi Nakada af1e487e9b
Updated marked commits for ChangeLog 2019-04-27 23:06:39 +09:00
Nobuyoshi Nakada f4f66bd11c
Revert "IRB is improved with Reline and RDoc, take 2"
Accidentally merged when 89271d4a37
"Adjusted indents".
2019-04-23 21:55:29 +09:00
aycabta f2cd4f4cd0
IRB is improved with Reline and RDoc, take 2 2019-04-23 20:08:02 +09:00
Kazuhiro NISHIYAMA dd0b516399
Tk is already removed from stdlib at r55844
303dc3c591
2019-04-22 21:02:28 +09:00
Kazuhiro NISHIYAMA ae3f38dc53
CRuby trunk uses git instead of subversion now 2019-04-22 19:02:17 +09:00
aycabta 51cec00953 Revert "IRB is improved with Reline and RDoc"
This reverts commit 7f273ac6d0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21 09:13:49 +00:00
hsbt 4cb2dcdf02 ubygems.rb is already removed from ruby repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21 03:31:34 +00:00
aycabta 7f273ac6d0 IRB is improved with Reline and RDoc
Reline is a readline stdlib compatible library. It also supports
multiline input. IRB is improved with Reline and supports multiline.
Besides, supports showing documents when completed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-20 08:51:20 +00:00
kou 80282c76a3 Take over strscan maintenance
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-18 04:55:49 +00:00
eregon 012faccf04 doc/signals.rdoc: Clarify a bit where Signal.trap handlers are executed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-07 11:26:27 +00:00
mame 95f7992b89 Introduce beginless range [Feature#14799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-03 08:11:41 +00:00
hsbt bc76d8a232 Removed from standard library. No one maintains it from Ruby 2.0.0.
[Bug #15652][ruby-core:91736]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11 11:37:17 +00:00
nobu 009144e8ef NEWS: use note-list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-02 06:38:09 +00:00
nobu 7a86165d43 [DOC] mention rb_str_modify
[ruby-core:91134] [Bug #15543]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-18 02:36:14 +00:00
tenderlove d95b13ead1 Update refinements docs
Co-Authored-By: Vladimir Dementyev <dementiev.vm@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-10 17:28:13 +00:00
normal b8d28b33b4 doc/extension.ja.rdoc (rb_gc_register_mark_object): fix prototype
It takes VALUE, not a pointer to a VALUE.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-26 04:04:01 +00:00
kazu 756b200ad6 [DOC] Remove heading with no content [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 16:11:18 +00:00
kazu d16509f1f0 [DOC] Add doc/NEWS-2.6.0 [ci skip]
fix previous commit miss

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 16:09:39 +00:00
kazu 67beaf224d [DOC] Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 03:01:48 +00:00
nobu 576aaec6f9 Mention rb_gc_register_mark_object [ci skip]
[Feature #9894]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 01:17:37 +00:00
stomar 014a9e0587 Small improvement in refinements docs
Move general statement about refinements of modules
from example to the top of the document.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 21:14:38 +00:00
marcandre 296bd00e02 range.c: Documentation on endless ranges.
Based on patch by Victor Shepelev [DOC] [#7552]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 19:49:22 +00:00
mame 2b9ad05873 doc/contributing.rdoc: remove IA-64 from active platform list
Now takano32-san has no IA-64 machine for test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 06:35:40 +00:00
nobu 077a15c829 [DOC] rational and imaginary literals [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-17 01:21:18 +00:00
hsbt 59c8d50653 Added bundler as default gems. Revisit [Feature #12733]
* bin/*, lib/bundler/*, lib/bundler.rb, spec/bundler, man/*:
    Merge from latest stable branch of bundler/bundler repository and
    added workaround patches. I will backport them into upstream.
  * common.mk, defs/gmake.mk: Added `test-bundler` task for test suite
    of bundler.
  * tool/sync_default_gems.rb: Added sync task for bundler.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-02 23:07:56 +00:00
aycabta fdbc8eed42 Improve doc of Regexp about "ignore case" behavior [Misc #10836]
* doc/regexp.rdoc: RDoc for "ignore case" behavior

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21 06:42:53 +00:00
aycabta ecc627b20a Improve safe navigation operator's docs [Misc #15109]
* doc/syntax/calling_methods.rdoc: Add Safe navigation operator section.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20 10:57:33 +00:00
nobu 6897062003 Fix NEWS format [ci skip]
* doc/NEWS-2.5.0: append bracketed tags to the previous lines, not
  to be parsed as description lists, and expand braces for method
  references.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-17 11:35:27 +00:00
kazu 7e08d60d60 [DOC] Remove link to dead project
[Bug #14885] [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-05 23:15:02 +00:00
kazu 6cd8896bfa [DOC] Update NEWS about close_others [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-17 04:00:09 +00:00
hsbt f945ea86d8 Move IPAddr to deafult gems category.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-10 06:06:32 +00:00
normal 3943dcd180 use https:// instead of git:// when possible
Avoid MitM when downloading from insecure networks.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-28 03:34:30 +00:00
hsbt 3a1e3d35e2 Update latest default gems on maintainers.rdoc and standard_library.rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-25 12:31:58 +00:00
hsbt d6ec12417a Promote Shell library to default gems.
* doc/*: Move entry to default gems category from standard library.
  * lib/shell/*: Added `Shell::VERSION` and re-used it with @RELEASE_VERSION.
  * test/shell/test_command_processor.rb: added missing require for test library.
  * tool/sync_default_gems.rb: Support shell library. We need to ignore shellwords.rb when
    syncing shell* files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-20 02:24:59 +00:00
hsbt 43fbdfe806 Promote Tracer to default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-20 01:25:59 +00:00
hsbt e749134f0a Promote Synchronizer to default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-17 12:21:29 +00:00
hsbt 70785c1c5a Promote irb library to default gems.
* lib/irb/irb.gemspec: init.
  * lib/irb/version.rb: Set @RELEASE_VERSION value to IRB::VERSION for gemspec.
  * doc/*.rdoc: Move IRB entry to default gems category.
  * tool/sync_default_gems.rb: Add irb support.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-09 14:01:05 +00:00
kazu 36fa6af2e8 [DOC] newer codes recommend to use spaces only
[Bug #14246]
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-01 01:38:14 +00:00
kazu 828f4bf448 [DOC] Use https: instead of http:, git: [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-30 08:11:16 +00:00
kazu 19d71d8e37 [DOC] Update URL of rurema [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-30 08:10:58 +00:00
hsbt 2b5a801c1b ConditionVariable and Queue is not standard library.
They are located under the Thread class.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-20 12:51:38 +00:00
stomar 55539f9bb8 doc/signals.rdoc: fix typo
[Fix GH-1889]

From: yuuji.yaginuma <yuuji.yaginuma@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-12 09:42:39 +00:00
nobu 5e9ea3c75f doc/extension.rdoc: Fix small copy+paste mistake
[Fix GH-1884]

From: Lars Kanis <lars@greiz-reinsdorf.de>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-10 06:00:45 +00:00
kazu 51b709df07 Re-add Matrix to doc/standard_library.rdoc [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-08 13:19:02 +00:00
hsbt afa7bfee8f Promote Matrix to default gems.
The upstream repository is https://github.com/ruby/matrix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-07 12:10:24 +00:00
hsbt 5a10e577df Promote OpenStruct to default gems.
Upstream repository is https://github.com/ruby/ostruct.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-07 10:13:00 +00:00
hsbt 8ce71b6160 Promote Prime library to default gems.
* Its upstream is https://github.com/ruby/prime.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-02 23:05:45 +00:00
hsbt 1dd4321844 Promote Logger to default gems.
* Its upstream is https://github.com/ruby/logger.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-02 13:57:48 +00:00
hsbt 0f5b67526a Promote REXML to default gems.
* upstream repostiory is https://github.com/ruby/rexml

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-02 06:02:51 +00:00
hsbt ccc52902c0 Promote RSS library to default gems.
Its upstream was moved to https://github.com/ruby/rss.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-02 01:14:24 +00:00
naruse d3d40e99f1 Resurvey performance of RDoc by frozen_string_literal: true [Bug #14654]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-31 13:48:32 +00:00
kazu 897af5dfcd Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-08 13:00:04 +00:00