Commit graph

1313 commits

Author SHA1 Message Date
Peter de Ridder f4b2111b40 Implement sokoke_show_uri on top of explorer for win32 2010-02-16 00:59:42 +01:00
Christian Dywan 902f836810 Improve and optimize sokoke_uri_to_ascii to parse about:version 2010-02-12 02:08:05 +01:00
Christian Dywan f19412bc70 Pass action to cell renderer callback rather than the entry
The entry pointer is only meaningful if completion was triggered
by typing or editing in an entry.
We shouldn't render a key in results if the arrow button opened the
completion popup.
We need to check the key in the callback to avoid accidentally
working with an entry of a different window.
2010-02-12 00:36:59 +01:00
Alexander Butenko f733f453d2 Clear history via sqlite if selected in 'Clear private data' dialog 2010-02-11 23:24:28 +01:00
Christian Dywan de12aa0078 Revise completion key handling to directly pass or compute the key 2010-02-11 01:57:42 +01:00
Christian Dywan f494ec090b Handle external, magic URIs from command line consistently 2010-02-11 00:28:49 +01:00
Christian Dywan 532e84ea4f Set consistent flags on all properties of MidoriWebSettings 2010-02-10 23:37:33 +01:00
Christian Dywan 713091134f Handle search engines in MidoriBrowser and simplify sokoke_magic_uri 2010-02-10 19:52:12 +01:00
Christian Dywan 0243e26bed Only split URI if no domain pattern is found in the string 2010-02-10 19:52:11 +01:00
Christian Dywan 060c0b6940 Use strncmp instead of g_str_has_prefix to optimize sokoke_magic_uri 2010-02-10 19:52:11 +01:00
Christian Dywan ccaf696256 Remove unused KatzeNet instance from MidoriSearchAction 2010-02-10 19:52:11 +01:00
Christian Dywan e15fe776ed Don't update the saved window size if it didn't actually change 2010-02-10 19:52:10 +01:00
Christian Dywan 13b1c9462b Connect config change notifications after creating the first browser 2010-02-10 19:52:10 +01:00
Christian Dywan 2e5c5026bc Only set config properties which are present in the config file 2010-02-07 17:19:00 +01:00
Christian Dywan 0bf27662c5 Only update location combo arrow if there is a history at all 2010-02-07 17:19:00 +01:00
Christian Dywan 14f0a091f6 Do startup timing if MIDORI_STARTTIME environment variable is set 2010-02-07 17:19:00 +01:00
Alexander Butenko d7f42c5d72 Fix check whether we have the latest database structure 2010-02-04 22:16:01 +01:00
Alexander Butenko 4461a16a79 Refactor location completion queries to use prepared statements 2010-02-04 22:07:30 +01:00
Alexander Butenko db334e2921 Switch to prepared statements when adding/ updating history 2010-02-04 22:07:16 +01:00
Alexander Butenko 5887067e73 Show the combo arrow if the history table contains any rows 2010-02-04 03:30:09 +01:00
Christian Dywan af94855fee Render search actions as one line without address 2010-02-04 03:11:52 +01:00
Alexander Butenko c273d6c73a NULL check the key before rendering suggestions 2010-02-04 02:44:30 +01:00
Christian Dywan 4d05be6a5e Do allow internal icons for views with an unreachable URI 2010-02-03 22:18:51 +01:00
Alexander Butenko 42a29682e6 Store visited pages in the history again 2010-02-03 22:12:19 +01:00
Christian Dywan 297d38e7d0 Use the correct theme detail for < GTK+ 2.18 entry progress 2010-02-03 18:41:54 +01:00
Christian Dywan bee4615d10 Render history dates directly without age column or render callback
Resurrect sokoke_days_between for calculating age in days.
2010-02-03 01:39:13 +01:00
Christian Dywan b4a414f371 Load about:blank in private window if URI is empty 2010-02-02 22:29:31 +01:00
Alexander Butenko 57ce6cbe21 Do not populate the history array from sqlite at startup 2010-02-02 21:02:45 +01:00
Christian Dywan c9c9351ffb Always enable developer extras regardless of the saved value 2010-02-01 23:55:51 +01:00
Christian Dywan c056a21d1a Unconditionally propagae modified user-agent property value 2010-02-01 23:55:51 +01:00
Christian Dywan 24759ec86f Do not add duplicate Netscape plugins to the extensions 2010-01-31 23:02:31 +01:00
Christian Dywan 41583dc940 Guard pixbuf in location action that is not used with Hildon 2010-01-31 22:29:22 +01:00
Christian Dywan f5489973f5 Position the suggestion popup, towards the top if below is too narrow 2010-01-31 22:12:58 +01:00
Christian Dywan 4f9d726c55 Merge ident-string setting into user-agent for old and new WebKit
Since the existence of two properties causes confusion among users
we merge the two, and actually remove ident-string.
2010-01-31 22:10:24 +01:00
Christian Dywan b447070d7d Use new GtkActivatable API in MidoriBrowser 2010-01-31 20:41:30 +01:00
Christian Dywan cc50c6d58b Remember whether 'Clear private data when quitting' is enabled 2010-01-31 20:41:30 +01:00
Christian Dywan 5472c5d5df Fix the order of search engines in the completion 2010-01-30 17:39:32 +01:00
Christian Dywan a436234edb Add local storage, database and offline app cache to preferences 2010-01-30 17:26:26 +01:00
Christian Dywan 3441ab45ef Default local storage, database and offline app cache to disabled 2010-01-30 17:26:03 +01:00
Christian Dywan c43d887747 Use first search engine if the default is not set 2010-01-30 16:54:38 +01:00
Christian Dywan 3d01b7b0c3 Search engines in completion should have a distinct background 2010-01-30 01:52:22 +01:00
Christian Dywan 1a0573e2f3 Use gtk_widget_is_toplevel if available instead of the macro 2010-01-29 22:54:42 +01:00
Christian Dywan cc6bb8fddb Lookup icon size in relation to the according screen or widget 2010-01-29 22:43:39 +01:00
Christian Dywan 37d89d0986 Move declaration in search action icon callback to the top 2010-01-29 21:13:44 +01:00
Christian Dywan 218a05049c Create and release script context for --run/ -r only when needed 2010-01-29 21:12:14 +01:00
Christian Dywan 32a62a7057 Hide the combobox arrow if the history unset or is empty 2010-01-29 18:54:58 +01:00
Christian Dywan e5c65a160c Turn browser action helpers into macros 2010-01-28 23:50:44 +01:00
Christian Dywan 88becdd669 Destroy the thumb_view with WebKitGTK+ <> 1.1.14 2010-01-28 23:28:37 +01:00
Christian Dywan 8c62689981 Initially pressing Up in completion should select the last match 2010-01-28 23:15:49 +01:00
Christian Dywan ca9420bdfc Always hide findbar on hotkey if visible, or when it loses focus 2010-01-28 22:35:21 +01:00