1. 07 Jan, 2010 1 commit
  2. 05 Jan, 2010 1 commit
  3. 04 Jan, 2010 5 commits
  4. 24 Dec, 2009 1 commit
  5. 23 Dec, 2009 7 commits
  6. 22 Dec, 2009 8 commits
  7. 21 Dec, 2009 5 commits
  8. 20 Dec, 2009 1 commit
  9. 19 Dec, 2009 1 commit
  10. 18 Dec, 2009 7 commits
  11. 11 Dec, 2009 2 commits
  12. 01 Dec, 2009 1 commit
    • jasonh+personal@google.com's avatar
      Fix Issue 136: the memoized serialized size for packed fields may not · 9951233e
      jasonh+personal@google.com authored
      be properly set. writeTo() may be invoked without a call to
      getSerializedSize(), so the generated serialization methods would
      write a length of 0 for non-empty packed fields. Just call
      getSerializedSize() at the beginning of writeTo(): although this
      means that we may compute the byte size needlessly when there
      are no packed fields, in practice, getSerializedSize() will
      already have been called - all of the writeTo() wrappers in
      AbstractMessageLite invoke it.
      
      Tested: new unittest case in WireFormatTest.java now passes
      9951233e