Christian Dywan
a6606a9cee
Use new Paths API in web cache extension
2012-08-27 22:29:13 +02:00
Christian Dywan
7f37162fe0
Introduce Midori.Paths and Midori.RuntimeMode
...
Also introduce initial "portable" mode on Win32.
2012-08-27 21:52:24 +02:00
Christian Dywan
be04be8303
Introduce and use Midori.URI.is_http
...
Also make further uses of Midori.URI.parse.
2011-10-28 22:49:10 +02:00
Christian Dywan
68c12e950e
Slice allocations in addons, net, scrolled, transferbar
2010-10-21 21:09:01 +02:00
Christian Dywan
41f96167d1
Remove unused variables in KatzeNet and simplify code
2010-10-05 00:04:29 +02:00
Christian Dywan
7ac801799f
Remove katze_net_new and katze_net_get_session
2010-09-07 22:39:51 +02:00
Christian Dywan
c571a6394f
Don't pass around KatzeNet instances anymore
...
The KatzeNet is always a singleton, no need to pass it around.
2010-05-25 19:03:01 +02:00
Christian Dywan
b5f8334360
Merge KatzeNet icon loading into MidoriView
...
MidoriView is the only place where icons are and should be
loaded, elsewhere we just use cached icons.
midori_view_get_icon_uri allows distinguishing whether a view
has an icon or a default icon, and using the filename.
2010-03-11 23:30:54 +01:00
Christian Dywan
cc6bb8fddb
Lookup icon size in relation to the according screen or widget
2010-01-29 22:43:39 +01:00
Alexander Butenko
045cc81b45
Use g_access instead of g_file_test consistently
2009-12-19 11:28:46 +01:00
Alexander Butenko
90a4acfc6e
Check the non-existence of folders before creating them
2009-10-20 18:24:24 +02:00
Christian Dywan
06bd549cb1
Lookup page icons via javascript
2009-09-16 03:06:09 +02:00
Christian Dywan
eed273b35e
Fix memory leaks in a number of places
2009-04-05 23:46:15 +02:00
Enrico Tröger
529aadc648
Always use WebKit's session in KatzeNet
...
This fixes corruption of expiration dates.
2009-03-31 18:20:31 +02:00
Christian Dywan
530542f07d
Use libSoup unconditionally in KatzeNet
2009-03-16 23:54:45 +01:00
Christian Dywan
5b5e6bd71a
Spare a separate g_file_test, let GdkPixbuf handle missing files
2009-01-23 21:45:40 +01:00
Christian Dywan
b7a9d724b0
Add a function to obtain the session from a net
2009-01-15 03:26:15 +01:00
Nick Schermer
b6e33e5399
Implement 'full' debug-level and fix according warnings
2009-01-09 23:56:00 +01:00
Christian Dywan
8370b2f2c9
Add a missing return in KatzeNet to fix a crasher
2009-01-06 00:23:09 +01:00
Christian Dywan
6821cb4bd6
Allow for a NULL widget in katze_net_load_icon
2009-01-02 01:38:23 +01:00
James Turner
517e67cc0a
Allow for loading of https favicon files
2008-12-17 22:23:24 +01:00
Christian Dywan
191a613fc8
Share one session among all KatzeNet instances
2008-12-07 21:36:42 +01:00
Brian Vuyk
dc59d66eb9
Print file saving errors to the standard output
2008-11-18 23:18:53 +01:00
Enrico Tröger
744f9ce56f
Save files with permissions of 0700 instead of 0755
2008-11-16 00:21:22 +01:00
Brian Vuyk
e019c677bb
Arrange file saving for error handling to fix warnings
2008-11-16 00:10:39 +01:00
Christian Dywan
0c093cb335
Do not load icons automatically everywhere
...
KatzeNet won't attempt to load icons that are not
cached unless the caller provides an icon callback.
For the moment, this means much less loading
for items that are not actually visible, but for
visiting pages or looking at bookmark menus.
2008-11-08 03:24:02 +01:00
Enrico Tröger
86af851d4c
Don't doublicate the "." in cached filenames
2008-10-27 22:36:41 +01:00
Christian Dywan
0ca873cb08
Cache icons in memory and fix a redirection crasher bug
2008-10-27 03:03:20 +01:00
Christian Dywan
cefcb42eef
Recognize favicons in domains with no trailing slash
2008-10-25 16:16:48 +02:00
Christian Dywan
b53a2ebb37
Finish soup messaging cleanly and free private data
2008-10-24 19:58:58 +02:00
Christian Dywan
5c69e0269d
Implement KatzeNet as a generic URI loader
...
KatzeNet can from now on be used where
URIs are handled and one would have used
libSoup and/ or local file handling as
appropriate, whereas KatzeNet does both.
Since we are displaying icons in several
places KatzeNet also provides an icon
loader that saves us from doublicating
even more code.
All bookmarks and also history items have
icons now, since KatzeNet makes that
incredibly easy.
Search engines are also using favicons
now, and right now custom icons don't
work, we still need to fix that.
Note that only icons are cached, nothing
else and the code is known to have a
hidden, hard to reproduce crasher which
may appear when an icon is newly loaded.
2008-10-24 00:09:12 +02:00