1. 22 Apr, 2016 1 commit
  2. 15 Apr, 2016 1 commit
  3. 18 Feb, 2016 1 commit
  4. 28 Sep, 2015 1 commit
  5. 16 Jul, 2015 1 commit
    • Josh Haberman's avatar
      Added Ruby to conformance tests. · 181c7f26
      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
      181c7f26
  6. 10 Jul, 2015 1 commit
    • Josh Haberman's avatar
      Conform to C89/C90 variable declaration rules. · a1daeaba
      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
      a1daeaba
  7. 08 Jul, 2015 1 commit
  8. 19 May, 2015 1 commit
  9. 15 May, 2015 1 commit
    • Chris Fallin's avatar
      Update MRI C Ruby extension to use new version of upb. · d3262773
      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.
      d3262773
  10. 13 May, 2015 1 commit
    • Adam Greene's avatar
      adding and simplifying encoders/decoders · d1b52a00
      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
      d1b52a00
  11. 13 Feb, 2015 2 commits
    • Chris Fallin's avatar
      Addressed code-review comment. · 315b93fd
      Chris Fallin authored
      315b93fd
    • Chris Fallin's avatar
      Properly support maps in Ruby protoc and another bugfix. · a2bea0a0
      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.
      a2bea0a0
  12. 02 Feb, 2015 1 commit
  13. 26 Jan, 2015 2 commits
  14. 15 Jan, 2015 2 commits
  15. 14 Jan, 2015 1 commit
  16. 13 Jan, 2015 1 commit
  17. 09 Jan, 2015 1 commit
  18. 07 Jan, 2015 1 commit
  19. 06 Jan, 2015 1 commit
    • Chris Fallin's avatar
      Support for maps in the MRI C Ruby extension. · fd1a3ff1
      Chris Fallin authored
      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.
      fd1a3ff1
  20. 12 Dec, 2014 1 commit
  21. 10 Dec, 2014 1 commit
    • Chris Fallin's avatar
      Provide a Ruby extension. · 973f4257
      Chris Fallin authored
      This adds a Ruby extension in ruby/ that is based on the 'upb' library
      (now included as a submodule), and adds support for Ruby code generation
      to the protoc compiler.
      973f4257