Commit graph

3014 commits

Author SHA1 Message Date
Christian Dywan
715ae2efa4 Only look for the osso folder, not the .defs, to see if it's Maemo 2009-10-22 23:11:57 +02:00
Christian Dywan
421460741d Move midori_web_view_set_clipboard inside 1.1.15 guards 2009-10-22 22:59:02 +02:00
Christian Dywan
4257bd2bbc Add Undo close tab to the tab context menu
It is very useful and some people who rarely use the page
context menu will look for it in the tab menu.
2009-10-22 22:54:52 +02:00
Christian Dywan
6ff3e3a17d Make sure the cache folder is there initially 2009-10-22 02:52:40 +02:00
Christian Dywan
6a7059ae5f Remove obsolete items from the TODO file 2009-10-22 02:20:27 +02:00
Christian Dywan
ce5c6ec91b Move the version check for res:// handling where it belongs 2009-10-22 02:20:27 +02:00
Christian Dywan
9040d43632 Refactor web cache to circumvent libsoup when needed
At this point libsoup is dependent on a functional network adapter,
which may not be available if no network connection is there or
the connection is faulty. So *if* we have a requested page in the
cache, we load it before libsoup comes into play.

Depending on the WebKitGTK+ version, loading from cache uses an
"alternate" URI so that we don't end up having cache filenames
in the location entry.

Generation of cache filenames is fixed to never include special
characters such as slashes or question marks.

Only non-empty files are actually stored to the cache folder.
2009-10-22 02:20:27 +02:00
Christian Dywan
f875144aa3 Handle res:// and stock:// with resource request if available
This makes these URIs functional in case of network issues.
2009-10-22 02:20:27 +02:00
Christian Dywan
cbd0668fd0 Handle load-error in the view late so it can be overridden 2009-10-22 02:20:27 +02:00
Christian Dywan
0cdcefd4e8 Make all Copy items in the context menu also use primary clipboard 2009-10-22 02:20:27 +02:00
Christian Dywan
f3cf2561ff Regard data: and javascript: URIs as allowed when adding bookmarks 2009-10-22 02:20:26 +02:00
Christian Dywan
6b0f38e51a Install autosuggestcontrol.js/.css into res like the other files 2009-10-22 02:20:26 +02:00
Xu Meihong
69a2defed9 l10n: Updates to Chinese (China) (zh_CN) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-10-21 05:42:02 +00:00
Christian Dywan
3dfaac3458 Revise loading data from the cache instead of the network 2009-10-20 21:39:05 +02:00
Christian Dywan
620ccd8384 Load icons in the completion lazily to boost startup
This is a partial regression since some icons that come from
XML tags don't show up that way.
2009-10-20 18:25:40 +02:00
Alexander Butenko
90a4acfc6e Check the non-existence of folders before creating them 2009-10-20 18:24:24 +02:00
Christian Dywan
10b6cbb50a Don't check the status code when storing in the cache 2009-10-20 17:30:07 +02:00
Christian Dywan
ea6ae9b9e6 Store cached files in subfolders 2009-10-20 17:28:42 +02:00
Christian Dywan
da65b5d0c1 Implement a primitive web cache extension (unstable)
Incoming files are cached and saved to disk, as well as looked up
when files are requested. Only images are considered at the moment
and there is no epxiration handling or updating at all. Plus
it crashes in certain cases.
2009-10-20 16:04:58 +02:00
Alexander Butenko
d86e03a34e Implement an adblock info icon showing blocked URIs in a tooltip 2009-10-19 23:31:41 +02:00
Alexander Butenko
02d6f806e2 Implement div, a, ul and per domain element adblock rules
element hiding is supported. And instead of creating a javascript
function for each rule, we generate one script for everything.

