summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-31[rubygems/rubygems] Remove unnecessary exceptionDavid Rodríguez
If we have succeeded to materialize the bundle, all specs should be loaded. https://github.com/rubygems/rubygems/commit/bd3712d824 Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Show all missing gems when using a bundle before ↵David Rodríguez
installing it Not only the first one that's missing. This also allows us to simplify things. https://github.com/rubygems/rubygems/commit/69718a9509 Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Small refactor by DRYing up some logicDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c7e3c092e1 Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Move rescue block around the code that can raise itDavid Rodríguez
https://github.com/rubygems/rubygems/commit/310937a546 Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Remove unnecessary checkDavid Rodríguez
This error can only be raised when loading the cache, and we only load the cache if this condition is met. https://github.com/rubygems/rubygems/commit/86d692edb8 Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Let original exception be re-raisedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/a669401a5a Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31Exit with the syncing status [ci skip]Nobuyoshi Nakada
2021-08-31Omit some tests until debugging is completeaycabta
2021-08-31Remove no longer used variable line_nodeNobuyoshi Nakada
2021-08-31Extract compile_block from iseq_compile_each0Nobuyoshi Nakada
And constify `node` argument of `iseq_compile_each0`.
2021-08-31[ruby/irb] Version 1.3.8.pre.5aycabta
https://github.com/ruby/irb/commit/968422799c
2021-08-31[ruby/irb] Update dependency, reline >= 0.2.8.pre.5aycabta
https://github.com/ruby/irb/commit/657bd3fd12
2021-08-31[ruby/reline] Version 0.2.8.pre.5aycabta
https://github.com/ruby/reline/commit/79b7d80fee
2021-08-31[ruby/irb] Set the dialog width to render with a fixed widthaycabta
https://github.com/ruby/irb/commit/80c4329643
2021-08-31[ruby/irb] Follow that Dialog#contents_width has been renamed to #widthaycabta
https://github.com/ruby/irb/commit/49a73d929e
2021-08-31[ruby/irb] Make show doc dialog appears on the left at the right edgeaycabta
https://github.com/ruby/irb/commit/6480eddd31
2021-08-31[ruby/irb] Rename a variable "dialog" with "autocomplete_dialog"aycabta
Because it's just used to receive data from the autocomplete dialog, not for show doc dialog. https://github.com/ruby/irb/commit/f8b752bd98
2021-08-31[ruby/reline] Use Reline::Unicode.take_range to devide exactly by widthaycabta
https://github.com/ruby/reline/commit/de1ad93f44
2021-08-31[ruby/reline] Check if dialog_render_info is nil or notaycabta
https://github.com/ruby/reline/commit/e2b87fe831
2021-08-31[ruby/reline] Fix Reline::Unicode.take_range as it was not fully functionalaycabta
https://github.com/ruby/reline/commit/5da6a8d851
2021-08-31[ruby/reline] Use dynamic contents widthaycabta
https://github.com/ruby/reline/commit/f0e54f239b
2021-08-31[Feature #16972] Add mode: option to Pathname#mkpathNobuyoshi Nakada
2021-08-31Constify line_node in iseq_compile_each0Nobuyoshi Nakada
2021-08-31[ruby/reline] Remove an unused variableaycabta
https://github.com/ruby/reline/commit/0ae7d8b336
2021-08-31[ruby/irb] Version 1.3.8.pre.4aycabta
https://github.com/ruby/irb/commit/61fe6cfa43
2021-08-31[ruby/irb] Update dependency, reline >= 0.2.8.pre.4aycabta
https://github.com/ruby/irb/commit/24315382d0
2021-08-31[ruby/reline] Version 0.2.8.pre.4aycabta
https://github.com/ruby/reline/commit/059d39b090
2021-08-31[ruby/reline] Pass "dialog" to context to get "dialog.scroll_top" lateraycabta
https://github.com/ruby/reline/commit/d81f29a134
2021-08-31[ruby/reline] Autocompletion dialog height 15aycabta
https://github.com/ruby/reline/commit/7e18716754
2021-08-31[ruby/reline] Scroll autocompletion pointer in dialog correctlyaycabta
https://github.com/ruby/reline/commit/dc79ed2dd8
2021-08-31[ruby/reline] Use DialogRenderInfo structaycabta
https://github.com/ruby/reline/commit/ac6f652a39
2021-08-31[ruby/reline] Fix dialog rendering at the bottom edgeaycabta
https://github.com/ruby/reline/commit/860be91bd7
2021-08-31* 2021-08-31 [ci skip]git
2021-08-31[ruby/irb] Use DialogRenderInfoaycabta
https://github.com/ruby/irb/commit/5bc3a72ca3
2021-08-31[ruby/irb] Take dialog to get scroll_topaycabta
https://github.com/ruby/irb/commit/7209082a11
2021-08-31[ruby/irb] Don't show doc when pointer is negativeaycabta
https://github.com/ruby/irb/commit/48af34bfc2
2021-08-30Unify configure stepsNobuyoshi Nakada
2021-08-30Faster Pathname FileUtils methodsschneems
Currently when calling any of the "FileUtils" methods on pathname `require` is called every time even though that library might already be loaded. This is slow: We can speed it up by either checking first if the constant is already defined, or by using autoload. Using defined speeds up the action by about 300x and using autoload is about twice as fast as that (600x faster than current require method). I'm proposing we use autoload: ```ruby require 'benchmark/ips' Benchmark.ips do |x| autoload(:FileUtils, "fileutils") x.report("require") { require 'fileutils' } x.report("defined") { require 'fileutils' unless defined?(FileUtils) } x.report("autoload") { FileUtils } x.compare! end # Warming up -------------------------------------- # require 3.624k i/100ms # defined 1.465M i/100ms # autoload 2.320M i/100ms # Calculating ------------------------------------- # require 36.282k (± 2.4%) i/s - 184.824k in 5.097153s # defined 14.539M (± 2.0%) i/s - 73.260M in 5.041161s # autoload 23.100M (± 1.9%) i/s - 115.993M in 5.023271s # Comparison: # autoload: 23099779.2 i/s # defined: 14538544.9 i/s - 1.59x (± 0.00) slower # require: 36282.3 i/s - 636.67x (± 0.00) slower ``` Because this autoload is scoped to Pathname it will not change the behavior of existing programs that are not expecting FileUtils to be loaded yet: ``` ruby -rpathname -e "class Pathname; autoload(:FileUtils, 'fileutils'); end; puts FileUtils.exist?" Traceback (most recent call last): -e:1:in `<main>': uninitialized constant FileUtils (NameError) ``` Notes: Merged: https://github.com/ruby/ruby/pull/3693
2021-08-30[DOC] Move rdoc of Integer#abs to numeric.rb [ci skip]Nobuyoshi Nakada
2021-08-30[ruby/irb] Relax backtrace nest levelsNobuyoshi Nakada
https://github.com/ruby/irb/commit/fb637bc68f
2021-08-30[ruby/irb] Added the extra stdout message with test-unitHiroshi SHIBATA
https://github.com/ruby/irb/commit/b153d587a1
2021-08-30[ruby/irb] Use capture_output instead of capture_ioHiroshi SHIBATA
https://github.com/ruby/irb/commit/077e4ae7de
2021-08-30[ruby/irb] Use pend instead of skipHiroshi SHIBATA
https://github.com/ruby/irb/commit/f441ce35bf
2021-08-30Fix rubyspec_capiext dependency and flagsNobuyoshi Nakada
- The file needed to link may be the import library. - Remove duplicate flags.
2021-08-30[ruby/irb] Version 1.3.8.pre.3aycabta
https://github.com/ruby/irb/commit/a1fc68abaa
2021-08-30[ruby/irb] [].name to display the doc for Array.nameaycabta
https://github.com/ruby/irb/commit/7c2abc14d8
2021-08-30[ruby/irb] Rescue unknown error to quash crashingaycabta
https://github.com/ruby/irb/commit/92cce941cb
2021-08-30Suppress redefinition warnings of GET_SELF()Nobuyoshi Nakada
2021-08-30Add irb section to tool/sync_default_gems.rbaycabta
2021-08-30Add --autocomplete / --noautocomplete optionsaycabta