Commit Graph

24139 Commits

Author SHA1 Message Date
Pierre Joye
d3b8d9f635 - add %a for Compiler/architecture 2008-08-17 16:43:36 +00:00
Pierre Joye
e3e8c437ba - [DOC] improve fix for #43261 for % and " 2008-08-17 15:23:23 +00:00
Pierre Joye
2345321956 - fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:06 +00:00
Pierre Joye
614299969b - MFB:
- fix or improve tests
 - add dump of the array_diff for compare_stats
2008-08-17 11:10:52 +00:00
Felipe Pena
7148ea9561 - New parameter parsing API
- Fixed tests
2008-08-16 21:16:25 +00:00
Pierre Joye
37fe35f1c3 - remove confusion for non windows/linux users 2008-08-16 13:27:18 +00:00
Hannes Magnusson
16a53bd75d Added stream_context_set_default() function. (Davey Shafik) 2008-08-16 10:57:26 +00:00
Pierre Joye
a279b66f9c - MFB: wrong file commited (and fix test, thx Tony for the head up) 2008-08-16 10:54:34 +00:00
Felipe Pena
b1cdf4c26c - Fix build 2008-08-15 22:13:58 +00:00
Pierre Joye
fc755dd8b3 - MFB: fix unexpected EOF on line 391 2008-08-15 21:03:32 +00:00
Felipe Pena
fac97d5694 - Removed unused variables 2008-08-15 19:57:24 +00:00
Pierre Joye
44ddda0c2d - make it portable without loosing pertinent data 2008-08-15 19:33:43 +00:00
Pierre Joye
2d2c2de62f - make it portable without loosing pertinent data 2008-08-15 19:25:56 +00:00
Pierre Joye
0b9d80861a - fix test
- add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:09 +00:00
Pierre Joye
31e17fd3fa - New parameter parsing API > new warning 2008-08-15 16:50:55 +00:00
Jani Taskinen
68a8a0f89c - Revert bad fix 2008-08-15 16:37:22 +00:00
Pierre Joye
30c3c16143 - no config.h in ext/ 2008-08-15 15:38:55 +00:00
Dmitry Stogov
2f3e1ae545 Fixed possible infinity loop in tests 2008-08-15 09:27:14 +00:00
Jani Taskinen
4c1e90066f fix skipif 2008-08-14 23:46:12 +00:00
Jani Taskinen
48442e4ab8 - Fix tests 2008-08-14 23:43:21 +00:00
Jani Taskinen
45e2d7bd58 fix test 2008-08-14 23:28:47 +00:00
Jani Taskinen
955d49d3fb - Skipif: as long as it is an extension, it can be disabled.. 2008-08-14 23:27:38 +00:00
Jani Taskinen
06137bf0ce - Fix test: Do not leave your crap behind! 2008-08-14 23:25:27 +00:00
Jani Taskinen
ce8106ff13 fix test 2008-08-14 20:33:20 +00:00
Nuno Lopes
bdeeaa526a sync with 5.3 branch. add test for bug #44925 2008-08-14 14:35:22 +00:00
Dmitry Stogov
a256e06404 Fixed bug #45613 Segfault when using is_file() on Apache-2.2.8 2008-08-14 13:02:13 +00:00
Antony Dovgal
c7a1743048 [DOC] add quoted_printable_encode() 2008-08-14 10:11:26 +00:00
Antony Dovgal
586759c740 fix folding 2008-08-14 10:10:56 +00:00
Marcus Boerger
75b08f4adf - Improved exception linking 2008-08-14 10:06:39 +00:00
Antony Dovgal
c6ed73718e fix build 2008-08-14 09:41:47 +00:00
Kalle Sommer Nielsen
09b362ff07 Fix arginfo for nl2br 2008-08-14 09:26:54 +00:00
Antony Dovgal
e67e446a73 fix ws, cs and folding 2008-08-14 08:38:37 +00:00
Kalle Sommer Nielsen
f358d03691 Implemented feature request #34381 (nl2br() should have an option for XHTML/HTML compatible BR element) 2008-08-14 02:55:13 +00:00
Felipe Pena
48612f6cc9 - MFB: New parameter parsing API 2008-08-14 01:35:24 +00:00
Felipe Pena
1e919abde7 - Fix build on BSD (5_3 and 5_2 are OK) 2008-08-14 01:13:18 +00:00
Pierre Joye
1beb30e468 - move declaration on top and fix build error 2008-08-13 21:57:00 +00:00
Felipe Pena
6638c4c7b7 - New parameter parsing API 2008-08-13 14:05:55 +00:00
Felipe Pena
b13b2a42e1 - New parameter parsing API (for gmp_testbit) 2008-08-13 12:20:54 +00:00
Antony Dovgal
7f5b9cf91a fix compile warnings (patch by Phil Oleson) 2008-08-13 08:08:30 +00:00
Jani Taskinen
bc6a9ad209 [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
[DOC]  startup:
[DOC]
[DOC]  To disable: Override default php.ini by using both -c and -n with
[DOC]              CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC]              to an empty string.
[DOC]
[DOC]  To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC]             to another path.

- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 00:49:59 +00:00
Felipe Pena
8a4e3981ed - Fixed tests 2008-08-12 20:00:28 +00:00
Felipe Pena
cbad1c9e7c - New parameter parsing API 2008-08-12 19:38:05 +00:00
Felipe Pena
a5f867f3d5 - Constness (Added const qualifier to several function parameters) 2008-08-12 17:15:59 +00:00
Marcus Boerger
d1789653a2 - MFB 2008-08-12 15:37:36 +00:00
Felipe Pena
cd57c8d974 - Fixed test 2008-08-12 14:10:44 +00:00
Felipe Pena
98c445c971 - Fixed bug #45798 (sqlite3 doesn't notice if variable was bound) 2008-08-12 13:32:30 +00:00
Pierre Joye
70b94f2adb - update test after php's portable realpath change (filename/ is not valid anymore) 2008-08-12 13:04:50 +00:00
Pierre Joye
dce0ac6e08 - not supported on windows 2008-08-12 11:55:47 +00:00
Arnaud Le Blanc
baae1c3fb1 clear stat cache in chroot() 2008-08-11 23:14:21 +00:00
Arnaud Le Blanc
0fa58b5775 Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:38:17 +00:00
Christian Seiler
d40f3ef30e - Fixed sefaults (tests added) 2008-08-11 22:30:44 +00:00
Felipe Pena
ea6a37b197 - Added arginfo
- Fixed WS
- Changed C++ comments to C comments
2008-08-11 19:46:57 +00:00
Marcus Boerger
044d27e802 - Cleanup 2008-08-11 19:34:49 +00:00
Marcus Boerger
de87bc2d27 - EXPECT rather than EXPECTF 2008-08-11 17:30:22 +00:00
Nuno Lopes
8da607e08f fix build when host machine doest has pcre installed 2008-08-11 15:40:41 +00:00
Arnaud Le Blanc
0ea8978235 Check the relevant path for open_basedir in symlink() 2008-08-11 15:29:06 +00:00
Felipe Pena
7ea60b6f45 - Fixed wrong check for dynamic properties 2008-08-11 13:35:49 +00:00
Pierre Joye
a37e9d2e0f - skip on wndows, chgrp not supported 2008-08-11 13:29:16 +00:00
Pierre Joye
8369777cae - removed commented code 2008-08-11 13:14:01 +00:00
Pierre Joye
94b661a37f - [DOC] detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:09:01 +00:00
Felipe Pena
ebb797df4b - Fix build (ZTS) 2008-08-11 12:45:37 +00:00
Marcus Boerger
ae3641d90d - Closure/Reflection integration (original idea by Christian Seiler) 2008-08-11 12:36:01 +00:00
Johannes Schlüter
2888aa20d1 - Fix #45763 (mysqli::multi_query does not work with mysqlnd) 2008-08-11 12:32:47 +00:00
Felipe Pena
0a735191e5 - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:46:14 +00:00
Felipe Pena
b9b83ec794 - New parameter parsing API (for *printf()) 2008-08-10 21:48:22 +00:00
Pierre Joye
4a015008b6 - fix the VC6 fix or strncpy_s (md5 crypt failed with VC9 as it used strncpy wrongly) 2008-08-10 21:34:02 +00:00
Antony Dovgal
6dca1deb52 fix compilation on AIX 2008-08-10 19:48:48 +00:00
Felipe Pena
f168ea0fb3 - New parameter parsing API (for min() and max()) 2008-08-10 17:49:30 +00:00
Pierre Joye
bb8085acc4 - fix string len 2008-08-10 14:15:31 +00:00
Arnaud Le Blanc
eebec53bc0 Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:25:53 +00:00
Arnaud Le Blanc
85bc66aa5c Fixed test 2008-08-10 12:06:49 +00:00
Arnaud Le Blanc
726dfc423d Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:18 +00:00
Pierre Joye
c76de7966d - [DOC] win's strftime does not support all posix formatting code and have some win specific rules see http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx for a complete list: split test for win32 and posix 2008-08-10 11:27:26 +00:00
Antony Dovgal
37b57badf0 disable the test on AIX - unlink() deletes directories there (omg..) 2008-08-09 22:35:17 +00:00
Antony Dovgal
83fa3f9874 do not fail & segfault if malloc(0) returns NULL, that's expected
(reproducible on AIX with simple date() and UTC timezone)
2008-08-09 22:00:51 +00:00
Antony Dovgal
34b4cfd5e5 fix leak 2008-08-09 21:58:40 +00:00
Antony Dovgal
c5b2255843 fix typo 2008-08-09 21:02:30 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Pierre Joye
9bc9e10386 - MFB: add new files 2008-08-08 18:29:51 +00:00
Pierre Joye
1b57b75d50 - sync with 5.3 2008-08-08 18:13:55 +00:00
Etienne Kneuss
f3ca0282f2 Test the catching of chains of exceptions 2008-08-08 14:09:15 +00:00
Felix De Vliegher
934dd2e326 MFB: Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure() 2008-08-08 12:42:40 +00:00
Felix De Vliegher
a3d6855a85 MFB: Documentation fix for getClosure() 2008-08-08 10:53:39 +00:00
Hannes Magnusson
cd353d6c26 Fix build on FreeBSD4.11 (bug#45757) 2008-08-08 08:19:46 +00:00
Pierre Joye
81d8d218f6 - moved to pecl 2008-08-07 23:48:40 +00:00
Pierre Joye
8af38667e6 - update to 0.9 (torrentzip support, files open only when necessary), windows fixes 2008-08-07 23:23:20 +00:00
Felix De Vliegher
7da0fe6ef0 MFB: Basic and error tests for stream_filter_remove(). 2008-08-07 22:32:43 +00:00
Antony Dovgal
911a3a1616 not experimental anymore 2008-08-07 13:10:22 +00:00
Antony Dovgal
9b279c8fb3 remove EXPERIMENTAL flag 2008-08-07 13:07:06 +00:00
Nuno Lopes
83938211db MFB: upgrade to PCRE 2008-08-07 12:51:05 +00:00
Arnaud Le Blanc
a51e5ebaeb Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:24:04 +00:00
Antony Dovgal
951fe380b3 fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:15 +00:00
Elizabeth Marie Smith
6f7ced7ec0 Stupid typo 2008-08-06 16:57:08 +00:00
Elizabeth Marie Smith
58771162b4 Fix include path 2008-08-06 16:48:19 +00:00
Felipe Pena
851187452b - Fixed crash msgfmt_get_pattern 2008-08-06 16:16:16 +00:00
Derick Rethans
7b759c4eb3 - Fixed bug #45636 (fileinfo ext duplicate strndup). 2008-08-06 14:42:06 +00:00
Derick Rethans
2db85e29ac - Fixed bug #45717 (Fileinfo/libmagic build fails, missing err.h and getopt.h). 2008-08-06 14:29:27 +00:00
Scott MacVicar
3967788e5b Sync libsqlite to 3.6.1 2008-08-06 14:22:35 +00:00
Scott MacVicar
80e789b4af Fix test on Windows 2008-08-06 14:07:20 +00:00
Scott MacVicar
3fbc4de93a MFB: Update coding standards and fix a test, this was already in 5.3 alpha 1 2008-08-06 14:02:44 +00:00
Jani Taskinen
2faeee57f4 - Fixed some inconsistencies with the behaviour of sessions. Changed session_start() to return false when session start fails. 2008-08-06 05:34:55 +00:00
Jani Taskinen
ea0dbec8b7 - MFB: sync parameter parsing API changes in session_set_save_handler() 2008-08-06 04:48:39 +00:00
Jani Taskinen
fec6668d2d - MFB: snprintf -> slprintf, nuketh extra folding tags, ws fixes 2008-08-06 04:24:55 +00:00
Jani Taskinen
41a05672ad ws + folding tags 2008-08-06 00:36:14 +00:00
Jani Taskinen
5a125d3d24 - Nuke ending period 2008-08-05 22:52:35 +00:00
Stanislav Malyshev
9d04ad3dc2 fix test 2008-08-05 21:59:11 +00:00
Stanislav Malyshev
fb9945422e fix memnstr bug by Laurent Gaffie 2008-08-05 21:23:20 +00:00
Pierre Joye
bcd1b31831 - fix oci8_11g when build shared (invalid extension) 2008-08-05 20:56:03 +00:00
Elizabeth Marie Smith
8a515d6b51 Some fancy detection for sqlite3 and pdo_sqlite3 - so the two extensions don't depend on each other if shared, and don't try to put two versions of the sqlite3 lib if static 2008-08-05 20:22:53 +00:00
Pierre Joye
1dddb79a32 - fix zlib detection (shared/static) and add zlib_a support 2008-08-05 19:39:51 +00:00
Derick Rethans
7772d56fab - Fixed a bug that caused miscalculations with the "last <weekday> of <n>
month" relative time string.
2008-08-05 18:02:39 +00:00
Pierre Joye
682bcde37b - not shared 2008-08-05 17:19:32 +00:00
Jani Taskinen
a0470b3ee3 - Portability fix. (si_fd seems to be linux only thing) 2008-08-05 15:12:11 +00:00
Antony Dovgal
cb39231101 fix typo 2008-08-05 14:58:57 +00:00
Jani Taskinen
a445bcdb2f - Add test for bug #45712 2008-08-05 12:36:21 +00:00
Arnaud Le Blanc
4386384222 Fixed test 2008-08-05 10:09:12 +00:00
Pierre Joye
732bdbb9a5 - detect _a or normal lib 2008-08-04 21:39:08 +00:00
Jani Taskinen
f0d3d22dd6 - Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter) 2008-08-04 21:13:34 +00:00
Jani Taskinen
fd1cac90b1 - Fix test 2008-08-04 21:10:36 +00:00
Moriyoshi Koizumi
e4f2ea4d3b - More fixes for bug #45691 2008-08-04 21:10:17 +00:00
Felipe Pena
ebb28b484a - Fixed test 2008-08-04 18:26:15 +00:00
Felipe Pena
0e645a745c - Added new parameter parsing API (part II) 2008-08-04 18:22:02 +00:00
Jani Taskinen
7b505f318c - Merged the missing parameter parsing API change (Bunny thanks you Felipe)
- Added proper C-client library version check
2008-08-04 15:34:30 +00:00
Jani Taskinen
85d152e233 - Add test for bug #45705 2008-08-04 13:45:36 +00:00
Robin Fernandes
4ef68b9627 Improve ArrayObject::exchangeArray() behaviour with objects and CoW references (see http://turl.ca/exarr ). 2008-08-04 11:45:15 +00:00
Dmitry Stogov
83c993baab Fixed test 2008-08-04 07:16:29 +00:00
Kalle Sommer Nielsen
32db74f2e0 Fixes #45406 - Patch by oleg dot grenrus at dynamoid dot com 2008-08-04 06:18:27 +00:00
Etienne Kneuss
1c23174d9d Fix clone + add tests 2008-08-03 19:07:22 +00:00
Etienne Kneuss
7aa5e4ab32 Remove cast and fix mem errors 2008-08-03 18:15:18 +00:00
Derick Rethans
d84a4ed4ab - Fixed bug #45696 (Not all DateTime methods allow method chaining). 2008-08-03 16:44:31 +00:00
Jani Taskinen
c9c53d7bcd - Nuketh C++ comments from C files. 2008-08-03 12:12:45 +00:00
Jani Taskinen
82d833a94c - fix comment style 2008-08-03 12:10:51 +00:00
Jani Taskinen
9a3b00b16e missing eol 2008-08-03 12:04:57 +00:00
Jani Taskinen
6928f2e279 - Fix comment 2008-08-03 12:03:02 +00:00
Jani Taskinen
f679eeb6cb - No C++ comments in C files! 2008-08-03 11:56:45 +00:00
Jani Taskinen
3cd81726a2 oops 2008-08-03 11:55:06 +00:00
Jani Taskinen
3d0b68418b - These files do not conform to any kind of coding standard. Sync from 5.3 too 2008-08-03 11:32:45 +00:00
Moriyoshi Koizumi
b0f6875659 - Forgot to take account of the case when mbstring.language is processed
afterwards.
2008-08-03 00:04:06 +00:00
Moriyoshi Koizumi
51180a707c - Fixed bug #45691 (Some per-dir or runtime settings may leak into other requests). 2008-08-02 20:48:30 +00:00
Pierre Joye
c8a42610e5 - improve previous fix for scan, disable optimizer only for scan() using #pragma optimize 2008-08-02 16:49:56 +00:00
Pierre Joye
2317deb6f5 - parser's scan function is too large for VC6-7.x, disable the optimizer (size optimization instead) fixes it 2008-08-02 15:49:14 +00:00
Steph Fox
254768c9fc - Remove obsolete check 2008-08-02 15:37:38 +00:00
Derick Rethans
2c577a4aaf - Fixed bug #45545 (DateInterval has a limitation of 4 chars for ISO
durations).
2008-08-02 13:50:30 +00:00
Arnaud Le Blanc
630fb69796 MFB: Allow urlencode()d filer names in php://filter (fixes #43008) 2008-08-02 06:37:34 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Arnaud Le Blanc
67a7949c80 Avoid leaks when zlib streams can not be closed properly. 2008-08-02 02:36:14 +00:00
Moriyoshi Koizumi
957bdafb86 - Add a test for bug #43993. 2008-08-01 22:56:35 +00:00
Moriyoshi Koizumi
9bcdf1d802 - Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) 2008-08-01 22:55:47 +00:00
Pierre Joye
2ad7c548f0 - use static lib first if found 2008-08-01 21:19:46 +00:00
Pierre Joye
75937acbaf - fix EOL broken by previous commit 2008-08-01 19:09:15 +00:00
Pierre Joye
a2a18797c0 - MFH: drop 8.x support 2008-08-01 18:58:15 +00:00
Steph Fox
fa2f1c171b - Somehow 'cvs add' managed to ignore these completely(?) 2008-08-01 17:34:03 +00:00
Steph Fox
1c36e772b7 - Merge Dmitry's changes from PHP_5_3 branch 2008-08-01 16:28:19 +00:00
Pierre Joye
5550ef750b - support for Oracle 11g (either 8 or 11g can be built but not both 2008-08-01 15:06:56 +00:00
Steph Fox
c6aa379d74 - This is as good as it gets in HEAD at present (~30% tests fail here) 2008-08-01 13:45:06 +00:00
Steph Fox
63249f7ea3 - Bring phar command into sync with 5_3 and PECL 2008-08-01 13:41:30 +00:00
Steph Fox
755642c355 - Bring phar tests into line across all branches 2008-08-01 13:36:19 +00:00
Scott MacVicar
2feac2e6d2 MFB: Make pdo_sqlite use the bundled extension with sqlite3 2008-08-01 12:02:40 +00:00
Pierre Joye
839bd439b0 - first static lib then dyn or old one 2008-08-01 11:21:27 +00:00
Antony Dovgal
2846fc1c02 fix int<->long mess causing lots of segfaults on x86_64 2008-08-01 08:27:46 +00:00
Hannes Magnusson
6894772e55 fix skipif 2008-08-01 08:02:06 +00:00
Hannes Magnusson
166dee99e0 MFB5.3: "without" and "do not include" 2008-07-31 22:32:46 +00:00
Scott MacVicar
76970a5a39 MFB: Enable by default and fix compile error 2008-07-31 22:25:18 +00:00
Johannes Schlüter
e0e15347e2 - Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:17:07 +00:00
Pierre Joye
0fb301bcc9 - add detection for newer libs 2008-07-31 18:04:21 +00:00
Moriyoshi Koizumi
759e232786 - Fixed bug #44617 (wrong HTML entity output when substitute_character=entity) 2008-07-31 17:36:35 +00:00
Scott MacVicar
633c328cdf MFB: Stray RETURN_TRUE value 2008-07-31 16:35:33 +00:00
Pierre Joye
f3c5be8d13 - MFB: update config to match config.m4
(still does not build but will be fixed for alpha2)
2008-07-31 13:14:22 +00:00
Jani Taskinen
8a89eb0825 - fix test 2008-07-31 11:49:56 +00:00
Rasmus Lerdorf
c04ca7502c Fix test to test higher nesting level 2008-07-31 11:49:19 +00:00
Rasmus Lerdorf
f5dc937a0d Fix for bug #45030 2008-07-31 09:23:59 +00:00
Scott MacVicar
0b88f59125 get fileinfo building again on Windows 2008-07-31 00:32:25 +00:00
Felipe Pena
71ca5fd491 - Fixed memory leak.
# Test: locale_filter_matches(str_repeat('a', 520), str_repeat('a', 520), 1);
2008-07-30 19:33:04 +00:00
Felipe Pena
39a1c0e86d - MFB: Fixed crash when NULL is passed to locale_accept_from_http() 2008-07-30 17:56:18 +00:00
Derick Rethans
0ae51b159e - Fixed a bug with the YYYY-MM format not resetting the day correctly.
- Fixed a bug in the DateTime->modify() methods, it would not use the advanced
  relative time strings.
- Fixed return values of all the modifying methods, they now properly return
  the object itself.
2008-07-30 17:48:21 +00:00
Rasmus Lerdorf
664bb141a1 We can afford a larger stack here and other json parsers out there
go deeper than 128.
2008-07-30 13:57:47 +00:00
Antony Dovgal
a4c57b7347 fix folding 2008-07-30 11:58:43 +00:00
Antony Dovgal
2560c18bf6 fix tests 2008-07-30 09:57:55 +00:00
Jani Taskinen
357c16c598 ws 2008-07-30 08:13:02 +00:00
Kalle Sommer Nielsen
a00f7db067 Add test for imagecolorclosesthwb() 2008-07-30 04:35:21 +00:00
Kalle Sommer Nielsen
73558cf334 MFB: Add test case for #44849 2008-07-30 01:38:37 +00:00
Pierre Joye
b1f466b3ed - missing in the previous crypt commit (shutdown frees the locking mechanism) 2008-07-29 17:28:07 +00:00
Arnaud Le Blanc
6c21038ddf Added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask()
[DOC] pcntl_sigprocmask() allows to block signals. pcntl_sigwaitinfo()
allows to fetch blocked signals or signals delivered while pcntl_sigwaitinfo()
is running. pcntl_sigtimedwait() is pcntl_sigwaitinfo() with a timeout.
2008-07-29 16:56:26 +00:00
Felipe Pena
663450701d - Fix memory leak 2008-07-29 16:51:21 +00:00
Arnaud Le Blanc
a617bfdf9e Added pcntl_signal_dispatch()
[DOC] pcntl_signal_dispatch() allows to dispatch pending signals to registered
signal handler functions on-demand. This allows to use pcntl_signal() without
ticks.
2008-07-29 16:46:03 +00:00
Felipe Pena
2e0054bfec - Fix crash when NULL is passed to bindtextdomain() (sync with 5_3) 2008-07-29 16:21:38 +00:00
Dmitry Stogov
03ebd36385 Fixed memory leak 2008-07-29 14:27:31 +00:00
Arnaud Le Blanc
d739f8f0da Fixed previous fix 2008-07-29 13:57:20 +00:00
Dmitry Stogov
fbb84e37d8 Fixed memory leak 2008-07-29 12:56:18 +00:00
Felipe Pena
886087b701 - Fix the fix 2008-07-29 12:41:58 +00:00
Felipe Pena
b201b13939 - Fix mem. leak 2008-07-29 12:36:36 +00:00
Felipe Pena
a9e846b21e - Fixed tests 2008-07-29 12:20:39 +00:00
Dmitry Stogov
7129a70051 Fixed test 2008-07-29 12:17:04 +00:00
Dmitry Stogov
21f41b06f3 Removed warning 2008-07-29 11:50:23 +00:00
Antony Dovgal
2eeae6909e fix 5 years old copy/paste error (patch by Mikko) 2008-07-29 10:42:15 +00:00
Antony Dovgal
21008970aa fix test 2008-07-29 08:48:46 +00:00
Antony Dovgal
bd5f8ace6e make ReflectionProperty::getValue() and ReflectionProperty::setValue() consistent with their implementations in 5_3 2008-07-29 08:48:16 +00:00
Antony Dovgal
3f754a5aff no need for FETCH anymore.. 2008-07-29 07:33:58 +00:00
Antony Dovgal
652018e18e more similar fixes 2008-07-29 07:32:52 +00:00
Antony Dovgal
d23d92e077 add TSRMLS_DC and fix crash in ZTS mode 2008-07-29 07:29:22 +00:00
Scott MacVicar
bc50a9772c Add freelist for tracking sqlite statements to free on implicit SQLite3::close() 2008-07-29 00:56:22 +00:00
Scott MacVicar
5a2163a439 MFB: Fix error when fetchArray reaches the last row 2008-07-28 23:03:26 +00:00
Derick Rethans
0da9bc904d - Updated to version 2008.5 (2008e) 2008-07-28 19:31:21 +00:00
Arnaud Le Blanc
aa34fda7ee When automatically redirecting an HTTP request, use the GET method when the
original method was not HEAD or GET (fixes #45540)
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
2008-07-28 19:03:57 +00:00
Elizabeth Marie Smith
fec135a4e3 Secure versions of string functions don't exist for VC6 2008-07-28 16:48:38 +00:00
Pierre Joye
852fef98ed - vc6 is picky about brackets when used with a defined type... 2008-07-28 16:32:48 +00:00
Etienne Kneuss
03de75498d Increase coverage a bit 2008-07-28 14:24:35 +00:00
Jani Taskinen
142b3d5c92 - Fix EOLs 2008-07-28 12:01:57 +00:00
Jani Taskinen
4e37190b44 - Fix EOLs. (Pierre: yea, mac2unix..try not touch files with your braindead Winblows editors!) 2008-07-28 11:56:46 +00:00
Pierre Joye
5ba946926f - #45430, windows implementation of crypt is not TS
- add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
- Make crypt features portable:
  - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
  - if one algo is missing, php's implemetation is used
  - Windows always use php's implementation
- removed old code in windows/
2008-07-28 11:34:53 +00:00
Pierre Joye
37f0549fb0 - mac to unix 2008-07-28 09:12:07 +00:00
Pierre Joye
5490f8228b - mac to unix format 2008-07-28 09:03:39 +00:00
Pierre Joye
cd9c6a12e9 - Fix ZTS build 2008-07-28 09:01:03 +00:00
Derick Rethans
d4210b7a4a - Fixed DateTime::setTimestamp() and added a test for it. 2008-07-27 19:09:37 +00:00
Christopher Jones
e10ebdfee7 Update README. Bump ver ready for PECL release 2008-07-27 17:48:16 +00:00
Jani Taskinen
280de2941d *sigh* 2008-07-27 00:07:30 +00:00
Jani Taskinen
0afe7e644c - Fix build 2008-07-26 23:57:48 +00:00
Jani Taskinen
4fe829da39 - Fixed build with bundled library 2008-07-26 23:45:54 +00:00
Jani Taskinen
cca6f5a2f8 jfc..*SIGH* 2008-07-26 23:45:02 +00:00
Jani Taskinen
8c7be471fa fix folding tag 2008-07-26 22:58:45 +00:00
Jani Taskinen
093b7afd9e update credits 2008-07-26 22:40:45 +00:00
Jani Taskinen
17ff08250d - Fix ws/cs (please do not invent your own CS...) and weird EOLs 2008-07-26 22:39:56 +00:00
Jani Taskinen
dbcb0b3255 - Fix EOLs 2008-07-26 22:18:00 +00:00
Jani Taskinen
abeff72aeb tune 2008-07-26 22:17:17 +00:00
Jani Taskinen
5d62a072e0 - No tabs. 2008-07-26 22:11:41 +00:00
Dmitry Stogov
ef5f3cfdf2 . Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:31:38 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Arnaud Le Blanc
a3f0f90dfd Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:33:34 +00:00
Scott MacVicar
de9093bf87 Forgot to add these earlier
SQLite3 extension, still has 2 failing tests that will be sorted shortly.
2008-07-26 01:23:45 +00:00
Scott MacVicar
f591e9076d SQLite3 extension, still has 2 failing tests that will be sorted shortly. 2008-07-25 21:34:15 +00:00
Felipe Pena
f074bae1ea - Added arginfo
- Fixed:
  . proto: finfo_buffer
  . parameter type in _php_finfo_get_type()
2008-07-25 15:20:58 +00:00
Moriyoshi Koizumi
de0e9cea83 - Fix warnings 2008-07-25 14:04:39 +00:00
Moriyoshi Koizumi
86e8d7ebf1 - Fix wrong cast 2008-07-25 13:56:50 +00:00
Jani Taskinen
3f73317c79 - Fix PDO configure dependancy: If --disable-pdo is used, disable all enabled-by-default drivers. Also error out if you try to configure a driver as static but pdo is disabled. 2008-07-25 13:38:41 +00:00
Moriyoshi Koizumi
e8741cc4fc - fix a typo in mb_stripos() that caused segfault.
(noticed by bs@php.net, thanks).
2008-07-25 12:50:14 +00:00
Andrey Hristov
cab531026b Fix bug#45019 Segmentation fault with SELECT ? and UNION 2008-07-25 12:45:27 +00:00
Rob Richards
accb0bcc01 fix zts build 2008-07-25 12:40:23 +00:00
Felipe Pena
5d1a2c3317 - Fix build 2008-07-25 11:54:06 +00:00
Dmitry Stogov
c96256bcaf Fixed support for static methods 2008-07-25 09:48:36 +00:00
Jani Taskinen
b3ec151f8f MFB: generated with a bit newer re2c 2008-07-25 09:17:52 +00:00
Jani Taskinen
419a40f14a - Enable fileinfo by default 2008-07-25 09:16:09 +00:00
Jani Taskinen
a1981bf2d8 - Cleanup after test 2008-07-25 09:10:02 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Michael Wallner
6e228f0c76 - Changed HTTP stream wrapper to accept any code between and including
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:10 +00:00
Derick Rethans
0192c570c8 - No C++ comments. 2008-07-25 08:18:34 +00:00
Derick Rethans
1fdbee278a - Updating the libmagic patch.
- Adding myself to credits.
2008-07-25 08:17:21 +00:00
Derick Rethans
1371ec3fbf - Fixed size calculation.
- Reverted cosmetic fixes that makes upgrading harder.
2008-07-25 08:16:03 +00:00
Moriyoshi Koizumi
ffde39dce5 - Suppress signedness warnings. 2008-07-25 03:41:38 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Moriyoshi Koizumi
935fa7a97e - Fix win32 build 2008-07-24 16:59:53 +00:00
Pierre Joye
265d2e6c5d - force static for now, broken now 2008-07-24 16:05:17 +00:00
Arnaud Le Blanc
2db33d3d7f Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:51:14 +00:00
Christopher Jones
c3ecda4dfd 1. Fix macro version test for constants
2. [DOC] Increase oci8.default_prefetch to 100.  Better out of box experience.  Consistent woth PDO_OCI
2008-07-24 15:23:29 +00:00
Antony Dovgal
1133a7c224 use "r" instead of "z" when accepting resources 2008-07-24 15:07:37 +00:00
Ulf Wendel
c2c9b61a79 Test for PS fallback logic in prepare() 2008-07-24 15:07:20 +00:00
Antony Dovgal
231bafaade we don't do fstat, hence st struct is uninitalized 2008-07-24 14:53:59 +00:00
Antony Dovgal
54e1d048cd silence compile warning 2008-07-24 14:45:53 +00:00
Antony Dovgal
8e24e64882 fix folding 2008-07-24 14:44:15 +00:00
Arnaud Le Blanc
75449ab505 MFB: Added tests for #42663 2008-07-24 14:39:58 +00:00
Antony Dovgal
29bb0c9dd3 drop freeing of uninitialized variable
add missing return
nuke unused variable
2008-07-24 14:30:58 +00:00
Antony Dovgal
77149f12d1 do not include libmagic/file.c into the build 2008-07-24 14:22:30 +00:00
Scott MacVicar
1390f0614d Remove non existent defines, change THREADSAFE to SQLITE_THREADSAFE and sync with 5.3 2008-07-24 14:20:51 +00:00
Andrey Hristov
613e045ae8 Added test file 2008-07-24 14:17:27 +00:00
Moriyoshi Koizumi
f0582b02e2 - Fix tests. 2008-07-24 13:49:28 +00:00
Moriyoshi Koizumi
33be49a588 - Fixed warnings. 2008-07-24 13:46:35 +00:00
Derick Rethans
8c8b504bc4 - Bundle the data file - you can still use the external file if you
specify that in the call to finfo_open().
2008-07-24 13:40:21 +00:00
Moriyoshi Koizumi
5b494c0f16 - Add mbstring.http_output_conv_mimetypes that allows common non-text
types such as "application/xhtml+xml" to be converted by
  mb_output_handler().
2008-07-24 12:58:37 +00:00
Ulf Wendel
d529003bd2 Make the test pass on 32bit and not bail out because of int vs. double 2008-07-24 12:54:12 +00:00
Felipe Pena
997c24d068 - New parameter parsing API 2008-07-24 12:48:47 +00:00
Scott MacVicar
fe8c688313 Add .cvsignore, update config.w32 and remove the other bundled sqlite library 2008-07-24 11:24:28 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Arnaud Le Blanc
6688c798e1 Allow filters to work on INPUT_SERVER in CLI (bug #44779) 2008-07-24 09:11:48 +00:00
Steph Fox
64a04a58a6 - Make test x-platform 2008-07-24 08:53:56 +00:00
Steph Fox
32b474b730 - Introduce SPL_FILE_DIR_UNIXPATHS. 2008-07-24 08:52:24 +00:00
Antony Dovgal
e6ae49ca17 fix test 2008-07-24 07:32:21 +00:00
Felipe Pena
b1306465de - Fixed tests 2008-07-24 03:30:02 +00:00
Felipe Pena
9c262a3343 - Improved parameter handling 2008-07-24 03:06:16 +00:00
Scott MacVicar
c28a412004 MFB: Update pdo_sqlite to use the amalgamation, much easier to upgrade / maintain. Also kill useless PECL version tag in MINFO. 2008-07-24 01:01:43 +00:00
Hartmut Holzgraefe
92ba7b34ce corrected library search path order in tests 2008-07-23 21:41:27 +00:00
Lars Strojny
441848362d array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:38:10 +00:00
Stanislav Malyshev
2ea8d4d604 implement bug #14266 2008-07-23 20:22:28 +00:00
Stanislav Malyshev
2236225b9b typoes 2008-07-23 20:21:23 +00:00
Derick Rethans
e68b8af578 - Fixed an issue with "first <weekday> of" in case the first <weekday> was the
same day-of-week as the first day of the month.
2008-07-23 19:52:51 +00:00
Felipe Pena
211064f588 - Fixed tests 2008-07-23 19:49:07 +00:00
Felipe Pena
cc9a38bdca - New parameter parsing API 2008-07-23 19:33:58 +00:00
Derick Rethans
5ddf492cfc - Fixed bug #43452 (strings containing a weekday, or a number plus weekday
behaved incorrect of the current day-of-week was the same as the one in the
  phrase). (Derick)
2008-07-23 18:49:37 +00:00
Stanislav Malyshev
e670fb5872 add test 2008-07-23 18:46:09 +00:00
Stanislav Malyshev
4ef1a9b99e add locale_accept_from_http 2008-07-23 18:45:10 +00:00
Felipe Pena
ca536ea944 - Fixed bug #45605 (array_uintersect_assoc gives incorrect error message)
(patch by ilewis at uk dot ibm dot com)
2008-07-23 16:27:16 +00:00
Jani Taskinen
5e1f4665e3 Fix test (bug #44985) 2008-07-23 14:15:00 +00:00
Andrey Hristov
40267cdcf8 Fixed bug#44897 - failed to prepare statement
After a PS "CALL()" we have at least one result set. If the SP does also some, then
we need to clean the wire more fool-proof.
2008-07-23 14:06:31 +00:00
Ulf Wendel
1c8d68b019 This little detail seems MySQL version/setup dependent 2008-07-23 12:57:04 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Antony Dovgal
40b04059f9 fix test 2008-07-23 10:26:39 +00:00
Antony Dovgal
1c86fb2739 fix tests names 2008-07-23 10:22:58 +00:00
Antony Dovgal
523f696954 fix test 2008-07-23 09:49:11 +00:00
Antony Dovgal
624122daff sync test with other branches 2008-07-23 09:29:09 +00:00
Hartmut Holzgraefe
d11e0df7ad MFB + Unicode:
added support for object ids in pg_lo_create() and pg_lo_import()
where available (based on code provided by Tatsuo Ishii)
2008-07-23 09:27:01 +00:00
Arnaud Le Blanc
0225470dc5 Fix tests: need simplexml 2008-07-23 09:12:50 +00:00
Antony Dovgal
3b07744b28 add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:02 +00:00
Antony Dovgal
179c59e8f7 add PHP_STREAM_FLAG_FCLOSE, bz2 streams can be closed with fclose() 2008-07-23 08:55:59 +00:00
Arnaud Le Blanc
4e641ae41f Fix tests: soap tests in schema/ needs the xml extension 2008-07-23 08:55:39 +00:00
Arnaud Le Blanc
4102806c0c Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:26:26 +00:00
Marcus Boerger
abe24e95fa - MFH [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration) 2008-07-23 06:12:44 +00:00
Marcus Boerger
eb6333be1c - Add new classes 2008-07-23 06:07:55 +00:00
Andrey Hristov
9f0b69086c Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
and pconn. ext/mysql is being fixed with a better fix for similar leak.
2008-07-22 23:43:14 +00:00
Marcus Boerger
32f51050bc - Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:15 +00:00
Stanislav Malyshev
0403ce45c6 MFB: constructors fixes and cleanup 2008-07-22 22:11:21 +00:00
Scott MacVicar
955466e479 MFB: Fix windows build error. 2008-07-22 21:56:25 +00:00
Ulf Wendel
beae9faca0 Fixing some tests to expect unicode instead of (binary) strings. 2008-07-22 18:33:28 +00:00
Andrey Hristov
55773e7853 Fix a leak with pconn and mysqlnd 2008-07-22 17:40:43 +00:00
Jani Taskinen
f7560881f6 MFB:- Fixed bug #38680 (Added missing handling of basic types in json_decode)
# This was claimed to be in HEAD but wasn't..some commit reverted it or
# someone didn't check for real..
2008-07-22 17:06:00 +00:00
Scott MacVicar
9f26bea98f Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:18:37 +00:00
Andrey Hristov
ea85e2924f More debugging info 2008-07-22 16:05:28 +00:00
Jani Taskinen
c11ebb4076 MFB: sync 2008-07-22 15:31:00 +00:00
Jani Taskinen
24bddd5d58 ws + cs + sync with PHP_5_3 2008-07-22 15:30:33 +00:00
Jani Taskinen
a348a5daa4 - Add missing tests (thanks for being so fucking lazy Ilia!) 2008-07-22 14:14:31 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Rob Richards
7e8013c9cc - Visibility (bug #45557) 2008-07-22 10:29:14 +00:00
Pierre Joye
d3b351114a - fix build 2008-07-22 10:04:53 +00:00
Dmitry Stogov
ed72680e09 Fixed test 2008-07-22 07:13:18 +00:00
Pierre Joye
8c27aa68e5 - Segfault when an exception is thrown on persistent connections 2008-07-22 06:48:09 +00:00
Felipe Pena
7ef0126412 - Added arginfo 2008-07-22 01:46:43 +00:00
Scott MacVicar
69ee229b97 Fix integer oveflow in strrpos() 2008-07-22 01:05:55 +00:00
Lars Strojny
817546a99f Fixing tests broken by the introduction E_USER_DEPRECATED 2008-07-21 22:06:01 +00:00
Pierre Joye
b0a4aa7e3b - #41996, Problem accessing Oracle ROWID (Martin Jansen) 2008-07-21 17:17:58 +00:00
Jani Taskinen
2e4519b19c - Visibility (bug #45564) 2008-07-21 16:22:29 +00:00
Rob Richards
c2eb3ea158 Sync with 5_3 changes 2008-07-21 16:12:28 +00:00
Felipe Pena
2d1fbe1328 - Fixed tests 2008-07-21 14:31:40 +00:00
Felipe Pena
6842e84b34 - MFB: New parameter parsing API 2008-07-21 14:29:46 +00:00
Johannes Schlüter
ae1cd8e253 - Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
pecl#12794, pecl#12401

# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
#  http://news.php.net/php.qa/64378)
#
#  PDO_MYSQL_TEST_DSN  - DSN
#    For example: mysql:dbname=test;host=localhost;port=3306
#
#  PDO_MYSQL_TEST_HOST    - database host
#  PDO_MYSQL_TEST_DB      - database (schema) name
#  PDO_MYSQL_TEST_SOCKET  - database server socket
#  PDO_MYSQL_TEST_ENGINE  - storage engine to use
#  PDO_MYSQL_TEST_USER    - database user
#  PDO_MYSQL_TEST_PASS    - database user password
#  PDO_MYSQL_TEST_CHARSET - database charset
#
#  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
#  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
#  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:05:51 +00:00
Andrey Hristov
0df974b7a5 MFB :
Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 13:01:41 +00:00
Jani Taskinen
78bab4d9b3 - forgot to commit to HEAD 2008-07-21 13:00:27 +00:00
Felipe Pena
39387127b9 - Removed unicode_semantics() 2008-07-21 11:32:49 +00:00
Jani Taskinen
f25ac22c58 MFB: The rest of the fix too for previous commit 2008-07-21 11:27:45 +00:00
Kalle Sommer Nielsen
348cec30d0 Forgot to fix title 2008-07-21 11:09:23 +00:00
Jani Taskinen
f6404d756c MFB:- Fixed bug #40079 (php_get_current_user() not thread safe). 2008-07-21 10:16:32 +00:00
Jani Taskinen
3ea12e99c0 ws 2008-07-21 10:10:34 +00:00
Steph Fox
d5970d85be MFB Make compiler/architecture info potentially cross-platform 2008-07-21 09:58:28 +00:00
Hannes Magnusson
a1420c3e90 Fix proto 2008-07-21 09:36:41 +00:00
Jani Taskinen
79e592831f ws + style fix 2008-07-21 08:38:39 +00:00
Derick Rethans
5738a0fcee - Fixed test. 2008-07-21 07:27:16 +00:00
Antony Dovgal
1084d24e9d this should be "=", not "==" 2008-07-21 07:27:00 +00:00
Derick Rethans
ef9203a37e - Added test case to HEAD too. 2008-07-20 20:59:08 +00:00
Derick Rethans
e8803bb0ff - Fixed bug #45562 (Creating instance of DatePeriod crashes). 2008-07-20 20:58:35 +00:00
Kalle Sommer Nielsen
db03ac036a Fixed #44849 (imagecolorclosesthwb() is not available on Windows) 2008-07-20 19:00:35 +00:00
Moriyoshi Koizumi
ba2697a61c - Bug #45572 2008-07-20 18:22:46 +00:00
Etienne Kneuss
f493ef90e1 Iterator methods overwriting optimisations 2008-07-20 17:31:36 +00:00
Felipe Pena
d66ac1c507 - MFB: Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.) 2008-07-20 17:02:05 +00:00
Etienne Kneuss
f388db74f5 Fix build for solaris 2008-07-20 16:32:43 +00:00
Felipe Pena
c7a4bc1677 MFB:
- Fixed bug #45556 (Return value from callback isn't freed).
- Fixed bug #45555 (Segfault with invalid non-string as register_introspection_callback).
- Fixed wrong arginfo for xmlrpc_encode_request()
2008-07-20 15:52:07 +00:00
Felipe Pena
d986dd8bc1 - MFB: Added arginfo 2008-07-20 14:29:30 +00:00
Etienne Kneuss
4254ef3891 Complete the ZTS build fix 2008-07-19 19:45:25 +00:00
Derick Rethans
14d348c9ec - Fixed ZTS build. 2008-07-19 19:23:54 +00:00
Derick Rethans
18a53456d3 - Country codes are ISO 3166. 2008-07-19 17:38:15 +00:00
Marcus Boerger
28a325bc0f - Add MultipleIterator (http://blog.somabo.de/2008/01/multipleiterator-for-php.html) 2008-07-19 15:56:00 +00:00
Marcus Boerger
f765f8e99f - added missing @since tag 2008-07-19 15:48:07 +00:00
Marcus Boerger
1223c085b0 - Move RecursiveTreeIterator from PHP to C code (Arnaud, Marcus)
[DOC] Added RecursiveTreeIterator
      Documentation in ext/spl/internal/recursivetreeiterator.inc
2008-07-19 15:43:35 +00:00
Etienne Kneuss
b0623e09d0 Fix valgrind errors in array_method, and possibly #45349 (Thanks tony for the patch) 2008-07-19 13:13:44 +00:00
Etienne Kneuss
8ee084b365 Implement DirectoryIterator::seek 2008-07-19 11:20:04 +00:00
Henrique do Nascimento Angelo
6e211dc4af Fix tests 2008-07-19 00:02:46 +00:00
Henrique do Nascimento Angelo
745b5695e0 New tests 2008-07-19 00:00:26 +00:00
Henrique do Nascimento Angelo
dfa9ff5624 Add unicode suport to ext/openssl 2008-07-18 23:59:49 +00:00
Derick Rethans
998bd9d485 - Added support for selectively listing timezone identifiers by country code
through timezone_identifiers_list() / DateTimezone::listIdentifiers().
- Added timezone_location_get() / DateTimezone::getLocation() for retrieving
  location information from timezones.
2008-07-18 14:33:27 +00:00
Derick Rethans
aebf9395fe - Updated to version 2008.4.1 (2008d) 2008-07-18 13:45:58 +00:00
Derick Rethans
6edc71fc59 - Updated to version 2008.4 (2008d) 2008-07-18 13:44:34 +00:00
Pierre Joye
a883ec0aca - MFB: fix crash when some crafted font are given 2008-07-17 23:28:11 +00:00
Moriyoshi Koizumi
05c3ae2764 - Fix ZTS build 2008-07-17 20:03:50 +00:00
Scott MacVicar
2c77772943 MFB: This file isn't needed any more 2008-07-17 17:25:34 +00:00
Moriyoshi Koizumi
8ea52ae46f - Removed dependencies from php_mbregex to oniguruma types 2008-07-17 16:08:08 +00:00
Antony Dovgal
d048cb10ef fix folding 2008-07-17 11:40:55 +00:00
Dmitry Stogov
0cfa6a5977 support for closures 2008-07-17 09:52:51 +00:00
Christopher Jones
50f852bea0 Add LOB & Collection class parameter reflection 2008-07-16 23:54:42 +00:00
Christopher Jones
336d8c5bd8 1. Merged ARG_INFO patch (Felipe)
2. Allow an empty username/password to be passed so Oracle can do
non-password based authentication, i.e. "External Authentication".
http://news.php.net/php.internals/37545

[DOC]

A new OCI_CRED_EXT flag can be passed as the "session_mode" parameter
to oci_connect(), oci_new_connect() and oci_pconnect().

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT);

This tells Oracle to do external or OS authentication, if configured
in the database.

OCI_CRED_EXT can only be used with username of "/" and a empty
password.  Oci8.privileged_connection may be On or Off.

The new flag may be combined with the existing OCI_SYSOPER or
OCI_SYSDBA modes (note: oci8.privileged_connection needs to be On for
OCI_SYSDBA and OCI_SYSOPER mode), e.g.:

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT+OCI_SYSOPER);
2008-07-16 22:14:03 +00:00
Christopher Jones
895066687d improve skipif 2008-07-16 19:51:53 +00:00
Felipe Pena
c922db7870 - MFB: Added arginfo 2008-07-16 18:35:41 +00:00
Derick Rethans
9c6a9c6460 - Added missing test-file. 2008-07-16 15:42:13 +00:00
Derick Rethans
b9c97d72a8 - Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
different).
2008-07-16 15:40:01 +00:00
Jani Taskinen
327c317309 - Revert (dunno why I had this like this..) 2008-07-16 14:12:33 +00:00
Jani Taskinen
1a58013044 - Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:08:04 +00:00
Felipe Pena
f92cabac63 - MFB: Fix typo 2008-07-16 13:42:51 +00:00
Derick Rethans
5871211091 - MF53: Fixed segfault. 2008-07-16 12:35:45 +00:00
Antony Dovgal
e439bbb2b4 fix build 2008-07-16 08:00:43 +00:00
Derick Rethans
ae2c8698ac - Fixed tests. 2008-07-16 07:35:56 +00:00
Moriyoshi Koizumi
161882af63 - Oops. 2008-07-16 02:37:53 +00:00
Moriyoshi Koizumi
a9c4d66340 - Added a new configure option --with-onig=[DIR] that allows the extension
to link to the external oniguruma library.
- Prevent libmbfl files from being installed when --with-libmbfl is specified.
- Fixed mb_ereg_replace() to work with unicode strings.
2008-07-16 02:29:14 +00:00
Moriyoshi Koizumi
e8f4d65f0d - indentation fix & reenable mbregex again. 2008-07-15 18:04:14 +00:00
Derick Rethans
89af1000b2 - Also add the warnings for times. This does not make sense for the english
text parser, as invalid times are never allowed in there.
2008-07-15 17:37:33 +00:00
Pierre Joye
261fa727db - Port mcrypt_create_iv to windows (aka fix it on windows) 2008-07-15 17:04:17 +00:00
Pierre Joye
0ccf442868 - MFB: do not enable libxml or dom when a dep/header/lib is missing 2008-07-15 16:47:40 +00:00
Scott MacVicar
fa85c408a9 Fix bug when < is used within attribute. 2008-07-15 14:44:46 +00:00
Andrey Hristov
73dfa53ca8 Sync with bzr 2008-07-15 13:12:27 +00:00
Felix De Vliegher
4b1c0f0722 MFB: Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:15:32 +00:00
Antony Dovgal
388359bdc7 fix test 2008-07-15 09:14:54 +00:00
Henrique do Nascimento Angelo
93353faf5b Fix error message 2008-07-15 03:21:56 +00:00
Henrique do Nascimento Angelo
1ad5a03d8f Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 03:04:26 +00:00
Henrique do Nascimento Angelo
f385e69fdb Fix segfault caused by openssl_pkey_new() in ext/openssl/tests/006.phpt 2008-07-15 02:46:26 +00:00
Jani Taskinen
5cd7c95e5c - Fix tests (do NOT assume things in php.ini always to be same...or sane) 2008-07-15 00:59:29 +00:00
Felipe Pena
d98988f353 - MFB: Added arginfo 2008-07-14 18:09:11 +00:00
Derick Rethans
d681181892 - Fixed reversed logic. 2008-07-14 17:38:19 +00:00
Derick Rethans
e1787110f1 - Added a warning to the error struct in case a parsed-date was found to be
invalid.
2008-07-14 17:30:09 +00:00
Josie Messa
0d4efeb6f2 - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:28:51 +00:00
Felipe Pena
2f9cc0a8c2 - Fixed tests 2008-07-14 12:33:25 +00:00
Antony Dovgal
74a52caa2c use long for "l" 2008-07-14 10:49:10 +00:00
Antony Dovgal
e430de504c use zend_bool for "b" 2008-07-14 10:47:35 +00:00
Jani Taskinen
430feb52a6 MFB 2008-07-14 10:32:45 +00:00
Jani Taskinen
d01afd9a7d MFB 2008-07-14 09:05:09 +00:00
Antony Dovgal
7c16cfd85b minor speedup - convert offset to long only when needed 2008-07-14 08:08:39 +00:00
Antony Dovgal
8c96f79ca5 fix test 2008-07-14 08:05:58 +00:00
Stanislav Malyshev
3a92e637fc add icu version to phpinfo 2008-07-14 07:16:36 +00:00
Marcus Boerger
e3944720b5 - Use new helper 2008-07-13 21:38:58 +00:00
Marcus Boerger
7c3726c907 - Fix test 2008-07-13 21:38:19 +00:00
Antony Dovgal
6521cf8c1a add missing SKIPIF 2008-07-13 21:22:41 +00:00
Antony Dovgal
05028ba6d3 improve code coverage 2008-07-13 19:47:27 +00:00
Etienne Kneuss
b111b673e6 Implement toArray,fromArray and get_properties (Thanks Tony for the patches) 2008-07-13 15:59:38 +00:00
Pierre Joye
144b823b36 - fix build with VC9 PSDK6.x 2008-07-12 23:54:30 +00:00
Pierre Joye
d9c6286120 - don't use inet_ntop when not present 2008-07-12 23:25:42 +00:00
Felipe Pena
8514a96c99 - MFB: Fixed bug #45220 (curl_read callback returns -1 when needs to return size_t (unsigned)) 2008-07-12 21:20:10 +00:00
Marcus Boerger
059e4f06ef - Allow multiple exceptions in spl's autoload 2008-07-12 14:58:07 +00:00
Felipe Pena
2a55e75300 - MFB: Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:34:43 +00:00
Rob Richards
0b17233704 MFB: dont forget the header 2008-07-11 15:06:06 +00:00
Jani Taskinen
f58f634618 - Enable bundled library 2008-07-11 14:49:45 +00:00
Rob Richards
75cc69e2b9 MFB: fix iconv linking 2008-07-11 14:42:00 +00:00
Derick Rethans
74947e562e - Move lib to libmagic 2008-07-11 14:13:50 +00:00
Derick Rethans
90f11b47df - Step one for bundling the libmagic library. Some config.m4 issues left. 2008-07-11 14:10:50 +00:00
Felipe Pena
1de275f2c8 MFB: - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:54:47 +00:00
Antony Dovgal
e92b2b506a make sure dom extension is present 2008-07-11 12:43:55 +00:00
Felipe Pena
9277fc89c4 - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:43:06 +00:00
Felipe Pena
5003bfc028 MFB: - Fixed the strings size in imap_headerinfo 2008-07-11 11:29:41 +00:00
Antony Dovgal
3519ed9e31 manage references of stream context properly 2008-07-11 10:24:29 +00:00
Antony Dovgal
e5612456de fix skip messages 2008-07-11 09:16:50 +00:00
Antony Dovgal
8e28f5d4c0 check for posix_getuid() 2008-07-11 09:15:37 +00:00
Derick Rethans
0e86197822 - Fixed a compiler warning - the code didn't make much sense. 2008-07-11 08:42:11 +00:00
David Soria Parra
82830dd06f PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:36:15 +00:00
Felipe Pena
8cb2c1da19 - MFB: Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024) 2008-07-10 17:54:08 +00:00
Etienne Kneuss
ad3cd911ac Forgot to remove the count method here 2008-07-10 13:16:01 +00:00
Etienne Kneuss
cecf208c3f Fix resolution rule of count vs. handler 2008-07-09 21:29:39 +00:00
Etienne Kneuss
6d0c676a59 Move SXI::count to SXE::count and make it user-friendly 2008-07-09 21:27:10 +00:00
Etienne Kneuss
4362c16f6a Test extended iterators methods 2008-07-09 20:34:36 +00:00
Rob Richards
3b58e7e8c6 MFB: fix zlib detection and linking
- synch zip config.w32
2008-07-09 16:13:53 +00:00
Felipe Pena
96593efd3b - Fixed test 2008-07-09 13:00:00 +00:00
Felipe Pena
83a2c2f87c - MFB: Added arginfo 2008-07-09 12:51:26 +00:00
Etienne Kneuss
4d1b2255de MFB: Fix filename/pathname/getpathinfo tests according to SPL fix 2008-07-09 09:01:08 +00:00
Joe Orton
28d3a9ef33 - tweak test case to better trigger the (now-fixed) reference bugs 2008-07-09 08:29:55 +00:00
Etienne Kneuss
8cab636c24 Woopsy 2008-07-08 22:49:35 +00:00
Etienne Kneuss
c621d4f63f - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:30 +00:00
Derick Rethans
b30cdcd5a7 - Fixed bug #45459 (date_create_from_format() fails on DATE_RFC3339) by
allowing a few more format specifiers in date_create_from_format() /
  date_parse_from_format().
2008-07-08 20:23:38 +00:00
Derick Rethans
d5bc2d0682 - Fixed a memleak (Original patch by Hannes Magnusson). 2008-07-08 19:29:06 +00:00
Pierre Joye
739450edb7 - use _a for static lib
- fix logic for shared zlib
2008-07-08 19:07:53 +00:00
Derick Rethans
3042898466 - Fixed some ambiguities in the date parser. 2008-07-08 18:27:07 +00:00
Derick Rethans
a339c57e1d - Replaced // by /* .. */ comments. 2008-07-08 17:56:36 +00:00
Derick Rethans
698b0f818f - Fixed memory leaks and segfaults, patch by Joe Orton.
- Fixed bug #45038 (Crash when using DateTimeZone object returned by
  Date::getTimezone).
