81 Commits

Author SHA1 Message Date
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
edburns%acm.org
0e646abf4f 99099
r=ashuk
a=edburns
This bug fix uses os.name as the way to tell platform.


git-svn-id: svn://10.0.0.236/trunk@102676 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:02:05 +00:00
edburns%acm.org
fa528e8dd7 Defining WEBCLIENT_ICE=1 will cause the ICE implemenation to be built in addition to the mozila one.
git-svn-id: svn://10.0.0.236/trunk@99995 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-28 01:14:12 +00:00
ashuk%eng.sun.com
f9d9eb2750 Bug=91673
author=ashuk
ra=edburns

Files modifed
BrowserControl.java BrowserControlFactory.java BrowserControlImpl.java
Files added
BrowserType.java
everything in wrapper_nonnative
everything in test_nonnative

This patch allows Webclient to wrap non-native pure Java browsers like
the ICE browser.

_Ashu


git-svn-id: svn://10.0.0.236/trunk@99982 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 21:02:15 +00:00
edburns%acm.org
10a4eba001 Took out debug println in POST.
git-svn-id: svn://10.0.0.236/trunk@99964 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 17:24:25 +00:00
edburns%acm.org
f808a0d485 Added accessor for browserControl. Needed in WCRandom testcase.
git-svn-id: svn://10.0.0.236/trunk@99433 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:46:32 +00:00
edburns%acm.org
cb90605310 bug=85523
ra=edburns
authors=edburns,
 *               Brian Satterfield <bsatterf@atl.lmco.com>
 *               Anthony Sizer <sizera@yahoo.com>

This implements Post.  Please see EMWindow for how to use.


git-svn-id: svn://10.0.0.236/trunk@99145 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 23:18:52 +00:00
ashuk%eng.sun.com
f7af415497 author=ashuk
Bug=81648

Files modifed:
mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/motif/MotifBrowserControlCanvas.java

Small change - comment out all references to DrawingSurfaceInfo with
explanation. This is no longer needed now that we use JAWT Native
Interface


git-svn-id: svn://10.0.0.236/trunk@96183 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 17:11:30 +00:00
ashuk%eng.sun.com
f13d42e2da Bug=81699
author=ashuk
r=edburns

Files modified

M util/classes/org/mozilla/util/Assert.java
M webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/BrowserControlFactory.java
M webclient/classes_spec/org/mozilla/webclient/BrowserControlImpl.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/test/RandomHTMLInputStream.java
M webclient/classes_spec/org/mozilla/webclient/test/UniversalDialog.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/HistoryImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NavigationImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/PreferencesImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/RDFEnumeration.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/WindowControlImpl.java


This fix changes the name of the Assert.assert methd to Assert.assert_it
in all the Blackwood modules which use this Assertion facility from
java/util. This is necessary for getting Blackwood to work with JDK1.4
since assert is a keyword in JDK1.4 onwards.


git-svn-id: svn://10.0.0.236/trunk@96003 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 18:36:13 +00:00
ashuk%eng.sun.com
b01e7aac74 Bug=81648
author=ashuk
r=edburns

Files modified:

M mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/win32/Win32BrowserControlCanvas.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/motif/MotifBrowserControlCanvas.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java

M mozilla/java/webclient/src_moz/motif/MotifBrowserControlCanvas.cpp
M mozilla/java/webclient/src_moz/motif/MotifBrowserControlCanvas.h
M mozilla/java/webclient/src_moz/motif/MotifBrowserControlCanvasStub.cpp
M mozilla/java/webclient/src_moz/Makefile.in
M mozilla/java/webclient/src_moz/Makefile.win

A mozilla/java/webclient/src_moz/win32/Makefile.win
A mozilla/java/webclient/src_moz/win32/Win32BrowserControlCanvas.cpp
A mozilla/java/webclient/src_moz/win32/Win32BrowserControlCanvas.h


This fix removes the deprecated methods used in Webclient and
now uses the JAWT Native Interface for allowing the Java AWT
canvas access to the native peer window.


git-svn-id: svn://10.0.0.236/trunk@95940 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 23:09:54 +00:00
ashuk%eng.sun.com
527519b115 Bug=82189
author=ashuk
r=edburns

Files modified
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/stubs
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/ProfileManager.java
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java
A mozilla/java/webclient/config/rules.mk
A mozilla/java/webclient/config/rules.mak
A mozilla/java/webclient/import
A mozilla/java/webclient/import/Makefile.in
A mozilla/java/webclient/import/Makefile.win
A mozilla/java/webclient/import/chPackage.pl
M mozilla/java/webclient/Makefile.in
M mozilla/java/webclient/Makefile.win
M mozilla/java/webclient/classes_spec/Makefile.in
M mozilla/java/webclient/classes_spec/Makefile.win
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControl.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControlImpl.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/WrapperFactoryImpl.java
M mozilla/java/webclient/src_share/runem.pl

This fix adds the new ProfileManager interface in the Webclient API.
This is also the first integration of BlackConnect in Webclient.
Webclient uses this ProfileManager interface to provide an interface
to the nsIProfile api in Mozilla for profile management. It uses
BlackConnect for this.


git-svn-id: svn://10.0.0.236/trunk@95879 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 21:13:50 +00:00
edburns%acm.org
cbc47220cf Stress test, for 64332.
git-svn-id: svn://10.0.0.236/trunk@95834 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 22:27:01 +00:00
edburns%acm.org
b0015f6781 UnimplementedException
git-svn-id: svn://10.0.0.236/trunk@94693 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 22:38:16 +00:00
ashuk%eng.sun.com
29a6c6db47 Bug=61977
author=ashuk
Bug fixes problem where String in getPageSource and getPagesourceBytes
was not being initialized.
----------------------------------------

Index: CurrentPageImpl.java
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java,v
retrieving revision 1.16
diff -r1.16 CurrentPageImpl.java
155c155
<     String HTMLContent = null;
---
>     String HTMLContent = new String();
188c188
<     String HTMLContent = null;
---
>     String HTMLContent = new String();

------------------------------------


git-svn-id: svn://10.0.0.236/trunk@94495 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 16:57:00 +00:00
edburns%acm.org
8ced81e20c This checkin uses the information in this nntp post:
From: valeski@netscape.com (Judson Valeski)
Newsgroups: netscape.public.mozilla.embedding
Subject: Re: nsIDocumentLoaderObserver migration guide?
Date: 8 May 2001 14:41:33 GMT
Organization: Another Netscape Collabra Server User
Lines: 44
Message-ID: <3AF8059A.D83EAAF@netscape.com>

To enable fine grained status tracking in webclient.

The following files are in this checkin.

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h


git-svn-id: svn://10.0.0.236/trunk@94282 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 21:57:57 +00:00
edburns%acm.org
8c3abb43dc Previous version did not compile: errors in getSource().
git-svn-id: svn://10.0.0.236/trunk@94269 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 21:07:16 +00:00
edburns%acm.org
6df6f64e66 Removed "^M" chars.
Sorry


git-svn-id: svn://10.0.0.236/trunk@94267 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 20:54:14 +00:00
edburns%acm.org
df9807ce08 bug 79278
This checkin migrates javaDOM to use the new nsIWebProgressListener
interface, removing its dependency on the now non-existant
nsIDocumentLoaderObserver.

It has only been tested inside webclient.  QA needs to do the standalone
javaDOM tests.

The following files are in this bugfix:

dom/jni/org_mozilla_dom_DOMAccessor.cpp
dom/src/nsIJavaDOM.h
dom/src/nsJavaDOMImpl.cpp
dom/src/nsJavaDOMImpl.h
webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java


git-svn-id: svn://10.0.0.236/trunk@94264 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 20:34:31 +00:00
ashuk%eng.sun.com
e6bf2143fd Bug=61977
author=ashuk
Fix changes CurrentPageImpl.java and fixes leading "null" from
getPageSource and getPageSourceBytes


git-svn-id: svn://10.0.0.236/trunk@94239 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:58:36 +00:00
edburns%acm.org
97942650a0 Files in this Checkin:
M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h
M src_moz/NativeEventThreadActionEvents.cpp
M src_moz/WindowControlActionEvents.cpp

bug:  79278

This checkin makes webclient work with the trunk as of 7 May 2001 AM PDT.

It also adds support for PROGRESS_URL_LOAD and STATUS_URL_LOAD events.


git-svn-id: svn://10.0.0.236/trunk@94216 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 04:50:33 +00:00
edburns%acm.org
d5530a372a The following files are in this checkin.
ar=edburns
author=edburns, ashuk


M Makefile.in
M Makefile.win
M webclient/classes_spec/Makefile.in
M webclient/classes_spec/Makefile.win
M webclient/src_moz/Makefile.win
A build/Makefile.in
A build/Makefile.win
A build/install_blackconnect_unix.js
A build/install_blackconnect_win32.js
A build/install_blackwood_unix.js
A build/install_blackwood_win32.js
A build/install_dom_unix.js
A build/install_dom_win32.js
A build/install_pluglets_unix.js
A build/install_pluglets_win32.js
A build/install_webclient_unix.js
A build/install_webclient_win32.js
A build/symlink.sh


git-svn-id: svn://10.0.0.236/trunk@93491 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 23:50:52 +00:00
edburns%acm.org
3aeae22b4e Use getEventDetail to tell if the mouse button was pressed.
git-svn-id: svn://10.0.0.236/trunk@91079 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:37:28 +00:00
edburns%acm.org
972e690574 When bug 74468 gets fixed, -1 will be returned from getButton().
git-svn-id: svn://10.0.0.236/trunk@91068 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 00:42:47 +00:00
ashuk%eng.sun.com
e483742f91 Merging JAVADEV_RTM_20001102 into Trunk
_Ashu


git-svn-id: svn://10.0.0.236/trunk@91051 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 21:18:06 +00:00
edburns%acm.org
4950ac846f bug: 55004
r=ashuk
a=edburns

This fix makes it so bookmarks work with the tip of the branch as of 11/01/00.

This fix removes the necessity to modify xpcom/base/nsDebug.cpp to
remove the thread safety assertions.

This fix primarily does two things:

1. Make nsActionEvents for all bookmarks/rdf actions

2. Remove the synchronized(this.browserControlCanvas.getTreeLock()) call
around nativeProcessEvents() in NativeEventThread.run().

Files in this fix:

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarkEntryImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M classes_spec/org/mozilla/webclient/wrapper_native/RDFEnumeration.java
M classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java
M src_moz/BookmarksImpl.cpp
M src_moz/RDFEnumeration.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/nsActions.cpp
M src_moz/nsActions.h
M src_moz/motif/NativeLoaderStub.cpp


git-svn-id: svn://10.0.0.236/trunk@82262 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 03:16:55 +00:00
ashuk%eng.sun.com
49ef0e6172 author=ashuk
Bug=50282,44330,53397
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82252 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:27:47 +00:00
ashuk%eng.sun.com
b3387c11cd author=ashuk
Bug=58526
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82251 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:25:31 +00:00
edburns%acm.org
aee4ebbf93 Merged branch JAVADEV_PR3_20001002 into trunk.
git-svn-id: svn://10.0.0.236/trunk@82247 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:33:21 +00:00
ashuk%eng.sun.com
d7234fdeb1 author=ashuk
r=a=edburns
Bug=54129

changes for Solaris commercial build

_Ashu


git-svn-id: svn://10.0.0.236/trunk@80239 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:59:31 +00:00
edburns%acm.org
ffa897dd6d These changes make it so webclient compiles with the tip as of 20
September 2000.  It will run, but without bookmarks.

The changes consist of the following kinds of changes:

Changes to method signatures for methods implemented by webclient.

Changes to string functions.

Changes to account for the demise of PROGIDS in favor of ContractIDs

Modified files:

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M src_moz/CBrowserContainer.cpp
M src_moz/CurrentPageImpl.cpp
M src_moz/Makefile.win
M src_moz/NativeEventThread.cpp
M src_moz/RDFEnumeration.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/ns_util_export.cpp
M src_moz/rdf_util.cpp


