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
Mike Kruskal
9334caef4d
Merge branch 'main' into utf8_range_dep
2 years ago
Mike Kruskal
b4ddcda810
Moving update script
2 years ago
Mike Kruskal
9978ec386c
Migrate utf8_range dependency to a git subtree ( #11608 )
...
This will make the CMake workflow easier, where users won't need to either install utf8_range or initialize our submodules. Since this is a relatively small library that's owned by us, we can just bundle it with protobuf as a subtree
Closes #11608
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11608 from mkruskal-google:utf8_range_dep 57d5d91b68
PiperOrigin-RevId: 503314822
2 years ago
Mike Kruskal
79bac90f86
Declare [[nodiscard]] before [[deprecated]] to fix clang-16 breakage.
...
PiperOrigin-RevId: 503309838
2 years ago
Sandy Zhang
bf9c22e100
Breaking Change: Mark final ZeroCopyInputStream, ZeroCopyOutputStream, and DefaultFieldComparator classes.
...
PiperOrigin-RevId: 503297575
2 years ago
Mike Kruskal
57d5d91b68
Exclude third_party from spell checker
2 years ago
Mike Kruskal
b5a2e83c8c
Add a script for updating subtrees
2 years ago
Mike Kruskal
4dd7ebbba1
Fix utf8_range cmake error message
2 years ago
Mike Kruskal
163e31a413
Merge commit 'c2da35d619d5ebb483a774872168656abbcb53a8' as 'third_party/utf8_range'
2 years ago
Mike Kruskal
c2da35d619
Squashed 'third_party/utf8_range/' content from commit 72c943dea
...
git-subtree-dir: third_party/utf8_range
git-subtree-split: 72c943dea2b9240cd09efde15191e144bc7c7d38
2 years ago
Mike Kruskal
68d13cf2bd
Delete utf8_range submodule
2 years ago
Mike Kruskal
119ea4ca9e
Automated rollback of commit 08b97c3120
.
...
PiperOrigin-RevId: 503277235
2 years ago