Fix attach_function of functions ending in ? or ! #971
Added:
Convert all C-based classes to TypedData and use write barriers. #994, #995, #996, #997, #998, #999, #1000, #1001, #1003, #1004, #1005, #1006, #1007, #1008, #1009, #1010, #1011, #1012
This results in less pressure on the garbage collector, since the objects can be promoted to the old generation, which means they only get marked on major GC.
Implement ObjectSpace.memsize_of() of all C-based classes.
Make FFI Ractor compatible. #1023
Modules extended per extend FFI::Library need to be frozen in order to be used by non-main Ractors.
This can be done by calling freeze below of all C interface definitions.
In a Ractor it's possible to:
load DLLs and call its functions, access its global variables
use builtin typedefs
use and modify ractor local typedefs
define callbacks
receive async callbacks from non-ruby threads
use frozen FFI::Library based modules with all attributes (enums, structs, typedefs, functions, callbacks)
invoke frozen functions and callbacks defined in the main Ractor
use FFI::Struct definitions from the main Ractor
In a Ractor it's impossible to:
create new FFI::Library based modules
create new FFI::Struct definitions
use custom global typedefs
use non-frozen FFI::Library based modules
Allow type retrieval of attached functions+variables. #1023
Update libffi and disable custom trampoline when using libffi closure allocation. #1020
This is because libffi changed the way how closures are allocated to static trampolines.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ typhoeus (1.4.0 → 1.4.1) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 26 commits:
update changelong and bump version
Merge pull request #699 from mishina2228/improve-gh-actions
Merge pull request #698 from mishina2228/replace-badge
Fix to run CI with Ruby 3.0
Replace CI status badge from Travis to GH Actions
Merge pull request #697 from jarthod/redirect_url
Add redirect_url attribute
Merge pull request #695 from arianf/bring-upload-support
Fixes #693 Allow performing `curl --upload-file`
Merge pull request #696 from typhoeus/ci-adjustments
CI: Adjust ruby versions and MacOS runs
Merge pull request #689 from jmortlock/ghactions
Merge pull request #691 from glaucocustodio/patch-1
Merge pull request #692 from ryonkn/add_getter_to_informations
Add getter for size_upload, size_download, speed_upload, speed_download values
Use bundle add instead
Remove travis.yml configuration
Use github actions for CI build
Merge pull request #685 from klaxit/add-global-timeout
Add global timeout and connecttimeout to config
Merge pull request #677 from hussainakram/patch-1
Update README.md
Merge pull request #665 from gogainda/patch-1
Update .travis.yml
Merge pull request #649 from olleolleolle/patch-1
README: Drop mention of mailing list
↗️ ethon (indirect, 0.15.0 → 0.16.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 10 commits:
bump to 0.16.0
Add ability to abort request on headers callback.
Add :tcp_fastopen option
adding new http2 options
Add `redirect_url` value to available informations
FD Size: Add default cap of 65536 and ETHON_FD_SIZE to override it
Add tlsv1_3
Trigger apt update first
Merge pull request #204 from typhoeus/i0rek-patch-1
Exclude truffleruby-head because it is failing
↗️ ffi (indirect, 1.15.5 → 1.16.3) · Repo · Changelog
Release Notes
1.16.3 (from changelog)
1.16.2 (from changelog)
1.16.1 (from changelog)
1.16.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands