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
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
1 year ago
Protobuf Team Bot
4a8f21ea94
Auto-generate files after cl/592863926
1 year ago
Eric Salo
b997cb6d8d
upb: add a non-void typedef for upb_Message
...
PiperOrigin-RevId: 592863926
1 year 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
1 year ago
Protobuf Team Bot
6964e2c9d4
Auto-generate files after cl/592856106
1 year ago
Eric Salo
4d9c76b4cd
upb: fix typo in IFTTT block name
...
PiperOrigin-RevId: 592856106
1 year ago
Protobuf Team Bot
a0e8195490
Auto-generate files after cl/592847506
1 year ago
Eric Salo
cdb078275d
upb: add more functions to bits/mini_table_field.h
...
PiperOrigin-RevId: 592847506
1 year ago
Protobuf Team Bot
df7e74b1d4
Auto-generate files after cl/592844285
1 year ago
Eric Salo
fd6f83576f
upb: stop returning void from void functions
...
PiperOrigin-RevId: 592844285
1 year ago
Protobuf Team Bot
68f5ffb3a9
Small improvements:
...
- remove a branch from InternalExtend
- remove redundant Destroy call
- dedup UnsafeArenaAddAllocated
- fix test
PiperOrigin-RevId: 592804776
1 year ago
Jie Luo
706c0d03f8
Automated rollback of commit 1250d5f6cc
.
...
PiperOrigin-RevId: 592707509
1 year ago
Protobuf Team Bot
8981fe5cab
Auto-generate files after cl/592677762
1 year ago
Alyssa Haroldsen
1ddf033711
Clarify error language for prefix-conflicting enum values
...
PiperOrigin-RevId: 592679725
1 year ago
Adam Cozzette
40ad3fac60
Breaking change: remove support for PHP generic services
...
Generic services have been deprecated for about 14 years. This is technically a
breaking change, but fortunately the `php_generic_services` option appears to
have little or no usage. I could not find any examples of open source code
using it.
PiperOrigin-RevId: 592677762
1 year ago
Protobuf Team Bot
1ff12eff6a
Auto-generate files after cl/592591476
1 year ago
Alyssa Haroldsen
0ce51da377
Implement v0.6 enum definitions
...
This does not implement accessors, just the enum definitions themselves.
PiperOrigin-RevId: 592591476
1 year ago
Protobuf Team Bot
35b564845c
Do not define a `const` static variable as `constexpr`. While this is legal it
...
is not supported in all toolchains.
Should fix https://github.com/protocolbuffers/protobuf/issues/15030
PiperOrigin-RevId: 592574780
1 year ago
Protobuf Team Bot
c288343d01
Implement SettableValue[u8] for SerializedData
...
PiperOrigin-RevId: 592547207
1 year ago
Protobuf Team Bot
95ff734d6b
Remove dead code.
...
PiperOrigin-RevId: 592534243
1 year ago
Protobuf Team Bot
9d749cd5b0
Change Thunks that take by ref to take by pointer.
...
PiperOrigin-RevId: 592525870
1 year ago
Jakob Buchgraber
b539fa9c05
#cleanup Drop MapWithKeyOps::Value type in favor of Proxied::View.
...
PiperOrigin-RevId: 592497727
1 year ago
Protobuf Team Bot
9d0a30d2e5
Auto-generate files after cl/592453467
1 year ago
Protobuf Team Bot
6bfd632d5b
Test force_split for repeated_field_reflection_unittest.
...
PiperOrigin-RevId: 592453467
1 year ago
Protobuf Team Bot
1db9465104
Auto-generate files after cl/592392732
1 year ago