Closed
Bug 106122
Opened 24 years ago
Closed 24 years ago
xpti needs to use new, expanded, path keys on nsIDirectoryServiceProvider
Categories
(Core :: XPConnect, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: jud, Assigned: jband_mozilla)
References
Details
(Keywords: topembed)
Attachments
(2 files, 1 obsolete file)
|
5.05 KB,
patch
|
ccarlen
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
|
6.13 KB,
patch
|
ccarlen
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Currently xpti uses a hardcoded path(s) to scan for xpt files. It should use
nsIDirectoryServiceProvider to get path info.
| Reporter | ||
Updated•24 years ago
|
| Assignee | ||
Comment 1•24 years ago
|
||
Well, xpti does use that service - and does not use any hardcoded paths. What it
does need to do is start using the new keys that will be available when bug
105440 is fixed.
| Reporter | ||
Comment 2•24 years ago
|
||
updating summary from: "xpti needs to use nsIDirectoryServiceProvider to
determine scanning directories"
Summary: xpti needs to use nsIDirectoryServiceProvider to determine scanning directories → xpti needs to use new, expanded, path keys on nsIDirectoryServiceProvider
| Assignee | ||
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
Use NS_APP_PLUGINS_DIR_LIST instead of NS_OS_PLUGINS_DIR_LIST. The "OS" list is
defined by the OS and contains plugins used by all apps, i.e, Flash, Acrobat,
QuickTime. The "APP" list is defined by the application (mozilla or an embedding
app). Other than that, looks good.
| Assignee | ||
Comment 6•24 years ago
|
||
d'oh. I fixed the key in my tree.
| Reporter | ||
Updated•24 years ago
|
Attachment #56374 -
Flags: review+
| Reporter | ||
Comment 7•24 years ago
|
||
conrad, what's the best way to test this? is there a provider that provides a
list for this key in one of the test harnesses?
| Assignee | ||
Comment 8•24 years ago
|
||
This fixes the problems with the previous patch
- It uses Get instead of GetFiles (which does not do what was expected).
- It uses the right key (NS_APP_PLUGINS_DIR_LIST).
- It fixes a prblem where the menifest reader did not the change when a
directory is added to the search path that was not there in the previous run.
Attachment #56374 -
Attachment is obsolete: true
Comment 9•24 years ago
|
||
Comment on attachment 57282 [details] [diff] [review]
better patch
This one is good. r=ccarlen
Attachment #57282 -
Flags: review+
| Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.7
Comment 10•24 years ago
|
||
Comment on attachment 57282 [details] [diff] [review]
better patch
sr=jst
Attachment #57282 -
Flags: superreview+
| Assignee | ||
Comment 11•24 years ago
|
||
fix in trunk. Will prepare a patch for 0.9.4 branch.
| Assignee | ||
Comment 12•24 years ago
|
||
So, this caused the blocker bug 109893. sfraser is going to checkin a oneliner
to comment out the addition of the the plugins dir to the search path. I'm going
to look at why that was a problem on Mac. On Mac they actually have a jar file
in the plugins directory. I'm told that openning that file fails - perhaps due
to a permissions problem. At minimum we need to understand that and also
probably make it not fatal to fail in attempting to open a jar file when we are
searching for interface infos.
| Assignee | ||
Comment 13•24 years ago
|
||
Same fix but for the 0.9.4 branch. Also includes the fix from bug 109893 - the
regression caused by the original patch here (since fixed in the trunk).
Comment 14•24 years ago
|
||
Comment on attachment 58089 [details] [diff] [review]
version of fix for the 0.9.4 branch
r=ccarlen
Attachment #58089 -
Flags: review+
Comment 15•24 years ago
|
||
Comment on attachment 58089 [details] [diff] [review]
version of fix for the 0.9.4 branch
sr=jst
Attachment #58089 -
Flags: superreview+
| Assignee | ||
Comment 16•24 years ago
|
||
edt: This one is ready for 0.9.4. I'm waiting for your approval.
| Reporter | ||
Comment 17•24 years ago
|
||
please checkin to the 0.9.4 branch when you have a chance. once landed, add
"fixed0.9.4" to the keyword field as well. Thanks!
| Assignee | ||
Comment 18•24 years ago
|
||
fix checked in the 0.9.4 branch
Comment 20•24 years ago
|
||
verified on 094
(i.e. patch verified on MOZILLA_0_9_4_BRANCH tag in CVS repository)
Keywords: verified0.9.4
Keywords: fixed0.9.4
You need to log in
before you can comment on or make changes to this bug.
Description
•