[dasher] Remove ZippyCache as DasherViewOpenGL makes no use of it. (27-Jul-2009)



commit 86540fc23d6e54b82f137a6dec27b5e955163c85
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date:   Mon Aug 10 10:12:32 2009 +0200

    Remove ZippyCache as DasherViewOpenGL makes no use of it. (27-Jul-2009)

 ChangeLog                      |    1 +
 Src/MacOSX/DasherViewOpenGL.h  |    5 -----
 Src/MacOSX/DasherViewOpenGL.mm |   15 ---------------
 3 files changed, 1 insertions(+), 20 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1dffbe6..e4963fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 	* Cleanup Alphabet{,Map} e.g. g/c KeyIsPrefix.
 	* Alphabet{,Map}: Optimise single byte UTF8 case.
 	* DasherView{,Square}: Remove b1D/bNonLinearity.
+	* MacOSX: Remove ZippyCache as DasherViewOpenGL makes no use of it.
 
 2009-08-08  Alan Lawrence <acl33 inf phy cam ac uk>
 
diff --git a/Src/MacOSX/DasherViewOpenGL.h b/Src/MacOSX/DasherViewOpenGL.h
index 19d15aa..6e58649 100755
--- a/Src/MacOSX/DasherViewOpenGL.h
+++ b/Src/MacOSX/DasherViewOpenGL.h
@@ -18,7 +18,6 @@
 
 @class NSColor, NSTimer, NSTextField, NSString, NSMutableDictionary;
 @class NSBezierPath;
- class ZippyCache;
 @class DasherApp;
 
 typedef struct {
@@ -36,8 +35,6 @@ typedef struct {
 
   NSString *_cachedFontName;
 
-  ZippyCache *_zippyCache;
-
   NSMutableDictionary *_textAttributeCache;
 
   NSArray *_colourScheme;
@@ -81,8 +78,6 @@ typedef struct {
 - (NSArray *)colourScheme;
 - (void)setColourScheme:(NSArray *)newColourScheme;
 - (void)setColourSchemeFromColourInfo:(const CColourIO::ColourInfo *)pColourScheme;
-- (ZippyCache *)zippyCache;
-- (void)setZippyCache:(ZippyCache *)newZippyCache;
 - (NSString *)cachedFontName;
 - (void)setCachedFontName:(NSString *)newCachedFontName;
 - (void)dealloc;
diff --git a/Src/MacOSX/DasherViewOpenGL.mm b/Src/MacOSX/DasherViewOpenGL.mm
index 15d7fd1..c331cd6 100755
--- a/Src/MacOSX/DasherViewOpenGL.mm
+++ b/Src/MacOSX/DasherViewOpenGL.mm
@@ -15,8 +15,6 @@
 
 #import <sys/time.h>
 
-#import "ZippyCache.h"
-#import "ZippyString.h"
 #import "Chatter.h"
 #import "DasherUtil.h"
 #import "DasherApp.h"
@@ -381,18 +379,6 @@
   [self colourSchemeCallbackWithColourTable:ct];
 }
 
-- (ZippyCache *)zippyCache {
-  return _zippyCache;
-}
-
-- (void)setZippyCache:(ZippyCache *)newZippyCache {
-  if (_zippyCache != newZippyCache) {
-    ZippyCache *oldValue = _zippyCache;
-    _zippyCache = [newZippyCache retain];
-    [oldValue release];
-  }
-}
-
 - (NSString *)cachedFontName {
   return _cachedFontName;
 }
@@ -408,7 +394,6 @@
 - (void)dealloc
 {
   [_cachedFontName release];
-  [_zippyCache release];
   [_textAttributeCache release];
   
   [[self openGLContext] makeCurrentContext];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]