Commit Graph

479 Commits

Author SHA1 Message Date
edburns%acm.org
6f3edb2ec2 Removed erroneous trailing \.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@86264 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:40:37 +00:00
edburns%acm.org
1a0eda9d5f // PENDING(edburns): HACK workaround for bug 59530. This
// workaround forces the nsBookmarksService to leak so that it
        // never gets destructed, thus the timer never gets canceled and
        // thus the fact that the static nsCOMPtr instance has gone away
        // doesn't matter.

The following files are in this fix:

M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h
M src_moz/WindowControlActionEvents.cpp
M src_moz/rdf_util.cpp
M src_moz/wcIBrowserContainer.h
author=edburns
r=ashuk


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@86242 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 19:04:05 +00:00
edburns%acm.org
cb23e73389 This fix is a necessary pre-condition to the fix for 64332. In addition, this fix
contains a workaround to this bug: disable hotspot and disable JIT.

This fix removes the JNIEnv * parameter from util_InitStringConstants().


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@86126 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 23:57:24 +00:00
edburns%acm.org
5f0e435699 bug=64988
r=ashuk
a=edburns
author=edburns

Files in this fix:

NativeEventThread.java

This fix makes it so much less than 100% of the CPU is used
when webclient is in idle state.

It does this by inserting Thread.sleep(1) in the
NativeEventThread.run() method's main event loop.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@84773 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 02:42:36 +00:00
rpallath%eng.sun.com
24415ca940 test.xml ==> ( changed to XHTML)
autorun.sh                ==>  (reflected test.xml file)
BWTestClass.lst.html.ORIG ==>  (removed namespaces related  test case entires)
BWTestClass.lst.xml.ORIG  ==>  (added Namespace related test case entries)


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@84653 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 16:23:51 +00:00
rpallath%eng.sun.com
e0cf8ef4e9 Modified all XML namespaces related test cases, to refelct correct URI and qualified and local names
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@84652 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 16:21:04 +00:00
edburns%acm.org
0e64ca3709 bug 64445
author edburns
r=ashuk
a=edburns

This checkin corrects an earlier omission of the proper policy of having
all maor actions take place using nsActionEvents.  This is necessary to
avoid thread safety assertions.

The following files are in this fix:

M classes_spec/org/mozilla/webclient/wrapper_native/PreferencesImpl.java
M src_moz/Makefile.in
M src_moz/Makefile.win
A src_moz/PreferencesActionEvents.cpp
A src_moz/PreferencesActionEvents.h
M src_moz/PreferencesImpl.cpp
M src_moz/motif/NativeLoaderStub.cpp


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@84623 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:59:58 +00:00
(no author)
28e7132c6d This commit was manufactured by cvs2svn to create branch
'JAVADEV_RTM_20001102'.

git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@84613 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:24:12 +00:00
edburns%acm.org
bf24f1b3d6 Test cases
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@84587 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:51:57 +00:00
edburns%acm.org
05ddc0641c bug=62853
r=ashuk

This fix implements getPrefs() and adds a new method,

  public void registerPrefChangedCallback(PrefChangedCallback cb,
                                          String prefName, Object closure);

to preferences.

The following files are in this fix:

A classes_spec/org/mozilla/webclient/PrefChangedCallback.java
M classes_spec/org/mozilla/webclient/Preferences.java
M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/PreferencesImpl.java
M src_moz/CBrowserContainer.cpp
M src_moz/PreferencesImpl.cpp
M src_moz/ns_util.h
M src_moz/motif/NativeLoaderStub.cpp


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83664 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:47:43 +00:00
ashuk%eng.sun.com
51d3895531 author=ashuk
Bug=62436
changes in NativeLoaderStub.cpp for Prefs to work on Solaris


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83558 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 22:59:59 +00:00
edburns%acm.org
57633551c5 r=ashuk
a=edburns
bug=62436

Add the ability to set string, int, and bool prefs.  Needs more
functionality.

The following files are in this bug:

