Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

python-xpcom, hulahop and pyjamas-desktop: updated to work with xulrunner 9.0

46 views
Skip to first unread message

lkcl

unread,
Feb 17, 2012, 10:24:44 AM2/17/12
to
folks, hi,

many thanks to josh matthews, boris zbarsky and special thanks to todd
whitemann, i am delighted to be able to announce that python-xpcom has
been confirmed as 99.995% operational, that hulahop has been updated
and that pyjamas-desktop now can utilise xulrunner 9 as a back-end
engine, again.

the last time that this was properly functional was for xulrunner
1.9.2 and things have been hanging together by spit and wet string up
until now. http://lkcl.net/hulahop/

for those people who may not be familiar with the significance of this
announcement, here is a tutorial which outlines what is possible:
http://pyxpcomext.mozdev.org/no_wrap/tutorials/hulahop/xpcom-hulahop.html

if you look carefully at that tutorial, you will see absolutely no
mention of firefox, no mention of plugins, absolutely NO mention of
"plugging in python as a plugin". it is *purely* declarative python
programming. it is *python* that fires up a gtk window into which the
gecko engine is embedded. it is *python* that gets a reference to the
NSAPI interface (through XPCOM). it is *python* that manipulates the
DOM which is displayed inside the gtk window, through the XPCOM
interface.

this is a completely different approach from anything that you have
been told that xpcom and web browser engines are restricted to doing.
there's no javascript involved - at all - for a start, yet there is no
web browser either. and there is certainly no XPIs, no manifests, or
any plugins of any kind... yet it works.

it takes getting used to :)

once you are used to it, however, you begin to appreciate that all
those javascript frameworks that you are used to having in the
javascript world are entirely lacking in the python world, and that's
where pyjamas-desktop comes in, because it's written in pure python,
and thus acts pretty much - ok acts almost identically to - pygtk2 and
pyqt4.

anyway enough: i originally just wanted to say thank you to the people
who made this possible.

l.

0 new messages