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

193 Коммитов

Автор SHA1 Сообщение Дата
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 ad97d1397a Complete the conversion from nsIDocumentLoaderObserver. 2001-05-08 22:32:19 +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 8070648a34 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 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
sdv%sparc.spb.su eac575eb62 initial checking. 2001-01-31 19:05:04 +00:00
edburns%acm.org 3d2d027ddd Merged branch JAVADEV_PR3_20001002 into trunk. 2000-11-02 23:33:21 +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
edburns%acm.org 81e6727e6c 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 e5da6f4292 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 ea4e316ca7 Classes must be built first in order to build jni. 2000-07-28 00:17:21 +00:00
edburns%acm.org fc5637edb1 Put classes first so top level java build works. 2000-07-10 20:06:07 +00:00
sdv%sparc.spb.su 8366634290 fix for bug=44196 2000-07-06 08:01:07 +00:00
rpallath%eng.sun.com 8cbb299209 Altered test files 2000-07-05 17:17:34 +00:00
rpallath%eng.sun.com f122076162 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 0eb43bd8d0 fixed a memory leak 2000-06-30 10:46:49 +00:00
rpallath%eng.sun.com 4b7b34b7d5 Added this test case 2000-06-26 18:09:44 +00:00
sdv%sparc.spb.su c9ceb35c0b added note about cvs tag DOM_PR1 2000-06-23 17:35:51 +00:00
sdv%sparc.spb.su c8945e088a got rid of dependance on java\config\localdefs.mak 2000-06-23 17:16:29 +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 27a8374bc3 updated patch to webshell, so it works with the
latest version.
2000-06-23 14:14:23 +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
edburns%acm.org 271397a0ff Added DOM 0510. 2000-06-20 01:08:31 +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 72fd523052 support of latest w3c dom spec changes 2000-06-13 21:21:21 +00:00
edburns%acm.org 6d70938da2 Created file to allow shift-clicking. 2000-06-09 19:03:42 +00:00
edburns%acm.org 12739f5353 Added JAVA_DESTPATH to the CLASSPATH on the compiler command line. 2000-06-08 22:44:19 +00:00
sdv%sparc.spb.su fb7e5c2c4c changes to support unicode strings 2000-06-05 18:08:39 +00:00
edburns%acm.org 44f1d4b14a DOM really depends on the w3c dom from 20000307.
Changed README.
2000-06-04 21:56:53 +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
rpallath%eng.sun.com 1e204c1fb0 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 ba653de0ff Added entries for ElementImpl_hasAttribute and
ElementImpl_hasAttributeNS
2000-04-04 22:25:19 +00:00
rpallath%eng.sun.com 58276838a5 Updated with entries for ElementImpl_hasAttribute/ElementImpl_hasAttributeNS 2000-04-04 22:21:50 +00:00
rpallath%eng.sun.com 3751d2a6cb Added new unsupported methods 2000-04-04 22:18:53 +00:00
sdv%sparc.spb.su 4f48cbb031 implemented some w3c event interfaces methods 2000-04-04 17:55:34 +00:00
rpallath%eng.sun.com 9cca62cb28 Added Bug information for Bug Id 15118 2000-04-03 23:36:09 +00:00
rpallath%eng.sun.com 6514229e39 Added redirectxml.html and changes the scripts
accordingly to reflect the new file.
2000-04-03 18:31:39 +00:00
rpallath%eng.sun.com 1414f527dd changed == to != 2000-04-01 01:29:59 +00:00
rpallath%eng.sun.com 722a8e487a Updated classPATH in mozilla.bat nad mozilla.csh 2000-04-01 00:34:48 +00:00
rpallath%eng.sun.com 9041082284 Removing DOMAccessorImpl as it is no longer valid. 2000-04-01 00:07:02 +00:00
rpallath%eng.sun.com 4cb0ac96a5 Added DOMAccessor.java (insted of DOMAccessorImpl)
Added redirect.html
2000-04-01 00:04:15 +00:00
sdv%sparc.spb.su 393e009c85 removed org/mozilla/dom/tests from JDIR 2000-03-31 19:22:48 +00:00
sdv%sparc.spb.su 63d9109d48 moved applet tests to tests/src/applets 2000-03-31 01:42:34 +00:00
sdv%sparc.spb.su c1348265a2 added DOMAccessor.java patch 2000-03-31 00:11:36 +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 0250096d0a put module sources to a single dir
updated makefiles
2000-03-29 00:43:54 +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 1f3d2a167c updated makefiles 2000-03-28 05:11:02 +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
rpallath%eng.sun.com ed9c6a631c Added try/catch block 2000-02-17 01:33:09 +00:00
rpallath%eng.sun.com d60154d2be Changed the null check condition.
For HTML, doctype is alwasy null
2000-02-17 01:13:03 +00:00
leila.garin%eng.sun.com 1404521315 Removed DocumenTypeImpl test cases from HTML.ORIG
Added DocumentTypeImpl_xml test case into XML.ORIG
2000-02-17 00:56:15 +00:00
rpallath%eng.sun.com c28fde0881 Added getDocType_xml test case for XML for HTML it is null.
modified Makefiles to reflect the same
2000-02-17 00:54:57 +00:00
rpallath%eng.sun.com 6ab69eb8d0 Added entries for new test cases. 2000-02-16 23:17:53 +00:00
rpallath%eng.sun.com 0073c97cc7 New Test Cases for all UNSUPPORTED methods 2000-02-16 22:58:27 +00:00
leila.garin%eng.sun.com 838bc614f1 hanged made to these file
Added new api test entries in BWTestClass files
Added UNSUPPORTED methods in BWBaseTest/TestLoader
Update DoucmentImpl accroding to java DOM version.
Did correct check for retrun values in ElementImpl_removeAttribute_String_1.java
ElementImpl_setAttributeNode_Attr_1.java NamedNodeMapImpl_setNamedItem_Node_1.java
2000-02-16 22:53:33 +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
leila.garin%eng.sun.com 632838b9e9 Replaced old TestLoader with new TestLoader 2000-02-15 18:57:28 +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
leila.garin%eng.sun.com a3a43fddcd Added getElementById method due to change in JavaDOM adhering to W3C specs. 2000-02-12 00:08:52 +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 938ca89e34 fix for bug 22532 2000-02-10 01:12:21 +00:00
sdv%sparc.spb.su 5337e84f5b fix for bug 26895 2000-02-08 03:05:04 +00:00
sdv%sparc.spb.su cef12cb99b fix for bug 26899 2000-02-08 02:40:01 +00:00
nis%sparc.spb.su c25783003a Added workaround to get JavaDOM to work on Linux. 2000-02-04 17:23:51 +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
sdv%sparc.spb.su d256e7f83f addon to previous checking. Changed
JAVA_DOM_OJI_DISABLE check to
JAVA_DOM_OJI_ENABLE not to affect
unix builds.
2000-01-28 04:20:20 +00:00
sdv%sparc.spb.su eab4dca545 Added code to use OJI on win nt.
Added methods of latest dom java-binding
Fixes to bugs 22192, 22193
2000-01-28 03:45:01 +00:00
nis%sparc.spb.su 521f7692d8 Fixed bug 23629.
The build failed due to changes in nsIDocumentLoaderObserver interface.

