dbaron%fas.harvard.edu
ffb8d9cca7
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
...
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
jkeiser%netscape.com
eeef82662c
Backing out bug 107291 due to OS/2 having a crappy compiler.
...
git-svn-id: svn://10.0.0.236/trunk@131418 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
f2519f9d84
Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu
...
git-svn-id: svn://10.0.0.236/trunk@131406 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:19:10 +00:00
dougt%netscape.com
4a847a7f3f
nsCOMPtr.h needs nsISupportsUtils.h. b=169049, r=rpotts, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@129770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 02:32:00 +00:00
scc%mozilla.org
44cd50d51a
bug #132278 , r=dbaron, sr=vidur, a=asa, make |nsCOMPtr::operator&()| legal again
...
git-svn-id: svn://10.0.0.236/trunk@117125 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:05:16 +00:00
dougt%netscape.com
a288cd7893
130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@117113 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:43:21 +00:00
jdunn%netscape.com
d63561e2e5
Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
...
needed for AIX's xlC 3.6.4 compiler. Add test to configure to check
compiler version. NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179
git-svn-id: svn://10.0.0.236/trunk@112859 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 15:07:38 +00:00
timeless%mac.com
38c8443ca8
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
r=axel@pike.org sr=kin
git-svn-id: svn://10.0.0.236/trunk@108804 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 15:12:51 +00:00
dougt%netscape.com
337217beaa
backing out changes to 104172. r=ccarlen@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@106023 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 03:50:24 +00:00
dougt%netscape.com
62a8215278
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
...
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
jaggernaut%netscape.com
5e4f75c9bf
Bug 81444: Remove deprecated null_nsCOMPtr(), r=mozbot, sr=scc.
...
git-svn-id: svn://10.0.0.236/trunk@105025 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:51:08 +00:00
dbaron%fas.harvard.edu
bdcc8caee8
Fix typo in include guard. r=jag
...
git-svn-id: svn://10.0.0.236/trunk@104397 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:12 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
brendan%mozilla.org
f5bc62edea
FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
scc%mozilla.org
87f76cacea
bug #75504 ; sr=jband. making it impossible to misuse |getter_AddRefs| in the way jband discovered
...
git-svn-id: svn://10.0.0.236/trunk@93789 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 10:15:09 +00:00
brendan%mozilla.org
c6a7fd25c4
Checkin shaver's patch to allow debug Mozilla builds to dynamicly link with XPCOM-based, nsCOMPtr-using optimized plugins (77112, r=brendan, sr=scc, a=chofmann).
...
git-svn-id: svn://10.0.0.236/trunk@93015 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 21:13:15 +00:00
dbaron%fas.harvard.edu
bc72343c5f
Fix bustage on VC++ and gcc 2.7.2.x caused by incorrect overload resolution.
...
git-svn-id: svn://10.0.0.236/trunk@91660 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 17:25:16 +00:00
dbaron%fas.harvard.edu
583839e9ea
Replace my previous incorrect fix for |operator==| ambiguities with a correct one: provide additional |operator==| and |operator!=| for comparing nsCOMPtrs to raw pointers that take a non-const raw pointer argument so that builtin operators will not have a better conversion for one argument. b=65664 r=waterson@netscape.com sr=scc@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@91656 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 15:29:39 +00:00
dbaron%fas.harvard.edu
d4faa6cbde
Make |nsCOMPtr<T>::operator&| private so that it is not used by clients. Legitimate users should use |address_of| instead. b=59414 r=disttsc@bart.nl sr=scc@mozilla.org
...
Fix ambiguities relating to the various forms of |operator==| defined for nsCOMPtrs by avoiding |const| for parameters for compilers where it (incorrectly) confuses overload resolution. r=scc@mozilla.org sr=brendan@mozilla.org b=65664
git-svn-id: svn://10.0.0.236/trunk@86187 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:57:29 +00:00
dbaron%fas.harvard.edu
88efcf30bd
Attempt to fix |address_of| bustage on IRIX. r=scc@mozilla.org b=59414
...
git-svn-id: svn://10.0.0.236/trunk@83454 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 03:13:53 +00:00
dbaron%fas.harvard.edu
e9d380a7cb
Work in progress for bug 59414. Prepare to make |nsCOMPtr|'s |operator&| private to prevent many cases of accidental usage, and provide |address_of| for clients who really want a pointer to an nsCOMPtr. r=scc@mozilla.org sr=waterson@netcape.com
...
git-svn-id: svn://10.0.0.236/trunk@83445 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:45:43 +00:00
cls%seawood.org
78e9aa6004
Workaround for long-standing AIX bustage
...
git-svn-id: svn://10.0.0.236/trunk@75031 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:11:51 +00:00
mkaply%us.ibm.com
fa06a1e262
# 37239
...
r = valeski, a = brendan
OS/2 bring-up - Yes I know this is ugly.
We are getting a linker error on this delete.
We want to get our builds up by any means necessary,
so I need to comment this out for us for now.
git-svn-id: svn://10.0.0.236/trunk@72159 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:26:52 +00:00
scc%mozilla.org
00f60b0528
further logging fixes; removed |explicit| to "nscore.h"; removed old-style logging definitions for |NSCAP_ADDREF| and |NSCAP_RELEASE|, define them externally if you want them (the new comment says how); fixed some comments... I'll be moving to doc-style comments soon to better support doxygen
...
git-svn-id: svn://10.0.0.236/trunk@71969 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 09:58:13 +00:00
scc%mozilla.org
22e9228f8c
further fix for the defined case. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@71777 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 05:08:14 +00:00
scc%mozilla.org
c14f449298
Improved logging facilities on |nsCOMPtr| in cooperation with dbaron, for his new logging tools. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@71776 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 04:52:39 +00:00
waterson%netscape.com
4cfc97eae7
Canonify HAVE_CPP_ACCESS_CHANGING_USING and HAVE_CPP_AMBIGUITY_RESOLVING_USING.
...
git-svn-id: svn://10.0.0.236/trunk@71494 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 00:46:37 +00:00
scc%mozilla.org
9f480a5a2e
Bug #39824 . Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc.
...
git-svn-id: svn://10.0.0.236/trunk@70554 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:31:45 +00:00
waterson%netscape.com
81c5f2460c
Remove #ifdef that is unnecessary when STL headers are not included.
...
git-svn-id: svn://10.0.0.236/trunk@69599 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:05:24 +00:00
waterson%netscape.com
8f9c2e72ae
Add necessary code to get NEW_STRING_APIS to compile properly on gcc-2.7.2.3. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@69488 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:05:29 +00:00
scc%netscape.com
3495a25e7e
changed some comments
...
git-svn-id: svn://10.0.0.236/trunk@69377 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:20:21 +00:00
waterson%netscape.com
31ff53e050
Beef up autoconf tests to differentiate 'ambiguity resolving' and 'access changing' support of the 'using' keyword. Add a test to see if the 'std' namespace is used on the platform. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@64334 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:01:37 +00:00
scc%netscape.com
d4c745fe80
slight renaming and fixed a template signature for AIX
...
git-svn-id: svn://10.0.0.236/trunk@63778 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:52:17 +00:00
scc%netscape.com
fd4ef985aa
Added the Bill Law trick to make |nsCOMPtr| break the build for everybody where it use to break it only for Solaris and a few others (the `tainting' problem). Added a haiku. r=danm
...
git-svn-id: svn://10.0.0.236/trunk@63372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:17:46 +00:00
scc%netscape.com
2b15cf20b5
Renamed an internal typename. Was |nsDontAddRef<T>|, now is |already_AddRefed<T>| in hopes that it can be used outside of "nsCOMPtr.h". Moved |HAVE_CPP_...| symbols out of here and into "nscore.h" because more files need them. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@63330 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:18 +00:00
scc%netscape.com
7e15323442
wrapped |nsCOMPtr| vs. raw pointer comparisons in a |#ifndef| for |NSCAP_NSCOMPTR_TO_RAW_COMPARISONS_ARE_AMBIGUOUS| which is currently not defined. When an autoconf test defines this symbol, these operators will go away, and Linux will never be bit by the |nsCOMPtr| can't compare to a raw pointer error. Currently, there is no effect. r={mjudge,rginda}
...
git-svn-id: svn://10.0.0.236/trunk@60614 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 23:30:52 +00:00
scc%netscape.com
cc2ea1310a
enable the |ASSERT_NO_QUERY_NEEDED| tests for the |getter_AddRefs()| case as well. bug #26420 , r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@59952 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 21:17:51 +00:00
scc%netscape.com
d40b11a886
Fixed tabs, some comments, etc. Made |do_QueryInterface()| not participate in the |...TEST_DONTQUERY_CASES| test to help us debug bug #25327 . r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@59201 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 22:29:08 +00:00
scc%netscape.com
1efb7c3f9c
macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477
...
git-svn-id: svn://10.0.0.236/trunk@57637 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:48:47 +00:00
scc%netscape.com
ae0737cdba
Fix specialized |CallQueryInterface| as per review by travis ... r=travis.
...
git-svn-id: svn://10.0.0.236/trunk@55669 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:44:06 +00:00
scc%netscape.com
d82bf53dc0
Adding an alternate version of |CallQueryInterface| as an experiment on behalf of travis. This function is not yet called, and should not effect the build or the runtime. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@55581 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:09:29 +00:00
scc%netscape.com
de82a95c8c
fixed an annoying, but rare, bug where an |nsCOMPtr| in an ownership ring could |Release()| twice. See the comment in the code for details. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@54061 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 08:19:24 +00:00
scc%netscape.com
1efff4fab2
missed two T-->nsISupports instances, which primary platforms didn't catch, since they weren't instantiated
...
git-svn-id: svn://10.0.0.236/trunk@52943 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 12:25:11 +00:00
scc%netscape.com
95b2d5acdc
Specialize |nsCOMPtr| for |nsISupports| (i.e., |nsCOMPtr<nsISupports>|). The specialization _does_not_ have the invariant that |nsCOMPtr<T>| has of always pointing to the COM-correct interface. An |nsCOMPtr<nsISupports>| essentially means "a pointer to _any_ [XP]COM interface". This change allows dougt to fix his M11 bug. a=chofmann, r={danm, hyatt}
...
git-svn-id: svn://10.0.0.236/trunk@52942 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 11:43:11 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
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
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