241 Commits (5bbb8f7b2c1e5170068a4ce8cc74860707d3cc20)

Author SHA1 Message Date
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
zhangskz 276add0b5c
Add ruby_upb_alloc using xrealloc/xfree so Ruby GC is aware of allocated memory for Arenas. (#9586) 3 years ago
Joshua Haberman 349d74d92e
Updated PHP upb, and utf8_range for Ruby/PHP (#9585) 3 years ago
Anthony Dmitriyev 2ce9604227
Use rb_obj_class instead of CLASS_OF in Ruby C to ignore singleton classes (#9342) 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 aceff710f4 Fixed data loss bug in Ruby extension. 3 years ago
Joshua Haberman 5ef010cb85 Fixed spelling errors in comments. 3 years ago
Joshua Haberman 90065d39a7 Fixed crash bug with proto2 enums. 3 years ago
Joshua Haberman 706ed2d17a Added utf8_range.c as a source file. 3 years ago
Joshua Haberman c153dd9bf7 Updated to new upb APIs. 3 years ago
Joshua Haberman f41049a0f0 Updated upb. 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
miyucy 3881f49ce9
Add size to Map class (#8068) 3 years ago
Joshua Haberman 79ac88bbbb Fixed a memory bug with RepeatedField#+. 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 16e16eb8cd pure-Ruby DSL is passing all tests! 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
Daniel Azuma 414aca5f13
fix(ruby): Fix various exceptions in Ruby on 64-bit Windows (#8563) 4 years ago
Adam Cozzette 4aa425c6c5
Cherry-pick #8356 into 3.16.x (#8518) 4 years ago
Joshua Haberman ce560630bf Sync from Piper @368734211 4 years ago
James D 68cb69ea68
Fix source gem compilation (#8471) 4 years ago
Adam Cozzette e8b78f8208
Fixed memory leak of Ruby arena objects. (#8465) 4 years ago
Joshua Haberman 67fee915e0 Fixed memory leak of Ruby arena objects. 4 years ago
Lukas Fittl 07f263c7ef Address review feedback 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 2fe27d8764 Addressed PR comments and fixed a bug. 4 years ago
Joshua Haberman e1ac393725 Added some more comments and refactored slightly. 4 years ago
Joshua Haberman f0d6fcb2da Wrap secondary map mutations in a mutex, to avoid mutation races. 4 years ago
Joshua Haberman b75a49f9e0 GC secondary map periodically. 4 years ago
Joshua Haberman 96307d28f6 Sync from Piper @364389596 4 years ago
Aaron Patterson addd0615bf
Register mark objects so Protobuf is compaction friendly 4 years ago
Joshua Haberman bb322c2b39 [Ruby] Fixed bug in string comparison logic. 4 years ago
Joshua Haberman 9b5e357df5 Fixed quadratic memory use in array append for PHP and Ruby. 4 years ago
Joshua Haberman 88243e45fc [Ruby] Fixed quadratic memory usage when appending to arrays. 4 years ago
Joshua Haberman dfa54577d6 [Ruby] Fixed SEGV when users pass nil messages. 4 years ago
Lukas Fittl 2c354c6626 Ruby: Add support for proto3 json_name in compiler and field definitions 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