Commit Graph

17808 Commits

Author SHA1 Message Date
Rob Richards
40e08311e5 MFH: enable by default 2006-07-22 15:33:02 +00:00
Nuno Lopes
ff591e2cf0 more const keywording 2006-07-22 15:22:56 +00:00
Nuno Lopes
5e7efb5ec9 dont create images in the php source root. output them instead 2006-07-22 15:15:53 +00:00
Pierre Joye
4219fe6c66 - hopla, before I got more conflicts ;)
(fix compiler warnings with latest const char changes)
2006-07-22 12:59:15 +00:00
Nuno Lopes
083b13335e use const keyword where possible 2006-07-22 12:49:36 +00:00
Pierre Joye
3ce212ccae - silent compiler warnings (char/unsigned char) 2006-07-22 09:39:24 +00:00
Pierre Joye
0714c1a3d5 - api shake #1, parse_pararameter has to be changed too 2006-07-22 09:09:06 +00:00
Pierre Joye
697f4e1f08 - API Shake up #1, use input type as first argument in input_get_args
(INPUT_GET/POST)
2006-07-22 08:58:03 +00:00
Andrei Zmievski
1223119155 MFH 2006-07-21 23:54:19 +00:00
Marcus Boerger
a6f8252f9b - MFH Update docu 2006-07-21 21:55:43 +00:00
Marcus Boerger
6a738f6b5b - MFH Match code with docu 2006-07-21 21:26:11 +00:00
Marcus Boerger
85963e6300 - MFH Update RegexIterator, Docu & Tests 2006-07-21 20:14:31 +00:00
Marcus Boerger
45d09c71ba - Synch RegexIterator with HEAD 2006-07-20 22:54:21 +00:00
Marcus Boerger
6fb763c4f9 - MFH Clean up (after consulting Andrei)
. Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....)
  . All refactored funcs (match, split, replace, grep) use the above
  . Change (zend|php)_error() to php_error_docref()
  . Move from old to new param parsing api
  . Fix memleaks in unicode mode
