sproutcore 1.7.1.beta → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (445) hide show
  1. data/CHANGELOG +44 -0
  2. data/README.rdoc +20 -20
  3. data/VERSION.yml +3 -3
  4. data/lib/Buildfile +1 -1
  5. data/lib/buildtasks/build.rake +5 -0
  6. data/lib/buildtasks/manifest.rake +19 -1
  7. data/lib/frameworks/sproutcore/Buildfile +19 -17
  8. data/lib/frameworks/sproutcore/CHANGELOG.md +163 -29
  9. data/lib/frameworks/sproutcore/README.md +29 -8
  10. data/lib/frameworks/sproutcore/apps/statechart_routing/Buildfile +12 -0
  11. data/lib/frameworks/sproutcore/apps/statechart_routing/controllers/login_controller.js +11 -0
  12. data/lib/frameworks/sproutcore/apps/statechart_routing/controllers/main_controller.js +7 -0
  13. data/lib/frameworks/sproutcore/apps/statechart_routing/controllers/statechart_controller.js +17 -0
  14. data/lib/frameworks/sproutcore/apps/statechart_routing/core.js +25 -0
  15. data/lib/frameworks/sproutcore/apps/statechart_routing/main.js +15 -0
  16. data/lib/frameworks/sproutcore/apps/statechart_routing/resources/_theme.css +18 -0
  17. data/lib/frameworks/sproutcore/apps/statechart_routing/resources/bar_page.js +14 -0
  18. data/lib/frameworks/sproutcore/apps/statechart_routing/resources/foo_page.js +14 -0
  19. data/lib/frameworks/sproutcore/apps/statechart_routing/resources/loading.rhtml +9 -0
  20. data/lib/frameworks/sproutcore/apps/statechart_routing/resources/login_page.js +61 -0
  21. data/lib/frameworks/sproutcore/apps/statechart_routing/resources/main_page.js +46 -0
  22. data/lib/frameworks/sproutcore/apps/statechart_routing/statechart.js +76 -0
  23. data/lib/frameworks/sproutcore/apps/statechart_routing/theme.js +27 -0
  24. data/lib/frameworks/sproutcore/apps/tests/controllers/targets.js +1 -1
  25. data/lib/frameworks/sproutcore/apps/tests/states/no_targets.js +1 -1
  26. data/lib/frameworks/sproutcore/apps/tests/states/ready_detail.js +1 -1
  27. data/lib/frameworks/sproutcore/apps/tests/states/ready_empty.js +1 -1
  28. data/lib/frameworks/sproutcore/apps/tests/states/ready_list.js +1 -1
  29. data/lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js +1 -1
  30. data/lib/frameworks/sproutcore/apps/welcome/controllers/targets.js +1 -1
  31. data/lib/frameworks/sproutcore/frameworks/ajax/system/request.js +14 -1
  32. data/lib/frameworks/sproutcore/frameworks/ajax/system/response.js +15 -15
  33. data/lib/frameworks/sproutcore/frameworks/ajax/tests/system/request.js +1 -1
  34. data/lib/frameworks/sproutcore/frameworks/animation/core.js +8 -5
  35. data/lib/frameworks/sproutcore/frameworks/bootstrap/system/browser.js +302 -70
  36. data/lib/frameworks/sproutcore/frameworks/bootstrap/system/loader.js +19 -14
  37. data/lib/frameworks/sproutcore/frameworks/bootstrap/tests/system/browser.js +471 -149
  38. data/lib/frameworks/sproutcore/frameworks/core_foundation/controllers/array.js +3 -3
  39. data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/object.js +42 -0
  40. data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/run_loop.js +3 -2
  41. data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/string.js +7 -0
  42. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/action_support.js +1 -1
  43. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/delegate_support.js +2 -2
  44. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/responder_context.js +3 -3
  45. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/selection_support.js +1 -1
  46. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/body_overflow.js +63 -0
  47. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/keyboard.js +1 -1
  48. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/layout.js +37 -2
  49. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/main.js +28 -6
  50. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/pane.js +10 -3
  51. data/lib/frameworks/sproutcore/frameworks/core_foundation/protocols/sparse_array_delegate.js +2 -2
  52. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/browser.js +66 -2
  53. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/builder.js +1 -1
  54. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/cursor.js +1 -1
  55. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/event.js +58 -57
  56. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/locale.js +1 -1
  57. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/locale.js.orig +445 -0
  58. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/platform.js +51 -31
  59. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/ready.js +5 -1
  60. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/render_context.js +53 -69
  61. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/responder.js +1 -1
  62. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/root_responder.js +98 -72
  63. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/string.js +37 -3
  64. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/timer.js +7 -4
  65. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/array/array_case.js +21 -0
  66. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/object/content_destroyed.js +7 -7
  67. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/mixins/string.js +23 -1
  68. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/browser.js +66 -0
  69. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/event.js +22 -0
  70. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/locale.js +11 -11
  71. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/render_context/end.js +4 -4
  72. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/render_context/escape_html.js +41 -0
  73. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_className.js +1 -1
  74. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_style.js +8 -8
  75. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/render_context/update.js +17 -16
  76. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/selection_set/remove.js +1 -1
  77. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/build_children.js +1 -1
  78. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/class_name_bindings_test.js +15 -0
  79. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/createChildViews.js +5 -5
  80. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view.js +50 -30
  81. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/acceleration.js +46 -0
  82. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/animation.js +1 -43
  83. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/keyboard.js +8 -34
  84. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/layout.js +3 -2
  85. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/layout_style.js +10 -1
  86. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/manipulation.js +6 -5
  87. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/theming.js +22 -2
  88. data/lib/frameworks/sproutcore/frameworks/datastore/data_sources/data_source.js +2 -2
  89. data/lib/frameworks/sproutcore/frameworks/datastore/mixins/relationship_support.js +1 -1
  90. data/lib/frameworks/sproutcore/frameworks/datastore/models/child_attribute.js +0 -2
  91. data/lib/frameworks/sproutcore/frameworks/datastore/models/children_attribute.js +35 -0
  92. data/lib/frameworks/sproutcore/frameworks/datastore/models/record.js +46 -19
  93. data/lib/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +23 -9
  94. data/lib/frameworks/sproutcore/frameworks/datastore/models/single_attribute.js +2 -3
  95. data/lib/frameworks/sproutcore/frameworks/datastore/system/many_array.js +1 -1
  96. data/lib/frameworks/sproutcore/frameworks/datastore/system/nested_store.js +2 -2
  97. data/lib/frameworks/sproutcore/frameworks/datastore/system/query.js +294 -302
  98. data/lib/frameworks/sproutcore/frameworks/datastore/system/query.js.orig +1531 -0
  99. data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +4 -2
  100. data/lib/frameworks/sproutcore/frameworks/datastore/system/store.js +14 -11
  101. data/lib/frameworks/sproutcore/frameworks/datastore/tests/integration/many_array.js +63 -0
  102. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/many_attribute.js +1 -1
  103. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record.js +4 -4
  104. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array.js +50 -10
  105. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array_complex.js +4 -4
  106. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_complex.js +3 -3
  107. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record/destroy.js +1 -1
  108. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record/refresh.js +1 -1
  109. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record_attribute.js +1 -1
  110. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/single_attribute.js +114 -67
  111. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/nested_store/commitChangesFromNestedStore.js +1 -1
  112. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/nested_store/readDataHash.js +1 -1
  113. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/query/compare.js +54 -1
  114. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/query/evaluation.js +29 -9
  115. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/query/parse.js +1 -1
  116. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/core_methods.js +1 -1
  117. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/flush.js +1 -1
  118. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/cancelRecord.js +1 -1
  119. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/commitChangesFromNestedStore.js +1 -1
  120. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/commitRecord.js +37 -45
  121. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/find.js +127 -127
  122. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/pushChanges.js +16 -0
  123. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/pushRelationships.js +42 -4
  124. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/readDataHash.js +1 -1
  125. data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/core/system/datetime.js +13 -7
  126. data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/core/tests/system/datetime.js +8 -0
  127. data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/localized/resources/strings.js +2 -1
  128. data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/localized/system/datetime.js +1 -0
  129. data/lib/frameworks/sproutcore/frameworks/debug/core.js +3 -3
  130. data/lib/frameworks/sproutcore/frameworks/desktop/core.js +1 -1
  131. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +1 -1
  132. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_view_delegate.js +1 -1
  133. data/lib/frameworks/sproutcore/frameworks/desktop/panes/alert.js +1 -4
  134. data/lib/frameworks/sproutcore/frameworks/desktop/panes/menu.js +19 -6
  135. data/lib/frameworks/sproutcore/frameworks/desktop/panes/modal.js +30 -1
  136. data/lib/frameworks/sproutcore/frameworks/desktop/panes/palette.js +1 -1
  137. data/lib/frameworks/sproutcore/frameworks/desktop/panes/panel.js +24 -1
  138. data/lib/frameworks/sproutcore/frameworks/desktop/panes/picker.js +121 -28
  139. data/lib/frameworks/sproutcore/frameworks/desktop/panes/sheet.js +15 -15
  140. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drag_data_source.js +1 -1
  141. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drop_target.js +2 -2
  142. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/responder.js +2 -2
  143. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/button.js +39 -15
  144. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/collection.js +3 -3
  145. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/disclosure.js +2 -2
  146. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/image_button.js +2 -2
  147. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/panel.js +14 -6
  148. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js +3 -3
  149. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/progress.js +11 -11
  150. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/segment.js +4 -3
  151. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/segmented.js +1 -51
  152. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/slider.js +11 -16
  153. data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-error-48.png +0 -0
  154. data/lib/frameworks/sproutcore/frameworks/desktop/resources/slider.css +0 -2
  155. data/lib/frameworks/sproutcore/frameworks/desktop/system/drag.js +3 -3
  156. data/lib/frameworks/sproutcore/frameworks/desktop/system/undo_manager.js +3 -3
  157. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/alert/ui.js +9 -9
  158. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/button/content.js +11 -11
  159. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/button/ui.js +2 -1
  160. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/reload.js +1 -1
  161. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/date_field/ui.js +107 -81
  162. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/rowDelegate.js +3 -3
  163. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/progress/ui.js +68 -60
  164. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/radio/methods.js +57 -12
  165. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js +21 -19
  166. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroller.js +5 -0
  167. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/segmented/ui.js +2 -2
  168. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/select/ui.js +32 -3
  169. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/split/methods.js +12 -0
  170. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/stacked/ui_comments.js +12 -0
  171. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/tab/methods.js +0 -8
  172. data/lib/frameworks/sproutcore/frameworks/desktop/views/button.js +77 -132
  173. data/lib/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +5 -6
  174. data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +16 -15
  175. data/lib/frameworks/sproutcore/frameworks/desktop/views/date_field.js +52 -52
  176. data/lib/frameworks/sproutcore/frameworks/desktop/views/disclosure.js +1 -1
  177. data/lib/frameworks/sproutcore/frameworks/desktop/views/grid.js +1 -1
  178. data/lib/frameworks/sproutcore/frameworks/desktop/views/list.js +147 -147
  179. data/lib/frameworks/sproutcore/frameworks/desktop/views/list_item.js +11 -2
  180. data/lib/frameworks/sproutcore/frameworks/desktop/views/menu_item.js +2 -2
  181. data/lib/frameworks/sproutcore/frameworks/desktop/views/menu_scroll.js +5 -5
  182. data/lib/frameworks/sproutcore/frameworks/desktop/views/popup_button.js +22 -12
  183. data/lib/frameworks/sproutcore/frameworks/desktop/views/radio.js +13 -7
  184. data/lib/frameworks/sproutcore/frameworks/desktop/views/scene.js +2 -2
  185. data/lib/frameworks/sproutcore/frameworks/desktop/views/scroll.js +462 -441
  186. data/lib/frameworks/sproutcore/frameworks/desktop/views/scroller.js +48 -62
  187. data/lib/frameworks/sproutcore/frameworks/desktop/views/segment.js +22 -2
  188. data/lib/frameworks/sproutcore/frameworks/desktop/views/segmented.js +150 -32
  189. data/lib/frameworks/sproutcore/frameworks/desktop/views/select.js +104 -45
  190. data/lib/frameworks/sproutcore/frameworks/desktop/views/select_button.js +42 -20
  191. data/lib/frameworks/sproutcore/frameworks/desktop/views/slider.js +24 -24
  192. data/lib/frameworks/sproutcore/frameworks/desktop/views/split.js +148 -154
  193. data/lib/frameworks/sproutcore/frameworks/desktop/views/stacked.js +2 -2
  194. data/lib/frameworks/sproutcore/frameworks/desktop/views/static_content.js +2 -2
  195. data/lib/frameworks/sproutcore/frameworks/desktop/views/tab.js +8 -7
  196. data/lib/frameworks/sproutcore/frameworks/desktop/views/web.js +2 -2
  197. data/lib/frameworks/sproutcore/frameworks/experimental/Buildfile +2 -0
  198. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/controllers/files.js +1 -1
  199. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/controllers/library.js +1 -1
  200. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/controllers/targets.js +1 -1
  201. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/controllers/view_configs.js +1 -1
  202. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/mixins/drop_down.js +1 -1
  203. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/states/ready.js +1 -1
  204. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/views/plist_item.js +1 -1
  205. data/lib/frameworks/sproutcore/frameworks/experimental/apps/greenhouse/views/web.js +1 -1
  206. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/controllers/page_design.js +2 -2
  207. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/css/css_style_sheet.js +2 -2
  208. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/designers/object_designer.js +1 -1
  209. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/designers/view_designer.js +2 -2
  210. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/mixins/snap_lines.js +3 -3
  211. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/designer_drop_target.js +1 -1
  212. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/drawing.js +21 -21
  213. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/page_item_view.js +1 -1
  214. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/views/form.js +59 -53
  215. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/menu/views/menu/scroll.js +2 -2
  216. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/tests/models/polymorphism/simple.js +1 -1
  217. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/core_scroll.js +6 -6
  218. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/desktop/scroll.js +2 -2
  219. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/touch/scroll.js +2 -2
  220. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/ext/menu.js +14 -10
  221. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/ext/menu_item.js +17 -6
  222. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/views/popup_button.js +38 -14
  223. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/views/select.js +5 -13
  224. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/mixins/split_child.js +1 -1
  225. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/mixins/split_thumb.js +5 -3
  226. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/tests/children.js +19 -0
  227. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/tests/methods.js +20 -2
  228. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/tests/split_thumb.js +1 -1
  229. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/views/split.js +35 -12
  230. data/lib/frameworks/sproutcore/frameworks/formatters/README +6 -0
  231. data/lib/frameworks/sproutcore/frameworks/formatters/english.lproj/strings.js +174 -0
  232. data/lib/frameworks/sproutcore/frameworks/formatters/formatters/date_formatter.js +351 -0
  233. data/lib/frameworks/sproutcore/frameworks/formatters/tests/date_formatter.js +517 -0
  234. data/lib/frameworks/sproutcore/frameworks/foundation/core.js +1 -1
  235. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/auto_resize.js +345 -138
  236. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/button.js +5 -3
  237. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/content_value_support.js +176 -42
  238. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/editable.js +1 -1
  239. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/flowed_layout.js +137 -105
  240. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/gestureable.js +2 -2
  241. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_editable.js +2 -2
  242. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_editor.js +16 -1
  243. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/static_layout.js +1 -1
  244. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/validatable.js +47 -47
  245. data/lib/frameworks/sproutcore/frameworks/foundation/private/tree_item_observer.js +3 -3
  246. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/helpers/sizing.js +1 -1
  247. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/label.js +28 -6
  248. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/render_delegate.js +1 -1
  249. data/lib/frameworks/sproutcore/frameworks/foundation/resources/benchmark.css +0 -5
  250. data/lib/frameworks/sproutcore/frameworks/foundation/resources/bootstrap.rhtml +34 -19
  251. data/lib/frameworks/sproutcore/frameworks/foundation/resources/button_view.css +0 -2
  252. data/lib/frameworks/sproutcore/frameworks/foundation/resources/label.css +1 -5
  253. data/lib/frameworks/sproutcore/frameworks/foundation/resources/text_field.css +8 -9
  254. data/lib/frameworks/sproutcore/frameworks/foundation/system/benchmark.js +2 -2
  255. data/lib/frameworks/sproutcore/frameworks/foundation/system/module.js +179 -47
  256. data/lib/frameworks/sproutcore/frameworks/foundation/system/task_queue.js +34 -1
  257. data/lib/frameworks/sproutcore/frameworks/foundation/system/text_selection.js +1 -1
  258. data/lib/frameworks/sproutcore/frameworks/foundation/system/user_defaults.js +26 -12
  259. data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/misc.js +7 -7
  260. data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/string_measurement.js +12 -4
  261. data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/string_metric_optimization.js +202 -0
  262. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/content_value_support/content.js +77 -8
  263. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/flowed_layout/tests.js +1 -0
  264. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editable/beginEditing.js +2 -2
  265. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editable/commitEditing.js +4 -3
  266. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editable/discardEditing.js +4 -2
  267. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editor/beginEditing.js +2 -2
  268. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editor/commitEditing.js +4 -2
  269. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editor/discardEditing.js +4 -2
  270. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/utils/pointInElement.js +2 -2
  271. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/label/ui.js +0 -8
  272. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/text_field/ui.js +163 -149
  273. data/lib/frameworks/sproutcore/frameworks/foundation/validators/credit_card.js +1 -1
  274. data/lib/frameworks/sproutcore/frameworks/foundation/validators/date.js +1 -1
  275. data/lib/frameworks/sproutcore/frameworks/foundation/validators/date_time.js +1 -1
  276. data/lib/frameworks/sproutcore/frameworks/foundation/validators/password.js +1 -1
  277. data/lib/frameworks/sproutcore/frameworks/foundation/validators/validator.js +3 -3
  278. data/lib/frameworks/sproutcore/frameworks/foundation/views/field.js +16 -43
  279. data/lib/frameworks/sproutcore/frameworks/foundation/views/image.js +4 -3
  280. data/lib/frameworks/sproutcore/frameworks/foundation/views/inline_text_field.js +67 -54
  281. data/lib/frameworks/sproutcore/frameworks/foundation/views/label.js +49 -38
  282. data/lib/frameworks/sproutcore/frameworks/foundation/views/text_field.js +285 -242
  283. data/lib/frameworks/sproutcore/frameworks/jquery/jquery-buffer.js +13 -13
  284. data/lib/frameworks/sproutcore/frameworks/jquery/jquery-buffered.js +19 -22
  285. data/lib/frameworks/sproutcore/frameworks/jquery/jquery-sc.js +9 -3
  286. data/lib/frameworks/sproutcore/frameworks/jquery/jquery.js +231 -186
  287. data/lib/frameworks/sproutcore/frameworks/media/views/audio.js +145 -143
  288. data/lib/frameworks/sproutcore/frameworks/media/views/video.js +156 -154
  289. data/lib/frameworks/sproutcore/frameworks/qunit/qunit/qunit.js +5 -5
  290. data/lib/frameworks/sproutcore/frameworks/routing/system/routes.js +3 -3
  291. data/lib/frameworks/sproutcore/frameworks/routing/system/routes.js.orig +540 -0
  292. data/lib/frameworks/sproutcore/frameworks/routing/tests/system/routes.js +2 -2
  293. data/lib/frameworks/sproutcore/frameworks/runtime/core.js +15 -8
  294. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/base.js +5 -5
  295. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/replace.js +12 -0
  296. data/lib/frameworks/sproutcore/frameworks/runtime/ext/function.js +2 -2
  297. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/array.js +1 -1
  298. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/copyable.js +1 -1
  299. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/enumerable.js +7 -7
  300. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/observable.js +98 -32
  301. data/lib/frameworks/sproutcore/frameworks/runtime/private/chain_observer.js +7 -2
  302. data/lib/frameworks/sproutcore/frameworks/runtime/private/observer_queue.js +14 -3
  303. data/lib/frameworks/sproutcore/frameworks/runtime/private/observer_set.js +98 -13
  304. data/lib/frameworks/sproutcore/frameworks/runtime/system/binding.js +8 -14
  305. data/lib/frameworks/sproutcore/frameworks/runtime/system/enumerator.js +1 -1
  306. data/lib/frameworks/sproutcore/frameworks/runtime/system/error.js +2 -2
  307. data/lib/frameworks/sproutcore/frameworks/runtime/system/index_set.js +23 -6
  308. data/lib/frameworks/sproutcore/frameworks/runtime/system/logger.js +69 -18
  309. data/lib/frameworks/sproutcore/frameworks/runtime/system/object.js +57 -31
  310. data/lib/frameworks/sproutcore/frameworks/runtime/system/run_loop.js +189 -14
  311. data/lib/frameworks/sproutcore/frameworks/runtime/system/string.js +82 -22
  312. data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/observable/chained.js +20 -0
  313. data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/observable/observable.js +125 -4
  314. data/lib/frameworks/sproutcore/frameworks/runtime/tests/private/observer_queue.js +1 -1
  315. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/binding.js +2 -2
  316. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/rangeStartForIndex.js +37 -0
  317. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/remove.js +2 -2
  318. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/logger.js +16 -0
  319. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/run_loop.js +75 -4
  320. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/string.js +41 -0
  321. data/lib/frameworks/sproutcore/frameworks/statechart/mixins/statechart_delegate.js +113 -0
  322. data/lib/frameworks/sproutcore/frameworks/statechart/private/state_path_matcher.js +312 -0
  323. data/lib/frameworks/sproutcore/frameworks/statechart/system/async.js +18 -22
  324. data/lib/frameworks/sproutcore/frameworks/statechart/system/state.js +508 -131
  325. data/lib/frameworks/sproutcore/frameworks/statechart/system/state_route_handler_context.js +78 -0
  326. data/lib/frameworks/sproutcore/frameworks/statechart/system/statechart.js +265 -44
  327. data/lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/basic/with_concurrent_states.js +16 -0
  328. data/lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/responder/responder_chain.js +11 -3
  329. data/lib/frameworks/sproutcore/frameworks/statechart/tests/private/state_path_matcher.js +116 -0
  330. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/methods/add_substate.js +108 -0
  331. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/methods/find_first_relative_current_state/with_concurrent.js +179 -0
  332. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/methods/find_first_relative_current_state/without_concurrent.js +74 -0
  333. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/methods/get_state.js +141 -0
  334. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/methods/get_substate.js +340 -0
  335. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/methods/route_triggered.js +161 -0
  336. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/methods/try_to_handle_event.js +288 -0
  337. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/history_state/standard/without_concurrent_states/context.js +5 -33
  338. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/routing/with_concurrent_states/basic.js +213 -0
  339. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/routing/without_concurrent_states/basic.js +212 -0
  340. data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/standard/without_concurrent_states/core.js +8 -0
  341. data/lib/frameworks/sproutcore/frameworks/statechart/tests/{state/namespacing.js → statechart/methods/get_state.js} +3 -41
  342. data/lib/frameworks/sproutcore/frameworks/statechart/tests/statechart/{invoke_state_method.js → methods/invoke_state_method.js} +1 -1
  343. data/lib/frameworks/sproutcore/frameworks/statechart/tests/{event_handling/advanced → statechart}/respond_to_event.js +1 -1
  344. data/lib/frameworks/sproutcore/frameworks/statechart/tests/system/state_route_handler_context/methods/retry.js +64 -0
  345. data/lib/frameworks/sproutcore/frameworks/table/core.js +2 -0
  346. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/controls/button.js +0 -1
  347. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/ext/handlebars.js +29 -5
  348. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/ext/handlebars/bind.js +4 -3
  349. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/ext/handlebars/collection.js +0 -0
  350. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/ext/handlebars/localization.js +0 -0
  351. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/ext/handlebars/view.js +0 -0
  352. data/lib/frameworks/sproutcore/frameworks/{handlebars → template_view}/handlebars.js +493 -357
  353. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/mixins/template_helpers/checkbox_support.js +0 -0
  354. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/mixins/template_helpers/text_field_support.js +13 -2
  355. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/panes/template.js +0 -0
  356. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/tests/controls/button.js +0 -0
  357. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/tests/mixins/template_helpers/checkbox_support.js +0 -0
  358. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/tests/mixins/template_helpers/text_field_support.js +0 -0
  359. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/tests/panes/template.js +0 -0
  360. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/tests/views/template/collection.js +39 -14
  361. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/tests/views/template/core.js +0 -0
  362. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/tests/views/template/handlebars.js +57 -6
  363. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/views/bindable_span.js +21 -6
  364. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/views/template.js +9 -3
  365. data/lib/frameworks/sproutcore/frameworks/{core_foundation → template_view}/views/template_collection.js +55 -26
  366. data/lib/frameworks/sproutcore/frameworks/testing/system/equiv.js +1 -1
  367. data/lib/frameworks/sproutcore/frameworks/testing/system/plan.js +122 -122
  368. data/lib/frameworks/sproutcore/frameworks/testing/system/runner.js +2 -2
  369. data/lib/frameworks/sproutcore/frameworks/testing/system/suite.js +4 -4
  370. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/base.css +1 -1
  371. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/reset.css +0 -1
  372. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/view.css +4 -4
  373. data/lib/frameworks/sproutcore/lib/index.rhtml +55 -32
  374. data/lib/frameworks/sproutcore/license.js +2 -4
  375. data/lib/frameworks/sproutcore/themes/ace/resources/body.css +5 -1
  376. data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/18px/button.css +2 -2
  377. data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/button.css +21 -13
  378. data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/button.css +17 -10
  379. data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/44px/button.css +4 -3
  380. data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/button.css +20 -12
  381. data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/button.css +16 -8
  382. data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/jumbo/button.css +17 -0
  383. data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/small/button.css +17 -0
  384. data/lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure.css +2 -2
  385. data/lib/frameworks/sproutcore/themes/ace/resources/master-detail/master-detail.css +2 -2
  386. data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover.css +5 -3
  387. data/lib/frameworks/sproutcore/themes/iphone_theme/english.lproj/core.css +1 -1
  388. data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/toolbar.css +1 -1
  389. data/lib/gen/app/USAGE +17 -4
  390. data/lib/gen/language/Buildfile +4 -4
  391. data/lib/gen/language/USAGE +4 -4
  392. data/lib/gen/page/templates/pages/@target_name@/Buildfile +7 -7
  393. data/lib/gen/{html_app → statechart_app}/Buildfile +0 -0
  394. data/lib/gen/{html_app → statechart_app}/README +0 -0
  395. data/lib/gen/statechart_app/USAGE +21 -0
  396. data/lib/gen/statechart_app/templates/apps/@target_name@/Buildfile +9 -0
  397. data/lib/gen/statechart_app/templates/apps/@target_name@/core.js +24 -0
  398. data/lib/gen/statechart_app/templates/apps/@target_name@/main.js +26 -0
  399. data/lib/gen/statechart_app/templates/apps/@target_name@/resources/_theme.css +18 -0
  400. data/lib/gen/statechart_app/templates/apps/@target_name@/resources/loading.rhtml +9 -0
  401. data/lib/gen/statechart_app/templates/apps/@target_name@/resources/main_page.js +21 -0
  402. data/lib/gen/statechart_app/templates/apps/@target_name@/statechart.js +8 -0
  403. data/lib/gen/statechart_app/templates/apps/@target_name@/states/ready_state.js +12 -0
  404. data/lib/gen/statechart_app/templates/apps/@target_name@/theme.js +24 -0
  405. data/lib/sproutcore/builders.rb +1 -0
  406. data/lib/sproutcore/builders/base.rb +19 -1
  407. data/lib/sproutcore/builders/chance_file.rb +6 -1
  408. data/lib/sproutcore/builders/handlebars.rb +1 -9
  409. data/lib/sproutcore/builders/javascript.rb +1 -10
  410. data/lib/sproutcore/builders/json.rb +25 -0
  411. data/lib/sproutcore/builders/less.rb +1 -1
  412. data/lib/sproutcore/builders/sass.rb +1 -1
  413. data/lib/sproutcore/builders/stylesheet.rb +1 -9
  414. data/lib/sproutcore/helpers/html5_manifest.rb +1 -1
  415. data/lib/sproutcore/helpers/static_helper.rb +42 -0
  416. data/lib/sproutcore/rack/proxy.rb +21 -3
  417. data/lib/sproutcore/rack/service.rb +3 -2
  418. data/lib/sproutcore/tools.rb +18 -25
  419. data/lib/sproutcore/tools/gen.rb +10 -3
  420. data/lib/sproutcore/tools/init.rb +11 -10
  421. data/spec/buildtasks/manifest/prepare_build_tasks/json_spec.rb +62 -0
  422. data/spec/fixtures/builder_tests/apps/handlebars_test/Buildfile +1 -1
  423. data/spec/fixtures/builder_tests/apps/json_test/sc_static.json +2 -0
  424. data/spec/lib/builders/json_spec.rb +53 -0
  425. data/sproutcore.gemspec +2 -2
  426. data/vendor/chance/lib/chance/parser.rb +1 -1
  427. metadata +222 -177
  428. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/datetime.js +0 -0
  429. data/lib/frameworks/sproutcore/frameworks/debug/invoke_once_last_debugging.js +0 -259
  430. data/lib/frameworks/sproutcore/frameworks/documentation/core.js +0 -0
  431. data/lib/frameworks/sproutcore/frameworks/foundation/system/chance.js +0 -69
  432. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/editable/ui.js +0 -44
  433. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/ui.js +0 -64
  434. data/lib/frameworks/sproutcore/frameworks/mini/license.js +0 -30
  435. data/lib/gen/html_app/USAGE +0 -15
  436. data/lib/gen/html_app/templates/apps/@target_name@/@target_name@.js +0 -11
  437. data/lib/gen/html_app/templates/apps/@target_name@/resources/images/.gitkeep +0 -0
  438. data/lib/gen/html_app/templates/apps/@target_name@/resources/stylesheets/@target_name@.css +0 -6
  439. data/lib/gen/html_app/templates/apps/@target_name@/resources/templates/@target_name@.handlebars +0 -1
  440. data/lib/gen/html_project/Buildfile +0 -45
  441. data/lib/gen/html_project/INIT +0 -3
  442. data/lib/gen/html_project/README +0 -1
  443. data/lib/gen/html_project/USAGE +0 -2
  444. data/lib/gen/html_project/templates/@filename@/Buildfile +0 -5
  445. data/lib/gen/html_project/templates/@filename@/README +0 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,47 @@
1
+ *SproutCore 1.8.0 (March 06, 2012)*
2
+
3
+ * Bumped the gem version to 1.8.0
4
+ * Bumped SC to REL-1.8.0
5
+ * Merge pull request #84 from pulletsforever/dwk/manifest.appcache
6
+ * Merge pull request #74 from dkduck/redirect-fix
7
+ * Figuring out how to use the language generator properly was hard to decipher, so I made the first argument the target app and the second argument the language. If no target app is given, it falls back to the default behaviour, which requires a target.
8
+ * Fixed documentation of app and statechart_app generators.
9
+ * Removed the statechart_project generator. It was identical to the project generator.
10
+ * Bumped version to 1.8.0 and bumped SC framework to latest.
11
+ * Add --statechart switch support when using sc-gen app or sc-gen project (not that it has an effect with sc-gen project, but someday it may).
12
+ * Removed templates for html_app.
13
+ * Removed deprecated options and removed --template which doesn't create a skeleton useful for a 1.8 project.
14
+ * Fixed --dry-run option to work for sc-init and sc-gen.
15
+ * Updated app.manifest to be manifest.appcache per http://html5.org/r/5812
16
+ * Merge pull request #81 from sproutcore/team/workmanw/windows-spriting-fix
17
+ * Bumped SC version.
18
+ * The :mini framework (which was empty) has been removed from SproutCore for 1.8.
19
+ * Added check before writing chance stuff to a file. If it's writing a png file it will be written as binary. This fixes spriting on Windows, previously newlines were converted to CRLF on Windows.
20
+ * Merge pull request #79 from sproutcore/team/workmanw/sc-init-template-buildfile-fix
21
+ * Updated abbot's Buildfile templates to reflect the changes made to sproutcore/master regarding moving the template system out of 'core_foundation' and into it's own framework 'template_view'.
22
+ * This only returned the lines that matched and removed those that didn't.
23
+ * Merge public branch
24
+ * Merge pull request #76 from ChadEubanks/master
25
+ * fixed a typo in description.
26
+ * updated init.rb to call a statechart_project upon creation of an app using the --statechart switch and included a description of the inital files created in the statechart_project INIT file.
27
+ * fixed indentation of the statechart.js file.
28
+ * moved statechart.js to root of app directory, set up the statechart with just an initial ready state, and revised the property readyState to have proper casing.
29
+ * updated statecharts switch to be --statechart and revised the generated code for statechart_app.
30
+ * Modified abbot to have a state switch on sc-init. This builds a new sproutcore project with statecharts by default.
31
+ * Modified abbot to have a state switch on sc-init. This builds a new sproutcore project with statecharts by default.
32
+ * updated sc-init to include statecharts out of the box.
33
+ * Merging public branch
34
+ * Bumping js library submodule
35
+ * Preprocess JSON files for static_urrl
36
+ * Instead of overriding "readlines" everywhere, add a new "read" method and use that instead...
37
+ * fixes a bug with automatically following redirects to external hosts
38
+ * Typo. The proper setting is : connect_timeout
39
+ * em-http changed the single :timeout setting to separate :inactivity_timeout and :connection_timeout settings, so this exposes these timeouts to the proxy config. Note, this still works with current Buildfiles since proxy[:timeout] is mapped over to :inactivity_timeout of em-http.
40
+ * More complete fix for #69, thanks rykov!
41
+ * Ruby 1.8 only allows splats for the last argument - Fixes #69
42
+ * Updated StaticHelper to include the image_urls_for_client function
43
+ * Typo prevented skipping of `top-right`
44
+
1
45
  *SproutCore 1.7.1.beta (August 30, 2011)*
2
46
 
3
47
  MINOR FEATURES
data/README.rdoc CHANGED
@@ -6,38 +6,38 @@
6
6
 
7
7
  == DESCRIPTION:
8
8
 
9
- SproutCore is a platform for building native look-and-feel applications on
10
- the web. This Ruby library includes a copy of the SproutCore JavaScript
9
+ SproutCore is a platform for building native look-and-feel applications on
10
+ the web. This Ruby library includes a copy of the SproutCore JavaScript
11
11
  framework as well as a Ruby-based build system called Abbot.
12
12
 
13
- Abbot is a build system for creating static web content. You can supply Abbot with a collection of JavaScript, HTML, CSS and image files and it will
14
- combine the files into a bundle that are optimized for efficient, cached
13
+ Abbot is a build system for creating static web content. You can supply Abbot with a collection of JavaScript, HTML, CSS and image files and it will
14
+ combine the files into a bundle that are optimized for efficient, cached
15
15
  deliver directly from your server or using a CDN.
16
16
 
17
- Some of the benefits of using Abbot versus assembling your own content
17
+ Some of the benefits of using Abbot versus assembling your own content
18
18
  include:
19
19
 
20
- * Easy maintenance. Organize your source content in a way that is useful for
20
+ * Easy maintenance. Organize your source content in a way that is useful for
21
21
  you without impacting performance on loaded apps.
