Commit graph

354 commits

Author SHA1 Message Date
Christian Dywan e1b828edf2 Finish refactoring the toolbar to use only actions
Finally the trash, which was the last item that
needed to be implemented as an action, is an
action, a KatzeArrayAction to be exact.

This simplifies more code and also makes Window
and RecentlyVisited generically implementable.

Incidentally this change also fixes a bug where
the browser tried to add a new tab when the last
one was closed, even while destroying itself.

Furthermore sokoke_image_menu_item_ellipsized
and sokoke_widget_popup were promoted to Katze.
We're still keeping the old functions for now.
2008-10-10 22:31:37 +02:00
Brandon Mercer 16e47a6a1f Don't use 'stdin' or 'stdout' as variable names 2008-10-08 15:45:34 +02:00
Christian Dywan 9abfe87be9 The URI of blank tabs is "", the title is "about:blank".
Something in the stack seems to magically turn
empty strings into about:blank, which is a problem
if we want to be able to start typing right away
when opening blank tabs.

We simply enforce the desired behaviour now.
2008-10-07 22:30:09 +02:00
Christian Dywan 63fc20b6f4 Assign KatzeItem property strings properly 2008-10-07 03:24:27 +02:00
Dale Whittaker d445745787 Implement navigation history backed by sqlite
The implementation relies on KatzeArray for the
most part and only does the storage with sqlite
behind the scenes. The change includes a working
History panel. Changes to the database are
committed in realtime.
2008-10-07 02:19:33 +02:00
Christian Dywan a13f8b64b3 Remove the proxy hack, it's not reliable at all 2008-10-06 00:27:25 +02:00
Christian Dywan ba6386850e Implement the search widget as an action
The most part of the search entry code is merely
moved to the new action. We remove the original
entry now, the action is all we need.
2008-10-05 23:25:02 +02:00
Christian Dywan aa5602ec9e Add Always Show Tabbar preference 2008-10-04 01:45:17 +02:00
Christian Dywan f7436303f6 Move Find items to Edit again 2008-10-04 01:00:34 +02:00
Christian Dywan ba681359f5 Undo the Primary Clipboard hack, WebKit has it now 2008-10-04 00:56:05 +02:00
Christian Dywan 5eb74b6bf3 Connect Help in Preferences to HelpContents 2008-10-04 00:46:54 +02:00
Christian Dywan 8953a9b26b Integrate documentation, bug tracker and website 2008-10-03 22:23:00 +02:00
Christian Dywan e4238d7c73 Initial attempt at user documentation 2008-10-03 22:14:14 +02:00
Christian Dywan c36784229c Make sure to present the window when opening a tab 2008-10-03 05:45:10 +02:00
Christian Dywan 1801298731 Remove User stylesheet entirely, don't support it 2008-10-03 03:44:16 +02:00
Christian Dywan 37aca287b4 Remove a few still unimplementable items
Remove Page setup, Print preview, Undo, Redo
and Tab overview. We still can't implement any
of these items, so let's just keep focussing on
what we *can* implement.
2008-10-03 03:42:18 +02:00
Christian Dywan 95111a054c Reimplement missing preferences
Implement font properties, web features,
Middle click opens selection,
Open tabs in the background and proxy.

While we are at it, remove Tab label size.
2008-10-03 00:49:16 +02:00
Christian Dywan fb320cc0b6 Finally obsolete KatzeXbelItem 2008-10-01 04:00:16 +02:00
Christian Dywan 353533c8a7 Fix running standalone javascripts 2008-09-30 20:17:20 +02:00
Christian Dywan b41c13b8fa Make Find work again, and disable it for source tabs 2008-09-28 16:29:41 +02:00
Christian Dywan 213ae2f74a Fix Back and Forward sensitivity 2008-09-28 11:00:31 +02:00
Christian Dywan b76b0fa04e Remove Manage Bookmarks item 2008-09-26 23:39:39 +02:00
Christian Dywan 62838fdf58 Implement tabs in individual processes
The approach is rather plump, Midori can be
run in a plug mode that creates a GtkPlug,
while the normal instance knows how to embed it.

Communication between browser and tabs is
done via named pipes which are portable.

The feature is not complete right now, there
are expected regressions, but it works.

