Max Cai
eb3871bcbd
am b3ad7eae: am 0143d32d: am f5271c9c: Merge "Align with main: two ways of parsing repeated packable fields."
...
* commit 'b3ad7eaeb3233d9842a74e2252efa189d4c0524a':
11 years ago
Max Cai
8e768270e9
am 4115d56f: am 0afd5a4d: am 3e0d99fa: Merge "Update MessageNano#toString() to return mostly valid TextFormat."
...
* commit '4115d56f3d03ca788a08a0a1eb6c79fa107550d3':
11 years ago
Max Cai
1161744125
am 139bd6ac: am 382a066a: am 332076f0: Merge "Fix warnings warnings in header files, hide others."
...
* commit '139bd6ac80ca61f85796bded692eeb5bb932cfca':
11 years ago
Max Cai
16d339f428
am b88c1729: am 77e9fbd3: am ac8e2e15: Merge "Minimize method count for nanoproto."
...
* commit 'b88c1729d89e76b06ae3b87d90cae6ea36cfde90':
11 years ago
Max Cai
aff0edcc22
am 8eda9d3f: am 42b5c369: am 8a15121c: Merge "Allow for ref-type arrays containing null elements."
...
* commit '8eda9d3f991c62237a24e4d9f8e7f58df1687a86':
11 years ago
Max Cai
493ac5bb15
am e2cbcf38: am 72fa49d4: am bb971d53: Merge "Implement hashCode() and equals() behind a generator option."
...
* commit 'e2cbcf3853917c6ce1fcc0cbcc00b747db7798fe':
11 years ago
Max Cai
bd636aed71
am 0610e683: am 7cb6b37f: am 42be1e79: Merge "Feature request: set() and clear() accessors return this"
...
* commit '0610e6834fa213c026d91fab037a649613840f44':
11 years ago
Max Cai
11e2bf3bc2
am 4b359335: am d52f7a3e: am c50f605c: Merge "Make generated code more aligned with Google Java style."
...
* commit '4b359335e94c44fa16b78c1406f3cd71b7fbf40b':
11 years ago
Max Cai
525810e6d7
am 677d51bb: am 5b4b84a1: am afaf74ce: Merge "Fix repeated field merging semantics."
...
* commit '677d51bb86ca57654617dae9fe645995a1b22658':
11 years ago
Max Cai
751cfd0c52
am 8f903e12: am bf222b76: am 63e819ad: Merge "Protect against null repeated fields."
...
* commit '8f903e123aff94f272aaae22e275924980433a47':
11 years ago
Max Cai
7da3e7591f
am 0e5add1d: am 051ea13c: am c85806ba: Merge remote-tracking branch \'goog/klp-dev-plus-aosp\' into tomerge
...
* commit '0e5add1dd4a5ce73ff10b38307bae942be178d5b':
11 years ago
Max Cai
1274ae6cf2
am ee8847c1: am 145af9e8: am 39cee9f1: Merge "Remove all field initializers and let ctor call clear()."
...
* commit 'ee8847c131e91c718a0f4d2af73ec56d9fd24d81':
11 years ago
Ulas Kirazci
5b799a26e3
am dc8f4a8b: am 7457ebc9: am cbb08132: Merge "Add missing README parts for enum_style and in-repo usage"
...
* commit 'dc8f4a8bc871cf1ba6a27eaf7f581a144571411a':
11 years ago
Ulas Kirazci
34d6051064
am ca07ad9d: am 570db0e9: am c4a1b547: Merge "Add reftypes field generator option."
...
* commit 'ca07ad9d617b3ebab5d66077413bdfc7673a2926':
11 years ago
Wink Saville
2e58634a11
am d6be7db0: am fdbd1e42: am 44cbb06c: Merge "Fix some indenting issues with set__() function"
...
* commit 'd6be7db044050f9941ff7b7a3e57af0565d4e53c':
11 years ago
Ulas Kirazci
d8e4681030
am 5f8ef515: am 0255eb04: am 9827c718: Merge "Fix roundtrip failure with groups when unknown fields are enabled."
...
* commit '5f8ef51529f07ae758ec4944759828a1414dbb7c':
11 years ago
Ulas Kirazci
9865277597
am c1f9ebce: am 8f93f123: am 44dc2f1e: Merge "Implement enum_style=java option."
...
* commit 'c1f9ebcefb026a84e369347ddc23a3e4c6e9c940':
11 years ago
Ulas Kirazci
80e4a3466f
am c017bb8c: am 3f85c840: am 0d035e9b: Merge "Accessor style for optional fields."
...
* commit 'c017bb8c147d30641b36e6d16b9133c0dd9e8453':
11 years ago
Ulas Kirazci
1eb488bc32
am 6778e0a0: am 2923f3d2: am cc652daa: Merge "Add some bitfield helper methods from 2.4"
...
* commit '6778e0a0198f602cab76daf6428a97292007dc71':
11 years ago
Ulas Kirazci
1724ed4d4e
am bbda8b10: am 081ac0fc: am 9e6afdf9: Merge "Add two codegen parameters to nano."
...
* commit 'bbda8b10152bbdb7d6057724f0e3e197db9ec108':
11 years ago
Adam Metcalf
51d87cc588
am 380d1b5a: Fix the merge conflict leftovers.
...
* commit '380d1b5a78de07a081b36c890321ac61a0fced1a':
Fix the merge conflict leftovers.
11 years ago
Wink Saville
5486adb7d2
am adfb09a0: am 7632e0ad: Merge commit \'11c3b27d\' into fix-mc
...
* commit 'adfb09a08d450f356a69c74c0a80a3e4573e20b8':
11 years ago
Wink Saville
fb594ee1ec
am df9a6dff: am 48ee66d2: am ece98e5f: Merge "Fix checkbuild targets, remove unittest_enum_mulitplejava_nano.proto."
...
* commit 'df9a6dffee90f5ff657265b415ee5eb9fb5e3960':
11 years ago
Wink Saville
990a4753dc
am ba363f13: am a38aedb3: am e7b778b9: Merge "Fix outer classname for javamicro/javanano."
...
* commit 'ba363f1380e9b99e6606462b21febd2e4027e340':
11 years ago
Wink Saville
5534cede6e
am 4d7f9ad7: am ece98e5f: Merge "Fix checkbuild targets, remove unittest_enum_mulitplejava_nano.proto."
...
* commit '4d7f9ad71771fff628e88d463af94b44457b7934':
11 years ago
Wink Saville
5a2be75cb2
am f105476a: am e7b778b9: Merge "Fix outer classname for javamicro/javanano."
...
* commit 'f105476adedac50be509ed36cbb187b92fca54d9':
11 years ago
Ying Wang
efd4ae404f
am 94f522f9: am 49512cb0: Merge "You CANNOT change the global WITH_DEXPREOPT"
...
* commit '94f522f907e3f34f70d9e7816b947e62fddbb267':
You CANNOT change the global WITH_DEXPREOPT
11 years ago
Ying Wang
70ef74aaa6
am 49512cb0: Merge "You CANNOT change the global WITH_DEXPREOPT"
...
* commit '49512cb01065b41c0113248c2c02800de1156d50':
You CANNOT change the global WITH_DEXPREOPT
11 years ago
Ying Wang
b54018a23c
Merge "You CANNOT change the global WITH_DEXPREOPT"
11 years ago
Ying Wang
d75027090c
You CANNOT change the global WITH_DEXPREOPT
...
Bug: 14380196
Change-Id: I2b9e6db081558687afd5c20c7084824dfe1bb26e
11 years ago
Jan-Willem Maarse
00120917a1
am 58eb8e98: am d20f0a42: Merge "Fix NPE when clearing an extension in nano protos"
...
* commit '58eb8e98d17971273548930a7e8d45e69995a2c8':
Fix NPE when clearing an extension in nano protos
11 years ago
Jan-Willem Maarse
3e46c9b5da
am d20f0a42: Merge "Fix NPE when clearing an extension in nano protos"
...
* commit 'd20f0a4260763531acf5de677e4830afe0bfc53e':
Fix NPE when clearing an extension in nano protos
11 years ago
Jan-Willem Maarse
4aecb2b6d5
Merge "Fix NPE when clearing an extension in nano protos"
11 years ago
Jan-Willem Maarse
b24fdd476f
Fix NPE when clearing an extension in nano protos
...
If ExtendableMessageNano doesn't have any unknown fields, trying to
clear an extension by setting it to null would throw an NPE.
Change-Id: I6abcdfcc0193de44f97b21dd6cc2f40604938a1a
11 years ago
Bill Yi
12214c58ec
am ddeaf256: Merge commit \'ba89934bdae7f4256c94a0a24992903a114e764f\' into HEAD
...
* commit 'ddeaf25683a5aa4d6e7ef784c7380c9332cdb3ce':
11 years ago
Bill Yi
af802cd274
Merge commit 'ba89934bdae7f4256c94a0a24992903a114e764f' into HEAD
11 years ago
Jeff Davidson
3eafa87ab8
am 33a6680a: Merge "Support generation of Parcelable nano messages."
...
* commit '33a6680ab98977cd5b9b7b03f4875b9265cfec3b':
Support generation of Parcelable nano messages.
11 years ago
Jeff Davidson
a2724e7cf3
Merge "Support generation of Parcelable nano messages."
11 years ago
Jeff Davidson
ec4b1ce0b6
Support generation of Parcelable nano messages.
...
This CL adds the "parcelable_messages" option. When enabled, all
generated message classes will conform to the Android Parcelable
contract. This is achieved by introducing a new parent class for
generated classes which implements the required functionality.
Since the store_unknown_fields option also makes use of a superclass,
ExtendableMessageNano, we have two versions of the new Parcelable
superclass: one extending MessageNano, and one extending
ExtendableMessageNano. These classes are otherwise identical.
As these classes depend on Android framework jars, they are not
included in the host .jar build of the nanoproto library.
Finally, add a test suite for running tests of Android-specific
functionality, as this cannot be done on a desktop JVM.
Change-Id: Icc2a257f03317e947f7078dbb9857c3286857497
11 years ago
Max Cai
5cc8a31ea1
am 829f6c01: Merge "Adds --ignore_service nano proto compiler flag"
...
* commit '829f6c014ce69d04593d30652c8acc2f7a793851':
Adds --ignore_service nano proto compiler flag
11 years ago
Max Cai
f1019531a6
Merge "Adds --ignore_service nano proto compiler flag"
11 years ago
Jie Dai
d9425a6218
Adds --ignore_service nano proto compiler flag
...
Nano proto compiler normally throws an error if any service is
defined. If --ignore-services=true is set, no error is thrown and the
service is simply skipped.
Change-Id: Id82583555085cc55550d03a485d3f0189885240b
11 years ago
Max Cai
09f640ef43
am ea68d73c: Merge "Don\'t reset cachedSize to 0 in getSerializedSize"
...
* commit 'ea68d73c08b3b9319faef8ef9cd283e773a6ef20':
Don't reset cachedSize to 0 in getSerializedSize
11 years ago
Max Cai
56cba8eeae
Merge "Don't reset cachedSize to 0 in getSerializedSize"
11 years ago
Dave Hawkey
598087ef53
Don't reset cachedSize to 0 in getSerializedSize
...
This avoids a race-condition when cachedSize is momentarily set to 0
for non-empty messages if multiple threads call getSerializedSize
(e.g. during serialization).
This is a retry of https://android-review.googlesource.com/#/c/88570/ .
getSerializedSize() has been kept non-final so that messages generated
with a previous version of the compiler will not break.
Change-Id: I8d8154a10938cde579ae19c55eae55b1e70e0bda
11 years ago
Wink Saville
6ba01e2439
am ce2f5991: Merge "Revert "Don\'t reset cachedSize to 0 in getSerializedSize""
...
* commit 'ce2f59915e0b41c935e3f72a2b7b71b6c19b6860':
Revert "Don't reset cachedSize to 0 in getSerializedSize"
11 years ago
Wink Saville
1e92850c47
am ce2f5991: Merge "Revert "Don\'t reset cachedSize to 0 in getSerializedSize""
...
* commit 'ce2f59915e0b41c935e3f72a2b7b71b6c19b6860':
Revert "Don't reset cachedSize to 0 in getSerializedSize"
11 years ago
Wink Saville
dc2ab87569
Merge "Revert "Don't reset cachedSize to 0 in getSerializedSize""
11 years ago
Wink Saville
b7dd7d9294
Revert "Don't reset cachedSize to 0 in getSerializedSize"
...
This reverts commit c6e12c6702ca764486f952654ba1568f00efe813.
11 years ago
Wink Saville
d76d44f529
am ec0b12c3: Merge "Don\'t reset cachedSize to 0 in getSerializedSize"
...
* commit 'ec0b12c34a6329d2f98003e9102fe2d75726c797':
Don't reset cachedSize to 0 in getSerializedSize
11 years ago