206 Commits

Author SHA1 Message Date
duncan%be.com
77cf1f5a76 Cut down on the number of warnings in the BeOS build, HAVE_CPP_NEW_CASTS
is also defined in config-defs.h, like on XP_UNIX.
mcafee@netscape.com checked.


git-svn-id: svn://10.0.0.236/trunk@41326 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 21:22:56 +00:00
jband%netscape.com
c8367e70cd differentiate between Win32 x86 and NT Alpha for a few low level debug activities. From bob meader <bob@guiduck.com>
git-svn-id: svn://10.0.0.236/trunk@41012 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 22:00:00 +00:00
scc%netscape.com
0f698b683b Allow explicit disabling of |...TEST_DONTQUERY_CASES| and |...DEBUG_PTR_TYPES| on the command-line for problematic compilers like QNX et al. This allows me to fix the QNX build, and provide an answer to some people compiling with the Sun Workshop.
git-svn-id: svn://10.0.0.236/trunk@40696 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:09:49 +00:00
scc%netscape.com
547fe93c5a switching back to the stricter declaration of |nsDerivedSafe<T>::operator=()|. Since I removed |nsISupportsArray::operator=()|, all should be well. I left the old declaration in but commented out, just in case. I hope I don't have to conditionalize this wth an autoconf test. I've built this (with the help of several other people including mjudge, waqar, slamm, et al) on as many other platforms as I could. This declaration is intended to stop people from declaring an |operator=()| in their (XP)COM interface classes.
git-svn-id: svn://10.0.0.236/trunk@40688 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 20:03:42 +00:00
ramiro%netscape.com
be8479149c Landing timer move on windows.
git-svn-id: svn://10.0.0.236/trunk@39882 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 15:52:01 +00:00
brendan%mozilla.org
9fe426a54c - 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.


