Commit graph

3148 commits

Author SHA1 Message Date
Christian Dywan
0c3609ac14 Don't span preferences from different categories 2009-10-27 23:47:11 +01:00
Alexander Butenko
b53bd5c2f4 Bail out of storing when processing multiple files to cache 2009-10-27 23:41:22 +01:00
André Stösel
e538a04666 Show icons and a snapshot of the active tab in the History List 2009-10-27 23:03:51 +01:00
Christian Dywan
c9dc0c5d55 Make midori_view_get_snapshot a public function 2009-10-27 22:58:11 +01:00
Alexander Butenko
8ef3eeaa89 Set proper content types and work with temporary cache file fragments
With WebKit 1.1.11 and newer, we can sniff the content type which
is needed in some cases to load for instance Flash videos.

We are writing chunks into temporary files and commit completed
files to the cache, so that we don't end up serving partial files.

Old cache entries are removed before updating.

Length detection is improved.

File creation moved from got-chunk to got-headers.
2009-10-27 20:03:22 +01:00
Christian Dywan
f0e7b93964 Do not try to cache downloaded files 2009-10-27 02:04:38 +01:00
Christian Dywan
0eec63762f Plug two filename leaks in the web cache 2009-10-26 23:46:21 +01:00
Christian Dywan
aff65928b3 Fix preferences, don't destroy child widgets 2009-10-26 23:43:17 +01:00
Alexander Butenko
9c2c62d37c Implement Pragma, Cache-Control, ETag and Last-Modified in web cache
Offline mode is going to be handled separately and is not supported
right now.
2009-10-26 18:39:32 +01:00
Christian Dywan
c17c6f6151 Define HAVE_HILDON_2_2 if Hildon 2.2 is available 2009-10-26 18:17:27 +01:00
Christian Dywan
552c99cd56 Show script, image and plugin options and views source in app menu 2009-10-26 18:08:54 +01:00
Christian Dywan
8cf6f4fa6c Don't load icons when rendering completion on Hildon 2009-10-26 18:05:56 +01:00
Christian Dywan
91113a189c Use Hildon banners for notifications on Maemo 2009-10-26 18:05:16 +01:00
Christian Dywan
f28d6e78d7 Optimize inline find for mobile use 2009-10-26 02:11:09 +01:00
Christian Dywan
4b633b6006 Hide application preferences on Hildon and preset text editor 2009-10-26 00:27:14 +01:00
Christian Dywan
66079c987b Map Maemo icons to stock icons 2009-10-26 00:18:56 +01:00
André Stösel
3257002de3 Improve the description of the tab switcher/ history list 2009-10-26 00:18:08 +01:00
Christian Dywan
55d735fcf6 Layout preferences with a scrolled and no tabs on Hildon 2009-10-25 19:48:12 +01:00
Christian Dywan
9f68b17036 Remove cache and form history preferences
These features are implemented as extensions, so the preferences
don't belong in the core.
2009-10-25 14:58:22 +01:00
Christian Dywan
4c5807529b Hide download, font, proxy, developer, location preferences on Hildon 2009-10-25 14:54:31 +01:00
Christian Dywan
725f717ee8 Open pages in windows on Hildon by default 2009-10-25 14:49:00 +01:00
André Stösel
996a07da52 Add the Tab Switcher extension, showing a list of tabs while switching 2009-10-25 00:45:35 +02:00
Anton Shestakov
a3cd80ef29 Update Russian translation 2009-10-24 23:55:10 +02:00
Christian Dywan
e600574b5a Add a description to the page holder extension 2009-10-23 18:29:18 +02:00
Alexander Butenko
9deda8296b Disconnect signal handlers when disabling web cache 2009-10-23 18:15:28 +02:00
Christian Dywan
a2891e0ddb Wrap variables in location entry in Hildon guards as appropriate 2009-10-23 18:08:25 +02:00
Christian Dywan
09498f2473 Initialize icon theme in midori_view_update_icon to avoid warning 2009-10-23 18:07:19 +02:00
David Stancl
9c7c1e0783 Update Czech translation 2009-10-23 17:57:35 +02:00
Christian Dywan
86685cc0c9 Check method before caching and limit extension length 2009-10-23 00:58:25 +02:00
Christian Dywan
ef67f2539a Don't shadow type variable in katze_property_proxy 2009-10-22 23:27:58 +02:00
Christian Dywan
4b912f17de Fix underscores in labels in app menu and compact add 2009-10-22 23:27:03 +02:00
Christian Dywan
7c1caed409 Wrap panel title callback in Hildon guards 2009-10-22 23:26:35 +02:00
Christian Dywan
e4dbbf8a27 Remove unused code from after preferences refactoring 2009-10-22 23:19:02 +02:00
Christian Dywan
d37194cd7a Fix brackets around bookmark URI check 2009-10-22 23:18:23 +02:00
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