From 1a6d3e856464f2685340616a9230de552baaeabf Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Mon, 21 Nov 2005 06:30:34 +0000 Subject: [PATCH] Bug 106386 Correct misspellings in source code patch by supernova_00@yahoo.com r=timeless rs=brendan git-svn-id: svn://10.0.0.236/trunk@185036 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp | 2 +- mozilla/directory/xpcom/datasource/nsLDAPDataSource.js | 2 +- mozilla/dom/src/base/nsDOMClassInfo.cpp | 2 +- mozilla/js/src/xpconnect/idl/xpccomponents.idl | 4 ++-- mozilla/rdf/base/idl/nsIRDFDataSource.idl | 2 +- mozilla/widget/src/mac/nsDragService.cpp | 2 +- mozilla/widget/src/os2/nsWindow.h | 2 +- mozilla/widget/src/windows/nsWindow.h | 2 +- mozilla/widget/src/xpwidgets/nsBaseWidget.h | 2 +- mozilla/widget/src/xpwidgets/nsHTMLFormatConverter.cpp | 2 +- mozilla/widget/src/xpwidgets/nsTransferable.cpp | 2 +- mozilla/xpcom/base/pure.h | 4 ++-- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp b/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp index a99ec55f354..96ae90edeb5 100644 --- a/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp +++ b/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp @@ -797,7 +797,7 @@ nsXULTemplateBuilder::LoadDataSources(nsIDocument* doc) if (NS_FAILED(rv)) { // This is only a warning because the data source may not - // be accessable for any number of reasons, including + // be accessible for any number of reasons, including // security, a bad URL, etc. #ifdef DEBUG nsCAutoString msg; diff --git a/mozilla/directory/xpcom/datasource/nsLDAPDataSource.js b/mozilla/directory/xpcom/datasource/nsLDAPDataSource.js index 3c86561c734..398c02b4221 100644 --- a/mozilla/directory/xpcom/datasource/nsLDAPDataSource.js +++ b/mozilla/directory/xpcom/datasource/nsLDAPDataSource.js @@ -286,7 +286,7 @@ nsLDAPDataSource.prototype = { * Find a child of that is related to the source by the given arc * and truth value * - * @return NS_RDF_NO_VALUE if there is no target accessable from the + * @return NS_RDF_NO_VALUE if there is no target accessible from the * source via the specified property. * * nsIRDFNode GetTarget (in nsIRDFResource aSource, diff --git a/mozilla/dom/src/base/nsDOMClassInfo.cpp b/mozilla/dom/src/base/nsDOMClassInfo.cpp index b7ed88b32f9..6634a729fb8 100644 --- a/mozilla/dom/src/base/nsDOMClassInfo.cpp +++ b/mozilla/dom/src/base/nsDOMClassInfo.cpp @@ -3739,7 +3739,7 @@ nsDOMClassInfo::doCheckPropertyAccess(JSContext *cx, JSObject *obj, jsval id, // this document is a result from using XMLHttpRequest or it's a // document created through a DOMImplementation. In that case // there's nothing we can do since the context on which the - // document was created is not accessable and we can't do a + // document was created is not accessible and we can't do a // security check, but the document must remain // scriptable. Documents loaded through these methods have // already been vetted by the security manager before they were diff --git a/mozilla/js/src/xpconnect/idl/xpccomponents.idl b/mozilla/js/src/xpconnect/idl/xpccomponents.idl index 034be9e522a..ddedc59fe6f 100644 --- a/mozilla/js/src/xpconnect/idl/xpccomponents.idl +++ b/mozilla/js/src/xpconnect/idl/xpccomponents.idl @@ -199,6 +199,6 @@ interface nsIXPCComponents : nsISupports /* DEPRECATED: use Components.utils.reportError instead. */ void reportError(); - /* 'lastResult' is accessable via JavaScript only */ - /* 'returnCode' is accessable via JavaScript only */ + /* 'lastResult' is accessible via JavaScript only */ + /* 'returnCode' is accessible via JavaScript only */ }; diff --git a/mozilla/rdf/base/idl/nsIRDFDataSource.idl b/mozilla/rdf/base/idl/nsIRDFDataSource.idl index 6cd1d62d04d..faacb725b1c 100644 --- a/mozilla/rdf/base/idl/nsIRDFDataSource.idl +++ b/mozilla/rdf/base/idl/nsIRDFDataSource.idl @@ -81,7 +81,7 @@ interface nsIRDFDataSource : nsISupports * Find a child of that is related to the source by the given arc * arc and truth value * - * @return NS_RDF_NO_VALUE if there is no target accessable from the + * @return NS_RDF_NO_VALUE if there is no target accessible from the * source via the specified property. */ nsIRDFNode GetTarget(in nsIRDFResource aSource, diff --git a/mozilla/widget/src/mac/nsDragService.cpp b/mozilla/widget/src/mac/nsDragService.cpp index 8781e5c8194..1e6961e6fe6 100644 --- a/mozilla/widget/src/mac/nsDragService.cpp +++ b/mozilla/widget/src/mac/nsDragService.cpp @@ -783,7 +783,7 @@ nsDragService::DragSendDataProc(FlavorType inFlavor, void* inRefCon, ItemReferen PRUint32 dataSize = 0; retVal = dragService->GetDataForFlavor(dragService->mDataItems, inDragRef, inItemRef, inFlavor, &data, &dataSize); if ( retVal == noErr ) { - // make the data accessable to the DragManager + // make the data accessible to the DragManager retVal = ::SetDragItemFlavorData ( inDragRef, inItemRef, inFlavor, data, dataSize, 0 ); NS_ASSERTION ( retVal == noErr, "SDIFD failed in DragSendDataProc" ); } diff --git a/mozilla/widget/src/os2/nsWindow.h b/mozilla/widget/src/os2/nsWindow.h index 1523f7bd375..7b5950f88cd 100644 --- a/mozilla/widget/src/os2/nsWindow.h +++ b/mozilla/widget/src/os2/nsWindow.h @@ -336,7 +336,7 @@ protected: HBITMAP CreateTransparencyMask(PRInt32 format, PRUint8* aImageData, PRUint32 aWidth, PRUint32 aHeight); - // Enumeration of the methods which are accessable on the PM thread + // Enumeration of the methods which are accessible on the PM thread enum { CREATE, DESTROY, diff --git a/mozilla/widget/src/windows/nsWindow.h b/mozilla/widget/src/windows/nsWindow.h index ded85c4c671..4effa84ea8d 100644 --- a/mozilla/widget/src/windows/nsWindow.h +++ b/mozilla/widget/src/windows/nsWindow.h @@ -447,7 +447,7 @@ protected: // Drag & Drop nsNativeDragTarget * mNativeDragTarget; - // Enumeration of the methods which are accessable on the "main GUI thread" + // Enumeration of the methods which are accessible on the "main GUI thread" // via the CallMethod(...) mechanism... // see nsSwitchToUIThread enum { diff --git a/mozilla/widget/src/xpwidgets/nsBaseWidget.h b/mozilla/widget/src/xpwidgets/nsBaseWidget.h index 181a1694d26..3bf2e9cc982 100644 --- a/mozilla/widget/src/xpwidgets/nsBaseWidget.h +++ b/mozilla/widget/src/xpwidgets/nsBaseWidget.h @@ -180,7 +180,7 @@ protected: PRInt32 mZIndex; nsSizeMode mSizeMode; - // Enumeration of the methods which are accessable on the "main GUI thread" + // Enumeration of the methods which are accessible on the "main GUI thread" // via the CallMethod(...) mechanism... // see nsSwitchToUIThread enum { diff --git a/mozilla/widget/src/xpwidgets/nsHTMLFormatConverter.cpp b/mozilla/widget/src/xpwidgets/nsHTMLFormatConverter.cpp index c26b467c40e..59b5b06c3d7 100644 --- a/mozilla/widget/src/xpwidgets/nsHTMLFormatConverter.cpp +++ b/mozilla/widget/src/xpwidgets/nsHTMLFormatConverter.cpp @@ -212,7 +212,7 @@ nsHTMLFormatConverter::CanConvert(const char *aFromDataFlavor, const char *aToDa // Convert // // Convert data from one flavor to another. The data is wrapped in primitive objects so that it is -// accessable from JS. Currently, this only accepts HTML input, so anything else is invalid. +// accessible from JS. Currently, this only accepts HTML input, so anything else is invalid. // //XXX This method copies the data WAAAAY too many time for my liking. Grrrrrr. Mostly it's because //XXX we _must_ put things into nsStrings so that the parser will accept it. Lame lame lame lame. We diff --git a/mozilla/widget/src/xpwidgets/nsTransferable.cpp b/mozilla/widget/src/xpwidgets/nsTransferable.cpp index 33436294585..fe824b0fd92 100644 --- a/mozilla/widget/src/xpwidgets/nsTransferable.cpp +++ b/mozilla/widget/src/xpwidgets/nsTransferable.cpp @@ -346,7 +346,7 @@ nsTransferable::GetTransferDataFlavors(nsISupportsArray ** aDataFlavorList) // // Returns the data of the requested flavor, obtained from either having the data on hand or // using a converter to get it. The data is wrapped in a nsISupports primitive so that it is -// accessable from JS. +// accessible from JS. // NS_IMETHODIMP nsTransferable::GetTransferData(const char *aFlavor, nsISupports **aData, PRUint32 *aDataLen) diff --git a/mozilla/xpcom/base/pure.h b/mozilla/xpcom/base/pure.h index ea11b99d7c6..1338d9bc344 100644 --- a/mozilla/xpcom/base/pure.h +++ b/mozilla/xpcom/base/pure.h @@ -45,14 +45,14 @@ int __cdecl PurifyDescribe(void *addr) ; int __cdecl PurifyWhatColors(void *addr, int size) ; // // Functions to test the state of memory. If the memory is not -// accessable, an error is signaled just as if there were a memory +// accessible, an error is signaled just as if there were a memory // reference and the function returns false. // int __cdecl PurifyAssertIsReadable(const void *addr, int size) ; int __cdecl PurifyAssertIsWritable(const void *addr, int size) ; // // Functions to test the state of memory. If the memory is not -// accessable, these functions return false. No error is signaled. +// accessible, these functions return false. No error is signaled. // int __cdecl PurifyIsReadable(const void *addr, int size) ; int __cdecl PurifyIsWritable(const void *addr, int size) ;