History log of /PHP-8.2/ext/com_dotnet/com_com.c (Results 1 – 25 of 122)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# f6616846 03-Nov-2021 George Peter Banyard

Revert "Refactor php_com_cache_typelib()"

As php_com_typelibraries is a persistent HashTable we need to insert
a persistent string, therefore initialising a new one.

This revert

Revert "Refactor php_com_cache_typelib()"

As php_com_typelibraries is a persistent HashTable we need to insert
a persistent string, therefore initialising a new one.

This reverts commit 0497b2bf4b5ff5566ededb4d368476da09314129.

show more ...

# 0497b2bf 26-Sep-2021 George Peter Banyard

Refactor php_com_cache_typelib()

# da012ba3 26-Sep-2021 George Peter Banyard

Refactor php_com_locate_typeinfo()

Use zend_string pointers
Use bool

# bc8703d8 26-Sep-2021 George Peter Banyard

Use standard bool/zend_result instead of int

# 9409c8f1 26-Sep-2021 George Peter Banyard

Refactor php_com_olestring_to_string()

Return a zend_string* instead of a char* with an out-param for the length

# 3dc4863f 26-Sep-2021 George Peter Banyard

Refactor php_com_get_id_of_name()

Use zend_string*

# f3ca0813 26-Sep-2021 George Peter Banyard

Refactor php_com_do_invoke()

Use zend_string*
Return zend_result

# bdf53cc9 23-Aug-2021 DmitryMaksimov

Dispatch using LANG_NEUTRAL instead of LOCALE_SYSTEM_DEFAULT

This is relevant wrt. case insensitive identifiers.

Closes GH-7391.

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# e55f0c79 16-Sep-2020 George Peter Banyard

Promote warnings to Error in COM extension

Closes GH-6141

# c98d4769 10-Sep-2020 Máté Kocsis

Consolidate new union type ZPP macro names

They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.

Closes GH-6112

# f7fbc633 14-Aug-2020 Máté Kocsis

Add more precise type info for stubs

Closes GH-6005

# d4d52ba9 26-Aug-2020 Christoph M. Becker

Prevent com::__construct() to modify the $server_name array

We switch to `zend_string`s for simplicity, so there's no need to
`convert_to_string()` anymore, what makes the array separati

Prevent com::__construct() to modify the $server_name array

We switch to `zend_string`s for simplicity, so there's no need to
`convert_to_string()` anymore, what makes the array separation
superfluous.

Closes GH-6040

show more ...

# f956434d 27-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into master

* PHP-7.4:
Catch potential exceptions during to string conversion


# 29603011 25-Aug-2020 Christoph M. Becker

Catch potential exceptions during to string conversion

As of PHP 7.4.0, exceptions are allowed to be thrown from inside
`__toString()` methods; we have to cater to that, and catch these

Catch potential exceptions during to string conversion

As of PHP 7.4.0, exceptions are allowed to be thrown from inside
`__toString()` methods; we have to cater to that, and catch these
exceptions early.

Closes GH-6042

show more ...

# 2f9e9d4d 26-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into master

* PHP-7.4:
Separate COM::__construct()s $server_name array


# b087bd24 26-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Separate COM::__construct()s $server_name array


# 75ac3f1c 25-Aug-2020 Christoph M. Becker

Separate COM::__construct()s $server_name array

This may otherwise be modified.

# fc4a6cda 26-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into master

* PHP-7.4:
Fix #64130: COM obj parameters passed by reference are not updated


# 1ff981d7 26-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #64130: COM obj parameters passed by reference are not updated


# 5ff15e26 26-Aug-2020 Christoph M. Becker

Fix #64130: COM obj parameters passed by reference are not updated

`ITypeInfo_GetIDsOfNames()` is supposed to fail with `E_NOTIMPL` for
out-of-process servers, thus we should not remove

Fix #64130: COM obj parameters passed by reference are not updated

`ITypeInfo_GetIDsOfNames()` is supposed to fail with `E_NOTIMPL` for
out-of-process servers, thus we should not remove the already available
typeinfo of the object in this case.

We also properly free the `byref_vals`.

show more ...

# 7e5ed818 25-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into master

* PHP-7.4:
Avoid double-free


# 923a1462 25-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Avoid double-free


# 3324bb89 25-Aug-2020 Christoph M. Becker

Avoid double-free

As of commit b2e3fd1[1] the `authid.User` is no longer newly allocated,
so we must not free it.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=b2e3fd1e691b1

Avoid double-free

As of commit b2e3fd1[1] the `authid.User` is no longer newly allocated,
so we must not free it.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=b2e3fd1e691b1dc82aaaf4150461db97bd5acf4a>

show more ...

12345