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
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
11 months ago
Protobuf Team Bot
4c7434560d
Auto-generate files after cl/593859422
11 months ago
Eric Salo
0896146034
upb: make all mini_table/ includes unidirectional
...
PiperOrigin-RevId: 593859422
11 months ago
Eric Salo
3c3d77158f
upb: add :test_srcs targets for cmake on GH
...
PiperOrigin-RevId: 593854176
11 months ago
Eric Salo
f50ea84d19
upb: the triumphant return of upb/mem:internal
...
PiperOrigin-RevId: 593835739
11 months 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
11 months ago
Protobuf Team Bot
da56def7c2
Auto-generate files after cl/593821827
11 months ago
Eric Salo
2fb0b93d9d
upb: tighten up and lock down upb/wire/
...
PiperOrigin-RevId: 593821827
11 months 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
11 months 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
11 months 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
11 months ago
Protobuf Team Bot
e27855032a
Auto-generate files after cl/592935088
11 months ago
Joshua Haberman
238538b6ce
Fixed breaking ARM tests by properly aligning default options.
...
This char array is interpreted as a proto, so it needs pointer alignment at least.
PiperOrigin-RevId: 592935088
11 months ago
Protobuf Team Bot
4a8f21ea94
Auto-generate files after cl/592863926
11 months ago
Eric Salo
b997cb6d8d
upb: add a non-void typedef for upb_Message
...
PiperOrigin-RevId: 592863926
11 months ago
Joshua Haberman
588d5aa0db
Optimized binary/JSON parsing to no longer copy input data into a temp buffer.
...
These decoders have copied by default for a long time. There is no longer any need to copy anything.
This should reduce CPU and memory usage.
PiperOrigin-RevId: 592859621
11 months ago
Protobuf Team Bot
6964e2c9d4
Auto-generate files after cl/592856106
11 months ago
Eric Salo
4d9c76b4cd
upb: fix typo in IFTTT block name
...
PiperOrigin-RevId: 592856106
11 months ago
Protobuf Team Bot
a0e8195490
Auto-generate files after cl/592847506
11 months ago