65 Commits (090edb7a77ec2f90b7c93fd94e6f70d5aab2085b)

Author SHA1 Message Date
Protobuf Team Bot 0fbba32b3e Add Message::Clear() and MessageMut::Clear() (behind the Clear trait) 9 months ago
Dmitri Gribenko 0a917b95f2 Use `#[googletest::test]` in Protobuf Rust 9 months ago
Protobuf Team Bot 7c5dd9ec64 Remove the second 'unset' generic argument from Optional 9 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 10 months ago
Protobuf Team Bot 61a2df3129 Allow non-repeated StringPiece accessors to be generated. 11 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate name 11 months ago
Protobuf Team Bot 2238cdc091 Add impl Clone for Rust proto owned messages. 12 months ago
Protobuf Team Bot d8329b68e4 Add .to_owned(&self)->Msg functions to MsgMut and MsgView 12 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 12 months ago
Jakob Buchgraber d76fdc56bb Implement IntoProxied for messages 1 year ago
Protobuf Team Bot 0c8f970fc9 Implement Default::default() for owned messages. 1 year ago
Protobuf Team Bot fa0d25a707 Add has_field() accessors for any field that supports presence. 1 year ago
Protobuf Team Bot 8198fe9a5f Change message-nesting namespacing to be some_msg:: instead of SomeMsg_:: 1 year ago
Protobuf Team Bot 06444cb6a1 Clean up some now-unnecessary or_default()s 1 year ago
Protobuf Team Bot f72c45ff75 Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>. 1 year 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). 1 year ago
Protobuf Team Bot 7ec56d4243 Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api. 1 year ago
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) 2 years ago
Kevin King 65cdac4ac5 Finish Proxied impls for rust repeated scalars 2 years ago
Adrian Sadłocha c303109141 Implement mutators for singular primitive fields with presence 2 years ago
Protobuf Team Bot e1bb7d65a8 Implement rust repeated scalars for cpp and upb 2 years ago
Hong Shin 6424bcad0a Add custom matchers for ProxiedWithPresence. 2 years ago
Hong Shin 19aad63844 Migrate accessors_test.rs to googletest-rust 2 years 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