| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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
|
| | | |
| | | |
| | | |
| | | | |
install 'generated_message_table_driven.h' and 'metadata_lite.h', they are included when compiling the files generated using protoc.exe 3.3.0
|
|\ \ \ \
| | | | |
| | | | | |
ObjC: Document the exceptions on some of the writing apis.
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Raise the number of digits used for floats.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
About 1.5% of all IEEE754 single-precision numbers require nine
decimal digits to represent accurately.
|
| | | |
| | | |
| | | |
| | | | |
That implementation of json is not being used - this extension is using
a json encoder/decoder provided by 'upb'.
|
|\ \ \ \
| | | | |
| | | | | |
Qualify string in java_options.h
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Building the protobuf compiler with Bazel fails to resolve the unqualifed "string"s in java_options.h:
```
ERROR: .../external/com_google_protobuf/BUILD:248:1: C++ compilation of rule '@com_google_protobuf//:protoc_lib' failed: Process exited with status 1 [sandboxed].
In file included from external/com_google_protobuf/src/google/protobuf/compiler/java/java_context.h:41:0,
from external/com_google_protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc:38:
external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:59:3: error: 'string' does not name a type
string annotation_list_file;
^
external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:62:3: error: 'string' does not name a type
string output_list_file;
^
Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
INFO: Elapsed time: 41.487s, Critical Path: 6.20s
//interpreter:eval_test NO STATUS
Executed 0 out of 1 test: 1 was skipped.
```
|
|\ \ \ \
| | | | |
| | | | | |
bazel: add bazel symlinks to .gitignore
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
bazel: Make compiled jars java 6 binary compatible.
|