Commit graph

19 commits

Author SHA1 Message Date
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