Commit Graph

19 Commits

Author SHA1 Message Date
bent.mozilla@gmail.com
491c9c1063 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
dca0f40dcc Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky. 2007-08-28 16:37:22 -07:00
jwalden@mit.edu
6d7584839a 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
cvshook%sicking.cc
636e4e6e5f 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
75b6f54f62 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
2943b93b4b Backing out last change to resolve SunOS bustage (bug 316782) 2005-11-24 08:46:56 +00:00
darin%meer.net
ba9e9cba22 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
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
peterv%netscape.com
1db3c32cdc Fix for bug 208398 (Implement swap on nsRefPtr). r=sicking, sr=dbaron. 2003-06-10 11:39:54 +00:00
dbaron%dbaron.org
58f15ed67e Remove unneeded duplication from nsCOMPtr.h. b=208449 r=sicking sr=jag 2003-06-05 23:43:08 +00:00
jkeiser%netscape.com
3eaf824c9d 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
8eed196c97 Fix bustage on Sun Workshop compiler (nebiros tinderbox). r=darin 2003-05-16 00:52:17 +00:00
dbaron%dbaron.org
33bf89b232 Attempt to fix otaku (gcc 2.95.2) bustage. r=bbaetz sr=bryner 2003-02-23 00:28:06 +00:00
bryner%netscape.com
28243cf27e 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
d7151ab531 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
a34c46af22 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
e54e1386c3 Make it almost compile on MSVC++. Not part of the build. 2001-10-26 08:30:41 +00:00
dbaron%fas.harvard.edu
9bd03d80e6 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
f882baf3ea 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