Closed
Bug 292878
Opened 20 years ago
Closed 19 years ago
Support OS X 10.4 (Tiger) .webloc file format
Categories
(Camino Graveyard :: OS Integration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.0
People
(Reporter: mozilla, Assigned: moz)
Details
(Keywords: fixed1.8)
Attachments
(1 file, 1 obsolete file)
|
661 bytes,
patch
|
sfraser_bugs
:
review+
|
Details | Diff | Splinter Review |
OS X 10.4 (Tiger) [apparently] uses a different format of webloc files from
previous releases of OS X 10.3. Previous releases used the resource fork to
store the URL, and the title was just the filename (minus its extension).
The new format is a plist file.
(Note the developers: the code for reading webloc files is currently being moved
around in bug 155484, but won't be solved there, because neither wevah or I yet
have Tiger)
| Reporter | ||
Updated•20 years ago
|
Target Milestone: --- → Camino0.9
| Assignee | ||
Comment 2•20 years ago
|
||
Hmm...it looks like Tiger saves the old-style resource-based info in the file as
well. The current code reads it fine.
| Assignee | ||
Comment 3•20 years ago
|
||
On second thought, people might accidentally kill the resource fork, so we
should check for the plist if the resource isn't found. (And it looks like even
10.2 can open plist-style .inetlocs). I'll submit a patch once the NSURL+Utils.*
are checked in.
As our code apparently works as it, this should not be an 0.9 blocker. Would be
nice to have though.
Flags: camino0.9-
Target Milestone: Camino0.9 → Camino1.0
Comment 5•20 years ago
|
||
Wevah, any progress? Or are you still waiting for the NSURL+Utils.*?
Comment 6•20 years ago
|
||
I think this should block simply because we should support Tiger well enough to support it's weblocs.
Wevah, can you pop out a quick fix for this?
Flags: camino1.0?
| Assignee | ||
Comment 7•19 years ago
|
||
We *do* support Tiger's weblocs. Tiger still saves the resource fork data (last I checked), but it also uses a plist in the data fork.
That said, yes I can.
| Assignee | ||
Comment 8•19 years ago
|
||
This adds reading of the plist-style internet location data, if the file has no resource fork or lacks the appropriate 'url ' resource.
Attachment #204971 -
Flags: review?
Updated•19 years ago
|
Attachment #204971 -
Flags: review? → review?(sfraser_bugs)
Comment 9•19 years ago
|
||
Comment on attachment 204971 [details] [diff] [review]
Patch that adds plist reading.
r=me but kill the tabs, please.
Attachment #204971 -
Flags: review?(sfraser_bugs) → review+
| Assignee | ||
Comment 10•19 years ago
|
||
Oops; I made sure to have my tab settings set up properly, and then I went and copied from a tabbed source file without replacing.
| Assignee | ||
Comment 11•19 years ago
|
||
Attachment #204971 -
Attachment is obsolete: true
Attachment #204981 -
Flags: review?(sfraser_bugs)
Updated•19 years ago
|
Attachment #204981 -
Flags: review?(sfraser_bugs) → review+
Comment 12•19 years ago
|
||
Fixed everywhere.
Clearing ? request on fixed bug; apologies for bugspam.
Flags: camino1.0?
You need to log in
before you can comment on or make changes to this bug.
Description
•