144 Commits

Author SHA1 Message Date
edburns%acm.org
a1a59f9eb7 r=edburns
Author: Ron Capelli

These changes make webclient run with Mozilla 1.4.

Summary of changes:

  src_moz/rdf_util.cpp

    reason:  API change to RDFServiceImpl::GetResource()

  src_moz/RDFActionEvents.cpp

    reason:  API change to RDFServiceImpl::GetUnicodeResource()

  src_moz/wsRDFObserver.cpp

    reason:  member name changes to inherited nsIRDFObserver

  src_moz/CBrowserContainer.cpp

    reasons:
      - replaced obsolete/deleted nsFileSpec.h with nsCRT.h
        (to access only required/referenced function)
      - added new SetBlurSuppression and GetBlurSuppression methods
        required by change to inherited nsIBaseWindow (implementation
        copied from mozilla/xpfe/appshell/src/nsXULWindow.cpp).

  src_moz/CBrowserContainer.h

    reason:  added mBlurSuppressionLevel member variable for
             SetBlurSuppression and GetBlurSuppression methods.


The changes were relatively straightforward to identify from errors
attempting to build with Mozilla 1.4.  Testing so far indicates no
new problems have been introduced...


git-svn-id: svn://10.0.0.236/trunk@144789 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 04:23:49 +00:00
caillon%returnzero.com
1c1e0c7bb4 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag


git-svn-id: svn://10.0.0.236/trunk@144011 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:15:41 +00:00
edburns%acm.org
a91359c022 Author: Kyle Yuan
r=edburns

bugfix from Kyle.  Prep for future work.


git-svn-id: svn://10.0.0.236/trunk@142439 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 15:54:45 +00:00
edburns%acm.org
3d7dee72f2 r=edburns
Author: Ron Capelli <capelli@acm.org>

The following files are updated to allow use of IBM Java 1.3.x
JVMs on Linux.  Instead of statically linking libjawt.lib, the
code now dynamically links libjawt.so and then libawt.so only
if needed (similar to previous change for win32).  It should
work on Solaris, but we couldn't test that here.

    mozilla/java/webclient/src_moz/Makefile.in
    mozilla/java/webclient/src_moz/gtk/GtkBrowserControlCanvas.cpp

The following files are changed to support the ant 'clean'
target for src_ie.

    mozilla/java/webclient/build.xml
    mozilla/java/webclient/src_ie/Makefile.in

The following files are changed to disable the CurrentPage(2)
interface for IE, since it will be a while before that can be
made to work.  With these changes, IE embeds smoothly with
Navigation and History interfaces working nicely to some degree.

    mozilla/java/webclient/src_ie/WrapperFactoryImpl.cpp

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

The following file is changed so that it does not depend on
Mozilla, allowing it to be shared cleanly for IE.

    mozilla/java/webclient/src_moz/win32/Win32BrowserControlCanvas.cpp

The following file is changed to correct the list of makefiles
that need to be configured for Webclient.

    mozilla/java/makefiles

Finally, please delete the following files from CVS.

    mozilla/java/webclient/src_ie/build.xml
    mozilla/java/webclient/src_ie/Makefile.win


git-svn-id: svn://10.0.0.236/trunk@142382 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 20:22:13 +00:00
edburns%acm.org
7a173a6e45 M webclient/build.xml
- src_ie has no clobber, clobber_all, or clean target.  Comment this out
  for now.

M webclient/classes_spec/org/mozilla/webclient/Prompt.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/test/UniversalDialog.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/CBrowserContainer.h
M webclient/src_moz/Makefile.in
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/NativeEventThreadActionEvents.cpp
M webclient/src_moz/PromptActionEvents.cpp
M webclient/src_moz/PromptActionEvents.h
M webclient/src_share/jni_util.cpp
M webclient/src_share/jni_util.h

- Roll back Kyle Yuan's 20030509 change for nsIPrompt, since it seems to
  break events between the browser and the app.

R webclient/src_moz/PromptService.h
R webclient/classes_spec/org/mozilla/webclient/test/UniversalDialogData.java
R webclient/src_moz/AppComponents.cpp
R webclient/src_moz/AppComponents.h
R webclient/src_moz/PromptService.cpp

- These are new files that Kyle added.


git-svn-id: svn://10.0.0.236/trunk@142372 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 15:22:04 +00:00
kyle.yuan%sun.com
83dadb0ac1 missing } at line 698 (the end of Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeClearAllSelections)
git-svn-id: svn://10.0.0.236/trunk@142263 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 10:56:07 +00:00
kyle.yuan%sun.com
9308c0a46d Bug 201275 [Webclient] move Prompt code from CBrowserContainer to PromptService
r=edburns


