Commit MetaInfo

Revision79b8febbd83b041bb80fe2804e87f91ee80758d4 (tree)
Time2010-05-26 20:07:54
AuthorKai Engert <kaie@kuix...>
CommiterKai Engert

Log Message

Initial hg revision, added license headers

Change Summary

Incremental Difference

diff -r 000000000000 -r 79b8febbd83b wrapnssgui/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wrapnssgui/Makefile Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,8 @@
1+wrapnssgui: wrapnssgui.cpp
2+ g++ wrapnssgui.cpp -o wrapnssgui -lboost_program_options -O
3+
4+all: wrapnssgui
5+
6+clean:
7+ rm wrapnssgui
8+
diff -r 000000000000 -r 79b8febbd83b wrapnssgui/wrapnssgui.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wrapnssgui/wrapnssgui.cpp Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,110 @@
1+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2+ *
3+ * ***** BEGIN LICENSE BLOCK *****
4+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5+ *
6+ * The contents of this file are subject to the Mozilla Public License Version
7+ * 1.1 (the "License"); you may not use this file except in compliance with
8+ * the License. You may obtain a copy of the License at
9+ * http://www.mozilla.org/MPL/
10+ *
11+ * Software distributed under the License is distributed on an "AS IS" basis,
12+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13+ * for the specific language governing rights and limitations under the
14+ * License.
15+ *
16+ * The Original Code is NSS-GUI code.
17+ *
18+ * The Initial Developer of the Original Code is
19+ * Red Hat, Inc.
20+ * Portions created by the Initial Developer are Copyright (C) 2008
21+ * the Initial Developer. All Rights Reserved.
22+ *
23+ * Contributor(s):
24+ * Kai Engert <kengert@redhat.com>
25+ *
26+ * Alternatively, the contents of this file may be used under the terms of
27+ * either the GNU General Public License Version 2 or later (the "GPL"), or
28+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29+ * in which case the provisions of the GPL or the LGPL are applicable instead
30+ * of those above. If you wish to allow use of your version of this file only
31+ * under the terms of either the GPL or the LGPL, and not to allow others to
32+ * use your version of this file under the terms of the MPL, indicate your
33+ * decision by deleting the provisions above and replace them with the notice
34+ * and other provisions required by the GPL or the LGPL. If you do not delete
35+ * the provisions above, a recipient may use your version of this file under
36+ * the terms of any one of the MPL, the GPL or the LGPL.
37+ *
38+ * ***** END LICENSE BLOCK ***** */
39+
40+//#include <boost/filesystem/operations.hpp>
41+//#include <boost/filesystem/convenience.hpp>
42+//namespace fs = boost::filesystem;
43+#include <boost/program_options/cmdline.hpp>
44+#include <boost/program_options/options_description.hpp>
45+#include <boost/program_options/variables_map.hpp>
46+#include <boost/program_options/parsers.hpp>
47+#include <boost/program_options/value_semantic.hpp>
48+namespace po = boost::program_options;
49+#include <string>
50+#include <fstream>
51+#include <iostream>
52+#include <unistd.h>
53+#include <sys/types.h>
54+using std::cout;
55+using std::string;
56+
57+int main(int argc, char *argv[])
58+{
59+ const char *opt_dir = "dbdir";
60+ const char *opt_ini = "ini";
61+ const char *env_name = "MOZPSM_NSSDBDIR_OVERRIDE";
62+
63+ po::options_description desc("NSS GUI parameters");
64+ desc.add_options()
65+ ("help", "show help message")
66+ (opt_dir, po::value<string>(), "NSS database directory")
67+ (opt_ini, po::value<string>(), "Path to xrnssgui.ini")
68+ ;
69+
70+ po::variables_map vm;
71+ po::store(po::parse_command_line(argc, argv, desc), vm);
72+ po::notify(vm);
73+
74+ if (vm.count("help")) {
75+ cout << desc << "\n";
76+ return 1;
77+ }
78+
79+ if (vm.count(opt_dir)) {
80+ // use given directory, overwrite env var
81+ setenv(env_name, vm[opt_dir].as<string>().c_str(), true);
82+ } else {
83+ // do not overwrite existing env var, use fallback dir
84+
85+ uid_t euid = geteuid();
86+ if (euid == 0) {
87+ // we are running with root permissions
88+ setenv(env_name, "sql:/etc/pki/nssdb/", false);
89+ }
90+ else {
91+ string userdir = "sql:";
92+ userdir += getenv("HOME");
93+ userdir += "/.pki/nssdb/";
94+ setenv(env_name, userdir.c_str(), false);
95+ }
96+ }
97+
98+ const char *ini_path;
99+ if (vm.count(opt_ini)) {
100+ ini_path = vm[opt_ini].as<string>().c_str();
101+ } else {
102+ ini_path = "/usr/share/nss-gui/xrnssgui.ini";
103+ }
104+
105+ string cmd = "xulrunner ";
106+ cmd += ini_path;
107+ system(cmd.c_str());
108+
109+ return 0;
110+}
diff -r 000000000000 -r 79b8febbd83b xrnssgui/chrome/branding/brand.dtd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/chrome/branding/brand.dtd Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,41 @@
1+<!-- ***** BEGIN LICENSE BLOCK *****
2+ - Version: MPL 1.1/GPL 2.0/LGPL 2.1
3+ -
4+ - The contents of this file are subject to the Mozilla Public License Version
5+ - 1.1 (the "License"); you may not use this file except in compliance with
6+ - the License. You may obtain a copy of the License at
7+ - http://www.mozilla.org/MPL/
8+ -
9+ - Software distributed under the License is distributed on an "AS IS" basis,
10+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11+ - for the specific language governing rights and limitations under the
12+ - License.
13+ -
14+ - The Original Code is NSS-GUI code.
15+ -
16+ - The Initial Developer of the Original Code is
17+ - Red Hat, Inc.
18+ - Portions created by the Initial Developer are Copyright (C) 2008
19+ - the Initial Developer. All Rights Reserved.
20+ -
21+ - Contributor(s):
22+ - Kai Engert <kengert@redhat.com>
23+ -
24+ - Alternatively, the contents of this file may be used under the terms of
25+ - either the GNU General Public License Version 2 or later (the "GPL"), or
26+ - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27+ - in which case the provisions of the GPL or the LGPL are applicable instead
28+ - of those above. If you wish to allow use of your version of this file only
29+ - under the terms of either the GPL or the LGPL, and not to allow others to
30+ - use your version of this file under the terms of the MPL, indicate your
31+ - decision by deleting the provisions above and replace them with the notice
32+ - and other provisions required by the GPL or the LGPL. If you do not delete
33+ - the provisions above, a recipient may use your version of this file under
34+ - the terms of any one of the MPL, the GPL or the LGPL.
35+ -
36+ - ***** END LICENSE BLOCK ***** -->
37+
38+<!ENTITY brandShortName "NSSGUI">
39+<!ENTITY brandFullName "NSS GUI">
40+<!ENTITY vendorShortName "">
41+<!ENTITY releaseURL "http://">
diff -r 000000000000 -r 79b8febbd83b xrnssgui/chrome/branding/brand.properties
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/chrome/branding/brand.properties Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,41 @@
1+#
2+# ***** BEGIN LICENSE BLOCK *****
3+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
4+#
5+# The contents of this file are subject to the Mozilla Public License Version
6+# 1.1 (the "License"); you may not use this file except in compliance with
7+# the License. You may obtain a copy of the License at
8+# http://www.mozilla.org/MPL/
9+#
10+# Software distributed under the License is distributed on an "AS IS" basis,
11+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12+# for the specific language governing rights and limitations under the
13+# License.
14+#
15+# The Original Code is NSS-GUI code.
16+#
17+# The Initial Developer of the Original Code is
18+# Red Hat, Inc.
19+# Portions created by the Initial Developer are Copyright (C) 2008
20+# the Initial Developer. All Rights Reserved.
21+#
22+# Contributor(s):
23+# Kai Engert <kengert@redhat.com>
24+#
25+# Alternatively, the contents of this file may be used under the terms of
26+# either the GNU General Public License Version 2 or later (the "GPL"), or
27+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28+# in which case the provisions of the GPL or the LGPL are applicable instead
29+# of those above. If you wish to allow use of your version of this file only
30+# under the terms of either the GPL or the LGPL, and not to allow others to
31+# use your version of this file under the terms of the MPL, indicate your
32+# decision by deleting the provisions above and replace them with the notice
33+# and other provisions required by the GPL or the LGPL. If you do not delete
34+# the provisions above, a recipient may use your version of this file under
35+# the terms of any one of the MPL, the GPL or the LGPL.
36+#
37+# ***** END LICENSE BLOCK *****
38+
39+brandShortName=NSSGUI
40+brandFullName=NSS GUI
41+vendorShortName=
diff -r 000000000000 -r 79b8febbd83b xrnssgui/chrome/chrome.manifest
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/chrome/chrome.manifest Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,8 @@
1+content nssgui file:content/
2+locale branding en-US branding/
3+
4+#sample overlay line
5+#overlay chrome://browser/content/browser.xul chrome://cckwizard/content/cckwizard-browser-overlay.xul
6+
7+overlay chrome://pippki/content/WebSitesOverlay.xul chrome://nssgui/content/WebSitesModifyOverlay.xul
8+overlay chrome://pippki/content/crlManager.xul chrome://nssgui/content/crlManagerModify.xul
diff -r 000000000000 -r 79b8febbd83b xrnssgui/chrome/content/WebSitesModifyOverlay.xul
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/chrome/content/WebSitesModifyOverlay.xul Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,45 @@
1+<?xml version="1.0"?>
2+<!-- ***** BEGIN LICENSE BLOCK *****
3+ - Version: MPL 1.1/GPL 2.0/LGPL 2.1
4+ -
5+ - The contents of this file are subject to the Mozilla Public License Version
6+ - 1.1 (the "License"); you may not use this file except in compliance with
7+ - the License. You may obtain a copy of the License at
8+ - http://www.mozilla.org/MPL/
9+ -
10+ - Software distributed under the License is distributed on an "AS IS" basis,
11+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12+ - for the specific language governing rights and limitations under the
13+ - License.
14+ -
15+ - The Original Code is NSS-GUI code.
16+ -
17+ - The Initial Developer of the Original Code is
18+ - Red Hat, Inc.
19+ - Portions created by the Initial Developer are Copyright (C) 2008
20+ - the Initial Developer. All Rights Reserved.
21+ -
22+ - Contributor(s):
23+ - Kai Engert <kengert@redhat.com>
24+ -
25+ - Alternatively, the contents of this file may be used under the terms of
26+ - either the GNU General Public License Version 2 or later (the "GPL"), or
27+ - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28+ - in which case the provisions of the GPL or the LGPL are applicable instead
29+ - of those above. If you wish to allow use of your version of this file only
30+ - under the terms of either the GPL or the LGPL, and not to allow others to
31+ - use your version of this file under the terms of the MPL, indicate your
32+ - decision by deleting the provisions above and replace them with the notice
33+ - and other provisions required by the GPL or the LGPL. If you do not delete
34+ - the provisions above, a recipient may use your version of this file under
35+ - the terms of any one of the MPL, the GPL or the LGPL.
36+ -
37+ - ***** END LICENSE BLOCK ***** -->
38+
39+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
40+<overlay id="WebSitesModifyOverlay"
41+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
42+ xmlns:cert="http://netscape.com/rdf-cert#"
43+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
44+ <button id="websites_exceptionButton" hidden="true" disabled="true"/>
45+</overlay>
diff -r 000000000000 -r 79b8febbd83b xrnssgui/chrome/content/crlManagerModify.xul
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/chrome/content/crlManagerModify.xul Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,46 @@
1+<?xml version="1.0"?>
2+<!-- ***** BEGIN LICENSE BLOCK *****
3+ - Version: MPL 1.1/GPL 2.0/LGPL 2.1
4+ -
5+ - The contents of this file are subject to the Mozilla Public License Version
6+ - 1.1 (the "License"); you may not use this file except in compliance with
7+ - the License. You may obtain a copy of the License at
8+ - http://www.mozilla.org/MPL/
9+ -
10+ - Software distributed under the License is distributed on an "AS IS" basis,
11+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12+ - for the specific language governing rights and limitations under the
13+ - License.
14+ -
15+ - The Original Code is NSS-GUI code.
16+ -
17+ - The Initial Developer of the Original Code is
18+ - Red Hat, Inc.
19+ - Portions created by the Initial Developer are Copyright (C) 2008
20+ - the Initial Developer. All Rights Reserved.
21+ -
22+ - Contributor(s):
23+ - Kai Engert <kengert@redhat.com>
24+ -
25+ - Alternatively, the contents of this file may be used under the terms of
26+ - either the GNU General Public License Version 2 or later (the "GPL"), or
27+ - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28+ - in which case the provisions of the GPL or the LGPL are applicable instead
29+ - of those above. If you wish to allow use of your version of this file only
30+ - under the terms of either the GPL or the LGPL, and not to allow others to
31+ - use your version of this file under the terms of the MPL, indicate your
32+ - decision by deleting the provisions above and replace them with the notice
33+ - and other provisions required by the GPL or the LGPL. If you do not delete
34+ - the provisions above, a recipient may use your version of this file under
35+ - the terms of any one of the MPL, the GPL or the LGPL.
36+ -
37+ - ***** END LICENSE BLOCK ***** -->
38+
39+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
40+<overlay id="WebSitesModifyOverlay"
41+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
42+ xmlns:cert="http://netscape.com/rdf-cert#"
43+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
44+ <button id="editPrefs" hidden="true" disabled="true"/>
45+ <button id="updateCRL" hidden="true" disabled="true"/>
46+</overlay>
diff -r 000000000000 -r 79b8febbd83b xrnssgui/chrome/content/main.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/chrome/content/main.js Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,127 @@
1+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2+ *
3+ * ***** BEGIN LICENSE BLOCK *****
4+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5+ *
6+ * The contents of this file are subject to the Mozilla Public License Version
7+ * 1.1 (the "License"); you may not use this file except in compliance with
8+ * the License. You may obtain a copy of the License at
9+ * http://www.mozilla.org/MPL/
10+ *
11+ * Software distributed under the License is distributed on an "AS IS" basis,
12+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13+ * for the specific language governing rights and limitations under the
14+ * License.
15+ *
16+ * The Original Code is NSS-GUI code.
17+ *
18+ * The Initial Developer of the Original Code is
19+ * Red Hat, Inc.
20+ * Portions created by the Initial Developer are Copyright (C) 2008
21+ * the Initial Developer. All Rights Reserved.
22+ *
23+ * Contributor(s):
24+ * Kai Engert <kengert@redhat.com>
25+ *
26+ * Alternatively, the contents of this file may be used under the terms of
27+ * either the GNU General Public License Version 2 or later (the "GPL"), or
28+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29+ * in which case the provisions of the GPL or the LGPL are applicable instead
30+ * of those above. If you wish to allow use of your version of this file only
31+ * under the terms of either the GPL or the LGPL, and not to allow others to
32+ * use your version of this file under the terms of the MPL, indicate your
33+ * decision by deleting the provisions above and replace them with the notice
34+ * and other provisions required by the GPL or the LGPL. If you do not delete
35+ * the provisions above, a recipient may use your version of this file under
36+ * the terms of any one of the MPL, the GPL or the LGPL.
37+ *
38+ * ***** END LICENSE BLOCK ***** */
39+
40+var show_hello_alerts=0;
41+
42+function getenv(name) {
43+ try {
44+ var environment = Components.classes["@mozilla.org/process/environment;1"].
45+ getService(Components.interfaces.nsIEnvironment);
46+ return environment.get(name);
47+ }
48+ catch(e) {
49+ displayError("getEnvironment", e);
50+ }
51+}
52+
53+
54+function onLoad()
55+{
56+ if (show_hello_alerts) {
57+ alert("hello from onLoad");
58+ }
59+
60+ var dbdir = getenv("MOZPSM_NSSDBDIR_OVERRIDE");
61+ var dbdirlabel= document.getElementById("dbdir");
62+
63+ // we want to filter out the sql: prefix, it's confusing for users
64+
65+ var prefix_dontwant = "sql:";
66+ if (dbdir.indexOf(prefix_dontwant) == 0) {
67+ dbdir = dbdir.substr(prefix_dontwant.length);
68+ }
69+
70+ dbdirlabel.setAttribute("value", dbdir);
71+}
72+
73+function openChrome(chrome_url, window_name)
74+{
75+ Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
76+ .getService(Components.interfaces.nsIWindowWatcher)
77+ .openWindow(null,
78+ chrome_url,
79+ window_name,
80+ "chrome",
81+ null);
82+}
83+
84+function showCertificates()
85+{
86+ if (show_hello_alerts) {
87+ alert("hello from show cert");
88+ }
89+ openChrome("chrome://pippki/content/certManager.xul",
90+ "mozilla:certmanager");
91+}
92+
93+function showRevocationLists()
94+{
95+ if (show_hello_alerts) {
96+ alert("hello from show crl");
97+ }
98+ openChrome("chrome://pippki/content/crlManager.xul",
99+ "mozilla:crlmanager");
100+}
101+
102+function showSecurityDevices()
103+{
104+ if (show_hello_alerts) {
105+ alert("hello from show sec dev");
106+ }
107+ openChrome("chrome://pippki/content/device_manager.xul",
108+ "mozilla:devicemanager");
109+}
110+
111+function showConsole()
112+{
113+ if (show_hello_alerts) {
114+ alert("hello from show console");
115+ }
116+ openChrome("chrome://global/content/console.xul",
117+ "global:console");
118+}
119+
120+function showAboutConfig()
121+{
122+ if (show_hello_alerts) {
123+ alert("hello from show about config");
124+ }
125+ openChrome("chrome://global/content/config.xul",
126+ "global:aboutconfig");
127+}
diff -r 000000000000 -r 79b8febbd83b xrnssgui/chrome/content/main.xul
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/chrome/content/main.xul Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,88 @@
1+<?xml version="1.0"?>
2+<!-- ***** BEGIN LICENSE BLOCK *****
3+ - Version: MPL 1.1/GPL 2.0/LGPL 2.1
4+ -
5+ - The contents of this file are subject to the Mozilla Public License Version
6+ - 1.1 (the "License"); you may not use this file except in compliance with
7+ - the License. You may obtain a copy of the License at
8+ - http://www.mozilla.org/MPL/
9+ -
10+ - Software distributed under the License is distributed on an "AS IS" basis,
11+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12+ - for the specific language governing rights and limitations under the
13+ - License.
14+ -
15+ - The Original Code is NSS-GUI code.
16+ -
17+ - The Initial Developer of the Original Code is
18+ - Red Hat, Inc.
19+ - Portions created by the Initial Developer are Copyright (C) 2008
20+ - the Initial Developer. All Rights Reserved.
21+ -
22+ - Contributor(s):
23+ - Kai Engert <kengert@redhat.com>
24+ -
25+ - Alternatively, the contents of this file may be used under the terms of
26+ - either the GNU General Public License Version 2 or later (the "GPL"), or
27+ - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28+ - in which case the provisions of the GPL or the LGPL are applicable instead
29+ - of those above. If you wish to allow use of your version of this file only
30+ - under the terms of either the GPL or the LGPL, and not to allow others to
31+ - use your version of this file under the terms of the MPL, indicate your
32+ - decision by deleting the provisions above and replace them with the notice
33+ - and other provisions required by the GPL or the LGPL. If you do not delete
34+ - the provisions above, a recipient may use your version of this file under
35+ - the terms of any one of the MPL, the GPL or the LGPL.
36+ -
37+ - ***** END LICENSE BLOCK ***** -->
38+
39+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
40+<window id="nssgui_main" title="NSS GUI"
41+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
42+ onload="onLoad();" style="max-width: 30em;">
43+
44+ <script type="application/x-javascript" src="main.js"/>
45+ <vbox flex="1">
46+ <separator/>
47+ <description>
48+ Manage data and configuration related to Network Security Services (NSS) located at:
49+ </description>
50+ <vbox align="center">
51+ <label id="dbdir" value="(unknown)"/>
52+ </vbox>
53+ <separator/>
54+ <vbox align="left">
55+ <button id="viewCertificatesButton"
56+ label="Manage Certificates (X.509)"
57+ oncommand="showCertificates();"
58+ />
59+ <button id="viewRevocationListsButton"
60+ label="Manage Revocation Lists (CRL)"
61+ oncommand="showRevocationLists();"
62+ />
63+ <button id="viewSecurityDevicesButton"
64+ label="Manage Security Devices (PKCS#11)"
65+ oncommand="showSecurityDevices();"
66+ />
67+ </vbox>
68+ <separator/>
69+ <description>
70+ Advanced configuration and troubleshooting:
71+ </description>
72+ <hbox>
73+ <button id="viewErrorConsole"
74+ label="Error Console"
75+ oncommand="showConsole();"/>
76+ <button id="viewConfigEditor"
77+ label="about:config"
78+ oncommand="showAboutConfig();"/>
79+ </hbox>
80+ <separator/>
81+ <hbox align="right">
82+ <button id="closeWindow"
83+ label="Close"
84+ oncommand="window.close();"/>
85+ </hbox>
86+ <separator/>
87+ </vbox>
88+</window>
diff -r 000000000000 -r 79b8febbd83b xrnssgui/defaults/preferences/prefs.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/defaults/preferences/prefs.js Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,10 @@
1+pref("toolkit.defaultChromeURI", "chrome://nssgui/content/main.xul");
2+
3+# https://developer.mozilla.org/en/Debugging_a_XULRunner_Application
4+/* debugging prefs */
5+pref("browser.dom.window.dump.enabled", true);
6+pref("javascript.options.showInConsole", true);
7+pref("javascript.options.strict", true);
8+pref("nglayout.debug.disable_xul_cache", true);
9+pref("nglayout.debug.disable_xul_fastload", true);
10+
diff -r 000000000000 -r 79b8febbd83b xrnssgui/xrnssgui.ini
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xrnssgui/xrnssgui.ini Wed May 26 13:07:54 2010 +0200
@@ -0,0 +1,10 @@
1+[App]
2+Name=NSSGUI
3+Version=0.3.2
4+BuildID=20100402
5+ID=nssgui@redhat.com
6+Profile=.nssgui
7+
8+[Gecko]
9+MinVersion=1.9
10+MaxVersion=1.9.2.*
Show on old repository browser