Commit graph

917 commits

Author SHA1 Message Date
Christian Dywan
eaaed697bf Add a type cast to resolve a warning in MidoriBrowser 2009-05-17 02:54:50 +02:00
Christian Dywan
0c6d0420b3 Remove superuser warning completely 2009-05-17 02:53:57 +02:00
Christian Dywan
c8493b4c04 Treat "about:blank" and "" equally in midori_view_set_uri
This solves the problem of open speed dial tabs in the session
coming back as blank tabs after a restart of Midori.
2009-05-17 00:01:52 +02:00
Christian Dywan
e3fea6c2eb Ensure that the address entry is focussed with speed dial 2009-05-16 23:52:59 +02:00
Jean-François Guchens
0717e42458 Protect speed dial against quoting in titles 2009-05-15 23:49:01 +02:00
Christian Dywan
4c2a3f5bb7 Support custom sizes of icons in res_server 2009-05-15 23:08:52 +02:00
Enrico Tröger
90e9ee4af7 Fix crash for URIs with an invalid hostname and without a path 2009-05-15 18:58:57 +02:00
Christian Dywan
c217609403 Title the speed dial as Speed dial instead of Blank page 2009-05-15 18:56:14 +02:00
Christian Dywan
a6f2ca54e9 Make sure to only update the address entry with the current view 2009-05-15 17:30:54 +02:00
Christian Dywan
b0babb3c17 Moving tab title update to a function and fix tab titles 2009-05-15 17:26:09 +02:00
Christian Dywan
8b3a74b6f0 Update address and actions properly when navigating in-page 2009-05-15 01:18:14 +02:00
Christian Dywan
ade0f16053 Fix a crash caused by a mistaken attempt at plugging a leak 2009-05-15 00:58:58 +02:00
Christian Dywan
06d9e2d026 Move 'Add to Speed dial' from View to File menu 2009-05-14 22:29:59 +02:00
Christian Dywan
03a6f54d25 Plug a few memory leaks in MidoriView and MidoriWebSettings 2009-05-14 22:26:02 +02:00
Christian Dywan
67fea42b12 Bind View Source to Ctrl+U by default 2009-05-14 20:36:26 +02:00
Jean-François Guchens
760553f374 Store speed dial as JSON instead of actual HTML source
This will make it possible to change the layout of the page
without losing shortcuts.
2009-05-13 23:56:55 +02:00
Christian Dywan
0e9803a31c Point out that translators should adjust the spell check example 2009-05-12 02:30:00 +02:00
Christian Dywan
ff2abf1fd4 Use katze_assign, not katze_object_assign for program_notify_send 2009-05-12 01:50:07 +02:00
Christian Dywan
465ff4d0ff Include compat.h in sokoke 2009-05-12 01:41:15 +02:00
Christian Dywan
541d65f013 Fix Gtk version check for speed dial, this is >= Gtk 2.14 2009-05-12 01:33:44 +02:00
Christian Dywan
8588c3b43f Ellipsize tab labels differently to emphasize subtitles 2009-05-12 01:27:51 +02:00
Christian Dywan
a582d8dcc0 Fix font family/ homepage tooltip mixup 2009-05-10 16:40:43 +02:00
Christian Dywan
b5a534b363 Replace variables in templates literally 2009-05-10 16:20:50 +02:00
Christian Dywan
906ccf632d Go back to referring to Speed Dial in the user interface
The term customized homepage is somewhat unclear and speed dial
is known from phones and other browsers.
2009-05-10 16:07:28 +02:00
Jean-François Guchens
e5276907e9 Add an 'edit' icon to emphasize that shortcut can be renamed 2009-05-10 15:06:15 +02:00
Christian Dywan
db826d348a Make AddSpeedDial visible/ hidden instead of sensitive/ grayed 2009-05-10 14:57:26 +02:00
Christian Dywan
64b60d7f94 Use the correct config folder to store speed dial
This is important when using the -c or --config switch
2009-05-10 14:48:12 +02:00
Jean-François Guchens
56c1231d7a Move speed dial to browser and add an AddSpeedDial action 2009-05-10 14:39:20 +02:00
Jean-François Guchens
2e250b66e8 Fix the search in the custom homepage and optimize the saving 2009-05-09 23:29:35 +02:00
Alexander Butenko
5916815daf Work around broken reloading of "alternate content" 2009-05-09 22:45:21 +02:00
Christian Dywan
79e278bea8 Compress thumbnails to 70% JPEG
The compressed images are still reasonably good and save a
noticible amount of disk space.
2009-05-09 22:16:03 +02:00
Christian Dywan
7fcb3d9095 Add a mnemonic to Add to customized homepage 2009-05-09 17:30:54 +02:00
Jean-François Guchens
bd6c23cc71 Allow adding speed dial shortcuts from the context menu 2009-05-09 16:41:01 +02:00
Enrico Tröger
70a9d29ea6 Add midori_app_send_notification() to easily send notifications
Sending such messages is either done by using libnotify if
available. Otherwise the program "notify-send" is used.
2009-05-09 15:55:10 +02:00
Enrico Tröger
429c460e86 Fix shadowed variable 'error' 2009-05-09 15:32:45 +02:00
Jérôme Geulfucci
68bfa4331b Refactor middle clicks on navigation actions 2009-05-09 13:57:52 +02:00
Christian Dywan
446fe346cb Only save thumbnails if Customized homepage is enabled 2009-05-08 17:46:50 +02:00
Christian Dywan
5e1b3a0bad Rename Speed dial in news tabs to Customized homepage in new tabs 2009-05-08 17:41:40 +02:00
Christian Dywan
581c69f4e8 Use "Search" to label Search button and entry, not "Suchen" 2009-05-08 13:15:08 +02:00
Christian Dywan
5dc0b3d0cc Recognize {stock} in error page template 2009-05-08 13:13:39 +02:00
Christian Dywan
b1815fb63c Implement /stock path in res_server 2009-05-08 13:13:08 +02:00
Jérôme Geulfucci
713a9b02ca Simplify handling of background tabs 2009-05-08 13:09:14 +02:00
Christian Dywan
f60b8ab9b6 Add a preference Show speed dial in new tabs 2009-05-08 03:29:25 +02:00
Christian Dywan
68bb3d2378 Localize "Search" in quick dial and use the user's default search 2009-05-08 02:56:26 +02:00
Christian Dywan
b0c069730f Fix opening any page when having the speed dial open 2009-05-07 23:08:13 +02:00
Christian Dywan
e5621fc44f Don't declare print function for WebKit >= 1.1.6 2009-05-07 23:00:29 +02:00
Jérôme Geulfucci
bb7928303c Implement middle click on Back, Forward, Homepage menu items 2009-05-07 22:41:39 +02:00
Jean-François Guchens
c89651c05f Implement quick launch page code named Tandoori
The quick launch page replaces the blank page unless it turns out
to be a bad idea.
2009-05-07 22:22:43 +02:00
Mike Massonnet
0fa7db4ed3 Let Ctrl+K load default search website if no Search in the toolbar 2009-05-06 02:45:59 +02:00
Alexander Butenko
fc14fb7a0b Restrict res_server to listen only to localhost 2009-05-05 23:32:38 +02:00
Jérôme Geulfucci
5ab58b60c1 Extend menu item middle click to support trash and history 2009-05-05 23:22:39 +02:00
Christian Dywan
902e75fb77 Conditionalize --snapshot on WebKitGTK+ 1.1.6 2009-05-05 23:02:45 +02:00
Christian Dywan
adec655c01 Implement '--snapshot' or '-s' command line switch
Calling Midori in the form "midori --snapshot URI" makes a
snapshot of the specified address and saves it to PDF. The format,
path or size can currently not be influenced.
Also note that web pages which look different when printed will
apply their print style.
2009-05-04 02:09:46 +02:00
Christian Dywan
c5eba36cf4 Reject non-local requests to the res_server
This sever is solely meant to provide internal resources and
should not be accessible from outside, so anything non-local
is blocked with a No Content error.
2009-05-04 01:09:52 +02:00
Christian Dywan
b6dde64875 Return the correct content type in res_server responses 2009-05-04 00:51:14 +02:00
Christian Dywan
6ab464075d Fix setting the news-feeds property of MidoriView 2009-05-03 21:41:31 +02:00
Jérôme Geulfucci
b92ebdccaa Implement middle-clicks on Back, Forward and Homepage tool buttons 2009-05-03 21:35:05 +02:00
Enrico Tröger
186c2d708b Ensure destroyed panel widgets remove the scrolled window 2009-05-03 21:13:54 +02:00
Enrico Tröger
ae23ae0583 Implement middle click on array actions, ie. bookmark menu items
Add a new signal activate-item-alt to KatzeArrayAction which has
a button argument specifying the mouse button that was pressed. If
this signal is handled one can special case middle or right
clicks, and return TRUE to suppress the emission of activate-item.

