586 Commits

Author SHA1 Message Date
Christoph M. Becker
0da1138ceb Update CI workflow
We update all actions to latest releases, and extend the matrix with
PHP 8.2 and 8.3.

We also remove a left-over debug step, and simplify the test arguments
to have better results for PHP >= 8.2.
2024-07-23 15:00:19 +02:00
Remi Collet
7dade03efe fix test expectation for 8.3 2024-01-29 16:00:24 +01:00
Remi Collet
e83ef297bb fix test using dynamic properties 2022-09-15 09:59:00 +02:00
Christoph M. Becker
dfe9120a97 Release xmlrpc 1.0.0RC3 xmlrpc-1.0.0RC3 2021-12-04 13:34:24 +01:00
Christoph M. Becker
6d34cb47f0 Replace AppVeyor CI with GH action
While AppVeyor CI isn't bad, a GH action is easier to maintain, mostly
due to the setup-php-sdk action.
2021-12-04 12:35:02 +01:00
Remi Collet
0f782ffe52 Fix #1 compatibility with 8.1.0beta1 2021-07-22 12:59:04 +02:00
Remi Collet
ca2d622bae Merge branch 'master' of git.php.net:/pecl/networking/xmlrpc
* 'master' of git.php.net:/pecl/networking/xmlrpc:
  Revert "ext/xmlrpc requires ext/xml"
  ext/xmlrpc requires ext/xml
  Release 1.0.0RC2
2021-03-15 15:19:58 +01:00
Christoph M. Becker
e5c4bb3ce4 Revert "ext/xmlrpc requires ext/xml"
This reverts commit 95568018d6, because
there is no dependency on ext/xml when building against a system lib
which has been build against libexpat, and otherwise the compatibility
layer of ext/xml is already included as source.
2021-03-15 13:26:58 +01:00
Christoph M. Becker
95568018d6 ext/xmlrpc requires ext/xml
While that dependency is already enforced for Windows, that has been
overlooked for non Windows systems.
2021-03-15 12:10:05 +01:00
Christoph M. Becker
4299fdce88 Release 1.0.0RC2 xmlrpc-1.0.0RC2 2021-01-15 11:54:16 +01:00
Remi Collet
8f946df266 drop package.xml from package.xml, fix #80618 2021-01-14 17:14:19 +01:00
Remi Collet
deb7dfe8f8 fix role to ensure license is installed 2021-01-05 07:58:31 +01:00
Christoph M. Becker
87a7f5cd92 Release 1.0.0RC1 xmlrpc-1.0.0RC1 2021-01-04 23:53:41 +01:00
Christoph M. Becker
08bece905b Update libiconv dependency 2021-01-04 23:01:03 +01:00
Christoph M. Becker
8eac596d7b Add package.xml 2021-01-04 19:24:23 +01:00
Christoph M. Becker
1ed83f27d1 Prepare AppVeyor CI 2020-10-05 00:49:51 +02:00
Remi Collet
172de90b7b ensure arginfo is generated when needed 2020-06-25 08:59:28 +02:00
Remi Collet
e71da6ad6f add LICENSE files 2020-06-02 09:41:32 +02:00
Remi Collet
76fbd12324 set version to 1.0.0-dev instead of PHP_VERSION and display it in phpinfo 2020-06-02 09:40:32 +02:00
Máté Kocsis
d357735a8f Add some mixed parameter types and fix UNKNOWN default values in ext/xmlrpc 2020-05-28 12:41:48 +02:00
Máté Kocsis
66d0121c08 Annotate internal functions with the mixed type
Closes GH-5618
2020-05-25 17:30:57 +02:00
Máté Kocsis
fe8fb62f24 Convert resource to object in XML-RPC extension
Closes GH-5457
2020-05-13 14:49:13 +02:00
Máté Kocsis
d2230f93e3 Store default parameter values of internal functions in arg info
Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
2020-04-08 18:37:51 +02:00
Máté Kocsis
adaac7c3fa Generate function entries for another batch of extensions
Closes GH-5352
2020-04-05 21:15:30 +02:00
Máté Kocsis
9aec46b98d Add missing stub for xmlrpc_get_type() 2020-04-05 21:10:31 +02:00
Nikita Popov
2b02af2649 Verify that all stubs have a return type 2020-04-03 17:59:30 +02:00
Nikita Popov
7f6fde68d9 Reindent phpt files 2020-02-03 22:52:20 +01:00
Máté Kocsis
c1061fb148 Make error messages more consistent by fixing capitalization
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
2020-01-17 14:52:46 +01:00
Máté Kocsis
7b410d8e49 Fix #78880: Final spelling fixes 2020-01-16 19:14:31 +01:00
Máté Kocsis
2b01fc2941 Use RETURN_THROWS() after zend_fetch_resource*() 2020-01-03 19:20:56 +01:00
Máté Kocsis
d31b5e2f9d Use RETURN_THROWS() during ZPP in most of the extensions
Except for some bigger ones: reflection, sodium, spl
2019-12-31 11:46:11 +01:00
Thomas Gerbet
888b9cece4 Add stubs for ext-xmlrpc 2019-10-06 13:47:21 +02:00
Gabriel Caruso
2654d326db Remove mention of PHP major version in Copyright headers
Closes GH-4732.
2019-09-25 14:51:43 +02:00
Christoph M. Becker
1ca6608e31 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix #78173: XML-RPC mutates immutable objects during encoding
2019-06-18 17:10:18 +02:00
Christoph M. Becker
b09eae40a0 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix #78173: XML-RPC mutates immutable objects during encoding
2019-06-18 17:09:49 +02:00
Christoph M. Becker
8d21591d98 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix #78173: XML-RPC mutates immutable objects during encoding
2019-06-18 17:08:58 +02:00
Asher Baker
4d6bbce783 Fix #78173: XML-RPC mutates immutable objects during encoding
With opcache.protect_memory=1 enabled, the XML-RPC extension causes a
segfault on PHP 7.2 as it is modifying the recursion counter of objects
it touches, without first checking if they are immutable or not.

