Closed Bug 577266 Opened 14 years ago Closed 10 years ago

Correct misspellings in source code

Categories

(Core :: General, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: mkohler, Assigned: emorley)

References

(Depends on 1 open bug)

Details

Attachments

(2 files, 5 obsolete files)

Please add new misspellings here and not in "Part 2". If the misspelling is only in "nspr" or "nss", please report it in the specific bug report (aliases "spelling-nspr" and "spelling-nss").
NSPR misspellings: bug 577267
NSS misspellings: bug 577268
Depends on: 577222
http://mxr.mozilla.org/mozilla-central/source/intl/uconv/src/nsUnicodeToUTF8.cpp#56

55   // need to complete it here. If the first word in following buffer is not
56   // in valid surrogate rang, we need to convert the remaining of last buffer 

s.b. rangE
Assignee: michaelkohler → nobody
Status: ASSIGNED → NEW
I'm not sure if this belongs here as it's not (just) in the source code. The About window of Thunderbird 5 has a link to "Licencing Information"
Attachment #558632 - Flags: review?(margaret.leibovic)
Attachment #558632 - Attachment is obsolete: true
Attachment #558664 - Flags: review?(margaret.leibovic)
Attachment #558632 - Flags: review?(margaret.leibovic)
Comment on attachment 558664 [details] [diff] [review]
Same as above, minus white-space changes

This looks good, but I think we should leave out the NSS changes because that code is managed separately (comments 0 and 1 in this bug mention that -- perhaps you could file a follow-up to bug 577268?).

If you upload a new patch without the changes in that one file, I can go ahead and land this for you!
Attachment #558664 - Flags: review?(margaret.leibovic) → review+
Attachment #558679 - Flags: review?(margaret.leibovic)
Attachment #558664 - Attachment is obsolete: true
Attachment #558733 - Flags: review?(margaret.leibovic)
Comment on attachment 558679 [details] [diff] [review]
Remainder of spelling fixes noted in this bug

This looks good! I'm giving it an r- because I have one main concern, but I'll give it an r+ one this is fixed:

