63 Commits (da7b416fc359862bfd2b1fce58cd8e83ff1d5513)

Author SHA1 Message Date
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 10 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 11 months ago
Hong Shin 808487918c Initialize scaffolding for ProxiedWithPresence for Messages 11 months ago
Jakob Buchgraber 85972e505a #rust #protobuf Implement bytes as map values 11 months ago
Protobuf Team Bot d716c2e963 Reuse Message's accessor definitions on Msg+MsgMut+MsgView 11 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
Alyssa Haroldsen 0ce51da377 Implement v0.6 enum definitions 12 months ago
Protobuf Team Bot c288343d01 Implement SettableValue[u8] for SerializedData 12 months ago
Jakob Buchgraber b539fa9c05 #cleanup Drop MapWithKeyOps::Value type in favor of Proxied::View. 12 months ago
Alyssa Haroldsen f51182b543 Add RepeatedMut::clear, free for owned Repeated 12 months ago
Alyssa Haroldsen 6ae76fd6ed Rework Repeated and primitives with traits for use by out-of-crate items 12 months ago
Alyssa Haroldsen c2532d5f17 Move the info about perfect derive to shared.rs 12 months ago
Alyssa Haroldsen 1dd6a7d06e Clean up some trivial lifetime usage 12 months ago
Jakob Buchgraber 976029283f Implement Maps for strings 12 months ago
Jakob Buchgraber 95073f8e78 Implement Proxied for Maps 1 year ago
Jakob Buchgraber 245a6e692a Remove the protobuf::__runtime::Map type 1 year ago
Jakob Buchgraber 001be3c655 Implement Maps for scalar types for the C++ kernel 1 year ago
Hong Shin 885fd6f007 Migrate cpp.rs to googletest-rust 1 year ago
Hong Shin b3cfff3478 Introduce preliminary submessage_mut semantics 1 year ago