Christian Dywan [Sat, 31 May 2008 22:21:08 +0000 (00:21 +0200)]
Provide action signals as javascript functions
From javscript C functions cannot be called, but signals
are available through the GObject type system. So
we allow javascript to call action signals like functions.
At the same time we modify a few browser functions, so
that they are functions that are available as signals.
Christian Dywan [Thu, 22 May 2008 22:17:10 +0000 (00:17 +0200)]
Implement MidoriApp singleton and improve multiple window support
The new singleton holds the shared settings and trash. It is
further more used to keep track of all open windows and quits
when the last window was closed. It also watches the focus in
case you need something like a "current" browser.
Enrico Tröger [Tue, 20 May 2008 01:01:54 +0000 (03:01 +0200)]
Remember the last opened folder for File Open
The File Open dialog should remember the last opened folder
or try to obtain it from the currently opened web view.
Besides the dialog ought to be transient.
Christian Dywan [Mon, 5 May 2008 22:51:04 +0000 (00:51 +0200)]
Make javascript gobject bindings independant.
Moving the bindings into a single file makes them independant
of addons and midori, requiring only JavaScriptCore and GObject.
This allows for standalone scripts to run independant from
Midori itself. Also extensions will run independant from a
browser instance.
This change removes the 'midori' object.
Christian Dywan [Tue, 22 Apr 2008 21:36:37 +0000 (23:36 +0200)]
Show hidden location/ web search temporarily when needed.
If the location or web search was hidden, and one attempted
to use the menus or shortcuts for Location or Web search,
an appropriate dialog with an entry was shown.
Now we show the according widget temporarily and hide it again
once it loses focus.
Christian Dywan [Tue, 22 Apr 2008 20:19:24 +0000 (22:19 +0200)]
Update interface and web featureswith preference changes.
The toolbar style, small toolbar, New Tab, Web Search and
Trash buttons are shown or hidden respectively as
the preference values change.
This is also an attempt at updating the web view's settings
immediately. Although it seems to work, an ugly warning is
emitted to the console on every change.
Christian Dywan [Sun, 13 Apr 2008 19:51:43 +0000 (21:51 +0200)]
Switch configuration to MidoriWebSettings.
Switch configuration logic from a custom structure to
fully rely on MidoriWebSettings. This includes revamping
the preferences dialog. The old logic is not yet
replaced completely, this will follow soon, thus several
settings will have no effect right now.
Christian Dywan [Sun, 13 Apr 2008 19:21:39 +0000 (21:21 +0200)]
Implement property proxy widget creation.
The functions katze_property_proxy and katze_propery_label
can intelligently create widgets that represent properties
of a particular object. This allows for building up a
configuration interface with few to no code dealing with
specific settings.
Christian Dywan [Sat, 22 Mar 2008 02:38:23 +0000 (03:38 +0100)]
Implement localization via Gettext.
Based on the implementation of localization via Gettext
contributed by Enrico Tröger, a few adjustments were made
to allow Midori to be properly localized. Initially
German is fully supported.
Christian Dywan [Wed, 19 Mar 2008 13:46:08 +0000 (14:46 +0100)]
Add common context menu items and cleanup.
Add the actions UndoTabClose, BookmarkNew, SaveAs, SourceView and Print
to the context menu. Also add UndoTabClose to the Go menu, remove
STOCK_SOURCE_VIEW and remove ui.h which is obsolete.