summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-12-05[ruby/optparse] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/optparse/commit/c80dfb1ebd
2022-12-05[ruby/open-uri] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/open-uri/commit/783892ebb0
2022-12-05[ruby/net-protocol] Bump version to 0.2.0Hiroshi SHIBATA
https://github.com/ruby/net-protocol/commit/3097bb4cc3
2022-12-05[ruby/net-http] Bump version to 0.3.1Hiroshi SHIBATA
https://github.com/ruby/net-http/commit/09a9ea163a
2022-12-05[ruby/mutex_m] Bump version to 0.1.2Hiroshi SHIBATA
https://github.com/ruby/mutex_m/commit/57f23978cd
2022-12-05[ruby/logger] Bump version to 1.5.2Hiroshi SHIBATA
https://github.com/ruby/logger/commit/9c4ae3b81d
2022-12-05[ruby/ipaddr] Bump version to 1.2.5Hiroshi SHIBATA
https://github.com/ruby/ipaddr/commit/d92acb3982
2022-12-05[ruby/getoptlong] Bump version to 0.2.0Hiroshi SHIBATA
https://github.com/ruby/getoptlong/commit/71fbf2123f
2022-12-05[ruby/forwardable] Bump version to 1.3.3Hiroshi SHIBATA
https://github.com/ruby/forwardable/commit/301687dbfa
2022-12-05[ruby/fileutils] Bump version to 1.7.0Hiroshi SHIBATA
https://github.com/ruby/fileutils/commit/213e6a3d1f
2022-12-05[ruby/drb] Bump version to 2.1.1Hiroshi SHIBATA
https://github.com/ruby/drb/commit/7c2d56e9f3
2022-12-05[ruby/delegate] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/delegate/commit/420637be45
2022-12-05[ruby/benchmark] Bump version to 0.2.1Hiroshi SHIBATA
https://github.com/ruby/benchmark/commit/303ac8f28b
2022-12-05[ruby/rdoc] Bump version to 6.4.0Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/c5e7ee03ac
2022-12-05[ruby/racc] Bump version to 1.6.1Hiroshi SHIBATA
https://github.com/ruby/racc/commit/1768ed252f
2022-12-05[ruby/reline] Remove unapproved color setting APIsStan Lo
These APIs/configs are not approved by the Ruby core, so they can't be released to the public. This means having them in the codebase will block other fixes/features from being released as well. So this commit removes those exposed interfaces to unblock the release. Hopefully when https://bugs.ruby-lang.org/issues/18996 is approved we can re-implement better APIs. https://github.com/ruby/reline/commit/f7a961c550
2022-12-04[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPBurdette Lamar
(https://github.com/ruby/net-http/pull/84) https://github.com/ruby/net-http/commit/660046386f
2022-12-02[rubygems/rubygems] Delete partial file and re-raise on Errno::ENOSPC.Ellen Marie Dash
Add test for not leaving empty files if ENOSPC is raised during 'gem install' https://github.com/rubygems/rubygems/commit/8e0e20f079
2022-12-02[ruby/reline] Fix misuse of kwarg in IO#rawHASUMI Hitoshi
- Obviously, `tim` is a typo for `time` - This didn't cause an exception because IO#raw is implemented in C and it doesn't check the keyword of the parameters - Though this typo doesn't produce any problems for now, I think it should be fixed just in case for the future - I've used this fixed version of Reline with IRB for several days and didn't find any new problems due to the fix - But I myself am not sure how to make sure this fix is completely robust https://github.com/ruby/reline/commit/e66a9696a1
2022-12-02[rubygems/rubygems] require bundler/setup only when Bundler is not definedYusuke Endoh
... to prevent "circular require" when `--disable-gems` is used. This is a simplified case of https://github.com/ruby/ruby/commit/e5a0abc5dedfd011986b16e8f8cf5cda476984c9 ``` $ bundle exec ruby -we 'system("ruby", "-w", "--disable-gems", "-e", "")' <internal:/home/mame/work/ruby/local/lib/ruby/3.2.0+3/rubygems/core_ext/kernel_require.rb>:85: warning: <internal:/home/mame/work/ruby/local/lib/ruby/3.2.0+3/rubygems/core_ext/kernel_require.rb>:85: warning: loading in progress, circular require considered harmful - /home/mame/work/ruby/local/lib/ruby/3.2.0+3/bundler/setup.rb ``` When bundler/setup is require'ed under --disable-gems mode, it loads rubygems by `require "rubygems" unless defined?(Gem)` in https://github.com/rubygems/rubygems/blob/0b1f682a6d65e57b86ba4853cba23cac361c769d/bundler/lib/bundler/rubygems_integration.rb#L3 In this case, require'ing bundler/setup from rubygems.rb is circular. This change makes rubygems.rb to require "bundler/setup" only when `Bundler` is not defined. https://github.com/rubygems/rubygems/commit/b4608dee5e
2022-12-02[ruby/syntax_suggest] Add temp support for 3.2.0-preview{3,2,1}schneems
This SyntaxError#path feature only exists in Ruby HEAD. Until it is released in a preview I want to continue to support existing releases of 3.2.0 (and also so CI will continue to work, as it still uses a preview version to execute tests). https://github.com/ruby/syntax_suggest/commit/9862032465
2022-12-02[ruby/syntax_suggest] No longer need PathnameFromMessage with SyntaxError#path.Hiroshi SHIBATA
https://bugs.ruby-lang.org/issues/19138 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> https://github.com/ruby/syntax_suggest/commit/8e1e7b3298
2022-12-01[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeaderBurdette Lamar
(https://github.com/ruby/net-http/pull/83) https://github.com/ruby/net-http/commit/1ea5004098
2022-12-01[ruby/delegate] Revert "Fix `DelegateClass` block "method redefined" warning"Nobuyoshi Nakada
https://github.com/ruby/delegate/commit/2a91436284
2022-12-01[ruby/rdoc] Fix `=end` delimiterNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/e1679fa7e4 Notes: Merged: https://github.com/ruby/ruby/pull/6835
2022-12-01[ruby/rdoc] Non-RD part feature has not been imported to RDocNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/fe0159de2f Notes: Merged: https://github.com/ruby/ruby/pull/6835
2022-12-01[ruby/rdoc] Use TempfileNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/0b9dde5ab4 Notes: Merged: https://github.com/ruby/ruby/pull/6835
2022-11-30[ruby/irb] Use class methods of `File` over `Kernel.open`Nobuyoshi Nakada
https://github.com/ruby/irb/commit/e0ec5e1bd8
2022-11-30[ruby/un] wait_writable: close opened fileNobuyoshi Nakada
https://github.com/ruby/un/commit/b08aeb9c48
2022-11-29MJIT: Revert FL_EXIVAR check optimizationTakashi Kokubun
It seems to slow down optcarrot. I'll revisit this later.
2022-11-30[ruby/irb] Make sure ls doesn't return an arrayTakashi Kokubun
(https://github.com/ruby/irb/pull/461) https://github.com/ruby/irb/commit/367797bb05
2022-11-30Update SyntaxSuggest to use angle brackets `>`schneems
``` $ ruby tool/sync_default_gems.rb syntax_suggest Sync ruby/syntax_suggest ``` https://github.com/ruby/syntax_suggest/pull/161 Notes: Merged: https://github.com/ruby/ruby/pull/6831
2022-11-29MJIT: Refactor CDHASH handlingTakashi Kokubun
Converting a CDHASH into a safe Hash is a lot of work, but retrieving just values is much easier.
2022-11-28MJIT: Merge exivar guards as wellTakashi Kokubun
obviating status->merge_ivar_guards_p as refactoring
2022-11-28MJIT: Get rid of is_entries copyTakashi Kokubun
MJIT worker no longer exists, so we don't need this safeguard anymore.
2022-11-28MJIT: Make it parsable by Solargraph (#6827)Takashi Kokubun
* Revert "Revert "MJIT: Make it parsable by Solargraph"" This reverts commit 8e18761da1932df88bfb6505acbda4740e1b2930. * Call rb_gc_register_mark_object Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-11-29[ruby/erb] Version 4.0.2Takashi Kokubun
https://github.com/ruby/erb/commit/8c8ff1551b
2022-11-29[ruby/erb] Fix line numbers after multi-line <%#Takashi Kokubun
(https://github.com/ruby/erb/pull/42) https://github.com/ruby/erb/commit/526885923e
2022-11-28[ruby/net-http] Enhanced RDoc for header RangeBurdette Lamar
(https://github.com/ruby/net-http/pull/82) https://github.com/ruby/net-http/commit/a26f62a2e5
2022-11-28[rubygems/rubygems] Remove pointer to RVM documentationmoenodedev
https://github.com/rubygems/rubygems/commit/7467019d87
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.