зеркало из https://github.com/mozilla/gecko-dev.git
Bug 106386 Correct misspellings in source code
patch by philippuryear@gmail.com r=timeless rs=brendan
This commit is contained in:
Родитель
02e2bc5ded
Коммит
8397d43a6a
|
@ -183,7 +183,7 @@ NS_IMETHODIMP nsImageBeOS::Draw(nsIRenderingContext &aContext, nsIDrawingSurface
|
|||
if (mDecodedX2 < mDecodedX1 || mDecodedY2 < mDecodedY1)
|
||||
return NS_OK;
|
||||
|
||||
// As we do all scaling with Be API (DrawBitmap), using float is safe and convinient
|
||||
// As we do all scaling with Be API (DrawBitmap), using float is safe and convenient
|
||||
float srcX = aSX, srcY = aSY, srcMostX = aSX + aSWidth, srcMostY = aSY + aSHeight;
|
||||
float dstX = aDX, dstY = aDY, dstMostX = aDX + aDWidth, dstMostY = aDY + aDHeight;
|
||||
float scaleX = float(aDWidth)/float(aSWidth), scaleY = float(aDHeight)/float(aSHeight);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Portions created by Sun Microsystems Inc are Copyright (C) 2001
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* $Id: wf_moz6_common.h,v 1.2 2001/07/12 19:58:19 edburns%acm.org Exp $
|
||||
* $Id: wf_moz6_common.h,v 1.3 2006/01/12 07:57:22 timeless%mozdev.org Exp $
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
|
@ -28,7 +28,7 @@
|
|||
/** Ideology behind this file:
|
||||
* To keep generic binary compatibility, and be independent from Mozilla
|
||||
* build system for Mozilla extension (not very good idea, but currently
|
||||
* it's more convinient) we need some kind of fixed API/ABI between
|
||||
* it's more convenient) we need some kind of fixed API/ABI between
|
||||
* extension and Java service in browser. This file is _only_ (beside
|
||||
* jvmp.h) common header between Java component and extension. It's written
|
||||
* in pure C and has no Mozilla dependencies. So JVM service in browser fills
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Portions created by Sun Microsystems Inc are Copyright (C) 2001
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* $Id: wf_moz6_common.h,v 1.1 2001/05/10 18:12:45 edburns%acm.org Exp $
|
||||
* $Id: wf_moz6_common.h,v 1.2 2006/01/12 07:57:29 timeless%mozdev.org Exp $
|
||||
*
|
||||
*
|
||||
* Contributor(s):
|
||||
|
@ -29,7 +29,7 @@
|
|||
/** Ideology behind this file:
|
||||
* To keep generic binary compatibility, and be independent from Mozilla
|
||||
* build system for Mozilla extension (not very good idea, but currently
|
||||
* it's more convinient) we need some kind of fixed API/ABI between
|
||||
* it's more convenient) we need some kind of fixed API/ABI between
|
||||
* extension and Java service in browser. This file is _only_ (beside
|
||||
* jvmp.h) common header between Java component and extension. It's written
|
||||
* in pure C and has no Mozilla dependencies. So JVM service in browser fills
|
||||
|
|
|
@ -262,7 +262,7 @@ extern void js_DumpCallTable(JSContext *cx);
|
|||
* "Call" objects that have private data) may not be referred to by 'this',
|
||||
* as dictated by ECMA.
|
||||
*
|
||||
* N.B.: fp->argv must be set, fp->argv[-1] the nominal 'this' paramter as
|
||||
* N.B.: fp->argv must be set, fp->argv[-1] the nominal 'this' parameter as
|
||||
* a jsval, and fp->argv[-2] must be the callee object reference, usually a
|
||||
* function object. Also, fp->flags must contain JSFRAME_CONSTRUCTING if we
|
||||
* are preparing for a constructor call.
|
||||
|
|
|
@ -76,7 +76,7 @@ interface nsISVGRendererGlyphGeometry : nsISupports
|
|||
/**
|
||||
* Called by this object's corresponding nsISVGGlyphGeometrySource
|
||||
* as a notification that some of the source's data (identified by
|
||||
* paramter 'updatemask') has changed.
|
||||
* parameter 'updatemask') has changed.
|
||||
*
|
||||
* @param updatemask An OR-ed combination of the UPDATEMASK_*
|
||||
* constants defined in nsISVGGlyphGeometrySource.
|
||||
|
|
|
@ -111,7 +111,7 @@ interface nsISVGRendererGlyphMetrics : nsISupports
|
|||
/**
|
||||
* Called by this object's corresponding nsISVGGlyphMetricsSource as
|
||||
* a notification that some of the source's data (identified by
|
||||
* paramter 'updatemask') has changed.
|
||||
* parameter 'updatemask') has changed.
|
||||
*
|
||||
* @param updatemask An OR-ed combination of the UPDATEMASK_*
|
||||
* constants defined in nsISVGGlyphMetricsSource.
|
||||
|
|
|
@ -76,7 +76,7 @@ interface nsISVGRendererPathGeometry : nsISupports
|
|||
/**
|
||||
* Called by this object's corresponding nsISVGPathGeometrySource as
|
||||
* a notification that some of the source's data (identified by
|
||||
* paramter 'updatemask') has changed.
|
||||
* parameter 'updatemask') has changed.
|
||||
*
|
||||
* @param updatemask An OR-ed combination of the UPDATEMASK_*
|
||||
* constants defined in nsISVGPathGeometrySource.
|
||||
|
|
|
@ -271,7 +271,7 @@ nsCrypto::GetEnableSmartCardEvents(PRBool *aEnable)
|
|||
//These next few functions are based on implementation in
|
||||
//the script security manager to get the principals from
|
||||
//a JSContext. We need that to successfully run the
|
||||
//callback paramter passed to crypto.generateCRMFRequest
|
||||
//callback parameter passed to crypto.generateCRMFRequest
|
||||
static nsresult
|
||||
cryptojs_GetScriptPrincipal(JSContext *cx, JSScript *script,
|
||||
nsIPrincipal **result)
|
||||
|
|
|
@ -316,7 +316,7 @@ private:
|
|||
#endif
|
||||
BPoint mousePos;
|
||||
uint32 mouseMask;
|
||||
// actually it is delta, not point, using it as convinient x,y storage
|
||||
// actually it is delta, not point, using it as convenient x,y storage
|
||||
BPoint wheel;
|
||||
bool fRestoreMouseMask;
|
||||
bool fJustValidated;
|
||||
|
|
|
@ -86,7 +86,7 @@ invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
|
|||
case nsXPTType::T_U64 : *((PRUint64*)l_d) = l_s->val.u64; break;
|
||||
|
||||
/* in the case of floats, we want to put the bits in to the
|
||||
64bit space right justified... floats in the paramter array on
|
||||
64bit space right justified... floats in the parameter array on
|
||||
sparcv9 use odd numbered registers.. %f1, %f3, so we have to skip
|
||||
the space that would be occupied by %f0, %f2, etc.
|
||||
*/
|
||||
|
|
|
@ -81,13 +81,13 @@ XPTC__InvokebyIndex PROC
|
|||
mov rcx, rsp
|
||||
|
||||
;
|
||||
; 2nd paramter is parameter count
|
||||
; 2nd parameter is parameter count
|
||||
;
|
||||
|
||||
mov edx, r8d
|
||||
|
||||
;
|
||||
; 3rd paramter is params
|
||||
; 3rd parameter is params
|
||||
;
|
||||
|
||||
mov r8, r9
|
||||
|
@ -112,21 +112,21 @@ XPTC__InvokebyIndex PROC
|
|||
noparams:
|
||||
|
||||
;
|
||||
; 1st paramter (this)
|
||||
; 1st parameter (this)
|
||||
;
|
||||
|
||||
mov rcx, [rbp+8] ; that
|
||||
|
||||
;
|
||||
; calcurate call address
|
||||
; calculate call address
|
||||
;
|
||||
|
||||
mov rbx, [rcx]
|
||||
mov eax, [rbp+16] ; methodIndex
|
||||
|
||||
;
|
||||
; Now current stack has paramter list
|
||||
; But, since callee function backups paramters, make space into stack.
|
||||
; Now current stack has parameter list
|
||||
; But, since callee function backups parameters, make space into stack.
|
||||
|
||||
sub rsp, 8
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ void AEApplicationClass::HandleCount(AEDesc *token, const AppleEvent *appleEvent
|
|||
err = GetObjectClassFromAppleEvent(appleEvent, &objectClass);
|
||||
ThrowIfOSErr(err);
|
||||
|
||||
// Make sure we got & handled all of the required paramters
|
||||
// Make sure we got & handled all of the required parameters
|
||||
err = CheckForUnusedParameters(appleEvent);
|
||||
ThrowIfOSErr(err);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче