brendan%mozilla.org
b5c49d66b9
- Fix possessive "its" misspelled as "it's".
...
- Use if statements rather than ?: with 0 "else part" after the : in macros
whose bodies are statements anyway (and already protected by PR_BEGIN_MACRO
and PR_END_MACRO).
- Such if statements test for non-null pointers, so the subsequent statements
to null those pointers can move into the then parts -- there's no point in
setting a null pointer to null again.
1999-07-17 03:32:39 +00:00
warren%netscape.com
84bd74a4fd
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +00:00
mccabe%netscape.com
07f00c67ca
Remove vestiges of XPIDL_JS_STUBS (no longer used or implemented by xpidl-generated files.)
1999-07-16 01:20:03 +00:00
scc%netscape.com
ab2352e498
switched over to _not_ using |__comobject|. Adjusted assembly to skip extra vtable header, and fixed inheritance in |nsISupports|
1999-07-15 03:02:01 +00:00
mscott%netscape.com
607ea9e584
Rewrite NS_IMPL_THREADSAFE_ADDREF and NS_IMPL_THREADSAFE_RELEASE in cross platform way instead of having separate
...
implementations for windows and everyone else. They are now written to use PR_AtomicIncrement and PR_AtomicDecrement.
this meant adding #include "pratom.h".
A side effect of this change is that no one needs to include "windows.h" in .cpp files which were implementing threadsafe
interfaces. You used to have to do this before with the old implementations.
1999-07-02 20:18:20 +00:00
scc%netscape.com
0dfaa19773
all the changes are in, time to remove the #undef line so the traits class can do the right thing on platforms that support template specialization
1999-06-30 01:40:21 +00:00
scc%netscape.com
ed5943e923
add traits class to solve multiple |GetIID()| problems
1999-06-29 20:11:57 +00:00
dveditz%netscape.com
9fb13399c8
Adding NS_RELEASE_THIS()
1999-06-16 03:28:25 +00:00
waterson%netscape.com
4ef0ae057a
Add MOZ_TRACE_REFCNT to allow you to instrument individual implementations of AddRef() & Release().
1999-06-15 03:25:27 +00:00
bruce%cybersight.com
2c4766ddbd
Remove static IID kISupportsIID from the default QueryInterfaces implementation macro. Replace with call to nsISupports::GetIID(). Tested by dp, myself and tague on the 3 main platforms (Win32, Linux and Mac respectively).
1999-05-29 16:25:18 +00:00
dp%netscape.com
b21d1e72dc
Fixing nsrefcnt to be unsigned long to maintain binary compatibility. All Addref() and Release() prototypes modified appropriately
1999-05-28 04:53:17 +00:00
dp%netscape.com
381323acf0
Reversing changing type of nsrefcnt. Mailnews code has specific Release() implementation that mention a different type. We need to fix that first.
1999-05-28 02:07:49 +00:00
dp%netscape.com
246c3f4fe4
Fixed Binary compability with COM's nsIUnknown w.r.t return value types of Addref and Release.
...
nsrefcnt is defined as unsigned long for windows machines with 4 bytes per long.
1999-05-28 01:22:35 +00:00
scc%netscape.com
04d849f0ec
Fixup CallQueryInterface
1999-05-12 04:50:08 +00:00
jband%netscape.com
ff6dae2ffa
checking in generated versions of these xpcom headers. soon we will be generating these at compile time. Sources for these files are in xpcom/idl. They are regenerated from those files using xpidl -m header filename.idl
1999-05-07 01:45:20 +00:00
scc%netscape.com
470c0f17ac
change |CallQueryInterface| to handle situations where |nsISupports| is ambiguous.
1999-05-04 12:40:52 +00:00
scc%netscape.com
d9a7d33e9a
somebody is including this file inside an |extern "C"| declaration. That's bad. I can't find the culprit, but I can mark the important function |extern "C++"| to allow windows to compile.
1999-05-04 10:23:56 +00:00
scc%netscape.com
09dac5f140
oops
1999-05-04 09:51:04 +00:00
scc%netscape.com
6bab6751e6
Added |CallQueryInterface|, a type-safe interface to |QueryInterface|
1999-05-04 09:44:27 +00:00
alecf%netscape.com
a1357cc961
patches from cmanske@netscape.com - use NS_IMETHODIMP* macros instead of declaring nsrefcnt/etc directly
1999-03-08 21:34:16 +00:00
beard%netscape.com
d5f75e7080
Added NS_DEFINE_STATIC_CID_ACCESSOR.
1999-03-07 23:56:59 +00:00
alecf%netscape.com
8eb785a0db
split up nsISupports macros into seperate files
1999-03-05 22:39:03 +00:00
alecf%netscape.com
19c3844fa8
start splitting nsISupports.h into multiple header files (blank right now until we get them into the Mac build)
1999-03-03 00:31:50 +00:00