aboutsummaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* Close resources properly for java tests and examples.liujisi@google.com2011-06-072-6/+15
|
* Allow String to be used as message names.liujisi@google.com2011-05-041-0/+20
|
* Update mainline version to 2.4.2-pre.liujisi@google.com2011-05-031-1/+1
|
* Fix incomplete comments.liujisi@google.com2011-04-281-1/+1
|
* Make protobuf java JDK 1.5 compatible.liujisi@google.com2011-04-288-35/+77
|
* Use fully qualified java.lang.Object in protoc java code.liujisi@google.com2011-04-081-1/+5
|
* Fix issue 256: compute the correct size for negative enum values, which need ↵jasonh@google.com2011-02-182-1/+16
| | | | to be sign extended.
* Update mainline version to 2.4.1-pre.liujisi@google.com2011-02-021-1/+1
|
* Add missing files into pom.xml for protobuf-lite.liujisi@google.com2011-01-271-1/+6
|
* Escape C++ Trigraphs.liujisi@google.com2010-12-211-0/+1
|
* Boost version number to 2.4.0-pre, add more test cases for text_format.py ↵liujisi@google.com2010-12-091-1/+1
| | | | about unicode field.
* Fix issues: 200 202 211 215 237 246.liujisi@google.com2010-12-063-1/+3
|
* Fix issues: 166 167 172 175 181 188 192 194 195.liujisi@google.com2010-12-031-1/+3
|
* Submit recent changes from internal branch. See CHANGES.txt for more details.liujisi@google.com2010-11-0248-727/+6146
|
* Roll back revision 313. A similar but far more exensive change was made in ↵kenton@google.com2010-09-172-41/+0
| | | | our internal branch, which will be integrated soon.
* Optimize Java string serialization. Patch from Evan Jones.kenton@google.com2010-02-012-0/+41
|
* More Java warning tweaks from Evan Jones.kenton@google.com2010-01-283-4/+6
|
* Fix some Java warnings. Patch from Evan Jones.kenton@google.com2010-01-219-24/+15
|
* Update version number in trunk to 2.3.1.kenton@google.com2010-01-091-1/+1
|
* Tweak doc comments.kenton@google.com2010-01-084-0/+24
|
* Address comments from various code reviews.kenton@google.com2010-01-071-1/+7
|
* In Java's TextFormat, correcty concatenate adjacent string literals, as C++ ↵kenton@google.com2009-12-233-7/+52
| | | | does. Also fix a bug in handling of single-quoted strings.
* Make extension identifiers final. This improves security when untrusted ↵kenton@google.com2009-12-222-59/+69
| | | | code is present in the same class loader. In order to get around initialization ordering issues, I simply made the constructor for extension identifiers take no arguments and deferred initialization to an internalInit() method, which generated code will always call during init.
* getExtension() on an empty repeated field should return an empty list, not a ↵kenton@google.com2009-12-223-2/+35
| | | | singular default value.
* Clarify that pushLimit() does not limit the number of bytes CodedInputStream ↵kenton@google.com2009-12-221-0/+8
| | | | will read from the underlying InputStream.
* Set version to 2.3.0-pre.kenton@google.com2009-12-181-1/+1
|
* Massive roll-up of changes. See CHANGES.txt.kenton@google.com2009-12-1822-111/+510
|
* Fix Issue 136: the memoized serialized size for packed fields may notjasonh+personal@google.com2009-12-011-0/+22
| | | | | | | | | | | | | 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
* CodedInputStream.getTotalBytesRead(); patch from Michael Kucharski.kenton@google.com2009-11-122-2/+21
|
* Optimize Java serialization of small messages to streams. Patch from Evan ↵kenton@google.com2009-11-022-2/+21
| | | | Jones.
* Set version number to 2.2.1 in trunk.kenton@google.com2009-08-131-1/+1
|
* Remove more of the stuff that was supposed to be removed in r190.kenton@google.com2009-08-081-19/+2
|
* doc comment tweakskenton@google.com2009-08-081-2/+2
|
* Remove semi-broken Java thread-local builder freelist 'optimization'. Maybe ↵kenton@google.com2009-08-071-74/+1
| | | | bring back later in optional form.
* Gigantic descriptors shouldn't overflow the Java string literal size limit.kenton@google.com2009-08-073-2/+19
|
* Update version number to 2.2.0-pre.kenton@google.com2009-08-061-1/+1
|
* OCDkenton@google.com2009-08-051-3/+3
|
* add lite profile docs in the READMEgk58852009-08-041-1/+23
|
* Ensure that only the lite tests are run, even if all tests have been compiledgk58852009-08-041-0/+8
|
* This fixes some issues with the lite profile for the java build in which the ↵gk58852009-08-041-31/+20
| | | | lite jar contained the full binary.
* Update the pom to support the 'lite' profile.gk58852009-08-041-17/+51
|
* Remove @Override annotations that cause compiler errors on Java 1.5.temporal2009-08-011-1/+0
|
* Submit recent changes from internal branch, including "lite mode" forkenton@google.com2009-07-2931-2317/+5308
| | | | | C++ and Java. See CHANGES.txt for more details.
* Down-integrate some code from an internal branch. (More to come.)kenton@google.com2009-07-241-1/+0
|
* Update version number in trunk.kenton@google.com2009-05-131-1/+1
|
* Integrate recent changes from Google-internal code tree. See CHANGES.txtkenton@google.com2009-04-2517-24/+696
| | | | | for details.
* Generate field number constants. Patch from Michael Poole.kenton@google.com2009-04-181-0/+27
|
* Submit files missing from previous submit.kenton@google.com2009-02-101-0/+58
|
* Push out changes from internal codebase.kenton@google.com2009-01-2217-754/+2008
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|