aboutsummaryrefslogtreecommitdiff
path: root/ruby/ext/google/protobuf_c/defs.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed Ruby to properly camelCase its JSON by default.Josh Haberman2016-02-181-0/+5
|
* Merge pull request #584 from haberman/cwarningsJoshua Haberman2015-08-211-68/+88
|\ | | | | Ruby: Conform to C89/C90 variable declaration rules.
| * Conform to C89/C90 variable declaration rules.Josh Haberman2015-07-101-68/+88
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Added Ruby to conformance tests.Josh Haberman2015-07-161-3/+65
|/ | | | | | | | | | | | | This involved fixing a few important bugs in the Ruby implementation -- mostly cases of mixing upb field types and descriptor types (upb field types do not distinguish between int/sint/fixed/sfixed like descriptor types do). Also added protobuf-specific exceptions so parse errors can be caught specifically. Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036
* Fixed compiler warnings and added -std=c99.Josh Haberman2015-06-091-9/+6
| | | | | upb no longer requires -std=c99 but the Ruby/C code still uses C99 features.
* Ruby C extension speedup: don't re-intern constant string needlessly.Chris Fallin2015-05-191-5/+3
| | | | Also fixed lines with > 80 char length.
* Fixed issue #283: crash in JSON handler cleanup.Chris Fallin2015-04-131-1/+1
| | | | Includes repro test case from @wfarr.
* Addressed code-review comments.Chris Fallin2015-01-261-2/+2
|
* Addressed code-review comments.Chris Fallin2015-01-141-7/+7
|
* Support oneofs in MRI Ruby C extension.Chris Fallin2015-01-141-7/+296
|
* Addressed code-review comments.Chris Fallin2015-01-091-0/+2
|
* Addressed code-review comments.Chris Fallin2015-01-061-5/+6
|
* Support for maps in the MRI C Ruby extension.Chris Fallin2015-01-061-6/+104
| | | | | | | | 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/+1286
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'.