Mike Kruskal
2fbb6bf775
Remove Abseil patch in tests and bump our Bazel version to 20230125.rc3
...
PiperOrigin-RevId: 504625323
2 years ago
Martijn Vels
774fef9bfd
Introduce `AllocateAtLeast()`
...
PiperOrigin-RevId: 504614536
2 years ago
Mike Kruskal
7bc3ed8835
Migrating downstream error collectors to use the new string_view overrides.
...
PiperOrigin-RevId: 504607264
2 years ago
Mike Kruskal
6fd3783b4a
Migrating downstream error collectors to use the new string_view overrides.
...
PiperOrigin-RevId: 504596388
2 years ago
Mike Kruskal
d6ff718364
Automated rollback of commit 5bbc6fc6aa
.
...
PiperOrigin-RevId: 504594321
2 years ago
Mike Kruskal
e53fa65d90
Bump to Abseil 20230125.rc3 for cmake builds ( #11663 )
2 years ago
Allen
c4bac67464
Make the MergeFrom method of type ReadOnlySequence<byte> public ( #11124 )
...
(Edited by jskeet) For public release notes:
Add a public `IMessage.MergeFrom(ReadOnlySequence<byte>)` extension method, exposing existing internal functionality.
(Parsing a completely new message from `ReadOnlySequence<byte>` was already publicly available, just not merging.)
----
Public the `MergeFrom` method of type `ReadOnlySequence<byte>`.
We found that the `MergeFrom` method of type `ReadOnlySequence<byte>` is internal.
**We need it !!!**
Closes #11124
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11124 from VAllens:patch-1 0ddea03042
PiperOrigin-RevId: 504575534
2 years ago
Protobuf Team Bot
3774ee0acb
Stop assuming lazy message sets are initialized.
...
PiperOrigin-RevId: 504569894
2 years ago
Protobuf Team Bot
8870581adf
Auto-generate files after cl/504460562
2 years ago
Mike Kruskal
a9f1ea6371
Breaking change: Migrate to Abseil's logging library.
...
This deletes our old branches of internal Abseil code in favor of their newly open-sourced library. Notably, this removes the ability to turn CHECK crashes into exceptions.
PiperOrigin-RevId: 504460562
2 years ago
Protobuf Team Bot
79ee26a557
Auto-generate files after cl/504450522
2 years ago
Adam Cozzette
5a56837810
Add retention and target field options in descriptor.proto
...
PiperOrigin-RevId: 504450522
2 years ago
Martijn Vels
233aa47c7d
Change AllocateInternal to allow us to easy specialize for std::string or absl::Cord
...
PiperOrigin-RevId: 504441955
2 years ago
Protobuf Team Bot
9416dca8bf
Automated rollback of commit 6d09e2c80a
.
...
PiperOrigin-RevId: 504432163
2 years ago
Mike Kruskal
5bbc6fc6aa
Automated rollback of commit 888810af33
.
...
PiperOrigin-RevId: 504428590
2 years ago
Mike Kruskal
888810af33
Migrate std::string_view usage to absl::string_view.
...
This is a no-op in C++17 and newer, but adds the ability to use string_view pre-C++17.
Closes https://github.com/protocolbuffers/protobuf/issues/11627
PiperOrigin-RevId: 504410634
2 years ago
Martijn Vels
6d09e2c80a
Introduce `AllocateAtLeast()`
...
PiperOrigin-RevId: 504408238
2 years ago
Mike Kruskal
8915a5ae42
Internal changes
...
PiperOrigin-RevId: 504350666
2 years ago
Mike Kruskal
71649680df
Bump to Abseil LTS 20230124 RC2 ( #11646 )
2 years ago
Mike Kruskal
b39f77efa8
Deprecate ClearedCount
...
This will be removed in a future release along with the rest of the "cleared" API
PiperOrigin-RevId: 504344009
2 years ago
Protobuf Team Bot
43e5937bf6
Fix bool parser for map entries to look at the whole 64-bit varint and not just
...
the first 32 bits.
This is the expected narrowing for bool fields.
PiperOrigin-RevId: 504338621
2 years ago
Protobuf Team Bot
8c6dcd05cd
[ObjC] Merge extension ranges that are continues.
...
Can result in a small reduction in binary size as well as slight performance
improvement during serialization since it is less subcalls for writing out any
extensions in the ranges.
PiperOrigin-RevId: 504272482
2 years ago
Martijn Vels
9ca411a46b
Change RepeatedField to create only 'current' elements, not 'total' elements.
...
Currently RepeatedField allocates and constructs all elements on 'Reserve'. This creates inefficiencies, but more problematically, leads to sanitizer issues once we have instances that actively poison their private contents such as Cord. This change fixes RepeatedField to only create actually 'live' elements.
PiperOrigin-RevId: 504121827
2 years ago
Mike Kruskal
ffa9b503bf
Create a new Bazel4 presubmit to lock down our support.
...
PiperOrigin-RevId: 504097801
2 years ago
Sandy Zhang
0daf8b81bc
Breaking Change: Switch to releasing ruby source gems only.
...
This was pre-announced in https://protobuf.dev/news/2022-08-03/#gems .
PiperOrigin-RevId: 504058820
2 years ago
Protobuf Team Bot
092e447280
Make TDP accept and discard garbage non-continuation bits on the 10th byte of a varint.
...
This is the behavior of the codegen parser and the reflection parser.
PiperOrigin-RevId: 504022814
2 years ago
Protobuf Team Bot
46656ed080
Breaking Change: `proto2::Map::value_type` changes to `std::pair<const K, V>`.
...
PiperOrigin-RevId: 503871374
2 years ago
Protobuf Team Bot
dcbb00d753
Auto-generate files after cl/503691684
2 years ago
Adam Cozzette
90ff32c564
Roll-forward of: Add retention and target attributes to descriptor.proto
...
PiperOrigin-RevId: 503691684
2 years ago
Mike Kruskal
67a5d7ac32
Merge pull request #11622 from mkruskal-google/abseil_upgrade
...
Upgrade to Abseil LTS 20230117
2 years ago
Mike Kruskal
49761ed4f6
Merge branch 'main' into abseil_upgrade
2 years ago
Mike Kruskal
7930cd1f9d
Upgrade to Abseil LTS 20230117 ( #11622 )
...
Closes #11622
PiperOrigin-RevId: 503588252
2 years ago
Mike Kruskal
6239ca93bf
Silence further deprecation warning
2 years ago
Mike Kruskal
dc78c2fb00
Fix windows cmake build
2 years ago
Mike Kruskal
f5e84a56e2
Silence additional warnings
2 years ago
Mike Kruskal
89349575f4
Internal change
...
PiperOrigin-RevId: 503567665
2 years ago
Mike Kruskal
1752a9e209
Rename test to "full-test"
2 years ago
Mike Kruskal
9ee25ad91d
Silence deprecated usage
2 years ago
Mike Kruskal
e207bcd940
Migrate ruby release targets to genrule to work around Bazel 5 bug ( #11619 )
...
sh_binary doesn't treat its data dependencies correctly prior to Bazel 6 (see https://github.com/mkruskal-google/protobuf/pull/new/ruby_release )
Closes #11619
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11619 from mkruskal-google:ruby_release f91352a479
PiperOrigin-RevId: 503564788
2 years ago
Mike Kruskal
6c2d65555f
Disable deprecation warnings from zlib
2 years ago
Mike Kruskal
66780432a1
Rename our check cmake test
2 years ago
Mike Kruskal
4e6dcb313d
Re-enable deprecated builtins
2 years ago
Mike Kruskal
fa0cdff2ab
Upgrade to Abseil LTS 20230117
2 years ago
Protobuf Team Bot
354fe99c42
internal change
...
PiperOrigin-RevId: 503544432
2 years ago
Protobuf Team Bot
3629ca3b5f
Automated rollback of commit 67ac9eb4e9
.
...
PiperOrigin-RevId: 503521593
2 years ago
Sandy Zhang
17a9313849
Remove RTTI checks for DefaultFieldComparator.
...
PiperOrigin-RevId: 503507674
2 years ago
Protobuf Team Bot
67ac9eb4e9
Migrate away from examining the syntax of a proto file via reflection.
...
PiperOrigin-RevId: 503500019
2 years ago
Protobuf Team Bot
13c0d0756c
[ObjC] Put all enums into one file in multi file mode.
...
Since dead stripping is completely safe with C symbols and enums only generate C
functions, stick them all in one file to slightly reduce the potential cost of
multi file generation.
PiperOrigin-RevId: 503484196
2 years ago
Protobuf Team Bot
5c5dcdd117
Fix a bug in which a possibly invalidated swisstable reference is used.
...
The hashtable could have rehashed and invalidated the reference.
PiperOrigin-RevId: 503442163
2 years ago
Mike Kruskal
a8e080b48a
Merge pull request #11608 from mkruskal-google/utf8_range_dep
...
Migrate utf8_range dependency to a git subtree
2 years ago