Commit Graph

32 Commits

Author SHA1 Message Date
Ehsan Akhgari
26e53bebdb Bug 1114880 follow-up: Rename MOZ_{STRONG,WEAK}_REF to MOZ_{OWNING,NON_OWNING}_REF 2014-12-23 21:17:50 -05:00
Ehsan Akhgari
23405e0fc0 Bug 1114880 - Annotate some strong and weak references in XPCOM; r=froydnj 2014-12-23 17:27:48 -05:00
Nicholas Nethercote
b35d1d1aa7 Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg. 2014-08-27 15:47:27 -07:00
Birunthan Mohanathas
8a4a4c8465 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
ce774b1fa6 Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj 2014-06-26 18:35:39 -07:00
Robert O'Callahan
efda4ce48e Bug 1015664. Part 3: Remove NS_HIDDEN_VISIBILITY from NS_IMETHOD_VISIBILITY. r=bsmedberg 2014-06-03 00:08:27 +12:00
Jeff Muizelaar
5efa3730d7 Bug 792954. Add a WeakPtr implementation to use instead of nsISupportsWeakReference. r=joe,ehsan,Waldo
This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example.
2012-10-04 15:45:07 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Mounir Lamouri
ad1e97c905 Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst 2011-01-19 12:13:54 +01:00
5f0802829d Bug 384513 - make the visibility pragma checks aware of mach-o and not just ELF, and re-enable libxul by default, r=mento+shebs 2007-06-19 07:53:05 -07:00
benjamin@smedbergs.us
433add978b Re-land this part of bug 305949 now that I've configure-tested the broken compiler (bug 334866) 2006-04-21 17:16:31 +00:00
benjamin@smedbergs.us
0d1a55ddf5 Reverting this to use NS_VISIBILTY_DEFAULT because this exposed GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905 2006-04-19 20:21:29 +00:00
benjamin@smedbergs.us
c2c4311df0 Bug 305949 - Fix various XPCOM macros in preparation for stopping exporting nonfrozen XPCOM functions, r=darin sr=bryner 2006-04-19 16:29:31 +00:00
cvshook@sicking.cc
391efb6270 Bug 234858: Make do_GetWeakReference typesafe.
r=dbaron sr=bryner
2005-01-24 22:59:27 +00:00
darin@meer.net
14935d9520 fixes bug 266006 "xpcom/glue should not declare methods with NS_COM" r=bsmedberg 2004-10-29 19:43:51 +00:00
darin@meer.net
86cd72217f landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bryner@brianryner.com
46bd5ae335 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner@brianryner.com
407b4b405c Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
bryner@brianryner.com
73c3254bfa Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
bryner@brianryner.com
3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
jdunn@netscape.com
7ca6c7c1f5 AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
jband@netscape.com
68ab8b0482 part of the fix to bug 66950. For xpconnect the class we mixin to sometimes needs to know if any weak references are outstanding. r=rogerl sr=brendan 2001-02-02 08:40:01 +00:00
scc@netscape.com
4a3311924b Made a protected method for severing weak references early 1999-09-21 20:20:04 +00:00
mccabe@netscape.com
0508c78f6c Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
scc@netscape.com
240c0b38db added license, fixed tabs 1999-08-21 20:07:27 +00:00
scc@netscape.com
9516b932ca renamed to QueryReferent, do_QueryReferent, etc. 1999-08-13 23:00:58 +00:00
danm@netscape.com
8bf5f77d44 fix WeakReference exporting for Windows. a:chofmann r:scc. 1999-08-11 23:48:08 +00:00
sspitzer@netscape.com
dd26083f67 fix warnings 1999-08-05 19:47:10 +00:00
scc@netscape.com
665a4017f8 getting ready to build 1999-08-03 04:59:47 +00:00
scc@netscape.com
20705ad4e1 First Checked In. 1999-08-03 03:41:27 +00:00