58 Commits (7f23b700fe301df7f12b5aa5b111dab010d56d07)

Author SHA1 Message Date
Protobuf Team Bot d8329b68e4 Add .to_owned(&self)->Msg functions to MsgMut and MsgView 7 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 7 months ago
Jakob Buchgraber d76fdc56bb Implement IntoProxied for messages 7 months ago
Protobuf Team Bot 0c8f970fc9 Implement Default::default() for owned messages. 8 months ago
Protobuf Team Bot fa0d25a707 Add has_field() accessors for any field that supports presence. 9 months ago
Protobuf Team Bot 8198fe9a5f Change message-nesting namespacing to be some_msg:: instead of SomeMsg_:: 9 months ago
Protobuf Team Bot 06444cb6a1 Clean up some now-unnecessary or_default()s 9 months ago
Protobuf Team Bot f72c45ff75 Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>. 9 months ago
Protobuf Team Bot 7e47fc3e39 Remove the _mut() accessors from primitive fields (both explicit presence where they were FieldEntry and implicit presence where they were PrimitiveMut). 9 months ago
Protobuf Team Bot 7ec56d4243 Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api. 9 months ago
Protobuf Team Bot fd4625e906 Remove setter_opt and add clearer for with-presence scalar fields, and add flat setter for msg fields. 9 months ago
Protobuf Team Bot 5a0135e65a Bring back 'flat' setters for singular scalars and strings. 9 months ago
Protobuf Team Bot 033ff1710e Introduce a RustFieldType enum which captures the primitive types that a rust field can be. 9 months ago
Hong Shin dc7001e517 Fix message vtable::clear 10 months ago
Hong Shin f9ec860691 Add more test coverage exercising msg_mut and msg_opt 10 months ago
Protobuf Team Bot d2b2ef34ba Add SettableValue<Msg> for owned Msg. 10 months ago
Hong Shin 7e1316ca81 Implement _opt for messages 10 months ago
Hong Shin f4511fda5a Implement and use field entries for `_mut` 10 months ago
Marcel Hlopko c1d174f7d2 Stop codegenning module for .proto package 11 months ago
Protobuf Team Bot 4773c091d2 Also emit the oneof accessors into $Msg$Mut and $Msg$View 11 months ago
Kevin King 7b42f1c08b Add `Msg::as_{view,mut}()` 11 months ago
Alyssa Haroldsen e7a224cd85 Support enums as oneof fields 11 months ago
Alyssa Haroldsen 20933b2b22 Implement singular enum accessors 11 months ago
Kevin King 8876b1069f impl SettableValue for MsgView 11 months ago
Hong Shin 52ee619733 Migrate all remaining instances of assert_eq! to googletest-rust sans strings 12 months ago
Adrian Sadłocha b19deb9275 Remove separate setters for singular scalars 12 months ago
Hong Shin 53411896ab Add coverage for default_string and default_bytes in test_default_accessors 12 months ago
Hong Shin acad27f027 Move repeated tests into their own file 12 months 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 1 year 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. 1 year ago
Adrian Sadłocha 207331d860 Return Optional instead of Option in getter_opt 1 year ago
Hong Shin d72e790084 Return the correct view type for messages 1 year ago
Joshua Haberman 67ee3b98c5 Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full. 1 year ago
Alyssa Haroldsen 614e29f946 Implement v0.6 string fields 1 year ago
Protobuf Team Bot 99d4060ec2 Implement initial oneof support in Rust pb. 1 year ago
Alyssa Haroldsen 9a0bc392b3 Implement v0.6 Optional Bytes 1 year ago
Protobuf Team Bot 9a7ca55ca5 Support without-presence scalars better. 1 year ago
Hong Shin a81be2e610 Flesh out Proxied impls for $Msg$View and $Msg$Mut :: v0.6 SingularMessageField 1 year ago
Protobuf Team Bot 3c9e763841 Add sfixed32 & 64 support 1 year ago
Hong Shin 87e6b7f6e9 Sketch of v0.6 SingularMessageField 1 year ago
Hong Shin 7e9d0c1630 Add V0 support for fixed ints (32 and 64) 1 year ago
Hong Shin 43778a5e2b Add V0 support for floats and doubles 1 year ago