Commit Graph

23912 Commits

Author SHA1 Message Date
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