Commit graph

2157 commits

Author SHA1 Message Date
Christian Dywan
e97a198e98 Cache scriptcode generated by adblock instead of generating on load 2009-10-12 12:12:38 +02:00
Christian Dywan
5f300fd8ba Add DNS prefetching and form history extensions to translatable files 2009-10-10 23:39:30 +02:00
Christian Dywan
b9d4266d27 Refactor IDN handling and related unit tests
Most code is shared despite different available libraries now and
can more effeciently be tested.
2009-10-10 11:09:10 +02:00
Christian Dywan
94db485293 Initialize adblock unit tests with an empty pattern 2009-10-10 11:08:29 +02:00
Christian Dywan
223e9be7e3 Don't leak blockcss but free it before replacing it 2009-10-09 17:20:55 +02:00
Alexander Butenko
2718e47ca0 Add a DNS prefetching extension which fetches hovered links 2009-10-09 17:13:24 +02:00
Alexander Butenko
63b25561ff Re-use one hashtable instead of replacing it 2009-10-09 17:05:07 +02:00
Christian Dywan
0ac4de8aa5 Properly pass external addresses with libSoup 2.27.90 2009-10-09 14:21:55 +02:00
Christian Dywan
fa8f109da9 Conditionalize restoring of the scrolling position
Ensure that we differentiate an unset value from a valid value
as well as having restored the position already so we don't
accidentally restore a wrong position.

Restoring after having loaded a page is still not ideal but there
doesn't seem to be a better way at this point.
2009-10-08 20:56:24 +02:00
Christian Dywan
0706bdbbe7 Don't leak form suggestions and don't return from the loop 2009-10-07 23:04:30 +02:00
Alexander Butenko
37e2c84b2b Install formhistory resources, don't fill in passwords
Reading post data is there but nothing is written to disk yet.
2009-10-07 22:30:16 +02:00
Christian Dywan
3ed9e482cd Fix display formatting of URIs and unit test it properly 2009-10-07 01:50:10 +02:00
Christian Dywan
ca81aeb034 Regard file:// URIs as valid for bookmarks 2009-10-06 20:40:43 +02:00
Alexander Butenko
50c159e9bb Initial code for the form history extension 2009-10-06 20:35:56 +02:00
Christian Dywan
c624048c21 Enable integrated page setup combo box for printing 2009-10-05 20:52:34 +02:00
Christian Dywan
7aaf59ec9a Format addresses nicely, with no percents and no punycode 2009-10-05 20:50:08 +02:00
Christian Dywan
1998219933 Refactor location action to not use MidoriLocationEntryItem 2009-10-04 05:13:37 +02:00
Christian Dywan
acb2104128 Encode IDN addresses passed externally
Apparently libUnique can't handle international domains and
won't pass them onto the destined instance, so we encode
them beforehand.
2009-10-04 03:12:10 +02:00
Christian Dywan
b53c39b82e Remember text typed in the location when switching tabs
The API of the location action is adjusted so that any typed
text can be retrieved, distinguished from a confirmed URI.
2009-10-04 02:32:50 +02:00
Christian Dywan
d4c9c87f79 Fix a leaked folder string when activating extensions 2009-10-04 00:02:52 +02:00
Christian Dywan
2ff14cf64d Fix a leaked URI string when injecting user scripts 2009-10-04 00:02:23 +02:00
Christian Dywan
136f5d981f Use "orientation" property of the toolbar instead of the function
The function is superseded with the introduction of the orientable
interface in new GTK+ releases, but the property is the same.
2009-10-03 23:59:57 +02:00
Alexander Butenko
53b3c6aee3 Measure the performance of adblock parsing with a unit test 2009-10-03 23:57:12 +02:00
Alexander Butenko
c812efad2b Go back to the previous, faster pattern handling in adblock 2009-10-03 23:52:59 +02:00
Enrico Tröger
b13c69a365 Add a module.xml for cgit 2009-10-03 18:17:59 +02:00
Christian Dywan
7c2eb4de16 Fix a crash caused by freeing the adblock filters in the wrong way 2009-10-03 13:27:12 +02:00
Masato Hashimoto
096a48b14c l10n: Updates to Japanese (ja) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-10-03 07:34:58 +00:00
Christian Dywan
ce5a959840 Use MIDORI_NLSPATH instead of NLSPATH
A small number of systems uses NLSPATH in a way that breaks
localization in Midori. It is unclear what the correct way is to
use NLSPATH, so we switch to using a prefixed variable.
2009-10-03 02:27:51 +02:00
Christian Dywan
93e846bf47 Display IDN hostnames decoded in address completion 2009-10-03 02:16:15 +02:00
Christian Dywan
a51b8f18dc Fix a memory leak in the address completion match handling 2009-10-03 02:04:15 +02:00
Christian Dywan
2b493414d5 Correct memory handling leading to corruption in adblock 2009-10-03 02:03:49 +02:00
Christian Dywan
ec81068299 Provide default adblock config with easylist 2009-10-03 01:37:07 +02:00
Christian Dywan
18ab34bdc8 Load extension settings from global config folders
For example, /etc/xdg/midori/extensions/extension_name/config
2009-10-02 23:07:36 +02:00
Christian Dywan
255018aeaa Do not add history items for URIs that were visited on the same day 2009-10-02 21:29:08 +02:00
Christian Dywan
41385a9e5e Implement katze_array_find_uri for finding duplicates 2009-10-02 21:27:31 +02:00
Christian Dywan
a6ee2320e8 Add Copy to the refactored context menu 2009-10-02 00:00:00 +02:00
Christian Dywan
e4b09739fa Don't use gtk_action_get_tooltip since it is GTK+ 2.16 only 2009-10-01 23:19:01 +02:00
Christian Dywan
2d1481699a When hovering menu items, show descriptions in the statusbar 2009-10-01 02:35:15 +02:00
Christian Dywan
1535bc8970 Show 'Send a message to <mail address>' when hovering email links 2009-09-30 23:55:39 +02:00
Christian Dywan
037be4dda4 Offer 'Send message to <mail address>' for selections 2009-09-30 23:45:02 +02:00
Christian Dywan
60a96b9d8b Implement 'Open last session' menu item 2009-09-30 23:02:10 +02:00
Christian Dywan
c848b24733 Backup the old session when resetting it in the Crash dialog 2009-09-30 22:30:19 +02:00
Christian Dywan
3686db6f6f Add Window > Focus Current Tab 2009-09-30 22:18:17 +02:00
Christian Dywan
df88be1aff Reduce the mount of casts in the browser 2009-09-29 22:25:09 +02:00
Christian Dywan
0e0ce115f9 Update tab panel selection when tabs are switched, opened or closed
A convenince function tab_panel_get_iter_for_view is introduced
to make finding the right iter easier.
2009-09-29 20:50:04 +02:00
Christian Dywan
f530218492 Notify MidoriBrowser::tab property properly 2009-09-29 20:49:30 +02:00
Christian Dywan
7a5329a1e0 Count font names added to the list, to fix font combo boxes 2009-09-29 00:08:22 +02:00
Christian Dywan
6d31faecf3 Default to Ctrl+Alt+U instead of Ctrl+U for View source 2009-09-28 23:10:31 +02:00
Christian Dywan
1d634247c7 Only if a preriod follws is a typed number the start of an IP address 2009-09-28 23:01:48 +02:00
Christian Dywan
96093d9067 Implement drag (finger) and kinetic scrolling with KatzeScrolled
The feature is primarily interesting for mobile devices and
by default enabled with gtk-touchscreen-mode.
2009-09-28 22:12:41 +02:00