aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/common.h
Commit message (Collapse)AuthorAge
* OnShutdownDelete shadowing issueGravatar Ivan Shynkarenka2018-07-10
| | | | https://github.com/google/protobuf/issues/4887
* Fix initialization with Visual StudioGravatar Adam Cozzette2018-07-06
| | | | | | | | | | | | It appears that Visual Studio does not work well with std::once_flag because it has a bug causing it to initialize that during dynamic initialization instead of constant initialization. This change works around the problem by using function static initializers instead. @gerben-s originally wrote this change for the Google-internal codebase but I am just cherry-picking it here. This fixes #4773.
* Update version number to 3.6.0Gravatar Jisi Liu2018-05-14
|
* Deleted scoped_ptr.hGravatar Adam Cozzette2018-03-14
| | | | | We no longer need this, now that we have finished the switch to C++11 and are using std::unique_ptr.
* Integrated internal changes from GoogleGravatar Adam Cozzette2018-03-13
|
* 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.
* Update version number to 3.5.1Gravatar Jisi Liu2017-12-19
|
* Update version number to 3.5.0Gravatar Jisi Liu2017-11-02
|
* Add destructors for default instances to the shutdown code.Gravatar Gerben Stavenga2017-08-02
| | | | Verified test succeed under draconian heap checker
* Update version number for 3.4.0Gravatar Jisi Liu2017-07-24
|
* Merge master into 3.4.xGravatar Jisi Liu2017-07-18
|\
* | Merge from Google internal for 3.4 releaseGravatar Jisi Liu2017-07-18
| |
| * Add std:: namespace prefix to set and map (#3332)Gravatar tanderson-google2017-07-09
|/ | | * Remove using std::{set,map}
* Merge remote-tracking branch 'remotes/google/3.3.x' into merge-3.3-to-masterGravatar Adam Cozzette2017-04-27
|\
* | Remove "using namespace std" from stubs/common.hGravatar Adam Cozzette2017-04-26
| | | | | | | | | | | | | | | | This prevents the contents of the std namespace from being effectively pulled into the top-level namespace in all translation units that include common.h. I left in individual using statements for a few common things like std::set and std::map, because it did not seem worth going through the churn of updating the whole codebase to fix those right now.
| * Update version number and changelog for 3.3.0Gravatar Feng Xiao2017-04-05
|/
* Merge 3.2.x branch into master (#2648)Gravatar Paul Yang2017-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Down-integrate internal changes to github. * Update conformance test failure list. * Explicitly import used class in nano test to avoid random test fail. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * maps_test.js: check whether Symbol is defined before using it (#2524) Symbol is not yet available on older versions of Node.js and so this test fails with them. This change just directly checks whether Symbol is available before we try to use it. * Added well_known_types_embed.cc to CLEANFILES so that it gets cleaned up * Updated Makefile.am to fix out-of-tree builds * Added Bazel genrule for generating well_known_types_embed.cc In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * Add new js file in extra dist. * Bump version number to 3.2.0 * Fixed issue with autoloading - Invalid paths (#2538) * PHP fix int64 decoding (#2516) * fix int64 decoding * fix int64 decoding + tests * Fix int64 decoding on 32-bit machines. * Fix warning in compiler/js/embed.cc embed.cc: In function ‘std::string CEscape(const string&)’: embed.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.size(); ++i) { ^ * Fix include in auto-generated well_known_types_embed.cc Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc * Fixed cross compilations with the Autotools build Pull request #2517 caused cross compilations to start failing, because the js_embed binary was being built to run on the target platform instead of on the build machine. This change updates the Autotools build to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for the build machine and always use that when building js_embed. * Minor fix for autocreated object repeated fields and maps. - If setting/clearing a repeated field/map that was objects, check the class before checking the autocreator. - Just to be paranoid, don’t mutate within copy/mutableCopy for the autocreated classes to ensure there is less chance of issues if someone does something really crazy threading wise. - Some more tests for the internal AutocreatedArray/AutocreatedDictionary classes to ensure things are working as expected. - Add Xcode 8.2 to the full_mac_build.sh supported list. * Fix generation of extending nested messages in JavaScript (#2439) * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build * Fix generated code when there is no namespace but there is enum definition. * Decoding unknown field should succeed. * Add embed.cc in src/Makefile.am to fix dist check. * Fixed "make distcheck" for the Autotools build To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES. * Remove redundent embed.cc from src/Makefile.am * Update version number to 3.2.0-rc.1 (#2578) * Change protoc-artifacts version to 3.2.0-rc.1 * Update version number to 3.2.0rc2 * Update change logs for 3.2.0 release. * Update php README * Update upb, fixes some bugs (including a hash table problem). (#2611) * Update upb, fixes some bugs (including a hash table problem). * Ruby: added a test for the previous hash table corruption. Verified that this triggers the bug in the currently released version. * Ruby: bugfix for SEGV. * Ruby: removed old code for dup'ing defs. * Reverting deployment target to 7.0 (#2618) The Protobuf library doesn’t require the 7.1 deployment target so reverting it back to 7.0 * Fix typo that breaks builds on big-endian (#2632) * Bump version number to 3.2.0
* Add version number to plugin protocol.Gravatar Feng Xiao2016-12-05
|
* Bump library veriosn to 3.1Gravatar Bo Yang2016-10-10
|
* Fix the version number for 3.0.2Gravatar Jisi Liu2016-09-13
|
* Down-integrate internal bug fixing changes.Gravatar Bo Yang2015-10-04
|
* Down-integrate from internal branch.Gravatar Jisi Liu2015-08-21
| | | | Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
* Split up common.h headersGravatar Jisi Liu2015-07-16
| | | | Change-Id: I223783111d743aa5193bf70fa1b9b54c7b4389c3
* Internal local modifications.Gravatar Bo Yang2015-07-09
|
* MinGW64+MSYS2 compilation issues and portable isnan using MathLimitsGravatar Karol Ostrovsky2015-07-01
|
* Fix broken builds.Gravatar Feng Xiao2015-06-17
|
* Down-integrate from internal code base.Gravatar Feng Xiao2015-06-15
| | | | | | [ci skip] Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
* Refactored threadlocal logic.Gravatar Austin Schuh2015-06-08
| | | | | | | Refactored the threadlocal logic for Android and IOS into logic in platform_macro.h which computes a GOOGLE_PROTOBUF_NO_THREADLOCAL define which is then used elsewhere. This allows new platforms without THREADLOCAL to be easily defined.
* Fixed bug in GOOGLE_PREDICT_FALSE.Gravatar Austin Schuh2015-06-05
| | | | | | | The GOOGLE_PREDICT_FALSE macro is both incorrect, and doesn't match the macro definition in glog, which causes conflicts when including both libraries. This commit fixes that by making it identical to what is in glog.
* down-integrate internal changesGravatar Bo Yang2015-05-21
|
* internal changesGravatar Bo Yang2015-04-24
| | | | Change-Id: I66f216c70a19f44637090878d7e442d4d0f8991b
* Fix thread local annotatoin and add back type traits is_convertable for MSVCGravatar Feng Xiao2014-12-04
|
* Update version number to v3.0.0-alpha-1Gravatar Feng Xiao2014-12-03
|
* Get rid of some build warnings.Gravatar Feng Xiao2014-12-02
|
* Down-integrate from internal code base (C++ maps support).Gravatar Feng Xiao2014-11-14
|
* Merge branch 'typofixes-vlajos-20141108' of ↵Gravatar Feng Xiao2014-11-11
|\ | | | | | | | | | | | | https://github.com/vlajos/protobuf into typo Conflicts: src/google/protobuf/compiler/java/java_file.cc
* | Down-integrate from internal code base.Gravatar Feng Xiao2014-11-10
| |
| * typo fixes - https://github.com/vlajos/misspell_fixerGravatar Veres Lajos2014-11-08
|/
* Update version number to 2.6.2-pre.Gravatar Feng Xiao2014-10-21
|
* Update version number to 2.6.1rc1Gravatar Feng Xiao2014-10-08
|
* Replace links to code.google.com/protobuf with ↵Gravatar Feng Xiao2014-10-01
| | | | developers.google.com/protocol-buffers
* merge tags/2.6.0 into trunkGravatar jieluo@google.com2014-08-25
|
* down integrate to svnGravatar jieluo@google.com2014-07-18
|
* Down-integrate pending changes from internal repository after previous release.Gravatar liujisi@google.com2014-05-28
|
* Update version number in trunkGravatar xiaofeng@google.com2013-02-28
|
* Make PROTOBUF_USE_EXCEPTIONS configurable from CPPFLAGS.Gravatar liujisi@google.com2012-12-04
|
* Update version to 2.5.0-preGravatar liujisi@google.com2012-11-30
|
* Fix compile issues under GCC 3.4.6Gravatar xiaofeng@google.com2012-11-30
|
* Down-integrate from internal branchGravatar xiaofeng@google.com2012-09-22
|
* Update mainline version to 2.4.2-pre.Gravatar liujisi@google.com2011-05-03
|