From 9b0852aaf71ee4f4cf8eaf505b1b2db1bf3bf866 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Fri, 25 Nov 2005 21:57:13 +0000 Subject: [PATCH] Bug 106386 Correct misspellings in source code patch by unknown@simplemachines.org r=timeless rs=brendan --- .../src/atk/nsMaiInterfaceEditableText.cpp | 2 +- .../src/application/AppDirServiceProvider.cpp | 4 ++-- cck/driver/prefeditview.cpp | 2 +- .../base/public/nsIStyleSheetLinkingElement.h | 2 +- content/xul/document/public/nsIXULDocument.h | 2 +- content/xul/templates/src/nsRDFTestNode.h | 2 +- dom/public/idl/core/nsIDOM3Document.idl | 2 +- .../idl/core/nsIDOMDOMConfiguration.idl | 2 +- .../src/nsComposerCommandsUpdater.cpp | 2 +- editor/libeditor/base/PlaceholderTxn.cpp | 2 +- editor/libeditor/base/PlaceholderTxn.h | 2 +- editor/libeditor/base/nsSelectionState.cpp | 2 +- editor/libeditor/base/nsSelectionState.h | 2 +- editor/ui/dialogs/content/EdListProps.js | 2 +- embedding/browser/gtk/src/EmbedPrivate.cpp | 2 +- .../source/CAppFileLocationProvider.cpp | 4 ++-- .../public/nsIControllerCommandTable.idl | 2 +- .../qa/jstests/sHistory/SHListenerTest.html | 2 +- .../qa/testembed/winEmbedFileLocProvider.cpp | 4 ++-- .../mfcembed/winEmbedFileLocProvider.cpp | 4 ++-- .../cview/resources/content/cview-utils.js | 2 +- extensions/irc/ChangeLog | 6 +++--- extensions/irc/js/lib/utils.js | 2 +- extensions/irc/js/tests/DP.js | 2 +- extensions/irc/js/tests/ircbot.js | 6 +++--- extensions/irc/xul/content/readprefs.js | 2 +- extensions/python/xpcom/src/PyGBase.cpp | 2 +- extensions/python/xpcom/src/VariantUtils.cpp | 20 +++++++++---------- extensions/python/xpcom/src/dllmain.cpp | 2 +- .../python/xpcom/test/test_components.py | 6 +++--- .../python/xpcom/test/test_test_component.py | 2 +- .../resources/locale/en-US/venkman.properties | 2 +- extensions/webservices/public/nsISOAPCall.idl | 2 +- .../public/nsISOAPResponseListener.idl | 2 +- .../webservices/public/nsISOAPTransport.idl | 2 +- .../public/nsISOAPTransportListener.idl | 4 ++-- extensions/xml-rpc/idl/nsIXmlRpcClient.idl | 6 +++--- extensions/xml-rpc/src/nsXmlRpcClient.js | 6 +++--- extensions/xmlterm/base/mozLineTerm.cpp | 4 ++-- gfx/src/os2/nsFontMetricsOS2.cpp | 2 +- gfx/src/photon/nsImagePh.cpp | 2 +- gfx/src/windows/nsFontMetricsWin.cpp | 2 +- gfx/src/xlib/nsImageXlib.cpp | 2 +- .../compatibility/src/nsCSIDtoCharsetName.cpp | 2 +- intl/ctl/src/pangoLite/pango-coverage.c | 2 +- intl/locale/src/os2/nsCollationOS2.cpp | 2 +- .../extensions/transmngr/module/tmQueue.h | 2 +- .../public/ipcITransactionService.idl | 4 ++-- .../transmngr/src/tmTransactionService.cpp | 2 +- java/dom/TODO | 2 +- java/pluggable-jvm/wf/public/jvmp_caps.h | 4 ++-- .../pluggable-jvm/wf/src/plugin/java_plugin.c | 4 ++-- .../wf/src/plugin/unix/java_plugin_shm_host.c | 4 ++-- java/plugins/test/doc/params/params.html | 2 +- ...treamListener_onDataAvailable_input_2.java | 2 +- ...treamListener_onDataAvailable_input_8.java | 2 +- js/jsd/corba/jsd_iiop.cpp | 10 +++++----- js/jsd/jsdb/jsdrefl.c | 2 +- .../netscape/jsdebugging/apitests/Main.java | 2 +- .../engine/rhino/RuntimeRhino.java | 2 +- .../com/netscape/jsdebugging/jsdb/Main.java | 2 +- .../jsdebugging/jslogger/JSLogger.java | 4 ++-- .../jsdebugging/jslogger/MyInterruptHook.java | 2 +- js/src/jstypes.h | 2 +- js/tests/ecma/ExecutionContexts/10.1.5-1.js | 2 +- js/tests/ecma/ExecutionContexts/10.1.5-2.js | 2 +- js/tests/ecma/ExecutionContexts/10.1.5-3.js | 2 +- js/tests/ecma/ExecutionContexts/10.1.5-4.js | 2 +- js/tests/ecma_2/Statements/try-007.js | 2 +- js/tests/js1_5/Exceptions/catchguard-001.js | 2 +- js/tests/js1_5/Exceptions/catchguard-002.js | 2 +- js/tests/js1_5/Exceptions/catchguard-003.js | 2 +- .../qa/liveconnect/LiveConnectTest.java | 2 +- js2/src/js2op_invocation.cpp | 2 +- js2/src/parser.cpp | 2 +- layout/doc/DD-SpaceManager.html | 2 +- layout/doc/obsolete/nav4-html.html | 2 +- layout/doc/regression_tests.html | 2 +- layout/html/tests/table/bugs/bug80762-1.html | 2 +- lib/mac/UserInterface/CBevelView.cp | 2 +- lib/mac/UserInterface/CTabSwitcher.cp | 2 +- lib/mac/UserInterface/CToolbarButton.cp | 2 +- .../addrbook/public/nsIAbDirectoryQuery.idl | 2 +- .../addrbook/src/nsAbLDAPChangeLogData.cpp | 2 +- mailnews/base/util/nsMsgLineBuffer.h | 2 +- mailnews/compose/src/nsMsgBinHex.cpp | 2 +- mailnews/compose/src/nsMsgCompUtils.cpp | 2 +- mailnews/compose/src/nsMsgSend.cpp | 2 +- .../extensions/palmsync/src/nsAbPalmSync.h | 2 +- mailnews/local/src/nsPop3Protocol.cpp | 2 +- mailnews/mapi/mapihook/src/msgMapiImp.cpp | 2 +- mailnews/news/public/nsINNTPNewsgroupPost.idl | 2 +- mailnews/news/src/nsNNTPNewsgroupPost.h | 2 +- modules/libnls/headers/brkiter.h | 6 +++--- modules/libnls/headers/coll.h | 4 ++-- modules/libnls/headers/dtfmtsym.h | 2 +- modules/libnls/headers/locid.h | 2 +- modules/libnls/headers/nlscol.h | 4 ++-- modules/libnls/headers/schriter.h | 2 +- modules/libnls/headers/simpletz.h | 4 ++-- modules/libnls/headers/smpdtfmt.h | 2 +- modules/libnls/headers/unistring.h | 4 ++-- .../base/public/nsIPluginInstanceOwner.idl | 2 +- .../plugin/base/src/ns4xPluginInstance.cpp | 2 +- modules/plugin/tools/sdk/readme.txt | 2 +- .../plugin/tools/tester/doc/testerplugin.html | 2 +- modules/rdf/src/glue.c | 2 +- msgsdk/C/protocol/IMAP4/src/imap4.c | 2 +- netwerk/dns/src/nsDNSService2.cpp | 2 +- .../ftp/src/nsFtpConnectionThread.cpp | 2 +- netwerk/streamconv/converters/ParseFTPList.h | 2 +- parser/htmlparser/src/nsParser.cpp | 2 +- tools/codesighs/codesighs.c | 2 +- tools/codesighs/maptsvdifftool.c | 2 +- tools/codesighs/msdump2symdb.c | 2 +- tools/codesighs/msmap2tsv.c | 2 +- tools/codesighs/nm2tsv.c | 2 +- tools/jprof/leaky.cpp | 2 +- tools/performance/layout/uncombine.pl | 2 +- tools/tests/win32/inbox | 8 ++++---- tools/tinderbox/build-seamonkey-util.pl | 4 ++-- tools/tinderbox/qatest.pl | 2 +- tools/trace-malloc/spacetrace.c | 4 ++-- tools/trace-malloc/spacetrace.h | 10 +++++----- tools/trace-malloc/tmfrags.c | 2 +- tools/trace-malloc/tmstats.c | 2 +- .../mac/nsInternetConfigService.cpp | 2 +- view/src/nsScrollPortView.cpp | 2 +- webtools/PLIF/PLIF/Input.pm | 2 +- webtools/bugzilla/Bugzilla.pm | 2 +- webtools/bugzilla/Bugzilla/CGI.pm | 2 +- webtools/bugzilla/Bugzilla/Config.pm | 4 ++-- webtools/bugzilla/Bugzilla/Util.pm | 2 +- webtools/bugzilla/contrib/bug_email.pl | 10 +++++----- .../bugzilla/contrib/bugzilla_email_append.pl | 2 +- webtools/tinderbox2/src/bin/processmail_bugs | 8 ++++---- webtools/tinderbox2/src/bin/tinder.cgi | 8 ++++---- .../src/clientbin/cull_archive_dirs | 8 ++++---- .../src/default_conf/Error_Parse.pm | 8 ++++---- webtools/tinderbox2/src/lib/HTMLPopUp.pm | 8 ++++---- webtools/tinderbox2/src/lib/MailProcess.pm | 8 ++++---- .../tinderbox2/src/lib/Persistence/Dumper.pm | 10 +++++----- .../src/lib/Persistence/Storable.pm | 12 +++++------ .../tinderbox2/src/lib/TinderDB/BasicTxtDB.pm | 10 +++++----- .../tinderbox2/src/lib/TinderDB/VC_Bonsai.pm | 8 ++++---- .../tinderbox2/src/lib/TinderDB/VC_CVS.pm | 8 ++++---- .../src/lib/TinderDB/VC_PVCSDimensions.pm | 8 ++++---- .../src/lib/TinderDB/VC_Perforce.pm | 8 ++++---- webtools/tinderbox2/src/lib/TinderHeader.pm | 8 ++++---- widget/src/gtk/nsClipboard.cpp | 2 +- widget/src/gtk/nsGtkIMEHelper.cpp | 2 +- widget/src/gtk2/nsClipboard.h | 2 +- widget/src/gtk2/nsDragService.cpp | 2 +- widget/src/mac/nsMacWindow.cpp | 6 +++--- xpcom/components/nsNativeComponentLoader.cpp | 2 +- xpcom/ds/nsTextFormatter.cpp | 2 +- .../standalone/nsGREDirServiceProvider.cpp | 4 ++-- xpcom/io/nsAppFileLocationProvider.cpp | 4 ++-- xpcom/io/nsUnicharInputStream.cpp | 2 +- xpcom/obsolete/component/nsRegistry.cpp | 4 ++-- xpcom/obsolete/component/regExport.cpp | 2 +- xpcom/string/public/nsTSubstring.h | 2 +- xpcom/tools/registry/regxpcom.cpp | 8 ++++---- xpfe/appshell/src/nsChromeTreeOwner.cpp | 2 +- xpfe/browser/samples/dexparamdialog.html | 4 ++-- xpfe/browser/samples/dexparamdialog.xul | 4 ++-- .../search/resources/search-panel.js | 2 +- .../sidebar/resources/sidebarOverlay.js | 2 +- xpinstall/src/nsUpdateNotification.cpp | 2 +- 169 files changed, 279 insertions(+), 279 deletions(-) diff --git a/accessible/src/atk/nsMaiInterfaceEditableText.cpp b/accessible/src/atk/nsMaiInterfaceEditableText.cpp index 3e4e942b956c8..abfbbfcd13715 100644 --- a/accessible/src/atk/nsMaiInterfaceEditableText.cpp +++ b/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/camino/src/application/AppDirServiceProvider.cpp b/camino/src/application/AppDirServiceProvider.cpp index 6573e29a06c41..6244415f09b34 100644 --- a/camino/src/application/AppDirServiceProvider.cpp +++ b/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/cck/driver/prefeditview.cpp b/cck/driver/prefeditview.cpp index 5a6cd41c3b227..c4ff14f507c34 100644 --- a/cck/driver/prefeditview.cpp +++ b/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/content/base/public/nsIStyleSheetLinkingElement.h b/content/base/public/nsIStyleSheetLinkingElement.h index 3dd573bcfe143..ee78986cab4b7 100644 --- a/content/base/public/nsIStyleSheetLinkingElement.h +++ b/content/base/public/nsIStyleSheetLinkingElement.h @@ -95,7 +95,7 @@ class nsIStyleSheetLinkingElement : public nsISupports { 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/content/xul/document/public/nsIXULDocument.h b/content/xul/document/public/nsIXULDocument.h index 5cf8785d5b9f4..86f4ed1fc64c1 100644 --- a/content/xul/document/public/nsIXULDocument.h +++ b/content/xul/document/public/nsIXULDocument.h @@ -134,7 +134,7 @@ class nsIXULDocument : public nsISupports /** * 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/content/xul/templates/src/nsRDFTestNode.h b/content/xul/templates/src/nsRDFTestNode.h index cf697d06377be..db4d380a56e5a 100644 --- a/content/xul/templates/src/nsRDFTestNode.h +++ b/content/xul/templates/src/nsRDFTestNode.h @@ -56,7 +56,7 @@ class nsRDFTestNode : public TestNode : 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/dom/public/idl/core/nsIDOM3Document.idl b/dom/public/idl/core/nsIDOM3Document.idl index b99fd32d905be..14f003ba703d3 100644 --- a/dom/public/idl/core/nsIDOM3Document.idl +++ b/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/dom/public/idl/core/nsIDOMDOMConfiguration.idl b/dom/public/idl/core/nsIDOMDOMConfiguration.idl index 99314de46e00f..7836f4280466d 100644 --- a/dom/public/idl/core/nsIDOMDOMConfiguration.idl +++ b/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/editor/composer/src/nsComposerCommandsUpdater.cpp b/editor/composer/src/nsComposerCommandsUpdater.cpp index d886290eb03be..1c18c26996ffb 100644 --- a/editor/composer/src/nsComposerCommandsUpdater.cpp +++ b/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/editor/libeditor/base/PlaceholderTxn.cpp b/editor/libeditor/base/PlaceholderTxn.cpp index 1c7ed81ab4b3e..67dd1bba47d79 100644 --- a/editor/libeditor/base/PlaceholderTxn.cpp +++ b/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/editor/libeditor/base/PlaceholderTxn.h b/editor/libeditor/base/PlaceholderTxn.h index 846bd81457274..5c4ca311ca57d 100644 --- a/editor/libeditor/base/PlaceholderTxn.h +++ b/editor/libeditor/base/PlaceholderTxn.h @@ -114,7 +114,7 @@ class PlaceholderTxn : public EditAggregateTxn, 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/editor/libeditor/base/nsSelectionState.cpp b/editor/libeditor/base/nsSelectionState.cpp index d4ad11001b2a8..af194dc815109 100644 --- a/editor/libeditor/base/nsSelectionState.cpp +++ b/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/editor/libeditor/base/nsSelectionState.h b/editor/libeditor/base/nsSelectionState.h index 4ee2e1276a268..85d58aca5a8a5 100644 --- a/editor/libeditor/base/nsSelectionState.h +++ b/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/editor/ui/dialogs/content/EdListProps.js b/editor/ui/dialogs/content/EdListProps.js index 7635f672fddd8..10684745d6614 100644 --- a/editor/ui/dialogs/content/EdListProps.js +++ b/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/embedding/browser/gtk/src/EmbedPrivate.cpp b/embedding/browser/gtk/src/EmbedPrivate.cpp index b6d2a2997e3f0..cfcc5a46e9faa 100644 --- a/embedding/browser/gtk/src/EmbedPrivate.cpp +++ b/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/embedding/browser/powerplant/source/CAppFileLocationProvider.cpp b/embedding/browser/powerplant/source/CAppFileLocationProvider.cpp index fc61f8ee0bcdf..41b13ca9de751 100755 --- a/embedding/browser/powerplant/source/CAppFileLocationProvider.cpp +++ b/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/embedding/components/commandhandler/public/nsIControllerCommandTable.idl b/embedding/components/commandhandler/public/nsIControllerCommandTable.idl index 66a05fd1ff666..5c2e6cb2ca836 100644 --- a/embedding/components/commandhandler/public/nsIControllerCommandTable.idl +++ b/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/embedding/qa/jstests/sHistory/SHListenerTest.html b/embedding/qa/jstests/sHistory/SHListenerTest.html index 619839d5a7e50..4ccc5029e48c4 100644 --- a/embedding/qa/jstests/sHistory/SHListenerTest.html +++ b/embedding/qa/jstests/sHistory/SHListenerTest.html @@ -3,7 +3,7 @@ SessionHistory.html -