Bug 106386 Correct misspellings in source code

r=glennrp@gmail.com, bclary@bclary.com rs=brendan
This commit is contained in:
timeless%mozdev.org 2006-11-01 23:02:18 +00:00
Родитель 0be607f6ea
Коммит 46d2b15871
48 изменённых файлов: 67 добавлений и 63 удалений

Просмотреть файл

@ -310,7 +310,7 @@ interface nsIAccessible : nsISupports
/**
* Extended state flags (for now non-MSAA, for Java and Gnome/ATK support)
* "Extended state flags" has seperate value space from "MSAA State flags".
* "Extended state flags" has separate value space from "MSAA State flags".
*/
const unsigned long EXT_STATE_DEFUNCT = 0x00080000; // Object no longer exists
const unsigned long EXT_STATE_SELECTABLE_TEXT= 0x00100000; // For text which is selectable, object must implement nsIAccessibleText

Просмотреть файл

@ -112,7 +112,7 @@ PROT_DataProvider.prototype.loadDataProviderPrefs_ = function() {
this.reportErrorURL_ = this.getUrlPref_(basePref + "reportErrorURL");
this.reportPhishURL_ = this.getUrlPref_(basePref + "reportPhishURL");
// Propogate the changes to the list-manager.
// Propagate the changes to the list-manager.
this.updateListManager_();
}

Просмотреть файл

@ -138,7 +138,7 @@ NP_Initialize(NPNetscapeFuncs* pFuncs)
// NP_Shutdown
//
// called immediately before the plugin DLL is unloaded.
// This functio shuold check for some ref count on the dll to see if it is
// This function should check for some ref count on the dll to see if it is
// unloadable or it needs to stay in memory.
//
NPError WINAPI NP_EXPORT

Просмотреть файл

@ -45,7 +45,7 @@ interface nsIMutableArray;
[scriptable, uuid(f76c0901-437a-11d3-b7a0-e35db351b4bc)]
interface nsIDialogParamBlock: nsISupports {
/** Get or set an interger to pass.
/** Get or set an integer to pass.
* Index must be in the range 0..7
*/
PRInt32 GetInt( in PRInt32 inIndex );

Просмотреть файл

@ -122,7 +122,7 @@ class WrappedNative(Component):
# to us until someone calls self._remember_object() on the context -
# which sets up all kinds of cycles!
self.__dict__['_context_'] = context
# We store expandos in a seperate dict rather than directly in our
# We store expandos in a separate dict rather than directly in our
# __dict__. No real need for this other than to prevent these
# attributes clobbering ones we need to work!
self.__dict__['_expandos_'] = {}

Просмотреть файл

@ -935,7 +935,7 @@ WordSplitState::FindSpecialWord()
for (i = mDOMWordOffset;
i < PRInt32(mDOMWordText.Length()); i ++) {
if (mDOMWordText[i] == '@') {
// only accept this if there are unambigous word characters (don't bother
// only accept this if there are unambiguous word characters (don't bother
// recursing to disambiguate apostrophes) on each side. This prevents
// classifying, e.g. "@home" as an email address

Просмотреть файл

@ -105,7 +105,7 @@ interface nsIWebDAVService : nsISupports
in nsISupports closure);
/**
* @param properties an array of propertynames, where the namespace
* and the name of the properties are seperated by
* and the name of the properties are separated by
* a space
* @param notificationCallbacks
* The notification callbacks to be passed to the channel

Просмотреть файл

@ -67,7 +67,7 @@ interface nsIModelElementPrivate : nsIXFormsModelElement
/**
* This function takes an instance data node, finds the type bound to it, and
* returns the seperated out type and namespace URI. If no type is set for
* returns the separated out type and namespace URI. If no type is set for
* the node, then it returns the defaults: "http://www.w3.org/2001/XMLSchema"
* and "string"
*/

Просмотреть файл

@ -54,7 +54,7 @@ interface nsIXFormsRangeConditionAccessors : nsIXFormsAccessors
/**
* Used to tell the XForms processor whether the control can represent all
* of data in the bound node. For example, if there are 3 different
* space-seperated values in the instance data bound to a xf:select1 and the
* space-separated values in the instance data bound to a xf:select1 and the
* select1 only has one item, then the data must be out of the range of
* the control.
*

Просмотреть файл

@ -2439,7 +2439,7 @@ nsXFormsModelElement::ProcessBind(nsIDOMXPathEvaluator *aEvaluator,
NS_ENSURE_TRUE(newString, NS_ERROR_OUT_OF_MEMORY);
NS_ENSURE_TRUE(table->Put(node, newString), NS_ERROR_OUT_OF_MEMORY);
// string is succesfully stored in the table, we should not dealloc it
// string is successfully stored in the table, we should not dealloc it
newString.forget();
if (j == eModel_type) {

Просмотреть файл

@ -67,7 +67,7 @@
*
* \<output\> is not really that different from \<input\>
* (ie. nsXFormsDelegateStub), except that it has an "value" attribute that
* must be handled seperately because it is evaluated to a string result.
* must be handled separately because it is evaluated to a string result.
*
* @see http://www.w3.org/TR/xforms/slice8.html#ui-output
*/

Просмотреть файл

@ -791,7 +791,7 @@
}
} else {
// not a copyItem, so grab the item's value and append it to our
// space seperated list.
// space separated list.
selectedValues += options[i].control.
QueryInterface(Components.interfaces.nsIXFormsSelectChild).value;
}

