aboutsummaryrefslogtreecommitdiff
path: root/ruby/ext/google/protobuf_c/map.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix ruby gc_test in ruby 2.4 (#4011)Paul Yang2017-12-081-1/+1
| | | | | | * 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 arrayAaron Patterson2017-08-301-9/+5
|
* Move parse frame array to the Map objectAaron Patterson2017-08-301-0/+12
| | | | This makes the frame stack per-parser, and per-thread. Fixes #3250
* Ruby: fixed Message#to_h for map fields.Josh Haberman2017-03-141-0/+31
|
* Ruby: encode and freeze strings when the are assigned or decoded.Josh Haberman2016-07-211-9/+11
|
* Return TypedData_Wrap_Struct directly.Josh Haberman2015-08-201-2/+1
| | | | Change-Id: I6cf77f01370204ad4bc7b345a040a9a3de1706a0
* Conform to C89/C90 variable declaration rules.Josh Haberman2015-07-101-10/+14
| | | | | | | | | | | | 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).Josh Haberman2015-06-081-1/+1
| | | | | 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#inspectIsaiah Peng2015-02-141-1/+1
|
* Addressed code-review comments.Chris Fallin2015-01-121-22/+8
|
* Addressed code-review comments.Chris Fallin2015-01-091-93/+18
|
* Addressed code-review comments.Chris Fallin2015-01-061-0/+11
|
* Support for maps in the MRI C Ruby extension.Chris Fallin2015-01-061-0/+883
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.