Closed
Bug 12465
Opened 25 years ago
Closed 25 years ago
nsIRegion needs to be IDL-ified
Categories
(Core Graveyard :: GFX, defect, P3)
Core Graveyard
GFX
Tracking
(Not tracked)
VERIFIED
FIXED
M11
People
(Reporter: mikepinkerton, Assigned: kmcclusk)
References
Details
(Whiteboard: [PDT+])
I need nsIRegion idl-ified for d&d scripting through JS. There are things in it
that make it not IDL-able such as defining and passing around structs. Maybe
breaking into two separate interfaces (one pure, the other having the extra c++
stuff which JS probably doesn't need anyway) would suffice, but this requires
changing all platform implementations.
This is a blocker for scripting d&d in JS.
Reporter | ||
Comment 1•25 years ago
|
||
sorry about the layout component. there is no GFX component. ;)
Patrick, Michael did the region stuff I think, so I'm assigning this to you.
Sorry if you're not the right choice
Reporter | ||
Comment 3•25 years ago
|
||
nsIScriptableRegion is in the tree, and nsIDragService is now referencing it. Now
we just have to make nsRegionMac/Win/Gtk implement this interface.
Reporter | ||
Comment 4•25 years ago
|
||
what's up with this? what is the target milestone?
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M11
Comment 5•25 years ago
|
||
Ah, you designed the interface, but didn't implement it.
Reporter | ||
Comment 6•25 years ago
|
||
you want me to do the work as well?
Comment 7•25 years ago
|
||
If you have the time. Otherwise, I could do the Mac/Windows and let Ramiro do
UNIX.
Reporter | ||
Comment 8•25 years ago
|
||
that would be preferred, if you can.
Reporter | ||
Comment 9•25 years ago
|
||
putting on the beta tracking list
Updated•25 years ago
|
Assignee: beard → ramiro
Status: ASSIGNED → NEW
Comment 10•25 years ago
|
||
nsRegionMac.cpp can now handle a QueryInterface to nsIScriptableRegion, by
creating an instance of nsScriptableRegion, which delegates to an nsIRegion.
Handing the bug to Ramiro to take care of this on UNIX.
Reporter | ||
Comment 11•25 years ago
|
||
my question is this, i guess: how are these created? When JS is going to create
one, it will need to create a nsIScriptableRegion, not an nsIRegion (since there
is no idl for nsIRegion, it won't know about it). Is there a mechanism for doing
this?
Updated•25 years ago
|
Assignee: ramiro → pavlov
Comment 12•25 years ago
|
||
Reassigning to pavlov cause he likes bugs.
Comment 13•25 years ago
|
||
Putting on [PDT]+ radar.
Updated•25 years ago
|
Assignee: pavlov → beard
Comment 14•25 years ago
|
||
reassigning to beard since he has a fix
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 15•25 years ago
|
||
nsIRegion won't be IDL-ified, but nsIScriptableRegion already is. I've created a
new CID for creation with a progID, and would like to check this in.
Updated•25 years ago
|
Assignee: beard → pavlov
Status: ASSIGNED → NEW
Comment 16•25 years ago
|
||
I've checked this in. Please make appropriate changes for your platforms.
Updated•25 years ago
|
Assignee: pavlov → kmcclusk
Comment 17•25 years ago
|
||
checked in fix on unix. needs to be done on windows.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 18•25 years ago
|
||
checked in fix for Windows on Nov 2, 1999 5:38PM.
Closing out the bug, since it has been fixed on all three platforms.
Comment 19•25 years ago
|
||
Kevin, I'm not sure how to verify this fix.
Assignee | ||
Comment 20•25 years ago
|
||
This is a code-level change. You can mark it verified based on my comment.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 21•25 years ago
|
||
Based on Kevin's comments, marking as verified fixed.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•