git-svn-id: svn://10.0.0.236/trunk@79658 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:53:05 +00:00
edburns%acm.org
dcc02d3f9e Changed to bring up to the tip.
bug=32162
a=brendan
r=leaf


git-svn-id: svn://10.0.0.236/trunk@79655 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:38:33 +00:00
edburns%acm.org
0898232dc5 This fix was contributed by
*      Jason Mawdsley <jason@macadamian.com>
 *      Louis-Philippe Gagnon <louisphilippe@macadamian.com>

It enables webclient to be built and run under JDK1.1.x.  Note that JavaDOM
does not work under jdk1.1.x.

The fix consists of two elements:

On the Java side, replace all JDK1.2 specific calls with JDK1.1.x
equivalents.  On the native side use pre-processer macro for
JNI_VERSION, like this:

#ifdef JNI_VERSION_1_2

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_2
#endif

#else

#ifndef JNI_VERSION_1_1
#define JNI_VERSION_1_1 0x00010001
#endif

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_1
#endif

#endif // END: JNI_VERSION_1_2

This fix has been tested on win32, solaris, and linux.

The following files are in this fix:

M webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
M webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/nsActions.cpp
M webclient/src_share/jni_util.cpp
M webclient/src_share/jni_util.h
M webclient/src_share/jni_util_export.cpp


git-svn-id: svn://10.0.0.236/trunk@79490 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:18:18 +00:00
ashuk%eng.sun.com
76cb0fc836 author = louis-philippe@macadamian.com and jason@macadamian.com
r = a = edburns
Bug = 52183


git-svn-id: svn://10.0.0.236/trunk@79241 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:15:01 +00:00
edburns%acm.org
438c5c3e61 Added
import org.mozilla.webclient.UnimplementedException;

Fix build bustage.


git-svn-id: svn://10.0.0.236/trunk@79189 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:00:20 +00:00
ashuk%eng.sun.com
1348efa3bc author = ashuk
r = a = edburns
Bug = 46068

_Ashu


git-svn-id: svn://10.0.0.236/trunk@78898 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:44:47 +00:00
ashuk%eng.sun.com
f2b3b5f5e7 author = ashuk
r = a = edburns
Bug = 51280


git-svn-id: svn://10.0.0.236/trunk@78881 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 16:44:32 +00:00
edburns%acm.org
f8f85a7b78 bug=49293
r=gbarney
a=edburns

M classes_spec/org/mozilla/webclient/test/EMWindow.java
A src_ie/CMyDialog.cpp
A src_ie/CMyDialog.h
M src_ie/CurrentPageImpl.cpp
M src_ie/HistoryImpl.cpp
M src_ie/Makefile.win
M src_ie/NativeEventThread.cpp
M src_ie/WindowControlImpl.cpp
M src_ie/WrapperFactoryImpl.cpp
M src_ie/ie_util.cpp
M src_ie/ie_util.h

cvs diff -u classes_spec/org/mozilla/webclient/test/EMWindow.java src_ie/CMyDialog.cpp src_ie/CMyDialog.h src_ie/CurrentPageImpl.cpp src_ie/HistoryImpl.cpp src_ie/Makefile.win src_ie/NativeEventThread.cpp src_ie/WindowControlImpl.cpp src_ie/WrapperFactoryImpl.cpp src_ie/ie_util.cpp src_ie/ie_util.h

This change adds listener DocumentLoadListener support to src_ie.

tar -cvf 49293.tar classes_spec/org/mozilla/webclient/test/EMWindow.java src_ie/CMyDialog.cpp src_ie/CMyDialog.h src_ie/CurrentPageImpl.cpp src_ie/HistoryImpl.cpp src_ie/Makefile.win src_ie/NativeEventThread.cpp src_ie/WindowControlImpl.cpp src_ie/WrapperFactoryImpl.cpp src_ie/ie_util.cpp src_ie/ie_util.h


git-svn-id: svn://10.0.0.236/trunk@76568 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:54:43 +00:00
edburns%acm.org
1f01dae006 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.


