1354 Commits

Author SHA1 Message Date
Diego Henrique
69c1bd90be
[DOC] Fix a typo in globals.rdoc
Noticed this small type while reading the docs.
2024-04-26 14:31:36 +00:00
Nobuyoshi Nakada
762491db82 [DOC] Caveat about "allocate then wrap" 2024-04-26 18:17:09 +09:00
Hiroshi SHIBATA
7e8d8f250d
Removed obsoleted section because make docs is removed from default make task 2024-04-24 17:19:04 +09:00
Hiroshi SHIBATA
945a0334c7 Update build and install document related https://blade.ruby-lang.org/ruby-dev/39325 2024-04-17 19:56:20 +09:00
Nobuyoshi Nakada
eaa6e4b228
[DOC] Update PTY documents
- Fix markups as RDoc.
- Remove already descriptions of removed methods.
2024-04-07 13:35:20 +09:00
Maxime Chevalier-Boisvert
571bfc7402
YJIT: update code optimization tips in yjit.md (#10445)
* YJIT: update code optimization tips in yjit.md

* Function => method
2024-04-03 21:28:01 +00:00
Adam Daniels
b664590c4d [DOC] Fix examples for u packing directive
The directive is a lowercase `u` instead of an uppercase `U`. Adjusted
input and output to match.

Reported by Leah Neukirchen.
2024-04-03 09:55:24 +09:00
KJ Tsanaktsidis
e02a06fbf2 Document how to run the tests under ASAN now that they pass! 2024-03-31 21:12:31 +11:00
Hiroshi SHIBATA
7630a89a4b Use www.rfc-editor.org for RFC text.
We use the following site for that now:

* https://tools.ietf.org/ or http
* https://datatracker.ietf.org or http

Today, IETF said the official site of RFC is www.rfc-editor.org.

FYI: https://authors.ietf.org/en/references-in-rfcxml

I replaced them to www.rfc-editor.org.
2024-03-28 11:44:45 +09:00
crazeteam
b2b665eba5 [DOC] remove repetitive words in comments
Signed-off-by: crazeteam <lilujing@outlook.com>
2024-03-27 07:52:18 +09:00
tomoya ishida
bda5b09937 [ruby/irb] Fix irb_history saved to current directory
(https://github.com/ruby/irb/pull/901)

* Always save irb_history in HOME or XDG_CONFIG_HOME

Also split irbrc search logic from irb_history search logic as a refactor

* Remove IRB.conf[:RC_NAME_GENERATOR] because it's not configurable

This conf is used to specify which irbrc to load. Need to configure before irbrc is loaded, so it's actually not configurable.
This conf is also used for history file search, but it is configurable by conf[:HISTORY_FILE].

* remove rc_file_test because it is tested with rc_files, remove useless test setup

* Make internal irbrc searching method private

https://github.com/ruby/irb/commit/11d03a6ff7
2024-03-16 15:20:03 +00:00
Pierre Merlin
ec4333c970
[DOC] exceptions.rdoc : Add heads up about ensure not returning implicitly
There is a weird gotcha I already forgot twice.... and regret not to have found in doc.
See https://dev.to/okuramasafumi/be-sure-ensure-doesn-t-return-value-implicitly-8gp
2024-03-15 22:23:50 +09:00
Takashi Kokubun
b0be2961f7
YJIT: Let yjit_perf.py support perf with Python disabled (#10246)
* YJIT: Let yjit_perf.py support perf with Python disabled

* Update yjit.md about perf

* Recommend the extra interface by default
2024-03-14 10:08:23 -07:00
Andrea Brancaleoni
7a398adc2f
[DOC] security.rdoc: fix YAML security documentation
Since fbb4e3f96c
`YAML` does not unmarshal arbitrary ruby objects.
2024-03-11 16:26:14 +09:00
Petrik de Heus
a69910211b [ruby/rdoc] [DOC] Improve documentation of include directive file search
Searching the file in the "current directory" could be read as the
directory from which RDoc is run. This is incorrect, as the file is
first searched in the directory containing the current documented file.

Also this directory is searched before the `--include` directories.

https://github.com/ruby/rdoc/commit/aa2d98ee5e
2024-03-09 05:46:49 +00:00
Burdette Lamar
16ec54ec41
[DOC] Ruby command-line options (#10138) 2024-03-06 15:10:24 -05:00
Takashi Kokubun
3668118572
[DOC] Stop discouraging the use of Array#each (#10119) 2024-02-27 17:02:24 -05:00
John Hawthorn
b8572c3f16 BASERUBY is now >= 3.0 2024-02-26 14:03:49 -08:00
Burdette Lamar
e458494194
[DOC] Doc for command line options (#10059) 2024-02-23 15:53:39 -05:00
Burdette Lamar
fce780473c
[DOC] Doc for field processing (#10008) 2024-02-21 15:42:23 -05:00
ydah
926277bf82 s/ therefor/therefore/ 2024-02-15 17:01:02 +09:00
ydah
aa6d0bc0bd s/ocurs/occurs/ 2024-02-15 17:01:02 +09:00
ydah
303852440a s/bellow/below/ 2024-02-15 17:01:02 +09:00
ydah
317c1da62b s/Direcive/Directive/ 2024-02-15 17:01:02 +09:00
ydah
8b061eeb22 s/enocding/encoding/ 2024-02-15 17:01:02 +09:00
Takashi Kokubun
7177731282
YJIT: Add --yjit-perf=codegen option (#9957) 2024-02-14 09:09:14 -08:00
KJ Tsanaktsidis
1f0fa31834 Fix typo in asan section of building_ruby.md docs
s/copmiler-rt/compiler-rt/
2024-02-13 10:07:04 +09:00
Burdette Lamar
4f1a466522
More on auto-link (#9907) 2024-02-12 15:01:46 -05:00
KJ Tsanaktsidis
697ade7bda Update ASAN docs to reflect the current state of things
I don't really think ASAN works well at all on any version of Ruby from
before https://bugs.ruby-lang.org/issues/20001 was landed. Update the
docs to clarify what works, and what does not work.

Also there's no need to compile at `-O0`; this was probably just hiding
some of the problems with our stack scanning that were fixed in the
above issue.

[Bug #20248]
2024-02-12 10:52:05 +11:00
Takashi Kokubun
5cbca9110c
YJIT: Allow tracing a counted exit (#9890)
* YJIT: Allow tracing a counted exit

* Avoid clobbering caller-saved registers
2024-02-08 15:47:02 -08:00
Hiroshi SHIBATA
f9bf7d531b
Added vcpkg manifest for windows build environment.
"builtin-baseline": "53bef8994c541b6561884a8395ea35715ece75db" is 2024.01.12
released version of vcpkg.

https://github.com/microsoft/vcpkg/releases/tag/2024.01.12
2024-01-26 12:38:01 +09:00
Takashi Kokubun
303fef8752
YJIT: Update yjit.md about mem size (#9687) 2024-01-24 10:26:57 -08:00
Maxime Chevalier-Boisvert
1702528258
YJIT: reduce default exec mem size to 48MiB (#9685)
YJIT: reduce default exec mem size to 48MiB based

Based on user feedback from @jhawthorn and others.
Better for small and memory-constrained deployments.

NOTE: This commit should be included in the next Ruby 3.3.x point
release. @xrxr should we tag someone specific?
2024-01-24 18:14:36 +00:00
Jean Boussier
a846d391d3 List branch maintainers in maintainers.md
I'm not aware of this information being available
anywhere else.
2024-01-23 18:02:42 +01:00
Hiroshi SHIBATA
92141d6269 Document about csv at Ruby 3.4 2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA
8bcc764f71 Document about syslog at Ruby 3.4 2024-01-22 15:59:40 +09:00
Hiroshi SHIBATA
52a0ebe292 Document about nkf at Ruby 3.4 2024-01-22 14:17:52 +09:00
Hiroshi SHIBATA
3b3f03666a
Refine entry title 2024-01-22 12:35:04 +09:00
Nobuyoshi Nakada
4a11f50f79
[DOC] Update command_injection.rdoc
- Add missing `Kernel.exec` and `Kernel.spawn`.
- Elaborate arguments that can cause injections.
2024-01-22 12:06:00 +09:00
Hiroshi SHIBATA
854b1f6072 Document about drb at Ruby 3.4 2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA
ce73fbd717 Document about rinda at Ruby 3.4 2024-01-19 20:02:19 +09:00
Hiroshi SHIBATA
6c098d145a Document about resolv-replace at Ruby 3.4 2024-01-19 17:44:58 +09:00
Hiroshi SHIBATA
e28bdff941 Document about abbrev at Ruby 3.4 2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA
fb5722c09a Document about observer at Ruby 3.4 2024-01-19 15:24:09 +09:00
Hiroshi SHIBATA
68b403c45a
Fixed inconsistent library name 2024-01-19 14:01:30 +09:00
Hiroshi SHIBATA
385a1b15ef
Fixed upstream URL at bundled gems 2024-01-19 14:00:08 +09:00
Kazuhiro NISHIYAMA
42177a8987
[DOC] Update ruby version in Building Ruby Dependencies 2024-01-18 08:45:09 +09:00
Hiroshi SHIBATA
272b1c92cc Document about bigdecimal at Ruby 3.4 2024-01-18 07:44:13 +09:00
Hiroshi SHIBATA
05e798269f Document about base64 at Ruby 3.4 2024-01-17 08:28:31 +09:00
Hiroshi SHIBATA
326288c5a5 Document about getoptlong at Ruby 3.4 2024-01-16 17:07:10 +09:00