Peter Ebden
2adde396ed
Fix for construction of messages in the C++ Python implementation. ( #2299 )
...
* Fix construction of messages using the C++ Python implementation when a map field is passed from one message to another.
* Add a test on message map field construction
* python 3 support
* review comments
* add test
* Collapse code into one
6 years ago
Oliver Bristow
0de6577b7d
Add EnumTypeWrapper.__getattr__ to access values ( #5234 )
6 years ago
Hao Nguyen
05e81cb8f4
Merge pull request #5770 from mattpaletta/optional-grpc-thirdparty-docs
...
Added Optional GRPC library to third party docs
6 years ago
Paul Yang
bf32b36ab8
Merge pull request #5765 from BSBandme/integration
...
down integration from internal
6 years ago
Yilun Chong
59f7a859b6
vaccum commit
6 years ago
Yilun Chong
7bcb522287
fix mac python cpp building ( #5786 )
6 years ago
Sydney Acksman
a4c3472ce8
Add some exceptions for MessageParser.ParseFrom ( #5588 )
...
* Fix #5513
* Added tests for invalid lengths when reading strings and bytes.
Added test for reading tags with invalid wire types in unknown field set.
Changed invalid length check in ReadString to match the one in ReadBytes
6 years ago
grindhold
3a538fc91e
pyext: missing cast to constant char* ( #5713 )
...
We need to cast to a constant charpointer here.
6 years ago
Yilun Chong
9fd18ae9a5
fix BUILD for adding any_lite.cc
6 years ago
Yilun Chong
6d29c22a43
fix conformance test for text format
6 years ago
Yilun Chong
af8b91b828
fix csharp by regenerate descriptor
6 years ago
Yilun Chong
89b914f81d
fix macos build for High Sierra ( #5780 )
...
* fix macos build by changing xcode version
* add comments
* fix benchmark build for mac
* fix for gem option and install npm
* add test for node and npm
* fix node
* fix for node
* another attempts to fix node
* another attempts
* clean up
6 years ago
Kent Ross
b6375e03aa
create importable function for defining zlib
6 years ago
Yilun Chong
429d2ae19f
Merge branch 'master' into integration
6 years ago
Yilun Chong
e4e5bc49d7
Fix failure test by regenerating descriptor and revert golden file ( #5762 )
6 years ago
Matthew Paletta
5f470c3992
Added Optional GRPC library to third party docs
6 years ago
Joe Bolinger
bc929a3e82
add eql? method ( #5730 )
6 years ago
Daniel Ruoso
4b389fad57
`Libs` should not include `@PTHREAD_CFLAGS@`
...
That should be only on the CFlags. When using the compiler
as the linker driver, one may want to also call pkg-config to get the
cflags, but when invoking the linker, there should be no compiler flags.
6 years ago
Yilun Chong
d8c2501b43
down integration from internal
6 years ago
dickmao
a7180caf19
protobuf.pc.in does not reflect CXXFLAGS
...
Currently, downstream libraries such as RProtoBuf fail because
`-std=c++11` is required via `configure.ac`, but RProtobuf has no way
of knowing this by consulting `pkg-config --cflags protobuf`.
6 years ago
Xiang Dai
e479410564
delete all duplicate empty blanks ( #5758 )
...
Signed-off-by: Xiang Dai <764524258@qq.com>
6 years ago
Dalvin
c691c4cbfa
Enhance java-lite documentation ( #5743 )
6 years ago
Hao Nguyen
e22907f364
Support rc version in update_version.py ( #5750 )
...
* Support rc version in update_version.py
6 years ago
michaelbausor
3bf05b88ea
PHP: Exclude repeated and map fields from normalization in constructor ( #5723 )
...
* Exclude repeated and map fields from normalization
* Remove erroneous comments
* Remove unnecessary check for map type
* Add support for repeated/map fields, add tests
* Fix wrapper message in repeated/map fields in array constructor
* Address PR comments
* Removed unused code
* Update docs
6 years ago
Paul Yang
95d1552b4a
Merge pull request #5733 from protocolbuffers/revert-5661-nesting
...
Revert "Add stack overflow protection for text format"
6 years ago
Paul Yang
f66c981051
Revert "Add stack overflow protection for text format"
...
This reverts commit 6dcd81093c
.
6 years ago
Sydney Acksman
e7283254d6
Change MessageType != null in IsInitialized to FieldType == Message || Group ( #5688 )
6 years ago
Joe Bolinger
39c0947893
implement to_s for message types ( #5710 )
6 years ago
Yuri Vanin
7fdc45a854
Use cached value for type safety check during unpacking of Any message ( #5698 )
...
This performance optimization allows to skip reflection (in the is() method) when the message has been already unpacked once
6 years ago
Cy
9c1c94f770
Update third party implementation links ( #5702 )
6 years ago
Sydney Acksman
2a05691a53
Refactor how group endings are detected in generated C# code ( #5686 )
...
* Modify how end tags are encounted in merge code (compiler)
* Modify how end tags are encounted in merge code (generated)
* Modify how end tags are encounted in merge code (library)
* Regenerate generated code through generate_descriptor_proto.sh
6 years ago
Greg Engle
de3be6c225
removed dead link to ProtoSharp ( #5610 )
...
I tried finding an active repo on github with no success. The only ProtoSharp I found wasn't related to PB at all.
6 years ago
Joe Bolinger
64eb9b6e85
Add more descriptive error messages to init methods in Ruby ( #5659 )
...
* add more descriptive error messages to init methods
* add type errors test to Makefile.am
6 years ago
Thomas Van Lenten
413c614a94
Document why no enum_extensibility is needed for Swift. ( #5680 )
...
Document why no enum_extensibility is needed for Swift.
6 years ago
Vitaly Buka
6dcd81093c
Add stack overflow protection for text format
...
It already exists for wire and json formats
6 years ago
Vitaly Buka
8bbabb87a2
Parse unknown enum values if target is proto3
6 years ago
Xiang Dai
8df872a500
Remove whitespace following trailing backslash
...
Fix below issue:
src/Makefile.am:210: warning: whitespace following trailing backslash
Signed-off-by: Xiang Dai <764524258@qq.com>
6 years ago
Michael Matthew Mitchell
dface63d71
Swapped libprotoc and libprotobuf
...
libprotobuf being targed before libprotoc was causing Visual Studio to fail in linking protoc.
6 years ago
Peter Sobot
50342e4812
Allowed json_format.ParseDict to parse extensions with scalar types. ( #5609 )
6 years ago
Bhargava Shastry
8532804bad
Fixes warnings in https://github.com/google/oss-fuzz/issues/864#issuecomment-458596374
6 years ago
Ivan Pizhenko
41f94bf372
Fix GetErrno() to be const ( #5595 )
...
* Fix GetErrno() to be const noexcept
* Removed noexcept
6 years ago
Paul Yang
a21caa237a
Default values should also be serialized for json map key/value ( #5643 )
6 years ago
Hao Nguyen
45a723b40d
Fix MacOS protoc release ( #5638 )
...
* Use set -ex
* Use -std=c++14 so -latomic can be found
6 years ago
Hao Nguyen
fac8e343e8
Fix python release build. ( #5636 )
...
* Fix python release build.
* Separate config.sh by platform
* Use KOKORO_JOR_NAME to determine the BUILD_COMMIT.
* Use -std=c++14 on MacOS so -latomic can be used.
6 years ago
Adam Cozzette
d135f07bba
Do "strict" heapcheck instead of "draconian" ( #5635 )
...
The draconian heapcheck turns up memory leaks outside our control, such
as ones in libc and in the heapchecker itself. I think for an automated
test it makes more sense for us to use the "strict" heapcheck, since
that already passes and should only report leaks that are within our
control.
6 years ago
Adam Cozzette
0f4ec5ecdc
Merge pull request #5628 from acozzette/update-gtest
...
Updated googletest submodule to the most recent upstream commit
6 years ago
Adam Cozzette
e2bfec9af2
Updated Linux cpp_distcheck test to exit immediately on error
6 years ago
Adam Cozzette
46f87f9740
Updated googletest submodule to the most recent upstream commit
6 years ago
Hao Nguyen
9273f3c1b5
Merge pull request #5630 from haon4/gauva
...
Update guava version to 26
6 years ago
Hao Nguyen
bc5154e27f
Update guava version
6 years ago