| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
_xxx_default_instance_ symbols are used in inline functions. We have
to export them to avoid undefined reference link errors.
|
|\ \ \ \
| | | | |
| | | | | |
Add missing include in embed.cc
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This changes fixes "use of undeclared identifier 'assert'"
compilation error.
|
| | | |
| | | |
| | | |
| | | | |
1. Generate single file for each message.
2. Lazily initiate metadata.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Check the parent file options for deprecation when deciding to tag Messages
and Enums as deprecated.
- Within the generated source push/pop the warning for implementing deprecated
things around a deprecated class implementation.
- Annotate the methods generated for extension fields as deprecated.
- Add a testing .proto file that covers deprecated fields, messages, enums,
enum values and compile it into the unittests to confirm things compile
cleanly.
- Add a testing .proto file that uses the file level option to make everything
deprecated and compile it into the unittests to confirm things compile
cleanly.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently the default for protobuf on Android is to silently drop all log
messages. This makes debugging difficult because things like GOOGLE_LOG(FATAL)
will crash the process without actually logging a useful error.
This CL changes the logging so that by default we send messages for all log
levels to logcat (and stderr). Users can override this by setting
GOOGLE_PROTOBUF_MIN_LOG_LEVEL. Also, that option was not being respected for
non-Android platforms so I went ahead and fixed that to make things consistent.
|
|/ /
| |
| |
| |
| | |
fixed_address_empty_string symbol is used in an inline function.
We have to export it to avoid undefined reference link errors.
|
|\ \
| | |
| | | |
Add version number to plugin protocol.
|