Kevin King
8876b1069f
impl SettableValue for MsgView
...
For the cpp runtime, call the `Message::CopyFrom` method.
For the upb runtime, expose the message `MiniTable` and call `upb_Message_DeepCopy`.
PiperOrigin-RevId: 595166276
11 months ago
Protobuf Team Bot
569548cd82
Make Rust Conformance skip non-wire output test cases by using an overlay proto.
...
PiperOrigin-RevId: 595152672
11 months ago
Protobuf Team Bot
84f8e4fbbc
Auto-generate files after cl/595144470
11 months ago
Kevin King
fa5f8fa7e8
Depend on upb_generator:mangle from rust compiler
...
Update cmake to include necessary upb_generator files and upb namespace.
PiperOrigin-RevId: 595144470
11 months ago
Protobuf Team Bot
3d9916caca
Auto-generate files after cl/595137531
11 months ago
Eric Salo
9debd6b10a
upb: merge upb:message_accessors into upb:message
...
PiperOrigin-RevId: 595137531
11 months ago
Protobuf Team Bot
18d4a7651b
Auto-generate files after cl/595018281
11 months ago
Eric Salo
4ba7d27201
upb: implement _upb_Message_ClearOneofCase()
...
PiperOrigin-RevId: 595018281
11 months ago
Protobuf Team Bot
de5ea1e6a4
Auto-generate files after cl/595002227
11 months ago
Eric Salo
4f1eba857a
upb: lock down the internal headers for upb:wire_reader
...
PiperOrigin-RevId: 595002227
11 months ago
Protobuf Team Bot
cb8a31ee3d
Auto-generate files after cl/594992691
11 months ago
Eric Salo
64dbf0dba4
upb: delete the aliases for upb:hash, upb:lex, upb:reflection_internal
...
PiperOrigin-RevId: 594992691
11 months ago
Protobuf Team Bot
2b79738d5f
Auto-generate files after cl/594654099
11 months ago
Eric Salo
f1b8f477d7
upb: factor out message internal data pointers
...
PiperOrigin-RevId: 594654099
11 months ago
Protobuf Team Bot
499c748e39
Auto-generate files after cl/594514934
11 months ago
Eric Salo
f0cf0b653c
upb: clean up and consolidate the upb/message/ build targets
...
PiperOrigin-RevId: 594514934
11 months ago
Protobuf Team Bot
6e25bb8d4c
Optimize AddAllocatedForParse function.
...
PiperOrigin-RevId: 594422850
11 months ago
Protobuf Team Bot
61b82528ba
Auto-generate files after cl/594337191
11 months ago
Eric Salo
1fc0e72416
upb: make :wire internal headers private
...
PiperOrigin-RevId: 594337191
11 months ago
Protobuf Team Bot
1597bf4971
Auto-generate files after cl/594322509
11 months ago
Joshua Haberman
c16ac66e85
Fixed non-conformance in upb JSON enum decoding when ignoring unknown enum values.
...
PiperOrigin-RevId: 594322509
11 months ago
Adam Cozzette
4ec9170bcd
Fix layering check for usage of gtest
...
To satisfy the layering check, we need to depend on :gtest for the headers, in
addition to :gtest_main which provides the main() function.
There are a bunch of formatting changes as a side effect of this, but they
should be harmless.
PiperOrigin-RevId: 594318263
11 months ago
Protobuf Team Bot
79cc57bf57
Auto-generate files after cl/594312823
11 months ago
Protobuf Team Bot
a83da510c4
Automated rollback of commit 0bcc8ef9f2
.
...
PiperOrigin-RevId: 594312823
11 months ago
Hong Shin
4c35408777
Rename Thunk to ThunkName
...
Let's hint at returning a name as opposed to a computed chunk / lambda
PiperOrigin-RevId: 594300381
11 months ago
Joshua Haberman
37a926e177
Added JSON parsing/serialization to benchmark
...
PiperOrigin-RevId: 594293336
11 months ago
Protobuf Team Bot
27cccac563
Fix some non-breaking issues with rust gencode.
...
- Stop emitting a clear thunk for without-presence string/bytes fields (was unused, but would link-error it was used since there's no such operation).
- Remove unused clearer_thunk variable in message.cc
- Remove unsafe{} block surrounding non-unsafe BytesMutVTable::new
- Add #[allow(non_snake_case)] on module names (the new mangling added in cr/593048297 puts double-underscore in names which rustc recognizes as non-snake).
PiperOrigin-RevId: 594287606
11 months ago
Hong Shin
50f0140780
Fix textfmt typo: vaid -> valid
...
PiperOrigin-RevId: 594286947
11 months ago
Protobuf Team Bot
c2c01b6166
Auto-generate files after cl/594280505
11 months ago
Eric Salo
0eac807f3b
upb: delete the aliases for base:internal and mini_descriptor:internal
...
PiperOrigin-RevId: 594280505
11 months ago
Dmitri Gribenko
b82bb29340
Internal Code Change
...
PiperOrigin-RevId: 594266511
11 months ago
Protobuf Team Bot
e0b3610e7f
Auto-generate files after cl/594261739
11 months ago
Protobuf Team Bot
0bcc8ef9f2
Removed the unused "JSPB (internal)" from conformance the conformance test suite.
...
PiperOrigin-RevId: 594261739
11 months ago
Protobuf Team Bot
0b237199c5
Hook up the edition2023 cases to Rust conformance test.
...
PiperOrigin-RevId: 594235463
11 months ago
Joshua Haberman
442e079677
Removed Ruby compatibility tests.
...
In Ruby protobuf 4.26.0 we are intentionally breaking compatibility with our generated code from Protobuf 3.0.0. So these tests are now obsolete.
PiperOrigin-RevId: 594157323
11 months ago
Protobuf Team Bot
e9ea4a5154
Auto-generate files after cl/594135760
11 months ago
Eric Salo
7e1fd68667
upb: clean up some of the includes in upb/message/
...
PiperOrigin-RevId: 594135760
11 months ago
Sandy Zhang
0317875286
Update Ruby GHA to test against Ruby 3.3 in Linux / MacOS / Install and FFI combinations.
...
PiperOrigin-RevId: 594132729
11 months ago
Jie Luo
4f77929203
BREAKING CHANGE in v26: check if Timestamp is valid.
...
Seconds should be in range [-62135596800, 253402300799]
Nanos should be in range [0, 999999999]
PiperOrigin-RevId: 594119545
11 months ago
Joshua Haberman
75455eae6c
Fixed compiler warnings in the Ruby C extension.
...
PiperOrigin-RevId: 594106078
11 months ago
Joshua Haberman
36bb6fb0dd
Disable MacOS C++ Cmake test for now.
...
PiperOrigin-RevId: 594102279
11 months ago
Protobuf Team Bot
9b4aff2a43
Auto-generate files after cl/594089137
11 months ago
Eric Salo
27eae8f404
upb: delete mini_table/types.h
...
PiperOrigin-RevId: 594089137
11 months ago
Protobuf Team Bot
19c800c4f8
Fix warning from missing (void) on a 0-arg function.
...
PiperOrigin-RevId: 594080778
11 months ago
Protobuf Team Bot
e4057a4014
Enable Rust conformance test on proto3 message.
...
PiperOrigin-RevId: 594080663
11 months ago
Protobuf Team Bot
80b5fe437b
Auto-generate files after cl/594074354
11 months ago
Eric Salo
090c3adbf2
upb: start consolidating the upb/message/ build targets
...
PiperOrigin-RevId: 594074354
11 months ago
Sandy Zhang
2f7b2832b6
Update Ruby GHA to test against Ruby 3.3.
...
Fixes #15182
PiperOrigin-RevId: 593899707
11 months ago
Protobuf Team Bot
c4a7b036ad
Auto-generate files after cl/593870914
11 months ago
Eric Salo
e397296217
upb: restore the mini_table:internal target
...
PiperOrigin-RevId: 593870914
11 months ago