126 Commits (8198fe9a5f69f9d0888de1d165b1f067ad112684)

Author SHA1 Message Date
Protobuf Team Bot 8198fe9a5f Change message-nesting namespacing to be some_msg:: instead of SomeMsg_:: 11 months ago
Protobuf Team Bot 06444cb6a1 Clean up some now-unnecessary or_default()s 11 months ago
Marcel Hlopko 71eed03fda Remove unnecessary tags 11 months ago
Protobuf Team Bot f72c45ff75 Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>. 11 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). 11 months ago
Protobuf Team Bot 7ec56d4243 Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api. 11 months ago
Protobuf Team Bot bb1c0abcbf Make the oneof view accessors use consuming-self and the corresponding longer lifetime, avoiding unnecessary shortening of lifetimes in some cases. 11 months ago
Protobuf Team Bot fd4625e906 Remove setter_opt and add clearer for with-presence scalar fields, and add flat setter for msg fields. 12 months ago
Alyssa Haroldsen fe5092a392 Support enums as map values 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
Protobuf Team Bot 9a56a497b2 Fix unused 'use' warning in simple_nested_test.rs 1 year ago
Protobuf Team Bot 42c215718e Add serialize(&self) on MsgView and MsgMut (in addition to the preexisting owned Message) 1 year ago
Protobuf Team Bot 3dc3dab85c Add zero-length deserialize unit test. 1 year ago
Marcel Hlopko 73769a030d Fix msan issue in Map<bool,*> 1 year ago
Marcel Hlopko 5842cc9c3d Implement support for messages as map values 1 year ago
Alyssa Haroldsen a522a47120 Validate that map keys are copied 1 year ago
Alyssa Haroldsen 398508287e Correct ExactSizeIterator impl for RepeatedIter 1 year ago
Alyssa Haroldsen 3ccccdb855 Copy repeated string/bytes in upb when pushing/setting/copying 1 year ago
Alyssa Haroldsen d445953603 Add map key and value iterators 1 year ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 1 year ago
Alyssa Haroldsen a48090e329 Make map insert return if the value was newly inserted 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
Jakob Buchgraber 90015d3145 #protobuf #rust Generate fields with imported types 1 year ago
Marcel Hlopko 0e744e12d6 Fix bug number in a TODO 1 year ago
Jakob Buchgraber 4517308a91 Also apply r# prefix to crates whose names are reserved keywords 1 year ago
Alyssa Haroldsen f0ccf26e63 Correct raw identifier terminology in rust_keywords 1 year ago
Marcel Hlopko c1d174f7d2 Stop codegenning module for .proto package 1 year ago
Marcel Hlopko 39e8ca7faf Add support for repeated strings/bytes 1 year ago
Alyssa Haroldsen 457ed9b44f Use `self` accessors for accessing maps in views 1 year ago
Alyssa Haroldsen b6ea6f9192 Remove Deref from RepeatedMut 1 year ago
Alyssa Haroldsen ab8b762941 Use `self` for all methods on views, return `'msg` 1 year ago
Alyssa Haroldsen e16dd47999 Implement IntoIterator for &Repeated{View,Mut} 1 year ago
Alyssa Haroldsen 19851968bb Fix indentation of a macro in simple_nested_test.rs 1 year ago
Kevin King 9bd8dfa639 Add Repeated<Message> accessors 1 year ago
Protobuf Team Bot 4773c091d2 Also emit the oneof accessors into $Msg$Mut and $Msg$View 1 year ago
Protobuf Team Bot cd575718be Update the r# prefixing logic: 1 year ago
Jakob Buchgraber 85972e505a #rust #protobuf Implement bytes as map values 1 year ago
Protobuf Team Bot d716c2e963 Reuse Message's accessor definitions on Msg+MsgMut+MsgView 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
Protobuf Team Bot e5b547bcb8 Change MsgMut's _mut() accessors to use (&mut self) instead of (&self) 1 year ago
Alyssa Haroldsen 0b5cd4e9ef Implement repeated enum accessors 1 year ago
Alyssa Haroldsen 20933b2b22 Implement singular enum accessors 1 year ago
Alyssa Haroldsen 1eab5a0237 Generate `pub use` for imported enums 1 year ago
Jakob Buchgraber 991a2f4d54 #refactor Simplify maps through the new ProxiedInMapValue<K> trait 1 year ago