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().
git-svn-id: svn://10.0.0.236/trunk@79657 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@71488 18797224-902f-48f8-a5cc-f745e15eee43
- 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
git-svn-id: svn://10.0.0.236/trunk@64644 18797224-902f-48f8-a5cc-f745e15eee43
now check for null pointers in Java DOM instead of
passing null references to coreDOM
git-svn-id: svn://10.0.0.236/trunk@60464 18797224-902f-48f8-a5cc-f745e15eee43
In particular, KeyEvent support is removed because
DOM Level 2 Event specification does not provide a key event set anymore.
git-svn-id: svn://10.0.0.236/trunk@59066 18797224-902f-48f8-a5cc-f745e15eee43
Defer deleting the current element until the next iteration so that we can
dereference the element first to get to the next element.
git-svn-id: svn://10.0.0.236/trunk@54173 18797224-902f-48f8-a5cc-f745e15eee43
19304 convert java dom api to an xpcom module
19305 synchronize with interface changes in nsIDocumentLoaderObserver
git-svn-id: svn://10.0.0.236/trunk@53952 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@52553 18797224-902f-48f8-a5cc-f745e15eee43
13271: the wrong method was being called in ProcessingInstructionImpl.cpp
13338: handle null input arguments gracefully without crashing
git-svn-id: svn://10.0.0.236/trunk@52307 18797224-902f-48f8-a5cc-f745e15eee43
Implementation of DOM Events from the W3c DOM Level 2 current working draft
git-svn-id: svn://10.0.0.236/trunk@51761 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@51035 18797224-902f-48f8-a5cc-f745e15eee43
Added checks for integer arguments being outside of legal range and
throw exceptions if not.
git-svn-id: svn://10.0.0.236/trunk@50861 18797224-902f-48f8-a5cc-f745e15eee43
Fixed by Igor Nekrestyanov <nis@sparc.spb.su>.
Reviewed by Akhil Arora <akhil.arora@sun.com>.
git-svn-id: svn://10.0.0.236/trunk@50270 18797224-902f-48f8-a5cc-f745e15eee43