273 Commits (b361c9ca9e5cd91618c072e9b13debd593cfbe2a)

Author SHA1 Message Date
Protobuf Team Bot 7c4d89e115 Implement Map::copy_from and implement the Extend trait for Maps 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 1dbed2138c Fix Rust Proto cpp-kernel map insertion behavior to better match Rust's std::HashMap and the upb-kernel behavior of "insert replaces the old value" 1 year ago
Marcel Hlopko 71eed03fda Remove unnecessary tags 1 year ago
Protobuf Team Bot f72c45ff75 Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>. 1 year ago
Protobuf Team Bot 958dd59892 Remove the public _mut() accessors from string fields. 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 be4476f100 Fix warnings about unnecessary 'use' due to Box, Send and Sync being defined in the language prelude. 1 year ago
Jakob Buchgraber ad5e55ab92 #protobuf #rust Mark {Map, Repeated}::new() as public 1 year ago
Protobuf Team Bot 9ff062cd34 Make types for 'inner' (runtime-specific) owned Repeated and Maps 1 year 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. 1 year ago
Jakob Buchgraber 03687b798b #rust #protobuf Implement custom Debug for C++ kernel 1 year ago
Jakob Buchgraber 997281b5bb #protobuf #rust use align parameter in __pb_rust_alloc 1 year ago
Jakob Buchgraber 11bbab1664 #protobuf #rust Build gencode files when building a rust_proto_library target 1 year ago
Marcel Hlopko 66ef7bc133 Do not default to private visibility in rust_proto_library internal alias 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
Alyssa Haroldsen fe5092a392 Support enums as map values 1 year ago
Alyssa Haroldsen 5983f7033c Transpose the map thunk macros, relocate to header file 1 year ago
Protobuf Team Bot 5a0135e65a Bring back 'flat' setters for singular scalars and strings. 1 year ago
Alyssa Haroldsen 4395d97f66 Use a 64K static for zeroed scratch space in upb 1 year ago
Alyssa Haroldsen c6af7f76b7 Replace UpbTypeConversions::empty_message_value with MaybeUninit/null 1 year ago
Alyssa Haroldsen dd27b6b877 Use consistent name for the "get item from untyped map iterator" thunk 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 8d9fb756be Internal 1 year ago
Adam Cozzette c32c04c7ed Tweak BUILD setup to make the layering check change less disruptive 1 year ago
Protobuf Team Bot e0942c8f29 Return a non_null::dangling() for 0-sized allocations. 1 year ago
Protobuf Team Bot 3dc3dab85c Add zero-length deserialize unit test. 1 year 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. 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 01312f9c34 Add RepeatedIter to public protobuf items 1 year ago
Alyssa Haroldsen a9bcb60dc5 Remove RepeatedIterMut 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 3657e05292 Improve field publicity for repeated/maps 1 year ago
Protobuf Team Bot bdd833f8fc Fix issue where nested messages in non-primary .proto files couldn't be used. 1 year ago
Alyssa Haroldsen 4c61b4364a Consolidate PhantomData in maps 1 year ago
Jakob Buchgraber 929f19d3cc #protobuf #rust publicly export ParseError 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
Jakob Buchgraber 6f1d88107f Support proto_library targets that contain '-' 1 year ago