9 Commits (b81d2cc8c5c0210414f80c4d4e8883037b613859)

Author SHA1 Message Date
Joshua Haberman 3f98af287b Updated Ruby min version to 2.7, and removed some compat code 1 year ago
Matt Fowles Kulukundis a01d047456 Refactor the object cache to better account for race conditions (#13204) 1 year ago
Joshua Haberman b2a520f693 Respect NDEBUG for asserts even though Ruby 3+ pollutes it. 2 years ago
Joshua Haberman c153dd9bf7 Updated to new upb APIs. 3 years ago
Adam Cozzette 562fc946c7 Sync from Piper @388508285 3 years ago
Joshua Haberman 367e4691d2
Fixed memory bug: properly root repeated/map field when assigning. (#8639) 4 years ago
Joshua Haberman ce560630bf Sync from Piper @368734211 4 years ago
Joshua Haberman e1ac393725 Added some more comments and refactored slightly. 4 years ago
Joshua Haberman 9879f423ff Ruby <2.7now uses WeakMap too, which prevents memory leaks. 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 8393d4833f Nearly all known cases (map, repeated field, and top-level) have been addressed. 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
Alan Wu c1ba7c643c Remove unused argument to avoid UB 5 years ago
Joshua Haberman cf07d3c1b2 layout_init() optimization works! 5 years ago
Joshua Haberman c02a6fbf2c Bugfix for GC mark of oneof fields. 5 years ago
Joshua Haberman 1c9fb9d45b WIP. 5 years ago
Joshua Haberman 013a0ea882 Optimized layout_mark to not iterate over the msgdef. 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
Joshua Haberman 1e37a94bb5 Optimized away the creation of empty string objects. 5 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 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 64eb9b6e85 Add more descriptive error messages to init methods in Ruby (#5659) 6 years ago
Paul Yang 37a0ab7d83
Fix Any json encoding/decoding for ruby. (#5592) 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
Harshit Chopra d0535cc09e Adds support for proto2 syntax for Ruby gem. 6 years ago
Erik Benoist 74f8e24232 Adds a base class for all explicitly raised TypeErrors (#4255) 7 years ago
Paul Yang 0e7b589566
Add discard unknown API in ruby. (#3990) 7 years ago
Paul Yang 23adfeb003 Reserve unknown in Ruby (#3763) 7 years ago
Paul Yang cd5f49d094 Fix ruby segment fault (#3708) 7 years ago
Aaron Patterson a459b224b5 Storing the frame on the map means we don't need the array 7 years ago
Aaron Patterson c1dd8e85a1 Move parse frame array to the Map object 7 years ago
Aaron Patterson f55c6ec24f
Storing the frame on the map means we don't need the array 7 years ago
Aaron Patterson d6152dd51c
Move parse frame array to the Map object 7 years ago
Josh Haberman 9c6b8cb9bf Ruby: fixed Message#to_h for map fields. 8 years ago
Joshua Haberman dd45c0b9fd Merge pull request #2012 from haberman/rubymapgcfix 8 years ago
Josh Haberman d4213d839f Ruby: make sure map parsing frames are GC-rooted. 8 years ago
Josh Haberman ff7f68ae9f Ruby: encode and freeze strings when the are assigned or decoded. 8 years ago
Josh Haberman 194ad621bb Ruby JSON: always accept both camelCase and original field names. 9 years ago
Josh Haberman 78da66698b Changed Ruby to properly camelCase its JSON by default. 9 years ago
Josh Haberman 181c7f2636 Added Ruby to conformance tests. 10 years ago