A classes_spec/org/mozilla/webclient/Preferences.java
A classes_spec/org/mozilla/webclient/wrapper_native/PreferencesImpl.java
A src_moz/PreferencesImpl.cpp
M classes_spec/org/mozilla/webclient/BrowserControlImpl.java
M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/WrapperFactoryImpl.java
M src_moz/Makefile.in
M src_moz/Makefile.win
M src_moz/WrapperFactoryImpl.cpp
M src_moz/motif/NativeLoaderStub.cpp
M src_share/Makefile.in
M src_share/Makefile.win


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83546 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:50:05 +00:00
edburns%acm.org
23de81565f Forgot to check these in for 62436.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83517 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 02:31:35 +00:00
edburns%acm.org
179a3a4d78 Part 2
How to test this bug.

1. Remove your .mozilla directory, or equivalent

1.5 Set up the proxy preferences so you can get to bugzilla.mozilla.org.

2. Start mozilla and go to Edit-Preferences->Advanced->Cookies.

3. Remove all Cookies

4. Accept all cookies, and warn me before accepting cookes

5. Stop mozilla.

Start webclient and visit
<http://bugzilla.mozilla.org/enter_bug.cgi?product=Browser>, then enter
your bugzilla userid and password.  A Confirm dialog should come up.
Make sure that the dialog does the right thing, that is, if you accept
the cookie, exit webclient, start up mozilla, and use the cookie viewer
to see that the cookie is there.  Please note that you see the Enter a
bug page whether you accept the cookie or not.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83508 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:11:22 +00:00
edburns%acm.org
b0bb9b0ac7 This fix enables the adding of bookmarks and bookmark folders.
* Due to the vagaries of the mozilla RDF implementation, folders and
 * bookmark entries are handled differently.  For Folders, we don't
 * create a nativeRDFNode at the outset.  Rather, we just create the
 * properties table and stock it with the known keys, then wait for the
 * nativeRDFNode to be created en addBookmark.

 * The adding of bookmark folders is done through the RDF DoCommand
 * interface.  The DoCommand interface creates the nsIRDFResource on
 * your behalf.  We use an nsIRDFObserver to obtain the created resource
 * as the DoCommand executes.

The following files are in this fix.

A src_moz/wsRDFObserver.cpp
A src_moz/wsRDFObserver.h
M classes_spec/org/mozilla/webclient/BookmarkEntry.java
M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarkEntryImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java
M src_moz/Makefile.win
M src_moz/Makefile.in
M src_moz/RDFActionEvents.cpp
M src_moz/RDFActionEvents.h
M src_moz/RDFTreeNode.cpp
M src_moz/rdf_util.cpp
M src_moz/rdf_util.h
M src_moz/motif/NativeLoaderStub.cpp
M src_share/jni_util.cpp
M src_share/jni_util.h


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83504 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 00:00:15 +00:00
ashuk%eng.sun.com
514083cc5e author=ashuk
Bug=54129

ashuk@versailles[43]>mozcvs diff -u Makefile.in
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mozilla/java/Makefile.in,v
retrieving revision 1.6.2.2
diff -u -r1.6.2.2 Makefile.in
--- Makefile.in 2000/11/28 19:38:24     1.6.2.2
+++ Makefile.in 2000/12/10 20:37:26
@@ -27,13 +27,14 @@

 DIRS=   util           \
        external        \
-       dom             \
-       webclient
+       dom

 ifeq ($(BUILD_WEBCLIENT_ONLY),)
 DIRS += xpcom \
         plugins
 endif
+
+DIRS += webclient

 include $(topsrcdir)/config/rules.mk


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83477 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 20:40:10 +00:00
edburns%acm.org
a014aefe38 This fix adds basic authentication capability to webclient.
public interface Prompt

 * The custom app must implement this interface in order to supply the
 * underlying browser with basic authentication behavior.  The custom
 * app must tell webclient about its Prompt implementation by calling
 * Navigation.setPrompt().  This must be done FOR EACH BrowserControl
 * instance!

public void setPrompt(Prompt yourPrompt);

 * Gives this Navigation instance the ability to call back the custom
 * app when a site with basic authentication is encountered.  The custom
 * app can choose to put up appropriate modal UI.

Please note that due to bug
http://bugzilla.mozilla.org/show_bug.cgi?id=61669 you must disable the
cache to have this work.  Put these lines in your prefs file:

