Commit Graph

7959 Commits

Author SHA1 Message Date
Joshua Haberman
6ef18e357a
[PHP] Fixes for package.xml: added/removed source files. (#8022)
These files should have been added/removed in
https://github.com/protocolbuffers/protobuf/pull/7944, but
this was missed and Kokoro does not test "pear package".
2020-11-10 11:34:16 -08:00
Thomas Van Lenten
2f6a7546e4 Update the pod tests to match the new min iOS version. 2020-11-10 11:10:51 -05:00
Thomas Van Lenten
8409f83930 Bump the podspec iOS min to 9.0
Xcode 12+ issue a warning when targeting older iOS versions, so avoid
the issue. #7980 updated the Xcode projects already.
2020-11-10 11:10:51 -05:00
Yuriy Chernyshov
87f1d9e2f6 Deduplicate string suffix predicates 2020-11-09 16:20:46 -08:00
Aurélien Grenotton
5f7f389a8a
Fix PyUnknownFields memory leak (#7928)
Properly release internal data structure on deallocation.
Fix #7301
2020-11-06 15:29:31 -08:00
Jan Tattermusch
0bb6dd8fd7
Merge pull request #8011 from JamesNK/jamesnk/remove-define-systemmemory
Remove GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY
2020-11-06 11:16:37 +01:00
James Newton-King
52618472bc
Remove GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY 2020-11-06 11:55:26 +13:00
Adam Cozzette
27100b40fd Update protobuf version 2020-11-05 14:30:53 -08:00
Joshua Haberman
ea513d71e0
Merge pull request #8006 from haberman/php-internaladd
[PHP] Optimized away hex2bin() call in generated code
2020-11-04 19:05:02 -08:00
Joshua Haberman
e8a442f97c Merge branch 'master' into php-internaladd 2020-11-04 18:01:08 -08:00
Joshua Haberman
7b56ea3ac3
Merge pull request #8005 from haberman/php-filefix
Moved HasOneof test into GeneratedClassTest.php, to avoid the extra file.
2020-11-04 14:39:34 -08:00
Joshua Haberman
a8a1493f35 Moved HasOneof test into GeneratedClassTest.php, to avoid the extra file. 2020-11-04 11:32:43 -08:00
Joshua Haberman
957a0bf08c
Merge pull request #8003 from anight/php_extension_add_has_oneof_field_method
add missing hasOneof method to check presence of oneof fields
2020-11-04 11:30:02 -08:00
Joshua Haberman
1dd483444c
Merge pull request #8000 from haberman/php-upb-update
[PHP] New version of upb, and a new hash function wyhash in third_party.
2020-11-03 09:41:12 -08:00
Andrei Nigmatulin
52d3be3276 added tests for hasOneof<Field>() php methods 2020-11-03 12:17:25 +00:00
Joshua Haberman
579aa89014 Updated wyhash.h to pick up fix for spelling mistake. 2020-11-02 22:59:37 -08:00
Joshua Haberman
314ce3c8a0 PHP: Fix in upb for 32-bit platforms. 2020-11-02 21:46:37 -08:00
Andrei Nigmatulin
913e1ede12 add missing has<Field>() method for oneof fields 2020-11-03 00:54:13 +00:00
Nadav Samet
b5d2cc08f1 Update scalapb URL and fix typo in name 2020-11-02 12:45:58 -08:00
Joshua Haberman
f5ab3b166c PHP: Removed 32-bit-specific PHP failure list.
32 and 64-bit PHP should have the same set of failures now.
2020-11-02 10:45:10 -08:00
Joshua Haberman
6e19526525 PHP: Removed previously failing tests from the failure list. 2020-11-02 10:29:42 -08:00
Joshua Haberman
78f56b84b5 Set -std=gnu99 for PHP extension compile. 2020-11-02 10:26:47 -08:00
Joshua Haberman
f65bcca31d Added extra files to Makefile.am and fixed spelling errors. 2020-11-02 09:44:46 -08:00
Joshua Haberman
a6985e598c New version of upb, and a new hash function wyhash in third_party. 2020-11-02 08:09:11 -08:00
Joshua Haberman
c5f7b4b0b3
Merge pull request #7944 from haberman/php-wkt
[PHP] Native C well-known types
2020-10-29 13:58:00 -07:00
Joshua Haberman
e0151addd3 Added missing files to Makefile.am. 2020-10-29 11:04:54 -07:00
Joshua Haberman
a29f792bae Updated Makefile.am for changed files. 2020-10-29 10:57:04 -07:00
Joshua Haberman
a1486fc89d Merge branch 'master' into php-wkt 2020-10-29 10:44:56 -07:00
Joshua Haberman
fdc35840b9
Merge pull request #7925 from haberman/sync-stage
Integrate from Piper for C++, Java, and Python
2020-10-28 12:02:24 -07:00
Joshua Haberman
709775b67e Added missing semicolon. 2020-10-28 10:56:51 -07:00
Joshua Haberman
69b245e63a Added Python 2.7-specific failure list for Python/C++ also. 2020-10-28 10:35:06 -07:00
Joshua Haberman
ee68c9b29c Added text format failure list for Python 2.7. 2020-10-28 10:05:07 -07:00
Joshua Haberman
036865fa7f Add C++ text format failure list, and a Python 2.7 text format failure list. 2020-10-28 09:49:55 -07:00
lakshayg
3cff48db79 Spell check only comments and strings in vim 2020-10-27 10:15:05 -07:00
Jan Tattermusch
9d9c670589
Merge pull request #7701 from basvdlinden/safe_bytestring_copyfrom_span
annotate ByteString.CopyFrom(ReadOnlySpan<byte>) as SecuritySafeCritical
2020-10-27 12:01:32 +01:00
Jichan
022078d3ee Fix a CMake module for support RelWithDebInfo and MinSizeRel install 2020-10-26 16:53:47 -07:00
Thomas Van Lenten
2123ed5df7 Switch to atomic for setting autocreated objects.
- Update semaphore comment to new scope.
- Use an atomic swap to avoid needing to use the semaphore.

This means the semaphore is create only when extension are auto created (less
memory usage).
2020-10-26 11:28:17 -04:00
Joshua Haberman
56ae807dbd Sync from Piper @338744130
PROTOBUF_SYNC_PIPER
2020-10-23 14:23:43 -07:00
Joshua Haberman
356d59ab57 Merge tag 'refs/tags/sync-piper' into sync-stage 2020-10-23 14:23:43 -07:00
Joshua Haberman
4cd56bdef8 Sync from Piper @338718276
PROTOBUF_SYNC_PIPER
2020-10-23 12:03:10 -07:00
Joshua Haberman
9d69c754a8 Merge tag 'refs/tags/sync-piper' into sync-stage 2020-10-23 12:03:10 -07:00
Joshua Haberman
981be5be20 Python/C++ text_format conformance test fix.
Pass the Python/C++ text_format failure list to the conformance runner.
2020-10-23 11:59:56 -07:00
Joshua Haberman
90021b813f Updated changelog. 2020-10-23 11:11:46 -07:00
Joshua Haberman
b70695dd68 Sync from Piper @338707351
PROTOBUF_SYNC_PIPER
2020-10-23 11:07:04 -07:00
Joshua Haberman
73ac11febe Merge tag 'refs/tags/sync-piper' into sync-stage 2020-10-23 11:07:04 -07:00
Joshua Haberman
3fff95e1bd Updated changelog. 2020-10-23 11:04:54 -07:00
Joshua Haberman
510cdff1f0 Merge branch 'master' into php-wkt 2020-10-22 15:53:02 -07:00
Adam Cozzette
de5d1b98c2 Updated compiler code to fully qualify std::string
This is one step toward removing the "using std::string" statement from
stubs/common.h.
2020-10-22 15:31:54 -07:00
dependabot[bot]
74de188815 Bump junit from 4.13 to 4.13.1 in /java
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-22 14:43:37 -07:00
Alexander Morozov
2558c5deef
Fix finding google/protobuf/descriptor.proto on FreeBSD (#7954) 2020-10-22 13:18:07 -07:00