48 Commits (e54174728f358c51a3a27f25fe275aad78828779)

Author SHA1 Message Date
Protobuf Team Bot fd4625e906 Remove setter_opt and add clearer for with-presence scalar fields, and add flat setter for msg fields. 1 year ago
Protobuf Team Bot 5a0135e65a Bring back 'flat' setters for singular scalars and strings. 1 year ago
Protobuf Team Bot 033ff1710e Introduce a RustFieldType enum which captures the primitive types that a rust field can be. 1 year ago
Hong Shin dc7001e517 Fix message vtable::clear 1 year ago
Hong Shin f9ec860691 Add more test coverage exercising msg_mut and msg_opt 1 year ago
Protobuf Team Bot d2b2ef34ba Add SettableValue<Msg> for owned Msg. 1 year ago
Hong Shin 7e1316ca81 Implement _opt for messages 1 year ago
Hong Shin f4511fda5a Implement and use field entries for `_mut` 1 year ago
Marcel Hlopko c1d174f7d2 Stop codegenning module for .proto package 1 year ago
Protobuf Team Bot 4773c091d2 Also emit the oneof accessors into $Msg$Mut and $Msg$View 1 year ago
Kevin King 7b42f1c08b Add `Msg::as_{view,mut}()` 1 year ago
Alyssa Haroldsen e7a224cd85 Support enums as oneof fields 1 year ago
Alyssa Haroldsen 20933b2b22 Implement singular enum accessors 1 year ago
Kevin King 8876b1069f impl SettableValue for MsgView 1 year ago
Hong Shin 52ee619733 Migrate all remaining instances of assert_eq! to googletest-rust sans strings 1 year ago
Adrian Sadłocha b19deb9275 Remove separate setters for singular scalars 1 year ago
Hong Shin 53411896ab Add coverage for default_string and default_bytes in test_default_accessors 1 year ago
Hong Shin acad27f027 Move repeated tests into their own file 1 year ago
Hong Shin b3cfff3478 Introduce preliminary submessage_mut semantics 1 year ago
Protobuf Team Bot a2eda0427b Enable the mutable oneof accessor. 1 year ago
Protobuf Team Bot f083530a06 Allow string + bytes fields in oneofs (now that the underyling accessors match the expected shape) 1 year ago
Kevin King 65cdac4ac5 Finish Proxied impls for rust repeated scalars 1 year ago
Adrian Sadłocha c303109141 Implement mutators for singular primitive fields with presence 1 year ago
Protobuf Team Bot e1bb7d65a8 Implement rust repeated scalars for cpp and upb 1 year ago
Hong Shin 6424bcad0a Add custom matchers for ProxiedWithPresence. 1 year ago
Hong Shin 19aad63844 Migrate accessors_test.rs to googletest-rust 1 year ago
Sandy Zhang 81068e8e8c Internal change 2 years ago
Protobuf Team Bot 09d2511a6c Initial skeleton towards oneof's Mut accessor, and clarify oneof the View accessor to use View<> instead of the raw primitive type. 2 years ago
Adrian Sadłocha 207331d860 Return Optional instead of Option in getter_opt 2 years ago
Hong Shin d72e790084 Return the correct view type for messages 2 years ago
Joshua Haberman 67ee3b98c5 Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full. 2 years ago
Alyssa Haroldsen 614e29f946 Implement v0.6 string fields 2 years ago
Protobuf Team Bot 99d4060ec2 Implement initial oneof support in Rust pb. 2 years ago
Alyssa Haroldsen 9a0bc392b3 Implement v0.6 Optional Bytes 2 years ago
Protobuf Team Bot 9a7ca55ca5 Support without-presence scalars better. 2 years ago
Hong Shin a81be2e610 Flesh out Proxied impls for $Msg$View and $Msg$Mut :: v0.6 SingularMessageField 2 years ago
Protobuf Team Bot 3c9e763841 Add sfixed32 & 64 support 2 years ago
Hong Shin 87e6b7f6e9 Sketch of v0.6 SingularMessageField 2 years ago
Hong Shin 7e9d0c1630 Add V0 support for fixed ints (32 and 64) 2 years ago
Hong Shin 43778a5e2b Add V0 support for floats and doubles 2 years ago
Adrian Sadłocha d70e3dea0e Update a doc comment 2 years ago
Hong Shin fcab1a4371 Add V0 support for signed ints 2 years ago
Hong Shin 4f20efbb78 Internal Change 2 years ago
Hong Shin b3942c0618 In this CL, we add V0 support for unsigned ints (32 and 64). 2 years ago
Protobuf Team Bot ead5d565e7 Fix hazzer emission of Optional 2 years ago
Protobuf Team Bot 68b34feb5a Add support for int32 in V0. 2 years ago
Marcel Hlopko cc83427ee3 Do not pass nullptr to slice::from_raw_parts 2 years ago
Jakob Buchgraber 0ecb729906 Implement 'bytes' accessors for UPB :) 2 years ago
Marcel Hlopko e5679c01e8 Implement nested messages for v0 API for cpp kernel 2 years ago
Marcel Hlopko a1ba8d238a Generate bindings under the correct package. 2 years ago