Adam Cozzette
65e76f5289
Updated Docker setup to use GCC 4.8
...
Now that we depend on C++11, we need at least GCC 4.8 instead of 4.7.
This change updates the Docker setup to continue using CentOS 6.6 but
with GCC 4.8.
I also added libm to the whitelist for dynamically linked libraries for
the ARM64 protoc binary.
6 years ago
BSBandme
a194ffae97
Fix cpp benchmark dependency on mac
6 years ago
M. Tong
8a1d02626f
Fix SFINAE in 'RepeatedPtrFieldBase::Add'
...
Without this the error of un-moveable GenericTypeHandler will pop until
'TypeHandler::New(arena_, std::move(value))' is called.
6 years ago
Thomas Colthurst
79700b56b9
Update message_module.cc ( #4835 )
...
* Update message_module.cc
Add missing piece from pull request #4698 : actually initialize the new API object.
* Update message_module.cc
6 years ago
Feng Xiao
c522889038
Merge pull request #4863 from xfxyjwf/examples
...
Fix bazel build of examples.
6 years ago
Feng Xiao
1a7ce04be7
Fix bazel build of examples.
6 years ago
Feng Xiao
0c686d1576
Merge pull request #4856 from xfxyjwf/options
...
Add global extension registry to the repo.
6 years ago
Feng Xiao
ef7052b473
Add global extension registry to the repo.
6 years ago
Paul Yang
78ba021b84
Add continuous test for ruby 2.3, 2.4 and 2.5 ( #4829 )
...
* Add continuous test for ruby 2.3, 2.4 and 2.5
* Change ruby 2.5 to 2.5.0
* No need to provide argument to rb_funcall when argc is 0
* Fix tests for ruby 2.5
* Use rescue instead of assert_raise to accept subclass of error
6 years ago
Adam Cozzette
2c30fa71e7
Merge pull request #3981 from fahhem/patch-3
...
Handle srcs in generated files by cd'ing in and out
6 years ago
Joshua Haberman
59e04d80cc
Merge pull request #4321 from devwout/ruby_json_omit_repeated
...
Ruby JSON encoding omits zero-length repeated fields by default.
6 years ago
Joshua Haberman
0ea3d74c3d
Merge pull request #4299 from hekike/feat/add-commonjs-strict-import-style
...
Feat: add import-style=commonjs_strict option to the compiler
6 years ago
Joshua Haberman
e00266a74e
Merge pull request #3847 from FX-HAO/master
...
Google::Protobuf::Struct can access a missing key (#3846 )
6 years ago
Adam Cozzette
e0579ac645
Merge pull request #4854 from nehaljwani/win-exports
...
Missing symbol exports for Windows DLL
6 years ago
Feng Xiao
00f118f0c3
Merge pull request #4847 from depristo/master
...
Remove write-strings warning from COPTs
6 years ago
Adam Cozzette
98fcd8762d
Merge pull request #4853 from jnordberg/patch-1
...
Add wsrpc
6 years ago
Nehal J Wani
f2bcc7aca8
Set LIBPROTOBUF_EXPORT on GenericTypeHandler<class google::protobuf::Message>
...
This should fix https://github.com/google/protobuf/issues/4717
7 years ago
Adam Cozzette
1141bd9542
Set LIBPROTOBUF_EXPORT on GzipOutputStream::Options
...
This fixes issue #2610 .
This was originally fixed in a101fa5289
, but got
reverted by d36c0c538a
7 years ago
mdepristo
42141fa2f7
Remove unclear comment.
7 years ago
Johan Nordberg
584ed22b25
Add wsrpc
7 years ago
Feng Xiao
da2a6f68db
Merge pull request #4846 from ckhardin/mips-big-endian
...
Fix to allow a compilation under mips big endian with gcc
7 years ago
Thomas Colthurst
1ae2cc02b6
Fix capsule name. ( #4836 )
...
Internal convert file was broken. Change the capsule to the correct name
7 years ago
depristo
2506cf5cf4
Remove write-strings warning from COPTs.
...
This change reduces the excessive warnings when compiling C++ protobufs like "external/protobuf_archive/python/google/protobuf/pyext/message.cc:2629:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]"
7 years ago
Charles Hardin
f1b841b628
Fix to allow a compilation under mips big endian with gcc
...
The __MIPSEL__ is mips little endian, specific and we needed
to compile for a big endian mips target that also happened
to be a mips64, so replaced the __MIPSEL__ with a __mip__
which should preserve the build on little endian and allow a
build for a big endian setup.
$ echo | mips64-linux-gcc -E -dM -
... snip snip ...
#define __mips__ 1
#define __MIPSEB__ 1
Signed-off-by: Charles Hardin <ckhardin@gmail.com>
7 years ago
Paul Yang
f25e7edfa4
Add -Og to no-warning-test ( #4830 )
...
* Add -Og to no-warning-test
* Initialize value
* Implement PrintFieldName in CompactRepeatedFieldPrinter to prevent Woverloaded-virtual
* Update generated code
7 years ago
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