Commit graph

2219 commits

Author SHA1 Message Date
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
Enrico Tröger
3b9abe6306 Free selected text, even if it is an empty string 2008-08-15 11:24:52 +02:00
Christian Dywan
97793d88cb Actually commit MidoriLocationAction this time 2008-08-15 10:07:51 +02:00
Christian Dywan
48885bf9ae Create proxy menus without accels properly
Actually attempting to imitate Gtk's logic for
creating menu items from actions was silly. It
even had a rather obvious bug, no signals
were ever connected.

Now we leave all the work except for creating
an empty image menu item to Gtk. And it
works better than before.
2008-08-15 02:58:09 +02:00
Christian Dywan
6ab8bd6fd8 Fix Glib/ GtkSoureview conditionals 2008-08-15 02:50:18 +02:00
Arnaud Renevier
c17f7135dd Look for userscripts in system paths 2008-08-15 02:20:05 +02:00
Christian Dywan
42095e3aa4 Don't use the wrong Trash callback 2008-08-15 02:18:33 +02:00
Christian Dywan
8ac30357c0 Move around headers and localization code 2008-08-15 02:03:55 +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
Christian Dywan
bb8eb7d5c1 Remove LIBSEXY from wscript_build, it's long obsolete 2008-08-10 14:19:03 +02:00
Arnaud Renevier
cb0dd889e0 Use mnemonics in panel menu items 2008-08-10 14:17:21 +02:00
Przemysław Sitek
8ff2856bf6 Add #ifdefs around GFile to allow building with Glib < 2.16 2008-08-06 20:22:45 +02:00
Christian Dywan
a41a0e008e Move MidoriWebList and MidoriWebItem to Katze 2008-08-05 05:03:05 +02:00
Arnaud Renevier
580256e5c4 Read and display @name in userscript metadata block 2008-08-05 03:08:54 +02:00
Christian Dywan
c04db2dd71 Remove small toolbar option completely, leave it to gtkrc 2008-08-05 02:40:51 +02:00
Arnaud Renevier
539a8f35c8 Disconnect load-done handler when finalizing 2008-08-03 04:58:45 +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
c9e57de8d6 Scruffily clean up MidoriWebList when finalizing 2008-08-02 04:25:54 +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
947761c32d Capitalize Midori in --version output 2008-08-01 15:43:24 +02:00
Christian Dywan
e9e29e92f6 Restrict addons to files with particular extensions 2008-08-01 15:40:23 +02:00
Arnaud Renevier
bc85edacdf Simplify meta block parsing and support Glib < 2.14 2008-07-30 01:37:07 +02:00
Dale Whittaker
630e88d9af Lookup favicons in 'link' tags via GJS 2008-07-30 01:34:37 +02:00
Dale Whittaker
6a32c93138 Improve location favicon updating 2008-07-30 01:32:45 +02:00
Arnaud Renevier
b85bd2d3ef Initial attempt at userscript include/ exclude directives 2008-07-28 15:25:02 +02:00
Arnaud Renevier
486aa8f5dc Unref the current engine only if it is set 2008-07-28 00:34:58 +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
892a166eea Emulate window-object-cleared if it wasn't emitted 2008-07-26 02:26:58 +02:00
Christian Dywan
549310a7cd Ensure REMOVE_TAB emission, don't alter session when destroying 2008-07-25 12:45:50 +02:00
Christian Dywan
3301b37803 Save the session whenever it changes, instead of on quit. 2008-07-23 20:17:13 +02:00
Christian Dywan
5e66e09c00 Make statusbar children fit in better 2008-07-23 18:23:21 +02:00
Christian Dywan
28141e8bac Revamp the loading signals of MidoriWebView 2008-07-23 17:54:24 +02:00
Christian Dywan
6be7e2ec92 Remove inner border between scrollbars and window border 2008-07-23 14:42:27 +02:00
Christian Dywan
6dba8bb33b Highlight the Clear icon in the findbar 2008-07-22 14:53:25 +02:00
Christian Dywan
2e60726c74 Make tabs with close buttons as small as without 2008-07-22 14:48:30 +02:00
Dale Whittaker
3e6f7eeeae Escape strings used in markup 2008-07-22 12:37:02 +02:00
Christian Dywan
e7024a7060 Correct icon handling, which could cause warnings 2008-07-22 02:17:03 +02:00
Christian Dywan
7e8119e5f6 Toggle ZoomReset as the zoom level changes 2008-07-22 01:51:08 +02:00
Arnaud Renevier
030a6af57c Run userscripts on DOMContentsLoaded 2008-07-22 01:40:39 +02:00
Christian Dywan
4580486d36 Use notify::title instead of title-changed 2008-07-22 01:39:29 +02:00
Christian Dywan
a1213c80d9 Add gjs_value_forall and gjs_get_nth_attribute 2008-07-21 20:04:54 +02:00
Christian Dywan
6ebb81bf90 The WebList should keep a reference to added items 2008-07-21 15:57:10 +02:00
Christian Dywan
15f4ab98d4 Make the web view aware of news feeds
This introduces the logic needed to lookup news feeds
and implements a signal news-feed-ready in MidoriWebView,
similar to icon-ready.
The interface in the browser still needs to be done.
2008-07-21 15:55:08 +02:00
Christian Dywan
94d7e7dc53 Introduce GjsValue API 2008-07-21 15:46:35 +02:00
Arnaud Renevier
83285cb052 Use an anonymous function to execute user scripts 2008-07-19 17:52:03 +02:00
Christian Dywan
002035e389 Capitalize Midori in the window title 2008-07-19 16:18:41 +02:00
Arnaud Renevier
2f7570cfbd Disconnect handlers when destroying the treeview 2008-07-19 05:58:32 +02:00
Christian Dywan
cd930fcfa8 Show the panel when it is opened from the menu 2008-07-19 05:06:41 +02:00
Christian Dywan
d06daa12f0 Attempt to fix a build issue with GtkIconEntry 2008-07-19 04:22:40 +02:00
Christian Dywan
4f0f228dc4 Load favicons asynchronously 2008-07-19 04:06:10 +02:00
Dale Whittaker
efb148f58e Introduce MidoriLocationEntry and GtkIconEntry 2008-07-17 21:02:14 +02:00
Christian Dywan
9ba5513934 Avoid loading favicons unless we need to 2008-07-17 19:15:36 +02:00
Dale Whittaker
272046d94a Add image/vnd.microsoft.icon to favicon support 2008-07-17 12:34:34 +02:00
Christian Dywan
657cbbb60e Fav favicon mime comparison again 2008-07-17 11:51:17 +02:00
Dale Whittaker
4ac54eec03 Workaround a GIO bug that causes an infinite loop 2008-07-17 09:58:08 +02:00
Christian Dywan
7f388237dc Reintroduce Download Manager preference 2008-07-16 22:32:37 +02:00
Christian Dywan
05426deadb Reverse Open tabs in the background with Ctrl 2008-07-16 18:08:47 +02:00
Christian Dywan
7f0da8ac84 Emulate primary clipboard and fix Middle click opens selection 2008-07-16 16:04:54 +02:00
Enrico Tröger
31fa4004ae Preliminary fix for crash after removing a bookmark 2008-07-16 14:24:30 +02:00
Christian Dywan
052bd7eeda Some work towards signal support in gjs 2008-07-15 20:37:52 +02:00
Christian Dywan
0b5dcbfe10 Recognize image/x-ico favicons as well 2008-07-15 17:54:18 +02:00
Christian Dywan
834e69cf64 Make sure icon is initiallized as NULL 2008-07-15 17:40:55 +02:00
Christian Dywan
0c52a484e9 Look for favicons in all parent folders 2008-07-15 01:57:07 +02:00
Christian Dywan
87f5ce1c55 Ensure SourceView really works with a valid file. 2008-07-15 00:36:26 +02:00
Christian Dywan
762babfeee Fix favicon support properly 2008-07-14 21:15:33 +02:00
Christian Dywan
aecac9b748 Fix tab closing for good 2008-07-14 21:14:57 +02:00
Enrico Tröger
17b8738be1 Fix regression, no empty tooltips in bookmark bar 2008-07-13 23:34:25 +02:00
Christian Dywan
103df3d8cc Use GtkSourceView2 if available 2008-07-13 23:21:46 +02:00
Christian Dywan
a249a6d6f7 Conditionalize SourceView for older Glib 2008-07-13 22:09:52 +02:00
Christian Dywan
96fef89ece Actually handle non web view tabs, and a View Source tab 2008-07-13 21:49:57 +02:00
Christian Dywan
30c6102763 Hack to implement New Window menuitem 2008-07-13 16:20:27 +02:00
Christian Dywan
25edd5e13b Fix Gtk+ < 2.13 and GIO build 2008-07-06 23:47:40 +02:00
Christian Dywan
c796974152 Remove remnants of tab iconification, fixes swalloed clicks. 2008-07-06 16:28:01 +02:00
Christian Dywan
24a9f1dd42 Limit trash to contain 10 items 2008-07-06 16:13:42 +02:00
Christian Dywan
e6eaab55a1 Basic favicon support through GIO 2008-07-06 16:12:27 +02:00
Arnaud Renevier
9391b0fe21 Disconnect midori_web_view_settings_notify on finalize 2008-06-29 16:10:56 +02:00
Christian Dywan
04d3ae6506 Make WebList more flexible so it can replace Trash 2008-06-24 21:54:01 +02:00
Christian Dywan
282368ff81 Fix a warning on startup when no search engine is available 2008-06-22 12:44:31 +02:00
Christian Dywan
bec502534c Fix compat.c s/sokoke/gtk/_widget_set_tooltip_text 2008-06-21 23:59:41 +02:00
Christian Dywan
e74dc621c8 Improve SearchEntry and add Manage Search Engines to popup 2008-06-21 23:57:20 +02:00
Christian Dywan
9ab74673a8 Web Search should be Ctrl+K instead of Ctrl+Shift+F 2008-06-20 00:11:54 +02:00
Christian Dywan
3535ed6e48 Fix search from location bar 2008-06-20 00:06:12 +02:00
Christian Dywan
3537ef3e8d Listen properly to switching the search engine 2008-06-19 21:00:32 +02:00
Christian Dywan
778faa8346 Simplify MidoriWebView, remove Private 2008-06-19 20:42:16 +02:00
Christian Dywan
b196dc5b57 Simplify MidoriWebSettings, remove Private 2008-06-19 20:41:43 +02:00
Christian Dywan
f10ca31827 Simplify MidoriPreferences, remove Private 2008-06-19 20:41:05 +02:00
Christian Dywan
673856ab81 Simplify MidoriPanel, remove Private 2008-06-19 20:40:37 +02:00
Christian Dywan
585977cb02 Simplify MidoriConsole, remove Private 2008-06-19 20:40:01 +02:00
Christian Dywan
a7ebd75387 Simplify MidoriBrowser, remove Private 2008-06-19 20:39:00 +02:00
Christian Dywan
38c48dd9f6 Finish missing web search functionality 2008-06-16 01:13:27 +02:00
Christian Dywan
f628b7dc5f Add a Bookmark Add item to the link context menu. 2008-06-15 13:29:30 +02:00
Christian Dywan
4e39a4feef Include compat.h to build with Gtk+ 2.10 again 2008-06-15 12:02:01 +02:00
Christian Dywan
7df5d483f9 Complete move of webSearch, third step of refactoring web search 2008-06-15 04:02:56 +02:00
Christian Dywan
3ac8bdb438 Introduce MidoriWebList, second step of refactoring web search 2008-06-14 02:23:33 +02:00
Christian Dywan
86129a03da Merge MidoriAddonsPrivate with MidoriAddons and hide it 2008-06-12 23:58:08 +02:00
Christian Dywan
1ffbfaded9 Merge MidoriAppPrivate with MidoriApp and hide it 2008-06-12 23:46:08 +02:00
Christian Dywan
2aeca51fbe Print an error message if midori fails to run 2008-06-10 16:20:02 +02:00
Christian Dywan
074d239b3c Fix autotools build. 2008-06-09 19:32:55 +02:00
Christian Dywan
f2aff5f290 Introduce WebItem, first step of refactoring web search 2008-06-09 03:17:01 +02:00
Christian Dywan
8e8e9f3663 Remove zoom compatibility, use new API or fall through 2008-06-09 03:13:08 +02:00
Christian Dywan
0cf86e0ee0 Move tooltip API from sokoke to compat 2008-06-08 19:45:33 +02:00
Christian Dywan
13f8171e24 Add Zoom Stepping Value to Preferences 2008-06-08 18:42:39 +02:00
Christian Dywan
066c5a11c7 Enable mouse wheel zoom bindings. 2008-06-08 17:49:59 +02:00
Christian Dywan
65c0195501 Introduce compat.h which provides new api for old libraries 2008-06-08 17:46:24 +02:00
Christian Dywan
cdadca0d0c Cleanup and fix a race condition causing an ugly warning. 2008-06-08 16:58:03 +02:00
Christian Dywan
6d35511604 Fix segfault on quit, improve app and browser interface 2008-06-08 01:25:57 +02:00
Christian Dywan
674b237f97 Fix last commit, one file was not updated. 2008-06-08 01:16:06 +02:00
Christian Dywan
3af84ebfd6 Default to current URI and page for Bookmark Add 2008-06-02 23:57:53 +02:00
Christian Dywan
a97264a090 Fix 'missing cursor' in entries 2008-06-01 23:58:00 +02:00
Christian Dywan
b511f12b9b Rename folder 'src' to 'midori' 2008-06-01 23:47:27 +02:00