Posted in prbool, Uncategorized on June 26th, 2007 Comments Off
New Tool: Prcheck – PRBool’s best friend Mozilla has a number boolean types and most of them are a form of an int. People expect them to behave like a bool, but since they can be assigned more than 1 value for true, this assumption can lead to bugs. Prcheck will mandate that prbools can [...]
Posted in Uncategorized on June 19th, 2007 2 Comments »
Back to Real Life Just over a month ago I ran into this problem. Before last month I hoped to never have to work on the C preprocessor or a parser generator. So much for that plan. Now my head is full of CPP-expansion-related trivia. After a month of design and implementing changes to mcpp, [...]
Posted in squash on June 12th, 2007 Comments Off
This is incredibly exciting: I believe that I finally solved the messy and mind-numbingly boring CPP/C++ integration problem! Having code displaced or generated due to CPP-expansion should no longer be a fatal problem for Squash. I believe macro-expansion is (or was) the single biggest problem between me and large-scale automated refactoring of the Mozilla codebase. [...]