Commit Graph

528 Commits

Author SHA1 Message Date
ashuk%eng.sun.com
af0c0df24f Bug=46725
author=ashuk

Removing Makefile files from java/dom dir
2001-05-23 01:17:13 +00:00
ashuk%eng.sun.com
1762b66f14 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.
2001-05-23 01:12:49 +00:00
ashuk%eng.sun.com
1d5b5ee913 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.
2001-05-22 23:53:42 +00:00
ashuk%eng.sun.com
38bb3e3a5a 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
2001-05-22 23:22:58 +00:00
edburns%acm.org
3e41928054 In OnProgressChange, it's possible for the max to be 0, thus we need
to protect from Divide By Zero error.
2001-05-21 21:50:09 +00:00
idk%eng.sun.com
f3ce7d5371 *not part of the build*
fix for 81617
2001-05-19 11:32:51 +00:00
idk%eng.sun.com
71724038d2 *not part of the build*
fix for 80913
a=avm@sparc.spb.su
2001-05-17 03:38:26 +00:00
edburns%acm.org
65f55cca01 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.
2001-05-16 22:10:47 +00:00
ashuk%eng.sun.com
defba84af5 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
2001-05-16 21:13:46 +00:00
ashuk%eng.sun.com
7e1c960152 New dom2.jar file created from Level 1 DOM and Level 2 DOM
sources obtained from www.w3c.org on 16 May 2001.
2001-05-16 21:09:35 +00:00
idk%eng.sun.com
555cf150cf *not part of the build*
uncommented tests
2001-05-16 03:15:32 +00:00
idk%eng.sun.com
1efb3c3f15 *not part of the build*
fix for 57781, 57790
2001-05-15 06:47:45 +00:00
idk%eng.sun.com
7ab070f1eb *not part of the build*
fix for 80867
2001-05-15 05:08:19 +00:00
idk%eng.sun.com
fb6b9db758 *not part of the build*
fix for 77693
2001-05-15 04:46:46 +00:00
ashuk%eng.sun.com
21302a7735 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
2001-05-15 00:03:22 +00:00
edburns%acm.org
c5b6985848 Changes to remove jpav and mozilla extension directories. 2001-05-11 23:31:37 +00:00
edburns%acm.org
ba7c813ed8 Removing at Nikolay's request 2001-05-11 23:16:59 +00:00
edburns%acm.org
c38455e8e5 Removed at Nikolay's request. 2001-05-11 23:11:56 +00:00
edburns%acm.org
5299aae766 UnimplementedException 2001-05-11 22:38:16 +00:00
idk%eng.sun.com
c85f0bd518 *not part of the build*
follow up on 79289
added some makefiles for wintel build
2001-05-11 20:41:45 +00:00
ashuk%eng.sun.com
ea2739771e 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) {
2001-05-11 19:06:54 +00:00
edburns%acm.org
9f3a659d37 Learning documentation. 2001-05-10 22:24:36 +00:00
edburns%acm.org
7cf99f24c6 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.
2001-05-10 20:47:07 +00:00
edburns%acm.org
14961bdd62 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.
2001-05-10 20:46:09 +00:00
idk%eng.sun.com
53dda829f1 *not part of the build*
fix for 79289
2001-05-10 20:31:26 +00:00
edburns%acm.org
302d516139 directory_name_change 2001-05-10 18:43:03 +00:00
edburns%acm.org
2d604d14d9 Changed waterfall to pluggable-jvm 2001-05-10 18:30:22 +00:00
edburns%acm.org
8de5f0c0b5 These files were accidentally checked in. 2001-05-10 18:25:00 +00:00
edburns%acm.org
432bc6ea64 Import Waterfall under the directory pluggable-jvm. 2001-05-10 18:12:45 +00:00
ashuk%eng.sun.com
1a062aa106 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();

------------------------------------
2001-05-10 16:57:00 +00:00
edburns%acm.org
2e21638718 These are garbage. 2001-05-09 20:01:17 +00:00
edburns%acm.org
df4ed559d9 Made it so --with-java-supplement builds the waterfall makefiles. 2001-05-09 18:53:15 +00:00
edburns%acm.org
5942733019 Initial import of the mozilla component that plugs into the
Waterfall Pluggable JVM by Nikolay Igotti.
2001-05-09 18:51:36 +00:00
edburns%acm.org
54faa13a67 Initial import of Waterfal Pluggable JVM module by Nikolay Igotti. 2001-05-09 17:30:10 +00:00
idk%eng.sun.com
95b177c968 *not part of the build*
fix for 78910
author=sva@sparc.spb.su (Vladimir Strigun)
2001-05-09 01:29:06 +00:00
edburns%acm.org
d79b2b7b77 Complete the conversion from nsIDocumentLoaderObserver. 2001-05-08 22:32:19 +00:00
edburns%acm.org
742b92e202 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
2001-05-08 21:57:57 +00:00
edburns%acm.org
f77c8b0f45 Previous version did not compile: errors in getSource(). 2001-05-08 21:07:16 +00:00
edburns%acm.org
b6f0f4bea9 Removed "^M" chars.
Sorry
2001-05-08 20:54:14 +00:00
edburns%acm.org
f4bc0e8678 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
2001-05-08 20:34:31 +00:00
ashuk%eng.sun.com
d39dc7e321 Bug=61977
author=ashuk
Fix changes CurrentPageImpl.java and fixes leading "null" from
getPageSource and getPageSourceBytes
2001-05-08 16:58:36 +00:00
edburns%acm.org
c4a354c5aa 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.
2001-05-08 04:50:33 +00:00
idk%eng.sun.com
e101defa3c *not part of the build*
added virtual destructor to llTransprt
a=sep@sparc.spb.su
2001-05-04 08:51:52 +00:00
idk%eng.sun.com
386b829e9b *not part of the build*
fixes for 78866 and 78865
2001-05-04 08:45:12 +00:00
idk%eng.sun.com
981ba6c788 *not part of the buils*
update for URP connect
a=lsv@sparc.spb.su
  sep@sparc.spb.su
2001-05-02 03:58:20 +00:00
idk%eng.sun.com
539b3b5447 *not part of the build*
update for URP connect
a=lsv@sparc.spb.su,
  sep@sparc.spb.su
2001-05-02 02:30:42 +00:00
ashuk%eng.sun.com
4b0b25a613 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
2001-05-01 18:48:57 +00:00
idk%eng.sun.com
1263d16db6 *not part of the build*
fix for 78288
2001-05-01 03:10:03 +00:00
idk%eng.sun.com
57e30ff1e7 *not part of the build*
fix for 56738
2001-05-01 02:56:29 +00:00
idk%eng.sun.com
f5aaaf1e56 *not part of the build*
fix for 56728
2001-05-01 02:42:30 +00:00