From jaskinner at bbc.net Sun Nov 1 10:37:13 2009 From: jaskinner at bbc.net (JAS) Date: Sun, 01 Nov 2009 11:37:13 -0700 Subject: [Jslib] Seamonkey 2 is here In-Reply-To: References: Message-ID: Pete Collins wrote: > I'll update the install.rdf asap. > > jsLib will work w/ any moz distribution. > > --pete > > > > Marcelo wrote: >> Well, Seamonkey 2.0 Final hit the servers today. I finally migrated my >> profile. I'm going to miss the Pinball theme and Multizilla, but... >> well, the new Gecko engine is worth it. I hope eventually to replace >> most of their functionality with other extensions. However... >> >> Many extensions still have to be checked/updated and tagged as >> "Seamonkey 2 compatible." JSLib, for instance, only installs by setting >> extensions.checkCompatibility to "False" on about:config... but then it >> seems to run fine. Tagzilla (the main reason I use JSlib) has a modified >> version at xsidebar.mozdev.org that is tagged as "2.0 compatible", and >> seems to run fine too. But the "official" version complains (although it >> probably works). >> >> Marcelo >> >> >> -=-=- >> ... <------------- Space for SALE! ------------> >> * TagZilla 0.0661 * http://tagzilla.mozdev.org on Seamonkey 2 >> _______________________________________________ >> Jslib mailing list >> Jslib at mozdev.org >> https://www.mozdev.org/mailman/listinfo/jslib >> >> >> > Which version of Jslib are you using, I run Win XP Pro SM 2.0? Thanks JAS From e.fennema at tiscali.nl Tue Nov 10 08:22:18 2009 From: e.fennema at tiscali.nl (Enno Fennema) Date: Tue, 10 Nov 2009 17:22:18 +0100 Subject: [Jslib] Problem with jslib in Firefox Message-ID: <4AF9933A.10002@tiscali.nl> On Firefox 3.x installed extension jslib. In chrome file script like var date = new Date(); dump(date + "\n"); works fine but unable to get something like var gFile = new File("/tmp/jslib.dat"); to work. May be related to the namespace problem referred to in > http://www.mozdev.org/pipermail/project_owners/2009-March/012236.html but what is the solution. jslib did wonders for me under old seamonkey but would like to change to Firefox now and must get my xul program to work first. Appreciate any help. Enno Fennema From pete at mozdevgroup.com Tue Nov 10 09:11:15 2009 From: pete at mozdevgroup.com (Pete Collins) Date: Tue, 10 Nov 2009 10:11:15 -0700 Subject: [Jslib] Problem with jslib in Firefox In-Reply-To: <4AF9933A.10002@tiscali.nl> References: <4AF9933A.10002@tiscali.nl> Message-ID: <4AF99EB3.7070905@mozdevgroup.com> Enno Fennema wrote: > On Firefox 3.x installed extension jslib. In chrome file script like > var date = new Date(); > dump(date + "\n"); > works fine but unable to get something like > var gFile = new File("/tmp/jslib.dat"); > to work. > This should work. You are including the correct lib right? include (jslib_file); I have been using jsLib w/ FF 3.x and have had mo problems. I do know that the top level jslib object is probably broken as for FF 3.x they changed how top level objects can be exposed to the DOM. So it is possible that instantiating using: jslib.init(this); is broken\ on FF 3.5.x --pete -- Pete Collins - Founder, Mozdev Group Inc. www.mozdevgroup.com Mozilla Software Development Solutions tel: 1-719-302-5811 fax: 1-719-302-5813 From e.fennema at tiscali.nl Wed Nov 11 01:16:02 2009 From: e.fennema at tiscali.nl (Enno Fennema) Date: Wed, 11 Nov 2009 10:16:02 +0100 Subject: [Jslib] Problem with jslib in Firefox In-Reply-To: <4AF99EB3.7070905@mozdevgroup.com> References: <4AF9933A.10002@tiscali.nl> <4AF99EB3.7070905@mozdevgroup.com> Message-ID: <4AFA80D2.5090501@tiscali.nl> Pete Collins wrote: > > Enno Fennema wrote: >> On Firefox 3.x installed extension jslib. In chrome file script like >> var date = new Date(); >> dump(date + "\n"); >> works fine but unable to get something like >> var gFile = new File("/tmp/jslib.dat"); >> to work. >> > > > This should work. You are including the correct lib right? ... > jslib.init(this); ... > include (jslib_file); You put your finger on all problems. I muddled around before I had the correct library loaded correctly. Then the first thing that worked was the Date object which didn't need jslib.init nor include. I then erroneously assumed that these instructions were not needed any more in the FFox new setup. Script now runs as it used to, that is flawlessly. Thanks, Enno Fennema From pete at mozdevgroup.com Wed Nov 11 09:36:03 2009 From: pete at mozdevgroup.com (Pete Collins) Date: Wed, 11 Nov 2009 10:36:03 -0700 Subject: [Jslib] Problem with jslib in Firefox In-Reply-To: <4AFA80D2.5090501@tiscali.nl> References: <4AF9933A.10002@tiscali.nl> <4AF99EB3.7070905@mozdevgroup.com> <4AFA80D2.5090501@tiscali.nl> Message-ID: <4AFAF603.2040403@mozdevgroup.com> > You put your finger on all problems. I muddled around before I had the > correct library loaded correctly. Then the first thing that worked was > the Date object which didn't need jslib.init nor include. I then > erroneously assumed that these instructions were not needed any more in > the FFox new setup. > > Script now runs as it used to, that is flawlessly. > > Yes, I need to do some updating in docs and code as well. --pete -- Pete Collins - Founder, Mozdev Group Inc. www.mozdevgroup.com Mozilla Software Development Solutions tel: 1-719-302-5811 fax: 1-719-302-5813