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

67884 Коммитов

Автор SHA1 Сообщение Дата
Hiroshi SHIBATA c18e953937 Move MiniTest::Unit to under Test::Unit::Runner 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 78ec066347 Use CoreAssertions instead of Assertions 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 48933a3409 Added default test-class for parallel tests 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA e4b5ac9b9a Use Test::Unit namespace 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA df86d78a26 Use self class for diff 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 3e32412e08 Fixed broken runner for `make test-all` 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 871e7b5f55 Use MiniTest 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 7456cbdd09 Move test_order under the Test::Unit::TestCase 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 93c44c4ed2 Move constants under the TestCase 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 54d2d70629 Migrate MiniTest::Unit::TestCase class under the Test::Unit 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 8431c718bb Removed needless compatibility for MiniTest 5 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 77763d4940 Removed needless alias about Minitest 2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA 1bec4f251d Move MiniTest::Assertions to Test::Unit::Assertions 2021-09-11 08:48:03 +09:00
Nobuyoshi Nakada cd829bb078 Remove printf family from the mjit header
Linking printf family functions makes mjit objects to link
unnecessary code.
2021-09-11 08:41:32 +09:00
Burdette Lamar 967b9743fa
Enhanced RDoc for Enumerable (#4808)
#to_a
    #to_h
    #inject
2021-09-10 17:21:21 -05:00
git c09f8e56bc * 2021-09-11 [ci skip] 2021-09-11 04:41:38 +09:00
aycabta 3e038ab1c7 [ruby/irb] Ignore invalid 3 colons in completion
https://github.com/ruby/irb/commit/5e29e3e39c
2021-09-11 04:41:20 +09:00
Nobuyoshi Nakada cfbf2bde40
Remove unused argument 2021-09-10 21:26:16 +09:00
卜部昌平 cb4e2cb55a .github/workflows/compilers.yml: disable shared for LTO
LTO is about static links.  Makes no sense to have DLLs.
2021-09-10 20:00:06 +09:00
卜部昌平 0de84bb763 .github/workflows/baseruby.yml: check Ruby 3.0
Why not?
2021-09-10 20:00:06 +09:00
卜部昌平 f752382688 spec/ruby/optional/capi/ext: must support GCC 5
What a silly bug.
2021-09-10 20:00:06 +09:00
卜部昌平 b0f0120267 spec/ruby/optional/capi/ext: support ruby < 3
RBIMPL_WARNING_PUSH is a 3.0 feature.  Rubyspec OTOH has to support 2.x.
2021-09-10 20:00:06 +09:00
卜部昌平 b563b9c48f spec/ruby/optional/capi/ext: suppress warnings
These warnings are okay here.
2021-09-10 20:00:06 +09:00
卜部昌平 488ef54f0b .github/workflows/compilers.yml: --enable-shared
Noticed that defs/gmake.mk has `exts: rubyspec-capiext` dependency only
when $ENABLE_SHARED is true.  This one adds extra tests so we basically
welcome.  Why not default it on.
2021-09-10 20:00:06 +09:00
卜部昌平 a310f896db common.mk: update dependencies 2021-09-10 20:00:06 +09:00
卜部昌平 64f271241d suppress GCC's -Wnonnull-compare
This particular NULL check must be a good thing to do both statically
and dynamically.
2021-09-10 20:00:06 +09:00
卜部昌平 c39dd708b5 suppress GCC's -Wmissing-attribute
I was not aware of this because I use clang these days.
2021-09-10 20:00:06 +09:00
卜部昌平 6522b51ce5 rb_ary_new_from_values: can take NULLs
Explicit check done at runtime.
2021-09-10 20:00:06 +09:00
卜部昌平 dddc618d30 suppress GCC's -Wsuggest-attribute=format
I was not aware of this because I use clang these days.
2021-09-10 20:00:06 +09:00
卜部昌平 fd12bc1896 ruby_scan_oct, ruby_scan_hex: are not pure
Silly bug, they write back consumed bytes through passed pointers.  Must
never be pure functions.

ruby_scan_oct does not refer any static variables so it can still be
__declspec(noalias), while ruby_scan_hex is not because it reads from
ruby_digit36_to_number_table.
2021-09-10 20:00:06 +09:00
卜部昌平 de2afff1b9 dln.c: add missing dependency 2021-09-10 20:00:06 +09:00
卜部昌平 4f03930d04 ruby_cleanup: fix MSVC compile error
See https://ci.appveyor.com/project/ruby/ruby/builds/40686153/job/1wihxw5m5kybtohj
2021-09-10 20:00:06 +09:00
卜部昌平 679f4b895b template/Doxyfile.tmpl: EXTRACT_ALL=NO
This prevents file-static functions/variables be listed in the CAPI
documents.  An entity shall be placed inside of a file that contains
`@file` doxygen comment, in order for it to be documented. [ci skip]
2021-09-10 20:00:06 +09:00
sonots 0e3dae78b3 template/Doxyfile.tmpl: EXTRACT_STATIC: YES [Bugs #14037]
I often feel that C API documents are lacked in C source codes,
especially for static functions. I propose to turn EXTRACT_STATIC = YES
flag of Doxygen to YES, and write document comments for static functions
as much as possible.

* template/Doxyfile.tmpl: EXTRACT_STATIC: YES [Bugs #14037]
2021-09-10 20:00:06 +09:00
卜部昌平 bbe7049813 template/Doxyfile.tmpl: rethink about exclusions
I guess we don't want documents for C API of extension libraries?  They
are never intended to provide C APIs anyways.

We could revisit this decision later. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 676073b62e include/ruby.h: skip doxygen
Everything defined in this header file are for backwards compatibility
only.  No one practically need them any longer. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 4702b59f21 include/ruby/backward.h: skip doxygen
There is nothing interesting here. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 6420db8ab7 include/ruby/debug.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 1563526edf include/ruby/defines.h: add doxygen
The only thing that remains in this file which is still worth
documenting is the RUBY macro.  Everything else were split into many
files in
1ff4cee2b1

[ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 6e8e2b467b forgot to delete a redundant comment 2021-09-10 20:00:06 +09:00
卜部昌平 3ca688aeb0 include/ruby/encoding.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 84b96298b3 include/ruby/fiber/scheduler.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 809138fe4b include/ruby/io.h: add doxyen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 6204b0dd99 include/ruby/memory_view.h: add doxygen
I'm just applying doc/memory_view.md as a doxygen comment. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 5a79439a68 include/ruby/missing.h: skip doxygen
We don't want to document e.g. M_PI, which is an ISO C thing.
2021-09-10 20:00:06 +09:00
卜部昌平 56c0475036 include/ruby/ractor.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 2c4dccad33 include/ruby/random.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 1c9106da8b include/ruby/re.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
卜部昌平 4c14c55505 include/ruby/regex.h: skip doxygen
It seems this is a part of Onigmo's API, not Ruby's.
2021-09-10 20:00:06 +09:00
卜部昌平 e18bc14a05 include/ruby/ruby.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00