| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
This seems to be necessary to prevent warnings in some compiler
configurations, particularly for tag numbers that are too large to fit
in a signed 32-bit int.
|
| | | |
|
| |\ \ |
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
Behavior of define GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER has been
altered between 337a028 and cc8ca5b for C++.
See github issue #2385 for further details.
|
| | |
| | |
| | | |
Some compiler will report: 'error: integer constant is too large for long type'
|
| | |
| | |
| | |
| | | |
In php, class name cannot be "Empty". Modified code generator to (#2375) generate GPBEmpty instead (for google.protobuf.Empty only). Also change
runtime code to work with the new generated code accordingly.
|
|\ \ \
| | | |
| | | | |
Add missing include in message_lite.cc
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This changes fixes "use of undeclared identifier 'INT_MAX'"
compilation error.
|
|/ / /
| | |
| | |
| | | |
Reland commit f2885f6 that has been trampled by commit d64a2d99.
|
| | |
| | |
| | |
| | |
| | | |
StringSpaceUsedExcludingSelf has been part of the lite library since
b913cbd.
|
|\ \ \
| | | |
| | | | |
MessageOptions should handle both proto2 and google.protobuf package names.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
MessageOptions.
This is done so that the same library can be used irrespective of whether MessageOptions belong to package name 'proto2' or 'google.protobuf'
|
|\ \ \ \
| |/ / /
|/| | | |
Fixes deprecation warnings/errors on Xcode
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
mac version to that if atomic is enabled
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The size parameter is only used in cases where the compiler supports
sized delete, so when that's not available we need to specifically cast
it to void to prevent a warning.
|