Commit graph

61 commits

Author SHA1 Message Date
Christian Dywan
03678a16b1 Use WebKitWebView:session property if it exists 2009-01-15 03:29:47 +01:00
Christian Dywan
0d24549112 Display a message if a document cannot be displayed 2009-01-12 00:26:45 +01:00
Christian Dywan
d55b6ddd00 Only set the proxy icon of the View if we have an item 2009-01-10 20:18:26 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
43f48a9b43 Let glib-genmarshal write our marshallers 2009-01-08 02:29:07 +01:00
Christian Dywan
2c1b05913a Propagate mime icons from views to proxy items 2009-01-06 02:09:35 +01:00
Christian Dywan
001945d86b Revisit the failed attempt to correct MidoriView 2009-01-05 18:41:45 +01:00
Christian Dywan
167af26029 Correct handling of settings in MidoriView 2009-01-04 21:50:07 +01:00
Christian Dywan
6bb3fb442e Various string changes and additions 2009-01-04 19:25:48 +01:00
Christian Dywan
813a29de94 Obtain the MIME type from WebKit, for the icon and View Source 2009-01-02 02:28:04 +01:00
Christian Dywan
d8ace08277 Miscellaneous improvements and cleanup in MidoriView 2008-12-21 17:52:10 +01:00
Christian Dywan
aeb71dd7b4 Add support for javascript: bookmarklets 2008-12-09 00:02:38 +01:00
Christian Dywan
426eb74c91 Support Mouse Back and Forward buttons 2008-12-08 23:45:38 +01:00
Christian Dywan
191a613fc8 Share one session among all KatzeNet instances 2008-12-07 21:36:42 +01:00
Christian Dywan
6f4b895dfb Fix view context menu items such as View source 2008-12-06 14:25:42 +01:00
Christian Dywan
cc329ec706 Support opening of new windows
The preference determining where to open those windows
is not currently honored, so everything goes in a new tab.

Incidentally compile time checks guarding the web inspector
are replaced with runtime checks here, and the same
approach is used for the create-web-view signal. The
features are used if available.
2008-12-03 04:16:19 +01:00
Christian Dywan
a4e6720fd7 Localization string improvements 2008-11-30 02:08:28 +01:00
Christian Dywan
687179a747 Tab labels should adjust to the notebook orientation 2008-11-25 23:51:10 +01:00
Christian Dywan
4b06ec3c1f Replace window-object-cleared with context-ready
Introduce MidoriBrowser::load-status and also
midori_view_execute_script while we are at it.
2008-11-23 05:22:58 +01:00
Christian Dywan
24ca48cc1e Move variable declarations to the beginnings of blocks 2008-11-16 02:00:17 +01:00
Enrico Tröger
c49ed67ab0 Correct usage of datatypes in a number of places 2008-11-16 01:04:12 +01:00
Enrico Tröger
bd65ef323b Make mouse click handling more consistent 2008-11-12 00:47:09 +01:00
Enrico Tröger
30086f10ed Use custom key modifier mask 2008-11-12 00:16:03 +01:00
Enrico Tröger
c634ff7395 Use event->state instead of manually retrieving the state 2008-11-11 23:42:22 +01:00
Alexander Hesse
819dfd8d77 Open links in new tabs using Control and Left mouse button 2008-11-11 22:12:26 +01:00
Christian Dywan
91e2cb4129 Unset the tab icon if it is destroyed 2008-11-10 22:02:43 +01:00
Christian Dywan
0bfb12f0b1 Faciliate translation workflow, look at TRANSLATE for details
Also three strings are marked untranslatable since they never
appear in the user interface and 'Unhandled settings value'
is reworded to 'Invalid configuration value'.
2008-11-10 01:08:38 +01:00
Christian Dywan
38c6ad5dad Implement Save As for arbitrary links 2008-11-09 22:07:42 +01:00
Christian Dywan
7c63a0b480 Make Open selected URL in New Tab work again 2008-11-09 19:51:12 +01:00
Christian Dywan
3c450ebc97 Introduce descriptive comments meant to help translators
intltool automatically embeds comments in the po template
if they are directly before a translatable string. From
now on we will try to avoid leaving accidental comments
and instead put descriptive comments for translators
before strings, starting with 'i18n'.
2008-11-08 03:05:30 +01:00
Christian Dywan
02751ee575 Simplify Download menu item and hide WebKit's item 2008-11-01 19:25:13 +01:00
Christian Dywan
96ddc8ae0a Initial support for the Web Inspector 2008-11-01 19:15:58 +01:00
Christian Dywan
d1b64e6d48 Fix tab icon alignment and hiding throbber fallback when needed 2008-10-30 22:17:19 +01:00
Christian Dywan
80128d9315 Apply some cleanup with regard to referencing and more 2008-10-30 02:21:19 +01:00
Christian Dywan
4a3501a279 Share net between browser and views 2008-10-27 04:23:41 +01:00
Christian Dywan
e83f93742d Change tab components again, correct close button placement 2008-10-26 17:08:26 +01:00
Christian Dywan
c82624f16a Change tab close buttons so they are less missaligned 2008-10-26 01:36:15 +02:00
Christian Dywan
b931e1bf53 Improve OSX adjustments in various places 2008-10-26 00:54:57 +02:00
Christian Dywan
dd45aed139 Blank tabs should be titled "Blank page". 2008-10-24 00:25:17 +02:00
Christian Dywan
5c69e0269d Implement KatzeNet as a generic URI loader
KatzeNet can from now on be used where
URIs are handled and one would have used
libSoup and/ or local file handling as
appropriate, whereas KatzeNet does both.

