Need to add browser-side Waterfall for the Mac

RESOLVED WONTFIX

Status

Core Graveyard
Java: OJI
RESOLVED WONTFIX
17 years ago
7 years ago

People

(Reporter: Terry Noyes, Assigned: Terry Noyes)

Tracking

Trunk
PowerPC
Mac System 9.x

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

17 years ago
This will be where I'll post links to changes and new files to get the
Mac-necessary stuff checked in for Waterfall.  Browser side (XPCOM) only
(Assignee)

Comment 1

17 years ago
Need to enter changes to two files in:

http://homepage.mac.com/mrjplugin/wf/81223/81223.diffs

which are:
in nsJavaHTMLObjectFactory.cpp, the Mac needs nsCRT.h to be included if it's to find nsCRT::strdup

in nsPluggableJVM.cpp,
the whole PR_GetSharedLibrary doesn't appear to work on the Mac, so for now nop the getenv call
and write a temporary loadPluginDLL().  This function looks for a shared library with fragment "jvmp"
(can't call it "jvmp.shlb" as the period seems to be a problem for GetSharedLibrary) next to the app, NOT
in the dist/viewer/Components folder.

Add a build folder, /java/pluggable-jvm/wf_moz6/macbuild/ which contains the following files:

Waterfall.idl.mcp (compile both targets and put an alias of the .xpt into the Components folder)
Waterfall.mcp (the XPCOM component.  Put an alias of the .shlb into the Components folder)
waterfall.prefix.h

http://homepage.mac.com/mrjplugin/wf/81223/wf_moz6_macbuild/Waterfall.idl.mcp
http://homepage.mac.com/mrjplugin/wf/81223/wf_moz6_macbuild/Waterfall.mcp
http://homepage.mac.com/mrjplugin/wf/81223/wf_moz6_macbuild/waterfall.prefix.h

The .mcp's are binaries which are the project files, similar to makefiles.

Add the folder /java/pluggable-jvm/wf/public/mac/ which just contains the same files as the linux folder,
jni_md.h and jvmp.h

http://homepage.mac.com/mrjplugin/wf/81223/wf_public_mac/jni_md.h
http://homepage.mac.com/mrjplugin/wf/81223/wf_public_mac/jvmp.h

To build, you must get rid of the jni.h file (it's real old, v.1.28) and use a newer one.  I use v1.47 and put
it in wf/public/

All these links will become invalid after the stuff gets checked in.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED

Comment 3

17 years ago
SPAM: reassigning all OJI bugs to new OJI QA, pmac ( 227 bugs)
QA Contact: shrir → pmac

Updated

16 years ago
QA Contact: pmac → petersen

Comment 4

15 years ago
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.

I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".

Comment 5

14 years ago
Mac Classic RIP.
Status: ASSIGNED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WONTFIX

Updated

7 years ago
Component: Java: OJI → Java: OJI
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.