Граф коммитов

57510 Коммитов

Автор SHA1 Сообщение Дата
Kazuhiro NISHIYAMA 682aaf6af5
Replace numbered parameters with named parameters [ci skip] 2019-08-29 14:35:09 +09:00
Nobuyoshi Nakada 761346a960
Show the previous definition location,
when reopened class/module redefinition mismatched the previous
definition.  [Feature #11460]
2019-08-29 13:24:00 +09:00
Nobuyoshi Nakada d3e0bc07e2
Fixed a comment [ci skip]
A range literal in conditional expression is turned into a
flip-flop, as a Range object is never falsy and does not make a
sense.
2019-08-29 11:23:16 +09:00
Nobuyoshi Nakada 1cf5a31e7a
Aseert exception at negative step for non-endless range too 2019-08-29 11:16:17 +09:00
Nobuyoshi Nakada d92289cd8d
Revert "Remove warnings of flip-flop deprecation from tests and specs"
This reverts commit bf7a32d220.

flip-flop is no longer deprecated.

[Feature #5400]
2019-08-29 11:10:45 +09:00
Jeremy Evans cd0e208963 Document {n}? regexp pattern is optional and not non-greedy [ci skip]
While not consistent with {n,}?, {,m}?, and {n,m}?, it is arguably
more useful, as otherwise the ? would have no effect.

Fixes [Bug #15583]
2019-08-28 11:50:33 -07:00
aycabta e82719c651 Remove jquery.js from file list of rdoc.gemspec 2019-08-28 19:47:22 +09:00
Nobuyoshi Nakada c1d0b6adfc
Revert "Treat RUBY_REVISION as an integer on old rubies"
This reverts commit 6454808c52.

It is no longer needed, as `VCS::SVN#get_revisions` now returns
`Integer` as revision numbers, and `short_revision` should deal
with it.
2019-08-28 16:51:49 +09:00
Nobuyoshi Nakada b11d739444
Fix warnings
`_FILE_OFFSET_BITS` should be defined before system headers.
2019-08-28 16:51:48 +09:00
Nobuyoshi Nakada a506b7f35a Adjusted indents and supplied last commas
Fixed unmatched indent of the closing bracket for
`:irb_current_working_workspace`, and adjusted following elements.
2019-08-28 16:08:14 +09:00
NAKAMURA Usaku 2b55df7315
`revision` might be an Integer 2019-08-28 15:57:30 +09:00
nagachika ed8d2e1cfd tool/merger.rb: fix tag existence check with subversion. 2019-08-28 14:50:21 +09:00
Nobuyoshi Nakada c9dc569a94
Ensure the last and changed revisions as Integers 2019-08-28 12:32:43 +09:00
pavel 8e13da1ee8
optimize get_power2 [Feature #15631]
Merged: https://github.com/ruby/ruby/pull/2292
2019-08-28 11:29:49 +09:00
Kazuhiro NISHIYAMA 989e8ad322
Remove debug print [ci skip] 2019-08-28 10:34:56 +09:00
Kazuhiro NISHIYAMA 624a0ad44d
Use `set-env` instead of `grep` in each step 2019-08-28 10:07:54 +09:00
Kazuhiro NISHIYAMA 108dbb389b
Use JOBS again like macos.yml 2019-08-28 09:45:31 +09:00
Kazuhiro NISHIYAMA 330c2f7597
Change name to `Tests (test-bundled-gems)` 2019-08-28 09:41:14 +09:00
Kazuhiro NISHIYAMA 230f405479
Add name to autoconf 2019-08-28 09:38:52 +09:00
Kazuhiro NISHIYAMA 17c0ce3798
Remove GITHUB_SHA from jobs.<job_id>.steps.env
because default value overrides it.
https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
2019-08-28 09:20:07 +09:00
Kazuhiro NISHIYAMA 767992329e
Allow missing projectnumber [ci skip] 2019-08-28 09:15:40 +09:00
Kazuhiro NISHIYAMA d4de5e6459
Show projectnumber in current index.html and GITHUB_SHA 2019-08-28 09:13:43 +09:00
Aaron Patterson 932a471d38
Directly mark compile options from the AST object
`rb_ast_t` holds a reference to this object, so it should mark the
object.  Currently it is relying on the `mark_ary` on `node_buffer` to
ensure that the object stays alive.  But since the array internals can
move, this could cause a segv if compaction impacts the array.
2019-08-27 11:43:18 -07:00
Kazuhiro NISHIYAMA cbcad66741
Fix doxygen action
- Fix checkout error: `fatal: destination path '.' already exists and is not an empty directory.`
- Remove `GITHUB_SHA` in env, because set automatically
  https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
- Change minute from 0 to 20 for test soon
2019-08-28 02:16:28 +09:00
Kazuhiro NISHIYAMA 71e5871c3b
Run on schedule only and skip if not modified 2019-08-28 01:48:40 +09:00
aycabta f308ab2131 Remove jquery.js 2019-08-28 01:12:14 +09:00
Takashi Kokubun 88a37dc620
Stop passing CC_LIBS in compile_c_to_o
To fix "gcc: -lgcc: linker input file unused because linking not done" in
https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd65/ruby-master/log/20190826T200009Z.log.html.gz

Still I'm intentionally leaving CC_DLDFLAGS_ARGS because making compiler
options different might result in compile/link failure. (Of course
CC_DLDFLAGS_ARGS usually should not have compiler options, but it might
include by bad configure setup)

The same problem may exist in MJIT_LIBS used inside CC_LIBS as well, but
I just ignored that case because it impacts only MinGW / cygwin, hoping
that their users do not perform a wrong configure.
2019-08-28 00:56:15 +09:00
aycabta d8fa88294f Version 6.2.0 2019-08-28 00:48:12 +09:00
aycabta 39810b4035 Good bye jQuery 2019-08-28 00:48:12 +09:00
NAKAMURA Usaku 6454808c52
Treat RUBY_REVISION as an integer on old rubies 2019-08-28 00:19:25 +09:00
Takashi Kokubun dd032a5fb4
Make doxygen / coverage torelant to clone race
a little.

Doing both `git clone --depth=1` and `git reset --hard ${sha}` does not
make sense (the latter command either does nothing or just fails), so I
added non-1 value as a depth.

Maybe we don't need depth=50 for pull_request and schedule, so it's 10
for now.
2019-08-28 00:16:16 +09:00
git 9928a6a367 * 2019-08-28 [ci skip] 2019-08-28 00:12:01 +09:00
Nobuyoshi Nakada 6a0d2bc2af
Follows callback declaration updates 2019-08-28 00:09:14 +09:00
Takashi Kokubun 4209066f0e
Drop more unused configs from doxygen and coverage
workflows, because mame said he has never seen it.
2019-08-27 23:52:43 +09:00
Takashi Kokubun 3bed468e88
Omit unused matrix strategy from doxygen workflow 2019-08-27 23:49:36 +09:00
Nobuyoshi Nakada 2cd68a38d9
Short revision of SVN should be an Integer 2019-08-27 23:43:41 +09:00
Takashi Kokubun eaff19de2b
Fix rb_thread_create argument type
in response to the declaration change in
e3fc30564e.

Fixing the AppVeyor mswin CI failure:
https://ci.appveyor.com/project/ruby/ruby/builds/26980881/job/2j6h1qwjnbc8cpop

ref: https://github.com/ruby/ruby/pull/2404
2019-08-27 23:41:52 +09:00
Kazuhiro NISHIYAMA d806078237
Add graphviz for dot command 2019-08-27 18:46:16 +09:00
Yusuke Endoh 3ac0b75c45
Doxygen in GitHub Actions (#2406)
* .github/workflows/doxygen.yml: add a workflow for doxygen in Actions
2019-08-27 16:39:42 +09:00
卜部昌平 1663d347c9 delete `$` sign from C identifiers
They lack portability. See also
https://travis-ci.org/shyouhei/ruby/jobs/577164015
2019-08-27 15:52:26 +09:00
卜部昌平 19b6678132 rb_uninterruptible now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This function has only one call site
so adding appropriate prototype is trivial.
2019-08-27 15:52:26 +09:00
卜部昌平 bd8dc2561d struct MEMO now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  There is only one usage of
MEMO::u3::func in load.c (where void Init_Foobar(vodi) is registered)
so why not just be explicit.
2019-08-27 15:52:26 +09:00
卜部昌平 79d280a5e8 rb_ivar_foreach now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit adds a function
prototype for rb_ivar_foreach.  Luckily this change revealed no
problematic usage of the function.
2019-08-27 15:52:26 +09:00
卜部昌平 50f5a0a8d6 rb_hash_foreach now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit adds function prototypes
for rb_hash_foreach / st_foreach_safe.  Also fixes some prototype
mismatches.
2019-08-27 15:52:26 +09:00
卜部昌平 ae2dc3f217 rb_define_hooked_variable now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit uses rb_gvar_getter_t /
rb_gvar_setter_t for rb_define_hooked_variable /
rb_define_virtual_variable which revealed lots of function prototype
inconsistencies.  Some of them were literally decades old, going back
to dda5dc00cf.
2019-08-27 15:52:26 +09:00
卜部昌平 78628618da struct st_hash_type now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit adds function prototypes
for struct st_hash_type.  Honestly I don't understand why they were
commented out at the first place.
2019-08-27 15:52:26 +09:00
卜部昌平 6dd60cf114 st_foreach now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit deletes ANYARGS from
st_foreach.  I strongly believe that this commit should have had come
with b0af0592fd, which added extra
parameter to st_foreach callbacks.
2019-08-27 15:52:26 +09:00
卜部昌平 e3fc30564e rb_thread_create now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit deletes ANYARGS from
rb_thread_create, which seems very safe to do.
2019-08-27 15:52:26 +09:00
卜部昌平 bc3e7924bc rb_proc_new / rb_fiber_new now free from ANYARGS
After 5e86b005c0, 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.
2019-08-27 15:52:26 +09:00
卜部昌平 af5e256640 rb_catch now free from ANYARGS
After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit deletes ANYARGS from
rb_catch, and fixes some bugs revealed by that.
2019-08-27 15:52:26 +09:00