Sydney Acksman
4ca46ede5c
Write messages to backing field in generated C# cloning code ( #4440 )
...
* Edited MessageFieldGenerator to clone to backing field instead of property
* Generated C# proto code
7 years ago
Feng Xiao
0dc4d75da7
Merge pull request #4504 from xfxyjwf/lite
...
Cleanup + documentation for Java Lite runtime.
7 years ago
Feng Xiao
a29e2bfb3b
Update Makefile.am for Java lite files.
7 years ago
Adam Cozzette
9497a657d5
Merge pull request #4517 from rcane/feature/vc2017_build_fix
...
Fixed a Visual Studio 2017 build error. (#4488 )
7 years ago
Yilun Chong
a9d9326ab2
Merge pull request #4510 from BSBandme/fix_kokoro_benchmark_build
...
fix java benchmark, fix dashboard build
7 years ago
Ronny Krüger
7d6d5f9132
Fixed a Visual Studio 2017 build error. ( #4488 )
...
The current 15.6.x versions of Visual Studio 2017 contain a bug that
prevent them from compiling the following construct under certain
conditions:
std::unique_ptr<std::unique_ptr<Foo> []> foos;
This will fail to compile if Foo is an abstract class. To work-around
the problem the whole construct was change into:
std::vector<std::unique_ptr<Foo>> foos;
This not only fixes the compiler error but is also more readable than
previous version.
7 years ago
Yilun Chong
092134593d
fix java benchmark, fix dashboard build
7 years ago
Feng Xiao
7d55040eeb
Cleanup + documentation for Java Lite runtime.
7 years ago
Yilun Chong
320d56c833
Merge pull request #4478 from BSBandme/proto2_to_proto3_tools
...
Add gogo benchmark
7 years ago
Yilun Chong
e3af02303a
fix python
7 years ago
Yilun Chong
76d76ae39c
fix conflicts
7 years ago
Yilun Chong
c703061d49
Add gogo benchmark
7 years ago
Yilun Chong
5fb73f80f2
Merge pull request #4415 from BSBandme/experiement
...
Add dashboard support
7 years ago
Yilun Chong
805174eda2
Add script for run and upload the benchmark result to bq
7 years ago
urfinjuezz
d7d863ea07
fix json_decode call parameters ( #4381 )
7 years ago
Brent Shaffer
13e627ad69
includes the expected class in the exception, otherwise the error is harder to track down ( #3371 )
7 years ago
Thomas Hisch
451e0446ab
Add __init__.py files to compiler and util subpackages ( #4117 )
...
The compiler and util subpackages are created by the build_py class in
setup.py. This has caused an issue in the protobuf package in
conda-forge (https://github.com/conda-forge/protobuf-feedstock/issues/40 ),
which is fixed by this commit.
7 years ago
Paul Yang
3b6d027ba2
For windows, all python version should use /MT ( #4468 )
7 years ago
Thomas Van Lenten
dce8229a38
Add the files added in #4485 .
7 years ago
Sergio Campama
ce24b8a224
Update Xcode settings
7 years ago
Jon Skeet
da3ce67171
Deliberately call simple code to avoid Unity linker pruning
...
The SampleEnumMethod method was previously only called via
reflection, so the Unity linker thought it could be removed. Ditto
the parameterless constructor in ReflectionHelper.
This PR should avoid that issue, reducing the work needed by
customers to use Google.Protobuf from Unity.
7 years ago
Feng Xiao
a72da27f5a
Merge pull request #4475 from chenchuanyin/patch-1
...
Fix problem: cmake build failed in c++11 by clang
7 years ago
Feng Xiao
e7e6c6b8d1
Merge pull request #4283 from ObsidianMinor/csharp/better-test-runners
...
[C#] Update test project to be used with dotnet test and Visual Studio Test Explorer
7 years ago
ObsidianMinor
f72ac9f987
Updated csharp/README.md to reflect testing changes
7 years ago
Silver Chan
d3e8a54020
Fix problem: cmake build failed in c++11 by clang
...
CMakeLists.txt adds c++11 flags for clang
7 years ago
Paul Yang
c931743461
Merge branch ( #4466 )
...
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
7 years ago
Charlie Moad
579f81e1c6
js message support for jstype string on integers ( #4332 )
7 years ago
Feng Xiao
40d6eca832
Merge pull request #4467 from xfxyjwf/error
...
Improve error message when googletest is missing.
7 years ago
Feng Xiao
8f88a507ee
Improve error message when googletest is missing.
7 years ago
Feng Xiao
7f92711085
Merge pull request #4411 from pravin-dsilva/protobuf-ppc64le
...
Add support for Power (ppc64le) arch
7 years ago
Feng Xiao
4274e6af2d
Merge pull request #4447 from ejona86/cleaner-protoc-artifacts
...
Cleaner protoc artifacts
7 years ago
Feng Xiao
c934d1d185
Merge pull request #4452 from xfxyjwf/doc
...
Update instructions about getting protobuf source.
7 years ago
Thomas Van Lenten
aab0f898c9
Merge pull request #4464 from thomasvl/includes3
...
Move ObjC WKTs to minimal imports to avoid import cycle.
7 years ago
Thomas Van Lenten
bd941d5d69
Don't generate imports for the WKTs unless generating the WKTs.
...
Since the generated header import GPBProtocolBuffers.h, there is no need
to generate imports for the WKTs as they will have already been imported.
7 years ago
Thomas Van Lenten
e998b8ff66
Add compile test sources for to test include order.
...
To ensure all headers aren't dependent on other things being imported
before/after them, make a source that just imports each header and add
it to the unittesting target, that way we ensure it can be included on
its own with ordering issues.
Also do this testing with a few generated headers that aren't part of
the library to help ensure the different generated imports needed are
complete.
7 years ago
Thomas Van Lenten
bca797dac9
Trim imports for bundled generated protos.
...
To avoid a cycle between headers, have the WKTs use minimal imports instead
of using the helper to get everything from the library.
Fixes https://github.com/google/protobuf/issues/4301
Fixes https://github.com/google/protobuf/issues/4403
7 years ago
Feng Xiao
014e76e2cd
Update instructions about getting protobuf source.
7 years ago
Eric Anderson
cdbfdd8da8
protoc-artifacts: Use ENTRYPOINT to enable devtoolset-1.1
...
ENTRYPOINT is used even when other commands are specified on the "docker
run" command line. This allows running one-off commands in the docker
image (especially combined with volume binding with the host) with the
correct environment variables.
7 years ago
Eric Anderson
67c1cd4cb7
protoc-artifacts: Avoid storing temporary files and use fewer layers
...
This is just better Dockerfile hygene as it produces smaller resulting
images with fewer useless files.
7 years ago
Eric Anderson
5f052ae7ae
protoc-artifacts: Avoid checking out protobuf code
...
It is a bad idea to check out code into the docker image, as it will be
out-of-date. It is better to have the image just be the environment, and
let any scripts that need source check them out themselves.
This fixes #4419 in that it allows the image to build again, albeit
users would need to use wget to grab the source of the version of
protobuf they wish.
7 years ago
Feng Xiao
7bf47a6b5d
Merge pull request #4433 from xfxyjwf/license
...
Cleanup LICENSE file.
7 years ago
Feng Xiao
c8ed695872
Merge pull request #4445 from xfxyjwf/badge
...
Add kokoro build status badges.
7 years ago
Feng Xiao
eac0e92798
Add kokoro build status badges.
...
Moved the badges to the language table as they are per-language based.
Some badges are not yet available due to stuck kokoro jobs.
7 years ago
Feng Xiao
59c4328d7c
Merge pull request #4442 from xfxyjwf/clean
...
Delete unused directories.
7 years ago
Feng Xiao
107cd70c7c
Delete unused directories.
...
jenkins has been replaced by kokoro and we never use more_tests.
7 years ago
Adam Cozzette
d3d7cdbcad
Merge pull request #4439 from acozzette/remove-atomicops-stub
...
Removed atomicops.h stub
7 years ago
Adam Cozzette
612b670086
Updated .gitignore to exclude downloaded gmock/ directory
7 years ago
Adam Cozzette
4875dfe9be
Removed atomicops.h since it is no longer used
7 years ago
Jan Tattermusch
2537bea6b8
Merge pull request #3794 from jskeet/reflection
...
Change C# reflection to avoid using expression trees
7 years ago
Jon Skeet
9c05c35341
Address review comments
7 years ago