| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Removes redundant null pointer checks checks
|
| |
| |
| |
| |
| | |
Removed the redundant check for NULL which is already handled by using
delete
|
| |
| |
| |
| |
| | |
Removed the redundant check for NULL which is already correctly handled
by used the delete
|
|\ \
| | |
| | | |
Remove redundant `the`.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fixed unused parameters and extra ';'
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
make 'no syntax' warning useful by showing which file
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Fix Intel compiler warnings in include files on Windows
|
| |/ / / |
|
| | | |
| | | |
| | | |
| | | | |
(Generated code changes in next commit.)
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
Recently, descriptor.proto gained a GeneratedCodeInfo message, which means the generated code conflicts with our type.
Unfortunately this affects codegen as well, although this is a part of the public API which is very unlikely to affect hand-written code.
Generated code changes in next commit.
|
|/ /
| |
| |
| |
| | |
Java files are moved to un-do the hack in the prevous commit, which
moved the java files to the original position for integration.
|
| |
| |
| |
| |
| |
| | |
Move the original README.md to src since it's talking about C++
exclusively and add a more general README.md to document how
to install protoc for all languages.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes google/protobuf#693
msan flags this as being undefined behavior. I think it's triggering
because the compiler has to insert a branch to avoid changing the
pointer's value if it starts out NULL. I can't figure out if this is
actually undefined behavior or not, but it definitely seems to be a gray
area of the standard which is best avoided.
|
|\ \
| | |
| | | |
Fixing compile errors on Solaris in 64-bit mode
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
jhump/jh/fix-ioexception-vs-invalidprotobuf-exception
throw IOException instead of InvalidProtocolBufferException when appropriate
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
"valueField": null
is parsed appropriately, i.e. that it remembers that the field is set.
|
| | |
| | |
| | |
| | |
| | | |
On deserialization, missing values for message types
are replaced with a "default" message.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Defer calls to mutable_unknown_fields() until it is actually required to
save memory for C++ lite runtime.
Change-Id: Ica9c1fd276cdb164942d1e7b6e098c83ee3ffdc5
|
| | | |
|
| | |
| | |
| | |
| | | |
Change-Id: Ife609e073bd142d328b680c753f543bb18f4f66d
|
| | |
| | |
| | |
| | | |
Change-Id: I4c4e2a4a248e4336fef735f75ff5648d8d33627e
|
| | |
| | |
| | |
| | | |
Also delete some unused files.
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | | |
Fix static non-pod type problem with dlopen
|
| | | | | |
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This addresses issue #1008, by creating a JsonFormatter which is private and only different
to JsonFormatter.Default in terms of reference equality.
Other plausible designs:
- The same, but expose the diagnostic-only formatter
- Add something to settings to say "I don't have a type registry at all"
- Change the behaviour of JsonFormatter.Default (bad idea IMO, as we really *don't* want the result of this used as regular JSON to be parsed)
Note that just trying to find a separate fix to issue #933 and using that to override Any.ToString() differently wouldn't work for messages that *contain* an Any.
Generated code changes follow in the next commit.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
[skip appveyor]
Change-Id: I700f70e734abb6264db29369ecf227a9e1f783e7
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Arena type traits standardization.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is adapted from the branch of @xfxyjwf at:
https://github.com/xfxyjwf/protobuf/commit/494716a682ef854168e92231a3cdcc89d587d9b9
and should solve the protobuf compilation problem against nvcc.
Tested against nvcc 6.5 and 7.0.
|
|\ \ \ \
| | | | |
| | | | | |
Fix narrowing implicit cast in generated message [NFC]
|
| |/ / / |
|
|/ / / |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
proper platform define used in the right place.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are corner cases where MessageDescriptor.{ClrType,Parser} will return null, and these are now documented. However, normally they *should* be implemented, even for descriptors of for dynamic messages. Ditto FieldDescriptor.Accessor.
We'll still need a fair amount of work to implement dynamic messages, but this change means that the public API will be remain intact.
Additionally, this change starts making use of C# 6 features in the files that it touches. This is far from exhaustive, and later PRs will have more.
Generated code changes coming in the next commit.
|
| | |
| | |
| | |
| | | |
This changes csharp_names.h, which will require a corresponding change in GRPC.
|