aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix UTF-8 validity checks to not do unaligned reads.kenton@google.com2009-12-112-35/+60
|
* fix SONAME in trunkkenton@google.com2009-12-111-3/+3
|
* Fix Issue 136: the memoized serialized size for packed fields may notjasonh+personal@google.com2009-12-012-1/+9
| | | | | | | | | | | | | 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
* Explicitly call superclass constructor in generated code to avoid pedantic ↵kenton@google.com2009-10-302-40/+83
| | | | warning. Based on patch from Oleg Smolsky.
* Support MSVC 2010 beta 1.kenton@google.com2009-10-121-0/+1
|
* Improve error message regarding proto_path not matching .proto file.kenton@google.com2009-10-072-2/+10
|
* Fix cross-compiling when building in a dedicated build directory. Fix ↵kenton@google.com2009-09-111-1/+1
| | | | pointed out by Pierre Kestener.
* Make sure to quality calls to std::swap. Otherwise, if a google::swap() ↵kenton@google.com2009-09-023-9/+9
| | | | exists (e.g. because the user is using our own dense_hash_map implementation) it will be chosen instead, leading to a compile error.
* Remove test that had undefined behavior and thus did not pass on some platforms.kenton@google.com2009-09-021-4/+0
|
* HPUX patch from Alexander Melnikov.kenton@google.com2009-08-176-4/+9
|
* Update experimental SEBS file to support cross-compiling.temporal2009-08-171-1/+5
|
* Don't use RTTI in down_cast if GOOGLE_PROTOBUF_NO_RTTI is defined. Patch ↵kenton@google.com2009-08-141-0/+2
| | | | from Chris Masone (of Google).
* Set version number to 2.2.1 in trunk.kenton@google.com2009-08-132-2/+2
|
* Oops, unittest_enormous_descriptor.proto still needs to be in the dist.kenton@google.com2009-08-111-1/+2
|
* Don't build unittest_enormous_decsriptor.proto in C++ because it's very slow ↵kenton@google.com2009-08-111-3/+0
| | | | on older GCCs. This file was meant for testing Java anyway.
* Make tests compile on Sun Studio. Patch from Monty Taylor.kenton@google.com2009-08-101-6/+4
|
* Experimental alternative build definition.temporal2009-08-101-0/+236
|
* doc comment tweakskenton@google.com2009-08-084-18/+22
|
* Silence pedantic warning about unused parameter.kenton@google.com2009-08-071-1/+1
|
* Remove semi-broken Java thread-local builder freelist 'optimization'. Maybe ↵kenton@google.com2009-08-071-14/+1
| | | | bring back later in optional form.
* Gigantic descriptors shouldn't overflow the Java string literal size limit.kenton@google.com2009-08-073-3/+1059
|
* Update version number to 2.2.0-pre.kenton@google.com2009-08-063-10/+10
|
* Make sure GeneratedMessageFactory is deleted on shutdown.kenton@google.com2009-08-061-4/+16
|
* Fix argument order -- I guess this macro is unused...kenton@google.com2009-08-041-1/+1
|
* Remove @Override annotations that cause compiler errors on Java 1.5.temporal2009-08-011-10/+0
|
* Use the nice macro to declare once-init control objects, like good little ↵temporal2009-08-012-2/+2
| | | | coders should. Otherwise the initialization routines never run on Mac. TODO: Investigate how this was broken.
* Make DLLs work again.kenton@google.com2009-08-014-6/+16
|
* Hurr, some merge conflict was resolved poorly. Fixed.kenton@google.com2009-08-011-1/+1
|
* Allow compression level of GzipOutputStream to be configured.kenton@google.com2009-08-013-13/+134
|
* Fix compile for GCC 3.4.4.kenton@google.com2009-08-012-3/+16
|
* Remove two empty source files. This doesn't actually have any effect on ↵kenton@google.com2009-07-293-85/+0
| | | | code size but might as well get rid of them.
* Decouple strutil from C++ lite library for a further 23k reduction.kenton@google.com2009-07-293-24/+60
|
* Define libprotobuf-lite in Makefile.am.kenton@google.com2009-07-291-17/+20
| | | | | | | TODO: Compile conditionally? Provide a way to omit ExtensionSet? Should libprotobuf depend on libprotobuf-lite instead of being a stand-alone lib?
* Submit recent changes from internal branch, including "lite mode" forkenton@google.com2009-07-2981-4390/+9601
| | | | | C++ and Java. See CHANGES.txt for more details.
* Down-integrate some code from an internal branch. (More to come.)kenton@google.com2009-07-244-6/+38
|
* Add Swap(), SwapElements(), and RemoveLast() to Reflection. Patch by Scott ↵kenton@google.com2009-06-2511-186/+884
| | | | Stafford.
* Fix build problem with -std=gnu++0x.kenton@google.com2009-06-011-3/+4
|
* Fix final leak (win32 only).kenton@google.com2009-05-182-0/+7
|
* Update version number in trunk.kenton@google.com2009-05-132-7/+7
|
* Fix compile error on Cygwin, where int32 is typedefed to long instead of ↵kenton@google.com2009-05-062-0/+4
| | | | int, and the compiler can't figure out which overload of this method to use in that case.
* Provide ShutdownProtobufLibrary() which frees all startup-allocated objects.kenton@google.com2009-05-0612-43/+254
|
* enable cross-compilingkenton@google.com2009-05-061-0/+10
|
* Set better default CXXFLAGS and don't use optimization when compiling testskenton@google.com2009-05-061-2/+8
| | | | | (takes too long).
* Fix startup crash when statically linking on Mac.temporal2009-04-281-1/+4
|
* Add second run of cpp_unittest which verifies that descriptors are ↵kenton@google.com2009-04-282-10/+40
| | | | 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.
* Convert some \u escape sequences to UTF-8 because MSVC interprets them ↵kenton@google.com2009-04-281-1/+3
| | | | differently.
* Don't use dll-export declspec on class-nested extensions.kenton@google.com2009-04-281-6/+9
|
* Make building libprotobuf as a DLL work again.kenton@google.com2009-04-286-27/+27
|
* Add test verifying that protoc accepts trailing backslashes on Windows, ↵kenton@google.com2009-04-281-0/+18
| | | | which some users claim doesn't work. Seems to work on my machine.
* That last rev shouldn't have compiled, but apparently did, for some reason. ↵kenton@google.com2009-04-281-1/+1
| | | | Fixed.