Mike Kruskal
23f1481386
Sync from Piper @480194141
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
eb6ebf9dd0
Sync from Piper @479479714
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
7cdf66e292
Sync from Piper @479479714
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
32bea52ee6
Sync from Piper @mkruskal/protobuf-absl
...
PROTOBUF_SYNC_PIPER
2 years ago
zhangskz
edb7ef962d
Add numpy_test.py and numpy dep to WORKSPACE ( #10722 )
...
* Add numpy_test.py and numpy dep to WORKSPACE
* Add numpy to aarch64 setup, which doesn't use bazel
2 years ago
Thomas Van Lenten
f6e284f8e5
Add the new compiler/objectivec:line_consumer target.
...
Without this the CMake list updated seems to way to drop the files.
2 years ago
Thomas Van Lenten
9a4514c17b
[ObjC] Add PROTOC_EXPORT for the CMake unittest build/link.
...
These aren't public api, but this is currently need for how the CMake build is
configured.
2 years ago
Thomas Van Lenten
2e49a8de95
[ObjC] Use absl::StripAsciiWhitespace().
...
Dropping the custom impl that was used previously.
2 years ago
Thomas Van Lenten
78442bb5dd
[ObjC] Remove missed copy of the decoder helper.
2 years ago
Thomas Van Lenten
bb2bba124c
[ObjC] Move LineConsumer to its own file.
...
Make a new (private to the package) target for this so names can depend on it as
an implementation detail as well as the other generator code.
Split the names unittests to have the LineConsumer out on its own also.
2 years ago
Thomas Van Lenten
5ace0e8450
[ObjC] Split ImportWriter & TextFormatDecodeData into files.
2 years ago
Thomas Van Lenten
16c9b4691d
[ObjC] Split helpers_unittest in to a helpers and names test.
2 years ago
Thomas Van Lenten
0953c1be58
[ObjC] Move some helpers into the only file that uses them.
2 years ago
Thomas Van Lenten
2b3a6d2cdc
[ObjC] First pass at bringing back helpers.cc
...
There are still some things not related to naming in naming.h, but they are
current exposed for gRPC to use.
2 years ago
Thomas Van Lenten
53d8b03643
[ObjC] rename the file to drop the "objectivec_" prefix.
...
Since "names.(h|cc)" now exists, drop the prefixing on all the files.
2 years ago
Mike Kruskal
f093050230
Pin Bazel to 5.1.0 ( #10707 )
2 years ago
deannagarcia
2587c421de
Merge pull request #10703 from protocolbuffers/deannagarcia-patch-8
...
Update build-protoc.sh
2 years ago
deannagarcia
8d0ddd95c5
Merge pull request #10594 from brettmc/bugfix/php82-dynamic-properties
...
[PHP] allow dynamic properties in Message
2 years ago
deannagarcia
a6eda1838f
Merge pull request #10595 from zajca/zajca-fix-10591
...
[PHP] Fix empty message serialization for Any
2 years ago
Joshua Haberman
7755973302
Added staleness test to keep PHP copy of upb in sync with the upb repo ( #10694 )
...
* Updated to new upb.
* Updated to latest upb, which fixes 32-bit PHP!
2 years ago
Thomas Van Lenten
76c3e69146
Add an objc_class_prefix to conformance.proto
2 years ago
deannagarcia
f6ad369073
Update build-protoc.sh
...
Move the relative workspace to mount the docker image on to build protoc.
2 years ago
Joshua Haberman
488b8b91f8
Fixed spelling error and removed patch from upb. ( #10693 )
2 years ago
Joshua Haberman
d3995ec400
Added staleness test to keep ruby-upb.{c,h} amalgamation files in sync with upb repo ( #10496 )
...
* Added staleness test for ruby-upb.{c,h} and updated.
* Removed file comment markers, too much trouble for too little benefit.
* Ran clang-format.
* Updated ruby-upb.{c,h}.
* Added missing table code to amalgamation.
* Updated to latest upb, patch no longer needed.
* Reverted changes to third_party sub-modules.
* Added missing unicode file.
* Removed conformance failures for Ruby.
2 years ago
zhangskz
c705fbbb53
Merge pull request #10688 from protocolbuffers/main-202209301431
...
Merge release branch 21.x into main
2 years ago
Matt Fowles Kulukundis
6757a0b41c
Merge pull request #10561 from xvrl/issue-9673
...
fix serialization warnings in generated code when compiling with Java 18 and above
2 years ago
Sandy Zhang
28e844fb9a
Undo upb commit update from 21.x.
2 years ago
Sandy Zhang
47ef2697a1
Merge remote-tracking branch 'upstream/21.x' into main-202209301431
2 years ago
Adam Cozzette
c5c5306e2d
Add a Kokoro release job for running staleness tests ( #10687 )
...
This job is not really a "release", but it has to be a release job so
that it can run on a schedule without running presubmit or postsubmit.
Generated files will be quickly updated automatically after each PR is
merged, but we want to run this staleness check nightly as an extra
safeguard.
2 years ago
deannagarcia
a181d020f7
Merge to release branch post release ( #10683 )
...
* Updating version.json and repo version numbers to: 21.7
* Update version.json to: 21.8-dev
Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2 years ago
Adam Cozzette
7ad2210641
Add a staleness test for src/file_lists.cmake ( #10684 )
...
* Upgrade upb to latest head
My motivation for this is that I plan to make use of upb's
staleness_test() macro, which was recently renamed
(protocolbuffers/upb#810 ).
* Add a staleness test for src/file_lists.cmake
This test is tagged "manual", because ordinarily no one should be
directly running this test. If we were to run this test regularly during
development then we would expect it to fail occasionally, because
file_lists.cmake will sometimes be temporarily stale until it is
auto-updated by our post-merge GitHub action. We want to run this test
nightly just as a safeguard to alert us if anything ever goes wrong with
the auto-update.
2 years ago
zhangskz
1dc63ea581
Update versions and upb commit ( #10676 )
...
* Updating version.json and repo version numbers to: 21.7
* Updating changelog
Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2 years ago
Dennis
0a9e51ddf2
doc: Add documentation for CMake `protobuf_generate` ( #10590 )
...
* doc: Add document that describes protobuf_generate
How to use it.
How it works. (basic and with gRPC)
Reference documentation.
* doc: Address several typos and wording issues in cmake_protobuf_generate.md
2 years ago
Mike Kruskal
a3888f5331
Clean up TextFormat parser ( #10673 )
...
* Fix TextFormat parser
2 years ago
Mike Kruskal
9a6781e476
Fix TextFormat parser ( #10672 )
2 years ago
Mike Kruskal
db7c178033
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
3b5301c114
Refactoring Java parsing (21.x) ( #10665 )
...
* Porting java cleanup
* Update changelog
* Fix absl usage
* Extension patch
* Remove extra allocations
2 years ago
Mike Kruskal
0a12e946a2
Refactoring Java parsing (22.x) ( #10664 )
...
* Porting java cleanup
* Update changelog
* Extension patch
* Remove extra allocations
2 years ago
tison
2d0862131c
Auto capitalize enums name in Ruby ( #10454 )
...
This closes #1965 .
2 years ago
Mike Kruskal
77036367ce
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
a7da44c5ae
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Hai Hoang Dang
3be642b71e
Correct the link name for BUILD.bazel file ( #10662 )
...
* Correct the link name for BUILD file
* Correct BUILD.bazel text
2 years ago
Mike Kruskal
388e3d744f
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Matt Fowles Kulukundis
c45dd50ec4
Merge pull request #10660 from jhump/jh/comments-ignored
...
gracefully handle weird placement of linebreaks around comments
2 years ago
themoox
d993377d14
Fix MSVC C4244 narrowing conversion warning on 64-bit Windows. ( #10647 )
...
The difference_type (ptrdiff_t) is a narrowing conversion to size_type (int).
MSVC 2019 C++17 issues a C4244 warning about the initialization.
Co-authored-by: Mike Kruskal <62662355+mkruskal-google@users.noreply.github.com>
2 years ago
Josh Humphries
54ddc88966
gracefully handle weird placement of linebreaks around comments
2 years ago
Matt Fowles Kulukundis
86a8760244
Merge pull request #10610 from brad0/openbsd_platform_macros
...
No longer define no_threadlocal on OpenBSD
2 years ago
Mike Kruskal
d0936c37f5
Remove deprecated protoc-artifacts directory ( #10628 )
...
* Move build-protoc.sh script to kokoro release directory
* Move pom.xml to root directory
* Delete protoc-artifacts directory
* Merge pom.xml into the java/protoc version
* Review comments
2 years ago
deannagarcia
83d6e74bc6
Merge pull request #10616 from STAR-ZERO/add-public-modifier
...
Add missing `public` modifier to Kotlin generated code
2 years ago
Mike Kruskal
01fe22219a
Open up visibility for some compiler internals ( #10608 )
...
* Expose language-specific naming utilities in Bazel for downstream code generators
* Expose language generators without exposing implementation details
* Update cmake configs
* Revert "Expose language generators without exposing implementation details"
This reverts commit b073d9b4ebf28b825a6340ea0dfc60f1e43ae4c1.
* Give gRPC privileged access to our python generator
* Naming cleanup
* Add linkage for public names.h helpers
* Fixing build/merge issues
* Fix extension docstring
2 years ago