Просмотреть файл

@ -865,7 +865,7 @@ scale_image(nsAntiAliasedGlyph *aSrc, nsAntiAliasedGlyph *aDst)
//
// Calculate the ratio between the unscaled horizontal and
// the scaled horizontal. Use interger multiplication
// the scaled horizontal. Use integer multiplication
// using a 24.8 format fixed decimal format.
ratio = (dst_width<<8)/src_width;
@ -910,7 +910,7 @@ scale_image(nsAntiAliasedGlyph *aSrc, nsAntiAliasedGlyph *aDst)
//
// Calculate the ratio between the unscaled vertical and
// the scaled vertical. Use interger multiplication
// the scaled vertical. Use integer multiplication
// using a 24.8 format fixed decimal format.
ratio = (dst_height<<8)/src_height;

Просмотреть файл

@ -513,7 +513,7 @@ public:
/**
* Printing functions
*/
// XXX look and see if the arguments here should be a seperate object
// XXX look and see if the arguments here should be a separate object
void BeginPrinting(const nsAString& aTitle, const nsAString& aPrintToFileName);
void EndPrinting();
void AbortPrinting();

Просмотреть файл

@ -192,7 +192,7 @@ public class MailToURLConnection extends URLConnection {
*
* <p> NOTE: HTTP requires all request properties which can
* legally have multiple instances with the same key
* to use a comma-seperated list syntax which enables multiple
* to use a comma-separated list syntax which enables multiple
* properties to be appended into a single property.
*
*

Просмотреть файл

@ -119,7 +119,7 @@ class FilterFolder extends FolderBase {
}
// Returns the set of messages that match the current search term,
// all messages if there is no term, and null if there is no target folder.
// I think this should propogate the MessagingException up, but FolderBase
// I think this should propagate the MessagingException up, but FolderBase
// is not doing this, so I need to talk to Terry.
public synchronized Message[] getMessages() {
resync();

Просмотреть файл

@ -103,7 +103,7 @@ public interface PlugletStreamListener {
void onStopBinding(PlugletStreamInfo streamInfo,int status);
/**
* Returns the type of stream.<p>
* @param int This is an interger representing the stream type:<p>
* @param int This is an integer representing the stream type:<p>
* 1 for STREAM_TYPE_NORMAL<br>
* 2 for STREAM_TYPE_SEEK<br>
* 3 for STREAM_TYPE_AS_FILE<br>

Просмотреть файл

@ -22,7 +22,7 @@
#
# Contributor(s):
# Robert Ginda <rginda@netscape.com>, Initial development.
# Pavel Hlavnicka <pavel@gingerall.cz>, seperate tocs, param linking.
# Pavel Hlavnicka <pavel@gingerall.cz>, separate tocs, param linking.
# Petr Cimprich <petr@gingerall.cz>, nested frameset fix, encoded URLs.
# Petr Cimprich <petr@gingerall.cz>, Mozilla sidebar generated from TOC
#

Просмотреть файл

@ -545,7 +545,7 @@ typedef enum JSContextOp {
/*
* The possible values for contextOp when the runtime calls the callback are:
* JSCONTEXT_NEW JS_NewContext succesfully created a new JSContext
* JSCONTEXT_NEW JS_NewContext successfully created a new JSContext
* instance. The callback can initialize the instance as
* required. If the callback returns false, the instance
* will be destroyed and JS_NewContext returns null. In

Просмотреть файл

@ -55,7 +55,7 @@ The parser processes META tags looking for META TARGET</LI>
<LI>
The parser processes META tags looking for META tags which affect the character
set. Nav4 handles the very first character set defining meta tag (all others
are ingored) by reloading the document with the proper character conversion
are ignored) by reloading the document with the proper character conversion
module inserted into the stream pipeline.</LI>
</UL>
@ -383,7 +383,7 @@ state machine. It has no effect on any other state.</UL>
<B>CENTER</B>
<UL>Closes the paragraph. Always does a conditional soft line break. The
open tag pushes an alignment on the aligment stack. The close tag pops
the top alighment off.
the top alignment off.
<BR>Attributes: none</UL>
<B>DIV</B>
<UL>Closes the paragraph. Always does a conditional soft line break. COLS

Просмотреть файл

@ -2098,7 +2098,7 @@ nsLineLayout::VerticalAlignFrames(PerSpanData* psd)
while (nsnull != pfd) {
nsIFrame* frame = pfd->mFrame;
// sanity check (see bug 105168, non-reproducable crashes from null frame)
// sanity check (see bug 105168, non-reproducible crashes from null frame)
NS_ASSERTION(frame, "null frame in PerFrameData - something is very very bad");
if (!frame) {
return;

Просмотреть файл

@ -43,7 +43,7 @@
#include "nsISVGValue.h"
// This is a very simple frame whose only purpose is to capture style change
// events and propogate them to the parent. Most of the heavy lifting is done
// events and propagate them to the parent. Most of the heavy lifting is done
// within the nsSVGGradientFrame, which is the parent for this frame
typedef nsFrame nsSVGStopFrameBase;

Просмотреть файл

@ -201,7 +201,7 @@ span.moz-smiley-s7 {
background-image: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* suprise */
/* surprise */
span.moz-smiley-s8 {
background-image: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}

Просмотреть файл

@ -125,7 +125,7 @@ span.moz-smiley-s7 {
background-image: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* suprise */
/* surprise */
span.moz-smiley-s8 {
background-image: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}

Просмотреть файл

@ -125,7 +125,7 @@ span.moz-smiley-s7 {
background-image: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* suprise */
/* surprise */
span.moz-smiley-s8 {
background-image: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}

Просмотреть файл

@ -97,7 +97,7 @@ function updateSpamLevel()
document.getElementById('spamLevel').checked ? 100 : 0;
}
// propogate changes to the server filter menu list back to
// propagate changes to the server filter menu list back to
// our hidden wsm element.
function onServerFilterListChange()
{
@ -105,7 +105,7 @@ function onServerFilterListChange()
document.getElementById("useServerFilterList").value;
}
// propogate changes to the whitelist menu list back to
// propagate changes to the whitelist menu list back to
// our hidden wsm element.
function onWhiteListAbURIChange()
{

Просмотреть файл

@ -101,7 +101,7 @@ protected:
PRBool m_suppressErrorMsgs;
// the following field is really a bit of a hack to make
// open attachments work. The external applications code sometimes trys to figure out the right
// open attachments work. The external applications code sometimes tries to figure out the right
// handler to use by looking at the file extension of the url we are trying to load. Unfortunately,
// the attachment file name really isn't part of the url string....so we'll store it here...and if
// the url we are running is an attachment url, we'll set it here. Then when the helper apps code

Просмотреть файл

@ -55,7 +55,7 @@
struct mime_store {
char *mimetype;
char *extensions; // comma seperated list of extension. Dot is optional
char *extensions; // comma separated list of extension. Dot is optional
char *description;
int isEnabled; // 0 if disabled; else enabled
};

Просмотреть файл

@ -2382,7 +2382,7 @@ nsresult nsPluginStreamListenerPeer::SetUpStreamListener(nsIRequest *request,
!lastModified.IsEmpty())
{
PRTime time64;
PR_ParseTimeString(lastModified.get(), PR_TRUE, &time64); //convert string time to interger time
PR_ParseTimeString(lastModified.get(), PR_TRUE, &time64); //convert string time to integer time
// Convert PRTime to unix-style time_t, i.e. seconds since the epoch
double fpTime;

Просмотреть файл

@ -160,7 +160,7 @@ NP_Initialize(NPNetscapeFuncs* pFuncs)
// NP_Shutdown
//
// called immediately before the plugin DLL is unloaded.
// This functio shuold check for some ref count on the dll to see if it is
// This function should check for some ref count on the dll to see if it is
// unloadable or it needs to stay in memory.
//
NPError OSCALL NP_EXPORT

Просмотреть файл

@ -158,7 +158,7 @@ NP_Initialize(NPNetscapeFuncs* pFuncs)
// NP_Shutdown
//
// called immediately before the plugin DLL is unloaded.
// This functio shuold check for some ref count on the dll to see if it is
// This function should check for some ref count on the dll to see if it is
// unloadable or it needs to stay in memory.
//
NPError WINAPI NP_EXPORT

Просмотреть файл

@ -479,7 +479,7 @@ nsHttpTransaction::WritePipeSegment(nsIOutputStream *stream,
if (NS_FAILED(rv))
trans->Close(rv);
return rv; // failure code only stops WriteSegments; it is not propogated.
return rv; // failure code only stops WriteSegments; it is not propagated.
}
nsresult

Просмотреть файл

@ -124,7 +124,7 @@ span.moz-smiley-s7 {
background-image: url("chrome://communicator/skin/icons/smileys/undecided_n.gif");
}
/* suprise */
/* surprise */
span.moz-smiley-s8 {
background-image: url("chrome://communicator/skin/icons/smileys/surprise_n.gif");
}

Просмотреть файл

@ -124,7 +124,7 @@ span.moz-smiley-s7 {
background-image: url("chrome://communicator/skin/icons/smileys/undecided_n.gif");
}
/* suprise */
/* surprise */
span.moz-smiley-s8 {
background-image: url("chrome://communicator/skin/icons/smileys/surprise_n.gif");
}

Просмотреть файл

@ -350,7 +350,7 @@ nsFaviconService::UpdateBookmarkRedirectFavicon(nsIURI* aPage, nsIURI* aFavicon)
// nsFaviconService::SendFaviconNotifications
//
// Call to send out favicon changed notifications. Shuold only be called
// Call to send out favicon changed notifications. Should only be called
// when you know there is data loaded for the favicon.
void

Просмотреть файл

@ -870,7 +870,7 @@ int difftool(Options* inOptions)
theSymbol = theObject->mSymbols + symbolLoop;
/*
** Propogate the composition all the way to the top.
** Propagate the composition all the way to the top.
** Sizes of zero change are skipped.
*/
if(0 < theSymbol->mSize)

Просмотреть файл

@ -584,7 +584,7 @@ categorizeAllocation(STOptions * inOptions, STContext * inContext,
node->runs[inContext->mIndex], aAllocation,
PR_FALSE);
/* Propogate upwards the statistics */
/* Propagate upwards the statistics */
/* XXX */
#if defined(DEBUG_dp) && 0
fprintf(stderr, "DEBUG: [%s] match\n", node->categoryName);

Просмотреть файл

@ -678,7 +678,7 @@ byteSize(STOptions * inOptions, STAllocation * aAlloc)
** recalculateAllocationCost
**
** Given an allocation, does a recalculation of Cost - weight, heapcount etc.
** and does the right thing to propogate the cost upwards.
** and does the right thing to propagate the cost upwards.
*/
int
recalculateAllocationCost(STOptions * inOptions, STContext * inContext,
@ -1060,7 +1060,7 @@ harvestRun(const STRun * aInRun, STRun * aOutRun,
/*
** recalculateRunCost
**
** Goes over all allocations of a run and recalculates and propogates
** Goes over all allocations of a run and recalculates and propagates
** the allocation costs - weight, heapcount, size
*/
int
@ -5790,7 +5790,7 @@ handleClient(void *inArg)
*/
PR_fprintf(aFD, "HTTP/1.1 200 OK%s", crlf);
PR_fprintf(aFD, "Server: %s%s",
"$Id: spacetrace.c,v 1.53 2006/02/23 09:36:40 timeless%mozdev.org Exp $",
"$Id: spacetrace.c,v 1.54 2006/11/01 23:02:17 timeless%mozdev.org Exp $",
crlf);
PR_fprintf(aFD, "Content-type: ");
if (NULL != strstr(start, ".png")) {

Просмотреть файл

@ -5139,7 +5139,7 @@ nsTemplateMatch::GetAssignmentFor(nsConflictSet &, int, Value *)
PR_Malloc
PL_ArenaAllocate
nsFixedSizeAllocator::Alloc(unsigned int)
nsInstantiationNode::Propogate(InstantiationSet const &, void *)
nsInstantiationNode::Propagate(InstantiationSet const &, void *)
<nsTemplateMatch>
PR_Malloc

Просмотреть файл

@ -1773,7 +1773,7 @@ obtained by C<values(%{$user-E<gt>groups})>.)
=item C<groups_as_string>
Returns a string containing a comma-seperated list of numeric group ids. If
Returns a string containing a comma-separated list of numeric group ids. If
the user is not a member of any groups, returns "-1". This is most often used
within an SQL IN() function.

Просмотреть файл

@ -1535,7 +1535,7 @@ package BotModules;
# Do not override this either, unless you know what
# you are doing (I don't, and I wrote it...). If you
# want to add variables to $self, use Initialise.
# The paramter is the name of the module.
# The parameter is the name of the module.
sub create {
my $class = shift;
my ($name, $filename) = @_;

Просмотреть файл

@ -12,9 +12,9 @@
# the completed string before it is returned.
# $Revision: 1.30 $
# $Date: 2006/07/27 16:31:06 $
# $Author: bear%code-bear.com $
# $Revision: 1.31 $
# $Date: 2006/11/01 23:02:18 $
# $Author: timeless%mozdev.org $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/HTMLPopUp.pm,v $
# $Name: $
@ -750,7 +750,7 @@ bug reports, please provide the version of CGI.pm, the version of
Perl, the name and version of your Web server, and the name and
version of the operating system you are using. If the problem is even
remotely browser dependent, please provide information about the
affected browers as well.
affected browsers as well.
=head1 SEE ALSO

Просмотреть файл

@ -8,9 +8,9 @@
# The only external interface to this library is summary_pages() and
# create_global_index() these functions are only called by tinder.cgi.
# $Revision: 1.17 $
# $Date: 2005/10/06 07:23:05 $
# $Author: bear%code-bear.com $
# $Revision: 1.18 $
# $Date: 2006/11/01 23:02:18 $
# $Author: timeless%mozdev.org $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/Summaries.pm,v $
# $Name: $
@ -383,7 +383,7 @@ EOF
$body .= "\t<TABLE BORDER=1 CELLPADDING=1 CELLSPACING=1>\n";
$body .= "\t\t<TR><TH ALIGH=LEFT COLSPAN=$colspan>";
$body .= "\t\t<TR><TH ALIGN=LEFT COLSPAN=$colspan>";
$body .= HTMLPopUp::Link(
"linktxt"=> ("$TREE is $TREE_STATE".

Просмотреть файл

@ -17,9 +17,9 @@
# Time Column, Version Control (VC) checkin lists,
# notice board display, build display (colored squares)
# $Revision: 1.24 $
# $Date: 2006/07/27 16:31:06 $
# $Author: bear%code-bear.com $
# $Revision: 1.25 $
# $Date: 2006/11/01 23:02:18 $
# $Author: timeless%mozdev.org $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/TinderDB.pm,v $
# $Name: $
@ -117,7 +117,7 @@ $VERSION = '#tinder_version#';
$DEBUG = 1;
# What border should the status legends use? new browers allow us to
# What border should the status legends use? new browsers allow us to
# frame the parts of the legend without putting a border arround the
# individual cells.

Просмотреть файл

@ -2861,7 +2861,7 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc)
}
}
result = DispatchMouseEvent( NS_MOUSE_MOVE, mp1, mp2);
// don't propogate mouse move or the OS will change the pointer
// don't propagate mouse move or the OS will change the pointer
if (!mIsScrollBar)
result = PR_TRUE;
break;

Просмотреть файл

@ -764,7 +764,7 @@ nsPipeInputStream::ReadSegments(nsWriteSegmentFun writer,
if (NS_FAILED(rv) || writeCount == 0) {
count = 0;
// any errors returned from the writer end here: do not
// propogate to the caller of ReadSegments.
// propagate to the caller of ReadSegments.
rv = NS_OK;
break;
}
@ -1095,7 +1095,7 @@ nsPipeOutputStream::WriteSegments(nsReadSegmentFun reader,
if (NS_FAILED(rv) || readCount == 0) {
count = 0;
// any errors returned from the reader end here: do not
// propogate to the caller of WriteSegments.
// propagate to the caller of WriteSegments.
rv = NS_OK;
break;
}

Просмотреть файл

@ -325,7 +325,7 @@ PRInt32 nsInstallPatch::Complete()
nsCAutoString tempPath;
mTargetFile->GetNativePath(tempPath);
// DO NOT propogate version registry errors, it will abort
// DO NOT propagate version registry errors, it will abort
// FinalizeInstall() leaving things hosed. These piddly errors
// aren't worth that.
VR_Install( NS_CONST_CAST(char *, NS_ConvertUTF16toUTF8(*mRegistryName).get()),

Просмотреть файл

@ -5,6 +5,10 @@
// % Language : C++
// %
// % $Log: GUSIOpenTransport.h,v $
// % Revision 1.2 2006/11/01 23:02:18 timeless%mozdev.org
// % Bug 106386 Correct misspellings in source code
// % r=glennrp@gmail.com, bclary@bclary.com rs=brendan
// %
// % Revision 1.1 2001/03/11 22:37:24 sgehani%netscape.com
// % First Checked In.
// %
@ -330,7 +334,7 @@ public:
virtual int getpeername(void * name, socklen_t * namelen);
// [[accept]] may become quite complex, because connections could nest. The
// listening socket calls [[OTListen]], queues candidates by their
// [[fNextListener]] field, and then trys calling [[OTAccept]] on the first
// [[fNextListener]] field, and then tries calling [[OTAccept]] on the first
// candidate.
//
// <Overridden member functions for [[GUSIOTStreamSocket]]>=