Commit Graph

346 Commits

Author SHA1 Message Date
sdv%sparc.spb.su
0a3563c0b4 fix for bug=44196 2000-07-06 08:01:07 +00:00
edburns%acm.org
70f097b8ac compile_under_solaris 2000-07-06 00:39:53 +00:00
edburns%acm.org
c2d5bf500f Compile_String_changes_with_M16 2000-07-06 00:25:23 +00:00
edburns%acm.org
b1ce20f6b7 Whitespace formatting changes. 2000-07-05 20:27:41 +00:00
edburns%acm.org
5cfdba3262 Make it so it compiles on UNIX. 2000-07-05 19:53:24 +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
edburns%acm.org
e9e8cd3ece Automatically_generate_JAVAH_headers 2000-06-30 21:08:30 +00:00
edburns%acm.org
162827ca7a Finally_make_use_of_Sherry_Shen_changes 2000-06-30 19:03:27 +00:00
edburns%acm.org
309d1829ab Finally_make_use_of_Sherry_Shen_changes 2000-06-30 18:50:02 +00:00
edburns%acm.org
cdcd2d8a2e feature:
Now you can shift click to select a node in the DOM viewer.
2000-06-30 17:53:58 +00:00
sdv%sparc.spb.su
b71b109e98 fixed a memory leak 2000-06-30 10:46:49 +00:00
ashuk%eng.sun.com
86f35f950a bug=44279
a=edburns
r=edburns
author=ashuk.

This code makes Webclient work with Mozilla M16.
2000-06-30 00:01:58 +00:00
ashuk%eng.sun.com
241f6b261c The current webclient only works with M13, and the
old webclient, in classes and src, works with pre M13.

This change removes the old webclient.
2000-06-29 23:59:12 +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
edburns%acm.org
06ae09f30a Removed accidentally introduced ^M's 2000-06-16 21:59:04 +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
184f242f13 Make building the spec compliant classes the default. 2000-06-09 00:03:51 +00:00
edburns%acm.org
060c98e3c5 Added nativeGetDOM. 2000-06-08 23:51:13 +00:00
edburns%acm.org
4e0a7923b1 Modifications to allow webclient to run again on solaris. 2000-06-08 23:24:51 +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
edburns%acm.org
8b20efd992 Checked in nascent "select the current node in the tree view when the user shift-clicks on a node" feature,
but it's blocked by the incompleteness of the DOM implementation in M13.
2000-06-08 18:40:20 +00:00
edburns%acm.org
58ef6160ba bug 40330
a=edburns

This checkin mainly does two things:

1. Correctly populates the java.awt.event.MouseEvent subclass with the
  correct modifiers, x, y, and clickCount for the mozilla mouse event.

2. Adds a performance optimization: previously, every mouse event was
  causing a new instance of java.util.Properties to be created.  Now,
  only one Properties instance is created per-page, and it is cleared on
  each mouse event.

Also, I made the DOMMouseListenerImpl constructor initialize the
refCount to 0.  This allows the object to be correctly deleted.

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java
M src_moz/DOMMouseListenerImpl.cpp
M src_moz/DOMMouseListenerImpl.h
M src_moz/WindowControlImpl.cpp
M src_moz/jni_util.cpp
M src_moz/jni_util.h
M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h

M classes_spec/org/mozilla/webclient/test/EMWindow.java

* Added test code for MouseListener properties: buttons, modifiers, etc.

M classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java

* Added support for mouse modifiers.  Pull values out of the hash table,
  put them in the MouseEvent constructor.

M src_moz/DOMMouseListenerImpl.cpp

* Modified constructors so they initialize all ivars.

* changed usage model of properties object to share the lifetime of the
  DOMMouseListenerImpl instance.  Needed to make use of the new function
  util_ClearPropertiesObject() to do this.  Now we have only one call to
  util_DestroyPropertiesObject(), in the DOMMouseListenerImpl
  destructor.

M src_moz/DOMMouseListenerImpl.h

>     virtual ~DOMMouseListenerImpl();
>
98a101
> protected:
100a104,105
>
> void JNICALL addMouseEventDataToProperties(nsIDOMEvent *aMouseEvent);

M src_moz/WindowControlImpl.cpp

* Initialize new WebShellInitConext member propertiesClass to nsnull

M src_moz/jni_util.cpp

* Added util_ClearPropertiesObject() an optimization.

* Store the jclass for java/util/Properties in an element in
  WebShellInitContext.  This prevents us from having to do FindClass
  each time a mouse event occurs.

* Added a parameter to util_StoreIntoPropertiesObject.

M src_moz/jni_util.h

* Added propertiesClass to WebShellInitContext

* Added new method ClearPropertiesObject

* Added new last argument to DestroyPropertiesObject

M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h

* Added function pointer for util_ClearPropertiesObject.
2000-06-08 02:16:06 +00:00
edburns%acm.org
c96ff252c4 Remove CRLF's accidentally put in by Ashu. 2000-06-08 00:52:50 +00:00
edburns%acm.org
c44911e670 modified getPropertiesObject() to populate the hash table with
keys for properties in nsIDOMMouseEvent.
2000-06-07 00:12:06 +00:00
edburns%acm.org
b78d123f0c Make it so the status bar URLs correctly display with pre-pended
base URLs.
2000-06-05 19:11:22 +00:00
edburns%acm.org
2d01a17ea1 Enable/disable button bar buttons appropriately. 2000-06-05 18:23:23 +00:00
sdv%sparc.spb.su
bb16d06254 changes to support unicode strings 2000-06-05 18:08:39 +00:00
edburns%acm.org
cf5b2e774d Give the BookmarksFrame the ability to tell the browser to
visit the clicked URL.
2000-06-05 17:54:58 +00:00
edburns%acm.org
baf982031b bug 40330
a=edburns
r=drapeau

This checkin creates a dependency on the mozilla java dom module.

Please see mozilla\java\dom\README to build the java dom.
Note that you can just run make in mozilla\java and everything
should be built correctly.

A webclient/classes_spec/org/mozilla/webclient/test/DOMAccessPanel.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMCellRenderer.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMTreeDumper.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMTreeNotifier.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java

M Makefile.win
M README
M webclient/classes_spec/Makefile.unix
M webclient/classes_spec/Makefile.win
M webclient/classes_spec/org/mozilla/webclient/CurrentPage.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
M webclient/src_moz/CurrentPageImpl.cpp
M webclient/src_moz/DocumentLoaderObserverImpl.cpp
M webclient/src_moz/Makefile.win
M webclient/src_moz/WindowControlImpl.cpp
M webclient/src_moz/jni_util.h
2000-06-04 22:16:36 +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
idk%eng.sun.com
abdb33537b added pointer to pluglets page 2000-06-04 01:02:44 +00:00
edburns%acm.org
8605f7ca5a Added processing of "END_DOCUMENT_LOAD" and MouseExited events. 2000-06-01 23:42:35 +00:00
edburns%acm.org
2da1ed8ea1 Added StatusBar for URL messages. 2000-06-01 23:10:33 +00:00
edburns%acm.org
d1d0791b35 If BAL_INTERFACE is defined in the build environment, produce
webclient_bal.{lib,dll} instead of webclient.{lib,dll}.
2000-06-01 22:41:31 +00:00
idk%eng.sun.com
f89e0cd0b3 DOM viewer enhancement
a=sdv@sparc.spb.su
r=idk@eng.sun.com
2000-06-01 20:42:29 +00:00