Aryeh Gregor
1c3d681cd3
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Ehsan Akhgari
7ce1aa5eb8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Neil Rashbrook
6b3d3e7e71
Bug 514280 Remove GetIID r=bsmedberg
2014-03-18 00:23:11 +00:00
Wes Kocher
5b4557e895
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
8ebe9497f4
Bug 514280 Remove GetIID r=bsmedberg
2014-03-17 19:07:46 +00:00
Kyle Huey
be9c9b3eba
Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg
2014-03-15 12:00:17 -07:00
Aryeh Gregor
6b3ee254ff
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matheus Kerschbaum
906d82a1fc
Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted
2011-08-26 00:35:13 +01:00
Daniel Holbert
f191f9f83d
Bug 560393, part 2: (xpcom directory) Fix compile warning: format $f expects type $t1, but argument 2 has type $t2. r=bsmedberg
2010-05-17 16:36:31 -07:00
Jacek Caban
735d0167ae
Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests.
2010-04-16 00:29:15 -05:00
11ba81ae0c
Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron.
2007-10-03 17:57:09 -07:00
[email protected]
1dd4e08946
coverity-found potential use-after-free in testcases (bug 334541). r=bsmedberg
2007-01-26 02:50:18 +00:00
[email protected]
fb56b42204
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
[email protected]
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
[email protected]
3f7cfca91f
Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron.
2004-02-11 06:19:03 +00:00
[email protected]
ac05e51b95
bustage fix
2004-02-07 02:58:18 +00:00
[email protected]
d2cd2d16c7
Bug 208314 - remove use of iostreams to allow building with compilers
...
that don't support classic C++ iostreams (ex: MSVC++ .net 2003).
r=timeless, sr=dbaron
2004-02-07 02:41:10 +00:00
[email protected]
6f977633ad
Bug 106386 Correct misspellings in source code
...
Changes strings which meant "referring"
patch by [email protected] r=timeless sr=dmose
2003-11-17 10:05:45 +00:00
[email protected]
863f9e1027
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
[email protected]
bf25cd925a
Checking in fix to bug 198317 for [email protected] r=cls sr=jag
2003-03-22 03:39:40 +00:00
[email protected]
cedf05843b
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
[email protected]
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
[email protected]
780b86e64a
Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 [email protected] [email protected]
2000-12-09 04:46:08 +00:00
[email protected]
80cd223206
# 33859
...
r= [email protected]
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-04-03 22:56:47 +00:00
[email protected]
a50b5cf321
NS_GET_IID(). Thanks to patch from [email protected] [email protected]
1999-12-01 00:21:53 +00:00
[email protected]
d28bc7e116
Test the new facilities added to |nsCOMPtr| in this checkin. r={danm, hyatt}
1999-11-08 11:43:07 +00:00
[email protected]
20621227af
updated xPL license boilerplate to v1.1, [email protected] ,[email protected]
1999-11-06 03:43:54 +00:00
[email protected]
6580bbe2c0
Add an || defined (XP_BEOS) so that the builds works under BeOS with -fno-exceptions.
1999-07-16 21:39:25 +00:00
[email protected]
161ed95a47
added and removed tests as features of |nsCOMPtr| change
1999-06-29 21:06:17 +00:00
[email protected]
2d0f12c9d5
fixed out-of-date preprocessor symbol, should fix AIX build
1999-03-29 22:03:50 +00:00
[email protected]
6bb3406b4d
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
[email protected]
ce653d17a1
Do the exception thing only if HAVE_CPP_EXCEPTIONS is defined.
1999-03-01 12:54:16 +00:00
[email protected]
546c17111b
Better ifdef logic for last checkin
1999-02-26 08:44:50 +00:00
[email protected]
4f2e709f0f
Solaris/CC refused to compile part of this file, giving up for now. a=scc
1999-02-26 08:41:15 +00:00
[email protected]
b1c608c573
Solaris: adding do_QueryInterface() wrapper per scc's carpool.
1999-02-19 13:14:26 +00:00
[email protected]
dc9668a2dd
updated to new interface for nsCOMPtr
1999-02-17 01:58:25 +00:00
[email protected]
8767589859
Added |nsresult nsCOMPtr::assignment_error() const;| which returns the error, if any, from the most recent operation (constructor or assignment operator) that implicitly calls |QueryInterface|. This did not increase the size of an |nsCOMPtr|.
1999-02-11 01:34:07 +00:00
[email protected]
496fcd22a5
added |dont_QueryInterface| facility, re-added the NS_ADDREF macros, though conditionally
1998-12-21 23:26:39 +00:00
[email protected]
60a7b068ae
NSCAP_FEATURE_DONT_ADDREF is no longer optional, and the symbol has gone away. This facility turns out to be needed.
1998-12-18 03:44:51 +00:00
[email protected]
cae2e657c0
First Checked In.
1998-12-17 19:21:58 +00:00