Posted in dehydra on November 29th, 2007 6 Comments »
Over at LWN there is an article on GCC plugins. It touches onto how it would be useful to implement static analysis tools as GCC plugins. It does not mention that certain optimizations are not feasible without interfacing with the compiler and that there could be a very significant decrease in errors if we the [...]
Posted in dehydra, outparamdel on November 28th, 2007 Comments Off
In the previous post, I described the simple rewriting case that I am working on at the moment. Someone was quick to point out that the approach wouldn’t work for all methods (XPIDL Arrays were the example). Indeed, anything more complicated than simple getters can’t be rewritten to “Succeeded/Failed” pattern without switching to C++ exceptions. [...]
Posted in dehydra, outparamdel on November 26th, 2007 4 Comments »
There will be a lot of under-the-hood code changes in Mozilla 2. Our goal is to end up with a simpler, safer and faster codebase. This is my perspective on the work ahead with respect to outparamdel. Outparamdel In the presence of a garbage collector we will be getting rid of stack nsCOMPtr<> usage (using [...]
Posted in Uncategorized on November 12th, 2007 1 Comment »
I added an “ongoing work” and “tools” sections to the Mozilla 2 page. The pork suite now has a wiki page. #mercurial regulars kindly educated me about hg branches. Turned out hgimportsvn tries to map some subversion concepts onto hg branches which causes problems for people checking out pork using never versions of hg. For [...]
Posted in garburator on November 2nd, 2007 3 Comments »
A few weeks ago I convinced myself that is possible to rewrite Mozilla to avoid COMPtrs on the stack. Since then I’ve changed my mind a few times and felt like I may not be able to get this rewrite working. However, after three or four false starts, I finally managed to work out a [...]