codebutler/firesheep — pull request #153 by psagers (2011-10-12 16:49:57+00:00)
Title: OS X updates

Here are the changes we've made to Firesheep. The firefox5 branch includes a fix to the OS X service enumeration as well as a variety of handler updates. The OS X fix kind of happened in stages, from just-fix-the-crash to wait-I-broke-something-else to let's-kill-this-duplicated-code.

I also created a branch called auto-interface, which adds the Automatic option to the top of the capture menu, if supported. The backend library gains an API called primary_interface, which is pretty self-explanatory. It can return null if the platform doesn't support it or just can't find one. This feature included a certain amount of code factoring to clean things up and avoid duplication. You'll want to take a good look at this; my c++ is very rusty, so it's entirely possible that I messed up the memory management somewhere.

Thanks