This doesn't affect 7.3+
2019-06-18 17:08:11 +02:00
Nikita Popov
22a734faec Merge branch 'PHP-7.4' 2019-06-12 13:18:04 +02:00
Nikita Popov
a168982cc2 Fix incorrect enum value uses in xmlrpc 2019-06-12 13:17:25 +02:00
Nikita Popov
bf0d8e33e0 Merge branch 'PHP-7.4' 2019-06-05 14:53:50 +02:00
Nikita Popov
8653039baf Allow exceptions in __toString()
RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.
2019-06-05 14:25:07 +02:00
Nikita Popov
8b1cb05e82 Merge branch 'PHP-7.4' 2019-06-04 10:10:56 +02:00
Hugh McMaster
bff39b9b37 Use a common setup macro to detect the Expat library
Closes GH-4221.
2019-06-04 10:10:50 +02:00
Peter Kokot
2a99f6314b Merge branch 'PHP-7.4'
* PHP-7.4:
  [ci skip] Migrate libxmlrpc README to Markdown
2019-05-12 21:08:38 +02:00
Peter Kokot
626e9b9228 [ci skip] Migrate libxmlrpc README to Markdown 2019-05-12 21:08:06 +02:00
Peter Kokot
4cf3dcf4e1 Merge branch 'PHP-7.4'
* PHP-7.4:
  Normalize comments in *nix build system m4 files
2019-05-12 18:51:50 +02:00
Peter Kokot
9c87307983 Normalize comments in *nix build system m4 files
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
  favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
2019-05-12 18:43:03 +02:00
Dmitry Stogov
f7b69aaebd Merge branch 'PHP-7.4'
* PHP-7.4:
  Use better macros
2019-04-24 22:28:05 +03:00
Dmitry Stogov
3d96db0bae Use better macros 2019-04-24 22:27:40 +03:00
Dmitry Stogov
7567d47d4b Merge branch 'PHP-7.4'
* PHP-7.4:
  Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference
2019-04-24 18:28:40 +03:00