Re: Where can i download firefox-sdk

2015-11-08 Thread Kris Maglione

On Sun, Nov 08, 2015 at 12:56:48PM -0800, ales.rozman...@gmail.com wrote:

On Sun, Nov 8, 2015 at 10:19 AM,  wrote:
I'm using js-ctypes to load and use binary (dll), so it's not a xpcom 
component. As i understand that is still allowed. Well it works on FF42 
anyway.



On Sunday, November 8, 2015 at 8:31:57 PM UTC+1, Dave Townsend wrote:

Then I'm not sure why you need the gecko sdk to build it.


Because we use gecko internals in the component. A bunch of nsI* classes.


You definitely should not be doing that. Preventing add-ons from 
accessing Gecko internals was the main reason we removed support 
for binary components in the first place.


n fact, it would be best for you to avoid using ctypes at all, 
if you can possibly can. If you absolutely can't avoid it (i.e., 
you need it for some kind of IPC, or hardware access), please 
don't use it for anything that requires running in the same 
address space as Firefox. Even if that remains possible for the 
foreseeable future (hopefully it won't), I can more or less 
guarantee you it won't be accepted if you submit your add-on for 
signing.


--
Kris Maglione
Firefox Add-ons Engineer
Mozilla Corporation

If there was anything that depressed him more than his own cynicism,
it was that quite often it still wasn’t as cynical as real life.
--Terry Pratchett

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Where can i download firefox-sdk

2015-11-08 Thread Boris Zbarsky

On 11/8/15 3:56 PM, ales.rozman...@gmail.com wrote:

Because we use gecko internals in the component. A bunch of nsI* classes.


I believe that's the part that's not supported.  You can have a binary 
blob that's self-contained and that you talk to via ctypes, but it 
shouldn't be touching nsI*.  They can and will change without preserving 
either source or binary compat and can disappear altogether (e.g. 
nsIDOMWindow recently changed to not have any methods on it at all).


-Boris
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Where can i download firefox-sdk

2015-11-08 Thread ales . rozman . si
Because we use gecko internals in the component. A bunch of nsI* classes.


On Sunday, November 8, 2015 at 8:31:57 PM UTC+1, Dave Townsend wrote:
> Then I'm not sure why you need the gecko sdk to build it.
> 
> On Sun, Nov 8, 2015 at 10:19 AM,  wrote:
> 
> > On Sunday, November 8, 2015 at 4:07:22 PM UTC+1, Dave Townsend wrote:
> > > As of Firefox 41 we no longer support loading binary components from
> > > add-ons.
> > >
> > > On Sun, Nov 8, 2015 at 5:44 AM,  wrote:
> > >
> > > > Hi all.
> > > >
> > > > I am developing firefox addon with a binary component, and until
> > recently
> > > > i was using xulrunner-sdk for linking with required libs. As of
> > version 42
> > > > xulrunner-sdk is no longer published. I read in a blog post (
> > > >
> > http://hearsum.ca/blog/mozilla-will-stop-producing-automated-builds-of-xulrunner-after-the-410-cycle.html
> > )
> > > > that mozilla will publish gecko-sdk with every release.
> > > >
> > > > I am wondering where is gecko-sdk published for version 42. I checked
> > on
> > > > https://archive.mozilla.org/pub/ but couldn't find it.
> > > >
> > > > In the meantime i built firefox myself from source (on windows). With
> > the
> > > > libs in /dist/sdk/lib and headers in /dist/include i was able to
> > compile
> > > > and build my addon.
> > > >
> > > > It would be nice if sdk would be published, so i wouldn't have to build
> > > > firefox myself for every version and every os.
> > > >
> > > > Regards,
> > > > Aleš
> > > > ___
> > > > dev-platform mailing list
> > > > dev-platform@lists.mozilla.org
> > > > https://lists.mozilla.org/listinfo/dev-platform
> > > >
> >
> > I'm using js-ctypes to load and use binary (dll), so it's not a xpcom
> > component. As i understand that is still allowed. Well it works on FF42
> > anyway.
> > ___
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Where can i download firefox-sdk

2015-11-08 Thread Dave Townsend
Then I'm not sure why you need the gecko sdk to build it.

On Sun, Nov 8, 2015 at 10:19 AM,  wrote:

> On Sunday, November 8, 2015 at 4:07:22 PM UTC+1, Dave Townsend wrote:
> > As of Firefox 41 we no longer support loading binary components from
> > add-ons.
> >
> > On Sun, Nov 8, 2015 at 5:44 AM,  wrote:
> >
> > > Hi all.
> > >
> > > I am developing firefox addon with a binary component, and until
> recently
> > > i was using xulrunner-sdk for linking with required libs. As of
> version 42
> > > xulrunner-sdk is no longer published. I read in a blog post (
> > >
> http://hearsum.ca/blog/mozilla-will-stop-producing-automated-builds-of-xulrunner-after-the-410-cycle.html
> )
> > > that mozilla will publish gecko-sdk with every release.
> > >
> > > I am wondering where is gecko-sdk published for version 42. I checked
> on
> > > https://archive.mozilla.org/pub/ but couldn't find it.
> > >
> > > In the meantime i built firefox myself from source (on windows). With
> the
> > > libs in /dist/sdk/lib and headers in /dist/include i was able to
> compile
> > > and build my addon.
> > >
> > > It would be nice if sdk would be published, so i wouldn't have to build
> > > firefox myself for every version and every os.
> > >
> > > Regards,
> > > Aleš
> > > ___
> > > dev-platform mailing list
> > > dev-platform@lists.mozilla.org
> > > https://lists.mozilla.org/listinfo/dev-platform
> > >
>
> I'm using js-ctypes to load and use binary (dll), so it's not a xpcom
> component. As i understand that is still allowed. Well it works on FF42
> anyway.
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Where can i download firefox-sdk

2015-11-08 Thread ales . rozman . si
On Sunday, November 8, 2015 at 4:07:22 PM UTC+1, Dave Townsend wrote:
> As of Firefox 41 we no longer support loading binary components from
> add-ons.
> 
> On Sun, Nov 8, 2015 at 5:44 AM,  wrote:
> 
> > Hi all.
> >
> > I am developing firefox addon with a binary component, and until recently
> > i was using xulrunner-sdk for linking with required libs. As of version 42
> > xulrunner-sdk is no longer published. I read in a blog post (
> > http://hearsum.ca/blog/mozilla-will-stop-producing-automated-builds-of-xulrunner-after-the-410-cycle.html)
> > that mozilla will publish gecko-sdk with every release.
> >
> > I am wondering where is gecko-sdk published for version 42. I checked on
> > https://archive.mozilla.org/pub/ but couldn't find it.
> >
> > In the meantime i built firefox myself from source (on windows). With the
> > libs in /dist/sdk/lib and headers in /dist/include i was able to compile
> > and build my addon.
> >
> > It would be nice if sdk would be published, so i wouldn't have to build
> > firefox myself for every version and every os.
> >
> > Regards,
> > Aleš
> > ___
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >

I'm using js-ctypes to load and use binary (dll), so it's not a xpcom 
component. As i understand that is still allowed. Well it works on FF42 anyway.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Where can i download firefox-sdk

2015-11-08 Thread Dave Townsend
As of Firefox 41 we no longer support loading binary components from
add-ons.

On Sun, Nov 8, 2015 at 5:44 AM,  wrote:

> Hi all.
>
> I am developing firefox addon with a binary component, and until recently
> i was using xulrunner-sdk for linking with required libs. As of version 42
> xulrunner-sdk is no longer published. I read in a blog post (
> http://hearsum.ca/blog/mozilla-will-stop-producing-automated-builds-of-xulrunner-after-the-410-cycle.html)
> that mozilla will publish gecko-sdk with every release.
>
> I am wondering where is gecko-sdk published for version 42. I checked on
> https://archive.mozilla.org/pub/ but couldn't find it.
>
> In the meantime i built firefox myself from source (on windows). With the
> libs in /dist/sdk/lib and headers in /dist/include i was able to compile
> and build my addon.
>
> It would be nice if sdk would be published, so i wouldn't have to build
> firefox myself for every version and every os.
>
> Regards,
> Aleš
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform