<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>xulrunner &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/xulrunner/</link>
	<description>Feed of posts on WordPress.com tagged "xulrunner"</description>
	<pubDate>Mon, 30 Nov 2009 06:44:36 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Karmic; unable to create new workspace in eclipse (RSA)]]></title>
<link>http://petejcullen.wordpress.com/2009/11/25/karmic-unable-to-create-new-workspace-in-eclipse-rsa/</link>
<pubDate>Wed, 25 Nov 2009 12:24:19 +0000</pubDate>
<dc:creator>petejcullen</dc:creator>
<guid>http://petejcullen.wordpress.com/2009/11/25/karmic-unable-to-create-new-workspace-in-eclipse-rsa/</guid>
<description><![CDATA[I have been running Rational Software Architect quite happily since the upgrade from Jaunty to Karmi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have been running Rational Software Architect quite happily since the upgrade from Jaunty to Karmic, except for a problem with button clicks (<a href="http://petejcullen.wordpress.com/2009/11/17/karmic-first-impressions/" target="_blank">http://petejcullen.wordpress.com/2009/11/17/karmic-first-impressions/</a>). I did however get further problems when attempting to create a new workspace. The following message were written to the .metadata/.log in my workspace directory:</p>
<blockquote><p>!ENTRY org.eclipse.osgi 4 0 2009-11-25 11:23:49.744<br />
!MESSAGE Application error<br />
!STACK 1<br />
org.eclipse.swt.SWTError: XPCOM error -2147467262<br />
at org.eclipse.swt.browser.Mozilla.error(Unknown Source)<br />
at org.eclipse.swt.browser.Mozilla.setText(Unknown Source)<br />
at org.eclipse.swt.browser.Browser.setText(Unknown Source)<br />
&#8230;</p></blockquote>
<p>and</p>
<blockquote><p>!ENTRY org.eclipse.ui.workbench 4 0 2009-11-25 11:23:49.719<br />
!MESSAGE Widget disposed too early!<br />
!STACK 0<br />
java.lang.RuntimeException: Widget disposed too early!<br />
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(Unknown Source)<br />
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)<br />
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)<br />
&#8230;</p></blockquote>
<p>The problem is caused by the welcome screen that is displayed when you first create a workspace (the issue is with the version of XULRunner used by Firefox in Karmic). As a workaround you can do the following:</p>
<blockquote><p>echo &#8220;org.eclipse.ui/showIntro=false&#8221; &#62; /tmp/noWelcomeScreen.ini<br />
eclipse -pluginCustomization /tmp/noWelcomeScreen.ini</p></blockquote>
<p>(fix found in the following bug report: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=483832" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=483832</a>)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ODF Viewer Beta 2 ☆]]></title>
<link>http://macin.wordpress.com/2009/10/26/odf-viewer-beta-2-%e2%98%86/</link>
<pubDate>Sun, 25 Oct 2009 16:13:38 +0000</pubDate>
<dc:creator>kabbala</dc:creator>
<guid>http://macin.wordpress.com/2009/10/26/odf-viewer-beta-2-%e2%98%86/</guid>
<description><![CDATA[OpenDocument Viewer Beta2 (2007-01-17) Daniel Carrera, Alex Hudson, Roman Fordinal, Eugene Prigorodo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div style="text-align:center;">
<table border="0" align="center">
<tbody>
<tr align="center">
<td width="48" valign="top"><a href="http://macin.wordpress.com/files/2009/10/odf-viewer-beta-2-icon.png"><img src="http://macin.wordpress.com/files/2009/10/odf-viewer-beta-2-icon.png?w=48" alt="ODF Viewer Beta 2 Icon" title="ODF Viewer Beta 2 Icon" width="48" height="48" class="alignnone size-thumbnail wp-image-9969" /></a></td>
<td><a href="http://opendocumentfellowship.com/odfviewer">OpenDocument Viewer</a> Beta2 <a href="http://lists.opendocumentfellowship.com/pipermail/odf-discuss/2007-January/004752.html">(2007-01-17)</a><br />
<a href="http://daniel.carrera.bz/">Daniel Carrera</a>, <a href="http://www.alexhudson.com/">Alex Hudson</a>, Roman Fordinal, Eugene Prigorodov &#124; OpenDocument Fellowship</td>
</tr>
</tbody>
</table>
</div>
<p>OpenDocument Fellowship에서 제공하는 무료 ODF 뷰어.</p>
<p>맥에서는 텍스트 편집기(TextEdit.app)에서 ODT 문서를 열어볼 수 있다.</p>
<div style="text-align:center;">무료 · <a href="http://friendsofopendocument.com/fellowship/ODF-Viewer-MacOS-Beta2.dmg">download</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[0x80004005]]></title>
<link>http://shityoucantremember.wordpress.com/2009/08/17/0x80004005/</link>
<pubDate>Mon, 17 Aug 2009 20:28:15 +0000</pubDate>
<dc:creator>shityoucantremember</dc:creator>
<guid>http://shityoucantremember.wordpress.com/2009/08/17/0x80004005/</guid>
<description><![CDATA[I sat down today coding away on my XULRunner application when I came across this error: [Exception..]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I sat down today coding away on my XULRunner application when I came across this error:</p>
<p><code>[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/bindings/browser.xml ::  :: line 644"  data: no]</code></p>
<p>I couldn&#8217;t find anything really useful on Google about it, as most of the posts were about different extensions to Firefox. The code I had was roughly:</p>
<p><code>vbox.setAttribute("flex", "1000");<br />
vbox.appendChild(browser);<br />
browser.setAttribute("type", "content-targetable");<br />
browser.setAttribute("flex", "1000");<br />
browser.setAttribute("src", uri);</code></p>
<p>The solution was super-simple. Just set the attributes of the browser object <em>before</em> adding it to its parent element. Ta-da! (At least it worked for me&#8230;)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Come risolvere XULRunner error di Firefox]]></title>
<link>http://mborrelli.wordpress.com/2009/07/28/come-risolvere-xulrunner-error-di-firefox/</link>
<pubDate>Tue, 28 Jul 2009 07:47:24 +0000</pubDate>
<dc:creator>mborrelli</dc:creator>
<guid>http://mborrelli.wordpress.com/2009/07/28/come-risolvere-xulrunner-error-di-firefox/</guid>
<description><![CDATA[Eccoci tornati a parlare per la prima volta di broswer ed in particolar modo di errori. Quest&#8217;]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Eccoci tornati a parlare per la prima volta di broswer ed in particolar modo di errori. Quest&#8217;oggi vedremo come risolvere l&#8217;XULRunner error all&#8217;avvio di Mozilla Firefox. Nel messaggio di errore che compare dovreste leggere qualcosa di simile:</p>
<div style="margin-left:40px;"><span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"><span class="Apple-style-span" style="color:#333333;font-family:'Lucida Grande';font-size:12px;line-height:16px;"><span style="font-weight:bold;">XULRunner-</span><br style="font-weight:bold;margin:0;padding:0;" /><span style="font-weight:bold;">Error: Platform version &#8216;1.9.0.4&#8242; is not compatible with</span><br style="font-weight:bold;margin:0;padding:0;" /><span style="font-weight:bold;">minVersion &#62;= 1.9.0.5</span><br style="font-weight:bold;margin:0;padding:0;" /><span style="font-weight:bold;">maxVersion &#60;= 1.9.05</p>
<p></span></span></span></div>
<p>I numeri delle versioni possono anche cambiare non vi preoccupate se non è uguale al vostro. E&#8217; un errore che può essere causato dall&#8217;aggiornamento del broswer ed è risolvibile in pochissimo tempo, ecco cosa dovete fare:</p>
<ul>
<li>Andare nella directory principale e trovare la cartella di installazione di Firefox C:\Programmi\Mozilla Firefox</li>
<li>Eseguire una copia di backup del file applicatio.ini</li>
<li>Aprire il file con un editor di testo (blocco note ec&#8230;)</li>
<li>Trovare la riga <span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"><span class="Apple-style-span" style="color:#333333;font-family:'Lucida Grande';font-size:12px;line-height:16px;">[Gecko] attribute &#60;MinVersion=1.9.0.6&#62;
<p></span></span></li>
<li>Cambiare l&#8217;ultima cifra del numero della versione in <span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"><span class="Apple-style-span" style="color:#333333;font-family:'Lucida Grande';font-size:12px;line-height:16px;">&#60;MinVersion=1.9.0.5&#62;</span></span></li>
<li>Salvare il file e riavviare Firefox</li>
</ul>
<p>Adesso tutto dovrebbe essere tornato nella norma, la procedura prevede di cambiare l&#8217;ultimo numero (digit nel gerco informatico) del MinVersion di Firefox. Una procedura facile e veloce che funziona, se avete problemi contattatemi e lasciate un commento. Alla prossima!<br />
<span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"><span class="Apple-style-span" style="color:#333333;font-family:'Lucida Grande';font-size:12px;line-height:16px;"> </span></span><span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"><span class="Apple-style-span" style="color:#333333;font-family:'Lucida Grande';font-size:12px;line-height:16px;"> </span></span><span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"> </span><span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"> </span><span class="Apple-style-span" style="border-collapse:separate;color:#536482;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"> </span></p>
<p>Condividi su:  <a title="condividi su Facebook" href="http://www.facebook.com/sharer.php?u=http://mborrelli.wordpress.com/2009/07/28/come-risolvere-xulrunner-error-di-firefox/"><img src="http://static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981" alt="" /></a> <a title="Condividi su Delicious" href="http://del.icio.us/post?url=http://mborrelli.wordpress.com/2009/07/28/come-risolvere-xulrunner-error-di-firefox/"><img src="http://www.workingcapital.telecomitalia.it/images/addthis/icon_delicious.gif" alt="" /> </a><a title="Condividi su Twitter" href="http://twitter.com/home?status=http://mborrelli.wordpress.com/2009/07/28/come-risolvere-xulrunner-error-di-firefox/"><img src="http://www.beppegrillo.it/immagini/Twitter-icon.gif" alt="" /></a></p>
<div class="flockcredit" style="text-align:right;color:#CCC;font-size:x-small;">Blogged with the <a style="color:#999;font-weight:bold;" title="Flock Browser" href="http://www.flock.com/blogged-with-flock" target="_new">Flock Browser</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installing ChatZilla without Firefox!]]></title>
<link>http://electricsblog.wordpress.com/2009/07/23/installing-chatzill-no-ff/</link>
<pubDate>Thu, 23 Jul 2009 13:39:08 +0000</pubDate>
<dc:creator>Ɛʆǝ¢ƬяΪכ▓щ αזﮎξ Ʀ</dc:creator>
<guid>http://electricsblog.wordpress.com/2009/07/23/installing-chatzill-no-ff/</guid>
<description><![CDATA[&nbsp;&nbsp;I&#8217;m sure you&#8217;ve heard of ChatZilla. If you haven&#8217;t, it&#8217;s probabl]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>&#160;&#160;I&#8217;m sure you&#8217;ve heard of <b>ChatZilla</b>. If you haven&#8217;t, it&#8217;s probably the world&#8217;s best IRC client (or at least in my opinion :p ). It&#8217;s an add-on for Firefox. If you don&#8217;t have Firefox, or have no interest in downloading it, &#60;insert generic offensive comment here&#62;, or if you want to run it without Firefox (I hear it drastically slows FF down), you can run it with a magikal program called XULRunner (No h4xx, magic, or pretty ponies required here <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  !) </p>
<h1>Installing XULRunner</h1>
<p>&#160;&#160;XULRunner is a program released by Mozilla that can run certain add-ons that would normally only work for Firefox. I&#8217;m not saying you go out and download some theme or toolbar that no1 will ever see because  it&#8217;s not attached to FF. I&#8217;m saying you can run programs like debuggers, FTP clients, etc. </p>
<p>&#160;&#160;First off, you need to download XULRunner. I will have instructions for both Windows and Linux. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p align="center"><b>Note: If you upgrade XULRunner, you need to upgrade ChatZilla too, or ChatZilla WILL NOT WORK.</b></p>
<p align="center"><b>Note #2: If you see &#8212; in any commands, that&#8217;s 2 hyphens, not one. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </b></p>
<h1> Step 1:</h1>
<p><b>Windows:</b> Download this: <a href="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.0.11/runtimes/xulrunner-1.9.0.11.en-US.win32.zip" target="_blank">XULRunner 1.9.0.11</a>. Then extract the Zip file to your C:\ directory. Then download <a href="http://chatzilla.rdmsoft.com/xulrunner/download/chatzilla-0.9.85-xr.zip">ChatZilla</a> to anywhere you want. I reccomend your desktop.<br />
<br />
<b>Linux: </b> Go to the terminal and type in &#8220;aptitude install xulrunner&#8221; (without the quotes).  <br />
<b>Note:</b> Linux users may have to type &#8220;sudo&#8221; before the word aptitude in step 1.<br />
</p>
<h1>Step 2:</h1>
<p><b>Windows:</b> Run command prompt as an administrator by going to Start Menu-&#62;Programs-&#62;Accessories. Right click on Command Prompt, and click Run As Administrator&#8221;. When command prompt comes up, type &#8220;cd C:\XULRunner&#8221;. Then type &#8220;xulrunner &#8211;register-global&#8221; (without the quotes). After that, XULRunner is installed.<br />
<br />
<b>Linux:</b> Now type &#8220;wget http://chatzilla.rdmsoft.com/xulrunner/download/chatzilla-0.9.85-xr.zip&#8221;</p>
<h1>Step 3:</h1>
<p>
<b>Windows:</b> Now type &#8220;xulrunner &#8211;install-ap &#60;package location&#62; C:\Program Files&#8221;. Replace &#60;package location&#62; with your package location.<br />
<br />
<b>Linux:</b> In the terminal, type &#8220;xulrunner &#8211;install-app chatzilla-0.9.85-xr.zip&#8221;.</p>
<h1>Step 4:</h1>
<p><b>Windows:</b> ChatZilla is installed now. You can access it through C:\Program Files\ChatZilla\Chatzilla.exe.<br />
<br />
<b>Linux:</b> ChatZilla is also installed. It&#8217;s at /usr/local/lib/chatzilla/chatzilla.</p>
<p align="center"><font size="4" color="red">You now can run ChatZilla without Firefox!</font></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Bookmarklets! Userstyles! Userscripts(sort of)!]]></title>
<link>http://honeyweb.wordpress.com/2009/07/06/bookmarklets-userstyles-userscriptssort-of/</link>
<pubDate>Sun, 05 Jul 2009 23:28:54 +0000</pubDate>
<dc:creator>Lucian</dc:creator>
<guid>http://honeyweb.wordpress.com/2009/07/06/bookmarklets-userstyles-userscriptssort-of/</guid>
<description><![CDATA[As you can infer from the title, I&#8217;m quite excited about my latest progress. Firstly, Browse c]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>As you can infer from the title, I&#8217;m quite excited about my latest progress.</p>
<p>Firstly, Browse can now save bookmarklets. When you trigger the palette (right click) on a <a href="http://en.wikipedia.org/wiki/Bookmarklet#Bookmarklets">bookmarklet</a>, the &#8216;Download link&#8217; option in the palette is replaced with a &#8216;Save bookmarklet&#8217; option. A new toolbar appears where all the bookmarklets are lined up as buttons. They work rather well and are saved through to SSBs.</p>
<p>Secondly, userstyles now work. There&#8217;s a new button in the edit toolbar (I&#8217;m open to suggestions about the UI) that opens a small window with a gtksourceview inside. You can write (or copy/paste) CSS in there and click &#8216;Save&#8217;. The CSS is immediately applied to the page and is saved in a file in the activity preferences.</p>
<p>Thirdly, userscripts almost work. The UI and store are not quite ready, but the main part is that I&#8217;ve figured out how to very nicely do javascript injection. Like userstyles, I can make userscripts to be immediately executed, but it&#8217;ll be slightly harder.</p>
<p>There&#8217;s another small feature I&#8217;ve added. When you create an SSB, the activity preferences of Browse (without caches and cookies) are saved in the SSB bundle. When first run, they are copied over to that specific SSB&#8217;s activity data.</p>
<p>Here are some screenshots:</p>

<p>You can get <a href="http://git.sugarlabs.org/projects/webified/repos/mainline/commits/618434d8cd009912cfc64e34e95aa0eedc2def35">this commit</a> and try it out.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Conkeror, navegando con el teclado como Emacs]]></title>
<link>http://fausto23.wordpress.com/2009/06/28/conkeror-navegando-con-el-teclado-como-emacs/</link>
<pubDate>Sun, 28 Jun 2009 22:39:32 +0000</pubDate>
<dc:creator>fausto23</dc:creator>
<guid>http://fausto23.wordpress.com/2009/06/28/conkeror-navegando-con-el-teclado-como-emacs/</guid>
<description><![CDATA[En post anterior, mi compañero hablo sobre una extensión que permitia manejar a firefox como si fuer]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter" title="conkeror" src="http://img2.pict.com/d9/8b/a7/978009/0/640/capturadepantalla1.png" alt="" width="469" height="282" /></p>
<p>En post anterior, mi compañero hablo sobre una <a href="http://fausto23.wordpress.com/2009/05/17/vimperator-firefox-para-vim-eros/">extensión que permitia manejar a firefox como si fuera Vim</a>. Ahora les traigo un navegador completo que funciona solo con atajos del teclado, como si fuera el editor Emacs.</p>
<p><a href="http://conkeror.org/">Conkeror</a> es una navegador basado en Mozilla Firefox , con la finalidad de ser manejado a traveso de atajos del teclado, inspirado en aplicaciones como <a href="http://www.gnu.org/software/emacs/">Emacs</a> y <a href="http://www.vim.org/">Vim</a>. Al ser basado en Firefox, también le funcionan las extensiones de este (aunque no todas, checar esta pagina). Al principio solo veras una ventana con el manual para usarlo, sin toolbars, una interfaz limpia.</p>
<p>En sistemas Debian o derivados el programa se encuentra en los repositorios:</p>
<p><code>sudo apt-get install conkeror</code></p>
<p>Para Arch Linux:</p>
<p><code>pacman -Sy conkeror-git</code></p>
<p>Para otros distribuciones pueden seguir estas <a href="http://conkeror.org/InstallationUnix">instrucciones</a>.</p>
<p>Un navegador, que sirve para los que prefieren manejarlo todo con el teclado o también para pantallas pequeñas.</p>
<p>Espero que les sirva =)</p>
<p>Sayounara</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Eclipse + Debian (Lenny)  sem suporte ao browser integrado?]]></title>
<link>http://viniciusprado.wordpress.com/2009/06/26/eclipse-debian-lenny/</link>
<pubDate>Fri, 26 Jun 2009 16:43:51 +0000</pubDate>
<dc:creator>vncprado</dc:creator>
<guid>http://viniciusprado.wordpress.com/2009/06/26/eclipse-debian-lenny/</guid>
<description><![CDATA[Ultimamente tenho usado python onde posso, na universidade (quando os professores deixam),  no estág]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ultimamente tenho usado python onde posso, na universidade (quando os professores deixam),  no estágio (estamos desenvolvendo aplicações web com Django).</p>
<p>A melhor IDE que experimentei até agora foi o Eclipse + pyDev, mas por algum motivo no meu Debian (Lenny) ele sempre dava um erro referente ao suporte ao browser integrado, na verdade era um popup que dizia: &#8220;This Eclipse build doesn&#8217;t have support for the integrated browser&#8221;.</p>
<p>Então o <a href="http://www.google.com" target="_blank">oráculo</a> me disse que era referente ao pacote xulrunner, mais precisamente, a versão nos repositorios padrão do Lenny não dava suporte, sendo necessária a instalação da versão do pacote presente no debian multimedia, então foi só adicionar:</p>
<p>http://debian-multimedia.org/</p>
<p>à minha lista de repositórios e instalar o xulrunner. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Prismatic Web]]></title>
<link>http://wolfger.wordpress.com/2009/05/22/prismatic-web/</link>
<pubDate>Fri, 22 May 2009 17:23:36 +0000</pubDate>
<dc:creator>wolfger</dc:creator>
<guid>http://wolfger.wordpress.com/2009/05/22/prismatic-web/</guid>
<description><![CDATA[No, it&#8217;s not a new AD&amp;D spell. It&#8217;s the concept of having application-specific brows]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>No, it&#8217;s not a new AD&#38;D spell. It&#8217;s the concept of having application-specific browser windows. It&#8217;s funny that I should read a <a href="http://www.linux-mag.com/id/7338">Linux Journal article</a> about <a href="http://labs.mozilla.com/projects/prism/">Prism</a> today, because I just installed Prism on my computer last night. I tried it once before, when it first came out (or was that when it first got included into Ubuntu?), and was not impressed. I couldn&#8217;t figure out why I would want to run multiple Prism apps instead of one multi-tabbed browser. Then I decided that I tend to have so many open tabs, that trying to find my Gmail tab or my Google Reader tab was a bit of a pain. </p>
<p>Of course, it&#8217;s still not perfect. The Prism apps are very lean, tailored to just what you need for a particular site. Or what they think you&#8217;ll need. I have some RSS feeds of webcomics and pictures in my Google Reader. Occasionally I find a comic or picture I want to save to my hard drive. No way to do that in Prism. Still it seems like a worthwhile, if incomplete, idea. I haven&#8217;t benchmarked the memory usage, but it does feel zippier versus loading tabs in Firefox.</p>
<p>I&#8217;m using prism-google-mail, prism-google-reader, and prism-google-talk. <a href="http://packages.ubuntu.com/jaunty/net/#prism">Ubuntu also has</a> a handful of others like Twitter, Facebook, and some other Google stuff.</p>
<p>Anybody else using it? Thoughts? Hints? </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XRap Version 1.0]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/04/26/xrap-version-10/</link>
<pubDate>Sun, 26 Apr 2009 18:57:41 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/04/26/xrap-version-10/</guid>
<description><![CDATA[Well its been a long time coming, a lot of research, and a ton of learning, but here it is.  XRap ve]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Well its been a long time coming, a lot of research, and a ton of learning, but here it is.  XRap version 1.0.  You can now successfully create a Windows Installer(msi) if you are working on Windows, a tarred bunzip2 (tar.bz2) archive if you are working on Linux, and an Apple Disk Image (dmg) if you are working on a Mac.  I have worked out the bugs which I am aware of, but will definately still be working on any new ones that come up.  </p>
<p>Here are the steps for each platform:</p>
<p>Windows:</p>
<ol>
<li>Open up XRap, and select the root of your XULRunner application directory, and click next.</li>
<li>Select the type of License you would like to attach to your application from the drop-down list of available licenses.  You can optionally select your own license, or no license at all. Once you have selected your license option, click next</li>
<li>You must now select the type of installer you would like your end-user to have.
<ul>
<li>Automatic Installer &#8211; Will automatically install your application on to the end-user computer, with no wizard.</li>
<li>Wizard Installer &#8211; Will start the Windows Installer wizard, showing your license agreement on a single page, and giving the option for the end-user to install your application to a custom path.</li>
<li>Minimal Wizard Installer &#8211; Will start the Windows Installer wizard, using only one page, which shows the license agreement, then installs your application to the default directory.<img class="aligncenter size-medium wp-image-434" title="Windows Installer Description" src="http://jsdoodnauth.wordpress.com/files/2009/04/3.png?w=300" alt="Windows Installer Description" width="300" height="243" /></li>
</ul>
</li>
<li>Once your have selected the type of installer you want, click next, and XRap will package your application</li>
<li>When successfully completed, XRap will go to the last page where you can open the directory of where your new msi will be located, and your can close XRap.</li>
</ol>
<p>Linux</p>
<ol>
<li>Open up XRap, and select the root of your XULRunner application directory, and click next.</li>
<li>Select the type of License you would like to attach to your application from the drop-down list of available licenses.  You can optionally select your own license, or no license at all. Once you have selected your license option, click next</li>
<li>You can optionally select to create a zip file of your application for distribution on Windows.  Click next to continue.</li>
<li>XRap will now package your application into a tar.bz2, and optionally a zip file if selected.</li>
<li>When successfully completed, XRap will go to the last page where you can open the directory of where your tar.bz2 file will be located, and your can close XRap.</li>
</ol>
<p>Mac</p>
<ol>
<li>Open up XRap, and select where your XULRunner application (with the .app extension) is located, and click next.</li>
<li>Select the type of License you would like to attach to your application from the drop-down list of available licenses.  You can optionally select your own license, or no license at all. Once you have selected your license option, click next<img class="aligncenter size-medium wp-image-431" title="License Page" src="http://jsdoodnauth.wordpress.com/files/2009/04/picture-4.png?w=300" alt="License Page" width="300" height="248" /></li>
<li>XRap will now package your application into a dmg.</li>
<li>When successfully completed, XRap will go to the last page where you can open the directory of where your dmg file will be located, and your can close XRap.</li>
</ol>
<p>I hope to release an updated version where you can create simple packages for different platforms.  Similar to how you can create a zip file on Linux for distribution on Windows.  My current plans are:</p>
<p>Windows:</p>
<ol>
<li>Create a zip file for release on Linux</li>
<li>Create a zip file for release on Mac, I will have to refactor the directory structure so that it aligns with the Mac model</li>
</ol>
<p>Linux</p>
<ol>
<li>Create a zip file for release on Mac, I will have to refactor the directory structure so that it aligns with the Mac model</li>
</ol>
<p>Mac</p>
<ol>
<li>Create a zip file for release on both Windows and Linux</li>
</ol>
<p>I plan to work on it over the summer, and hope to be compeleted within the next couple months.  Please post any new bugs found on <a title="XRap" href="http://xrap.sourceforge.net" target="_blank">xrap.sourceforge.net</a>.</p>
<p>Enjoy!</p>
<p><a title="XRap" href="http://xrap.sourceforge.net" target="_blank">XRap Version 1.0</a><img class="alignnone size-full wp-image-439" title="xrap64" src="http://jsdoodnauth.wordpress.com/files/2009/04/xrap64.png" alt="xrap64" width="64" height="64" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XRap Version 0.9 Update]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/04/23/xrap-version-09-update/</link>
<pubDate>Fri, 24 Apr 2009 01:02:51 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/04/23/xrap-version-09-update/</guid>
<description><![CDATA[Lots of changes.  Lots!  Here&#8217;s a list: Added a license page Added a page to validate that you]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Lots of changes.  Lots!  Here&#8217;s a list:<img class="alignright size-full wp-image-439" title="xrap64" src="http://jsdoodnauth.wordpress.com/files/2009/04/xrap64.png" alt="xrap64" width="64" height="64" /></p>
<ul>
<li>Added a license page</li>
<li>Added a page to validate that you are packaging a XULRunner application</li>
<li>The wizard automatically goes to the last page once pacakaging is complete</li>
<li>If there are any errors, they will show on the last page</li>
<li>Linux release now creates a tar.bz2 file, with an installation script attached to it</li>
<li>Linux release can create an additional zip package for release on Windows</li>
<li>Windows release now has a description for each of the MSI Installers
<ul>
<li>The MSI Installers make the end-user view the attached license before they can install the software</li>
</ul>
</li>
</ul>
<p style="text-align:left;"><img class="size-medium wp-image-434 aligncenter" title="Windows Installer Description" src="http://jsdoodnauth.wordpress.com/files/2009/04/3.png?w=300" alt="Windows Installer Description" width="300" height="243" /><br />
At first I added the license page so that the MSI installer can make use of it, but it only makes sense that all users should be able to attach a license to their software.  Here&#8217;s another list of the licenses I chose to include:</p>
<ul>
<li><a title="CPL" href="http://www.opensource.org/licenses/cpl1.0.php" target="_blank">Common Public License 1.0 (CPL)</a></li>
<li><a title="GPL" href="http://www.opensource.org/licenses/gpl-2.0.php" target="_blank">GNU General Public License (GPL)</a></li>
<li><a title="GPLv3" href="http://www.opensource.org/licenses/gpl-3.0.html" target="_blank">GNU General Public License version 3.0 (GPLv3)</a></li>
<li><a title="LGPL" href="http://www.opensource.org/licenses/lgpl-2.1.php" target="_blank">GNU Lesser General Public License (LGPL)</a></li>
<li><a title="LGPLv3" href="http://www.opensource.org/licenses/lgpl-3.0.html">GNU Lesser General Public License version 3.0</a></li>
<li><a title="CDDL" href="http://www.opensource.org/licenses/cddl1.php" target="_blank">Common Development and Distribution License</a></li>
<li><a title="MPL" href="http://www.opensource.org/licenses/mozilla1.1.php">Mozilla Public License version 1.1</a></li>
</ul>
<p>Should these licenses be too restricting (or not enough) the user can attach their own license, or none at all.</p>
<p><img class="alignnone size-full wp-image-431" title="License Page" src="http://jsdoodnauth.wordpress.com/files/2009/04/picture-4.png" alt="License Page" width="470" height="389" /></p>
<p>The decision to ditch <a title="Autotools" href="http://en.wikipedia.org/wiki/GNU_build_system" target="_blank">Autotools</a> in my Linux packaging was an easy one.  It was too bloated.  Added all kinds of unnecessary files to a release.  And it just didn&#8217;t make any sense.  After having a look at a paper by Mark Finkle, and using his release of the <a title="XULExplorer" href="https://developer.mozilla.org/en/XUL_Explorer" target="_blank">XULExplorer</a>  as a template, I decided to just write a script which will just &#8220;tar&#8221; up the application.  Yes, it still check to make sure you are packaging a XULRunner app.  To make it slightly appealing, I added a script to each package, which when run will run the &#8216;&#8211;install -app&#8217; command for XULRunner.  It will take the app and copy it into the //usr/lib/<em>vendor_name/application_name/</em>, and then create a bash script which calls the application, and put it into your /usr/bin directory, so that you can call the new application from a single command.  I don&#8217;t know how well received it will be, but I haven&#8217;t heard any feedback about it yet.</p>
<p>Out of everything I have learned for this release, the one that hurt my brain the most was how complicated it is to make a zip file on Linux.  The reason I wanted to make a zip file was so that users of Linux can have the ability to release their product easily for use on the Windows platform.  Unfortunately, I tried using <a title="The Mono Project" href="http://www.mono-project.com/Main_Page" target="_blank">Mono</a> to compile my <a href="http://wix.sourceforge.net">WiX</a> (which is built on the .NET platform) files,  it could get as far as using light which is the linker stage (candle works, to compile).  The reason it fails is because you need the msi.dll library, and unfortunately that is only for Windows.  So the next logical move was to zip the application, and let the end-user run it from the unzipped directory.  After a lot of troubleshooting, creating the zip file wasn&#8217;t too complicated after all, my scripts were just wrong.  I must admit, that is one more thing that I have learned in this process, how to write shell scripts.</p>
<p>Overall, everything is really looking solid, I have fixed the Mac release, so that it can correctly read .app XUL files, can create a DMG out of them,  Linux can create a tar.bz2 with ease, and Windows can spit out an msi with no problem.  Now just testing, and working out the bugs that people find.</p>
<p>Version 0.9 can be found @ <a title="XRap v0.9" href="http://xrap.sourceforge.net" target="_blank">xrap.sourceforge.net</a></p>
<p>Enjoy, and GIVE ME FEEDBACK!!! I want to know about bugs/features/anything else that is needed</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[A new understanding: XUL and .app]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/04/23/a-new-understanding-xul-and-app/</link>
<pubDate>Thu, 23 Apr 2009 23:45:21 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/04/23/a-new-understanding-xul-and-app/</guid>
<description><![CDATA[  After talking to some guys in the #xulrunner channel on IRC, I foundout that my Mac applications w]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p> </p>
<p>After talking to some guys in the #xulrunner channel on IRC, I foundout that my Mac applications were setup all wrong.  At first I was like, why would they do that?  But after getting it to work, I figured that it was pure genius!  First of all, I was simply copying over my XUL app directly from my Linux box to a Mac, and then running it from Terminal:</p>
<blockquote><p>//Library/Frameworks/XUL.framework/xulrunner-bin /path/to/app/application.ini</p></blockquote>
<p>It worked, so I went with it.  To install an app, you just add &#8216;&#8211;install-app&#8217; to the end of &#8216;xulrunner-bin&#8217;, and it will stick it into the Applications folder.  For some reason or another, Once it was installed, I could run it.  But when I tried that same procedure on other machine, it didn&#8217;t work.   Hmm.  After some conversations, and reading, notice and article on MDC on <a title="Deploying XULRunner 1.8" href="https://developer.mozilla.org/En/XULRunner:Deploying_XULRunner_1.8" target="_blank">Deploying XULRunner 1.8</a>, and there was my answer.<br />
Basically XULRunner on Mac has a different file structure, which is as follows:</p>
<blockquote><p>MyApp.app/</p>
<ul>
<li>Contents/ 
<ul>
<li>Info.plist</li>
</ul>
<ul>
<li>Frameworks/ 
<ul>
<li>XUL.framework/ 
<ul>
<li>&#8230;all the XULRunner files</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Resources/
<ul>
<li>application.ini</li>
</ul>
<ul>
<li>icon.icns</li>
</ul>
<ul>
<li>components/
<ul>
<li>everything in your normal component directory</li>
</ul>
</li>
</ul>
<ul>
<li>chrome/
<ul>
<li> everything in your normal chrome directory</li>
</ul>
</li>
</ul>
<ul>
<li>all your additional files and folders</li>
</ul>
</li>
<li>MacOS/
<ul>
<li>xulrunner (the file copied from the &#8216;xulrunner&#8217; stub, not the xulrunner-bin)</li>
</ul>
</li>
</ul>
</blockquote>
<p>MyApp.app is actually a directory, with a &#8216;.app&#8217; extension on it.  All it did was create a directory, put all my files in the correct structure, add the &#8216;Info.plist&#8217; file, and rename the directory with the &#8216;.app&#8217; extension.  The Info.plist file was probably the most complicated to recreate.  The example from MDC is not very helpful, especially if you don&#8217;t know what your doing, and have to write it by hand.  However there is a &#8220;Property List Editor&#8221; application on Mac, which will help you create the file.</p>
<p> </p>
<div id="attachment_425" class="wp-caption alignnone" style="width: 480px"><img class="size-full wp-image-425" title="picture-5" src="http://jsdoodnauth.wordpress.com/files/2009/04/picture-5.png" alt="Property List Editor" width="470" height="423" /><p class="wp-caption-text">Property List Editor</p></div>
<p>These are the properties which must be in your Info.plist file, for your XULRunner application to work.  Key fields which are important are:</p>
<table border="0">
<tbody>
<tr>
<td>Executable File</td>
<td>This is the name of the xulrunner stub file in the MacOS directory</td>
</tr>
<tr>
<td>Icon File</td>
<td>The name of your Icon in the Resources directory</td>
</tr>
<tr>
<td>Bundle name</td>
<td>Name of the .app directory</td>
</tr>
</tbody>
</table>
<p>The actually XML file looks like this:</p>
<blockquote><p><span>&#60;?xml</span><span> </span>version<span>=</span><span>&#8220;1.0&#8243;</span><span> </span>encoding<span>=</span><span>&#8220;UTF-8&#8243;</span><span>?</span><span>&#62;</span></p>
<p><span>&#60;!DOCTYPE</span><span> plist </span><span>PUBLIC</span><span> </span>&#8220;-//Apple//DTD PLIST 1.0//EN&#8221;<span> </span>&#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;<span>&#62;<br />
<span>&#60;plist</span><span> </span>version<span>=</span><span>&#8220;1.0&#8243;</span><span>&#62;<br />
&#60;dict&#62;<br />
<span>&#60;key&#62;</span>CFBundleDevelopmentRegion<span>&#60;/key&#62;<br />
&#60;string&#62;<span>English</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleExecutable<span>&#60;/key&#62;<br />
&#60;string&#62;<span>XRap</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleGetInfoString<span>&#60;/key&#62;<br />
&#60;string&#62;<span>XRap </span><span>0.9</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleIconFile<span>&#60;/key&#62;<br />
<span>&#60;string&#62;</span>xulwizard-window<span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleIdentifier<span>&#60;/key&#62;<br />
<span>&#60;string&#62;</span>net.sourceforge.xrap<span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleInfoDictionaryVersion<span>&#60;/key&#62;<br />
&#60;string&#62;<span>6.0</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleName<span>&#60;/key&#62;<br />
&#60;string&#62;<span>XRap</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundlePackageType<span>&#60;/key&#62;<br />
&#60;string&#62;<span>APPL</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleShortVersionString<span>&#60;/key&#62;<br />
&#60;string&#62;<span>0.9</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleSignature<span>&#60;/key&#62;<br />
&#60;string&#62;<span>Mac</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>CFBundleVersion<span>&#60;/key&#62;<br />
&#60;string&#62;<span>0.9</span>&#60;/string&#62;<br />
<span>&#60;key&#62;</span>NSAppleScriptEnabled<span>&#60;/key&#62;<br />
&#60;true/&#62;<br />
&#60;/dict&#62;<br />
&#60;/plist&#62;</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p></blockquote>
<p>Its best to do all your work in your application directory, before adding the .app extension, because then it is treated like a file, and you will be unable to enter the directory, unless you remove the extension.</p>
<p>In refactoring XRap, I was still able to access the directory even though it was a .app.  Using nsIFile to add files (the License), and read the application.ini, with no problem.  In packaging, using pkg-dmg script, I had to create a staging area (temporary directory) and copy the .app into it, because the script only accepts directories to be imaged.  If I tried to image the .app, it would image it as a directory and add .dmg to the end, defeating the purpose.</p>
<p>Well now I am proud to say that Mac packaging is complete.  You can now package an application as an dmg image.  When a user downloads the image, all they need to do is mount it, and run your app.</p>
<p>I want to eat an apple now.<img class="alignnone size-full wp-image-426" title="apple" src="http://jsdoodnauth.wordpress.com/files/2009/04/images.jpeg" alt="apple" width="20" height="20" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XRap Icons!]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/04/17/xrap-icons/</link>
<pubDate>Fri, 17 Apr 2009 20:50:49 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/04/17/xrap-icons/</guid>
<description><![CDATA[I finally got around to creating an icon for XRap the other day.  I figured people use a box to pack]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I finally got around to creating an icon for XRap the other day.  I figured people use a box to package things, so why not use a box!  Then I have been looking at that Mozilla globe, which is the default for XUL apps on Windows, and I noticed that most Mozilla apps have that globe integrated in their icon.  So I pulled the globe from mozilla-central:</p>
<p> </p>
<div id="attachment_420" class="wp-caption aligncenter" style="width: 58px"><a href="http://mxr.mozilla.org/mozilla-central/source/xulrunner/app/"><img class="size-full wp-image-420  " title="default48" src="http://jsdoodnauth.wordpress.com/files/2009/04/default48.png" alt="http://mxr.mozilla.org/mozilla-central/source/xulrunner/app/" width="48" height="48" /></a><p class="wp-caption-text">Default XUL Icon</p></div>
<p>I used GIMP to create the box.  Which ended up just being a lot of trial and error with the shading on the sides of the box.  I&#8217;m not too sure if the perspective is correct, but it turned out ok for someone that knows very little about graphic design.  </p>
<p> </p>
<div id="attachment_421" class="wp-caption aligncenter" style="width: 154px"><img class="size-full wp-image-421 " title="xrapposter" src="http://jsdoodnauth.wordpress.com/files/2009/04/xrapposter.png" alt="Final XRap icon" width="144" height="144" /><p class="wp-caption-text">Final XRap icon</p></div>
<p>To applying the icon to XRap is actually quite easy.  Simply put the icon into:</p>
<blockquote><p><em>(application name)</em>/chrome/icons/default/</p></blockquote>
<p>then for Windows, you will need an icon with the <em>.ico</em> extension, while on Linux you will need an icon with the <em>.xpm </em>extension.  The name of the icon will be the <em>id </em>of your application, which will be located in the &#60;window&#62; element of your xul code.  I believe there is another way to apply your icon to your application, through the <em>branding content package</em>, which must be defined in your manifest.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XRap version 0.8 update]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/03/22/xrap-version-08-update/</link>
<pubDate>Mon, 23 Mar 2009 03:15:22 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/03/22/xrap-version-08-update/</guid>
<description><![CDATA[XRap 0.8 is now completed, and everything is now coming together.  I have managed to merge Mac packa]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a title="XRap" href="http://xrap.sourceforge.net" target="_blank">XRap 0.8</a> is now completed, and everything is now coming together.  I have managed to merge Mac packaging into XRap, so that it creates a dmg to mount on the Mac file system, and then I have created a script to run xulrunner-bin &#8211;install-app, which installs the XULRunner application into the Application folder on  a Mac.  In terms of XRap all this means is that when XRap detects that it is being run on a Mac, it will create all this for the application you want to package.  </p>
<p>The step for creating a package is the same as create one for Linux and Windows, one the first screen open the directory to where your application is stored, click the &#8216;Next&#8217; button, and XRap will create a script to install your application into the Applications folder, and then create a dmg of the application folder. Done!  </p>
<p><img class="alignnone size-full wp-image-417" title="picture-2" src="http://jsdoodnauth.wordpress.com/files/2009/03/picture-2.png" alt="picture-2" width="450" height="360" /></p>
<p>Windows packaging is just about finalized, and running perfectly.  Linux on the other hand might need some last minute refactoring.  After working on the Mac, and talking to some people on IRC, I realized that &#8216;xulrunner-bin &#8211;install-app&#8217; is an awesome script, and that there should be one for Linux.  There is, only it is &#8216;<a title="xulrunner --install-app" href="http://mxr.mozilla.org/mozilla-central/source/xulrunner/app/nsXULRunnerApp.cpp#162" target="_blank">xulrunner &#8211;install-app</a>&#8216;.  So now I might scrap all of the Autotools work (which will also remove the prerequisite of the developer needing autotools installed), and just tarball the application and create an install script for it, which will put it into &#8216;/usr/lib/&#8217; for all Linux distros.  One of the benefits of dumping Autotools, is that I can now write an install script, and zip it on Windows, the same method can also apply for Mac, since it is not possible to create a dmg without a Mac, I can write an install script and zip.  This will tackle one of the requests, that XRap be able to package for any platform, no matter what you are working on.  It should definatly be done by my 0.9 release.  </p>
<p>I have got a ton of ideas from my professor on little ideas/features to make XRap a better product.  Here&#8217;s a list of things which I have compiled which I expect to be completed for the next release:</p>
<ul>
<li>Use a &#8216;Throbber&#8217; for the Packaging status screen, so that the use knows the application is working.</li>
<li>On the last page create a link to the destination of the output file.</li>
<li>On the second page allow the user to import/apply a license into their application, by giving them a list of available licenses to choose from, or apply their own.</li>
<li>For the Windows version of XRap, give a description of each Installer, and change the dropdown list of Installers to a list of radio buttons</li>
<li>Automatically go from the &#8216;Packaging Status&#8217; page to the &#8216;Completion page&#8217; when packaging is complete</li>
<li>Create an installation log generator</li>
<li>Logo (for final release)</li>
</ul>
<p>Tinkering&#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Using Mozilla to create a dmg...Part II]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/03/11/using-mozilla-to-create-a-dmgpart-ii/</link>
<pubDate>Thu, 12 Mar 2009 04:15:26 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/03/11/using-mozilla-to-create-a-dmgpart-ii/</guid>
<description><![CDATA[I finally got access to a Mac which I can develop on, and after about 30 minutes of learning how to ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I finally got access to a Mac which I can develop on, and after about 30 minutes of learning how to use it (I haven&#8217;t used one since grade school), it was amazing!  Yes I want a Macbook now, but that&#8217;s another post.  The first job for creating a dmg on a Mac using the Mozilla code, is actually getting it to run XUL apps.  To do this you must first <a title="Download XULRunner" href="https://developer.mozilla.org/en/XULRunner" target="_blank">download</a> and install <a title="Getting started with XULRunner" href="https://developer.mozilla.org/en/Getting_started_with_XULRunner" target="_blank">XULRunner</a>, which conviently for Mac is just a standard installer.   Once installed, the XULRunner runtime is placed in:</p>
<blockquote><p>/Library/Frameworks/XUL.framework/</p></blockquote>
<p>This will make available &#8216;xulrunner-bin&#8217;, which will be needed to run the XUL app.  I noticed (and liked) that the XULRunner runtime is installed in a default location similar to Linux and unlike Windows, where it is just where you put it, and you have to set a bunch of environment variable to point to it.  To run a XUL app, is almost just as easy, there are two ways:</p>
<blockquote><p>Install the application:<br />
 /Library/Frameworks/XUL.framework/xulrunner-bin &#8211;install-app /absolute/path/to/app.zip</p>
<p>Run the application (without install):<br />
  /Library/Frameworks/XUL.framework/xulrunner-bin /absolute/path/to/application.ini</p></blockquote>
<p>If you choose to install the application, it can be a XUL app packaged in a zip file or a folder of a XUL app, but it will conviniently put your installation into the:</p>
<blockquote><p>/Applications/&#60;vendor&#62;/&#60;appName&#62;/</p></blockquote>
<p>You can then run the app.  If your developing, it may be a better idea to simply run the application, however there is a warning on MDC that the menu bar and dock icon may be missing.  From experience, on my first run, the command executed, and I got nothing, and the bash prompt appeared, so I ran it again and I received a message that the app was already running.  No window opened or anything, so I just closed the Terminal, refactored my code (I think there were some errors in it), and ran it again, with success.  </p>
<p>Once I got my app working, running the &#8216;<a title="pkg-dmg" href="http://mxr.mozilla.org/mozilla-central/source/build/package/mac_osx/pkg-dmg" target="_blank">pkg-dmg</a>&#8216; was simple, and it worked brilliantly!  From mozilla-central, I stored only the folders leading to the &#8216;pkg-dmg&#8217; file, then all the files in the folder.  So basically, &#8216;<em>mozilla-central/build/package/mac_osx/</em>&#8216; , then all the files in /mac_osx.  I made some modifications for my <a title="XRap" href="http://xrap.sourceforge.net/" target="_blank">XRap </a>release, by putting &#8216;pkg-dmg&#8217; command in a script and calling it, but this is basically how it should work:</p>
<blockquote><p>    var getWorkingDir= Components.classes["@mozilla.org/file/directory_service;1"]    <span> </span>.getService(Components.interfaces.nsIProperties)                    .get(&#8220;CurProcD&#8221;, Components.interfaces.nsIFile);</p>
<p>    var dmgLoc = getWorkingDir.clone();<br />
    dmgLoc.append(&#8220;mozilla-central&#8221;);<br />
    dmgLoc.append(&#8220;build&#8221;);<br />
    dmgLoc.append(&#8220;package&#8221;);<br />
    dmgLoc.append(&#8220;mac_osx&#8221;);<br />
    dmgLoc.append(&#8220;pkg-dmg&#8221;);<br />
    process.init(file);<br />
    var args = ["--source ",applicationPath ," --target ",applicationPath + ".dmg"];<br />
    process.run(true,args,args.length);</p></blockquote>
<p>And work it did!  Here is an example, when I called it from bash</p>
<p style="text-align:center;"><img class="size-full wp-image-406 aligncenter" title="pkgdmgrun2" src="http://jsdoodnauth.wordpress.com/files/2009/03/pkgdmgrun2.jpg" alt="pkgdmgrun2" width="470" height="382" /></p>
<p>Mount and go!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XRap 0.7 - Wizard update]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/03/08/xrap-07-wizard-update/</link>
<pubDate>Sun, 08 Mar 2009 23:36:01 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/03/08/xrap-07-wizard-update/</guid>
<description><![CDATA[It finally seems that I found a UI that works!  I managed to mash together both the Windows and Linu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft size-full wp-image-399" title="xrap07wiz1" src="http://jsdoodnauth.wordpress.com/files/2009/03/xrap07wiz1.jpg" alt="xrap07wiz1" width="470" height="369" />It finally seems that I found a UI that works!  I managed to mash together both the Windows and Linux packager, into a non-linear wizard.  All the functionality is basically the same, Windows will use WiX to create an msi, and Linux will use autotools to create a tarball, and soon for Mac i&#8217;ll be using a Mozilla perl script to create a .dmg file.</p>
<p>When the wizard is started, it scans the system to get what platform it is working under, this will determine which page the wizard will go to next, and what scripts to run.  But before I get ahead of myself, the first page will ask the user to select where the application to be packaged is located.  I&#8217;m using the FilePicker dialog to get the end-user to select which folder is a XUL application, is makes it easy because the FilePicker will return the correct path format no matter what platform XRap is running on.<img class="alignright size-full wp-image-400" title="xrap07wiz2" src="http://jsdoodnauth.wordpress.com/files/2009/03/xrap07wiz2.jpg" alt="xrap07wiz2" width="470" height="369" /></p>
<p>On the second page, it will matter which platform XRap is running on, because this is where the platform-dependent scripts will run to package the application for deployment.  As soon as the page is loaded, the script should start.  I just basically created three separate pages for each platform, and depending on what platform is scanned on the first page, the wizard will go to that page.  I have still been trying to get the progress bar to work, but it just seems to start and never stop, and the status box on the second page needs to be more informative.</p>
<p>The final page is just a &#8217;successful completion&#8217; page, so that the user knows that the application was packaged succesFinally once the packager is complete, there is just a final completion page, just for accepting that the sfully.  I have an &#8216;error&#8217; page, but I&#8217;ll have to refactor certain functions to return a false when there is an error.</p>
<p><img class="aligncenter size-full wp-image-401" title="xrap07wiz3" src="http://jsdoodnauth.wordpress.com/files/2009/03/xrap07wiz3.jpg" alt="xrap07wiz3" width="470" height="369" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Packaging...Mac...???]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/02/25/packagingmac/</link>
<pubDate>Wed, 25 Feb 2009 06:51:08 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/02/25/packagingmac/</guid>
<description><![CDATA[Yes.  I need to figure out how to package up a XULRunner app, so that it can be distributed and inst]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Yes.  I need to figure out how to package up a XULRunner app, so that it can be distributed and installed on to a Mac.<br />
From what I have been reading,  there are two methods for <a href="http://guides.macrumors.com/Installing_Applications_in_Mac_OS_X#Application_Bundles" target="_blank">installing on a Mac</a>:</p>
<ol>
<li> 
<ol>
<li>The software publisher has provided an installer, which will automatically install the application</li>
<li>The software is packaged in the form of an application (.app), framework (.framework), plug-in (.plugin), Safari downloads (.download), and installer packages (.pkg)</li>
</ol>
</li>
</ol>
<p>I have found a <a href="http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Manual_Installs/chapter_4_section_1.html#//apple_ref/doc/uid/10000145i-CH5-SW2" target="_blank">manual install</a> method, which simply taking the .app file and putting it into <em>/Applications</em>, any documentation in the <em>/Library/Documentation</em>, and framework into the <em>/Library/Frameworks</em>.  The only problem is that XULRunner apps have a strict directory structure to maintain, which is actually one of the problems I am having for my Linux distribution.  I found the Apple <a title="Software Delivery Guide" href="http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Overview/chapter_2_section_1.html" target="_blank">Software Delivery Guide</a>, which is awesome! but I&#8217;ll still have to hop on IRC and findout more about XULRunner apps.  I may find myself having to overhaul my Linux distribution of XRap, depending on what I learn about Mac packages.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Keeping it Cross-Platform]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/02/22/keeping-it-cross-platform/</link>
<pubDate>Sun, 22 Feb 2009 20:39:15 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/02/22/keeping-it-cross-platform/</guid>
<description><![CDATA[By using the nsIFilePicker you can get the absolute path to your destination according to the platfo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>By using the nsIFilePicker you can get the absolute path to your destination according to the platform you are working on.  The most basic problem in navigating between Windows and Linux is the direction of the slash which separates the directories in the path.</p>
<div id="attachment_325" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-325 " title="nsifp-linux" src="http://jsdoodnauth.wordpress.com/files/2009/02/nsifp-linux.jpg?w=300" alt="Path on Linux" width="300" height="51" /><p class="wp-caption-text">Path on Linux</p></div>
<div id="attachment_327" class="wp-caption alignnone" style="width: 310px"><img class="size-full wp-image-327 " title="nsifp-win" src="http://jsdoodnauth.wordpress.com/files/2009/02/nsifp-win.jpg" alt="Path on Windows" width="300" height="67" /><p class="wp-caption-text">Path on Windows</p></div>
<p>By using the nsIFilePicker you can avoid having to deal with what platform you are working on.  However, if you want to start manipulating files or subdirectories, then you must attach the nsIFile interface to your path, and use the append() function to add to the path. </p>
<blockquote><p>var appRootDir= Components.classes["@mozilla.org/file/local;1"]<br />
          .createInstance(Components.interfaces.nsILocalFile);<br />
appRootDir.initWithPath(applicationPath);<br />
appRootDir.append(&#8220;<em>DirectoryName</em>&#8220;);<br />
appRootDir.append(&#8220;<em>FileName.txt</em>&#8220;);</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Having a Dialog with the nsIFilePicker]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/02/20/having-a-dialog-with-the-nsifilepicker/</link>
<pubDate>Fri, 20 Feb 2009 07:25:32 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/02/20/having-a-dialog-with-the-nsifilepicker/</guid>
<description><![CDATA[Probably once of the most simple but useful interfaces that I have come across is the nsIFilePicker.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Probably once of the most simple but useful interfaces that I have come across is the <a title="nsIFilePicker" href="https://developer.mozilla.org/en/nsIFilePicker" target="_blank">nsIFilePicker</a>.  This interface will allow the end-user to use a dialog for loading or saving a file, or getting folder for use in your application.  In my case I just need the user to get the path to a directory.</p>
<blockquote><p>function openDirDialog()<br />
{<br />
const nsIFilePicker = Components.interfaces.nsIFilePicker;<br />
var fp = Components.classes["@mozilla.org/filepicker;1"]<br />
                   .createInstance(Components.interfaces.nsIFilePicker);</p>
<p><span> </span>fp.init(window,&#8221;Select Directory&#8221;,nsIFilePicker.modeGetFolder);<br />
var ret = fp.show();<br />
if (ret == nsIFilePicker.returnOK &#124;&#124; ret == nsIFilePicker.returnReplace) <br />
{<br />
applicationPath = fp.file.path;<br />
document.getElementById(&#8216;tb_inputPath&#8217;).value = applicationPath;<br />
}<br />
}</p></blockquote>
<ul>
<li>nsIFilePicker &#8211; The declaration of this const is not needed, but it does make some operations easier as you will see</li>
<li>fp &#8211; Gets the nsIFilePicker interface component, so that you can actually call the File Picker
<ul>
<li>fp.init(<em><a title="nsIDOMWindow" href="https://developer.mozilla.org/en/nsIDOMWindow" target="_blank">nsIDOMWindow</a></em>, <em>title</em>,<em> <a title="nsIFilePicker - mode" href="http://www.xulplanet.com/references/xpcomref/ifaces/nsIFilePicker.html" target="_blank">mode</a></em>) &#8211; This is where you set the inital settings for the file picker, this needs to be called if you want it to work.  
<ul>
<li>nsIDOMWindow &#8211; parameter sets the who will be the parent of the dialog, in my case it is just the main window, so I used &#8216;window&#8217;.  </li>
<li>title &#8211; Is simply a string, where you would set the Title of the dialog</li>
<li>mode &#8211; This is where you declare what you want the dialog to actually do, whether it be loading or saving a file, or getting a folder. Here is a table of the different mode options:<br />
<table border="0">
<tbody>
<tr>
<td>modeOpen</td>
<td>0</td>
</tr>
<tr>
<td>modeSave</td>
<td>1</td>
</tr>
<tr>
<td>modeGetFolder</td>
<td>2</td>
</tr>
<tr>
<td>modeOpenMultiple</td>
<td>3</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
<li>fp.show &#8211; This call actually shows the File Picker dialog according to the mode you have chosen.  The return types are as follows:<br />
<table border="0">
<tbody>
<tr>
<td>returnOK</td>
<td>0</td>
</tr>
<tr>
<td>returnCancel</td>
<td>1</td>
</tr>
<tr>
<td>returnReplace</td>
<td>2</td>
</tr>
</tbody>
</table>
</li>
<li> As you can see, by using the nsIFilePicker const at the beginning, I can use its attributes to check the return value from the dialog.</li>
<li>There are filters you can append to the File Picker to direct the user to only a specific type of file, by using the .appendFilters(filter).  Here is a set of predifined filters:<br />
<table border="0">
<tbody>
<tr>
<td>filterAll</td>
<td>1</td>
</tr>
<tr>
<td>filterHTML</td>
<td>2</td>
</tr>
<tr>
<td>filterText</td>
<td>4</td>
</tr>
<tr>
<td>filterImages</td>
<td>8</td>
</tr>
<tr>
<td>filterXML</td>
<td>16</td>
</tr>
<tr>
<td>filterXUL</td>
<td>32</td>
</tr>
<tr>
<td>filterApps</td>
<td>64</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
<p>The File Picker for me was very useful in my cross-platform work with XRap, not only does it make it make it easy for the use to select a folder, but there is no mix-up with the slashes with the use different platforms.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Fun with Autotools and XUL]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/02/12/fun-with-autotools/</link>
<pubDate>Thu, 12 Feb 2009 07:28:53 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/02/12/fun-with-autotools/</guid>
<description><![CDATA[In my quest to create a packager for XULRunner apps, I figured I should use the Autotools to package]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="margin-bottom:0;">In my quest to create a packager for XULRunner apps, I figured I should use the Autotools to package up the app and distribute it as a tarball.  This will allow the developer to distribute on any flavor of Linux, and the end-user will just need to do the standard untar, configure, make, install.</p>
<p style="margin-bottom:0;">For Autotools, I must use several command-line tools, autoscan, autoconf, and automake, and since im using it through my XUL app, I must reference to /usr/bin/ which is where these tools are stored.</p>
<blockquote>
<p style="margin-bottom:0;">function runAutoscan()</p>
<p style="margin-bottom:0;">{</p>
<p style="margin-bottom:0;">var appRootDir= Components.classes["@mozilla.org/file/local;1"]</p>
<p style="margin-bottom:0;">.createInstance(Components.interfaces.nsILocalFile);</p>
<p style="margin-bottom:0;">appRootDir.initWithPath(&#8220;//&#8221;);</p>
<p style="margin-bottom:0;">appRootDir.append(&#8220;usr&#8221;);</p>
<p style="margin-bottom:0;">appRootDir.append(&#8220;bin&#8221;);</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">appRootDir.append(&#8220;autoscan&#8221;);</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">var process = Components.classes["@mozilla.org/process/util;1"]</p>
<p style="margin-bottom:0;">.createInstance(Components.interfaces.nsIProcess);</p>
<p style="margin-bottom:0;">process.init(appRootDir);</p>
<p style="margin-bottom:0;">var args = [targetPath];</p>
<p style="margin-bottom:0;">process.run(true, args, args.length);</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">}</p>
</blockquote>
<ol>
<li>
<p style="margin-bottom:0;">Where &#8216;appRootDir&#8217; is an instance 	nsILocalFile, Initalize the path as the root directory &#8216;//&#8217;</p>
</li>
<li>
<p style="margin-bottom:0;">Append the each directory and the 	command to the root</p>
</li>
<li>
<p style="margin-bottom:0;">Create an instance of nsIProcess</p>
</li>
<li>
<p style="margin-bottom:0;">Initalize the process with the 	path to the command</p>
</li>
<li>
<p style="margin-bottom:0;">Include any agruments in a 	separate variable, in this case I used the directory of where I want 	to package</p>
</li>
<li>
<p style="margin-bottom:0;">Finally just run the process</p>
</li>
</ol>
<p style="margin-bottom:0;">This method works perfectly if you want to run command-line utilities in the directory you are working in, or in this case where the command takes in a source.  Unfortunatly, autoconf and automake don&#8217;t seem to work if you are not in the working directory.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XRap Version 0.4 Release]]></title>
<link>http://jsdoodnauth.wordpress.com/2009/01/24/xrap-version-04-release/</link>
<pubDate>Sat, 24 Jan 2009 09:09:29 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2009/01/24/xrap-version-04-release/</guid>
<description><![CDATA[XRap has been making use of a great program called WiX, which is used for packaging applications to ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft size-full wp-image-278" title="XRap 0.4" src="http://jsdoodnauth.wordpress.com/files/2009/01/xrap0-4_intro_screen1.jpg" alt="XRap 0.4" width="301" height="235" />XRap has been making use of a great program called WiX, which is used for packaging applications to deploy on the Windows platform.  The only thing is that there are so many features to the Windows Installer, and WiX does them all, its just a matter of diving through the limited documentation to findout how it all works.  There is an excellent tutorial on WiX maintained by Gábor DeÁk Jahn at <a title="WiX Tutorial" href="http://www.tramontana.co.hu/wix/" target="_blank">http://www.tramontana.co.hu/wix</a> for those interested.</p>
<h2>Features of XRap 0.4</h2>
<p>The focus of the 0.4 release of XRap is adding the UI functionality of WiX to applications which will be</p>
<div id="attachment_275" class="wp-caption alignright" style="width: 241px"><img class="size-full wp-image-275" title="XRap version 0.3 Default Installer" src="http://jsdoodnauth.wordpress.com/files/2009/01/xrap0-4_defaultinstall1.jpg" alt="XRap version 0.3 Default Installer" width="231" height="92" /><p class="wp-caption-text">XRap version 0.3 Default Installer</p></div>
<p>packaged.  There are 3 versions of the UI installer I chose to add, the &#8216;Minimal&#8217; installer, which will require the end-user to accept the license agreement before installing the program; the &#8216;Install Directory&#8217; installer, which after accepting the license agreement the end-user will be allowed to select which directory to install the program; and the &#8216;Mondo&#8217; installer, which after accepting the license agreement, the user will have the option of a &#8216;Typical&#8217; install, &#8216;Complete&#8217; install&#8217;, and a &#8216;Custom&#8217; install where the user can select separate packages to be installed, as well as the destination directory.</p>
<p>The added UI functionality also opens up the door for some customization to the person packaging their application.  The welcome page, top banner, and several icons can be changed, by adding custom bitmaps to a new directory in the applications directory (the directory where the application.ini is located).  The name of the directory must be &#8216;Bitmaps&#8217;, and the names and sizes of the new bitmaps are as follows:</p>
<table id="table1" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th>File name</th>
<th>Description</th>
<th>Dimensions</th>
</tr>
<tr>
<td>bannrbmp.bmp</td>
<td>Top banner</td>
<td>500 × 63</td>
</tr>
<tr>
<td>dlgbmp.bmp</td>
<td>Background bitmap used on welcome and install-complete dialogs</td>
<td>503 × 314</td>
</tr>
<tr>
<td>exclamic.ico</td>
<td>Exclamation icon on the wait-for-costing dialog</td>
<td>32 × 32</td>
</tr>
<tr>
<td>info.ico</td>
<td>Information icon on the cancel and error dialogs</td>
<td>32 × 32</td>
</tr>
<tr>
<td>New.ico</td>
<td>Button glyph on directory-browse dialog</td>
<td>16 × 16</td>
</tr>
<tr>
<td>Up.ico</td>
<td>Button glyph on directory-browse dialog</td>
<td>16 × 16</td>
</tr>
</tbody>
</table>
<p>In the new installers, there is a license which the end-user must accept to installer the application.  The license may be changed by adding &#8216;License.rtf&#8217; file to the applications directory, if no there is a default Common Public License version 1.0 agreement which will be displayed during installation.</p>
<h2>Using XRap 0.4</h2>
<ol>
<li>It is <span style="color:#ff0000;">recomended </span>that you add a License.rtf containing the license you wish to distribute your application under.  If not, the Common Public License version 1.0 will be applied, and distributed with your installer.  Rich Text Files (.rtf) can be created with simple text editors such as Wordpad.</li>
<li>Custom bitmaps can be added to the &#8216;Bitmaps&#8217; directory, with the same filenames and dimensions as stated above, and will be included in your installer.  If none are found, or the names are wrong, the the default bitmaps will be added to your installer.<img class="aligncenter size-medium wp-image-266" title="XRap 0.4" src="http://jsdoodnauth.wordpress.com/files/2009/01/xrap0-42.jpg?w=350" alt="XRap 0.4" width="350" height="228" /></li>
<li>Once XRap has started all you need to do is input the location of the XulRunner application, more specifically where the application.ini file is.</li>
<li>In that directory there should be a directory called &#8216;xulrunner&#8217; with the xulrunner runtime files</li>
<li>Once you have entered the valid path, click on &#8216;Load Application Directory&#8217;, which will then load the application.ini file, check for the applications executable, check for the xulrunner runtime, and remove any old .msi files from the directory.</li>
<li>Once the application is loaded, you can click the &#8216;Create Installer&#8217; button to create the default .msi installer, which just installs the application once executed.  However once the &#8216;Use Advanced Installer&#8217; box is checked, you can select one of the advanced installers:
<ul>
<li> Simple Installer &#8211; Once the end-user has accepted the license agreement, they will be allowed select the destination directory of where your application will be installed.    
<p><div id="attachment_262" class="wp-caption aligncenter" style="width: 423px"><img class="size-full wp-image-262" title="Simple Installer" src="http://jsdoodnauth.wordpress.com/files/2009/01/xrap0-4_simpleinstall1.jpg" alt="Simple Install" width="413" height="310" /><p class="wp-caption-text">Simple Installer</p></div></li>
<li>Minimal Installer &#8211; Once end-user has accepted the license agreement, your application will be installed on their system.    
<p><div id="attachment_271" class="wp-caption aligncenter" style="width: 401px"><img class="size-full wp-image-271" title="Minimal Installer" src="http://jsdoodnauth.wordpress.com/files/2009/01/xrap0-4_minimalinstall2.jpg" alt="Minimal Installer" width="391" height="308" /><p class="wp-caption-text">Minimal Installer</p></div></li>
<li>Customizable Installer (Mondo)- Once the end-user has accepted your license agreement, they will be able to select a &#8220;Typical&#8217;, &#8216;Complete&#8217; or &#8216;Custom&#8217; install, where in the &#8216;Custom&#8217; install they can select what directory to install to.    
<p><div id="attachment_274" class="wp-caption aligncenter" style="width: 413px"><img class="size-full wp-image-274" title="Customizable Installer" src="http://jsdoodnauth.wordpress.com/files/2009/01/xrap0-4_custominstall2.jpg" alt="Customizable Installer" width="403" height="312" /><p class="wp-caption-text">Customizable Installer</p></div></li>
</ul>
</li>
<li>Once the packaging is complete, XRap will remove all unnecessary files created, and you will be ready to distribute your application!</li>
</ol>
<h2>Current Problems</h2>
<ol>
<li>When XRap is creating the .msi file, it takes some time, so it may seem like the program has frozen, but it is actually working.  I&#8217;ve been working on adding a progress bar at the bottom of XRap, but I&#8217;m having trouble getting it to activate when I need it to.</li>
<li>In the Customizable (Mondo) Installer is not fully functional, you can only install the entire application, the end-user will not be able to select certain parts of the app to install, and select some to be installed at a later time.  This feature is taking me long than I thought to code, mainly in part because the person who wants to package their app will need to select either a directory, or specific files which are not totally necessary to be installed for their program to work.  I&#8217;m having to refactor a chunk of my file handling code, to keep track of these &#8216;optional&#8217; files or directories.</li>
</ol>
<h2>XRap Installer and Source Download</h2>
<p>Installer Download: <a title="XRap version 0.4" href="http://downloads.sourceforge.net/xrap/XRap.msi?use_mirror=superb-east&#38;filesize=11333640">XRap version 0.4 Installer</a></p>
<p>Source Download: <a title="XRap version 0.4 Source" href="http://matrix.senecac.on.ca/~jsdoodna/XRap/0-4/XRap_v0-4.zip">XRap version 0.4 Source</a></p>
<p>If anyone has any suggestions to my problems I am open to help, and please feel free to email or post a comment.  Also please report any bugs or problems you get on this blog.</p>
<p>Hope you enjoy XRap 0.4!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XRap Version 0.3 Windows Released!]]></title>
<link>http://jsdoodnauth.wordpress.com/2008/12/13/xrap-version-03-windows-released/</link>
<pubDate>Sat, 13 Dec 2008 21:25:42 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://jsdoodnauth.wordpress.com/2008/12/13/xrap-version-03-windows-released/</guid>
<description><![CDATA[Well its been a long time, a lot of reading, and a lot of learning (JavaScript and XUL), but I]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Well its been a long time, a lot of reading, and a lot of learning (JavaScript and XUL), but I&#8217;ve managed to finally change over XRap from C# over to a XULRunner Application!  I haven&#8217;t quite got the UI just how I like it, but funtionality-wise it works perfectly.</p>
<h2><strong>How it works:</strong></h2>
<ol>
<li>Once XRap is started, all you must do is enter the directory path of your XULRunner application, more specifically where the <em>application.ini</em> is located.<img class="size-full wp-image-229 aligncenter" title="XRap" src="http://jsdoodnauth.wordpress.com/files/2008/12/xrapv03-load.jpg" alt="XRap" width="405" height="345" /></li>
<li>When the path is entered, click on &#8216;Load Application Directory&#8217; .</li>
<li>XRap will read the <em>application.ini</em> file for validity.</li>
<li>Once a valid application.ini file is loaded, click on &#8216;Check Integrity&#8217;</li>
<li>XRap will check for old XRap created files, and the XULRunner runtime (which must be in your applications directory).</li>
<li>Prompts will inform you of any files which will be removed.</li>
<li>Once the integrity check is complete, simply click on the &#8216;Create Installer&#8217;.</li>
<li>XRap will read through your application&#8217;s directory, as well as create the executable from the <em>xulrunner-stub.exe</em> file in the XULRunner runtime.<img class="aligncenter size-full wp-image-230" title="XRap" src="http://jsdoodnauth.wordpress.com/files/2008/12/xrapv03-complete.jpg" alt="XRap" width="403" height="344" /></li>
</ol>
<p>During the creation of the .msi file, XRap may appear to freeze up, but its actually working, it just takes some time to create the file.  Also I need to figure out how to make the textbox scroll automatically, but its a minor cosmetic issue, and should be fixed by the next release.  If anyone knows please let me know.  Other than that, enjoy! and let me know of any suggestions or fixes needed.</p>
<h2>Download:</h2>
<p><a title="XRap Version 0.3 for Windows" href="http://matrix.senecac.on.ca/~jsdoodna/XRap/0-3/XRap.msi" target="_self">XRap v 0.3 Windows Installer</a></p>
<p><a title="XRap Version 0.3 Source" href="http://matrix.senecac.on.ca/~jsdoodna/XRap/0-3/XRap.zip" target="_self">XRap v 0.3 Source</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Des raccourcis? Mieux encore!]]></title>
<link>http://climenole.wordpress.com/2008/12/12/des-raccourcis-mieux-encore/</link>
<pubDate>Fri, 12 Dec 2008 19:22:09 +0000</pubDate>
<dc:creator>Claude LaFrenière</dc:creator>
<guid>http://climenole.wordpress.com/2008/12/12/des-raccourcis-mieux-encore/</guid>
<description><![CDATA[Bonjour à tous Je ne crois pas utile d&#8217;élaborer longuement sur les raccourcis que nous utiliso]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>Bonjour à tous</em> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:justify;">Je ne crois pas utile d&#8217;élaborer longuement sur les <em>raccourcis</em> que nous utilisons tous ni non plus sur la différence entre les <em>raccourcis locaux</em> (liens) vers vos applications ou les <em>raccourcis url </em>(hyperliens) pour accéder à une page web&#8230;</p>
<p style="text-align:justify;">En ce qui concerne les <em>hyperliens</em> chacun sait qu&#8217;ils permettent de lancer votre navigateur par défaut pour accéder au site pointé par ce raccourci. Permettez-moi cependant de vous annoncer que ces raccourcis sont, sinon révolus, du moins d&#8217;un style pré-Web 2.0 (faute d&#8217;un meilleur terme) &#8230;</p>
<p style="text-align:justify;">Il est possible désormais de créer des hyperliens qui vous permettent d&#8217;accéder à vos sites préférés via un <em>navigateur spécialisé</em> pour cette page web avec <strong>PRISM</strong>.</p>
<p style="text-align:justify;"><img class="alignleft size-medium wp-image-1054" style="margin:12px 8px;" title="prismlogo" src="http://climenole.wordpress.com/files/2008/12/prismlogo.png?w=300" alt="prismlogo" width="240" height="154" /><strong>PRISM</strong> est un navigateur simplifié basé sur <em>XULRunner</em> et fondé sur le concept du<em><strong> SSB</strong></em>:</p>
<p style="text-align:justify;"><em><strong>Site-Specific Browsers</strong></em>. Un <em>SSB</em> est conçu pour permettre l&#8217;utilisation exclusive d&#8217;une application Web sans les menus, barres d&#8217;outils et autres gadgets des navigateurs traditionnels.Un <em>SSB</em> permet de plus une meilleure intégration au système d&#8217;exploitation et au Bureau qu&#8217;une application Web exécutée via un <em>navigateur &#8220;tout usage&#8221;&#8230;</em></p>
<p style="text-align:justify;"><span style="color:#ffffff;"><em>.</em></span></p>
<p style="text-align:justify;"><em><br />
</em>
</p>
<p style="text-align:justify;">Un <em>SSB</em> permet d&#8217;avoir les avantages d&#8217;une <em>application &#8220;Desktop&#8221; </em><strong>et</strong> d&#8217;une <em>application Web</em>&#8230;</p>
<p><strong>AVANTAGES</strong></p>
<p><strong>Processus séparé</strong></p>
<p style="text-align:center;"><strong></strong></p>
<p>Les applications Web peuvent parfois surconsommer de la mémoire ou des cycles de l&#8217;UCT  allant même, dans les cas les plus extrêmes, jusqu&#8217;à faire planter le navigateur. En exécutant chaque application dans un processus séparé, l&#8217;impact de tels dysfonctionnements est minimisé. Il permet de plus de vérifier la consommation de mémoire/cycles UCT pour chacune  des applications.</p>
<div id="attachment_1057" class="wp-caption aligncenter" style="width: 411px"><img class="size-full wp-image-1057" title="prism-cap06" src="http://climenole.wordpress.com/files/2008/12/prism-cap06.png" alt="Google Reader via Prism" width="401" height="385" /><p class="wp-caption-text">Google Reader via Prism</p></div>
<p><strong>Interface minimale</strong></p>
<p>Un navigateur tout-usage n&#8217;est pas nécessairement le mieux adapté pour plusieurs applications  Web. Il est souvent plus efficace d&#8217;avoir à sa disposition une interface spécifique à celle-ci.  Cela permet aussi de gagner en ergonomie en mettant terme aux distractions visuelles causée par  les multiples sollicitations visuelles d&#8217;options ou de gadgets<strong> ±</strong> utiles.</p>
<div id="attachment_1058" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-1058" title="prism-cap05" src="http://climenole.wordpress.com/files/2008/12/prism-cap05.png?w=300" alt="Google Reader via Prism" width="300" height="215" /><p class="wp-caption-text">Google Reader via Prism</p></div>
<p><strong>Intégration au Bureau</strong></p>
<p>Le support des caractéristiques Bureau telles que les raccourcis bureau, le lancement rapide    la minimisation dans la barre des tâches ou l&#8217;affichage des fenêtres rend l&#8217;application Web plus    pratique pour les utilisateurs.</p>
<p><img class="aligncenter size-full wp-image-1059" title="prism-cap04" src="http://climenole.wordpress.com/files/2008/12/prism-cap04.png" alt="prism-cap04" width="670" height="151" /></p>
<p style="text-align:center;">
<p><strong>Personnalisation</strong></p>
<p>Il est de plus possible pour des utilisateurs avancés de personnaliser le lancement des SSBs<br />
avec des scripts analogues à ceux de <em>Greasemonkey</em>. Des <em>feuilles de style</em> personnalisées peuvent   aussi être utilisées afin de modifier l&#8217;apparence de  l&#8217;interface utilisateur.</p>
<div id="attachment_1060" class="wp-caption aligncenter" style="width: 77px"><img class="size-full wp-image-1060" title="sylvester" src="http://climenole.wordpress.com/files/2008/12/sylvester.png" alt="Une autre fois..." width="67" height="67" /><p class="wp-caption-text">Une autre fois...</p></div>
<p><strong>COMMENT?</strong></p>
<p>Il suffit simplement d&#8217;installer l&#8217;extension PRISM  dans Firefox:</p>
<div id="attachment_1050" class="wp-caption alignleft" style="width: 267px"><a href="https://addons.mozilla.org/fr/firefox/addon/6665" target="_blank"><img class="size-full wp-image-1050" title="refractor-for-prism" src="http://climenole.wordpress.com/files/2008/12/refractor-for-prism.png" alt="Cliques ici pour le Module Complémentaire" width="257" height="41" /></a><p class="wp-caption-text">CLIQUEZ ICI pour le Module Complémentaire</p></div>
<p><a href="https://addons.mozilla.org/fr/firefox/addon/6665" target="_blank"><br />
</a></p>
<p><span style="color:#ffffff;">.</span></p>
<p><span style="color:#ffffff;">.</span></p>
<p><span style="color:#ffffff;">..</span></p>
<p style="text-align:justify;">
<p style="text-align:justify;"><strong>POUR EN SAVOIR PLUS</strong></p>
<p><em><strong>Développeurs Mozilla</strong></em></p>
<p><a href="https://developer.mozilla.org/fr/Prism" target="_blank">Prism</a></p>
<p><a href="https://developer.mozilla.org/fr/XULRunner" target="_blank">XULRunner</a></p>
<p><em><strong>Quelques &#8221; <span style="color:#993300;">Wik&#8217;hyperliens</span> &#8221; pour devenir savant:</strong></em></p>
<p><a href="http://fr.wikipedia.org/wiki/Xul" target="_blank">Xul</a></p>
<p><a href="http://fr.wikipedia.org/wiki/Xulrunner" target="_blank">Xulrunner</a></p>
<p><a href="http://fr.wikipedia.org/wiki/Raccourci_(informatique)" target="_blank">Raccourci (lien)</a></p>
<p><a href="http://fr.wikipedia.org/wiki/Url" target="_blank">Url</a></p>
<p><a href="http://fr.wikipedia.org/wiki/Hyperlien" target="_blank">Hyperlien</a></p>
<p><a href="http://fr.wikipedia.org/wiki/CPU" target="_blank">UCT (CPU)</a></p>
<p><a href="http://fr.wikipedia.org/wiki/Greasemonkey" target="_blank">Greasemonkey</a></p>
<p><a href="http://fr.wikipedia.org/wiki/Feuilles_de_style" target="_blank">Feuilles de style</a></p>
<p><a href="http://fr.wikipedia.org/wiki/Web_2.0" target="_blank">Web 2.0</a></p>
<p><a href="http://fr.wikipedia.org/wiki/XPInstall" target="_blank">XPInstall</a></p>
<p><span style="color:#ffffff;">.</span></p>
<p><em><strong>Remarques et &#8230; une demande (exceptionnelle)<br />
</strong></em></p>
<p>À la suite des essais que j&#8217;ai fait de Refractor pour Prism, j&#8217;ai constaté que cela marche bien avec la plupart des applications Web sauf pour quelques exceptions, notamment, les Actualités Google qui exigent de se connecter au compte Google pour avoir les actualités personnalisées (dans mon cas les actualités Canada en français <em>et</em> en anglais). Ça ne marche pas: l&#8217;accès à la page de connexion lance Firefox et ne se fait pas dans Refractor&#8230;</p>
<p>Si vous appréciez (ou non) cet article (ou les autres du site),  j&#8217;apprécierais  si vous me donniez un &#8220;signe de vie&#8221;&#8230;  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<ul>
<li>En vous abonnant au flux RSS des Propos et Commentaires du Climenole avec votre lecteur RSS préféré (lequel est-ce au juste?)</li>
<li>En votant pour donner votre note sur le site et d&#8217;une façon anonyme avec le module de vote à gauche de l&#8217;écran&#8230;</li>
<li>En suivant les nouveaux articles et en votant pour le site sur Technorati ou Wikio&#8230;</li>
<li>En ajoutant le lien vers les Propos et Commentaires dans votre blogoliste (et en me le signalant) car je &#8220;revoie toujours l&#8217;ascenseur&#8221;&#8230;</li>
<li>En laissant un commentaire&#8230; (émoticône, suggestion, critique, question&#8230;)</li>
<li>En me contactant via mon @ de courriel</li>
</ul>
<p><img class="aligncenter size-full wp-image-807" title="climgmail" src="http://climenole.wordpress.com/files/2008/11/climgmail.png" alt="climgmail" width="193" height="31" /></p>
<p>Merci  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Using Prism on Ubuntu/openSuse Linux]]></title>
<link>http://vorblog.wordpress.com/2008/11/28/using-prism-on-ubuntuopensuse-linux/</link>
<pubDate>Fri, 28 Nov 2008 21:49:47 +0000</pubDate>
<dc:creator>Martin Prechelmacher</dc:creator>
<guid>http://vorblog.wordpress.com/2008/11/28/using-prism-on-ubuntuopensuse-linux/</guid>
<description><![CDATA[Since there seems to be many people out there having problems with Prism on Linux, I&#8217;m writing]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Since there seems to be many people out there having problems with Prism on Linux, I&#8217;m writing this in English so  most of you can understand it.</p>
<p>With<a href="http://labs.mozilla.com/2007/10/prism/"> Prism</a> you can make Web applications such as Zoho Writer, bubbl.us, Google Mail, your WordPress Dashboard&#8230; available offline. When working offline, your changes<!--more--> will be uploaded/applied the moment you go onlie. While working online, Prism is not much more than some kind of distractionless browser.<br />
One great thing about Prism is, that you can integrate your webapps with your normal desktop. Like having a starter for Google Mail or Zoho Mail in your menu instead (or in addition if you like) of Evolution, Kontact or Thunderbird (whatever you use). This especially helps, if you&#8217;re working on different computers and want to use the same apps and the same documents everywhere without portable apps, a live USB or a USB, where you carry all your data with you (since both data and programs are in the cloud) and on old hardware (since Prism Apps do have a very small fingerprint).</p>
<p>Now as many have noticed, the Firefox Prism Plugin isn&#8217;t working the way it should. Even though you can create prism apps from within your browser, evreytime you want to start those apps, your normal Firefox opens up with your home page. Doh! Using the standalone Prism application isn&#8217;t the best solution since the one in the repos (at least the ubuntu repos, don&#8217;t know bout Suse) is outdated.</p>
<p>Now let&#8217;s have a closer look at the problem. If we open up the apps preference dialog, we see, that the command is something like:</p>
<blockquote><p>&#8220;/usr/lib/firefox-3.0.4/firefox&#8221; -app &#8220;/home/martin/.mozilla/firefoxXXXX//extensions/refractor@developer.mozilla.org/prism/application.ini&#8221; -override &#8220;/home/martin/.webapps/XXXXX/override.ini&#8221; -webapp XXXXX@prism.app</p></blockquote>
<p>The problem here is, that the version of Firefox that ships with ubuntu (I think they call it ubufox) does not accept the &#8211;app parameter so everything behind it ends up being ignored. Now of course the part after the &#8211;app is the crucial part!</p>
<p>Fortunately the origilan xulrunner is still there (and still accepts the &#8211;app flag). So everything you have to do in order for your Prism Apps to work again is to simply <strong>change the /usr/lib/firefox-3.x.x/firefox at the beginning to /usr/bin/xulrunner!</strong> Just make sure you do not touch anything behind the &#8211;app flag!</p>
<p>That&#8217;s all! Hope it helped!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pencil 1.0.4 (Firefox Extension)]]></title>
<link>http://ffex.wordpress.com/2008/11/28/pencil-104-firefox-extension/</link>
<pubDate>Fri, 28 Nov 2008 09:16:45 +0000</pubDate>
<dc:creator>kabbala</dc:creator>
<guid>http://ffex.wordpress.com/2008/11/28/pencil-104-firefox-extension/</guid>
<description><![CDATA[Pencil 1.0.4 (2008-10-15) Dương Thành An 인터페이스 스케치(UI Prototyping) 프로그램. Firefox 확장 기능으로 작동. 웹인터페이스나]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div style="text-align:center;">
<table border="0" align="center">
<tbody>
<tr align="center">
<td width="48" valign="top"><img src="http://macin.files.wordpress.com/2008/11/pencil-icon.png?w=48&#038;h=48" alt="Pencil Icon" title="Pencil Icon" width="48" height="48" class="alignnone size-full wp-image-6107" /></td>
<td><a href="http://www.evolus.vn/Pencil/">Pencil</a> 1.0.4 (2008-10-15)<br />
Dương Thành An</td>
</tr>
</tbody>
</table>
</div>
<p>인터페이스 스케치(UI Prototyping) 프로그램. Firefox 확장 기능으로 작동.</p>
<p>웹인터페이스나 XUL도 아니고 GTK, MS윈도우 어플리케이션 인터페이스를 Firefox 에서 디자인 할 필요가 있을까? 2008년 최고의 괴작 Firefox 확장기능 아닐까 생각한다. XULRunner로 실행되는 버전도 있다.</p>
<ul>
<li>Mozila Labs: <a href="http://blog.mozilla.com/extendfirefox/2008/08/21/extend-firefox-3-winners/">Announcing the Extend Firefox 3 Contest Winners</a></li>
</ul>
<div style="text-align:center;">무료 · <a href="https://addons.mozilla.org/ko/firefox/downloads/file/39380/pencil-1.0.4-fx.xpi">download at addons.mozilla.org</a></div>
</div>]]></content:encoded>
</item>

</channel>
</rss>
