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
Sergio Marques
613f47627e
l10n: Updates to Portuguese (pt) translation
...
Transmitted-via: Transifex (translations.xfce.org)
2009-12-28 17:58:20 +00:00
David Štancl
e70d3368d5
l10n: Updates to Czech (cs) translation
...
Transmitted-via: Transifex (translations.xfce.org)
2009-12-28 10:03:57 +00:00
Masato Hashimoto
67ed350367
l10n: Updates to Japanese (ja) translation
...
Transmitted-via: Transifex (translations.xfce.org)
2009-12-28 05:50:58 +00:00
Christian Dywan
8b7fdb7a56
Check that g_utf8_normalize was non-NULL, fallback otherwise
2009-12-27 22:18:02 +01:00
Alexander Butenko
33565cc2f3
Check whether the header file was created and mkdir the parent folder
...
When the web cache folder is deleted, the filenames passed to callbacks
may not be updated, so trying to write headers results in a crash.
We need to make sure we only write after opening the file properly.
2009-12-27 22:04:27 +01:00
Mișu Moldovan
3aeb60ec83
l10n: Updated Romanian translation
...
Transmitted-via: Transifex (translations.xfce.org)
2009-12-27 19:06:56 +00: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
Alexander Butenko
138e837457
Free the URI when the file was already cached
2009-12-26 15:20:57 +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
David Štancl
799b22b34e
l10n: Updates to Czech (cs) translation
...
Transmitted-via: Transifex (translations.xfce.org)
2009-12-24 08:55:48 +00:00
Alexander Butenko
06f5306d56
Fix a typo when using g_access in Web Cache
2009-12-23 23:39:54 +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
Alexander Butenko
05601be635
Use id to avoid inserting adblock/ form history style more than once
2009-12-23 15:35:09 +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
9ab1040e5f
Don't use titles for adblock styles, WebKit only loads one with a title
2009-12-22 01:05:54 +01:00
Alexander Butenko
1c424106f1
Don't test file existence in adblock, katze_mkdir and check download status
...
It is enough to see if g_fopen fails, thus we don't need g_access
to test file existence additionally.
katze_mkdir_with_parents is optimized for existing folders.
We need to check the status, to see if file downloads are finished.
For Windows, we need to use g_strndup instead of strndup.
2009-12-22 00:07:39 +01:00
Alexander Butenko
61266c26ec
No need to g_access when checking cached file, fopen is enough
2009-12-21 23:48:51 +01:00
Alexander Butenko
eddb3ef557
Only monitor actually existing user script/ style folders
2009-12-21 23:40:29 +01:00
Alexander Butenko
dc288dd3c3
Don't use g_access, use the return value of g_file_get_contents
2009-12-21 23:27:00 +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
Evaggelos Balaskas
84109ceb73
l10n: Updates to Greek (el) translation
...
Transmitted-via: Transifex (translations.xfce.org)
2009-12-21 08:57:20 +00:00
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