Commit Graph

36 Commits

Author SHA1 Message Date
Aryeh Gregor
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matheus Kerschbaum
5a0a7c6411 Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted 2011-08-26 00:35:13 +01:00
Daniel Holbert
160320f2c5 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
46bad591ca Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests. 2010-04-16 00:29:15 -05:00
bent.mozilla@gmail.com
ad07b81a06 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron. 2007-10-03 17:57:09 -07:00
dveditz%cruzio.com
369c3dbf2e coverity-found potential use-after-free in testcases (bug 334541). r=bsmedberg 2007-01-26 02:50:18 +00:00
bsmedberg%covad.net
78f6d0683d 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
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bryner%brianryner.com
85dbf281fb 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
tor%cs.brown.edu
151ccda200 bustage fix 2004-02-07 02:58:18 +00:00
tor%cs.brown.edu
bbf2ef596f 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
timeless%mozdev.org
d8323ba73f Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2003-11-17 10:05:45 +00:00
caillon%returnzero.com
4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
peterlubczynski%netscape.com
f9e9c8ab3d Checking in fix to bug 198317 for Roland.Mainz@informatik.med.uni-giessen.de r=cls sr=jag 2003-03-22 03:39:40 +00:00
dbaron%fas.harvard.edu
6d2263f19b 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
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
fa7d014c05 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:46:08 +00:00
mkaply%us.ibm.com
7249817f9b # 33859
r= dp@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-04-03 22:56:47 +00:00
dp%netscape.com
aa23a77403 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-12-01 00:21:53 +00:00
scc%netscape.com
17b2f3cb1a Test the new facilities added to |nsCOMPtr| in this checkin. r={danm, hyatt} 1999-11-08 11:43:07 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
duncan%be.com
1f4601edf9 Add an || defined (XP_BEOS) so that the builds works under BeOS with -fno-exceptions. 1999-07-16 21:39:25 +00:00
scc%netscape.com
a430e857b6 added and removed tests as features of |nsCOMPtr| change 1999-06-29 21:06:17 +00:00
scc%netscape.com
9573eae771 fixed out-of-date preprocessor symbol, should fix AIX build 1999-03-29 22:03:50 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
ramiro%netscape.com
a9c99c12a8 Do the exception thing only if HAVE_CPP_EXCEPTIONS is defined. 1999-03-01 12:54:16 +00:00
mcafee%netscape.com
15ff925a41 Better ifdef logic for last checkin 1999-02-26 08:44:50 +00:00
mcafee%netscape.com
883f9919fb Solaris/CC refused to compile part of this file, giving up for now. a=scc 1999-02-26 08:41:15 +00:00
mcafee%netscape.com
a07d1be9bf Solaris: adding do_QueryInterface() wrapper per scc's carpool. 1999-02-19 13:14:26 +00:00
scc%netscape.com
42e1c10096 updated to new interface for nsCOMPtr 1999-02-17 01:58:25 +00:00
scc%netscape.com
6a09eaa097 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
scc%netscape.com
761f39f1d3 added |dont_QueryInterface| facility, re-added the NS_ADDREF macros, though conditionally 1998-12-21 23:26:39 +00:00
scc%netscape.com
b53a07651f 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
scc%netscape.com
06662f7791 First Checked In. 1998-12-17 19:21:58 +00:00