1. 19 Jul, 2013 8 commits
  2. 11 Jul, 2013 3 commits
  3. 09 Jul, 2013 5 commits
  4. 25 Jun, 2013 3 commits
  5. 24 Jun, 2013 1 commit
    • Brian Duff's avatar
      Nano support for extensions and unknown fields. · 5659cca8
      Brian Duff authored
      You can use the processor option store_unknown_fields to switch
      this support on:
      
        aprotoc --javanano_out=store_unknown_fields=true:/tmp/out
      
      A separate option for extensions isn't required. Support
      for unknown fields must be turned on to allow storing and
      retrieving extensions, because they are just stored as
      unknown fields. If unknown fields are switched on, extension
      related code will be generated when a proto message includes
      an extension range, or an extension is encountered.
      
      By default, store_unknown_fields is false. No additional
      code is generated, and the generator will error out if protos
      contain extension ranges or extensions.
      
      Change-Id: I1e034c9e8f3305612953f72438189a7da6ed2167
      5659cca8
  6. 07 Jun, 2013 3 commits
  7. 06 Jun, 2013 4 commits
  8. 05 Jun, 2013 1 commit
  9. 04 Jun, 2013 1 commit
    • Andrew Flynn's avatar
      Add toString() method to MessageNano. · a1612155
      Andrew Flynn authored
      - All of the real work for printing the proto is actually done in
        MessageNanoPrinter.
      - Uses reflection to find proto-defined fields and prints those.
      - Prints all fields, even defaults and nulls.
      - Also added a simple test to make sure it handles all proto types well.
        Tried not to make the test too brittle (but hey it's testing a toString()
        so how flexible can it be)
      
      Change-Id: I3e360ef8b0561041e010c1f3445ec45ecdcd2559
      a1612155
  10. 30 Apr, 2013 1 commit
  11. 29 Apr, 2013 1 commit
  12. 26 Apr, 2013 1 commit
  13. 09 Apr, 2013 2 commits
  14. 08 Apr, 2013 1 commit
  15. 04 Apr, 2013 4 commits
  16. 03 Apr, 2013 1 commit