CB-10085 Implement and expose PlatformApi for OS X
Project: http://git-wip-us.apache.org/repos/asf/cordova-osx/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-osx/commit/4f8d066f Tree: http://git-wip-us.apache.org/repos/asf/cordova-osx/tree/4f8d066f Diff: http://git-wip-us.apache.org/repos/asf/cordova-osx/diff/4f8d066f Branch: refs/heads/master Commit: 4f8d066f4f3f6f1292ef7eaf80eaed71ced20fd7 Parents: 0ba44e4 Author: Tobias Bocanegra <[email protected]> Authored: Tue Dec 15 09:47:34 2015 -0800 Committer: Tobias Bocanegra <[email protected]> Committed: Tue Dec 15 09:47:34 2015 -0800 ---------------------------------------------------------------------- .../Classes/Commands/CDVConfigParser.m | 2 +- RELEASENOTES.md | 5 +- bin/apple_osx_version.bat | 26 - bin/apple_xcode_version.bat | 26 - bin/check_reqs | 4 +- bin/check_reqs.bat | 25 - bin/create | 42 +- bin/create.bat | 26 - bin/lib/check_reqs.js | 44 +- bin/lib/create.js | 101 +- bin/lib/versions.js | 46 +- bin/node_modules/cordova-common/.jscs.json | 24 + bin/node_modules/cordova-common/.jshintignore | 1 + bin/node_modules/cordova-common/.npmignore | 2 + bin/node_modules/cordova-common/.ratignore | 2 + bin/node_modules/cordova-common/README.md | 149 + bin/node_modules/cordova-common/RELEASENOTES.md | 34 + .../cordova-common/cordova-common.js | 42 + .../cordova-common/node_modules/.bin/semver | 1 + .../cordova-common/node_modules/.bin/shjs | 1 + .../node_modules/bplist-parser/.npmignore | 8 + .../node_modules/bplist-parser/README.md | 47 + .../node_modules/bplist-parser/bplistParser.js | 337 + .../node_modules/bplist-parser/package.json | 52 + .../bplist-parser/test/airplay.bplist | Bin 0 -> 341 bytes .../bplist-parser/test/iTunes-small.bplist | Bin 0 -> 24433 bytes .../bplist-parser/test/parseTest.js | 141 + .../bplist-parser/test/sample1.bplist | Bin 0 -> 605 bytes .../bplist-parser/test/sample2.bplist | Bin 0 -> 384 bytes .../node_modules/bplist-parser/test/uid.bplist | Bin 0 -> 365 bytes .../bplist-parser/test/utf16.bplist | Bin 0 -> 1273 bytes .../bplist-parser/test/utf16_chinese.plist | Bin 0 -> 2362 bytes .../cordova-registry-mapper/.npmignore | 1 + .../cordova-registry-mapper/.travis.yml | 7 + .../cordova-registry-mapper/README.md | 14 + .../cordova-registry-mapper/index.js | 199 + .../node_modules/.bin/tape | 1 + .../node_modules/tape/.npmignore | 1 + .../node_modules/tape/.travis.yml | 4 + .../node_modules/tape/LICENSE | 18 + .../node_modules/tape/bin/tape | 14 + .../node_modules/tape/example/array.js | 35 + .../node_modules/tape/example/fail.js | 35 + .../node_modules/tape/example/nested.js | 51 + .../node_modules/tape/example/nested_fail.js | 51 + .../node_modules/tape/example/not_enough.js | 35 + .../node_modules/tape/example/static/build.sh | 2 + .../node_modules/tape/example/static/index.html | 21 + .../node_modules/tape/example/static/server.js | 4 + .../node_modules/tape/example/stream/object.js | 10 + .../node_modules/tape/example/stream/tap.js | 8 + .../node_modules/tape/example/stream/test/x.js | 5 + .../node_modules/tape/example/stream/test/y.js | 11 + .../node_modules/tape/example/throw.js | 10 + .../node_modules/tape/example/timing.js | 12 + .../node_modules/tape/example/too_many.js | 35 + .../node_modules/tape/example/two.js | 18 + .../node_modules/tape/index.js | 140 + .../node_modules/tape/lib/default_stream.js | 31 + .../node_modules/tape/lib/results.js | 189 + .../node_modules/tape/lib/test.js | 496 + .../tape/node_modules/deep-equal/.travis.yml | 4 + .../tape/node_modules/deep-equal/LICENSE | 18 + .../tape/node_modules/deep-equal/example/cmp.js | 11 + .../tape/node_modules/deep-equal/index.js | 94 + .../node_modules/deep-equal/lib/is_arguments.js | 20 + .../tape/node_modules/deep-equal/lib/keys.js | 9 + .../tape/node_modules/deep-equal/package.json | 84 + .../node_modules/deep-equal/readme.markdown | 61 + .../tape/node_modules/deep-equal/test/cmp.js | 89 + .../tape/node_modules/defined/.travis.yml | 4 + .../tape/node_modules/defined/LICENSE | 18 + .../node_modules/defined/example/defined.js | 4 + .../tape/node_modules/defined/index.js | 5 + .../tape/node_modules/defined/package.json | 60 + .../tape/node_modules/defined/readme.markdown | 51 + .../tape/node_modules/defined/test/def.js | 22 + .../tape/node_modules/glob/.npmignore | 2 + .../tape/node_modules/glob/.travis.yml | 3 + .../node_modules/tape/node_modules/glob/LICENSE | 27 + .../tape/node_modules/glob/README.md | 250 + .../tape/node_modules/glob/examples/g.js | 9 + .../node_modules/glob/examples/usr-local.js | 9 + .../node_modules/tape/node_modules/glob/glob.js | 728 + .../glob/node_modules/minimatch/.npmignore | 1 + .../glob/node_modules/minimatch/LICENSE | 23 + .../glob/node_modules/minimatch/README.md | 218 + .../glob/node_modules/minimatch/minimatch.js | 1061 ++ .../minimatch/node_modules/lru-cache/.npmignore | 1 + .../node_modules/lru-cache/.travis.yml | 8 + .../node_modules/lru-cache/CONTRIBUTORS | 14 + .../minimatch/node_modules/lru-cache/LICENSE | 15 + .../minimatch/node_modules/lru-cache/README.md | 119 + .../node_modules/lru-cache/lib/lru-cache.js | 318 + .../node_modules/lru-cache/package.json | 58 + .../node_modules/lru-cache/test/basic.js | 396 + .../node_modules/lru-cache/test/foreach.js | 120 + .../node_modules/lru-cache/test/memory-leak.js | 51 + .../node_modules/lru-cache/test/serialize.js | 216 + .../minimatch/node_modules/sigmund/LICENSE | 15 + .../minimatch/node_modules/sigmund/README.md | 53 + .../minimatch/node_modules/sigmund/bench.js | 283 + .../minimatch/node_modules/sigmund/package.json | 60 + .../minimatch/node_modules/sigmund/sigmund.js | 39 + .../node_modules/sigmund/test/basic.js | 24 + .../glob/node_modules/minimatch/package.json | 57 + .../glob/node_modules/minimatch/test/basic.js | 399 + .../node_modules/minimatch/test/brace-expand.js | 33 + .../glob/node_modules/minimatch/test/caching.js | 14 + .../node_modules/minimatch/test/defaults.js | 274 + .../test/extglob-ending-with-state-char.js | 8 + .../tape/node_modules/glob/package.json | 58 + .../tape/node_modules/glob/test/00-setup.js | 176 + .../node_modules/glob/test/bash-comparison.js | 63 + .../node_modules/glob/test/bash-results.json | 351 + .../tape/node_modules/glob/test/cwd-test.js | 55 + .../node_modules/glob/test/globstar-match.js | 19 + .../tape/node_modules/glob/test/mark.js | 118 + .../glob/test/new-glob-optional-options.js | 10 + .../node_modules/glob/test/nocase-nomagic.js | 113 + .../tape/node_modules/glob/test/pause-resume.js | 73 + .../tape/node_modules/glob/test/readme-issue.js | 36 + .../tape/node_modules/glob/test/root-nomount.js | 39 + .../tape/node_modules/glob/test/root.js | 46 + .../tape/node_modules/glob/test/stat.js | 32 + .../tape/node_modules/glob/test/zz-cleanup.js | 11 + .../tape/node_modules/inherits/LICENSE | 16 + .../tape/node_modules/inherits/README.md | 42 + .../tape/node_modules/inherits/inherits.js | 1 + .../node_modules/inherits/inherits_browser.js | 23 + .../tape/node_modules/inherits/package.json | 50 + .../tape/node_modules/inherits/test.js | 25 + .../node_modules/object-inspect/.travis.yml | 4 + .../tape/node_modules/object-inspect/LICENSE | 18 + .../node_modules/object-inspect/example/all.js | 17 + .../object-inspect/example/circular.js | 4 + .../node_modules/object-inspect/example/fn.js | 3 + .../object-inspect/example/inspect.js | 7 + .../tape/node_modules/object-inspect/index.js | 127 + .../node_modules/object-inspect/package.json | 70 + .../node_modules/object-inspect/readme.markdown | 59 + .../object-inspect/test/browser/dom.js | 15 + .../object-inspect/test/circular.js | 9 + .../tape/node_modules/object-inspect/test/fn.js | 8 + .../node_modules/object-inspect/test/holes.js | 15 + .../node_modules/object-inspect/test/lowbyte.js | 12 + .../node_modules/object-inspect/test/undef.js | 12 + .../tape/node_modules/resumer/.travis.yml | 4 + .../tape/node_modules/resumer/LICENSE | 18 + .../tape/node_modules/resumer/example/resume.js | 8 + .../tape/node_modules/resumer/index.js | 29 + .../tape/node_modules/resumer/package.json | 71 + .../tape/node_modules/resumer/readme.markdown | 59 + .../tape/node_modules/resumer/test/resume.js | 37 + .../tape/node_modules/resumer/test/through.js | 36 + .../tape/node_modules/through/.travis.yml | 5 + .../tape/node_modules/through/LICENSE.APACHE2 | 15 + .../tape/node_modules/through/LICENSE.MIT | 24 + .../tape/node_modules/through/index.js | 108 + .../tape/node_modules/through/package.json | 66 + .../tape/node_modules/through/readme.markdown | 64 + .../tape/node_modules/through/test/async.js | 28 + .../node_modules/through/test/auto-destroy.js | 30 + .../tape/node_modules/through/test/buffering.js | 71 + .../tape/node_modules/through/test/end.js | 45 + .../tape/node_modules/through/test/index.js | 133 + .../node_modules/tape/package.json | 88 + .../node_modules/tape/readme.markdown | 317 + .../node_modules/tape/test/add-subtest-async.js | 11 + .../node_modules/tape/test/array.js | 68 + .../node_modules/tape/test/bound.js | 10 + .../node_modules/tape/test/browser/asserts.js | 9 + .../node_modules/tape/test/child_ordering.js | 54 + .../node_modules/tape/test/circular-things.js | 43 + .../node_modules/tape/test/deep.js | 9 + .../node_modules/tape/test/double_end.js | 27 + .../node_modules/tape/test/double_end/double.js | 9 + .../node_modules/tape/test/end-as-callback.js | 66 + .../node_modules/tape/test/exit.js | 142 + .../node_modules/tape/test/exit/fail.js | 35 + .../node_modules/tape/test/exit/ok.js | 35 + .../node_modules/tape/test/exit/second.js | 11 + .../node_modules/tape/test/exit/too_few.js | 35 + .../node_modules/tape/test/fail.js | 68 + .../node_modules/tape/test/many.js | 8 + .../node_modules/tape/test/max_listeners.js | 7 + .../tape/test/max_listeners/source.js | 5 + .../tape/test/nested-async-plan-noend.js | 36 + .../tape/test/nested-sync-noplan-noend.js | 50 + .../node_modules/tape/test/nested.js | 89 + .../node_modules/tape/test/nested2.js | 19 + .../node_modules/tape/test/no_callback.js | 3 + .../node_modules/tape/test/only.js | 53 + .../node_modules/tape/test/only2.js | 9 + .../node_modules/tape/test/only3.js | 15 + .../node_modules/tape/test/order.js | 17 + .../node_modules/tape/test/plan_optional.js | 15 + .../node_modules/tape/test/skip.js | 46 + .../node_modules/tape/test/subcount.js | 14 + .../node_modules/tape/test/subtest_and_async.js | 23 + .../node_modules/tape/test/subtest_plan.js | 21 + .../node_modules/tape/test/throws.js | 20 + .../node_modules/tape/test/timeoutAfter.js | 35 + .../node_modules/tape/test/too_many.js | 69 + .../node_modules/tape/test/undef.js | 32 + .../cordova-registry-mapper/package.json | 51 + .../cordova-registry-mapper/tests/test.js | 11 + .../node_modules/elementtree/.npmignore | 1 + .../node_modules/elementtree/.travis.yml | 10 + .../node_modules/elementtree/CHANGES.md | 39 + .../node_modules/elementtree/LICENSE.txt | 203 + .../node_modules/elementtree/Makefile | 21 + .../node_modules/elementtree/NOTICE | 5 + .../node_modules/elementtree/README.md | 141 + .../node_modules/elementtree/lib/constants.js | 20 + .../node_modules/elementtree/lib/elementpath.js | 343 + .../node_modules/elementtree/lib/elementtree.js | 611 + .../node_modules/elementtree/lib/errors.js | 31 + .../node_modules/elementtree/lib/parser.js | 33 + .../elementtree/lib/parsers/index.js | 1 + .../node_modules/elementtree/lib/parsers/sax.js | 56 + .../node_modules/elementtree/lib/sprintf.js | 86 + .../node_modules/elementtree/lib/treebuilder.js | 60 + .../node_modules/elementtree/lib/utils.js | 72 + .../elementtree/node_modules/sax/AUTHORS | 9 + .../elementtree/node_modules/sax/LICENSE | 23 + .../elementtree/node_modules/sax/README.md | 213 + .../sax/examples/big-not-pretty.xml | 8002 +++++++++ .../node_modules/sax/examples/example.js | 41 + .../node_modules/sax/examples/get-products.js | 58 + .../node_modules/sax/examples/hello-world.js | 4 + .../node_modules/sax/examples/not-pretty.xml | 8 + .../node_modules/sax/examples/pretty-print.js | 74 + .../node_modules/sax/examples/shopping.xml | 2 + .../node_modules/sax/examples/strict.dtd | 870 + .../node_modules/sax/examples/switch-bench.js | 45 + .../node_modules/sax/examples/test.html | 15 + .../node_modules/sax/examples/test.xml | 1254 ++ .../elementtree/node_modules/sax/lib/sax.js | 1006 ++ .../elementtree/node_modules/sax/package.json | 89 + .../node_modules/sax/test/buffer-overrun.js | 25 + .../node_modules/sax/test/cdata-chunked.js | 11 + .../node_modules/sax/test/cdata-end-split.js | 15 + .../node_modules/sax/test/cdata-fake-end.js | 28 + .../node_modules/sax/test/cdata-multiple.js | 15 + .../elementtree/node_modules/sax/test/cdata.js | 10 + .../elementtree/node_modules/sax/test/index.js | 86 + .../node_modules/sax/test/issue-23.js | 43 + .../node_modules/sax/test/issue-30.js | 24 + .../node_modules/sax/test/issue-35.js | 15 + .../node_modules/sax/test/issue-47.js | 13 + .../node_modules/sax/test/issue-49.js | 31 + .../node_modules/sax/test/parser-position.js | 28 + .../elementtree/node_modules/sax/test/script.js | 12 + .../sax/test/self-closing-child-strict.js | 40 + .../node_modules/sax/test/self-closing-child.js | 40 + .../node_modules/sax/test/self-closing-tag.js | 25 + .../node_modules/sax/test/stray-ending.js | 17 + .../sax/test/trailing-non-whitespace.js | 17 + .../node_modules/sax/test/unquoted.js | 17 + .../node_modules/sax/test/xmlns-issue-41.js | 67 + .../node_modules/sax/test/xmlns-rebinding.js | 59 + .../node_modules/sax/test/xmlns-strict.js | 71 + .../node_modules/sax/test/xmlns-unbound.js | 15 + .../test/xmlns-xml-default-prefix-attribute.js | 35 + .../sax/test/xmlns-xml-default-prefix.js | 20 + .../sax/test/xmlns-xml-default-redefine.js | 40 + .../node_modules/elementtree/package.json | 75 + .../elementtree/tests/data/xml1.xml | 17 + .../elementtree/tests/data/xml2.xml | 14 + .../elementtree/tests/test-simple.js | 339 + .../cordova-common/node_modules/glob/LICENSE | 15 + .../cordova-common/node_modules/glob/README.md | 377 + .../cordova-common/node_modules/glob/common.js | 245 + .../cordova-common/node_modules/glob/glob.js | 752 + .../glob/node_modules/inflight/.eslintrc | 17 + .../glob/node_modules/inflight/LICENSE | 15 + .../glob/node_modules/inflight/README.md | 37 + .../glob/node_modules/inflight/inflight.js | 44 + .../inflight/node_modules/wrappy/LICENSE | 15 + .../inflight/node_modules/wrappy/README.md | 36 + .../inflight/node_modules/wrappy/package.json | 52 + .../inflight/node_modules/wrappy/test/basic.js | 51 + .../inflight/node_modules/wrappy/wrappy.js | 33 + .../glob/node_modules/inflight/package.json | 61 + .../glob/node_modules/inflight/test.js | 97 + .../glob/node_modules/inherits/LICENSE | 16 + .../glob/node_modules/inherits/README.md | 42 + .../glob/node_modules/inherits/inherits.js | 1 + .../node_modules/inherits/inherits_browser.js | 23 + .../glob/node_modules/inherits/package.json | 50 + .../glob/node_modules/inherits/test.js | 25 + .../glob/node_modules/minimatch/LICENSE | 15 + .../glob/node_modules/minimatch/README.md | 216 + .../glob/node_modules/minimatch/minimatch.js | 912 + .../node_modules/brace-expansion/.npmignore | 3 + .../node_modules/brace-expansion/README.md | 122 + .../node_modules/brace-expansion/example.js | 8 + .../node_modules/brace-expansion/index.js | 191 + .../node_modules/balanced-match/.npmignore | 2 + .../node_modules/balanced-match/.travis.yml | 3 + .../node_modules/balanced-match/LICENSE.md | 21 + .../node_modules/balanced-match/Makefile | 6 + .../node_modules/balanced-match/README.md | 80 + .../node_modules/balanced-match/example.js | 5 + .../node_modules/balanced-match/index.js | 38 + .../node_modules/balanced-match/package.json | 73 + .../balanced-match/test/balanced.js | 56 + .../node_modules/concat-map/.travis.yml | 4 + .../node_modules/concat-map/LICENSE | 18 + .../node_modules/concat-map/README.markdown | 62 + .../node_modules/concat-map/example/map.js | 6 + .../node_modules/concat-map/index.js | 13 + .../node_modules/concat-map/package.json | 83 + .../node_modules/concat-map/test/map.js | 39 + .../node_modules/brace-expansion/package.json | 75 + .../glob/node_modules/minimatch/package.json | 60 + .../node_modules/glob/node_modules/once/LICENSE | 15 + .../glob/node_modules/once/README.md | 51 + .../once/node_modules/wrappy/LICENSE | 15 + .../once/node_modules/wrappy/README.md | 36 + .../once/node_modules/wrappy/package.json | 52 + .../once/node_modules/wrappy/test/basic.js | 51 + .../once/node_modules/wrappy/wrappy.js | 33 + .../node_modules/glob/node_modules/once/once.js | 21 + .../glob/node_modules/once/package.json | 60 + .../glob/node_modules/once/test/once.js | 23 + .../glob/node_modules/path-is-absolute/index.js | 20 + .../glob/node_modules/path-is-absolute/license | 21 + .../node_modules/path-is-absolute/package.json | 70 + .../node_modules/path-is-absolute/readme.md | 51 + .../node_modules/glob/package.json | 73 + .../cordova-common/node_modules/glob/sync.js | 460 + .../node_modules/osenv/.npmignore | 13 + .../node_modules/osenv/.travis.yml | 9 + .../cordova-common/node_modules/osenv/LICENSE | 15 + .../cordova-common/node_modules/osenv/README.md | 63 + .../osenv/node_modules/os-homedir/index.js | 24 + .../osenv/node_modules/os-homedir/license | 21 + .../osenv/node_modules/os-homedir/package.json | 70 + .../osenv/node_modules/os-homedir/readme.md | 33 + .../osenv/node_modules/os-tmpdir/index.js | 25 + .../osenv/node_modules/os-tmpdir/license | 21 + .../osenv/node_modules/os-tmpdir/package.json | 70 + .../osenv/node_modules/os-tmpdir/readme.md | 36 + .../cordova-common/node_modules/osenv/osenv.js | 72 + .../node_modules/osenv/package.json | 76 + .../node_modules/osenv/test/unix.js | 71 + .../node_modules/osenv/test/windows.js | 74 + .../cordova-common/node_modules/osenv/x.tap | 39 + .../cordova-common/node_modules/q/CHANGES.md | 786 + .../cordova-common/node_modules/q/LICENSE | 18 + .../cordova-common/node_modules/q/README.md | 881 + .../cordova-common/node_modules/q/package.json | 120 + .../cordova-common/node_modules/q/q.js | 2048 +++ .../cordova-common/node_modules/q/queue.js | 35 + .../node_modules/semver/.npmignore | 4 + .../node_modules/semver/.travis.yml | 5 + .../cordova-common/node_modules/semver/LICENSE | 15 + .../node_modules/semver/README.md | 303 + .../node_modules/semver/bin/semver | 133 + .../node_modules/semver/package.json | 51 + .../node_modules/semver/semver.js | 1200 ++ .../node_modules/semver/test/big-numbers.js | 31 + .../node_modules/semver/test/clean.js | 29 + .../node_modules/semver/test/gtr.js | 173 + .../node_modules/semver/test/index.js | 698 + .../node_modules/semver/test/ltr.js | 181 + .../semver/test/major-minor-patch.js | 72 + .../node_modules/shelljs/.documentup.json | 6 + .../node_modules/shelljs/.jshintrc | 7 + .../node_modules/shelljs/.npmignore | 2 + .../node_modules/shelljs/.travis.yml | 6 + .../cordova-common/node_modules/shelljs/LICENSE | 26 + .../node_modules/shelljs/README.md | 579 + .../node_modules/shelljs/RELEASE.md | 9 + .../node_modules/shelljs/bin/shjs | 51 + .../node_modules/shelljs/global.js | 3 + .../cordova-common/node_modules/shelljs/make.js | 56 + .../node_modules/shelljs/package.json | 64 + .../shelljs/scripts/generate-docs.js | 21 + .../node_modules/shelljs/scripts/run-tests.js | 50 + .../node_modules/shelljs/shell.js | 159 + .../node_modules/shelljs/src/cat.js | 43 + .../node_modules/shelljs/src/cd.js | 19 + .../node_modules/shelljs/src/chmod.js | 208 + .../node_modules/shelljs/src/common.js | 203 + .../node_modules/shelljs/src/cp.js | 204 + .../node_modules/shelljs/src/dirs.js | 191 + .../node_modules/shelljs/src/echo.js | 20 + .../node_modules/shelljs/src/error.js | 10 + .../node_modules/shelljs/src/exec.js | 216 + .../node_modules/shelljs/src/find.js | 51 + .../node_modules/shelljs/src/grep.js | 52 + .../node_modules/shelljs/src/ln.js | 53 + .../node_modules/shelljs/src/ls.js | 126 + .../node_modules/shelljs/src/mkdir.js | 68 + .../node_modules/shelljs/src/mv.js | 80 + .../node_modules/shelljs/src/popd.js | 1 + .../node_modules/shelljs/src/pushd.js | 1 + .../node_modules/shelljs/src/pwd.js | 11 + .../node_modules/shelljs/src/rm.js | 163 + .../node_modules/shelljs/src/sed.js | 43 + .../node_modules/shelljs/src/tempdir.js | 56 + .../node_modules/shelljs/src/test.js | 85 + .../node_modules/shelljs/src/to.js | 29 + .../node_modules/shelljs/src/toEnd.js | 29 + .../node_modules/shelljs/src/which.js | 83 + bin/node_modules/cordova-common/package.json | 89 + bin/node_modules/cordova-common/src/.jshintrc | 10 + .../cordova-common/src/ActionStack.js | 85 + .../src/ConfigChanges/ConfigChanges.js | 325 + .../src/ConfigChanges/ConfigFile.js | 208 + .../src/ConfigChanges/ConfigKeeper.js | 65 + .../src/ConfigChanges/munge-util.js | 160 + .../src/ConfigParser/ConfigParser.js | 499 + .../cordova-common/src/ConfigParser/README.md | 86 + .../src/CordovaError/CordovaError.js | 91 + .../CordovaExternalToolErrorContext.js | 48 + .../cordova-common/src/PlatformJson.js | 155 + .../cordova-common/src/PluginInfo/PluginInfo.js | 416 + .../src/PluginInfo/PluginInfoProvider.js | 82 + bin/node_modules/cordova-common/src/events.js | 19 + .../cordova-common/src/superspawn.js | 154 + .../cordova-common/src/util/plist-helpers.js | 101 + .../cordova-common/src/util/xml-helpers.js | 266 + bin/node_modules/glob/LICENSE | 15 - bin/node_modules/glob/README.md | 378 - bin/node_modules/glob/common.js | 245 - bin/node_modules/glob/glob.js | 747 - .../glob/node_modules/inflight/.eslintrc | 17 - .../glob/node_modules/inflight/LICENSE | 15 - .../glob/node_modules/inflight/README.md | 37 - .../glob/node_modules/inflight/inflight.js | 44 - .../inflight/node_modules/wrappy/LICENSE | 15 - .../inflight/node_modules/wrappy/README.md | 36 - .../inflight/node_modules/wrappy/package.json | 36 - .../inflight/node_modules/wrappy/test/basic.js | 51 - .../inflight/node_modules/wrappy/wrappy.js | 33 - .../glob/node_modules/inflight/package.json | 61 - .../glob/node_modules/inflight/test.js | 97 - .../glob/node_modules/inherits/LICENSE | 16 - .../glob/node_modules/inherits/README.md | 42 - .../glob/node_modules/inherits/inherits.js | 1 - .../node_modules/inherits/inherits_browser.js | 23 - .../glob/node_modules/inherits/package.json | 35 - .../glob/node_modules/inherits/test.js | 25 - .../glob/node_modules/minimatch/LICENSE | 15 - .../glob/node_modules/minimatch/README.md | 216 - .../glob/node_modules/minimatch/browser.js | 1113 -- .../glob/node_modules/minimatch/minimatch.js | 867 - .../node_modules/brace-expansion/.npmignore | 2 - .../node_modules/brace-expansion/.travis.yml | 3 - .../node_modules/brace-expansion/README.md | 121 - .../node_modules/brace-expansion/example.js | 8 - .../node_modules/brace-expansion/index.js | 191 - .../node_modules/balanced-match/.npmignore | 2 - .../node_modules/balanced-match/.travis.yml | 4 - .../node_modules/balanced-match/Makefile | 6 - .../node_modules/balanced-match/README.md | 80 - .../node_modules/balanced-match/example.js | 5 - .../node_modules/balanced-match/index.js | 38 - .../node_modules/balanced-match/package.json | 73 - .../balanced-match/test/balanced.js | 56 - .../node_modules/concat-map/.travis.yml | 4 - .../node_modules/concat-map/LICENSE | 18 - .../node_modules/concat-map/README.markdown | 62 - .../node_modules/concat-map/example/map.js | 6 - .../node_modules/concat-map/index.js | 13 - .../node_modules/concat-map/package.json | 83 - .../node_modules/concat-map/test/map.js | 39 - .../node_modules/brace-expansion/package.json | 75 - .../brace-expansion/test/bash-comparison.js | 32 - .../brace-expansion/test/bash-results.txt | 1075 -- .../node_modules/brace-expansion/test/cases.txt | 182 - .../node_modules/brace-expansion/test/dollar.js | 9 - .../brace-expansion/test/empty-option.js | 10 - .../brace-expansion/test/generate.sh | 24 - .../brace-expansion/test/negative-increment.js | 15 - .../node_modules/brace-expansion/test/nested.js | 16 - .../node_modules/brace-expansion/test/order.js | 10 - .../node_modules/brace-expansion/test/pad.js | 13 - .../brace-expansion/test/same-type.js | 7 - .../brace-expansion/test/sequence.js | 50 - .../glob/node_modules/minimatch/package.json | 63 - bin/node_modules/glob/node_modules/once/LICENSE | 15 - .../glob/node_modules/once/README.md | 51 - .../once/node_modules/wrappy/LICENSE | 15 - .../once/node_modules/wrappy/README.md | 36 - .../once/node_modules/wrappy/package.json | 36 - .../once/node_modules/wrappy/test/basic.js | 51 - .../once/node_modules/wrappy/wrappy.js | 33 - bin/node_modules/glob/node_modules/once/once.js | 21 - .../glob/node_modules/once/package.json | 60 - .../glob/node_modules/once/test/once.js | 23 - .../glob/node_modules/path-is-absolute/index.js | 20 - .../glob/node_modules/path-is-absolute/license | 21 - .../node_modules/path-is-absolute/package.json | 70 - .../node_modules/path-is-absolute/readme.md | 51 - bin/node_modules/glob/package.json | 73 - bin/node_modules/glob/sync.js | 459 - bin/node_modules/plist/.jshintrc | 4 + bin/node_modules/plist/.travis.yml | 32 + bin/node_modules/plist/History.md | 112 + bin/node_modules/plist/LICENSE | 24 + bin/node_modules/plist/Makefile | 76 + bin/node_modules/plist/README.md | 113 + bin/node_modules/plist/dist/plist-build.js | 12596 ++++++++++++++ bin/node_modules/plist/dist/plist-parse.js | 3628 ++++ bin/node_modules/plist/dist/plist.js | 14920 +++++++++++++++++ .../plist/examples/browser/index.html | 14 + bin/node_modules/plist/lib/build.js | 136 + bin/node_modules/plist/lib/node.js | 49 + bin/node_modules/plist/lib/parse.js | 200 + bin/node_modules/plist/lib/plist.js | 23 + .../plist/node_modules/base64-js/.travis.yml | 5 + .../plist/node_modules/base64-js/LICENSE.MIT | 21 + .../plist/node_modules/base64-js/README.md | 31 + .../plist/node_modules/base64-js/bench/bench.js | 19 + .../plist/node_modules/base64-js/lib/b64.js | 121 + .../plist/node_modules/base64-js/package.json | 62 + .../node_modules/base64-js/test/convert.js | 52 + .../node_modules/util-deprecate/History.md | 5 + .../plist/node_modules/util-deprecate/LICENSE | 24 + .../plist/node_modules/util-deprecate/README.md | 53 + .../node_modules/util-deprecate/browser.js | 55 + .../plist/node_modules/util-deprecate/node.js | 6 + .../node_modules/util-deprecate/package.json | 52 + .../plist/node_modules/xmlbuilder/.npmignore | 4 + .../plist/node_modules/xmlbuilder/LICENSE | 21 + .../plist/node_modules/xmlbuilder/README.md | 82 + .../node_modules/xmlbuilder/lib/XMLAttribute.js | 32 + .../node_modules/xmlbuilder/lib/XMLBuilder.js | 70 + .../node_modules/xmlbuilder/lib/XMLCData.js | 48 + .../node_modules/xmlbuilder/lib/XMLComment.js | 48 + .../xmlbuilder/lib/XMLDTDAttList.js | 71 + .../xmlbuilder/lib/XMLDTDElement.js | 49 + .../node_modules/xmlbuilder/lib/XMLDTDEntity.js | 85 + .../xmlbuilder/lib/XMLDTDNotation.js | 59 + .../xmlbuilder/lib/XMLDeclaration.js | 70 + .../node_modules/xmlbuilder/lib/XMLDocType.js | 183 + .../node_modules/xmlbuilder/lib/XMLElement.js | 190 + .../node_modules/xmlbuilder/lib/XMLNode.js | 304 + .../xmlbuilder/lib/XMLProcessingInstruction.js | 50 + .../plist/node_modules/xmlbuilder/lib/XMLRaw.js | 48 + .../xmlbuilder/lib/XMLStringifier.js | 163 + .../node_modules/xmlbuilder/lib/XMLText.js | 49 + .../plist/node_modules/xmlbuilder/lib/index.js | 14 + .../node_modules/lodash-node/LICENSE.txt | 22 + .../node_modules/lodash-node/README.md | 44 + .../node_modules/lodash-node/compat/arrays.js | 40 + .../lodash-node/compat/arrays/compact.js | 38 + .../lodash-node/compat/arrays/difference.js | 31 + .../lodash-node/compat/arrays/findIndex.js | 65 + .../lodash-node/compat/arrays/findLastIndex.js | 63 + .../lodash-node/compat/arrays/first.js | 86 + .../lodash-node/compat/arrays/flatten.js | 66 + .../lodash-node/compat/arrays/indexOf.js | 50 + .../lodash-node/compat/arrays/initial.js | 82 + .../lodash-node/compat/arrays/intersection.js | 83 + .../lodash-node/compat/arrays/last.js | 84 + .../lodash-node/compat/arrays/lastIndexOf.js | 54 + .../lodash-node/compat/arrays/pull.js | 57 + .../lodash-node/compat/arrays/range.js | 69 + .../lodash-node/compat/arrays/remove.js | 71 + .../lodash-node/compat/arrays/rest.js | 83 + .../lodash-node/compat/arrays/sortedIndex.js | 77 + .../lodash-node/compat/arrays/union.js | 30 + .../lodash-node/compat/arrays/uniq.js | 69 + .../lodash-node/compat/arrays/without.js | 31 + .../lodash-node/compat/arrays/xor.js | 46 + .../lodash-node/compat/arrays/zip.js | 40 + .../lodash-node/compat/arrays/zipObject.js | 48 + .../node_modules/lodash-node/compat/chaining.js | 17 + .../lodash-node/compat/chaining/chain.js | 41 + .../lodash-node/compat/chaining/tap.js | 35 + .../lodash-node/compat/chaining/wrapperChain.js | 40 + .../compat/chaining/wrapperToString.js | 26 + .../compat/chaining/wrapperValueOf.js | 28 + .../lodash-node/compat/collections.js | 49 + .../lodash-node/compat/collections/at.js | 50 + .../lodash-node/compat/collections/contains.js | 65 + .../lodash-node/compat/collections/countBy.js | 55 + .../lodash-node/compat/collections/every.js | 75 + .../lodash-node/compat/collections/filter.js | 77 + .../lodash-node/compat/collections/find.js | 81 + .../lodash-node/compat/collections/findLast.js | 44 + .../lodash-node/compat/collections/forEach.js | 55 + .../compat/collections/forEachRight.js | 59 + .../lodash-node/compat/collections/groupBy.js | 56 + .../lodash-node/compat/collections/indexBy.js | 54 + .../lodash-node/compat/collections/invoke.js | 47 + .../lodash-node/compat/collections/map.js | 70 + .../lodash-node/compat/collections/max.js | 90 + .../lodash-node/compat/collections/min.js | 90 + .../lodash-node/compat/collections/pluck.js | 33 + .../lodash-node/compat/collections/reduce.js | 67 + .../compat/collections/reduceRight.js | 42 + .../lodash-node/compat/collections/reject.js | 57 + .../lodash-node/compat/collections/sample.js | 52 + .../lodash-node/compat/collections/shuffle.js | 39 + .../lodash-node/compat/collections/size.js | 36 + .../lodash-node/compat/collections/some.js | 76 + .../lodash-node/compat/collections/sortBy.js | 101 + .../lodash-node/compat/collections/toArray.js | 36 + .../lodash-node/compat/collections/where.js | 38 + .../lodash-node/compat/functions.js | 27 + .../lodash-node/compat/functions/after.js | 46 + .../lodash-node/compat/functions/bind.js | 41 + .../lodash-node/compat/functions/bindAll.js | 49 + .../lodash-node/compat/functions/bindKey.js | 52 + .../lodash-node/compat/functions/compose.js | 61 + .../compat/functions/createCallback.js | 81 + .../lodash-node/compat/functions/curry.js | 44 + .../lodash-node/compat/functions/debounce.js | 156 + .../lodash-node/compat/functions/defer.js | 35 + .../lodash-node/compat/functions/delay.js | 36 + .../lodash-node/compat/functions/memoize.js | 71 + .../lodash-node/compat/functions/once.js | 48 + .../lodash-node/compat/functions/partial.js | 34 + .../compat/functions/partialRight.js | 43 + .../lodash-node/compat/functions/throttle.js | 71 + .../lodash-node/compat/functions/wrap.js | 36 + .../node_modules/lodash-node/compat/index.js | 376 + .../lodash-node/compat/internals/arrayPool.js | 13 + .../lodash-node/compat/internals/baseBind.js | 62 + .../lodash-node/compat/internals/baseClone.js | 154 + .../lodash-node/compat/internals/baseCreate.js | 42 + .../compat/internals/baseCreateCallback.js | 80 + .../compat/internals/baseCreateWrapper.js | 78 + .../compat/internals/baseDifference.js | 52 + .../lodash-node/compat/internals/baseEach.js | 28 + .../lodash-node/compat/internals/baseFlatten.js | 52 + .../lodash-node/compat/internals/baseIndexOf.js | 32 + .../lodash-node/compat/internals/baseIsEqual.js | 212 + .../lodash-node/compat/internals/baseMerge.js | 79 + .../lodash-node/compat/internals/baseRandom.js | 29 + .../lodash-node/compat/internals/baseUniq.js | 64 + .../compat/internals/cacheIndexOf.js | 39 + .../lodash-node/compat/internals/cachePush.js | 38 + .../compat/internals/charAtCallback.js | 22 + .../compat/internals/compareAscending.js | 47 + .../compat/internals/createAggregator.js | 45 + .../lodash-node/compat/internals/createCache.js | 45 + .../compat/internals/createIterator.js | 127 + .../compat/internals/createWrapper.js | 106 + .../compat/internals/defaultsIteratorOptions.js | 26 + .../compat/internals/eachIteratorOptions.js | 20 + .../compat/internals/escapeHtmlChar.js | 22 + .../compat/internals/escapeStringChar.js | 33 + .../compat/internals/forOwnIteratorOptions.js | 17 + .../lodash-node/compat/internals/getArray.js | 21 + .../lodash-node/compat/internals/getObject.js | 35 + .../lodash-node/compat/internals/htmlEscapes.js | 26 + .../compat/internals/htmlUnescapes.js | 15 + .../compat/internals/indicatorObject.js | 13 + .../lodash-node/compat/internals/isNative.js | 34 + .../lodash-node/compat/internals/isNode.js | 23 + .../compat/internals/iteratorTemplate.js | 109 + .../lodash-node/compat/internals/keyPrefix.js | 13 + .../compat/internals/largeArraySize.js | 13 + .../compat/internals/lodashWrapper.js | 23 + .../lodash-node/compat/internals/maxPoolSize.js | 13 + .../lodash-node/compat/internals/objectPool.js | 13 + .../lodash-node/compat/internals/objectTypes.js | 20 + .../compat/internals/reEscapedHtml.js | 15 + .../compat/internals/reInterpolate.js | 13 + .../compat/internals/reUnescapedHtml.js | 15 + .../compat/internals/releaseArray.js | 25 + .../compat/internals/releaseObject.js | 29 + .../lodash-node/compat/internals/setBindData.js | 43 + .../compat/internals/shimIsPlainObject.js | 67 + .../lodash-node/compat/internals/shimKeys.js | 27 + .../lodash-node/compat/internals/slice.js | 38 + .../compat/internals/unescapeHtmlChar.js | 22 + .../node_modules/lodash-node/compat/objects.js | 52 + .../lodash-node/compat/objects/assign.js | 55 + .../lodash-node/compat/objects/clone.js | 63 + .../lodash-node/compat/objects/cloneDeep.js | 57 + .../lodash-node/compat/objects/create.js | 48 + .../lodash-node/compat/objects/defaults.js | 34 + .../lodash-node/compat/objects/findKey.js | 65 + .../lodash-node/compat/objects/findLastKey.js | 65 + .../lodash-node/compat/objects/forIn.js | 48 + .../lodash-node/compat/objects/forInRight.js | 57 + .../lodash-node/compat/objects/forOwn.js | 36 + .../lodash-node/compat/objects/forOwnRight.js | 44 + .../lodash-node/compat/objects/functions.js | 37 + .../lodash-node/compat/objects/has.js | 35 + .../lodash-node/compat/objects/invert.js | 37 + .../lodash-node/compat/objects/isArguments.js | 52 + .../lodash-node/compat/objects/isArray.js | 45 + .../lodash-node/compat/objects/isBoolean.js | 37 + .../lodash-node/compat/objects/isDate.js | 36 + .../lodash-node/compat/objects/isElement.js | 27 + .../lodash-node/compat/objects/isEmpty.js | 66 + .../lodash-node/compat/objects/isEqual.js | 54 + .../lodash-node/compat/objects/isFinite.js | 46 + .../lodash-node/compat/objects/isFunction.js | 42 + .../lodash-node/compat/objects/isNaN.js | 42 + .../lodash-node/compat/objects/isNull.js | 30 + .../lodash-node/compat/objects/isNumber.js | 39 + .../lodash-node/compat/objects/isObject.js | 39 + .../lodash-node/compat/objects/isPlainObject.js | 62 + .../lodash-node/compat/objects/isRegExp.js | 37 + .../lodash-node/compat/objects/isString.js | 37 + .../lodash-node/compat/objects/isUndefined.js | 27 + .../lodash-node/compat/objects/keys.js | 42 + .../lodash-node/compat/objects/mapValues.js | 58 + .../lodash-node/compat/objects/merge.js | 97 + .../lodash-node/compat/objects/omit.js | 67 + .../lodash-node/compat/objects/pairs.js | 38 + .../lodash-node/compat/objects/pick.js | 65 + .../lodash-node/compat/objects/transform.js | 67 + .../lodash-node/compat/objects/values.js | 36 + .../node_modules/lodash-node/compat/support.js | 177 + .../lodash-node/compat/utilities.js | 28 + .../lodash-node/compat/utilities/constant.js | 31 + .../lodash-node/compat/utilities/escape.js | 31 + .../lodash-node/compat/utilities/identity.js | 28 + .../lodash-node/compat/utilities/mixin.js | 88 + .../lodash-node/compat/utilities/noConflict.js | 30 + .../lodash-node/compat/utilities/noop.js | 26 + .../lodash-node/compat/utilities/now.js | 28 + .../lodash-node/compat/utilities/parseInt.js | 53 + .../lodash-node/compat/utilities/property.js | 40 + .../lodash-node/compat/utilities/random.js | 73 + .../lodash-node/compat/utilities/result.js | 45 + .../lodash-node/compat/utilities/template.js | 216 + .../compat/utilities/templateSettings.js | 73 + .../lodash-node/compat/utilities/times.js | 46 + .../lodash-node/compat/utilities/unescape.js | 32 + .../lodash-node/compat/utilities/uniqueId.js | 34 + .../node_modules/lodash-node/modern/arrays.js | 40 + .../lodash-node/modern/arrays/compact.js | 38 + .../lodash-node/modern/arrays/difference.js | 31 + .../lodash-node/modern/arrays/findIndex.js | 65 + .../lodash-node/modern/arrays/findLastIndex.js | 63 + .../lodash-node/modern/arrays/first.js | 86 + .../lodash-node/modern/arrays/flatten.js | 66 + .../lodash-node/modern/arrays/indexOf.js | 50 + .../lodash-node/modern/arrays/initial.js | 82 + .../lodash-node/modern/arrays/intersection.js | 83 + .../lodash-node/modern/arrays/last.js | 84 + .../lodash-node/modern/arrays/lastIndexOf.js | 54 + .../lodash-node/modern/arrays/pull.js | 57 + .../lodash-node/modern/arrays/range.js | 69 + .../lodash-node/modern/arrays/remove.js | 71 + .../lodash-node/modern/arrays/rest.js | 83 + .../lodash-node/modern/arrays/sortedIndex.js | 77 + .../lodash-node/modern/arrays/union.js | 30 + .../lodash-node/modern/arrays/uniq.js | 69 + .../lodash-node/modern/arrays/without.js | 31 + .../lodash-node/modern/arrays/xor.js | 46 + .../lodash-node/modern/arrays/zip.js | 40 + .../lodash-node/modern/arrays/zipObject.js | 48 + .../node_modules/lodash-node/modern/chaining.js | 17 + .../lodash-node/modern/chaining/chain.js | 41 + .../lodash-node/modern/chaining/tap.js | 35 + .../lodash-node/modern/chaining/wrapperChain.js | 40 + .../modern/chaining/wrapperToString.js | 26 + .../modern/chaining/wrapperValueOf.js | 29 + .../lodash-node/modern/collections.js | 49 + .../lodash-node/modern/collections/at.js | 46 + .../lodash-node/modern/collections/contains.js | 65 + .../lodash-node/modern/collections/countBy.js | 55 + .../lodash-node/modern/collections/every.js | 74 + .../lodash-node/modern/collections/filter.js | 76 + .../lodash-node/modern/collections/find.js | 80 + .../lodash-node/modern/collections/findLast.js | 44 + .../lodash-node/modern/collections/forEach.js | 55 + .../modern/collections/forEachRight.js | 52 + .../lodash-node/modern/collections/groupBy.js | 56 + .../lodash-node/modern/collections/indexBy.js | 54 + .../lodash-node/modern/collections/invoke.js | 47 + .../lodash-node/modern/collections/map.js | 70 + .../lodash-node/modern/collections/max.js | 91 + .../lodash-node/modern/collections/min.js | 91 + .../lodash-node/modern/collections/pluck.js | 33 + .../lodash-node/modern/collections/reduce.js | 67 + .../modern/collections/reduceRight.js | 42 + .../lodash-node/modern/collections/reject.js | 57 + .../lodash-node/modern/collections/sample.js | 49 + .../lodash-node/modern/collections/shuffle.js | 39 + .../lodash-node/modern/collections/size.js | 36 + .../lodash-node/modern/collections/some.js | 76 + .../lodash-node/modern/collections/sortBy.js | 101 + .../lodash-node/modern/collections/toArray.js | 33 + .../lodash-node/modern/collections/where.js | 38 + .../lodash-node/modern/functions.js | 27 + .../lodash-node/modern/functions/after.js | 46 + .../lodash-node/modern/functions/bind.js | 40 + .../lodash-node/modern/functions/bindAll.js | 49 + .../lodash-node/modern/functions/bindKey.js | 52 + .../lodash-node/modern/functions/compose.js | 61 + .../modern/functions/createCallback.js | 81 + .../lodash-node/modern/functions/curry.js | 44 + .../lodash-node/modern/functions/debounce.js | 156 + .../lodash-node/modern/functions/defer.js | 35 + .../lodash-node/modern/functions/delay.js | 36 + .../lodash-node/modern/functions/memoize.js | 71 + .../lodash-node/modern/functions/once.js | 48 + .../lodash-node/modern/functions/partial.js | 34 + .../modern/functions/partialRight.js | 43 + .../lodash-node/modern/functions/throttle.js | 71 + .../lodash-node/modern/functions/wrap.js | 36 + .../node_modules/lodash-node/modern/index.js | 354 + .../lodash-node/modern/internals/arrayPool.js | 13 + .../lodash-node/modern/internals/baseBind.js | 62 + .../lodash-node/modern/internals/baseClone.js | 152 + .../lodash-node/modern/internals/baseCreate.js | 42 + .../modern/internals/baseCreateCallback.js | 80 + .../modern/internals/baseCreateWrapper.js | 78 + .../modern/internals/baseDifference.js | 52 + .../lodash-node/modern/internals/baseFlatten.js | 52 + .../lodash-node/modern/internals/baseIndexOf.js | 32 + .../lodash-node/modern/internals/baseIsEqual.js | 209 + .../lodash-node/modern/internals/baseMerge.js | 79 + .../lodash-node/modern/internals/baseRandom.js | 29 + .../lodash-node/modern/internals/baseUniq.js | 64 + .../modern/internals/cacheIndexOf.js | 39 + .../lodash-node/modern/internals/cachePush.js | 38 + .../modern/internals/charAtCallback.js | 22 + .../modern/internals/compareAscending.js | 47 + .../modern/internals/createAggregator.js | 45 + .../lodash-node/modern/internals/createCache.js | 45 + .../modern/internals/createWrapper.js | 106 + .../modern/internals/escapeHtmlChar.js | 22 + .../modern/internals/escapeStringChar.js | 33 + .../lodash-node/modern/internals/getArray.js | 21 + .../lodash-node/modern/internals/getObject.js | 35 + .../lodash-node/modern/internals/htmlEscapes.js | 26 + .../modern/internals/htmlUnescapes.js | 15 + .../lodash-node/modern/internals/isNative.js | 34 + .../lodash-node/modern/internals/keyPrefix.js | 13 + .../modern/internals/largeArraySize.js | 13 + .../modern/internals/lodashWrapper.js | 23 + .../lodash-node/modern/internals/maxPoolSize.js | 13 + .../lodash-node/modern/internals/objectPool.js | 13 + .../lodash-node/modern/internals/objectTypes.js | 20 + .../modern/internals/reEscapedHtml.js | 15 + .../modern/internals/reInterpolate.js | 13 + .../modern/internals/reUnescapedHtml.js | 15 + .../modern/internals/releaseArray.js | 25 + .../modern/internals/releaseObject.js | 29 + .../lodash-node/modern/internals/setBindData.js | 43 + .../modern/internals/shimIsPlainObject.js | 52 + .../lodash-node/modern/internals/shimKeys.js | 38 + .../lodash-node/modern/internals/slice.js | 38 + .../modern/internals/unescapeHtmlChar.js | 22 + .../node_modules/lodash-node/modern/objects.js | 52 + .../lodash-node/modern/objects/assign.js | 70 + .../lodash-node/modern/objects/clone.js | 63 + .../lodash-node/modern/objects/cloneDeep.js | 57 + .../lodash-node/modern/objects/create.js | 48 + .../lodash-node/modern/objects/defaults.js | 54 + .../lodash-node/modern/objects/findKey.js | 65 + .../lodash-node/modern/objects/findLastKey.js | 65 + .../lodash-node/modern/objects/forIn.js | 54 + .../lodash-node/modern/objects/forInRight.js | 57 + .../lodash-node/modern/objects/forOwn.js | 50 + .../lodash-node/modern/objects/forOwnRight.js | 44 + .../lodash-node/modern/objects/functions.js | 37 + .../lodash-node/modern/objects/has.js | 35 + .../lodash-node/modern/objects/invert.js | 37 + .../lodash-node/modern/objects/isArguments.js | 40 + .../lodash-node/modern/objects/isArray.js | 45 + .../lodash-node/modern/objects/isBoolean.js | 37 + .../lodash-node/modern/objects/isDate.js | 36 + .../lodash-node/modern/objects/isElement.js | 27 + .../lodash-node/modern/objects/isEmpty.js | 63 + .../lodash-node/modern/objects/isEqual.js | 54 + .../lodash-node/modern/objects/isFinite.js | 46 + .../lodash-node/modern/objects/isFunction.js | 27 + .../lodash-node/modern/objects/isNaN.js | 42 + .../lodash-node/modern/objects/isNull.js | 30 + .../lodash-node/modern/objects/isNumber.js | 39 + .../lodash-node/modern/objects/isObject.js | 39 + .../lodash-node/modern/objects/isPlainObject.js | 60 + .../lodash-node/modern/objects/isRegExp.js | 36 + .../lodash-node/modern/objects/isString.js | 37 + .../lodash-node/modern/objects/isUndefined.js | 27 + .../lodash-node/modern/objects/keys.js | 36 + .../lodash-node/modern/objects/mapValues.js | 58 + .../lodash-node/modern/objects/merge.js | 97 + .../lodash-node/modern/objects/omit.js | 67 + .../lodash-node/modern/objects/pairs.js | 38 + .../lodash-node/modern/objects/pick.js | 65 + .../lodash-node/modern/objects/transform.js | 67 + .../lodash-node/modern/objects/values.js | 36 + .../node_modules/lodash-node/modern/support.js | 40 + .../lodash-node/modern/utilities.js | 28 + .../lodash-node/modern/utilities/constant.js | 31 + .../lodash-node/modern/utilities/escape.js | 31 + .../lodash-node/modern/utilities/identity.js | 28 + .../lodash-node/modern/utilities/mixin.js | 88 + .../lodash-node/modern/utilities/noConflict.js | 30 + .../lodash-node/modern/utilities/noop.js | 26 + .../lodash-node/modern/utilities/now.js | 28 + .../lodash-node/modern/utilities/parseInt.js | 53 + .../lodash-node/modern/utilities/property.js | 40 + .../lodash-node/modern/utilities/random.js | 73 + .../lodash-node/modern/utilities/result.js | 45 + .../lodash-node/modern/utilities/template.js | 216 + .../modern/utilities/templateSettings.js | 73 + .../lodash-node/modern/utilities/times.js | 46 + .../lodash-node/modern/utilities/unescape.js | 32 + .../lodash-node/modern/utilities/uniqueId.js | 34 + .../node_modules/lodash-node/package.json | 83 + .../lodash-node/underscore/arrays.js | 35 + .../lodash-node/underscore/arrays/compact.js | 38 + .../lodash-node/underscore/arrays/difference.js | 31 + .../lodash-node/underscore/arrays/first.js | 86 + .../lodash-node/underscore/arrays/flatten.js | 56 + .../lodash-node/underscore/arrays/indexOf.js | 50 + .../lodash-node/underscore/arrays/initial.js | 82 + .../underscore/arrays/intersection.js | 60 + .../lodash-node/underscore/arrays/last.js | 84 + .../underscore/arrays/lastIndexOf.js | 54 + .../lodash-node/underscore/arrays/range.js | 69 + .../lodash-node/underscore/arrays/rest.js | 83 + .../underscore/arrays/sortedIndex.js | 77 + .../lodash-node/underscore/arrays/union.js | 30 + .../lodash-node/underscore/arrays/uniq.js | 69 + .../lodash-node/underscore/arrays/without.js | 31 + .../lodash-node/underscore/arrays/zip.js | 39 + .../lodash-node/underscore/arrays/zipObject.js | 48 + .../lodash-node/underscore/chaining.js | 16 + .../lodash-node/underscore/chaining/chain.js | 41 + .../lodash-node/underscore/chaining/tap.js | 35 + .../underscore/chaining/wrapperChain.js | 40 + .../underscore/chaining/wrapperValueOf.js | 29 + .../lodash-node/underscore/collections.js | 47 + .../underscore/collections/contains.js | 54 + .../underscore/collections/countBy.js | 55 + .../lodash-node/underscore/collections/every.js | 75 + .../underscore/collections/filter.js | 76 + .../lodash-node/underscore/collections/find.js | 81 + .../underscore/collections/findWhere.js | 38 + .../underscore/collections/forEach.js | 55 + .../underscore/collections/forEachRight.js | 51 + .../underscore/collections/groupBy.js | 56 + .../underscore/collections/indexBy.js | 54 + .../underscore/collections/invoke.js | 47 + .../lodash-node/underscore/collections/map.js | 70 + .../lodash-node/underscore/collections/max.js | 86 + .../lodash-node/underscore/collections/min.js | 86 + .../lodash-node/underscore/collections/pluck.js | 33 + .../underscore/collections/reduce.js | 67 + .../underscore/collections/reduceRight.js | 42 + .../underscore/collections/reject.js | 57 + .../underscore/collections/sample.js | 49 + .../underscore/collections/shuffle.js | 39 + .../lodash-node/underscore/collections/size.js | 36 + .../lodash-node/underscore/collections/some.js | 77 + .../underscore/collections/sortBy.js | 86 + .../underscore/collections/toArray.js | 37 + .../lodash-node/underscore/collections/where.js | 44 + .../lodash-node/underscore/functions.js | 24 + .../lodash-node/underscore/functions/after.js | 46 + .../lodash-node/underscore/functions/bind.js | 40 + .../lodash-node/underscore/functions/bindAll.js | 49 + .../lodash-node/underscore/functions/compose.js | 61 + .../underscore/functions/createCallback.js | 67 + .../underscore/functions/debounce.js | 156 + .../lodash-node/underscore/functions/defer.js | 35 + .../lodash-node/underscore/functions/delay.js | 36 + .../lodash-node/underscore/functions/memoize.js | 65 + .../lodash-node/underscore/functions/once.js | 48 + .../lodash-node/underscore/functions/partial.js | 34 + .../underscore/functions/throttle.js | 65 + .../lodash-node/underscore/functions/wrap.js | 36 + .../lodash-node/underscore/index.js | 284 + .../underscore/internals/baseBind.js | 60 + .../underscore/internals/baseCreate.js | 42 + .../underscore/internals/baseCreateCallback.js | 47 + .../underscore/internals/baseCreateWrapper.js | 76 + .../underscore/internals/baseDifference.js | 35 + .../underscore/internals/baseFlatten.js | 52 + .../underscore/internals/baseIndexOf.js | 32 + .../underscore/internals/baseIsEqual.js | 149 + .../underscore/internals/baseRandom.js | 29 + .../underscore/internals/baseUniq.js | 45 + .../underscore/internals/compareAscending.js | 47 + .../underscore/internals/createAggregator.js | 45 + .../underscore/internals/createWrapper.js | 60 + .../underscore/internals/escapeHtmlChar.js | 22 + .../underscore/internals/escapeStringChar.js | 33 + .../underscore/internals/htmlEscapes.js | 26 + .../underscore/internals/htmlUnescapes.js | 15 + .../underscore/internals/indicatorObject.js | 13 + .../underscore/internals/isNative.js | 34 + .../underscore/internals/keyPrefix.js | 13 + .../underscore/internals/lodashWrapper.js | 23 + .../underscore/internals/objectTypes.js | 20 + .../underscore/internals/reEscapedHtml.js | 15 + .../underscore/internals/reInterpolate.js | 13 + .../underscore/internals/reUnescapedHtml.js | 15 + .../underscore/internals/shimKeys.js | 38 + .../lodash-node/underscore/internals/slice.js | 38 + .../underscore/internals/unescapeHtmlChar.js | 22 + .../lodash-node/underscore/objects.js | 42 + .../lodash-node/underscore/objects/assign.js | 58 + .../lodash-node/underscore/objects/clone.js | 61 + .../lodash-node/underscore/objects/defaults.js | 49 + .../lodash-node/underscore/objects/forIn.js | 54 + .../lodash-node/underscore/objects/forOwn.js | 53 + .../lodash-node/underscore/objects/functions.js | 37 + .../lodash-node/underscore/objects/has.js | 35 + .../lodash-node/underscore/objects/invert.js | 37 + .../underscore/objects/isArguments.js | 51 + .../lodash-node/underscore/objects/isArray.js | 45 + .../lodash-node/underscore/objects/isBoolean.js | 37 + .../lodash-node/underscore/objects/isDate.js | 36 + .../lodash-node/underscore/objects/isElement.js | 27 + .../lodash-node/underscore/objects/isEmpty.js | 54 + .../lodash-node/underscore/objects/isEqual.js | 53 + .../lodash-node/underscore/objects/isFinite.js | 46 + .../underscore/objects/isFunction.js | 42 + .../lodash-node/underscore/objects/isNaN.js | 42 + .../lodash-node/underscore/objects/isNull.js | 30 + .../lodash-node/underscore/objects/isNumber.js | 39 + .../lodash-node/underscore/objects/isObject.js | 39 + .../lodash-node/underscore/objects/isRegExp.js | 37 + .../lodash-node/underscore/objects/isString.js | 37 + .../underscore/objects/isUndefined.js | 27 + .../lodash-node/underscore/objects/keys.js | 36 + .../lodash-node/underscore/objects/omit.js | 57 + .../lodash-node/underscore/objects/pairs.js | 38 + .../lodash-node/underscore/objects/pick.js | 53 + .../lodash-node/underscore/objects/values.js | 36 + .../lodash-node/underscore/support.js | 46 + .../lodash-node/underscore/utilities.js | 26 + .../lodash-node/underscore/utilities/escape.js | 31 + .../underscore/utilities/identity.js | 28 + .../lodash-node/underscore/utilities/mixin.js | 74 + .../underscore/utilities/noConflict.js | 30 + .../lodash-node/underscore/utilities/noop.js | 26 + .../lodash-node/underscore/utilities/now.js | 28 + .../underscore/utilities/property.js | 40 + .../lodash-node/underscore/utilities/random.js | 58 + .../lodash-node/underscore/utilities/result.js | 45 + .../underscore/utilities/template.js | 163 + .../underscore/utilities/templateSettings.js | 73 + .../lodash-node/underscore/utilities/times.js | 46 + .../underscore/utilities/unescape.js | 32 + .../underscore/utilities/uniqueId.js | 34 + .../plist/node_modules/xmlbuilder/package.json | 65 + .../plist/node_modules/xmldom/.npmignore | 5 + .../plist/node_modules/xmldom/.travis.yml | 22 + .../plist/node_modules/xmldom/LICENSE | 8 + .../plist/node_modules/xmldom/__package__.js | 4 + .../plist/node_modules/xmldom/component.json | 10 + .../plist/node_modules/xmldom/dom-parser.js | 255 + .../plist/node_modules/xmldom/dom.js | 1138 ++ .../plist/node_modules/xmldom/package.json | 96 + .../plist/node_modules/xmldom/readme.md | 219 + .../plist/node_modules/xmldom/sax.js | 584 + bin/node_modules/plist/package.json | 90 + bin/node_modules/plist/test/build.js | 133 + bin/node_modules/plist/test/parse.js | 448 + bin/node_modules/underscore/LICENSE | 23 + bin/node_modules/underscore/README.md | 22 + bin/node_modules/underscore/package.json | 70 + bin/node_modules/underscore/underscore-min.js | 6 + bin/node_modules/underscore/underscore-min.map | 1 + bin/node_modules/underscore/underscore.js | 1548 ++ bin/node_modules/unorm/LICENSE.md | 42 + bin/node_modules/unorm/README.md | 118 + bin/node_modules/unorm/lib/unorm.js | 442 + bin/node_modules/unorm/package.json | 69 + bin/node_modules/xcode/.npmignore | 1 + bin/node_modules/xcode/AUTHORS | 6 + bin/node_modules/xcode/LICENSE | 14 + bin/node_modules/xcode/Makefile | 5 + bin/node_modules/xcode/README.md | 42 + bin/node_modules/xcode/index.js | 1 + bin/node_modules/xcode/lib/parseJob.js | 15 + bin/node_modules/xcode/lib/parser/pbxproj.js | 1843 ++ bin/node_modules/xcode/lib/parser/pbxproj.pegjs | 273 + bin/node_modules/xcode/lib/pbxFile.js | 194 + bin/node_modules/xcode/lib/pbxProject.js | 1623 ++ bin/node_modules/xcode/lib/pbxWriter.js | 282 + bin/node_modules/xcode/node_modules/.bin/pegjs | 1 + .../xcode/node_modules/node-uuid/.npmignore | 2 + .../xcode/node_modules/node-uuid/LICENSE.md | 3 + .../xcode/node_modules/node-uuid/README.md | 199 + .../node_modules/node-uuid/benchmark/README.md | 53 + .../node_modules/node-uuid/benchmark/bench.gnu | 174 + .../node_modules/node-uuid/benchmark/bench.sh | 34 + .../node-uuid/benchmark/benchmark-native.c | 34 + .../node-uuid/benchmark/benchmark.js | 84 + .../xcode/node_modules/node-uuid/package.json | 60 + .../node_modules/node-uuid/test/compare_v1.js | 63 + .../xcode/node_modules/node-uuid/test/test.html | 17 + .../xcode/node_modules/node-uuid/test/test.js | 240 + .../xcode/node_modules/node-uuid/uuid.js | 249 + .../xcode/node_modules/pegjs/CHANGELOG | 146 + .../xcode/node_modules/pegjs/LICENSE | 22 + .../xcode/node_modules/pegjs/README.md | 226 + .../xcode/node_modules/pegjs/VERSION | 1 + .../xcode/node_modules/pegjs/bin/pegjs | 142 + .../pegjs/examples/arithmetics.pegjs | 22 + .../xcode/node_modules/pegjs/examples/css.pegjs | 554 + .../pegjs/examples/javascript.pegjs | 1530 ++ .../node_modules/pegjs/examples/json.pegjs | 120 + .../xcode/node_modules/pegjs/lib/peg.js | 5141 ++++++ .../xcode/node_modules/pegjs/package.json | 57 + bin/node_modules/xcode/package.json | 90 + .../__NON-CLI__.xcodeproj/project.pbxproj | 469 - .../__PROJECT_NAME__.xcodeproj/project.pbxproj | 469 + .../__PROJECT_NAME__-Info.plist | 4 +- .../project/__PROJECT_NAME__/config.xml | 1 + bin/templates/scripts/cordova/Api.js | 294 + bin/templates/scripts/cordova/build | 40 +- .../scripts/cordova/build-release.xcconfig | 2 +- bin/templates/scripts/cordova/build.xcconfig | 7 +- bin/templates/scripts/cordova/clean | 13 +- bin/templates/scripts/cordova/clean.bat | 25 - bin/templates/scripts/cordova/defaults.xml | 36 + .../scripts/cordova/lib/ConsoleLogger.js | 75 + bin/templates/scripts/cordova/lib/build.js | 96 +- bin/templates/scripts/cordova/lib/clean.js | 8 +- .../scripts/cordova/lib/configMunger.js | 39 + .../scripts/cordova/lib/copy-www-build-step.js | 14 +- .../scripts/cordova/lib/plugman/Plugman.js | 244 + .../cordova/lib/plugman/pluginHandlers.js | 322 + bin/templates/scripts/cordova/lib/prepare.js | 388 + .../scripts/cordova/lib/projectFile.js | 129 + bin/templates/scripts/cordova/lib/run.js | 36 +- .../scripts/cordova/lib/start-emulator | 30 + bin/templates/scripts/cordova/run | 39 +- bin/templates/scripts/cordova/run.bat | 25 - bin/templates/scripts/cordova/version | 7 +- bin/templates/scripts/cordova/version.bat | 26 - bin/tests | 27 - bin/tests/autotest.coffee | 24 + bin/tests/create.coffee | 34 + bin/tests/debug.coffee | 18 + bin/tests/test.coffee | 18 + bin/tests_old | 27 + bin/uncrustify.sh | 2 +- bin/update | 26 +- bin/update.bat | 26 - bin/update_cordova_subproject.bat | 26 - package.json | 2 +- .../CordovaLibApp/www/index.html | 1 - 1147 files changed, 126648 insertions(+), 8629 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/CordovaLib/CordovaLib/Classes/Commands/CDVConfigParser.m ---------------------------------------------------------------------- diff --git a/CordovaLib/CordovaLib/Classes/Commands/CDVConfigParser.m b/CordovaLib/CordovaLib/Classes/Commands/CDVConfigParser.m index a345cdc..76326b9 100644 --- a/CordovaLib/CordovaLib/Classes/Commands/CDVConfigParser.m +++ b/CordovaLib/CordovaLib/Classes/Commands/CDVConfigParser.m @@ -76,7 +76,7 @@ } else if ((featureName != nil) && [elementName isEqualToString:@"param"]) { NSString* paramName = [attributeDict[@"name"] lowercaseString]; id value = attributeDict[@"value"]; - if ([paramName isEqualToString:@"ios-package"]) { + if ([paramName isEqualToString:@"ios-package"] || [paramName isEqualToString:@"osx-package"]) { pluginsDict[featureName] = value; } BOOL paramIsOnload = ([paramName isEqualToString:@"onload"] && [@"true" isEqualToString : value]); http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/RELEASENOTES.md ---------------------------------------------------------------------- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 3bee18c..e672ea7 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -22,10 +22,12 @@ Cordova is a framework that enables developers to include the Cordova API in their OS X application projects easily, and also create new Cordova-based OS X application projects through the command-line. +### 4.0.0 (20151231) ### +* Official release. + ### 3.5.0 (20140418) ### * Fixed layout and updated scripts to work with cli - ### 3.0.0 (20130718) ### * [CB-3179] Change <plugin> to <feature> in config.xml and remove deprecation notice in OSX @@ -52,7 +54,6 @@ <br /> ### 2.6.0 (20130401) ### - * Initial release * Supports third-party plugins (Plugin Development model is the same as iOS) * Only two core plugins are supported currently (Device and NetworkStatus) http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/bin/apple_osx_version.bat ---------------------------------------------------------------------- diff --git a/bin/apple_osx_version.bat b/bin/apple_osx_version.bat deleted file mode 100644 index d2acec7..0000000 --- a/bin/apple_osx_version.bat +++ /dev/null @@ -1,26 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License. - -@ECHO OFF -SET script="%~dp0apple_osx_version" -IF EXIST %script% ( - node %script% %* -) ELSE ( - ECHO. - ECHO ERROR: Could not find 'apple_osx_version' script in 'bin' folder, aborting...>&2 - EXIT /B 1 -) http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/bin/apple_xcode_version.bat ---------------------------------------------------------------------- diff --git a/bin/apple_xcode_version.bat b/bin/apple_xcode_version.bat deleted file mode 100644 index c19f911..0000000 --- a/bin/apple_xcode_version.bat +++ /dev/null @@ -1,26 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License. - -@ECHO OFF -SET script="%~dp0apple_xcode_version" -IF EXIST %script% ( - node %script% %* -) ELSE ( - ECHO. - ECHO ERROR: Could not find 'apple_xcode_version' script in 'bin' folder, aborting...>&2 - EXIT /B 1 -) http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/bin/check_reqs ---------------------------------------------------------------------- diff --git a/bin/check_reqs b/bin/check_reqs index ba68ceb..d101ccd 100755 --- a/bin/check_reqs +++ b/bin/check_reqs @@ -23,10 +23,10 @@ var check_reqs = require('./lib/check_reqs'); // check for help flag if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(process.argv[2]) > -1) { - check_reqs.help(); + console.log('Usage: check_reqs or node check_reqs'); } else { check_reqs.run().done(null, function (err) { console.error('Failed to check requirements due to ' + err); process.exit(2); }); -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/bin/check_reqs.bat ---------------------------------------------------------------------- diff --git a/bin/check_reqs.bat b/bin/check_reqs.bat deleted file mode 100644 index 683914b..0000000 --- a/bin/check_reqs.bat +++ /dev/null @@ -1,25 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License -@ECHO OFF -SET script_path="%~dp0check_reqs" -IF EXIST %script_path% ( - node "%script_path%" %* -) ELSE ( - ECHO. - ECHO ERROR: Could not find 'check_reqs' script in 'bin' folder, aborting...>&2 - EXIT /B 1 -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/bin/create ---------------------------------------------------------------------- diff --git a/bin/create b/bin/create index e00b7ab..9431999 100755 --- a/bin/create +++ b/bin/create @@ -20,7 +20,7 @@ */ /* - * create a Cordova/iOS project + * create a Cordova/OSX project * * USAGE * ./create <path_to_new_project> <package_name> <project_name> @@ -29,27 +29,37 @@ * ./create ~/Desktop/radness org.apache.cordova.radness Radness */ -var create = require('./lib/create'); +var path = require('path'); +var ConfigParser = require('cordova-common').ConfigParser; +var Api = require('./templates/scripts/cordova/Api'); + var argv = require('nopt')({ 'help' : Boolean, - 'cli' : Boolean, - 'shared' : Boolean, // alias for --link 'link' : Boolean }); var projectPath = argv.argv.remain[0]; if (argv.help || !projectPath) { - create.createHelp(); -} else { - var packageName = argv.argv.remain[1]; - var projectName = argv.argv.remain[2]; - var opts = { - project_template_dir: argv.argv.remain[3], - cli: argv.cli, - link: argv.link || argv.shared - }; - - create.createProject(projectPath, packageName, projectName, opts) - .done(); + console.log('Usage: $0 [--link] <path_to_new_project> <package_name> <project_name> [<project_template_dir>]'); + console.log(' --link (optional): Link directly against the shared copy of the CordovaLib instead of a copy of it.'); + console.log(' <path_to_new_project>: Path to your new Cordova OSX project'); + console.log(' <package_name>: Package name, following reverse-domain style convention'); + console.log(' <project_name>: Project name'); + console.log(' <project_template_dir>: Path to project template (override).'); + process.exit(0); } + +// use default configuration file from project template +var config = new ConfigParser(path.resolve(__dirname, 'templates/project/__PROJECT_NAME__/config.xml')); + +// apply overrides (package and project names +if (argv.argv.remain[1]) config.setPackageName(argv.argv.remain[1]); +if (argv.argv.remain[2]) config.setName(argv.argv.remain[2]); + +var options = { + link: argv.link, + customTemplate: argv.argv.remain[3] +}; + +Api.createPlatform(projectPath, config, options).done(); http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/bin/create.bat ---------------------------------------------------------------------- diff --git a/bin/create.bat b/bin/create.bat deleted file mode 100644 index 43172a6..0000000 --- a/bin/create.bat +++ /dev/null @@ -1,26 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License. - -@ECHO OFF -SET script="%~dp0create" -IF EXIST %script% ( - node %script% %* -) ELSE ( - ECHO. - ECHO ERROR: Could not find 'create' script in 'bin' folder, aborting...>&2 - EXIT /B 1 -) http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/4f8d066f/bin/lib/check_reqs.js ---------------------------------------------------------------------- diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index fe2088c..d3dde27 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -25,16 +25,6 @@ var XCODEBUILD_MIN_VERSION = '6.0.0'; var XCODEBUILD_NOT_FOUND_MESSAGE = 'Please install version ' + XCODEBUILD_MIN_VERSION + ' or greater from App Store'; -var IOS_SIM_MIN_VERSION = '4.0.0'; -var IOS_SIM_NOT_FOUND_MESSAGE = - 'Please download, build and install version ' + IOS_SIM_MIN_VERSION + ' or greater' + - ' from https://github.com/phonegap/ios-sim into your path, or do \'npm install -g ios-sim\''; - -var IOS_DEPLOY_MIN_VERSION = '1.7.0'; -var IOS_DEPLOY_NOT_FOUND_MESSAGE = - 'Please download, build and install version ' + IOS_DEPLOY_MIN_VERSION + ' or greater' + - ' from https://github.com/phonegap/ios-deploy into your path, or do \'npm install -g ios-deploy\''; - /** * Checks if xcode util is available * @return {Promise} Returns a promise either resolved with xcode version or rejected @@ -43,36 +33,16 @@ module.exports.run = module.exports.check_xcodebuild = function () { return checkTool('xcodebuild', XCODEBUILD_MIN_VERSION, XCODEBUILD_NOT_FOUND_MESSAGE); }; -/** - * Checks if ios-deploy util is available - * @return {Promise} Returns a promise either resolved with ios-deploy version or rejected - */ -module.exports.check_ios_deploy = function () { - return checkTool('ios-deploy', IOS_DEPLOY_MIN_VERSION, IOS_DEPLOY_NOT_FOUND_MESSAGE); -}; - -/** - * Checks if ios-sim util is available - * @return {Promise} Returns a promise either resolved with ios-sim version or rejected - */ -module.exports.check_ios_sim = function () { - return checkTool('ios-sim', IOS_SIM_MIN_VERSION, IOS_SIM_NOT_FOUND_MESSAGE); -}; - module.exports.check_os = function () { - // Build iOS apps available for OSX platform only, so we reject on others platforms + // Build OSX apps available for OSX platform only, so we reject on others platforms return process.platform === 'darwin' ? Q.resolve(process.platform) : - Q.reject('Cordova tooling for iOS requires Apple OS X'); -}; - -module.exports.help = function () { - console.log('Usage: check_reqs or node check_reqs'); + Q.reject('Cordova tooling for OSX requires Apple OS X'); }; /** * Checks if specific tool is available. - * @param {String} tool Tool name to check. Known tools are 'xcodebuild', 'ios-sim' and 'ios-deploy' + * @param {String} tool Tool name to check. Known tools are 'xcodebuild' * @param {Number} minVersion Min allowed tool version. * @param {String} message Message that will be used to reject promise. * @return {Promise} Returns a promise either resolved with tool version or rejected @@ -118,9 +88,7 @@ module.exports.check_all = function() { var requirements = [ new Requirement('os', 'Apple OS X', true), - new Requirement('xcode', 'Xcode'), - new Requirement('ios-deploy', 'ios-deploy'), - new Requirement('ios-sim', 'ios-sim') + new Requirement('xcode', 'Xcode') ]; var result = []; @@ -128,9 +96,7 @@ module.exports.check_all = function() { var checkFns = [ module.exports.check_os, - module.exports.check_xcodebuild, - module.exports.check_ios_deploy, - module.exports.check_ios_sim + module.exports.check_xcodebuild ]; // Then execute requirement checks one-by-one --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
