Hannes Magnusson
281536e866
fix protos
2006-09-29 13:11:28 +00:00
Hannes Magnusson
30b18b7bb7
fix arginfo
2006-09-29 12:29:21 +00:00
Antony Dovgal
7df7d2b4df
MFH
2006-09-29 12:18:58 +00:00
Marcus Boerger
444f1f2da3
- MFH Fix cvs access through SplFileObject
2006-08-06 13:47:51 +00:00
Marcus Boerger
9c30e20bd6
- MFH Implement todo: SplFileObject: ability to set the CSV separator per object
2006-07-15 15:08:41 +00:00
Marcus Boerger
bb3c702162
- MFH Fix issue with SplFileObject and directories
2006-07-15 13:01:59 +00:00
Dmitry Stogov
fbd3ef09ed
Fixed memory leaks in ext/spl/tests/fileobject_003.phpt
2006-07-10 15:47:58 +00:00
Marcus Boerger
3a3e310e2e
- MFH: SplFileObject improvements
...
. FILE_OBJECT_READ_AHEAD: allow to read ahead
. FILE_OBJECT_SKIP_EMPTY: allow to skip empty lines (includes read ahead)
. FILE_OBJECT_READ_CSV: allow to read as csv
2006-05-10 00:31:04 +00:00
Antony Dovgal
ad7768ee63
fix #36981 (SplFileObject->fgets() ignores max_length)
2006-04-06 19:01:56 +00:00
Antony Dovgal
59b8592c8c
fix bug #36898 (__set() leaks in classes extending internal ones)
...
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
Antony Dovgal
afd781a09a
MFH: initialize retval
2006-03-20 13:54:16 +00:00
Marcus Boerger
4a5dd30201
- MFH Allow pecl/phar and alike too hook into spl_filesystem_object's
2006-03-08 21:54:48 +00:00
Marcus Boerger
e795f8f427
- MFH Proto fixes
2006-03-06 09:50:44 +00:00
Marcus Boerger
7dc322754a
- Fix issues with not/double calling of constructors of SPL iterators
...
- Fix issues with info-class/file-class in SPL directory handling classes
- Add SimpleXMLElement::count()
- Drop erroneous RecursiveDirectoryIterator::getSubPathInfo()
- Drop dead code
- Add tests
- Update docu
2006-03-05 17:39:49 +00:00
Marcus Boerger
728493ca37
- MFH Fix issues withhandling of derived info classes as entries
2006-02-28 01:33:32 +00:00
Antony Dovgal
08c4c9c202
MFH: fix #36359 (splFileObject::fwrite() doesn't write when no data length specified)
2006-02-10 16:57:56 +00:00
Antony Dovgal
aa920b8e00
MFH: fix #36295 (typo in SplFileObject::flock() parameter name)
2006-02-05 19:23:30 +00:00
Marcus Boerger
39d71e375c
- MFH Fix bug #36287
2006-02-05 11:43:44 +00:00
Marcus Boerger
a266261eb6
- Fix oversight
2006-02-02 18:59:11 +00:00
Ilia Alshanetsky
0c972edce4
Only use win32 directory separators on win32 or netware.
2006-02-02 15:10:04 +00:00
Antony Dovgal
ff30daae6e
MFH: add missing folding tags
...
nuke unnecessary semicolons
2006-02-02 12:40:33 +00:00
Antony Dovgal
0506d1a9f5
fix #36258 (SplFileObject::getPath() may lead to segfault)
2006-02-02 12:19:14 +00:00
Ilia Alshanetsky
9cbc3ae264
Fixed bug #36134 (DirectoryIterator constructor failed to detect empty
...
directory names).
2006-01-23 15:24:10 +00:00
Marcus Boerger
d059b92fea
- MFH Fix issue found by Nuno
2006-01-15 00:17:43 +00:00
Marcus Boerger
c863542dc1
- Fix #35998 (getPathname() method always returns unix style filenames)
2006-01-13 19:36:57 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Zeev Suraski
2f3678eb44
Fix prototype
2005-12-18 14:00:23 +00:00
Marcus Boerger
5c8027584f
- MFH Fix issue spotted by Wez using ms vc 2005
2005-12-14 09:55:11 +00:00
Marcus Boerger
bac905b982
MFH:
...
. Change to use sane default flags fro RecursiveDirectoryIterator
. Drop 2nd parameter from DirectoryIterator::__construct()
2005-12-11 16:43:29 +00:00
Antony Dovgal
4ccdc86561
fix C++ comment
2005-12-09 13:28:10 +00:00
Antony Dovgal
0d1efb245b
MFH: fix segfault in SplFileObject when file doesn't exist or cannot be read
2005-12-08 19:55:13 +00:00
Marcus Boerger
6dec77d25e
- MFH Add class SplFileInfo as base for DirectoryIterator and SplFileObject
...
# As discussed with ilia before 5.1.0
2005-11-29 03:33:59 +00:00
Marcus Boerger
c37b13e0db
- MFH Editor blocks
2005-11-27 12:16:14 +00:00
Marcus Boerger
c0ffebcee6
- Rename file class again by popular demmand: calling it SplFileObject now
2005-09-15 14:08:16 +00:00
Marcus Boerger
b4dd030782
MFH:
...
- Add SplObjectStorage
- Add RecursiveFilterIterator
- Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
2005-09-15 03:33:04 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Marcus Boerger
177ea26dc1
- Make line counting work with FileObject::fgetc()
...
- Add a test for FileObject::fgetc()
- Update docs
2005-05-03 22:18:19 +00:00
Marcus Boerger
287864a611
- Change FileObject's line counting to be zero based
...
- Make FileObject implement SeekableIterator
- Add tests
2005-05-03 21:11:26 +00:00
Marcus Boerger
4f3b12b3fd
- Rename class File to FileObject
...
# by popular demand
2005-04-14 21:02:09 +00:00
Marcus Boerger
7adb2b0c0b
- Add RecursiveDirectoryIterator::getSubPathname()
2005-03-31 23:02:20 +00:00
Marcus Boerger
d383735978
- Add RecursiveDirectoryIterator::getSubPath()
2005-03-31 21:51:46 +00:00
Marcus Boerger
56235c6cc8
Fix the fix
2005-03-09 10:29:27 +00:00
Antony Dovgal
a2413c32ce
fix build
2005-03-09 09:19:27 +00:00
Marcus Boerger
f0a3e5be17
More line count fixes
2005-03-09 03:07:42 +00:00
Marcus Boerger
ef17168fd1
No double line counting
2005-03-09 02:54:36 +00:00
Marcus Boerger
7b64727519
- Add/Correct parameter info and protos
2005-03-08 00:42:49 +00:00
Marcus Boerger
9b8725a967
- Add more methods
...
- Avoid exceptions in iterator access
- Do not read in rewind8) or next() instead read in iteration if neccessary
- Correctly count line numer on reading
2005-03-07 22:18:40 +00:00
Marcus Boerger
1d54f897ca
- Fix problem with some plain c pedantic compilers
2005-03-07 08:04:47 +00:00
Marcus Boerger
3960865e8e
- In File::fgetcsv() use max length from object
2005-03-07 01:00:29 +00:00
Marcus Boerger
40bf907541
- Add File object
2005-03-07 00:40:57 +00:00