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

83 Коммитов

Автор SHA1 Сообщение Дата
edburns%acm.org 61c42ca1c3 no need for this anymore! 2003-01-12 07:48:16 +00:00
edburns%acm.org 140e21d74b Make JavaDOM build with ANT. 2003-01-12 07:43:38 +00:00
edburns%acm.org 41dc25b8ff ra=edburns
Author: Tor Norbye <tor@eng.sun.com>

Changes to make it build on Solaris.
2003-01-08 05:21:31 +00:00
edburns%acm.org 1cd0ac111e Make Webclient compile and run on GNU/Linux with Mozilla 1.0.1.
Continue migration to ant.

Start out some JUnit tests.
2002-10-01 00:39:31 +00:00
edburns%acm.org c0f9b85e15 Patch contributed by Michal Ceresna and verified by John Marmion.
This patch makes the webclient trunk work with the MOZILLA_0_9_9_BRANCH
on linux.
2002-06-01 19:11:44 +00:00
edburns%acm.org edb111862b M Makefile.win
M dom/jni/javaDOMEventsGlobals.cpp
M dom/jni/makefile.win
M dom/jni/nativeDOMProxyListener.cpp
M dom/jni/nativeDOMProxyListener.h
M dom/jni/org_mozilla_dom_events_EventImpl.cpp
M dom/src/makefile.win
M dom/src/nsJavaDOMImpl.cpp
M webclient/Makefile.win
M webclient/classes_spec/Makefile.win
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/CurrentPageActionEvents.cpp
M webclient/src_moz/HistoryActionEvents.cpp
M webclient/src_moz/HistoryImpl.cpp
M webclient/src_moz/InputStreamShim.cpp
M webclient/src_moz/Makefile.win
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/NativeEventThreadActionEvents.cpp
M webclient/src_moz/NavigationActionEvents.cpp
M webclient/src_moz/NavigationImpl.cpp
M webclient/src_moz/PreferencesActionEvents.cpp
M webclient/src_moz/PromptActionEvents.cpp
M webclient/src_moz/RDFActionEvents.cpp
M webclient/src_moz/win32/Makefile.win

Changes to make webclient compile and run with MOZILLA_0_9_9_BRANCH.
2002-04-15 17:38:52 +00:00
edburns%acm.org 2b34635933 bug: 119680
Changes to make webclient compile and minimally run with
Netscape 6.2.1.
2002-01-14 18:04:48 +00:00
jaggernaut%netscape.com 0f8355e125 Remove IsUnicode() check on nsString. nsString is always unicode (these days), so replacing this if/then/else with the then part. r=dbaron, rs=scc 2001-10-14 04:37:37 +00:00
edburns%acm.org 4bd855bf00 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 b4a51eb727 Bug=46725
author=ashuk

Removing Makefile files from java/dom dir
2001-05-23 01:17:13 +00:00
ashuk%eng.sun.com 4670d55535 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 9e6ff508bc 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 72f4bb527d 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 d8636b0c07 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 c1a97ce96e 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 54ea58fffc 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 986b120eb8 Removed "^M" chars.
Sorry
2001-05-08 20:54:14 +00:00
edburns%acm.org af821d0195 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 98febd8f40 Don't try to free an automatic variable. 2001-04-02 23:27:44 +00:00
edburns%acm.org 8599ddce54 // 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 485b92bc90 Merging JAVADEV_RTM_20001102 into Trunk
_Ashu
2001-04-02 21:18:06 +00:00
edburns%acm.org cd2fc777cc bug=47878
r=edburns
a=edburns
author=rmv@sparc.spb.su
2000-09-22 00:06:21 +00:00
edburns%acm.org 055d99c6fc 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
sdv%sparc.spb.su 8366634290 fix for bug=44196 2000-07-06 08:01:07 +00:00
sdv%sparc.spb.su 7924f3c02e fix for bug=41494
removed headers generated by javah
updated makefiles
2000-06-23 17:14:11 +00:00
sdv%sparc.spb.su 88f954d48e fix for bug=43293 2000-06-23 14:09:19 +00:00
sdv%sparc.spb.su 24dbe0fe04 fix for bug=43473 2000-06-23 13:17:29 +00:00
sdv%sparc.spb.su 1c95c46937 fix for bug=43290 2000-06-21 12:20:08 +00:00
sdv%sparc.spb.su 812f4d6c98 added support of namespaces 2000-06-19 15:09:47 +00:00
sdv%sparc.spb.su f406604813 addon to fix a bug=42336 2000-06-15 11:14:47 +00:00
sdv%sparc.spb.su ff8cf166bb added workaround for bug=30927 2000-06-14 12:16:29 +00:00
sdv%sparc.spb.su 4c8a8b8fc7 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 fb7e5c2c4c changes to support unicode strings 2000-06-05 18:08:39 +00:00
edburns%acm.org 1d1aa50ec2 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
sdv%sparc.spb.su 4f48cbb031 implemented some w3c event interfaces methods 2000-04-04 17:55:34 +00:00
sdv%sparc.spb.su 71962f8e25 A major update:
- reduces a number of c++<--> java calls
- added NULL checks
- made DOMAccessor to be secure
- added util and tests packages
- wrote test applets
- updated README
2000-03-30 23:52:19 +00:00
sdv%sparc.spb.su a89093b4e9 removed java files which were placed
to classes dir
2000-03-29 01:07:03 +00:00
sdv%sparc.spb.su 839a83a630 put classes to a single dir
updated makefiles
2000-03-29 00:41:22 +00:00
sdv%sparc.spb.su f2a99e4c3e keeping track with mozilla interface changes 2000-03-28 04:55:38 +00:00
sdv%sparc.spb.su ee2dfe8700 added new methods from the recent w3c
java binding
2000-03-28 02:11:13 +00:00
sdv%sparc.spb.su 4a530bd8e0 added target to make java classes on windows 2000-03-13 23:03:07 +00:00
sdv%sparc.spb.su 0fed3c2ad9 addon fix to bug 13338 2000-02-16 00:45:37 +00:00
sdv%sparc.spb.su 34d719c42b addon fix to bug 13338 (return null according to the
dom spec instead of throwing exception)
2000-02-15 23:57:27 +00:00
sdv%sparc.spb.su aae07fabe7 - added method to enable access to pluglets and
changed the way java dom registers itself
2000-02-15 03:50:35 +00:00
sdv%sparc.spb.su da1a9738e5 addon fix to bug 13338. 2000-02-12 01:11:48 +00:00
sdv%sparc.spb.su 335c6a2d1e changed fix to bug 13338.
now check for null pointers in Java DOM instead of
passing null references to coreDOM
2000-02-11 07:58:12 +00:00
sdv%sparc.spb.su dc8f182923 fix for bug 24723 2000-02-10 01:13:57 +00:00
sdv%sparc.spb.su cef12cb99b fix for bug 26899 2000-02-08 02:40:01 +00:00
nis%sparc.spb.su 58a9ca3613 Removed support for KeyEvents because they are not
included into DOM2 specification anymore.
2000-01-28 14:30:12 +00:00
nis%sparc.spb.su fcced6a781 Event interfaces are updated to latest DOM2 bindings.
In particular, KeyEvent support is removed because
DOM Level 2 Event specification does not provide a key event set anymore.
2000-01-28 14:26:11 +00:00