kenton@google.com
b221008884
Fix UTF-8 validity checks to not do unaligned reads.
15 years ago
kenton@google.com
de74779454
fix SONAME in trunk
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
Dan Egnor
95dbaa67a8
The j2me protobuf code is now in vendor/google; remove it here.
15 years ago
Jon Skeet
b075ff5c17
Added a flag to allow code contracts to be emitted
15 years ago
Jon Skeet
b49d3c7834
Support Compact Framework 3.5
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
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
721995d00a
Fix cross-compiling when building in a dedicated build directory. Fix pointed out by Pierre Kestener.
15 years ago
Jon Skeet
0aac0e4fe3
Regionify copyright statement
15 years ago
Jon Skeet
f29da03679
Can now at least *build* Silverlight2 assembly easily. Can't test though.
15 years ago
Jon Skeet
8a5c7e792a
Silverlight compatibility now working, although build files aren't ideal
15 years ago
Jon Skeet
3c80886fa9
Silverlight compatibility other than SortedList
15 years ago
Jon Skeet
1872d080f7
Fixed bug spotted by danielr
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.
16 years ago
temporal
ad5672bad7
Update experimental SEBS file to support cross-compiling.
16 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
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
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
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
58ebb1ccf8
Fix argument order -- I guess this macro is unused...
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
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
c137750365
Remove two empty source files. This doesn't actually have any effect on code size but might as well get rid of them.
16 years ago
kenton@google.com
4f3491ee5f
Decouple strutil from C++ lite library for a further 23k reduction.
16 years ago
kenton@google.com
858a22be11
Define libprotobuf-lite in Makefile.am.
...
TODO: Compile conditionally? Provide a way to omit ExtensionSet?
Should libprotobuf depend on libprotobuf-lite instead of being a
stand-alone lib?
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
ceb561d65b
Add Swap(), SwapElements(), and RemoveLast() to Reflection. Patch by Scott Stafford.
16 years ago
Jon Skeet
ad74853e0c
Fix copyright notices
16 years ago
Jon Skeet
e1e8431681
Gone back to non-remoting mocks, but marked breaking unit test as ignored
16 years ago
Jon Skeet
5cb5d782b0
Workaround for Mono bug 516379
16 years ago
Jon Skeet
b2526215e1
Use remoting mocks to work with mono
16 years ago
Jon Skeet
2178b93bbb
Fix bug when reading many messages - size guard was triggered
16 years ago
Jon Skeet
51a2f5ea1a
Remove unused class (was going to be used for multi-file support)
16 years ago