<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -96,6 +96,7 @@
 		NSDateComponents *offsetComponent = [[NSDateComponents alloc] init];
 		[offsetComponent setDay:1];
 		[self setNavigationBarTitle:[formatter stringFromDate:[gregorian dateByAddingComponents:offsetComponent toDate:sharedTVListingsApp.baseDate options:0]]];
+        [offsetComponent release];
 	} else {
 		[self setNavigationBarTitle:[formatter stringFromDate:sharedTVListingsApp.baseDate]];
 	}</diff>
      <filename>Classes/TVListViewController.m</filename>
    </modified>
    <modified>
      <diff>@@ -100,6 +100,7 @@ static NSDictionary *abbreviationMappings = NULL;
 		[parser start];
 		NSArray *items = [[parser channel] objectForKey:@&quot;items&quot;];
         LOG(@&quot;feed data: %@&quot;, items);
+        [parser release];
 		
 		programs = [NSMutableDictionary dictionaryWithCapacity:10];
 		for (id item in items) {</diff>
      <filename>Classes/TVManager.m</filename>
    </modified>
    <modified>
      <diff>@@ -70,6 +70,7 @@
 }
 
 - (void)drawRect:(CGRect)rect {
+    [super drawRect:rect];
 	[[UIColor colorWithRed:0.0f green:0.2f blue:0.8f alpha:1.0f] set];
 	[time drawInRect:CGRectMake(2.0f, 2.0f, 74.0f, 21.0f) withFont:[UIFont boldSystemFontOfSize:12.0f]];
 	[[UIColor blackColor] set];</diff>
      <filename>Classes/TVProgramCell.m</filename>
    </modified>
    <modified>
      <diff>@@ -12,6 +12,7 @@
 }
 
 - (void)drawRect:(CGRect)rect {
+    [super drawRect:rect];
 	[[UIColor colorWithRed:0.0f green:0.2f blue:0.8f alpha:1.0f] set];
 	[time drawInRect:CGRectMake(2.0f, 3.0f, 98.0f, 18.0f) withFont:[UIFont boldSystemFontOfSize:16.0f]];
 	[[UIColor blackColor] set];</diff>
      <filename>Classes/TVProgramCellExtraLarge.m</filename>
    </modified>
    <modified>
      <diff>@@ -12,6 +12,7 @@
 }
 
 - (void)drawRect:(CGRect)rect {
+    [super drawRect:rect];
 	[[UIColor colorWithRed:0.0f green:0.2f blue:0.8f alpha:1.0f] set];
 	[time drawInRect:CGRectMake(2.0f, 2.0f, 86.0f, 18.0f) withFont:[UIFont boldSystemFontOfSize:14.0f]];
 	[[UIColor blackColor] set];</diff>
      <filename>Classes/TVProgramCellLarge.m</filename>
    </modified>
    <modified>
      <diff>@@ -12,6 +12,7 @@
 }
 
 - (void)drawRect:(CGRect)rect {
+    [super drawRect:rect];
 	[[UIColor colorWithRed:0.0f green:0.2f blue:0.8f alpha:1.0f] set];
 	[time drawInRect:CGRectMake(2.0f, 2.0f, 86.0f, 18.0f) withFont:[UIFont boldSystemFontOfSize:14.0f]];
 	[[UIColor blackColor] set];</diff>
      <filename>Classes/TVProgramCellMedium.m</filename>
    </modified>
    <modified>
      <diff>@@ -426,20 +426,21 @@ static UIColor *holidayColor;
 	[self setUpCalendarWithDate:pageDate];
 	
 	if (animated) {
-		[self setAlpha:0.0f];
 		[aView addSubview:self];
 		
 		CGRect frame = [self frame];
 		frame.origin.x = point.x;
-		frame.origin.y = point.y - frame.size.height / 2;
+		frame.origin.y = point.y;
 		self.frame = frame;
 		
+        self.alpha = 0.0f;
+        self.transform = CGAffineTransformMakeScale(0.5f, 0.5f);
+        
 		[UIView beginAnimations:nil context:NULL];
 		[UIView setAnimationDuration:0.3f];
 		[UIView setAnimationTransition:UIViewAnimationCurveEaseInOut forView:self cache:NO];
 		[self setAlpha:1.0f];
-		frame.origin.y = frame.origin.y + frame.size.height / 2;
-		self.frame = frame;
+        self.transform = CGAffineTransformIdentity;
 		[UIView commitAnimations];
 	} else {
 		CGRect frame = [self frame];
@@ -457,10 +458,8 @@ static UIColor *holidayColor;
 		[UIView setAnimationDidStopSelector:@selector(animationFinished:finished:context:)];
 		[UIView setAnimationDuration:0.3f];
 		[UIView setAnimationTransition:UIViewAnimationCurveEaseInOut forView:self cache:NO];
-		[self setAlpha:0.0f];
-		CGRect frame = [self frame];
-		frame.origin.y = frame.origin.y - frame.size.height / 2;
-		self.frame = frame;
+        self.alpha = 0.0f;
+        self.transform = CGAffineTransformMakeScale(0.5f, 0.5f);
 		[UIView commitAnimations];
 	} else {
 		[self removeFromSuperview];</diff>
      <filename>Classes/UICCalendarPicker.m</filename>
    </modified>
    <modified>
      <diff>@@ -678,7 +678,14 @@
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				HEADER_SEARCH_PATHS = &quot;/usr/include/libxml2/**&quot;;
 				IPHONEOS_DEPLOYMENT_TARGET = 2.2.1;
-				OTHER_LDFLAGS = &quot;-licucore&quot;;
+				&quot;OTHER_LDFLAGS[sdk=iphoneos3.1.2][arch=*]&quot; = (
+					&quot;$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/usr/lib/libxml2.dylib&quot;,
+					&quot;-licucore&quot;,
+				);
+				&quot;OTHER_LDFLAGS[sdk=iphonesimulator3.1.2][arch=*]&quot; = (
+					&quot;-lxml2&quot;,
+					&quot;-licucore&quot;,
+				);
 				PREBINDING = NO;
 				&quot;PROVISIONING_PROFILE[sdk=iphoneos*]&quot; = &quot;56DD5709-6F51-455B-B301-C65B856A0F8C&quot;;
 				SDKROOT = iphoneos3.1.2;
@@ -765,7 +772,14 @@
 				HEADER_SEARCH_PATHS = &quot;/usr/include/libxml2/**&quot;;
 				IPHONEOS_DEPLOYMENT_TARGET = 2.2.1;
 				ONLY_ACTIVE_ARCH = YES;
-				OTHER_LDFLAGS = &quot;-licucore&quot;;
+				&quot;OTHER_LDFLAGS[sdk=iphoneos3.1.2][arch=*]&quot; = (
+					&quot;$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/usr/lib/libxml2.dylib&quot;,
+					&quot;-licucore&quot;,
+				);
+				&quot;OTHER_LDFLAGS[sdk=iphonesimulator3.1.2][arch=*]&quot; = (
+					&quot;-lxml2&quot;,
+					&quot;-licucore&quot;,
+				);
 				PREBINDING = NO;
 				&quot;PROVISIONING_PROFILE[sdk=iphoneos*]&quot; = &quot;&quot;;
 				SDKROOT = iphoneos3.1.2;
@@ -783,7 +797,14 @@
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				HEADER_SEARCH_PATHS = &quot;/usr/include/libxml2/**&quot;;
 				IPHONEOS_DEPLOYMENT_TARGET = 2.2.1;
-				OTHER_LDFLAGS = &quot;-licucore&quot;;
+				&quot;OTHER_LDFLAGS[sdk=iphoneos3.1.2][arch=*]&quot; = (
+					&quot;$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/usr/lib/libxml2.dylib&quot;,
+					&quot;-licucore&quot;,
+				);
+				&quot;OTHER_LDFLAGS[sdk=iphonesimulator3.1.2][arch=*]&quot; = (
+					&quot;-lxml2&quot;,
+					&quot;-licucore&quot;,
+				);
 				PREBINDING = NO;
 				&quot;PROVISIONING_PROFILE[sdk=iphoneos*]&quot; = &quot;&quot;;
 				SDKROOT = iphoneos3.1.2;</diff>
      <filename>TVListings.xcodeproj/project.pbxproj</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>97ee45fd5030fa09295ac465df18016fc856f9ae</id>
    </parent>
  </parents>
  <author>
    <name>Kishikawa Katsumi</name>
    <email>katsumi@MacBook-Late-2008.local</email>
  </author>
  <url>http://github.com/kishikawakatsumi/tv-listings/commit/17ad96a094cb54c57443bb4adbe5e0219db9982e</url>
  <id>17ad96a094cb54c57443bb4adbe5e0219db9982e</id>
  <committed-date>2009-10-18T06:54:24-07:00</committed-date>
  <authored-date>2009-10-18T06:54:24-07:00</authored-date>
  <message>Some leaks fixed. Calendar animation changed.</message>
  <tree>191c2da8fb7577ca31628034ad8ffb5ae3110c95</tree>
  <committer>
    <name>Kishikawa Katsumi</name>
    <email>katsumi@MacBook-Late-2008.local</email>
  </committer>
</commit>
