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

66670 Коммитов

Автор SHA1 Сообщение Дата
S-H-GAMELINKS 9952e9358e Refactor rb_str_export and rb_str_export_locale function's 2021-07-07 12:31:43 +09:00
git b1b7f997ae * 2021-07-07 [ci skip] 2021-07-07 09:48:59 +09:00
Aaron Patterson 2599d1a8df Store the dup'd CDHASH in the object list during IBF load
Since b2fc592c30 nothing was holding a reference to the dup'd CDHASH
during IBF loading.  If a GC happened to run during IBF load then the
copied hash wouldn't have anything to keep it alive.  We don't really
want to keep the originally loaded CDHASH hash, so this patch just
overwrites the original hash with the copied / modified hash.

[Bug #17984] [ruby-core:104259]
2021-07-06 17:48:40 -07:00
Nobuyoshi Nakada 91258ed449
Enable libruby-relative on FreeBSD 2021-07-06 21:26:14 +09:00
Nobuyoshi Nakada 166d148355
Fix check for malloc_conf when no library is required 2021-07-06 21:02:41 +09:00
Nobuyoshi Nakada c5e6fa4853
Moved native coroutine type checking message
Not to be interleaved by fallback checking messages
2021-07-06 21:02:40 +09:00
Nobuyoshi Nakada afd4cfcf22
Try "so" attribute if "smso" is not found 2021-07-06 21:02:40 +09:00
Hiroshi SHIBATA 9accb92ba1
Bump up Rake-13.0.4 2021-07-06 20:27:12 +09:00
Hiroshi SHIBATA 02a3cac658 [ruby/rdoc] Bump version to 6.3.2
https://github.com/ruby/rdoc/commit/0a3a674583
2021-07-06 11:02:14 +09:00
Nobuyoshi Nakada 8a5e161cd9
Set ENCSTATIC in rbconfig.rb [Bug #17929] 2021-07-06 02:13:56 +09:00
Nobuyoshi Nakada eecc4570cd
Found library is not usable if the header is not found 2021-07-06 01:17:38 +09:00
git e359d637ee * 2021-07-06 [ci skip] 2021-07-06 01:16:04 +09:00
Nobuyoshi Nakada 1dfe75b0be
Fixed 'maybe_unused' attribute
```
../../../src/ext/bigdecimal/bigdecimal.c:303:5: error: 'maybe_unused' attribute cannot be applied to types
    ENTER(1);
    ^
```
2021-07-06 01:13:54 +09:00
Nobuyoshi Nakada 3db7f6353f
Suppress unused-but-set-variable warning 2021-07-06 00:09:27 +09:00
Nobuyoshi Nakada 3dacc14fd3 [ruby/rdoc] Fix links without paths
https://github.com/ruby/rdoc/commit/424bd5db4d
2021-07-05 11:34:37 +09:00
Nobuyoshi Nakada f88a9097a4 [ruby/rdoc] Fix for explicit http link
https://github.com/ruby/rdoc/commit/caf234665c
2021-07-05 11:34:35 +09:00
Nobuyoshi Nakada 7c8aa0a5d2 [ruby/rdoc] Allow a label in a link to another document text
https://github.com/ruby/rdoc/commit/85bb2d33bb
2021-07-05 11:34:33 +09:00
Nobuyoshi Nakada 46ab28d6c9 [ruby/rdoc] Fix assertions which look very likely unintended
https://github.com/ruby/rdoc/commit/dc7c890a3d
2021-07-05 11:34:31 +09:00
aycabta caa123b50e [ruby/rdoc] Support ActiveSupport::Concern.included
ref. 168ddaa08a/activerecord/lib/active_record/core.rb (L9-L20)

https://github.com/ruby/rdoc/commit/a2d651dade

Co-authored-by: Fumiaki MATSUSHIMA <mtsmfm@gmail.com>
2021-07-05 11:34:29 +09:00
Nobuyoshi Nakada 2f3edf28f3 [ruby/rdoc] Prefer omit to pend
These conditions are not temporary, rather platform dependent.

https://github.com/ruby/rdoc/pull/815#discussion_r654660411

https://github.com/ruby/rdoc/commit/92545fa250
2021-07-05 11:34:27 +09:00
Ulysse Buonomo ec9a9af375 [ruby/rdoc] Fix chained inclusion ancestors_of
Fixes #814

Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com>

https://github.com/ruby/rdoc/commit/b45f747216
2021-07-05 11:34:25 +09:00
xstnztk c7d1989986 [ruby/rdoc] Document 'ruby:' to show core documentation in ri
ri supports 'ruby:' as a kind of "pseudo gem name" to display files of the core Ruby documentation such as syntax and NEWS. Add the appropriate documentation to the description of options shown by "ri --help".

https://github.com/ruby/rdoc/commit/a0e5df6702
2021-07-05 11:34:22 +09:00
Nobuyoshi Nakada cca2f7ab14
programs will be made from exts
`programs` after `exts` overwrites programs built with extension
libraries when static-linked-ext.
2021-07-05 11:17:42 +09:00
git e127c85fac * 2021-07-05 [ci skip] 2021-07-05 10:22:42 +09:00
Nobuyoshi Nakada 0a32cefabd
Add domain check macros 2021-07-04 22:15:59 +09:00
Nobuyoshi Nakada 2488589b2f
Removed extra double quotes from domain error messages 2021-07-04 15:28:25 +09:00
Nobuyoshi Nakada a73f13c907
[DOC] `Hash.[]` returns a hash with no default value/proc [ci skip] 2021-07-04 14:58:15 +09:00
git f810c007cf * 2021-07-04 [ci skip] 2021-07-04 11:31:21 +09:00
Nobuyoshi Nakada eaa1c3190a
[Win32] Fix assembler name when cross compiling
Hostx64\x86\nmake.exe sets AS to ml64 which targets amd64, but we
need assembler for x86.
2021-07-04 11:17:01 +09:00
Nobuyoshi Nakada ac6924e10e
goruby.c: include golf_prelude.c to get rid of overwriting EXTOBJS 2021-07-03 22:39:14 +09:00
Nobuyoshi Nakada 2d3572a154
Separate toolchain dependent test 2021-07-03 22:11:24 +09:00
Samuel Williams 71146bd4a3 Remove copy coroutine build rule. 2021-07-03 22:50:04 +12:00
git 6f85c9d51c * 2021-07-03 [ci skip] 2021-07-03 12:54:28 +09:00
Nobuyoshi Nakada ac86fcbfd0
Removed extinit.o from main programs
It is included in libruby, which is linked into the main programs.
2021-07-03 12:52:46 +09:00
Nobuyoshi Nakada 6d8422659a
Fix linking bundled zlib
* Prefix "./" to the import library name to expanded when static
  linking exts.

* Copy zlib shared library to the top build directory.
2021-07-03 12:52:46 +09:00
Nobuyoshi Nakada 287fb680e2
Library arguments to VC are bare file names 2021-07-03 12:52:46 +09:00
Nobuyoshi Nakada 1ac228378c
Use $ignore_error defined in mkmf.rb 2021-07-03 12:52:46 +09:00
Yusuke Endoh 3a95834739 [ruby/error_highlight] Suppress SyntaxError during RubyVM::AST.of
When the original source code is erb, RubyVM::AST.of does not work well.
https://github.com/rails/rails/issues/42678.

https://github.com/ruby/error_highlight/commit/b1572761a6
2021-07-02 16:48:20 +09:00
Kazuhiro NISHIYAMA e105d93b4f
Fix default prompt mode in doc/irb/irb.rd.ja 2021-07-02 13:23:20 +09:00
Nobuyoshi Nakada 8ebb5e23eb Keep GC disabled until VM bootstrap has done [Bug #17583] 2021-07-01 18:49:17 -07:00
Samuel Williams 1862d961a9 Ignore dead threads in `coroutine_join`. 2021-07-02 12:36:14 +12:00
git b8da141d32 * 2021-07-02 [ci skip] 2021-07-02 06:47:55 +09:00
Jeremy Evans e8933fda0c Remove gdbm/dbm related code from CI
The related extensions have been removed.
2021-07-01 14:47:31 -07:00
Martin Dürst f6539202c5 - add regression tests for U+6E7F (湿) in ISO-2022-JP
In ISO-2022-JP, the bytes use to code are the same as those for "<>".
  This adds regression tests to make sure that these bytes, when representing
  湿, are NOT escaped with encode("ISO-2022-JP, xml: :text) or similar.
  These are additional regression tests for #12052.
2021-07-01 17:33:43 +09:00
Nobuyoshi Nakada 9ca3051660
[DOC] fixed the default value of flags [ci skip] 2021-07-01 14:45:47 +09:00
Nobuyoshi Nakada 9692aeedf1
[DOC] expanded `pattern`s in examples of File.fnmatch [ci skip] 2021-07-01 14:45:47 +09:00
Samuel Williams 1467328edc
More general matrix "configure" parameter, add `--with-coroutine=pthread`. 2021-07-01 11:23:03 +12:00
Samuel Williams 42130a64f0
Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
Nobuyoshi Nakada 9c9531950c
rbinstall.rb: get rid of making directories when dryrun 2021-07-01 06:42:00 +09:00
Keiko Kaneko 8ee24840c8 [ruby/irb] Update ls.rb without requiring Set, because Set is one of standard libraries
https://github.com/ruby/irb/commit/7092ad2ab5
2021-07-01 05:16:31 +09:00