Rob Widmer
53be4109c0
Fixed spelling error in JRuby Protobuf class
2020-12-11 16:02:41 -08:00
Rob Widmer
351a34f666
Added some missing jruby files to the Makefile
2020-12-11 16:02:41 -08:00
Rob Widmer
24b2094f8a
Set up testing configuration for jruby
2020-12-11 16:02:41 -08:00
Rob Widmer
7b1d6abbe4
Fix some more failing tests
2020-12-11 16:02:41 -08:00
Rob Widmer
8313e577e5
Fix ruby gem to work with JRuby
2020-12-11 16:02:41 -08:00
Thomas BACCELLI
26c0fbc15b
Add macOS big sur compatibility
2020-12-07 14:36:56 -08:00
Elliotte Rusty Harold
c17e3c134c
Guava 30 ( #7991 )
2020-12-04 13:51:39 -08:00
Paul Yang
823f351448
Port for php8 ( #8105 )
...
* Port for php8
* Port php c extension for php8
* Update composer.json
* Drop php7.0 support
* Update phpunit for php7.1 in c extension test
* Add back support for php7.0
* Add badge for php8 continuous build
2020-12-04 13:46:34 -08:00
Paul Yang
70531697bc
Update docker file for php 32bit tests ( #8116 )
2020-12-02 16:44:56 -08:00
Gianni Tedesco
a91adf173b
Don't include sys/param.h for _BYTE_ORDER
...
It includes a bunch of other files including a lot of macros which can
reduce the namespace available for actual protobuf.
For example, create a protobuf with a member called SIGSEGV. Since
macros cannot be namespaced in C++ this results in code which cannot be
compiled.
Fix this by just directly including endian.h
2020-12-02 11:53:57 -08:00
Paul Yang
e8906e4ecd
Update docker file for php7 ( #8112 )
2020-12-02 10:10:18 -08:00
Nadav Samet
9637a3b57c
Allocate extension 1089 to ScalaPB validate
...
ScalaPB validate is a sub-package of ScalaPB that allows user to generate data validation code for ScalaPB generated classes.
2020-12-01 15:53:51 -08:00
Biswapriyo Nath
c777ade07b
Conformance/CMake: Remove non-existence binary_json_conformance_main.cc file.
2020-12-01 10:05:33 -08:00
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'
2020-11-30 15:06:55 -08:00
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)
2020-11-30 11:29:13 -08:00
Paul Yang
9432c99f37
Update docker image for php8 ( #8103 )
2020-11-30 10:19:50 -08:00
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`.
2020-11-25 17:31:49 -08:00
Antony Dovgal
51b620ac96
unregister INI entries and fix invalid read on shutdown ( #8042 )
2020-11-25 11:02:35 -08:00
Adam Cozzette
471317f03a
Merge pull request #8077 from acozzette/fix-8059
...
Updated ax_pthread.m4 to its most recent upstream version
2020-11-25 11:02:02 -08:00
Adam Cozzette
9e2d875dd6
Merge pull request #8089 from acozzette/fixes
...
Fixed some minor issues
2020-11-25 10:48:56 -08:00
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
Adam Cozzette
8cfb4284b4
Updated ax_pthread.m4 to its most recent upstream version
...
This should fix #8059 .
2020-11-20 16:36:56 -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