diff --git a/mozilla/browser/installer/unix/config.it b/mozilla/browser/installer/unix/config.it index 5ddb5463dd1..c49e7ea999e 100644 --- a/mozilla/browser/installer/unix/config.it +++ b/mozilla/browser/installer/unix/config.it @@ -1149,7 +1149,7 @@ Message AUTO Restricted Access=@MSG_NOT_ADMIN_AUTO@ [Site Selector] ; Dictates whether or not to show the pull down menu. ; Default value is SHOW. -; If Status= is set to HIDE, then Indentifier0 will be used +; If Status= is set to HIDE, then Identifier0 will be used ; and all other IdentifiersX will be ignored. Status=HIDE diff --git a/mozilla/browser/installer/windows/config.it b/mozilla/browser/installer/windows/config.it index 9f1172b507b..9db6b7d84d2 100644 --- a/mozilla/browser/installer/windows/config.it +++ b/mozilla/browser/installer/windows/config.it @@ -1066,7 +1066,7 @@ Message AUTO Restricted Access={MSG_NOT_ADMIN_AUTO} [Site Selector] ; Dictates whether or not to show the pull down menu. ; Default value is SHOW. -; If Status= is set to HIDE, then Indentifier0 will be used +; If Status= is set to HIDE, then Identifier0 will be used ; and all other IdentifiersX will be ignored. Status=HIDE diff --git a/mozilla/calendar/libical/NEWS b/mozilla/calendar/libical/NEWS index ad1299b2faa..083dd8375d6 100644 --- a/mozilla/calendar/libical/NEWS +++ b/mozilla/calendar/libical/NEWS @@ -226,7 +226,7 @@ Fixed more memory leaks. Version 0.18a 10 June 00 ( cvs tag libical-0-18a ) ----------------------------------------------- -Did the final tweaks to stow.c, a program to recieve and store iMIP +Did the final tweaks to stow.c, a program to receive and store iMIP messages. diff --git a/mozilla/camino/src/history/nsSimpleGlobalHistory.cpp b/mozilla/camino/src/history/nsSimpleGlobalHistory.cpp index 88187285e8d..27abb014958 100644 --- a/mozilla/camino/src/history/nsSimpleGlobalHistory.cpp +++ b/mozilla/camino/src/history/nsSimpleGlobalHistory.cpp @@ -997,7 +997,7 @@ nsSimpleGlobalHistory::SetRowValue(nsIMdbRow *aRow, mdb_column aCol, PRInt32 len = (nsCRT::strlen(aValue) * sizeof(PRUnichar)); PRUnichar *swapval = nsnull; - // eventually turn this on when we're confident in mork's abilitiy + // eventually turn this on when we're confident in mork's ability // to handle yarn forms properly #if 0 NS_ConvertUTF16toUTF8 utf8Value(aValue); diff --git a/mozilla/content/base/public/nsIXMLHttpRequest.idl b/mozilla/content/base/public/nsIXMLHttpRequest.idl index 08810da498b..eef72d47e6e 100644 --- a/mozilla/content/base/public/nsIXMLHttpRequest.idl +++ b/mozilla/content/base/public/nsIXMLHttpRequest.idl @@ -76,7 +76,7 @@ interface nsIVariant; * interface nsIDOMEventListener. * * The 'onload', 'onerror', and 'onreadystatechange' attributes moved to - * nsIJSXMLHttRequest, but if you're coding in C++ you should avoid using + * nsIJSXMLHttpRequest, but if you're coding in C++ you should avoid using * those. Though actually, if you use addEventListener from C++ weird things * will happen too, since the result will depend on what JS happens to be on * the stack when you do it.... diff --git a/mozilla/content/base/src/nsContentUtils.cpp b/mozilla/content/base/src/nsContentUtils.cpp index 73e7a4ff6f7..6037acc8f41 100644 --- a/mozilla/content/base/src/nsContentUtils.cpp +++ b/mozilla/content/base/src/nsContentUtils.cpp @@ -1467,7 +1467,7 @@ nsContentUtils::TrimCharsInSet(const char* aSet, aValue.BeginReading(valueCurrent); aValue.EndReading(valueEnd); - // Skip charaters in the beginning + // Skip characters in the beginning while (valueCurrent != valueEnd) { if (!IsCharInSet(aSet, *valueCurrent)) { break; @@ -1502,7 +1502,7 @@ nsContentUtils::TrimWhitespace(const nsAString& aStr, PRBool aTrimTrailing) aStr.BeginReading(start); aStr.EndReading(end); - // Skip whitespace charaters in the beginning + // Skip whitespace characters in the beginning while (start != end && nsCRT::IsAsciiSpace(*start)) { ++start; } diff --git a/mozilla/content/base/src/nsPlainTextSerializer.cpp b/mozilla/content/base/src/nsPlainTextSerializer.cpp index d86e93860f1..f2228c098dd 100644 --- a/mozilla/content/base/src/nsPlainTextSerializer.cpp +++ b/mozilla/content/base/src/nsPlainTextSerializer.cpp @@ -1518,7 +1518,7 @@ nsPlainTextSerializer::OutputQuotesAndIndent(PRBool stripTrailingSpaces /* = PR_ } if (!mCurrentLine.IsEmpty()) { /* Better don't output a space here, if the line is empty, - in case a recieving f=f-aware UA thinks, this were a flowed line, + in case a receiving f=f-aware UA thinks, this were a flowed line, which it isn't - it's just empty. (Flowed lines may be joined with the following one, so the empty line may be lost completely.) */ @@ -1877,7 +1877,7 @@ nsPlainTextSerializer::IsInPre() } /** - * This method is required only to indentify LI's inside OL. + * This method is required only to identify LI's inside OL. * Returns TRUE if we are inside an OL tag and FALSE otherwise. */ PRBool diff --git a/mozilla/content/base/src/nsRange.cpp b/mozilla/content/base/src/nsRange.cpp index 3330b68ac84..2653dd2e93b 100644 --- a/mozilla/content/base/src/nsRange.cpp +++ b/mozilla/content/base/src/nsRange.cpp @@ -1349,7 +1349,7 @@ RangeSubtreeIterator::Prev() } -// CollapseRangeAfterDelete() is a utiltiy method that is used by +// CollapseRangeAfterDelete() is a utility method that is used by // DeleteContents() and ExtractContents() to collapse the range // in the correct place, under the range's root container (the // range end points common container) as outlined by the Range spec: diff --git a/mozilla/content/xul/templates/src/nsXULTemplateQueryProcessorRDF.h b/mozilla/content/xul/templates/src/nsXULTemplateQueryProcessorRDF.h index 1c25f1d028f..66b883a86be 100755 --- a/mozilla/content/xul/templates/src/nsXULTemplateQueryProcessorRDF.h +++ b/mozilla/content/xul/templates/src/nsXULTemplateQueryProcessorRDF.h @@ -219,7 +219,7 @@ public: /** * Compile a query that's specified using the simple template * syntax. Each TestNode is created in a chain, the last compiled node - * is retured as aLastNode. All nodes will have been added to mAllTests + * is returned as aLastNode. All nodes will have been added to mAllTests * which owns the nodes. */ nsresult diff --git a/mozilla/directory/java-sdk/ldapsp/com/netscape/jndi/ldap/ContextEnv.java b/mozilla/directory/java-sdk/ldapsp/com/netscape/jndi/ldap/ContextEnv.java index cf58e5abe62..253364a01ef 100644 --- a/mozilla/directory/java-sdk/ldapsp/com/netscape/jndi/ldap/ContextEnv.java +++ b/mozilla/directory/java-sdk/ldapsp/com/netscape/jndi/ldap/ContextEnv.java @@ -212,7 +212,7 @@ class ContextEnv extends ShareableEnv { } /** - * Set the maximum number of miliseconds to wait for any operation under default + * Set the maximum number of milliseconds to wait for any operation under default * SearchConstraints for the connection. * Specified with the env property java.naming.ldap.timelimit * Note: sun ldap does not have this property diff --git a/mozilla/dom/tests/js/write2.html b/mozilla/dom/tests/js/write2.html index 40d0e4a2b2b..8fcfd1075a5 100644 --- a/mozilla/dom/tests/js/write2.html +++ b/mozilla/dom/tests/js/write2.html @@ -36,7 +36,7 @@ function closeDoc() {

document.write (out-of-line) test

This test uses the open, write and close methods of a document to construct a document. It tests the "out-of-line" -capabilties of document.write i.e. the ability to use +capabilities of document.write i.e. the ability to use document.write to create an entirely new document.

diff --git a/mozilla/extensions/help/resources/locale/en-US/help-toc.rdf b/mozilla/extensions/help/resources/locale/en-US/help-toc.rdf index 4fb663774d1..4d35c43db44 100644 --- a/mozilla/extensions/help/resources/locale/en-US/help-toc.rdf +++ b/mozilla/extensions/help/resources/locale/en-US/help-toc.rdf @@ -417,7 +417,7 @@ nc:link="chrome://help/locale/nav_help.xhtml#plugins_and_downloads"/> - + diff --git a/mozilla/extensions/p3p/public/nsIPolicyListener.idl b/mozilla/extensions/p3p/public/nsIPolicyListener.idl index d16a2acd5df..8d9fdd772f5 100644 --- a/mozilla/extensions/p3p/public/nsIPolicyListener.idl +++ b/mozilla/extensions/p3p/public/nsIPolicyListener.idl @@ -40,7 +40,7 @@ [scriptable,uuid(05D74F35-5081-4c01-B814-34F44DD8EB50)] interface nsIPolicyListener : nsISupports { /** - * Notify listeners about the availabiltiy of a policy + * Notify listeners about the availability of a policy * * @param aPolicyLocation -> Points to the sites full p3p policy * @param aError -> POLICY_LOAD_SUCCESS | POLICY_LOAD_FAILURE | POLICY_LIFE_EXPIRED | POLICY_SYNTAX_ERROR diff --git a/mozilla/extensions/p3p/src/nsP3PUtils.cpp b/mozilla/extensions/p3p/src/nsP3PUtils.cpp index 75b33f908df..56e7c937929 100755 --- a/mozilla/extensions/p3p/src/nsP3PUtils.cpp +++ b/mozilla/extensions/p3p/src/nsP3PUtils.cpp @@ -104,7 +104,7 @@ nsP3PUtils::TrimCharsInSet(const char* aSet, aValue.BeginReading(valueCurrent); aValue.EndReading(valueEnd); - // Skip charaters in the beginning + // Skip characters in the beginning while (valueCurrent != valueEnd) { if (!IsCharInSet(aSet, *valueCurrent)) { break; diff --git a/mozilla/extensions/python/dom/test/pyxultest/chrome/content/document_write.xul b/mozilla/extensions/python/dom/test/pyxultest/chrome/content/document_write.xul index 994d4b21c03..df8feef1511 100644 --- a/mozilla/extensions/python/dom/test/pyxultest/chrome/content/document_write.xul +++ b/mozilla/extensions/python/dom/test/pyxultest/chrome/content/document_write.xul @@ -44,7 +44,7 @@ def closeDoc(): This test uses the open, write and close methods of a document to construct a document. It tests the 'out-of-line' - capabilties of document.write i.e. the ability to use + capabilities of document.write i.e. the ability to use document.write to create an entirely new document. > diff --git a/mozilla/extensions/safe-browsing/lib/url-canonicalizer.js b/mozilla/extensions/safe-browsing/lib/url-canonicalizer.js index d7f54ca3b6c..559d8400a6e 100644 --- a/mozilla/extensions/safe-browsing/lib/url-canonicalizer.js +++ b/mozilla/extensions/safe-browsing/lib/url-canonicalizer.js @@ -203,7 +203,7 @@ PROT_URLCanonicalizer.fullyDecodeURLAsString_ = function(url) { /** * Specially URL-encode the given array of ASCII values. We want to encode - * the charcters: [0, 32], 37, [127, 255]. + * the characters: [0, 32], 37, [127, 255]. * * @param arrayOfASCIIValues Array of ascii values (numbers) to encode * diff --git a/mozilla/extensions/schema-validation/src/nsSchemaValidator.cpp b/mozilla/extensions/schema-validation/src/nsSchemaValidator.cpp index 448d36c676a..5644df63f96 100644 --- a/mozilla/extensions/schema-validation/src/nsSchemaValidator.cpp +++ b/mozilla/extensions/schema-validation/src/nsSchemaValidator.cpp @@ -2437,7 +2437,7 @@ nsSchemaValidator::ValidateBuiltinTypeTime(const nsAString & aValue, // 22-AUG-1993 10:59:12.82 sprintf(fulldate, "22-AUG-1993 %d:%d:%d.%u", time.hour, time.minute, - time.second, time.milisecond); + time.second, time.millisecond); PR_ParseTimeString(fulldate, PR_TRUE, aResult); } else { @@ -2644,7 +2644,7 @@ nsSchemaValidator::ValidateBuiltinTypeDateTime(const nsAString & aValue, dateTime.time.hour, dateTime.time.minute, dateTime.time.second, - dateTime.time.milisecond); + dateTime.time.millisecond); PR_ParseTimeString(fulldate, PR_TRUE, aResult); } else { diff --git a/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.cpp b/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.cpp index ff81d8a3840..aa3ccdb6e20 100644 --- a/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.cpp +++ b/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.cpp @@ -484,7 +484,7 @@ nsSchemaValidatorUtils::ParseSchemaTime(const nsAString & aStrValue, aTime->hour = strtol(hour, &pEnd, 10); aTime->minute = strtol(minute, &pEnd, 10); aTime->second = strtol(second, &pEnd, 10); - aTime->milisecond = usecval; + aTime->millisecond = usecval; if (tzSign == '+') aTime->tzIsNegative = PR_FALSE; @@ -689,9 +689,9 @@ nsSchemaValidatorUtils::CompareTime(nsSchemaTime aTime1, nsSchemaTime aTime2) } else if (aTime1.second > aTime2.second) { result = 1; } else { - if (aTime1.milisecond < aTime2.milisecond) { + if (aTime1.millisecond < aTime2.millisecond) { result = -1; - } else if (aTime1.milisecond > aTime2.milisecond) { + } else if (aTime1.millisecond > aTime2.millisecond) { result = 1; } else { result = 0; @@ -715,7 +715,7 @@ nsSchemaValidatorUtils::AddTimeZoneToDateTime(nsSchemaDateTime aDateTime, int hour = aDateTime.time.hour; int minute = aDateTime.time.minute; PRUint8 second = aDateTime.time.second; - PRUint32 milisecond = aDateTime.time.milisecond; + PRUint32 millisecond = aDateTime.time.millisecond; if (aDateTime.time.tzIsNegative) { hour = hour + aDateTime.time.tzhour; @@ -785,7 +785,7 @@ nsSchemaValidatorUtils::AddTimeZoneToDateTime(nsSchemaDateTime aDateTime, aDestDateTime->time.hour = hour; aDestDateTime->time.minute = minute; aDestDateTime->time.second = second; - aDestDateTime->time.milisecond = milisecond; + aDestDateTime->time.millisecond = millisecond; aDestDateTime->time.tzIsNegative = aDateTime.time.tzIsNegative; } @@ -1293,7 +1293,7 @@ nsSchemaValidatorUtils::AddDurationToDatetime(nsSchemaDateTime aDatetime, */ double dblValue; aDuration->GetFractionSeconds(&dblValue); - aResultDateTime->time.milisecond = (int) dblValue * 1000000; + aResultDateTime->time.millisecond = (int) dblValue * 1000000; // seconds aDuration->GetSeconds(&temp); diff --git a/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.h b/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.h index 075e7952232..0cfbf102b65 100644 --- a/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.h +++ b/mozilla/extensions/schema-validation/src/nsSchemaValidatorUtils.h @@ -157,7 +157,7 @@ struct nsSchemaTime { PRUint8 hour; PRUint8 minute; PRUint8 second; - PRUint32 milisecond; + PRUint32 millisecond; PRBool tzIsNegative; PRUint8 tzhour; PRUint8 tzminute; diff --git a/mozilla/extensions/spatialnavigation/test/prefs.txt b/mozilla/extensions/spatialnavigation/test/prefs.txt index 46890752637..d984770d1e5 100755 --- a/mozilla/extensions/spatialnavigation/test/prefs.txt +++ b/mozilla/extensions/spatialnavigation/test/prefs.txt @@ -30,7 +30,7 @@ DEFAULT: 3 // snav.disableJS /////////////////////////////////////////////////////////// -Disable onFocus event that an element may recieve during +Disable onFocus event that an element may receive during spatial navigation. On some pages we have found that the page decides to move the focus as if the targeted content was clicked. This may lead to an undesirable behavior. diff --git a/mozilla/extensions/webservices/docs/New_Security_Model.html b/mozilla/extensions/webservices/docs/New_Security_Model.html index 8ba391a9f73..199f65a24f2 100755 --- a/mozilla/extensions/webservices/docs/New_Security_Model.html +++ b/mozilla/extensions/webservices/docs/New_Security_Model.html @@ -152,7 +152,7 @@ any requested type of access to resources.
The principle URI of the script will be checked for the specified URI prefix.  If "from" is not specified, then all scripts will be allowed. Note: One can -also use wild charater(s) in "from" value.
+also use wild character(s) in "from" value.

For example:

diff --git a/mozilla/extensions/webservices/proxy/src/wspfactory.cpp b/mozilla/extensions/webservices/proxy/src/wspfactory.cpp index cc5e962ab94..814dd9f4e87 100644 --- a/mozilla/extensions/webservices/proxy/src/wspfactory.cpp +++ b/mozilla/extensions/webservices/proxy/src/wspfactory.cpp @@ -261,14 +261,14 @@ WSPFactory::C2XML(const nsACString& aCIdentifier, } void -WSPFactory::XML2C(const nsAString& aXMLIndentifier, +WSPFactory::XML2C(const nsAString& aXMLIdentifier, nsACString& aCIdentifier) { nsReadingIterator current, end; aCIdentifier.Truncate(); - aXMLIndentifier.BeginReading(current); - aXMLIndentifier.EndReading(end); + aXMLIdentifier.BeginReading(current); + aXMLIdentifier.EndReading(end); while (current != end) { PRUnichar uch = *current++; diff --git a/mozilla/extensions/webservices/proxy/src/wspprivate.h b/mozilla/extensions/webservices/proxy/src/wspprivate.h index 554f8d12d5d..9b5a01b1d8c 100644 --- a/mozilla/extensions/webservices/proxy/src/wspprivate.h +++ b/mozilla/extensions/webservices/proxy/src/wspprivate.h @@ -88,7 +88,7 @@ public: static nsresult C2XML(const nsACString& aCIdentifier, nsAString& aXMLIdentifier); - static void XML2C(const nsAString& aXMLIndentifier, + static void XML2C(const nsAString& aXMLIdentifier, nsACString& aCIdentifier); }; diff --git a/mozilla/extensions/webservices/public/nsISOAPCall.idl b/mozilla/extensions/webservices/public/nsISOAPCall.idl index 5992e10e989..be09be79512 100644 --- a/mozilla/extensions/webservices/public/nsISOAPCall.idl +++ b/mozilla/extensions/webservices/public/nsISOAPCall.idl @@ -47,8 +47,8 @@ interface nsISOAPCallCompletion; * which handles common patterns of calling, such as providing an * action URI in the HTTP header, locating and invoking the appropriate * transport based upon the protocol of the transportURI, and - * automatically recieving the result in a new nsISOAPResponse object - * which recieves an XML message. + * automatically receiving the result in a new nsISOAPResponse object + * which receives an XML message. */ [scriptable, uuid(a8fefe40-52bc-11d4-9a57-000064657374)] diff --git a/mozilla/extensions/webservices/public/nsISOAPMessage.idl b/mozilla/extensions/webservices/public/nsISOAPMessage.idl index ed026487a30..fb948681521 100644 --- a/mozilla/extensions/webservices/public/nsISOAPMessage.idl +++ b/mozilla/extensions/webservices/public/nsISOAPMessage.idl @@ -72,7 +72,7 @@ interface nsISOAPMessage : nsISupports { * instead of invoking encodeSOAPParameters to use encoders * or access and manipulate the message after it has been * constructed by encodeSOAPParameters. If the message has - * not been set, invoking a call will fail. A message reciever + * not been set, invoking a call will fail. A message receiver * may also use this accessor to get the document to avoid using * decoders. */ diff --git a/mozilla/extensions/webservices/public/nsISOAPServiceRegistry.idl b/mozilla/extensions/webservices/public/nsISOAPServiceRegistry.idl index 2d554e21289..f5a39e4824b 100644 --- a/mozilla/extensions/webservices/public/nsISOAPServiceRegistry.idl +++ b/mozilla/extensions/webservices/public/nsISOAPServiceRegistry.idl @@ -43,7 +43,7 @@ interface nsISOAPEncodingRegistry; /** * This interface represents a registry of SOAP services. - * This registry recieves transports to listen for messages + * This registry receives transports to listen for messages * and services to hand the messages to. Service registries * may be created as required. Destroying a service registry * stops the registry's action. To temporarily register diff --git a/mozilla/extensions/webservices/public/nsISOAPTransport.idl b/mozilla/extensions/webservices/public/nsISOAPTransport.idl index 4631abbccea..dd3308c33e1 100644 --- a/mozilla/extensions/webservices/public/nsISOAPTransport.idl +++ b/mozilla/extensions/webservices/public/nsISOAPTransport.idl @@ -71,7 +71,7 @@ interface nsISOAPTransport : nsISupports { * @param aListener Handler to be invoked (single threaded) as each response is * received and finally with null. If specified as null, no responses are returned. * - * @param response Message to recieve response and be handled by listener. May be + * @param response Message to receive response and be handled by listener. May be * null if listener is null. */ nsISOAPCallCompletion asyncCall(in nsISOAPCall aCall, @@ -87,7 +87,7 @@ interface nsISOAPTransport : nsISupports { * desired listener was already added to the transport with the specified * capture flag or if the transport does not support incoming messages. * - * @param aListener The listener to recieve unsolicited messages from the + * @param aListener The listener to receive unsolicited messages from the * transport. * * @param aCapture True if the listener should capture the message before @@ -101,7 +101,7 @@ interface nsISOAPTransport : nsISupports { * will fail if the specified listener was not added with the specified * capture setting. * - * @param aListener The listener to stop from recieving unsolicited messages + * @param aListener The listener to stop from receiving unsolicited messages * from the transport. * * @param aCapture True if the listener was added to capture the message before diff --git a/mozilla/extensions/webservices/public/nsISOAPTransportListener.idl b/mozilla/extensions/webservices/public/nsISOAPTransportListener.idl index 88c78bbee46..1fb7f63c9b8 100644 --- a/mozilla/extensions/webservices/public/nsISOAPTransportListener.idl +++ b/mozilla/extensions/webservices/public/nsISOAPTransportListener.idl @@ -41,7 +41,7 @@ interface nsIDOMDocument; interface nsISOAPMessage; /** - * This interface recieves control when an unsolicited transport + * This interface receives control when an unsolicited transport * is received on a transport. */ diff --git a/mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp b/mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp index 5947c83d948..2cac85f2c5d 100644 --- a/mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp +++ b/mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp @@ -6550,7 +6550,7 @@ nsFontMetricsGTK::FindFont(PRUint32 aChar) // If this is is the 'unknown' char (ie: converter could not // convert it) there is no sense in searching any further for - // a font. Just returing mWesternFont + // a font. Just returning mWesternFont if (aChar == UCS2_REPLACEMENT_CHAR) { FIND_FONT_PRINTF((" ignore the 'UCS2_REPLACEMENT_CHAR' character, return mWesternFont")); return mWesternFont; diff --git a/mozilla/gfx/src/mac/nsUnicodeRenderingToolkit.cpp b/mozilla/gfx/src/mac/nsUnicodeRenderingToolkit.cpp index 720e1763554..6e73a39a3ae 100644 --- a/mozilla/gfx/src/mac/nsUnicodeRenderingToolkit.cpp +++ b/mozilla/gfx/src/mac/nsUnicodeRenderingToolkit.cpp @@ -127,7 +127,7 @@ ) #define BAD_TEXT_ENCODING 0xFFFFFFFF -// all the chracter should not be drawn if there are no glyph +// all the character should not be drawn if there are no glyph #define IS_ZERO_WIDTH_CHAR(c) ( \ IN_RANGE(c, 0x200b, 0x200f) || \ IN_RANGE(c, 0x202a, 0x202e) \ @@ -138,14 +138,14 @@ #define IN_ARABIC_PRESENTATION_B(a) ((0xfe70 <= (a)) && ((a) <= 0xfeff)) #define IN_ARABIC_PRESENTATION_A_OR_B(a) (IN_ARABIC_PRESENTATION_A(a) || IN_ARABIC_PRESENTATION_B(a)) -// we should not ues TEC fallback for characters in latin, greek and cyrillic script -// because Japanese, Chinese and Korean font have these chracters. If we let them -// render in the TEC fallback process, then we will use a Japanese/korean/chinese font -// to render it even the current font have a glyph in it +// We should not use TEC fallback for characters in Latin, Greek and Cyrillic scripts +// because Japanese, Chinese and Korean fonts have these characters. If we let them +// render in the TEC fallback process, then we would use a Japanese/Korean/Chinese font +// to render it even if the current font has a glyph in it. // if we skip the TEC fallback, then the ATSUI fallback will try to use the glyph // in the font first (TEC or TEC fallback are using QuickDraw, which can only use -// the glyphs that in the font script's encodign. but a lot of TrueType font -// have houndred more glyph in additional to the font scripts +// the glyphs that are in the font script's encoding. But a lot of TrueType fonts +// have hundreds more glyphs in addition to the font scripts. #define IS_LATIN(c) ( IN_RANGE(c, 0x0000, 0x024F) || IN_RANGE(c, 0x1e00, 0x1eff) ) #define IS_GREEK(c) ( IN_RANGE(c, 0x0370, 0x03FF) || IN_RANGE(c, 0x1f00, 0x1fff) ) #define IS_CYRILLIC(c) IN_RANGE(c, 0x0400, 0x04ff) diff --git a/mozilla/gfx/src/ps/nsAFMObject.cpp b/mozilla/gfx/src/ps/nsAFMObject.cpp index b5103d02dea..68084ea6389 100644 --- a/mozilla/gfx/src/ps/nsAFMObject.cpp +++ b/mozilla/gfx/src/ps/nsAFMObject.cpp @@ -509,7 +509,7 @@ char* AFMFileName= ToNewUTF8String(aFontName.name); // file we will open case kEndDirection: break; case kStartCharMetrics: - GetAFMInt(&mPSFontInfo->mNumCharacters); // number of charaters that follow + GetAFMInt(&mPSFontInfo->mNumCharacters); // number of characters that follow mPSFontInfo->mAFMCharMetrics = new AFMscm[mPSFontInfo->mNumCharacters]; memset(mPSFontInfo->mAFMCharMetrics,0,sizeof(AFMscm)*mPSFontInfo->mNumCharacters); ReadCharMetrics (mPSFontInfo,mPSFontInfo->mNumCharacters); diff --git a/mozilla/gfx/src/ps/nsAFMObject.h b/mozilla/gfx/src/ps/nsAFMObject.h index ce79f20cde3..bffe8c67df6 100644 --- a/mozilla/gfx/src/ps/nsAFMObject.h +++ b/mozilla/gfx/src/ps/nsAFMObject.h @@ -389,7 +389,7 @@ protected: /** --------------------------------------------------- * Read in the AFMFontInformation from the currently parsed AFM file * @update 2/26/99 dwc - * @param aFontInfo -- The header structure to read the caracter info from + * @param aFontInfo -- The header structure to read the character info from * @param aNumCharacters -- The number of characters to look for */ void ReadCharMetrics (AFMFontInformation *aFontInfo,PRInt32 aNumCharacters); diff --git a/mozilla/gfx/src/xlib/nsDeviceContextSpecXlib.cpp b/mozilla/gfx/src/xlib/nsDeviceContextSpecXlib.cpp index b66ecb86168..f5b0303d1f5 100644 --- a/mozilla/gfx/src/xlib/nsDeviceContextSpecXlib.cpp +++ b/mozilla/gfx/src/xlib/nsDeviceContextSpecXlib.cpp @@ -878,7 +878,7 @@ NS_IMETHODIMP nsPrinterEnumeratorXlib::InitPrintSettingsFromPrinter(const PRUnic if (type == pmXprint) { DO_PR_DEBUG_LOG(("InitPrintSettingsFromPrinter() for Xprint printer\n")); - /* Setup the capabilties list of Mozilla's Xprint print module */ + /* Setup the capabilities list of Mozilla's Xprint print module */ #ifdef SET_PRINTER_FEATURES_VIA_PREFS nsPrinterFeatures printerFeatures(fullPrinterName); @@ -891,7 +891,7 @@ NS_IMETHODIMP nsPrinterEnumeratorXlib::InitPrintSettingsFromPrinter(const PRUnic printerFeatures.SetSupportsSpoolerCommandChange(PR_FALSE); /* won't work by design and very good reasons! */ #endif /* SET_PRINTER_FEATURES_VIA_PREFS */ - /* Setup the capabilties list of this specific printer */ + /* Setup the capabilities list of this specific printer */ Display *pdpy; XPContext pcontext; diff --git a/mozilla/gfx/src/xlib/nsFontMetricsXlib.cpp b/mozilla/gfx/src/xlib/nsFontMetricsXlib.cpp index b721685e294..71b324fec72 100644 --- a/mozilla/gfx/src/xlib/nsFontMetricsXlib.cpp +++ b/mozilla/gfx/src/xlib/nsFontMetricsXlib.cpp @@ -5809,7 +5809,7 @@ nsFontMetricsXlib::FindFont(PRUnichar aChar) // If this is is the 'unknown' char (ie: converter could not // convert it) there is no sense in searching any further for - // a font. Just returing mWesternFont + // a font. Just returning mWesternFont if (aChar == UCS2_NOMAPPING) { FIND_FONT_PRINTF((" ignore the 'UCS2_NOMAPPING' character, return mWesternFont")); return mWesternFont; diff --git a/mozilla/gfx/src/xprintutil/xprintutil.c b/mozilla/gfx/src/xprintutil/xprintutil.c index a3632019b3e..1ef15717597 100644 --- a/mozilla/gfx/src/xprintutil/xprintutil.c +++ b/mozilla/gfx/src/xprintutil/xprintutil.c @@ -1366,7 +1366,7 @@ int XpuSetResolution( Display *pdpy, XPContext pcontext, XPAttributes type, XpuR } /* Set document resolution - * Retun error if printer does not support setting a resolution + * Return error if printer does not support setting a resolution */ int XpuSetDocResolution( Display *pdpy, XPContext pcontext, XpuResolutionRec *rec ) { @@ -1377,7 +1377,7 @@ int XpuSetDocResolution( Display *pdpy, XPContext pcontext, XpuResolutionRec *re } /* Set page medium size - * Retun error if printer does not support setting a resolution or if per-page + * Return error if printer does not support setting a resolution or if per-page * resolution changes are not allowed. */ int XpuSetPageResolution( Display *pdpy, XPContext pcontext, XpuResolutionRec *rec ) @@ -1502,7 +1502,7 @@ int XpuSetOrientation( Display *pdpy, XPContext pcontext, XPAttributes type, Xpu } /* Set document orientation - * Retun error if printer does not support setting an orientation + * Return error if printer does not support setting an orientation */ int XpuSetDocOrientation( Display *pdpy, XPContext pcontext, XpuOrientationRec *rec ) { @@ -1513,7 +1513,7 @@ int XpuSetDocOrientation( Display *pdpy, XPContext pcontext, XpuOrientationRec * } /* Set page orientation - * Retun error if printer does not support setting an orientation or if + * Return error if printer does not support setting an orientation or if * per-page orientations changes are not allowed */ int XpuSetPageOrientation( Display *pdpy, XPContext pcontext, XpuOrientationRec *rec ) @@ -1638,7 +1638,7 @@ int XpuSetContentPlex( Display *pdpy, XPContext pcontext, XPAttributes type, Xpu } /* Set document plex - * Retun error if printer does not support setting an plex + * Return error if printer does not support setting an plex */ int XpuSetDocPlex( Display *pdpy, XPContext pcontext, XpuPlexRec *rec ) { @@ -1649,7 +1649,7 @@ int XpuSetDocPlex( Display *pdpy, XPContext pcontext, XpuPlexRec *rec ) } /* Set page plex - * Retun error if printer does not support setting an plex or if + * Return error if printer does not support setting an plex or if * per-page plex changes are not allowed */ int XpuSetPagePlex( Display *pdpy, XPContext pcontext, XpuPlexRec *rec ) diff --git a/mozilla/intl/chardet/public/nsDetectionConfident.h b/mozilla/intl/chardet/public/nsDetectionConfident.h index 9b088426105..67fd83af84e 100644 --- a/mozilla/intl/chardet/public/nsDetectionConfident.h +++ b/mozilla/intl/chardet/public/nsDetectionConfident.h @@ -38,12 +38,12 @@ #define nsDetetctionConfident_h__ /* - This type is used to indidcate how confident the detection module about + This type is used to indicate how confident the detection module about the return result. - eNoAnswerYet is used to indidcate that the detector have not find out a + eNoAnswerYet is used to indicate that the detector have not find out a answer yet based on the data it received. - eBestAnswer is used to indidcate that the answer the detector returned + eBestAnswer is used to indicate that the answer the detector returned is the best one within the knowledge of the detector. In other words, the test to all other candidcates fail. @@ -52,7 +52,7 @@ bytes > 0x80 (which make ISO-2022-JP test failed) and byte 0x82 (which may EUC-JP test failed) - eSureAnswer is used to indidcate that the detector are 100% sure about the + eSureAnswer is used to indicate that the detector is 100% sure about the answer. Exmaple 1; the Shift_JIS/ISO-2022-JP/EUC-JP detector return this w/ ISO-2022-JP when it hit one of the following ESC seq diff --git a/mozilla/intl/lwbrk/src/nsJISx4501LineBreaker.cpp b/mozilla/intl/lwbrk/src/nsJISx4501LineBreaker.cpp index 15cf6505d10..3bfde42f790 100644 --- a/mozilla/intl/lwbrk/src/nsJISx4501LineBreaker.cpp +++ b/mozilla/intl/lwbrk/src/nsJISx4501LineBreaker.cpp @@ -273,7 +273,7 @@ PRInt8 nsJISx4051LineBreaker::GetClass(PRUnichar u) ( ( 0xf900 <= h) && ( h <= 0xfaff) ) ) { - c = 5; // CJK charcter, Han, and Han Compatability + c = 5; // CJK character, Han, and Han Compatability } else if( 0xff00 == h) { diff --git a/mozilla/intl/uconv/idl/nsICharsetConverterManager.idl b/mozilla/intl/uconv/idl/nsICharsetConverterManager.idl index 3de6b72e8fd..fda1a993ba0 100644 --- a/mozilla/intl/uconv/idl/nsICharsetConverterManager.idl +++ b/mozilla/intl/uconv/idl/nsICharsetConverterManager.idl @@ -60,7 +60,7 @@ interface nsIUTF8StringEnumerator; /** * - * Here Charsets are indentified by ASCII strings. Charset alias + * Here Charsets are identified by ASCII strings. Charset alias * resolution is provided by default in most methods. "Raw" * versions that do not need this resolution are also provided. * diff --git a/mozilla/ipc/ipcd/client/public/ipcdclient.h b/mozilla/ipc/ipcd/client/public/ipcdclient.h index 5a4c6ce103e..5b50f5e8cc3 100644 --- a/mozilla/ipc/ipcd/client/public/ipcdclient.h +++ b/mozilla/ipc/ipcd/client/public/ipcdclient.h @@ -147,7 +147,7 @@ IPC_METHOD IPC_EnableMessageObserver( * aReceiverID is non-zero, then the message is forwarded to the client * corresponding to that identifier. * - * If there is no client corresponding to aRecieverID, then the IPC daemon will + * If there is no client corresponding to aReceiverID, then the IPC daemon will * simply drop the message. */ IPC_METHOD IPC_SendMessage( diff --git a/mozilla/ipc/ipcd/extensions/transmngr/module/tmQueue.h b/mozilla/ipc/ipcd/extensions/transmngr/module/tmQueue.h index 6111ed8e5b5..e39da4bb3d6 100644 --- a/mozilla/ipc/ipcd/extensions/transmngr/module/tmQueue.h +++ b/mozilla/ipc/ipcd/extensions/transmngr/module/tmQueue.h @@ -47,13 +47,13 @@ class tmTransactionManager; /** * This class isn't so much a queue as it is storage for transactions. It - * is set up to recieve and store transactions in a growing collection + * is set up to receive and store transactions in a growing collection * (using tmVectors). Different messages can be received from the * Transaction Manager(TM) the queue belongs to which can add and remove * listeners, empty the queue (flush), and add messages to the queue. * * See the documentation in tmTransactionService.h for details on the - * messages you can send to and recieve from the queues in the TM + * messages you can send to and receive from the queues in the TM */ class tmQueue { diff --git a/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/wfe_netscape4.c b/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/wfe_netscape4.c index df00e352480..0ffb6d8a478 100644 --- a/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/wfe_netscape4.c +++ b/mozilla/java/pluggable-jvm/wf/src/plugin/netscape4/wfe_netscape4.c @@ -16,7 +16,7 @@ * Portions created by Sun Microsystems Inc are Copyright (C) 2001 * All Rights Reserved. * - * $Id: wfe_netscape4.c,v 1.2 2001-07-12 19:58:22 edburns%acm.org Exp $ + * $Id: wfe_netscape4.c,v 1.3 2006-08-28 20:12:32 timeless%mozdev.org Exp $ * * Contributor(s): * @@ -58,7 +58,7 @@ static int SetTransport(int xid, int* pmsg_id) int msg_id; g_xid = xid; - /* create msg queue used by extension to recieve messages */ + /* create msg queue used by extension to receive messages */ if ((msg_id = JVMP_msgget (0, IPC_CREAT | IPC_PRIVATE | IPC_EXCL | 0770)) == -1) { diff --git a/mozilla/java/pluggable-jvm/wf/src/plugin/unix/shmtran.c b/mozilla/java/pluggable-jvm/wf/src/plugin/unix/shmtran.c index 376c9adfa9e..688fa122b03 100644 --- a/mozilla/java/pluggable-jvm/wf/src/plugin/unix/shmtran.c +++ b/mozilla/java/pluggable-jvm/wf/src/plugin/unix/shmtran.c @@ -16,7 +16,7 @@ * Portions created by Sun Microsystems Inc are Copyright (C) 2001 * All Rights Reserved. * - * $Id: shmtran.c,v 1.2 2001-07-12 19:58:24 edburns%acm.org Exp $ + * $Id: shmtran.c,v 1.3 2006-08-28 20:12:33 timeless%mozdev.org Exp $ * * Contributor(s): * @@ -571,7 +571,7 @@ int JVMP_RecvShmRequest(int msg_id, int sync, void* shmbuf; int len; - /* this msgrcv() won't recieve system messages */ + /* this msgrcv() won't receive system messages */ restart: if ((msgrcv(msg_id, (struct msgbuf *)&msg, diff --git a/mozilla/java/plugins/test/doc/api/description.html b/mozilla/java/plugins/test/doc/api/description.html index ca30ee037c8..06a35fae61d 100644 --- a/mozilla/java/plugins/test/doc/api/description.html +++ b/mozilla/java/plugins/test/doc/api/description.html @@ -148,8 +148,8 @@ Description: to pluglet and compared with value, returned by method. If values are equals then test PASSED. Comments: - Now static string used to indentify userAgent in - plugins and this string differen from window.navigator.userAgent + Now a static string is used to identify the userAgent in + plugins and this string is different from window.navigator.userAgent 2. Methods of PlugletPeer interface 2.1 Tests for method getMIMEType of PlugletPeer interface. diff --git a/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponent.cpp b/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponent.cpp index 47e23f8825b..9e3d3015e30 100644 --- a/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponent.cpp +++ b/mozilla/java/xpcom/test/basic/params/J2XOUT/cpp/J2XOUTServerTestComponent.cpp @@ -444,7 +444,7 @@ NS_IMETHODIMP J2XOUTServerTestComponentImpl::TestObject(iJ2XOUTServerTestCompone } /** - * Auxiliary method, that used just for object indentification + * Auxiliary method, that used just for object identification * Invoked from client and from server, then identification strings compared. */ diff --git a/mozilla/js/perf/README-jsPerformance.html b/mozilla/js/perf/README-jsPerformance.html index 6370824b546..6ffc751d49f 100644 --- a/mozilla/js/perf/README-jsPerformance.html +++ b/mozilla/js/perf/README-jsPerformance.html @@ -140,7 +140,7 @@ called "no machine specs!".
The first column lists the date and time the test was completed. The - second colums lists the timing result for that method in miliseconds. + second colums lists the timing result for that method in milliseconds. In the third column is the JavaScript method that the user is testing. The fourth column is the IP of the computer which the test was run on. In the fifth column, are the configurations of the computer. diff --git a/mozilla/js/perf/tests/date/create-002.js b/mozilla/js/perf/tests/date/create-002.js index 520220f0290..cd4b55ed03c 100644 --- a/mozilla/js/perf/tests/date/create-002.js +++ b/mozilla/js/perf/tests/date/create-002.js @@ -35,7 +35,7 @@ * * * Date: 11 October 2002 - * SUMMARY: Creation of date objects using local variables. Testing miliseconds. + * SUMMARY: Creation of date objects using local variables. Testing milliseconds. * * Syntax: |Date()| * diff --git a/mozilla/js/rhino/docs/rhino16R1.html b/mozilla/js/rhino/docs/rhino16R1.html index 24747fd23fe..de5268f4234 100644 --- a/mozilla/js/rhino/docs/rhino16R1.html +++ b/mozilla/js/rhino/docs/rhino16R1.html @@ -24,7 +24,7 @@ Change Log for Rhino Rhino 1.6R1 is the new major release of Rhino. It supports ECMAScript for XML (E4X) as specified by ECMA 357 standard. E4X is a set of language extensions adding native XML support for JavaScript without affecting the existing code base. E4X example demonstrates various E4X constructions and their usage in JavaScript code.

-This version of Rhino should be binary compatible with the current embeddings that use only public API unless the code use the previously deperected classes as documented below. Please report any incompatibilitiy issues to Bugzilla. +This version of Rhino should be binary compatible with the current embeddings that use only public API unless the code use the previously deprected classes as documented below. Please report any incompatibility issues to Bugzilla.

diff --git a/mozilla/js/rhino/docs/rhino16R2.html b/mozilla/js/rhino/docs/rhino16R2.html index 67971e18f71..02a13002188 100644 --- a/mozilla/js/rhino/docs/rhino16R2.html +++ b/mozilla/js/rhino/docs/rhino16R2.html @@ -33,8 +33,8 @@ for more details.

This version of Rhino should be binary compatible with the current embeddings that use only public API -unless the code use the previously deperected classes as documented below. -Please report any incompatibilitiy issues to Bugzilla. +unless the code use the previously deprected classes as documented below. +Please report any incompatibility issues to Bugzilla.

Bugs marked fixed in Rhino 1.6R2 (query)

diff --git a/mozilla/js/src/liveconnect/jsj_private.h b/mozilla/js/src/liveconnect/jsj_private.h index 82f9d28d8be..983f8512515 100644 --- a/mozilla/js/src/liveconnect/jsj_private.h +++ b/mozilla/js/src/liveconnect/jsj_private.h @@ -85,7 +85,7 @@ /* * This file doesn't include prtypes.h, which defines PR_BEGIN_EXTERN_C, - * and I certainly don't want to pull it in to such a high level include + * and I certainly don't want to pull it into such a high level include * file, so I'll just do what prtypes.h does. edburns */ #ifdef __cplusplus diff --git a/mozilla/js/src/perlconnect/jsperl.c b/mozilla/js/src/perlconnect/jsperl.c index 0f104c7c959..f41dcad476d 100644 --- a/mozilla/js/src/perlconnect/jsperl.c +++ b/mozilla/js/src/perlconnect/jsperl.c @@ -410,7 +410,7 @@ checkError(JSContext *cx) } /* - Take the value of $JS::js and convert in to a jsval. It's stotred + Take the value of $JS::js and convert it to a jsval. It is stored in *rval. perl_eval and perl_call use $JS::js to store return results. */ static JSBool diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index dadfee457dc..23771123bf5 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -5462,7 +5462,7 @@ nsCSSFrameConstructor::ConstructFieldSetFrame(nsFrameConstructorState& aState, // Set the scroll frame's initial child list newFrame->SetInitialChildList(nsnull, legendFrame ? legendFrame : areaFrame); - // our new frame retured is the top frame which is the list frame. + // our new frame returned is the top frame which is the list frame. aNewFrame = newFrame; // yes we have already initialized our frame diff --git a/mozilla/layout/base/nsPresContext.cpp b/mozilla/layout/base/nsPresContext.cpp index bac95bc84df..ff3761ddfe7 100644 --- a/mozilla/layout/base/nsPresContext.cpp +++ b/mozilla/layout/base/nsPresContext.cpp @@ -1010,7 +1010,7 @@ nsPresContext::TwipsToPixelsForFonts() const #ifdef NS_PRINT_PREVIEW // If an alternative DC is available we want to use // it to get the scaling factor for fonts. Usually, the AltDC - // is a printing DC so therefore we need to get the printers + // is a printing DC so therefore we need to get the printer's // scaling values for calculating the font heights nsCOMPtr altDC; mDeviceContext->GetAltDevice(getter_AddRefs(altDC)); diff --git a/mozilla/layout/doc/frame_reflow_debug.html b/mozilla/layout/doc/frame_reflow_debug.html index c324147117a..e9f71250ab0 100644 --- a/mozilla/layout/doc/frame_reflow_debug.html +++ b/mozilla/layout/doc/frame_reflow_debug.html @@ -11,7 +11,7 @@

Debugging Frame Reflow HowTo

General Overview

-

The frame reflow can be logged with the debug capabilties implemented in nsFrame.cpp. +

The frame reflow can be logged with the debug capabilities implemented in nsFrame.cpp. It provides the following information for each frame at the start of its reflow

    diff --git a/mozilla/layout/forms/nsTextControlFrame.cpp b/mozilla/layout/forms/nsTextControlFrame.cpp index 2a820c7f9cb..767028ee6f8 100644 --- a/mozilla/layout/forms/nsTextControlFrame.cpp +++ b/mozilla/layout/forms/nsTextControlFrame.cpp @@ -2251,7 +2251,7 @@ nsTextControlFrame::DOMPointToOffset(nsIDOMNode* aNode, } NS_ASSERTION((aNode == rootNode && aNodeOffset == (PRInt32)length), - "Invalide node offset!"); + "Invalid node offset!"); *aResult = textOffset; diff --git a/mozilla/layout/generic/nsBlockBandData.cpp b/mozilla/layout/generic/nsBlockBandData.cpp index 81270b7f155..e8d5cea71d3 100644 --- a/mozilla/layout/generic/nsBlockBandData.cpp +++ b/mozilla/layout/generic/nsBlockBandData.cpp @@ -93,7 +93,7 @@ nsBlockBandData::GetAvailableSpace(nscoord aY, PRBool aRelaxHeightConstraint, ComputeAvailSpaceRect(); aResult = mAvailSpace; #ifdef REALLY_NOISY_COMPUTEAVAILSPACERECT - printf("nsBBD %p GetAvailableSpace(%d) returing (%d, %d, %d, %d)\n", + printf("nsBBD %p GetAvailableSpace(%d) returning (%d, %d, %d, %d)\n", this, aY, aResult.x, aResult.y, aResult.width, aResult.height); #endif return NS_OK; diff --git a/mozilla/layout/generic/nsFrame.cpp b/mozilla/layout/generic/nsFrame.cpp index 1aa208ca40c..e43f918ebbc 100644 --- a/mozilla/layout/generic/nsFrame.cpp +++ b/mozilla/layout/generic/nsFrame.cpp @@ -2518,7 +2518,7 @@ static FrameTarget GetSelectionClosestFrameForBlock(nsIFrame* aFrame, // frame to the given point. // It doesn't completely account for offset styles, so needs to be used in // restricted environments. -// Cannot handle overlapping frames correctly, so it should recieve the output +// Cannot handle overlapping frames correctly, so it should receive the output // of GetFrameForPoint // Guaranteed to return a valid FrameTarget static FrameTarget GetSelectionClosestFrame(nsIFrame* aFrame, nsPoint aPoint) diff --git a/mozilla/layout/generic/nsImageMap.cpp b/mozilla/layout/generic/nsImageMap.cpp index 16d1f091c25..0dd5758977a 100644 --- a/mozilla/layout/generic/nsImageMap.cpp +++ b/mozilla/layout/generic/nsImageMap.cpp @@ -419,7 +419,7 @@ void RectArea::ParseCoords(const nsAString& aSpec) PRBool RectArea::IsInside(nscoord x, nscoord y) const { - if (mNumCoords >= 4) { // Note: > is for nav compatabilty + if (mNumCoords >= 4) { // Note: > is for nav compatability nscoord x1 = mCoords[0]; nscoord y1 = mCoords[1]; nscoord x2 = mCoords[2]; @@ -662,7 +662,7 @@ void CircleArea::ParseCoords(const nsAString& aSpec) PRBool CircleArea::IsInside(nscoord x, nscoord y) const { - // Note: > is for nav compatabilty + // Note: > is for nav compatability if (mNumCoords >= 3) { nscoord x1 = mCoords[0]; nscoord y1 = mCoords[1]; diff --git a/mozilla/mail/installer/windows/config.it b/mozilla/mail/installer/windows/config.it index b5249118596..ac681faafaf 100644 --- a/mozilla/mail/installer/windows/config.it +++ b/mozilla/mail/installer/windows/config.it @@ -1207,7 +1207,7 @@ Message AUTO Restricted Access=Setup has detected that you do not have the appro [Site Selector] ; Dictates whether or not to show the pull down menu. ; Default value is SHOW. -; If Status= is set to HIDE, then Indentifier0 will be used +; If Status= is set to HIDE, then Identifier0 will be used ; and all other IdentifiersX will be ignored. Status=HIDE diff --git a/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp b/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp index a47782955a2..cf1062fe3c3 100644 --- a/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp +++ b/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp @@ -912,7 +912,7 @@ nsBayesianFilter::nsBayesianFilter() if (mJunkProbabilityThreshold == 0 || mJunkProbabilityThreshold >= 1) mJunkProbabilityThreshold = kDefaultJunkThreshold; - PR_LOG(BayesianFilterLogModule, PR_LOG_ALWAYS, ("junk probabilty threshold: %f", mJunkProbabilityThreshold)); + PR_LOG(BayesianFilterLogModule, PR_LOG_ALWAYS, ("junk probability threshold: %f", mJunkProbabilityThreshold)); getTrainingFile(getter_AddRefs(mTrainingFile)); diff --git a/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.h b/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.h index 95533fb4354..76b17c77ef9 100644 --- a/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.h +++ b/mozilla/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.h @@ -162,7 +162,7 @@ protected: double mJunkProbabilityThreshold; PRUint32 mGoodCount, mBadCount; PRPackedBool mTrainingDataDirty; - PRInt32 mMinFlushInterval; // in miliseconds, must be positive + PRInt32 mMinFlushInterval; // in milliseconds, must be positive //and not too close to 0 nsCOMPtr mTimer; nsCOMPtr mTrainingFile; diff --git a/mozilla/modules/plugin/tools/spy/common/format.cpp b/mozilla/modules/plugin/tools/spy/common/format.cpp index ca313513af6..54752bb878d 100644 --- a/mozilla/modules/plugin/tools/spy/common/format.cpp +++ b/mozilla/modules/plugin/tools/spy/common/format.cpp @@ -777,7 +777,7 @@ int formatLogItem(LogItemStruct * plis, char * szOutput, BOOL bDOSStyle) strcpy(szMode, "NP_FULL"); break; default: - strcpy(szMode, "[Invalide mode]"); + strcpy(szMode, "[Invalid mode]"); break; } sprintf(szString, "NPP_New(\"%s\", %#08lx, %s, %i, %#08lx, %#08lx, %#08lx)%s", diff --git a/mozilla/modules/plugin/tools/tester/common/loghlp.cpp b/mozilla/modules/plugin/tools/tester/common/loghlp.cpp index 7c8e3baabe4..66d014acd8d 100644 --- a/mozilla/modules/plugin/tools/tester/common/loghlp.cpp +++ b/mozilla/modules/plugin/tools/tester/common/loghlp.cpp @@ -826,7 +826,7 @@ int formatLogItem(LogItemStruct * plis, LPSTR szOutput, LPSTR szEndOfItem, BOOL strcpy(szMode, "NP_FULL"); break; default: - strcpy(szMode, "[Invalide mode]"); + strcpy(szMode, "[Invalid mode]"); break; } char szArgs[512] = "\0"; diff --git a/mozilla/modules/rdf/include/htrdf.h b/mozilla/modules/rdf/include/htrdf.h index 07615450acd..0bc4822bae5 100644 --- a/mozilla/modules/rdf/include/htrdf.h +++ b/mozilla/modules/rdf/include/htrdf.h @@ -74,7 +74,7 @@ * (i) User clicking around the tree * (ii) Network activity * (iii) scripts running - * The FE can recieve notifications about these activities. + * The FE can receive notifications about these activities. * If the FE does not want to be notified about something, it can set * the notification mask to block certain notifications. */ diff --git a/mozilla/netwerk/base/public/nsIPermissionManager.idl b/mozilla/netwerk/base/public/nsIPermissionManager.idl index 65fc7f24e18..5fde0767823 100644 --- a/mozilla/netwerk/base/public/nsIPermissionManager.idl +++ b/mozilla/netwerk/base/public/nsIPermissionManager.idl @@ -86,7 +86,7 @@ interface nsIPermissionManager : nsISupports * @param type a case-sensitive ASCII string, identifying the consumer. * Consumers should choose this string to be unique, with * respect to other consumers. The number of unique type - * indentifiers may be limited. + * identifiers may be limited. * @param permission an integer from 1 to 15, representing the desired * action (e.g. allow or deny). The interpretation of * this number is up to the consumer, and may represent diff --git a/mozilla/netwerk/protocol/viewsource/src/nsViewSourceChannel.cpp b/mozilla/netwerk/protocol/viewsource/src/nsViewSourceChannel.cpp index 1d9237d5aa7..9f0d5ce3ffc 100644 --- a/mozilla/netwerk/protocol/viewsource/src/nsViewSourceChannel.cpp +++ b/mozilla/netwerk/protocol/viewsource/src/nsViewSourceChannel.cpp @@ -328,7 +328,7 @@ nsViewSourceChannel::SetContentType(const nsACString &aContentType) // Our GetContentType() currently returns VIEWSOURCE_CONTENT_TYPE // // However, during the parsing phase the parser calls our - // channel's GetContentType(). Returing the string above trips up + // channel's GetContentType(). Returning the string above trips up // the parser. In order to avoid messy changes and not to have the // parser depend on nsIViewSourceChannel Vidur proposed the // following solution: diff --git a/mozilla/rdf/base/idl/nsIRDFXMLSource.idl b/mozilla/rdf/base/idl/nsIRDFXMLSource.idl index 67fee1d0fb5..053f4e17ab9 100644 --- a/mozilla/rdf/base/idl/nsIRDFXMLSource.idl +++ b/mozilla/rdf/base/idl/nsIRDFXMLSource.idl @@ -43,7 +43,7 @@ interface nsIRDFXMLSource : nsISupports { /** * Serialize the contents of the datasource to aStream. - * @param aStream the output stream the will recieve the + * @param aStream the output stream the will receive the * RDF/XML. Currently, the output stream need only * implement the |write()| method. */ diff --git a/mozilla/toolkit/components/history/src/nsGlobalHistory.cpp b/mozilla/toolkit/components/history/src/nsGlobalHistory.cpp index 01d102d3690..f8181c95365 100644 --- a/mozilla/toolkit/components/history/src/nsGlobalHistory.cpp +++ b/mozilla/toolkit/components/history/src/nsGlobalHistory.cpp @@ -928,7 +928,7 @@ nsGlobalHistory::SetRowValue(nsIMdbRow *aRow, mdb_column aCol, PRInt32 len = (nsCRT::strlen(aValue) * sizeof(PRUnichar)); PRUnichar *swapval = nsnull; - // eventually turn this on when we're confident in mork's abilitiy + // eventually turn this on when we're confident in mork's ability // to handle yarn forms properly #if 0 NS_ConvertUTF16toUTF8 utf8Value(aValue); diff --git a/mozilla/tools/jprof/stub/libmalloc.cpp b/mozilla/tools/jprof/stub/libmalloc.cpp index 3d493850180..f37d46cd068 100644 --- a/mozilla/tools/jprof/stub/libmalloc.cpp +++ b/mozilla/tools/jprof/stub/libmalloc.cpp @@ -84,7 +84,7 @@ extern r_debug _r_debug; static int gLogFD = -1; static pthread_t main_thread; -static void startSignalCounter(unsigned long milisec); +static void startSignalCounter(unsigned long millisec); static int enableRTCSignals(bool enable); @@ -207,14 +207,14 @@ static int realTime; * programmed to reset, even though it is capable of doing so. This is * to keep from getting interrupts from inside of the handler. */ -static void startSignalCounter(unsigned long milisec) +static void startSignalCounter(unsigned long millisec) { struct itimerval tvalue; tvalue.it_interval.tv_sec = 0; tvalue.it_interval.tv_usec = 0; - tvalue.it_value.tv_sec = milisec/1000; - tvalue.it_value.tv_usec = (milisec%1000)*1000; + tvalue.it_value.tv_sec = millisec/1000; + tvalue.it_value.tv_usec = (millisec%1000)*1000; if (realTime) { setitimer(ITIMER_REAL, &tvalue, NULL); @@ -302,7 +302,7 @@ void *mystry) { static struct timeval tFirst; static int first=1; - size_t milisec = 0; + size_t millisec = 0; #if defined(linux) if (rtcHz && pthread_self() != main_thread) { @@ -320,7 +320,7 @@ void *mystry) #endif { gettimeofday(&tFirst, 0); - milisec = 0; + millisec = 0; } } else { #if defined(linux) @@ -338,14 +338,14 @@ void *mystry) } #ifdef JPROF_PTHREAD_HACK - Log(milisec, NULL); + Log(millisec, NULL); #else // The mystry[19] thing is a hack to figure out where we were called from. // By playing around with the debugger it looks like [19] contains the // information I need. // it's really ((ucontext_t *)mystry)->uc_mcontext.gregs[14] which is // the EIP register when the handler was called - Log(milisec, ((char**)mystry)[19]); + Log(millisec, ((char**)mystry)[19]); #endif if (!rtcHz) startSignalCounter(timerMiliSec); diff --git a/mozilla/tools/trace-malloc/tmfrags.c b/mozilla/tools/trace-malloc/tmfrags.c index dbfaa6aaa2d..0cd7ab3e9cb 100644 --- a/mozilla/tools/trace-malloc/tmfrags.c +++ b/mozilla/tools/trace-malloc/tmfrags.c @@ -555,7 +555,7 @@ unsigned arrayAlloc(AnyArray* inArray, unsigned inItems) ** Resize the item array capcity to a specific number of items. ** This could possibly truncate the array, so handle that as well. ** -** returns unsigned <= inArray->mCapactiy on success. +** returns unsigned <= inArray->mCapacity on success. */ { unsigned retval = (unsigned)-1;