22
-
22
+
23
23
  * Automatically versioned URLs. Serve content with long expiration dates
24
24
  while Abbot handles the cache invalidation for you.
25
-
25
+
26
26
  * Dependency management. Divide your code into frameworks; load 3rd party
27
27
  libraries. Abbot will make sure everything loads in the correct order.
28
-
28
+
29
29
  * Packing. Combines JavaScript and CSS into single files to minimize the
30
30
  number of resources you download for each page.
31
-
32
- Although Abbot is intended primarily for building Web applications that
31
+
32
+ Although Abbot is intended primarily for building Web applications that
33
33
  use the SproutCore JavaScript framework, you can also use it to efficiently build any kind of static web content, even if SproutCore is not involved.
34
34
 
35
- Abbot can be used both directly from the command line or as a ruby library.
36
-
35
+ Abbot can be used both directly from the command line or as a ruby library.
36
+
37
37
  == USING ABBOT WITH SPROUTCORE:
38
38
 
39
39
  This gem includes both the Abbot build tools and a copy of the SproutCore
40
- JavaScript framework. You can use built-in commands to create, develop,
40
+ JavaScript framework. You can use built-in commands to create, develop,
41
41
  build, and deploy SproutCore-based applications.
42
42
 
43
43
  == USING ABBOT FROM SOURCE:
@@ -68,32 +68,32 @@ These steps will allow the use of a development release of abbot rather than an
68
68
  == KNOWN LIMITATIONS:
69
69
 
70
70
  * Currently does not support sites using relative-links. You must specify
71
- the absolute path you expect built targets to be hosted as.
71
+ the absolute path you expect built targets to be hosted as.
72
72
 
73
73
  == SYNOPSIS:
74
74
 
75
75
  To create a new project:
76
76
 
77
77
  sc-init my_app
78
-
78
+
79
79
  To test said project:
80
80
 
81
81
  cd my_app
82
82
  sc-server
83
83
  open http://localhost:4020/my_app (in web browser)
84
-
84
+
85
85
  Write code, refresh, debug. Once you are ready to deploy, build your static
86
86
  output using:
87
87
 
88
88
  cd my_app
89
89
  sc-build my_app -rc
90
-
90
+
91
91
  Copy the resulting files found in my_app/tmp/build to your server and you are
92
92
  deployed!
93
93
 
94
94
  == REQUIREMENTS:
95
95
 
96
- * Ruby 1.8.6 or later. Ruby 1.9 is currently untested
96
+ * Ruby 1.8.6 or later.
97
97
  * extlib 0.9.9 or later
98
98
  * rack 0.9.1 or later
99
99
  * erubis 2.6.2 or later
@@ -105,7 +105,7 @@ sudo gem install sproutcore
105
105
 
106
106
  == LICENSE:
107
107
 
108
- Copyright (c) 2009 Apple Inc.
108
+ Copyright (c) 2009 Apple Inc.
109
109
  Portions copyright (c) 2006-2011 Strobe Inc. and contributors
110
110
 
111
111
  Permission is hereby granted, free of charge, to any person obtaining
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  :major: 1
3
- :minor: 7
4
- :patch: 1.beta
3
+ :minor: 8
4
+ :patch: 0
data/lib/Buildfile CHANGED
@@ -117,7 +117,7 @@ mode :all do
117
117
  # A hash of additional MIME types, i.e. { '.m4a' => 'audio/mp4a-latm' }
118
118
  :mime_types => {},
119
119
 
120
- # Whether to generate an app.manifest file for HTML5 application caching
120
+ # Whether to generate an manifest.appcache file for HTML5 application caching
121
121
  :html5_manifest => false,