git-svn-id: svn://10.0.0.236/trunk@142148 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-06 01:50:06 +00:00
kyle.yuan%sun.com
c9e6faa6c0 Bug 201308 [Webclient] support nsIWindowCreator::CreateChromeWindow
r=edburns


git-svn-id: svn://10.0.0.236/trunk@141733 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 05:55:22 +00:00
kyle.yuan%sun.com
27fd66e0c1 Bug 201273 [Webclient] add Print/Print Preview function
r=edburns


git-svn-id: svn://10.0.0.236/trunk@141350 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 01:07:54 +00:00
edburns%acm.org
01f52fbd60 Author=Ronald Capelli <capelli@us.ibm.com>
r=edburns

This checkin makes Webclient run with IE!

Thanks Ron!

Ed


git-svn-id: svn://10.0.0.236/trunk@141070 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 21:40:35 +00:00
edburns%acm.org
ed7795ffac Author= Daniel Park
r=edburns

SECTION: classes changes

M build.xml

- Removed spurious linebreak on Kyle's create.webclient.scripts.

M classes_spec/org/mozilla/webclient/BrowserControlCanvas.java

- Bugfix from Daniel Park

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

- Leverage new CurrentPage2 interface to display the Selection object.

M classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
M classes_spec/org/mozilla/webclient/wrapper_nonnative/CurrentPageImpl.java

- Implement new methods from CurrentPage2.

M src_moz/CurrentPageActionEvents.cpp
M src_moz/CurrentPageActionEvents.h
M src_moz/CurrentPageImpl.cpp
M src_moz/gtk/GtkBrowserControlCanvasStub.cpp
M src_moz/gtk/StubFunctions.h

Native details for CurrentPage2.

SECTION: New files

A classes_spec/org/mozilla/webclient/Selection.java
A classes_spec/org/mozilla/webclient/CurrentPage2.java
A classes_spec/org/mozilla/webclient/wrapper_native/SelectionImpl.java


git-svn-id: svn://10.0.0.236/trunk@140912 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 17:42:41 +00:00
kyle.yuan%sun.com
bf1e485891 Bug 156712 Webclient can't do File->New Window on Unix
r=edburns


git-svn-id: svn://10.0.0.236/trunk@140891 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 01:36:03 +00:00
kyle.yuan%sun.com
01337f4f00 Clean the old Makefile.win
git-svn-id: svn://10.0.0.236/trunk@140682 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 06:34:30 +00:00
edburns%acm.org
1ffd35f4dc Ronald Capelli contributed this fix to make it work with Mozilla
1.3b.


git-svn-id: svn://10.0.0.236/trunk@139282 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 18:13:22 +00:00
edburns%acm.org
54f7dceb01 Make Webclient compile and link on win32
git-svn-id: svn://10.0.0.236/trunk@136242 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 16:36:05 +00:00
edburns%acm.org
76b8fbb022 Webclient compiles with 1.3A but does not yet link.
git-svn-id: svn://10.0.0.236/trunk@136229 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 07:41:00 +00:00
edburns%acm.org
733478e13d Set the path.
git-svn-id: svn://10.0.0.236/trunk@135761 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 01:42:40 +00:00
edburns%acm.org
34f27d9ded Uncomment the find component changes.
git-svn-id: svn://10.0.0.236/trunk@135528 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 22:01:44 +00:00
edburns%acm.org
c5cf4d6a65 Make it work on win32.
git-svn-id: svn://10.0.0.236/trunk@133504 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 21:10:09 +00:00
edburns%acm.org
1a84f84b00 Make it build on win32.
git-svn-id: svn://10.0.0.236/trunk@133133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 07:08:30 +00:00
edburns%acm.org
92c1171044 build_with_ant
git-svn-id: svn://10.0.0.236/trunk@131027 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 22:23:47 +00:00
edburns%acm.org
ca91238f57 Make Webclient compile and run on GNU/Linux with Mozilla 1.0.1.
Continue migration to ant.

Start out some JUnit tests.


git-svn-id: svn://10.0.0.236/trunk@130858 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:39:31 +00:00
edburns%acm.org
72d64b501f Checkpoint checkin for converting webclient to building with ant.
Currently builds java classes, javah headers, and compiles src_share, src_moz,
and src_moz/gtk.


git-svn-id: svn://10.0.0.236/trunk@129922 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 18:25:29 +00:00
edburns%acm.org
dca1ac3c28 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.


