aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 2.0.1 release.temporal2008-08-272-7/+1
|
* More prep for 2.0.1:temporal2008-08-181-4/+5
| | | | | | * Fix version number test so that it accepts "2.0.1rc1". * Add missing type_checkers.py to Makefile.am.
* Integrate recent changes from google3.temporal2008-08-1339-1901/+3056
| | | | | | | | | | | | | | | | | | | | | | | | | | | | protoc - New flags --encode and --decode can be used to convert between protobuf text format and binary format from the command-line. - New flag --descriptor_set_out can be used to write FileDescriptorProtos for all parsed files directly into a single output file. This is particularly useful if you wish to parse .proto files from programs written in languages other than C++: just run protoc as a background process and have it output a FileDescriptorList, then parse that natively. C++ - Reflection objects are now per-class rather than per-instance. To make this possible, the Reflection interface had to be changed such that all methods take the Message instance as a parameter. This change improves performance significantly in memory-bandwidth-limited use cases, since it makes the message objects smaller. Note that source-incompatible interface changes like this will not be made again after the library leaves beta. Python - MergeFrom(message) and CopyFrom(message) are now implemented. - SerializeToString() raises an exception if the message is missing required fields. - Code organization improvements. - Fixed doc comments for RpcController and RpcChannel, which had somehow been swapped.
* Heuristically detect sub-messages when printing unknown fields.temporal2008-08-065-4/+138
| | | | | Patch mostly written by Dilip Joseph <dilip.antony.joseph@gmail.com>.
* Apply Leandro Lucarella <llucax@gmail.com>'s patches for VIM highlightingtemporal2008-07-311-1/+1
| | | | | and not setting execute bit on protoc outputs.
* Fix static initialization ordering bug that caused crashes at startup whentemporal2008-07-251-1/+9
| | | | | compiling on Mac with static linking.
* Sync code with Google-internal branch. Changes:temporal2008-07-237-53/+120
| | | | | | | | | | | | | | | | | | | | | | Protoc (parser) - Improved error message when an enum value's name conflicts with another symbol defined in the enum type's scope, e.g. if two enum types declared in the same scope have values with the same name. This is disallowed for compatibility with C++, but this wasn't clear from the error. C++ - Restored the set_foo(const char*) accessor for "bytes" type because some code inside Google depends on it. However, set_foo(const char*, int) is still there (and actually is changed to take const void*). - Fixed TokenizerTest when compiling with -DNDEBUG on Linux. - Other irrelevant tweaks. Java - Fixed UnknownFieldSet's parsing of varints larger than 32 bits. - Fixed TextFormat's parsing of "inf" and "nan". - Fixed TextFormat's parsing of comments. Python - Fixed text_format_test on Windows where floating-point exponents sometimes contain extra zeros.
* misc. stuff:temporal2008-07-214-13/+104
| | | | | | | | | - Improved readmes. - Fixed incorrect definition of kint32min. - Fixed absolute output paths on Windows. - Added info to Java POM that will be required when we upload the package to a Maven repo.
* Allow trailing slashes in --proto_path mappings.temporal2008-07-162-1/+16
| | | | | Patch by Kevin Ko <kevin.s.ko@gmail.com>.
* Fix bytes type setter to work with byte sequences with embedded NULLs.temporal2008-07-163-22/+76
| | | | | Patch from Alkis Evlogimenos <alkis@evlogimenos.com>.
* Initial checkin.temporal2008-07-10170-0/+68459