Jisi Liu
6d0cf1b3fe
Remove ranged based for in io_win32.cc
7 years ago
Jisi Liu
b091bfb07b
Test Shutdown can be called multiple times.
7 years ago
drivehappy
e3be1febf2
Clang warning cleanup for unused parameter.
7 years ago
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
7 years ago
drivehappy
7f3ded663b
Clang warning cleanup for unused parameter.
7 years ago
Paul Yang
8741da3e45
Revert "Fix js conformance tests. ( #3604 )" ( #3633 )
...
This reverts commit 2bd55a9fbc
.
7 years ago
Bo Yang
a425dd97f2
Rename ClassNamePrefix to ConstantNamePrefix
7 years ago
Paul Yang
2bd55a9fbc
Fix js conformance tests. ( #3604 )
...
* Fix js conformance tests.
* Remove old incorrect compatibility tests
7 years ago
Bo Yang
f46a01d0c1
Exclude valid constant name from reserved name.
7 years ago
Feng Xiao
6945203300
Exclude addressbook.proto from C# boostrap test.
...
This addressbook.proto now belongs to its own bazel pacakge and can't be
accessed in bazel protobuf_test target.
7 years ago
Bo Yang
e5d000cbb7
Add prefix to php reserved keywords.
7 years ago
Jisi Liu
baae7ea12b
Add @Deprecated annotation support for proto file.
7 years ago
Paul Yang
2807436cd8
change the field number of php_generic_service to fix the conflict with ( #3576 )
...
internal descriptor.proto
7 years ago
Jisi Liu
55fdbe58f0
Make distcheck aware of test proto files.
7 years ago
Jisi Liu
6609e52124
Disable death tests on windows
...
Also remove cord related code
7 years ago
George Burgess IV
6cecd20e25
Work around a bug in clang's static analyzer
...
Due to https://bugs.llvm.org/show_bug.cgi?id=34198 , clang's static
analyzer emits diagnostics about leaking `container`. Doing this
assignment in two steps works around this, and shouldn't cause these
issues.
7 years ago
Jisi Liu
c27b56c692
Merge pull request #3494 from drivehappy/clang_warning_macro
...
Fixing -Wexpansion-to-defined Clang warning
7 years ago
Jisi Liu
36ac06fdc7
Merge pull request #3535 from drivehappy/clang_warn_cleanup
...
Fixing unused parameter warnings under Clang.
7 years ago
Jisi Liu
77a453a57f
Fix compile errors
7 years ago
Jisi Liu
4aadcd3c7b
Remove C++11 features in io_win32.cc
...
- Use scoped_array instead of unique_ptr.
- Do not use string::front() and string::back()
7 years ago
drivehappy
1183f4864b
Fixing unused parameter warnings under Clang.
7 years ago
drivehappy
a23e198cca
Fixing warning under Clang 6.x (-Wexpansion-to-defined) where the macro expansion producing 'defined' was warning on undefined behavior.
7 years ago
Jisi Liu
3908b4e40d
Fix cmath/math.h include with non C++11 libstdc++
7 years ago
Jisi Liu
651429b709
Fix comments
7 years ago
Jisi Liu
31b3bd9811
Make compilers without ref-qualifier support happy.
7 years ago
Jisi Liu
b4c0cfe3a4
Add malloc cast
7 years ago
Jisi Liu
fd31899f01
implement remove strdup usage and implement our own
...
strdup is not part C or C++ standard but POXIS function. Several
compilers failed to compile strdup or generate warnings.
7 years ago
Jisi Liu
34ebca0ca8
Adding missing imports for strdup
7 years ago
Jisi Liu
40d1855fe9
Fix mkdir
7 years ago
Jisi Liu
564f02c91e
Make win32_io only for MSVC
...
This excludes cygwin and mingw from using the self implemented
functions.
7 years ago
Jisi Liu
7afa796bb9
Fix the declaration order in ming32
7 years ago
Jisi Liu
db125b8d3a
Fixing io_win32 for MinGW32
7 years ago
Brad Larson
1b423474fd
Clean up typedefs for Atomic32/Atomic64
...
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.
7 years ago
Jisi Liu
e8fc0661db
Make no warning test stricter.
...
- Now it includes -Wextra except for unused-parameter.
- Removed gtest dependency
7 years ago
Jisi Liu
97d50e306e
Make code free of missing-field-initializers warnings
7 years ago
Jisi Liu
4cbbf33b77
Fix invalid offsetof warning.
...
Use composition instead of inheritance for oneof default.
7 years ago
Gerben Stavenga
7781784796
Add destructors for default instances to the shutdown code.
...
Verified test succeed under draconian heap checker
7 years ago
Jisi Liu
bcf17332bd
Adding the missing header
7 years ago
Jisi Liu
ebeb472c1e
Export functions in io_win32.h in win DLL build
...
Previous code duplicates io_win32.cc in sources of all the libraries
that include io_win32.h header.
7 years ago
Thomas Van Lenten
21800ff84f
Add a objc_class_prefix to test_messages_proto3.proto.
...
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.
7 years ago
Jisi Liu
12c186f7c6
Fix makefile.am
7 years ago
Jisi Liu
e177739fa2
Fix build files
7 years ago
Jisi Liu
759245a49a
Merge from master
7 years ago
Jisi Liu
02250a7ff4
Omit the zip test if tools are not available
7 years ago
Jisi Liu
11b4d5ec73
Update required version on pre-generated files
7 years ago
Jisi Liu
8b24feb6ad
Update pre generated files
7 years ago
Jisi Liu
7bb39bef1a
Update version number for 3.4.0
7 years ago
Brad Larson
b6da2262e8
Put AddDescriptorsImpl() in anonymous namespace
...
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.
7 years ago
Adam
2b6db00de1
Fix quotation marks
7 years ago
Adam
a3a65b320d
Fix issue #1745 - javascript allow dot in filename
7 years ago