Commit Graph

24139 Commits

Author SHA1 Message Date
Arnaud Le Blanc
ef1b4f2698 Added tests 2008-09-11 11:52:02 +00:00
Arnaud Le Blanc
870c5e1c31 Implemented ability to provide upload progress feedback through session
data.
2008-09-11 11:51:07 +00:00
Sanjay Mantoor
5190b089be New testcases for array_intersect_key() function 2008-09-11 10:41:01 +00:00
Greg Beaver
a2fdf4bbcc remove weird relic of development past that somehow made it in here on the last commit 2008-09-11 03:33:10 +00:00
Greg Beaver
6391270b85 MFPHP5: fix Bug #46032: PharData::__construct wrong memory read 2008-09-11 03:29:42 +00:00
Stanislav Malyshev
3a55154b6b add some windows-style INI entries to tests 2008-09-11 00:50:08 +00:00
Ilia Alshanetsky
79d8631fea MFB: Fixed bug #46042 (memory leaks with reflection of
mb_convert_encoding())
2008-09-10 23:19:50 +00:00
Rob Richards
da5e36b702 fix bug #46003 (isset on nonexisting node return unexpected results)
add test
2008-09-10 16:28:20 +00:00
Rob Richards
e362e66375 fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:39:43 +00:00
Rob Richards
9068c264be fix bug #45553 (Using XPath for attributes with a namespace does not work)
add test
2008-09-10 11:20:35 +00:00
Antony Dovgal
b38730fcc9 check for NULL before freeing 2008-09-10 07:31:12 +00:00
Felipe Pena
c031df9520 - New tests 2008-09-10 00:09:30 +00:00
Felipe Pena
ba2f87b506 - Merged fix from SF project (Import Jeff Lawsons patches for XML datetime bug fixes)
Fixed bugs:
  #45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string)
  #18916 (xmlrpc_set_type() "not working")
2008-09-10 00:05:26 +00:00
Arnaud Le Blanc
cee365dbf0 Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:43:52 +00:00
Stanislav Malyshev
d2a57ceac9 update tests from 5.x 2008-09-08 22:58:31 +00:00
Stanislav Malyshev
49d72a9ac5 fix datefmt_parse function 2008-09-08 22:55:02 +00:00
Felipe Pena
edb34ed424 - Changed error level E_ERROR into E_WARNING in parameter validation 2008-09-08 19:34:48 +00:00
Felipe Pena
1ae8e8b94e - Fixed some wrong format parameters 2008-09-08 01:30:55 +00:00
Felipe Pena
028d0cd2dd - Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode) 2008-09-07 22:53:20 +00:00
Felipe Pena
ac3ae236ec - MFB:
- use php's stream in libmagic
  - remove duplicate code (like mime_content_type() compatibility function
    now use the same base as finfo_file())
  - make it portable (works now on windows too, belongs other OSes)

  - don't close caller streams in libmagic (prevent leak and zombie stream)
  - string returned by magic_* are freed on magic_close, duplicate before
    calling magic_close (set return value)
  - if stat failed, don't try to call magic_* (when FILEINFO_MODE_FILE)
