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.
Christian Dywan [Mon, 10 Mar 2008 21:26:09 +0000 (22:26 +0100)]
Initial refactoring work, regressions expected
The 'browser' struct is superseded by MidoriBrowser, which actually
represents a window that holds pages, i.e. tabs. The tabs are currently
of the type MidoriWebView, which is a slightly enhanced WebView. Also
MidoriWebSettings is introduced to hold additional settings that Midori
needs.
The other two new classes are MidoriTrash, representing closed tabs and
windows and MidoriPanel, representing the side panel.
The refactoring allows for several features to be much more easily
implemented, such as full support for multiple windows and instant
saving of modified files, such as bookmarks or the session. Regressions
are expected and not everything is done yet.
Christian Dywan [Sat, 26 Jan 2008 07:44:31 +0000 (08:44 +0100)]
Implement Fullscreen mode
A new menuitem toggles Fullscreen mode, which means that the
menubar is hidden, the window is maximized and window manager
decoration is removed. A new button appears in the navibar
which reverts this process.
Fullscreen relies entirely on the window manager, which has the
advantage that window manager keybindings have the same effect
as activating the Fullscreen menuitem. At the same time this
means that Fullscreen won't work at all without it.
Ori Bernstein [Thu, 27 Dec 2007 00:22:34 +0000 (01:22 +0100)]
Don't update the remembered window size when maximized.
If the window is maximized the effective size matches the available
screen size, thus after restarting the browser we end up with a
window the size of the screen in normal state.
Ori Bernstein [Thu, 27 Dec 2007 00:01:22 +0000 (01:01 +0100)]
Don't remember the window position but the size only.
It is often useful to have multiple browser windows opening at once,
and having them open on top of each other is counterproductive.
Most window managers, on the other hand, have code to decide where
to place a window so that it is accessible by the user.
Christian Dywan [Sat, 22 Dec 2007 01:15:58 +0000 (02:15 +0100)]
More effective status updates and less entry flickering
The statusbar and progressbar respectively should not
be updated too generously. Optimizing the status updates
reduces flickering of entries remarkably.
Christian Dywan [Thu, 20 Dec 2007 01:07:22 +0000 (02:07 +0100)]
Make the progressbar work properly again
The code was not updated along with other changes in the past.
It was cleaned up to work properly again, particularly the percentage
is displayed in text form again.