- 12 Oct, 2019 1 commit
-
-
Alan Wu authored
`OneOfDescriptor_each` is registered as a Ruby method which takes zero parameters, which means it should take one argument. When Ruby invokes `OneOfDescriptor_each`, it calls it with one parameter only, which is one less than what `OneOfDescriptor_each` takes before this commit. Calling a function with the wrong number of argument is technically undefined behavior. See also: §6.5.2.2, N1256
-
- 25 Sep, 2019 1 commit
-
-
Joshua Haberman authored
The new function name also better reflects the semantics of the function. Like timegm(), this function always converts to/from UTC, not local time.
-
- 05 Sep, 2019 1 commit
-
-
Paul Yang authored
* Sync upb https://github.com/protocolbuffers/upb/pull/209 * Update upb https://github.com/protocolbuffers/upb/pull/210
-
- 04 Sep, 2019 1 commit
-
-
Paul Yang authored
* Sync upb https://github.com/protocolbuffers/upb/pull/209 * Update upb https://github.com/protocolbuffers/upb/pull/210
-
- 28 Aug, 2019 1 commit
-
-
Joshua Haberman authored
-
- 27 Aug, 2019 1 commit
-
-
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
-
- 22 Aug, 2019 4 commits
-
-
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.
-
Joshua Haberman authored
-
Joshua Haberman authored
-
Joshua Haberman authored
-
- 20 Aug, 2019 1 commit
-
-
Joshua Haberman authored
This fixes https://github.com/protocolbuffers/protobuf/issues/6532.
-
- 16 Aug, 2019 2 commits
-
-
Joshua Haberman authored
-
Joshua Haberman authored
-
- 15 Aug, 2019 2 commits
-
-
Joshua Haberman authored
-
Joshua Haberman authored
-
- 14 Aug, 2019 1 commit
-
-
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.
-
- 13 Aug, 2019 1 commit
-
-
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.
-
- 25 Jul, 2019 1 commit
-
-
Joe Bolinger authored
* support hashes for struct initalizers * convert hash keys to string * update tests * add extra asserts
-
- 23 Jul, 2019 1 commit
-
-
Joe Bolinger authored
-
- 17 Jun, 2019 1 commit
-
-
Paul Yang authored
* Change int64 json encoding to be string for php and ruby * Fix ruby test * Sync upb change
-
- 16 Jun, 2019 1 commit
-
-
Sorah Fukumori authored
value_field_typeclass should be a enum module, not EnumDescriptor object. Also expanding tests for enum valued maps. Fixes #4580 Signed-off-by:
Sorah Fukumori <her@sorah.jp>
-
- 22 May, 2019 1 commit
-
-
Mike Moore authored
-
- 14 May, 2019 1 commit
-
-
Joshua Haberman authored
-
- 13 May, 2019 1 commit
-
-
Aaron Patterson authored
In general, I think it will help us to debug issues if we have less C code and more Ruby code. This method can be implemented in pure Ruby, so this commit converts it to pure Ruby.
-
- 10 May, 2019 1 commit
-
-
Paul Yang authored
* Custom mktime to fix issue on mac * Remove succeeded tests from failure list
-
- 28 Mar, 2019 3 commits
- 27 Mar, 2019 2 commits
-
-
Bo Yang authored
-
Joe Bolinger authored
* add wrapper type helpers * add check for _as_value suffix
-
- 26 Mar, 2019 1 commit
-
-
Joe Bolinger authored
* add implicit time conversion * add duration * add init test * more tests * add type check and alternative c type check * add rational and bigdecimal * use rb_obj_is_kind_of * use native time check * chain implicit conversions * remove unused variable
-
- 25 Mar, 2019 2 commits
-
-
Benjamin Peterson authored
-
Paul Yang authored
* Allow bytes field to be longer than 16000 bytes * Remove empty line
-
- 20 Mar, 2019 1 commit
-
-
Paul Yang authored
* Replace strptime with custom implementation * Fix ruby strptime * Fix test * Fix ruby conformance test * Use mktime * Remove EmptyFieldMask from failed conformance test list
-
- 14 Mar, 2019 1 commit
-
-
Joe Bolinger authored
-
- 12 Mar, 2019 1 commit
-
-
Paul Yang authored
* Add conformance test for nested listvalue * Fix upb for parsing repeated Value/ListValue * Add failed repeated ListValue conformance test into php failure list
-
- 11 Mar, 2019 1 commit
-
-
Paul Yang authored
* Encode empty ListValue * Update mac ruby conformance failure list
-
- 08 Mar, 2019 1 commit
-
-
bmoyles0117 authored
* add check for overflow * de-nestify * break long lines
-
- 06 Mar, 2019 2 commits
-
-
Joshua Haberman authored
This reverts commit 37581380.
-
Joshua Haberman authored
-