244 Commits (21.x)

Author SHA1 Message Date
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
Joshua Haberman b9131f0aab Removed commented-out code. 5 years ago
Joshua Haberman cf07d3c1b2 layout_init() optimization works! 5 years ago
Joshua Haberman b245551a61 Fix for race in lazy initialization of handlers. 5 years ago
Joshua Haberman c02a6fbf2c Bugfix for GC mark of oneof fields. 5 years ago
Joshua Haberman 1c9fb9d45b WIP. 5 years ago
Joshua Haberman 013a0ea882 Optimized layout_mark to not iterate over the msgdef. 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
Joshua Haberman 1e37a94bb5 Optimized away the creation of empty string objects. 5 years ago