Commit Graph
7 Commits
Author SHA1 Message Date
[email protected] 6b1b0c0646 fix plugger crash by coping with trailing MIME-list separator (#60844, r=av, sr=blizzard) 2001-02-07 01:38:52 +00:00
[email protected] 026a9e0382 bug# 62489 [email protected] [email protected] [email protected]
population of filename for plugins at load time, and freeing of that variable as well.
2001-01-23 00:10:38 +00:00
[email protected] 5b3a8fe0e5 Fix leak of arrays allocated in GetPluginInfo. [email protected] [email protected] b=59159 2000-11-08 03:10:37 +00:00
[email protected] 0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
[email protected] 261841207f Adding diffs from obsolete nsPluginsDirUNIX.cpp to nsPluginsDirUnix.cpp 2000-10-28 00:52:29 +00:00
[email protected] da1957f75c [email protected]
r=av
[email protected]
sr=waterson
bug= 56019
///////////////////////////////////////////////////////////////////////////////
// Currently, in the MIME type info passed in by plugin, a ';' is used as the
// separator of two MIME types, and also the sparator of a version in one MIME
// type. For example:
// "application/x-java-applet;version1.3::java(TM) plugin;application/x-java-
// applet...".
// The ambiguity of ';'  causes the browser fail to parse the MIME types
// correctly.
//
// This method parses the MIME type input, and replaces the MIME type
// separators with '|' to eliminate the ambiguity of ';'. (The Windows version
// also uses '|' as the MIME type separator.)
//
// Input format: "...type[;version]:[extension]:[desecription];..."
// Output format: "...type[;version]:[extension]:[desecription]|..."
//
static void SetMIMETypeSeparator(char *minfo)
{
2000-10-26 00:12:38 +00:00
[email protected] 2fd18dcfaa bug=54291
a=brendan
r=edburns, scc

This checkin does three things:

1. Makes it so on Unix the user can set the env var NS600_PLUGIN_PATH to point
to a directory that will be used as the location for searching for plugins.

2. Removes nsPluginsDirUNIX.cpp and replaces it with nsPluginsDirUnix.cpp

3. Correctly formats nsPluginsDirUnix per brendan's recommendation.
2000-10-11 22:33:20 +00:00