79 Commits (a037f28ff81ee45ebe008c64ab632bf5372242ce)

Author SHA1 Message Date
Adam Cozzette 1142838bbc Rust: get all types onto a single blanket ProxiedInMapValue implementation for upb 5 months ago
Protobuf Team Bot b35d4bad3c Change `upb` crate source to not use std or alloc 5 months ago
Adam Cozzette c3df35950b Rust: create blanket implementation of `ProxiedInMapValue` for upb-backed messages 5 months ago
Protobuf Team Bot 9d3391f183 Use MapView/MapMut instad of View<Map>/Mut<Map> 6 months ago
Protobuf Team Bot e26ef8683e Cleanup pass on where we use Private and doc(hidden) 6 months ago
Protobuf Team Bot c7d4697481 Add an protobuf::__internal::SealedInternal trait 6 months ago
Derek Benson 1e1bf0d1fc Move the declaration of the upb map begin constant into rust 7 months ago
Derek Benson 6f58085577 Adds an initial Cargo.toml for the protobuf crate. 7 months ago
Protobuf Team Bot a1c53e4da2 Remove +?Sized bounds which simply aren't honored anyway. 7 months ago
Protobuf Team Bot 9d2dafe1e5 Add #[doc(hidden)] and a _private arg on SerializedData 7 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 7 months ago
Adam Cozzette f712ca5d1c Rust protobuf: fix memory leaks 7 months ago
Derek Benson 9c994245f2 implement repeated_new and repeated_free for enums and messages. Drop the default impl since it is now required 7 months ago
Jakob Buchgraber 08da921314 Remove the defensive copy on singular string setter 7 months ago
Jakob Buchgraber 0d6e9794d1 Migrate Repeated::{push, set} and Map::insert to use the IntoProxied trait. 7 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 8 months ago
Jakob Buchgraber 68da9337b4 Remove 'assert_c_type_sizes' test 8 months ago
Derek Benson 904266db57 inline repeated field methods 9 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 9 months ago
Jakob Buchgraber b6e0a48b02 Implement `IntoProxied` for repeated field setters 9 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 9 months ago
Jakob Buchgraber 1980e025eb Remove PrimitiveMut and related vtable types 9 months ago
Protobuf Team Bot 1d0028ddda Fix unused warnings in Rust Proto 9 months ago
Protobuf Team Bot 734729afc2 Create the concept of 'owned data' in upb/rust as a generalization of the upb.rs SerializedData (which is a arena + data for arbitrary types, both thin and wide ref types), use that for the wire parse/serialize path. 10 months ago
Jakob Buchgraber 849b975e5f Temporarily use AsRef<{ProtoStr, [u8]}> for string/bytes accessors 10 months ago
Protobuf Team Bot 5c7a9fd997 Move the Rust `Arena` type which wraps a upb_Arena into the upb directory. 10 months ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 10 months ago
Protobuf Team Bot b8bb56df4c Change Rust-upb to use upb_Encode and upb_Decode directly, instead of going through the upb C gencode. 10 months ago
Protobuf Team Bot 9ff062cd34 Make types for 'inner' (runtime-specific) owned Repeated and Maps 11 months ago
Alyssa Haroldsen 4395d97f66 Use a 64K static for zeroed scratch space in upb 12 months ago
Alyssa Haroldsen c6af7f76b7 Replace UpbTypeConversions::empty_message_value with MaybeUninit/null 12 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. 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 3ccccdb855 Copy repeated string/bytes in upb when pushing/setting/copying 1 year ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 1 year ago
Alyssa Haroldsen 3657e05292 Improve field publicity for repeated/maps 1 year ago
Alyssa Haroldsen a48090e329 Make map insert return if the value was newly inserted 1 year ago
Hong Shin e320c85283 Move MessageVTable to $pbr$ from $pbi$ 1 year ago
Marcel Hlopko 39e8ca7faf Add support for repeated strings/bytes 1 year ago
Hong Shin 808487918c Initialize scaffolding for ProxiedWithPresence for Messages 1 year ago
Kevin King df376c807c Implement ProxiedInRepeated for Messages 1 year ago
Kevin King b3639a0e9a Add rust bindings for `upb_Array_GetMutable` 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
Protobuf Team Bot deb2dff4e1 Progress towards reusing the same accessor definitions on Msg+MsgMut+MsgView 1 year ago
Jakob Buchgraber 8d9e3e9a1c #rust #protobuf Refactor maps to make ProxiedInMapValue independent of the runtime 1 year ago
Alyssa Haroldsen 406fa60c9e Edit comment in empty_repeated suggesting it's a thread-local value 1 year ago
Jakob Buchgraber 991a2f4d54 #refactor Simplify maps through the new ProxiedInMapValue<K> trait 1 year ago
Kevin King 8876b1069f impl SettableValue for MsgView 1 year ago