Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Jani Taskinen
855034b955
- Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference)
2009-07-23 14:42:46 +00:00
Ilia Alshanetsky
c16b7585f6
Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
...
directories).
[DOC]
To avoid breaking how existing code works a new constant is introduced for
the RecursiveDirectoryIterator() that directs the code to follow symlinks.
This constant RecursiveDirectoryIterator::FOLLOW_SYMLINKS can be passed a
flag to the constructor to trigger symlink following.
2009-07-08 03:06:59 +00:00
Felipe Pena
fc4e43ec3c
MFH:
...
- Added missing methods' arginfo (for void params)
- Fixed arginfos:
- MultipleIterator::__construct
- MultipleIterator::setFlags (Thanks Philip!)
- SplFixedArray::__construct
2009-07-04 20:31:27 +00:00
Dmitry Stogov
e583ce82ec
Fixed bug #48643 (String functions memory issue)
2009-06-24 08:53:18 +00:00
Etienne Kneuss
b8d64e4085
MFH: Include other flags as well
2009-06-04 14:46:26 +00:00
Etienne Kneuss
bc75208538
MFH: Fix bug #47534 (RecursiveDirectoryIterator::getChildren ignoring CURRENT_AS_PATHNAME)
2009-05-09 21:06:59 +00:00
Marcus Boerger
3baf61b513
- MFH Safer flag handling as requested by Greg
2009-03-10 23:28:17 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Etienne Kneuss
f48d22afa1
MFH: Fix #46646 (Implement zend functions to restrict serialization or internal classes)
2008-12-22 14:11:49 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Etienne Kneuss
3919b16f04
MFH: Fix #46241 (stacked error_handlers, error_handling in general)
2008-11-19 02:00:53 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Etienne Kneuss
e415c37ed4
MFH: Fix #46421 (Take care about /)
2008-11-06 01:07:22 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
261f0c32a5
initialize optional vars
2008-10-21 22:08:20 +00:00
Arnaud Le Blanc
c238cb8f84
MFH: Fixed #46053 (SplFileObject::seek - Endless loop)
2008-09-11 15:31:58 +00:00
Arnaud Le Blanc
7f5079ab3a
MFH: Fixed #46051 (SplFileInfo::openFile - memory overlap)
2008-09-11 15:22:49 +00:00
Etienne Kneuss
c77ca4c34a
MFH: Fix error_handling usage in various extensions
2008-08-08 22:07:07 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Steph Fox
0aeea4bdbf
MFH SPL_FILE_DIR_UNIXPATHS.
2008-07-24 08:55:52 +00:00
Marcus Boerger
d78f5554e7
- [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration)
2008-07-23 06:12:29 +00:00
Etienne Kneuss
8dafec40be
MFH: Implement DirectoryIterator::seek
2008-07-19 11:20:18 +00:00
Etienne Kneuss
767eaa7a4e
MFH: - Fix filename in debug_info
...
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:48 +00:00
Antony Dovgal
9d4ede194f
MFH: check return value of hash_find()
2008-07-02 10:47:11 +00:00
Etienne Kneuss
4e80cf8bac
MFH: Fix #45216 (Add a default size for fgetss)
2008-06-18 10:05:29 +00:00
Etienne Kneuss
3681756cfb
MFH: Fix path lookup when include_path is used
2008-05-20 21:46:51 +00:00
Etienne Kneuss
242f779fa1
MFH: Fix filesystemiterator with ./.. + add cloning tests
2008-05-18 12:17:43 +00:00
Etienne Kneuss
54b70b6015
MFH: Fix #44511 (Ensure no exception was already thrown by php_stream_opendir)
2008-04-09 19:01:12 +00:00
Marcus Boerger
c17997d4b6
- MFH Fix possible memory corruption
2008-03-13 19:46:44 +00:00
Marcus Boerger
1d98b27235
- MFH Make this behave like in <= 5.2.5 and test for it
2008-02-13 12:05:34 +00:00
Marcus Boerger
8f6a6a800e
- MFH Fix/add folding markers
2008-02-04 19:40:49 +00:00
Marcus Boerger
81a5389af7
- MFH Really fix flag handling
2008-02-04 19:33:10 +00:00
Marcus Boerger
b7a04d786f
- MFH Fix #44018 (RecursiveDirectoryIterator options inconsistancy)
2008-02-04 18:46:13 +00:00
Marcus Boerger
a547c556b6
- MFH Fix default flag value in contructor
2008-02-04 17:19:07 +00:00
Marcus Boerger
b628fc219a
- MFH Synch directory changes
...
[DOC]
# Class FilesystemIterator was introduced to have a better DirectoryIterator
# without having to change DirectoryIterator or RecursiveDirectoryIterator.
# On top of FilterIterator the new GlobIterator was introduced. This one allows
# to implement Countable(). But a glob stream flattens all structure, so it
# cannot be derived from RedursiveIterator. With the new structure all children
# of FilesystemIterator have nearly the same behavior. Just their capabilities
# are a bit different. Check out new inheritance tree on SplFileInfo:
#
# [marcus@frodo PHP_5_3]$ php ext/spl/examples/class_tree.php SplFileInfo
# make: `sapi/cli/php' is up to date.
# SplFileInfo
# |-DirectoryIterator (Iterator)
# | \-FilesystemIterator
# | |-GlobIterator (Countable)
# | \-RecursiveDirectoryIterator (RecursiveIterator)
# | \-Phar (ArrayAccess, Countable)
# |-PharFileInfo
# \-SplFileObject (RecursiveIterator, SeekableIterator)
# \-SplTempFileObject
2008-02-02 23:09:38 +00:00
Elizabeth Marie Smith
78a9df9004
Fix windows build
2008-01-31 02:35:44 +00:00
Marcus Boerger
116539a5d1
- WS
2008-01-30 23:45:12 +00:00
Marcus Boerger
ef9453546e
- Sub path may be NULL
2008-01-30 23:08:13 +00:00
Marcus Boerger
0b71904acc
- Fixed glob:// stream handling in (Recursive)DirectoryIterator.
2008-01-30 20:31:07 +00:00
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