Commit Graph

21204 Commits

Author SHA1 Message Date
Pierre Joye
0b608cc630 - move fpdf to PECL 2008-06-19 15:49:31 +00:00
Pierre Joye
9ae6ea3842 - mvoe ncurses to PECL 2008-06-19 15:46:09 +00:00
Dmitry Stogov
4961c0c412 Added test for bug #45312 2008-06-19 12:09:44 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Steph Fox
5d4eed8f47 - inherited methods don't unixify paths along the way. Allow for it. 2008-06-18 16:48:18 +00:00
Steph Fox
aa694b8b51 - Kill 10 MSVC compiler warnings due to type conflict
- Make cached manifest test platform agnostic
- Comment out zend_(init|destroy)_rsrc_list() and associated references

@Greg: cached manifest test (now) passes here regardless, make of that what you will
2008-06-18 15:06:50 +00:00
Etienne Kneuss
0f5ddaf4ce MFH: Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:40 +00:00
Pierre Joye
e5e9be2d1a - really fix the windows builds, don't cast many times when only the hash function requires void **
- copy/paste evilness with TSRM_CC/DC
(tests still pass but would be nice to speed them up...)
2008-06-18 10:20:47 +00:00
Etienne Kneuss
4e80cf8bac MFH: Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:29 +00:00
Dmitry Stogov
5429bfb518 Fixed SOAP binding selection 2008-06-18 07:23:58 +00:00
Greg Beaver
cbe23b9f20 fix windows build and more performance jumps (these are minor)
implement real copy-on-write
use virtual_dirs for wrapper stat
2008-06-18 06:38:47 +00:00
Philip Olson
31bfce6f19 MFH: updated website team info 2008-06-18 05:20:02 +00:00
Raghubansh Kumar
e70880d3b1 Committed for Felix De Vliegher, TestFest Task No: 123, Tested on RHEL5, WinXP 2008-06-17 13:14:45 +00:00
Raghubansh Kumar
0b5f3a1895 Committed for Felix De Vliegher, TestFest Task No: 122, Tested on RHEL5, WinXP 2008-06-17 13:14:19 +00:00
Zoe Slattery
df3347debd Test committed for felixdv 2008-06-16 19:21:59 +00:00
Rob Richards
37ba76d23d MFH: add parameter allowing node to be exported into existing Document context [DOC]
add test
fix warnings
2008-06-16 15:45:06 +00:00
Greg Beaver
d8d31bc591 remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (performance increase)
fix freeing of signature on error to use the correct persist value (fixes segfault on error in cache.list)
reset EG(regular_list) so it is identical to how we found it
2008-06-16 04:10:53 +00:00
Greg Beaver
4e65a58146 fix hashtable creation for tar to be estimated size needed 2008-06-16 04:09:20 +00:00
Greg Beaver
03b9673ba2 fix hashtable creation for zip to be exact size needed, fix endian issue for loading manifest 2008-06-16 04:06:59 +00:00
Greg Beaver
c353e9277e minor performance improvement 2008-06-15 23:00:46 +00:00
Greg Beaver
5e3f592d88 fix memleak 2008-06-15 22:51:46 +00:00
Greg Beaver
4104786072 another optimization - move inode hash to initial manifest parsing, improves runtime perf of stat slightly 2008-06-15 21:42:20 +00:00
Greg Beaver
d8ed660a02 minor optimization 2008-06-15 21:15:29 +00:00
Greg Beaver
04e257a8e1 HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less This is by generating a list of virtual directories and using those in stat calls instead of scanning the whole manifest hash table. on-disk phpMyAdmin = 28 req/sec 2008-06-15 18:15:48 +00:00
Etienne Kneuss
04f211e38f MFH: Add tests for iterators when instanciated without argument (by Sebastian Schürmann) 2008-06-15 11:47:34 +00:00
Rob Richards
790f5ee062 MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:22:57 +00:00
Felipe Pena
c772aca929 - Fix build (ZTS) 2008-06-13 22:28:55 +00:00
Greg Beaver
4f9daeed11 [DOC] implement full signature support for tar-based archives. By default, data archives do
not have a signature, but can have one set via setSignatureAlgorithm()
2008-06-13 22:07:44 +00:00
Greg Beaver
5ff4deaa53 full refactor of signatures complete - now to implement them for tar as a starting point 2008-06-13 20:15:19 +00:00
Greg Beaver
09e1f0249e PHP_5_2 compat - add pestrndup if undefined 2008-06-13 15:59:13 +00:00
Zoe Slattery
af55856d6e Commited for Sanjay, reviewed by Pierre. Testfest task 5. 2008-06-13 15:57:42 +00:00
Zoe Slattery
f88ab53c3d Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:20:04 +00:00
Rui Hirokawa
b202ef7494 MFH 2008-06-13 14:48:33 +00:00
Zoe Slattery
bd2fbb9c79 Commited for Sanjay, reviewed by Pierre. Testfest task 79. 2008-06-13 13:49:40 +00:00
Zoe Slattery
aa8f158276 Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:31:18 +00:00
Zoe Slattery
89d3bb2189 Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:11:37 +00:00
Felipe Pena
d61f32d021 - Fix build (ZTS) 2008-06-13 13:06:46 +00:00
Greg Beaver
9c8d13fd6c partial refactor - move signature verification into its own function, in preparation for tar/zip signature support.
next is signature creation
2008-06-13 06:34:41 +00:00
Lars Strojny
622ac25e81 Testfest: putenv() safe_mode tests by Brian DeShong 2008-06-12 22:36:43 +00:00
Lars Strojny
709ac7c21f Testfest: various tests for ReflectionParameter 2008-06-12 21:41:21 +00:00
Lars Strojny
f2326fbed0 Testfest test cases for ReflectionExtension 2008-06-12 21:25:08 +00:00
Lars Strojny
5a241ddfe0 Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx 2008-06-12 20:55:38 +00:00
Etienne Kneuss
ee81b5a968 Add tests from testfest 2008-06-12 20:52:34 +00:00
Lars Strojny
c26c072cba Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap 2008-06-12 20:46:23 +00:00
Etienne Kneuss
da68b946a1 Add tests from testfest 2008-06-12 20:46:12 +00:00
Lars Strojny
45f85f3840 Reflection::getModifierNames()-test by Felix De Vliegher (Testfest) 2008-06-12 20:31:06 +00:00
Greg Beaver
98f2dc2aca [DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
at startup.  This caches the manifest, so that on first access to a phar archive, no file manifest parsing occurs.

This could use further tweaking.  For instance, the full copy of the manifest into the current process may be unnecessary if refcounting could be external
to the manifest.  This would be another significant gain.  With APC, I measure a slight perf increase to 19 req/sec up from 16 req/sec, without it approaches
regular PHP at 3.8 req/sec (regular is 4 req/sec).  This is benching phpMyAdmin
2008-06-12 18:56:23 +00:00
Greg Beaver
84eb9cc145 ensure we don't try to use an unitialized hash table 2008-06-12 18:46:58 +00:00
Antony Dovgal
da022874c5 MFH 2008-06-12 12:40:13 +00:00
Antony Dovgal
ca3e7643a6 fix build (noticed by Alexey Zakhlestin) 2008-06-12 10:31:22 +00:00
Greg Beaver
279771dc4b fix error messages 2008-06-12 04:57:24 +00:00
Steve Seear
bc29a3874d Filesystem tests. 2008-06-11 12:38:56 +00:00
Dmitry Stogov
cafae0dc4b Fixed test 2008-06-11 10:08:14 +00:00
Dmitry Stogov
337ea89883 Fixed test 2008-06-11 09:58:32 +00:00
Dmitry Stogov
99933df5e2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:56 +00:00
Dmitry Stogov
8d260b6b71 Fixed memory leak 2008-06-11 07:45:44 +00:00
Philip Olson
db7f3fe8c0 MFH: fixed imap_listscan() proto 2008-06-11 02:32:23 +00:00
Greg Beaver
4a62db4e6c new tests (forgot to add these earlier) 2008-06-10 19:23:09 +00:00
Greg Beaver
8b8a64a3e8 fix PHP Bug #45218: PHAR archive built from directory limited by max open file handles 2008-06-10 19:20:33 +00:00
Zoe Slattery
562cb168f1 Written by Sanjay Mantoor and reviewed by Pierre. 2008-06-10 18:29:48 +00:00
Greg Beaver
d0734964ca fix memleak on error 2008-06-10 17:58:09 +00:00
Antony Dovgal
d7d94aab53 fix typo 2008-06-10 08:14:52 +00:00
Etienne Kneuss
84ec12d36a add get_debug_info 2008-06-09 17:29:23 +00:00
Greg Beaver
eb77b80b9d fix compile warnings if openssl is enabled statically. fix dangerous use of wrong length var in openssl signature verification 2008-06-09 16:07:18 +00:00
Pierre Joye
8b75c07bf1 - should not be called butlet remove it as well 2008-06-08 11:40:49 +00:00
Antony Dovgal
f1b8d65790 MFH: more checks and tests 2008-06-07 21:36:13 +00:00
Antony Dovgal
c80f146f81 add more tests (Felipe) 2008-06-07 14:10:42 +00:00
Antony Dovgal
5d6b1c6ead MFH 2008-06-07 14:09:06 +00:00
Antony Dovgal
344c076584 add new test 2008-06-07 12:49:35 +00:00
Antony Dovgal
83d26fc47d MFH: disallow $a[] = value syntax 2008-06-07 12:47:04 +00:00
Antony Dovgal
b8bd4cbbc6 MFH 2008-06-07 08:05:55 +00:00
Etienne Kneuss
e909912389 MFH: Fix segfault caused by get_current_data on an uninitialized element 2008-06-07 01:46:44 +00:00
Etienne Kneuss
b5eaa1005a MFH: Implements C arrays wrapper 2008-06-06 23:53:43 +00:00
Christopher Jones
b8e1d4d4e5 MFB: OCI8: Remove macros obsoleted by rev 1.55.2.3.2.11.2.1 when Oracle 8 support was dropped 2008-06-05 23:43:10 +00:00
Christopher Jones
19732456a1 MFB: sync with PECL 1.2.5 release 2008-06-05 23:41:35 +00:00
Christopher Jones
b0885bb9a2 MFH: Make tests interruptible; clean up tables at start 2008-06-05 23:28:16 +00:00
Rob Richards
5e60f46159 MFH: rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:35:15 +00:00
Marcus Boerger
332d83555c - Make phar.phar building work for virtualized builds 2008-06-04 16:38:13 +00:00
Marcus Boerger
ad8eb0f672 - Make sure we are not trying to pack directories 2008-06-04 14:36:33 +00:00
Marcus Boerger
376ca12a21 - Update 2008-06-04 09:47:41 +00:00
Marcus Boerger
e8609b5199 - Use -n only for current built PHP 2008-06-04 09:47:17 +00:00
Marcus Boerger
350824478b - Improve pear usage and PHP_Archive detection 2008-06-04 09:46:34 +00:00
Antony Dovgal
2ac1ba6254 fix tests 2008-06-04 07:38:10 +00:00
Marcus Boerger
c317ce0d67 - Prefer current CLI target to build phar.phar
- Use php -n
- Use shared phar, bz2, zlib automatically
2008-06-03 20:18:58 +00:00
Scott MacVicar
2b60fdf976 Add snefru256 as an alias for snefru, since in reality that is the implementation. 2008-06-03 17:25:42 +00:00
Zoe Slattery
fe0ef8b17c Tests from London test fest 2008 2008-06-03 12:42:22 +00:00
Marcus Boerger
4e61f63d3f - Remove checked-in or older version of phar.phar as we might not be able to open it 2008-06-02 15:50:42 +00:00
Marcus Boerger
159561e9da - Need to use a proper inheritance check 2008-06-02 15:49:03 +00:00
Scott MacVicar
d06e683922 Correct test name 2008-06-02 14:14:26 +00:00
Jani Taskinen
f047195f55 MFH: simplify, readability 2008-06-02 14:12:20 +00:00
Marcus Boerger
c60365e9b3 - Fix issue with -y parameter hanlding (fix typo) 2008-06-02 13:39:54 +00:00
Marcus Boerger
4f74e50c1b - Fix issue with -y parameter hanlding 2008-06-02 13:33:45 +00:00
Marcus Boerger
cb0af1eeb8 - Fix issue with -y parameter hanlding 2008-06-02 13:24:15 +00:00
Scott MacVicar
b83fbba9f3 Add sha224 support. 2008-06-02 12:24:23 +00:00
Jani Taskinen
d652cec246 - Revert pointless patch: a) the version is already there, see line above,
b) one branch commits are idiotic to begin with, we have three active branches!
This only leads to out-of-sync situations ála PDO..
2008-06-02 11:23:16 +00:00
Matt Wilmas
572adc05e4 MFH: Initialize with length instead of 0 2008-06-02 11:20:59 +00:00
Antony Dovgal
779769563c fix uninitialized variable 2008-06-02 10:27:55 +00:00
Pierre Joye
57bcc16896 - reintroduce the x.y.z version string info (a bit nicer to make the other guy happier)
- silent warning (windows only and don't remove it, thanks)
2008-06-02 10:25:54 +00:00
Jani Taskinen
930d9e47c9 - Revert crap
# Someone should remove Pierre's karma too..
2008-06-02 08:46:41 +00:00
Pierre Joye
2528bd43fc - don't use openldap/portable and build the human readable version
- silent strdup redclaration warning
2008-06-02 06:48:35 +00:00
Pierre Joye
8290e3324a - add OpenLDAP version info in phpinfo (windows only, have to check if openldap/portable.h is present on linux headers) 2008-06-02 00:24:19 +00:00
Hannes Magnusson
49961368be Add arginfo & fix protos 2008-06-01 18:47:20 +00:00
Hannes Magnusson
0f6e76e502 fix arginfo and proto 2008-06-01 18:24:38 +00:00
Hannes Magnusson
e610609556 Add arginfo & fix protos 2008-06-01 17:54:02 +00:00
Marcus Boerger
678a38e9ba - Make work with new API 2008-06-01 17:16:40 +00:00
Marcus Boerger
147eed53e2 - Fix signature handling (and remaining API change fixes) 2008-06-01 17:16:04 +00:00
Marcus Boerger
aaf6b216ed - Fix docu 2008-06-01 17:14:48 +00:00
Marcus Boerger
c05c40cea4 - Add Openssl support 2008-06-01 07:39:06 +00:00
Greg Beaver
5fbeb235d2 add openssl signing support. This adds an extra parameter
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.phar.pubkey in the same directory as the phar blah.phar.  This works with openssl static or
shared and fails gracefully if openssl is not present without adding a dependency. config.w32 needs updating to match config.m4 [DOC]
2008-06-01 04:21:26 +00:00
Felipe Pena
5050450f79 - MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:11:38 +00:00
Marcus Boerger
4c2e05a6e7 - MFH Simplify 2008-05-31 20:30:27 +00:00
Marcus Boerger
28dd1f5f5e - MFH Add 'help commands' support 2008-05-31 20:24:34 +00:00
Marcus Boerger
631484e2c7 - Add phar command as installable command 2008-05-31 20:02:57 +00:00
Marcus Boerger
aa4e898fe5 - Add version comand 2008-05-31 18:40:05 +00:00
Marcus Boerger
1debfd2a15 - Add version comand 2008-05-31 16:40:55 +00:00
Marcus Boerger
8010892bf0 - MFH Fix function names after they have been refactored 2008-05-31 15:53:16 +00:00
Greg Beaver
83e491b2c3 fix corrupted zips, fix postprocess for compressed zip file 2008-05-30 22:49:33 +00:00
Greg Beaver
8b600a72dc refactor function names for clarity. No functionality change 2008-05-30 22:38:46 +00:00
Pierre Joye
9ffc103c5a - not exported 2008-05-30 19:46:56 +00:00
Scott MacVicar
4ae8e34bf4 MFH Fixed bug #43261
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:56:57 +00:00
Matt Wilmas
c1126cc5b6 MFH: Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior)
- Also, use new hash_quick_del function where possible
2008-05-30 10:55:14 +00:00
Greg Beaver
4cc79b39b4 fix PECL bug #13981: Third-party zips fail entry interrogation 2008-05-29 17:34:50 +00:00
Andrey Hristov
e49404929a Fix a bug that let PDO fail. It has been long fixed, but locally. Now I know
what it fixes :)
2008-05-29 15:49:32 +00:00
Matt Wilmas
fc6fa44097 Fixed tests on Windows 2008-05-29 07:32:03 +00:00
Stanislav Malyshev
370aafc62b Fix code path in phar_open_compiled_file() that tries
to open not-yet-loaded phar and fails on compressed files
# By Gregory's request
# Sorry, can't find how to write test case for that - it reproduces
# for me only under bytecode-caching. Suggestions welcome.
2008-05-28 21:42:21 +00:00
Pierre Joye
c1d5352069 - c/p evilness 2008-05-27 18:25:59 +00:00
Pierre Joye
3431c2e7c4 - [MFH] Add compiler informations on Windows (will add more info later, like x86 or x64 and makes it available in userland) 2008-05-27 18:23:56 +00:00
Ant Phillips
ac253bab08 DOM tests from TestFest 2008-05-27 12:44:53 +00:00
Derick Rethans
17c284d522 - Updated to version 2008.3 (2008c) 2008-05-27 12:19:55 +00:00
Matt Wilmas
88adc05748 Regenerate 2008-05-27 11:28:18 +00:00
Matt Wilmas
7da75d81e7 MFH: Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:29:33 +00:00
Scott MacVicar
a2da2a91b1 MFH: DOM Tests from London Testfest 2008-05-27 10:21:21 +00:00
Hannes Magnusson
5b398bf78d Remove E_DEPRECATED from get_magic_quotes_*() 2008-05-25 14:06:15 +00:00
Etienne Kneuss
0cfdd9a7e0 MFH: Add a prepend param to spl_autoload_register 2008-05-25 12:22:38 +00:00
Etienne Kneuss
2882dde048 remove the skipif 2008-05-25 12:13:41 +00:00
Sebastian Bergmann
bad8951dbc MFH: Drop SKIPIF check for ext/spl. 2008-05-25 06:05:57 +00:00
Etienne Kneuss
3623b134e1 New tests from testfest 2008-05-24 16:49:04 +00:00
Etienne Kneuss
d4aa83d273 MFH: Also register the get_iterator handler for Max/Min Heap 2008-05-24 14:38:04 +00:00
Sebastian Bergmann
0abd5bde20 MFH: Drop SKIPIF check for ext/spl. 2008-05-24 14:17:55 +00:00
Sebastian Bergmann
3a4eb3e4a6 Drop SKIPIF check for ext/spl. 2008-05-24 14:10:44 +00:00
Sebastian Bergmann
30a8d14fbc Drop SKIPIF check for ext/reflection. 2008-05-24 13:34:22 +00:00
Etienne Kneuss
5f360ab9bf Add tests from testfest 2008-05-24 13:25:24 +00:00
Steph Fox
51967b91d5 "We shouldn't need a full path to the mount"
- Fixed under Windows, cleaned up test
2008-05-24 13:13:47 +00:00
Marcus Boerger
3be1a372a6 - MFH Add constants and new test (test from testfest.php.net) 2008-05-24 11:53:55 +00:00
Robin Fernandes
d2d61cac19 More basic ReflectionClass tests from Dutch TestFest. 2008-05-23 21:14:07 +00:00
Antony Dovgal
8e6ea84fdd MFH: use bundled PCRE library when both yes & no passed as argument,
look for headers and the lib otherwise
2008-05-23 19:07:27 +00:00
Ilia Alshanetsky
33cb218c93 When dumping entire document to file via asXml() don't lose the encoding 2008-05-23 15:46:13 +00:00
Matt Wilmas
cd62ae78b6 MFH: Fixed Windows build now that HAVE_INET_PTON is defined 2008-05-23 09:40:44 +00:00
Kalle Sommer Nielsen
dd9fb9b0cd [DOC] enable inet_pton() and inet_ntop() on Windows 2008-05-22 22:06:15 +00:00
Robin Fernandes
066a330877 Basic ReflectionClass tests (from Dutch TestFest) 2008-05-22 21:53:59 +00:00
Greg Beaver
4b035dae5f major fixes
* found felipe's segfault in util.c and fixed the segfault (3 tests fail due to odd behavior of . and .. on this machine)
 * fixed serious flaws in the setting/resetting of is_data - now it works properly.  Assume
   all new PharData are tar-based, and allow passing Phar::ZIP to PharData constructor to override this
 * fix broken earlier commit, introduced segfault that broke 20 tests here
