Protobuf Team Bot
2b79738d5f
Auto-generate files after cl/594654099
1 year ago
Eric Salo
f1b8f477d7
upb: factor out message internal data pointers
...
PiperOrigin-RevId: 594654099
1 year ago
Protobuf Team Bot
499c748e39
Auto-generate files after cl/594514934
1 year ago
Eric Salo
f0cf0b653c
upb: clean up and consolidate the upb/message/ build targets
...
PiperOrigin-RevId: 594514934
1 year ago
Protobuf Team Bot
6e25bb8d4c
Optimize AddAllocatedForParse function.
...
PiperOrigin-RevId: 594422850
1 year ago
Protobuf Team Bot
61b82528ba
Auto-generate files after cl/594337191
1 year ago
Eric Salo
1fc0e72416
upb: make :wire internal headers private
...
PiperOrigin-RevId: 594337191
1 year ago
Protobuf Team Bot
1597bf4971
Auto-generate files after cl/594322509
1 year ago
Joshua Haberman
c16ac66e85
Fixed non-conformance in upb JSON enum decoding when ignoring unknown enum values.
...
PiperOrigin-RevId: 594322509
1 year 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
1 year ago
Protobuf Team Bot
79cc57bf57
Auto-generate files after cl/594312823
1 year ago
Protobuf Team Bot
a83da510c4
Automated rollback of commit 0bcc8ef9f2
.
...
PiperOrigin-RevId: 594312823
1 year 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
1 year ago
Joshua Haberman
37a926e177
Added JSON parsing/serialization to benchmark
...
PiperOrigin-RevId: 594293336
1 year 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
1 year ago
Hong Shin
50f0140780
Fix textfmt typo: vaid -> valid
...
PiperOrigin-RevId: 594286947
1 year ago
Protobuf Team Bot
c2c01b6166
Auto-generate files after cl/594280505
1 year ago
Eric Salo
0eac807f3b
upb: delete the aliases for base:internal and mini_descriptor:internal
...
PiperOrigin-RevId: 594280505
1 year ago
Dmitri Gribenko
b82bb29340
Internal Code Change
...
PiperOrigin-RevId: 594266511
1 year ago
Protobuf Team Bot
e0b3610e7f
Auto-generate files after cl/594261739
1 year ago
Protobuf Team Bot
0bcc8ef9f2
Removed the unused "JSPB (internal)" from conformance the conformance test suite.
...
PiperOrigin-RevId: 594261739
1 year ago
Protobuf Team Bot
0b237199c5
Hook up the edition2023 cases to Rust conformance test.
...
PiperOrigin-RevId: 594235463
1 year 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
1 year ago
Protobuf Team Bot
e9ea4a5154
Auto-generate files after cl/594135760
1 year ago
Eric Salo
7e1fd68667
upb: clean up some of the includes in upb/message/
...
PiperOrigin-RevId: 594135760
1 year ago
Sandy Zhang
0317875286
Update Ruby GHA to test against Ruby 3.3 in Linux / MacOS / Install and FFI combinations.
...
PiperOrigin-RevId: 594132729
1 year 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
1 year ago
Joshua Haberman
75455eae6c
Fixed compiler warnings in the Ruby C extension.
...
PiperOrigin-RevId: 594106078
1 year ago
Joshua Haberman
36bb6fb0dd
Disable MacOS C++ Cmake test for now.
...
PiperOrigin-RevId: 594102279
1 year ago
Protobuf Team Bot
9b4aff2a43
Auto-generate files after cl/594089137
1 year ago
Eric Salo
27eae8f404
upb: delete mini_table/types.h
...
PiperOrigin-RevId: 594089137
1 year ago
Protobuf Team Bot
19c800c4f8
Fix warning from missing (void) on a 0-arg function.
...
PiperOrigin-RevId: 594080778
1 year ago
Protobuf Team Bot
e4057a4014
Enable Rust conformance test on proto3 message.
...
PiperOrigin-RevId: 594080663
1 year ago
Protobuf Team Bot
80b5fe437b
Auto-generate files after cl/594074354
1 year ago
Eric Salo
090c3adbf2
upb: start consolidating the upb/message/ build targets
...
PiperOrigin-RevId: 594074354
1 year ago
Sandy Zhang
2f7b2832b6
Update Ruby GHA to test against Ruby 3.3.
...
Fixes #15182
PiperOrigin-RevId: 593899707
1 year ago
Protobuf Team Bot
c4a7b036ad
Auto-generate files after cl/593870914
1 year ago
Eric Salo
e397296217
upb: restore the mini_table:internal target
...
PiperOrigin-RevId: 593870914
1 year ago
Joshua Haberman
ca58c35e24
Added `explicit` to a single-arg constructor to fix a ClangTidy warning.
...
This is the only remaining ClangTidy warning in this directory.
PiperOrigin-RevId: 593867029
1 year ago
Protobuf Team Bot
4c7434560d
Auto-generate files after cl/593859422
1 year ago
Eric Salo
0896146034
upb: make all mini_table/ includes unidirectional
...
PiperOrigin-RevId: 593859422
1 year ago
Eric Salo
3c3d77158f
upb: add :test_srcs targets for cmake on GH
...
PiperOrigin-RevId: 593854176
1 year ago
Eric Salo
f50ea84d19
upb: the triumphant return of upb/mem:internal
...
PiperOrigin-RevId: 593835739
1 year ago
Charles OuGuo
f869cfa479
In Ruby repeated fields, each_index actually iterates over the index ( #11767 )
...
Currently we're aliasing `each_index` to `each_with_index`, incorrectly passing both the index and the value of a repeated field to the block.
What we want is to just pass the index. Luckily this is a method on Ruby arrays, so we just wrap the native Ruby array method.
Fixes https://github.com/protocolbuffers/protobuf/issues/7806
Closes #11767
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11767 from shaldengeki:shaldengeki-repeated-field-each-index-returns-actual-index 874916c21d
PiperOrigin-RevId: 593835025
1 year ago
Protobuf Team Bot
da56def7c2
Auto-generate files after cl/593821827
1 year ago
Eric Salo
2fb0b93d9d
upb: tighten up and lock down upb/wire/
...
PiperOrigin-RevId: 593821827
1 year ago
Sandy Zhang
16afb4dea7
Bump major versions in version.json for C++, Java, Python, PHP, and Ruby in preparation for v26.x release in January.
...
These languages include breaking changes in accordance with https://protobuf.dev/support/version-support/ and should be announced in https://protobuf.dev/news/
PiperOrigin-RevId: 593803067
1 year ago
Augie Fackler
a4576cb820
RustInternalModuleName: use a more complete mangling system to avoid conflicts
...
This is based on the mangling Mercurial used in its fncache system, and leaves
us room to need to escape other symbols in the future.
PiperOrigin-RevId: 593048297
1 year ago
Joshua Haberman
a9bb9c5181
TextFormat should always escape ASCII 127 (DEL).
...
This was missed in the previous CL. DEL characters would be printed unescaped, which makes them more difficult to read but should still be data-preserving.
PiperOrigin-RevId: 592946127
1 year ago
Protobuf Team Bot
e27855032a
Auto-generate files after cl/592935088
1 year ago