Jon Skeet
9c05c35341
Address review comments
2018-03-27 10:17:44 +01:00
Jon Skeet
7b19d20882
Add extra C# file to Makefile.am
2018-03-27 08:44:42 +01:00
Jon Skeet
8e23d4e49c
Work around an "old runtime" issue with reflection
...
For oneofs, to get the case, we need to call the property that
returns the enum value. We really want it as an int, and modern
runtimes allow us to create a delegate which returns an int from the
method. (I suspect that the MS runtime has always allowed that.)
Old versions of Mono (e.g. used by Unity3d) don't allow that, so we
have to convert the enum value to an int via boxing. It's ugly, but
it should work.
2018-03-27 08:42:27 +01:00
Jon Skeet
aa59eaa77b
Introduce a compatiblity shim to support .NET 3.5 delegate creation
2018-03-27 08:42:27 +01:00
Jon Skeet
8ba420f040
Change C# reflection to avoid using expression trees
...
This should work on Unity, Mono and .NET 3.5 as far as I'm aware.
It won't work on platforms where reflection itself is prohibited,
but that's a non-starter basically.
2018-03-27 08:42:26 +01:00
Feng Xiao
63bba9bba1
Merge pull request #4432 from xfxyjwf/rmnanokokoro
...
Delete javanano kokoro build configs.
2018-03-26 16:40:21 -07:00
Feng Xiao
5050269207
Merge pull request #4434 from xfxyjwf/buildstatus
...
Remove broken build status icons.
2018-03-26 16:39:49 -07:00
Feng Xiao
9f5bdedbe1
Remove broken build status icons.
2018-03-26 15:14:55 -07:00
Feng Xiao
68de0cf390
Delete javanano kokoro build configs.
...
Their job configs are being deleted in cl/190526138
2018-03-26 14:44:23 -07:00
Carlos O'Ryan
3c5442a95d
Include googletest as a submodule ( #3993 )
...
Add googletest as a submodule in third_party/googletest.
2018-03-26 13:54:32 -07:00
Joshua Humphries
1156ee7ea7
source code info for interpreted options; fix source code info for extension range options ( #4342 )
...
* when interpreting options, rewrite file descriptor's source code info
- so that interpreted option paths have correct location information
- so that corresponding uninterpreted option paths are removed
also includes a fix to source code locations for extension range options
2018-03-26 13:49:31 -07:00
Feng Xiao
d34e3190df
Merge pull request #4431 from xfxyjwf/rmnano
...
Remove javanano.
2018-03-26 13:43:54 -07:00
Alexey Malov
379b7ff42a
Fixes MSVC compiler warning C4800 "Forcing value to bool 'true' or 'false'" ( #4350 )
2018-03-26 13:42:11 -07:00
Feng Xiao
ac673763f7
Merge pull request #4395 from stone4774/fixbug_enum2json2
...
Fix bug: whether always_print_enums_as_ints is true or false, it alwa…
2018-03-26 13:35:44 -07:00
Feng Xiao
d5a0024171
Remove javanano.
2018-03-26 12:59:28 -07:00
Feng Xiao
416d4180f0
Merge pull request #4424 from egorpugin/patch-1
...
Fix missing LIBPROTOC_EXPORT.
2018-03-26 12:12:45 -07:00
Egor Pugin
dc68d98cc2
Fix missing LIBPROTOC_EXPORT.
...
This makes possible to build grpc_php_plugin with protobuf in shared mode.
2018-03-25 19:56:04 +03:00
Adam Cozzette
2c963d3c24
Merge pull request #4413 from pmuetschard/msvc
...
Don't assume Windows builds use MSVC.
2018-03-23 15:24:03 -07:00
Adam Cozzette
eff52b1c07
Merge pull request #4422 from acozzette/ruby-conformance
...
Updated Ruby conformance test failure list
2018-03-23 10:58:09 -07:00
Adam Cozzette
cf7af01166
Merge pull request #4421 from acozzette/fix-bazel-build
...
Added missing .inc files to BUILD
2018-03-23 10:57:25 -07:00
Adam Cozzette
f91cf0559c
Updated Ruby conformance test failure list
...
This commit adds two entries to the conformance failure list for Ruby.
It seems that these particular test cases have been failing since they
were introduced in 5140bae383
, so there
has not been any regression.
2018-03-23 10:23:47 -07:00
Adam Cozzette
5bed368014
Added missing .inc files to BUILD
...
This fixes the Bazel build.
2018-03-23 10:19:04 -07:00
Yilun Chong
a7a746f0b7
Merge pull request #4346 from BSBandme/performance_result
...
Add performance.md and add instruction for linking tcmalloc
2018-03-22 17:09:25 -07:00
Yilun Chong
745ef89ebf
Add performance.md and add instruction for linking tcmalloc
2018-03-22 17:08:06 -07:00
Adam Cozzette
227363bc38
Merge pull request #4412 from acozzette/remove-old-files
...
Removed some unused C++ source files
2018-03-22 16:12:25 -07:00
Pascal Muetschard
a6957f2890
Don't assume Windows builds use MSVC.
...
Switch to using the MSVC options, not based on the cpu, but based
on the compiler name. This allows building on Windows with MSYS
or MinGW's gcc.
2018-03-22 13:14:10 -07:00
Adam Cozzette
0c5fcdee44
Removed some unused C++ source files
2018-03-22 10:15:31 -07:00
stone4774
c99f5278eb
Merge branch 'master' into fixbug_enum2json2
2018-03-22 11:16:34 +08:00
stone4774
d053271dee
Use the first enum value instead of 0 in DefaultValueObjectWriter::FindEnumDefault
2018-03-21 12:25:59 +08:00
Adam Cozzette
ed4321d1cb
Merge pull request #4387 from acozzette/down-integrate
...
Integrated internal changes from Google
2018-03-20 16:14:32 -07:00
Yilun Chong
e436ee0aa1
Merge pull request #4361 from BSBandme/go_benchmark
...
Add go benchmark
2018-03-20 15:38:53 -07:00
Feng Xiao
88a4884b55
Merge pull request #4345 from jskeet/list-json-null
...
Allow null value in JSON representation of ListValue
2018-03-20 15:19:42 -07:00
Adam Cozzette
11d26ce24c
Removed unused variables in repeated_scalar_container.cc
2018-03-20 14:44:30 -07:00
Adam Cozzette
fcde518699
Try using a new version of Visual Studio on AppVeyor
...
We need to use a new enough version to ensure that constexpr is
available.
2018-03-20 14:44:30 -07:00
Adam Cozzette
8b3a72f3e9
Removed unused code pertaining to shared_ptr
2018-03-20 14:44:30 -07:00
Adam Cozzette
ec40953257
Updated conformance failure lists
2018-03-20 14:44:30 -07:00
Adam Cozzette
ec57f511c1
Added map_lite_test.proto to fix LiteTest
2018-03-20 14:44:30 -07:00
Adam Cozzette
c5fcce5f69
Added pyext/thread_unsafe_shared_ptr.h
2018-03-20 13:02:18 -07:00
Adam Cozzette
3fa5dadb61
Removed unrecognized option from no_package.proto
2018-03-20 13:02:18 -07:00
Adam Cozzette
00b1c14832
Added new test source files to Makefile.am
2018-03-20 13:02:18 -07:00
Adam Cozzette
616fe05fc3
Removed use of some type traits
...
Pre-5.1.0 versions of GCC do not support these particular type traits
(see https://github.com/google/protobuf/issues/417 ).
2018-03-20 13:02:04 -07:00
Yilun Chong
d6323c8c0f
Change to deal all messages in one loop
2018-03-19 16:43:27 -07:00
Jisi Liu
d6a17aadeb
Merge pull request #4397 from pherl/catlog
...
Cat the test-suite.log on errors for presubmits
2018-03-19 16:26:34 -07:00
Jisi Liu
4880027649
Cat the test-suite.log on errors for presubits
2018-03-19 16:13:36 -07:00
stone4774
773d8c3329
Fix bug: whether always_print_enums_as_ints is true or false, it always print the default value of enums as strings
2018-03-19 15:57:07 +08:00
Adam Cozzette
ab95b1bc1e
Merge pull request #4371 from Rasrack/gnuc_minor
...
Fix spelling error of __GNUC_MINOR__
2018-03-15 22:58:20 -07:00
Thomas Van Lenten
aae10ed36d
Merge pull request #4370 from felixjendrusch/objc-output-stream-write-check
...
Objective-C: Check return value on write of raw pointer
2018-03-14 17:23:10 -04:00
Feng Xiao
813848d19d
Merge pull request #4222 from JohnHBrock/increasing_max_csharp_message_size
...
Remove 64MB memory limit when deserializing messages in C#
2018-03-14 13:25:19 -07:00
Feng Xiao
d5f5725c0a
Merge pull request #4310 from KindDragon/patch-1
...
Support using MSVC intrinsics in Log2FloorNonZero
2018-03-14 13:22:01 -07:00
Adam Cozzette
837c94b86f
Include no_package.proto in Python test
2018-03-14 13:11:32 -07:00