The browser utilizes this to open new tabs when middle clicking
on bookmark menu items.
2009-05-03 12:42:47 +02:00
Christian Dywan
9d472f4054 Introduce 'news-feeds' property on MidoriView
This is a KatzeArray of KatzeItems with the feeds of the loaded
web page, particularly useful for extensions.
2009-05-03 03:11:33 +02:00
Christian Dywan
1d7293a2a8 Quote the page address in the error page 2009-05-03 01:53:49 +02:00
Christian Dywan
ca98c68e70 Support error pages with the load-error signal in WebKitGTK+ 1.1.6 2009-05-02 21:44:20 +02:00
Christian Dywan
7d0d2d60bc Add sokoke_replace_variables 2009-05-02 21:38:43 +02:00
Christian Dywan
d6721f09b0 Add sokoke_get_res_server 2009-05-02 21:36:09 +02:00
Christian Dywan
8c8551d384 Generate thumbnails of open tabs
The images aren't used for anything yet, and can't be disabled
2009-05-02 00:23:43 +02:00
Christian Dywan
f93c3c166f Ensure that completion items have a title
Items are added as lone URIs often enough, so it happened that
we accidentally unset a title. We check that now.
2009-05-01 20:03:40 +02:00
Christian Dywan
566e8252c2 Activating Search if hidden should spawn the search page 2009-04-30 00:43:47 +02:00
Dale Whittaker
eb606ecdad Leave 'added' stamp of history items to fix duplicate detection
Only the 'added' value of parents shall contain the age in days.
2009-04-29 23:53:59 +02:00
Christian Dywan
5257a9e6c5 Correct 'Enables spell checking' to 'Enable spell checking' 2009-04-29 17:44:12 +02:00
Christian Dywan
f8b10d8513 Add example to the spell checking language tooltip 2009-04-29 17:35:36 +02:00
Christian Dywan
0506d04601 Add Spell Checking preferences to the dialogue
We need to think of a better way to choose dictionaries than a
mere text entry.
2009-04-29 00:42:47 +02:00
Christian Dywan
bd002e9a7b Fix 'Refresh' menu item localization in the context menu 2009-04-29 00:16:26 +02:00
Christian Dywan
a40cd75d14 Add new transfer preferences and new Applications tab 2009-04-28 23:52:16 +02:00
Christian Dywan
bd11e1c4f7 Add Ask for destination folder preference
The value is not functional yet
2009-04-28 23:49:52 +02:00
Enrico Tröger
c711a75379 No need to work around GtkIconEntry issue afterall 2009-04-27 21:30:27 +02:00
Christian Dywan
6d2013f16f Default to loading the last open pages at startup 2009-04-27 20:49:32 +02:00
Christian Dywan
10426983b0 Fail silently on xprop errors when determining the environment 2009-04-27 17:46:04 +02:00
Enrico Tröger
ba7e8846ee Do not display any icon if there's no news feed available
Work around a bug that made unsetting the secondary icon in the
location entry impossible and do not set an icon if there is
no news feed instead of an 'information' icon.
2009-04-27 01:11:58 +02:00
Christian Dywan
d328d2afab Implement transfer completion notification via libnotify 2009-04-27 00:22:16 +02:00
Christian Dywan
62edfeb06e Disconnect panel toolitem destroy handler when detaching 2009-04-26 17:11:16 +02:00
Christian Dywan
bdf9c2c11d Fix label/ button on the panel when detaching and re-attaching 2009-04-26 16:57:23 +02:00
Christian Dywan
9cda61ad1a Add a Fixed-width Font Family preference 2009-04-26 02:23:27 +02:00
Christian Dywan
dafa435e47 Switch the current panel after detaching a panel 2009-04-25 23:33:09 +02:00
Christian Dywan
5d3afb0713 Disable 'Detach' button if all panels are detached 2009-04-25 23:26:54 +02:00
Christian Dywan
90d9e85167 Refer to 'Netscape plugins' instead of 'plugins'
A remarkable amount of people have problems telling 'plugins'
and 'extensions' apart, due to their different meaning in
different applications. So make it clearer.
2009-04-25 16:13:23 +02:00
Dale Whittaker
9c9f34180d Implement string_list setting in MidoriExtension 2009-04-25 16:02:29 +02:00
Dale Whittaker
b7f684b345 Implement sokoke_key_file_get_string_list_default 2009-04-25 16:00:51 +02:00
Christian Dywan
c31d9936d9 Fix a crash when failing to open a downloaded file 2009-04-24 20:13:57 +02:00
Christian Dywan
c0291bb4a3 Update the browser header file for midori_browser_get_for_widget 2009-04-23 04:15:07 +02:00
Christian Dywan
5a43b646b5 Add midori_browser_get_for_widget_utility function
This function will look for a MidoriBrowser according to a
particular widget - even if it's inside a detached panel
window or any other window transient for the browser.
2009-04-23 04:10:38 +02:00
Matthew Gyurgyik
db0c626ec1 Catch and ignore mouse buttons meant for horizontal scrolling 2009-04-23 04:08:28 +02:00
Christian Dywan
daf6ca74e7 Remove leftover code from MidoriWebSettings 2009-04-22 23:57:10 +02:00
Christian Dywan
b058e8ec5d Add a remove-browser signal to MidoriApp 2009-04-22 21:58:00 +02:00
Christian Dywan
758434e711 Add midori_browser_foreach to iterate over all present browsers 2009-04-22 21:53:14 +02:00
Christian Dywan
d7f6c7ded8 Add a function to determine if an extension is being deactivated 2009-04-22 20:01:10 +02:00
Christian Dywan
05967054c6 Save extension settings to a filename based folder
This prevents different folders from being created depending
on the user language.
2009-04-21 03:48:25 +02:00
Christian Dywan
a6bea88932 Save activation status of extensions
Finally only extensions which are expressly activated will be
loaded on startup.
2009-04-21 03:46:11 +02:00
Christian Dywan
ca8d181329 Unify opening URIs externally with good fallbacks 2009-04-20 19:10:13 +02:00
Christian Dywan
574fccf445 Add sokoke_search_uri to sokoke.h 2009-04-20 18:35:16 +02:00
Christian Dywan
192084d48e Unify how search URI and keywords are combined
This handles the presence of a %1 and encoding the keywords.
2009-04-20 00:39:36 +02:00
Christian Dywan
7ae35d62ab Show a 'Delete all' button in the transferbar as needed
The button shows up as a new download starts and vanishes again
if no downloads are there.
2009-04-19 19:05:05 +02:00
Christian Dywan
3c31b23295 Mark 'Use as default' for translation 2009-04-19 16:48:37 +02:00
Christian Dywan
98456e7f24 Fix accidentally removed Find while Typing preference 2009-04-19 16:47:42 +02:00
Enrico Tröger
3b0ce548a5 Delete completion actions by list position, not index
The completion actions are not actually indiced but merely added
to a list by their relative position. So instead of deleting by
their presumed index we just delete the first one often enough.

