1. 19 Jul, 2013 3 commits
  2. 09 Jul, 2013 5 commits
  3. 25 Jun, 2013 2 commits
  4. 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
  5. 07 Jun, 2013 3 commits
  6. 06 Jun, 2013 4 commits
  7. 05 Jun, 2013 1 commit
  8. 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
  9. 30 Apr, 2013 1 commit
  10. 29 Apr, 2013 1 commit
  11. 26 Apr, 2013 1 commit
  12. 09 Apr, 2013 2 commits
  13. 08 Apr, 2013 1 commit
  14. 04 Apr, 2013 4 commits
  15. 03 Apr, 2013 3 commits
    • Ulas Kirazci's avatar
      Prevent conflicts between local and proto variable names. · 3234cee5
      Ulas Kirazci authored
      Prefix access to proto variable names with "this.". Also remove unused
      GenerateMergingCode.
      
      Change-Id: I5f07d3252fc385c4174d9165b64785b40f676e17
      3234cee5
    • Ulas Kirazci's avatar
      am 43325653: Nano protobufs. · 86ce4717
      Ulas Kirazci authored
      * commit '43325653beb4e5b6923d0380a84bf7e204be5c22':
        Nano protobufs.
      86ce4717
    • Ulas Kirazci's avatar
      Nano protobufs. · d6592c75
      Ulas Kirazci authored
      Like micro protobufs except:
      
      - No setter/getter/hazzer functions.
      - Has state is not available. Outputs all fields != their default.
      - CodedInputStream can only take byte[] (not InputStream).
      - Repeated fields are in arrays, not ArrayList or Vector.
      - Unset messages/groups are null, not "defaultInstance()".
      - Required fields are always serialized.
      
      To use:
      
      - Link libprotobuf-java-2.3.0-nano runtime.
      - Use LOCAL_PROTOC_OPTIMIZE_TYPE := nano
      
      Change-Id: I7429015b3c5f7f38b7be01eb2d4927f7a9999c80
      d6592c75
  16. 02 Apr, 2013 1 commit
  17. 01 Apr, 2013 2 commits
    • Wink Saville's avatar
      Merge "Nano protobufs." · 64a84212
      Wink Saville authored
      64a84212
    • Ulas Kirazci's avatar
      Nano protobufs. · 2337023f
      Ulas Kirazci authored
      Like micro protobufs except:
      
      - No setter/getter/hazzer functions.
      - Has state is not available. Outputs all fields != their default.
      - CodedInputStream can only take byte[] (not InputStream).
      - Repeated fields are in arrays, not ArrayList or Vector.
      - Unset messages/groups are null, not "defaultInstance()".
      - Required fields are always serialized.
      
      To use:
      
      - Link libprotobuf-java-2.3.0-nano runtime.
      - Use LOCAL_PROTOC_OPTIMIZE_TYPE := nano
      
      Change-Id: I7429015b3c5f7f38b7be01eb2d4927f7a9999c80
      2337023f
  18. 15 Dec, 2012 2 commits
  19. 08 Nov, 2012 1 commit
    • Przemyslaw Szczepaniak's avatar
      Add gnustl+rtti version of cpp full library · 610c2fd7
      Przemyslaw Szczepaniak authored
      Adding new version of cpp  library,
      'libprotobuf-cpp-2.3.0-full-gnustl-rtti'. Previously, c++ code
      compiled against gnustl couldn't link with this library - having
      both gnustl and stlport in same binary leads to nasty conflicts.
      
      Bug: 7484202
      Change-Id: Ic4fbbfc2839c4ce88bf605cf3d9cca47b146f965
      610c2fd7
  20. 07 Sep, 2012 1 commit