Skip to content

Commit

Permalink
http: add parser module
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Rijs committed Jan 8, 2014
1 parent 211e4fe commit 6f4bf55
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "libuv"]
path = libuv
url = https://github.com/joyent/libuv.git
url = https://github.com/joyent/libuv.git
[submodule "http-parser"]
path = http-parser
url = https://github.com/joyent/http-parser.git
2 changes: 1 addition & 1 deletion Nodelike.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.9'
s.requires_arc = true

s.source_files = 'Nodelike/*.{h,m}', 'libuv/src/**/*.{c,h}', 'libuv/include/*.h'
s.source_files = 'Nodelike/*.{h,m}', 'libuv/src/**/*.{c,h}', 'libuv/include/*.h', 'http-parser/*.{c,h}', 'http-parser/contrib/*.c'
s.exclude_files = 'libuv/src/win', 'libuv/src/unix/*{bsd,aix,linux,sunos}*', 'libuv/include/uv-{bsd,linux,sunos,win}*.h','libuv/include/*msvc2008*.h'
s.frameworks = 'Foundation', 'JavaScriptCore'
s.libraries = 'System'
Expand Down
30 changes: 30 additions & 0 deletions Nodelike.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
B54C1F53180D37280051F826 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B5B44642180AB78E009ADEF9 /* Foundation.framework */; };
B54C1F94180D37810051F826 /* libuv.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B54C1F52180D37280051F826 /* libuv.a */; };
B54C1F96180D37C80051F826 /* libm.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = B54C1F95180D37C80051F826 /* libm.dylib */; };
B56DEFB3187DBFA700FF1D8A /* parsertrace.c in Sources */ = {isa = PBXBuildFile; fileRef = B56DEFA5187DBFA700FF1D8A /* parsertrace.c */; };
B56DEFB4187DBFA700FF1D8A /* url_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = B56DEFA6187DBFA700FF1D8A /* url_parser.c */; };
B56DEFB6187DBFA700FF1D8A /* http_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = B56DEFA8187DBFA700FF1D8A /* http_parser.c */; };
B599FF2C185A7ED000057DD6 /* NLTCP.m in Sources */ = {isa = PBXBuildFile; fileRef = B599FF2B185A7ED000057DD6 /* NLTCP.m */; };
B59E5F8B181EC45A0093A6FF /* NLBindingUv.m in Sources */ = {isa = PBXBuildFile; fileRef = B59E5F8A181EC45A0093A6FF /* NLBindingUv.m */; };
B59E5F91181EE3590093A6FF /* NLHandle.m in Sources */ = {isa = PBXBuildFile; fileRef = B59E5F90181EE3590093A6FF /* NLHandle.m */; };
Expand Down Expand Up @@ -109,6 +112,10 @@
B53E6997184672F3004E4EF9 /* NLStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NLStream.m; sourceTree = "<group>"; };
B54C1F52180D37280051F826 /* libuv.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libuv.a; sourceTree = BUILT_PRODUCTS_DIR; };
B54C1F95180D37C80051F826 /* libm.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libm.dylib; path = usr/lib/libm.dylib; sourceTree = SDKROOT; };
B56DEFA5187DBFA700FF1D8A /* parsertrace.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = parsertrace.c; sourceTree = "<group>"; };
B56DEFA6187DBFA700FF1D8A /* url_parser.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = url_parser.c; sourceTree = "<group>"; };
B56DEFA8187DBFA700FF1D8A /* http_parser.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = http_parser.c; sourceTree = "<group>"; };
B56DEFAA187DBFA700FF1D8A /* http_parser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = http_parser.h; sourceTree = "<group>"; };
B599FF2A185A7ED000057DD6 /* NLTCP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NLTCP.h; sourceTree = "<group>"; };
B599FF2B185A7ED000057DD6 /* NLTCP.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NLTCP.m; sourceTree = "<group>"; };
B59E5F89181EC45A0093A6FF /* NLBindingUv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NLBindingUv.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -222,6 +229,25 @@
path = libuv/src/unix;
sourceTree = SOURCE_ROOT;
};
B56DEF9F187DBFA700FF1D8A /* http-parser */ = {
isa = PBXGroup;
children = (
B56DEFA4187DBFA700FF1D8A /* contrib */,
B56DEFA8187DBFA700FF1D8A /* http_parser.c */,
B56DEFAA187DBFA700FF1D8A /* http_parser.h */,
);
path = "http-parser";
sourceTree = SOURCE_ROOT;
};
B56DEFA4187DBFA700FF1D8A /* contrib */ = {
isa = PBXGroup;
children = (
B56DEFA5187DBFA700FF1D8A /* parsertrace.c */,
B56DEFA6187DBFA700FF1D8A /* url_parser.c */,
);
path = contrib;
sourceTree = "<group>";
};
B59EA090180CB587005BF5C1 /* Nodelike */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -268,6 +294,7 @@
B5B44636180AB78E009ADEF9 = {
isa = PBXGroup;
children = (
B56DEF9F187DBFA700FF1D8A /* http-parser */,
B5D9EC4B183A342400E321A0 /* libuv */,
B59EA090180CB587005BF5C1 /* Nodelike */,
B5B44641180AB78E009ADEF9 /* Frameworks */,
Expand Down Expand Up @@ -421,12 +448,15 @@
files = (
B599FF2C185A7ED000057DD6 /* NLTCP.m in Sources */,
B59E5F8B181EC45A0093A6FF /* NLBindingUv.m in Sources */,
B56DEFB3187DBFA700FF1D8A /* parsertrace.c in Sources */,
B56DEFB4187DBFA700FF1D8A /* url_parser.c in Sources */,
B59E5FA3181F07480093A6FF /* NLBindingConstants.m in Sources */,
B5C5B249181319550091FDE8 /* NLBindingSmalloc.m in Sources */,
B59E5F9A181F07270093A6FF /* NLContext.m in Sources */,
B5061A3A1815A9B00083AB4B /* NLCaresWrap.m in Sources */,
B59E5F91181EE3590093A6FF /* NLHandle.m in Sources */,
B5C5B24C181321300091FDE8 /* NLBindingBuffer.m in Sources */,
B56DEFB6187DBFA700FF1D8A /* http_parser.c in Sources */,
B53E6998184672F3004E4EF9 /* NLStream.m in Sources */,
B59E5F94181F07090093A6FF /* NLBindingFilesystem.m in Sources */,
B59E5F9D181F07320093A6FF /* NLProcess.m in Sources */,
Expand Down
1 change: 1 addition & 0 deletions http-parser
Submodule http-parser added at fd609a

0 comments on commit 6f4bf55

Please sign in to comment.