Permalink
Browse files

10.4 compat

  • Loading branch information...
1 parent 3ed2684 commit 10fd3b3c6d61e72fff6d91b64f57870ad2db901a @ccgus committed Apr 13, 2007
View
@@ -16,20 +16,22 @@ - (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary
NSMutableArray *output = [NSMutableArray array];
NSString *suffixFilter = [[self parameters] objectForKey:@"suffixFilter"];
- BOOL negateSuffix = [[[self parameters] objectForKey:@"negateSuffix"] boolValue];
+ BOOL negateSuffix = [[[self parameters] objectForKey:@"negateSuffix"] boolValue];
+ id item = nil;
- for (id item in input) {
-
+ NSEnumerator *e = [input objectEnumerator];
+ while ((item = [e nextObject])) {
if (negateSuffix && (![[item description] hasSuffix:suffixFilter])) {
[output addObject:item];
}
else if (!negateSuffix && [[item description] hasSuffix:suffixFilter]) {
[output addObject:item];
}
-
}
- return output;
+ debug(@"output: %@", output);
+
+ return output;
}
@end
@@ -276,19 +276,21 @@
<key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key>
<array>
<string>089C166AFE841209C02AAC07</string>
+ <string>08FB77AFFE84173DC02AAC07</string>
<string>089C167CFE841241C02AAC07</string>
+ <string>19C28FB8FE9D52D311CA2CBB</string>
<string>1C37FABC05509CD000000102</string>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>5</integer>
- <integer>3</integer>
+ <integer>11</integer>
+ <integer>10</integer>
<integer>0</integer>
</array>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key>
- <string>{{0, 0}, {186, 338}}</string>
+ <string>{{0, 0}, {186, 430}}</string>
</dict>
<key>PBXTopSmartGroupGIDs</key>
<array/>
@@ -300,14 +302,14 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {203, 356}}</string>
+ <string>{{0, 0}, {203, 448}}</string>
<key>GroupTreeTableConfiguration</key>
<array>
<string>MainColumn</string>
<real>186</real>
</array>
<key>RubberWindowFrame</key>
- <string>659 668 690 397 0 0 1920 1178 </string>
+ <string>543 487 703 489 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
@@ -342,9 +344,9 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {482, 0}}</string>
+ <string>{{0, 0}, {495, 0}}</string>
<key>RubberWindowFrame</key>
- <string>659 668 690 397 0 0 1920 1178 </string>
+ <string>543 487 703 489 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
@@ -362,18 +364,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 5}, {482, 351}}</string>
+ <string>{{0, 5}, {495, 443}}</string>
<key>RubberWindowFrame</key>
- <string>659 668 690 397 0 0 1920 1178 </string>
+ <string>543 487 703 489 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
<key>Proportion</key>
- <string>351pt</string>
+ <string>443pt</string>
</dict>
</array>
<key>Proportion</key>
- <string>482pt</string>
+ <string>495pt</string>
</dict>
</array>
<key>Name</key>
@@ -388,9 +390,9 @@
</array>
<key>TableOfContents</key>
<array>
- <string>CCEEB94A0BC96ECF005A8009</string>
+ <string>CCF164270BC977C5000139A4</string>
<string>1CE0B1FE06471DED0097A5F4</string>
- <string>CCEEB94B0BC96ECF005A8009</string>
+ <string>CCF164280BC977C5000139A4</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
@@ -509,7 +511,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>197752363.98912799</real>
+ <real>197752932.07854399</real>
<key>ToolbarDisplayMode</key>
<integer>2</integer>
<key>ToolbarIsVisible</key>
@@ -524,14 +526,11 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>1CD10A99069EF8BA00B06720</string>
- <string>1C78EAAD065D492600B07095</string>
- <string>/Volumes/srv/Users/gus/Projects/flycode/arrayfilter/Array Filter.xcodeproj</string>
- <string>CCEEB94D0BC96ECF005A8009</string>
<string>CCEEB94F0BC96F02005A8009</string>
+ <string>/Volumes/srv/Users/gus/Projects/flycode/arrayfilter/Array Filter.xcodeproj</string>
</array>
<key>WindowString</key>
- <string>659 668 690 397 0 0 1920 1178 </string>
+ <string>543 487 703 489 0 0 1920 1178 </string>
<key>WindowToolsV3</key>
<array>
<dict>
@@ -610,7 +609,7 @@
<key>TableOfContents</key>
<array>
<string>CCEEB94F0BC96F02005A8009</string>
- <string>CCEEB9500BC96F02005A8009</string>
+ <string>CCF164160BC977AC000139A4</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
@@ -621,7 +620,7 @@
<key>WindowToolGUID</key>
<string>CCEEB94F0BC96F02005A8009</string>
<key>WindowToolIsVisible</key>
- <true/>
+ <false/>
</dict>
<dict>
<key>FirstTimeWindowDisplayed</key>
@@ -1,8 +1,7 @@
// !$*UTF8*$!
{
089C1669FE841209C02AAC07 /* Project object */ = {
- activeArchitecture = ppc;
- activeBuildConfigurationName = Debug;
+ activeBuildConfigurationName = Release;
activeExecutable = 658A2E03067AB99300421F51 /* Automator */;
activeTarget = 8D5B49AC048680CD000E48DA /* Array Filter */;
codeSenseManager = 658A2DD0067AB96600421F51 /* Code sense */;
@@ -17,7 +16,7 @@
20,
243,
20,
- 48.16259765625,
+ 48,
43,
43,
20,
@@ -32,18 +31,18 @@
PBXFileDataSource_Target_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 197750464;
- PBXWorkspaceStateSaveDate = 197750464;
+ PBXPerProjectTemplateStateSaveDate = 198200205;
+ PBXWorkspaceStateSaveDate = 198200205;
};
sourceControlManager = 658A2DCF067AB96600421F51 /* Source Control */;
userBuildSettings = {
};
};
65181750067A8D39005BD953 /* Array Filter.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {950, 717}}";
- sepNavSelRange = "{800, 0}";
- sepNavVisRect = "{{0, 0}, {950, 717}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1054, 944}}";
+ sepNavSelRange = "{968, 0}";
+ sepNavVisRect = "{{0, 0}, {1054, 944}}";
};
};
658A2DCF067AB96600421F51 /* Source Control */ = {
@@ -68,7 +67,6 @@
"-action \"Array Filter.action\"",
);
autoAttachOnCrash = 1;
- breakpointsEnabled = 0;
configStateDict = {
};
customDataFormattersEnabled = 1;
@@ -88,7 +86,7 @@
};
658A2E04067AB99300421F51 /* Automator.app */ = {
isa = PBXFileReference;
- lastKnownFileType = wrapper.application;
+ explicitFileType = wrapper.application;
name = Automator.app;
path = /Applications/Automator.app;
sourceTree = "<absolute>";
@@ -143,12 +143,10 @@
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 4E59C34308A97622001206A8 /* Build configuration list for PBXProject "Array Filter" */;
- compatibilityVersion = "Xcode 3.0";
hasScannedForEncodings = 1;
mainGroup = 089C166AFE841209C02AAC07 /* Array Filter */;
projectDirPath = "";
projectRoot = "";
- shouldCheckCompatibility = 1;
targets = (
8D5B49AC048680CD000E48DA /* Array Filter */,
);
@@ -260,7 +258,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
- SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
+ SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
name = Debug;
};
@@ -270,7 +268,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
- SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
+ SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
name = Release;
};

0 comments on commit 10fd3b3

Please sign in to comment.