Win32

View: New views
16 Messages — Rating Filter:   Alert me  

Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JsLib seems to work in MS Windows...

Anyone know of some reason why?

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Ronny Hanssen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Shouldn't it?

2007/3/7, Daniel Aquino <mr.danielaquino@...>:
JsLib seems to work in MS Windows...

Anyone know of some reason why?

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib




--
---
Ronny
_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Greg Marine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel,

Did you mean to say it "seems it does not work." If this is the case,
jsLib does work in Windows. What issue are you having?

Regards,
Greg Marine

Ronny Hanssen wrote:

> Shouldn't it?
>
> 2007/3/7, Daniel Aquino <mr.danielaquino@...
> <mailto:mr.danielaquino@...>>:
>
>     JsLib seems to work in MS Windows...
>
>     Anyone know of some reason why?
>
>     _______________________________________________
>     Jslib mailing list
>     Jslib@... <mailto:Jslib@...>
>     http://mozdev.org/mailman/listinfo/jslib
>
>
>
>
> --
> ---
> Ronny
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jslib mailing list
> Jslib@...
> http://mozdev.org/mailman/listinfo/jslib
>  

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Pete Collins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Greg Marine wrote:

>Daniel,
>
>Did you mean to say it "seems it does not work." If this is the case,
>jsLib does work in Windows. What issue are you having?
>
>  
>
>  
>
do keep in mind that jsLib is not install w/ Firefox 2.0 yet.

--pete

--
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes I meant to say that it's not working in win32...

I'm actually developing a XulRunner application,
And unzipping jslib into my application folder worked perfectly on linux,
But in win32 it's not...

I'm getting "jslib not defined"...

Any ideas?

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Pete Collins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Daniel Aquino wrote:

> Yes I meant to say that it's not working in win32...
>
> I'm actually developing a XulRunner application,
> And unzipping jslib into my application folder worked perfectly on linux,
> But in win32 it's not...
>
> I'm getting "jslib not defined"...
>
> Any ideas?
>
>  
>

The jslib component that implements "jslib" top level DOM object is
probably not working in XUL runner.

eg: if you do this:

  alert(typeof(jslib))

and it is undefined, then try including jsLib base as a chrome url in
your xul file.

eg:

  <script type="application/x-javascript"
src="chrome://jslib/content/jslib.js" />

It should work fine from there ...

--pete

--
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Ronny Hanssen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I am using jsLib in my XulRunner app on Windoze, and it works fine. However, I do remember struggeling with getting it running. By the articles I read on the net it was supposed to be easy to set up. Well it wasn't. If you can't figure it out and need more help then I may be able to assist. Right here right now I don't have access to the code. But, I can help later.

Later,
Ronny

2007/3/7, Daniel Aquino <mr.danielaquino@...>:
Yes I meant to say that it's not working in win32...

I'm actually developing a XulRunner application,
And unzipping jslib into my application folder worked perfectly on linux,
But in win32 it's not...

I'm getting "jslib not defined"...

Any ideas?

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib




--
---
Ronny
_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Pete Collins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Ronny Hanssen wrote:

> I am using jsLib in my XulRunner app on Windoze, and it works fine.
> However, I do remember struggeling with getting it running. By the
> articles I read on the net it was supposed to be easy to set up. Well
> it wasn't. If you can't figure it out and need more help then I may be
> able to assist. Right here right now I don't have access to the code.
> But, I can help later.


It's easy to set up pre 2.0 Firefox. It needs updating to work easily w/
xulrunner and 2.0.

--pete

--
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

so for xulrunner do i need the components/jslib.xpt  or /install.rdf ?

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm still getting jslib not defined even when hard linking the jslib.js file in my xul

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What would be causing win32 to not load up the component?

XulRunner is cross platform and jslib is nothing but js...

So what could be the issue ?
_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Pete Collins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Daniel Aquino wrote:

> What would be causing win32 to not load up the component?
>
> XulRunner is cross platform and jslib is nothing but js...
>
> So what could be the issue ?


It's probably not registered correctly in xul runner.

make sure you have your chrome.manifest set to include jslib ...

  content     jslib       jar:jslib.jar!/

There was a post about this last week.

--pete

--
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I used the unmodified jslib.manifest and it looks exactly like that...

And as I said it runs fine in Linux just not in win32....

So there has to be an underlining issue in XulRunner for win32

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Jeff Dickson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

This is how I just got xulrunner and jslib to work today!

 

> extract jslib zip archive

 

> cp –r <JSLIB>/chrome/* <APPNAME>/chrome/content

 

> cp –r <JSLIB>/components/* <APPNAME>/components

 

> Add the following two lines to the chrome.manifest

content jslib jar:content/jslib.jar!/

content jsliblive file:content/jsliblive/

 

> Also make sure the main xul file includes

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

 

> Also make sure you have a prefs.js file with the following line in it.

pref("toolkit.defaultChromeURI", "chrome://APPNAME/content/APPNAME.xul");

 

> After completing these steps, specifically the copying of the components, change the BuildID in the application.ini file or delete the xpti.dat and compreg.dat from the APPDATA….Profiles folder.

 

 

It would be great if this kind of information was included on the jslib web page.

 

Now I just have to get FLASH and fullscreen functionality to work! I had already got this working in the browser environment, but now xulrunner!

 

 

Thanks,

 

 


From: jslib-bounces@... [mailto:jslib-bounces@...] On Behalf Of Daniel Aquino
Sent: Wednesday, March 07, 2007 9:30 AM
To: Mozilla Application Development Javascript Libraries
Subject: Re: [Jslib] Win32

 

I'm still getting jslib not defined even when hard linking the jslib.js file in my xul


_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

lol most of that seems to be general xulrunner knowledge

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib

Re: Win32

by Daniel Aquino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry guys perhaps my application is a bit buggy because for some reason after refactoring allot of my js , it just started to work...  If I find any useful information on why ill be sure to append it to the list...

_______________________________________________
Jslib mailing list
Jslib@...
http://mozdev.org/mailman/listinfo/jslib
LightInTheBox - Buy quality products at wholesale price!