Re: NS_New$THING vs. new $THING

2012-10-07 Thread Boris Zbarsky
On 10/7/12 4:13 PM, Ehsan Akhgari wrote: Nice! Can you please share some info on when you can avoid inheriting from nsISupports and whether we can make the cycle collector aware of such objects? Basically, the rules are as follows: 1) You need to either not need cycle collection (e.g. becaus

Re: Compiling XULrunner 15.0.1 on linux slackware: ld error about VERSION script?

2012-10-07 Thread Andrey Gursky
Hi all, hi Karl! On Sep 20, 11:34 pm, Karl Tomlinson wrote: > What does nssutil.def look like? > > You may be able to work around --with-system-nss. Someone else has the same bug: http://forums.mozillazine.org/viewtopic.php?f=23&t=2509805 and yet another one: https://bugzilla.mozilla.org/show_bu

Re: NS_New$THING vs. new $THING

2012-10-07 Thread Andrew McCreight
- Original Message - > On 2012-10-05 9:13 PM, Boris Zbarsky wrote: > > On 10/5/12 8:55 PM, Jonas Sicking wrote: > >> With WebIDL you don't even need to use XPCOM interfaces to expose > >> something to javascript! > > > > Indeed. As of a few days ago, you don't even need to inherit from > >

Re: NS_ALWAYS_INLINE apparently needs to include "inline", or have "inline" alongside it everywhere

2012-10-07 Thread L. David Baron
On Sunday 2012-10-07 13:38 -0700, Daniel Holbert wrote: > To fix the warning and actually get inlining behavior, I think we need > to do either of the following: > (a) include "inline" alongside NS_ALWAYS_INLINE in each usage > (b) or, change the definition of NS_ALWAYS_INLINE to include "inline"

Re: NS_ALWAYS_INLINE apparently needs to include "inline", or have "inline" alongside it everywhere

2012-10-07 Thread Daniel Holbert
For reference, I'm attaching a list of the 67 warnings of this type that we currently hit in a debug m-c clobber build. (each of which is an instance where we fail to inline despite the always_inline keyword, I believe) Incidentally, most of them are in libjpeg, because we define libjpeg's frequen

NS_ALWAYS_INLINE apparently needs to include "inline", or have "inline" alongside it everywhere

2012-10-07 Thread Daniel Holbert
GCC 4.7 apparently complains if you specify the "always_inline" attribute without also specifying "inline", as observed in [1] and [2]. The exact warning is: # warning: always_inline function might not # be inlinable [-Wattributes] Right now, we define NS_ALWAYS_INLINE as __attribute__((alw

Re: NS_New$THING vs. new $THING

2012-10-07 Thread Ehsan Akhgari
On 2012-10-05 9:13 PM, Boris Zbarsky wrote: On 10/5/12 8:55 PM, Jonas Sicking wrote: With WebIDL you don't even need to use XPCOM interfaces to expose something to javascript! Indeed. As of a few days ago, you don't even need to inherit from nsISupports. ;) Nice! Can you please share some

Re: mach has landed

2012-10-07 Thread Mike Shal
On Thu, Oct 4, 2012 at 12:17 PM, Benjamin Smedberg wrote: > On 10/4/2012 12:11 PM, Gregory Szorc wrote: >> >> >> #1 is a larger problem with no easy solution. Without significantly >> altering how make/pymake work, about the best we can do is parse the process >> output of the build and try to pri

Re: xulrunner 1.9.*/3.6.* and windows 7

2012-10-07 Thread Philipp Wagner
Hi, Am 04.10.2012 15:23, schrieb timur.shahmura...@baza-winner.ru: > We have xulrunner based app which should run even on very old and > slow machines. Main advantage of xulrunner 3.6 is memory usage. At > start 3.6 has ~25 mb while 5-15 has ~85-90mb. it's true t

Re: Flash Player freezes XULRunner

2012-10-07 Thread Philipp Wagner
Am 07.10.2012 00:48, schrieb James Newell: > Thanks for the suggestion Phillip. > > Am I right to assume from > https://bugzilla.mozilla.org/show_bug.cgi?id=778858 that the OOP > setting is enabled by default now? No, it's not. This is only for webapprt, not for xulrunner. > I manually added th