255 Commits (4502dd1ea3e30c6705c21c30bcbc717884ea8ebb)

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. 9 months ago
Alyssa Haroldsen fe5092a392 Support enums as map values 9 months ago
Alyssa Haroldsen 5983f7033c Transpose the map thunk macros, relocate to header file 9 months ago
Protobuf Team Bot 5a0135e65a Bring back 'flat' setters for singular scalars and strings. 9 months ago
Alyssa Haroldsen 4395d97f66 Use a 64K static for zeroed scratch space in upb 9 months ago
Alyssa Haroldsen c6af7f76b7 Replace UpbTypeConversions::empty_message_value with MaybeUninit/null 9 months ago
Alyssa Haroldsen dd27b6b877 Use consistent name for the "get item from untyped map iterator" thunk 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
Protobuf Team Bot 9a56a497b2 Fix unused 'use' warning in simple_nested_test.rs 9 months ago
Protobuf Team Bot 42c215718e Add serialize(&self) on MsgView and MsgMut (in addition to the preexisting owned Message) 10 months ago
Protobuf Team Bot 8d9fb756be Internal 10 months ago
Adam Cozzette c32c04c7ed Tweak BUILD setup to make the layering check change less disruptive 10 months ago
Protobuf Team Bot e0942c8f29 Return a non_null::dangling() for 0-sized allocations. 10 months ago
Protobuf Team Bot 3dc3dab85c Add zero-length deserialize unit test. 10 months ago
Protobuf Team Bot 9473beb76c Up the upb scratch space from 64000 bytes to 65536 bytes since 64 KiB is the maximum supported message size in upb. 10 months ago
Marcel Hlopko 73769a030d Fix msan issue in Map<bool,*> 10 months ago
Marcel Hlopko 5842cc9c3d Implement support for messages as map values 10 months ago
Alyssa Haroldsen a522a47120 Validate that map keys are copied 10 months ago
Alyssa Haroldsen 398508287e Correct ExactSizeIterator impl for RepeatedIter 10 months ago
Alyssa Haroldsen 3ccccdb855 Copy repeated string/bytes in upb when pushing/setting/copying 10 months ago
Alyssa Haroldsen 01312f9c34 Add RepeatedIter to public protobuf items 10 months ago
Alyssa Haroldsen a9bcb60dc5 Remove RepeatedIterMut 10 months ago
Alyssa Haroldsen d445953603 Add map key and value iterators 10 months ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 10 months ago
Alyssa Haroldsen 3657e05292 Improve field publicity for repeated/maps 10 months ago
Protobuf Team Bot bdd833f8fc Fix issue where nested messages in non-primary .proto files couldn't be used. 10 months ago
Alyssa Haroldsen 4c61b4364a Consolidate PhantomData in maps 10 months ago
Jakob Buchgraber 929f19d3cc #protobuf #rust publicly export ParseError 10 months ago
Alyssa Haroldsen a48090e329 Make map insert return if the value was newly inserted 10 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
Jakob Buchgraber 6f1d88107f Support proto_library targets that contain '-' 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 d21425d334 Use consistent thunk prefix between generator and cpp.rs 10 months ago
Jakob Buchgraber 90015d3145 #protobuf #rust Generate fields with imported types 10 months ago
Marcel Hlopko 0e744e12d6 Fix bug number in a TODO 10 months ago
Hong Shin e320c85283 Move MessageVTable to $pbr$ from $pbi$ 10 months ago
Jakob Buchgraber 4517308a91 Also apply r# prefix to crates whose names are reserved keywords 10 months ago
Hong Shin 0d090df3e2 Implement ProxiedWithRawVTable, ProxiedWithRawOptionalVTable, and ProxiedWithPresence for Messages 10 months ago
Marcel Hlopko 0f4cf16815 Depend directly on cc_proto_aspect in rust_cc_proto_library 10 months ago
Alyssa Haroldsen f0ccf26e63 Correct raw identifier terminology in rust_keywords 10 months ago
Marcel Hlopko c1d174f7d2 Stop codegenning module for .proto package 11 months ago
Marcel Hlopko 39e8ca7faf Add support for repeated strings/bytes 11 months ago
Alyssa Haroldsen 457ed9b44f Use `self` accessors for accessing maps in views 11 months ago
Alyssa Haroldsen c1bb1981a4 Remove Deref from MapMut 11 months ago
Alyssa Haroldsen b6ea6f9192 Remove Deref from RepeatedMut 11 months ago
Alyssa Haroldsen ab8b762941 Use `self` for all methods on views, return `'msg` 11 months ago
Hong Shin 808487918c Initialize scaffolding for ProxiedWithPresence for Messages 11 months ago