269 Commits

Author SHA1 Message Date
ashuk%eng.sun.com
2ff5c882a8 Bug=73085
author=ashuk
r=edburns

Files modified
mozilla/java/build/install_webclient_unix.js
mozilla/java/build/install_webclient_win32.js
mozilla/java/build/Makefile.in
mozilla/java/build/Makefile.win
mozilla/java/Makefile.win
mozilla/java/webclient/src_moz/Makefile.in
mozilla/java/webclient/src_moz/Makefile.win

Files added
mozilla/java/build/README.BLACKCONNECT
mozilla/java/build/README.BLACKWOOD
mozilla/java/build/README.DOM
mozilla/java/build/README.PLUGLET
mozilla/java/build/README.WEBCLIENT

this fix allows XPIs to be generated for all the Blackwood
components individually or together on Win32, Solaris and
linux.


git-svn-id: svn://10.0.0.236/trunk@96125 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 18:56:27 +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
edburns%acm.org
4fa796ee22 Added necessary -L for getting it to compile on Linux
git-svn-id: svn://10.0.0.236/trunk@95959 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 08:12:27 +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
edburns%acm.org
7b929df0cf Necessary changes to get webclient running on Win32 with new nsIProfile stuff.
git-svn-id: svn://10.0.0.236/trunk@95883 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 22:38:40 +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
a2f0a4882d In OnProgressChange, it's possible for the max to be 0, thus we need
to protect from Divide By Zero error.


git-svn-id: svn://10.0.0.236/trunk@95608 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 21:50:09 +00:00
ashuk%eng.sun.com
672f92400d Bug=80792
author=ashuk
Files modified
java/webclient/src_moz/CBrowserContainer.cpp
java/dom/jni/org_mozilla_dom_events_MousEventImpl.cpp

This patch allows Webclient and JavaDOM to build with the
mozilla trunk as of 05/14/01


git-svn-id: svn://10.0.0.236/trunk@94906 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 00:03:22 +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
09686de651 Bug=78610
author=ashuk
ra=edburns

File modifed: java/webclient/src_moz/CBrowserContainer.cpp

This patch enables focus in a form field inside Webclient.

Index: CBrowserContainer.cpp
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/src_moz/CBrowserContainer.cpp,v
retrieving revision 1.19
diff -u -r1.19 CBrowserContainer.cpp
--- CBrowserContainer.cpp       2001/05/10 20:47:06     1.19
+++ CBrowserContainer.cpp       2001/05/11 19:04:09
@@ -28,6 +28,7 @@
 #include "CBrowserContainer.h"
 #include "nsCWebBrowser.h"
 #include "nsIWebBrowser.h"
+#include "nsIWebBrowserFocus.h"
 #include "nsIRequest.h"
 #include "nsIDOMNamedNodeMap.h"
 #include "nsIDOMWindow.h"