2006-07-20 22:53:07 +00:00
Seiji Masugata
3e1c05170e Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0. 2006-07-20 15:56:29 +00:00
Derick Rethans
150d058008 - MFH: Rename date classes to DateTime and DateTimeZone 2006-07-20 15:49:02 +00:00
Seiji Masugata
e95f9a0eeb Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0. 2006-07-20 15:45:07 +00:00
Pierre Joye
d6c2c283ed - make boolean logical filter works like int/float and php itself
- add more tests for boolean input
2006-07-20 12:58:13 +00:00
Antony Dovgal
f59a139f61 rephrase 2006-07-20 10:47:37 +00:00
foobar
68ae270793 MFH: simplify 2006-07-20 10:11:15 +00:00
foobar
34ae4eafd0 update 2006-07-20 10:09:09 +00:00
foobar
479055a85b MFH 2006-07-20 10:07:29 +00:00
Antony Dovgal
3003cd2473 MFH: use E_WARNING on recursion and add null to the result to keep it valid 2006-07-20 09:33:28 +00:00
Antony Dovgal
60720d285f MFH: ZTS fix 2006-07-20 09:19:02 +00:00
Antony Dovgal
3e308d3a6b MFH: add recursion protection to json_encode() and new tests 2006-07-20 08:56:57 +00:00
Antony Dovgal
0b97d2bd60 fix segfault, add test 2006-07-20 08:24:31 +00:00
Antony Dovgal
074feedc2b MFH 2006-07-20 07:40:49 +00:00
Antony Dovgal
efe0314db6 break; break; -> break; 2006-07-20 07:20:23 +00:00
Pierre Joye
92b6f24241 - fix tests for PI with libxml 2.6.24+, a new line is now added 2006-07-19 18:50:51 +00:00
Ilia Alshanetsky
cdfe00b801 Fixed compiler warnings and enable Json by default. 2006-07-19 16:17:15 +00:00
Michael Wallner
46f21b8a32 MFH: added error_get_last() function 2006-07-19 12:25:46 +00:00
Antony Dovgal
e8241e59ac no need to fetch name and free it immediately after that 2006-07-19 08:35:55 +00:00
Antony Dovgal
28c9afe35d fix tests 2006-07-19 08:26:50 +00:00
Antony Dovgal
4e8a4a4235 MFH: increase refcount when adding zval to the result array 2006-07-19 07:18:34 +00:00
Antony Dovgal
f61572e645 fix compile warnings 2006-07-19 06:57:21 +00:00
Ilia Alshanetsky
480104a456 Fixed memory leak 2006-07-18 22:42:28 +00:00
Antony Dovgal
9e905c3de7 MFH: add gmp_nextprime()
patch by ants dot aasma at gmail dot com
2006-07-18 14:54:32 +00:00
Derick Rethans
9ccbb28696 - Enable all new date functions and classes 2006-07-18 12:38:05 +00:00
Antony Dovgal
b45268a07a fix test 2006-07-18 09:22:32 +00:00
Dmitry Stogov
29ed52ffa4 New memory manager 2006-07-18 09:06:33 +00:00
Ilia Alshanetsky
fea4eeb845 Added possible failure note. 2006-07-18 00:09:01 +00:00
Marcus Boerger
34cfec2536 - MFH Fix #38125 undefined reference to spl_dual_it_free_storage 2006-07-17 21:11:33 +00:00
Michael Wallner
c0fcaa7acb - fix bug #37945 pathinfo() cannot handle argument with special characters
like german "Umlaute"
2006-07-17 20:36:47 +00:00
Pierre Joye
2a06ce8518 - #38112, add test and use MAX_LWZ_BITS instead of the value 2006-07-17 14:30:21 +00:00
Pierre Joye
cb41a19f28 - sync tests with HEAD 2006-07-17 12:54:09 +00:00
Nuno Lopes
7a38509835 new test 2006-07-17 11:39:13 +00:00
Antony Dovgal
f3f44275f4 MFH 2006-07-17 06:45:08 +00:00
Seiji Masugata
1d6182a907 added option parameter mb_strrpos( ). 2006-07-17 04:48:17 +00:00
Marcus Boerger
109c89c848 - MFH Typo 2006-07-16 23:48:34 +00:00
Marcus Boerger
f2623f0b50 - MFH Update docu 2006-07-16 23:46:12 +00:00
Marcus Boerger
55f0596fab - MFH:
. Upgrade RegexIterator capabilities, see docu
  . Update docu
  . Add test (which fails right now: iterator_049.phpt)
  . Add tests for new functionality
2006-07-16 21:12:32 +00:00
Marcus Boerger
bf4c9ef686 - MFH: Little bit refactoring: Two new PHPAPI functions:
. php_pcre_match
  . php_pcre_split