Also fix a wrong Since tag in a new setting.
2009-04-19 02:35:24 +02:00
Christian Dywan
d7d6edbff3 Percent encode search terms, so '+' actually ends up as a '+' 2009-04-19 00:47:02 +02:00
Christian Dywan
52084a21e1 Add a preference Search engines in location completion
It seems that deletion of completion actions can fail, which means
that the actions remain until the next restart. It is not clear
how to fix this.
2009-04-18 23:26:54 +02:00
Christian Dywan
18b66ce7d1 Allow marking a search engine as Default engine
The default engine is used when search terms are typed in the
address entry without tokens and for the 'Search the Web' item
in the selection context menu.

The 'Location entry search' is removed from the preferences. The
setting 'location-entry-search' remains functional however.
2009-04-18 22:41:37 +02:00
Enrico Tröger
59f4a3acdb Move search engine items in selection context menus to a submenu 2009-04-18 19:39:17 +02:00
Christian Dywan
ad82a73ab8 Show only image buttons in Statusbar Features in statusbar 2009-04-17 03:16:37 +02:00
Christian Dywan
a9863cfb40 Add News Aggregator preference
The program set here is called if the user clicks on the news feed
icon, with the address of the current website as argument.

For example liferea-add-feed works like that.
2009-04-14 19:44:48 +02:00
Christian Dywan
5d360b065b Fix search engines without %s in the context menu 2009-04-14 19:19:50 +02:00
Christian Dywan
0d1fd5794d Use mnemonic in "Clear private data" button 2009-04-13 23:35:31 +02:00
Christian Dywan
a324cad92a Using non-utf8 strlen for titles in completion should suffice 2009-04-13 22:43:07 +02:00
Christian Dywan
c27642e912 Display the news feed icon again
The code for looking up news feeds on websites was disabled
and is now back in simplified form. 'liferea-add-feed' is
hardcoded for the moment.
2009-04-13 22:40:57 +02:00
Christian Dywan
94c1d3c713 Implement "-a" or "--app" to run web apps
At the moment this takes an URI and opens a standalone window
with a non-editable toolbar and a statusbar.
2009-04-13 04:38:01 +02:00
Christian Dywan
adec1c7093 Don't try to render "nothing" in completion, like an empty title 2009-04-13 04:07:20 +02:00
Christian Dywan
377f45d3ad Work around failure to reload Not found pages 2009-04-13 04:05:05 +02:00
Christian Dywan
78813a03e5 Be generous if middle click pastes contain spaces and line breaks 2009-04-13 03:38:28 +02:00
Ernst Persson
22ded9a981 Apply URI magic to externally opened addresses 2009-04-12 23:37:15 +02:00
Christian Dywan
85f2386279 Revert "Apply URI magic to externally opened addresses"
The commit had the wrong author name.
2009-04-12 23:31:42 +02:00
Thorsten Mühlfelder
1b8de1588f Apply URI magic to externally opened addresses 2009-04-12 22:44:11 +02:00
Christian Dywan
1038ee41a3 Don't touch the ythickness of the notebook
This allows the active tab to visually move above other tabs. The
drawback is that it makes all tabs somewhat larger.
2009-04-12 21:57:20 +02:00
Christian Dywan
dc40d878d5 Compute a string if the identification string is empty 2009-04-12 14:28:11 +02:00
Christian Dywan
81d67d3c2e Don't show the progressbar if the location shows progress 2009-04-12 14:09:06 +02:00
Christian Dywan
89698772bb Try to decide what an @ in a location refers to
We assume the usual case is that you intend to search for an
email address, a host with a login isn't recognized.
2009-04-12 14:00:32 +02:00
Christian Dywan
e7d20f467c Show all search engines in selection context menu
This replaces the generic Search the Web unless no search engines
are defined, which is actually a corner case.
2009-04-12 01:32:06 +02:00
Christian Dywan
50f078575b Show search engines as "actions" in location completion 2009-04-11 22:24:56 +02:00
Jordan Callicoat
52ab540db5 Teach magic_uri that hostnames don't contain spaces
New test cases included. Two of them are commented out since
they are not supported but should logcially be.
2009-04-11 12:24:43 +02:00
Christian Dywan
592e55c59b Use progress and icon GtkEntry features with GTK+ 2.16 2009-04-11 07:05:28 +02:00
Christian Dywan
a9ea07389a Implement Clear Private Data dialogue 2009-04-11 05:14:53 +02:00
Christian Dywan
ec5ef95408 Initial support for detachable panels
A button allows detaching of a particular panel into its own
window. The toolbar will also be part of the window. Closing
the window re-attaches the panel back to the browser window.
2009-04-10 22:29:45 +02:00
Christian Dywan
deb92e5158 Add an 'Add new folder' menu item to Bookmarks menu 2009-04-10 22:28:36 +02:00
Christian Dywan
88ebdf3944 Support external Download Manager with newer WebKit 2009-04-10 15:52:01 +02:00
Christian Dywan
07aed45bd9 Recognize different instances for different config dirs
If Midori is built with support for multiple instances and a
config folder is specified a new instance bound to that
folder is created.

