24 Commits (e1638dc8232315678416e62b24b67084f6d93256)

Author SHA1 Message Date
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 f824f6d0d7 Moved ObjectCache into an internal module. 10 months ago
Joshua Haberman ba9e2afcfc Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full. 1 year ago
Stan Hu 055c3782f6 ruby: Fix object cache lookups on 32-bit platforms (#13494) 1 year ago
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
Jean byroot Boussier d82d8a48f6 Ruby: Implement Write Barriers (#11793) 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
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 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
Daniel Azuma 414aca5f13
fix(ruby): Fix various exceptions in Ruby on 64-bit Windows (#8563) 4 years ago
Joshua Haberman ce560630bf Sync from Piper @368734211 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
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 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 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 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
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 cd5f49d094 Fix ruby segment fault (#3708) 7 years ago
Aaron Patterson c1dd8e85a1 Move parse frame array to the Map object 7 years ago
Aaron Patterson d6152dd51c
Move parse frame array to the Map object 7 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 181c7f2636 Added Ruby to conformance tests. 10 years ago
Josh Haberman a1daeaba80 Conform to C89/C90 variable declaration rules. 10 years ago
Chris Fallin 231886f632 Ruby C extension speedup: don't re-intern constant string needlessly. 10 years ago
Adam Greene d1b52a00e0 adding and simplifying encoders/decoders 10 years ago
Chris Fallin fcd8889d5b Support oneofs in MRI Ruby C extension. 10 years ago
Chris Fallin fd1a3ff11d Support for maps in the MRI C Ruby extension. 10 years ago
Chris Fallin 91473dcebf Rename protobuf Ruby module to google/protobuf and rework its build 10 years ago
Chris Fallin 973f425725 Provide a Ruby extension. 10 years ago