Skip to content

Commit

Permalink
Fixed file path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nijixuchao committed Mar 15, 2014
1 parent 72e36bf commit 55599fe
Show file tree
Hide file tree
Showing 11 changed files with 979 additions and 21 deletions.
33 changes: 16 additions & 17 deletions ChaoTimer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
0CF468991814BB4700643E69 /* CHTSocial.m in Sources */ = {isa = PBXBuildFile; fileRef = 0CF468981814BB4700643E69 /* CHTSocial.m */; };
0CF4689F1817685900643E69 /* CHTSocialObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 0CF4689E1817685900643E69 /* CHTSocialObject.m */; };
0CF468A21817688A00643E69 /* CHTSocialViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0CF468A11817688A00643E69 /* CHTSocialViewController.m */; };
0CF7B4B3187E44D800B7500B /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0CF7B4B2187E44D800B7500B /* CFNetwork.framework */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -446,13 +447,15 @@
0CF4689E1817685900643E69 /* CHTSocialObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHTSocialObject.m; sourceTree = "<group>"; };
0CF468A01817688A00643E69 /* CHTSocialViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHTSocialViewController.h; sourceTree = "<group>"; };
0CF468A11817688A00643E69 /* CHTSocialViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHTSocialViewController.m; sourceTree = "<group>"; };
0CF7B4B2187E44D800B7500B /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
0C2FA6D517B1E37F00A006B5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
0CF7B4B3187E44D800B7500B /* CFNetwork.framework in Frameworks */,
0CA7691F1837D05D00EF3191 /* CoreMotion.framework in Frameworks */,
0CF468961814B8B800643E69 /* libz.1.2.5.dylib in Frameworks */,
0CF468941814B8AE00643E69 /* libicucore.dylib in Frameworks */,
Expand Down Expand Up @@ -520,8 +523,8 @@
0C2486991802370200209767 /* CHTScramblePickerView.m */,
);
name = CutomViews;
path = /Users/nijixuchao/Developer/ChaoTimer/ChaoTimer/CustomViews;
sourceTree = "<absolute>";
path = CustomViews;
sourceTree = "<group>";
};
0C2486921802349100209767 /* Scrambler */ = {
isa = PBXGroup;
Expand Down Expand Up @@ -551,9 +554,8 @@
0CE7D6E418064557008989B3 /* Gear.h */,
0CE7D6E518064557008989B3 /* Gear.m */,
);
name = Scrambler;
path = /Users/nijixuchao/Developer/ChaoTimer/ChaoTimer/Scrambler;
sourceTree = "<absolute>";
path = Scrambler;
sourceTree = "<group>";
};
0C2FA6CF17B1E37F00A006B5 = {
isa = PBXGroup;
Expand All @@ -575,6 +577,7 @@
0C2FA6DA17B1E37F00A006B5 /* Frameworks */ = {
isa = PBXGroup;
children = (
0CF7B4B2187E44D800B7500B /* CFNetwork.framework */,
0CA7691E1837D05D00EF3191 /* CoreMotion.framework */,
0CF468951814B8B800643E69 /* libz.1.2.5.dylib */,
0CF468931814B8AE00643E69 /* libicucore.dylib */,
Expand Down Expand Up @@ -649,9 +652,8 @@
0CB5298A181DEED000EB4EA5 /* CHTLicenseViewController.h */,
0CB5298B181DEED000EB4EA5 /* CHTLicenseViewController.m */,
);
name = ViewController;
path = /Users/nijixuchao/Developer/ChaoTimer/ChaoTimer/ViewController;
sourceTree = "<absolute>";
path = ViewController;
sourceTree = "<group>";
};
0C2FA70D17B68BA400A006B5 /* Resource */ = {
isa = PBXGroup;
Expand Down Expand Up @@ -732,9 +734,8 @@
0C0D6E451818BD1100BE22CB /* wxTimeline_sm.png */,
0C0D6E461818BD1100BE22CB /* wxTimeline_sm@2x.png */,
);
name = Resource;
path = /Users/nijixuchao/Developer/ChaoTimer/ChaoTimer/Resource;
sourceTree = "<absolute>";
path = Resource;
sourceTree = "<group>";
};
0C2FA70E17B68BAF00A006B5 /* DataStructure */ = {
isa = PBXGroup;
Expand All @@ -748,9 +749,8 @@
0C2FA71617B9DB5600A006B5 /* CHTScramble.h */,
0C2FA71717B9DB5600A006B5 /* CHTScramble.m */,
);
name = DataStructure;
path = /Users/nijixuchao/Developer/ChaoTimer/ChaoTimer/DataStructure;
sourceTree = "<absolute>";
path = DataStructure;
sourceTree = "<group>";
};
0C2FA70F17B68BB900A006B5 /* Util */ = {
isa = PBXGroup;
Expand Down Expand Up @@ -778,9 +778,8 @@
0CE7D6B41803B1CD008989B3 /* CHTUpdater.h */,
0CE7D6B51803B1CD008989B3 /* CHTUpdater.m */,
);
name = ForUpdate;
path = /Users/nijixuchao/Developer/ChaoTimer/ChaoTimer/Util/ForUpdate;
sourceTree = "<absolute>";
path = ForUpdate;
sourceTree = "<group>";
};
0CE7D6B718063737008989B3 /* min2phase */ = {
isa = PBXGroup;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>DAD780BB-8B16-4730-B842-EFA8D20AB88A</string>
<key>IDESourceControlProjectName</key>
<string>ChaoTimer</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</key>
<string>https://github.com/nijixuchao/ChaoTimer.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>ChaoTimer.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</key>
<string>../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/nijixuchao/ChaoTimer.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</string>
<key>IDESourceControlWCCName</key>
<string>ChaoTimer</string>
</dict>
</array>
</dict>
</plist>
Binary file not shown.
50 changes: 50 additions & 0 deletions ChaoTimer/BrowserDisplay/HTTPResponseHandler.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
//
// HTTPResponseHandler.h
// TextTransfer
//
// Created by Matt Gallagher on 2009/07/13.
// Copyright 2009 Matt Gallagher. All rights reserved.
//
// Permission is given to use this source code file, free of charge, in any
// project, commercial or otherwise, entirely at your risk, with the condition
// that any redistribution (in part or whole) of source code must retain
// this copyright and permission notice. Attribution in compiled projects is
// appreciated but not required.
//

#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#import <CFNetwork/CFNetwork.h>
#else
#import <Cocoa/Cocoa.h>
#endif

@class HTTPServer;

@interface HTTPResponseHandler : NSObject
{
CFHTTPMessageRef request;
NSString *requestMethod;
NSDictionary *headerFields;
NSFileHandle *fileHandle;
HTTPServer *server;
NSURL *url;
}

+ (NSUInteger)priority;
+ (void)registerHandler:(Class)handlerClass;

+ (HTTPResponseHandler *)handlerForRequest:(CFHTTPMessageRef)aRequest
fileHandle:(NSFileHandle *)requestFileHandle
server:(HTTPServer *)aServer;

- (id)initWithRequest:(CFHTTPMessageRef)aRequest
method:(NSString *)method
url:(NSURL *)requestURL
headerFields:(NSDictionary *)requestHeaderFields
fileHandle:(NSFileHandle *)requestFileHandle
server:(HTTPServer *)aServer;
- (void)startResponse;
- (void)endResponse;

@end
Loading

0 comments on commit 55599fe

Please sign in to comment.