2008-07-08 17:40:35 +00:00
Henrique do Nascimento Angelo
4e39ede17f Fix the expected FileDateTime 2008-07-08 15:34:23 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
Stanislav Malyshev
3e74c7848d Merge intl extension to HEAD
# do not use yet in HEAD, needs some adjustment
2008-07-07 23:42:30 +00:00
David Soria Parra
5632fc1dea Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:30:29 +00:00
Felipe Pena
e3c002621f MFB: - Added arginfo 2008-07-07 17:34:07 +00:00
Felipe Pena
1b347b09d3 - MFB: Added arginfo 2008-07-07 17:19:07 +00:00
Derick Rethans
bbdb2416d0 - Updated to version 2008.4 (2008d) 2008-07-07 14:36:11 +00:00
Felipe Pena
77c2eb1dcd - MFB: Removed unused variables 2008-07-07 13:55:42 +00:00
Felipe Pena
f2655e0e5d MFB:
- Added arginfo
- Removed unnecessary #include "zend_arg_defs.c"
2008-07-07 13:52:44 +00:00
Jani Taskinen
c344b35cc8 - Update credits 2008-07-07 10:38:16 +00:00
Alexey Zakhlestin
df6701892b MFB: string length -> int 2008-07-07 10:00:30 +00:00
Alexey Zakhlestin
9951e4822e MFB: updated to the new parameter-parsing api 2008-07-07 09:57:12 +00:00
Alexey Zakhlestin
e7ee0d709d MFB: added arginfo (fixes #45388) 2008-07-07 09:47:02 +00:00
Pierre Joye
c9d7050fa1 - add support for old named zlib (no _a or dynamic)
- nuke the right unused vars
2008-07-07 08:40:04 +00:00
Pierre Joye
579a044be3 - restore wrongly removed vars
- test if zlib is shared or not (possible conflict)
2008-07-07 08:36:04 +00:00
Etienne Kneuss
b6c53b8c73 Remove .htaccess file(??) 2008-07-07 00:06:05 +00:00
Etienne Kneuss
e6fe25f589 Add missing test 2008-07-06 23:52:44 +00:00
Etienne Kneuss
e8cbf4c663 First part of count/handlers related fixes 2008-07-06 23:45:38 +00:00
Pierre Joye
d4b47f1276 - has been moved to PECL 2008-07-06 19:29:29 +00:00
Pierre Joye
152dae2160 - has been moved to siberia (the true one) 2008-07-06 19:28:28 +00:00
Pierre Joye
ed1e8ca285 - update lib/headers detection
- nuke unused variables
2008-07-06 17:06:43 +00:00
Pierre Joye
1e32f6a14d - update lib detection and does not enable it when lib/headers are missing 2008-07-06 16:58:51 +00:00
Pierre Joye
bdb6726abe - MFB: don't enable xmlrpc when libxml is missing 2008-07-06 16:55:01 +00:00
Nuno Lopes
b24f6f8253 MFB: fix CVE-2008-2371 2008-07-06 15:23:44 +00:00
Nuno Lopes
8a5db93312 upgrade to pcre 7.7 2008-07-06 15:18:00 +00:00
Felipe Pena
fb588a3776 MFB: Added arginfo 2008-07-06 05:02:40 +00:00
Felipe Pena
bc0af0579e MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-05 22:36:55 +00:00
Felipe Pena
1679ebdb9a - MFB: Removed unnecessary #include "zend_arg_defs.c" 2008-07-05 20:19:47 +00:00
Felipe Pena
747837087e MFB:
- Added arginfo (methods)
- Removed #include "zend_arg_defs.c"
2008-07-05 20:16:34 +00:00
Felipe Pena
e9e01d4950 - MFB: zend_arg_defs.c is unnecessary now 2008-07-05 20:10:41 +00:00
Pierre Joye
8f0b882137 - silent redefinition warning 2008-07-05 18:17:02 +00:00
Pierre Joye
60dbdea125 - fix build (function was never implemented), even if noone uses it (or complained about broken build ;) 2008-07-05 13:12:57 +00:00
Scott MacVicar
fa42e815a8 MFB: Fix break caused by previous commit, warning and remove zend_get_parameters() 2008-07-05 00:34:24 +00:00
Pierre Joye
dad71addef - MFB: fix compile error with VC6 2008-07-04 21:01:26 +00:00
Alexey Zakhlestin
30ab26af8b MFB: fixed tests not to rely on actual strings of errors, as those are not defined by any standard and are platform-dependent 2008-07-04 14:56:30 +00:00
Felipe Pena
543de6df1c MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c" (it's unnecessary now)
2008-07-04 14:10:24 +00:00
Pierre Joye
b23f7298fb - MFB: add 2007a/b info
- update config.w32 to detect static lib
2008-07-03 18:28:41 +00:00
Felipe Pena
0703032a7b - MFB: New parameter parsing API 2008-07-03 12:40:48 +00:00
Felipe Pena
4b50d12a48 - MFB: Added arginfo (functions) 2008-07-03 12:21:25 +00:00
Pierre Joye
b00408f2da - MFB: does not enable zlib when a lib or header is missign 2008-07-02 20:52:35 +00:00
Antony Dovgal
6c94aa02ab fix test 2008-07-02 12:24:45 +00:00
Antony Dovgal
15e70c34e2 use zend_ascii_hash_find() and check its return value to prevent crash when function not found 2008-07-02 10:46:52 +00:00
Felipe Pena
913ae1b492 - MFB: Added arginfo 2008-07-02 00:13:26 +00:00
Felipe Pena
d1dba3fc3c - MFB: Added arginfo 2008-07-01 19:44:18 +00:00
Felipe Pena
97695562da - MFB: Added arginfo 2008-07-01 19:14:28 +00:00
Felipe Pena
ea3cba1cc2 - MFB: Added arginfo (functions) 2008-07-01 18:30:20 +00:00
Felipe Pena
ac4474b6a7 MFB:
- Added arginfo
- Fixed
  - PHP_SYBASE check
  - compile warning
2008-07-01 17:29:48 +00:00
Felipe Pena
017a9016f7 - MFB: Added arginfo 2008-07-01 15:50:09 +00:00