| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* PHP array constructors for protobuf messages
* removes Descriptor from error message
* allows mergeFrom to accept an array
* only use initWithDescriptor if instanceof MapEntry
* adds doc comments
* removes ability for constructors to take arrays for submessages
* Revert "allows mergeFrom to accept an array"
This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9.
* makes mergeFromArray protected and fixes mergeFrom whitespace
* Separates merging from JSON and merging from PHP array
* removes well-known types and json keys from array construction
* Addresses PR review comments
* cleans up tests
* fixes exception messages
|
|\
| |
| | |
Fix syntax error in BUILD file
|
|/ |
|
|\
| |
| | |
Add missing ruby/tests/test_ruby_package.proto
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* CMake: Add comment for CMP0048
* CMake: osx use @rpath/ as target's install name (CMP0042)
On MacoS library should use @rpath/ as prefix path instead of absolute build path
e.g. otool -L libprotobuf.dylib
libprotobuf.dylib:
@rpath/libprotobuf.dylib (...)
...
* CMake: add rpath to target for LINUX and APPLE
|
|\ \
| | |
| | | |
Fix python benchmark build
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Windows: expand wildcard arguments
|
| | |
| | |
| | |
| | | |
Fixes https://github.com/google/protobuf/issues/3957
|
|/ / |
|
|\|
| |
| | |
Fix java benchmark bug, fix python lib cache
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Updated PHP generated code for timestamp.proto
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
* Adopt ruby_package in ruby generated code.
* Add test for ruby_package
|
| |
| |
| |
| |
| |
| |
| | |
references (#4633)
* rewrite int128 long divison to avoid stackoverflow hit
Protobuf was showing Stackoverflow hits in the code base, primarily code written to calculate long division. This code was copied from a stackoverflow post, which means it would be licensed under CC BY-SA 3.0. Due to this license, IBM Legal did not want to include this OSS in our products and advised us to re-write this particular piece of code to avoid the license restriction. We have re-written the code for our own distribution, and are willing to merge it into the main code base for others who want to avoid the stackoverflow license issues to benefit as well.
|
|\ \
| | |
| | | |
cmake: protobuf_generate fix GENERATE_EXTENSIONS, fix DEPENDS, add PROTOC_OUT_DIR
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix 4615
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The problem is that sched_yield is available on the target, but configure.ac is asking to build
a host binary using the AC_SEARCH_LIBS macro. It can't configure for Android, since sched_yield isn't
available on the host.
|
|\ \ \ \
| | | | |
| | | | | |
Fix undefined behavior in hash function.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Signed integer overflow creates undefined behavior that may lead to unpredictable fails on different platforms.
One known example of the hardware where this code did fail is Apple A6 (32-bit Apple Swift CPU)
16777619, 16777499 - two prime numbers that typically used to get better dispersion.
|
|\ \ \ \
| | | | |
| | | | | |
Fix issue with version.rc
|
|/ / / / |
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix appveyor documentation
|
|/ / / |
|
|\ \ \
| | |/
| |/| |
Fix python install, cat java error log for kokoro build
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Adopt php_metadata_namespace in php code generator
The php_metadata_namespace is corresponded to the relative directory of
the metadata file. e.g., previously, the metadata file of foo.proto was
GPBMetadata/Foo.php. If the php_metadata_namespace is "Metadata\\Bar",
the metadata file will be Metadata/Bar/Foo.php.
* Handle empty php_metadata_namespace
|
|\ \ \
| | | |
| | | | |
Include version information in Windows binaries #3380
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Appveyor MinGW build
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[Java] Remove unsafe no-copy String allocation since it's not useful in rece…
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
versions.
|
| |_|_|/
|/| | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Add .proto files to extract_includes.bat
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- merge loop for .h and .proto includes
- fix shellcheck errors
|
| | | |
| | | |
| | | |
| | | |
| | | | |
For google/or-tools, on windows, we need to use `import "google/protobuf/wrappers.proto";` since we want "optional" int64 and in version3 POD get default value...
-> so we use "google.protobuf.Int64Value" since 0 is a valid value and different from "not set" for our use case.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Throw error if user want to access message properties
* Fix typo
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Avoid direct check of class name
So that subclasses are also ok
* Use type hint in function signature.
|