gecko-dev/java
edburns%acm.org 0a19898c15 a=edburns
r=ashuk
bug=47357
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M src_moz/CBrowserContainer.cpp
M src_moz/NativeEventThread.cpp
M src_moz/ns_util.cpp
M src_moz/ns_util.h
M src_share/jni_util.cpp
M src_share/jni_util.h

tar -cvf 47357.2.tar classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java src_moz/CBrowserContainer.cpp src_moz/NativeEventThread.cpp src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h

cvs diff -u classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java src_moz/CBrowserContainer.cpp src_moz/NativeEventThread.cpp src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h

This change modifes what one has to do on the native side to add a
listener.

 * How to create a new listener type on the native side: <P>

 * 1. add an entry in the gSupportedListenerInterfaces array defined in
 * ns_util.cpp <P>

 * 2. add a corresponding entry in the LISTENER_CLASSES enum in
 * ns_util.h <P>

 * 3. add a jstring to the string constant list in
 * CBrowserContainer.cpp, below.

 * 4. Initialize this jstring constant in CBrowserContainer.cpp
 * initStringConstants() <P>

 * 5. add an entry to the switch statement in NativeEventThread.cpp
 * native{add,remove}Listener <P>

You have to clobber_all in webclient after this change.
2000-08-10 21:38:52 +00:00
..
config updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
dom fix for bug=47878 2000-08-08 16:43:52 +00:00
plugins added pointer to pluglets page 2000-06-04 01:02:44 +00:00
util Bug #28281, r=leaf, a=leaf, 2000-03-09 01:14:22 +00:00
webclient a=edburns 2000-08-10 21:38:52 +00:00
xpcom * NOT PART OF TBOX BUILDS** 2000-07-28 05:39:53 +00:00
Makefile.in Put dom after util and before webclient 2000-07-10 20:06:44 +00:00
Makefile.win bug 40330 2000-06-04 22:16:36 +00:00
README bug 40330 2000-06-04 22:16:36 +00:00
changelo Made changes to allow building on jdk1.1.7 or jdk1.2. Basically, accounted 1999-07-30 22:00:20 +00:00
makefiles bug=47357 2000-08-03 21:32:54 +00:00

README

Here lies the code that comprises the java enhancers to mozilla.

Authors: see the README files for each individual subdirectory

Requirements:

* JDK1.2 or greater (may work with lower versions, haven't checked).

* Successfully built MOZ_DEBUG=1 Mozilla M13 tree.

* Perl 5 perl.exe must be in your path

How To Build:

* make it so the directory in which this file resides is a child of your
  top level Mozilla M13 directory

* make sure the environment var JDKHOME is set to your jdk installation
  directory, ie SET JDKHOME=C:\jdk1.2.2

* type "nmake /f makefile.win all" and hope for the best

* this should compile the clasess into %MOZ_SRC%\dist\classes

Problems:

* clobber_all doesn't remove the .class files from dist\classes.  You
  have to do this manually.

* post to netscape.public.mozilla.java newsgroup

General notes:

* Please update the ChangeLog (changelo) files in the subdirectories when
  you make changes.