Jun Aruga
13dafb210e
[DOC] testing_ruby.md: Add spec/ for the explanation of the `make check`.
2023-10-14 22:43:41 -07:00
Jun Aruga
df1887414a
[DOC] testing_ruby.md: Remove the command prompt '$ ` aligning with other parts.
...
Remove the command prompt '$ ` aligning with other parts in the document.
2023-10-14 22:43:41 -07:00
αlpha 0x00
94508a8a60
Fix Typo
2023-10-11 15:26:24 -07:00
Takashi Kokubun
4d0a619f71
YJIT: Allow --yjit-trace-exits on release builds ( #8619 )
2023-10-10 14:54:19 -07:00
Takashi Kokubun
ef7fa8bd0e
Integer#times is not a C method [ci skip]
2023-10-10 10:27:29 -07:00
Maxime Chevalier-Boisvert
a6d190fa4d
Update yjit.md
2023-10-10 13:10:47 -04:00
Jun Aruga
6c952ac600
testing_ruby.md: Document running test suites on s390x CPU architecture [ci skip] ( #8589 )
2023-10-09 17:05:51 +02:00
Nobuyoshi Nakada
7b8d472100
[DOC] Fix platform-dependent directives and modifiers
...
* 'j' and 'J' are not pointer directives.
* size of 'j' and 'J' are platform-dependent, may not be 64-bit.
* mention corresponding C types when native-size modifier is added.
Co-Authored-By: BurdetteLamar <burdettelamar@yahoo.com>
2023-10-06 22:20:19 +09:00
Maxime Chevalier-Boisvert
ea491802fa
YJIT: add heuristic to avoid compiling cold ISEQs ( #8522 )
...
* YJIT: Add counter to measure how often we compile "cold" ISEQs (#535 )
Fix counter name in DEFAULT_COUNTERS
YJIT: add --yjit-cold-threshold, don't compile cold ISEQs
YJIT: increase default cold threshold to 200_000
Remove rb_yjit_call_threshold()
Remove conflict markers
Fix compilation errors
Threshold 1 should compile immediately
Debug deadlock issue with test_ractor
Fix call threshold issue with tests
* Revert exception threshold logic. Document option in yjid.md
* (void) for 0 parameter functions in C99
* Rename iseq_entry_cold => cold_iseq_entry
* Document --yjit-cold-threshold in ruby.c
* Update doc/yjit/yjit.md
Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
* Shorten help string to appease test
* Address bug found by Kokubun. Reorder logic.
---------
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
2023-10-03 17:45:46 -04:00
Burdette Lamar
36cd2b2a52
[DOC] Correction for doc guide + TOC fix in File ( #8505 )
2023-09-24 17:57:21 -04:00
Nicholas Browning
53a373078d
doc: initial operators commit
...
docs: expand on operator documentaion
Include more specific details around logical operators.
doc: update link with proper syntax
doc: remove ambiguous language from operators doc
doc: remove link to source code file
doc: cleaning up some language, and removing some mistakes in understanding
doc: revert example to prior state
doc: fix spacing
doc: Update doc/syntax/operators.rdoc
align example with typical format
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
doc: Update doc/syntax/operators.rdoc
align format of other examples with rest of documentation
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Update doc/syntax/operators.rdoc
align format of other examples with rest of documentation
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
doc: include `and` & `or` operators
doc(operators): remove accute language
2023-09-20 23:52:52 +09:00
Takashi Kokubun
0a2c4a6091
[DOC] Add production performance tips to yjit.md ( #8472 )
...
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
2023-09-18 16:27:18 -07:00
Nobuyoshi Nakada
72772a3caa
[DOC] Mention "-" in ARGF
2023-09-17 22:05:58 +09:00
Burdette Lamar
e50b7bf784
[DOC] Globals doc ( #8445 )
2023-09-15 13:59:48 -04:00
Herwin
7f6c0efac7
Fix hyperlink for Script Encoding
2023-09-13 13:37:12 -04:00
Stan Lo
b635a66e95
[DOC] Update Reline and IRB's maintainers list ( #8406 )
...
Update Reline and IRB's maintainers list
Maintainers' order follows the same order they appear in the projects'
contributors list as of the time this commit is made.
2023-09-08 16:08:32 -07:00
Summer ☀️
0cd92819c9
[ruby/irb] Remove unused `PROMPT_N`
...
(https://github.com/ruby/irb/pull/685 )
https://github.com/ruby/irb/commit/66e69fa0dc
2023-08-29 18:15:05 +09:00
Samuel Williams
b2d1c720ec
Add documentation regarding how to build Ruby for debugging. ( #8290 )
...
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-08-26 09:59:45 +12:00
Rafael Mendonça França
774845284f
Change yjit stats list to be a unordered list
...
Without using a list, this show as a single paragraph with all stats descriptions being in one single line
2023-08-23 19:20:55 +02:00
Burdette Lamar
448ff162c4
[DOC] Adding font usage to doc guide ( #8255 )
2023-08-23 10:09:24 -04:00
Maxime Chevalier-Boisvert
eee83af34c
Update yjit.md, document `--yjit-stats=quiet`
2023-08-21 16:24:06 -04:00
Nobuyoshi Nakada
6ebde04202
[DOC] Update to use `SPECOPTS` instead of `MSPECOPT`
2023-08-12 12:33:05 +09:00
Burdette Lamar
6ccc660d85
[DOC] Don't suppress autolinks ( #8207 )
2023-08-11 17:53:53 -04:00
Mike Dalessio
d2343368ab
Deprecate Kernel#open and IO support for subprocess creation/forking
...
Deprecate Kernel#open and IO support for subprocess creation and
forking. This deprecates subprocess creation and forking in
- Kernel#open
- URI.open
- IO.binread
- IO.foreach
- IO.readlines
- IO.read
- IO.write
This behavior is slated to be removed in Ruby 4.0
[Feature #19630 ]
2023-08-10 09:38:11 +09:00
BurdetteLamar
60ac719acc
[ruby/optparse] [DOC] Corrections to tutorial
...
https://github.com/ruby/optparse/commit/2940dbb65a
2023-07-31 03:26:47 +00:00
Nobuyoshi Nakada
dfad14d83f
[ruby/optparse] [DOC] Mark up constant and method names as code
...
https://github.com/ruby/optparse/commit/e8bee0be8f
2023-07-30 02:35:22 +00:00
Takashi Kokubun
c4ef3d767b
YJIT: Rename exec_instruction to yjit_insns_count ( #8102 )
2023-07-20 15:54:59 -04:00
Takashi Kokubun
b41fc9b9a4
YJIT: Avoid undercounting retired_in_yjit ( #8038 )
...
* YJIT: Count the number of failed instructions
* Rename yjit_insns_count to exec_instructions instead
* Hoist out the exec_instruction counter
2023-07-20 13:14:25 -04:00
Ivanov-Anton
b89b7d8fdc
[DOC] Fix a magic comment in the section for `experimental_copy`
2023-07-18 19:23:27 +09:00
jinroq
ebb7552e6d
[Doc] Make build instructions easier to copy-and-paste
2023-07-14 12:52:33 -04:00
Jemma Issroff
163cdb4cd4
Deleted unnecessary YARP fuzzing doc file
2023-07-05 16:58:55 -04:00
Janosch Müller
08b3fb1152
[Bug #19728 ] Auto-generate unicode property docs
...
https://bugs.ruby-lang.org/issues/19728
2023-07-01 23:22:17 +09:00
Nobuyoshi Nakada
2952dbad5e
[DOC] Move document for YARP
2023-07-01 12:22:22 +09:00
Kevin Newton
d49a92d036
[ruby/yarp] Move fuzz docs into docs/ directory, reference in README
...
https://github.com/ruby/yarp/commit/97547b6192
2023-06-30 18:31:49 +00:00
Jemma Issroff
1272865a8e
Fix broken wiki links ( #8002 )
...
Since [Misc #19679 ] migrated the wiki, these links should be updated
to their new locations.
2023-06-29 17:00:40 -04:00
BurdetteLamar
8f9d58a962
Repair broken link
2023-06-28 12:01:16 -04:00
Burdette Lamar
6528cf9fcf
[DOC] Fixes for link fragments ( #7981 )
2023-06-28 09:05:43 -04:00
Mark Schneider
2098093fb4
[ruby/csv] docs: Add entry for backslash_quotes liberal parsing
...
(https://github.com/ruby/csv/pull/280 )
https://github.com/ruby/csv/commit/0dcfcd9c48
2023-06-28 16:37:08 +09:00
Nobuyoshi Nakada
dc940cc740
[DOC] Nested ordered lists need more indents
2023-06-26 18:25:21 +09:00
BurdetteLamar
ed587abffb
Fix broken links
2023-06-25 16:44:59 -04:00
Nobuyoshi Nakada
15ec072a42
[DOC] Parse documents under doc/yjit
2023-06-25 17:21:31 +09:00
Nobuyoshi Nakada
0a9ef0548b
[DOC] Parse all documents under doc/regexp
2023-06-25 17:21:31 +09:00
Burdette Lamar
932dd9f10e
[DOC] Regexp doc ( #7923 )
2023-06-20 09:28:21 -04:00
Hiroshi SHIBATA
44ad176fc2
Update Racc entries on documents
2023-06-20 13:34:28 +09:00
zzak
80dfe2bc4d
[ruby/rdoc] Fix missing closing colon for `:notnew:`
...
https://github.com/ruby/rdoc/commit/1e550b7d02
2023-06-16 08:54:12 +00:00
Hiroshi SHIBATA
3924dba552
Update the current URI maintainer
2023-06-13 12:28:33 +09:00
Jeremy Evans
618a04d211
Document throw/catch in the control expressions document [ci skip]
...
This are implemented as Kernel methods and not keywords, but I
still think they are worth documenting with the other control
flow expressions.
2023-05-26 07:58:40 -07:00
Jun Aruga
6d450d62fb
testing_ruby.md: Update `make test-all` tips [ci skip]
2023-05-26 09:19:38 -04:00
Yuki Tsujimoto
e151a2ff8e
[ruby/csv] docs: fix example in Recipe: Capture Unconverted Fields
...
(https://github.com/ruby/csv/pull/276 )
I've fixed the example in `Recipe: Capture Unconverted Fields`.
https://ruby.github.io/csv/doc/csv/recipes/parsing_rdoc.html#label-Recipe-3A+Capture+Unconverted+Fields
`parsed` is wrong: header row is missing and the values should be
integers.
```
$ ruby -v
ruby 3.2.1 (2023-02-08 revision https://github.com/ruby/csv/commit/31819e82c8 ) [x86_64-darwin21]
$ cat unconverted_fields.rb
require "csv"
source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
parsed = CSV.parse(source, converters: :integer, unconverted_fields: true)
p parsed
parsed.each {|row| p row.unconverted_fields }
$ ruby unconverted_fields.rb
[["Name", "Value"], ["foo", 0], ["bar", 1], ["baz", 2]]
["Name", "Value"]
["foo", "0"]
["bar", "1"]
["baz", "2"]
```
2023-05-25 01:44:17 +09:00
Sampat Badhe
55a900d9cc
[ruby/csv] Fix typos ( https://github.com/ruby/csv/pull/236 )
...
https://github.com/ruby/csv/commit/d5e401266f
2023-05-25 01:44:17 +09:00