Commit Graph

161 Commits

Author SHA1 Message Date
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
sdv%sparc.spb.su
0207ef429d implemented some w3c event interfaces methods 2000-04-04 17:55:34 +00:00
rpallath%eng.sun.com
5a86a50a69 Added Bug information for Bug Id 15118 2000-04-03 23:36:09 +00:00
rpallath%eng.sun.com
514a515586 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
b7d91147d9 changed == to != 2000-04-01 01:29:59 +00:00
rpallath%eng.sun.com
652e342dd1 Updated classPATH in mozilla.bat nad mozilla.csh 2000-04-01 00:34:48 +00:00
rpallath%eng.sun.com
cb69af2c93 Removing DOMAccessorImpl as it is no longer valid. 2000-04-01 00:07:02 +00:00
rpallath%eng.sun.com
a9b57a5ba1 Added DOMAccessor.java (insted of DOMAccessorImpl)
Added redirect.html
2000-04-01 00:04:15 +00:00
sdv%sparc.spb.su
814dcc76c5 removed org/mozilla/dom/tests from JDIR 2000-03-31 19:22:48 +00:00
sdv%sparc.spb.su
fe663d8006 moved applet tests to tests/src/applets 2000-03-31 01:42:34 +00:00
sdv%sparc.spb.su
18acde14ee added DOMAccessor.java patch 2000-03-31 00:11:36 +00:00
sdv%sparc.spb.su
26937e21bf 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
f783e6228f removed java files which were placed
to classes dir
2000-03-29 01:07:03 +00:00
sdv%sparc.spb.su
8c2aa12cf4 put module sources to a single dir
updated makefiles
2000-03-29 00:43:54 +00:00
sdv%sparc.spb.su
43a0aedd4e put classes to a single dir
updated makefiles
2000-03-29 00:41:22 +00:00
sdv%sparc.spb.su
6015d910d0 updated makefiles 2000-03-28 05:11:02 +00:00
sdv%sparc.spb.su
7b1271aded keeping track with mozilla interface changes 2000-03-28 04:55:38 +00:00
sdv%sparc.spb.su
56a2016ca3 added new methods from the recent w3c
java binding
2000-03-28 02:11:13 +00:00
sdv%sparc.spb.su
4293bc7c5b added target to make java classes on windows 2000-03-13 23:03:07 +00:00
rpallath%eng.sun.com
9712985d29 Added try/catch block 2000-02-17 01:33:09 +00:00
rpallath%eng.sun.com
c2f9417464 Changed the null check condition.
For HTML, doctype is alwasy null
2000-02-17 01:13:03 +00:00
leila.garin%eng.sun.com
bece1138b9 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
7a9d0c30b2 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
2dfc9070d5 Added entries for new test cases. 2000-02-16 23:17:53 +00:00
rpallath%eng.sun.com
e3d02556ec New Test Cases for all UNSUPPORTED methods 2000-02-16 22:58:27 +00:00
leila.garin%eng.sun.com
a339609feb 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
1f466a5fc7 addon fix to bug 13338 2000-02-16 00:45:37 +00:00
sdv%sparc.spb.su
31771903ed 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
5247e0092c Replaced old TestLoader with new TestLoader 2000-02-15 18:57:28 +00:00
sdv%sparc.spb.su
b8a239fb24 - 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
b104891051 addon fix to bug 13338. 2000-02-12 01:11:48 +00:00
leila.garin%eng.sun.com
4cbb9c517b Added getElementById method due to change in JavaDOM adhering to W3C specs. 2000-02-12 00:08:52 +00:00
sdv%sparc.spb.su
e720b68a19 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
59d8d90a88 fix for bug 24723 2000-02-10 01:13:57 +00:00
sdv%sparc.spb.su
65c005155c fix for bug 22532 2000-02-10 01:12:21 +00:00
sdv%sparc.spb.su
66987c3939 fix for bug 26895 2000-02-08 03:05:04 +00:00
sdv%sparc.spb.su
af9d3e22a0 fix for bug 26899 2000-02-08 02:40:01 +00:00
nis%sparc.spb.su
ea763c2dbb Added workaround to get JavaDOM to work on Linux. 2000-02-04 17:23:51 +00:00
nis%sparc.spb.su
160898f946 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
4350d3f41a 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
da5218a6fc 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
d5d632bf9d 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
eefbd4a4ea 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
240367c967 Added RunTimeException handling 2000-01-22 00:20:21 +00:00
leila.garin%eng.sun.com
f114c1c32a Removed NodeImpl_equals_3 2000-01-20 22:35:25 +00:00
leila.garin%eng.sun.com
d07e27fe91 changed PASS/FAIL conditions and add print statments 2000-01-20 22:32:20 +00:00
leila.garin%eng.sun.com
e383d1035d Added package entry 2000-01-19 17:42:45 +00:00
leila.garin%eng.sun.com
4eafbfe07a obselete 2000-01-18 22:54:13 +00:00
leila.garin%eng.sun.com
18617777dd Obselete 2000-01-18 22:53:14 +00:00
leila.garin%eng.sun.com
fc001acb7d Obselete file 2000-01-18 22:52:04 +00:00
leila.garin%eng.sun.com
59ee3010b5 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
4c701a38be Added Makefiles and license information
Added hacked DocumentImpl
2000-01-18 22:35:59 +00:00
akhil.arora%sun.com
d5ee52a5e8 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
988ff3795a 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
0a4485be61 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
c5ecba9c55 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
0b50b6daa1 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
akhil.arora%sun.com
95cb81ad53 fix=Denis Sharypov <sdv@sparc.spb.su> r=akhil.arora@sun.com
19304 convert java dom api to an xpcom module
19305 synchronize with interface changes in nsIDocumentLoaderObserver
1999-11-19 02:17:28 +00:00
akhil.arora%sun.com
45c92f0b12 17549 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
Maintain association of java dom listeners with native dom nodes
1999-11-15 21:12:49 +00:00
akhil.arora%sun.com
916dbccfaa 17873 r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Remove duplicate declaration of cvalue
1999-11-11 22:35:14 +00:00
akhil.arora%sun.com
2bb06eb52f 18076 r=Igor Nekrestyanov <nis@sparc.spb.su> fix=akhil.arora@sun.com
Handle Unicode string correctly in javaDOMEventsGlobals.cpp
18072 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
Sync with changes in Mozilla's DOM Event interfaces
1999-11-11 22:28:56 +00:00
dmose%mozilla.org
ec37cbfc25 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
akhil.arora%sun.com
90b312601f 17610 r=akhil.arora@sun.com, fix=Denis Sharypov <sdv@sparc.spb.su>
Cosmetic changes to remove warnings generated by Visual C++ compiler
Do not link with unneccessary library raptorgfx in makefile.win
Use JAVAHOME to point to JDK instead of hardcoding the path
1999-11-02 18:52:14 +00:00
akhil.arora%sun.com
4376a6553f 17610 r=Denis Sharypov <sdv@sparc.spb.su>
Make code const correct to remove warnings from workshop 5.0 compiler
1999-11-02 18:42:53 +00:00
akhil.arora%sun.com
7522cf2f3a r=akhil.arora@sun.com, fix by Denis Sharypov <sdv@sparc.spb.su>
13271: the wrong method was being called in ProcessingInstructionImpl.cpp
13338: handle null input arguments gracefully without crashing
1999-10-30 02:14:28 +00:00
akhil.arora%sun.com
399470f1e9 updated list of things todo, removing stuff that has been done 1999-10-28 20:28:20 +00:00
akhil.arora%sun.com
bba7c4f82a r=akhil.arora@sun.com By Igor Nekrestyanov <nis@sparc.spb.su>
Minor changes to handle unicode strings properly
1999-10-28 20:26:27 +00:00
akhil.arora%sun.com
c478236f6f 15579 r=akhil.arora@sun.com Checkin by Igor Nekrestyanov <nis@sparc.spb.su>
Implementation of DOM Events from the W3c DOM Level 2 current working draft
1999-10-25 22:42:40 +00:00
leila.garin%eng.sun.com
3bb2393d1b Added BWTestThread.java in makefiles, removed print stmt. from TestLoader 1999-10-20 17:21:23 +00:00
leila.garin%eng.sun.com
252a214c3b New perl automated script. 1999-10-19 18:48:53 +00:00
akhil.arora%sun.com
edaf13bc23 16427 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Found some more instances where the DOM spec says that it is not an error
  to return a NULL. Do not throw exceptions in these cases.
