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,69 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2
|
+
*
|
3
|
+
* ***** BEGIN LICENSE BLOCK *****
|
4
|
+
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
5
|
+
*
|
6
|
+
* The contents of this file are subject to the Mozilla Public License Version
|
7
|
+
* 1.1 (the "License"); you may not use this file except in compliance with
|
8
|
+
* the License. You may obtain a copy of the License at
|
9
|
+
* http://www.mozilla.org/MPL/
|
10
|
+
*
|
11
|
+
* Software distributed under the License is distributed on an "AS IS" basis,
|
12
|
+
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
13
|
+
* for the specific language governing rights and limitations under the
|
14
|
+
* License.
|
15
|
+
*
|
16
|
+
* The Original Code is Mozilla Communicator client code, released
|
17
|
+
* March 31, 1998.
|
18
|
+
*
|
19
|
+
* The Initial Developer of the Original Code is
|
20
|
+
* Netscape Communications Corporation.
|
21
|
+
* Portions created by the Initial Developer are Copyright (C) 1998
|
22
|
+
* the Initial Developer. All Rights Reserved.
|
23
|
+
*
|
24
|
+
* Contributor(s):
|
25
|
+
* IBM Corp.
|
26
|
+
*
|
27
|
+
* Alternatively, the contents of this file may be used under the terms of
|
28
|
+
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
29
|
+
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
30
|
+
* in which case the provisions of the GPL or the LGPL are applicable instead
|
31
|
+
* of those above. If you wish to allow use of your version of this file only
|
32
|
+
* under the terms of either the GPL or the LGPL, and not to allow others to
|
33
|
+
* use your version of this file under the terms of the MPL, indicate your
|
34
|
+
* decision by deleting the provisions above and replace them with the notice
|
35
|
+
* and other provisions required by the GPL or the LGPL. If you do not delete
|
36
|
+
* the provisions above, a recipient may use your version of this file under
|
37
|
+
* the terms of any one of the MPL, the GPL or the LGPL.
|
38
|
+
*
|
39
|
+
* ***** END LICENSE BLOCK ***** */
|
40
|
+
|
41
|
+
#ifndef _LIBMATH_H
|
42
|
+
#define _LIBMATH_H
|
43
|
+
|
44
|
+
#include <math.h>
|
45
|
+
#include "jsversion.h"
|
46
|
+
|
47
|
+
/*
|
48
|
+
* Use system provided math routines.
|
49
|
+
*/
|
50
|
+
|
51
|
+
/* The right copysign function is not always named the same thing. */
|
52
|
+
#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
53
|
+
#define js_copysign __builtin_copysign
|
54
|
+
#elif defined WINCE
|
55
|
+
#define js_copysign _copysign
|
56
|
+
#elif defined _WIN32
|
57
|
+
#if _MSC_VER < 1400
|
58
|
+
/* Try to work around apparent _copysign bustage in VC6 and VC7. */
|
59
|
+
#define js_copysign js_copysign
|
60
|
+
extern double js_copysign(double, double);
|
61
|
+
#else
|
62
|
+
#define js_copysign _copysign
|
63
|
+
#endif
|
64
|
+
#else
|
65
|
+
#define js_copysign copysign
|
66
|
+
#endif
|
67
|
+
|
68
|
+
#endif /* _LIBMATH_H */
|
69
|
+
|
@@ -0,0 +1,1417 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2
|
+
*
|
3
|
+
* ***** BEGIN LICENSE BLOCK *****
|
4
|
+
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
5
|
+
*
|
6
|
+
* The contents of this file are subject to the Mozilla Public License Version
|
7
|
+
* 1.1 (the "License"); you may not use this file except in compliance with
|
8
|
+
* the License. You may obtain a copy of the License at
|
9
|
+
* http://www.mozilla.org/MPL/
|
10
|
+
*
|
11
|
+
* Software distributed under the License is distributed on an "AS IS" basis,
|
12
|
+
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
13
|
+
* for the specific language governing rights and limitations under the
|
14
|
+
* License.
|
15
|
+
*
|
16
|
+
* The Original Code is Mozilla Communicator client code, released
|
17
|
+
* March 31, 1998.
|
18
|
+
*
|
19
|
+
* The Initial Developer of the Original Code is
|
20
|
+
* Netscape Communications Corporation.
|
21
|
+
* Portions created by the Initial Developer are Copyright (C) 1998
|
22
|
+
* the Initial Developer. All Rights Reserved.
|
23
|
+
*
|
24
|
+
* Contributor(s):
|
25
|
+
*
|
26
|
+
* Alternatively, the contents of this file may be used under the terms of
|
27
|
+
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
28
|
+
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
29
|
+
* in which case the provisions of the GPL or the LGPL are applicable instead
|
30
|
+
* of those above. If you wish to allow use of your version of this file only
|
31
|
+
* under the terms of either the GPL or the LGPL, and not to allow others to
|
32
|
+
* use your version of this file under the terms of the MPL, indicate your
|
33
|
+
* decision by deleting the provisions above and replace them with the notice
|
34
|
+
* and other provisions required by the GPL or the LGPL. If you do not delete
|
35
|
+
* the provisions above, a recipient may use your version of this file under
|
36
|
+
* the terms of any one of the MPL, the GPL or the LGPL.
|
37
|
+
*
|
38
|
+
* ***** END LICENSE BLOCK ***** */
|
39
|
+
|
40
|
+
#ifdef JS_THREADSAFE
|
41
|
+
|
42
|
+
/*
|
43
|
+
* JS locking stubs.
|
44
|
+
*/
|
45
|
+
#include "jsstddef.h"
|
46
|
+
#include <stdlib.h>
|
47
|
+
#include <string.h>
|
48
|
+
#include "jspubtd.h"
|
49
|
+
#include "jsutil.h" /* Added by JSIFY */
|
50
|
+
#include "jstypes.h"
|
51
|
+
#include "jsbit.h"
|
52
|
+
#include "jscntxt.h"
|
53
|
+
#include "jsdtoa.h"
|
54
|
+
#include "jsgc.h"
|
55
|
+
#include "jsfun.h" /* for VALUE_IS_FUNCTION used by *_WRITE_BARRIER */
|
56
|
+
#include "jslock.h"
|
57
|
+
#include "jsscope.h"
|
58
|
+
#include "jsstr.h"
|
59
|
+
|
60
|
+
#define ReadWord(W) (W)
|
61
|
+
|
62
|
+
/* Implement NativeCompareAndSwap. */
|
63
|
+
|
64
|
+
#if defined(_WIN32) && defined(_M_IX86)
|
65
|
+
#pragma warning( disable : 4035 )
|
66
|
+
JS_BEGIN_EXTERN_C
|
67
|
+
extern long __cdecl
|
68
|
+
_InterlockedCompareExchange(long *volatile dest, long exchange, long comp);
|
69
|
+
JS_END_EXTERN_C
|
70
|
+
#pragma intrinsic(_InterlockedCompareExchange)
|
71
|
+
|
72
|
+
static JS_ALWAYS_INLINE int
|
73
|
+
NativeCompareAndSwapHelper(jsword *w, jsword ov, jsword nv)
|
74
|
+
{
|
75
|
+
_InterlockedCompareExchange(w, nv, ov);
|
76
|
+
__asm {
|
77
|
+
sete al
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
static JS_ALWAYS_INLINE int
|
82
|
+
NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
|
83
|
+
{
|
84
|
+
return (NativeCompareAndSwapHelper(w, ov, nv) & 1);
|
85
|
+
}
|
86
|
+
|
87
|
+
#elif defined(XP_MACOSX) || defined(DARWIN)
|
88
|
+
|
89
|
+
#include <libkern/OSAtomic.h>
|
90
|
+
|
91
|
+
static JS_ALWAYS_INLINE int
|
92
|
+
NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
|
93
|
+
{
|
94
|
+
/* Details on these functions available in the manpage for atomic */
|
95
|
+
#if JS_BYTES_PER_WORD == 8 && JS_BYTES_PER_LONG != 8
|
96
|
+
return OSAtomicCompareAndSwap64Barrier(ov, nv, (int64_t*) w);
|
97
|
+
#else
|
98
|
+
return OSAtomicCompareAndSwap32Barrier(ov, nv, (int32_t*) w);
|
99
|
+
#endif
|
100
|
+
}
|
101
|
+
|
102
|
+
#elif defined(__GNUC__) && defined(__i386__)
|
103
|
+
|
104
|
+
/* Note: This fails on 386 cpus, cmpxchgl is a >= 486 instruction */
|
105
|
+
static JS_ALWAYS_INLINE int
|
106
|
+
NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
|
107
|
+
{
|
108
|
+
unsigned int res;
|
109
|
+
|
110
|
+
__asm__ __volatile__ (
|
111
|
+
"lock\n"
|
112
|
+
"cmpxchgl %2, (%1)\n"
|
113
|
+
"sete %%al\n"
|
114
|
+
"andl $1, %%eax\n"
|
115
|
+
: "=a" (res)
|
116
|
+
: "r" (w), "r" (nv), "a" (ov)
|
117
|
+
: "cc", "memory");
|
118
|
+
return (int)res;
|
119
|
+
}
|
120
|
+
|
121
|
+
#elif defined(__GNUC__) && defined(__x86_64__)
|
122
|
+
static JS_ALWAYS_INLINE int
|
123
|
+
NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
|
124
|
+
{
|
125
|
+
unsigned int res;
|
126
|
+
|
127
|
+
__asm__ __volatile__ (
|
128
|
+
"lock\n"
|
129
|
+
"cmpxchgq %2, (%1)\n"
|
130
|
+
"sete %%al\n"
|
131
|
+
"movzbl %%al, %%eax\n"
|
132
|
+
: "=a" (res)
|
133
|
+
: "r" (w), "r" (nv), "a" (ov)
|
134
|
+
: "cc", "memory");
|
135
|
+
return (int)res;
|
136
|
+
}
|
137
|
+
|
138
|
+
#elif defined(SOLARIS) && defined(sparc) && defined(ULTRA_SPARC)
|
139
|
+
|
140
|
+
static JS_ALWAYS_INLINE int
|
141
|
+
NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
|
142
|
+
{
|
143
|
+
#if defined(__GNUC__)
|
144
|
+
unsigned int res;
|
145
|
+
JS_ASSERT(ov != nv);
|
146
|
+
asm volatile ("\
|
147
|
+
stbar\n\
|
148
|
+
cas [%1],%2,%3\n\
|
149
|
+
cmp %2,%3\n\
|
150
|
+
be,a 1f\n\
|
151
|
+
mov 1,%0\n\
|
152
|
+
mov 0,%0\n\
|
153
|
+
1:"
|
154
|
+
: "=r" (res)
|
155
|
+
: "r" (w), "r" (ov), "r" (nv));
|
156
|
+
return (int)res;
|
157
|
+
#else /* !__GNUC__ */
|
158
|
+
extern int compare_and_swap(jsword*, jsword, jsword);
|
159
|
+
JS_ASSERT(ov != nv);
|
160
|
+
return compare_and_swap(w, ov, nv);
|
161
|
+
#endif
|
162
|
+
}
|
163
|
+
|
164
|
+
#elif defined(AIX)
|
165
|
+
|
166
|
+
#include <sys/atomic_op.h>
|
167
|
+
|
168
|
+
static JS_ALWAYS_INLINE int
|
169
|
+
NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
|
170
|
+
{
|
171
|
+
return !_check_lock((atomic_p)w, ov, nv);
|
172
|
+
}
|
173
|
+
|
174
|
+
#elif defined(USE_ARM_KUSER)
|
175
|
+
|
176
|
+
/* See https://bugzilla.mozilla.org/show_bug.cgi?id=429387 for a
|
177
|
+
* description of this ABI; this is a function provided at a fixed
|
178
|
+
* location by the kernel in the memory space of each process.
|
179
|
+
*/
|
180
|
+
typedef int (__kernel_cmpxchg_t)(int oldval, int newval, volatile int *ptr);
|
181
|
+
#define __kernel_cmpxchg (*(__kernel_cmpxchg_t *)0xffff0fc0)
|
182
|
+
|
183
|
+
JS_STATIC_ASSERT(sizeof(jsword) == sizeof(int));
|
184
|
+
|
185
|
+
static JS_ALWAYS_INLINE int
|
186
|
+
NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
|
187
|
+
{
|
188
|
+
volatile int *vp = (volatile int *) w;
|
189
|
+
PRInt32 failed = 1;
|
190
|
+
|
191
|
+
/* Loop until a __kernel_cmpxchg succeeds. See bug 446169 */
|
192
|
+
do {
|
193
|
+
failed = __kernel_cmpxchg(ov, nv, vp);
|
194
|
+
} while (failed && *vp == ov);
|
195
|
+
return !failed;
|
196
|
+
}
|
197
|
+
|
198
|
+
#elif JS_HAS_NATIVE_COMPARE_AND_SWAP
|
199
|
+
|
200
|
+
#error "JS_HAS_NATIVE_COMPARE_AND_SWAP should be 0 if your platform lacks a compare-and-swap instruction."
|
201
|
+
|
202
|
+
#endif /* arch-tests */
|
203
|
+
|
204
|
+
#if JS_HAS_NATIVE_COMPARE_AND_SWAP
|
205
|
+
|
206
|
+
JSBool
|
207
|
+
js_CompareAndSwap(jsword *w, jsword ov, jsword nv)
|
208
|
+
{
|
209
|
+
return !!NativeCompareAndSwap(w, ov, nv);
|
210
|
+
}
|
211
|
+
|
212
|
+
#elif defined(NSPR_LOCK)
|
213
|
+
|
214
|
+
# ifdef __GNUC__
|
215
|
+
# warning "js_CompareAndSwap is implemented using NSSP lock"
|
216
|
+
# endif
|
217
|
+
|
218
|
+
JSBool
|
219
|
+
js_CompareAndSwap(jsword *w, jsword ov, jsword nv)
|
220
|
+
{
|
221
|
+
int result;
|
222
|
+
static PRLock *CompareAndSwapLock = JS_NEW_LOCK();
|
223
|
+
|
224
|
+
JS_ACQUIRE_LOCK(CompareAndSwapLock);
|
225
|
+
result = (*w == ov);
|
226
|
+
if (result)
|
227
|
+
*w = nv;
|
228
|
+
JS_RELEASE_LOCK(CompareAndSwapLock);
|
229
|
+
return result;
|
230
|
+
}
|
231
|
+
|
232
|
+
#else /* !defined(NSPR_LOCK) */
|
233
|
+
|
234
|
+
#error "NSPR_LOCK should be on when the platform lacks native compare-and-swap."
|
235
|
+
|
236
|
+
#endif
|
237
|
+
|
238
|
+
#ifndef NSPR_LOCK
|
239
|
+
|
240
|
+
struct JSFatLock {
|
241
|
+
int susp;
|
242
|
+
PRLock *slock;
|
243
|
+
PRCondVar *svar;
|
244
|
+
JSFatLock *next;
|
245
|
+
JSFatLock **prevp;
|
246
|
+
};
|
247
|
+
|
248
|
+
typedef struct JSFatLockTable {
|
249
|
+
JSFatLock *free;
|
250
|
+
JSFatLock *taken;
|
251
|
+
} JSFatLockTable;
|
252
|
+
|
253
|
+
#define GLOBAL_LOCK_INDEX(id) (((uint32)(jsuword)(id)>>2) & global_locks_mask)
|
254
|
+
|
255
|
+
static void
|
256
|
+
js_Dequeue(JSThinLock *);
|
257
|
+
|
258
|
+
static PRLock **global_locks;
|
259
|
+
static uint32 global_lock_count = 1;
|
260
|
+
static uint32 global_locks_log2 = 0;
|
261
|
+
static uint32 global_locks_mask = 0;
|
262
|
+
|
263
|
+
static void
|
264
|
+
js_LockGlobal(void *id)
|
265
|
+
{
|
266
|
+
uint32 i = GLOBAL_LOCK_INDEX(id);
|
267
|
+
PR_Lock(global_locks[i]);
|
268
|
+
}
|
269
|
+
|
270
|
+
static void
|
271
|
+
js_UnlockGlobal(void *id)
|
272
|
+
{
|
273
|
+
uint32 i = GLOBAL_LOCK_INDEX(id);
|
274
|
+
PR_Unlock(global_locks[i]);
|
275
|
+
}
|
276
|
+
|
277
|
+
#endif /* !NSPR_LOCK */
|
278
|
+
|
279
|
+
void
|
280
|
+
js_InitLock(JSThinLock *tl)
|
281
|
+
{
|
282
|
+
#ifdef NSPR_LOCK
|
283
|
+
tl->owner = 0;
|
284
|
+
tl->fat = (JSFatLock*)JS_NEW_LOCK();
|
285
|
+
#else
|
286
|
+
memset(tl, 0, sizeof(JSThinLock));
|
287
|
+
#endif
|
288
|
+
}
|
289
|
+
|
290
|
+
void
|
291
|
+
js_FinishLock(JSThinLock *tl)
|
292
|
+
{
|
293
|
+
#ifdef NSPR_LOCK
|
294
|
+
tl->owner = 0xdeadbeef;
|
295
|
+
if (tl->fat)
|
296
|
+
JS_DESTROY_LOCK(((JSLock*)tl->fat));
|
297
|
+
#else
|
298
|
+
JS_ASSERT(tl->owner == 0);
|
299
|
+
JS_ASSERT(tl->fat == NULL);
|
300
|
+
#endif
|
301
|
+
}
|
302
|
+
|
303
|
+
#ifdef DEBUG_SCOPE_COUNT
|
304
|
+
|
305
|
+
#include <stdio.h>
|
306
|
+
#include "jsdhash.h"
|
307
|
+
|
308
|
+
static FILE *logfp;
|
309
|
+
static JSDHashTable logtbl;
|
310
|
+
|
311
|
+
typedef struct logentry {
|
312
|
+
JSDHashEntryStub stub;
|
313
|
+
char op;
|
314
|
+
const char *file;
|
315
|
+
int line;
|
316
|
+
} logentry;
|
317
|
+
|
318
|
+
static void
|
319
|
+
logit(JSScope *scope, char op, const char *file, int line)
|
320
|
+
{
|
321
|
+
logentry *entry;
|
322
|
+
|
323
|
+
if (!logfp) {
|
324
|
+
logfp = fopen("/tmp/scope.log", "w");
|
325
|
+
if (!logfp)
|
326
|
+
return;
|
327
|
+
setvbuf(logfp, NULL, _IONBF, 0);
|
328
|
+
}
|
329
|
+
fprintf(logfp, "%p %c %s %d\n", scope, op, file, line);
|
330
|
+
|
331
|
+
if (!logtbl.entryStore &&
|
332
|
+
!JS_DHashTableInit(&logtbl, JS_DHashGetStubOps(), NULL,
|
333
|
+
sizeof(logentry), 100)) {
|
334
|
+
return;
|
335
|
+
}
|
336
|
+
entry = (logentry *) JS_DHashTableOperate(&logtbl, scope, JS_DHASH_ADD);
|
337
|
+
if (!entry)
|
338
|
+
return;
|
339
|
+
entry->stub.key = scope;
|
340
|
+
entry->op = op;
|
341
|
+
entry->file = file;
|
342
|
+
entry->line = line;
|
343
|
+
}
|
344
|
+
|
345
|
+
void
|
346
|
+
js_unlog_scope(JSScope *scope)
|
347
|
+
{
|
348
|
+
if (!logtbl.entryStore)
|
349
|
+
return;
|
350
|
+
(void) JS_DHashTableOperate(&logtbl, scope, JS_DHASH_REMOVE);
|
351
|
+
}
|
352
|
+
|
353
|
+
# define LOGIT(scope,op) logit(scope, op, __FILE__, __LINE__)
|
354
|
+
|
355
|
+
#else
|
356
|
+
|
357
|
+
# define LOGIT(scope,op) /* nothing */
|
358
|
+
|
359
|
+
#endif /* DEBUG_SCOPE_COUNT */
|
360
|
+
|
361
|
+
/*
|
362
|
+
* Return true if scope's ownercx, or the ownercx of a single-threaded scope
|
363
|
+
* for which ownercx is waiting to become multi-threaded and shared, is cx.
|
364
|
+
* That condition implies deadlock in ClaimScope if cx's thread were to wait
|
365
|
+
* to share scope.
|
366
|
+
*
|
367
|
+
* (i) rt->gcLock held
|
368
|
+
*/
|
369
|
+
static JSBool
|
370
|
+
WillDeadlock(JSTitle *title, JSContext *cx)
|
371
|
+
{
|
372
|
+
JSContext *ownercx;
|
373
|
+
|
374
|
+
do {
|
375
|
+
ownercx = title->ownercx;
|
376
|
+
if (ownercx == cx) {
|
377
|
+
JS_RUNTIME_METER(cx->runtime, deadlocksAvoided);
|
378
|
+
return JS_TRUE;
|
379
|
+
}
|
380
|
+
} while (ownercx && (title = ownercx->titleToShare) != NULL);
|
381
|
+
return JS_FALSE;
|
382
|
+
}
|
383
|
+
|
384
|
+
/*
|
385
|
+
* Make title multi-threaded, i.e. share its ownership among contexts in rt
|
386
|
+
* using a "thin" or (if necessary due to contention) "fat" lock. Called only
|
387
|
+
* from ClaimTitle, immediately below, when we detect deadlock were we to wait
|
388
|
+
* for title's lock, because its ownercx is waiting on a title owned by the
|
389
|
+
* calling cx.
|
390
|
+
*
|
391
|
+
* (i) rt->gcLock held
|
392
|
+
*/
|
393
|
+
static void
|
394
|
+
ShareTitle(JSContext *cx, JSTitle *title)
|
395
|
+
{
|
396
|
+
JSRuntime *rt;
|
397
|
+
JSTitle **todop;
|
398
|
+
|
399
|
+
rt = cx->runtime;
|
400
|
+
if (title->u.link) {
|
401
|
+
for (todop = &rt->titleSharingTodo; *todop != title;
|
402
|
+
todop = &(*todop)->u.link) {
|
403
|
+
JS_ASSERT(*todop != NO_TITLE_SHARING_TODO);
|
404
|
+
}
|
405
|
+
*todop = title->u.link;
|
406
|
+
title->u.link = NULL; /* null u.link for sanity ASAP */
|
407
|
+
JS_NOTIFY_ALL_CONDVAR(rt->titleSharingDone);
|
408
|
+
}
|
409
|
+
js_InitLock(&title->lock);
|
410
|
+
title->u.count = 0;
|
411
|
+
js_FinishSharingTitle(cx, title);
|
412
|
+
}
|
413
|
+
|
414
|
+
/*
|
415
|
+
* js_FinishSharingTitle is the tail part of ShareTitle, split out to become a
|
416
|
+
* subroutine of JS_EndRequest too. The bulk of the work here involves making
|
417
|
+
* mutable strings in the title's object's slots be immutable. We have to do
|
418
|
+
* this because such strings will soon be available to multiple threads, so
|
419
|
+
* their buffers can't be realloc'd any longer in js_ConcatStrings, and their
|
420
|
+
* members can't be modified by js_ConcatStrings, js_MinimizeDependentStrings,
|
421
|
+
* or js_UndependString.
|
422
|
+
*
|
423
|
+
* The last bit of work done by js_FinishSharingTitle nulls title->ownercx and
|
424
|
+
* updates rt->sharedTitles.
|
425
|
+
*/
|
426
|
+
|
427
|
+
void
|
428
|
+
js_FinishSharingTitle(JSContext *cx, JSTitle *title)
|
429
|
+
{
|
430
|
+
JSObjectMap *map;
|
431
|
+
JSScope *scope;
|
432
|
+
JSObject *obj;
|
433
|
+
uint32 nslots, i;
|
434
|
+
jsval v;
|
435
|
+
|
436
|
+
map = TITLE_TO_MAP(title);
|
437
|
+
if (!MAP_IS_NATIVE(map))
|
438
|
+
return;
|
439
|
+
scope = (JSScope *)map;
|
440
|
+
|
441
|
+
obj = scope->object;
|
442
|
+
if (obj) {
|
443
|
+
nslots = scope->map.freeslot;
|
444
|
+
for (i = 0; i != nslots; ++i) {
|
445
|
+
v = STOBJ_GET_SLOT(obj, i);
|
446
|
+
if (JSVAL_IS_STRING(v) &&
|
447
|
+
!js_MakeStringImmutable(cx, JSVAL_TO_STRING(v))) {
|
448
|
+
/*
|
449
|
+
* FIXME bug 363059: The following error recovery changes
|
450
|
+
* runtime execution semantics, arbitrarily and silently
|
451
|
+
* ignoring errors except out-of-memory, which should have been
|
452
|
+
* reported through JS_ReportOutOfMemory at this point.
|
453
|
+
*/
|
454
|
+
STOBJ_SET_SLOT(obj, i, JSVAL_VOID);
|
455
|
+
}
|
456
|
+
}
|
457
|
+
}
|
458
|
+
|
459
|
+
title->ownercx = NULL; /* NB: set last, after lock init */
|
460
|
+
JS_RUNTIME_METER(cx->runtime, sharedTitles);
|
461
|
+
}
|
462
|
+
|
463
|
+
/*
|
464
|
+
* Given a title with apparently non-null ownercx different from cx, try to
|
465
|
+
* set ownercx to cx, claiming exclusive (single-threaded) ownership of title.
|
466
|
+
* If we claim ownership, return true. Otherwise, we wait for ownercx to be
|
467
|
+
* set to null (indicating that title is multi-threaded); or if waiting would
|
468
|
+
* deadlock, we set ownercx to null ourselves via ShareTitle. In any case,
|
469
|
+
* once ownercx is null we return false.
|
470
|
+
*/
|
471
|
+
static JSBool
|
472
|
+
ClaimTitle(JSTitle *title, JSContext *cx)
|
473
|
+
{
|
474
|
+
JSRuntime *rt;
|
475
|
+
JSContext *ownercx;
|
476
|
+
jsrefcount saveDepth;
|
477
|
+
PRStatus stat;
|
478
|
+
|
479
|
+
rt = cx->runtime;
|
480
|
+
JS_RUNTIME_METER(rt, claimAttempts);
|
481
|
+
JS_LOCK_GC(rt);
|
482
|
+
|
483
|
+
/* Reload in case ownercx went away while we blocked on the lock. */
|
484
|
+
while ((ownercx = title->ownercx) != NULL) {
|
485
|
+
/*
|
486
|
+
* Avoid selflock if ownercx is dead, or is not running a request, or
|
487
|
+
* has the same thread as cx. Set title->ownercx to cx so that the
|
488
|
+
* matching JS_UNLOCK_SCOPE or JS_UNLOCK_OBJ macro call will take the
|
489
|
+
* fast path around the corresponding js_UnlockTitle or js_UnlockObj
|
490
|
+
* function call.
|
491
|
+
*
|
492
|
+
* If title->u.link is non-null, title has already been inserted on
|
493
|
+
* the rt->titleSharingTodo list, because another thread's context
|
494
|
+
* already wanted to lock title while ownercx was running a request.
|
495
|
+
* We can't claim any title whose u.link is non-null at this point,
|
496
|
+
* even if ownercx->requestDepth is 0 (see below where we suspend our
|
497
|
+
* request before waiting on rt->titleSharingDone).
|
498
|
+
*/
|
499
|
+
if (!title->u.link &&
|
500
|
+
(!js_ValidContextPointer(rt, ownercx) ||
|
501
|
+
!ownercx->requestDepth ||
|
502
|
+
ownercx->thread == cx->thread)) {
|
503
|
+
JS_ASSERT(title->u.count == 0);
|
504
|
+
title->ownercx = cx;
|
505
|
+
JS_UNLOCK_GC(rt);
|
506
|
+
JS_RUNTIME_METER(rt, claimedTitles);
|
507
|
+
return JS_TRUE;
|
508
|
+
}
|
509
|
+
|
510
|
+
/*
|
511
|
+
* Avoid deadlock if title's owner context is waiting on a title that
|
512
|
+
* we own, by revoking title's ownership. This approach to deadlock
|
513
|
+
* avoidance works because the engine never nests title locks.
|
514
|
+
*
|
515
|
+
* If cx could hold locks on ownercx->titleToShare, or if ownercx could
|
516
|
+
* hold locks on title, we would need to keep reentrancy counts for all
|
517
|
+
* such "flyweight" (ownercx != NULL) locks, so that control would
|
518
|
+
* unwind properly once these locks became "thin" or "fat". The engine
|
519
|
+
* promotes a title from exclusive to shared access only when locking,
|
520
|
+
* never when holding or unlocking.
|
521
|
+
*
|
522
|
+
* Avoid deadlock before any of this title/context cycle detection if
|
523
|
+
* cx is on the active GC's thread, because in that case, no requests
|
524
|
+
* will run until the GC completes. Any title wanted by the GC (from
|
525
|
+
* a finalizer) that can't be claimed must become shared.
|
526
|
+
*/
|
527
|
+
if (rt->gcThread == cx->thread ||
|
528
|
+
(ownercx->titleToShare &&
|
529
|
+
WillDeadlock(ownercx->titleToShare, cx))) {
|
530
|
+
ShareTitle(cx, title);
|
531
|
+
break;
|
532
|
+
}
|
533
|
+
|
534
|
+
/*
|
535
|
+
* Thanks to the non-zero NO_TITLE_SHARING_TODO link terminator, we
|
536
|
+
* can decide whether title is on rt->titleSharingTodo with a single
|
537
|
+
* non-null test, and avoid double-insertion bugs.
|
538
|
+
*/
|
539
|
+
if (!title->u.link) {
|
540
|
+
title->u.link = rt->titleSharingTodo;
|
541
|
+
rt->titleSharingTodo = title;
|
542
|
+
js_HoldObjectMap(cx, TITLE_TO_MAP(title));
|
543
|
+
}
|
544
|
+
|
545
|
+
/*
|
546
|
+
* Inline JS_SuspendRequest before we wait on rt->titleSharingDone,
|
547
|
+
* saving and clearing cx->requestDepth so we don't deadlock if the
|
548
|
+
* GC needs to run on ownercx.
|
549
|
+
*
|
550
|
+
* Unlike JS_SuspendRequest and JS_EndRequest, we must take care not
|
551
|
+
* to decrement rt->requestCount if cx is active on the GC's thread,
|
552
|
+
* because the GC has already reduced rt->requestCount to exclude all
|
553
|
+
* such such contexts.
|
554
|
+
*/
|
555
|
+
saveDepth = cx->requestDepth;
|
556
|
+
if (saveDepth) {
|
557
|
+
cx->requestDepth = 0;
|
558
|
+
if (rt->gcThread != cx->thread) {
|
559
|
+
JS_ASSERT(rt->requestCount > 0);
|
560
|
+
rt->requestCount--;
|
561
|
+
if (rt->requestCount == 0)
|
562
|
+
JS_NOTIFY_REQUEST_DONE(rt);
|
563
|
+
}
|
564
|
+
}
|
565
|
+
|
566
|
+
/*
|
567
|
+
* We know that some other thread's context owns title, which is now
|
568
|
+
* linked onto rt->titleSharingTodo, awaiting the end of that other
|
569
|
+
* thread's request. So it is safe to wait on rt->titleSharingDone.
|
570
|
+
*/
|
571
|
+
cx->titleToShare = title;
|
572
|
+
stat = PR_WaitCondVar(rt->titleSharingDone, PR_INTERVAL_NO_TIMEOUT);
|
573
|
+
JS_ASSERT(stat != PR_FAILURE);
|
574
|
+
|
575
|
+
/*
|
576
|
+
* Inline JS_ResumeRequest after waiting on rt->titleSharingDone,
|
577
|
+
* restoring cx->requestDepth. Same note as above for the inlined,
|
578
|
+
* specialized JS_SuspendRequest code: beware rt->gcThread.
|
579
|
+
*/
|
580
|
+
if (saveDepth) {
|
581
|
+
if (rt->gcThread != cx->thread) {
|
582
|
+
while (rt->gcLevel > 0)
|
583
|
+
JS_AWAIT_GC_DONE(rt);
|
584
|
+
rt->requestCount++;
|
585
|
+
}
|
586
|
+
cx->requestDepth = saveDepth;
|
587
|
+
}
|
588
|
+
|
589
|
+
/*
|
590
|
+
* Don't clear cx->titleToShare until after we're through waiting on
|
591
|
+
* all condition variables protected by rt->gcLock -- that includes
|
592
|
+
* rt->titleSharingDone *and* rt->gcDone (hidden in JS_AWAIT_GC_DONE,
|
593
|
+
* in the inlined JS_ResumeRequest code immediately above).
|
594
|
+
*
|
595
|
+
* Otherwise, the GC could easily deadlock with another thread that
|
596
|
+
* owns a title wanted by a finalizer. By keeping cx->titleToShare
|
597
|
+
* set till here, we ensure that such deadlocks are detected, which
|
598
|
+
* results in the finalized object's title being shared (it must, of
|
599
|
+
* course, have other, live objects sharing it).
|
600
|
+
*/
|
601
|
+
cx->titleToShare = NULL;
|
602
|
+
}
|
603
|
+
|
604
|
+
JS_UNLOCK_GC(rt);
|
605
|
+
return JS_FALSE;
|
606
|
+
}
|
607
|
+
|
608
|
+
/* Exported to js.c, which calls it via OBJ_GET_* and JSVAL_IS_* macros. */
|
609
|
+
JS_FRIEND_API(jsval)
|
610
|
+
js_GetSlotThreadSafe(JSContext *cx, JSObject *obj, uint32 slot)
|
611
|
+
{
|
612
|
+
jsval v;
|
613
|
+
JSScope *scope;
|
614
|
+
JSTitle *title;
|
615
|
+
#ifndef NSPR_LOCK
|
616
|
+
JSThinLock *tl;
|
617
|
+
jsword me;
|
618
|
+
#endif
|
619
|
+
|
620
|
+
/*
|
621
|
+
* We handle non-native objects via JSObjectOps.getRequiredSlot, treating
|
622
|
+
* all slots starting from 0 as required slots. A property definition or
|
623
|
+
* some prior arrangement must have allocated slot.
|
624
|
+
*
|
625
|
+
* Note once again (see jspubtd.h, before JSGetRequiredSlotOp's typedef)
|
626
|
+
* the crucial distinction between a |required slot number| that's passed
|
627
|
+
* to the get/setRequiredSlot JSObjectOps, and a |reserved slot index|
|
628
|
+
* passed to the JS_Get/SetReservedSlot APIs.
|
629
|
+
*/
|
630
|
+
if (!OBJ_IS_NATIVE(obj))
|
631
|
+
return OBJ_GET_REQUIRED_SLOT(cx, obj, slot);
|
632
|
+
|
633
|
+
/*
|
634
|
+
* Native object locking is inlined here to optimize the single-threaded
|
635
|
+
* and contention-free multi-threaded cases.
|
636
|
+
*/
|
637
|
+
scope = OBJ_SCOPE(obj);
|
638
|
+
title = &scope->title;
|
639
|
+
JS_ASSERT(title->ownercx != cx);
|
640
|
+
JS_ASSERT(slot < obj->map->freeslot);
|
641
|
+
|
642
|
+
/*
|
643
|
+
* Avoid locking if called from the GC. Also avoid locking an object
|
644
|
+
* owning a sealed scope. If neither of those special cases applies, try
|
645
|
+
* to claim scope's flyweight lock from whatever context may have had it in
|
646
|
+
* an earlier request.
|
647
|
+
*/
|
648
|
+
if (CX_THREAD_IS_RUNNING_GC(cx) ||
|
649
|
+
(SCOPE_IS_SEALED(scope) && scope->object == obj) ||
|
650
|
+
(title->ownercx && ClaimTitle(title, cx))) {
|
651
|
+
return STOBJ_GET_SLOT(obj, slot);
|
652
|
+
}
|
653
|
+
|
654
|
+
#ifndef NSPR_LOCK
|
655
|
+
tl = &title->lock;
|
656
|
+
me = CX_THINLOCK_ID(cx);
|
657
|
+
JS_ASSERT(CURRENT_THREAD_IS_ME(me));
|
658
|
+
if (NativeCompareAndSwap(&tl->owner, 0, me)) {
|
659
|
+
/*
|
660
|
+
* Got the lock with one compare-and-swap. Even so, someone else may
|
661
|
+
* have mutated obj so it now has its own scope and lock, which would
|
662
|
+
* require either a restart from the top of this routine, or a thin
|
663
|
+
* lock release followed by fat lock acquisition.
|
664
|
+
*/
|
665
|
+
if (scope == OBJ_SCOPE(obj)) {
|
666
|
+
v = STOBJ_GET_SLOT(obj, slot);
|
667
|
+
if (!NativeCompareAndSwap(&tl->owner, me, 0)) {
|
668
|
+
/* Assert that scope locks never revert to flyweight. */
|
669
|
+
JS_ASSERT(title->ownercx != cx);
|
670
|
+
LOGIT(scope, '1');
|
671
|
+
title->u.count = 1;
|
672
|
+
js_UnlockObj(cx, obj);
|
673
|
+
}
|
674
|
+
return v;
|
675
|
+
}
|
676
|
+
if (!NativeCompareAndSwap(&tl->owner, me, 0))
|
677
|
+
js_Dequeue(tl);
|
678
|
+
}
|
679
|
+
else if (Thin_RemoveWait(ReadWord(tl->owner)) == me) {
|
680
|
+
return STOBJ_GET_SLOT(obj, slot);
|
681
|
+
}
|
682
|
+
#endif
|
683
|
+
|
684
|
+
js_LockObj(cx, obj);
|
685
|
+
v = STOBJ_GET_SLOT(obj, slot);
|
686
|
+
|
687
|
+
/*
|
688
|
+
* Test whether cx took ownership of obj's scope during js_LockObj.
|
689
|
+
*
|
690
|
+
* This does not mean that a given scope reverted to flyweight from "thin"
|
691
|
+
* or "fat" -- it does mean that obj's map pointer changed due to another
|
692
|
+
* thread setting a property, requiring obj to cease sharing a prototype
|
693
|
+
* object's scope (whose lock was not flyweight, else we wouldn't be here
|
694
|
+
* in the first place!).
|
695
|
+
*/
|
696
|
+
title = &OBJ_SCOPE(obj)->title;
|
697
|
+
if (title->ownercx != cx)
|
698
|
+
js_UnlockTitle(cx, title);
|
699
|
+
return v;
|
700
|
+
}
|
701
|
+
|
702
|
+
void
|
703
|
+
js_SetSlotThreadSafe(JSContext *cx, JSObject *obj, uint32 slot, jsval v)
|
704
|
+
{
|
705
|
+
JSTitle *title;
|
706
|
+
JSScope *scope;
|
707
|
+
#ifndef NSPR_LOCK
|
708
|
+
JSThinLock *tl;
|
709
|
+
jsword me;
|
710
|
+
#endif
|
711
|
+
|
712
|
+
/* Any string stored in a thread-safe object must be immutable. */
|
713
|
+
if (JSVAL_IS_STRING(v) &&
|
714
|
+
!js_MakeStringImmutable(cx, JSVAL_TO_STRING(v))) {
|
715
|
+
/* FIXME bug 363059: See comments in js_FinishSharingScope. */
|
716
|
+
v = JSVAL_NULL;
|
717
|
+
}
|
718
|
+
|
719
|
+
/*
|
720
|
+
* We handle non-native objects via JSObjectOps.setRequiredSlot, as above
|
721
|
+
* for the Get case.
|
722
|
+
*/
|
723
|
+
if (!OBJ_IS_NATIVE(obj)) {
|
724
|
+
OBJ_SET_REQUIRED_SLOT(cx, obj, slot, v);
|
725
|
+
return;
|
726
|
+
}
|
727
|
+
|
728
|
+
/*
|
729
|
+
* Native object locking is inlined here to optimize the single-threaded
|
730
|
+
* and contention-free multi-threaded cases.
|
731
|
+
*/
|
732
|
+
scope = OBJ_SCOPE(obj);
|
733
|
+
title = &scope->title;
|
734
|
+
JS_ASSERT(title->ownercx != cx);
|
735
|
+
JS_ASSERT(slot < obj->map->freeslot);
|
736
|
+
|
737
|
+
/*
|
738
|
+
* Avoid locking if called from the GC. Also avoid locking an object
|
739
|
+
* owning a sealed scope. If neither of those special cases applies, try
|
740
|
+
* to claim scope's flyweight lock from whatever context may have had it in
|
741
|
+
* an earlier request.
|
742
|
+
*/
|
743
|
+
if (CX_THREAD_IS_RUNNING_GC(cx) ||
|
744
|
+
(SCOPE_IS_SEALED(scope) && scope->object == obj) ||
|
745
|
+
(title->ownercx && ClaimTitle(title, cx))) {
|
746
|
+
LOCKED_OBJ_WRITE_BARRIER(cx, obj, slot, v);
|
747
|
+
return;
|
748
|
+
}
|
749
|
+
|
750
|
+
#ifndef NSPR_LOCK
|
751
|
+
tl = &title->lock;
|
752
|
+
me = CX_THINLOCK_ID(cx);
|
753
|
+
JS_ASSERT(CURRENT_THREAD_IS_ME(me));
|
754
|
+
if (NativeCompareAndSwap(&tl->owner, 0, me)) {
|
755
|
+
if (scope == OBJ_SCOPE(obj)) {
|
756
|
+
LOCKED_OBJ_WRITE_BARRIER(cx, obj, slot, v);
|
757
|
+
if (!NativeCompareAndSwap(&tl->owner, me, 0)) {
|
758
|
+
/* Assert that scope locks never revert to flyweight. */
|
759
|
+
JS_ASSERT(title->ownercx != cx);
|
760
|
+
LOGIT(scope, '1');
|
761
|
+
title->u.count = 1;
|
762
|
+
js_UnlockObj(cx, obj);
|
763
|
+
}
|
764
|
+
return;
|
765
|
+
}
|
766
|
+
if (!NativeCompareAndSwap(&tl->owner, me, 0))
|
767
|
+
js_Dequeue(tl);
|
768
|
+
}
|
769
|
+
else if (Thin_RemoveWait(ReadWord(tl->owner)) == me) {
|
770
|
+
LOCKED_OBJ_WRITE_BARRIER(cx, obj, slot, v);
|
771
|
+
return;
|
772
|
+
}
|
773
|
+
#endif
|
774
|
+
|
775
|
+
js_LockObj(cx, obj);
|
776
|
+
LOCKED_OBJ_WRITE_BARRIER(cx, obj, slot, v);
|
777
|
+
|
778
|
+
/*
|
779
|
+
* Same drill as above, in js_GetSlotThreadSafe.
|
780
|
+
*/
|
781
|
+
title = &OBJ_SCOPE(obj)->title;
|
782
|
+
if (title->ownercx != cx)
|
783
|
+
js_UnlockTitle(cx, title);
|
784
|
+
}
|
785
|
+
|
786
|
+
#ifndef NSPR_LOCK
|
787
|
+
|
788
|
+
static JSFatLock *
|
789
|
+
NewFatlock()
|
790
|
+
{
|
791
|
+
JSFatLock *fl = (JSFatLock *)malloc(sizeof(JSFatLock)); /* for now */
|
792
|
+
if (!fl) return NULL;
|
793
|
+
fl->susp = 0;
|
794
|
+
fl->next = NULL;
|
795
|
+
fl->prevp = NULL;
|
796
|
+
fl->slock = PR_NewLock();
|
797
|
+
fl->svar = PR_NewCondVar(fl->slock);
|
798
|
+
return fl;
|
799
|
+
}
|
800
|
+
|
801
|
+
static void
|
802
|
+
DestroyFatlock(JSFatLock *fl)
|
803
|
+
{
|
804
|
+
PR_DestroyLock(fl->slock);
|
805
|
+
PR_DestroyCondVar(fl->svar);
|
806
|
+
free(fl);
|
807
|
+
}
|
808
|
+
|
809
|
+
static JSFatLock *
|
810
|
+
ListOfFatlocks(int listc)
|
811
|
+
{
|
812
|
+
JSFatLock *m;
|
813
|
+
JSFatLock *m0;
|
814
|
+
int i;
|
815
|
+
|
816
|
+
JS_ASSERT(listc>0);
|
817
|
+
m0 = m = NewFatlock();
|
818
|
+
for (i=1; i<listc; i++) {
|
819
|
+
m->next = NewFatlock();
|
820
|
+
m = m->next;
|
821
|
+
}
|
822
|
+
return m0;
|
823
|
+
}
|
824
|
+
|
825
|
+
static void
|
826
|
+
DeleteListOfFatlocks(JSFatLock *m)
|
827
|
+
{
|
828
|
+
JSFatLock *m0;
|
829
|
+
for (; m; m=m0) {
|
830
|
+
m0 = m->next;
|
831
|
+
DestroyFatlock(m);
|
832
|
+
}
|
833
|
+
}
|
834
|
+
|
835
|
+
static JSFatLockTable *fl_list_table = NULL;
|
836
|
+
static uint32 fl_list_table_len = 0;
|
837
|
+
static uint32 fl_list_chunk_len = 0;
|
838
|
+
|
839
|
+
static JSFatLock *
|
840
|
+
GetFatlock(void *id)
|
841
|
+
{
|
842
|
+
JSFatLock *m;
|
843
|
+
|
844
|
+
uint32 i = GLOBAL_LOCK_INDEX(id);
|
845
|
+
if (fl_list_table[i].free == NULL) {
|
846
|
+
#ifdef DEBUG
|
847
|
+
if (fl_list_table[i].taken)
|
848
|
+
printf("Ran out of fat locks!\n");
|
849
|
+
#endif
|
850
|
+
fl_list_table[i].free = ListOfFatlocks(fl_list_chunk_len);
|
851
|
+
}
|
852
|
+
m = fl_list_table[i].free;
|
853
|
+
fl_list_table[i].free = m->next;
|
854
|
+
m->susp = 0;
|
855
|
+
m->next = fl_list_table[i].taken;
|
856
|
+
m->prevp = &fl_list_table[i].taken;
|
857
|
+
if (fl_list_table[i].taken)
|
858
|
+
fl_list_table[i].taken->prevp = &m->next;
|
859
|
+
fl_list_table[i].taken = m;
|
860
|
+
return m;
|
861
|
+
}
|
862
|
+
|
863
|
+
static void
|
864
|
+
PutFatlock(JSFatLock *m, void *id)
|
865
|
+
{
|
866
|
+
uint32 i;
|
867
|
+
if (m == NULL)
|
868
|
+
return;
|
869
|
+
|
870
|
+
/* Unlink m from fl_list_table[i].taken. */
|
871
|
+
*m->prevp = m->next;
|
872
|
+
if (m->next)
|
873
|
+
m->next->prevp = m->prevp;
|
874
|
+
|
875
|
+
/* Insert m in fl_list_table[i].free. */
|
876
|
+
i = GLOBAL_LOCK_INDEX(id);
|
877
|
+
m->next = fl_list_table[i].free;
|
878
|
+
fl_list_table[i].free = m;
|
879
|
+
}
|
880
|
+
|
881
|
+
#endif /* !NSPR_LOCK */
|
882
|
+
|
883
|
+
JSBool
|
884
|
+
js_SetupLocks(int listc, int globc)
|
885
|
+
{
|
886
|
+
#ifndef NSPR_LOCK
|
887
|
+
uint32 i;
|
888
|
+
|
889
|
+
if (global_locks)
|
890
|
+
return JS_TRUE;
|
891
|
+
#ifdef DEBUG
|
892
|
+
if (listc > 10000 || listc < 0) /* listc == fat lock list chunk length */
|
893
|
+
printf("Bad number %d in js_SetupLocks()!\n", listc);
|
894
|
+
if (globc > 100 || globc < 0) /* globc == number of global locks */
|
895
|
+
printf("Bad number %d in js_SetupLocks()!\n", listc);
|
896
|
+
#endif
|
897
|
+
global_locks_log2 = JS_CeilingLog2(globc);
|
898
|
+
global_locks_mask = JS_BITMASK(global_locks_log2);
|
899
|
+
global_lock_count = JS_BIT(global_locks_log2);
|
900
|
+
global_locks = (PRLock **) malloc(global_lock_count * sizeof(PRLock*));
|
901
|
+
if (!global_locks)
|
902
|
+
return JS_FALSE;
|
903
|
+
for (i = 0; i < global_lock_count; i++) {
|
904
|
+
global_locks[i] = PR_NewLock();
|
905
|
+
if (!global_locks[i]) {
|
906
|
+
global_lock_count = i;
|
907
|
+
js_CleanupLocks();
|
908
|
+
return JS_FALSE;
|
909
|
+
}
|
910
|
+
}
|
911
|
+
fl_list_table = (JSFatLockTable *) malloc(i * sizeof(JSFatLockTable));
|
912
|
+
if (!fl_list_table) {
|
913
|
+
js_CleanupLocks();
|
914
|
+
return JS_FALSE;
|
915
|
+
}
|
916
|
+
fl_list_table_len = global_lock_count;
|
917
|
+
for (i = 0; i < global_lock_count; i++)
|
918
|
+
fl_list_table[i].free = fl_list_table[i].taken = NULL;
|
919
|
+
fl_list_chunk_len = listc;
|
920
|
+
#endif /* !NSPR_LOCK */
|
921
|
+
return JS_TRUE;
|
922
|
+
}
|
923
|
+
|
924
|
+
void
|
925
|
+
js_CleanupLocks()
|
926
|
+
{
|
927
|
+
#ifndef NSPR_LOCK
|
928
|
+
uint32 i;
|
929
|
+
|
930
|
+
if (global_locks) {
|
931
|
+
for (i = 0; i < global_lock_count; i++)
|
932
|
+
PR_DestroyLock(global_locks[i]);
|
933
|
+
free(global_locks);
|
934
|
+
global_locks = NULL;
|
935
|
+
global_lock_count = 1;
|
936
|
+
global_locks_log2 = 0;
|
937
|
+
global_locks_mask = 0;
|
938
|
+
}
|
939
|
+
if (fl_list_table) {
|
940
|
+
for (i = 0; i < fl_list_table_len; i++) {
|
941
|
+
DeleteListOfFatlocks(fl_list_table[i].free);
|
942
|
+
fl_list_table[i].free = NULL;
|
943
|
+
DeleteListOfFatlocks(fl_list_table[i].taken);
|
944
|
+
fl_list_table[i].taken = NULL;
|
945
|
+
}
|
946
|
+
free(fl_list_table);
|
947
|
+
fl_list_table = NULL;
|
948
|
+
fl_list_table_len = 0;
|
949
|
+
}
|
950
|
+
#endif /* !NSPR_LOCK */
|
951
|
+
}
|
952
|
+
|
953
|
+
#ifdef NSPR_LOCK
|
954
|
+
|
955
|
+
static JS_ALWAYS_INLINE void
|
956
|
+
ThinLock(JSThinLock *tl, jsword me)
|
957
|
+
{
|
958
|
+
JS_ACQUIRE_LOCK((JSLock *) tl->fat);
|
959
|
+
tl->owner = me;
|
960
|
+
}
|
961
|
+
|
962
|
+
static JS_ALWAYS_INLINE void
|
963
|
+
ThinUnlock(JSThinLock *tl, jsword /*me*/)
|
964
|
+
{
|
965
|
+
tl->owner = 0;
|
966
|
+
JS_RELEASE_LOCK((JSLock *) tl->fat);
|
967
|
+
}
|
968
|
+
|
969
|
+
#else
|
970
|
+
|
971
|
+
/*
|
972
|
+
* Fast locking and unlocking is implemented by delaying the allocation of a
|
973
|
+
* system lock (fat lock) until contention. As long as a locking thread A
|
974
|
+
* runs uncontended, the lock is represented solely by storing A's identity in
|
975
|
+
* the object being locked.
|
976
|
+
*
|
977
|
+
* If another thread B tries to lock the object currently locked by A, B is
|
978
|
+
* enqueued into a fat lock structure (which might have to be allocated and
|
979
|
+
* pointed to by the object), and suspended using NSPR conditional variables
|
980
|
+
* (wait). A wait bit (Bacon bit) is set in the lock word of the object,
|
981
|
+
* signalling to A that when releasing the lock, B must be dequeued and
|
982
|
+
* notified.
|
983
|
+
*
|
984
|
+
* The basic operation of the locking primitives (js_Lock, js_Unlock,
|
985
|
+
* js_Enqueue, and js_Dequeue) is compare-and-swap. Hence, when locking into
|
986
|
+
* the word pointed at by p, compare-and-swap(p, 0, A) success implies that p
|
987
|
+
* is unlocked. Similarly, when unlocking p, if compare-and-swap(p, A, 0)
|
988
|
+
* succeeds this implies that p is uncontended (no one is waiting because the
|
989
|
+
* wait bit is not set).
|
990
|
+
*
|
991
|
+
* When dequeueing, the lock is released, and one of the threads suspended on
|
992
|
+
* the lock is notified. If other threads still are waiting, the wait bit is
|
993
|
+
* kept (in js_Enqueue), and if not, the fat lock is deallocated.
|
994
|
+
*
|
995
|
+
* The functions js_Enqueue, js_Dequeue, js_SuspendThread, and js_ResumeThread
|
996
|
+
* are serialized using a global lock. For scalability, a hashtable of global
|
997
|
+
* locks is used, which is indexed modulo the thin lock pointer.
|
998
|
+
*/
|
999
|
+
|
1000
|
+
/*
|
1001
|
+
* Invariants:
|
1002
|
+
* (i) global lock is held
|
1003
|
+
* (ii) fl->susp >= 0
|
1004
|
+
*/
|
1005
|
+
static int
|
1006
|
+
js_SuspendThread(JSThinLock *tl)
|
1007
|
+
{
|
1008
|
+
JSFatLock *fl;
|
1009
|
+
PRStatus stat;
|
1010
|
+
|
1011
|
+
if (tl->fat == NULL)
|
1012
|
+
fl = tl->fat = GetFatlock(tl);
|
1013
|
+
else
|
1014
|
+
fl = tl->fat;
|
1015
|
+
JS_ASSERT(fl->susp >= 0);
|
1016
|
+
fl->susp++;
|
1017
|
+
PR_Lock(fl->slock);
|
1018
|
+
js_UnlockGlobal(tl);
|
1019
|
+
stat = PR_WaitCondVar(fl->svar, PR_INTERVAL_NO_TIMEOUT);
|
1020
|
+
JS_ASSERT(stat != PR_FAILURE);
|
1021
|
+
PR_Unlock(fl->slock);
|
1022
|
+
js_LockGlobal(tl);
|
1023
|
+
fl->susp--;
|
1024
|
+
if (fl->susp == 0) {
|
1025
|
+
PutFatlock(fl, tl);
|
1026
|
+
tl->fat = NULL;
|
1027
|
+
}
|
1028
|
+
return tl->fat == NULL;
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
/*
|
1032
|
+
* (i) global lock is held
|
1033
|
+
* (ii) fl->susp > 0
|
1034
|
+
*/
|
1035
|
+
static void
|
1036
|
+
js_ResumeThread(JSThinLock *tl)
|
1037
|
+
{
|
1038
|
+
JSFatLock *fl = tl->fat;
|
1039
|
+
PRStatus stat;
|
1040
|
+
|
1041
|
+
JS_ASSERT(fl != NULL);
|
1042
|
+
JS_ASSERT(fl->susp > 0);
|
1043
|
+
PR_Lock(fl->slock);
|
1044
|
+
js_UnlockGlobal(tl);
|
1045
|
+
stat = PR_NotifyCondVar(fl->svar);
|
1046
|
+
JS_ASSERT(stat != PR_FAILURE);
|
1047
|
+
PR_Unlock(fl->slock);
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
static void
|
1051
|
+
js_Enqueue(JSThinLock *tl, jsword me)
|
1052
|
+
{
|
1053
|
+
jsword o, n;
|
1054
|
+
|
1055
|
+
js_LockGlobal(tl);
|
1056
|
+
for (;;) {
|
1057
|
+
o = ReadWord(tl->owner);
|
1058
|
+
n = Thin_SetWait(o);
|
1059
|
+
if (o != 0 && NativeCompareAndSwap(&tl->owner, o, n)) {
|
1060
|
+
if (js_SuspendThread(tl))
|
1061
|
+
me = Thin_RemoveWait(me);
|
1062
|
+
else
|
1063
|
+
me = Thin_SetWait(me);
|
1064
|
+
}
|
1065
|
+
else if (NativeCompareAndSwap(&tl->owner, 0, me)) {
|
1066
|
+
js_UnlockGlobal(tl);
|
1067
|
+
return;
|
1068
|
+
}
|
1069
|
+
}
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
static void
|
1073
|
+
js_Dequeue(JSThinLock *tl)
|
1074
|
+
{
|
1075
|
+
jsword o;
|
1076
|
+
|
1077
|
+
js_LockGlobal(tl);
|
1078
|
+
o = ReadWord(tl->owner);
|
1079
|
+
JS_ASSERT(Thin_GetWait(o) != 0);
|
1080
|
+
JS_ASSERT(tl->fat != NULL);
|
1081
|
+
if (!NativeCompareAndSwap(&tl->owner, o, 0)) /* release it */
|
1082
|
+
JS_ASSERT(0);
|
1083
|
+
js_ResumeThread(tl);
|
1084
|
+
}
|
1085
|
+
|
1086
|
+
static JS_ALWAYS_INLINE void
|
1087
|
+
ThinLock(JSThinLock *tl, jsword me)
|
1088
|
+
{
|
1089
|
+
JS_ASSERT(CURRENT_THREAD_IS_ME(me));
|
1090
|
+
if (NativeCompareAndSwap(&tl->owner, 0, me))
|
1091
|
+
return;
|
1092
|
+
if (Thin_RemoveWait(ReadWord(tl->owner)) != me)
|
1093
|
+
js_Enqueue(tl, me);
|
1094
|
+
#ifdef DEBUG
|
1095
|
+
else
|
1096
|
+
JS_ASSERT(0);
|
1097
|
+
#endif
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
static JS_ALWAYS_INLINE void
|
1101
|
+
ThinUnlock(JSThinLock *tl, jsword me)
|
1102
|
+
{
|
1103
|
+
JS_ASSERT(CURRENT_THREAD_IS_ME(me));
|
1104
|
+
|
1105
|
+
/*
|
1106
|
+
* Since we can race with the NativeCompareAndSwap in js_Enqueue, we need
|
1107
|
+
* to use a C_A_S here as well -- Arjan van de Ven 30/1/08
|
1108
|
+
*/
|
1109
|
+
if (NativeCompareAndSwap(&tl->owner, me, 0))
|
1110
|
+
return;
|
1111
|
+
|
1112
|
+
JS_ASSERT(Thin_GetWait(tl->owner));
|
1113
|
+
if (Thin_RemoveWait(ReadWord(tl->owner)) == me)
|
1114
|
+
js_Dequeue(tl);
|
1115
|
+
#ifdef DEBUG
|
1116
|
+
else
|
1117
|
+
JS_ASSERT(0); /* unbalanced unlock */
|
1118
|
+
#endif
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
#endif /* !NSPR_LOCK */
|
1122
|
+
|
1123
|
+
void
|
1124
|
+
js_Lock(JSContext *cx, JSThinLock *tl)
|
1125
|
+
{
|
1126
|
+
ThinLock(tl, CX_THINLOCK_ID(cx));
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
void
|
1130
|
+
js_Unlock(JSContext *cx, JSThinLock *tl)
|
1131
|
+
{
|
1132
|
+
ThinUnlock(tl, CX_THINLOCK_ID(cx));
|
1133
|
+
}
|
1134
|
+
|
1135
|
+
void
|
1136
|
+
js_LockRuntime(JSRuntime *rt)
|
1137
|
+
{
|
1138
|
+
PR_Lock(rt->rtLock);
|
1139
|
+
#ifdef DEBUG
|
1140
|
+
rt->rtLockOwner = js_CurrentThreadId();
|
1141
|
+
#endif
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
void
|
1145
|
+
js_UnlockRuntime(JSRuntime *rt)
|
1146
|
+
{
|
1147
|
+
#ifdef DEBUG
|
1148
|
+
rt->rtLockOwner = 0;
|
1149
|
+
#endif
|
1150
|
+
PR_Unlock(rt->rtLock);
|
1151
|
+
}
|
1152
|
+
|
1153
|
+
void
|
1154
|
+
js_LockTitle(JSContext *cx, JSTitle *title)
|
1155
|
+
{
|
1156
|
+
jsword me = CX_THINLOCK_ID(cx);
|
1157
|
+
|
1158
|
+
JS_ASSERT(CURRENT_THREAD_IS_ME(me));
|
1159
|
+
JS_ASSERT(title->ownercx != cx);
|
1160
|
+
if (CX_THREAD_IS_RUNNING_GC(cx))
|
1161
|
+
return;
|
1162
|
+
if (title->ownercx && ClaimTitle(title, cx))
|
1163
|
+
return;
|
1164
|
+
|
1165
|
+
if (Thin_RemoveWait(ReadWord(title->lock.owner)) == me) {
|
1166
|
+
JS_ASSERT(title->u.count > 0);
|
1167
|
+
LOGIT(scope, '+');
|
1168
|
+
title->u.count++;
|
1169
|
+
} else {
|
1170
|
+
ThinLock(&title->lock, me);
|
1171
|
+
JS_ASSERT(title->u.count == 0);
|
1172
|
+
LOGIT(scope, '1');
|
1173
|
+
title->u.count = 1;
|
1174
|
+
}
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
void
|
1178
|
+
js_UnlockTitle(JSContext *cx, JSTitle *title)
|
1179
|
+
{
|
1180
|
+
jsword me = CX_THINLOCK_ID(cx);
|
1181
|
+
|
1182
|
+
/* We hope compilers use me instead of reloading cx->thread in the macro. */
|
1183
|
+
if (CX_THREAD_IS_RUNNING_GC(cx))
|
1184
|
+
return;
|
1185
|
+
if (cx->lockedSealedTitle == title) {
|
1186
|
+
cx->lockedSealedTitle = NULL;
|
1187
|
+
return;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
/*
|
1191
|
+
* If title->ownercx is not null, it's likely that two contexts not using
|
1192
|
+
* requests nested locks for title. The first context, cx here, claimed
|
1193
|
+
* title; the second, title->ownercx here, re-claimed it because the first
|
1194
|
+
* was not in a request, or was on the same thread. We don't want to keep
|
1195
|
+
* track of such nesting, because it penalizes the common non-nested case.
|
1196
|
+
* Instead of asserting here and silently coping, we simply re-claim title
|
1197
|
+
* for cx and return.
|
1198
|
+
*
|
1199
|
+
* See http://bugzilla.mozilla.org/show_bug.cgi?id=229200 for a real world
|
1200
|
+
* case where an asymmetric thread model (Mozilla's main thread is known
|
1201
|
+
* to be the only thread that runs the GC) combined with multiple contexts
|
1202
|
+
* per thread has led to such request-less nesting.
|
1203
|
+
*/
|
1204
|
+
if (title->ownercx) {
|
1205
|
+
JS_ASSERT(title->u.count == 0);
|
1206
|
+
JS_ASSERT(title->lock.owner == 0);
|
1207
|
+
title->ownercx = cx;
|
1208
|
+
return;
|
1209
|
+
}
|
1210
|
+
|
1211
|
+
JS_ASSERT(title->u.count > 0);
|
1212
|
+
if (Thin_RemoveWait(ReadWord(title->lock.owner)) != me) {
|
1213
|
+
JS_ASSERT(0); /* unbalanced unlock */
|
1214
|
+
return;
|
1215
|
+
}
|
1216
|
+
LOGIT(scope, '-');
|
1217
|
+
if (--title->u.count == 0)
|
1218
|
+
ThinUnlock(&title->lock, me);
|
1219
|
+
}
|
1220
|
+
|
1221
|
+
/*
|
1222
|
+
* NB: oldtitle may be null if our caller is js_GetMutableScope and it just
|
1223
|
+
* dropped the last reference to oldtitle.
|
1224
|
+
*/
|
1225
|
+
void
|
1226
|
+
js_TransferTitle(JSContext *cx, JSTitle *oldtitle, JSTitle *newtitle)
|
1227
|
+
{
|
1228
|
+
JS_ASSERT(JS_IS_TITLE_LOCKED(cx, newtitle));
|
1229
|
+
|
1230
|
+
/*
|
1231
|
+
* If the last reference to oldtitle went away, newtitle needs no lock
|
1232
|
+
* state update.
|
1233
|
+
*/
|
1234
|
+
if (!oldtitle)
|
1235
|
+
return;
|
1236
|
+
JS_ASSERT(JS_IS_TITLE_LOCKED(cx, oldtitle));
|
1237
|
+
|
1238
|
+
/*
|
1239
|
+
* Special case in js_LockTitle and js_UnlockTitle for the GC calling
|
1240
|
+
* code that locks, unlocks, or mutates. Nothing to do in these cases,
|
1241
|
+
* because title and newtitle were "locked" by the GC thread, so neither
|
1242
|
+
* was actually locked.
|
1243
|
+
*/
|
1244
|
+
if (CX_THREAD_IS_RUNNING_GC(cx))
|
1245
|
+
return;
|
1246
|
+
|
1247
|
+
/*
|
1248
|
+
* Special case in js_LockObj and js_UnlockTitle for locking the sealed
|
1249
|
+
* scope of an object that owns that scope (the prototype or mutated obj
|
1250
|
+
* for which OBJ_SCOPE(obj)->object == obj), and unlocking it.
|
1251
|
+
*/
|
1252
|
+
JS_ASSERT(cx->lockedSealedTitle != newtitle);
|
1253
|
+
if (cx->lockedSealedTitle == oldtitle) {
|
1254
|
+
JS_ASSERT(newtitle->ownercx == cx ||
|
1255
|
+
(!newtitle->ownercx && newtitle->u.count == 1));
|
1256
|
+
cx->lockedSealedTitle = NULL;
|
1257
|
+
return;
|
1258
|
+
}
|
1259
|
+
|
1260
|
+
/*
|
1261
|
+
* If oldtitle is single-threaded, there's nothing to do.
|
1262
|
+
*/
|
1263
|
+
if (oldtitle->ownercx) {
|
1264
|
+
JS_ASSERT(oldtitle->ownercx == cx);
|
1265
|
+
JS_ASSERT(newtitle->ownercx == cx ||
|
1266
|
+
(!newtitle->ownercx && newtitle->u.count == 1));
|
1267
|
+
return;
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
/*
|
1271
|
+
* We transfer oldtitle->u.count only if newtitle is not single-threaded.
|
1272
|
+
* Flow unwinds from here through some number of JS_UNLOCK_TITLE and/or
|
1273
|
+
* JS_UNLOCK_OBJ macro calls, which will decrement newtitle->u.count only
|
1274
|
+
* if they find newtitle->ownercx != cx.
|
1275
|
+
*/
|
1276
|
+
if (newtitle->ownercx != cx) {
|
1277
|
+
JS_ASSERT(!newtitle->ownercx);
|
1278
|
+
newtitle->u.count = oldtitle->u.count;
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
/*
|
1282
|
+
* Reset oldtitle's lock state so that it is completely unlocked.
|
1283
|
+
*/
|
1284
|
+
LOGIT(oldscope, '0');
|
1285
|
+
oldtitle->u.count = 0;
|
1286
|
+
ThinUnlock(&oldtitle->lock, CX_THINLOCK_ID(cx));
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
void
|
1290
|
+
js_LockObj(JSContext *cx, JSObject *obj)
|
1291
|
+
{
|
1292
|
+
JSScope *scope;
|
1293
|
+
JSTitle *title;
|
1294
|
+
|
1295
|
+
JS_ASSERT(OBJ_IS_NATIVE(obj));
|
1296
|
+
|
1297
|
+
/*
|
1298
|
+
* We must test whether the GC is calling and return without mutating any
|
1299
|
+
* state, especially cx->lockedSealedScope. Note asymmetry with respect to
|
1300
|
+
* js_UnlockObj, which is a thin-layer on top of js_UnlockTitle.
|
1301
|
+
*/
|
1302
|
+
if (CX_THREAD_IS_RUNNING_GC(cx))
|
1303
|
+
return;
|
1304
|
+
|
1305
|
+
for (;;) {
|
1306
|
+
scope = OBJ_SCOPE(obj);
|
1307
|
+
title = &scope->title;
|
1308
|
+
if (SCOPE_IS_SEALED(scope) && scope->object == obj &&
|
1309
|
+
!cx->lockedSealedTitle) {
|
1310
|
+
cx->lockedSealedTitle = title;
|
1311
|
+
return;
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
js_LockTitle(cx, title);
|
1315
|
+
|
1316
|
+
/* If obj still has this scope, we're done. */
|
1317
|
+
if (scope == OBJ_SCOPE(obj))
|
1318
|
+
return;
|
1319
|
+
|
1320
|
+
/* Lost a race with a mutator; retry with obj's new scope. */
|
1321
|
+
js_UnlockTitle(cx, title);
|
1322
|
+
}
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
void
|
1326
|
+
js_UnlockObj(JSContext *cx, JSObject *obj)
|
1327
|
+
{
|
1328
|
+
JS_ASSERT(OBJ_IS_NATIVE(obj));
|
1329
|
+
js_UnlockTitle(cx, &OBJ_SCOPE(obj)->title);
|
1330
|
+
}
|
1331
|
+
|
1332
|
+
void
|
1333
|
+
js_InitTitle(JSContext *cx, JSTitle *title)
|
1334
|
+
{
|
1335
|
+
#ifdef JS_THREADSAFE
|
1336
|
+
title->ownercx = cx;
|
1337
|
+
memset(&title->lock, 0, sizeof title->lock);
|
1338
|
+
|
1339
|
+
/*
|
1340
|
+
* Set u.link = NULL, not u.count = 0, in case the target architecture's
|
1341
|
+
* null pointer has a non-zero integer representation.
|
1342
|
+
*/
|
1343
|
+
title->u.link = NULL;
|
1344
|
+
|
1345
|
+
#ifdef JS_DEBUG_TITLE_LOCKS
|
1346
|
+
title->file[0] = title->file[1] = title->file[2] = title->file[3] = NULL;
|
1347
|
+
title->line[0] = title->line[1] = title->line[2] = title->line[3] = 0;
|
1348
|
+
#endif
|
1349
|
+
#endif
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
void
|
1353
|
+
js_FinishTitle(JSContext *cx, JSTitle *title)
|
1354
|
+
{
|
1355
|
+
#ifdef JS_THREADSAFE
|
1356
|
+
/* Title must be single-threaded at this point, so set ownercx. */
|
1357
|
+
JS_ASSERT(title->u.count == 0);
|
1358
|
+
title->ownercx = cx;
|
1359
|
+
js_FinishLock(&title->lock);
|
1360
|
+
#endif
|
1361
|
+
}
|
1362
|
+
|
1363
|
+
#ifdef DEBUG
|
1364
|
+
|
1365
|
+
JSBool
|
1366
|
+
js_IsRuntimeLocked(JSRuntime *rt)
|
1367
|
+
{
|
1368
|
+
return js_CurrentThreadId() == rt->rtLockOwner;
|
1369
|
+
}
|
1370
|
+
|
1371
|
+
JSBool
|
1372
|
+
js_IsObjLocked(JSContext *cx, JSObject *obj)
|
1373
|
+
{
|
1374
|
+
JSScope *scope = OBJ_SCOPE(obj);
|
1375
|
+
|
1376
|
+
return MAP_IS_NATIVE(&scope->map) && js_IsTitleLocked(cx, &scope->title);
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
JSBool
|
1380
|
+
js_IsTitleLocked(JSContext *cx, JSTitle *title)
|
1381
|
+
{
|
1382
|
+
/* Special case: the GC locking any object's title, see js_LockTitle. */
|
1383
|
+
if (CX_THREAD_IS_RUNNING_GC(cx))
|
1384
|
+
return JS_TRUE;
|
1385
|
+
|
1386
|
+
/* Special case: locked object owning a sealed scope, see js_LockObj. */
|
1387
|
+
if (cx->lockedSealedTitle == title)
|
1388
|
+
return JS_TRUE;
|
1389
|
+
|
1390
|
+
/*
|
1391
|
+
* General case: the title is either exclusively owned (by cx), or it has
|
1392
|
+
* a thin or fat lock to cope with shared (concurrent) ownership.
|
1393
|
+
*/
|
1394
|
+
if (title->ownercx) {
|
1395
|
+
JS_ASSERT(title->ownercx == cx || title->ownercx->thread == cx->thread);
|
1396
|
+
return JS_TRUE;
|
1397
|
+
}
|
1398
|
+
return js_CurrentThreadId() ==
|
1399
|
+
((JSThread *)Thin_RemoveWait(ReadWord(title->lock.owner)))->id;
|
1400
|
+
}
|
1401
|
+
|
1402
|
+
#ifdef JS_DEBUG_TITLE_LOCKS
|
1403
|
+
void
|
1404
|
+
js_SetScopeInfo(JSScope *scope, const char *file, int line)
|
1405
|
+
{
|
1406
|
+
JSTitle *title = &scope->title;
|
1407
|
+
if (!title->ownercx) {
|
1408
|
+
jsrefcount count = title->u.count;
|
1409
|
+
JS_ASSERT_IF(!SCOPE_IS_SEALED(scope), count > 0);
|
1410
|
+
JS_ASSERT(count <= 4);
|
1411
|
+
title->file[count - 1] = file;
|
1412
|
+
title->line[count - 1] = line;
|
1413
|
+
}
|
1414
|
+
}
|
1415
|
+
#endif /* JS_DEBUG_TITLE_LOCKS */
|
1416
|
+
#endif /* DEBUG */
|
1417
|
+
#endif /* JS_THREADSAFE */
|