aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/ext/google/protobuf_c/map.c
Commit message (Collapse)AuthorAge
* Fix ruby gc_test in ruby 2.4 (#4011)Gravatar Paul Yang2017-12-08
| | | | | | * Fix ruby gc_test in ruby 2.4 * Initialize global variables to Qnil.
* Storing the frame on the map means we don't need the arrayGravatar Aaron Patterson2017-08-30
|
* Move parse frame array to the Map objectGravatar Aaron Patterson2017-08-30
| | | | This makes the frame stack per-parser, and per-thread. Fixes #3250
* Ruby: fixed Message#to_h for map fields.Gravatar Josh Haberman2017-03-14
|
* Ruby: encode and freeze strings when the are assigned or decoded.Gravatar Josh Haberman2016-07-21
|
* Return TypedData_Wrap_Struct directly.Gravatar Josh Haberman2015-08-20
| | | | Change-Id: I6cf77f01370204ad4bc7b345a040a9a3de1706a0
* 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
* Updated upb to latest version (C89).Gravatar Josh Haberman2015-06-08
| | | | | Since this version of upb supports C89, all of the extra compiler flags are no longer required.
* Google::Protobuf::Map#inspect should be consistent with Hash#inspectGravatar Isaiah Peng2015-02-14
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-12
|
* 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.