<?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>philipp's weblog &#187; XForms</title>
	<atom:link href="http://philipp.wagner.name/blog/category/xforms/feed/" rel="self" type="application/rss+xml" />
	<link>http://philipp.wagner.name/blog</link>
	<description>whatever comes to a developer's mind</description>
	<lastBuildDate>Wed, 25 Aug 2010 18:43:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Cool!</title>
		<link>http://philipp.wagner.name/blog/2010/08/cool/</link>
		<comments>http://philipp.wagner.name/blog/2010/08/cool/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 18:42:20 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=96</guid>
		<description><![CDATA[Sent out my Mozilla Committer&#8217;s Agreement today!]]></description>
			<content:encoded><![CDATA[<p><a href="http://philipp.wagner.name/blog/wp-content/uploads/2010/08/committers-agreement-web.jpg" rel="lightbox[96]"><img class="size-medium wp-image-97  alignnone" title="Committer's Agreement" src="http://philipp.wagner.name/blog/wp-content/uploads/2010/08/committers-agreement-web-212x300.jpg" alt="" width="212" height="300" /></a></p>
<p>Sent out my Mozilla Committer&#8217;s Agreement today!</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2010/08/cool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla XForms 0.8.7 for Firefox 3.6 released</title>
		<link>http://philipp.wagner.name/blog/2010/05/mozilla-xforms-0-8-7-for-firefox-3-6-released/</link>
		<comments>http://philipp.wagner.name/blog/2010/05/mozilla-xforms-0-8-7-for-firefox-3-6-released/#comments</comments>
		<pubDate>Fri, 28 May 2010 23:59:05 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=87</guid>
		<description><![CDATA[After a (too) long time, we&#8217;ve finally got the XForms release 0.8.7 for Firefox 3.6 out the door. Get it from addons.mozilla.org while it&#8217;s fresh! It fixes many bugs, especially visible will be the better-looking select1 dropdown boxes on Linux and Mac. Please consult the release announcement for a complete list of changes. Known bugs: [...]]]></description>
			<content:encoded><![CDATA[<p>After a (too) long time, we&#8217;ve finally got the XForms release 0.8.7 for Firefox 3.6 out the door. Get it from<a href="https://addons.mozilla.org/de/firefox/addon/824"> addons.mozilla.org</a> while it&#8217;s fresh! It fixes many bugs, especially visible will be the better-looking select1 dropdown boxes on Linux and Mac.</p>
<p>Please consult the <a href="http://lists.w3.org/Archives/Public/www-forms/2010May/0023.html">release announcement</a> for a complete list of changes.</p>
<p>Known bugs:<br />
Inline schemas don&#8217;t work. As a workaround, use an external schema. (bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=567628">#567628</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2010/05/mozilla-xforms-0-8-7-for-firefox-3-6-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Strange bugs and working XForms builds again</title>
		<link>http://philipp.wagner.name/blog/2010/02/strange-bugs-and-working-xforms-builds-again/</link>
		<comments>http://philipp.wagner.name/blog/2010/02/strange-bugs-and-working-xforms-builds-again/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 00:15:48 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=82</guid>
		<description><![CDATA[As a developer you&#8217;re used to deal with strange bugs on a daily basis. The one today was one of that kind. The Python script I use for building the XPIs uploads the finished files using HTTP POST. For building the POST data it uses MultipartPostHandler which I found on the web. But for some [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer you&#8217;re used to deal with strange bugs on a daily basis. The one today was one of that kind. The Python script I use for building the XPIs uploads the finished files using HTTP POST. For building the POST data it uses <a href="http://peerit.blogspot.com/2007/07/multipartposthandler-doesnt-work-for.html">MultipartPostHandler</a> which I found on the web.</p>
<p>But for some time now I got a Python exception: <code>gaierror: (-2, 'Name or service not known')</code>.  And no, it&#8217;s not my name servers, those are up and running. Causing the problem was the following line:</p>
<pre> boundary = mimetools.choose_boundary()
</pre>
<p>Somehow gethostbyname() screwed up (we were switched to new DHCP servers recently) and looking up our own hostname failed. At least it took me some time to look at the right place for that exception. When opening an URL you expect such an exception usually not inside a function giving you a MIME boundary :-)</p>
<p>After all, the XForms builds for Linux are up and running again, now for mozilla-1.9.2 and mozilla-central. Please give these builds a try and report any regressions you find as we plan to release a version for Firefox 3.6 around March.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2010/02/strange-bugs-and-working-xforms-builds-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick note: XForms nightly builds for Firefox 3.5</title>
		<link>http://philipp.wagner.name/blog/2009/12/quick-note-xforms-nightly-builds-for-firefox-3-5/</link>
		<comments>http://philipp.wagner.name/blog/2009/12/quick-note-xforms-nightly-builds-for-firefox-3-5/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 23:44:54 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=75</guid>
		<description><![CDATA[I was finally able to restore the nightly builds for Firefox 3.5 (the switch to Mercurial required a rewrite of the build scripts as well). It should be working now, have a look at the build page for the details. Another quick note: XForms for Firefox 3.6 is on its way.]]></description>
			<content:encoded><![CDATA[<p>I was finally able to restore the nightly builds for Firefox 3.5 (the switch to Mercurial required a rewrite of the build scripts as well). It should be working now, have a look at <a href="http://philipp.wagner.name/mozilla-xforms/">the build page</a> for the details.</p>
<p>Another quick note: XForms for Firefox 3.6 is on its way.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/12/quick-note-xforms-nightly-builds-for-firefox-3-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hooray! XForms for Firefox 3.5 is here!</title>
		<link>http://philipp.wagner.name/blog/2009/07/hooray-xforms-for-firefox-3-5-is-here/</link>
		<comments>http://philipp.wagner.name/blog/2009/07/hooray-xforms-for-firefox-3-5-is-here/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 19:54:45 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=49</guid>
		<description><![CDATA[It took a bit longer than expected, but thanks to the great patience Doron, Aaron and bz had reviewing the last critical bug, it is finally here: The XForms AddOn for Firefox 3.5. Download it now while it&#8217;s fresh :-) The XPI contains binary components for Windows (32bit) and Linux (32 and 64bit). Remember: this [...]]]></description>
			<content:encoded><![CDATA[<p>It took a bit longer than expected, but thanks to the great patience Doron, Aaron and bz had reviewing the last critical bug, it is finally here:</p>
<p>The <a href="http://philipp.wagner.name/mozilla-xforms/xforms-0.8.7pre-ff3.5.xpi">XForms AddOn for Firefox 3.5</a>. Download it now while it&#8217;s fresh :-)</p>
<p>The XPI contains binary components for Windows (32bit) and Linux (32 and 64bit).</p>
<p>Remember: this is an experimental development snapshot, so don&#8217;t be surprised if it kills your cat. But it should still be more stable than the previous release version, as we fixed some crash bugs.</p>
<p>I also added a bit of documentation on how to build Mozilla XForms from source at the <a href="https://developer.mozilla.org/en/XForms/Building_Mozilla_XForms">Mozilla Developer Center</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/07/hooray-xforms-for-firefox-3-5-is-here/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Coming soon: XForms for Firefox 3.5</title>
		<link>http://philipp.wagner.name/blog/2009/06/coming-soon-xforms-for-firefox-3-5/</link>
		<comments>http://philipp.wagner.name/blog/2009/06/coming-soon-xforms-for-firefox-3-5/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 13:21:56 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=46</guid>
		<description><![CDATA[Firefox 3.5 is released and I&#8217;ve heard a couple people asking when XForms will be ready for Firefox 3.5. The answer is: soon. There is one critical bug to be resolved (bug #490983). As soon as this one is commited, I&#8217;ll start building nightly snapshots again and we&#8217;ll see if we can release an official [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 3.5 is released and I&#8217;ve heard a couple people asking when XForms will be ready for Firefox 3.5. The answer is: soon. There is one critical bug to be resolved (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=490983">bug #490983</a>). As soon as this one is commited, I&#8217;ll start building nightly snapshots again and we&#8217;ll see if we can release an official version for Firefox 3.5. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/06/coming-soon-xforms-for-firefox-3-5/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>XForms for Firefox 3.5</title>
		<link>http://philipp.wagner.name/blog/2009/03/xforms-for-firefox-35/</link>
		<comments>http://philipp.wagner.name/blog/2009/03/xforms-for-firefox-35/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 21:36:58 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=33</guid>
		<description><![CDATA[It has been quiet around Mozilla XForms for a while now. But now Beta3 of Firefox 3.5 is out and it&#8217;s time to update the XForms plugin to get it released in time with the official Firefox release. Mozilla switched from CVS to Mercurial (hg) with this release and removed the XForms extension from the [...]]]></description>
			<content:encoded><![CDATA[<p>It has been quiet around Mozilla XForms for a while now. But now Beta3 of Firefox 3.5 is out and it&#8217;s time to update the XForms plugin to get it released in time with the official Firefox release.</p>
<p>Mozilla switched from CVS to Mercurial (hg) with this release and removed the XForms extension from the core tree. We got a new hg repository, but it&#8217;s still empty (<a href="http://hg.mozilla.org/xforms">http://hg.mozilla.org/xforms</a>). So what&#8217;s to do now?</p>
<ol>
<li> Convert the extensions/xforms directory from CVS to hg.</li>
<li>Create a new hg repository on hg.mozilla.org for schema-validation and convert extensions/schema-validation to hg.</li>
<li> Make the XForms extension build with Firefox 3.5 (there has been some cleanup work towards Mozilla2).</li>
</ol>
<p>To get started, I did the CVS to hg conversion for XForms and schema-validatio n.The results are available at <a href="http://philipp.wagner.name/hg">http://philipp.wagner.name/hg</a>. I mainly followed <a href="http://www.gijsk.com/blog/2009/03/moving-from-cvs-to-mercurial/">Gijs instructions for converting Venkman</a>, so that&#8217;s the short version of how I did it:</p>
<ol>
<li>Check out existing code from CVS<br />
<code>$&gt; cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d xforms-cvs mozilla/extensions/xforms</code></li>
<li>Make sure your ~/.hgrc file contains the following lines:<code><br />
[extensions]<br />
hgext.convert=<br />
mq =</code></p>
<p><code>[convert]<br />
hg.usebranchnames=0<br />
hg.clonebranches=1</code></li>
<li>Convert all branches<br />
<code>$&gt; hg --encoding utf8 convert xforms-cvs xforms-hg-initial</code><br />
This may take a while.</li>
<li>Remove the [convert] section from your ~/.hgrc file</li>
<li>Create the authors.txt file with a mapping of CVS usernames to names and e-mail addresses.<br />
For a list of authors use<br />
<code>cd xforms-hg-initial/default &amp;&amp; hg log | grep "user:" | sort | uniq | cut -c14- &gt; ../../authors.txt</code></li>
<li>Convert the default repository to the final XForms repository:<br />
<code>$&gt; hg --encoding utf8 convert --authors authors-merged.txt xforms-hg-initial/default/ xforms-hg-final</code></li>
</ol>
<p>I chose to &#8220;merge&#8221; authors, by mapping multiple e-mail addresses to one (the current one). For schema-validation I did exactly the same and the result is available  in my hg repository.</p>
<p>The final step is go get it all compiling. Using hg annotate I found the relevant bug reports that changed things and I made the required changes to XForms, which resulted in the patch attached to <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=485734">bug #485734</a>.</p>
<p>Now the XForms extension compiles and works as it did before on Firefox 3.5. What&#8217;s left is to get all those outstanding patches into the code. To check it out, use</p>
<p><code>$&gt; hg clone http://hg.mozilla.org/releases/mozilla-1.9.1 mozilla-1.9.1<br />
cd mozilla-1.9.1<br />
$&gt; hg clone http://philipp.wagner.name/hg/xforms extensions/xforms<br />
$&gt; hg clone http://philipp.wagner.name/hg/schema-validation extensions/schema-validation</code><br />
Then building works as it did before.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/03/xforms-for-firefox-35/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XForms for OpenSolaris 2008.11</title>
		<link>http://philipp.wagner.name/blog/2008/12/xforms-for-opensolaris-200811/</link>
		<comments>http://philipp.wagner.name/blog/2008/12/xforms-for-opensolaris-200811/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 15:35:20 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=29</guid>
		<description><![CDATA[I just uploaded a Mozilla XForms XPI for OpenSolaris 2008.11 (x86). Give it a try! http://philipp.wagner.name/mozilla-xforms Building Mozilla on OpenSolaris is fairly straightforward, simply follow https://developer.mozilla.org/en/Solaris_Build_Prerequisites. I needed to disable the crash reporter (but that&#8217;s not needed for XForms anyways).]]></description>
			<content:encoded><![CDATA[<p>I just uploaded a Mozilla XForms XPI for OpenSolaris 2008.11 (x86). Give it a try!</p>
<p><a href="http://philipp.wagner.name/mozilla-xforms">http://philipp.wagner.name/mozilla-xforms</a></p>
<p>Building Mozilla on OpenSolaris is fairly straightforward, simply follow <a href="https://developer.mozilla.org/en/Solaris_Build_Prerequisites">https://developer.mozilla.org/en/Solaris_Build_Prerequisites</a>. I needed to disable the crash reporter (but that&#8217;s not needed for XForms anyways).</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2008/12/xforms-for-opensolaris-200811/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XForms XPI updated</title>
		<link>http://philipp.wagner.name/blog/2008/07/xforms-xpi-updated/</link>
		<comments>http://philipp.wagner.name/blog/2008/07/xforms-xpi-updated/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 19:41:45 +0000</pubDate>
		<dc:creator>Philipp</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=5</guid>
		<description><![CDATA[Last weekend the patch for bug #437483 got committed (it looks like it went to CVS head and branch only, not to mozilla-central &#8212; no idea how that works now). This means that the install.rdf now contains a line like &#60;em:targetPlatform&#62;Linux_x86-gcc3&#60;/em:targetPlatform&#62; The extension manager uses this information to determine if the addon will work on [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend the patch for bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=437483">#437483</a> got committed (it looks like it went to CVS head and branch only, not to mozilla-central &#8212; no idea how that works now). This means that the install.rdf now contains a line like</p>
<pre>&lt;em:targetPlatform&gt;Linux_x86-gcc3&lt;/em:targetPlatform&gt;</pre>
<p>The extension manager uses this information to determine if the addon will work on your platform. Unfortunately, this broke our build scripts and the nightly XPI refused to install.</p>
<p>A similar issue came up with the Firefox 3 release build, which didn&#8217;t work with Firefox 3.0.1 any more.</p>
<p>Both issues are fixed. Please re-download the XForms XPI and you should be ok.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2008/07/xforms-xpi-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
