943 Commits

Author SHA1 Message Date
edburns%acm.org
12c5493511 Compile_String_changes_with_M16
git-svn-id: svn://10.0.0.236/trunk@73716 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:25:23 +00:00
edburns%acm.org
da177fe5fd Whitespace formatting changes.
git-svn-id: svn://10.0.0.236/trunk@73687 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 20:27:41 +00:00
edburns%acm.org
c3f688ff6d Make it so it compiles on UNIX.
git-svn-id: svn://10.0.0.236/trunk@73684 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 19:53:24 +00:00
rpallath%eng.sun.com
c159e73577 Altered test files
git-svn-id: svn://10.0.0.236/trunk@73676 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 17:17:34 +00:00
rpallath%eng.sun.com
04de8efbac Modified Test Cases. All previously unsupported methods have been
supported. Test Cases for the same have been updated.


git-svn-id: svn://10.0.0.236/trunk@73675 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 17:16:15 +00:00
edburns%acm.org
8e2c512db6 Automatically_generate_JAVAH_headers
git-svn-id: svn://10.0.0.236/trunk@73599 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 21:08:30 +00:00
edburns%acm.org
a8d3fcb4e4 Finally_make_use_of_Sherry_Shen_changes
git-svn-id: svn://10.0.0.236/trunk@73598 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 19:03:27 +00:00
edburns%acm.org
8c4107130e Finally_make_use_of_Sherry_Shen_changes
git-svn-id: svn://10.0.0.236/trunk@73597 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 18:50:02 +00:00
edburns%acm.org
3560f2869c feature:
Now you can shift click to select a node in the DOM viewer.


git-svn-id: svn://10.0.0.236/trunk@73595 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 17:53:58 +00:00
sdv%sparc.spb.su
cab8ea17e5 fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@73587 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 10:46:49 +00:00
ashuk%eng.sun.com
ad8ed2e23e bug=44279
a=edburns
r=edburns
author=ashuk.

This code makes Webclient work with Mozilla M16.


git-svn-id: svn://10.0.0.236/trunk@73562 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 00:01:58 +00:00
ashuk%eng.sun.com
25d27834af 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.


git-svn-id: svn://10.0.0.236/trunk@73561 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:59:12 +00:00
rpallath%eng.sun.com
0f0ebad037 Added this test case
git-svn-id: svn://10.0.0.236/trunk@73232 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 18:09:44 +00:00
sdv%sparc.spb.su
c1383224df added note about cvs tag DOM_PR1
git-svn-id: svn://10.0.0.236/trunk@73079 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 17:35:51 +00:00
sdv%sparc.spb.su
4f491022e3 got rid of dependance on java\config\localdefs.mak
git-svn-id: svn://10.0.0.236/trunk@73078 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 17:16:29 +00:00
sdv%sparc.spb.su
75efb3494b fix for bug=41494
removed headers generated by javah
updated makefiles


git-svn-id: svn://10.0.0.236/trunk@73077 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 17:14:11 +00:00
sdv%sparc.spb.su
5b284d85a5 updated patch to webshell, so it works with the
latest version.


git-svn-id: svn://10.0.0.236/trunk@73062 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:14:23 +00:00
sdv%sparc.spb.su
7a90f857bc fix for bug=43293
git-svn-id: svn://10.0.0.236/trunk@73060 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:09:19 +00:00
sdv%sparc.spb.su
d4b0a9436d fix for bug=43473
git-svn-id: svn://10.0.0.236/trunk@73055 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 13:17:29 +00:00
sdv%sparc.spb.su
4e33cfefc1 fix for bug=43290
git-svn-id: svn://10.0.0.236/trunk@72755 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:20:08 +00:00
edburns%acm.org
e21fba78c3 Added DOM 0510.
git-svn-id: svn://10.0.0.236/trunk@72584 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:08:31 +00:00
sdv%sparc.spb.su
b11df9429d added support of namespaces
git-svn-id: svn://10.0.0.236/trunk@72543 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 15:09:47 +00:00
edburns%acm.org
7af4ea35a6 Removed accidentally introduced ^M's
git-svn-id: svn://10.0.0.236/trunk@72428 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:59:04 +00:00
sdv%sparc.spb.su
5fd3575052 addon to fix a bug=42336
git-svn-id: svn://10.0.0.236/trunk@72304 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 11:14:47 +00:00
sdv%sparc.spb.su
b12debbf5d added workaround for bug=30927
git-svn-id: svn://10.0.0.236/trunk@72216 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 12:16:29 +00:00
sdv%sparc.spb.su
010e6705be support of latest w3c dom spec changes
fixed a bug with unicode strings


