Zachary Anker
70544627cb
When initializing a message, skip a field if value is nil ( #3693 )
7 years ago
Erik Benoist
74f8e24232
Adds a base class for all explicitly raised TypeErrors ( #4255 )
...
* This allows for ruby code to catch and handle Protobuf
TypeErrors separately from the standard Ruby TypeError
* Maintains backwards compatibility by having the new
Google::Protobuf::TypeError inherit from the base
TypeError. Any code that was catching TypeError should
continue to work.
7 years ago
Adam Cozzette
ed00fbbad1
Merge pull request #4828 from mmatuszak-google/patch-1
...
Removed forward declaration of MemBlock class
7 years ago
Michal Matuszak
6489453cf7
Removed forward declaration of MemBlock class
...
Removed forward declaration of MemBlock class.
Declaration is in conflict with declaration `::strings::MemBlock`
7 years ago
Adam Cozzette
d6f346b4d5
Merge pull request #4827 from acozzette/merge-3-6-x
...
Merge 3.6.x branch into master
7 years ago
Sydney Acksman
3d603f481e
Remove protoc conditional properties ( #4817 )
...
* Remove protoc conditional properties
* Fix duplicate brace
7 years ago
Yuchen Xie
595231dd5c
Update minimal Python version to 2.7 ( #4207 )
7 years ago
Pat Moroney
d65d5821bc
rename duplicate testMessageSetNullFail function ( #3669 )
...
the testMessageSetNullFail function was declared twice.
So I renamed one to testMessageSetNullFailMap
7 years ago
Feng Xiao
9fb55c8d29
Merge pull request #4824 from sschuberth/remove-exec-bit
...
Remove the executable bit from several source code files
7 years ago
Feng Xiao
bc21385aa1
Merge pull request #4826 from wittmeie/wittmeie/fix-for-protobuf-generate-output-definitions
...
Fixed protobuf_generate output definition
7 years ago
Vladimir Kovpak
7402555f34
Improved install command. ( #4106 )
...
Added `-y` flag to `sudo apt-get` command.
7 years ago
Feng Xiao
0b0890b36d
Merge pull request #4608 from khuzemap/master
...
Add "override" keyword for overridden virtual functions
7 years ago
Adam Cozzette
d9ccd0c0e6
Merge pull request #4172 from OskarKinomoto/master
...
Add guards against bswap_XX redefnitions
7 years ago
Adam Cozzette
82d3d7d250
Merge branch '3.6.x' into merge-3-6-x
7 years ago
Paul Yang
f7ada1280f
Build ruby gem on kokoro ( #4819 )
...
* Install rake compiler
* Add kokoro config to build ruby gem on linux
* Rename from linix to linux
* Fix prepare_build.sh name
* Clean up
* Install bundler
* Install bundler
* Use c99 in order to build gem on mingw-32 on ruby 2.0.0
See https://github.com/rake-compiler/rake-compiler-dock/issues/4
* Move c99 config to extcofig.rb
7 years ago
cclauss
35567c1668
global __version__ In setup.py ( #4753 )
...
This change helps both humans and linters to understand the unusual method of instantiating this global variable.
7 years ago
Steffen Wittmeier
3e84147d53
Fixed protobuf_generate output definition for files relative to the protobuf_generate command
7 years ago
Sebastian Schuberth
ee03556df9
Remove the executable bit from several source code files
...
This potentially avoids compiler warnings.
7 years ago
Feng Xiao
fc243c15fb
Merge pull request #2470 from xuwei-k/patch-1
...
update ScalaPB url
7 years ago
Feng Xiao
91707246eb
Merge pull request #4168 from jin/master
...
Use versions module from Skylib for version checking
7 years ago
Paul Yang
56d27530ab
Rename build_artifacts.cfg to release.cfg ( #4818 )
7 years ago
Paul Yang
b907a03185
Add files to build ruby artifact for mac on kokoro ( #4814 )
...
* Add files to build ruby artifact for mac on kokoro
* Move ruby specific stuff to ruby dir
7 years ago
Adam Cozzette
f42d5923f0
Merge pull request #4815 from vervaekejonathan/master
...
Fix parameters declaration
7 years ago
vervaekejonathan
496822d307
Fix parameters declaration
7 years ago
Feng Xiao
6a4fec616e
Merge pull request #4813 from htuch/fix-any-in-map
...
protostream_objectwriter: fix bug when Any is directly embedded in a …
7 years ago
Feng Xiao
f35669b8d3
Merge pull request #4812 from htuch/fix-any-case
...
protostream_objectsource: preserve print options across Any.
7 years ago
Sydney Acksman
1f77342b78
Add msbuild targets to C# tools for protoc compilers ( #4648 )
...
* Added props to C# tools
* Add targets file to makefile.am
7 years ago
Feng Xiao
bdf0d1d6f8
Merge pull request #4811 from htuch/invalid-name-json
...
json: include field name in InvalidName status messages.
7 years ago
Harvey Tuch
395ae4f7ad
Added TODO for grouping options.
...
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
2d31d0c706
protostream_objectwriter: fix bug when Any is directly embedded in a map.
...
This came up when trying to round-trip the JSON<->proto3 conversion for
Envoy's envoy.admin.v2alpha.ConfigDump
(b903c1dc98/api/envoy/admin/v2alpha/config_dump.proto (L29)
).
Validated fix on the Envoy code base and via the provided unit test.
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
0584084b7e
protostream_objectsource: preserve print options across Any.
...
Fixes #4771 . Based on the solution included in the issues from
@wangjinhua .
Validated this works with Envoy's /config_dump JSON rendering.
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
6eb78b1e84
Additional whitespace.
...
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
44a2a2fcab
json: include field name in InvalidName status messages.
...
This is invaluable for chasing down the culprit in failed JSON -> proto
conversions. We often see in Envoy that a failed JSON (or indirectly via
YAML) configuration won't load but it's unclear why.
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
cclauss
e9063ccf19
print() is a function in Python 3 ( #4754 )
7 years ago
Adam Cozzette
85ba13c9bf
Merge pull request #1261 from gjasny/disable-tls-for-osx-10.6
...
Disable thread local storage for OSX < 10.7
7 years ago
Adam Cozzette
e3ea413ab0
Merge pull request #4780 from mwei0210/master
...
check provided size to check whether to export
7 years ago
Feng Xiao
761a6275d4
Merge pull request #4797 from sankate/master
...
Fix typo in the doc
7 years ago
Sankate Sharma
ef31e70ee9
Fix typo in the doc
7 years ago
igorpeshansky
944693c44c
Add Google::Protobuf::Any.pack convenience class method. ( #4719 )
7 years ago
Feng Xiao
0c3db0269b
Merge pull request #4792 from google/issuetemplates
...
Update issue templates
7 years ago
Feng Xiao
778478b2a5
Add github issue templates
7 years ago
Khuzema Pithewan
6f88e12f9d
Add "override" for overridden virtual functions
...
Add "override" for overridden virtual functions.
Please refer following issue for discussion on this.
https://github.com/google/protobuf/issues/67
7 years ago
Feng Xiao
630757c3d9
Merge pull request #4306 from oniksan/upadate-thirdparty
...
Update third_party.md
7 years ago
ming
6074aaa988
not empty
7 years ago
Feng Xiao
77d4103685
Merge pull request #4626 from robhancocksed/master
...
Declare some generated C++ methods as static #4602
7 years ago
ming
9bfed46c41
check provided size
7 years ago
Feng Xiao
8af87de949
Merge pull request #2121 from mazurkin/issue-2108
...
issue-2108 [protoc/Java] Excessive copying on buildPartial()
7 years ago
Adam Cozzette
ad85c3b4a2
Added Kokoro protoc release build for OS X ( #4770 )
...
This configuration builds both 32-bit and 64-bit binaries for Mac OS X.
One thing I had to change was to increase our minimum supported version
for 10.7 to 10.9, because 10.9 (Mavericks) appears to be the earliest
version supporting C++11.
7 years ago
medinandres
e264d6bc58
proto_writer.h: RenderBytes is an override. Marking it. ( #4707 )
...
* proto_writer.h: RenderBytes is an override. Marking it.
7 years ago
Feng Xiao
36c5780a3d
Merge pull request #4739 from asimshankar/tf-bytesize
...
Graceful failure in SerializeToArray().
7 years ago