Closed Bug 68732 Opened 24 years ago Closed 24 years ago

[RFE] Allow Multiple Directories for NS600_PLUGIN_PATH

Categories

(Core Graveyard :: Plug-ins, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX
Future

People

(Reporter: gcross, Assigned: peterlubczynski-bugs)

References

Details

(Whiteboard: fix-in-hand)

Attachments

(2 files)

In Netscape4.x on unix platforms, you can export NPX_PLUGIN_PATH environment variable, setting it to a list of colon (:) delimited paths. The browser will search each of the listed directories for plugin shared libraries. In Mozilla, NS600_PLUGIN_PATH (see modules/plugin/nglsrc/nsPluginsDirUNIX.cpp) only allows a single directory. Not multiple. In system-wide installations of Netscape6, each user should be able to have their own plugins installed, across various directories, and use NS600_PLUGIN_PATH to list all those directories.
Confirmed Platform: PC OS: Linux 2.2.16 Mozilla Build: 2001021408 Marking NEW.
Severity: major → trivial
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: HP-UX → All
Hardware: HP → All
Summary: NS600_PLUGIN_PATH doesn't support multiple directories... → [RFE] Allow Multiple Directories for NS600_PLUGIN_PATH
Ahhh, I did this with Windows with a pref pointing to a registry key that had the list. It would be trivial to expand to UNIX platforms by simply checking for an environment variable instead of a registry key. Any ideas for Mac?
Assignee: av → peterlubczynski
OS: All → Linux
Hardware: All → PC
First try at this patch. It changes the pref I created patch in bug 66549 to be more XP. Still needs testing and perhpas a Mac solution.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Keywords: patch
Whiteboard: fix-in-hand
Moving to mozilla0.8.1
Target Milestone: mozilla0.9 → mozilla0.8.1
Joe/Shrir, Here's another Linux plugin bug I fixed but haven't had the chance to completely try it out. If you have a spare moment could you try it out/review? Thanks.
Or should it be NPX_PLUGIN_PATH? There was a user on #mozilla irc that wanted this feature. Andrei, historically, what is it?
It has been NPX_PLUGIN_PATH and allowed multiple dirs. I think it would make sense to allowing the same for NS600_PLUGIN_PATH, but not so sure about changing its name to the old one. Also in the old world plugins were user specific, i.e. were taken from ./home dir.
Target Milestone: mozilla0.8.1 → mozilla0.9
What I"m going to do is just let the pref browser.plugins.common_plugin_location control which environment variable has the list of paths. I also think I need to fix this patch such that strtok looks for ":" instead of ";" as is done on UNIX platforms.
---> 0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
Moving to FUTURE in favor of another plan.
Target Milestone: mozilla0.9.1 → Future
cls: this bug may relate to bug 84427
*** Bug 102329 has been marked as a duplicate of this bug. ***
As an employee of a vendor, I have to say this is one of the most frequently asked questions, apart from "why don't you ship java and flash". (btw, the second patch doesn't apply cleanly to 0.9.4)
Marking WONTFIX. We don't support NS600_PLUGIN_PATH anymore. This has been changed to MOZ_PLUGIN_PATH. With plugin scanning now beeing changed to support directory enummerators in bug 77231, both MOZ_PLUGIN_PATH and NPX_PLUGIN_PATH should be able to accept a list of paths delimited by colons.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
v
Status: RESOLVED → VERIFIED
[RFE] is deprecated in favor of severity: enhancement. They have the same meaning.
Severity: trivial → enhancement
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: