- 24 Jun, 2013 1 commit
-
-
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
-
- 07 Jun, 2013 2 commits
-
-
Wink Saville authored
-
Brian Duff authored
When the java_multiple_files option is on, enums are placed in java class files based on the name of the original enum type. This fixes field references to such enum values to point to the correct class name when setting the default. Change-Id: I51a2e251c0d0ab1e45a182ba849d314232a74bac
-
- 06 Jun, 2013 2 commits
-
-
Wink Saville authored
-
Wink Saville authored
Merge "Fix javanano compiler generating uncompileable java code. This happened for enums when java_multiple_files=true."
-
- 05 Jun, 2013 1 commit
-
-
Brian Duff authored
for enums when java_multiple_files=true. Change-Id: Ia6fe1a51c6a46eb9a2f29527829794076b165cb7 Signed-off-by: Brian Duff <bduff@google.com>
-
- 04 Jun, 2013 1 commit
-
-
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
-
- 29 Apr, 2013 1 commit
-
-
Wink Saville authored
-
- 26 Apr, 2013 1 commit
-
-
Matt Thrailkill authored
Change-Id: Ifa3c8674482ae9575df459a3e76e9f8b4a9296b5 Signed-off-by: Matt Thrailkill <mthrailkill@google.com>
-
- 09 Apr, 2013 1 commit
-
-
Ficus Kirkpatrick authored
-
- 08 Apr, 2013 1 commit
-
-
Ficus Kirkpatrick authored
It didn't appear until API 9 and is thus incompatible with Froyo. Instead, allocate a new array and System.arraycopy inline. Change-Id: I2e1cd07a4a762ef8edd5ec06ceaa1d38b302823d
-
- 04 Apr, 2013 1 commit
-
-
Wink Saville authored
-
- 03 Apr, 2013 1 commit
-
-
Ulas Kirazci authored
Prefix access to proto variable names with "this.". Also remove unused GenerateMergingCode. Change-Id: I5f07d3252fc385c4174d9165b64785b40f676e17
-
- 01 Apr, 2013 2 commits
-
-
Wink Saville authored
-
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
-
- 15 Dec, 2012 1 commit
-
-
Ying Wang authored
Change-Id: I68963dc1c274c3dcf1038d4e21dc418f9554b78f
-
- 14 Aug, 2012 1 commit
-
-
Ying Wang authored
Bug: 6932421 Change-Id: Ieaad80daf4e6a4a7f058dd242f37a144e8ee9e76
-
- 15 Jun, 2012 1 commit
-
-
Ying Wang authored
This change unbundled the protobuf target libraries, so they can be used in unbundled branches. Change-Id: Ic4948f27395b2c2b81ea120d9e2353ba9aad02a8
-
- 12 Jul, 2011 1 commit
-
-
Jeff Brown authored
Bug: 5010576 Change-Id: I9a5e66066482aa0007f221bb866ac57f4eb1b70c
-
- 08 Feb, 2011 2 commits
- 26 Jan, 2011 1 commit
-
-
Ying Wang authored
Change-Id: I535f93389b3b13578c9602dce3d38f1ca256e807
-
- 05 Nov, 2010 1 commit
-
-
Wink Saville authored
With gLucid protoc is installed in the base system, by renaming our version there will be no confusion about which compiler is being used. Change-Id: I975e29e4444af9467c9b9600d5a2e7027f4046ae
-
- 02 Nov, 2010 1 commit
-
-
Iain Merrick authored
We need this to generate code for .proto files that have been added to external/chromium (see change I6960c18d). Change-Id: Ic7a78273ee4f066680039d2f724e658a84869621
-
- 07 Oct, 2010 1 commit
-
-
Wink Saville authored
Merge commit '3574de1ca8301e1e13d1c89f2e2a902499d6bae9' into gingerbread-plus-aosp * commit '3574de1ca8301e1e13d1c89f2e2a902499d6bae9': Remove vestigial references to StringUtf8Micro.
-
- 06 Oct, 2010 1 commit
-
-
Wink Saville authored
Change-Id: Ica75231b03de4768c671bf046b92bd7630ecd5c8
-
- 05 Oct, 2010 2 commits
-
-
Jean-Baptiste Queru authored
Change-Id: Id43a6262c3f5cffc37db77748f129acb9c841823
-
Jean-Baptiste Queru authored
This allows compiling this code in Gingerbread. Bug: 3064326 Change-Id: Idab78a5a31a3c2fc35bcdb773aaecf1e4fb70bcb
-
- 01 Oct, 2010 1 commit
-
-
Omari Stephens authored
Change-Id: Ic214bfb361eb2167d301b55a34b209a84a6d4a08
-
- 28 Jun, 2010 1 commit
-
-
Wink Saville authored
Add full c++ version of libprotobuf as a static library. Change-Id: I153bc913ff51e6a904284b733cac000497e1caac
-
- 08 Jun, 2010 1 commit
-
-
Wink Saville authored
Removed use of StringUtf8Micro and instead use an extra byte array instance variable directly in the class. This allows the list returned for repeated strings to be a String instead of a StringUtf8Micro making the class compatible with existing code. Removed PerfTimer.java which isn't used. Change-Id: Ie6acfb40f98f59a48c1a795d86f715078f9611f5
-
- 05 Jun, 2010 1 commit
-
-
Wink Saville authored
Also, have all the libraries follow the same naming convention so rename com.google.protobuf.micro library to libprotobuf-java-2.3.0-micro. Change-Id: I7c2a7d883a17f9a6d084ce4cac9601e344e416bf
-
- 04 Jun, 2010 1 commit
-
-
Kenny Root authored
The host's stl library conflicts with stlport, so we need to exclude stlport from inclusion in the build if we're targeting the simulator. Change-Id: Ib4da6140f4b8abb271d8e67636ccec2a796c8c5a
-
- 03 Jun, 2010 2 commits
-
-
Wink Saville authored
-
Wink Saville authored
Added android/config.h which will be used to configure android builds of libraries. Currently I've undef HAVE_HASH_MAP and HAVE_HASH_SET as the versions in stlport generated compile errors. Updated .gitignore to be more selective on what it ignores so android/config.h wouldn't be ignored. Change-Id: I53f3636121db2c6017491a37998b816aaf0cab5d
-
- 29 May, 2010 2 commits
-
-
Wink Saville authored
See README.android for additional information. Change-Id: I6693e405c0d651eacacd3227a876129865dd0d3c
-
Wink Saville authored
This is the contents of protobuf-2.3.0.tar.bz2 from http://code.google.com/p/protobuf/downloads/list. Change-Id: Idfde09ce7ef5ac027b07ee83f2674fbbed5c30b2
-
- 28 May, 2010 1 commit
-
-
Wink Saville authored
See README.android for additional information. Change-Id: I9c5ef2eec484cc87e32841f39060f8f27b8e8472
-
- 27 May, 2010 2 commits
-
-
Wink Saville authored
This is the contents of protobuf-2.2.0a.tar.bz2 from http://code.google.com/p/protobuf/downloads/list and is the base code for the javamicro code generator. Change-Id: Ie9a0440a824d615086445b6636944484b3155afa
-
Wink Saville authored
Change-Id: Ib1009c088a3815c9152385e2b764a2c7cd28317e
-