Commit graph

899 commits

Author SHA1 Message Date
Christian Dywan
2bb99e0030 Show the panel's name in the toolbar. 2008-03-27 00:55:09 +01:00
Christian Dywan
c8332ddf54 Fix panel close button. 2008-03-24 14:15:23 +01:00
Christian Dywan
fea97e80c3 Update .gitignore and remove po/Makefile.in.in 2008-03-24 14:12:00 +01:00
Mikael Magnusson
b8ac63e60a Add swedish translation. 2008-03-24 04:24:18 +01:00
Christian Dywan
e9710d3b3b Destroy the tab, not only the web view 2008-03-22 23:20:22 +01:00
Christian Dywan
be89221aea 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.
2008-03-22 03:38:23 +01:00
Christian Dywan
bf80618658 Update the TODO file. 2008-03-19 15:14:44 +01:00
Christian Dywan
44bc12c305 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.
2008-03-19 14:46:08 +01:00
Christian Dywan
02d7848c5d Add Open Link in New Tab and Open URL in New Tab.
Enhance the context menu to allow opening of links in a
new tab as well as any selected text that looks like an URL.
2008-03-13 01:21:59 +01:00
Christian Dywan
4a1e0ab67b Fix Back button and opening new tabs. 2008-03-11 20:27:23 +01:00
Christian Dywan
9abae486dd Build fix: Accidentally removed the wrong action. 2008-03-10 22:48:12 +01:00
Christian Dywan
e1f62329f1 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.
2008-03-10 22:26:09 +01:00
Nicholas E. Manley
622f8ee445 Don't restrict the minimum font size. 2008-02-11 07:37:29 +01:00
Christian Dywan
fbcd3a9680 Append a semicolon to the mime types in the desktop file.
According to the spec the list of mime types in a desktop
file 'should' end with a trailing semicolon.
2008-02-04 22:08:38 +01:00
Christian Dywan
25ac3e9932 Build fix: Webkit's header and pkgconfig name have changed. 2008-02-03 10:51:35 +01:00
Christian Dywan
65535e1d87 Build fix: Don't use regular expressions 2008-01-26 15:18:32 +01:00
Christian Dywan
1522f47002 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.
2008-01-26 08:49:48 +01:00
Christian Dywan
184b54e311 Add more preferences and Middle click goto
Add default font name and size, minimum font size and encoding
preferences. And implement Middle click goto with a preference.

Also the preferences dialog is a bit cleaned up.
2008-01-26 06:44:28 +01:00
Christian Dywan
cd1fe6bac7 Bump version to 0.0.17 2008-01-24 03:48:29 +01:00
Christian Dywan
6477032a6d Add a preference to choose a user stylesheet. 2008-01-23 05:27:54 +01:00
Christian Dywan
b2c0363cb4 Implement a few preferences with new settings API in WebKit
Allow changing a few preferences that WebKit now has API for
and clear the way for more to come.
2008-01-23 04:28:50 +01:00
Christian Dywan
22b277d94b Implement Add Bookmark and a small panel toolbar
Initially new bookmarks can be added. The panel gains a small
toolbar to Add, Edit and Delete items.

Besides a serious bug in the XBEL implementation is fixed and
a number of error checks is added..
2008-01-20 23:07:01 +01:00
Christian Dywan
f614f5874a Escape search engine name and description. 2008-01-20 18:10:53 +01:00
Christian Dywan
e94d8c74e8 Cleanup and WebKit API update 2008-01-20 18:05:16 +01:00
Christian Dywan
54e03ab030 Make sure selection actions have a widget.
The return value of gtk_window_get_focus can be NULL. Return
early in that case.
2008-01-09 07:44:56 +01:00
Christian Dywan
a9236468d9 Allow Find Next and Find Previous when the findbox is hidden.
The find text should be preserved after hiding the findbox until
it is shown again. Refactor the find code for both directions.
2008-01-09 07:39:19 +01:00
Sven Herzberg
2c08ccbef5 Fixed the header of the KatzeThrobber 2008-01-07 16:25:58 +01:00
Christian Dywan
d5a4f4cfd7 Move XBEL implementation to katze.
The implementation of XBEL is moved to katze, including the
appropriate api prefix and coding style changes. All relevant
uses are updated.
2008-01-06 01:44:37 +01:00
Christian Dywan
e2328a4bfc Implement a throbber widget.
The throbber is used in the menubar and individual tabs.

