Closed Bug 73387 Opened 23 years ago Closed 4 years ago

Keep naming of the IMAP files consistent

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Other
defect
Not set
trivial

Tracking

(thunderbird_esr78 wontfix, thunderbird84 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird84 --- wontfix

People

(Reporter: hwaara, Assigned: mkmelin)

Details

Attachments

(1 file, 1 obsolete file)

I saw that some of the files in imap/src was named "nsIMAP*.cpp" and some
"nsImap*.cpp".

Most of the files in mailnews/* are named nsSmtp, nsUrl and so on.. so we should
keep the naming consistent.

patch coming up...please r= and sr=
Attached patch fix (obsolete) — Splinter Review
- I'd like to see the complete CVS diffs for removing and adding the files, as 
  well.
- The class names should match the files (well, vice versa), so something will
  have to be changed there as well.
- nsIMAPFoo is better than nsImapFoo, because IMAP is an acronym and is 
  therefore properly spelled with capitals.

Seth has a bug on this already.
Well, that's another cup of tea.  :)
No. it's the same cup of tea.
my bug was for all the inconsistencies in mozilla/mailnews/news.

to fix this right, we should do what shaver suggests: name the files properly and 
fix all the classes to have proper names.

but this is too much risk for not enough gain.  (It helps developers, yes, but it 
doesn't do squat for end users.)

we should stay focused on fixing bugs / implementing important missing features.

I'd mark this future, way future.
Product: MailNews → Core
Assignee: mscott → nobody
Product: Core → MailNews Core
QA Contact: esther → networking.imap
Severity: normal → trivial

obsolete?

Flags: needinfo?(mkmelin+mozilla)

Seems still relevant.

Flags: needinfo?(mkmelin+mozilla)

Compiled locally. Sent to try now to make sure there were are no surprises - https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=a175a5e56b6313ca2f4eedebc2d015977026da80

Assignee: nobody → mkmelin+mozilla
Attachment #28740 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #9189761 - Flags: review?(gds)
Summary: Keep naming of the files consistent → Keep naming of the IMAP files consistent
Comment on attachment 9189761 [details] [diff] [review]
bug73387_IMAPrenames.patch

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

Looks good. I wasn't sure at first if you changed the file names but I see you did. You might consider changing the commit message from
Bug 73387 - rename IMAP classes to be consistently Imap. 
to
Bug 73387 - rename IMAP files and classes to be consistently Imap.
Attachment #9189761 - Flags: review?(gds) → review+

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d503d81adf6c
rename IMAP files and classes to be consistently Imap. r=gds

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: