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

Sign up to get free protection for your applications and to get access to all the features.
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
data/CHANGELOG CHANGED
@@ -1,3 +1,36 @@
1
+ *SproutCore 1.6.0.rc.1 (May 16, 2011)*
2
+
3
+ * More Rakefile improvements
4
+ * Real changelog tasks
5
+ * Added get_allowed_keys to DRY up the retrieval of options
6
+ * DRY up the init task
7
+ * Added in sc-build args that were in documentation but not implemented - Fixes #429
8
+ * Merge pull request #47 from drogus/script_name
9
+ * Added copyright_block method to centralize template copyright generation
10
+ * Commited missing fixtures for tests
11
+ * Handle SCRIPT_NAME properly when sproutcore server is mounted
12
+ * Fixed test name typos
13
+ * Try to load APP_NAME.js in addition to core.js - Fixes #413
14
+ * Updated haml and compass dependencies
15
+ * Merge pull request #45 from gmoeck/master
16
+ * Merge remote branch 'public/master'
17
+ * Fixed issue where the javascript building got in a fight with the YUI compressor (I think). See http://i.imgur.com/xbxGO.png.
18
+ * Less noisy RSpec
19
+ * Rakefile release task
20
+ * Add handlebars files to the entries
21
+ * fixed bug in the require of generated models
22
+ * Merged with public/msater
23
+ * Adding touch_enabled flag to avoid having the touch icons included (default is still true)
24
+ * Correct behavior of sc_require in Chance.
25
+ * Made modules SC.Objects instead of just hashes
26
+ * Merge remote-tracking branch 'public/master'
27
+ * Fix to chance to avoid a Windows error
28
+ * Change jQuery.ready() to SC.ready() in HTML template, which allows SC.RootResponder to attach event listeners before the app runs.
29
+ * Merge remote branch 'public/master'
30
+ * Changed the generators so they create more descriptive names. Before, we had lots of files with the same name, which was confusing in editors and in the webkit inspector. This solves that problem.
31
+ * Adding timestamp to sc-build logger, thanks Tony Sung
32
+
33
+
1
34
  *SproutCore 1.6.0.beta.3 (May 10, 2011)*
2
35
 
3
36
  * Fixed framework issues that cause sc-build to fail
data/Rakefile CHANGED
@@ -25,15 +25,16 @@ To get the SproutCore framework, run
25
25
  To update the gem:
26
26
 
27
27
  - Update VERSION.yml
28
- - Update CHANGELOG
29
- - Make sure the framework is up to date
30
- - Add a new tag
31
- - Build and push the gem:
32
- gem build sproutcore.gemspec
33
- gem push sproutcore-VERSION.gem
34
- - Switch to JRuby and repeat:
35
- gem build sproutcore.gemspec
36
- gem push sproutcore-VERSION-java.gem
28
+ - Run `rake release:all` on Mac OS X or Linux
29
+ This updates the CHANGELOGS for both framework and abbot,
30
+ updates version numbers and tags them. It also builds and
31
+ pushes gems. If you just want to see what it does, pass
32
+ PRETEND=1 to make no actual changes.
33
+ For best results you should have RVM with MRI Ruby and JRuby installed.
34
+ - Once you have verified your changes, run `rake release:push`.
35
+ - On Windows, update the repos and run `rake release:gems:all`
36
+ - To create installer packages, run `rake pkg` on Mac OS X and Windows
37
+
37
38
  END
38
39
 
39
40
  end
@@ -42,7 +43,9 @@ begin
42
43
  require 'rspec/core/rake_task'
43
44
  RSpec::Core::RakeTask.new
44
45
  rescue LoadError
45
- puts "RSpec is not installed. Please install if you want to run tests."
46
+ if Rake.application.options.show_tasks
47
+ puts "RSpec is not installed. Please install if you want to run tests."
48
+ end
46
49
  end
47
50
 
48
51
  begin
@@ -60,3 +63,203 @@ rescue LoadError
60
63
  puts "`gem install packager` for packaging tasks"
61
64
  end
62
65
  end
