Commit Graph

21916 Commits

Author SHA1 Message Date
Greg Beaver
cabf4c481e use TAR_FILE instead of '0' and '\0' instead of 0 2008-08-31 20:24:04 +00:00
Greg Beaver
4b81bd61d8 temp bandaid on broken build system, revert when snapshot build is fixed in win32 2008-08-31 19:51:49 +00:00
Greg Beaver
b597a9c781 hadn't saved tar.c, use '\0' instead of 0 for char values, removes warning in intel compiler 2008-08-31 19:47:31 +00:00
Greg Beaver
28689c9c01 use '\0' instead of 0 for chars, removes intel warning 2008-08-31 19:46:35 +00:00
Greg Beaver
9397c4a5d1 remove unnecessary double variable declarations 2008-08-31 19:42:16 +00:00
Greg Beaver
b2efb50cfd remove unnecessary ; 2008-08-31 19:38:40 +00:00
Steph Fox
e8be4d93c5 - Ensure that we're always checking for OpenSSL support, rather than just for ext/openssl being loaded 2008-08-31 19:18:35 +00:00
Nuno Lopes
426a1251f6 remove unicode skipif, as the test doesnt require such support 2008-08-31 15:28:35 +00:00
Alexey Zakhlestin
c9fab63584 remove special treatment of /tmp path 2008-08-31 14:49:58 +00:00
Greg Beaver
270964c193 use safer strlcpy, patch by Tony Dovgal 2008-08-31 07:15:25 +00:00
Greg Beaver
678db15b51 commit missing files for tests 2008-08-31 07:03:26 +00:00
Greg Beaver
513cec31d3 fix compile warning in PHP < 6.0 2008-08-31 06:58:04 +00:00
Greg Beaver
c73badb3fd remove superfluous variable declarations, merge WS from pecl/phar 2008-08-31 06:51:49 +00:00
Greg Beaver
eec1cf5f0a merge from pecl/phar strlen optimizations 2008-08-31 06:47:38 +00:00
Greg Beaver
e30bf5af3b remove superfluous return statements, merge from pecl/phar 2008-08-31 06:42:46 +00:00
Greg Beaver
1c66670ee8 merge minor optimization removing strlen from pecl/phar 2008-08-31 06:38:09 +00:00
Greg Beaver
6dcdb77f7b remove unused variables, merge from pecl/phar 2008-08-31 06:31:53 +00:00
Greg Beaver
642f6aa673 remove superfluous double variable declaration, merge from pecl/phar 2008-08-31 06:28:01 +00:00
Greg Beaver
27cf27568d use %u instead of %d, merge from pecl/phar 2008-08-31 06:26:19 +00:00
Greg Beaver
f679e900dd remove orphaned code, merge from pecl/phar 2008-08-31 06:13:42 +00:00
Greg Beaver
5c3749021a remove unused variables, merge from pecl/phar 2008-08-31 06:09:37 +00:00
Greg Beaver
a7da5249e2 WS merge from pecl/phar 2008-08-31 06:04:38 +00:00
Greg Beaver
6ac2c92ede 2 fixes, merge minor fixes from pecl/phar. Merge in corrected fix from pecl/phar for is_tar setting of tar_type 2008-08-31 02:14:03 +00:00
Jani Taskinen
80f8ad97fb MFH:- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file) 2008-08-31 00:19:50 +00:00
Jani Taskinen
59aac03d5b update credits 2008-08-31 00:02:31 +00:00
Pierre Joye
10d0029dce - MFH: file will exist only on error (thx tony for the headup) 2008-08-30 23:55:04 +00:00
Greg Beaver
046f8dba55 sync with pecl/phar, missed one line change 2008-08-30 23:50:31 +00:00
Greg Beaver
3ebb94f6a2 sync with pecl/phar, this does not change any functionality in PHP 5.3, but makes syncing easier. This commit is only functional changes, WS will be next 2008-08-30 23:47:55 +00:00
Jani Taskinen
5bdff73b26 MFH: - Move tests to the correct dir 2008-08-30 23:22:27 +00:00
Greg Beaver
61b09ab834 fix OS-dependent order in test 2008-08-30 23:12:56 +00:00
Pierre Joye
820c2002e4 - fix tests (clean on exit) 2008-08-30 16:24:33 +00:00
Patrick van Kleef
905269f056 - MFH: Added odbc.default_cursortype to control the ODBC cursormodel
(bug #43668)
#[DOC]
2008-08-29 19:16:58 +00:00
Patrick van Kleef
1401532e97 - MFH: Fixed code to use ODBC 3.52 datatypes for 64bit systems (bug #43666) 2008-08-29 16:44:29 +00:00
Felipe Pena
9566ebabcb - Fixed tests (Disable COMPRESS support for now) 2008-08-29 15:28:45 +00:00
Dmitry Stogov
78d28494ca Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:20 +00:00
Antony Dovgal
740ba5ac0a MFH: fix get_browser() (broken in the process of param API conversion) 2008-08-29 14:14:09 +00:00
Felipe Pena
b8541928cb - Fixed tests 2008-08-29 14:10:38 +00:00
Antony Dovgal
fa978e8595 MFH: check for \0 to be consistent with other functions 2008-08-29 13:48:38 +00:00
Derick Rethans
057b2401bf - Disable COMPRESS support for now, as it requires forking.
# @DOC [DOC] "DOC"
2008-08-29 13:39:01 +00:00
Derick Rethans
36f20d1730 - Remove ext/mime_magic, it was deprecated and it's only function is now part of
ext/fileinfo.
2008-08-29 13:31:44 +00:00
Derick Rethans
4ca7e129a7 - MFH: Adding back in mime_content_type(). 2008-08-29 13:29:42 +00:00
Marcus Boerger
42eb47d500 - MFH preg_filter()
# As discussed with Lukas
# [DOC] check out the test
2008-08-29 12:13:54 +00:00
Derick Rethans
6fbf14c544 - MFH: Some more cleanups, and fixed some warnings. 2008-08-29 12:05:46 +00:00
Derick Rethans
e3cd394979 - MFH: Support for "back of <hour>" and "front of <hour>" phrases that are used
in Scotland.
2008-08-29 12:01:57 +00:00
Pierre Joye
587b679363 - MFH: move ming to pecl 2008-08-29 11:19:37 +00:00
Pierre Joye
6b35a5df0a - MFH: fix warning 2008-08-29 11:09:28 +00:00
Antony Dovgal
c7c4d96c73 fix invalid read 2008-08-29 10:53:13 +00:00
Felix De Vliegher
ef8ae4dfc5 Some fileinfo tests 2008-08-29 10:29:55 +00:00
Antony Dovgal
f6e15a25da fix ZTS build 2008-08-29 10:12:29 +00:00
Scott MacVicar
907c24fd81 Test for fileinfo to check mime types. 2008-08-29 09:52:13 +00:00
Scott MacVicar
4690692519 Replace ereg code with pcre, fix duplicate macro names and segfault. Patch by Mikko 2008-08-29 09:49:01 +00:00
Felipe Pena
42feeddd40 MFH:
- 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 03:05:43 +00:00
Christopher Jones
02b2bcd94b MFH: Bug #45888 (Refcounting in ZTS mode) 2008-08-28 06:33:24 +00:00
Christopher Jones
c5aa4a138e MFH: Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly) 2008-08-28 06:19:45 +00:00
Christopher Jones
38b404fcb6 MHF: Test initialization cleanup 2008-08-28 05:35:26 +00:00
Antony Dovgal
3bd40d9000 fix file check and avoid segfault 2008-08-27 07:40:44 +00:00
Felipe Pena
7208556ca4 - MFH: Fixed check for empty file name 2008-08-27 01:04:23 +00:00
Felipe Pena
1ef7dfce3d - MFH: Fixed crash in file_error_core() 2008-08-27 00:17:27 +00:00
Alexey Zakhlestin
97e26d95b7 this test depends on session.hash_bits_per_character, but it was not explicitly set 2008-08-26 16:46:26 +00:00
Felipe Pena
d8c43bde79 - MFH: Improved fix 2008-08-26 16:22:27 +00:00
Felipe Pena
727990f432 - MFH: Added check for empty file name 2008-08-26 15:06:28 +00:00
Ilia Alshanetsky
b805c7f8b7 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:23:29 +00:00
Antony Dovgal
f10dd24e79 cleanup garbage 2008-08-26 11:06:09 +00:00
Antony Dovgal
838ac5fdaa fix typo 2008-08-26 10:59:10 +00:00
Rob Richards
895ba9afc7 MFH: fix warning 2008-08-25 21:04:30 +00:00
Felipe Pena
9dda408624 - New test 2008-08-25 19:38:37 +00:00
Rob Richards
0bbb07cff6 no zstr in 5_3 2008-08-25 19:38:04 +00:00
Jani Taskinen
1081c6ce1e MFH 2008-08-25 19:07:20 +00:00
Etienne Kneuss
efd817bf13 MFH: Fix #45826 (Custom serialization) 2008-08-25 18:40:44 +00:00
Pierre Joye
d161d4b3b3 - and the last part of the fix, inline on win 2008-08-25 14:37:07 +00:00
Jani Taskinen
3b714ee113 MFH: fix build on win32 2008-08-25 14:10:38 +00:00
Jani Taskinen
505ad55773 MFH 2008-08-25 13:42:55 +00:00
Jani Taskinen
f1e4ae0867 MFH 2008-08-25 12:15:05 +00:00
Felipe Pena
f8330b9ccc MFH:
- New parameter parsing API
- CS
2008-08-24 20:50:41 +00:00
Marcus Boerger
0edbdd7680 - Add new test 2008-08-24 16:46:30 +00:00
Pierre Joye
bfced427f7 - fix zlib detection and enable features available in 7.18.1 2008-08-24 15:16:39 +00:00
Felipe Pena
473019a9b5 - MFH: CS 2008-08-24 04:02:49 +00:00
Felipe Pena
f08e7caee4 - Removed unnecessary variable 2008-08-24 02:13:23 +00:00
Felipe Pena
b9748913de - MFH: WS, Comestics
- Folding
2008-08-24 00:47:22 +00:00
Pierre Joye
566a02af26 - MFH: fix build 2008-08-23 21:08:09 +00:00
Pierre Joye
37a37d8743 - MFB: fix build (common inline definition will be done later) 2008-08-23 20:42:18 +00:00
Pierre Joye
8b952208ec - keep inet_aton declaration on non windows (what inet_aton has to do with flock?) 2008-08-23 20:21:08 +00:00
Pierre Joye
2620304003 - MFH:
- 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-23 19:22:10 +00:00
Hannes Magnusson
847284086b fix proto 2008-08-23 18:06:59 +00:00
Felipe Pena
bc96985ba1 MFH:
- WS, Cosmetics
- Removed unnecessary variables
2008-08-23 16:32:04 +00:00
Arnaud Le Blanc
569ea28207 MFH: Fix build on solaris 2008-08-23 13:57:19 +00:00
Felipe Pena
9d5ab6e54f - MFH: Removed unused arguments 2008-08-22 15:54:21 +00:00
Pierre Joye
a7d2377ce4 - MFH: use date.timezone ini setting 2008-08-21 18:36:56 +00:00
Pierre Joye
a9b8b3698b - MFH: use date.timezone ini setting instead of ENV 2008-08-21 18:33:21 +00:00
Pierre Joye
8c6ea95dc3 - MFH: fix test on windows 2008-08-21 18:25:13 +00:00
Marcus Boerger
41282aa813 - MFH Fix 64bit issue 2008-08-21 16:55:45 +00:00
Pierre Joye
db31f78801 - MFH: different parser message on windows 2008-08-21 13:05:10 +00:00
Pierre Joye
050e5579f8 - MFH: "fix" crash on windows 2008-08-21 12:38:47 +00:00
Pierre Joye
a6b21d3c98 - new API
- MFH: use 'C' on win
2008-08-21 12:25:07 +00:00
Pierre Joye
527e3a339c - MFH: don't skip if windows matches 2008-08-21 12:13:50 +00:00
Pierre Joye
979d3abbd8 - new params parsing API
- use "C" instead of ""
2008-08-21 12:05:30 +00:00
Dmitry Stogov
7d26893d6d Adder error code into error message 2008-08-21 11:27:57 +00:00
Pierre Joye
8d45abb514 - MFH: 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:55 +00:00
Pierre Joye
9d7904932f - MFH: 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:49 +00:00
Pierre Joye
f1ebec34d9 - MFH: make it portable 2008-08-21 09:43:51 +00:00
Antony Dovgal
a30c01d698 revert for now 2008-08-21 08:37:19 +00:00
Pierre Joye
bb62bf8234 - +skip 2008-08-21 08:30:51 +00:00
Pierre Joye
72482c4f7d - skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:04 +00:00
Antony Dovgal
898f19975c fix build 2008-08-21 07:38:16 +00:00
Greg Beaver
c3e8485971 fix bug #45792: bz2 compressed files in zip failure 2008-08-21 05:17:28 +00:00
Pierre Joye
50066470cd - MFH: work around vc6 bug 2008-08-20 22:23:16 +00:00
Lars Strojny
50fa64885e Reverting local change 2008-08-20 21:26:04 +00:00
Lars Strojny
080157870f MFH: Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:40 +00:00
Pierre Joye
818c4d75c8 - strncpy returns the byte copied not error code or 0 2008-08-20 13:27:10 +00:00
Pierre Joye
2cde8f416a - new args parsing API and correct LOCALE definition (why utf-8 when only ascii is tested) 2008-08-20 13:09:39 +00:00
Antony Dovgal
e7a28edcba fix warning 2008-08-20 09:01:24 +00:00
Antony Dovgal
9453a9213c MFH: fix memleak in browscap code (noticed by Gopal) 2008-08-19 15:16:33 +00:00
Antony Dovgal
881d80382b MFH: shutdown crypt correctly and fix memleak in ZTS mode 2008-08-19 15:14:46 +00:00
Johannes Schlüter
9a13dea744 MFH: constify strings 2008-08-19 10:42:11 +00:00
Johannes Schlüter
aeab8bade6 MFH: Fix empty error message when connecting to a bad server 2008-08-19 10:16:12 +00:00
Pierre Joye
80d020011c - don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed 2008-08-18 21:24:52 +00:00
Felipe Pena
c89c62047c - Fixed test 2008-08-18 19:49:33 +00:00
Pierre Joye
04c09fac0f - MFH: new parameter API error 2008-08-18 18:10:50 +00:00
Greg Beaver
cfca5be40f fix windows build when building phar shared with native-ssl disabled (you can't use the symbols directly if openssl is built shared or is not built at all) 2008-08-18 14:58:03 +00:00
Antony Dovgal
523cccc09d MFH: fix bug #45028 (CRC32 output endianness is different between crc32() and hash()) 2008-08-18 14:29:55 +00:00
Jani Taskinen
e2451b6825 MFH: fix include 2008-08-18 10:49:59 +00:00
Dmitry Stogov
5ade84afe4 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:17 +00:00
Dmitry Stogov
7523bb7fc2 Reverted wrong "fix" 2008-08-18 09:21:15 +00:00
Pierre Joye
85309f686a - MFH: this change was not part of the env patch 2008-08-18 07:50:10 +00:00
Pierre Joye
7d1cd6a94b - unix is too young (<1970), make the test portable 2008-08-18 07:19:39 +00:00
Pierre Joye
a87a90873c - [DOC] MFH: 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:11:00 +00:00
Arnaud Le Blanc
e104699a5d MFH: Fix tests (closes #45841) 2008-08-18 04:45:49 +00:00
Moriyoshi Koizumi
0699894884 - MFH: beware of signedness 2008-08-18 03:26:21 +00:00
Felipe Pena
d79b879927 - New parameter parsing API (for mb_convert_variables()) 2008-08-18 00:37:16 +00:00
Felipe Pena
252d7d76a8 - MFH: New parameter parsing API 2008-08-17 22:14:14 +00:00
Arnaud Le Blanc
dee3bb2371 MFH: Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:55:26 +00:00
Felipe Pena
813c90e8fd - Fix build 2008-08-17 17:04:10 +00:00
Pierre Joye
3dd3da7c72 - MFH: add %a for Compiler/Architecture 2008-08-17 16:44:13 +00:00
Pierre Joye
61c4fee6b0 - [DOC] MFH: improve fix for #43261 for % and " 2008-08-17 15:23:45 +00:00
Pierre Joye
59bed16665 - MFH: typo and inline doc fix 2008-08-17 14:32:41 +00:00
Pierre Joye
b5e6d487d1 - MFH: fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:39 +00:00
Pierre Joye
88b2019477 - fix or improve tests
- add dump of the array_diff for compare_stats
2008-08-17 11:04:16 +00:00
Felipe Pena
0dbc79339c - New parameter parsing API (zend_get_parameters_array_ex--)
- Fixed tests
2008-08-16 21:32:41 +00:00
Pierre Joye
56035785a5 - MFH: remove confusion for non windows/linux users 2008-08-16 13:28:12 +00:00
Hannes Magnusson
59463c54ce Fix arginfo
# Yes Jani, it is correct in HEAD :)
2008-08-16 11:11:46 +00:00
Hannes Magnusson
eea3226d58 MFH: [DOC] Added stream_context_set_default() function. (Davey Shafik) 2008-08-16 10:57:56 +00:00
Pierre Joye
bb4eacb773 - wrong file commited (and fix test, thx Tony for the head up) 2008-08-16 10:54:17 +00:00
Antony Dovgal
6eb565a8b0 fix test 2008-08-16 10:48:29 +00:00
Felipe Pena
9e035152af - MFH: Fix build 2008-08-15 22:15:46 +00:00
Pierre Joye
a7dccf7d9d - attempt to fix unexpected EOF on line 391/6 2008-08-15 19:56:06 +00:00
Pierre Joye
5bf4d72487 - MFH: make it portable without loosing pertinent data 2008-08-15 19:33:56 +00:00
Pierre Joye
32546c9390 - MFH: make it portable without loosing pertinent data 2008-08-15 19:26:37 +00:00
Pierre Joye
9bdfe83e0c -MFH:
- fix test
 - add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:42 +00:00
Pierre Joye
e4e8f33716 - fix test 2008-08-15 17:00:27 +00:00
Pierre Joye
6d41937081 - MFH: New parameter parsing API > new warning 2008-08-15 16:51:23 +00:00