122
122
  # Which networks/URLs to allow if HTML5 application caching is turned on
123
123
  :html5_manifest_networks => [],
@@ -58,6 +58,11 @@ namespace :build do
58
58
  SC::Builder::JavaScript.build env[:entry], env[:dst_path]
59
59
  end
60
60
 
61
+ desc "builds a single json file"
62
+ build_task :json do |task, env|
63
+ SC::Builder::JSON.build env[:entry], env[:dst_path]
64
+ end
65
+
61
66
  desc "builds an html file, possibly executing render tasks"
62
67
  build_task :html do |task, env|
63
68
  SC::Builder::Html.build env[:entry], env[:dst_path]
@@ -180,7 +180,7 @@ namespace :manifest do
180
180
  namespace :prepare_build_tasks do
181
181
 
182
182
  desc "main entrypoint for preparing all build tasks. This should invoke all needed tasks"
183
- task :all => %w(css handlebars javascript module_info sass less combine string_wrap minify string_wrap html strings tests packed split)
183
+ task :all => %w(css json handlebars javascript module_info sass less combine string_wrap minify string_wrap html strings tests packed split)
184
184
 
185
185
  desc "executes prerequisites needed before one of the subtasks can be invoked. All subtasks that have this as a prereq"
186
186
  task :setup => %w(manifest:catalog manifest:hide_buildfiles manifest:localize)
@@ -264,6 +264,24 @@ namespace :manifest do
264
264
  entry.discover_build_directives!
265
265
  end
266
266
  end
267
+
268
+ desc "scans for json files, processing SC directives like sc_static"
269
+ task :json => :setup do |task, env|
270
+ manifest = env[:manifest]
271
+ target = env[:target]
272
+ config = CONFIG
273
+
274
+ # select all original entries with with ext of css
275
+ entries = manifest.entries.select do |e|
276
+ e.original? && e[:ext] == 'json'
277
+ end
278
+
279
+ # add transform & tag with build directives.
280
+ entries.each do |entry|
281
+ entry = manifest.add_transform entry,
282
+ :build_task => 'build:json'
283
+ end
284
+ end
267
285
 
268
286
  desc "scans for css files, creates a transform and annotates them"
269
287
  task :css => :setup do |task, env|
@@ -4,12 +4,12 @@
4
4
  # portions copyright Strobe Inc. and contributors
5
5
  # ==========================================================================
6
6
 
7
- # This buildfile defines the configurations needed to link together the
7
+ # This buildfile defines the configurations needed to link together the
8
8
  # various frameworks that make up SproutCore. If you want to override some
9
- # of these settings, you should make changes to your project Buildfile
9
+ # of these settings, you should make changes to your project Buildfile
10
10
  # instead.
11
11
 
12
- config :all,
12
+ config :all,
13
13
  :layout => 'sproutcore:lib/index.rhtml',
14
14
  :test_layout => 'sproutcore:lib/index.rhtml',
15
15
  :test_required => ['sproutcore/testing'],
@@ -19,7 +19,7 @@ config :all,
19
19
  # while working with apps. If you are hacking SC itself, you can turn this
20
20
  # off in your project buildfile by referencing sproutcore specifically
21
21
  mode :debug do
22
- config :all,
22
+ config :all,
23
23
  :combine_javascript => true,
24
24
  :combine_stylesheet => true
25
25
  end
@@ -29,23 +29,25 @@ config :bootstrap, :required => [], :use_modules => false
29
29
 
30
30
  config :jquery, :required => [], :test_required => [], :debug_required => []
31
31
  config :yuireset, :required => [], :test_required => [], :debug_required => []
32
- config :handlebars, :required => []
32
+ config :template_view, :required => [:core_foundation], :test_required => [:core_foundation]
33
33
  config :runtime, :required => [:jquery]
34
34
  config :'datetime/core', :required => [:runtime]
35
35
  config :datetime, :required => [:'datetime/core']
36
- config :core_foundation, :required => [:runtime, :handlebars, :yuireset]
36
+ config :core_foundation, :required => [:runtime, :yuireset]
37
37
  config :'datetime/localized', :required => [:core_foundation]
38
38
  config :routing, :required => [:core_foundation]
39
39
  config :foundation, :required => [:routing, :core_foundation, :datetime, :'datetime/localized', :ajax]
40
40
  config :datastore, :required => [:runtime, :datetime]
41
+ config :formatters, :required => [:runtime, :foundation]
41
42
  config :desktop, :required => [:foundation]
42
43
  config :media, :required => [:desktop]
43
- config :statechart, :required => [:core_foundation], :test_required => [:core_foundation, :desktop]
44
+ config :statechart, :required => [:core_foundation], :test_required => [:core_foundation, :desktop, :routing]
44
45
  config :ajax, :required => [:runtime, :core_foundation]
45
46
 
47
+ config :"experimental/split_view", :test_required => [:desktop]
48
+
46
49
  # WRAPPER FRAMEWORKS
47
- config :sproutcore, :required => [:desktop, :datastore, :statechart]
48
- config :mini, :required => [:runtime, :datastore]
50
+ config :sproutcore, :required => [:desktop, :datastore, :statechart, :template_view]
49
51
  config :animation, :required => :foundation
50
52
 
51
53
  config :qunit, :required => []
@@ -54,30 +56,30 @@ config :testing, :required => [:jquery], :test_required => [], :debug_required =
54
56
  # SPECIAL FRAMEWORKS AND THEMES
55
57
  # These do not require any of the built-in SproutCore frameworks
56
58
  %w(debug legacy_theme empty_theme).each do |target_name|
57
- config target_name,
59
+ config target_name,
58
60
  :required => [], :test_required => [], :debug_required => []
59
61
  end
60
62
 
61
63
  # CONFIGURE THEMES
62
- config :empty_theme,
64
+ config :empty_theme,
63
65
  :theme_name => 'empty-theme',
64
66
  :test_required => ['sproutcore/testing'],
65
67
  :debug_required => ['sproutcore/debug']
66
68
 
67
- config :iphone_theme,
69
+ config :iphone_theme,
68
70
  :theme_name => 'iphone-theme',
69
71
  :required => [],
70
72
  :test_required => ['sproutcore/testing'],
71
73
  :debug_required => ['sproutcore/debug']
72
74
 
73
- config :legacy_theme,
74
- :required => :empty_theme,
75
+ config :legacy_theme,
76
+ :required => :empty_theme,
75
77
  :theme_name => 'sc-theme',
76
78
  :test_required => ['sproutcore/testing'],
77
79
  :debug_required => ['sproutcore/debug']
78
80
 
79
- config :ace,
80
- :required => :empty_theme,
81
+ config :ace,
82
+ :required => :empty_theme,
81
83
  :theme_name => nil,
82
84
  :test_required => ['sproutcore/testing'],
83
85
  :debug_required => ['sproutcore/debug'],
