13 Commits (769826e338075ac4e13c4571f2f3f2b2f15e0353)

Author SHA1 Message Date
Joshua Haberman 367e4691d2
Fixed memory bug: properly root repeated/map field when assigning. (#8639) 4 years ago
Joshua Haberman 0b87475592
Php & Ruby Cherry Picks for 3.17.1 (#8632) 4 years ago
Daniel Azuma 7e3bbeda92
fix(ruby): Fix crash when calculating Message hash values on 64-bit Windows (#8565) 4 years ago
Joshua Haberman ce560630bf Sync from Piper @368734211 4 years ago
Joshua Haberman 38e1b59258 Elided the TYPE() and msgdef checks by using CLASS_OF. 4 years ago
Joshua Haberman d69f482883 Fixed message equality in cases where the message type is different. 4 years ago
Joshua Haberman 96307d28f6 Sync from Piper @364389596 4 years ago
Joshua Haberman dfa54577d6 [Ruby] Fixed SEGV when users pass nil messages. 4 years ago
Joshua Haberman 9879f423ff Ruby <2.7now uses WeakMap too, which prevents memory leaks. 4 years ago
Joshua Haberman 4e3ea74e42 [Ruby] Fix for FieldDescriptor.get(msg). 4 years ago
Joshua Haberman 3b3aac95a6 [Ruby] Fix for truncating behavior when converting Float to Duration. 4 years ago
Joshua Haberman 256f1327ea [Ruby] Bugfix for Message.[] for repeated or map fields. 4 years ago
Joshua Haberman 9abf6e2ab0
Ported Ruby extension to upb_msg (#8184) 4 years ago
listonjesse 2ae7cf0e03 Auxillary -> Auxiliary 5 years ago
Joshua Haberman 32e5deb1ac Sync from Piper @308829107 5 years ago
Joshua Haberman 6b759688a1
Implemented proto3 presence for Ruby. (#7406) 5 years ago
Joshua Haberman 18950451c7
Ruby: assigning 'nil' to submessage should clear the field. (#7397) 5 years ago
Joshua Haberman bd253f0130 Fixed equality, and extended to repeated fields and maps. 5 years ago
Joshua Haberman 9cfb12bf0a Tests pass for all common operations. 5 years ago
Joshua Haberman 969d245bd3 WIP: first steps towards lazily creating wrappers. 5 years ago
Joshua Haberman 671c2459fc Fixed crash bug and moved initialization into init method. 5 years ago
Joshua Haberman 3e3407af49 Re-add memset() that seemed redundant but is necessary in case of GC. 5 years ago
Joshua Haberman cf07d3c1b2 layout_init() optimization works! 5 years ago
Joshua Haberman 1c9fb9d45b WIP. 5 years ago
Joshua Haberman 0f76f8a83b Put oneof case offset in separate oneof table. 5 years ago
Joshua Haberman 63f324a993 Roll forward Ruby upb changes now that protobuf Ruby build is fixed (#5866) 5 years ago
Joe Bolinger 180d3e3287 fix null terminated string (#6370) 5 years ago
Mike Moore 565154af78
Remove Ruby to_hash methods 6 years ago
Joshua Haberman d57581348d
Revert "Convert Google::Protobuf.deep_copy to pure Ruby" 6 years ago
Aaron Patterson 3b67455319
Convert Google::Protobuf.deep_copy to pure Ruby 6 years ago
Joe Bolinger e4bbca1fc5 Add wrapper type helpers for Ruby (#5739) 6 years ago
Joe Bolinger 0114727cc6 add more descriptive error messages to init methods 6 years ago
Joshua Haberman 1568deab40
Revert "Updated upb from defcleanup branch and modified Ruby to use it (#5539)" (#5848) 6 years ago
Joshua Haberman 37581380fb
Updated upb from defcleanup branch and modified Ruby to use it (#5539) 6 years ago
Joe Bolinger 76685c6fae Add frozen checks in Ruby (#5726) 6 years ago
Joe Bolinger a6e3ac0db1 Generate extra enum method helpers for Ruby (#5670) 6 years ago
Joe Bolinger bc929a3e82 add eql? method (#5730) 6 years ago
Joe Bolinger 39c0947893 implement to_s for message types (#5710) 6 years ago
Joe Bolinger 64eb9b6e85 Add more descriptive error messages to init methods in Ruby (#5659) 6 years ago
Paul Yang aa5c12e882
Revert "Revert "Enable the ignore_unknown_field option in the Ruby unmarshal options" (#5511)" (#5533) 6 years ago
Paul Yang be1716a6d0
Revert "Enable the ignore_unknown_field option in the Ruby unmarshal options" (#5511) 6 years ago
Erik Benoist 9ac11326df Adds the ability to ignore unknown fields on parse 6 years ago
Hao Nguyen 3c547fcdf3 Lower the severity of lower-case ruby enum to warning. Add conformance test for allow_alias with lower_case enums 6 years ago
Hao Nguyen c11096c10d Do not require Ruby enum to be upper case 6 years ago
Hao Nguyen 37dbfd6c46 Do not require ruby enum to be uppercase 6 years ago
Harshit Chopra d0535cc09e Adds support for proto2 syntax for Ruby gem. 6 years ago
Zachary Anker 70544627cb When initializing a message, skip a field if value is nil (#3693) 7 years ago
Erik Benoist 74f8e24232 Adds a base class for all explicitly raised TypeErrors (#4255) 7 years ago
Michael Collis 2a6eaeb86e
Fix scope resolution for MessageExts in Ruby 7 years ago
Paul Yang 23adfeb003 Reserve unknown in Ruby (#3763) 7 years ago