2008-09-07 20:29:54 +00:00
Jani Taskinen
bb671336e1 MFB 2008-09-07 18:00:25 +00:00
Arnaud Le Blanc
156553ed9a Fixed #45911 (Cannot disable ext/hash) 2008-09-07 13:13:53 +00:00
Felipe Pena
6051053c58 - Fix build 2008-09-07 04:17:22 +00:00
Felipe Pena
07b487ba79 - Removed the doubled error message (the error level is no longer E_ERROR) 2008-09-07 02:51:19 +00:00
Kalle Sommer Nielsen
fe30c1c207 Fix test on Windows 2008-09-07 00:42:29 +00:00
Felix De Vliegher
3d539dacd6 MFB: Tests for get_browser(). 2008-09-06 23:20:53 +00:00
Ilia Alshanetsky
7a6170b389 MFB: removed unused variables 2008-09-06 21:32:32 +00:00
Alexey Zakhlestin
22693d1c46 MFB: Fixed bug #45405 (snmp extension memory leak) 2008-09-06 07:58:09 +00:00
Pierre Joye
c0c6854c50 - #45985, touch on opened file raises a warning 2008-09-04 08:03:31 +00:00
Stanislav Malyshev
6af1a18b28 revert last change 2008-09-03 19:21:45 +00:00
Stanislav Malyshev
08e3b0d258 better detection for client libraries 2008-09-03 18:43:56 +00:00
Felipe Pena
ec949e90ce - New test 2008-09-02 19:27:32 +00:00
Nuno Lopes
c3e33a67ad MFB: kill unused var 2008-09-02 19:13:24 +00:00
Felipe Pena
df8cce7248 - New test 2008-09-01 23:41:34 +00:00
Steph Fox
46504d3451 - MFB Remove pre-made phar.phar 2008-09-01 15:48:54 +00:00
Dmitry Stogov
ad34c85f51 Disabled warning messages in SoapClient constructor 2008-09-01 14:55:42 +00:00
Steph Fox
05c3104097 - Missed the files we don't use yet 2008-08-31 21:09:10 +00:00
Steph Fox
f8d8b7fb11 - Note to self: don't try to second-guess Greg 2008-08-31 20:55:52 +00:00
Steph Fox
cd011d1e9a - MFB 2008-08-31 20:54:28 +00:00
Nuno Lopes
76d758f736 MFB: remove extra skipif 2008-08-31 15:28:52 +00:00
Alexey Zakhlestin
168e8b9a44 remove special treatment of /tmp path 2008-08-31 14:50:10 +00:00
Jani Taskinen
a4a02f3830 [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:19:21 +00:00
Jani Taskinen
231604ae2d update credits: new sapi, stuff moved to pecl.. 2008-08-30 23:59:35 +00:00
Pierre Joye
b72e3ea622 - file will exist only on error (thx tony for the headup) 2008-08-30 23:54:46 +00:00
Jani Taskinen
782c11a4e0 - Move the tests where they belong 2008-08-30 23:20:25 +00:00
Felipe Pena
0b5e6c5fd8 - Fixed tests 2008-08-30 22:16:29 +00:00
Pierre Joye
f5d909c30c - MFB: fix test (clean on exit) 2008-08-30 16:26:11 +00:00
Henrique do Nascimento Angelo
047bf62f61 Fix wrong Unicode string length (bytes) in tidy_parse_string() 2008-08-29 22:59:41 +00:00
Patrick van Kleef
ecaf7b46c1 - Added odbc.default_cursortype to control the ODBC cursormodel (bug #43668)
#[DOC]
2008-08-29 19:15:39 +00:00
Patrick van Kleef
20960ec9ed - Fixed code to use ODBC 3.52 datatypes for 64bit systems (bug #43666) 2008-08-29 16:42:50 +00:00
Felipe Pena
15697830b4 - Fixed tests 2008-08-29 15:47:00 +00:00
Felipe Pena
66019ba30c - Fixed tests (Disable COMPRESS support for now) 2008-08-29 15:29:02 +00:00
Felipe Pena
091ef5362f - Fixed build 2008-08-29 15:17:25 +00:00
Dmitry Stogov
7c111e1e80 Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:41 +00:00
Antony Dovgal
ae7119239a fix get_browser() (broken in the process of param API conversion) 2008-08-29 14:13:57 +00:00
Antony Dovgal
674a7de88a check for \0 to be consistent with other functions 2008-08-29 13:48:26 +00:00
Derick Rethans
6152e055b6 - MFB: Disable COMPRESS support for now, as it requires forking.
# @DOC [DOC] "DOC"
2008-08-29 13:39:17 +00:00
Derick Rethans
bf707bd87a - MFB: Remove ext/mime_magic, it was deprecated and it's only function is now
part of ext/fileinfo.
2008-08-29 13:32:38 +00:00
Derick Rethans
58a04c4494 - Adding back in mime_content_type(). 2008-08-29 13:29:18 +00:00
Derick Rethans
07633881bd - Some more cleanups, and fixed some warnings. 2008-08-29 12:05:35 +00:00
Derick Rethans
be1daa2ba9 - Support for the Scottish "back of" and "front of" hour phrases. 2008-08-29 11:59:23 +00:00
Pierre Joye
f24a43bb4f - move ming to pecl 2008-08-29 11:17:14 +00:00
Pierre Joye
3708b50fe6 - fix warning 2008-08-29 11:09:05 +00:00
Antony Dovgal
914f8ceb09 fix invalid read
weird, the code uses correct order of checks just ten lines below
2008-08-29 10:53:07 +00:00
Felix De Vliegher
872257f7cc MFB: Some fileinfo tests 2008-08-29 10:34:34 +00:00
Antony Dovgal
2fbc38c67e fix ZTS build 2008-08-29 10:10:56 +00:00
Antony Dovgal
f6b3447c34 fix build 2008-08-29 10:08:30 +00:00
Scott MacVicar
808041719d MFB: Test for fileinfo to check mime types. 2008-08-29 09:55:52 +00:00
Scott MacVicar
83abc6c537 MFB: Replace ereg code with pcre, fix duplicate macro names and segfault. Patch by Mikko 2008-08-29 09:50:57 +00:00
Felipe Pena
a69b38f7e9 - Removed the undocumented object support in the leftover array functions [DOC]
(natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 02:48:28 +00:00
Christopher Jones
dcfcdbf121 Bug #45888 (Refcounting in ZTS mode) 2008-08-28 06:32:52 +00:00
Christopher Jones
23b226862a Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly) 2008-08-28 06:17:53 +00:00
Christopher Jones
b40269c23d Fix expected output for PHP 6 2008-08-28 06:15:56 +00:00
Christopher Jones
9aa0a6c34e Test initialization cleanup 2008-08-28 05:35:18 +00:00
Antony Dovgal
f0d93b2a07 fix file check and avoid segfault 2008-08-27 07:40:59 +00:00
Felipe Pena
ea5d69120d - Fixed check for empty file name 2008-08-27 01:02:58 +00:00
Felipe Pena
4eaaf7be83 - Fixed crash in file_error_core() 2008-08-27 00:16:11 +00:00
Alexey Zakhlestin
cc81177900 MFB: this test depends on session.hash_bits_per_character, but it was not explicitly set 2008-08-26 16:51:18 +00:00
Felipe Pena
2058709940 - Improved fix 2008-08-26 16:19:29 +00:00
Felipe Pena
3ade387884 - Added check for empty file name 2008-08-26 15:03:33 +00:00
Ilia Alshanetsky
caa3217c68 MFB:
Upgraded the lib to use PHP memory allocation routines.
	Fixed a crash caused by analysis of DEADJOE files
	A little bit of CS inside libmagic
2008-08-26 12:24:12 +00:00
Antony Dovgal
a46a628c7d clean up garbage 2008-08-26 11:05:59 +00:00
Antony Dovgal
cdf442f043 fix typo 2008-08-26 10:59:03 +00:00
Pierre Joye
c96aec4634 - MFB:inline definition (win32) 2008-08-26 06:54:37 +00:00
Rob Richards
76f6fcb56e fix warning 2008-08-25 21:04:00 +00:00
Felipe Pena
d3ed3e3a36 - New test 2008-08-25 19:38:18 +00:00
Jani Taskinen
c66533a789 - Fix CS, folding tags..etc. PLEASE do not invent your own coding styles. Or commit something as fubar as this.. 2008-08-25 19:07:12 +00:00
Etienne Kneuss
b2dd15897a Fix #45826 (Custom serialization) 2008-08-25 18:38:23 +00:00
Jani Taskinen
49a3de0ace - Fix win32 build 2008-08-25 14:10:22 +00:00
Felipe Pena
b1e51d0555 - Fixed tests 2008-08-25 13:44:33 +00:00
Jani Taskinen
c20a11231c - Nuke unncessary checks already done elsewhere (ZEND)
- Use the correct type header files if available. (win32 does what it does)
- inline definition is in php_config.h, so include it always.
2008-08-25 13:42:46 +00:00
Jani Taskinen
1736edba99 fix test: no crap left behind 2008-08-25 13:40:33 +00:00
Jani Taskinen
d3b358cf3d - Nuke duplicate macro call 2008-08-25 12:14:48 +00:00
Felipe Pena
06d26cf2a7 - New parameter parsing API
- CS
2008-08-24 20:50:02 +00:00
Marcus Boerger
2b929abc84 - Add new test 2008-08-24 16:46:17 +00:00
Marcus Boerger
cacb2e0303 - Added function preg_filter()
[DOC] preg_filter() is basically the same as preg_replace but unlike the
      latter it returns matches.
2008-08-24 12:34:02 +00:00
Felipe Pena
be5df04540 - Removed unused variable 2008-08-24 04:18:22 +00:00
Felipe Pena
3ae6c7a978 - MFB: New parameter parsing API
- CS (wddx)
2008-08-24 04:02:20 +00:00
Felipe Pena
52a818d769 MFB:
- New parameter parsing API
- Fixed crash in xml_parse_into_struct
2008-08-24 02:12:51 +00:00
Felipe Pena
20691f1002 - MFB: New parameter parsing API
- WS, Cosmetics
2008-08-24 00:45:20 +00:00
Pierre Joye
7700551e7a - more fixes for inet_* with vc9/xp 2008-08-23 20:31:27 +00:00
Hannes Magnusson
b6132d16ca Fix proto 2008-08-23 18:06:43 +00:00
Pierre Joye
662e4b7725 - fix build 2008-08-23 17:08:30 +00:00
Felipe Pena
5872c6b3c8 - MFB: New parameter parsing API
- WS, Cosmetics
2008-08-23 16:20:14 +00:00
Arnaud Le Blanc
ceb0e0ee64 Fix build on solaris 2008-08-23 13:57:01 +00:00
Felipe Pena
7de23da81e - Removed unused arguments 2008-08-22 15:51:50 +00:00
Pierre Joye
adfa214688 - drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-21 23:37:40 +00:00
Pierre Joye
dcb0cc3d2b - [DOC] fix test, chr uses codepoint as input 2008-08-21 23:28:21 +00:00
Greg Beaver
a036fadb91 MFB increase code coverage 2008-08-21 20:36:21 +00:00
Pierre Joye
1f0f4b56e7 - use date.timezone ini setting 2008-08-21 18:36:44 +00:00
Pierre Joye
d61c5689c2 - use date.timezone ini setting instead of ENV 2008-08-21 18:33:06 +00:00
Pierre Joye
e80e2e8ef6 - fix test on windows 2008-08-21 18:24:53 +00:00
Marcus Boerger
6b1377b1f5 - Fix 64bit issue 2008-08-21 16:55:31 +00:00
Pierre Joye
e6edc95f50 - different parser message on windows 2008-08-21 13:04:43 +00:00
Pierre Joye
aafdb1a2e3 - "fix" crash on windows 2008-08-21 12:38:34 +00:00
Pierre Joye
73b03d9f8f - use 'C' (and enable it on windows) 2008-08-21 12:24:24 +00:00
Pierre Joye
6e41f9069f - don't skip if windows matches 2008-08-21 12:13:31 +00:00
Pierre Joye
26a4e6d61f - MFB: use "C" instead of "" (and enable it on windows) 2008-08-21 12:06:02 +00:00
Dmitry Stogov
6905205ad1 Adder error code into error message 2008-08-21 11:28:09 +00:00
Pierre Joye
e3a0de9e45 - skip 007 on non windows platform and add a win specific version (file not found instead of filename too long) 2008-08-21 11:01:35 +00:00
Pierre Joye
10f187e7ff - make it portable and clean on in the clean section, session file may still be open (can't be deleted) 2008-08-21 10:30:34 +00:00
Pierre Joye
4c86d24f5e - make it portable 2008-08-21 09:43:38 +00:00
Antony Dovgal
d5c8e59d97 revert for now 2008-08-21 08:37:01 +00:00
Pierre Joye
17422e1f32 - +skip 2008-08-21 08:30:28 +00:00
Pierre Joye
0ce0493942 - MFB: skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:55 +00:00
Pierre Joye
96310b8905 - work around ENV VC6 bug 2008-08-20 22:19:57 +00:00
Lars Strojny
fefef1621f Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:16 +00:00
Felipe Pena
6bdded7863 - Fixed test 2008-08-20 13:54:13 +00:00
Pierre Joye
4f5715d260 - MFB: strncpy returns the byte copied not error code or 0 2008-08-20 13:31:30 +00:00
Antony Dovgal
1cab2c1e24 fix warning 2008-08-20 09:00:37 +00:00
Antony Dovgal
17eab7f0da fix memleak in browscap code (noticed by Gopal) 2008-08-19 15:16:23 +00:00
Antony Dovgal
9bb1694aa4 shudown crypt correctly and fix memleak in ZTS mode 2008-08-19 15:14:15 +00:00
Johannes Schlüter
71c14293fc constify strings 2008-08-19 10:42:00 +00:00
Johannes Schlüter
a11121e8df Fix empty error message when connecting to a bad server 2008-08-19 10:15:56 +00:00
Felipe Pena
30f7bd1cb6 - MFB: New parameter parsing API
- Fixed tests
2008-08-19 02:51:28 +00:00
Pierre Joye
d57790d04d - MFB: don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed 2008-08-18 21:26:30 +00:00
Felipe Pena
fdc2ee256e - MFB: New parameter parsing API
- Fixed tests
2008-08-18 19:42:39 +00:00
Pierre Joye
635c978762 - new parameter API error 2008-08-18 18:10:36 +00:00
Antony Dovgal
be2f5ce9e7 fix bug #45028 (CRC32 output endianness is different between crc32() and hash()) 2008-08-18 14:28:57 +00:00
Jani Taskinen
1f2d50e7c7 - Fix include 2008-08-18 10:40:05 +00:00
Dmitry Stogov
6552f469e5 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:00 +00:00
Dmitry Stogov
6944510111 Reverted wrong "fix" 2008-08-18 09:20:56 +00:00
Pierre Joye
171791837d - this change was not part of the env patch 2008-08-18 07:47:52 +00:00
Pierre Joye
8114893b3e - MFB: unix is too young (<1970), make the test portable 2008-08-18 07:20:56 +00:00
Pierre Joye
7a1487b025 - [DOC] make putenv behaves like unix putenv on Windows:
.  FOO=1234 => set FOO to 1234
 .  FOO= => set FOO to an empty string
 .  FOO= => unset FOO
 . Use Set/GetEnvironmnent variable only
2008-08-18 07:09:20 +00:00
Arnaud Le Blanc
70f66898a4 Fix tests (closes #45841) 2008-08-18 04:45:25 +00:00
Moriyoshi Koizumi
ab976fe2d4 - Beware of signedness 2008-08-18 03:26:06 +00:00
Felipe Pena
41834e6090 - New parameter parsing API
- Fixed tests
2008-08-18 00:36:03 +00:00
Felipe Pena
d54a413912 - New parameter parsing API 2008-08-17 22:11:21 +00:00
Arnaud Le Blanc
c9789b9eb3 Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:51:36 +00:00
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