| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add php_generic_services option
* Generate PHP generic services
* Respect namespaces for generated PHP services
* Test PHP generated services
* Rename PHP generator service method doc comment function
* Correct phpdoc service method case
* Test namespaced PHP generic services
* Always use the FQCN for PHP generic service input/output
* Add generated_service_test to php test.sh
* Add php service test protos to CI
* Add php service files to php_EXTRA_DIST
* Use Interface suffix for php generic services
|
| |\
| | |
| | | |
Fix map_field_inl.h for gcc 4.1
|
| | | |
|
| |\ \
| | | |
| | | | |
Fix build when using -Werror=undef
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
Correct a couple places where macros were being checked when they
might not exist in some cases.
Fixes #3356.
|
| |\ \
| | | |
| | | | |
Issue 3112: Object class with fully qualified name
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* remove pass by reference for php setters
* comments out memory leak test
|
| | | | |
|
| | | | |
|
| |\ \ \
| | |_|/
| |/| | |
Use consistent hash across NDEBUG/!NDEBUG builds.
|
| | | |
| | | |
| | | |
| | | | |
Fixes #3322.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rather than crashing on use (doh!) better to just declare this platform
is missing a proper hash_map/hash_set implementation and use
the std::map/std::set emulation.
Fixes regression introduced by #1913
|
| |/ /
| | |
| | | |
* Remove using std::{set,map}
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* adds PHPDoc @return and @param for getters and setters respectively
* addresses changes in PR review
* adds documentation tests
* Update php_generator:
- Prepend \ to names where required
- Remove <pre> tags
- Update protobuf field comments
* Updates class files with the protobuf changes
* Addresses review comments
* removes Protobuf Type line from PHP generated classes
* fixes phpdoc test
* adds array types to phpdoc
|
| |\ \
| | | |
| | | | |
Enusre public header and generated code have no implicit converion.
|
| | | | |
|
| | | | |
|
| |\ \ \
| | |/ /
| |/| | |
C++: Do not forward-declare dependencies in generated .h files
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Raise the number of digits used for floats.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
About 1.5% of all IEEE754 single-precision numbers require nine
decimal digits to represent accurately.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Building the protobuf compiler with Bazel fails to resolve the unqualifed "string"s in java_options.h:
```
ERROR: .../external/com_google_protobuf/BUILD:248:1: C++ compilation of rule '@com_google_protobuf//:protoc_lib' failed: Process exited with status 1 [sandboxed].
In file included from external/com_google_protobuf/src/google/protobuf/compiler/java/java_context.h:41:0,
from external/com_google_protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc:38:
external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:59:3: error: 'string' does not name a type
string annotation_list_file;
^
external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:62:3: error: 'string' does not name a type
string output_list_file;
^
Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
INFO: Elapsed time: 41.487s, Critical Path: 6.20s
//interpreter:eval_test NO STATUS
Executed 0 out of 1 test: 1 was skipped.
```
|
| |/ /
| | |
| | |
| | | |
fixed_address_empty_string symbol is used in an inline function.
We have to export it to avoid undefined reference link errors.
|
| |\ \
| | | |
| | | | |
Ensure that for Java, imports of .proto files with empty packages works
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes a compiler bug that caused a Java syntax error when one .proto file
would import another one with an empty package and java_package. This fixes
issue #3114.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add new file option php_namespace.
Use this option to change the namespace of php generated classes.
Default is empty. When this option is empty, the package name will be
used for determining the namespace.
* Uncomment commented tests
* Revert gdb test change
* Update csharp descriptor.
* Add test for empty php_namespace.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* not to use std::random_device for map.Seed().
* remove include random
|
| | | |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Comment out unused arguments.
These last few are all that's needed to compile with -Wunused-arguments.
* Fix missing struct field initializer.
With this fix, everything compiles with -Wmissing-field-initializers.
* Add support for disabling unaligned memory accesses on x86 too.
ubsan doesn't like these because they are technically undefined
behavior, so -DGOOGLE_PROTOBUF_DONT_USE_UNALIGNED will disable them easily.
* Avoid undefined integer overflow.
ubsan catches all of these.
|
| |
| |
| |
| | |
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>
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |\
| | |
| | | |
Add include for INT_MAX
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
* Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
* Cherrypick the fix descriptor_pool.FindFileContainingSymbol by extensions.
|
| | |
|
| | |
|
| | |
|
| | |
|