527 Commits

Author SHA1 Message Date
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
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
idk%eng.sun.com
cb63c2214b *not part of the build*
added virtual destructor to llTransprt
a=sep@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@93919 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 08:51:52 +00:00
idk%eng.sun.com
dbff104617 *not part of the build*
fixes for 78866 and 78865


git-svn-id: svn://10.0.0.236/trunk@93918 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 08:45:12 +00:00
idk%eng.sun.com
10538d4aa0 *not part of the buils*
update for URP connect
a=lsv@sparc.spb.su
  sep@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@93614 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 03:58:20 +00:00
idk%eng.sun.com
741fcb950a *not part of the build*
update for URP connect
a=lsv@sparc.spb.su,
  sep@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@93608 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 02:30:42 +00:00
ashuk%eng.sun.com
65c14a345c author=ashuk
Bug=73085
Files modified = mozilla/java/makefiles

this fix makes it so configure creates the makefile in java/build

Index: makefiles
===================================================================
RCS file: /cvsroot/mozilla/java/makefiles,v
retrieving revision 1.3
diff -u -r1.3 makefiles
--- makefiles   2000/08/03 21:32:54     1.3
+++ makefiles   2001/05/01 18:46:47
@@ -1,6 +1,7 @@
 java/Makefile
 java/util/Makefile
 java/util/classes/Makefile
+java/build/Makefile
 java/webclient/Makefile
 java/webclient/classes_spec/Makefile
 java/webclient/src_share/Makefile


git-svn-id: svn://10.0.0.236/trunk@93553 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 18:48:57 +00:00
idk%eng.sun.com
c4a18d0110 *not part of the build*
fix for 78288


git-svn-id: svn://10.0.0.236/trunk@93515 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 03:10:03 +00:00
idk%eng.sun.com
650a888914 *not part of the build*
fix for 56738


git-svn-id: svn://10.0.0.236/trunk@93512 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 02:56:29 +00:00
idk%eng.sun.com
5f615ba389 *not part of the build*
fix for 56728


git-svn-id: svn://10.0.0.236/trunk@93507 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 02:42:30 +00:00