Граф коммитов

251 Коммитов

Автор SHA1 Сообщение Дата
edburns%acm.org 39679cd4a8 Patch contributed by Michal Ceresna and verified by John Marmion.
This patch makes the webclient trunk work with the MOZILLA_0_9_9_BRANCH
on linux.
2002-06-01 19:11:44 +00:00
edburns%acm.org 0eca4c3b0f I now have webclient mostly working on win32. The following features have been tested and work well.
File->New Window

File->Close

View->View Page Source as String

Search->Find

Search->Find Next

Edit->Select All

Edit->Copy

History->Back

History->Forward

History-> <Navigation Number>

Bookmarks->Manage Bookmarks

The bookmarks window pops up and you can double click on bookmarks to
cause webclient to go to that page.

Stream->Load Stream From File...

Stream->Load Random HTML InputStream

Mouse over events work

The DOMViewer works

Navigation buttons work.

This leaves Bookmarks->Add Current Page, Bookmarks->Add Current Page in New Folder,
Profile->Create Profile, and Profile->Delete Profile. The first two should be easy,
the second two, I'll probably just take out, since their implementation was based in
BlackConnect, which is currently quite dead.

When I'm happy with the state of Webclient on win32, I'll get it working on linux.
2002-05-08 21:55:14 +00:00
edburns%acm.org 7901d20cd3 Manage Bookmarks now works. You can click on links and the browser will go there. 2002-05-08 05:17:41 +00:00
edburns%acm.org 83e5af980d Make it possible to render the bookmarks tree, but you can't click on a
bookmark to open it in the browser due to a Java side deadlock.
2002-05-04 00:30:01 +00:00
edburns%acm.org 600f6c8bb1 comment 2002-04-18 19:58:58 +00:00
edburns%acm.org 1d0b339e2f Webclient compiles and runs with MOZILLA_0_9_9_BRANCH. 2002-04-16 06:12:28 +00:00
edburns%acm.org ef70bcad66 M Makefile.win
M dom/jni/javaDOMEventsGlobals.cpp
M dom/jni/makefile.win
M dom/jni/nativeDOMProxyListener.cpp
M dom/jni/nativeDOMProxyListener.h
M dom/jni/org_mozilla_dom_events_EventImpl.cpp
M dom/src/makefile.win
M dom/src/nsJavaDOMImpl.cpp
M webclient/Makefile.win
M webclient/classes_spec/Makefile.win
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/CurrentPageActionEvents.cpp
M webclient/src_moz/HistoryActionEvents.cpp
M webclient/src_moz/HistoryImpl.cpp
M webclient/src_moz/InputStreamShim.cpp
M webclient/src_moz/Makefile.win
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/NativeEventThreadActionEvents.cpp
M webclient/src_moz/NavigationActionEvents.cpp
M webclient/src_moz/NavigationImpl.cpp
M webclient/src_moz/PreferencesActionEvents.cpp
M webclient/src_moz/PromptActionEvents.cpp
M webclient/src_moz/RDFActionEvents.cpp
M webclient/src_moz/win32/Makefile.win

Changes to make webclient compile and run with MOZILLA_0_9_9_BRANCH.
2002-04-15 17:38:52 +00:00
edburns%acm.org 4932a8c19e bug: 119680
Changes to make webclient compile and minimally run with
Netscape 6.2.1.
2002-01-14 18:04:48 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
edburns%acm.org 663373d779 99188
r=ashuk
a=edburns

re-implement prompt for cookies.

Modified Files:
 	CBrowserContainer.cpp PromptActionEvents.cpp ns_util.cpp
 	ns_util.h
2001-09-12 23:45:37 +00:00
edburns%acm.org 8a1611e65c 99099
r=ashuk
a=edburns
This bug fix uses os.name as the way to tell platform.
2001-09-10 22:02:05 +00:00
edburns%acm.org cdc8263791 Defining WEBCLIENT_ICE=1 will cause the ICE implemenation to be built in addition to the mozila one. 2001-07-28 01:14:12 +00:00
ashuk%eng.sun.com 66014df74d Bug=91673
author=ashuk
ra=edburns

Files modifed
BrowserControl.java BrowserControlFactory.java BrowserControlImpl.java
Files added
BrowserType.java
everything in wrapper_nonnative
everything in test_nonnative

This patch allows Webclient to wrap non-native pure Java browsers like
the ICE browser.

