Commit graph

5160 commits

Author SHA1 Message Date
Przemek Sitek
ef7113caca Save the return value of the panel's 'close' signal. 2008-04-07 01:19:53 +02:00
Przemek Sitek
e70925d064 Append the closed tabs items as a proper submenu. 2008-04-07 01:15:09 +02:00
Christian Dywan
00df47913d Use a default tab icon. 2008-04-05 16:22:42 +02:00
Christian Dywan
f261464c90 Use an empty URI if Load on Startup is Blank page. 2008-04-05 15:33:54 +02:00
Christian Dywan
793b030d3a Fix Reload/ Stop menu items.
The menu items were sensitive in reversed logic and the Stop item
had the icon and accelerator of the Reload item.

Now the sensitivity is fixed and the Stop item is Stop again.
2008-04-03 23:33:32 +02:00
Christian Dywan
f4abaeb00f Recognize the Enter key in the location entry. 2008-03-30 21:23:42 +02:00
Christian Dywan
a482dc36a8 Quick fix: Open URIs again. 2008-03-30 17:07:56 +02:00
Christian Dywan
ccba177ecb The location is empty and focused by default
When a new tab is opened it won't default to about:blank
but be empty and also gain focus automatically.
2008-03-30 16:55:46 +02:00
Przemek Sitek
b01eb78c9d Implement proper menu positioning.
Menu position is computed according to the widget position
and size as well as a hint indicating alignment to the
mouse pointer, left or right.
2008-03-29 22:38:59 +01:00
Przemek Sitek
173b05dd78 Add Polish translation. 2008-03-29 22:07:23 +01:00
Christian Dywan
00976c0536 Implement the Console panel for script messages. 2008-03-27 01:21:29 +01:00
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