22 Commits (fd2b04619b36017f740c4ca5dba587ef45cefa7c)

Author SHA1 Message Date
Mike Kruskal 33bc6fb2a4
Replace libc strdup usage with internal impl to restore musl compat. (#10811) (#10818) 2 years ago
tison fa5a9e1035
Auto capitalize enums name in Ruby (#10454) (#10763) 2 years ago
Joshua Haberman 16dccd6820
Updated Ruby to the latest upb. (#9589) (#9630) 3 years ago
Joshua Haberman 7ecf43f0ce
Updated Ruby to the latest upb. (#9589) 3 years ago
Adam Cozzette b20209f321 Sync from Piper @acozzette/proto_github_202203101748 3 years ago
Luka Dornhecker 24a0659f95
[Ruby] allow encode json options to be an object that responds to to_hash (#9513) 3 years ago
Adam Cozzette d5ef16c6eb
Ruby: rename max_recursion_depth to recursion_limit (#9486) 3 years ago
Lukas Fittl fbe6ab2487
[Ruby] Message.decode/encode: Add max_recursion_depth option (#9218) 3 years ago
Joshua Haberman c153dd9bf7 Updated to new upb APIs. 3 years ago
Peter Zhu b2ac7ced50 Fix memory leak in MessageClass.encode 3 years ago
Peter Zhu 3a18299cc0 Fix memory leak in MessageClass.encode 3 years ago
Bo Yang 509aee4b8b Sync from Piper @391414001 3 years ago
Adam Cozzette 562fc946c7 Sync from Piper @388508285 3 years ago
Joshua Haberman 9d578a3a9c Ported Ruby to ABSL wyhash. 3 years ago
Joshua Haberman 9521803d40 Sync from Piper @375548932 4 years ago
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
Joshua Haberman dd69a484c0
Updated version of upb for Ruby (#8624) 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