Closed Bug 389242 Opened 18 years ago Closed 18 years ago

Kill old gfx and obsolete code in nsWindow

Categories

(Core :: Widget: Win32, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: xfsunoles, Assigned: xfsunoles)

References

Details

Attachments

(1 file, 10 obsolete files)

748 bytes, patch
roc
: review+
Details | Diff | Splinter Review
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007072304 Firefox/3.0a7pre Build Identifier: Remove all the old, dead gfx and obslete code from nsWindow. I had a patch for it. I'm look around of this file, it is telling me that Scroll functions is obsolete? Could we remove that functions? Reproducible: Always Steps to Reproduce: 1. 2. 3.
Depends on: 387988
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
I had removed isWin2k() since it was in older gfx code, useless functions.
Attachment #273635 - Flags: review?(roc)
You should also remove UpdateTranslucentWindowAlphaInner, which is no longer called.
(In reply to comment #2) > You should also remove UpdateTranslucentWindowAlphaInner, which is no longer > called. > Thanks. that be in a different patch.
Comment on attachment 273635 [details] [diff] [review] Remove dead GFX codes in nsWindow.cpp OK
Attachment #273635 - Flags: superreview+
Attachment #273635 - Flags: review?(roc)
Attachment #273635 - Flags: review+
1) Clean up header when it uses #ifndef WINCE and #ifdef WINCE into 1. 2) DummyDialogProc callback appeared it is not being used.
SetWindowRegionToAlphaMask isn't be used when the Cairo builds is shipped.
Attachment #273701 - Flags: review?(roc)
Attachment #273702 - Flags: review?(roc)
Attachment #274210 - Flags: review?(roc)
Attachment #274211 - Flags: superreview?(roc)
Attachment #274211 - Flags: review?(roc)
Attachment #274211 - Flags: superreview?(roc)
Attachment #274211 - Flags: superreview+
Attachment #274211 - Flags: review?(roc)
Attachment #274211 - Flags: review+
The other two patches need to be combined into one patch; if they're not landed together, the build might break.
Attachment #273702 - Attachment is obsolete: true
Attachment #273702 - Flags: review?(roc)
Attachment #273701 - Attachment is obsolete: true
Attachment #273701 - Flags: review?(roc)
Attachment #274709 - Flags: superreview?(roc)
Attachment #274709 - Flags: review?(roc)
Attachment #274709 - Flags: superreview?(roc)
Attachment #274709 - Flags: superreview+
Attachment #274709 - Flags: review?(roc)
Attachment #274709 - Flags: review+
Assignee: nobody → xfsunoles
Whiteboard: checkin-needed
Keywords: checkin-needed
Whiteboard: checkin-needed
Attachment #274709 - Flags: approval1.9?
Jonathan, I think you'll need to request approval1.9 for this patch per the rules laid out here (but it looks like Eli has already done this): http://groups.google.com/group/mozilla.dev.planning/browse_thread/thread/f569a23ce266a451/265344ae5291dee0#265344ae5291dee0.
Attachment #273635 - Flags: approval1.9?
Attachment #274210 - Flags: approval1.9?
Attachment #274211 - Flags: approval1.9?
Attachment #273635 - Flags: approval1.9? → approval1.9+
Attachment #274210 - Flags: approval1.9? → approval1.9+
Attachment #274211 - Flags: approval1.9? → approval1.9+
Attachment #274709 - Flags: approval1.9? → approval1.9+
Attached patch Combine All 4 patches into 1 (obsolete) — Splinter Review
Attachment #276415 - Attachment is obsolete: true
Attached patch Combine all 4 patches into 1 (obsolete) — Splinter Review
Sorry about last combine patches, it removed a wrong line.
Attachment #276444 - Attachment is obsolete: true
Attachment #277037 - Flags: superreview?(roc)
Attachment #277037 - Flags: review?(roc)
Attachment #277037 - Flags: approval1.9?
Attachment #277037 - Flags: superreview?(roc)
Attachment #277037 - Flags: superreview+
Attachment #277037 - Flags: review?(roc)
Attachment #277037 - Flags: review+
Attachment #273635 - Attachment is obsolete: true
Attachment #274210 - Attachment is obsolete: true
Attachment #274211 - Attachment is obsolete: true
Attachment #274709 - Attachment is obsolete: true
Attachment #277037 - Flags: approval1.9? → approval1.9+
Hmm, I just checked in the same (or very similar) patch for Bug 385888. Are there parts of this one that are still needed?
(In reply to comment #15) > Hmm, I just checked in the same (or very similar) patch for Bug 385888. Are > there parts of this one that are still needed? > Yes.
Could you then please create a new one against the current trunk for checkin?
(In reply to comment #17) > Could you then please create a new one against the current trunk for checkin? > Sure.
Attached patch Against the Current Trunk (obsolete) — Splinter Review
Attachment #277037 - Attachment is obsolete: true
OK, checked patch into trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Looks like I found 2 Cairo checks in nsWindow.h file. It should be removed. I'm reopening this bugs to correct that.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #278067 - Attachment is obsolete: true
Status: REOPENED → ASSIGNED
Keywords: checkin-needed
don't you need r+sr+a before checking this in?
Keywords: checkin-needed
Attachment #278176 - Flags: superreview?(roc)
Attachment #278176 - Flags: review?(roc)
Attachment #278176 - Flags: approval1.9?
Attachment #278176 - Flags: superreview?(roc)
Attachment #278176 - Flags: superreview+
Attachment #278176 - Flags: review?(roc)
Attachment #278176 - Flags: review+
Attachment #278176 - Flags: approval1.9?
Attachment #278176 - Flags: approval1.9+
Keywords: checkin-needed
Summary: Kill old gfx and obslete code in nsWindow → Kill old gfx and obsolete code in nsWindow
Checking in widget/src/windows/nsWindow.h; /cvsroot/mozilla/widget/src/windows/nsWindow.h,v <-- nsWindow.h new revision: 3.242; previous revision: 3.241 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: