Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix 32/64-bit confusion on Solaris 10 x86. Patch from Oliver Jowett. | kenton@google.com | 2009-12-23 | 3 | -2/+12 |
| | |||||
* | Try again to fix build on Sun Studio -- Monty Taylor claims this will do it. | kenton@google.com | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Refactor the way output is handled in CommandLineInterface -- now it will be ↵ | kenton@google.com | 2009-12-23 | 5 | -324/+279 |
| | | | | stored in-memory until all code generators have completed, then dumped to disk all at once. While this means that protoc uses more memory, the code is much simpler, and handles insertions much faster. Also, this made it easier to implement a useful feature: insertions will be indented to match the insertion point line. Therefore, when inserting into Python code, you don't have to figure out how much to indent your inserted code. The refactoring should also make it easier to implement output-to-jar at some point. | ||||
* | Actually, that last revision can be simpler -- we don't need to parse ↵ | kenton@google.com | 2009-12-23 | 2 | -9/+9 |
| | | | | strings at all, as simply entering 1e1000 as a float literal in Python will be evaluated as infinity. | ||||
* | In Python, avoid relying on float('inf') and float('nan') as these don't ↵ | kenton@google.com | 2009-12-23 | 4 | -17/+56 |
| | | | | work on Windows with Python pre-2.6. | ||||
* | Same as r275 except for Python. | kenton@google.com | 2009-12-23 | 2 | -2/+10 |
| | |||||
* | In Java's TextFormat, correcty concatenate adjacent string literals, as C++ ↵ | kenton@google.com | 2009-12-23 | 3 | -7/+52 |
| | | | | does. Also fix a bug in handling of single-quoted strings. | ||||
* | Make extension identifiers final. This improves security when untrusted ↵ | kenton@google.com | 2009-12-22 | 3 | -95/+95 |
| | | | | 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. | ||||
* | Mark plugins as experimental for now. | kenton@google.com | 2009-12-22 | 3 | -0/+7 |
| | |||||
* | getExtension() on an empty repeated field should return an empty list, not a ↵ | kenton@google.com | 2009-12-22 | 3 | -2/+35 |
| | | | | singular default value. | ||||
* | When serializing to an ostream, verify that there were no stream-level ↵ | kenton@google.com | 2009-12-22 | 2 | -5/+17 |
| | | | | errors before returning success. | ||||
* | Clarify that pushLimit() does not limit the number of bytes CodedInputStream ↵ | kenton@google.com | 2009-12-22 | 1 | -0/+8 |
| | | | | will read from the underlying InputStream. | ||||
* | Accept form feeds as whitespace. | kenton@google.com | 2009-12-22 | 2 | -1/+8 |
| | |||||
* | Hopefully fix build on Sun Studio. | kenton@google.com | 2009-12-22 | 4 | -9/+12 |
| | |||||
* | Build DLLs on Cygwin and MinGW. | kenton@google.com | 2009-12-22 | 3 | -8/+42 |
| | |||||
* | Make sure test_plugin.vcproj is included in dist. | kenton@google.com | 2009-12-21 | 1 | -0/+1 |
| | |||||
* | Fix build on MSVC. | kenton@google.com | 2009-12-21 | 9 | -82/+401 |
| | |||||
* | Fix build on GCC 3.3/Linux. | kenton@google.com | 2009-12-21 | 1 | -1/+3 |
| | |||||
* | Argh, this line was not supposed to be submitted. | kenton@google.com | 2009-12-21 | 1 | -2/+0 |
| | |||||
* | Use unordered_map when available. Changes to stl_hash.m4 provided by Oleg ↵ | kenton@google.com | 2009-12-21 | 3 | -17/+40 |
| | | | | Smolsky. | ||||
* | Add a code generator insertion point for Java builders. | temporal | 2009-12-20 | 2 | -0/+7 |
| | |||||
* | Fix build on MinGW/Win32 (including implementing Subprocess using ↵ | kenton@google.com | 2009-12-19 | 8 | -9/+318 |
| | | | | CreateProcess()). | ||||
* | Ensure that 'once' objects are declared using the macro. This is either the ↵ | temporal | 2009-12-18 | 6 | -29/+29 |
| | | | | third or fourth time I've screwed this up when down-integrating, because our internal code does not require the macro (it's not portable) and on Linux a pthread_once_t that is zero-initialized just happens to work. So, I only discover the problem when I test on Mac, then kick myself for making the same mistake yet again. No more! This time, I have renamed GoogleOnceType to ProtobufOnceType, thus making the type name differ from our internal code. As a result, if you don't update the decls to use the macros, they won't compile. Hah! Take that, future self! | ||||
* | Fix Cygwin build. | kenton@google.com | 2009-12-18 | 3 | -8/+27 |
| | |||||
* | Commit missing files from r251. Sigh. | kenton@google.com | 2009-12-18 | 15 | -0/+3274 |
| | |||||
* | Set version to 2.3.0-pre. | kenton@google.com | 2009-12-18 | 6 | -13/+13 |
| | |||||
* | Point test_plugin at the correct gtest headers. | kenton@google.com | 2009-12-18 | 1 | -0/+2 |
| | |||||
* | Massive roll-up of changes. See CHANGES.txt. | kenton@google.com | 2009-12-18 | 153 | -7474/+11619 |
| | |||||
* | Some sort of emacs protobuf mode fix. | kenton@google.com | 2009-12-18 | 1 | -1/+2 |
| | |||||
* | Fix UTF-8 validity checks to not do unaligned reads. | kenton@google.com | 2009-12-11 | 2 | -35/+60 |
| | |||||
* | fix SONAME in trunk | kenton@google.com | 2009-12-11 | 1 | -3/+3 |
| | |||||
* | Fix Issue 136: the memoized serialized size for packed fields may not | jasonh+personal@google.com | 2009-12-01 | 3 | -1/+31 |
| | | | | | | | | | | | | | 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.com | 2009-11-12 | 3 | -2/+23 |
| | |||||
* | Add benchmarks for writing to a FileOutputStream. Patch from Evan Jones. | kenton@google.com | 2009-11-03 | 1 | -0/+26 |
| | |||||
* | Convert ProtoBench.java to unix-style line endings. | kenton@google.com | 2009-11-03 | 1 | -177/+177 |
| | |||||
* | Optimize Java serialization of small messages to streams. Patch from Evan ↵ | kenton@google.com | 2009-11-02 | 3 | -2/+23 |
| | | | | Jones. | ||||
* | Explicitly call superclass constructor in generated code to avoid pedantic ↵ | kenton@google.com | 2009-10-30 | 2 | -40/+83 |
| | | | | warning. Based on patch from Oleg Smolsky. | ||||
* | Fix MSVC version check -- I was given bad info. | kenton@google.com | 2009-10-12 | 1 | -1/+1 |
| | |||||
* | Support MSVC 2010 beta 1. | kenton@google.com | 2009-10-12 | 2 | -1/+6 |
| | |||||
* | Improve error message regarding proto_path not matching .proto file. | kenton@google.com | 2009-10-07 | 2 | -2/+10 |
| | |||||
* | Detect whether zlib is new enough. Based on patch from Oliver Jowett. | kenton@google.com | 2009-09-15 | 2 | -7/+33 |
| | |||||
* | Fix protobuf-mode on XEmacs. | kenton@google.com | 2009-09-15 | 1 | -1/+2 |
| | |||||
* | Fix cross-compiling when building in a dedicated build directory. Fix ↵ | kenton@google.com | 2009-09-11 | 1 | -1/+1 |
| | | | | pointed out by Pierre Kestener. | ||||
* | Make sure to quality calls to std::swap. Otherwise, if a google::swap() ↵ | kenton@google.com | 2009-09-02 | 3 | -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.com | 2009-09-02 | 1 | -4/+0 |
| | |||||
* | HPUX patch from Alexander Melnikov. | kenton@google.com | 2009-08-17 | 7 | -4/+11 |
| | |||||
* | Update experimental SEBS file to support cross-compiling. | temporal | 2009-08-17 | 1 | -1/+5 |
| | |||||
* | Don't use RTTI in down_cast if GOOGLE_PROTOBUF_NO_RTTI is defined. Patch ↵ | kenton@google.com | 2009-08-14 | 1 | -0/+2 |
| | | | | from Chris Masone (of Google). | ||||
* | Set version number to 2.2.1 in trunk. | kenton@google.com | 2009-08-13 | 5 | -5/+5 |
| | |||||
* | Set release date. | kenton@google.com | 2009-08-12 | 1 | -1/+1 |
| |