Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com c5e8f896cd 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 8f6f1756ce 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 8057a7a170 Adding better comments. r=jband, sr=brendan 2002-04-04 23:04:53 +00:00
gerv%gerv.net f385eb981a 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 46e212a972 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe. 2001-07-16 21:26:04 +00:00
sspitzer%netscape.com 36ed2bb68d fix for #68036. (quiet compiler warnings) sr=brendan/waterson a long time ago. 2001-03-19 22:14:07 +00:00
jband%netscape.com ed996a6073 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 8535dda53e 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 ad1c348b2c 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 9b9b749fde 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 0766d265ef Pick nits. 1999-09-06 23:00:17 +00:00
brendan%mozilla.org 943ad089f9 Deadlock detection hacks. 1999-09-06 19:28:56 +00:00
cls%seawood.org 9eea17be39 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 b99135a491 squelch unused parameter warnings. 1999-07-07 04:17:45 +00:00
sspitzer%netscape.com 4ca17620eb fix warnings 1999-06-26 04:17:58 +00:00
warren%netscape.com 9f1b058d56 Added assertions. 1999-06-19 22:22:16 +00:00
warren%netscape.com 087d61993b Changed nsAutoMonitor to nsAutoCMonitor (cached monitors). 1999-06-16 04:15:08 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com 09b07809c1 Added include for nsError.h to get nsresult. 1999-04-30 23:49:30 +00:00
warren%netscape.com cc1333535a Made Notify and Wait methods return nsresult. 1999-04-30 22:55:16 +00:00
warren%netscape.com 187631ef17 Added nsAutoMonitor 1999-04-22 04:12:08 +00:00
waterson%netscape.com eb5acecc63 Fixed comments that were referring to monitors. 1999-02-04 23:20:30 +00:00
waterson%netscape.com 01610bdaeb Added headers that nsAutoLock needs. 1999-02-04 00:39:49 +00:00
waterson%netscape.com a1cee51422 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 e232c67d81 Initial revision. 1999-02-03 22:44:14 +00:00