6 Commits

Author SHA1 Message Date
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
bzbarsky%mit.edu
b5fe6e003d Fix crash in ~nsCOMArrayEnumerator. Bug 181592, r=alecf, sr=scc
git-svn-id: svn://10.0.0.236/trunk@134462 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 18:57:56 +00:00
bzbarsky%mit.edu
36a419cd5a need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132422 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 01:03:00 +00:00
alecf%netscape.com
36dda6d759 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless


git-svn-id: svn://10.0.0.236/trunk@131314 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 19:03:41 +00:00
alecf%netscape.com
79fdf3ea10 from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build


git-svn-id: svn://10.0.0.236/trunk@130894 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 18:29:30 +00:00
alecf%netscape.com
7a97110e41 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115


git-svn-id: svn://10.0.0.236/trunk@130891 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 17:34:25 +00:00