Commit Graph

7802 Commits

Author SHA1 Message Date
Adam Cozzette
72fddb7272 Fixed the Codespell check 2020-11-24 15:02:25 -08:00
Adam Cozzette
551b440aaa Fixed some minor issues
This commit fixes some minor issues that came up when I tried to
integrate changes from Git into Google's internal codebase:
- Include stubs/strutil.h for access to Split() helper function
- Use emplace() instead of insert() so that the code still works if
  we're working with a string_view instead of a string
2020-11-24 14:57:28 -08:00
Adam Cozzette
977dde9ee3
Merge pull request #7180 from stac47/fix_deprecated_is_pod
Fix std::is_pod deprecated in C++20
2020-11-24 09:15:05 -08:00
Adam Cozzette
e65887ad0e
Merge branch 'master' into fix_deprecated_is_pod 2020-11-23 16:47:29 -08:00
Tongliang Liao
5a7a4a52a7 Install examples in /usr/local/share/protobuf/examples. 2020-11-23 15:58:38 -08:00
Joshua Haberman
bd9a7104e1
Merge pull request #8076 from haberman/sync-stage
Integrate from Piper for C++, Java, and Python
2020-11-23 09:09:53 -08:00
Joshua Haberman
7993c7456c Added note to CHANGES.txt about Arena::SpaceAllocated(). 2020-11-23 09:09:05 -08:00
Joshua Haberman
c2c13a558a Fixed Python C++ extension for Python 3.8.
Python 3.8 changed the meaning and type of the tp_print slot.
2020-11-20 13:20:55 -08:00
Joshua Haberman
284f4b6dd1 Fixed another spelling error. 2020-11-20 11:50:09 -08:00
Joshua Haberman
9be042029b Reverted unintentional change. 2020-11-20 11:43:17 -08:00
Joshua Haberman
29e788d8e2 Fixed spelling mistake. 2020-11-20 11:20:13 -08:00
Joshua Haberman
1817a01907 Updated changelog. 2020-11-20 11:06:07 -08:00
Joshua Haberman
920803e18d Merge tag 'refs/tags/sync-piper' into sync-stage 2020-11-20 10:44:58 -08:00
Joshua Haberman
5c028d6cf4 Sync from Piper @343521567
PROTOBUF_SYNC_PIPER
2020-11-20 10:44:58 -08:00
Jan Tattermusch
d7a26435fb
Merge pull request #7645 from JamesNK/jamesnk/bytestring-memory
Change ByteString to use memory and support unsafe create without copy
2020-11-18 19:26:42 +01:00
James Newton-King
e794919f6b
PR feedback 2020-11-18 22:54:06 +13:00
James Newton-King
79f5bad83c
Change ByteString to use memory and support unsafe create without copy 2020-11-18 21:58:32 +13:00
Mahdi Hosseini
7b352d318b Fix detecting file as directory on zOS issue #8051 2020-11-17 14:17:08 -08:00
Mahdi Hosseini
51bdb51050 Fix detecting file as directory on zOS issue #8051 2020-11-17 14:17:08 -08:00
Mahdi Hosseini
a73c8e052d Fix detecting file as directory on zOS issue #8051 2020-11-17 14:17:08 -08:00
Yuriy Chernyshov
0321358204 Fix some -Wunused-parameter warnings 2020-11-17 13:41:55 -08:00
Adam Cozzette
c981d39d1e
Merge pull request #8048 from acozzette/3.14.x-202011131455
Merge 3.14.x into master
2020-11-13 21:19:23 -08:00
Adam Cozzette
17a067dd36 Merge branch '3.14.x' into 3.14.x-202011131455 2020-11-13 15:49:45 -08:00
Adam Cozzette
2514f0bd7d Removed protoc-artifacts/target directory
I committed this directory by mistake and these build artifacts should
not be checked in.
2020-11-13 12:53:39 -08:00
Adam Cozzette
f3192d6128 Update protobuf version 2020-11-13 11:27:32 -08:00
Adam Cozzette
8630972ced Updated CHANGES.txt to add #8035 2020-11-13 11:27:32 -08:00
James Newton-King
e91922a4e7 Additional test 2020-11-13 09:13:01 -08:00
James Newton-King
e57f761e7b Fix parsing negative Int32Value that crosses segment boundary 2020-11-13 09:13:01 -08:00
Jan Tattermusch
012fe854ac
Merge pull request #8035 from JamesNK/jamesnk/int32wrapper-blocksize
Fix parsing negative Int32Value that crosses segment boundary
2020-11-13 15:18:40 +01:00
James Newton-King
fdf4ef62a5
Additional test 2020-11-13 12:17:24 +13:00
James Newton-King
d8800ae2f3
Fix parsing negative Int32Value that crosses segment boundary 2020-11-13 12:11:31 +13:00
Adam Cozzette
1b851b3fe6 Update protobuf version 2020-11-12 12:44:26 -08:00
Yuriy Chernyshov
397d34ca0e Restore proxy method upon acozzette@ request 2020-11-12 12:40:17 -08:00
Yuriy Chernyshov
20c780045a Deduplicate StripProto methods 2020-11-12 12:40:17 -08:00
Adam Cozzette
129a5edb28 Updated CHANGES.txt to include #7928 2020-11-12 12:31:39 -08:00
Aurélien Grenotton
99149badc0 Fix PyUnknownFields memory leak (#7928)
Properly release internal data structure on deallocation.
Fix #7301
2020-11-12 12:31:39 -08:00
Adam Cozzette
492858351c Updated CHANGES.txt for the 3.14.0 release 2020-11-12 09:06:13 -08:00
Adam Cozzette
fbbe11ae49 Reintroduced definitions for PHP GeneratedClassName() functions
We no longer use these functions, but it turns out that we need to keep
them around for gRPC to use.
2020-11-11 10:47:39 -08:00
Adam Cozzette
31f719618c Added back in notes field in package.xml
This field turns out to be required and cannot be empty, so this commit
adds some placeholder text.
2020-11-11 10:47:39 -08:00
Adam Cozzette
a8ab1fade9 Update protobuf version 2020-11-10 17:15:32 -08:00
Adam Cozzette
42d0c53f5b Fixed PHP version and release notes
This commit updates protobuf.c to refer to the PHP version macro so that
it stays up to date. I also deleted the notes element near the top of
package.xml. This seems to be a global notes field rather than a
per-release field, so it was showing up on new releases where it doesn't
make sense.

Fixes #8017.
2020-11-10 16:24:49 -08:00
Adam Cozzette
b45ce5eee5 Updated python/release.sh to use Python 3 for setup.py
This fixed an error I was getting about bdist_wheel not being found.
2020-11-10 15:39:42 -08:00
Thomas Van Lenten
5ee15d6135 Update the pod tests to match the new min iOS version. 2020-11-10 14:54:28 -08:00
Thomas Van Lenten
55ac338249 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 14:54:28 -08:00
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