• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

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

BathyScaphe用次スレ候補検索プラグイン


Commit MetaInfo

Revisionada5f02dbb7890937ef608d4bab0833548b8c4bd (tree)
Time2011-02-18 20:13:53
AuthorHori, Masaki <masakih@user...>
CommiterHori, Masaki

Log Message

treat files.

Change Summary

Incremental Difference

--- a/NextThreadFinder.h
+++ b/NextThreadFinder.h
@@ -8,12 +8,7 @@
88
99 #import <Cocoa/Cocoa.h>
1010 #import "BSImagePreviewerInterface.h"
11-
1211 #import "BSPreviewPluginInterface.h"
1312
1413 @interface NextThreadFinder : NSResponder <BSImagePreviewerProtocol, BSLinkPreviewing>
15-{
16-
17-}
18-
1914 @end
--- a/NextThreadFinder.m
+++ b/NextThreadFinder.m
@@ -38,11 +38,8 @@ const NSInteger kScriptMenuTag = 8;
3838 }
3939 - (BOOL)previewLink:(NSURL *)url { return NO; }
4040 - (BOOL)validateLink:(NSURL *)url { return NO; }
41-
42-// Accessor
4341 - (void)setPreferences:(AppDefaults *)aPreferences {}
4442 - (AppDefaults *)preferences { return nil; }
45-// Action
4643 - (BOOL)showImageWithURL:(NSURL *)imageURL { return NO; }
4744
4845 - (void)setupMenu
@@ -89,8 +86,7 @@ const NSInteger kScriptMenuTag = 8;
8986
9087 - (id)findCMRBrowser
9188 {
92- NSArray *windows = [NSApp windows];
93- for(NSWindow *window in windows) {
89+ for(NSWindow *window in [NSApp windows]) {
9490 NSWindowController *wc = [window windowController];
9591 if([wc isMemberOfClass:NSClassFromString(@"CMRBrowser")]) {
9692 return wc;
@@ -103,11 +99,10 @@ const NSInteger kScriptMenuTag = 8;
10399 NSMutableArray *tokens = [NSMutableArray array];
104100
105101 CFLocaleRef locale = CFLocaleCreate(kCFAllocatorDefault, (CFStringRef)@"ja");
106-
107102 CFStringTokenizerRef tokenizer = CFStringTokenizerCreate(kCFAllocatorDefault,
108103 (CFStringRef)title,
109104 CFRangeMake(0, [title length]),
110- kCFStringTokenizerUnitWordBoundary,//kCFStringTokenizerUnitWord,
105+ kCFStringTokenizerUnitWordBoundary,
111106 locale);
112107 while(CFStringTokenizerAdvanceToNextToken(tokenizer) != kCFStringTokenizerTokenNone) {
113108 CFRange range = CFStringTokenizerGetCurrentTokenRange(tokenizer);
--- a/NextThreadFinder.xcodeproj/project.pbxproj
+++ b/NextThreadFinder.xcodeproj/project.pbxproj
@@ -9,7 +9,6 @@
99 /* Begin PBXBuildFile section */
1010 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; };
1111 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; };
12- F468C69D1220CA07009EFA3E /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F468C69C1220CA07009EFA3E /* WebKit.framework */; };
1312 F4B1C50C130D59FA00B4BF6C /* NextThreadFinder.m in Sources */ = {isa = PBXBuildFile; fileRef = F4B1C50B130D59FA00B4BF6C /* NextThreadFinder.m */; };
1413 F4B1C753130D803500B4BF6C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F4B1C752130D803500B4BF6C /* Localizable.strings */; };
1514 /* End PBXBuildFile section */
@@ -24,7 +23,6 @@
2423 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2524 D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
2625 F468C45612200CA2009EFA3E /* BSPreviewPluginInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BSPreviewPluginInterface.h; sourceTree = "<group>"; };
27- F468C69C1220CA07009EFA3E /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
2826 F4B1C50A130D59FA00B4BF6C /* NextThreadFinder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NextThreadFinder.h; sourceTree = "<group>"; };
2927 F4B1C50B130D59FA00B4BF6C /* NextThreadFinder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NextThreadFinder.m; sourceTree = "<group>"; };
3028 F4B1C754130D804500B4BF6C /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Japanese; path = Japanese.lproj/Localizable.strings; sourceTree = "<group>"; };
@@ -37,7 +35,6 @@
3735 buildActionMask = 2147483647;
3836 files = (
3937 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */,
40- F468C69D1220CA07009EFA3E /* WebKit.framework in Frameworks */,
4138 );
4239 runOnlyForDeploymentPostprocessing = 0;
4340 };
@@ -100,7 +97,6 @@
10097 089C167FFE841241C02AAC07 /* AppKit.framework */,
10198 D2F7E65807B2D6F200F64583 /* CoreData.framework */,
10299 089C1672FE841209C02AAC07 /* Foundation.framework */,
103- F468C69C1220CA07009EFA3E /* WebKit.framework */,
104100 );
105101 name = "Other Frameworks";
106102 sourceTree = "<group>";
@@ -124,9 +120,9 @@
124120 /* End PBXGroup section */
125121
126122 /* Begin PBXNativeTarget section */
127- 8D5B49AC048680CD000E48DA /* BSInlinePreviewer */ = {
123+ 8D5B49AC048680CD000E48DA /* NextThreadFinder */ = {
128124 isa = PBXNativeTarget;
129- buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "BSInlinePreviewer" */;
125+ buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "NextThreadFinder" */;
130126 buildPhases = (
131127 8D5B49AF048680CD000E48DA /* Resources */,
132128 8D5B49B1048680CD000E48DA /* Sources */,
@@ -137,7 +133,7 @@
137133 );
138134 dependencies = (
139135 );
140- name = BSInlinePreviewer;
136+ name = NextThreadFinder;
141137 productInstallPath = "$(HOME)/Library/Bundles";
142138 productName = BSInlinePreviewer;
143139 productReference = 8D5B49B6048680CD000E48DA /* NextThreadFinder.plugin */;
@@ -162,7 +158,7 @@
162158 projectDirPath = "";
163159 projectRoot = "";
164160 targets = (
165- 8D5B49AC048680CD000E48DA /* BSInlinePreviewer */,
161+ 8D5B49AC048680CD000E48DA /* NextThreadFinder */,
166162 );
167163 };
168164 /* End PBXProject section */
@@ -290,7 +286,7 @@
290286 /* End XCBuildConfiguration section */
291287
292288 /* Begin XCConfigurationList section */
293- 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "BSInlinePreviewer" */ = {
289+ 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "NextThreadFinder" */ = {
294290 isa = XCConfigurationList;
295291 buildConfigurations = (
296292 1DEB913B08733D840010E9CD /* Debug */,