Commit graph

3651 commits

Author SHA1 Message Date
Alexander Butenko
49d452a438 Eval form history script so it applies to the right frame
webkit_web_view_execute_script always works on the web view.
2009-12-19 20:22:23 +01:00
Carles Muñoz Gorriz
747b882d2d l10n: Updates to Catalan (Valencian) (ca) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-19 10:48:38 +00:00
Alexander Butenko
9af30a1eda Optimize and clean-up form history
Switch from g_file_test() to g_access()

Initialize suggestions once the DOM is ready and only once

No need to handle WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED

[JS] Hide suggestions if search pattern was cleared

[JS] Human usable up/ down navigation in the suggestion window

Reusing a single suggestion window introduced a regression.
Suggestions were filling into the wrong editbox if there was more
than 1 on the page.

Some comments fixed and style clean-ups

Removed dead code
2009-12-19 11:28:46 +01:00
Alexander Butenko
045cc81b45 Use g_access instead of g_file_test consistently 2009-12-19 11:28:46 +01:00
Masato Hashimoto
b8e6084401 l10n: Updates to Japanese (ja) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-19 09:07:24 +00:00
Alexander Butenko
670ee72e3f Use g_access instead of g_file_test in katze_mkdir_with_parents 2009-12-18 21:21:56 +01:00
Alexander Butenko
8c724eccd9 Use g_access in web cache, only SoupSession, pass filenames
Using g_access instead of g_file_test is a lot faster and avoids
big delays when accessing the disk.

Using only the SoupSession without resource-request-starting simplifies
the code. So offline mode is not an option for the moment.

Pass filenames directly to speed up lookups.
2009-12-18 21:21:56 +01:00
Alexander Butenko
12ed2da768 Refactor Adblock to use simpler checks with optional pattern matching
The style is only added once. Match checks are simpler so they can
be a lot faster. And slow pattern matching is optional, albeit
it currently is hardcoded in the source.
2009-12-18 21:21:56 +01:00
Leandro Regueiro
7a2fad7578 l10n: Updates to Galician (gl) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-18 15:29:27 +00:00
Alexander Butenko
82697f0afb Do not add the form history style more than once 2009-12-18 10:22:59 +01:00
Alexander Butenko
e1b82af2c7 Re-use the auto suggestion box and make sure it's not overlapped 2009-12-18 10:22:59 +01:00
Evaggelos Balaskas
cbfe1504b0 l10n: Updates to Greek (el) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-16 19:50:02 +00:00
Daniel Nylander
e6b4b548b6 l10n: Updates to Swedish (sv) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-16 17:46:05 +00:00
Christian Dywan
81f716eacd Bump version to 0.2.2 2009-12-15 22:34:29 +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
2733ae4f2e Connect to button press on folder menu items 2009-12-13 15:41:47 +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
Kim Boram
15cba9c74b Update Korean translation 2009-12-12 18:10:10 +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
Per Kongstad
d1410ef73d l10n: Updates to Danish (da) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-12 12:26:39 +00: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
185ff3e338 Only directly open bookmark proxy if has a URI 2009-12-12 00:04:55 +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
ee4776244e Support meta-data-changed::key in KatzeItem 2009-12-11 23:45:11 +01:00
Christian Dywan
50b37c3f28 Parse meta info for array from xmlNodePtr 2009-12-11 23:43:56 +01:00
Christian Dywan
da617bdefd Only use signal.h when not building on or for Win32
The signal API is available but not practically usable.
2009-12-10 21:55:35 +01:00
David Štancl
14ec502e96 l10n: Updates to Czech (cs) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-10 06:51:06 +00: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
Harald Servat
e8d700be44 l10n: Updates to Catalan (Valencian) (ca) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-09 16:24:00 +00:00
Carles Muñoz Gorriz
6759d45cb2 l10n: Updates to Catalan (Valencian) (ca) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-09 14:52:34 +00:00
Harald Servat
94e432f056 l10n: Updates to Catalan (Valencian) (ca) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-09 13:52:18 +00:00
Sergio Marques
db76927637 l10n: Updates to Portuguese (pt) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-12-09 10:23:38 +00: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
af4d68b6b0 Sort shortcuts in the shortcut editor by name 2009-12-07 23:47:26 +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