Commit Graph

8993 Commits

Author SHA1 Message Date
Adam Cozzette
cc7b1b5323 Update protobuf version 2022-01-10 18:08:15 -08:00
Adam Cozzette
ee432e55b8 Update CHANGES.txt for 3.19.3
The 3.19.2 release was supposed to fix the missing Python 3.10 wheel for
Windows, but this turned out to need some more fixes. This commit
updates CHANGES.txt to reflect that this fix will happen in 3.19.3
instead of 3.19.2.
2022-01-10 18:08:15 -08:00
Adam Cozzette
203c593b96 Fix build error with Python 3.10 build on Windows
The Windows build for Python 3.10 is giving us an error about ssize_t
being undefined, so this commit fixes the problem by replacing it with
Py_ssize_t, which is consistent with what we do elsewhere in the file.
2022-01-10 16:55:04 -08:00
Adam Cozzette
922a7ec189 Fix Python 3.10 C++ tests (#9128)
The first change is to make sure we always define PY_SSIZE_T_CLEAN
before including Python.h. Starting from Python 3.10 this is required.
Otherwise we get errors like this:

SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

The second change is to update reflection_test.py to account for the
fact that with Python 3.10, we get a TypeError even with the C++
implementation when trying to assign a float to a bool field. I'm not
sure why this changed with Python 3.10, but it seems like a good thing
since this is the desired behavior anyway.
2022-01-10 16:55:04 -08:00
Gregory Haskins
3d995aaf98
Update protojure link (#9389) 2022-01-09 15:14:18 +00:00
Elliotte Rusty Harold
0ac74b8126
turn on animal-sniffer (#9383)
* turn on animal-sniffer
* allow API level 19 for util package
2022-01-07 23:45:21 +00:00
Elliotte Rusty Harold
c7808a87fa
restore even more Android API level 14 compatibility (#9388) 2022-01-07 21:27:07 +00:00
Elliotte Rusty Harold
864aa49c6d
restore Android API level 14 compatibility (#9386) 2022-01-07 20:08:45 +00:00
Elliotte Rusty Harold
d8ccfbf005
Revert "Transition to NIO StandardCharsets" (#9382) 2022-01-07 18:19:51 +00:00
Elliotte Rusty Harold
ee648b76a7
Update, fix, or delete an assortment of broken links (#9381)
* fix a few broken links and remove some dead ones

* new github repo
2022-01-07 13:42:27 +00:00
LINKIWI
50b0bed121
Set protoc binary file mode to 0555 in release archive (#9354) 2022-01-06 17:22:31 -08:00
Elliotte Rusty Harold
b73f78d32c
update GSON to 2.8.9 (#9367) 2022-01-05 21:23:54 +00:00
Thomas Van Lenten
c997582f7c Default two more of the options from env variables.
For build systems that don't allow someone to easily add in generator args,
support env variables for the values.

Most the bool env var support to a helper since it is used in three places now.
2022-01-05 15:42:49 -05:00
Adam Cozzette
cb46755e64 Tweak wording of CHANGES.txt 2022-01-05 10:05:11 -08:00
Adam Cozzette
eb94f17a8b Update protobuf version 2022-01-05 10:05:11 -08:00
Adam Cozzette
ea9a01a0f5 Update CHANGES.txt for 3.19.2 release 2022-01-05 10:05:11 -08:00
Adam Cozzette
9638a5e531 Improve performance of parsing unknown fields in Java (#9371)
Credit should go to @elharo for most of these Java changes--I am just
cherry-picking them from our internal codebase. The one thing I did
change was to give the UTF-8 validation tests their own Bazel test
target. This makes it possible to give the other tests a shorter
timeout, which is important for UnknownFieldSetPerformanceTest in
particular.
2022-01-05 10:05:11 -08:00
Adam Cozzette
0e02f95b87 Fix Ruby release build by pinning rake-compiler-dock version (#9372)
Our Ruby release build broke at some point in the past day or so, and I
strongly suspect it is due to a new version (1.2.0) of
rake-compiler-dock. This commit pins the version to 1.1.0 as a temporary
fix.
2022-01-05 10:05:11 -08:00
Adam Cozzette
c555c3dd14
Improve performance of parsing unknown fields in Java (#9371)
Credit should go to @elharo for most of these Java changes--I am just
cherry-picking them from our internal codebase. The one thing I did
change was to give the UTF-8 validation tests their own Bazel test
target. This makes it possible to give the other tests a shorter
timeout, which is important for UnknownFieldSetPerformanceTest in
particular.
2022-01-05 08:50:29 -08:00
Adam Cozzette
f681c8d9e6
Fix Ruby release build by pinning rake-compiler-dock version (#9372)
Our Ruby release build broke at some point in the past day or so, and I
strongly suspect it is due to a new version (1.2.0) of
rake-compiler-dock. This commit pins the version to 1.1.0 as a temporary
fix.
2022-01-05 08:26:20 -08:00
Elliotte Rusty Harold
b17c8ca979
fix spelling errors (#9368)
* fix spelling errors

* outter --> outer
2022-01-04 21:50:47 +00:00
Joshua Haberman
c4bb4c9206
Merge pull request #9216 from jtattermusch/pin_multibuild_manylinux1
Pin multibuild scripts to get manylinux1 wheels back
2022-01-03 08:57:58 -08:00
Jan Tattermusch
6f8d82c2b1 fixup linux python artifact build 2022-01-03 14:59:51 +01:00
Jan Tattermusch
ea60c9cb08 use manylinux2010 for python3.10 wheel on x86_64 2022-01-03 10:54:28 +01:00
Jan Tattermusch
7857b15afc pin multibuild, set MB_ML_VER explicitly 2022-01-03 10:46:05 +01:00
Jan Tattermusch
0906af9870 pin multibuild scripts to get manylinux1 wheels back 2022-01-03 10:46:05 +01:00
Adam Cozzette
9057466a7a
Merge pull request #9336 from acozzette/merge-3.18.x
Merge 3.18.x into 3.19.x
2021-12-23 09:58:38 -08:00
Adam Cozzette
9227f60f85 Merge branch '3.18.x' into merge-3.18.x 2021-12-22 23:04:07 +00:00
Adam Cozzette
1fe07f9ce2
Cherry-pick fix from #9311 into 3.18.x (#9320)
* Dropped Ruby 2.4 support for CI and releases.

* Removed Kokoro configs for old Ruby versions.

* Update Dockerfile to allow it to be rebuilt

Co-authored-by: Joshua Haberman <jhaberman@gmail.com>
2021-12-22 15:01:34 -08:00
deannagarcia
01e84b1293
Merge pull request #9333 from protocolbuffers/test_417622470
Project import generated by Copybara
2021-12-22 13:38:56 -08:00
Mike Kruskal
b79dbb7db0 Project import generated by Copybara
PiperOrigin-RevId: 417622470
2021-12-22 10:28:56 -08:00
Protobuf Team
8f6c3c6824 Project import generated by Copybara
PiperOrigin-RevId: 417821950
2021-12-22 08:04:25 -08:00
Jie Luo
cb1f49ae73
Cherry-pick Python 3.10 fix to 3.19.x (#9323) 2021-12-17 10:50:45 -08:00
Jie Luo
bb5094881c
Update python 3.10 install MD5 Sum (#9322)
https://www.python.org/downloads/release/python-3100/
2021-12-16 21:38:42 -08:00
deannagarcia
b360b9e388
Change toolchain includes (#9318)
This fixes path resolution failures when following `#include_next` directives in headers found from paths in `extra_compiler_flags`.
2021-12-16 15:07:05 -08:00
Jie Luo
911c940569
Fix python 10 install error 2021-12-16 14:14:45 -08:00
deannagarcia
338863f043
Merge pull request #9317 from protocolbuffers/fixWindowsBuilds
Change windows cross compile includes
2021-12-16 13:24:22 -08:00
Deanna Garcia
a16629667a Removing -I include to ensure there's only one system include 2021-12-16 21:16:08 +00:00
Thomas Van Lenten
41606730da Add space to fix error message formatting. 2021-12-16 15:51:39 -05:00
Elliotte Rusty Harold
a35c973b7f
remove unused test proto (#9298)
* remove unused test proto
2021-12-16 16:50:40 +00:00
Elliotte Rusty Harold
b10578c9e5
Merge pull request #9309 from protocolbuffers/elharo-patch-1
show less log junk from Maven
2021-12-16 15:51:09 +00:00
Joshua Haberman
de5eb0a3e3
Merge pull request #9311 from haberman/fix-ruby
Dropped Ruby 2.3 and 2.4 support for CI and releases.
2021-12-15 19:12:21 -08:00
Joshua Haberman
a7089254d1 Removed Kokoro configs for old Ruby versions. 2021-12-15 16:48:01 -08:00
Joshua Haberman
214180c5a2 Dropped Ruby 2.4 support for CI and releases. 2021-12-14 16:33:16 -08:00
Elliotte Rusty Harold
5711cab189
show less log junk from Maven
@perezd turn off de bugging messages such as

```
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
```
2021-12-14 23:40:36 +00:00
Alisa
8c29dc2c4d
Fix broken max macro on Windows (#9273) 2021-12-14 08:45:13 -08:00
Dane Harrigan
29b3d01572
Add protoc-gen-go-svc to options.md (#9280) 2021-12-07 16:47:05 -08:00
deannagarcia
88384c99ec
Merge pull request #9278 from protocolbuffers/fixWindowsBuilds
Add comma
2021-12-07 10:36:49 -08:00
Deanna Garcia
0fba541a69 Add comma 2021-12-04 00:33:05 +00:00
deannagarcia
4812107b9d
Merge pull request #9277 from protocolbuffers/fixWindowsBuilds
Change include directories
2021-12-03 16:07:04 -08:00