| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is a bit of a grotty hack, as we need to sort of fake proto2 field presence, but with only a proto3 version of the descriptor messages (a bit like oneof detection).
Should be okay, but will need to be careful of this if we ever implement proto2.
|
|\
| |
| | |
Tidying up
|
| | |
|
| |
| |
| |
| | |
Visual Studio is happy with it, but Mono isn't :(
|
|/ |
|
|\
| |
| | |
Fix groups handling in C#
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now the generated code doesn't need to check for end group tags, as it will skip whole groups at a time.
Currently it will ignore extraneous end group tags, which may or may not be a good thing.
Renamed ConsumeLastField to SkipLastField as it felt more natural.
Removed WireFormat.IsEndGroupTag as it's no longer useful.
This mostly fixes issue 688.
(Generated code changes coming in next commit.)
|
|\ \
| | |
| | | |
Down integrate. Generate a package name suffix ".nano" for nano messages
|
| |\ \ |
|
| |\ \ \ |
|
| | |\ \ \ |
|
| |\ \ \ \ \
| | |/ / / /
| |/| / / /
| | |/ / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also introducing an option javanano_use_deprecated_package to allow users to disable the suffix
|
| |/ / /
| | | |
| | | |
| | | | |
Also introducing an option javanano_use_deprecated_package to allow users to disable the suffix
|
|\ \ \ \
| |_|_|/
|/| | | |
Remove unused .pb.h #includes.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Change ReadTag/PeekTag behaviour to return 0 at EOF
|
| | | |
| | | |
| | | |
| | | | |
We don't need to expose the InvalidProtocolBufferException factory method now that the generated code doesn't throw the exception.
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
stream", rather than using an awkward out parameter.
This simplifies quite a lot of code.
Generated code in next commit.
|
|\ \ \
| | | |
| | | | |
C# conformance tests
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
expected to.
We should now have no conformance failures.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This is expected to be the cause of the conformance test failures.
Generated code in next commit.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The tests are run from Travis in the same way as on other
platforms. Currently some expected failures - but only expected
in that they're what we got to start with. Will try to fix them in
other pull requests.
|
|/ / /
| | |
| | |
| | | |
Completely untested so far - easier to get started in VS and then transfer to Linux for tweaking...
|
|\ \ \
| | | |
| | | | |
Document everything, and turn on errors if we fail to document anything in the future
|
| | | | |
|
| | |/
| |/|
| | |
| | | |
the future.
|
|\ \ \
| |/ /
|/| | |
Fix build warnings around unused variables
|
|/ / |
|
|\ \
| | |
| | | |
Various compilation fixes
|
| | |
| | |
| | |
| | |
| | | |
Based on pull request feedback. See commit 60c5222 for why the pthread
header is necessary.
|
| | |
| | |
| | |
| | |
| | | |
Fixes compilation when -Wunused-private-field is enabled (e.g., when
using -Wall).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The issue occurs when the template type deduction results in NodeType
being const.
Shortened version of compile error:
no matching function for call to 'operator new'
new (p) NodeType(std::forward<Args>(args)...);
candidate function not viable: no known conversion from 'const
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > *' to 'void *' for 2nd argument; take the
address of the argument with &
inline __attribute__ ((__visibility__("hidden"), __always_inline__))
void* operator new (std::size_t, void* __p) noexcept {return __p;}
|
| | |
| | |
| | |
| | |
| | | |
cmake targets that depend on these libraries will automatically have
these include directories.
|
| |/
| |
| |
| |
| | |
When GOOGLE_PROTOBUF_NO_THREADLOCAL is defined, classes that depend on
pthread functions are included (such as ThreadLocalStorage).
|
|\ \
| | |
| | | |
JSON formatting for FieldMask
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove a redundant layer of directory hierarchy.
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Allow partially-trusted callers again.
|
| |/ /
| | |
| | |
| | | |
Fixes issue #552. (And yay, it looks like our build profile supports this...)
|
|\ \ \
| |/ /
|/| | |
Expose Coded*Stream constructors directly.
|
|/ / |
|
|\ \
| | |
| | | |
Add ReleaseSigned configuration for C#
|
| | | |
|