| Commit message (Collapse) | Author | Age |
... | |
| | |\ \ \
| | | | | |
| | | | | | |
Replace C++11 only method std::map::at
|
| | | |/ / |
|
| | |/ / |
|
| | | | |
|
|/ / / |
|
| |\ \
| | | |
| | | | |
Create containing directory before generating well_known_types_embed.cc
|
|\ \ \ \
| | | | |
| | | | | |
Java: generate an annotation to suppress deprecation warnings
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add deprecation annotation for oneof case.
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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 auto-generated header to C# generated files
* regenerate C# protos
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Avoid double underscores in macro name
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Added our standard license header to structurally_valid.cc and its test
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | | |
Add unknown field support for csharp
|
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Fixes https://github.com/google/protobuf/issues/3268
|
| | | |\ \ \
| | | | | | |
| | | | | | | |
Use matching enum type for IsPOD.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Clarify default value behavior in JSON conversion.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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.
|
| | | | | | | |
|
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
This fixes issue #1775.
|
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Update comments for Timestamp JSON format.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
fix undefined behavior in C++03
|
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
Make it clear default value is only omitted for proto3.
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Clarify that JSON parser are required to accept both UTC and other
timezone offsets.
Fixes issue 3093
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Using binary one's complement to negate an unsigned int
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is necessary for avoiding a strange compiler error that we have
already run into with older versions of Clang on NaCl.
|
| |/ / / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This removes a Visual Studio warning:
warning C4146: unary minus operator applied to unsigned type, result
still unsigned.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\| | | |
|
| | | | |
|
| |\| | |
|
| |\ \ \
| | | | |
| | | | | |
Adding Release_CompareAndSwap 64-bit variant
|
| | | | | |
|
| |/ / / |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
unittest_proto3 had been changed in a very backward-incompatible
way which was never going to work with C# as it imports proto2 messages.
This is now a copy of the old file, but with a package name change for
compatibility with the remaining files in src/google/protobuf.
The other moves are for files that are only used by C#.
|
| | | |
|
| |\ \
| | | |
| | | | |
Fix Atomic32/AtomicWord on some platforms.
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Removed the redefination in the atomicword_compat.h. Now Atomic32 will
alwyas be intptr_t in 32bit platforms, the bridge is no longer needed.
- Change NaCl 64bit to use intptr_t instead of int32 for Atomic32,
otherwise AtmoicWord APIs will miss the definations.
After this change, the AtmoicWord will always be either Atomic32 or
Atmoic64 depending on the platforms.
|
| | | |
|