git-svn-id: svn://10.0.0.236/trunk@72133 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:22:35 +00:00
sdv%sparc.spb.su
0c33004b05 support of latest w3c dom spec changes
git-svn-id: svn://10.0.0.236/trunk@72132 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:21:21 +00:00
edburns%acm.org
e10055646c Created file to allow shift-clicking.
git-svn-id: svn://10.0.0.236/trunk@71906 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 19:03:42 +00:00
edburns%acm.org
97cc25884d Make building the spec compliant classes the default.
git-svn-id: svn://10.0.0.236/trunk@71828 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:03:51 +00:00
edburns%acm.org
6928c33fd1 Added nativeGetDOM.
git-svn-id: svn://10.0.0.236/trunk@71826 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:51:13 +00:00
edburns%acm.org
5adaa3e694 Modifications to allow webclient to run again on solaris.
git-svn-id: svn://10.0.0.236/trunk@71819 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:24:51 +00:00
edburns%acm.org
167c69ab95 Added JAVA_DESTPATH to the CLASSPATH on the compiler command line.
git-svn-id: svn://10.0.0.236/trunk@71810 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:44:19 +00:00
edburns%acm.org
0eacb3af82 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.


git-svn-id: svn://10.0.0.236/trunk@71794 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 18:40:20 +00:00
edburns%acm.org
9fac87eedf 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.


git-svn-id: svn://10.0.0.236/trunk@71756 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:16:06 +00:00
edburns%acm.org
3f164dfaa6 Remove CRLF's accidentally put in by Ashu.
git-svn-id: svn://10.0.0.236/trunk@71747 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:52:50 +00:00
edburns%acm.org
765e1f447a modified getPropertiesObject() to populate the hash table with
keys for properties in nsIDOMMouseEvent.


git-svn-id: svn://10.0.0.236/trunk@71652 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:12:06 +00:00
edburns%acm.org
542ba8a6ef Make it so the status bar URLs correctly display with pre-pended
base URLs.


git-svn-id: svn://10.0.0.236/trunk@71530 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:11:22 +00:00
edburns%acm.org
f508e6bc26 Enable/disable button bar buttons appropriately.
git-svn-id: svn://10.0.0.236/trunk@71529 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 18:23:23 +00:00
sdv%sparc.spb.su
c8e55c815c changes to support unicode strings
git-svn-id: svn://10.0.0.236/trunk@71527 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 18:08:39 +00:00
edburns%acm.org
e7523b5108 Give the BookmarksFrame the ability to tell the browser to
visit the clicked URL.


git-svn-id: svn://10.0.0.236/trunk@71525 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 17:54:58 +00:00
edburns%acm.org
1442832df2 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


git-svn-id: svn://10.0.0.236/trunk@71490 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 22:16:36 +00:00
edburns%acm.org
5915539504 DOM really depends on the w3c dom from 20000307.
Changed README.


git-svn-id: svn://10.0.0.236/trunk@71489 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 21:56:53 +00:00
edburns%acm.org
240b20481f 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


git-svn-id: svn://10.0.0.236/trunk@71488 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 20:25:20 +00:00
idk%eng.sun.com
7b7808f011 added pointer to pluglets page
git-svn-id: svn://10.0.0.236/trunk@71475 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 01:02:44 +00:00
edburns%acm.org
30686697e8 Added processing of "END_DOCUMENT_LOAD" and MouseExited events.
git-svn-id: svn://10.0.0.236/trunk@71306 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:42:35 +00:00
edburns%acm.org
8001fb2a87 Added StatusBar for URL messages.
git-svn-id: svn://10.0.0.236/trunk@71297 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:10:33 +00:00
edburns%acm.org
e547313630 If BAL_INTERFACE is defined in the build environment, produce
webclient_bal.{lib,dll} instead of webclient.{lib,dll}.


git-svn-id: svn://10.0.0.236/trunk@71288 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:41:31 +00:00
idk%eng.sun.com
93fc1af8c1 DOM viewer enhancement
a=sdv@sparc.spb.su
r=idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@71286 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 20:42:29 +00:00
edburns%acm.org
656f03311d Return from doRemoveListeners after issuing removeAllListeners
git-svn-id: svn://10.0.0.236/trunk@71202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:37:06 +00:00
ashuk%eng.sun.com
570ee7f745 Ed's fix for multiple window closing bug
author=edburns
r=ashuk


git-svn-id: svn://10.0.0.236/trunk@71183 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:58:36 +00:00