Commit Graph
77 Commits
Author SHA1 Message Date
Dengke Tang 5bf7671a5c try to run unit test 2022-11-07 15:11:13 -08:00
Dengke Tang 8728b1c42a updates 2022-11-07 15:03:10 -08:00
Dengke Tang 10a3e8a271 seems like working 2022-11-07 14:47:37 -08:00
Dengke Tang d890142459 recursive checkout 2022-11-07 14:34:40 -08:00
Dengke Tang f9a9ffe1ef call for every other bat 2022-11-07 14:25:06 -08:00
Dengke Tang 79d195afba try to get it all together 2022-11-07 14:15:37 -08:00
Dengke Tang 3d4f1843c6 and where it's before 2022-11-07 13:47:52 -08:00
Dengke Tang 780dc63903 check where we are now 2022-11-07 13:46:52 -08:00
Dengke Tang ba246a98be call 2022-11-07 13:29:21 -08:00
Dengke Tang 311aa104d9 master? 2022-11-07 13:25:26 -08:00
Dengke Tang 607d70e634 hmmm 2022-11-07 11:37:56 -08:00
Dengke Tang 90f5039b10 try this? 2022-11-07 11:35:24 -08:00
Dengke Tang f879b17a32 I don't know 2022-11-07 10:36:09 -08:00
Dengke Tang ccf616ebf7 another workaround 2022-11-07 10:28:49 -08:00
Dengke Tang b85c463ab1 hack around it 2022-11-07 10:20:47 -08:00
Dengke Tang b24ba7e784 prepare 2022-11-04 10:58:04 -07:00
Dengke Tang 2c4031844c 16? 2022-11-04 10:53:37 -07:00
Dengke Tang 2fc8357079 vswhere 2022-11-04 10:50:24 -07:00
Dengke Tang ae35785b55 up 2022-11-04 10:43:13 -07:00
Dengke Tang 4060e9831e what's that? 2022-11-04 10:40:12 -07:00
Dengke Tang 0800d88808 use 2019? 2022-11-03 17:22:08 -07:00
Dengke Tang ae0362292d hmm 2022-11-03 17:15:29 -07:00
Dengke Tang f0a1b447d6 try this? 2022-11-03 17:13:10 -07:00
Dengke Tang 224b42462a ./ 2022-11-03 17:00:37 -07:00
Dengke Tang 6471a44f1f forget invoke the bat 2022-11-03 17:00:12 -07:00
Dengke Tang d2e2855008 check 2022-11-03 16:57:35 -07:00
Dengke Tang a79f5b5bff get started 2022-11-03 16:53:39 -07:00
Dengke Tang 671c311107 php? 2022-11-03 16:33:05 -07:00
Dengke Tang 8b0b784ec4 with checkout 2022-11-03 16:28:22 -07:00
Dengke Tang f6c0109067 playaround with ci 2022-11-03 16:11:46 -07:00
Dengke Tang bf85004042 add note to build for vs2017 2022-11-03 15:46:20 -07:00
Dengke Tang b14a1f6672 fix win 2022-11-03 14:23:41 -07:00
Michael Graeb 541b3c8952 Fix it so CI runs on branches with '/' in name (#62) 2022-04-15 11:10:11 -07:00
Michael Graeb 09a84b7a52 Update phpunit for security fixes (#61) 2022-04-06 16:31:22 -07:00
SamRemis 3942776a8c removed conflict (#48) v1.0.2 2021-09-03 15:57:30 -07:00
Justin Boswell 2f8d2ee756 Made PHP extension compile with openssl by default (#41)
* Made PHP extension compile with openssl

* Use catchsegv to dump a callstack

* Updated to use aws_crt_crypto_share()

* Much faster builds by making cmake parallel if supported

* Make sure all CRT threads shutdown prior to cleanup

* USE_OPENSSL should be the path to openssldir

* Updated to aws-crt-ffi v0.2.4
1.0.1 v1.0.1
2021-08-30 13:36:54 -07:00
Justin Boswell 0af673491a Removed FFI support (#45)
* Removed FFI support

* run_tests and ci-test.sh should never have differed. Fixing now

* run_tests can now update composer
2021-08-17 19:06:14 -07:00
Justin Boswell fb4814c4e1 re-applied changes to makefile that were SOMEHOW lost 2021-08-17 22:56:53 +00:00
ilevyorandItamar Levy-Or e4f5b52d6a php qol Sam asked for (#44)
Co-authored-by: Itamar Levy-Or <[email protected]>
2021-08-06 14:01:30 -04:00
Justin Boswell e5ffe9d63d Added validation for signing/signing config (#43)
* Imported aws-crt-ffi/validation

* Exposed Signing::testVerifySigV4ASigning

* Updated to aws-crt-ffi v0.2.3
2021-08-03 19:12:28 +00:00
Damian Vicino 02b25687c8 Adding scripts for release to PECL (#36)
Adding scripts for release to PECL
2021-08-03 14:55:08 -04:00
Justin Boswell 8d76d4fac3 Added logging support from aws-crt-ffi (#42)
* Added logging support from aws-crt-ffi

* Updated to aws-crt-ffi v0.2.1
2021-08-03 09:25:52 -07:00
Justin Boswell 92724b8d51 Implemented SigV4A (#40)
* Implemented should_sign_header callback

* Added SigV4A to SigningAlgorithm

* Added SigV4A test

* Added debugging info to README

* Fixed memory leak from argument vectors

* Fixed memory leak of stream read buffers

* Added support for callables as option values

* Added should_sign_header support and test

* Fixed ELG type bug exposed by aws-crt-ffi change

* Updated to aws-crt-ffi v0.2.0
2021-07-28 12:54:37 -07:00
Justin Boswell 3f77a01fbf Updated to aws-crt-ffi v0.1.6, updated http API (#39)
* Updated to aws-crt-ffi v0.1.6, updated http API

* clang-format
2021-07-08 12:57:07 -04:00
Justin Boswell 1feba3eb6a Updated aws-crt-ffi to v0.1.5 to get CRC32/CRC32C (#32) v1.0.0 2021-06-18 15:46:52 -07:00
Justin BoswellandItamar Levy-Or ebfb91f562 Crc32 (#31)
* broken

* crc tests

* ffi changes

* large buffer test

* ffi cmake fix

* formatting

* laws-checksums config.m4

* broken

* crc tests

* ffi changes

* large buffer test

* ffi cmake fix

* formatting

* laws-checksums config.m4

* Fixed aws-crt-ffi after rebase of main

* Regenerated awscrt_arginfo.h

* merge fix

* Fixed arginfo

* try forcing memory limit higher

* mem_limit set

* newline

Co-authored-by: Itamar Levy-Or <[email protected]>
2021-06-18 18:04:56 -04:00
Justin Boswell 078df4825c Windows build (#29)
* Added build instruction updates for Windows to README

* Added composer to requirements
2021-06-17 09:21:00 -07:00
Justin Boswell f6f9a6b349 Restored FFI to working order (#28)
* Restored FFI to working order

* Disabled incompatible tests, fixed string conversion

* Use extension_loaded instead of checking PHP version

* Added better checks for FFI

* Do not build FFI deps if no FFI is present
2021-06-16 11:26:31 -07:00
Justin Boswell d2546e616d Only shim expectException if necessary (#27)
* Only shim expectException if necessary

* Added missing entries to gitignore
2021-06-08 09:56:32 -07:00
Justin Boswell 7d47316a7d Implemented async callbacks to PHP regardless of thread model, Sigv4 signing (#24)
* Updated to get latest aws-crt-ffi

* Added implementation for signing_result

* Added main thread queue and callback queueing to signing process

* Updated to get support for date on signing_config_aws

* added date support to SigningConfigAWS, fixed up reference issues on http message signing

* Broke C code into separate files, moved common stuff to php_aws_crt.h

* Use a unity build to make PHP do the right thing with our lib

* Updated aws-crt-ffi to v0.1.3 to get sigv4 changes

* Added CRT::isAvailable for safe runtime detection of CRT

* Fixed up test resource safety, added tests to prove it

* Added CI jobs for every version of PHP on linux (#26)
2021-06-08 00:34:42 +00:00