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
Christian Dywan
b947e5d662
Re-implement search engines in the completion
2010-01-28 22:19:00 +01:00
Christian Dywan
7065767a61
Apply scrollbar size hack to get the correct completion height
...
GtkEntryCompletion uses a hack to ensure that the suggestion
popup has the correct height. We do the same now.
2010-01-28 02:25:52 +01:00
Christian Dywan
3a949ac407
Use about:blank as speed dial resource root with WebKitGTK+ 1.1.14
2010-01-27 23:17:15 +01:00
Christian Dywan
38d0022ec8
Do not validate URI or title when rendering completion matches
2010-01-26 22:07:57 +01:00
Alexander Butenko
5fa82189fa
Only show the completion after resizing it properly
...
Showing the completion early on will result in ugly flickering,
curiously not with xfwm4.
2010-01-25 22:10:39 +01:00
Christian Dywan
3bcd5700e1
Prevent the panel buttons from shrinking below minimum width
2010-01-25 21:44:26 +01:00
Christian Dywan
36becf34c8
Re-implement location arrow popup with sqlite
...
All uses of populating filter model, freezing and the hash table
are replaced by populating the combo box model on popup.
2010-01-25 21:44:26 +01:00
Alexander Butenko
4854cfab5d
Use notify-send only as a fallback if libnotify is not available
2010-01-25 21:44:26 +01:00
Christian Dywan
65c56f26a8
Rely on sqlite for completion, otherwise disable it entirely
2010-01-25 01:19:03 +01:00
Christian Dywan
726c7c34e0
Popdown completion if key is empty or there are no matches
2010-01-25 00:06:32 +01:00
Christian Dywan
f0bfc701d9
Correct panel toggle button tooltip to say 'Hide operating controls'
2010-01-24 11:04:17 +01:00
Christian Dywan
82cb12b605
Revise and unitfy behavior modulating modifier handling
...
We define modfifier macros that indicate whether a modifier
indicates a new window, new tab, background tab or scrolling.
Modifier checks in the address entry, the search entry and view
now use the same consistent modifiers.
2010-01-24 11:00:52 +01:00
Alexander Butenko
dc25035e29
Sort completion matches by visits in complete days
2010-01-24 11:00:51 +01:00
Christian Dywan
edc6d6587c
Update Firefox identification to Firefox 3.8
2010-01-21 18:59:34 +01:00
Christian Dywan
3a3fa03bf4
Implement 'Inspect page' menuitem with WebKitGTK+ >= 1.1.17
2010-01-21 18:59:34 +01:00
Christian Dywan
0442113b94
Popdown completion when location text is changed explicitly
...
Programmatic changes are done when adding, closing or switching
the current tab, and that should popdown completion.
2010-01-20 23:20:28 +01:00
Christian Dywan
8aba77a0e9
Allow button handling for selection and context menu in location entry
2010-01-20 23:16:29 +01:00
Christian Dywan
897af36ed5
Revise completion to react on paste/ cursor/ backspace
...
We need to avoid updating the real text afterall, but update it
in the event of a cursor movement.
We also need to trigger completion on backspace or paste.
We need to remove the timer when we popdown completion.
We need to make sure to not show completion for empty text.
2010-01-20 23:11:25 +01:00
Christian Dywan
33d90b247c
Truly update text in location entry to make Home, End and friends work
2010-01-20 21:55:54 +01:00
Christian Dywan
e0a50c47d3
Clicking inside the location entry closes the completion window
2010-01-20 21:34:17 +01:00
Christian Dywan
4110b64ae8
Let hovering completion suggestions select rows
2010-01-20 21:28:44 +01:00
Christian Dywan
0145cb3171
Make clicking completion suggestion actually open the address
2010-01-20 21:25:39 +01:00
Christian Dywan
cabc3f0764
Fill in address if clicked on completion suggestion
2010-01-20 07:48:34 +01:00
Christian Dywan
0795c4f13c
Add #define for gtk_widget_has_focus for GTK+ < 2.18
2010-01-20 07:11:20 +01:00
Christian Dywan
04f953dc0d
Don't trigger completion on control characters
2010-01-19 07:11:51 +01:00
Alexander Butenko
4b35435c2c
Order completion matches by most recent visit, ascending
2010-01-19 06:42:21 +01:00
Alexander Butenko
5bf92be622
Don't show completion if the entry already lost focus
2010-01-19 06:34:53 +01:00
Alexander Butenko
b5a23cec3a
Show completion popup only after resizing the columns
2010-01-19 06:28:07 +01:00
Christian Dywan
1f3313424f
Use a tree model filter visible function to limit recent items
2010-01-17 22:36:44 +01:00
Christian Dywan
c99921022f
Implement completion with live sqlite queries
...
If sqlite is available, we can directly query results from the
database and populate our model on the fly.
2010-01-17 18:14:49 +01:00
Christian Dywan
07261e284c
Re-implement location action with our own completion popup
...
Completion is triggered on key press only, with a delay of 150ms.
Completion can be triggered by input method usage.
The popup size adjusts to the entry size and closes if focus is lost.
2010-01-17 18:14:49 +01:00
Christian Dywan
27634e4f1e
Use prepared statement to read history array instead of exec
2010-01-17 18:14:49 +01:00
Christian Dywan
7f26cc7384
Remove 'Search engines in completion' functionality
...
The feature doesn't work well with more than two engines.
2010-01-17 18:14:49 +01:00
Christian Dywan
2d8c8bebf5
Add G_GNUC_CONST to all Midori type functions
2010-01-17 18:14:48 +01:00
Christian Dywan
86d060f250
Change db_ helpers in main.c into direct sqlite3_ calls
...
This means 1 function call instead of 2 or 3 calls for each
query and should reduce some overhead.
2010-01-15 07:07:00 +01:00
Christian Dywan
8dbc86361d
Implement 'Close other tabs' menu item in tab context menu
2010-01-14 02:49:19 +01:00
Dale Whittaker
96178e60b7
Check page icons of search engines first, afterwards icon names
2010-01-13 06:55:49 +01:00
Christian Dywan
789485a086
Do no extra type checking when querying the history database
2010-01-13 00:10:32 +01:00
André Stösel
4e561eeef3
Fixup the key value to allow Ctrl + Shift + Tab
2010-01-12 23:34:10 +01:00
Christian Dywan
dab3505e0c
Store argument vector and display it in about:version
2010-01-12 23:34:10 +01:00
André Stösel
ca5bfa1b1d
Allow the panel to expand, to stop it from ever-growing in fullscreen
2010-01-11 21:55:12 +01:00
Christoph Wickert
96a03e91bf
Use FileTransfer category rather than Network for download managers
2010-01-10 22:02:46 +01:00
Christian Dywan
a4a9cd91d3
Use an alignment the image size request to adjust close buttons
2010-01-10 22:02:46 +01:00
Christian Dywan
16947894d4
Make %u in command lines work just like %s
...
This is not strictly by the spec but it works in practise.
2010-01-10 22:02:46 +01:00
Christian Dywan
9cf6f6a3cc
Move around preferences so Open panels in Windows is always shown
2010-01-10 07:22:21 +01:00
André Stösel
de4eede5cc
It should be 'gint position', not gboolean
2010-01-10 07:22:20 +01:00
Christian Dywan
a7cbc73981
Add i18n comments for Paste Proceed as well as Go to next/ previous page
2010-01-10 07:22:20 +01:00
Christian Dywan
9db458ba9c
Hide panel toolbooks when there is only a controls button in there
2010-01-08 01:43:33 +01:00
Christian Dywan
317eefa1c8
Prevent a recurive loop when toggling operating controls
2010-01-08 01:08:37 +01:00
Christian Dywan
dba473e069
Move the logo on special pages to the background
2010-01-08 00:42:23 +01:00
Christian Dywan
a8cd1499ab
Move panel icons to the bottom and always remove the labels
...
This is an attempt at simplifying the panel, in the hope
that it is still discoverable enough.
2010-01-08 00:16:56 +01:00
Christian Dywan
cbebda0db4
Remove Plugins panel, instead add Netscape plugins to Extensions
...
Netscape Plugins cannot actually be activated or deactivated
at the moment.
2010-01-08 00:16:56 +01:00
Christian Dywan
f4c7df59b4
Connect accelerators of implicitly created panel actions
2010-01-08 00:16:55 +01:00
Christian Dywan
139132afbd
Implement about:version page with important build configuration aspects
2010-01-08 00:16:55 +01:00
André Stösel
5c89cc8bd2
Spell accept language header as 'Accept-Language'
2010-01-08 00:16:55 +01:00
André Stösel
b5b32495f9
Implement 'Preferred languages' preference, ACCEPT_LANGUAGE header
2010-01-07 01:35:51 +01:00
Christian Dywan
b7d09f38bb
Handle window raising without the help of unique
2010-01-06 23:40:46 +01:00
Christian Dywan
996f1a86d3
Omit an unused config variable when loading extensions
2010-01-06 23:40:45 +01:00
Christian Dywan
5d5d2517c8
Rename 'Spell checking languages' to 'Spelling dictionaries'
2010-01-06 23:40:45 +01:00
Christian Dywan
66d72c915e
Add a label 'Spell checking languages:' in front of the spell entry
...
The entry by itself is confusing to many users, and a label is better
than nothing while we don't have a better interface.
2010-01-04 23:42:30 +01:00
Christian Dywan
b8037dc906
Ctrl + Right-click to suppress javascript button handling
...
Pages like Google Maps handle right-clicks and either provide
their own sort of context menu or just disable the menu. We
want the option to always get our proper menu.
2010-01-04 23:42:30 +01:00
Christian Dywan
97d6137ea8
Disable developer extras in web app mode
2010-01-03 23:00:27 +01:00
Christian Dywan
bb9ec27402
Build only main.c in the progressive midori target
2010-01-03 22:58:04 +01:00
Christian Dywan
bebacc8565
Determine whether we can view the source via g_content_type_is_a
2010-01-03 22:26:15 +01:00
Christian Dywan
83f68c90d9
Use mnemonic s instead of C for 'Copy Link destination'
...
It can conflict if Copy is visible due to a selection.
2010-01-02 22:03:32 +01:00
Christian Dywan
3163c659e5
Implement 'Open Link as Web A_pplication' in link context menu
2010-01-02 21:59:34 +01:00
Christian Dywan
af43d5a761
Construct entry in location action, obsoleting location entry class
2010-01-02 01:25:57 +01:00
Christian Dywan
d55e771b3a
Merge MidoriLocationEntry progress drawing into GtkIconEntry
2010-01-02 00:21:49 +01:00
Christian Dywan
fb04846992
Fix a macro typo in the GtkIconEntry implementation
2010-01-01 23:45:29 +01:00
Christian Dywan
d81f84aa9c
Show bookmarkbar if 'Show in the toolbar' is used on a bookmark
2010-01-01 23:37:13 +01:00
Christian Dywan
578f74a308
Merge compat.h into sokoke and remove gtk_show_uri implementation
2010-01-01 23:24:03 +01:00
Christian Dywan
2f202f8020
Implement "Paste and proceed" menuitem in location context menu
2010-01-01 23:01:56 +01:00
Christian Dywan
311a5a8a1b
Store searches with tokens in the completion as a distinct item
...
Currently searches won't be stored persistently in the database.
2010-01-01 22:47:24 +01:00
Christian Dywan
3aff0a34d0
Disable 'inline' completion, it causes a huge extra matching overhead
2010-01-01 21:53:28 +01:00
Christian Dywan
8039785073
Move up/ down key handling from the entry into MidoriLocationAction
2010-01-01 18:23:15 +01:00
Christian Dywan
15658145b2
Build katze, core and panels as one, and allow non-progressive build
...
This simplifies the build and possibly helps with linking problems
on some platforms. The 'progressive' option allows building
without an intermediate static library except for unit tests.
2010-01-01 18:20:08 +01:00
Christian Dywan
fc7689f906
Move DNS prefetching into the core
...
The feature is going to be included with WebKitGTK+ and
having it in the core allows us to prefetch bookmarks as well.
2010-01-01 18:16:55 +01:00
Christian Dywan
35d99286d6
Enable page cache by default with WebKitGTK+ 1.1.18
2010-01-01 04:48:36 +01:00
Christian Dywan
df6f4a16b8
Show error message if bookmarklet/ javascript: fails
2009-12-31 05:15:24 +01:00
Enrico Tröger
9183f8e16d
Connect callbacks for gtk_widget_destroy where signature differs
...
Apparently dependent on architecture and compiler, mismatching
callback signatures can cause segmentation faults.
2009-12-29 23:49:10 +01:00
Christian Dywan
b1ee80d55e
Implement katze_utf8_stristr, katze_collfold and use in completion
...
Evidently normalizing any whole string is too slow for completion,
so we need to even out case and composition while iterating through
the strings.
The decompositing version of katze_utf8_stristr is disabled, since
it is too slow, and an ascii only version is used, for now.
A unit test 'compare' is added that solely measures performance of
katze_collfold and katze_utf8_stristr.
2009-12-28 23:59:54 +01:00
Christian Dywan
8b7fdb7a56
Check that g_utf8_normalize was non-NULL, fallback otherwise
2009-12-27 22:18:02 +01:00
Peter de Ridder
10d3733f2d
Reword history error messages to be more accurate
2009-12-27 17:20:42 +01:00
Christian Dywan
b973527239
Remove SelectionSourceView action stubs
...
The web inspector is more than good enough for inspecting select
parts of a page.
2009-12-27 17:05:40 +01:00
Christian Dywan
2d80e60106
Include 'Inspect element' in all menus and show Copy in link menus
2009-12-27 17:02:32 +01:00
Christian Dywan
bd078ed1dd
Print error on console if script execution failed
2009-12-27 16:54:34 +01:00
Christian Dywan
b45fe5cca2
Implement Next and Previous buttons and add to the default toolbar
2009-12-27 13:41:37 +01:00
Christian Dywan
f51785f0aa
Make completion 'inline' which makes it instanteous
...
Against expectation making the entry completion 'inline' does not
show the first match inline but completes instantly when typing.
2009-12-26 23:02:20 +01:00