Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 6b585396b9 Bug 723446. Be a little more careful changing declarations on keyframe rules. r=dbaron 2012-02-02 11:59:39 -05:00
Ehsan Akhgari 83561ee1fd Bug 710473 - Backout the nsDerivedSafe part from bug 666414 to make PGO builds on Windows work again; r=roc (cause he volunteered) a=xul-diet 2011-12-13 20:03:24 -05:00
Ehsan Akhgari 10fb1dbda5 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Matheus Kerschbaum b4d5606c80 Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Neil Rashbrook 76f69dcca4 Bug 538964 Provide doQueryObject API that supports calling QueryInterface on non-interface source and/or destination pointers r=dbaron
--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/TestRefPtr.cpp
2010-04-25 12:06:42 +01:00
Robert O'Callahan 98499572f0 Bug 534425. Part 3: Make nsRefPtr be more lenient about initializing from an already_AddRefed. r=bsmedberg 2010-03-01 20:56:18 +13:00
Neil Rashbrook 4a97ea8b5e Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron 2010-02-27 16:01:53 +00:00
L. David Baron 20b2169ee3 Add operator->* to nsAutoPtr and nsRefPtr. (Bug 525205) Pending review, but fixes bustage for a bunch of people. 2009-10-29 21:04:32 -07:00
Shawn Wilsher a9bb10f3e6 Bug 489705 - nsRefPtr should be able to forget a base class to a pure virtual interface it inherits from
r=bsmedberg
sr=dbaron
2009-05-07 15:13:18 -04:00
Benjamin Smedberg d3a1c79da1 From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron 2008-08-11 11:05:58 -04:00
bent.mozilla@gmail.com e07ff086bf Bug 396369 - "Overload forget method on nsCOMPtr/nsRefPtr to work with out parameters". r=dbaron, sr=bsmedberg, a=damons. 2007-11-11 10:56:45 -08:00
bent.mozilla@gmail.com 956779be18 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky. 2007-08-28 16:37:22 -07:00
jwalden@mit.edu 12e960c504 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
bent.mozilla%gmail.com 310f388fc2 Bug 396369 - "Overload forget method on nsCOMPtr/nsRefPtr to work with out parameters". r=dbaron, sr=bsmedberg, a=damons. 2007-11-11 18:56:45 +00:00
bent.mozilla%gmail.com b4fa7a162c Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky. 2007-08-28 23:37:22 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
cvshook%sicking.cc 5c7ed7c2dc Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron 2006-11-21 21:28:14 +00:00
jag%tty.nl 9cda2576e8 Follow-up to bug 316782. Prevent "copy-construction" of nsAutoPtr through |nsAutoPtr::operator T*() const| chained with constructor |nsAutoPtr(T*)| by adding an extra implicit conversion through a helper class. r=dbaron, r=darin 2006-01-21 11:39:22 +00:00
darin%meer.net dfb84730db Backing out last change to resolve SunOS bustage (bug 316782) 2005-11-24 08:46:56 +00:00
darin%meer.net fa96619e36 prevent "nsTArray< nsAutoPtr<T> >", which could easily lead to problems. bug 316782 r+sr=jag 2005-11-24 00:10:59 +00:00
gerv%gerv.net 6f486a3c92 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
peterv%netscape.com cab394476a Fix for bug 208398 (Implement swap on nsRefPtr). r=sicking, sr=dbaron. 2003-06-10 11:39:54 +00:00
dbaron%dbaron.org e949c253e7 Remove unneeded duplication from nsCOMPtr.h. b=208449 r=sicking sr=jag 2003-06-05 23:43:08 +00:00
jkeiser%netscape.com 90826eae16 Make nsAutoPtr declarable with forward-declared classes (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org 2003-06-05 17:55:33 +00:00
dbaron%dbaron.org 9692e0225d Fix bustage on Sun Workshop compiler (nebiros tinderbox). r=darin 2003-05-16 00:52:17 +00:00
dbaron%dbaron.org be3ba18d7d Attempt to fix otaku (gcc 2.95.2) bustage. r=bbaetz sr=bryner 2003-02-23 00:28:06 +00:00
bryner%netscape.com b623f344d3 fix OS/2 bustage - don't have nsAutoArrayPtr's |operator= ( nsAutoArrayPtr<T>& )| take a const argument, because it needs to call .forget() on the new pointer to transfer ownership, and forget isn't const. r=bbaetz. 2003-02-22 06:33:00 +00:00
dbaron%dbaron.org 1d9bcede56 Replace my work in progress on nsAutoPtr with a new version based on nsCOMPtr. Not part of build. b=104346 2003-01-18 16:20:26 +00:00
dbaron%fas.harvard.edu 0a31e6afb5 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dbaron%fas.harvard.edu c5c21ea549 Make it almost compile on MSVC++. Not part of the build. 2001-10-26 08:30:41 +00:00
dbaron%fas.harvard.edu 35ef156b6f Add |release| and corresponding |operator=| and add equality operators that gcc3 doesn't need but MSVC does. Not part of the build. 2001-10-26 07:15:55 +00:00
dbaron%fas.harvard.edu 8f4c512490 Adding work in progress for new auto pointers in order to test easily on many compilers. b=104346 2001-10-25 04:09:38 +00:00