aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs
Commit message (Collapse)AuthorAge
* OnShutdownDelete shadowing issueGravatar Ivan Shynkarenka2018-07-10
| | | | https://github.com/google/protobuf/issues/4887
* Merge pull request #4882 from google/3.6.xGravatar Adam Cozzette2018-07-09
|\ | | | | Merge 3.6.x into master
| * 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.
* | Fix to allow a compilation under mips big endian with gccGravatar Charles Hardin2018-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __MIPSEL__ is mips little endian, specific and we needed to compile for a big endian mips target that also happened to be a mips64, so replaced the __MIPSEL__ with a __mip__ which should preserve the build on little endian and allow a build for a big endian setup. $ echo | mips64-linux-gcc -E -dM - ... snip snip ... #define __mips__ 1 #define __MIPSEB__ 1 Signed-off-by: Charles Hardin <ckhardin@gmail.com>
* | Removed forward declaration of MemBlock classGravatar Michal Matuszak2018-06-25
| | | | | | | | | | Removed forward declaration of MemBlock class. Declaration is in conflict with declaration `::strings::MemBlock`
* | Merge pull request #4827 from acozzette/merge-3-6-xGravatar Adam Cozzette2018-06-25
|\ \ | | | | | | Merge 3.6.x branch into master
* \ \ Merge pull request #4824 from sschuberth/remove-exec-bitGravatar Feng Xiao2018-06-25
|\ \ \ | | | | | | | | Remove the executable bit from several source code files
* \ \ \ Merge pull request #4608 from khuzemap/masterGravatar Feng Xiao2018-06-25
|\ \ \ \ | | | | | | | | | | Add "override" keyword for overridden virtual functions
* \ \ \ \ Merge pull request #4172 from OskarKinomoto/masterGravatar Adam Cozzette2018-06-25
|\ \ \ \ \ | | | | | | | | | | | | Add guards against bswap_XX redefnitions
| | | | * | Merge branch '3.6.x' into merge-3-6-xGravatar Adam Cozzette2018-06-25
| |_|_|/| | |/| | | |/
| | | * / Remove the executable bit from several source code filesGravatar Sebastian Schuberth2018-06-25
| |_|/ / |/| | | | | | | | | | | This potentially avoids compiler warnings.
* | | | Merge pull request #1261 from gjasny/disable-tls-for-osx-10.6Gravatar Adam Cozzette2018-06-20
|\ \ \ \ | | | | | | | | | | Disable thread local storage for OSX < 10.7
| | | * | Add "override" for overridden virtual functionsGravatar Khuzema Pithewan2018-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "override" for overridden virtual functions. Please refer following issue for discussion on this. https://github.com/google/protobuf/issues/67
* | | | | Added Clang thread-safety annotations in mutex.hGravatar Adam Cozzette2018-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Clang's thread safety analysis (-Wthread-safety) to pass without warnings, we need to annotate WrappedMutex to indicate that Lock() acquires the lock and Unlock() releases it. This CL adds the annotations and guards them with an ifdef to make sure they're a no-op on compilers other than Clang. This is a cherry-pick of a change I already made to the Google-internal codebase.
* | | | | re-write int128 long division to avoid license impact from stackoverflow ↵Gravatar NickFengIBM2018-05-17
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | references (#4633) * rewrite int128 long divison to avoid stackoverflow hit Protobuf was showing Stackoverflow hits in the code base, primarily code written to calculate long division. This code was copied from a stackoverflow post, which means it would be licensed under CC BY-SA 3.0. Due to this license, IBM Legal did not want to include this OSS in our products and advised us to re-write this particular piece of code to avoid the license restriction. We have re-written the code for our own distribution, and are willing to merge it into the main code base for others who want to avoid the stackoverflow license issues to benefit as well.
| | | * Update version number to 3.6.0Gravatar Jisi Liu2018-05-14
| |_|/ |/| |
* | | MinGW build failedGravatar Ivan Shynkarenka2018-05-02
| | |
* | | Removed atomicops.h since it is no longer usedGravatar Adam Cozzette2018-03-27
| | |
* | | Removed some unused C++ source filesGravatar Adam Cozzette2018-03-22
| | |
* | | Merge pull request #4387 from acozzette/down-integrateGravatar Adam Cozzette2018-03-20
|\ \ \ | | | | | | | | Integrated internal changes from Google
* \ \ \ Merge pull request #4371 from Rasrack/gnuc_minorGravatar Adam Cozzette2018-03-15
|\ \ \ \ | | | | | | | | | | Fix spelling error of __GNUC_MINOR__
* \ \ \ \ Merge pull request #4310 from KindDragon/patch-1Gravatar Feng Xiao2018-03-14
|\ \ \ \ \ | | | | | | | | | | | | Support using MSVC intrinsics in Log2FloorNonZero
| | | * | | 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.
| | | * | | Merge branch 'master' into down-integrateGravatar Adam Cozzette2018-03-13
| | | |\ \ \ | |_|_|/ / / |/| | | | |
| | | * | | Integrated internal changes from GoogleGravatar Adam Cozzette2018-03-13
| | | | | |
| | * | | | 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.
| | * | | Support using MSVC intrinsics in Log2FloorNonZeroGravatar Arkady Shapkin2018-02-15
| |/ / / |/| | |
* | | | Remove use of GOOGLE_FALLTHROUGH_INTENDED from protobuf.Gravatar Nico Weber2018-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chrome is running into two issues with the use of this macro in open-source protobuf (https://crbug.com/809157): 1. GOOGLE_FALLTHROUGH_INTENDED is defined to nothing on __APPLE__ platforms, which blocks us from enabling -Wimplicit-fallthrough on Mac and iOS. (We use a hermetic self-built modern clang, so whatever Xcode bug that exclusion might be for doesn't apply to us.) 2. It's in a public header file, and it's included in a public header file. When clang suggests adding [[clang::fallthrough]], it checks if it knows of a macro expanding to that and if so, suggests inserting that. Since lots of chrome code includes protobuf headers, it often suggests inserting GOOGLE_FALLTHROUGH_INTENDED (from protobuf) instead of the correct FALLTHROUGH (from chrome's base). Since the fallthrough doens't do anyting useful, just remove it. Long ago, this might have had perf impact, but d64a2d9941c36a7bc added a parsing fast path that calls this switch as slow fallback, so it should be off the hot path nowadays. No intended behavior change. This is the public version of internal change 184824132.
* | | | 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++.
| | * Add guards against bswap_XX redefnitionsGravatar Oskar Świtalski2018-01-15
| |/ |/| | | | | Signed-off-by: Oskar Świtalski <oskar.switalski@indoorway.com>
* | Merge pull request #4148 from datacompboy/patch-2Gravatar Adam Cozzette2018-01-08
|\ \ | | | | | | Add more tests to time_test
| * | Update time_test.ccGravatar Anton Fedorov2018-01-05
| | | | | | | | | Better test coverage for datetime validation.
* | | Fix ValidateDateTime: check day instead monthGravatar Anton Fedorov2018-01-05
|/ / | | | | | | Found with PVS-Studio static analyser, see https://www.viva64.com/en/b/0550/
* | Merge remote-tracking branch 'origin/3.5.x' into masterGravatar Jisi Liu2018-01-03
|\ \
* \ \ Merge remote-tracking branch 'origin/3.5.x' into masterGravatar Jisi Liu2018-01-03
|\ \ \
| | * | remove nullptrGravatar Jisi Liu2018-01-02
| |/ /
| * | Add support for Windows ARM64 buildGravatar Miradham Kamilov2017-12-20
| | |
| * | Update version number to 3.5.1Gravatar Jisi Liu2017-12-19
| | |
* | | Add support for Windows ARM64 buildGravatar Miradham Kamilov2017-12-19
| | |
* | | Added our standard license header to structurally_valid.cc and its testGravatar Adam Cozzette2017-12-13
| | | | | | | | | | | | This fixes issue #1775.
* | | Merge pull request #4016 from jquesnelle/string-access-ubGravatar Jisi Liu2017-12-12
|\ \ \ | | | | | | | | fix undefined behavior in C++03
| * | | use const char* instead of const std::string& in normalize()Gravatar Jeffrey Quesnelle2017-12-07
| | | |
* | | | Use the portable version of Log2Floor for Clang with older Android NDK versionsGravatar Adam Cozzette2017-12-07
| | | | | | | | | | | | | | | | | | | | This is necessary for avoiding a strange compiler error that we have already run into with older versions of Clang on NaCl.
| * | | fix undefined behavior in C++03Gravatar Jeffrey Quesnelle2017-12-07
|/ / /
| * | io_win32_unittest: remove incorrect error checkGravatar Laszlo Csomor2017-12-07
| | | | | | | | | | | | | | | | | | Unlike GetEnvironmentVariableW, GetCurrentDirectoryW doesn't set ERROR_INSUFFICIENT_BUFFER.
| * | io_win32_unittest: fix condition in GetCwdAsUtf8Gravatar Laszlo Csomor2017-12-07
| | |
| * | io_win32_unittest: use CWD as last tempdirGravatar Laszlo Csomor2017-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the test cannot find a temp directory by checking environment variables, it will fall back to using the current working directory as the temp directory root. This is what the test used to do as of commit https://github.com/google/protobuf/commit/6de51caed52d798815954646b230c5aef3e4d2fc and what was then changed by commit https://github.com/google/protobuf/pull/3978/commits/792d098769d8e000d8d474c8ffd201d2eabc2134
| * | io_win32: add more encoding-related testsGravatar Laszlo Csomor2017-12-07
| | |