user_pref("browser.cache.disk_cache_size", 0);
user_pref("browser.cache.enabled", false);

The following files are in this fix:

M classes_spec/org/mozilla/webclient/Navigation.java
M classes_spec/org/mozilla/webclient/test/EMWindow.java
A classes_spec/org/mozilla/webclient/test/PasswordDialog.java
M classes_spec/org/mozilla/webclient/wrapper_native/NavigationImpl.java
M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h
M src_moz/NavigationImpl.cpp
M src_moz/wcIBrowserContainer.h
M src_moz/motif/NativeLoaderStub.cpp
M src_share/jni_util.cpp
M src_share/jni_util.h
M src_share/jni_util_export.cpp
M src_share/jni_util_export.h
A classes_spec/org/mozilla/webclient/Prompt.java


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83172 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:33:52 +00:00
idk%eng.sun.com
3901e08768 *Not part of tbox builds*
fix for 61442


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83100 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:56:18 +00:00
edburns%acm.org
226fedca23 If the env var BUILD_WEBCLIENT_ONLY is defined, only webclient and supporting
modules are built.  Otherwise, all of Blackwood is built.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82975 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 19:38:24 +00:00
ashuk%eng.sun.com
d2f3803d84 author=ashuk
Bug=58971


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82953 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 02:01:47 +00:00
ashuk%eng.sun.com
cbfdf17b04 author=ashuk
Bug=58971


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82948 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:36:59 +00:00
ashuk%eng.sun.com
6c09a59e62 author=ashuk
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82947 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:35:55 +00:00
edburns%acm.org
6001c37dc8 bug=60016
r=idk
a=idk
This checkin makes it possible to compile blackwood on linux.  You must have
Lesstif installed in /usr/X11R6 for pluglets to successfully compile.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82927 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:18:05 +00:00
ashuk%eng.sun.com
a29f24e90a author=ashuk
removed NativeEventThreadActionEvent.cpp from Makefile.in
Feature not yet checked in.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82907 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 17:08:53 +00:00
margaret.chan%sun.com
8cdab069f8 *not part of tbox builds*
fixed typo.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82871 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 00:09:08 +00:00
idk%eng.sun.com
d63c44ca18 * not part of tbox build *
removed ^M from Makefile.in


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82858 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 18:17:28 +00:00
idk%eng.sun.com
27686eb422 *not part of tbox builds*
58971 .  Added clobber_all to pluglets makefiles


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82835 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 22:09:08 +00:00
ashuk%eng.sun.com
ce3f3336c3 author=ashuk
Bug=54129
r=idk

Integrating Blackconnect


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82829 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 17:44:04 +00:00
ashuk%eng.sun.com
803200a166 author=ashuk
Bug=58971
r=edburns


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82828 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 17:35:07 +00:00
edburns%acm.org
589e84b4c6 Didn't compile on win32. Needed jobject cast.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82783 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 03:44:23 +00:00
idk%eng.sun.com
a15ca2cfc5 *not part of tbix build*
included mozilla/java/xpcom/java/xpidl to build


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82780 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 19:50:09 +00:00
idk%eng.sun.com
730d1ad82a Merged trunk to JAVADEV_RTM_20001102 (blackConnect)
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82726 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 04:39:18 +00:00
ashuk%eng.sun.com
fabac9731e author=ashuk
Bug=59521
r=a=edburns


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82682 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 18:29:11 +00:00
edburns%acm.org
7efb8ae377 Purely cosmetic change. Move the LoadFromStream exercising
functionality to the menubar.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82556 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-11 19:43:22 +00:00
edburns%acm.org
0f963ee782 bug 59851
a=edburns
This change is mostly cosmetic.  It adds a history menu that exercises the History
API.

The non-cosmetic change is in wsGoToEvent().  This was commented out since
M15, now it works.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82555 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-11 19:32:31 +00:00
edburns%acm.org
d00a452f0d Cosmetic change. Use a blank label instead of a button below
the text field.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82514 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 00:02:13 +00:00
edburns%acm.org
acc72ac9a6 bug 47464
a=edburns
r=ashuk