@@ -98,7 +100,7 @@ config :core_tools, :required => [
98
100
  # end
99
101
 
100
102
  %w(tests test_controls welcome).each do |app_target|
101
- config app_target,
103
+ config app_target,
102
104
  :required => [:desktop, :datastore, :core_tools],
103
105
  :theme => :ace
104
106
 
@@ -1,13 +1,78 @@
1
1
  CHANGE LOG FOR 1.6+
2
2
  ===================
3
3
 
4
- 1.7.1.beta
4
+ 1.8.0
5
5
  ----------
6
6
 
7
- ### MINOR FEATURES
8
-
9
- * Added Safari Lion browser detection.
10
- * Speed improvements in renderContext, switching from joining arrays of strings to simple string concatenation.
7
+ ### CHANGES & FEATURES
8
+
9
+ * Added --statechart switch to sc-gen app to get a base statechart setup.
10
+ * Addition of `invokeNext` to SC.RunLoop (easily accessed from SC.Object).
11
+ This function invokes the passed target/method pair once at the beginning of
12
+ the next runloop, before any other methods (including events) are processed.
13
+ Use this to defer painting to make views more responsive.
14
+
15
+ If you call this with the same target/method pair multiple times it will
16
+ only invoke the pair only once at the beginning of the next runloop.
17
+ * Addition of `invokeOnceLater` to SC.Object. A convenience method which makes
18
+ it easy to coalesce invocations to ensure that the method is only called
19
+ once. This is useful if you need to schedule a call but only want it to
20
+ trigger once after some defined interval has passed.
21
+ * Desktop framework thoroughly updated to include WAI-ARIA attributes for
22
+ improved compatibility with assistive technologies.
23
+ * Addition of routing integration with SC.Statechart. States can be made to
24
+ represent a route (by default SC.routes routes) and if assigned then the
25
+ state will be notified to handle the route when triggered any time the app's
26
+ location changes to match the state's assigned route.
27
+ * Added `mult` extension to String that multiplies a string a given number of
28
+ times. [5a2aee1]
29
+ * Addition of SC.StatechartDelegate mixin. Apply this to objects that are to
30
+ represent a delegate for a SC.Statechart object. When assigned to a
31
+ statechart, the statechart and its associated states will use the delegate
32
+ in order to make various decisions.
33
+ * TextFieldView has a new property'hintOnFocus' which uses a div to act in place
34
+ of the regular 'placeholder' so that it remains visible when the text field
35
+ has focus.
36
+ * SC.TextFieldView long placeholders will show ellipsis if too long. [ab66960]
37
+ * Rewrite of SC.browser. Matches more browsers correctly and replaces the
38
+ potpourri of various properties with seven standard properties: device, name,
39
+ version, os, osVersion, engine and engineVersion with matching constants:
40
+ SC.BROWSER, SC.DEVICE, SC.OS, SC.ENGINE.
41
+ * Added a function SC.RunLoop.wrapFunction, which, when called on a function,
42
+ returns a version wrapped in code that ensures a run loop. [de83d88]
43
+ * Created a new object SC.bodyOverflowArbitrator, which, given requests for
44
+ body overflow:hidden; or overflow:visible; will decide which overflow to
45
+ assign. Objects issue, then change or withdraw their requests. Previously,
46
+ views may have set the body overflow directly, which would lead to
47
+ unpredictable behavior when more than one object had an interest in the
48
+ setting at one time. [c55e32b]
49
+ * APP_IMAGE_ASSETS is a new global array that contains the list of all sprited
50
+ images, this is ideal to preload images at different points. Even before the
51
+ app or SC finishes loading. [31c2239]
52
+ * Added support for text selection in SC.TextFieldSupport. [1dcc289]
53
+ * Don't throw an exception if there are SC.Record.EMPTY records in the store and
54
+ calling commitRecords on the store.
55
+ * Changed getDelegateProperty of SC.DelegateSupport to not accept null as a
56
+ valid value.
57
+ * Updated Handlebars to version 1.0.0.beta.4. [e80d40d]
58
+ * Added helper method `patchUrl` to SC.Request. [5e955ce]
59
+ * Throw an error in development mode when passing an incorrect parameter to
60
+ SC.IndexSet.create.
61
+ * Added default itemTagNames for 'dl' and 'select' collection tagNames in
62
+ TemplateCollectionView. [73c3f84]
63
+ * Don't allow disabled radio buttons to be checked in SC.RadioView. [99e47b1]
64
+ * Moved all TemplateView code into its own framework. It is still included by
65
+ default when requiring :sproutcore in your Buildfile, but can easily be
66
+ excluded by requiring specific frameworks instead.
67
+ * Speed improvement in IE by avoiding excessive focusin/focusout events.
68
+ [1c817a9]
69
+ * Speed improvements in renderContext, switching from joining arrays of strings
70
+ to simple string concatenation.
71
+ * SC.TabView places tabs first in the view hierarchy for accessibility.
72
+ [9e1b4e4]
73
+ * In SC.SelectView, if value object and list objects are both records, compare
74
+ the store keys to see if they are really the same thing.
75
+ * Added @lang support for multi-lingual text-to-speech voices. [4f9ec80]
11
76
  * Faster code escaping using regular expressions instead of DOM.
12
77
  * New flag to stop picker repositioning when the window is resized.
13
78
  * SegmentedView update to enable/disable overflow.
@@ -25,47 +90,115 @@ CHANGE LOG FOR 1.6+
25
90
  * Updated SC.State's getSubstate method to allow for path expressions. Also refacted the findFirstRelativeCurrentState method.
26
91
  * New SC globals to provide information like build mode, build number and locale.
27
92
 
93
+ ### DEPRECATIONS & REMOVALS
94
+
95
+ * SC.Animatable has been deprecated. Please use the animate method in SC.View.
96
+ * SC.TableView has been deprecated. Please use one of the alternative community versions.
97
+ * Several properties of SC.browser have been deprecated. Please use the standardized properties and matching constants.
98
+ * Removed `minWidth` property in SC.ButtonView. [9ae0a43]
99
+ * Removed unused frameworks: mini and documentation.
100
+ * Removed unnecessary Internet Explorer legacy code.
101
+ * Removed unnecessary font-weight SC.LabelView CSS attribute.
102
+ * Removed zIndex inside SC.TextFieldViews.
103
+ * Removed preload images task for “Chance” slicing system.
104
+ * Removed unnecesary strong reset in YUI reset.
105
+ * Removed unnecessary line-heights for SC.LabelView that caused problems with
106
+ theme stylings and the global 1.2em line-height.
107
+ * Removed acceleration layer on sliders as it was creating GPU glitches on
108
+ views appended after the slider.
109
+ * Removed legacy handler of buttons to improve speed.
110
+ * Removed deltaAdjust in scrollView and left only the calculations done in
111
+ SC.Event.
112
+ * Removed the --template switch from sc-init, because it didn't create a project
113
+ structure that was compatible with SC 1.8+.
114
+
28
115
  ### BUG FIXES
29
116
 
30
- * Bug fix, when the apps don’t have a first responder at loading time the app throws an error.
31
- * Tweaked scrolling acceleration and speed to match native scroller.
32
- * Removed Internet Explorer legacy code.
33
- * Passing the native event when a focus or blur event is called. This makes it consistent with all the other event handlers.
117
+ * Fixed an issue causing ScrollerView to not render correctly on first time.
118
+ [2e26048]
119
+ * Fixed an issue with SC.RecordArray's made up of new records without guids,
120
+ where the order of the array would change in Chrome. [3937a54]
121
+ * Fixed SC.SplitView is not properly resetting the cursor after a drag. [5db962d]
122
+ * SC.CollectionView's height updates when its length changes. [cb03ec4]
123
+ * Fixed the --dry-run switch for sc-init.
124
+ * Several new unit tests, fixes for failing unit tests and clean up of outdated
125
+ tests.
126
+ * The documentation was extensively searched for typographical and
127
+ grammatical errors and was fixed.
128
+ * Several fixes to Ace styles and images to remove inconsistencies.
129
+ * If the defaultValue of a child attribute returned an array of childRecords,
130
+ the resulting constructed instance would be an Array, not a ChildArray.
131
+ * Fixed the determination of `hasAcceleratedLayer` for accelerated Views.
132
+ * Fix 'x' & 'y' values returned by SC.pointInElement. Note: This method is the
133
+ most correct way to test the inclusion of a point within a DOM element.
134
+ * Fix `rangeStartForIndex` in SC.IndexSet when encountering holes where hints
135
+ should have pointed. [506752b]
136
+ * Fix in Handlebars template integration, so that the triple-stash {{{ doesn't
137
+ escape values and only {{ does. [7d3703d]
138
+ * Fixed adding `.sc-complete` class to SC.ProgressView when the maximum is
139
+ reached. [98b4ce5]
140
+ * Fixed inline text field view attempting to be blurred after it is destroyed.
141
+ [fe18943]
142
+ * ListItemViews edited inline can work with a validator.
143
+ * Fixed bug in TemplateCollectionView where specifying a tagName in the
144
+ itemView or itemViewOptions wouldn't properly override default itemTagNames.
145
+ [73c3f84]
146
+ * Fixes to improve scrolling acceleration and speed in different browsers,
147
+ including OS X Lion.
148
+ * Fixed the ENDS_WITH conditional in SC.query to return correct results.
149
+ [63e5492]
150
+ * Fixes to SC.FlowedLayout: remove name collision with maxSpacerLength, removed
151
+ extra adjust calls, and fixed to work better with border properties in
152
+ layouts. [15472f8]
153
+ * Fix in SC.RootResponder for double keydown event with wrong charcode when
154
+ modifier key is held down. [eb7b59e]
155
+ * Fixed case where Views with useStaticLayout == true would return improper
156
+ measurements for `frame`. [91eca04]
157
+ * If you clicked on a checkbox but let go of the mouse when not over it, it
158
+ behaved like you clicked it. [a4ebdcc]
159
+ * Fixed some datastore issues when using key values that were different than
160
+ the association property names. [80efcdb]
161
+ * Fixed the body overflow decision in SC.Panes by using > and < instead of >=
162
+ and <=. This keeps overflow properly hidden when size equals min size.
163
+ [7dfe46d]
164
+ * Fixed the positioning/initial selection of the popup menus in SC.SelectView,
165
+ which was about 1px off. [51f31ff]
166
+ * Fixed crash in InlineEditor mixin when beginEditing and commitEditing were
167
+ called in the same runloop. [3c124cc]
168
+ * TextFieldView now correctly hides the text when the field type is password.
169
+ [7df3c4b]
170
+ * Fixed tooltip for image buttons. [dcbf4ec]
171
+ * Tabbing was not respecting modal panes. Fixed so that textfields get a
172
+ tabindex=-1 when they are not in the modal pane. [4313d5f]
173
+ * When apps didn't have a first responder at loading time the app would throw
174
+ an error.
175
+ * Passing the native event when a focus or blur event is called. This makes it
176
+ consistent with all the other event handlers.
34
177
  * Workarounds for mobileSafari touch handling in textfields and links.
35
- * IE was getting two blur/focus events.
178
+ * IE was getting two blur/focus events.
36
179
  * Small bug fix for timers when there is no currentRunLoop.
37
- * Unit test updates for renderContext.
38
180
  * Reverted change to receive focus if it the view becomes key responder.
39
181
  * Disabling layout style calculations for opacity in IE, as this will always break transparent pngs.
40
182
  * Changed code to get a reliable anchor for pickers and menus.
41
183
  * Reposition pickers based on the size of the app and not the window viewport.
42
184
  * Added tooltips back to button.
43
185
  * Fix for popup_buttons as they were not rendering as expected.
44
- * Removing acceleration layer on sliders as this was creating GPU glitches on views appended after the slider.
45
- * Removing legacy handler of buttons to improve speed.
46
186
  * Bug fix to update list scrollers when adding new items to the list.
47
187
  * Changed timeout value for a faster experience in menu scrolling.
48
- * Removed deltaAdjust in scrollView and left only the calculations done in SC.Event.
49
188
  * Updated values in select button to fix rendering regressions.
50
189
  * Refactored childViews creation in formView.
51
190
  * Updated new selectView to correctly support width resizing.
52
- * Better string measurements for autoResize mixin. Also included the support to auto fit text (reduce font size if neccessary.
191
+ * Better string measurements for autoResize mixin. Also included the support to
192
+ auto fit text (reduce font size if necessary).
53
193
  * FlowedLayout fixes when the view changes visibility and code clean up.
54
194
  * Added back hints to labels.
55
- * Removed unneccesary font-weight label css attribute.
56
- * Removed zIndex in text-fields.
57
- * Removed preload images task for “Chance” slicing system .
58
195
  * Several modular loading bug fixes, including support for css.
59
196
  * Bug fix for string measurement. It was double escaping.
60
- * Observers failing in IE as strings dont work as arrays.
197
+ * Observers failing in IE as strings don't work as arrays.
61
198
  * Don't schedule multiple run loops when we only need one in SC.Binding.
62
199
  * Add in support for specifying an optional prefix that will be applied to all messages.
63
- * Updated observable unit tests
64
- * Updated SC.Logger unit tests
65
200
  * Updated SC.State's getSubstate method to allow for path expressions.
66
- * Updated Statechart unit tests
67
- * Updated state charts unit tests
68
- * Updated css to match abbot css fixes for $skip parameter in chance.
201
+ * Updated css to match Abbot css fixes for $skip parameter in chance.
69
202
  * Added css style namespace to sc-focus, this was generating problems when focusing the elements the first time in the app.
70
203
 
71
204
  1.6.0
@@ -445,7 +578,7 @@ Upcoming
445
578
  * Fixes for making panes properly handle first responder
446
579
  * General CSS Cleanup throughout
447
580
  * Add support for trim and loc back to string.js
448
- * Bug fixes for IE7/8/9 support
581
+ * Bug fixes for IE7/8/9 support
449
582
  * Fixed unit tests for IE
450
583
  * Added unit tests for keyboard focus functionality
451
584
  * Fix keyboard focus issues in the view layer
@@ -646,7 +779,7 @@ Upcoming
646
779
  * Support for IE7 base64 images using MHTML
647
780
  * Initial support for accessibility (WAI-ARIA)
648
781
  * Improved SC.Logger, allows log recording and different reporting levels like log4j
649
- * Modular loading and whitelisting.
782
+ * Modular loading and whitelisting.
650
783
  * Improvements and bug fixes in SC.TemplateView and Handlebars helpers
651
784
  * Added {{bindAttr}}, {{boundIf}}, and {{collection}} helpers
652
785
  * Fixes to Ace CSS
@@ -701,7 +834,8 @@ are all passing.
701
834
  CHANGE LOG FOR 1.4
702
835
  ==================
703
836
 
704
- DISCLAIMER: This is a very rough and not comprehensive overview of the 1000+ commits that formed SproutCore 1.4.
837
+ DISCLAIMER: This is a very rough and not comprehensive overview of the 1000+
838
+ commits that formed SproutCore 1.4.
705
839
 
706
840
  MAJOR
707
841
  -----
@@ -758,7 +892,7 @@ MISCELLANEOUS
758
892
  * Added domCSSPrefix to SC.platform
759
893
  * Make views update their layer's layerId if their layerId changes.
760
894
  * Adding maxlength property to textfield view
761
- * Added inflector functions to SC.String: singularize() and pluralize()
895
+ * Added inflector functions to SC.String: singularize() and pluralize()
762
896
  * Adding mousewheel support to textareas.
763
897
  * Adding HTML5 spellCheck support for textfields. It works with the latest versions of Firefox, Sproutcore, Chrome
764
898
  * Adding lastObject() method to SC.Enumerable
@@ -785,7 +919,7 @@ MISCELLANEOUS
785
919
  * Changing tabView so you can set the height of the tabs with a global variable
786
920
  * Added provision for Enabling/Disabling menu items in SelectButtonView
787
921
  * AlertPane: Esc triggers cancel button / enter triggers default button
788
- * SC.Query: 'orderBy' can now optionally be a comparison function. In this case, the specified function will be passed the two records directly, rather than the typical method of operating on specific properties. This can be useful for complicated comparisons that cannot be expressed by the simpler method.
922
+ * SC.Query: 'orderBy' can now optionally be a comparison function. In this case, the specified function will be passed the two records directly, rather than the typical method of operating on specific properties. This can be useful for complicated comparisons that cannot be expressed by the simpler method.
789
923
  * Add option to only allow focus tabbing among webapp controls.(No jumping to address bar
790
924
  * pushRetrieve, pushDestroy and pushError now return storeKey on success instead of YES
791
925
  * If there is a list item being edited, commit the changes if the list is scrolled.