Xinchen Hui
0175d994c0
Fixed apply_func_arg_t, and it's better not using cast (compiler friendly)
2014-05-25 19:56:51 +08:00
Xinchen Hui
c2082ece52
Fixed apply_func_t (they should be broken before)
2014-05-25 18:32:35 +08:00
Matteo Beccati
5d7f82745f
Fix broken Junit output with --disable-cgi
2014-05-25 00:10:00 +02:00
Xinchen Hui
00e69ba164
typo
2014-05-24 21:45:07 +08:00
Xinchen Hui
b87cff66b8
fci->retval is always set
2014-05-24 21:37:15 +08:00
Xinchen Hui
60e01e5d64
Added folder mark and codes style
2014-05-24 21:35:36 +08:00
Dmitry Stogov
9eb89dddb1
Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.
2014-05-23 20:37:53 +04:00
Nikita Popov
8fbf4027e2
Remove incorrect EMPTY_SWITCH_DEFAULT_CASE() usage
2014-05-23 14:32:52 +02:00
Nikita Popov
c838f6c5b9
Remove UB in signed printing macro
...
Signed->unsigned conversion and unsigned negation are well-defined
(unlike signed negation for LONG_MIN.)
2014-05-23 13:15:08 +02:00
Nikita Popov
1d8c499b51
Optimize int to string conversion
...
Probably platform depedentant, but for me snprintf is terribly
slow.
The code for the long printing is taken from the smart string
API.
2014-05-23 13:10:50 +02:00
Nikita Popov
4778586896
Fix typo
2014-05-22 19:00:25 +02:00
Nikita Popov
6f0f8511f2
Assert that EMPTY_SWITCH_DEFAULT_CASE() cannot be reached in debug
2014-05-22 19:00:25 +02:00
Christopher Jones
94d092dea3
Make a start on phpng compat
2014-05-21 16:43:44 -07:00
Xinchen Hui
f9c3d09f1c
Fixed tests but introduce segfaults (behavior same as trunk)
2014-05-21 23:11:02 +08:00
Xinchen Hui
ad1ef9b629
Refactored ext/pdo_firebird (didn't do test)
2014-05-21 15:52:36 +08:00
Xinchen Hui
59d74db108
Fixed segafult while stream is referenced by persistent resource (like dba)
2014-05-21 13:11:56 +08:00
Xinchen Hui
96617874bd
Fixed persistent dba handling
2014-05-21 12:22:59 +08:00
Xinchen Hui
6d12d3bae1
Refactored ext/dba (tests passes, but segfaults need to be fixed)
2014-05-21 11:40:19 +08:00
Andrey Hristov
5d4f9dfff4
Second set of changes to mysqlnd for phpng.
...
A bit problematic is that the streams seem not to be completely ported.
Also there are some hacks in the streams about EG(regular_list) and EG(persistent_list)
and these need to be carefully checked. The test suite should catch them, however.
2014-05-20 21:50:15 +03:00
Andrey Hristov
5d57e17a15
First set of phpng changes for mysqlnd
2014-05-20 19:57:11 +03:00
Andrey Hristov
2312af04a7
Defensive check
2014-05-20 16:41:14 +03:00
Andrey Hristov
759f1009ad
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-20 14:51:16 +03:00
Andrey Hristov
90cad3de2f
Add one more check to skip getting into code that will do nothing
2014-05-20 14:50:50 +03:00
Dmitry Stogov
01ef592fba
Reverted last commit
2014-05-20 13:55:15 +04:00
Dmitry Stogov
cf4d43e45b
Fixed wrong test (see https://bugs.php.net/bug.php?id=67307 )
2014-05-20 13:47:10 +04:00
Dmitry Stogov
b5af9e8599
More accurate mysql_close()
2014-05-20 13:19:21 +04:00
Xinchen Hui
b36afe8dd3
Refactoring ext/snmp
2014-05-20 17:02:29 +08:00
Xinchen Hui
f2028491aa
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
...
Conflicts:
ext/pdo_pgsql/tests/common.phpt
2014-05-20 15:50:41 +08:00
Xinchen Hui
4d299b5092
Revert changes to configs by accident
2014-05-20 11:31:39 +08:00
Xinchen Hui
9c98c1f888
Refactored ext/ldap
2014-05-20 11:29:37 +08:00
Xinchen Hui
e1317ed517
Refactored ext/ldap
2014-05-20 11:26:26 +08:00
Dmitry Stogov
0a68835bd4
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
remove mysqlnd_bt.c as it a long dead code
2014-05-19 22:21:14 +04:00
Dmitry Stogov
b38bb265d4
Fixed test. The warning actually indicate a problem in master that we didn't repeat in phpng.
2014-05-19 22:20:02 +04:00
Andrey Hristov
e6e5d3535d
remove mysqlnd_bt.c as it a long dead code
2014-05-19 20:32:41 +03:00
Dmitry Stogov
78e4f03c22
Fixed incorrect efree()
2014-05-19 16:19:01 +04:00
Dmitry Stogov
a21e6d6ed9
Fixed double free
2014-05-19 13:11:20 +04:00
Dmitry Stogov
35f23d9ee7
Fixed incorrect Z_LVAL() usage
2014-05-19 12:51:48 +04:00
Dmitry Stogov
8506618850
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Fixed memleak (3 tests fails now)
Fixed resources apply_dtor
It's a zend_array not Hashtable (fixed segfault)
Fixed segfault
Refactoring ext/pgsql (incompleted, only compilable)
2014-05-19 11:53:06 +04:00
Dmitry Stogov
4e521c92ec
Prevent crash in case of SQL error
2014-05-19 11:52:33 +04:00
Dmitry Stogov
4ea10696e8
Prevent double resource free
2014-05-19 11:50:38 +04:00
Xinchen Hui
a816032285
Fixed memleak (3 tests fails now)
2014-05-19 14:57:17 +08:00
Xinchen Hui
98f801ccbc
Fixed resources apply_dtor
2014-05-19 14:53:02 +08:00
Xinchen Hui
09d2f4b195
It's a zend_array not Hashtable (fixed segfault)
2014-05-19 14:49:28 +08:00
Xinchen Hui
ed554704f3
Fixed segfault
2014-05-19 14:44:59 +08:00
Xinchen Hui
1ff7c7b9a3
Refactoring ext/pgsql (incompleted, only compilable)
2014-05-19 14:25:30 +08:00
Xinchen Hui
82a4897446
Use new iterator macros
2014-05-19 10:55:09 +08:00
Xinchen Hui
f2d1ace1b4
This should be this (broken compiling before)
2014-05-19 10:26:10 +08:00
Xinchen Hui
3eeb0dc9f7
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-19 10:21:13 +08:00
Dmitry Stogov
21da8af578
Removed the old hack that was originally developed to support constants in array indeces, and isn't needed anymore after the Bob's patch.
2014-05-19 01:20:56 +04:00
Dmitry Stogov
d07c1941ec
Use new hash iteration API and avoid old zend_hash_update_current_key() hack
2014-05-19 00:50:00 +04:00