Commit Graph

102 Commits

Author SHA1 Message Date
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Jani Taskinen
b489251177 - MFH from HEAD:
. Folding tags
  . Parameter parsing
  . SPL debug info
  . array function improvements (not all yet)
  . Improvements to function calling with call_user_* functions
  . Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
2007-11-02 19:40:39 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
David Soria Parra
fd841a44db WS fix. Space instead of tab. 2007-10-05 11:43:09 +00:00
David Soria Parra
7db53fe049 WS/Indent fix 2007-10-05 09:37:17 +00:00
David Soria Parra
d4e8fa62c6 MFH: Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501.
[DOC] 5th parameter available since PHP 5.3+
2007-10-03 10:44:32 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
ddc1871576 Improve check for filename (fixed coverity issue #355) 2007-09-22 15:55:35 +00:00
Johannes Schlüter
254992907c - MFH: Fix Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:45:53 +00:00
Antony Dovgal
cf53dfaff3 MFH 2007-06-05 12:02:46 +00:00
Dmitry Stogov
4de76f02ea Fixed 64-bit support 2007-04-09 15:38:58 +00:00
Marcus Boerger
fa29c1a2f5 - Fix copy'n'paste issues 2007-03-04 14:01:06 +00:00
Marcus Boerger
ed359b4529 - MFH simplify, synch docu/implementation 2007-03-04 12:18:02 +00:00
Marcus Boerger
e5397c076b - MFH [DOC] Add SplFileInfo::getBasename(), DirectoryIterator::getBasename
- MFH Add SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath()
# All based on suggestions by Arnold Daniels
2007-03-03 15:08:59 +00:00
Ilia Alshanetsky
efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Marcus Boerger
f44b63c57f - Make stat based functions throw an exception 2007-02-20 13:08:01 +00:00
Marcus Boerger
ba4cbbaf69 - Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in root dir. 2007-02-19 20:34:29 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
52d53543ac Allocation safety checks 2006-12-25 22:36:57 +00:00
Hannes Magnusson
1182b325c2 MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Hannes Magnusson
69dbaaacac MFH: arginfo fixes 2006-11-06 23:20:11 +00:00
Hannes Magnusson
c32408e694 MFH: fix segfault & improve test 2006-11-06 15:21:45 +00:00
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