Commit graph

550 commits

Author SHA1 Message Date
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
Christian Dywan
b40b906e2e Allow setting the SearchAction text to be set to NULL 2009-02-19 23:34:16 +01:00
Christian Dywan
627e585db5 Export midori_dummy_viewable_new for use in tests 2009-02-19 23:30:08 +01:00
Christian Dywan
aebd111453 Fix mime-type and icon property lookup 2009-02-19 23:04:47 +01:00
Christian Dywan
ad13d2e8a2 Make Preferences property readable 2009-02-19 22:57:51 +01:00
Christian Dywan
33e5bb7134 Make LocationAction properties readable 2009-02-19 22:27:19 +01:00
Christian Dywan
19ee2c16bf Handle running MidoriApp with no display 2009-02-19 02:34:05 +01:00
Christian Dywan
5aaff908cb Only add the Auth feature if WebKit didn't already 2009-02-17 18:34:27 +01:00
Christian Dywan
3763990c3a Correct MidoriWindowState definition, this fixes window state saving 2009-02-17 17:55:18 +01:00
Christian Dywan
55614c7eca Print soup log if MIDORI_SOUP_DEBUG is set (levels 1-3) 2009-02-17 14:17:28 +01:00
Christian Dywan
bbe809cacf Support IDN by decoding domain names in magic_uri 2009-02-17 00:16:14 +01:00
Christian Dywan
9d754d2d51 Fix config file writability test and search engine error workaround
After the change to recognize read-only configuration files new
files would never be written anymore. Also the default search
engines wouldn't be used if no search engines file existed.
2009-02-16 03:05:25 +01:00
Christian Dywan
1c029e8948 Build 'panels' as a static library to enable their use in tests 2009-02-15 22:09:32 +01:00
Christian Dywan
3535c6e767 Localize menu items provided by WebKit 2009-02-14 13:30:10 +01:00
Enrico Tröger
6af1840e75 Convert source code for display from the locale encoding 2009-02-14 12:36:18 +01:00
Christian Dywan
fb8dedfaac Cancel looking for default search engines properly 2009-02-14 11:52:09 +01:00
Christian Dywan
79ed3a06c3 Factor persistent cookies into a soup feature 2009-02-14 04:14:01 +01:00
Christian Dywan
e87f5f2455 Factor HTTP authentication into a soup feature 2009-02-14 02:34:56 +01:00
Christian Dywan
e5000a48e0 Don't set the session unless we actually have libSoup 2009-02-14 02:32:01 +01:00
Christian Dywan
0d73df50d2 Add Detect proxy server automatically to Preferences 2009-02-13 00:49:30 +01:00
Christian Dywan
f1f27c9322 Don't do any saving on configuration files which are not writable
If you have a restricted setup where user configuration is not
meant to be saved, Midori will not even monitor changes if the
files are not writable.

This does *not* prevent any changes at runtime, but nothing will
be saved to disk.
2009-02-12 23:52:14 +01:00
Enrico Tröger
d810faf933 Implement a hack to make Search the Web menu item useful 2009-02-12 23:38:48 +01:00
Enrico Tröger
d1967241fd Fix a memory leak when obtaining the selection from the web view 2009-02-12 22:43:31 +01:00
Enrico Tröger
45b4747868 Let midori_view_get_selected_text work as expected again 2009-02-12 22:37:08 +01:00
Christian Dywan
6f0fc8cf29 Adjust 'Icon' label string in Manage Search Engines dialogue 2009-02-12 00:30:56 +01:00
Christian Dywan
e727e714da Add a Preference Show progress in location entry
Disabling the preference will suppress the progress bar inside
the location entry and also prevent the navigationbar from
showing up during loads if it was otherwise hidden.
2009-02-11 23:41:09 +01:00
Christian Dywan
60e81f734b Tweak magic URI and add a test string 2009-02-09 22:03:04 +01:00
Dale Whittaker
75c83f1224 Differentiate hash table/ frozen and manual/ normal completion
Adding and looking up items based on a hash table is incredibly
fast, so it's vital for startup, however at runtime we want
to prepend which invalidates the contents of the hash table. So
now we use the hash based lookup only for frozen operation,
which is used at startup and has to be fast, but manual string
comparisons are used at runtime.
2009-02-09 21:37:10 +01:00
Christian Dywan
019075842b Resize the label in the crash dialogue for proper wrapping 2009-02-05 22:43:24 +01:00
Christian Dywan
b4ba0888bf Flag deactivated extensions as not active 2009-02-05 00:11:36 +01:00
Christian Dywan
aff3affc23 Introduce MidoriExtension setting API, strings only for now 2009-02-05 00:09:44 +01:00
Christian Dywan
98b2d61b9d Rephrase "opened for the last time" to "the last time it was opened"
The translations are not changed, the English string is merely replaced.
2009-02-03 22:59:57 +01:00
Christian Dywan
acaa1741bd Show tokens in Manage Search Engines dialog 2009-02-01 23:13:00 +01:00
Dale Whittaker
18537ec134 Always insert completion addresses with a trailing slash 2009-02-01 19:38:17 +01:00
Christian Dywan
77c04066c1 Fix "%d days ago" to be translated again 2009-02-01 19:08:53 +01:00
Christian Dywan
9baa905f1d Monitor changes to search engines and not only adding and removing 2009-01-31 19:31:50 +01:00
Christian Dywan
135b1be01e Provide default search engines 2009-01-31 19:07:27 +01:00
Christian Dywan
5ad8c7eb0b Refactor bookmarks panel into a separate panel widget 2009-01-31 04:09:35 +01:00
Dale Whittaker
2c9b011048 Check if the pixbuf of the search engine is valid before returning it 2009-01-29 01:06:27 +01:00
Christian Dywan
badc48c1fd Support separators in navigationbar and bookmarkbar 2009-01-29 00:56:07 +01:00
Christian Dywan
7d3ac8fa37 Move {sokoke,katze}_tree_view_get_selected_iter proper 2009-01-28 01:08:51 +01:00
Dale Whittaker
3c75e9eb20 Prevent duplicate entries by looking for trailing slashes 2009-01-27 18:56:21 +01:00
Christian Dywan
181aa10b9d Integrate Midori with Maemo, use a Hildon window and adjust the interface
To make Midori play nicely with Maemo the menubar is now integrated, we
have a service file, a specific toolbar layout, no statusbar and icon styles.

