Biswapriyo Nath
5cc03457e6
stubs/mutex: Fix compilation by initializing variable in WrappedMutex class.
...
This solves the following error in gcc:
explicitly defaulted function cannot be declared 'constexpr' because the implicit declaration is not 'constexpr'
4 years ago
Mike Lehan
9ee163a5d7
Update param type on offsetGet ( #8033 )
...
The param was typed as `object` which is invalid as when items are set in the container the key passes through `checkKey` where it enforces the key must be various classes of integer, bool or string. Thus I have replaced it with a union type (in future this can be a proper PHP level typehint, but for now only doctype)
4 years ago
Paul Yang
9432c99f37
Update docker image for php8 ( #8103 )
4 years ago
Jorg Brown
3f91c10f0d
Work around -Werror=type-limits under gcc 10.2 ( #8092 )
...
* Work around `-Werror=type-limits` under gcc 10.2
This is an error when tag is greater than 128 under gcc 10.2: `if (tag < 128) return *ptr == tag;`
It's an error even though the comparison occurs in a branch of code we know won't be taken. See https://godbolt.org/z/1eaP86
This works around the problem by casting `tag` to the same type as `*ptr`.
4 years ago
Antony Dovgal
51b620ac96
unregister INI entries and fix invalid read on shutdown ( #8042 )
4 years ago
Adam Cozzette
471317f03a
Merge pull request #8077 from acozzette/fix-8059
...
Updated ax_pthread.m4 to its most recent upstream version
4 years ago
Adam Cozzette
9e2d875dd6
Merge pull request #8089 from acozzette/fixes
...
Fixed some minor issues
4 years ago
Adam Cozzette
72fddb7272
Fixed the Codespell check
4 years ago
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
4 years ago
Adam Cozzette
977dde9ee3
Merge pull request #7180 from stac47/fix_deprecated_is_pod
...
Fix std::is_pod deprecated in C++20
4 years ago
Adam Cozzette
e65887ad0e
Merge branch 'master' into fix_deprecated_is_pod
4 years ago
Tongliang Liao
5a7a4a52a7
Install examples in `/usr/local/share/protobuf/examples`.
4 years ago
Joshua Haberman
bd9a7104e1
Merge pull request #8076 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
4 years ago
Joshua Haberman
7993c7456c
Added note to CHANGES.txt about Arena::SpaceAllocated().
4 years ago
Adam Cozzette
8cfb4284b4
Updated ax_pthread.m4 to its most recent upstream version
...
This should fix #8059 .
4 years ago
Joshua Haberman
c2c13a558a
Fixed Python C++ extension for Python 3.8.
...
Python 3.8 changed the meaning and type of the tp_print slot.
4 years ago
Joshua Haberman
284f4b6dd1
Fixed another spelling error.
4 years ago
Joshua Haberman
9be042029b
Reverted unintentional change.
4 years ago
Joshua Haberman
29e788d8e2
Fixed spelling mistake.
4 years ago
Joshua Haberman
1817a01907
Updated changelog.
4 years ago
Joshua Haberman
5c028d6cf4
Sync from Piper @343521567
...
PROTOBUF_SYNC_PIPER
4 years ago
Joshua Haberman
920803e18d
Merge tag 'refs/tags/sync-piper' into sync-stage
4 years ago
Jan Tattermusch
d7a26435fb
Merge pull request #7645 from JamesNK/jamesnk/bytestring-memory
...
Change ByteString to use memory and support unsafe create without copy
4 years ago
James Newton-King
e794919f6b
PR feedback
4 years ago
James Newton-King
79f5bad83c
Change ByteString to use memory and support unsafe create without copy
4 years ago
Mahdi Hosseini
7b352d318b
Fix detecting file as directory on zOS issue #8051
4 years ago
Mahdi Hosseini
51bdb51050
Fix detecting file as directory on zOS issue #8051
4 years ago
Mahdi Hosseini
a73c8e052d
Fix detecting file as directory on zOS issue #8051
4 years ago
Yuriy Chernyshov
0321358204
Fix some -Wunused-parameter warnings
4 years ago
Adam Cozzette
c981d39d1e
Merge pull request #8048 from acozzette/3.14.x-202011131455
...
Merge 3.14.x into master
4 years ago
Adam Cozzette
17a067dd36
Merge branch '3.14.x' into 3.14.x-202011131455
4 years ago
Adam Cozzette
2514f0bd7d
Removed protoc-artifacts/target directory
...
I committed this directory by mistake and these build artifacts should
not be checked in.
4 years ago
Adam Cozzette
f3192d6128
Update protobuf version
4 years ago
Adam Cozzette
8630972ced
Updated CHANGES.txt to add #8035
4 years ago
James Newton-King
e91922a4e7
Additional test
4 years ago
James Newton-King
e57f761e7b
Fix parsing negative Int32Value that crosses segment boundary
4 years ago
Jan Tattermusch
012fe854ac
Merge pull request #8035 from JamesNK/jamesnk/int32wrapper-blocksize
...
Fix parsing negative Int32Value that crosses segment boundary
4 years ago
James Newton-King
fdf4ef62a5
Additional test
4 years ago
James Newton-King
d8800ae2f3
Fix parsing negative Int32Value that crosses segment boundary
4 years ago
Adam Cozzette
1b851b3fe6
Update protobuf version
4 years ago
Yuriy Chernyshov
397d34ca0e
Restore proxy method upon acozzette@ request
4 years ago
Yuriy Chernyshov
20c780045a
Deduplicate StripProto methods
4 years ago
Adam Cozzette
129a5edb28
Updated CHANGES.txt to include #7928
4 years ago
Aurélien Grenotton
99149badc0
Fix PyUnknownFields memory leak ( #7928 )
...
Properly release internal data structure on deallocation.
Fix #7301
4 years ago
Adam Cozzette
492858351c
Updated CHANGES.txt for the 3.14.0 release
4 years ago
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.
4 years ago
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.
4 years ago
Adam Cozzette
a8ab1fade9
Update protobuf version
4 years ago
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 .
4 years ago
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.
4 years ago