| Commit message (Collapse) | Author | Age |
|
|
|
| |
to show a useful message instead of just 'Missing input file.'
|
|
|
|
|
|
| |
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=189
Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
|
|\ |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Remove "using namespace std" from stubs/common.h
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This prevents the contents of the std namespace from being effectively
pulled into the top-level namespace in all translation units that
include common.h. I left in individual using statements for a few common
things like std::set and std::map, because it did not seem worth going
through the churn of updating the whole codebase to fix those right now.
|
|/ /
| |
| |
| |
| | |
When compiling with -Werror, -Wunused-const-variable the build fails due
to those two constants not being used.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
descriptor.proto uses proto2 syntax, which is not ready for external
usage. However, some proto3 files import descriptor.proto and cannot be
used. In this PR, all references (We cheated by only removing
extensions, which is enough for now. User should avoid using messages
defined in descriptor.proto as field type.) to content in
descriptor.proto are removed from generated files. Those that import
descriptor.proto can be used like other proto files.
|
| | |
|
| |
| |
| |
| | |
Fix the bug by sharing the code for generating class name for both
message and enum.
|
| |
| |
| |
| |
| | |
InternalDeallocate to avoid confusing the compiler when there's
a class named Element already defined in the global namespace.
|
| | |
|
| | |
|
| |\
| | |
| | | |
Add include for INT_MAX
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
* Cherrypick the fix descriptor_pool.FindFileContainingSymbol by extensions.
|
| |/ |
|
| |
| |
| |
| | |
mutation method.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
| |
See https://github.com/google/protobuf/issues/2425
|
|
|
|
|
|
| |
* Issue #2211: Addressing GCC warning on enumeral/non-enumeral in conditional expression.
* Updated per 80 character wrap.
|
|
|
|
|
|
|
| |
arm-nacl-clang seems to produce a mysterious compiler error when it
encounters __builtin_clzll, so when we are building for NaCl, let's
avoid that in favor of the portable implementation of
Log2FloorNonZero64.
|
|\
| |
| | |
Changed go_package for plugin.proto.
|
|\ \
| | |
| | | |
migrate delimited messages functions to util package
|
|\ \ \
| | | |
| | | | |
Remove duplicated copyright statement
|
|\ \ \ \
| | | | |
| | | | | |
fix attributes warning
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add preserve_proto_field_names option to JsonPrintOptions
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DefaultValueObjectWriter should populate oneof message field
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This option will be prepended to generated classes of all messages in
the containing file.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix freebsd build.
|
| | | | | | | | |
|
| | | | | | | | |
|
| |_|/ / / / /
|/| | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| |_|_|_|/ /
|/| | | | | |
|
| |_|_|/ /
|/| | | | |
|
| |_|_|/
|/| | |
| | | |
| | | | |
For more info see: https://github.com/google/protobuf/issues/1289
|
|\ \ \ \
| | | | |
| | | | | |
compiler/cli: PrintHelpText prints to stdout instead of stderr
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Updated an outdated comment in bytestream.h
|
| |_|_|_|/
|/| | | | |
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It turns out system headers included by generated plugin.pb.h file already contains
major/minor macro definitions when built on FreeBSD and we need to add #undefs to
the generated header file.
This change also fixes another compile error regarding EXPECT_DEATH on FreeBSD.
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Fixes: https://github.com/google/protobuf/issues/1175
|
| | | |
|