Closed
Bug 456892
Opened 16 years ago
Closed 16 years ago
Removal TopLevelWindowIsModal
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla1.9.1b1
People
(Reporter: xfsunoles, Assigned: xfsunoles)
Details
Attachments
(1 file, 2 obsolete files)
2.64 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
I would like somebody else to remove any OS 9 code because it is unused and dead. There is a few under under the xpcom and xpfe directory.
Assignee | ||
Comment 1•16 years ago
|
||
Since I didn't give a specfic one but i found these two 1) http://mxr.mozilla.org/mozilla-central/source/xpfe/appshell/src/nsAppShellService.cpp#551 2) http://mxr.mozilla.org/mozilla-central/source/xpcom/MoreFiles/MoreFilesX.c#84 I believe there is more than these two that I didn't find.
Assignee | ||
Comment 2•16 years ago
|
||
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → xfsunoles
Assignee | ||
Updated•16 years ago
|
Summary: Removal OS 9 code → Removal TopLevelWindowIsModal
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•16 years ago
|
Attachment #340384 -
Flags: superreview?(neil)
Attachment #340384 -
Flags: review?(neil)
Comment 3•16 years ago
|
||
Comment on attachment 340384 [details] [diff] [review] Removal under xpfe >-/* Old function, needs to be removed... it was only used on Mac OS9 */ >-NS_IMETHODIMP >-nsAppShellService::TopLevelWindowIsModal(nsIXULWindow *aWindow, PRBool aModal) >-{ >- return NS_OK; >-} You need to remove the declaration (in nsIAppShellService.idl, and don't forget to create a new uuid). > mContinueModalLoop = PR_FALSE; > window->SetModal(PR_FALSE); >- if (appShellService) >- appShellService->TopLevelWindowIsModal( >- static_cast<nsIXULWindow*>(this), PR_FALSE); >+ > /* Note there's no EnableParent(PR_TRUE) here to match the PR_FALSE one > above. That's done in ExitModalLoop. It's important that the parent > be re-enabled before this window is made invisible; to do otherwise Don't put in a blank line, the comment refers to the code above it.
Attachment #340384 -
Flags: superreview?(neil)
Attachment #340384 -
Flags: superreview-
Attachment #340384 -
Flags: review?(neil)
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #340384 -
Attachment is obsolete: true
Attachment #340965 -
Flags: superreview?(neil)
Updated•16 years ago
|
Attachment #340965 -
Flags: superreview?(neil)
Comment 5•16 years ago
|
||
Comment on attachment 340965 [details] [diff] [review] Make it so git-apply: fatal: corrupt patch at line 68
Comment 6•16 years ago
|
||
Comment on attachment 340965 [details] [diff] [review] Make it so >-[scriptable, uuid(93a28ba2-7e22-11d9-9b6f-000a95d535fa)] >+[scriptable, uuid(8BEA00EE-8E55-11DD-BEB3-497956D89593)] Oh, and I prefer lower case uuids ;-)
Assignee | ||
Comment 7•16 years ago
|
||
Attachment #340965 -
Attachment is obsolete: true
Comment 8•16 years ago
|
||
Comment on attachment 341020 [details] [diff] [review] Try Again, I hope it works this time Sorry for not noticing it was just a trailing-newline bug, I didn't know git-apply wasn't as lenient as patch was.
Attachment #341020 -
Flags: superreview+
Attachment #341020 -
Flags: review+
Assignee | ||
Comment 9•16 years ago
|
||
Neil, are you planning to check this in? I don't have checkin access.
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 10•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/1c768ccee990
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
OS: Mac OS X → All
Hardware: PC → All
Resolution: --- → FIXED
Updated•16 years ago
|
Target Milestone: --- → mozilla1.9.1b1
You need to log in
before you can comment on or make changes to this bug.
Description
•