From f9bdb44b34345fc0dc3242585888049dab7319d9 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Fri, 25 Nov 2005 08:16:51 +0000 Subject: [PATCH] Bug 106386 Correct misspellings in source code patch by unknown@simplemachines.org r=timeless rs=brendan git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43 --- .../migration/src/nsOperaProfileMigrator.cpp | 2 +- .../src/nsSeamonkeyProfileMigrator.cpp | 2 +- mozilla/browser/installer/unix/config.it | 2 +- mozilla/build/unix/print-depth-path.sh | 6 +-- .../calendar/resources/content/calendar.js | 2 +- .../resources/content/calendarEvent.js | 2 +- .../resources/content/calendarMail.js | 2 +- .../camino/src/bookmarks/BookmarkManager.mm | 4 +- mozilla/caps/tests/mozDriver.pl | 2 +- mozilla/cck/build/CCKBuild.bat | 2 +- mozilla/cck/build/CCKBuild.pl | 2 +- mozilla/cck/ib/ib.cpp | 8 +-- mozilla/composer/base/content/editor.js | 4 +- .../composer/base/content/editorOverlay.xul | 2 +- mozilla/configure.in | 4 +- .../content/base/src/nsContentIterator.cpp | 2 +- .../content/base/src/nsGeneratedIterator.cpp | 2 +- .../content/base/src/nsGenericDOMDataNode.cpp | 2 +- mozilla/content/base/src/nsGenericElement.cpp | 4 +- .../events/src/nsEventStateManager.cpp | 2 +- .../html/content/src/nsHTMLInputElement.cpp | 2 +- .../html/document/src/nsHTMLContentSink.cpp | 2 +- .../xml/content/public/nsIXMLContent.h | 2 +- mozilla/dbm/src/db.c | 2 +- mozilla/editor/libeditor/base/nsEditor.cpp | 8 +-- mozilla/editor/libeditor/base/nsEditor.h | 2 +- .../libeditor/html/nsHTMLDataTransfer.cpp | 12 ++--- .../editor/libeditor/html/nsHTMLEditRules.cpp | 50 +++++++++---------- .../editor/libeditor/html/nsHTMLEditor.cpp | 6 +-- .../html/nsHTMLEditorMouseListener.cpp | 4 +- .../libeditor/html/nsHTMLEditorStyle.cpp | 4 +- .../editor/libeditor/html/nsWSRunObject.cpp | 20 ++++---- .../editor/libeditor/text/nsTextEditRules.cpp | 4 +- .../ui/composer/content/editorOverlay.xul | 2 +- .../activex/tests/cbrowse/CBrowseDlg.cpp | 4 +- .../accessibility/html/htmlanchortext.html | 2 +- .../jstests/accessibility/xul/xultoolbar.xul | 4 +- .../jstests/accessibility/xul/xultoolbox.xul | 4 +- .../resources/content/pref-contentpacks.xul | 2 +- .../cview/resources/content/tree-utils.js | 6 +-- .../gnomevfs/nsGnomeVFSProtocolHandler.cpp | 2 +- .../locale/en-US/mail_sec_help.xhtml | 6 +-- mozilla/extensions/irc/js/tests/DP.js | 2 +- mozilla/extensions/irc/js/tests/mingus.js | 2 +- .../irc/js/tests/test_matchobject.js | 4 +- mozilla/extensions/python/xpcom/file.py | 2 +- .../extensions/python/xpcom/server/policy.py | 10 ++-- .../extensions/python/xpcom/src/PyGBase.cpp | 10 ++-- .../extensions/python/xpcom/src/PyGStub.cpp | 4 +- .../python/xpcom/src/PyIInputStream.cpp | 2 +- .../python/xpcom/src/PyISupports.cpp | 2 +- .../python/xpcom/src/TypeObject.cpp | 4 +- .../python/xpcom/src/VariantUtils.cpp | 36 ++++++------- mozilla/extensions/python/xpcom/src/xpcom.cpp | 4 +- .../test_component/py_test_component.html | 2 +- .../test/test_component/py_test_component.idl | 2 +- .../test/test_component/py_test_component.py | 2 +- .../python/xpcom/test/test_components.py | 4 +- .../xpcom/test/test_isupports_primitives.py | 2 +- .../python/xpcom/test/test_test_component.js | 2 +- .../python/xpcom/test/test_test_component.py | 4 +- mozilla/extensions/python/xpcom/xpt.py | 4 +- .../sroaming/resources/content/prefs/top.js | 2 +- .../venkman/resources/content/tree-utils.js | 6 +-- .../webservices/proxy/src/wspcallcontext.cpp | 2 +- .../public/nsIScriptableInterfaceInfo.idl | 2 +- .../extensions/webservices/uddi/README.txt | 2 +- mozilla/gfx/idl/gfxIImageFrame.idl | 2 +- mozilla/gfx/src/freetype/nsFreeType.cpp | 4 +- mozilla/gfx/src/gtk/nsRenderingContextGTK.cpp | 2 +- mozilla/gfx/src/mac/nsMacUnicodeFontInfo.cpp | 2 +- .../gfx/src/mac/nsUnicodeFontMappingMac.cpp | 2 +- mozilla/gfx/src/mac/nsUnicodeMappingUtil.cpp | 4 +- mozilla/gfx/src/mac/nsUnicodeMappingUtil.h | 8 +-- mozilla/gfx/src/nsBlender.h | 6 +-- mozilla/gfx/src/photon/nsDeviceContextPh.cpp | 2 +- mozilla/gfx/src/ps/nsAFMObject.cpp | 2 +- mozilla/gfx/src/ps/nsRenderingContextPS.cpp | 2 +- .../src/x11shared/nsXFontAAScaledBitmap.cpp | 2 +- .../gfx/src/xlib/nsRenderingContextXlib.cpp | 4 +- mozilla/gfx/src/xprint/nsXPrintContext.cpp | 14 +++--- mozilla/gfx/src/xprintutil/xprintutil.c | 2 +- .../strres/src/nsStringBundleTextOverride.cpp | 2 +- .../public/ipcITransactionService.idl | 2 +- mozilla/java/build/README.DOM | 2 +- mozilla/java/dom/README | 2 +- .../wf/java/sun/jvmp/PluggableJVM.java | 4 +- .../wf/src/plugin/netscape4/npunix.c | 4 +- .../wf/src/plugin/netscape4/npunix.c.my | 4 +- mozilla/java/plugins/src/PlugletLoader.cpp | 2 +- ...PlugletManager_getURL_default_getData.html | 4 +- .../deleteApplet/DelApp.java | 2 +- .../api/PlugletManager_reloadPluglets_2.java | 2 +- .../GtkBrowserControlCanvas.java | 6 +-- .../webclient/src_ie/NativeEventThread.cpp | 2 +- mozilla/java/xpcom/old/test/JSSample.cpp | 4 +- .../mthreads/2/MThreadComponent2Factory.cpp | 4 +- .../context/MThreadContextFactory.cpp | 4 +- .../basic/mthreads/mtstart/MTStartFactory.cpp | 4 +- .../cpp/J2XINServerTestComponentFactory.cpp | 4 +- .../J2XINOUTServerTestComponentFactory.cpp | 4 +- .../cpp/J2XOUTServerTestComponentFactory.cpp | 4 +- .../cpp/J2XRETServerTestComponentFactory.cpp | 4 +- .../params/TestLoader/BCTestLoaderFactory.cpp | 4 +- .../cpp/X2JINClientTestComponentFactory.cpp | 4 +- .../X2JINOUTClientTestComponentFactory.cpp | 4 +- .../cpp/X2JOUTClientTestComponentFactory.cpp | 4 +- .../cpp/X2JRETClientTestComponentFactory.cpp | 4 +- .../stress/1/cpp/StressComponent2Factory.cpp | 4 +- .../urp/src/test/Init/initImplFactory.cpp | 4 +- .../xpcom/urp/src/test/urpTestImplFactory.cpp | 4 +- mozilla/js/docs/README | 2 +- mozilla/js/docs/jsref.xml | 28 +++++------ mozilla/js/jsd/corba/jsd_iiop.cpp | 2 +- mozilla/js/jsd/jsdebug.h | 2 +- .../api/local/DebugControllerLocal.java | 2 +- .../netscape/jsdebugging/ifcui/Emperor.java | 6 +-- .../jsdebugging/ifcui/InspectorTyrant.java | 2 +- .../jsdebugging/ifcui/JSDebuggerApp.java | 2 +- .../jsdebugging/ifcui/LicenseViewer.java | 6 +-- .../jsdebugging/ifcui/SourceViewManager.java | 2 +- .../ifcui/palomar/widget/layout/BoxView.java | 2 +- mozilla/js/perf/jsPerformance.pl | 2 +- mozilla/js/rhino/examples/jsdoc.js | 4 +- .../org/mozilla/javascript/NativeString.java | 2 +- mozilla/js/src/jsregexp.c | 4 +- mozilla/js/src/perlconnect/JS.xs | 2 +- mozilla/js/src/perlconnect/jsperl.c | 4 +- mozilla/js/src/xpconnect/src/xpc.msg | 2 +- .../tests/idispatch/Tests/jsDriver.pl | 2 +- .../js1_2/regexp/RegExp_dollar_number.js | 2 +- mozilla/js/tests/jsDriver.pl | 2 +- mozilla/js2/ChangeLog | 2 +- mozilla/js2/src/js2eval.cpp | 2 +- mozilla/js2/src/js2metadata.cpp | 2 +- mozilla/js2/src/js2op_flowcontrol.cpp | 4 +- mozilla/js2/src/plugin.cpp | 2 +- mozilla/js2/src/regexp/regexp.c | 4 +- mozilla/js2/src/regexpwrapper.cpp | 4 +- .../html/tests/table/bugs/bug44505.html | 2 +- .../table/marvin/tables_row_th_nowrap.html | 2 +- .../tests/table/marvin/tables_td_nowrap.html | 2 +- mozilla/lib/mac/UserInterface/CCaption.h | 2 +- .../lib/mac/UserInterface/CMouseDispatcher.cp | 2 +- .../lib/mac/UserInterface/CPatternButton.cp | 2 +- .../UserInterface/CPatternButtonPopupText.cp | 2 +- .../mac/UserInterface/CSharedPatternWorld.cp | 2 +- .../lib/mac/UserInterface/LCustomizeMenu.cp | 6 +-- .../lib/mac/UserInterface/LCustomizeMenu.h | 2 +- .../lib/mac/UserInterface/UGAAppearance.cp | 2 +- .../lib/mac/UserInterface/UGraphicGizmos.cp | 2 +- mozilla/mail/extensions/offline/install.js | 2 +- mozilla/mail/installer/windows/config.it | 2 +- mozilla/mailnews/addrbook/src/nsVCard.cpp | 2 +- mozilla/mailnews/base/build/win32.order | 2 +- mozilla/mailnews/base/src/nsMessenger.cpp | 2 +- .../mailnews/base/src/nsMsgAccountManager.h | 2 +- .../mailnews/base/src/nsMsgFolderCache.cpp | 2 +- mozilla/mailnews/build/win32.order | 2 +- mozilla/mailnews/compose/src/nsMsgCompose.cpp | 14 +++--- .../mailnews/compose/src/nsSmtpService.cpp | 2 +- .../mailnews/db/msgdb/src/nsMsgDatabase.cpp | 2 +- mozilla/mailnews/imap/src/nsImapProtocol.cpp | 2 +- .../imap/src/nsImapServerResponseParser.cpp | 2 +- .../import/oexpress/nsOEStringBundle.h | 2 +- .../import/src/nsImportStringBundle.h | 2 +- mozilla/mailnews/local/src/nsPop3Protocol.cpp | 6 +-- .../mime/emitters/src/nsMimeBaseEmitter.h | 2 +- mozilla/mailnews/mime/src/mimehdrs.cpp | 2 +- .../plugin/composer/ImageEncoder.java | 2 +- .../netscape/plugin/composer/Plugin.java | 4 +- .../plugin/composer/mapedit/InfoDialog.java | 2 +- .../test/plugin/composer/ReleaseNotes.html | 2 +- .../netscape/test/plugin/composer/Test.java | 2 +- mozilla/modules/libjar/nsZipArchive.cpp | 2 +- mozilla/modules/libjar/nsZlibAllocator.h | 2 +- mozilla/modules/libnls/headers/decimfmt.h | 2 +- mozilla/modules/libnls/headers/ptypes.h | 4 +- mozilla/modules/libpref/src/init/all.js | 2 +- .../modules/libtest/src/nsTestEventsApi.cpp | 2 +- .../modules/libtest/src/nsTestQueryApi.cpp | 2 +- mozilla/modules/oji/tests/FAQ | 2 +- .../oji/tests/script/OJIAPITestsDescr.html | 2 +- .../CallingInstanceMethods/GetMethodID_1.cpp | 4 +- .../CallingInstanceMethods/GetMethodID_2.cpp | 4 +- .../CallingInstanceMethods/GetMethodID_3.cpp | 4 +- .../CallingInstanceMethods/GetMethodID_4.cpp | 4 +- .../CallingInstanceMethods/GetMethodID_5.cpp | 4 +- .../GetStaticMethodID_1.cpp | 4 +- .../GetStaticMethodID_2.cpp | 4 +- .../GetStaticMethodID_3.cpp | 4 +- .../GetStaticMethodID_4.cpp | 4 +- .../GetStaticMethodID_5.cpp | 4 +- .../src/JNI/ClassOperation/FindClass_1.cpp | 2 +- .../JNI/ObjectOperations/IsInstanceOf_3.cpp | 4 +- .../plugin/base/src/ns4xPluginInstance.cpp | 2 +- .../plugin/base/src/nsPluginHostImpl.cpp | 4 +- .../plugin/samples/4x-scriptable/doc.html | 2 +- .../plugin/samples/backward/badapter.cpp | 2 +- .../plugin/samples/default/os2/npshell.cpp | 2 +- .../plugin/samples/default/unix/npunix.c | 2 +- .../samples/default/windows/npshell.cpp | 2 +- .../plugin/samples/testevents/README.txt | 2 +- .../plugin/samples/testevents/npevents.cpp | 2 +- .../plugin/samples/unixprinting/npunix.c | 2 +- mozilla/modules/progress/src/makefile.win | 2 +- mozilla/modules/rdf/include/rdf.h | 2 +- mozilla/modules/rdf/src/query.c | 4 +- mozilla/modules/softupdt/src/os2updt.c | 2 +- mozilla/msgsdk/C/protocol/IMAP4/src/imap4.c | 2 +- .../highlevel/examples/testsendMessage.java | 4 +- .../examples/example1/SendMsgClnt.java | 4 +- .../examples/example2/MIMEEncodeTest.java | 2 +- mozilla/netwerk/base/public/nsIURL.idl | 4 +- .../netwerk/base/src/nsDirectoryIndexStream.h | 2 +- mozilla/netwerk/base/src/nsIOService.cpp | 2 +- mozilla/netwerk/base/src/nsURLHelper.cpp | 10 ++-- .../ftp/src/nsFtpConnectionThread.cpp | 2 +- .../streamconv/converters/ParseFTPList.cpp | 4 +- mozilla/netwerk/testserver/docs/help.html | 2 +- mozilla/netwerk/testserver/docs/urlmap | 2 +- 221 files changed, 409 insertions(+), 409 deletions(-) diff --git a/mozilla/browser/components/migration/src/nsOperaProfileMigrator.cpp b/mozilla/browser/components/migration/src/nsOperaProfileMigrator.cpp index eca9443f7a2..0b0462f0155 100644 --- a/mozilla/browser/components/migration/src/nsOperaProfileMigrator.cpp +++ b/mozilla/browser/components/migration/src/nsOperaProfileMigrator.cpp @@ -889,7 +889,7 @@ nsresult nsOperaCookieMigrator::AddCookie(nsICookieManager2* aManager) { // This is where we use the information gathered in all the other - // states to add a cookie to the Firebird Cookie Manager. + // states to add a cookie to the Firebird/Firefox Cookie Manager. nsXPIDLCString domain; SynthesizeDomain(getter_Copies(domain)); diff --git a/mozilla/browser/components/migration/src/nsSeamonkeyProfileMigrator.cpp b/mozilla/browser/components/migration/src/nsSeamonkeyProfileMigrator.cpp index b382f1c7c49..89534f7c257 100644 --- a/mozilla/browser/components/migration/src/nsSeamonkeyProfileMigrator.cpp +++ b/mozilla/browser/components/migration/src/nsSeamonkeyProfileMigrator.cpp @@ -439,7 +439,7 @@ nsSeamonkeyProfileMigrator::SetDownloadManager(void* aTransform, nsIPrefBranch* // 1 - show individual progress dialogs // 2 - show nothing // - // Firebird has only a download manager window, but it can behave like a progress dialog, thus: + // Firefox has only a download manager window, but it can behave like a progress dialog, thus: // 0 || 1 -> show downloads window when a download starts // 2 -> don't show anything when a download starts // 1 -> close the downloads window as if it were a progress window when downloads complete. diff --git a/mozilla/browser/installer/unix/config.it b/mozilla/browser/installer/unix/config.it index e334e294716..070379abd6e 100644 --- a/mozilla/browser/installer/unix/config.it +++ b/mozilla/browser/installer/unix/config.it @@ -281,7 +281,7 @@ Title=@WININT_TITLE@ Sub Title=@WININT_SUBTITLE@ Message0=@WININT_MESSAGE0@ -; Only a maximum of 4 "Windows Integration-Item"s are allowded. Each Item +; Only a maximum of 4 "Windows Integration-Item"s are allowed. Each Item ; shows up as a checkbox in the Windows Integration dialog. [Windows Integration-Item0] CheckBoxState=TRUE diff --git a/mozilla/build/unix/print-depth-path.sh b/mozilla/build/unix/print-depth-path.sh index a468263b6d8..4d22d55b0dc 100755 --- a/mozilla/build/unix/print-depth-path.sh +++ b/mozilla/build/unix/print-depth-path.sh @@ -41,9 +41,9 @@ # This script will print the depth path for a mozilla directory based # on the info in Makefile # -# Its a hack. Its brute force. Its horrible. -# It dont use Artificial Intelligence. It dont use Virtual Reality. -# Its not perl. Its not python. But it works. +# It's a hack. It's brute force. It's horrible. +# It don't use Artificial Intelligence. It don't use Virtual Reality. +# It's not perl. It's not python. But it works. # # Usage: print-depth-path.sh # diff --git a/mozilla/calendar/resources/content/calendar.js b/mozilla/calendar/resources/content/calendar.js index ef6990c9815..46af563569b 100644 --- a/mozilla/calendar/resources/content/calendar.js +++ b/mozilla/calendar/resources/content/calendar.js @@ -72,7 +72,7 @@ var gCalendar = null; //the next line needs XX-DATE-XY but last X instead of Y var gDateMade = "2002052213-cal" -// turn on debuging +// turn on debugging var gDebugCalendar = false; // single global instance of CalendarWindow diff --git a/mozilla/calendar/resources/content/calendarEvent.js b/mozilla/calendar/resources/content/calendarEvent.js index 214f1a3021f..5d74fc0244d 100644 --- a/mozilla/calendar/resources/content/calendarEvent.js +++ b/mozilla/calendar/resources/content/calendarEvent.js @@ -129,7 +129,7 @@ CalendarEventDataSource.InitService = function calEvent_InitService( root ) return new CalendarEventDataSource( null, root.getUserPath() ); } -// turn on/off debuging +// turn on/off debugging CalendarEventDataSource.gDebug = true; // Singleton CalendarEventDataSource variable. diff --git a/mozilla/calendar/resources/content/calendarMail.js b/mozilla/calendar/resources/content/calendarMail.js index 2297dd5a9c4..84321e2eef0 100644 --- a/mozilla/calendar/resources/content/calendarMail.js +++ b/mozilla/calendar/resources/content/calendarMail.js @@ -126,7 +126,7 @@ function noMail() function noAccount() { - // this could call the account wizard I guess thats a later feature + // this could call the account wizard, I guess that's a later feature mdebug("You don't have a mail account"); } diff --git a/mozilla/camino/src/bookmarks/BookmarkManager.mm b/mozilla/camino/src/bookmarks/BookmarkManager.mm index ce3e3fcdfac..904f6393af4 100644 --- a/mozilla/camino/src/bookmarks/BookmarkManager.mm +++ b/mozilla/camino/src/bookmarks/BookmarkManager.mm @@ -275,7 +275,7 @@ static BookmarkManager* gBookmarkManager = nil; [root release]; // Turn off the posting of update notifications while reading in bookmarks. - // All interested parties haven't been init'd yet, and/or will recieve the + // All interested parties haven't been init'd yet, and/or will receive the // managerStartedNotification when setup is actually complete. [BookmarkItem setSuppressAllUpdateNotifications:YES]; BOOL bookmarksReadOK = [self readBookmarks]; @@ -1393,7 +1393,7 @@ static BookmarkManager* gBookmarkManager = nil; if ([tokenScanner isAtEnd]) { // we scanned up to the but didn't find a " character ending the HREF. This is probably // because we're scanning a bookmarklet that contains an embedded so we're in the - // middle of the string. Just bail and dont import this bookmark. The parser should be able + // middle of the string. Just bail and don't import this bookmark. The parser should be able // to recover on its own once it gets to the next " - + AppendElement(aRange); return rv ? NS_OK : NS_ERROR_FAILURE; diff --git a/mozilla/content/base/src/nsGenericElement.cpp b/mozilla/content/base/src/nsGenericElement.cpp index f274989611b..235558ad8de 100644 --- a/mozilla/content/base/src/nsGenericElement.cpp +++ b/mozilla/content/base/src/nsGenericElement.cpp @@ -2488,7 +2488,7 @@ nsGenericElement::RangeAdd(nsIDOMRange* aRange) return NS_OK; } - // dont need to addref - this call is made by the range object + // don't need to addref - this call is made by the range object // itself PRBool rv = entry->mRangeList->AppendElement(aRange); if (!rv) { @@ -2528,7 +2528,7 @@ nsGenericElement::RangeRemove(nsIDOMRange* aRange) return; } - // dont need to release - this call is made by the range object itself + // don't need to release - this call is made by the range object itself entry->mRangeList->RemoveElement(aRange); if (entry->mRangeList->Count() == 0) { diff --git a/mozilla/content/events/src/nsEventStateManager.cpp b/mozilla/content/events/src/nsEventStateManager.cpp index 071c6b6183c..ebf4ce7cbf6 100644 --- a/mozilla/content/events/src/nsEventStateManager.cpp +++ b/mozilla/content/events/src/nsEventStateManager.cpp @@ -1096,7 +1096,7 @@ nsEventStateManager::HandleAccessKey(nsPresContext* aPresContext, } }// if end . checking all sub docshell ends here. - // bubble up the process to the parent docShell if necesary + // bubble up the process to the parent docShell if necessary if (eAccessKeyProcessingDown != aAccessKeyState && nsEventStatus_eConsumeNoDefault != *aStatus) { nsCOMPtr pcContainer = aPresContext->GetContainer(); NS_ASSERTION(pcContainer, "no container for presContext"); diff --git a/mozilla/content/html/content/src/nsHTMLInputElement.cpp b/mozilla/content/html/content/src/nsHTMLInputElement.cpp index ac5c0624349..5a7989a860f 100644 --- a/mozilla/content/html/content/src/nsHTMLInputElement.cpp +++ b/mozilla/content/html/content/src/nsHTMLInputElement.cpp @@ -1356,7 +1356,7 @@ nsHTMLInputElement::HandleDOMEvent(nsPresContext* aPresContext, PRInt32 oldType = mType; // Try script event handlers first if its not a focus/blur event - //we dont want the doc to get these + //we don't want the doc to get these rv = nsGenericHTMLFormElement::HandleDOMEvent(aPresContext, aEvent, aDOMEvent, aFlags, aEventStatus); diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp index de686d9d212..f16c5982f17 100644 --- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp @@ -3370,7 +3370,7 @@ HTMLContentSink::DidProcessAToken(void) // time to create windows. This is important because on some // systems (Windows, for example) when a window is created and the // mouse is over it, a mouse move event is sent, which will kick - // us into interactive mode otherwise. It also supresses reaction + // us into interactive mode otherwise. It also suppresses reaction // to pressing the ENTER key in the URL bar... PRUint32 delayBeforeLoweringThreshold = diff --git a/mozilla/content/xml/content/public/nsIXMLContent.h b/mozilla/content/xml/content/public/nsIXMLContent.h index fe17e070e47..11e042d812d 100644 --- a/mozilla/content/xml/content/public/nsIXMLContent.h +++ b/mozilla/content/xml/content/public/nsIXMLContent.h @@ -65,7 +65,7 @@ public: /** * Give this element a chance to fire links that should be fired * automatically when loaded. If the element was an autoloading link - * and it was succesfully handled, we will throw special nsresult values. + * and it was successfully handled, we will throw special nsresult values. * * @param aShell the current doc shell (to possibly load the link on) * @throws NS_OK if nothing happened diff --git a/mozilla/dbm/src/db.c b/mozilla/dbm/src/db.c index e4b1fff8fb4..6650cd2de12 100644 --- a/mozilla/dbm/src/db.c +++ b/mozilla/dbm/src/db.c @@ -87,7 +87,7 @@ dbopen(const char *fname, int flags,int mode, DBTYPE type, const void *openinfo) #define DB_FLAGS (DB_LOCK | DB_SHMEM | DB_TXN) -#if 0 /* most systems dont have EXLOCK and SHLOCK */ +#if 0 /* most systems don't have EXLOCK and SHLOCK */ #define USE_OPEN_FLAGS \ (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \ O_RDWR | O_SHLOCK | O_TRUNC) diff --git a/mozilla/editor/libeditor/base/nsEditor.cpp b/mozilla/editor/libeditor/base/nsEditor.cpp index 9202e3c51de..6c712899b15 100644 --- a/mozilla/editor/libeditor/base/nsEditor.cpp +++ b/mozilla/editor/libeditor/base/nsEditor.cpp @@ -2677,7 +2677,7 @@ NS_IMETHODIMP nsEditor::InsertTextIntoTextNodeImpl(const nsAString& aStringToIns } if (NS_FAILED(result)) return result; // we potentially leak txn here? - // let listeners know whats up + // let listeners know what's up PRInt32 i; nsIEditActionListener *listener; if (mActionListeners) @@ -2891,7 +2891,7 @@ NS_IMETHODIMP nsEditor::DeleteText(nsIDOMCharacterData *aElement, nsAutoRules beginRulesSniffing(this, kOpDeleteText, nsIEditor::ePrevious); if (NS_SUCCEEDED(result)) { - // let listeners know whats up + // let listeners know what's up PRInt32 i; nsIEditActionListener *listener; if (mActionListeners) @@ -4234,7 +4234,7 @@ nsEditor::IsPreformatted(nsIDOMNode *aNode, PRBool *aResult) // That dom point must be inside aNode, which is the node to // split. outOffset is set to the offset in the parent of aNode where // the split terminates - where you would want to insert -// a new element, for instance, if thats why you were splitting +// a new element, for instance, if that's why you were splitting // the node. // nsresult @@ -4682,7 +4682,7 @@ nsEditor::DeleteSelectionAndPrepareToCreateNode(nsCOMPtr &parentSele offsetOfNewNode = offsetOfSelectedNode; - /* if the selection is a text node, split the text node if necesary + /* if the selection is a text node, split the text node if necessary and compute where to put the new node */ if (selectedParentNodeAsText) diff --git a/mozilla/editor/libeditor/base/nsEditor.h b/mozilla/editor/libeditor/base/nsEditor.h index 9c403b3f863..9854c54e0d3 100644 --- a/mozilla/editor/libeditor/base/nsEditor.h +++ b/mozilla/editor/libeditor/base/nsEditor.h @@ -131,7 +131,7 @@ public: */ nsEditor(); /** The default destructor. This should suffice. Should this be pure virtual - * for someone to derive from the nsEditor later? I dont believe so. + * for someone to derive from the nsEditor later? I don't believe so. */ virtual ~nsEditor(); diff --git a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp index 9ab4e373b03..72e546266ee 100644 --- a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp @@ -683,7 +683,7 @@ nsHTMLEditor::InsertHTMLWithContext(const nsAString & aInputString, nsCOMPtr selNode, tmp, visNode, highTable; PRInt32 selOffset; - // but dont cross tables + // but don't cross tables if (!nsHTMLEditUtils::IsTable(lastInsertNode)) { res = GetLastEditableLeaf(lastInsertNode, address_of(selNode)); @@ -715,7 +715,7 @@ nsHTMLEditor::InsertHTMLWithContext(const nsAString & aInputString, if (NS_FAILED(res)) return res; } - // make sure we dont end up with selection collapsed after an invisible break node + // make sure we don't end up with selection collapsed after an invisible break node nsWSRunObject wsRunObj(this, selNode, selOffset); PRInt32 outVisOffset=0; PRInt16 visType=0; @@ -729,7 +729,7 @@ nsHTMLEditor::InsertHTMLWithContext(const nsAString & aInputString, // out of the nsWSRunObject's state. if (!IsVisBreak(wsRunObj.mStartReasonNode)) { - // dont leave selection past an invisible break; + // don't leave selection past an invisible break; // reset {selNode,selOffset} to point before break res = GetNodeLocation(wsRunObj.mStartReasonNode, address_of(selNode), &selOffset); // we want to be inside any inline style prior to break @@ -1602,11 +1602,11 @@ NS_IMETHODIMP nsHTMLEditor::InsertFromDrop(nsIDOMEvent* aDropEvent) rv = selection->GetRangeAt(j, getter_AddRefs(range)); if (NS_FAILED(rv) || !range) - continue;//dont bail yet, iterate through them all + continue;//don't bail yet, iterate through them all nsCOMPtr nsrange(do_QueryInterface(range)); if (NS_FAILED(rv) || !nsrange) - continue;//dont bail yet, iterate through them all + continue;//don't bail yet, iterate through them all rv = nsrange->IsPointInRange(newSelectionParent, newSelectionOffset, &cursorIsInSelection); if(cursorIsInSelection) @@ -2811,7 +2811,7 @@ nsHTMLEditor::ReplaceOrphanedStructure(PRBool aEnd, if (replaceNode) { // postprocess list to remove any descendants of this node - // so that we dont insert them twice. + // so that we don't insert them twice. nsCOMPtr endpoint; do { diff --git a/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp b/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp index 3906c961fd7..9f47d08fb72 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp @@ -439,7 +439,7 @@ nsHTMLEditRules::AfterEditInner(PRInt32 action, nsIEditor::EDirection aDirection if (bDamagedRange && !((action == nsEditor::kOpUndo) || (action == nsEditor::kOpRedo))) { - // dont let any txns in here move the selection around behind our back. + // don't let any txns in here move the selection around behind our back. // Note that this won't prevent explicit selection setting from working. nsAutoTxnsConserveSelection dontSpazMySelection(mHTMLEditor); @@ -1038,7 +1038,7 @@ NS_IMETHODIMP nsHTMLEditRules::GetParagraphState(PRBool *aMixed, nsAString &outFormat) { // This routine is *heavily* tied to our ui choices in the paragraph - // style popup. I cant see a way around that. + // style popup. I can't see a way around that. if (!aMixed) return NS_ERROR_NULL_POINTER; *aMixed = PR_TRUE; @@ -1322,7 +1322,7 @@ nsHTMLEditRules::WillInsertText(PRInt32 aAction, res = mHTMLEditor->GetStartNodeAndOffset(aSelection, address_of(selNode), &selOffset); if (NS_FAILED(res)) return res; - // dont put text in places that cant have it + // dont put text in places that can't have it if (!mHTMLEditor->IsTextNode(selNode) && !mHTMLEditor->CanContainTag(selNode, NS_LITERAL_STRING("#text"))) return NS_ERROR_FAILURE; @@ -1366,7 +1366,7 @@ nsHTMLEditRules::WillInsertText(PRInt32 aAction, // the changes one at a time. nsAutoLockListener lockit(&mListenerEnabled); - // dont spaz my selection in subtransactions + // don't spaz my selection in subtransactions nsAutoTxnsConserveSelection dontSpazMySelection(mHTMLEditor); nsAutoString tString(*inString); const PRUnichar *unicodeBuf = tString.get(); @@ -1729,7 +1729,7 @@ nsHTMLEditRules::SplitMailCites(nsISelection *aSelection, PRBool aPlaintext, PRB // just after it. This does two things for us. It saves us the trouble of having to add // a break here ourselves to preserve the "blockness" of the inline span mailquote // (in the inline case), and : - // it means the break wont end up making an empty line that happens to be inside a + // it means the break won't end up making an empty line that happens to be inside a // mailquote (in either inline or block case). // The latter can confuse a user if they click there and start typing, // because being in the mailquote may affect wrapping behavior, or font color, etc. @@ -1766,7 +1766,7 @@ nsHTMLEditRules::SplitMailCites(nsISelection *aSelection, PRBool aPlaintext, PRB if (NS_FAILED(res)) return res; // if citeNode wasn't a block, we might also want another break before it. // We need to examine the content both before the br we just added and also - // just after it. If we dont have another br or block boundary adjacent, + // just after it. If we don't have another br or block boundary adjacent, // then we will need a 2nd br added to achieve blank line that user expects. if (IsInlineNode(citeNode)) { @@ -2099,7 +2099,7 @@ nsHTMLEditRules::WillDeleteSelection(nsISelection *aSelection, bDeletedBR = PR_TRUE; } - // dont cross table boundaries + // don't cross table boundaries if (leftNode && rightNode) { PRBool bInDifTblElems; @@ -2181,7 +2181,7 @@ nsHTMLEditRules::WillDeleteSelection(nsISelection *aSelection, return NS_OK; } - // dont cross table boundaries + // don't cross table boundaries PRBool bInDifTblElems; res = InDifferentTableElements(leftNode, rightNode, &bInDifTblElems); if (NS_FAILED(res) || bInDifTblElems) return res; @@ -2520,7 +2520,7 @@ nsHTMLEditRules::JoinBlocks(nsCOMPtr *aLeftBlock, return NS_OK; } - // make sure we dont try to move thing's into HR's, which look like blocks but aren't containers + // make sure we don't try to move thing's into HR's, which look like blocks but aren't containers if (nsHTMLEditUtils::IsHR(*aLeftBlock)) { nsCOMPtr realLeft = mHTMLEditor->GetBlockNodeParent(*aLeftBlock); @@ -2977,7 +2977,7 @@ nsHTMLEditRules::WillMakeList(nsISelection *aSelection, res = nsEditor::GetNodeLocation(curNode, address_of(curParent), &offset); if (NS_FAILED(res)) return res; - // make sure we dont assemble content that is in different table cells into the same list. + // make sure we don't assemble content that is in different table cells into the same list. // respect table cell boundaries when listifying. if (curList) { @@ -3043,7 +3043,7 @@ nsHTMLEditRules::WillMakeList(nsISelection *aSelection, if ( existingListStr != *aListType ) { // list item is in wrong type of list. - // if we dont have a curList, split the old list + // if we don't have a curList, split the old list // and make a new list of correct type. if (!curList || nsEditorUtils::IsDescendantOf(curNode, curList)) { @@ -3708,7 +3708,7 @@ nsHTMLEditRules::WillHTMLIndent(nsISelection *aSelection, PRBool *aCancel, PRBoo else // not a list item, use blockquote? { - // if we are inside a list item, we dont want to blockquote, we want + // if we are inside a list item, we don't want to blockquote, we want // to sublist the list item. We may have several nodes listed in the // array of nodes to act on, that are in the same list item. Since // we only want to indent that li once, we must keep track of the most @@ -3872,7 +3872,7 @@ nsHTMLEditRules::WillOutdent(nsISelection *aSelection, PRBool *aCancel, PRBool * if (nsEditorUtils::IsDescendantOf(curNode, curBlockQuote)) { lastBQChild = curNode; - continue; // then we dont need to do anything different for this node + continue; // then we don't need to do anything different for this node } else { @@ -3894,7 +3894,7 @@ nsHTMLEditRules::WillOutdent(nsISelection *aSelection, PRBool *aCancel, PRBool * nsCOMPtr n = curNode; nsCOMPtr tmp; curBlockQuoteIsIndentedWithCSS = PR_FALSE; - // keep looking up the heirarchy as long as we dont hit the body or a table element + // keep looking up the heirarchy as long as we don't hit the body or a table element // (other than an entire table) while (!nsTextEditUtils::IsBody(n) && (nsHTMLEditUtils::IsTable(n) || !nsHTMLEditUtils::IsTableElement(n))) @@ -4487,7 +4487,7 @@ nsHTMLEditRules::WillAlign(nsISelection *aSelection, res = CreateMozBR(theDiv, 0, address_of(brNode)); if (NS_FAILED(res)) return res; res = aSelection->Collapse(theDiv, 0); - selectionResetter.Abort(); // dont reset our selection in this case. + selectionResetter.Abort(); // don't reset our selection in this case. return res; } @@ -5275,7 +5275,7 @@ nsHTMLEditRules::GetPromotedPoint(RulesEndpoint aWhere, nsIDOMNode *aNode, PRInt nsCOMPtr parent = aNode; PRInt32 pOffset, offset = aOffset; - // defualt values + // default values *outNode = node; *outOffset = offset; @@ -5444,7 +5444,7 @@ nsHTMLEditRules::GetPromotedRanges(nsISelection *inSelection, res = inSelection->GetRangeAt(i, getter_AddRefs(selectionRange)); if (NS_FAILED(res)) return res; - // clone range so we dont muck with actual selection ranges + // clone range so we don't muck with actual selection ranges res = selectionRange->CloneRange(getter_AddRefs(opRange)); if (NS_FAILED(res)) return res; @@ -5628,7 +5628,7 @@ nsHTMLEditRules::GetNodesForOperation(nsCOMArray& inArrayOfRanges, } } // indent/outdent already do something special for list items, but - // we still need to make sure we dont act on table elements + // we still need to make sure we don't act on table elements else if ( (inOperationType == kOutdent) || (inOperationType == kIndent) || (inOperationType == kSetAbsolutePosition)) @@ -6251,7 +6251,7 @@ nsHTMLEditRules::ReturnInHeader(nsISelection *aSelection, res = mHTMLEditor->DeleteNode(aHeader); if (NS_FAILED(res)) return res; // layout tells the caret to blink in a weird place - // if we dont place a break after the header. + // if we don't place a break after the header. nsCOMPtr sibling; res = mHTMLEditor->GetNextHTMLSibling(headerParent, offset+1, address_of(sibling)); if (NS_FAILED(res)) return res; @@ -6746,7 +6746,7 @@ nsHTMLEditRules::RemoveBlockStyle(nsCOMArray& arrayOfNodes) if (nsEditorUtils::IsDescendantOf(curNode, curBlock)) { lastNode = curNode; - continue; // then we dont need to do anything different for this node + continue; // then we don't need to do anything different for this node } else { @@ -6842,7 +6842,7 @@ nsHTMLEditRules::ApplyBlockStyle(nsCOMArray& arrayOfNodes, const nsA // if curNode is a address, p, header, address, or pre, replace // it with a new block of correct type. - // xxx floppy moose: pre cant hold everything the others can + // xxx floppy moose: pre can't hold everything the others can if (nsHTMLEditUtils::IsMozDiv(curNode) || nsHTMLEditUtils::IsFormatNode(curNode)) { @@ -7559,7 +7559,7 @@ nsHTMLEditRules::FindNearSelectableNode(nsIDOMNode *aSelNode, } // scan in the right direction until we find an eligible text node, - // but dont cross any breaks, images, or table elements. + // but don't cross any breaks, images, or table elements. while (nearNode && !(mHTMLEditor->IsTextNode(nearNode) || nsTextEditUtils::IsBreak(nearNode) || nsHTMLEditUtils::IsImage(nearNode))) @@ -7574,7 +7574,7 @@ nsHTMLEditRules::FindNearSelectableNode(nsIDOMNode *aSelNode, if (nearNode) { - // dont cross any table elements + // don't cross any table elements PRBool bInDifTblElems; res = InDifferentTableElements(nearNode, aSelNode, &bInDifTblElems); if (NS_FAILED(res)) return res; @@ -7905,7 +7905,7 @@ nsHTMLEditRules::PopListItem(nsIDOMNode *aListItem, PRBool *aOutOfList) if (!nsHTMLEditUtils::IsListItem(curNode)) return NS_ERROR_FAILURE; - // if it's first or last list item, dont need to split the list + // if it's first or last list item, don't need to split the list // otherwise we do. nsCOMPtr curParPar; PRInt32 parOffset; @@ -8774,7 +8774,7 @@ nsHTMLEditRules::WillAbsolutePosition(nsISelection *aSelection, PRBool *aCancel, else // not a list item, use blockquote? { - // if we are inside a list item, we dont want to blockquote, we want + // if we are inside a list item, we don't want to blockquote, we want // to sublist the list item. We may have several nodes listed in the // array of nodes to act on, that are in the same list item. Since // we only want to indent that li once, we must keep track of the most diff --git a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp index 2ebf3cfb740..317862f6d8d 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp @@ -1611,7 +1611,7 @@ nsHTMLEditor::CollapseSelectionToDeepestNonTableFirstChild(nsISelection *aSelect NS_IMETHODIMP nsHTMLEditor::ReplaceHeadContentsWithHTML(const nsAString& aSourceToInsert) { - nsAutoRules beginRulesSniffing(this, kOpIgnore, nsIEditor::eNone); // dont do any post processing, rules get confused + nsAutoRules beginRulesSniffing(this, kOpIgnore, nsIEditor::eNone); // don't do any post processing, rules get confused nsCOMPtr selection; nsresult res = GetSelection(getter_AddRefs(selection)); if (NS_FAILED(res)) return res; @@ -5295,8 +5295,8 @@ nsHTMLEditor::IsEmptyNodeImpl( nsIDOMNode *aNode, } // if it's not a text node (handled above) and it's not a container, - // then we dont call it empty (it's an
, or
, etc). - // Also, if it's an anchor then dont treat it as empty - even though + // then we don't call it empty (it's an
, or
, etc). + // Also, if it's an anchor then don't treat it as empty - even though // anchors are containers, named anchors are "empty" but we don't // want to treat them as such. Also, don't call ListItems or table // cells empty if caller desires. Form Widgets not empty. diff --git a/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp b/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp index ebc3beb09b1..548c5c898e8 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp @@ -188,11 +188,11 @@ nsHTMLEditorMouseListener::MouseDown(nsIDOMEvent* aMouseEvent) res = selection->GetRangeAt(i, getter_AddRefs(range)); if (NS_FAILED(res) || !range) - continue;//dont bail yet, iterate through them all + continue;//don't bail yet, iterate through them all nsCOMPtr nsrange(do_QueryInterface(range)); if (NS_FAILED(res) || !nsrange) - continue;//dont bail yet, iterate through them all + continue;//don't bail yet, iterate through them all res = nsrange->IsPointInRange(parent, offset, &nodeIsInSelection); diff --git a/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp b/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp index 1476dbd3fa2..9dbba722b7e 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp @@ -451,7 +451,7 @@ nsHTMLEditor::SetInlinePropertyOnNode( nsIDOMNode *aNode, } } - // dont need to do anything if property already set on node + // don't need to do anything if property already set on node PRBool bHasProp; nsCOMPtr styleNode; IsTextPropertySetByContent(aNode, aProperty, aAttribute, aValue, bHasProp, getter_AddRefs(styleNode)); @@ -1635,7 +1635,7 @@ nsHTMLEditor::RelativeFontChangeOnTextNode( PRInt32 aSizeChange, return NS_ERROR_ILLEGAL_VALUE; if (!aTextNode) return NS_ERROR_NULL_POINTER; - // dont need to do anything if no characters actually selected + // don't need to do anything if no characters actually selected if (aStartOffset == aEndOffset) return NS_OK; nsresult res = NS_OK; diff --git a/mozilla/editor/libeditor/html/nsWSRunObject.cpp b/mozilla/editor/libeditor/html/nsWSRunObject.cpp index 5dd5da35c5b..797da4c9e6a 100644 --- a/mozilla/editor/libeditor/html/nsWSRunObject.cpp +++ b/mozilla/editor/libeditor/html/nsWSRunObject.cpp @@ -207,11 +207,11 @@ nsWSRunObject::InsertBreak(nsCOMPtr *aInOutParent, // handle any changes needed to ws run after inserted br if (!afterRun) { - // dont need to do anything. just insert break. ws wont change. + // don't need to do anything. just insert break. ws won't change. } else if (afterRun->mType & eTrailingWS) { - // dont need to do anything. just insert break. ws wont change. + // don't need to do anything. just insert break. ws won't change. } else if (afterRun->mType & eLeadingWS) { @@ -244,11 +244,11 @@ nsWSRunObject::InsertBreak(nsCOMPtr *aInOutParent, // handle any changes needed to ws run before inserted br if (!beforeRun) { - // dont need to do anything. just insert break. ws wont change. + // don't need to do anything. just insert break. ws won't change. } else if (beforeRun->mType & eLeadingWS) { - // dont need to do anything. just insert break. ws wont change. + // don't need to do anything. just insert break. ws won't change. } else if (beforeRun->mType & eTrailingWS) { @@ -304,11 +304,11 @@ nsWSRunObject::InsertText(const nsAString& aStringToInsert, // handle any changes needed to ws run after inserted text if (!afterRun) { - // dont need to do anything. just insert text. ws wont change. + // don't need to do anything. just insert text. ws won't change. } else if (afterRun->mType & eTrailingWS) { - // dont need to do anything. just insert text. ws wont change. + // don't need to do anything. just insert text. ws won't change. } else if (afterRun->mType & eLeadingWS) { @@ -328,11 +328,11 @@ nsWSRunObject::InsertText(const nsAString& aStringToInsert, // handle any changes needed to ws run before inserted text if (!beforeRun) { - // dont need to do anything. just insert text. ws wont change. + // don't need to do anything. just insert text. ws won't change. } else if (beforeRun->mType & eLeadingWS) { - // dont need to do anything. just insert text. ws wont change. + // don't need to do anything. just insert text. ws won't change. } else if (beforeRun->mType & eTrailingWS) { @@ -426,7 +426,7 @@ nsWSRunObject::InsertText(const nsAString& aStringToInsert, { if (prevWS) { - theString.SetCharAt(nbsp, j-1); // j-1 cant be negative because prevWS starts out false + theString.SetCharAt(nbsp, j-1); // j-1 can't be negative because prevWS starts out false } else { @@ -838,7 +838,7 @@ nsWSRunObject::GetWSNodes() // then look ahead to find following ws nodes if (mHTMLEditor->IsTextNode(mNode)) { - // dont need to put it on list. it already is from code above + // don't need to put it on list. it already is from code above nsCOMPtr textNode(do_QueryInterface(mNode)); const nsTextFragment *textFrag = textNode->Text(); diff --git a/mozilla/editor/libeditor/text/nsTextEditRules.cpp b/mozilla/editor/libeditor/text/nsTextEditRules.cpp index 0c91a63bd8f..6a52b03b652 100644 --- a/mozilla/editor/libeditor/text/nsTextEditRules.cpp +++ b/mozilla/editor/libeditor/text/nsTextEditRules.cpp @@ -452,7 +452,7 @@ nsTextEditRules::DidInsertBreak(nsISelection *aSelection, nsresult aResult) res = mEditor->GetStartNodeAndOffset(aSelection, address_of(selNode), &selOffset); if (NS_FAILED(res)) return res; // confirm we are at end of document - if (selOffset == 0) return NS_OK; // cant be after a br if we are at offset 0 + if (selOffset == 0) return NS_OK; // can't be after a br if we are at offset 0 nsIDOMElement *rootElem = mEditor->GetRoot(); nsCOMPtr root = do_QueryInterface(rootElem); @@ -1146,7 +1146,7 @@ nsTextEditRules::ReplaceNewlines(nsIDOMRange *aRange) if (!aRange) return NS_ERROR_NULL_POINTER; // convert any newlines in editable, preformatted text nodes - // into normal breaks. this is because layout wont give us a place + // into normal breaks. this is because layout won't give us a place // to put the cursor on empty lines otherwise. nsresult res; diff --git a/mozilla/editor/ui/composer/content/editorOverlay.xul b/mozilla/editor/ui/composer/content/editorOverlay.xul index e9c1e5bc0bf..8aca5dac003 100644 --- a/mozilla/editor/ui/composer/content/editorOverlay.xul +++ b/mozilla/editor/ui/composer/content/editorOverlay.xul @@ -614,7 +614,7 @@ - + SetPosition(rcMarker); @@ -364,7 +364,7 @@ HRESULT CBrowseDlg::CreateWebBrowser() } else { - OutputString(_T("Sucessfully subscribed to events")); + OutputString(_T("Successfully subscribed to events")); } CComPtr spUnkBrowser; diff --git a/mozilla/embedding/qa/jstests/accessibility/html/htmlanchortext.html b/mozilla/embedding/qa/jstests/accessibility/html/htmlanchortext.html index c66b5dfe2be..9ff905ae4cc 100644 --- a/mozilla/embedding/qa/jstests/accessibility/html/htmlanchortext.html +++ b/mozilla/embedding/qa/jstests/accessibility/html/htmlanchortext.html @@ -78,7 +78,7 @@ function executeTestCase() // Even though you tell it to focus the textnode, the focus doesnot happen to the // text node, the focus happens to the link node. textnodes cannot get focus - // by design. Thats the reason i attached focus listener to the anchor node above. + // by design. That's the reason I attached focus listener to the anchor node above. accNode.accTakeFocus(); accNode = getAccessibleNode(domNode); setTimeout("constructResults();", 2000); diff --git a/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbar.xul b/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbar.xul index de79ac74ddd..37ae453cacb 100644 --- a/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbar.xul +++ b/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbar.xul @@ -125,10 +125,10 @@ diff --git a/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbox.xul b/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbox.xul index e153d8df46e..995c86c2ef4 100644 --- a/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbox.xul +++ b/mozilla/embedding/qa/jstests/accessibility/xul/xultoolbox.xul @@ -125,10 +125,10 @@ diff --git a/mozilla/extensions/content-packs/resources/content/pref-contentpacks.xul b/mozilla/extensions/content-packs/resources/content/pref-contentpacks.xul index 02278e1ec79..6e6439e1ec9 100644 --- a/mozilla/extensions/content-packs/resources/content/pref-contentpacks.xul +++ b/mozilla/extensions/content-packs/resources/content/pref-contentpacks.xul @@ -140,7 +140,7 @@ var uninstallButton = document.getElementById(button); var packID = selectedItem.getAttribute("value"); - //current chrome providers cannot be unistalled + //current chrome providers cannot be uninstalled uninstallButton.disabled = (packID == parent.hPrefWindow.getPref("localizedstring", list.getAttribute("prefstring"))); //out-of-date packs cannot become chrome providers diff --git a/mozilla/extensions/cview/resources/content/tree-utils.js b/mozilla/extensions/cview/resources/content/tree-utils.js index 2b07665f7a8..6bac7ab2058 100644 --- a/mozilla/extensions/cview/resources/content/tree-utils.js +++ b/mozilla/extensions/cview/resources/content/tree-utils.js @@ -596,7 +596,7 @@ function tovr_appchild (children, skipResort) } /* - * remove a child from this record. updates the tree too. DONT call this with + * remove a child from this record. updates the tree too. DON'T call this with * an index not actually contained by this record. */ TreeOViewRecord.prototype.removeChildAtIndex = @@ -648,7 +648,7 @@ function tovr_uhide () } /* - * open this record, exposing it's children. DONT call this method if the record + * open this record, exposing it's children. DON'T call this method if the record * has no children. */ TreeOViewRecord.prototype.open = @@ -676,7 +676,7 @@ function tovr_open () } /* - * close this record, hiding it's children. DONT call this method if the record + * close this record, hiding it's children. DON'T call this method if the record * has no children, or if it is already closed. */ TreeOViewRecord.prototype.close = diff --git a/mozilla/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp b/mozilla/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp index ae4d802e4da..7707785b7ad 100644 --- a/mozilla/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp +++ b/mozilla/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp @@ -207,7 +207,7 @@ ProxiedAuthCallback(gconstpointer in, return; // Construct the single signon key. Altering the value of this key will - // cause peoples remembered passwords to be forgotten. Think carefully + // cause people's remembered passwords to be forgotten. Think carefully // before changing the way this key is constructed. nsAutoString key, dispHost, realm; AppendUTF8toUTF16(scheme + NS_LITERAL_CSTRING("://") + hostPort, dispHost); diff --git a/mozilla/extensions/help/resources/locale/en-US/mail_sec_help.xhtml b/mozilla/extensions/help/resources/locale/en-US/mail_sec_help.xhtml index 3e5c5c4a675..12c96fab5a5 100644 --- a/mozilla/extensions/help/resources/locale/en-US/mail_sec_help.xhtml +++ b/mozilla/extensions/help/resources/locale/en-US/mail_sec_help.xhtml @@ -30,7 +30,7 @@ Encrypted Messages
  • Message Security - Compose Window
  • -
  • Message Security - +
  • Message Security - Received Message
  • @@ -327,7 +327,7 @@

    To see more detailed information about the message's security, click the key or lock icon, or follow the instructions in - Message Security - Received + Message Security - Received Message.

    [Return to beginning of @@ -396,7 +396,7 @@

    [Return to beginning of section]

    -

    Message Security - Received +

    Message Security - Received Message

    This section describes the Message Security window that you can open for any diff --git a/mozilla/extensions/irc/js/tests/DP.js b/mozilla/extensions/irc/js/tests/DP.js index 60ae96ae0fd..bfe5843fbba 100644 --- a/mozilla/extensions/irc/js/tests/DP.js +++ b/mozilla/extensions/irc/js/tests/DP.js @@ -170,7 +170,7 @@ function DPM_getPhraseDirected(seedWord, dir) else word= this.wordPivots[word].previousList.getRandomLink().link; - if (word != "") // if it isnt blank + if (word != "") // if it isn't blank { dpprint ("DPM_getPhraseDirected: got word '" + word + "'"); diff --git a/mozilla/extensions/irc/js/tests/mingus.js b/mozilla/extensions/irc/js/tests/mingus.js index a4b9402549d..6929bc21afd 100644 --- a/mozilla/extensions/irc/js/tests/mingus.js +++ b/mozilla/extensions/irc/js/tests/mingus.js @@ -144,7 +144,7 @@ function initMingus () bot.personality.dp.getPhraseContaining (escape(subject.toLowerCase())); if (!answer) - answer = "I dont know anything about " + e.matchresult[1]; + answer = "I don't know anything about " + e.matchresult[1]; if (answer.charCodeAt (0) != 1) e.replyTo.say (e.user.properNick + ", " + answer); diff --git a/mozilla/extensions/irc/js/tests/test_matchobject.js b/mozilla/extensions/irc/js/tests/test_matchobject.js index 93b1a956b0a..c44380a3669 100644 --- a/mozilla/extensions/irc/js/tests/test_matchobject.js +++ b/mozilla/extensions/irc/js/tests/test_matchobject.js @@ -16,9 +16,9 @@ function test_matchObject() /* false, single pattern matches, negated */ f &= !matchObject (obj1, p1, true); - /* false, single pattern doesnt match*/ + /* false, single pattern doesn't match */ f &= !matchObject (obj1, p3); - /* true, single pattern doesnt match, negated */ + /* true, single pattern doesn't match, negated */ f &= matchObject (obj1, p3, true); /* true, p1 matches */ diff --git a/mozilla/extensions/python/xpcom/file.py b/mozilla/extensions/python/xpcom/file.py index d128e56a21d..06aee843640 100644 --- a/mozilla/extensions/python/xpcom/file.py +++ b/mozilla/extensions/python/xpcom/file.py @@ -54,7 +54,7 @@ Known Limitations: setup a message queue. Known Bugs: - * Only read ("r") mode is supported. Although write ("w") mode doesnt make + * Only read ("r") mode is supported. Although write ("w") mode doesn't make sense for HTTP type URLs, it potentially does for file:// etc type ones. * No concept of text mode vs binary mode. It appears Mozilla takes care of this internally (ie, all "text/???" mime types are text, rest are binary) diff --git a/mozilla/extensions/python/xpcom/server/policy.py b/mozilla/extensions/python/xpcom/server/policy.py index 90bc4e0346c..98b2c38b597 100644 --- a/mozilla/extensions/python/xpcom/server/policy.py +++ b/mozilla/extensions/python/xpcom/server/policy.py @@ -159,7 +159,7 @@ class DefaultPolicy: if iid in self._nominated_interfaces_: # We return the underlying object re-wrapped # in a new gateway - which is desirable, as one gateway should only support - # one interface (this wont affect the users of this policy - we can have as many + # one interface (this won't affect the users of this policy - we can have as many # gateways as we like pointing to the same Python objects - the users never # see what object the call came in from. # NOTE: We could have simply returned the instance and let the framework @@ -172,12 +172,12 @@ class DefaultPolicy: return GetClassInfoForObject(self._obj_) # See if the instance has a QI - # use lower-case "_query_interface_" as win32com does, and it doesnt really matter. + # use lower-case "_query_interface_" as win32com does, and it doesn't really matter. delegate = getattr(self._obj_, "_query_interface_", None) if delegate is not None: - # The COM object itself doesnt get passed to the child + # The COM object itself doesn't get passed to the child # (again, as win32com doesnt). It is rarely needed - # (in win32com, we dont even pass it to the policy, although we have identified + # (in win32com, we don't even pass it to the policy, although we have identified # one place where we should - for marshalling - so I figured I may as well pass it # to the policy layer here, but no all the way down to the object. return delegate(iid) @@ -191,7 +191,7 @@ class DefaultPolicy: if attr is not None and hasattr(self._obj_, attr): return xpcom.server.WrapObject(SupportsPrimitive(iid, self._obj_, attr, cvt), iid, bWrapClient = 0) # Out of clever things to try! - return None # We dont support this IID. + return None # We don't support this IID. def _MakeInterfaceParam_(self, interface, iid, method_index, mi, param_index): # Wrap a "raw" interface object in a nice object. The result of this diff --git a/mozilla/extensions/python/xpcom/src/PyGBase.cpp b/mozilla/extensions/python/xpcom/src/PyGBase.cpp index c645d1b82b0..6f3b0d5c544 100644 --- a/mozilla/extensions/python/xpcom/src/PyGBase.cpp +++ b/mozilla/extensions/python/xpcom/src/PyGBase.cpp @@ -144,7 +144,7 @@ PyG_Base::PyG_Base(PyObject *instance, const nsIID &iid) Py_XDECREF(real_repr); } #endif // DEBUG_LIFETIMES - Py_XINCREF(instance); // instance should never be NULL - but whats an X between friends! + Py_XINCREF(instance); // instance should never be NULL - but what's an X between friends! PyXPCOM_DLLAddRef(); @@ -166,7 +166,7 @@ PyG_Base::~PyG_Base() if (m_pBaseObject) m_pBaseObject->Release(); if (m_pWeakRef) { - // Need to ensure some other thread isnt doing a QueryReferent on + // Need to ensure some other thread isn't doing a QueryReferent on // our weak reference at the same time CEnterLeaveXPCOMFramework _celf; PyXPCOM_GatewayWeakReference *p = (PyXPCOM_GatewayWeakReference *)(nsISupports *)m_pWeakRef; @@ -246,7 +246,7 @@ done: // object in one of the xpcom.client.Interface objects, allowing // natural usage of the interface from Python clients. // Note that piid will usually be NULL - this is because the runtime -// reflection interfaces dont provide this information to me. +// reflection interfaces don't provide this information to me. // In this case, the Python code may choose to lookup the complete // interface info to obtain the IID. // It is expected (but should not be assumed) that the method info @@ -310,7 +310,7 @@ done: // return our obISupports. If NULL, we are really hosed and nothing we can do. return obISupports; } - // Dont need to return this - we have a better result. + // Don't need to return this - we have a better result. Py_XDECREF(obISupports); return result; } @@ -570,7 +570,7 @@ nsresult PyG_Base::InvokeNativeViaPolicyInternal( ppResult = &temp; nsresult nr = do_dispatch(m_pPyObject, ppResult, szMethodName, szFormat, va); - // If temp is NULL, they provided a buffer, and we dont touch it. + // If temp is NULL, they provided a buffer, and we don't touch it. // If not NULL, *ppResult = temp, and _we_ do own it. Py_XDECREF(temp); return nr; diff --git a/mozilla/extensions/python/xpcom/src/PyGStub.cpp b/mozilla/extensions/python/xpcom/src/PyGStub.cpp index ae36b1aa597..0cfda731f51 100644 --- a/mozilla/extensions/python/xpcom/src/PyGStub.cpp +++ b/mozilla/extensions/python/xpcom/src/PyGStub.cpp @@ -67,8 +67,8 @@ PyXPCOM_XPTStub::GetInterfaceInfo(nsIInterfaceInfo** info) if (info==nsnull) return NS_ERROR_NULL_POINTER; // Simply get the XPCOM runtime to provide this - // (but there must be some reason why they dont get it themselves!? - // Maybe because they dont know the IID? + // (but there must be some reason why they don't get it themselves!?) + // Maybe because they don't know the IID? nsCOMPtr iim = XPTI_GetInterfaceInfoManager(); NS_ABORT_IF_FALSE(iim != nsnull, "Cant get interface from IIM!"); if (iim==nsnull) diff --git a/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp b/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp index 1b36afaf39c..67bdc549807 100644 --- a/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp @@ -122,7 +122,7 @@ static PyObject *DoPyRead_Size(nsIInputStream *pI, PRUint32 n) return NULL; } if (buf_len != nread) { - PyErr_SetString(PyExc_RuntimeError, "New buffer isnt the size we create it!"); + PyErr_SetString(PyExc_RuntimeError, "New buffer isn't the size we created it!"); return NULL; } memcpy(ob_buf, buf, nread); diff --git a/mozilla/extensions/python/xpcom/src/PyISupports.cpp b/mozilla/extensions/python/xpcom/src/PyISupports.cpp index 89dc0dc7d44..0034522fea7 100644 --- a/mozilla/extensions/python/xpcom/src/PyISupports.cpp +++ b/mozilla/extensions/python/xpcom/src/PyISupports.cpp @@ -311,7 +311,7 @@ Py_nsISupports::PyObjectFromInterface(nsISupports *pis, // since that means we have a spare reference PyTypeObject *createType = NULL; - // If the IID is for nsISupports, dont bother with + // If the IID is for nsISupports, don't bother with // a map lookup as we know the type! if (!riid.Equals(NS_GET_IID(nsISupports))) { // Look up the map diff --git a/mozilla/extensions/python/xpcom/src/TypeObject.cpp b/mozilla/extensions/python/xpcom/src/TypeObject.cpp index 9f5b9b4f413..dbfc793592c 100644 --- a/mozilla/extensions/python/xpcom/src/TypeObject.cpp +++ b/mozilla/extensions/python/xpcom/src/TypeObject.cpp @@ -145,7 +145,7 @@ PyXPCOM_TypeObject::Py_repr(PyObject *self) if (iim!=nsnull) iim->GetNameForIID(&pis->m_iid, &iid_repr); if (iid_repr==nsnull) - // no IIM available, or it doesnt know the name. + // no IIM available, or it doesn't know the name. iid_repr = pis->m_iid.ToString(); // XXX - need some sort of buffer overflow. char buf[512]; @@ -212,7 +212,7 @@ PyXPCOM_TypeObject::PyXPCOM_TypeObject( const char *name, PyXPCOM_TypeObject *pB baseType = pBase; ctor = thector; - // cast away const, as Python doesnt use it. + // cast away const, as Python doesn't use it. tp_name = (char *)name; tp_basicsize = typeSize; } diff --git a/mozilla/extensions/python/xpcom/src/VariantUtils.cpp b/mozilla/extensions/python/xpcom/src/VariantUtils.cpp index 8fb6d62517e..2032a85b65f 100644 --- a/mozilla/extensions/python/xpcom/src/VariantUtils.cpp +++ b/mozilla/extensions/python/xpcom/src/VariantUtils.cpp @@ -1348,7 +1348,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::FillInVariant(const PythonTypeDescriptor case nsXPTType::T_INTERFACE_IS: { nsIID iid; nsXPTCVariant &ns_viid = m_var_array[td.argnum]; - NS_WARN_IF_FALSE(XPT_TDP_TAG(ns_viid.type)==nsXPTType::T_IID, "The INTERFACE_IS iid describer isnt an IID!"); + NS_WARN_IF_FALSE(XPT_TDP_TAG(ns_viid.type)==nsXPTType::T_IID, "The INTERFACE_IS iid describer isn't an IID!"); // This is a pretty serious problem, but not Python's fault! // Just return an nsISupports and hope the caller does whatever // QI they need before using it. @@ -1515,7 +1515,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::PrepareOutVariant(const PythonTypeDescrip // we allocate a buffer for the value, but this is NOT cleaned up // via normal VARIANT cleanup rules - hence we clean it up ourselves. // If the param is IN/OUT, then the buffer falls under the normal variant - // rules (ie, is flagged as VAL_IS_ALLOCD), so we dont clean it as a temporary. + // rules (ie, is flagged as VAL_IS_ALLOCD), so we don't clean it as a temporary. // (it may have been changed under us - we free the _new_ value. // Even if ns_val.p already setup as part of "in" processing, // we need to ensure setup for out. @@ -1526,7 +1526,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::PrepareOutVariant(const PythonTypeDescrip break; case nsXPTType::T_DOMSTRING: case nsXPTType::T_ASTRING: { - NS_ABORT_IF_FALSE(ns_v.val.p==nsnull, "T_DOMTSTRINGS cant be out and have a value (ie, no in/outs are allowed!"); + NS_ABORT_IF_FALSE(ns_v.val.p==nsnull, "T_DOMTSTRINGS can't be out and have a value (ie, no in/outs are allowed!"); NS_ABORT_IF_FALSE(XPT_PD_IS_DIPPER(td.param_flags) && XPT_PD_IS_IN(td.param_flags), "out DOMStrings must really be in dippers!"); ns_v.flags |= nsXPTCVariant::VAL_IS_DOMSTR; // Dippers are really treated like "in" params. @@ -1540,7 +1540,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::PrepareOutVariant(const PythonTypeDescrip } case nsXPTType::T_CSTRING: case nsXPTType::T_UTF8STRING: { - NS_ABORT_IF_FALSE(ns_v.val.p==nsnull, "T_DOMTSTRINGS cant be out and have a value (ie, no in/outs are allowed!"); + NS_ABORT_IF_FALSE(ns_v.val.p==nsnull, "T_DOMTSTRINGS can't be out and have a value (ie, no in/outs are allowed!"); NS_ABORT_IF_FALSE(XPT_PD_IS_DIPPER(td.param_flags) && XPT_PD_IS_IN(td.param_flags), "out DOMStrings must really be in dippers!"); ns_v.flags |= ( XPT_TDP_TAG(ns_v.type)==nsXPTType::T_CSTRING ? nsXPTCVariant::VAL_IS_CSTR : nsXPTCVariant::VAL_IS_UTF8STR); ns_v.ptr = new nsCString(); @@ -1666,7 +1666,7 @@ PyObject *PyXPCOM_InterfaceVariantHelper::MakeSinglePythonResult(int index) case nsXPTType::T_INTERFACE_IS: { nsIID iid; nsXPTCVariant &ns_viid = m_var_array[td.argnum]; - NS_WARN_IF_FALSE(XPT_TDP_TAG(ns_viid.type)==nsXPTType::T_IID, "The INTERFACE_IS iid describer isnt an IID!"); + NS_WARN_IF_FALSE(XPT_TDP_TAG(ns_viid.type)==nsXPTType::T_IID, "The INTERFACE_IS iid describer isn't an IID!"); if (XPT_TDP_TAG(ns_viid.type)==nsXPTType::T_IID) { nsIID *piid = (nsIID *)ns_viid.val.p; if (piid==NULL) @@ -1903,7 +1903,7 @@ PRUint32 PyXPCOM_GatewayVariantHelper::GetSizeIs( int var_index, PRBool is_arg1) m_python_type_desc_array[var_index].argnum2; NS_ABORT_IF_FALSE(argnum < m_num_type_descs, "size_is param is invalid"); if (argnum >= m_num_type_descs) { - PyErr_SetString(PyExc_ValueError, "dont have a valid size_is indicator for this param"); + PyErr_SetString(PyExc_ValueError, "don't have a valid size_is indicator for this param"); return PR_FALSE; } PRBool is_out = XPT_PD_IS_OUT(m_python_type_desc_array[argnum].param_flags); @@ -2019,7 +2019,7 @@ PyObject *PyXPCOM_GatewayVariantHelper::MakeSingleParam(int index, PythonTypeDes nsISupports *iret = DEREF_IN_OR_OUT(ns_v.val.p, nsISupports *); nsXPTParamInfo *pi = (nsXPTParamInfo *)m_info->params+index; nsXPTCMiniVariant &ns_viid = m_params[td.argnum]; - NS_ABORT_IF_FALSE((m_python_type_desc_array[td.argnum].type_flags & XPT_TDP_TAGMASK) == nsXPTType::T_IID, "The INTERFACE_IS iid describer isnt an IID!"); + NS_ABORT_IF_FALSE((m_python_type_desc_array[td.argnum].type_flags & XPT_TDP_TAGMASK) == nsXPTType::T_IID, "The INTERFACE_IS iid describer isn't an IID!"); const nsIID * iid = NULL; if (XPT_PD_IS_IN(m_python_type_desc_array[td.argnum].param_flags)) // may still be inout! @@ -2107,7 +2107,7 @@ PRBool PyXPCOM_GatewayVariantHelper::GetIIDForINTERFACE_ID(int index, const nsII // in or out, so we will allow it. nsXPTParamInfo *pi = (nsXPTParamInfo *)m_info->params+index; nsXPTType typ = pi->GetType(); - NS_WARN_IF_FALSE(XPT_TDP_TAG(typ) == nsXPTType::T_IID, "INTERFACE_IS IID param isnt an IID!"); + NS_WARN_IF_FALSE(XPT_TDP_TAG(typ) == nsXPTType::T_IID, "INTERFACE_IS IID param isn't an IID!"); NS_ABORT_IF_FALSE(typ.IsPointer(), "Expecting to re-fill a pointer value."); if (XPT_TDP_TAG(typ) != nsXPTType::T_IID) *ppret = &NS_GET_IID(nsISupports); @@ -2151,7 +2151,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index { nsXPTParamInfo *pi = (nsXPTParamInfo *)m_info->params+index; NS_ABORT_IF_FALSE(pi->IsOut() || pi->IsDipper(), "The value must be marked as [out] (or a dipper) to be back-filled!"); - NS_ABORT_IF_FALSE(!pi->IsShared(), "Dont know how to back-fill a shared out param"); + NS_ABORT_IF_FALSE(!pi->IsShared(), "Don't know how to back-fill a shared out param"); nsXPTCMiniVariant &ns_v = m_params[index]; nsXPTType typ = pi->GetType(); @@ -2281,7 +2281,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index nsCString *ws = (nsCString *)ns_v.val.p; NS_ABORT_IF_FALSE(ws->Length() == 0, "Why does this writable string already have chars??"); if (val == Py_None) { - NS_ABORT_IF_FALSE(0, "dont handle None here yet"); + NS_ABORT_IF_FALSE(0, "don't handle None here yet"); } else { if (!PyString_Check(val) && !PyUnicode_Check(val)) { PyErr_SetString(PyExc_TypeError, "This parameter must be a string or Unicode object"); @@ -2298,7 +2298,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index nsCString *ws = (nsCString *)ns_v.val.p; NS_ABORT_IF_FALSE(ws->Length() == 0, "Why does this writable string already have chars??"); if (val == Py_None) { - NS_ABORT_IF_FALSE(0, "dont handle None here yet"); + NS_ABORT_IF_FALSE(0, "don't handle None here yet"); } else { if (PyString_Check(val)) { val_use = val; @@ -2460,7 +2460,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index if (bCanSetSizeIs) rc = SetSizeIs(index, PR_TRUE, nch); else { - NS_ABORT_IF_FALSE(GetSizeIs(index, PR_TRUE) == nch, "Can't set sizeis, but string isnt correct size"); + NS_ABORT_IF_FALSE(GetSizeIs(index, PR_TRUE) == nch, "Can't set sizeis, but string isn't correct size"); } } break; @@ -2509,7 +2509,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index if (bCanSetSizeIs) rc = SetSizeIs(index, PR_TRUE, nch); else { - NS_ABORT_IF_FALSE(GetSizeIs(index, PR_TRUE) == nch, "Can't set sizeis, but string isnt correct size"); + NS_ABORT_IF_FALSE(GetSizeIs(index, PR_TRUE) == nch, "Can't set sizeis, but string isn't correct size"); } } if (sz) @@ -2567,7 +2567,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index if (bCanSetSizeIs) rc = SetSizeIs(index, PR_FALSE, sequence_size); else { - NS_ABORT_IF_FALSE(GetSizeIs(index, PR_FALSE) == sequence_size, "Can't set sizeis, but string isnt correct size"); + NS_ABORT_IF_FALSE(GetSizeIs(index, PR_FALSE) == sequence_size, "Can't set sizeis, but string isn't correct size"); } } break; @@ -2593,7 +2593,7 @@ nsresult PyXPCOM_GatewayVariantHelper::ProcessPythonResult(PyObject *ret_ob) NS_PRECONDITION(!PyErr_Occurred(), "Expecting no Python exception to be pending when processing the return result"); nsresult rc = NS_OK; - // If we dont get a tuple back, then the result is only + // If we don't get a tuple back, then the result is only // an int nresult for the underlying function. // (ie, the policy is expected to return (NS_OK, user_retval), // but can also return (say), NS_ERROR_FAILURE @@ -2628,7 +2628,7 @@ nsresult PyXPCOM_GatewayVariantHelper::ProcessPythonResult(PyObject *ret_ob) ; // do nothing } else if (num_results==1) { // May or may not be the nominated retval - who cares! - NS_ABORT_IF_FALSE(last_result >=0 && last_result < m_num_type_descs, "Have one result, but dont know its index!"); + NS_ABORT_IF_FALSE(last_result >=0 && last_result < m_num_type_descs, "Have one result, but don't know its index!"); rc = BackFillVariant( user_result, last_result ); } else { // Loop over each one, filling as we go. @@ -2645,7 +2645,7 @@ nsresult PyXPCOM_GatewayVariantHelper::ProcessPythonResult(PyObject *ret_ob) return NS_ERROR_FAILURE; } int num_user_results = PySequence_Length(user_result); - // If they havent given enough, we dont really care. + // If they havent given enough, we don't really care. // although a warning is probably appropriate. if (num_user_results != num_results) { const char *method_name = m_info->GetName(); @@ -2665,7 +2665,7 @@ nsresult PyXPCOM_GatewayVariantHelper::ProcessPythonResult(PyObject *ret_ob) this_py_index = 1; } for (i=0;NS_SUCCEEDED(rc) && iGetParamCount();i++) { - // If weve already done it, or dont need to do it! + // If we've already done it, or don't need to do it! if (i==index_retval || m_python_type_desc_array[i].is_auto_out) continue; nsXPTParamInfo *pi = (nsXPTParamInfo *)m_info->params+i; diff --git a/mozilla/extensions/python/xpcom/src/xpcom.cpp b/mozilla/extensions/python/xpcom/src/xpcom.cpp index 1448691486f..a78637e2646 100644 --- a/mozilla/extensions/python/xpcom/src/xpcom.cpp +++ b/mozilla/extensions/python/xpcom/src/xpcom.cpp @@ -365,8 +365,8 @@ PyXPCOMMethod_NS_ShutdownXPCOM(PyObject *self, PyObject *args) nr = NS_ShutdownXPCOM(nsnull); Py_END_ALLOW_THREADS; - // Dont raise an exception - as we are probably shutting down - // and dont really case - just return the status + // Don't raise an exception - as we are probably shutting down + // and don't really care - just return the status return PyInt_FromLong(nr); } diff --git a/mozilla/extensions/python/xpcom/test/test_component/py_test_component.html b/mozilla/extensions/python/xpcom/test/test_component/py_test_component.html index 1e17d24cb1f..2a65caf1ba4 100644 --- a/mozilla/extensions/python/xpcom/test/test_component/py_test_component.html +++ b/mozilla/extensions/python/xpcom/test/test_component/py_test_component.html @@ -90,7 +90,7 @@ For more information on compilation see the 1: num_iters = int(sys.argv[1]) diff --git a/mozilla/extensions/python/xpcom/xpt.py b/mozilla/extensions/python/xpcom/xpt.py index fdbfdb9a507..1ffbd18771b 100644 --- a/mozilla/extensions/python/xpcom/xpt.py +++ b/mozilla/extensions/python/xpcom/xpt.py @@ -402,7 +402,7 @@ class TypeDescriber: if self.tag == T_ARRAY: # NOTE - Adding a type specifier to the array is different from xpt_dump.exe if self.param is None or self.param.interface_info is None: - type_desc = "" # Dont have explicit info about the array type :-( + type_desc = "" # Don't have explicit info about the array type :-( else: i_info = self.param.interface_info type_code = i_info.GetTypeForParam(self.param.method_index, self.param.param_index, 1) @@ -410,7 +410,7 @@ class TypeDescriber: return self.GetName() + "[" + type_desc + "]" elif self.tag == T_INTERFACE: if self.param is None or self.param.interface_info is None: - return "nsISomething" # Dont have explicit info about the IID :-( + return "nsISomething" # Don't have explicit info about the IID :-( i_info = self.param.interface_info m_index = self.param.method_index p_index = self.param.param_index diff --git a/mozilla/extensions/sroaming/resources/content/prefs/top.js b/mozilla/extensions/sroaming/resources/content/prefs/top.js index 54d3d5787db..a0a2cf38543 100644 --- a/mozilla/extensions/sroaming/resources/content/prefs/top.js +++ b/mozilla/extensions/sroaming/resources/content/prefs/top.js @@ -128,7 +128,7 @@ function ActivationWarning() /* The pref here is intended not to exist (code logic falling back to false) when the user first activates roaming, then to be set, so that the user doesn't see the dialog twice. - It being a pref also leaves admins the choice of supressing it, + It being a pref also leaves admins the choice of suppressing it, e.g. when they set up appropriate backups on behalf of the user on the server or client in a large installation. */ var prefBranch = Components.classes["@mozilla.org/preferences;1"] diff --git a/mozilla/extensions/venkman/resources/content/tree-utils.js b/mozilla/extensions/venkman/resources/content/tree-utils.js index 88ce2756307..40f55a54432 100644 --- a/mozilla/extensions/venkman/resources/content/tree-utils.js +++ b/mozilla/extensions/venkman/resources/content/tree-utils.js @@ -769,7 +769,7 @@ function xtvr_appchild (children) } /* - * remove a child from this record. updates the tree too. DONT call this with + * remove a child from this record. updates the tree too. DON'T call this with * an index not actually contained by this record. */ XULTreeViewRecord.prototype.removeChildAtIndex = @@ -826,7 +826,7 @@ function xtvr_uhide () } /* - * open this record, exposing it's children. DONT call this method if the + * open this record, exposing it's children. DON'T call this method if the * record has no children. */ XULTreeViewRecord.prototype.open = @@ -859,7 +859,7 @@ function xtvr_open () } /* - * close this record, hiding it's children. DONT call this method if the record + * close this record, hiding it's children. DON'T call this method if the record * has no children, or if it is already closed. */ XULTreeViewRecord.prototype.close = diff --git a/mozilla/extensions/webservices/proxy/src/wspcallcontext.cpp b/mozilla/extensions/webservices/proxy/src/wspcallcontext.cpp index a0ae357e2d3..fc3b8256d2f 100644 --- a/mozilla/extensions/webservices/proxy/src/wspcallcontext.cpp +++ b/mozilla/extensions/webservices/proxy/src/wspcallcontext.cpp @@ -152,7 +152,7 @@ WSPCallContext::HandleResponse(nsISOAPResponse *aResponse, nsISOAPCall *aCall, mStatus = status; *_retval = PR_TRUE; CallCompletionListener(); - // Drop our ref to the completion object now that we dont need it. + // Drop our ref to the completion object now that we don't need it. // This breaks our reference cycle with it and prevents leaks. mCompletion = nsnull; return NS_OK; diff --git a/mozilla/extensions/webservices/public/nsIScriptableInterfaceInfo.idl b/mozilla/extensions/webservices/public/nsIScriptableInterfaceInfo.idl index 412ecfda43e..4fc5769ff00 100644 --- a/mozilla/extensions/webservices/public/nsIScriptableInterfaceInfo.idl +++ b/mozilla/extensions/webservices/public/nsIScriptableInterfaceInfo.idl @@ -113,7 +113,7 @@ interface nsIScriptableInterfaceInfo : nsISupports readonly attribute nsIIDPtr interfaceID; /** - * True if this object has been sucessfully set to wrap an interface info. + * True if this object has been successfully set to wrap an interface info. */ readonly attribute PRBool isValid; diff --git a/mozilla/extensions/webservices/uddi/README.txt b/mozilla/extensions/webservices/uddi/README.txt index 12bc781e2e6..02867ba44d3 100755 --- a/mozilla/extensions/webservices/uddi/README.txt +++ b/mozilla/extensions/webservices/uddi/README.txt @@ -24,7 +24,7 @@ Things left to do: - test the implementation to make sure all the fields in the js objects are actually getting populated as they should. This is mainly focused at the decoding of the objects (which is why we need the first task handled. - - take the js code in the uddi.html file and create a seperate library that + - take the js code in the uddi.html file and create a separate library that includes those methods for testing purposes. - transform the uddi.html file into a full coverage UDDI testing page that will not only allow for the testing of methods, but will populate fields diff --git a/mozilla/gfx/idl/gfxIImageFrame.idl b/mozilla/gfx/idl/gfxIImageFrame.idl index f6ca88a0554..357ffef4c34 100644 --- a/mozilla/gfx/idl/gfxIImageFrame.idl +++ b/mozilla/gfx/idl/gfxIImageFrame.idl @@ -69,7 +69,7 @@ interface gfxIImageFrame : nsISupports * @param aHeight The height of the image to create. * @param aFormat the width of the image to create. * - * @note The data of a new image is unspecified (Whats the word i'm looking for here?). + * @note The data in a new image is uninitialized. */ void init(in PRInt32 aX, in PRInt32 aY, diff --git a/mozilla/gfx/src/freetype/nsFreeType.cpp b/mozilla/gfx/src/freetype/nsFreeType.cpp index af9c3574d47..5cb11642c96 100644 --- a/mozilla/gfx/src/freetype/nsFreeType.cpp +++ b/mozilla/gfx/src/freetype/nsFreeType.cpp @@ -1045,9 +1045,9 @@ nsFreeTypeFaceRequester(FTC_FaceID face_id, FT_Library lib, *aFace = nsnull; fterror = 1; } - // UCS_4 is the most prefered cmap since it supports surrogates + // UCS_4 is the most preferred cmap since it supports surrogates // so stop here to avoid the possibly of getting UNICODE_CS which - // is the 2nd prefered choice. + // is the 2nd preferred choice. break; } else #endif /* defined(TT_MS_ID_UCS_4) */ diff --git a/mozilla/gfx/src/gtk/nsRenderingContextGTK.cpp b/mozilla/gfx/src/gtk/nsRenderingContextGTK.cpp index eef2131fcf6..54f14c8fb04 100644 --- a/mozilla/gfx/src/gtk/nsRenderingContextGTK.cpp +++ b/mozilla/gfx/src/gtk/nsRenderingContextGTK.cpp @@ -217,7 +217,7 @@ NS_IMETHODIMP nsRenderingContextGTK::GetHints(PRUint32& aResult) { PRUint32 result = 0; - // Most X servers implement 8 bit text rendering alot faster than + // Most X servers implement 8 bit text rendering a lot faster than // XChar2b rendering. In addition, we can avoid the PRUnichar to // XChar2b conversion. So we set this bit... result |= NS_RENDERING_HINT_FAST_8BIT_TEXT; diff --git a/mozilla/gfx/src/mac/nsMacUnicodeFontInfo.cpp b/mozilla/gfx/src/mac/nsMacUnicodeFontInfo.cpp index 56532de9ec1..003cb0669e1 100644 --- a/mozilla/gfx/src/mac/nsMacUnicodeFontInfo.cpp +++ b/mozilla/gfx/src/mac/nsMacUnicodeFontInfo.cpp @@ -370,7 +370,7 @@ static PRBool FillFontInfoFromCMAP(FMFont aFont, PRUint32 *aFontInfo, FourCharCo p = buf + offset; PRUint16 format = GET_SHORT(p); - NS_ASSERTION((kSFNTLookupSegmentArray == format), "hit some unknow format"); + NS_ASSERTION((kSFNTLookupSegmentArray == format), "hit some unknown format"); switch(format) { case kSFNTLookupSegmentArray: // format 4 { diff --git a/mozilla/gfx/src/mac/nsUnicodeFontMappingMac.cpp b/mozilla/gfx/src/mac/nsUnicodeFontMappingMac.cpp index aaa8da94b37..0673cfab955 100644 --- a/mozilla/gfx/src/mac/nsUnicodeFontMappingMac.cpp +++ b/mozilla/gfx/src/mac/nsUnicodeFontMappingMac.cpp @@ -212,7 +212,7 @@ PRBool nsUnicodeFontMappingMac::FontEnumCallback(const nsString& aFamily, PRBool return PR_FALSE; nsGenericFontNameType type = info->MapGenericFontNameType(aFamily); - if( type != kUknownGenericFontName) { + if( type != kUnknownGenericFontName) { for(ScriptCode script = 0; script < 32 ; script++) { const nsString* fontName = info->GenericFontNameForScript(script,type); diff --git a/mozilla/gfx/src/mac/nsUnicodeMappingUtil.cpp b/mozilla/gfx/src/mac/nsUnicodeMappingUtil.cpp index 7d996c083dc..9460fda5c45 100644 --- a/mozilla/gfx/src/mac/nsUnicodeMappingUtil.cpp +++ b/mozilla/gfx/src/mac/nsUnicodeMappingUtil.cpp @@ -327,7 +327,7 @@ nsUnicodeMappingUtil::PrefEnumCallback(const char* aName, void* aClosure) nsString genNameString; genNameString.AssignWithConversion(genName); nsGenericFontNameType type = Self->MapGenericFontNameType(genNameString); - if(type >= kUknownGenericFontName) + if(type >= kUnknownGenericFontName) return; char* valueInUTF8 = nsnull; @@ -472,7 +472,7 @@ nsGenericFontNameType nsUnicodeMappingUtil::MapGenericFontNameType(const nsStrin if (aGenericName.LowerCaseEqualsLiteral("fantasy")) return kFantasy; - return kUknownGenericFontName; + return kUnknownGenericFontName; } //-------------------------------------------------------------------------- diff --git a/mozilla/gfx/src/mac/nsUnicodeMappingUtil.h b/mozilla/gfx/src/mac/nsUnicodeMappingUtil.h index e3b796a9e71..5efda666bb8 100644 --- a/mozilla/gfx/src/mac/nsUnicodeMappingUtil.h +++ b/mozilla/gfx/src/mac/nsUnicodeMappingUtil.h @@ -52,7 +52,7 @@ typedef enum { kMonospace, kCursive, kFantasy, - kUknownGenericFontName + kUnknownGenericFontName } nsGenericFontNameType; //-------------------------------------------------------------------------- @@ -77,8 +77,8 @@ public: inline nsString* GenericFontNameForScript(ScriptCode aScript, nsGenericFontNameType aType) const { NS_PRECONDITION(aScript < smPseudoTotalScripts, "bad script code"); - NS_PRECONDITION(aType <= kUknownGenericFontName, "illegal value"); - if( aType >= kUknownGenericFontName) + NS_PRECONDITION(aType <= kUnknownGenericFontName, "illegal value"); + if( aType >= kUnknownGenericFontName) return nsnull; else return mGenericFontMapping[aScript][aType]; @@ -87,7 +87,7 @@ public: ScriptCode MapLangGroupToScriptCode(const char* aLangGroup); static nsUnicodeMappingUtil* GetSingleton(); static void FreeSingleton(); - nsString *mGenericFontMapping[smPseudoTotalScripts][kUknownGenericFontName]; + nsString *mGenericFontMapping[smPseudoTotalScripts][kUnknownGenericFontName]; protected: void InitGenericFontMapping(); diff --git a/mozilla/gfx/src/nsBlender.h b/mozilla/gfx/src/nsBlender.h index 096c1a6570a..0bd28450982 100644 --- a/mozilla/gfx/src/nsBlender.h +++ b/mozilla/gfx/src/nsBlender.h @@ -103,7 +103,7 @@ protected: * @param aSLSpan number of bytes per line for the source bytes * @param aDLSpan number of bytes per line for the destination bytes * @param aMLSpan number of bytes per line for the Mask bytes - * @param aBlendQuality The quality of this blend, this is for tweening if neccesary + * @param aBlendQuality The quality of this blend, this is for tweening if necessary */ void Do32Blend(float aOpacity, PRInt32 aNumLines, PRInt32 aNumBytes, PRUint8 *aSImage, PRUint8 *aDImage, PRUint8 *aSecondSImage, @@ -119,7 +119,7 @@ protected: * @param aSLSpan number of bytes per line for the source bytes * @param aDLSpan number of bytes per line for the destination bytes * @param aMLSpan number of bytes per line for the Mask bytes - * @param aBlendQuality The quality of this blend, this is for tweening if neccesary + * @param aBlendQuality The quality of this blend, this is for tweening if necessary */ void Do24Blend(float aOpacity, PRInt32 aNumLines, PRInt32 aNumBytes, PRUint8 *aSImage, PRUint8 *aDImage, PRUint8 *aSecondSImage, @@ -135,7 +135,7 @@ protected: * @param aSLSpan number of bytes per line for the source bytes * @param aDLSpan number of bytes per line for the destination bytes * @param aMLSpan number of bytes per line for the Mask bytes - * @param aBlendQuality The quality of this blend, this is for tweening if neccesary + * @param aBlendQuality The quality of this blend, this is for tweening if necessary */ void Do16Blend(float aOpacity, PRInt32 aNumLines, PRInt32 aNumBytes, PRUint8 *aSImage, PRUint8 *aDImage, PRUint8 *aSecondSImage, diff --git a/mozilla/gfx/src/photon/nsDeviceContextPh.cpp b/mozilla/gfx/src/photon/nsDeviceContextPh.cpp index 2e6e59a418c..3ca1bf4334b 100644 --- a/mozilla/gfx/src/photon/nsDeviceContextPh.cpp +++ b/mozilla/gfx/src/photon/nsDeviceContextPh.cpp @@ -441,7 +441,7 @@ printf( "\t\tFound it in cache it exists\n" ); else if( value == 2 ) { /* the font doesn't exist and you already asked this before */ delete [] fontName; #ifdef DEBUG_Adrian -printf( "\t\tFound it in cache it doesnt exist\n" ); +printf( "\t\tFound it in cache it doesn't exist\n" ); #endif return NS_ERROR_FAILURE; } diff --git a/mozilla/gfx/src/ps/nsAFMObject.cpp b/mozilla/gfx/src/ps/nsAFMObject.cpp index fda35c055ac..7fac55d0ce1 100644 --- a/mozilla/gfx/src/ps/nsAFMObject.cpp +++ b/mozilla/gfx/src/ps/nsAFMObject.cpp @@ -446,7 +446,7 @@ char* AFMFileName= ToNewUTF8String(aFontName.name); // file we will open break; case kNotice: mPSFontInfo->mNotice = GetAFMString(); - // we really dont want to keep this around... + // we really don't want to keep this around... delete [] mPSFontInfo->mNotice; mPSFontInfo->mNotice = 0; break; diff --git a/mozilla/gfx/src/ps/nsRenderingContextPS.cpp b/mozilla/gfx/src/ps/nsRenderingContextPS.cpp index cf0f0a37b4f..c1449b79651 100644 --- a/mozilla/gfx/src/ps/nsRenderingContextPS.cpp +++ b/mozilla/gfx/src/ps/nsRenderingContextPS.cpp @@ -648,7 +648,7 @@ nsPoint pp; mPSObj->lineto(pp.x, pp.y); } - // we dont close the path, this will give us a polyline + // we don't close the path, this will give us a polyline mPSObj->stroke(); return NS_OK; diff --git a/mozilla/gfx/src/x11shared/nsXFontAAScaledBitmap.cpp b/mozilla/gfx/src/x11shared/nsXFontAAScaledBitmap.cpp index 929e76edd14..edc8677c2dc 100644 --- a/mozilla/gfx/src/x11shared/nsXFontAAScaledBitmap.cpp +++ b/mozilla/gfx/src/x11shared/nsXFontAAScaledBitmap.cpp @@ -974,7 +974,7 @@ scale_image(nsAntiAliasedGlyph *aSrc, nsAntiAliasedGlyph *aDst) // amount of pixels so the image should retain approximately the // correct visual weight. // -// This helps *alot* with lines at 45 degree angles. +// This helps *a lot* with lines at 45 degree angles. // This helps somewhat with lines at other angles. // // This fills in the corners of lines that cross making the diff --git a/mozilla/gfx/src/xlib/nsRenderingContextXlib.cpp b/mozilla/gfx/src/xlib/nsRenderingContextXlib.cpp index 4efcf05f9f6..9603877bca3 100644 --- a/mozilla/gfx/src/xlib/nsRenderingContextXlib.cpp +++ b/mozilla/gfx/src/xlib/nsRenderingContextXlib.cpp @@ -255,7 +255,7 @@ nsRenderingContextXlib::GetHints(PRUint32& aResult) { PRUint32 result = 0; - // Most X servers implement 8 bit text rendering alot faster than + // Most X servers implement 8 bit text rendering a lot faster than // XChar2b rendering. In addition, we can avoid the PRUnichar to // XChar2b conversion. So we set this bit... result |= NS_RENDERING_HINT_FAST_8BIT_TEXT; @@ -678,7 +678,7 @@ nsRenderingContextXlib::SetLineStyle(nsLineStyle aLineStyle) PR_LOG(RenderingContextXlibLM, PR_LOG_DEBUG, ("nsRenderingContextXlib::SetLineStyle()\n")); if (aLineStyle != mCurrentLineStyle) { - /* XXX this isnt done in gtk, copy from there when ready + /* XXX this isn't done in gtk, copy from there when ready switch(aLineStyle) { case nsLineStyle_kSolid: diff --git a/mozilla/gfx/src/xprint/nsXPrintContext.cpp b/mozilla/gfx/src/xprint/nsXPrintContext.cpp index e25680d06be..2f3bff3f43d 100644 --- a/mozilla/gfx/src/xprint/nsXPrintContext.cpp +++ b/mozilla/gfx/src/xprint/nsXPrintContext.cpp @@ -1014,7 +1014,7 @@ PRUint8 *ComposeAlphaImage( /* unfortunately this code does not work for some strange reason ... */ #ifdef XPRINT_NOT_NOW XGCValues gcv; - memset(&gcv, 0, sizeof(XGCValues)); /* this may be unneccesary */ + memset(&gcv, 0, sizeof(XGCValues)); /* this may be unnecessary */ XGetGCValues(mPDisplay, *xgc, GCForeground, &gcv); /* should be replaced by xxlibrgb_query_color() */ @@ -1125,7 +1125,7 @@ nsXPrintContext::DrawImage(Drawable aDrawable, xGC *xgc, nsIImage *aImage, NS_ASSERTION((aSrcWidth != 0) && (aSrcHeight != 0) && (aSWidth != 0) && (aSHeight != 0) || (aDWidth != 0) && (aDHeight != 0), - "nsXPrintContext::DrawImage(): Image with zero source||dest width||height supressed\n"); + "nsXPrintContext::DrawImage(): Image with zero source||dest width||height suppressed\n"); return NS_OK; } @@ -1229,7 +1229,7 @@ nsXPrintContext::DrawImageBitsScaled(Drawable aDrawable, xGC *xgc, nsIImage *aIm if (aDWidth==0 || aDHeight==0) { NS_ASSERTION((aDWidth==0 || aDHeight==0), - "nsXPrintContext::DrawImageBitsScaled(): Image with zero dest width||height supressed\n"); + "nsXPrintContext::DrawImageBitsScaled(): Image with zero dest width||height suppressed\n"); return NS_OK; } @@ -1386,7 +1386,7 @@ nsXPrintContext::DrawImageBits(Drawable aDrawable, xGC *xgc, if( (aWidth == 0) || (aHeight == 0) ) { - NS_ASSERTION((aWidth != 0) && (aHeight != 0), "Image with zero width||height supressed."); + NS_ASSERTION((aWidth != 0) && (aHeight != 0), "Image with zero width||height suppressed."); return NS_OK; } @@ -1425,9 +1425,9 @@ nsXPrintContext::DrawImageBits(Drawable aDrawable, xGC *xgc, * low to high address in memory. */ x_image->byte_order = MSBFirst; - // Write into the pixemap that is underneath gdk's alpha_pixmap + // Write into the pixmap that is underneath gdk's alpha_pixmap // the image we just created. - memset(&gcv, 0, sizeof(XGCValues)); /* this may be unneccesary */ + memset(&gcv, 0, sizeof(XGCValues)); /* this may be unnecessary */ XGetGCValues(mPDisplay, *xgc, GCForeground|GCBackground, &gcv); gcv.function = GXcopy; gc = XCreateGC(mPDisplay, alpha_pixmap, GCForeground|GCBackground|GCFunction, &gcv); @@ -1446,7 +1446,7 @@ nsXPrintContext::DrawImageBits(Drawable aDrawable, xGC *xgc, { /* create copy of GC before start to playing with it... */ XGCValues gcv; - memset(&gcv, 0, sizeof(XGCValues)); /* this may be unneccesary */ + memset(&gcv, 0, sizeof(XGCValues)); /* this may be unnecessary */ XGetGCValues(mPDisplay, *xgc, GCForeground|GCBackground, &gcv); gcv.function = GXcopy; gcv.clip_mask = alpha_pixmap; diff --git a/mozilla/gfx/src/xprintutil/xprintutil.c b/mozilla/gfx/src/xprintutil/xprintutil.c index 5693493290c..1483707adc7 100644 --- a/mozilla/gfx/src/xprintutil/xprintutil.c +++ b/mozilla/gfx/src/xprintutil/xprintutil.c @@ -164,7 +164,7 @@ Bool XpuXprintServersAvailable( void ) c++; } } - /* a valid server name must at least contain the ':'-seperator + /* a valid server name must at least contain the ':'-separator * and a number (e.g. ":1") */ return( c >= 2 ); } diff --git a/mozilla/intl/strres/src/nsStringBundleTextOverride.cpp b/mozilla/intl/strres/src/nsStringBundleTextOverride.cpp index 777d0713aa6..d912e2c4299 100644 --- a/mozilla/intl/strres/src/nsStringBundleTextOverride.cpp +++ b/mozilla/intl/strres/src/nsStringBundleTextOverride.cpp @@ -94,7 +94,7 @@ URLPropertyElement::SetKey(const nsACString& aKey) { // this is just wrong - ideally you'd take the key, append it to // the url, and set that as the key. However, that would require - // us to hold onto a copy of the string, and thats a waste, + // us to hold onto a copy of the string, and that's a waste, // considering nobody should ever be calling this. NS_ASSERTION(0, "This makes no sense!"); return NS_ERROR_NOT_IMPLEMENTED; diff --git a/mozilla/ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl b/mozilla/ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl index 952bdd44f2d..0e8ca45cac4 100644 --- a/mozilla/ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl +++ b/mozilla/ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl @@ -92,7 +92,7 @@ interface ipcITransactionService : nsISupports * * @param aNamespace * A string defining the scope of the transaction domains. It is - * used internally to seperate process listening to the same domain + * used internally to separate process listening to the same domain * (ie. preferences) but for two different namespaces (ie. profile1 vs * profile2). * diff --git a/mozilla/java/build/README.DOM b/mozilla/java/build/README.DOM index 50a0614d2dd..736e5fb1a9f 100644 --- a/mozilla/java/build/README.DOM +++ b/mozilla/java/build/README.DOM @@ -112,7 +112,7 @@ The basic implementation architecture is following: created and is registered with Mozilla's DOM It's task is to propagate event notifications from Mozilla's DOM to target Java EventListener - - In order to sucessfully unregister EventListeners we need to + - In order to successfully unregister EventListeners we need to save association between java EventListener and corresponding NativeDOMProxyListener object. This is done by storing such associations Vector at NodeImpl diff --git a/mozilla/java/dom/README b/mozilla/java/dom/README index 50a0614d2dd..736e5fb1a9f 100644 --- a/mozilla/java/dom/README +++ b/mozilla/java/dom/README @@ -112,7 +112,7 @@ The basic implementation architecture is following: created and is registered with Mozilla's DOM It's task is to propagate event notifications from Mozilla's DOM to target Java EventListener - - In order to sucessfully unregister EventListeners we need to + - In order to successfully unregister EventListeners we need to save association between java EventListener and corresponding NativeDOMProxyListener object. This is done by storing such associations Vector at NodeImpl diff --git a/mozilla/java/pluggable-jvm/wf/java/sun/jvmp/PluggableJVM.java b/mozilla/java/pluggable-jvm/wf/java/sun/jvmp/PluggableJVM.java index 9f77724511c..a4408a6c51f 100644 --- a/mozilla/java/pluggable-jvm/wf/java/sun/jvmp/PluggableJVM.java +++ b/mozilla/java/pluggable-jvm/wf/java/sun/jvmp/PluggableJVM.java @@ -16,7 +16,7 @@ * Portions created by Sun Microsystems Inc are Copyright (C) 2001 * All Rights Reserved. * - * $Id: PluggableJVM.java,v 1.2 2001-07-12 19:57:54 edburns%acm.org Exp $ + * $Id: PluggableJVM.java,v 1.3 2005-11-25 08:16:30 timeless%mozdev.org Exp $ * * Contributor(s): * @@ -807,7 +807,7 @@ public abstract class PluggableJVM } break; default: - trace("Unknow event type: "+evt.getType(), LOG_ERROR); + trace("Unknown event type: "+evt.getType(), LOG_ERROR); break; } if (evt.isSync()) diff --git a/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c b/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c index 08d59a0f571..254a8d9a2e0 100644 --- a/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c +++ b/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c @@ -16,7 +16,7 @@ * Portions created by Sun Microsystems Inc are Copyright (C) 2001 * All Rights Reserved. * - * $Id: npunix.c,v 1.1.1.1 2001-05-10 18:12:36 edburns%acm.org Exp $ + * $Id: npunix.c,v 1.2 2005-11-25 08:16:30 timeless%mozdev.org Exp $ * * * Contributor(s): @@ -327,7 +327,7 @@ NP_GetValue(void *future, NPPVariable variable, void *value) * * PARAMETERS * nsTable - The netscape function table. If developers just use these - * wrappers, they dont need to worry about all these function + * wrappers, they don't need to worry about all these function * tables. * RETURN * pluginFuncs diff --git a/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c.my b/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c.my index 09f93bf2054..82190f37af1 100644 --- a/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c.my +++ b/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/npunix.c.my @@ -16,7 +16,7 @@ * Portions created by Sun Microsystems Inc are Copyright (C) 2001 * All Rights Reserved. * - * $Id: npunix.c.my,v 1.1.1.1 2001-05-10 18:12:36 edburns%acm.org Exp $ + * $Id: npunix.c.my,v 1.2 2005-11-25 08:16:30 timeless%mozdev.org Exp $ * * * Contributor(s): @@ -327,7 +327,7 @@ NP_GetValue(void *future, NPPVariable variable, void *value) * * PARAMETERS * nsTable - The netscape function table. If developers just use these - * wrappers, they dont need to worry about all these function + * wrappers, they don't need to worry about all these function * tables. * RETURN * pluginFuncs diff --git a/mozilla/java/plugins/src/PlugletLoader.cpp b/mozilla/java/plugins/src/PlugletLoader.cpp index d3da45f6081..c742e1d8d40 100644 --- a/mozilla/java/plugins/src/PlugletLoader.cpp +++ b/mozilla/java/plugins/src/PlugletLoader.cpp @@ -47,7 +47,7 @@ static char *ToString(jobject obj,JNIEnv *env) { void PlugletLoader::Initialize(void) { PR_LOG(PlugletLog::log, PR_LOG_DEBUG, ("PlugletLoader::Initialize\n")); - //nb erors handling + //nb errors handling JNIEnv * env = PlugletEngine::GetJNIEnv(); if (!env) { return; diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html index dfdef283910..1796ec740c2 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html @@ -6,8 +6,8 @@ This HTML used for getURL call of PlugletManager function registerResults() { //Note that we verify only loading of document, - if document was loaded succesfully via protocol http, ftp, file then JavaScript says: "All OK" - Packages.org.mozilla.pluglet.test.basic.api.PlugletManaget_getURL_128.setResult(true,'Document was succesfully loaded'); + //if document was loaded successfully via protocol http, ftp, file then JavaScript says: "All OK" + Packages.org.mozilla.pluglet.test.basic.api.PlugletManaget_getURL_128.setResult(true,'Document was successfully loaded'); } //--> diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java index ea48ae89424..ccd09c13ce0 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java @@ -69,7 +69,7 @@ public class DelApp extends Applet printLog("Can't delete " + secondPluglet); return; } else { - printLog("File: " + secondPluglet + " succesfully deleted"); + printLog("File: " + secondPluglet + " successfully deleted"); } nextURL(); } diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets_2.java index 4a1ac8c33ad..243c478c4e8 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets_2.java +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets_2.java @@ -97,7 +97,7 @@ public class PlugletManager_reloadPluglets_2 implements Test } TestContext.printLog("}"); if(((Boolean)copySecondPluglet(sourceDir,destDir,fileName)).booleanValue()) { - context.printLog("Second pluglet library was succesfully copied.."); + context.printLog("Second pluglet library was successfully copied.."); PlugletManager_obj.reloadPluglets(((Boolean)vectorOfParameters.elementAt(0)).booleanValue()); System.err.println("DEBUG: Void method PlugletManager_reloadPluglets(" + ((Boolean)vectorOfParameters.elementAt(0)).booleanValue() + ")"); return; diff --git a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/GtkBrowserControlCanvas.java b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/GtkBrowserControlCanvas.java index acb5555315d..45d22485fc9 100644 --- a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/GtkBrowserControlCanvas.java +++ b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/GtkBrowserControlCanvas.java @@ -41,7 +41,7 @@ import java.awt.Dimension; * There is one instance of GtkBrowserControlCanvas per top level awt Frame. - * @version $Id: GtkBrowserControlCanvas.java,v 1.1 2004-04-23 14:52:20 edburns%acm.org Exp $ + * @version $Id: GtkBrowserControlCanvas.java,v 1.2 2005-11-25 08:16:32 timeless%mozdev.org Exp $ * * @see org.mozilla.webclient.BrowserControlCanvasFactory * @@ -56,7 +56,7 @@ public class GtkBrowserControlCanvas extends BrowserControlCanvas /* implements private int gtkTopWindow; private int canvasWinID; private int gtkWinPtr; - // We dont need this, now that we use the JAWT Native Interface + // We don't need this, now that we use the JAWT Native Interface // private MDrawingSurfaceInfo drawingSurfaceInfo; native int createTopLevelWindow(); @@ -74,7 +74,7 @@ public class GtkBrowserControlCanvas extends BrowserControlCanvas /* implements this.gtkWinID = 0; this.canvasWinID = 0; this.gtkWinPtr = 0; - // We dont need this, now that we use the JAWT Native Interface + // We don't need this, now that we use the JAWT Native Interface // this.drawingSurfaceInfo = null; } diff --git a/mozilla/java/webclient/src_ie/NativeEventThread.cpp b/mozilla/java/webclient/src_ie/NativeEventThread.cpp index a919c77f9d9..7de83ed6663 100644 --- a/mozilla/java/webclient/src_ie/NativeEventThread.cpp +++ b/mozilla/java/webclient/src_ie/NativeEventThread.cpp @@ -318,7 +318,7 @@ HRESULT InitIEStuff (WebShellInitContext * initContext) if SUCCEEDED(hr) { - ATLTRACE(_T("Browser succesfully retrieved")); + ATLTRACE(_T("Browser successfully retrieved")); } initContext->browserHost = m_hWndClient; diff --git a/mozilla/java/xpcom/old/test/JSSample.cpp b/mozilla/java/xpcom/old/test/JSSample.cpp index 496d7cce2c8..589993a823b 100644 --- a/mozilla/java/xpcom/old/test/JSSample.cpp +++ b/mozilla/java/xpcom/old/test/JSSample.cpp @@ -31,7 +31,7 @@ class JSSample: public JSISample { public: - // Constructor and Destuctor + // Constructor and Destructor JSSample(); virtual ~JSSample(); @@ -76,7 +76,7 @@ static NS_DEFINE_CID(kSampleCID, JS_SAMPLE_CID); */ class JSComplex : public JSIComplex { public: - // Constructor and Destuctor + // Constructor and Destructor JSComplex(); JSComplex(int aReal, int aImaginary); virtual ~JSComplex(); diff --git a/mozilla/java/xpcom/test/basic/mthreads/2/MThreadComponent2Factory.cpp b/mozilla/java/xpcom/test/basic/mthreads/2/MThreadComponent2Factory.cpp index 9f029b9e7f1..6badc5dc385 100644 --- a/mozilla/java/xpcom/test/basic/mthreads/2/MThreadComponent2Factory.cpp +++ b/mozilla/java/xpcom/test/basic/mthreads/2/MThreadComponent2Factory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(MThreadComponent2Impl) static nsModuleComponentInfo components[] = { { "MultiThread Component 2", MTHREADCOMPONENT2_CID, MTHREADCOMPONENT2_PROGID, MThreadComponent2ImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/mthreads/context/MThreadContextFactory.cpp b/mozilla/java/xpcom/test/basic/mthreads/context/MThreadContextFactory.cpp index e3d5d67a3d5..bd267074f7f 100644 --- a/mozilla/java/xpcom/test/basic/mthreads/context/MThreadContextFactory.cpp +++ b/mozilla/java/xpcom/test/basic/mthreads/context/MThreadContextFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(MThreadContextImpl) static nsModuleComponentInfo components[] = { { "MTContext Test Component", MTHREADCONTEXT_CID, MTHREADCONTEXT_PROGID, MThreadContextImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/mthreads/mtstart/MTStartFactory.cpp b/mozilla/java/xpcom/test/basic/mthreads/mtstart/MTStartFactory.cpp index 5b0821de582..bb65479655a 100644 --- a/mozilla/java/xpcom/test/basic/mthreads/mtstart/MTStartFactory.cpp +++ b/mozilla/java/xpcom/test/basic/mthreads/mtstart/MTStartFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(MTStartImpl) static nsModuleComponentInfo components[] = { { "Multi thread tests start component", MTSTART_CID, MTSTART_PROGID, MTStartImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/J2XIN/cpp/J2XINServerTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/J2XIN/cpp/J2XINServerTestComponentFactory.cpp index 6b9733d7ab0..d17c0db8311 100644 --- a/mozilla/java/xpcom/test/basic/params/J2XIN/cpp/J2XINServerTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/J2XIN/cpp/J2XINServerTestComponentFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(J2XINServerTestComponentImpl) static nsModuleComponentInfo components[] = { { "J2XIN Server Test Component", J2XINSERVERTESTCOMPONENT_CID, J2XINSERVERTESTCOMPONENT_PROGID, J2XINServerTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/J2XINOUT/cpp/J2XINOUTServerTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/J2XINOUT/cpp/J2XINOUTServerTestComponentFactory.cpp index 2db39c86a3c..252fc2f1021 100644 --- a/mozilla/java/xpcom/test/basic/params/J2XINOUT/cpp/J2XINOUTServerTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/J2XINOUT/cpp/J2XINOUTServerTestComponentFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(J2XINOUTServerTestComponentImpl) static nsModuleComponentInfo components[] = { { "J2XINOUT Server Test Component", J2XINOUTSERVERTESTCOMPONENT_CID, J2XINOUTSERVERTESTCOMPONENT_PROGID, J2XINOUTServerTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponentFactory.cpp index 736fac8e618..dcb20c865d8 100644 --- a/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponentFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(J2XOUTServerTestComponentImpl) static nsModuleComponentInfo components[] = { { "J2XOUT Server Test Component", J2XOUTSERVERTESTCOMPONENT_CID, J2XOUTSERVERTESTCOMPONENT_PROGID, J2XOUTServerTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/J2XRET/cpp/J2XRETServerTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/J2XRET/cpp/J2XRETServerTestComponentFactory.cpp index 57e85b02dec..d799d72cdb6 100644 --- a/mozilla/java/xpcom/test/basic/params/J2XRET/cpp/J2XRETServerTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/J2XRET/cpp/J2XRETServerTestComponentFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(J2XRETServerTestComponentImpl) static nsModuleComponentInfo components[] = { { "J2XRET Server Test Component", J2XRETSERVERTESTCOMPONENT_CID, J2XRETSERVERTESTCOMPONENT_PROGID, J2XRETServerTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/TestLoader/BCTestLoaderFactory.cpp b/mozilla/java/xpcom/test/basic/params/TestLoader/BCTestLoaderFactory.cpp index 4e9fc3a4a06..9c1df4a71b8 100644 --- a/mozilla/java/xpcom/test/basic/params/TestLoader/BCTestLoaderFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/TestLoader/BCTestLoaderFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(BCTestLoaderImpl) static nsModuleComponentInfo components[] = { { "BlackConnect TestLoader", BCTESTLOADER_CID, BCTESTLOADER_PROGID, BCTestLoaderImplConstructor, - NULL /* dont need additional registration */, - NULL /* dont need additional unregistration */ + NULL /* don't need additional registration */, + NULL /* don't need additional unregistration */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/X2JIN/cpp/X2JINClientTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/X2JIN/cpp/X2JINClientTestComponentFactory.cpp index 8534d8dd1de..5203a7239ba 100644 --- a/mozilla/java/xpcom/test/basic/params/X2JIN/cpp/X2JINClientTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/X2JIN/cpp/X2JINClientTestComponentFactory.cpp @@ -33,8 +33,8 @@ static nsModuleComponentInfo components[] = X2JINCLIENTTESTCOMPONENT_CID, X2JINCLIENTTESTCOMPONENT_PROGID, X2JINClientTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/X2JINOUT/cpp/X2JINOUTClientTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/X2JINOUT/cpp/X2JINOUTClientTestComponentFactory.cpp index 5da90ddaeb6..d5cf6a1e99c 100644 --- a/mozilla/java/xpcom/test/basic/params/X2JINOUT/cpp/X2JINOUTClientTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/X2JINOUT/cpp/X2JINOUTClientTestComponentFactory.cpp @@ -33,8 +33,8 @@ static nsModuleComponentInfo components[] = X2JINOUTCLIENTTESTCOMPONENT_CID, X2JINOUTCLIENTTESTCOMPONENT_PROGID, X2JINOUTClientTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/X2JOUT/cpp/X2JOUTClientTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/X2JOUT/cpp/X2JOUTClientTestComponentFactory.cpp index b9744d51fb4..334da9e32ae 100644 --- a/mozilla/java/xpcom/test/basic/params/X2JOUT/cpp/X2JOUTClientTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/X2JOUT/cpp/X2JOUTClientTestComponentFactory.cpp @@ -34,8 +34,8 @@ static nsModuleComponentInfo components[] = X2JOUTCLIENTTESTCOMPONENT_CID, X2JOUTCLIENTTESTCOMPONENT_PROGID, X2JOUTClientTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/params/X2JRET/cpp/X2JRETClientTestComponentFactory.cpp b/mozilla/java/xpcom/test/basic/params/X2JRET/cpp/X2JRETClientTestComponentFactory.cpp index 9989fa56dc5..bdc3175ccde 100644 --- a/mozilla/java/xpcom/test/basic/params/X2JRET/cpp/X2JRETClientTestComponentFactory.cpp +++ b/mozilla/java/xpcom/test/basic/params/X2JRET/cpp/X2JRETClientTestComponentFactory.cpp @@ -33,8 +33,8 @@ static nsModuleComponentInfo components[] = X2JRETCLIENTTESTCOMPONENT_CID, X2JRETCLIENTTESTCOMPONENT_PROGID, X2JRETClientTestComponentImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/test/basic/stress/1/cpp/StressComponent2Factory.cpp b/mozilla/java/xpcom/test/basic/stress/1/cpp/StressComponent2Factory.cpp index f189906c5a7..4fb5ac09429 100644 --- a/mozilla/java/xpcom/test/basic/stress/1/cpp/StressComponent2Factory.cpp +++ b/mozilla/java/xpcom/test/basic/stress/1/cpp/StressComponent2Factory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(StressComponent2Impl) static nsModuleComponentInfo components[] = { { "Stress Test Component 2", STRESSCOMPONENT2_CID, STRESSCOMPONENT2_PROGID, StressComponent2ImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/urp/src/test/Init/initImplFactory.cpp b/mozilla/java/xpcom/urp/src/test/Init/initImplFactory.cpp index 24450bca760..84aa72e7c49 100644 --- a/mozilla/java/xpcom/urp/src/test/Init/initImplFactory.cpp +++ b/mozilla/java/xpcom/urp/src/test/Init/initImplFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(initImpl) static nsModuleComponentInfo components[] = { { "Init Component", URPINIT_CID, URPINIT_PROGID, initImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/java/xpcom/urp/src/test/urpTestImplFactory.cpp b/mozilla/java/xpcom/urp/src/test/urpTestImplFactory.cpp index 99ea38a92ec..27358f8b32f 100644 --- a/mozilla/java/xpcom/urp/src/test/urpTestImplFactory.cpp +++ b/mozilla/java/xpcom/urp/src/test/urpTestImplFactory.cpp @@ -30,8 +30,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(urpTestImpl) static nsModuleComponentInfo components[] = { { "URP Test Component", URPTEST_CID, URPTEST_PROGID, urpTestImplConstructor, - NULL /* NULL if you dont need one */, - NULL /* NULL if you dont need one */ + NULL /* NULL if you don't need one */, + NULL /* NULL if you don't need one */ } }; diff --git a/mozilla/js/docs/README b/mozilla/js/docs/README index 3cffde60914..8326304da5a 100644 --- a/mozilla/js/docs/README +++ b/mozilla/js/docs/README @@ -7,7 +7,7 @@ Once the HTML files are generated, visit the or files in this directory for one-entry-at-a-time and all-in-one framesets. -APIDOC output can also be browsed in two seperate windows. Open +APIDOC output can also be browsed in two separate windows. Open in one window. Click on any API entrypoint to open a new window. The new window will be re-used when you choose a different entrypoint. diff --git a/mozilla/js/docs/jsref.xml b/mozilla/js/docs/jsref.xml index 1badc3b74e8..6a8888aa9f8 100644 --- a/mozilla/js/docs/jsref.xml +++ b/mozilla/js/docs/jsref.xml @@ -1971,7 +1971,7 @@ JSBool JS_ValueToBoolean(JSContext *cx, jsval v, JS_ValueToBoolean converts a specified JS value, v, to a JS Boolean. The actual conversion is performed by the object's convert operation. Converting any JS value to a Boolean always succeeds, except when the JS value is a JSVAL_OBJECT that does not support its own conversion routine.

    - The converted value is stored in the JSBool pointed to by bp. If the conversion is successful, JS_ValueToBoolean returns JS_TRUE. If the value to convert is an empty string, or conversion is unsuccesful, JS_ValueToBoolean returns JS_FALSE.

    + The converted value is stored in the JSBool pointed to by bp. If the conversion is successful, JS_ValueToBoolean returns JS_TRUE. If the value to convert is an empty string, or conversion is unsuccessful, JS_ValueToBoolean returns JS_FALSE.

    @@ -5296,7 +5296,7 @@ JSFunction * JS_DefineFunction(JSContext *cx, JSObject *obj, JS_DefineFunction defines a single function and assigns it as a property (method) to a specified object, obj.

    name is the name to assign to the function in the object. call is a built-in, native C call that is wrapped by your function. nargs indicates the number of arguments the function expects to receive. JS uses this information to allocate storage space for each argument.

    flags lists the attributes to apply to the function. Currently documented attributes, JSFUN_BOUND_METHOD and JSFUN_GLOBAL_PARENT, are deprecated and should no longer be used. They continue to be supported only for existing applications that already depend on them.

    - If it succesfully creates the property, JS_DefineFunction returns a pointer to the function. Otherwise it returns NULL.

    + If it successfully creates the property, JS_DefineFunction returns a pointer to the function. Otherwise it returns NULL.

    @@ -5370,7 +5370,7 @@ JSScript * JS_CompileScript(JSContext *cx, JSObject *obj,

    - filename is the name of the file (or URL) containing the script. This information in included in error messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information in included in error messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a script compiles successfully, JS_CompileScript returns a pointer to the compiled script. Otherwise JS_CompileScript returns NULL, and reports an error.

    @@ -5427,7 +5427,7 @@ JSScript * JS_CompileScriptForPrincipals(JSContext *cx,

    - filename is the name of the file (or URL) containing the script. This information in included in error messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information in included in error messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a script compiles successfully, JS_CompileScriptForPrincipals returns a pointer to the compiled script. Otherwise JS_CompileScriptForPrincipals returns NULL, and reports an error.

    @@ -5469,7 +5469,7 @@ JSScript * JS_CompileUCScript(JSContext *cx, JSObject *obj, JS_CompileUCScript compiles a script using a Unicode character set, chars, for execution. The script is associated with a JS object. chars is the Unicode string containing the text of the script. length indicates the size of the script in characters.

    - filename is the name of the file (or URL) containing the script. This information in included in error messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information in included in error messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a script compiles successfully, JS_CompileUCScript returns a pointer to the compiled script. Otherwise JS_UCCompileScript returns NULL, and reports an error.

    @@ -5519,7 +5519,7 @@ JSScript * JS_CompileUCScriptForPrincipals(JSContext *cx, JS_CompileUCScriptForPrincipals compiles a security-enabled script using a Unicode character set, chars, for execution. The script is associated with a JS object.

    principals is a pointer to the JSPrincipals structure that contains the security information to associate with this script.

    chars is the Unicode string containing the text of the script. length indicates the size of the script in characters.

    - filename is the name of the file (or URL) containing the script. This information in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a script compiles successfully, JS_CompileUCScriptForPrincipals returns a pointer to the compiled script. Otherwise JS_CompileUCScriptForPrincipals returns NULL, and reports an error.

    @@ -5652,7 +5652,7 @@ JSFunction * JS_CompileFunction(JSContext *cx, JSObject *obj, JS_CompileFunction compiles a function from a text string, bytes, and associated it with a JS object, obj.

    name is the name to assign to the newly created function. nargs is the number of arguments the function takes, and argnames is a pointer to an array of names to assign each argument. The number of argument names should match the number of arguments specified in nargs.

    bytes is the string containing the text of the function. length indicates the size of the text version of the function in bytes.

    - filename is the name of the file (or URL) containing the function. This information in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the function. This information in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    If a function compiles successfully, JS_CompileFunction returns a pointer to the function. Otherwise JS_CompileFunction returns NULL.

    @@ -5715,7 +5715,7 @@ JSFunction * JS_CompileFunctionForPrincipals(JSContext *cx, principals is a pointer to the JSPrincipals structure that contains the security information to associate with this function.

    name is the name to assign to the newly created function. nargs is the number of arguments the function takes, and argnames is a pointer to an array of names to assign each argument. The number of argument names should match the number of arguments specified in nargs.

    bytes is the string containing the text of the function. length indicates the size of the text version of the function in bytes.

    - filename is the name of the file (or URL) containing the function. This information in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the function. This information in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    If a function compiles successfully, JS_CompileFunctionForPrincipals returns a pointer to the function. Otherwise JS_CompileFunctionForPrincipals returns NULL.

    @@ -5776,7 +5776,7 @@ JSFunction * JS_CompileUCFunction(JSContext *cx, JSObject *obj, JS_CompileUCFunction compiles a function from a Unicode-encoded character string, chars, and associated it with a JS object, obj.

    name is the name to assign to the newly created function. nargs is the number of arguments the function takes, and argnames is a pointer to an array of names to assign each argument. The number of argument names should match the number of arguments specified in nargs.

    chars is the Unicode-encoded string containing the function. length indicates the size of the function in Unicode characters.

    - filename is the name of the file (or URL) containing the function. This information in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the function. This information in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    If a function compiles successfully, JS_CompileUCFunction returns a pointer to the function. Otherwise JS_CompileUCFunction returns NULL.

    @@ -5838,7 +5838,7 @@ JSFunction * JS_CompileUCFunctionForPrincipals(JSContext *cx, principals is a pointer to the JSPrincipals structure that contains the security information to associate with this function.

    name is the name to assign to the newly created function. nargs is the number of arguments the function takes, and argnames is a pointer to an array of names to assign each argument. The number of argument names should match the number of arguments specified in nargs.

    chars is the Unicode-encoded string containing the function. length indicates the size of the function in Unicode characters.

    - filename is the name of the file (or URL) containing the function. This information is included in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the function. This information is included in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the function or file where an error occurred during compilation.

    If a function compiles successfully, JS_CompileUCFunctionForPrincipals returns a pointer to the function. Otherwise JS_CompileUCFunctionForPrincipals returns NULL.

    @@ -6031,7 +6031,7 @@ JSBool JS_EvaluateScript(JSContext *cx, JSObject *obj, JS_EvaluateScript compiles and executes a script associated with a JS object, obj. On successful completion, rval is a pointer to a variable that holds the value from the last executed expression statement processed in the script.

    bytes is the string containing the text of the script. length indicates the size of the text version of the script in bytes.

    - filename is the name of the file (or URL) containing the script. This information in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a script compiles and executes successfully, JS_EvaluateScript returns JS_TRUE. Otherwise it returns JS_FALSE. On failure, your application should assume that rval is undefined.

    @@ -6075,7 +6075,7 @@ JSBool JS_EvaluateUCScript(JSContext *cx, JSObject *obj, JS_EvaluateUCScript compiles and executes a script associated with a JS object, obj. On successful completion, rval is a pointer to a variable that holds the value from the last executed expression statement processed in the script.

    chars is the Unicode character array containing the text of the script. length indicates the size of the text version of the script in Unicode characters.

    - filename is the name of the file (or URL) containing the script. This information is included in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information is included in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a script compiles and executes successfully, JS_EvaluateUCScript returns JS_TRUE. Otherwise it returns JS_FALSE. On failure, your application should assume that rval is undefined.

    @@ -6126,7 +6126,7 @@ JSBool JS_EvaluateScriptForPrincipals(JSContext *cx, JS_EvaluateScriptForPrincipals compiles and executes a script associated with a JS object, obj. On successful completion, rval is a pointer to a variable that holds the value from the last executed expression statement processed in the script.

    principals is a pointer to the JSPrincipals structure that contains the security information to associate with this script.

    bytes is the string containing the text of the script. length indicates the size of the text version of the script in bytes.

    - filename is the name of the file (or URL) containing the script. This information in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a secure script compiles and executes successfully, JS_EvaluateScriptForPrincipals returns JS_TRUE. Otherwise it returns JS_FALSE. On failure, your application should assume that rval is undefined.

    @@ -6177,7 +6177,7 @@ JSBool JS_EvaluateScriptUCForPrincipals(JSContext *cx, JS_EvaluateUCScriptForPrincipals compiles and executes a Unicode-encoded script associated with a JS object, obj. On successful completion, rval is a pointer to a variable that holds the value from the last executed expression statement processed in the script.

    principals is a pointer to the JSPrincipals structure that contains the security information to associate with this script.

    chars is the Unicode-encoded character array containing the text of the script. length indicates the number of characters in the text version of the script.

    - filename is the name of the file (or URL) containing the script. This information is included in messages if an eror occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    + filename is the name of the file (or URL) containing the script. This information is included in messages if an error occurs during compilation. Similarly, lineno is used to report the line number of the script or file where an error occurred during compilation.

    If a secure script compiles and executes successfully, JS_EvaluateUCScriptForPrincipals returns JS_TRUE. Otherwise it returns JS_FALSE. On failure, your application should assume that rval is undefined.

    diff --git a/mozilla/js/jsd/corba/jsd_iiop.cpp b/mozilla/js/jsd/corba/jsd_iiop.cpp index a471d3b454f..a89f765e928 100644 --- a/mozilla/js/jsd/corba/jsd_iiop.cpp +++ b/mozilla/js/jsd/corba/jsd_iiop.cpp @@ -2670,7 +2670,7 @@ _WAIReturnType2String( WAIReturnType_t t ) // static PRThread* _SourceTextProviderThread; // // static void -// _exportRemotedObjectsOnSeperateThreads() +// _exportRemotedObjectsOnSeparateThreads() // { // /////////////////////////// // diff --git a/mozilla/js/jsd/jsdebug.h b/mozilla/js/jsd/jsdebug.h index f108f32d25d..52a7291dfe9 100644 --- a/mozilla/js/jsd/jsdebug.h +++ b/mozilla/js/jsd/jsdebug.h @@ -1471,7 +1471,7 @@ extern JSD_PUBLIC_API(const char*) JSD_GetObjectConstructorURL(JSDContext* jsdc, JSDObject* jsdobj); /* -* Get the line number of the line of source of the constuctor for this object. +* Get the line number of the line of source of the constructor for this object. * created. May be 0 indicating that the line number is unknown. * *** new for version 1.1 **** */ diff --git a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/api/local/DebugControllerLocal.java b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/api/local/DebugControllerLocal.java index 544dde58f42..f1bbbadc408 100644 --- a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/api/local/DebugControllerLocal.java +++ b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/api/local/DebugControllerLocal.java @@ -397,7 +397,7 @@ class Evaluator if(_evalToValue) { - // we break this out as a seperate method because + // we break this out as a separate method because // netscape.jsdebug 1.0 had no Value class and we need to // avoid any unnecessary references to netscape.jsdebug.Value. _doEvalToValue(); diff --git a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/Emperor.java b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/Emperor.java index 4a06735e3a1..302c6b85954 100644 --- a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/Emperor.java +++ b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/Emperor.java @@ -249,7 +249,7 @@ public class Emperor _pageListView = new PageListView( this, rectPageList ); _sourceViewManager = new SourceViewManager(this); - _sourceViewManager.setPreferedNewViewRect( rectSrc ); + _sourceViewManager.setPreferredNewViewRect( rectSrc ); _stackView = new StackView( this, rectStackView ); _consoleView = new ConsoleView(this, rectConsole ); _watchView = new WatchView(this, rectWatchView); @@ -426,7 +426,7 @@ public class Emperor _toolBarWindow.sizeTo(minSize.width,_toolBarWindow.height()); } if( null != _sourceViewManager ) - _sourceViewManager.setPreferedNewViewRect(getPreferedNewSourceViewRect()); + _sourceViewManager.setPreferredNewViewRect(getPreferedNewSourceViewRect()); } @@ -557,7 +557,7 @@ public class Emperor s.width,s.height-_toolbarHeight-_menuViewHeight); } - private Rect getPreferedNewSourceViewRect() + private Rect getPreferredNewSourceViewRect() { Rect rect = getClientRect(); rect.height -= _lowerWindowDY; diff --git a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/InspectorTyrant.java b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/InspectorTyrant.java index e1031291422..782bae271e7 100644 --- a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/InspectorTyrant.java +++ b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/InspectorTyrant.java @@ -146,7 +146,7 @@ public class InspectorTyrant } // we build both a string and a number vector so that we can - // seperately sort them before concating them. NOTE that numVec + // separately sort them before concating them. NOTE that numVec // actually holds strings representing numbers, rather than the // numbers themselves - we don't want rounding & conversions errors Vector stringVec = new Vector(); diff --git a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/JSDebuggerApp.java b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/JSDebuggerApp.java index 81145640500..fb1f39f1df6 100644 --- a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/JSDebuggerApp.java +++ b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/JSDebuggerApp.java @@ -456,7 +456,7 @@ public class JSDebuggerApp LicenseViewer v = new LicenseViewer("Netscape JavaScript Debugger License", licenseHtmlFilename); - if( ! v.HtmlLoadedSuccesfully() ) + if( ! v.HtmlLoadedsuccessfully() ) { setWaitCursor(false); int answer = Alert.runAlertInternally( Alert.warningImage(), diff --git a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/LicenseViewer.java b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/LicenseViewer.java index 41cbd09ba37..85332fb5e28 100644 --- a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/LicenseViewer.java +++ b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/LicenseViewer.java @@ -110,7 +110,7 @@ class LicenseViewer - sg.vertScrollBar().width(), 0); - _HtmlLoadedSuccesfully = true; + _HtmlLoadedSuccessfully = true; Button button; @@ -150,10 +150,10 @@ class LicenseViewer } public boolean userPressedAccept() {return _userPressedAccept;} - public boolean HtmlLoadedSuccesfully() {return _HtmlLoadedSuccesfully;} + public boolean HtmlLoadedSuccessfully() {return _HtmlLoadedSuccessfully;} private boolean _userPressedAccept = false; - private boolean _HtmlLoadedSuccesfully = false; + private boolean _HtmlLoadedSuccessfully = false; private TextView _textView; private static final String CANCEL_CMD = "CANCEL_CMD"; diff --git a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/SourceViewManager.java b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/SourceViewManager.java index 106a5018dfa..55b40ca2926 100644 --- a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/SourceViewManager.java +++ b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/SourceViewManager.java @@ -203,7 +203,7 @@ public class SourceViewManager _sourceViews.remove(view.getURL()); } - public void setPreferedNewViewRect( Rect rect ){_preferredNewViewRect = rect;} + public void setPreferredNewViewRect( Rect rect ){_preferredNewViewRect = rect;} public boolean getShowLineNumbers() {return _showLineNumbers;} diff --git a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/palomar/widget/layout/BoxView.java b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/palomar/widget/layout/BoxView.java index b89d16a8834..eac5ff9c96d 100644 --- a/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/palomar/widget/layout/BoxView.java +++ b/mozilla/js/jsdj/classes/com/netscape/jsdebugging/ifcui/palomar/widget/layout/BoxView.java @@ -497,7 +497,7 @@ public class BoxView extends ShapeableView /** * Adds a strut to the view. A Strut is really just a simple case - * of a spring whos springConstant is 0 making it not stretchable. + * of a spring whose springConstant is 0 making it not stretchable. * Struts also know how to draw a "Strut" when showBoxesAndSprings is set to true. * Use these to place fixed padding between views. * @param preferredSize The initial size of the spring in pixels. diff --git a/mozilla/js/perf/jsPerformance.pl b/mozilla/js/perf/jsPerformance.pl index 163ebf62bcd..8dafd5d8f41 100644 --- a/mozilla/js/perf/jsPerformance.pl +++ b/mozilla/js/perf/jsPerformance.pl @@ -1045,7 +1045,7 @@ sub expand_test_list_entry { } } else { - die ("Dont know what to do with list entry '$entry'.\n"); + die ("Don't know what to do with list entry '$entry'.\n"); } return @retval; diff --git a/mozilla/js/rhino/examples/jsdoc.js b/mozilla/js/rhino/examples/jsdoc.js index 4b42f6575c6..a21a3e7e533 100644 --- a/mozilla/js/rhino/examples/jsdoc.js +++ b/mozilla/js/rhino/examples/jsdoc.js @@ -127,7 +127,7 @@ function processFile(f, fname, inputdir, out) { functionDocArray[functionDocArray.length] = {name:m[1], text:htmlText}; // Store the function also in the indexFunctionArray - // so we can have a seperate file with the function table of contents + // so we can have a separate file with the function table of contents if (indexFunctionArray[m[1]]) { // print("ERROR: function: " + m[1] + " is defined more than once!"); // Allow multiple files for a function @@ -154,7 +154,7 @@ function processFile(f, fname, inputdir, out) { functionDocArray[functionDocArray.length] = {name:m[1]+".prototype."+m[2], text:htmlText}; // Store the function also in the indexFunctionArray - // so we can have a seperate file with the function table of contents + // so we can have a separate file with the function table of contents if (indexFunctionArray[m[1]]) { // print("ERROR: function: " + m[1] + " is defined more than once!"); // Allow multiple files for a function diff --git a/mozilla/js/rhino/src/org/mozilla/javascript/NativeString.java b/mozilla/js/rhino/src/org/mozilla/javascript/NativeString.java index ceac26680f0..170a8093f56 100644 --- a/mozilla/js/rhino/src/org/mozilla/javascript/NativeString.java +++ b/mozilla/js/rhino/src/org/mozilla/javascript/NativeString.java @@ -497,7 +497,7 @@ final class NativeString extends IdScriptableObject return (i == length) ? -1 : i + 1; } - /* Punt to j.l.s.indexOf; return target length if seperator is + /* Punt to j.l.s.indexOf; return target length if separator is * not found. */ if (ip[0] >= length) diff --git a/mozilla/js/src/jsregexp.c b/mozilla/js/src/jsregexp.c index f59b2bf17ca..f529c6c3027 100644 --- a/mozilla/js/src/jsregexp.c +++ b/mozilla/js/src/jsregexp.c @@ -2785,7 +2785,7 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x) continue; /* - * Occurs at (succesful) end of REOP_ALT, + * Occurs at (successful) end of REOP_ALT, */ case REOP_JUMP: --gData->stateStackTop; @@ -2794,7 +2794,7 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x) continue; /* - * Occurs at last (succesful) end of REOP_ALT, + * Occurs at last (successful) end of REOP_ALT, */ case REOP_ENDALT: --gData->stateStackTop; diff --git a/mozilla/js/src/perlconnect/JS.xs b/mozilla/js/src/perlconnect/JS.xs index ce1f32bfce3..599e46460bb 100644 --- a/mozilla/js/src/perlconnect/JS.xs +++ b/mozilla/js/src/perlconnect/JS.xs @@ -599,7 +599,7 @@ JS_DestroyRuntime(rt) [exit here] So both $rt->DESTROY and $rt1->DESTROY will cause runtime destruction. - _PH_ Thats not true, I guess. At least for Perl 5. + _PH_ That's not true, I guess. At least for Perl 5. */ /* warn("===> before runtime check\n"); */ if(SvREFCNT(ST(0)) == 1){ diff --git a/mozilla/js/src/perlconnect/jsperl.c b/mozilla/js/src/perlconnect/jsperl.c index 2d1149ce93e..48d904add21 100644 --- a/mozilla/js/src/perlconnect/jsperl.c +++ b/mozilla/js/src/perlconnect/jsperl.c @@ -188,12 +188,12 @@ JS_InitPerlClass(JSContext *cx, JSObject *obj) /* Perl constructor. Allocates a new interpreter and defines methods on it. - The constuctor is sort of bogus in that it doesn't create a new namespace + The constructor is sort of bogus in that it doesn't create a new namespace and all the variables defined in one instance of the Perl object will be visible in others. In the future, I think it may be a good idea to use Safe.pm to provide independent contexts for different Perl objects and prohibit certain operations (like exit(), alarm(), die(), etc.). Or we - may simple disallow calling the constuctor more than once. + may simple disallow calling the constructor more than once. */ static JSBool PerlConstruct(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *v) diff --git a/mozilla/js/src/xpconnect/src/xpc.msg b/mozilla/js/src/xpconnect/src/xpc.msg index e6627da1a9f..9d210b781fa 100644 --- a/mozilla/js/src/xpconnect/src/xpc.msg +++ b/mozilla/js/src/xpconnect/src/xpc.msg @@ -62,7 +62,7 @@ XPC_MSG_DEF(NS_ERROR_XPC_CANT_EXPORT_WN_STATIC , "Cannot export a Wrapp XPC_MSG_DEF(NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED , "nsIXPCScriptable::Call failed") XPC_MSG_DEF(NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED , "nsIXPCScriptable::Construct failed") XPC_MSG_DEF(NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE , "Cannot use wrapper as function unless it implements nsIXPCScriptable") -XPC_MSG_DEF(NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE , "Cannot use wrapper as constuctor unless it implements nsIXPCScriptable") +XPC_MSG_DEF(NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE , "Cannot use wrapper as constructor unless it implements nsIXPCScriptable") XPC_MSG_DEF(NS_ERROR_XPC_CI_RETURNED_FAILURE , "ComponentManager::CreateInstance returned failure code:") XPC_MSG_DEF(NS_ERROR_XPC_GS_RETURNED_FAILURE , "ServiceManager::GetService returned failure code:") XPC_MSG_DEF(NS_ERROR_XPC_BAD_CID , "Invalid ClassID or ContractID") diff --git a/mozilla/js/src/xpconnect/tests/idispatch/Tests/jsDriver.pl b/mozilla/js/src/xpconnect/tests/idispatch/Tests/jsDriver.pl index 88d3f5afd37..bb7115b8399 100644 --- a/mozilla/js/src/xpconnect/tests/idispatch/Tests/jsDriver.pl +++ b/mozilla/js/src/xpconnect/tests/idispatch/Tests/jsDriver.pl @@ -993,7 +993,7 @@ sub expand_test_list_entry { } } else { - die ("Dont know what to do with list entry '$entry'.\n"); + die ("Don't know what to do with list entry '$entry'.\n"); } return @retval; diff --git a/mozilla/js/tests/js1_2/regexp/RegExp_dollar_number.js b/mozilla/js/tests/js1_2/regexp/RegExp_dollar_number.js index c825034cc86..429f35e3ed3 100644 --- a/mozilla/js/tests/js1_2/regexp/RegExp_dollar_number.js +++ b/mozilla/js/tests/js1_2/regexp/RegExp_dollar_number.js @@ -42,7 +42,7 @@ Date: March 12, 1998 */ - var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; + var SECTION = 'As described in Netscape doc "What\'s new in JavaScript 1.2"'; var VERSION = 'no version'; var TITLE = 'RegExp: $1, ..., $9'; var BUGNUMBER="123802"; diff --git a/mozilla/js/tests/jsDriver.pl b/mozilla/js/tests/jsDriver.pl index 674c18e3943..ab1de0e3b6e 100755 --- a/mozilla/js/tests/jsDriver.pl +++ b/mozilla/js/tests/jsDriver.pl @@ -1062,7 +1062,7 @@ sub expand_test_list_entry { } } else { - die ("Dont know what to do with list entry '$entry'.\n"); + die ("Don't know what to do with list entry '$entry'.\n"); } return @retval; diff --git a/mozilla/js2/ChangeLog b/mozilla/js2/ChangeLog index 42fbb1113b5..74989d99d45 100644 --- a/mozilla/js2/ChangeLog +++ b/mozilla/js2/ChangeLog @@ -1,7 +1,7 @@ 2001-01-30 * broke apart some classes contained parser.* and utilities.* into - seperate files. + separate files. parser.* begat lexer.*, token.*, reader.* utilities.* begat mem.*, stlcfg.h, ds.h, strings.*, exception.*, formatter.*, and algo.h diff --git a/mozilla/js2/src/js2eval.cpp b/mozilla/js2/src/js2eval.cpp index 4f770c630c3..d0292763bc9 100644 --- a/mozilla/js2/src/js2eval.cpp +++ b/mozilla/js2/src/js2eval.cpp @@ -299,7 +299,7 @@ namespace MetaData { } invokeFunction(init, thisValue, argv, argc, runtimeFrame); if (!runtimeFrame->superConstructorCalled) - reportError(Exception::uninitializedError, "The superconstuctor must be called before returning normally from a constructor", engine->errorPos()); + reportError(Exception::uninitializedError, "The superconstructor must be called before returning normally from a constructor", engine->errorPos()); } else if (argc) diff --git a/mozilla/js2/src/js2metadata.cpp b/mozilla/js2/src/js2metadata.cpp index aedeb5d611e..1748cff2c0c 100644 --- a/mozilla/js2/src/js2metadata.cpp +++ b/mozilla/js2/src/js2metadata.cpp @@ -2978,7 +2978,7 @@ doUnary: // Read the value of a lexical reference - it's an error if that reference // doesn't have a binding somewhere. // Attempt the read in each frame in the current environment, stopping at the - // first succesful effort. If the property can't be found in any frame, it's + // first successful effort. If the property can't be found in any frame, it's // an error. void Environment::lexicalRead(JS2Metadata *meta, Multiname *multiname, Phase phase, js2val *rval, js2val *base) { diff --git a/mozilla/js2/src/js2op_flowcontrol.cpp b/mozilla/js2/src/js2op_flowcontrol.cpp index 7e581e5e76a..a1e2100ff6f 100644 --- a/mozilla/js2/src/js2op_flowcontrol.cpp +++ b/mozilla/js2/src/js2op_flowcontrol.cpp @@ -109,7 +109,7 @@ // Get the first enumerable property from the object // and save it's 'state' on the stack. Push true/false - // for whether that was succesful. + // for whether that was successful. case eFirst: { a = pop(); @@ -121,7 +121,7 @@ break; // Increment the enumeration 'state' on the stack. - // Push true/false for whether that was succesful. + // Push true/false for whether that was successful. case eNext: { a = top(); diff --git a/mozilla/js2/src/plugin.cpp b/mozilla/js2/src/plugin.cpp index 9a79ca3de75..c43cb77878b 100644 --- a/mozilla/js2/src/plugin.cpp +++ b/mozilla/js2/src/plugin.cpp @@ -270,7 +270,7 @@ void nsPluginInstance::StreamAsFile(NPStream* stream, const char* fname) { printf("Pandora: compiling source\n"); // compile the file, error reports need to go to the JS console - // if succesful, script level functions get proxies generated + // if successful, script level functions get proxies generated try { metadata->readEvalFile(fname); for (LocalBindingIterator bi = metadata->glob->localBindings.begin(), diff --git a/mozilla/js2/src/regexp/regexp.c b/mozilla/js2/src/regexp/regexp.c index 8f02d67b0b7..f17cbccc13b 100644 --- a/mozilla/js2/src/regexp/regexp.c +++ b/mozilla/js2/src/regexp/regexp.c @@ -2121,7 +2121,7 @@ doAlt: continue; /* - * Occurs at (succesful) end of REOP_ALT, + * Occurs at (successful) end of REOP_ALT, */ case REOP_JUMP: --gData->stateStackTop; @@ -2131,7 +2131,7 @@ doAlt: continue; /* - * Occurs at last (succesful) end of REOP_ALT, + * Occurs at last (successful) end of REOP_ALT, */ case REOP_ENDALT: --gData->stateStackTop; diff --git a/mozilla/js2/src/regexpwrapper.cpp b/mozilla/js2/src/regexpwrapper.cpp index 7776f644b53..63d220fa4fd 100644 --- a/mozilla/js2/src/regexpwrapper.cpp +++ b/mozilla/js2/src/regexpwrapper.cpp @@ -2334,7 +2334,7 @@ doAlt: continue; /* - * Occurs at (succesful) end of REOP_ALT, + * Occurs at (successful) end of REOP_ALT, */ case REOP_JUMP: --gData->stateStackTop; @@ -2344,7 +2344,7 @@ doAlt: continue; /* - * Occurs at last (succesful) end of REOP_ALT, + * Occurs at last (successful) end of REOP_ALT, */ case REOP_ENDALT: --gData->stateStackTop; diff --git a/mozilla/layout/html/tests/table/bugs/bug44505.html b/mozilla/layout/html/tests/table/bugs/bug44505.html index 3642aa57a44..0374afa5a4b 100644 --- a/mozilla/layout/html/tests/table/bugs/bug44505.html +++ b/mozilla/layout/html/tests/table/bugs/bug44505.html @@ -4,7 +4,7 @@ -layout-fix column space- dont even think to break these regression tests +layout-fix column space- don't even think to break these regression tests diff --git a/mozilla/layout/html/tests/table/marvin/tables_row_th_nowrap.html b/mozilla/layout/html/tests/table/marvin/tables_row_th_nowrap.html index 65fd5edd0c9..6f27d8f9e1a 100644 --- a/mozilla/layout/html/tests/table/marvin/tables_row_th_nowrap.html +++ b/mozilla/layout/html/tests/table/marvin/tables_row_th_nowrap.html @@ -59,7 +59,7 @@ The table heading (The EggPlant Exchange) should not wrap when window is resized. However, the cell below the -heading will wrap atuomatically.
    +heading will wrap automatically.
    diff --git a/mozilla/layout/html/tests/table/marvin/tables_td_nowrap.html b/mozilla/layout/html/tests/table/marvin/tables_td_nowrap.html index cc492667b57..097e8de2015 100644 --- a/mozilla/layout/html/tests/table/marvin/tables_td_nowrap.html +++ b/mozilla/layout/html/tests/table/marvin/tables_td_nowrap.html @@ -46,7 +46,7 @@ The TD cell (The EggPlant Exchange) should not wrap when window is resized. However, the cell below the -heading will wrap atuomatically.
    +heading will wrap automatically.
    diff --git a/mozilla/lib/mac/UserInterface/CCaption.h b/mozilla/lib/mac/UserInterface/CCaption.h index 24172ae6620..2a90ae319ab 100644 --- a/mozilla/lib/mac/UserInterface/CCaption.h +++ b/mozilla/lib/mac/UserInterface/CCaption.h @@ -83,7 +83,7 @@ class CListenerCaption : public CCaption, public LListener { public: enum { class_ID = 'CCap' }; // class id - enum { default_menu_item = 1 }; // initial defualt menu item + enum { default_menu_item = 1 }; // initial default menu item CListenerCaption( LStream *inStream ); virtual ~CListenerCaption(); diff --git a/mozilla/lib/mac/UserInterface/CMouseDispatcher.cp b/mozilla/lib/mac/UserInterface/CMouseDispatcher.cp index efa4fc61316..9edc45bd79c 100644 --- a/mozilla/lib/mac/UserInterface/CMouseDispatcher.cp +++ b/mozilla/lib/mac/UserInterface/CMouseDispatcher.cp @@ -64,7 +64,7 @@ void CMouseDispatcher::ExecuteSelf( Assert_(inMessage == msg_Event); const EventRecord* theEvent = (const EventRecord*)ioParam; - // High level events dont have the mouse position in the where field + // High level events don't have the mouse position in the where field // of the event record. if (theEvent->what == kHighLevelEvent) return; diff --git a/mozilla/lib/mac/UserInterface/CPatternButton.cp b/mozilla/lib/mac/UserInterface/CPatternButton.cp index d58b67dabf0..594895f4169 100644 --- a/mozilla/lib/mac/UserInterface/CPatternButton.cp +++ b/mozilla/lib/mac/UserInterface/CPatternButton.cp @@ -214,7 +214,7 @@ void CPatternButton::CalcOrientationPoint(Point& outPoint) // the downward scale from 32 to 16 bit coordinate spaces // in converting from SPoint32 to plain old Point // is ok because we are guaranteed to be in bounds since we - // wont be drawing if we cant FocusExposed(). + // won't be drawing if we can't FocusExposed(). SPoint32 theFrameLocation; switch (mOrientation) diff --git a/mozilla/lib/mac/UserInterface/CPatternButtonPopupText.cp b/mozilla/lib/mac/UserInterface/CPatternButtonPopupText.cp index 8343ad9c5a2..35435f9fdee 100644 --- a/mozilla/lib/mac/UserInterface/CPatternButtonPopupText.cp +++ b/mozilla/lib/mac/UserInterface/CPatternButtonPopupText.cp @@ -138,7 +138,7 @@ CPatternButtonPopupText::DrawButtonContent(void) { // draw round rect frame UGraphicGizmos::BevelTintRoundRect(mCachedButtonFrame, 8, 8, UGAAppearance::sGASevenGrayLevels, false); - // draw seperator between text and arrow + // draw saperator between text and arrow UGraphicGizmos::BevelTintLine(mCachedButtonFrame.right - gsPopup_ArrowButtonWidth, mCachedButtonFrame.top + 1, mCachedButtonFrame.right - gsPopup_ArrowButtonWidth, diff --git a/mozilla/lib/mac/UserInterface/CSharedPatternWorld.cp b/mozilla/lib/mac/UserInterface/CSharedPatternWorld.cp index 5cd8a126057..b0a2e5f5cde 100644 --- a/mozilla/lib/mac/UserInterface/CSharedPatternWorld.cp +++ b/mozilla/lib/mac/UserInterface/CSharedPatternWorld.cp @@ -96,7 +96,7 @@ void CSharedPatternWorld::CalcRelativePoint( // the downward scale from 32 to 16 bit coordinate spaces // in converting from SPoint32 to plain old Point // is ok because we are guaranteed to be in bounds since we - // wont be drawing if we cant FocusExposed(). + // won't be drawing if we can't FocusExposed(). switch (inOrientation) { diff --git a/mozilla/lib/mac/UserInterface/LCustomizeMenu.cp b/mozilla/lib/mac/UserInterface/LCustomizeMenu.cp index 2ddf6579688..f97a755e268 100644 --- a/mozilla/lib/mac/UserInterface/LCustomizeMenu.cp +++ b/mozilla/lib/mac/UserInterface/LCustomizeMenu.cp @@ -151,7 +151,7 @@ void LCustomizeMenu::Draw(MenuHandle menu, MenuDefUPP* /* root */, Rect *rect, P // // DrawItemSeparator // -void LCustomizeMenu::DrawItemSeperator(Rect& itemrect ) +void LCustomizeMenu::DrawItemSeparator(Rect& itemrect ) { ::PenPat(&qd.gray); ::MoveTo(itemrect.left, itemrect.top + 8); @@ -284,8 +284,8 @@ void LCustomizeMenu::DrawItem(MenuHandle menu, int item, Rect& itemrect ) ::GetMenuItemText(menu, item, itemtext); if(itemtext[1] == '-') { - // Draw Seperator - DrawItemSeperator(itemrect ); + // Draw Separator + DrawItemSeparator(itemrect); } else { diff --git a/mozilla/lib/mac/UserInterface/LCustomizeMenu.h b/mozilla/lib/mac/UserInterface/LCustomizeMenu.h index 6266877e97a..0f4911752ff 100644 --- a/mozilla/lib/mac/UserInterface/LCustomizeMenu.h +++ b/mozilla/lib/mac/UserInterface/LCustomizeMenu.h @@ -51,7 +51,7 @@ protected: virtual short MeasureItem (MenuHandle menu, int item); // Function called by DrawItem() - virtual void DrawItemSeperator (Rect& itemrect); + virtual void DrawItemSeparator (Rect& itemrect); virtual void DrawItemText (Rect& itemrect, Str255 itemtext ); virtual void DrawItemIcon (Rect& itemrect, short iconindex); virtual void DrawItemCommand (Rect& itemrect, short cmd); diff --git a/mozilla/lib/mac/UserInterface/UGAAppearance.cp b/mozilla/lib/mac/UserInterface/UGAAppearance.cp index 89b4c500c1d..a051757f6e1 100644 --- a/mozilla/lib/mac/UserInterface/UGAAppearance.cp +++ b/mozilla/lib/mac/UserInterface/UGAAppearance.cp @@ -403,7 +403,7 @@ void UGAAppearance::DrawGAPopupDimmedBevelTint( // draw round rect frame UGraphicGizmos::BevelTintRoundRect(frame, 8, 8, sGAFiveGrayLevels, false); - // draw seperator between text and arrow + // draw separator between text and arrow UGraphicGizmos::BevelTintLine(frame.right - gsPopup_ArrowButtonWidth, frame.top + 1, frame.right - gsPopup_ArrowButtonWidth, diff --git a/mozilla/lib/mac/UserInterface/UGraphicGizmos.cp b/mozilla/lib/mac/UserInterface/UGraphicGizmos.cp index b0cdcafb3f6..8e597376b20 100644 --- a/mozilla/lib/mac/UserInterface/UGraphicGizmos.cp +++ b/mozilla/lib/mac/UserInterface/UGraphicGizmos.cp @@ -1590,5 +1590,5 @@ void CIconFamily::CalcBestSize(const Rect& inContainer) mIconRect.bottom = 12; } else - Assert_(false); // you really wont be able to draw in bounds + Assert_(false); // you really won't be able to draw in bounds } diff --git a/mozilla/mail/extensions/offline/install.js b/mozilla/mail/extensions/offline/install.js index b5322c417ab..0a585c4db8a 100644 --- a/mozilla/mail/extensions/offline/install.js +++ b/mozilla/mail/extensions/offline/install.js @@ -31,7 +31,7 @@ if(err == SUCCESS) { } err = performInstall(); if(err == SUCCESS || err == 999) { - alert(APP_DISPLAY_NAME+" "+APP_VERSION+" has been succesfully installed.\n"+APP_SUCCESS_MESSAGE); + alert(APP_DISPLAY_NAME+" "+APP_VERSION+" has been successfully installed.\n"+APP_SUCCESS_MESSAGE); } else { alert("Install failed. Error code:" + err); cancelInstall(err); diff --git a/mozilla/mail/installer/windows/config.it b/mozilla/mail/installer/windows/config.it index ed34f8866ca..3624c3e39e0 100644 --- a/mozilla/mail/installer/windows/config.it +++ b/mozilla/mail/installer/windows/config.it @@ -290,7 +290,7 @@ Title={Integration_Title} Sub Title={Integration_SubTitle} Message0={Integration_Message0} -; Only a maximum of 3 "Windows Integration-Item"s are allowded. Each Item +; Only a maximum of 3 "Windows Integration-Item"s are allowed. Each Item ; shows up as a checkbox in the Windows Integration dialog. [Windows Integration-Item0] CheckBoxState=FALSE diff --git a/mozilla/mailnews/addrbook/src/nsVCard.cpp b/mozilla/mailnews/addrbook/src/nsVCard.cpp index f396d82fad6..7616621a4df 100644 --- a/mozilla/mailnews/addrbook/src/nsVCard.cpp +++ b/mozilla/mailnews/addrbook/src/nsVCard.cpp @@ -1194,7 +1194,7 @@ static int yylex() { } } else { - /* unknow token */ + /* unknown token */ return 0; } break; diff --git a/mozilla/mailnews/base/build/win32.order b/mozilla/mailnews/base/build/win32.order index e60d1f66660..2bc0af7b14f 100644 --- a/mozilla/mailnews/base/build/win32.order +++ b/mozilla/mailnews/base/build/win32.order @@ -277,7 +277,7 @@ ?GetSortType@nsMsgDBView@@UAGIPAH@Z ; 2 ?CreateLiterals@nsMsgFolderDataSource@@IAEIPAVnsIRDFService@@@Z ; 2 ?AdjustRowCount@nsMsgDBView@@IAEIHH@Z ; 2 -?SetSupressMsgDisplay@nsMsgDBView@@UAGIH@Z ; 2 +?SetSuppressMsgDisplay@nsMsgDBView@@UAGIH@Z ; 2 ?SetOpenFolder@nsMsgWindow@@UAGIPAVnsIMsgFolder@@@Z ; 2 ?OnItemBoolPropertyChanged@nsMsgFolderDataSource@@UAGIPAVnsISupports@@PAVnsIAtom@@HH@Z ; 2 ?createRootResources@nsMsgAccountManagerDataSource@@IAEIPAVnsIRDFResource@@PAVnsISupportsArray@@@Z ; 2 diff --git a/mozilla/mailnews/base/src/nsMessenger.cpp b/mozilla/mailnews/base/src/nsMessenger.cpp index d5db3454533..8f1e059a4cc 100644 --- a/mozilla/mailnews/base/src/nsMessenger.cpp +++ b/mozilla/mailnews/base/src/nsMessenger.cpp @@ -1751,7 +1751,7 @@ nsMessenger::SendUnsentMessages(nsIMsgIdentity *aIdentity, nsIMsgWindow *aMsgWin if (NS_SUCCEEDED(rv) && pMsgSendLater) { #ifdef DEBUG - printf("We succesfully obtained a nsIMsgSendLater interface....\n"); + printf("We successfully obtained a nsIMsgSendLater interface....\n"); #endif SendLaterListener *sendLaterListener = new SendLaterListener(this); diff --git a/mozilla/mailnews/base/src/nsMsgAccountManager.h b/mozilla/mailnews/base/src/nsMsgAccountManager.h index 88d3330586d..2d24bdc48ca 100644 --- a/mozilla/mailnews/base/src/nsMsgAccountManager.h +++ b/mozilla/mailnews/base/src/nsMsgAccountManager.h @@ -129,7 +129,7 @@ private: nsresult removeKeyedAccount(const char *key); - // sets the pref for the defualt server + // sets the pref for the default server nsresult setDefaultAccountPref(nsIMsgAccount *aDefaultAccount); // fires notifications to the appropriate root folders diff --git a/mozilla/mailnews/base/src/nsMsgFolderCache.cpp b/mozilla/mailnews/base/src/nsMsgFolderCache.cpp index 396d46af791..91b1116b033 100644 --- a/mozilla/mailnews/base/src/nsMsgFolderCache.cpp +++ b/mozilla/mailnews/base/src/nsMsgFolderCache.cpp @@ -257,7 +257,7 @@ nsresult nsMsgFolderCache::OpenMDB(const char *dbName, PRBool exists) { ret = thumb->DoMore(m_mdbEnv, &outTotal, &outCurrent, &outDone, &outBroken); if (ret != 0) - {// mork isn't really doing NS erorrs yet. + {// mork isn't really doing NS errors yet. outDone = PR_TRUE; break; } diff --git a/mozilla/mailnews/build/win32.order b/mozilla/mailnews/build/win32.order index e60d1f66660..2bc0af7b14f 100644 --- a/mozilla/mailnews/build/win32.order +++ b/mozilla/mailnews/build/win32.order @@ -277,7 +277,7 @@ ?GetSortType@nsMsgDBView@@UAGIPAH@Z ; 2 ?CreateLiterals@nsMsgFolderDataSource@@IAEIPAVnsIRDFService@@@Z ; 2 ?AdjustRowCount@nsMsgDBView@@IAEIHH@Z ; 2 -?SetSupressMsgDisplay@nsMsgDBView@@UAGIH@Z ; 2 +?SetSuppressMsgDisplay@nsMsgDBView@@UAGIH@Z ; 2 ?SetOpenFolder@nsMsgWindow@@UAGIPAVnsIMsgFolder@@@Z ; 2 ?OnItemBoolPropertyChanged@nsMsgFolderDataSource@@UAGIPAVnsISupports@@PAVnsIAtom@@HH@Z ; 2 ?createRootResources@nsMsgAccountManagerDataSource@@IAEIPAVnsIRDFResource@@PAVnsISupportsArray@@@Z ; 2 diff --git a/mozilla/mailnews/compose/src/nsMsgCompose.cpp b/mozilla/mailnews/compose/src/nsMsgCompose.cpp index 88495ceeda7..f6f87251920 100644 --- a/mozilla/mailnews/compose/src/nsMsgCompose.cpp +++ b/mozilla/mailnews/compose/src/nsMsgCompose.cpp @@ -1277,11 +1277,11 @@ NS_IMETHODIMP nsMsgCompose::CloseWindow(PRBool recycleIt) /** * In order to really free the memory, we need to call the JS garbage collector for our window. - * If we don't call GC, the nsIMsgCompose object hold by JS will not be released despite we set - * the JS global that hold it to null. Each time we reopen a recycled window, we allocate a new - * nsIMsgCompose that we really need to be releazed when we recycle the window. In fact despite - * we call GC here atfer the release wont occurs right away. But if we don't call it, the release - * will apppend only when we phisically close the window which will append only on quit. + * If we don't call GC, the nsIMsgCompose object held by JS will not be released despite we set + * the JS global that held it to null. Each time we reopen a recycled window, we allocate a new + * nsIMsgCompose that we really need to be released when we recycle the window. In fact despite + * we call GC here, the release won't occur right away. But if we don't call it, the release + * will happen only when we physically close the window which will happen only on quit. */ nsCOMPtr sgo(do_QueryInterface(m_window)); if (sgo) @@ -1301,7 +1301,7 @@ NS_IMETHODIMP nsMsgCompose::CloseWindow(PRBool recycleIt) if (m_editor) { /* The editor will be destroyed during yje close window. - * Set it to null to be sure we wont uses it anymore + * Set it to null to be sure we won't use it anymore */ m_editor = nsnull; } @@ -2689,7 +2689,7 @@ nsMsgCompose::QuoteOriginalMessage(const char *originalMsgURI, PRInt32 what) // return rv; } -//CleanUpRecipient will remove un-necesary "<>" when a recipient as an address without name +//CleanUpRecipient will remove un-necessary "<>" when a recipient as an address without name void nsMsgCompose::CleanUpRecipients(nsString& recipients) { PRUint16 i; diff --git a/mozilla/mailnews/compose/src/nsSmtpService.cpp b/mozilla/mailnews/compose/src/nsSmtpService.cpp index 71041b98cf9..80f7cb5269c 100644 --- a/mozilla/mailnews/compose/src/nsSmtpService.cpp +++ b/mozilla/mailnews/compose/src/nsSmtpService.cpp @@ -618,7 +618,7 @@ nsSmtpService::GetDefaultServer(nsISmtpServer **aServer) // nothing in the array, we had better create a new server // (which will add it to the array & prefs anyway) if (count == 0) - return nsnull;//if there are no smtp servers then dont create one for the default. + return nsnull;//if there are no smtp servers then don't create one for the default. else rv = mSmtpServers->QueryElementAt(0, NS_GET_IID(nsISmtpServer), (void **)getter_AddRefs(mDefaultSmtpServer)); diff --git a/mozilla/mailnews/db/msgdb/src/nsMsgDatabase.cpp b/mozilla/mailnews/db/msgdb/src/nsMsgDatabase.cpp index 63431352697..a4b75be9973 100644 --- a/mozilla/mailnews/db/msgdb/src/nsMsgDatabase.cpp +++ b/mozilla/mailnews/db/msgdb/src/nsMsgDatabase.cpp @@ -1238,7 +1238,7 @@ nsresult nsMsgDatabase::OpenMDB(const char *dbName, PRBool create) { ret = thumb->DoMore(m_mdbEnv, &outTotal, &outCurrent, &outDone, &outBroken); if (ret != 0) - {// mork isn't really doing NS erorrs yet. + {// mork isn't really doing NS errors yet. outDone = PR_TRUE; break; } diff --git a/mozilla/mailnews/imap/src/nsImapProtocol.cpp b/mozilla/mailnews/imap/src/nsImapProtocol.cpp index d82e69b8fb7..234a771bf9d 100644 --- a/mozilla/mailnews/imap/src/nsImapProtocol.cpp +++ b/mozilla/mailnews/imap/src/nsImapProtocol.cpp @@ -2007,7 +2007,7 @@ void nsImapProtocol::ProcessSelectedStateURL() { nsXPIDLCString messageIdString; m_runningUrl->CreateListOfMessageIdsString(getter_Copies(messageIdString)); - // we dont want to send the flags back in a group + // we don't want to send the flags back in a group // GetServerStateParser().ResetFlagInfo(0); if (HandlingMultipleMessages(messageIdString) || m_imapAction == nsIImapUrl::nsImapMsgDownloadForOffline || m_imapAction == nsIImapUrl::nsImapMsgFetchPeek || m_imapAction == nsIImapUrl::nsImapMsgPreview) diff --git a/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp b/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp index e44891b3ccb..409a266af62 100644 --- a/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp +++ b/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp @@ -292,7 +292,7 @@ void nsImapServerResponseParser::ParseIMAPServerResponse(const char *currentComm if (ContinueParse() && !CommandFailed()) { - // a sucessful command may change the eIMAPstate + // a successful command may change the eIMAPstate ProcessOkCommand(commandToken); } else if (CommandFailed()) diff --git a/mozilla/mailnews/import/oexpress/nsOEStringBundle.h b/mozilla/mailnews/import/oexpress/nsOEStringBundle.h index 07b547cc416..8e9b1af8b5e 100644 --- a/mozilla/mailnews/import/oexpress/nsOEStringBundle.h +++ b/mozilla/mailnews/import/oexpress/nsOEStringBundle.h @@ -46,7 +46,7 @@ class nsOEStringBundle { public: static PRUnichar * GetStringByID(PRInt32 stringID, nsIStringBundle *pBundle = nsnull); static void GetStringByID(PRInt32 stringID, nsString& result, nsIStringBundle *pBundle = nsnull); - static nsIStringBundle * GetStringBundle( void); // dont release + static nsIStringBundle * GetStringBundle( void); // don't release static void FreeString( PRUnichar *pStr) { nsCRT::free( pStr);} static void Cleanup( void); static nsIStringBundle * GetStringBundleProxy( void); // release diff --git a/mozilla/mailnews/import/src/nsImportStringBundle.h b/mozilla/mailnews/import/src/nsImportStringBundle.h index 139737bd692..6cc306808a7 100644 --- a/mozilla/mailnews/import/src/nsImportStringBundle.h +++ b/mozilla/mailnews/import/src/nsImportStringBundle.h @@ -46,7 +46,7 @@ class nsImportStringBundle { public: static PRUnichar * GetStringByID(PRInt32 stringID, nsIStringBundle *pBundle = nsnull); static void GetStringByID(PRInt32 stringID, nsString& result, nsIStringBundle *pBundle = nsnull); - static nsIStringBundle * GetStringBundle( void); // dont release + static nsIStringBundle * GetStringBundle( void); // don't release static void FreeString( PRUnichar *pStr) { nsCRT::free( pStr);} static void Cleanup( void); static nsIStringBundle * GetStringBundleProxy( void); // release diff --git a/mozilla/mailnews/local/src/nsPop3Protocol.cpp b/mozilla/mailnews/local/src/nsPop3Protocol.cpp index 8d4b16c820b..537c0998099 100644 --- a/mozilla/mailnews/local/src/nsPop3Protocol.cpp +++ b/mozilla/mailnews/local/src/nsPop3Protocol.cpp @@ -1994,7 +1994,7 @@ nsPop3Protocol::GetStat() if (!m_pop3ConData->only_check_for_new_mail) { // The following was added to prevent the loss of Data when we try and - // write to somewhere we dont have write access error to (See bug 62480) + // write to somewhere we don't have write access error to (See bug 62480) // (Note: This is only a temp hack until the underlying XPCOM is fixed // to return errors) @@ -3214,7 +3214,7 @@ nsPop3Protocol::RetrResponse(nsIInputStream* inputStream, m_pop3ConData->truncating_cur_msg ? m_pop3ConData->cur_msg_size : 0); // The following was added to prevent the loss of Data when we try - // and write to somewhere we dont have write access error to (See + // and write to somewhere we don't have write access error to (See // bug 62480) // (Note: This is only a temp hack until the underlying XPCOM is // fixed to return errors) @@ -3385,7 +3385,7 @@ nsPop3Protocol::HandleLine(char *line, PRUint32 line_length) m_pop3ConData->truncating_cur_msg ? m_pop3ConData->cur_msg_size : 0); // The following was added to prevent the loss of Data when we try - // and write to somewhere we dont have write access error to (See + // and write to somewhere we don't have write access error to (See // bug 62480) // (Note: This is only a temp hack until the underlying XPCOM is // fixed to return errors) diff --git a/mozilla/mailnews/mime/emitters/src/nsMimeBaseEmitter.h b/mozilla/mailnews/mime/emitters/src/nsMimeBaseEmitter.h index b788d6fbe83..5f6b8c45794 100644 --- a/mozilla/mailnews/mime/emitters/src/nsMimeBaseEmitter.h +++ b/mozilla/mailnews/mime/emitters/src/nsMimeBaseEmitter.h @@ -132,7 +132,7 @@ protected: MimeRebuffer *mBufferMgr; // mscott - // dont ref count the streams....the emitter is owned by the converter + // don't ref count the streams....the emitter is owned by the converter // which owns these streams... // nsIOutputStream *mOutStream; diff --git a/mozilla/mailnews/mime/src/mimehdrs.cpp b/mozilla/mailnews/mime/src/mimehdrs.cpp index fbdfdcefd6b..ba1f4fac5b9 100644 --- a/mozilla/mailnews/mime/src/mimehdrs.cpp +++ b/mozilla/mailnews/mime/src/mimehdrs.cpp @@ -397,7 +397,7 @@ MimeHeaders_get (MimeHeaders *hdrs, const char *header_name, while (contents <= end && nsCRT::IsAsciiSpace(*contents)) contents++; - /* If we're supposed to strip at the frist token, pull `end' back to + /* If we're supposed to strip at the first token, pull `end' back to the first whitespace or ';' after the first token. */ if (strip_p) diff --git a/mozilla/modules/edtplug/classes/netscape/plugin/composer/ImageEncoder.java b/mozilla/modules/edtplug/classes/netscape/plugin/composer/ImageEncoder.java index de917e35842..56ef325cf94 100644 --- a/mozilla/modules/edtplug/classes/netscape/plugin/composer/ImageEncoder.java +++ b/mozilla/modules/edtplug/classes/netscape/plugin/composer/ImageEncoder.java @@ -70,7 +70,7 @@ import java.util.Enumeration; * framework: *
      * netscape.plugin.composer.imageEncoder.factory - a single classname of a Factory class.
    - * netscape.plugin.composer.imageEncoder.classes - a colon-seperated list of the classnames of the plugins in
    + * netscape.plugin.composer.imageEncoder.classes - a colon-separated list of the classnames of the plugins in
      * this archive.
      * 
    *

    Your encoder's class name should be listed as the value of the diff --git a/mozilla/modules/edtplug/classes/netscape/plugin/composer/Plugin.java b/mozilla/modules/edtplug/classes/netscape/plugin/composer/Plugin.java index 35f5c148b76..251c1d4d0f8 100644 --- a/mozilla/modules/edtplug/classes/netscape/plugin/composer/Plugin.java +++ b/mozilla/modules/edtplug/classes/netscape/plugin/composer/Plugin.java @@ -73,9 +73,9 @@ import java.util.ResourceBundle; * framework: *

      * netscape.plugin.composer.factory - a single classname of a Factory class.
    - * netscape.plugin.composer.classes - a colon-seperated list of the classnames of
    + * netscape.plugin.composer.classes - a colon-separated list of the classnames of
      *     the plugins in this archive.
    - * netscape.plugin.composer.eventHandlers - a colon-seperated list of the classnames
    + * netscape.plugin.composer.eventHandlers - a colon-separated list of the classnames
      *     of the plugins in this archive to execute when an event happens. See Document
      *     for a list of the standard events.
      * 
    diff --git a/mozilla/modules/edtplug/classes/netscape/plugin/composer/mapedit/InfoDialog.java b/mozilla/modules/edtplug/classes/netscape/plugin/composer/mapedit/InfoDialog.java index a3a8ba64f68..8ef2d675d57 100644 --- a/mozilla/modules/edtplug/classes/netscape/plugin/composer/mapedit/InfoDialog.java +++ b/mozilla/modules/edtplug/classes/netscape/plugin/composer/mapedit/InfoDialog.java @@ -135,7 +135,7 @@ class MultiLineLabel extends Canvas { } } - // Here are four versions of the cosntrutor. + // Here are four versions of the constructor. // Break the label up into separate lines, and save the other info. public MultiLineLabel(String label, int margin_width, int margin_height, int alignment) { diff --git a/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/ReleaseNotes.html b/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/ReleaseNotes.html index 16649006267..5cf65c21612 100644 --- a/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/ReleaseNotes.html +++ b/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/ReleaseNotes.html @@ -144,7 +144,7 @@ to include this fix.
  • The Java 1.1 classes that used to be in classes.zip have been moved -to a seperate zip file, fakejava11.zip. If you are developing under JDK +to a separate zip file, fakejava11.zip. If you are developing under JDK 1.0.2, include both classes.zip and fakejava11.zip in your classpath. If you are developing under JDK 1.1, only include classes.zip.
  • diff --git a/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/Test.java b/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/Test.java index 629152410b0..29e017c7480 100644 --- a/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/Test.java +++ b/mozilla/modules/edtplug/classes/netscape/test/plugin/composer/Test.java @@ -45,7 +45,7 @@ import java.net.*; import java.util.*; /** The composer plugin testbed. Allows you to test your plugin - * seperately from the Netscape Composer. + * separately from the Netscape Composer. * *
      *
    diff --git a/mozilla/modules/libjar/nsZipArchive.cpp b/mozilla/modules/libjar/nsZipArchive.cpp
    index f6834649465..66e6fdc8609 100644
    --- a/mozilla/modules/libjar/nsZipArchive.cpp
    +++ b/mozilla/modules/libjar/nsZipArchive.cpp
    @@ -553,7 +553,7 @@ PRInt32 nsZipArchive::CloseArchive()
       PL_FinishArenaPool(&mArena);
     
       // CAUTION:
    -  // We dont need to delete each of the nsZipItem as the memory for
    +  // We don't need to delete each of the nsZipItem as the memory for
       // the zip item and the filename it holds are both allocated from the Arena.
       // Hence, destroying the Arena is like destroying all the memory
       // for all the nsZipItem in one shot. But if the ~nsZipItem is doing
    diff --git a/mozilla/modules/libjar/nsZlibAllocator.h b/mozilla/modules/libjar/nsZlibAllocator.h
    index 9b3b530e806..5dcc938f26d 100644
    --- a/mozilla/modules/libjar/nsZlibAllocator.h
    +++ b/mozilla/modules/libjar/nsZlibAllocator.h
    @@ -74,7 +74,7 @@ class nsZlibAllocator {
           PRBool claimed = Claim(i);
           
           // ASSERT that we claimed the bucked. If we cannot, then the bucket is in use.
    -      // We dont attempt to free this ptr.
    +      // We don't attempt to free this ptr.
           // This will most likely cause a leak of this memory.
           PR_ASSERT(claimed);
           
    diff --git a/mozilla/modules/libnls/headers/decimfmt.h b/mozilla/modules/libnls/headers/decimfmt.h
    index b7ad558c8e5..ae782f7191f 100644
    --- a/mozilla/modules/libnls/headers/decimfmt.h
    +++ b/mozilla/modules/libnls/headers/decimfmt.h
    @@ -124,7 +124,7 @@ class DigitList;
      * 
      * .    Symbol   Meaning
      * .      0      a digit, showing up a zero if it is zero
    - * .      #      a digit, supressed if zero
    + * .      #      a digit, suppressed if zero
      * .      .      placeholder for decimal separator
      * .      ,      placeholder for grouping separator
      * .      ;      separates postive from negative formats
    diff --git a/mozilla/modules/libnls/headers/ptypes.h b/mozilla/modules/libnls/headers/ptypes.h
    index 8aba09a9748..36c9e4260f3 100644
    --- a/mozilla/modules/libnls/headers/ptypes.h
    +++ b/mozilla/modules/libnls/headers/ptypes.h
    @@ -339,7 +339,7 @@ public:
        static const char*  getDefaultDataDirectory();
     
         /* complete a relative path to a full pathname, and convert to platform-specific syntax. */
    -    /* The character seperating directories for the relative path is '|'.                    */
    +    /* The character separating directories for the relative path is '|'.                    */
         static void pathnameInContext( char* fullname, t_int32 maxsize, char* relpath );
     
     	/* Return the default locale ID string by querying ths system, or
    @@ -347,7 +347,7 @@ public:
     	static const char*	getDefaultLocaleID();
     
     	/**
    -	 * Retrun true if this platform is big-endian, that is, if the number
    +	 * Return true if this platform is big-endian, that is, if the number
     	 * 0x1234 is stored 0x12, 0x34 in memory.  Return false if this platform
     	 * is little-endian, and is, if 0x1234 is stored 0x34, 0x12 in memory.
     	 */
    diff --git a/mozilla/modules/libpref/src/init/all.js b/mozilla/modules/libpref/src/init/all.js
    index 323afdfd21a..6966e52ab04 100644
    --- a/mozilla/modules/libpref/src/init/all.js
    +++ b/mozilla/modules/libpref/src/init/all.js
    @@ -201,7 +201,7 @@ pref("print.show_print_progress", true);
     // xxxbsmedberg: more toolkit prefs
     
     // When this is set to false each window has its own PrintSettings
    -// and a chnage in one window does not affect the others
    +// and a change in one window does not affect the others
     pref("print.use_global_printsettings", true);
     
     // Use the native dialog or the XP dialog?
    diff --git a/mozilla/modules/libtest/src/nsTestEventsApi.cpp b/mozilla/modules/libtest/src/nsTestEventsApi.cpp
    index 0a4b81ffa7f..29519bc91f8 100644
    --- a/mozilla/modules/libtest/src/nsTestEventsApi.cpp
    +++ b/mozilla/modules/libtest/src/nsTestEventsApi.cpp
    @@ -17,7 +17,7 @@ private:
     	nsrefcnt mRefCnt;
     
     public:
    -// Constructor and Destuctor
    +// Constructor and Destructor
     	nsTestEventsApi();
     	~nsTestEventsApi();
     
    diff --git a/mozilla/modules/libtest/src/nsTestQueryApi.cpp b/mozilla/modules/libtest/src/nsTestQueryApi.cpp
    index 0754ea9877d..5d340d9ab52 100644
    --- a/mozilla/modules/libtest/src/nsTestQueryApi.cpp
    +++ b/mozilla/modules/libtest/src/nsTestQueryApi.cpp
    @@ -17,7 +17,7 @@ private:
     	nsrefcnt mRefCnt;
     
     public:
    -// Constructor and Destuctor
    +// Constructor and Destructor
     	nsTestQueryApi();
     	~nsTestQueryApi();
     
    diff --git a/mozilla/modules/oji/tests/FAQ b/mozilla/modules/oji/tests/FAQ
    index 597544d54c4..51676a0c105 100644
    --- a/mozilla/modules/oji/tests/FAQ
    +++ b/mozilla/modules/oji/tests/FAQ
    @@ -134,7 +134,7 @@ NOTE: These API tests are build using Gnu Compiler gcc.
     
     
     13) On executing autorun.pl, browser always invokes "Profile Window". Is there
    -    any way to supress this box.
    +    any way to suppress this box.
     
        In autorun.pl, search of ADDITIONAL_PARAMETERS. It is set to "-P default"
        Change it to reflect your Profile name  (-P myProfile)
    diff --git a/mozilla/modules/oji/tests/script/OJIAPITestsDescr.html b/mozilla/modules/oji/tests/script/OJIAPITestsDescr.html
    index 2c27f8a7d31..b57ddf7ccab 100755
    --- a/mozilla/modules/oji/tests/script/OJIAPITestsDescr.html
    +++ b/mozilla/modules/oji/tests/script/OJIAPITestsDescr.html
    @@ -728,7 +728,7 @@ OJI API Tests Descriptions
     
    - + diff --git a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_1.cpp b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_1.cpp index 3925168fba2..242720a95cc 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_1.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_1.cpp @@ -46,9 +46,9 @@ JNI_OJIAPITest(JNIEnv_GetMethodID_1) if(MethodID == NULL){ - return TestResult::PASS("GetMethodID with class == NULL return 0, its correct"); + return TestResult::PASS("GetMethodID with class == NULL return 0, it's correct"); }else{ - return TestResult::FAIL("GetMethodID with class == NULL doesnt return 0, its incorrect"); + return TestResult::FAIL("GetMethodID with class == NULL doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_2.cpp b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_2.cpp index a8fd433c22d..1d6f03b9fed 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_2.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_2.cpp @@ -44,9 +44,9 @@ JNI_OJIAPITest(JNIEnv_GetMethodID_2) IMPLEMENT_GetMethodID_METHOD("Test1", "Print_string", NULL); if(MethodID == NULL){ - return TestResult::PASS("GetMethodID with sig==NULL return 0, its correct"); + return TestResult::PASS("GetMethodID with sig==NULL return 0, it's correct"); }else{ - return TestResult::FAIL("GetMethodID with sig==NULL doesnt return 0, its incorrect"); + return TestResult::FAIL("GetMethodID with sig==NULL doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_3.cpp b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_3.cpp index 85f3da76bf2..fa2c66bb123 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_3.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_3.cpp @@ -46,8 +46,8 @@ JNI_OJIAPITest(JNIEnv_GetMethodID_3) if(MethodID == NULL){ - return TestResult::PASS("GetMethodID for name = NULL return 0, its correct"); + return TestResult::PASS("GetMethodID for name = NULL return 0, it's correct"); }else{ - return TestResult::FAIL("GetMethodID for name = NULL doesnt return 0, its incorrect"); + return TestResult::FAIL("GetMethodID for name = NULL doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_4.cpp b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_4.cpp index 0226219886b..acaac241315 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_4.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_4.cpp @@ -45,9 +45,9 @@ JNI_OJIAPITest(JNIEnv_GetMethodID_4) //env->CallVoidMethod(obj, MethodID, NULL); if(MethodID == NULL){ - return TestResult::PASS("GetMethodID with incorrect sig return 0, its correct"); + return TestResult::PASS("GetMethodID with incorrect sig return 0, it's correct"); }else{ - return TestResult::FAIL("GetMethodID with incorrect sig doesnt return 0, its incorrect"); + return TestResult::FAIL("GetMethodID with incorrect sig doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_5.cpp b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_5.cpp index 9eae71c08d1..c9caba81996 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_5.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingInstanceMethods/GetMethodID_5.cpp @@ -53,8 +53,8 @@ JNI_OJIAPITest(JNIEnv_GetMethodID_5) if(MethodID == NULL && env->ExceptionOccurred()) { env->ExceptionDescribe(); //exception should be thrown){ - return TestResult::PASS("GetMethodID for not existing name return 0, its correct"); + return TestResult::PASS("GetMethodID for not existing name return 0, it's correct"); }else{ - return TestResult::FAIL("GetMethodID for not existing name doesnt return 0, its incorrect"); + return TestResult::FAIL("GetMethodID for not existing name doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_1.cpp b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_1.cpp index fce432c922c..89b26d5eae6 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_1.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_1.cpp @@ -46,9 +46,9 @@ JNI_OJIAPITest(JNIEnv_GetStaticMethodID_1) if(MethodID == NULL){ - return TestResult::PASS("GetStaticMethodID with class == NULL return 0, its correct"); + return TestResult::PASS("GetStaticMethodID with class == NULL return 0, it's correct"); }else{ - return TestResult::FAIL("GetStaticMethodID with class == NULL doesnt return 0, its incorrect"); + return TestResult::FAIL("GetStaticMethodID with class == NULL doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_2.cpp b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_2.cpp index 313e7d245c4..8f5df8ea10b 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_2.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_2.cpp @@ -44,9 +44,9 @@ JNI_OJIAPITest(JNIEnv_GetStaticMethodID_2) IMPLEMENT_GetStaticMethodID_METHOD("Test1", "Print_string_static", NULL); if(MethodID == NULL){ - return TestResult::PASS("GetStaticMethodID with sig==NULL return 0, its correct"); + return TestResult::PASS("GetStaticMethodID with sig==NULL return 0, it's correct"); }else{ - return TestResult::FAIL("GetStaticMethodID with sig==NULL doesnt return 0, its incorrect"); + return TestResult::FAIL("GetStaticMethodID with sig==NULL doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_3.cpp b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_3.cpp index 049a0c7dd9f..4f776bfba4a 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_3.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_3.cpp @@ -46,8 +46,8 @@ JNI_OJIAPITest(JNIEnv_GetStaticMethodID_3) if(MethodID == NULL){ - return TestResult::PASS("GetStaticMethodID for name = NULL return 0, its correct"); + return TestResult::PASS("GetStaticMethodID for name = NULL return 0, it's correct"); }else{ - return TestResult::FAIL("GetStaticMethodID for name = NULL doesnt return 0, its incorrect"); + return TestResult::FAIL("GetStaticMethodID for name = NULL doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_4.cpp b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_4.cpp index a5dae8419dd..ca2fa20a476 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_4.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_4.cpp @@ -45,9 +45,9 @@ JNI_OJIAPITest(JNIEnv_GetStaticMethodID_4) //env->CallVoidMethod(clazz, MethodID, NULL); if(MethodID == NULL){ - return TestResult::PASS("GetStaticMethodID with incorrect sig return 0, its correct"); + return TestResult::PASS("GetStaticMethodID with incorrect sig return 0, it's correct"); }else{ - return TestResult::FAIL("GetStaticMethodID with incorrect sig doesnt return 0, its incorrect"); + return TestResult::FAIL("GetStaticMethodID with incorrect sig doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_5.cpp b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_5.cpp index eb12f3cd894..0c39d7e045f 100755 --- a/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_5.cpp +++ b/mozilla/modules/oji/tests/src/JNI/CallingStaticMethods/GetStaticMethodID_5.cpp @@ -45,8 +45,8 @@ JNI_OJIAPITest(JNIEnv_GetStaticMethodID_5) //env->CallVoidMethod(clazz, MethodID, 10); if(MethodID == NULL){ - return TestResult::PASS("GetStaticMethodID for not existing name return 0, its correct"); + return TestResult::PASS("GetStaticMethodID for not existing name return 0, it's correct"); }else{ - return TestResult::FAIL("GetStaticMethodID for not existing name doesnt return 0, its incorrect"); + return TestResult::FAIL("GetStaticMethodID for not existing name doesn't return 0, it's incorrect"); } } diff --git a/mozilla/modules/oji/tests/src/JNI/ClassOperation/FindClass_1.cpp b/mozilla/modules/oji/tests/src/JNI/ClassOperation/FindClass_1.cpp index da4ccb775b8..34136ce70b3 100755 --- a/mozilla/modules/oji/tests/src/JNI/ClassOperation/FindClass_1.cpp +++ b/mozilla/modules/oji/tests/src/JNI/ClassOperation/FindClass_1.cpp @@ -44,7 +44,7 @@ JNI_OJIAPITest(JNIEnv_FindClass_1) jclass clazz = env->FindClass(NULL); if(clazz!=NULL){ - return TestResult::FAIL("FindClass(NULL) doesnt return NULL - incorrect"); + return TestResult::FAIL("FindClass(NULL) doesn't return NULL - incorrect"); } return TestResult::PASS("FindClass(NULL) return NULL - correct"); diff --git a/mozilla/modules/oji/tests/src/JNI/ObjectOperations/IsInstanceOf_3.cpp b/mozilla/modules/oji/tests/src/JNI/ObjectOperations/IsInstanceOf_3.cpp index b93fd0cdcf8..c65e5141a8c 100755 --- a/mozilla/modules/oji/tests/src/JNI/ObjectOperations/IsInstanceOf_3.cpp +++ b/mozilla/modules/oji/tests/src/JNI/ObjectOperations/IsInstanceOf_3.cpp @@ -49,9 +49,9 @@ JNI_OJIAPITest(JNIEnv_IsInstanceOf_3) if(env->IsInstanceOf(obj1, clazz3)){ - return TestResult::FAIL("IsInstanceOf(some obj, isnt superclass or class) return incorrect value"); + return TestResult::FAIL("IsInstanceOf(some obj, isn't superclass or class) return incorrect value"); }else{ - return TestResult::PASS("IsInstanceOf(some obj, isnt superclass or class) return correct value"); + return TestResult::PASS("IsInstanceOf(some obj, isn't superclass or class) return correct value"); } diff --git a/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp b/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp index 189b82d1e4b..6cc49a1a16a 100644 --- a/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp +++ b/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp @@ -1059,7 +1059,7 @@ nsresult ns4xPluginInstance::InitializePlugin(nsIPluginInstancePeer* peer) // and free it at line #2096, so it couldn't be a const ptr to string literal char *val = (char*) values[i]; if (val && *val) { - // we cannot just *val=0, it wont be free properly in such case + // we cannot just *val=0, it won't be free properly in such case val[0] = '0'; val[1] = 0; } diff --git a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp index 289155df86a..818cb076cc0 100644 --- a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -4914,9 +4914,9 @@ nsresult nsPluginHostImpl::ScanPluginsDirectory(nsIFile * pluginsDir, delete pfd; if (pluginTag) { - // If plugin changed, delete cachedPluginTag and dont use cache + // If plugin changed, delete cachedPluginTag and don't use cache if (LL_NE(fileModTime, pluginTag->mLastModifiedTime)) { - // Plugins has changed. Dont use cached plugin info. + // Plugins has changed. Don't use cached plugin info. delete pluginTag; pluginTag = nsnull; diff --git a/mozilla/modules/plugin/samples/4x-scriptable/doc.html b/mozilla/modules/plugin/samples/4x-scriptable/doc.html index 820d8e37fc7..77d6e54968e 100644 --- a/mozilla/modules/plugin/samples/4x-scriptable/doc.html +++ b/mozilla/modules/plugin/samples/4x-scriptable/doc.html @@ -135,7 +135,7 @@ public nsISecurityCheckedComponent
    {
      return NS_OK;
    } -

    // the purpose of the rest of the code is to get succesfully +

    // the purpose of the rest of the code is to get successfully
    // through the Mozilla Security Manager
    static const char gAllAccess[] = "AllAccess";
    NS_IMETHODIMP nsScriptablePeer::CanCreateWrapper(const nsIID * diff --git a/mozilla/modules/plugin/samples/backward/badapter.cpp b/mozilla/modules/plugin/samples/backward/badapter.cpp index 43989a4b9b8..b7c6e4169a1 100644 --- a/mozilla/modules/plugin/samples/backward/badapter.cpp +++ b/mozilla/modules/plugin/samples/backward/badapter.cpp @@ -855,7 +855,7 @@ NPP_SetWindow(NPP instance, NPWindow* window) // NPP_NewStream: // Notifies an instance of a new data stream and returns an error value. // -// Create a stream peer and stream. If succesful, save +// Create a stream peer and stream. If successful, save // the stream peer in NPStream's pdata. //+++++++++++++++++++++++++++++++++++++++++++++++++ diff --git a/mozilla/modules/plugin/samples/default/os2/npshell.cpp b/mozilla/modules/plugin/samples/default/os2/npshell.cpp index 9bc0ebbb7cd..dc3dbebbc4c 100644 --- a/mozilla/modules/plugin/samples/default/os2/npshell.cpp +++ b/mozilla/modules/plugin/samples/default/os2/npshell.cpp @@ -251,7 +251,7 @@ NPP_WriteReady(NPP pInstance, NPStream *stream) CPlugin * pPlugin = (CPlugin *)pInstance->pdata; assert(pPlugin != NULL); - return -1L; // dont accept any bytes in NPP_Write() + return -1L; // don't accept any bytes in NPP_Write() } //------------------------------------------------------------------------------------ diff --git a/mozilla/modules/plugin/samples/default/unix/npunix.c b/mozilla/modules/plugin/samples/default/unix/npunix.c index f3045e5183b..452f8ec5f89 100644 --- a/mozilla/modules/plugin/samples/default/unix/npunix.c +++ b/mozilla/modules/plugin/samples/default/unix/npunix.c @@ -405,7 +405,7 @@ NP_GetValue(void* future, NPPVariable variable, void *value) * * PARAMETERS * nsTable - The netscape function table. If developers just use these - * wrappers, they dont need to worry about all these function + * wrappers, they don't need to worry about all these function * tables. * RETURN * pluginFuncs diff --git a/mozilla/modules/plugin/samples/default/windows/npshell.cpp b/mozilla/modules/plugin/samples/default/windows/npshell.cpp index 1f57eef586f..b7d2683d4a1 100644 --- a/mozilla/modules/plugin/samples/default/windows/npshell.cpp +++ b/mozilla/modules/plugin/samples/default/windows/npshell.cpp @@ -255,7 +255,7 @@ NPP_WriteReady(NPP pInstance, NPStream *stream) // We don't want any data, kill the stream NPN_DestroyStream(pInstance, stream, NPRES_DONE); - return -1L; // dont accept any bytes in NPP_Write() + return -1L; // don't accept any bytes in NPP_Write() } //------------------------------------------------------------------------------------ diff --git a/mozilla/modules/plugin/samples/testevents/README.txt b/mozilla/modules/plugin/samples/testevents/README.txt index 57bb00478f6..27f9efb56fe 100644 --- a/mozilla/modules/plugin/samples/testevents/README.txt +++ b/mozilla/modules/plugin/samples/testevents/README.txt @@ -30,7 +30,7 @@ with focus. PROBLEMS: * Plugins on Windows don't have event messages. -* Plugins on Windows dont have key-pressed messages (only keyup and down) +* Plugins on Windows don't have key-pressed messages (only keyup and down) * Focus interaction is not correct (probably need a focus event) diff --git a/mozilla/modules/plugin/samples/testevents/npevents.cpp b/mozilla/modules/plugin/samples/testevents/npevents.cpp index 5d88adfce4c..95d032c2cb3 100644 --- a/mozilla/modules/plugin/samples/testevents/npevents.cpp +++ b/mozilla/modules/plugin/samples/testevents/npevents.cpp @@ -853,7 +853,7 @@ LRESULT CALLBACK EventsPluginInstance::WndProcChild(HWND hWnd, UINT Msg, WPARAM EventsPluginInstance* inst = (EventsPluginInstance*) GetProp(hWnd, gInstanceLookupString); NS_ABORT_IF_FALSE(inst, "Could not get the inst from the Window!!"); switch (Msg) { - // NOTE: We DONT pass on DBLCLK messages, as both Scintilla and + // NOTE: We DON'T pass on DBLCLK messages, as both Scintilla and // Mozilla have their own special logic, and they step on each other. // (causing our child to see a double-click as a triple-click) case WM_KEYDOWN: diff --git a/mozilla/modules/plugin/samples/unixprinting/npunix.c b/mozilla/modules/plugin/samples/unixprinting/npunix.c index f3045e5183b..452f8ec5f89 100644 --- a/mozilla/modules/plugin/samples/unixprinting/npunix.c +++ b/mozilla/modules/plugin/samples/unixprinting/npunix.c @@ -405,7 +405,7 @@ NP_GetValue(void* future, NPPVariable variable, void *value) * * PARAMETERS * nsTable - The netscape function table. If developers just use these - * wrappers, they dont need to worry about all these function + * wrappers, they don't need to worry about all these function * tables. * RETURN * pluginFuncs diff --git a/mozilla/modules/progress/src/makefile.win b/mozilla/modules/progress/src/makefile.win index 6bce83dd3ab..d108f4a053f 100644 --- a/mozilla/modules/progress/src/makefile.win +++ b/mozilla/modules/progress/src/makefile.win @@ -96,7 +96,7 @@ LINCS=\ include <$(DEPTH)\config\rules.mak> -# XXX this should not be required, but mantomake doesnt grok J?I yet +# XXX this should not be required, but mantomake doesn't grok J?I yet # also, -I..\public should be -I$(PUBLIC)\progress LINCS=$(LINCS) \ -I$(DEPTH)/cmd/winfe \ diff --git a/mozilla/modules/rdf/include/rdf.h b/mozilla/modules/rdf/include/rdf.h index 47ad6eb47b5..f5677dc33b9 100644 --- a/mozilla/modules/rdf/include/rdf.h +++ b/mozilla/modules/rdf/include/rdf.h @@ -186,7 +186,7 @@ PR_PUBLIC_API(RDF_Error) RDF_Shutdown(void); #include "vocab.h" -/* the stuff in vocab.h will supercede whats below. I am leaving this here +/* the stuff in vocab.h will supercede what's below. I am leaving this here only for the very near future */ diff --git a/mozilla/modules/rdf/src/query.c b/mozilla/modules/rdf/src/query.c index 86ae39d783a..942efbb395b 100644 --- a/mozilla/modules/rdf/src/query.c +++ b/mozilla/modules/rdf/src/query.c @@ -336,7 +336,7 @@ RDF_Literal noUnknownAs(RDF_Query q, RDF_LiteralList orderedLiterals, RDF_Variab return NULL; } -/* Returns true if the conjuncts were ordered succesfully. +/* Returns true if the conjuncts were ordered successfully. */ PRBool orderConjuncts(RDF_Query q) { uint16 numOrdered = 0; @@ -390,7 +390,7 @@ PRBool orderConjuncts(RDF_Query q) { } else break; } } - if (numOrdered == q->numLiterals) { /* ordered all succesfully so replace literals */ + if (numOrdered == q->numLiterals) { /* ordered all successfully so replace literals */ RDF_LiteralList old = q->literals; q->literals = orderedLiterals; destroyLiteralList(old, false); diff --git a/mozilla/modules/softupdt/src/os2updt.c b/mozilla/modules/softupdt/src/os2updt.c index 6285ba2c7b0..a9874022922 100644 --- a/mozilla/modules/softupdt/src/os2updt.c +++ b/mozilla/modules/softupdt/src/os2updt.c @@ -1323,7 +1323,7 @@ PSZ CsysUpdate( pszScan ); } /* End if path not already there*/ - /* Else path exists..dont add */ + /* Else path exists..don't add */ break; } diff --git a/mozilla/msgsdk/C/protocol/IMAP4/src/imap4.c b/mozilla/msgsdk/C/protocol/IMAP4/src/imap4.c index 296cc5b67a8..370e9403c03 100644 --- a/mozilla/msgsdk/C/protocol/IMAP4/src/imap4.c +++ b/mozilla/msgsdk/C/protocol/IMAP4/src/imap4.c @@ -1294,7 +1294,7 @@ int imap4_unsubscribe(imap4Client_t* in_pimap4, const char* in_mailbox, char** o /** * This function is called to get the server to (possibly) checkpoint -* its state, if that is necesary. Note: This does not imply that you +* its state, if that is necessary. Note: This does not imply that you * will get new EXISTS messages. If you want that type of stuff, use * NOOP. Note: This may not instantaneous. For more info on this and the * differences from NOOP, see RFC 1730. diff --git a/mozilla/msgsdk/java/highlevel/examples/testsendMessage.java b/mozilla/msgsdk/java/highlevel/examples/testsendMessage.java index 00aabd6c25a..a18e143c03d 100644 --- a/mozilla/msgsdk/java/highlevel/examples/testsendMessage.java +++ b/mozilla/msgsdk/java/highlevel/examples/testsendMessage.java @@ -115,12 +115,12 @@ public class testsendMessage try { - // >>>> Build and retrun a Multi-pArt MIME Message <<<< + // >>>> Build and return a Multi-Part MIME Message <<<< // Get an inputStream to user entered text bins = new ByteArrayInputStream (textMsg.getBytes()); - // Create a new Multi-part MIMEMessage with the above text and the file passed + // Create a new Multi-Part MIMEMessage with the above text and the file passed mmsg = new MIMEMessage(bins, fullfilename, encoding); // set the user entered headers on the message diff --git a/mozilla/msgsdk/java/protocol/examples/example1/SendMsgClnt.java b/mozilla/msgsdk/java/protocol/examples/example1/SendMsgClnt.java index 2e37fc91af6..df3e41ac311 100644 --- a/mozilla/msgsdk/java/protocol/examples/example1/SendMsgClnt.java +++ b/mozilla/msgsdk/java/protocol/examples/example1/SendMsgClnt.java @@ -568,7 +568,7 @@ public class SendMsgClnt extends Frame try { - // >>>> Build and retrun a text MIME Message <<<< + // >>>> Build and return a text MIME Message <<<< // Get an inputStream to user entered text bins = new ByteArrayInputStream ((textArea.getText()).getBytes()); @@ -621,7 +621,7 @@ public class SendMsgClnt extends Frame try { - // >>>> Build and retrun a Multi-pArt MIME Message <<<< + // >>>> Build and return a Multi-Part MIME Message <<<< // Get an inputStream to user entered text bins = new ByteArrayInputStream ((textArea.getText()).getBytes()); diff --git a/mozilla/msgsdk/java/protocol/examples/example2/MIMEEncodeTest.java b/mozilla/msgsdk/java/protocol/examples/example2/MIMEEncodeTest.java index fd32960ca68..7c7e2f3f632 100644 --- a/mozilla/msgsdk/java/protocol/examples/example2/MIMEEncodeTest.java +++ b/mozilla/msgsdk/java/protocol/examples/example2/MIMEEncodeTest.java @@ -94,7 +94,7 @@ public class MIMEEncodeTest try { - // >>>> Build and retrun a Multi-Part MIME Message <<<< + // >>>> Build and return a Multi-Part MIME Message <<<< // Get an inputStream to user entered text bins = new ByteArrayInputStream (textMsg.getBytes()); diff --git a/mozilla/netwerk/base/public/nsIURL.idl b/mozilla/netwerk/base/public/nsIURL.idl index 8c735b9d1eb..47006fc5864 100644 --- a/mozilla/netwerk/base/public/nsIURL.idl +++ b/mozilla/netwerk/base/public/nsIURL.idl @@ -108,7 +108,7 @@ interface nsIURL : nsIURI * empty string. If the trailing slash is omitted, then the * Directory is /foo/ and the file is bar (i.e. this is a * syntactic, not a semantic breakdown of the Path). - * And hence dont rely on this for something to be a definitely + * And hence don't rely on this for something to be a definitely * be a file. But you can get just the leading directory portion * for sure. * @@ -122,7 +122,7 @@ interface nsIURL : nsIURI * e.g. http://foo/bar/, then the Directory attribute accesses * the complete /foo/bar/ portion, and the FileName is the * empty string. Note that this is purely based on searching - * for the last trailing slash. And hence dont rely on this to + * for the last trailing slash. And hence don't rely on this to * be a definite file. * * Some characters may be escaped. diff --git a/mozilla/netwerk/base/src/nsDirectoryIndexStream.h b/mozilla/netwerk/base/src/nsDirectoryIndexStream.h index 370b0bacd31..b5b21311060 100644 --- a/mozilla/netwerk/base/src/nsDirectoryIndexStream.h +++ b/mozilla/netwerk/base/src/nsDirectoryIndexStream.h @@ -55,7 +55,7 @@ protected: nsVoidArray mArray; // XXX - we could make these statics, and share them. But we're only going to have one - // of directoryindexstream at once, so theres no point + // of directoryindexstream at once, so there's no point nsXPIDLCString mFSCharset; nsCOMPtr mTextToSubURI; diff --git a/mozilla/netwerk/base/src/nsIOService.cpp b/mozilla/netwerk/base/src/nsIOService.cpp index 712d9d05475..1af6d06333b 100644 --- a/mozilla/netwerk/base/src/nsIOService.cpp +++ b/mozilla/netwerk/base/src/nsIOService.cpp @@ -258,7 +258,7 @@ nsIOService::CacheProtocolHandler(const char *scheme, nsIProtocolHandler *handle nsCOMPtr factoryPtr = do_QueryInterface(handler, &rv); if (!factoryPtr) { - // Dont cache handlers that dont support weak reference as + // Don't cache handlers that don't support weak reference as // there is real danger of a circular reference. #ifdef DEBUG_dp printf("DEBUG: %s protcol handler doesn't support weak ref. Not cached.\n", scheme); diff --git a/mozilla/netwerk/base/src/nsURLHelper.cpp b/mozilla/netwerk/base/src/nsURLHelper.cpp index 14b3310dd57..e38c3e9b747 100644 --- a/mozilla/netwerk/base/src/nsURLHelper.cpp +++ b/mozilla/netwerk/base/src/nsURLHelper.cpp @@ -164,17 +164,17 @@ net_ParseFileURL(const nsACString &inURL, // invoke the parser to extract the URL path rv = parser->ParseURL(url, flatURL.Length(), - nsnull, nsnull, // dont care about scheme - nsnull, nsnull, // dont care about authority + nsnull, nsnull, // don't care about scheme + nsnull, nsnull, // don't care about authority &pathPos, &pathLen); if (NS_FAILED(rv)) return rv; // invoke the parser to extract filepath from the path rv = parser->ParsePath(url + pathPos, pathLen, &filepathPos, &filepathLen, - nsnull, nsnull, // dont care about param - nsnull, nsnull, // dont care about query - nsnull, nsnull); // dont care about ref + nsnull, nsnull, // don't care about param + nsnull, nsnull, // don't care about query + nsnull, nsnull); // don't care about ref if (NS_FAILED(rv)) return rv; filepathPos += pathPos; diff --git a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp index 55a1cf4b5e1..a0556f4fc79 100644 --- a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp +++ b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp @@ -610,7 +610,7 @@ nsFtpState::OnStopRequest(nsIRequest *request, nsISupports *aContext, return NS_OK; } - if (NS_FAILED(aStatus)) // aStatus will be NS_OK if we are sucessfully disconnecing the control connection. + if (NS_FAILED(aStatus)) // aStatus will be NS_OK if we are successfully disconnecing the control connection. StopProcessing(); return NS_OK; diff --git a/mozilla/netwerk/streamconv/converters/ParseFTPList.cpp b/mozilla/netwerk/streamconv/converters/ParseFTPList.cpp index 0c4a79b7f15..22482357b66 100644 --- a/mozilla/netwerk/streamconv/converters/ParseFTPList.cpp +++ b/mozilla/netwerk/streamconv/converters/ParseFTPList.cpp @@ -81,7 +81,7 @@ int ParseFTPList(const char *line, struct list_state *state, if (linelen > 0 && *p == '\n' && *(p-1) == '\r') linelen--; - /* DONT strip trailing whitespace. */ + /* DON'T strip trailing whitespace. */ if (linelen > 0) { @@ -1629,7 +1629,7 @@ int ParseFTPList(const char *line, struct list_state *state, } /* if (linelen > 0) */ if (state->parsed_one || state->lstyle) /* junk if we fail to parse */ - return '?'; /* this time but had previously parsed sucessfully */ + return '?'; /* this time but had previously parsed successfully */ return '"'; /* its part of a comment or error message */ } diff --git a/mozilla/netwerk/testserver/docs/help.html b/mozilla/netwerk/testserver/docs/help.html index 910ebc166ce..bd1f20e0ebe 100644 --- a/mozilla/netwerk/testserver/docs/help.html +++ b/mozilla/netwerk/testserver/docs/help.html @@ -30,7 +30,7 @@ handle special cases and then add info here about it.

    The Eggplant Exchange
    JNIEnv_GetObjectClass_2 jclass GetObjectClass(jobject obj) (NULL)GetObjectClass(NULL) return correct value
    JNIEnv_IsInstanceOf_1 jboolean IsInstanceOf(jobject obj, jclass clazz) (obj1, clazz1))IsInstanceOf(some obj, its class) return correct value
    JNIEnv_IsInstanceOf_2 jboolean IsInstanceOf(jobject obj, jclass clazz) (obj1, clazz2))IsInstanceOf(some obj, its superclass) return correct value
    JNIEnv_IsInstanceOf_3 jboolean IsInstanceOf(jobject obj, jclass clazz) (obj1, clazz3))IsInstanceOf(some obj, isnt superclass or class) return correct value
    JNIEnv_IsInstanceOf_3 jboolean IsInstanceOf(jobject obj, jclass clazz) (obj1, clazz3))IsInstanceOf(some obj, isn't superclass or class) return correct value
    JNIEnv_IsInstanceOf_4 jboolean IsInstanceOf(jobject obj, jclass clazz) (NULL, clazz1))IsInstanceOf(NULL, class) return correct value
    JNIEnv_IsInstanceOf_5 jboolean IsInstanceOf(jobject obj, jclass clazz) (NULL, NULL))IsInstanceOf(NULL, NULL) return correct value
    JNIEnv_IsSameObject_1 jboolean IsSameObject(jobject obj1, jobject obj2) (obj1, obj2) )IsSameObject(obj, obj) return correct value
    The subsequent ones may be combined to generate multiple results. NOTE: This -hasn't been fixed as yet. So it wont work for now. But if it did... +hasn't been fixed as yet. So it won't work for now. But if it did... You can try something fancy like- http://foo:4321/multi&close&both

    diff --git a/mozilla/netwerk/testserver/docs/urlmap b/mozilla/netwerk/testserver/docs/urlmap index 60295e5f541..50e563dc0e6 100644 --- a/mozilla/netwerk/testserver/docs/urlmap +++ b/mozilla/netwerk/testserver/docs/urlmap @@ -54,7 +54,7 @@ START /complex INCLUDE generic.res Content-Type: multipart/mixed; boundary=TheWallFromPinkFloyd CRLF -Preamble to multipart messages. Only clients that dont handle +Preamble to multipart messages. Only clients that don't handle multipart would see this! CRLF --TheWallFromPinkFloyd