aboutsummaryrefslogtreecommitdiff
path: root/ruby/ext/google/protobuf_c/storage.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2519 from ↵Joshua Haberman2017-11-291-4/+12
|\ | | | | | | | | rubynerd-forks/ruby-fix-repeated-message-type-field unwrap descriptor class before comparison of RepeatedField types
| * handle sanity check for repeating enums correctly@rubynerd2016-12-301-3/+11
| |
| * unwrap descriptor class before comparison of RepeatedField types@rubynerd2016-12-191-1/+1
| | | | | | | | | | | | | | 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.
* | Allow initializing a chain of protos using only a hashZachary Anker2017-09-201-1/+12
|/
* Ruby: encode and freeze strings when the are assigned or decoded.Josh Haberman2016-07-211-20/+19
|
* Fixed oneof behavior for enums and fixed JRuby.Josh Haberman2016-05-181-2/+11
|
* Ruby oneofs: return default instead of nil for unset fields.Josh Haberman2016-05-181-1/+23
|
* Conform to C89/C90 variable declaration rules.Josh Haberman2015-07-101-18/+30
| | | | | | | | | | | | 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.Chris Fallin2015-05-191-1/+2
| | | | Also fixed lines with > 80 char length.
* allow a message field to be unsetAdam Greene2015-05-021-1/+3
|
* Updated based on code-review comments.Chris Fallin2015-02-021-13/+31
|
* Addressed code-review comments.Chris Fallin2015-01-261-7/+18
|
* Addressed code-review comments.Chris Fallin2015-01-261-2/+7
|
* Addressed code-review comments.Chris Fallin2015-01-141-40/+38
|
* Support oneofs in MRI Ruby C extension.Chris Fallin2015-01-141-59/+191
|
* Addressed code-review comments.Chris Fallin2015-01-091-6/+8
|
* Addressed code-review comments.Chris Fallin2015-01-061-4/+12
|
* Support for maps in the MRI C Ruby extension.Chris Fallin2015-01-061-38/+135
| | | | | | | | 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 buildChris Fallin2014-12-121-0/+577
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'.