History log of /PHP-8.2/ext/com_dotnet/php_com_dotnet_internal.h (Results 1 – 25 of 85)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# a01dd9fe 14-Sep-2022 Bob Weinand

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included i

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.

show more ...

# 94ee4f98 24-Aug-2022 Bob Weinand

Port all internally used classes to use default_object_handlers

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>

# 057737c9 26-Dec-2021 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Prevent strict interpretation of tentative definition


# 0cd17410 26-Dec-2021 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Prevent strict interpretation of tentative definition


# e76ddbd2 25-Dec-2021 Christoph M. Becker

Prevent strict interpretation of tentative definition

This header declaration is never supposed to be interpreted as
definition; otherwise, the handlers are not properly initialized, wha

Prevent strict interpretation of tentative definition

This header declaration is never supposed to be interpreted as
definition; otherwise, the handlers are not properly initialized, what
happens, for instance, with ASan instrumented MSVC builds.

Closes GH-7827.

show more ...

# 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

# 816d4ac7 26-Sep-2021 George Peter Banyard

Voidify php_com_saproxy_create()

# 68702b7e 26-Sep-2021 George Peter Banyard

Voidify php_com_persist_minit()

# 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

# 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 ...

# a74e248c 17-Mar-2021 George Peter Banyard

Use zend_string_equals() API instead of strcmp() in COM extension

# 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 ...

# bf6720d5 29-Jun-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #63208: BSTR to PHP string conversion not binary safe


# 4af69b84 29-Jun-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #63208: BSTR to PHP string conversion not binary safe


# a385cfa7 29-Jun-2020 Christoph M. Becker

Fix #63208: BSTR to PHP string conversion not binary safe

A `BSTR` is similar to a `zend_string`; it stores the length of the
string just before the actual string, and thus the string ma

Fix #63208: BSTR to PHP string conversion not binary safe

A `BSTR` is similar to a `zend_string`; it stores the length of the
string just before the actual string, and thus the string may contain
NUL bytes. However, `php_com_olestring_to_string()` is supposed to
deal with arbitrary `OLECHAR*`s which may not be `BSTR`s, so we
introduce `php_com_bstr_to_string()` and use it for the only case where
we actually have to deal with `BSTR`s which may contain NUL bytes.

Contrary to `php_com_olestring_to_string()` we return a `zend_string`,
so we can save the re-allocation when converting to a `zval`.

We also cater to `php_com_string_to_olestring()` not being binary safe,
with basically the same fix we did for `php_com_olestring_to_string()`.

show more ...

# 88355dd3 07-Jun-2020 twosee

Constify char * arguments of APIs

Closes GH-5676.

# 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 ...

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
# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.

Revision tags: php-7.2.23, php-7.3.10, 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, 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 ...

1234