From 4bddf6ff1d420a67760c3944f491dfd70549963a Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Thu, 12 Jan 2006 07:57:31 +0000 Subject: [PATCH] Bug 106386 Correct misspellings in source code patch by philippuryear@gmail.com r=timeless rs=brendan git-svn-id: svn://10.0.0.236/trunk@187469 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/beos/nsImageBeOS.cpp | 2 +- .../wf/src/plugin/mozilla/wf_moz6_common.h | 4 ++-- .../java/pluggable-jvm/wf_moz6/src/wf_moz6_common.h | 4 ++-- mozilla/js/src/jsinterp.h | 2 +- .../renderer/public/nsISVGRendererGlyphGeometry.idl | 2 +- .../renderer/public/nsISVGRendererGlyphMetrics.idl | 2 +- .../renderer/public/nsISVGRendererPathGeometry.idl | 2 +- mozilla/security/manager/ssl/src/nsCrypto.cpp | 2 +- mozilla/widget/src/beos/nsWindow.h | 2 +- .../src/md/unix/xptcinvoke_sparcv9_solaris.cpp | 2 +- .../xptcall/src/md/win32/xptcinvoke_asm_x86_64.asm | 12 ++++++------ .../bootstrap/appleevents/nsAEApplicationClass.cpp | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/mozilla/gfx/src/beos/nsImageBeOS.cpp b/mozilla/gfx/src/beos/nsImageBeOS.cpp index 6f1ffa59b99..9aebe6ade81 100644 --- a/mozilla/gfx/src/beos/nsImageBeOS.cpp +++ b/mozilla/gfx/src/beos/nsImageBeOS.cpp @@ -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); diff --git a/mozilla/java/pluggable-jvm/wf/src/plugin/mozilla/wf_moz6_common.h b/mozilla/java/pluggable-jvm/wf/src/plugin/mozilla/wf_moz6_common.h index 2476b07ad49..abb3b4442f4 100644 --- a/mozilla/java/pluggable-jvm/wf/src/plugin/mozilla/wf_moz6_common.h +++ b/mozilla/java/pluggable-jvm/wf/src/plugin/mozilla/wf_moz6_common.h @@ -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 diff --git a/mozilla/java/pluggable-jvm/wf_moz6/src/wf_moz6_common.h b/mozilla/java/pluggable-jvm/wf_moz6/src/wf_moz6_common.h index dbdf43300e1..a005bea8955 100644 --- a/mozilla/java/pluggable-jvm/wf_moz6/src/wf_moz6_common.h +++ b/mozilla/java/pluggable-jvm/wf_moz6/src/wf_moz6_common.h @@ -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.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 diff --git a/mozilla/js/src/jsinterp.h b/mozilla/js/src/jsinterp.h index edf70f86f3e..9d6288c3a73 100644 --- a/mozilla/js/src/jsinterp.h +++ b/mozilla/js/src/jsinterp.h @@ -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. diff --git a/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphGeometry.idl b/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphGeometry.idl index ec833e3e49f..178b615c509 100644 --- a/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphGeometry.idl +++ b/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphGeometry.idl @@ -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. diff --git a/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphMetrics.idl b/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphMetrics.idl index 765ab31ac68..e59855a0df9 100644 --- a/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphMetrics.idl +++ b/mozilla/layout/svg/renderer/public/nsISVGRendererGlyphMetrics.idl @@ -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. diff --git a/mozilla/layout/svg/renderer/public/nsISVGRendererPathGeometry.idl b/mozilla/layout/svg/renderer/public/nsISVGRendererPathGeometry.idl index e8437f22058..e69767435ae 100644 --- a/mozilla/layout/svg/renderer/public/nsISVGRendererPathGeometry.idl +++ b/mozilla/layout/svg/renderer/public/nsISVGRendererPathGeometry.idl @@ -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. diff --git a/mozilla/security/manager/ssl/src/nsCrypto.cpp b/mozilla/security/manager/ssl/src/nsCrypto.cpp index d8873fc6403..c8011e3fa5d 100644 --- a/mozilla/security/manager/ssl/src/nsCrypto.cpp +++ b/mozilla/security/manager/ssl/src/nsCrypto.cpp @@ -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) diff --git a/mozilla/widget/src/beos/nsWindow.h b/mozilla/widget/src/beos/nsWindow.h index 85ddc846680..e9e64eb92f4 100644 --- a/mozilla/widget/src/beos/nsWindow.h +++ b/mozilla/widget/src/beos/nsWindow.h @@ -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; diff --git a/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparcv9_solaris.cpp b/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparcv9_solaris.cpp index 83b28ebb49d..c1b91e4a18c 100644 --- a/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparcv9_solaris.cpp +++ b/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparcv9_solaris.cpp @@ -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. */ diff --git a/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke_asm_x86_64.asm b/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke_asm_x86_64.asm index 7bd8674a883..5291e8ae469 100755 --- a/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke_asm_x86_64.asm +++ b/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke_asm_x86_64.asm @@ -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 diff --git a/mozilla/xpfe/bootstrap/appleevents/nsAEApplicationClass.cpp b/mozilla/xpfe/bootstrap/appleevents/nsAEApplicationClass.cpp index 1d4f31a1952..55b49c9d66b 100644 --- a/mozilla/xpfe/bootstrap/appleevents/nsAEApplicationClass.cpp +++ b/mozilla/xpfe/bootstrap/appleevents/nsAEApplicationClass.cpp @@ -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);