[libvirt] [libvirt-php PATCH 19/29] add test-conn-limit.phpt (as real phpt)

2016-04-13 Thread Neal Gompa
From: Remi Collet --- src/tests/test-conn-limit.phpt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 src/tests/test-conn-limit.phpt diff --git a/src/tests/test-conn-limit.phpt b/src/tests/test-conn-limit.phpt new

[libvirt] [libvirt-php PATCH 22/29] convert test-install.phpt to real phpt

2016-04-13 Thread Neal Gompa
From: Remi Collet --- src/tests/test-install.phpt| 136 + src/tests/test-libvirt-php.img | 0 2 files changed, 136 insertions(+) create mode 100644 src/tests/test-install.phpt create mode 100644

[libvirt] [libvirt-php PATCH 01/29] add config.m4 to allow standard PHP extension build system

2016-04-13 Thread Neal Gompa
From: Remi Collet --- src/config.m4 | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 src/config.m4 diff --git a/src/config.m4 b/src/config.m4 new file mode 100644 index 000..35bdd76 --- /dev/null +++

[libvirt] [libvirt-php PATCH 23/29] convert test-domain-create-and-coredump.phpt to real phpt

2016-04-13 Thread Neal Gompa
From: Remi Collet --- src/tests/example-no-disk-and-media.xml| 41 + src/tests/test-domain-create-and-coredump.phpt | 49 ++ 2 files changed, 90 insertions(+) create mode 100644

[libvirt] [libvirt-php PATCH 02/29] include config.h earlier

2016-04-13 Thread Neal Gompa
From: Remi Collet --- src/config.m4 | 2 -- src/libvirt-php.h | 14 -- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/config.m4 b/src/config.m4 index 35bdd76..239329f 100644 --- a/src/config.m4 +++ b/src/config.m4 @@ -44,8 +44,6 @@

[libvirt] [libvirt-php PATCH 24/29] convert test-domain-create-and-get-xpath.phpt to real phpt

2016-04-13 Thread Neal Gompa
From: Remi Collet --- src/tests/test-domain-create-and-get-xpath.phpt | 56 + 1 file changed, 56 insertions(+) create mode 100644 src/tests/test-domain-create-and-get-xpath.phpt diff --git a/src/tests/test-domain-create-and-get-xpath.phpt

[libvirt] [libvirt-php PATCH 00/29] Add PHP7 support and unit tests V2

2016-04-13 Thread Neal Gompa
dd arginfo for libvirt_domain_block_commit and libvirt_domain_block_job_info Frederic Mora (1): Add more tests Neal Gompa (2): Commit short instructions to using the php extension build method Bump version to 0.5.2 Remi Collet (25): add config.m4 to allow standard PHP extension build system

[libvirt] [libvirt-php PATCH 17/29] Switch all add_assoc_string_ex to add_assoc_string to avoid nul char management

2016-04-13 Thread Neal Gompa
From: Remi Collet PHP 5 => #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) PHP 7 => #define add_assoc_string(__arg, __key, __str) add_assoc_string_ex(__arg, __key,

Re: [libvirt] [libvirt-php PATCH 03/35] add missing arginfo (wip)

2016-04-12 Thread Neal Gompa
On Tue, Apr 12, 2016 at 11:13 AM, Michal Privoznik wrote: > This is not rebased onto current HEAD. > > Michal Hello Michal, I've rebased the patch set on the current HEAD as well as done some patch squashing to reduce the number of patches[1]. Would you like for me to

Re: [libvirt] [libvirt-php PATCH 09/35] adapt add_assoc_string_ex

2016-04-12 Thread Neal Gompa
On Tue, Apr 12, 2016 at 11:13 AM, Michal Privoznik wrote: > > I'm afraid, this will not fly. While preprocessing this code, my > compiler tries to expand RETURN_STRING() macro first (with VIRT_COPY_OPT > still not expanded). Therefore it finds an argument missing and produces

[libvirt] [libvirt-php PATCH 09/35] adapt add_assoc_string_ex

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 299 ++ 1 file changed, 99 insertions(+), 200 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index d37fd6f..0459bb9 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 11/35] zend_hash_update

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 4 1 file changed, 4 insertions(+) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 3ce8370..3dba7a0 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -3040,7 +3040,11 @@

[libvirt] [libvirt-php PATCH 35/35] Bump version to 0.5.2

2016-04-08 Thread Neal Gompa
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 51a2cfe..ed3c9d6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libvirt-php], [0.5.1], [http://libvirt.org]) +AC_INIT([libvirt-php], [0.5.2],

[libvirt] [libvirt-php PATCH 16/35] fix missed (hidden) zpp calls

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 279 +++--- 1 file changed, 141 insertions(+), 138 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index f4f9c5f..2700c77 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 28/35] fix PHP 5 compat again (nested macro issue)

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 163 +++--- src/libvirt-php.h | 26 + 2 files changed, 95 insertions(+), 94 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 511dcaa..9a32d79 100644

[libvirt] [libvirt-php PATCH 21/35] Fix max_connections management

2016-04-08 Thread Neal Gompa
From: Remi Collet - %p doesn't work with PHP snprintf - store max_connections_ini as long instead of string - store mem as pointer instead of integer - convert test-conn-limit to phpt --- src/libvirt-php.c | 33 - src/libvirt-php.h | 4

[libvirt] [libvirt-php PATCH 30/35] add block_commit support and needed const

2016-04-08 Thread Neal Gompa
From: Vasiliy Tolstov Signed-off-by: Vasiliy Tolstov --- src/libvirt-php.c | 66 ++- src/libvirt-php.h | 1 + 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/src/libvirt-php.c

[libvirt] [libvirt-php PATCH 03/35] add missing arginfo (wip)

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 458 +++--- 1 file changed, 371 insertions(+), 87 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 57e1b83..5f330f8 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 23/35] add test-connect-get-emulator.phpt

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/tests/test-conn-limit.phpt | 2 +- src/tests/test-connect-get-emulator.phpt | 15 +++ src/tests/test-connect.phpt | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644

[libvirt] [libvirt-php PATCH 34/35] Commit short instructions to using the php extension build method

2016-04-08 Thread Neal Gompa
--- INSTALL.PHPEXT | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 INSTALL.PHPEXT diff --git a/INSTALL.PHPEXT b/INSTALL.PHPEXT new file mode 100644 index 000..e8b6a55 --- /dev/null +++ b/INSTALL.PHPEXT @@ -0,0 +1,14 @@ +Installing using the PHP extension build

[libvirt] [libvirt-php PATCH 12/35] add_next_index_string

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 3dba7a0..c1587f9 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -7387,7

[libvirt] [libvirt-php PATCH 26/35] convert test-domain-create-and-coredump.phpt to real phpt

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/tests/example-no-disk-and-media.xml| 41 + src/tests/test-domain-create-and-coredump.phpt | 49 ++ 2 files changed, 90 insertions(+) create mode 100644

[libvirt] [libvirt-php PATCH 15/35] fix zpp

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 1959074..f4f9c5f 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -2088,7 +2088,7 @@

[libvirt] [libvirt-php PATCH 04/35] fix typo in config.m4

2016-04-08 Thread Neal Gompa
From: Remi Collet --- install-sh| 366 +++--- missing | 2 +- src/config.m4 | 12 +- 3 files changed, 204 insertions(+), 176 deletions(-) diff --git a/install-sh b/install-sh index 0b0fdcb..377bb86

[libvirt] [libvirt-php PATCH 13/35] buildable with PHP 7

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 98 +-- src/libvirt-php.h | 4 +++ 2 files changed, 85 insertions(+), 17 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index c1587f9..1959074 100644 ---

[libvirt] [libvirt-php PATCH 29/35] add some checks to prevent overflow

2016-04-08 Thread Neal Gompa
From: Vasiliy Tolstov Signed-off-by: Vasiliy Tolstov Signed-off-by: Michal Privoznik --- src/libvirt-php.c | 50 +++--- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git

[libvirt] [libvirt-php PATCH 17/35] fix PHP 5 compat

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 75 --- 1 file changed, 44 insertions(+), 31 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 2700c77..3977302 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 14/35] bump version 0.5.2-dev

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libvirt-php.h b/src/libvirt-php.h index 2ffe9f3..d1f034e 100644 --- a/src/libvirt-php.h +++ b/src/libvirt-php.h @@ -74,10 +74,10 @@ #endif #ifndef

[libvirt] [libvirt-php PATCH 02/35] include config.h earlier

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/config.m4 | 2 -- src/libvirt-php.h | 14 -- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/config.m4 b/src/config.m4 index ee2b47d..d255f77 100644 --- a/src/config.m4 +++ b/src/config.m4 @@ -42,8 +42,6 @@

[libvirt] [libvirt-php PATCH 08/35] register + fetch resources + hash

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 201 ++ 1 file changed, 174 insertions(+), 27 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 5f3857c..d37fd6f 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 10/35] clean ALLOC_INIT_ZVAL

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 83 +-- 1 file changed, 74 insertions(+), 9 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 0459bb9..3ce8370 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 20/35] Switch all add_assoc_string_ex to add_assoc_string to avoid nul char management

