Firefox/Projects/TabCandy/Work: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 20: Line 20:
* [[Firefox/Projects/TabCandy/Design/FirstRun|First Run Experience]]
* [[Firefox/Projects/TabCandy/Design/FirstRun|First Run Experience]]
* [[Firefox/Projects/TabCandy/Design/FirstRun|New Tabs]]
* [[Firefox/Projects/TabCandy/Design/FirstRun|New Tabs]]
= Development =
''These instructions assume you're on a Mac; please update with info for other platforms as needed.''
TabCandy is part of Firefox, so to build it you need to build Firefox. Use the [https://developer.mozilla.org/en/build_documentation basic instructions], with a few exceptions:
* Instead of the mozilla-central branch, use '''ssh://hg.mozilla.org/users/edward.lee_engineering.uiuc.edu/tabcandy-central/'''
* For the time being, we have an assert which causes Firefox to abort at startup. Make sure your .mozconfig file does not include ''ac_add_options --enable-debug''
Once you've done a full build, for future builds you can just package up the various pieces TabCandy needs. One approach is to make a shell script like so:
make -s -j8 -C obj-ff-dbg/browser/locales && make -s -j8 -C obj-ff-dbg/browser/themes && make -s -j8 -C obj-ff-dbg/browser/base && make -s -j8 -C obj-ff-dbg/browser/app
obj-ff-dbg/dist/MinefieldDebug.app/Contents/MacOS/firefox-bin -no-remote -P tcc
This builds just the pieces needed (assuming your build directy is "obj-ff-dbg") and then launches the app (with a profile named "tcc").
The html and javascript files are in '''browser/base/content/tabcandy'''. The images and CSS file are in '''browser/themes/pinstripe/browser/tabcandy''' (for Mac; other platforms coming soon).


= Code Documentation =
= Code Documentation =
68

edits

Navigation menu