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
6ba3df0d32
Add benchmarks for writing to a FileOutputStream. Patch from Evan Jones.
15 years ago
kenton@google.com
c0abf64e53
Convert ProtoBench.java to unix-style line endings.
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
573989f782
Explicitly call superclass constructor in generated code to avoid pedantic warning. Based on patch from Oleg Smolsky.
15 years ago
kenton@google.com
1a4193c2cb
Fix MSVC version check -- I was given bad info.
15 years ago
kenton@google.com
c91e1fe82b
Support MSVC 2010 beta 1.
15 years ago
kenton@google.com
477f799fb6
Improve error message regarding proto_path not matching .proto file.
15 years ago
kenton@google.com
32f330f7a4
Detect whether zlib is new enough. Based on patch from Oliver Jowett.
15 years ago
kenton@google.com
f4c6e4b37e
Fix protobuf-mode on XEmacs.
15 years ago
kenton@google.com
721995d00a
Fix cross-compiling when building in a dedicated build directory. Fix pointed out by Pierre Kestener.
15 years ago
kenton@google.com
7fb9ae9df3
Make sure to quality calls to std::swap. Otherwise, if a google::swap() exists (e.g. because the user is using our own dense_hash_map implementation) it will be chosen instead, leading to a compile error.
15 years ago
kenton@google.com
b26684a900
Remove test that had undefined behavior and thus did not pass on some platforms.
15 years ago
kenton@google.com
3aa7a0dafe
HPUX patch from Alexander Melnikov.
15 years ago
temporal
ad5672bad7
Update experimental SEBS file to support cross-compiling.
15 years ago
kenton@google.com
0bcfeb9dcd
Don't use RTTI in down_cast if GOOGLE_PROTOBUF_NO_RTTI is defined. Patch from Chris Masone (of Google).
16 years ago
kenton@google.com
8169c7fcde
Set version number to 2.2.1 in trunk.
16 years ago
kenton@google.com
201b9be95d
Set release date.
16 years ago
kenton@google.com
0f831dca74
Add new headers to extract_includes.bat.
16 years ago
kenton@google.com
8aae2a2137
Oops, unittest_enormous_descriptor.proto still needs to be in the dist.
16 years ago
kenton@google.com
e133abd01c
Don't build unittest_enormous_decsriptor.proto in C++ because it's very slow on older GCCs. This file was meant for testing Java anyway.
16 years ago
kenton@google.com
304b731da6
Hack to make gtest sub-package compile correctly on Sun Studio.
16 years ago
kenton@google.com
db0bf5a52f
Fix MSVC projects to ensure that protoc is built before lite-test attempts to use it and that lite-test and tests don't attempt to generate the same .pb.* files at the same time.
16 years ago
kenton@google.com
09b9e99bd3
Make tests compile on Sun Studio. Patch from Monty Taylor.
16 years ago
temporal
bcb791a9d0
Experimental alternative build definition.
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
75fcd790c4
Silence pedantic warning about unused parameter.
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
1a34c92e73
Make sure GeneratedMessageFactory is deleted on shutdown.
16 years ago
kenton@google.com
6be265a826
Improve Sun Studio support. Patch from Monty Taylor.
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
kenton@google.com
58ebb1ccf8
Fix argument order -- I guess this macro is unused...
16 years ago
kenton@google.com
3c66c2e641
Allow dependents to use pkg-config to figure out what flags to pass to link against protobuf.
16 years ago
temporal
ad2cfe0375
Make sure lite MSVC projects get into dist.
16 years ago
temporal
43af40dcca
Remove @Override annotations that cause compiler errors on Java 1.5.
16 years ago
temporal
f837b0066d
Use the nice macro to declare once-init control objects, like good little coders should. Otherwise the initialization routines never run on Mac. TODO: Investigate how this was broken.
16 years ago
kenton@google.com
9270a99d2e
Make DLLs work again.
16 years ago
kenton@google.com
e6607e3963
Update MSVC project files for recent changes. Added new projects for libprotobuf-lite and the lite test.
16 years ago
kenton@google.com
c3a24531d1
Hurr, some merge conflict was resolved poorly. Fixed.
16 years ago
kenton@google.com
253a850804
Allow compression level of GzipOutputStream to be configured.
16 years ago
kenton@google.com
1900c536cd
Fix compile for GCC 3.4.4.
16 years ago
kenton@google.com
39671e5309
Extend MAINTAINERCLEANFILES to include some things automatically added by libtoolize.
16 years ago