Commit Graph

135 Commits

Author SHA1 Message Date
Johannes Schlüter
6eccdf9203 - Fixed Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:43:38 +00:00
Antony Dovgal
8881105443 fix build 2007-06-05 13:51:29 +00:00
Antony Dovgal
d7f7c97e43 no readlink() on windows 2007-06-05 12:02:38 +00:00
Marcus Boerger
213172a41b - Missed one is-dot check 2007-03-04 12:13:20 +00:00
Marcus Boerger
afe24c2722 - Simplify 2007-03-04 12:02:16 +00:00
Marcus Boerger
eefa6754e8 - And finally use prefix style names for consistency sake 2007-03-04 00:42:30 +00:00
Marcus Boerger
9ee90718e9 - Reverting glob on child logic makes globbing work better with the example
code
2007-03-04 00:36:08 +00:00
Marcus Boerger
b30dbb98fc - Fix a minor issue with glob support - forgot to set length of string
- Add ability to not use glob on subdirs
2007-03-04 00:23:07 +00:00
Marcus Boerger
b0a595d2d7 - Glob might require us to refetch the path for every entry 2007-03-03 23:41:43 +00:00
Marcus Boerger
af7829f2dc - Add DirectoryIterator::count() 2007-03-03 23:07:33 +00:00
Marcus Boerger
c80d1b184d - Add glob support for DirectoryIterator 2007-03-03 21:41:56 +00:00
Marcus Boerger
b8969e549c - SplFileInfo::getRealPath() is not always present 2007-03-03 14:51:40 +00:00
Marcus Boerger
394bd0b8d3 # This block got lost somehow 2007-03-03 14:46:44 +00:00
Marcus Boerger
0337110f19 - [DOC] Add SplInfo::getBasename(), DirectoryIterator::getBasename() 2007-03-03 14:37:17 +00:00
Marcus Boerger
0b1cac154a - Add missing access check 2007-02-26 22:46:13 +00:00
Marcus Boerger
99cd807c3e - Add SplFileInfo::getLinkTarget
- Add SplFileInfo::getRealPath
2007-02-26 22:32:57 +00:00
Marcus Boerger
1aa148e647 - Make stat based functions throw an exception 2007-02-20 13:07:53 +00:00
Marcus Boerger
9bf2f53e87 - Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in root dir. 2007-02-19 20:32:39 +00:00
Marcus Boerger
ab2c4ffe54 - Mode debug info 2007-01-20 16:19:20 +00:00
Marcus Boerger
688125c252 - Update unicode progress on SPL, looks like nearly done, actually all is
unicode safe by now but a few things need to be added and a few problems
  be clarified.
# I wonder why my keyboard has space issues...it should be out of Us by now
2007-01-19 10:19:50 +00:00
Marcus Boerger
d01145a893 - A few unicode fixes and tidying 2007-01-19 00:36:11 +00:00
Antony Dovgal
1743344cdf fix win32 build 2007-01-18 22:52:32 +00:00
Marcus Boerger
bfa86bfcde - Simplify by using zspprintf 2007-01-18 21:40:18 +00:00
Marcus Boerger
6236d0f0a7 - Ensure string-type is always set correctly 2007-01-17 22:43:53 +00:00
Marcus Boerger
1d4fe8b21a - More help from David 2007-01-17 21:29:38 +00:00
Marcus Boerger
29537f3c7f - A little help from Andrei 2007-01-17 21:23:55 +00:00
Marcus Boerger
f26413f41b - Steps towards unicode 2007-01-16 23:52:14 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00
Marcus Boerger
ba2f82f2eb - Quick hackto make tests pass
# There is something missing, ZVAL_TYPED_ASCII_STRING(z, type, char*,flags)
# Or am i overseeinghow that works?
2006-12-20 23:30:23 +00:00
Marcus Boerger
61b3ee59fd - Optimize SPL directory stuff by making iterator part of object 2006-11-12 17:56:14 +00:00
Hannes Magnusson
d98dfdb119 SplFileObject::getFilename() should not overwrite SplFileInfo::getFilename()
(Fixes bug where SplFileObject::getFilename() returns relative/path/to/file)
2006-11-12 17:08:45 +00:00
Hannes Magnusson
d634bee086 Fix arginfo 2006-11-06 23:19:46 +00:00
Hannes Magnusson
d8895dd81d Fix segfault on $splinfo->openFile()->getPath()
Improve test
2006-11-06 15:20:23 +00:00
Andrei Zmievski
83e0dbb3d2 - Add an extra parameter to the cast_object handler that can be used by
various types as needed.
- Use that parameter to pass a specific converter for
  IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +00:00
Hannes Magnusson
2288a69be1 fix proto 2006-09-29 13:22:43 +00:00
Hannes Magnusson
5075de6c5e Fix arginfo 2006-09-29 12:28:57 +00:00
Antony Dovgal
cefb8421f4 declare subclass after adding class constants to the parent 2006-09-29 12:18:54 +00:00
Marcus Boerger
42e59effea - Fix cvs access through SplFileObject 2006-08-06 13:47:21 +00:00
Marcus Boerger
810c9eee76 - Be on the safe side 2006-07-15 14:54:57 +00:00
Marcus Boerger
4afabf96ee - Implement todo: SplFileObject: ability to set the CSV separator per object, part 2 2006-07-15 14:50:38 +00:00
Marcus Boerger
d795e0b9bb - Implement todo: SplFileObject: ability to set the CSV separator per object 2006-07-15 14:31:51 +00:00
Marcus Boerger
395d4ae5e3 - Fix issue with SplFileObject and directories 2006-07-15 13:01:44 +00:00
Dmitry Stogov
0a435165ba Fixed memory leaks in ext/spl/tests/fileobject_003.phpt 2006-07-10 15:48:09 +00:00
Frank M. Kromann
e6e2754439 Remove ZSTR() from stream macros. Calling function must apply this macro 2006-04-28 19:03:58 +00:00
Frank M. Kromann
1791befa0c Fix Win32 build. NULL_ZSTR was converted to ZSTR(NULL_ZSTR) 2006-04-22 10:39:31 +00:00
Antony Dovgal
48afd4ee03 MF51: fix #36981 (SplFileObject->fgets() ignores max_length) 2006-04-06 19:11:06 +00:00
Antony Dovgal
6a53a49c8b MF51: 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)
2006-03-29 15:08:52 +00:00
Antony Dovgal
882df6e4d4 initialize retval 2006-03-20 13:53:56 +00:00
Andrei Zmievski
a75b8f5f35 Fix compiler errors by using NULL_ZSTR where zstr is expected.
# I guess we need to use NULL_ZSTR instead of NULL when passing NULL to
# functions that expect zstr parameter.
2006-03-17 22:52:55 +00:00