Commit Graph

338 Commits

Author SHA1 Message Date
Joel Wurtz
4f74bfcd8a
add output 2023-10-30 16:58:00 +01:00
Joel Wurtz
51042e5310
fix test without embed 2023-10-30 16:33:47 +01:00
Joel Wurtz
a65282dd04
feat(sapi): add initial work on having it's own sapi 2023-10-30 16:26:41 +01:00
Joel Wurtz
5fdd8fac44
feat(zend): add helper for try catch and bailout in PHP (#275)
* feat(zend): add helper for try catch and bailout in PHP

* feat(try): add bindings for bailout

* fix(try): add missing feature flag for test

* feat(try): add a test that expose memory leak problem

* feat(try): make bailout unsafe and explain why

* feat(bailout): flag bailout as a panic function

* feat(embed): add try catch on script / eval
2023-10-25 15:15:43 +02:00
Joel Wurtz
dddc07f587
feat(test): add an example on how to test a module (#276) 2023-10-23 11:42:01 +02:00
aa88f5af1e
Add async support using php-tokio
Add async support using php-tokio
2023-10-21 23:33:25 +02:00
8462005af4 Cleanup 2023-10-21 23:23:08 +02:00
e80bebfc4c Cleanup 2023-10-21 23:22:47 +02:00
a595e1d437 Cleanup 2023-10-21 23:21:51 +02:00
8890767ba9 Just add docs 2023-10-21 23:21:23 +02:00
924a99e73b Platform-specific dependencies 2023-10-21 23:04:03 +02:00
ce4ca0664b Make dependency optional 2023-10-21 22:58:38 +02:00
c0206ce6bc Add async feature 2023-10-21 22:51:48 +02:00
0dae466e82 Bump 2023-10-21 22:27:05 +02:00
ea078bbd95 Test 2023-10-21 22:21:50 +02:00
942ec64219 Test 2023-10-21 22:16:46 +02:00
e4a450f03a Add reqwest to dev deps 2023-10-21 22:08:21 +02:00
596768c7df Fix typo 2023-10-21 21:49:39 +02:00
55724c9472 Add async support using php-tokio 2023-10-21 21:47:38 +02:00
Joel Wurtz
1b55652b7a
feat(embed): correctly handle panic inside embed (#272) 2023-10-20 21:52:52 +02:00
Pierre Tondereau
1a8211c392
chore: Bump Bindgen to 0.68.1 (#271) 2023-10-20 14:44:47 +02:00
Joel Wurtz
2d0e587c7e
feat(embed): add embed features, add test example which run php inside it (#270)
* feat(embed): add embed features, add test example which run php inside it

* feat(embed): use a guard to prevent running in parallel

* chore(ci): update actions to not build and test with embed, add a specific build for embed testing

* feat(embed): correcly start / shutdown embed api

* chore(ci): use stable for rust in embed test

* feat(embed): add documentation, manage potential errors
2023-10-20 14:08:10 +02:00
15bed3b0b5
Merge pull request #267 from davidcole1340/bump
Bump versions
2023-10-12 10:31:03 +02:00
f59b398424 Bump 2023-10-12 10:29:53 +02:00
54ed06b6b4 Bump version 2023-10-12 10:28:49 +02:00
6520e85c30 Bump macro version 2023-10-12 10:27:50 +02:00
6685462e1d
Merge pull request #266 from davidcole1340/bump_tag
Bump tag
2023-10-11 10:43:07 +02:00
0ae3d1b4fb Bump tag 2023-10-11 10:42:47 +02:00
4dd7b8ded5
Merge pull request #230 from davidcole1340/function-arg-pass-by-ref
Support function args being passed by reference
2023-10-10 16:13:31 +02:00
7d484a033e
Merge pull request #265 from davidcole1340/rm_infallible
Remove infallible variants
2023-10-10 16:09:13 +02:00
4152ffca06 Remove infallible variants 2023-10-10 16:07:39 +02:00
eff7b0195f
Merge pull request #225 from davidcole1340/ini-definitions
Support registering ini definitions for modules
2023-10-10 15:32:00 +02:00
2bf8718113
Merge pull request #264 from nicelocal/func
Add zend_function wrapper, try_call_method zval/object methods
2023-10-10 15:18:54 +02:00
4f1565f3e8 Fmt 2023-10-10 15:05:59 +02:00
e1a5260a6e Fixup warnings on latest nightly 2023-10-10 14:43:09 +02:00
0773d72e79 fmt 2023-10-10 15:18:06 +03:00
a4e3485f36 Update 2023-10-10 14:13:41 +02:00
85836dad04 Fix 2023-10-10 15:07:44 +03:00
e820b2458a Fix 2023-10-10 14:55:40 +03:00
e1672beb98 Update bindings 2023-10-10 12:43:22 +03:00
891fa4ad3d
Cargo fmt 2023-09-04 10:48:06 +02:00
c87c0dcdb6
Fix 2023-08-28 09:55:35 +02:00
714b1555f8
Fixes 2023-08-27 17:24:25 +02:00
4b821715b1
Update docs 2023-08-27 17:17:42 +02:00
f669891931
Merge remote-tracking branch 'origin/master' 2023-08-27 16:58:22 +02:00
253255b470
Move async stuff to danog/php-tokio 2023-08-27 16:26:31 +02:00
725dfec0f2
Cleanup 2023-08-27 15:24:48 +02:00
4cd4a20079
Cleanup 2023-08-21 20:00:43 +02:00
Joe Hoyle
acd336994c
Add helper method to cancel VM interrupt (#260)
Follow up to #257
2023-07-19 17:15:40 +02:00
Joe Hoyle
7b47b46cfb Merge branch 'master' into ini-definitions 2023-07-19 15:00:59 +02:00