diff --git a/mozilla/db/sqlite3/src/btree.c b/mozilla/db/sqlite3/src/btree.c index 27b5b45ac77..3191088f90a 100644 --- a/mozilla/db/sqlite3/src/btree.c +++ b/mozilla/db/sqlite3/src/btree.c @@ -3203,7 +3203,7 @@ static int freePage(MemPage *pPage){ put4byte(&pPage1->aData[32], pPage->pgno); TRACE(("FREE-PAGE: %d first\n", pPage->pgno)); }else{ - /* Other free pages already exist. Retrive the first trunk page + /* Other free pages already exist. Retrieve the first trunk page ** of the freelist and find out how many leaves it has. */ MemPage *pTrunk; rc = getPage(pBt, get4byte(&pPage1->aData[32]), &pTrunk); diff --git a/mozilla/editor/txtsvc/src/nsTextServicesDocument.h b/mozilla/editor/txtsvc/src/nsTextServicesDocument.h index b6a2edb1122..efd10b4e3b4 100644 --- a/mozilla/editor/txtsvc/src/nsTextServicesDocument.h +++ b/mozilla/editor/txtsvc/src/nsTextServicesDocument.h @@ -89,7 +89,7 @@ private: static nsIAtom *sVarAtom; static nsIAtom *sWbrAtom; - typedef enum { eIsDone=0, // No iterator (I), or itertor doesn't point to anything valid. + typedef enum { eIsDone=0, // No iterator (I), or iterator doesn't point to anything valid. eValid, // I points to first text node (TN) in current block (CB). ePrev, // No TN in CB, I points to first TN in prev block. eNext // No TN in CB, I points to first TN in next block. diff --git a/mozilla/extensions/pref/autoconfig/src/nsLDAPSyncQuery.cpp b/mozilla/extensions/pref/autoconfig/src/nsLDAPSyncQuery.cpp index f0153e8c3e9..fdc5326075f 100644 --- a/mozilla/extensions/pref/autoconfig/src/nsLDAPSyncQuery.cpp +++ b/mozilla/extensions/pref/autoconfig/src/nsLDAPSyncQuery.cpp @@ -210,7 +210,7 @@ nsLDAPSyncQuery::OnLDAPSearchEntry(nsILDAPMessage *aMessage) { nsresult rv; - // Attributes are retrived in StartLDAPSearch + // Attributes are retrieved in StartLDAPSearch // iterate through them // for (PRUint32 i = 0; i < mAttrCount; i++) { diff --git a/mozilla/extensions/xforms/nsXFormsUtils.cpp b/mozilla/extensions/xforms/nsXFormsUtils.cpp index d12290728ce..91cdb60eebe 100644 --- a/mozilla/extensions/xforms/nsXFormsUtils.cpp +++ b/mozilla/extensions/xforms/nsXFormsUtils.cpp @@ -510,7 +510,7 @@ nsXFormsUtils::EvaluateNodeBinding(nsIDOMElement *aElement, return NS_OK; } else { - // If there is a (outer) bind element, we retrive its nodeset. + // If there is a (outer) bind element, we retrieve its nodeset. bindElement->GetAttribute(NS_LITERAL_STRING("nodeset"), expr); } } else { diff --git a/mozilla/gfx/public/nsIDeviceContext.h b/mozilla/gfx/public/nsIDeviceContext.h index e55dc0a3c33..ac72bcea637 100644 --- a/mozilla/gfx/public/nsIDeviceContext.h +++ b/mozilla/gfx/public/nsIDeviceContext.h @@ -558,7 +558,7 @@ public: NS_IMETHOD GetAltDevice(nsIDeviceContext** aAltDC) = 0; /** - * Turn on/off which types of information is retrived + * Turn on/off which types of information is retrieved * via the alt device context */ NS_IMETHOD SetUseAltDC(PRUint8 aValue, PRBool aOn) = 0; diff --git a/mozilla/layout/doc/HLD-SpaceManager.html b/mozilla/layout/doc/HLD-SpaceManager.html index 910d6335058..15c28ef102f 100644 --- a/mozilla/layout/doc/HLD-SpaceManager.html +++ b/mozilla/layout/doc/HLD-SpaceManager.html @@ -155,7 +155,7 @@ The general algorightm in nsBlockReflowState::FlowAndPlaceFloat is:
  • The region that the float currently occupies is recorded.
  • The band of available space is searched (with nsBlockReflowState::GetAvailableSpace);
  • The float frame that is get from the passed nsFloatCache argument is reflowed - and its rect is retriven with GetRect;
  • + and its rect is retrieved with GetRect;
  • The floats margins are added;
  • Check if the float can be placed in the acutal band: if not advance to the next band;
  • Check the float type and if it can be added to the space manager;
  • diff --git a/mozilla/layout/printing/nsIPrintProgress.idl b/mozilla/layout/printing/nsIPrintProgress.idl index 7930e1b4d58..5bb27a9e739 100644 --- a/mozilla/layout/printing/nsIPrintProgress.idl +++ b/mozilla/layout/printing/nsIPrintProgress.idl @@ -68,7 +68,7 @@ interface nsIPrintProgress: nsIWebProgressListener { */ void doneIniting(); - /* Retrive the prompter, needed to display modal dialog on top of progress dialog */ + /* Retrieve the prompter, needed to display modal dialog on top of progress dialog */ nsIPrompt getPrompter(); /* Indicated if the user asked to cancel the current process */ diff --git a/mozilla/mailnews/addrbook/src/nsAbAutoCompleteSession.cpp b/mozilla/mailnews/addrbook/src/nsAbAutoCompleteSession.cpp index e0c50182a2d..d2c22c44b78 100644 --- a/mozilla/mailnews/addrbook/src/nsAbAutoCompleteSession.cpp +++ b/mozilla/mailnews/addrbook/src/nsAbAutoCompleteSession.cpp @@ -404,7 +404,7 @@ nsresult nsAbAutoCompleteSession::SearchCards(nsIAbDirectory* directory, nsAbAut continue; } - //Now, retrive the user name and nickname + //Now, retrieve the user name and nickname rv = card->GetDisplayName(getter_Copies(pDisplayNameStr)); if (NS_FAILED(rv)) continue; diff --git a/mozilla/mailnews/base/public/nsIMsgProgress.idl b/mozilla/mailnews/base/public/nsIMsgProgress.idl index 2b4e4329dec..47c37f68cbb 100644 --- a/mozilla/mailnews/base/public/nsIMsgProgress.idl +++ b/mozilla/mailnews/base/public/nsIMsgProgress.idl @@ -60,7 +60,7 @@ interface nsIMsgProgress: nsIWebProgressListener { /* Unregister a Web Progress Listener */ void unregisterListener(in nsIWebProgressListener listener); - /* Retrive the prompter, needed to display modal dialog on top of progress dialog */ + /* Retrieve the prompter, needed to display modal dialog on top of progress dialog */ nsIPrompt getPrompter(); /* Indicated if the user asked to cancel the current process */ diff --git a/mozilla/mailnews/base/search/public/nsMsgBodyHandler.h b/mozilla/mailnews/base/search/public/nsMsgBodyHandler.h index bc68a3bfb41..5f1519d1970 100644 --- a/mozilla/mailnews/base/search/public/nsMsgBodyHandler.h +++ b/mozilla/mailnews/base/search/public/nsMsgBodyHandler.h @@ -5,7 +5,7 @@ #include "nsIMsgSearchScopeTerm.h" #include "nsILineInputStream.h" //--------------------------------------------------------------------------- -// nsMsgBodyHandler: used to retrive lines from POP and IMAP offline messages. +// nsMsgBodyHandler: used to retrieve lines from POP and IMAP offline messages. // This is a helper class used by nsMsgSearchTerm::MatchBody //--------------------------------------------------------------------------- class nsMsgBodyHandler diff --git a/mozilla/mailnews/base/search/src/nsMsgFilterDelegateFactory.h b/mozilla/mailnews/base/search/src/nsMsgFilterDelegateFactory.h index d302b6658a6..f0bfeaa4d3c 100644 --- a/mozilla/mailnews/base/search/src/nsMsgFilterDelegateFactory.h +++ b/mozilla/mailnews/base/search/src/nsMsgFilterDelegateFactory.h @@ -36,7 +36,7 @@ * * ***** END LICENSE BLOCK ***** */ -/* creates or retrives filter objects based on their URI */ +/* creates or retrieves filter objects based on their URI */ #include "nsIRDFDelegateFactory.h" diff --git a/mozilla/mailnews/compose/public/nsIMsgComposeProgress.idl b/mozilla/mailnews/compose/public/nsIMsgComposeProgress.idl index a17300f2563..e754c3a46b4 100644 --- a/mozilla/mailnews/compose/public/nsIMsgComposeProgress.idl +++ b/mozilla/mailnews/compose/public/nsIMsgComposeProgress.idl @@ -59,7 +59,7 @@ interface nsIMsgComposeProgress: nsIWebProgressListener { /* Unregister a Web Progress Listener */ void unregisterListener(in nsIWebProgressListener listener); - /* Retrive the prompter, needed to display modal dialog on top of progress dialog */ + /* Retrieve the prompter, needed to display modal dialog on top of progress dialog */ nsIPrompt getPrompter(); /* Indicated if the user asked to cancel the current process */ diff --git a/mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/plugin.h b/mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/plugin.h index ba9b7a68da7..c42815ddf88 100644 --- a/mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/plugin.h +++ b/mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/plugin.h @@ -52,7 +52,7 @@ public: NPBool isInitialized(); // we need to provide implementation of this method as it will be - // used by Mozilla to retrive the scriptable peer + // used by Mozilla to retrieve the scriptable peer NPError GetValue(NPPVariable variable, void *value); // locals diff --git a/mozilla/modules/plugin/tools/sdk/samples/simple/plugin.h b/mozilla/modules/plugin/tools/sdk/samples/simple/plugin.h index 417b629499e..04ff7506885 100644 --- a/mozilla/modules/plugin/tools/sdk/samples/simple/plugin.h +++ b/mozilla/modules/plugin/tools/sdk/samples/simple/plugin.h @@ -52,7 +52,7 @@ public: NPBool isInitialized(); // we need to provide implementation of this method as it will be - // used by Mozilla to retrive the scriptable peer + // used by Mozilla to retrieve the scriptable peer // and couple of other things on Unix NPError GetValue(NPPVariable variable, void *value); diff --git a/mozilla/parser/htmlparser/src/nsParser.cpp b/mozilla/parser/htmlparser/src/nsParser.cpp index 62216d37748..178b828df0b 100644 --- a/mozilla/parser/htmlparser/src/nsParser.cpp +++ b/mozilla/parser/htmlparser/src/nsParser.cpp @@ -579,7 +579,7 @@ NS_IMETHODIMP_(void) nsParser::SetContentSink(nsIContentSink* aSink) } /** - * retrive the sink set into the parser + * retrieve the sink set into the parser * @update gess5/11/98 * @return current sink */ diff --git a/mozilla/parser/htmlparser/src/nsParser.h b/mozilla/parser/htmlparser/src/nsParser.h index f771393ceb0..9708d146228 100644 --- a/mozilla/parser/htmlparser/src/nsParser.h +++ b/mozilla/parser/htmlparser/src/nsParser.h @@ -140,7 +140,7 @@ class nsParser : public nsIParser, NS_IMETHOD_(void) SetContentSink(nsIContentSink* aSink); /** - * retrive the sink set into the parser + * retrieve the sink set into the parser * @update gess5/11/98 * @param aSink is the new sink to be used by parser * @return old sink, or NULL diff --git a/mozilla/toolkit/components/commandlines/public/nsICommandLineHandler.idl b/mozilla/toolkit/components/commandlines/public/nsICommandLineHandler.idl index 51f5153195d..d21137e76f0 100644 --- a/mozilla/toolkit/components/commandlines/public/nsICommandLineHandler.idl +++ b/mozilla/toolkit/components/commandlines/public/nsICommandLineHandler.idl @@ -53,7 +53,7 @@ interface nsICommandLine; * Category Entry Value * command-line-handler b-jsdebug @mozilla.org/venkman/clh;1 * command-line-handler c-extensions @mozilla.org/extension-manager/clh;1 - * command-line-hanlder m-edit @mozilla.org/composer/clh;1 + * command-line-handler m-edit @mozilla.org/composer/clh;1 * command-line-handler m-irc @mozilla.org/chatzilla/clh;1 * command-line-handler y-final @mozilla.org/browser/clh-final;1 * diff --git a/mozilla/tools/codesighs/codesighs.c b/mozilla/tools/codesighs/codesighs.c index aae6dbfce7d..3ecb4fbfd19 100644 --- a/mozilla/tools/codesighs/codesighs.c +++ b/mozilla/tools/codesighs/codesighs.c @@ -954,7 +954,7 @@ int initOptions(Options* outOptions, int inArgc, char** inArgv) else { retval = __LINE__; - ERROR_REPORT(retval, current->mLongName, "No hanlder for command line switch."); + ERROR_REPORT(retval, current->mLongName, "No handler for command line switch."); } } } diff --git a/mozilla/tools/codesighs/maptsvdifftool.c b/mozilla/tools/codesighs/maptsvdifftool.c index 91ecf97e30e..16667b5eae6 100644 --- a/mozilla/tools/codesighs/maptsvdifftool.c +++ b/mozilla/tools/codesighs/maptsvdifftool.c @@ -1227,7 +1227,7 @@ int initOptions(Options* outOptions, int inArgc, char** inArgv) else { retval = __LINE__; - ERROR_REPORT(retval, current->mLongName, "No hanlder for command line switch."); + ERROR_REPORT(retval, current->mLongName, "No handler for command line switch."); } } } diff --git a/mozilla/tools/codesighs/msdump2symdb.c b/mozilla/tools/codesighs/msdump2symdb.c index edd604c6564..f9768f20b1a 100755 --- a/mozilla/tools/codesighs/msdump2symdb.c +++ b/mozilla/tools/codesighs/msdump2symdb.c @@ -1006,7 +1006,7 @@ int initOptions(Options* outOptions, int inArgc, char** inArgv) else { retval = __LINE__; - ERROR_REPORT(retval, current->mLongName, "No hanlder for command line switch."); + ERROR_REPORT(retval, current->mLongName, "No handler for command line switch."); } } } diff --git a/mozilla/tools/codesighs/msmap2tsv.c b/mozilla/tools/codesighs/msmap2tsv.c index ac551ded00d..cf2a9ee0c4f 100644 --- a/mozilla/tools/codesighs/msmap2tsv.c +++ b/mozilla/tools/codesighs/msmap2tsv.c @@ -2050,7 +2050,7 @@ int initOptions(Options* outOptions, int inArgc, char** inArgv) else { retval = __LINE__; - ERROR_REPORT(retval, current->mLongName, "No hanlder for command line switch."); + ERROR_REPORT(retval, current->mLongName, "No handler for command line switch."); } } } diff --git a/mozilla/tools/codesighs/nm2tsv.c b/mozilla/tools/codesighs/nm2tsv.c index ad8584d46ce..63bb33666b0 100644 --- a/mozilla/tools/codesighs/nm2tsv.c +++ b/mozilla/tools/codesighs/nm2tsv.c @@ -419,7 +419,7 @@ int initOptions(Options* outOptions, int inArgc, char** inArgv) else { retval = __LINE__; - ERROR_REPORT(retval, current->mLongName, "No hanlder for command line switch."); + ERROR_REPORT(retval, current->mLongName, "No handler for command line switch."); } } } diff --git a/mozilla/tools/trace-malloc/tmfrags.c b/mozilla/tools/trace-malloc/tmfrags.c index eafdc12182a..60bc4bd0391 100644 --- a/mozilla/tools/trace-malloc/tmfrags.c +++ b/mozilla/tools/trace-malloc/tmfrags.c @@ -436,7 +436,7 @@ int initOptions(Options* outOptions, int inArgc, char** inArgv) else { retval = __LINE__; - ERROR_REPORT(retval, current->mLongName, "No hanlder for command line switch."); + ERROR_REPORT(retval, current->mLongName, "No handler for command line switch."); } } } diff --git a/mozilla/tools/trace-malloc/tmstats.c b/mozilla/tools/trace-malloc/tmstats.c index eb1d936651b..569ebd5408c 100644 --- a/mozilla/tools/trace-malloc/tmstats.c +++ b/mozilla/tools/trace-malloc/tmstats.c @@ -381,7 +381,7 @@ int initOptions(Options* outOptions, int inArgc, char** inArgv) else { retval = __LINE__; - ERROR_REPORT(retval, current->mLongName, "No hanlder for command line switch."); + ERROR_REPORT(retval, current->mLongName, "No handler for command line switch."); } } } diff --git a/mozilla/widget/src/cocoa/nsChildView.mm b/mozilla/widget/src/cocoa/nsChildView.mm index 175a6659514..019dcb8f816 100644 --- a/mozilla/widget/src/cocoa/nsChildView.mm +++ b/mozilla/widget/src/cocoa/nsChildView.mm @@ -2004,7 +2004,7 @@ nsChildView::DispatchEvent ( void* anEvent, PRBool *_retval ) // The drag manager has let us know that something related to a drag has // occurred in this window. It could be any number of things, ranging from // a drop, to a drag enter/leave, or a drag over event. The actual event -// is passed in |aMessage| and is passed along to our event hanlder so Gecko +// is passed in |aMessage| and is passed along to our event handler so Gecko // knows about it. // NS_IMETHODIMP diff --git a/mozilla/widget/src/mac/nsMacWindow.cpp b/mozilla/widget/src/mac/nsMacWindow.cpp index 14e7294787c..28908e82d87 100644 --- a/mozilla/widget/src/mac/nsMacWindow.cpp +++ b/mozilla/widget/src/mac/nsMacWindow.cpp @@ -1755,7 +1755,7 @@ nsMacWindow::DispatchMenuEvent ( void* anEvent, PRInt32 aNativeResult, PRBool *_ // The drag manager has let us know that something related to a drag has // occurred in this window. It could be any number of things, ranging from // a drop, to a drag enter/leave, or a drag over event. The actual event -// is passed in |aMessage| and is passed along to our event hanlder so Gecko +// is passed in |aMessage| and is passed along to our event handler so Gecko // knows about it. // NS_IMETHODIMP diff --git a/mozilla/xpfe/bootstrap/appleevents/nsAEClassDispatcher.cpp b/mozilla/xpfe/bootstrap/appleevents/nsAEClassDispatcher.cpp index 785f56d3d8d..46b90df4a2e 100644 --- a/mozilla/xpfe/bootstrap/appleevents/nsAEClassDispatcher.cpp +++ b/mozilla/xpfe/bootstrap/appleevents/nsAEClassDispatcher.cpp @@ -46,7 +46,7 @@ /*---------------------------------------------------------------------------- AEDispatchHandler - Ownership of the hanlder passes to this object + Ownership of the handler passes to this object ----------------------------------------------------------------------------*/ AEDispatchHandler::AEDispatchHandler(DescType handlerClass, AEGenericClass* handler, Boolean deleteOnRemove /* = true*/ ) diff --git a/mozilla/xpfe/components/related/src/nsRelatedLinksHandlerImpl.h b/mozilla/xpfe/components/related/src/nsRelatedLinksHandlerImpl.h index d68ff09f887..68e6cb100aa 100644 --- a/mozilla/xpfe/components/related/src/nsRelatedLinksHandlerImpl.h +++ b/mozilla/xpfe/components/related/src/nsRelatedLinksHandlerImpl.h @@ -46,7 +46,7 @@ #include "nsIRDFDataSource.h" //////////////////////////////////////////////////////////////////////// -// RelatedLinksHanlderImpl +// RelatedLinksHandlerImpl class RelatedLinksHandlerImpl : public nsIRelatedLinksHandler, public nsIRDFDataSource