| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Ran into an issue today where a machine had the `protoc` compiler but not the include files. Took a while to sort out, and this added note to the README included in every zip should help.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add php_generic_services option
* Generate PHP generic services
* Respect namespaces for generated PHP services
* Test PHP generated services
* Rename PHP generator service method doc comment function
* Correct phpdoc service method case
* Test namespaced PHP generic services
* Always use the FQCN for PHP generic service input/output
* Add generated_service_test to php test.sh
* Add php service test protos to CI
* Add php service files to php_EXTRA_DIST
* Use Interface suffix for php generic services
|
|\
| |
| | |
Fix map_field_inl.h for gcc 4.1
|
| | |
|
|\ \
| | |
| | | |
Fix build when using -Werror=undef
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Correct a couple places where macros were being checked when they
might not exist in some cases.
Fixes #3356.
|
|\ \ \
| | | |
| | | | |
Issue 3112: Object class with fully qualified name
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Expand documentation in Readme.md
|
| | | | |
| | | | |
| | | | | |
Add some supporting documentation regarding Closure for those unfamiliar., Also substantiate details for "files in this directory" - including them all will result in a project that does not compile as some are used for test cases and aren't part of the core library.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* remove pass by reference for php setters
* comments out memory leak test
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Both native_slot_merge and native_slot_merge_by_array have no return
type declared. GCC implicitly uses int as return type in such cases,
however, these functions are actually void.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In the generated code of previous versions, each php field is given an
initial value. In c extension, it was assumed that the field order in
the generated code is consistent with upb fields order, so that the
correct initial value can be bound to the correct upb field. However,
this may not be true. The order of fields in generated code is decided
by proto compiler, while the order of upb fields is decided by the hash
function used in c extension.
This PR fixes the issue by reset the initial value at runtime.
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Use consistent hash across NDEBUG/!NDEBUG builds.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #3322.
|
| |_|/ /
|/| | | |
|
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rather than crashing on use (doh!) better to just declare this platform
is missing a proper hash_map/hash_set implementation and use
the std::map/std::set emulation.
Fixes regression introduced by #1913
|
| | |
| | |
| | | |
* Remove using std::{set,map}
|
|/ / |
|
|\ \
| | |
| | | |
[Ruby] fix floating point accuracy problem in Timestamp#to_f
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
`.quo` return the most exact devision which fixes accuracy problems for the
timestamp coercion
|
| | |
| | |
| | | |
* add Grpc Protobuf validation
|
|\ \ \
| | | |
| | | | |
Expose the initializer for unknown fields.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Note that the compatibility tests have had to cahnge as well, to
cope with internal changes. (The test project has access to
internals in the main project.)
Fixes #3209.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Add a TryUnpack method which doesn't throw if the type is wrong
- Make GetTypeName public for easier determination of the message type
Fixes #3294.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add json encode/decode for php.
* Fix php conformance test on 32-bit machines.
* Fix conformance test for c extension.
* Fix comments
|
|\ \ \
| | | |
| | | | |
Add initialized as a reserved keyword as that's the actual property name
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add scripts to build python wheel for linux.
Followed PEP513.
* Fix dist check for new added files.
* Update README for usage example.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* adds PHPDoc @return and @param for getters and setters respectively
* addresses changes in PR review
* adds documentation tests
* Update php_generator:
- Prepend \ to names where required
- Remove <pre> tags
- Update protobuf field comments
* Updates class files with the protobuf changes
* Addresses review comments
* removes Protobuf Type line from PHP generated classes
* fixes phpdoc test
* adds array types to phpdoc
|
|\ \ \
| | | |
| | | | |
Workaround the docker bug when compiling artifacts
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a workaround (https://github.com/moby/moby/issues/10180#issuecomment-190429512) the docker issue (https://github.com/moby/moby/issues/10180) which breaks protoc-artifacts build process with following error
```Rpmdb checksum is invalid: dCDPT(pkg checksums): devtoolset-1.1-elfutils.x86_64 0:0.154-6.el6 - u
The command '/bin/sh -c yum clean all && yum install -y devtoolset-1.1 devtoolset-1.1-libstdc++-devel devtoolset-1.1-libstdc++-devel.i686' returned a non-zero code: 1```
https://github.com/moby/moby/issues/10180#issuecomment-190429512
|
|\ \ \
| | | |
| | | | |
Enusre public header and generated code have no implicit converion.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
C++: Do not forward-declare dependencies in generated .h files
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Updated links to use https
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Howdy!
I just updated some links to use https instead of http.
Thanks! ^ _ ^
|
|\ \ \ \
| | | | |
| | | | | |
If we fail to get a descriptor just super the method resolving.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This should never happen, but if someone is swizzling or do other
hooking of methods, anything is possible, so this seems slighty
safer than they returning NO.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Switch to addEnumType to fix fatal error
* Fixing more cases of HHVM incompatibility
* Updating tests to be hhvm compatible
* Fixing tests
* Fixing merge
* Don't use call_user_func, should hopefully fix tests
* Fixing spelling
* Fixing another misspelling in a test
* Fixing placement of append and kvUpdate functions
* Actually fix function helpers
* Remove double addEnumType. How did this ever work?
* Fixing a couple more tests
* Only use the setter if the return value isn't an object
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fixed a bunch of Ruby conformance errors.
* Fixed some more Ruby conformance errors in JSON.
|
|\ \ \ \
| | | | |
| | | | | |
replenish missed header files in install step
|