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
Steph Fox
20836262c8
Updated wrong expectation (different stub).
2008-02-21 18:44:06 +00:00
Josie Messa
b0daabb4e3
- New tests for end() and next() function
2008-02-21 16:41:39 +00:00
Steph Fox
9a1e7ee88b
Update tests to accommodate those two extra bytes
2008-02-21 15:20:46 +00:00
Steph Fox
cf9bbcc2e6
Satisfy the pedants :)
2008-02-21 14:48:41 +00:00
Steph Fox
e8e85afbcc
Updating conversion tests to check for more conversion parameters than one. Note that these will all fail against current CVS.
...
@Greg: We need to clarify conversion policy across the board.
2008-02-21 14:45:44 +00:00
Josie Messa
7b5a0bc42b
- New tests for key() function
2008-02-21 14:36:15 +00:00
Steph Fox
eb7565451d
s/zip/tar
2008-02-21 14:27:19 +00:00
Antony Dovgal
de7ee656f7
fix test
2008-02-21 13:38:54 +00:00
Ilia Alshanetsky
287d112e72
MFB: Fixed bug #44189 (PDO setAttribute() does not properly validate values
...
for native numeric options)
2008-02-21 13:38:12 +00:00
Steph Fox
6cc2426ff1
A much better solution for setDefaultStub(). The convertTo*() fixes should be trivial now.
2008-02-21 00:24:38 +00:00
Felipe Pena
8ce1d11649
MFB: Fixed Bug #44191 (preg_grep messes up array index)
2008-02-20 22:15:53 +00:00
Felipe Pena
1b2c92bfe9
New test
2008-02-20 21:59:43 +00:00
Steph Fox
15158bf49d
Fix filenames
2008-02-20 19:26:40 +00:00
Steph Fox
d8bebd7259
Implement $phar->setDefaultStub()
...
Note that Phar::createDefaultStub() still exists at this point
2008-02-20 19:22:12 +00:00
Andrey Hristov
237e147191
Fix test. Now passes.
2008-02-20 18:28:37 +00:00
Steph Fox
9752739cf2
Let's have reflection reflect reality...
2008-02-20 17:58:56 +00:00
Ilia Alshanetsky
2339c30a61
MFB: Fixed a possible crash with syslog logging on ZTS builds
2008-02-20 15:27:47 +00:00
Andrey Hristov
5855e35b01
Fix memory leak
2008-02-20 15:20:14 +00:00
Steph Fox
3285ceba7e
Take some of the pain out of stub rewrites. (Full default stub is tested elsewhere.)
2008-02-20 14:28:49 +00:00
Josie Messa
cd5558b895
- New tests for current() function
2008-02-20 14:21:36 +00:00
Steph Fox
8febc7fd54
Fix 'clean' sections
2008-02-20 13:33:00 +00:00
Steph Fox
6306029051
Move supporting files to their own directory (toplevel tests)
2008-02-20 13:11:40 +00:00
Ilia Alshanetsky
51056f8985
MFB: Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error)
2008-02-20 03:12:23 +00:00
Andrey Hristov
d5aaeda6e4
Fix a failing test
2008-02-19 17:22:05 +00:00
Josie Messa
2f9709ecb6
- New tests for each() function
2008-02-19 17:03:11 +00:00
Andrey Hristov
7b0625865b
Fix a compile warning + test
2008-02-19 15:38:24 +00:00
Nuno Lopes
2657e1ee2a
MFB
2008-02-19 14:46:41 +00:00
Felipe Pena
c963093b82
MFB: Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL))
2008-02-19 12:17:42 +00:00
Josie Messa
8cccdb3af4
- New tests for natcasesort() function
2008-02-19 10:54:02 +00:00
Josie Messa
c5d7128a34
- changed UEXPECTF section
2008-02-19 09:37:50 +00:00
Steph Fox
89217ae543
Fix clean section
2008-02-19 03:24:18 +00:00
Steph Fox
76b02cca40
Update tests to match new stub length
2008-02-19 03:12:11 +00:00
Christopher Jones
5aeaeac561
MFB: sync DRCP connection pooling and FAN support from PHP 5.3
2008-02-19 01:44:29 +00:00
Etienne Kneuss
693b47c131
Add debug_info handler to SplDoublyLinkedList/Stack/Queue to make them var_dump friendly
2008-02-18 23:54:45 +00:00
Steph Fox
7bb00d024e
Allow createDefaultStub() to accept 0, 1 or 2 parameters. Default for both CLI and web is 'index.php'.
...
@Greg: this breaks a handful of tests due to the change in stub.h - will fix in a bit. The only one that's interesting is you can't do strlen(Phar::createDefaultStub()) and expect anything other than an exception now.
2008-02-18 21:45:02 +00:00
Dmitry Stogov
f78649d8db
Made code opcode-cache friendly. (It is disallowed to change code during execution)
2008-02-18 14:31:01 +00:00
Steph Fox
335e57e443
Fix ZTS build (again), kill unused var
2008-02-18 04:51:04 +00:00
Greg Beaver
ba9fcf62fc
add initial support for hashing mounted directories. Actual matching of mounted directories is not yet supported.
2008-02-18 04:45:42 +00:00
Steph Fox
87626d56d2
Fix ZTS build *nicely*
2008-02-18 04:42:04 +00:00
Greg Beaver
6798dc44ed
add Phar::mount() to manually mount a file or directory
...
# TODO: implement directory mounting. Involves scanning paths that are not exact matches for a partial match.
# this also means maintaining a per-phar hash of mounted directories for quick matching
2008-02-18 04:32:50 +00:00
Greg Beaver
9c62ef1124
add externally parsed files to temporary manifest (this will be made
...
optional and must be explicitly enabled per-phar)
2008-02-18 03:37:51 +00:00
Steph Fox
6acac494ab
Fix ZTS build
2008-02-18 00:46:07 +00:00
Derick Rethans
93432884b2
- Fixed typoes.
2008-02-17 18:17:01 +00:00
Felipe Pena
b62f4b4684
Fix test
2008-02-17 01:21:15 +00:00
Rui Hirokawa
fe1484dc50
MFB
2008-02-16 08:49:07 +00:00
Christopher Jones
f4a50b0823
MFB: Test existing LOB error messages
2008-02-16 03:02:24 +00:00
Christopher Jones
a189edb7e7
MHB: Bug #44113 (New collection creation can fail with OCI-22303)
2008-02-15 23:49:21 +00:00
Felipe Pena
74b3151540
Fix tests
2008-02-15 16:55:11 +00:00
Josie Messa
5c62735f17
- New tests for rsort() function
2008-02-15 16:04:35 +00:00
Derick Rethans
f8717f7280
- Fixed typo
2008-02-15 12:47:21 +00:00
Derick Rethans
4b6cdde9c8
- Add the ReflectionProperty::setAccesible() method that allows non-public
...
property's values to be read through ::getValue().
2008-02-15 12:37:38 +00:00
Antony Dovgal
82df944f6a
more cosmetics
2008-02-15 09:35:47 +00:00
Antony Dovgal
97385e1dca
recursion protection in count()
2008-02-15 09:33:00 +00:00
Antony Dovgal
c9c775eb07
cosmetic fix
2008-02-15 09:20:19 +00:00
Dmitry Stogov
21205c0ca0
Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status)
2008-02-15 06:51:41 +00:00
Greg Beaver
54ff8c3a8f
begin work on ability to mount files from external locations as if they were inside of a phar archive
2008-02-15 05:01:40 +00:00
Josie Messa
c1e7564369
- New tests for count() function
2008-02-14 16:48:27 +00:00
Ilia Alshanetsky
a2e7675cb4
MFB: Fixed test on 64bit machines
2008-02-14 16:30:10 +00:00
Josie Messa
67a7756d86
- New variation test for array_values()
2008-02-14 16:09:18 +00:00
Andrey Hristov
62e8d0f5aa
Another fix
2008-02-14 15:20:08 +00:00
Andrey Hristov
91b568e65d
Fix memory errors
2008-02-14 14:48:57 +00:00
Josie Messa
c1e188bb80
- New tests for array_values() function
2008-02-14 14:20:51 +00:00