Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Pierre
Hi Marcus, On 3/4/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: Damn hell i am just sick of getting complaints without even understanding the matters. As you wrote you don't understand. So just stay calm. Damn it! I don'T see it as personal. It is just fucking stupid that you hook onto stuff y

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Pierre
On 3/4/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: Hello Pierre, Sunday, March 4, 2007, 6:22:03 PM, you wrote: > To make this long story short, I do not understand the reason behind a > glob:// stream wrapper. It makes no sense. But yes, we need a better > glob support in PHP. Many extensions

RE: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread scott.mcnaught
Hello All, I am new to the php internals mailing list. I am a fairly experienced programmer with a few ideas floating around. I have come from a C++ games development background and have now moved to primarily writing in php. One thing that I used extensively in C++ was the singleton design pat

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Marcus Boerger
Hello Pierre, Sunday, March 4, 2007, 6:22:03 PM, you wrote: > To make this long story short, I do not understand the reason behind a > glob:// stream wrapper. It makes no sense. But yes, we need a better > glob support in PHP. Many extensions needs it. For example, I have my > own version for zip

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Pierre
To make this long story short, I do not understand the reason behind a glob:// stream wrapper. It makes no sense. But yes, we need a better glob support in PHP. Many extensions needs it. For example, I have my own version for zip, it is bad as the only difference is how I get the path string, the

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Marcus Boerger
Hello Pierre, Sunday, March 4, 2007, 3:29:06 PM, you wrote: >> > It may be more useful to add streams support to our glob functions. >> > But it can bring more troubles than expected. I did not elaborate on this really. So let me do that now. If we were going this way we would need to always over

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Pierre
On 3/4/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: Sunday, March 4, 2007, 1:46:40 PM, you wrote: > On 3/3/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: >> Hello Arnold, >> >> I added glob directory stream support. Now you can do two things: >> >> $d1 = new DirectoryIterator("glob://mydir/*")

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Marcus Boerger
Hello Pierre, Sunday, March 4, 2007, 1:46:40 PM, you wrote: > On 3/3/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: >> Hello Arnold, >> >> I added glob directory stream support. Now you can do two things: >> >> $d1 = new DirectoryIterator("glob://mydir/*"); >> $d2 = new DirectoryIterator("mydir/

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-04 Thread Pierre
On 3/3/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: Hello Arnold, I added glob directory stream support. Now you can do two things: $d1 = new DirectoryIterator("glob://mydir/*"); $d2 = new DirectoryIterator("mydir/*", DirectoryIterator::USE_GLOB); count() stuff will follow. I'm not sure i

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-03 Thread Marcus Boerger
Hello Arnold, I added glob directory stream support. Now you can do two things: $d1 = new DirectoryIterator("glob://mydir/*"); $d2 = new DirectoryIterator("mydir/*", DirectoryIterator::USE_GLOB); count() stuff will follow. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mai

Re: [PHP-DEV] suggestion SplFileInfo

2007-03-03 Thread Marcus Boerger
Hello Arnold, a bunch of new stuff based on your suggestions will be added to 5.2.2. I also added more comments below. Tuesday, February 27, 2007, 1:36:21 AM, you wrote: > Thanks for your response. I've put some new comments below. >>> SplFileInfo: >>> - Add parameter $flags to constructor. T

[PHP-DEV] RE : [PHP-DEV] suggestion SplFileInfo

2007-02-27 Thread P
> From: Arnold Daniels [mailto:[EMAIL PROTECTED] > >> DirectoryIteratorRecursive: > >> - Add flag DIRS_ONLY for the constructor, to only loop through > >> directories > >> > > This is achieved by a FilterIterator: ParentIterator > > > Yes but if you want to loop recursively through the

Re: [PHP-DEV] suggestion SplFileInfo

2007-02-26 Thread Arnold Daniels
Hi again, Thanks for your response. I've put some new comments below. Marcus Boerger wrote: Hello Arnold, some interesting ideas indeed. See my comments below. best regards marcus Monday, February 26, 2007, 8:48:32 PM, you wrote: Hi, I've got a few feature suggestions for S

Re: [PHP-DEV] suggestion SplFileInfo

2007-02-26 Thread Marcus Boerger
Hello Arnold, some interesting ideas indeed. See my comments below. best regards marcus Monday, February 26, 2007, 8:48:32 PM, you wrote: > Hi, > I've got a few feature suggestions for SplFileInfo and > DirectoryIteratorRecursive. I'm creating yet another php file manager. > I've noticed t

[PHP-DEV] suggestion SplFileInfo

2007-02-26 Thread Arnold Daniels
Hi, I've got a few feature suggestions for SplFileInfo and DirectoryIteratorRecursive. I'm creating yet another php file manager. I've noticed that I needed to add quite some code to make it act the way gnome nautilus does. I believe these feature would be a good addition. SplFileInfo: - Add