1. 27 Aug, 2019 2 commits
  2. 26 Aug, 2019 1 commit
    • Thomas Van Lenten's avatar
      Fix enum writing. · b273cba1
      Thomas Van Lenten authored
      Enums use varint, so if the value is negative it should end up being longer.
      
      This was caught my new conformance test cases.
      b273cba1
  3. 23 Aug, 2019 11 commits
  4. 22 Aug, 2019 4 commits
  5. 20 Aug, 2019 5 commits
  6. 16 Aug, 2019 2 commits
  7. 15 Aug, 2019 7 commits
  8. 14 Aug, 2019 2 commits
    • 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
    • Joshua Haberman's avatar
      Merge pull request #6502 from haberman/rubygcfix · 402c28a3
      Joshua Haberman authored
      Optimized away the creation of empty string objects.
      402c28a3
  9. 13 Aug, 2019 2 commits
    • Paul Yang's avatar
      Reinstall wget on mac (#6505) · fa8f155d
      Paul Yang authored
      fa8f155d
    • 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. 09 Aug, 2019 4 commits