aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/common_unittest.cc
Commit message (Collapse)AuthorAge
* Removed using statements from common.hGravatar Adam Cozzette2018-01-26
| | | | | | These statements pulled a bunch of symbols from the std namespace into the global namespace. This commit removes all of them except for std::string, which is a bit trickier to remove.
* Restore New*Callback into google::protobuf namespace since these are used by ↵Gravatar Srivats P2016-08-29
| | | | | | the service stubs code Fixes #1966
* Down-integrate internal bug fixing changes.Gravatar Bo Yang2015-10-04
|
* Make the code independent of config.hGravatar Jisi Liu2015-06-16
| | | | | | | | | | | | | Now the Build tool needs to define -DHAVE_ZLIB and -DHAVE-PTHREAD rather than providing a config.h - Make pbconfig.h a manually written file to handle hash conditions according to platform related macros. - Remove #include "config.h" from source code. - Changed the configure.ac and Makefile.am to pass down the macros. - Change cmake to pass down the the macros. Change-Id: I537249d5df8fdeba189706aec436d1ab1104a4dc
* Make test code runnable with C++11Gravatar Nobuaki Sukegawa2014-12-03
| | | | | Preprocessor token right after string literal without whitespace results in parse failure in C++11.
* Down-integrate from internal code base.Gravatar Feng Xiao2014-11-10
|
* Replace links to code.google.com/protobuf with ↵Gravatar Feng Xiao2014-10-01
| | | | developers.google.com/protocol-buffers
* Fix issues: 342, 424, 428, 430, 436Gravatar xiaofeng@google.com2012-12-04
|
* Fix bug with permanent callbacks that delete themselves when run. Patch ↵Gravatar kenton@google.com2010-02-16
| | | | from Evan Jones.
* Integrate changes from internal Google-internal branch.Gravatar kenton@google.com2008-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General * License changed from Apache 2.0 to New BSD. * It is now possible to define custom "options", which are basically annotations which may be placed on definitions in a .proto file. For example, you might define a field option called "foo" like so: import "google/protobuf/descriptor.proto" extend google.protobuf.FieldOptions { optional string foo = 12345; } Then you annotate a field using the "foo" option: message MyMessage { optional int32 some_field = 1 [(foo) = "bar"] } The value of this option is then visible via the message's Descriptor: const FieldDescriptor* field = MyMessage::descriptor()->FindFieldByName("some_field"); assert(field->options().GetExtension(foo) == "bar"); This feature has been implemented and tested in C++ and Java. Other languages may or may not need to do extra work to support custom options, depending on how they construct descriptors. C++ * Fixed some GCC warnings that only occur when using -pedantic. * Improved static initialization code, making ordering more predictable among other things. * TextFormat will no longer accept messages which contain multiple instances of a singular field. Previously, the latter instance would overwrite the former. * Now works on systems that don't have hash_map. Python * Strings now use the "unicode" type rather than the "str" type. String fields may still be assigned ASCII "str" values; they will automatically be converted. * Adding a property to an object representing a repeated field now raises an exception. For example: # No longer works (and never should have). message.some_repeated_field.foo = 1
* More prep for 2.0.1:Gravatar temporal2008-08-18
| | | | | | * Fix version number test so that it accepts "2.0.1rc1". * Add missing type_checkers.py to Makefile.am.
* misc. stuff:Gravatar temporal2008-07-21
| | | | | | | | | - 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.
* Initial checkin.Gravatar temporal2008-07-10