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

8348 Коммитов

Автор SHA1 Сообщение Дата
Charles Oliver Nutter bd18623307 [ruby/io-wait] Update version to 0.2.2.pre1 for testing
https://github.com/ruby/io-wait/commit/12e26f574e
2022-03-10 22:58:31 +09:00
Peter Zhu fb724a887a Show embed status of array when len is 0 in objspace dump 2022-03-01 10:55:53 -05:00
Nobuyoshi Nakada 0db5ee5195 [ruby/date] Suppress declaration-after-statement warnings
https://github.com/ruby/date/commit/60bd16009d
2022-02-25 20:01:06 +09:00
Nobuyoshi Nakada bb22bc76b0 [ruby/date] Deprecate the unintentional ability to parse `Symbol`
https://github.com/ruby/date/commit/d57818f3b3
2022-02-25 19:57:50 +09:00
Nobuyoshi Nakada b5c2a0840f [ruby/date] Anchor at beginning of numbers
https://hackerone.com/reports/1254844

https://github.com/ruby/date/commit/2f7814cc22
2022-02-25 19:52:31 +09:00
Nobuyoshi Nakada 1758eade57 [ruby/date] Anchor at beginning of numbers
https://hackerone.com/reports/1254844

https://github.com/ruby/date/commit/7ffe25e458
2022-02-25 19:52:31 +09:00
Nobuyoshi Nakada d54a3df2e5 [ruby/date] Separate era from preceding word
https://github.com/ruby/date/commit/017149e53e
2022-02-25 19:52:30 +09:00
Nobuyoshi Nakada c8cddac45c [ruby/date] Use possessive match
Reduce backtracks at the same character classes arounding an
optional pattern.