66
+
67
+ ### RELEASE TASKS ###
68
+
69
+ rvm_data = `rvm list` rescue nil
70
+ rvm_versions = rvm_data ? rvm_data.split("\n")[3..-1].map{|l| l[3..-1].split(" ")[0] } : []
71
+ rvm_mri = rvm_versions.select{|v| v =~ /^ruby-/ }[-1]
72
+ rvm_jruby = rvm_versions.select{|v| v =~ /^jruby-/ }[-1]
73
+
74
+ version = SproutCore::VERSION
75
+
76
+ namespace :release do
77
+
78
+ def pretend?
79
+ ENV['PRETEND']
80
+ end
81
+
82
+ def nopush?
83
+ ENV['NOPUSH']
84
+ end
85
+
86
+ namespace :framework do
87
+
88
+ task :chdir do
89
+ chdir File.expand_path('../lib/frameworks/sproutcore', __FILE__)
90
+ end
91
+
92
+ task :update do
93
+ branch = `git describe --contains --all HEAD`
94
+ puts "Checking out framework branch: #{branch}"
95
+ unless pretend?
96
+ Rake::Task["release:framework:chdir"].invoke
97
+ system "git checkout #{branch}"
98
+ system "git pull"
99
+ end
100
+ end
101
+
102
+ task :changelog => :chdir do
103
+ last_tag = `git describe --tags --abbrev=0`.strip
104
+ puts "Getting Changes since #{last_tag}"
105
+
106
+ cmd = "git log #{last_tag}..HEAD --format='* %s'"
107
+ puts cmd
108
+
109
+ changes = `#{cmd}`
110
+ output = "#{version}\n#{'-'*version.length}\n#{changes}\n"
111
+
112
+ unless pretend?
113
+ File.open('CHANGELOG.md', 'r+') do |file|
114
+ current = file.readlines
115
+ current.insert(3, output)
116
+ file.pos = 0;
117
+ file.puts current
118
+ end
119
+ else
120
+ puts output.split("\n").map!{|s| " #{s}"}.join("\n")
121
+ end
122
+ end
123
+
124
+ task :update_references => :chdir do
125
+ puts "Updating version references to #{version}"
126
+
127
+ cmd = "sed -i '' \"s/@version .*/@version #{version}/\" frameworks/runtime/core.js"
128
+ pretend? ? puts(cmd) : system(cmd)
129
+
130
+ cmd = "sed -i '' \"s/SC.VERSION = .*/SC.VERSION = '#{version}';/\" frameworks/runtime/core.js"
131
+ pretend? ? puts(cmd) : system(cmd)
132
+ end
133
+
134
+ task :commit => :chdir do
135
+ puts "Commiting Version Bump"
136
+ unless pretend?
137
+ system "git reset"
138
+ system "git add CHANGELOG.md frameworks/runtime/core.js"
139
+ system "git commit -m 'Version bump - #{version}'"
140
+ end
141
+ end
142
+
143
+ task :tag => :chdir do
144
+ puts "Tagging REL-#{version}"
145
+ system "git tag REL-#{version}" unless pretend?
146
+ end
147
+
148
+ task :push => :chdir do
149
+ puts "Pushing Repo"
150
+ unless pretend? || nopush?
151
+ print "Are you sure you want to push the framework repo to github? (y/N) "
152
+ res = STDIN.gets.chomp
153
+ if res == 'y'
154
+ system "git push"
155
+ system "git push --tags"
156
+ else
157
+ puts "Not Pushing"
158
+ end
159
+ end
160
+ end
161
+
162
+ task :all => [:update, :changelog, :update_references, :commit, :tag]
163
+
164
+ end
165
+
166
+ namespace :abbot do
167
+
168
+ task :chdir do
169
+ chdir File.dirname(__FILE__)
170
+ end
171
+
172
+ task :update do
173
+ puts "Checking updating repo"
174
+ system "git pull" unless pretend?
175
+ end
176
+
177
+ task :changelog => :chdir do
178
+ last_tag = `git describe --tags --abbrev=0`.strip
179
+ puts "Getting Changes since #{last_tag}"
180
+
181
+ cmd = "git log #{last_tag}..HEAD --format='* %s'"
182
+ puts cmd
183
+
184
+ changes = `#{cmd}`
185
+ output = "*SproutCore #{version} (#{Time.now.strftime("%B %d, %Y")})*\n\n#{changes}\n"
186
+
187
+ unless pretend?
188
+ File.open('CHANGELOG', 'r+') do |file|
189
+ current = file.read
190
+ file.pos = 0;
191
+ file.puts current
192
+ end
193
+ else
194
+ puts output.split("\n").map!{|s| " #{s}"}.join("\n")
195
+ end
196
+ end
197
+
198
+ task :commit => :chdir do
199
+ puts "Commiting Version Bump"
200
+ unless pretend?
201
+ system "git reset"
202
+ system "git add CHANGELOG VERSION.yml lib/frameworks/sproutcore"
203
+ system "git commit -m 'Version bump - #{version}'"
204
+ end
205
+ end
206
+
207
+ task :tag => :chdir do
208
+ puts "Tagging REL-#{version}"
209
+ system "git tag REL-#{version}" unless pretend?
210
+ end
211
+
212
+ task :push => :chdir do
213
+ puts "Pushing Repo"
214
+ unless pretend? || nopush?
215
+ print "Are you sure you want to push the abbot repo to github? (y/N) "
216
+ res = STDIN.gets.chomp
217
+ if res == 'y'
218
+ system "git push"
219
+ system "git push --tags"
220
+ else
221
+ puts "Not Pushing"
222
+ end
223
+ end
224
+ end
225
+
226
+ task :all => [:update, :changelog, :commit, :tag]
227
+
228
+ end
229
+
230
+ namespace :gems do
231
+
232
+ task :build do
233
+ versions = [rvm_mri, rvm_jruby].compact
234
+ unless versions.empty?
235
+ puts "Building for #{versions.join(", ")}"
236
+ system "rvm #{versions.join(',')} exec gem build sproutcore.gemspec" unless pretend?
237
+ else
238
+ puts "Building for current version"
239
+ system "gem build sproutcore.gemspec" unless pretend?
240
+ end
241
+ end
242
+
243
+ task :push do
244
+ Dir["sproutcore-#{version}*.gem"].each do |g|
245
+ puts "Pushing #{g}"
246
+ unless pretend? || nopush?
247
+ print "Are you sure you want to push the gem to RubyGems.org? (y/N) "
248
+ res = STDIN.gets.chomp
249
+ if res == 'y'
250
+ system "gem push #{g}"
251
+ else
252
+ puts "Not Pushing"
253
+ end
254
+ end
255
+ end
256
+ end
257
+
258
+ task :all => [:build]
259
+
260
+ end
261
+
262
+ task :all => ["framework:all", "abbot:all", "gems:all"]
263
+ task :push => ["framework:push", "abbot:push", "gems:push"]
264
+
265
+ end
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 6
4
- :patch: 0.beta.3
4
+ :patch: 0.rc.1
data/lib/Buildfile CHANGED
@@ -102,7 +102,11 @@ mode :all do
102
102
  # Whether to generate an app.manifest file for HTML5 application caching
