| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fix build on MinGW32
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
strdup is not part C or C++ standard but POXIS function. Several
compilers failed to compile strdup or generate warnings.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This excludes cygwin and mingw from using the self implemented
functions.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
| |
- Now it includes -Wextra except for unused-parameter.
- Removed gtest dependency
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Both test_messages_proto3.proto & test_messages_proto2.proto define
message ForeignMessage {...} and enum ForeignEnum {...} but since
objc doesn't use the proto package in the naming, these end up
conflicting.
Adding the objc_class_prefix option to the proto3 file ensure the generated
objc types are all unique.
|
| |\
| | |
| | | |
Fix issue #1745 - javascript allow dot in filename
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Use composition instead of inheritance for oneof default.
|
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
|\| | |
|
| |\ \
| | | |
| | | | |
Add declaration for AddDescriptorsImpl()
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
AddDescriptorsImpl() is a private static implementation detail,
and needs to be declared but won't be used from outside the
source file. Place it inside an anonymous namespace to fix a
previous build error that would result in more restrictive
build enviornments that use -Werror=missing-declarations or
similar compiler flags.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Treat missing declarations as an error for test builds, to prevent
future updates which add functions without properly declaring them.
This will prevent broken builds in more restrictive build environments.
|
| |\ \ \
| | |_|/
| |/| | |
Proto2 test message support to conformance test
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | |_|_|/
| |/| | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
An ifdef condition seems to have been inverted by mistake, causing the
dynamic initialization to occur for lite if and only if the
_NO_STATIC_INITIALIZER macro is set. This problem manifested itself as
segfaults due to uninitialized empty strings:
https://github.com/google/protobuf/issues/2839
Since no one complained about initialization not happening, it would
appear that we can just disable this initialization for lite
unconditionally, so that is what this change does. Instead of the
default instance initialization happening pre-main, it now always
happens lazily when needed.
|
| |\ \ \ \
| | | | | |
| | | | | | |
Merge 3.3.x into master
|
| | |\ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes #3059 by re-applying 08b1c718 from #3087.
|
| | | | | | | |
|
| | | | | | | |
|
| | | |\ \ \ \
| | | | | | | |
| | | | | | | | |
Cherry-pick a bug fix: workaround gcc < 4.5.0 bug
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=189
Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | | |
<: is a digraph, so a space is necessary for compilation on certain compilers.
|
| | | |/ / / / |
|