Closed
Bug 5059
Opened 26 years ago
Closed 25 years ago
[PP]sync loading doesn't work on unix/mac
Categories
(Core :: Networking, defect, P2)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: kipp, Assigned: dcone)
Details
We can't currently let the gfx/src/nsDeviceContext code implement the LoadIcon
method because it'll wipe out a unix or mac system with re-entrancy issues. As
soon as netlib works properly on unix and mac please reassign this bug to
troy/me.
Also, related to this is the fact that we have grotty code to handle synchronous
image updates that are probably due to the fact that because netlib has no
thread on unix/mac we get a synchronous notify (for urls in the memory cache)
because the marshalling code is not used.
Two birds with one stone, hopefully.
Re-assigned to warren@netscape.com.
Warren, this was assigned directly to Rick. What should I do with it?
Comment 2•26 years ago
|
||
I don't understand the issue. Is this a bug report to fix the networking
problem, or something in gfx. If the former, then Rick should still be "it." If
the latter, then don't give it to me.
Updated•26 years ago
|
Assignee: warren → rpotts
Comment 3•26 years ago
|
||
Rick, can you advise me on this one?
Summary: sync loading doesn't work on unix/mac → [PP]sync loading doesn't work on unix/mac
Updated•26 years ago
|
Target Milestone: M7 → M9
Comment 5•26 years ago
|
||
Until netlib on mac and unix runs on its own thread, it can't do synchronous
URL loading...
This will be fixed by necko... I'm moving it to M9...
Changing all Networking Library/Browser bugs to Networking-Core component for
Browser.
Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do
this in a bulk change. If this happens, I will fix. ;-)
Updated•26 years ago
|
Assignee: rpotts → kipp
Target Milestone: M9 → M10
Comment 7•26 years ago
|
||
I'm moving this to an M10 feature... We just need to clean up the
nsDeviceContext code now that the threading model is consistent.
--rick
Rod, since you are working on gfx these days I'm giving this to you - the issue
is that LoadIcon in the gfx library needs to be implemented to do a synchronous
load; when you have that working, please let troy know so that he can fixup the
icon display in the image frame code. Thanks!
I don't any gfx changes are required. The function is LoadIconImage() and it's
XP-code in the DeviceContextImpl class.
Rod, you'll see this at the top of the function:
// XXX synchronous image loading doesn't work on unix or mac yet
// because netlib is not in its own thread.
#if defined(XP_UNIX) || defined(XP_MAC) || defined(XP_BEOS)
return NS_ERROR_FAILURE;
#endif
Once the Necko guys have synchronous loading working again (today it's broken on
Windows as well), then I think all that needs to be done is remove the code I
mentioned.
I don't know when the Necko guys will have synchronous loading working. Rick
Potts is the one to ask
Updated•25 years ago
|
Target Milestone: M10 → M12
Comment 10•25 years ago
|
||
Changing to M12
Updated•25 years ago
|
Assignee: rods → dcone
Comment 11•25 years ago
|
||
Don, Could you take a look at this, I don't have any idea what he is talking
about?
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Target Milestone: M12 → M13
Comment 12•25 years ago
|
||
Bulk move of all Networking-Core (to be deleted component) bugs to new
Networking component.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M13 → M14
Assignee | ||
Comment 13•25 years ago
|
||
This should be working.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 14•25 years ago
|
||
marking verified
You need to log in
before you can comment on or make changes to this bug.
Description
•