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
deannagarcia
5b27b4f300
Add ruby release targets ( #11468 )
...
Add bazel targets to create ruby release artifacts.
Should be run with:
```
bazel run ruby:release
bazel run ruby:jruby_release
```
Closes #11468
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11468 from deannagarcia:rubyTargets b7b7eb6865
PiperOrigin-RevId: 503277136
2 years ago
Deanna Garcia
196193d65c
Change nuspec configuration's proto file path.
...
The ../ was causing an error in how the targets were being copied over. Since we have to copy the files anyway, it doesn't matter where we expect the files.
PiperOrigin-RevId: 503259682
2 years ago
Protobuf Team Bot
f0c7559594
Automated rollback of commit 58f6216d8d
.
...
PiperOrigin-RevId: 503240831
2 years ago
Mike Kruskal
d538808032
Set up string_view migration for error collector classes.
...
We will continue to support the deprecated versions for the time being, but users should migrate to the string_view alternatives.
PiperOrigin-RevId: 503233401
2 years ago
Mike Kruskal
71ff3fea2e
Automated rollback of commit f60f478f45
.
...
PiperOrigin-RevId: 503231538
2 years ago
Mike Kruskal
84d8b0037b
Deprecate repeated field cleared elements API.
...
This will be removed in a future release.
PiperOrigin-RevId: 503218340
2 years ago
Protobuf Team Bot
514c9a8e2a
Breaking change: Make RepeatedField::GetArena non-const in order to support split RepeatedFields.
...
PiperOrigin-RevId: 503205991
2 years ago
Protobuf Team Bot
58f6216d8d
internal changes
...
PiperOrigin-RevId: 503201591
2 years ago
Protobuf Team Bot
ecac6cd113
Fix typo.
...
PiperOrigin-RevId: 503170967
2 years ago
James Newton-King
c019a79749
Fix .NET Native AOT warnings in Protobuf reflection ( #11128 )
...
The fixes from https://github.com/protocolbuffers/protobuf/pull/10978 . This PR can be merged without updating the SDK. Will allow people to use Protobuf + AOT sooner rather than later.
When the repo is updated to .NET 7 or .NET 8, the original PR can be rebased on latest to add AOT analysis and provide some AOT smoke tests.
cc @jskeet
Closes #11128
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11128 from JamesNK:jamesnk/enable-aot-analysis-2 51ed1bd910
PiperOrigin-RevId: 503077675
2 years ago
Sandy Zhang
d61f75ff6d
Major version bump for C++ to 4 for 22-dev.
...
See https://protobuf.dev/news/2022-08-03/for breaking changes announcement for 22.x.
PiperOrigin-RevId: 503023824
2 years ago
Sandy Zhang
fbad8c0c1b
Clean up legacy CHANGES.txt.
...
Clarify some C++ breaking changes and remove Java test from changelogs.
PiperOrigin-RevId: 503023716
2 years ago
Mike Kruskal
08b97c3120
Automated rollback of commit 47e7983055
.
...
PiperOrigin-RevId: 503007139
2 years ago
Sandy Zhang
6fcc5228c7
Remove duplicate Java legacy CHANGES.txt changes.
...
These are legacy changelogs staged by the pre-Copybara legacy sync script when syncing from Piper to Github.
PiperOrigin-RevId: 503002834
2 years ago
Protobuf Team Bot
9d0821319d
Auto-generate files after cl/502994391
2 years ago
Mike Kruskal
47e7983055
Migrate std::operator+ to Abseil helpers in Java compiler directory.
...
This also opportunistically migrates many C-style and STL strings to string_view in touched code.
PiperOrigin-RevId: 502994391
2 years ago
Protobuf Team Bot
c5a8eb3ea8
Use Emit() in primitive_field.cc.
...
This change adds new aliases in field.cc for improved readability of Emit() calls.
PiperOrigin-RevId: 502994207
2 years ago
Mike Kruskal
6cadb1875a
Migrate std::operator+ to Abseil helpers in Ruby/PHP/Python compiler directories.
...
This also opportunistically migrates many C-style and STL strings to string_view in touched code.
PiperOrigin-RevId: 502975473
2 years ago
Mike Kruskal
f60f478f45
Enable new JSON field name conflict handling.
...
This will apply uniformly in both proto2 and proto3, taking into account `json_name` options. See https://github.com/protocolbuffers/protobuf/pull/10750 for more details.
PiperOrigin-RevId: 502972769
2 years ago
Mike Kruskal
3aaaf7d7ce
Add DescriptorPool-level opt-out for new JSON field name handling.
...
PiperOrigin-RevId: 502959921
2 years ago
Protobuf Team Bot
978e989998
Auto-generate files after cl/502944405
2 years ago
Protobuf Team Bot
7399913b18
Internal change
...
PiperOrigin-RevId: 502944405
2 years ago
Protobuf Team Bot
29331cbd4c
Automated rollback of commit 112fa94402
.
...
PiperOrigin-RevId: 502941218
2 years ago
Protobuf Team Bot
6a0bd183ee
Do not crash when parsing Anys that contain a proto which is missing require fields.
...
This was a regression compared to the old parser.
PiperOrigin-RevId: 502883245
2 years ago
Martijn Vels
bc4c156eb2
Add EpsCopyInputStream::ReadCord() providing an efficient direct Cord API
...
PiperOrigin-RevId: 502878973
2 years ago
Mike Kruskal
324f0b57d7
Migrate std::operator+ to Abseil helpers in Objective-c compiler directory.
...
This also opportunistically migrates many C-style and STL strings to string_view in touched code.
PiperOrigin-RevId: 502774859
2 years ago
Mike Kruskal
5184022a17
Migrate std::operator+ to Abseil helpers in C# compiler directory.
...
This also opportunistically migrates many C-style and STL strings to string_view in touched code.
PiperOrigin-RevId: 502773031
2 years ago