1. 04 Sep, 2019 1 commit
  2. 28 Aug, 2019 1 commit
  3. 27 Aug, 2019 1 commit
  4. 22 Aug, 2019 4 commits
  5. 20 Aug, 2019 1 commit
  6. 16 Aug, 2019 2 commits
  7. 15 Aug, 2019 2 commits
  8. 14 Aug, 2019 1 commit
    • Joshua Haberman's avatar
      Roll forward Ruby upb changes now that protobuf Ruby build is fixed (#5866) · 63f324a9
      Joshua Haberman authored
      * Rolled forward again with "Updated upb from defcleanup branch..."
      
      Revert "Revert "Updated upb from defcleanup branch and modified Ruby to use it (#5539)" (#5848)"
      
      This reverts commit 1568deab.
      
      * A few more merge fixes.
      
      * Updated for defcleanup2 branch.
      
      * Fixed upb to define upb_decode().
      
      * Fixed names of nested messages.
      
      * Revert submodule.
      
      * Set -std=gnu90 and fixed warnings/errors.
      
      Some of our Kokoro tests seem to run with this level of warnings,
      and the source strives to be gnu90 compatible.  Enforcing it for
      every build removes the possibility of some errors showing up in
      Kokoro/Travis tests only.
      
      * Fixed remaining warnings with gnu90 mode.
      
      I tried to match warning flags with what Ruby appears to do
      in our Kokoro tests.
      
      * Initialize values registered by rb_gc_register_address().
      
      * Fixed subtle GC bug.
      
      We need to initialize this marked value before creating the instance.
      
      * Truly fix the GC bug.
      
      * Updated upb for mktime() fix.
      
      * Removed XOPEN_SOURCE as we are not using strptime().
      
      * Removed fixed tests from the conformance failure list for Ruby.
      
      * Fixed memory error related to oneof def names.
      
      * Picked up new upb changes re: JSON printing.
      
      * Uncomment concurrent decoding test.
      63f324a9
  9. 13 Aug, 2019 1 commit
    • Joshua Haberman's avatar
      Optimized away the creation of empty string objects. · 1e37a94b
      Joshua Haberman authored
      Prior to this CL, creating an empty message object would create
      two empty string objects for every declared field.  First we
      created a unique string object for the field's default.  Then
      we created yet another string object when we assigned the
      default value into the message: we called #encode to ensure
      that the string would have the correct encoding and be frozen.
      
      I optimized these unnecessary objects away with two fixes:
      
      1. Memoize the empty string so that we don't create a new empty
         string for every field's default.
      2. If we are assigning a string to a message object, avoid creating
         a new string if the assigned string has the correct encoding and
         is already frozen.
      1e37a94b
  10. 25 Jul, 2019 1 commit
  11. 23 Jul, 2019 1 commit
  12. 17 Jun, 2019 1 commit
  13. 16 Jun, 2019 1 commit
  14. 22 May, 2019 1 commit
  15. 14 May, 2019 1 commit
  16. 13 May, 2019 1 commit
  17. 10 May, 2019 1 commit
  18. 28 Mar, 2019 3 commits
  19. 27 Mar, 2019 2 commits
  20. 26 Mar, 2019 1 commit
  21. 25 Mar, 2019 2 commits
  22. 20 Mar, 2019 1 commit
  23. 14 Mar, 2019 1 commit
  24. 12 Mar, 2019 1 commit
  25. 11 Mar, 2019 1 commit
  26. 08 Mar, 2019 1 commit
  27. 06 Mar, 2019 2 commits
  28. 02 Mar, 2019 2 commits
    • Joe Bolinger's avatar
      Add frozen checks in Ruby (#5726) · 76685c6f
      Joe Bolinger authored
      * add frozen checks
      
      * Use rb_check_frozen
      
      * Correct assertion on frozen error message
      
      The second argument for the method assert_raise is the message
      to show when the assertion fails. It does not check the error
      object's message.
      Add an additional assertion that does check the error's message.
      
      * do frozen check first
      76685c6f
    • Joe Bolinger's avatar
      Generate extra enum method helpers for Ruby (#5670) · a6e3ac0d
      Joe Bolinger authored
      * example with extra enum method
      
      * update expected test output
      
      * slight simplification
      
      * add test for generated enum helpers
      
      * move const helpers to c extension
      
      * more explicit test
      
      * more explicit test
      
      * indent
      
      * add foo test
      
      * add check for _const suffix
      a6e3ac0d
  29. 28 Feb, 2019 1 commit