aboutsummaryrefslogtreecommitdiff
path: root/ruby/ext/google/protobuf_c/protobuf.h
Commit message (Collapse)AuthorAgeFilesLines
* Changed Ruby to properly camelCase its JSON by default.Josh Haberman2016-02-181-0/+1
|
* Added Ruby to conformance tests.Josh Haberman2015-07-161-0/+3
| | | | | | | | | | | | | 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
* Ruby C extension speedup: don't re-intern constant string needlessly.Chris Fallin2015-05-191-2/+2
| | | | Also fixed lines with > 80 char length.
* Merge pull request #387 from cfallin/ruby-upb-updateJoshua Haberman2015-05-181-0/+4
|\ | | | | Update MRI C Ruby extension to use new version of upb (with upb_env).
| * Update MRI C Ruby extension to use new version of upb.Chris Fallin2015-05-151-0/+4
| | | | | | | | | | | | | | | | | | - Alter encode/decode paths to use the `upb_env` (environment) abstraction. - Update upb amalgamation to upstream `93791bfe`. - Fix a compilation warning (void*->char* cast). - Modify build flags so that upb doesn't produce warnings -- the Travis build logs were pretty cluttered previously.
* | Merge pull request #338 from skippy/encode-decode-helpersChris Fallin2015-05-151-5/+1
|\ \ | |/ |/| ruby: Encode decode cleanup and behavior normalization
| * adding and simplifying encoders/decodersAdam Greene2015-05-131-5/+1
| | | | | | | | | | | | * make consistent between mri and jruby * create a #to_h and have it use symbols for keys * add #to_json and #to_proto helpers on the Google::Protobuf message classes
* | make repeated_field quack like an arrayAdam Greene2015-05-141-2/+2
|/
* Updated based on code-review comments.Chris Fallin2015-02-021-0/+14
|
* Addressed code-review comments.Chris Fallin2015-01-141-1/+1
|
* Support oneofs in MRI Ruby C extension.Chris Fallin2015-01-141-2/+47
|
* Addressed code-review comments.Chris Fallin2015-01-091-2/+6
|
* Addressed code-review comments.Chris Fallin2015-01-061-0/+9
|
* Support for maps in the MRI C Ruby extension.Chris Fallin2015-01-061-2/+67
| | | | | | | | 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/+396
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'.