| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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
|
| |
|
|\
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If messages A and B have the same oneof case, which is a message
type, and we merge B into A, those sub-messages should be merged.
Fixes #3200.
Note that I haven't regenerated all the code, as some of the protos
have been changed, breaking generation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reserve unknown in ruby
* Revert ruby tests. Wait for cpp impl for conformance test
* Add conformance test for preserving unknown
* Add unknown field conformance test to csharp failure list.
* Fix comments
* Fix comment
* Fix comments
* Fix typo
* Use stringsink_string directly
* Mark hd unused
* Remove unused encodeunknown_handlerfunc
|
|\ |
|
| |\
| | |
| | | |
Add @Deprecated annotation support for proto file.
|
| | | |
|
| |\ \
| | | |
| | | | |
Clang warning cleanup for unused parameter.
|
| | | | |
|
| | | |
| | | |
| | | | |
This reverts commit 2bd55a9fbcd2815b3332bf309bc20f59eef0b36b.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fix js conformance tests.
* Remove old incorrect compatibility tests
|
|\ \ \ \
| | | | |
| | | | | |
CodedInputStream::SetTotalBytesLimit description fix
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fix implicit fallthrough in gcc 7
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fixes #3700
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
|/ / / / / / |
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
See https://github.com/google/protobuf/issues/3752 for context.
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / / |
|
| |\ \ \
| | | | |
| | | | | |
Remove ranged based for in io_win32.cc
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| | | | |
|
| | | | |
|
| |/ / |
|
| |/
| |
| | |
internal descriptor.proto
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Use constexpr more with VC++ 2017
Chrome's official builds have over 170 dynamic initializers for
variables of the form *::TableStruct::aux. Defining
PROTOBUF_CONSTEXPR_VAR to be constexpr for VS 2017 gets rid of all of
these and saves about 10 KB of binary size.
* Update generated_message_table_driven.h
Restore accidentally deleted line.
|