_Ashu
2001-07-27 21:02:15 +00:00
edburns%acm.org 73c0d4e146 ignore 2001-07-27 20:05:04 +00:00
edburns%acm.org db45a78c91 Changes to make webclient compile with 0.9.2 2001-07-27 19:56:22 +00:00
edburns%acm.org 63b6674786 Make webclient compile with 0.9.2. 2001-07-27 19:24:40 +00:00
edburns%acm.org 61695e5552 Took out debug println in POST. 2001-07-27 17:24:25 +00:00
ashuk%eng.sun.com 6aba9141e3 author=ashuk
Modifying Makefile.in and Makefile.win to create the
classes_spec/org/mozilla/webclient/stubs directory if
it does not exist. Initially this was an empty dir
checked into cvs, but it seems to be removed everytime
causing build failures. This checkin should fix the
problem.

Diffs are below:
----------------------DIFF-----------------

Index: Makefile.in
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/import/Makefile.in,v
retrieving revision 1.3
diff -u -r1.3 Makefile.in
--- Makefile.in 2001/06/19 00:08:10     1.3
+++ Makefile.in 2001/07/25 00:49:46
@@ -40,7 +40,8 @@
        cp $(DEPTH)/dist/idl/$(@F) .

 mvjava2stubs: chPackageinStubs
-       mv *.java ../classes_spec/org/mozilla/webclient/stubs
+       if test ! -d ../classes_spec/org/mozilla/webclient/stubs ; then mkdir ../classes_spec/org/mozilla/webclient/stubs ; else true ; fi ;
+       mv *.java ../classes_spec/org/mozilla/webclient/stubs/.

 chPackageinStubs: idl2java
        perl chPackage.pl unix nsIProfile.java "org.mozilla.webclient.stubs"

Index: Makefile.win
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/import/Makefile.win,v
retrieving revision 1.2
diff -u -r1.2 Makefile.win
--- Makefile.win        2001/05/24 22:38:40     1.2
+++ Makefile.win        2001/07/25 00:49:46
@@ -40,6 +40,7 @@
        copy $(DEPTH)\dist\idl\$(@F) .

 mvjava2stubs:
+       -mkdir ..\classes_spec\org\mozilla\webclient\stubs
        copy *.java ..\classes_spec\org\mozilla\webclient\stubs
2001-07-25 00:52:24 +00:00
edburns%acm.org 72cc61dc5c bug=64332
r=edburns
author=rpotts

This fix seems to prevent the deadlock.
2001-07-19 22:48:08 +00:00
edburns%acm.org a0065d3e1a Print out the time before initiating each load. 2001-07-19 19:02:16 +00:00
edburns%acm.org 379318d631 Removed inadvertantly remaining debugging statement. 2001-07-18 21:07:14 +00:00
edburns%acm.org b854b38841 Update 2001-07-18 20:56:48 +00:00
edburns%acm.org a078b84fba Added accessor for browserControl. Needed in WCRandom testcase. 2001-07-17 20:46:32 +00:00
edburns%acm.org b2b531d4e3 bug=85523
ra=edburns
authors=edburns,
 *               Brian Satterfield <bsatterf@atl.lmco.com>
 *               Anthony Sizer <sizera@yahoo.com>

This implements Post.  Please see EMWindow for how to use.
2001-07-12 23:18:52 +00:00
ashuk%eng.sun.com e2c879944e author=ashuk
fixes problems with parallel builds on Solaris. Changed target
dependencies in webclient/import/Makefile.in
2001-06-19 00:08:10 +00:00
ashuk%eng.sun.com 602e230f60 author=ashuk
Files modified java/webclient/import/Makefile.in

This fixes the problem of dependencies in parallel builds. Now
Blackwood can be build using parallel make on Solaris.

Added dependencies between .java and .idl files.
2001-06-15 22:36:29 +00:00
ashuk%eng.sun.com f95ccf916c Bug=85486
author=ashuk

Files modified:
mozilla/java/webclient/src_moz/Makefile.in

This fix allows building the JAWT native stuff
in Webclient on Linux.
2001-06-12 20:19:56 +00:00
ashuk%eng.sun.com 83ce27340c author=ashuk
Bug=73085

Small fix to Makefile.in. Adding the links to the libjawt.so for
the Java Native AWT Interface. This had mistakenly been backed
out in the previous fix.
2001-06-09 00:34:09 +00:00
edburns%acm.org ea2abf45bf For some reason, this file did not contain the necessary information
to link with jawt.
2001-06-08 23:13:29 +00:00
ashuk%eng.sun.com bcd2e19d3e author=ashuk
files modified :
motif/MotifBrowserControlCanvas.cpp

changed include "ns_util.h" to
include "../ns_util.h"

This was a simple path resolution problem fix in the
include statement.
2001-06-05 20:43:57 +00:00
ashuk%eng.sun.com 739c716bc2 Bug=70656
author=ashuk
ra=edburns

