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
ramiro%netscape.com
58110cdb96
This is all C code.
...
git-svn-id: svn://10.0.0.236/trunk@34403 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:08:12 +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
warren%netscape.com
42b3b62f98
Fixed GenericFactory linkage problems.
...
git-svn-id: svn://10.0.0.236/trunk@33604 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:51:14 +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
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
dp%netscape.com
24134a98b3
Adding progid and classname
...
git-svn-id: svn://10.0.0.236/trunk@33026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:47:27 +00:00
pinkerton%netscape.com
a8f72852cc
missing [] on delete of internal array in operator=.
...
git-svn-id: svn://10.0.0.236/trunk@32711 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:13:29 +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
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
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
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
mcafee%netscape.com
a3948e9888
Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@30913 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 06:47:04 +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
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
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
alecf%netscape.com
b8f6a37ee1
fix virtual constructor problem
...
git-svn-id: svn://10.0.0.236/trunk@30194 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:50:24 +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
alecf%netscape.com
5debab8c23
don't break if we're included in a C file
...
git-svn-id: svn://10.0.0.236/trunk@27532 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:13:20 +00:00
beard%netscape.com
3b777a0907
sorry, size_t != unsigned int, made declarations consistent to fix later link errors.
...
git-svn-id: svn://10.0.0.236/trunk@27451 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 04:19:42 +00:00
tague%netscape.com
7121cfaf3e
Rolled out change
...
git-svn-id: svn://10.0.0.236/trunk@27412 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:25:38 +00:00
tague%netscape.com
ad9735a563
Fixed windows build booboo. Added extern C to the defintion of nsQuickSort
...
git-svn-id: svn://10.0.0.236/trunk@27408 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:03:40 +00:00
alecf%netscape.com
4e7786eea9
export this symbol correctly
...
git-svn-id: svn://10.0.0.236/trunk@27400 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:16:52 +00:00
alecf%netscape.com
5f48991ebd
make sure nsQuickSort is extern "C"
...
git-svn-id: svn://10.0.0.236/trunk@27360 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:36:57 +00:00
alecf%netscape.com
2a2b644a5e
fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@27359 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:34:38 +00:00
jdunn%netscape.com
c2e4b13137
fix compiler warning/errors with conversion from a void* to a char*
...
git-svn-id: svn://10.0.0.236/trunk@27358 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:27:17 +00:00
alecf%netscape.com
55b31695a4
add quicksort implementation to base
...
(Thanks to Regents of CA and the RDF team)
git-svn-id: svn://10.0.0.236/trunk@27348 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 19:03:45 +00:00
scc%netscape.com
ba245bf505
inlining the work of |StartAssigment| reduces |nsCOMPtr| overhead on windows.
...
git-svn-id: svn://10.0.0.236/trunk@24870 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:35:49 +00:00
warren%netscape.com
23227822ab
Added missing flush.
...
git-svn-id: svn://10.0.0.236/trunk@24414 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:42:20 +00:00
warren%netscape.com
0b33372d99
nsRepository -> nsIComponentManager changes.
...
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
alecf%netscape.com
abafe271de
patches from cmanske@netscape.com - use NS_IMETHODIMP* macros instead of declaring nsrefcnt/etc directly
...
git-svn-id: svn://10.0.0.236/trunk@23205 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:34:16 +00:00
beard%netscape.com
5ceecb3479
Added NS_DEFINE_STATIC_CID_ACCESSOR.
...
git-svn-id: svn://10.0.0.236/trunk@23136 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:56:59 +00:00
alecf%netscape.com
49bedf1ec8
split up nsISupports macros into seperate files
...
git-svn-id: svn://10.0.0.236/trunk@22962 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:39:03 +00:00
scc%netscape.com
817f56596f
rename |IID()| --> |GetIID()|
...
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
beard%netscape.com
320d4de322
moved NS_CALLBACK to nsCom.h.
...
git-svn-id: svn://10.0.0.236/trunk@22691 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 04:09:33 +00:00
alecf%netscape.com
b18062f12e
start splitting nsISupports.h into multiple header files (blank right now until we get them into the Mac build)
...
git-svn-id: svn://10.0.0.236/trunk@22636 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 00:31:50 +00:00
scc%netscape.com
e70b8e958a
backed out depency on nscore.h
...
git-svn-id: svn://10.0.0.236/trunk@22631 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:52:38 +00:00