sproutcore 1.6.0.beta.3-x86-mingw32 → 1.6.0.rc.1-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. data/CHANGELOG +33 -0
  2. data/Rakefile +213 -10
  3. data/VERSION.yml +1 -1
  4. data/lib/Buildfile +5 -1
  5. data/lib/buildtasks/manifest.rake +7 -1
  6. data/lib/frameworks/sproutcore/Buildfile +3 -2
  7. data/lib/frameworks/sproutcore/CHANGELOG.md +154 -1
  8. data/lib/frameworks/sproutcore/README.md +1 -1
  9. data/lib/frameworks/sproutcore/apps/welcome/english.lproj/main_page.css +9 -0
  10. data/lib/frameworks/sproutcore/frameworks/ajax/system/request.js +254 -207
  11. data/lib/frameworks/sproutcore/frameworks/ajax/system/response.js +243 -172
  12. data/lib/frameworks/sproutcore/frameworks/ajax/tests/system/request.js +29 -0
  13. data/lib/frameworks/sproutcore/frameworks/core_foundation/controllers/array.js +5 -0
  14. data/lib/frameworks/sproutcore/frameworks/core_foundation/controls/button.js +6 -2
  15. data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/bind.js +36 -14
  16. data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/collection.js +3 -3
  17. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/pane.js +14 -15
  18. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/template.js +14 -14
  19. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/application.js +2 -7
  20. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/event.js +3 -3
  21. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/platform.js +2 -2
  22. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/responder.js +1 -1
  23. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/root_responder.js +20 -12
  24. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/string.js +61 -0
  25. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/utils.js +20 -6
  26. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/array/array_case.js +42 -0
  27. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controls/button.js +39 -57
  28. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_style.js +5 -3
  29. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/sparse_array.js +32 -0
  30. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/collection.js +25 -0
  31. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/handlebars.js +28 -17
  32. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/keyboard.js +396 -0
  33. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/view.js +1 -1
  34. data/lib/frameworks/sproutcore/frameworks/core_foundation/{system → views}/bindable_span.js +2 -1
  35. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/template_collection.js +78 -51
  36. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view.js +4 -3
  37. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/enabled.js +2 -1
  38. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/keyboard.js +233 -67
  39. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/manipulation.js +3 -1
  40. data/lib/frameworks/sproutcore/frameworks/core_tools/core.js +8 -2
  41. data/lib/frameworks/sproutcore/frameworks/core_tools/data_source.js +1 -1
  42. data/lib/frameworks/sproutcore/frameworks/core_tools/models/target.js +1 -1
  43. data/lib/frameworks/sproutcore/frameworks/datastore/data_sources/data_source.js +15 -8
  44. data/lib/frameworks/sproutcore/frameworks/datastore/models/child_record.js +2 -2
  45. data/lib/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +1 -0
  46. data/lib/frameworks/sproutcore/frameworks/datastore/system/child_array.js +3 -2
  47. data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +66 -55
  48. data/lib/frameworks/sproutcore/frameworks/datastore/tests/data_sources/data_source.js +190 -0
  49. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array.js +21 -0
  50. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record_attribute.js +15 -1
  51. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/flush.js +0 -1
  52. data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/core/system/datetime.js +212 -182
  53. data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/localized/system/datetime.js +14 -16
  54. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +1 -1
  55. data/lib/frameworks/sproutcore/frameworks/desktop/panes/menu.js +23 -11
  56. data/lib/frameworks/sproutcore/frameworks/desktop/resources/alert.css +49 -0
  57. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/debug/a_sample_image.jpg +0 -0
  58. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/debug/apple-logo1.jpeg +0 -0
  59. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/debug/iframe.html +0 -0
  60. data/lib/frameworks/sproutcore/frameworks/desktop/resources/disclosure.css +20 -0
  61. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/drag.css +1 -1
  62. data/lib/frameworks/sproutcore/frameworks/desktop/resources/icons.css +214 -0
  63. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/cap.png +0 -0
  64. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/downbutton.png +0 -0
  65. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-16.png +0 -0
  66. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-24.png +0 -0
  67. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-48.png +0 -0
  68. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-bookmark-16.png +0 -0
  69. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-bookmark-24.png +0 -0
  70. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-cancel-24.png +0 -0
  71. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-document-16.png +0 -0
  72. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-document-24.png +0 -0
  73. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-down-24.png +0 -0
  74. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-error-48.png +0 -0
  75. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-favorite-16.png +0 -0
  76. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-favorite-24.png +0 -0
  77. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-folder-16.png +0 -0
  78. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-folder-24.png +0 -0
  79. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-group-16.png +0 -0
  80. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-group-24.png +0 -0
  81. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-help-16.png +0 -0
  82. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-help-24.png +0 -0
  83. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-16.png +0 -0
  84. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-24.png +0 -0
  85. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-48.png +0 -0
  86. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-left-24.png +0 -0
  87. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-options-16.png +0 -0
  88. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-options-24.png +0 -0
  89. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-redo-24.png +0 -0
  90. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-right-24.png +0 -0
  91. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-tools-24.png +0 -0
  92. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-trash-16.png +0 -0
  93. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-trash-24.png +0 -0
  94. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-undo-24.png +0 -0
  95. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-up-24.png +0 -0
  96. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-user-16.png +0 -0
  97. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-user-24.png +0 -0
  98. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/thumb-bottom.png +0 -0
  99. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/thumb-center.png +0 -0
  100. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/thumb-top.png +0 -0
  101. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/track.png +0 -0
  102. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/upbutton.png +0 -0
  103. data/lib/frameworks/sproutcore/frameworks/desktop/resources/list_item.css +145 -0
  104. data/lib/frameworks/sproutcore/frameworks/desktop/resources/menu.css +10 -0
  105. data/lib/frameworks/sproutcore/frameworks/desktop/resources/menu_item_view.css +88 -0
  106. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/modal.css +3 -4
  107. data/lib/frameworks/sproutcore/frameworks/desktop/resources/panel.css +91 -0
  108. data/lib/frameworks/sproutcore/frameworks/desktop/resources/picker.css +37 -0
  109. data/lib/frameworks/sproutcore/frameworks/desktop/resources/progress.css +29 -0
  110. data/lib/frameworks/sproutcore/frameworks/desktop/resources/radio.css +11 -0
  111. data/lib/frameworks/sproutcore/frameworks/desktop/resources/segmented.css +121 -0
  112. data/lib/frameworks/sproutcore/frameworks/desktop/resources/separator.css +20 -0
  113. data/lib/frameworks/sproutcore/frameworks/desktop/resources/slider.css +34 -0
  114. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/split.css +0 -0
  115. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/split_divider.css +0 -0
  116. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/tab.css +0 -0
  117. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/toolbar.css +0 -0
  118. data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/touch-scroller.css +13 -13
  119. data/lib/frameworks/sproutcore/frameworks/desktop/resources/well.css +65 -0
  120. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +114 -103
  121. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/static_content.js +3 -2
  122. data/lib/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +7 -6
  123. data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +18 -0
  124. data/lib/frameworks/sproutcore/frameworks/desktop/views/popup_button.js +4 -7
  125. data/lib/frameworks/sproutcore/frameworks/desktop/views/segmented.js +9 -2
  126. data/lib/frameworks/sproutcore/frameworks/desktop/{panes → views}/select_button.js +43 -0
  127. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/views/form.js +35 -33
  128. data/lib/frameworks/sproutcore/frameworks/foundation/core.js +2 -2
  129. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/auto_resize.js +15 -8
  130. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/button.js +4 -7
  131. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/flowed_layout.js +55 -13
  132. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/canvas_image.js +3 -1
  133. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/render_delegate.js +7 -7
  134. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/benchmark.css +0 -0
  135. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/blank.gif +0 -0
  136. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/bootstrap.rhtml +0 -0
  137. data/lib/frameworks/sproutcore/frameworks/foundation/resources/button_view.css +36 -0
  138. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/checkbox_view.css +0 -0
  139. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/debug/control-test-pane.css +0 -0
  140. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/favicon.ico +0 -0
  141. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-logo.png +0 -0
  142. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-landscape.jpg +0 -0
  143. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-landscape.png +0 -0
  144. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-portrait.jpg +0 -0
  145. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-portrait.png +0 -0
  146. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup.png +0 -0
  147. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore.png +0 -0
  148. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/inline_editor.css +0 -0
  149. data/lib/frameworks/sproutcore/frameworks/foundation/resources/label.css +47 -0
  150. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/radio_view.css +0 -0
  151. data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/static_layout.css +1 -1
  152. data/lib/frameworks/sproutcore/frameworks/foundation/resources/text_field.css +130 -0
  153. data/lib/frameworks/sproutcore/frameworks/foundation/system/chance.js +5 -1
  154. data/lib/frameworks/sproutcore/frameworks/foundation/system/string.js +0 -43
  155. data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/string_measurement.js +5 -2
  156. data/lib/frameworks/sproutcore/frameworks/foundation/validators/date.js +4 -4
  157. data/lib/frameworks/sproutcore/frameworks/foundation/views/container.js +4 -5
  158. data/lib/frameworks/sproutcore/frameworks/foundation/views/label.js +1 -1
  159. data/lib/frameworks/sproutcore/frameworks/foundation/views/text_field.js +5 -5
  160. data/lib/frameworks/sproutcore/frameworks/routing/system/routes.js +6 -3
  161. data/lib/frameworks/sproutcore/frameworks/routing/tests/system/routes.js +11 -0
  162. data/lib/frameworks/sproutcore/frameworks/runtime/core.js +2 -2
  163. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/array.js +2 -2
  164. data/lib/frameworks/sproutcore/frameworks/runtime/private/property_chain.js +2 -2
  165. data/lib/frameworks/sproutcore/frameworks/runtime/system/error.js +1 -1
  166. data/lib/frameworks/sproutcore/frameworks/runtime/system/logger.js +2 -2
  167. data/lib/frameworks/sproutcore/frameworks/runtime/system/object.js +2 -2
  168. data/lib/frameworks/sproutcore/frameworks/statechart/debug/monitor.js +4 -73
  169. data/lib/frameworks/sproutcore/frameworks/statechart/debug/sequence_matcher.js +189 -0
  170. data/lib/frameworks/sproutcore/frameworks/statechart/ext/function.js +122 -0
  171. data/lib/frameworks/sproutcore/frameworks/statechart/system/async.js +88 -0
  172. data/lib/frameworks/sproutcore/frameworks/statechart/system/empty_state.js +34 -0
  173. data/lib/frameworks/sproutcore/frameworks/statechart/system/history_state.js +97 -0
  174. data/lib/frameworks/sproutcore/frameworks/statechart/system/state.js +7 -189
  175. data/lib/frameworks/sproutcore/frameworks/statechart/system/statechart.js +14 -78
  176. data/lib/frameworks/sproutcore/frameworks/statechart/tests/debug/sequence_matcher.js +464 -0
  177. data/lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/basic/with_concurrent_states.js +31 -11
  178. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/async/with_concurrent_states.js +6 -4
  179. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/standard/with_concurrent_states/advanced.js +40 -6
  180. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/standard/with_concurrent_states/basic.js +22 -2
  181. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/standard/with_concurrent_states/intermediate.js +44 -3
  182. data/lib/frameworks/sproutcore/frameworks/testing/core.js +61 -9
  183. data/lib/frameworks/sproutcore/frameworks/testing/{english.lproj → resources}/additions.css +0 -0
  184. data/lib/frameworks/sproutcore/frameworks/testing/{english.lproj → resources}/runner.css +11 -2
  185. data/lib/frameworks/sproutcore/frameworks/testing/{english.lproj → resources}/testsuite.css +0 -0
  186. data/lib/frameworks/sproutcore/frameworks/testing/system/runner.js +66 -27
  187. data/lib/frameworks/sproutcore/frameworks/testing/tests/spy_on.js +41 -0
  188. data/lib/frameworks/sproutcore/frameworks/testing/tests/stub_method.js +9 -0
  189. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/core.css +24 -0
  190. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/fonts.css +39 -0
  191. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/reset.css +126 -0
  192. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/view.css +57 -0
  193. data/lib/frameworks/sproutcore/lib/index.rhtml +7 -4
  194. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked.png +0 -0
  195. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked_active.png +0 -0
  196. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed.png +0 -0
  197. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed_active.png +0 -0
  198. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked.png +0 -0
  199. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked_active.png +0 -0
  200. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked.png +0 -0
  201. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked_active.png +0 -0
  202. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed.png +0 -0
  203. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed_active.png +0 -0
  204. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked.png +0 -0
  205. data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked_active.png +0 -0
  206. data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list.css +13 -4
  207. data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list_item.css +16 -14
  208. data/lib/frameworks/sproutcore/themes/ace/resources/menu/menu_item.png +0 -0
  209. data/lib/gen/app/templates/apps/@target_name@/Buildfile +1 -4
  210. data/lib/gen/app/templates/apps/@target_name@/core.js +1 -4
  211. data/lib/gen/app/templates/apps/@target_name@/main.js +1 -4
  212. data/lib/gen/app/templates/apps/@target_name@/resources/main_page.js +1 -4
  213. data/lib/gen/app/templates/apps/@target_name@/theme.js +1 -4
  214. data/lib/gen/controller/templates/controllers/{@filename@.js → @filename@_controller.js} +1 -4
  215. data/lib/gen/controller/templates/tests/controllers/{@filename@.js → @filename@_test.js} +1 -4
  216. data/lib/gen/data-source/templates/data_sources/{@filename@.js → @filename@_data_source.js} +1 -4
  217. data/lib/gen/design/templates/resources/@filename@.js +1 -4
  218. data/lib/gen/framework/templates/frameworks/@target_name@/core.js +1 -4
  219. data/lib/gen/framework/templates/frameworks/@target_name@/english.lproj/strings.js +1 -4
  220. data/lib/gen/html_app/templates/apps/@target_name@/@target_name@.js +1 -4
  221. data/lib/gen/html_app/templates/apps/@target_name@/resources/stylesheets/@target_name@.css +2 -0
  222. data/lib/gen/html_project/templates/@filename@/Buildfile +1 -4
  223. data/lib/gen/html_project/templates/@filename@/README +1 -4
  224. data/lib/gen/language/templates/@filename@/strings.js +1 -4
  225. data/lib/gen/model/templates/fixtures/{@filename@.js → @filename@_fixtures.js} +2 -5
  226. data/lib/gen/model/templates/models/{@filename@.js → @filename@_model.js} +1 -4
  227. data/lib/gen/model/templates/tests/models/{@filename@.js → @filename@_test.js} +1 -4
  228. data/lib/gen/page/templates/pages/@target_name@/Buildfile +1 -4
  229. data/lib/gen/page/templates/pages/@target_name@/core.js +1 -4
  230. data/lib/gen/page/templates/pages/@target_name@/en.lproj/strings.js +1 -4
  231. data/lib/gen/page/templates/pages/@target_name@/resources/body.css +3 -1
  232. data/lib/gen/project/templates/@filename@/Buildfile +1 -4
  233. data/lib/gen/project/templates/@filename@/README +1 -5
  234. data/lib/gen/responder/templates/states/{@filename@.js → @filename@_state.js} +1 -4
  235. data/lib/gen/test/templates/tests/{@filename@.js → @filename@_test.js} +1 -4
  236. data/lib/gen/theme/templates/themes/@target_name@/resources/theme_styles.css +1 -5
  237. data/lib/gen/theme/templates/themes/@target_name@/theme.js +1 -4
  238. data/lib/gen/view/templates/tests/views/{@filename@.js → @filename@_test.js} +1 -4
  239. data/lib/gen/view/templates/views/{@filename@.js → @filename@_view.js} +1 -4
  240. data/lib/sproutcore.rb +4 -1
  241. data/lib/sproutcore/builders/handlebars.rb +1 -1
  242. data/lib/sproutcore/builders/module.rb +2 -2
  243. data/lib/sproutcore/helpers/static_helper.rb +4 -2
  244. data/lib/sproutcore/models/generator.rb +22 -0
  245. data/lib/sproutcore/models/manifest_entry.rb +1 -0
  246. data/lib/sproutcore/models/target.rb +4 -1
  247. data/lib/sproutcore/rack/builder.rb +3 -0
  248. data/lib/sproutcore/tools.rb +11 -11
  249. data/lib/sproutcore/tools/init.rb +10 -22
  250. data/lib/sproutcore/tools/manifest.rb +21 -22
  251. data/spec/buildtasks/manifest/prepare_build_tasks/combine_spec.rb +21 -1
  252. data/spec/fixtures/ordered_entries/apps/template_style/a.js +0 -0
  253. data/spec/fixtures/ordered_entries/apps/template_style/template_style.js +0 -0
  254. data/spec/lib/buildfile_commands/build_task_spec.rb +1 -1
  255. data/spec/lib/tools/manifest_spec.rb +11 -0
  256. data/sproutcore.gemspec +2 -2
  257. data/vendor/chance/lib/chance/instance.rb +3 -1
  258. metadata +150 -106
  259. data/lib/frameworks/sproutcore/frameworks/core_foundation/resources/core.css +0 -378
  260. data/lib/frameworks/sproutcore/frameworks/core_foundation/resources/view.css +0 -57
  261. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/alert.css +0 -56
  262. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/disclosure.css +0 -73
  263. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/icons.css +0 -916
  264. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/icons/shared.png +0 -0
  265. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/list_item.css +0 -185
  266. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/menu.css +0 -12
  267. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/menu_item_view.css +0 -101
  268. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/panel.css +0 -91
  269. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/picker.css +0 -35
  270. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/progress.css +0 -33
  271. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/radio.css +0 -10
  272. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/segmented.css +0 -132
  273. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/separator.css +0 -19
  274. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/slider.css +0 -69
  275. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/strings.js +0 -14
  276. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/well.css +0 -71
  277. data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/button_view.css +0 -40
  278. data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/label.css +0 -47
  279. data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/text_field.css +0 -146
  280. data/lib/frameworks/sproutcore/themes/empty_theme/tests/mini_icons.rhtml +0 -69
