Takashi Kokubun
8a0acbea4c
MJIT: Refactor CDHASH handling
...
Converting a CDHASH into a safe Hash is a lot of work, but retrieving
just values is much easier.
2022-11-29 00:12:33 -08:00
Takashi Kokubun
2329cbeb5b
MJIT: Merge exivar guards as well
...
obviating status->merge_ivar_guards_p as refactoring
2022-11-28 23:32:27 -08:00
Takashi Kokubun
bb6f933d51
MJIT: Get rid of is_entries copy
...
MJIT worker no longer exists, so we don't need this safeguard anymore.
2022-11-28 22:03:16 -08:00
Takashi Kokubun
9c13fc614c
MJIT: Make it parsable by Solargraph ( #6827 )
...
* Revert "Revert "MJIT: Make it parsable by Solargraph""
This reverts commit 8e18761da1
.
* Call rb_gc_register_mark_object
2022-11-28 21:33:55 -08:00
Takashi Kokubun
4f8c6711dd
[ruby/erb] Version 4.0.2
...
8c8ff1551b
2022-11-29 04:58:29 +00:00
Takashi Kokubun
129d208f9a
[ruby/erb] Fix line numbers after multi-line <%#
...
(https://github.com/ruby/erb/pull/42 )
526885923e
2022-11-29 04:56:03 +00:00
Burdette Lamar
ee49fe5d34
[ruby/net-http] Enhanced RDoc for header Range
...
(https://github.com/ruby/net-http/pull/82 )
a26f62a2e5
2022-11-28 23:33:15 +00:00
moenodedev
579c8cb01c
[rubygems/rubygems] Remove pointer to RVM documentation
...
7467019d87
2022-11-28 23:20:59 +00:00
Takashi Kokubun
d13de3a62e
[ruby/irb] Version 1.5.1
...
f9507923fa
2022-11-28 18:44:36 +00:00
Takashi Kokubun
c5279db75f
[ruby/irb] Fix the debug.gem force-loader for Ruby 3.2
...
(https://github.com/ruby/irb/pull/458 )
* Fix the debug.gem force-loader for Ruby 3.2
* Support 1.7.0dev format as well
2022-11-28 18:42:59 +00:00
Nobuyoshi Nakada
0bfb185654
[ruby/optparse] Add raise_unknown
flag
...
(https://github.com/ruby/optparse/pull/38 )
12529653cd
2022-11-28 14:24:06 +00:00
schneems
476700c06f
[ruby/syntax_suggest] v1.0.0
...
f142fcbf96
2022-11-28 20:55:42 +09:00
schneems
f64ba0fadd
[ruby/syntax_suggest] Do not output "Syntax OK" when there's an error
...
Due to a problem with ripper we do not recognize `break` as invalid code. It's confusing that "Syntax OK" is output in that case.
When there's no syntax error, the algorithm should not say anything. The exception is in the CLI and that's for compatibility with `ruby -wc`
```
$ cat /tmp/break.rb
break
⛄ ️ 3.1.2 🚀 /Users/rschneeman/Documents/projects/syntax_suggest (schneems/no-syntax-not-okay-break)
$ ruby -wc /tmp/break.rb
Syntax OK
```
> Note that this is invalid, running this code will raise a Syntax error.
```
$ exe/syntax_suggest /tmp/break.rb
Syntax OK
```
Close https://github.com/ruby/syntax_suggest/pull/157
d7bd8f03a2
2022-11-28 20:55:41 +09:00
Takashi Kokubun
8e18761da1
Revert "MJIT: Make it parsable by Solargraph"
...
This reverts commit ccd8dd6ad3
.
Revert "MJIT: Fix miniruby with MJIT_FORCE_ENABLE"
This reverts commit b033775ed9
.
GitHub Actions is failing. I ran out of time today to investigate it.
will try it again tomorrow.
2022-11-28 00:13:23 -08:00
Takashi Kokubun
ccd8dd6ad3
MJIT: Make it parsable by Solargraph
2022-11-27 23:46:59 -08:00
Takashi Kokubun
fb599523cd
MJIT: Do not document a dynamic type [ci skip]
...
Solargraph complains about it
2022-11-27 23:29:44 -08:00
Takashi Kokubun
2c1c0d3df0
MJIT: Get rid of C.fprintf
...
Faster code generation and cleaner code.
2022-11-27 22:47:46 -08:00
Takashi Kokubun
a22c684c59
MJIT: Refactor invokebuiltin_delegate_leave
...
You shouldn't assume bf->compiler is always non-zero. While struct
aref/aset is no longer a builtin function since
https://github.com/ruby/ruby/pull/5131 , it seems like you could still
load such an iseq binary.
The refactored code fallbacks to compile_insn_default correctly when
bf->compiler is zero.
2022-11-27 21:44:28 -08:00
Takashi Kokubun
6844bcc6b4
MJIT: Use a String buffer in builtin compilers
...
instead of FILE*.
Using C.fprintf is slower than String manipulation on memory. I'm going
to change the way MJIT writes files, and this is a prerequisite for it.
2022-11-27 21:11:33 -08:00
Hiroshi SHIBATA
b335d899ff
[ruby/cgi] Bump up 0.3.6
...
827b7d43cc
2022-11-28 04:40:26 +00:00
Sven Riedel
e0901f46b7
[ruby/rdoc] Add --no-skipping-tests
option
...
33925f885f
2022-11-28 04:36:29 +00:00
Xenor Chang
745dcf5326
[ruby/cgi] Loosen the domain regex to accept '.'
...
(https://github.com/ruby/cgi/pull/29 )
* Loosen the domain regex to accept '.'
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
5e09d632f3
Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
2022-11-28 04:34:11 +00:00
Hiroshi SHIBATA
98074a57ca
[ruby/cgi] Prepare to release 0.3.6
...
710a647855
2022-11-28 03:34:42 +00:00
Takashi Kokubun
e3de723043
MJIT: Move some private declarations
...
and clean up legacy comments for the Ruby migration
2022-11-27 14:50:20 -08:00
Nobuyoshi Nakada
5b1db79129
[ruby/rdoc] Revert "Refactor RDoc::Markup::Parser#tokenize
"
...
This reverts commit 41ceae93b3
.
5d2c47e8b8
2022-11-27 19:46:12 +00:00
Nobuyoshi Nakada
21977b95e2
[ruby/rdoc] Refactor RDoc::Markup::Parser#tokenize
...
Make verbatims text or newline only, and simplify `build_verbatim`.
41ceae93b3
2022-11-27 17:24:38 +00:00
nick evans
29862ce273
[ruby/rdoc] Darkfish: group method call-seq in div.method-header
...
This way, custom CSS styles can be easily applied to the entire method
header at once. Otherwise, it can be tricky to make a border that goes
around the entire set of method call-seq, but not the method
description.
5db4bce01e
2022-11-27 17:24:17 +00:00
nick evans
ae3817bc61
[ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headings
...
This uses `<details><summary>heading</summary><ul>nested</ul></detail>`,
similar to how the classes and pages lists are now nested.
e57beff287
2022-11-27 17:18:16 +00:00
Nobuyoshi Nakada
511864d1a7
[ruby/rdoc] Refine regexp usages and reduce substring allocations
...
a976fb9d39
2022-11-27 16:35:08 +00:00
Nobuyoshi Nakada
1b67c58f41
[ruby/rdoc] Pull up handle_tab_width to RDoc::Parser
...
To share with the duplicate code in RDoc::Parser::Ruby#initialize.
27829ac119
2022-11-27 16:35:07 +00:00
Takashi Kokubun
6fdc677186
[ruby/erb] Version 4.0.1
...
3bb67009dd
2022-11-27 06:32:58 +00:00
Takashi Kokubun
d2c62426e5
[ruby/erb] Skip using the extension for truffleruby as well
...
(https://github.com/ruby/erb/pull/39 )
* Skip using the extension for truffleruby as well
* Just skip building the C extension for TruffleRuby
* Skip rake compile for truffleruby
* Use resolve_feature_path
* Revert "Use resolve_feature_path"
This reverts commit acc1e0c0ff
.
* Use resolve_feature_path with LoadError guard
85dcb08439
2022-11-27 06:30:48 +00:00
Burdette Lamar
b55da1cd97
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeader
...
77c6878970
2022-11-27 00:21:49 +00:00
Takashi Kokubun
73e42ef856
MJIT: Remove a duplicated rescue
...
`#compile` has a catch-call rescue, so compile_insn_entry shouldn't do
that. It was a temporary code needed during the migration.
2022-11-26 15:39:53 -08:00
Takashi Kokubun
534bac04e7
[ruby/erb] Version 4.0.0
...
2809a54d88
2022-11-26 06:05:23 +00:00
Takashi Kokubun
574896a0ce
[ruby/erb] Define ERB::Escape module
...
(https://github.com/ruby/erb/pull/38 )
Close #32
2022-11-26 05:32:25 +00:00
Takashi Kokubun
3c16f33ffd
MJIT: Refactor source_shape_id extraction
...
I'm not comfortable indenting code that deeply.
2022-11-25 15:27:27 -08:00
Takashi Kokubun
89a98ee1e1
MJIT: Remove obsoleted variable
...
no longer used after 4ea9d7d7c2
2022-11-25 15:23:43 -08:00
Takashi Kokubun
4ea9d7d7c2
MJIT: Remove the code to optimize shape transition
...
because this code crashes on railsbench. I'll try adding a repro for it
later, but I don't know shapes enough to craft it right away.
2022-11-25 15:18:34 -08:00
Takashi Kokubun
addb1cbbfd
[ruby/erb] Keep ERB::Util#html_escape private
...
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.
e62210bf56
2022-11-25 08:54:18 +00:00
Nobuyoshi Nakada
c6330cd32b
[ruby/fileutils] [Feature #18925 ] Add ln_sr
method and relative:
option to ln_s
...
5116088d5c
2022-11-25 01:03:57 +00:00
Takashi Kokubun
bcdfe12919
[ruby/erb] Allow requiring erb/escape.so alone
...
(https://github.com/ruby/erb/pull/37 )
Prior to this commit, requiring erb/escape first and then requiring erb
did not work as expected.
2022-11-24 23:49:15 +00:00
Takashi Kokubun
8ac4081aa8
[ruby/erb] Split erb.rb into files for each module under ERB
...
(https://github.com/ruby/erb/pull/36 )
f74833cc07
2022-11-24 23:40:53 +00:00
Takashi Kokubun
c480f589c2
[ruby/erb] Rename erb.so to erb/escape.so
...
(https://github.com/ruby/erb/pull/35 )
1280046952
2022-11-24 23:22:00 +00:00
BurdetteLamar
5ee947314e
[ruby/net-http] Enhanced RDoc for Net::HTTPHeader
...
86b0514239
2022-11-23 17:12:35 +00:00
BurdetteLamar
4b32ed6e33
[ruby/net-http] Enhanced RDoc for Net::HTTPHeader
...
ef0ef53b0c
2022-11-23 17:12:34 +00:00
BurdetteLamar
79a9280aa5
[ruby/net-http] Enhanced RDoc for Net::HTTPHeader
...
0af9fb94a9
2022-11-23 17:12:33 +00:00
BurdetteLamar
c6dc126641
[ruby/net-http] Enhanced RDoc for Net::HTTPHeader
...
995ff356b4
2022-11-23 17:12:33 +00:00
BurdetteLamar
66be0922b7
[ruby/net-http] Enhanced RDoc for Net::HTTPHeader
...
e924f1205b
2022-11-23 17:12:32 +00:00
Hiroshi SHIBATA
805d70f716
[ruby/cgi] Bump up 0.3.5
...
daf88c2a75
2022-11-22 02:12:50 +00:00