Commit Graph

8650 Commits

Author SHA1 Message Date
Joshua Haberman
66a3e1a670 Added missing file to EXTRA_DIST. 2021-09-10 17:40:31 -07:00
Joshua Haberman
79ac88bbbb Fixed a memory bug with RepeatedField#+.
We need to fuse the arrays so that the second array's data
stays live.
2021-09-10 17:17:14 -07:00
Sandy Zhang
565294d79f Remove duplicate build_ext class and get_ext_filename method 2021-09-11 00:14:28 +00:00
Joshua Haberman
759a539736 Fixed PHP SEGV when constructing messages from a destructor.
This also fixes the keep_descriptor_pool_after_request option, which
was not working properly.
2021-09-10 16:57:59 -07:00
Sandy Zhang
5dcc8f2392 Add release notes. 2021-09-10 21:20:01 +00:00
Sandy Zhang
c43d053c1b Merge tag 'refs/tags/sync-piper' into sync-stage 2021-09-10 20:04:53 +00:00
Sandy Zhang
215dd1335b Sync from Piper @395989630
PROTOBUF_SYNC_PIPER
2021-09-10 20:04:52 +00:00
Joshua Haberman
7beab00b05
Merge pull request #8966 from jtattermusch/reintroduce_setuppy_aarch64
Reintroduce setup.py changes from #8280 erased by piper import #8902
2021-09-10 09:53:18 -07:00
Joshua Haberman
605ab956e0
Merge pull request #8964 from haberman/php-8.1
Added support for PHP 8.1 (currently in RC1) to the C extension
2021-09-10 09:11:14 -07:00
Joshua Haberman
757615ae54
Merge pull request #8959 from VeryStrongFingers/patch-1
Update Field Presence doc
2021-09-10 08:14:38 -07:00
Jan Tattermusch
3efd68c793 Reintroduce setup.py changes from #8280 erased by piper import #8902 2021-09-10 09:53:31 +02:00
Joshua Haberman
44df0abc02 Added support for PHP 8.1 (currently in RC1). 2021-09-09 21:32:11 -07:00
Joshua Haberman
19bac6af2d
Merge pull request #8961 from haberman/axe-py2
Removed Python 2.x support for Python.
2021-09-09 20:54:02 -07:00
Joshua Haberman
e5775e4fb6 Updated tests.sh to remove testing of old Python. 2021-09-09 19:06:50 -07:00
Mitchell Macpherson
c9dffbf3f4
Update field_presence.md 2021-09-10 11:40:00 +10:00
Joshua Haberman
359594f4bb Removed Python 2.x support for Python. 2021-09-09 17:45:49 -07:00
Joshua Haberman
75eff10d81
Merge pull request #8960 from haberman/sync-stage
Integrate from Piper for C++, Java, and Python
2021-09-09 15:21:15 -07:00
Joshua Haberman
c70b4e570b Removed remaining dependence on six for Python. 2021-09-09 13:38:21 -07:00
Joshua Haberman
a76f5da9a0 Removed extraneous trailing backslashes. 2021-09-09 13:25:55 -07:00
Joshua Haberman
a33aa736fc Removed more testing of Python <3.5. 2021-09-09 13:20:34 -07:00
Joshua Haberman
1a662aa18d Disabled build_files_updated unittest for now. 2021-09-09 12:21:44 -07:00
Joshua Haberman
7adaf9eb79 Marked JS conformance runner as executable. 2021-09-09 11:33:31 -07:00
Joshua Haberman
f46293839e Removed redundant license header that confounded shebang line. 2021-09-09 11:14:48 -07:00
Joshua Haberman
b6d1e05d55 Removed google-internal annotation. 2021-09-09 10:06:21 -07:00
Joshua Haberman
4a81770b7f Reverted package change in test proto. 2021-09-09 10:01:41 -07:00
Joshua Haberman
bbf5d54ab7 Added missing source to Makefile.am. 2021-09-09 09:04:20 -07:00
Joshua Haberman
8b75c14592 Added release notes. 2021-09-09 08:31:29 -07:00
Joshua Haberman
018e2e7751 Merge tag 'refs/tags/sync-piper' into sync-stage
# Conflicts:
#	src/google/protobuf/descriptor.pb.cc
#	src/google/protobuf/duration.pb.cc
#	src/google/protobuf/timestamp.pb.cc
#	src/google/protobuf/type.pb.cc
#	src/google/protobuf/wrappers.pb.cc
2021-09-09 08:23:12 -07:00
Joshua Haberman
e5c570bb57 Sync from Piper @395706834
PROTOBUF_SYNC_PIPER
2021-09-09 08:21:42 -07:00
Mitchell Macpherson
a52e00ed97
Update Field Presence doc
Updated information surrounding the usage of `optional` and the `--experimental_allow_proto3_optional` flag with relevant information between v3.12 & 3.15.

