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
Mike Kruskal
d58d471117
Revert "Merge pull request #10581 from jhump/jh/custom-json-name-validation" ( #10657 )
...
This reverts commit d3b5389301
, reversing
changes made to bcd175578f
.
2 years ago
Mike Kruskal
1e24391438
Remove NMake support ( #10656 )
...
* Deleting NMake build
* Deleting documentation for NMake
2 years ago
Mike Kruskal
264292e4c7
Revert "Merge pull request #10470 from jhump/jh/source-code-info-pseudo-options" ( #10658 )
...
This reverts commit dd052c9dc6
, reversing
changes made to 0d3eaed6eb
.
2 years ago
Xavier Léauté
c7729aaa95
Merge branch 'main' into issue-9673
2 years ago
Thomas Van Lenten
a6f9ec815e
[ObjC] Raise the min OS versions (and required Xcode)
...
Xcode min: 13.3.1
iOS min: 10.0
macOS min: 10.12
tvOS min: 12.0
watchOS min: 6.0
Apple's AppStore requirements now require Xcode 13:
https://developer.apple.com/news/?id=2t1chhp3
Update to the minOS version and Xcode version that also matches what Firebase
as done as that seems like a common set for most Apple platforms
(https://firebase.google.com/docs/ios/setup ).
2 years ago
Thomas Van Lenten
2fb33b8c54
[ObjC] Move from `#pragma unused()` to `_unused`
2 years ago
Kenji Abe
2bc454cd9b
Add missing `public` modifier to Kotlin generated code
2 years ago
Mike Kruskal
b0c76ccc21
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Thomas Van Lenten
f1a939fb69
Add an objc_class_prefix for the proto2 syntax file used in conformance tests.
...
Not all the types have "Proto2" on the end, so for uniformity put an
objc_class_prefix like was done for the proto3 syntax file.
2 years ago
Mike Kruskal
391cc7b355
Merge pull request #10653 from mkruskal-google/sync-stage
...
Integrate from Piper for C++, Java, and Python
2 years ago
Mike Kruskal
12bedd20c3
Updating changelog
2 years ago
Mike Kruskal
38da0b3d42
Merge tag 'refs/tags/sync-piper' into sync-stage
...
# Conflicts:
# src/google/protobuf/arena.cc
# src/google/protobuf/compiler/java/enum_field_lite.cc
2 years ago
Mike Kruskal
e99b2819ee
Sync from Piper @476205078
...
PROTOBUF_SYNC_PIPER
2 years ago
Thomas Van Lenten
bc4cbf9a05
Remove the pre Xcode 10.2 support.
...
objectivec/README.md lists Xcode 10.2 as the minimum, update things accordingly.
- Remove code paths referencing the older versions.
- Remove support from the testing script.
2 years ago
Thomas Van Lenten
ecd63bb219
Format the test sources.
2 years ago
Thomas Van Lenten
189f6325d4
Format the runtime sources.
2 years ago
Thomas Van Lenten
5d0b2175c3
Format the headers.
2 years ago
Thomas Van Lenten
9e069b2e51
[ObjC] Tweak some things to be better shape for clang-format.
...
- Minor formatting changes to make thing happy.
- Block clang-format from the PDDM macro definitions to avoid it wrapping
things.
- Don't add clang-format directives to the expansion, easier to handling
it outside of there.
2 years ago
Thomas Van Lenten
7c64628669
[ObjC] Output directive to disable clang-format on generated files.
...
Regenerate the WKTs accordingly.
2 years ago
Mike Kruskal
374465f683
Merge pull request #10636 from mkruskal-google/sync-stage
...
Integrate from Piper for C++, Java, and Python
2 years ago
Mike Kruskal
2ce17c08a2
Fixing sync problems
2 years ago
Mike Kruskal
1bd3d1932a
Update changelog
2 years ago
Mike Kruskal
c3e751aac6
Sync from Piper @475378801
...
PROTOBUF_SYNC_PIPER
2 years ago
Miguel Young
b971bea8aa
Merge pull request #10635 from mcy/retrigger-kokoro
...
Unbreak Windows tests
2 years ago
Miguel Young de la Sota
0a60bdc070
Fix a UAF in descriptor.cc that slipped past CI
2 years ago
Miguel Young
d3b5389301
Merge pull request #10581 from jhump/jh/custom-json-name-validation
...
protoc: validate custom json_name configuration
2 years ago
Mike Kruskal
bcd175578f
Merge pull request #10586 from jhump/jh/validate-reserved-names
...
protoc: validate reserved names are identifiers
2 years ago
Josh Humphries
8f17f57855
don't return false and abort parsing of current statement
2 years ago
Josh Humphries
072fb8f58a
downgrade to a warning
2 years ago
Josh Humphries
c7ba0553f5
return struct instead of using out param
2 years ago
Josh Humphries
8e74523ff6
address review feedback
2 years ago
Dennis Shao
3a05f4363e
Merge pull request #10629 from protocolbuffers/shaod2-patch-1
...
Correct the link to example WORKSPACE file
2 years ago
Dennis Shao
790f85dad2
Correct the link to example WORKSPACE file
2 years ago
Mike Kruskal
2dcd3e4a01
Merge pull request #10623 from mkruskal-google/sync-stage
...
Integrate from Piper for C++, Java, and Python
2 years ago
Mike Kruskal
d4af9c919f
Fixing bad merges, updating generated files
2 years ago
Mike Kruskal
719dc252a3
Update changelog
2 years ago
Mike Kruskal
ab09b6421a
Merge remote-tracking branch 'refs/remotes/upstream/main' into sync-stage
...
# Conflicts:
# src/google/protobuf/compiler/objectivec/objectivec_enum.cc
# src/google/protobuf/compiler/objectivec/objectivec_extension.cc
# src/google/protobuf/compiler/objectivec/objectivec_field.cc
# src/google/protobuf/compiler/objectivec/objectivec_file.cc
# src/google/protobuf/compiler/objectivec/objectivec_generator.cc
# src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
# src/google/protobuf/compiler/objectivec/objectivec_message.cc
# src/google/protobuf/compiler/objectivec/objectivec_oneof.cc
# src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc
# src/google/protobuf/compiler/plugin.pb.h
# src/google/protobuf/descriptor.pb.h
2 years ago
Mike Kruskal
634a49adf3
Merge tag 'refs/tags/sync-piper' into sync-stage
2 years ago
Mike Kruskal
d85c9944c5
Sync from Piper @475378801
...
PROTOBUF_SYNC_PIPER
2 years ago
Thomas Van Lenten
5392dc1dd4
[ObjC] Use a real import for GPBExtensionRegistry.
...
The fwd decls can lead to ambiguity for downstream users, so use a full import
to avoid the potential issues.
2 years ago
Matt Fowles Kulukundis
45413e29a4
Merge pull request #10621 from tpudlik/pw_extension
...
Add reserved extension number for Pigweed
2 years ago
Ted Pudlik
99955470e0
Add reserved extension number for Pigweed
...
The extension number will be used for providing custom options to the
Pigweed protobuf compiler. Support for this is added in
https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/110632 .
2 years ago