summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-27rb_ensure now free from ANYARGS卜部昌平
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.
2019-08-27rb_rescue / rb_rescue2 now free from ANYARGS卜部昌平
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.
2019-08-27rb_iterate now takes rb_block_call_func_t卜部昌平
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit makes rb_iterate free from ANYARGS.
2019-08-27decouple compile.c usage of imemo_ifunc卜部昌平
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.
2019-08-27#define RB_BLOCK_CALL_FUNC_STRICT 1卜部昌平
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.
2019-08-27fix function prototype mismatch of rb_block_call卜部昌平
Nobu missed it in f0e73fc9862c8d2c57a89349fb79012b826b8245.
2019-08-27delete rb_method_defined_by declaration.卜部昌平
Ko1 missed this in d5893b91faa7dc77ca6c9728d1054dabd757aead.
2019-08-27Revert "Explain which test task"Nobuyoshi Nakada
This reverts commit 9bc1667a188392b94971b9b96507af76cbd5f413. `name` lines are not expanded.
2019-08-27.github/workflows/coverage.yml: add a cron job for coverage in ActionsYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/2401
2019-08-27Explain which test taskNobuyoshi Nakada
2019-08-27Use array indexing with considering clang's feelingNobuyoshi Nakada
``` 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. ```
2019-08-27compile.c: remove const from the first argument of dladdrYusuke Endoh
Unfortunately, dladdr accepts void*, not const void*, in Solaris.
2019-08-27signal.c: Don't mark ruby_abort as NORETURN on SolarisYusuke Endoh
to suppress a warning. ``` signal.c: In function 'ruby_abort': signal.c:987:1: warning: 'noreturn' function does return } ^ ```
2019-08-27Fix the appropriate C++ compiler in OS X selectionKazuhiro NISHIYAMA
Merge space and slash to character class and add missing `CXX=` before `=g++-4.2` at 5e10cb04e88c8a95ee44f6cad2bdf264e0dff92a
2019-08-27Added license comment [Bug #12230] [ci skip]Nobuyoshi Nakada
2019-08-27Remove duplicated delegationaycabta
2019-08-27Delegete an instance method to a class method correctlyaycabta
2019-08-26this iv table should also use the new update functionAaron Patterson
2019-08-27Save value to @ambiguous_width because of a accessoraycabta
2019-08-27Pick lib/readline.rb from ruby/relineaycabta
2019-08-27The "private" doesn't make sence for class methods and a constantaycabta
2019-08-27Use preposing "private" to define methodsaycabta
2019-08-27Adjust method forwardings of Relineaycabta
2019-08-26Try only updating hash value referencesAaron Patterson
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.
2019-08-26Make `gc_update_table_refs` match `mark_tbl_no_pin` a little more closelyAaron Patterson
This commit just makes `gc_update_table_refs` match `mark_tbl_no_pin` more closely.
2019-08-27Fix use_lib_reline for test/readlineaycabta
2019-08-27Remove .freeze.manga_osyo
2019-08-27Add test with encoding.manga_osyo
2019-08-27Change to test file path.manga_osyo
2019-08-27Add support Windows in CI.manga_osyo
2019-08-27Add test reline.manga_osyo
2019-08-27Fix `Reline::Windows`.manga_osyo
2019-08-27Refactoring Reline.manga_osyo
2019-08-27Fix reference core method.manga_osyo
2019-08-27Remove test_mode in `lib/reline`.manga_osyo
2019-08-27Refactoring Reline accessor.manga_osyo
2019-08-27* 2019-08-27 [ci skip]git
2019-08-27Handle binding.irb for frozen objects and BasicObjects using a delegateJeremy Evans
Fixes Ruby Bug 13264
2019-08-27Move private call without arguments inside methodJeremy Evans
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.
2019-08-26Expand JOBS instead of meaningless export (#2402)Kazuhiro NISHIYAMA
* 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 Notes: Merged-By: znz
2019-08-26Limit ChangeLog entriesNobuyoshi Nakada
Since the previous release date, when the starting message is not found.
2019-08-26Show MFLAGS to check `Set ENV` in .github/workflows/ubuntu.ymlKazuhiro NISHIYAMA
2019-08-26CPPFLAGS is not needed for linkNobuyoshi Nakada
2019-08-26Moved INCFLAGS to XCFLAGS from CPPFLAGS as well as mswinNobuyoshi Nakada
Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now.
2019-08-26Add INCFLAGS for fake.rbNobuyoshi Nakada
INCFLAGS is not included in CPPFLAGS on mswin, not to be exported to rbconfig.rb.
2019-08-26Removed unnecessary flags for fake.rbNobuyoshi Nakada
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.
2019-08-26Added in-srcdir macro [ci skip]Nobuyoshi Nakada
2019-08-26uid_t and gid_t are narrower than VALUE.卜部昌平
Often uid / gid are 16 bit or 32 bit integers, while VALUE are 32 to 64 bits. They tend to differ in size. Because rb_ensure expects its callbacks to take VALUE arguments, narrowing must be done by hand, otherwise data corruption can happen depending on machine ABI.
2019-08-26rb_mjit_header.h is not worth documenting [ci skip]卜部昌平
This is an auto-generated header file that does not include anything interesting. Should skip generating CAPI documents.
2019-08-26Suppress a "clobbered" warningNobuyoshi Nakada