- 27 Aug, 2019 2 commits
-
-
Jie Luo authored
* Add missing files under benchmarks/ to the dist * fix typo
-
Paul Yang authored
* Sync upb * https://github.com/protocolbuffers/upb/pull/208 * Fix php c extension compiling Don't use macros defined by upb * Update ruby conformance failure list
-
- 26 Aug, 2019 1 commit
-
-
Thomas Van Lenten authored
Enums use varint, so if the value is negative it should end up being longer. This was caught my new conformance test cases.
-
- 23 Aug, 2019 11 commits
-
-
Rafi Kamal authored
Update versions to 3.9.1
-
Joshua Haberman authored
Removed ByteCountInt64. This is a transitional typedef that should n…
-
Paul Yang authored
* Test singular fields are encoded in canonical way * Defautl values in proto3 should not be encoded. * Values should be converted to the canonical representation (e.g., long int64 value may be truncated for int32 field) * Update failure list * Update failure list
-
Joshua Haberman authored
-
Mohamed Heikal authored
-
Mohamed Heikal authored
-
Mohamed Heikal authored
clang-cl requires the order to be the opposite of what it currently is. It should not affect other compilers since this is the only compiler that has both macros defined.
-
Rafi Kamal authored
Down integrate internal changes to GitHub
-
Rafi Kamal authored
Update to Truth 1.0
-
Elliotte Rusty Harold authored
-
Rafi Kamal authored
-
- 22 Aug, 2019 4 commits
-
-
Paul Yang authored
The previous issue of mktime doesn't work on Mac has been fixed.
-
Joshua Haberman authored
We were creating a map decoding frame when starting the *map*, but clearing the GC slot when finishing each *map entry*. This means that the decoding frame could be collected in the meantime.
-
Julio Monteiro authored
* Add source code URI to the Ruby gemspec file As a developer, I would like to easily find the source code origin for this gem when browsing through https://rubygems.org/gems/google-protobuf. In order to solve this, I've followed instructions at https://guides.rubygems.org/specification-reference/#metadata by adding the source_code_uri metadata key pair. * Use git tag instead of fixed "master" string * Substitute the string, not the Gem::Version
-
Paul Yang authored
Proto2 has been tested for invalid cases. Check implementation of ExpectParseFailureForProto (https://github.com/protocolbuffers/protobuf/blob/master/conformance/binary_json_conformance_suite.cc#L322)
-
- 20 Aug, 2019 5 commits
-
-
Elliotte Rusty Harold authored
-
Joshua Haberman authored
Fix for race in lazy initialization of handlers.
-
Joshua Haberman authored
Optimized layout_mark() for Ruby
-
Joshua Haberman authored
This fixes https://github.com/protocolbuffers/protobuf/issues/6532.
-
Paul Yang authored
-
- 16 Aug, 2019 2 commits
-
-
Joshua Haberman authored
-
Joshua Haberman authored
-
- 15 Aug, 2019 7 commits
-
-
Adam Liddell authored
Archive is declared in the protobuf_deps() call above
-
Adam Liddell authored
-
Adam Liddell authored
When the @six//:six library is used on a target without the `legacy_create_init` flag disabled, the library will not be usable due to __init__.py being empty and the six code will be in six.py. This change forces six to occupy the __init__ name, preventing this file getting created regardless of the `legacy_create_init` setting. See comments on a74c43bb for context: https://github.com/protocolbuffers/protobuf/commit/a74c43bbd906a42b6bf70668c5d515c6f1d8d2cb
-
DNKpp authored
Signed-off-by: DNKpp <dnkpp2011@gmail.com>
-
Joshua Haberman authored
-
Joshua Haberman authored
-
Joshua Haberman authored
-
- 14 Aug, 2019 2 commits
-
-
Joshua Haberman authored
* Rolled forward again with "Updated upb from defcleanup branch..." Revert "Revert "Updated upb from defcleanup branch and modified Ruby to use it (#5539)" (#5848)" This reverts commit 1568deab. * A few more merge fixes. * Updated for defcleanup2 branch. * Fixed upb to define upb_decode(). * Fixed names of nested messages. * Revert submodule. * Set -std=gnu90 and fixed warnings/errors. Some of our Kokoro tests seem to run with this level of warnings, and the source strives to be gnu90 compatible. Enforcing it for every build removes the possibility of some errors showing up in Kokoro/Travis tests only. * Fixed remaining warnings with gnu90 mode. I tried to match warning flags with what Ruby appears to do in our Kokoro tests. * Initialize values registered by rb_gc_register_address(). * Fixed subtle GC bug. We need to initialize this marked value before creating the instance. * Truly fix the GC bug. * Updated upb for mktime() fix. * Removed XOPEN_SOURCE as we are not using strptime(). * Removed fixed tests from the conformance failure list for Ruby. * Fixed memory error related to oneof def names. * Picked up new upb changes re: JSON printing. * Uncomment concurrent decoding test.
-
Joshua Haberman authored
Optimized away the creation of empty string objects.
-
- 13 Aug, 2019 2 commits
-
-
Paul Yang authored
-
Joshua Haberman authored
Prior to this CL, creating an empty message object would create two empty string objects for every declared field. First we created a unique string object for the field's default. Then we created yet another string object when we assigned the default value into the message: we called #encode to ensure that the string would have the correct encoding and be frozen. I optimized these unnecessary objects away with two fixes: 1. Memoize the empty string so that we don't create a new empty string for every field's default. 2. If we are assigning a string to a message object, avoid creating a new string if the assigned string has the correct encoding and is already frozen.
-
- 09 Aug, 2019 4 commits