Commit Graph

164 Commits

Author SHA1 Message Date
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Steph Fox
32b474b730 - Introduce SPL_FILE_DIR_UNIXPATHS. 2008-07-24 08:52:24 +00:00
Marcus Boerger
abe24e95fa - MFH [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration) 2008-07-23 06:12:44 +00:00
Etienne Kneuss
8ee084b365 Implement DirectoryIterator::seek 2008-07-19 11:20:04 +00:00
Etienne Kneuss
8cab636c24 Woopsy 2008-07-08 22:49:35 +00:00
Etienne Kneuss
c621d4f63f - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:30 +00:00
Antony Dovgal
15e70c34e2 use zend_ascii_hash_find() and check its return value to prevent crash when function not found 2008-07-02 10:46:52 +00:00
Etienne Kneuss
6444ec388c Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:15 +00:00
Etienne Kneuss
e35e5b93e3 Fix path lookup when include_path is used 2008-05-20 21:46:13 +00:00
Etienne Kneuss
1d2bfff3a9 Fix FilesystemIterator with ./.. 2008-05-16 13:22:02 +00:00
Etienne Kneuss
c2593307f3 Replace the iterator correctly after being cloned (related to #44964) 2008-05-15 17:22:03 +00:00
Etienne Kneuss
6e7d66eebd MFB: Fix #44838 (static class reference restricting overwriting) 2008-05-03 16:01:00 +00:00
Etienne Kneuss
f6df935264 Fix #44511 (Ensure no exception was already thrown by php_stream_opendir) 2008-04-09 19:00:48 +00:00
Marcus Boerger
3264a25717 - Fix possible memory corruption 2008-03-13 19:45:22 +00:00
Marcus Boerger
c345217eab - Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:01:16 +00:00
Marcus Boerger
f5480b2cb0 - Fix/add folding markers 2008-02-04 19:39:07 +00:00
Marcus Boerger
ee8827288f - Really fix flag handling 2008-02-04 19:33:03 +00:00
Marcus Boerger
de120f6698 - Fix #44018 (RecursiveDirectoryIterator options inconsistancy) 2008-02-04 18:46:02 +00:00
Marcus Boerger
223764b66d - Setting flags once is enough 2008-02-04 18:35:08 +00:00
Marcus Boerger
a78c1b4759 Fix default flag value in contructor 2008-02-04 17:18:48 +00:00
Marcus Boerger
ac11e1c12d - MFB glob handling
- Add GlobIterator and FilesystemIterator
# Commit to 5.3 for more
2008-02-02 22:53:05 +00:00
Rob Richards
e2c4c7359b fix win32 build 2008-01-31 11:09:50 +00:00
Marcus Boerger
ff4634120c - MFB SplDirectoryIterator/glob:// stream integration 2008-01-30 23:49:49 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
David Soria Parra
68327cba36 WS/Indent fix. 2007-10-05 09:38:54 +00:00
David Soria Parra
ab38cc8d89 - Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501. 2007-10-03 10:31:04 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
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