Daniel Holbert
098d13a7bd
Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg
2010-04-01 11:05:40 -07:00
Daniel Holbert
1faa0a4f90
Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange
2010-04-01 09:40:30 -07:00
Daniel Holbert
9d9224d62d
Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg
2010-04-01 08:07:23 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
benjamin%smedbergs.us
8c57888aec
Bug 313309 - Table-driven QI part 3 - use weak statics for interface IDs, r=shaver. This will break VC6 and gcc2.9x, which is ok
2006-11-14 21:21:37 +00:00
benjamin%smedbergs.us
107bbb27b7
Backout bug 313309 part 3 again due to gcc2.9x bustage and an ICE on MSVC6
2006-02-23 19:57:50 +00:00
benjamin%smedbergs.us
f9148b34a2
Bug 313309 part 3 - relanding now that all the mac tinderboxen have been upgraded to xcode 1.5+ - use a weak static data symbol for NS_GET_IID instead of an inline function. Have to use templates to trick compilers into emitting a weak symbol. r=shaver
2006-02-23 18:31:02 +00:00
bsmedberg%covad.net
638b74d7bd
Backing out bug 313309 part 3 due to various intermingled bustages.
2005-11-14 16:37:43 +00:00
bsmedberg%covad.net
afaacd8030
Bug 313309 part 3 - use static data symbol (it's a weak symbol, we're tricking compilers into emitting a weak symbol by using templates) for NS_GET_IID instead of an inline function, r=shaver. This may break some tinderboxen (in which case I'll backout), especially the old mac tinderboxen which haven't yet been upgraded from xcode1.1 to a newer version.
2005-11-14 15:07:07 +00:00
bsmedberg%covad.net
78f6d0683d
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
a4d3866df3
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 14:43:22 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
dougt%meer.net
ed09f93043
Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
2003-08-05 05:29:10 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
seawood%netscape.com
9b5ae05e33
Landing the rest of the mach-o OSX changes.
...
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
dougt%netscape.com
8d512061e8
Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281
2001-09-27 03:43:00 +00:00
vidur%netscape.com
42b0b59ad3
Fix for bug 96517. Fixing typo in NS_ISUPPORTS_IMPL_CI macros. r/sr=jband, brendan
2001-08-24 23:59:59 +00:00
brendan%mozilla.org
dbd7fed5b1
FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
2001-07-31 19:05:34 +00:00
dbaron%fas.harvard.edu
17bc9725da
Make CallQueryInterface work when nsISupports is an ambiguous base class and make CallQueryReferent work when nsIWeakReference is an ambiguous base class. b=87735 r=jaggernaut sr=scc
2001-07-04 18:55:13 +00:00
jst%netscape.com
ea706038cf
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
waterson%netscape.com
8e6365a96f
Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc
2001-04-04 05:00:08 +00:00
shaver%mozilla.org
fcf7cd0d9f
67699: all your nsIClassInfo is belong to us
...
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
testing
2001-03-12 20:43:02 +00:00
rpotts%netscape.com
82f71853c7
bug #61339 . Added a missing const to an nsdIID (sr=waterson)
2001-03-08 06:54:47 +00:00
waterson%netscape.com
6928f3e554
Bug 61339. Static accessor iid/cid should be 'const'. r=scc, sr=jband,rpotts
2000-12-21 00:38:31 +00:00
mccabe%netscape.com
a65e320dd3
Better fix to problem with 57094; reinstate 57094 fix and add a conditional #undef of NS_NO_VTABLE to nsISupportsUtils.h before defining it there.
...
r=jband
2000-11-30 08:08:24 +00:00
mkaply%us.ibm.com
7863bcb388
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:51:05 +00:00
dmose%mozilla.org
03a6ecf015
added macros for deallocating XPCOM arrays. r=alecf@netscape.com, moa=scc@mozilla.org, sr=brendan@mozilla.org
2000-11-22 20:15:23 +00:00
mccabe%netscape.com
83a2aee03e
Fix to 49416.
...
Emit NS_NO_VTABLE in xpidl-generated interface files. NS_NO_VTABLE is defined in nsISupportsUtils.h, and on windows generates __declspec(novtable).
This saves us some code space, and may also be a runtime win.
Initial version of this fix courtesy Adam Lock <adamlock@netscape.com>.
r=jband
a=beard
NOTE this change will cause the world to recompile.
2000-08-25 09:58:35 +00:00
heikki%citec.fi
41bb442a68
Fixed NS_ENSURE_ARG_MAX macro (a typo), it did not even compile if you tried to use it.
2000-06-13 08:36:06 +00:00
alecf%netscape.com
b9d28478e4
repair the NS_IMPL_QUERY_INTERFACE_INHERITED3 macro
2000-05-14 23:09:21 +00:00
warren%netscape.com
84ea15d65a
Made the thread-safety checking able to be turned on/off by the XPCOM_CHECK_THREADSAFE env var. a=jar,r=mscott
2000-03-08 09:21:32 +00:00
pinkerton%netscape.com
21d68adbc6
beard got the logic backwards, now we really shouldn't assert on mac. r=danm.
2000-03-07 03:57:31 +00:00
beard%netscape.com
d3012769e3
to avoid unnecessary assertions, configurations not defining NS_MT_SUPPORTED (such as the Mac) shouldn't use the OWNINGTHREAD machinery. r=warren, a=leaf
2000-03-06 23:55:14 +00:00
danm%netscape.com
b976efa3d2
bump refcount in threadsafe release macro. bug 30666 r=warren
2000-03-06 21:10:46 +00:00
warren%netscape.com
ad38c46f08
Fixing mac bustage -- doubly defined NS_IMPL_THREADSAFE_ISUPPORTS macro.
2000-03-05 21:59:15 +00:00
warren%netscape.com
c0497e31be
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
mkaply%us.ibm.com
5fc1abd8ef
# 25555
...
r= dp@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:50:48 +00:00
scc%netscape.com
f4f8cc503e
Somebody is |#include|ing this file inside an |extern "C"| declaration. This is wrong, and stops the build on some platforms. In the meantime, protect the new template declarations to stop the build bustage.
2000-02-11 08:38:14 +00:00
scc%netscape.com
b7de524c75
Fixed up |NS_IF_ADDREF| to support the following use efficiently in the non-logging case
NS_IF_ADDREF(*result = mFoo);
as per bug #27343 . r=jband
(Actually, I like the generated error better when I make this small modification to the template)
2000-02-11 07:12:02 +00:00
scc%netscape.com
d581aa9adf
Fixed up |NS_IF_ADDREF| to support the following use efficiently in the non-logging case
NS_IF_ADDREF(*result = mFoo);
as per bug #27343 . r=jband
2000-02-11 07:07:57 +00:00
scc%netscape.com
4addda4681
Added |NS_ISUPPORTS_CAST()|. Added |NS_DebugGetRefCount()| as per bug #26803 . r={pinkerton, hyatt}
2000-02-11 01:42:58 +00:00
scc%netscape.com
b3649364e4
Eliminating duplicate macros, r=dougt
2000-02-05 23:55:09 +00:00
warren%netscape.com
8d80a7196e
Added NS_IMPL_ISUPPORTS_INHERITED3 macro.
2000-02-03 08:51:30 +00:00
pinkerton%netscape.com
e5d4c38a9a
Fix build bustage. needed a typecast in some cases, but not others.
2000-01-26 23:17:53 +00:00
pinkerton%netscape.com
9d8c2663ba
fix for NS_INTERFACE_MAP_END_INHERITING, wrong local var passed to base class's QI. r=scc.
2000-01-26 21:54:07 +00:00
dougt%netscape.com
0b0346079c
Landing nsIFile.
2000-01-24 21:28:28 +00:00
scc%netscape.com
a2dea03069
macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477
2000-01-13 05:48:47 +00:00
scc%netscape.com
0fc0a0709f
factor the |IMPL_QUERY| macros to support inheriting |QueryInterface|. Redefine all the |NS_IMPL_ISUPPORTSn| macros in terms of the table-style macros. r={pinkerton, sfraser}
2000-01-12 16:01:14 +00:00
dp%netscape.com
edcdeb94a5
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-11-30 23:36:32 +00:00