From 8731c448c392e3b0543179e9e335af51974b4f1d Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 16 Jan 2008 18:55:48 +0000 Subject: [PATCH] Monotone-Parent: 43d256c276e38ee90fd6e2028621c6f12b050652 Monotone-Revision: 54ec8c39f5bb2075a087aabb062d28af978421de Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-01-16T18:55:48 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 12 ++++++++++++ SoObjects/SOGo/GNUmakefile | 2 ++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6dcfa58b2..8be2a8df7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ 2008-01-16 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoObject.m ([SOGoObject + -lookupName:lookupNameinContext:localContextacquire:acquire]): try + to retrieve the object specified from the cache and returns it if + it exists. + + * SoObjects/Appointments/SOGoAppointmentFolder.m + ([SOGoAppointmentFolder -lookupName:inContext:acquire:]): cache + the result in the SOGoCache. + + * Main/SOGo.m ([SOGo -dispatchRequest:_request]): initialize and + kill the shared cache before and after the connection processing. + * SoObjects/SOGo/SOGoCache.[hm]: new cache module implementing a per-connection cache mechanism. diff --git a/SoObjects/SOGo/GNUmakefile b/SoObjects/SOGo/GNUmakefile index c99c714e0..526cb2264 100644 --- a/SoObjects/SOGo/GNUmakefile +++ b/SoObjects/SOGo/GNUmakefile @@ -20,6 +20,7 @@ libSOGo_HEADER_FILES_INSTALL_DIR = /SOGo FHS_HEADER_DIRS = SOGo libSOGo_HEADER_FILES = \ + SOGoCache.h \ SOGoObject.h \ SOGoContentObject.h \ SOGoFolder.h \ @@ -56,6 +57,7 @@ libSOGo_HEADER_FILES = \ WORequest+SOGo.h libSOGo_OBJC_FILES = \ + SOGoCache.m \ SOGoObject.m \ SOGoContentObject.m \ SOGoFolder.m \