2016-04-08 Thread Neal Gompa
From: Remi Collet PHP 5 => #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) PHP 7 => #define add_assoc_string(__arg, __key, __str) add_assoc_string_ex(__arg, __key,

[libvirt] [libvirt-php PATCH 33/35] Add more tests

2016-04-08 Thread Neal Gompa
From: Frederic Mora --- src/tests/qemu-no-disk-and-media.xml | 41 + src/tests/test-connect-get-capabilities.phpt | 27 ++ src/tests/test-connect-get-info.phpt | 110 + src/tests/test-connect-get-machine-types.phpt |

[libvirt] [libvirt-php PATCH 19/35] port test-connect.phpt to real phpt

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/tests/test-connect.phpt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 src/tests/test-connect.phpt diff --git a/src/tests/test-connect.phpt b/src/tests/test-connect.phpt new file mode 100644 index 000..2aab021

[libvirt] [libvirt-php PATCH 31/35] add libvirt_domain_block_job_info

2016-04-08 Thread Neal Gompa
From: Vasiliy Tolstov Signed-off-by: Vasiliy Tolstov Signed-off-by: Yuriy Gromak Signed-off-by: Michal Privoznik --- src/libvirt-php.c | 36 src/libvirt-php.h | 1 + 2 files

[libvirt] [libvirt-php PATCH 22/35] add test-conn-limit.phpt (as real phpt)

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/tests/test-conn-limit.phpt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 src/tests/test-conn-limit.phpt diff --git a/src/tests/test-conn-limit.phpt b/src/tests/test-conn-limit.phpt new

[libvirt] [libvirt-php PATCH 05/35] add missing arginfo, part 2

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 287 +- 1 file changed, 198 insertions(+), 89 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 5f330f8..47893b2 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 24/35] fix parse_array + build warnings

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index af80f06..511dcaa 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -1128,11 +1128,11 @@

[libvirt] [libvirt-php PATCH 32/35] add arginfo for libvirt_domain_block_commit and libvirt_domain_block_job_info

2016-04-08 Thread Neal Gompa
From: Chuck Roydhouse --- src/libvirt-php.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 6b25961..36be055 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -213,6 +213,13 @@

[libvirt] [libvirt-php PATCH 27/35] convert test-domain-create-and-get-xpath.phpt to real phpt

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/tests/test-domain-create-and-get-xpath.phpt | 56 + 1 file changed, 56 insertions(+) create mode 100644 src/tests/test-domain-create-and-get-xpath.phpt diff --git a/src/tests/test-domain-create-and-get-xpath.phpt

[libvirt] [libvirt-php PATCH 18/35] fix libvirt_version + add test

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 2 +- src/tests/skipif.inc| 3 +++ src/tests/test-version-get.phpt | 27 +++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 src/tests/skipif.inc create

[libvirt] [libvirt-php PATCH 00/35] Add PHP7 support and unit tests

2016-04-08 Thread Neal Gompa
and libvirt_domain_block_job_info Frederic Mora (1): Add more tests Neal Gompa (2): Commit short instructions to using the php extension build method Bump version to 0.5.2 Remi Collet (28): add config.m4 to allow standard PHP extension build system include config.h earlier add

[libvirt] [libvirt-php PATCH 06/35] adapt RETURN_STRING

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 258 ++ 1 file changed, 200 insertions(+), 58 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 47893b2..0f8d19e 100644 --- a/src/libvirt-php.c +++

[libvirt] [libvirt-php PATCH 07/35] work on zpp

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/libvirt-php.c | 36 +--- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 0f8d19e..5f3857c 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@

[libvirt] [libvirt-php PATCH 25/35] convert test-install.phpt to real phpt

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/tests/test-install.phpt| 136 + src/tests/test-libvirt-php.img | 0 2 files changed, 136 insertions(+) create mode 100644 src/tests/test-install.phpt create mode 100644

[libvirt] [libvirt-php PATCH 01/35] add config.m4 to allow standard PHP extension build system

2016-04-08 Thread Neal Gompa
From: Remi Collet --- src/config.m4 | 52 1 file changed, 52 insertions(+) create mode 100644 src/config.m4 diff --git a/src/config.m4 b/src/config.m4 new file mode 100644 index 000..ee2b47d --- /dev/null +++

Re: [libvirt] [libvirt-php 0/3] small improvements

2016-03-22 Thread Neal Gompa
On Tue, Mar 22, 2016 at 10:44 AM, Vasiliy Tolstov wrote: > 2016-03-22 13:04 GMT+03:00 Remi Collet : >> I have abolutely no idea what going with libvirt-php, >> but FYI I have start a fork which is mostly ready and work with both PHP >> 5 and 7 >> >> If

<    1   2   3