788 Commits

Author SHA1 Message Date
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
idk%eng.sun.com
574ac4cce6 *not part of the buld*
Added missed test/Makefile for blackConnect tests


git-svn-id: svn://10.0.0.236/trunk@95932 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 21:20:12 +00:00
mcafee%netscape.com
ad7075f428 Removing this file, this is a generated file. r=idk@charon.Sun.Com
git-svn-id: svn://10.0.0.236/trunk@95928 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 20:56:58 +00:00
ashuk%eng.sun.com
d48fac6aa0 Bug=82611
author=ashuk
r=idk

This fix enables BlackConnect to build on Solaris using Sun's
Forte compilers. It checks for the CC compiler and links in
an additional iostream library.


git-svn-id: svn://10.0.0.236/trunk@95886 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 00:40:27 +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
idk%eng.sun.com
1f903545ec *not part of the buil*
add on to
fix for 80938


git-svn-id: svn://10.0.0.236/trunk@95861 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 05:39:24 +00:00
idk%eng.sun.com
6e4a0fdecc *not part of the build*
fix for 80938
a = avm@sparc.spb.su
    ovk@sparc.spb.su
    sva@sparc.spb.su

Tests for blackConnect


git-svn-id: svn://10.0.0.236/trunk@95860 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 05:22:13 +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
ashuk%eng.sun.com
e90510ebbc author=ashuk
Bug=81023

Modified README file to reflect the changed dom2.jar file.


git-svn-id: svn://10.0.0.236/trunk@95828 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 17:59:28 +00:00
ashuk%eng.sun.com
c2e9301133 Bug=46725
author=ashuk

Removing Makefile files from java/dom dir


git-svn-id: svn://10.0.0.236/trunk@95762 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:17:13 +00:00
ashuk%eng.sun.com
051bb5a0d6 Bug=46725
author=ashuk

Files modified
java/makefiles

This patch removes the Makefile files from java/dom. The
Makefiles are now generated by configure from Makefile.in
files.


git-svn-id: svn://10.0.0.236/trunk@95760 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:12:49 +00:00
ashuk%eng.sun.com
2dbf0203f9 Bug=45018
author=ashuk

Files modified
jni/org_mozilla_dom_DocumentImpl.cpp

This fix makes sure that corner case where call to
nsIDOMDocument::CreateEntityReference returns
NS_OK, but a null return value for the
nsIDOMEntityReference is handled properly thro
the exception handling mechanism.


git-svn-id: svn://10.0.0.236/trunk@95735 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 23:53:42 +00:00
ashuk%eng.sun.com
6e175c40bf Bug=81484
author=ashuk
Patch provided by Harshal (keeda@hotpop.com)

This patch introduces explicit (jchar*) static
casts in calls to JNIEnv_::NewString in the
JavaDOM code. This is needed for compliance
with the strict type-checking og gcc 2.96+.

Modified files are:
M jni/org_mozilla_dom_AttrImpl.cpp
M jni/org_mozilla_dom_CharacterDataImpl.cpp
M jni/org_mozilla_dom_DocumentTypeImpl.cpp
M jni/org_mozilla_dom_ElementImpl.cpp
M jni/org_mozilla_dom_EntityImpl.cpp
M jni/org_mozilla_dom_NodeImpl.cpp
M jni/org_mozilla_dom_NotationImpl.cpp
M jni/org_mozilla_dom_ProcessingInstructionImpl.cpp
M jni/org_mozilla_dom_events_EventImpl.cpp
M src/nsJavaDOMImpl.cpp


git-svn-id: svn://10.0.0.236/trunk@95726 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 23:22:58 +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
idk%eng.sun.com
a8168e596a *not part of the build*
fix for 81617


git-svn-id: svn://10.0.0.236/trunk@95535 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:32:51 +00:00
idk%eng.sun.com
31a3c3dde2 *not part of the build*
fix for 80913
a=avm@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@95206 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 03:38:26 +00:00
edburns%acm.org
e1c0680de4 bug=79427
ra=ashk

this fix modifies {Get,Set}NodeValue to check for whether the node is actually an instance
of a class that responds to {Get,Set}Value(String).  If so, do it.

 * This macro assumes the hard coded set of interfaces below all have a
 * method in common, the name of which is specified by the _funcName
 * param.  Furthermore, it assumes the _funcName method takes a single
 * argument, specified by the _funcArg param.


git-svn-id: svn://10.0.0.236/trunk@95147 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 22:10:47 +00:00
ashuk%eng.sun.com
227adf22c6 Bug=81023
author=ashuk
ra=edburns

