<?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>Mon, 23 Jan 2012 21:44:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Future of Mozilla XForms</title>
		<link>http://philipp.wagner.name/blog/2011/07/the-future-of-mozilla-xforms/</link>
		<comments>http://philipp.wagner.name/blog/2011/07/the-future-of-mozilla-xforms/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 12:54:08 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=174</guid>
		<description><![CDATA[I received a couple mails and comments lately about Mozilla XForms not being available for Firefox 5 (or on addons.mozilla.org for Firefox 4). I also have been thinking about the future direction the Mozilla XForms extension could and should take. This post tries to outline some of those thoughts. Let&#8217;s start with the facts. On [...]]]></description>
			<content:encoded><![CDATA[<p>I received a couple mails and comments lately about Mozilla XForms not being available for Firefox 5 (or on addons.mozilla.org for Firefox 4). I also have been thinking about the future direction the Mozilla XForms extension could and should take. This post tries to outline some of those thoughts.</p>
<p>Let&#8217;s start with the facts. On the development side, I have been the only person doing coding work on XForms for almost a year now (with great support from Aaron, Alex and Olli, who did all the reviews). Unfortunately, I&#8217;m very limited on time and it has not been much work at all (at least by the results; the various platform changes required me to dig much deeper into platform code than I every thought I would, and it took me quite some time to get used those very different areas of code). This makes development extremely slow and puts the focus mainly on &#8220;keep the thing working&#8221; rather than implementing new features.</p>
<p>On the user&#8217;s side, according to the feedback I get via mail and on the mailing list, and according to the download stats, there are still some users of the XForms extension. (The 0.8.8b1 XPI for Firefox 4 has around 300 downloads a month from my site.)</p>
<p>Finally, the environment side. The XForms extension is a binary component that uses many internal interfaces of the Mozilla platform. This makes it, as the past has shown, highly affected by platform changes. It has always been the case that some changes were required on every major platform release (formerly every .x release, e.g. 3.5, 3.6 etc., now every release, e.g. 5, 6, 7).</p>
<p>Since the 3.x-days, three things changed:</p>
<ol>
<li>No more stable APIs. This has been outlined in [1] and implemented with Firefox 4 (Gecko 2.0). This means we cannot rely on any API to stay stable for more than one major release.</li>
<li>With the Rapid Release Process [2], the new development model since Firefox 5, a major release is released every 6 weeks and users are auto-updated to that release.</li>
<li>Extensions with binary components must be at least recompiled for the new major version, even if no changes to the codebase are necessary. [3]</li>
</ol>
<p>These three points put together mean that not only a new XForms release every 6 weeks is necessary, but also that a growing number of fixes for platform changes is needed.</p>
<p>You probably see the problem now. One developer that&#8217;s short on time has absolutely no chance to do a release every six weeks, and without that the Mozilla XForms extension becomes unusable every six weeks (as said before, users are auto-updated to the new major release).</p>
<p>So, what&#8217;s the conclusion? With the current situation, I will not be able to keep up the speed. If no other developers pop up, I don&#8217;t see a future for the Mozilla XForms extension. I personally will continue to use it in the project I&#8217;m working on (and that will stay on the platform Firefox 3.6 is based on probably), but I will not invest much time into the further development to make it compatible with the latest Firefox release.</p>
<p>Put the other way around, this means: if you are a user of the Mozilla XForms extension and need it to be supported on newer Firefox versions, you might consider joining the development (I will help where ever I can, and I am sure that Aaron, Alex and Olli do the same) or pay someone to do so.</p>
<p>As a final comment, I personally came to the conclusion that XForms as a browser plugin is dead. XForms as technology is still very much relevant, but not for all use cases thought of when initially standardizing XForms 1.0. One of them, replacing the &#8220;old&#8221; HTML4 forms, will probably never happen. HTML5 and its surrounding technologies make the browser much more powerful in a generic way. This makes it possible to provide a much greater user experience with server-side solutions than it was possible a couple years ago. The web and with it the browser market changed drastically over the last couple years, with more competitors and innovations happening at a much faster pace than ever before. By acknowledging this we can use the new opportunities the HTML5-Cloud-Buzzword-Web brings to provide an even better experience for the users of XForms &#8212; unfortunately, the Mozilla XForms extension will not be part of that experience.</p>
<p>&nbsp;</p>
<p>PS: There is much discussion going on in the community right now about<br />
add-on compatibility, including ideas like porting binary addons to<br />
js-ctypes or using the Addon SDK (JetPack). Both options are not really<br />
applicable to XForms, as it is probably unique in the way how deep it<br />
integrates with the platform. Even if they were, a lot of engineering effort would be necessary to utilize those technologies. [4], [5]</p>
<p>&nbsp;</p>
<p>[1] <a href="http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/18f49e75338e4ce0/f42915417230e621?pli=1">http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/18f49e75338e4ce0/f42915417230e621?pli=1</a><br />
[2] <a href="https://wiki.mozilla.org/RapidRelease">https://wiki.mozilla.org/RapidRelease</a><br />
[3] &#8220;We have and we will break add-on API compatibility with every release, certainly binary add-on compat. We will be adding major new features or doing serious re-architecuring with every release.&#8221; &#8212; Asa Dotzler at <a href="http://weblogs.mozillazine.org/gerv/archives/2011/07/firefox_version_numbers_cognitive_disson.html">http://weblogs.mozillazine.org/gerv/archives/2011/07/firefox_version_numbers_cognitive_disson.html</a><br />
[4] <a href="http://xulforge.com/blog/2011/07/version-numbers-add-on-breakage/">http://xulforge.com/blog/2011/07/version-numbers-add-on-breakage/</a><br />
[5] <a href="http://adblockplus.org/blog/binary-xpcom-components-are-dead-js-ctypes-is-the-way-to-go">http://adblockplus.org/blog/binary-xpcom-components-are-dead-js-ctypes-is-the-way-to-go</a><br />
<strong>This is a <a href="http://groups.google.com/group/mozilla.dev.tech.xforms/browse_frm/thread/84a31df9ebdee598#">cross-post</a> from the <a href="https://lists.mozilla.org/listinfo/dev-tech-xforms">mozilla.dev.tech.xforms news group</a>, please follow up there for the further discussion.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2011/07/the-future-of-mozilla-xforms/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Preview version of Mozilla XForms for Firefox 4 available</title>
		<link>http://philipp.wagner.name/blog/2011/01/preview-version-of-mozilla-xforms-for-firefox-4-available/</link>
		<comments>http://philipp.wagner.name/blog/2011/01/preview-version-of-mozilla-xforms-for-firefox-4-available/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 21:42:16 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=130</guid>
		<description><![CDATA[A lot of improvements went into Firefox 4 that also affected compatibility with the Mozilla XForms extension. We have been trying to keep up with the developments and with Beta 8 of Firefox 4 there should be no more breaking changes. To make sure we didn&#8217;t miss any important regressions over the previous versions, I [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of improvements went into Firefox 4 that also affected compatibility with the Mozilla XForms extension. We have been trying to keep up with the developments and with Beta 8 of Firefox 4 there should be no more breaking changes. To make sure we didn&#8217;t miss any important regressions over the previous versions, I put together a preview release of Mozilla XForms for Firefox 4, which is available for download now:</p>
<p><a href="http://philipp.wagner.name/mozilla-xforms/xforms-0.8.8b1.xpi">http://philipp.wagner.name/mozilla-xforms/xforms-0.8.8b1.xpi</a></p>
<p>It requires at least Firefox 4 Beta 8 and works on Windows (x86) and Linux (x86 and x86_64).</p>
<p>Please test this version with your forms and report any problems you find! It helps us to deliver a great version of the extension for Firefox 4!</p>
<p>An (incomplete) <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2011-01-04&amp;query_format=advanced&amp;chfield=bug_status&amp;chfieldfrom=2010-04-27&amp;chfieldvalue=RESOLVED&amp;bug_status=RESOLVED&amp;component=XForms&amp;classification=Components&amp;product=Core">list of changes is available</a>.</p>
<p>Looking forward to your feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2011/01/preview-version-of-mozilla-xforms-for-firefox-4-available/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mozilla XForms for Firefox 4 &#8211; we&#8217;re coming!</title>
		<link>http://philipp.wagner.name/blog/2010/10/mozilla-xforms-for-firefox-4-were-coming/</link>
		<comments>http://philipp.wagner.name/blog/2010/10/mozilla-xforms-for-firefox-4-were-coming/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 20:25:37 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=105</guid>
		<description><![CDATA[Firefox 4 will come with a lot of under-the-hood changes that affected XForms as well. Fixing those issues wasn&#8217;t trivial and took quite some time (the first bug is from February), but as of today I&#8217;m happy to announce that xforms and schema-validation build with the current Mozilla trunk code again. The upcoming Beta 7 [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 4 will come with a lot of under-the-hood changes that affected XForms as well. Fixing those issues wasn&#8217;t trivial and took quite some time (the first bug is from February), but as of today I&#8217;m happy to announce that xforms and schema-validation build with the current Mozilla trunk code again. The upcoming Beta 7 is feature freeze, meaning we (hopefully) don&#8217;t have to worry about breaking changes any more and can focus on getting some long-awaited bug fixes and features done in time for a release of Mozilla XForms together with Firefox 4.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2010/10/mozilla-xforms-for-firefox-4-were-coming/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<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 Wagner</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 Wagner</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 Wagner</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 Wagner</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 Wagner</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 Wagner</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 Wagner</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>
	</channel>
</rss>

