| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Found with PVS-Studio static analyser, see
https://www.viva64.com/en/b/0550/
|
|\ |
|
| | |
|
|\| |
|
| |\
| | |
| | | |
Add support for Windows ARM64 build
|
| | | |
|
| |\ \
| | | |
| | | | |
Cherrypick for csharp, including:
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add preserve UnknownFields
Compare floating point values bitwise
Add auto-generated header to C# generated files
|
| | |/
| |/| |
|
| |\ \
| | | |
| | | | |
Replace C++11 only method std::map::at
|
| | |/ |
|
| |/ |
|
| |\
| | |
| | | |
Create containing directory before generating well_known_types_embed.cc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes the following build error:
oldpwd=`pwd` && cd .../protobuf/src && \
$oldpwd/js_embed google/protobuf/compiler/js/well_known_types/any.js google/protobuf/compiler/js/well_known_types/struct.js google/protobuf/compiler/js/well_known_types/timestamp.js > $oldpwd/google/protobuf/compiler/js/well_known_types_embed.cc
/bin/bash: line 1: .../protobuf/target/src/google/protobuf/compiler/js/well_known_types_embed.cc: No such file or directory
Makefile:8201: recipe for target 'google/protobuf/compiler/js/well_known_types_embed.cc' failed
which is observed during the cross-compilation since the version 3.2.
|
| |\ \
| | | |
| | | | |
Use matching enum type for IsPOD.
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Before the change, an implicit Flush() will be triggered in the
destructor of the input stream. However, the return code of Flush() is
not discarded. This change makes sure when Flush() fails, we will
return false.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Unlike GetEnvironmentVariableW,
GetCurrentDirectoryW doesn't set
ERROR_INSUFFICIENT_BUFFER.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the test cannot find a temp directory by
checking environment variables, it will fall back
to using the current working directory as the temp
directory root.
This is what the test used to do as of commit
https://github.com/google/protobuf/commit/6de51caed52d798815954646b230c5aef3e4d2fc
and what was then changed by commit
https://github.com/google/protobuf/pull/3978/commits/792d098769d8e000d8d474c8ffd201d2eabc2134
|
| | | |
|
| | |
| | |
| | |
| | | |
Fixes https://github.com/google/protobuf/issues/3951
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Do not use "googletest.h", apprently that leads to
linking errors on Windows which I couldn't figure
out how to solve, and decided to just go with
plain gTest instead.
See https://github.com/google/protobuf/issues/3951
|
|\ \
| | |
| | | |
Add support for Windows ARM64 build
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Java: generate an annotation to suppress deprecation warnings
|
| | |
| | |
| | |
| | |
| | |
| | | |
The valueOf method on enums is deprecated, but for compatibility reasons
the generated code has to keep using it. We can use an annotation to
suppress the deprecation warnings.
|
|\ \ \
| |/ /
|/| | |
Add deprecation annotation for oneof case.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Add auto-generated header to C# generated files
* regenerate C# protos
|
|\ \ \
| | | |
| | | | |
Avoid double underscores in macro name
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes https://github.com/google/protobuf/issues/3268
|
|\ \ \ \
| | | | |
| | | | | |
Added our standard license header to structurally_valid.cc and its test
|
| | |/ /
| |/| |
| | | |
| | | | |
This fixes issue #1775.
|
| |/ /
|/| |
| | | |
Add unknown field support for csharp
|
|\ \ \
| |/ /
|/| | |
Clarify default value behavior in JSON conversion.
|
| | |
| | |
| | |
| | | |
Make it clear default value is only omitted for proto3.
|
|\ \ \
| | | |
| | | | |
Update comments for Timestamp JSON format.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Clarify that JSON parser are required to accept both UTC and other
timezone offsets.
Fixes issue 3093
|
|\ \ \
| |/ /
|/| | |
fix undefined behavior in C++03
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Using binary one's complement to negate an unsigned int
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This removes a Visual Studio warning:
warning C4146: unary minus operator applied to unsigned type, result
still unsigned.
|
| |/ /
|/| |
| | |
| | |
| | | |
This is necessary for avoiding a strange compiler error that we have
already run into with older versions of Clang on NaCl.
|