Patching Firefox for Atom 1.0
Phil Ringnalda decided to copy me on the Live Bookmarks should support Atom 1.0 bug report. This lead to my developing and testing a patch.
The process was fairly straightforward.
- cvs checkout
- create
.mozconfig
by copying and pasting the Firefox Optimized (Static) example - repeat
make -f client.mk build
, installing the development library found missing each cycle:sudo apt-get install libgtk2.0-dev
sudo apt-get install libidl-dev
sudo apt-get install libxt-dev
killall firefox-bin
fb-opt-static/dist/bin/firefox
Subsequent builds can be done simply by running
make
in the fb-opt-static
directory.
In many ways, developing again in C++ was as comfortable as
putting on an old pair of shoes. The most painful thing was
having to once again get used to a traditional edit-compile-debug
cycle as opposed to the :w
-refresh that I generally
use these days. This was made extra painful by the need to
bring down firefox between tests, as that tended to disrupt my
diversions.
Hmmm, I see a EntityToUnicode method. That might come in handy...