kenton@google.com
afd32abb75
Set version to 2.3.0-pre.
2009-12-18 02:51:26 +00:00
kenton@google.com
83ad01e35f
Point test_plugin at the correct gtest headers.
2009-12-18 02:40:43 +00:00
kenton@google.com
fccb146e3f
Massive roll-up of changes. See CHANGES.txt.
2009-12-18 02:11:36 +00:00
kenton@google.com
b221008884
Fix UTF-8 validity checks to not do unaligned reads.
2009-12-11 03:49:28 +00:00
kenton@google.com
de74779454
fix SONAME in trunk
2009-12-11 03:41:58 +00:00
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
2009-12-01 18:05:21 +00:00
kenton@google.com
573989f782
Explicitly call superclass constructor in generated code to avoid pedantic warning. Based on patch from Oleg Smolsky.
2009-10-30 22:02:17 +00:00
kenton@google.com
c91e1fe82b
Support MSVC 2010 beta 1.
2009-10-12 19:22:03 +00:00
kenton@google.com
477f799fb6
Improve error message regarding proto_path not matching .proto file.
2009-10-07 21:38:11 +00:00
kenton@google.com
721995d00a
Fix cross-compiling when building in a dedicated build directory. Fix pointed out by Pierre Kestener.
2009-09-11 22:08:40 +00:00
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.
2009-09-02 02:42:56 +00:00
kenton@google.com
b26684a900
Remove test that had undefined behavior and thus did not pass on some platforms.
2009-09-02 01:42:04 +00:00
kenton@google.com
3aa7a0dafe
HPUX patch from Alexander Melnikov.
2009-08-17 20:34:29 +00:00
temporal
ad5672bad7
Update experimental SEBS file to support cross-compiling.
2009-08-17 09:42:47 +00:00
kenton@google.com
0bcfeb9dcd
Don't use RTTI in down_cast if GOOGLE_PROTOBUF_NO_RTTI is defined. Patch from Chris Masone (of Google).
2009-08-14 01:21:01 +00:00
kenton@google.com
8169c7fcde
Set version number to 2.2.1 in trunk.
2009-08-13 22:41:37 +00:00
kenton@google.com
8aae2a2137
Oops, unittest_enormous_descriptor.proto still needs to be in the dist.
2009-08-11 00:23:25 +00:00
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.
2009-08-11 00:18:23 +00:00
kenton@google.com
09b9e99bd3
Make tests compile on Sun Studio. Patch from Monty Taylor.
2009-08-10 20:23:41 +00:00
temporal
bcb791a9d0
Experimental alternative build definition.
2009-08-10 08:12:18 +00:00
kenton@google.com
323e6321c6
doc comment tweaks
2009-08-08 03:23:04 +00:00
kenton@google.com
75fcd790c4
Silence pedantic warning about unused parameter.
2009-08-07 21:51:30 +00:00
kenton@google.com
7ddfb4c3c7
Remove semi-broken Java thread-local builder freelist 'optimization'. Maybe bring back later in optional form.
2009-08-07 21:19:29 +00:00
kenton@google.com
68996fc874
Gigantic descriptors shouldn't overflow the Java string literal size limit.
2009-08-07 21:02:02 +00:00
kenton@google.com
445f1023e1
Update version number to 2.2.0-pre.
2009-08-06 23:01:43 +00:00
kenton@google.com
1a34c92e73
Make sure GeneratedMessageFactory is deleted on shutdown.
2009-08-06 22:17:26 +00:00
kenton@google.com
58ebb1ccf8
Fix argument order -- I guess this macro is unused...
2009-08-04 01:23:07 +00:00
temporal
43af40dcca
Remove @Override annotations that cause compiler errors on Java 1.5.
2009-08-01 07:37:11 +00:00
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.
2009-08-01 07:30:49 +00:00
kenton@google.com
9270a99d2e
Make DLLs work again.
2009-08-01 02:16:55 +00:00
kenton@google.com
c3a24531d1
Hurr, some merge conflict was resolved poorly. Fixed.
2009-08-01 00:44:01 +00:00
kenton@google.com
253a850804
Allow compression level of GzipOutputStream to be configured.
2009-08-01 00:38:45 +00:00
kenton@google.com
1900c536cd
Fix compile for GCC 3.4.4.
2009-08-01 00:30:11 +00:00
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.
2009-07-29 21:48:13 +00:00
kenton@google.com
4f3491ee5f
Decouple strutil from C++ lite library for a further 23k reduction.
2009-07-29 21:33:08 +00:00
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?
2009-07-29 02:21:47 +00:00
kenton@google.com
80b1d62bfc
Submit recent changes from internal branch, including "lite mode" for
...
C++ and Java. See CHANGES.txt for more details.
2009-07-29 01:13:20 +00:00
kenton@google.com
d2fd0638c3
Down-integrate some code from an internal branch. (More to come.)
2009-07-24 01:00:35 +00:00
kenton@google.com
ceb561d65b
Add Swap(), SwapElements(), and RemoveLast() to Reflection. Patch by Scott Stafford.
2009-06-25 19:05:36 +00:00
kenton@google.com
f22943c7d0
Fix build problem with -std=gnu++0x.
2009-06-01 18:27:23 +00:00
kenton@google.com
b43727981c
Fix final leak (win32 only).
2009-05-18 18:38:56 +00:00
kenton@google.com
1fb3d394e5
Update version number in trunk.
2009-05-13 23:20:03 +00:00
kenton@google.com
1d4df6caa4
Fix compile error on Cygwin, where int32 is typedefed to long instead of int, and the compiler can't figure out which overload of this method to use in that case.
2009-05-06 22:17:46 +00:00
kenton@google.com
63e646b7ad
Provide ShutdownProtobufLibrary() which frees all startup-allocated objects.
2009-05-06 19:27:03 +00:00
kenton@google.com
9824eda6b5
enable cross-compiling
2009-05-06 17:49:37 +00:00
kenton@google.com
42c81e1a76
Set better default CXXFLAGS and don't use optimization when compiling tests
...
(takes too long).
2009-05-06 01:15:06 +00:00
temporal
1589b1d8c1
Fix startup crash when statically linking on Mac.
2009-04-28 08:09:44 +00:00
kenton@google.com
c5ff06cc74
Add second run of cpp_unittest which verifies that descriptors are constructed lazily. This is accomplished by avoiding any use of descriptors while testing a bunch of other operations, then checking at the end that descriptors have not been constructed.
2009-04-28 03:06:41 +00:00
kenton@google.com
503a4dd705
Convert some \u escape sequences to UTF-8 because MSVC interprets them differently.
2009-04-28 02:16:53 +00:00
kenton@google.com
30be0a8758
Don't use dll-export declspec on class-nested extensions.
2009-04-28 02:10:27 +00:00