2008-05-22 06:33:09 +00:00
Felipe Pena
e1bfc452d3 - Fix build (ZTS) 2008-05-21 22:52:30 +00:00
Greg Beaver
1f661c81c4 fix offset detection in tar files 2008-05-21 22:00:43 +00:00
Greg Beaver
79ae1c7273 fix convertTo\*() for same-named archives with no files 2008-05-21 20:24:40 +00:00
Pierre Joye
6fefac0c10 - fix test 2008-05-21 19:34:47 +00:00
Pierre Joye
d23a449a36 - fix test 2008-05-21 18:56:05 +00:00
Antony Dovgal
a894ab2a00 MFH 2008-05-21 15:03:20 +00:00
Josie Messa
a41e990b07 - Committing tests reviewed after London TestFest 08
- Credits to: Mike Sullivan and James Lewis
2008-05-21 15:00:59 +00:00
Pierre Joye
b734bf4b97 - sync with PECL HEAD 2008-05-21 09:27:41 +00:00
Etienne Kneuss
3681756cfb MFH: Fix path lookup when include_path is used 2008-05-20 21:46:51 +00:00
David Soria Parra
6e34cbfb90 Coding style 2008-05-20 13:28:57 +00:00
David Soria Parra
d5befc743d MFH: Allow non-long values for proxy_port, connection_timeout and convert them 2008-05-20 13:16:47 +00:00
Greg Beaver
07d6758c86 relax conversion, so that if a phar has no files, we can convert it to another format without changing the extension 2008-05-20 03:56:35 +00:00
Ilia Alshanetsky
01da46b1bb Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format) 2008-05-19 15:16:47 +00:00
Steve Seear
2b20e3d914 Tests from PHP London TestFest 2008 2008-05-19 12:56:21 +00:00
Steve Seear
ca2461626e Moving DOM tests to correct folder. 2008-05-19 12:48:18 +00:00
Steve Seear
ca7712d70d Tests from PHP London TestFest 2008 2008-05-19 12:21:18 +00:00
Greg Beaver
0800b3b159 fix memleak, add test for previous segfault fix 2008-05-18 23:41:08 +00:00
Greg Beaver
b149e8c0fa fix segfault, test coming shortly 2008-05-18 23:11:24 +00:00
Steph Fox
53fd21de33 - Keep 5_3 stub and creation files in sync with what I have in CVS HEAD
(MFB will likely be tomorrow now)
2008-05-18 20:52:34 +00:00
David Soria Parra
fbc29e2848 Revert. 2008-05-18 19:48:40 +00:00
David Soria Parra
472b883cc6 Make mcrypt_enc_self_test() return value compatible with documentation and mcrypt _module_self_test() 2008-05-18 17:08:56 +00:00
Felipe Pena
d90f689d73 - Making compatible with 64bit plataform 2008-05-18 15:42:09 +00:00
David Soria Parra
5dd18fed7a Wrong file 2008-05-18 14:28:19 +00:00
Etienne Kneuss
242f779fa1 MFH: Fix filesystemiterator with ./.. + add cloning tests 2008-05-18 12:17:43 +00:00
David Soria Parra
3e52aaf16d MFH: Tests from Munich PHP Testfest 2008 2008-05-17 23:29:14 +00:00
Greg Beaver
4aa4f1fabb enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for existence has
been moved to runtime where it is after startup
2008-05-17 20:07:22 +00:00
Greg Beaver
d35f27b896 fix test (again) 2008-05-17 20:04:06 +00:00
Zoe Slattery
f0955264a0 Tests from London test fest 2008 2008-05-17 11:20:55 +00:00
Zoe Slattery
d7570b4671 Tests from Londn test fest 2008-05-16 17:13:42 +00:00
Felipe Pena
04a87d9f63 - Changed 'Z' to 's' (parameter parsing), the code didn't check if the parameter is a string. 2008-05-16 12:44:11 +00:00
Felipe Pena
60cd27b7f6 - MFH: Improved fix (used 's' in parameter parsing) 2008-05-16 12:18:43 +00:00
Felipe Pena
0668fd3328 - Added conversion to string. 2008-05-16 03:01:20 +00:00
Greg Beaver
57b3bba46e cosmetics 2008-05-16 00:11:42 +00:00
Greg Beaver
a5ec4d5f2b as discussed on internals, enable phar by default for testing purposes.
Phar is enabled as a shared extension by default in order to allow zlib/bz2 to be built shared.  If phar is statically built,
both zlib and bz2 must be statically built in order for phar to use them, so default compile as shared is much more flexible
2008-05-16 00:01:56 +00:00
Greg Beaver
719beb79d4 add full metadata support for tar-based archives and test 2008-05-15 23:46:29 +00:00
Greg Beaver
de5aaaa74c fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
which then allows easy creation of tar/zip-based phar archives with a simple rename even when phar.readonly=1.  Plug the hole very tightly, allowing read access to
files, and also excluding them from opendir() output
2008-05-15 16:09:01 +00:00
Greg Beaver
8cc335a0da make test OS-agnostic 2008-05-15 14:01:30 +00:00
Steph Fox
93183728d2 - Fix test, add a couple of new ones
@Greg: it seems we covered it already ;)
2008-05-15 12:37:45 +00:00
Zoe Slattery
229bcbdfc6 Tests from London test fest 2008 2008-05-15 12:23:47 +00:00
Steph Fox
6a0682d986 - MFH
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.
2008-05-14 21:29:51 +00:00
Antony Dovgal
b3b5126954 fix test names 2008-05-14 13:04:05 +00:00
Felipe Pena
f6cc283d46 - MFH: Add check for avoid segfault when trying instantiate PDORow manually 2008-05-14 12:32:21 +00:00
Elizabeth Marie Smith
7d4dfa8ee4 Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled 2008-05-14 03:13:17 +00:00
Felipe Pena
6552d91743 - Fixed tests (added default_charset=) 2008-05-13 19:17:17 +00:00
Greg Beaver
9b5b694c92 fix test 2008-05-13 18:06:55 +00:00
Felipe Pena
613f2d2afc - Added SKIPIF 2008-05-13 14:49:06 +00:00
Steph Fox
4d169ebcfc - Allow broken.dirnames to use phar too
- Add test
- Kill MSVC compiler warning
2008-05-13 14:11:24 +00:00
Christopher Jones
4e12fa4a25 MFH: New/updated tests 2008-05-13 00:05:09 +00:00
SVN Migration
16b4d8e0e1 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-05-12 21:03:49 +00:00
Antony Dovgal
ea62779338 MFH: revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:47:01 +00:00
Matt Wilmas
77feabfc71 MFH: Fixed test after fixing bug #44830 2008-05-12 05:08:49 +00:00
Sebastian Bergmann
b5281c79b5 MFH: Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:57:09 +00:00
Scott MacVicar
96a20f9aed MFH: Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:59:16 +00:00
Ant Phillips
863d975196 Collect all the open_basedir security tests into one place 2008-05-09 08:39:44 +00:00
Felipe Pena
3e56d46fa1 - Use PHP_DEP_FE and PHP_DEP_FALIAS (magic_quotes related functions) 2008-05-08 22:21:19 +00:00
Felipe Pena
1e650ca32d - MFH: Fixed detection of invalid class name 2008-05-08 18:51:28 +00:00
Felipe Pena
3725d115a8 - MFH: Fixed data size 2008-05-08 18:28:25 +00:00
Etienne Kneuss
03463d557b Sync spl tests with HEAD 2008-05-08 12:02:17 +00:00
Dmitry Stogov
1f3a661337 Fixed test 2008-05-08 09:15:38 +00:00
Antony Dovgal
4291646858 fix test 2008-05-08 07:09:10 +00:00
Matt Wilmas
01afb02bad Fix build 2008-05-08 04:23:26 +00:00
Ilia Alshanetsky
9c63b618dd Kill unused vars 2008-05-07 23:45:28 +00:00
Antony Dovgal
a4e272c241 rename the test 2008-05-07 15:23:31 +00:00
David Coallier
c5b386b8a3 - Fixed bug #44811 (Improve error message when creating a new SoapClient that contains invalid data) 2008-05-07 15:23:10 +00:00
Andrey Hristov
8256272540 Update mysqlnd 2008-05-07 15:14:26 +00:00
David Coallier
fb2ae8ee73 - Bug #44811 (Improved error message for creating invalid new SoapClient) 2008-05-07 15:14:16 +00:00
Etienne Kneuss
06cef68307 Add consistency with the flag 2008-05-06 23:08:06 +00:00
Ilia Alshanetsky
f5a90feff0 Fixed bug #44836 (putenv() crashes, avoid direct reference of environ in
POSIX systems)

