Thomas Van Lenten
953adb16ff
Add casts to removed undefined behaviors around shifts.
...
Fixes #4246
Fixes #4247
7 years ago
Feng Xiao
b718551571
Merge pull request #4249 from nlochschmidt/patch-1
...
Propose kotlinx.serialization as 3rd party lib
7 years ago
Thomas Van Lenten
204a6413d6
Move kokoro macOS builds to to Xcode 9.1.
7 years ago
Ludger Sprenker
14e8852fe4
Fix -fpermissive: '<::' cannot begin a template-argument list
...
'<:' is an alternate spelling for '['.
7 years ago
Niklas Lochschmidt
69b1fdcd60
Propose kotlinx.serialization as 3rd party lib
...
Has support for protobuf v2.
7 years ago
Jisi Liu
25a90e82ff
Merge pull request #3825 from ras0219-msft/patch-1
...
Add Vcpkg to C++ installation instructions for Windows
7 years ago
Robert Schumacher
aaf41c600d
Add Vcpkg to C++ installation instructions for Windows
...
Fixes issue #1154 by noting that `vcpkg` contains protobuf. Potential improvements: also remark how to use `vcpkg` to get dependencies when building from source via CMake.
7 years ago
Adam Cozzette
1681fe664b
Merge pull request #4196 from mathstuf/cmake-private-target-sources
...
cmake: privately add sources to targets
7 years ago
Feng Xiao
f438ebd805
Merge pull request #4240 from davido/generate_warning_free_java_code
...
Java: Generate warning free code
7 years ago
Adam Cozzette
da6b07a2e5
Merge pull request #4209 from acozzette/using-statements
...
Removed using statements from common.h
7 years ago
David Ostrovsky
86fdad0fb5
Java: Generate warning free code
...
Partially fixes #4230 .
7 years ago
Adam Cozzette
39a789e657
Removed using statements from common.h
...
These statements pulled a bunch of symbols from the std namespace into
the global namespace. This commit removes all of them except for
std::string, which is a bit trickier to remove.
7 years ago
Jisi Liu
91317c291e
Merge pull request #4236 from pherl/3.5.x
...
Bumping number to fix ruby 2.1 on mac
7 years ago
Jisi Liu
2a8e10257f
Bumping number to fix ruby 2.1 on mac
7 years ago
Feng Xiao
c236896ec5
Merge pull request #4229 from leighmcculloch/patch-1
...
Remove broken link to code.google.com/p/protorpc
7 years ago
Leigh McCulloch
4a3b42ed05
Remove broken link to code.google.com/p/protorpc
...
Remove broken link to RPC implementation https://code.google.com/p/protorpc/ . Going to this URL displays a 404 error message, with no indication that the project has a new location or still exists.
7 years ago
Feng Xiao
ed14fe423b
Merge pull request #3934 from xfxyjwf/builtsources
...
Remove the use of BUILT_SOURCES
7 years ago
Jon Skeet
0c52335587
Update .NET SDK to 2.0.3
...
This will allow SourceLink as per #4179 , and mean that we can use C#
7.0 language features in the library (but not in generated code).
This does not affect which platforms we're *targeting*, so end users
won't see any difference.
It would be nice to update to 2.1.4, but AppVeyor's "Visual Studio
2017" environment is only 2.0.3.
7 years ago
Paul Yang
51293f36d8
Fix more memory leak for php c extension ( #4211 )
...
* Fix more memory leak for php c extension
* Fix memory leak for php5.5
7 years ago
Feng Xiao
94f3be06ba
Merge pull request #4226 from themattchan/patch-1
...
Add Haskell implementations
7 years ago
Thomas Van Lenten
3e1587fd4b
Add an explicit import of stdatomic.h.
...
The generated code for enums needs atomics support, so generate the
import instead of relying on it via transitive imports. This will
make future changes to this likely likely to break generated code
and runtime support are mixed.
Followup to https://github.com/google/protobuf/pull/4184 .
7 years ago
Thomas Van Lenten
6fd2ae7e45
Bring back import of OSAtomic.
...
Followup to https://github.com/google/protobuf/pull/4184 , keep the
import to not break any existing generated code that isn't regenerated
when they update to the newer protobuf code.
7 years ago
Matt Chan
72337d6cc9
Add Haskell implementations
...
Add Awake Security's Haskell Protobuf and GRPC implementations
7 years ago
Feng Xiao
1d02e45468
Merge pull request #4224 from davido/drop_java_6_support
...
Drop java 6 support
7 years ago
David Ostrovsky
019ceea4b3
Drop java 6 support
...
Fixes #4220 .
7 years ago
Feng Xiao
c337d9f929
Remove the use of BUILT_SOURCES
...
Fixes https://github.com/google/protobuf/issues/3912
[BUILT_SOURCES](https://www.gnu.org/software/automake/manual/html_node/Sources.html )
is used with [Automake's automatic dependency tracking](https://www.gnu.org/software/automake/manual/html_node/Dependencies.html#Dependencies )
but doesn't work well in protobuf when cross-compiling. Their presence
causes maek to always generate them even when they are not requested
and as a result causes cross-compilation to fail because the built protoc
cannot be used to generate unittest protos (see: https://github.com/google/protobuf/issues/3912 ).
Removing it with explicit dependencies fixes the build issue when running
'make', 'make all', 'make install' at cross-compilation. It doesn't affect
'make protoc' because BUILT_SOURCES only works for the implicit targets
'all', 'check' or 'install'.
7 years ago
Ludger Sprenker
9ab859f5a5
Create std::string in Arena memory
7 years ago
Feng Xiao
80e016e838
Merge pull request #4205 from xuwei-k/patch-2
...
fix typo in FieldMaskTree.java comment
7 years ago
Jonathan Dierksen
a721bf6d29
Migrate away from deprecated OSAtomic APIs. ( #4184 )
...
* Migrate away from deprecated OSAtomic APIs.
7 years ago
kenji yoshida
1c3b20b122
fix typo in FieldMaskTree.java comment
7 years ago
Ben Boeckel
9d0a44c9de
cmake: privately add sources to targets
...
Public sources get added to dependencies of the target as well which can
cause duplicate symbols.
7 years ago
Jisi Liu
cbdeb6af3e
Merge pull request #4185 from pherl/ruby2.5
...
Update rake file to build of 2.1.6.
7 years ago
Jisi Liu
53d907f646
Update rake file to build of 2.1.6.
7 years ago
Peter Collingbourne
3ba21cd5f7
Add support for libc++ on Windows.
...
This disables a couple of workarounds which are only necessary with
MSVC's standard library and cause problems with libc++.
7 years ago
Jisi Liu
979c2cdbb5
Merge pull request #4182 from pherl/ruby2.5
...
Support ruby2.5
7 years ago
Jisi Liu
d9f0f0bfac
Support ruby2.5
7 years ago
Jon Skeet
47b7d2c7ca
Add DiscardUnknownFields support for C#
...
By default, unknown fields are preserved when parsing. To discard
them, use a parser configured to do so:
var parser = MyMessage.Parser.WithDiscardUnknownFields(true);
7 years ago
Michael Collis
2a6eaeb86e
Fix scope resolution for MessageExts in Ruby
7 years ago
Yilun Chong
9f80df0269
Merge pull request #4158 from BSBandme/FixBenchmarks
...
Fix java benchmark to use parser, fix cpp benchmark new arena to use …
7 years ago
Yilun Chong
473a810975
Update py_benchmark.py
7 years ago
Yilun Chong
fa60e550ec
Fix java benchmark to use parser, fix cpp benchmark new arena to use Reset, format some files
7 years ago
Adam Cozzette
b77aa8011d
Merge pull request #4148 from datacompboy/patch-2
...
Add more tests to time_test
7 years ago
Adam Cozzette
d4afdba83d
Merge pull request #4147 from datacompboy/patch-1
...
Fix ValidateDateTime: check day instead month
7 years ago
Yilun Chong
bab843b8b9
Merge pull request #4132 from BSBandme/JavaCaliperCounter
...
Java caliper counter
7 years ago
Yilun Chong
195253c3f6
Add counter to Java benchmark
7 years ago
Yilun Chong
4adc5a48c0
Merge pull request #4065 from BSBandme/python_benchmark_real
...
Add python benchmark
7 years ago
Anton Fedorov
091eeb1261
Update time_test.cc
...
Better test coverage for datetime validation.
7 years ago
Anton Fedorov
473c5cff76
Fix ValidateDateTime: check day instead month
...
Found with PVS-Studio static analyser, see
https://www.viva64.com/en/b/0550/
7 years ago
Paul Yang
3823897475
Well known types are not initialized properly. ( #4139 )
...
Previously, within the same load period of protobuf module, well known
types are not initialized correctly for the second request. The reason
is that well known type are only initialized if a method local static
variable is not set. However, that variable is not reset after request
ends. Therefore, when the second request comes, the method local static
variable is still set (by previous request) and well types are not
initialized in this case.
7 years ago
Yilun Chong
2fc69b1561
Add python benchmark
7 years ago