#
dc5077cc |
| 11-Aug-2020 |
Christoph M. Becker |
Remove practically unused parameter The `cached` out parameter of `php_com_load_typelib_via_cache()` was meant to signal whether a particular typelib actually has been cached. This i
Remove practically unused parameter The `cached` out parameter of `php_com_load_typelib_via_cache()` was meant to signal whether a particular typelib actually has been cached. This is not really relevant, though, for the imagined purposes, and since the parameter is no longer really used, we removed it altohether.
show more ...
|
#
013dcab3 |
| 11-Aug-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into master * PHP-7.4: Fix #48585: com_load_typelib holds reference, fails on second call
|
#
183b853d |
| 11-Aug-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #48585: com_load_typelib holds reference, fails on second call
|
#
dc108fea |
| 04-Aug-2020 |
Christoph M. Becker |
Fix #48585: com_load_typelib holds reference, fails on second call Whether the type library is cached is actually irrelevant here; what matters is that the symbols are imported, and sinc
Fix #48585: com_load_typelib holds reference, fails on second call Whether the type library is cached is actually irrelevant here; what matters is that the symbols are imported, and since these are not cached, we have to import them for every request. And we cannot cache the symbols, because the import depends on the current codepage, but the codepage is a `PHP_INI_ALL` setting.
show more ...
|
#
0d330e1a |
| 28-Jul-2020 |
Máté Kocsis |
Add a few missing parameter types in stubs Related to GH-5627 |
#
5770b667 |
| 12-Jul-2020 |
Máté Kocsis |
Cleanup argument handling of Zend functions and methods Closes GH-5847 |
#
05e9197c |
| 20-Jul-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Fix #63527: DCOM does not work with Username, Password parameter
|
#
4b96a75f |
| 20-Jul-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #63527: DCOM does not work with Username, Password parameter
|
#
b2e3fd1e |
| 10-Jul-2020 |
Christoph M. Becker |
Fix #63527: DCOM does not work with Username, Password parameter We must not mix multibyte and wide character strings in the `COAUTHIDENTITY` structure. Using wide character strings thr
Fix #63527: DCOM does not work with Username, Password parameter We must not mix multibyte and wide character strings in the `COAUTHIDENTITY` structure. Using wide character strings throughout would have the advantage that the remote connection can be established regardless of the code page of the server, but that would more likely break BC, so we just drop the wide character string conversion of the username.
show more ...
|
#
2b5de6f8 |
| 01-Jul-2020 |
Max Semenik |
Remove proto comments from C files Closes GH-5758 |
#
9cb32640 |
| 06-Apr-2020 |
Christoph M. Becker |
Clean up constructor handling in com_dotnet We substitute the construction magic with standard constructors, move the ZPP checks to the beginning of the ctors, and also let the function
Clean up constructor handling in com_dotnet We substitute the construction magic with standard constructors, move the ZPP checks to the beginning of the ctors, and also let the function entries be generated from the stubs.
show more ...
|
#
aadd3aae |
| 03-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() in various places |
#
76c45f35 |
| 30-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() during ZPP in bz2, calendar, com_dotnet extensions |
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10 |
|
#
ac4e0f08 |
| 20-Sep-2019 |
Nikita Popov |
Make zend_type a 2-field struct We now store the pointer payload and the type mask separately. This is in preparation for union types, where we will be using both at the same time.
Make zend_type a 2-field struct We now store the pointer payload and the type mask separately. This is in preparation for union types, where we will be using both at the same time. To avoid increasing the size of arginfo structures, the pass_by_reference and is_variadic fields are now stored as part of the type_mask (8-bit are reserved for custom use). Different types of pointer payloads are distinguished based on bits in the type_mask.
show more ...
|
#
94938934 |
| 29-Oct-2019 |
Máté Kocsis |
Cleanup return values when parameter parsing is unsuccessful |
#
5d6e923d |
| 24-Sep-2019 |
Gabriel Caruso |
Remove mention of PHP major version in Copyright headers Closes GH-4732. |
Revision tags: php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1 |
|
#
193dcec5 |
| 12-Aug-2019 |
Christoph M. Becker |
Don't explicitly set return value on ZPP failure Failing ZPP throws as of PHP 8.0.0, so explicitly setting a return value is useless, and also slightly confusing. |
#
3e80b136 |
| 11-Aug-2019 |
Christoph M. Becker |
Don't throw manual exceptions on ZPP failure As of PHP 8.0.0, ZPP throws on failure, so manually throwing exceptions is superfluous and confusing. |
Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3 |
|
#
8e22d7c7 |
| 08-Jul-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Fix TsHashTable related race conditions
|
Revision tags: php-7.3.7, php-7.2.20 |
|
#
98b6330a |
| 01-Jul-2019 |
Christoph M. Becker |
Fix TsHashTable related race conditions Although TsHashTable and the according API are supposed to easily make a HashTable thread-safe, they do not; for instance, there can be race c
Fix TsHashTable related race conditions Although TsHashTable and the according API are supposed to easily make a HashTable thread-safe, they do not; for instance, there can be race conditions between finding and updating entries. We therefore avoid the usage of TsHashTable in favor of a HashTable with our own mutex management. The patch has been provided by krakjoe@php.net; I only did some minor fixes and tweaks.
show more ...
|
#
2c49354a |
| 29-Jun-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Fix memory leak in COM ctor
|
#
8357a696 |
| 29-Jun-2019 |
Christoph M. Becker |
Fix memory leak in COM ctor We have to free strings returned from php_com_olestring_to_string(). |
Revision tags: php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16 |
|
#
f04cf7a5 |
| 19-Feb-2019 |
Christoph M. Becker |
Remove ability to import case-insensitive constants from typelibs According to commit 23a5be3[1], we remove the ability to import case- insensitive constants, but do not remove the now s
Remove ability to import case-insensitive constants from typelibs According to commit 23a5be3[1], we remove the ability to import case- insensitive constants, but do not remove the now superfluous parameter and ini setting. [1] <http://git.php.net/?p=php-src.git;a=commit;h=23a5be3696f4d92e1b18fd59f3ac63c6a15ea12a>
show more ...
|
Revision tags: php-7.3.3RC1, php-7.2.16RC1 |
|
#
fae22461 |
| 14-Feb-2019 |
Christoph M. Becker |
Deprecate case-insensitive constants via typelib import As of PHP 7.3.0, case-insensitive constants are deprecated. We catch up on this with regard to ext/com_dotnet, which allows to im
Deprecate case-insensitive constants via typelib import As of PHP 7.3.0, case-insensitive constants are deprecated. We catch up on this with regard to ext/com_dotnet, which allows to import constants from typelibs, by triggering a deprecation notice whenever `com_load_typelib()` is called with `$case_sensitive` being `false`, and whenever `com.autoregister_casesensitive` is set to `false`, regardless of whether there are actually constants in the typelib which would be imported.
show more ...
|
Revision tags: php-7.2.15, php-7.3.2, php-7.2.15RC1 |
|
#
92ac598a |
| 22-Jan-2019 |
Peter Kokot |
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
show more ...
|