103
103
  :html5_manifest => false,
104
104
  # Which networks/URLs to allow if HTML5 application caching is turned on
105
- :html5_manifest_networks => []
105
+ :html5_manifest_networks => [],
106
+
107
+ # whether to include touch icons in the index.html and other touch related
108
+ # properties
109
+ :touch_enabled => true
106
110
 
107
111
  end
108
112
 
@@ -145,6 +145,9 @@ namespace :manifest do
145
145
  end
146
146
  end
147
147
 
148
+ # allow if it is a handlebars template
149
+ next if entry[:ext] == "handlebars"
150
+
148
151
  # otherwise, allow if inside lproj
149
152
  next if entry.localized? || entry[:filename] =~ /^.+\.lproj\/.+$/
150
153
 
@@ -602,7 +605,10 @@ namespace :manifest do
602
605
  # build combined JS entry
603
606
  javascript_entries.each do |resource_name, entries|
604
607
  resource_name = resource_name.ext('js')
605
- pf = (resource_name == 'javascript.js') ? %w(source/lproj/strings.js source/core.js source/utils.js) : []
608
+ target_name = manifest.target.target_name.to_s.split('/')[-1]
609
+ pf = (resource_name == 'javascript.js') ?
610
+ ['source/lproj/strings.js', 'source/core.js', "source/#{target_name}.js", 'source/utils.js'] :
611
+ []
606
612
  manifest.add_composite resource_name,
