| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Split `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` macros into the
macros bellow:
* `RBIMPL_ATTR_PACKED_STRUCT_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_END`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END`
|
|
|
|
|
|
|
|
|
| |
This version primarily updates the JRuby extension to use
SnakeYAML Engine, a newer version of the SnakeYAML library, which
also updates YAML support to 1.2. The JRuby extension now also
exposes settings for the parser.
https://github.com/ruby/psych/commit/6f2b16b343
|
|
|
|
| |
https://github.com/ruby/stringio/commit/a7561f447b
|
|
|
|
|
|
|
| |
This reverts commit https://github.com/ruby/stringio/commit/325933500b35.
It is bumped to 3.0.5 in advance but not released yet.
https://github.com/ruby/stringio/commit/af67c36693
|
|
|
|
| |
https://github.com/ruby/stringio/commit/325933500b
|
|
|
|
|
| |
Although this is of course invalid as Ruby code, allow to just parse
and tokenize.
|
|
|
|
|
|
| |
BigDecimal has no references, so it is WB protected.
https://github.com/ruby/bigdecimal/commit/29c61c90e8
|
|
|
|
| |
https://github.com/ruby/openssl/commit/5a36cc3cb2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See jruby/jruby#7570 for some of the justification for this move. We only
require the parser from SnakeYAML, but in the original form it is
encumbered with Java object serialization code that keeps getting
flagged as a CVE risk. We disagree with the assessment, at least
as it pertains to JRuby (we do not use the code in question) but
our inclusion of the library continues to get flagged by auditing
tools.
This commit starts the process of moving to the successor library,
SnakeYAML Engine. The parser API is largely unchanged, except as
seen in this commit. No Java exceptions are thrown, but a number
of Psych tests fail (possibly due to Engine being YAML 1.2 only).
|
| |
|
|
|
|
| |
https://github.com/ruby/stringio/commit/eb322a9716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
possible
(https://github.com/ruby/fiddle/pull/120)
WG14 N2350 made very clear that it is an UB having type definitions
within "offsetof" [1]. This patch enhances the implementation of macro
ALIGN_OF to use builtin "_Alignof" to avoid undefined behavior when
using std=c11 or newer
clang 16+ has started to flag this [2]
Fixes build when using -std >= gnu11 and using clang16+
Older compilers gcc < 4.9 or clang < 8 has buggy _Alignof even though it
may support C11, exclude those compiler versions
[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
[2] https://reviews.llvm.org/D133574
Signed-off-by: Khem Raj <raj.khem@gmail.com>
https://github.com/ruby/fiddle/commit/ad6c9aa826
|
|
|
|
| |
https://github.com/ruby/fiddle/commit/36b2432575
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/fiddle/pull/119)
The documentation for `Fiddle.dlwrap` and `Fiddle.dlunwrap` were not
very accurate and pretty confusing. This commit updates the
documentation so it's easier to understand what the methods do.
|
|
|
|
| |
GitHub Pages now hosted on *.github.io
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
all symbols
Ref: https://github.com/ruby/psych/pull/495
That's how it works for `safe_load`:
```ruby
>> YAML.safe_load(':foo', permitted_classes: [Symbol])
=> :foo
```
So `safe_dump` should mirror that.
https://github.com/ruby/psych/commit/592a75a656
|
|
|
|
| |
https://github.com/ruby/psych/commit/a170b8eb46
|
| |
|
|
|
|
|
|
| |
- dbm/dbm.c removed at 55cd3e4ebff8fa75854ecadcd77abbf7cf4b5823
- fiber/fiber.c removed at 521ad9a13aef1e1dae4eaff70d3e6b2e358aa095
- gdbm/gdbm.c removed at edcc29dcff1b269b7748ab83adf21b2f3f97ebff
|
|
|
|
| |
https://github.com/ruby/psych/commit/67ec299c68
|
|
|
|
|
|
|
|
|
|
|
|
| |
build host.
checking whether make sets $(MAKE)... (cached) yes
checking build system type... arm-apple-darwin21.6.0
checking host system type... Invalid configuration `arm64-apple-darwin21': machine `arm64-apple' not recognized
configure: error: /bin/sh /Users/hsbt/Downloads/yaml-0.2.5/config/config.sub arm64-apple-darwin21 failed
*** extconf.rb failed ***
https://github.com/ruby/psych/commit/ad1502202c
|
|
|
| |
replace _socktype_ with _type_ in the comments
|
|
|
|
| |
https://github.com/ruby/psych/commit/77861ff281
|
| |
|
|
|
|
|
|
| |
Things declared in anonymous eval are always annoying to locate.
https://github.com/ruby/psych/commit/38871ad4e5
|
|
|
|
|
|
| |
With arguments, mkmf skips compilation check for the function as RHS.
https://github.com/ruby/zlib/commit/9ed9d6d36e
|
|
|
|
| |
There is no package called "libyaml-devel". "libyaml" is enough.
|
|
|
|
| |
https://github.com/ruby/bigdecimal/commit/99db3c9754
|
|
|
|
| |
https://github.com/ruby/psych/commit/e07b16ad8b
|
|
|
|
| |
https://github.com/ruby/psych/commit/9a3816d903
|
|
|
|
|
| |
This commit adds `"embedded":true` in ObjectSpace.dump for T_OBJECTs
that are embedded.
|
|
|
|
|
|
|
|
|
|
| |
ObjectSpace.trace_object_allocations_start could crash since it adds a
TracePoint for when objects are freed. However, TracePoint could crash
since it modifies st tables while inside the GC that is trying to free
the object. This could cause a memory allocation to happen which would
crash if it triggers another GC.
See a crash log: http://ci.rvm.jp/results/trunk@ruby-sp1/4373707
|
| |
|
|
|
| |
This adds oneshot_lines as a mode of coverage that is supported.
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/strscan/commit/3ada12613d
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/fiddle/pull/118)
String#unpack1 is available since Ruby 2.4, and support for older than
Ruby 2.5 was dropped by #85.
Also simplified a common return statement.
|
|
|
|
| |
https://github.com/ruby/fiddle/commit/3033266902
|
|
|
|
|
|
|
|
| |
Reverts the following commits:
eb8d4d7b5145849325985c00b810b8d75661d86e
edb83dc3a2c374e880e8eb488152872152790e92
d40064d1846b5835dff81e3f168c0c3a6c85e814
|
|
|
|
|
|
| |
Revert "[ruby/openssl] pkey/ec: constify"
This reverts commit d2cd903c85f38f42c6aefc6d97a1558f74d8d9db.
|
|
|
|
| |
https://github.com/ruby/openssl/commit/6fb3499a7b
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/racc/commit/1dfbef8e99
|
|
|
|
| |
https://github.com/ruby/openssl/commit/c2f7d775c6
|
|
|
|
| |
https://github.com/ruby/openssl/commit/48b79333e0
|
|
|
|
| |
https://github.com/ruby/openssl/commit/04acccd692
|
|
|
|
|
|
|
|
|
|
|
|
| |
The behavior of EVP_PKEY_public_check changed between OpenSSL 1.1.1
and 3.0 so that it no longer validates the private key. Instead, private
keys can be validated through EVP_PKEY_private_check and
EVP_PKEY_pairwise_check.
[ky: simplified condition to use either EVP_PKEY_check() or
EVP_PKEY_public_check().]
https://github.com/ruby/openssl/commit/e38a63ab3d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a linkage error about `ossl_ssl_type` on platforms which do
not have socket, like WASI.
Even before this patch, some items are disabled under `OPENSSL_NO_SOCK` since
https://github.com/ruby/ruby/commit/ee22fad45d394818690c4a7586d7bb576ba67c56
However, due to some new use of OpenSSL::SSL::Socket over the past few years,
the build under `OPENSSL_NO_SOCK` had been broken.
This patch guards whole `OpenSSL::SSL` items by `OPENSSL_NO_SOCK`.
[ky: adjusted to apply on top of my previous commit that removed the
OpenSSL::ExtConfig, and added a guard to lib/openssl/ssl.rb.]
https://github.com/ruby/openssl/commit/b0cfac6a96
|