452 Commits

Author SHA1 Message Date
ashuk%eng.sun.com
1d9d83e75f bug 44774, 44775
author=ashuk
r=ovk@sparc.spb.su

Minor fix for failed QA Test. Patch supplied by
Oleg.

_Ashu


git-svn-id: svn://10.0.0.236/trunk@75403 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 17:02:43 +00:00
ashuk%eng.sun.com
b5f214c647 author = ashuk
r = edburns
a = edburns

Implements RemoveListener


git-svn-id: svn://10.0.0.236/trunk@74818 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 20:07:11 +00:00
edburns%acm.org
7d07b23bb4 bug=41871
a=edburns
r=ashuk

This checkin makes it so CBrowserContainer is properly released.  The
problem was that the CBrowserContainer was still registered to the
docShell as a listener.  The solution was to call
wcIBrowserContianer::RemoveAllListeners() in the WebShellInitContext
deallocator.


git-svn-id: svn://10.0.0.236/trunk@74788 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 01:03:25 +00:00
ashuk%eng.sun.com
711d526c7d author = ashuk
r = edburns
a = edburns

Fix for Bugs: 44774, 44775 and 41780


git-svn-id: svn://10.0.0.236/trunk@74690 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:15:03 +00:00
edburns%acm.org
d9e0e9fe10 bug=41977
Insert parameter checks for all webclient methods.


git-svn-id: svn://10.0.0.236/trunk@74631 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:48:26 +00:00
edburns%acm.org
765a295e3e Remove accidentally inserted ^M chars.
git-svn-id: svn://10.0.0.236/trunk@74629 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:14:57 +00:00
edburns%acm.org
7e42c828a0 Thanks to Andy Tripp <atripp@home.com> the DOMViewer
now scrolls to the shift-clicked node.


git-svn-id: svn://10.0.0.236/trunk@74296 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 18:56:30 +00:00
edburns%acm.org
efad92ec96 Removed runem.solaris because we now have the cross platform runem.pl.
git-svn-id: svn://10.0.0.236/trunk@74052 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:44:35 +00:00
edburns%acm.org
2b9f6c2b26 Make it so params are correctly passed to runem.pl on Solaris.
git-svn-id: svn://10.0.0.236/trunk@74051 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:43:20 +00:00
edburns%acm.org
2d11ae2a16 nsSetupRegistry_link_problems
git-svn-id: svn://10.0.0.236/trunk@73927 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:02:49 +00:00
edburns%acm.org
db74b4ad01 Use the new xp runem.pl script instead of building the smarts into
the batch file.


git-svn-id: svn://10.0.0.236/trunk@73926 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:48:47 +00:00
edburns%acm.org
2d15d02c8f Changes to Makefile.in to allow proper running on solaris.
Added motif/README to explain why some files in this directory
don't get put into this directory's dll.


git-svn-id: svn://10.0.0.236/trunk@73924 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:00:51 +00:00
edburns%acm.org
8ad979c383 Removed "^M" characters.
git-svn-id: svn://10.0.0.236/trunk@73921 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 17:49:19 +00:00
edburns%acm.org
460a0e83d5 runem.pl now successfully runs webclient on solaris. However,
webclient on solaris doesn't run yet.


git-svn-id: svn://10.0.0.236/trunk@73870 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:36:37 +00:00
edburns%acm.org
fcb4a4b0c8 First pass at automating the creation of the runem script. I hope runem.pl
can be used on both win32 and unix.


git-svn-id: svn://10.0.0.236/trunk@73856 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:32:43 +00:00
edburns%acm.org
294650864a Build_with_mozilla_build_system
git-svn-id: svn://10.0.0.236/trunk@73827 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 19:54:43 +00:00
edburns%acm.org
468587270c a=edburns
r=ashuk
bugs: 44327, 44328

NativeEventThread:

Re-instate the policy of creating an EventQueue for each window.
Put in a superfluous printf in processEventLoop that fixes 44327.

nsActions.{cpp,h}:

Added wsDeallocateInitContextEvent, to enable the correct
removal of the eventQueue, 44328

WindowControlImpl

Fire the wsDeallocateInitcontextEvent in nativeDestroyInitContext.


git-svn-id: svn://10.0.0.236/trunk@73826 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:53:07 +00:00
edburns%acm.org
472deb45c4 a=edburns
r=ashuk
bugs: 44327, 44328

WindowControl:

Don't call nativeDestroyInitContext

NativeEventThread

Call windowControl.nativeDestroyInitContext when the run()
loop exits.


git-svn-id: svn://10.0.0.236/trunk@73825 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:49:09 +00:00
edburns%acm.org
d54e7976c1 a=edburns
r=ashuk
bugs: 44327, 44328

Comment out the bookmarks test code.


git-svn-id: svn://10.0.0.236/trunk@73824 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:47:25 +00:00
edburns%acm.org
64743fd04d compile_under_solaris
git-svn-id: svn://10.0.0.236/trunk@73718 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:39:53 +00:00
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
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
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
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
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
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
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
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
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
ashuk%eng.sun.com
b4e5689fee Ed's review for multiple window closing bug
author=ashuk
r=ashuk


git-svn-id: svn://10.0.0.236/trunk@71181 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:56:36 +00:00
ashuk%eng.sun.com
3887ea225b Ed's fix for bug where multiple window closing caused null ptr error
author = edburns
r = ashuk


git-svn-id: svn://10.0.0.236/trunk@71180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:55:49 +00:00
ashuk%eng.sun.com
62677f207f Ed's fix for bug where multiple windows closing caused null ptr dereference.
author = edburns
r = ashuk


git-svn-id: svn://10.0.0.236/trunk@71179 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:54:04 +00:00