Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit 10ee2da

Browse files
committed
Lin-Xcode5
1 parent f6b2616 commit 10ee2da

File tree

92 files changed

+4081
-2068
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+4081
-2068
lines changed

LICENSE.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Copyright (c) 2013 Katsuma Tanaka
1+
Copyright (c) 2013 Katsuma Tanaka
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

5-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
66

7-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Lin.xcodeproj/project.pbxproj

+497-264
Large diffs are not rendered by default.

Lin.xcodeproj/xcshareddata/xcschemes/Lin.xcscheme

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0460"
3+
LastUpgradeVersion = "0500"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -14,7 +14,7 @@
1414
buildForAnalyzing = "YES">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "AAEBEB7216E90ACE00A01E48"
17+
BlueprintIdentifier = "AA1B7DA217C3C1EC00A3A6D7"
1818
BuildableName = "Lin.xcplugin"
1919
BlueprintName = "Lin"
2020
ReferencedContainer = "container:Lin.xcodeproj">
@@ -32,8 +32,8 @@
3232
skipped = "NO">
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "AAB2062D175C373D0004DA3A"
36-
BuildableName = "LinTests.octest"
35+
BlueprintIdentifier = "AA470D6217C3D380005CBB7F"
36+
BuildableName = "LinTests.xctest"
3737
BlueprintName = "LinTests"
3838
ReferencedContainer = "container:Lin.xcodeproj">
3939
</BuildableReference>
@@ -49,7 +49,15 @@
4949
ignoresPersistentStateOnLaunch = "NO"
5050
debugDocumentVersioning = "YES"
5151
allowLocationSimulation = "YES">
52+
<PathRunnable
53+
FilePath = "/Applications/Xcode.app">
54+
</PathRunnable>
5255
<AdditionalOptions>
56+
<AdditionalOption
57+
key = "NSZombieEnabled"
58+
value = "YES"
59+
isEnabled = "YES">
60+
</AdditionalOption>
5361
</AdditionalOptions>
5462
</LaunchAction>
5563
<ProfileAction

Lin.xcodeproj/xcshareddata/xcschemes/LinTests.xcscheme

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0460"
3+
LastUpgradeVersion = "0500"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -14,8 +14,8 @@
1414
buildForAnalyzing = "YES">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "AAB2062D175C373D0004DA3A"
18-
BuildableName = "LinTests.octest"
17+
BlueprintIdentifier = "AA470D6217C3D380005CBB7F"
18+
BuildableName = "LinTests.xctest"
1919
BlueprintName = "LinTests"
2020
ReferencedContainer = "container:Lin.xcodeproj">
2121
</BuildableReference>
@@ -32,8 +32,8 @@
3232
skipped = "NO">
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "AAB2062D175C373D0004DA3A"
36-
BuildableName = "LinTests.octest"
35+
BlueprintIdentifier = "AA470D6217C3D380005CBB7F"
36+
BuildableName = "LinTests.xctest"
3737
BlueprintName = "LinTests"
3838
ReferencedContainer = "container:Lin.xcodeproj">
3939
</BuildableReference>

Lin/DVTDualProxyWindow.h

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// DVTDualProxyWindow.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/09/26.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface DVTDualProxyWindow : NSWindow
12+
13+
@end

Lin/DVTFilePath.h

+12-13
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
/*
2-
Copyright (c) 2013 Katsuma Tanaka
3-
4-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5-
6-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7-
8-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9-
*/
1+
//
2+
// DVTFilePath.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/08/23.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
108

11-
#import <Cocoa/Cocoa.h>
9+
#import <Foundation/Foundation.h>
1210

1311
@interface DVTFilePath : NSObject
1412

15-
@property(readonly) NSString *fileName;
16-
@property(readonly) NSURL *fileURL;
17-
@property(readonly) NSString *pathString;
13+
@property (readonly) NSString *fileName;
14+
@property (readonly) NSURL *fileURL;
15+
@property (readonly) NSArray *pathComponents;
16+
@property (readonly) NSString *pathString;
1817

1918
@end

Lin/DVTSourceTextView.h

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// DVTSourceTextView.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/09/26.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface DVTSourceTextView : NSTextView
12+
13+
@end

Lin/IDEEditorDocument.h

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
/*
2-
Copyright (c) 2013 Katsuma Tanaka
3-
4-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5-
6-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7-
8-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9-
*/
1+
//
2+
// IDEEditorDocument.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/08/24.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
108

