-
Archives
- September 2018
- February 2017
- October 2015
- December 2013
- February 2013
- December 2012
- November 2012
- September 2012
- August 2012
- April 2012
- March 2012
- January 2012
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- April 2010
- March 2010
- February 2010
- January 2010
- December 2008
- July 2008
- February 2008
-
Meta
Category Archives: code
Code review: gatekeepers vs. coaches
I wrote a list of code review guidelines for the Servo project last year. They encapsulate the feedback that we expect our project contributors to provide when reviewing code changes, but I want to explore the motivation behind them. You’ll … Continue reading
Posted in code, mozilla
Leave a comment
Creating a C API for a Rust library
Yoric has been doing great work porting Firefox’s client backend to Rust for use in Servo (see telemetry.rs), so I decided to create a C API to allow using it from other contexts. You can observe the general direction of … Continue reading
Posted in code, rust
9 Comments
The Fast and the Furious: bzexport
If you’re a bzexport user, you’ll want to pull the latest revision. It’s recently been getting slower due to the number of http requests that need to be made (the tradeoff here is that it’s also been getting more correct), … Continue reading
Posted in code, mozilla, projects
Leave a comment
nsCOMPtr has never been so pretty
Jim Blandy announced his archer-mozilla pretty-printers for Spidermonkey late last year. I’ve used them a few times while working on some JS proxy bugs, and I’ve found them to be invaluable. So invaluable, in fact, that I’ve written a bunch … Continue reading
Posted in code, mozilla, projects
3 Comments
Self-serve tools: now more likely to work
If you’ve given my self-serve tools a try (in particular, cancel.py) and had it claim that it couldn’t authorize you, it’s time to give it another shot. Steven Fink, being the wonderful person he is, dove in and found some … Continue reading
Build smarter, not harder
I spent the past six weeks roaming around Europe with a netbook, and used that time productively to get some work done on Firefox. Part of that involved building on Windows for the first time, and experiencing the joy of … Continue reading
Posted in code, mozilla
6 Comments
Cancelling builds from the console, now easier than ever!
The self-serve tools, specifically cancel.py has received some important usability upgrades at the urging of jst and ehsan. Now, simply running python cancel.py will be enough to get you going – you’ll be prompted for your username, password, branch and … Continue reading
Posted in code, mozilla, projects
3 Comments
Self-serve, now in bulk
Update: the tool is now easier to use and doesn’t require adding your password as an argument. See this post for more details. I’m a big fan of the self-serve tool that RelEng provided for people with LDAP access. When … Continue reading
Posted in code, mozilla, projects
5 Comments
nsITimer anti-pattern
I’ve filed bug 640629 to address an intermittent source of orange: incorrect nsITimer creation. I first ran across it while working on making httpd.js collect garbage more frequently, a task which quickly turned into orange whack-a-mole as more and more … Continue reading
Posted in code, mozilla
4 Comments
Knowledge++
Nine days ago, I made an off-hand remark in #content that I might be able to get the geolocation service working in Fennectrolysis by the end of the day if my plans worked out. I also remember referring to the … Continue reading
Posted in code, mozilla
4 Comments