175 Commits

Author SHA1 Message Date
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
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
a89e09d70c Added
git-svn-id: svn://10.0.0.236/trunk@32093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:43:13 +00:00
dp%netscape.com
35f66733c1 Initial version
git-svn-id: svn://10.0.0.236/trunk@32061 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:11:01 +00:00
vidur%netscape.com
bcd116b3a7 Added nsIDOMHTMLLayerElement interface
git-svn-id: svn://10.0.0.236/trunk@31928 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:18:23 +00:00
sfraser%netscape.com
07b79fc43e Added include guards, which should be a big win on commonly included files like this one.
git-svn-id: svn://10.0.0.236/trunk@31566 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:07:31 +00:00
sfraser%netscape.com
c00e1eb8f1 Include <string.h>, not "string.h". Also added include guards, which should be a big win on commonly included files like this one.
git-svn-id: svn://10.0.0.236/trunk@31565 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:07:23 +00:00
kipp%netscape.com
9074dae0dd Alloc IID
git-svn-id: svn://10.0.0.236/trunk@31295 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:20:55 +00:00
scc%netscape.com
75ac724111 Fixup CallQueryInterface
git-svn-id: svn://10.0.0.236/trunk@31239 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:50:08 +00:00
alecf%netscape.com
da8a0875aa include nsresult typedef
git-svn-id: svn://10.0.0.236/trunk@31205 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:19:18 +00:00
akkana%netscape.com
3a70f7a5cb New build option enable-crash-on-assert for those who really want the old behavior
git-svn-id: svn://10.0.0.236/trunk@31157 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:22:24 +00:00
scc%netscape.com
78eb0e9f7f temporarily commented out CallQueryInterface for UNIX, added NS_EXPORT for Windows
git-svn-id: svn://10.0.0.236/trunk@30978 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:43:29 +00:00
scc%netscape.com
9135e5202b conditionally factored destructor
git-svn-id: svn://10.0.0.236/trunk@30950 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:48:43 +00:00
waterson%netscape.com
912c60be63 Removed double-declaration of nsISupports: we #include nsISupportsArray now.
git-svn-id: svn://10.0.0.236/trunk@30716 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:52:13 +00:00
law%netscape.com
9dd0d1b6ee Renamed one component and added a sample
git-svn-id: svn://10.0.0.236/trunk@30713 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:45:34 +00:00
akkana%netscape.com
39604be7ee Add nsInsertHTMLTxn
git-svn-id: svn://10.0.0.236/trunk@30694 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:20:40 +00:00
akkana%netscape.com
d5ac952adc Make NS_ASSERTION and DebugBreak not crash on Unix
git-svn-id: svn://10.0.0.236/trunk@30693 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:20:12 +00:00
warren%netscape.com
40cb5e5fad Removed size args from nsIAllocator Realloc and Free. Now nsPageMgr keeps track of sizes for its nsIAllocator interface.
git-svn-id: svn://10.0.0.236/trunk@30682 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 06:22:11 +00:00
jband%netscape.com
809d970fe8 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
git-svn-id: svn://10.0.0.236/trunk@30647 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 01:45:20 +00:00
jband%netscape.com
fe442ed8d5 pare down to the idl files that really work. Some can be resurrected later. Many require interface changes with deeper implications. These are the base interfaces that we really need to have xpconnectable at this point
git-svn-id: svn://10.0.0.236/trunk@30619 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:17:58 +00:00
scc%netscape.com
2532453e8b sense of HAVE_CPP_BOOL was backwards, fixed it (thanks, Jim Dunn)
git-svn-id: svn://10.0.0.236/trunk@30442 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:36:38 +00:00
scc%netscape.com
b85e1a74ed -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wow!  Re-enabled initialization/assignment from raw COM interface pointers, only this time it means the same as |dont_QueryInterface|.  Which is what people want and expect.  Re-enabled comparisons between |nsCOMPtr|s and raw COM interface pointers; and it means what people expect: are these two 4-byte values equal/not-equal.  Added a function for comparing two pointers (either can be raw or nsCOMPtr) called |SameCOMIdentity|, which provides the other kind of comparison.

No current functionality has changed.  Everything you're doing now is still legal and valid.  These changes only bring some additional options.
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.0.2
Comment: get my key at <http://www.meer.net/ScottCollins/#key>

iQA/AwUBNzAeufGmojMuVn+fEQInWgCfUVK/7xfd/pdhAmyIe4HhynKsuucAn20t
MRtmNY4e2MAdwClvhR65a5Yv
=elb3
-----END PGP SIGNATURE-----


git-svn-id: svn://10.0.0.236/trunk@30401 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 10:37:05 +00:00
kipp%netscape.com
28f1155583 alloc IID
git-svn-id: svn://10.0.0.236/trunk@30317 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:59:01 +00:00
kipp%netscape.com
76ccb16ab5 alloc IID
git-svn-id: svn://10.0.0.236/trunk@30315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:56:46 +00:00
kipp%netscape.com
df30a0c42d alloc iids
git-svn-id: svn://10.0.0.236/trunk@30218 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:31:48 +00:00
vidur%netscape.com
ea579482e4 new IIDs for nsIDOMNSRange, nsIDOMOption, nsIJSNativeInitializer, nsHTMLOptionElement_CID and nsISelectElement
git-svn-id: svn://10.0.0.236/trunk@30208 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:55:46 +00:00
scc%netscape.com
c3c1b1ce2b change |CallQueryInterface| to handle situations where |nsISupports| is ambiguous.
git-svn-id: svn://10.0.0.236/trunk@30105 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 12:40:52 +00:00
scc%netscape.com
1be50dc6d8 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.
git-svn-id: svn://10.0.0.236/trunk@30103 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 10:23:56 +00:00
scc%netscape.com
80c7c4981c oops
git-svn-id: svn://10.0.0.236/trunk@30102 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 09:51:04 +00:00
scc%netscape.com
8a9c9eb0d5 Added |CallQueryInterface|, a type-safe interface to |QueryInterface|
git-svn-id: svn://10.0.0.236/trunk@30100 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 09:44:27 +00:00
scc%netscape.com
c2578a9d5f added |null_nsCOMPtr()|, |CallQueryInterface()|, fixed comments; added |const| in several appropriate places
git-svn-id: svn://10.0.0.236/trunk@30099 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 09:37:35 +00:00
warren%netscape.com
0788be3644 Added size argument to Free and Realloc (for implementations that can't determine the memory block's size. Needed for nsPageMgr. Hooked allocator up to xpcom initialization.
git-svn-id: svn://10.0.0.236/trunk@29899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:54:28 +00:00