- 14 Nov, 2016 1 commit
-
-
Marcin Wyszynski authored
-
- 03 Nov, 2016 1 commit
-
-
Marcin Wyszynski authored
-
- 30 Aug, 2016 2 commits
-
-
Brendan Ribera authored
Instead of shifting/xoring the hash at each field, use the built-in ruby apis for generating a hash from multiple input values. Now returns a Fixnum.
-
Joshua Haberman authored
Ruby: make sure map parsing frames are GC-rooted.
-
- 29 Aug, 2016 1 commit
-
-
Josh Haberman authored
-
- 26 Aug, 2016 1 commit
-
-
Josh Haberman authored
-
- 21 Jul, 2016 1 commit
-
-
Josh Haberman authored
-
- 03 Jul, 2016 1 commit
-
-
Otto Kekäläinen authored
-
- 18 May, 2016 2 commits
-
-
Josh Haberman authored
-
Josh Haberman authored
-
- 22 Apr, 2016 1 commit
-
-
Josh Haberman authored
-
- 15 Apr, 2016 2 commits
-
-
Josh Haberman authored
-
Josh Haberman authored
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)
-
- 14 Apr, 2016 1 commit
-
-
Josh Haberman authored
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.
-
- 18 Feb, 2016 2 commits
-
-
Josh Haberman authored
-
Josh Haberman authored
-
- 03 Feb, 2016 1 commit
-
-
Dongjoon Hyun authored
-
- 12 Jan, 2016 2 commits
-
-
Josh Haberman authored
-
Josh Haberman authored
-
- 20 Nov, 2015 2 commits
-
-
Anders Carling authored
-
Anders Carling authored
More informative and more ruby-like
-
- 28 Sep, 2015 1 commit
-
-
Josh Haberman authored
Also updated the Gemfile.lock since alpha-4 has been pushed to RubyGems. Change-Id: I8ddc5f125f28aa9a33c88dfe48251a75a877e1d3
-
- 20 Aug, 2015 1 commit
-
-
Josh Haberman authored
Change-Id: I6cf77f01370204ad4bc7b345a040a9a3de1706a0
-
- 13 Aug, 2015 1 commit
-
-
Josh Haberman authored
Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9
-
- 16 Jul, 2015 1 commit
-
-
Josh Haberman authored
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
-
- 10 Jul, 2015 1 commit
-
-
Josh Haberman authored
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
-
- 08 Jul, 2015 1 commit
-
-
Josh Haberman authored
Change-Id: I8e2b425f9008e6b82d41d59783bb8b04af1f886f Fixes: https://github.com/google/protobuf/issues/474.
-
- 23 Jun, 2015 1 commit
- 09 Jun, 2015 2 commits
-
-
Josh Haberman authored
upb no longer requires -std=c99 but the Ruby/C code still uses C99 features.
-
Josh Haberman authored
Since this version of upb supports C89, all of the extra compiler flags are no longer required.
-
- 19 May, 2015 1 commit
-
-
Chris Fallin authored
Also fixed lines with > 80 char length.
-
- 15 May, 2015 1 commit
-
-
Chris Fallin authored
- 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.
-
- 14 May, 2015 1 commit
-
-
Adam Greene authored
-
- 13 May, 2015 1 commit
-
-
Adam Greene authored
* 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
-
- 02 May, 2015 2 commits
-
-
Adam Greene authored
-
Adam Greene authored
ruby arrays don't throw an exception; they return nil. Lets do the same! this fix also includes the ability to use negative array indicies
-
- 13 Apr, 2015 1 commit
-
-
Chris Fallin authored
Includes repro test case from @wfarr.
-
- 14 Feb, 2015 1 commit
-
-
Isaiah Peng authored
-
- 13 Feb, 2015 2 commits
-
-
Chris Fallin authored
-
Chris Fallin authored
Previously, we supported map fields in the Ruby DSL. However, we never connected the final link in the chain and generated `map` DSL commands for map fields in `.proto` files. My apologies -- I had been testing with the DSL directly so I missed this. Also fixed a handlerdata-setup-infinite-loop when a map value field's type is its containing message.
-