liujisi@google.com
5c24564811
Update mainline version to 2.4.2-pre.
14 years ago
liujisi@google.com
3dc4a7be33
Fix incomplete comments.
14 years ago
liujisi@google.com
5a5e67a25d
Make protobuf java JDK 1.5 compatible.
14 years ago
liujisi@google.com
9cf65b7dd2
Use fully qualified java.lang.Object in protoc java code.
14 years ago
jasonh@google.com
eab9b5d47f
Fix issue 256: compute the correct size for negative enum values, which need to be sign extended.
14 years ago
liujisi@google.com
01cba4b16e
Update mainline version to 2.4.1-pre.
14 years ago
liujisi@google.com
bdfc1eab53
Add missing files into pom.xml for protobuf-lite.
14 years ago
liujisi@google.com
5c20ca1fcc
Escape C++ Trigraphs.
14 years ago
liujisi@google.com
6f2c3b8734
Boost version number to 2.4.0-pre, add more test cases for text_format.py about unicode field.
14 years ago
liujisi@google.com
5d8d2b0542
Fix issues: 200 202 211 215 237 246.
14 years ago
liujisi@google.com
2726e7a6eb
Fix issues: 166 167 172 175 181 188 192 194 195.
14 years ago
liujisi@google.com
33165fe0d5
Submit recent changes from internal branch. See CHANGES.txt for more details.
14 years ago
Wink Saville
b164b01203
Remove vestigial references to StringUtf8Micro.
...
Change-Id: Ica75231b03de4768c671bf046b92bd7630ecd5c8
14 years ago
kenton@google.com
a4a9ef8c8b
Roll back revision 313. A similar but far more exensive change was made in our internal branch, which will be integrated soon.
14 years ago
Wink Saville
00302c1d16
Changed speed optimization for strings.
...
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
15 years ago
Wink Saville
ce7a2b0149
Add support for Java micro protobuf's to protobuf-2.3.0.
...
See README.android for additional information.
Change-Id: I6693e405c0d651eacacd3227a876129865dd0d3c
15 years ago
Wink Saville
5ab6e29684
Add protobuf 2.3.0 sources
...
This is the contents of protobuf-2.3.0.tar.bz2 from
http://code.google.com/p/protobuf/downloads/list .
Change-Id: Idfde09ce7ef5ac027b07ee83f2674fbbed5c30b2
15 years ago
Wink Saville
e5566f8673
Add support for Java micro protobuf's to protobuf-2.2.0a.
...
See README.android for additional information.
Change-Id: I9c5ef2eec484cc87e32841f39060f8f27b8e8472
15 years ago
Wink Saville
3df2fda0e4
Add protobuf 2.2.0a sources
...
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
15 years ago
kenton@google.com
daee05168e
Optimize Java string serialization. Patch from Evan Jones.
15 years ago
kenton@google.com
ab6950d75d
More Java warning tweaks from Evan Jones.
15 years ago
kenton@google.com
28c2ec0dbd
Fix some Java warnings. Patch from Evan Jones.
15 years ago
kenton@google.com
ea75323710
Update version number in trunk to 2.3.1.
15 years ago
kenton@google.com
7b7a80eae4
Tweak doc comments.
15 years ago
kenton@google.com
535301894e
Address comments from various code reviews.
15 years ago
kenton@google.com
35d2f017a7
In Java's TextFormat, correcty concatenate adjacent string literals, as C++ does. Also fix a bug in handling of single-quoted strings.
15 years ago
kenton@google.com
6e8b9e4a4a
Make extension identifiers final. This improves security when untrusted code is present in the same class loader. In order to get around initialization ordering issues, I simply made the constructor for extension identifiers take no arguments and deferred initialization to an internalInit() method, which generated code will always call during init.
15 years ago
kenton@google.com
25cf9e3153
getExtension() on an empty repeated field should return an empty list, not a singular default value.
15 years ago
kenton@google.com
28e46df3e9
Clarify that pushLimit() does not limit the number of bytes CodedInputStream will read from the underlying InputStream.
15 years ago
kenton@google.com
afd32abb75
Set version to 2.3.0-pre.
15 years ago
kenton@google.com
fccb146e3f
Massive roll-up of changes. See CHANGES.txt.
15 years ago
jasonh+personal@google.com
9951233e9a
Fix Issue 136: the memoized serialized size for packed fields may not
...
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
15 years ago
kenton@google.com
6493368285
CodedInputStream.getTotalBytesRead(); patch from Michael Kucharski.
15 years ago
kenton@google.com
f85d70f9e4
Optimize Java serialization of small messages to streams. Patch from Evan Jones.
15 years ago
kenton@google.com
8169c7fcde
Set version number to 2.2.1 in trunk.
16 years ago
kenton@google.com
fdd9d3c8b5
Remove more of the stuff that was supposed to be removed in r190.
16 years ago
kenton@google.com
323e6321c6
doc comment tweaks
16 years ago
kenton@google.com
7ddfb4c3c7
Remove semi-broken Java thread-local builder freelist 'optimization'. Maybe bring back later in optional form.
16 years ago
kenton@google.com
68996fc874
Gigantic descriptors shouldn't overflow the Java string literal size limit.
16 years ago
kenton@google.com
445f1023e1
Update version number to 2.2.0-pre.
16 years ago
kenton@google.com
6c9f0020e2
OCD
16 years ago
gk5885
5ea590d5ba
add lite profile docs in the README
16 years ago
gk5885
5bf536169e
Ensure that only the lite tests are run, even if all tests have been compiled
16 years ago
gk5885
a4022f8931
This fixes some issues with the lite profile for the java build in which the lite jar contained the full binary.
16 years ago
gk5885
ac4764e355
Update the pom to support the 'lite' profile.
16 years ago
temporal
43af40dcca
Remove @Override annotations that cause compiler errors on Java 1.5.
16 years ago
kenton@google.com
80b1d62bfc
Submit recent changes from internal branch, including "lite mode" for
...
C++ and Java. See CHANGES.txt for more details.
16 years ago
kenton@google.com
d2fd0638c3
Down-integrate some code from an internal branch. (More to come.)
16 years ago
kenton@google.com
1fb3d394e5
Update version number in trunk.
16 years ago
kenton@google.com
d37d46dfbc
Integrate recent changes from Google-internal code tree. See CHANGES.txt
...
for details.
16 years ago