spade 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +0 -9
- data/Gemfile +1 -17
- data/Gemfile.lock +16 -11
- data/lib/spade.rb +1 -0
- data/lib/spade/cli/base.rb +18 -0
- data/lib/spade/package.rb +21 -13
- data/lib/spade/remote.rb +7 -0
- data/lib/spade/version.rb +1 -1
- data/spade.gemspec +14 -1
- data/spec/cli/build_spec.rb +7 -7
- data/spec/cli/install_spec.rb +14 -0
- data/spec/cli/yank_spec.rb +68 -0
- data/spec/fixtures/core-test/bin/cot +1 -0
- data/spec/fixtures/core-test/lib/main.js +1 -0
- data/spec/fixtures/{coffee/bin/cake → core-test/resources/runner.css} +0 -0
- data/spec/fixtures/core-test/tests/test.js +1 -0
- data/spec/fixtures/package.json +28 -23
- data/spec/gauntlet_spec.rb +0 -3
- data/spec/package_spec.rb +32 -22
- data/spec/support/core_test.rb +19 -12
- data/spec/support/fake.rb +3 -1
- data/spec/support/fake_gem_server.rb +27 -11
- data/spec/support/fake_gemcutter.rb +8 -0
- metadata +101 -1650
- data/packages/core-test/.gitignore +0 -2
- data/packages/core-test/Buildfile +0 -15
- data/packages/core-test/CHANGELOG.md +0 -24
- data/packages/core-test/__preamble__.js +0 -34
- data/packages/core-test/bin/cot +0 -3
- data/packages/core-test/lib/assert.js +0 -306
- data/packages/core-test/lib/cli.js +0 -258
- data/packages/core-test/lib/core.js +0 -311
- data/packages/core-test/lib/loggers/browser.js +0 -390
- data/packages/core-test/lib/loggers/console.js +0 -235
- data/packages/core-test/lib/loggers/default.js +0 -272
- data/packages/core-test/lib/loggers/dummy.js +0 -168
- data/packages/core-test/lib/main.js +0 -22
- data/packages/core-test/lib/private/jquery.js +0 -6079
- data/packages/core-test/lib/qunit.js +0 -159
- data/packages/core-test/lib/runner.js +0 -65
- data/packages/core-test/lib/spec.js +0 -302
- data/packages/core-test/lib/sync.js +0 -64
- data/packages/core-test/lib/system/dump.js +0 -208
- data/packages/core-test/lib/system/equiv.js +0 -199
- data/packages/core-test/lib/system/ext.js +0 -62
- data/packages/core-test/lib/system/module.js +0 -162
- data/packages/core-test/lib/system/plan.js +0 -223
- data/packages/core-test/lib/system/stub.js +0 -98
- data/packages/core-test/lib/system/test.js +0 -373
- data/packages/core-test/lib/test.js +0 -69
- data/packages/core-test/lib/utils.js +0 -256
- data/packages/core-test/package.json +0 -10
- data/packages/core-test/resources/additions.css +0 -8
- data/packages/core-test/resources/runner.css +0 -177
- data/packages/core-test/tests/apis/commonjs-test.js +0 -102
- data/packages/core-test/tests/apis/core-test.js +0 -154
- data/packages/core-test/tests/apis/qunit-test.js +0 -244
- data/packages/core-test/tests/apis/spec-test.js +0 -344
- data/packages/core-test/tests/system/equiv/qunit-test.js +0 -1400
- data/packages/core-test/tests/system/test/assert-test.js +0 -86
- data/packages/core-test/tests/system/test/error-test.js +0 -62
- data/packages/core-test/tests/system/test/schedule-test.js +0 -210
- data/packages/core-test/tests/utils/fmt-test.js +0 -24
- data/packages/handlebars/Gemfile +0 -4
- data/packages/handlebars/README.markdown +0 -205
- data/packages/handlebars/Rakefile +0 -65
- data/packages/handlebars/lib/handlebars.js +0 -19
- data/packages/handlebars/lib/handlebars/ast.js +0 -88
- data/packages/handlebars/lib/handlebars/compiler.js +0 -116
- data/packages/handlebars/lib/handlebars/debug.js +0 -25
- data/packages/handlebars/lib/handlebars/printer.js +0 -114
- data/packages/handlebars/lib/handlebars/runtime.js +0 -280
- data/packages/handlebars/lib/handlebars/utils.js +0 -61
- data/packages/handlebars/lib/handlebars/visitor.js +0 -14
- data/packages/handlebars/lib/handlebars/vm.js +0 -634
- data/packages/handlebars/spec/acceptance_spec.rb +0 -100
- data/packages/handlebars/spec/parser_spec.rb +0 -181
- data/packages/handlebars/spec/qunit_spec.js +0 -497
- data/packages/handlebars/spec/spec_helper.rb +0 -107
- data/packages/handlebars/spec/tokenizer_spec.rb +0 -145
- data/packages/handlebars/src/handlebars.l +0 -27
- data/packages/handlebars/src/handlebars.yy +0 -79
- data/packages/handlebars/test.js +0 -56
- data/packages/jquery-core/lib/main.js +0 -897
- data/packages/jquery-core/package.json +0 -9
- data/packages/sproutcore-bootstrap/lib/main.js +0 -11
- data/packages/sproutcore-bootstrap/package.json +0 -15
- data/packages/sproutcore-corefoundation/lib/main.js +0 -66
- data/packages/sproutcore-corefoundation/lib/tests.js +0 -74
- data/packages/sproutcore-corefoundation/package.json +0 -27
- data/packages/sproutcore-corefoundation/tests.html +0 -12
- data/packages/sproutcore-datastore/lib/main.js +0 -23
- data/packages/sproutcore-datastore/package.json +0 -16
- data/packages/sproutcore-datetime/lib/main.js +0 -6
- data/packages/sproutcore-datetime/package.json +0 -16
- data/packages/sproutcore-handlebars/lib/handlebars.js +0 -5
- data/packages/sproutcore-handlebars/lib/main.js +0 -15
- data/packages/sproutcore-handlebars/package.json +0 -17
- data/packages/sproutcore-jquery/lib/main.js +0 -10
- data/packages/sproutcore-jquery/package.json +0 -12
- data/packages/sproutcore-preprocessor/bin/chance +0 -64
- data/packages/sproutcore-preprocessor/lib/css.js +0 -21
- data/packages/sproutcore-preprocessor/lib/main.js +0 -1
- data/packages/sproutcore-preprocessor/lib/preprocessor.js +0 -12
- data/packages/sproutcore-preprocessor/lib/sc_static.js +0 -9
- data/packages/sproutcore-preprocessor/package.json +0 -18
- data/packages/sproutcore-runtime/lib/main.js +0 -37
- data/packages/sproutcore-runtime/package.json +0 -21
- data/spec/fixtures/coffee/bin/coffee +0 -0
- data/spec/fixtures/coffee/lib/coffee.js +0 -0
- data/spec/fixtures/coffee/lib/coffee.png +0 -0
- data/spec/fixtures/coffee/lib/coffee/base.js +0 -0
- data/spec/fixtures/coffee/lib/coffee/mocha/chai.js +0 -0
- data/spec/fixtures/coffee/qunit/coffee/test.js +0 -0
- data/spec/fixtures/coffee/qunit/test.js +0 -0
- data/spec/fixtures/coffee/qunit/test.log +0 -0
- data/sproutcore/.gitignore +0 -13
- data/sproutcore/Buildfile +0 -112
- data/sproutcore/CHANGELOG.md +0 -232
- data/sproutcore/README.md +0 -68
- data/sproutcore/apps/docs/core.js +0 -27
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/data.plist +0 -14378
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image10.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image11.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image13.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image14.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image8.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image9.tiff +0 -0
- data/sproutcore/apps/docs/english.lproj/loading.rhtml +0 -9
- data/sproutcore/apps/docs/english.lproj/main_page.js +0 -22
- data/sproutcore/apps/docs/english.lproj/strings.js +0 -15
- data/sproutcore/apps/docs/main.js +0 -30
- data/sproutcore/apps/greenhouse/README +0 -18
- data/sproutcore/apps/greenhouse/TODO +0 -56
- data/sproutcore/apps/greenhouse/beautify.js +0 -1058
- data/sproutcore/apps/greenhouse/controllers/design.js +0 -20
- data/sproutcore/apps/greenhouse/controllers/file.js +0 -35
- data/sproutcore/apps/greenhouse/controllers/files.js +0 -40
- data/sproutcore/apps/greenhouse/controllers/layout.js +0 -53
- data/sproutcore/apps/greenhouse/controllers/library.js +0 -194
- data/sproutcore/apps/greenhouse/controllers/page.js +0 -18
- data/sproutcore/apps/greenhouse/controllers/property.js +0 -19
- data/sproutcore/apps/greenhouse/controllers/property_editor.js +0 -17
- data/sproutcore/apps/greenhouse/controllers/target.js +0 -20
- data/sproutcore/apps/greenhouse/controllers/targets.js +0 -43
- data/sproutcore/apps/greenhouse/controllers/view_configs.js +0 -100
- data/sproutcore/apps/greenhouse/core.js +0 -65
- data/sproutcore/apps/greenhouse/core_file.js +0 -124
- data/sproutcore/apps/greenhouse/data_source.js +0 -250
- data/sproutcore/apps/greenhouse/english.lproj/app_page.js +0 -399
- data/sproutcore/apps/greenhouse/english.lproj/css/app-selector.css +0 -107
- data/sproutcore/apps/greenhouse/english.lproj/css/button.css +0 -314
- data/sproutcore/apps/greenhouse/english.lproj/css/dock.css +0 -90
- data/sproutcore/apps/greenhouse/english.lproj/css/general.css +0 -51
- data/sproutcore/apps/greenhouse/english.lproj/css/main-page.css +0 -93
- data/sproutcore/apps/greenhouse/english.lproj/css/menu.css +0 -49
- data/sproutcore/apps/greenhouse/english.lproj/css/modal.css +0 -41
- data/sproutcore/apps/greenhouse/english.lproj/css/picker.css +0 -195
- data/sproutcore/apps/greenhouse/english.lproj/css/search.css +0 -60
- data/sproutcore/apps/greenhouse/english.lproj/css/text-field.css +0 -67
- data/sproutcore/apps/greenhouse/english.lproj/dialogs.js +0 -303
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500.eot +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500.otf +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500.woff +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500_italic.eot +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500_italic.otf +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500_italic.woff +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/app-selector/choose-app.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/app-selector/list-item-sel.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/regular-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/regular-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/regular-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/sel-active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/sel-disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/sel-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/actions-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/actions.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/inspector-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/inspector.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/library-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/library.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/projects-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/projects.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/run-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/run.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/save-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/save.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/logos/greenhouse-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/logos/greenhouse-s.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/logos/sproutcore.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/main-bg.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/bottom-left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/bottom-right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/bottom.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/close-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/close.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-bottom.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-top.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/search-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/search.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/top-left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/top-right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/top.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/toolbar-bg.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/inspectors.js +0 -365
- data/sproutcore/apps/greenhouse/english.lproj/loading.rhtml +0 -9
- data/sproutcore/apps/greenhouse/english.lproj/main_page.js +0 -95
- data/sproutcore/apps/greenhouse/english.lproj/strings.js +0 -93
- data/sproutcore/apps/greenhouse/fixtures/file.js +0 -35
- data/sproutcore/apps/greenhouse/main.js +0 -28
- data/sproutcore/apps/greenhouse/mixins/drop_down.js +0 -97
- data/sproutcore/apps/greenhouse/models/design.js +0 -26
- data/sproutcore/apps/greenhouse/models/dir.js +0 -93
- data/sproutcore/apps/greenhouse/models/file.js +0 -51
- data/sproutcore/apps/greenhouse/models/target.js +0 -82
- data/sproutcore/apps/greenhouse/models/view_config.js +0 -49
- data/sproutcore/apps/greenhouse/resources/test_page.js +0 -37
- data/sproutcore/apps/greenhouse/states/inspector.js +0 -152
- data/sproutcore/apps/greenhouse/states/library.js +0 -142
- data/sproutcore/apps/greenhouse/states/main.js +0 -283
- data/sproutcore/apps/greenhouse/states/modals.js +0 -299
- data/sproutcore/apps/greenhouse/states/ready.js +0 -235
- data/sproutcore/apps/greenhouse/tests/controllers/design.js +0 -15
- data/sproutcore/apps/greenhouse/tests/controllers/designs.js +0 -15
- data/sproutcore/apps/greenhouse/tests/controllers/file.js +0 -15
- data/sproutcore/apps/greenhouse/tests/controllers/files.js +0 -15
- data/sproutcore/apps/greenhouse/tests/models/file.js +0 -15
- data/sproutcore/apps/greenhouse/tests/models/view_config.js +0 -15
- data/sproutcore/apps/greenhouse/tests/views/list_item.js +0 -16
- data/sproutcore/apps/greenhouse/tests/views/plist_item.js +0 -20
- data/sproutcore/apps/greenhouse/theme.js +0 -25
- data/sproutcore/apps/greenhouse/views/anchor.js +0 -277
- data/sproutcore/apps/greenhouse/views/application_list_item.js +0 -19
- data/sproutcore/apps/greenhouse/views/event_blocker.js +0 -32
- data/sproutcore/apps/greenhouse/views/label_designer.js +0 -16
- data/sproutcore/apps/greenhouse/views/list_item.js +0 -42
- data/sproutcore/apps/greenhouse/views/plist_item.js +0 -178
- data/sproutcore/apps/greenhouse/views/simple_button.js +0 -157
- data/sproutcore/apps/greenhouse/views/tear_off_picker.js +0 -56
- data/sproutcore/apps/greenhouse/views/web.js +0 -44
- data/sproutcore/apps/test_controls/Buildfile +0 -0
- data/sproutcore/apps/test_controls/controllers/buttons.js +0 -21
- data/sproutcore/apps/test_controls/controllers/categories.js +0 -108
- data/sproutcore/apps/test_controls/controllers/category.js +0 -36
- data/sproutcore/apps/test_controls/core.js +0 -29
- data/sproutcore/apps/test_controls/main.js +0 -14
- data/sproutcore/apps/test_controls/resources/buttons_page.js +0 -142
- data/sproutcore/apps/test_controls/resources/checkboxes_page.js +0 -45
- data/sproutcore/apps/test_controls/resources/flow_layout_page.js +0 -84
- data/sproutcore/apps/test_controls/resources/list_page.js +0 -40
- data/sproutcore/apps/test_controls/resources/loading.rhtml +0 -9
- data/sproutcore/apps/test_controls/resources/main_page.css +0 -60
- data/sproutcore/apps/test_controls/resources/main_page.js +0 -145
- data/sproutcore/apps/test_controls/resources/progress_page.js +0 -32
- data/sproutcore/apps/test_controls/resources/radio_page.js +0 -48
- data/sproutcore/apps/test_controls/resources/scroll_page.js +0 -76
- data/sproutcore/apps/test_controls/resources/segmented_page.js +0 -98
- data/sproutcore/apps/test_controls/resources/select_page.js +0 -60
- data/sproutcore/apps/test_controls/resources/sliders_page.js +0 -53
- data/sproutcore/apps/test_controls/resources/strings.js +0 -50
- data/sproutcore/apps/test_controls/resources/tab_page.js +0 -44
- data/sproutcore/apps/test_controls/resources/text_field_page.js +0 -41
- data/sproutcore/apps/test_controls/theme.js +0 -34
- data/sproutcore/apps/tests/controllers/detail.js +0 -25
- data/sproutcore/apps/tests/controllers/source.js +0 -29
- data/sproutcore/apps/tests/controllers/target.js +0 -26
- data/sproutcore/apps/tests/controllers/targets.js +0 -86
- data/sproutcore/apps/tests/controllers/tests.js +0 -33
- data/sproutcore/apps/tests/core.js +0 -133
- data/sproutcore/apps/tests/english.lproj/loading.rhtml +0 -9
- data/sproutcore/apps/tests/english.lproj/main_page.css +0 -48
- data/sproutcore/apps/tests/english.lproj/main_page.js +0 -233
- data/sproutcore/apps/tests/english.lproj/strings.js +0 -26
- data/sproutcore/apps/tests/main.js +0 -27
- data/sproutcore/apps/tests/states/no_targets.js +0 -26
- data/sproutcore/apps/tests/states/ready.js +0 -56
- data/sproutcore/apps/tests/states/ready_detail.js +0 -41
- data/sproutcore/apps/tests/states/ready_empty.js +0 -48
- data/sproutcore/apps/tests/states/ready_list.js +0 -41
- data/sproutcore/apps/tests/states/ready_loading.js +0 -44
- data/sproutcore/apps/tests/states/ready_no_tests.js +0 -31
- data/sproutcore/apps/tests/states/start.js +0 -39
- data/sproutcore/apps/tests/tests/controllers/detail.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/source.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/target.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/targets.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/tests.js +0 -15
- data/sproutcore/apps/tests/tests/models/target.js +0 -15
- data/sproutcore/apps/tests/tests/models/test.js +0 -15
- data/sproutcore/apps/tests/tests/views/offset_checkbox.js +0 -15
- data/sproutcore/apps/tests/views/offset_checkbox.js +0 -26
- data/sproutcore/apps/welcome/controllers/targets.js +0 -56
- data/sproutcore/apps/welcome/core.js +0 -30
- data/sproutcore/apps/welcome/english.lproj/images/main-bg.png +0 -0
- data/sproutcore/apps/welcome/english.lproj/loading.rhtml +0 -10
- data/sproutcore/apps/welcome/english.lproj/main_page.css +0 -25
- data/sproutcore/apps/welcome/english.lproj/main_page.js +0 -67
- data/sproutcore/apps/welcome/english.lproj/strings.js +0 -15
- data/sproutcore/apps/welcome/main.js +0 -19
- data/sproutcore/apps/welcome/tests/controllers/targets.js +0 -15
- data/sproutcore/design/CollectionView State Charts.graffle +0 -4848
- data/sproutcore/design/Design Charts.graffle +0 -16845
- data/sproutcore/design/Record State Table.numbers +0 -0
- data/sproutcore/design/SproutCore Datastore Design.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/design/SproutCore Datastore Design.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/design/SproutCore Datastore Design.graffle/data.plist +0 -19588
- data/sproutcore/design/SproutCore Datastore Design.graffle/image8.png +0 -0
- data/sproutcore/design/SproutCore Design Template.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/design/SproutCore Design Template.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/design/SproutCore Design Template.graffle/data.plist +0 -1452
- data/sproutcore/design/SproutCore Design Template.graffle/image8.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/design/TestRunner Design.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/design/TestRunner Design.graffle/data.plist +0 -24187
- data/sproutcore/design/TestRunner Design.graffle/image10.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image11.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image13.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image15.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image16.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image17.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image18.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image19.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image22.tiff +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image23.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image24.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image25.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image30.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image31.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image8.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image9.png +0 -0
- data/sproutcore/design/greenhouse-statechart.graffle +0 -9025
- data/sproutcore/design/greenhouse-statechart.pdf +0 -0
- data/sproutcore/design/iphone-webapp-loading.psd +0 -0
- data/sproutcore/frameworks/animation/Buildfile +0 -3
- data/sproutcore/frameworks/animation/LICENSE +0 -25
- data/sproutcore/frameworks/animation/README.md +0 -79
- data/sproutcore/frameworks/animation/core.js +0 -1206
- data/sproutcore/frameworks/animation/tests/core.js +0 -152
- data/sproutcore/frameworks/bootstrap/README +0 -9
- data/sproutcore/frameworks/bootstrap/core.js +0 -7
- data/sproutcore/frameworks/bootstrap/setup_body_class_names.js +0 -10
- data/sproutcore/frameworks/bootstrap/system/bench.js +0 -14
- data/sproutcore/frameworks/bootstrap/system/browser.js +0 -65
- data/sproutcore/frameworks/bootstrap/system/loader.js +0 -50
- data/sproutcore/frameworks/bootstrap/tests/system/browser.js +0 -187
- data/sproutcore/frameworks/core_foundation/.greenhouseconf +0 -33
- data/sproutcore/frameworks/core_foundation/controllers/array.js +0 -498
- data/sproutcore/frameworks/core_foundation/controllers/controller.js +0 -44
- data/sproutcore/frameworks/core_foundation/controllers/object.js +0 -342
- data/sproutcore/frameworks/core_foundation/core.js +0 -201
- data/sproutcore/frameworks/core_foundation/ext/object.js +0 -83
- data/sproutcore/frameworks/core_foundation/ext/run_loop.js +0 -163
- data/sproutcore/frameworks/core_foundation/mixins/delegate_support.js +0 -110
- data/sproutcore/frameworks/core_foundation/mixins/responder_context.js +0 -269
- data/sproutcore/frameworks/core_foundation/mixins/selection_support.js +0 -250
- data/sproutcore/frameworks/core_foundation/mixins/string.js +0 -163
- data/sproutcore/frameworks/core_foundation/panes/keyboard.js +0 -68
- data/sproutcore/frameworks/core_foundation/panes/layout.js +0 -108
- data/sproutcore/frameworks/core_foundation/panes/main.js +0 -52
- data/sproutcore/frameworks/core_foundation/panes/manipulation.js +0 -27
- data/sproutcore/frameworks/core_foundation/panes/pane.js +0 -672
- data/sproutcore/frameworks/core_foundation/panes/template.js +0 -24
- data/sproutcore/frameworks/core_foundation/panes/visibility.js +0 -11
- data/sproutcore/frameworks/core_foundation/protocols/observable_protocol.js +0 -40
- data/sproutcore/frameworks/core_foundation/protocols/sparse_array_delegate.js +0 -131
- data/sproutcore/frameworks/core_foundation/resources/core.css +0 -371
- data/sproutcore/frameworks/core_foundation/resources/view.css +0 -57
- data/sproutcore/frameworks/core_foundation/system/application.js +0 -35
- data/sproutcore/frameworks/core_foundation/system/browser.js +0 -36
- data/sproutcore/frameworks/core_foundation/system/builder.js +0 -210
- data/sproutcore/frameworks/core_foundation/system/core_query.js +0 -141
- data/sproutcore/frameworks/core_foundation/system/cursor.js +0 -131
- data/sproutcore/frameworks/core_foundation/system/device.js +0 -210
- data/sproutcore/frameworks/core_foundation/system/event.js +0 -914
- data/sproutcore/frameworks/core_foundation/system/json.js +0 -515
- data/sproutcore/frameworks/core_foundation/system/locale.js +0 -293
- data/sproutcore/frameworks/core_foundation/system/page.js +0 -108
- data/sproutcore/frameworks/core_foundation/system/platform.js +0 -399
- data/sproutcore/frameworks/core_foundation/system/ready.js +0 -77
- data/sproutcore/frameworks/core_foundation/system/render_context.js +0 -1063
- data/sproutcore/frameworks/core_foundation/system/responder.js +0 -124
- data/sproutcore/frameworks/core_foundation/system/root_responder.js +0 -2173
- data/sproutcore/frameworks/core_foundation/system/selection_set.js +0 -695
- data/sproutcore/frameworks/core_foundation/system/sparse_array.js +0 -393
- data/sproutcore/frameworks/core_foundation/system/theme.js +0 -316
- data/sproutcore/frameworks/core_foundation/system/timer.js +0 -553
- data/sproutcore/frameworks/core_foundation/system/utils.js +0 -151
- data/sproutcore/frameworks/core_foundation/system/utils/rect.js +0 -98
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/array_case.js +0 -218
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/enum_case.js +0 -206
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/null_case.js +0 -64
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/selection_support.js +0 -344
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/single_case.js +0 -136
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/empty_case.js +0 -82
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/multiple_case.js +0 -111
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/single_case.js +0 -193
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/single_enumerable_case.js +0 -265
- data/sproutcore/frameworks/core_foundation/tests/mixins/responder_context.js +0 -75
- data/sproutcore/frameworks/core_foundation/tests/mixins/string.js +0 -55
- data/sproutcore/frameworks/core_foundation/tests/panes/template.js +0 -14
- data/sproutcore/frameworks/core_foundation/tests/system/builder.js +0 -42
- data/sproutcore/frameworks/core_foundation/tests/system/core_query/within.js +0 -65
- data/sproutcore/frameworks/core_foundation/tests/system/json.js +0 -14
- data/sproutcore/frameworks/core_foundation/tests/system/locale.js +0 -134
- data/sproutcore/frameworks/core_foundation/tests/system/ready/done.js +0 -32
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/begin.js +0 -47
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/element.js +0 -44
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/end.js +0 -124
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/get.js +0 -51
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_attr.js +0 -50
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_basic.js +0 -28
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_className.js +0 -177
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_style.js +0 -109
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/init.js +0 -55
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/join.js +0 -28
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/push_text.js +0 -74
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/tag.js +0 -46
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/update.js +0 -218
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/makeKeyPane.js +0 -124
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/makeMainPane.js +0 -68
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/makeMenuPane.js +0 -48
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/root_responder.js +0 -101
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/targetForAction.js +0 -288
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/add.js +0 -92
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/copy.js +0 -17
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/indexSetForSource.js +0 -98
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/isEqual.js +0 -60
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/remove.js +0 -111
- data/sproutcore/frameworks/core_foundation/tests/system/sparse_array.js +0 -194
- data/sproutcore/frameworks/core_foundation/tests/system/theme.js +0 -77
- data/sproutcore/frameworks/core_foundation/tests/system/timer/invalidate.js +0 -38
- data/sproutcore/frameworks/core_foundation/tests/system/timer/invokeLater.js +0 -203
- data/sproutcore/frameworks/core_foundation/tests/system/timer/isPaused.js +0 -71
- data/sproutcore/frameworks/core_foundation/tests/system/timer/performAction.js +0 -69
- data/sproutcore/frameworks/core_foundation/tests/system/timer/schedule.js +0 -170
- data/sproutcore/frameworks/core_foundation/tests/system/utils/normalizeURL.js +0 -18
- data/sproutcore/frameworks/core_foundation/tests/system/utils/offset.js +0 -271
- data/sproutcore/frameworks/core_foundation/tests/system/utils/rect.js +0 -99
- data/sproutcore/frameworks/core_foundation/tests/views/main_pane.js +0 -43
- data/sproutcore/frameworks/core_foundation/tests/views/pane/append_remove.js +0 -218
- data/sproutcore/frameworks/core_foundation/tests/views/pane/child_view.js +0 -20
- data/sproutcore/frameworks/core_foundation/tests/views/pane/firstResponder.js +0 -148
- data/sproutcore/frameworks/core_foundation/tests/views/pane/keyPane.js +0 -133
- data/sproutcore/frameworks/core_foundation/tests/views/pane/layout.js +0 -31
- data/sproutcore/frameworks/core_foundation/tests/views/pane/sendEvent.js +0 -206
- data/sproutcore/frameworks/core_foundation/tests/views/template/checkbox_support.js +0 -32
- data/sproutcore/frameworks/core_foundation/tests/views/template/text_field_support.js +0 -73
- data/sproutcore/frameworks/core_foundation/tests/views/template_view/collection.js +0 -111
- data/sproutcore/frameworks/core_foundation/tests/views/template_view/core.js +0 -100
- data/sproutcore/frameworks/core_foundation/tests/views/template_view/handlebars.js +0 -580
- data/sproutcore/frameworks/core_foundation/tests/views/view/animation.js +0 -376
- data/sproutcore/frameworks/core_foundation/tests/views/view/build.js +0 -85
- data/sproutcore/frameworks/core_foundation/tests/views/view/build_children.js +0 -89
- data/sproutcore/frameworks/core_foundation/tests/views/view/clippingFrame.js +0 -117
- data/sproutcore/frameworks/core_foundation/tests/views/view/convertFrames.js +0 -248
- data/sproutcore/frameworks/core_foundation/tests/views/view/convertLayouts.js +0 -145
- data/sproutcore/frameworks/core_foundation/tests/views/view/createChildViews.js +0 -132
- data/sproutcore/frameworks/core_foundation/tests/views/view/createLayer.js +0 -97
- data/sproutcore/frameworks/core_foundation/tests/views/view/destroyLayer.js +0 -83
- data/sproutcore/frameworks/core_foundation/tests/views/view/didAppendToDocument.js +0 -51
- data/sproutcore/frameworks/core_foundation/tests/views/view/findLayerInParentLayer.js +0 -50
- data/sproutcore/frameworks/core_foundation/tests/views/view/init.js +0 -50
- data/sproutcore/frameworks/core_foundation/tests/views/view/insertBefore.js +0 -217
- data/sproutcore/frameworks/core_foundation/tests/views/view/isVisible.js +0 -79
- data/sproutcore/frameworks/core_foundation/tests/views/view/isVisibleInWindow.js +0 -116
- data/sproutcore/frameworks/core_foundation/tests/views/view/keyboard.js +0 -22
- data/sproutcore/frameworks/core_foundation/tests/views/view/layer.js +0 -150
- data/sproutcore/frameworks/core_foundation/tests/views/view/layoutChildViews.js +0 -162
- data/sproutcore/frameworks/core_foundation/tests/views/view/layoutDidChange.js +0 -180
- data/sproutcore/frameworks/core_foundation/tests/views/view/layoutStyle.js +0 -735
- data/sproutcore/frameworks/core_foundation/tests/views/view/parentViewDidChange.js +0 -67
- data/sproutcore/frameworks/core_foundation/tests/views/view/prepareContext.js +0 -203
- data/sproutcore/frameworks/core_foundation/tests/views/view/removeChild.js +0 -189
- data/sproutcore/frameworks/core_foundation/tests/views/view/render.js +0 -125
- data/sproutcore/frameworks/core_foundation/tests/views/view/render_delegate_support.js +0 -163
- data/sproutcore/frameworks/core_foundation/tests/views/view/replaceChild.js +0 -29
- data/sproutcore/frameworks/core_foundation/tests/views/view/static_layout.js +0 -21
- data/sproutcore/frameworks/core_foundation/tests/views/view/theme.js +0 -43
- data/sproutcore/frameworks/core_foundation/tests/views/view/updateLayer.js +0 -148
- data/sproutcore/frameworks/core_foundation/tests/views/view/updateLayerLocation.js +0 -213
- data/sproutcore/frameworks/core_foundation/tests/views/view/view.js +0 -64
- data/sproutcore/frameworks/core_foundation/tests/views/view/viewDidResize.js +0 -202
- data/sproutcore/frameworks/core_foundation/views/template.js +0 -77
- data/sproutcore/frameworks/core_foundation/views/template/checkbox_support.js +0 -20
- data/sproutcore/frameworks/core_foundation/views/template/collection.js +0 -106
- data/sproutcore/frameworks/core_foundation/views/template/text_field_support.js +0 -35
- data/sproutcore/frameworks/core_foundation/views/view.js +0 -1458
- data/sproutcore/frameworks/core_foundation/views/view/animation.js +0 -181
- data/sproutcore/frameworks/core_foundation/views/view/base.js +0 -1
- data/sproutcore/frameworks/core_foundation/views/view/cursor.js +0 -48
- data/sproutcore/frameworks/core_foundation/views/view/enabled.js +0 -57
- data/sproutcore/frameworks/core_foundation/views/view/keyboard.js +0 -223
- data/sproutcore/frameworks/core_foundation/views/view/layout.js +0 -1087
- data/sproutcore/frameworks/core_foundation/views/view/layout_style.js +0 -618
- data/sproutcore/frameworks/core_foundation/views/view/manipulation.js +0 -426
- data/sproutcore/frameworks/core_foundation/views/view/theming.js +0 -362
- data/sproutcore/frameworks/core_foundation/views/view/touch.js +0 -67
- data/sproutcore/frameworks/core_foundation/views/view/visibility.js +0 -118
- data/sproutcore/frameworks/core_tools/core.js +0 -20
- data/sproutcore/frameworks/core_tools/data_source.js +0 -99
- data/sproutcore/frameworks/core_tools/english.lproj/strings.js +0 -15
- data/sproutcore/frameworks/core_tools/fixtures/target.js +0 -87
- data/sproutcore/frameworks/core_tools/fixtures/test.js +0 -44
- data/sproutcore/frameworks/core_tools/models/target.js +0 -108
- data/sproutcore/frameworks/core_tools/models/test.js +0 -48
- data/sproutcore/frameworks/datastore/core.js +0 -8
- data/sproutcore/frameworks/datastore/data_sources/cascade.js +0 -180
- data/sproutcore/frameworks/datastore/data_sources/data_source.js +0 -583
- data/sproutcore/frameworks/datastore/data_sources/fixtures.js +0 -393
- data/sproutcore/frameworks/datastore/debug/json.js +0 -71
- data/sproutcore/frameworks/datastore/debug/standard_setup.js +0 -96
- data/sproutcore/frameworks/datastore/fixtures/author_fixtures.js +0 -2503
- data/sproutcore/frameworks/datastore/fixtures/sample.js +0 -17
- data/sproutcore/frameworks/datastore/models/child_attribute.js +0 -96
- data/sproutcore/frameworks/datastore/models/children_attribute.js +0 -75
- data/sproutcore/frameworks/datastore/models/fetched_attribute.js +0 -100
- data/sproutcore/frameworks/datastore/models/many_attribute.js +0 -154
- data/sproutcore/frameworks/datastore/models/record.js +0 -1318
- data/sproutcore/frameworks/datastore/models/record_attribute.js +0 -567
- data/sproutcore/frameworks/datastore/models/single_attribute.js +0 -159
- data/sproutcore/frameworks/datastore/system/child_array.js +0 -222
- data/sproutcore/frameworks/datastore/system/many_array.js +0 -418
- data/sproutcore/frameworks/datastore/system/nested_store.js +0 -609
- data/sproutcore/frameworks/datastore/system/query.js +0 -1599
- data/sproutcore/frameworks/datastore/system/record_array.js +0 -710
- data/sproutcore/frameworks/datastore/system/store.js +0 -2860
- data/sproutcore/frameworks/datastore/tests/data_sources/cascade.js +0 -133
- data/sproutcore/frameworks/datastore/tests/data_sources/fixtures.js +0 -122
- data/sproutcore/frameworks/datastore/tests/integration/contact_model.js +0 -131
- data/sproutcore/frameworks/datastore/tests/integration/cyclical_relationship.js +0 -119
- data/sproutcore/frameworks/datastore/tests/integration/mail_model.js +0 -91
- data/sproutcore/frameworks/datastore/tests/integration/test_runner_model.js +0 -56
- data/sproutcore/frameworks/datastore/tests/models/datetime_recordattribute.js +0 -73
- data/sproutcore/frameworks/datastore/tests/models/many_attribute.js +0 -423
- data/sproutcore/frameworks/datastore/tests/models/nested_records/data_store.js +0 -180
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record.js +0 -309
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array.js +0 -363
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array_complex.js +0 -421
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_complex.js +0 -304
- data/sproutcore/frameworks/datastore/tests/models/record/core_methods.js +0 -55
- data/sproutcore/frameworks/datastore/tests/models/record/destroy.js +0 -92
- data/sproutcore/frameworks/datastore/tests/models/record/error_methods.js +0 -56
- data/sproutcore/frameworks/datastore/tests/models/record/normalize.js +0 -336
- data/sproutcore/frameworks/datastore/tests/models/record/readAttribute.js +0 -53
- data/sproutcore/frameworks/datastore/tests/models/record/refresh.js +0 -48
- data/sproutcore/frameworks/datastore/tests/models/record/storeDidChangeProperties.js +0 -170
- data/sproutcore/frameworks/datastore/tests/models/record/unknownProperty.js +0 -66
- data/sproutcore/frameworks/datastore/tests/models/record/writeAttribute.js +0 -112
- data/sproutcore/frameworks/datastore/tests/models/record_attribute.js +0 -252
- data/sproutcore/frameworks/datastore/tests/models/single_attribute.js +0 -284
- data/sproutcore/frameworks/datastore/tests/system/many_array/core_methods.js +0 -204
- data/sproutcore/frameworks/datastore/tests/system/nested_store/chain.js +0 -180
- data/sproutcore/frameworks/datastore/tests/system/nested_store/commitChanges.js +0 -173
- data/sproutcore/frameworks/datastore/tests/system/nested_store/commitChangesFromNestedStore.js +0 -158
- data/sproutcore/frameworks/datastore/tests/system/nested_store/core_methods.js +0 -70
- data/sproutcore/frameworks/datastore/tests/system/nested_store/dataHashDidChange.js +0 -113
- data/sproutcore/frameworks/datastore/tests/system/nested_store/discardChanges.js +0 -102
- data/sproutcore/frameworks/datastore/tests/system/nested_store/readDataHash.js +0 -180
- data/sproutcore/frameworks/datastore/tests/system/nested_store/readEditableDataHash.js +0 -126
- data/sproutcore/frameworks/datastore/tests/system/nested_store/removeDataHash.js +0 -163
- data/sproutcore/frameworks/datastore/tests/system/nested_store/writeDataHash.js +0 -166
- data/sproutcore/frameworks/datastore/tests/system/query/builders.js +0 -219
- data/sproutcore/frameworks/datastore/tests/system/query/compare.js +0 -144
- data/sproutcore/frameworks/datastore/tests/system/query/contains.js +0 -131
- data/sproutcore/frameworks/datastore/tests/system/query/containsRecordTypes.js +0 -81
- data/sproutcore/frameworks/datastore/tests/system/query/copy.js +0 -30
- data/sproutcore/frameworks/datastore/tests/system/query/evaluation.js +0 -197
- data/sproutcore/frameworks/datastore/tests/system/query/evaluation_of_records.js +0 -92
- data/sproutcore/frameworks/datastore/tests/system/query/expandedRecordTypes.js +0 -64
- data/sproutcore/frameworks/datastore/tests/system/query/parse.js +0 -216
- data/sproutcore/frameworks/datastore/tests/system/query/queryWithScope.js +0 -57
- data/sproutcore/frameworks/datastore/tests/system/query/record_type_is.js +0 -47
- data/sproutcore/frameworks/datastore/tests/system/query/registered_comparisons.js +0 -70
- data/sproutcore/frameworks/datastore/tests/system/query/registered_query_extensions.js +0 -71
- data/sproutcore/frameworks/datastore/tests/system/record_array/core_methods.js +0 -177
- data/sproutcore/frameworks/datastore/tests/system/record_array/error_methods.js +0 -50
- data/sproutcore/frameworks/datastore/tests/system/record_array/flush.js +0 -214
- data/sproutcore/frameworks/datastore/tests/system/store/cancelRecord.js +0 -54
- data/sproutcore/frameworks/datastore/tests/system/store/commitChangesFromNestedStore.js +0 -137
- data/sproutcore/frameworks/datastore/tests/system/store/commitRecord.js +0 -221
- data/sproutcore/frameworks/datastore/tests/system/store/core_methods.js +0 -156
- data/sproutcore/frameworks/datastore/tests/system/store/createRecord.js +0 -76
- data/sproutcore/frameworks/datastore/tests/system/store/dataHashDidChange.js +0 -157
- data/sproutcore/frameworks/datastore/tests/system/store/dataSourceCallbacks.js +0 -278
- data/sproutcore/frameworks/datastore/tests/system/store/destroyRecord.js +0 -110
- data/sproutcore/frameworks/datastore/tests/system/store/error_methods.js +0 -62
- data/sproutcore/frameworks/datastore/tests/system/store/find.js +0 -530
- data/sproutcore/frameworks/datastore/tests/system/store/init.js +0 -23
- data/sproutcore/frameworks/datastore/tests/system/store/loadRecord.js +0 -64
- data/sproutcore/frameworks/datastore/tests/system/store/pushChanges.js +0 -61
- data/sproutcore/frameworks/datastore/tests/system/store/readDataHash.js +0 -74
- data/sproutcore/frameworks/datastore/tests/system/store/readEditableDataHash.js +0 -74
- data/sproutcore/frameworks/datastore/tests/system/store/recordDidChange.js +0 -76
- data/sproutcore/frameworks/datastore/tests/system/store/removeDataHash.js +0 -144
- data/sproutcore/frameworks/datastore/tests/system/store/retrieveRecord.js +0 -200
- data/sproutcore/frameworks/datastore/tests/system/store/unloadRecords.js +0 -41
- data/sproutcore/frameworks/datastore/tests/system/store/writeDataHash.js +0 -125
- data/sproutcore/frameworks/datetime/resources/strings.js +0 -14
- data/sproutcore/frameworks/datetime/system/datetime.js +0 -1111
- data/sproutcore/frameworks/datetime/tests/system/datetime.js +0 -383
- data/sproutcore/frameworks/debug/core.js +0 -114
- data/sproutcore/frameworks/debug/invoke_once_last_debugging.js +0 -259
- data/sproutcore/frameworks/designer/coders/design.js +0 -20
- data/sproutcore/frameworks/designer/coders/object.js +0 -347
- data/sproutcore/frameworks/designer/controllers/controllers.js +0 -16
- data/sproutcore/frameworks/designer/controllers/design.js +0 -37
- data/sproutcore/frameworks/designer/controllers/designs.js +0 -133
- data/sproutcore/frameworks/designer/controllers/page_design.js +0 -170
- data/sproutcore/frameworks/designer/controllers/page_files.js +0 -22
- data/sproutcore/frameworks/designer/core.js +0 -26
- data/sproutcore/frameworks/designer/css/css_rule.js +0 -22
- data/sproutcore/frameworks/designer/css/css_style.js +0 -29
- data/sproutcore/frameworks/designer/css/css_style_sheet.js +0 -201
- data/sproutcore/frameworks/designer/designers/button.js +0 -21
- data/sproutcore/frameworks/designer/designers/label.js +0 -16
- data/sproutcore/frameworks/designer/designers/object_designer.js +0 -296
- data/sproutcore/frameworks/designer/designers/tab.js +0 -18
- data/sproutcore/frameworks/designer/designers/text_field.js +0 -15
- data/sproutcore/frameworks/designer/designers/view_designer.js +0 -1267
- data/sproutcore/frameworks/designer/english.lproj/css/designer.css +0 -96
- data/sproutcore/frameworks/designer/english.lproj/design_page.js +0 -55
- data/sproutcore/frameworks/designer/english.lproj/high_light.css +0 -10
- data/sproutcore/frameworks/designer/english.lproj/images/controller.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-divider.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-sel-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-sel-divider.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/main-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/page.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/pane.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/view.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/selection_handles.css +0 -58
- data/sproutcore/frameworks/designer/ext/binding.js +0 -33
- data/sproutcore/frameworks/designer/ext/object.js +0 -26
- data/sproutcore/frameworks/designer/ext/page.js +0 -58
- data/sproutcore/frameworks/designer/ext/view.js +0 -27
- data/sproutcore/frameworks/designer/mixins/button.js +0 -11
- data/sproutcore/frameworks/designer/mixins/snap_lines.js +0 -221
- data/sproutcore/frameworks/designer/tests/coders/page.js +0 -54
- data/sproutcore/frameworks/designer/tests/designers/view_designer.js +0 -47
- data/sproutcore/frameworks/designer/views/designer_drop_target.js +0 -144
- data/sproutcore/frameworks/designer/views/drawing.js +0 -219
- data/sproutcore/frameworks/designer/views/high_light.js +0 -66
- data/sproutcore/frameworks/designer/views/page_item_view.js +0 -130
- data/sproutcore/frameworks/designer/views/selection_handles.js +0 -78
- data/sproutcore/frameworks/desktop/.greenhouseconf +0 -218
- data/sproutcore/frameworks/desktop/core.js +0 -18
- data/sproutcore/frameworks/desktop/debug/drag.js +0 -41
- data/sproutcore/frameworks/desktop/english.lproj/alert.css +0 -56
- data/sproutcore/frameworks/desktop/english.lproj/debug/a_sample_image.jpg +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/debug/apple-logo1.jpeg +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/debug/iframe.html +0 -23
- data/sproutcore/frameworks/desktop/english.lproj/disclosure.css +0 -74
- data/sproutcore/frameworks/desktop/english.lproj/drag.css +0 -7
- data/sproutcore/frameworks/desktop/english.lproj/icons.css +0 -943
- data/sproutcore/frameworks/desktop/english.lproj/images/cap.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/downbutton.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/icons/shared.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/thumb-bottom.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/thumb-center.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/thumb-top.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/track.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/upbutton.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/list_item.css +0 -185
- data/sproutcore/frameworks/desktop/english.lproj/menu.css +0 -12
- data/sproutcore/frameworks/desktop/english.lproj/menu_item_view.css +0 -109
- data/sproutcore/frameworks/desktop/english.lproj/modal.css +0 -9
- data/sproutcore/frameworks/desktop/english.lproj/panel.css +0 -91
- data/sproutcore/frameworks/desktop/english.lproj/picker.css +0 -35
- data/sproutcore/frameworks/desktop/english.lproj/progress.css +0 -33
- data/sproutcore/frameworks/desktop/english.lproj/radio.css +0 -10
- data/sproutcore/frameworks/desktop/english.lproj/segmented.css +0 -132
- data/sproutcore/frameworks/desktop/english.lproj/separator.css +0 -19
- data/sproutcore/frameworks/desktop/english.lproj/slider.css +0 -66
- data/sproutcore/frameworks/desktop/english.lproj/split.css +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/split_divider.css +0 -6
- data/sproutcore/frameworks/desktop/english.lproj/strings.js +0 -14
- data/sproutcore/frameworks/desktop/english.lproj/tab.css +0 -7
- data/sproutcore/frameworks/desktop/english.lproj/toolbar.css +0 -5
- data/sproutcore/frameworks/desktop/english.lproj/touch-scroller.css +0 -196
- data/sproutcore/frameworks/desktop/english.lproj/well.css +0 -71
- data/sproutcore/frameworks/desktop/mixins/border.js +0 -151
- data/sproutcore/frameworks/desktop/mixins/collection_fast_path.js +0 -694
- data/sproutcore/frameworks/desktop/mixins/collection_group.js +0 -22
- data/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +0 -95
- data/sproutcore/frameworks/desktop/mixins/collection_view_delegate.js +0 -295
- data/sproutcore/frameworks/desktop/mixins/navigation_builder.js +0 -130
- data/sproutcore/frameworks/desktop/mixins/scrollable.js +0 -253
- data/sproutcore/frameworks/desktop/panes/alert.js +0 -457
- data/sproutcore/frameworks/desktop/panes/menu.js +0 -1141
- data/sproutcore/frameworks/desktop/panes/modal.js +0 -71
- data/sproutcore/frameworks/desktop/panes/palette.js +0 -74
- data/sproutcore/frameworks/desktop/panes/panel.js +0 -207
- data/sproutcore/frameworks/desktop/panes/picker.js +0 -796
- data/sproutcore/frameworks/desktop/panes/select_button.js +0 -895
- data/sproutcore/frameworks/desktop/panes/sheet.js +0 -214
- data/sproutcore/frameworks/desktop/protocols/drag_data_source.js +0 -39
- data/sproutcore/frameworks/desktop/protocols/drag_source.js +0 -81
- data/sproutcore/frameworks/desktop/protocols/drop_target.js +0 -175
- data/sproutcore/frameworks/desktop/protocols/responder.js +0 -299
- data/sproutcore/frameworks/desktop/render_delegates/button.js +0 -105
- data/sproutcore/frameworks/desktop/render_delegates/checkbox.js +0 -100
- data/sproutcore/frameworks/desktop/render_delegates/collection.js +0 -24
- data/sproutcore/frameworks/desktop/render_delegates/disclosure.js +0 -69
- data/sproutcore/frameworks/desktop/render_delegates/helpers/slicing.js +0 -34
- data/sproutcore/frameworks/desktop/render_delegates/image_button.js +0 -30
- data/sproutcore/frameworks/desktop/render_delegates/master_detail.js +0 -28
- data/sproutcore/frameworks/desktop/render_delegates/menu.js +0 -47
- data/sproutcore/frameworks/desktop/render_delegates/panel.js +0 -28
- data/sproutcore/frameworks/desktop/render_delegates/picker.js +0 -43
- data/sproutcore/frameworks/desktop/render_delegates/progress.js +0 -187
- data/sproutcore/frameworks/desktop/render_delegates/radio.js +0 -95
- data/sproutcore/frameworks/desktop/render_delegates/radio_group.js +0 -109
- data/sproutcore/frameworks/desktop/render_delegates/segment.js +0 -55
- data/sproutcore/frameworks/desktop/render_delegates/segmented.js +0 -77
- data/sproutcore/frameworks/desktop/render_delegates/slider.js +0 -58
- data/sproutcore/frameworks/desktop/render_delegates/source_list.js +0 -8
- data/sproutcore/frameworks/desktop/render_delegates/toolbar.js +0 -18
- data/sproutcore/frameworks/desktop/render_delegates/well.js +0 -27
- data/sproutcore/frameworks/desktop/render_delegates/workspace.js +0 -18
- data/sproutcore/frameworks/desktop/system/drag.js +0 -974
- data/sproutcore/frameworks/desktop/system/key_bindings.js +0 -40
- data/sproutcore/frameworks/desktop/system/undo_manager.js +0 -187
- data/sproutcore/frameworks/desktop/tests/integration/dialog.js +0 -48
- data/sproutcore/frameworks/desktop/tests/mixins/border.js +0 -97
- data/sproutcore/frameworks/desktop/tests/panes/alert/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/alert/ui.js +0 -158
- data/sproutcore/frameworks/desktop/tests/panes/menu/methods.js +0 -135
- data/sproutcore/frameworks/desktop/tests/panes/menu/ui.js +0 -258
- data/sproutcore/frameworks/desktop/tests/panes/palette/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/palette/ui.js +0 -35
- data/sproutcore/frameworks/desktop/tests/panes/pane_page.js +0 -41
- data/sproutcore/frameworks/desktop/tests/panes/panel/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/panel/ui.js +0 -83
- data/sproutcore/frameworks/desktop/tests/panes/picker/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/picker/ui.js +0 -92
- data/sproutcore/frameworks/desktop/tests/panes/select_button/methods.js +0 -194
- data/sproutcore/frameworks/desktop/tests/panes/select_button/ui.js +0 -220
- data/sproutcore/frameworks/desktop/tests/panes/sheet/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/sheet/ui.js +0 -44
- data/sproutcore/frameworks/desktop/tests/views/button/methods.js +0 -166
- data/sproutcore/frameworks/desktop/tests/views/button/ui.js +0 -236
- data/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +0 -126
- data/sproutcore/frameworks/desktop/tests/views/checkbox/ui.js +0 -124
- data/sproutcore/frameworks/desktop/tests/views/collection/content.js +0 -249
- data/sproutcore/frameworks/desktop/tests/views/collection/deleteSelection.js +0 -82
- data/sproutcore/frameworks/desktop/tests/views/collection/deselect.js +0 -215
- data/sproutcore/frameworks/desktop/tests/views/collection/displayProperties.js +0 -31
- data/sproutcore/frameworks/desktop/tests/views/collection/itemViewForContentIndex.js +0 -300
- data/sproutcore/frameworks/desktop/tests/views/collection/layerIdFor.js +0 -65
- data/sproutcore/frameworks/desktop/tests/views/collection/length.js +0 -88
- data/sproutcore/frameworks/desktop/tests/views/collection/mouse.js +0 -240
- data/sproutcore/frameworks/desktop/tests/views/collection/nowShowing.js +0 -121
- data/sproutcore/frameworks/desktop/tests/views/collection/reload.js +0 -177
- data/sproutcore/frameworks/desktop/tests/views/collection/select.js +0 -240
- data/sproutcore/frameworks/desktop/tests/views/collection/selectNextItem.js +0 -205
- data/sproutcore/frameworks/desktop/tests/views/collection/selectPreviousItem.js +0 -211
- data/sproutcore/frameworks/desktop/tests/views/collection/selection.js +0 -141
- data/sproutcore/frameworks/desktop/tests/views/collection/ui_diagram.js +0 -188
- data/sproutcore/frameworks/desktop/tests/views/date_field/methods.js +0 -76
- data/sproutcore/frameworks/desktop/tests/views/date_field/ui.js +0 -456
- data/sproutcore/frameworks/desktop/tests/views/disclosure/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/disclosure/ui.js +0 -104
- data/sproutcore/frameworks/desktop/tests/views/grid/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/grid/ui.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/image_button/ui.js +0 -25
- data/sproutcore/frameworks/desktop/tests/views/list/render.js +0 -92
- data/sproutcore/frameworks/desktop/tests/views/list/rowDelegate.js +0 -183
- data/sproutcore/frameworks/desktop/tests/views/list/rowHeightForContentIndex.js +0 -133
- data/sproutcore/frameworks/desktop/tests/views/list/rowOffsetForContentIndex.js +0 -131
- data/sproutcore/frameworks/desktop/tests/views/list/ui_alternatingrows.js +0 -130
- data/sproutcore/frameworks/desktop/tests/views/list/ui_outline.js +0 -56
- data/sproutcore/frameworks/desktop/tests/views/list/ui_row_heights.js +0 -205
- data/sproutcore/frameworks/desktop/tests/views/list/ui_simple.js +0 -127
- data/sproutcore/frameworks/desktop/tests/views/list_item.js +0 -396
- data/sproutcore/frameworks/desktop/tests/views/menu_item/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/menu_item/ui.js +0 -46
- data/sproutcore/frameworks/desktop/tests/views/progress/methods.js +0 -128
- data/sproutcore/frameworks/desktop/tests/views/progress/ui.js +0 -421
- data/sproutcore/frameworks/desktop/tests/views/radio/methods.js +0 -119
- data/sproutcore/frameworks/desktop/tests/views/radio/ui.js +0 -349
- data/sproutcore/frameworks/desktop/tests/views/scroll/methods.js +0 -143
- data/sproutcore/frameworks/desktop/tests/views/scroll/ui.js +0 -162
- data/sproutcore/frameworks/desktop/tests/views/scroller.js +0 -118
- data/sproutcore/frameworks/desktop/tests/views/segmented/methods.js +0 -108
- data/sproutcore/frameworks/desktop/tests/views/segmented/ui.js +0 -457
- data/sproutcore/frameworks/desktop/tests/views/select/methods.js +0 -144
- data/sproutcore/frameworks/desktop/tests/views/select/ui.js +0 -224
- data/sproutcore/frameworks/desktop/tests/views/select_field/methods.js +0 -163
- data/sproutcore/frameworks/desktop/tests/views/select_field/ui.js +0 -117
- data/sproutcore/frameworks/desktop/tests/views/separator.js +0 -44
- data/sproutcore/frameworks/desktop/tests/views/source_list/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/source_list/ui.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/split/methods.js +0 -60
- data/sproutcore/frameworks/desktop/tests/views/split/ui.js +0 -59
- data/sproutcore/frameworks/desktop/tests/views/stacked/ui_comments.js +0 -238
- data/sproutcore/frameworks/desktop/tests/views/static_content.js +0 -46
- data/sproutcore/frameworks/desktop/tests/views/tab/methods.js +0 -54
- data/sproutcore/frameworks/desktop/tests/views/tab/ui.js +0 -92
- data/sproutcore/frameworks/desktop/tests/views/toolbar/method.js +0 -33
- data/sproutcore/frameworks/desktop/tests/views/toolbar/ui.js +0 -29
- data/sproutcore/frameworks/desktop/tests/views/web/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/web/ui.js +0 -110
- data/sproutcore/frameworks/desktop/tests/views/well/ui.js +0 -54
- data/sproutcore/frameworks/desktop/views/button.js +0 -564
- data/sproutcore/frameworks/desktop/views/checkbox.js +0 -110
- data/sproutcore/frameworks/desktop/views/collection.js +0 -3090
- data/sproutcore/frameworks/desktop/views/date_field.js +0 -319
- data/sproutcore/frameworks/desktop/views/disclosure.js +0 -68
- data/sproutcore/frameworks/desktop/views/file.js +0 -112
- data/sproutcore/frameworks/desktop/views/grid.js +0 -207
- data/sproutcore/frameworks/desktop/views/image_button.js +0 -74
- data/sproutcore/frameworks/desktop/views/list.js +0 -637
- data/sproutcore/frameworks/desktop/views/list_item.js +0 -923
- data/sproutcore/frameworks/desktop/views/master_detail.js +0 -257
- data/sproutcore/frameworks/desktop/views/menu_item.js +0 -704
- data/sproutcore/frameworks/desktop/views/menu_scroll.js +0 -615
- data/sproutcore/frameworks/desktop/views/navigation.js +0 -237
- data/sproutcore/frameworks/desktop/views/navigation_bar.js +0 -181
- data/sproutcore/frameworks/desktop/views/popup_button.js +0 -299
- data/sproutcore/frameworks/desktop/views/progress.js +0 -197
- data/sproutcore/frameworks/desktop/views/radio.js +0 -347
- data/sproutcore/frameworks/desktop/views/scene.js +0 -204
- data/sproutcore/frameworks/desktop/views/scroll.js +0 -1824
- data/sproutcore/frameworks/desktop/views/scroller.js +0 -917
- data/sproutcore/frameworks/desktop/views/segment.js +0 -104
- data/sproutcore/frameworks/desktop/views/segmented.js +0 -1002
- data/sproutcore/frameworks/desktop/views/select.js +0 -809
- data/sproutcore/frameworks/desktop/views/select_field.js +0 -344
- data/sproutcore/frameworks/desktop/views/separator.js +0 -36
- data/sproutcore/frameworks/desktop/views/slider.js +0 -291
- data/sproutcore/frameworks/desktop/views/source_list.js +0 -49
- data/sproutcore/frameworks/desktop/views/source_list_group.js +0 -169
- data/sproutcore/frameworks/desktop/views/split.js +0 -891
- data/sproutcore/frameworks/desktop/views/split_divider.js +0 -52
- data/sproutcore/frameworks/desktop/views/stacked.js +0 -110
- data/sproutcore/frameworks/desktop/views/static_content.js +0 -134
- data/sproutcore/frameworks/desktop/views/tab.js +0 -186
- data/sproutcore/frameworks/desktop/views/thumb.js +0 -53
- data/sproutcore/frameworks/desktop/views/toolbar.js +0 -88
- data/sproutcore/frameworks/desktop/views/web.js +0 -87
- data/sproutcore/frameworks/desktop/views/well.js +0 -65
- data/sproutcore/frameworks/desktop/views/workspace.js +0 -251
- data/sproutcore/frameworks/documentation/core.js +0 -0
- data/sproutcore/frameworks/experimental/README.md +0 -23
- data/sproutcore/frameworks/experimental/frameworks/device_motion/README.md +0 -11
- data/sproutcore/frameworks/experimental/frameworks/device_motion/device.js +0 -215
- data/sproutcore/frameworks/experimental/frameworks/device_motion/platform.js +0 -67
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/README.md +0 -34
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/models/polymorphic_single_attribute.js +0 -183
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/models/record.js +0 -23
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/tests/models/polymorphic/single.js +0 -124
- data/sproutcore/frameworks/forms/english.lproj/default_styles.css +0 -5
- data/sproutcore/frameworks/forms/english.lproj/strings.js +0 -15
- data/sproutcore/frameworks/forms/mixins/edit_mode.js +0 -43
- data/sproutcore/frameworks/forms/mixins/emptiness.js +0 -95
- data/sproutcore/frameworks/forms/renderer_delegates/form.js +0 -22
- data/sproutcore/frameworks/forms/renderer_delegates/form_row.js +0 -21
- data/sproutcore/frameworks/forms/tests/views/form.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_checkbox_field.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_field.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_label.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_radio_field.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_row.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_text_field.js +0 -15
- data/sproutcore/frameworks/forms/views/form.js +0 -282
- data/sproutcore/frameworks/forms/views/form_row.js +0 -183
- data/sproutcore/frameworks/foundation/.greenhouseconf +0 -35
- data/sproutcore/frameworks/foundation/TESTING +0 -46
- data/sproutcore/frameworks/foundation/controllers/tree.js +0 -127
- data/sproutcore/frameworks/foundation/core.js +0 -0
- data/sproutcore/frameworks/foundation/debug/control_test_pane.js +0 -191
- data/sproutcore/frameworks/foundation/english.lproj/benchmark.css +0 -146
- data/sproutcore/frameworks/foundation/english.lproj/blank.gif +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/bootstrap.rhtml +0 -67
- data/sproutcore/frameworks/foundation/english.lproj/button_view.css +0 -40
- data/sproutcore/frameworks/foundation/english.lproj/debug/control-test-pane.css +0 -9
- data/sproutcore/frameworks/foundation/english.lproj/images/favicon.ico +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-logo.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-landscape.jpg +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-landscape.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-portrait.jpg +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-portrait.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/inline_editor.css +0 -12
- data/sproutcore/frameworks/foundation/english.lproj/label.css +0 -47
- data/sproutcore/frameworks/foundation/english.lproj/static_layout.css +0 -5
- data/sproutcore/frameworks/foundation/english.lproj/text_field.css +0 -146
- data/sproutcore/frameworks/foundation/fixtures/file_exists.json +0 -1
- data/sproutcore/frameworks/foundation/fixtures/malformed.json +0 -11
- data/sproutcore/frameworks/foundation/gestures/pinch.js +0 -81
- data/sproutcore/frameworks/foundation/gestures/swipe.js +0 -144
- data/sproutcore/frameworks/foundation/gestures/tap.js +0 -113
- data/sproutcore/frameworks/foundation/license.js +0 -28
- data/sproutcore/frameworks/foundation/mixins/auto_mixin.js +0 -39
- data/sproutcore/frameworks/foundation/mixins/auto_resize.js +0 -233
- data/sproutcore/frameworks/foundation/mixins/button.js +0 -360
- data/sproutcore/frameworks/foundation/mixins/collection_content.js +0 -178
- data/sproutcore/frameworks/foundation/mixins/content_display.js +0 -114
- data/sproutcore/frameworks/foundation/mixins/control.js +0 -422
- data/sproutcore/frameworks/foundation/mixins/editable.js +0 -158
- data/sproutcore/frameworks/foundation/mixins/flowed_layout.js +0 -628
- data/sproutcore/frameworks/foundation/mixins/gestureable.js +0 -214
- data/sproutcore/frameworks/foundation/mixins/inline_editable.js +0 -89
- data/sproutcore/frameworks/foundation/mixins/inline_editor_delegate.js +0 -139
- data/sproutcore/frameworks/foundation/mixins/inline_text_field.js +0 -589
- data/sproutcore/frameworks/foundation/mixins/inner_frame.js +0 -184
- data/sproutcore/frameworks/foundation/mixins/static_layout.js +0 -77
- data/sproutcore/frameworks/foundation/mixins/string.js +0 -391
- data/sproutcore/frameworks/foundation/mixins/tree_item_content.js +0 -160
- data/sproutcore/frameworks/foundation/mixins/validatable.js +0 -189
- data/sproutcore/frameworks/foundation/private/tree_item_observer.js +0 -914
- data/sproutcore/frameworks/foundation/render_delegates/canvas_image.js +0 -110
- data/sproutcore/frameworks/foundation/render_delegates/container.js +0 -18
- data/sproutcore/frameworks/foundation/render_delegates/image.js +0 -97
- data/sproutcore/frameworks/foundation/render_delegates/label.js +0 -139
- data/sproutcore/frameworks/foundation/render_delegates/render_delegate.js +0 -17
- data/sproutcore/frameworks/foundation/system/benchmark.js +0 -718
- data/sproutcore/frameworks/foundation/system/chance.js +0 -64
- data/sproutcore/frameworks/foundation/system/cookie.js +0 -171
- data/sproutcore/frameworks/foundation/system/core_query.js +0 -56
- data/sproutcore/frameworks/foundation/system/exception_handler.js +0 -88
- data/sproutcore/frameworks/foundation/system/gesture.js +0 -363
- data/sproutcore/frameworks/foundation/system/image_queue.js +0 -433
- data/sproutcore/frameworks/foundation/system/math.js +0 -57
- data/sproutcore/frameworks/foundation/system/module.js +0 -583
- data/sproutcore/frameworks/foundation/system/request.js +0 -596
- data/sproutcore/frameworks/foundation/system/response.js +0 -550
- data/sproutcore/frameworks/foundation/system/routes.js +0 -519
- data/sproutcore/frameworks/foundation/system/staticqueue.js +0 -53
- data/sproutcore/frameworks/foundation/system/task_queue.js +0 -153
- data/sproutcore/frameworks/foundation/system/text_selection.js +0 -103
- data/sproutcore/frameworks/foundation/system/time.js +0 -473
- data/sproutcore/frameworks/foundation/system/user_defaults.js +0 -392
- data/sproutcore/frameworks/foundation/system/utils/colors.js +0 -80
- data/sproutcore/frameworks/foundation/system/utils/misc.js +0 -137
- data/sproutcore/frameworks/foundation/system/utils/range.js +0 -64
- data/sproutcore/frameworks/foundation/system/utils/string_measurement.js +0 -247
- data/sproutcore/frameworks/foundation/tasks/preload_bundle.js +0 -41
- data/sproutcore/frameworks/foundation/tasks/task.js +0 -17
- data/sproutcore/frameworks/foundation/tests/controllers/tree/outline_case.js +0 -108
- data/sproutcore/frameworks/foundation/tests/controllers/tree/selection_support.js +0 -340
- data/sproutcore/frameworks/foundation/tests/debug/control_test_pane/methods.js +0 -10
- data/sproutcore/frameworks/foundation/tests/debug/control_test_pane/ui.js +0 -113
- data/sproutcore/frameworks/foundation/tests/integration/creating_views.js +0 -118
- data/sproutcore/frameworks/foundation/tests/mixins/button/content.js +0 -195
- data/sproutcore/frameworks/foundation/tests/mixins/button/displayProperties.js +0 -89
- data/sproutcore/frameworks/foundation/tests/mixins/button/keyEquivalents.js +0 -57
- data/sproutcore/frameworks/foundation/tests/mixins/button/ui.js +0 -69
- data/sproutcore/frameworks/foundation/tests/mixins/content_display.js +0 -51
- data/sproutcore/frameworks/foundation/tests/mixins/control/content.js +0 -168
- data/sproutcore/frameworks/foundation/tests/mixins/control/displayProperties.js +0 -89
- data/sproutcore/frameworks/foundation/tests/mixins/editable/ui.js +0 -44
- data/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/api.js +0 -52
- data/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/beginEditing.js +0 -238
- data/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/ui.js +0 -64
- data/sproutcore/frameworks/foundation/tests/mixins/staticLayout.js +0 -144
- data/sproutcore/frameworks/foundation/tests/mixins/string.js +0 -28
- data/sproutcore/frameworks/foundation/tests/mixins/validatable/ui.js +0 -74
- data/sproutcore/frameworks/foundation/tests/private/tree_item_observer/flat_case.js +0 -325
- data/sproutcore/frameworks/foundation/tests/private/tree_item_observer/group_case.js +0 -718
- data/sproutcore/frameworks/foundation/tests/private/tree_item_observer/outline_case.js +0 -484
- data/sproutcore/frameworks/foundation/tests/system/cookie.js +0 -179
- data/sproutcore/frameworks/foundation/tests/system/core_query/setClass.js +0 -59
- data/sproutcore/frameworks/foundation/tests/system/math.js +0 -39
- data/sproutcore/frameworks/foundation/tests/system/request.js +0 -273
- data/sproutcore/frameworks/foundation/tests/system/routes.js +0 -356
- data/sproutcore/frameworks/foundation/tests/system/task_queue.js +0 -43
- data/sproutcore/frameworks/foundation/tests/system/user_defaults.js +0 -24
- data/sproutcore/frameworks/foundation/tests/system/utils/pointInElement.js +0 -235
- data/sproutcore/frameworks/foundation/tests/system/utils/range.js +0 -62
- data/sproutcore/frameworks/foundation/tests/validators/credit_card.js +0 -35
- data/sproutcore/frameworks/foundation/tests/validators/date.js +0 -26
- data/sproutcore/frameworks/foundation/tests/validators/not_empty.js +0 -56
- data/sproutcore/frameworks/foundation/tests/validators/number.js +0 -47
- data/sproutcore/frameworks/foundation/tests/validators/password.js +0 -13
- data/sproutcore/frameworks/foundation/tests/validators/validator.js +0 -20
- data/sproutcore/frameworks/foundation/tests/views/container/methods.js +0 -18
- data/sproutcore/frameworks/foundation/tests/views/container/ui.js +0 -145
- data/sproutcore/frameworks/foundation/tests/views/image/ui.js +0 -492
- data/sproutcore/frameworks/foundation/tests/views/label/ui.js +0 -179
- data/sproutcore/frameworks/foundation/tests/views/text_field/methods.js +0 -87
- data/sproutcore/frameworks/foundation/tests/views/text_field/nextValidKeyView.js +0 -110
- data/sproutcore/frameworks/foundation/tests/views/text_field/ui.js +0 -577
- data/sproutcore/frameworks/foundation/validators/credit_card.js +0 -125
- data/sproutcore/frameworks/foundation/validators/date.js +0 -52
- data/sproutcore/frameworks/foundation/validators/date_time.js +0 -48
- data/sproutcore/frameworks/foundation/validators/email.js +0 -45
- data/sproutcore/frameworks/foundation/validators/not_empty.js +0 -37
- data/sproutcore/frameworks/foundation/validators/number.js +0 -99
- data/sproutcore/frameworks/foundation/validators/password.js +0 -86
- data/sproutcore/frameworks/foundation/validators/positive_integer.js +0 -84
- data/sproutcore/frameworks/foundation/validators/validator.js +0 -326
- data/sproutcore/frameworks/foundation/views/container.js +0 -140
- data/sproutcore/frameworks/foundation/views/field.js +0 -337
- data/sproutcore/frameworks/foundation/views/image.js +0 -381
- data/sproutcore/frameworks/foundation/views/label.js +0 -219
- data/sproutcore/frameworks/foundation/views/text_field.js +0 -1073
- data/sproutcore/frameworks/handlebars/extensions.js +0 -44
- data/sproutcore/frameworks/handlebars/extensions/bind.js +0 -156
- data/sproutcore/frameworks/handlebars/extensions/collection.js +0 -75
- data/sproutcore/frameworks/handlebars/extensions/localization.js +0 -5
- data/sproutcore/frameworks/handlebars/extensions/view.js +0 -115
- data/sproutcore/frameworks/handlebars/handlebars.js +0 -1401
- data/sproutcore/frameworks/jquery/jquery-buffer.js +0 -376
- data/sproutcore/frameworks/jquery/jquery-buffered.js +0 -205
- data/sproutcore/frameworks/jquery/jquery-sc.js +0 -7
- data/sproutcore/frameworks/jquery/jquery.js +0 -7179
- data/sproutcore/frameworks/media/.greenhouseconf +0 -29
- data/sproutcore/frameworks/media/resources/controls.png +0 -0
- data/sproutcore/frameworks/media/resources/playeras3.fla +0 -0
- data/sproutcore/frameworks/media/resources/video.css +0 -124
- data/sproutcore/frameworks/media/resources/videoCanvas.swf +0 -0
- data/sproutcore/frameworks/media/views/audio.js +0 -741
- data/sproutcore/frameworks/media/views/controls.js +0 -88
- data/sproutcore/frameworks/media/views/media_slider.js +0 -243
- data/sproutcore/frameworks/media/views/mini_controls.js +0 -63
- data/sproutcore/frameworks/media/views/simple_controls.js +0 -54
- data/sproutcore/frameworks/media/views/video.js +0 -832
- data/sproutcore/frameworks/mini/license.js +0 -29
- data/sproutcore/frameworks/runtime/README +0 -12
- data/sproutcore/frameworks/runtime/core.js +0 -1102
- data/sproutcore/frameworks/runtime/debug/test_suites/array.js +0 -14
- data/sproutcore/frameworks/runtime/debug/test_suites/array/base.js +0 -397
- data/sproutcore/frameworks/runtime/debug/test_suites/array/indexOf.js +0 -33
- data/sproutcore/frameworks/runtime/debug/test_suites/array/insertAt.js +0 -121
- data/sproutcore/frameworks/runtime/debug/test_suites/array/objectAt.js +0 -34
- data/sproutcore/frameworks/runtime/debug/test_suites/array/popObject.js +0 -50
- data/sproutcore/frameworks/runtime/debug/test_suites/array/pushObject.js +0 -46
- data/sproutcore/frameworks/runtime/debug/test_suites/array/rangeObserver.js +0 -371
- data/sproutcore/frameworks/runtime/debug/test_suites/array/removeAt.js +0 -100
- data/sproutcore/frameworks/runtime/debug/test_suites/array/removeObject.js +0 -49
- data/sproutcore/frameworks/runtime/debug/test_suites/array/replace.js +0 -94
- data/sproutcore/frameworks/runtime/debug/test_suites/array/shiftObject.js +0 -50
- data/sproutcore/frameworks/runtime/debug/test_suites/array/unshiftObject.js +0 -47
- data/sproutcore/frameworks/runtime/license.js +0 -29
- data/sproutcore/frameworks/runtime/mixins/array.js +0 -658
- data/sproutcore/frameworks/runtime/mixins/comparable.js +0 -45
- data/sproutcore/frameworks/runtime/mixins/copyable.js +0 -72
- data/sproutcore/frameworks/runtime/mixins/enumerable.js +0 -1426
- data/sproutcore/frameworks/runtime/mixins/freezable.js +0 -110
- data/sproutcore/frameworks/runtime/mixins/observable.js +0 -1408
- data/sproutcore/frameworks/runtime/private/chain_observer.js +0 -178
- data/sproutcore/frameworks/runtime/private/observer_queue.js +0 -178
- data/sproutcore/frameworks/runtime/private/observer_set.js +0 -123
- data/sproutcore/frameworks/runtime/system/binding.js +0 -1000
- data/sproutcore/frameworks/runtime/system/enumerator.js +0 -107
- data/sproutcore/frameworks/runtime/system/error.js +0 -157
- data/sproutcore/frameworks/runtime/system/index_set.js +0 -1199
- data/sproutcore/frameworks/runtime/system/logger.js +0 -1582
- data/sproutcore/frameworks/runtime/system/object.js +0 -947
- data/sproutcore/frameworks/runtime/system/range_observer.js +0 -270
- data/sproutcore/frameworks/runtime/system/run_loop.js +0 -308
- data/sproutcore/frameworks/runtime/system/set.js +0 -536
- data/sproutcore/frameworks/runtime/tests/core/IsEqual.js +0 -30
- data/sproutcore/frameworks/runtime/tests/core/beget.js +0 -23
- data/sproutcore/frameworks/runtime/tests/core/clone.js +0 -108
- data/sproutcore/frameworks/runtime/tests/core/compare.js +0 -44
- data/sproutcore/frameworks/runtime/tests/core/console.js +0 -16
- data/sproutcore/frameworks/runtime/tests/core/guidFor.js +0 -109
- data/sproutcore/frameworks/runtime/tests/core/inspect.js +0 -27
- data/sproutcore/frameworks/runtime/tests/core/itemType.js +0 -71
- data/sproutcore/frameworks/runtime/tests/core/keys.js +0 -20
- data/sproutcore/frameworks/runtime/tests/core/makeArray.js +0 -44
- data/sproutcore/frameworks/runtime/tests/core/objectForPropertyPath.js +0 -19
- data/sproutcore/frameworks/runtime/tests/core/tupleForPropertyPath.js +0 -37
- data/sproutcore/frameworks/runtime/tests/mixins/array.js +0 -59
- data/sproutcore/frameworks/runtime/tests/mixins/comparable.js +0 -44
- data/sproutcore/frameworks/runtime/tests/mixins/enumerable.js +0 -658
- data/sproutcore/frameworks/runtime/tests/mixins/observable/chained.js +0 -37
- data/sproutcore/frameworks/runtime/tests/mixins/observable/observable.js +0 -733
- data/sproutcore/frameworks/runtime/tests/mixins/observable/propertyChanges.js +0 -155
- data/sproutcore/frameworks/runtime/tests/mixins/observable/registerDependentKeys.js +0 -79
- data/sproutcore/frameworks/runtime/tests/mixins/propertyChanges.js +0 -81
- data/sproutcore/frameworks/runtime/tests/private/observer_queue/isObservingSuspended.js +0 -55
- data/sproutcore/frameworks/runtime/tests/system/binding.js +0 -395
- data/sproutcore/frameworks/runtime/tests/system/error.js +0 -53
- data/sproutcore/frameworks/runtime/tests/system/index_set/add.js +0 -212
- data/sproutcore/frameworks/runtime/tests/system/index_set/addEach.js +0 -49
- data/sproutcore/frameworks/runtime/tests/system/index_set/clone.js +0 -43
- data/sproutcore/frameworks/runtime/tests/system/index_set/contains.js +0 -74
- data/sproutcore/frameworks/runtime/tests/system/index_set/create.js +0 -42
- data/sproutcore/frameworks/runtime/tests/system/index_set/indexAfter.js +0 -38
- data/sproutcore/frameworks/runtime/tests/system/index_set/indexBefore.js +0 -38
- data/sproutcore/frameworks/runtime/tests/system/index_set/intersects.js +0 -74
- data/sproutcore/frameworks/runtime/tests/system/index_set/max.js +0 -40
- data/sproutcore/frameworks/runtime/tests/system/index_set/min.js +0 -50
- data/sproutcore/frameworks/runtime/tests/system/index_set/rangeStartForIndex.js +0 -36
- data/sproutcore/frameworks/runtime/tests/system/index_set/remove.js +0 -189
- data/sproutcore/frameworks/runtime/tests/system/index_set/removeEach.js +0 -49
- data/sproutcore/frameworks/runtime/tests/system/index_set/without.js +0 -89
- data/sproutcore/frameworks/runtime/tests/system/logger.js +0 -260
- data/sproutcore/frameworks/runtime/tests/system/object/base.js +0 -195
- data/sproutcore/frameworks/runtime/tests/system/object/bindings.js +0 -374
- data/sproutcore/frameworks/runtime/tests/system/object/concatenated_properties.js +0 -71
- data/sproutcore/frameworks/runtime/tests/system/object/enhance.js +0 -177
- data/sproutcore/frameworks/runtime/tests/system/observer_set.js +0 -50
- data/sproutcore/frameworks/runtime/tests/system/range_observer/create.js +0 -59
- data/sproutcore/frameworks/runtime/tests/system/range_observer/destroy.js +0 -75
- data/sproutcore/frameworks/runtime/tests/system/range_observer/objectPropertyDidChange.js +0 -117
- data/sproutcore/frameworks/runtime/tests/system/range_observer/rangeDidChange.js +0 -110
- data/sproutcore/frameworks/runtime/tests/system/range_observer/update.js +0 -65
- data/sproutcore/frameworks/runtime/tests/system/run_loop.js +0 -120
- data/sproutcore/frameworks/runtime/tests/system/set.js +0 -318
- data/sproutcore/frameworks/statechart/core.js +0 -5
- data/sproutcore/frameworks/statechart/debug/monitor.js +0 -136
- data/sproutcore/frameworks/statechart/system/state.js +0 -713
- data/sproutcore/frameworks/statechart/system/statechart.js +0 -951
- data/sproutcore/frameworks/statechart/tests/async.js +0 -94
- data/sproutcore/frameworks/statechart/tests/event_handling/advanced_event_handling.js +0 -310
- data/sproutcore/frameworks/statechart/tests/namespace/access_substates.js +0 -252
- data/sproutcore/frameworks/statechart/tests/state/is_current_state.js +0 -64
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_history_state.js +0 -88
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_advanced.js +0 -234
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_async.js +0 -123
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_basic.js +0 -139
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_intermediate.js +0 -119
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/send_event.js +0 -183
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/default_responder.js +0 -90
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_history_state.js +0 -200
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_state.js +0 -256
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_state_async.js +0 -187
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/send_event.js +0 -122
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/state_plugin.js +0 -99
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/transient.js +0 -162
- data/sproutcore/frameworks/table/mixins/table_delegate.js +0 -41
- data/sproutcore/frameworks/table/system/table_column.js +0 -125
- data/sproutcore/frameworks/table/views/table.js +0 -440
- data/sproutcore/frameworks/table/views/table_cell.js +0 -63
- data/sproutcore/frameworks/table/views/table_head.js +0 -158
- data/sproutcore/frameworks/table/views/table_header.js +0 -214
- data/sproutcore/frameworks/table/views/table_row.js +0 -155
- data/sproutcore/frameworks/testing/core.js +0 -196
- data/sproutcore/frameworks/testing/english.lproj/additions.css +0 -8
- data/sproutcore/frameworks/testing/english.lproj/runner.css +0 -128
- data/sproutcore/frameworks/testing/english.lproj/testsuite.css +0 -136
- data/sproutcore/frameworks/testing/extras.js +0 -17
- data/sproutcore/frameworks/testing/jquery.js +0 -3559
- data/sproutcore/frameworks/testing/qunit.js +0 -827
- data/sproutcore/frameworks/testing/system/dump.js +0 -205
- data/sproutcore/frameworks/testing/system/equiv.js +0 -201
- data/sproutcore/frameworks/testing/system/plan.js +0 -703
- data/sproutcore/frameworks/testing/system/runner.js +0 -220
- data/sproutcore/frameworks/testing/system/suite.js +0 -228
- data/sproutcore/frameworks/testing/utils.js +0 -62
- data/sproutcore/lib/index.rhtml +0 -164
- data/sproutcore/license.js +0 -31
- data/sproutcore/themes/ace/designs/dark.png +0 -0
- data/sproutcore/themes/ace/designs/dark.psd +0 -0
- data/sproutcore/themes/ace/designs/light.png +0 -0
- data/sproutcore/themes/ace/designs/light.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/popup/active_select.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/popup/normal_select.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_checked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_checked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_mixed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_mixed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_unchecked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_unchecked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_checked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_checked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_mixed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_mixed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_unchecked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_unchecked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/collection/source-list/selection.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_closed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_closed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_open.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_open_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/checkmark.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/checkmark_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/down.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/menu.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/menu_item.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/up.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/panel/panel.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/panel/pointers.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_empty.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_notoolbar.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_pointers.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_pointers_notoolbar.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_content.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_indeterminate_content.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_track.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_mixed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_mixed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_unselected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/horizontal/thumb.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/horizontal/track_and_arrows.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/horizontal/track_and_arrows_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/vertical/thumb.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/vertical/track_and_arrows.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/vertical/track_and_arrows_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/14px/knob.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/14px/knob_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/16px/knob.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/16px/knob_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/22px/knob.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/22px/knob_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/22px/track.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/track.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/toolbar/toolbar.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_handle.png +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_handle.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_off.png +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_off.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_on.png +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_on.psd +0 -0
- data/sproutcore/themes/ace/resources/body.css +0 -13
- data/sproutcore/themes/ace/resources/button/ace/18px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/18px/button.css +0 -33
- data/sproutcore/themes/ace/resources/button/ace/18px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/18px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/18px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/button.css +0 -98
- data/sproutcore/themes/ace/resources/button/ace/24px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/normal_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/button.css +0 -78
- data/sproutcore/themes/ace/resources/button/ace/30px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/button.css +0 -39
- data/sproutcore/themes/ace/resources/button/ace/44px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/button.css +0 -36
- data/sproutcore/themes/ace/resources/button/button.js +0 -75
- data/sproutcore/themes/ace/resources/button/dark/24px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/button.css +0 -93
- data/sproutcore/themes/ace/resources/button/dark/24px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/normal_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/button.css +0 -72
- data/sproutcore/themes/ace/resources/button/dark/30px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/button.css +0 -17
- data/sproutcore/themes/ace/resources/button/dark/button.js +0 -3
- data/sproutcore/themes/ace/resources/button/popup/active_select.png +0 -0
- data/sproutcore/themes/ace/resources/button/popup/normal_select.png +0 -0
- data/sproutcore/themes/ace/resources/button/popup/select.css +0 -20
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox.css +0 -40
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox.css +0 -40
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/checkbox.css +0 -7
- data/sproutcore/themes/ace/resources/collection/normal/list.css +0 -4
- data/sproutcore/themes/ace/resources/collection/normal/list_item.css +0 -17
- data/sproutcore/themes/ace/resources/collection/source-list/selection.png +0 -0
- data/sproutcore/themes/ace/resources/collection/source-list/source-list.js +0 -3
- data/sproutcore/themes/ace/resources/collection/source-list/source_list_view.css +0 -36
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure.css +0 -24
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_closed.png +0 -0
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_closed_active.png +0 -0
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open.png +0 -0
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open_active.png +0 -0
- data/sproutcore/themes/ace/resources/imagebutton/ace/imagebutton.css +0 -11
- data/sproutcore/themes/ace/resources/loading.css +0 -50
- data/sproutcore/themes/ace/resources/master-detail/master-detail.css +0 -27
- data/sproutcore/themes/ace/resources/menu/checkmark.png +0 -0
- data/sproutcore/themes/ace/resources/menu/checkmark_active.png +0 -0
- data/sproutcore/themes/ace/resources/menu/down.png +0 -0
- data/sproutcore/themes/ace/resources/menu/menu.css +0 -75
- data/sproutcore/themes/ace/resources/menu/menu.png +0 -0
- data/sproutcore/themes/ace/resources/menu/menu_item.png +0 -0
- data/sproutcore/themes/ace/resources/menu/up.png +0 -0
- data/sproutcore/themes/ace/resources/pane/pane.css +0 -3
- data/sproutcore/themes/ace/resources/panel/panel.css +0 -13
- data/sproutcore/themes/ace/resources/panel/panel.js +0 -20
- data/sproutcore/themes/ace/resources/panel/panel.png +0 -0
- data/sproutcore/themes/ace/resources/picker/ace/panel.png +0 -0
- data/sproutcore/themes/ace/resources/picker/ace/picker.css +0 -41
- data/sproutcore/themes/ace/resources/picker/ace/picker.js +0 -0
- data/sproutcore/themes/ace/resources/picker/ace/pointers.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/picker.js +0 -32
- data/sproutcore/themes/ace/resources/picker/popover/popover.css +0 -111
- data/sproutcore/themes/ace/resources/picker/popover/popover.js +0 -12
- data/sproutcore/themes/ace/resources/picker/popover/popover.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_empty.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_notoolbar.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_pointers.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_pointers_notoolbar.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/workspace.js +0 -28
- data/sproutcore/themes/ace/resources/progress/ace/progress.css +0 -27
- data/sproutcore/themes/ace/resources/progress/ace/progress_view_content.png +0 -0
- data/sproutcore/themes/ace/resources/progress/ace/progress_view_track.png +0 -0
- data/sproutcore/themes/ace/resources/progress/progress.js +0 -78
- data/sproutcore/themes/ace/resources/radio/radio.css +0 -63
- data/sproutcore/themes/ace/resources/radio/radio_active.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_mixed.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_mixed_active.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_selected.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_unselected.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/horizontal/horizontal.css +0 -78
- data/sproutcore/themes/ace/resources/scroller/horizontal/horizontal_touch.css +0 -91
- data/sproutcore/themes/ace/resources/scroller/horizontal/thumb.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/horizontal/track_and_arrows.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/horizontal/track_and_arrows_active.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/thumb.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/track_and_arrows.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/track_and_arrows_active.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/vertical.css +0 -80
- data/sproutcore/themes/ace/resources/scroller/vertical/vertical_touch.css +0 -92
- data/sproutcore/themes/ace/resources/segmented/18px/segmented.css +0 -91
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented.css +0 -91
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented.css +0 -91
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented.css +0 -95
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/segmented.css +0 -83
- data/sproutcore/themes/ace/resources/slider/ace/14px/knob.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/14px/knob_active.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/14px/slider.css +0 -27
- data/sproutcore/themes/ace/resources/slider/ace/16px/knob.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/16px/knob_active.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/16px/slider.css +0 -27
- data/sproutcore/themes/ace/resources/slider/ace/22px/knob.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/22px/knob_active.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/22px/slider.css +0 -27
- data/sproutcore/themes/ace/resources/slider/ace/22px/track.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/slider.css +0 -7
- data/sproutcore/themes/ace/resources/slider/ace/slider.js +0 -56
- data/sproutcore/themes/ace/resources/slider/ace/track.png +0 -0
- data/sproutcore/themes/ace/resources/split/split.css +0 -5
- data/sproutcore/themes/ace/resources/tab/tab.css +0 -3
- data/sproutcore/themes/ace/resources/toolbar/toolbar.css +0 -8
- data/sproutcore/themes/ace/resources/toolbar/toolbar.png +0 -0
- data/sproutcore/themes/ace/resources/well/well.css +0 -7
- data/sproutcore/themes/ace/resources/well/well.js +0 -17
- data/sproutcore/themes/ace/theme.js +0 -14
- data/sproutcore/themes/empty_theme/tests/mini_icons.rhtml +0 -69
- data/sproutcore/themes/empty_theme/theme.js +0 -16
- data/sproutcore/themes/iphone_theme/english.lproj/button.css +0 -41
- data/sproutcore/themes/iphone_theme/english.lproj/core.css +0 -8
- data/sproutcore/themes/iphone_theme/english.lproj/images/backButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/blueButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/cancel.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/grayButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/leftButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/listArrow.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/listArrowSel.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/listGroup.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/loading.gif +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/pinstripes.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/rightButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/selection.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/thumb.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toggle.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toggleOn.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toolButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toolbar.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/whiteButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/strings.js +0 -15
- data/sproutcore/themes/standard_theme/Source/Panel.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/Panel.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/Panel.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/SproutCore Theme Buttons.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/ToolbarView Pattern.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/ToolbarView Pattern.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/ToolbarView Pattern.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/100.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/102.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/110.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/120.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/127.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/24.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/26.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/27.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/28.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/29.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/30.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/31.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/33.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/37.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/41.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/99.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/100.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/102.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/110.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/120.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/127.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/24.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/26.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/27.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/28.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/29.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/30.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/31.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/33.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/37.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/41.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/99.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/100.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/102.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/110.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/120.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/127.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/24.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/26.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/27.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/28.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/29.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/30.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/31.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/33.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/37.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/41.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/99.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-x.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-x.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-x.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-y.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-y.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-y.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-repeat-x-2.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-repeat-x.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-sprite.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-ysprite.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/shared-icons.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sproutcore-logo.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sticky-note.psd +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/button.css +0 -399
- data/sproutcore/themes/standard_theme/english.lproj/checkbox.css +0 -78
- data/sproutcore/themes/standard_theme/english.lproj/collection.css +0 -135
- data/sproutcore/themes/standard_theme/english.lproj/core.css +0 -76
- data/sproutcore/themes/standard_theme/english.lproj/disclosure.css +0 -57
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_222222.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_454545.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_888888.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_ffffff.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/panels/sprite-x.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/panels/sprite-y.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-scroller-repeat-x.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-scroller-repeat-y.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-scroller-sprite.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-theme-repeat-x.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-theme-ysprite.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-toolbar-view.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/label.css +0 -11
- data/sproutcore/themes/standard_theme/english.lproj/list_item.css +0 -82
- data/sproutcore/themes/standard_theme/english.lproj/menu.css +0 -20
- data/sproutcore/themes/standard_theme/english.lproj/menu_item_view.css +0 -36
- data/sproutcore/themes/standard_theme/english.lproj/pane.css +0 -18
- data/sproutcore/themes/standard_theme/english.lproj/panel.css +0 -33
- data/sproutcore/themes/standard_theme/english.lproj/picker.css +0 -17
- data/sproutcore/themes/standard_theme/english.lproj/progress.css +0 -27
- data/sproutcore/themes/standard_theme/english.lproj/radio.css +0 -125
- data/sproutcore/themes/standard_theme/english.lproj/scroller.css +0 -159
- data/sproutcore/themes/standard_theme/english.lproj/segmented.css +0 -270
- data/sproutcore/themes/standard_theme/english.lproj/slider.css +0 -94
- data/sproutcore/themes/standard_theme/english.lproj/split_view.css +0 -11
- data/sproutcore/themes/standard_theme/english.lproj/tab.css +0 -14
- data/sproutcore/themes/standard_theme/english.lproj/table.css +0 -14
- data/sproutcore/themes/standard_theme/english.lproj/text_field.css +0 -5
- data/sproutcore/themes/standard_theme/english.lproj/toolbar.css +0 -7
- data/sproutcore/themes/standard_theme/english.lproj/well.css +0 -36
@@ -1,1582 +0,0 @@
|
|
1
|
-
// ==========================================================================
|
2
|
-
// Project: SproutCore - JavaScript Application Framework
|
3
|
-
// Copyright: ©2006-2011 Strobe Inc. and contributors.
|
4
|
-
// Portions ©2008-2010 Apple Inc. All rights reserved.
|
5
|
-
// License: Licensed under MIT license (see license.js)
|
6
|
-
// ==========================================================================
|
7
|
-
|
8
|
-
|
9
|
-
// ..........................................................
|
10
|
-
// CONSTANTS
|
11
|
-
//
|
12
|
-
|
13
|
-
// Implementation note: We use two spaces after four-letter prefixes and one
|
14
|
-
// after five-letter prefixes so things align in monospaced consoles.
|
15
|
-
|
16
|
-
/**
|
17
|
-
If {@link SC.Logger.format} is true, this delimiter will be put between arguments.
|
18
|
-
|
19
|
-
@property {String}
|
20
|
-
*/
|
21
|
-
SC.LOGGER_LOG_DELIMITER = ", ";
|
22
|
-
|
23
|
-
/**
|
24
|
-
If {@link SC.Logger.error} falls back onto {@link SC.Logger.log}, this will be
|
25
|
-
prepended to the output.
|
26
|
-
|
27
|
-
@property {String}
|
28
|
-
*/
|
29
|
-
SC.LOGGER_LOG_ERROR = "ERROR: ";
|
30
|
-
|
31
|
-
/**
|
32
|
-
If {@link SC.Logger.info} falls back onto {@link SC.Logger.log}, this will be
|
33
|
-
prepended to the output.
|
34
|
-
|
35
|
-
@property {String}
|
36
|
-
*/
|
37
|
-
SC.LOGGER_LOG_INFO = "INFO: ";
|
38
|
-
|
39
|
-
/**
|
40
|
-
If {@link SC.Logger.warn} falls back onto {@link SC.Logger.log}, this will be
|
41
|
-
prepended to the output.
|
42
|
-
|
43
|
-
@property {String}
|
44
|
-
*/
|
45
|
-
SC.LOGGER_LOG_WARN = "WARN: ";
|
46
|
-
|
47
|
-
/**
|
48
|
-
If {@link SC.Logger.debug} falls back onto {@link SC.Logger.log}, this will be
|
49
|
-
prepended to the output.
|
50
|
-
|
51
|
-
@property {String}
|
52
|
-
*/
|
53
|
-
SC.LOGGER_LOG_DEBUG = "DEBUG: ";
|
54
|
-
|
55
|
-
/**
|
56
|
-
If {@link SC.Logger.group} falls back onto {@link SC.Logger.log}, this will
|
57
|
-
be prepended to the output.
|
58
|
-
|
59
|
-
@property {String}
|
60
|
-
*/
|
61
|
-
SC.LOGGER_LOG_GROUP_HEADER = "** %@"; // The variable is the group title
|
62
|
-
|
63
|
-
/**
|
64
|
-
If the reporter does not support group(), then we’ll add our own indentation
|
65
|
-
to our output. This constant represents one level of indentation.
|
66
|
-
|
67
|
-
@property {String}
|
68
|
-
*/
|
69
|
-
SC.LOGGER_LOG_GROUP_INDENTATION = " ";
|
70
|
-
|
71
|
-
/**
|
72
|
-
When reporting recorded log messages, the timestamp is included with this
|
73
|
-
prefix.
|
74
|
-
|
75
|
-
@property {String}
|
76
|
-
*/
|
77
|
-
SC.LOGGER_RECORDED_LOG_TIMESTAMP_PREFIX = "%@: ";
|
78
|
-
|
79
|
-
|
80
|
-
SC.LOGGER_LEVEL_DEBUG = 'debug';
|
81
|
-
SC.LOGGER_LEVEL_INFO = 'info';
|
82
|
-
SC.LOGGER_LEVEL_WARN = 'warn';
|
83
|
-
SC.LOGGER_LEVEL_ERROR = 'error';
|
84
|
-
SC.LOGGER_LEVEL_NONE = 'none';
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
/** @class
|
89
|
-
|
90
|
-
Object to allow for safe logging actions, such as using the browser console.
|
91
|
-
In addition to being output to the console, logs can be optionally recorded
|
92
|
-
in memory, to be accessed by your application as appropriate.
|
93
|
-
|
94
|
-
This class also adds in the concept of a “current log level”, which allows
|
95
|
-
your application to potentially determine a subset of logging messages to
|
96
|
-
output and/or record. The order of levels is:
|
97
|
-
|
98
|
-
* debug SC.LOGGER_LEVEL_DEBUG
|
99
|
-
* info SC.LOGGER_LEVEL_INFO
|
100
|
-
* warn SC.LOGGER_LEVEL_WARN
|
101
|
-
* error SC.LOGGER_LEVEL_ERROR
|
102
|
-
|
103
|
-
All messages at the level or “above” will be output/recorded. So, for
|
104
|
-
example, if you set the level to 'info', all 'info', 'warn', and 'error'
|
105
|
-
messages will be output/recorded, but no 'debug' messages will be. Also,
|
106
|
-
there are two separate log levels: one for output, and one for recording.
|
107
|
-
You may wish to only output, say, 'warn' and above, but record everything
|
108
|
-
from 'debug' on up. (You can also limit the number log messages to record.)
|
109
|
-
|
110
|
-
This mechanism allows your application to avoid needless output (which has a
|
111
|
-
non-zero cost in many browsers) in the general case, but turning up the log
|
112
|
-
level when necessary for debugging. Note that there can still be a
|
113
|
-
performance cost for preparing log messages (calling {@link String.fmt},
|
114
|
-
etc.), so it’s still a good idea to be selective about what log messages are
|
115
|
-
output even to 'debug', especially in hot code.
|
116
|
-
|
117
|
-
Similarly, you should be aware that if you wish to log objects without
|
118
|
-
stringification — using the {@link SC.Logger.debugWithoutFmt} variants — and
|
119
|
-
you enable recording, the “recorded messages” array will hold onto a
|
120
|
-
reference to the arguments, potentially increasing the amount of memory
|
121
|
-
used.
|
122
|
-
|
123
|
-
As a convenience, this class also adds some shorthand methods to SC:
|
124
|
-
|
125
|
-
* SC.debug() ==> SC.Logger.debug()
|
126
|
-
* SC.info() ==> SC.Logger.info()
|
127
|
-
* SC.warn() ==> SC.Logger.warn()
|
128
|
-
* SC.error() ==> SC.Logger.error()
|
129
|
-
|
130
|
-
…although note that no shorthand versions exist for the less-common
|
131
|
-
functions, such as defining groups.
|
132
|
-
|
133
|
-
The FireFox plugin Firebug was used as a function reference. Please see
|
134
|
-
{@link <a href="http://getfirebug.com/logging.html">Firebug Logging Reference</a>}
|
135
|
-
for further information.
|
136
|
-
|
137
|
-
@author Colin Campbell
|
138
|
-
@author Benedikt Böhm
|
139
|
-
@author William Kakes
|
140
|
-
@extends SC.Object
|
141
|
-
@since SproutCore 1.0
|
142
|
-
@see <a href="http://getfirebug.com/logging.html">Firebug Logging Reference</a>
|
143
|
-
*/
|
144
|
-
SC.Logger = SC.Object.create({
|
145
|
-
|
146
|
-
// ..........................................................
|
147
|
-
// PROPERTIES
|
148
|
-
//
|
149
|
-
|
150
|
-
/**
|
151
|
-
The current log level determining what is output to the reporter object
|
152
|
-
(usually your browser’s console). Valid values are:
|
153
|
-
|
154
|
-
* SC.LOGGER_LEVEL_DEBUG
|
155
|
-
* SC.LOGGER_LEVEL_INFO
|
156
|
-
* SC.LOGGER_LEVEL_WARN
|
157
|
-
* SC.LOGGER_LEVEL_ERROR
|
158
|
-
* SC.LOGGER_LEVEL_NONE
|
159
|
-
|
160
|
-
If you do not specify this value, it will default to SC.LOGGER_LEVEL_DEBUG
|
161
|
-
when running in development mode and SC.LOGGER_LEVEL_INFO when running in
|
162
|
-
production mode.
|
163
|
-
|
164
|
-
@property: {Constant}
|
165
|
-
*/
|
166
|
-
logOutputLevel: null, // If null, set appropriately during init()
|
167
|
-
|
168
|
-
|
169
|
-
/**
|
170
|
-
The current log level determining what is output to the reporter object
|
171
|
-
(usually your browser’s console). Valid values are the same as with
|
172
|
-
'logOutputLevel':
|
173
|
-
|
174
|
-
* SC.LOGGER_LEVEL_DEBUG
|
175
|
-
* SC.LOGGER_LEVEL_INFO
|
176
|
-
* SC.LOGGER_LEVEL_WARN
|
177
|
-
* SC.LOGGER_LEVEL_ERROR
|
178
|
-
* SC.LOGGER_LEVEL_NONE
|
179
|
-
|
180
|
-
If you do not specify this value, it will default to SC.LOGGER_LEVEL_NONE.
|
181
|
-
|
182
|
-
@property: {Constant}
|
183
|
-
*/
|
184
|
-
logRecordingLevel: SC.LOGGER_LEVEL_NONE,
|
185
|
-
|
186
|
-
|
187
|
-
/**
|
188
|
-
All recorded log messages. You generally should not need to interact with
|
189
|
-
this array, as most commonly-used functionality can be achieved via the
|
190
|
-
{@link SC.Logger.outputRecordedLogMessages} and
|
191
|
-
{@link SC.Logger.stringifyRecordedLogMessages} methods.
|
192
|
-
|
193
|
-
This array will be lazily created when the first message is recorded.
|
194
|
-
|
195
|
-
Format:
|
196
|
-
|
197
|
-
For efficiency, each entry in the array is a simple hash rather than a
|
198
|
-
full SC.Object instance. Furthermore, to minimize memory usage, niceties
|
199
|
-
like “type of entry: message” are avoided; if you need to parse this
|
200
|
-
structure, you can determine which type of entry you’re looking at by
|
201
|
-
checking for the 'message' and 'indentation' fields.
|
202
|
-
|
203
|
-
Log entry:
|
204
|
-
{
|
205
|
-
type: {Constant} (SC.LOGGER_LEVEL_DEBUG, etc.)
|
206
|
-
message: {String | Boolean}
|
207
|
-
originalArguments: {Arguments} // optional
|
208
|
-
timestamp: {Date}
|
209
|
-
}
|
210
|
-
|
211
|
-
Group entry (either beginning or end of):
|
212
|
-
{
|
213
|
-
type: {Constant} SC.LOGGER_LEVEL_DEBUG, etc.
|
214
|
-
indentation: {Number} The value is the new group indentation level
|
215
|
-
beginGroup: {Boolean} Whether this entry is the beginning of a new group (as opposed to the end)
|
216
|
-
title: {String} Optional for new groups, and never present for end-of-group
|
217
|
-
timestamp: {Date}
|
218
|
-
}
|
219
|
-
|
220
|
-
@property {Array}
|
221
|
-
*/
|
222
|
-
recordedLogMessages: null,
|
223
|
-
|
224
|
-
|
225
|
-
/**
|
226
|
-
If the recording level is set such that messages will be recorded, this is
|
227
|
-
the maximum number of messages that will be saved in the
|
228
|
-
'recordedLogMessages' array. Any further recorded messages will push
|
229
|
-
older messages out of the array, so the most recent messages will be
|
230
|
-
saved.
|
231
|
-
|
232
|
-
@property {Number}
|
233
|
-
*/
|
234
|
-
recordedLogMessagesMaximumLength: 500,
|
235
|
-
|
236
|
-
|
237
|
-
/**
|
238
|
-
If the recording level is set such that messages will be recorded, this is
|
239
|
-
the minimum number of messages that will be saved whenever the recordings
|
240
|
-
are pruned. (They are pruned whenever you hit the maximum length, as
|
241
|
-
specified via the 'recordedLogMessagesMaximumLength' property. This
|
242
|
-
mechanism avoids thrashing the array for each log message once the
|
243
|
-
maximum is reached.) When pruning, the most recent messages will be saved.
|
244
|
-
|
245
|
-
@property {Number}
|
246
|
-
*/
|
247
|
-
recordedLogMessagesPruningMinimumLength: 100,
|
248
|
-
|
249
|
-
|
250
|
-
/**
|
251
|
-
Whether or not to enable debug logging. This property exists for
|
252
|
-
backwards compatibility with previous versions of SC.Logger. In newer
|
253
|
-
code, you should instead set the appropriate output/recording log levels.
|
254
|
-
|
255
|
-
If this property is set to YES, it will set 'logOutputLevel' to
|
256
|
-
SC.LOGGER_LEVEL_DEBUG. Otherwise, it will have no effect.
|
257
|
-
|
258
|
-
@deprecated
|
259
|
-
@property: {Boolean}
|
260
|
-
*/
|
261
|
-
debugEnabled: NO,
|
262
|
-
|
263
|
-
|
264
|
-
/**
|
265
|
-
Computed property that checks for the existence of the reporter object.
|
266
|
-
|
267
|
-
@property {Boolean}
|
268
|
-
*/
|
269
|
-
exists: function() {
|
270
|
-
return !SC.none(this.get('reporter'));
|
271
|
-
}.property('reporter').cacheable(),
|
272
|
-
|
273
|
-
|
274
|
-
/**
|
275
|
-
If console.log does not exist, SC.Logger will use window.alert instead
|
276
|
-
when {@link SC.Logger.log} is invoked.
|
277
|
-
|
278
|
-
Note that this property has no effect for messages initiated via the
|
279
|
-
debug/info/warn/error methods, on the assumption that it is better to
|
280
|
-
simply utilize the message recording mechanism than put up a bunch of
|
281
|
-
alerts when there is no browser console.
|
282
|
-
|
283
|
-
@property {Boolean}
|
284
|
-
*/
|
285
|
-
fallBackOnAlert: NO,
|
286
|
-
|
287
|
-
|
288
|
-
/**
|
289
|
-
The reporter is the object which implements the actual logging functions.
|
290
|
-
|
291
|
-
@default The browser’s console
|
292
|
-
@property {Object}
|
293
|
-
*/
|
294
|
-
reporter: console,
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
// ..........................................................
|
300
|
-
// METHODS
|
301
|
-
//
|
302
|
-
|
303
|
-
/**
|
304
|
-
Logs a debug message to the console and potentially to the recorded
|
305
|
-
array, provided the respective log levels are set appropriately.
|
306
|
-
|
307
|
-
The first argument must be a string, and if there are any additional
|
308
|
-
arguments, it is assumed to be a format string. Thus, you can (and
|
309
|
-
should) use it like:
|
310
|
-
|
311
|
-
SC.Logger.debug("%@: My debug message", this); // good
|
312
|
-
|
313
|
-
…and not:
|
314
|
-
|
315
|
-
SC.Logger.debug("%@: My debug message".fmt(this)); // bad
|
316
|
-
|
317
|
-
The former method can be more efficient because if the log levels are set
|
318
|
-
in such a way that the debug() invocation will be ignored, then the
|
319
|
-
String.fmt() call will never actually be performed.
|
320
|
-
|
321
|
-
@param {String} A message or a format string
|
322
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string
|
323
|
-
*/
|
324
|
-
debug: function(message, optionalFormatArgs) {
|
325
|
-
// Implementation note: To avoid having to put the SC.debug() shorthand
|
326
|
-
// variant inside a function wrapper, we'll avoid 'this'.
|
327
|
-
SC.Logger._handleMessage(SC.LOGGER_LEVEL_DEBUG, YES, message, arguments);
|
328
|
-
},
|
329
|
-
|
330
|
-
|
331
|
-
/**
|
332
|
-
Logs a debug message to the console and potentially to the recorded
|
333
|
-
array, provided the respective log levels are set appropriately.
|
334
|
-
|
335
|
-
Unlike simply debug(), this method does not try to apply String.fmt() to
|
336
|
-
the arguments, and instead passes them directly to the reporter (and
|
337
|
-
stringifies them if recording). This can be useful if the browser formats
|
338
|
-
a type in a manner more useful to you than you can achieve with
|
339
|
-
String.fmt().
|
340
|
-
|
341
|
-
@param {String|Array|Function|Object}
|
342
|
-
*/
|
343
|
-
debugWithoutFmt: function() {
|
344
|
-
this._handleMessage(SC.LOGGER_LEVEL_DEBUG, NO, null, arguments);
|
345
|
-
},
|
346
|
-
|
347
|
-
|
348
|
-
/**
|
349
|
-
Begins a new group in the console and/or in the recorded array provided
|
350
|
-
the respective log levels are set to ouput/record 'debug' messages.
|
351
|
-
Every message after this call (at any log level) will be indented for
|
352
|
-
readability until a matching {@link SC.Logger.debugGroupEnd} is invoked,
|
353
|
-
and you can create as many levels as you want.
|
354
|
-
|
355
|
-
Assuming you are using 'debug' messages elsewhere, it is preferable to
|
356
|
-
group them using this method over simply {@link SC.Logger.group} — the log
|
357
|
-
levels could be set such that the 'debug' messages are never seen, and you
|
358
|
-
wouldn’t want an empty/needless group!
|
359
|
-
|
360
|
-
You can optionally provide a title for the group. If there are any
|
361
|
-
additional arguments, the first argument is assumed to be a format string.
|
362
|
-
Thus, you can (and should) use it like:
|
363
|
-
|
364
|
-
SC.Logger.debugGroup("%@: My debug group", this); // good
|
365
|
-
|
366
|
-
…and not:
|
367
|
-
|
368
|
-
SC.Logger.debugGroup("%@: My debug group".fmt(this)); // bad
|
369
|
-
|
370
|
-
The former method can be more efficient because if the log levels are set
|
371
|
-
in such a way that the debug() invocation will be ignored, then the
|
372
|
-
String.fmt() call will never actually be performed.
|
373
|
-
|
374
|
-
@param {String} (optional) A title or format string to display above the group
|
375
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string as the title
|
376
|
-
*/
|
377
|
-
debugGroup: function(message, optionalFormatArgs) {
|
378
|
-
// Implementation note: To avoid having to put the SC.debugGroup()
|
379
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
380
|
-
SC.Logger._handleGroup(SC.LOGGER_LEVEL_DEBUG, message, arguments);
|
381
|
-
},
|
382
|
-
|
383
|
-
|
384
|
-
/**
|
385
|
-
Ends a group initiated with {@link SC.Logger.debugGroup}, provided the
|
386
|
-
respective output/recording log levels are set appropriately.
|
387
|
-
|
388
|
-
@see SC.Logger.debugGroup
|
389
|
-
*/
|
390
|
-
debugGroupEnd: function() {
|
391
|
-
// Implementation note: To avoid having to put the SC.debugGroupEnd()
|
392
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
393
|
-
SC.Logger._handleGroupEnd(SC.LOGGER_LEVEL_DEBUG);
|
394
|
-
},
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
/**
|
399
|
-
Logs an informational message to the console and potentially to the
|
400
|
-
recorded array, provided the respective log levels are set appropriately.
|
401
|
-
|
402
|
-
The first argument must be a string, and if there are any additional
|
403
|
-
arguments, it is assumed to be a format string. Thus, you can (and
|
404
|
-
should) use it like:
|
405
|
-
|
406
|
-
SC.Logger.info("%@: My info message", this); // good
|
407
|
-
|
408
|
-
…and not:
|
409
|
-
|
410
|
-
SC.Logger.info("%@: My info message".fmt(this)); // bad
|
411
|
-
|
412
|
-
The former method can be more efficient because if the log levels are set
|
413
|
-
in such a way that the info() invocation will be ignored, then the
|
414
|
-
String.fmt() call will never actually be performed.
|
415
|
-
|
416
|
-
@param {String} A message or a format string
|
417
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string
|
418
|
-
*/
|
419
|
-
info: function(message, optionalFormatArgs) {
|
420
|
-
// Implementation note: To avoid having to put the SC.info() shorthand
|
421
|
-
// variant inside a function wrapper, we'll avoid 'this'.
|
422
|
-
SC.Logger._handleMessage(SC.LOGGER_LEVEL_INFO, YES, message, arguments);
|
423
|
-
},
|
424
|
-
|
425
|
-
|
426
|
-
/**
|
427
|
-
Logs an information message to the console and potentially to the recorded
|
428
|
-
array, provided the respective log levels are set appropriately.
|
429
|
-
|
430
|
-
Unlike simply info(), this method does not try to apply String.fmt() to
|
431
|
-
the arguments, and instead passes them directly to the reporter (and
|
432
|
-
stringifies them if recording). This can be useful if the browser formats
|
433
|
-
a type in a manner more useful to you than you can achieve with
|
434
|
-
String.fmt().
|
435
|
-
|
436
|
-
@param {String|Array|Function|Object}
|
437
|
-
*/
|
438
|
-
infoWithoutFmt: function() {
|
439
|
-
this._handleMessage(SC.LOGGER_LEVEL_INFO, NO, null, arguments);
|
440
|
-
},
|
441
|
-
|
442
|
-
|
443
|
-
/**
|
444
|
-
Begins a new group in the console and/or in the recorded array provided
|
445
|
-
the respective log levels are set to ouput/record 'info' messages.
|
446
|
-
Every message after this call (at any log level) will be indented for
|
447
|
-
readability until a matching {@link SC.Logger.infoGroupEnd} is invoked,
|
448
|
-
and you can create as many levels as you want.
|
449
|
-
|
450
|
-
Assuming you are using 'info' messages elsewhere, it is preferable to
|
451
|
-
group them using this method over simply {@link SC.Logger.group} — the log
|
452
|
-
levels could be set such that the 'info' messages are never seen, and you
|
453
|
-
wouldn’t want an empty/needless group!
|
454
|
-
|
455
|
-
You can optionally provide a title for the group. If there are any
|
456
|
-
additional arguments, the first argument is assumed to be a format string.
|
457
|
-
Thus, you can (and should) use it like:
|
458
|
-
|
459
|
-
SC.Logger.infoGroup("%@: My info group", this); // good
|
460
|
-
|
461
|
-
…and not:
|
462
|
-
|
463
|
-
SC.Logger.infoGroup("%@: My info group".fmt(this)); // bad
|
464
|
-
|
465
|
-
The former method can be more efficient because if the log levels are set
|
466
|
-
in such a way that the info() invocation will be ignored, then the
|
467
|
-
String.fmt() call will never actually be performed.
|
468
|
-
|
469
|
-
@param {String} (optional) A title or format string to display above the group
|
470
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string as the title
|
471
|
-
*/
|
472
|
-
infoGroup: function(message, optionalFormatArgs) {
|
473
|
-
// Implementation note: To avoid having to put the SC.infoGroup()
|
474
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
475
|
-
SC.Logger._handleGroup(SC.LOGGER_LEVEL_INFO, message, arguments);
|
476
|
-
},
|
477
|
-
|
478
|
-
|
479
|
-
/**
|
480
|
-
Ends a group initiated with {@link SC.Logger.infoGroup}, provided the
|
481
|
-
respective output/recording log levels are set appropriately.
|
482
|
-
|
483
|
-
@see SC.Logger.infoGroup
|
484
|
-
*/
|
485
|
-
infoGroupEnd: function() {
|
486
|
-
// Implementation note: To avoid having to put the SC.infoGroupEnd()
|
487
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
488
|
-
SC.Logger._handleGroupEnd(SC.LOGGER_LEVEL_INFO);
|
489
|
-
},
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
/**
|
494
|
-
Logs a warning message to the console and potentially to the recorded
|
495
|
-
array, provided the respective log levels are set appropriately.
|
496
|
-
|
497
|
-
The first argument must be a string, and if there are any additional
|
498
|
-
arguments, it is assumed to be a format string. Thus, you can (and
|
499
|
-
should) use it like:
|
500
|
-
|
501
|
-
SC.Logger.warn("%@: My warning message", this); // good
|
502
|
-
|
503
|
-
…and not:
|
504
|
-
|
505
|
-
SC.Logger.warn("%@: My warning message".fmt(this)); // bad
|
506
|
-
|
507
|
-
The former method can be more efficient because if the log levels are set
|
508
|
-
in such a way that the warn() invocation will be ignored, then the
|
509
|
-
String.fmt() call will never actually be performed.
|
510
|
-
|
511
|
-
@param {String} A message or a format string
|
512
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string
|
513
|
-
*/
|
514
|
-
warn: function(message, optionalFormatArgs) {
|
515
|
-
// Implementation note: To avoid having to put the SC.warn() shorthand
|
516
|
-
// variant inside a function wrapper, we'll avoid 'this'.
|
517
|
-
SC.Logger._handleMessage(SC.LOGGER_LEVEL_WARN, YES, message, arguments);
|
518
|
-
|
519
|
-
},
|
520
|
-
|
521
|
-
|
522
|
-
/**
|
523
|
-
Logs a warning message to the console and potentially to the recorded
|
524
|
-
array, provided the respective log levels are set appropriately.
|
525
|
-
|
526
|
-
Unlike simply warn(), this method does not try to apply String.fmt() to
|
527
|
-
the arguments, and instead passes them directly to the reporter (and
|
528
|
-
stringifies them if recording). This can be useful if the browser formats
|
529
|
-
a type in a manner more useful to you than you can achieve with
|
530
|
-
String.fmt().
|
531
|
-
|
532
|
-
@param {String|Array|Function|Object}
|
533
|
-
*/
|
534
|
-
warnWithoutFmt: function() {
|
535
|
-
this._handleMessage(SC.LOGGER_LEVEL_WARN, NO, null, arguments);
|
536
|
-
},
|
537
|
-
|
538
|
-
|
539
|
-
/**
|
540
|
-
Begins a new group in the console and/or in the recorded array provided
|
541
|
-
the respective log levels are set to ouput/record 'warn' messages.
|
542
|
-
Every message after this call (at any log level) will be indented for
|
543
|
-
readability until a matching {@link SC.Logger.warnGroupEnd} is invoked,
|
544
|
-
and you can create as many levels as you want.
|
545
|
-
|
546
|
-
Assuming you are using 'warn' messages elsewhere, it is preferable to
|
547
|
-
group them using this method over simply {@link SC.Logger.group} — the log
|
548
|
-
levels could be set such that the 'warn' messages are never seen, and you
|
549
|
-
wouldn’t want an empty/needless group!
|
550
|
-
|
551
|
-
You can optionally provide a title for the group. If there are any
|
552
|
-
additional arguments, the first argument is assumed to be a format string.
|
553
|
-
Thus, you can (and should) use it like:
|
554
|
-
|
555
|
-
SC.Logger.warnGroup("%@: My warn group", this); // good
|
556
|
-
|
557
|
-
…and not:
|
558
|
-
|
559
|
-
SC.Logger.warnGroup("%@: My warn group".fmt(this)); // bad
|
560
|
-
|
561
|
-
The former method can be more efficient because if the log levels are set
|
562
|
-
in such a way that the warn() invocation will be ignored, then the
|
563
|
-
String.fmt() call will never actually be performed.
|
564
|
-
|
565
|
-
@param {String} (optional) A title or format string to display above the group
|
566
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string as the title
|
567
|
-
*/
|
568
|
-
warnGroup: function(message, optionalFormatArgs) {
|
569
|
-
// Implementation note: To avoid having to put the SC.warnGroup()
|
570
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
571
|
-
SC.Logger._handleGroup(SC.LOGGER_LEVEL_WARN, message, arguments);
|
572
|
-
},
|
573
|
-
|
574
|
-
|
575
|
-
/**
|
576
|
-
Ends a group initiated with {@link SC.Logger.warnGroup}, provided the
|
577
|
-
respective output/recording log levels are set appropriately.
|
578
|
-
|
579
|
-
@see SC.Logger.warnGroup
|
580
|
-
*/
|
581
|
-
warnGroupEnd: function() {
|
582
|
-
// Implementation note: To avoid having to put the SC.warnGroupEnd()
|
583
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
584
|
-
SC.Logger._handleGroupEnd(SC.LOGGER_LEVEL_WARN);
|
585
|
-
},
|
586
|
-
|
587
|
-
|
588
|
-
/**
|
589
|
-
Logs an error message to the console and potentially to the recorded
|
590
|
-
array, provided the respective log levels are set appropriately.
|
591
|
-
|
592
|
-
The first argument must be a string, and if there are any additional
|
593
|
-
arguments, it is assumed to be a format string. Thus, you can (and
|
594
|
-
should) use it like:
|
595
|
-
|
596
|
-
SC.Logger.error("%@: My error message", this); // good
|
597
|
-
|
598
|
-
…and not:
|
599
|
-
|
600
|
-
SC.Logger.warn("%@: My error message".fmt(this)); // bad
|
601
|
-
|
602
|
-
The former method can be more efficient because if the log levels are set
|
603
|
-
in such a way that the warn() invocation will be ignored, then the
|
604
|
-
String.fmt() call will never actually be performed.
|
605
|
-
|
606
|
-
@param {String} A message or a format string
|
607
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string
|
608
|
-
*/
|
609
|
-
error: function(message, optionalFormatArgs) {
|
610
|
-
// Implementation note: To avoid having to put the SC.error() shorthand
|
611
|
-
// variant inside a function wrapper, we'll avoid 'this'.
|
612
|
-
SC.Logger._handleMessage(SC.LOGGER_LEVEL_ERROR, YES, message, arguments);
|
613
|
-
},
|
614
|
-
|
615
|
-
|
616
|
-
/**
|
617
|
-
Logs an error message to the console and potentially to the recorded
|
618
|
-
array, provided the respective log levels are set appropriately.
|
619
|
-
|
620
|
-
Unlike simply error(), this method does not try to apply String.fmt() to
|
621
|
-
the arguments, and instead passes them directly to the reporter (and
|
622
|
-
stringifies them if recording). This can be useful if the browser formats
|
623
|
-
a type in a manner more useful to you than you can achieve with
|
624
|
-
String.fmt().
|
625
|
-
|
626
|
-
@param {String|Array|Function|Object}
|
627
|
-
*/
|
628
|
-
errorWithoutFmt: function() {
|
629
|
-
this._handleMessage(SC.LOGGER_LEVEL_ERROR, NO, null, arguments);
|
630
|
-
},
|
631
|
-
|
632
|
-
|
633
|
-
/**
|
634
|
-
Begins a new group in the console and/or in the recorded array provided
|
635
|
-
the respective log levels are set to ouput/record 'error' messages.
|
636
|
-
Every message after this call (at any log level) will be indented for
|
637
|
-
readability until a matching {@link SC.Logger.errorGroupEnd} is invoked,
|
638
|
-
and you can create as many levels as you want.
|
639
|
-
|
640
|
-
Assuming you are using 'error' messages elsewhere, it is preferable to
|
641
|
-
group them using this method over simply {@link SC.Logger.group} — the log
|
642
|
-
levels could be set such that the 'error' messages are never seen, and you
|
643
|
-
wouldn’t want an empty/needless group!
|
644
|
-
|
645
|
-
You can optionally provide a title for the group. If there are any
|
646
|
-
additional arguments, the first argument is assumed to be a format string.
|
647
|
-
Thus, you can (and should) use it like:
|
648
|
-
|
649
|
-
SC.Logger.errorGroup("%@: My error group", this); // good
|
650
|
-
|
651
|
-
…and not:
|
652
|
-
|
653
|
-
SC.Logger.errorGroup("%@: My error group".fmt(this)); // bad
|
654
|
-
|
655
|
-
The former method can be more efficient because if the log levels are set
|
656
|
-
in such a way that the error() invocation will be ignored, then the
|
657
|
-
String.fmt() call will never actually be performed.
|
658
|
-
|
659
|
-
@param {String} (optional) A title or format string to display above the group
|
660
|
-
@param {…} (optional) Other arguments to pass to String.fmt() when using a format string as the title
|
661
|
-
*/
|
662
|
-
errorGroup: function(message, optionalFormatArgs) {
|
663
|
-
// Implementation note: To avoid having to put the SC.errorGroup()
|
664
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
665
|
-
SC.Logger._handleGroup(SC.LOGGER_LEVEL_ERROR, message, arguments);
|
666
|
-
},
|
667
|
-
|
668
|
-
|
669
|
-
/**
|
670
|
-
Ends a group initiated with {@link SC.Logger.errorGroup}, provided the
|
671
|
-
respective output/recording log levels are set appropriately.
|
672
|
-
|
673
|
-
@see SC.Logger.errorGroup
|
674
|
-
*/
|
675
|
-
errorGroupEnd: function() {
|
676
|
-
// Implementation note: To avoid having to put the SC.errorGroupEnd()
|
677
|
-
// shorthand variant inside a function wrapper, we'll avoid 'this'.
|
678
|
-
SC.Logger._handleGroupEnd(SC.LOGGER_LEVEL_ERROR);
|
679
|
-
},
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
/**
|
684
|
-
This method will output all recorded log messages to the reporter. This
|
685
|
-
provides a convenient way to see the messages “on-demand” without having
|
686
|
-
to have them always output. The timestamp of each message will be
|
687
|
-
included as a prefix if you specify 'includeTimestamps' as YES, although
|
688
|
-
in some browsers the native group indenting can make the timestamp
|
689
|
-
formatting less than ideal.
|
690
|
-
|
691
|
-
@param {Boolean} (optional) Whether to include timestamps in the output
|
692
|
-
*/
|
693
|
-
outputRecordedLogMessages: function(includeTimestamps) {
|
694
|
-
// If we have no reporter, there's nothing we can do.
|
695
|
-
if (!this.get('exists')) return;
|
696
|
-
|
697
|
-
var reporter = this.get('reporter'),
|
698
|
-
entries = this.get('recordedLogMessages'),
|
699
|
-
indentation = 0,
|
700
|
-
timestampFormat = SC.LOGGER_RECORDED_LOG_TIMESTAMP_PREFIX,
|
701
|
-
i, iLen, entry, type, timestampStr, message, originalArguments,
|
702
|
-
output, title, newIndentation, disparity, j, jLen;
|
703
|
-
|
704
|
-
if (entries) {
|
705
|
-
for (i = 0, iLen = entries.length; i < iLen; ++i) {
|
706
|
-
entry = entries[i];
|
707
|
-
type = entry.type;
|
708
|
-
|
709
|
-
if (includeTimestamps) {
|
710
|
-
timestampStr = timestampFormat.fmt(entry.timestamp.utcFormat());
|
711
|
-
}
|
712
|
-
|
713
|
-
// Is this a message or a group directive?
|
714
|
-
message = entry.message;
|
715
|
-
if (message) {
|
716
|
-
// It's a message entry. Were the original arguments stored? If
|
717
|
-
// so, we need to use those instead of the message.
|
718
|
-
originalArguments = entry.originalArguments;
|
719
|
-
this._outputMessage(type, timestampStr, indentation, message, originalArguments);
|
720
|
-
}
|
721
|
-
else {
|
722
|
-
// It's a group directive. Update our indentation appropriately.
|
723
|
-
newIndentation = entry.indentation;
|
724
|
-
title = entry.title;
|
725
|
-
disparity = newIndentation - indentation;
|
726
|
-
|
727
|
-
// If the reporter implements group() and the indentation level
|
728
|
-
// changes by more than 1, that implies that some earlier “begin
|
729
|
-
// group” / “end group” directives were pruned from the beginning of
|
730
|
-
// the buffer and we need to insert empty groups to compensate.
|
731
|
-
if (reporter.group) {
|
732
|
-
if (Math.abs(disparity) > 1) {
|
733
|
-
for (j = 0, jLen = (disparity - 1); j < jLen; ++j) {
|
734
|
-
if (disparity > 0) {
|
735
|
-
reporter.group();
|
736
|
-
}
|
737
|
-
else {
|
738
|
-
reporter.groupEnd();
|
739
|
-
}
|
740
|
-
}
|
741
|
-
}
|
742
|
-
|
743
|
-
if (disparity > 0) {
|
744
|
-
output = timestampStr ? timestampStr : "";
|
745
|
-
output += title;
|
746
|
-
reporter.group(output);
|
747
|
-
}
|
748
|
-
else {
|
749
|
-
reporter.groupEnd();
|
750
|
-
}
|
751
|
-
}
|
752
|
-
else {
|
753
|
-
// The reporter doesn't implement group()? Then simulate it using
|
754
|
-
// log(), assuming it implements that.
|
755
|
-
if (disparity > 0) {
|
756
|
-
// We're beginning a group. Output the header at an indentation
|
757
|
-
// that is one smaller.
|
758
|
-
this._outputGroup(type, timestampStr, newIndentation - 1, title);
|
759
|
-
}
|
760
|
-
// else {} (There is no need to simulate a group ending.)
|
761
|
-
}
|
762
|
-
|
763
|
-
// Update our indentation.
|
764
|
-
indentation = newIndentation;
|
765
|
-
}
|
766
|
-
}
|
767
|
-
}
|
768
|
-
},
|
769
|
-
|
770
|
-
|
771
|
-
/**
|
772
|
-
This method will return a string representation of all recorded log
|
773
|
-
messages to the reporter, which can be convenient for saving logs and so
|
774
|
-
forth. The timestamp of each message will be included in the string.
|
775
|
-
|
776
|
-
If there are no recorded log messages, an empty string will be returned
|
777
|
-
(as opposed to null).
|
778
|
-
|
779
|
-
@returns {String}
|
780
|
-
*/
|
781
|
-
stringifyRecordedLogMessages: function() {
|
782
|
-
var ret = "",
|
783
|
-
entries = this.get('recordedLogMessages'),
|
784
|
-
indentation = 0,
|
785
|
-
timestampFormat = SC.LOGGER_RECORDED_LOG_TIMESTAMP_PREFIX,
|
786
|
-
prefixMapping = this._LOG_FALLBACK_PREFIX_MAPPING,
|
787
|
-
groupHeader = SC.LOGGER_LOG_GROUP_HEADER,
|
788
|
-
i, iLen, entry, type, message, originalArguments, prefix, line,
|
789
|
-
title, newIndentation, disparity;
|
790
|
-
|
791
|
-
if (entries) {
|
792
|
-
for (i = 0, iLen = entries.length; i < iLen; ++i) {
|
793
|
-
entry = entries[i];
|
794
|
-
type = entry.type;
|
795
|
-
|
796
|
-
// First determine the prefix.
|
797
|
-
prefix = timestampFormat.fmt(entry.timestamp.utcFormat());
|
798
|
-
prefix += prefixMapping[type] || "";
|
799
|
-
|
800
|
-
// Is this a message or a group directive?
|
801
|
-
message = entry.message;
|
802
|
-
if (message) {
|
803
|
-
// It's a message entry. Were arguments used, or did we format a
|
804
|
-
// message? If arguments were used, we need to stringfy those
|
805
|
-
// instead of using the message.
|
806
|
-
originalArguments = entry.originalArguments;
|
807
|
-
line = prefix + this._indentation(indentation);
|
808
|
-
line += originalArguments ? this._argumentsToString(originalArguments) : message;
|
809
|
-
}
|
810
|
-
else {
|
811
|
-
// It's a group directive, so we need to update our indentation
|
812
|
-
// appropriately. Also, if it's the beginning of the group and it
|
813
|
-
// has a title, then we need to include an appropriate header.
|
814
|
-
newIndentation = entry.indentation;
|
815
|
-
title = entry.title;
|
816
|
-
disparity = newIndentation - indentation;
|
817
|
-
if (disparity > 0) {
|
818
|
-
// We're beginning a group. Output the header at an indentation
|
819
|
-
// that is one smaller.
|
820
|
-
line = prefix + this._indentation(indentation) + groupHeader.fmt(title);
|
821
|
-
}
|
822
|
-
|
823
|
-
// Update our indentation.
|
824
|
-
indentation = newIndentation;
|
825
|
-
}
|
826
|
-
|
827
|
-
// Add the line to our string.
|
828
|
-
ret += line + "\n";
|
829
|
-
}
|
830
|
-
}
|
831
|
-
return ret;
|
832
|
-
},
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
/**
|
837
|
-
Log output to the console, but only if it exists.
|
838
|
-
|
839
|
-
IMPORTANT: Unlike debug(), info(), warn(), and error(), messages sent to
|
840
|
-
this method do not consult the log level and will always be output.
|
841
|
-
Similarly, they will never be recorded.
|
842
|
-
|
843
|
-
In general, you should avoid this method and instead choose the
|
844
|
-
appropriate categorization for your message, choosing the appropriate
|
845
|
-
method.
|
846
|
-
|
847
|
-
@param {String|Array|Function|Object}
|
848
|
-
@returns {Boolean} Whether or not anything was logged
|
849
|
-
*/
|
850
|
-
log: function() {
|
851
|
-
var reporter = this.get('reporter'),
|
852
|
-
ret = NO;
|
853
|
-
|
854
|
-
// Log through the reporter.
|
855
|
-
if (this.get('exists')) {
|
856
|
-
if (typeof reporter.log === "function") {
|
857
|
-
reporter.log.apply(reporter, arguments);
|
858
|
-
ret = YES;
|
859
|
-
}
|
860
|
-
else if (reporter.log) {
|
861
|
-
// IE8 implements console.log but reports the type of console.log as
|
862
|
-
// "object", so we cannot use apply(). Because of this, the best we
|
863
|
-
// can do is call it directly with an array of our arguments.
|
864
|
-
reporter.log(this._argumentsToArray(arguments));
|
865
|
-
ret = YES;
|
866
|
-
}
|
867
|
-
}
|
868
|
-
|
869
|
-
// log through alert
|
870
|
-
if (!ret && this.get('fallBackOnAlert')) {
|
871
|
-
// include support for overriding the alert through the reporter
|
872
|
-
// if it has come this far, it's likely this will fail
|
873
|
-
if (this.get('exists') && (typeof reporter.alert === "function")) {
|
874
|
-
reporter.alert(arguments);
|
875
|
-
ret = YES;
|
876
|
-
}
|
877
|
-
else {
|
878
|
-
alert(arguments);
|
879
|
-
ret = YES;
|
880
|
-
}
|
881
|
-
}
|
882
|
-
return ret;
|
883
|
-
},
|
884
|
-
|
885
|
-
|
886
|
-
/**
|
887
|
-
Every log after this call until {@link SC.Logger.groupEnd} is called
|
888
|
-
will be indented for readability. You can create as many levels
|
889
|
-
as you want.
|
890
|
-
|
891
|
-
IMPORTANT: Unlike debugGroup(), infoGroup(), warnGroup(), and
|
892
|
-
errorGroup(), this method do not consult the log level and will always
|
893
|
-
result in output when the reporter supports it. Similarly, group messages
|
894
|
-
logged via this method will never be recorded.
|
895
|
-
|
896
|
-
@param {String} (optional) An optional title to display above the group
|
897
|
-
*/
|
898
|
-
group: function(title) {
|
899
|
-
var reporter = this.get('reporter');
|
900
|
-
|
901
|
-
if (this.get('exists') && (typeof reporter.group === "function")) {
|
902
|
-
reporter.group(title);
|
903
|
-
}
|
904
|
-
},
|
905
|
-
|
906
|
-
/**
|
907
|
-
Ends a group declared with {@link SC.Logger.group}.
|
908
|
-
|
909
|
-
@see SC.Logger.group
|
910
|
-
*/
|
911
|
-
groupEnd: function() {
|
912
|
-
var reporter = this.get('reporter');
|
913
|
-
|
914
|
-
if (this.get('exists') && (typeof reporter.groupEnd === "function")) {
|
915
|
-
reporter.groupEnd();
|
916
|
-
}
|
917
|
-
},
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
/**
|
922
|
-
Outputs the properties of an object.
|
923
|
-
|
924
|
-
Logs the object using {@link SC.Logger.log} if the reporter.dir function
|
925
|
-
does not exist.
|
926
|
-
|
927
|
-
@param {Object}
|
928
|
-
*/
|
929
|
-
dir: function() {
|
930
|
-
var reporter = this.get('reporter');
|
931
|
-
|
932
|
-
if (this.get('exists') && (typeof reporter.dir === "function")) {
|
933
|
-
// Firebug's console.dir doesn't support multiple objects here
|
934
|
-
// but maybe custom reporters will
|
935
|
-
reporter.dir.apply(reporter, arguments);
|
936
|
-
}
|
937
|
-
else {
|
938
|
-
this.log.apply(this, arguments);
|
939
|
-
}
|
940
|
-
},
|
941
|
-
|
942
|
-
|
943
|
-
/**
|
944
|
-
Prints an XML outline for any HTML or XML object.
|
945
|
-
|
946
|
-
Logs the object using {@link SC.Logger.log} if reporter.dirxml function
|
947
|
-
does not exist.
|
948
|
-
|
949
|
-
@param {Object}
|
950
|
-
*/
|
951
|
-
dirxml: function() {
|
952
|
-
var reporter = this.get('reporter');
|
953
|
-
|
954
|
-
if (this.get('exists') && (typeof reporter.dirxml === "function")) {
|
955
|
-
// Firebug's console.dirxml doesn't support multiple objects here
|
956
|
-
// but maybe custom reporters will
|
957
|
-
reporter.dirxml.apply(reporter, arguments);
|
958
|
-
}
|
959
|
-
else {
|
960
|
-
this.log.apply(this, arguments);
|
961
|
-
}
|
962
|
-
},
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
/**
|
967
|
-
Begins the JavaScript profiler, if it exists. Call {@link SC.Logger.profileEnd}
|
968
|
-
to end the profiling process and receive a report.
|
969
|
-
|
970
|
-
@param {String} (optional) A title to associate with the profile
|
971
|
-
@returns {Boolean} YES if reporter.profile exists, NO otherwise
|
972
|
-
*/
|
973
|
-
profile: function(title) {
|
974
|
-
var reporter = this.get('reporter');
|
975
|
-
|
976
|
-
if (this.get('exists') && (typeof reporter.profile === "function")) {
|
977
|
-
reporter.profile(title);
|
978
|
-
return YES;
|
979
|
-
}
|
980
|
-
return NO;
|
981
|
-
},
|
982
|
-
|
983
|
-
/**
|
984
|
-
Ends the JavaScript profiler, if it exists. If you specify a title, the
|
985
|
-
profile with that title will be ended.
|
986
|
-
|
987
|
-
@param {String} (optional) A title to associate with the profile
|
988
|
-
@returns {Boolean} YES if reporter.profileEnd exists, NO otherwise
|
989
|
-
@see SC.Logger.profile
|
990
|
-
*/
|
991
|
-
profileEnd: function(title) {
|
992
|
-
var reporter = this.get('reporter');
|
993
|
-
|
994
|
-
if (this.get('exists') && (typeof reporter.profileEnd === "function")) {
|
995
|
-
reporter.profileEnd(title);
|
996
|
-
return YES;
|
997
|
-
}
|
998
|
-
return NO;
|
999
|
-
},
|
1000
|
-
|
1001
|
-
|
1002
|
-
/**
|
1003
|
-
Measure the time between when this function is called and
|
1004
|
-
{@link SC.Logger.timeEnd} is called.
|
1005
|
-
|
1006
|
-
@param {String} The name of the profile to begin
|
1007
|
-
@returns {Boolean} YES if reporter.time exists, NO otherwise
|
1008
|
-
@see SC.Logger.timeEnd
|
1009
|
-
*/
|
1010
|
-
time: function(name) {
|
1011
|
-
var reporter = this.get('reporter');
|
1012
|
-
|
1013
|
-
if (this.get('exists') && (typeof reporter.time === "function")) {
|
1014
|
-
reporter.time(name);
|
1015
|
-
return YES;
|
1016
|
-
}
|
1017
|
-
return NO;
|
1018
|
-
},
|
1019
|
-
|
1020
|
-
/**
|
1021
|
-
Ends the profile specified.
|
1022
|
-
|
1023
|
-
@param {String} The name of the profile to end
|
1024
|
-
@returns {Boolean} YES if reporter.timeEnd exists, NO otherwise
|
1025
|
-
@see SC.Logger.time
|
1026
|
-
*/
|
1027
|
-
timeEnd: function(name) {
|
1028
|
-
var reporter = this.get('reporter');
|
1029
|
-
|
1030
|
-
if (this.get('exists') && (typeof reporter.timeEnd === "function")) {
|
1031
|
-
reporter.timeEnd(name);
|
1032
|
-
return YES;
|
1033
|
-
}
|
1034
|
-
return NO;
|
1035
|
-
},
|
1036
|
-
|
1037
|
-
|
1038
|
-
/**
|
1039
|
-
Prints a stack-trace.
|
1040
|
-
|
1041
|
-
@returns {Boolean} YES if reporter.trace exists, NO otherwise
|
1042
|
-
*/
|
1043
|
-
trace: function() {
|
1044
|
-
var reporter = this.get('reporter');
|
1045
|
-
|
1046
|
-
if (this.get('exists') && (typeof reporter.trace === "function")) {
|
1047
|
-
reporter.trace();
|
1048
|
-
return YES;
|
1049
|
-
}
|
1050
|
-
return NO;
|
1051
|
-
},
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
// ..........................................................
|
1057
|
-
// INTERNAL SUPPORT
|
1058
|
-
//
|
1059
|
-
|
1060
|
-
init: function() {
|
1061
|
-
sc_super();
|
1062
|
-
|
1063
|
-
// Set a reasonable default value if none has been set.
|
1064
|
-
if (!this.get('logOutputLevel')) {
|
1065
|
-
if (SC.buildMode === "debug") {
|
1066
|
-
this.set('logOutputLevel', SC.LOGGER_LEVEL_DEBUG);
|
1067
|
-
}
|
1068
|
-
else {
|
1069
|
-
this.set('logOutputLevel', SC.LOGGER_LEVEL_INFO);
|
1070
|
-
}
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
this.debugEnabledDidChange();
|
1074
|
-
},
|
1075
|
-
|
1076
|
-
|
1077
|
-
/** @private
|
1078
|
-
For backwards compatibility with the older 'debugEnabled' property, set
|
1079
|
-
our log output level to SC.LOGGER_LEVEL_DEBUG if 'debugEnabled' is set to
|
1080
|
-
YES.
|
1081
|
-
*/
|
1082
|
-
debugEnabledDidChange: function() {
|
1083
|
-
if (this.get('debugEnabled')) {
|
1084
|
-
this.set('logOutputLevel', SC.LOGGER_LEVEL_DEBUG);
|
1085
|
-
}
|
1086
|
-
}.observes('debugEnabled'),
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
/** @private
|
1091
|
-
Outputs and/or records the specified message of the specified type if the
|
1092
|
-
respective current log levels allow for it. Assuming
|
1093
|
-
'automaticallyFormat' is specified, then String.fmt() will be called
|
1094
|
-
automatically on the message, but only if at least one of the log levels
|
1095
|
-
is such that the result will be used.
|
1096
|
-
|
1097
|
-
@param {String} type Expected to be SC.LOGGER_LEVEL_DEBUG, etc.
|
1098
|
-
@param {Boolean} automaticallyFormat Whether or not to treat 'message' as a format string if there are additional arguments
|
1099
|
-
@param {String} message Expected to a string format (for String.fmt()) if there are other arguments
|
1100
|
-
@param {String} (optional) originalArguments All arguments passed into debug(), etc. (which includes 'message'; for efficiency, we don’t copy it)
|
1101
|
-
*/
|
1102
|
-
_handleMessage: function(type, automaticallyFormat, message, originalArguments) {
|
1103
|
-
// Are we configured to show this type?
|
1104
|
-
var shouldOutput = this._shouldOutputType(type),
|
1105
|
-
shouldRecord = this._shouldRecordType(type),
|
1106
|
-
hasOtherArguments, i, len, args, output, entry;
|
1107
|
-
|
1108
|
-
// If we're neither going to output nor record the message, then stop now.
|
1109
|
-
if (!(shouldOutput || shouldRecord)) return;
|
1110
|
-
|
1111
|
-
// Do we have arguments other than 'message'? (Remember that
|
1112
|
-
// 'originalArguments' contains the message here, too, hence the > 1.)
|
1113
|
-
hasOtherArguments = (originalArguments && originalArguments.length > 1);
|
1114
|
-
|
1115
|
-
// If we're automatically formatting and there is no message (or it is
|
1116
|
-
// not a string), then don't automatically format after all.
|
1117
|
-
if (automaticallyFormat && (SC.none(message) || (typeof message !== "string"))) {
|
1118
|
-
automaticallyFormat = NO;
|
1119
|
-
}
|
1120
|
-
|
1121
|
-
// If we should automatically format, and the client specified other
|
1122
|
-
// arguments in addition to the message, then we'll call .fmt() assuming
|
1123
|
-
// that the message is a format string.
|
1124
|
-
if (automaticallyFormat) {
|
1125
|
-
if (hasOtherArguments) {
|
1126
|
-
args = [];
|
1127
|
-
for (i = 1, len = originalArguments.length; i < len; ++i) {
|
1128
|
-
args.push(originalArguments[i]);
|
1129
|
-
}
|
1130
|
-
message = message.fmt.apply(message, args);
|
1131
|
-
}
|
1132
|
-
}
|
1133
|
-
|
1134
|
-
if (shouldOutput) {
|
1135
|
-
// We only want to pass the original arguments to _outputMessage() if we
|
1136
|
-
// didn't format the message ourselves.
|
1137
|
-
args = automaticallyFormat ? null : originalArguments;
|
1138
|
-
this._outputMessage(type, null, this._outputIndentationLevel, message, args);
|
1139
|
-
}
|
1140
|
-
|
1141
|
-
// If we're recording the log, append the message now.
|
1142
|
-
if (shouldRecord) {
|
1143
|
-
entry = {
|
1144
|
-
type: type,
|
1145
|
-
message: message ? message : YES,
|
1146
|
-
timestamp: new Date()
|
1147
|
-
};
|
1148
|
-
|
1149
|
-
// If we didn't automatically format, and we have other arguments, then
|
1150
|
-
// be sure to record them, too.
|
1151
|
-
if (!automaticallyFormat && hasOtherArguments) {
|
1152
|
-
entry.originalArguments = originalArguments;
|
1153
|
-
}
|
1154
|
-
|
1155
|
-
this._addRecordedMessageEntry(entry);
|
1156
|
-
}
|
1157
|
-
},
|
1158
|
-
|
1159
|
-
|
1160
|
-
/** @private
|
1161
|
-
Outputs and/or records a group with the (optional) specified title
|
1162
|
-
assuming the respective current log levels allow for it. This will output
|
1163
|
-
the title (if there is one) and indent all further messages (of any type)
|
1164
|
-
until _handleGroupEnd() is invoked.
|
1165
|
-
|
1166
|
-
If additional arguments beyond a title are passed in, then String.fmt()
|
1167
|
-
will be called automatically on the title, but only if at least one of the
|
1168
|
-
log levels is such that the result will be used.
|
1169
|
-
|
1170
|
-
@param {String} type Expected to be SC.LOGGER_LEVEL_DEBUG, etc.
|
1171
|
-
@param {String} (optional) title Expected to a string format (for String.fmt()) if there are other arguments
|
1172
|
-
@param {String} (optional) originalArguments All arguments passed into debug(), etc. (which includes 'title'; for efficiency, we don’t copy it)
|
1173
|
-
*/
|
1174
|
-
_handleGroup: function(type, title, originalArguments) {
|
1175
|
-
// Are we configured to show this type?
|
1176
|
-
var shouldOutput = this._shouldOutputType(type),
|
1177
|
-
shouldRecord = this._shouldRecordType(type),
|
1178
|
-
hasOtherArguments, i, len, args, arg, reporter, func, header, output,
|
1179
|
-
indentation, entry;
|
1180
|
-
|
1181
|
-
// If we're neither going to output nor record the group, then stop now.
|
1182
|
-
if (!(shouldOutput || shouldRecord)) return;
|
1183
|
-
|
1184
|
-
// Do we have arguments other than 'title'? (Remember that
|
1185
|
-
// 'originalArguments' contains the title here, too, hence the > 1.)
|
1186
|
-
hasOtherArguments = (originalArguments && originalArguments.length > 1);
|
1187
|
-
|
1188
|
-
// If the client specified a title as well other arguments, then we'll
|
1189
|
-
// call .fmt() assuming that the title is a format string.
|
1190
|
-
if (title && hasOtherArguments) {
|
1191
|
-
args = [];
|
1192
|
-
for (i = 1, len = originalArguments.length; i < len; ++i) {
|
1193
|
-
args.push(originalArguments[i]);
|
1194
|
-
}
|
1195
|
-
title = title.fmt.apply(title, args);
|
1196
|
-
}
|
1197
|
-
|
1198
|
-
if (shouldOutput) {
|
1199
|
-
this._outputGroup(type, null, this._outputIndentationLevel, title);
|
1200
|
-
|
1201
|
-
// Increase our indentation level to accommodate the group.
|
1202
|
-
this._outputIndentationLevel++;
|
1203
|
-
}
|
1204
|
-
|
1205
|
-
// If we're recording the group, append the entry now.
|
1206
|
-
if (shouldRecord) {
|
1207
|
-
// Increase our indentation level to accommodate the group.
|
1208
|
-
indentation = ++this._recordingIndentationLevel;
|
1209
|
-
|
1210
|
-
entry = {
|
1211
|
-
type: type,
|
1212
|
-
indentation: indentation,
|
1213
|
-
beginGroup: YES,
|
1214
|
-
title: title,
|
1215
|
-
timestamp: new Date()
|
1216
|
-
};
|
1217
|
-
|
1218
|
-
this._addRecordedMessageEntry(entry);
|
1219
|
-
}
|
1220
|
-
},
|
1221
|
-
|
1222
|
-
|
1223
|
-
/** @private
|
1224
|
-
Outputs and/or records a “group end” assuming the respective current log
|
1225
|
-
levels allow for it. This will remove one level of indentation from all
|
1226
|
-
further messages (of any type).
|
1227
|
-
|
1228
|
-
@param {String} type Expected to be SC.LOGGER_LEVEL_DEBUG, etc.
|
1229
|
-
*/
|
1230
|
-
_handleGroupEnd: function(type) {
|
1231
|
-
// Are we configured to show this type?
|
1232
|
-
var shouldOutput = this._shouldOutputType(type),
|
1233
|
-
shouldRecord = this._shouldRecordType(type),
|
1234
|
-
reporter, func, indentation, entry;
|
1235
|
-
|
1236
|
-
// If we're neither going to output nor record the "group end", then stop
|
1237
|
-
// now.
|
1238
|
-
if (!(shouldOutput || shouldRecord)) return;
|
1239
|
-
|
1240
|
-
if (shouldOutput) {
|
1241
|
-
// Decrease our indentation level to accommodate the group.
|
1242
|
-
this._outputIndentationLevel--;
|
1243
|
-
|
1244
|
-
if (this.get('exists')) {
|
1245
|
-
// Do we have reporter.groupEnd defined as a function? If not, we
|
1246
|
-
// simply won't output anything.
|
1247
|
-
reporter = this.get('reporter');
|
1248
|
-
func = reporter.groupEnd;
|
1249
|
-
if (func) {
|
1250
|
-
func.call(reporter);
|
1251
|
-
}
|
1252
|
-
}
|
1253
|
-
}
|
1254
|
-
|
1255
|
-
// If we're recording the “group end”, append the entry now.
|
1256
|
-
if (shouldRecord) {
|
1257
|
-
// Decrease our indentation level to accommodate the group.
|
1258
|
-
indentation = --this._recordingIndentationLevel;
|
1259
|
-
|
1260
|
-
entry = {
|
1261
|
-
type: type,
|
1262
|
-
indentation: indentation,
|
1263
|
-
timestamp: new Date()
|
1264
|
-
};
|
1265
|
-
|
1266
|
-
this._addRecordedMessageEntry(entry);
|
1267
|
-
}
|
1268
|
-
},
|
1269
|
-
|
1270
|
-
|
1271
|
-
/** @private
|
1272
|
-
Returns whether a message of the specified type ('debug', etc.) should be
|
1273
|
-
output to the reporter based on the current value of 'logOutputLevel'.
|
1274
|
-
|
1275
|
-
@param {Constant} type
|
1276
|
-
@returns {Boolean}
|
1277
|
-
*/
|
1278
|
-
_shouldOutputType: function(type) {
|
1279
|
-
var logLevelMapping = this._LOG_LEVEL_MAPPING,
|
1280
|
-
level = logLevelMapping[type] || 0,
|
1281
|
-
currentLevel = logLevelMapping[this.get('logOutputLevel')] || 0;
|
1282
|
-
|
1283
|
-
return (level <= currentLevel);
|
1284
|
-
},
|
1285
|
-
|
1286
|
-
|
1287
|
-
/** @private
|
1288
|
-
Returns whether a message of the specified type ('debug', etc.) should be
|
1289
|
-
recorded based on the current value of 'logRecordingLevel'.
|
1290
|
-
|
1291
|
-
@param {Constant} type
|
1292
|
-
@returns {Boolean}
|
1293
|
-
*/
|
1294
|
-
_shouldRecordType: function(type) {
|
1295
|
-
// This is the same code as in _shouldOutputType(), but inlined to
|
1296
|
-
// avoid yet another function call.
|
1297
|
-
var logLevelMapping = this._LOG_LEVEL_MAPPING,
|
1298
|
-
level = logLevelMapping[type] || 0,
|
1299
|
-
currentLevel = logLevelMapping[this.get('logRecordingLevel')] || 0;
|
1300
|
-
|
1301
|
-
return (level <= currentLevel);
|
1302
|
-
},
|
1303
|
-
|
1304
|
-
|
1305
|
-
/** @private
|
1306
|
-
Outputs the specified message to the current reporter. If the reporter
|
1307
|
-
does not handle the specified type of message, it will fall back to using
|
1308
|
-
log() if possible.
|
1309
|
-
|
1310
|
-
@param {Constant} type
|
1311
|
-
@param {String} timestampStr An optional timestamp prefix for the line, or null for none
|
1312
|
-
@param {Number} indentation The current indentation level
|
1313
|
-
@param {String} message
|
1314
|
-
@param {Arguments} (optional) originalArguments If specified, the assumption is that the message was not automatically formatted
|
1315
|
-
*/
|
1316
|
-
_outputMessage: function(type, timestampStr, indentation, message, originalArguments) {
|
1317
|
-
if (!this.get('exists')) return;
|
1318
|
-
|
1319
|
-
// Do we have reporter[type] defined as a function? If not, we'll fall
|
1320
|
-
// back to reporter.log if that exists.
|
1321
|
-
var reporter = this.get('reporter'),
|
1322
|
-
output, shouldIndent, func, prefix, args, arg;
|
1323
|
-
|
1324
|
-
// If the reporter doesn't support group(), then we need to manually
|
1325
|
-
// include indentation for the group. (It it does, we'll assume that
|
1326
|
-
// we're currently at the correct group level.)
|
1327
|
-
shouldIndent = !reporter.group;
|
1328
|
-
|
1329
|
-
// Note: Normally we wouldn't do the hash dereference twice, but
|
1330
|
-
// storing the result like this:
|
1331
|
-
//
|
1332
|
-
// var nativeFunction = console[type];
|
1333
|
-
// nativeFunction(output);
|
1334
|
-
//
|
1335
|
-
// …doesn't work in Safari 4, and:
|
1336
|
-
//
|
1337
|
-
// nativeFunction.call(console, output);
|
1338
|
-
//
|
1339
|
-
// …doesn't work in IE8 because the console.* methods are
|
1340
|
-
// reported as being objects.
|
1341
|
-
func = reporter[type];
|
1342
|
-
if (func) {
|
1343
|
-
// If we formatted, just include the message. Otherwise, include all
|
1344
|
-
// the original arguments.
|
1345
|
-
if (!originalArguments) {
|
1346
|
-
output = "";
|
1347
|
-
if (timestampStr) output = timestampStr;
|
1348
|
-
if (shouldIndent) output =+ this._indentation(indentation);
|
1349
|
-
output += message;
|
1350
|
-
reporter[type](output);
|
1351
|
-
}
|
1352
|
-
else {
|
1353
|
-
// We have arguments? Then pass them along to the reporter function
|
1354
|
-
// so that it can format them appropriately. We'll use the timestamp
|
1355
|
-
// string (if there is one) and the indentation as the first
|
1356
|
-
// arguments.
|
1357
|
-
args = this._argumentsToArray(originalArguments);
|
1358
|
-
prefix = "";
|
1359
|
-
if (timestampStr) prefix = timestampStr;
|
1360
|
-
if (shouldIndent) prefix += this._indentation(indentation);
|
1361
|
-
if (prefix) args.splice(0, 0, prefix);
|
1362
|
-
|
1363
|
-
if (func.apply) {
|
1364
|
-
func.apply(reporter, args);
|
1365
|
-
}
|
1366
|
-
else {
|
1367
|
-
// In IE8, passing the arguments as an array isn't ideal, but it's
|
1368
|
-
// pretty much all we can do because we can't call apply().
|
1369
|
-
reporter[type](args);
|
1370
|
-
}
|
1371
|
-
}
|
1372
|
-
}
|
1373
|
-
else {
|
1374
|
-
// The reporter doesn't support the requested function? If it at least
|
1375
|
-
// support log(), fall back to that.
|
1376
|
-
if (reporter.log) {
|
1377
|
-
prefix = "";
|
1378
|
-
if (timestampStr) prefix = timestampStr;
|
1379
|
-
prefix += this._LOG_FALLBACK_PREFIX_MAPPING[type] || "";
|
1380
|
-
if (shouldIndent) prefix += this._indentation(indentation);
|
1381
|
-
|
1382
|
-
// If we formatted, just include the message. Otherwise, include
|
1383
|
-
// all the original arguments.
|
1384
|
-
if (!originalArguments) {
|
1385
|
-
reporter.log(prefix + message);
|
1386
|
-
}
|
1387
|
-
else {
|
1388
|
-
args = this._argumentsToArray(originalArguments);
|
1389
|
-
if (prefix) args.splice(0, 0, prefix);
|
1390
|
-
reporter.log(args);
|
1391
|
-
}
|
1392
|
-
}
|
1393
|
-
}
|
1394
|
-
},
|
1395
|
-
|
1396
|
-
|
1397
|
-
/** @private
|
1398
|
-
Outputs the specified “begin group” directive to the current reporter. If
|
1399
|
-
the reporter does not handle the group() method, it will fall back to
|
1400
|
-
simulating using log() if possible.
|
1401
|
-
|
1402
|
-
@param {Constant} type
|
1403
|
-
@param {String} timestampStr An optional timestamp prefix for the line, or null for none
|
1404
|
-
@param {Number} indentation The current indentation level, not including what the group will set it to
|
1405
|
-
@param {String} (optional) title
|
1406
|
-
*/
|
1407
|
-
_outputGroup: function(type, timestampStr, indentation, title) {
|
1408
|
-
if (!this.get('exists')) return;
|
1409
|
-
|
1410
|
-
// Do we have reporter.group defined as a function? If not, we'll fall
|
1411
|
-
// back to reporter.log if that exists. (Thankfully, we can avoid the IE8
|
1412
|
-
// special-casing we have in _outputMessage() because IE8 doesn't support
|
1413
|
-
// console.group(), anyway.)
|
1414
|
-
var reporter = this.get('reporter'),
|
1415
|
-
func = reporter.group,
|
1416
|
-
output;
|
1417
|
-
|
1418
|
-
if (func) {
|
1419
|
-
output = timestampStr ? timestampStr : "";
|
1420
|
-
output += title;
|
1421
|
-
func.call(reporter, output);
|
1422
|
-
}
|
1423
|
-
else if (reporter.log) {
|
1424
|
-
// The reporter doesn't support group()? Then simulate with log().
|
1425
|
-
// (We'll live with the duplicitous dereference rather than using
|
1426
|
-
// apply() to work around the IE8 issue described in _outputMessage().)
|
1427
|
-
output = "";
|
1428
|
-
if (timestampStr) output = timestampStr;
|
1429
|
-
output += this._LOG_FALLBACK_PREFIX_MAPPING[type] || "";
|
1430
|
-
output += this._indentation(indentation);
|
1431
|
-
output += SC.LOGGER_LOG_GROUP_HEADER.fmt(title);
|
1432
|
-
reporter.log(output);
|
1433
|
-
}
|
1434
|
-
},
|
1435
|
-
|
1436
|
-
|
1437
|
-
/** @private
|
1438
|
-
This method will add the specified entry to the recorded log messages
|
1439
|
-
array and also prune array as necessary according to the current values of
|
1440
|
-
'recordedLogMessagesMaximumLength' and
|
1441
|
-
'recordedLogMessagesPruningMinimumLength'.
|
1442
|
-
*/
|
1443
|
-
_addRecordedMessageEntry: function(entry) {
|
1444
|
-
var recordedMessages = this.get('recordedLogMessages'),
|
1445
|
-
len;
|
1446
|
-
|
1447
|
-
// Lazily create the array.
|
1448
|
-
if (!recordedMessages) {
|
1449
|
-
recordedMessages = [];
|
1450
|
-
this.set('recordedLogMessages', recordedMessages);
|
1451
|
-
}
|
1452
|
-
|
1453
|
-
recordedMessages.push(entry);
|
1454
|
-
|
1455
|
-
// Have we exceeded the maximum size? If so, do some pruning.
|
1456
|
-
len = recordedMessages.length;
|
1457
|
-
if (len > this.get('recordedLogMessagesMaximumLength')) {
|
1458
|
-
recordedMessages.splice(0, (len - this.get('recordedLogMessagesPruningMinimumLength')));
|
1459
|
-
}
|
1460
|
-
|
1461
|
-
// Notify that the array content changed.
|
1462
|
-
recordedMessages.enumerableContentDidChange();
|
1463
|
-
},
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
/** @private
|
1468
|
-
The arguments function property doesn't support Array#unshift. This helper
|
1469
|
-
copies the elements of arguments to a blank array.
|
1470
|
-
|
1471
|
-
@param {Array} arguments The arguments property of a function
|
1472
|
-
@returns {Array} An array containing the elements of arguments parameter
|
1473
|
-
*/
|
1474
|
-
_argumentsToArray: function(args) {
|
1475
|
-
var ret = [],
|
1476
|
-
i, len;
|
1477
|
-
|
1478
|
-
if (args) {
|
1479
|
-
for (i = 0, len = args.length; i < len; ++i) {
|
1480
|
-
ret[i] = args[i];
|
1481
|
-
}
|
1482
|
-
}
|
1483
|
-
return ret;
|
1484
|
-
},
|
1485
|
-
|
1486
|
-
|
1487
|
-
/** @private
|
1488
|
-
Formats the arguments array of a function by creating a string with
|
1489
|
-
SC.LOGGER_LOG_DELIMITER between the elements.
|
1490
|
-
*/
|
1491
|
-
_argumentsToString: function() {
|
1492
|
-
var ret = "",
|
1493
|
-
delimeter = SC.LOGGER_LOG_DELIMITER,
|
1494
|
-
i, len;
|
1495
|
-
|
1496
|
-
for (i = 0, len = (arguments.length - 1); i < len; ++i) {
|
1497
|
-
ret += arguments[i] + delimeter;
|
1498
|
-
}
|
1499
|
-
ret += arguments[len];
|
1500
|
-
return ret;
|
1501
|
-
},
|
1502
|
-
|
1503
|
-
|
1504
|
-
/** @private
|
1505
|
-
Returns a string containing the appropriate indentation for the specified
|
1506
|
-
indentation level.
|
1507
|
-
|
1508
|
-
@param {Number} The indentation level
|
1509
|
-
@returns {String}
|
1510
|
-
*/
|
1511
|
-
_indentation: function(level) {
|
1512
|
-
if (!level || level < 0) {
|
1513
|
-
level = 0;
|
1514
|
-
}
|
1515
|
-
|
1516
|
-
var ret = "",
|
1517
|
-
indent = SC.LOGGER_LOG_GROUP_INDENTATION,
|
1518
|
-
i;
|
1519
|
-
|
1520
|
-
for (i = 0; i < level; ++i) {
|
1521
|
-
ret += indent;
|
1522
|
-
}
|
1523
|
-
return ret;
|
1524
|
-
},
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
/** @private
|
1529
|
-
The current “for output” indentation level. The reporter (browser
|
1530
|
-
console) is expected to keep track of this for us for output, but we need
|
1531
|
-
to do our own bookkeeping if the browser doesn’t support console.group.
|
1532
|
-
This is incremented by _debugGroup() and friends, and decremented by
|
1533
|
-
_debugGroupEnd() and friends.
|
1534
|
-
*/
|
1535
|
-
_outputIndentationLevel: 0,
|
1536
|
-
|
1537
|
-
|
1538
|
-
/** @private
|
1539
|
-
The current “for recording” indentation level. This can be different than
|
1540
|
-
the “for output” indentation level if the respective log levels are set
|
1541
|
-
differently. This is incremented by _debugGroup() and friends, and
|
1542
|
-
decremented by _debugGroupEnd() and friends.
|
1543
|
-
*/
|
1544
|
-
_recordingIndentationLevel: 0,
|
1545
|
-
|
1546
|
-
|
1547
|
-
/** @private
|
1548
|
-
A mapping of the log level constants (SC.LOGGER_LEVEL_DEBUG, etc.) to
|
1549
|
-
their priority. This makes it easy to determine which levels are “higher”
|
1550
|
-
than the current level.
|
1551
|
-
|
1552
|
-
Implementation note: We’re hardcoding the values of the constants defined
|
1553
|
-
earlier here for a tiny bit of efficiency (we can create the hash all at
|
1554
|
-
once rather than having to push in keys).
|
1555
|
-
*/
|
1556
|
-
_LOG_LEVEL_MAPPING: { debug: 4, info: 3, warn: 2, error: 1, none: 0 },
|
1557
|
-
|
1558
|
-
|
1559
|
-
/** @private
|
1560
|
-
If the current reporter does not support a particular type of log message
|
1561
|
-
(for example, some older browsers’ consoles support console.log but not
|
1562
|
-
console.debug), we’ll use the specified prefixes.
|
1563
|
-
|
1564
|
-
Implementation note: We’re hardcoding the values of the constants defined
|
1565
|
-
earlier here for a tiny bit of efficiency (we can create the hash all at
|
1566
|
-
once rather than having to push in keys).
|
1567
|
-
*/
|
1568
|
-
_LOG_FALLBACK_PREFIX_MAPPING: {
|
1569
|
-
debug: SC.LOGGER_LOG_DEBUG,
|
1570
|
-
info: SC.LOGGER_LOG_INFO,
|
1571
|
-
warn: SC.LOGGER_LOG_WARN,
|
1572
|
-
error: SC.LOGGER_LOG_ERROR
|
1573
|
-
}
|
1574
|
-
|
1575
|
-
});
|
1576
|
-
|
1577
|
-
|
1578
|
-
// Add convenient shorthands methods to SC.
|
1579
|
-
SC.debug = SC.Logger.debug;
|
1580
|
-
SC.info = SC.Logger.info;
|
1581
|
-
SC.warn = SC.Logger.warn;
|
1582
|
-
SC.error = SC.Logger.error;
|