summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-08-30[ruby/reline] Version 0.2.8.pre.3aycabta
https://github.com/ruby/reline/commit/6e0ea3362a
2021-08-30[ruby/reline] Fix Reline.autocompletion=() interfaceaycabta
https://github.com/ruby/reline/commit/71c2eb143d
2021-08-30[ruby/reline] Version 0.2.8.pre.2aycabta
https://github.com/ruby/reline/commit/5e3ea74891
2021-08-30[ruby/reline] Set autocompletion is false by defaultaycabta
For compatibility with ext/readline. https://github.com/ruby/reline/commit/13d9b936bc
2021-08-30[ruby/reline] Disable autocompletion in testsaycabta
https://github.com/ruby/reline/commit/9b1913567a
2021-08-30[ruby/reline] Add Reline.autocompletion=() interfaceaycabta
https://github.com/ruby/reline/commit/a2e69f6277
2021-08-30[ruby/reline] Add autocompletion on emacs mode by Tab / S-Tabaycabta
https://github.com/ruby/reline/commit/22d0b4e5d8
2021-08-30[ruby/reline] Add config.autocompletionaycabta
https://github.com/ruby/reline/commit/3d918e4ccb
2021-08-30[ruby/irb] Version 1.3.8.pre.2aycabta
https://github.com/ruby/irb/commit/ff111173fd
2021-08-30[ruby/irb] Update dependency, reline >= 0.2.8.pre.3aycabta
https://github.com/ruby/irb/commit/2f1d989d7c
2021-08-30[ruby/irb] Remove path settings for debuggingaycabta
https://github.com/ruby/irb/commit/48029944a5
2021-08-30[ruby/irb] Update dependency to "reline >= 0.2.7.pre.2" for ↵aycabta
Reline.autocomplete=() https://github.com/ruby/irb/commit/66178f34b9
2021-08-30Fix empty values to booleansNobuyoshi Nakada
2021-08-30Fix dllimport attributeNobuyoshi Nakada