| Commit message (Collapse) | Author | Age |
... | |
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | | |
|
| |\ \
| | | |
| | | | |
Add @Deprecated annotation support for proto file.
|
| | | | |
|
|\| | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This addressbook.proto now belongs to its own bazel pacakge and can't be
accessed in bazel protobuf_test target.
|
|/ / / |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| | |
strdup is not part C or C++ standard but POXIS function. Several
compilers failed to compile strdup or generate warnings.
|
| | |
|
| |
| |
| |
| |
| | |
This excludes cygwin and mingw from using the self implemented
functions.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Use composition instead of inheritance for oneof default.
|
| | |
| | |
| | |
| | | |
Verified test succeed under draconian heap checker
|
| |\ \
| | | |
| | | | |
Fix issue #1745 - javascript allow dot in filename
|
|\| | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Add declaration for AddDescriptorsImpl()
|
|\ \ \ \ \ |
|
| | | | | | |
|
| | | | | | |
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
AddDescriptorsImpl() is a private static implementation detail,
and needs to be declared but won't be used from outside the
source file. Place it inside an anonymous namespace to fix a
previous build error that would result in more restrictive
build enviornments that use -Werror=missing-declarations or
similar compiler flags.
|
| | | | | |
|
| | |/ /
| |/| | |
|
| |\ \ \
| | |/ /
| |/| | |
Windows: support long paths in open/mkdir/access
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An ifdef condition seems to have been inverted by mistake, causing the
dynamic initialization to occur for lite if and only if the
_NO_STATIC_INITIALIZER macro is set. This problem manifested itself as
segfaults due to uninitialized empty strings:
https://github.com/google/protobuf/issues/2839
Since no one complained about initialization not happening, it would
appear that we can just disable this initialization for lite
unconditionally, so that is what this change does. Instead of the
default instance initialization happening pre-main, it now always
happens lazily when needed.
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Merge 3.3.x into master
|
|\| | | | |
|
| | | | | |
|
| | |\ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
Issue 3112: Object class with fully qualified name
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* remove pass by reference for php setters
* comments out memory leak test
|
| | | | | | |
|
| | | | | | |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add implementations of open(2), mkdir(2), stat(2),
etc. that support long paths under Windows (paths
longer than MAX_PATH in <windows.h>, which is 260
characters).
The implementations are in a separate namespace
(google::protobuf::internal::win32), so they won't
collide with the standard implementations in
<io.h>, but after importing them with `using` they
can be drop-in replacements.
Fixes https://github.com/bazelbuild/bazel/issues/2634
Fixes https://github.com/google/protobuf/issues/2891
|
| | | | |
| | | | |
| | | | | |
* 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.
|
| | | | | | |
|