summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-11-30Simplified ErrDimensionMismatch classHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30Support argument for ErrNotRegularHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30Also replace E2MM to standard exception classHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30Support existence usecase for the custom exception classesHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30replace raise method from e2mmap on Scalar classHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30raise method accepts 3 argument with exception classHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30Retire to maintain e2mmap on ruby coreHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30Remove re-define embedded error classes and extract argument on custom error ↵Hiroshi SHIBATA
classes Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-30Use simple exception classes instead of e2mmapHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-29Revert "Treat :@1, :@@1, @1, and @@1 correctly to check termination"aycabta
This reverts commit 5e275dd2af4d9d24cdb1cfc0f232f348dae9c2cd. ...The @1 type numberd parameter is reverted from Ruby syntax.
2019-11-28Fix regexp to complete complex literalaycabta
IRB completion logic always needed exponential notation for complex literal such as 3e6i but it's bug. I fixed to support complex literal without exponential notation such as 3i.
2019-11-28Delete newline when C-k on emacs mode at EOLaycabta
2019-11-28Remove two removed constantsaycabta
2019-11-28Fix ghost method line noaycabta
2019-11-26Remove an unnecessary variableaycabta
2019-11-26Slightly fix the warning message [ci skip]Takashi Kokubun
I'm not sure, but maybe it was gramatically incorrect?
2019-11-26Suggest an alternative to suppress the irb warningTakashi Kokubun
2019-11-25Cache loaded module to suppress method redefined warningsaycabta
2019-11-25Remove e2mmap dependencyaycabta
2019-11-25Remove lib/irb/slex.rbaycabta
2019-11-24Remove debug code...aycabta
2019-11-24Disable tracer ext of IRB when tracer doesn't foundaycabta
2019-11-23Tracer.set_get_line_procs should support block and Proc objectaycabta
Original Tracer.set_get_line_procs is implemented by "def set_get_line_procs(p = proc)". It means that original Tracer.set_get_line_procs supports block and Proc object.
2019-11-23Tracer.add_filter should support block and Proc objectaycabta
Original Tracer.add_filter is implemented by "def add_filter(p = proc)". It means that original Tracer.add_filter supports block and Proc object.
2019-11-21Use more strict regexp to avoid to match naninanirb.rbKazuhiro NISHIYAMA
2019-11-21Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptimeJeremy Evans
Most of these formats were documented as supported, but were not actually supported. Document that %g and %G are supported. If %U/%W is specified without yday and mon/mday are not specified, then Date.strptime is used to get the appropriate yday. If cwyear is specifier without the year, or cwday and cweek are specified without mday and mon, then use Date.strptime and convert the resulting value to Time, since Time.make_time cannot handle those conversions Fixes [Bug #9836] Fixes [Bug #14241] Notes: Merged: https://github.com/ruby/ruby/pull/2685
2019-11-21[ruby/reline] Version 0.0.7aycabta
https://github.com/ruby/reline/commit/09d370bdc19e62f0a27c2240e19b07963afd922f
2019-11-21Version 0.0.6aycabta
2019-11-21Version 1.1.0aycabta
2019-11-21Consider escape sequence to calculate prompt widthaycabta
2019-11-21Add a warning message and --legacy of an alias of --singlelineaycabta
2019-11-21Refactor filter_backtraceY. Ushiki
2019-11-21Fix filter_backtrace for context-mode 0Y. Ushiki
2019-11-21Use singleline/multiline instead of readline/reidlineaycabta
2019-11-21Change argument `Proc` to `#call` defined object.manga_osyo
This is the same as the behavior of Readline.
2019-11-21Add <Home> <End> keys.manga_osyo
2019-11-20Mintty on Cygwin isn't a kind of command prompt, can process ANSI escape codeaycabta
2019-11-20Fix indent of a line when a newline is inserted to the nextaycabta
2019-11-20Replace typo "bock" with "block"aycabta
2019-11-20A preceding token of "do" of block has EXPR_CMDARG or EXPR_ENDFNaycabta
meth do # the preceding token of "do" has EXPR_CMDARG end meth() do # the preceding token of "do" has EXPR_ENDFN end
2019-11-20Number sign comment (# bla bla) is a kind of newline characteraycabta
2019-11-20Generate history file path correctly when $HOME/.irbrc doesn't existaycabta
2019-11-19Suppress `stty` error on Apple TerminalNobuyoshi Nakada
`stty` called in `Reline::ANSI.deprep` command shows the following error message on macOS Apple Terminal, with some settings. ``` $ LANG=C irb irb(main):001:0> stty: 'standard input': unable to perform all requested operations stty: 'standard input': unable to perform all requested operations ```
2019-11-18[ruby/rss] Only check taint on Ruby <2.7Jeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18[ruby/rexml] Only taint on Ruby <2.7Jeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans
This removes the security features added by $SAFE = 1, and warns for access or modification of $SAFE from Ruby-level, as well as warning when calling all public C functions related to $SAFE. This modifies some internal functions that took a safe level argument to no longer take the argument. rb_require_safe now warns, rb_require_string has been added as a version that takes a VALUE and does not warn. One public C function that still takes a safe level argument and that this doesn't warn for is rb_eval_cmd. We may want to consider adding an alternative method that does not take a safe level argument, and warn for rb_eval_cmd. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Remove unnecessary checkaycabta
2019-11-17[ruby/irb] Remove ruby-token.rb from spec.filesaycabta
https://github.com/ruby/irb/commit/0180dc74bc
2019-11-17[ruby/irb] Version 1.1.0.pre.4aycabta
https://github.com/ruby/irb/commit/4945d0e676