aboutsummaryrefslogtreecommitdiff
path: root/src/google
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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-072-3/+1056
|
* Update version number to 2.2.0-pre.kenton@google.com2009-08-062-7/+7
|
* 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-292-83/+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-292-20/+54
|
* Submit recent changes from internal branch, including "lite mode" forkenton@google.com2009-07-2980-4387/+9567
| | | | | 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
|
* 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-281-0/+16
| | | | 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.
* Protect a new death test with GTEST_HAS_DEATH_TEST, since MinGW doesn't ↵kenton@google.com2009-04-281-0/+4
| | | | support it.
* Update MSVC project files for rev 120, and add instructions for compiling ↵kenton@google.com2009-04-272-1/+3
| | | | with zlib.
* Integrate recent changes from Google-internal code tree. See CHANGES.txtkenton@google.com2009-04-2572-4300/+8702
| | | | | for details.
* Work around windows.h #defining GetMessage().kenton@google.com2009-04-223-0/+25
|
* Add missing LIBPROTOBUF_EXPORT.kenton@google.com2009-04-221-1/+1
|
* Fix initialization ordering problem in logging code. Based on patch from ↵kenton@google.com2009-04-181-4/+24
| | | | Wink Saville.
* Generate field number constants. Patch from Michael Poole.kenton@google.com2009-04-1813-37/+285
|
* Commit Michael Poole's patch for explicitly constructing all class fields inkenton@google.com2009-04-166-20/+107
| | | | | generated code.
* Commit Brian Olson's gzip stream implementations.kenton@google.com2009-04-168-1/+819
|
* Adds a flag to protoc called --error_format which specifies whatkenton@google.com2009-04-153-6/+94
| | | | | | | convention to use when printing errors. Default is GCC, but Microsoft Visual Studio is another option. This allows errors to be clickable in the MSVS error log.
* Submit files missing from previous submit.kenton@google.com2009-02-101-0/+0
|
* Push out changes from internal codebase.kenton@google.com2009-01-2238-414/+2550
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All Languages * Repeated fields of primitive types (types other that string, group, and nested messages) may now use the option [packed = true] to get a more efficient encoding. In the new encoding, the entire list is written as a single byte blob using the "length-delimited" wire type. Within this blob, the individual values are encoded the same way they would be normally except without a tag before each value (thus, they are tightly "packed"). C++ * UnknownFieldSet now supports STL-like iteration. * Message interface has method ParseFromBoundedZeroCopyStream() which parses a limited number of bytes from an input stream rather than parsing until EOF. Java * Fixed bug where Message.mergeFrom(Message) failed to merge extensions. * Message interface has new method toBuilder() which is equivalent to newBuilderForType().mergeFrom(this). * All enums now implement the ProtocolMessageEnum interface. * Setting a field to null now throws NullPointerException. * Fixed tendency for TextFormat's parsing to overflow the stack when parsing large string values. The underlying problem is with Java's regex implementation (which unfortunately uses recursive backtracking rather than building an NFA). Worked around by making use of possesive quantifiers. Python * Updated RPC interfaces to allow for blocking operation. A client may now pass None for a callback when making an RPC, in which case the call will block until the response is received, and the response object will be returned directly to the caller. This interface change cannot be used in practice until RPC implementations are updated to implement it.
* Update trunk version to 2.0.4-SNAPSHOT.kenton@google.com2008-12-051-1/+1
|
* Support "Solaris 10 using recent Sun Studio".kenton@google.com2008-12-042-0/+2
| | | | | Patch from Monty Taylor <monty.taylor@gmail.com>.
* Add full-system test for custom enum value options. (Previously, only akenton@google.com2008-12-022-2/+7
| | | | | parsing test in parser_unittest.cc existed.)
* * Avoid using pushd/popd in generate_descriptor_proto.sh because they arekenton@google.com2008-12-023-2/+30
| | | | | | | | | | bash-only features, and /bin/sh is not a symlink to bash on all systems. * If an input file is a Windows absolute path (e.g. "C:\foo\bar.proto") and the import path only contains "." (or contains "." but does not contain the file), protoc incorrectly thought that the file was under ".", because it thought that the path was relative (since it didn't start with a slash). This has been fixed.