- 18 Oct, 2018 1 commit
-
-
Paul Yang authored
* Add ruby 2.3, 2.4 and 2.5 test for linux. * Update kokoro files * Add back commented gc test * Fix gc_test failure * Remove unused code * Update ruby 2.5.0 to 2.5.1 * Update ruby 2.3 to 2.3.8 * Remove useless comment
-
- 17 Oct, 2018 1 commit
-
-
Adam Cozzette authored
Removed unnecessary includes from stubs/common.h
-
- 16 Oct, 2018 1 commit
-
-
Adam Cozzette authored
-
- 15 Oct, 2018 2 commits
-
-
Joshua Haberman authored
Revert "protobuf_generate(): add relative path to output dir"
-
Yilun Chong authored
Remove unnecessary cast to Builder in generated Java code
-
- 12 Oct, 2018 2 commits
- 11 Oct, 2018 2 commits
-
-
Adam Cozzette authored
Link to libatomic when necessary (eg. on armv6l)
-
Sebastian Lövdahl authored
-
- 10 Oct, 2018 2 commits
-
-
Adam Cozzette authored
Update third_party.md regarding Erlang
-
Kenneth Lundin authored
Removing links to Erlang projects which are no longer maintained.
-
- 08 Oct, 2018 4 commits
-
-
Adam Cozzette authored
remove obsolete parent
-
Ben Wolsieffer authored
-
Paul Yang authored
* Replace assert_true/assert_false with assert, because they are not provided in newer version of test/unit * Use rescue to handle exception subclass * Commented out the require that caused gc_test failure. * Commented out test * Fix typo
-
Benjamin Krämer authored
* Ported FieldMaskUtil from Java to C# * Merged FieldMaskUtil into FieldMaskPartial - Removed FieldMaskUtil - Moved FieldMaskTree to root - Updated tests * Improved tests - Removed internal method FieldMaskTree.GetFieldPaths - Proof FieldMask.Paths only contains expected values * Added FieldMaskTreeTest to Makefile * Added FieldMaskTree to Makefile
-
- 07 Oct, 2018 1 commit
-
-
michaelbausor authored
* Add support for primitive types in setters * Update to address PR feedback * Add tests and fixes for repeated fields * Remove repeated field code, add getters * Cleanup, test getters and oneofs * Move boxing logic into separate class * Add tests for wrapper type constructor args * Update to add new setXXXValue methods * Fix tests for invalid values * Fix c extension for wrapper accessors * Fix the bug that well known types didn't call Message_construct * Address PR comments * Refactoring init message with array logic * Add include path to protoc * Add missing TSRM_LS defintion * Fix TSRM_LS * Fix dist check
-
- 05 Oct, 2018 4 commits
-
-
Leon Barrett authored
* Fix parsing empty Struct Values from Json This fixes a bug. When parsing a struct from JSON like struct = json_format.Parse('{"k": {}}', Struct()) then the struct's "k" value would end up not initialized, and accessing the value would raise an error. In[1]: struct['k'] ValueError: Value not set That seems to be because the Struct field of the Value was not set. In[2]: struct Out[2]: fields { key: "k" value { } } This commit makes sure that the Value's Struct field is initialized even if the Struct has no values itself. This commit also extends a test to cover this case. * Additionally test for empty list
-
Josh Kelley authored
* ParseFromString returns bytes parsed ParseFromString is documented as returning the number of bytes parsed, and the C++ implementation does this, so the Python implementation should too. See #5165. * Fix docstring * Add a test for ParseFromString length behavior
-
Sydney Acksman authored
-
Sydney Acksman authored
-
- 04 Oct, 2018 3 commits
-
-
Kevin James authored
Many classes within collections were moved to collections.abc in Python 3.3 -- their usage as imported directly from collections is now deprecated as of Python 3.7 and will be removed soon. The fallback import added in this PR can be removed entirely when support for versions of Python prior to 3.3 is dropped.
-
Paul Yang authored
* Fix dist check for ruby * Fix dist check
-
Adam Cozzette authored
Fixed unsigned warning
-
- 03 Oct, 2018 1 commit
-
-
cburdick authored
-
- 02 Oct, 2018 8 commits
-
-
Adam Cozzette authored
Use ::_close rather than ::close in Win32 stubs.
-
Cliff Burdick authored
-
Thomas Van Lenten authored
-
Thomas Van Lenten authored
Follow ObjC conventions and how the generated header labels things by copying NSStrings/NSData fields when setting them.
-
Thomas Van Lenten authored
Causes a warning in newer Xcodes.
-
Thomas Van Lenten authored
-
Elliotte Harold authored
-
GregTho authored
The former is the proper converse of _open, which is used in ::google::protobuf::internal::win32::open. This resolves issue #5209.
-
- 01 Oct, 2018 3 commits
-
-
Adam Cozzette authored
Added VSCode extension link
-
John Standish authored
Added link to VSCode-Proto3 extension in Other Utilities section
-
Nazarbek Altybay authored
-
- 28 Sep, 2018 1 commit
-
-
Markus Heß authored
This reverts commit 93f6b67e. Protoc adds already the relative path to the output directory. Therefore, we have to remove this again from the output directory to prevent adding it twice.
-
- 27 Sep, 2018 2 commits
-
-
Joshua Haberman authored
Basic Proto2 support for Ruby gem
-
Harshit Chopra authored
This change only adds basic proto2 support without advanced features like extensions, custom options, maps, etc. The protoc binary now generates ruby code for proto2 syntax. However, for now, it is restricted to proto2 files without advanced features like extensions, in which case it still errors out. This change also modifies the DSL to add proto messages to the DescriptorPool. There is a new DSL Builder#add_file to create a new FileDescriptor. With this, the generated ruby DSL looks something like: Google::Protobuf::DescriptorPool.generated_pool.build do add_file "test.proto" do add_message "foo" do optional :val, :int32, 1 end end end
-
- 24 Sep, 2018 2 commits
-
-
Adam Cozzette authored
Smear comments
-
Sydney Acksman authored
* Compiler changes * Generated code changes * Library changes * Compiler style changes * Generated style changes * Fix Windows build errors * Implement changes from review * Reintroduce proto2 check * Compiler changes (required handling review) * Generated code changes (required handling review) * Library changes (required handling review * Field presence rewrite (compiler changes) * Field presence rewrite (generated code changes) * Compiler comment * IFieldAccessor.HasValue library implementation * Remove Clear methods and default values from proto3 code (Compiler) * Remove Clear methods and default values from proto3 code (Generated) * Remove Clear methods and default values from proto3 code (Library) * Fix distcheck error * Rewrite default string values to use base64 and convert * Library changes (IMessage2) * Compiler changes (IMessage2) * Generated changes (IMessage2) * Rebased and regenerated * Compiler changes (initialized extension) * Generated changes (initialized extension) * Library changes (initialized extension) * Refactor MessageExtensions.IsRequired * Move string default value creator and bytes default value creator back to seperate methods * Dead code cleanup * Fixed segmentation fault Removed unused header method declarations
-