aboutsummaryrefslogtreecommitdiff
path: root/ruby/ext/google/protobuf_c/upb.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling in strings and commentsOtto Kekäläinen2016-07-031-1/+1
|
* Updated upb and simplified ruby code a bit with new upb method.Josh Haberman2016-04-221-588/+737
|
* Ruby JSON: always accept both camelCase and original field names.Josh Haberman2016-04-141-4/+10
| | | | | | | | For JSON encoding we provide a new option to decide at encode time whether to use camelCase or original proto field names: json = MapMessage.encode_json(m, :preserve_proto_fieldnames => true)
* Updated upb: picked up legacy JSON flags to help Ruby users migrate.Josh Haberman2016-04-141-937/+867
| | | | | | | | | | | | | The flags are: UPB_JSON_ACCEPT_LEGACY_FIELD_NAMES UPB_JSON_WRITE_LEGACY_FIELD_NAMES The first just allows the parser to accept the old field names. The second makes the printer print the old field names. These flags are intended to be temporary, as a migration aid for users.
* Updated upb from latest changes.Josh Haberman2016-02-181-9/+31
|
* Changed Ruby to properly camelCase its JSON by default.Josh Haberman2016-02-181-36/+281
|
* Fixed several Ruby conformance test cases through upb update.Josh Haberman2015-08-121-2/+9
| | | | Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9
* Added Ruby to conformance tests.Josh Haberman2015-07-161-266/+194
| | | | | | | | | | | | | 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
* Update upb to fix two bugs in the Ruby library.Josh Haberman2015-06-221-1/+1
| | | | | | Fixes: https://github.com/google/protobuf/issues/502 https://github.com/google/protobuf/issues/425
* Updated upb to latest version (C89).Josh Haberman2015-06-081-3117/+3305
| | | | | Since this version of upb supports C89, all of the extra compiler flags are no longer required.
* Update MRI C Ruby extension to use new version of upb.Chris Fallin2015-05-151-467/+511
| | | | | | | | | - 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.
* Updated to latest upb and added test for JSON map operation.Chris Fallin2015-02-021-1/+26
|
* Support oneofs in MRI Ruby C extension.Chris Fallin2015-01-141-54/+581
|
* Update upb amalgamation.Chris Fallin2015-01-091-7/+18
|
* Support for maps in the MRI C Ruby extension.Chris Fallin2015-01-061-5/+53
| | | | | | | | 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/+7439
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'.