residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com, r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@139814 18797224-902f-48f8-a5cc-f745e15eee43
- make nsCOMArray_base accessible from nsCOMArray<T> so that a nsCOMArray<T> can passed to NS_NewArray
for bug 162115, not part of build
git-svn-id: svn://10.0.0.236/trunk@130857 18797224-902f-48f8-a5cc-f745e15eee43
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
git-svn-id: svn://10.0.0.236/trunk@130839 18797224-902f-48f8-a5cc-f745e15eee43
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
git-svn-id: svn://10.0.0.236/trunk@130822 18797224-902f-48f8-a5cc-f745e15eee43
Then, we move some of the non-trivial methods of this class into a .cpp file
git-svn-id: svn://10.0.0.236/trunk@130604 18797224-902f-48f8-a5cc-f745e15eee43