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

72141 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 4cf155e007 [ruby/net-http] [DOC] Get rid of a RDoc bug
RDoc overrides class name by the assigned name unexpectedly when
assigned using a qualified class path.

https://github.com/ruby/net-http/commit/a7bded0407
2022-05-23 18:23:22 +09:00
Yusuke Endoh 0293f8ca8e Prevent a warning: `*' interpreted as argument prefix 2022-05-23 17:33:52 +09:00
git 907b1b6111 * 2022-05-23 [ci skip] 2022-05-23 12:13:42 +09:00
Nobuyoshi Nakada 9134e76140
Support old Mac OS X
`pthread_threadid_np` is available since Mac OS X 10.6, use
`pthread_mach_thread_np` on older systems.
2022-05-23 11:04:43 +09:00
Nobuyoshi Nakada 218e8bdcb0
Disable usage of TLS unless available
Thread-local storage is supported since Mac OS X 10.7.  Enable TLS
only when the target version is enough.
2022-05-22 16:49:48 +09:00
Nobuyoshi Nakada e79983a448
Check if thread-local storage is supported on macOS
We need thread-local storage on Clang, since 319afed20f.
2022-05-22 15:26:42 +09:00
Nobuyoshi Nakada 009a514668
Revert broken thread_pthread.c in 539459abda 2022-05-22 14:18:27 +09:00
Sergey Fedorov 539459abda
Ruby31: add support for Darwin ppc/ppc64 (#5927)
* add coroutines for ppc & ppc64

* fix universal coroutine to include ppc & ppc64

* add powerpc*-darwin to configure.ac

* fix thread_pthread for older systems
2022-05-22 15:02:03 +12:00
git 84257244cd * 2022-05-22 [ci skip] 2022-05-22 01:12:29 +09:00
Nobuyoshi Nakada 7e52533104
No fallback to default values 2022-05-21 22:58:45 +09:00
git 6ba394ce30 Update bundled gems list at 2022-05-21 2022-05-21 07:07:14 +00:00
Takashi Kokubun 8b2ff2acdd
Make the test class naming consistent
forgot to commit this in ead96e7b44
2022-05-20 21:34:47 -07:00
Takashi Kokubun ead96e7b44
Rename test_jit to test_mjit
to avoid confusion with YJIT
2022-05-20 21:32:55 -07:00
Burdette Lamar aef36bb933 [ruby/fileutils] Enhanced RDoc for #cp_lr (https://github.com/ruby/fileutils/pull/71)
https://github.com/ruby/fileutils/commit/39772bccca
2022-05-21 08:55:57 +09:00
ydah 6c7e2617d1 [ruby/optparse] Fix typo in documentation
- "hypnen" -> "hyphen"
- "hadler" -> "handler"

https://github.com/ruby/optparse/commit/e70e689ded
2022-05-21 08:47:53 +09:00
Noah Gibbs 50bad7159a
Special-case jit_guard_known_class for strings. This can remove (#5920)
runtime guard-checks for String#to_s, making some blocks too
short to invalidate later. Add NOPs in those cases to reserve space.
2022-05-20 19:39:37 -04:00
Koichi Sasada a97fbc108b extend `RUBY_DEBUG_LOG_FILTER` to reject words
support reject words with `-word` like
RUBY_DEBUG_LOG_FILTER=-foo,-bar,baz,boo`.
2022-05-21 08:35:04 +09:00
Yudai Takada 3bceae0fad
Fix typo in README (#5925)
"iteretor" -> "iterator"
2022-05-20 14:45:46 -07:00
Jean Boussier 65122d09d5 [Feature #18595] Alias String#-@ as String#dedup 2022-05-20 11:31:59 -07:00
git 11336c7ddb * 2022-05-21 [ci skip] 2022-05-21 00:42:07 +09:00
Nobuyoshi Nakada 8fa9e168be [ruby/net-http] Make the recommended name formal
`HTTPServerException` is the name deprecated since years ago.

https://github.com/ruby/net-http/commit/b3028fef5a
2022-05-21 00:41:54 +09:00
Hiroshi SHIBATA 4146fd284b
Rewrite with assert_ractor for multiple ractor environment 2022-05-20 19:48:28 +09:00
Nobuyoshi Nakada a080651f46
Disable GMP by -DUSE_GMP=0 2022-05-20 19:05:35 +09:00
Hiroshi SHIBATA b6649797ee
Picked the missing test file from 8faba54b2d 2022-05-20 18:53:16 +09:00
Hiroshi SHIBATA bcc9451bbf
Merge JRuby implementation for stringio and io-wait 2022-05-20 18:45:14 +09:00
Hiroshi SHIBATA c83ec3aba7
Merge https://github.com/ruby/pathname/pull/8 for pathname 2022-05-20 18:36:01 +09:00
git e3434118c2 Update default gems list at bcdbfe4b6e [ci skip] 2022-05-20 09:02:36 +00:00
ima1zumi bcdbfe4b6e
[ruby/reline] Require Ruby >= 2.6
fix https://github.com/ruby/reline/pull/428

https://github.com/ruby/reline/commit/dae9eca323
2022-05-20 17:49:15 +09:00
Nobuyoshi Nakada 1d9f2a4504
[ruby/racc] Show diffs
https://github.com/ruby/racc/commit/0b679e2f69
2022-05-20 17:49:15 +09:00
Nobuyoshi Nakada 104fb83ccd
[ruby/io-nonblock] Remove unnecessary files from the gem
https://github.com/ruby/io-nonblock/commit/3850a4c7ac
2022-05-20 17:49:14 +09:00
Nobuyoshi Nakada 0dfd5d19f3
[ruby/io-nonblock] Rename `io_nonblock_mode` and extract `set_fcntl_flags`
https://github.com/ruby/io-nonblock/commit/22f08574df
2022-05-20 17:49:14 +09:00
Burdette Lamar 589f1c1d55
[ruby/tempfile] Enhanced RDoc for ::new and ::create (https://github.com/ruby/tempfile/pull/10)
https://github.com/ruby/tempfile/commit/a5e53aa82a
2022-05-20 17:49:14 +09:00
Olle Jonsson 6923dd932b
[ruby/tempfile] Drop unused gemspec directives
This gem exposes no executables.

https://github.com/ruby/tempfile/commit/07fde5fe14
2022-05-20 17:49:14 +09:00
Florian Frank 9245b28d34
[flori/json] Bump version to 2.6.2
https://github.com/flori/json/commit/5de358f655
2022-05-20 17:49:13 +09:00
Andrew Bromwich a15d0e267a
[flori/json] Fix parser bug for empty string allocation
When `HAVE_RB_ENC_INTERNED_STR` is enabled it is possible to
pass through a null pointer to `rb_enc_interned_str` resulting
in a segfault

Fixes #495

https://github.com/flori/json/commit/b59368a8c2
2022-05-20 17:49:13 +09:00
Hiroshi SHIBATA 767f3904ee
[flori/json] Doc: Improve documentation on JSON#parse and JSON#parse!
https://github.com/flori/json/commit/75ada77b96

Co-authored-by: Bruno Gomes da Silva <brunojabs@gmail.com>
2022-05-20 17:49:13 +09:00
Charles Oliver Nutter a37051ef3b
[flori/json] Remove unknown keyword arg from DateTime.parse
This snuck in while addding tests for the `create_additions`
feature. Caught by JRuby when we added the `limit` option to the
Date/DateTime parsing methods, which causes this to be rejected as
an unknown keyword.

https://github.com/flori/json/commit/b1007dff66
2022-05-20 17:49:13 +09:00
Koichi Sasada 37ea07d59b setup vm->main_ractor before `Init_native_thread()` 2022-05-20 17:37:59 +09:00
Koichi Sasada eab99b1d4b `rb_thread_t::serial` for debug
`rb_thread_t::serial` is auto-incremented serial number for
threads and it can overflow, it means the serial is not a ID
for each thread, it is only for debug print.

`RUBY_DEBUG_LOG` shows this information.

Also skip EC related information if EC is NULL. This patch
enable to use `RUBY_DEBUG_LOG` without setup EC.
2022-05-20 17:37:46 +09:00
Hiroshi SHIBATA aeea88174d
Merge RubyGems and Bundler HEAD
125415593e
2022-05-20 17:32:19 +09:00
Jean byroot Boussier bd8df25cdc
[ruby/did_you_mean] Fix `frozen_string_literal is ignored after any tokens` warning. (https://github.com/ruby/did_you_mean/pull/172)
```
did_you_mean/formatters/verbose_formatter.rb:5: warning: `frozen_string_literal' is ignored after any tokens
```

https://github.com/ruby/did_you_mean/commit/531760f323
2022-05-20 17:32:18 +09:00
David Rodríguez ec7b42eb77
[DOC] Add a note to clarify binary flags to `IO.new`
Try to make it more clear that the `File::BINARY` integer flag, and the
`b` string suffix are not equivalent.
2022-05-20 17:23:45 +09:00
David Rodríguez 6850e3c42e [rubygems/rubygems] Fix locale dependent spec failure
https://github.com/rubygems/rubygems/commit/1fd818743e
2022-05-20 07:05:19 +09:00
git cbfce40e5c * 2022-05-20 [ci skip] 2022-05-20 00:53:09 +09:00
Takashi Kokubun b8a268e293
YJIT: Add opt_succ (#5919) 2022-05-19 11:52:52 -04:00
Daisuke Fujimura (fd0) 3d6fd162a4 Undefine RUBY_DLN_CHECK_ABI on cygwin 2022-05-19 17:15:30 +09:00
Nobuyoshi Nakada 61a54d5180
[DOC] Re-markup as Markdown 2022-05-19 17:07:56 +09:00
Nobuyoshi Nakada 72fc3b1bbb
Fold too long lines, etc [ci skip] 2022-05-19 16:46:08 +09:00
Nobuyoshi Nakada a72529182d
Suppress unused-function [ci skip] 2022-05-19 16:46:08 +09:00
Hiroshi SHIBATA ee3b61a44f
Removed subversion section because there is no active branch for svn. 2022-05-19 15:48:28 +09:00