11-
#import <Cocoa/Cocoa.h>
9+
#import <Foundation/Foundation.h>
1210

1311
@class DVTFilePath;
1412

Lin/IDEIndex+Lin.h

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
/*
2-
Copyright (c) 2013 Katsuma Tanaka
3-
4-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5-
6-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7-
8-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9-
*/
1+
//
2+
// IDEIndex+Lin.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/08/24.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
108

119
#import "IDEIndex.h"
1210

Lin/IDEIndex+Lin.m

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
/*
2-
Copyright (c) 2013 Katsuma Tanaka
3-
4-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5-
6-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7-
8-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9-
*/
1+
//
2+
// IDEIndex+Lin.m
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/08/24.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
108

119
#import "IDEIndex+Lin.h"
1210

@@ -17,14 +15,14 @@ @implementation IDEIndex (Lin)
1715

1816
+ (void)load
1917
{
20-
MethodSwizzle(self, @selector(close), @selector(lin_swizzle_close));
18+
MethodSwizzle(self, @selector(close), @selector(jp_questbeat_lin_close));
2119
}
2220

23-
- (void)lin_swizzle_close
21+
- (void)jp_questbeat_lin_close
2422
{
25-
[[Lin sharedPlugin] removeFilesForIndex:self];
26-
27-
[self lin_swizzle_close];
23+
[[Lin sharedPlugIn] removeLocalizationsForIndex:self];
24+
25+
[self jp_questbeat_lin_close];
2826
}
2927

3028
@end

Lin/IDEIndex.h

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
/*
2-
Copyright (c) 2013 Katsuma Tanaka
3-
4-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5-
6-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7-
8-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9-
*/
1+
//
2+
// IDEIndex.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/08/23.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
108

11-
#import <Cocoa/Cocoa.h>
9+
#import <Foundation/Foundation.h>
1210

1311
@class DVTFilePath;
1412

1513
@interface IDEIndex : NSObject
1614

17-
@property(readonly, nonatomic) DVTFilePath *workspaceFile;
18-
@property(readonly, nonatomic) NSString *workspaceName;
15+
@property (readonly, nonatomic) DVTFilePath *workspaceFile;
16+
@property (readonly, nonatomic) NSString *workspaceName;
1917

2018
- (void)close;
2119
- (id)filesContaining:(id)arg1 anchorStart:(BOOL)arg2 anchorEnd:(BOOL)arg3 subsequence:(BOOL)arg4 ignoreCase:(BOOL)arg5 cancelWhen:(id)arg6;

Lin/IDEIndexCollection.h

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
/*
2-
Copyright (c) 2013 Katsuma Tanaka
3-
4-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5-
6-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7-
8-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9-
*/
1+
//
2+
// IDEIndexCollection.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/08/23.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
108

11-
#import <Cocoa/Cocoa.h>
9+
#import <Foundation/Foundation.h>
1210

1311
@interface IDEIndexCollection : NSObject <NSFastEnumeration>
1412

Lin/IDEWorkspace+Lin.h

-15
This file was deleted.

Lin/IDEWorkspace+Lin.m

-30
This file was deleted.

Lin/IDEWorkspace.h

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
/*
2-
Copyright (c) 2013 Katsuma Tanaka
3-
4-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5-
6-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7-
8-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9-
*/
1+
//
2+
// IDEWorkspace.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/08/21.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
108

11-
#import <Cocoa/Cocoa.h>
9+
#import <Foundation/Foundation.h>
1210

1311
@class IDEIndex;
1412
@class DVTFilePath;
1513

1614
@interface IDEWorkspace : NSObject
1715

1816
@property (retain) IDEIndex *index;
19-
@property(readonly) DVTFilePath *representingFilePath;
20-
@property(readonly) DVTFilePath *filePath;
17+
@property (readonly) DVTFilePath *representingFilePath;
2118

2219
- (void)_updateIndexableFiles:(id)arg1;
2320

Lin/IDEWorkspaceWindow.h

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// IDEWorkspaceWindow.h
3+
// Lin
4+
//
5+
// Created by Tanaka Katsuma on 2013/09/26.
6+
// Copyright (c) 2013年 Tanaka Katsuma. All rights reserved.
7+
//
8+
9+
#import "DVTDualProxyWindow.h"
10+
11+
@interface IDEWorkspaceWindow : DVTDualProxyWindow
12+
13+
@end

0 commit comments

Comments
 (0)