| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
Allow OneofOptions to be extended in proto3.
|
| | |
|
| |
| |
| |
| | |
This fixes issue #2610.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
This consists of:
- Changing the codegen for the fixed set of options protos, to parse unknown fields instead of skipping them
- Add a new CustomOptions type in the C# support library
- Expose CustomOptions properties from the immutable proto wrappers in the support library
Only single-value options are currently supported, and fetching options values requires getting the type right
and knowing the field number. Both of these can be addressed at a later time.
Fixes #2143, at least as a first pass.
|
|\
| |
| | |
Class deprecation support
|
| | |
|
| |
| |
| |
| | |
deprecate any fields that are currently using that type
|
| |
| |
| |
| |
| | |
To make the test pass I needed to fix out-of-tree builds and update
EXTRA_DIST and CLEANFILES.
|
| |
| |
| |
| |
| |
| | |
* Fix generation of extending nested messages in JavaScript
* Added missing test8.proto to build
|
|\ \
| | |
| | | |
Fixed cross compilations with the Autotools build
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pull request #2517 caused cross compilations to start failing, because
the js_embed binary was being built to run on the target platform
instead of on the build machine. This change updates the Autotools build
to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for
the build machine and always use that when building js_embed.
|
|\ \ \
| | | |
| | | | |
Fix include in auto-generated well_known_types_embed.cc
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Restore include style fix (e3da722) that has been trampled by
auto-generation of well_known_types_embed.cc
|
| |/ /
|/| |
| | |
| | |
| | | |
This test is undocumented and it looks like it has probably never
worked. Let's just remove it to tidy things up. This fixes issue #2515.
|
|/ /
| |
| |
| |
| |
| |
| | |
embed.cc: In function ‘std::string CEscape(const string&)’:
embed.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < str.size(); ++i) {
^
|
|\ \
| | |
| | | |
Init index_in_metadata_ without condition
|
| |/
| |
| |
| |
| |
| | |
Chromium MemorySanitizer (MSan) reports use-of-uninitialized-value
of index_in_metadata_ attribute from EnumGenerator class. Fix these
warnings by initializing these attributes without condition.
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Add rvalue setters for non-arena strings on C++11.
|
| | |
|
|\ \
| | |
| | | |
Remove spurious NULL checks in ArenaStringPtr::CreateInstance.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Until now this file was just checked into the repo, but actually it
should be generated from any.js, struct.js, and timestamp.js. This
change updates the build system to make this happen. To make it work I
also had to remove some C++11 features from embed.cc.
|
|\ \
| |/
|/| |
Missed LIBPROTOC_EXPORT for GRPC added
|
| |
| |
| |
| | |
objectivec_helpers.h
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Removed Android-specific code from stubs/hash.h
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This #ifdef in hash.h causes us to give up on finding a hash function on
Android, when there do seem to be hash functions available in practice.
I also had to tweak a macro in map.h that was disabling on Android an
allocator construct() method that we need.
|
|\ \ \
| | | |
| | | | |
Fix integer overflow in FastUInt32ToBufferLeft
|
| |/ /
| | |
| | |
| | |
| | | |
If digits > 2, and int is 32 bit, line 999 overflows. It has been fixed
internally in CL 41203823.
|
|\ \ \
| | | |
| | | | |
Add missing includes
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This changes fixes "error C2039: 'getline': is not a member of 'std'"
compilation error.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This changes fixes "use of undeclared identifier 'INT_MAX'"
compilation error.
|
|\ \ \ \
| |_|/ /
|/| | | |
Add support for Windows ARM builds
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
remove leading whitespace in C# xml comments
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix #include in cc files
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
update descriptor.proto's go_package
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This change has already been made in google's repo.
Replicating the change here to unblock work on genproto.
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
There have been some reports that this necessary to prevent build
failures in some environments. It makes sense to do this anyway since
the result of this macro is ultimately assigned to uint32 in the
generated code.
|
| | | |
|
|\ \ \
| | | |
| | | | |
C++: export _xxx_default_instance_ symbols
|