From: dsc Date: Mon, 6 Jun 2011 08:02:14 +0000 (-0700) Subject: Adds YAML library. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=814dbcce24cf1c98deeb31230f167da5ae7f75fe;p=tanks-ios.git Adds YAML library. --- diff --git a/libs/YAML.framework/.gitignore b/libs/YAML.framework/.gitignore new file mode 100644 index 0000000..e8ece47 --- /dev/null +++ b/libs/YAML.framework/.gitignore @@ -0,0 +1,5 @@ +.DS_Store +build +YAML.xcodeproj/*.mode1v3 +YAML.xcodeproj/*.pbxuser +test/yaml/bigboy.yaml \ No newline at end of file diff --git a/libs/YAML.framework/English.lproj/InfoPlist.strings b/libs/YAML.framework/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..88f65cf --- /dev/null +++ b/libs/YAML.framework/English.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/libs/YAML.framework/Info.plist b/libs/YAML.framework/Info.plist new file mode 100644 index 0000000..dc83270 --- /dev/null +++ b/libs/YAML.framework/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.${PRODUCT_NAME:rfc1034Identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + NSPrincipalClass + + + diff --git a/libs/YAML.framework/Readme.mkdn b/libs/YAML.framework/Readme.mkdn new file mode 100644 index 0000000..1f63853 --- /dev/null +++ b/libs/YAML.framework/Readme.mkdn @@ -0,0 +1,66 @@ +# YAML.framework for Objective-C + +Based on C `LibYAML` library (`http://pyyaml.org/wiki/LibYAML`) by Kirill Simonov. +`YAML.framework` provides support for YAML (de/)serialisation similarly to standard `NSPropertyListSerialization`. + +It's fast and compatible with iOS. + +## Examples + +Using input stream: + + NSInputStream *stream = [[NSInputStream alloc] initWithFileAtPath: @"yaml/items.yaml"]; + # or [[NSInputStream alloc] initWithURL: ...] + + id yaml = [YAMLSerialization YAMLWithStream: stream + options: kYAMLReadOptionStringScalars + error: nil]; + + // Dump Objective-C object description + printf("%s", [[yaml description] UTF8String]); + +For input YAML file: + + items: + - name: Foo + - name: Bar + +Should print dump string similar to: + + ( + { + items = ( + { + name = Foo; + }, + { + name = Bar; + } + ); + } + ) + +## License + +`YAML.framework` is released under the MIT license. + + Copyright (c) 2010 Mirek Rusin (YAML.framework) + 2006 Kirill Simonov (LibYAML) + + 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: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + 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. diff --git a/libs/YAML.framework/YAML.xcodeproj/project.pbxproj b/libs/YAML.framework/YAML.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c00e8ab --- /dev/null +++ b/libs/YAML.framework/YAML.xcodeproj/project.pbxproj @@ -0,0 +1,1095 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 45; + objects = { + +/* Begin PBXBuildFile section */ + 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; }; + EB2B592E124E2117001FFEEB /* events.c in Sources */ = {isa = PBXBuildFile; fileRef = EB2B592D124E2117001FFEEB /* events.c */; }; + EB2B5952124E230A001FFEEB /* yaml in Copy YAML Files */ = {isa = PBXBuildFile; fileRef = EB6C424F124D9B3E00886AD1 /* yaml */; }; + EB68E826125101C200336500 /* api.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC1124D86C400886AD1 /* api.c */; }; + EB68E827125101C200336500 /* dumper.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC2124D86C400886AD1 /* dumper.c */; }; + EB68E828125101C200336500 /* emitter.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC3124D86C400886AD1 /* emitter.c */; }; + EB68E829125101C200336500 /* loader.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC4124D86C400886AD1 /* loader.c */; }; + EB68E82A125101C200336500 /* parser.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC7124D86C400886AD1 /* parser.c */; }; + EB68E82B125101C200336500 /* reader.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC8124D86C400886AD1 /* reader.c */; }; + EB68E82C125101C200336500 /* scanner.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC9124D86C400886AD1 /* scanner.c */; }; + EB68E82D125101C200336500 /* writer.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3ECA124D86C400886AD1 /* writer.c */; }; + EB6C3FBA124D872600886AD1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB6C3FB9124D872600886AD1 /* Foundation.framework */; }; + EB6C419F124D8B4F00886AD1 /* api.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC1124D86C400886AD1 /* api.c */; }; + EB6C41A0124D8B4F00886AD1 /* dumper.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC2124D86C400886AD1 /* dumper.c */; }; + EB6C41A1124D8B4F00886AD1 /* emitter.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC3124D86C400886AD1 /* emitter.c */; }; + EB6C41A2124D8B4F00886AD1 /* loader.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC4124D86C400886AD1 /* loader.c */; }; + EB6C41A3124D8B4F00886AD1 /* parser.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC7124D86C400886AD1 /* parser.c */; }; + EB6C41A4124D8B4F00886AD1 /* reader.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC8124D86C400886AD1 /* reader.c */; }; + EB6C41A5124D8B4F00886AD1 /* scanner.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3EC9124D86C400886AD1 /* scanner.c */; }; + EB6C41A6124D8B4F00886AD1 /* writer.c in Sources */ = {isa = PBXBuildFile; fileRef = EB6C3ECA124D86C400886AD1 /* writer.c */; }; + EB6C41C2124D8C8F00886AD1 /* yaml.h in Headers */ = {isa = PBXBuildFile; fileRef = EB6C3EBB124D86C400886AD1 /* yaml.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EB6C4214124D99D000886AD1 /* YAML.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* YAML.framework */; }; + EB6C422C124D9A4B00886AD1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB6C3FB9124D872600886AD1 /* Foundation.framework */; }; + EB6C4252124D9B4A00886AD1 /* yaml in Copy YAML Files */ = {isa = PBXBuildFile; fileRef = EB6C424F124D9B3E00886AD1 /* yaml */; }; + EB6C433C124E0CF600886AD1 /* test.m in Sources */ = {isa = PBXBuildFile; fileRef = EB6C4226124D9A1700886AD1 /* test.m */; }; + EBE745BA124F8C0D00618049 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB6C3FB9124D872600886AD1 /* Foundation.framework */; }; + EBE745BB124F8C0D00618049 /* YAML.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* YAML.framework */; }; + EBE745BD124F8C0D00618049 /* yaml in Copy YAML Files */ = {isa = PBXBuildFile; fileRef = EB6C424F124D9B3E00886AD1 /* yaml */; }; + EBE745C7124F8C2F00618049 /* spec12examples.m in Sources */ = {isa = PBXBuildFile; fileRef = EBE745AF124F8B5000618049 /* spec12examples.m */; }; + EBF83D8B124D7A3E008517E5 /* YAMLSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = EBF83D89124D7A3E008517E5 /* YAMLSerialization.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EBF83D8C124D7A3E008517E5 /* YAMLSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = EBF83D8A124D7A3E008517E5 /* YAMLSerialization.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + EB6C4212124D99CB00886AD1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8DC2EF4F0486A6940098B216; + remoteInfo = YAML; + }; + EBE745B6124F8C0D00618049 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8DC2EF4F0486A6940098B216; + remoteInfo = YAML; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + EB2B5960124E230D001FFEEB /* Copy YAML Files */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + EB2B5952124E230A001FFEEB /* yaml in Copy YAML Files */, + ); + name = "Copy YAML Files"; + runOnlyForDeploymentPostprocessing = 0; + }; + EB6C424E124D9B0300886AD1 /* Copy YAML Files */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + EB6C4252124D9B4A00886AD1 /* yaml in Copy YAML Files */, + ); + name = "Copy YAML Files"; + runOnlyForDeploymentPostprocessing = 0; + }; + EBE745BC124F8C0D00618049 /* Copy YAML Files */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + EBE745BD124F8C0D00618049 /* yaml in Copy YAML Files */, + ); + name = "Copy YAML Files"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 32DBCF5E0370ADEE00C91783 /* YAML_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YAML_Prefix.pch; sourceTree = ""; }; + 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 8DC2EF5B0486A6940098B216 /* YAML.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = YAML.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + EB2B5928124E2100001FFEEB /* events */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = events; sourceTree = BUILT_PRODUCTS_DIR; }; + EB2B592D124E2117001FFEEB /* events.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = events.c; sourceTree = ""; }; + EB6C3E59124D86C400886AD1 /* aclocal.m4 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = aclocal.m4; sourceTree = ""; }; + EB6C3E5B124D86C400886AD1 /* config.guess */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = config.guess; sourceTree = ""; }; + EB6C3E5C124D86C400886AD1 /* config.sub */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = config.sub; sourceTree = ""; }; + EB6C3E5D124D86C400886AD1 /* depcomp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = depcomp; sourceTree = ""; }; + EB6C3E5E124D86C400886AD1 /* install-sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "install-sh"; sourceTree = ""; }; + EB6C3E5F124D86C400886AD1 /* ltmain.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = ltmain.sh; sourceTree = ""; }; + EB6C3E60124D86C400886AD1 /* missing */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = missing; sourceTree = ""; }; + EB6C3E61124D86C400886AD1 /* config.h.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = config.h.in; sourceTree = ""; }; + EB6C3E62124D86C400886AD1 /* configure */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = configure; sourceTree = ""; }; + EB6C3E63124D86C400886AD1 /* configure.ac */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = configure.ac; sourceTree = ""; }; + EB6C3E65124D86C400886AD1 /* doxygen.cfg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = doxygen.cfg; sourceTree = ""; }; + EB6C3E67124D86C400886AD1 /* annotated.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = annotated.html; sourceTree = ""; }; + EB6C3E68124D86C400886AD1 /* classes.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = classes.html; sourceTree = ""; }; + EB6C3E69124D86C400886AD1 /* doxygen.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = doxygen.css; sourceTree = ""; }; + EB6C3E6A124D86C400886AD1 /* doxygen.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = doxygen.png; sourceTree = ""; }; + EB6C3E6B124D86C400886AD1 /* files.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = files.html; sourceTree = ""; }; + EB6C3E6C124D86C400886AD1 /* functions.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions.html; sourceTree = ""; }; + EB6C3E6D124D86C400886AD1 /* functions_0x62.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x62.html; sourceTree = ""; }; + EB6C3E6E124D86C400886AD1 /* functions_0x63.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x63.html; sourceTree = ""; }; + EB6C3E6F124D86C400886AD1 /* functions_0x64.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x64.html; sourceTree = ""; }; + EB6C3E70124D86C400886AD1 /* functions_0x65.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x65.html; sourceTree = ""; }; + EB6C3E71124D86C400886AD1 /* functions_0x66.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x66.html; sourceTree = ""; }; + EB6C3E72124D86C400886AD1 /* functions_0x68.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x68.html; sourceTree = ""; }; + EB6C3E73124D86C400886AD1 /* functions_0x69.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x69.html; sourceTree = ""; }; + EB6C3E74124D86C400886AD1 /* functions_0x6b.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x6b.html; sourceTree = ""; }; + EB6C3E75124D86C400886AD1 /* functions_0x6c.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x6c.html; sourceTree = ""; }; + EB6C3E76124D86C400886AD1 /* functions_0x6d.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x6d.html; sourceTree = ""; }; + EB6C3E77124D86C400886AD1 /* functions_0x6e.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x6e.html; sourceTree = ""; }; + EB6C3E78124D86C400886AD1 /* functions_0x6f.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x6f.html; sourceTree = ""; }; + EB6C3E79124D86C400886AD1 /* functions_0x70.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x70.html; sourceTree = ""; }; + EB6C3E7A124D86C400886AD1 /* functions_0x71.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x71.html; sourceTree = ""; }; + EB6C3E7B124D86C400886AD1 /* functions_0x72.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x72.html; sourceTree = ""; }; + EB6C3E7C124D86C400886AD1 /* functions_0x73.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x73.html; sourceTree = ""; }; + EB6C3E7D124D86C400886AD1 /* functions_0x74.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x74.html; sourceTree = ""; }; + EB6C3E7E124D86C400886AD1 /* functions_0x75.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x75.html; sourceTree = ""; }; + EB6C3E7F124D86C400886AD1 /* functions_0x76.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x76.html; sourceTree = ""; }; + EB6C3E80124D86C400886AD1 /* functions_0x77.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_0x77.html; sourceTree = ""; }; + EB6C3E81124D86C400886AD1 /* functions_vars.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars.html; sourceTree = ""; }; + EB6C3E82124D86C400886AD1 /* functions_vars_0x62.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x62.html; sourceTree = ""; }; + EB6C3E83124D86C400886AD1 /* functions_vars_0x63.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x63.html; sourceTree = ""; }; + EB6C3E84124D86C400886AD1 /* functions_vars_0x64.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x64.html; sourceTree = ""; }; + EB6C3E85124D86C400886AD1 /* functions_vars_0x65.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x65.html; sourceTree = ""; }; + EB6C3E86124D86C400886AD1 /* functions_vars_0x66.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x66.html; sourceTree = ""; }; + EB6C3E87124D86C400886AD1 /* functions_vars_0x68.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x68.html; sourceTree = ""; }; + EB6C3E88124D86C400886AD1 /* functions_vars_0x69.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x69.html; sourceTree = ""; }; + EB6C3E89124D86C400886AD1 /* functions_vars_0x6b.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x6b.html; sourceTree = ""; }; + EB6C3E8A124D86C400886AD1 /* functions_vars_0x6c.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x6c.html; sourceTree = ""; }; + EB6C3E8B124D86C400886AD1 /* functions_vars_0x6d.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x6d.html; sourceTree = ""; }; + EB6C3E8C124D86C400886AD1 /* functions_vars_0x6e.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x6e.html; sourceTree = ""; }; + EB6C3E8D124D86C400886AD1 /* functions_vars_0x6f.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x6f.html; sourceTree = ""; }; + EB6C3E8E124D86C400886AD1 /* functions_vars_0x70.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x70.html; sourceTree = ""; }; + EB6C3E8F124D86C400886AD1 /* functions_vars_0x71.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x71.html; sourceTree = ""; }; + EB6C3E90124D86C400886AD1 /* functions_vars_0x72.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x72.html; sourceTree = ""; }; + EB6C3E91124D86C400886AD1 /* functions_vars_0x73.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x73.html; sourceTree = ""; }; + EB6C3E92124D86C400886AD1 /* functions_vars_0x74.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x74.html; sourceTree = ""; }; + EB6C3E93124D86C400886AD1 /* functions_vars_0x75.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x75.html; sourceTree = ""; }; + EB6C3E94124D86C400886AD1 /* functions_vars_0x76.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x76.html; sourceTree = ""; }; + EB6C3E95124D86C400886AD1 /* functions_vars_0x77.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = functions_vars_0x77.html; sourceTree = ""; }; + EB6C3E96124D86C400886AD1 /* globals.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = globals.html; sourceTree = ""; }; + EB6C3E97124D86C400886AD1 /* globals_defs.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = globals_defs.html; sourceTree = ""; }; + EB6C3E98124D86C400886AD1 /* globals_enum.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = globals_enum.html; sourceTree = ""; }; + EB6C3E99124D86C400886AD1 /* globals_eval.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = globals_eval.html; sourceTree = ""; }; + EB6C3E9A124D86C400886AD1 /* globals_func.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = globals_func.html; sourceTree = ""; }; + EB6C3E9B124D86C400886AD1 /* globals_type.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = globals_type.html; sourceTree = ""; }; + EB6C3E9C124D86C400886AD1 /* group__basic.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__basic.html; sourceTree = ""; }; + EB6C3E9D124D86C400886AD1 /* group__emitter.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__emitter.html; sourceTree = ""; }; + EB6C3E9E124D86C400886AD1 /* group__events.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__events.html; sourceTree = ""; }; + EB6C3E9F124D86C400886AD1 /* group__export.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__export.html; sourceTree = ""; }; + EB6C3EA0124D86C400886AD1 /* group__nodes.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__nodes.html; sourceTree = ""; }; + EB6C3EA1124D86C400886AD1 /* group__parser.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__parser.html; sourceTree = ""; }; + EB6C3EA2124D86C400886AD1 /* group__styles.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__styles.html; sourceTree = ""; }; + EB6C3EA3124D86C400886AD1 /* group__tokens.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__tokens.html; sourceTree = ""; }; + EB6C3EA4124D86C400886AD1 /* group__version.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = group__version.html; sourceTree = ""; }; + EB6C3EA5124D86C400886AD1 /* index.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = index.html; sourceTree = ""; }; + EB6C3EA6124D86C400886AD1 /* modules.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = modules.html; sourceTree = ""; }; + EB6C3EA7124D86C400886AD1 /* structyaml__alias__data__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__alias__data__s.html; sourceTree = ""; }; + EB6C3EA8124D86C400886AD1 /* structyaml__document__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__document__s.html; sourceTree = ""; }; + EB6C3EA9124D86C400886AD1 /* structyaml__emitter__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__emitter__s.html; sourceTree = ""; }; + EB6C3EAA124D86C400886AD1 /* structyaml__event__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__event__s.html; sourceTree = ""; }; + EB6C3EAB124D86C400886AD1 /* structyaml__mark__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__mark__s.html; sourceTree = ""; }; + EB6C3EAC124D86C400886AD1 /* structyaml__node__pair__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__node__pair__s.html; sourceTree = ""; }; + EB6C3EAD124D86C400886AD1 /* structyaml__node__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__node__s.html; sourceTree = ""; }; + EB6C3EAE124D86C400886AD1 /* structyaml__parser__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__parser__s.html; sourceTree = ""; }; + EB6C3EAF124D86C400886AD1 /* structyaml__simple__key__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__simple__key__s.html; sourceTree = ""; }; + EB6C3EB0124D86C400886AD1 /* structyaml__tag__directive__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__tag__directive__s.html; sourceTree = ""; }; + EB6C3EB1124D86C400886AD1 /* structyaml__token__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__token__s.html; sourceTree = ""; }; + EB6C3EB2124D86C400886AD1 /* structyaml__version__directive__s.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = structyaml__version__directive__s.html; sourceTree = ""; }; + EB6C3EB3124D86C400886AD1 /* tab_b.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = tab_b.gif; sourceTree = ""; }; + EB6C3EB4124D86C400886AD1 /* tab_l.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = tab_l.gif; sourceTree = ""; }; + EB6C3EB5124D86C400886AD1 /* tab_r.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = tab_r.gif; sourceTree = ""; }; + EB6C3EB6124D86C400886AD1 /* tabs.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = tabs.css; sourceTree = ""; }; + EB6C3EB7124D86C400886AD1 /* yaml_8h.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = yaml_8h.html; sourceTree = ""; }; + EB6C3EB9124D86C400886AD1 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + EB6C3EBA124D86C400886AD1 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + EB6C3EBB124D86C400886AD1 /* yaml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yaml.h; sourceTree = ""; }; + EB6C3EBC124D86C400886AD1 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + EB6C3EBD124D86C400886AD1 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + EB6C3EBE124D86C400886AD1 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + EB6C3EBF124D86C400886AD1 /* README */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README; sourceTree = ""; }; + EB6C3EC1124D86C400886AD1 /* api.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = api.c; sourceTree = ""; }; + EB6C3EC2124D86C400886AD1 /* dumper.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = dumper.c; sourceTree = ""; }; + EB6C3EC3124D86C400886AD1 /* emitter.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = emitter.c; sourceTree = ""; }; + EB6C3EC4124D86C400886AD1 /* loader.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = loader.c; sourceTree = ""; }; + EB6C3EC5124D86C400886AD1 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + EB6C3EC6124D86C400886AD1 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + EB6C3EC7124D86C400886AD1 /* parser.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = parser.c; sourceTree = ""; }; + EB6C3EC8124D86C400886AD1 /* reader.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = reader.c; sourceTree = ""; }; + EB6C3EC9124D86C400886AD1 /* scanner.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = scanner.c; sourceTree = ""; }; + EB6C3ECA124D86C400886AD1 /* writer.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; path = writer.c; sourceTree = ""; }; + EB6C3ECB124D86C400886AD1 /* yaml_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yaml_private.h; sourceTree = ""; }; + EB6C3ECD124D86C400886AD1 /* example-deconstructor-alt.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "example-deconstructor-alt.c"; sourceTree = ""; }; + EB6C3ECE124D86C400886AD1 /* example-deconstructor.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "example-deconstructor.c"; sourceTree = ""; }; + EB6C3ECF124D86C400886AD1 /* example-reformatter-alt.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "example-reformatter-alt.c"; sourceTree = ""; }; + EB6C3ED0124D86C400886AD1 /* example-reformatter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "example-reformatter.c"; sourceTree = ""; }; + EB6C3ED1124D86C400886AD1 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + EB6C3ED2124D86C400886AD1 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + EB6C3ED3124D86C400886AD1 /* run-dumper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "run-dumper.c"; sourceTree = ""; }; + EB6C3ED4124D86C400886AD1 /* run-emitter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "run-emitter.c"; sourceTree = ""; }; + EB6C3ED5124D86C400886AD1 /* run-loader.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "run-loader.c"; sourceTree = ""; }; + EB6C3ED6124D86C400886AD1 /* run-parser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "run-parser.m"; sourceTree = ""; }; + EB6C3ED7124D86C400886AD1 /* run-scanner.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "run-scanner.c"; sourceTree = ""; }; + EB6C3ED8124D86C400886AD1 /* test-reader.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "test-reader.c"; sourceTree = ""; }; + EB6C3ED9124D86C400886AD1 /* test-version.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "test-version.c"; sourceTree = ""; }; + EB6C3EDB124D86C400886AD1 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = ""; }; + EB6C3EDC124D86C400886AD1 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + EB6C3EDD124D86C400886AD1 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + EB6C3EDF124D86C400886AD1 /* example_deconstructor.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = example_deconstructor.dsp; sourceTree = ""; }; + EB6C3EE0124D86C400886AD1 /* example_deconstructor_alt.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = example_deconstructor_alt.dsp; sourceTree = ""; }; + EB6C3EE1124D86C400886AD1 /* example_reformatter.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = example_reformatter.dsp; sourceTree = ""; }; + EB6C3EE2124D86C400886AD1 /* example_reformatter_alt.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = example_reformatter_alt.dsp; sourceTree = ""; }; + EB6C3EE3124D86C400886AD1 /* libyaml.dsw */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = libyaml.dsw; sourceTree = ""; }; + EB6C3EE4124D86C400886AD1 /* run_dumper.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = run_dumper.dsp; sourceTree = ""; }; + EB6C3EE5124D86C400886AD1 /* run_emitter.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = run_emitter.dsp; sourceTree = ""; }; + EB6C3EE6124D86C400886AD1 /* run_loader.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = run_loader.dsp; sourceTree = ""; }; + EB6C3EE7124D86C400886AD1 /* run_parser.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = run_parser.dsp; sourceTree = ""; }; + EB6C3EE8124D86C400886AD1 /* run_scanner.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = run_scanner.dsp; sourceTree = ""; }; + EB6C3EE9124D86C400886AD1 /* test_reader.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = test_reader.dsp; sourceTree = ""; }; + EB6C3EEA124D86C400886AD1 /* test_version.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = test_version.dsp; sourceTree = ""; }; + EB6C3EEB124D86C400886AD1 /* yaml.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = yaml.dsp; sourceTree = ""; }; + EB6C3EEC124D86C400886AD1 /* yamldll.dsp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = yamldll.dsp; sourceTree = ""; }; + EB6C3EEE124D86C400886AD1 /* example_deconstructor.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_deconstructor.vcproj; sourceTree = ""; }; + EB6C3EEF124D86C400886AD1 /* example_deconstructor_alt.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_deconstructor_alt.vcproj; sourceTree = ""; }; + EB6C3EF0124D86C400886AD1 /* example_reformatter.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_reformatter.vcproj; sourceTree = ""; }; + EB6C3EF1124D86C400886AD1 /* example_reformatter_alt.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_reformatter_alt.vcproj; sourceTree = ""; }; + EB6C3EF2124D86C400886AD1 /* libyaml.sln */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = libyaml.sln; sourceTree = ""; }; + EB6C3EF3124D86C400886AD1 /* run_dumper.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_dumper.vcproj; sourceTree = ""; }; + EB6C3EF4124D86C400886AD1 /* run_emitter.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_emitter.vcproj; sourceTree = ""; }; + EB6C3EF5124D86C400886AD1 /* run_loader.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_loader.vcproj; sourceTree = ""; }; + EB6C3EF6124D86C400886AD1 /* run_parser.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_parser.vcproj; sourceTree = ""; }; + EB6C3EF7124D86C400886AD1 /* run_scanner.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_scanner.vcproj; sourceTree = ""; }; + EB6C3EF8124D86C400886AD1 /* test_reader.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = test_reader.vcproj; sourceTree = ""; }; + EB6C3EF9124D86C400886AD1 /* test_version.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = test_version.vcproj; sourceTree = ""; }; + EB6C3EFA124D86C400886AD1 /* yaml.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = yaml.vcproj; sourceTree = ""; }; + EB6C3EFB124D86C400886AD1 /* yamldll.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = yamldll.vcproj; sourceTree = ""; }; + EB6C3EFD124D86C400886AD1 /* example_deconstructor.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_deconstructor.vcproj; sourceTree = ""; }; + EB6C3EFE124D86C400886AD1 /* example_deconstructor_alt.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_deconstructor_alt.vcproj; sourceTree = ""; }; + EB6C3EFF124D86C400886AD1 /* example_reformatter.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_reformatter.vcproj; sourceTree = ""; }; + EB6C3F00124D86C400886AD1 /* example_reformatter_alt.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = example_reformatter_alt.vcproj; sourceTree = ""; }; + EB6C3F01124D86C400886AD1 /* libyaml.sln */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = libyaml.sln; sourceTree = ""; }; + EB6C3F02124D86C400886AD1 /* run_dumper.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_dumper.vcproj; sourceTree = ""; }; + EB6C3F03124D86C400886AD1 /* run_emitter.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_emitter.vcproj; sourceTree = ""; }; + EB6C3F04124D86C400886AD1 /* run_loader.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_loader.vcproj; sourceTree = ""; }; + EB6C3F05124D86C400886AD1 /* run_parser.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_parser.vcproj; sourceTree = ""; }; + EB6C3F06124D86C400886AD1 /* run_scanner.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = run_scanner.vcproj; sourceTree = ""; }; + EB6C3F07124D86C400886AD1 /* test_reader.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = test_reader.vcproj; sourceTree = ""; }; + EB6C3F08124D86C400886AD1 /* test_version.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = test_version.vcproj; sourceTree = ""; }; + EB6C3F09124D86C400886AD1 /* yaml.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = yaml.vcproj; sourceTree = ""; }; + EB6C3F0A124D86C400886AD1 /* yamldll.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = yamldll.vcproj; sourceTree = ""; }; + EB6C3FB9124D872600886AD1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + EB6C420E124D99BE00886AD1 /* test */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = test; sourceTree = BUILT_PRODUCTS_DIR; }; + EB6C4226124D9A1700886AD1 /* test.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = test.m; sourceTree = ""; }; + EB6C424F124D9B3E00886AD1 /* yaml */ = {isa = PBXFileReference; lastKnownFileType = folder; path = yaml; sourceTree = ""; }; + EBE745AF124F8B5000618049 /* spec12examples.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = spec12examples.m; sourceTree = ""; }; + EBE745C1124F8C0D00618049 /* test */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = test; sourceTree = BUILT_PRODUCTS_DIR; }; + EBF83D89124D7A3E008517E5 /* YAMLSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YAMLSerialization.h; sourceTree = ""; }; + EBF83D8A124D7A3E008517E5 /* YAMLSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YAMLSerialization.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DC2EF560486A6940098B216 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + EB6C3FBA124D872600886AD1 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB2B5926124E2100001FFEEB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB6C420C124D99BE00886AD1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + EB6C422C124D9A4B00886AD1 /* Foundation.framework in Frameworks */, + EB6C4214124D99D000886AD1 /* YAML.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBE745B9124F8C0D00618049 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + EBE745BA124F8C0D00618049 /* Foundation.framework in Frameworks */, + EBE745BB124F8C0D00618049 /* YAML.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 034768DFFF38A50411DB9C8B /* Products */ = { + isa = PBXGroup; + children = ( + 8DC2EF5B0486A6940098B216 /* YAML.framework */, + EB6C420E124D99BE00886AD1 /* test */, + EB2B5928124E2100001FFEEB /* events */, + EBE745C1124F8C0D00618049 /* test */, + ); + name = Products; + sourceTree = ""; + }; + 0867D691FE84028FC02AAC07 /* YAML */ = { + isa = PBXGroup; + children = ( + EB6C4222124D9A0200886AD1 /* test */, + EB6C3E58124D86C400886AD1 /* yaml-0.1.3 */, + 08FB77AEFE84172EC02AAC07 /* Classes */, + 32C88DFF0371C24200C91783 /* Other Sources */, + 089C1665FE841158C02AAC07 /* Resources */, + 0867D69AFE84028FC02AAC07 /* Frameworks */, + 034768DFFF38A50411DB9C8B /* Products */, + ); + name = YAML; + sourceTree = ""; + }; + 0867D69AFE84028FC02AAC07 /* Frameworks */ = { + isa = PBXGroup; + children = ( + EB6C3FB9124D872600886AD1 /* Foundation.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 089C1665FE841158C02AAC07 /* Resources */ = { + isa = PBXGroup; + children = ( + 8DC2EF5A0486A6940098B216 /* Info.plist */, + 089C1666FE841158C02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = ""; + }; + 08FB77AEFE84172EC02AAC07 /* Classes */ = { + isa = PBXGroup; + children = ( + EBF83D89124D7A3E008517E5 /* YAMLSerialization.h */, + EBF83D8A124D7A3E008517E5 /* YAMLSerialization.m */, + ); + name = Classes; + sourceTree = ""; + }; + 32C88DFF0371C24200C91783 /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32DBCF5E0370ADEE00C91783 /* YAML_Prefix.pch */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + EB6C3E58124D86C400886AD1 /* yaml-0.1.3 */ = { + isa = PBXGroup; + children = ( + EB6C3E59124D86C400886AD1 /* aclocal.m4 */, + EB6C3E5A124D86C400886AD1 /* config */, + EB6C3E61124D86C400886AD1 /* config.h.in */, + EB6C3E62124D86C400886AD1 /* configure */, + EB6C3E63124D86C400886AD1 /* configure.ac */, + EB6C3E64124D86C400886AD1 /* doc */, + EB6C3EB8124D86C400886AD1 /* include */, + EB6C3EBC124D86C400886AD1 /* LICENSE */, + EB6C3EBD124D86C400886AD1 /* Makefile.am */, + EB6C3EBE124D86C400886AD1 /* Makefile.in */, + EB6C3EBF124D86C400886AD1 /* README */, + EB6C3EC0124D86C400886AD1 /* src */, + EB6C3ECC124D86C400886AD1 /* tests */, + EB6C3EDA124D86C400886AD1 /* win32 */, + ); + path = "yaml-0.1.3"; + sourceTree = ""; + }; + EB6C3E5A124D86C400886AD1 /* config */ = { + isa = PBXGroup; + children = ( + EB6C3E5B124D86C400886AD1 /* config.guess */, + EB6C3E5C124D86C400886AD1 /* config.sub */, + EB6C3E5D124D86C400886AD1 /* depcomp */, + EB6C3E5E124D86C400886AD1 /* install-sh */, + EB6C3E5F124D86C400886AD1 /* ltmain.sh */, + EB6C3E60124D86C400886AD1 /* missing */, + ); + path = config; + sourceTree = ""; + }; + EB6C3E64124D86C400886AD1 /* doc */ = { + isa = PBXGroup; + children = ( + EB6C3E65124D86C400886AD1 /* doxygen.cfg */, + EB6C3E66124D86C400886AD1 /* html */, + ); + path = doc; + sourceTree = ""; + }; + EB6C3E66124D86C400886AD1 /* html */ = { + isa = PBXGroup; + children = ( + EB6C3E67124D86C400886AD1 /* annotated.html */, + EB6C3E68124D86C400886AD1 /* classes.html */, + EB6C3E69124D86C400886AD1 /* doxygen.css */, + EB6C3E6A124D86C400886AD1 /* doxygen.png */, + EB6C3E6B124D86C400886AD1 /* files.html */, + EB6C3E6C124D86C400886AD1 /* functions.html */, + EB6C3E6D124D86C400886AD1 /* functions_0x62.html */, + EB6C3E6E124D86C400886AD1 /* functions_0x63.html */, + EB6C3E6F124D86C400886AD1 /* functions_0x64.html */, + EB6C3E70124D86C400886AD1 /* functions_0x65.html */, + EB6C3E71124D86C400886AD1 /* functions_0x66.html */, + EB6C3E72124D86C400886AD1 /* functions_0x68.html */, + EB6C3E73124D86C400886AD1 /* functions_0x69.html */, + EB6C3E74124D86C400886AD1 /* functions_0x6b.html */, + EB6C3E75124D86C400886AD1 /* functions_0x6c.html */, + EB6C3E76124D86C400886AD1 /* functions_0x6d.html */, + EB6C3E77124D86C400886AD1 /* functions_0x6e.html */, + EB6C3E78124D86C400886AD1 /* functions_0x6f.html */, + EB6C3E79124D86C400886AD1 /* functions_0x70.html */, + EB6C3E7A124D86C400886AD1 /* functions_0x71.html */, + EB6C3E7B124D86C400886AD1 /* functions_0x72.html */, + EB6C3E7C124D86C400886AD1 /* functions_0x73.html */, + EB6C3E7D124D86C400886AD1 /* functions_0x74.html */, + EB6C3E7E124D86C400886AD1 /* functions_0x75.html */, + EB6C3E7F124D86C400886AD1 /* functions_0x76.html */, + EB6C3E80124D86C400886AD1 /* functions_0x77.html */, + EB6C3E81124D86C400886AD1 /* functions_vars.html */, + EB6C3E82124D86C400886AD1 /* functions_vars_0x62.html */, + EB6C3E83124D86C400886AD1 /* functions_vars_0x63.html */, + EB6C3E84124D86C400886AD1 /* functions_vars_0x64.html */, + EB6C3E85124D86C400886AD1 /* functions_vars_0x65.html */, + EB6C3E86124D86C400886AD1 /* functions_vars_0x66.html */, + EB6C3E87124D86C400886AD1 /* functions_vars_0x68.html */, + EB6C3E88124D86C400886AD1 /* functions_vars_0x69.html */, + EB6C3E89124D86C400886AD1 /* functions_vars_0x6b.html */, + EB6C3E8A124D86C400886AD1 /* functions_vars_0x6c.html */, + EB6C3E8B124D86C400886AD1 /* functions_vars_0x6d.html */, + EB6C3E8C124D86C400886AD1 /* functions_vars_0x6e.html */, + EB6C3E8D124D86C400886AD1 /* functions_vars_0x6f.html */, + EB6C3E8E124D86C400886AD1 /* functions_vars_0x70.html */, + EB6C3E8F124D86C400886AD1 /* functions_vars_0x71.html */, + EB6C3E90124D86C400886AD1 /* functions_vars_0x72.html */, + EB6C3E91124D86C400886AD1 /* functions_vars_0x73.html */, + EB6C3E92124D86C400886AD1 /* functions_vars_0x74.html */, + EB6C3E93124D86C400886AD1 /* functions_vars_0x75.html */, + EB6C3E94124D86C400886AD1 /* functions_vars_0x76.html */, + EB6C3E95124D86C400886AD1 /* functions_vars_0x77.html */, + EB6C3E96124D86C400886AD1 /* globals.html */, + EB6C3E97124D86C400886AD1 /* globals_defs.html */, + EB6C3E98124D86C400886AD1 /* globals_enum.html */, + EB6C3E99124D86C400886AD1 /* globals_eval.html */, + EB6C3E9A124D86C400886AD1 /* globals_func.html */, + EB6C3E9B124D86C400886AD1 /* globals_type.html */, + EB6C3E9C124D86C400886AD1 /* group__basic.html */, + EB6C3E9D124D86C400886AD1 /* group__emitter.html */, + EB6C3E9E124D86C400886AD1 /* group__events.html */, + EB6C3E9F124D86C400886AD1 /* group__export.html */, + EB6C3EA0124D86C400886AD1 /* group__nodes.html */, + EB6C3EA1124D86C400886AD1 /* group__parser.html */, + EB6C3EA2124D86C400886AD1 /* group__styles.html */, + EB6C3EA3124D86C400886AD1 /* group__tokens.html */, + EB6C3EA4124D86C400886AD1 /* group__version.html */, + EB6C3EA5124D86C400886AD1 /* index.html */, + EB6C3EA6124D86C400886AD1 /* modules.html */, + EB6C3EA7124D86C400886AD1 /* structyaml__alias__data__s.html */, + EB6C3EA8124D86C400886AD1 /* structyaml__document__s.html */, + EB6C3EA9124D86C400886AD1 /* structyaml__emitter__s.html */, + EB6C3EAA124D86C400886AD1 /* structyaml__event__s.html */, + EB6C3EAB124D86C400886AD1 /* structyaml__mark__s.html */, + EB6C3EAC124D86C400886AD1 /* structyaml__node__pair__s.html */, + EB6C3EAD124D86C400886AD1 /* structyaml__node__s.html */, + EB6C3EAE124D86C400886AD1 /* structyaml__parser__s.html */, + EB6C3EAF124D86C400886AD1 /* structyaml__simple__key__s.html */, + EB6C3EB0124D86C400886AD1 /* structyaml__tag__directive__s.html */, + EB6C3EB1124D86C400886AD1 /* structyaml__token__s.html */, + EB6C3EB2124D86C400886AD1 /* structyaml__version__directive__s.html */, + EB6C3EB3124D86C400886AD1 /* tab_b.gif */, + EB6C3EB4124D86C400886AD1 /* tab_l.gif */, + EB6C3EB5124D86C400886AD1 /* tab_r.gif */, + EB6C3EB6124D86C400886AD1 /* tabs.css */, + EB6C3EB7124D86C400886AD1 /* yaml_8h.html */, + ); + path = html; + sourceTree = ""; + }; + EB6C3EB8124D86C400886AD1 /* include */ = { + isa = PBXGroup; + children = ( + EB6C3EB9124D86C400886AD1 /* Makefile.am */, + EB6C3EBA124D86C400886AD1 /* Makefile.in */, + EB6C3EBB124D86C400886AD1 /* yaml.h */, + ); + path = include; + sourceTree = ""; + }; + EB6C3EC0124D86C400886AD1 /* src */ = { + isa = PBXGroup; + children = ( + EB6C3EC1124D86C400886AD1 /* api.c */, + EB6C3EC2124D86C400886AD1 /* dumper.c */, + EB6C3EC3124D86C400886AD1 /* emitter.c */, + EB6C3EC4124D86C400886AD1 /* loader.c */, + EB6C3EC5124D86C400886AD1 /* Makefile.am */, + EB6C3EC6124D86C400886AD1 /* Makefile.in */, + EB6C3EC7124D86C400886AD1 /* parser.c */, + EB6C3EC8124D86C400886AD1 /* reader.c */, + EB6C3EC9124D86C400886AD1 /* scanner.c */, + EB6C3ECA124D86C400886AD1 /* writer.c */, + EB6C3ECB124D86C400886AD1 /* yaml_private.h */, + ); + path = src; + sourceTree = ""; + }; + EB6C3ECC124D86C400886AD1 /* tests */ = { + isa = PBXGroup; + children = ( + EB6C3ECD124D86C400886AD1 /* example-deconstructor-alt.c */, + EB6C3ECE124D86C400886AD1 /* example-deconstructor.c */, + EB6C3ECF124D86C400886AD1 /* example-reformatter-alt.c */, + EB6C3ED0124D86C400886AD1 /* example-reformatter.c */, + EB6C3ED1124D86C400886AD1 /* Makefile.am */, + EB6C3ED2124D86C400886AD1 /* Makefile.in */, + EB6C3ED3124D86C400886AD1 /* run-dumper.c */, + EB6C3ED4124D86C400886AD1 /* run-emitter.c */, + EB6C3ED5124D86C400886AD1 /* run-loader.c */, + EB6C3ED6124D86C400886AD1 /* run-parser.m */, + EB6C3ED7124D86C400886AD1 /* run-scanner.c */, + EB6C3ED8124D86C400886AD1 /* test-reader.c */, + EB6C3ED9124D86C400886AD1 /* test-version.c */, + ); + path = tests; + sourceTree = ""; + }; + EB6C3EDA124D86C400886AD1 /* win32 */ = { + isa = PBXGroup; + children = ( + EB6C3EDB124D86C400886AD1 /* config.h */, + EB6C3EDC124D86C400886AD1 /* Makefile.am */, + EB6C3EDD124D86C400886AD1 /* Makefile.in */, + EB6C3EDE124D86C400886AD1 /* vc6 */, + EB6C3EED124D86C400886AD1 /* vs2003 */, + EB6C3EFC124D86C400886AD1 /* vs2008 */, + ); + path = win32; + sourceTree = ""; + }; + EB6C3EDE124D86C400886AD1 /* vc6 */ = { + isa = PBXGroup; + children = ( + EB6C3EDF124D86C400886AD1 /* example_deconstructor.dsp */, + EB6C3EE0124D86C400886AD1 /* example_deconstructor_alt.dsp */, + EB6C3EE1124D86C400886AD1 /* example_reformatter.dsp */, + EB6C3EE2124D86C400886AD1 /* example_reformatter_alt.dsp */, + EB6C3EE3124D86C400886AD1 /* libyaml.dsw */, + EB6C3EE4124D86C400886AD1 /* run_dumper.dsp */, + EB6C3EE5124D86C400886AD1 /* run_emitter.dsp */, + EB6C3EE6124D86C400886AD1 /* run_loader.dsp */, + EB6C3EE7124D86C400886AD1 /* run_parser.dsp */, + EB6C3EE8124D86C400886AD1 /* run_scanner.dsp */, + EB6C3EE9124D86C400886AD1 /* test_reader.dsp */, + EB6C3EEA124D86C400886AD1 /* test_version.dsp */, + EB6C3EEB124D86C400886AD1 /* yaml.dsp */, + EB6C3EEC124D86C400886AD1 /* yamldll.dsp */, + ); + path = vc6; + sourceTree = ""; + }; + EB6C3EED124D86C400886AD1 /* vs2003 */ = { + isa = PBXGroup; + children = ( + EB6C3EEE124D86C400886AD1 /* example_deconstructor.vcproj */, + EB6C3EEF124D86C400886AD1 /* example_deconstructor_alt.vcproj */, + EB6C3EF0124D86C400886AD1 /* example_reformatter.vcproj */, + EB6C3EF1124D86C400886AD1 /* example_reformatter_alt.vcproj */, + EB6C3EF2124D86C400886AD1 /* libyaml.sln */, + EB6C3EF3124D86C400886AD1 /* run_dumper.vcproj */, + EB6C3EF4124D86C400886AD1 /* run_emitter.vcproj */, + EB6C3EF5124D86C400886AD1 /* run_loader.vcproj */, + EB6C3EF6124D86C400886AD1 /* run_parser.vcproj */, + EB6C3EF7124D86C400886AD1 /* run_scanner.vcproj */, + EB6C3EF8124D86C400886AD1 /* test_reader.vcproj */, + EB6C3EF9124D86C400886AD1 /* test_version.vcproj */, + EB6C3EFA124D86C400886AD1 /* yaml.vcproj */, + EB6C3EFB124D86C400886AD1 /* yamldll.vcproj */, + ); + path = vs2003; + sourceTree = ""; + }; + EB6C3EFC124D86C400886AD1 /* vs2008 */ = { + isa = PBXGroup; + children = ( + EB6C3EFD124D86C400886AD1 /* example_deconstructor.vcproj */, + EB6C3EFE124D86C400886AD1 /* example_deconstructor_alt.vcproj */, + EB6C3EFF124D86C400886AD1 /* example_reformatter.vcproj */, + EB6C3F00124D86C400886AD1 /* example_reformatter_alt.vcproj */, + EB6C3F01124D86C400886AD1 /* libyaml.sln */, + EB6C3F02124D86C400886AD1 /* run_dumper.vcproj */, + EB6C3F03124D86C400886AD1 /* run_emitter.vcproj */, + EB6C3F04124D86C400886AD1 /* run_loader.vcproj */, + EB6C3F05124D86C400886AD1 /* run_parser.vcproj */, + EB6C3F06124D86C400886AD1 /* run_scanner.vcproj */, + EB6C3F07124D86C400886AD1 /* test_reader.vcproj */, + EB6C3F08124D86C400886AD1 /* test_version.vcproj */, + EB6C3F09124D86C400886AD1 /* yaml.vcproj */, + EB6C3F0A124D86C400886AD1 /* yamldll.vcproj */, + ); + path = vs2008; + sourceTree = ""; + }; + EB6C4222124D9A0200886AD1 /* test */ = { + isa = PBXGroup; + children = ( + EBE745AF124F8B5000618049 /* spec12examples.m */, + EB6C424F124D9B3E00886AD1 /* yaml */, + EB6C4226124D9A1700886AD1 /* test.m */, + EB2B592D124E2117001FFEEB /* events.c */, + ); + path = test; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 8DC2EF500486A6940098B216 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + EB6C41C2124D8C8F00886AD1 /* yaml.h in Headers */, + EBF83D8B124D7A3E008517E5 /* YAMLSerialization.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 8DC2EF4F0486A6940098B216 /* YAML */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "YAML" */; + buildPhases = ( + 8DC2EF500486A6940098B216 /* Headers */, + 8DC2EF520486A6940098B216 /* Resources */, + 8DC2EF540486A6940098B216 /* Sources */, + 8DC2EF560486A6940098B216 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = YAML; + productInstallPath = "$(HOME)/Library/Frameworks"; + productName = YAML; + productReference = 8DC2EF5B0486A6940098B216 /* YAML.framework */; + productType = "com.apple.product-type.framework"; + }; + EB2B5927124E2100001FFEEB /* events */ = { + isa = PBXNativeTarget; + buildConfigurationList = EB2B592F124E2117001FFEEB /* Build configuration list for PBXNativeTarget "events" */; + buildPhases = ( + EB2B5925124E2100001FFEEB /* Sources */, + EB2B5926124E2100001FFEEB /* Frameworks */, + EB2B5960124E230D001FFEEB /* Copy YAML Files */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = events; + productName = events; + productReference = EB2B5928124E2100001FFEEB /* events */; + productType = "com.apple.product-type.tool"; + }; + EB6C420D124D99BE00886AD1 /* test */ = { + isa = PBXNativeTarget; + buildConfigurationList = EB6C4221124D99E100886AD1 /* Build configuration list for PBXNativeTarget "test" */; + buildPhases = ( + EB6C420B124D99BE00886AD1 /* Sources */, + EB6C420C124D99BE00886AD1 /* Frameworks */, + EB6C424E124D9B0300886AD1 /* Copy YAML Files */, + ); + buildRules = ( + ); + dependencies = ( + EB6C4213124D99CB00886AD1 /* PBXTargetDependency */, + ); + name = test; + productName = test; + productReference = EB6C420E124D99BE00886AD1 /* test */; + productType = "com.apple.product-type.tool"; + }; + EBE745B4124F8C0D00618049 /* test (spec12examples) */ = { + isa = PBXNativeTarget; + buildConfigurationList = EBE745BE124F8C0D00618049 /* Build configuration list for PBXNativeTarget "test (spec12examples)" */; + buildPhases = ( + EBE745B7124F8C0D00618049 /* Sources */, + EBE745B9124F8C0D00618049 /* Frameworks */, + EBE745BC124F8C0D00618049 /* Copy YAML Files */, + ); + buildRules = ( + ); + dependencies = ( + EBE745B5124F8C0D00618049 /* PBXTargetDependency */, + ); + name = "test (spec12examples)"; + productName = test; + productReference = EBE745C1124F8C0D00618049 /* test */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 0867D690FE84028FC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "YAML" */; + compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 0867D691FE84028FC02AAC07 /* YAML */; + productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DC2EF4F0486A6940098B216 /* YAML */, + EB6C420D124D99BE00886AD1 /* test */, + EBE745B4124F8C0D00618049 /* test (spec12examples) */, + EB2B5927124E2100001FFEEB /* events */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8DC2EF520486A6940098B216 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DC2EF540486A6940098B216 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB6C419F124D8B4F00886AD1 /* api.c in Sources */, + EB6C41A0124D8B4F00886AD1 /* dumper.c in Sources */, + EB6C41A1124D8B4F00886AD1 /* emitter.c in Sources */, + EB6C41A2124D8B4F00886AD1 /* loader.c in Sources */, + EB6C41A3124D8B4F00886AD1 /* parser.c in Sources */, + EB6C41A4124D8B4F00886AD1 /* reader.c in Sources */, + EB6C41A5124D8B4F00886AD1 /* scanner.c in Sources */, + EB6C41A6124D8B4F00886AD1 /* writer.c in Sources */, + EBF83D8C124D7A3E008517E5 /* YAMLSerialization.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB2B5925124E2100001FFEEB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB68E826125101C200336500 /* api.c in Sources */, + EB68E827125101C200336500 /* dumper.c in Sources */, + EB68E828125101C200336500 /* emitter.c in Sources */, + EB68E829125101C200336500 /* loader.c in Sources */, + EB68E82A125101C200336500 /* parser.c in Sources */, + EB68E82B125101C200336500 /* reader.c in Sources */, + EB68E82C125101C200336500 /* scanner.c in Sources */, + EB68E82D125101C200336500 /* writer.c in Sources */, + EB2B592E124E2117001FFEEB /* events.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB6C420B124D99BE00886AD1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB6C433C124E0CF600886AD1 /* test.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBE745B7124F8C0D00618049 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EBE745C7124F8C2F00618049 /* spec12examples.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + EB6C4213124D99CB00886AD1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8DC2EF4F0486A6940098B216 /* YAML */; + targetProxy = EB6C4212124D99CB00886AD1 /* PBXContainerItemProxy */; + }; + EBE745B5124F8C0D00618049 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8DC2EF4F0486A6940098B216 /* YAML */; + targetProxy = EBE745B6124F8C0D00618049 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 089C1666FE841158C02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C1667FE841158C02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 1DEB91AE08733DA50010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + DEPLOYMENT_LOCATION = YES; + DSTROOT = /; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = YAML_Prefix.pch; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Frameworks"; + PRODUCT_NAME = YAML; + WRAPPER_EXTENSION = framework; + }; + name = Debug; + }; + 1DEB91AF08733DA50010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEPLOYMENT_LOCATION = YES; + DSTROOT = /; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = YAML_Prefix.pch; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Frameworks"; + PRODUCT_NAME = YAML; + WRAPPER_EXTENSION = framework; + }; + name = Release; + }; + 1DEB91B208733DA50010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "${PROJECT_DIR}/yaml-0.1.3/include"; + ONLY_ACTIVE_ARCH = YES; + PREBINDING = NO; + SDKROOT = macosx10.6; + }; + name = Debug; + }; + 1DEB91B308733DA50010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "${PROJECT_DIR}/yaml-0.1.3/include"; + PREBINDING = NO; + SDKROOT = macosx10.6; + }; + name = Release; + }; + EB2B592A124E2100001FFEEB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + INSTALL_PATH = /usr/local/bin; + OTHER_LDFLAGS = ""; + PREBINDING = NO; + PRODUCT_NAME = events; + }; + name = Debug; + }; + EB2B592B124E2100001FFEEB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + INSTALL_PATH = /usr/local/bin; + OTHER_LDFLAGS = ""; + PREBINDING = NO; + PRODUCT_NAME = events; + ZERO_LINK = NO; + }; + name = Release; + }; + EB6C4210124D99BE00886AD1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + INSTALL_PATH = /usr/local/bin; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = test; + }; + name = Debug; + }; + EB6C4211124D99BE00886AD1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + INSTALL_PATH = /usr/local/bin; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = test; + ZERO_LINK = NO; + }; + name = Release; + }; + EBE745BF124F8C0D00618049 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + INSTALL_PATH = /usr/local/bin; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = test; + }; + name = Debug; + }; + EBE745C0124F8C0D00618049 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + INSTALL_PATH = /usr/local/bin; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = test; + ZERO_LINK = NO; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "YAML" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB91AE08733DA50010E9CD /* Debug */, + 1DEB91AF08733DA50010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "YAML" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB91B208733DA50010E9CD /* Debug */, + 1DEB91B308733DA50010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EB2B592F124E2117001FFEEB /* Build configuration list for PBXNativeTarget "events" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EB2B592A124E2100001FFEEB /* Debug */, + EB2B592B124E2100001FFEEB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EB6C4221124D99E100886AD1 /* Build configuration list for PBXNativeTarget "test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EB6C4210124D99BE00886AD1 /* Debug */, + EB6C4211124D99BE00886AD1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EBE745BE124F8C0D00618049 /* Build configuration list for PBXNativeTarget "test (spec12examples)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EBE745BF124F8C0D00618049 /* Debug */, + EBE745C0124F8C0D00618049 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 0867D690FE84028FC02AAC07 /* Project object */; +} diff --git a/libs/YAML.framework/YAMLSerialization.h b/libs/YAML.framework/YAMLSerialization.h new file mode 100644 index 0000000..6820a46 --- /dev/null +++ b/libs/YAML.framework/YAMLSerialization.h @@ -0,0 +1,58 @@ +// +// YAMLSerialization.h +// YAML Serialization support by Mirek Rusin based on C library LibYAML by Kirill Simonov +// Released under MIT License +// +// Copyright 2010 Mirek Rusin +// Copyright 2010 Stanislav Yudin +// + +#import +#import "yaml.h" + +// Mimics NSPropertyListMutabilityOptions +typedef enum { + kYAMLReadOptionImmutable = 0x0000000000000001, + kYAMLReadOptionMutableContainers = 0x0000000000000010, + kYAMLReadOptionMutableContainersAndLeaves = 0x0000000000000110, + kYAMLReadOptionStringScalars = 0x0000000000001000 +} YAMLReadOptions; + +typedef enum { + kYAMLErrorNoErrors, + kYAMLErrorCodeParserInitializationFailed, + kYAMLErrorCodeParseError, + kYAMLErrorCodeEmitterError, + kYAMLErrorInvalidOptions, + kYAMLErrorCodeOutOfMemory, + kYAMLErrorInvalidYamlObject, +} YAMLErrorCode; + +typedef enum { + kYAMLWriteOptionSingleDocument = 0x0000000000000001, + kYAMLWriteOptionMultipleDocuments = 0x0000000000000010, +} YAMLWriteOptions; + +extern NSString *const YAMLErrorDomain; + +@interface YAMLSerialization : NSObject { +} + ++ (void) writeYAML: (id) yaml + toStream: (NSOutputStream *) stream + options: (YAMLWriteOptions) opt + error: (NSError **) error; + ++ (NSData *) dataFromYAML: (id) yaml + options: (YAMLWriteOptions) opt + error: (NSError **) error; + ++ (NSMutableArray *) YAMLWithStream: (NSInputStream *) stream + options: (YAMLReadOptions) opt + error: (NSError **) error; + ++ (NSMutableArray *) YAMLWithData: (NSData *) data + options: (YAMLReadOptions) opt + error: (NSError **) error; + +@end diff --git a/libs/YAML.framework/YAMLSerialization.m b/libs/YAML.framework/YAMLSerialization.m new file mode 100644 index 0000000..4705583 --- /dev/null +++ b/libs/YAML.framework/YAMLSerialization.m @@ -0,0 +1,378 @@ +// +// YAMLSerialization.m +// YAML Serialization support by Mirek Rusin based on C library LibYAML by Kirill Simonov +// Released under MIT License +// +// Copyright 2010 Mirek Rusin +// Copyright 2010 Stanislav Yudin +// + +#import "YAMLSerialization.h" + +NSString *const YAMLErrorDomain = @"com.github.mirek.yaml"; + +// Assumes NSError **error is in the current scope +#define YAML_SET_ERROR(errorCode, description, recovery) \ + if (error) \ + *error = [NSError errorWithDomain: YAMLErrorDomain \ + code: errorCode \ + userInfo: [NSDictionary dictionaryWithObjectsAndKeys: \ + description, NSLocalizedDescriptionKey, \ + recovery, NSLocalizedRecoverySuggestionErrorKey, \ + nil]] + + +#pragma mark Write support +#pragma mark - + +static int YAMLSerializationDataHandler(void *data, unsigned char *buffer, size_t size) { + NSMutableString *string = (NSMutableString*)data; + NSString *buf = [[NSString alloc] initWithBytes:buffer length:size encoding:NSUTF8StringEncoding]; + [string appendString:buf]; + [buf release]; + return YES; +} + +static int YAMLSerializationWriteHandler(void *data, unsigned char *buffer, size_t size) { + if ([(NSOutputStream *)data write:buffer maxLength:size] <= 0) { + return NO; + } else { + return YES; + } +} + +static int YAMLSerializationProcessValue(yaml_document_t *document, id value) { + NSInteger nodeId = 0; + + if ([value isKindOfClass:[NSDictionary class]] ) { + + nodeId = yaml_document_add_mapping(document, NULL, YAML_BLOCK_MAPPING_STYLE); + for(NSString *key in [value allKeys]) { + int keyId = YAMLSerializationProcessValue(document, key); + id keyValue = [value objectForKey:key]; + int valueId = YAMLSerializationProcessValue(document, keyValue); + yaml_document_append_mapping_pair(document, nodeId, keyId, valueId); + } + } + else if ([value isKindOfClass:[NSArray class]] ) { + + nodeId = yaml_document_add_sequence(document, NULL, YAML_BLOCK_SEQUENCE_STYLE); + for(id childValue in value) { + int childId = YAMLSerializationProcessValue(document, childValue); + yaml_document_append_sequence_item(document, nodeId, childId); + } + } + else { + if ( ![value isKindOfClass:[NSString class]] ) { + value = [value stringValue]; + } + nodeId = yaml_document_add_scalar(document, NULL, (yaml_char_t*)[value UTF8String], [value length], YAML_PLAIN_SCALAR_STYLE); + } + return nodeId; +} + +// De-serialize single, parsed document. Creates the document +static yaml_document_t* YAMLSerializationToDocument(id yaml, YAMLWriteOptions opt, NSError **error) { + + yaml_document_t *document = (yaml_document_t*)malloc( sizeof(yaml_document_t)); + if (!document) { + YAML_SET_ERROR(kYAMLErrorCodeOutOfMemory, @"Couldn't allocate memory", @"Please try to free memory and retry"); + return NULL; + } + + if (!yaml_document_initialize(document, NULL, NULL, NULL, 0, 0)) { + YAML_SET_ERROR(kYAMLErrorInvalidYamlObject, @"Failed to initialize yaml document", @"Underlying data structure failed to initalize"); + free(document); + return NULL; + } + + //add root element + int rootId = 0; + if ([yaml isKindOfClass:[NSDictionary class]]) { + rootId = yaml_document_add_mapping(document, NULL, YAML_ANY_MAPPING_STYLE); + + for(NSString *key in [yaml allKeys]) { + int keyId = YAMLSerializationProcessValue(document, key); + id value = [yaml objectForKey:key]; + int valueId = YAMLSerializationProcessValue(document, value); + yaml_document_append_mapping_pair(document, rootId, keyId, valueId); + } + } + else if ([yaml isKindOfClass:[NSArray class]]) { + rootId = yaml_document_add_sequence(document, NULL, YAML_ANY_SEQUENCE_STYLE); + for(id value in yaml) { + int valueId = YAMLSerializationProcessValue(document, value); + yaml_document_append_sequence_item(document, rootId, valueId); + } + } + else { + //unsupported root element + YAML_SET_ERROR(kYAMLErrorInvalidYamlObject, @"Yaml object must be either NSDictionary of NSArray. Scalar roots are pointless.", @"Send dictionary or array as yaml document root"); + free(document); + return NULL; + } + + return document; +} + +#pragma mark Read support +#pragma mark - + + +static int YAMLSerializationReadHandler(void *data, unsigned char *buffer, size_t size, size_t *size_read) { + NSInteger outcome = [(NSInputStream *)data read: (uint8_t *)buffer maxLength: size]; + if (outcome < 0) { + *size_read = 0; + return NO; + } else { + *size_read = outcome; + return YES; + } +} + +// Serialize single, parsed document. Does not destroy the document. +static id YAMLSerializationWithDocument(yaml_document_t *document, YAMLReadOptions opt, NSError **error) { + + id root = nil; + id *objects = nil; + + // Mutability options + Class arrayClass = [NSArray class]; + Class dictionaryClass = [NSDictionary class]; + Class stringClass = [NSString class]; + if (opt & kYAMLReadOptionMutableContainers) { + arrayClass = [NSMutableArray class]; + dictionaryClass = [NSMutableDictionary class]; + if (opt & kYAMLReadOptionMutableContainersAndLeaves) { + stringClass = [NSMutableString class]; + } + } + + if (opt & kYAMLReadOptionStringScalars) { + // Supported + } else { + YAML_SET_ERROR(kYAMLErrorInvalidOptions, @"Currently only kYAMLReadOptionStringScalars is supported", @"Serialize with kYAMLReadOptionStringScalars option"); + return nil; + } + + yaml_node_t *node; + yaml_node_item_t *item; + yaml_node_pair_t *pair; + + int i = 0; + + objects = (id *)malloc(sizeof(id) * (document->nodes.top - document->nodes.start)); + if (!objects) { + YAML_SET_ERROR(kYAMLErrorCodeOutOfMemory, @"Couldn't allocate memory", @"Please try to free memory and retry"); + return nil; + } + + // Create all objects, don't fill containers yet... + for (node = document->nodes.start, i = 0; node < document->nodes.top; node++, i++) { + switch (node->type) { + case YAML_SCALAR_NODE: + objects[i] = [[stringClass alloc] initWithUTF8String: (const char *)node->data.scalar.value]; + if (!root) root = objects[i]; + break; + + case YAML_SEQUENCE_NODE: + objects[i] = [[NSMutableArray alloc] initWithCapacity: node->data.sequence.items.top - node->data.sequence.items.start]; + if (!root) root = objects[i]; + break; + + case YAML_MAPPING_NODE: + objects[i] = [[NSMutableDictionary alloc] initWithCapacity: node->data.mapping.pairs.top - node->data.mapping.pairs.start]; + if (!root) root = objects[i]; + break; + } + } + + // Fill in containers + for (node = document->nodes.start, i = 0; node < document->nodes.top; node++, i++) { + switch (node->type) { + case YAML_SEQUENCE_NODE: + for (item = node->data.sequence.items.start; item < node->data.sequence.items.top; item++) + [objects[i] addObject: objects[*item - 1]]; + break; + + case YAML_MAPPING_NODE: + for (pair = node->data.mapping.pairs.start; pair < node->data.mapping.pairs.top; pair++) + [objects[i] setObject: objects[pair->value - 1] + forKey: objects[pair->key - 1]]; + break; + } + } + + // Retain the root object + if (root) + [root retain]; + + // Release all objects. The root object and all referenced (in containers) objects + // will have retain count > 0 + for (node = document->nodes.start, i = 0; node < document->nodes.top; node++, i++) + [objects[i] release]; + + if (objects) + free(objects); + + return root; +} + +#pragma mark YAMLSerialization Implementation + +@implementation YAMLSerialization + ++ (NSMutableArray *) YAMLWithStream: (NSInputStream *) stream + options: (YAMLReadOptions) opt + error: (NSError **) error +{ + NSMutableArray *documents = [NSMutableArray array]; + id documentObject = nil; + + yaml_parser_t parser; + yaml_document_t document; + BOOL done = NO; + + // Open input stream + [stream open]; + + if (!yaml_parser_initialize(&parser)) { + YAML_SET_ERROR(kYAMLErrorCodeParserInitializationFailed, @"Error in yaml_parser_initialize(&parser)", @"Internal error, please let us know about this error"); + return nil; + } + + yaml_parser_set_input(&parser, YAMLSerializationReadHandler, (void *)stream); + + while (!done) { + + if (!yaml_parser_load(&parser, &document)) { + YAML_SET_ERROR(kYAMLErrorCodeParseError, @"Parse error", @"Make sure YAML file is well formed"); + return nil; + } + + done = !yaml_document_get_root_node(&document); + + if (!done) { + documentObject = YAMLSerializationWithDocument(&document, opt, error); + if (error) { + yaml_document_delete(&document); + } else { + [documents addObject: documentObject]; + [documentObject release]; + } + } + + // TODO: Check if aliases to previous documents are allowed by the specs + yaml_document_delete(&document); + } + + yaml_parser_delete(&parser); + return documents; +} + ++ (NSMutableArray *) YAMLWithData: (NSData *) data + options: (YAMLReadOptions) opt + error: (NSError **) error; +{ + if (data) { + NSInputStream *inputStream = [NSInputStream inputStreamWithData:data]; + NSMutableArray *documents = [self YAMLWithStream: inputStream options: opt error: error]; + return documents; + } + else { + return nil; + } +} + ++ (void) writeYAML: (id) yaml + toStream: (NSOutputStream *) stream + options: (YAMLWriteOptions) opt + error: (NSError **) error +{ + yaml_emitter_t emitter; + if (!yaml_emitter_initialize(&emitter)) { + YAML_SET_ERROR(kYAMLErrorCodeEmitterError, @"Error in yaml_emitter_initialize(&emitter)", @"Internal error, please let us know about this error"); + return; + } + + yaml_emitter_set_encoding(&emitter, YAML_UTF8_ENCODING); + yaml_emitter_set_output(&emitter, YAMLSerializationWriteHandler, (void *)stream); + + // Open output stream + [stream open]; + + if (kYAMLWriteOptionMultipleDocuments & opt) { + //yaml is an array of documents + for(id documentObject in yaml) { + yaml_document_t *document = YAMLSerializationToDocument(documentObject, opt, error); + if (!document) { + YAML_SET_ERROR(kYAMLErrorInvalidYamlObject, @"Failed to de-serialize document at index %d", @"Document root can be either NSArray or NSDictionary"); + + yaml_emitter_delete(&emitter); + [stream close]; + return; + } + + yaml_emitter_dump(&emitter, document); + } + } + else { + //yaml is a single document + yaml_document_t *document = YAMLSerializationToDocument(yaml, opt, error); + if (!document) { + yaml_emitter_delete(&emitter); + [stream close]; + return; + } + + yaml_emitter_dump(&emitter, document); + } + + [stream close]; + yaml_emitter_delete(&emitter); +} + ++ (NSData *) dataFromYAML:(id)yaml options:(YAMLWriteOptions) opt error:(NSError **) error +{ + NSMutableString *data = [NSMutableString string]; + + yaml_emitter_t emitter; + if (!yaml_emitter_initialize(&emitter)) { + YAML_SET_ERROR(kYAMLErrorCodeEmitterError, @"Error in yaml_emitter_initialize(&emitter)", @"Internal error, please let us know about this error"); + return nil; + } + + yaml_emitter_set_encoding(&emitter, YAML_UTF8_ENCODING); + yaml_emitter_set_output(&emitter, YAMLSerializationDataHandler, (void *)data); + + if (kYAMLWriteOptionMultipleDocuments & opt) { + //yaml is an array of documents + for(id documentObject in yaml) { + yaml_document_t *document = YAMLSerializationToDocument(documentObject, opt, error); + if (!document) { + YAML_SET_ERROR(kYAMLErrorInvalidYamlObject, @"Failed to de-serialize document at index %d", @"Document root can be either NSArray or NSDictionary"); + + yaml_emitter_delete(&emitter); + return nil; + } + + yaml_emitter_dump(&emitter, document); + } + } + else { + //yaml is a single document + yaml_document_t *document = YAMLSerializationToDocument(yaml, opt, error); + if (!document) { + yaml_emitter_delete(&emitter); + + return nil; + } + + yaml_emitter_dump(&emitter, document); + } + + yaml_emitter_delete(&emitter); + return [data dataUsingEncoding:NSUnicodeStringEncoding]; +} + +@end diff --git a/libs/YAML.framework/YAML_Prefix.pch b/libs/YAML.framework/YAML_Prefix.pch new file mode 100644 index 0000000..cfd1538 --- /dev/null +++ b/libs/YAML.framework/YAML_Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'YAML' target in the 'YAML' project. +// + +#ifdef __OBJC__ + #import +#endif diff --git a/libs/YAML.framework/test/bigboy.rb b/libs/YAML.framework/test/bigboy.rb new file mode 100644 index 0000000..75188ca --- /dev/null +++ b/libs/YAML.framework/test/bigboy.rb @@ -0,0 +1,22 @@ +# Generate large YAML file +# +# Usage: +# +# ruby bigboy.rb > yaml/bigboy.yaml +# + +lorem = "lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod " \ + "tempor incididunt ut labore et dolore magna aliqua ut enim minim veniam " \ + "quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo " \ + "consequat duis aute irure dolor in reprehenderit in voluptate velit esse " \ + "cillum dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat " \ + "non proident sunte culpa qui officia deserunt".split + +# 2000 ~ 10MB +(3 * 2000).times do |i| + puts "- foo: bar" + puts "- #{lorem.shuffle.first}: #{lorem.shuffle.join(' ')}" + lorem.shuffle[0..10].each do |k| + puts " #{k}: #{lorem.shuffle.join(' ')}" + end +end diff --git a/libs/YAML.framework/test/events.c b/libs/YAML.framework/test/events.c new file mode 100644 index 0000000..2394ef3 --- /dev/null +++ b/libs/YAML.framework/test/events.c @@ -0,0 +1,118 @@ +// +// events.c +// YAML Serialization support by Mirek Rusin based on C library LibYAML by Kirill Simonov +// +// Copyright 2010 Mirek Rusin, Released under MIT License +// + +//#import +//#import "YAMLSerialization.h" + +#include +#include +#include "yaml.h" + +#ifdef NDEBUG +#undef NDEBUG +#endif +#include + +#define PRINT_INDENT() for (int i = 0; i < indent; i++) printf(" ") + + +int +main(int argc, char *argv[]) +{ + int number; + + if (argc < 2) { + printf("Usage: %s file1.yaml ...\n", argv[0]); + return 0; + } + + for (number = 1; number < argc; number ++) + { + FILE *file; + yaml_parser_t parser; + yaml_event_t event; + int done = 0; + int count = 0; + int error = 0; + + printf("[%d] Parsing '%s': \n", number, argv[number]); + fflush(stdout); + + file = fopen(argv[number], "rb"); + assert(file); + + assert(yaml_parser_initialize(&parser)); + + yaml_parser_set_input_file(&parser, file); + + int indent = 0; + + while (!done) + { + if (!yaml_parser_parse(&parser, &event)) { + error = 1; + break; + } + + switch (event.type) { + case YAML_NO_EVENT: + break; + case YAML_STREAM_START_EVENT: + break; + case YAML_STREAM_END_EVENT: + break; + case YAML_DOCUMENT_START_EVENT: + printf("%%YAML 1.2\n---\n"); + break; + case YAML_DOCUMENT_END_EVENT: + break; + case YAML_ALIAS_EVENT: + PRINT_INDENT(); + printf("*%s\n", event.data.alias.anchor); + break; + case YAML_SCALAR_EVENT: + PRINT_INDENT(); + if (event.data.scalar.anchor) + printf("&%s ", event.data.scalar.anchor); + printf("!!str \"%s\"\n", event.data.scalar.value); + break; + case YAML_SEQUENCE_START_EVENT: + printf("seq,s\t\n"); + indent++; + break; + case YAML_SEQUENCE_END_EVENT: + indent--; + printf("seq,e\t\n"); + break; + case YAML_MAPPING_START_EVENT: + printf("!!map {\n"); + indent++; + break; + case YAML_MAPPING_END_EVENT: + indent--; + printf("}\n"); + break; + default: + printf("unkn\t\n"); + break; + } + done = (event.type == YAML_STREAM_END_EVENT); + + yaml_event_delete(&event); + + count ++; + } + + yaml_parser_delete(&parser); + + assert(!fclose(file)); + + printf("%s (%d events)\n", (error ? "FAILURE" : "SUCCESS"), count); + } + + return 0; +} diff --git a/libs/YAML.framework/test/fetch.rb b/libs/YAML.framework/test/fetch.rb new file mode 100644 index 0000000..f1a17b1 --- /dev/null +++ b/libs/YAML.framework/test/fetch.rb @@ -0,0 +1,16 @@ +# Dump example files from http://www.yaml.org/spec/1.2/spec.html +require 'rubygems' +require 'open-uri' +require 'hpricot' + +doc = open("http://www.yaml.org/spec/1.2/spec.html") { |f| Hpricot(f) } + +doc.search("//div[@class='example']").each do |example| + title = example.at("//p[@class='title']/b").to_plain_text + yaml = example.at("//*[@class='database']").to_plain_text.to_s.gsub(/\267/, ' ').gsub(/↓/, '') + filename = "spec12-#{title.downcase.gsub(/[^a-zA-Z0-9]/, '-').gsub(/-+/, '-').gsub(/-+$/, '')}.yaml" + puts filename + f = open("yaml/#{filename}", 'w') + f.write(yaml) + f.close +end diff --git a/libs/YAML.framework/test/spec12examples.m b/libs/YAML.framework/test/spec12examples.m new file mode 100644 index 0000000..80be715 --- /dev/null +++ b/libs/YAML.framework/test/spec12examples.m @@ -0,0 +1,31 @@ +// +// spec12examples.m +// Load all examples from http://www.yaml.org/spec/1.2/spec.html +// +// Copyright 2010 Mirek Rusin, Released under MIT License +// + +#import +#import "YAMLSerialization.h" + +int main() { + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSString *prefix = @"spec12-example"; + for (NSString *path in [[NSFileManager defaultManager] contentsOfDirectoryAtPath: @"yaml" error: nil]) { + if ([path compare: prefix options: NSCaseInsensitiveSearch range: NSMakeRange(0, prefix.length)] == NSOrderedSame) { + + NSInputStream *stream = [[NSInputStream alloc] initWithFileAtPath: [@"yaml" stringByAppendingPathComponent: path]]; + NSMutableArray *yaml = [YAMLSerialization YAMLWithStream: stream + options: kYAMLReadOptionStringScalars + error: nil]; + + // NSStringFromClass([[yaml objectAtIndex: 0] class]).UTF8String + printf("Found %i docs in %s\n", (int)yaml.count, path.UTF8String); + } + } + + [pool drain]; + + return 0; +} \ No newline at end of file diff --git a/libs/YAML.framework/test/test.m b/libs/YAML.framework/test/test.m new file mode 100644 index 0000000..ac5a985 --- /dev/null +++ b/libs/YAML.framework/test/test.m @@ -0,0 +1,54 @@ +// +// test.m +// YAML Serialization support by Mirek Rusin based on C library LibYAML by Kirill Simonov +// +// Copyright 2010 Mirek Rusin, Released under MIT License +// + +#import +#import "YAMLSerialization.h" + +int main() { + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSLog(@"reading test file... "); + NSData *data = [NSData dataWithContentsOfFile: @"yaml/basic.yaml"]; + NSInputStream *stream = [[NSInputStream alloc] initWithFileAtPath: @"yaml/basic.yaml"]; + NSLog(@"done."); + + NSTimeInterval before = [[NSDate date] timeIntervalSince1970]; + NSMutableArray *yaml = [YAMLSerialization YAMLWithData: data options: kYAMLReadOptionStringScalars error: nil]; + NSLog(@"YAMLWithData took %f", ([[NSDate date] timeIntervalSince1970] - before)); + NSLog(@"%@", yaml); + + NSTimeInterval before2 = [[NSDate date] timeIntervalSince1970]; + NSMutableArray *yaml2 = [YAMLSerialization YAMLWithStream: stream options: kYAMLReadOptionStringScalars error: nil]; + NSLog(@"YAMLWithStream took %f", ([[NSDate date] timeIntervalSince1970] - before2)); + NSLog(@"%@", yaml2); + + NSError *err = nil; + NSTimeInterval before3 = [[NSDate date] timeIntervalSince1970]; + NSOutputStream *outStream = [NSOutputStream outputStreamToMemory]; + [YAMLSerialization writeYAML:yaml toStream:outStream options:kYAMLWriteOptionMultipleDocuments error:&err]; + if (err) { + NSLog(@"Error: %@", err); + [pool release]; + return -1; + } + NSLog(@"writeYAML took %f", ([[NSDate date] timeIntervalSince1970] - before3)); + NSLog(@"out stream %@", outStream); + + NSTimeInterval before4 = [[NSDate date] timeIntervalSince1970]; + NSData *outData = [YAMLSerialization dataFromYAML:yaml2 options:kYAMLWriteOptionMultipleDocuments error:&err]; + if (!outData) { + NSLog(@"Data is nil!"); + [pool release]; + return -1; + } + NSLog(@"dataFromYAML took %f", ([[NSDate date] timeIntervalSince1970] - before4)); + NSLog(@"out data %@", outData); + + [pool release]; + + return 0; +} \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/basic.yaml b/libs/YAML.framework/test/yaml/basic.yaml new file mode 100644 index 0000000..8c9d60e --- /dev/null +++ b/libs/YAML.framework/test/yaml/basic.yaml @@ -0,0 +1,252 @@ +# http://yaml.kwiki.org/index.cgi?YtsBasicTests + +--- +type: meta +brief: | + These are the basic set of tests. +default-type: load-expect +perl: fails +python: fails +ruby: fails + +--- +name: Simple Sequence +brief: | + You can specify a list in YAML by placing each + member of the list on a new line with an opening + dash. These lists are called sequences. +yaml: | + - apple + - banana + - carrot +perl: | + ['apple', 'banana', 'carrot'] +python: | + [ + ['apple', 'banana', 'carrot'] + ] +ruby: | + ['apple', 'banana', 'carrot'] + +--- +name: Nested Sequences +brief: | + You can include a sequence within another + sequence by giving the sequence an empty + dash, followed by an indented list. +yaml: | + - + - foo + - bar + - baz +perl: | + [['foo', 'bar', 'baz']] +python: | + [ + [['foo', 'bar', 'baz']] + ] +ruby: | + [['foo', 'bar', 'baz']] + +--- +name: Mixed Sequences +brief: | + Sequences can contain any YAML data, + including strings and other sequences. +yaml: | + - apple + - + - foo + - bar + - x123 + - banana + - carrot +perl: | + ['apple', ['foo', 'bar', 'x123'], 'banana', 'carrot'] +python: | + [ + ['apple', ['foo', 'bar', 'x123'], 'banana', 'carrot'] + ] +ruby: | + ['apple', ['foo', 'bar', 'x123'], 'banana', 'carrot'] + +--- +name: Deeply Nested Sequences +brief: | + Sequences can be nested even deeper, with each + level of indentation representing a level of + depth. +yaml: | + - + - + - uno + - dos +perl: | + [[['uno', 'dos']]] +python: | + [ + [[['uno', 'dos']]] + ] +ruby: | + [[['uno', 'dos']]] + +--- +name: Simple Mapping +brief: | + You can add a keyed list (also known as a dictionary or + hash) to your document by placing each member of the + list on a new line, with a colon seperating the key + from its value. In YAML, this type of list is called + a mapping. +yaml: | + foo: whatever + bar: stuff +perl: | + { foo => 'whatever', bar => 'stuff' } +python: | + [ + {'foo': 'whatever', 'bar': 'stuff'} + ] +ruby: | + { 'foo' => 'whatever', 'bar' => 'stuff' } + +--- +name: Sequence in a Mapping +brief: | + A value in a mapping can be a sequence. +yaml: | + foo: whatever + bar: + - uno + - dos +perl: | + { foo => 'whatever', bar => [ 'uno', 'dos' ] } +python: | + [ + {'foo': 'whatever', 'bar': ['uno', 'dos']} + ] +ruby: | + { 'foo' => 'whatever', 'bar' => [ 'uno', 'dos' ] } + +--- +name: Nested Mappings +brief: | + A value in a mapping can be another mapping. +yaml: | + foo: whatever + bar: + fruit: apple + name: steve + sport: baseball +perl: | + { foo => 'whatever', + bar => { + fruit => 'apple', + name => 'steve', + sport => 'baseball' + } + } +python: | + [ + {'foo': 'whatever', + 'bar': { + 'fruit': 'apple', + 'name': 'steve', + 'sport': 'baseball' + } + } + ] +ruby: | + { 'foo' => 'whatever', + 'bar' => { + 'fruit' => 'apple', + 'name' => 'steve', + 'sport' => 'baseball' + } + } + +--- +name: Mixed Mapping +brief: | + A mapping can contain any assortment + of mappings and sequences as values. +yaml: | + foo: whatever + bar: + - + fruit: apple + name: steve + sport: baseball + - more + - + python: rocks + perl: papers + ruby: scissorses +perl: | + { foo => 'whatever', + bar => [ + { + fruit => 'apple', + name => 'steve', + sport => 'baseball' + }, + 'more', + { + python => 'rocks', + perl => 'papers', + ruby => 'scissorses' + } + ] + } +python: | + [ + {'foo': 'whatever', + 'bar': [ + { + 'fruit': 'apple', + 'name': 'steve', + 'sport': 'baseball' + }, + 'more', + { + 'python': 'rocks', + 'perl': 'papers', + 'ruby': 'scissorses' + } + ] + } + ] +ruby: | + { 'foo' => 'whatever', + 'bar' => [ + { + 'fruit' => 'apple', + 'name' => 'steve', + 'sport' => 'baseball' + }, + 'more', + { + 'python' => 'rocks', + 'perl' => 'papers', + 'ruby' => 'scissorses' + } + ] + } + +--- +name: Sequence-Mapping Shortcut +brief: | + If you are adding a mapping to a sequence, you + can place the mapping on the same line as the + dash as a shortcut. +yaml: | + - work on YAML.py: + - work on Store +perl: | + [ { 'work on YAML.py' => ['work on Store'] } ] +python: | + [ + [ {'work on YAML.py': ['work on Store']} ] + ] +ruby: | + [ { 'work on YAML.py' => ['work on Store'] } ] diff --git a/libs/YAML.framework/test/yaml/items.yaml b/libs/YAML.framework/test/yaml/items.yaml new file mode 100644 index 0000000..faa759a --- /dev/null +++ b/libs/YAML.framework/test/yaml/items.yaml @@ -0,0 +1,3 @@ +items: + - name: Foo + - name: Bar diff --git a/libs/YAML.framework/test/yaml/map-in-seq.yaml b/libs/YAML.framework/test/yaml/map-in-seq.yaml new file mode 100644 index 0000000..393adf1 --- /dev/null +++ b/libs/YAML.framework/test/yaml/map-in-seq.yaml @@ -0,0 +1,51 @@ +# http://yaml.kwiki.org/index.cgi?YtsMapInSeq + +--- +type: meta +description: | +Test the shorthand mapping-in-sequence syntax. +default-type: load-expect +perl: fail +ruby: 0.40 +python: skip + +# The tests themselves come below. One per YAML document. +--- +name: Single key +type: load-expect +brief: | +Test maps with just one key. +yaml: | +--- +- foo: bar +- baz: bug +perl: | +[ {foo => 'bar'}, {baz => 'bug'} ] +ruby: | +[ {'foo', 'bar'}, {'baz', 'bug'} ] + +--- +name: Multiple keys +brief: | +Test a map with multiple keys. +yaml: | +--- +- foo: bar +baz: bug +perl: | +[ {foo => 'bar', baz => 'bug'} ] +ruby: | +[ {'foo', 'bar', 'baz', 'bug'} ] + +--- +name: Strange keys +brief: | +Test a map with "line noise" keys. +yaml: | +--- +- "!@#$" : foo +-+!@ : bar +perl: | +[ {'!@#$' => 'foo', '-+!@' => 'bar'} ] +ruby: | +[ {'!@#$', 'foo', '-+!@', 'bar'} ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/map.yaml b/libs/YAML.framework/test/yaml/map.yaml new file mode 100644 index 0000000..2bc31e4 --- /dev/null +++ b/libs/YAML.framework/test/yaml/map.yaml @@ -0,0 +1,2 @@ +foo: bar +bar: foo diff --git a/libs/YAML.framework/test/yaml/mapping.yaml b/libs/YAML.framework/test/yaml/mapping.yaml new file mode 100644 index 0000000..388bc59 --- /dev/null +++ b/libs/YAML.framework/test/yaml/mapping.yaml @@ -0,0 +1,68 @@ +# http://yaml.kwiki.org/index.cgi?YtsBlockMapping + +--- +type: meta +description: | + This is the most basic basic YAML unit. The top level mapping. +default-type: load-expect +perl: fail + +# The tests themselves come below. One per YAML document. +--- +name: One Element Mapping +brief: | + A mapping with one key/value pair +yaml: | + --- + foo: bar +perl: | + {foo => 'bar'} + +--- +name: Multi Element Mapping +brief: | + More than one key/value pair +yaml: | + --- + red: baron + white: walls + blue: berries +perl: | + { + red => 'baron', + white => 'walls', + blue => 'berries', + } + +--- +name: Values aligned +brief: | + Often times human editors of documents will align the values even + though YAML emitters generally don't. +yaml: | + --- + red: baron + white: walls + blue: berries +perl: | + { + red => 'baron', + white => 'walls', + blue => 'berries', + } + +--- +name: Colons aligned +brief: | + Spaces can come before the ': ' key/value separator. +yaml: | + --- + red : baron + white : walls + blue : berries +perl: | + { + red => 'baron', + white => 'walls', + blue => 'berries', + } \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/simple.yaml b/libs/YAML.framework/test/yaml/simple.yaml new file mode 100644 index 0000000..1bc5b5e --- /dev/null +++ b/libs/YAML.framework/test/yaml/simple.yaml @@ -0,0 +1,11 @@ +map_key_1: map_value_1 +map_key_2: + - sequence item 1 + - sequence item 2 + - sequence item 3 +map_key_3: + map_key_3_1: map_value_3_1 +map_key_4: |- + block value + multiline + diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-1-map-examples.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-1-map-examples.yaml new file mode 100644 index 0000000..dafc923 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-1-map-examples.yaml @@ -0,0 +1,6 @@ +Block style: !!map + Clark : Evans + Ingy : döt Net + Oren : Ben-Kiki + +Flow style: !!map { Clark: Evans, Ingy: döt Net, Oren: Ben-Kiki } \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-2-seq-examples.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-2-seq-examples.yaml new file mode 100644 index 0000000..13f29f8 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-2-seq-examples.yaml @@ -0,0 +1,6 @@ +Block style: !!seq +- Clark Evans +- Ingy döt Net +- Oren Ben-Kiki + +Flow style: !!seq [ Clark Evans, Ingy döt Net, Oren Ben-Kiki ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-3-str-examples.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-3-str-examples.yaml new file mode 100644 index 0000000..76c5679 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-3-str-examples.yaml @@ -0,0 +1,4 @@ +Block style: !!str |- + String: just a theory. + +Flow style: !!str "String: just a theory." \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-4-null-examples.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-4-null-examples.yaml new file mode 100644 index 0000000..1d81bed --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-4-null-examples.yaml @@ -0,0 +1,2 @@ +!!null null: value for null key +key with null value: !!null null \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-5-bool-examples.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-5-bool-examples.yaml new file mode 100644 index 0000000..472758b --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-5-bool-examples.yaml @@ -0,0 +1,2 @@ +YAML is a superset of JSON: !!bool true +Pluto is a planet: !!bool false \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-6-int-examples.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-6-int-examples.yaml new file mode 100644 index 0000000..38e9136 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-6-int-examples.yaml @@ -0,0 +1,3 @@ +negative: !!int -12 +zero: !!int 0 +positive: !!int 34 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-7-float-examples.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-7-float-examples.yaml new file mode 100644 index 0000000..fa228c0 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-7-float-examples.yaml @@ -0,0 +1,5 @@ +negative: !!float -1 +zero: !!float 0 +positive: !!float 2.3e4 +infinity: !!float .inf +not a number: !!float .nan \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-8-json-tag-resolution.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-8-json-tag-resolution.yaml new file mode 100644 index 0000000..0cb3e86 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-8-json-tag-resolution.yaml @@ -0,0 +1,5 @@ +A null: null +Booleans: [ true, false ] +Integers: [ 0, -0, 3, -19 ] +Floats: [ 0., -0.0, 12e03, -2E+05 ] +Invalid: [ True, Null, 0o7, 0x3A, +12.3 ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-10-9-core-tag-resolution.yaml b/libs/YAML.framework/test/yaml/spec12-example-10-9-core-tag-resolution.yaml new file mode 100644 index 0000000..182f011 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-10-9-core-tag-resolution.yaml @@ -0,0 +1,7 @@ +A null: null +Also a null: # Empty +Not a null: "" +Booleans: [ true, True, false, FALSE ] +Integers: [ 0, 0o7, 0x3A, -19 ] +Floats: [ 0., -0.0, .5, +12e03, -2E+05 ] +Also floats: [ .inf, -.Inf, +.INF, .NAN ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-1-sequence-of-scalars-ball-players.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-1-sequence-of-scalars-ball-players.yaml new file mode 100644 index 0000000..12519fb --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-1-sequence-of-scalars-ball-players.yaml @@ -0,0 +1,3 @@ +- Mark McGwire +- Sammy Sosa +- Ken Griffey \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yaml new file mode 100644 index 0000000..bf46f75 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yaml @@ -0,0 +1,8 @@ +--- +hr: + - Mark McGwire + # Following node labeled SS + - &SS Sammy Sosa +rbi: + - *SS # Subsequent occurrence + - Ken Griffey \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-11-mapping-between-sequences.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-11-mapping-between-sequences.yaml new file mode 100644 index 0000000..83fabe1 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-11-mapping-between-sequences.yaml @@ -0,0 +1,9 @@ +? - Detroit Tigers + - Chicago cubs +: + - 2001-07-23 + +? [ New York Yankees, + Atlanta Braves ] +: [ 2001-07-02, 2001-08-12, + 2001-08-14 ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-12-compact-nested-mapping.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-12-compact-nested-mapping.yaml new file mode 100644 index 0000000..8a26671 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-12-compact-nested-mapping.yaml @@ -0,0 +1,8 @@ +--- +# Products purchased +- item : Super Hoop + quantity: 1 +- item : Basketball + quantity: 4 +- item : Big Shoes + quantity: 1 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-13-in-literals-newlines-are-preserved.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-13-in-literals-newlines-are-preserved.yaml new file mode 100644 index 0000000..f65d60f --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-13-in-literals-newlines-are-preserved.yaml @@ -0,0 +1,4 @@ +# ASCII Art +--- | + \//||\/|| + // || ||__ \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-14-in-the-folded-scalars-newlines-become-spaces.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-14-in-the-folded-scalars-newlines-become-spaces.yaml new file mode 100644 index 0000000..d2ee703 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-14-in-the-folded-scalars-newlines-become-spaces.yaml @@ -0,0 +1,4 @@ +--- > + Mark McGwire's + year was crippled + by a knee injury. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yaml new file mode 100644 index 0000000..3d29810 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yaml @@ -0,0 +1,8 @@ +> + Sammy Sosa completed another + fine season with great stats. + + 63 Home Runs + 0.288 Batting Average + + What a year! \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-16-indentation-determines-scope.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-16-indentation-determines-scope.yaml new file mode 100644 index 0000000..a33c0a8 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-16-indentation-determines-scope.yaml @@ -0,0 +1,7 @@ +name: Mark McGwire +accomplishment: > + Mark set a major league + home run record in 1998. +stats: | + 65 Home Runs + 0.278 Batting Average \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-17-quoted-scalars.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-17-quoted-scalars.yaml new file mode 100644 index 0000000..a155278 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-17-quoted-scalars.yaml @@ -0,0 +1,7 @@ +unicode: "Sosa did fine.\u263A" +control: "\b1998\t1999\t2000\n" +hex esc: "\x0d\x0a is \r\n" + +single: '"Howdy!" he cried.' +quoted: ' # Not a ''comment''.' +tie-fighter: '|\-*-/|' \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-18-multi-line-flow-scalars.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-18-multi-line-flow-scalars.yaml new file mode 100644 index 0000000..6bb47fe --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-18-multi-line-flow-scalars.yaml @@ -0,0 +1,6 @@ +plain: + This unquoted scalar + spans many lines. + +quoted: "So does this + quoted scalar.\n" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-19-integers.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-19-integers.yaml new file mode 100644 index 0000000..15a6442 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-19-integers.yaml @@ -0,0 +1,4 @@ +canonical: 12345 +decimal: +12345 +octal: 0o14 +hexadecimal: 0xC \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-2-mapping-scalars-to-scalars-player-statistics.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-2-mapping-scalars-to-scalars-player-statistics.yaml new file mode 100644 index 0000000..d56c5d6 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-2-mapping-scalars-to-scalars-player-statistics.yaml @@ -0,0 +1,3 @@ +hr: 65 # Home runs +avg: 0.278 # Batting average +rbi: 147 # Runs Batted In \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-20-floating-point.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-20-floating-point.yaml new file mode 100644 index 0000000..3600215 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-20-floating-point.yaml @@ -0,0 +1,5 @@ +canonical: 1.23015e+3 +exponential: 12.3015e+02 +fixed: 1230.15 +negative infinity: -.inf +not a number: .NaN \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-21-miscellaneous.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-21-miscellaneous.yaml new file mode 100644 index 0000000..d911494 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-21-miscellaneous.yaml @@ -0,0 +1,3 @@ +null: +booleans: [ true, false ] +string: '012345' \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-22-timestamps.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-22-timestamps.yaml new file mode 100644 index 0000000..f3b74b4 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-22-timestamps.yaml @@ -0,0 +1,4 @@ +canonical: 2001-12-15T02:59:43.1Z +iso8601: 2001-12-14t21:59:43.10-05:00 +spaced: 2001-12-14 21:59:43.10 -5 +date: 2002-12-14 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-23-various-explicit-tags.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-23-various-explicit-tags.yaml new file mode 100644 index 0000000..57e61a1 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-23-various-explicit-tags.yaml @@ -0,0 +1,13 @@ +--- +not-date: !!str 2002-04-28 + +picture: !!binary | + R0lGODlhDAAMAIQAAP//9/X + 17unp5WZmZgAAAOfn515eXv + Pz7Y6OjuDg4J+fn5OTk6enp + 56enmleECcgggoBADs= + +application specific tag: !something | + The semantics of the tag + above may be different for + different documents. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-24-global-tags.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-24-global-tags.yaml new file mode 100644 index 0000000..a1a0a49 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-24-global-tags.yaml @@ -0,0 +1,14 @@ +%TAG ! tag:clarkevans.com,2002: +--- !shape + # Use the ! handle for presenting + # tag:clarkevans.com,2002:circle +- !circle + center: &ORIGIN {x: 73, y: 129} + radius: 7 +- !line + start: *ORIGIN + finish: { x: 89, y: 102 } +- !label + start: *ORIGIN + color: 0xFFEEBB + text: Pretty vector drawing. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-25-unordered-sets.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-25-unordered-sets.yaml new file mode 100644 index 0000000..4b59314 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-25-unordered-sets.yaml @@ -0,0 +1,7 @@ +# Sets are represented as a +# Mapping where each key is +# associated with a null value +--- !!set +? Mark McGwire +? Sammy Sosa +? Ken Griff \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-26-ordered-mappings.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-26-ordered-mappings.yaml new file mode 100644 index 0000000..0de36f9 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-26-ordered-mappings.yaml @@ -0,0 +1,7 @@ +# Ordered maps are represented as +# A sequence of mappings, with +# each mapping having one key +--- !!omap +- Mark McGwire: 65 +- Sammy Sosa: 63 +- Ken Griffy: 58 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-27-invoice.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-27-invoice.yaml new file mode 100644 index 0000000..82c69d6 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-27-invoice.yaml @@ -0,0 +1,29 @@ +--- ! +invoice: 34843 +date : 2001-01-23 +bill-to: &id001 + given : Chris + family : Dumars + address: + lines: | + 458 Walkman Dr. + Suite #292 + city : Royal Oak + state : MI + postal : 48046 +ship-to: *id001 +product: + - sku : BL394D + quantity : 4 + description : Basketball + price : 450.00 + - sku : BL4438H + quantity : 1 + description : Super Hoop + price : 2392.00 +tax : 251.42 +total: 4443.52 +comments: + Late afternoon is best. + Backup contact is Nancy + Billsmer @ 338-4338. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-28-log-file.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-28-log-file.yaml new file mode 100644 index 0000000..e40f328 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-28-log-file.yaml @@ -0,0 +1,26 @@ +--- +Time: 2001-11-23 15:01:42 -5 +User: ed +Warning: + This is an error message + for the log file +--- +Time: 2001-11-23 15:02:31 -5 +User: ed +Warning: + A slightly different error + message. +--- +Date: 2001-11-23 15:03:17 -5 +User: ed +Fatal: + Unknown variable "bar" +Stack: + - file: TopClass.py + line: 23 + code: | + x = MoreObject("345\n") + - file: MoreClass.py + line: 58 + code: |- + foo = bar \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-3-mapping-scalars-to-sequences-ball-clubs-in-each-league.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-3-mapping-scalars-to-sequences-ball-clubs-in-each-league.yaml new file mode 100644 index 0000000..2c884b7 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-3-mapping-scalars-to-sequences-ball-clubs-in-each-league.yaml @@ -0,0 +1,8 @@ +american: + - Boston Red Sox + - Detroit Tigers + - New York Yankees +national: + - New York Mets + - Chicago Cubs + - Atlanta Braves \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-4-sequence-of-mappings-players-statistics.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-4-sequence-of-mappings-players-statistics.yaml new file mode 100644 index 0000000..e60d8a9 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-4-sequence-of-mappings-players-statistics.yaml @@ -0,0 +1,8 @@ +- + name: Mark McGwire + hr: 65 + avg: 0.278 +- + name: Sammy Sosa + hr: 63 + avg: 0.288 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-5-sequence-of-sequences.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-5-sequence-of-sequences.yaml new file mode 100644 index 0000000..8c5b805 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-5-sequence-of-sequences.yaml @@ -0,0 +1,3 @@ +- [name , hr, avg ] +- [Mark McGwire, 65, 0.278] +- [Sammy Sosa , 63, 0.288] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-6-mapping-of-mappings.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-6-mapping-of-mappings.yaml new file mode 100644 index 0000000..cc9e279 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-6-mapping-of-mappings.yaml @@ -0,0 +1,5 @@ +Mark McGwire: {hr: 65, avg: 0.278} +Sammy Sosa: { + hr: 63, + avg: 0.288 + } \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-7-two-documents-in-a-stream-each-with-a-leading-comment.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-7-two-documents-in-a-stream-each-with-a-leading-comment.yaml new file mode 100644 index 0000000..b93cbf3 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-7-two-documents-in-a-stream-each-with-a-leading-comment.yaml @@ -0,0 +1,10 @@ +# Ranking of 1998 home runs +--- +- Mark McGwire +- Sammy Sosa +- Ken Griffey + +# Team ranking +--- +- Chicago Cubs +- St Louis Cardinals \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-8-play-by-play-feed-from-a-game.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-8-play-by-play-feed-from-a-game.yaml new file mode 100644 index 0000000..7dd0cf7 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-8-play-by-play-feed-from-a-game.yaml @@ -0,0 +1,10 @@ +--- +time: 20:03:20 +player: Sammy Sosa +action: strike (miss) +... +--- +time: 20:03:47 +player: Sammy Sosa +action: grand slam +... \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-2-9-single-document-with-two-comments.yaml b/libs/YAML.framework/test/yaml/spec12-example-2-9-single-document-with-two-comments.yaml new file mode 100644 index 0000000..a3ef726 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-2-9-single-document-with-two-comments.yaml @@ -0,0 +1,8 @@ +--- +hr: # 1998 hr ranking + - Mark McGwire + - Sammy Sosa +rbi: + # 1998 rbi ranking + - Sammy Sosa + - Ken Griffey \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-1-byte-order-mark.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-1-byte-order-mark.yaml new file mode 100644 index 0000000..c83dfee --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-1-byte-order-mark.yaml @@ -0,0 +1 @@ +⇔# Comment only. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-10-invalid-use-of-reserved-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-10-invalid-use-of-reserved-indicators.yaml new file mode 100644 index 0000000..1312300 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-10-invalid-use-of-reserved-indicators.yaml @@ -0,0 +1,2 @@ +commercial-at: @text +grave-accent: `text \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-11-line-break-characters.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-11-line-break-characters.yaml new file mode 100644 index 0000000..970ae01 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-11-line-break-characters.yaml @@ -0,0 +1,3 @@ +| + Line break (no glyph) + Line break (glyphed) \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-12-tabs-and-spaces.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-12-tabs-and-spaces.yaml new file mode 100644 index 0000000..c908424 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-12-tabs-and-spaces.yaml @@ -0,0 +1,6 @@ +# Tabs and spaces +quoted: "Quoted →" +block:→| + void main() { + →printf("Hello, world!\n"); + } \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-13-escaped-characters.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-13-escaped-characters.yaml new file mode 100644 index 0000000..dd7a708 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-13-escaped-characters.yaml @@ -0,0 +1,5 @@ +"Fun with \\ +\" \a \b \e \f \ +\n \r \t \v \0 \ +\  \_ \N \L \P \ +\x41 \u0041 \U00000041" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-14-invalid-escaped-characters.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-14-invalid-escaped-characters.yaml new file mode 100644 index 0000000..f93338d --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-14-invalid-escaped-characters.yaml @@ -0,0 +1,3 @@ +Bad escapes: + "\c + \xq-" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-2-invalid-byte-order-mark.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-2-invalid-byte-order-mark.yaml new file mode 100644 index 0000000..8f96600 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-2-invalid-byte-order-mark.yaml @@ -0,0 +1,3 @@ +- Invalid use of BOM +⇔ +- Inside a document. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-3-block-structure-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-3-block-structure-indicators.yaml new file mode 100644 index 0000000..5a4be87 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-3-block-structure-indicators.yaml @@ -0,0 +1,7 @@ +sequence: +- one +- two +mapping: + ? sky + : blue + sea : green \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-4-flow-collection-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-4-flow-collection-indicators.yaml new file mode 100644 index 0000000..39ab5d7 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-4-flow-collection-indicators.yaml @@ -0,0 +1,2 @@ +sequence: [ one, two, ] +mapping: { sky: blue, sea: green } \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-5-comment-indicator.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-5-comment-indicator.yaml new file mode 100644 index 0000000..37af8e9 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-5-comment-indicator.yaml @@ -0,0 +1 @@ +# Comment only. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-6-node-property-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-6-node-property-indicators.yaml new file mode 100644 index 0000000..734b419 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-6-node-property-indicators.yaml @@ -0,0 +1,2 @@ +anchored: !local &anchor value +alias: *anchor \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-7-block-scalar-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-7-block-scalar-indicators.yaml new file mode 100644 index 0000000..1448c11 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-7-block-scalar-indicators.yaml @@ -0,0 +1,6 @@ +literal: | + some + text +folded: > + some + text \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-8-quoted-scalar-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-8-quoted-scalar-indicators.yaml new file mode 100644 index 0000000..6a28b69 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-8-quoted-scalar-indicators.yaml @@ -0,0 +1,2 @@ +single: 'text' +double: "text" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-5-9-directive-indicator.yaml b/libs/YAML.framework/test/yaml/spec12-example-5-9-directive-indicator.yaml new file mode 100644 index 0000000..9847058 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-5-9-directive-indicator.yaml @@ -0,0 +1,2 @@ +%YAML 1.2 +--- text \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-1-indentation-spaces.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-1-indentation-spaces.yaml new file mode 100644 index 0000000..149a069 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-1-indentation-spaces.yaml @@ -0,0 +1,12 @@ + # Leading comment line spaces are + # neither content nor indentation. + +Not indented: + By one space: | + By four + spaces + Flow style: [ # Leading spaces + By two, # in flow style + Also by two, # are neither + →Still by two # content nor + ] # indentation. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-10-comment-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-10-comment-lines.yaml new file mode 100644 index 0000000..b28bcc2 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-10-comment-lines.yaml @@ -0,0 +1,2 @@ + # Comment + diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-11-multi-line-comments.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-11-multi-line-comments.yaml new file mode 100644 index 0000000..5384adb --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-11-multi-line-comments.yaml @@ -0,0 +1,3 @@ +key: # Comment + # lines + value diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-12-separation-spaces.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-12-separation-spaces.yaml new file mode 100644 index 0000000..9f5f10c --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-12-separation-spaces.yaml @@ -0,0 +1,6 @@ +{ first: Sammy, last: Sosa }: +# Statistics: + hr: # Home runs + 65 + avg: # Average + 0.278 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-13-reserved-directives.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-13-reserved-directives.yaml new file mode 100644 index 0000000..10d0eb2 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-13-reserved-directives.yaml @@ -0,0 +1,3 @@ +%FOO bar baz # Should be ignored + # with a warning. +--- "foo" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-14-yaml-directive.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-14-yaml-directive.yaml new file mode 100644 index 0000000..bd86e29 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-14-yaml-directive.yaml @@ -0,0 +1,4 @@ +%YAML 1.3 # Attempt parsing + # with a warning +--- +"foo" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-15-invalid-repeated-yaml-directive.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-15-invalid-repeated-yaml-directive.yaml new file mode 100644 index 0000000..b6a6edc --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-15-invalid-repeated-yaml-directive.yaml @@ -0,0 +1,3 @@ +%YAML 1.2 +%YAML 1.1 +foo \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-16-tag-directive.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-16-tag-directive.yaml new file mode 100644 index 0000000..166bae7 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-16-tag-directive.yaml @@ -0,0 +1,3 @@ +%TAG !yaml! tag:yaml.org,2002: +--- +!yaml!str "foo" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-17-invalid-repeated-tag-directive.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-17-invalid-repeated-tag-directive.yaml new file mode 100644 index 0000000..b12ec3e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-17-invalid-repeated-tag-directive.yaml @@ -0,0 +1,3 @@ +%TAG ! !foo +%TAG ! !foo +bar \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-18-primary-tag-handle.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-18-primary-tag-handle.yaml new file mode 100644 index 0000000..826e386 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-18-primary-tag-handle.yaml @@ -0,0 +1,7 @@ +# Private +!foo "bar" +... +# Global +%TAG ! tag:example.com,2000:app/ +--- +!foo "bar" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-19-secondary-tag-handle.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-19-secondary-tag-handle.yaml new file mode 100644 index 0000000..7f14c22 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-19-secondary-tag-handle.yaml @@ -0,0 +1,3 @@ +%TAG !! tag:example.com,2000:app/ +--- +!!int 1 - 3 # Interval, not integer \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-2-indentation-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-2-indentation-indicators.yaml new file mode 100644 index 0000000..30cb710 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-2-indentation-indicators.yaml @@ -0,0 +1,4 @@ +? a +: -→b + - -→c + - d \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-20-tag-handles.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-20-tag-handles.yaml new file mode 100644 index 0000000..20e3b99 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-20-tag-handles.yaml @@ -0,0 +1,3 @@ +%TAG !e! tag:example.com,2000:app/ +--- +!e!foo "bar" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-21-local-tag-prefix.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-21-local-tag-prefix.yaml new file mode 100644 index 0000000..3b4ab1c --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-21-local-tag-prefix.yaml @@ -0,0 +1,7 @@ +%TAG !m! !my- +--- # Bulb here +!m!light fluorescent +... +%TAG !m! !my- +--- # Color here +!m!light green \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-22-global-tag-prefix.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-22-global-tag-prefix.yaml new file mode 100644 index 0000000..f426d6c --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-22-global-tag-prefix.yaml @@ -0,0 +1,3 @@ +%TAG !e! tag:example.com,2000:app/ +--- +- !e!foo "bar" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-23-node-properties.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-23-node-properties.yaml new file mode 100644 index 0000000..bd41d09 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-23-node-properties.yaml @@ -0,0 +1,3 @@ +!!str &a1 "foo": + !!str bar +&a2 baz : *a1 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-24-verbatim-tags.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-24-verbatim-tags.yaml new file mode 100644 index 0000000..9e2afa4 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-24-verbatim-tags.yaml @@ -0,0 +1,2 @@ +! foo : + ! baz \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-25-invalid-verbatim-tags.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-25-invalid-verbatim-tags.yaml new file mode 100644 index 0000000..d94e05b --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-25-invalid-verbatim-tags.yaml @@ -0,0 +1,2 @@ +- ! foo +- !<$:?> bar \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-26-tag-shorthands.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-26-tag-shorthands.yaml new file mode 100644 index 0000000..5f4ef93 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-26-tag-shorthands.yaml @@ -0,0 +1,5 @@ +%TAG !e! tag:example.com,2000:app/ +--- +- !local foo +- !!str bar +- !e!tag%21 baz \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-27-invalid-tag-shorthands.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-27-invalid-tag-shorthands.yaml new file mode 100644 index 0000000..0b10f1e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-27-invalid-tag-shorthands.yaml @@ -0,0 +1,4 @@ +%TAG !e! tag:example,2000:app/ +--- +- !e! foo +- !h!bar baz \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-28-non-specific-tags.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-28-non-specific-tags.yaml new file mode 100644 index 0000000..c57ee05 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-28-non-specific-tags.yaml @@ -0,0 +1,4 @@ +# Assuming conventional resolution: +- "12" +- 12 +- ! 12 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-29-node-anchors.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-29-node-anchors.yaml new file mode 100644 index 0000000..6922b38 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-29-node-anchors.yaml @@ -0,0 +1,2 @@ +First occurrence: &anchor Value +Second occurrence: *anchor \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-3-separation-spaces.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-3-separation-spaces.yaml new file mode 100644 index 0000000..95fa227 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-3-separation-spaces.yaml @@ -0,0 +1,3 @@ +- foo:→ bar +- - baz + -→baz \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-4-line-prefixes.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-4-line-prefixes.yaml new file mode 100644 index 0000000..bb03594 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-4-line-prefixes.yaml @@ -0,0 +1,7 @@ +plain: text + lines +quoted: "text + →lines" +block: | + text + →lines \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-5-empty-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-5-empty-lines.yaml new file mode 100644 index 0000000..41be1db --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-5-empty-lines.yaml @@ -0,0 +1,7 @@ +Folding: + "Empty line + → + as a line feed" +Chomping: | + Clipped empty lines + \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-6-line-folding.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-6-line-folding.yaml new file mode 100644 index 0000000..923493d --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-6-line-folding.yaml @@ -0,0 +1,7 @@ +>- + trimmed + + + + as + space \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-7-block-folding.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-7-block-folding.yaml new file mode 100644 index 0000000..e48d228 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-7-block-folding.yaml @@ -0,0 +1,6 @@ +> + foo + + → bar + + baz \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-8-flow-folding.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-8-flow-folding.yaml new file mode 100644 index 0000000..15bfaed --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-8-flow-folding.yaml @@ -0,0 +1,6 @@ +" + foo + + → bar + + baz" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-6-9-separated-comment.yaml b/libs/YAML.framework/test/yaml/spec12-example-6-9-separated-comment.yaml new file mode 100644 index 0000000..c4862de --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-6-9-separated-comment.yaml @@ -0,0 +1,2 @@ +key: # Comment + valueeof \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-1-alias-nodes.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-1-alias-nodes.yaml new file mode 100644 index 0000000..84bdffc --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-1-alias-nodes.yaml @@ -0,0 +1,4 @@ +First occurrence: &anchor Foo +Second occurrence: *anchor +Override anchor: &anchor Bar +Reuse anchor: *anchor \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-10-plain-characters.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-10-plain-characters.yaml new file mode 100644 index 0000000..42e4af3 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-10-plain-characters.yaml @@ -0,0 +1,12 @@ +# Outside flow collection: +- ::vector +- ": - ()" +- Up, up, and away! +- -123 +- http://example.com/foo#bar +# Inside flow collection: +- [ ::vector, + ": - ()", + "Up, up and away!", + -123, + http://example.com/foo#bar ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-11-plain-implicit-keys.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-11-plain-implicit-keys.yaml new file mode 100644 index 0000000..7cdc73e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-11-plain-implicit-keys.yaml @@ -0,0 +1,3 @@ +implicit block key : [ + implicit flow key : value, + ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-12-plain-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-12-plain-lines.yaml new file mode 100644 index 0000000..d573078 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-12-plain-lines.yaml @@ -0,0 +1,4 @@ +1st non-empty + + 2nd non-empty +→3rd non-empty \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-13-flow-sequence.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-13-flow-sequence.yaml new file mode 100644 index 0000000..e85ddcc --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-13-flow-sequence.yaml @@ -0,0 +1,2 @@ +- [ one, two, ] +- [three ,four] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-14-flow-sequence-entries.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-14-flow-sequence-entries.yaml new file mode 100644 index 0000000..2e258c1 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-14-flow-sequence-entries.yaml @@ -0,0 +1,8 @@ +[ +"double + quoted", 'single + quoted', +plain + text, [ nested ], +single: pair, +] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-15-flow-mappings.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-15-flow-mappings.yaml new file mode 100644 index 0000000..ddfe9c4 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-15-flow-mappings.yaml @@ -0,0 +1,2 @@ +- { one : two , three: four , } +- {five: six,seven : eight} \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-16-flow-mapping-entries.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-16-flow-mapping-entries.yaml new file mode 100644 index 0000000..60250e5 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-16-flow-mapping-entries.yaml @@ -0,0 +1,5 @@ +{ +? explicit: entry, +implicit: entry, +?°° +} \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-17-flow-mapping-separate-values.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-17-flow-mapping-separate-values.yaml new file mode 100644 index 0000000..eccd24a --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-17-flow-mapping-separate-values.yaml @@ -0,0 +1,6 @@ +{ +unquoted : "separate", +http://foo.com, +omitted value:°, +°: omitted key, +} \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-18-flow-mapping-adjacent-values.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-18-flow-mapping-adjacent-values.yaml new file mode 100644 index 0000000..3104a69 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-18-flow-mapping-adjacent-values.yaml @@ -0,0 +1,5 @@ +{ +"adjacent":value, +"readable": value, +"empty":° +} \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-19-single-pair-flow-mappings.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-19-single-pair-flow-mappings.yaml new file mode 100644 index 0000000..d5bd78a --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-19-single-pair-flow-mappings.yaml @@ -0,0 +1,3 @@ +[ +foo: bar +] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-2-empty-content.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-2-empty-content.yaml new file mode 100644 index 0000000..23d3bce --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-2-empty-content.yaml @@ -0,0 +1,4 @@ +{ + foo : !!str°, + !!str° : bar, +} \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-20-single-pair-explicit-entry.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-20-single-pair-explicit-entry.yaml new file mode 100644 index 0000000..3341f13 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-20-single-pair-explicit-entry.yaml @@ -0,0 +1,4 @@ +[ +? foo + bar : baz +] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-21-single-pair-implicit-entries.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-21-single-pair-implicit-entries.yaml new file mode 100644 index 0000000..e57fcfb --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-21-single-pair-implicit-entries.yaml @@ -0,0 +1,3 @@ +- [ YAML : separate ] +- [ °: empty key entry ] +- [ {JSON: like}:adjacent ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-22-invalid-implicit-keys.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-22-invalid-implicit-keys.yaml new file mode 100644 index 0000000..15cb25b --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-22-invalid-implicit-keys.yaml @@ -0,0 +1,3 @@ +[ foo + bar: invalid, + "foo...>1K characters...bar": invalid ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-23-flow-content.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-23-flow-content.yaml new file mode 100644 index 0000000..309592e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-23-flow-content.yaml @@ -0,0 +1,5 @@ +- [ a, b ] +- { a: b } +- "a" +- 'b' +- c \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-24-flow-nodes.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-24-flow-nodes.yaml new file mode 100644 index 0000000..0b26b72 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-24-flow-nodes.yaml @@ -0,0 +1,5 @@ +- !!str "a" +- 'b' +- &anchor "c" +- *anchor +- !!str° \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-3-completely-empty-flow-nodes.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-3-completely-empty-flow-nodes.yaml new file mode 100644 index 0000000..5ffe734 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-3-completely-empty-flow-nodes.yaml @@ -0,0 +1,4 @@ +{ + ? foo :°, + °: bar, +} \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-4-double-quoted-implicit-keys.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-4-double-quoted-implicit-keys.yaml new file mode 100644 index 0000000..04d4fa8 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-4-double-quoted-implicit-keys.yaml @@ -0,0 +1,3 @@ +"implicit block key" : [ + "implicit flow key" : value, + ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-5-double-quoted-line-breaks.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-5-double-quoted-line-breaks.yaml new file mode 100644 index 0000000..19c3fea --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-5-double-quoted-line-breaks.yaml @@ -0,0 +1,5 @@ +"folded +to a space,→ + +to a line feed, or →\ + \ →non-content" \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-6-double-quoted-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-6-double-quoted-lines.yaml new file mode 100644 index 0000000..cc6a77e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-6-double-quoted-lines.yaml @@ -0,0 +1,4 @@ +" 1st non-empty + + 2nd non-empty +→3rd non-empty " \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-7-single-quoted-characters.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-7-single-quoted-characters.yaml new file mode 100644 index 0000000..c4b4ca9 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-7-single-quoted-characters.yaml @@ -0,0 +1 @@ +'here''s to "quotes"' \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-8-single-quoted-implicit-keys.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-8-single-quoted-implicit-keys.yaml new file mode 100644 index 0000000..67228ff --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-8-single-quoted-implicit-keys.yaml @@ -0,0 +1,3 @@ +'implicit block key' : [ + 'implicit flow key' : value, + ] \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-7-9-single-quoted-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-7-9-single-quoted-lines.yaml new file mode 100644 index 0000000..b376e5a --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-7-9-single-quoted-lines.yaml @@ -0,0 +1,4 @@ +' 1st non-empty + + 2nd non-empty +→3rd non-empty ' \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-1-block-scalar-header.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-1-block-scalar-header.yaml new file mode 100644 index 0000000..9d34534 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-1-block-scalar-header.yaml @@ -0,0 +1,9 @@ +- |# Empty header + literal +- >1 # Indentation indicator + folded +- |+ # Chomping indicator + keep + +- >1- # Both indicators + strip \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-10-folded-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-10-folded-lines.yaml new file mode 100644 index 0000000..224cce4 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-10-folded-lines.yaml @@ -0,0 +1,16 @@ +> + + folded + line + + next + line + * bullet + + * list + * lines + + last + line + +# Comment \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-11-more-indented-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-11-more-indented-lines.yaml new file mode 100644 index 0000000..224cce4 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-11-more-indented-lines.yaml @@ -0,0 +1,16 @@ +> + + folded + line + + next + line + * bullet + + * list + * lines + + last + line + +# Comment \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-12-empty-separation-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-12-empty-separation-lines.yaml new file mode 100644 index 0000000..053809f --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-12-empty-separation-lines.yaml @@ -0,0 +1,16 @@ +> + + folded + line + + next + line + * bullet + + * list + * line + + last + line + +# Comment \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-13-final-empty-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-13-final-empty-lines.yaml new file mode 100644 index 0000000..fd7b895 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-13-final-empty-lines.yaml @@ -0,0 +1,15 @@ +> + folded + line + + next + line + * bullet + + * list + * line + + last + line + +# Comment \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-14-block-sequence.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-14-block-sequence.yaml new file mode 100644 index 0000000..98e6124 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-14-block-sequence.yaml @@ -0,0 +1,3 @@ +block sequence: + - one + - two : three \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-15-block-sequence-entry-types.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-15-block-sequence-entry-types.yaml new file mode 100644 index 0000000..ce2c3cf --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-15-block-sequence-entry-types.yaml @@ -0,0 +1,6 @@ +-° # Empty +-| + block node +- - one # Compact + - two # sequence +-one: two # Compact mapping \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-16-block-mappings.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-16-block-mappings.yaml new file mode 100644 index 0000000..fdc2502 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-16-block-mappings.yaml @@ -0,0 +1,2 @@ +block mapping: + key: value \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-17-explicit-block-mapping-entries.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-17-explicit-block-mapping-entries.yaml new file mode 100644 index 0000000..51a299e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-17-explicit-block-mapping-entries.yaml @@ -0,0 +1,5 @@ +? explicit key # Empty value° +? | + block key +: - one # Explicit compact + - two # block value \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-18-implicit-block-mapping-entries.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-18-implicit-block-mapping-entries.yaml new file mode 100644 index 0000000..8e8bbaa --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-18-implicit-block-mapping-entries.yaml @@ -0,0 +1,4 @@ +plain key: in-line value +°:° # Both empty +"quoted key": +- entry \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-19-compact-block-mappings.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-19-compact-block-mappings.yaml new file mode 100644 index 0000000..f3ebebb --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-19-compact-block-mappings.yaml @@ -0,0 +1,3 @@ +- sun: yellow +- ? earth: blue + : moon: white \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-2-block-indentation-indicator.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-2-block-indentation-indicator.yaml new file mode 100644 index 0000000..f28c25c --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-2-block-indentation-indicator.yaml @@ -0,0 +1,11 @@ +- |° + detected +- >° + + + # detected +- |1 + explicit +- >° + → + detected \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-20-block-node-types.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-20-block-node-types.yaml new file mode 100644 index 0000000..3ecbe8e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-20-block-node-types.yaml @@ -0,0 +1,6 @@ +- + "flow in block" +- > + Block scalar +- !!map # Block collection + foo : bar \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-21-block-scalar-nodes.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-21-block-scalar-nodes.yaml new file mode 100644 index 0000000..a77980b --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-21-block-scalar-nodes.yaml @@ -0,0 +1,6 @@ +literal: |2 + value +folded: + !foo + >1 + value \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-22-block-collection-nodes.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-22-block-collection-nodes.yaml new file mode 100644 index 0000000..dabe146 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-22-block-collection-nodes.yaml @@ -0,0 +1,6 @@ +sequence:!!seq +- entry +- !!seq + - nested +mapping:!!map +foo: bar \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-3-invalid-block-scalar-indentation-indicators.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-3-invalid-block-scalar-indentation-indicators.yaml new file mode 100644 index 0000000..181593e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-3-invalid-block-scalar-indentation-indicators.yaml @@ -0,0 +1,8 @@ +- | + + text +- > + text + text +- |2 + text \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-4-chomping-final-line-break.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-4-chomping-final-line-break.yaml new file mode 100644 index 0000000..ffb5eec --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-4-chomping-final-line-break.yaml @@ -0,0 +1,6 @@ +strip: |- + text +clip: | + text +keep: |+ + text \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-5-chomping-trailing-lines.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-5-chomping-trailing-lines.yaml new file mode 100644 index 0000000..aece8b4 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-5-chomping-trailing-lines.yaml @@ -0,0 +1,19 @@ +# Strip + # Comments: +strip: |- + # text + ⇓ + # Clip + # comments: + +clip: | + # text + + # Keep + # comments: + +keep: |+ + # text + + # Trail + # comments. \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-6-empty-scalar-chomping.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-6-empty-scalar-chomping.yaml new file mode 100644 index 0000000..5f73913 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-6-empty-scalar-chomping.yaml @@ -0,0 +1,5 @@ +strip: >- + +clip: > + +keep: |+ diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-7-literal-scalar.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-7-literal-scalar.yaml new file mode 100644 index 0000000..9ffa33b --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-7-literal-scalar.yaml @@ -0,0 +1,3 @@ +| + literal + →text diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-8-literal-content.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-8-literal-content.yaml new file mode 100644 index 0000000..f1e9389 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-8-literal-content.yaml @@ -0,0 +1,9 @@ +| + + + literal + + + text + + # Comment \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-8-9-folded-scalar.yaml b/libs/YAML.framework/test/yaml/spec12-example-8-9-folded-scalar.yaml new file mode 100644 index 0000000..57c6d2e --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-8-9-folded-scalar.yaml @@ -0,0 +1,3 @@ +> + folded + text diff --git a/libs/YAML.framework/test/yaml/spec12-example-9-1-document-prefix.yaml b/libs/YAML.framework/test/yaml/spec12-example-9-1-document-prefix.yaml new file mode 100644 index 0000000..ed66959 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-9-1-document-prefix.yaml @@ -0,0 +1,3 @@ +⇔# Comment +# lines +Document \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-9-2-document-markers.yaml b/libs/YAML.framework/test/yaml/spec12-example-9-2-document-markers.yaml new file mode 100644 index 0000000..bbbc37b --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-9-2-document-markers.yaml @@ -0,0 +1,4 @@ +%YAML 1.2 +--- +Document +... # Suffix \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-9-3-bare-documents.yaml b/libs/YAML.framework/test/yaml/spec12-example-9-3-bare-documents.yaml new file mode 100644 index 0000000..11dc627 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-9-3-bare-documents.yaml @@ -0,0 +1,7 @@ +Bare +document +... +# No document +... +| +%!PS-Adobe-2.0 # Not the first line \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-9-4-explicit-documents.yaml b/libs/YAML.framework/test/yaml/spec12-example-9-4-explicit-documents.yaml new file mode 100644 index 0000000..50d8e28 --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-9-4-explicit-documents.yaml @@ -0,0 +1,7 @@ +--- +{ matches +% : 20 } +... +--- +# Empty +... \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-9-5-directives-documents.yaml b/libs/YAML.framework/test/yaml/spec12-example-9-5-directives-documents.yaml new file mode 100644 index 0000000..7da61dd --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-9-5-directives-documents.yaml @@ -0,0 +1,8 @@ +%YAML 1.2 +--- | +%!PS-Adobe-2.0 +... +%YAML1.2 +--- +# Empty +... \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/spec12-example-9-6-stream.yaml b/libs/YAML.framework/test/yaml/spec12-example-9-6-stream.yaml new file mode 100644 index 0000000..4c004fd --- /dev/null +++ b/libs/YAML.framework/test/yaml/spec12-example-9-6-stream.yaml @@ -0,0 +1,7 @@ +Document +--- +# Empty +... +%YAML 1.2 +--- +matches %: 20 \ No newline at end of file diff --git a/libs/YAML.framework/test/yaml/strange-keys.yaml b/libs/YAML.framework/test/yaml/strange-keys.yaml new file mode 100644 index 0000000..3471523 --- /dev/null +++ b/libs/YAML.framework/test/yaml/strange-keys.yaml @@ -0,0 +1,38 @@ +# http://yaml.kwiki.org/index.cgi?YtsStrangeKeys + +--- +type: meta +description: | + Test parsing of "not nice" mapping keys. +default-type: load-expect +perl: fail +ruby: 0.40 +python: skip + +# The tests themselves come below. One per YAML document. +--- +name: Quoted line noise key +type: load-expect +brief: | + Check that quoted line noise parses as key. +yaml: | + --- + "!@#%" : bar baz +perl: | + {'!@#%' => 'bar baz'} +ruby: | + {'!@#%', 'bar baz'} + +--- +name: Unquoted line noise key +brief: | + Check that unquoted line noise parses as key. + This requires the line noise be tame enough + to pass as an implicit plain key. +yaml: | + --- + -+!@#% : bar baz +perl: | + {'-+!@#%' => 'bar baz'} +ruby: | + {'-+!@#%', 'bar baz'} \ No newline at end of file diff --git a/libs/YAML.framework/yaml-0.1.3/LICENSE b/libs/YAML.framework/yaml-0.1.3/LICENSE new file mode 100644 index 0000000..050ced2 --- /dev/null +++ b/libs/YAML.framework/yaml-0.1.3/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2006 Kirill Simonov + +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: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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. diff --git a/libs/YAML.framework/yaml-0.1.3/Makefile.am b/libs/YAML.framework/yaml-0.1.3/Makefile.am new file mode 100644 index 0000000..7835b61 --- /dev/null +++ b/libs/YAML.framework/yaml-0.1.3/Makefile.am @@ -0,0 +1,15 @@ +## Run `./bootstrap` to generate the "Makefile.in" files in this directory and +## the "$SUBDIRS" subdirectories. + +SUBDIRS = include src . tests win32 + +EXTRA_DIST = README LICENSE doc/doxygen.cfg + +maintainer-clean-local: + -rm -f aclocal.m4 config.h.in configure config/* + -find ${builddir} -name Makefile.in -exec rm -f '{}' ';' + +.PHONY: bootstrap +bootstrap: maintainer-clean + ./bootstrap + diff --git a/libs/YAML.framework/yaml-0.1.3/Makefile.in b/libs/YAML.framework/yaml-0.1.3/Makefile.in new file mode 100644 index 0000000..3b9afbe --- /dev/null +++ b/libs/YAML.framework/yaml-0.1.3/Makefile.in @@ -0,0 +1,651 @@ +# Makefile.in generated by automake 1.10.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(top_srcdir)/configure config/config.guess config/config.sub \ + config/depcomp config/install-sh config/ltmain.sh \ + config/missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DOXYGEN = @DOXYGEN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +YAML_LT_AGE = @YAML_LT_AGE@ +YAML_LT_CURRENT = @YAML_LT_CURRENT@ +YAML_LT_RELEASE = @YAML_LT_RELEASE@ +YAML_LT_REVISION = @YAML_LT_REVISION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = include src . tests win32 +EXTRA_DIST = README LICENSE doc/doxygen.cfg +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool config.lt + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile config.h +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-exec-am: + +install-html: install-html-recursive + +install-info: install-info-recursive + +install-man: + +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic \ + maintainer-clean-local + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-strip + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ + dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \ + distclean distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-local mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + + +maintainer-clean-local: + -rm -f aclocal.m4 config.h.in configure config/* + -find ${builddir} -name Makefile.in -exec rm -f '{}' ';' + +.PHONY: bootstrap +bootstrap: maintainer-clean + ./bootstrap +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libs/YAML.framework/yaml-0.1.3/README b/libs/YAML.framework/yaml-0.1.3/README new file mode 100644 index 0000000..a762f97 --- /dev/null +++ b/libs/YAML.framework/yaml-0.1.3/README @@ -0,0 +1,29 @@ +LibYAML - A C library for parsing and emitting YAML. + +The project is in an early stage of development. + +To build and install the library, run: +$ ./configure +$ make +# make install + +If you checked the source code from the Subversion repository, run +$ ./bootstrap +$ ./configure +$ make +# make install + +For more information, check the LibYAML homepage: +'http://pyyaml.org/wiki/LibYAML'. + +Post your questions and opinions to the YAML-Core mailing list: +'http://lists.sourceforge.net/lists/listinfo/yaml-core'. + +Submit bug reports and feature requests to the LibYAML bug tracker: +'http://pyyaml.org/newticket?component=libyaml'. + +LibYAML is written by Kirill Simonov . It is released +under the MIT license. See the file LICENSE for more details. + +This project is developed for Python Software Foundation as a part of +Google Summer of Code under the mentorship of Clark Evans. diff --git a/libs/YAML.framework/yaml-0.1.3/aclocal.m4 b/libs/YAML.framework/yaml-0.1.3/aclocal.m4 new file mode 100644 index 0000000..444dc09 --- /dev/null +++ b/libs/YAML.framework/yaml-0.1.3/aclocal.m4 @@ -0,0 +1,8841 @@ +# generated automatically by aclocal 1.10.2 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, +[m4_warning([this file was generated for autoconf 2.63. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]) + +# serial 56 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) + + +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +m4_defun([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl +AC_REQUIRE([AC_PROG_LN_S])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl +dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR + +m4_require([_LT_TAG_COMPILER])dnl +_LT_PROG_ECHO_BACKSLASH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of