63 Commits (0657eed703ca665ad2947b136a6ada9304359006)

Author SHA1 Message Date
Adam Cozzette cbb3edd86d Rust C++: get all map fields onto a common implementation of ProxiedInMapValue 2 months ago
Adam Cozzette d900d6114c Rust: remove use of `MapNodeSizeInfoT` from generated code 2 months ago
Adam Cozzette 5c3d1e8c30 Rust protobuf: remove the need for a generated `placement_new` thunk 3 months ago
Adam Cozzette dc23fedbf3 Simplify the way C++ function is passed to `UntypedMapIterator::next_unchecked` 3 months ago
Protobuf Team Bot 5da098b8b0 Make SerializedData into a POD struct. 3 months ago
Mike Kruskal 5695a882bd Move -Werror to our test/dev bazelrc files. 4 months ago
Adam Cozzette 7f395af40e Replace some per-message C++ thunks with a common implementation 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 5 months ago
Adam Cozzette efb57278a9 Protobuf Rust: simplify the MakeCleanup() helper function 5 months ago
Adam Cozzette f712ca5d1c Rust protobuf: fix memory leaks 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
Protobuf Team Bot 419760f873 Split up cpp_api.h/.cc into smaller units. 6 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 6 months ago
Jakob Buchgraber ec61d65a23 Fix debug_test to work with C++ lite 6 months ago
Protobuf Team Bot 85d6d513d8 Use SerializeWithCachedSizesToArray on Rust-cpp serialization path. 6 months ago
Protobuf Team Bot d0e79cf761 Actually make Serialize fallible on Rust-cpp. 7 months ago
Jakob Buchgraber 01ec3fab1f Accept MessageLite type instead of the Message type in SerializeMsg 7 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 7 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" 9 months ago
Jakob Buchgraber 03687b798b #rust #protobuf Implement custom Debug for C++ kernel 9 months ago
Jakob Buchgraber 997281b5bb #protobuf #rust use align parameter in __pb_rust_alloc 9 months ago
Alyssa Haroldsen 5983f7033c Transpose the map thunk macros, relocate to header file 10 months ago
Alyssa Haroldsen dd27b6b877 Use consistent name for the "get item from untyped map iterator" thunk 10 months ago
Adam Cozzette c32c04c7ed Tweak BUILD setup to make the layering check change less disruptive 10 months ago
Protobuf Team Bot e0942c8f29 Return a non_null::dangling() for 0-sized allocations. 10 months ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 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 11 months ago
Marcel Hlopko 39e8ca7faf Add support for repeated strings/bytes 11 months ago
Jakob Buchgraber 85972e505a #rust #protobuf Implement bytes as map values 11 months ago
Jakob Buchgraber 8d9e3e9a1c #rust #protobuf Refactor maps to make ProxiedInMapValue independent of the runtime 11 months ago
Adam Cozzette a7b0421c78 Breaking change: make protobuf comply with the C++ layering check 11 months ago
Adam Cozzette 4ec9170bcd Fix layering check for usage of gtest 12 months ago
Protobuf Team Bot 9d749cd5b0 Change Thunks that take by ref to take by pointer. 12 months 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
Marcel Hlopko edee290572 Use protobuf_nowkt as a dependency of the Rust runtime. 1 year ago
Adam Cozzette 501ececd39 Reorganize upb file structure 1 year ago
Joshua Haberman db20f5ffc9 Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full. 1 year ago
Protobuf Team Bot 49d3bca39f Improve overall `unsafe` hygiene 1 year ago
Hong Shin 4f20efbb78 Internal Change 1 year ago
Marcel Hlopko ff750bb4c3 Put shared.rs and cpp.rs/upb.rs into the same crate. 2 years ago