The new "name" property in MidoriApp implements this.
2009-04-09 20:34:27 +02:00
Christian Dywan
ddf2f60e3f Implement "-c" or "--config" to specify a different config folder
If this option is specified the folder is used in place of the
default ~/.config/midori including extension settings.
2009-04-09 19:28:36 +02:00
Faheem Pervez
0ffda1fe27 Initizalize and deinitialize the osso context 2009-04-07 23:23:27 +02:00
Christian Dywan
1ddceece8f Adjust mouse wheel zooming to do the same as keyboard shortcuts 2009-04-07 02:39:11 +02:00
Christian Dywan
eed273b35e Fix memory leaks in a number of places 2009-04-05 23:46:15 +02:00
Christian Dywan
3eae091ebb Only print if the browser is visible 2009-04-05 11:28:42 +02:00
Enrico Tröger
ad8558ab4c Implement stock items for Tab Panel and plugin panel 2009-04-05 00:13:09 +02:00
Christian Dywan
03f644ab1d Make sure we always save the main bookmark folder 2009-04-04 01:32:02 +02:00
Christian Dywan
406942594a Allow opening data URIs from the location entry 2009-04-02 22:48:07 +02:00
Christian Dywan
2d0e3b4c7e Don't try to check the prefix of a NULL URI 2009-04-02 00:02:58 +02:00
Christian Dywan
86292d26f9 Check if we really have a view, it might be invisible 2009-04-01 23:53:45 +02:00
Christian Dywan
b2d14b5fc1 Remove inner border from the panel and leave it to child widgets 2009-04-01 20:44:34 +02:00
Christian Dywan
43feec8b3d Optimize location completion based on profiling
The test was modified slightly because we are not filtering
out trailing slahses anymore. We are not quite there still
when it comes to treating URIs as we should but for all
practical purposes it should be quite a bit faster.
The most annoying shortcoming still is that umlauts or any
special characters won't match at all.
2009-03-31 22:24:18 +02:00
Christian Dywan
7470684a3b Optimize array handling in search action 2009-03-31 22:21:14 +02:00
Christian Dywan
d14b65563a Save files which are opened immediately to the temporary folder 2009-03-31 21:19:48 +02:00
Christian Dywan
b083c5bbd0 Optimize array iterations in the browser 2009-03-31 21:19:18 +02:00
Enrico Tröger
529aadc648 Always use WebKit's session in KatzeNet
This fixes corruption of expiration dates.
2009-03-31 18:20:31 +02:00
Christian Dywan
dbc4c3f743 Move array loading and saving to midori_array_{from,to}_file
This not only takes the code out of main but in the future
will allow extensions to use and enhance it.
2009-03-31 18:09:04 +02:00
Christian Dywan
e9c9886265 Remove GJS, it's not used anymore 2009-03-31 18:04:17 +02:00
Christian Dywan
3ecfecb555 Optimize sokoke_magic_uri for better performance 2009-03-31 03:28:01 +02:00
Christian Dywan
7cddd8ade3 Optimize array iterations in main.c 2009-03-31 03:24:29 +02:00
Christian Dywan
31bf9962fa Support proxy server address without a protocol 2009-03-31 01:10:35 +02:00
Christian Dywan
99c3154dd6 Correction misspelling of 'happened' 2009-03-30 00:53:42 +02:00
Christian Dywan
ed2a35d70b Don't expressly use libkatze in extensions to avoid -fPIC problem 2009-03-30 00:14:43 +02:00
Christian Dywan
5df04ae2c9 Do not use long texts in the preferences but in tooltips 2009-03-28 23:12:08 +01:00
Christian Dywan
3a36d27d6f Add BookmarkAdd to dummy menu items
This fixes a warning about an accelerator and in some cases
even a crash when opening the bookmarks menu.
2009-03-28 21:00:11 +01:00
Enrico Tröger
f34223e55d Only append separator to bookmarks if the array isn't empty 2009-03-28 20:57:42 +01:00
Christian Dywan
fb1d931e2c Load cookie jar in an idle callback
This improves perceived startup time a lot.
2009-03-28 03:04:27 +01:00
Christian Dywan
1e68d8fa40 Use the file icon in the download dialog if possible 2009-03-27 00:40:28 +01:00
Christian Dywan
73b26c53f9 Support mailto: by passing it to gtk_show_uri or Exo 2009-03-26 23:46:36 +01:00
Christian Dywan
e6ea06afd3 Display only the MIME type if there is no description 2009-03-26 22:37:33 +01:00
Christian Dywan
164bd5b265 Add midori_extension_get_app and enforce a valid app
We change the deactivation so that an extension is regarded as
active until the 'deactivate' signal was processed. And we
define that 'activate' must be called with a valid app.
2009-03-25 02:07:27 +01:00
Christian Dywan
d0a947528c Always lookup an item to find a radio group
Storing a group isn't good enough because as soon as an item is
removed that group is invalid and can't be reused anymore.
2009-03-25 02:04:41 +01:00
Christian Dywan
fce6761870 Save tab reordering to the session 2009-03-24 23:54:37 +01:00
Christian Dywan
15790565e8 Create cookie jar on startup instead of waiting for an HTTP request 2009-03-24 01:10:15 +01:00
Christian Dywan
1aa158d78f Add a missing variable declaration 2009-03-23 21:09:29 +01:00
Enrico Tröger
ded346905c Properly initialize tooltips instance to NULL 2009-03-23 00:58:33 +01:00
Enrico Tröger
5c9e56fdb6 Remove left-over assignement of configuration file 2009-03-22 23:47:07 +01:00
Christian Dywan
1650d09070 Implement Transfers sidepanel 2009-03-22 15:25:57 +01:00
Christian Dywan
50690c89e6 Add add-download signal to MidoriBrowser 2009-03-22 15:24:40 +01:00
Christian Dywan
d9f2cf492b Reduce the width of individual download items 2009-03-21 20:17:23 +01:00
Christian Dywan
e5d1f36561 Provide a Clear button for cancelled downloads 2009-03-21 20:08:37 +01:00
Christian Dywan
863f2db611 Always reset the flag to open the downloaded file 2009-03-21 20:07:38 +01:00
Christian Dywan
9e76f7e072 Move download dialog to the view and don't show an error page
We have to handle the dialog when the MIME type is requested,
otherwise we don't know the type. Plus we stop the loading now
to avoid seeing an error page.
2009-03-21 15:06:57 +01:00
Christian Dywan
9be395fe9e Implement the 'open' button in the download dialog 2009-03-21 10:46:25 +01:00
Christian Dywan
42027c256b Show a dialog before downloading asking what to do 2009-03-21 00:40:03 +01:00
Christian Dywan
81717cc965 Remove items from the transferbar when they are opened 2009-03-21 00:11:29 +01:00
Christian Dywan
feed868ec2 Implement opening of downloaded files 2009-03-21 00:08:22 +01:00
Christian Dywan
99fc5f2e4a Allow showing/ hiding the transferbar 2009-03-20 23:55:38 +01:00
Christian Dywan
2421a3163f Strip selection from spaces when middle click opening
It happens every so often that you quickly select an address
and there's leading or trailing space you accidentally hit.
So we strip the selection, otherwise such addresses don't work.
2009-03-19 23:40:31 +01:00
Christian Dywan
7af8baee8b Initial support for WebKitDownload
At this point all downloads run automatically and appear in the
statusbar. The destination folder can be chosen in the preferences.
Download can be cancelled. The context menu works as well.
2009-03-19 18:28:50 +01:00
Christian Dywan
bbaa0fb9e6 Implement source view with GIO and drop internal source view
We use GIO to choose a text editor unless a text editor was
specified in the Preferences. We drop our internal source view
now which used to serve as a fallback.
2009-03-17 21:35:05 +01:00
Christian Dywan
dba291d3ba Drop WebKit/ libSoup related conditonals from preferences 2009-03-16 23:55:25 +01:00
Christian Dywan
d30c2aa62d Drop soup session hijacking 2009-03-16 02:13:35 +01:00
Christian Dywan
424cca0b66 Drop WebKit and libSoup version conditionals in WebSettings 2009-03-16 02:05:45 +01:00
Christian Dywan
b40c7b0f87 Drop compile time and runtime conditionals for libSoup and WebKit 2009-03-16 01:54:22 +01:00
Christian Dywan
8e7c445482 Drop Glib < 2.16 and WebKitGTK+ < 1.1.1 compat functions 2009-03-16 01:26:52 +01:00
Christian Dywan
13dc1502c8 Use gtk_show_uri, GIO or Exo to open email adresses 2009-03-16 01:21:59 +01:00
Christian Dywan
cea8294a18 Enclose MIME type in single quotes in the error message 2009-03-15 18:44:16 +01:00
Christian Dywan
1af23afbe8 Implement Last Visited Pages menu and toolbar item
We use the name of history folders now to store dates instead
of the token. This makes it possible to show history in an action.
2009-03-07 14:00:14 +01:00
Christian Dywan
abbfc163a3 Use session function in WebKitGTK+ 1.1.1 and prepare the session 2009-03-06 20:29:40 +01:00
Christian Dywan
60d5452b5e Implement a button to use the current page as homepage 2009-03-05 23:36:13 +01:00
Christian Dywan
7c10d2078a Make sure there actually is a web view when returning the level 2009-03-05 23:09:22 +01:00
Christian Dywan
1fb5222a3f Fix zooming, and make Zoom Normal work again 2009-03-05 22:45:34 +01:00
Christian Dywan
f64547f723 Load and save extension settings automatically 2009-03-05 22:22:18 +01:00
Christian Dywan
7708e90214 Implement bypassing cache when reloading with Shift 2009-03-04 23:23:23 +01:00
Enrico Tröger
40f36328c2 Add WebKit version check to compat.h and use it in Preferences 2009-03-04 23:07:29 +01:00
Christian Dywan
abf30976af Always show Network and Cookie prefs if we have WebKitGTK+ 1.1.1 2009-03-04 02:04:37 +01:00
Christian Dywan
d9f90f13e6 Avoid having no main frame, this fixes a g_signal_connect warning 2009-03-04 02:03:38 +01:00
Christian Dywan
5e458d2a5a Disable Find inline while typing by default
Some web pages make heavy use of hotkeys with a single letter.
2009-03-03 01:02:28 +01:00
Christian Dywan
e12716c917 Update copyright year in --version and about dialog 2009-03-01 21:00:06 +01:00
Christian Dywan
2433019856 Mention the MIME type of a document that cannot be displayed. 2009-03-01 20:21:35 +01:00
Christian Dywan
73feaf9ae1 Add a Preference to disable automatic inline find while typing 2009-03-01 19:21:27 +01:00
Christian Dywan
0380d8bd2e Use libSoup to percent decode scripts, ie. bookmarklets 2009-03-01 00:29:44 +01:00
Christian Dywan
ff9085b400 Disable WebKit's authentication dialog if needed
We need to handle WebKit possibly having an authentication
dialog more expressly. Obviously we only ever want to
see one dialog and we choose our own simply because it
is localized.
2009-02-28 23:46:41 +01:00
Christian Dywan
dc357a40aa Use the date format of the user locale to display history dates 2009-02-28 23:03:23 +01:00
Christian Dywan
f799af8c0c Report to the web view we didn't handle if the MIME type is fine
This caused blank pages to erroneously look as thought they were
loading infinitely. In fact it is due to a bug in WebKit that
this ever worked at all.
2009-02-28 22:33:37 +01:00
Christian Dywan
8ec0e53441 Check for settings and views more properly
These improvements were assisted by a test case that is
going to follow soon.
2009-02-28 14:05:01 +01:00
Christian Dywan
5b2380433b Only apply settings on the web view if we actually have any 2009-02-28 14:03:23 +01:00
Christian Dywan
c02e181750 Only disconnect signals when we actually have search engines 2009-02-28 14:02:36 +01:00
Christian Dywan
68f00fb31c Add function to obtain the action group of the browser 2009-02-28 04:15:16 +01:00
Matthias Kruk
7ff1a016f4 Implement activating and deactivating extensions in the panel 2009-02-28 01:59:06 +01:00
Christian Dywan
9c4d3ea62a Implement Encoding menu 2009-02-27 23:09:36 +01:00
Christian Dywan
0ddf1bd1b2 Implement 'Open all in Tabs' for bookmark folders and history 2009-02-27 21:52:51 +01:00
Enrico Tröger
498232b805 Fix memory leaks in IDN handling and exclude file:// URIs 2009-02-27 20:59:23 +01:00
Christian Dywan
edce7d348b Reflect completion selection directly in the entry 2009-02-24 23:56:28 +01:00
Matthias Kruk
1f00d2ed14 Remove any left timeouts if the browser is destroyed 2009-02-24 22:59:18 +01:00
Christian Dywan
69aa3bfdd9 Enable changing the containing folder of bookmarks 2009-02-24 00:17:21 +01:00
Christian Dywan
d9bdaf0f8c Restrict IDN conversion to hostname 2009-02-23 23:44:30 +01:00
Johannes Reinhardt
1d8de6e72d Fix #ifdefs for building without libxml or sqlite 2009-02-22 22:39:08 +01:00
Christian Dywan
254c4dd846 Correct default values of some preferences 2009-02-22 19:29:08 +01:00
Christian Dywan
6e2b0872a0 Wrap lines in source views 2009-02-22 19:24:52 +01:00
Christian Dywan
94532ab9f8 Add a button to change the alignment to the panel 2009-02-22 19:23:45 +01:00
Christian Dywan
e354f8e17b Fix highlighted matches in 'typing' mode 2009-02-22 16:17:32 +01:00
Christian Dywan
9662e99354 Do not actually search less than 3 characters in 'typing' search 2009-02-22 16:12:58 +01:00
Christian Dywan
30729676db Flip the toolbar of the panel as well when aligning it to the right 2009-02-22 16:03:08 +01:00
Christian Dywan
2347045245 Cancel 'typing' search when the entry loses its focus 2009-02-22 15:36:41 +01:00
Dale Whittaker
0d1a1edaaa Save the normal window size, not the maximized size 2009-02-22 14:42:27 +01:00
Christian Dywan
ba9d7d48e5 Fix browser properties along with enabling the property test 2009-02-22 14:38:28 +01:00
Christian Dywan
ca8d22b9b4 Implement "right-align-sidepanel" to align the panel on the right 2009-02-22 03:51:10 +01:00
Christian Dywan
cbe3e75e80 Add a "New folder" button to the bookmark panel 2009-02-22 03:11:40 +01:00
Christian Dywan
f022a72a42 Focus the web view after cancelling an inline find 2009-02-22 02:47:30 +01:00
Christian Dywan
440e3cf72b Hide find options and close button in 'typing' search 2009-02-22 02:34:21 +01:00
Christian Dywan
d2c5d89def Make sure we exclude control characters from search 2009-02-22 02:20:04 +01:00
Christian Dywan
fb48e0c647 Actually search after every character in 'typing' search 2009-02-22 02:17:58 +01:00
Christian Dywan
51c6fb1cdf Implement a primitive find-as-you-type 2009-02-22 01:45:22 +01:00
Christian Dywan
3baab132b9 Don't try to setup search engines when unsetting 2009-02-22 00:13:00 +01:00
Christian Dywan
758d5e1a1b Add a missing check whether 'settings' are set 2009-02-22 00:12:18 +01:00
Christian Dywan
3d42b7453a Load documentation as a proper file:// URI 2009-02-22 00:04:28 +01:00
Christian Dywan
3b9c63937c Refactor History panel into a separate class
This brings back the problem of address and title of items
showing up in the history unfortunately.

Now the history items are appended rather than prepended,
we probably want to fix that in the future.
2009-02-21 23:59:02 +01:00
Christian Dywan
a177ac67b9 Emit a warning when trying to get or set a non-existing setting 2009-02-21 23:16:44 +01:00
Christian Dywan
5f52e0d21f Move stock item registrations to sokoke so it can be tested 2009-02-21 22:36:03 +01:00
Christian Dywan
f5e6006954 Remove destroy callback from web view 2009-02-21 22:12:34 +01:00
Christian Dywan
1c7a84ec9f Propagate the bookmarks to the callback, fixes editing bookmarks 2009-02-20 22:38:18 +01:00
Christian Dywan
2cd86150e4 Add boolean and integer settings to MidoriExtension, with tests 2009-02-20 20:24:13 +01:00
Christian Dywan
514c6965c7 Check if 'search engines' are actually set 2009-02-19 23:40:00 +01:00
Christian Dywan
4ab9bd74e7 Check if there really is a SearchAction proxy 2009-02-19 23:36:04 +01:00