summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-23Rename RUBY_MARK_NO_PIN_UNLESS_NULL to RUBY_MARK_MOVABLE_UNLESS_NULL0x005c
Notes: Merged: https://github.com/ruby/ruby/pull/2823
2020-01-22Drop executable bit of *.{yml,h,mk.tmpl}Kazuhiro NISHIYAMA
2020-01-22Added usage documentation for sync_default_gemsHiroshi SHIBATA
2020-01-22Use gem name to specifyaycabta
2020-01-22* 2020-01-22 [ci skip]git
2020-01-22Drop executable bit set by 25f2005a638570cce832d218a451072057610f06Nobuyoshi Nakada
2020-01-21Also check EWOULDBLOCK as well as EAGAINNobuyoshi Nakada
2020-01-21fix load error with EAGAINXia Xionjun
This is a fix related to the following issue. rails/rails#33464 Not only in rails apps, some little ruby app with only 2 or 3 ruby files reproduce the problem during many years. When I edit linux ruby files by vs code via samba on windows, and then I execute the ruby files on linux, "require_relative" will sometimes not work properly. My solution is to wait a monument if the required relative file is busy. Notes: Merged: https://github.com/ruby/ruby/pull/2702
2020-01-21Reline: Fix changed test results due to change to UTF-8 on WindowsLars Kanis
In commit f8ea2860b0cac1aec79978e6c44168802958e8af the Reline encoding for native windows console was changed to hardcoded UTF-8. This caused failures in reline and readline tests, but they were hidden, because parallel ruby tests incorrectly used Reline::ANSI as IOGate. Tests failures were raised in single process mode, but not with -j switch. This patch corrects encodings on native Windows console. Notes: Merged: https://github.com/ruby/ruby/pull/2848
2020-01-21Reline: Use a more robust detection of MinTTYLars Kanis
The previous detection per get_screen_size fails when stdout is passed to a pipe. That is the case when running ruby tests in parallel ("-j" switch). In this case Reline believes that it's running on MinTTY and the tests are running with ANSI IOGate instead of the Windows adapter on MINGW. So parallel test results were different to that of a single process. This commit fixes these differencies. The code is taken from git sources and translated to ruby. NtQueryObject() is replaced by GetFileInformationByHandleEx(), because NtQueryObject() is undocumented and is more difficult to use: https://github.com/git-for-windows/git/blob/c5a03b1e29c69f3f06c8fabd92493edb73469176/compat/winansi.c#L558 Notes: Merged: https://github.com/ruby/ruby/pull/2848
2020-01-21DocumentRoot is optionalKazuhiro NISHIYAMA
since 2.3.0 https://github.com/ruby/ruby/commit/0b9d86f29be8e3d4fa0958bf3db41907e21ad1a0
2020-01-21add default break pointsKoichi Sasada
2020-01-21VALUE is narrower than rb_serial_t卜部昌平
VALUE and rb_serial_t do not agree with their width. We have to be consistent. Assigning an rb_serial_t value to a VALUE variable is practically a problem on a ILP32 environment.
2020-01-21* 2020-01-21 [ci skip]git
2020-01-21[ruby/reline] Implement vi_change_metaaycabta
https://github.com/ruby/reline/commit/8538e0e10f
2020-01-21[ruby/irb] [ruby/irb] Rewrite an expression to detect multilineKenta Murata
https://github.com/ruby/irb/commit/ed5cf375a6 https://github.com/ruby/irb/commit/5b7bbf9c34
2020-01-21[ruby/irb] Add newline_before_multiline_outputKenta Murata
https://github.com/ruby/irb/commit/9eb1801a66
2020-01-20[ruby/irb] Fix compatibility with rails before 5.2Lars Kanis
Rails before 5.2 added Array#append as an alias to Array#<< , so that it expects only one argument. However ruby-2.5 added Array#append as an alias to Array#push which takes any number of arguments. If irb completion is used in `rails c` (for example "IO.<tab>") it fails with: irb/completion.rb:206:in `<<': wrong number of arguments (given 3, expected 1) (ArgumentError) Using Array#push instead of Array#append fixes compatibility. https://github.com/ruby/irb/commit/5b7bbf9c34
2020-01-20[ruby/reline] Implement vi_prev_char and vi_to_prev_charaycabta
https://github.com/ruby/reline/commit/0ad3ee63fa
2020-01-20[ruby/reline] Implement vi_to_next_charaycabta
https://github.com/ruby/reline/commit/066ecb0a21
2020-01-20Get rid of use of special variablesJeremy Evans
Use `"\n"` and `IO#fileno` instead of `$/` and `$.` respectively. [Feature #14240]
2020-01-20* 2020-01-20 [ci skip]git
2020-01-20Fixed double closedirNobuyoshi Nakada
In the case that shinking the entries buffer to the exact size failed, `dirp` is already closed. Found by mame with Coverity Scan.
2020-01-19README.ja.md: removed the badge for Cygwin [ci skip]Nobuyoshi Nakada
The workflow for Cygwin has been removed at 3344f811074e1e6119eec23684013457dab4f8b0.
2020-01-19README.md: removed the badge for Cygwin [ci skip]Nobuyoshi Nakada
The workflow for Cygwin has been removed at 3344f811074e1e6119eec23684013457dab4f8b0.
2020-01-19NEWS.md: set code format explicitly [ci skip]Nobuyoshi Nakada
It is not set by default in the Github viewer. Notes: Merged: https://github.com/ruby/ruby/pull/2851
2020-01-19Sort globbed results by default [Feature #8709]Nobuyoshi Nakada
Sort the results which matched single wildcard or character set in binary ascending order, unless `sort: false` is given. The order of an Array of pattern strings and braces are not affected. Notes: Merged: https://github.com/ruby/ruby/pull/2846
2020-01-19Fix typo s/test_ruby2_keywords_hash!/test_ruby2_keywords_hash/Ryuta Kamizono
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`. Notes: Merged: https://github.com/ruby/ruby/pull/2849
2020-01-19Allow rexml to fail on macOS of Github ActionsNobuyoshi Nakada
And revert "Stop test-bundled-gems on macOS for now", 28b290f7f4cb332dab3ddf3132e1916d413ea65c. Notes: Merged: https://github.com/ruby/ruby/pull/2847
2020-01-19Test bundled gems with timeoutNobuyoshi Nakada
2020-01-19* 2020-01-19 [ci skip]git
2020-01-19Stop test-bundled-gems on macOS for nowNobuyoshi Nakada
2020-01-18Removed useless sorts of lists generated from literalsNobuyoshi Nakada
2020-01-18Made glob option keyword IDs staticNobuyoshi Nakada
2020-01-18NEWS.md: reduce headings level [ci skip]Nobuyoshi Nakada
As the only h2 did not have its exclusively owned body text, merged it to the first paragraph. Then pulled up h3 and deeper headings.
2020-01-18NEWS.md: made ticket references links [ci skip]Nobuyoshi Nakada
2020-01-18NEWS.md: fixed lists and indents [ci skip]Nobuyoshi Nakada
* The definition lists extensions of the RDoc Markdown parser does not support nesting. * The RDoc Markdown parser requires more indents for nested lists.
2020-01-18Update clean-local [ci skip]Nobuyoshi Nakada
* Remove builtin_binary.inc which is generated for each time miniruby is built. * dSYM is a directory, not a file.
2020-01-18* 2020-01-18 [ci skip]git
2020-01-18[ruby/io-console] bump up to 0.5.5Nobuyoshi Nakada
2020-01-18[ruby/io-console] Set `OPOST` when `intr` is trueNobuyoshi Nakada
To enable implementation-defined output processing, for the compatibility with readline. [Bug #16509] https://bugs.ruby-lang.org/issues/16509 https://github.com/ruby/io-console/commit/8c8b0b6757
2020-01-18[ruby/io-console] Filter Ruby engine name rather than just /ruby/Charles Oliver Nutter
This breaks tests using this path on JRuby because the `jruby` executable turns into `jjruby` after the sub. https://github.com/ruby/io-console/commit/e5951aa34c
2020-01-18[ruby/io-console] Update the minimum requirement of Ruby versionHiroshi SHIBATA
https://github.com/ruby/io-console/commit/73e7b6318a
2020-01-17Update documentation for Array/Hash Argument section of methods.rdocAdam Isom
Notes: Merged: https://github.com/ruby/ruby/pull/2844
2020-01-17.github/workflows/cygwin.yml: RemovedYusuke Endoh
There is no active maintainer for cygwin. The CI failure is too noisy. [Misc #16407]
2020-01-17hash.c: Add a feature to manipulate ruby2_keywords flagYusuke Endoh
It was found that a feature to check and add ruby2_keywords flag to an existing Hash is needed when arguments are serialized and deserialized. It is possible to do the same without explicit APIs, but it would be good to provide them as a core feature. https://github.com/rails/rails/pull/38105#discussion_r361863767 Hash.ruby2_keywords_hash?(hash) checks if hash is flagged or not. Hash.ruby2_keywords_hash(hash) returns a duplicated hash that has a ruby2_keywords flag, [Bug #16486] Notes: Merged: https://github.com/ruby/ruby/pull/2818
2020-01-17marshal.c: Support dump and load of a Hash with the ruby2_keywords flagYusuke Endoh
It is useful for a program that dumps and load arguments (like drb). In future, they should deal with both positional arguments and keyword ones explicitly, but until ruby2_keywords is deprecated, it is good to support the flag in marshal. The implementation is similar to String's encoding; it is dumped as a hidden instance variable. [Feature #16501] Notes: Merged: https://github.com/ruby/ruby/pull/2830
2020-01-17Added test for f38b3e8c707ebdcad05aa9485cf1760640b74fbbNobuyoshi Nakada
2020-01-17Update dependenciesNobuyoshi Nakada
internal/rational.h needs internal/warnings.h with Apple clang, for `UNALIGNED_MEMBER_ACCESS`.
2020-01-17Update dependencies in makefiles againKazuhiro NISHIYAMA
patch from https://travis-ci.org/ruby/ruby/jobs/638231960