Christian Dywan [Sun, 7 Dec 2008 00:56:42 +0000 (01:56 +0100)]
Refactor waf options to allow enable/disable consistently
Particularly Gentoo's way of packaging allows users to
specify all features of a package manually, therefore we
allow enabling options and cause a fatal error if the
dependency is not satisfied.
Christian Dywan [Wed, 3 Dec 2008 03:16:19 +0000 (04:16 +0100)]
Support opening of new windows
The preference determining where to open those windows
is not currently honored, so everything goes in a new tab.
Incidentally compile time checks guarding the web inspector
are replaced with runtime checks here, and the same
approach is used for the create-web-view signal. The
features are used if available.
Christian Dywan [Thu, 20 Nov 2008 00:49:04 +0000 (01:49 +0100)]
Let MidoriApp be a normal instance
There is hardly a practical need for the application
to be a singleton, it's cleaner and it prevents
extensions from reaching out for it before activation.
Christian Dywan [Thu, 20 Nov 2008 00:22:25 +0000 (01:22 +0100)]
Change extension API to split initialization and activation
We want to be able to keep extensions in a state where
they don't actually do anything but merely provide
context information. Therefore don't pass the MidoriApp.
As soon as we want to use extensions, we activate them.
Extensions are now saved in an array in MidoriApp.
Christian Dywan [Mon, 10 Nov 2008 00:08:38 +0000 (01:08 +0100)]
Faciliate translation workflow, look at TRANSLATE for details
Also three strings are marked untranslatable since they never
appear in the user interface and 'Unhandled settings value'
is reworded to 'Invalid configuration value'.
Christian Dywan [Sun, 9 Nov 2008 18:09:35 +0000 (19:09 +0100)]
Move completion logic from LocationEntry to LocationAction
This resolves various indirections, and since we are always
using the action anyway, we finally move all logic to one
place. There should be room for optimizations now.
Incidentally this also keeps the completion intact if
the entry needs to be recreated.
Christian Dywan [Sat, 8 Nov 2008 02:24:02 +0000 (03:24 +0100)]
Do not load icons automatically everywhere
KatzeNet won't attempt to load icons that are not
cached unless the caller provides an icon callback.
For the moment, this means much less loading
for items that are not actually visible, but for
visiting pages or looking at bookmark menus.
Christian Dywan [Sat, 8 Nov 2008 02:05:30 +0000 (03:05 +0100)]
Introduce descriptive comments meant to help translators
intltool automatically embeds comments in the po template
if they are directly before a translatable string. From
now on we will try to avoid leaving accidental comments
and instead put descriptive comments for translators
before strings, starting with 'i18n'.
Dale Whittaker [Sat, 8 Nov 2008 01:23:08 +0000 (02:23 +0100)]
Implement sorting location items by the number of visits
For the moment, a define in the code decides whether items
are sorted based on when they were added or how often
a page was visited. The 'visits' property and respective
database column is unused (we keep it for compatibility).
It turns out it's enough to store that information in
the tree model.
The visit based sorting is not enabled because it is
simply delaying startup incredibly. It will have to be
decided whether to introduce a preference, or always use
a visited based sorting once the startup delay is fixed.
History items are also deleted from the tree model now
if they are too old, according to the preference.