Commit Graph

22531 Commits

Author SHA1 Message Date
Josie Messa
f30035ea79 - New tests for getcwd() function 2008-03-10 15:24:14 +00:00
Josie Messa
49b8c820e6 - Modified expected output to allow tests to work on all platforms 2008-03-10 15:19:59 +00:00
Gwynne Raskind
29e1c1b66e Unused function in HEAD, fixes compiler warning 2008-03-10 14:35:37 +00:00
Josie Messa
1fd345c31c - New tests for scandir() function 2008-03-10 14:16:32 +00:00
Johannes Schlüter
e883735e64 Fix typo 2008-03-10 13:38:23 +00:00
Johannes Schlüter
0cd7f31de0 - Fix build with older MySQL 2008-03-10 13:26:15 +00:00
Andrey Hristov
a8e4046c72 - Fix a warning in php_mysql.c
- Fixed #44371 Extension compile failed
2008-03-10 09:16:13 +00:00
Scott MacVicar
b5e9791b40 MFB: Fix memory issues with statement being deleted twice 2008-03-09 21:32:38 +00:00
Ilia Alshanetsky
d2827c1e6a MFB: Initialize ts only after successful argument parsing 2008-03-09 18:10:09 +00:00
Steph Fox
3ee08069a6 Rename archive during compressAllFiles*()
Note: this only works for tar archives at present pending a fix for bug #13352
2008-03-09 04:46:16 +00:00
Greg Beaver
f0b329da20 pack tar structs so speed optimizations don't add extra bytes to the header
# Steph: try this and see if it fixes Bug #13353
2008-03-09 04:17:20 +00:00
Johannes Schlüter
0defdae045 - Fix typo in skipif 2008-03-09 01:06:38 +00:00
Felipe Pena
7235c8e5bb Fix test 2008-03-08 23:32:22 +00:00
Felipe Pena
d005d404e0 Fix test 2008-03-08 23:14:16 +00:00
Etienne Kneuss
2660bd1de9 User error handlers no longer catch supressed errors 2008-03-08 22:17:32 +00:00
Greg Beaver
b0595a7bab fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:41 +00:00
David Coallier
5d2af78a8b - Skipif libxml dotted version is < 2.6.20. Patch from scoates 2008-03-08 19:08:58 +00:00
Greg Beaver
5faf5f8b87 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:52 +00:00
Zoe Slattery
1bc3797c3f Countable requires SPL 2008-03-08 17:15:18 +00:00
Andrey Hristov
cd9b7889ec Bug fixed in MySQL 5.0.46 2008-03-08 15:17:45 +00:00
Andrey Hristov
f20d47c541 MFB:
- Fixed problem with $mysqli->connect() not connecting with defaults
- Fixed leak (#39475)
2008-03-08 15:16:08 +00:00
Felipe Pena
effe87122f MFB: Fixed bug #44373 (PDO_OCI extension compile failed) 2008-03-08 14:04:53 +00:00
Nuno Lopes
cc2e43cde1 MFB: fix #44214 2008-03-08 13:14:02 +00:00
Nuno Lopes
2e0b0d8f58 MFB 2008-03-08 11:59:44 +00:00
Nuno Lopes
3b2e53e538 add new tests 2008-03-08 11:51:03 +00:00
Scott MacVicar
9c164f91b6 Fixed bug #42203 (Clear SQLite result sets before closing database.) 2008-03-08 04:17:30 +00:00
Gwynne Raskind
3ccb44a951 Fix bug #32330 (session_destroy, "Failed to initialize storage module", custom session handler) 2008-03-07 23:20:15 +00:00
Pierre Joye
37cd6f7114 - MFB: #44355 compilation breaks due illegal const usage 2008-03-07 18:41:59 +00:00
Scott MacVicar
b979efee24 MFB:
Fixed bug #41135 (When binding as binary data use sqlite3_bind_blob() to stop errors with null bytes.)
Fixed bug #42443 (Bind integers and booleans as integers rather than strings.)
2008-03-07 17:02:48 +00:00
Josie Messa
192649581e - Tests awaiting fix of bug #44246 2008-03-07 16:21:30 +00:00
Josie Messa
a532e65cd6 - New tests for rewinddir() function 2008-03-07 16:13:20 +00:00
Josie Messa
e5c40c1721 fix test 2008-03-07 16:07:34 +00:00
Josie Messa
c654b41280 - New tests for closedir() function 2008-03-07 16:02:42 +00:00
Steph Fox
410c1584c6 update TODO 2008-03-07 14:59:47 +00:00
Scott MacVicar
31dade5280 MFB: Update bundled SQLite to 3.5.6 2008-03-07 10:55:14 +00:00
Gwynne Raskind
7abf0787ad Fix build (one too many right parenthesis in last commit for non-Windows builds) 2008-03-07 08:51:05 +00:00
Greg Beaver
4c23969a41 test was failing because I had a file named 1 in the checkout directory
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:15:29 +00:00
Stanislav Malyshev
123b31cb52 improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:39:29 +00:00
Ilia Alshanetsky
e9c77a5e92 MFB: Fixed a memory leak inside date_get_last_errors() when there are no
errors
2008-03-07 02:05:48 +00:00
Robin Fernandes
f0acfb157d Add new tests for class/object functions and features. 2008-03-06 11:07:29 +00:00
Ilia Alshanetsky
1aab3a9b41 MFB: Revert patch for bug #44325 2008-03-05 23:52:56 +00:00
Pierre Joye
be4cb471ef - MFB: #40013, php_uname() does not return nodename on Netware
(Guenter Knauf)
2008-03-05 21:18:26 +00:00
Felipe Pena
702a290aba Fix test 2008-03-05 14:22:06 +00:00
Felipe Pena
f395d9bf3e Fix test 2008-03-05 13:15:03 +00:00
Antony Dovgal
5c46c52f09 apply better fix, so that the default handle would be closed when closing its reference 2008-03-05 12:09:33 +00:00
Antony Dovgal
41bd0ca803 fix memory corruption due to double destruction of default dir handle
(detected by ext/standard/tests/dir/readdir_variation6.phpt)
2008-03-05 09:28:41 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +00:00
Felipe Pena
e3ca51413c MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags) 2008-03-04 22:31:38 +00:00
Christopher Jones
2da1432d75 Fix bug #41069 (db link crash). Also allow SQLT_AFC (aka CHAR datatype) in oci_bind_by_name 2008-03-04 21:45:55 +00:00
Christopher Jones
f5af5850e9 Attempt greater test portability 2008-03-04 21:05:01 +00:00
Ilia Alshanetsky
b48faec1c8 MFB: Fixed bug #44325 (mssql_bind not correctly bind empty strings as
parameter value)
2008-03-04 19:39:33 +00:00
Josie Messa
40c790c9f6 - new tests for readdir() function 2008-03-04 17:11:10 +00:00
Dmitry Stogov
76faa5ff6b Fixed SIGSEGV because of access to uninitialized data 2008-03-04 12:47:36 +00:00
Antony Dovgal
e1d3d931ed fix test 2008-03-04 11:16:22 +00:00
Josie Messa
f002663134 - new tests for opendir() function 2008-03-04 10:45:40 +00:00
Ilia Alshanetsky
18c0b63dd1 MFB: Fixed bug #44166 (Parameter handling flaw in
PDO::getAvailableDrivers())
2008-03-03 21:13:29 +00:00
Steph Fox
5e4b47fa87 fix tests 2008-03-03 19:36:09 +00:00
Johannes Schlüter
237ad54d4c - Fix get_parent_class() of PDORow instances 2008-03-03 18:58:59 +00:00
Robin Fernandes
0188a097cc Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 14:24:11 +00:00
Steph Fox
8343d7c139 - A bit more work on PharData creation/conversion.
- If readonly=0, why not $phardata->convertToPhar()?
- Known issue with directories creating 'as-file' copies within the archive (all formats)
@Greg/Marcus/Tony: This passes all tests on my box, 5.2/5.3/release_ts/debug_ts, and I can't find any more memleaks. Obviously this is too good to be true, so if conversion is still messy elsewhere please feel free to fix, or bug and assign to me.
2008-03-03 08:41:15 +00:00
Ilia Alshanetsky
09799b7539 MFB: Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:36:24 +00:00
Steph Fox
1cdade809b Going back to square one ("it works on Scott's box" - OSX 10.5, gcc version 4.0.1 (Apple Inc. build 5465)). Thanks ScottMac, David C and Philip for testing...
Possibly a gcc version issue?
2008-03-02 00:42:29 +00:00
Steph Fox
5c2be9551b Should work on all platforms now. (Testing.) 2008-03-01 22:38:10 +00:00
Steph Fox
d4cf7e47f6 Right problem, wrong solution. Also missed an '= 1' , thanks Marcus 2008-03-01 22:28:33 +00:00
Steph Fox
f96cd8fbc3 Tested this time. All's fine here, MacOSX still complaining @ present. 2008-03-01 22:04:19 +00:00
Steph Fox
66d3abac02 Untested. Killing remaining warnings under MacOSX (thanks again Philip). 2008-03-01 21:44:32 +00:00
Steph Fox
15fefd3692 All tests pass here now. Thanks Philip for reporting compiler errors that don't show on my setup. 2008-03-01 21:31:03 +00:00
Antony Dovgal
cd858fe243 fix segfault, comment out useless line 2008-02-29 13:56:46 +00:00
Etienne Kneuss
69a686dd6f Fix #44144 (object methods as spl autoload functions returned correctly) 2008-02-29 13:48:09 +00:00
Etienne Kneuss
47c663a943 Fix tests in non-unicode mode 2008-02-29 13:45:19 +00:00
Etienne Kneuss
03d5e7a7f1 Fix #44288 (Move declarations) 2008-02-29 09:25:30 +00:00
Felipe Pena
c82d6062ac Fixed return value changed previously 2008-02-28 17:43:32 +00:00
Rasmus Lerdorf
2a30239eb7 MFB 2008-02-28 17:39:08 +00:00
Dmitry Stogov
e338f39423 We don't nave to change request shutdown sequence if dl() was failed 2008-02-28 16:59:21 +00:00
Felipe Pena
4f83f918c5 Added UEXPECT 2008-02-28 15:41:56 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Steph Fox
ad0a7679ac Kill an unnecessary bit of internal docu and add 'compression' to the TODO 2008-02-28 02:09:49 +00:00
Steph Fox
413df68971 Forgot to return... not that I understand this stuff... 2008-02-28 01:16:43 +00:00
Steph Fox
9e61358eda Allow alias for phar.tar/phar.zip 2008-02-28 01:08:34 +00:00
Steph Fox
dd5196cf01 Update TODO 2008-02-27 21:41:59 +00:00
Steph Fox
001ffec19f Initial support for PharData object.
Note: two tests currently fail. IMHO we should be throwing E_ERROR on encountering a corrupted archive, not trying to throw a trail of exceptions...
New tests still to be written, not all functionality is in place yet.
2008-02-27 21:34:26 +00:00
Derick Rethans
964189e41e - Fixed bug #44260 (African timezones missing). 2008-02-27 09:47:23 +00:00
Felipe Pena
6562201156 MFB: Improved fix for #44242 2008-02-27 01:25:40 +00:00
Felipe Pena
c557be114f Fixed tests 2008-02-26 13:16:55 +00:00
Josie Messa
1ce9261aac - New tests for chdir() function 2008-02-26 09:40:49 +00:00
Christopher Jones
95302839d6 Use STD_PHP_INI_BOOLEAN. Fix whitespace. 2008-02-26 02:18:16 +00:00
Christopher Jones
e08e6b0214 fix test noise 2008-02-26 01:04:35 +00:00
Ilia Alshanetsky
5b5f3d1944 MFB: Better fix for bug #44189 2008-02-26 00:14:25 +00:00
Christopher Jones
e51eeed567 OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak) 2008-02-25 23:49:51 +00:00
Etienne Kneuss
5bc0a12d7d Fix folding 2008-02-25 23:40:47 +00:00
Etienne Kneuss
cb51a84418 SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:36:36 +00:00
Felipe Pena
cdb42ce6d2 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:56:47 +00:00
Rob Richards
7a92403c87 fix win32 build 2008-02-25 22:56:06 +00:00
Derick Rethans
a39148adf7 - Fixed tests on 64bit platform. 2008-02-25 22:32:26 +00:00
Derick Rethans
3b3d13ea0a - Added a few new separation specifiers.
- Added specifiers that can reset or default the y/m/d/h/i/s/tz values.
- Fixed a problem with parsing timezones as part of a format.
#- [DOC]: Added format specifiers.
2008-02-25 18:25:01 +00:00
Steph Fox
6a63b3921e Update protos. 2008-02-25 16:27:23 +00:00
Steph Fox
eaef0319d2 Make it possible to read the TODO file on a laptop :) 2008-02-25 16:15:57 +00:00
Steph Fox
4b849dcac6 Lunchbreak III 2008-02-25 15:44:21 +00:00
Steph Fox
d712008ba7 Lunchbreak II 2008-02-25 15:43:14 +00:00
Steph Fox
303b72fed3 Lunchbreak. 2008-02-25 15:41:47 +00:00
Steph Fox
f5ab70a3b9 Update reflection info 2008-02-25 12:21:19 +00:00
Steph Fox
1a3bf3619f Leftover from experimenting with zend_hash_del... 2008-02-25 11:37:08 +00:00
Steve Seear
47742538ff Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:33:30 +00:00
Greg Beaver
2d36a89d83 update TODO 2008-02-25 04:49:19 +00:00
Greg Beaver
0503140256 add little fix to phar_mount_entry to ensure path separators are unix-based on windows 2008-02-25 04:30:55 +00:00
Greg Beaver
ec7f89fe79 implement Phar::mount() for directories, add test
# opendir not yet implemented for mounted directories
2008-02-25 04:23:36 +00:00
Greg Beaver
b5c765f942 fix tests 2008-02-24 23:48:19 +00:00
Greg Beaver
d108a03553 fix --CLEAN-- 2008-02-24 23:47:13 +00:00
Greg Beaver
1ea58d0c04 fix test 2008-02-24 23:44:12 +00:00
Greg Beaver
a5a246e876 add missing declaration of phar_rename_archive 2008-02-24 23:40:14 +00:00
Steph Fox
8513db73bb A bunch of stuff to do with filename conversion. Hopefully it won't sink the ship. 2008-02-24 22:29:06 +00:00
Steph Fox
89842172e3 Updating tests. 100% pass rate here now - not sure about the rest of the world just yet (sorry Marcus). 2008-02-24 19:34:05 +00:00
Felipe Pena
dbf4e3cab9 New test 2008-02-24 18:50:14 +00:00
Felipe Pena
4707350eed MFB: Fixed segfault in filter extension when using callbacks. 2008-02-24 18:42:09 +00:00
Ilia Alshanetsky
f0548595b6 MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
bound parameters are present)
2008-02-24 16:09:13 +00:00
Felipe Pena
997b877aa4 Removed internal warning 2008-02-24 11:49:39 +00:00
Felipe Pena
e285f368ca Added UEXPECTF 2008-02-24 02:47:36 +00:00
Felipe Pena
8253434ea9 Fixed tests 2008-02-24 02:22:15 +00:00
Felipe Pena
49114611bb FIxed tests (new error message - E_DEPRECATED) 2008-02-23 22:30:08 +00:00
Felipe Pena
e97f7311a8 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 21:51:37 +00:00
Greg Beaver
a8d0c64662 fix faulty & in check for creation of phar manifest 2008-02-23 21:33:46 +00:00
Greg Beaver
588f0660e9 free mounted_dirs on error to avoid memleak 2008-02-23 21:29:57 +00:00
Greg Beaver
f6862d4a33 fix unfreed value found in tempmanifest1.phpt 2008-02-23 19:44:51 +00:00
Greg Beaver
b3a266fca8 fix double error (this fixes frontcontroller22.phpt) 2008-02-23 19:26:18 +00:00
Felipe Pena
b4b9e034b4 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:26:08 +00:00
Felipe Pena
482e4f2348 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:17:41 +00:00
Felipe Pena
beeccb1e04 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:01:11 +00:00
Felipe Pena
93722d35b0 Change some E_STRICTs to E_DEPRECATED 2008-02-23 18:29:16 +00:00
Greg Beaver
dc43219add down to 1 failing zip test with this commit 2008-02-23 18:28:36 +00:00
Greg Beaver
94f39ee501 fix unfreed value 2008-02-23 18:26:20 +00:00
Greg Beaver
a0e5e40663 port same fix from tar.c to zip.c 2008-02-23 18:24:41 +00:00
Greg Beaver
2eb4db8d79 best fix for the bad logic in tar.c, now all tests pass that should 2008-02-23 18:17:48 +00:00
Greg Beaver
18444e3b5a revert previous changes to tar.c, fix incorrect user_stub == dummy check, now things work that should 2008-02-23 18:14:44 +00:00
Greg Beaver
a561228843 revert previous changes to tar.c, fix incorrect user_stub == dummy check, now things work that should 2008-02-23 18:09:31 +00:00
Greg Beaver
0c647b5c1c fix test, missing phar.readonly=0 --INI-- section 2008-02-23 18:08:54 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Greg Beaver
9d9bd2715a that !zend_hash_exists should be zend_hash_exists 2008-02-23 15:07:02 +00:00
Greg Beaver
a1828999c5 fix unfreed stuff when adding default stub 2008-02-23 15:05:05 +00:00
Greg Beaver
0e6457b2cf free spprintf'ed stub after using it 2008-02-23 14:59:52 +00:00
Greg Beaver
0996c1ffb5 fix test - needed phar.readonly=0 INI section 2008-02-23 14:57:59 +00:00
Marcus Boerger
2f29db8333 - Fix logic 2008-02-23 13:04:59 +00:00
Derick Rethans
4c1dd9079d - Fixed bug #44216 (strftime segfaults on large negative value). 2008-02-22 17:48:31 +00:00
Felipe Pena
33c6806efe Fixed Bug #44212 (array_diff_assoc not reporting missing arguments) 2008-02-22 13:48:02 +00:00
Robert Nicholson
05824bab01 - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:16:02 +00:00
Derick Rethans
7f7c1c986e - Fixed bug #44209: strtotime doesn't support 64 bit timestamps. 2008-02-22 09:47:10 +00:00
Josie Messa
9c888c54cc - New tests for reset() function 2008-02-22 09:22:27 +00:00
Dmitry Stogov
e8718dfe67 Fixed test 2008-02-22 08:31:50 +00:00
Rasmus Lerdorf
ce9bce1fa7 Missing footer comment 2008-02-22 05:05:50 +00:00
Steph Fox
b2dbfbc321 As the line below says - there shouldn't be an exception here. 2008-02-21 18:51:54 +00:00