Changeset 3701
- Timestamp:
- 06/18/08 10:42:56
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail/Makefile.am (modified) (2 diffs)
- trunk/libtinymail/tny-cached-file-stream.c (added)
- trunk/libtinymail/tny-cached-file-stream.h (added)
- trunk/libtinymail/tny-cached-file.c (added)
- trunk/libtinymail/tny-cached-file.h (added)
- trunk/libtinymail/tny-fs-stream-cache.c (added)
- trunk/libtinymail/tny-fs-stream-cache.h (added)
- trunk/libtinymail/tny-shared.h (modified) (2 diffs)
- trunk/libtinymail/tny-stream-cache.c (added)
- trunk/libtinymail/tny-stream-cache.h (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r3699 r3701 1 2008-06-18 Jose Dapena Paz <jdapena@igalia.com> 2 3 * libtinymail/tny-shared.h: 4 Added stream cache classes and handlers 5 6 * libtinymail/tny-stream-cache.[ch]: 7 Interface for streams caches. It's mostly intended for image 8 remote streams. 9 10 * libtinymail/tny-fs-stream-cache.[ch]: 11 Implementation of TnyStreamCache interface using a local 12 folder for storage. This implementation tries to keep the 13 size of the cached streams lower than 1 MB. 14 15 * libtinymail/tny-cached-file.[ch]: 16 Data object to store status information of currently cached 17 files. It also controls the process of fetching the remote 18 streams, and creation of streams reading from cache. 19 20 * libtinymail/tny-cached-file-stream.[ch]: 21 Streams wrapping TnyFsStream, that access the cache files 22 waiting when they're not completely fetched yet. 23 24 * libtinymail/Makefile.am: 25 Added stream cache implementation files. 26 1 27 2008-06-10 Sergio Villar Senin <svillar@igalia.com> 2 28 trunk/libtinymail/Makefile.am
r3601 r3701 50 50 tny-password-getter.h \ 51 51 tny-merge-folder.h \ 52 tny-stream-cache.h \ 53 tny-fs-stream-cache.h \ 54 tny-cached-file.h \ 55 tny-cached-file-stream.h \ 52 56 tny-combined-account.h \ 53 57 tny-connection-policy.h … … 92 96 tny-send-queue.c \ 93 97 tny-password-getter.c \ 98 tny-stream-cache.c \ 99 tny-fs-stream-cache.c \ 100 tny-cached-file.c \ 101 tny-cached-file-stream.c \ 94 102 tny-merge-folder.c \ 95 103 tny-combined-account.c \ trunk/libtinymail/tny-shared.h
r3603 r3701 105 105 typedef struct _TnySeekable TnySeekable; 106 106 typedef struct _TnySeekableIface TnySeekableIface; 107 typedef struct _TnyStreamCache TnyStreamCache; 108 typedef struct _TnyStreamCacheIface TnyStreamCacheIface; 109 typedef struct _TnyFsStreamCache TnyFsStreamCache; 110 typedef struct _TnyFsStreamCacheClass TnyFsStreamCacheClass; 111 typedef struct _TnyCachedFile TnyCachedFile; 112 typedef struct _TnyCachedFileClass TnyCachedFileClass; 113 typedef struct _TnyCachedFileStream TnyCachedFileStream; 114 typedef struct _TnyCachedFileStreamClass TnyCachedFileStreamClass; 107 115 108 116 … … 127 135 typedef void (*TnyFolderCallback) (TnyFolder *self, gboolean cancelled, GError *err, gpointer user_data); 128 136 typedef void (*TnyGetHeadersCallback) (TnyFolder *self, gboolean cancelled, TnyList *headers, GError *err, gpointer user_data); 137 138 typedef TnyStream* (*TnyStreamCacheOpenStreamFetcher) (TnyStreamCache *self, gint64 *expected_size, gpointer userdata); 139 typedef gboolean (*TnyStreamCacheRemoveFilter) (TnyStreamCache *self, const gchar *id, gpointer userdata); 129 140 130 141 /**
