aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rb_thread_create now free from ANYARGS卜部昌平2019-08-274-5/+5
| | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_thread_create, which seems very safe to do.
* rb_proc_new / rb_fiber_new now free from ANYARGS卜部昌平2019-08-275-13/+13
| | | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_proc_new / rb_fiber_new, and applies RB_BLOCK_CALL_FUNC_ARGLIST wherever necessary.
* rb_catch now free from ANYARGS卜部昌平2019-08-273-7/+7
| | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_catch, and fixes some bugs revealed by that.
* rb_ensure now free from ANYARGS卜部昌平2019-08-2717-37/+62
| | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_ensure, which also revealed many arity / type mismatches.
* rb_rescue / rb_rescue2 now free from ANYARGS卜部昌平2019-08-278-18/+20
| | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_rescue / rb_rescue2, which revealed many arity / type mismatches.
* rb_iterate now takes rb_block_call_func_t卜部昌平2019-08-273-3/+3
| | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit makes rb_iterate free from ANYARGS.
* decouple compile.c usage of imemo_ifunc卜部昌平2019-08-277-36/+56
| | | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from struct vm_ifunc, but in doing so we also have to decouple the usage of this struct in compile.c, which (I think) is an abuse of ANYARGS.
* #define RB_BLOCK_CALL_FUNC_STRICT 1卜部昌平2019-08-273-10/+6
| | | | | | After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. Let's start from making rb_block_call_func_t strict, and apply RB_BLOCK_CALL_FUNC_ARGLIST liberally.
* fix function prototype mismatch of rb_block_call卜部昌平2019-08-271-2/+2
| | | | Nobu missed it in f0e73fc9862c8d2c57a89349fb79012b826b8245.
* delete rb_method_defined_by declaration.卜部昌平2019-08-271-1/+0
| | | | Ko1 missed this in d5893b91faa7dc77ca6c9728d1054dabd757aead.
* Revert "Explain which test task"Nobuyoshi Nakada2019-08-272-4/+4
| | | | | | This reverts commit 9bc1667a188392b94971b9b96507af76cbd5f413. `name` lines are not expanded.
* .github/workflows/coverage.yml: add a cron job for coverage in ActionsYusuke Endoh2019-08-271-0/+68
|
* Explain which test taskNobuyoshi Nakada2019-08-272-4/+4
|
* Use array indexing with considering clang's feelingNobuyoshi Nakada2019-08-271-1/+1
| | | | | | | | | | | | | | | | | ``` In file included from sprintf.c:1256: ./vsnprintf.c:833:8: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] IS_PRI_EXTRA_MARK(fmt)) { ^~~~~~~~~~~~~~~~~~~~~~ ./vsnprintf.c:826:34: note: expanded from macro 'IS_PRI_EXTRA_MARK' strncmp((s)+1, PRI_EXTRA_MARK+1, \ ~~~~~~~~~~~~~~^~ ./vsnprintf.c:833:8: note: use array indexing to silence this warning ./vsnprintf.c:826:34: note: expanded from macro 'IS_PRI_EXTRA_MARK' strncmp((s)+1, PRI_EXTRA_MARK+1, \ ^ 1 warning generated. ```
* compile.c: remove const from the first argument of dladdrYusuke Endoh2019-08-271-1/+1
| | | | Unfortunately, dladdr accepts void*, not const void*, in Solaris.
* signal.c: Don't mark ruby_abort as NORETURN on SolarisYusuke Endoh2019-08-271-0/+2
| | | | | | | | | | | to suppress a warning. ``` signal.c: In function 'ruby_abort': signal.c:987:1: warning: 'noreturn' function does return } ^ ```
* Fix the appropriate C++ compiler in OS X selectionKazuhiro NISHIYAMA2019-08-271-5/+5
| | | | | Merge space and slash to character class and add missing `CXX=` before `=g++-4.2` at 5e10cb04e88c8a95ee44f6cad2bdf264e0dff92a
* Added license comment [Bug #12230] [ci skip]Nobuyoshi Nakada2019-08-271-0/+1
|
* Remove duplicated delegationaycabta2019-08-271-1/+0
|
* Delegete an instance method to a class method correctlyaycabta2019-08-271-1/+1
|
* this iv table should also use the new update functionAaron Patterson2019-08-261-1/+1
|
* Save value to @ambiguous_width because of a accessoraycabta2019-08-271-3/+3
|
* Pick lib/readline.rb from ruby/relineaycabta2019-08-271-1/+2
|
* The "private" doesn't make sence for class methods and a constantaycabta2019-08-271-2/+0
|
* Use preposing "private" to define methodsaycabta2019-08-271-6/+4
|
* Adjust method forwardings of Relineaycabta2019-08-271-13/+19
|
* Try only updating hash value referencesAaron Patterson2019-08-261-1/+36
| | | | | | | I'm afraid the keys to this hash are just integers, and those integers may look like VALUE pointers when they are not. Since we don't mark the keys to this hash, it's probably safe to say that none of them have moved, so we shouldn't try to update the references either.
* Make `gc_update_table_refs` match `mark_tbl_no_pin` a little more closelyAaron Patterson2019-08-261-2/+4
| | | | | This commit just makes `gc_update_table_refs` match `mark_tbl_no_pin` more closely.
* Fix use_lib_reline for test/readlineaycabta2019-08-271-1/+4
|
* Remove .freeze.manga_osyo2019-08-271-2/+2
|
* Add test with encoding.manga_osyo2019-08-271-10/+10
|
* Change to test file path.manga_osyo2019-08-271-0/+0
|
* Add support Windows in CI.manga_osyo2019-08-271-8/+8
|
* Add test reline.manga_osyo2019-08-271-0/+242
|
* Fix `Reline::Windows`.manga_osyo2019-08-271-1/+1
|
* Refactoring Reline.manga_osyo2019-08-274-634/+323
|
* Fix reference core method.manga_osyo2019-08-271-2/+2
|
* Remove test_mode in `lib/reline`.manga_osyo2019-08-272-7/+12
|
* Refactoring Reline accessor.manga_osyo2019-08-272-0/+307
|
* * 2019-08-27 [ci skip]git2019-08-271-1/+1
|
* Handle binding.irb for frozen objects and BasicObjects using a delegateJeremy Evans2019-08-271-1/+30
| | | | Fixes Ruby Bug 13264
* Move private call without arguments inside methodJeremy Evans2019-08-271-1/+1
| | | | | | This code did not have the desired effect. I'm not sure if irb_binding is supposed to be private or not. If not, the private call can just be removed.
* Expand JOBS instead of meaningless export (#2402)Kazuhiro NISHIYAMA2019-08-261-7/+3
| | | | | | | | | * Expand JOBS instead of meaningless export * Remove -j option in TESTOPTS of test-bundled-gems https://github.com/ruby/ruby/runs/203129516#step:10:167 > invalid option: -j3
* Limit ChangeLog entriesNobuyoshi Nakada2019-08-261-3/+8
| | | | | Since the previous release date, when the starting message is not found.
* Show MFLAGS to check `Set ENV` in .github/workflows/ubuntu.ymlKazuhiro NISHIYAMA2019-08-261-0/+1
|
* CPPFLAGS is not needed for linkNobuyoshi Nakada2019-08-261-1/+1
|
* Moved INCFLAGS to XCFLAGS from CPPFLAGS as well as mswinNobuyoshi Nakada2019-08-263-5/+5
| | | | Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now.
* Add INCFLAGS for fake.rbNobuyoshi Nakada2019-08-261-1/+1
| | | | | INCFLAGS is not included in CPPFLAGS on mswin, not to be exported to rbconfig.rb.
* Removed unnecessary flags for fake.rbNobuyoshi Nakada2019-08-261-1/+1
| | | | | | Flags for ruby core such as warning and `_FORTIFY_SOURCE` macro are not necessary to make fake.rb, except for `RUBY_EXPORT` macro which prevents to include ruby/backward.h.
* Added in-srcdir macro [ci skip]Nobuyoshi Nakada2019-08-261-1/+3
|