Граф коммитов

149 Коммитов

Автор SHA1 Сообщение Дата
edburns%acm.org aba0c0a15a ra=ashuk
bug=79427.

This checkin adds the following behavior:

On GetValue, if a checkbox or radio button, it returns "CHECKED" or "UNCHECKED".

On SetValue, any string not equal to the empty string causes the checkbox
to be set.
2001-06-12 18:30:56 +00:00
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 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 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 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 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
edburns%acm.org d79b2b7b77 Complete the conversion from nsIDocumentLoaderObserver. 2001-05-08 22:32:19 +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
edburns%acm.org c088b7b9c9 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.
2001-04-28 00:53:21 +00:00
edburns%acm.org 142c8147b1 Don't try to free an automatic variable. 2001-04-02 23:27:44 +00:00
edburns%acm.org 0e44edc9ef // 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
2001-04-02 22:48:33 +00:00
ashuk%eng.sun.com 49ccb36ceb Merging JAVADEV_RTM_20001102 into Trunk
_Ashu
2001-04-02 21:18:06 +00:00
sdv%sparc.spb.su a123ac2aca initial checking. 2001-01-31 19:05:04 +00:00
edburns%acm.org fff58403f6 Merged branch JAVADEV_PR3_20001002 into trunk. 2000-11-02 23:33:21 +00:00
edburns%acm.org b008d75e83 bug=47878
r=edburns
a=edburns
author=rmv@sparc.spb.su
2000-09-22 00:06:21 +00:00
edburns%acm.org c724c47c60 This bug is about JavaDOM building on the tip. These changes make it so
you can build JavaDOM with the tip as of 20 Sept 2000.

M dom/jni/javaDOMGlobals.h

  changed nsString2 to nsString

M dom/jni/org_mozilla_dom_NodeImpl.cpp

  nsIDOMNode::Supports is now nsIDOMNode::IsSupported().
2000-09-20 21:47:42 +00:00
edburns%acm.org 94393318f6 Changed to bring up to the tip.
bug=32162
a=brendan
r=leaf
2000-09-20 21:38:33 +00:00
sdv%sparc.spb.su c3071ae3dd fix for bug=47878
NamedNodeMapImpl class should not extend NodeImpl
according to the w3c spec.
2000-08-08 16:43:52 +00:00
edburns%acm.org 15a59d37c9 Classes must be built first in order to build jni. 2000-07-28 00:17:21 +00:00
edburns%acm.org 73089af963 Put classes first so top level java build works. 2000-07-10 20:06:07 +00:00
sdv%sparc.spb.su 0a3563c0b4 fix for bug=44196 2000-07-06 08:01:07 +00:00
rpallath%eng.sun.com 3ef2465735 Altered test files 2000-07-05 17:17:34 +00:00
rpallath%eng.sun.com fe696f7e88 Modified Test Cases. All previously unsupported methods have been
supported. Test Cases for the same have been updated.
2000-07-05 17:16:15 +00:00
sdv%sparc.spb.su b71b109e98 fixed a memory leak 2000-06-30 10:46:49 +00:00
rpallath%eng.sun.com 757b3dc86d Added this test case 2000-06-26 18:09:44 +00:00
sdv%sparc.spb.su c5eb45029e added note about cvs tag DOM_PR1 2000-06-23 17:35:51 +00:00
sdv%sparc.spb.su fe48f42489 got rid of dependance on java\config\localdefs.mak 2000-06-23 17:16:29 +00:00
sdv%sparc.spb.su 6c4baee48e fix for bug=41494
removed headers generated by javah
updated makefiles
2000-06-23 17:14:11 +00:00
sdv%sparc.spb.su fb73322567 updated patch to webshell, so it works with the
latest version.
2000-06-23 14:14:23 +00:00
sdv%sparc.spb.su a3e5bdd5b6 fix for bug=43293 2000-06-23 14:09:19 +00:00
sdv%sparc.spb.su dd0d2076a3 fix for bug=43473 2000-06-23 13:17:29 +00:00
sdv%sparc.spb.su df5cdefb12 fix for bug=43290 2000-06-21 12:20:08 +00:00
edburns%acm.org 5fd64671b6 Added DOM 0510. 2000-06-20 01:08:31 +00:00
sdv%sparc.spb.su a1acff66da added support of namespaces 2000-06-19 15:09:47 +00:00
sdv%sparc.spb.su fb6416f7dd addon to fix a bug=42336 2000-06-15 11:14:47 +00:00
sdv%sparc.spb.su 9ea99e9af8 added workaround for bug=30927 2000-06-14 12:16:29 +00:00
sdv%sparc.spb.su a8564a2fae support of latest w3c dom spec changes
fixed a bug with unicode strings
2000-06-13 21:22:35 +00:00
sdv%sparc.spb.su 60fd966f38 support of latest w3c dom spec changes 2000-06-13 21:21:21 +00:00
edburns%acm.org b463859667 Created file to allow shift-clicking. 2000-06-09 19:03:42 +00:00
edburns%acm.org 2c5d190887 Added JAVA_DESTPATH to the CLASSPATH on the compiler command line. 2000-06-08 22:44:19 +00:00
sdv%sparc.spb.su bb16d06254 changes to support unicode strings 2000-06-05 18:08:39 +00:00
edburns%acm.org 6f007914b8 DOM really depends on the w3c dom from 20000307.
Changed README.
2000-06-04 21:56:53 +00:00
edburns%acm.org 3357bfe516 a=drapeau
author=edburns
bug=41492

This change adds the following methods:

public static native void org.mozilla.dom.DOMAccessor.initialize();

The implementation of this method is:

JNIEXPORT void JNICALL Java_org_mozilla_dom_DOMAccessor_initialize
(JNIEnv *env, jclass)
{
  if (!JavaDOMGlobals::log) {
    JavaDOMGlobals::Initialize(env);
  }

}

This method is necessary for external clients that want to use JavaDOM,
but don't want to use the nsIDocumentLoaderObserver instance provided by
JavaDOM.

Please see http://bugzilla.mozilla.org/show_bug.cgi?id=41497 for an
additional bug for which there is a workaround.

Ed
2000-06-04 20:25:20 +00:00
rpallath%eng.sun.com c3d03bbc8b Added sort routine in autorun.pl
and setUnsupported method add in ElementImpl_hasAttrib*.java
2000-04-14 18:41:37 +00:00
rpallath%eng.sun.com f6188063e7 Added entries for ElementImpl_hasAttribute and
ElementImpl_hasAttributeNS
2000-04-04 22:25:19 +00:00
rpallath%eng.sun.com d7ae9316a4 Updated with entries for ElementImpl_hasAttribute/ElementImpl_hasAttributeNS 2000-04-04 22:21:50 +00:00
rpallath%eng.sun.com 72017803f1 Added new unsupported methods 2000-04-04 22:18:53 +00:00