Jan Ehrhardt
4d9bbac167
Enable building PHP extension on Windows ( #13097 )
...
This PR adds a config.w32 for the PHP extension and includes it in the tgz for PECL.
I used this to build php_protobuf.dll for PHP 8.2.7.
See https://github.com/phalcon/cphalcon/issues/16318#issuecomment-1592534432 for the request to build the extension and the result.
Please review and merge.
Closes #13097
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13097 from Jan-E:php-windows 4259af1668
PiperOrigin-RevId: 542050878
1 year ago
Jie Luo
3560e2381e
Remove RegisterExtension in message class
...
PiperOrigin-RevId: 539568063
1 year ago
Mike Kruskal
12e0f1d66a
Regenerate amalgamation files
...
PiperOrigin-RevId: 536843635
2 years ago
Protobuf Team Bot
ab678477cd
Updates supported PHP versions.
...
This update addresses the issue raised in [GitHub Issue #12760 ](https://github.com/protocolbuffers/protobuf/issues/12760 ).
PiperOrigin-RevId: 532116533
2 years ago
deannagarcia
0e23f18865
Merge to main after 23.0 release ( #12721 )
...
Closes #12721
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12721 from protocolbuffers:main-202305082101 36482b4c68
PiperOrigin-RevId: 530664393
2 years ago
Protobuf Team Bot
67d9ea87f3
Internal change
...
PiperOrigin-RevId: 530619366
2 years ago
Protobuf Team Bot
6e511679de
Updating version.json and repo version numbers to: 23.0
2 years ago
Protobuf Team Bot
d8f44cc2fb
Updating version.json and repo version numbers to: 23.0-rc3
2 years ago
Protobuf Team Bot
51f51ac4ef
Updating version.json and repo version numbers to: 23.0-rc2
2 years ago
Protobuf Team Bot
b21d6be78b
Updating version.json and repo version numbers to: 23.0-rc1
2 years ago
Deanna Garcia
b26afb5a86
Update protobuf's UPB dep in preparation for the 23.0-rc1 release.
...
PiperOrigin-RevId: 527061210
2 years ago
Protobuf Team Bot
469f0277b8
Add a field to ExtensionRangeOptions to mark an extension range is verified or not.
...
An extension range is either of verification state "UNVERIFIED" or "DECLARATION". If "DECLARATION", all extension fields of the range must be declared, or build error otherwise. The current default is "UNVERIFIED", but we will flip the default later.
Deprecate `is_repeated` in favor of `repeated`.
PiperOrigin-RevId: 526184056
2 years ago
Deanna Garcia
bd6a0cf15b
Delete old numpy_test.py file and replace references with the new one.
...
This is the final step to make numpy/pip_deps a test-only dependency.
PiperOrigin-RevId: 525785717
2 years ago
Deanna Garcia
c7d979dbf4
Update UPB dependency
...
PiperOrigin-RevId: 524423191
2 years ago
Protobuf Team Bot
482156c0f9
Updating version.json and repo version numbers to: 22.3
2 years ago
Protobuf Team Bot
41287bd5d5
Implement "reserved" for extension declaration.
...
This can be useful when an extension field/declaration is deleted in schema to avoid data corruption.
It also adds a check for duplicate numbers in the declarations.
PiperOrigin-RevId: 523269837
2 years ago
Mike Kruskal
145900f06c
Open-source extension declaration definition.
...
PiperOrigin-RevId: 519752053
2 years ago
Eric Salo
dfb71558a2
sync to current upb and enable new unit test on upb
...
PiperOrigin-RevId: 518643876
2 years ago
Mike Kruskal
d480470dfc
Internal changes
...
PiperOrigin-RevId: 518088680
2 years ago
Jakob Buchgraber
c0c79b2791
Bump upb version
...
PiperOrigin-RevId: 517972179
2 years ago
Mike Kruskal
0c12139893
Automated rollback of commit 9e8435ac40
.
...
PiperOrigin-RevId: 517595570
2 years ago
Protobuf Team Bot
9e8435ac40
Automated rollback of commit 1c23a17f09
.
...
PiperOrigin-RevId: 517494787
2 years ago
Mike Kruskal
1c23a17f09
Switch option target to a repeated field
...
PiperOrigin-RevId: 517453262
2 years ago
zhangskz
b15bf628e5
Merge 22.x back to main ( #12200 )
...
Closes #12200
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12200 from protocolbuffers:main-202303101853 1efa2e7205
PiperOrigin-RevId: 515722578
2 years ago
Mike Kruskal
25dfc39b11
Internal changes
...
PiperOrigin-RevId: 515648197
2 years ago
Protobuf Team Bot
81f89d509d
Updating version.json and repo version numbers to: 22.2
2 years ago
deannagarcia
15bd2c21cf
Merge 22.x back to main ( #12169 )
...
Closes #12169
PiperOrigin-RevId: 515161008
2 years ago
Protobuf Team Bot
839e8d25ea
Updating version.json and repo version numbers to: 22.1
2 years ago
Protobuf Team Bot
72eb4652b7
Parallelize the build of the PHP extension
...
PiperOrigin-RevId: 513922943
2 years ago
Mike Kruskal
0a480ad51a
Use pwd instead of realpath for macos
...
Closes https://github.com/protocolbuffers/protobuf/issues/10567
PiperOrigin-RevId: 512750155
2 years ago
Mike Kruskal
649cc30872
Open-source some of our string_view tests.
...
This support was added in 22.x, but we don't have any tests locking it down.
Closes https://github.com/protocolbuffers/protobuf/issues/8096
PiperOrigin-RevId: 510242380
2 years ago
Deanna Garcia
7f6b36ce0c
Revert UPB dep update
2 years ago
Protobuf Team Bot
a847a8dc4b
Updating version.json and repo version numbers to: 22.0
2 years ago
Protobuf Team Bot
4dd7a1e380
Updating version.json and repo version numbers to: 22.0-rc3
2 years ago
zhangskz
7d1b0348f7
Update protobuf's upb dep to latest upb protobuf dep update commit ( #11907 )
2 years ago
Andrei Tcaci
363fa89b1f
RepeatedField: unset by index ( #11425 )
...
Instead of using `array_pop()` to remove last element use `unset()` to remove by index
Closes #11425
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11425 from Leprechaunz:unset-by-index a47fba57e4
PiperOrigin-RevId: 508691545
2 years ago
Sandy Zhang
6a00a20eea
Fix merge issue: Update upb dep to commit fixing ruby flake. Also fixes bad amalgamation update from bad merge.
2 years ago
Mike Kruskal
9104075c10
Migrate remaining cross-architecture tests to GHA
...
PiperOrigin-RevId: 506995031
2 years ago
Mike Kruskal
ccbdaa7e9d
Bump upb version to fix ruby flakes
...
PiperOrigin-RevId: 506798675
2 years ago
Mike Kruskal
f0ef44d1e1
Migrate remaining macOS tests to GHA actions
...
PiperOrigin-RevId: 506744609
2 years ago
Protobuf Team Bot
fa7a079c11
Updating version.json and repo version numbers to: 22.0-rc2
2 years ago
deannagarcia
68806c04a8
Update UPB dep ( #11782 )
2 years ago
Mike Kruskal
4a4862b394
Bump upb version to pull in windows/python bazel fix
...
PiperOrigin-RevId: 506510613
2 years ago
Deanna Garcia
59cfc2f165
Update protobuf's UPB dep to include the most recent changes.
...
PiperOrigin-RevId: 506093740
2 years ago
Protobuf Team Bot
2b406251e4
Updating version.json and repo version numbers to: 22.0-rc1
2 years ago
Mike Kruskal
75088504b0
Remove noisy LOG statement in Message Differencer
...
PiperOrigin-RevId: 504871200
2 years ago
zhangskz
d5d5567577
Update protobuf upb dep ( #11668 )
...
Closes #11668
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11668 from zhangskz:protobuf-upb-dep 0ebcbda9b5
PiperOrigin-RevId: 504707372
2 years ago
Mike Kruskal
232ecf4a6f
Bump protobuf to latest upb version.
...
PiperOrigin-RevId: 502022138
2 years ago
Brent Shaffer
8e636d53e9
fix: php 8.2 dynamic property warning in MapFieldIter ( #11485 )
...
addresses #11243
Defines `$key_type` in `MapFieldIter`, so as not to trigger PHP 8.2 warning. Note that this will change the visibility of `$key_type` from public in previous versions to private in this version. This is a breaking change, but anyone using `$key_type` in this way is misusing the library, so I think it's acceptable.
Closes #11485
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11485 from bshaffer:fix-php-82-dynamic-warning-in-MapFieldIter b45c34d2be
PiperOrigin-RevId: 501040413
2 years ago
Brent Shaffer
ade256e153
chore: fix php lint ( #11417 )
...
fixes https://github.com/protocolbuffers/protobuf/issues/11387
Addresses misc PHPDoc formatting issues.
Note: This does the bare minimum to suppress the errors. In some cases, most notably in `CodedInputStream`, the `@param` tag is still missing a typehint, and should have one added (in those cases, the variable is being passed in as `int`, but then used in the function as `string`, so it will take consideration)
Closes #11417
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11417 from bshaffer:fix-php-lint 32c665d1e2
PiperOrigin-RevId: 499952558
2 years ago