| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| | |
| | |
| | |
| | | |
Fixes https://github.com/google/protobuf/issues/3951
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do not use "googletest.h", apprently that leads to
linking errors on Windows which I couldn't figure
out how to solve, and decided to just go with
plain gTest instead.
See https://github.com/google/protobuf/issues/3951
|
| | | |
|
| | |
| | |
| | |
| | | |
This fixes issue #1775.
|
|\ \ \
| | | |
| | | | |
fix undefined behavior in C++03
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
This is necessary for avoiding a strange compiler error that we have
already run into with older versions of Clang on NaCl.
|
|\| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Removed the redefination in the atomicword_compat.h. Now Atomic32 will
alwyas be intptr_t in 32bit platforms, the bridge is no longer needed.
- Change NaCl 64bit to use intptr_t instead of int32 for Atomic32,
otherwise AtmoicWord APIs will miss the definations.
After this change, the AtmoicWord will always be either Atomic32 or
Atmoic64 depending on the platforms.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
fix implicit fallthrough in gcc 7
|
| | |
| | |
| | |
| | | |
fixes #3700
|
| | | |
|
| | | |
|
|/ / |
|
|\ \ |
|
| | | |
|
| | | |
|
|\| |
| | |
| | | |
Merge fixes from 3.4.x into master
|
| | |
| | |
| | | |
Fixing -Wexpansion-to-defined Clang warning
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- Use scoped_array instead of unique_ptr.
- Do not use string::front() and string::back()
|
|\| | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This excludes cygwin and mingw from using the self implemented
functions.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Verified test succeed under draconian heap checker
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Previous code duplicates io_win32.cc in sources of all the libraries
that include io_win32.h header.
|
| | | |
|
| | | |
|
| |\ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
expansion producing 'defined' was warning on undefined behavior.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The typedefs for Atomic32 and Atomic64 were sometimes causing
Atomic32 to be an int32 rather than an intptr_t on 32-bit platforms.
On some of these platforms (ARM/CortexM building with GCC 6 in one
case) int32 is a long int, while intptr_t is an int, which causes a
compiler error even though long int and int are both 4 bytes.
Having Atomic32 always be intptr_t on 32-bit platforms and Atomic64
always be intptr_t on 64-bit platforms should resolve any of these
types of errors.
|
|\ \ \ \
| | | | |
| | | | | |
Windows: support long paths in open/mkdir/access
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add implementations of open(2), mkdir(2), stat(2),
etc. that support long paths under Windows (paths
longer than MAX_PATH in <windows.h>, which is 260
characters).
The implementations are in a separate namespace
(google::protobuf::internal::win32), so they won't
collide with the standard implementations in
<io.h>, but after importing them with `using` they
can be drop-in replacements.
Fixes https://github.com/bazelbuild/bazel/issues/2634
Fixes https://github.com/google/protobuf/issues/2891
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Merge 3.3.x into master
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| | | | | |
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Correct a couple places where macros were being checked when they
might not exist in some cases.
Fixes #3356.
|