20 Commits (176a0f456dcde9d977a1a3d28dca9bab89fe8504)

Author SHA1 Message Date
Protobuf Team Bot e4970aac30 Disallow initializing `Messages` (as well as `Maps` and `RepeatedFields`) with nil `Arena`. 6 months ago
Protobuf Team Bot 1194440c24 Remove `Arena_pin` in favor of adopting the UPB freezing API. 6 months ago
Jean byroot Boussier 87cbdddbf0 Ruby implement memsize functions for native types (#10291) 10 months ago
Joshua Haberman 31313b1652 Breaking Change: freeze is now recursive, affecting all sub-messages, maps, and repeated fields. 11 months ago
Eric Salo df57e5474b upb: fix Ruby bug which allowed map.delete(key) on a frozen map 11 months ago
Joshua Haberman 75455eae6c Fixed compiler warnings in the Ruby C extension. 11 months ago
Jason Lunn ae1f2b7e1b Add support for options in CRuby, JRuby and FFI (#14594) 1 year ago
Joshua Haberman ba9e2afcfc Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full. 1 year ago
Matt Fowles Kulukundis a01d047456 Refactor the object cache to better account for race conditions (#13204) 1 year ago
Eric Salo b7d54ace5e switch PHP and Ruby over to the new upb_Map_Delete() 2 years ago
Eric Salo b598b2dd1f switch PHP and Ruby to using upb_Map_Delete2() 2 years ago
Eric Salo 8809a113bc update Ruby to use the newer upb_Map_Next() iterator 2 years ago
Joshua Haberman c153dd9bf7 Updated to new upb APIs. 3 years ago
miyucy 3881f49ce9
Add size to Map class (#8068) 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 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
alusco-scratch 00a7ea4de1
Override Map.clone to use Map's dup method 4 years ago
listonjesse 2ae7cf0e03 Auxillary -> Auxiliary 5 years ago
Joshua Haberman 74ad62759e Sync from Piper @306496510 5 years ago
Joshua Haberman 0d43ba41ee
Update to new upb version (#7372) 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 cf07d3c1b2 layout_init() optimization works! 5 years ago
Joshua Haberman 63f324a993 Roll forward Ruby upb changes now that protobuf Ruby build is fixed (#5866) 5 years ago
Joe Bolinger 41e12344a1 Support hashes for struct initializers (#5716) 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 0114727cc6 add more descriptive error messages to init methods 6 years ago
Joe Bolinger 76685c6fae Add frozen checks in Ruby (#5726) 6 years ago
Joe Bolinger 64eb9b6e85 Add more descriptive error messages to init methods in Ruby (#5659) 6 years ago
Paul Yang cf7c15e31a
Fix ruby gc_test in ruby 2.4 (#4011) 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
Josh Haberman ff7f68ae9f Ruby: encode and freeze strings when the are assigned or decoded. 8 years ago
Josh Haberman d61e6adfcc Return TypedData_Wrap_Struct directly. 9 years ago
Josh Haberman a1daeaba80 Conform to C89/C90 variable declaration rules. 10 years ago
Josh Haberman e8ed021ee7 Updated upb to latest version (C89). 10 years ago
Isaiah Peng 4502626fa7 Google::Protobuf::Map#inspect should be consistent with Hash#inspect 10 years ago
Chris Fallin addd26cbb3 Addressed code-review comments. 10 years ago
Chris Fallin 4c92289766 Addressed code-review comments. 10 years ago
Chris Fallin 80276ac021 Addressed code-review comments. 10 years ago
Chris Fallin fd1a3ff11d Support for maps in the MRI C Ruby extension. 10 years ago