Files modified:
src_moz/NativeEventThread.cpp

The fix allows webclient to startup correctly with more than
1 profile present.
2001-06-04 18:50:05 +00:00
ashuk%eng.sun.com ece67777f3 author=ashuk
Bug=81648

Files modifed:
mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/motif/MotifBrowserControlCanvas.java

Small change - comment out all references to DrawingSurfaceInfo with
explanation. This is no longer needed now that we use JAWT Native
Interface
2001-06-01 17:11:30 +00:00
ashuk%eng.sun.com 8b47db064c Bug=73085
author=ashuk
r=edburns

Files modified
mozilla/java/build/install_webclient_unix.js
mozilla/java/build/install_webclient_win32.js
mozilla/java/build/Makefile.in
mozilla/java/build/Makefile.win
mozilla/java/Makefile.win
mozilla/java/webclient/src_moz/Makefile.in
mozilla/java/webclient/src_moz/Makefile.win

Files added
mozilla/java/build/README.BLACKCONNECT
mozilla/java/build/README.BLACKWOOD
mozilla/java/build/README.DOM
mozilla/java/build/README.PLUGLET
mozilla/java/build/README.WEBCLIENT

this fix allows XPIs to be generated for all the Blackwood
components individually or together on Win32, Solaris and
linux.
2001-05-31 18:56:27 +00:00
ashuk%eng.sun.com 0e30fa38c3 Bug=81699
author=ashuk
r=edburns

Files modified

M util/classes/org/mozilla/util/Assert.java
M webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/BrowserControlFactory.java
M webclient/classes_spec/org/mozilla/webclient/BrowserControlImpl.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/test/RandomHTMLInputStream.java
M webclient/classes_spec/org/mozilla/webclient/test/UniversalDialog.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/HistoryImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NavigationImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/PreferencesImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/RDFEnumeration.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/WindowControlImpl.java


This fix changes the name of the Assert.assert methd to Assert.assert_it
in all the Blackwood modules which use this Assertion facility from
java/util. This is necessary for getting Blackwood to work with JDK1.4
since assert is a keyword in JDK1.4 onwards.
2001-05-29 18:36:13 +00:00
edburns%acm.org 700ca014e0 Added necessary -L for getting it to compile on Linux 2001-05-26 08:12:27 +00:00
ashuk%eng.sun.com c0a1e344f2 Bug=81648
author=ashuk
r=edburns

Files modified:

M mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/win32/Win32BrowserControlCanvas.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/motif/MotifBrowserControlCanvas.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java

M mozilla/java/webclient/src_moz/motif/MotifBrowserControlCanvas.cpp
M mozilla/java/webclient/src_moz/motif/MotifBrowserControlCanvas.h
M mozilla/java/webclient/src_moz/motif/MotifBrowserControlCanvasStub.cpp
M mozilla/java/webclient/src_moz/Makefile.in
M mozilla/java/webclient/src_moz/Makefile.win

A mozilla/java/webclient/src_moz/win32/Makefile.win
A mozilla/java/webclient/src_moz/win32/Win32BrowserControlCanvas.cpp
A mozilla/java/webclient/src_moz/win32/Win32BrowserControlCanvas.h


This fix removes the deprecated methods used in Webclient and
now uses the JAWT Native Interface for allowing the Java AWT
canvas access to the native peer window.
2001-05-25 23:09:54 +00:00
edburns%acm.org 29b8dbe5a8 Necessary changes to get webclient running on Win32 with new nsIProfile stuff. 2001-05-24 22:38:40 +00:00
ashuk%eng.sun.com 5fe3250b5a Bug=82189
author=ashuk
r=edburns

Files modified
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/stubs
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/ProfileManager.java
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java
A mozilla/java/webclient/config/rules.mk
A mozilla/java/webclient/config/rules.mak
A mozilla/java/webclient/import
A mozilla/java/webclient/import/Makefile.in
A mozilla/java/webclient/import/Makefile.win
A mozilla/java/webclient/import/chPackage.pl
M mozilla/java/webclient/Makefile.in
M mozilla/java/webclient/Makefile.win
M mozilla/java/webclient/classes_spec/Makefile.in
M mozilla/java/webclient/classes_spec/Makefile.win
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControl.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControlImpl.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/WrapperFactoryImpl.java
M mozilla/java/webclient/src_share/runem.pl

