<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>~robcee/ &#187; Code</title>
	<atom:link href="http://antennasoft.net/robcee/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://antennasoft.net/robcee</link>
	<description>more than just sandwiches</description>
	<lastBuildDate>Mon, 19 Jul 2010 17:44:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Inspector Milestone 0.5 Preview</title>
		<link>http://antennasoft.net/robcee/2010/06/24/inspector-milestone-0-5-preview/</link>
		<comments>http://antennasoft.net/robcee/2010/06/24/inspector-milestone-0-5-preview/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 13:13:41 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[inspector]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/2010/06/24/inspector-milestone-0-5-preview/</guid>
		<description><![CDATA[This week I put some more finishing touches on the Style Panel patch and the DOM Panel, which should be ready for landing this week to squeak into the first Beta of Firefox 4. While doing that, I rebased my patches for the new tree panel and fired off a try build for you to [...]]]></description>
			<content:encoded><![CDATA[<p>This week I put some more finishing touches on the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=560692" target="_blank">Style Panel</a> patch and the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=561782" target="_blank">DOM Panel</a>, which should be ready for landing this week to squeak into the first Beta of Firefox 4. While doing that, I rebased my <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=572038" target="_blank">patches</a> for the new tree panel and fired off a try build for you to play with.</p>
<p>Grab it here: <a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/tryserver-builds/rcampbell@mozilla.com-0a0f664c2851/" target="_blank">Inspector Milestone 0.5 Preview</a>.</p>
<p>Other work that&#8217;s moving along nicely:</p>
<ul>
<li>Neil Deakin&#8217;s ongoing <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=552982" target="_blank">improvements</a> to XUL Panels.</li>
<li>David Dahl&#8217;s work on the <a href="http://daviddahl.blogspot.com/2010/06/toast-has-landed-butter-side-up.html" target="_blank">Heads Up Display<br />
</a></li>
<li><a href="https://wiki.mozilla.org/Firefox/4.0_Windows_Theme_Mockups" target="_blank">Firefox 4 Theme</a> work is beginning to land</li>
</ul>
<p>&#8230; Just to name a few.</p>
<p>We also picked up some help from some members of the <a href="http://mozillalabs.com/bespin/" target="_blank">Bespin</a> team this week. We&#8217;re still figuring out what people are going to work on, but it looks like Julian Vierick is going to do some Inspector&lt;-&gt;Console cross connection stuff with the DOM Panel. And maybe, just maybe, Joe Walker is going to help me make the Inspector look pretty. I am hopeful.</p>
<p>Give the preview a try and let me know what you think. Feel free to file bugs in Firefox::Devtools.</p>
<p><strong>Update:</strong> After the rebasing, I&#8217;ve cloned another user repo for ongoing work. It&#8217;s too much of a pain to reintegrate patches from a point in time and merge everything together in a way that won&#8217;t mung up a future extraction. And cloning is cheap. If anyone has a good idea of how to &#8220;<a href="http://joeshaw.org/2010/06/22/667">applepick</a>&#8221; in hg, I&#8217;d love to hear it.</p>
<p>New repo is here: <a href="http://hg.mozilla.org/users/rcampbell_mozilla.com/mozilla-inspector-3">http://hg.mozilla.org/users/rcampbell_mozilla.com/mozilla-inspector-3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2010/06/24/inspector-milestone-0-5-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In the trees</title>
		<link>http://antennasoft.net/robcee/2010/06/14/in-the-trees/</link>
		<comments>http://antennasoft.net/robcee/2010/06/14/in-the-trees/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 01:09:35 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[domplate]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[inspector]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=430</guid>
		<description><![CDATA[Last week I managed to get the Inspector&#8217;s new tree panel working locally. It was a good chunk of work, incorporating about 2000 lines of DOMPlate, converted to a new JavaScript Code Module and another 1000 or so lines of JavaScript and CSS from Firebug. This morning I finished up the styling fixes for Windows [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I managed to get the Inspector&#8217;s new tree panel working locally. It was a good chunk of work, incorporating about 2000 lines of DOMPlate, converted to a new JavaScript Code Module and another 1000 or so lines of JavaScript and CSS from Firebug. This morning I finished up the styling fixes for Windows and Linux and have it running on all three platforms. Mostly.</p>
<div style="text-align: center;"><a href="http://www.flickr.com/photos/robceemoz/4691562274/"><img style="max-width: 800px;" src="http://antennasoft.net/robcee/wp-content/uploads/2010/06/Screen-shot-2010-06-14-at-21.40.40.png" alt="" /></a></div>
<p>To be sure, there are some bugs left. Clicking the twisty images still doesn&#8217;t expand and collapse the trees – you need to click on the tag to do that. It&#8217;s still behaving funny with iframes. I still need to revise the styling for the tree panel and other panels to make it look like I want. I need to add some keyboard controls&#8230;</p>
<p>All of this will need bugs filed and patches written. If you&#8217;d like to help, please feel free to file bugs on the Firefox::Devtools component. Make sure to use Inspector in the subject or whiteboard so we can track it. We also have a <a href="irc://irc.mozilla.org/#devtools">#devtools</a> IRC channel on irc.mozilla.org if you&#8217;d like to pop in and say hi.</p>
<p>Other bits I have left to do include verifying my existing test cases and writing a few new ones. There&#8217;s a lot of debugging code I need to strip out and lastly, I&#8217;ll need to rebase my patches against current mozilla-central and roll it all up into a nice tidy patch for my reviewer victim&#8230; I mean friend. Before that though, I hope to churn out some try builds tomorrow or Wednesday for people to play with.</p>
<p>If you want to check out the source and build your own, it&#8217;s living in <a href="http://hg.mozilla.org/users/rcampbell_mozilla.com/mozilla-inspector-2/" target="_blank">http://hg.mozilla.org/users/rcampbell_mozilla.com/mozilla-inspector-2/</a>. Careful, it&#8217;s fluxy!</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2010/06/14/in-the-trees/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Inspector Landing</title>
		<link>http://antennasoft.net/robcee/2010/05/14/inspector-landing/</link>
		<comments>http://antennasoft.net/robcee/2010/05/14/inspector-landing/#comments</comments>
		<pubDate>Fri, 14 May 2010 16:24:24 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[devtools]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=413</guid>
		<description><![CDATA[A couple of months ago, I started working on a new feature for Firefox, the first part of which landed last night and is in today’s nightly. It&#8217;s pretty rough-looking still, but over the next few days and weeks we&#8217;ll be landing new features as they&#8217;re written and struggle through the review process. There are [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of months ago, I started working on a new <a href="https://wiki.mozilla.org/Firefox/Projects/Inspector">feature</a> for Firefox, the first part of which landed last night and is in today’s <a href="http://nightly.mozilla.org/">nightly</a>. It&#8217;s pretty rough-looking still, but over the next few days and weeks we&#8217;ll be landing new features as they&#8217;re written and struggle through the review process. There are already two partially-formed features waiting in the wings which will make this tool almost useful.</p>
<p>What are we looking at and how do you find it? In the Tools menu, there&#8217;s a new menu item labeled &#8220;Inspect&#8221;. Selecting this (or using the Cmd/Ctrl-shift-I hotkey [subject-to-change]) will bring up a panel at the bottom of the Firefox window with a tree representing the nodes in the HTML page you&#8217;re on. Hovering over elements in the page will select the appropriate node in the tree. You can finish dynamic inspection (i.e., hover over node to inspect) by clicking in the highlighter panel over a node, or hitting ESC or Return on your keyboard.</p>
<p>To close the Inspector panels, reselect Tools:Inspect from the menus or use the Cmd-Shift-I command shortcut again.</p>
<p style="text-align: center;"><a title="Screen shot 2010-04-23 at 15.48.39 by robceemoz, on Flickr" href="http://www.flickr.com/photos/robceemoz/4546455090/"><img class="aligncenter" src="http://farm5.static.flickr.com/4042/4546455090_26ae69d61b.jpg" alt="Screen shot 2010-04-23 at 15.48.39" width="500" height="397" /></a></p>
<p>If the tree display looks a little familiar, it&#8217;s because you&#8217;re looking at an inDOMView-based tree widget. This is the same widget used in DOM Inspector, albeit a little differently-configured. This one&#8217;s setup to include all attributes under a node and their values.</p>
<p>Currently, the panel is undecorated. We&#8217;re awaiting a patch from Neil Deakin to provide title bars for panels. You might find that the highlighter (also implemented as a panel floating over the content area) sometimes obscures the tree panel. This is also a bug in progress. You can read more about some of the additional panel improvements Neil has underway on the Mozilla <a href="https://wiki.mozilla.org/XUL:Panel_Improvements">wiki</a>.</p>
<p>And there are <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=565075">bugs</a>. Some are addressed in downstream patches. Others are waiting to be fixed. Still others are, I&#8217;m sure, unknown. Testing this out everywhere you can will be helpful. If you find something, do a search in Bugzilla in the <a href="https://bugzilla.mozilla.org/buglist.cgi?resolution=---&amp;classification=Client%20Software&amp;query_format=advanced&amp;bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;component=Developer%20Tools&amp;product=Firefox">Firefox::Devtools</a> component, and if you don&#8217;t see a match for it, feel free to <a href="https://bugzilla.mozilla.org/enter_bug.cgi?alias=&amp;assigned_to=nobody%40mozilla.org&amp;blocked=&amp;bug_file_loc=http%3A%2F%2F&amp;bug_severity=normal&amp;bug_status=NEW&amp;cf_blocking_191=---&amp;cf_blocking_192=---&amp;cf_blocking_193=---&amp;cf_status_191=---&amp;cf_status_192=---&amp;cf_status_193=---&amp;comment=&amp;component=Developer%20Tools&amp;contenttypeentry=&amp;contenttypemethod=autodetect&amp;contenttypeselection=text%2Fplain&amp;data=&amp;dependson=&amp;description=&amp;flag_type-203=X&amp;flag_type-270=X&amp;flag_type-271=X&amp;flag_type-325=X&amp;flag_type-369=X&amp;flag_type-37=X&amp;flag_type-370=X&amp;flag_type-385=X&amp;flag_type-4=X&amp;flag_type-485=X&amp;flag_type-486=X&amp;flag_type-5=X&amp;flag_type-589=X&amp;flag_type-590=X&amp;flag_type-604=X&amp;flag_type-605=X&amp;flag_type-607=X&amp;flag_type-617=X&amp;flag_type-619=X&amp;form_name=enter_bug&amp;keywords=&amp;maketemplate=Remember%20values%20as%20bookmarkable%20template&amp;op_sys=All&amp;priority=--&amp;product=Firefox&amp;qa_contact=developer.tools%40firefox.bugs&amp;rep_platform=All&amp;short_desc=&amp;status_whiteboard=&amp;target_milestone=---&amp;version=unspecified">file a bug</a>. If you&#8217;re really keen, attach a fix to it. We love that kind of thing.</p>
<p>Next up are the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=560692">Style</a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=561782">DOM</a> panels which I am hoping can land within the week. I&#8217;ll be rebasing the patches in those bugs by end of day. You will also see a toolbar appear on top of the tree panel. I&#8217;ll blog about these features as they materialize in nightlies. I also plan on filing top-level bugs for the remaining features on the Inspector project page. If you&#8217;d like to help out, feel free to contact me and I can point you to what needs some effort. Whether it&#8217;s writing test-cases or feature code, there&#8217;s lots to go around.</p>
<p>All of this is moving towards a vision of a simple and fun-to-use web page inspector that will be shipping with the browser. There&#8217;s still a lot of work to do on it, but we&#8217;re making steady progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2010/05/14/inspector-landing/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Copy Bookmarklet</title>
		<link>http://antennasoft.net/robcee/2009/07/21/copy-bookmarklet/</link>
		<comments>http://antennasoft.net/robcee/2009/07/21/copy-bookmarklet/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 17:04:06 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[bookmarklets]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[keyconfig]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/2009/07/21/copy-bookmarklet/</guid>
		<description><![CDATA[I found a cool little feature this morning while poking around in Firebug&#8217;s command line code. If you expand the Console&#8217;s command line to the large area (using the little up arrow on the right of the command line), you can enter a block of text, nicely formatted. This is probably not news to anyone. [...]]]></description>
			<content:encoded><![CDATA[<p>I found a cool little feature this morning while poking around in Firebug&#8217;s command line code. If you expand the Console&#8217;s command line to the large area (using the little up arrow on the right of the command line), you can enter a block of text, nicely formatted. This is probably not news to anyone. Though if you click the little &#8220;Copy&#8221; button at the bottom of the large command line panel, it trims out the newlines and prepends &#8220;javascript: &#8221; on the front of the line, producing text that looks like this:</p>
<div class="code">javascript:var s = document.getSelection(); if (s) { window.open(s); } else { alert(&#8220;No selection&#8221;); } void(0);</div>
<p>From this:</p>
<div align="center"><img src="http://antennasoft.net/robcee/wp-content/uploads/2009/07/copyBookmarklet.png" alt="copy bookmarklet" /> </div>
<p>(Firefox adds %20 for each of the spaces when you save it as a bookmarklet)</p>
<p>The above snippet grabs the currently selected text in a web-page and opens it in a new window. Add it to a bookmarklet of your own on your toolbar and you have a convenient way to open new text in a separate tab. For bonus points, install the <a href="https://addons.mozilla.org/en-US/firefox/addon/1537" target="_blank">keyconfig</a> extension to create a keyboard shortcut (you&#8217;ll need to force-install the extension and write a little function to get that to work). Thanks to <a target="_blank" href="http://www.beatnikpad.com/">Neil Lee</a> for the keyconfig tip!</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2009/07/21/copy-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FireUnit &#8211; the early years</title>
		<link>http://antennasoft.net/robcee/2008/10/07/fireunit-the-early-years/</link>
		<comments>http://antennasoft.net/robcee/2008/10/07/fireunit-the-early-years/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 20:05:25 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[fireunit]]></category>
		<category><![CDATA[unittest]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/2008/10/07/fireunit-the-early-years/</guid>
		<description><![CDATA[One of our goals for moving forward with Firebug is to build a system to run automated unit tests for it. Currently, Firebug is modified, packaged and then tested by a small (but enthusiastic!) group of developers. When changes are made to the codebase, the area under development might be tested by the developer, but [...]]]></description>
			<content:encoded><![CDATA[<p>One of our goals for moving forward with Firebug is to build a system to run automated unit tests for it. Currently, Firebug is modified, packaged and then tested by a small (but enthusiastic!) group of developers. When changes are made to the codebase, the area under development might be tested by the developer, but there&#8217;s no way of knowing if what you&#8217;ve done has broken some other part of the application. As a friend of mine is fond of saying, software is hard.</p>
<p>Enter FireUnit! An extension for Firebug that aims to be able to test Firebug itself, and later on, perhaps be a useful framework for developing unittests for the web. It&#8217;s still very early on, but there&#8217;s a core emerging.</p>
<p>Installing FireUnit is currently a bit of a manual affair. Download the source code from the github <a target="_blank" href="http://github.com/jeresig/fireunit/tree/master">repository</a> and extract the downloaded zip or tar file to your local filesystem.</p>
<p>Open your profile/extensions directory for the Firefox profile that you use with Firebug. Create a new empty text file there with the name &#8220;fireunit@mozilla.com&#8221; (no quotes, of course). In this text file, add the full path to the FireUnit directory you unpacked in the previous step. E.g., &#8220;/Volumes/Data/Projects/FIREBUG/fireunit&#8221; in my case.
<div align="center"><img src="http://antennasoft.net/robcee/wp-content/uploads/2008/10/picture-1.png" alt="" /><br /><small><small><i>Test panel of FireUnit after running commandline.html</i></small></small></div>
<p>When you open/restart Firefox with this profile and open Firebug, you should now see a new &#8220;Test&#8221; panel in the list of tabs. Go to the location bar and type in / paste chrome://fireunit/content/test/commandline.html. You should see some flickering as FireUnit runs through the tests in that commandline.html. When done, you should see a bunch of passes listed in the Test panel (hopefully no failures!).</p>
<p>While I&#8217;m rambling about testing, I should mention that there will soon be a new alpha version of Firebug 1.3 (a4) available for download at <a target="_blank" href="http://getfirebug.com/releases/firebug/1.3/">getfirebug.com/releases/firebug1.3</a>. This would be an ideal version for you to try out FireUnit on! For the more adventurous in the crowd, Chromebug 0.3a8 is R261 on <a target="_blank" href="https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/chromebug">https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/chromebug</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2008/10/07/fireunit-the-early-years/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building Chromebug</title>
		<link>http://antennasoft.net/robcee/2008/08/29/building-chromebug/</link>
		<comments>http://antennasoft.net/robcee/2008/08/29/building-chromebug/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 21:31:58 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Chromebug]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Build]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=110</guid>
		<description><![CDATA[This week was a pretty incredible week for web stuff. The Labs people kicked off their Ubiquity prototype, letting the world get a taste for some of what will be possible through natural language processing and the browser. I also discovered a new feed reading add-on for Firefox called Feedly which does some very cool [...]]]></description>
			<content:encoded><![CDATA[<p>This week was a pretty incredible week for web stuff. The <a href="http://labs.mozilla.com/" target="_blank">Labs</a> people kicked off their <a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/" target="_blank">Ubiquity</a> prototype, letting the world get a taste for some of what will be possible through natural language processing and the browser. I also discovered a new feed reading add-on for Firefox called <a href="http://feedly.com/" target="_blank">Feedly</a> which does some very cool things with Google Reader to present web feeds in a new way. While reeling from all this new-found power, I had an intense meeting with John Barton who walked me through the setup procedure for Chromebug.</p>
<p>First, there are a couple of caveats about Chromebug. It&#8217;s still in an experimental state. Some parts work well, like the inspection of a chrome window&#8217;s DOM tree and CSS. Other parts are a little flakey or down-right broken. As of right now, the default build instructions will attach you to a 1.3 version of Firebug which has some improvements to handling large script files but is also somewhat broken. It should improve shortly.</p>
<p><a title="chromebug, by robceemoz" href="http://flickr.com/photos/robceemoz/2810151738/"><img src="http://farm4.static.flickr.com/3293/2810151738_fcbc2f9f81_m.jpg" align="middle" width="240" height="138" ></a></p>
<p>So, with that out of the way, I&#8217;ll run through a quick Chromebug setup and install. The <a href="https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/chromebug/Readme.txt" target="_blank">instructions</a> are on the sourceforge page for <a href="http://sourceforge.net/projects/fireclipse">Fireclipse</a>, a plugin for Eclipse that adds some debugging capabilities for Firefox and/or JavaScript.</p>
<p><strong>Step 1</strong>. From a suitable directory on your computer, check out the chromebug sourcecode from svn. There are external svn references to include two other add-ons, chromelist and firebug. These will get checked out as well.</p>
<div class="code">svn co https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/ fireclipse/extensions</textarea></div>
<p><strong>Step 2</strong>. Create a new <a href="http://support.mozilla.com/en-US/kb/Profiles" target="_blank">profile</a> for Firefox using the <a href="http://kb.mozillazine.org/Profile_Manager" target="_blank">Profile Manager</a>. I called mine &#8220;Chromebug&#8221;. Make sure you start Firefox with this new profile to finish the creation process.</p>
<p><strong>Step 2a</strong>. Make note of the location of this new profile. You&#8217;ll need the full path for the following step. On Windows, this would typically be in &#8220;C:\Documents and Settings\%USERNAME%\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.Chromebug\&#8221;. Replace %USERNAME% with your username, and xxxxxxxxxx with some randomly generated string. Just look for *.Chromebug in that directory. You will need this for the &#8220;install.dir&#8221; property in step 4 below.</p>
<p><strong>Step 3</strong>. In a console (or terminal window), cd to the chromebug directory you checked out earlier. E.g., cd ~/Projects/fireclipse/extensions/chromebug</p>
<p><strong>Step 4</strong>. Create a local.properties file using your favorite text editor in this directory. Add the following properties to it (each property should be on a single line, regardless of how this blog breaks it up):</p>
<div class="code">install.dir=C:/Documents and Settings/rob/Application Data/Mozilla/Firefox/Profiles/chromebug<br />
firebug.dir=../firebug/branches/firebug1.3<br />
chromelist.dir=../chromelist</div>
<p><strong>Step 5</strong>. Create links to the chromebug extensions. This can be most-easily accomplished using the build.xml file provided in the fireclipse/extensions/chromebug directory and the Java build utility <a href="http://ant.apache.org/" target="_blank">ant</a>. If you don&#8217;t have ant installed, you can do this manually as per the <a href="https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/chromebug/Readme.txt" target="_blank">instructions</a> in the included readme file. It&#8217;s standard extension development <a href="http://developer.mozilla.org/en/Setting_up_extension_development_environment#Custom_code_location" target="_blank">linkage</a>.</p>
<p>And now you should be ready to fire it up using (on windows):</p>
<div class="code">firefox.exe -chrome chrome://chromebug/content/chromebug.xul -p chromebug -firefox [optional-url]</textarea></div>
<p>Replace firefox.exe with firefox-bin on unixey OSes. You should see two windows open. One, a smaller window with the title Chromebug, the other, a standard browser window. Before you get too excited and jump in, you should quit the application and restart it (again, using the above command) to make sure the chrome files get registered properly. Now you should be ready to play!</p>
<p>Please keep in mind that Chromebug is experimental. There&#8217;s a lot of code in there and not all of it&#8217;s working. We are interested in getting more people using it and reporting problems though so check it out, and if you encounter any problems, feel free to come to #firebug in irc.mozilla.org and ask questions. You may have better luck using Firebug 1.2 instead of 1.3 currently, but I haven&#8217;t tested that myself. It should be a matter of changing the firebug.dir property in the local.properties file from step 5 above.</p>
<p>I&#8217;d like to thank John Barton for patiently walking me through the above and giving me a walkthrough of the code itself. It&#8217;s incredibly cool stuff and I&#8217;d love to see it become part of the standard arsenal of extension development tools as well as part of the toolkit for developing firefox front end features. In the coming weeks, I&#8217;ll post follow-ups on the state of chromebug and what you can do with it.</p>
<p>Happy debugging!</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2008/08/29/building-chromebug/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WikifyTabs</title>
		<link>http://antennasoft.net/robcee/2008/08/26/wikifytabs/</link>
		<comments>http://antennasoft.net/robcee/2008/08/26/wikifytabs/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 12:40:57 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[tabs]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=86</guid>
		<description><![CDATA[This weekend I took a bit of time out of my busy schedule of barbecuing and hiking among the rocks to write a little extension. A visiting friend asked if there was an easy way to get a list of the currently open tabs to enter in a wiki page. I tried various &#8220;bookmark all [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend I took a bit of time out of my busy schedule of barbecuing and hiking among the <a target="_blank" href="http://www.flickr.com/photos/robceemoz/sets/72157604999862514/">rocks</a> to write a little extension. A visiting friend asked if there was an easy way to get a list of the currently open tabs to enter in a wiki page. I tried various &#8220;bookmark all tabs&#8221; and export options but nothing seemed to fit the bill.</p>
<p>Enter <a target="_blank" href="http://antennasoft.net/robcee/wikifytabs/">WikifyTabs</a>! It does just what we were looking for, creates a blank page and dumps the currently open tabs into it in MediaWiki markup. Pretty simple, but kind of useful. It also fits in with some of the <a target="_blank" href="http://jonoscript.wordpress.com/2008/08/21/more-questions-and-no-answers-about-tabs/">ongoing</a> <a target="_blank" href="http://labs.mozilla.com/2008/08/new-tab-concepts/">discussion</a> on Planet right now about how to improve the <a target="_blank" href="http://jboriss.wordpress.com/2008/08/22/tab-view-vs-application-view/">display</a> and access of tabs. (Aside: I still love <a target="_blank" href="http://en.design-noir.de/mozilla/ctrl-tab/">ctrl-tab</a>, even though it might get changed before the final version of Firefox 3.1). Imagine a similar list of tabs with functional links in an about:tabs page. I may add that to the extension. Other possible additions include options to produce different types of code or markup, context menus in text areas to insert directly and copying wikified or bbcode links directly from the tab bar to the clipboard.</p>
<p>Oh, and I used <a target="_blank" href="http://getfirebug.com/">Firebug 1.2.0</a> to help debug my extension. It was finished up by John Barton, <a target="_blank" href="http://www.softwareishard.com/blog/">Jan Odvarko</a> and a cast of &#8230; several others this weekend. We released the final version yesterday and updates should be available through <a href="https://addons.mozilla.org/en-US/firefox/addon/1843">AMO</a>. If you run into any problems, please file an issue on the <a target="_blank" href="http://code.google.com/p/fbug/issues/list">google code page</a>.</p>
<p>(I would be remiss in not sending special thanks to JOEDREW!, dria, gavin and yes, even kev for helpful grammar debugging of my early morning post)</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2008/08/26/wikifytabs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Correct Term is &#8220;Firebuggist&#8221;</title>
		<link>http://antennasoft.net/robcee/2008/07/17/the-correct-term-is-firebuggist/</link>
		<comments>http://antennasoft.net/robcee/2008/07/17/the-correct-term-is-firebuggist/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:00:53 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Meta]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[updater]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=80</guid>
		<description><![CDATA[After the Firefox 3 Release Week excitement, I kind of zoned-out for a bit and forgot about my blog. In an attempt to re-invigorate it, I&#8217;ve updated the theme to something a little less &#8220;newspapery&#8221; and should be able to get it looking a bit better than it did out of the box. It&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>After the <a href="http://antennasoft.net/robcee/2008/06/17/firefox-3-download-day/">Firefox 3 Release Week</a> excitement, I kind of zoned-out for a bit and forgot about my blog. In an attempt to re-invigorate it, I&#8217;ve updated the theme to something a little less &#8220;newspapery&#8221; and should be able to get it looking a bit better than it did out of the box. It&#8217;s a work in progress and some things still don&#8217;t look quite right, but I have <a href="http://getfirebug.com/" target="_blank">Firebug</a> to help me fiddle with the CSS and layout. Nixing all instances of &#8220;Arial&#8221; was a good place to start. Also, while I&#8217;m rambling on about my blog, I should mention that <a href="http://wordpress.org/development/2008/07/wordpress-26-tyner/" target="_blank">WordPress 2.6</a> is out and if you&#8217;re using that platform, you should really update. Trust me, it&#8217;s nice.</p>
<p>Speaking of Firebug, it looks like I&#8217;ll have plenty of opportunity to play with it now as I&#8217;m going to be helping out with that project full-time. I&#8217;m really excited to be working on development tools again and already have a few ideas for features or extensions. (Internet-famous) John Resig posted a great <a href="http://ejohn.org/blog/powering-a-web-revolution/" target="_blank">article</a> a couple of weeks ago and I&#8217;m looking forward to working with him, <a href="http://www.softwareishard.com/" target="_blank">Jan Odvarko</a> and the Firebug team to make it the awesomest, standards-based web-development tool in the universe. I&#8217;m hoping to write another post in a few days about some of those ideas. In the meantime, I have a couple of little patches to finish up before completing the move.</p>
<p>From an organizational perspective, this means I&#8217;ll be moving into the Evangelism Team with <a href="http://shaver.off.net/diary/tag/evangelism/" target="_blank">Mike Shaver</a> and friends. I&#8217;ll still be helping field questions about the unittest infrastructure if they come up, but inquiries and bug reports should go to <a href="http://oduinn.com/">John O&#8217;Duinn</a> and his team of Excellent Release Engineers.</p>
<p>Thanks to everyone for making this shift possible and to everyone who sent congratulatory notes. Everyone is Awesome! <img src='http://antennasoft.net/robcee/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2008/07/17/the-correct-term-is-firebuggist/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
