Commit Graph

20079 Commits

Author SHA1 Message Date
Marcus Boerger
06b9756c67 - Add missing PHPAPI 2007-02-05 20:04:56 +00:00
Marcus Boerger
5928d89d50 - Detect \0 in paths where possible 2007-02-05 19:16:07 +00:00
Marcus Boerger
08cf9ff731 - Check for illegal chars (control + potential UTF-8 (need to take care of in PHP 6)) 2007-02-05 07:58:29 +00:00
Greg Beaver
c0e2739103 improve error message empty entry => empty directory. Add check for phar://blah.phar/. and phar://blah.phar/.. 2007-02-05 07:19:35 +00:00
Frank M. Kromann
4874397501 MFB: #39213
Fix for '' returned as ' '.
This only works with FreeTDS as microsofts library returns a length of 1 for an empty string!
2007-02-04 21:24:28 +00:00
Marcus Boerger
c2d5db56ca - Need to drop // 2007-02-04 20:35:59 +00:00
Marcus Boerger
f210205e70 - PHP_VERSION_ID exists only in newer PHPs (5.1+)
- Improve error checking
2007-02-04 20:10:03 +00:00
Ilia Alshanetsky
ff0f2ad1bd Added a double free check. 2007-02-04 17:02:01 +00:00
Marcus Boerger
29cde76818 - Disallow stars in paths 2007-02-04 16:25:25 +00:00
Marcus Boerger
ab03af5eb5 - Add Makefile.frag 2007-02-04 16:24:48 +00:00
Marcus Boerger
1c690cb9d4 - Add path sanitizer for new paths
- Add test for a few things we check with the sanitizer
# We might want to use the sanitizer for opening as well
2007-02-04 13:21:40 +00:00
Frank M. Kromann
16ccbf0c0c MFB: Fix win32 build 2007-02-04 00:23:32 +00:00
Marcus Boerger
725148cc94 - Allow building with 5.1 (not all works thenperfectly though) 2007-02-03 16:31:36 +00:00
Marcus Boerger
d47db8526b - Fix protos 2007-02-03 13:42:10 +00:00
Marcus Boerger
1b5b78ce18 - Provide both version strings, api and ext 2007-02-03 13:20:12 +00:00
Marcus Boerger
91d7b4f048 - Update package file 2007-02-03 13:19:38 +00:00
Greg Beaver
93b387d327 fix mem leak on error, fix cwd issue. go back to BadMethodCallException for Phar->set*CompressedAllFiles(). ALL TESTS PASS, RELEASE IS IMMINENT 2007-02-03 04:04:18 +00:00
Greg Beaver
996b8e6108 fix test 2007-02-03 02:39:34 +00:00
Greg Beaver
340e9b24fc s/isFlushing/isFlushingToPhar much clearer purpose in method name 2007-02-03 00:45:24 +00:00
Michael Wallner
cd2554343b - add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1 2007-02-02 17:11:10 +00:00
andy wharmby
ca1d1703ee ADW: Fix COM extension bug #35463. Fix in/out argument processing 2007-02-02 08:42:32 +00:00
andy wharmby
f5ffb540f0 ADW: Fixed COM extension bug #37927. Correct the processing of in/out arguments of type VT_DISPATCH|VT_REF 2007-02-01 18:05:10 +00:00
Antony Dovgal
bc87928158 bailout if bucket is NULL 2007-02-01 14:20:53 +00:00
Antony Dovgal
0e08c7027f free class_name when necessary 2007-02-01 14:07:03 +00:00
Antony Dovgal
3c10602950 fix compile failure in ZTS mode when collections support is missing 2007-01-31 12:45:56 +00:00
Antony Dovgal
74e11c349c fix segfault on re-binding and re-executing a statement
improve the test
patch by Chris Jones
2007-01-31 10:36:20 +00:00
Ilia Alshanetsky
eece353fe8 Minor code optimization 2007-01-31 00:15:06 +00:00
Marcus Boerger
5f8256cfc1 - Update TODO
- Add Phar::isFlushing()
- Improve test
2007-01-30 20:58:14 +00:00
Antony Dovgal
fdec496b73 improve test
patch by Chris Jones
2007-01-30 11:43:07 +00:00
Marcus Boerger
c9a8668847 - Add new test 2007-01-30 07:29:45 +00:00
Marcus Boerger
df99fd3d61 - CS & Fix expectations 2007-01-29 22:21:48 +00:00
Nuno Lopes
37960644df fix access to already free'ed memory 2007-01-29 19:36:53 +00:00
Antony Dovgal
47514fd793 fix test
different Oracle client versions report different error messages
2007-01-29 16:18:15 +00:00
Antony Dovgal
a4c6b4b0f3 fix test 2007-01-29 16:16:07 +00:00
Pierre Joye
1a78358460 - MFB: #40228, ZipArchive::extractTo does create empty directories
recursively
2007-01-29 16:01:55 +00:00
Marcus Boerger
7ae8840c50 - Fix mem access 2007-01-29 07:59:19 +00:00
Greg Beaver
41b5470358 update TODO for needed things 2007-01-29 06:10:18 +00:00
Greg Beaver
c7a5d062f5 throw exceptions from Phar object, and errors from stream wrapper
# we need to account for uncaught exceptions in shutdown, 2 tests leak because of this
2007-01-29 06:02:19 +00:00
Greg Beaver
c6dc9be489 implement Phar->getMetadata() Phar->setMetadata(), add tests, implement meta-data in the header 2007-01-29 03:59:55 +00:00
Greg Beaver
185a961812 make Phar metadata todo more explicit 2007-01-28 22:45:19 +00:00
Greg Beaver
744ec410ec add rename support 2007-01-28 22:43:38 +00:00
Marcus Boerger
0bc1b90ec3 - Split commit into commit and setStub 2007-01-28 22:11:28 +00:00
Greg Beaver
f78dc091f3 make sure we are in the test directory 2007-01-28 21:48:36 +00:00
Greg Beaver
a51ded0160 new test for creation of phar in current directory 2007-01-28 21:47:29 +00:00
Greg Beaver
b53229dae0 note finishing of docs (whew) 2007-01-28 21:46:13 +00:00
Marcus Boerger
8cfaa44955 - Make new flushing work 2007-01-28 21:26:54 +00:00
Marcus Boerger
1259c3f17a - Fix tests 2007-01-28 21:21:04 +00:00
Greg Beaver
aa47bbbd4d add rename() to TODO for 1.0 2007-01-28 21:04:57 +00:00
Greg Beaver
4596ee7d8a add todo about metadata, and 1.1 todo to search/match metadata [take 2] 2007-01-28 20:28:05 +00:00
Greg Beaver
20ad76141b add todo about metadata, and 1.1 todo to search/match metadata 2007-01-28 20:27:05 +00:00