Commit graph

90 commits

Author SHA1 Message Date
Christian Dywan
06aa03c6a6 Prevent blank pages from landing in the trash
This actually used to work but meanwhile the
definition of a blank view changed.
2008-10-10 22:50:56 +02:00
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
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
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
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
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
b41c13b8fa Make Find work again, and disable it for source tabs 2008-09-28 16:29:41 +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
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
f72f48542b Enable Help > Contents to open the FAQ on the web. 2008-09-07 22:41:03 +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
1d047c4ab5 Factor out katze_xbel_folder_from_data_dirs and _to_data 2008-09-04 00:35:15 +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
Dale Whittaker
8025d129a1 Alt + Enter in the location should issue a new tab 2008-08-31 03:21:29 +02:00
Christian Dywan
cad440fa33 Show progress in location entry if statusbar is hidden 2008-08-31 02:45:13 +02:00
Christian Dywan
6dc95a7a9c Refactor a lot of tree view selection code into convenience 2008-08-29 03:20:31 +02:00
Christian Dywan
be4038e555 Remove GIO HTTPS check again, it's not worth the trouble
Apparently lots of users cannot use Midori
after this change and with no way to track down
the cause of the issue, let's just not use this.
The check was only for minimal gain anyway
2008-08-28 00:55:35 +02:00
Arnaud Renevier
db599a99d5 Always show the icon in the Web Search entry 2008-08-26 01:59:02 +02:00
Christian Dywan
bf28e1097b Rework MidoriWebList into KatzeList and KatzeArray 2008-08-26 01:19:38 +02:00
Christian Dywan
1dfebf6c7f Use the right index for Undo Close Tab. 2008-08-24 03:05:00 +02:00
Christian Dywan
74a587f5e8 Use #if instead of #ifdef consistently 2008-08-23 23:44:55 +02:00
Christian Dywan
af2e90a4b1 Rename MidoriWebItem to KatzeItem 2008-08-23 18:32:53 +02:00
Christian Dywan
0fa0e9c342 Use HAVE_GIO instead of a full-blown version check 2008-08-22 04:01:41 +02:00
Christian Dywan
e62ca7a8c0 Don't implicitly change the URI when adding to LocationAction 2008-08-21 21:49:16 +02:00
Christian Dywan
9bf1b23feb Implement the Userstyles Addon panel 2008-08-18 01:24:26 +02:00
Christian Dywan
b9e19d79d6 Enable View Source only if GIO really supports HTTP 2008-08-17 19:11:43 +02:00
Christian Dywan
85dea9aa44 Use fallbacks for all icons, we don't want "broken" icons 2008-08-17 16:14:15 +02:00
Christian Dywan
80251606ff Use Ctrl+Shift+T for Undo Close Tab 2008-08-15 20:48:30 +02:00
Christian Dywan
13dc575968 Introduce Open Tabs next to Current
At the same time make Open popups in tabs readonly
and hide it in the Preferences, as well as
Open new pages in and the whole Privacy page.
2008-08-15 20:38:27 +02:00
Christian Dywan
6ab8bd6fd8 Fix Glib/ GtkSoureview conditionals 2008-08-15 02:50:18 +02:00
Christian Dywan
42095e3aa4 Don't use the wrong Trash callback 2008-08-15 02:18:33 +02:00
Christian Dywan
8dbd06ce47 Implement MidoriLocationAction
This is a step towards customziable toolbars.

The new action actually provides a nicer API than
MidoriLocationEntry does right now. Later we
should improve the widget itself as well.

There are still to resolve regressions:
- The location icon tends to be initially empty
- The news feed icon doesn't show up
- Tab icons sometimes load and reset again afterwards
2008-08-15 01:57:48 +02:00
Christian Dywan
6e910ee107 Create context menu items w/o accelerators 2008-08-10 19:54:22 +02:00
Christian Dywan
b38e3f429e Wrap _has_selection with a check if it is effectly empty 2008-08-10 19:22:34 +02:00
Christian Dywan
323cf2458d Hide the navigationbar initially
We need to make sure that the navigationbar
is initially invisible, so we hide it expressly.
Otherwise it shows up regardless of the
show-navigationbar setting.
2008-08-10 18:28:08 +02:00
Arnaud Renevier
cb0dd889e0 Use mnemonics in panel menu items 2008-08-10 14:17:21 +02:00
Christian Dywan
c04db2dd71 Remove small toolbar option completely, leave it to gtkrc 2008-08-05 02:40:51 +02:00
Christian Dywan
18e1cd7e74 Reuse the trashed item and remove it from the trash properly 2008-08-02 05:29:38 +02:00
Christian Dywan
e971c12c0b Show news feeds in a menu if the icon is clicked 2008-08-02 04:25:05 +02:00
Christian Dywan
68fe5e05e1 Use icons for Script and Extension 2008-08-01 15:49:47 +02:00
Christian Dywan
6f3f0f9d3d Build fix for < Gtk 2.12 and Glib < 2.16 2008-07-28 00:21:45 +02:00
Christian Dywan
2cb278cdb3 Add Midori and news-feed icons, improve waf scripts
Add small, optimized application icons and an all new
news-feed icon including optimized versions. The build
scripts are updated, and the data folder renamed to icons.
Plus the wscript_build is improved. Of course, Midori
now tests the icon theme for news-feed and uses it.
2008-07-27 07:39:39 +02:00
Christian Dywan
549310a7cd Ensure REMOVE_TAB emission, don't alter session when destroying 2008-07-25 12:45:50 +02:00