- 25 May, 2018 5 commits
-
-
Brent Shaffer authored
* PHP array constructors for protobuf messages * removes Descriptor from error message * allows mergeFrom to accept an array * only use initWithDescriptor if instanceof MapEntry * adds doc comments * removes ability for constructors to take arrays for submessages * Revert "allows mergeFrom to accept an array" This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9. * makes mergeFromArray protected and fixes mergeFrom whitespace * Separates merging from JSON and merging from PHP array * removes well-known types and json keys from array construction * Addresses PR review comments * cleans up tests * fixes exception messages
-
Bo Yang authored
-
Erik Benoist authored
-
Paul Yang authored
* Adopt ruby_package in ruby generated code. * Add test for ruby_package
-
Paul Yang authored
* Adopt php_metadata_namespace in php code generator The php_metadata_namespace is corresponded to the relative directory of the metadata file. e.g., previously, the metadata file of foo.proto was GPBMetadata/Foo.php. If the php_metadata_namespace is "Metadata\\Bar", the metadata file will be Metadata/Bar/Foo.php. * Handle empty php_metadata_namespace
-
- 24 May, 2018 2 commits
-
-
Adam Cozzette authored
Make sure to delete temporary maps used by FileDescriptorTables
-
Adam Cozzette authored
I ran the tcmalloc heap checker in draconian mode, and it reported some heap allocations that were still reachable when protobuf-test exited. To fix that, I updated FileDescriptorTables to make sure its temporary heap-allocated maps are deleted when it is destroyed.
-
- 15 May, 2018 1 commit
-
-
Jisi Liu authored
Update version number to 3.6.0
-
- 14 May, 2018 1 commit
-
-
Jisi Liu authored
-
- 11 May, 2018 2 commits
- 10 May, 2018 2 commits
- 09 May, 2018 1 commit
-
-
Jie Luo authored
use brew instead of easy_install in OSX (easy_install keep failing for a month)
-
- 06 May, 2018 1 commit
-
-
Feng Xiao authored
Fix error in Clang UndefinedBehaviorSanitizer
-
- 04 May, 2018 1 commit
-
-
Petter Strandmark authored
Pointer Arguments to memcpy can not be null in UndefinedBehaviorSanitizer. In this case, both the memory and the size was zero. This change allows protoc to run under UndefinedBehaviorSanitizer.
-
- 03 May, 2018 2 commits
-
-
David Chennells authored
Add mention to the "Build" section of the ReadMe of the requirement of installing an optional component to VS2017.
-
Yilun Chong authored
-
- 02 May, 2018 4 commits
-
-
Feng Xiao authored
Fix MinGW build
-
Ivan Shynkarenka authored
-
Feng Xiao authored
Fix CMake build on Cygwin.
-
Ivan Shynkarenka authored
-
- 30 Apr, 2018 5 commits
-
-
Stuart Campbell authored
Make RepeatedField#delete_if consistent with Array#delete_if.
-
Petar Dambovaliev authored
The class name was linked to the next word in the sentence. "User\UserRequestis not found in descriptor pool."
-
Feng Xiao authored
Add a third-party RPC implementation: raster
-
Hiroshi Ichikawa authored
* Fix memory leak of exceptions raised by RaiseException() Currently exceptions raised by RaiseException() is never deallocated because: * ARC is disabled for this library: https://github.com/google/protobuf/blob/master/BUILD#L913 * It is constructed with `+alloc` but is never `-release`d. This change fixes the issue by using `-[NSException exceptionWithName:...]` instead, which returns an autoreleased instance, so it is deallocated properly. * Fix format.
-
Yeolar authored
Add third-party RPC implementation: raster - a network framework supports pbrpc by 'service' keyword.
-
- 27 Apr, 2018 4 commits
-
-
Feng Xiao authored
fixed typo
-
Feng Xiao authored
CMake: Update CXX Standard management
-
Jon Skeet authored
With this fix, Unity using IL2CPP should work with one of two approaches: - Call `FileDescriptor.ForceReflectionInitialization<T>` for every enum present in generated code (including oneof case enums) - Ensure that IL2CPP uses the same code for int and any int-based enums The former approach is likely to be simpler, unless IL2CPP changes its default behavior. We *could* potentially generate the code automatically, but that makes me slightly uncomfortable in terms of generating code that's only relevant in one specific scenario. It would be reasonably easy to write a tool (separate from protoc) to generate the code required for any specific set of assemblies, so that Unity users can include it in their application. We can always decide to change to generate it automatically later.
-
Brady Killeen authored
-
- 25 Apr, 2018 3 commits
-
-
Jisi Liu authored
Set ext.no_native = true for non mac platform
-
Corentin Le Molgat authored
- merge loop for .h and .proto includes - fix shellcheck errors
-
- 24 Apr, 2018 2 commits
-
-
Corentin Le Molgat authored
-
Mizux authored
For google/or-tools, on windows, we need to use `import "google/protobuf/wrappers.proto";` since we want "optional" int64 and in version3 POD get default value... -> so we use "google.protobuf.Int64Value" since 0 is a valid value and different from "not set" for our use case.
-
- 21 Apr, 2018 1 commit
-
-
Thomas Van Lenten authored
-
- 20 Apr, 2018 2 commits
-
-
Thomas Van Lenten authored
The tests can run as what Apple calls a Logic Test (under xctest), which means it doesn't have to load an full UI App under the simulator, which speeds things up a fair amount.
-
Yilun Chong authored
Fix benchmark build
-
- 19 Apr, 2018 1 commit
-
-
Sydney Acksman authored
* Edited MessageFieldGenerator to clone to backing field instead of property * Generated C# proto code
-