65 Commits (7963b846d92a680ca85f9553bb6e72f5df3903c5)

Author SHA1 Message Date
Protobuf Team Bot 0fbba32b3e Add Message::Clear() and MessageMut::Clear() (behind the Clear trait) 5 months ago
Dmitri Gribenko 0a917b95f2 Use `#[googletest::test]` in Protobuf Rust 5 months ago
Protobuf Team Bot 7c5dd9ec64 Remove the second 'unset' generic argument from Optional 5 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 6 months ago
Protobuf Team Bot 61a2df3129 Allow non-repeated StringPiece accessors to be generated. 6 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate name 7 months ago
Protobuf Team Bot 2238cdc091 Add impl Clone for Rust proto owned messages. 7 months ago
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 8 months ago
Protobuf Team Bot 0c8f970fc9 Implement Default::default() for owned messages. 9 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. 10 months ago
Protobuf Team Bot 5a0135e65a Bring back 'flat' setters for singular scalars and strings. 10 months ago
Protobuf Team Bot 033ff1710e Introduce a RustFieldType enum which captures the primitive types that a rust field can be. 10 months ago
Hong Shin dc7001e517 Fix message vtable::clear 11 months ago
Hong Shin f9ec860691 Add more test coverage exercising msg_mut and msg_opt 11 months ago
Protobuf Team Bot d2b2ef34ba Add SettableValue<Msg> for owned Msg. 11 months ago
Hong Shin 7e1316ca81 Implement _opt for messages 11 months ago
Hong Shin f4511fda5a Implement and use field entries for `_mut` 11 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 12 months 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 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