Matt Fowles Kulukundis
6e8a7cdcb0
Merge pull request #10450 from thomasvl/objc_test_file_shuffle_part4
...
[ObjC] use root relative paths for test proto imports.
2 years ago
Matt Fowles Kulukundis
fb5bd9a739
Merge pull request #10446 from nipunn1313/nipunn/reserve_range
...
Add reserved option range for mypy-protobuf
2 years ago
Nipunn Koorapati
618178a761
Only reserve 4 numbers
2 years ago
Thomas Van Lenten
28bc3baca1
[ObjC] use root relative paths for test proto imports.
2 years ago
Matt Fowles Kulukundis
bf1a377d1a
Merge pull request #10448 from thomasvl/objc_test_file_shuffle_part3
...
[ObjC] Remove prefixes from test files no longer used by ObjC tests.
2 years ago
Thomas Van Lenten
1b9e96218e
[ObjC] Remove prefixes from test files no longer used by ObjC tests.
...
The one file that isn't a WKT that still has a prefix is used by the conformance
tests, and still needs a prefix there.
2 years ago
Thomas Van Lenten
cf4eeae6fd
[ObjC] Remove options not needed since the protos are specific to ObjC tests.
2 years ago
Thomas Van Lenten
bc9880ba08
[ObjC] Make the proto packages specific to ObjC tests.
2 years ago
Thomas Van Lenten
b46c0eeb5e
[ObjC] Remove the "google/protobuf" path from generated test protos.
2 years ago
Thomas Van Lenten
3e0d399c3e
[ObjC] Give the ObjC tests copies of all their protos.
...
This isolates them from changes to the C++ tests by making things self contains.
2 years ago
Thomas Van Lenten
3ddc8008dc
Use --announce_rc to any bug reports are more likely to include $HOME rc info.
2 years ago
Harald Fernengel
ad55f52fdb
Separate protobuf-generate cmake function to own file ( #10426 )
...
When using "FetchContent_Declare" with OVERRIDE_FIND_PACKAGE,
protobuf-config.cmake won't be used, thus the protobuf-generate macro
would be unavailable. By moving protobuf_generate to its own file, it
can be sourced and used even when using CMake's FetchContent.
Co-authored-by: Harald Fernengel <547273+haraldF@users.noreply.github.com>
2 years ago
Nipunn Koorapati
7651b60dcb
Add reserved option range for mypy-protobuf
...
Mypy-protobuf is here
https://github.com/nipunn1313/mypy-protobuf
It currently uses extensions as explained here.
https://github.com/nipunn1313/mypy-protobuf/blob/main/proto/mypy_protobuf/extensions.proto
It's a fairly stable project for generating type stubs for protobuf.
It's been around since ~2015 (open source since 2017). Since open
sourcing it, it would make sense to reserve some extension numbers in
the global range.
See
https://github.com/nipunn1313/mypy-protobuf/issues/396
2 years ago
Thomas Van Lenten
43b8721457
[ObjC] Remove the need for descriptor.proto in tests.
...
Add a test message to one of the objc test proto files for the one case that was
using what was in descriptor.proto.
2 years ago
Thomas Van Lenten
d979267a7f
Remove some test files not used.
2 years ago
Matt Fowles Kulukundis
b150c45da7
Merge pull request #10442 from thomasvl/objc_build_tweak
...
Minor tweaks to the ObjC build helper.
2 years ago
Thomas Van Lenten
ba8be43169
Minor tweaks to the ObjC build helper.
...
- Only output test failures (less to page through)
- Pass the build flags along when checking on the WKTs, otherwise the bazel
flags changed and the compiles have to re-done.
2 years ago
Derek Perez
3c32c05e13
Update bug_report.md ( #10440 )
2 years ago
Mike Kruskal
2eea38e52e
Fix Bazel 4 support ( #10438 )
...
* Downgrade a presubmit to Bazel 4.0.0 to reproduce failure
* Add explicit dependency on more recent platforms package
* Upgrade to Bazel 4.2.2, the oldest supported version
2 years ago
Mike Kruskal
7b091c5b2f
Upgrade to MSVC 2017 ( #10437 )
2 years ago
Christian Blichmann
6affd51405
Update abseil-cpp.cmake ( #10436 )
2 years ago
Mike Kruskal
d8421bd49c
Bumping Abseil version to latest LTS ( #10433 )
...
* Bumping Abseil version to latest LTS
* Upgrade PHP build to latest docker image
* Deleting php 7.0 kokoro build now that it's not supported
* Putting old PHP test back
* Fix test cases that exceed PHP_INT_MAX
2 years ago
Mike Kruskal
701dd83594
Integrate from Piper for C++, Java, and Python ( #10429 )
...
* Fixing typos
* Revert new files that were deleted by sync script
* Fix CMake breakages
* bump upb version
* Sync from Piper @468772608
PROTOBUF_SYNC_PIPER
* Adding abseil to include path for python C++ extension
* Adding abseil linkage for python C++ extension
* Fixing linkage order
2 years ago
Mike Kruskal
b39e9b3cff
Fixing python benchmark continuous test ( #10420 )
...
* Fixing bad syntax
* Revert runtime fix
* Second try at benchmarks
2 years ago
deannagarcia
beb7bbfc8d
Merge pull request #10423 from Wyverald/patch-1
...
update bazel_skylib to latest version (1.2.1)
2 years ago
Trent Houliston
735221ff3a
Sort dependency manifest ( #10414 )
...
* Sort the Dependency Manifest file
* Add a test
* split expected content to multiple lines
2 years ago
Matt Fowles Kulukundis
3919d23391
Merge pull request #10390 from marjoleinheyndrickx/wunused-parameters
...
avoid unused-parameter warning for c++
2 years ago
Matt Fowles Kulukundis
4dbf4e5e26
Merge pull request #10385 from marjoleinheyndrickx/main
...
Fix Wpedantic warning 'extra ;' for c++
2 years ago
Xùdōng Yáng
9f150598d4
update bazel_skylib to latest version (1.2.1)
2 years ago
Mike Kruskal
bc1b31001d
Add a real dependency on Abseil ( #10416 )
...
* Proof of concept for Abseil dependency
* Adding most common Abseil libraries
* Fixing shared library breakages
* Switching to quotes over angled brackets
* Disable install target by default
* Fixing abseil to LTS commit
* Upgrade to latest Abseil LTS
* Turning install back on by default, removing unnecessary export statements
* Add note to future self
* Fixing unsafe globals
2 years ago
Thomas Van Lenten
2b673bbb57
[Mac] Support bazelisk and drop -j argument.
...
The support for -j was there since make didn't do parallel builds by default.
Remove some references to the intermedia results of an autotools build.
2 years ago
Mike Kruskal
373d8225af
Upgrade python in benchmark kokoro build ( #10415 )
...
* Fixing bad syntax
* Revert runtime fix
* Add python venv to use latest version
2 years ago
Mike Kruskal
6b46e5fb37
Clean up conformance test documentation ( #10410 )
...
* Update conformance test documentation
* Fix bug to allow custom argument forwarding to conformance tests
* Fix trailing sentence
* Add note about linux CMake support up top
* Add note about CMake being C++-only
2 years ago
Marjolein Heyndrickx
da05f11cfe
avoid unused parameter warning
2 years ago
marjoleinheyndrickx
53211b88e4
Merge branch 'protocolbuffers:main' into wunused-parameters
2 years ago
Mike Kruskal
cac9765af0
Update CMake configuration to add a dependency on Abseil ( #10401 )
...
* Rolling https://github.com/protocolbuffers/protobuf/pull/9793 forward
* Removing private label on conformance linkage
* no-op comment added
2 years ago
Mike Kruskal
ce1cd3dec2
Specify that the python benchmark requires python 3 ( #10402 )
2 years ago
Tushar Bhatnagar
caff3c21e6
[cleanup] Suppress MSVC Warning in Generated C++ Files ( #10353 )
...
* Add static_cast so that generated files do not emit warning
* Address PR feedback
* Updates after running generate_descriptor_proto.sh
Co-authored-by: Tushar Bhatnagar <tushab@microsoft.com>
Co-authored-by: Adam Cozzette <acozzette@google.com>
2 years ago
Mike Kruskal
043cb56c00
Merge pull request #10399 from mkruskal-google/sync-stage
...
Integrate from Piper for C++, Java, and Python
2 years ago
Mike Kruskal
e71531aa0a
Adding new kotlin dependency
2 years ago
Mike Kruskal
6e09cbd121
Fixing maven dependencies for kotlin compiler changes
2 years ago
Mike Kruskal
ba6d17354f
Fixing reordered proto library includes
2 years ago
deannagarcia
f2385ac6da
Merge pull request #10398 from deannagarcia/macosCsharp
...
Relocate macos protoc build
2 years ago
Mike Kruskal
0d43511582
Merge tag 'refs/tags/sync-piper' into sync-stage
2 years ago
Mike Kruskal
bbed70881e
Sync from Piper @467234621
...
PROTOBUF_SYNC_PIPER
2 years ago
deannagarcia
68816b91a3
Merge pull request #10281 from casperisfine/ruby-smaller-message-classes
...
Ruby: Use class inheritance to save memory
2 years ago
Deanna Garcia
12e720f4ba
Make directory before copying
2 years ago
Deanna Garcia
8dc449b8f5
Relocate macos protoc build
2 years ago
marjoleinheyndrickx
8335ad01c8
Merge branch 'protocolbuffers:main' into main
2 years ago
Marjolein Heyndrickx
def602dd07
change macro to avoid pedantic warning
2 years ago