aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-22 09:40:26 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-22 09:40:26 +0200
commit64e1c1658318c9ea01ad1e56d8ca58d2e5cf860f (patch)
treed13f570c597e5ec82c4292ab3d568752518e0d20
parentProfileEditor: add Delete Session and Delete All buttons to Cookies (diff)
downloadsmolbote-64e1c1658318c9ea01ad1e56d8ca58d2e5cf860f.tar.xz
Update manpage
-rw-r--r--linux/man/smolbote.711
-rw-r--r--linux/man/smolbote.7.html20
-rw-r--r--linux/man/smolbote.7.ronn14
-rw-r--r--src/browser.cpp3
4 files changed, 32 insertions, 16 deletions
diff --git a/linux/man/smolbote.7 b/linux/man/smolbote.7
index e8f63bd..fe36a8d 100644
--- a/linux/man/smolbote.7
+++ b/linux/man/smolbote.7
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "SMOLBOTE" "7" "May 2018" "" ""
+.TH "SMOLBOTE" "7" "June 2018" "" ""
.
.SH "NAME"
\fBsmolbote\fR \- yet another no\-frills browser
@@ -171,7 +171,7 @@ filter\.cookies\.path: ~/\.config/smolbote/cookies\.d
Plugins a way of extending smolbote\'s functionality using the Qt plugin system\. They are not to be confused with NPAPI/PPAPI or WebExtension plugins\.
.
.P
-To enable a plugin either copy it or symlink it in the plugins\.path location\. A set of default plugins is installed in /usr/lib/smolbote\.
+To enable a plugin either copy it or symlink it in the plugins\.path location, or set its absolute path as the plugins\.path\.
.
.IP "\(bu" 4
plugins\.path: ~/\.config/smolbote/plugins\.d
@@ -179,6 +179,13 @@ plugins\.path: ~/\.config/smolbote/plugins\.d
.IP "" 0
.
.SS "Profiles"
+A Profile is a collection of settings, policies, scripts, cookies, cache and history\. Profiles can be used to isolate pages from each other\.
+.
+.P
+Each window has a default profile it uses when opening new tabs\. This can be set by the profile\.default option, and can be changed from the window\'s menu\. Additionally, tabs can have their profiles individually changed from their page menu\.
+.
+.P
+Because profiles store all their data separately, you can log in into the same site with a different account from each profile\. However, links opened into new tabs will still use the subwindow\'s default profile\. For example, you can set a profile to hold login information for a site, but all new tabs opened from that site would still be using the default off\-the\-record profile\.
.
.IP "\(bu" 4
profile\.default: \'\'
diff --git a/linux/man/smolbote.7.html b/linux/man/smolbote.7.html
index c74783f..5784c91 100644
--- a/linux/man/smolbote.7.html
+++ b/linux/man/smolbote.7.html
@@ -191,8 +191,8 @@ navigation.movable option.</p>
<p>Plugins a way of extending smolbote's functionality using the Qt plugin system.
They are not to be confused with NPAPI/PPAPI or WebExtension plugins.</p>
-<p>To enable a plugin either copy it or symlink it in the plugins.path location. A
-set of default plugins is installed in /usr/lib/smolbote.</p>
+<p>To enable a plugin either copy it or symlink it in the plugins.path location,
+or set its absolute path as the plugins.path.</p>
<ul>
<li>plugins.path: ~/.config/smolbote/plugins.d</li>
@@ -201,6 +201,20 @@ set of default plugins is installed in /usr/lib/smolbote.</p>
<h3 id="Profiles">Profiles</h3>
+<p>A Profile is a collection of settings, policies, scripts, cookies, cache and
+history. Profiles can be used to isolate pages from each other.</p>
+
+<p>Each window has a default profile it uses when opening new tabs. This can be
+set by the profile.default option, and can be changed from the window's menu.
+Additionally, tabs can have their profiles individually changed from their page
+menu.</p>
+
+<p>Because profiles store all their data separately, you can log in into the same
+site with a different account from each profile. However, links opened into new
+tabs will still use the subwindow's default profile. For example, you can set a
+profile to hold login information for a site, but all new tabs opened from that
+site would still be using the default off-the-record profile.</p>
+
<ul>
<li>profile.default: ''</li>
<li>profile.path: ~/.config/smolbote/profiles.d</li>
@@ -229,7 +243,7 @@ set of default plugins is installed in /usr/lib/smolbote.</p>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
- <li class='tc'>May 2018</li>
+ <li class='tc'>June 2018</li>
<li class='tr'>smolbote(7)</li>
</ol>
diff --git a/linux/man/smolbote.7.ronn b/linux/man/smolbote.7.ronn
index 060c167..98674b9 100644
--- a/linux/man/smolbote.7.ronn
+++ b/linux/man/smolbote.7.ronn
@@ -84,8 +84,8 @@ navigation.movable option.
Plugins a way of extending smolbote's functionality using the Qt plugin system.
They are not to be confused with NPAPI/PPAPI or WebExtension plugins.
-To enable a plugin either copy it or symlink it in the plugins.path location. A
-set of default plugins is installed in /usr/lib/smolbote.
+To enable a plugin either copy it or symlink it in the plugins.path location,
+or set its absolute path as the plugins.path.
* plugins.path: ~/.config/smolbote/plugins.d
@@ -94,8 +94,9 @@ A Profile is a collection of settings, policies, scripts, cookies, cache and
history. Profiles can be used to isolate pages from each other.
Each window has a default profile it uses when opening new tabs. This can be
-changed from the window's menu. Additionally, tabs can have their profiles
-individually changed from their context menu.
+set by the profile.default option, and can be changed from the window's menu.
+Additionally, tabs can have their profiles individually changed from their page
+menu.
Because profiles store all their data separately, you can log in into the same
site with a different account from each profile. However, links opened into new
@@ -109,11 +110,6 @@ site would still be using the default off-the-record profile.
* profile.homepage: about:blank
* profile.newtab: about:blank
-An off-the-record profile is always created, with config read from
-profile.path/otr.ini. Additional non-otr profiles named from all files matching
-'*.profile' in profile.path are also created, and their properties are set from
-their respective name.profile.
-
### Bookmarks
* bookmarks.path: ~/.config/smolbote/bookmarks.xbel
* bookmarks.shortcut: Ctrl+B
diff --git a/src/browser.cpp b/src/browser.cpp
index e55d063..29a02b7 100644
--- a/src/browser.cpp
+++ b/src/browser.cpp
@@ -41,11 +41,9 @@ inline Plugin loadPluginFromPath(const QString &path)
p.instance = std::shared_ptr<QObject>(loader.instance());
-#ifdef QT_DEBUG
} else {
qDebug("Loading pluing: %s [failed]", qUtf8Printable(path));
qDebug("%s", qUtf8Printable(loader.errorString()));
-#endif
}
return p;
@@ -56,6 +54,7 @@ inline QVector<Plugin> loadPlugins(const QString &path)
QVector<Plugin> list;
QFileInfo location(path);
if(!location.exists()) {
+ qDebug("Plugin location doesn't exist.");
return list;
}