357 Commits (da7b416fc359862bfd2b1fce58cd8e83ff1d5513)

Author SHA1 Message Date
Protobuf Team Bot b14d9ee01f Automated Code Change 7 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. 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
Protobuf Team Bot f810cc5b66 Enable MessageLite::DebugString to use Message::DebugString where possible. 8 months ago
Jakob Buchgraber 73db255168 Require all Proxied types to be Sized. 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 5bb8c51f3f Add C++ protobuf runtime to Rust proto deps and add specific #includes in the Rust .cc codegen. 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
Derek Benson 91dfd8698a add .. operator to proto! for merge_from. This mimics Rust's struct update syntax. 8 months ago
Protobuf Team Bot 419760f873 Split up cpp_api.h/.cc into smaller units. 8 months ago
Protobuf Team Bot 219e8ead2f Add license headers 8 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 8 months ago
Derek Benson 290df684f9 expose upb_Message_MergeFrom in rust upb bindings 8 months ago
Protobuf Team Bot 6429885156 Emit all string fields on Rust-upb regardless of ctype set. 8 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 8 months ago
Protobuf Team Bot 8b7d866b09 Automated Code Change 8 months ago
Adam Cozzette ccbed29c67 Rust protobuf: make `serialize()` method return `Vec<u8>` 8 months ago
Protobuf Team Bot 44c80977b0 Silence warning on upb/rust/wire.rs DecodeOption 8 months ago
Protobuf Team Bot 8ef32176e3 Expose upb_Message_IsEqual to Rust upb. 8 months ago
Protobuf Team Bot d471c874e3 Turn on 'CheckRequired' option on upb decode 8 months ago
Derek Benson 41315fd37f Poison builds that accidentally use both the Upb and Cpp kernel. This should only be possible for targets defined within the protobuf codebase. 8 months ago
Derek Benson db06125563 split protobuf rust benchmark into separate binaries for upb/cpp 8 months ago
Marcel Hlopko fe6963970c Rename IntoProxied::into -> IntoProxied::into_proxied 8 months ago
Protobuf Team Bot a6d4827482 Fix build rule dependency for serialization_cpp_test 8 months ago
Protobuf Team Bot 61a2df3129 Allow non-repeated StringPiece accessors to be generated. 8 months ago
Protobuf Team Bot 7dcae81096 Add serialization test and parameterize tests to verify behavior in multiple versions of the protocol buffer language. 9 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
Jakob Buchgraber 3c9978d4bd Mark owned Repeated & Map types as Send & Sync. 9 months ago
Protobuf Team Bot d0e79cf761 Actually make Serialize fallible on Rust-cpp. 9 months ago
Jakob Buchgraber 68da9337b4 Remove 'assert_c_type_sizes' test 9 months ago
Protobuf Team Bot fdc7f65849 Make serialization correctly be fallible in the Rust Protobuf API. 9 months ago
Jakob Buchgraber 01ec3fab1f Accept MessageLite type instead of the Message type in SerializeMsg 9 months ago
Derek Benson 911fa984bc Add benchmarks for Protobuf Rust that demonstrate the overhead of the Rust implementations. 9 months ago
Marcel Hlopko eca477a0f1 Internal change. 9 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate name 9 months ago
Marcel Hlopko e71c811a3a Extract crate name mangling function 9 months ago
Marcel Hlopko a8cb5833aa Verify rust_proto_library name 9 months ago
Protobuf Team Bot 2238cdc091 Add impl Clone for Rust proto owned messages. 9 months ago
Derek Benson 904266db57 inline repeated field methods 9 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 9 months ago
Protobuf Team Bot d8329b68e4 Add .to_owned(&self)->Msg functions to MsgMut and MsgView 9 months ago
Jakob Buchgraber b6e0a48b02 Implement `IntoProxied` for repeated field setters 10 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 10 months ago
Adrian Sadłocha 733b9c54e9 Implement `is_known` method on the `Enum` trait 10 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 10 months ago
Jakob Buchgraber e181855abe Implement flat setters for map and repeated fields. 10 months ago
Jakob Buchgraber f9ed22055e Remove MutProxied for bytes/string fields. 10 months ago