Joe Bolinger
76685c6fae
Add frozen checks in Ruby ( #5726 )
...
* add frozen checks
* Use rb_check_frozen
* Correct assertion on frozen error message
The second argument for the method assert_raise is the message
to show when the assertion fails. It does not check the error
object's message.
Add an additional assertion that does check the error's message.
* do frozen check first
6 years ago
Joe Bolinger
a6e3ac0db1
Generate extra enum method helpers for Ruby ( #5670 )
...
* example with extra enum method
* update expected test output
* slight simplification
* add test for generated enum helpers
* move const helpers to c extension
* more explicit test
* more explicit test
* indent
* add foo test
* add check for _const suffix
6 years ago
Joshua Haberman
3e1bd5b81e
Merge pull request #5014 from Kwizatz/iterator-deprecation-fix
...
Updating Iterators to be compatible with C++17 in MSVC
6 years ago
Paul Yang
582743bf40
Update version number to 3.7.0 ( #5793 )
...
* Update version number to 3.7.0
* Add php/releash.sh to Makefile.am
* Make cpp_distcheck exit on fail
6 years ago
Paul Yang
f2ef7970fe
Merge pull request #5791 from protocolbuffers/revert-5735-ruby-pkg-namespace
...
Revert "Fix Ruby module name generation when the ruby_package option is used"
6 years ago
Paul Yang
bb211e851e
Revert "Fix Ruby module name generation when the ruby_package option is used ( #5735 )"
...
This reverts commit 9638dcc340
.
6 years ago
Joe Bolinger
9638dcc340
Fix Ruby module name generation when the ruby_package option is used ( #5735 )
...
* fix module name generation and add tests
* fix existing tests
* support both package name styles
6 years ago
Joe Bolinger
7f14ea9f48
Raise error for JSON overflow encoding in Ruby ( #5752 )
...
* add check for overflow
* de-nestify
* break long lines
6 years ago
Joe Bolinger
e780681e35
Allow repeated fields in Ruby to accept multiple arguments on push ( #5736 )
...
* let repeated fields push arrays
* add varargs push
* better test
6 years ago
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
6eeab29468
Merge pull request #5787 from BSBandme/3.7.x-fix
...
Cherry-pick fixing for mac tests after kokoro updates
6 years ago
Yilun Chong
59f7a859b6
vaccum commit
6 years ago
Yilun Chong
603020940a
fix mac python cpp building ( #5786 )
6 years ago
Yilun Chong
400845ae17
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
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
Paul Yang
0aad5339ca
Add a script to mirror php changes to protobuf-php ( #5778 )
...
* Add a script to mirror php changes to protobuf-php
* Create tag
6 years ago
Paul Yang
5d8cd3b895
Date and time need to be before version ( #5777 )
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
Paul Yang
580e1890a6
Merge pull request #5766 from TeBoring/3.7.x-fix
...
Update version number to 3.7.0rc3
6 years ago
Bo Yang
b52754b719
Update version to 3.7.0rc3
6 years ago
Hao Nguyen
05f57125c3
Support rc version in update_version.py ( #5750 )
...
* Support rc version in update_version.py
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
Paul Yang
c7b3392201
Update version to 3.7.0 ( #5749 )
...
* Update version to 3.7.0
* Update version number for java bom
6 years ago
Paul Yang
688f7dee5a
Merge pull request #5738 from TeBoring/3.7.x-php-fix
...
Cherry-pick #5723 into 3.7.x
6 years ago
michaelbausor
3c387ea7e5
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
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
Paul Yang
43f8ae8708
Fix oneof message in array constructor ( #5727 )
6 years ago
Adam Cozzette
9e381c05f5
Include compiler_config_setting.bzl in release tarballs ( #5715 )
...
This should fix #5696 .
6 years ago
Joe Bolinger
39c0947893
implement to_s for message types ( #5710 )
6 years ago