Reviewed by sdv@sparc.spb.su
2000-01-24 17:37:28 +00:00
leila.garin%eng.sun.com 086227c3a8 Added RunTimeException handling 2000-01-22 00:20:21 +00:00
leila.garin%eng.sun.com 07d60bd722 Removed NodeImpl_equals_3 2000-01-20 22:35:25 +00:00
leila.garin%eng.sun.com f460b38b00 changed PASS/FAIL conditions and add print statments 2000-01-20 22:32:20 +00:00
leila.garin%eng.sun.com d6ae3f8f5c Added package entry 2000-01-19 17:42:45 +00:00
leila.garin%eng.sun.com ef6eae13b0 obselete 2000-01-18 22:54:13 +00:00
leila.garin%eng.sun.com ac2eb1fbd0 Obselete 2000-01-18 22:53:14 +00:00
leila.garin%eng.sun.com 7bdea8249b Obselete file 2000-01-18 22:52:04 +00:00
leila.garin%eng.sun.com 2798a07fb7 Added License information
Added rule files for  DOM HTML test generation
Updated READMES
Updated automated scripts.
Added Hacked DOMAccessorImpl/DocumentImpl files
2000-01-18 22:38:10 +00:00
leila.garin%eng.sun.com eadefa0213 Added Makefiles and license information
Added hacked DocumentImpl
2000-01-18 22:35:59 +00:00
akhil.arora%sun.com 705b9d7627 19583 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
A top-level make now builds everything, including linux
1999-11-25 00:39:38 +00:00
akhil.arora%sun.com 21d83ae88b r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Added some new tests.
1999-11-22 22:10:44 +00:00
akhil.arora%sun.com 45edacb89a 19304 r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Forgot to commit these two files that are part of the conversion to an
  xpcom module.
1999-11-22 22:06:46 +00:00
akhil.arora%sun.com b852ebcc9c 19305 r=akhil.arora fix=Denis Sharypov <sdv@sparc.spb.su>
Use QI to check for nsIWebShell before casting. Safer.
1999-11-22 22:05:31 +00:00
akhil.arora%sun.com 8ef657a0fa 19578 r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Defer deleting the current element until the next iteration so that we can
  dereference the element first to get to the next element.
1999-11-22 22:01:23 +00:00