76 Commits (07b325e5d7a38d8e5305ecd6daa44300e46a8446)

Author SHA1 Message Date
Protobuf Team Bot 9d3391f183 Use MapView/MapMut instad of View<Map>/Mut<Map> 3 months ago
Protobuf Team Bot e26ef8683e Cleanup pass on where we use Private and doc(hidden) 3 months ago
Adam Cozzette 6a177829fc Remove generated C++ thunks for enums as map values 3 months ago
Adam Cozzette 7f395af40e Replace some per-message C++ thunks with a common implementation 3 months ago
Protobuf Team Bot b0db5bd029 Change CppInterop traits to operate on *const or *mut c_void instead of protobuf::__runtime::RawMessage 3 months ago
Dmitri Gribenko 744c9ddfc5 Rename `#[googletest::test]` to `#[gtest]` 4 months ago
Yamil Morales 582e80eb8a Set up for Rust-cpp Protobuf implementation message matcher. 4 months ago
Adam Cozzette 6ab302d3a3 Rust: cut down on the amount of generated C++ code needed for maps 4 months ago
Jakob Buchgraber 8cdc700b5b Implement ctype=CORD for singular string & byte fields 4 months ago
Protobuf Team Bot a1c53e4da2 Remove +?Sized bounds which simply aren't honored anyway. 4 months ago
Protobuf Team Bot 9d2dafe1e5 Add #[doc(hidden)] and a _private arg on SerializedData 4 months ago
Dmitri Gribenko 0a917b95f2 Use `#[googletest::test]` in Protobuf Rust 4 months ago
Derek Benson 9c994245f2 implement repeated_new and repeated_free for enums and messages. Drop the default impl since it is now required 4 months ago
Jakob Buchgraber 08da921314 Remove the defensive copy on singular string setter 5 months ago
Jakob Buchgraber 0d6e9794d1 Migrate Repeated::{push, set} and Map::insert to use the IntoProxied trait. 5 months ago
Protobuf Team Bot f810cc5b66 Enable MessageLite::DebugString to use Message::DebugString where possible. 5 months ago
Jakob Buchgraber 64912c50cb Use a std::string as the backing string & bytes type in the C++ kernel. This will allow us to move a ProtoString/Bytes to a message accessor without copying. This change only touches the C++ kernel, as the UPB kernel already uses the native arena-allocated UPB string type for ProtoString/Bytes. 5 months ago
Protobuf Team Bot c07de7c9df Change to proto2_rust C prefix and proto2::rust C++ namespace 5 months ago
Protobuf Team Bot a9bc366522 Stop using double underscores for our C function names and standardize on the 'rust_proto_' prefix. 5 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 5 months ago
Adam Cozzette ccbed29c67 Rust protobuf: make `serialize()` method return `Vec<u8>` 5 months ago
Jakob Buchgraber ec61d65a23 Fix debug_test to work with C++ lite 6 months ago
Protobuf Team Bot d0e79cf761 Actually make Serialize fallible on Rust-cpp. 6 months ago
Derek Benson 904266db57 inline repeated field methods 7 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 7 months ago
Jakob Buchgraber b6e0a48b02 Implement `IntoProxied` for repeated field setters 7 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 7 months ago
Jakob Buchgraber 1980e025eb Remove PrimitiveMut and related vtable types 7 months ago
Protobuf Team Bot 1d0028ddda Fix unused warnings in Rust Proto 7 months ago
Jakob Buchgraber 849b975e5f Temporarily use AsRef<{ProtoStr, [u8]}> for string/bytes accessors 7 months ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 8 months ago
Protobuf Team Bot b0c4dfc5ee Remove Arena definition in cpp.rs 8 months ago
Protobuf Team Bot be4476f100 Fix warnings about unnecessary 'use' due to Box, Send and Sync being defined in the language prelude. 9 months ago
Protobuf Team Bot 9ff062cd34 Make types for 'inner' (runtime-specific) owned Repeated and Maps 9 months ago
Jakob Buchgraber 03687b798b #rust #protobuf Implement custom Debug for C++ kernel 9 months ago
Alyssa Haroldsen dd27b6b877 Use consistent name for the "get item from untyped map iterator" thunk 9 months ago
Protobuf Team Bot 8d9fb756be Internal 9 months ago
Marcel Hlopko 5842cc9c3d Implement support for messages as map values 10 months ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 10 months ago
Alyssa Haroldsen 3657e05292 Improve field publicity for repeated/maps 10 months ago
Alyssa Haroldsen a48090e329 Make map insert return if the value was newly inserted 10 months ago
Marcel Hlopko d21425d334 Use consistent thunk prefix between generator and cpp.rs 10 months ago
Hong Shin e320c85283 Move MessageVTable to $pbr$ from $pbi$ 10 months ago
Marcel Hlopko 39e8ca7faf Add support for repeated strings/bytes 10 months ago
Hong Shin 808487918c Initialize scaffolding for ProxiedWithPresence for Messages 10 months ago
Jakob Buchgraber 85972e505a #rust #protobuf Implement bytes as map values 10 months ago
Protobuf Team Bot d716c2e963 Reuse Message's accessor definitions on Msg+MsgMut+MsgView 10 months ago
Alyssa Haroldsen 0a4c006a39 Return RepeatedMut<c_int> for cpp cast_enum_repeated_mut 11 months ago
Jakob Buchgraber 8d9e3e9a1c #rust #protobuf Refactor maps to make ProxiedInMapValue independent of the runtime 11 months ago
Jakob Buchgraber 991a2f4d54 #refactor Simplify maps through the new ProxiedInMapValue<K> trait 11 months ago