The changes are applied if hildon is available, and can of course be
manually enabled or disabled.
2009-01-27 02:57:40 +01:00
Christian Dywan
6b2d8df6af Instead of adding multiple same history items, update the original item 2009-01-26 03:43:59 +01:00
Christian Dywan
2323c57d7e Save size and panel position with a delay of 5 seconds 2009-01-26 00:54:12 +01:00
Christian Dywan
cf9ec7755f Properly synchronize the proxy item of the view 2009-01-24 22:28:07 +01:00
Christian Dywan
d6cdac4072 Unmark the matches when hiding the findbar again 2009-01-24 22:15:37 +01:00
Nick Schermer
808a03136d Open or focus Inline Find on activation, close it with Escape 2009-01-24 15:34:31 +01:00
Christian Dywan
78bcb6d3cb Monitor accelerators only after creating the first browser 2009-01-24 15:22:45 +01:00
Nick Schermer
af610d48e4 Fix 32bit build after the history changes 2009-01-24 15:02:06 +01:00
Dale Whittaker
fb2a962ad4 Store the 'day' of history items to reduce even more calls to localtime
By storing the timestamp of the day in the database we can significantly
reduce the calls to localtime, which should result in a noticible
speedup.

We are changing the database format. For the convenience of the user
the code automatically converts from the old format.
2009-01-23 22:38:39 +01:00
Christian Dywan
2083433739 Merge two g_file_test calls into one 2009-01-23 21:43:28 +01:00
Christian Dywan
2b463946a8 Fix local copy of g_strcmp0 2009-01-22 22:59:47 +01:00
Christian Dywan
1a69bc9d2d Include locale.h, it may not be pulled in automatically 2009-01-22 13:12:05 +01:00
Christian Dywan
a63942cd79 Respect NLSPATH in Midori and use it for ./waf build --run 2009-01-22 01:59:23 +01:00
Christian Dywan
89a205bd59 Remember the last window state, ie. whether Midori was maximized or minimized 2009-01-20 23:27:19 +01:00
Christian Dywan
b89fbb98f2 Implement MidoriApp::browsers and deprecate MidoriApp::browser-count 2009-01-20 22:40:25 +01:00
Christian Dywan
92fd37ad61 Remove panel pages implicitly as viewables are destroyed
For this to work smoothly, from now on the browser destroys the
panel eary, as it does with the tabs, and the panel in turn
destroys its pages early.
2009-01-20 22:17:04 +01:00
Christian Dywan
9f61741503 Update translation template 2009-01-19 22:30:42 +01:00
Christian Dywan
0fbc478a8a Implement Plugins panel, not quite finished but already useful 2009-01-18 20:34:50 +01:00
Christian Dywan
0255edba43 Save toolbar changes via the menu and remove the Toolbar Items entry 2009-01-18 04:38:46 +01:00
Christian Dywan
60fd9b19d1 Items can be added via the new toolbar menu now 2009-01-18 03:58:05 +01:00
Christian Dywan
2f63822b60 Implement a not yet functional menu for adding and removing tool items 2009-01-17 23:56:23 +01:00
Christian Dywan
97c80d0190 Build Midori core as library, for easier use in tests 2009-01-17 23:52:09 +01:00
Christian Dywan
93bb9f6c5b Notify URI even before it is "committed" and add an error check 2009-01-17 19:38:00 +01:00
Christian Dywan
75c54edabd Implement MIDORI_EXTENSION_PATH environment variable 2009-01-16 20:22:01 +01:00
Nick Schermer
ac707d6f43 Correct capitalizations in Help menu and Inline Find 2009-01-16 05:50:01 +01:00
Nick Schermer
f02f9fd118 Make property strings static to save some memory 2009-01-16 05:19:43 +01:00