Ilija Tovilo
7b355e8d34
Revert "Merge branch 'PHP-8.2'"
...
This reverts commit 45a3f178dc
, reversing
changes made to b2a54bc6af
.
2023-07-04 09:18:49 +02:00
Máté Kocsis
45a3f178dc
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs
Closes GH-10170
2023-07-03 11:17:08 +02:00
Máté Kocsis
d7ab0ff0c8
Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs
2023-07-03 08:32:58 +02:00
Christopher Jones
b06a6b82d6
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Bump OCI8 version to make a PECL release for 8.2
2023-04-20 18:04:46 +10:00
Christopher Jones
91d3aaaa93
Bump OCI8 version to make a PECL release for 8.2
2023-04-20 18:01:43 +10:00
Ilija Tovilo
50f58c8923
Add ASAN XLEAK support
...
Only disable LSAN instead of skipping the test. This way we can still detect
memory issues which is arguably more important anyway.
Closes GH-10996
2023-04-03 08:02:19 +02:00
Ilija Tovilo
11fbf3da35
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Unparallelize IO heavy tests
2023-03-27 16:34:19 +02:00
Ilija Tovilo
9b15537e9a
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Unparallelize IO heavy tests
2023-03-27 16:34:11 +02:00
Ilija Tovilo
e1ec67acd6
Unparallelize IO heavy tests
...
Alternative to GH-10892. This is somewhat unfortunate since these are also the
slow tests. I'm also not sure if this actually helps.
Closes GH-10953
2023-03-27 16:33:36 +02:00
Ilija Tovilo
d98963a071
Switch to Ubuntu 22.04 for GitHub actions jobs
...
Closes GH-10814
2023-03-10 00:17:23 +01:00
Peter Kokot
3030d956d9
[skip ci] Update year to 2023 ( #10374 )
2023-01-19 12:01:29 +01:00
Christoph M. Becker
c8955c078a
Revert GH-10220
...
Cf. <https://github.com/php/php-src/pull/10220#issuecomment-1383739816 >.
This reverts commit ecc880f491
.
This reverts commit 588a07f737
.
This reverts commit f377e15751
.
This reverts commit b4ba16fe18
.
This reverts commit 694ec1deea
.
This reverts commit 6b34de8eba
.
This reverts commit aa1cd02a43
.
This reverts commit 308fd311ea
.
This reverts commit 16203b53e1
.
This reverts commit 738fb5ca54
.
This reverts commit 9fdbefacd3
.
This reverts commit cd4a7c1d90
.
This reverts commit 928685eba2
.
This reverts commit 01e5ffc85c
.
2023-01-16 12:27:33 +01:00
Max Kellermann
308fd311ea
ext/{standard,json,random,...}: add missing includes
2023-01-10 14:19:03 +00:00
Ilija Tovilo
81bedb0f7d
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Skip some OCI tests with repeat
2022-09-27 23:32:37 +02:00
Ilija Tovilo
93e509fd8c
Skip some OCI tests with repeat
2022-09-27 23:32:15 +02:00
Christoph M. Becker
5b8f379fb6
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Always skip randomly failing OCI8 extauth tests
2022-09-13 14:26:45 +02:00
Christoph M. Becker
cd927ef634
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Always skip randomly failing OCI8 extauth tests
2022-09-13 14:25:11 +02:00
Michael Voříšek
9a73ec0367
Always skip randomly failing OCI8 extauth tests
...
This might be caused by an issue with the Oracle Instant Client
libraries[1]; we skip the tests for the time being.
[1] <https://github.com/php/php-src/pull/9524#issuecomment-1244409815 >
Closes GH-9524.
2022-09-13 14:21:23 +02:00
Ilija Tovilo
6af3f5d514
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Skip oci tests that leak under asan
Fix undefined left shift in oci
2022-09-08 15:58:11 +02:00
Ilija Tovilo
f8d62b4c4b
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Skip oci tests that leak under asan
Fix undefined left shift in oci
2022-09-08 15:57:53 +02:00
Ilija Tovilo
4a8cca241f
Skip oci tests that leak under asan
2022-09-08 15:56:13 +02:00
Ilija Tovilo
aa7f4497bf
Fix undefined left shift in oci
...
The bit is shifted into the signed bit which is undefined. Make the
integer explicitly unsigned before shifting.
2022-09-08 15:56:10 +02:00
Máté Kocsis
b4ec3e9bc0
Do not generate CONST_CS when registering constants ( #9439 )
2022-08-28 08:27:19 +02:00
Christoph M. Becker
b485a3ec0b
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix oci8/pdo_oci random test failures when run in parallel
2022-08-25 15:22:52 +02:00
Christoph M. Becker
502c630d01
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix oci8/pdo_oci random test failures when run in parallel
2022-08-25 15:21:52 +02:00
Michael Voříšek
be4dd60c55
Fix oci8/pdo_oci random test failures when run in parallel
...
Closes GH-9424.
2022-08-25 15:20:50 +02:00
Máté Kocsis
de90edc42c
Declare ext/oci8 constants in stubs ( #9419 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-08-24 21:10:20 +02:00
Michael Voříšek
fc42098c23
Fix typo in lob_prefetch_ini.phpt test ( #9099 )
2022-07-22 17:17:03 +01:00
Ilija Tovilo
41a5b46e7d
Fix RC debug of stub attribute ( #9082 )
2022-07-21 15:06:04 +02:00
Remi Collet
55a88f36b6
add SensitiveParameter as known string and use it in arginfo
2022-07-18 11:43:33 +02:00
Tim Düsterhus
342e18f105
Support the actual #[\SensitiveParameter]
attribute in stubs ( #8836 )
2022-07-12 12:43:44 +02:00
Bob Weinand
9f29e2d7e9
Allow for arbitrary (class) attributes in stubs
...
This can be easily extended to other types of attributes.
Closes #8839 .
2022-07-05 18:23:05 +02:00
Pierrick Charron
6b6e5f3748
Add AllowDynamicProperties on OCILob and OCICollection
...
Fix GH-8756 : oci_new_descriptor() triggers dynamic property
deprecation.
This fix should be temporary. At some point we should either define
those properties or just hide them since they should probably not be
used.
Better fix is here : https://github.com/php/php-src/pull/8758 but
waiting feedback from Oracle team before going ahead.
2022-06-22 06:40:41 -04:00
Yurun
5cf2659fa5
Replace the use of ZVAL_BOOL() with ZVAL_TRUE() or ZVAL_FALSE() where the value is fixed ( #8815 )
2022-06-20 13:34:44 +01:00
Pierrick Charron
6fd2b39397
Indent with TAB in .h files generated by gen_stub
2022-06-13 08:55:54 -04:00
Tim Düsterhus
ac6dbbd183
Mark parameter in ext/oci8 as sensitive
2022-06-13 11:09:12 +02:00
Ilija Tovilo
9a90bd7054
Deprecate ${} string interpolation
...
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
2022-05-05 10:14:56 +02:00
Max Kellermann
b9e895bca0
Replace memcmp() with zend_string functions ( #8216 )
...
* ext/oci8: use zend_string_equals()
Eliminate duplicate code.
* main/php_variables: use zend_string_equals_literal()
Eliminate duplicate code.
* Zend/zend_string: add zend_string_equals_cstr()
Allows eliminating duplicate code.
* Zend, ext/{opcache,standard}, main/output: use zend_string_equals_cstr()
Eliminate duplicate code.
* Zend/zend_string: add zend_string_starts_with()
* ext/{opcache,phar,spl,standard}: use zend_string_starts_with()
This adds missing length checks to several callers, e.g. in
cache_script_in_shared_memory(). This is important when the
zend_string is shorter than the string parameter, when memcmp()
happens to check backwards; this can result in an out-of-bounds memory
access.
2022-03-31 16:27:58 +02:00
istiak101
bf2867bc72
Fix FSF address & update year to 2022
...
FSF mailing address was changed long time ago. This patch updates that address. Also updated year from 2021 to 2022.
Closes GH-8009.
2022-03-19 18:25:29 +01:00
Christoph M. Becker
30a3280df7
Oracle Client 10g is no longer supported
...
Thus, we drop respective config option for Windows.
2021-12-15 22:09:58 +01:00
Christoph M. Becker
1d54097435
Fix oci8 Oracle Client paths on Windows
...
This is a copy & paste relict, but we don't fix it for the stable
branches, since some may rely on these paths now (unlikely, but still
possible).
2021-12-12 22:45:46 +01:00
Christoph M. Becker
900c94fc7c
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call
2021-12-12 22:39:08 +01:00
Christoph M. Becker
c35be03628
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call
2021-12-12 22:38:55 +01:00
Christoph M. Becker
c435e67746
Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call
...
We must not use the TSRM accessor macros in GINIT and GSHUTDOWN, but
rather use the passed pointers directly. For simplicity, we inline
`php_oci_cleanup_global_handles()`, and also the `PHP_OCI_CALL()`
macros; the latter are unlikely to be needed here, but don't hurt.
Closes GH-7766.
2021-12-12 22:38:00 +01:00
Christopher Jones
93f6af6913
It's past time to drop linking support for Oracle Client 10g
2021-12-12 13:58:04 +11:00
Christopher Jones
ac91b83ceb
Add oci_set_prefetch_lob()
2021-12-11 21:38:08 +11:00
Christopher Jones
9cd7f41fac
Add oci8.prefetch_lob_size
2021-11-12 17:59:22 +11:00
Christopher Jones
ca871304e0
Remove tests for obsolete Oracle DB version
2021-10-25 14:45:20 +11:00
Christopher Jones
7ba23a6a13
Remove test for obsolete Oracle DB version
2021-10-25 14:40:41 +11:00
Christopher Jones
be566306e4
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix tests for method camel case change
2021-10-25 14:31:41 +11:00