| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
| | | |
|
|\ \ \
| | | |
| | | | |
OpenBSD correct endianess handling
|
| | | |
| | | |
| | | |
| | | | |
apropriate defines
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#1971)
* Factored Conformance test messages into shared test schema.
* Updated benchmarks to use new proto3 message locations.
* Fixed include path.
* Conformance: fixed include of Python test messages.
* Make maven in Rakefile use --batch-mode.
* Revert changes to benchmarks.
On second thought I think a separate schema for
CPU benchmarking makes sense.
* Try regenerating C# protos for new test protos.
* Removed benchmark messages from test proto.
* Added Jon Skeet's fixes for C#.
* Removed duplicate/old test messages C# file.
* C# fixes for test schema move.
* Fixed C# to use the correct TestAllTypes message.
* Fixes for Objective C test schema move.
* Added missing EXTRA_DIST file.
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Swift generators should default to CamelCasing the proto package and prefixing
symbols with that, but this option allows developers to override that behavior
with something custom if they desire.
Fixes https://github.com/google/protobuf/issues/1833
|
|\ \
| | |
| | | |
Integrated internal changes from Google
|