This fix adds the new ProfileManager interface in the Webclient API.
This is also the first integration of BlackConnect in Webclient.
Webclient uses this ProfileManager interface to provide an interface
to the nsIProfile api in Mozilla for profile management. It uses
BlackConnect for this.
2001-05-24 21:13:50 +00:00
edburns%acm.org a576c8c184 Stress test, for 64332. 2001-05-23 22:27:01 +00:00
edburns%acm.org 3e41928054 In OnProgressChange, it's possible for the max to be 0, thus we need
to protect from Divide By Zero error.
2001-05-21 21:50:09 +00:00
ashuk%eng.sun.com 21302a7735 Bug=80792
author=ashuk
Files modified
java/webclient/src_moz/CBrowserContainer.cpp
java/dom/jni/org_mozilla_dom_events_MousEventImpl.cpp

This patch allows Webclient and JavaDOM to build with the
mozilla trunk as of 05/14/01
2001-05-15 00:03:22 +00:00
edburns%acm.org 5299aae766 UnimplementedException 2001-05-11 22:38:16 +00:00
ashuk%eng.sun.com ea2739771e Bug=78610
author=ashuk
ra=edburns

File modifed: java/webclient/src_moz/CBrowserContainer.cpp

This patch enables focus in a form field inside Webclient.

Index: CBrowserContainer.cpp
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/src_moz/CBrowserContainer.cpp,v
retrieving revision 1.19
diff -u -r1.19 CBrowserContainer.cpp
--- CBrowserContainer.cpp       2001/05/10 20:47:06     1.19
+++ CBrowserContainer.cpp       2001/05/11 19:04:09
@@ -28,6 +28,7 @@
 #include "CBrowserContainer.h"
 #include "nsCWebBrowser.h"
 #include "nsIWebBrowser.h"
+#include "nsIWebBrowserFocus.h"
 #include "nsIRequest.h"
 #include "nsIDOMNamedNodeMap.h"
 #include "nsIDOMWindow.h"
@@ -619,6 +620,10 @@
 nsresult JNICALL
 CBrowserContainer::doEndDocumentLoad(nsIWebProgress *aWebProgress)
 {
+
+    nsCOMPtr<nsIWebBrowserFocus> focus(do_GetInterface(mInitContext->webBrowser));
+    focus->Activate();
+
     nsCOMPtr<nsIDOMWindow> domWin;

     if (nsnull != aWebProgress) {
2001-05-11 19:06:54 +00:00
edburns%acm.org 7cf99f24c6 For some reason, webclient wouldn't compile today unless I changed
CBrowserContainer.cpp CBrowserContainer.h

To use NS_IMETHODIMP, NS_IMETHOD instead of virtual nsresult.
2001-05-10 20:47:07 +00:00
ashuk%eng.sun.com 1a062aa106 Bug=61977
author=ashuk
Bug fixes problem where String in getPageSource and getPagesourceBytes
was not being initialized.
----------------------------------------

Index: CurrentPageImpl.java
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java,v
retrieving revision 1.16
diff -r1.16 CurrentPageImpl.java
155c155
<     String HTMLContent = null;
---
>     String HTMLContent = new String();
188c188
<     String HTMLContent = null;
---
>     String HTMLContent = new String();

------------------------------------
2001-05-10 16:57:00 +00:00
edburns%acm.org 742b92e202 This checkin uses the information in this nntp post:
From: valeski@netscape.com (Judson Valeski)
Newsgroups: netscape.public.mozilla.embedding
Subject: Re: nsIDocumentLoaderObserver migration guide?
Date: 8 May 2001 14:41:33 GMT
Organization: Another Netscape Collabra Server User
Lines: 44
Message-ID: <3AF8059A.D83EAAF@netscape.com>

To enable fine grained status tracking in webclient.

The following files are in this checkin.

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h
2001-05-08 21:57:57 +00:00
edburns%acm.org f77c8b0f45 Previous version did not compile: errors in getSource(). 2001-05-08 21:07:16 +00:00
edburns%acm.org b6f0f4bea9 Removed "^M" chars.
Sorry
2001-05-08 20:54:14 +00:00
edburns%acm.org f4bc0e8678 bug 79278
This checkin migrates javaDOM to use the new nsIWebProgressListener
interface, removing its dependency on the now non-existant
nsIDocumentLoaderObserver.

It has only been tested inside webclient.  QA needs to do the standalone
javaDOM tests.

The following files are in this bugfix:

dom/jni/org_mozilla_dom_DOMAccessor.cpp
dom/src/nsIJavaDOM.h
dom/src/nsJavaDOMImpl.cpp
dom/src/nsJavaDOMImpl.h
webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
2001-05-08 20:34:31 +00:00
ashuk%eng.sun.com d39dc7e321 Bug=61977
author=ashuk
Fix changes CurrentPageImpl.java and fixes leading "null" from
getPageSource and getPageSourceBytes
2001-05-08 16:58:36 +00:00