Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-25 | [Feature #18239] Implement VWA for strings | Peter Zhu | |
This commit adds support for embedded strings with variable capacity and uses Variable Width Allocation to allocate strings. Notes: Merged: https://github.com/ruby/ruby/pull/4933 | |||
2021-10-21 | Fix TestRubyOptions#test_enable for -DMJIT_FORCE_ENABLE | Takashi Kokubun | |
--enable=all didn't work when cppflags=-DMJIT_FORCE_ENABLE was given. | |||
2021-10-21 | Force disable yjit on OpenBSD | Jeremy Evans | |
TestRubyOptions#test_enable was broken on OpenBSD after the yjit merge. --yjit (and --enable-all, which enables --yjit) fails on OpenBSD because yjit uses an insecure mmap call (both writable and executable), in alloc_exec_mem, which OpenBSD does not allow. This can probably be reverted if yjit switches to a more secure mmap design (writable xor executable). This would involve initially calling mmap with PROT_READ | PROT_WRITE, and after writing of executable code has finished, using mprotect to switch to PROT_READ | PROT_EXEC. I believe Firefox uses this approach for their Javascript engine since Firefox 46. | |||
2021-10-20 | Fix indentation in ruby.c | Alan Wu | |
2021-10-20 | Warn when trying to use YJIT in --disable-jit-support builds | Alan Wu | |
2021-10-20 | Show --yjit in help message | Alan Wu | |
2021-10-20 | Improve YJIT command line option parsing | Alan Wu | |
Previously, options such as "--yjit123" would enable YJIT. Additionally, the error message for argument parsing mentioned "--jit-..." instead of "--yjit-...". | |||
2021-10-20 | YJIT_STATS instead of RUBY_DEBUG for --yjit-stats in help printout | Alan Wu | |
2021-10-20 | Say YJIT is disabled by default in ruby --help | Alan Wu | |
2021-10-20 | Style fix in ruby.c | Alan Wu | |
2021-10-20 | Don't enable YJIT by default. More tests on both Ubuntu and MacOS. | Noah Gibbs | |
Add RUBY_YJIT_ENABLE env var and YJIT_FORCE_ENABLE compile-time constant. Rename YJIT_STATS to RUBY_YJIT_STATS. | |||
2021-10-20 | Reduce line length for YJIT option descriptions | Noah Gibbs | |
2021-10-20 | Document YJIT options in --help | Noah Gibbs | |
2021-10-20 | is this right? | Aaron Patterson | |
2021-10-20 | Don't check MJIT if it's not enabled | Aaron Patterson | |
2021-10-20 | Disable YJIT by default if MJIT_FORCE_ENABLE is on | Aaron Patterson | |
Compile time flag seems pretty forceful, so let MJIT turn on by default if it is used. | |||
2021-10-20 | disable MJIT when --enable-all is set | Aaron Patterson | |
2021-10-20 | Update ruby.c | Maxime Chevalier-Boisvert | |
2021-10-20 | Exit if YJIT and MJIT are both enabled | Aaron Patterson | |
YJIT and MJIT can't be running in the same process otherwise they'll clobber each other. We should show an error and exit if they're both enabled. | |||
2021-10-20 | Try running with more YJIT options in CI to surface more bugs | Maxime Chevalier-Boisvert | |
2021-10-20 | Increase default YJIT call threshold to 10. Add exec mem size arg. (#52) | Maxime Chevalier-Boisvert | |
2021-10-20 | Implement greedy versioning. Refactor versioning logic. (#10) | Maxime Chevalier-Boisvert | |
* Implement eager versioning. Refactor versioning logic. * Add --version-limit and --greedy-versioning command-line args | |||
2021-10-20 | Yet Another Ruby JIT! | Jose Narvaez | |
Renaming uJIT to YJIT. AKA s/ujit/yjit/g. | |||
2021-10-20 | Implement --ujit-call-threshold | Maxime Chevalier-Boisvert | |
2021-10-20 | Report unknown --ujit-* options | Maxime Chevalier-Boisvert | |
2021-10-20 | Implement --ujit-stats and instructoin counting | Alan Wu | |
VM and ujit instruction counting in debug builds. shopify/ruby#19 | |||
2021-10-20 | Refactor uJIT code into more files for readability | Maxime Chevalier-Boisvert | |
2021-10-20 | Show whether MicroJIT is enabled in the version string | Alan Wu | |
2021-10-20 | Fix mistake in ujit command line parsing | Alan Wu | |
2021-10-20 | Implement the --disable-ujit command line option | Alan Wu | |
2021-10-01 | Skip broken strings as the locale encoding | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/4915 | |||
2021-10-01 | Replace expanded load path only when modified | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/4915 | |||
2021-10-01 | Copy path strings as interned strings | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/4915 | |||
2021-10-01 | Fix the encoding of loaded feature names [Bug #18191] | Nobuyoshi Nakada | |
The feature names loaded from the default load paths should also be in the file system encoding. Notes: Merged: https://github.com/ruby/ruby/pull/4915 | |||
2021-09-10 | include/ruby/internal/interpreter.h: add doxygen | 卜部昌平 | |
Must not be a bad idea to improve documents. [ci skip] In fact many functions declared in the header file are already documented more or less. They were just copy & pasted, with applying some style updates. Notes: Merged: https://github.com/ruby/ruby/pull/4815 | |||
2021-09-05 | Replace RBOOL macro | S-H-GAMELINKS | |
Notes: Merged: https://github.com/ruby/ruby/pull/4791 | |||
2021-07-06 | Suppress unused-but-set-variable warning | Nobuyoshi Nakada | |
2021-06-29 | Rename error_squiggle to error_highlight | Yusuke Endoh | |
Notes: Merged: https://github.com/ruby/ruby/pull/4586 | |||
2021-06-29 | [WIP] add error_squiggle gem | Yusuke Endoh | |
``` $ ./local/bin/ruby -e '1.time {}' -e:1:in `<main>': undefined method `time' for 1:Integer (NoMethodError) 1.time {} ^^^^^ Did you mean? times ``` https://bugs.ruby-lang.org/issues/17930 Notes: Merged: https://github.com/ruby/ruby/pull/4586 | |||
2021-06-22 | Deprecate and rework old (fd) centric functions. | Samuel Williams | |
Notes: Merged: https://github.com/ruby/ruby/pull/4592 | |||
2021-06-10 | Freeze command line script | Nobuyoshi Nakada | |
2021-05-04 | Fix trivial -Wundef warnings | Benoit Daloze | |
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4428 | |||
2021-03-24 | Removed dln_a_out | Nobuyoshi Nakada | |
a.out format is considered extinct nowadays. Notes: Merged: https://github.com/ruby/ruby/pull/4317 Merged-By: nobu <nobu@ruby-lang.org> | |||
2021-03-17 | [Feature #17684] Declare --disable-gems is for debugging | NARUSE, Yui | |
2021-03-12 | Constified variables for getenv | Nobuyoshi Nakada | |
2021-03-06 | Keep libpath length non-negative [Bug #16784] | Yusuke Endoh | |
When runtime_libruby_path does not include '/', it attempts to call rb_str_resize with negative length. This change makes sure that the length non-negative. Co-Authored-By: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com> | |||
2021-02-20 | Fixed fallback ENABLE_VIRTUAL_TERMINAL_PROCESSING value [Bug #17639] | YO4 (Yoshinao Muramatsu) | |
2021-01-24 | Moved --verbose, --verbose and --help options to last [ci skip] | Nobuyoshi Nakada | |
2021-01-13 | Make warning values consistent [Bug #17523] | Nobuyoshi Nakada | |
They should be affected, as well as `$VERBOSE`, by `-w`/`-W` options, not only in the main script but in scripts loaded by `-r` option too. Notes: Merged: https://github.com/ruby/ruby/pull/4042 | |||
2020-12-26 | Ignore failure on unsupported fcntl to drop non-blocking mode | Nobuyoshi Nakada | |
Fixes https://github.com/ruby/ruby/pull/3723 Notes: Merged: https://github.com/ruby/ruby/pull/4000 |