2006-07-16 21:09:30 +00:00
Nuno Lopes
717ca4ef55 new tests. almost 90% of code coverage 2006-07-16 19:35:09 +00:00
Marcus Boerger
bd760162e6 - MFH Correct test name 2006-07-16 17:34:37 +00:00
Christian Stocker
2dbcfcb8cb improved code (after suggestion by helly) 2006-07-16 16:04:09 +00:00
Antony Dovgal
e79591b081 fix test 2006-07-16 15:59:08 +00:00
Christian Stocker
dc8ba6f475 Added DOMNode::getNodePath() for getting an XPath for a node. 2006-07-16 15:03:53 +00:00
Pierre Joye
17f6ae66ce - #38112, corrupt GIF segfaults, test will follow 2006-07-16 11:07:31 +00:00
Marcus Boerger
dc571fa9e2 - MFH Fixed Bug #29538 number_format and problem with 0 2006-07-16 10:50:58 +00:00
Marcus Boerger
f03f2c5eae - MFH Pathinfo allows to get filename (Toby S, Christian S) 2006-07-16 10:37:24 +00:00
Marcus Boerger
9c30e20bd6 - MFH Implement todo: SplFileObject: ability to set the CSV separator per object 2006-07-15 15:08:41 +00:00
Marcus Boerger
bb3c702162 - MFH Fix issue with SplFileObject and directories 2006-07-15 13:01:59 +00:00
Marcus Boerger
31a8d6a6b3 - MFH array_fill_keys, better unicode support, use new param parsing API 2006-07-15 12:14:07 +00:00
Marcus Boerger
87c64280b0 - MFH Added array_fill_keys(). (Marcus, Mathew W) 2006-07-15 10:21:10 +00:00
Antony Dovgal
54dba635a3 rephrase the error message (fixes #38106) 2006-07-14 20:44:04 +00:00
Nuno Lopes
3876158e8f fix test with some aspell versions 2006-07-14 16:14:05 +00:00
Ilia Alshanetsky
ab6d4d411a Fixed test for systems where set_charset() method is unavailable. 2006-07-13 15:42:43 +00:00
Antony Dovgal
4902fc6c25 MFH: fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
add tests
2006-07-13 12:00:17 +00:00
Ilia Alshanetsky
1784db8087 Fixed compiler warnings. 2006-07-13 00:13:19 +00:00
Michael Wallner
33dbaff1ed MFH: add note why replace is 0, so that I don't wonder again in 2 months
why session_regenerate_id() sends the session cookie twice
2006-07-12 15:28:44 +00:00
Antony Dovgal
f9070e626a bailout on error and don't try to create fields of unknown type
add test
2006-07-12 13:08:38 +00:00
Antony Dovgal
69d6fe45c8 it's usually good idea to initialize variables
especially if you rely on their values
2006-07-12 12:38:49 +00:00
Antony Dovgal
3cce465528 fix invalid read - no need to compare strings if haystack is "" or shorter than needle
add test
2006-07-12 12:33:48 +00:00
Antony Dovgal
8a35e9d014 fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) 2006-07-12 09:51:47 +00:00
Antony Dovgal
1f09c0b9d5 fix TSRM build 2006-07-12 09:33:37 +00:00
Dmitry Stogov
c48a2e38f4 Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option) 2006-07-12 08:59:40 +00:00
Hartmut Holzgraefe
3fe315c652 MFH new test cases 2006-07-12 08:01:44 +00:00
Dmitry Stogov
b6d2c54059 Destructors call order is changed (Fixed bug #36759 - Objects destructors are invoked in wrong order when script is finished) 2006-07-12 07:55:17 +00:00
Hartmut Holzgraefe
e796974f6f fixed C&P errors in groups handling, activated groups feature 2006-07-12 07:01:04 +00:00
Hartmut Holzgraefe
aca6460346 MFH 2006-07-11 23:45:28 +00:00
Hartmut Holzgraefe
ae749049f5 MFH make sure that embedded database is correctly initialized 2006-07-11 23:43:55 +00:00
Hartmut Holzgraefe
61e9783154 debug output was breaking all tests 2006-07-11 23:42:58 +00:00
Hartmut Holzgraefe
3e099a5983 MFH test for ping and kill methods 2006-07-11 23:35:38 +00:00
Ilia Alshanetsky
d21628f993 Fixed test 2006-07-11 22:13:53 +00:00
Antony Dovgal
7ff8061d0a add new tests by Ligaya Turmelle 2006-07-11 21:28:38 +00:00
Antony Dovgal
40b87ec99f MFH: /tmp is often a symlink, use /bin instead 2006-07-11 21:20:20 +00:00
Antony Dovgal
24d3381b10 fix typo, add new test 2006-07-11 16:33:25 +00:00
Dmitry Stogov
a602a3eef5 Nuke signed/unsigned compiler warnings 2006-07-11 14:35:50 +00:00
Dmitry Stogov
ee1dc90d1e Nuke signed/unsigned compiler warnings 2006-07-11 14:24:18 +00:00
Antony Dovgal
b491930ef6 fix segfault in jdmonthname(), add test 2006-07-11 14:16:26 +00:00
Antony Dovgal
5e93a7df9a eliminate compile warnings 2006-07-11 12:37:00 +00:00
Antony Dovgal
3aaf62d159 there is no Unicode in 5_2 2006-07-11 12:15:11 +00:00
Hartmut Holzgraefe
c1b67d83cc (MFH) "transaction" tests should test commit, too, not only rollback 2006-07-10 16:29:50 +00:00
Dmitry Stogov
fbd3ef09ed Fixed memory leaks in ext/spl/tests/fileobject_003.phpt 2006-07-10 15:47:58 +00:00
Hartmut Holzgraefe
836e74ebee MFH 2006-07-10 14:06:13 +00:00
Dmitry Stogov
83ac79600e Fixed bug #37947 (zend_ptr_stack reallocation problem) 2006-07-10 14:02:40 +00:00
Antony Dovgal
d9d23050d1 MFH: fix mysqli_*_free_storage() funcs to conform with their prototypes 2006-07-10 13:02:43 +00:00
Dmitry Stogov
26c7981ccf Another fix for #38019 2006-07-10 12:46:28 +00:00
Antony Dovgal
3113fa9440 MFH: initialize vars 2006-07-10 11:26:22 +00:00
Dmitry Stogov
26499be68f Fixed bug #38055 (Wrong interpretation of boolean parameters) 2006-07-10 10:33:43 +00:00
Dmitry Stogov
690e86fdb2 Fixed bug #38019 (segfault extending mysqli class) 2006-07-10 10:05:20 +00:00
Dmitry Stogov
795a482a48 Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules) 2006-07-10 07:41:33 +00:00
Hartmut Holzgraefe
098d3d2b02 MFH 2006-07-10 07:39:35 +00:00
Dmitry Stogov
1cfb8af265 Fixed test 2006-07-10 07:26:17 +00:00
Dmitry Stogov
c389a653f7 Fixed bug #38004 Parameters in SoapServer are decoded twice 2006-07-10 07:21:41 +00:00
Marcus Boerger
71efa5b435 - MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute) 2006-07-10 00:18:53 +00:00
Marcus Boerger
c5ff44688a - MFH Fix logic 2006-07-09 23:30:19 +00:00
Ilia Alshanetsky
ff08705591 Removed pointless declarations 2006-07-09 23:28:28 +00:00
Marcus Boerger
d26b539c61 - MFH DualIterator 2006-07-09 10:24:32 +00:00
Marcus Boerger
5fee10735f - MFH Add spl_object_hash() 2006-07-09 10:22:27 +00:00
Marcus Boerger
0fd2b96204 - MFH Add test 2006-07-08 12:25:57 +00:00
Nuno Lopes
c26991a9eb MFH 2006-07-08 00:13:17 +00:00
Hannes Magnusson
147840dd93 MFH: ReflectionFunction::isDisabled() 2006-07-07 11:55:23 +00:00
Ilia Alshanetsky
89635eb158 E_ERROR > E_RECOVERABLE_ERROR 2006-07-06 23:13:18 +00:00
Ilia Alshanetsky
278dc574f2 E_ERROR > E_RECOVERABLE_ERROR 2006-07-05 17:38:14 +00:00
Antony Dovgal
d90263437c add test for bug #38003 2006-07-05 13:31:17 +00:00
Antony Dovgal
0f8f945418 MFH: fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context) 2006-07-05 11:48:30 +00:00
SVN Migration
1b0a789ab9 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-05 10:12:43 +00:00
Ilia Alshanetsky
f0178f71ee Eliminate some compiler warnings 2006-07-04 20:12:38 +00:00
Derick Rethans
d060a6e8a2 - MFH: Updated timezonedb to version 2006.7.
- MFH: Fixed test cases because of new constant values for the formats.
2006-07-04 18:13:58 +00:00
Hannes Magnusson
612e75442f mfh 2006-07-04 15:37:34 +00:00
Hannes Magnusson
1d6e7e3d93 MFH: Fix protos&arginfo 2006-07-04 15:33:57 +00:00
Dmitry Stogov
d550c270ce Fixed memory leak 2006-07-04 07:26:53 +00:00
Hannes Magnusson
a32fb32781 Make everyone happy 2006-07-03 22:42:03 +00:00
Ilia Alshanetsky
4a0d670f43 Fixed test 2006-07-03 21:58:46 +00:00
Hannes Magnusson
87bc74ea7a fix tests 2006-07-03 16:03:51 +00:00
Nuno Lopes
919d737505 more testing 2006-07-03 14:46:44 +00:00
Nuno Lopes
9990b3f431 new tests and fix the locales test where the pt local isnt available. 2006-07-03 13:04:45 +00:00
Ilia Alshanetsky
1b2cc459c6 Fixed bug #37987 (invalid return of file_exists() in safe mode). 2006-07-02 13:51:40 +00:00
Hannes Magnusson
7af33194e5 MFH: arginfo fixes 2006-07-02 00:11:06 +00:00
Nuno Lopes
b7311e9173 fixed segfaults and such things within the new assert02.phpt test 2006-07-01 12:21:07 +00:00
Hannes Magnusson
6910275d51 MFH reference fixes 2006-06-30 18:17:38 +00:00
Antony Dovgal
a518b450fd MFH: add error messages to disk_free_space() & disk_total_space() (feature request #37971) 2006-06-30 10:53:11 +00:00
Ilia Alshanetsky
9048ae292c Fixed test for situations where pspell_clear_session() is unavailable. 2006-06-29 22:54:31 +00:00
Antony Dovgal
6c37c9fa0a fix test on AIX and Solaris 2006-06-29 22:45:19 +00:00
Ilia Alshanetsky
70f2bcf763 Fixed test 2006-06-29 22:42:25 +00:00
Hannes Magnusson
1c530aa7cb Fix test on linux 2006-06-29 22:10:47 +00:00
Hannes Magnusson
3fd28953c6 mfh 2006-06-29 15:01:31 +00:00
Hannes Magnusson
77b307021d fix test 2006-06-29 14:53:50 +00:00
Hannes Magnusson
7a6fe06e4b url->URL 2006-06-29 14:40:49 +00:00
Hannes Magnusson
bcd06ef1b6 Bug #37961 (url should be URL) 2006-06-29 14:31:56 +00:00
Antony Dovgal
b8f97db580 MFH: make sure we won't get into endless loop 2006-06-29 09:03:27 +00:00
Antony Dovgal
6a43f6805c add new tests 2006-06-29 09:00:33 +00:00
Ilia Alshanetsky
24ac7931cd Improved safe_mode check for the error_log() function. 2006-06-28 22:08:42 +00:00
Antony Dovgal
0212ec6c71 MFH: fix #37931 (possible crash after database restart when using persistent connections) 2006-06-28 15:03:33 +00:00
Nuno Lopes
e8a3530d50 new tests (001.phpt is just a rename from the older one)
increases coverage from 20% to 70%
2006-06-28 14:36:23 +00:00
Ilia Alshanetsky
58c82af64d Improved the error reporting in SOAP extension on request failure. 2006-06-27 23:32:56 +00:00
Nuno Lopes
38e47dd0bb add new tests. bump code coverage to more than 80% 2006-06-27 22:43:26 +00:00
Hannes Magnusson
297a3d8e4c arginof fixes 2006-06-27 22:14:18 +00:00
Hannes Magnusson
52fd069ff4 Fix arg info (php6 features) 2006-06-27 21:42:16 +00:00