607
613
  :build_task => 'build:combine',
608
614
  :source_entries => entries,
@@ -28,11 +28,12 @@ end
28
28
  config :bootstrap, :required => [], :use_modules => false
29
29
 
30
30
  config :jquery, :required => [], :test_required => [], :debug_required => []
31
+ config :yuireset, :required => [], :test_required => [], :debug_required => []
31
32
  config :handlebars, :required => []
32
33
  config :runtime, :required => [:jquery]
33
34
  config :'datetime/core', :required => [:runtime]
34
35
  config :datetime, :required => [:'datetime/core']
35
- config :core_foundation, :required => [:runtime, :handlebars]
36
+ config :core_foundation, :required => [:runtime, :handlebars, :yuireset]
36
37
  config :'datetime/localized', :required => [:core_foundation]
37
38
  config :routing, :required => [:core_foundation]
38
39
  config :foundation, :required => [:routing, :core_foundation, :datetime, :'datetime/localized', :ajax]
@@ -43,7 +44,7 @@ config :statechart, :required => [:core_foundation], :test_required => [:co
43
44
  config :ajax, :required => [:runtime, :core_foundation]
44
45
 
45
46
  # WRAPPER FRAMEWORKS
46
- config :sproutcore, :required => [:desktop, :datastore]
47
+ config :sproutcore, :required => [:desktop, :datastore, :statechart]
47
48
  config :mini, :required => [:runtime, :datastore]
48
49
  config :animation, :required => :foundation
49
50
 
@@ -1,7 +1,140 @@
1
-
2
1
  CHANGE LOG FOR 1.6
3
2
  ==================
4
3
 
4
+ 1.6.0.rc.1
5
+ ----------
6
+ * Added 'Show Progress' checkbox to Test Runner
7
+ * fixed the double call issue and changed the tests to reflect what really should go on.
8
+ * Adds failing unit test that demonstrates child arrays not playing nicely with array observers.
9
+ * TemplateCollectionView should not try to use a content object if it is not defined yet. Also pulls in Sven's fix to ensure that collections with custom tag names get the proper child tags.
10
+ * Invoke Handlebars observers at the end of the run loop. This ensures that DOM updates happen as close together as possible.
11
+ * Have Handlebars set up one-way bindings. This avoid potential cyclic bindings and is faster.
12
+ * Fix for when a TemplateCollectionView's content changes multiple times before its layer is created.
13
+ * Move around the stylesheets into its own framework.
14
+ * Move resets to their own framework.
15
+ * Adding in new CSS resets.
16
+ * Use new spy framework in button test
17
+ * Add ability to stub a method
18
+ * add spies to test framework
19
+ * On touch platforms, 'mousedown' & 'mouseup' were allowing default, but not tracking it for the later click event. This resulted in 'click' calling preventDefault & stopPropagation
20
+ * Attach prefix for core_tools' urls to allow to run apps on path other than /
21
+ * Move sc-hidden class to be outside of sc-view.
22
+ * Update deprecated SC.Button mixin to throw an error and changed the message.
23
+ * Fixed SC.Button template view class / mixin conflict.
24
+ * Don't call arrayContentDidChange() if storeKeys already exist; this will be handled by the next call to flush().
25
+ * SC.ArrayController should setup and teardown property chains when its underlying content object changes.
26
+ * Property chains should use objectAt in case they are used with array-likes instead of native arrays. Includes unit test of @each with SC.SparseArray.
27
+ * Clarify error thrown when editing a record array without an underlying store keys array.
28
+ * Remove sc-docs app and code as its been moved to the sproutcore/sc-docs repo
29
+ * Fixes #400. SC.CheckboxView now triggers an action on mouseUp/touchEnd + unit tests updates
30
+ * Fixed bug with ImageView. Fixes SC #380.
31
+ * Fixes #410. Scrolling in Opera is fixed.
32
+ * Fixes #414. Allows SC.routes to handle passing only a function.
33
+ * datastore/record_attribute: added tests for SC.DateTime to transform
34
+ * datastore/record_attribute: added Date as a possible transform type for SC.DateTime
35
+ * Fixes #434. Update checkbox & menu item PSDs to remove reduced saturation.
36
+ * Moved touch event handling into the returned pane
37
+ * Clean up some DataSource code and fix a failing test
38
+ * datastore/data_source: fixed SC.DataSource returning incorrect values on commitRecords
39
+ * Added MIXED_STATE to datastore
40
+ * datastore/data_source: added more tests; fixed additional bug with return status of commitRecords
41
+ * datastore/data_source: added tests for SC.DataSource
42
+ * replace() and isEditable computed property had different behavior for editing when a RecordArray was not backed by an SC.Query. This commit updates isEditable to reflect the behavior of replace().
43
+ * Have SC.RecordArray use the isEditable computed property instead of checking the query manually. This allows subclassers to implement consistent isEditable logic.
44
+ * Improve documentation for SC.RecordArray#replace
45
+ * Adds documentation for _scra_records property in record array.
46
+ * Remove trailing spaces from record array.
47
+ * Setting simulateTouchEvents before currentWindowSize has been set, will fail because simulateTouchEvents attempts to determine orientation using currentWindowSize.
48
+ * Potential update to button view
49
+ * SC.metricsForString() now also uses the 'letterSpacing' css property when calculating the size of a string
50
+ * remove weird encoding test which breaks abbot
51
+ * Small tweak
52
+ * improve markdown parsing and @link tags in the docs
53
+ * Updated documentation for sc-docs command
54
+ * Updated documentation for sc-docs command
55
+ * Add dependencies
56
+ * updated statechart docs
57
+ * fixed docs for render_delegate.js
58
+ * fixed handling of mouseDown and mouseUp when isSelectable is NO
59
+ * fixed autoResize to copy classNames properly to the metrics element
60
+ * fix RenderContext.element() to use SC.$ instead of a custom factory
61
+ * Add flag to know when unit tests have finished running.
62
+ * fixed measureString and metricsForString to actually respect when ignoreEscape is YES
63
+ * fixed container to create child using createChildView
64
+ * Removing strings.js file. No loc files should be in the framework unless is a very special case
65
+ * Rename all english.lproj directories inside sproutcore to resources
66
+ * SC.Logger.stringifyRecordedMessages broken
67
+ * Made the list view styling use chance
68
+ * Make sure not to call notifiers twice if the server's response status was 0
69
+ * Fixed all unit tests that were failing in IE. All the failing tests had to do with exiting and entering concurrent states. Issue was addressed using the updated SC.StatechartSequenceMatcher
70
+ * Refactored and updated SC.StatechartSequenceMatcher's functionality. It's now more flexible in how you construct sequences and how those sequences are matched
71
+ * Refactored some logic in the SC.StatechartMonitor class
72
+ * Refactored statechart code so that classes and class extensions are placed into their own respective files
73
+ * Updated SproutCore's Buildfile so that the statechart framework is part of the sproutcore wrapper framework
74
+ * Segment view changes for handling layerId
75
+ * Refactoring code in layerid code for menu
76
+ * support for layerId in Menu pane and Segment view.
77
+ * Added the sc-docs directory to the apps folder which includes the sc-docs command, the jsdoc-toolkit, and the new doc viewer app
78
+ * expanded view-related documentaiton
79
+ * Fixed view-related documentation
80
+ * Fix for loc(). Adding back to String.prototype, Talk to me if you have any problems with this commit
81
+ * Update for incorrect label view documentation
82
+ * fixed a bug with the SC.State.plugin logic. Now checks the klass variable if null
83
+ * updated SC.StatechartManager's tracing output
84
+ * removed code from statechart framework. Code was acting as a temporary stop-gap that is no longer needed. Was also causing unit tests to fail.
85
+ * Respect the new touch_enabled flag (defaults to true)
86
+ * fix to measure views when the become visible
87
+ * fixed bug which caused all non-webkit browsers to be treated like old safari versions
88
+ * fixed rows not having a default height - this fixes the test controls infinite loop
89
+ * Calculate minWidth/Height correctly.
90
+ * Perf tweaks for unit tests runner
91
+ * Make the unit test run faster by dumping results only until the end
92
+ * Temporary fix to select button
93
+ * Fixing the broken loc() function.
94
+ * Refactoring css core code. This change packs all .sc-view css rules into one. Also sets the default font on the body of the page instead of reapplying the rule in every view, this change might break some styling for some apps. Contact me if you have any doubts
95
+ * Disabling image preloading by default
96
+ * Fix the html examples of the routes file
97
+ * Fix documentation for SC.routes
98
+ * Fix problem with last merge
99
+ * Refactor base css styles to use SCSS
100
+ * Update to trimming functions
101
+ * Minor unit test bug fixes for IE
102
+ * Fixing SC.offset support for IE
103
+ * Adding trim functions only for IE
104
+ * Fixing trailing commas, and minor bugs related to IE. Also moved trim functions for strings back into core_foundation as IE doesn't support them, finally changes the icons library to use chance for slicing
105
+ * Fix up SC.PopupButtonView a bit
106
+ * Revert "Revert "fixed gotoState to pick a better default fromCurrentState when a statechart has concurrent states""
107
+ * fixed to respect escapeHTML property
108
+ * Move BindableSpan to core_foundation/views as system shouldn't depend on TemplateView
109
+ * Clean up global leaks
110
+ * improved documentation for previousValidKeyView and nextValidKeyView
111
+ * added tests for previousValidKeyView
112
+ * added test for parentView.lastKeyView priority over nextKeyView
113
+ * fixed next and previous to respect last and first, cleaned up while loops end condition
114
+ * Made changes to _supportsPlaceHolder function to make it work with Firefox4
115
+ * changed conditions for newRowPending code to handle the first child having startsNewRow correctly
116
+ * fixed bug in dealing with batchResizeId changing and stopped views that aren't visible from being measured
117
+ * fixed event passing for blur event
118
+ * fixed window leak
119
+ * removed debug code
120
+ * added tab functionality for selectButton since it has acceptsFirstResponder: YES
121
+ * fixed previousValidKeyView and cleaned up nextValidKeyView
122
+ * added some more warnings about correct usage to docs
123
+ * added tests for nextValidKeyView
124
+ * made pane.makeFirstResponder actually call responderContext.makeFirstResponder; this fixes hasFirstResponder not being set properly
125
+ * added more doc
126
+ * fixed bug in lastKeyView calculation, renamed private methods, and added documentation
127
+ * fixed default tab behavior in certain corner cases and added optional properties to make tab order easier for views that tab in a different order from their childViews order
128
+ * fixed firstResponder being set to null when a view resigns first responder
129
+ * Added support for attachIdentifyingHeaders to SC.Request so we can opt out of having custom headers set on each SC.Request
130
+ * updated styling for list views
131
+ * Get rid of 'uninitialized property' warning since it didn't really make
132
+ * If no listener handled a response, don't try twice if the base status is the same as the status.
133
+ * Fixed a bug with the support for notifying multiple listeners on a single status.
134
+ * Added unit test for multiple notifiers on a single status support in SC.Request
135
+ * Added support in SC.Request and SC.Response for multiple listeners per status
136
+
137
+
5
138
  1.6.0.beta.3
6
139
  ------------
7
140
  * Removed stray debugger statement that broke sc-build
@@ -27,6 +160,26 @@ CHANGE LOG FOR 1.6
27
160
  CHANGE LOG FOR 1.5
28
161
  ==================
29
162
 
163
+ Upcoming
164
+ -----
165
+
166
+ * Added ability to opt out of custom headers when making AJAX requests
167
+ * Allow multiple listeners per single response status
168
+ * Fixes for making panes properly handle first responder
169
+ * General CSS Cleanup throughout
170
+ * Add support for trim and loc back to string.js
171
+ * Bug fixes for IE7/8/9 support
172
+ * Fixed unit tests for IE
173
+ * Added unit tests for keyboard focus functionality
174
+ * Fix keyboard focus issues in the view layer
175
+ * Updated the styling of list views
176
+ * Fixed bugs with flowed_layout and auto_resize
177
+ * Small documentation fixes throughout
178
+ * Bug fixes for statecharts for IE support
179
+ * Improving the performance of the unit test runner
180
+ * Updated index.html for the latest versions of IE
181
+
182
+
30
183
  1.5.0
31
184
  -----
32
185