- 13 Mar, 2018 1 commit
-
-
Adam Cozzette authored
-
- 09 Feb, 2018 2 commits
-
-
Yilun Chong authored
Sync internal benchmark changes
-
Yilun Chong authored
-
- 08 Feb, 2018 2 commits
-
-
Thomas Van Lenten authored
-
Feng Xiao authored
Remove use of GOOGLE_FALLTHROUGH_INTENDED from protobuf.
-
- 07 Feb, 2018 2 commits
-
-
Thomas Van Lenten authored
Fixes #4277
-
Nico Weber authored
Chrome is running into two issues with the use of this macro in open-source protobuf (https://crbug.com/809157): 1. GOOGLE_FALLTHROUGH_INTENDED is defined to nothing on __APPLE__ platforms, which blocks us from enabling -Wimplicit-fallthrough on Mac and iOS. (We use a hermetic self-built modern clang, so whatever Xcode bug that exclusion might be for doesn't apply to us.) 2. It's in a public header file, and it's included in a public header file. When clang suggests adding [[clang::fallthrough]], it checks if it knows of a macro expanding to that and if so, suggests inserting that. Since lots of chrome code includes protobuf headers, it often suggests inserting GOOGLE_FALLTHROUGH_INTENDED (from protobuf) instead of the correct FALLTHROUGH (from chrome's base). Since the fallthrough doens't do anyting useful, just remove it. Long ago, this might have had perf impact, but d64a2d99 added a parsing fast path that calls this switch as slow fallback, so it should be off the hot path nowadays. No intended behavior change. This is the public version of internal change 184824132.
-
- 02 Feb, 2018 1 commit
-
-
Feng Xiao authored
Various CMake Update
-
- 01 Feb, 2018 9 commits
-
-
Feng Xiao authored
Bazel: Support building with Java 9
-
Yilun Chong authored
Upgrade benchmark submodule
-
Corentin Le Molgat authored
-
Corentin Le Molgat authored
We follow the findProtobuf.cmake naming convention to ease the use of protobuf as cmake subproject
-
Corentin Le Molgat authored
-
Yilun Chong authored
-
Jisi Liu authored
Fix link markup in third party list.
-
Bruno Kim Medeiros Cesar authored
-
- 31 Jan, 2018 7 commits
-
-
Adam Cozzette authored
Create std::string in Arena memory
-
David Ostrovsky authored
Fixes: #4256. Bazel@HEAD supports Java 9. The current code has one single issue with Java 9 compliance: the usage of sun.misc package. We add jdk.unsupported module with --add-modules compiler option for now. Long term, the usage of non public API should be avoided. To build with Java 9, build custom bazel version and issue: $ bazel --host_javabase=/usr/lib64/jvm/java-9-openjdk build \ --javacopt='--release 9' \ --java_toolchain=@bazel_tools//tools/jdk:toolchain_jdk9 \ :protobuf_java
-
Thomas Van Lenten authored
Haven't been able to make a repo case, but this should "fix" the problem by avoid it completely. - Move readOnlySemaphore_ into the .m file so it isn't exposed in any header. - Move GPBGetObjectIvarWithField() also to go with the new limited visibility on the readOnlySemaphore_.
-
Thomas Van Lenten authored
The Undefined Behavior sanitizer flags one part of the unittests for this. For default values for `bytes` we write a length on the front of a c-string in the static data, apparently the compiler/linker doesn't always make this 4 byte aligned, so it get flagged for undefined/degraded performance. Avoid this by using memcpy instead.
-
Thomas Van Lenten authored
-
Thomas Van Lenten authored
-
Thomas Van Lenten authored
Fixes #4246 Fixes #4247
-
- 30 Jan, 2018 8 commits
-
-
Feng Xiao authored
Propose kotlinx.serialization as 3rd party lib
-
Thomas Van Lenten authored
-
Ludger Sprenker authored
'<:' is an alternate spelling for '['.
-
Niklas Lochschmidt authored
Has support for protobuf v2.
-
Jisi Liu authored
Add Vcpkg to C++ installation instructions for Windows
-
Robert Schumacher authored
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.
-
Adam Cozzette authored
cmake: privately add sources to targets
-
Feng Xiao authored
Java: Generate warning free code
-
- 29 Jan, 2018 1 commit
-
-
Adam Cozzette authored
Removed using statements from common.h
-
- 27 Jan, 2018 2 commits
-
-
David Ostrovsky authored
Partially fixes #4230.
-
Adam Cozzette authored
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.
-
- 26 Jan, 2018 2 commits
-
-
Feng Xiao authored
Remove broken link to code.google.com/p/protorpc
-
Leigh McCulloch authored
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.
-
- 25 Jan, 2018 3 commits
-
-
Feng Xiao authored
Remove the use of BUILT_SOURCES
-
Jon Skeet authored
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.
-
Feng Xiao authored
Add Haskell implementations
-