This fix removes gHistory, and makes it so History.getURLForIndex()
works, thanks to sva@sparc.spb.su (Vladimir Strigun).

M HistoryImpl.cpp
M NativeEventThread.cpp
M WindowControlActionEvents.cpp
M WindowControlImpl.cpp
M WrapperFactoryImpl.cpp
M ns_util.h


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82466 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 18:32:17 +00:00
edburns%acm.org
2d71a48609 Cosmetic change. Use two rows of buttons.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82432 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 20:27:43 +00:00
edburns%acm.org
232b27e5c3 Files in this fix:
M BookmarksImpl.cpp
A CurrentPageActionEvents.cpp
A CurrentPageActionEvents.h
M CurrentPageImpl.cpp
A HistoryActionEvents.cpp
A HistoryActionEvents.h
M HistoryImpl.cpp
M Makefile.in
M Makefile.win
A NavigationActionEvents.cpp
A NavigationActionEvents.h
M NavigationImpl.cpp
A RDFActionEvents.cpp
A RDFActionEvents.h
M RDFEnumeration.cpp
M RDFTreeNode.cpp
A WindowControlActionEvents.cpp
A WindowControlActionEvents.h
M WindowControlImpl.cpp
M nsActions.cpp
M nsActions.h

This fix breaks nsActions into separate files per usage.

The criterion I use is: if the event class gets instantiated in file
Blah.cpp, then the implementation should be in BlahActionEvents.{h,cpp}.
The only exception so far is Bookmarks, which uses RDFActionEvents since
all the bookmarks stuff is really RDF.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82429 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 19:38:14 +00:00
edburns%acm.org
3806d7211c Fixed Syntax Error.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82390 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 21:14:31 +00:00
edburns%acm.org
3b74bcabd7 bug 59079
a=edburns
r=ashuk

This checkin adds a method to Navigation: loadFromStream().

This method enables the custom app to give mozilla a java.io.InputStream to load.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82369 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 02:40:45 +00:00
ashuk%eng.sun.com
244b53998c author=ashuk
Bug=52239
r=a=edburns


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82352 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 22:42:28 +00:00
edburns%acm.org
4950ac846f bug: 55004
r=ashuk
a=edburns

This fix makes it so bookmarks work with the tip of the branch as of 11/01/00.

This fix removes the necessity to modify xpcom/base/nsDebug.cpp to
remove the thread safety assertions.

This fix primarily does two things:

1. Make nsActionEvents for all bookmarks/rdf actions

2. Remove the synchronized(this.browserControlCanvas.getTreeLock()) call
around nativeProcessEvents() in NativeEventThread.run().

Files in this fix:

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarkEntryImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M classes_spec/org/mozilla/webclient/wrapper_native/RDFEnumeration.java
M classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java
M src_moz/BookmarksImpl.cpp
M src_moz/RDFEnumeration.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/nsActions.cpp
M src_moz/nsActions.h
M src_moz/motif/NativeLoaderStub.cpp


git-svn-id: svn://10.0.0.236/trunk@82262 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 03:16:55 +00:00
ashuk%eng.sun.com
5af8d651a6 author=ashuk
Bug=57725,49126
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82254 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:30:54 +00:00
ashuk%eng.sun.com
4a6f37d5be author=ashuk
r=a=edburns
Bug=58791


git-svn-id: svn://10.0.0.236/trunk@82253 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:28:27 +00:00
ashuk%eng.sun.com
49ef0e6172 author=ashuk
Bug=50282,44330,53397
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82252 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:27:47 +00:00
ashuk%eng.sun.com
b3387c11cd author=ashuk
Bug=58526
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82251 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:25:31 +00:00
edburns%acm.org
aee4ebbf93 Merged branch JAVADEV_PR3_20001002 into trunk.
git-svn-id: svn://10.0.0.236/trunk@82247 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:33:21 +00:00
idk%eng.sun.com
b259afe91d *not part of tbox build*
fix for 56954


git-svn-id: svn://10.0.0.236/trunk@81288 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 08:28:15 +00:00
idk%eng.sun.com
1beb004422 * not part of tbox build *
fix for 56841


git-svn-id: svn://10.0.0.236/trunk@81253 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 19:24:51 +00:00