Dalvin
c691c4cbfa
Enhance java-lite documentation ( #5743 )
2019-02-20 19:24:37 -08:00
Hao Nguyen
e22907f364
Support rc version in update_version.py ( #5750 )
...
* Support rc version in update_version.py
2019-02-20 11:25:39 -08:00
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
2019-02-15 16:16:42 -08:00
Paul Yang
95d1552b4a
Merge pull request #5733 from protocolbuffers/revert-5661-nesting
...
Revert "Add stack overflow protection for text format"
2019-02-15 11:11:30 -08:00
Paul Yang
f66c981051
Revert "Add stack overflow protection for text format"
...
This reverts commit 6dcd81093c
.
2019-02-15 10:03:39 -08:00
Sydney Acksman
e7283254d6
Change MessageType != null in IsInitialized to FieldType == Message || Group ( #5688 )
2019-02-14 11:34:15 -08:00
Joe Bolinger
39c0947893
implement to_s for message types ( #5710 )
2019-02-12 09:50:57 -08:00
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
2019-02-11 18:35:29 -08:00
Cy
9c1c94f770
Update third party implementation links ( #5702 )
2019-02-11 18:08:08 -08:00
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
2019-02-11 15:12:40 -08:00
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.
2019-02-06 08:08:30 -08:00
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
2019-02-06 07:57:13 -08:00
Thomas Van Lenten
413c614a94
Document why no enum_extensibility is needed for Swift. ( #5680 )
...
Document why no enum_extensibility is needed for Swift.
2019-02-05 13:10:44 -05:00
Vitaly Buka
6dcd81093c
Add stack overflow protection for text format
...
It already exists for wire and json formats
2019-02-04 09:57:33 -08:00
Vitaly Buka
8bbabb87a2
Parse unknown enum values if target is proto3
2019-01-31 16:58:58 -08:00
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>
2019-01-31 14:39:06 -08:00
Michael Matthew Mitchell
dface63d71
Swapped libprotoc and libprotobuf
...
libprotobuf being targed before libprotoc was causing Visual Studio to fail in linking protoc.
2019-01-31 14:35:57 -08:00
Peter Sobot
50342e4812
Allowed json_format.ParseDict to parse extensions with scalar types. ( #5609 )
2019-01-31 13:00:23 -08:00
Bhargava Shastry
8532804bad
Fixes warnings in https://github.com/google/oss-fuzz/issues/864#issuecomment-458596374
2019-01-31 11:06:47 -08:00
Ivan Pizhenko
41f94bf372
Fix GetErrno() to be const ( #5595 )
...
* Fix GetErrno() to be const noexcept
* Removed noexcept
2019-01-28 17:20:28 -08:00
Paul Yang
a21caa237a
Default values should also be serialized for json map key/value ( #5643 )
2019-01-28 11:25:52 -08:00
Hao Nguyen
45a723b40d
Fix MacOS protoc release ( #5638 )
...
* Use set -ex
* Use -std=c++14 so -latomic can be found
2019-01-25 21:05:22 -08:00
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.
2019-01-25 16:19:07 -08:00
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.
2019-01-25 10:28:52 -08:00
Adam Cozzette
0f4ec5ecdc
Merge pull request #5628 from acozzette/update-gtest
...
Updated googletest submodule to the most recent upstream commit
2019-01-25 10:15:36 -08:00
Adam Cozzette
e2bfec9af2
Updated Linux cpp_distcheck test to exit immediately on error
2019-01-25 09:12:53 -08:00
Adam Cozzette
46f87f9740
Updated googletest submodule to the most recent upstream commit
2019-01-25 09:12:53 -08:00
Hao Nguyen
9273f3c1b5
Merge pull request #5630 from haon4/gauva
...
Update guava version to 26
2019-01-25 07:07:07 -08:00
Hao Nguyen
bc5154e27f
Update guava version
2019-01-24 13:46:19 -08:00
Hao Nguyen
329adbed0d
Update gauva version to 26
2019-01-24 13:40:43 -08:00
Hao Nguyen
18f1f8142e
Merge pull request #5627 from haon4/master
...
Update more files in update_version.py
2019-01-24 12:35:46 -08:00
Hao Nguyen
c70643ed4b
Update more files in update_version.py
2019-01-24 11:42:45 -08:00
Paul Yang
d750fbf648
Fix more issues for reference values ( #5613 )
...
* Fix more issues for reference values
* Revert change in gdb test
* Add more tests
2019-01-23 12:44:20 -08:00
Hao Nguyen
30851ca266
Fix protoc release ( #5615 )
...
* Fix protoc release
* Update Dockerfile to include libatomic
2019-01-23 10:55:36 -08:00
Hao Nguyen
4f8a635679
Create test for protoc with tcmalloc ( #5612 )
...
* Add TC malloc kokoro test
* Update tcmalloc test
2019-01-23 10:02:51 -08:00
Paul Yang
7f42d6d0bc
Fix empty FieldMask json encoding/decoding ( #5605 )
...
* Fix empty FieldMask json encoding/decoding
* Add failed test to python's conformance failure list
2019-01-22 15:35:12 -08:00
Paul Yang
1069565a68
Fix c extension doesn' allow message reference in array ( #5599 )
...
* Fix c extension doesn' allow message reference in array
* Fix array constructor handling reference of array.
* Change test name
2019-01-22 14:02:44 -08:00
Adam Cozzette
a4c09f3eba
Merge pull request #5590 from i9/patch-1
...
Add proto3 to solidity link in third_party.md
2019-01-18 15:57:42 -08:00
Joshua Haberman
dd7127d23d
Fixed compile warnings for PHP extension. ( #5589 )
...
* Fixed compile warnings for PHP extension.
* Fixed some compile errors on PHP <7 and with TSR enabled.
* One more fix for TSRM builds.
2019-01-18 15:05:57 -08:00
Joshua Haberman
6bbd2fc5aa
Merge pull request #5603 from protocolbuffers/revert-5597-patch-1
...
Revert "doc: apply consistent indentation to Any examples"
2019-01-18 13:51:57 -08:00
Paul Yang
4e929031b0
Revert "doc: apply consistent indentation to Any examples ( #5597 )"
...
This reverts commit b3367aee14
.
2019-01-18 12:54:23 -08:00
bitspill
b3367aee14
doc: apply consistent indentation to Any examples ( #5597 )
2019-01-17 17:13:31 -08:00
Paul Yang
37a0ab7d83
Fix Any json encoding/decoding for ruby. ( #5592 )
...
* Fix Any json encoding/decoding for ruby.
* Revert unnecessary changes
2019-01-17 10:24:41 -08:00
Paul Yang
c4f2a92c55
Fix field mask for php in json ( #5591 )
...
* Fix field mask for php in json
* Update byte size
2019-01-17 10:18:43 -08:00
i9
7181b1c090
Add proto3 to solidity link
...
pb3-gen-sol is a proto3 to solidity library generator that supports proto3 native types and uses field option for solidity native types. Both the message and generated code are more efficient than other solutions. It also includes a library to decode protobuf wireformat.
2019-01-16 19:47:12 -08:00
toc007
dda7ab0363
Ruby nested msg caps ( #5564 )
...
* Ruby nested msg caps
* nested types tests added
* test cases added for RubifyConstant
* extracted NestedMessage to TestNestedMessage
* removed nested tests with leading underscore
* extracted testLowercase to toplevel testLowercaseNested
2019-01-15 20:01:41 -08:00
Thomas Van Lenten
0c95791509
[ObjC] add support for the TextFormat constants.
...
ObjC doesn't support them, but this ensure when tests are added
they will be handled correctly.
The conformance.proto was updated in PR #5566
2019-01-14 11:03:16 -05:00
Sam Saccone
94a1819c7a
Remove unused f expression from jscode gen. ( #5573 )
...
Varadic assignment in javascript where the right hand expression is an
object yields a single set assignment with the right most lefthand variable,
while leaving the other left side expressions undefined.
For example:
var a,b = {}
will only initialize a to undefined. But will set b to the {} value.
--
For this code since f is never used, it is a safe operation to remove
it.
2019-01-13 18:25:16 -08:00
Yilun Chong
a2a0afb546
Down-integrate internal changes to github. ( #5575 )
...
* Down-integrate internal changes to github.
* Fix BUILD file and regenerate csharp descritpor
2019-01-13 17:40:58 -08:00
Nicolás Elliott
54683e607b
Fix Issue #5345 ( #5381 )
...
Added a few \ on the comments to match the exceptions scope when is referenced while in a namespace. So the IDEs can be happy.
2019-01-12 10:25:07 -08:00