| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The chart (https://www.unicode.org/charts/case) that is currently
referred seems to be wrong.
Also, use the "latest" redirect and add titles of the section and table.
[Bug #18590]
|
| |
|
| |
|
|
|
| |
Add information from doc/hacking.md and doc/make_cheatsheet.md back into contributing docs
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- "hypnen" -> "hyphen"
- "hadler" -> "handler"
https://github.com/ruby/optparse/commit/e70e689ded
|
| |
|
|
|
|
| |
doc/contributing/building_ruby.md
|
| |
|
|
|
|
| |
co-authored-by: Peter Zhu <peter@peterzhu.ca>
|
|
|
|
|
| |
co-authored-by: Peter Zhu <peter@peterzhu.ca>
co-authored-by: Stan Lo <stan001212@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Update doc/format_specifications.rdoc
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
|
| |
|
|
|
|
|
|
|
| |
The `capstone` crate on crates.io does not need `libcapstone` on the system
because it builds from [source].
`gdbm` is now a separate gem (thanks for extracting it!).
[source]: https://github.com/capstone-rust/capstone-rs/blob/c31409905a9fc4581133de248fcd0a66b2c37e36/capstone-sys/build.rs#L143
|
| |
|
| |
|
|
|
|
|
| |
* Repair internal links
* Minor changes to format spec
|
|
|
| |
This new document would eventually replace the format spec discussion at Kernel#sprintf.
|
|
|
| |
Fix configure line in YJIT build instructions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In December 2021, we opened an [issue] to solicit feedback regarding the
porting of the YJIT codebase from C99 to Rust. There were some
reservations, but this project was given the go ahead by Ruby core
developers and Matz. Since then, we have successfully completed the port
of YJIT to Rust.
The new Rust version of YJIT has reached parity with the C version, in
that it passes all the CRuby tests, is able to run all of the YJIT
benchmarks, and performs similarly to the C version (because it works
the same way and largely generates the same machine code). We've even
incorporated some design improvements, such as a more fine-grained
constant invalidation mechanism which we expect will make a big
difference in Ruby on Rails applications.
Because we want to be careful, YJIT is guarded behind a configure
option:
```shell
./configure --enable-yjit # Build YJIT in release mode
./configure --enable-yjit=dev # Build YJIT in dev/debug mode
```
By default, YJIT does not get compiled and cargo/rustc is not required.
If YJIT is built in dev mode, then `cargo` is used to fetch development
dependencies, but when building in release, `cargo` is not required,
only `rustc`. At the moment YJIT requires Rust 1.60.0 or newer.
The YJIT command-line options remain mostly unchanged, and more details
about the build process are documented in `doc/yjit/yjit.md`.
The CI tests have been updated and do not take any more resources than
before.
The development history of the Rust port is available at the following
commit for interested parties:
https://github.com/Shopify/ruby/commit/1fd9573d8b4b65219f1c2407f30a0a60e537f8be
Our hope is that Rust YJIT will be compiled and included as a part of
system packages and compiled binaries of the Ruby 3.2 release. We do not
anticipate any major problems as Rust is well supported on every
platform which YJIT supports, but to make sure that this process works
smoothly, we would like to reach out to those who take care of building
systems packages before the 3.2 release is shipped and resolve any
issues that may come up.
[issue]: https://bugs.ruby-lang.org/issues/18481
Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
Co-authored-by: Noah Gibbs <the.codefolio.guy@gmail.com>
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
|
|
| |
see https://github.blog/changelog/2022-04-25-git-io-deprecation/
|
|
|
|
|
|
| |
Revises intro.
Adds "What's Here".
Revises methods doc.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Treats:
#begin
#end
#match
#match_length
|
|
|
|
|
|
|
|
| |
Treats:
#regexp
#names
#size
#offset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#fixed_encoding?
#hash
#==
#=~
#match
#match?
Also, in regexp.rdoc:
Changes heading from 'Special Global Variables' to 'Regexp Global Variables'.
Add tiny section 'Regexp Interpolation'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#source
#inspect
#to_s
#casefold?
#options
#names
#named_captures
|
|
|
|
| |
https://github.com/ruby/optparse/commit/2bea3b38c3
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#==
#inspect
#name
#to_s
#to_sym
#to_proc
#succ
#<=>
#casecmp
#casecmp?
#=~
#match
#match?
|
| |
|
| |
|
| |
|
|
|
| |
Creates file doc/string/slices.rdoc that the string slicing methods can link to.
|
| |
|
|
|
|
|
|
|
| |
Treats:
#length
#bytesize
|
| |
|
|
|
|
|
|
| |
Adds to doc for String.new, also making it compliant with documentation_guide.rdoc.
Fixes some broken links in io.c (that I failed to correct yesterday).
|
|
|
|
|
| |
Also prefers class name based references than file name based
references.
|
|
|
| |
Main doc for encodings moved from encoding.c to doc/encodings.rdoc
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#force_encoding
#b
#valid_encoding?
#ascii_only?
#scrub
#scrub!
#unicode_normalized?
Plus a couple of minor tweaks.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#start_with?
#end_with?
#delete_prefix
#delete_prefix!
#delete_suffix
#delete_suffix!
|