@@ -9,15 +9,15 @@ module SC
9
9
  class Tools
10
10
 
11
11
  # Standard manifest options. Used by build tool as well.
12
- MANIFEST_OPTIONS = { :languages => :string,
13
- :symlink => false,
14
- :buildroot => :string,
15
- :stageroot => :string,
16
- :format => :string,
17
- :output => :string,
18
- :all => false,
19
- ['--build-numbers', '-B'] => :string,
20
- ['--include-required', '-r'] => false }
12
+ MANIFEST_OPTIONS = { :symlink => false,
13
+ :stageroot => :string,
14
+ :format => :string,
15
+ :output => :string,
16
+ :all => false,
17
+ ['--languages', '-L'] => :string,
18
+ ['--buildroot', '--target', '-t'] => :string,
19
+ ['--build-numbers', '-B'] => :string,
20
+ ['--include-required', '-r'] => false }
21
21
 
22
22
  desc "manifest [TARGET..]", "Generates a manifest for the specified targets"
23
23
  method_options(MANIFEST_OPTIONS.merge(
@@ -39,19 +39,8 @@ module SC
39
39
  end
40
40
 
41
41
  # Get allowed keys
42
- only_keys = nil
43
- if options[:only]
44
- only_keys = (options[:only] || '').to_s.split(',')
45
- only_keys.map! { |k| k.to_sym }
46
- only_keys = nil if only_keys.size == 0
47
- end
48
-
49
- except_keys = nil
50
- if options[:except]
51
- except_keys = (options[:except] || '').to_s.split(',')
52
- except_keys.map! { |k| k.to_sym }
53
- except_keys = nil if except_keys.size == 0
54
- end
42
+ only_keys = Tools.get_allowed_keys(options[:only])
43
+ except_keys = Tools.get_allowed_keys(options[:except])
55
44
 
56
45
  # call core method to actually build the manifests...
57
46
  manifests = build_manifests(*targets)
@@ -81,5 +70,15 @@ module SC
81
70
 
82
71
  end
83
72
 
73
+ private
74
+ def self.get_allowed_keys(keys)
75
+ if keys
76
+ result = (keys || '').to_s.split(',')
77
+ result.map!(&:strip).map!(&:to_sym)
78
+ result = nil if result.size == 0
79
+ result
80
+ end
81
+ end
82
+
84
83
  end
85
84
  end
@@ -147,7 +147,7 @@ describe "manifest:prepare_build_tasks:combine" do
147
147
  # javascript.js support
148
148
  #
149
149
 
150
- describe "whem CONFIG.combine_javascript = true" do
150
+ describe "when CONFIG.combine_javascript = true" do
151
151
 
152
152
  before do
153
153
  @config.combine_javascript = true
@@ -208,6 +208,26 @@ describe "manifest:prepare_build_tasks:combine" do
208
208
  filenames.should eql(expected)
209
209
  end
210
210
 
211
+ it "orders entries with APP_NAME.js before other entries" do
212
+ @target = @project.target_for :template_style
213
+ @buildfile = @target.buildfile
214
+ @config = @target.config
215
+ @manifest = @target.manifest_for(:language => :en)
216
+ @target.prepare! # make sure its ready for the manifest...
217
+
218
+ run_task
219
+ entry = @manifest.entry_for('javascript.js')
220
+
221
+ # get the expected set of ordered entries...based on contents of
222
+ # project...
223
+ expected = %w(source/template_style.js source/a.js)
224
+
225
+ entry.ordered_entries.should_not be_nil
226
+ filenames = entry.ordered_entries.map { |e| e.filename }
227
+ filenames.should eql(expected)
228
+
229
+ end
230
+
211
231
  it "will override default order respecting ENTRY.required" do
212
232
 
213
233
  @target = @project.target_for :with_requires
@@ -9,7 +9,7 @@ describe SC::Buildfile::Commands, 'build_task' do
9
9
  b.task_defined?(:task1).should_not be_nil
10
10
  end
11
11
 
12
- it "should add a new task with class BuilTask" do
12
+ it "should add a new task with class BuildTask" do
13
13
  b = SC::Buildfile.define do
14
14
  build_task :task1
15
15
  end
@@ -0,0 +1,11 @@
1
+ require "spec_helper"
2
+
3
+ describe SC::Tools do
4
+ describe "utils" do
5
+ it "retrieves allowed keys using get_allowed_keys" do
6
+ SC::Tools.class_eval do
7
+ get_allowed_keys('a,b , c,d').should == [:a,:b,:c,:d]
8
+ end
9
+ end
10
+ end
11
+ end
data/sproutcore.gemspec CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency 'extlib', "~> 0.9.15"
22
22
  s.add_dependency 'erubis', "~> 2.6.6"
23
23
  s.add_dependency 'thor', '~> 0.14.3'
24
- s.add_dependency 'haml', '~> 3.0.24'
24
+ s.add_dependency 'haml', '~> 3.1.1'
25
25
 
26
- s.add_dependency 'compass', '~> 0.10.5'
26
+ s.add_dependency 'compass', '~> 0.11.1'
27
27
  s.add_dependency 'chunky_png', '~> 1.1.0'
28
28
 
29
29
  if is_jruby
@@ -271,9 +271,11 @@ module Chance
271
271
  return if file[:included] === @@generation
272
272
 
273
273
  requires = file[:requires]
274
+ file[:included] = @@generation
275
+
274
276
  requires.each {|r| _include_file(@mapped_files[r]) } unless requires.nil?
275
277
 
276
- file[:included] = @@generation
278
+
277
279
 
278
280
  @file_list.push(file)
279
281
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sproutcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0.beta.3
4
+ version: 1.6.0.rc.1
5
5
  prerelease: 6
6
6
  platform: x86-mingw32
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-10 00:00:00.000000000Z
12
+ date: 2011-05-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
- requirement: &14577456 !ruby/object:Gem::Requirement
16
+ requirement: &15168624 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.2.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *14577456
24
+ version_requirements: *15168624
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json_pure
27
- requirement: &14577156 !ruby/object:Gem::Requirement
27
+ requirement: &15200448 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.4.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *14577156
35
+ version_requirements: *15200448
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: extlib
38
- requirement: &14576880 !ruby/object:Gem::Requirement
38
+ requirement: &15200172 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.9.15
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *14576880
46
+ version_requirements: *15200172
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: erubis
49
- requirement: &14576604 !ruby/object:Gem::Requirement
49
+ requirement: &15199896 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 2.6.6
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *14576604
57
+ version_requirements: *15199896
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: thor
60
- requirement: &14576328 !ruby/object:Gem::Requirement
60
+ requirement: &15199620 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,32 +65,32 @@ dependencies:
65
65
  version: 0.14.3
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *14576328
68
+ version_requirements: *15199620
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: haml
71
- requirement: &14576052 !ruby/object:Gem::Requirement
71
+ requirement: &15199344 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: 3.0.24
76
+ version: 3.1.1
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *14576052
79
+ version_requirements: *15199344
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: compass
82
- requirement: &14575776 !ruby/object:Gem::Requirement
82
+ requirement: &15199068 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
86
86
  - !ruby/object:Gem::Version
87
- version: 0.10.5
87
+ version: 0.11.1
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *14575776
90
+ version_requirements: *15199068
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: chunky_png
93
- requirement: &14575500 !ruby/object:Gem::Requirement
93
+ requirement: &15198792 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 1.1.0
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *14575500
101
+ version_requirements: *15198792
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: thin
104
- requirement: &14575224 !ruby/object:Gem::Requirement
104
+ requirement: &15198516 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 1.2.11
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *14575224
112
+ version_requirements: *15198516
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: eventmachine
115
- requirement: &14574948 !ruby/object:Gem::Requirement
115
+ requirement: &15198240 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 1.0.0.beta
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *14574948
123
+ version_requirements: *15198240
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: gemcutter
126
- requirement: &14574684 !ruby/object:Gem::Requirement
126
+ requirement: &15197976 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 0.6.0
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *14574684
134
+ version_requirements: *15197976
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: rspec
137
- requirement: &14574408 !ruby/object:Gem::Requirement
137
+ requirement: &15197700 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ~>
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: 2.4.0
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *14574408
145
+ version_requirements: *15197700
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: rake
148
- requirement: &14574180 !ruby/object:Gem::Requirement
148
+ requirement: &15197472 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *14574180
156
+ version_requirements: *15197472
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: less
159
- requirement: &14598468 !ruby/object:Gem::Requirement
159
+ requirement: &15197148 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ~>
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: 1.2.21
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *14598468
167
+ version_requirements: *15197148
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: RedCloth
170
- requirement: &14598168 !ruby/object:Gem::Requirement
170
+ requirement: &15196848 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ~>
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: 4.2.3
176
176
  type: :development
177
177
  prerelease: false
178
- version_requirements: *14598168
178
+ version_requirements: *15196848
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: BlueCloth
181
- requirement: &14597892 !ruby/object:Gem::Requirement
181
+ requirement: &15196572 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - ~>
@@ -186,7 +186,7 @@ dependencies:
186
186
  version: 1.0.1
187
187
  type: :development
188
188
  prerelease: false
189
- version_requirements: *14597892
189
+ version_requirements: *15196572
190
190
  description: SproutCore is a platform for building native look-and-feel applications
191
191
  on the web. This Ruby library includes a copy of the SproutCore JavaScript framework
192
192
  as well as a Ruby-based build system called Abbot.
@@ -260,12 +260,12 @@ files:
260
260
  - lib/gen/controller/Buildfile
261
261
  - lib/gen/controller/README
262
262
  - lib/gen/controller/USAGE
263
- - lib/gen/controller/templates/controllers/@filename@.js
264
- - lib/gen/controller/templates/tests/controllers/@filename@.js
263
+ - lib/gen/controller/templates/controllers/@filename@_controller.js
264
+ - lib/gen/controller/templates/tests/controllers/@filename@_test.js
265
265
  - lib/gen/data-source/Buildfile
266
266
  - lib/gen/data-source/README
267
267
  - lib/gen/data-source/USAGE
268
- - lib/gen/data-source/templates/data_sources/@filename@.js
268
+ - lib/gen/data-source/templates/data_sources/@filename@_data_source.js
269
269
  - lib/gen/design/Buildfile
270
270
  - lib/gen/design/README
271
271
  - lib/gen/design/USAGE
@@ -295,9 +295,9 @@ files:
295
295
  - lib/gen/model/Buildfile
296
296
  - lib/gen/model/README
297
297
  - lib/gen/model/USAGE
298
- - lib/gen/model/templates/fixtures/@filename@.js
299
- - lib/gen/model/templates/models/@filename@.js
300
- - lib/gen/model/templates/tests/models/@filename@.js
298
+ - lib/gen/model/templates/fixtures/@filename@_fixtures.js
299
+ - lib/gen/model/templates/models/@filename@_model.js
300
+ - lib/gen/model/templates/tests/models/@filename@_test.js
301
301
  - lib/gen/page/Buildfile
302
302
  - lib/gen/page/README
303
303
  - lib/gen/page/USAGE
@@ -315,11 +315,11 @@ files:
315
315
  - lib/gen/responder/Buildfile
316
316
  - lib/gen/responder/README
317
317
  - lib/gen/responder/USAGE
318
- - lib/gen/responder/templates/states/@filename@.js
318
+ - lib/gen/responder/templates/states/@filename@_state.js
319
319
  - lib/gen/test/Buildfile
320
320
  - lib/gen/test/README
321
321
  - lib/gen/test/USAGE
322
- - lib/gen/test/templates/tests/@filename@.js
322
+ - lib/gen/test/templates/tests/@filename@_test.js
323
323
  - lib/gen/theme/Buildfile
324
324
  - lib/gen/theme/README
325
325
  - lib/gen/theme/USAGE
@@ -329,8 +329,8 @@ files:
329
329
  - lib/gen/view/Buildfile
330
330
  - lib/gen/view/README
331
331
  - lib/gen/view/USAGE
332
- - lib/gen/view/templates/tests/views/@filename@.js
333
- - lib/gen/view/templates/views/@filename@.js
332
+ - lib/gen/view/templates/tests/views/@filename@_test.js
333
+ - lib/gen/view/templates/views/@filename@_view.js
334
334
  - lib/sproutcore.rb
335
335
  - lib/sproutcore/builders.rb
336
336
  - lib/sproutcore/builders/base.rb
@@ -566,6 +566,8 @@ files:
566
566
  - spec/fixtures/ordered_entries/apps/no_requires/resources/main_page.js
567
567
  - spec/fixtures/ordered_entries/apps/no_requires/t.js
568
568
  - spec/fixtures/ordered_entries/apps/no_requires/utils.js
569
+ - spec/fixtures/ordered_entries/apps/template_style/a.js
570
+ - spec/fixtures/ordered_entries/apps/template_style/template_style.js
569
571
  - spec/fixtures/ordered_entries/apps/with_requires/a.js
570
572
  - spec/fixtures/ordered_entries/apps/with_requires/b.js
571
573
  - spec/fixtures/ordered_entries/apps/with_requires/c.js
@@ -717,6 +719,7 @@ files:
717
719
  - spec/lib/models/target/target_for_spec.rb
718
720
  - spec/lib/tools/build_number_spec.rb
719
721
  - spec/lib/tools/gen_spec.rb
722
+ - spec/lib/tools/manifest_spec.rb
720
723
  - spec/lib/tools/tools_spec.rb
721
724
  - spec/spec.opts
722
725
  - spec/spec_helper.rb
@@ -994,10 +997,7 @@ files:
994
997
  - lib/frameworks/sproutcore/frameworks/core_foundation/panes/visibility.js
995
998
  - lib/frameworks/sproutcore/frameworks/core_foundation/protocols/observable_protocol.js
996
999
  - lib/frameworks/sproutcore/frameworks/core_foundation/protocols/sparse_array_delegate.js
997
- - lib/frameworks/sproutcore/frameworks/core_foundation/resources/core.css
998
- - lib/frameworks/sproutcore/frameworks/core_foundation/resources/view.css
999
1000
  - lib/frameworks/sproutcore/frameworks/core_foundation/system/application.js
1000
- - lib/frameworks/sproutcore/frameworks/core_foundation/system/bindable_span.js
1001
1001
  - lib/frameworks/sproutcore/frameworks/core_foundation/system/browser.js
1002
1002
  - lib/frameworks/sproutcore/frameworks/core_foundation/system/builder.js
1003
1003
  - lib/frameworks/sproutcore/frameworks/core_foundation/system/core_query.js
@@ -1113,6 +1113,7 @@ files:
1113
1113
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/updateLayerLocation.js
1114
1114
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/view.js
1115
1115
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/viewDidResize.js
1116
+ - lib/frameworks/sproutcore/frameworks/core_foundation/views/bindable_span.js
1116
1117
  - lib/frameworks/sproutcore/frameworks/core_foundation/views/template.js
1117
1118
  - lib/frameworks/sproutcore/frameworks/core_foundation/views/template_collection.js
1118
1119
  - lib/frameworks/sproutcore/frameworks/core_foundation/views/view/animation.js
@@ -1157,6 +1158,7 @@ files:
1157
1158
  - lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js
1158
1159
  - lib/frameworks/sproutcore/frameworks/datastore/system/store.js
1159
1160
  - lib/frameworks/sproutcore/frameworks/datastore/tests/data_sources/cascade.js
1161
+ - lib/frameworks/sproutcore/frameworks/datastore/tests/data_sources/data_source.js
1160
1162
  - lib/frameworks/sproutcore/frameworks/datastore/tests/data_sources/fixtures.js
1161
1163
  - lib/frameworks/sproutcore/frameworks/datastore/tests/integration/contact_model.js
1162
1164
  - lib/frameworks/sproutcore/frameworks/datastore/tests/integration/cyclical_relationship.js
@@ -1238,39 +1240,6 @@ files:
1238
1240
  - lib/frameworks/sproutcore/frameworks/debug/invoke_once_last_debugging.js
1239
1241
  - lib/frameworks/sproutcore/frameworks/desktop/core.js
1240
1242
  - lib/frameworks/sproutcore/frameworks/desktop/debug/drag.js
1241
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/alert.css
1242
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/debug/apple-logo1.jpeg
1243
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/debug/a_sample_image.jpg
1244
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/debug/iframe.html
1245
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/disclosure.css
1246
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/drag.css
1247
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/icons.css
1248
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/cap.png
1249
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/downbutton.png
1250
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/icons/shared.png
1251
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/thumb-bottom.png
1252
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/thumb-center.png
1253
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/thumb-top.png
1254
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/track.png
1255
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/upbutton.png
1256
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/list_item.css
1257
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/menu.css
1258
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/menu_item_view.css
1259
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/modal.css
1260
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/panel.css
1261
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/picker.css
1262
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/progress.css
1263
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/radio.css
1264
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/segmented.css
1265
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/separator.css
1266
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/slider.css
1267
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/split.css
1268
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/split_divider.css
1269
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/strings.js
1270
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/tab.css
1271
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/toolbar.css
1272
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/touch-scroller.css
1273
- - lib/frameworks/sproutcore/frameworks/desktop/english.lproj/well.css
1274
1243
  - lib/frameworks/sproutcore/frameworks/desktop/mixins/border.js
1275
1244
  - lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_fast_path.js
1276
1245
  - lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_group.js
@@ -1284,7 +1253,6 @@ files:
1284
1253
  - lib/frameworks/sproutcore/frameworks/desktop/panes/palette.js
1285
1254
  - lib/frameworks/sproutcore/frameworks/desktop/panes/panel.js
1286
1255
  - lib/frameworks/sproutcore/frameworks/desktop/panes/picker.js
1287
- - lib/frameworks/sproutcore/frameworks/desktop/panes/select_button.js
1288
1256
  - lib/frameworks/sproutcore/frameworks/desktop/panes/sheet.js
1289
1257
  - lib/frameworks/sproutcore/frameworks/desktop/protocols/drag_data_source.js
1290
1258
  - lib/frameworks/sproutcore/frameworks/desktop/protocols/drag_source.js
@@ -1311,6 +1279,70 @@ files:
1311
1279
  - lib/frameworks/sproutcore/frameworks/desktop/render_delegates/toolbar.js
1312
1280
  - lib/frameworks/sproutcore/frameworks/desktop/render_delegates/well.js
1313
1281
  - lib/frameworks/sproutcore/frameworks/desktop/render_delegates/workspace.js
1282
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/alert.css
1283
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/debug/apple-logo1.jpeg
1284
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/debug/a_sample_image.jpg
1285
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/debug/iframe.html
1286
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/disclosure.css
1287
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/drag.css
1288
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/icons.css
1289
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/cap.png
1290
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/downbutton.png
1291
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-16.png
1292
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-24.png
1293
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-48.png
1294
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-bookmark-16.png
1295
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-bookmark-24.png
1296
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-cancel-24.png
1297
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-document-16.png
1298
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-document-24.png
1299
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-down-24.png
1300
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-error-48.png
1301
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-favorite-16.png
1302
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-favorite-24.png
1303
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-folder-16.png
1304
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-folder-24.png
1305
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-group-16.png
1306
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-group-24.png
1307
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-help-16.png
1308
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-help-24.png
1309
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-16.png
1310
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-24.png
1311
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-48.png
1312
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-left-24.png
1313
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-options-16.png
1314
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-options-24.png
1315
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-redo-24.png
1316
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-right-24.png
1317
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-tools-24.png
1318
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-trash-16.png
1319
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-trash-24.png
1320
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-undo-24.png
1321
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-up-24.png
1322
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-user-16.png
1323
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-user-24.png
1324
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/thumb-bottom.png
1325
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/thumb-center.png
1326
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/thumb-top.png
1327
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/track.png
1328
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/images/upbutton.png
1329
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/list_item.css
1330
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/menu.css
1331
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/menu_item_view.css
1332
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/modal.css
1333
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/panel.css
1334
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/picker.css
1335
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/progress.css
1336
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/radio.css
1337
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/segmented.css
1338
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/separator.css
1339
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/slider.css
1340
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/split.css
1341
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/split_divider.css
1342
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/tab.css
1343
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/toolbar.css
1344
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/touch-scroller.css
1345
+ - lib/frameworks/sproutcore/frameworks/desktop/resources/well.css
1314
1346
  - lib/frameworks/sproutcore/frameworks/desktop/system/drag.js
1315
1347
  - lib/frameworks/sproutcore/frameworks/desktop/system/key_bindings.js
1316
1348
  - lib/frameworks/sproutcore/frameworks/desktop/system/undo_manager.js
@@ -1422,6 +1454,7 @@ files:
1422
1454
  - lib/frameworks/sproutcore/frameworks/desktop/views/segment.js
1423
1455
  - lib/frameworks/sproutcore/frameworks/desktop/views/segmented.js
1424
1456
  - lib/frameworks/sproutcore/frameworks/desktop/views/select.js
1457
+ - lib/frameworks/sproutcore/frameworks/desktop/views/select_button.js
1425
1458
  - lib/frameworks/sproutcore/frameworks/desktop/views/select_field.js
1426
1459
  - lib/frameworks/sproutcore/frameworks/desktop/views/separator.js
1427
1460
  - lib/frameworks/sproutcore/frameworks/desktop/views/slider.js
@@ -1691,25 +1724,6 @@ files:
1691
1724
  - lib/frameworks/sproutcore/frameworks/foundation/core.js
1692
1725
  - lib/frameworks/sproutcore/frameworks/foundation/debug/control_test_pane.js
1693
1726
  - lib/frameworks/sproutcore/frameworks/foundation/delegates/inline_text_field.js
1694
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/benchmark.css
1695
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/blank.gif
1696
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/bootstrap.rhtml
1697
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/button_view.css
1698
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/checkbox_view.css
1699
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/debug/control-test-pane.css
1700
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/favicon.ico
1701
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-logo.png
1702
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-landscape.jpg
1703
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-landscape.png
1704
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-portrait.jpg
1705
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-portrait.png
1706
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup.png
1707
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore.png
1708
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/inline_editor.css
1709
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/label.css
1710
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/radio_view.css
1711
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/static_layout.css
1712
- - lib/frameworks/sproutcore/frameworks/foundation/english.lproj/text_field.css
1713
1727
  - lib/frameworks/sproutcore/frameworks/foundation/ext/string.js
1714
1728
  - lib/frameworks/sproutcore/frameworks/foundation/fixtures/file_exists.json
1715
1729
  - lib/frameworks/sproutcore/frameworks/foundation/fixtures/malformed.json
@@ -1741,6 +1755,25 @@ files:
1741
1755
  - lib/frameworks/sproutcore/frameworks/foundation/render_delegates/image.js
1742
1756
  - lib/frameworks/sproutcore/frameworks/foundation/render_delegates/label.js
1743
1757
  - lib/frameworks/sproutcore/frameworks/foundation/render_delegates/render_delegate.js
1758
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/benchmark.css
1759
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/blank.gif
1760
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/bootstrap.rhtml
1761
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/button_view.css
1762
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/checkbox_view.css
1763
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/debug/control-test-pane.css
1764
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/favicon.ico
1765
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/sproutcore-logo.png
1766
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/sproutcore-startup-landscape.jpg
1767
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/sproutcore-startup-landscape.png
1768
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/sproutcore-startup-portrait.jpg
1769
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/sproutcore-startup-portrait.png
1770
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/sproutcore-startup.png
1771
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/images/sproutcore.png
1772
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/inline_editor.css
1773
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/label.css
1774
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/radio_view.css
1775
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/static_layout.css
1776
+ - lib/frameworks/sproutcore/frameworks/foundation/resources/text_field.css
1744
1777
  - lib/frameworks/sproutcore/frameworks/foundation/system/benchmark.js
1745
1778
  - lib/frameworks/sproutcore/frameworks/foundation/system/chance.js
1746
1779
  - lib/frameworks/sproutcore/frameworks/foundation/system/cookie.js
@@ -1950,8 +1983,14 @@ files:
1950
1983
  - lib/frameworks/sproutcore/frameworks/runtime/tests/system/set.js
1951
1984
  - lib/frameworks/sproutcore/frameworks/statechart/core.js
1952
1985
  - lib/frameworks/sproutcore/frameworks/statechart/debug/monitor.js
1986
+ - lib/frameworks/sproutcore/frameworks/statechart/debug/sequence_matcher.js
1987
+ - lib/frameworks/sproutcore/frameworks/statechart/ext/function.js
1988
+ - lib/frameworks/sproutcore/frameworks/statechart/system/async.js
1989
+ - lib/frameworks/sproutcore/frameworks/statechart/system/empty_state.js
1990
+ - lib/frameworks/sproutcore/frameworks/statechart/system/history_state.js
1953
1991
  - lib/frameworks/sproutcore/frameworks/statechart/system/state.js
1954
1992
  - lib/frameworks/sproutcore/frameworks/statechart/system/statechart.js
1993
+ - lib/frameworks/sproutcore/frameworks/statechart/tests/debug/sequence_matcher.js
1955
1994
  - lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/advanced/respond_to_event.js
1956
1995
  - lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/advanced/without_concurrent_states.js
1957
1996
  - lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/basic/without_concurrent_states.js
@@ -1992,16 +2031,22 @@ files:
1992
2031
  - lib/frameworks/sproutcore/frameworks/table/views/table_header.js
1993
2032
  - lib/frameworks/sproutcore/frameworks/table/views/table_row.js
1994
2033
  - lib/frameworks/sproutcore/frameworks/testing/core.js
1995
- - lib/frameworks/sproutcore/frameworks/testing/english.lproj/additions.css
1996
- - lib/frameworks/sproutcore/frameworks/testing/english.lproj/runner.css
1997
- - lib/frameworks/sproutcore/frameworks/testing/english.lproj/testsuite.css
1998
2034
  - lib/frameworks/sproutcore/frameworks/testing/extras.js
2035
+ - lib/frameworks/sproutcore/frameworks/testing/resources/additions.css
2036
+ - lib/frameworks/sproutcore/frameworks/testing/resources/runner.css
2037
+ - lib/frameworks/sproutcore/frameworks/testing/resources/testsuite.css
1999
2038
  - lib/frameworks/sproutcore/frameworks/testing/system/dump.js
2000
2039
  - lib/frameworks/sproutcore/frameworks/testing/system/equiv.js
2001
2040
  - lib/frameworks/sproutcore/frameworks/testing/system/plan.js
2002
2041
  - lib/frameworks/sproutcore/frameworks/testing/system/runner.js
2003
2042
  - lib/frameworks/sproutcore/frameworks/testing/system/suite.js
2043
+ - lib/frameworks/sproutcore/frameworks/testing/tests/spy_on.js
2044
+ - lib/frameworks/sproutcore/frameworks/testing/tests/stub_method.js
2004
2045
  - lib/frameworks/sproutcore/frameworks/testing/utils.js
2046
+ - lib/frameworks/sproutcore/frameworks/yuireset/resources/core.css
2047
+ - lib/frameworks/sproutcore/frameworks/yuireset/resources/fonts.css
2048
+ - lib/frameworks/sproutcore/frameworks/yuireset/resources/reset.css
2049
+ - lib/frameworks/sproutcore/frameworks/yuireset/resources/view.css
2005
2050
  - lib/frameworks/sproutcore/lib/index.rhtml
2006
2051
  - lib/frameworks/sproutcore/license.js
2007
2052
  - lib/frameworks/sproutcore/README.md
@@ -2181,7 +2226,6 @@ files:
2181
2226
  - lib/frameworks/sproutcore/themes/ace/resources/toolbar/toolbar.png
2182
2227
  - lib/frameworks/sproutcore/themes/ace/resources/well/well.css
2183
2228
  - lib/frameworks/sproutcore/themes/ace/theme.js
2184
- - lib/frameworks/sproutcore/themes/empty_theme/tests/mini_icons.rhtml
2185
2229
  - lib/frameworks/sproutcore/themes/empty_theme/theme.js
2186
2230
  - lib/frameworks/sproutcore/themes/iphone_theme/english.lproj/button.css
2187
2231
  - lib/frameworks/sproutcore/themes/iphone_theme/english.lproj/core.css