Marcus Stollsteimer
05b0410f91
[ruby/irb] Fix typo
...
https://github.com/ruby/irb/commit/4bb1340687
2019-12-24 21:22:46 +09:00
aycabta
7758849cb5
Remove unused variable
2019-12-24 18:39:48 +09:00
aycabta
42e2a322f1
The delete-char-or-list shows completed list when called at end of line
...
It doesn't behave the same as the delete-char.
2019-12-24 18:34:43 +09:00
aycabta
5e17834fc9
[ruby/reline] Version 0.1.0
...
https://github.com/ruby/reline/commit/55d4dfec1e
2019-12-24 09:56:40 +09:00
aycabta
8316b330fb
[ruby/irb] Version 1.2.1
...
https://github.com/ruby/irb/commit/8da0c74640
2019-12-24 09:56:40 +09:00
aycabta
0e528ae9cb
[ruby/irb] Remove warning message to bundle on Ruby 2.7.0
...
https://github.com/ruby/irb/commit/d9a7844f50
2019-12-24 09:56:40 +09:00
aycabta
30c5e8c4b9
[ruby/rdoc] Version 6.2.1
...
https://github.com/ruby/rdoc/commit/c65e14d112
2019-12-24 08:04:01 +09:00
aycabta
2bf0743edc
Update parsers of RDoc that are generated by Racc
2019-12-24 07:58:53 +09:00
aycabta
adc9b3ca7f
[ruby/rdoc] Support newline in the middle of constant definition
...
https://github.com/ruby/rdoc/commit/74d3984324
2019-12-24 07:58:53 +09:00
aycabta
e50e552693
[ruby/rdoc] Treat Proc#call syntax sugar for constant correctly
...
https://github.com/ruby/rdoc/commit/957d041ae0
2019-12-24 07:58:53 +09:00
Marc-Andre Lafortune
048f797bf0
[ruby/prime] Bump version
2019-12-22 21:48:54 -05:00
Marc-Andre Lafortune
446c243da3
[ruby/ostruct] Bump version
2019-12-22 21:48:54 -05:00
Marc-Andre Lafortune
9be3295d53
[ruby/ostruct] Create OpenStruct::VERSION
2019-12-22 21:48:54 -05:00
Marc-Andre Lafortune
49d94248eb
[ruby/ostruct] Move gemspec
2019-12-22 21:48:54 -05:00
Marc-Andre Lafortune
48d1acdf25
[ruby/matrix] Bump version
2019-12-22 21:48:54 -05:00
Nobuyoshi Nakada
679bc4f9cb
[ruby/reline] Use IO#raw to read one byte
...
https://github.com/ruby/reline/commit/be17740e82
2019-12-23 02:11:22 +09:00
Nobuyoshi Nakada
efd4a11ada
Support multibyte input
2019-12-22 11:46:43 +09:00
Yusuke Endoh
fa1bf8ab37
[ruby/reline] Support Ctrl+right as em_next_word, and Ctrl+left as ed_prev_word
...
https://github.com/ruby/reline/commit/e98ad3b486
2019-12-22 05:35:03 +09:00
aycabta
0835a971ef
Remove TODO comment
2019-12-22 01:57:35 +09:00
Yusuke Endoh
616f1357c3
[ruby/irb] Make nesting level up for `1.times do`
...
Follow up of the previous commit
https://github.com/ruby/irb/commit/ab207353d3
2019-12-22 01:57:35 +09:00
Yusuke Endoh
a3cc2a2fbd
[ruby/irb] Fix auto-indent for `1.times do`
...
Fixes #47
https://github.com/ruby/irb/commit/6b8eca4635
2019-12-22 01:57:35 +09:00
Yusuke Endoh
ec1de789a9
[ruby/reline] Preserve the input buffer across cursor_pos
...
The old version of cursor_pos discards the input buffer, which made IRB
ignore the input immediately after IRB is invoked.
This change keeps the input before cursor_pos by using ungetc.
https://github.com/ruby/reline/commit/4a8cca331f
2019-12-22 01:57:35 +09:00
Nobuyoshi Nakada
7fd6077d98
[ruby/reline] Consider Reline::ANSI.input at prep
...
https://github.com/ruby/reline/commit/b111cde3c3
2019-12-22 01:57:35 +09:00
Nobuyoshi Nakada
e68999c82c
Fixed misspellings
...
Fixed misspellings reported at [Bug #16437 ], for default gems.
2019-12-20 12:19:45 +09:00
Hiroshi SHIBATA
e672494cd7
Merge RubyGems 3.1.2
2019-12-20 11:50:32 +09:00
Kazuhiro NISHIYAMA
3816cd945d
Add `URI#open` to warning message
2019-12-20 01:40:00 +09:00
Hiroshi SHIBATA
efbc0d499c
Merge bundler-2.1.1 from bundler/bundler
2019-12-18 14:53:19 +09:00
mihaibuzgau
ffa7ceceaf
[rubygems/rubygems] Move `require uri` to source_list
...
https://github.com/rubygems/rubygems/commit/c6b4df5bfc
2019-12-17 22:33:44 +09:00
Kazuhiro NISHIYAMA
299db37957
Use while instead of loop
2019-12-17 21:56:09 +09:00
mihaibuzgau
b226a68141
[rubygems/rubygems] require `uri` in source.rb
...
https://github.com/rubygems/rubygems/commit/8de4d0272e
2019-12-17 16:56:04 +09:00
aycabta
d616926af9
Remove an unnecessary variable
2019-12-17 14:21:07 +09:00
aycabta
4f9a4c1a8f
Remove unnecessary branches
2019-12-17 13:59:19 +09:00
Thomas Leitner
a1713bedb1
[ruby/reline] Implement completion_append_character
...
There is already the possibility to set Reline.completion_append_character.
However, it is not used by the line editor.
https://github.com/ruby/reline/commit/ab798931b9
2019-12-17 13:19:37 +09:00
Nobuyoshi Nakada
11db4d3a3b
[ruby/reline] Disable any implementation-defined special control characters
...
Including dsusp, lnext, and so on.
https://github.com/ruby/reline/commit/a44abe586b
2019-12-17 13:19:37 +09:00
aycabta
618d091151
Support change search direction
2019-12-17 13:10:39 +09:00
aycabta
a14a0244b4
Support forward-search-history by C-s
2019-12-17 13:07:19 +09:00
NARUSE, Yui
5be34d6a33
ensure to close the data connection [Bug #16413 ]
2019-12-17 08:24:47 +09:00
Richard Viney
6a75a46053
Make prettyprint’s cycle detection aware of Delegator instances
...
Fixes [Bug #13144 ]
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-12-16 23:43:49 +09:00
Yusuke Endoh
251f5d8226
Revert "lib/net/http/response.rb: support raw deflate correctly"
...
This reverts commit 5105240b1e
.
In RFC 2616:
```
deflate
The "zlib" format defined in RFC 1950 [31] in combination with
the "deflate" compression mechanism described in RFC 1951 [29].
```
So "Content-Encoding: deflate" means zlib format, not raw deflate.
[Bug #11268 ]
2019-12-16 23:39:10 +09:00
Yusuke Endoh
5105240b1e
lib/net/http/response.rb: support raw deflate correctly
...
Net::HTTP had used `Zlib::Inflate.new(32 + Zlib::MAX_WBITS)` for all
content encoding (deflate, zlib, and gzip).
But the argument `32 + Zlib::MAX_WBITS` means zlib and gzip decoding
with automatic header detection, so (raw) deflate compression had not
been supported.
This change makes it support raw deflate correctly by passing an
argument `-Zlib::MAX_WBITS` (which means raw deflate) to
`Zlib::Inflate.new`. All deflate-mode tests are fixed too.
[Bug #11268 ]
2019-12-16 23:20:42 +09:00
Hiroshi SHIBATA
d8db343a21
Merge RubyGems 3.1.1 and update the NEWS entry for RubyGems
2019-12-16 20:47:04 +09:00
Hiroshi SHIBATA
980ddca47e
Prepare to release rubygems-3.1.0
2019-12-15 16:48:52 +09:00
David Rodríguez
0fab900538
Vendor thor 1.0.0
2019-12-15 16:41:10 +09:00
Hiroshi SHIBATA
38002a8adb
Prepare to release bundler-2.1.0
2019-12-15 16:41:10 +09:00
Yuki Nishijima
e2708068ad
Drop delegate dependency
...
Original comment:
2f26c9ee77
2019-12-13 21:40:52 -05:00
Nobuyoshi Nakada
eb512c5a95
warn should be a global function
2019-12-13 21:38:50 +09:00
Hiroshi SHIBATA
82cc2843a9
Prepare to release RubyGems 3.1.0 final version.
2019-12-13 20:19:33 +09:00
aycabta
c2dfc6d869
Show a menu before a document
...
IRB should show a menu first if a completed list has plural items. But just
shows document without menu if a completed list with plural items includes a
perfect matched item. The behavior is a bug. This commit fixes it.
2019-12-13 08:54:22 +09:00
aycabta
7d991a0571
Suppress to crash IRB if completed list has nil
2019-12-12 08:40:50 +09:00
Jeremy Evans
49ffae7ca6
[ruby/forwardable] Bump version to 1.3.1
...
https://github.com/ruby/forwardable/commit/aa07c55f3f
2019-12-11 20:23:53 +09:00
Jeremy Evans
0dcd3340fb
[ruby/forwardable] Make def_*_delegator return name of method defined ( Fixes #10 )
...
This restores compatibility with previous versions. This behavior
was previously undefined, but it makes sense for the name of the
defined method to be returned.
https://github.com/ruby/forwardable/commit/a52ef3451e
2019-12-11 20:23:53 +09:00
aycabta
6a7af800db
Add a message for CompatibilityError
2019-12-11 11:36:40 +09:00
aycabta
ec54ac9381
Support Readline.completion_quote_character by Reline
2019-12-11 11:13:05 +09:00
Hiroshi SHIBATA
95f570d0d3
[ruby/logger] bump version to 1.4.2
...
https://github.com/ruby/logger/commit/d6c01cc652
2019-12-10 21:03:36 +09:00
Jeremy Evans
7a1c56f978
[ruby/logger] Document that shift_age of 0 disables log file rotation
...
Fixes Ruby Bug 16349.
https://github.com/ruby/logger/commit/b1b6d06f2d
2019-12-10 20:59:36 +09:00
Jeremy Evans
38722fa179
[ruby/logger] Raise ArgumentError for invalid shift_age
...
Consider 'now' and 'everytime' as valid values for the previous
behavior of rotating everytime.
Fixes Ruby Bug 15977
https://github.com/ruby/logger/commit/f92979a376
2019-12-10 20:59:02 +09:00
George Claghorn
eb18cb3e47
[ruby/logger] Honor Logger#level overrides
...
https://github.com/ruby/logger/commit/7365c995bf
2019-12-10 20:58:25 +09:00
NARUSE, Yui
af11efd377
fix ipaddr parameter of Net::HTTP.start to support proxy
...
54072e329c
2019-12-10 19:12:21 +09:00
aycabta
fe0df7dcfc
Change encoding of completion strings
2019-12-10 17:28:09 +09:00
Hiroshi SHIBATA
e27d2013db
Import racc-1.4.1 from ruby/racc.
2019-12-10 17:04:03 +09:00
Konstantin Papkovskiy
1bdabaa6b1
base64.rb: improve performance of Base64.urlsafe_encode64
...
* lib/base64.rb: avoid unnecessary memory allocations
2019-12-10 14:32:35 +09:00
Yusuke Endoh
3ca3c8d768
lib/net/http.rb: align the indentation
2019-12-10 14:15:35 +09:00
Kazuhiro NISHIYAMA
7be550d046
Stop Thread.new in `DRb::TimerIdConv::TimerHolder2#on_gc`
...
and add more stop_pool after stop_service
2019-12-10 12:43:49 +09:00
aycabta
6a22b2a091
Support completion with case-insensitive fashion
...
Reline performs completion in a case-insensitive fashon if
Readline.completion_case_fold or completion-ignore-case of .inputrc are set
"on".
2019-12-10 07:07:43 +09:00
NARUSE, Yui
c2dc27d643
fix typo of 54072e329c
2019-12-09 20:48:35 +09:00
NARUSE, Yui
54072e329c
Add ipaddr optional parameter to Net::HTTP#start
...
to replace the address for TCP/IP connection [Feature #5180 ]
There're 3 layers of hostname:
* host address for TCP/IP
* TLS server name
* HTTP Host header value
To test DNS round robin or check server certificate from server local,
people sometimes want to connect server with given IP address but keep
TLS server name and HTTP Host header value.
closes [Feature #15215 ]
closes https://github.com/ruby/ruby/pull/1893
closes https://github.com/ruby/ruby/pull/1977
2019-12-09 20:21:49 +09:00
Hiroshi SHIBATA
4b36832ba6
Merge the upstream changes for test-unit on ruby/logger.
...
This commits are based with:
f067f7d1aa
86058f420d
02db6e8ed8
2019-12-09 19:17:32 +09:00
sonots
ff7cc0dc34
[ruby/logger] 1.4.1
...
https://github.com/ruby/logger/commit/5987f518d1
2019-12-09 19:17:32 +09:00
Hiroshi SHIBATA
895f86c81b
[ruby/logger] Fixes #38
...
https://github.com/ruby/logger/commit/31efbb29ff
2019-12-09 19:17:31 +09:00
sonots
0fe1b05082
[ruby/logger] 1.4.0
...
https://github.com/ruby/logger/commit/8127ce0b56
2019-12-09 19:17:31 +09:00
Akira Matsuda
6158e28f8d
[ruby/logger] Avoid creating [] and "" when logging an Exception that has no backtrace
...
https://github.com/ruby/logger/commit/75fd308053
2019-12-09 19:17:31 +09:00
sonots
0aafc32995
[ruby/logger] frozen_string_literal: true
...
https://github.com/ruby/logger/commit/a057eede7b
2019-12-09 19:17:31 +09:00
Alan Wu
22548195d5
[ruby/logger] Fix typo
...
https://github.com/ruby/logger/commit/5f70168ac5
2019-12-09 19:17:31 +09:00
aycabta
a14c01441b
Fix encoding compatibility checking of completion correctly
2019-12-09 14:21:20 +09:00
aycabta
0ff84eda4e
[ruby/irb] Version 1.2.0
...
https://github.com/ruby/irb/commit/da6577a88c
2019-12-07 21:56:23 +09:00
aycabta
2e595c2d78
[ruby/irb] New IRB needs Ruby 2.5 or later
...
https://github.com/ruby/irb/commit/4be3158358
2019-12-07 21:56:06 +09:00
aycabta
ad6837dd60
[ruby/irb] Revert "Reidline mode needs Reline what needs String#grapheme_clusters"
...
This reverts commit 2b0b19b87c60d2cdb329979acbb96e12a1f940e7.
New IRB parser needs new Ripper what has lex_state too. The new Ripper is
adopted by Ruby 2.5 or later.
https://github.com/ruby/irb/commit/9ab6e35a2c
2019-12-07 21:55:31 +09:00
aycabta
c2afddccb3
[ruby/irb] Reidline mode needs Reline what needs String#grapheme_clusters
...
https://github.com/ruby/irb/commit/2b0b19b87c
2019-12-07 20:01:53 +09:00
aycabta
e72ffc55ba
[ruby/reline] Support Ruby 2.5 or later for String#grapheme_clusters
...
https://github.com/ruby/reline/commit/33e8c8f15b
2019-12-07 20:01:53 +09:00
Kazuhiro NISHIYAMA
173b864668
Do not start thread when `require 'drb/drb'` only
2019-12-06 00:12:58 +09:00
Yusuke Endoh
d43b9eb22d
lib/drb/drb.rb: suppress warning: instance variable @pool_proxy not initialized
2019-12-05 22:37:08 +09:00
Kazuhiro NISHIYAMA
4c88107c54
Fix `warning: already initialized constant DidYouMean::VERSION`
...
```
.../gems/did_you_mean-1.3.1/lib/did_you_mean/version.rb:2: warning: already initialized constant DidYouMean::VERSION
.../lib/did_you_mean/version.rb:2: warning: previous definition of VERSION was here
```
2019-12-05 18:18:55 +09:00
Antonio Terceiro
ed5d032ea3
debug.rb: expand filenames in breakpoints
...
When debugging some local code, specifying a breakpoint to a local
filename does not work, i.e.
break lib/foo.rb:10
Expanding the filename makes it work. FWIW byebug has the same behavior.
2019-12-05 13:28:34 +09:00
Yuki Nishijima
18d3b5a93a
Do not attempt to call methods on the receiver if it is a basic object
2019-12-04 19:55:01 -05:00
aycabta
e3587ed849
Support disable-completion
2019-12-05 09:02:23 +09:00
aycabta
ad8fbf444a
Fix variable catch
2019-12-05 09:02:23 +09:00
Kazuhiro NISHIYAMA
a0bc0e1ba1
Fix thread leak in drb
2019-12-04 20:57:24 +09:00
aycabta
027e847cd2
Fix auto-indent behavior correctly
2019-12-03 13:02:50 +09:00
aycabta
a92560132b
Support incremental search by last determined word
...
In the incremental search by C-r, search word is saved when it's determined. In
the next incremental search by C-r, if a user presses C-r again with the empty
search word, the determined previous search word is used to search.
2019-12-03 01:39:59 +09:00
aycabta
bce38f706e
The C-r in vi command mode is also incremental search
2019-12-03 01:39:59 +09:00
aycabta
103b04128f
Support incremental search again by C-r in incremental search
2019-12-02 04:18:22 +09:00
aycabta
c7f05310a2
Process Backspace key in incremental search correctly
2019-12-02 03:30:38 +09:00
aycabta
e15b0313a7
Search history to back in the middle of histories
2019-12-02 03:09:41 +09:00
aycabta
8cb3f29abf
The ed_search_prev_history should always search to backward
2019-12-01 23:54:57 +09:00
aycabta
f1cfc7da18
Reline::HISTORY can take Range object
2019-12-01 23:54:57 +09:00
Kevin Deisz
171803d5d3
Promote did_you_mean to default gem
...
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become difficult to load it when using Bundler.setup. See this issue: https://github.com/yuki24/did_you_mean/issues/117#issuecomment-482733159 for more details.
2019-11-30 21:08:19 -05:00
Hiroshi SHIBATA
08c866d528
[ruby/fileutils] Bump version to 1.4.1
...
https://github.com/ruby/fileutils/commit/da15e3ce06
2019-11-30 18:09:41 +09:00
Hiroshi SHIBATA
32e547954f
Revert "[ruby/fileutils] Fix #install with "X" mode option"
...
This reverts commit eab88d20ea
.
The some CI was broken with this.
2019-11-30 17:58:39 +09:00
Jeremy Evans
a98632d5c2
[ruby/webrick] Enabled chunked encoding if Transfer-Encoding: chunked header is set
...
Patch from Leonard Garvey.
Fixes Ruby Bug 9986.
https://github.com/ruby/webrick/commit/8cff7f3995
2019-11-30 17:50:13 +09:00
Hiroshi SHIBATA
edfbffb241
[ruby/webrick] Bump version to 1.6.0
...
https://github.com/ruby/webrick/commit/c5635fa5e2
2019-11-30 17:49:10 +09:00
Jeremy Evans
c75100d004
[ruby/webrick] Allow WEBrick::HTTPServlet::CGIHandler :CGIInterpreter option to be array
...
This way you don't need to escape each entry.
Implements Ruby Feature 15170.
https://github.com/ruby/webrick/commit/d8086e600c
2019-11-30 17:48:15 +09:00
zverok
f7cf5416e4
[ruby/webrick] Document HTTPResponse#body callable option
...
https://github.com/ruby/webrick/commit/d51836d03d
2019-11-30 17:47:49 +09:00
Hiroshi SHIBATA
ea4272d02b
[ruby/fileutils] Bump version to 1.4.0
...
https://github.com/ruby/fileutils/commit/f92145b10b
2019-11-30 17:36:13 +09:00
Hiroshi SHIBATA
3b9e1c0b2e
Move gemspec of fileutils under the toplevel of lib directory.
2019-11-30 17:32:38 +09:00
Nobuyoshi Nakada
eab88d20ea
[ruby/fileutils] Fix #install with "X" mode option
...
`FileUtils#install` methed raises an unexpected `TypeError`, when
called with `mode:` option which has `"X"`.
```
$ ruby -rfileutils -e 'FileUtils.install("tmp/a", "tmp/b", mode: "o+X")'
/opt/local/lib/ruby/2.7.0/fileutils.rb:942:in `directory?': no implicit conversion of File::Stat into String (TypeError)
from /opt/local/lib/ruby/2.7.0/fileutils.rb:942:in `block (3 levels) in symbolic_modes_to_i'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `each_char'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `each'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `inject'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `block (2 levels) in symbolic_modes_to_i'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:931:in `each'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:931:in `each_slice'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:931:in `block in symbolic_modes_to_i'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:926:in `each'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:926:in `inject'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:926:in `symbolic_modes_to_i'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:973:in `fu_mode'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:883:in `block in install'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:1588:in `block in fu_each_src_dest'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:1604:in `fu_each_src_dest0'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:1586:in `fu_each_src_dest'
from /opt/local/lib/ruby/2.7.0/fileutils.rb:877:in `install'
from -e:1:in `<main>'
```
In spite of that `symbolic_modes_to_i` considers the `File::Stat`
`path` case at the beginning, in `"X"` case, `path` is passed to
`FileTest.directory?` method which requires a `String`. In such
case, the mode in `path` should be examined instead.
https://github.com/ruby/fileutils/commit/2ea54ade2f
2019-11-30 17:31:35 +09:00
Nobuyoshi Nakada
0a7d26bea1
[ruby/fileutils] Remove version.rb
...
Loading separate version.rb unnecessary increases every start-up
time. In the other hand, the gemspec file is parsed only when
building the gem file.
https://github.com/ruby/fileutils/commit/8359cf7cce
2019-11-30 17:30:50 +09:00
Hiroshi SHIBATA
856f9990a9
[ruby/forwardable] Bump version to 1.3.0
...
https://github.com/ruby/forwardable/commit/e56f0f83c6
2019-11-30 15:54:09 +09:00
Jeremy Evans
9fa0166a58
[ruby/forwardable] Fix keyword argument separation warnings on Ruby 2.7+
...
Do so in a way that is also compatible with previous versions.
https://github.com/ruby/forwardable/commit/b2dd340988
2019-11-30 15:53:42 +09:00
aycabta
f8cc05dec3
Use @eof variable for ReidlineInputMethod#eof?
...
"IRB::InputMethod#eof?" requires eof status each user input but
"ReidlineInputMethod#eof?" used "Reline.eof?" what is singleton data.
"ReidlineInputMethod#eof?" is changed to use the result of user input.
2019-11-30 11:20:39 +09:00
Hiroshi SHIBATA
c50d30f659
Simplified ErrDimensionMismatch class
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
2f66c443d7
Support argument for ErrNotRegular
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
0c59bfae0a
Also replace E2MM to standard exception class
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
c1059e99d3
Support existence usecase for the custom exception classes
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
5044260dcd
replace raise method from e2mmap on Scalar class
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
9b950310be
raise method accepts 3 argument with exception class
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
f47f2076fe
Retire to maintain e2mmap on ruby core
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
04511b994e
Remove re-define embedded error classes and extract argument on custom error classes
2019-11-30 08:00:40 +09:00
Hiroshi SHIBATA
d82c541ae4
Use simple exception classes instead of e2mmap
2019-11-30 08:00:40 +09:00
aycabta
c4686b9235
Revert "Treat :@1, :@@1, @1, and @@1 correctly to check termination"
...
This reverts commit 5e275dd2af
.
...The @1 type numberd parameter is reverted from Ruby syntax.
2019-11-29 17:38:18 +09:00
aycabta
7d75e94ea9
Fix regexp to complete complex literal
...
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-28 15:22:38 +09:00
aycabta
abe8fb49f0
Delete newline when C-k on emacs mode at EOL
2019-11-28 09:32:51 +09:00
aycabta
7769975c3c
Remove two removed constants
2019-11-28 08:26:10 +09:00
aycabta
2d0a1a1869
Fix ghost method line no
2019-11-28 08:19:05 +09:00
aycabta
8b20829396
Remove an unnecessary variable
2019-11-26 19:22:38 +09:00
Takashi Kokubun
1fe31737d8
Slightly fix the warning message [ci skip]
...
I'm not sure, but maybe it was gramatically incorrect?
2019-11-26 01:20:29 -08:00
Takashi Kokubun
958641d991
Suggest an alternative to suppress the irb warning
2019-11-26 01:18:07 -08:00
aycabta
fd956c72ea
Cache loaded module to suppress method redefined warnings
2019-11-25 07:27:15 +09:00
aycabta
51ea1abb5f
Remove e2mmap dependency
2019-11-25 05:38:09 +09:00
aycabta
efbca15116
Remove lib/irb/slex.rb
2019-11-25 03:10:35 +09:00
aycabta
1aeb201d28
Remove debug code...
2019-11-24 23:29:09 +09:00
aycabta
745ab16818
Disable tracer ext of IRB when tracer doesn't found
2019-11-24 22:42:08 +09:00
aycabta
b0614a0f96
Tracer.set_get_line_procs should support block and Proc object
...
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-23 05:44:35 +09:00
aycabta
1ee010a317
Tracer.add_filter should support block and Proc object
...
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-23 05:43:07 +09:00
Kazuhiro NISHIYAMA
88d6009d91
Use more strict regexp to avoid to match naninanirb.rb
2019-11-21 23:10:30 +09:00
Jeremy Evans
a9d4f2d03c
Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime
...
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 ]
2019-11-21 03:32:20 +02:00
aycabta
9131e62f18
[ruby/reline] Version 0.0.7
...
09d370bdc1
2019-11-21 07:14:27 +09:00
aycabta
f30f78e2e0
Version 0.0.6
2019-11-21 07:04:53 +09:00
aycabta
e4127cdd3e
Version 1.1.0
2019-11-21 07:04:40 +09:00
aycabta
95f20f463a
Consider escape sequence to calculate prompt width
2019-11-21 07:01:41 +09:00
aycabta
eee70b41d4
Add a warning message and --legacy of an alias of --singleline
2019-11-21 02:44:35 +09:00
Y. Ushiki
9d6f78822c
Refactor filter_backtrace
2019-11-21 02:44:35 +09:00
Y. Ushiki
04d0d93ebf
Fix filter_backtrace for context-mode 0
2019-11-21 02:44:35 +09:00
aycabta
91bf3b7a77
Use singleline/multiline instead of readline/reidline
2019-11-21 02:44:35 +09:00
manga_osyo
6723aa07e5
Change argument `Proc` to `#call` defined object.
...
This is the same as the behavior of Readline.
2019-11-21 00:47:37 +09:00
manga_osyo
81586a4d9f
Add <Home> <End> keys.
2019-11-21 00:47:36 +09:00
aycabta
633625a083
Mintty on Cygwin isn't a kind of command prompt, can process ANSI escape code
2019-11-20 17:55:19 +09:00
aycabta
da0d7211aa
Fix indent of a line when a newline is inserted to the next
2019-11-20 10:04:41 +09:00
aycabta
9306602f24
Replace typo "bock" with "block"
2019-11-20 09:58:33 +09:00
aycabta
19a310b0ac
A preceding token of "do" of block has EXPR_CMDARG or EXPR_ENDFN
...
meth do # the preceding token of "do" has EXPR_CMDARG
end
meth() do # the preceding token of "do" has EXPR_ENDFN
end
2019-11-20 09:56:13 +09:00
aycabta
49b4507fd3
Number sign comment (# bla bla) is a kind of newline character
2019-11-20 08:39:43 +09:00