Commit Graph

25 Commits

Author SHA1 Message Date
dougt@netscape.com
46ce738546 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
0ae28f14fb 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
56a7ed85f4 Adding better comments. r=jband, sr=brendan 2002-04-04 23:04:53 +00:00
gerv@gerv.net
58d409fba9 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
613eb4316a bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe. 2001-07-16 21:26:04 +00:00
sspitzer@netscape.com
1c1697cfa3 fix for #68036. (quiet compiler warnings) sr=brendan/waterson a long time ago. 2001-03-19 22:14:07 +00:00
jband@netscape.com
a96c256c0f 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
20621227af 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
e2bcf8e8df 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
e86e78abd8 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
fc3f1defd2 Pick nits. 1999-09-06 23:00:17 +00:00
brendan@mozilla.org
1aecf0815b Deadlock detection hacks. 1999-09-06 19:28:56 +00:00
cls@seawood.org
85216089d5 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
94b8c9fd2c squelch unused parameter warnings. 1999-07-07 04:17:45 +00:00
sspitzer@netscape.com
e99fd73c14 fix warnings 1999-06-26 04:17:58 +00:00
warren@netscape.com
e6ff27e96f Added assertions. 1999-06-19 22:22:16 +00:00
warren@netscape.com
6d7c72c05c Changed nsAutoMonitor to nsAutoCMonitor (cached monitors). 1999-06-16 04:15:08 +00:00
dp@netscape.com
6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren@netscape.com
aab391adfc Added include for nsError.h to get nsresult. 1999-04-30 23:49:30 +00:00
warren@netscape.com
d33e49b0ae Made Notify and Wait methods return nsresult. 1999-04-30 22:55:16 +00:00
warren@netscape.com
a47eee4b90 Added nsAutoMonitor 1999-04-22 04:12:08 +00:00
waterson@netscape.com
60ec5520aa Fixed comments that were referring to monitors. 1999-02-04 23:20:30 +00:00
waterson@netscape.com
1323152a33 Added headers that nsAutoLock needs. 1999-02-04 00:39:49 +00:00
waterson@netscape.com
a66bf1cbe4 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
ad7c8d58f4 Initial revision. 1999-02-03 22:44:14 +00:00