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
Christian Dywan
bf11be2cfe
Normalize text when matching location completion
2009-12-26 22:57:18 +01:00
Christian Dywan
0f988af446
Tweak location match rendering by reducing conditions
2009-12-26 15:21:39 +01:00
Christian Dywan
3686061033
Update location icon for the correct view, and update it properly
2009-12-26 15:20:57 +01:00
Christian Dywan
be5c679b39
Optimize icon handling in MidoriView and use Find for blank page
...
We return early where appropriate and use icon names when possible.
2009-12-26 15:20:56 +01:00
Christian Dywan
fc8145aa41
Add workaround for wrong context menus in forms and certain links
...
There is no API currently to tell if the pointer is over a form
control and there seem to be cases of wrongly reported context.
2009-12-23 23:13:25 +01:00
Christian Dywan
112966fe67
Implement web inspector attaching/ detaching properly
2009-12-23 22:01:42 +01:00
Christian Dywan
407e4dd5d3
Enable web inspector by default and remove the preference
...
Apparently the web inspector is not discoverable and a lot of
people who would use it, are not aware of its existence. So
we enable it by default.
2009-12-23 16:24:51 +01:00
Christian Dywan
a671f8fd5b
Remove unused Original cookies only preference
...
If we implement it, a new value in accept-cookies is good enough.
2009-12-23 16:03:04 +01:00
Christian Dywan
973e4aa907
Bookmarking a link is a new bookmark, hence pass TRUE for new_bookmark
...
This used to work by accident as long as the code wasn't optimized
to avoid removing and adding existing bookmarks.
2009-12-23 15:26:34 +01:00
Christian Dywan
7801ecfeb5
Return TRUE when starting inline find, to prevent inserting . or /
2009-12-23 15:24:51 +01:00
Christian Dywan
cec6b31044
Initialize diagnostic_dialog to FALSE by default
2009-12-22 01:07:01 +01:00
Alexander Butenko
613979a579
Declare fd_recv early at the top of socket.c
2009-12-21 23:22:04 +01:00
Christian Dywan
d0e72f5d33
Fix crasher in sokoke_hostname_from_uri and add additional tests
2009-12-21 18:26:50 +01:00
Christian Dywan
4e25f72768
Fix two typos from replacing g_file_test with g_access in sokoke
2009-12-21 18:26:49 +01:00
Christian Dywan
8f0d632ef5
Add -d, --diagnostic-dialog command line switch
2009-12-21 18:26:49 +01:00
Alexander Butenko
045cc81b45
Use g_access instead of g_file_test consistently
2009-12-19 11:28:46 +01:00
Christian Dywan
a94cf71700
Turn libnotify into a build-time dependency, mind notify-send
...
libnotify support is decided at build-time now, to avoid so name
issues. notify-send is still optional at runtime as a fallback.
2009-12-15 00:03:28 +01:00
Christian Dywan
f905420967
Show spell checking preferences unconditionally
2009-12-14 23:25:33 +01:00
Christian Dywan
e04a078de4
Check for libnotify.so.1 and libenchant.so.1 explicitly
...
Some distributions only install versioned libraries by default
while the generic files reside in development packages. This is
because later versions may break ABI, so we explicitly use
the supported version.
2009-12-14 18:54:32 +01:00
Christian Dywan
c9da1beb1c
Fix visibility of the Statusbar action
2009-12-14 18:52:16 +01:00
Christian Dywan
a6a4f0ffec
Make sure there is an URI when spawning private browsing
...
This is mainly an issue for unit tests.
2009-12-13 15:59:54 +01:00
Christian Dywan
d2d5bf33b6
Implement context menu in menu items, forward buttons from the menubar
2009-12-13 15:44:02 +01:00
Christian Dywan
18ec1f25cb
Add primitive Private Browsing based on Midori web app mode
...
Essentially it's just an instance of Midori that doesn't load or
write any preferences or personal data. The main drawback is that
it doesn't load any extensions either.
2009-12-12 21:56:11 +01:00
Christian Dywan
ff2e042898
Show Manage Search Engines in the context menu of the address entry
2009-12-12 21:55:37 +01:00
Christian Dywan
fb5d74d53f
Validate uri and title in completion in case of invalid UTF-8
2009-12-12 18:04:48 +01:00
Christian Dywan
63e3672632
Validate formatted URI, otherwise pass the original URI
...
Apparently g_uri_unescape_string can return invalid UTF8, so
until we can replace or fix it, we double check to avoid
crashing in g_markup_escape_text and other places.
2009-12-12 01:21:06 +01:00
Christian Dywan
e403f2259b
Don't remove edited bookmark from parent if it's at the toplevel
2009-12-12 00:14:20 +01:00
Christian Dywan
79101c3350
Revise saving bookmarks to file, recursively
2009-12-11 23:59:08 +01:00
Christian Dywan
7ce27f542f
Revise populating and updating of the bookmarkbar
...
Avoid removing items except when actually newly added.
2009-12-11 23:58:21 +01:00
Christian Dywan
50b37c3f28
Parse meta info for array from xmlNodePtr
2009-12-11 23:43:56 +01:00
Daniel Michalik
d6457fd085
Check for the correct dialogue response for Save As
...
This fixes choosing Save As in file download fialogues.
2009-12-09 20:58:15 +01:00
Christian Dywan
8d3b12629c
Omit Hildon customizations in MidoriBrower that can be configured
2009-12-09 20:58:15 +01:00
Christian Dywan
0542a0fcf2
Only write settings with values that differ from the defaults
2009-12-09 20:58:15 +01:00
Christian Dywan
a08caa02b9
Retain the visibility of the navigationbar in fullscreen mode
...
It can be hidden manually, the way it used to be in 0.2.0
2009-12-08 23:57:58 +01:00
Daniel Michalik
7c80307642
Use more common Ctrl + Return to open a new tab from the location
2009-12-07 23:59:06 +01:00
Christian Dywan
4f5262df42
Make internal link element search a truly anonymous function
2009-12-07 22:31:43 +01:00
Christian Dywan
88b720295f
Implement middle click on the bookmark button in the bookmarkbar
2009-12-07 21:14:10 +01:00
Christian Dywan
47514c180e
Set an invalid config dir in app mode to prevent accidental pickup
...
We don't want web apps to accidentally use configuration files from
the default folder, eg. for speed dial.
2009-12-07 20:58:07 +01:00
Christian Dywan
9adf9458b0
Support executing multiple passed commands one after another
2009-12-07 20:52:32 +01:00
Christian Dywan
23a2d8e491
Handle -e/ --execute in Midori web application mode
2009-12-07 20:44:29 +01:00
Christian Dywan
38205dd351
Implement Quit in Midori in web application mode
2009-12-07 20:41:13 +01:00
Christian Dywan
427ae90f08
Try to search for it, if middle click open encounters a non-URI
2009-12-07 20:38:02 +01:00
Daniel Michalik
61e51c1991
Update default search engine if the according search engine is modified
2009-12-07 20:38:02 +01:00
Christian Dywan
fadd0f31c2
Allow Ctrl+C to break normally while still handling it well
2009-12-07 20:38:02 +01:00
Christian Dywan
9c40d3b5ba
Handle Empty menu item in bookmarks and not in KatzeArrayAction
2009-12-05 23:58:40 +01:00
Christian Dywan
ca6174ba6c
Support RDF bookmarks, and add Epiphany to Import bookmarks
2009-12-05 23:43:12 +01:00
Christian Dywan
1fa2c95bf4
Implement reverse ordering for use in Trash and RecentlyVisited actions
2009-12-05 21:33:19 +01:00
Christian Dywan
05d9c26e37
Add Konqueror to the Import bookmarks dialogue
2009-12-05 20:14:41 +01:00
Christian Dywan
3a1b795b9e
Add Custom option to Import bookmarks dialogue
2009-12-04 02:55:08 +01:00
Christian Dywan
da0304964e
Refactor XBEL writing to use GString and filter out control characters
...
The writing becomes faster because we avoid some redundant allocations
and we improve XML compatibility by filtering out control characters
which are not supported in Midori.
2009-12-03 23:13:15 +01:00
Christian Dywan
c7601bdb9a
Use Preferences icon for Tools if used in the toolbar
2009-12-03 00:06:53 +01:00
Christian Dywan
ded1573054
Handle long lines when importing Opera bookmarks
2009-12-02 23:46:34 +01:00
Christian Dywan
718d832537
Add 'Import bookmarks' button into the bookmark panel
2009-12-02 23:11:59 +01:00
Christian Dywan
a35b548589
Add 'Web Cache' to Delete private data dialogue
2009-12-02 19:02:59 +01:00
Christian Dywan
2ea4ae7079
Revise handling of application paths when importing bookmarks
2009-12-02 00:39:56 +01:00
Christian Dywan
aa5b5850c0
Optimize string assignments and comparisons in XBEL loading
...
We can do fast string comparisons in places where we know that
strings are not NULL.
We can directly assign values to items we create ourselves.
2009-12-01 03:17:50 +01:00
Christian Dywan
557fdda228
Try hard to open bookmarks if they have an incomplete address
2009-11-30 19:36:16 +01:00
Christian Dywan
a1cdf0bf4e
Load default accels file from /etc/xdg/midori if no accels present
2009-11-30 19:36:16 +01:00
Christian Dywan
56b0a55a2d
Improve XBEL format compatibility and support bookmark sharing
...
Loading of XBEL needs to handle title and desc children of the root
element. This is equal to using the according properties.
MicroB uses metadata without an owner and uses children rather than
properties. This is against the spec but we want to handle that.
A key value leak was plugged.
If the bookmark file is absolute, we assume it is a foreign file
and we shouldn't overwrite it.
2009-11-30 19:36:15 +01:00
Christian Dywan
baaca9a061
Remove Hildon specific icon and shortcut values
2009-11-30 19:36:15 +01:00
Christian Dywan
2973df0f9b
Enable Zoom and Fullscreen with hardware keys on Hildon
2009-11-29 15:09:00 +01:00
Christian Dywan
d9eb5dcec9
Build an invisible menubar in Hildon to retain hotkey functionality
...
GtkUIManager requires existing proxies for hotkeys to work at all.
2009-11-29 15:01:57 +01:00
Christian Dywan
a7ca507b3a
Don't prioritize key presses because that breaks inline find
...
This 'breaks' using single character shortcuts in conjunction
with inline find, but we can live with that.
2009-11-29 14:31:23 +01:00
Christian Dywan
dd97edf856
Refactor compact add and error message dialogues
2009-11-29 14:09:29 +01:00
Christian Dywan
5a65ed6253
Optionally open panels in standalone windows by default
2009-11-29 14:09:29 +01:00
Christian Dywan
565e32599e
Use icon names for search engines directly instead of pixbufs
2009-11-29 14:09:28 +01:00
Christian Dywan
2ace79c85a
Replace Bookmarks with Tools in the Hildon toolbar layout
2009-11-29 14:09:28 +01:00
Christian Dywan
206fee346b
Use a standard entry widget in the location on Hildon
2009-11-29 14:09:28 +01:00
Christian Dywan
183878db8c
Omit Help in Adblock and Search Engines dialogues on Hildon
2009-11-29 14:09:28 +01:00
Christian Dywan
7d89c3c357
Don't capitalize bookmark addresses automatically on Hildon
2009-11-29 14:09:28 +01:00
Christian Dywan
1d68dc9fb7
Implement and optimize for portrait mode support for Fremantle
...
Listen to accelerometer movement.
Hide tool items in portrait mode.
Omit Homepage and View Source from app menu.
Include Compact Add, View Source and Fullscreen in context menu.
Hide buttons in portrait mode in preferences.
2009-11-29 14:09:28 +01:00
Christian Dywan
ffee6e3850
Open bookmarks from the panel as apps or internal consistently
2009-11-26 23:16:07 +01:00
Christian Dywan
76cf21146d
Guard midori_web_view_menu_background_tab_activate_cb for WebKitGTK+ 1.1.15
2009-11-25 23:42:09 +01:00
Christian Dywan
e65606fd06
Do not hardcode any default settings for Hildon
...
The proper way is to provide a customized config file.
2009-11-25 00:05:09 +01:00
Christian Dywan
d02d1db97f
Support tel:, callto: and refactor MIME supporting (including Hildon)
2009-11-24 23:54:29 +01:00
Christian Dywan
3b573328cc
Only show bookmarks in the toolbar which are marked as such
2009-11-23 20:46:00 +01:00
Christian Dywan
c26d1775e9
Back to case folding and handling completion actions properly
2009-11-23 20:41:10 +01:00
Christian Dywan
99ff111e69
Show a popup menu to choose from multiple available news feeds
2009-11-22 20:40:21 +01:00
Christian Dywan
21f7bd7c68
Display application icons in the Import bookmarks dialogue
2009-11-22 05:12:13 +01:00
Christian Dywan
641c37a8de
Add Kazehakase to the applications to import bookmarks from
2009-11-22 05:12:13 +01:00
Christian Dywan
a38574473f
Do address matches with a simple strstr for now
...
The way we originally folded strings didn't work in all cases of
unicode strings and the last attempt to improve that broke it
on some systems while it improved on others.
So for now we go back to the safe way.
2009-11-22 05:12:13 +01:00
Christian Dywan
94ee507492
Fold strings before matching to improve the comparabillity
2009-11-21 07:17:45 +01:00
Christian Dywan
6ed99001fc
Check that new-window did return a browser before adding a tab
2009-11-21 06:45:01 +01:00
Christian Dywan
83dbe3417f
Only prefill inline find entry if there is actually a selection
2009-11-21 06:42:16 +01:00
Christian Dywan
0af9c0cc9d
Bail out of BookmarksImport action if no bookmarks or hidden browser
2009-11-21 06:39:18 +01:00
Christian Dywan
3253f1605a
Only set search in the browser if we have any search engines
...
This fixes the test case which broke when we made settings obligatory.
2009-11-21 06:36:35 +01:00
Christian Dywan
7bfd4e147d
Catch failure to unescape Uris and don't escape ' ' or '+'
2009-11-21 02:35:14 +01:00
Christian Dywan
34e02640cf
Do not treat URIs passed externally like files, pass them as they are
2009-11-21 02:35:14 +01:00
Christian Dywan
3e5937fe33
Use an unknown content type if GIO fails to determine the type
2009-11-20 01:34:16 +01:00