git-svn-id: svn://10.0.0.236/trunk@76019 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 21:38:52 +00:00
edburns%acm.org
60bfaf0127 bug=48227
author=edburns
a=edburns
r=ashuk

Files in this fix:

M classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
A classes_spec/org/mozilla/webclient/wrapper_native/WCEventListenerWrapper.java
M src_moz/NativeEventThread.cpp
M src_moz/motif/NativeLoaderStub.cpp

Added class WCEventListenerWrapper:

 * This class allows the custom app to have one instance that implements
 * multiple Webclient event listener types. <P>

 * This is simply a "struct" type class that encapsulates a listener
 * instance with its class name.  This is necessary because the class
 * name is lost when we deal with the listener as a
 * WebclientEventListener, and not a WebclientEventListener subclass. <P>

 * @see org.mozilla.webclient.wrapper_native.NativeEventThread#addListener

Made it so when a java listener is added,

 * We create a WCEventListenerWrapper containing the user passed
 * DocumentLoadListener, and the string obtained from
 * DocumentLoadListener.class.getName();

We then call nativeEventThread.addListener:

 * Takes the abstract WebclientEventListener instance and adds it to a
 * Vector of listeners to be added.  This vector is scanned each time
 * around the event loop in run(). <P>

 * The vector is a vector of WCEventListenerWrapper instances.  In run()
 * these are unpacked and sent to nativeAddListener like this:
 * nativeAddListener(nativeWebShell,tempListener.listener,
 * tempListener.listenerClassName); <P>


git-svn-id: svn://10.0.0.236/trunk@75909 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:47:39 +00:00
edburns%acm.org
0b79e56e49 a=edburns
author=Oleg Khokhlov
r=edburns
bug=47026


git-svn-id: svn://10.0.0.236/trunk@75607 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:46:10 +00:00
ashuk%eng.sun.com
b5f214c647 author = ashuk
r = edburns
a = edburns

Implements RemoveListener


git-svn-id: svn://10.0.0.236/trunk@74818 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 20:07:11 +00:00
edburns%acm.org
d9e0e9fe10 bug=41977
Insert parameter checks for all webclient methods.


git-svn-id: svn://10.0.0.236/trunk@74631 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:48:26 +00:00
edburns%acm.org
765a295e3e Remove accidentally inserted ^M chars.
git-svn-id: svn://10.0.0.236/trunk@74629 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:14:57 +00:00
edburns%acm.org
7e42c828a0 Thanks to Andy Tripp <atripp@home.com> the DOMViewer
now scrolls to the shift-clicked node.


git-svn-id: svn://10.0.0.236/trunk@74296 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 18:56:30 +00:00
edburns%acm.org
472deb45c4 a=edburns
r=ashuk
bugs: 44327, 44328

WindowControl:

Don't call nativeDestroyInitContext

NativeEventThread

Call windowControl.nativeDestroyInitContext when the run()
loop exits.


git-svn-id: svn://10.0.0.236/trunk@73825 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:49:09 +00:00
edburns%acm.org
d54e7976c1 a=edburns
r=ashuk
bugs: 44327, 44328

Comment out the bookmarks test code.


git-svn-id: svn://10.0.0.236/trunk@73824 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:47:25 +00:00
edburns%acm.org
8c4107130e Finally_make_use_of_Sherry_Shen_changes
git-svn-id: svn://10.0.0.236/trunk@73597 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 18:50:02 +00:00
edburns%acm.org
3560f2869c feature:
Now you can shift click to select a node in the DOM viewer.


git-svn-id: svn://10.0.0.236/trunk@73595 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 17:53:58 +00:00
ashuk%eng.sun.com
ad8ed2e23e bug=44279
a=edburns
r=edburns
author=ashuk.

This code makes Webclient work with Mozilla M16.


git-svn-id: svn://10.0.0.236/trunk@73562 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 00:01:58 +00:00
edburns%acm.org
7af4ea35a6 Removed accidentally introduced ^M's
git-svn-id: svn://10.0.0.236/trunk@72428 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:59:04 +00:00