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

1344 Коммитов

Автор SHA1 Сообщение Дата
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
Hiroshi SHIBATA d16f992e1b Extract mutex_m as bundled gems 2024-01-10 17:28:16 +09:00
Nobuyoshi Nakada e168dbdac5
[DOC] Simply use `--` / `++` instead of `:stopdoc:` / `:startdoc:` 2024-01-07 00:43:56 +09:00
BurdetteLamar 10b9679fa6 [ruby/rdoc] Tweaks to Markup Reference
https://github.com/ruby/rdoc/commit/05ac6dba66
2024-01-04 21:27:58 +00:00
Nobuyoshi Nakada 9ff4e52d5d
[DOC] Make "Appendix F. Ractor support" a numbered list 2024-01-03 10:54:52 +09:00
Burdette Lamar a046d4efd2 [ruby/rdoc] [DOC] MarkupReference
(https://github.com/ruby/rdoc/pull/1075)

https://github.com/ruby/rdoc/commit/095b78123b
2024-01-02 14:00:31 +00:00
Nobuyoshi Nakada 00b2573e93
[DOC] Links to extension.rdoc from extension.ja.rdoc
Use links than plain text references.

TODO: Internationalize the RDoc hardcoded link text.

Currently RDoc hardcodes reference name with external name in English,
as "REF at <code>FILE</code>".  To this currently, square brackets
with additional text is mandatory.
2024-01-02 10:15:43 +09:00
Nobuyoshi Nakada 84eeb83f36
[DOC] Stop using `:enddoc:` in rdoc files
In rdoc files, all documents belong to the top level of each file, and
`:enddoc:` turns off `#document_self` for the entire document in the
current file.  This disables cross-references to labels in that file.
Instead use `:stopdoc:` so that parsing can re-start by `:startdoc:`
after the local variables.
2024-01-02 10:15:43 +09:00
Luke Gruber ad2c95dbdd [DOC] clarify situation for Ractor#send of T_DATA objects.
For copying, use language like "some" T_DATA objects not supported. This
is because objects like Time are supported, they don't refer to other
objects so it's okay.

For `send(obj, move: true)`, it's currently not supported to move any T_DATA objects.
2024-01-02 08:13:37 +09:00
Nobuyoshi Nakada a19544d154
[DOC] Fix markup 2024-01-01 00:55:31 +09:00
Nobuyoshi Nakada 0502df018c
[DOC] Fix missing `::` for dl 2024-01-01 00:50:19 +09:00