zverok
1859784422
[ruby/date] Implement Date#deconstruct_keys and DateTime#deconstruct_keys
...
6bb6d3a810
2022-12-13 19:52:06 +00:00
Nobuyoshi Nakada
99d0a257af
[ruby/openssl] [DOC] Remove duplicate doc
...
RDoc does not consider preprocessor conditionals, but equally uses
both documents of `#if` and `#else` sides.
ea0a112a0c
2022-12-13 19:55:18 +09:00
Hiroshi SHIBATA
3de7ff8eb9
We should apply https://github.com/ruby/openssl/pull/576 instead of them:
...
6d8f396f37
c8b3bd45cc
2022-12-13 18:07:41 +09:00
Henrique Bontempo
2be03fb5b0
[ruby/openssl] Fixes OPENSSL_LIBRARY_VERSION description on
...
documentation
(https://github.com/ruby/openssl/pull/559 )
Adds back missing constant description on the documentation.
2022-12-13 18:07:41 +09:00
Theo Buehler
8ab8c2d601
[ruby/openssl] Enable HKDF support for LibreSSL 3.6 and later
...
LibreSSL 3.6 added support for HKDF in EVP. Enable this in ossl_kdf.c.
9bdd39a7e2
2022-12-13 18:07:41 +09:00
Yusuke Nakamura
d4dce27d89
[ruby/openssl] Allow empty string to OpenSSL::Cipher#update
...
For some reasons, plaintext may be empty string.
ref https://www.rfc-editor.org/rfc/rfc9001.html#section-5.8
953592a29e
2022-12-13 18:07:41 +09:00
Theo Buehler
d92f4fe4d7
[ruby/openssl] Use EVP_Digest{Sign,Verify} when available
...
LibreSSL 3.4 added EVP_DigestSign() and EVP_DigestVerify(). Use them
when available to prepare for the addition of Ed25519 support in
LibreSSL 3.7.
475b2bf766
2022-12-13 18:07:41 +09:00
Peter Zhu
5302d04e5a
[DOC] Fix format in ObjectSpace.dump_all
2022-12-12 10:16:38 -05:00
Peter Zhu
be710c1bf7
[DOC] Fix format for ObjectSpace.dump_shapes
2022-12-12 10:15:24 -05:00
Peter Zhu
a9c3dc8d2e
[DOC] Fix call-seq for ObjectSpace methods
2022-12-12 09:58:39 -05:00
Peter Zhu
58e3ce5de6
[DOC] Fix typo in docs for ObjectSpace.dump_all
2022-12-12 09:56:44 -05:00
Peter Zhu
87d5470873
[DOC] Fix indentation for ObjectSpace.dump_all
2022-12-12 09:51:12 -05:00
Peter Zhu
0b4fda11ec
[DOC] Don't document private methods in objspace
2022-12-12 09:48:06 -05:00
Jean Boussier
d7812d1949
objspace_dump.c: dump the capacity field for INITIAL_CAPACITY shapes
...
We forgot about that one, it's quite useful to see which capacity
we started from.
2022-12-09 17:06:21 +01:00
Hiroshi SHIBATA
01cf3ab3b8
[ruby/date] Bump version to 3.3.1
...
b7a8229041
2022-12-09 07:57:33 +00:00
Charles Oliver Nutter
e96b64f5e7
[ruby/date] No-op gem for JRuby for now
...
Remove all shipped files and require path on JRuby until we can
add JRuby's extension to the gem.
Temporary workaround for #48
94c3becef2
2022-12-09 07:55:07 +00:00
Hiroshi SHIBATA
3b45498d3e
Merge json-2.6.3
2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA
7d04cddfef
Merge stringio-3.0.4
2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA
286812bcf3
Merge fiddle-1.1.1
2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA
4e31fea77d
Merge strscan-3.0.5
2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA
d7baa17b49
[ruby/etc] Bump version to 1.4.2
...
5cac138538
2022-12-09 05:57:49 +00:00
Sutou Kouhei
8bbf4e5d8d
[ruby/stringio] bump up to 3.0.5
...
e62b9d78d3
2022-12-08 20:58:53 +00:00
Jean Boussier
73771e4b19
ObjectSpace.dump_all: dump shapes as well
...
I see several arguments in doing so.
First they use a non trivial amount of memory, so for various memory
profiling/mapping tools it is relevant to have visibility of the space
occupied by shapes.
Then, some pathological code can create a tons of shape, so it is
valuable to have a way to have a way to observe shapes without having
to compile Ruby with `SHAPE_DEBUG=1`.
And additionally it's likely much faster to dump then this way than
to use `RubyVM::Shape`.
There are however a few open questions:
- Shapes can't respect the `since:` argument. Not sure what to do when
it is provided. Would probably make sense to not dump them.
- Maybe it would make more sense to have a separate `ObjectSpace.dump_shapes`?
- Maybe instead `dump_all` should take a `shapes: false` argument?
Additionally, `ObjectSpace.dump_shapes` is added for the use case of
debugging the evolution of the shape tree.
2022-12-08 18:46:16 +01:00
Sutou Kouhei
b9d055d760
[ruby/stringio] bump up to 3.0.4
...
5ba853d6ff
2022-12-08 05:12:15 +00:00
Hiroshi SHIBATA
9fce6014b5
[ruby/psych] Bump version to 5.0.1
...
bdf20e6042
2022-12-08 02:08:25 +00:00
Daniel Colson
64cdf8bae7
Update dependencies
2022-12-06 12:37:23 -08:00
Jemma Issroff
e4aba8f519
Add shape_id to heap dump
2022-12-05 14:33:16 -08:00
Hiroshi SHIBATA
fa865f5752
[ruby/bigdecimal] Bump version to 3.1.3
...
25a75c2033
2022-12-05 10:44:30 +00:00
Hiroshi SHIBATA
3f8dad0463
[ruby/zlib] Bump version to 3.0.0
...
f1ce5e3e8d
2022-12-05 08:26:21 +00:00
Hiroshi SHIBATA
3396b10ff1
[ruby/win32ole] Bump version to 1.8.9
...
e4a1f3a2bf
2022-12-05 08:22:51 +00:00
Hiroshi SHIBATA
faafb7b740
[ruby/stringio] Revert "Bump version to 3.0.4"
...
This reverts commit aeb7e1a0bd
.
003dd0d003
2022-12-05 08:03:29 +00:00
Hiroshi SHIBATA
95e272baf8
[ruby/stringio] Bump version to 3.0.4
...
aeb7e1a0bd
2022-12-05 08:02:25 +00:00
Hiroshi SHIBATA
40ee1eea76
[ruby/psych] Bump version to 5.0.0
...
4fed0941b9
2022-12-05 07:44:39 +00:00
Hiroshi SHIBATA
0d5ad44ac3
[ruby/pathname] Bump version to 0.2.1
...
7e796cc78e
2022-12-05 16:33:43 +09:00
Hiroshi SHIBATA
ccb41a0a36
[ruby/nkf] Bump version to 0.1.2
...
98607bd2be
2022-12-05 06:51:37 +00:00
Hiroshi SHIBATA
8c596369e8
[ruby/io-nonblock] Bump version to 0.2.0
...
46c0ec245e
2022-12-05 06:22:15 +00:00
Hiroshi SHIBATA
f6dad39544
[ruby/fcntl] Bump version to 1.0.2
...
20fd776303
2022-12-05 06:09:41 +00:00
Hiroshi SHIBATA
a0deb64909
[ruby/etc] Bump version to 1.4.1
...
b3e9d9ceb0
2022-12-05 06:07:32 +00:00
Hiroshi SHIBATA
fcbafe7f4a
[ruby/digest] Bump version to 3.1.1
...
fad16582ea
2022-12-05 05:56:58 +00:00
Hiroshi SHIBATA
774dad4915
[ruby/date] Bump version to 3.3.0
...
ac1642cf39
2022-12-05 05:19:16 +00:00
Nobuyoshi Nakada
b8a73e704d
[ruby/pathname] [Misc #19155 ] [DOC] Addion of absolute paths
...
3cb5ed2576
2022-12-03 15:53:20 +00:00
Nobuyoshi Nakada
678bcfcaa6
[ruby/io-console] Check rawmode option names strictly
...
aa8fc7e947
2022-12-02 10:33:35 +00:00
S-H-GAMELINKS
1a64d45c67
Introduce encoding check macro
2022-12-02 01:31:27 +09:00
Hiroshi SHIBATA
c8bfbbc25e
Removed documentation for incomplete option about [Feature #17134 ]
2022-11-30 17:20:38 +09:00
Takashi Kokubun
d2c62426e5
[ruby/erb] Skip using the extension for truffleruby as well
...
(https://github.com/ruby/erb/pull/39 )
* Skip using the extension for truffleruby as well
* Just skip building the C extension for TruffleRuby
* Skip rake compile for truffleruby
* Use resolve_feature_path
* Revert "Use resolve_feature_path"
This reverts commit acc1e0c0ff
.
* Use resolve_feature_path with LoadError guard
85dcb08439
2022-11-27 06:30:48 +00:00
Takashi Kokubun
574896a0ce
[ruby/erb] Define ERB::Escape module
...
(https://github.com/ruby/erb/pull/38 )
Close #32
2022-11-26 05:32:25 +00:00
Takashi Kokubun
addb1cbbfd
[ruby/erb] Keep ERB::Util#html_escape private
...
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.
e62210bf56
2022-11-25 08:54:18 +00:00
Nobuyoshi Nakada
1a47521c44
Use rb_sprintf
instead of deprecated sprintf
2022-11-25 08:51:14 +09:00
Takashi Kokubun
c480f589c2
[ruby/erb] Rename erb.so to erb/escape.so
...
(https://github.com/ruby/erb/pull/35 )
1280046952
2022-11-24 23:22:00 +00:00
Nobuyoshi Nakada
612aa5c24a
Use class methods of File
over Kernel.open
and IO.read
2022-11-21 22:16:49 +09:00