dougt%netscape.com
fced92a57e
backing out changes. looks like this stuff is untested in a full build.
...
git-svn-id: svn://10.0.0.236/trunk@52839 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 03:31:04 +00:00
cls%seawood.org
dc0901d830
Fix for the template variable change from <T> to <nsISupports>. r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@52838 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 03:11:03 +00:00
dougt%netscape.com
d73bc37e66
Fix for 17842. Make nsCOMPtr<nsISupports> should not be weak typed. scc's
...
this change to me and since he is on vacation until monday and I need this
for an M11 bug, I am checking it in. I am hoping it is the right
thing to do.
a=brendan.
git-svn-id: svn://10.0.0.236/trunk@52835 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 02:18:46 +00:00
dveditz%netscape.com
3330477d88
shutting up copious warnings using /W4 on MSVC
...
git-svn-id: svn://10.0.0.236/trunk@52700 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:39:19 +00:00
tbogard%aol.net
0154b52329
Second phase of changing NS_ENSURE() to NS_ENSURE_TRUE() and NS_ENSURE_NOT() to NS_ENSURE_FALSE(). r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@52457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:18:52 +00:00
alecf%netscape.com
54bfc70eea
cleanup NS_IMPL_MODULE and friends
...
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
git-svn-id: svn://10.0.0.236/trunk@52452 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:12:32 +00:00
tbogard%aol.net
e3a1567dcc
Changed NS_ENSURE to be NS_ENSURE_TRUE. Also changed NS_ENSURE_NOT to be NS_ENSURE_FALSE. Left NS_ENSURE and NS_ENSURE_NOT, but they will soon be going away.
...
git-svn-id: svn://10.0.0.236/trunk@52376 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 06:59:16 +00:00
scc%netscape.com
65b7cd0c03
changed the mechanism underlying |do_QueryInterface| to decouple |nsCOMPtr| from services, |nsIWeakReference|, etc. This change fixes bug #17364 , and paves the way for making |nsCOMPtr| cooperate with services. r=valeski (additional builds done by dmose and syd)
...
git-svn-id: svn://10.0.0.236/trunk@52346 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:35:48 +00:00
valeski%netscape.com
85c426971e
15590, r=kipp. added a nsCStringArray class so the cool string array functionality could be used for CStrings too. this checkin is *part* of a fix to the bug
...
git-svn-id: svn://10.0.0.236/trunk@52250 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 20:47:17 +00:00
tbogard%aol.net
9fa90714c2
Just added support for an NS_IMPL_ISUPPORTS 7 - 10.
...
git-svn-id: svn://10.0.0.236/trunk@51703 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 03:42:10 +00:00
tbogard%aol.net
398c14c4d0
Just added support for an NS_IMPL_ISUPPORTS6.
...
git-svn-id: svn://10.0.0.236/trunk@51654 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 06:55:45 +00:00
waterson%netscape.com
e20da712ec
Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
...
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
putterman%netscape.com
1ef39b7b56
Create a version of NS_GENERIC_FACTORY_CONSTRUCTOR that lets you pass in
...
an initialization function. No bug. Reviewed by dp.
git-svn-id: svn://10.0.0.236/trunk@50327 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:30:55 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
...
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
alecf%netscape.com
867ac81c42
add new NS_xxx_MODULE* macros (not used anywhere in the build just yet)
...
git-svn-id: svn://10.0.0.236/trunk@50177 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:12:29 +00:00
warren%netscape.com
fc64e1c69b
Added 'Bloaty' refcounting and memory bloat statistics code
...
git-svn-id: svn://10.0.0.236/trunk@50152 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:50:20 +00:00
waterson%netscape.com
9145c77cc4
Bug 15367. Dump 'class' instead of 'file/line' for NS_LOG_REFCNT. r=shaver,dp
...
git-svn-id: svn://10.0.0.236/trunk@49757 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:07:54 +00:00
kipp%netscape.com
af9cdee1dc
r=brendan; applied changes recommended by brendan
...
git-svn-id: svn://10.0.0.236/trunk@49741 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 23:35:51 +00:00
tbogard%aol.net
2a33b327b9
Changed NS_ENSURE* macros to use the new NS_WARN_IF_FALSE instead of the NS_ERROR. r=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@49546 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 04:34:03 +00:00
beard%netscape.com
f547d38744
fix breakage on Mac, r=kipp
...
git-svn-id: svn://10.0.0.236/trunk@49510 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:45:23 +00:00
beard%netscape.com
cbe4d66df2
fix breakage on Mac
...
git-svn-id: svn://10.0.0.236/trunk@49509 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:30:32 +00:00
kipp%netscape.com
f68ddc73fb
Whoops. Fixed
...
git-svn-id: svn://10.0.0.236/trunk@49506 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:21:31 +00:00
kipp%netscape.com
19d1505159
Added in new nsDebug macros
...
git-svn-id: svn://10.0.0.236/trunk@49491 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:39:31 +00:00
shaver%netscape.com
845c94e8fb
add componentType to nsIModule::RegisterSelf
...
git-svn-id: svn://10.0.0.236/trunk@48763 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 03:18:27 +00:00
scc%netscape.com
240063823f
Made a protected method for severing weak references early
...
git-svn-id: svn://10.0.0.236/trunk@48602 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 20:20:04 +00:00
warren%netscape.com
15403e9585
fixed mismatched free issues with nsID::ToString
...
git-svn-id: svn://10.0.0.236/trunk@48357 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:52:12 +00:00
alecf%netscape.com
facf7156ab
add new query_interface4 and query_interfac5 (hey, I needed it!)
...
git-svn-id: svn://10.0.0.236/trunk@47202 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:23:20 +00:00
shaver%netscape.com
e40893df46
teach component manager that there are non-native entries in the registry
...
git-svn-id: svn://10.0.0.236/trunk@46237 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:18:47 +00:00
akkana%netscape.com
cd7f7cfcb9
Print all warning messages on stdout, not just assertions
...
git-svn-id: svn://10.0.0.236/trunk@46200 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:15:10 +00:00
shaver%netscape.com
f087d4cd4b
put back <string.h> until we find all the uses =(
...
git-svn-id: svn://10.0.0.236/trunk@46132 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 21:22:36 +00:00
shaver%netscape.com
95d6650631
remove gratuituous <string.h> include
...
git-svn-id: svn://10.0.0.236/trunk@46113 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 18:35:03 +00:00
shaver%netscape.com
708e94e89e
convert to CreateInstanceFromProgID
...
git-svn-id: svn://10.0.0.236/trunk@46048 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 06:27:42 +00:00
kipp%netscape.com
cf007b6ca2
Reworked sizeof api's to be much more useful; updated implementations to match
...
git-svn-id: svn://10.0.0.236/trunk@45272 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:04:37 +00:00
scc%netscape.com
998f4973d5
some small documentation changes, plus removed a function that was otherwise unused, and was confusing Solaris.
...
git-svn-id: svn://10.0.0.236/trunk@44667 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 10:45:50 +00:00
tbogard%aol.net
e971381937
Added a couple of new macros to the NS_ENSURE family. NS_ENSURE_SUCCESS(res, ret). It ensures that a given result is an XPCOM success code, if not returns back whatever you pass in ret. And NS_ENSURE_NO_AGGREGATION(outer) checks to make sure the instantiating client is not trying to do aggregation and returns back an error if it is.
...
git-svn-id: svn://10.0.0.236/trunk@44497 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 14:03:25 +00:00
tbogard%aol.net
a65a78136a
Removed the #ifdef DEBUG around the definition of NS_ENSURE. The only difference between the two was the NS_ERROR. NS_ERROR is already conditional upon debug so this was a bit redundant.
...
git-svn-id: svn://10.0.0.236/trunk@44442 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 03:16:23 +00:00
tbogard%aol.net
2957e9ac6e
Fixed NS_ENSURE macros to use PR_BEGIN_MACRO and PR_END_MACRO. Also removed indentation before #.
...
git-svn-id: svn://10.0.0.236/trunk@44203 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:48:43 +00:00
scc%netscape.com
56d5ad0b43
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
...
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
scc%netscape.com
8850ce2142
fixed tabs
...
git-svn-id: svn://10.0.0.236/trunk@44138 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:07:16 +00:00
mccabe%netscape.com
f54a574f03
Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
...
git-svn-id: svn://10.0.0.236/trunk@44056 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:25:50 +00:00
scc%netscape.com
3d123a8048
fixed ambiguous static cast in the NS_IMPL_QUERYINTERFACE2 case
...
git-svn-id: svn://10.0.0.236/trunk@44029 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 22:33:15 +00:00
jband%netscape.com
619c3e3df4
fix bustage due to ambiguity in use of static_cast
...
git-svn-id: svn://10.0.0.236/trunk@44027 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 22:03:39 +00:00
scc%netscape.com
256b8039a8
Bad merge left two copies of ...QUERYINTERFACE2. Sorry.
...
git-svn-id: svn://10.0.0.236/trunk@44023 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:39:59 +00:00
scc%netscape.com
70e5060219
Added NS_IMPL_QUERY_INTERFACE[01]; fixed NS_IMPL_QUERY_INTERFACE2; added NS_IMPL_ISUPPORTS[01]; can't fix NS_IMPL_QUERY_INTERFACE without changing a ton of files, so I'm checking in this partial fix first. Then people can help me switch us away from NS_IMPL_ISUPPORTS and NS_IMPL_QUERY_INTERFACE. Both are now deprecated.
...
git-svn-id: svn://10.0.0.236/trunk@44019 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:22:35 +00:00
scc%netscape.com
3d825c25a3
added license, fixed tabs
...
git-svn-id: svn://10.0.0.236/trunk@44016 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:07:27 +00:00
tbogard%aol.net
591757e319
XPCOM Cleanup: Added macros to make checking arguments and state upon entering interface boundaries easier.
...
git-svn-id: svn://10.0.0.236/trunk@43555 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 05:32:15 +00:00
scc%netscape.com
c108d9dde2
renamed to QueryReferent, do_QueryReferent, etc.
...
git-svn-id: svn://10.0.0.236/trunk@43314 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 23:00:58 +00:00
danm%netscape.com
c35f4b3264
fix WeakReference exporting for Windows. a:chofmann r:scc.
...
git-svn-id: svn://10.0.0.236/trunk@43203 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 23:48:08 +00:00
sspitzer%netscape.com
50ef97bffc
fix warnings
...
git-svn-id: svn://10.0.0.236/trunk@42311 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 19:47:10 +00:00