592 Commits (24e661b01ca956d58ffbad0157fc40d4c7e1f57f)

Author SHA1 Message Date
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
alusco-scratch 00a7ea4de1
Override Map.clone to use Map's dup method 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 2adea4c64a Some preliminary work towards a ruby builder. 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
Alan Wu c1ba7c643c Remove unused argument to avoid UB 5 years ago
Joshua Haberman 61b6670a2a Fixed leap year handling by reworking upb_mktime() -> upb_timegm(). (#6695) 5 years ago
Paul Yang 398d37f95f Sync upb (#6614) 5 years ago
Paul Yang 7f520092d9
Sync upb (#6614) 5 years ago
Joshua Haberman 671c2459fc Fixed crash bug and moved initialization into init method. 5 years ago
Paul Yang 659e799fb8
Sync upb (#6577) 5 years ago
Joshua Haberman 780b050975 Fix for GC of Ruby map frames. (#6533) 5 years ago
Joshua Haberman 3e3407af49 Re-add memset() that seemed redundant but is necessary in case of GC. 5 years ago