# Original patch by delphij at FreeBSD dot org
2008-05-06 18:01:32 +00:00
Andrey Hristov
259b652b2e Make mysqli compilable in a 5_2 environment. Some want to use mysqlnd+mysqli
with 5_2. This won't hurt 5_2 in any way. Won't be MFB-ed because HEAD is
completely different.
2008-05-06 17:05:14 +00:00
Kalle Sommer Nielsen
ed7e0c0dff * Changed php_*h() to be static
* Changed NEWS entry to be say 'native' insted of 'Windows' (ref. *h())
2008-05-06 10:55:49 +00:00
Rasmus Lerdorf
ee4a691627 There is no domainname element in utsname on OSX 2008-05-05 21:26:46 +00:00
Antony Dovgal
a00f016648 add atanh() for real 2008-05-05 11:28:11 +00:00
Derick Rethans
af371c9f5e - Fixed build. 2008-05-05 10:09:54 +00:00
Kalle Sommer Nielsen
f61731874a Merge PHP_5_3 - Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
[DOC] Merge_5_3
2008-05-05 07:29:41 +00:00
Etienne Kneuss
94697acff9 MFH: Fix protos 2008-05-04 21:17:33 +00:00
Derick Rethans
f533671711 - MFH: Added support for "<xth> <weekday of" and "last <weekday> of" phrases to
be used with months - like in "last saturday of februari 2008".
2008-05-04 20:52:56 +00:00
Rob Richards
87922550b0 MFH: fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:14:23 +00:00
Antony Dovgal
7633511047 fix compile warnings 2008-05-04 11:26:50 +00:00
Derick Rethans
c06ab8ca23 - MFH: Added support for using ISO 8601 time intervals to define a DatePeriod
iterator.
#- @doc
2008-05-04 10:00:01 +00:00
Antony Dovgal
b5b865e667 MFH: fix folding 2008-05-04 09:34:16 +00:00
Zoe Slattery
09aa62229a Committing corrected test from Eric Stewart 2008-05-03 20:36:36 +00:00
Etienne Kneuss
57b8e83945 MFH: Fix #44484 (define SimpleXMLElement::__toString()) 2008-05-03 15:09:37 +00:00
Derick Rethans
c36edb6a20 - Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
#- @doc
2008-05-03 10:59:36 +00:00
Derick Rethans
76708f3c2e - MFH: Fixed weekdays adding/subtracting algorithm. 2008-05-03 10:04:37 +00:00
Antony Dovgal
a72b8f96ed fix build 2008-05-02 23:05:05 +00:00
Derick Rethans
eb64b777fa - MFH: Fixed an issue in date() where a : was printed for the O modifier after
a P modifier was used.
2008-05-02 21:33:05 +00:00
Elizabeth Marie Smith
3adf07b5c6 Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared) 2008-05-02 14:05:53 +00:00
Lars Strojny
0bc6920f66 Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:11:45 +00:00
Lars Strojny
7309946677 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:05:42 +00:00
Derick Rethans
149848846d - MFH: Added DateInterval::createFromDateString() that creates an interval
from the relative parts of a date/time string.
- MFH: Fixed an issue where special relative bits were not applied.
2008-05-02 12:49:16 +00:00
Derick Rethans
97b37f253c - MFH: Rearranged some structures to allow for more powerfull period/intervals. 2008-05-01 16:15:45 +00:00
Derick Rethans
1b435af326 - MFH: Include the starting date by default in the iterator output, but add an
option to disable this behavior.
2008-05-01 13:31:22 +00:00
Ant Phillips
495ed877fc open_basedir tests for directory functions 2008-05-01 12:36:46 +00:00
Ant Phillips
98e6f9f954 open_basedir tests for directory functions 2008-05-01 11:46:18 +00:00
Derick Rethans
8c5274f479 - MFH: Added the DatePeriod class/iterator that iterates over a date time
object for a specific number of iterators and applies a DateInterval each
  time.
@DOC: More will follow though
2008-05-01 00:12:24 +00:00
Ant Phillips
ad93b947a2 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 15:20:18 +00:00
Ant Phillips
90c2cd0c37 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:52 +00:00
Ant Phillips
c55db17098 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 09:28:02 +00:00
Ant Phillips
cdf5621b50 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:19 +00:00