Re: [PHP-DEV] Coverity Scan

2011-08-09 Thread Joey Smith
On Sat, Aug 06, 2011 at 08:07:01PM -0700, Rasmus Lerdorf wrote: Coverity has run a new scan of trunk and there are a lot of valid issues. You have probably noticed that I have started to fix some of them, but there are 500+ to go, so I could use some help. The following people already have

Re: [PHP-DEV] Coverity Scan

2011-08-09 Thread Rasmus Lerdorf
On 08/08/2011 11:45 PM, Joey Smith wrote A lot of the 'STACK_USE' ones seem to be false positives; it's reporting when the stack exceeds the maximum single use of 1024 bytes - that 1024 is a Coverity-configurable value which defaults to 1024. Yup, we can simply mark those as intentional/ignore

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-09 Thread Jordi Boggiano
On 08.08.2011 08:58, Ryan McCue wrote: Kiall Mac Innes wrote: Later on in the doc, you go into detail about submodules, and CRLF - LF support in both Git and Hg. To be fair, submodules don't work exactly the same. Unlike svn:externals, which are linked to a repository, submodules are linked

Re: [PHP-DEV] Coverity Scan

2011-08-09 Thread Joey Smith
On Tue, Aug 09, 2011 at 12:19:53AM -0700, Rasmus Lerdorf wrote: On 08/08/2011 11:45 PM, Joey Smith wrote A lot of the 'STACK_USE' ones seem to be false positives; it's reporting when the stack exceeds the maximum single use of 1024 bytes - that 1024 is a Coverity-configurable value which

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-09 Thread Ryan McCue
Joey Smith wrote: In fact, if you're using git as your DVCS, there's even a bunch of porcelain [2] to make it easier to manage your trees. Side note: For anyone not familiar with Git terminology: plumbing is all the commands that alter the repository, while porcelain are tools built on top of

Re: [PHP-DEV] [VOTE] Weak References

2011-08-09 Thread Arvids Godjuks
I have mixed feelings about this proposal - from one point it's quite neat - ability to mark circular references for the memory manager so it can free them sounds very delicious, especially for some cases. I had run into my own bunch of problems with memory in PHP in the past and right now I'm

Re: [PHP-DEV] [VOTE] Weak References

2011-08-09 Thread Lars Schultz
Am 09.08.2011 14:22, schrieb Arvids Godjuks: I have mixed feelings about this proposal - from one point it's quite neat - ability to mark circular references for the memory manager so it can free them sounds very delicious, especially for some cases. I had run into my own bunch of problems with

Re: [PHP-DEV] Reflection, Traits, Aliasing

2011-08-09 Thread Joey Smith
On Mon, Aug 08, 2011 at 03:52:37PM +0100, Keloran wrote: There seems to be a bug in traits that if you use any of the GLOBAL vars it segfaults snip I'm not sure it's clear from Keloran's code example here, so I thought I'd point out that the problem only seems to happen if you include the