Since we are displaying icons in several
places KatzeNet also provides an icon
loader that saves us from doublicating
even more code.

All bookmarks and also history items have
icons now, since KatzeNet makes that
incredibly easy.

Search engines are also using favicons
now, and right now custom icons don't
work, we still need to fix that.

Note that only icons are cached, nothing
else and the code is known to have a
hidden, hard to reproduce crasher which
may appear when an icon is newly loaded.
2008-10-24 00:09:12 +02:00
Christian Dywan
e848d1df6e Require Gtk 2.10 and don't treat GIO specially anymore 2008-10-20 00:41:52 +02:00
Christian Dywan
7f8fc2b31d Implement viewing source with libsoup 2008-10-20 00:13:41 +02:00
Christian Dywan
a6e4d7b84b Load and cache favicons with libsoup instead of GIO
The previous code relied on GIO implementing HTTP
with libsoup, so this is effectively not a new
dependency. And since many people don't have GVfs
and even if they do, somehow GIO doesn't work as
good as one should expect, direct use of libsoup
is actually an improvement. Plus the new code
caches icons on disk which we didn't do before.
2008-10-19 22:18:07 +02:00
Christian Dywan
952729e4ae Show URL in New Tab menu item only over selections 2008-10-18 23:21:06 +02:00
Enrico Tröger
51d111d85c Optimize view popup population 2008-10-18 22:50:58 +02:00
Christian Dywan
3f5ac14b45 Disconnect view settings notification in finalize 2008-10-17 21:12:16 +02:00
Christian Dywan
7849f28e08 Display a shaded logo in error pages 2008-10-16 03:51:39 +02:00
Christian Dywan
58255d19aa Do not localize object properties, except WebSettings
Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.

In short, make translation work much easier.
2008-10-15 03:32:11 +02:00
Christian Dywan
7597e2026d Undo tabs-in-processes, it didn't work out
We are not literally undoing in the sense of
reverting, this is actually about undoing
the individual parts of the last refactoring
that implemented the socket/ plug logic.

As turned out, the idea was nice but the
implementation was absolutely not, embedding
of processes in a graphical way is not
at all reliable enough for complex use cases.

Naturally this change should solve all sorts
of peculiar issues, including actual
regressions in functionality. Relieving.
2008-10-15 03:07:38 +02:00
Christian Dywan
b7bc4af7ce Make titles show URIs again instead of only about:blank 2008-10-12 15:33:28 +02:00