Clean infrastructure for private G* extensions is added.
2008-01-05 06:24:38 +01:00
Christian Dywan
4a8b2bb226 Always enable Select All if an editable widget is focussed. 2008-01-04 08:41:20 +01:00
Christian Dywan
3fc2bced12 Previous/ next tab menu items should be disabled when not needed. 2008-01-04 06:08:42 +01:00
Christian Dywan
7c45654993 Handle the context menu on button press, not release.
As stated in the reference popup menus should be opended
from button-press-event instead of button-release-event.
2008-01-03 02:16:06 +01:00
Ori Bernstein
75b0dc6735 Open the default page only if there is no session and no uri on the cli.
We only want to open a default homepage or blank page if neither
sessions are in use nor any uri is passed on the command line.
2008-01-02 07:34:58 +01:00
Christian Dywan
1b0b15f3de Bump version to 0.0.16
Add Ori Bernstein to AUTHORS.
2008-01-01 00:38:57 +01:00
Christian Dywan
36a97da3b8 Implement editing menu items for the web view.
Enable edit menu items in the menubar for the web view and show
editing related items in the context menu when appropriate.
2008-01-01 00:33:22 +01:00
Christian Dywan
b6f248f344 Implement the bookmarks panel with editing capabilities.
The bookmarks panel can display a tree of bookmarks and allows
editing and deleting of bookmarks via a context menu.

The XBEL implementation has been altered to work with a
reference count model to allow panels to update on their own.
2007-12-31 23:53:02 +01:00
Ori Bernstein
cd8b1e5b22 Prevent repeated checks for the desktop environment.
It is sufficient to check the desktop environment only once.
Also don't shadow 'stdin', 'stdout' and 'stderr'.
2007-12-27 02:42:11 +01:00
Christian Dywan
39dedae0d1 Fix coding style in sokoke.c/ sokoke.h, particularly variable names. 2007-12-27 02:27:05 +01:00
Ori Bernstein
352e4f7423 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.
2007-12-27 01:22:34 +01:00
Ori Bernstein
e3561c71ad 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.
2007-12-27 01:03:04 +01:00
Christian Dywan
3f4c2e3c14 Command line uris should replace the default page.
Don't open a blank page or the homepage respecitvely on startup
if an uri is specified in the command line.
2007-12-27 00:52:00 +01:00
Christian Dywan
84ceb56bf8 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.
2007-12-22 02:15:58 +01:00
Christian Dywan
cd1dce0e83 Enable inline find for websites
The text search and highlight api is now available in WebKit.
Therefore inline find for websites is enabled.
2007-12-20 13:56:29 +01:00
Christian Dywan
dcb8b2b8d1 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.
2007-12-20 02:07:22 +01:00
Christian Dywan
5928f8ad88 Build fix: Adapt WebKit api changes 2007-12-19 22:37:00 +01:00
Christian Dywan
6994580e28 Add Tab Size to preferences dialog 2007-12-19 11:56:51 +01:00
Christian Dywan
118baa716e Bump version to 0.0.15 2007-12-17 13:30:45 +01:00
Christian Dywan
fb00d180ad Build fix: Remove search api
Remove the search api that is not in upstream WebKit
2007-12-17 13:12:38 +01:00
Christian Dywan
3bbd273a4f Initial commit 2007-12-16 23:20:24 +01:00