1999-10-18 21:53:20 +00:00
akhil.arora%sun.com
bae9a68357 16488 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Copy/Paste error- createEntityReference was calling the wrong coreDOM method
1999-10-18 21:44:57 +00:00
akhil.arora%sun.com
6796abc2ac 13260 r=akhil.arora@sun.com Fixed by Denis Sharypov <sdv@sparc.spb.su>
Added checks for integer arguments being outside of legal range and
  throw exceptions if not.
1999-10-15 21:25:56 +00:00
akhil.arora%sun.com
e6c5833e3f 16426 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
The class java.lang.RuntimeException was not being pinned
1999-10-15 01:47:04 +00:00
akhil.arora%sun.com
fb9ab8d4ae 16427 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Check before dereferencing a NULL pointer.
1999-10-15 01:43:24 +00:00
akhil.arora%sun.com
7a7042221f 16424 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Fix two problems that kept the code from compiling on Win32
1999-10-15 01:38:42 +00:00
akhil.arora%sun.com
97c680d163 Fixes Bug 15837 by instantiating the proper subtype of Node instead of Node.
Fixed by Igor Nekrestyanov <nis@sparc.spb.su>.
Reviewed by Akhil Arora <akhil.arora@sun.com>.
1999-10-08 23:22:52 +00:00
akhil.arora%sun.com
5a869bbb82 just keeping up with changes in nsWebShell.cpp 1999-09-25 03:36:04 +00:00
akhil.arora%sun.com
9f51d70e13 Denis Sharypov <sdv@sparc.spb.su> implemented DOMExceptions 1999-09-25 02:35:56 +00:00
akhil.arora%sun.com
7b7659fb94 fix solaris makefiles 1999-09-25 01:45:46 +00:00
akhil.arora%sun.com
c837bf1e92 Denis Sharypov <sdv@sparc.spb.su> - first check-in for DOMExceptions 1999-09-15 20:43:02 +00:00
akhil.arora%sun.com
b1a8c8c03e use unicode for dom strings 1999-09-14 21:25:47 +00:00
akhil.arora%sun.com
d04756c799 replace nsString.ToNewCString with GetBuffer 1999-09-10 22:57:12 +00:00
akhil.arora%sun.com
9eaa7723e5 updated patch to keep up with changes in webshell/src/nsWebShell.cpp 1999-09-10 20:45:52 +00:00
akhil.arora%sun.com
e6bea16a20 Denis Sharypov <sdv@sparc.spb.su> eliminated redundant finalize methods 1999-09-10 20:11:45 +00:00
leila.garin%eng.sun.com
c0413c933f Updated PATH variable. 1999-09-07 20:42:23 +00:00
akhil.arora%sun.com
e2e95d76f3 Nikolay Igotti <inn@sparc.spb.su> found a bug in the implementation of equals 1999-09-03 22:19:40 +00:00
akhil.arora%sun.com
8b5b6c05e4 enable Notations 1999-09-02 01:41:22 +00:00
akhil.arora%sun.com
4af795bbeb minor bug fix 1999-09-02 01:40:15 +00:00