| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fix Win32 error messages on Unicode build
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
include std::find()
|
| | | |
|
|\ \ \
| | | |
| | | | |
Objc any helpers
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Capture the ObjC prefix used when generating the the file.
- Track the containing type on descriptors.
- Mark descriptors where the message class name got a suffix added to it.
- Expose a fullName property on Descriptors.
- Add helpers for packing/unpacking Any messages.
- Bump the ObjC runtime version number. Since we added methods and invoke them
in the generated code, ensure the code is running against a matching version.
Otherwise, someone could compile against headers, but run with a framework
that is older and get unknown selector failures. This should trip clearer
messaging.
Fixes https://github.com/google/protobuf/issues/1674
|
|/ /
| |
| |
| | |
Support the -Wassign-enum compiler flag.
|
| |
| |
| |
| |
| | |
clang-tidy gives warning "macro argument should be enclosed in
parentheses" to macro ZR_, the "first" parameter.
|
|\ \
| | |
| | | |
fix #1342 cause by ownership issues
|
| | | |
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
Make Root's +extensionRegistry generation smarter.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
At generation time, walk the file's dependencies to see what really contains
extensions so we can generate more minimal code that only links together the
roots that provided extensions. Gets a bunch of otherwise noop code out of
the call flow when the roots are +initialized.
|
|\ \ \
| |_|/
|/| | |
Remove unused vector
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Restore New*Callback into google::protobuf namespace …
|
| |/
| |
| |
| |
| |
| | |
the service stubs code
Fixes #1966
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't create FileGenerators for each dep. FileGenerators will deeply create all
the message, enum, and field generators; but those aren't needed when doing
the imports for dependencies. Instead directly generate the imports off the
FileDescriptors so no extra objects are created. The only other use was when
chaining together the *Roots for the file extension registry, but that also
can be generate off the name of the FileDescriptor directly.
|
|/
|
|
|
| |
- Expect calls on GenerateAll() and not Generate().
- Parse the prefix validation file once, and then check all the files.
|
|
|
|
|
|
|
|
| |
Breaks the tie of the ImportWriter to the ObjC generation, allow grpc to use
a different extension and to relay the values they need for these.
- Pass in the two framework options to the ctor.
- Pass in the header extension to AddFile.
|
|
|
|
|
| |
grpc likely needs to provide the same sorta handling, so expose the class so
the logic can be reused.
|
|
|
|
| |
Adds better support for protos without packages and more warnings on possible improvements
|
|
|
|
| |
Fixes extra whitespace on generated comments.
|
|
|
|
|
|
| |
Convert mapping of proto comments to appledoc format so they show up in Xcode and cocoadocs.
Fixes https://github.com/google/protobuf/issues/1866
|
| |
|
|\
| |
| | |
Adding missing generic gcc 64-bit atomicops.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When building for 64-bit big endian MIPS I was getting undefined
references to the following four functions during linking.
NoBarrier_AtomicIncrement
NoBarrier_Store
NoBarrier_AtomicExchange
NoBarrier_Load
Adding 64-bit versions of them to atomicops_internals_generic_gcc.h
fixed the compilation issues.
|
|\ \
| | |
| | | |
Merge 3.0.0-GA into master
|
| | |
| | |
| | |
| | | |
Remove the use of INT64_C/UINT64_C and add static_cast when neccessary.
|
| |\ \
| | | |
| | | |
| | | | |
We need to pick up some of the last-minute Ruby fixes.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes https://github.com/google/protobuf/issues/823
Change-Id: I7f4c2bfcac2f81d8b34c030dd3d12ea02aaa2264
|
| | | | |
|
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
|
| | |
| | |
| | |
| | |
| | | |
This brings us more into line with other langauges, and makes it more
obvious when we are requiring protobuf generated code.
|
|/ /
| |
| |
| | |
- Also updates the documentation with a bit more information.
|
|\ \
| | |
| | | |
Fix sign-comparison warnings and add a test for that.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
grpc build treates them as errors and such issues (protobuf change
breaks grpc) has been reported repeatedly. For example:
https://github.com/google/protobuf/issues/1813
Change-Id: I077c4557cf3effd5195f88802c38999b884edc30
|
|/ /
| |
| |
| |
| | |
- Fixes memory issue where the pointer to the StringPiece would be allocated on the stack, and would mangle the output.
- Fixes length of the file name when parsing the comma separated files.
|
|\ \
| | |
| | | |
Versioning Java GeneratedMessage class
|
| | |
| | |
| | |
| | | |
Change-Id: Ib2bb5042deaabdf452d5be2ad1ce40d739ad8d1b
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
JavaScript: segregate references to binary functionality
|