• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

iSightを使ってBooklog,MediaMarkerインポート用CSVファイルを生成するアプリ


Commit MetaInfo

修订版acf3ac9b31835dd382b4f3d222dc3a6092ffef13 (tree)
时间2011-03-02 21:07:55
作者masakih <masakih@user...>
Commitermasakih

Log Message

[Mod] 不要なコード削除。
[Fix] メモリリーク修正。
[FIx] 無駄なメッセージング削除。

更改概述

差异

--- a/BEAmazonSignatureGenerator.m
+++ b/BEAmazonSignatureGenerator.m
@@ -16,7 +16,7 @@
1616
1717 + (id)genaratorWithParams:(NSDictionary *)aParams
1818 {
19- return [[[self class] alloc] initWithParams:aParams];
19+ return [[[[self class] alloc] initWithParams:aParams] autorelease];
2020 }
2121 - (id)initWithParams:(NSDictionary *)aParams
2222 {
--- a/BEBookInformation.h
+++ b/BEBookInformation.h
@@ -11,22 +11,6 @@
1111
1212 @interface BEBookInformation : NSManagedObject
1313 {
14-// NSString *isbn;
15-// NSString *category;
16-// NSDate *registerDate;
17-// NSArray *tags;
18-// NSString *review;
19-// NSNumber *rating;
20-// NSNumber *status;
21-// NSDate *readDate;
22-//
23-// NSString *title;
24-// NSString *asin;
25-// NSString *amazonISBN;
26-// NSString *author;
27-// NSString *manufacturer;
28-// NSDate *publicationDate;
29-//
3014 BOOL exported;
3115 }
3216
--- a/BEBooksExporter.m
+++ b/BEBooksExporter.m
@@ -31,6 +31,11 @@
3131
3232 return [[[createClass alloc] init] autorelease];
3333 }
34+- (void)dealloc
35+{
36+ [books release];
37+ [super dealloc];
38+}
3439 - (BOOL)exportToURL:(NSURL *)url
3540 {
3641 [self doesNotRecognizeSelector:_cmd];
--- a/BEExportAccessoryViewController.m
+++ b/BEExportAccessoryViewController.m
@@ -11,4 +11,10 @@
1111
1212 @implementation BEExportAccessoryViewController
1313 @synthesize type;
14+
15+- (void)dealloc
16+{
17+ [type release];
18+ [super dealloc];
19+}
1420 @end
--- a/BEMainWindowController.m
+++ b/BEMainWindowController.m
@@ -141,7 +141,7 @@
141141 inManagedObjectContext:[books managedObjectContext]];
142142 book.isbn = barcode;
143143 if([self autoLookUp]) {
144- [BEAmazonLookup setNameToBooks:[NSArray arrayWithObject:book]];
144+ [BEAmazonLookup setNameToBook:book];
145145 }
146146 [books performSelector:@selector(setSelectedObjects:)
147147 withObject:[NSArray arrayWithObject:book]
--- a/English.lproj/BEMainWindow.xib
+++ b/English.lproj/BEMainWindow.xib
@@ -11,7 +11,7 @@
1111 <string key="NS.object.0">823</string>
1212 </object>
1313 <array class="NSMutableArray" key="IBDocument.EditedObjectIDs">
14- <integer value="2"/>
14+ <integer value="316"/>
1515 </array>
1616 <array key="IBDocument.PluginDependencies">
1717 <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -755,7 +755,7 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA</b
755755 </object>
756756 <object class="NSTokenField" id="432769029">
757757 <reference key="NSNextResponder" ref="404909133"/>
758- <int key="NSvFlags">270</int>
758+ <int key="NSvFlags">266</int>
759759 <set class="NSMutableSet" key="NSDragTypes">
760760 <string>NSStringPboardType</string>
761761 </set>
@@ -843,7 +843,7 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA</b
843843 </object>
844844 <object class="NSTextField" id="681423236">
845845 <reference key="NSNextResponder" ref="404909133"/>
846- <int key="NSvFlags">270</int>
846+ <int key="NSvFlags">266</int>
847847 <string key="NSFrame">{{137, 194}, {503, 22}}</string>
848848 <reference key="NSSuperview" ref="404909133"/>
849849 <bool key="NSEnabled">YES</bool>
@@ -955,7 +955,7 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA</b
955955 </object>
956956 <object class="NSTextField" id="608085379">
957957 <reference key="NSNextResponder" ref="404909133"/>
958- <int key="NSvFlags">268</int>
958+ <int key="NSvFlags">266</int>
959959 <string key="NSFrame">{{284, 44}, {356, 119}}</string>
960960 <reference key="NSSuperview" ref="404909133"/>
961961 <bool key="NSEnabled">YES</bool>
@@ -1116,38 +1116,6 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA</b
11161116 </object>
11171117 <object class="IBConnectionRecord">
11181118 <object class="IBBindingConnection" key="connection">
1119- <string key="label">value: selection.registerDate</string>
1120- <reference key="source" ref="692614802"/>
1121- <reference key="destination" ref="1064620552"/>
1122- <object class="NSNibBindingConnector" key="connector">
1123- <reference key="NSSource" ref="692614802"/>
1124- <reference key="NSDestination" ref="1064620552"/>
1125- <string key="NSLabel">value: selection.registerDate</string>
1126- <string key="NSBinding">value</string>
1127- <string key="NSKeyPath">selection.registerDate</string>
1128- <int key="NSNibBindingConnectorVersion">2</int>
1129- </object>
1130- </object>
1131- <int key="connectionID">294</int>
1132- </object>
1133- <object class="IBConnectionRecord">
1134- <object class="IBBindingConnection" key="connection">
1135- <string key="label">value: selection.readDate</string>
1136- <reference key="source" ref="73065456"/>
1137- <reference key="destination" ref="1064620552"/>
1138- <object class="NSNibBindingConnector" key="connector">
1139- <reference key="NSSource" ref="73065456"/>
1140- <reference key="NSDestination" ref="1064620552"/>
1141- <string key="NSLabel">value: selection.readDate</string>
1142- <string key="NSBinding">value</string>
1143- <string key="NSKeyPath">selection.readDate</string>
1144- <int key="NSNibBindingConnectorVersion">2</int>
1145- </object>
1146- </object>
1147- <int key="connectionID">295</int>
1148- </object>
1149- <object class="IBConnectionRecord">
1150- <object class="IBBindingConnection" key="connection">
11511119 <string key="label">value: arrangedObjects.registerDate</string>
11521120 <reference key="source" ref="673176804"/>
11531121 <reference key="destination" ref="1064620552"/>
@@ -1440,6 +1408,46 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA</b
14401408 </object>
14411409 <int key="connectionID">401</int>
14421410 </object>
1411+ <object class="IBConnectionRecord">
1412+ <object class="IBBindingConnection" key="connection">
1413+ <string key="label">value: selection.registerDate</string>
1414+ <reference key="source" ref="692614802"/>
1415+ <reference key="destination" ref="1064620552"/>
1416+ <object class="NSNibBindingConnector" key="connector">
1417+ <reference key="NSSource" ref="692614802"/>
1418+ <reference key="NSDestination" ref="1064620552"/>
1419+ <string key="NSLabel">value: selection.registerDate</string>
1420+ <string key="NSBinding">value</string>
1421+ <string key="NSKeyPath">selection.registerDate</string>
1422+ <object class="NSDictionary" key="NSOptions">
1423+ <string key="NS.key.0">NSNoSelectionPlaceholder</string>
1424+ <string key="NS.object.0">--/--/--</string>
1425+ </object>
1426+ <int key="NSNibBindingConnectorVersion">2</int>
1427+ </object>
1428+ </object>
1429+ <int key="connectionID">402</int>
1430+ </object>
1431+ <object class="IBConnectionRecord">
1432+ <object class="IBBindingConnection" key="connection">
1433+ <string key="label">value: selection.readDate</string>
1434+ <reference key="source" ref="73065456"/>
1435+ <reference key="destination" ref="1064620552"/>
1436+ <object class="NSNibBindingConnector" key="connector">
1437+ <reference key="NSSource" ref="73065456"/>
1438+ <reference key="NSDestination" ref="1064620552"/>
1439+ <string key="NSLabel">value: selection.readDate</string>
1440+ <string key="NSBinding">value</string>
1441+ <string key="NSKeyPath">selection.readDate</string>
1442+ <object class="NSDictionary" key="NSOptions">
1443+ <string key="NS.key.0">NSNoSelectionPlaceholder</string>
1444+ <string key="NS.object.0">--/--/--</string>
1445+ </object>
1446+ <int key="NSNibBindingConnectorVersion">2</int>
1447+ </object>
1448+ </object>
1449+ <int key="connectionID">403</int>
1450+ </object>
14431451 </array>
14441452 <object class="IBMutableOrderedSet" key="objectRecords">
14451453 <array key="orderedObjects">
@@ -2109,7 +2117,7 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA</b
21092117 <nil key="activeLocalization"/>
21102118 <dictionary class="NSMutableDictionary" key="localizations"/>
21112119 <nil key="sourceID"/>
2112- <int key="maxID">401</int>
2120+ <int key="maxID">403</int>
21132121 </object>
21142122 <object class="IBClassDescriber" key="IBDocument.Classes">
21152123 <array class="NSMutableArray" key="referencedPartialClassDescriptions">