Files modified -
mozilla/java/dom/classes/org/mozilla/dom/NodeImpl.java
mozilla/java/dom/classes/org/mozilla/dom/events/MutationEventImpl.java
mozilla/java/dom/jni/org_mozilla_dom_NodeImpl.cpp

This Fix brings JavaDOM upto sync with the latest w3c.dom
interfaces built on 5/16/01 and checked into java/external
as dom2.jar


git-svn-id: svn://10.0.0.236/trunk@95145 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 21:13:46 +00:00
ashuk%eng.sun.com
6e54053027 New dom2.jar file created from Level 1 DOM and Level 2 DOM
sources obtained from www.w3c.org on 16 May 2001.


git-svn-id: svn://10.0.0.236/trunk@95144 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 21:09:35 +00:00
idk%eng.sun.com
da539f0b2c *not part of the build*
uncommented tests


git-svn-id: svn://10.0.0.236/trunk@95094 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 03:15:32 +00:00
idk%eng.sun.com
24e28c7407 *not part of the build*
fix for 57781, 57790


git-svn-id: svn://10.0.0.236/trunk@94968 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 06:47:45 +00:00
idk%eng.sun.com
9b408160b4 *not part of the build*
fix for 80867


git-svn-id: svn://10.0.0.236/trunk@94945 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 05:08:19 +00:00
idk%eng.sun.com
6a48393614 *not part of the build*
fix for 77693


git-svn-id: svn://10.0.0.236/trunk@94941 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 04:46:46 +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
aa243c33c1 Changes to remove jpav and mozilla extension directories.
git-svn-id: svn://10.0.0.236/trunk@94705 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 23:31:37 +00:00
edburns%acm.org
9b04329899 Removing at Nikolay's request
git-svn-id: svn://10.0.0.236/trunk@94704 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 23:16:59 +00:00
edburns%acm.org
ab97703593 Removed at Nikolay's request.
git-svn-id: svn://10.0.0.236/trunk@94701 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 23:11:56 +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
idk%eng.sun.com
e1ae8d8e2b *not part of the build*
follow up on 79289
added some makefiles for wintel build


git-svn-id: svn://10.0.0.236/trunk@94679 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 20:41:45 +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
0f3af55537 Learning documentation.
git-svn-id: svn://10.0.0.236/trunk@94519 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 22:24:36 +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
edburns%acm.org
555ae11e43 For some reason, javadom wouldn't compile today unless I changed
nativeDOMProxyListener.cpp nativeDOMProxyListener.h

To use NS_IMETHODIMP, NS_IMETHOD instead of virtual nsresult.


git-svn-id: svn://10.0.0.236/trunk@94510 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 20:46:09 +00:00
idk%eng.sun.com
89e9a6734e *not part of the build*
fix for 79289


git-svn-id: svn://10.0.0.236/trunk@94509 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 20:31:26 +00:00
edburns%acm.org
3745f01628 directory_name_change
git-svn-id: svn://10.0.0.236/trunk@94505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 18:43:03 +00:00
edburns%acm.org
df193c38d6 Changed waterfall to pluggable-jvm
git-svn-id: svn://10.0.0.236/trunk@94504 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 18:30:22 +00:00
edburns%acm.org
a9d2b23254 These files were accidentally checked in.
git-svn-id: svn://10.0.0.236/trunk@94502 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 18:25:00 +00:00
edburns%acm.org
f3221c6814 Import Waterfall under the directory pluggable-jvm.
git-svn-id: svn://10.0.0.236/trunk@94499 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 18:12:45 +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
2f771eb438 These are garbage.
git-svn-id: svn://10.0.0.236/trunk@94401 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 20:01:17 +00:00
edburns%acm.org
f56ea805c3 Made it so --with-java-supplement builds the waterfall makefiles.
git-svn-id: svn://10.0.0.236/trunk@94398 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 18:53:15 +00:00
edburns%acm.org
e3e37277e8 Initial import of the mozilla component that plugs into the
Waterfall Pluggable JVM by Nikolay Igotti.


git-svn-id: svn://10.0.0.236/trunk@94396 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 18:51:36 +00:00
edburns%acm.org
616a6b97db Initial import of Waterfal Pluggable JVM module by Nikolay Igotti.
git-svn-id: svn://10.0.0.236/trunk@94389 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 17:30:10 +00:00
idk%eng.sun.com
aa753cfe99 *not part of the build*
fix for 78910
author=sva@sparc.spb.su (Vladimir Strigun)


git-svn-id: svn://10.0.0.236/trunk@94309 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 01:29:06 +00:00
edburns%acm.org
5c5334bff8 Complete the conversion from nsIDocumentLoaderObserver.
git-svn-id: svn://10.0.0.236/trunk@94289 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 22:32:19 +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