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
Jisi Liu
d2f3adb3b3
Merge pull request #3481 from pherl/nowarning
...
Make no warning test stricter.
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
9adb4e8c2d
Merge pull request #3478 from pherl/warning
...
Make code free of missing-field-initializers warnings
7 years ago
Jisi Liu
97d50e306e
Make code free of missing-field-initializers warnings
7 years ago
Jisi Liu
3afcded28a
Merge pull request #3461 from TeBoring/3.4.x
...
Merge master into 3.4.x
7 years ago
Feng Xiao
176713d6fb
Merge pull request #3468 from vladmos/3.4.x
...
Make .bzl files compatible with future versions of Bazel
7 years ago
Vladimir Moskva
06a825c170
Make .bzl files compatible with future versions of Bazel
7 years ago
Bo Yang
8f4b8e430a
Merge branch 'master' into 3.4.x
7 years ago
Paul Yang
f14703c933
Update commit id in Dockerfile to reflect change in #3391 ( #3459 )
7 years ago
Paul Yang
49b44bff2b
Fix the bug in php c extension that setting one field can change another field's value. ( #3455 )
...
* Fix the bug in php c extension that setting one field can change another
field's value.
The reason is that previously, in c extension, it was assumed that the
order that fields were declared in php is the same as the order of
fields in upb. This is not true. Now, for every field in upb, we will
look up the actual property that is corresponding to the upb field.
* Cleanup pull request
* Fix indentation
* Port to php5
* Port with php7.1
* Port to zts
7 years ago
michaelbausor
21b0e5587c
Update PHP descriptors ( #3391 )
...
* Add descriptors test
* Update descriptors tests
* Add public descriptors
* Add test_desriptors.proto to test script
* Update composer files
* Remove references to GPBType, update tests to be compatible with c
* Update for c extension compatibility
* Remove nested enums for descriptor, update tests
* Strip leading '.' from descriptor name
* Update tests with test for getClass, fix OneofDescriptor
* Add new files to Makefile.am
7 years ago
Feng Xiao
1ab5adbdec
Merge pull request #3456 from giorgioazzinnaro/patch-1
...
Update third party addons with ProfaneDB
7 years ago
Giorgio Azzinnaro
a3e17523b4
Update third party addons with ProfaneDB
...
I added my project ProfaneDB, it is a database for Protocol Buffers objects. Written in C++, it uses gRPC as an interface for other languages.
It is still work in progress, but I'd love to get some feedback on it while I progress!
7 years ago
Jisi Liu
c2f69d6fa2
Merge pull request #3450 from pherl/invalidoffset
...
Fix invalid offsetof warning.
7 years ago
Jisi Liu
e243fd8ab7
Merge pull request #3451 from pherl/fixtypo
...
Fix typo.
7 years ago
Jisi Liu
39a91d376a
Fix typo.
7 years ago
Jisi Liu
4cbbf33b77
Fix invalid offsetof warning.
...
Use composition instead of inheritance for oneof default.
7 years ago
Paul Yang
25672c1757
Add getClass for php Descriptor in c extension ( #3443 )
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
53ae6de18b
Merge pull request #3442 from pherl/csharpversion
...
Bump csharp version
7 years ago
Jisi Liu
6c64f11778
Bump csharp version
7 years ago
Jisi Liu
e0288e7ec0
Merge pull request #3438 from pherl/changelog
...
Update change log
7 years ago
Ryan Gordon
9df89ccabc
Fixing HHVM Compatibility ( #3437 )
7 years ago
Paul Yang
c15a3269f9
Expose descriptor API in php c extension ( #3422 )
7 years ago
Jisi Liu
8a5208fd37
Update change log
7 years ago
Jisi Liu
502624ff8b
Merge pull request #3419 from pherl/3.4.x
...
Merge master into 3.4.x
7 years ago
Jisi Liu
d77c8c5e44
remove the duplication
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
Tony Wong
be73938d72
Change divideInt64ToInt32 to static ( #3436 )
...
divideInt64ToInt32 is called statically from protobuf/php/src/Google/Protobuf/Internal/CodedOutputStream.php
(the only reference)
This causes fatal error in PHP 7.1 (32-bit only because 64-bit doesn't use this function)
7 years ago
Brent Shaffer
d32f5b4de3
Removes unnecessary pass-by-references in PHP internal classes ( #3433 )
7 years ago
Feng Xiao
072431452a
Merge pull request #3429 from king6cong/master
...
Add classpath for java example Makefile
7 years ago
Feng Xiao
d6bd959761
Merge pull request #3406 from ax3l/bg-3.4-cmake-pkgconfig
...
CMake: Install .pc Files (Backport: 3.4)
7 years ago
king6cong
547d76ed8e
Add classpath for java example Makefile
7 years ago
Thomas Van Lenten
9b505a92bf
Merge pull request #3421 from thomasvl/update_comment
...
Update the comment on the message_type to cover what it should be.
7 years ago
Thomas Van Lenten
9a4692d8af
Update the comment on the message_type to cover what it should be.
7 years ago
Thomas Van Lenten
5eb95efa81
Merge pull request #3420 from thomasvl/objc_proto2_conformance
...
Objc proto2 conformance test support
7 years ago
Thomas Van Lenten
3caf9fd00a
Review feedback.
...
- Better error message for unknown messageType.
- Remove unneeded if.
7 years ago
Thomas Van Lenten
c2831a346c
Add the proto2 message conformance support for ObjC.
7 years ago
Thomas Van Lenten
9fd5e59c97
Generate the proto2 test file and link it in for ObjC.
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
19b8c8bfd3
Update conformance tests again.
7 years ago