38 Commits (769826e338075ac4e13c4571f2f3f2b2f15e0353)

Author SHA1 Message Date
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
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
Joshua Haberman ce560630bf Sync from Piper @368734211 4 years ago
James D 68cb69ea68
Fix source gem compilation (#8471) 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
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 cf28f28347
Updated upb to allow nonzero offset minutes in JSON timestamps. (#8258) 4 years ago
Joshua Haberman 9abf6e2ab0
Ported Ruby extension to upb_msg (#8184) 4 years ago
root 68f72f3f6c bug fix. in a 32-bit system, sizeof(mem_block) is only 8, _upb_arena_alignup(sizeof(mem_block)) is 16 4 years ago
Joshua Haberman 95e6c5b474 Sync from Piper @327110949 4 years ago
Peter Newman e2cc2de304
Fix lots of spelling errors (#7751) 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 74ad62759e Sync from Piper @306496510 5 years ago
Joshua Haberman 0d43ba41ee
Update to new upb version (#7372) 5 years ago
Penelope Phippen c558aa75a3
Call "Class#new" over rb_class_new_instance in decoding (#7352) 5 years ago
Joshua Haberman c649397029
Set execute bit on files if and only if they begin with (#!). (#7347) 5 years ago
Rafi Kamal 906e9c6897
Fix for JSON serialization of 0/empty-valued wrapper types (#7198) (#7204) 5 years ago
Rafi Kamal 37fc4327ef
Fix for wrappers with a zero value (#7195) (#7201) 5 years ago
Joshua Haberman f2c5ee5117
Fix for JSON serialization of 0/empty-valued wrapper types (#7198) 5 years ago
Joshua Haberman 1a74ba4cb4
Fix for wrappers with a zero value (#7195) 5 years ago
Brian Wignall a104dffcb6 Fix typos (#7050) 5 years ago
Joshua Haberman 781d6963c6 Fixed the case of multi-line strings in JSON. 5 years ago
Joshua Haberman 5f25400250 Fixed conformance test regression: empty string wrapper. 5 years ago
Joshua Haberman e8c67e14ac Fixed the oneof case for lazy wrappers. 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
Joshua Haberman 969d245bd3 WIP: first steps towards lazily creating wrappers. 5 years ago