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

118 Коммитов

Автор SHA1 Сообщение Дата
Kazuhiro NISHIYAMA 80bd9c64aa
Revert wrong sync in 9aa18f61f2 [ci skip] 2022-12-06 11:18:59 +09:00
Stan Lo 9aa18f61f2 [ruby/irb] Allow disabling autocompletion with
`IRB_USE_AUTOCOMPLETE=false`
(https://github.com/ruby/irb/pull/469)

* Allow using IRB_USE_AUTOCOMPLETE=false to disable autocompletion

Currently, the only 2 ways to disable autocompletion are:

1. Create `.irbrc` and set `IRB.conf[:USE_AUTOCOMPLETE] = false`
2. Add the `--noautocomplete` flag when using the `irb` executable

Both of them are less convenient than setting a env var and are
lesser known to devs.

And given the number of problems the autocompletion has (see #445), I
think we should allow disabling it with a simple `IRB_USE_AUTOCOMPLETE=false`.

* Mention some env var configs in the README
2022-12-06 00:53:32 +00:00
Takashi Kokubun bbc4cf5f76
Revert wrong sync in 5958c305e5 [ci skip]
sync_default_gems.rb sometimes syncs too much.
2022-11-20 14:22:41 -08:00
Stan Lo 180ed611b2 [ruby/irb] Add edit command (https://github.com/ruby/irb/pull/453)
* Add edit command

* Make find_source a public singleton method

* Add document for the edit command

* Make find_end private

* Remove duplicated private

https://github.com/ruby/irb/commit/4321674aa7
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2022-11-20 04:47:54 +00:00
Takashi Kokubun 5958c305e5 [ruby/irb] Document a full list of commands
(https://github.com/ruby/irb/pull/451)

* Document a full list of commands

* Document debug as well

* Make it less duplicated
2022-11-19 22:14:44 +00:00
NARUSE, Yui d66b29ccfb Add link to how to build Ruby 2022-09-14 17:30:10 +09:00
Alexander Ilyin 6a6531d3e0 Update "Reporting Issues" link in the README
This link is broken.
2022-06-08 17:49:56 +09:00
Hiroshi SHIBATA ee3b61a44f
Removed subversion section because there is no active branch for svn. 2022-05-19 15:48:28 +09:00
git 14ae97ded3 * remove trailing spaces. [ci skip] 2022-05-13 04:20:03 +09:00
Stan Lo a6ce73efec Add documentation section to README 2022-05-12 15:19:51 -04:00
Jemma Issroff c00feffb46 Improve documentation on contributing to Ruby
co-authored-by: Peter Zhu <peter@peterzhu.ca>
co-authored-by: Stan Lo <stan001212@gmail.com>
2022-05-11 10:59:24 -04:00
Nobuyoshi Nakada fada4d24f9
[DOC] adjust indent 2022-04-19 14:01:08 +09:00
Tim Smith 810b9c344a Resolve several markedown warnings
- Spaces before and after blocks.
- Single spaces after sentences everywhere

Signed-off-by: Tim Smith <tsmith@mondoo.com>
2022-04-19 08:32:37 +09:00
Nick Roma d6238007bf Fixes grammar 2022-04-18 09:18:23 +09:00
Nobuyoshi Nakada d7ef372c95 Remove the macOS badge [ci skip]
It is disabled for the throughput of CI for now.
2021-12-11 23:05:16 +09:00
Alan Wu 62957debd5 README.md: Fix link to platform maintainers list
Follow up for 6bca410ae8
[ci skip]
2021-12-04 13:04:57 -05:00
Jeremy Evans 2898805535 Use rdoc-ref to fix a few links in the README
This may break linking on GitHub, but it's more important for the
links to work in the documentation generated by rdoc.

Fixes [Bug #14743]
2021-10-30 10:15:40 +09:00
Noah Gibbs 4fc20a8c91 Move Ruby's README back where it was 2021-10-20 18:19:42 -04:00
Noah Gibbs 3dd4abfcd0 Move YJIT's README into doc/yjit/yjit.md 2021-10-20 18:19:42 -04:00
Noah Gibbs d4a75dd976 Add a YJIT hacking doc with some internals; change the README text a bit to reflect its current condition 2021-10-20 18:19:42 -04:00
Maxime Chevalier-Boisvert 6055078b24 Update README.md 2021-10-20 18:19:41 -04:00
Maxime Chevalier-Boisvert e04c3af522 Update README.md 2021-10-20 18:19:41 -04:00
Maxime Chevalier-Boisvert 9fff8fdb59 Update suggested ./configure in README 2021-10-20 18:19:40 -04:00
Benson Muite 6e1f2519cc Info for Fedora and choosing C compiler 2021-10-20 18:19:40 -04:00
Maxime Chevalier-Boisvert 9bd6ce4745 Update README.md 2021-10-20 18:19:40 -04:00
Ufuk Kayserilioglu 2c93ef7ab3 Add YJIT logo
Adding YJIT logo with a link to https://yjit.org
2021-10-20 18:19:39 -04:00
Alan Wu bd876c243a TracePoint support
This change fixes some cases where YJIT fails to fire tracing events.
Most of the situations YJIT did not handle correctly involves enabling
tracing while running inside generated code.

A new operation to invalidate all generated code is added, which uses
patching to make generated code exit at the next VM instruction
boundary. A new routine called `jit_prepare_routine_call()` is
introduced to facilitate this and should be used when generating code
that could allocate, or could otherwise use `RB_VM_LOCK_ENTER()`.

The `c_return` event is fired in the middle of an instruction as opposed
to at an instruction boundary, so it requires special handling. C method
call return points are patched to go to a fucntion which does everything
the interpreter does, including firing the `c_return` event. The
generated code for C method calls normally does not fire the event.

Invalided code should not change after patching so the exits are not
clobbered. A new variable is introduced to track the region of code that
should not change.
2021-10-20 18:19:39 -04:00
Maxime Chevalier-Boisvert 7f2828d1c8 Update README 2021-10-20 18:19:39 -04:00
Mike Dalessio 918668b4a9 update README with correct repository URL 2021-10-20 18:19:39 -04:00
Maxime Chevalier-Boisvert 27681f2694 It's RUN_OPTS, not RUNOPTS!!! via @tenderlove 2021-10-20 18:19:37 -04:00
Maxime Chevalier-Boisvert 7030cae969 Try running with more YJIT options in CI to surface more bugs 2021-10-20 18:19:36 -04:00
Maxime Chevalier-Boisvert 9a55fd37c9 Update README.md 2021-10-20 18:19:35 -04:00
Maxime Chevalier-Boisvert 43acb9d7f0 Update README.md 2021-10-20 18:19:35 -04:00
Alan Wu cdc9cb6e97 Stylize macOS correctly
Yes, it's all very confusing.
2021-10-20 18:19:35 -04:00
Maxime Chevalier-Boisvert 7dc497e158 Update README.md 2021-10-20 18:19:35 -04:00
Maxime Chevalier-Boisvert b1fab663eb Update README.md 2021-10-20 18:19:35 -04:00
Maxime Chevalier-Boisvert b415ceb92e Increase default YJIT call threshold to 10. Add exec mem size arg. (#52) 2021-10-20 18:19:35 -04:00
Maxime Chevalier-Boisvert 844067f7ee Update README.md 2021-10-20 18:19:35 -04:00
John Hawthorn 6ecb007f6e Recommend installing libcapstone 2021-10-20 18:19:35 -04:00
Maxime Chevalier-Boisvert 7ce6d1f0c2 Update README.md 2021-10-20 18:19:35 -04:00
Maxime Chevalier-Boisvert 6c793a2fed Update README.md 2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert 4f24f3afc7 Update README.md 2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert ad601cef8a Update README.md
Add section documenting command-line arguments
2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert cfaf601303 Update README.md 2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert 34dcd0b3e6 Update README.md 2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert 8bd3e5015b Update README.md 2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert 96f4f918b0 Implement greedy versioning. Refactor versioning logic. (#10)
* Implement eager versioning. Refactor versioning logic.

* Add --version-limit and --greedy-versioning command-line args
2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert 60496b6666 Pass self type through method calls 2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert 10217d147c Rename YJIT readme to README.md 2021-10-20 18:19:34 -04:00
Maxime Chevalier-Boisvert 51e46eac5f Rename Ruby README to README_ruby.md 2021-10-20 18:19:33 -04:00