On my machine only 650 out of 4500 rules are skipped.
2009-10-19 23:16:05 +02:00
Christian Dywan
cef6532429 Refactor MidoriPreferences into KatzePreferences base class
The goal is to get rid of detailed table setups in favour of
automatic alignment with few hints as well as abstracting away
the exact layout to allow reimplementing it in a different form.
2009-10-19 23:15:44 +02:00
Christian Dywan
47c5f15684 Implement combos for choosing applications 2009-10-18 17:25:13 +02:00
Kim Boram
191db1be7a Update Korean translation 2009-10-16 20:41:36 +02:00
Stanley Zhang
9698546c93 Update Simplified Chinese translation 2009-10-16 20:41:35 +02:00
Christian Dywan
3fec0a0265 Adjust katze_(foo_)assign to work inside one-line if's 2009-10-16 20:41:35 +02:00
Masato Hashimoto
640b37e5ec l10n: Updates to Japanese (ja) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-10-16 02:37:40 +00:00
Christian Dywan
d92d96eab7 Bump version to 0.2.0 2009-10-16 00:56:27 +02:00
Christian Dywan
c64a4334f6 Only setup drag scrolling events if touchscreen mode is set
We assume that touchscreen mode is ususally always set or never set,
so we can avoid the overhead.
2009-10-15 23:47:00 +02:00
Christian Dywan
35f032a1a4 Update German translation 2009-10-15 21:25:14 +02:00
Christian Dywan
ecde50cb31 Fix conflicting mnemonic in link/ image context menu 2009-10-14 23:35:31 +02:00
Christian Dywan
b7f90f1a51 Add entry for a filter list address and an explanation to the dialog 2009-10-14 23:23:45 +02:00
Christian Dywan
0d65588651 Support Adblock with earlier Webit versions
With WebKit < 1.1.14 we use libSoup directly.
2009-10-14 21:51:32 +02:00
Christian Dywan
c49a7d1e04 Keep the thumbnail view around to avoid a WebKitGTK+ bug
The thumbnail view will be destroyed when the tab is closed, so
it's a minor memory surplus if a user actually opens many
speed dial pages.
2009-10-14 21:29:04 +02:00
Christian Dywan
6a590a3125 Implement tick marks to enable/ disable adblock filters 2009-10-14 03:35:40 +02:00
Christian Dywan
fa030cbaca Use the correct counter when storing adblock filters
This crash was tricky since 'length' looked correct while in fact
it is the number of items including invalid items, which can be
more than we store.
2009-10-14 03:17:23 +02:00
Alexander Butenko
5f30199df5 Add unit test for prefetching that tests which URIs to prefetch 2009-10-14 00:56:17 +02:00
Christian Dywan
1451026160 Implement app menu and progress indicator on Hildon 2.2 2009-10-14 00:48:25 +02:00
Christian Dywan
b2c9fb3cfc Manually pack OK button for crash dialogue on Hildon 2.2 2009-10-13 23:26:48 +02:00
Christian Dywan
847f18f643 Implement tap and hold with emulated motion and button click events
There is no pointer movement on a touchscreen, so we need to pretend
there is, to trigger a proper context menu.
2009-10-13 22:58:50 +02:00
Christian Dywan
8636d3b9c6 Bail out of DNS prefetch if the host is NULL 2009-10-13 13:25:29 +02:00
Christian Dywan
8a9599d5a9 Hide redundant items from the default context menu on Hildon 2009-10-13 02:40:38 +02:00
Alexander Butenko
e4f163447c Don't prefetch IP addresses and bail out if the soup URI is invalid 2009-10-13 02:37:52 +02:00
Alexander Butenko
8a62c9ee7a Void Page Up/ Page down in the address entry
It is presumably not an important binding, and accidentally
using it is more annoying than helpful.
2009-10-12 23:17:57 +02:00
Christian Dywan
625ad79631 Remove unused variable and MidoriLocationEntryItem struct 2009-10-12 23:11:53 +02:00
Christian Dywan
8fdb284b54 Implement Compact Add button, and readjust the Hildon toolbar
Actions AddNewsFeed and AddDesktopShortcut are introduced and the
toolbar layout for Hildon is changed.

Desktop shortcuts are not implemented yet.
2009-10-12 23:06:04 +02:00
Christian Dywan
7e8f6d5633 Omit any icons in the location in the Hildon version 2009-10-12 23:06:04 +02:00
Alexander Butenko
ad04c92e30 Initialize hosts for prefetching with an empty string 2009-10-12 23:06:04 +02:00
Christian Dywan
9702fbf5e4 Check the length of form fields to save only once 2009-10-12 23:06:04 +02:00
Enrico Tröger
2fc3116f77 Only fetch form values when the message is accumulative 2009-10-12 23:06:04 +02:00