summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-14Consitified `rb_scan_args_set`Nobuyoshi Nakada
2020-02-14Fix typos and add a space [ci skip]Kazuhiro NISHIYAMA
2020-02-14Enhanced doc for ENVBurdette Lamar
* More on ENV examples Notes: Merged: https://github.com/ruby/ruby/pull/2905 Merged-By: nobu <nobu@ruby-lang.org>
2020-02-14* 2020-02-14 [ci skip]git
2020-02-14test/irb/test_completion.rb: suppress a warning: unused literal ignoredYusuke Endoh
2020-02-13spec/ruby/library/socket/constants/constants_spec.rb: skip on AndroidYusuke Endoh
IP_MAX_MEMBERSHIPS seems not to be defined on Android
2020-02-13spec/ruby/library/socket/addrinfo/getnameinfo_spec.rb: skip on AndroidYusuke Endoh
FreeBSD's GETNAMEINFO(3) says: > If a link-layer address or UNIX-domain address is passed to > getnameinfo(), its ASCII representation will be stored in host. The > string pointed to by serv will be set to the empty string if non-NULL; > flags will always be ignored. Android seems to behave like FreeBSD.
2020-02-13spec/ruby/library/etc/: skip the specs related to group on AndroidYusuke Endoh
User/group system on Android seems different from normal Linux.
2020-02-13spec/ruby/library/socket/addrinfo: skip the specs that uses SOCK_SEQPACKET ↵Yusuke Endoh
on Android SOCK_SEQPACKET seems not to be supported on Android
2020-02-13spec/ruby/library/syslog: skip the specs that use LOG_PERROR on AndroidYusuke Endoh
LOG_PERROR is defined on Android, but not implemented yet. See also f3c4e620ac612eab6370b1fb82feaa4e651542bb.
2020-02-13spec/ruby: skip the specs that use /etc/passwd on AndroidYusuke Endoh
There is no /etc/passwd on Android
2020-02-13spec/ruby/library/etc/confstr_spec.rb: skip on AndroidYusuke Endoh
There seems to be no _CS_PATH on Android.
2020-02-13spec/ruby/core/process/spawn_spec.rb: Use / instead of /tmpYusuke Endoh
because there is no /tmp on Android.
2020-02-13spec/ruby/core/process/clock_getres_spec.rb: skip on AndroidYusuke Endoh
in the same way as FreeBSD and OpenBSD. I guess that the spec makes too strong assumption.
2020-02-13spec/ruby/core/encoding/locale_charmap_spec.rb: locale_charmap is UTF-8 on ↵Yusuke Endoh
Android nl_langinfo(CODESET) always returns UTF-8 on Android, regardless to LC_ALL=C.
2020-02-13spec/ruby/core/dir/home_spec.rb: exclude AndroidYusuke Endoh
I couldn't find a robust way to get the home path except ENV["HOME"] on Android Termux.
2020-02-13Move the English entries to the default gems at docsHiroshi SHIBATA
2020-02-13Promote English to the default gems.Hiroshi SHIBATA
2020-02-13Add "test-all TESTS=--repeat-count=2" to test_taskKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2906
2020-02-13Get rid of warnings/exceptions at cleanupNobuyoshi Nakada
After the encoding index instance variable is removed when all instance variables are removed in `obj_free`, then `rb_str_free` causes uninitialized instance variable warning and nil-to-integer conversion exception. Both cases result in object allocation during GC, and crashes.
2020-02-13support multi-run test for test/did_you_mean/test_verbose_formatter.rbS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/2894
2020-02-13Fix remove warning & support multi-run test for ↵S-H-GAMELINKS
test/psych/visitors/test_to_ruby.rb Notes: Merged: https://github.com/ruby/ruby/pull/2893
2020-02-13support multi-run test for test/webrick/test_filehandler.rbS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/2896
2020-02-13test/rubygems/test_gem_commands_setup_command.rb: Allow /bin/envYusuke Endoh
Follow up of 65201c054a90c8e7beb8fe1e6d0006541ac33449
2020-02-13skip SEGV test if RUBY_ON_BUG is specifiedKoichi Sasada
2020-02-13should be compared with called_idKoichi Sasada
me->called_id and me->def->original_id can be different sometimes so we should compare with called_id, which is mtbl's key. (fix GH-PR #2869)
2020-02-13* 2020-02-13 [ci skip]git
2020-02-13Use inline cache for super callsJohn Hawthorn
Notes: Merged: https://github.com/ruby/ruby/pull/2869
2020-02-12Move the entries of tempfile on docsHiroshi SHIBATA
2020-02-12Promote tmpdir to the default gemsHiroshi SHIBATA
2020-02-12Copy non-inlined encoding indexNobuyoshi Nakada
2020-02-12Make temporary lock string encoding freeNobuyoshi Nakada
As a temporary lock string is hidden, it can not have instance variables, including non-inlined encoding index.
2020-02-12Move the entries of tempfile on docsHiroshi SHIBATA
2020-02-12Promote tempfile to the default gems.Hiroshi SHIBATA
2020-02-12Add test_complete_symbolaycabta
The previous version of the test method used a symbol, ":abcdefg" to complete but longer symbols that can be completed are defined by other test methods of other libs.
2020-02-12Add array.rb to .documentS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/2904
2020-02-12test/rubygems: Try not only /usr/bin/env but also /bin/envYusuke Endoh
RubyGems chooses available one from the two https://github.com/rubygems/rubygems/blob/20b0d609484df2b514954ba9ef890a7cbdd01d18/lib/rubygems/installer.rb#L38 So, it is good not to hard-code /usr/bin/env in tests.
2020-02-12test/etc/test_etc.rb: skip some tests on AndroidYusuke Endoh
Android user management seems different from normal Unix system.
2020-02-12Workaround of instance variable on hidden objectNobuyoshi Nakada
Since 9d9aea7fe50f6340829faa105d9ffe08ebaee658, generic instance variables need `iv_index_tbl` in the object's class. As hidden objects, however, have no class, access to the variables causes a segfault. Get rid of that segfault by raising an exception, for the time being.
2020-02-12Isolate the test for Encoding#replicateNobuyoshi Nakada
It has global side effect which cannot be reverted.
2020-02-12Revert "[ruby/irb] Add test_complete_symbol"Hiroshi SHIBATA
This reverts commit 3af3431c2c145134996e66f3d8d9ade8ad81bde0.
2020-02-12[ruby/irb] Use 0.step instead of (..0).each for Ruby 2.5aycabta
https://github.com/ruby/irb/commit/5d628ca40e
2020-02-12[ruby/irb] Fix auto indent with closed braceaycabta
A closed brace in auto-indent shouldn't affect the next brace in the same line, but it behaves like below: p() { } It's a bug. https://github.com/ruby/irb/commit/fbe59e344f
2020-02-12[ruby/irb] Check doc namespace correctlyaycabta
IRB::InputCompletor::PerfectMatchedProc crashes when doc not found because a variable name was incorrect. https://github.com/ruby/irb/commit/889fd4928f
2020-02-12[ruby/irb] Add test_complete_symbolaycabta
https://github.com/ruby/irb/commit/dbbf086c1f
2020-02-12Fixed a potential memory leakNobuyoshi Nakada
`rb_str_new_cstr` can raise a `NoMemoryError`.
2020-02-12Removed unnecessary conversionNobuyoshi Nakada
Paths in `rb_execarg_t` should have been converted already.
2020-02-11Make yield in singleton class definitions in methods a SyntaxErrorJeremy Evans
This behavior was deprecated in 2.7 and scheduled to be removed in 3.0. Calling yield in a class definition outside a method is now a SyntaxError instead of a LocalJumpError, as well. Notes: Merged: https://github.com/ruby/ruby/pull/2901
2020-02-11Add backwards compatibility example macro for rb_eval_cmd_kwd [ci skip]Jeremy Evans
2020-02-12* 2020-02-12 [ci skip]git