230 Commits (17673f5b90b4a73d8633a25650a4f7d1ae0aff72)

Author SHA1 Message Date
Protobuf Team Bot 5d341470da Initial pass of a proto_eq gtest macro. 3 months ago
Joshua Haberman e4449ba248 Harmonize license rules between google3 and OSS 3 months ago
Protobuf Team Bot ee9c176e73 Don't include upb accessors C codegen in Rust-upb build 3 months ago
Protobuf Team Bot db3e837e02 Add an `_unchecked_lifetime` version of the Cpp interop wrap fns. 3 months ago
Hong Shin 7a4319428b hpb cleanup: abrogate protos::{ClearMessage,CloneMessage,CreateMessage,DeepCopy} with hpb::{...} 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
Hong Shin 7a039dd177 Remove repeated_field_iterator (protos) 3 months ago
Dmitri Gribenko 744c9ddfc5 Rename `#[googletest::test]` to `#[gtest]` 4 months ago
Hong Shin 1ec060bb04 re-point upb_cc_proto_library_bzl from upb to hpb and utilize hpb_proto_library 4 months ago
Protobuf Team Bot 0f02d8459b Move `msg.merge_from(othermsg)` onto a trait fn 4 months ago
Adam Cozzette 6ab302d3a3 Rust: cut down on the amount of generated C++ code needed for maps 4 months ago
Protobuf Team Bot 76c767fa1c Add traits for interop fns. 4 months ago
Adam Cozzette 7141c30425 Rust: update map setters to take `IntoProxied` 4 months ago
Protobuf Team Bot 0fbba32b3e Add Message::Clear() and MessageMut::Clear() (behind the Clear trait) 4 months ago
Protobuf Team Bot 461450834b Introduce a prelude and remove the inherent impls for serialize() 4 months ago
Jakob Buchgraber 8cdc700b5b Implement ctype=CORD for singular string & byte fields 4 months ago
Protobuf Team Bot 3c95fc8b76 Create AsView/IntoView/AsMut/IntoMut traits 4 months ago
Dmitri Gribenko 0a917b95f2 Use `#[googletest::test]` in Protobuf Rust 4 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 4 months ago
Derek Benson a6a0680e95 allow __ for inferred submessage types and implement array literal parsing in proto!. 4 months ago
Protobuf Team Bot 7c5dd9ec64 Remove the second 'unset' generic argument from Optional 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
Protobuf Team Bot b14d9ee01f Automated Code Change 5 months ago
Protobuf Team Bot f9dd9ce66e UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. 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
Protobuf Team Bot c07de7c9df Change to proto2_rust C prefix and proto2::rust C++ namespace 5 months ago
Derek Benson 91dfd8698a add .. operator to proto! for merge_from. This mimics Rust's struct update syntax. 5 months ago
Protobuf Team Bot 419760f873 Split up cpp_api.h/.cc into smaller units. 5 months ago
Derek Benson 237332ef92 Add merge_from to Msg and MsgMut codegen. Cpp Kernel uses new thunk to typed MergeFrom() and Upb Kernel uses new upb_Message_MergeFrom() function 5 months ago
Protobuf Team Bot 6429885156 Emit all string fields on Rust-upb regardless of ctype set. 5 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 5 months ago
Protobuf Team Bot 8b7d866b09 Automated Code Change 5 months ago
Adam Cozzette ccbed29c67 Rust protobuf: make `serialize()` method return `Vec<u8>` 5 months ago
Derek Benson db06125563 split protobuf rust benchmark into separate binaries for upb/cpp 6 months ago
Protobuf Team Bot a6d4827482 Fix build rule dependency for serialization_cpp_test 6 months ago
Protobuf Team Bot 61a2df3129 Allow non-repeated StringPiece accessors to be generated. 6 months ago
Protobuf Team Bot 7dcae81096 Add serialization test and parameterize tests to verify behavior in multiple versions of the protocol buffer language. 6 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
Protobuf Team Bot fdc7f65849 Make serialization correctly be fallible in the Rust Protobuf API. 6 months ago
Derek Benson 911fa984bc Add benchmarks for Protobuf Rust that demonstrate the overhead of the Rust implementations. 6 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate name 6 months ago
Marcel Hlopko a8cb5833aa Verify rust_proto_library name 6 months ago
Protobuf Team Bot 2238cdc091 Add impl Clone for Rust proto owned messages. 7 months ago
Protobuf Team Bot d8329b68e4 Add .to_owned(&self)->Msg functions to MsgMut and MsgView 7 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 7 months ago
Adrian Sadłocha 733b9c54e9 Implement `is_known` method on the `Enum` trait 7 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 7 months ago
Jakob Buchgraber e181855abe Implement flat setters for map and repeated fields. 7 months ago