Jon Skeet
1376ee4e6a
Simplify descriptor tests
...
Rather than converting the proto to a ByteString again, use the
existing SerializedData property.
6 years ago
Jon Skeet
988b381c83
Add comment about FileDescriptor not exposing a declaration
6 years ago
Jon Skeet
1711999078
Provide simple access to descriptor declarations in C#
...
This is primarily for access to comments, which would be expected to be available in a protoc plugin.
The implementation has two fiddly aspects:
- We use a Lazy<T> to avoid building the map before cross-linking. An alternative would be to crosslink at the end of the constructor, and remove the calls to CrossLink elsewhere. This would be generally better IMO, but deviate from the Java code.
- The casts to IReadOnlyList<DescriptorBase> are unfortunate. They'll always work, because these lists are always ReadOnlyCollection<T> for a descriptor type... but we can't use IList<DescriptorBase> as that's not covariant, and it's annoyingly fiddly to change the field to be of type ReadOnlyCollection<T>.
6 years ago
Michael Thomsen
fe1266260c
Dart build status
...
Add build status badge for Dart
6 years ago
Michael Shields
10360e342f
Regenerate C# and Objective-C.
6 years ago
Michael Shields
5f2fcc3f6c
Update comments to discuss leap smearing in detail.
...
Fixes #1890 .
6 years ago
Feng Xiao
a6e1cc7e32
Merge pull request #5127 from xfxyjwf/merge
...
Merge 3.6.x branch to master
6 years ago
Jeffrey Walton
be14bf2b78
Fix compile error in generated_message_util.cc
6 years ago
Jeffrey Walton
5193bedb41
Fix compile error in common.cc
6 years ago
Jeffrey Walton
e0de5edc21
Mostly fix Sun Studio configuration using SunCC compiler
...
The SunCC compiler in Sun Studio 12.5 crashes on the m4 macro test test_type_deduction (line 257). The Sun Studio 12.6 compiler finishes configuring.
6 years ago
Feng Xiao
ff3891dab1
Merge pull request #5085 from scentini/compiler-flag
...
Route "compiler" value of config_setting through @bazel_tools/tools/cpp:compiler.
6 years ago
Jon Skeet
baa4a21130
Cross-link descriptor when building from byte strings
...
This performs more testing for field descriptors built from byte
strings too, but that's mostly incidental. The chief intent is to
check that cross-linking occurs.
6 years ago
Feng Xiao
f8cd9b0fac
Merge pull request #5105 from sigurdm/invoke_plugin_via_cmd
...
On Windows invoke plugins using cmd.exe
6 years ago
Feng Xiao
3bf0245fd2
Merge pull request #5122 from elharo/guava20
...
update to Guava 20
6 years ago
Benjamin Peterson
188c44b117
Remove 2to3 code from setup.py. ( #5114 )
...
Python protobuf has long been a single-source codebase. 2to3 shouldn't need to run in setup.py.
6 years ago
Feng Xiao
e49bd66034
Merge remote-tracking branch 'google/3.6.x'
6 years ago
Jan Tattermusch
f8d56e929e
Merge pull request #5125 from jtattermusch/upport_kokoro_release_python
...
Upport kokoro/release/python from 3.6.x branch
6 years ago
Joshua Haberman
f9d8138376
Merge pull request #5109 from haberman/integrate
...
Down-integrate from google3.
6 years ago
Josh Haberman
e53be9bce4
Fixed Python extension compile.
6 years ago
Jan Tattermusch
7200550afa
upport kokoro/release/python from 3.6.x branch
6 years ago
Jan Tattermusch
2e7563f40e
Merge pull request #5123 from jtattermusch/collect_all_artifacts
...
Add experimental collect_all_artifacts script
6 years ago
Feng Xiao
4b955e69cf
Merge pull request #5111 from kykrueger/master
...
Update README.md with gradle instructions for java
6 years ago
Josh Haberman
f14064184c
Regenerated Objective C protos.
6 years ago
Josh Haberman
986fad3eb1
Removed obsolete hash_map header that was breaking the compile.
6 years ago
Josh Haberman
4049a24f2b
Reverted changes to map_lite_test.proto.
6 years ago
Jan Tattermusch
9dadb37fb2
experimental collect_all_artifacts script
6 years ago
Elliotte Rusty Harold
bb3bff0cd4
update to Guava 20
6 years ago
Paul Yang
5aeee3dc91
Add source dependency of test suite implementation to main function ( #5069 )
...
* Fix conformance running nothing issue
This change adds a source dependency of the test suite implementaion
class in the main function. For generality reason, the main function is
moved to the file of the test suite implemetation. New test suite
implementation will need to implement the main function.
In order to make it easy for test suite implementation to implement the
main function, this change also refactor out the common code out of the
main function.
* Fix typo
6 years ago
Kyle Krueger
21ebeed20a
Update README.md with gradle instructions for java
6 years ago
Josh Haberman
c73d689c95
Regenerated C# protos.
6 years ago
Josh Haberman
d61aede89c
Down-integrate from google3.
6 years ago
Sigurd Meldgaard
4e5ae963e8
On Windows invoke plugins using cmd.exe
...
This will find .bat files as well as .exe.
Only affects the case when plugins are invoked from PATH.
This does not change behaviour when compiled under Cygwin..
6 years ago
Joshua Haberman
fd90f45360
Merge pull request #5103 from haberman/cmake
...
Added conformance test impl file to CMake.
6 years ago
Feng Xiao
37b5617d42
Merge pull request #5099 from oqton/feature/issue-5806
...
Fixes JSON Loading of Any messages with Unknown Fields in C++
6 years ago
Joshua Haberman
64f5af2f9c
Added conformance test impl file to CMake.
6 years ago
Joshua Haberman
d340bdf508
Merge pull request #5078 from haberman/conformance-cmake
...
Added cmake build files for the conformance test runner.
6 years ago
Feng Xiao
d42ec0791a
Merge pull request #5092 from xfxyjwf/contrib
...
Add contributing guidelines.
6 years ago
Paul Yang
d05926861b
Fix well known type class not inheriting Message ( #5095 )
...
* Fix well known type class not inheriting Message
Previously, well known types only implement Message interface but not inhert it.
Fix the problem by calling zend_do_inheritance
* Add back commented tests
6 years ago
Paul Yang
98e26a4195
Add missing reference to conformanc_test_impl.cc in Makefile ( #5100 )
...
* Add missing reference to conformanc_test_impl.cc in Makefile
* Update conformance failure list
6 years ago
Brandon Cole
52870ad8fd
Also make sure known fields come across as expected
6 years ago
Brandon Cole
3d32de9b2c
Code fixes for the original unit test.
...
Credit goes to @mercret for the fix.
6 years ago
Brandon Cole
d83a9f66bc
Add unit test for loading unknown fields in Any messages
...
Use ./tests.sh cpp to run it
6 years ago
Feng Xiao
2102a70e51
Add constributing guidelines.
6 years ago
Feng Xiao
9a8d9b1014
Merge pull request #5082 from elharo/guava
...
update version
6 years ago
Feng Xiao
0bfe1ca277
Merge pull request #5079 from GobySoft/request-new-extension
...
Request new option extension (and update URLs for existing projects)
6 years ago
Feng Xiao
86c7786be8
Merge pull request #5077 from EmersonGaziz/patch-1
...
Update options.md | fix website url for C# port
6 years ago
scentini
664f9277b5
Create compiler_config_setting.bzl
6 years ago
scentini
b30ddee2aa
use flag_values = {"@bazel_tools//tools/cpp:compiler": "x"} for compiler config_settings
6 years ago
Elliotte Harold
259331566b
update version
6 years ago
Josh Haberman
0e3fa28e47
Added missing file to Makefile.am.
6 years ago