Skip to content

Add support for extensions in CRuby, JRuby, and FFI Ruby#14703

Closed
JasonLunn wants to merge 47 commits intomainfrom
add-support-for-extensions-in-ruby
Closed

Add support for extensions in CRuby, JRuby, and FFI Ruby#14703
JasonLunn wants to merge 47 commits intomainfrom
add-support-for-extensions-in-ruby

Conversation

@JasonLunn
Copy link
Copy Markdown
Contributor

@JasonLunn JasonLunn commented Nov 9, 2023

Follow up to #14594, which added support for custom options, this PR implements extensions support, which should fully resolve #1198.

jsteinberg and others added 30 commits May 16, 2023 09:25
…internal_deep_freeze` for JRuby message classes.
…ternal_deep_freeze` for FFI message classes.
Don't expose `internal_deep_freeze`, even as a private method.
Don't expose `internal_deep_freeze` under JRuby, even as private method.
…xtensions-in-ruby

# Conflicts:
#	ruby/ext/google/protobuf_c/message.c
#	ruby/tests/basic.rb
* Pass arena to glue functions.
* Memoize `options` accessor.
* Remove use of VLA.
* Adding test coverage for `FieldOptions`
* Handle case where fields are not materialized until after `freeze`
@JasonLunn JasonLunn added ruby jruby Issues unique to the JRuby interpreter labels Nov 9, 2023
@JasonLunn JasonLunn requested a review from a team as a code owner November 9, 2023 15:50
@JasonLunn JasonLunn requested review from ericsalo and haberman and removed request for a team and ericsalo November 9, 2023 15:50
Comment thread src/google/protobuf/compiler/ruby/ruby_generator.cc Outdated
@JasonLunn JasonLunn requested a review from haberman November 10, 2023 01:36
* Remove code generation changes for constants for extensions.
* Remove code changes relating to syntax sugar.
Comment thread ruby/ext/google/protobuf_c/defs.h Outdated
@JasonLunn JasonLunn requested a review from haberman November 14, 2023 20:37
@JasonLunn JasonLunn deleted the add-support-for-extensions-in-ruby branch November 14, 2023 23:44
protobuf-team-bot added a commit that referenced this pull request Nov 14, 2023
zhangskz pushed a commit that referenced this pull request Nov 14, 2023
Follow up to #14594, which added support for custom options, this PR implements extensions support, which should fully resolve #1198.

Closes #14703

COPYBARA_INTEGRATE_REVIEW=#14703 from protocolbuffers:add-support-for-extensions-in-ruby 601aca4
PiperOrigin-RevId: 582460674
zhangskz added a commit that referenced this pull request Nov 15, 2023
…4756)

Follow up to #14594, which added support for custom options, this PR implements extensions support, which should fully resolve #1198.

Closes #14703

COPYBARA_INTEGRATE_REVIEW=#14703 from protocolbuffers:add-support-for-extensions-in-ruby 601aca4
PiperOrigin-RevId: 582460674

Co-authored-by: Jason Lunn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jruby Issues unique to the JRuby interpreter ruby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to use custom options in Ruby

3 participants