summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-11-28[ruby/irb] Version 1.5.1Takashi Kokubun
https://github.com/ruby/irb/commit/f9507923fa
2022-11-28[ruby/irb] Fix the debug.gem force-loader for Ruby 3.2Takashi Kokubun
(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[ruby/optparse] Add `raise_unknown` flagNobuyoshi Nakada
(https://github.com/ruby/optparse/pull/38) https://github.com/ruby/optparse/commit/12529653cd
2022-11-28[ruby/syntax_suggest] v1.0.0schneems
https://github.com/ruby/syntax_suggest/commit/f142fcbf96
2022-11-28[ruby/syntax_suggest] Do not output "Syntax OK" when there's an errorschneems
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 https://github.com/ruby/syntax_suggest/commit/d7bd8f03a2
2022-11-28Revert "MJIT: Make it parsable by Solargraph"Takashi Kokubun
This reverts commit ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767. Revert "MJIT: Fix miniruby with MJIT_FORCE_ENABLE" This reverts commit b033775ed9d9226ba73c1d4a197e55ba89575142. GitHub Actions is failing. I ran out of time today to investigate it. will try it again tomorrow.
2022-11-27MJIT: Make it parsable by SolargraphTakashi Kokubun
2022-11-27MJIT: Do not document a dynamic type [ci skip]Takashi Kokubun
Solargraph complains about it
2022-11-27MJIT: Get rid of C.fprintfTakashi Kokubun
Faster code generation and cleaner code.
2022-11-27MJIT: Refactor invokebuiltin_delegate_leaveTakashi Kokubun
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-27MJIT: Use a String buffer in builtin compilersTakashi Kokubun
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-28[ruby/cgi] Bump up 0.3.6Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/827b7d43cc
2022-11-28[ruby/rdoc] Add `--no-skipping-tests` optionSven Riedel
https://github.com/ruby/rdoc/commit/33925f885f
2022-11-28[ruby/cgi] Loosen the domain regex to accept '.'Xenor Chang
(https://github.com/ruby/cgi/pull/29) * Loosen the domain regex to accept '.' Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> https://github.com/ruby/cgi/commit/5e09d632f3 Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
2022-11-28[ruby/cgi] Prepare to release 0.3.6Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/710a647855
2022-11-27MJIT: Move some private declarationsTakashi Kokubun
and clean up legacy comments for the Ruby migration
2022-11-27[ruby/rdoc] Revert "Refactor `RDoc::Markup::Parser#tokenize`"Nobuyoshi Nakada
This reverts commit https://github.com/ruby/rdoc/commit/41ceae93b3bc. https://github.com/ruby/rdoc/commit/5d2c47e8b8
2022-11-27[ruby/rdoc] Refactor `RDoc::Markup::Parser#tokenize`Nobuyoshi Nakada
Make verbatims text or newline only, and simplify `build_verbatim`. https://github.com/ruby/rdoc/commit/41ceae93b3
2022-11-27[ruby/rdoc] Darkfish: group method call-seq in div.method-headernick evans
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. https://github.com/ruby/rdoc/commit/5db4bce01e
2022-11-27[ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headingsnick evans
This uses `<details><summary>heading</summary><ul>nested</ul></detail>`, similar to how the classes and pages lists are now nested. https://github.com/ruby/rdoc/commit/e57beff287
2022-11-27[ruby/rdoc] Refine regexp usages and reduce substring allocationsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/a976fb9d39
2022-11-27[ruby/rdoc] Pull up handle_tab_width to RDoc::ParserNobuyoshi Nakada
To share with the duplicate code in RDoc::Parser::Ruby#initialize. https://github.com/ruby/rdoc/commit/27829ac119
2022-11-27[ruby/erb] Version 4.0.1Takashi Kokubun
https://github.com/ruby/erb/commit/3bb67009dd
2022-11-27[ruby/erb] Skip using the extension for truffleruby as wellTakashi Kokubun
(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 https://github.com/ruby/erb/commit/acc1e0c0ffaf. * Use resolve_feature_path with LoadError guard https://github.com/ruby/erb/commit/85dcb08439
2022-11-27[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeaderBurdette Lamar
https://github.com/ruby/net-http/commit/77c6878970
2022-11-26MJIT: Remove a duplicated rescueTakashi Kokubun
`#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[ruby/erb] Version 4.0.0Takashi Kokubun
https://github.com/ruby/erb/commit/2809a54d88
2022-11-26[ruby/erb] Define ERB::Escape moduleTakashi Kokubun
(https://github.com/ruby/erb/pull/38) Close #32
2022-11-25MJIT: Refactor source_shape_id extractionTakashi Kokubun
I'm not comfortable indenting code that deeply.
2022-11-25MJIT: Remove obsoleted variableTakashi Kokubun
no longer used after 4ea9d7d7c223ff92365c4a013fc1bd073d67a3a5
2022-11-25MJIT: Remove the code to optimize shape transitionTakashi Kokubun
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[ruby/erb] Keep ERB::Util#html_escape privateTakashi Kokubun
ERB::Util.html_escape has been public, but ERB::Util#html_escape had been private. https://github.com/ruby/erb/commit/e62210bf56
2022-11-25[ruby/fileutils] [Feature #18925] Add `ln_sr` method and `relative:` option ↵Nobuyoshi Nakada
to `ln_s` https://github.com/ruby/fileutils/commit/5116088d5c
2022-11-24[ruby/erb] Allow requiring erb/escape.so aloneTakashi Kokubun
(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[ruby/erb] Split erb.rb into files for each module under ERBTakashi Kokubun
(https://github.com/ruby/erb/pull/36) https://github.com/ruby/erb/commit/f74833cc07
2022-11-24[ruby/erb] Rename erb.so to erb/escape.soTakashi Kokubun
(https://github.com/ruby/erb/pull/35) https://github.com/ruby/erb/commit/1280046952
2022-11-23[ruby/net-http] Enhanced RDoc for Net::HTTPHeaderBurdetteLamar
https://github.com/ruby/net-http/commit/86b0514239
2022-11-23[ruby/net-http] Enhanced RDoc for Net::HTTPHeaderBurdetteLamar
https://github.com/ruby/net-http/commit/ef0ef53b0c
2022-11-23[ruby/net-http] Enhanced RDoc for Net::HTTPHeaderBurdetteLamar
https://github.com/ruby/net-http/commit/0af9fb94a9
2022-11-23[ruby/net-http] Enhanced RDoc for Net::HTTPHeaderBurdetteLamar
https://github.com/ruby/net-http/commit/995ff356b4
2022-11-23[ruby/net-http] Enhanced RDoc for Net::HTTPHeaderBurdetteLamar
https://github.com/ruby/net-http/commit/e924f1205b
2022-11-22[ruby/cgi] Bump up 0.3.5Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/daf88c2a75
2022-11-22[ruby/cgi] Relax domain label restrictionsNobuyoshi Nakada
https://github.com/ruby/cgi/commit/b46d41c363
2022-11-22[ruby/cgi] Bump up 0.3.4Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/3649a27bf4
2022-11-22[ruby/cgi] Prevent CRLF injectionYusuke Endoh
Throw a RuntimeError if the HTTP response header contains CR or LF to prevent HTTP response splitting. https://hackerone.com/reports/1204695 https://github.com/ruby/cgi/commit/64c5045c0a
2022-11-22[ruby/cgi] Check cookie name/path/domain charactersNobuyoshi Nakada
https://hackerone.com/reports/1204977 https://github.com/ruby/cgi/commit/30107a4797
2022-11-21Use class methods of `File` over `Kernel.open` and `IO.read`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6777
2022-11-21[ruby/un] Use class methods of `File` over `Kernel.open`Nobuyoshi Nakada
https://github.com/ruby/un/commit/13bdd766fe
2022-11-21[ruby/optparse] Use class methods of `File` over `IO`Nobuyoshi Nakada
https://github.com/ruby/optparse/commit/ab5073e4d8
2022-11-21[ruby/irb] Add commands to start and use the debuggerTakashi Kokubun
(https://github.com/ruby/irb/pull/449) * Seamlessly integrate a few debug commands * Improve the break command support * Utilize skip_src option if available * Add step and delete commands * Write end-to-end tests for each debugger command * Add documentation * Add backtrace, info, catch commands https://github.com/ruby/irb/commit/976100c1c2