- Include debug options

M webclient/build.xml
A webclient/default-profile-dir-contents.jar

- Include a sample profile dir into the webclient jar

M webclient/classes_spec/org/mozilla/webclient/WebclientFactory.java
M webclient/classes_spec/org/mozilla/webclient/impl/WebclientFactoryImpl.java

- add setProfileDir()

M webclient/classes_spec/org/mozilla/webclient/impl/WrapperFactory.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java

- add methods for allowing the setting of profile directories.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/ProfileManagerImpl.java

- cook up a profile directory based on the bin directory if the user hasn't provided one.

M webclient/src_moz/ProfileManagerImpl.cpp

- Make sure NSS is initialized by giving the system a ProfD and getting the
  psm service via contract id.

M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java

- Make sure the darn thing is visible


git-svn-id: svn://10.0.0.236/trunk@253371 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2008-08-04 20:51:22 +00:00
parent 8c2c6808cb
commit 1a89ffedc8
9 changed files with 157 additions and 6 deletions

View File

@@ -120,6 +120,7 @@ public class TestBrowser extends JPanel {
frame.pack();
frame.setVisible(true);
testBrowser.setVisible(true);
if (1 == args.length) {
testBrowser.loadURL(args[0]);
}
@@ -445,6 +446,7 @@ public class TestBrowser extends JPanel {
if (curUrl == null) {
// Check if the text value starts with known protocols.
if (inputValue.toLowerCase().startsWith("http://")
|| inputValue.toLowerCase().startsWith("https://")
|| inputValue.toLowerCase().startsWith("ftp://")
|| inputValue.toLowerCase().startsWith("gopher://")
|| inputValue.toLowerCase().startsWith("file://")) {
@@ -460,6 +462,7 @@ public class TestBrowser extends JPanel {
}
}
browserControlCanvas.setVisible(true);
navigation.loadURL(curUrl.toString());
// Update the address text field, statusbar, and toolbar info.