coffeecake 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/README.markdown +28 -0
- data/Rakefile +2 -0
- data/bin/ck +16 -0
- data/coffeecake.gemspec +21 -0
- data/lib/coffeecake.rb +4 -0
- data/lib/coffeecake/generators.rb +12 -0
- data/lib/coffeecake/generators/new_generator.rb +55 -0
- data/lib/coffeecake/templates/.gitkeep +0 -0
- data/lib/coffeecake/templates/README.markdown +56 -0
- data/lib/coffeecake/templates/SpecHelper.tt +0 -0
- data/lib/coffeecake/templates/docs_readme +5 -0
- data/lib/coffeecake/templates/jasmine.tt +18 -0
- data/lib/coffeecake/templates/lib.tt +3 -0
- data/lib/coffeecake/templates/spec.tt +3 -0
- data/lib/coffeecake/version.rb +3 -0
- data/lib/thor_register_patch.rb +16 -0
- data/node_modules/.bin/cake +7 -0
- data/node_modules/.bin/coffee +7 -0
- data/node_modules/.bin/docco +8 -0
- data/node_modules/.bin/jasmine +26 -0
- data/node_modules/.bin/jasmine-node +7 -0
- data/node_modules/.bin/uglifycss +127 -0
- data/node_modules/.bin/uglifyjs +317 -0
- data/node_modules/coffee-script/.npmignore +11 -0
- data/node_modules/coffee-script/LICENSE +22 -0
- data/node_modules/coffee-script/README +51 -0
- data/node_modules/coffee-script/Rakefile +78 -0
- data/node_modules/coffee-script/bin/cake +7 -0
- data/node_modules/coffee-script/bin/coffee +7 -0
- data/node_modules/coffee-script/extras/jsl.conf +44 -0
- data/node_modules/coffee-script/lib/coffee-script/browser.js +74 -0
- data/node_modules/coffee-script/lib/coffee-script/cake.js +89 -0
- data/node_modules/coffee-script/lib/coffee-script/coffee-script.js +148 -0
- data/node_modules/coffee-script/lib/coffee-script/command.js +310 -0
- data/node_modules/coffee-script/lib/coffee-script/grammar.js +588 -0
- data/node_modules/coffee-script/lib/coffee-script/helpers.js +72 -0
- data/node_modules/coffee-script/lib/coffee-script/index.js +10 -0
- data/node_modules/coffee-script/lib/coffee-script/lexer.js +687 -0
- data/node_modules/coffee-script/lib/coffee-script/nodes.js +2481 -0
- data/node_modules/coffee-script/lib/coffee-script/optparse.js +122 -0
- data/node_modules/coffee-script/lib/coffee-script/parser.js +670 -0
- data/node_modules/coffee-script/lib/coffee-script/repl.js +149 -0
- data/node_modules/coffee-script/lib/coffee-script/rewriter.js +288 -0
- data/node_modules/coffee-script/lib/coffee-script/scope.js +124 -0
- data/node_modules/coffee-script/npm-install-45965.sh +282 -0
- data/node_modules/coffee-script/package.json +31 -0
- data/node_modules/docco/.gitignore +3 -0
- data/node_modules/docco/Cakefile +27 -0
- data/node_modules/docco/README +13 -0
- data/node_modules/docco/bin/docco +8 -0
- data/node_modules/docco/index.html +143 -0
- data/node_modules/docco/lib/docco.js +155 -0
- data/node_modules/docco/package.json +21 -0
- data/node_modules/docco/resources/docco.css +186 -0
- data/node_modules/docco/resources/docco.jst +58 -0
- data/node_modules/docco/src/docco.coffee +204 -0
- data/node_modules/docco/vendor/showdown.js +1298 -0
- data/node_modules/jasmine-jquery/.gitignore +3 -0
- data/node_modules/jasmine-jquery/MIT.LICENSE +20 -0
- data/node_modules/jasmine-jquery/README.markdown +174 -0
- data/node_modules/jasmine-jquery/SpecRunner.html +24 -0
- data/node_modules/jasmine-jquery/index.js +15 -0
- data/node_modules/jasmine-jquery/lib/jasmine-jquery.js +288 -0
- data/node_modules/jasmine-jquery/package.json +19 -0
- data/node_modules/jasmine-jquery/spec/fixtures/real_non_mocked_fixture.html +1 -0
- data/node_modules/jasmine-jquery/spec/suites/jasmine-jquery-spec.js +691 -0
- data/node_modules/jasmine-node/.gitignore +10 -0
- data/node_modules/jasmine-node/LICENSE +22 -0
- data/node_modules/jasmine-node/README.md +35 -0
- data/node_modules/jasmine-node/bin/jasmine-node +7 -0
- data/node_modules/jasmine-node/lib/jasmine-node/cli.js +110 -0
- data/node_modules/jasmine-node/lib/jasmine-node/index.js +171 -0
- data/node_modules/jasmine-node/lib/jasmine-node/jasmine-2.0.0.rc1.js +2479 -0
- data/node_modules/jasmine-node/lib/jasmine-node/reporter.js +177 -0
- data/node_modules/jasmine-node/package.json +22 -0
- data/node_modules/jasmine-node/spec/CoffeeSpec.coffee +4 -0
- data/node_modules/jasmine-node/spec/SampleSpecs.js +15 -0
- data/node_modules/jasmine-node/spec/TestSpec.js +5 -0
- data/node_modules/jasmine-node/spec/helper_spec.js +7 -0
- data/node_modules/jasmine-node/spec/include/include_spec.js +7 -0
- data/node_modules/jasmine-node/spec/include/lib/test.js +3 -0
- data/node_modules/jasmine-node/spec/nested.js/NestedSpec.js +5 -0
- data/node_modules/jasmine-node/spec/nested/NestedSpec.js +5 -0
- data/node_modules/jasmine-node/spec/nested/uber-nested/UberNestedSpec.js +11 -0
- data/node_modules/jasmine-node/spec/sample_helper.js +19 -0
- data/node_modules/jasmine-node/specs.sh +2 -0
- data/node_modules/jasmine-reporters/.gitignore +1 -0
- data/node_modules/jasmine-reporters/.gitmodules +3 -0
- data/node_modules/jasmine-reporters/LICENSE +21 -0
- data/node_modules/jasmine-reporters/README.markdown +52 -0
- data/node_modules/jasmine-reporters/ext/env.rhino.1.2.js +13989 -0
- data/node_modules/jasmine-reporters/ext/jasmine-html.js +182 -0
- data/node_modules/jasmine-reporters/ext/jasmine.css +166 -0
- data/node_modules/jasmine-reporters/ext/jasmine.js +2421 -0
- data/node_modules/jasmine-reporters/ext/jline.jar +0 -0
- data/node_modules/jasmine-reporters/ext/js.jar +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/.gitignore +10 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/ChangeLog +57 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/LICENSE.BSD +22 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/README.md +28 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/arguments.coffee +6 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/arguments.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/colorwheel.coffee +45 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/colorwheel.js +52 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/countdown.coffee +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/countdown.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/cycle_multiple_urls.js +64 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/direction.coffee +28 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/direction.js +34 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/extract-text.coffee +81 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/extract-text.js +121 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/fibo.coffee +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/fibo.js +9 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/follow.coffee +36 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/follow.js +37 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/hello.coffee +2 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/hello.js +2 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/ipgeocode.coffee +13 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/ipgeocode.js +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/loadspeed.coffee +17 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/loadspeed.js +20 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/movies.coffee +13 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/movies.js +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/pizza.coffee +10 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/pizza.js +12 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/rasterize.coffee +21 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/rasterize.js +22 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/run-jasmine.js +26 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/run-qunit.js +24 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/seasonfood.coffee +17 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/seasonfood.js +19 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/technews.coffee +13 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/technews.js +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/tweets.coffee +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/tweets.js +12 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/useragent.coffee +7 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/useragent.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/version.coffee +5 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/version.js +5 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/waitfor.coffee +40 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/waitfor.js +43 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/weather.coffee +35 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/weather.js +42 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/phantomjs.pro +3 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/INSTALL +20 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/LICENSE +674 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/README +56 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/csconverter.py +41 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/networkaccessmanager.py +84 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/phantom.py +384 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/plugincontroller.py +98 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/plugins/__init__.py +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/pyphantomjs.py +154 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources.py +4160 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources.qrc +6 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources/coffee-script.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.ico +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.png +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/tools/build_resources.sh +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/tools/setup.py +52 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/utils.py +126 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/webpage.py +67 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/coffee-script.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/consts.h +39 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/csconverter.cpp +61 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/csconverter.h +47 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/config.h +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/egif_lib.c +1111 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif.pri +20 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_err.c +120 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_hash.c +160 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_hash.h +59 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_lib.h +336 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_lib_private.h +59 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gifalloc.c +443 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gifwriter.cpp +126 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gifwriter.h +38 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/quantize.c +330 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/main.cpp +64 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/networkaccessmanager.cpp +119 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/networkaccessmanager.h +53 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantom.cpp +494 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantom.h +117 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs-icon.png +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs.pro +32 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs.qrc +7 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_os2.ico +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_os2.rc +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_win.ico +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_win.rc +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/usage.txt +11 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/utils.cpp +74 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/utils.h +50 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/webpage.cpp +87 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/webpage.h +61 -0
- data/node_modules/jasmine-reporters/package.json +15 -0
- data/node_modules/jasmine-reporters/src/jasmine.console_reporter.js +132 -0
- data/node_modules/jasmine-reporters/src/jasmine.junit_reporter.js +199 -0
- data/node_modules/jasmine-reporters/src/load_reporters.js +2 -0
- data/node_modules/jasmine-reporters/test/JUnitXmlReporterSpec.js +214 -0
- data/node_modules/jasmine-reporters/test/console_reporter.html +36 -0
- data/node_modules/jasmine-reporters/test/envjs.bootstrap.js +14 -0
- data/node_modules/jasmine-reporters/test/envjs.runner.sh +7 -0
- data/node_modules/jasmine-reporters/test/junit_xml_reporter.html +23 -0
- data/node_modules/jasmine-reporters/test/phantomjs-testrunner.js +39 -0
- data/node_modules/jasmine-reporters/test/phantomjs.runner.sh +30 -0
- data/node_modules/jasmine-reporters/test/pyphantomjs-plugins/saveToFile/__init__.py +1 -0
- data/node_modules/jasmine-reporters/test/pyphantomjs-plugins/saveToFile/saveToFile.py +46 -0
- data/node_modules/jasmine-runner/README.md +42 -0
- data/node_modules/jasmine-runner/TODO.md +16 -0
- data/node_modules/jasmine-runner/bin/jasmine +26 -0
- data/node_modules/jasmine-runner/lib/ServerRoutes.js +70 -0
- data/node_modules/jasmine-runner/lib/TestRunner.js +29 -0
- data/node_modules/jasmine-runner/lib/browser.js +14 -0
- data/node_modules/jasmine-runner/lib/config.js +21 -0
- data/node_modules/jasmine-runner/lib/jasmine-runner.js +83 -0
- data/node_modules/jasmine-runner/lib/monitor.js +34 -0
- data/node_modules/jasmine-runner/lib/notify.js +48 -0
- data/node_modules/jasmine-runner/lib/public/control-frame.js +57 -0
- data/node_modules/jasmine-runner/lib/public/jasmine-html.js +188 -0
- data/node_modules/jasmine-runner/lib/public/jasmine.css +166 -0
- data/node_modules/jasmine-runner/lib/public/jasmine.js +2421 -0
- data/node_modules/jasmine-runner/lib/public/jquery-1.4.3.js +166 -0
- data/node_modules/jasmine-runner/lib/public/json2.js +482 -0
- data/node_modules/jasmine-runner/lib/public/run.js +6 -0
- data/node_modules/jasmine-runner/lib/reporters.js +31 -0
- data/node_modules/jasmine-runner/lib/server-worker.js +18 -0
- data/node_modules/jasmine-runner/lib/server.js +27 -0
- data/node_modules/jasmine-runner/lib/template/jasmine.json +18 -0
- data/node_modules/jasmine-runner/lib/template/public/javascript/Player.js +22 -0
- data/node_modules/jasmine-runner/lib/template/public/javascript/Song.js +7 -0
- data/node_modules/jasmine-runner/lib/template/spec/PlayerSpec.coffee +45 -0
- data/node_modules/jasmine-runner/lib/template/spec/PlayerSpec.js +58 -0
- data/node_modules/jasmine-runner/lib/template/spec/SpecHelper.js +9 -0
- data/node_modules/jasmine-runner/lib/testserver.js +26 -0
- data/node_modules/jasmine-runner/lib/views/control-frame.jade +7 -0
- data/node_modules/jasmine-runner/lib/views/index.jade +18 -0
- data/node_modules/jasmine-runner/node_modules/.bin/cake +7 -0
- data/node_modules/jasmine-runner/node_modules/.bin/coffee +7 -0
- data/node_modules/jasmine-runner/node_modules/.bin/express +451 -0
- data/node_modules/jasmine-runner/node_modules/.bin/jade +92 -0
- data/node_modules/jasmine-runner/node_modules/.bin/vows +421 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/.npmignore +11 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/LICENSE +22 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/README +47 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/Rakefile +78 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/bin/cake +7 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/bin/coffee +7 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/browser.js +52 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/cake.js +76 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/coffee-script.js +82 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/command.js +269 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/grammar.js +586 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/helpers.js +66 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/index.js +8 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/lexer.js +638 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/nodes.js +2181 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/optparse.js +111 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/parser.js +656 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/repl.js +47 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/rewriter.js +353 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/scope.js +120 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/colors/MIT-LICENSE.txt +20 -0
- data/node_modules/jasmine-runner/node_modules/colors/ReadMe.md +30 -0
- data/node_modules/jasmine-runner/node_modules/colors/colors.js +75 -0
- data/node_modules/jasmine-runner/node_modules/colors/example.js +6 -0
- data/node_modules/jasmine-runner/node_modules/colors/package.json +14 -0
- data/node_modules/jasmine-runner/node_modules/express/.npmignore +7 -0
- data/node_modules/jasmine-runner/node_modules/express/History.md +630 -0
- data/node_modules/jasmine-runner/node_modules/express/LICENSE +22 -0
- data/node_modules/jasmine-runner/node_modules/express/Makefile +39 -0
- data/node_modules/jasmine-runner/node_modules/express/Readme.md +102 -0
- data/node_modules/jasmine-runner/node_modules/express/bin/express +451 -0
- data/node_modules/jasmine-runner/node_modules/express/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/express.js +78 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/http.js +503 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/https.js +52 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/request.js +289 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/response.js +423 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/router/index.js +329 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/router/methods.js +70 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/router/route.js +71 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/utils.js +122 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/view.js +413 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/view/partial.js +40 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/view/view.js +206 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/.npmignore +11 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/LICENSE +24 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/cache.js +81 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/connect.js +106 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/http.js +215 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/https.js +47 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/index.js +46 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/basicAuth.js +93 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js +92 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/compiler.js +163 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/cookieParser.js +46 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/csrf.js +105 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/directory.js +222 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/errorHandler.js +100 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/favicon.js +76 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/limit.js +82 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/logger.js +299 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js +38 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/profiler.js +100 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/query.js +40 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/responseTime.js +34 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/router.js +379 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session.js +346 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/cookie.js +126 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/memory.js +131 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/session.js +137 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/store.js +87 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/static.js +225 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/staticCache.js +175 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/vhost.js +44 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/patch.js +79 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/directory.html +75 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/error.html +13 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/favicon.ico +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_add.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_attach.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_code.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_copy.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_delete.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_edit.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_error.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_excel.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_find.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_gear.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_go.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_green.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_key.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_link.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_paste.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_red.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_save.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_word.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_world.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/style.css +141 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/utils.js +451 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/package.json +24 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/test.js +11 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/LICENSE +19 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/README.md +50 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/mime.js +92 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/test.js +79 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/types/mime.types +1479 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/types/node.types +43 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/.gitignore +1 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/.gitmodules +6 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/History.md +57 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/Makefile +7 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/Readme.md +49 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/benchmark.js +17 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/examples.js +48 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/lib/querystring.js +236 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/package.json +16 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/test/parse.test.js +156 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/test/stringify.test.js +95 -0
- data/node_modules/jasmine-runner/node_modules/express/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/growl/History.md +10 -0
- data/node_modules/jasmine-runner/node_modules/growl/Readme.md +74 -0
- data/node_modules/jasmine-runner/node_modules/growl/lib/growl.js +80 -0
- data/node_modules/jasmine-runner/node_modules/growl/package.json +6 -0
- data/node_modules/jasmine-runner/node_modules/growl/seed.yml +4 -0
- data/node_modules/jasmine-runner/node_modules/growl/test.js +17 -0
- data/node_modules/jasmine-runner/node_modules/jade/.gitignore +3 -0
- data/node_modules/jasmine-runner/node_modules/jade/.gitmodules +21 -0
- data/node_modules/jasmine-runner/node_modules/jade/.npmignore +4 -0
- data/node_modules/jasmine-runner/node_modules/jade/CNAME +1 -0
- data/node_modules/jasmine-runner/node_modules/jade/History.md +163 -0
- data/node_modules/jasmine-runner/node_modules/jade/LICENSE +22 -0
- data/node_modules/jasmine-runner/node_modules/jade/Makefile +25 -0
- data/node_modules/jasmine-runner/node_modules/jade/Readme.md +408 -0
- data/node_modules/jasmine-runner/node_modules/jade/api.html +850 -0
- data/node_modules/jasmine-runner/node_modules/jade/bin/jade +92 -0
- data/node_modules/jasmine-runner/node_modules/jade/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/compiler.js +273 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/doctypes.js +18 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/filters.js +70 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/index.js +314 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/jade.js +314 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/lexer.js +359 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/block.js +29 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/code.js +35 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/comment.js +32 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/doctype.js +29 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/each.js +35 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/filter.js +33 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/index.js +16 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/node.js +20 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/tag.js +80 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/text.js +29 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/parser.js +358 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/self-closing.js +17 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/utils.js +49 -0
- data/node_modules/jasmine-runner/node_modules/jade/package.json +9 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/.gitignore +2 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/README.md +59 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/lib/libnotify.js +72 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/package.json +11 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/seed.yml +5 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/test.js +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/.gitignore +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/Makefile +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/README.md +218 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/example/chat.html +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/example/json.js +18 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/example/server.js +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/index.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/client.js +191 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/index.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/listener.js +166 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/flashsocket.js +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/htmlfile.js +45 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/jsonp-polling.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/websocket.js +137 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/xhr-multipart.js +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/xhr-polling.js +75 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/utils.js +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/package.json +17 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/.gitignore +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/.gitmodules +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/History.md +97 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/Makefile +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/Readme.md +39 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/bin/expresso +837 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/COPYING +339 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/Makefile.am +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/Makefile.in +884 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/Readme.md +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/aclocal.m4 +872 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.guess +1526 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.h.in +92 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.rpath +666 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.sub +1658 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/configure +7971 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/configure.ac +88 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/depcomp +589 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/encoding.c +315 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/encoding.h +33 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/generate-resources.c +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/global.h +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/highlight.c +478 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/highlight.h +37 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-connection.c +192 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-exchange.c +494 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-host.c +95 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-message.c +900 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-server.c +236 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-server.h +208 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-url.c +156 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/install-sh +519 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument-js.cpp +1873 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument-js.h +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument.c +226 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument.h +31 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/GNUmakefile +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/Makefile.ref +483 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/README.html +54 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/SpiderMonkey.rsp +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/aclocal.m4 +9 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/bench.sh +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/builtins.tbl +98 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config.mk +206 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/Makefile.in +106 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/Moz/Milestone.pm +232 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/autoconf.mk.in +349 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/check-sync-dirs.py +108 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/check-sync-exceptions +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/config.mk +884 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/fastcwd.pl +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/gcc_hidden.h +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/insure.mk +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/make-system-wrappers.pl +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/milestone.pl +112 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/milestone.txt +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/Makefile.in +84 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/cppsetup.c +233 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/def.h +184 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/ifparser.c +549 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/ifparser.h +83 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/imakemdep.h +733 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/include.c +337 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/main.c +860 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/mkdepend.man +382 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/parse.c +686 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/pr.c +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/nfspwd.pl +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/nsinstall.c +481 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/nsinstall.py +139 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/pathsub.c +247 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/pathsub.h +74 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/preprocessor.pl +671 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/revdepth-nt.pl +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/revdepth.pl +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/rules.mk +2269 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/system-headers +1038 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/version.mk +85 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/version_win.pl +423 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/dtoa.c +3321 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/Makefile.ref +143 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/README +83 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/editline.3 +175 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/editline.c +1368 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/editline.h +135 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/sysunix.c +182 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/unix.h +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/javascript-trace.d +73 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jitstats.tbl +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js-config.h.in +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js-config.in +111 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js.cpp +4050 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js.mdp +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js.msg +309 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js3240.rc +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsOS240.def +654 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsapi.cpp +6060 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsapi.h +2699 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarena.cpp +450 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarena.h +318 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarray.cpp +3426 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarray.h +191 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsatom.cpp +1064 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsatom.h +458 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbit.h +253 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbool.cpp +182 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbool.h +75 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbuiltins.cpp +497 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbuiltins.h +374 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsclist.h +139 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscntxt.cpp +1394 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscntxt.h +1247 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscompat.h +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsconfig.mk +181 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscpucfg.cpp +388 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscpucfg.h +212 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdate.cpp +2475 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdate.h +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdbgapi.cpp +1954 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdbgapi.h +500 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdhash.cpp +876 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdhash.h +588 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtoa.cpp +572 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtoa.h +131 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtracef.c +318 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtracef.h +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsemit.cpp +6857 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsemit.h +777 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsexn.cpp +1376 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsexn.h +96 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfile.cpp +2736 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfile.h +56 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfile.msg +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfun.cpp +2706 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfun.h +296 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsgc.cpp +3763 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsgc.h +427 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jshash.cpp +476 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jshash.h +151 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsify.pl +483 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsinterp.cpp +7225 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsinterp.h +591 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsinvoke.cpp +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsiter.cpp +1050 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsiter.h +140 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jskeyword.tbl +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jskwgen.cpp +460 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslibmath.h +69 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslock.cpp +1417 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslock.h +311 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslocko.asm +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslog2.cpp +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslong.cpp +264 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslong.h +412 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsmath.cpp +721 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsmath.h +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsnum.cpp +1338 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsnum.h +287 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsobj.cpp +5563 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsobj.h +735 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/json.cpp +954 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/json.h +107 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsopcode.cpp +5304 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsopcode.h +404 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsopcode.tbl +557 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsoplengen.cpp +121 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsotypes.h +202 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsparse.cpp +6822 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsparse.h +508 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsprf.cpp +1262 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsprf.h +150 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsproto.tbl +129 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsprvtd.h +263 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jspubtd.h +727 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsregexp.cpp +4772 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsregexp.h +192 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsreops.tbl +145 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscan.cpp +2017 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscan.h +389 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscope.cpp +1955 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscope.h +419 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscript.cpp +1891 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscript.h +330 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsshell.msg +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstaticcheck.h +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstddef.h +87 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstr.cpp +5347 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstr.h +662 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jstracer.cpp +8276 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jstracer.h +552 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jstypes.h +490 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsutil.cpp +345 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsutil.h +168 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsversion.h +243 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxdrapi.cpp +800 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxdrapi.h +220 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxml.cpp +8343 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxml.h +298 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/lock_SunOS.s +119 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/plify_jsdhash.sed +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/prmjtime.cpp +846 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/prmjtime.h +103 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/AIX4.1.mk +65 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/AIX4.2.mk +64 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/AIX4.3.mk +65 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Cygwin.mk +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin.mk +85 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin1.3.mk +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin1.4.mk +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin5.2.mk +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin5.3.mk +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin64.mk +72 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/HP-UXB.10.10.mk +77 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/HP-UXB.10.20.mk +77 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/HP-UXB.11.00.mk +80 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX.mk +87 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX5.3.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.1.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.2.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.3.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.5.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Linux_All.mk +105 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/MSYS.mk +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Mac_OS10.0.mk +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/OSF1V4.0.mk +72 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/OSF1V5.0.mk +69 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS4.1.4.mk +101 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.10.mk +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.3.mk +91 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.4.mk +92 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.5.1.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.5.mk +87 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.6.mk +89 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.7.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.8.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.9.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT4.0.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT5.0.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT5.1.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT5.2.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT6.0.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/dgux.mk +64 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/resource.h +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/rules.mk +206 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/time.sh +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/win32.order +384 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-help.txt +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-highlight.css +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-ie.css +89 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-overlay.js +211 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-server-help.txt +17 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-server.1 +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-server.c +1307 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-throbber.gif +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.1 +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.c +142 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.css +328 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.html +125 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.js +1024 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.jsm +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.manifest +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.xul +36 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/iconv.m4 +180 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/lib-ld.m4 +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/lib-link.m4 +709 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/lib-prefix.m4 +185 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/make-bin-dist.sh.in +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/make-dist.sh.in +43 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/missing +367 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/report.js +76 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/resource-manager.c +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/resource-manager.h +46 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/stream.c +129 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/stream.h +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/Makefile.am +130 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/Makefile.in +846 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/asprintf.c +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/asprintf.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/charset.sh +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/chunked.sh +74 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/common.sh +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/destination-is-existing-directory.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/destination-is-file.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/encoding-requires-argument.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/encodings.c +223 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/encodings.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/exclude-requires-argument.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/fatal.sh +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/gethostbyname.c +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/gethostbyname.sh +25 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/help.sh +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-client-bad-body.c +98 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-client-bad-url.c +77 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-client-close-after-request.c +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-bad-body.c +97 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-bad-headers.c +97 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-charset.c +144 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-chunked.c +196 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-close-immediately.c +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/invalid-option.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/invalid-option.sh +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-ignore.expected/ignore.js +106 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-ignore.sh +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-ignore/ignore.js +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-invalid.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-invalid/javascript-invalid.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-setter.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-setter/javascript-setter.js +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-utf-8.expected/javascript-utf-8.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-utf-8.sh +43 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-utf-8/javascript-utf-8.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-xml.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-xml/javascript-xml.js +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-array-comprehension.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-assign.js +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-colon.js +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-comma.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-cr.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-crlf.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-debugger.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-dec.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-delete.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-destructuring.js +96 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-do.js +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-dot.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-empty.js +9 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-for.js +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-foreach.js +16 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-function.js +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-generator-expression.js +45 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-generator.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-getter-setter.js +31 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-hook.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-if.js +71 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-in.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-inc.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-iso-8859-1.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-lambda.js +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-let.js +148 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-lf.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-new.js +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-number.js +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-object.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-op.js +108 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-primary.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-rb.js +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-rc.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-rp.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-special-characters.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-string.js +36 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-switch.js +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-throw.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-try.js +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-unaryop.js +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-var.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-while.js +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-with.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.sh +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-array-comprehension.js +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-assign.js +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-colon.js +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-comma.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-cr.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-crlf.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-debugger.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-dec.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-delete.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-destructuring.js +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-do.js +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-dot.js +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-empty.js +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-for.js +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-foreach.js +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-function.js +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-generator-expression.js +18 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-generator.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-getter-setter.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-hook.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-if.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-in.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-inc.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-iso-8859-1.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-lambda.js +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-let.js +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-lf.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-new.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-number.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-object.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-op.js +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-primary.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-rb.js +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-rc.js +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-rp.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-special-characters.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-string.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-switch.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-throw.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-try.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-unaryop.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-var.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-while.js +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-with.js +9 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/json-cmp.js +65 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/json.c +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/json.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/mkdirs.c +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/mkdirs.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/netcat.pl +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/no-arguments.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/no-arguments.sh +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/no-instrument-requires-argument.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-request-body.sh +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-body-javascript.sh +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-body.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-body.sh +54 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-headers.sh +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-no-server.sh +49 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-url.sh +67 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy.sh +143 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-crlf.sh +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-dir-list.c +93 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-dir-list.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-exclude.sh +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-fatal.sh +40 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-no-instrument.sh +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/1.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/1.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/1.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/2/2.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/2/2.html +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/2/2.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/image.png +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/index.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/script.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/style.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/unix.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/windows.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/x +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.sh +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/1.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/1.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/1.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/2/2.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/2/2.html +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/2/2.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/image.png +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/index.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/script.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/style.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/unix.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/windows.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/x +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/same-directory.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/same-directory.sh +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-bad-requests.sh +104 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-close-after-request.sh +47 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-content-types.sh +68 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-directory-listing.expected +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-directory-listing.sh +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-directory-redirect.sh +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-encoded-url.sh +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-error.sh +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-help.sh +26 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-ip-address.sh +68 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-shutdown-bad-method.sh +49 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-shutdown.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-shutdown.sh +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-special-file.sh +62 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-unreadable-directory.sh +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-unreadable-file.sh +62 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-verbose.expected.err +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-verbose.sh +54 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-version.sh +25 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server.pl +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server.sh +216 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/source-does-not-exist.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/source-is-file.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-json.sh +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-request-body.sh +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-response-headers.sh +56 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-source-urls.expected.err +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-source-urls.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.expected.json +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.json +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.sh +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-server-bad-body.sh +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-server-closes-immediately.sh +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.expected.json +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.json +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.sh +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-urls.expected.err +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-urls.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unreachable-source-urls.expected.err +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unreachable-source-urls.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unreadable-json.sh +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unwritable-json.sh +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store.json +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store.sh +137 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/streams.c +107 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/streams.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/too-many-arguments.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/valgrind.sh +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/version.sh +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/util.c +570 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/util.h +133 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/api.html +1048 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/index.html +373 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/index.md +290 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/layout/foot.html +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/layout/head.html +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/lib/bar.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/lib/foo.js +16 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/package.json +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/assert.test.js +84 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/async.test.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/bar.test.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/foo.test.js +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/http.test.js +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/serial/async.test.js +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/serial/http.test.js +47 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/LICENSE +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/Makefile +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/README.md +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/examples/client-unix.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/examples/client.js +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/examples/server-unix.js +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/lib/websocket.js +562 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-basic.js +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-readonly-attrs.js +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-ready-state.js +23 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-unix-send-fd.js +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-unix-sockets.js +46 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/.gitignore +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/.gitmodules +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/Makefile +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/README.md +213 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/io.js +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/socket.js +157 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transport.js +141 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/flashsocket.js +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/htmlfile.js +73 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/jsonp-polling.js +116 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/websocket.js +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/xhr-multipart.js +36 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/xhr-polling.js +68 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/xhr.js +131 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/util.js +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/.gitignore +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/FABridge.js +604 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/README.txt +109 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/WebSocketMainInsecure.zip +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocket.as +461 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMain.as +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketStateEvent.as +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/bridge/FABridge.as +943 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/build.sh +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/adobe/net/proxies/RFC2817Socket.as +204 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/gsolo/encryption/MD5.as +375 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/Crypto.as +287 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/MozillaRootCertificates.as +3235 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509Certificate.as +218 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509CertificateCollection.as +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/HMAC.as +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MAC.as +137 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD2.as +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD5.as +204 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA1.as +106 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA256.as +115 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHABase.as +71 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/ARC4.as +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as +20 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/Random.as +119 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/TLSPRF.as +142 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/RSAKey.as +339 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/AESKey.as +2797 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/BlowFishKey.as +375 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CBCMode.as +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFB8Mode.as +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFBMode.as +64 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CTRMode.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/DESKey.as +365 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ECBMode.as +86 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ISymmetricKey.as +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IVMode.as +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as +34 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/OFBMode.as +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/PKCS5.as +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SSLPad.as +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SimpleIVMode.as +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TLSPad.as +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TripleDESKey.as +88 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/XTeaKey.as +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt +2304 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/AESKeyTest.as +1220 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ARC4Test.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BigIntegerTest.as +39 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BlowFishKeyTest.as +148 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CBCModeTest.as +160 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFB8ModeTest.as +71 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFBModeTest.as +98 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CTRModeTest.as +109 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/DESKeyTest.as +112 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ECBModeTest.as +151 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/HMACTest.as +184 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as +20 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD2Test.as +56 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD5Test.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/OFBModeTest.as +101 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/RSAKeyTest.as +92 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA1Test.as +198 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA224Test.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA256Test.as +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TLSPRFTest.as +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TripleDESKeyTest.as +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/XTeaKeyTest.as +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/BulkCiphers.as +102 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/CipherSuites.as +117 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/ISecurityParameters.as +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/MACs.as +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLConnectionState.as +171 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as +26 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLSecurityParameters.as +340 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConfig.as +70 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConnectionState.as +151 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEngine.as +895 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as +39 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSecurityParameters.as +197 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocket.as +370 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as +26 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSTest.as +180 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BarrettReduction.as +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BigInteger.as +1543 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/MontgomeryReduction.as +85 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as +34 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as +25 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Base64.as +189 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Hex.as +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ByteString.as +43 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/DER.as +210 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/IAsn1Type.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Integer.as +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/OID.as +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ObjectIdentifier.as +112 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PEM.as +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PrintableString.as +49 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Sequence.as +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Type.as +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/UTCTime.as +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/sample.html +76 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/swfobject.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/web_socket.js +388 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/socket.io.js +1918 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/index.js +17 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/listener.js +152 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.flashsocket.js +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.htmlfile.js +214 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.jsonp-polling.js +148 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.websocket.js +245 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.xhr-multipart.js +215 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.xhr-polling.js +138 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/utils.js +25 -0
- data/node_modules/jasmine-runner/node_modules/vows/LICENSE +20 -0
- data/node_modules/jasmine-runner/node_modules/vows/Makefile +7 -0
- data/node_modules/jasmine-runner/node_modules/vows/README.md +39 -0
- data/node_modules/jasmine-runner/node_modules/vows/bin/vows +421 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/assert/error.js +27 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/assert/macros.js +180 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows.js +195 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/console.js +93 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/context.js +55 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/extras.js +28 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/dot-matrix.js +69 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/json.js +10 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/silent.js +8 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/spec.js +74 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/watch.js +38 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/xunit.js +90 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/suite.js +321 -0
- data/node_modules/jasmine-runner/node_modules/vows/package.json +14 -0
- data/node_modules/jasmine-runner/node_modules/vows/test/assert-test.js +101 -0
- data/node_modules/jasmine-runner/node_modules/vows/test/vows-test.js +373 -0
- data/node_modules/jasmine-runner/node_modules/webworker/.gitignore +2 -0
- data/node_modules/jasmine-runner/node_modules/webworker/LICENSE +27 -0
- data/node_modules/jasmine-runner/node_modules/webworker/Makefile +15 -0
- data/node_modules/jasmine-runner/node_modules/webworker/README.md +74 -0
- data/node_modules/jasmine-runner/node_modules/webworker/docs/design.md +103 -0
- data/node_modules/jasmine-runner/node_modules/webworker/examples/prefork/README.md +1 -0
- data/node_modules/jasmine-runner/node_modules/webworker/examples/prefork/master.js +12 -0
- data/node_modules/jasmine-runner/node_modules/webworker/examples/prefork/worker.js +20 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/webworker-child.js +173 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/webworker-util.js +185 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/webworker.js +304 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/ws.js +118 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/ws/connection.js +408 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/ws/manager.js +98 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/LICENSE +27 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/Makefile +8 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/README.md +41 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/examples/client-unix.js +12 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/examples/client.js +10 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/examples/server-unix.js +13 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/lib/websocket.js +516 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-basic.js +63 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-readonly-attrs.js +44 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-ready-state.js +23 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-unix-send-fd.js +63 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-unix-sockets.js +46 -0
- data/node_modules/jasmine-runner/node_modules/webworker/package.json +25 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/test-error.js +24 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/test-fd.js +32 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/test-simple.js +36 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/workers/error.js +6 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/workers/fd.js +17 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/workers/simple.js +15 -0
- data/node_modules/jasmine-runner/package.json +22 -0
- data/node_modules/jasmine-runner/spec/ConsoleLoggerSpec.js +1 -0
- data/node_modules/jasmine-runner/spec/ServerSpec.js +42 -0
- data/node_modules/jasmine-runner/spec/TestRunner.js +72 -0
- data/node_modules/jasmine-runner/spec/file.worker +8 -0
- data/node_modules/jasmine-runner/spec/temp/spec/foo.spec.js +0 -0
- data/node_modules/jasmine-runner/spec/temp/src/foo.hs +1 -0
- data/node_modules/uglify-js/.gitignore +4 -0
- data/node_modules/uglify-js/README.html +1026 -0
- data/node_modules/uglify-js/README.org +571 -0
- data/node_modules/uglify-js/bin/uglifyjs +317 -0
- data/node_modules/uglify-js/docstyle.css +75 -0
- data/node_modules/uglify-js/lib/object-ast.js +75 -0
- data/node_modules/uglify-js/lib/parse-js.js +1339 -0
- data/node_modules/uglify-js/lib/process.js +2001 -0
- data/node_modules/uglify-js/lib/squeeze-more.js +51 -0
- data/node_modules/uglify-js/package.json +24 -0
- data/node_modules/uglify-js/package.json~ +24 -0
- data/node_modules/uglify-js/test/beautify.js +28 -0
- data/node_modules/uglify-js/test/testparser.js +403 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array1.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array2.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array3.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array4.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/assignment.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/concatstring.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/const.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/forstatement.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/if.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue10.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue11.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue13.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue14.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue16.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue17.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue20.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue21.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue25.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue27.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue28.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue29.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue30.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue34.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue4.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue48.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue50.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue53.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue68.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue69.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue9.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/mangle.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/null_string.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/var.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/whitespace.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/with.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/array1.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/array2.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/array3.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/array4.js +6 -0
- data/node_modules/uglify-js/test/unit/compress/test/assignment.js +20 -0
- data/node_modules/uglify-js/test/unit/compress/test/concatstring.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/const.js +5 -0
- data/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/forstatement.js +10 -0
- data/node_modules/uglify-js/test/unit/compress/test/if.js +6 -0
- data/node_modules/uglify-js/test/unit/compress/test/ifreturn.js +9 -0
- data/node_modules/uglify-js/test/unit/compress/test/ifreturn2.js +16 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue10.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue11.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue13.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue14.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue16.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue17.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue20.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue21.js +6 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue25.js +7 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue27.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue28.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue29.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue30.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue34.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue4.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue48.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue50.js +9 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue53.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue54.1.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue68.js +5 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue69.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue9.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/mangle.js +5 -0
- data/node_modules/uglify-js/test/unit/compress/test/null_string.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/strict-equals.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/var.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/whitespace.js +21 -0
- data/node_modules/uglify-js/test/unit/compress/test/with.js +2 -0
- data/node_modules/uglify-js/test/unit/scripts.js +55 -0
- data/node_modules/uglify-js/uglify-js.js +17 -0
- data/node_modules/uglifycss/README.md +21 -0
- data/node_modules/uglifycss/index.js +26 -0
- data/node_modules/uglifycss/package.json +15 -0
- data/node_modules/uglifycss/test.js +43 -0
- data/node_modules/uglifycss/tests.yui.js +42 -0
- data/node_modules/uglifycss/uglifycss +127 -0
- data/node_modules/uglifycss/uglifycss-lib.js +461 -0
- metadata +1383 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* TLSEvent
|
3
|
+
*
|
4
|
+
* This is used by TLSEngine to let the application layer know
|
5
|
+
* when we're ready for sending, or have received application data
|
6
|
+
* Copyright (c) 2007 Henri Torgemane
|
7
|
+
*
|
8
|
+
* See LICENSE.txt for full license information.
|
9
|
+
*/
|
10
|
+
package com.hurlant.crypto.tls {
|
11
|
+
import flash.events.Event;
|
12
|
+
import flash.utils.ByteArray;
|
13
|
+
import com.hurlant.crypto.cert.X509Certificate;
|
14
|
+
|
15
|
+
public class TLSSocketEvent extends Event {
|
16
|
+
|
17
|
+
static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
|
18
|
+
|
19
|
+
public var cert:X509Certificate;
|
20
|
+
|
21
|
+
public function TLSSocketEvent( cert:X509Certificate = null) {
|
22
|
+
super(PROMPT_ACCEPT_CERT, false, false);
|
23
|
+
this.cert = cert;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,180 @@
|
|
1
|
+
/**
|
2
|
+
* TLSTest
|
3
|
+
*
|
4
|
+
* A test class for TLS. Not a finished product.
|
5
|
+
* Copyright (c) 2007 Henri Torgemane
|
6
|
+
*
|
7
|
+
* See LICENSE.txt for full license information.
|
8
|
+
*/
|
9
|
+
package com.hurlant.crypto.tls {
|
10
|
+
import com.hurlant.crypto.cert.X509Certificate;
|
11
|
+
import com.hurlant.crypto.cert.X509CertificateCollection;
|
12
|
+
import com.hurlant.util.Hex;
|
13
|
+
import com.hurlant.util.der.PEM;
|
14
|
+
|
15
|
+
import flash.events.Event;
|
16
|
+
import flash.events.ProgressEvent;
|
17
|
+
import flash.net.Socket;
|
18
|
+
import flash.utils.ByteArray;
|
19
|
+
import flash.utils.getTimer;
|
20
|
+
|
21
|
+
public class TLSTest {
|
22
|
+
|
23
|
+
|
24
|
+
public var myDebugData:String;
|
25
|
+
|
26
|
+
//[Embed(source="/src/host.cert",mimeType="application/octet-stream")]
|
27
|
+
public var myCert:Class;
|
28
|
+
//[Embed(source="/src/host.key",mimeType="application/octet-stream")]
|
29
|
+
public var myKey:Class;
|
30
|
+
|
31
|
+
public function TLSTest(host:String = null, port:int = 0, type:int = 0 ) {
|
32
|
+
//loopback();
|
33
|
+
if (host != null) {
|
34
|
+
if (type == 0) { // SSL 3.0
|
35
|
+
connectLoginYahooCom();
|
36
|
+
// connectLocalSSL(host, port);
|
37
|
+
} else {
|
38
|
+
connectLocalTLS(host, port);
|
39
|
+
}
|
40
|
+
} else {
|
41
|
+
testSocket();
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
public function connectLoginYahooCom():void {
|
46
|
+
trace("Connecting test socket");
|
47
|
+
var s:Socket = new Socket("esx.bluebearllc.net", 903);
|
48
|
+
|
49
|
+
var clientConfig:TLSConfig = new TLSConfig(TLSEngine.CLIENT,
|
50
|
+
null,
|
51
|
+
null,
|
52
|
+
null,
|
53
|
+
null,
|
54
|
+
null,
|
55
|
+
SSLSecurityParameters.PROTOCOL_VERSION);
|
56
|
+
|
57
|
+
var client:TLSEngine = new TLSEngine(clientConfig, s, s);
|
58
|
+
// hook some events.
|
59
|
+
s.addEventListener(ProgressEvent.SOCKET_DATA, client.dataAvailable);
|
60
|
+
client.addEventListener(ProgressEvent.SOCKET_DATA, function(e:*):void { s.flush(); });
|
61
|
+
client.start();
|
62
|
+
|
63
|
+
}
|
64
|
+
public function connectLocalTLS(host:String, port:int):void {
|
65
|
+
var s:Socket = new Socket(host, port);
|
66
|
+
|
67
|
+
var clientConfig:TLSConfig = new TLSConfig(TLSEngine.CLIENT);
|
68
|
+
|
69
|
+
var client:TLSEngine = new TLSEngine(clientConfig, s, s);
|
70
|
+
// hook some events.
|
71
|
+
s.addEventListener(ProgressEvent.SOCKET_DATA, client.dataAvailable);
|
72
|
+
client.addEventListener(ProgressEvent.SOCKET_DATA, function(e:*):void { s.flush(); });
|
73
|
+
|
74
|
+
client.start();
|
75
|
+
|
76
|
+
}
|
77
|
+
public function connectLocalSSL(host:String, port:int):void {
|
78
|
+
var s:Socket = new Socket(host, port);
|
79
|
+
|
80
|
+
var clientConfig:TLSConfig = new TLSConfig(TLSEngine.CLIENT,
|
81
|
+
null,
|
82
|
+
null,
|
83
|
+
null,
|
84
|
+
null,
|
85
|
+
null,
|
86
|
+
SSLSecurityParameters.PROTOCOL_VERSION);
|
87
|
+
|
88
|
+
var client:TLSEngine = new TLSEngine(clientConfig, s, s);
|
89
|
+
// hook some events.
|
90
|
+
s.addEventListener(ProgressEvent.SOCKET_DATA, client.dataAvailable);
|
91
|
+
client.addEventListener(ProgressEvent.SOCKET_DATA, function(e:*):void { s.flush(); });
|
92
|
+
|
93
|
+
client.start();
|
94
|
+
}
|
95
|
+
|
96
|
+
public function loopback():void {
|
97
|
+
|
98
|
+
var server_write:ByteArray = new ByteArray;
|
99
|
+
var client_write:ByteArray = new ByteArray;
|
100
|
+
var server_write_cursor:uint = 0;
|
101
|
+
var client_write_cursor:uint = 0;
|
102
|
+
|
103
|
+
var clientConfig:TLSConfig = new TLSConfig(TLSEngine.CLIENT, null, null, null, null, null, SSLSecurityParameters.PROTOCOL_VERSION);
|
104
|
+
var serverConfig:TLSConfig = new TLSConfig(TLSEngine.SERVER, null, null, null, null, null, SSLSecurityParameters.PROTOCOL_VERSION);
|
105
|
+
|
106
|
+
|
107
|
+
var cert:ByteArray = new myCert;
|
108
|
+
var key:ByteArray = new myKey;
|
109
|
+
serverConfig.setPEMCertificate(cert.readUTFBytes(cert.length), key.readUTFBytes(key.length));
|
110
|
+
// tmp, for debugging. currently useless
|
111
|
+
cert.position = 0;
|
112
|
+
key.position = 0;
|
113
|
+
clientConfig.setPEMCertificate(cert.readUTFBytes(cert.length), key.readUTFBytes(key.length));
|
114
|
+
// put the server cert in the client's trusted store, to keep things happy.
|
115
|
+
clientConfig.CAStore = new X509CertificateCollection;
|
116
|
+
cert.position = 0;
|
117
|
+
var x509:X509Certificate = new X509Certificate(PEM.readCertIntoArray(cert.readUTFBytes(cert.length)));
|
118
|
+
clientConfig.CAStore.addCertificate(x509);
|
119
|
+
|
120
|
+
|
121
|
+
var server:TLSEngine = new TLSEngine(serverConfig, client_write, server_write);
|
122
|
+
var client:TLSEngine = new TLSEngine(clientConfig, server_write, client_write);
|
123
|
+
|
124
|
+
server.addEventListener(ProgressEvent.SOCKET_DATA, function(e:*=null):void {
|
125
|
+
trace("server wrote something!");
|
126
|
+
trace(Hex.fromArray(server_write));
|
127
|
+
var l:uint = server_write.position;
|
128
|
+
server_write.position = server_write_cursor;
|
129
|
+
client.dataAvailable(e);
|
130
|
+
server_write.position = l;
|
131
|
+
server_write_cursor = l;
|
132
|
+
});
|
133
|
+
client.addEventListener(ProgressEvent.SOCKET_DATA, function(e:*=null):void {
|
134
|
+
trace("client wrote something!");
|
135
|
+
trace(Hex.fromArray(client_write));
|
136
|
+
var l:uint = client_write.position;
|
137
|
+
client_write.position = client_write_cursor;
|
138
|
+
server.dataAvailable(e);
|
139
|
+
client_write.position = l;
|
140
|
+
client_write_cursor = l;
|
141
|
+
});
|
142
|
+
|
143
|
+
server.start();
|
144
|
+
client.start();
|
145
|
+
}
|
146
|
+
|
147
|
+
public function testSocket():void {
|
148
|
+
var hosts:Array = [
|
149
|
+
"bugs.adobe.com", // apache
|
150
|
+
"login.yahoo.com", // apache, bigger response
|
151
|
+
"login.live.com", // IIS-6, chain of 3 certs
|
152
|
+
"banking.wellsfargo.com", // custom, sends its CA cert along for the ride.
|
153
|
+
"www.bankofamerica.com" // sun-one, chain of 3 certs
|
154
|
+
];
|
155
|
+
var i:int =0;
|
156
|
+
(function next():void {
|
157
|
+
testHost(hosts[i++], next);
|
158
|
+
})();
|
159
|
+
}
|
160
|
+
|
161
|
+
private function testHost(host:String, next:Function):void {
|
162
|
+
if (host==null) return;
|
163
|
+
var t1:int = getTimer();
|
164
|
+
|
165
|
+
var host:String = host;
|
166
|
+
var t:TLSSocket = new TLSSocket;
|
167
|
+
t.connect(host, 4433);
|
168
|
+
t.writeUTFBytes("GET / HTTP/1.0\nHost: "+host+"\n\n");
|
169
|
+
t.addEventListener(Event.CLOSE, function(e:*):void {
|
170
|
+
var s:String = t.readUTFBytes(t.bytesAvailable);
|
171
|
+
trace("Response from "+host+": "+s.length+" characters");
|
172
|
+
var bytes:ByteArray = new ByteArray();
|
173
|
+
t.readBytes(bytes, 0, t.bytesAvailable);
|
174
|
+
trace(Hex.fromArray(bytes));
|
175
|
+
trace("Time used = "+(getTimer()-t1)+"ms");
|
176
|
+
next();
|
177
|
+
});
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
package com.hurlant.math
|
2
|
+
{
|
3
|
+
use namespace bi_internal;
|
4
|
+
|
5
|
+
internal class BarrettReduction implements IReduction
|
6
|
+
{
|
7
|
+
private var m:BigInteger;
|
8
|
+
private var r2:BigInteger;
|
9
|
+
private var q3:BigInteger;
|
10
|
+
private var mu:BigInteger;
|
11
|
+
|
12
|
+
public function BarrettReduction(m:BigInteger) {
|
13
|
+
// setup Barrett
|
14
|
+
r2 = new BigInteger;
|
15
|
+
q3 = new BigInteger;
|
16
|
+
BigInteger.ONE.dlShiftTo(2*m.t, r2);
|
17
|
+
mu = r2.divide(m);
|
18
|
+
this.m = m;
|
19
|
+
}
|
20
|
+
|
21
|
+
public function revert(x:BigInteger):BigInteger
|
22
|
+
{
|
23
|
+
return x;
|
24
|
+
}
|
25
|
+
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @param x
|
29
|
+
* @param y
|
30
|
+
* @param r = x*y mod m; x != r
|
31
|
+
*
|
32
|
+
*/
|
33
|
+
public function mulTo(x:BigInteger, y:BigInteger, r:BigInteger):void
|
34
|
+
{
|
35
|
+
x.multiplyTo(y, r);
|
36
|
+
reduce(r);
|
37
|
+
}
|
38
|
+
|
39
|
+
/**
|
40
|
+
*
|
41
|
+
* @param x
|
42
|
+
* @param r = x^2 mod m; x != r
|
43
|
+
*
|
44
|
+
*/
|
45
|
+
public function sqrTo(x:BigInteger, r:BigInteger):void
|
46
|
+
{
|
47
|
+
x.squareTo(r);
|
48
|
+
reduce(r);
|
49
|
+
}
|
50
|
+
|
51
|
+
public function convert(x:BigInteger):BigInteger
|
52
|
+
{
|
53
|
+
if (x.s<0 || x.t>2*m.t) {
|
54
|
+
return x.mod(m);
|
55
|
+
} else if (x.compareTo(m)<0) {
|
56
|
+
return x;
|
57
|
+
} else {
|
58
|
+
var r:BigInteger = new BigInteger;
|
59
|
+
x.copyTo(r);
|
60
|
+
reduce(r);
|
61
|
+
return r;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
/**
|
66
|
+
*
|
67
|
+
* @param x = x mod m (HAC 14.42)
|
68
|
+
*
|
69
|
+
*/
|
70
|
+
public function reduce(lx:BigInteger):void
|
71
|
+
{
|
72
|
+
var x:BigInteger = lx as BigInteger;
|
73
|
+
x.drShiftTo(m.t-1,r2);
|
74
|
+
if (x.t>m.t+1) {
|
75
|
+
x.t = m.t+1;
|
76
|
+
x.clamp();
|
77
|
+
}
|
78
|
+
mu.multiplyUpperTo(r2, m.t+1, q3);
|
79
|
+
m.multiplyLowerTo(q3, m.t+1, r2);
|
80
|
+
while (x.compareTo(r2)<0) {
|
81
|
+
x.dAddOffset(1, m.t+1);
|
82
|
+
}
|
83
|
+
x.subTo(r2,x);
|
84
|
+
while (x.compareTo(m)>=0) {
|
85
|
+
x.subTo(m,x);
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
}
|
90
|
+
}
|
@@ -0,0 +1,1543 @@
|
|
1
|
+
/**
|
2
|
+
* BigInteger
|
3
|
+
*
|
4
|
+
* An ActionScript 3 implementation of BigInteger (light version)
|
5
|
+
* Copyright (c) 2007 Henri Torgemane
|
6
|
+
*
|
7
|
+
* Derived from:
|
8
|
+
* The jsbn library, Copyright (c) 2003-2005 Tom Wu
|
9
|
+
*
|
10
|
+
* See LICENSE.txt for full license information.
|
11
|
+
*/
|
12
|
+
package com.hurlant.math
|
13
|
+
{
|
14
|
+
|
15
|
+
import com.hurlant.crypto.prng.Random;
|
16
|
+
import com.hurlant.util.Hex;
|
17
|
+
import com.hurlant.util.Memory;
|
18
|
+
|
19
|
+
import flash.utils.ByteArray;
|
20
|
+
use namespace bi_internal;
|
21
|
+
|
22
|
+
public class BigInteger
|
23
|
+
{
|
24
|
+
public static const DB:int = 30; // number of significant bits per chunk
|
25
|
+
public static const DV:int = (1<<DB);
|
26
|
+
public static const DM:int = (DV-1); // Max value in a chunk
|
27
|
+
|
28
|
+
public static const BI_FP:int = 52;
|
29
|
+
public static const FV:Number = Math.pow(2, BI_FP);
|
30
|
+
public static const F1:int = BI_FP - DB;
|
31
|
+
public static const F2:int = 2*DB - BI_FP;
|
32
|
+
|
33
|
+
public static const ZERO:BigInteger = nbv(0);
|
34
|
+
public static const ONE:BigInteger = nbv(1);
|
35
|
+
|
36
|
+
/*bi_internal */public var t:int; // number of chunks.
|
37
|
+
bi_internal var s:int; // sign
|
38
|
+
bi_internal var a:Array; // chunks
|
39
|
+
|
40
|
+
/**
|
41
|
+
*
|
42
|
+
* @param value
|
43
|
+
* @param radix WARNING: If value is ByteArray, this holds the number of bytes to use.
|
44
|
+
* @param unsigned
|
45
|
+
*
|
46
|
+
*/
|
47
|
+
public function BigInteger(value:* = null, radix:int = 0, unsigned:Boolean = false) {
|
48
|
+
a = new Array;
|
49
|
+
if (value is String) {
|
50
|
+
if (radix&&radix!=16) throw new Error("BigInteger construction with radix!=16 is not supported.");
|
51
|
+
value = Hex.toArray(value);
|
52
|
+
radix=0;
|
53
|
+
}
|
54
|
+
if (value is ByteArray) {
|
55
|
+
var array:ByteArray = value as ByteArray;
|
56
|
+
var length:int = radix || (array.length - array.position);
|
57
|
+
fromArray(array, length, unsigned);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
public function dispose():void {
|
61
|
+
var r:Random = new Random;
|
62
|
+
for (var i:uint=0;i<a.length;i++) {
|
63
|
+
a[i] = r.nextByte();
|
64
|
+
delete a[i];
|
65
|
+
}
|
66
|
+
a=null;
|
67
|
+
t=0;
|
68
|
+
s=0;
|
69
|
+
Memory.gc();
|
70
|
+
}
|
71
|
+
|
72
|
+
public function toString(radix:Number=16):String {
|
73
|
+
if (s<0) return "-"+negate().toString(radix);
|
74
|
+
var k:int;
|
75
|
+
switch (radix) {
|
76
|
+
case 2: k=1; break;
|
77
|
+
case 4: k=2; break;
|
78
|
+
case 8: k=3; break;
|
79
|
+
case 16: k=4; break;
|
80
|
+
case 32: k=5; break;
|
81
|
+
default:
|
82
|
+
// return toRadix(radix);
|
83
|
+
}
|
84
|
+
var km:int = (1<<k)-1;
|
85
|
+
var d:int = 0;
|
86
|
+
var m:Boolean = false;
|
87
|
+
var r:String = "";
|
88
|
+
var i:int = t;
|
89
|
+
var p:int = DB-(i*DB)%k;
|
90
|
+
if (i-->0) {
|
91
|
+
if (p<DB && (d=a[i]>>p)>0) {
|
92
|
+
m = true;
|
93
|
+
r = d.toString(36);
|
94
|
+
}
|
95
|
+
while (i >= 0) {
|
96
|
+
if (p<k) {
|
97
|
+
d = (a[i]&((1<<p)-1))<<(k-p);
|
98
|
+
d|= a[--i]>>(p+=DB-k);
|
99
|
+
} else {
|
100
|
+
d = (a[i]>>(p-=k))&km;
|
101
|
+
if (p<=0) {
|
102
|
+
p += DB;
|
103
|
+
--i;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
if (d>0) {
|
107
|
+
m = true;
|
108
|
+
}
|
109
|
+
if (m) {
|
110
|
+
r += d.toString(36);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
return m?r:"0";
|
115
|
+
}
|
116
|
+
public function toArray(array:ByteArray):uint {
|
117
|
+
const k:int = 8;
|
118
|
+
const km:int = (1<<8)-1;
|
119
|
+
var d:int = 0;
|
120
|
+
var i:int = t;
|
121
|
+
var p:int = DB-(i*DB)%k;
|
122
|
+
var m:Boolean = false;
|
123
|
+
var c:int = 0;
|
124
|
+
if (i-->0) {
|
125
|
+
if (p<DB && (d=a[i]>>p)>0) {
|
126
|
+
m = true;
|
127
|
+
array.writeByte(d);
|
128
|
+
c++;
|
129
|
+
}
|
130
|
+
while (i >= 0) {
|
131
|
+
if (p<k) {
|
132
|
+
d = (a[i]&((1<<p)-1))<<(k-p);
|
133
|
+
d|= a[--i]>>(p+=DB-k);
|
134
|
+
} else {
|
135
|
+
d = (a[i]>>(p-=k))&km;
|
136
|
+
if (p<=0) {
|
137
|
+
p += DB;
|
138
|
+
--i;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
if (d>0) {
|
142
|
+
m = true;
|
143
|
+
}
|
144
|
+
if (m) {
|
145
|
+
array.writeByte(d);
|
146
|
+
c++;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
return c;
|
151
|
+
}
|
152
|
+
/**
|
153
|
+
* best-effort attempt to fit into a Number.
|
154
|
+
* precision can be lost if it just can't fit.
|
155
|
+
*/
|
156
|
+
public function valueOf():Number {
|
157
|
+
if (s==-1) {
|
158
|
+
return -negate().valueOf();
|
159
|
+
}
|
160
|
+
var coef:Number = 1;
|
161
|
+
var value:Number = 0;
|
162
|
+
for (var i:uint=0;i<t;i++) {
|
163
|
+
value += a[i]*coef;
|
164
|
+
coef *= DV;
|
165
|
+
}
|
166
|
+
return value;
|
167
|
+
}
|
168
|
+
/**
|
169
|
+
* -this
|
170
|
+
*/
|
171
|
+
public function negate():BigInteger {
|
172
|
+
var r:BigInteger = nbi();
|
173
|
+
ZERO.subTo(this, r);
|
174
|
+
return r;
|
175
|
+
}
|
176
|
+
/**
|
177
|
+
* |this|
|
178
|
+
*/
|
179
|
+
public function abs():BigInteger {
|
180
|
+
return (s<0)?negate():this;
|
181
|
+
}
|
182
|
+
/**
|
183
|
+
* return + if this > v, - if this < v, 0 if equal
|
184
|
+
*/
|
185
|
+
public function compareTo(v:BigInteger):int {
|
186
|
+
var r:int = s - v.s;
|
187
|
+
if (r!=0) {
|
188
|
+
return r;
|
189
|
+
}
|
190
|
+
var i:int = t;
|
191
|
+
r = i-v.t;
|
192
|
+
if (r!=0) {
|
193
|
+
return r;
|
194
|
+
}
|
195
|
+
while (--i >=0) {
|
196
|
+
r=a[i]-v.a[i];
|
197
|
+
if (r != 0) return r;
|
198
|
+
}
|
199
|
+
return 0;
|
200
|
+
}
|
201
|
+
/**
|
202
|
+
* returns bit length of the integer x
|
203
|
+
*/
|
204
|
+
bi_internal function nbits(x:int):int {
|
205
|
+
var r:int = 1;
|
206
|
+
var t:int;
|
207
|
+
if ((t=x>>>16) != 0) { x = t; r += 16; }
|
208
|
+
if ((t=x>>8) != 0) { x = t; r += 8; }
|
209
|
+
if ((t=x>>4) != 0) { x = t; r += 4; }
|
210
|
+
if ((t=x>>2) != 0) { x = t; r += 2; }
|
211
|
+
if ((t=x>>1) != 0) { x = t; r += 1; }
|
212
|
+
return r;
|
213
|
+
}
|
214
|
+
/**
|
215
|
+
* returns the number of bits in this
|
216
|
+
*/
|
217
|
+
public function bitLength():int {
|
218
|
+
if (t<=0) return 0;
|
219
|
+
return DB*(t-1)+nbits(a[t-1]^(s&DM));
|
220
|
+
}
|
221
|
+
/**
|
222
|
+
*
|
223
|
+
* @param v
|
224
|
+
* @return this % v
|
225
|
+
*
|
226
|
+
*/
|
227
|
+
public function mod(v:BigInteger):BigInteger {
|
228
|
+
var r:BigInteger = nbi();
|
229
|
+
abs().divRemTo(v,null,r);
|
230
|
+
if (s<0 && r.compareTo(ZERO)>0) {
|
231
|
+
v.subTo(r,r);
|
232
|
+
}
|
233
|
+
return r;
|
234
|
+
}
|
235
|
+
/**
|
236
|
+
* this^e % m, 0 <= e < 2^32
|
237
|
+
*/
|
238
|
+
public function modPowInt(e:int, m:BigInteger):BigInteger {
|
239
|
+
var z:IReduction;
|
240
|
+
if (e<256 || m.isEven()) {
|
241
|
+
z = new ClassicReduction(m);
|
242
|
+
} else {
|
243
|
+
z = new MontgomeryReduction(m);
|
244
|
+
}
|
245
|
+
return exp(e, z);
|
246
|
+
}
|
247
|
+
|
248
|
+
/**
|
249
|
+
* copy this to r
|
250
|
+
*/
|
251
|
+
bi_internal function copyTo(r:BigInteger):void {
|
252
|
+
for (var i:int = t-1; i>=0; --i) {
|
253
|
+
r.a[i] = a[i];
|
254
|
+
}
|
255
|
+
r.t = t;
|
256
|
+
r.s = s;
|
257
|
+
}
|
258
|
+
/**
|
259
|
+
* set from integer value "value", -DV <= value < DV
|
260
|
+
*/
|
261
|
+
bi_internal function fromInt(value:int):void {
|
262
|
+
t = 1;
|
263
|
+
s = (value<0)?-1:0;
|
264
|
+
if (value>0) {
|
265
|
+
a[0] = value;
|
266
|
+
} else if (value<-1) {
|
267
|
+
a[0] = value+DV;
|
268
|
+
} else {
|
269
|
+
t = 0;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
/**
|
273
|
+
* set from ByteArray and length,
|
274
|
+
* starting a current position
|
275
|
+
* If length goes beyond the array, pad with zeroes.
|
276
|
+
*/
|
277
|
+
bi_internal function fromArray(value:ByteArray, length:int, unsigned:Boolean = false):void {
|
278
|
+
var p:int = value.position;
|
279
|
+
var i:int = p+length;
|
280
|
+
var sh:int = 0;
|
281
|
+
const k:int = 8;
|
282
|
+
t = 0;
|
283
|
+
s = 0;
|
284
|
+
while (--i >= p) {
|
285
|
+
var x:int = i<value.length?value[i]:0;
|
286
|
+
if (sh == 0) {
|
287
|
+
a[t++] = x;
|
288
|
+
} else if (sh+k > DB) {
|
289
|
+
a[t-1] |= (x&((1<<(DB-sh))-1))<<sh;
|
290
|
+
a[t++] = x>>(DB-sh);
|
291
|
+
} else {
|
292
|
+
a[t-1] |= x<<sh;
|
293
|
+
}
|
294
|
+
sh += k;
|
295
|
+
if (sh >= DB) sh -= DB;
|
296
|
+
}
|
297
|
+
if (!unsigned && (value[0]&0x80)==0x80) {
|
298
|
+
s = -1;
|
299
|
+
if (sh > 0) {
|
300
|
+
a[t-1] |= ((1<<(DB-sh))-1)<<sh;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
clamp();
|
304
|
+
value.position = Math.min(p+length,value.length);
|
305
|
+
}
|
306
|
+
/**
|
307
|
+
* clamp off excess high words
|
308
|
+
*/
|
309
|
+
bi_internal function clamp():void {
|
310
|
+
var c:int = s&DM;
|
311
|
+
while (t>0 && a[t-1]==c) {
|
312
|
+
--t;
|
313
|
+
}
|
314
|
+
}
|
315
|
+
/**
|
316
|
+
* r = this << n*DB
|
317
|
+
*/
|
318
|
+
bi_internal function dlShiftTo(n:int, r:BigInteger):void {
|
319
|
+
var i:int;
|
320
|
+
for (i=t-1; i>=0; --i) {
|
321
|
+
r.a[i+n] = a[i];
|
322
|
+
}
|
323
|
+
for (i=n-1; i>=0; --i) {
|
324
|
+
r.a[i] = 0;
|
325
|
+
}
|
326
|
+
r.t = t+n;
|
327
|
+
r.s = s;
|
328
|
+
}
|
329
|
+
/**
|
330
|
+
* r = this >> n*DB
|
331
|
+
*/
|
332
|
+
bi_internal function drShiftTo(n:int, r:BigInteger):void {
|
333
|
+
var i:int;
|
334
|
+
for (i=n; i<t; ++i) {
|
335
|
+
r.a[i-n] = a[i];
|
336
|
+
}
|
337
|
+
r.t = Math.max(t-n,0);
|
338
|
+
r.s = s;
|
339
|
+
}
|
340
|
+
/**
|
341
|
+
* r = this << n
|
342
|
+
*/
|
343
|
+
bi_internal function lShiftTo(n:int, r:BigInteger):void {
|
344
|
+
var bs:int = n%DB;
|
345
|
+
var cbs:int = DB-bs;
|
346
|
+
var bm:int = (1<<cbs)-1;
|
347
|
+
var ds:int = n/DB;
|
348
|
+
var c:int = (s<<bs)&DM;
|
349
|
+
var i:int;
|
350
|
+
for (i=t-1; i>=0; --i) {
|
351
|
+
r.a[i+ds+1] = (a[i]>>cbs)|c;
|
352
|
+
c = (a[i]&bm)<<bs;
|
353
|
+
}
|
354
|
+
for (i=ds-1; i>=0; --i) {
|
355
|
+
r.a[i] = 0;
|
356
|
+
}
|
357
|
+
r.a[ds] = c;
|
358
|
+
r.t = t+ds+1;
|
359
|
+
r.s = s;
|
360
|
+
r.clamp();
|
361
|
+
}
|
362
|
+
/**
|
363
|
+
* r = this >> n
|
364
|
+
*/
|
365
|
+
bi_internal function rShiftTo(n:int, r:BigInteger):void {
|
366
|
+
r.s = s;
|
367
|
+
var ds:int = n/DB;
|
368
|
+
if (ds >= t) {
|
369
|
+
r.t = 0;
|
370
|
+
return;
|
371
|
+
}
|
372
|
+
var bs:int = n%DB;
|
373
|
+
var cbs:int = DB-bs;
|
374
|
+
var bm:int = (1<<bs)-1;
|
375
|
+
r.a[0] = a[ds]>>bs;
|
376
|
+
var i:int;
|
377
|
+
for (i=ds+1; i<t; ++i) {
|
378
|
+
r.a[i-ds-1] |= (a[i]&bm)<<cbs;
|
379
|
+
r.a[i-ds] = a[i]>>bs;
|
380
|
+
}
|
381
|
+
if (bs>0) {
|
382
|
+
r.a[t-ds-1] |= (s&bm)<<cbs;
|
383
|
+
}
|
384
|
+
r.t = t-ds;
|
385
|
+
r.clamp();
|
386
|
+
}
|
387
|
+
/**
|
388
|
+
* r = this - v
|
389
|
+
*/
|
390
|
+
bi_internal function subTo(v:BigInteger, r:BigInteger):void {
|
391
|
+
var i:int = 0;
|
392
|
+
var c:int = 0;
|
393
|
+
var m:int = Math.min(v.t, t);
|
394
|
+
while (i<m) {
|
395
|
+
c += a[i] - v.a[i];
|
396
|
+
r.a[i++] = c & DM;
|
397
|
+
c >>= DB;
|
398
|
+
}
|
399
|
+
if (v.t < t) {
|
400
|
+
c -= v.s;
|
401
|
+
while (i< t) {
|
402
|
+
c+= a[i];
|
403
|
+
r.a[i++] = c&DM;
|
404
|
+
c >>= DB;
|
405
|
+
}
|
406
|
+
c += s;
|
407
|
+
} else {
|
408
|
+
c += s;
|
409
|
+
while (i < v.t) {
|
410
|
+
c -= v.a[i];
|
411
|
+
r.a[i++] = c&DM;
|
412
|
+
c >>= DB;
|
413
|
+
}
|
414
|
+
c -= v.s;
|
415
|
+
}
|
416
|
+
r.s = (c<0)?-1:0;
|
417
|
+
if (c<-1) {
|
418
|
+
r.a[i++] = DV+c;
|
419
|
+
} else if (c>0) {
|
420
|
+
r.a[i++] = c;
|
421
|
+
}
|
422
|
+
r.t = i;
|
423
|
+
r.clamp();
|
424
|
+
}
|
425
|
+
/**
|
426
|
+
* am: Compute w_j += (x*this_i), propagates carries,
|
427
|
+
* c is initial carry, returns final carry.
|
428
|
+
* c < 3*dvalue, x < 2*dvalue, this_i < dvalue
|
429
|
+
*/
|
430
|
+
bi_internal function am(i:int,x:int,w:BigInteger,j:int,c:int,n:int):int {
|
431
|
+
var xl:int = x&0x7fff;
|
432
|
+
var xh:int = x>>15;
|
433
|
+
while(--n >= 0) {
|
434
|
+
var l:int = a[i]&0x7fff;
|
435
|
+
var h:int = a[i++]>>15;
|
436
|
+
var m:int = xh*l + h*xl;
|
437
|
+
l = xl*l + ((m&0x7fff)<<15)+w.a[j]+(c&0x3fffffff);
|
438
|
+
c = (l>>>30)+(m>>>15)+xh*h+(c>>>30);
|
439
|
+
w.a[j++] = l&0x3fffffff;
|
440
|
+
}
|
441
|
+
return c;
|
442
|
+
}
|
443
|
+
/**
|
444
|
+
* r = this * v, r != this,a (HAC 14.12)
|
445
|
+
* "this" should be the larger one if appropriate
|
446
|
+
*/
|
447
|
+
bi_internal function multiplyTo(v:BigInteger, r:BigInteger):void {
|
448
|
+
var x:BigInteger = abs();
|
449
|
+
var y:BigInteger = v.abs();
|
450
|
+
var i:int = x.t;
|
451
|
+
r.t = i+y.t;
|
452
|
+
while (--i >= 0) {
|
453
|
+
r.a[i] = 0;
|
454
|
+
}
|
455
|
+
for (i=0; i<y.t; ++i) {
|
456
|
+
r.a[i+x.t] = x.am(0, y.a[i], r, i, 0, x.t);
|
457
|
+
}
|
458
|
+
r.s = 0;
|
459
|
+
r.clamp();
|
460
|
+
if (s!=v.s) {
|
461
|
+
ZERO.subTo(r, r);
|
462
|
+
}
|
463
|
+
}
|
464
|
+
/**
|
465
|
+
* r = this^2, r != this (HAC 14.16)
|
466
|
+
*/
|
467
|
+
bi_internal function squareTo(r:BigInteger):void {
|
468
|
+
var x:BigInteger = abs();
|
469
|
+
var i:int = r.t = 2*x.t;
|
470
|
+
while (--i>=0) r.a[i] = 0;
|
471
|
+
for (i=0; i<x.t-1; ++i) {
|
472
|
+
var c:int = x.am(i, x.a[i], r, 2*i, 0, 1);
|
473
|
+
if ((r.a[i+x.t] += x.am(i+1, 2*x.a[i], r, 2*i+1, c, x.t-i-1)) >= DV) {
|
474
|
+
r.a[i+x.t] -= DV;
|
475
|
+
r.a[i+x.t+1] = 1;
|
476
|
+
}
|
477
|
+
}
|
478
|
+
if (r.t>0) {
|
479
|
+
r.a[r.t-1] += x.am(i, x.a[i], r, 2*i, 0, 1);
|
480
|
+
}
|
481
|
+
r.s = 0;
|
482
|
+
r.clamp();
|
483
|
+
}
|
484
|
+
/**
|
485
|
+
* divide this by m, quotient and remainder to q, r (HAC 14.20)
|
486
|
+
* r != q, this != m. q or r may be null.
|
487
|
+
*/
|
488
|
+
bi_internal function divRemTo(m:BigInteger, q:BigInteger = null, r:BigInteger = null):void {
|
489
|
+
var pm:BigInteger = m.abs();
|
490
|
+
if (pm.t <= 0) return;
|
491
|
+
var pt:BigInteger = abs();
|
492
|
+
if (pt.t < pm.t) {
|
493
|
+
if (q!=null) q.fromInt(0);
|
494
|
+
if (r!=null) copyTo(r);
|
495
|
+
return;
|
496
|
+
}
|
497
|
+
if (r==null) r = nbi();
|
498
|
+
var y:BigInteger = nbi();
|
499
|
+
var ts:int = s;
|
500
|
+
var ms:int = m.s;
|
501
|
+
var nsh:int = DB-nbits(pm.a[pm.t-1]); // normalize modulus
|
502
|
+
if (nsh>0) {
|
503
|
+
pm.lShiftTo(nsh, y);
|
504
|
+
pt.lShiftTo(nsh, r);
|
505
|
+
} else {
|
506
|
+
pm.copyTo(y);
|
507
|
+
pt.copyTo(r);
|
508
|
+
}
|
509
|
+
var ys:int = y.t;
|
510
|
+
var y0:int = y.a[ys-1];
|
511
|
+
if (y0==0) return;
|
512
|
+
var yt:Number = y0*(1<<F1)+((ys>1)?y.a[ys-2]>>F2:0);
|
513
|
+
var d1:Number = FV/yt;
|
514
|
+
var d2:Number = (1<<F1)/yt;
|
515
|
+
var e:Number = 1<<F2;
|
516
|
+
var i:int = r.t;
|
517
|
+
var j:int = i-ys;
|
518
|
+
var t:BigInteger = (q==null)?nbi():q;
|
519
|
+
y.dlShiftTo(j,t);
|
520
|
+
if (r.compareTo(t)>=0) {
|
521
|
+
r.a[r.t++] = 1;
|
522
|
+
r.subTo(t,r);
|
523
|
+
}
|
524
|
+
ONE.dlShiftTo(ys,t);
|
525
|
+
t.subTo(y,y); // "negative" y so we can replace sub with am later.
|
526
|
+
while(y.t<ys) y.(y.t++, 0);
|
527
|
+
while(--j >= 0) {
|
528
|
+
// Estimate quotient digit
|
529
|
+
var qd:int = (r.a[--i]==y0)?DM:Number(r.a[i])*d1+(Number(r.a[i-1])+e)*d2;
|
530
|
+
if ((r.a[i]+= y.am(0, qd, r, j, 0, ys))<qd) { // Try it out
|
531
|
+
y.dlShiftTo(j, t);
|
532
|
+
r.subTo(t,r);
|
533
|
+
while (r.a[i]<--qd) {
|
534
|
+
r.subTo(t,r);
|
535
|
+
}
|
536
|
+
}
|
537
|
+
}
|
538
|
+
if (q!=null) {
|
539
|
+
r.drShiftTo(ys,q);
|
540
|
+
if (ts!=ms) {
|
541
|
+
ZERO.subTo(q,q);
|
542
|
+
}
|
543
|
+
}
|
544
|
+
r.t = ys;
|
545
|
+
r.clamp();
|
546
|
+
if (nsh>0) {
|
547
|
+
r.rShiftTo(nsh, r); // Denormalize remainder
|
548
|
+
}
|
549
|
+
if (ts<0) {
|
550
|
+
ZERO.subTo(r,r);
|
551
|
+
}
|
552
|
+
}
|
553
|
+
/**
|
554
|
+
* return "-1/this % 2^DB"; useful for Mont. reduction
|
555
|
+
* justification:
|
556
|
+
* xy == 1 (mod n)
|
557
|
+
* xy = 1+km
|
558
|
+
* xy(2-xy) = (1+km)(1-km)
|
559
|
+
* x[y(2-xy)] = 1-k^2.m^2
|
560
|
+
* x[y(2-xy)] == 1 (mod m^2)
|
561
|
+
* if y is 1/x mod m, then y(2-xy) is 1/x mod m^2
|
562
|
+
* should reduce x and y(2-xy) by m^2 at each step to keep size bounded
|
563
|
+
* [XXX unit test the living shit out of this.]
|
564
|
+
*/
|
565
|
+
bi_internal function invDigit():int {
|
566
|
+
if (t<1) return 0;
|
567
|
+
var x:int = a[0];
|
568
|
+
if ((x&1)==0) return 0;
|
569
|
+
var y:int = x&3; // y == 1/x mod 2^2
|
570
|
+
y = (y*(2-(x&0xf )*y)) &0xf; // y == 1/x mod 2^4
|
571
|
+
y = (y*(2-(x&0xff)*y)) &0xff; // y == 1/x mod 2^8
|
572
|
+
y = (y*(2-(((x&0xffff)*y)&0xffff)))&0xffff; // y == 1/x mod 2^16
|
573
|
+
// last step - calculate inverse mod DV directly;
|
574
|
+
// assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints
|
575
|
+
// XXX 48 bit ints? Whaaaa? is there an implicit float conversion in here?
|
576
|
+
y = (y*(2-x*y%DV))%DV; // y == 1/x mod 2^dbits
|
577
|
+
// we really want the negative inverse, and -DV < y < DV
|
578
|
+
return (y>0)?DV-y:-y;
|
579
|
+
}
|
580
|
+
/**
|
581
|
+
* true iff this is even
|
582
|
+
*/
|
583
|
+
bi_internal function isEven():Boolean {
|
584
|
+
return ((t>0)?(a[0]&1):s) == 0;
|
585
|
+
}
|
586
|
+
/**
|
587
|
+
* this^e, e < 2^32, doing sqr and mul with "r" (HAC 14.79)
|
588
|
+
*/
|
589
|
+
bi_internal function exp(e:int, z:IReduction):BigInteger {
|
590
|
+
if (e > 0xffffffff || e < 1) return ONE;
|
591
|
+
var r:BigInteger = nbi();
|
592
|
+
var r2:BigInteger = nbi();
|
593
|
+
var g:BigInteger = z.convert(this);
|
594
|
+
var i:int = nbits(e)-1;
|
595
|
+
g.copyTo(r);
|
596
|
+
while(--i>=0) {
|
597
|
+
z.sqrTo(r, r2);
|
598
|
+
if ((e&(1<<i))>0) {
|
599
|
+
z.mulTo(r2,g,r);
|
600
|
+
} else {
|
601
|
+
var t:BigInteger = r;
|
602
|
+
r = r2;
|
603
|
+
r2 = t;
|
604
|
+
}
|
605
|
+
|
606
|
+
}
|
607
|
+
return z.revert(r);
|
608
|
+
}
|
609
|
+
bi_internal function intAt(str:String, index:int):int {
|
610
|
+
return parseInt(str.charAt(index), 36);
|
611
|
+
}
|
612
|
+
|
613
|
+
|
614
|
+
protected function nbi():* {
|
615
|
+
return new BigInteger;
|
616
|
+
}
|
617
|
+
/**
|
618
|
+
* return bigint initialized to value
|
619
|
+
*/
|
620
|
+
public static function nbv(value:int):BigInteger {
|
621
|
+
var bn:BigInteger = new BigInteger;
|
622
|
+
bn.fromInt(value);
|
623
|
+
return bn;
|
624
|
+
}
|
625
|
+
|
626
|
+
|
627
|
+
// Functions above are sufficient for RSA encryption.
|
628
|
+
// The stuff below is useful for decryption and key generation
|
629
|
+
|
630
|
+
public static const lowprimes:Array = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509];
|
631
|
+
public static const lplim:int = (1<<26)/lowprimes[lowprimes.length-1];
|
632
|
+
|
633
|
+
|
634
|
+
public function clone():BigInteger {
|
635
|
+
var r:BigInteger = new BigInteger;
|
636
|
+
this.copyTo(r);
|
637
|
+
return r;
|
638
|
+
}
|
639
|
+
|
640
|
+
/**
|
641
|
+
*
|
642
|
+
* @return value as integer
|
643
|
+
*
|
644
|
+
*/
|
645
|
+
public function intValue():int {
|
646
|
+
if (s<0) {
|
647
|
+
if (t==1) {
|
648
|
+
return a[0]-DV;
|
649
|
+
} else if (t==0) {
|
650
|
+
return -1;
|
651
|
+
}
|
652
|
+
} else if (t==1) {
|
653
|
+
return a[0];
|
654
|
+
} else if (t==0) {
|
655
|
+
return 0;
|
656
|
+
}
|
657
|
+
// assumes 16 < DB < 32
|
658
|
+
return ((a[1]&((1<<(32-DB))-1))<<DB)|a[0];
|
659
|
+
}
|
660
|
+
|
661
|
+
/**
|
662
|
+
*
|
663
|
+
* @return value as byte
|
664
|
+
*
|
665
|
+
*/
|
666
|
+
public function byteValue():int {
|
667
|
+
return (t==0)?s:(a[0]<<24)>>24;
|
668
|
+
}
|
669
|
+
|
670
|
+
/**
|
671
|
+
*
|
672
|
+
* @return value as short (assumes DB>=16)
|
673
|
+
*
|
674
|
+
*/
|
675
|
+
public function shortValue():int {
|
676
|
+
return (t==0)?s:(a[0]<<16)>>16;
|
677
|
+
}
|
678
|
+
|
679
|
+
/**
|
680
|
+
*
|
681
|
+
* @param r
|
682
|
+
* @return x s.t. r^x < DV
|
683
|
+
*
|
684
|
+
*/
|
685
|
+
protected function chunkSize(r:Number):int {
|
686
|
+
return Math.floor(Math.LN2*DB/Math.log(r));
|
687
|
+
}
|
688
|
+
|
689
|
+
/**
|
690
|
+
*
|
691
|
+
* @return 0 if this ==0, 1 if this >0
|
692
|
+
*
|
693
|
+
*/
|
694
|
+
public function sigNum():int {
|
695
|
+
if (s<0) {
|
696
|
+
return -1;
|
697
|
+
} else if (t<=0 || (t==1 && a[0]<=0)) {
|
698
|
+
return 0;
|
699
|
+
} else{
|
700
|
+
return 1;
|
701
|
+
}
|
702
|
+
}
|
703
|
+
|
704
|
+
/**
|
705
|
+
*
|
706
|
+
* @param b: radix to use
|
707
|
+
* @return a string representing the integer converted to the radix.
|
708
|
+
*
|
709
|
+
*/
|
710
|
+
protected function toRadix(b:uint=10):String {
|
711
|
+
if (sigNum()==0 || b<2 || b>32) return "0";
|
712
|
+
var cs:int = chunkSize(b);
|
713
|
+
var a:Number = Math.pow(b, cs);
|
714
|
+
var d:BigInteger = nbv(a);
|
715
|
+
var y:BigInteger = nbi();
|
716
|
+
var z:BigInteger = nbi();
|
717
|
+
var r:String = "";
|
718
|
+
divRemTo(d, y, z);
|
719
|
+
while (y.sigNum()>0) {
|
720
|
+
r = (a+z.intValue()).toString(b).substr(1) + r;
|
721
|
+
y.divRemTo(d,y,z);
|
722
|
+
}
|
723
|
+
return z.intValue().toString(b) + r;
|
724
|
+
}
|
725
|
+
|
726
|
+
/**
|
727
|
+
*
|
728
|
+
* @param s a string to convert from using radix.
|
729
|
+
* @param b a radix
|
730
|
+
*
|
731
|
+
*/
|
732
|
+
protected function fromRadix(s:String, b:int = 10):void {
|
733
|
+
fromInt(0);
|
734
|
+
var cs:int = chunkSize(b);
|
735
|
+
var d:Number = Math.pow(b, cs);
|
736
|
+
var mi:Boolean = false;
|
737
|
+
var j:int = 0;
|
738
|
+
var w:int = 0;
|
739
|
+
for (var i:int=0;i<s.length;++i) {
|
740
|
+
var x:int = intAt(s, i);
|
741
|
+
if (x<0) {
|
742
|
+
if (s.charAt(i) == "-" && sigNum() == 0) {
|
743
|
+
mi = true;
|
744
|
+
}
|
745
|
+
continue;
|
746
|
+
}
|
747
|
+
w = b*w+x;
|
748
|
+
if (++j >= cs) {
|
749
|
+
dMultiply(d);
|
750
|
+
dAddOffset(w,0);
|
751
|
+
j=0;
|
752
|
+
w=0;
|
753
|
+
}
|
754
|
+
}
|
755
|
+
if (j>0) {
|
756
|
+
dMultiply(Math.pow(b,j));
|
757
|
+
dAddOffset(w,0);
|
758
|
+
}
|
759
|
+
if (mi) {
|
760
|
+
BigInteger.ZERO.subTo(this, this);
|
761
|
+
}
|
762
|
+
}
|
763
|
+
|
764
|
+
// XXX function fromNumber not written yet.
|
765
|
+
|
766
|
+
/**
|
767
|
+
*
|
768
|
+
* @return a byte array.
|
769
|
+
*
|
770
|
+
*/
|
771
|
+
public function toByteArray():ByteArray {
|
772
|
+
var i:int = t;
|
773
|
+
var r:ByteArray = new ByteArray;
|
774
|
+
r[0] = s;
|
775
|
+
var p:int = DB-(i*DB)%8;
|
776
|
+
var d:int;
|
777
|
+
var k:int=0;
|
778
|
+
if (i-->0) {
|
779
|
+
if (p<DB && (d=a[i]>>p)!=(s&DM)>>p) {
|
780
|
+
r[k++] = d|(s<<(DB-p));
|
781
|
+
}
|
782
|
+
while (i>=0) {
|
783
|
+
if(p<8) {
|
784
|
+
d = (a[i]&((1<<p)-1))<<(8-p);
|
785
|
+
d|= a[--i]>>(p+=DB-8);
|
786
|
+
} else {
|
787
|
+
d = (a[i]>>(p-=8))&0xff;
|
788
|
+
if (p<=0) {
|
789
|
+
p += DB;
|
790
|
+
--i;
|
791
|
+
}
|
792
|
+
}
|
793
|
+
if ((d&0x80)!=0) d|=-256;
|
794
|
+
if (k==0 && (s&0x80)!=(d&0x80)) ++k;
|
795
|
+
if (k>0 || d!=s) r[k++] = d;
|
796
|
+
}
|
797
|
+
}
|
798
|
+
return r;
|
799
|
+
}
|
800
|
+
|
801
|
+
public function equals(a:BigInteger):Boolean {
|
802
|
+
return compareTo(a)==0;
|
803
|
+
}
|
804
|
+
public function min(a:BigInteger):BigInteger {
|
805
|
+
return (compareTo(a)<0)?this:a;
|
806
|
+
}
|
807
|
+
public function max(a:BigInteger):BigInteger {
|
808
|
+
return (compareTo(a)>0)?this:a;
|
809
|
+
}
|
810
|
+
|
811
|
+
/**
|
812
|
+
*
|
813
|
+
* @param a a BigInteger to perform the operation with
|
814
|
+
* @param op a Function implementing the operation
|
815
|
+
* @param r a BigInteger to store the result of the operation
|
816
|
+
*
|
817
|
+
*/
|
818
|
+
protected function bitwiseTo(a:BigInteger, op:Function, r:BigInteger):void {
|
819
|
+
var i:int;
|
820
|
+
var f:int;
|
821
|
+
var m:int = Math.min(a.t, t);
|
822
|
+
for (i=0; i<m; ++i) {
|
823
|
+
r.a[i] = op(this.a[i],a.a[i]);
|
824
|
+
}
|
825
|
+
if (a.t<t) {
|
826
|
+
f = a.s&DM;
|
827
|
+
for (i=m;i<t;++i) {
|
828
|
+
r.a[i] = op(this.a[i],f);
|
829
|
+
}
|
830
|
+
r.t = t;
|
831
|
+
} else {
|
832
|
+
f = s&DM;
|
833
|
+
for (i=m;i<a.t;++i) {
|
834
|
+
r.a[i] = op(f,a.a[i]);
|
835
|
+
}
|
836
|
+
r.t = a.t;
|
837
|
+
}
|
838
|
+
r.s = op(s, a.s);
|
839
|
+
r.clamp();
|
840
|
+
}
|
841
|
+
|
842
|
+
private function op_and(x:int, y:int):int {return x&y;}
|
843
|
+
public function and(a:BigInteger):BigInteger {
|
844
|
+
var r:BigInteger = new BigInteger;
|
845
|
+
bitwiseTo(a, op_and, r);
|
846
|
+
return r;
|
847
|
+
}
|
848
|
+
|
849
|
+
private function op_or(x:int, y:int):int {return x|y;}
|
850
|
+
public function or(a:BigInteger):BigInteger {
|
851
|
+
var r:BigInteger = new BigInteger;
|
852
|
+
bitwiseTo(a, op_or, r);
|
853
|
+
return r;
|
854
|
+
}
|
855
|
+
|
856
|
+
private function op_xor(x:int, y:int):int {return x^y;}
|
857
|
+
public function xor(a:BigInteger):BigInteger {
|
858
|
+
var r:BigInteger = new BigInteger;
|
859
|
+
bitwiseTo(a, op_xor, r);
|
860
|
+
return r;
|
861
|
+
}
|
862
|
+
|
863
|
+
private function op_andnot(x:int, y:int):int { return x&~y;}
|
864
|
+
public function andNot(a:BigInteger):BigInteger {
|
865
|
+
var r:BigInteger = new BigInteger;
|
866
|
+
bitwiseTo(a, op_andnot, r);
|
867
|
+
return r;
|
868
|
+
}
|
869
|
+
|
870
|
+
public function not():BigInteger {
|
871
|
+
var r:BigInteger = new BigInteger;
|
872
|
+
for (var i:int=0;i<t;++i) {
|
873
|
+
r[i] = DM&~a[i];
|
874
|
+
}
|
875
|
+
r.t = t;
|
876
|
+
r.s = ~s;
|
877
|
+
return r;
|
878
|
+
}
|
879
|
+
|
880
|
+
public function shiftLeft(n:int):BigInteger {
|
881
|
+
var r:BigInteger = new BigInteger;
|
882
|
+
if (n<0) {
|
883
|
+
rShiftTo(-n, r);
|
884
|
+
} else {
|
885
|
+
lShiftTo(n, r);
|
886
|
+
}
|
887
|
+
return r;
|
888
|
+
}
|
889
|
+
public function shiftRight(n:int):BigInteger {
|
890
|
+
var r:BigInteger = new BigInteger;
|
891
|
+
if (n<0) {
|
892
|
+
lShiftTo(-n, r);
|
893
|
+
} else {
|
894
|
+
rShiftTo(n, r);
|
895
|
+
}
|
896
|
+
return r;
|
897
|
+
}
|
898
|
+
|
899
|
+
/**
|
900
|
+
*
|
901
|
+
* @param x
|
902
|
+
* @return index of lowet 1-bit in x, x < 2^31
|
903
|
+
*
|
904
|
+
*/
|
905
|
+
private function lbit(x:int):int {
|
906
|
+
if (x==0) return -1;
|
907
|
+
var r:int = 0;
|
908
|
+
if ((x&0xffff)==0) { x>>= 16; r += 16; }
|
909
|
+
if ((x&0xff) == 0) { x>>= 8; r += 8; }
|
910
|
+
if ((x&0xf) == 0) { x>>= 4; r += 4; }
|
911
|
+
if ((x&0x3) == 0) { x>>= 2; r += 2; }
|
912
|
+
if ((x&0x1) == 0) ++r;
|
913
|
+
return r;
|
914
|
+
}
|
915
|
+
|
916
|
+
/**
|
917
|
+
*
|
918
|
+
* @return index of lowest 1-bit (or -1 if none)
|
919
|
+
*
|
920
|
+
*/
|
921
|
+
public function getLowestSetBit():int {
|
922
|
+
for (var i:int=0;i<t;++i) {
|
923
|
+
if (a[i]!=0) return i*DB+lbit(a[i]);
|
924
|
+
}
|
925
|
+
if (s<0) return t*DB;
|
926
|
+
return -1;
|
927
|
+
}
|
928
|
+
|
929
|
+
/**
|
930
|
+
*
|
931
|
+
* @param x
|
932
|
+
* @return number of 1 bits in x
|
933
|
+
*
|
934
|
+
*/
|
935
|
+
private function cbit(x:int):int {
|
936
|
+
var r:uint =0;
|
937
|
+
while (x!=0) { x &= x-1; ++r }
|
938
|
+
return r;
|
939
|
+
}
|
940
|
+
|
941
|
+
/**
|
942
|
+
*
|
943
|
+
* @return number of set bits
|
944
|
+
*
|
945
|
+
*/
|
946
|
+
public function bitCount():int {
|
947
|
+
var r:int=0;
|
948
|
+
var x:int = s&DM;
|
949
|
+
for (var i:int=0;i<t;++i) {
|
950
|
+
r += cbit(a[i]^x);
|
951
|
+
}
|
952
|
+
return r;
|
953
|
+
}
|
954
|
+
|
955
|
+
/**
|
956
|
+
*
|
957
|
+
* @param n
|
958
|
+
* @return true iff nth bit is set
|
959
|
+
*
|
960
|
+
*/
|
961
|
+
public function testBit(n:int):Boolean {
|
962
|
+
var j:int = Math.floor(n/DB);
|
963
|
+
if (j>=t) {
|
964
|
+
return s!=0;
|
965
|
+
}
|
966
|
+
return ((a[j]&(1<<(n%DB)))!=0);
|
967
|
+
}
|
968
|
+
|
969
|
+
/**
|
970
|
+
*
|
971
|
+
* @param n
|
972
|
+
* @param op
|
973
|
+
* @return this op (1<<n)
|
974
|
+
*
|
975
|
+
*/
|
976
|
+
protected function changeBit(n:int,op:Function):BigInteger {
|
977
|
+
var r:BigInteger = BigInteger.ONE.shiftLeft(n);
|
978
|
+
bitwiseTo(r, op, r);
|
979
|
+
return r;
|
980
|
+
}
|
981
|
+
|
982
|
+
/**
|
983
|
+
*
|
984
|
+
* @param n
|
985
|
+
* @return this | (1<<n)
|
986
|
+
*
|
987
|
+
*/
|
988
|
+
public function setBit(n:int):BigInteger { return changeBit(n, op_or); }
|
989
|
+
|
990
|
+
/**
|
991
|
+
*
|
992
|
+
* @param n
|
993
|
+
* @return this & ~(1<<n)
|
994
|
+
*
|
995
|
+
*/
|
996
|
+
public function clearBit(n:int):BigInteger { return changeBit(n, op_andnot); }
|
997
|
+
|
998
|
+
/**
|
999
|
+
*
|
1000
|
+
* @param n
|
1001
|
+
* @return this ^ (1<<n)
|
1002
|
+
*
|
1003
|
+
*/
|
1004
|
+
public function flipBit(n:int):BigInteger { return changeBit(n, op_xor); }
|
1005
|
+
|
1006
|
+
/**
|
1007
|
+
*
|
1008
|
+
* @param a
|
1009
|
+
* @param r = this + a
|
1010
|
+
*
|
1011
|
+
*/
|
1012
|
+
protected function addTo(a:BigInteger, r:BigInteger):void {
|
1013
|
+
var i:int = 0;
|
1014
|
+
var c:int = 0;
|
1015
|
+
var m:int = Math.min(a.t, t);
|
1016
|
+
while (i<m) {
|
1017
|
+
c += this.a[i] + a.a[i];
|
1018
|
+
r.a[i++] = c&DM;
|
1019
|
+
c>>=DB;
|
1020
|
+
}
|
1021
|
+
if (a.t < t) {
|
1022
|
+
c += a.s;
|
1023
|
+
while (i<t) {
|
1024
|
+
c += this.a[i];
|
1025
|
+
r.a[i++] = c&DM;
|
1026
|
+
c >>= DB;
|
1027
|
+
}
|
1028
|
+
c += s;
|
1029
|
+
} else {
|
1030
|
+
c += s;
|
1031
|
+
while (i<a.t) {
|
1032
|
+
c += a.a[i];
|
1033
|
+
r.a[i++] = c&DM;
|
1034
|
+
c >>= DB;
|
1035
|
+
}
|
1036
|
+
c += a.s;
|
1037
|
+
}
|
1038
|
+
r.s = (c<0)?-1:0;
|
1039
|
+
if (c>0) {
|
1040
|
+
r.a[i++] = c;
|
1041
|
+
} else if (c<-1) {
|
1042
|
+
r.a[i++] = DV+c;
|
1043
|
+
}
|
1044
|
+
r.t = i;
|
1045
|
+
r.clamp();
|
1046
|
+
}
|
1047
|
+
|
1048
|
+
/**
|
1049
|
+
*
|
1050
|
+
* @param a
|
1051
|
+
* @return this + a
|
1052
|
+
*
|
1053
|
+
*/
|
1054
|
+
public function add(a:BigInteger):BigInteger {
|
1055
|
+
var r:BigInteger = new BigInteger;
|
1056
|
+
addTo(a,r);
|
1057
|
+
return r;
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
/**
|
1061
|
+
*
|
1062
|
+
* @param a
|
1063
|
+
* @return this - a
|
1064
|
+
*
|
1065
|
+
*/
|
1066
|
+
public function subtract(a:BigInteger):BigInteger {
|
1067
|
+
var r:BigInteger = new BigInteger;
|
1068
|
+
subTo(a,r);
|
1069
|
+
return r;
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
/**
|
1073
|
+
*
|
1074
|
+
* @param a
|
1075
|
+
* @return this * a
|
1076
|
+
*
|
1077
|
+
*/
|
1078
|
+
public function multiply(a:BigInteger):BigInteger {
|
1079
|
+
var r:BigInteger = new BigInteger;
|
1080
|
+
multiplyTo(a,r);
|
1081
|
+
return r;
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
/**
|
1085
|
+
*
|
1086
|
+
* @param a
|
1087
|
+
* @return this / a
|
1088
|
+
*
|
1089
|
+
*/
|
1090
|
+
public function divide(a:BigInteger):BigInteger {
|
1091
|
+
var r:BigInteger = new BigInteger;
|
1092
|
+
divRemTo(a, r, null);
|
1093
|
+
return r;
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
public function remainder(a:BigInteger):BigInteger {
|
1097
|
+
var r:BigInteger = new BigInteger;
|
1098
|
+
divRemTo(a, null, r);
|
1099
|
+
return r;
|
1100
|
+
}
|
1101
|
+
|
1102
|
+
/**
|
1103
|
+
*
|
1104
|
+
* @param a
|
1105
|
+
* @return [this/a, this%a]
|
1106
|
+
*
|
1107
|
+
*/
|
1108
|
+
public function divideAndRemainder(a:BigInteger):Array {
|
1109
|
+
var q:BigInteger = new BigInteger;
|
1110
|
+
var r:BigInteger = new BigInteger;
|
1111
|
+
divRemTo(a, q, r);
|
1112
|
+
return [q,r];
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
/**
|
1116
|
+
*
|
1117
|
+
* this *= n, this >=0, 1 < n < DV
|
1118
|
+
*
|
1119
|
+
* @param n
|
1120
|
+
*
|
1121
|
+
*/
|
1122
|
+
bi_internal function dMultiply(n:int):void {
|
1123
|
+
a[t] = am(0, n-1, this, 0, 0, t);
|
1124
|
+
++t;
|
1125
|
+
clamp();
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
/**
|
1129
|
+
*
|
1130
|
+
* this += n << w words, this >= 0
|
1131
|
+
*
|
1132
|
+
* @param n
|
1133
|
+
* @param w
|
1134
|
+
*
|
1135
|
+
*/
|
1136
|
+
bi_internal function dAddOffset(n:int, w:int):void {
|
1137
|
+
while (t<=w) {
|
1138
|
+
a[t++] = 0;
|
1139
|
+
}
|
1140
|
+
a[w] += n;
|
1141
|
+
while (a[w] >= DV) {
|
1142
|
+
a[w] -= DV;
|
1143
|
+
if (++w >= t) {
|
1144
|
+
a[t++] = 0;
|
1145
|
+
}
|
1146
|
+
++a[w];
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
|
1150
|
+
/**
|
1151
|
+
*
|
1152
|
+
* @param e
|
1153
|
+
* @return this^e
|
1154
|
+
*
|
1155
|
+
*/
|
1156
|
+
public function pow(e:int):BigInteger {
|
1157
|
+
return exp(e, new NullReduction);
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
/**
|
1161
|
+
*
|
1162
|
+
* @param a
|
1163
|
+
* @param n
|
1164
|
+
* @param r = lower n words of "this * a", a.t <= n
|
1165
|
+
*
|
1166
|
+
*/
|
1167
|
+
bi_internal function multiplyLowerTo(a:BigInteger, n:int, r:BigInteger):void {
|
1168
|
+
var i:int = Math.min(t+a.t, n);
|
1169
|
+
r.s = 0; // assumes a, this >= 0
|
1170
|
+
r.t = i;
|
1171
|
+
while (i>0) {
|
1172
|
+
r.a[--i]=0;
|
1173
|
+
}
|
1174
|
+
var j:int;
|
1175
|
+
for (j=r.t-t;i<j;++i) {
|
1176
|
+
r.a[i+t] = am(0, a.a[i], r, i, 0, t);
|
1177
|
+
}
|
1178
|
+
for (j=Math.min(a.t,n);i<j;++i) {
|
1179
|
+
am(0, a.a[i], r, i, 0, n-i);
|
1180
|
+
}
|
1181
|
+
r.clamp();
|
1182
|
+
}
|
1183
|
+
|
1184
|
+
/**
|
1185
|
+
*
|
1186
|
+
* @param a
|
1187
|
+
* @param n
|
1188
|
+
* @param r = "this * a" without lower n words, n > 0
|
1189
|
+
*
|
1190
|
+
*/
|
1191
|
+
bi_internal function multiplyUpperTo(a:BigInteger, n:int, r:BigInteger):void {
|
1192
|
+
--n;
|
1193
|
+
var i:int = r.t = t+a.t-n;
|
1194
|
+
r.s = 0; // assumes a,this >= 0
|
1195
|
+
while (--i>=0) {
|
1196
|
+
r.a[i] = 0;
|
1197
|
+
}
|
1198
|
+
for (i=Math.max(n-t,0);i<a.t;++i) {
|
1199
|
+
r.a[t+i-n] = am(n-i, a.a[i], r, 0, 0, t+i-n);
|
1200
|
+
}
|
1201
|
+
r.clamp();
|
1202
|
+
r.drShiftTo(1,r);
|
1203
|
+
}
|
1204
|
+
|
1205
|
+
/**
|
1206
|
+
*
|
1207
|
+
* @param e
|
1208
|
+
* @param m
|
1209
|
+
* @return this^e % m (HAC 14.85)
|
1210
|
+
*
|
1211
|
+
*/
|
1212
|
+
public function modPow(e:BigInteger, m:BigInteger):BigInteger {
|
1213
|
+
var i:int = e.bitLength();
|
1214
|
+
var k:int;
|
1215
|
+
var r:BigInteger = nbv(1);
|
1216
|
+
var z:IReduction;
|
1217
|
+
|
1218
|
+
if (i<=0) {
|
1219
|
+
return r;
|
1220
|
+
} else if (i<18) {
|
1221
|
+
k=1;
|
1222
|
+
} else if (i<48) {
|
1223
|
+
k=3;
|
1224
|
+
} else if (i<144) {
|
1225
|
+
k=4;
|
1226
|
+
} else if (i<768) {
|
1227
|
+
k=5;
|
1228
|
+
} else {
|
1229
|
+
k=6;
|
1230
|
+
}
|
1231
|
+
if (i<8) {
|
1232
|
+
z = new ClassicReduction(m);
|
1233
|
+
} else if (m.isEven()) {
|
1234
|
+
z = new BarrettReduction(m);
|
1235
|
+
} else {
|
1236
|
+
z = new MontgomeryReduction(m);
|
1237
|
+
}
|
1238
|
+
// precomputation
|
1239
|
+
var g:Array = [];
|
1240
|
+
var n:int = 3;
|
1241
|
+
var k1:int = k-1;
|
1242
|
+
var km:int = (1<<k)-1;
|
1243
|
+
g[1] = z.convert(this);
|
1244
|
+
if (k > 1) {
|
1245
|
+
var g2:BigInteger = new BigInteger;
|
1246
|
+
z.sqrTo(g[1], g2);
|
1247
|
+
while (n<=km) {
|
1248
|
+
g[n] = new BigInteger;
|
1249
|
+
z.mulTo(g2, g[n-2], g[n]);
|
1250
|
+
n += 2;
|
1251
|
+
}
|
1252
|
+
}
|
1253
|
+
|
1254
|
+
var j:int = e.t-1;
|
1255
|
+
var w:int;
|
1256
|
+
var is1:Boolean = true;
|
1257
|
+
var r2:BigInteger = new BigInteger;
|
1258
|
+
var t:BigInteger;
|
1259
|
+
i = nbits(e.a[j])-1;
|
1260
|
+
while (j>=0) {
|
1261
|
+
if (i>=k1) {
|
1262
|
+
w = (e.a[j]>>(i-k1))&km;
|
1263
|
+
} else {
|
1264
|
+
w = (e.a[j]&((1<<(i+1))-1))<<(k1-i);
|
1265
|
+
if (j>0) {
|
1266
|
+
w |= e.a[j-1]>>(DB+i-k1);
|
1267
|
+
}
|
1268
|
+
}
|
1269
|
+
n = k;
|
1270
|
+
while ((w&1)==0) {
|
1271
|
+
w >>= 1;
|
1272
|
+
--n;
|
1273
|
+
}
|
1274
|
+
if ((i -= n) <0) {
|
1275
|
+
i += DB;
|
1276
|
+
--j;
|
1277
|
+
}
|
1278
|
+
if (is1) { // ret == 1, don't bother squaring or multiplying it
|
1279
|
+
g[w].copyTo(r);
|
1280
|
+
is1 = false;
|
1281
|
+
} else {
|
1282
|
+
while (n>1) {
|
1283
|
+
z.sqrTo(r, r2);
|
1284
|
+
z.sqrTo(r2, r);
|
1285
|
+
n -= 2;
|
1286
|
+
}
|
1287
|
+
if (n>0) {
|
1288
|
+
z.sqrTo(r, r2);
|
1289
|
+
} else {
|
1290
|
+
t = r;
|
1291
|
+
r = r2;
|
1292
|
+
r2 = t;
|
1293
|
+
}
|
1294
|
+
z.mulTo(r2, g[w], r);
|
1295
|
+
}
|
1296
|
+
while (j>=0 && (e.a[j]&(1<<i)) == 0) {
|
1297
|
+
z.sqrTo(r, r2);
|
1298
|
+
t = r;
|
1299
|
+
r = r2;
|
1300
|
+
r2 = t;
|
1301
|
+
if (--i<0) {
|
1302
|
+
i = DB-1;
|
1303
|
+
--j;
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
}
|
1307
|
+
}
|
1308
|
+
return z.revert(r);
|
1309
|
+
}
|
1310
|
+
|
1311
|
+
/**
|
1312
|
+
*
|
1313
|
+
* @param a
|
1314
|
+
* @return gcd(this, a) (HAC 14.54)
|
1315
|
+
*
|
1316
|
+
*/
|
1317
|
+
public function gcd(a:BigInteger):BigInteger {
|
1318
|
+
var x:BigInteger = (s<0)?negate():clone();
|
1319
|
+
var y:BigInteger = (a.s<0)?a.negate():a.clone();
|
1320
|
+
if (x.compareTo(y)<0) {
|
1321
|
+
var t:BigInteger=x;
|
1322
|
+
x=y;
|
1323
|
+
y=t;
|
1324
|
+
}
|
1325
|
+
var i:int = x.getLowestSetBit();
|
1326
|
+
var g:int = y.getLowestSetBit();
|
1327
|
+
if (g<0) return x;
|
1328
|
+
if (i<g) g= i;
|
1329
|
+
if (g>0) {
|
1330
|
+
x.rShiftTo(g, x);
|
1331
|
+
y.rShiftTo(g, y);
|
1332
|
+
}
|
1333
|
+
while (x.sigNum()>0) {
|
1334
|
+
if ((i = x.getLowestSetBit()) >0) {
|
1335
|
+
x.rShiftTo(i, x);
|
1336
|
+
}
|
1337
|
+
if ((i = y.getLowestSetBit()) >0) {
|
1338
|
+
y.rShiftTo(i, y);
|
1339
|
+
}
|
1340
|
+
if (x.compareTo(y) >= 0) {
|
1341
|
+
x.subTo(y, x);
|
1342
|
+
x.rShiftTo(1, x);
|
1343
|
+
} else {
|
1344
|
+
y.subTo(x, y);
|
1345
|
+
y.rShiftTo(1, y);
|
1346
|
+
}
|
1347
|
+
}
|
1348
|
+
if (g>0) {
|
1349
|
+
y.lShiftTo(g, y);
|
1350
|
+
}
|
1351
|
+
return y;
|
1352
|
+
}
|
1353
|
+
|
1354
|
+
/**
|
1355
|
+
*
|
1356
|
+
* @param n
|
1357
|
+
* @return this % n, n < 2^DB
|
1358
|
+
*
|
1359
|
+
*/
|
1360
|
+
protected function modInt(n:int):int {
|
1361
|
+
if (n<=0) return 0;
|
1362
|
+
var d:int = DV%n;
|
1363
|
+
var r:int = (s<0)?n-1:0;
|
1364
|
+
if (t>0) {
|
1365
|
+
if (d==0) {
|
1366
|
+
r = a[0]%n;
|
1367
|
+
} else {
|
1368
|
+
for (var i:int=t-1;i>=0;--i) {
|
1369
|
+
r = (d*r+a[i])%n;
|
1370
|
+
}
|
1371
|
+
}
|
1372
|
+
}
|
1373
|
+
return r;
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
/**
|
1377
|
+
*
|
1378
|
+
* @param m
|
1379
|
+
* @return 1/this %m (HAC 14.61)
|
1380
|
+
*
|
1381
|
+
*/
|
1382
|
+
public function modInverse(m:BigInteger):BigInteger {
|
1383
|
+
var ac:Boolean = m.isEven();
|
1384
|
+
if ((isEven()&&ac) || m.sigNum()==0) {
|
1385
|
+
return BigInteger.ZERO;
|
1386
|
+
}
|
1387
|
+
var u:BigInteger = m.clone();
|
1388
|
+
var v:BigInteger = clone();
|
1389
|
+
var a:BigInteger = nbv(1);
|
1390
|
+
var b:BigInteger = nbv(0);
|
1391
|
+
var c:BigInteger = nbv(0);
|
1392
|
+
var d:BigInteger = nbv(1);
|
1393
|
+
while (u.sigNum()!=0) {
|
1394
|
+
while (u.isEven()) {
|
1395
|
+
u.rShiftTo(1,u);
|
1396
|
+
if (ac) {
|
1397
|
+
if (!a.isEven() || !b.isEven()) {
|
1398
|
+
a.addTo(this,a);
|
1399
|
+
b.subTo(m,b);
|
1400
|
+
}
|
1401
|
+
a.rShiftTo(1,a);
|
1402
|
+
} else if (!b.isEven()) {
|
1403
|
+
b.subTo(m,b);
|
1404
|
+
}
|
1405
|
+
b.rShiftTo(1,b);
|
1406
|
+
}
|
1407
|
+
while (v.isEven()) {
|
1408
|
+
v.rShiftTo(1,v);
|
1409
|
+
if (ac) {
|
1410
|
+
if (!c.isEven() || !d.isEven()) {
|
1411
|
+
c.addTo(this,c);
|
1412
|
+
d.subTo(m,d);
|
1413
|
+
}
|
1414
|
+
c.rShiftTo(1,c);
|
1415
|
+
} else if (!d.isEven()) {
|
1416
|
+
d.subTo(m,d);
|
1417
|
+
}
|
1418
|
+
d.rShiftTo(1,d);
|
1419
|
+
}
|
1420
|
+
if (u.compareTo(v)>=0) {
|
1421
|
+
u.subTo(v,u);
|
1422
|
+
if (ac) {
|
1423
|
+
a.subTo(c,a);
|
1424
|
+
}
|
1425
|
+
b.subTo(d,b);
|
1426
|
+
} else {
|
1427
|
+
v.subTo(u,v);
|
1428
|
+
if (ac) {
|
1429
|
+
c.subTo(a,c);
|
1430
|
+
}
|
1431
|
+
d.subTo(b,d);
|
1432
|
+
}
|
1433
|
+
}
|
1434
|
+
if (v.compareTo(BigInteger.ONE) != 0) {
|
1435
|
+
return BigInteger.ZERO;
|
1436
|
+
}
|
1437
|
+
if (d.compareTo(m) >= 0) {
|
1438
|
+
return d.subtract(m);
|
1439
|
+
}
|
1440
|
+
if (d.sigNum()<0) {
|
1441
|
+
d.addTo(m,d);
|
1442
|
+
} else {
|
1443
|
+
return d;
|
1444
|
+
}
|
1445
|
+
if (d.sigNum()<0) {
|
1446
|
+
return d.add(m);
|
1447
|
+
} else {
|
1448
|
+
return d;
|
1449
|
+
}
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
/**
|
1453
|
+
*
|
1454
|
+
* @param t
|
1455
|
+
* @return primality with certainty >= 1-.5^t
|
1456
|
+
*
|
1457
|
+
*/
|
1458
|
+
public function isProbablePrime(t:int):Boolean {
|
1459
|
+
var i:int;
|
1460
|
+
var x:BigInteger = abs();
|
1461
|
+
if (x.t == 1 && x.a[0]<=lowprimes[lowprimes.length-1]) {
|
1462
|
+
for (i=0;i<lowprimes.length;++i) {
|
1463
|
+
if (x[0]==lowprimes[i]) return true;
|
1464
|
+
}
|
1465
|
+
return false;
|
1466
|
+
}
|
1467
|
+
if (x.isEven()) return false;
|
1468
|
+
i = 1;
|
1469
|
+
while (i<lowprimes.length) {
|
1470
|
+
var m:int = lowprimes[i];
|
1471
|
+
var j:int = i+1;
|
1472
|
+
while (j<lowprimes.length && m<lplim) {
|
1473
|
+
m *= lowprimes[j++];
|
1474
|
+
}
|
1475
|
+
m = x.modInt(m);
|
1476
|
+
while (i<j) {
|
1477
|
+
if (m%lowprimes[i++]==0) {
|
1478
|
+
return false;
|
1479
|
+
}
|
1480
|
+
}
|
1481
|
+
}
|
1482
|
+
return x.millerRabin(t);
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
/**
|
1486
|
+
*
|
1487
|
+
* @param t
|
1488
|
+
* @return true if probably prime (HAC 4.24, Miller-Rabin)
|
1489
|
+
*
|
1490
|
+
*/
|
1491
|
+
protected function millerRabin(t:int):Boolean {
|
1492
|
+
var n1:BigInteger = subtract(BigInteger.ONE);
|
1493
|
+
var k:int = n1.getLowestSetBit();
|
1494
|
+
if (k<=0) {
|
1495
|
+
return false;
|
1496
|
+
}
|
1497
|
+
var r:BigInteger = n1.shiftRight(k);
|
1498
|
+
t = (t+1)>>1;
|
1499
|
+
if (t>lowprimes.length) {
|
1500
|
+
t = lowprimes.length;
|
1501
|
+
}
|
1502
|
+
var a:BigInteger = new BigInteger;
|
1503
|
+
for (var i:int=0;i<t;++i) {
|
1504
|
+
a.fromInt(lowprimes[i]);
|
1505
|
+
var y:BigInteger = a.modPow(r, this);
|
1506
|
+
if (y.compareTo(BigInteger.ONE)!=0 && y.compareTo(n1)!=0) {
|
1507
|
+
var j:int = 1;
|
1508
|
+
while (j++<k && y.compareTo(n1)!=0) {
|
1509
|
+
y = y.modPowInt(2, this);
|
1510
|
+
if (y.compareTo(BigInteger.ONE)==0) {
|
1511
|
+
return false;
|
1512
|
+
}
|
1513
|
+
}
|
1514
|
+
if (y.compareTo(n1)!=0) {
|
1515
|
+
return false;
|
1516
|
+
}
|
1517
|
+
}
|
1518
|
+
}
|
1519
|
+
return true;
|
1520
|
+
}
|
1521
|
+
|
1522
|
+
/**
|
1523
|
+
* Tweak our BigInteger until it looks prime enough
|
1524
|
+
*
|
1525
|
+
* @param bits
|
1526
|
+
* @param t
|
1527
|
+
*
|
1528
|
+
*/
|
1529
|
+
public function primify(bits:int, t:int):void {
|
1530
|
+
if (!testBit(bits-1)) { // force MSB set
|
1531
|
+
bitwiseTo(BigInteger.ONE.shiftLeft(bits-1), op_or, this);
|
1532
|
+
}
|
1533
|
+
if (isEven()) {
|
1534
|
+
dAddOffset(1,0); // force odd
|
1535
|
+
}
|
1536
|
+
while (!isProbablePrime(t)) {
|
1537
|
+
dAddOffset(2,0);
|
1538
|
+
while(bitLength()>bits) subTo(BigInteger.ONE.shiftLeft(bits-1),this);
|
1539
|
+
}
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
}
|
1543
|
+
}
|