From 814dbcce24cf1c98deeb31230f167da5ae7f75fe Mon Sep 17 00:00:00 2001 From: dsc Date: Mon, 6 Jun 2011 01:02:14 -0700 Subject: [PATCH] Adds YAML library. --- libs/YAML.framework/.gitignore | 5 + .../YAML.framework/English.lproj/InfoPlist.strings | 2 + libs/YAML.framework/Info.plist | 28 + libs/YAML.framework/Readme.mkdn | 66 + libs/YAML.framework/YAML.xcodeproj/project.pbxproj | 1095 ++ libs/YAML.framework/YAMLSerialization.h | 58 + libs/YAML.framework/YAMLSerialization.m | 378 + libs/YAML.framework/YAML_Prefix.pch | 7 + libs/YAML.framework/test/bigboy.rb | 22 + libs/YAML.framework/test/events.c | 118 + libs/YAML.framework/test/fetch.rb | 16 + libs/YAML.framework/test/spec12examples.m | 31 + libs/YAML.framework/test/test.m | 54 + libs/YAML.framework/test/yaml/basic.yaml | 252 + libs/YAML.framework/test/yaml/items.yaml | 3 + libs/YAML.framework/test/yaml/map-in-seq.yaml | 51 + libs/YAML.framework/test/yaml/map.yaml | 2 + libs/YAML.framework/test/yaml/mapping.yaml | 68 + libs/YAML.framework/test/yaml/simple.yaml | 11 + .../yaml/spec12-example-10-1-map-examples.yaml | 6 + .../yaml/spec12-example-10-2-seq-examples.yaml | 6 + .../yaml/spec12-example-10-3-str-examples.yaml | 4 + .../yaml/spec12-example-10-4-null-examples.yaml | 2 + .../yaml/spec12-example-10-5-bool-examples.yaml | 2 + .../yaml/spec12-example-10-6-int-examples.yaml | 3 + .../yaml/spec12-example-10-7-float-examples.yaml | 5 + .../spec12-example-10-8-json-tag-resolution.yaml | 5 + .../spec12-example-10-9-core-tag-resolution.yaml | 7 + ...ample-2-1-sequence-of-scalars-ball-players.yaml | 3 + ...-sammy-sosa-appears-twice-in-this-document.yaml | 8 + ...c12-example-2-11-mapping-between-sequences.yaml | 9 + ...spec12-example-2-12-compact-nested-mapping.yaml | 8 + ...le-2-13-in-literals-newlines-are-preserved.yaml | 4 + ...-the-folded-scalars-newlines-become-spaces.yaml | 4 + ...reserved-for-more-indented-and-blank-lines.yaml | 8 + ...-example-2-16-indentation-determines-scope.yaml | 7 + .../yaml/spec12-example-2-17-quoted-scalars.yaml | 7 + ...pec12-example-2-18-multi-line-flow-scalars.yaml | 6 + .../test/yaml/spec12-example-2-19-integers.yaml | 4 + ...pping-scalars-to-scalars-player-statistics.yaml | 3 + .../yaml/spec12-example-2-20-floating-point.yaml | 5 + .../yaml/spec12-example-2-21-miscellaneous.yaml | 3 + .../test/yaml/spec12-example-2-22-timestamps.yaml | 4 + .../spec12-example-2-23-various-explicit-tags.yaml | 13 + .../test/yaml/spec12-example-2-24-global-tags.yaml | 14 + .../yaml/spec12-example-2-25-unordered-sets.yaml | 7 + .../yaml/spec12-example-2-26-ordered-mappings.yaml | 7 + .../test/yaml/spec12-example-2-27-invoice.yaml | 29 + .../test/yaml/spec12-example-2-28-log-file.yaml | 26 + ...ars-to-sequences-ball-clubs-in-each-league.yaml | 8 + ...-4-sequence-of-mappings-players-statistics.yaml | 8 + .../spec12-example-2-5-sequence-of-sequences.yaml | 3 + .../spec12-example-2-6-mapping-of-mappings.yaml | 5 + ...ts-in-a-stream-each-with-a-leading-comment.yaml | 10 + ...-example-2-8-play-by-play-feed-from-a-game.yaml | 10 + ...mple-2-9-single-document-with-two-comments.yaml | 8 + .../yaml/spec12-example-5-1-byte-order-mark.yaml | 1 + ...le-5-10-invalid-use-of-reserved-indicators.yaml | 2 + .../spec12-example-5-11-line-break-characters.yaml | 3 + .../yaml/spec12-example-5-12-tabs-and-spaces.yaml | 6 + .../spec12-example-5-13-escaped-characters.yaml | 5 + ...12-example-5-14-invalid-escaped-characters.yaml | 3 + ...spec12-example-5-2-invalid-byte-order-mark.yaml | 3 + ...c12-example-5-3-block-structure-indicators.yaml | 7 + ...c12-example-5-4-flow-collection-indicators.yaml | 2 + .../yaml/spec12-example-5-5-comment-indicator.yaml | 1 + ...pec12-example-5-6-node-property-indicators.yaml | 2 + ...spec12-example-5-7-block-scalar-indicators.yaml | 6 + ...pec12-example-5-8-quoted-scalar-indicators.yaml | 2 + .../spec12-example-5-9-directive-indicator.yaml | 2 + .../spec12-example-6-1-indentation-spaces.yaml | 12 + .../yaml/spec12-example-6-10-comment-lines.yaml | 2 + .../spec12-example-6-11-multi-line-comments.yaml | 3 + .../spec12-example-6-12-separation-spaces.yaml | 6 + .../spec12-example-6-13-reserved-directives.yaml | 3 + .../yaml/spec12-example-6-14-yaml-directive.yaml | 4 + ...ample-6-15-invalid-repeated-yaml-directive.yaml | 3 + .../yaml/spec12-example-6-16-tag-directive.yaml | 3 + ...xample-6-17-invalid-repeated-tag-directive.yaml | 3 + .../spec12-example-6-18-primary-tag-handle.yaml | 7 + .../spec12-example-6-19-secondary-tag-handle.yaml | 3 + .../spec12-example-6-2-indentation-indicators.yaml | 4 + .../test/yaml/spec12-example-6-20-tag-handles.yaml | 3 + .../yaml/spec12-example-6-21-local-tag-prefix.yaml | 7 + .../spec12-example-6-22-global-tag-prefix.yaml | 3 + .../yaml/spec12-example-6-23-node-properties.yaml | 3 + .../yaml/spec12-example-6-24-verbatim-tags.yaml | 2 + .../spec12-example-6-25-invalid-verbatim-tags.yaml | 2 + .../yaml/spec12-example-6-26-tag-shorthands.yaml | 5 + ...spec12-example-6-27-invalid-tag-shorthands.yaml | 4 + .../spec12-example-6-28-non-specific-tags.yaml | 4 + .../yaml/spec12-example-6-29-node-anchors.yaml | 2 + .../yaml/spec12-example-6-3-separation-spaces.yaml | 3 + .../yaml/spec12-example-6-4-line-prefixes.yaml | 7 + .../test/yaml/spec12-example-6-5-empty-lines.yaml | 7 + .../test/yaml/spec12-example-6-6-line-folding.yaml | 7 + .../yaml/spec12-example-6-7-block-folding.yaml | 6 + .../test/yaml/spec12-example-6-8-flow-folding.yaml | 6 + .../yaml/spec12-example-6-9-separated-comment.yaml | 2 + .../test/yaml/spec12-example-7-1-alias-nodes.yaml | 4 + .../yaml/spec12-example-7-10-plain-characters.yaml | 12 + .../spec12-example-7-11-plain-implicit-keys.yaml | 3 + .../test/yaml/spec12-example-7-12-plain-lines.yaml | 4 + .../yaml/spec12-example-7-13-flow-sequence.yaml | 2 + .../spec12-example-7-14-flow-sequence-entries.yaml | 8 + .../yaml/spec12-example-7-15-flow-mappings.yaml | 2 + .../spec12-example-7-16-flow-mapping-entries.yaml | 5 + ...-example-7-17-flow-mapping-separate-values.yaml | 6 + ...-example-7-18-flow-mapping-adjacent-values.yaml | 5 + ...c12-example-7-19-single-pair-flow-mappings.yaml | 3 + .../yaml/spec12-example-7-2-empty-content.yaml | 4 + ...12-example-7-20-single-pair-explicit-entry.yaml | 4 + ...-example-7-21-single-pair-implicit-entries.yaml | 3 + .../spec12-example-7-22-invalid-implicit-keys.yaml | 3 + .../yaml/spec12-example-7-23-flow-content.yaml | 5 + .../test/yaml/spec12-example-7-24-flow-nodes.yaml | 5 + ...12-example-7-3-completely-empty-flow-nodes.yaml | 4 + ...12-example-7-4-double-quoted-implicit-keys.yaml | 3 + ...ec12-example-7-5-double-quoted-line-breaks.yaml | 5 + .../spec12-example-7-6-double-quoted-lines.yaml | 4 + ...pec12-example-7-7-single-quoted-characters.yaml | 1 + ...12-example-7-8-single-quoted-implicit-keys.yaml | 3 + .../spec12-example-7-9-single-quoted-lines.yaml | 4 + .../spec12-example-8-1-block-scalar-header.yaml | 9 + .../yaml/spec12-example-8-10-folded-lines.yaml | 16 + .../spec12-example-8-11-more-indented-lines.yaml | 16 + ...spec12-example-8-12-empty-separation-lines.yaml | 16 + .../spec12-example-8-13-final-empty-lines.yaml | 15 + .../yaml/spec12-example-8-14-block-sequence.yaml | 3 + ...12-example-8-15-block-sequence-entry-types.yaml | 6 + .../yaml/spec12-example-8-16-block-mappings.yaml | 2 + ...xample-8-17-explicit-block-mapping-entries.yaml | 5 + ...xample-8-18-implicit-block-mapping-entries.yaml | 4 + ...spec12-example-8-19-compact-block-mappings.yaml | 3 + ...12-example-8-2-block-indentation-indicator.yaml | 11 + .../yaml/spec12-example-8-20-block-node-types.yaml | 6 + .../spec12-example-8-21-block-scalar-nodes.yaml | 6 + ...spec12-example-8-22-block-collection-nodes.yaml | 6 + ...nvalid-block-scalar-indentation-indicators.yaml | 8 + ...ec12-example-8-4-chomping-final-line-break.yaml | 6 + ...spec12-example-8-5-chomping-trailing-lines.yaml | 19 + .../spec12-example-8-6-empty-scalar-chomping.yaml | 5 + .../yaml/spec12-example-8-7-literal-scalar.yaml | 3 + .../yaml/spec12-example-8-8-literal-content.yaml | 9 + .../yaml/spec12-example-8-9-folded-scalar.yaml | 3 + .../yaml/spec12-example-9-1-document-prefix.yaml | 3 + .../yaml/spec12-example-9-2-document-markers.yaml | 4 + .../yaml/spec12-example-9-3-bare-documents.yaml | 7 + .../spec12-example-9-4-explicit-documents.yaml | 7 + .../spec12-example-9-5-directives-documents.yaml | 8 + .../test/yaml/spec12-example-9-6-stream.yaml | 7 + libs/YAML.framework/test/yaml/strange-keys.yaml | 38 + libs/YAML.framework/yaml-0.1.3/LICENSE | 19 + libs/YAML.framework/yaml-0.1.3/Makefile.am | 15 + libs/YAML.framework/yaml-0.1.3/Makefile.in | 651 + libs/YAML.framework/yaml-0.1.3/README | 29 + libs/YAML.framework/yaml-0.1.3/aclocal.m4 | 8841 ++++++++++++ libs/YAML.framework/yaml-0.1.3/config.h.in | 77 + libs/YAML.framework/yaml-0.1.3/config/config.guess | 1526 +++ libs/YAML.framework/yaml-0.1.3/config/config.sub | 1658 +++ libs/YAML.framework/yaml-0.1.3/config/depcomp | 589 + libs/YAML.framework/yaml-0.1.3/config/install-sh | 519 + libs/YAML.framework/yaml-0.1.3/config/ltmain.sh | 8412 ++++++++++++ libs/YAML.framework/yaml-0.1.3/config/missing | 367 + libs/YAML.framework/yaml-0.1.3/configure |14131 ++++++++++++++++++++ libs/YAML.framework/yaml-0.1.3/configure.ac | 73 + libs/YAML.framework/yaml-0.1.3/doc/doxygen.cfg | 222 + .../yaml-0.1.3/doc/html/annotated.html | 44 + .../yaml-0.1.3/doc/html/classes.html | 34 + .../YAML.framework/yaml-0.1.3/doc/html/doxygen.css | 441 + .../YAML.framework/yaml-0.1.3/doc/html/doxygen.png | Bin 0 -> 1281 bytes libs/YAML.framework/yaml-0.1.3/doc/html/files.html | 33 + .../yaml-0.1.3/doc/html/functions.html | 82 + .../yaml-0.1.3/doc/html/functions_0x62.html | 76 + .../yaml-0.1.3/doc/html/functions_0x63.html | 78 + .../yaml-0.1.3/doc/html/functions_0x64.html | 76 + .../yaml-0.1.3/doc/html/functions_0x65.html | 100 + .../yaml-0.1.3/doc/html/functions_0x66.html | 73 + .../yaml-0.1.3/doc/html/functions_0x68.html | 74 + .../yaml-0.1.3/doc/html/functions_0x69.html | 82 + .../yaml-0.1.3/doc/html/functions_0x6b.html | 67 + .../yaml-0.1.3/doc/html/functions_0x6c.html | 80 + .../yaml-0.1.3/doc/html/functions_0x6d.html | 85 + .../yaml-0.1.3/doc/html/functions_0x6e.html | 67 + .../yaml-0.1.3/doc/html/functions_0x6f.html | 73 + .../yaml-0.1.3/doc/html/functions_0x70.html | 88 + .../yaml-0.1.3/doc/html/functions_0x71.html | 67 + .../yaml-0.1.3/doc/html/functions_0x72.html | 78 + .../yaml-0.1.3/doc/html/functions_0x73.html | 136 + .../yaml-0.1.3/doc/html/functions_0x74.html | 102 + .../yaml-0.1.3/doc/html/functions_0x75.html | 67 + .../yaml-0.1.3/doc/html/functions_0x76.html | 75 + .../yaml-0.1.3/doc/html/functions_0x77.html | 71 + .../yaml-0.1.3/doc/html/functions_vars.html | 82 + .../yaml-0.1.3/doc/html/functions_vars_0x62.html | 76 + .../yaml-0.1.3/doc/html/functions_vars_0x63.html | 78 + .../yaml-0.1.3/doc/html/functions_vars_0x64.html | 76 + .../yaml-0.1.3/doc/html/functions_vars_0x65.html | 100 + .../yaml-0.1.3/doc/html/functions_vars_0x66.html | 73 + .../yaml-0.1.3/doc/html/functions_vars_0x68.html | 74 + .../yaml-0.1.3/doc/html/functions_vars_0x69.html | 82 + .../yaml-0.1.3/doc/html/functions_vars_0x6b.html | 67 + .../yaml-0.1.3/doc/html/functions_vars_0x6c.html | 80 + .../yaml-0.1.3/doc/html/functions_vars_0x6d.html | 85 + .../yaml-0.1.3/doc/html/functions_vars_0x6e.html | 67 + .../yaml-0.1.3/doc/html/functions_vars_0x6f.html | 73 + .../yaml-0.1.3/doc/html/functions_vars_0x70.html | 88 + .../yaml-0.1.3/doc/html/functions_vars_0x71.html | 67 + .../yaml-0.1.3/doc/html/functions_vars_0x72.html | 78 + .../yaml-0.1.3/doc/html/functions_vars_0x73.html | 136 + .../yaml-0.1.3/doc/html/functions_vars_0x74.html | 102 + .../yaml-0.1.3/doc/html/functions_vars_0x75.html | 67 + .../yaml-0.1.3/doc/html/functions_vars_0x76.html | 75 + .../yaml-0.1.3/doc/html/functions_vars_0x77.html | 71 + .../yaml-0.1.3/doc/html/globals.html | 459 + .../yaml-0.1.3/doc/html/globals_defs.html | 68 + .../yaml-0.1.3/doc/html/globals_enum.html | 66 + .../yaml-0.1.3/doc/html/globals_eval.html | 263 + .../yaml-0.1.3/doc/html/globals_func.html | 145 + .../yaml-0.1.3/doc/html/globals_type.html | 98 + .../yaml-0.1.3/doc/html/group__basic.html | 353 + .../yaml-0.1.3/doc/html/group__emitter.html | 864 ++ .../yaml-0.1.3/doc/html/group__events.html | 691 + .../yaml-0.1.3/doc/html/group__export.html | 54 + .../yaml-0.1.3/doc/html/group__nodes.html | 853 ++ .../yaml-0.1.3/doc/html/group__parser.html | 645 + .../yaml-0.1.3/doc/html/group__styles.html | 238 + .../yaml-0.1.3/doc/html/group__tokens.html | 264 + .../yaml-0.1.3/doc/html/group__version.html | 102 + libs/YAML.framework/yaml-0.1.3/doc/html/index.html | 26 + .../yaml-0.1.3/doc/html/modules.html | 35 + .../doc/html/structyaml__alias__data__s.html | 106 + .../doc/html/structyaml__document__s.html | 260 + .../doc/html/structyaml__emitter__s.html | 1551 +++ .../yaml-0.1.3/doc/html/structyaml__event__s.html | 577 + .../yaml-0.1.3/doc/html/structyaml__mark__s.html | 108 + .../doc/html/structyaml__node__pair__s.html | 88 + .../yaml-0.1.3/doc/html/structyaml__node__s.html | 480 + .../yaml-0.1.3/doc/html/structyaml__parser__s.html | 1453 ++ .../doc/html/structyaml__simple__key__s.html | 94 + .../doc/html/structyaml__tag__directive__s.html | 88 + .../yaml-0.1.3/doc/html/structyaml__token__s.html | 474 + .../html/structyaml__version__directive__s.html | 88 + libs/YAML.framework/yaml-0.1.3/doc/html/tab_b.gif | Bin 0 -> 35 bytes libs/YAML.framework/yaml-0.1.3/doc/html/tab_l.gif | Bin 0 -> 706 bytes libs/YAML.framework/yaml-0.1.3/doc/html/tab_r.gif | Bin 0 -> 2585 bytes libs/YAML.framework/yaml-0.1.3/doc/html/tabs.css | 105 + .../yaml-0.1.3/doc/html/yaml_8h.html | 607 + libs/YAML.framework/yaml-0.1.3/include/Makefile.am | 17 + libs/YAML.framework/yaml-0.1.3/include/Makefile.in | 424 + libs/YAML.framework/yaml-0.1.3/include/yaml.h | 1976 +++ libs/YAML.framework/yaml-0.1.3/src/Makefile.am | 4 + libs/YAML.framework/yaml-0.1.3/src/Makefile.in | 482 + libs/YAML.framework/yaml-0.1.3/src/api.c | 1392 ++ libs/YAML.framework/yaml-0.1.3/src/dumper.c | 394 + libs/YAML.framework/yaml-0.1.3/src/emitter.c | 2329 ++++ libs/YAML.framework/yaml-0.1.3/src/loader.c | 432 + libs/YAML.framework/yaml-0.1.3/src/parser.c | 1374 ++ libs/YAML.framework/yaml-0.1.3/src/reader.c | 465 + libs/YAML.framework/yaml-0.1.3/src/scanner.c | 3570 +++++ libs/YAML.framework/yaml-0.1.3/src/writer.c | 141 + libs/YAML.framework/yaml-0.1.3/src/yaml_private.h | 640 + libs/YAML.framework/yaml-0.1.3/tests/Makefile.am | 8 + libs/YAML.framework/yaml-0.1.3/tests/Makefile.in | 631 + .../yaml-0.1.3/tests/example-deconstructor-alt.c | 800 ++ .../yaml-0.1.3/tests/example-deconstructor.c | 1130 ++ .../yaml-0.1.3/tests/example-reformatter-alt.c | 217 + .../yaml-0.1.3/tests/example-reformatter.c | 202 + libs/YAML.framework/yaml-0.1.3/tests/run-dumper.c | 311 + libs/YAML.framework/yaml-0.1.3/tests/run-emitter.c | 327 + libs/YAML.framework/yaml-0.1.3/tests/run-loader.c | 63 + libs/YAML.framework/yaml-0.1.3/tests/run-parser.m | 63 + libs/YAML.framework/yaml-0.1.3/tests/run-scanner.c | 63 + libs/YAML.framework/yaml-0.1.3/tests/test-reader.c | 354 + .../YAML.framework/yaml-0.1.3/tests/test-version.c | 29 + libs/YAML.framework/yaml-0.1.3/win32/Makefile.am | 24 + libs/YAML.framework/yaml-0.1.3/win32/Makefile.in | 351 + libs/YAML.framework/yaml-0.1.3/win32/config.h | 4 + .../yaml-0.1.3/win32/vc6/example_deconstructor.dsp | 102 + .../win32/vc6/example_deconstructor_alt.dsp | 102 + .../yaml-0.1.3/win32/vc6/example_reformatter.dsp | 102 + .../win32/vc6/example_reformatter_alt.dsp | 102 + .../yaml-0.1.3/win32/vc6/libyaml.dsw | 206 + .../yaml-0.1.3/win32/vc6/run_dumper.dsp | 102 + .../yaml-0.1.3/win32/vc6/run_emitter.dsp | 102 + .../yaml-0.1.3/win32/vc6/run_loader.dsp | 102 + .../yaml-0.1.3/win32/vc6/run_parser.dsp | 102 + .../yaml-0.1.3/win32/vc6/run_scanner.dsp | 102 + .../yaml-0.1.3/win32/vc6/test_reader.dsp | 102 + .../yaml-0.1.3/win32/vc6/test_version.dsp | 102 + libs/YAML.framework/yaml-0.1.3/win32/vc6/yaml.dsp | 136 + .../yaml-0.1.3/win32/vc6/yamldll.dsp | 147 + .../win32/vs2003/example_deconstructor.vcproj | 134 + .../win32/vs2003/example_deconstructor_alt.vcproj | 134 + .../win32/vs2003/example_reformatter.vcproj | 134 + .../win32/vs2003/example_reformatter_alt.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/libyaml.sln | 128 + .../yaml-0.1.3/win32/vs2003/run_dumper.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/run_emitter.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/run_loader.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/run_parser.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/run_scanner.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/test_reader.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/test_version.vcproj | 134 + .../yaml-0.1.3/win32/vs2003/yaml.vcproj | 149 + .../yaml-0.1.3/win32/vs2003/yamldll.vcproj | 166 + .../win32/vs2008/example_deconstructor.vcproj | 201 + .../win32/vs2008/example_deconstructor_alt.vcproj | 201 + .../win32/vs2008/example_reformatter.vcproj | 201 + .../win32/vs2008/example_reformatter_alt.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/libyaml.sln | 124 + .../yaml-0.1.3/win32/vs2008/run_dumper.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/run_emitter.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/run_loader.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/run_parser.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/run_scanner.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/test_reader.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/test_version.vcproj | 201 + .../yaml-0.1.3/win32/vs2008/yaml.vcproj | 215 + .../yaml-0.1.3/win32/vs2008/yamldll.vcproj | 243 + 320 files changed, 79978 insertions(+), 0 deletions(-) create mode 100644 libs/YAML.framework/.gitignore create mode 100644 libs/YAML.framework/English.lproj/InfoPlist.strings create mode 100644 libs/YAML.framework/Info.plist create mode 100644 libs/YAML.framework/Readme.mkdn create mode 100644 libs/YAML.framework/YAML.xcodeproj/project.pbxproj create mode 100644 libs/YAML.framework/YAMLSerialization.h create mode 100644 libs/YAML.framework/YAMLSerialization.m create mode 100644 libs/YAML.framework/YAML_Prefix.pch create mode 100644 libs/YAML.framework/test/bigboy.rb create mode 100644 libs/YAML.framework/test/events.c create mode 100644 libs/YAML.framework/test/fetch.rb create mode 100644 libs/YAML.framework/test/spec12examples.m create mode 100644 libs/YAML.framework/test/test.m create mode 100644 libs/YAML.framework/test/yaml/basic.yaml create mode 100644 libs/YAML.framework/test/yaml/items.yaml create mode 100644 libs/YAML.framework/test/yaml/map-in-seq.yaml create mode 100644 libs/YAML.framework/test/yaml/map.yaml create mode 100644 libs/YAML.framework/test/yaml/mapping.yaml create mode 100644 libs/YAML.framework/test/yaml/simple.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-1-map-examples.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-2-seq-examples.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-3-str-examples.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-4-null-examples.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-5-bool-examples.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-6-int-examples.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-7-float-examples.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-8-json-tag-resolution.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-10-9-core-tag-resolution.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-1-sequence-of-scalars-ball-players.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-11-mapping-between-sequences.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-12-compact-nested-mapping.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-13-in-literals-newlines-are-preserved.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-14-in-the-folded-scalars-newlines-become-spaces.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-16-indentation-determines-scope.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-17-quoted-scalars.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-18-multi-line-flow-scalars.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-19-integers.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-2-mapping-scalars-to-scalars-player-statistics.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-20-floating-point.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-21-miscellaneous.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-22-timestamps.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-23-various-explicit-tags.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-24-global-tags.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-25-unordered-sets.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-26-ordered-mappings.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-27-invoice.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-28-log-file.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-3-mapping-scalars-to-sequences-ball-clubs-in-each-league.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-4-sequence-of-mappings-players-statistics.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-5-sequence-of-sequences.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-6-mapping-of-mappings.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-7-two-documents-in-a-stream-each-with-a-leading-comment.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-8-play-by-play-feed-from-a-game.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-2-9-single-document-with-two-comments.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-1-byte-order-mark.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-10-invalid-use-of-reserved-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-11-line-break-characters.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-12-tabs-and-spaces.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-13-escaped-characters.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-14-invalid-escaped-characters.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-2-invalid-byte-order-mark.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-3-block-structure-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-4-flow-collection-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-5-comment-indicator.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-6-node-property-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-7-block-scalar-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-8-quoted-scalar-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-5-9-directive-indicator.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-1-indentation-spaces.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-10-comment-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-11-multi-line-comments.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-12-separation-spaces.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-13-reserved-directives.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-14-yaml-directive.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-15-invalid-repeated-yaml-directive.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-16-tag-directive.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-17-invalid-repeated-tag-directive.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-18-primary-tag-handle.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-19-secondary-tag-handle.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-2-indentation-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-20-tag-handles.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-21-local-tag-prefix.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-22-global-tag-prefix.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-23-node-properties.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-24-verbatim-tags.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-25-invalid-verbatim-tags.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-26-tag-shorthands.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-27-invalid-tag-shorthands.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-28-non-specific-tags.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-29-node-anchors.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-3-separation-spaces.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-4-line-prefixes.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-5-empty-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-6-line-folding.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-7-block-folding.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-8-flow-folding.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-6-9-separated-comment.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-1-alias-nodes.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-10-plain-characters.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-11-plain-implicit-keys.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-12-plain-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-13-flow-sequence.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-14-flow-sequence-entries.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-15-flow-mappings.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-16-flow-mapping-entries.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-17-flow-mapping-separate-values.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-18-flow-mapping-adjacent-values.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-19-single-pair-flow-mappings.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-2-empty-content.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-20-single-pair-explicit-entry.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-21-single-pair-implicit-entries.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-22-invalid-implicit-keys.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-23-flow-content.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-24-flow-nodes.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-3-completely-empty-flow-nodes.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-4-double-quoted-implicit-keys.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-5-double-quoted-line-breaks.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-6-double-quoted-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-7-single-quoted-characters.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-8-single-quoted-implicit-keys.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-7-9-single-quoted-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-1-block-scalar-header.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-10-folded-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-11-more-indented-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-12-empty-separation-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-13-final-empty-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-14-block-sequence.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-15-block-sequence-entry-types.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-16-block-mappings.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-17-explicit-block-mapping-entries.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-18-implicit-block-mapping-entries.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-19-compact-block-mappings.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-2-block-indentation-indicator.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-20-block-node-types.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-21-block-scalar-nodes.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-22-block-collection-nodes.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-3-invalid-block-scalar-indentation-indicators.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-4-chomping-final-line-break.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-5-chomping-trailing-lines.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-6-empty-scalar-chomping.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-7-literal-scalar.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-8-literal-content.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-8-9-folded-scalar.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-9-1-document-prefix.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-9-2-document-markers.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-9-3-bare-documents.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-9-4-explicit-documents.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-9-5-directives-documents.yaml create mode 100644 libs/YAML.framework/test/yaml/spec12-example-9-6-stream.yaml create mode 100644 libs/YAML.framework/test/yaml/strange-keys.yaml create mode 100644 libs/YAML.framework/yaml-0.1.3/LICENSE create mode 100644 libs/YAML.framework/yaml-0.1.3/Makefile.am create mode 100644 libs/YAML.framework/yaml-0.1.3/Makefile.in create mode 100644 libs/YAML.framework/yaml-0.1.3/README create mode 100644 libs/YAML.framework/yaml-0.1.3/aclocal.m4 create mode 100644 libs/YAML.framework/yaml-0.1.3/config.h.in create mode 100755 libs/YAML.framework/yaml-0.1.3/config/config.guess create mode 100755 libs/YAML.framework/yaml-0.1.3/config/config.sub create mode 100755 libs/YAML.framework/yaml-0.1.3/config/depcomp create mode 100755 libs/YAML.framework/yaml-0.1.3/config/install-sh create mode 100755 libs/YAML.framework/yaml-0.1.3/config/ltmain.sh create mode 100755 libs/YAML.framework/yaml-0.1.3/config/missing create mode 100755 libs/YAML.framework/yaml-0.1.3/configure create mode 100644 libs/YAML.framework/yaml-0.1.3/configure.ac create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/doxygen.cfg create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/annotated.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/classes.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/doxygen.css create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/doxygen.png create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/files.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x62.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x63.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x64.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x65.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x66.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x68.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x69.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x6b.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x6c.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x6d.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x6e.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x6f.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x70.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x71.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x72.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x73.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x74.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x75.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x76.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_0x77.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x62.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x63.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x64.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x65.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x66.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x68.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x69.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x6b.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x6c.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x6d.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x6e.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x6f.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x70.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x71.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x72.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x73.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x74.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x75.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x76.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/functions_vars_0x77.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/globals.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/globals_defs.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/globals_enum.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/globals_eval.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/globals_func.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/globals_type.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__basic.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__emitter.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__events.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__export.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__nodes.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__parser.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__styles.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__tokens.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/group__version.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/index.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/modules.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__alias__data__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__document__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__emitter__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__event__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__mark__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__node__pair__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__node__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__parser__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__simple__key__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__tag__directive__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__token__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/structyaml__version__directive__s.html create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/tab_b.gif create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/tab_l.gif create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/tab_r.gif create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/tabs.css create mode 100644 libs/YAML.framework/yaml-0.1.3/doc/html/yaml_8h.html create mode 100644 libs/YAML.framework/yaml-0.1.3/include/Makefile.am create mode 100644 libs/YAML.framework/yaml-0.1.3/include/Makefile.in create mode 100644 libs/YAML.framework/yaml-0.1.3/include/yaml.h create mode 100644 libs/YAML.framework/yaml-0.1.3/src/Makefile.am create mode 100644 libs/YAML.framework/yaml-0.1.3/src/Makefile.in create mode 100644 libs/YAML.framework/yaml-0.1.3/src/api.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/dumper.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/emitter.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/loader.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/parser.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/reader.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/scanner.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/writer.c create mode 100644 libs/YAML.framework/yaml-0.1.3/src/yaml_private.h create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/Makefile.am create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/Makefile.in create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/example-deconstructor-alt.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/example-deconstructor.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/example-reformatter-alt.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/example-reformatter.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/run-dumper.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/run-emitter.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/run-loader.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/run-parser.m create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/run-scanner.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/test-reader.c create mode 100644 libs/YAML.framework/yaml-0.1.3/tests/test-version.c create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/Makefile.am create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/Makefile.in create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/config.h create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/example_deconstructor.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/example_deconstructor_alt.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/example_reformatter.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/example_reformatter_alt.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/libyaml.dsw create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/run_dumper.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/run_emitter.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/run_loader.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/run_parser.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/run_scanner.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/test_reader.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/test_version.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/yaml.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vc6/yamldll.dsp create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/example_deconstructor.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/example_deconstructor_alt.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/example_reformatter.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/example_reformatter_alt.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/libyaml.sln create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/run_dumper.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/run_emitter.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/run_loader.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/run_parser.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/run_scanner.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/test_reader.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/test_version.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/yaml.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2003/yamldll.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/example_deconstructor.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/example_deconstructor_alt.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/example_reformatter.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/example_reformatter_alt.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/libyaml.sln create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/run_dumper.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/run_emitter.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/run_loader.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/run_parser.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/run_scanner.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/test_reader.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/test_version.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/yaml.vcproj create mode 100644 libs/YAML.framework/yaml-0.1.3/win32/vs2008/yamldll.vcproj 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 an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + _LT_PATH_MAGIC + fi + ;; +esac + +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP + + +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from `configure', and `config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# `config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain="$ac_aux_dir/ltmain.sh" +])# _LT_PROG_LTMAIN + + + +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the `libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) +]) + + +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) + + + + + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) +]) + + +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) + + +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) + + +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to `config.status' so that its +# declaration there will have the same value as in `configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) + + +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags="_LT_TAGS"dnl +]) + + +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) + + +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) + + +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) + + +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into `config.status', and then the shell code to quote escape them in +# for loops in `config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Fix-up fallback echo if it was mangled by the above quoting rules. +case \$lt_ECHO in +*'\\\[$]0 --fallback-echo"')dnl " + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` + ;; +esac + +_LT_OUTPUT_LIBTOOL_INIT +]) + + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +cat >"$CONFIG_LT" <<_LTEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate a libtool stub with the current configuration. + +lt_cl_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AS_SHELL_SANITIZE +_AS_PREPARE + +exec AS_MESSAGE_FD>&1 +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to ." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2008 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $[#] != 0 +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try \`$[0] --help' for more information.]) ;; + + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try \`$[0] --help' for more information.]) ;; + esac + shift +done + +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +if test "$no_create" != yes; then + lt_cl_success=: + test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" + exec AS_MESSAGE_LOG_FD>/dev/null + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false + exec AS_MESSAGE_LOG_FD>>config.log + $lt_cl_success || AS_EXIT(1) +fi +])# LT_OUTPUT + + +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +_LT_COPYING +_LT_LIBTOOL_TAGS + +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# 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 +_LT_EOF + ;; + esac + + _LT_PROG_LTMAIN + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + _LT_PROG_XSI_SHELLFNS + + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" + +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG + + +# LT_SUPPORTED_TAG(TAG) +# --------------------- +# Trace this macro to discover what tags are supported by the libtool +# --tag option, using: +# autoconf --trace 'LT_SUPPORTED_TAG:$1' +AC_DEFUN([LT_SUPPORTED_TAG], []) + + +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) + + +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG + + +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG + + +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) + + +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac +]) + + +# _LT_DARWIN_LINKER_FEATURES +# -------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=echo + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + m4_if([$1], [CXX], +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) + +# _LT_SYS_MODULE_PATH_AIX +# ----------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_SYS_MODULE_PATH_AIX + + +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_SHELL_INIT + + +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[_LT_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$lt_ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +ECHO=${lt_ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then + # Yippee, $ECHO works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat <<_LT_EOF +[$]* +_LT_EOF + exit 0 +fi + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test -z "$lt_ECHO"; then + if test "X${echo_test_string+set}" != Xset; then + # find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... + if { echo_test_string=`eval $cmd`; } 2>/dev/null && + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null + then + break + fi + done + fi + + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : + else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + ECHO="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$ECHO" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + ECHO='print -r' + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + ECHO='printf %s\n' + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + ECHO=echo + fi + fi + fi + fi + fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +lt_ECHO=$ECHO +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(lt_ECHO) +]) +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], + [An echo program that does not interpret backslashes]) +])# _LT_PROG_ECHO_BACKSLASH + + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" +])# _LT_ENABLE_LOCK + + +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[AC_CHECK_TOOL(AR, ar, false) +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1]) + +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +])# _LT_CMD_OLD_ARCHIVE + + +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) + +if test x"[$]$2" = xyes; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) + + +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ + = "XX$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN + +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) + + +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN + + +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line __oline__ "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF + + +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) + + +# _LT_COMPILER_C_O([TAGNAME]) +# --------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O + + +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) + +hard_links="nottested" +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS + + +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR + + +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH + + +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB + + +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` + else + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[[4-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[123]]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[[3-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # Some binutils ld are patched to set DT_RUNPATH + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], + [Run-time system search path for libraries]) +])# _LT_SYS_DYNAMIC_LINKER + + +# _LT_PATH_TOOL_PREFIX(TOOL) +# -------------------------- +# find a file program which can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX + +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) + + +# _LT_PATH_MAGIC +# -------------- +# find a file program which can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC + + +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl + +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 "