martijn.martijn%gmail.com
584a33c71c
Bug 323195 - XPCAutoUnlock messes with detection of potential deadlocks, patch by Matthew Gertner, r=brendan
2006-07-29 14:45:09 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
bryner%brianryner.com
0c7c3a2ff3
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
darin%meer.net
7a85e4d69a
fixes bug 221331 "nsAutoLock: bogus deadlock warning if unlock/lock are used." patch=brendan r+sr=darin
2003-10-08 03:37:17 +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
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dougt%netscape.com
9c15603e2d
Adding better comments. r=jband, sr=brendan
2002-04-04 23:04:53 +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
rpotts%netscape.com
8e0cf5d073
bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe.
2001-07-16 21:26:04 +00:00
sspitzer%netscape.com
98ca212dcc
fix for #68036 . (quiet compiler warnings) sr=brendan/waterson a long time ago.
2001-03-19 22:14:07 +00:00
jband%netscape.com
8369137469
r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock
1999-11-15 22:15:27 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
cls%seawood.org
1699d31f60
For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new
1999-09-15 22:00:12 +00:00
cls%seawood.org
af786fe1e7
Removed gcc 2.95+ ifdefs to trade one annoying warning for a less annoying one.
1999-09-12 12:03:20 +00:00
brendan%mozilla.org
849e52b0fb
Pick nits.
1999-09-06 23:00:17 +00:00
brendan%mozilla.org
154f675bda
Deadlock detection hacks.
1999-09-06 19:28:56 +00:00
cls%seawood.org
3f1dcd11dc
Various fixes to let the tree compile with gcc 2.95:
...
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.
Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
toshok%hungry.com
e84027ae5a
squelch unused parameter warnings.
1999-07-07 04:17:45 +00:00
sspitzer%netscape.com
9bef23e66b
fix warnings
1999-06-26 04:17:58 +00:00
warren%netscape.com
35b98be4f9
Added assertions.
1999-06-19 22:22:16 +00:00
warren%netscape.com
ea65cc126c
Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
1999-06-16 04:15:08 +00:00
dp%netscape.com
94344009c8
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
warren%netscape.com
cd4fdddee8
Added include for nsError.h to get nsresult.
1999-04-30 23:49:30 +00:00
warren%netscape.com
15356905f2
Made Notify and Wait methods return nsresult.
1999-04-30 22:55:16 +00:00
warren%netscape.com
16745abb64
Added nsAutoMonitor
1999-04-22 04:12:08 +00:00
waterson%netscape.com
fc32751b45
Fixed comments that were referring to monitors.
1999-02-04 23:20:30 +00:00
waterson%netscape.com
791d6357f5
Added headers that nsAutoLock needs.
1999-02-04 00:39:49 +00:00
waterson%netscape.com
bf217ad0ab
Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store.
1999-02-04 00:25:56 +00:00
waterson%netscape.com
9b6f064b72
Initial revision.
1999-02-03 22:44:14 +00:00