aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* spec/ruby/library/etc/confstr_spec.rb: skip on AndroidYusuke Endoh2020-02-131-1/+1
| | | | There seems to be no _CS_PATH on Android.
* spec/ruby/core/process/spawn_spec.rb: Use / instead of /tmpYusuke Endoh2020-02-131-1/+1
| | | | because there is no /tmp on Android.
* spec/ruby/core/process/clock_getres_spec.rb: skip on AndroidYusuke Endoh2020-02-131-1/+1
| | | | | in the same way as FreeBSD and OpenBSD. I guess that the spec makes too strong assumption.
* spec/ruby/core/encoding/locale_charmap_spec.rb: locale_charmap is UTF-8 on ↵Yusuke Endoh2020-02-131-5/+16
| | | | | | | Android nl_langinfo(CODESET) always returns UTF-8 on Android, regardless to LC_ALL=C.
* spec/ruby/core/dir/home_spec.rb: exclude AndroidYusuke Endoh2020-02-131-1/+1
| | | | | I couldn't find a robust way to get the home path except ENV["HOME"] on Android Termux.
* Move the English entries to the default gems at docsHiroshi SHIBATA2020-02-132-3/+4
|
* Promote English to the default gems.Hiroshi SHIBATA2020-02-132-0/+25
|
* Add "test-all TESTS=--repeat-count=2" to test_taskKazuhiro NISHIYAMA2020-02-131-1/+3
|
* Get rid of warnings/exceptions at cleanupNobuyoshi Nakada2020-02-133-0/+14
| | | | | | | | 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.
* support multi-run test for test/did_you_mean/test_verbose_formatter.rbS-H-GAMELINKS2020-02-131-0/+1
|
* Fix remove warning & support multi-run test for ↵S-H-GAMELINKS2020-02-131-1/+1
| | | | test/psych/visitors/test_to_ruby.rb
* support multi-run test for test/webrick/test_filehandler.rbS-H-GAMELINKS2020-02-131-0/+1
|
* test/rubygems/test_gem_commands_setup_command.rb: Allow /bin/envYusuke Endoh2020-02-131-9/+5
| | | | Follow up of 65201c054a90c8e7beb8fe1e6d0006541ac33449
* skip SEGV test if RUBY_ON_BUG is specifiedKoichi Sasada2020-02-131-0/+2
|
* should be compared with called_idKoichi Sasada2020-02-132-4/+11
| | | | | | 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 [ci skip]git2020-02-131-1/+1
|
* Use inline cache for super callsJohn Hawthorn2020-02-132-1/+30
|
* Move the entries of tempfile on docsHiroshi SHIBATA2020-02-122-3/+4
|
* Promote tmpdir to the default gemsHiroshi SHIBATA2020-02-122-0/+25
|
* Copy non-inlined encoding indexNobuyoshi Nakada2020-02-122-0/+8
|
* Make temporary lock string encoding freeNobuyoshi Nakada2020-02-123-4/+11
| | | | | As a temporary lock string is hidden, it can not have instance variables, including non-inlined encoding index.
* Move the entries of tempfile on docsHiroshi SHIBATA2020-02-122-3/+4
|
* Promote tempfile to the default gems.Hiroshi SHIBATA2020-02-122-0/+25
|
* Add test_complete_symbolaycabta2020-02-121-0/+6
| | | | | | 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.
* Add array.rb to .documentS-H-GAMELINKS2020-02-121-1/+1
|
* test/rubygems: Try not only /usr/bin/env but also /bin/envYusuke Endoh2020-02-122-9/+15
| | | | | | | | 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.
* test/etc/test_etc.rb: skip some tests on AndroidYusuke Endoh2020-02-121-2/+2
| | | | Android user management seems different from normal Unix system.
* Workaround of instance variable on hidden objectNobuyoshi Nakada2020-02-122-2/+17
| | | | | | | | 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.
* Isolate the test for Encoding#replicateNobuyoshi Nakada2020-02-121-0/+2
| | | | It has global side effect which cannot be reverted.
* Revert "[ruby/irb] Add test_complete_symbol"Hiroshi SHIBATA2020-02-121-6/+0
| | | | This reverts commit 3af3431c2c145134996e66f3d8d9ade8ad81bde0.
* [ruby/irb] Use 0.step instead of (..0).each for Ruby 2.5aycabta2020-02-121-1/+1
| | | | https://github.com/ruby/irb/commit/5d628ca40e
* [ruby/irb] Fix auto indent with closed braceaycabta2020-02-122-0/+15
| | | | | | | | | | | | 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
* [ruby/irb] Check doc namespace correctlyaycabta2020-02-122-3/+7
| | | | | | | IRB::InputCompletor::PerfectMatchedProc crashes when doc not found because a variable name was incorrect. https://github.com/ruby/irb/commit/889fd4928f
* [ruby/irb] Add test_complete_symbolaycabta2020-02-121-0/+6
| | | | https://github.com/ruby/irb/commit/dbbf086c1f
* Fixed a potential memory leakNobuyoshi Nakada2020-02-122-3/+3
| | | | `rb_str_new_cstr` can raise a `NoMemoryError`.
* Removed unnecessary conversionNobuyoshi Nakada2020-02-121-2/+0
| | | | Paths in `rb_execarg_t` should have been converted already.
* Make yield in singleton class definitions in methods a SyntaxErrorJeremy Evans2020-02-115-21/+29
| | | | | | | | 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.
* Add backwards compatibility example macro for rb_eval_cmd_kwd [ci skip]Jeremy Evans2020-02-111-0/+1
|
* * 2020-02-12 [ci skip]git2020-02-121-1/+1
|
* Remove rb_eval_cmdJeremy Evans2020-02-112-8/+0
| | | | | This was related to $SAFE, and was deprecated in 2.7. I missed it earlier when removing the other $SAFE-related code.
* Restart timer thread even after preparation failedNobuyoshi Nakada2020-02-112-2/+18
| | | | | If the timer thread is left stopped, memory crash or segfault can happen.
* Monitor is extention library nowHiroshi SHIBATA2020-02-112-3/+3
|
* Update the documentation for weakrefHiroshi SHIBATA2020-02-112-3/+4
|
* ignore revision.tmp with in-place buildHiroshi SHIBATA2020-02-111-0/+1
|
* Promote weakref to the default gemsHiroshi SHIBATA2020-02-113-1/+37
|
* Expose assert_no_memory_leak for weakrefHiroshi SHIBATA2020-02-112-45/+45
|
* Expose assert_normal_exit for weakrefHiroshi SHIBATA2020-02-112-106/+106
|
* * 2020-02-11 [ci skip]git2020-02-111-1/+1
|
* Removed unused variableNobuyoshi Nakada2020-02-111-8/+0
| | | | `generic_iv_tbl_compat` has not been utilized since 14d61a94ff01.
* Don't refer Date in the document for Time.Tanaka Akira2020-02-101-2/+3
|