As a bonus, we implement Not found pages.
2008-09-26 23:30:52 +02:00
Christian Dywan 45f32f3f77 Don't show the zoom stepping preference at all 2008-09-24 02:09:26 +02:00
Christian Dywan 6fb2d5b22f Really don't show the Stylesheet preference 2008-09-24 02:07:15 +02:00
Christian Dywan 7c4480ca53 Always use Glib error directly if gtk_init failed 2008-09-23 17:16:22 +02:00
Kristjan Siimson 0943ac252e Fix translator-credits in Estonian translation 2008-09-16 06:43:17 +02:00
Kristjan Siimson f68fa4bbe7 Add Estonian translation. 2008-09-14 12:53:10 +02:00
Christian Dywan ea2daa62de If there's no statusbar, force location visibile for progress
The idea is that if you hide the statusbar and the
location you don't usually need it, but progress
is something you are still interested in. So show
the navigationbar during progress changes and hide it
normally otherwise.
2008-09-11 02:14:53 +02:00
Christian Dywan c80b7053f4 Hide the User Stylesheet preference if unused
We have more powerful options in the form of
addon panels by now. If someone uses it they may
keep their preference or clear it, but otherwise
we don't show the widget anymore.
2008-09-11 02:00:52 +02:00
Christian Dywan 4f80303e54 Make the Manage Search Engines dialog a bit smaller 2008-09-11 01:50:22 +02:00
Christian Dywan 4d4df1ed09 Make spin buttons smaller 2008-09-11 01:49:50 +02:00
Christian Dywan 04ad087d98 Make the Preferences more compact 2008-09-11 01:49:01 +02:00
Christian Dywan 2c1cdb0573 Running "midori" should open a new window 2008-09-10 19:48:45 +02:00
Christian Dywan b62869a49b Support multiple URIs on the command line 2008-09-10 19:18:16 +02:00
Christian Dywan c9f582616d Fix the legacy build 2008-09-10 18:27:11 +02:00
Christian Dywan f72f48542b Enable Help > Contents to open the FAQ on the web. 2008-09-07 22:41:03 +02:00
Christian Dywan ee33d8e3dd Add option to generate API documentation 2008-09-07 21:48:04 +02:00
Arnaud Renevier cecce23061 Fix doc domment for katze_array_remove_item 2008-09-07 20:31:09 +02:00
Christian Dywan 30cbc635d6 Ellipsize menu items referring to websites or bookmarks.
Originally menu items could in some cases become as wide as
the whole screen, making working with menus rather hard.

Now we ellipsize at 50 characters in the middle of the string.
2008-09-07 03:39:25 +02:00
Christian Dywan 1a0718805e Fix unwanted hotkeys in context menu items again 2008-09-07 03:07:11 +02:00
Christian Dywan fc507daf56 Update German translation 2008-09-07 02:38:38 +02:00
Robert-André Mauchin e4f8fb1237 Update French translation 2008-09-05 21:07:34 +02:00
Christian Dywan 1d047c4ab5 Factor out katze_xbel_folder_from_data_dirs and _to_data 2008-09-04 00:35:15 +02:00
Christian Dywan 065cfd0816 Disable localization file updates and make them optional 2008-09-03 03:20:35 +02:00
Christian Dywan 131b911ab5 Rename main.h to midori-stock.h 2008-09-03 02:39:25 +02:00
Christian Dywan c3f50388a1 Make bookmarks a property of browser and app
This means we have removed the last remaining
global variable.
2008-09-03 02:28:54 +02:00
Arnaud Renevier 06d47bf3a9 Implement enabling/ disabling addons
This patch doesn't take care of saving state to disk
and the feature is not currently multi window aware.
2008-08-31 21:33:32 +02:00
Christian Dywan efab194b63 First move towards superseding KatzeXbelItem by KatzeItem
The idea is, since we have KatzeItem, KatzeList and KatzeArray
now, except for KatzeXbelItem's loading and saving XBEL the
interface is obsolete.

As a bonus, we actually save the trash again.
2008-08-31 20:48:13 +02:00
Christian Dywan 88956ae34c Bump version to 0.0.21 2008-08-31 17:23:03 +02:00