diff --git a/mozilla/accessible/src/atk/nsMaiInterfaceEditableText.cpp b/mozilla/accessible/src/atk/nsMaiInterfaceEditableText.cpp index 3e4e942b956..abfbbfcd137 100644 --- a/mozilla/accessible/src/atk/nsMaiInterfaceEditableText.cpp +++ b/mozilla/accessible/src/atk/nsMaiInterfaceEditableText.cpp @@ -166,7 +166,7 @@ insertTextCB(AtkEditableText *aText, NS_ConvertUTF8toUCS2 strContent(aString); - // interface changed in nsIAccessibleEditabelText.idl ??? + // interface changed in nsIAccessibleEditableText.idl ??? // // PRInt32 pos = *aPosition; // nsresult rv = accText->InsertText(strContent, aLength, &pos); diff --git a/mozilla/camino/src/application/AppDirServiceProvider.cpp b/mozilla/camino/src/application/AppDirServiceProvider.cpp index 6573e29a06c..6244415f09b 100644 --- a/mozilla/camino/src/application/AppDirServiceProvider.cpp +++ b/mozilla/camino/src/application/AppDirServiceProvider.cpp @@ -70,14 +70,14 @@ NS_IMPL_ISUPPORTS1(AppDirServiceProvider, nsIDirectoryServiceProvider) //***************************************************************************** NS_IMETHODIMP -AppDirServiceProvider::GetFile(const char *prop, PRBool *persistant, nsIFile **_retval) +AppDirServiceProvider::GetFile(const char *prop, PRBool *persistent, nsIFile **_retval) { nsCOMPtr localFile; nsresult rv = NS_ERROR_FAILURE; nsCAutoString strBuf; *_retval = nsnull; - *persistant = PR_TRUE; + *persistent = PR_TRUE; if (strcmp(prop, NS_APP_APPLICATION_REGISTRY_DIR) == 0) { diff --git a/mozilla/cck/driver/prefeditview.cpp b/mozilla/cck/driver/prefeditview.cpp index 5a6cd41c3b2..c4ff14f507c 100644 --- a/mozilla/cck/driver/prefeditview.cpp +++ b/mozilla/cck/driver/prefeditview.cpp @@ -156,7 +156,7 @@ void CPrefEditView::DeleteTreeCtrl(HTREEITEM hParent) CTreeCtrl &treeCtrl = GetTreeCtrl(); - // Delete the prefelement ojbect we created with new. + // Delete the prefelement object we created with new. CPrefElement* pe = (CPrefElement*)treeCtrl.GetItemData(hParent); delete pe; diff --git a/mozilla/content/base/public/nsIStyleSheetLinkingElement.h b/mozilla/content/base/public/nsIStyleSheetLinkingElement.h index 3dd573bcfe1..ee78986cab4 100644 --- a/mozilla/content/base/public/nsIStyleSheetLinkingElement.h +++ b/mozilla/content/base/public/nsIStyleSheetLinkingElement.h @@ -95,7 +95,7 @@ public: nsICSSLoaderObserver* aObserver) = 0; /** - * Tells this element wether to update the stylesheet when the + * Tells this element whether to update the stylesheet when the * element's properties change. * * @param aEnableUpdates update on changes or not. diff --git a/mozilla/content/xul/document/public/nsIXULDocument.h b/mozilla/content/xul/document/public/nsIXULDocument.h index 5cf8785d5b9..86f4ed1fc64 100644 --- a/mozilla/content/xul/document/public/nsIXULDocument.h +++ b/mozilla/content/xul/document/public/nsIXULDocument.h @@ -134,7 +134,7 @@ public: /** * Attach a XUL template builder to the specified content node. - * @param aBuilder the tmeplate builder to attach, or null if + * @param aBuilder the template builder to attach, or null if * the builder is to be removed. */ NS_IMETHOD SetTemplateBuilderFor(nsIContent* aContent, nsIXULTemplateBuilder* aBuilder) = 0; diff --git a/mozilla/content/xul/templates/src/nsRDFTestNode.h b/mozilla/content/xul/templates/src/nsRDFTestNode.h index cf697d06377..db4d380a56e 100644 --- a/mozilla/content/xul/templates/src/nsRDFTestNode.h +++ b/mozilla/content/xul/templates/src/nsRDFTestNode.h @@ -56,7 +56,7 @@ public: : TestNode(aParent) {} /** - * Determine wether the node can propagate an assertion + * Determine whether the node can propagate an assertion * with the specified source, property, and target. If the * assertion can be propagated, aInitialBindings will be * initialized with appropriate variable-to-value assignments diff --git a/mozilla/dom/public/idl/core/nsIDOM3Document.idl b/mozilla/dom/public/idl/core/nsIDOM3Document.idl index b99fd32d905..14f003ba703 100644 --- a/mozilla/dom/public/idl/core/nsIDOM3Document.idl +++ b/mozilla/dom/public/idl/core/nsIDOM3Document.idl @@ -11,7 +11,7 @@ * for the specific language governing rights and limitations under the * License. * - * The Original Code is mozila.org Code. + * The Original Code is mozilla.org Code. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. diff --git a/mozilla/dom/public/idl/core/nsIDOMDOMConfiguration.idl b/mozilla/dom/public/idl/core/nsIDOMDOMConfiguration.idl index 99314de46e0..7836f428046 100644 --- a/mozilla/dom/public/idl/core/nsIDOMDOMConfiguration.idl +++ b/mozilla/dom/public/idl/core/nsIDOMDOMConfiguration.idl @@ -11,7 +11,7 @@ * for the specific language governing rights and limitations under the * License. * - * The Original Code is mozila.org Code. + * The Original Code is mozilla.org Code. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. diff --git a/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp b/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp index d886290eb03..1c18c26996f 100644 --- a/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp +++ b/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp @@ -86,7 +86,7 @@ nsComposerCommandsUpdater::NotifyDocumentCreated() NS_IMETHODIMP nsComposerCommandsUpdater::NotifyDocumentWillBeDestroyed() { - // cancel any outstanding udpate timer + // cancel any outstanding update timer if (mUpdateTimer) { mUpdateTimer->Cancel(); diff --git a/mozilla/editor/libeditor/base/PlaceholderTxn.cpp b/mozilla/editor/libeditor/base/PlaceholderTxn.cpp index 1c7ed81ab4b..67dd1bba47d 100644 --- a/mozilla/editor/libeditor/base/PlaceholderTxn.cpp +++ b/mozilla/editor/libeditor/base/PlaceholderTxn.cpp @@ -149,7 +149,7 @@ NS_IMETHODIMP PlaceholderTxn::Merge(nsITransaction *aTransaction, PRBool *aDidMe EditTxn *editTxn = (EditTxn*)aTransaction; //XXX: hack, not safe! need nsIEditTransaction! // determine if this incoming txn is a placeholder txn nsCOMPtr plcTxn;// = do_QueryInterface(editTxn); - // cant do_QueryInterface() above due to our broken transaction interfaces. + // can't do_QueryInterface() above due to our broken transaction interfaces. // instead have to brute it below. ugh. editTxn->QueryInterface(NS_GET_IID(nsIAbsorbingTransaction), getter_AddRefs(plcTxn)); diff --git a/mozilla/editor/libeditor/base/PlaceholderTxn.h b/mozilla/editor/libeditor/base/PlaceholderTxn.h index 846bd814572..5c4ca311ca5 100644 --- a/mozilla/editor/libeditor/base/PlaceholderTxn.h +++ b/mozilla/editor/libeditor/base/PlaceholderTxn.h @@ -114,7 +114,7 @@ protected: PRBool mAbsorb; // do we auto absorb any and all transaction? nsWeakPtr mForwarding; IMETextTxn *mIMETextTxn; // first IME txn in this placeholder - used for IME merging - // non-owning for now - cant nsCOMPtr it due to broken transaction interfaces + // non-owning for now - can't nsCOMPtr it due to broken transaction interfaces PRBool mCommitted; // do we stop auto absorbing any matching placeholder txns? // these next two members store the state of the selection in a safe way. // selection at the start of the txn is stored, as is the selection at the end. diff --git a/mozilla/editor/libeditor/base/nsSelectionState.cpp b/mozilla/editor/libeditor/base/nsSelectionState.cpp index d4ad11001b2..af194dc8151 100644 --- a/mozilla/editor/libeditor/base/nsSelectionState.cpp +++ b/mozilla/editor/libeditor/base/nsSelectionState.cpp @@ -46,7 +46,7 @@ /*************************************************************************** * class for recording selection info. stores selection as collection of - * { {startnode, startoffset} , {endnode, endoffset} } tuples. Cant store + * { {startnode, startoffset} , {endnode, endoffset} } tuples. Can't store * ranges since dom gravity will possibly change the ranges. */ nsSelectionState::nsSelectionState() : mArray(){} diff --git a/mozilla/editor/libeditor/base/nsSelectionState.h b/mozilla/editor/libeditor/base/nsSelectionState.h index 4ee2e1276a2..85d58aca5a8 100644 --- a/mozilla/editor/libeditor/base/nsSelectionState.h +++ b/mozilla/editor/libeditor/base/nsSelectionState.h @@ -48,7 +48,7 @@ class nsISelection; /*************************************************************************** * class for recording selection info. stores selection as collection of - * { {startnode, startoffset} , {endnode, endoffset} } tuples. Cant store + * { {startnode, startoffset} , {endnode, endoffset} } tuples. Can't store * ranges since dom gravity will possibly change the ranges. */ diff --git a/mozilla/editor/ui/dialogs/content/EdListProps.js b/mozilla/editor/ui/dialogs/content/EdListProps.js index 7635f672fdd..10684745d66 100644 --- a/mozilla/editor/ui/dialogs/content/EdListProps.js +++ b/mozilla/editor/ui/dialogs/content/EdListProps.js @@ -104,7 +104,7 @@ function Startup() gDialog.RadioGroup.collapsed = !gListElement; if (gListElement) { - // Radio button index is persistant + // Radio button index is persistent if (gDialog.RadioGroup.getAttribute("index") == "1") gDialog.RadioGroup.selectedItem = gDialog.ChangeSelectedRadio; else diff --git a/mozilla/embedding/browser/gtk/src/EmbedPrivate.cpp b/mozilla/embedding/browser/gtk/src/EmbedPrivate.cpp index b6d2a2997e3..cfcc5a46e9f 100644 --- a/mozilla/embedding/browser/gtk/src/EmbedPrivate.cpp +++ b/mozilla/embedding/browser/gtk/src/EmbedPrivate.cpp @@ -234,7 +234,7 @@ EmbedPrivate::Realize(PRBool *aAlreadyRealized) // create the offscreen window if we have to EnsureOffscreenWindow(); - // Have we ever been initialized before? If so then just reparetn + // Have we ever been initialized before? If so then just reparent // from the offscreen window. if (mMozWindowWidget) { gtk_widget_reparent(mMozWindowWidget, GTK_WIDGET(mOwningWidget)); diff --git a/mozilla/embedding/browser/powerplant/source/CAppFileLocationProvider.cpp b/mozilla/embedding/browser/powerplant/source/CAppFileLocationProvider.cpp index fc61f8ee0bc..41b13ca9de7 100755 --- a/mozilla/embedding/browser/powerplant/source/CAppFileLocationProvider.cpp +++ b/mozilla/embedding/browser/powerplant/source/CAppFileLocationProvider.cpp @@ -78,13 +78,13 @@ NS_IMPL_ISUPPORTS1(CAppFileLocationProvider, nsIDirectoryServiceProvider) //***************************************************************************** NS_IMETHODIMP -CAppFileLocationProvider::GetFile(const char *prop, PRBool *persistant, nsIFile **_retval) +CAppFileLocationProvider::GetFile(const char *prop, PRBool *persistent, nsIFile **_retval) { nsCOMPtr localFile; nsresult rv = NS_ERROR_FAILURE; *_retval = nsnull; - *persistant = PR_TRUE; + *persistent = PR_TRUE; if (strcmp(prop, NS_APP_APPLICATION_REGISTRY_DIR) == 0) { diff --git a/mozilla/embedding/components/commandhandler/public/nsIControllerCommandTable.idl b/mozilla/embedding/components/commandhandler/public/nsIControllerCommandTable.idl index 66a05fd1ff6..5c2e6cb2ca8 100644 --- a/mozilla/embedding/components/commandhandler/public/nsIControllerCommandTable.idl +++ b/mozilla/embedding/components/commandhandler/public/nsIControllerCommandTable.idl @@ -89,7 +89,7 @@ interface nsIControllerCommandTable : nsISupports boolean isCommandEnabled(in string aCommandName, in nsISupports aCommandRefCon); /** - * Tell the command to udpate its state (if it is a state updating command) + * Tell the command to update its state (if it is a state updating command) * * @param aCommandName the name of the command to update * @param aCommandRefCon the command context data diff --git a/mozilla/embedding/qa/jstests/sHistory/SHListenerTest.html b/mozilla/embedding/qa/jstests/sHistory/SHListenerTest.html index 619839d5a7e..4ccc5029e48 100644 --- a/mozilla/embedding/qa/jstests/sHistory/SHListenerTest.html +++ b/mozilla/embedding/qa/jstests/sHistory/SHListenerTest.html @@ -3,7 +3,7 @@ SessionHistory.html -