69 Commits (dce4f7ddf2f6784f503551097576b4b9af20686f)

Author SHA1 Message Date
Protobuf Team Bot 828716eb57 Use generic DeleteNode to reduce code size of `erase` in `Map` and to simplify the parsing logic in `MpMap`. 3 months ago
Protobuf Team Bot 7fbb3d2cc7 Make conversion functions for into c++ string types from PtrAndLen. 3 months ago
Protobuf Team Bot 7588e512b6 Use visitation to implement allocation/initialization/deallocation of nodes in generic code. 3 months ago
Protobuf Team Bot aa9868e137 Reimplement ClearTable using the stored TypeInfo. 3 months ago
Protobuf Team Bot d6b90bfd66 Add TypeInfo type UntypedMapBase for generic operation support. 3 months ago
Adam Cozzette 9bdafdbb0c Rust C++: remove per-message functions for repeated fields 4 months ago
Adam Cozzette cbb3edd86d Rust C++: get all map fields onto a common implementation of ProxiedInMapValue 4 months ago
Adam Cozzette d900d6114c Rust: remove use of `MapNodeSizeInfoT` from generated code 5 months ago
Adam Cozzette 5c3d1e8c30 Rust protobuf: remove the need for a generated `placement_new` thunk 5 months ago
Adam Cozzette dc23fedbf3 Simplify the way C++ function is passed to `UntypedMapIterator::next_unchecked` 5 months ago
Protobuf Team Bot 5da098b8b0 Make SerializedData into a POD struct. 5 months ago
Mike Kruskal 5695a882bd Move -Werror to our test/dev bazelrc files. 6 months ago
Adam Cozzette 7f395af40e Replace some per-message C++ thunks with a common implementation 6 months ago
Yamil Morales 582e80eb8a Set up for Rust-cpp Protobuf implementation message matcher. 7 months ago
Adam Cozzette 6ab302d3a3 Rust: cut down on the amount of generated C++ code needed for maps 7 months ago
Adam Cozzette efb57278a9 Protobuf Rust: simplify the MakeCleanup() helper function 7 months ago
Adam Cozzette f712ca5d1c Rust protobuf: fix memory leaks 7 months ago
Jakob Buchgraber 0d6e9794d1 Migrate Repeated::{push, set} and Map::insert to use the IntoProxied trait. 8 months ago
Protobuf Team Bot f810cc5b66 Enable MessageLite::DebugString to use Message::DebugString where possible. 8 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. 8 months ago
Protobuf Team Bot c07de7c9df Change to proto2_rust C prefix and proto2::rust C++ namespace 8 months ago
Protobuf Team Bot a9bc366522 Stop using double underscores for our C function names and standardize on the 'rust_proto_' prefix. 8 months ago
Protobuf Team Bot 419760f873 Split up cpp_api.h/.cc into smaller units. 8 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 8 months ago
Jakob Buchgraber ec61d65a23 Fix debug_test to work with C++ lite 9 months ago
Protobuf Team Bot 85d6d513d8 Use SerializeWithCachedSizesToArray on Rust-cpp serialization path. 9 months ago
Protobuf Team Bot d0e79cf761 Actually make Serialize fallible on Rust-cpp. 9 months ago
Jakob Buchgraber 01ec3fab1f Accept MessageLite type instead of the Message type in SerializeMsg 9 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 10 months 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" 11 months ago
Jakob Buchgraber 03687b798b #rust #protobuf Implement custom Debug for C++ kernel 12 months ago
Jakob Buchgraber 997281b5bb #protobuf #rust use align parameter in __pb_rust_alloc 12 months ago
Alyssa Haroldsen 5983f7033c Transpose the map thunk macros, relocate to header file 1 year ago
Alyssa Haroldsen dd27b6b877 Use consistent name for the "get item from untyped map iterator" thunk 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
Alyssa Haroldsen 035d6ec2cb Implement map iteration 1 year ago
Alyssa Haroldsen a48090e329 Make map insert return if the value was newly inserted 1 year ago
Marcel Hlopko d21425d334 Use consistent thunk prefix between generator and cpp.rs 1 year ago
Marcel Hlopko 39e8ca7faf Add support for repeated strings/bytes 1 year ago
Jakob Buchgraber 85972e505a #rust #protobuf Implement bytes as map values 1 year ago
Jakob Buchgraber 8d9e3e9a1c #rust #protobuf Refactor maps to make ProxiedInMapValue independent of the runtime 1 year ago
Adam Cozzette a7b0421c78 Breaking change: make protobuf comply with the C++ layering check 1 year ago
Adam Cozzette 4ec9170bcd Fix layering check for usage of gtest 1 year ago
Protobuf Team Bot 9d749cd5b0 Change Thunks that take by ref to take by pointer. 1 year ago
Alyssa Haroldsen f51182b543 Add RepeatedMut::clear, free for owned Repeated 1 year ago
Jakob Buchgraber 976029283f Implement Maps for strings 1 year ago
Jakob Buchgraber 001be3c655 Implement Maps for scalar types for the C++ kernel 1 year ago
Kevin King 65cdac4ac5 Finish Proxied impls for rust repeated scalars 1 year ago
Protobuf Team Bot e1bb7d65a8 Implement rust repeated scalars for cpp and upb 1 year ago