aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/ext/google/protobuf_c/storage.c
Commit message (Collapse)AuthorAge
* Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829)Gravatar Paul Yang2018-07-02
| | | | | | | | | | | | * Add continuous test for ruby 2.3, 2.4 and 2.5 * Change ruby 2.5 to 2.5.0 * No need to provide argument to rb_funcall when argc is 0 * Fix tests for ruby 2.5 * Use rescue instead of assert_raise to accept subclass of error
* Adds a base class for all explicitly raised TypeErrors (#4255)Gravatar Erik Benoist2018-06-26
| | | | | | | | | * This allows for ruby code to catch and handle Protobuf TypeErrors separately from the standard Ruby TypeError * Maintains backwards compatibility by having the new Google::Protobuf::TypeError inherit from the base TypeError. Any code that was catching TypeError should continue to work.
* Merge pull request #2519 from ↵Gravatar Joshua Haberman2017-11-29
|\ | | | | | | | | rubynerd-forks/ruby-fix-repeated-message-type-field unwrap descriptor class before comparison of RepeatedField types
* | Allow initializing a chain of protos using only a hashGravatar Zachary Anker2017-09-20
| |
| * handle sanity check for repeating enums correctlyGravatar @rubynerd2016-12-30
| |
| * unwrap descriptor class before comparison of RepeatedField typesGravatar @rubynerd2016-12-19
|/ | | | | | | self->field_type_class returns the correct Ruby class, get_def_obj returns the Descriptor object used to generate the Ruby class via msgclass, so to compare the two types we get the msgclass from the descriptor.
* Ruby: encode and freeze strings when the are assigned or decoded.Gravatar Josh Haberman2016-07-21
|
* Fixed oneof behavior for enums and fixed JRuby.Gravatar Josh Haberman2016-05-18
|
* Ruby oneofs: return default instead of nil for unset fields.Gravatar Josh Haberman2016-05-18
|
* Conform to C89/C90 variable declaration rules.Gravatar Josh Haberman2015-07-10
| | | | | | | | | | | | While we are C99 in general, the Ruby build system for building C extensions enables several flags that throw warnings for C89/C90 variable ordering rules. To avoid spewing a million warnings (or trying to specifically override these warnings with command-line flags, which would be tricky and possibly fragile) we conform to Ruby's world of C89/C90. Change-Id: I0e03e62d95068dfdfde112df0fb16a248a2f32a0
* Ruby C extension speedup: don't re-intern constant string needlessly.Gravatar Chris Fallin2015-05-19
| | | | Also fixed lines with > 80 char length.
* allow a message field to be unsetGravatar Adam Greene2015-05-02
|
* Updated based on code-review comments.Gravatar Chris Fallin2015-02-02
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-26
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-26
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-14
|
* Support oneofs in MRI Ruby C extension.Gravatar Chris Fallin2015-01-14
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-09
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-06
|
* Support for maps in the MRI C Ruby extension.Gravatar Chris Fallin2015-01-06
| | | | | | | | This adds the Map container and support for parsing and serializing maps in the protobuf wire format (as defined by the C++ implementation, with MapEntry submessages in a repeated field). JSON map serialization/parsing are not yet supported as these will require some changes to upb as well.
* Rename protobuf Ruby module to google/protobuf and rework its buildGravatar Chris Fallin2014-12-12
system. The Ruby module build now uses an amalgamated distribution of upb, and successfully builds a Ruby gem called 'google-protobuf' with module 'google/protobuf'.