aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/hash.h
Commit message (Collapse)AuthorAge
* Fix spelling error of __GNUC_MINOR__Gravatar Adam Aili2018-03-10
|
* Merge pull request #4183 from pcc/win-libcxxGravatar Feng Xiao2018-02-26
|\ | | | | Add support for libc++ on Windows.
* | 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.
| * Add support for libc++ on Windows.Gravatar Peter Collingbourne2018-01-17
|/ | | | | This disables a couple of workarounds which are only necessary with MSVC's standard library and cause problems with libc++.
* Integrated internal changes from GoogleGravatar Adam Cozzette2017-09-14
|
* Fix build when using -Werror=undefGravatar Brad Larson2017-07-12
| | | | | | | Correct a couple places where macros were being checked when they might not exist in some cases. Fixes #3356.
* Fix missing std::tr1::hash on GCC 4.1 (#2907)Gravatar Matt Hauck2017-07-10
| | | | | | | Rather than crashing on use (doh!) better to just declare this platform is missing a proper hash_map/hash_set implementation and use the std::map/std::set emulation. Fixes regression introduced by #1913
* Fix more implicit type conversions in public headers and generated code.Gravatar Bo Yang2017-06-24
|
* Fix gcc 4.1 build (#1035) (#1913)Gravatar Matt Hauck2017-03-01
| | | | | | | | | | * Fix gcc 4.1.2 compilation of map_field_inl.h Fixes "error: object missing in reference to '...'" errors from #1035 * Disable 64-bit map keys on gcc <= 4.1 * Add missing case statements
* Removed Android-specific code from stubs/hash.hGravatar Adam Cozzette2016-12-13
| | | | | | | This #ifdef in hash.h causes us to give up on finding a hash function on Android, when there do seem to be hash functions available in practice. I also had to tweak a macro in map.h that was disabling on Android an allocator construct() method that we need.
* Bridge vs2008 hashmaps.Gravatar Jisi Liu2016-05-11
|
* Integrate google internal changes.Gravatar Jisi Liu2016-03-30
|
* Down-integrate internal bug fixing changes.Gravatar Bo Yang2015-10-04
|
* Merge pull request #766 from pkasting/hashGravatar Feng Xiao2015-09-10
|\ | | | | Refine check for unordered_{map|set} availability.
| * It helps if you write macros correctlyGravatar Peter Kasting2015-08-27
| |
| * Try modifying check in hopes of passing upstream buildGravatar Peter Kasting2015-08-27
| |
| * Review commentsGravatar Peter Kasting2015-08-27
| |
| * Refine check for unordered_{map|set} availability.Gravatar Peter Kasting2015-08-27
| | | | | | | | | | | | | | It's not enough to check for C++11 language support, as it's possible for projects to enable C++11 language and library features independently (e.g. Chromium currently does this). Instead, explicitly check the library version to see if it is recent enough to include unordered_{map|set}.
* | Fix bugs on windowsGravatar Bo Yang2015-08-25
| |
* | Down-integrate from internal branch.Gravatar Jisi Liu2015-08-21
|/ | | | Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
* Internal local modifications.Gravatar Bo Yang2015-07-09
|
* Fixes on visual studio 2008Gravatar unknown2015-05-27
|
* Make hash_map forward constructor parameters to its base class.Gravatar Feng Xiao2015-05-25
| | | | | | | | We use a custom allocator for map fields and this allocator must be passed correctly to hash_map to make sure it's allocated properly with our custom allocator. Change-Id: Ie59fa24bf11ff28ffd0fa870e24e456c66b2b9c5
* Merge pull request #341 from yukawa/fix-undef-GOOGLE_PROTOBUF_MISSING_HASHGravatar Feng Xiao2015-05-22
|\ | | | | Undef GOOGLE_PROTOBUF_MISSING_HASH after it is used.
| * Undef GOOGLE_PROTOBUF_MISSING_HASH after it is used.Gravatar Yohei Yukawa2015-05-04
| | | | | | | | | | | | | | | | | | | | This is a follow up CL for df184fba00acc7d4aa7b9d64693c53c815a64eda (Id937e25bbb35968ee76c92bd4a8ce6247408c443), which added #undef GOOGLE_PROTOBUF_MISSING_HASH where GOOGLE_PROTOBUF_MISSING_HASH macro is never defined. With this CL, GOOGLE_PROTOBUF_MISSING_HASH macro will be cleaned up after it is used.
* | internal changesGravatar Bo Yang2015-04-24
|/ | | | Change-Id: I66f216c70a19f44637090878d7e442d4d0f8991b
* Fix hash.h for MSVC and platforms without hash map/set support.Gravatar Jisi Liu2015-03-01
| | | | Change-Id: Ic0fdb52c17b9495c73b8ce15879531383a148585
* Fix hash_map type parameter to add Alloc for other platforms.Gravatar Jisi Liu2015-03-01
| | | | Change-Id: Idc5fb65a2cc469d55aff6f2cde0b51b326be0963
* Down integrate from Google internal branch for C++ and Java.Gravatar Jisi Liu2015-02-28
| | | | | | | | - Maps for C++ lite - C++ Arena optimizations. - Java Lite runtime code size optimization. Change-Id: I7537a4357c1cb385d23f9e8aa7ffdfeefe079f13
* Make maps fields work on installed C++ protobufs.Gravatar Jisi Liu2015-02-25
| | | | Change-Id: Id937e25bbb35968ee76c92bd4a8ce6247408c443
* Replace links to code.google.com/protobuf with ↵Gravatar Feng Xiao2014-10-01
| | | | developers.google.com/protocol-buffers
* Down-integrate from internal branchGravatar xiaofeng@google.com2012-09-22
|
* Argh, this line was not supposed to be submitted.Gravatar kenton@google.com2009-12-21
|
* Use unordered_map when available. Changes to stl_hash.m4 provided by Oleg ↵Gravatar kenton@google.com2009-12-21
| | | | Smolsky.
* HPUX patch from Alexander Melnikov.Gravatar kenton@google.com2009-08-17
|
* Integrate recent changes from Google-internal code tree. See CHANGES.txtGravatar kenton@google.com2009-04-25
| | | | | for details.
* 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
* Work around absence of hash_map.Gravatar kenton@google.com2008-09-19
| | | | | Also, update version numbers to 2.0.2-SNAPSHOT.
* Initial checkin.Gravatar temporal2008-07-10