>diff --git a/mobile/app/mobile.js b/mobile/app/mobile.js
>--- a/mobile/app/mobile.js
>+++ b/mobile/app/mobile.js
>@@ -212,17 +212,17 @@ pref("extensions.getAddons.recommended.b

>-pref("extensions.compatability.locales.buildid", "0");
>+pref("extensions.compatibility.locales.buildid", "0");

I think we should leave this pref name alone because people may have come to depend on it. You could file a Fennec bug about this issue, since the people working on this code would know more about its use.

>diff --git a/mobile/chrome/content/localePicker.js b/mobile/chrome/content/localePicker.js
>--- a/mobile/chrome/content/localePicker.js
>+++ b/mobile/chrome/content/localePicker.js
>@@ -210,17 +210,17 @@ let LocaleUI = {

>-    Services.prefs.setCharPref("extensions.compatability.locales.buildid", buildID);
>+    Services.prefs.setCharPref("extensions.compatibility.locales.buildid", buildID);

This would also need to be left alone then.

>diff --git a/mobile/components/BrowserCLH.js b/mobile/components/BrowserCLH.js
>--- a/mobile/components/BrowserCLH.js
>+++ b/mobile/components/BrowserCLH.js
>@@ -121,19 +121,19 @@ function showPanelWhenReady(aWindow, aPa

>-    let localeBuildID = Services.prefs.getCharPref("extensions.compatability.locales.buildid");
>+    let localeBuildID = Services.prefs.getCharPref("extensions.compatibility.locales.buildid");

And this.

>diff --git a/mobile/components/UpdatePrompt.js b/mobile/components/UpdatePrompt.js
>--- a/mobile/components/UpdatePrompt.js
>+++ b/mobile/components/UpdatePrompt.js
>@@ -235,17 +235,17 @@ UpdatePrompt.prototype = {

>-      Services.prefs.setCharPref("extensions.compatability.locales.buildid", aUpdate.buildID);
>+      Services.prefs.setCharPref("extensions.compatibility.locales.buildid", aUpdate.buildID);

And this.
Attachment #558679 - Flags: review?(margaret.leibovic) → review-
Attachment #558733 - Flags: review?(margaret.leibovic) → review+
Comment on attachment 558679 [details] [diff] [review]
Remainder of spelling fixes noted in this bug

Review of attachment 558679 [details] [diff] [review]:
-----------------------------------------------------------------

::: media/libvorbis/lib/vorbis_mapping0.c
@@ +63,5 @@
>    /* another 'we meant to do it this way' hack...  up to beta 4, we
>       packed 4 binary zeros here to signify one submapping in use.  We
>       now redefine that to mean four bitflags that indicate use of
>       deeper features; bit0:submappings, bit1:coupling,
> +     bit2,3:reserved. This is backward compatible with all actual uses

I realized we should also leave this change out as well, since libvorbis is external code.

::: nsprpub/pr/include/obsolete/probslet.h
@@ +88,5 @@
>  **
>  ** INPUTS:
>  **   PRInt32 num             
>  **       This argument is unused but is provided for select(unix) interface
> +**       compatibility.  All input PR_fd_set arguments are self-describing

Same thing here - we should omit this change.
Comment on attachment 558679 [details] [diff] [review]
Remainder of spelling fixes noted in this bug

I'm sorry, I'm noticing even more external files, but I think I got them all!

>diff --git a/gfx/cairo/cairo/src/cairo-xlib-surface.c b/gfx/cairo/cairo/src/cairo-xlib-surface.c
>--- a/gfx/cairo/cairo/src/cairo-xlib-surface.c
>+++ b/gfx/cairo/cairo/src/cairo-xlib-surface.c

This should be left alone.

>diff --git a/ipc/chromium/src/chrome/common/visitedlink_common.cc b/ipc/chromium/src/chrome/common/visitedlink_common.cc
>--- a/ipc/chromium/src/chrome/common/visitedlink_common.cc
>+++ b/ipc/chromium/src/chrome/common/visitedlink_common.cc

And this.
Addressed above changes
Attachment #558679 - Attachment is obsolete: true
Attachment #558946 - Flags: review?(margaret.leibovic)
Oops. Just noticed additional comments.
Attachment #558946 - Attachment is obsolete: true
Attachment #558947 - Flags: review?(margaret.leibovic)
Attachment #558946 - Flags: review?(margaret.leibovic)
(In reply to Felix Fung from comment #21)
> Created attachment 558947 [details] [diff] [review]
> Remainder of spelling fixes noted in this bug
> 
> Oops. Just noticed additional comments.

I think you missed comment 18, though :)

And I'm really hoping this is the last thing, but we should leave out the /dbm changes as well. I'm sorry to keep tacking these comments on.
No more externals... hopefully.
Attachment #558947 - Attachment is obsolete: true
Attachment #558955 - Flags: review?(margaret.leibovic)
Attachment #558947 - Flags: review?(margaret.leibovic)
Attachment #558955 - Flags: review?(margaret.leibovic) → review+
Pushed to inbound:
http://hg.mozilla.org/integration/mozilla-inbound/rev/84694ee135e9
http://hg.mozilla.org/integration/mozilla-inbound/rev/750c300b9928
Whiteboard: [please read comment 0 first!] → [please read comment 0 first!][inbound]
http://hg.mozilla.org/mozilla-central/rev/84694ee135e9
http://hg.mozilla.org/mozilla-central/rev/750c300b9928
Whiteboard: [please read comment 0 first!][inbound] → [please read comment 0 first!]
Assignee: nobody → michaelkohler
Assignee: mkohler → nobody
Depends on: 1053067
Depends on: 1053068
All of the instances mentioned in this bug are now fixed, apart from the ones I've broken out into clean bugs. As such lets close this out & track new issues separately (or as (no bug)).
Alias: spelling
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Summary: Part 3: Correct misspellings in source code → Correct misspellings in source code
Whiteboard: [please read comment 0 first!]
Few more that weren't worth filing a bug for, since they didn't involve upstream:
remote:   https://hg.mozilla.org/integration/fx-team/rev/9a3c81860040
Target Milestone: --- → mozilla34
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: