Closed
Bug 159929
Opened 22 years ago
Closed 22 years ago
Info.plist file lacking important capability info for Mac OS X 10.2
Categories
(SeaMonkey :: UI Design, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.0.1
People
(Reporter: sdagley, Assigned: sfraser_bugs)
Details
(Whiteboard: [adt3])
Attachments
(3 files, 2 obsolete files)
196.52 KB,
application/mac-binhex40
|
Details | |
4.25 KB,
text/plain
|
Details | |
3.01 KB,
patch
|
sdagley
:
review+
jj.enser
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
The current info.plist file for Mozilla does not contain a CFBundleURLTypes entry. Without such an entry specifying we can handle URLs of type http & https we will not show up as a choice for default browser in the Internet prefs pane in System Preferences under Mac OS X 10.2. Our CFBundleDocumentTypes entry also incorrectly lists .html and .htm files as text files rather than HTML Documents.
Reporter | ||
Comment 1•22 years ago
|
||
Since the @#$^& file in the repository is checked in -kb I can't diff it to show the required changes. Here's the complete file that makes us a good citizen under Mac OS X 10.2
Comment 2•22 years ago
|
||
Nominating for 1.1 Also, why are gopher, news, and ftp missing from the URL list? I think there may be a few more Mozilla can handle, too.
Keywords: mozilla1.1,
patch
Reporter | ||
Comment 3•22 years ago
|
||
All the other types would be ok but I only care about getting Mozilla onto the default browser popup and the htm/html types will do that.
Updated•22 years ago
|
Blocks: 143047
Priority: -- → P2
Whiteboard: [adt3 RTM] [ETA 07/30]
Target Milestone: --- → mozilla1.0.1
Updated•22 years ago
|
Whiteboard: [adt3 RTM] [ETA 07/30] → [adt2 RTM] [ETA 07/30]
Comment 4•22 years ago
|
||
Makes us the default in the Mac OS X, when the user wants us to be the default ... seems like a good thing to do. No ADT approval needed for this one, as repackaging for Mozilla, only. Can we do the same thing for the commercial branch too? If yes, pls gen' up a patch and a bug, so we can get it landed asap.
Keywords: adt1.0.1
I checked the draft revised plst for Mozilla using Plst Checker--see attachment (id=93206), and it gave the following result : "UTF-8 Encoding Check: Bad UTF-8 on line 165 (Mac Roman copyright symbol) Bad UTF-8 on line 169 (Mac Roman copyright symbol) Error parsing property list: Close tag on line 22 does not match open tag array" so some minor corrections appear to be needed. BTW why leave out gopher, news, and ftp seeing as you are working on this now ?
Comment 7•22 years ago
|
||
I'll keep "plst checker" around, but even before trying it, I noticed the
following in the mozilla.plst proposed in attachment #93153 [details]
- A <dict> tag is missing after line 7. (this could explain the error wighta
just reported)
- now that file types have been split between "HTML Document" and "Text file",
the first one is missing a <CFBundleTypeIconFile> key & value.
Note that I have no problem doing a cvs diff on mozilla.plst in MacCVS despite
the -kb flags.
Reporter | ||
Comment 8•22 years ago
|
||
Thanks for the report of the missing <dict>. Adding a .plst to my file mappings in MacCVS Pro also allowed a diff so here's a new patch
Attachment #93153 -
Attachment is obsolete: true
Reporter | ||
Comment 9•22 years ago
|
||
Forgot to add that the change is as minimal as possible to do what's needed for recognition as a default browser choice in Mac OS X 10.2. That is _all_ I care about for this bug. Please file an RFE if you think other types need to be added.
Assignee | ||
Comment 10•22 years ago
|
||
Revised Info.plist file, fixing the XML, adding an icon entry for HTML, and adding CFBundleLongVersionString and NSAppleScriptEnabled entries. Copyright symbols have also been converted to UTF-8.
Attachment #93211 -
Attachment is obsolete: true
Assignee | ||
Comment 11•22 years ago
|
||
Comment on attachment 93211 [details] [diff] [review] Patch to add HTML CFBundleURLTypes to Mozilla plist Whoops, sorry steve, didn't mean to obsolete this one.
Attachment #93211 -
Attachment is obsolete: false
Assignee | ||
Comment 12•22 years ago
|
||
Attachment #93211 -
Attachment is obsolete: true
Reporter | ||
Comment 13•22 years ago
|
||
Comment on attachment 93225 [details] [diff] [review] Last attachment in the form of a patch r=sdagley
Attachment #93225 -
Flags: review+
Updated•22 years ago
|
Whiteboard: [adt2 RTM] [ETA 07/30] → [adt3]
Comment 14•22 years ago
|
||
Comment on attachment 93225 [details] [diff] [review] Last attachment in the form of a patch a=asa (on behalf of drivers) for checkin to 1.1
Attachment #93225 -
Flags: approval+
Comment 15•22 years ago
|
||
we also need adt's approval to get this in the 1.0 branch, adding adt1.0.1 keyword in this purpose. (Jaime, please correct me if this is not right).
Keywords: adt1.0.1
Comment 16•22 years ago
|
||
Comment on attachment 93225 [details] [diff] [review] Last attachment in the form of a patch I'm not sure I understand the need for the UTF8 '©' as we never used this encoding before. I'm afraid it will appear as is in the Finder. Also, why is this part of the patch: - <key>CFBundleExecutable</key> - <string>Mozilla</string> + <key>CFBundleExecutable</key> + <string>Mozilla</string>
Comment 17•22 years ago
|
||
jj: from what dagley has told ME, this is packign change for Mozilla only, and will not effect the commercial builds. if this is the case, then we do not need ADT's approval. thanks!
Assignee | ||
Comment 18•22 years ago
|
||
jj: jamie said above: >No ADT approval needed for this one, as repackaging for Mozilla, only. > I'm not sure I understand the need for the UTF8 '©' as we never used this > encoding before. I'm afraid it will appear as is in the Finder. The copyright symbol is not a legal UTF-8 entitity. And you see '©' when looking at the patch in the browser because the browser is assuming US-ASCII, not UTF-8. >Also, why is this part of the patch: Whitespace changes.
Comment 19•22 years ago
|
||
Comment on attachment 93225 [details] [diff] [review] Last attachment in the form of a patch sr=jj I've tested this patch against today's build and the copyright string appears ok under OSX's File browser and Get Info box. This proves that the info.plst file overwrites any 'plst' or 'vers' resources found in the binary.
Attachment #93225 -
Flags: superreview+
Comment 20•22 years ago
|
||
1 more comment: the patch in attachment 93225 [details] [diff] [review] is based on revision 1.8.6.2 when the tip of the 1.0 branch is 1.8.6.3 (diff is app version 1.0.1 instead of 1.0). Also, and for the same reason, a new patch will be needed for the trunk since the app version is currently 1.1b
Assignee | ||
Comment 22•22 years ago
|
||
Updated Mozilla.plst files checked into the MOZILLA_1_0_BRANCH and the tip, with appropriate verseion numbers.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 23•22 years ago
|
||
marking as fixed1.0.1 per Comment #22 From Simon Fraser.
Keywords: fixed1.0.1
Updated•22 years ago
|
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•