git-svn-id: svn://10.0.0.236/trunk@122500 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 19:11:44 +00:00
edburns%acm.org
08b3c4ef3a 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.


git-svn-id: svn://10.0.0.236/trunk@121103 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:55:14 +00:00
edburns%acm.org
62ce0ecc33 Manage Bookmarks now works. You can click on links and the browser will go there.
git-svn-id: svn://10.0.0.236/trunk@121042 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 05:17:41 +00:00
edburns%acm.org
603de46e8a 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.


git-svn-id: svn://10.0.0.236/trunk@120762 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:30:01 +00:00
edburns%acm.org
abbf4da054 comment
git-svn-id: svn://10.0.0.236/trunk@119292 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:58:58 +00:00
edburns%acm.org
739f828b40 Webclient compiles and runs with MOZILLA_0_9_9_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@119082 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 06:12:28 +00:00
edburns%acm.org
579dbe6ec7 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.


git-svn-id: svn://10.0.0.236/trunk@118989 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 17:38:52 +00:00
edburns%acm.org
33493ef450 bug: 119680
Changes to make webclient compile and minimally run with
Netscape 6.2.1.


git-svn-id: svn://10.0.0.236/trunk@112073 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 18:04:48 +00:00
edburns%acm.org
05e81fc36e 99188
r=ashuk
a=edburns

re-implement prompt for cookies.

Modified Files:
 	CBrowserContainer.cpp PromptActionEvents.cpp ns_util.cpp
 	ns_util.h


git-svn-id: svn://10.0.0.236/trunk@102852 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:45:37 +00:00
edburns%acm.org
39bde0f689 Changes to make webclient compile with 0.9.2
git-svn-id: svn://10.0.0.236/trunk@99972 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 19:56:22 +00:00
edburns%acm.org
f200bcbd85 Make webclient compile with 0.9.2.
git-svn-id: svn://10.0.0.236/trunk@99970 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 19:24:40 +00:00
edburns%acm.org
10ac9247f6 bug=64332
r=edburns
author=rpotts

This fix seems to prevent the deadlock.


git-svn-id: svn://10.0.0.236/trunk@99604 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 22:48:08 +00:00
edburns%acm.org
7a9fd4f3cc Removed inadvertantly remaining debugging statement.
git-svn-id: svn://10.0.0.236/trunk@99515 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 21:07:14 +00:00
edburns%acm.org
63e952a9ad Update
git-svn-id: svn://10.0.0.236/trunk@99513 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 20:56:48 +00:00
edburns%acm.org
cb90605310 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.


git-svn-id: svn://10.0.0.236/trunk@99145 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 23:18:52 +00:00
ashuk%eng.sun.com
d4ef07dd64 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.


git-svn-id: svn://10.0.0.236/trunk@96951 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 20:19:56 +00:00
ashuk%eng.sun.com
f78af0adbc 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.


git-svn-id: svn://10.0.0.236/trunk@96762 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 00:34:09 +00:00
edburns%acm.org
156349306d For some reason, this file did not contain the necessary information
to link with jawt.


git-svn-id: svn://10.0.0.236/trunk@96753 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 23:13:29 +00:00
ashuk%eng.sun.com
8e80e89f3f 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.


git-svn-id: svn://10.0.0.236/trunk@96447 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 20:43:57 +00:00
ashuk%eng.sun.com
0e27a8b3dc 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.


git-svn-id: svn://10.0.0.236/trunk@96308 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 18:50:05 +00:00
ashuk%eng.sun.com
2ff5c882a8 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.


git-svn-id: svn://10.0.0.236/trunk@96125 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 18:56:27 +00:00
edburns%acm.org
4fa796ee22 Added necessary -L for getting it to compile on Linux
git-svn-id: svn://10.0.0.236/trunk@95959 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 08:12:27 +00:00
ashuk%eng.sun.com
b01e7aac74 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.


git-svn-id: svn://10.0.0.236/trunk@95940 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 23:09:54 +00:00
edburns%acm.org
cbc47220cf Stress test, for 64332.
git-svn-id: svn://10.0.0.236/trunk@95834 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 22:27:01 +00:00
edburns%acm.org
a2f0a4882d In OnProgressChange, it's possible for the max to be 0, thus we need
to protect from Divide By Zero error.


git-svn-id: svn://10.0.0.236/trunk@95608 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 21:50:09 +00:00
ashuk%eng.sun.com
672f92400d 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


git-svn-id: svn://10.0.0.236/trunk@94906 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 00:03:22 +00:00
ashuk%eng.sun.com
09686de651 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) {


git-svn-id: svn://10.0.0.236/trunk@94677 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 19:06:54 +00:00