@@ -619,6 +620,10 @@
 nsresult JNICALL
 CBrowserContainer::doEndDocumentLoad(nsIWebProgress *aWebProgress)
 {
+
+    nsCOMPtr<nsIWebBrowserFocus> focus(do_GetInterface(mInitContext->webBrowser));
+    focus->Activate();
+
     nsCOMPtr<nsIDOMWindow> domWin;

     if (nsnull != aWebProgress) {


git-svn-id: svn://10.0.0.236/trunk@94677 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 19:06:54 +00:00
edburns%acm.org
7981fd9722 For some reason, webclient wouldn't compile today unless I changed
CBrowserContainer.cpp CBrowserContainer.h

To use NS_IMETHODIMP, NS_IMETHOD instead of virtual nsresult.


git-svn-id: svn://10.0.0.236/trunk@94511 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 20:47:07 +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
bc1b833426 Bug 76405
a=edburns
author = edburns ashuk
r=edburns

Files in fix for this bug:

M dom/classes/Makefile
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/CBrowserContainer.h
M webclient/src_moz/CurrentPageActionEvents.cpp
M webclient/src_moz/HistoryActionEvents.cpp
M webclient/src_moz/Makefile.in
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/motif/MotifBrowserControlCanvas.cpp

This checkin makes Webclient work with the Mozilla trunk as of 27 April
0100 PDT.


git-svn-id: svn://10.0.0.236/trunk@93341 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 00:53:21 +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
edburns%acm.org
447399fb12 // replace nsString::Recycle with nsMemory::Free
java/dom/jni/org_mozilla_dom_events_MouseEventImpl.cpp
java/dom/jni/org_mozilla_dom_events_UIEventImpl.cpp
java/dom/jni/org_mozilla_dom_events_EventImpl.cpp
java/dom/jni/org_mozilla_dom_ProcessingInstructionImpl.cpp
java/dom/jni/org_mozilla_dom_NodeImpl.cpp
java/dom/jni/org_mozilla_dom_NamedNodeMapImpl.cpp
java/dom/jni/org_mozilla_dom_ElementImpl.cpp
java/dom/jni/org_mozilla_dom_DOMImplementationImpl.cpp
java/dom/jni/org_mozilla_dom_DocumentImpl.cpp
java/dom/jni/org_mozilla_dom_CharacterDataImpl.cpp
java/dom/jni/org_mozilla_dom_AttrImpl.cpp
java/dom/jni/javaDOMEventsGlobals.cpp

// On*DocumentLoad() now takes an nsIRequest instead of an nsIChannel.
// nsIChannel extends nsIRequest.
java/dom/src/nsJavaDOMImpl.cpp
java/dom/src/nsJavaDOMImpl.h
java/dom/src/nsIJavaDOM.h

// nsIChannel instances replaced with nsIRequest. Removed ShowModal(),
// ExitModalLoop(), FindNamedBrowserItem().  Parameter changes for
// {Set,Get}Persistence().  Add DestroyBrowserWindow(), IsWindowModal().
// supports weak references
java/webclient/src_moz/CBrowserContainer.h
java/webclient/src_moz/CBrowserContainer.cpp

// GetProfileList now returns an array of profile names.  Need to use
// nsIProfileInternal instead of nsIProfile for StartupWithArgs.
java/webclient/src_moz/NativeEventThread.cpp

// Remove -lxpfelocation_s
java/webclient/src_moz/Makefile.in

// Don't include appfilelocprovider_s
java/webclient/src_moz/Makefile.win

// Don't assert thread safe, cause we are thread safe
java/webclient/src_moz/InputStreamShim.cpp


git-svn-id: svn://10.0.0.236/trunk@91060 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 22:48:33 +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
valeski%netscape.com
39be2fdaeb r=ccarlen, sr=rpotts. 65925. making webprogress listeners support weak ref
git-svn-id: svn://10.0.0.236/trunk@85871 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:04:10 +00:00
edburns%acm.org
1707580b5c Test cases.
git-svn-id: svn://10.0.0.236/trunk@84612 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:24:11 +00:00
edburns%acm.org
e7645cf64f Test cases
git-svn-id: svn://10.0.0.236/trunk@84611 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:19:07 +00:00
edburns%acm.org
256c970b1c Automated test cases.
git-svn-id: svn://10.0.0.236/trunk@84595 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:27:40 +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
5af8d651a6 author=ashuk
Bug=57725,49126
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82254 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:30:54 +00:00
ashuk%eng.sun.com
4a6f37d5be author=ashuk
r=a=edburns
Bug=58791


git-svn-id: svn://10.0.0.236/trunk@82253 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:28:27 +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
ashuk%eng.sun.com
cf0897f7f3 author=ashuk
Bug=54129

Run Script for commercial build


git-svn-id: svn://10.0.0.236/trunk@80235 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:20:56 +00:00
edburns%acm.org
825bc96e67 bug=52883
author=ashuk
r,a=edburns

Make webclient work with the tip.


git-svn-id: svn://10.0.0.236/trunk@80080 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:37:25 +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
74676b3b89 Jason found a bug left over from the manual diff.
git-svn-id: svn://10.0.0.236/trunk@79540 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:34:18 +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
bd895bcc61 author=jason@macadamian.com and louis-philippe@macadamian.com
r=a=edburns
Bug=52183


git-svn-id: svn://10.0.0.236/trunk@79243 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:18:53 +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
ashuk%eng.sun.com
fb265f1a57 author = ashuk
r = a = edburns
Bug = 48356, 51326


git-svn-id: svn://10.0.0.236/trunk@78880 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 16:33:45 +00:00
edburns%acm.org
303b6a67e4 Add lib directory to -L line.
git-svn-id: svn://10.0.0.236/trunk@77129 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 23:03:34 +00:00
ashuk%eng.sun.com
2fa0b8e66e Bug = 48356
author = ashuk
r = a = edburns

Added checks to make sure that DocShell is valid and that
calls to getInterface(nsIDOMWindow) return a valid object.


git-svn-id: svn://10.0.0.236/trunk@76913 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:03:49 +00:00