Adam Cozzette
f3192d6128
Update protobuf version
4 years ago
Adam Cozzette
1b851b3fe6
Update protobuf version
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
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".
4 years ago
Adam Cozzette
27100b40fd
Update protobuf version
4 years ago
Joshua Haberman
a8a1493f35
Moved HasOneof test into GeneratedClassTest.php, to avoid the extra file.
4 years ago
Andrei Nigmatulin
52d3be3276
added tests for hasOneof<Field>() php methods
4 years ago
Joshua Haberman
314ce3c8a0
PHP: Fix in upb for 32-bit platforms.
4 years ago
Andrei Nigmatulin
913e1ede12
add missing has<Field>() method for oneof fields
4 years ago
Joshua Haberman
78f56b84b5
Set -std=gnu99 for PHP extension compile.
4 years ago
Joshua Haberman
f65bcca31d
Added extra files to Makefile.am and fixed spelling errors.
4 years ago
Joshua Haberman
a6985e598c
New version of upb, and a new hash function wyhash in third_party.
4 years ago
Joshua Haberman
de371235c9
Sync from Piper @338284531
...
PROTOBUF_SYNC_PIPER
4 years ago
Joshua Haberman
8ea38263ec
Put NDEBUG in upb, not in CFLAGS.
4 years ago
Joshua Haberman
e1b42ab946
Disable assertions for release build.
4 years ago
Joshua Haberman
4936abe813
Fixed bug with oneofs in JSON decoding.
4 years ago
Joshua Haberman
d140b1cdce
Optimizations for loading of descriptors in PHP:
...
1. Eliminate hex2bin() call by putting binary data directly into PHP
strings.
2. upb optimizations, including a new hash function.
4 years ago
Paul Yang
0a648daaca
Use the https address for git clone ( #7951 )
...
The previous git address failed for no access
4 years ago
Paul Yang
d1eca4e4b4
Update version number to 3.13.0.1 for php ( #7950 )
4 years ago
Joshua Haberman
8308aa0c31
Properly terminate method array.
4 years ago
Joshua Haberman
5a98ff98d7
Create a separate InternalDescriptorPool method to see if that fixes preloading.
4 years ago
Joshua Haberman
e62cf76b94
Added missing base classes.
4 years ago
Joshua Haberman
05644f0313
Revert upb changes to minimize changes as we evaluate performance.
4 years ago
Joshua Haberman
ec4b194608
Regenerated protos with new script.
4 years ago
Joshua Haberman
cfc0c2b5e0
Passes all tests.
4 years ago
Joshua Haberman
a93d840881
WIP.
4 years ago
Joshua Haberman
a0eef68bbd
Regenerated well-known types and moved hand-written messages into base classes.
4 years ago
Joshua Haberman
cae85a9f11
PHP: Added `==` operators for Map and Array. ( #7900 )
4 years ago
Joshua Haberman
f0942fb0a2
Equals passes tests in both pure-PHP and the C extension. ( #7883 )
4 years ago
Joshua Haberman
95e6c5b474
Sync from Piper @327110949
...
PROTOBUF_SYNC_PIPER
4 years ago
Paul Yang
93d8e89374
Fix version number in php macro ( #7822 )
...
Fixes #7812
4 years ago
Adam Cozzette
cddcbb93f0
Fixed spelling (reenable -> re-enable)
4 years ago
Adam Cozzette
fde7cf7358
Update protobuf version
4 years ago
Adam Cozzette
98c2e69f8c
Update protobuf version
4 years ago
Paul Yang
5ce6232605
No need to generate addtional has method for proto2 ( #7802 )
...
* No need to generate addtional has method for proto2
* Also remove has property
4 years ago
Paul Yang
d4ca92962c
Port php c extension to php8 ( #7793 )
...
* Only ported c extension to php8.
* Didn't fixed the issue of throwing warnings for missing arginfo in bundled files.
* Tests not fixed, because syntax of phpunit (<7 vs >9.3) are not compatible.
* In next release, needs to drop php5 and php7.0 support (in order to use phpunit > 7)
4 years ago
Peter Newman
e2cc2de304
Fix lots of spelling errors ( #7751 )
...
* Fix a typo
* Fix lots of spelling errors
* Fix a few more spelling mistakes
* s/parsable/parseable/
* Don't touch the third party files
* Cloneable is the preferred C# term
* Copyable is the preferred C++ term
* Revert "s/parsable/parseable/"
This reverts commit 534ecf7675
.
* Revert unparseable->unparsable corrections
4 years ago
Joshua Haberman
610bbd0b95
Fixed compile_extension.sh --release to actually enable optimization. ( #7766 )
4 years ago
Paul Yang
0929596575
Check realoneof in json parsing ( #7763 )
...
* Check realoneof in json parsing
* Fix whichoneof to also work for synthetic oneof
4 years ago
Adam Cozzette
1c587a8059
Updated version to 3.13.0-rc2
4 years ago
Paul Yang
69c4bc5674
Updated upb to pick up several bugfixes ( #7740 )
...
* Updated upb to pick up several bugfixes. This fixes most conformance failures.
* Updated golden file, now that we are serializing as packed by default.
* Set "packed" properly: it is on by default for packable fields in proto3.
* Updated failure list for PHP now that we properly respect "packed".
* Temporarily disable encode_decode_test
Co-authored-by: Joshua Haberman <jhaberman@gmail.com>
4 years ago
Joshua Haberman
a28af654fa
Removed obsolete TSRMLS_* usage. ( #7731 )
4 years ago
Joshua Haberman
5f32d484c1
Updated minimum required version for C extension to 7.0. ( #7730 )
4 years ago
Joshua Haberman
ad5a215359
Added proto3 presence support for PHP ( #7724 )
...
* WIP.
* Added proto3 presence support for PHP.
* Added compatibility code for old generated code.
4 years ago
Adam Cozzette
8940150706
Updated version to 3.13.0-rc1.
4 years ago
Joshua Haberman
ffb2b53834
Remove old PHP extension ( #7695 )
...
* Removed references to legacy class names from generated code.
* Removed old PHP extension in favor of new extension. This drops PHP5 compat.
* Updated failure lists for things fixed by the new extension.
* Updated Makefile.am for new file list.
* Fix distcheck.
4 years ago
David Grayston
c02ded7a57
Fix GPBUtil::getFullClassName() argument order ( #7629 )
4 years ago
Joshua Haberman
25755efc4f
Sync from Piper @319848517
...
PROTOBUF_SYNC_PIPER
4 years ago