<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: open komodo and the code</title>
	<link>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/</link>
	<description></description>
	<pubDate>Thu, 20 Nov 2008 13:24:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: trentm</title>
		<link>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1804</link>
		<author>trentm</author>
		<pubDate>Tue, 11 Sep 2007 23:55:06 +0000</pubDate>
		<guid>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1804</guid>
		<description>axel,

Not out of the starting gates (because we want to have this working really quickly), but the plan is 

(1) To make Komodo a true XUL Runner app. Note that there are a lot of questions about how feasible it will be for XUL Runner apps to run with the generic XUL Runner base that a distro provides. Most current XUL Runner apps that I know about (those that get mentioned on planet.mozilla.org) tend to have their own patches against XUL Runner that haven't yet made it into the core sources to fix issues specific to their app.

(2) Get Komodo working with more vanilla Python builds. On Linux, however, a *shared* build of Python is required and getting PyXPCOM to work in a running Mozilla instance is currently very finicky about placement of the relevant files. I don't know if the Linux distros tend to do shared Python builds or if they do static ones.</description>
		<content:encoded><![CDATA[<p>axel,</p>
<p>Not out of the starting gates (because we want to have this working really quickly), but the plan is </p>
<p>(1) To make Komodo a true XUL Runner app. Note that there are a lot of questions about how feasible it will be for XUL Runner apps to run with the generic XUL Runner base that a distro provides. Most current XUL Runner apps that I know about (those that get mentioned on planet.mozilla.org) tend to have their own patches against XUL Runner that haven&#8217;t yet made it into the core sources to fix issues specific to their app.</p>
<p>(2) Get Komodo working with more vanilla Python builds. On Linux, however, a <em>shared</em> build of Python is required and getting PyXPCOM to work in a running Mozilla instance is currently very finicky about placement of the relevant files. I don&#8217;t know if the Linux distros tend to do shared Python builds or if they do static ones.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: axel</title>
		<link>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1803</link>
		<author>axel</author>
		<pubDate>Tue, 11 Sep 2007 23:32:45 +0000</pubDate>
		<guid>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1803</guid>
		<description># Get a slightly tweaked mozilla build (C++, JavaScript, XUL).
# Get a slightly tweaked Python build (C).

does this mean it won't run with the vanilla spidermonkey/xulrunner/python that most linux distributions ship?</description>
		<content:encoded><![CDATA[<h1>Get a slightly tweaked mozilla build (C++, JavaScript, XUL).</h1>
<h1>Get a slightly tweaked Python build (C).</h1>
<p>does this mean it won&#8217;t run with the vanilla spidermonkey/xulrunner/python that most linux distributions ship?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trentm</title>
		<link>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1789</link>
		<author>trentm</author>
		<pubDate>Fri, 07 Sep 2007 16:41:52 +0000</pubDate>
		<guid>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1789</guid>
		<description>Steve,

One of the important first things with Open Komodo will be in getting it all easy to build and dig into for others. We've struggled a lot to get all the Python build + Mozilla + PyXPCOM things working just right on all the platforms. One of the early things I hope we'll be able to do it make that all easier so that other unrelated XULRunner-based apps can follow suit.

Agreed that all the building is still way too hard.

Regarding debugging: we don't have a great story for debugging really. A long while back Mark Hammond, when he was working on Komodo directly, did have Komodo debugging Komodo, but we haven't pursued that in a while. I look forward to people getting that going again though! :)

Python scripting currently is limited to PyXPCOM -- i.e. just for XPCOM components. Mark Hammond's current Mozilla work to make Python a first-class scripting lang in the browser along-side JavaScript (sometimes called pydom or nsdom) -- i.e. &lt;script language="python"&gt;...&lt;/script&gt; -- is not something we've yet played with. Mainly that is because the pydom work is on trunk (I believe) and Komodo is currently using the Mozilla 1.8 branch. As to security issues with pydom, I'd have to refer to the Mozilla dev docs on that.</description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>One of the important first things with Open Komodo will be in getting it all easy to build and dig into for others. We&#8217;ve struggled a lot to get all the Python build + Mozilla + PyXPCOM things working just right on all the platforms. One of the early things I hope we&#8217;ll be able to do it make that all easier so that other unrelated XULRunner-based apps can follow suit.</p>
<p>Agreed that all the building is still way too hard.</p>
<p>Regarding debugging: we don&#8217;t have a great story for debugging really. A long while back Mark Hammond, when he was working on Komodo directly, did have Komodo debugging Komodo, but we haven&#8217;t pursued that in a while. I look forward to people getting that going again though! :)</p>
<p>Python scripting currently is limited to PyXPCOM &#8212; i.e. just for XPCOM components. Mark Hammond&#8217;s current Mozilla work to make Python a first-class scripting lang in the browser along-side JavaScript (sometimes called pydom or nsdom) &#8212; i.e. <script language="python">...</script> &#8212; is not something we&#8217;ve yet played with. Mainly that is because the pydom work is on trunk (I believe) and Komodo is currently using the Mozilla 1.8 branch. As to security issues with pydom, I&#8217;d have to refer to the Mozilla dev docs on that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Lee</title>
		<link>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1788</link>
		<author>Steve Lee</author>
		<pubDate>Fri, 07 Sep 2007 16:24:30 +0000</pubDate>
		<guid>http://trentm.com/blog/archives/2007/09/06/open-komodo-and-the-code/#comment-1788</guid>
		<description>It's great to see this information flowing out already. You make it sound easy but when I tried a while back to get a python enabled build of Mozilla going I hit so many problems with build/runtime python dependencies issues, largely due to using msvc 8 (the only free version). It appears from bugzilla that these issues may be resolved and perhaps I should have tried harder/longer. The other problem I hit was that lack of development tools such as debugger (venkman for python) and dom/css inspector etc. I guess that is sorted with Komodo too? I'm keeping a keen eye on developments as I would be interested in using XUL + SVG + python with DOM scripting and events. If you provide good docs and tools so it's easy to get going and pick up your experience you could have a real winner. The only other concern I have is that Python scripting on SVG/web pages needs to run in a sandbox and I'm not sure how safe rexec etc are in Python (in Martelli's Nutshell book he says there are holes). Do you only use javascript for this? (Oh I'm creating an Assistive technology that is more of a rich client than a web app but want SVG and oter standards web deployable)</description>
		<content:encoded><![CDATA[<p>It&#8217;s great to see this information flowing out already. You make it sound easy but when I tried a while back to get a python enabled build of Mozilla going I hit so many problems with build/runtime python dependencies issues, largely due to using msvc 8 (the only free version). It appears from bugzilla that these issues may be resolved and perhaps I should have tried harder/longer. The other problem I hit was that lack of development tools such as debugger (venkman for python) and dom/css inspector etc. I guess that is sorted with Komodo too? I&#8217;m keeping a keen eye on developments as I would be interested in using XUL + SVG + python with DOM scripting and events. If you provide good docs and tools so it&#8217;s easy to get going and pick up your experience you could have a real winner. The only other concern I have is that Python scripting on SVG/web pages needs to run in a sandbox and I&#8217;m not sure how safe rexec etc are in Python (in Martelli&#8217;s Nutshell book he says there are holes). Do you only use javascript for this? (Oh I&#8217;m creating an Assistive technology that is more of a rich client than a web app but want SVG and oter standards web deployable)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