git-svn-id: svn://10.0.0.236/trunk@39842 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 03:32:39 +00:00
dougt%netscape.com
a061bba191 Fixing Bug 9976.
git-svn-id: svn://10.0.0.236/trunk@39719 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 18:15:14 +00:00
ramiro%netscape.com
2d4d9b6dc4 Add NS_TIMER import/export macros.
git-svn-id: svn://10.0.0.236/trunk@39712 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:48:12 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
mccabe%netscape.com
61999b029b Remove vestiges of XPIDL_JS_STUBS (no longer used or implemented by xpidl-generated files.)
git-svn-id: svn://10.0.0.236/trunk@39610 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 01:20:03 +00:00
scc%netscape.com
10c019611e new feature lets you `see past' |nsISupports| in |nsCOMPtr|s. Now in the debugger (in debug versions only) you will see the actual type of the object. This is enabled by defining the preprocessor symbol |NSCAP_FEATURE_DEBUG_PTR_TYPES|. It cannot be turned on in non-debug builds. It is currently on in debug builds by default. It may become a feature that has to be enabled with a build command line switch.
NSCAP_FEATURE_ALLOW_RAW_POINTERS is now always the case and no longer optional; NSCAP_FEATURE_ALLOW_COMPARISONS is now always the case and no longer optional; cleaned up the previous definition and invocations of the |Assert_NoQueryNeeded| test.


git-svn-id: svn://10.0.0.236/trunk@39508 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 03:59:09 +00:00
scc%netscape.com
87179b94e7 switched over to _not_ using |__comobject|. Adjusted assembly to skip extra vtable header, and fixed inheritance in |nsISupports|
git-svn-id: svn://10.0.0.236/trunk@39496 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 03:02:01 +00:00
ramiro%netscape.com
9a0b13499f Checkin another chunk of Alex Larsson's non-exported symbol reduction
patch.  All changes protected by  MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.


git-svn-id: svn://10.0.0.236/trunk@38670 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 09:02:21 +00:00
mscott%netscape.com
24936d5848 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.


git-svn-id: svn://10.0.0.236/trunk@38130 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 20:18:20 +00:00
jband%netscape.com
09ad481b2b quick fix for bug 9250 - assert on startup
git-svn-id: svn://10.0.0.236/trunk@37520 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 07:13:26 +00:00
scc%netscape.com
180949a473 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
git-svn-id: svn://10.0.0.236/trunk@37508 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 01:40:21 +00:00
shaver%netscape.com
364aea910c partial backout of scc's nsCOMPtr, attempting to revive Win32 build
git-svn-id: svn://10.0.0.236/trunk@37486 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 22:33:18 +00:00
scc%netscape.com
62fb8f7c1f added logic to test whether QueryInterface was actually required when it is ommitted, |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|, changed the scheme by which we compare with zero to a more robust mechanism, modified specialized |CallQueryInterface| to use the global version
git-svn-id: svn://10.0.0.236/trunk@37468 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:09:59 +00:00
scc%netscape.com
c66394589f do_QueryInterface(NULL, &error) now returns the appropriate error in |error|
git-svn-id: svn://10.0.0.236/trunk@37467 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:09:56 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
scc%netscape.com
fd2d046e02 add traits class to solve multiple |GetIID()| problems
git-svn-id: svn://10.0.0.236/trunk@37421 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:11:57 +00:00
mcafee%netscape.com
b366c7e0ba BeOS changes
git-svn-id: svn://10.0.0.236/trunk@37402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 10:27:58 +00:00
dp%netscape.com
d862fb2a9b Removing duplicate nsDebug.obj. Thanks to
<david.gardiner@unisa.edu.au> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@37252 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 22:23:04 +00:00
pollmann%netscape.com
d60509b4f9 Adding form submit observer interface for Wallet and Single Signon
git-svn-id: svn://10.0.0.236/trunk@36621 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 22:22:35 +00:00
ramiro%netscape.com
b0cc232d87 Add #ifdefs to make sure it only build on supported linux platforms.
git-svn-id: svn://10.0.0.236/trunk@36019 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 02:29:17 +00:00
ramiro%netscape.com
43674ab48e Make it work with gnu libc 2.1. On glibc 2.1, the Dl_info api defined in
<dlfcn.h> is only exposed __USE_GNU is defined.  I suppose its some kind of
standards adherence thing.


git-svn-id: svn://10.0.0.236/trunk@35664 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:55:36 +00:00
dveditz%netscape.com
6ee73b8ff9 Adding NS_RELEASE_THIS()
git-svn-id: svn://10.0.0.236/trunk@35631 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:28:25 +00:00
waterson%netscape.com
daeb84e9fe Add WalkTheStack() implementation for i386 Linux. Tip o' the hat to kipp for the stack walking code, and shaver for the dladdr() hint. Replace PR_snprintf() with nsIToA().
git-svn-id: svn://10.0.0.236/trunk@35610 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:05:32 +00:00
pollmann%netscape.com
48590ea9b6 Bug 2195: select[n] == select.options[n], new IID for nonstandard DOM interface
git-svn-id: svn://10.0.0.236/trunk@35606 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:41:13 +00:00
waterson%netscape.com
29e6fa110d Clean up stack trace output: add displacements and remove spaces that sometimes appear in demangled symbols (so my perl script doesn't barf).
git-svn-id: svn://10.0.0.236/trunk@35377 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:27:09 +00:00
waterson%netscape.com
3fecdf8813 Add MOZ_TRACE_REFCNT to allow you to instrument individual implementations of AddRef() & Release().
git-svn-id: svn://10.0.0.236/trunk@35332 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:25:27 +00:00
mcmullen%netscape.com
945fc61529 Compromise. On other platforms, NS_WARNING does not call break. So we'll do the same. So for NS_WARNING, we'll simply print to the console and continue, a la mode de Pierre, while for other forms of NS_BLOWCHUNKS, we'll break into the debugger, as of old.
git-svn-id: svn://10.0.0.236/trunk@34615 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:50:56 +00:00
warren%netscape.com
d2b1868514 Added nscore.h to nsrootidl.idl for PRUnichar.
git-svn-id: svn://10.0.0.236/trunk@34360 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:19:10 +00:00
sfraser%netscape.com
da9bcac667 Back out pierre change, so that NS_ASSERTION calls DebugStr once again. Doing this on the basis of consensus at 7/6 macdev meeting.
git-svn-id: svn://10.0.0.236/trunk@34291 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:13:40 +00:00
pierre%netscape.com
79a9957748 (Mac only) PR_LOG() calls printf() with a "¥¥¥" header instead of falling into MacsBug.
git-svn-id: svn://10.0.0.236/trunk@33847 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:04:28 +00:00
briano%netscape.com
ec88440c2d Converted all the C++ comments to C comments to fix the Unix builds (prefapi.c).
git-svn-id: svn://10.0.0.236/trunk@33693 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:00:19 +00:00
akkana%netscape.com
15d273f907 Vidur's HTML fragment content sink; Kostello's document/html encoders
git-svn-id: svn://10.0.0.236/trunk@33618 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:11:53 +00:00
waterson%netscape.com
87f514938b Remove NS_IS_ERROR() macro; it's both redundant with NS_FAILED() and wrong.
git-svn-id: svn://10.0.0.236/trunk@33616 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:03:07 +00:00
warren%netscape.com
bee72685ed IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
git-svn-id: svn://10.0.0.236/trunk@33600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:47 +00:00
scc%netscape.com
3b2708bb1d fixed for VMS
git-svn-id: svn://10.0.0.236/trunk@33573 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:36:53 +00:00
waterson%netscape.com
719a74de7c Fix XPIDL_MODULE typos.
git-svn-id: svn://10.0.0.236/trunk@33564 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:06:49 +00:00
scc%netscape.com
fb55bb044f replaced tabs with spaces as per our standards
git-svn-id: svn://10.0.0.236/trunk@33390 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:59:28 +00:00
scc%netscape.com
7c2cb084f3 added comparisons that will allow |nsnull != myPtr| et al
git-svn-id: svn://10.0.0.236/trunk@33385 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:29:55 +00:00
bruce%cybersight.com
b79cb3c360 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).
git-svn-id: svn://10.0.0.236/trunk@33240 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 16:25:18 +00:00
dp%netscape.com
75dc8b1770 Fixing nsrefcnt to be unsigned long to maintain binary compatibility. All Addref() and Release() prototypes modified appropriately
git-svn-id: svn://10.0.0.236/trunk@33100 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 04:53:17 +00:00
dp%netscape.com
03e1f16be9 Reversing changing type of nsrefcnt. Mailnews code has specific Release() implementation that mention a different type. We need to fix that first.
git-svn-id: svn://10.0.0.236/trunk@33083 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 02:07:49 +00:00
dp%netscape.com
c6b7ed14b1 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.


git-svn-id: svn://10.0.0.236/trunk@33077 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:22:35 +00:00
mccabe%netscape.com
8f6488d835 Removed unused and nonsensical voidRef typedef.
git-svn-id: svn://10.0.0.236/trunk@33074 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:14:50 +00:00
dp%netscape.com
786e6495f2 Adding PROGID and ClassName
git-svn-id: svn://10.0.0.236/trunk@33023 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:41:23 +00:00
dp%netscape.com
4e84129c48 landing xpcom20/21 branch
git-svn-id: svn://10.0.0.236/trunk@32646 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 02:16:15 +00:00