https://github.com/ruby/date/commit/1fd15f7c49
2022-02-25 19:52:29 +09:00
Nobuyoshi Nakada 9f59a2bd87 [ruby/date] Extracted common leading pattern
https://github.com/ruby/date/commit/ec86dbbdc1
2022-02-25 19:52:28 +09:00
John Hawthorn 764e4fa850 Never call kind_of with klass=0 2022-02-23 19:57:42 -08:00
Peter Zhu 68847794bf Update ext/-test-/dln/empty/depend
Dependencies was not updated in
06dab12717.
2022-02-22 16:49:20 -05:00
Peter Zhu 06dab12717 Include ruby.h in empty.c to have ABI version
I forgot to include this as part of
638fd8774b.
2022-02-22 12:00:15 -05:00
Peter Zhu 2d5ecd60a5 [Feature #18249] Update dependencies 2022-02-22 09:55:21 -05:00
Peter Zhu 638fd8774b [Feature #18249] Include ruby.h in extensions to have ABI version
All shared libraries must have `include/ruby/internal/abi.h` to include
the ABI version. Including `ruby.h` will guarantee that.
2022-02-22 09:55:21 -05:00
Peter Zhu 3df16924b4 [Feature #18249] Implement ABI checking
Header file include/ruby/internal/abi.h contains RUBY_ABI_VERSION which
is the ABI version. This value should be bumped whenever an ABI
incompatible change is introduced.

When loading dynamic libraries, Ruby will compare its own
`ruby_abi_version` and the `ruby_abi_version` of the loaded library. If
these two values don't match it will raise a `LoadError`. This feature
can also be turned off by setting the environment variable
`RUBY_RUBY_ABI_CHECK=0`.

This feature will prevent cases where previously installed native gems
fail in unexpected ways due to incompatibility of changes in header
files. This will force the developer to recompile their gems to use the
same header files as the built Ruby.

In Ruby, the ABI version is exposed through
`RbConfig::CONFIG["ruby_abi_version"]`.
2022-02-22 09:55:21 -05:00
Mau Magnaguagno 50098f4b61 [ruby/zlib] [DOC] Fix typo in Zlib.adler32_combine
https://github.com/ruby/zlib/commit/5e8f0b4164
2022-02-22 18:01:53 +09:00
John Hawthorn 05b1944c53 objspace: Hide identhash containing internal objs
Inside ObjectSpace.reachable_objects_from we keep an internal identhash
in order to de-duplicate reachable objects when wrapping them as
InternalObject. Previously this hash was not hidden, making it possible
to leak references to those internal objects to Ruby if using
ObjectSpace.each_object.

This commit solves this by hiding the hash. To simplify collection of
values, we instead now just use the hash as a set of visited objects,
and collect an Array (not hidden) of values to be returned.
2022-02-09 17:32:43 -08:00
Matt Valentine-House 9fab2c1a1a Add the size pool slot size to the output of ObjectSpace.dump/dump_all 2022-02-03 15:07:35 -05:00
Nobuyoshi Nakada f6894711a4 [ruby/io-wait] Exclude rake files from packages
https://github.com/ruby/io-wait/commit/7be58cd7f4
2022-02-01 20:04:15 +09:00
Jean Boussier ddb9d60f7d
[ruby/io-wait] Make the gem a noop on Rubies older than 2.6
Ref: https://github.com/mikel/mail/pull/1439

Some gems depend on io-wait, but still support older rubies,
so they have to chose between droping support or not listing io-wait.

But io-wait could act a a noop on older rubies.

https://github.com/ruby/io-wait/commit/75fcb74c32
2022-02-01 14:11:16 +09:00
Nobuyoshi Nakada fc4fbeef28 [ruby/io-wait] bump up to 0.2.2
https://github.com/ruby/io-wait/commit/e15a2486b2
2022-02-01 13:22:03 +09:00
Koichi Sasada cc8064ba2e Do not need to print to stderr 2022-01-26 10:05:10 +09:00
David Rodríguez de678cd51e
[ruby/pathname] Officially drop support for ruby 2.6 or older
The gem doesn't even install on old rubies, but since the gemspec claims
it's supported, `gem install pathname` will try to install it and print
an error.

This commit doesn't fix the above issue. The only way to fix it would be
to restore support and release a new version that actually supports old
rubies. However, such a change has been proposed and ignored for a long
time.

So this issue proposes to leave that broken but at least bring the
gemspec manifest and the CI matrix in sync to hopefully avoid this issue
from happening again in the future.

https://github.com/ruby/pathname/commit/3ee010b538
2022-01-25 08:50:31 +09:00
Nobuyoshi Nakada 85502f3a51 [ruby/io-wait] [DOC] Fix the return values [ci skip]
Even since 0.1.0, other than +true+ or +false+ may be returned.

https://github.com/ruby/io-wait/commit/d0721e300a
2022-01-24 18:03:48 +09:00
apatniv e7b573e576 [ruby/io-wait] Document mandatory require for using io/wait methods
https://github.com/ruby/io-wait/commit/2beb05bd48
2022-01-24 12:12:15 +09:00
Kenta Murata 328e6bf3b3
[ruby/bigdecimal] Version 3.1.2
https://github.com/ruby/bigdecimal/commit/57e2194135
2022-01-24 10:56:37 +09:00
Kenta Murata 7db195d521
[ruby/bigdecimal] Fix the maximum precision of the quotient
Fixes https://github.com/ruby/bigdecimal/pull/220

https://github.com/ruby/bigdecimal/commit/127a1b5a31
2022-01-24 10:56:30 +09:00
Seth Boyles c1a6ff046d [ruby/psych] Add strict_integer option to parse numbers with commas as strings
Authored-by: Seth Boyles <sethboyles@gmail.com>

https://github.com/ruby/psych/commit/75bebb37b8
2022-01-22 10:00:51 +09:00
Nobuyoshi Nakada 542bd9b408 [ruby/etc] Exclude change logs for pre 1.0
https://github.com/ruby/etc/commit/c8a133fe95
2022-01-21 12:22:04 +09:00
Nobuyoshi Nakada 563d0fdada [ruby/etc] Derive extra_rdoc_files from files
https://github.com/ruby/etc/commit/e8ecce3442
2022-01-21 12:21:59 +09:00
Nobuyoshi Nakada 3fea4f9d8c [ruby/etc] Move development dependencies to Gemfile
https://github.com/ruby/etc/commit/5cabc3996a
2022-01-21 12:21:54 +09:00
Michael Nikitochkin ef2cf9245c [ruby/psych] Remove alias of load to unsafe_load
https://github.com/ruby/psych/commit/39e23cc86f
2022-01-20 10:39:05 +09:00
Peter Zhu ffda21b7ba [Feature #18491] Drop support for HP-UX
IA64 support was dropped in ticket #15894, so we can drop support for
HP-UX.
2022-01-18 09:52:15 -05:00
David CARLIER 670f3e6cd7
[ruby/fcntl] adding few FreeBSD specific flags.
https://github.com/ruby/fcntl/commit/03d9a7937d
2022-01-15 18:56:15 +09:00
David Rodríguez 40d9be51e8 [ruby/psych] Don't require `strscan` unnecessarily
It does not seem needed, and it's causing issues on Windows when
uninstalling `strscan`, because strscan's shared library being used when
RubyGems tries to remove it (because its loaded through Psych, which
RubyGems uses for loading configuration).

https://github.com/ruby/psych/commit/3911356ec1
2022-01-14 07:44:14 +09:00
Jeremy Evans dd6a75195a [ruby/pathname] Make Pathname#each_entry return enumerator if called without block
Fixes [Bug #18158]

https://github.com/ruby/pathname/commit/914c726aa2
2022-01-07 09:42:09 +09:00
Nobuyoshi Nakada 1136985cc0 [ruby/etc] Note for rb_deprecate_constant [ci skip]
https://github.com/ruby/etc/commit/f87fe7ad93
2022-01-02 15:16:43 +09:00
Nobuyoshi Nakada 462079611a [ruby/etc] Remove deprecate constants under Struct
https://github.com/ruby/etc/commit/143edbd215
2022-01-02 15:03:29 +09:00
Nobuyoshi Nakada eb294491c0 [ruby/etc] bump up to 1.4.0
https://github.com/ruby/etc/commit/ca41f182f6
2022-01-02 15:03:05 +09:00
Nobuyoshi Nakada 91d09ca95b [ruby/etc] bump up to 1.3.1
https://github.com/ruby/etc/commit/82dd69a4cf
2022-01-02 14:52:31 +09:00
Nobuyoshi Nakada bb0a725f1f [ruby/etc] [DOC] Refine Etc::Passwd#passwd description
https://github.com/ruby/etc/commit/17b99fe42e
2022-01-02 14:52:28 +09:00
Nobuyoshi Nakada 314effdf77 [ruby/etc] [DOC] Document Etc::Passwd and Etc::Group as classes
https://github.com/ruby/etc/commit/106429f10b
2022-01-02 14:52:27 +09:00
Nobuyoshi Nakada 9135a3e864 [ruby/etc] [DOC] Add document task
https://github.com/ruby/etc/commit/8c8c6198e2
2022-01-02 14:52:25 +09:00
Nobuyoshi Nakada 546dbcfe69
[ruby/etc] Update ruby versions
https://github.com/ruby/etc/commit/959416b18a
2022-01-02 13:29:01 +09:00
Nobuyoshi Nakada db547a3bc4
[ruby/win32ole] Undefine allocator of WIN32OLE_VARIABLE to get rid of warning
https://github.com/ruby/win32ole/commit/27d0fdc622
2021-12-30 21:13:11 +09:00
Nobuyoshi Nakada d75f7078c8
[ruby/io-console] bump up to 0.5.11
https://github.com/ruby/io-console/commit/ad3805200c
2021-12-29 09:37:59 +09:00
Samuel Williams f27eb8148f
Sync io-console gem. 2021-12-29 13:27:40 +13:00
NARUSE, Yui 82c8acbcfd Prevent installing zlib library 2021-12-25 21:01:43 +09:00
Nobuyoshi Nakada 8247b193c0
[ruby/io-console] bump up to 0.5.10
https://github.com/ruby/io-console/commit/806c65e22b
2021-12-25 18:38:51 +09:00
Nobuyoshi Nakada 9368fa6c30
[ruby/io-console] No longer support dead versions
https://github.com/ruby/io-console/commit/e9478509e9
2021-12-25 18:38:51 +09:00