Since release v3.15:
>  Optional fields for proto3 are enabled by default, and no longer require
>  the --experimental_allow_proto3_optional flag.
2021-09-09 11:45:06 +10:00
Kevin Gibson
10d0faef6d
Use ReadVarint32 for Int32 types (#8769)
* Add INT32 to list of 32-bit varint types

* update descriptor protos

Co-authored-by: Greg Stoll <greg@gregstoll.com>
2021-09-03 11:56:48 -07:00
Jan Tattermusch
a8b73fb904
OSS benchmark script improvements: use java 11, remove tcmalloc, remove JS (#8918) 2021-09-03 09:24:32 -07:00
Joshua Haberman
768bc823ef
Merge pull request #8948 from compnerd/split-check
build: fix the support for CMake[<3.7]
2021-09-01 10:55:55 -07:00
Sil3ntStorm
7b9b7fe4a0
Fix unreachable code return in a case label that has a switch with only a default case in it, which returns already (#8927) 2021-09-01 10:03:40 -07:00
Saleem Abdulrasool
bf7a5e40a8 build: fix the support for CMake[<3.7]
The `VERSION_GREATER_EQUAL` operator was introduced in CMake 3.7.0
(released in 2016).  Use the long form of the check by splitting the
operation into two comparisons to support the older CMake.
2021-09-01 08:34:12 -07:00
Jan Tattermusch
4368383f0e
Merge pull request #8944 from jtattermusch/fix_arm64_dockcross_break
fix arm64 tests broken by dockcross image update
2021-09-01 13:23:41 +02:00
Jan Tattermusch
2bd61368de fix arm64 C++ tests broken by dockcross image update 2021-09-01 12:14:10 +02:00
Jan Tattermusch
981326af1d fix arm64 tests broken by dockcross image update 2021-09-01 11:38:23 +02:00
Paul Yang
32461877b7
Adding missing "," (#8943) 2021-08-31 18:13:19 -07:00
Paul Yang
a9d86f9811
Merge pull request #8941 from TeBoring/3.18.x-fix3
Addresses duplicates identified in #8925 (#8939)
2021-08-31 14:14:45 -07:00
Derek Perez
0bab8e808e Addresses duplicates identified in #8925 (#8939)
* Addresses duplicates identified in #8925

java_export aliases the rule name to the full maven_project_jar which consolidates all deps into a merged jar. This is not what we want for Bazel users.

* Update :util to match
2021-08-31 12:19:03 -07:00
Derek Perez
2937b2ca63
Addresses duplicates identified in #8925 (#8939)
* Addresses duplicates identified in #8925

java_export aliases the rule name to the full maven_project_jar which consolidates all deps into a merged jar. This is not what we want for Bazel users.

* Update :util to match
2021-08-31 12:14:11 -07:00
Joshua Haberman
1de15cef31
Merge pull request #8936 from haberman/ruby-json-name
Added missing "options" parameter.
2021-08-31 08:49:35 -07:00
Joshua Haberman
6d8b05bfd4 Added missing "options" parameter. 2021-08-30 22:58:58 -07:00
Paul Yang
1f838107d8
Update change log (#8922) 2021-08-30 14:53:32 -07:00
Elliotte Rusty Harold
3bc229afae
add Stack Overflow as a possible support channel. (#8908)
* add Stack Overflow as a possible support channel.
2021-08-30 20:55:43 +00:00
Sil3ntStorm
c87e1ae597
Fix uninitialized variable warnings in descriptor.cc (#8931)
* Fix uninitialized variable use warnings in descriptor.cc AllocateFieldNames and AllocRawInternal

* Fix missing-field-initializers warning
2021-08-30 13:39:33 -07:00
Sil3ntStorm
ef6a9b2854
Fix cast truncates constant value warning (#8932) 2021-08-30 10:26:39 -07:00
Joshua Haberman
fe54248aba
Merge pull request #8917 from Sil3ntStorm/issue-6159
Use if constexpr in template functions
2021-08-30 09:20:42 -07:00
Sil3ntStorm
1473d74620
Disable conditional expression is constant warning (C4127) inside protobuf 2021-08-29 22:44:34 +02:00