sproutcore 1.4.4-java → 1.4.5-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (468) hide show
  1. data/README.txt +2 -2
  2. data/Rakefile +7 -0
  3. data/VERSION.yml +1 -1
  4. data/bin/sc-build +2 -2
  5. data/bin/sc-build-number +2 -2
  6. data/bin/sc-docs +2 -2
  7. data/bin/sc-gen +2 -2
  8. data/bin/sc-init +2 -2
  9. data/bin/sc-manifest +2 -2
  10. data/bin/sc-server +2 -2
  11. data/bin/sproutcore +2 -2
  12. data/lib/Buildfile +1 -1
  13. data/lib/buildtasks/build.rake +1 -1
  14. data/lib/buildtasks/entry.rake +1 -1
  15. data/lib/buildtasks/manifest.rake +1 -1
  16. data/lib/buildtasks/render.rake +1 -1
  17. data/lib/buildtasks/target.rake +1 -1
  18. data/lib/frameworks/sproutcore/Buildfile +1 -1
  19. data/lib/frameworks/sproutcore/CHANGELOG +32 -0
  20. data/lib/frameworks/sproutcore/apps/greenhouse/english.lproj/main_page.js +1 -1
  21. data/lib/frameworks/sproutcore/apps/greenhouse/views/simple_button.js +1 -1
  22. data/lib/frameworks/sproutcore/apps/tests/core.js +1 -1
  23. data/lib/frameworks/sproutcore/apps/tests/english.lproj/main_page.js +1 -1
  24. data/lib/frameworks/sproutcore/apps/tests/states/no_targets.js +1 -1
  25. data/lib/frameworks/sproutcore/apps/tests/states/ready.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_loading.js +1 -1
  30. data/lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js +1 -1
  31. data/lib/frameworks/sproutcore/apps/tests/states/start.js +1 -1
  32. data/lib/frameworks/sproutcore/apps/welcome/core.js +1 -1
  33. data/lib/frameworks/sproutcore/frameworks/animation/core.js +76 -79
  34. data/lib/frameworks/sproutcore/frameworks/bootstrap/core.js +1 -1
  35. data/lib/frameworks/sproutcore/frameworks/bootstrap/setup_body_class_names.js +1 -1
  36. data/lib/frameworks/sproutcore/frameworks/bootstrap/system/browser.js +1 -1
  37. data/lib/frameworks/sproutcore/frameworks/bootstrap/system/loader.js +1 -1
  38. data/lib/frameworks/sproutcore/frameworks/core_tools/data_source.js +1 -1
  39. data/lib/frameworks/sproutcore/frameworks/datastore/core.js +1 -1
  40. data/lib/frameworks/sproutcore/frameworks/datastore/data_sources/cascade.js +6 -6
  41. data/lib/frameworks/sproutcore/frameworks/datastore/data_sources/data_source.js +1 -1
  42. data/lib/frameworks/sproutcore/frameworks/datastore/data_sources/fixtures.js +1 -1
  43. data/lib/frameworks/sproutcore/frameworks/datastore/models/fetched_attribute.js +1 -1
  44. data/lib/frameworks/sproutcore/frameworks/datastore/models/many_attribute.js +1 -1
  45. data/lib/frameworks/sproutcore/frameworks/datastore/models/record.js +2 -2
  46. data/lib/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +1 -1
  47. data/lib/frameworks/sproutcore/frameworks/datastore/models/single_attribute.js +1 -1
  48. data/lib/frameworks/sproutcore/frameworks/datastore/system/many_array.js +1 -1
  49. data/lib/frameworks/sproutcore/frameworks/datastore/system/nested_store.js +1 -1
  50. data/lib/frameworks/sproutcore/frameworks/datastore/system/query.js +14 -15
  51. data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +1 -1
  52. data/lib/frameworks/sproutcore/frameworks/datastore/system/store.js +26 -15
  53. data/lib/frameworks/sproutcore/frameworks/datastore/tests/data_sources/cascade.js +133 -0
  54. data/lib/frameworks/sproutcore/frameworks/datastore/tests/integration/contact_model.js +1 -1
  55. data/lib/frameworks/sproutcore/frameworks/datastore/tests/integration/cyclical_relationship.js +1 -1
  56. data/lib/frameworks/sproutcore/frameworks/datastore/tests/integration/mail_model.js +1 -1
  57. data/lib/frameworks/sproutcore/frameworks/datastore/tests/integration/test_runner_model.js +1 -1
  58. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record/normalize.js +41 -0
  59. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/unloadRecords.js +37 -0
  60. data/lib/frameworks/sproutcore/frameworks/debug/core.js +1 -1
  61. data/lib/frameworks/sproutcore/frameworks/debug/invoke_once_last_debugging.js +1 -1
  62. data/lib/frameworks/sproutcore/frameworks/designer/coders/design.js +1 -1
  63. data/lib/frameworks/sproutcore/frameworks/designer/coders/localization.js +1 -1
  64. data/lib/frameworks/sproutcore/frameworks/designer/coders/object.js +1 -1
  65. data/lib/frameworks/sproutcore/frameworks/designer/controllers/page_design.js +1 -1
  66. data/lib/frameworks/sproutcore/frameworks/designer/core.js +1 -1
  67. data/lib/frameworks/sproutcore/frameworks/designer/css/css_rule.js +1 -1
  68. data/lib/frameworks/sproutcore/frameworks/designer/css/css_style.js +1 -1
  69. data/lib/frameworks/sproutcore/frameworks/designer/css/css_style_sheet.js +1 -1
  70. data/lib/frameworks/sproutcore/frameworks/designer/designers/button.js +1 -1
  71. data/lib/frameworks/sproutcore/frameworks/designer/designers/label.js +1 -1
  72. data/lib/frameworks/sproutcore/frameworks/designer/designers/object_designer.js +1 -1
  73. data/lib/frameworks/sproutcore/frameworks/designer/designers/tab.js +1 -1
  74. data/lib/frameworks/sproutcore/frameworks/designer/designers/text_field.js +1 -1
  75. data/lib/frameworks/sproutcore/frameworks/designer/designers/view_designer.js +1 -1
  76. data/lib/frameworks/sproutcore/frameworks/designer/ext/object.js +1 -1
  77. data/lib/frameworks/sproutcore/frameworks/designer/ext/page.js +1 -1
  78. data/lib/frameworks/sproutcore/frameworks/designer/ext/view.js +1 -1
  79. data/lib/frameworks/sproutcore/frameworks/designer/mixins/button.js +1 -1
  80. data/lib/frameworks/sproutcore/frameworks/designer/views/selection_handles.js +1 -1
  81. data/lib/frameworks/sproutcore/frameworks/desktop/core.js +1 -1
  82. data/lib/frameworks/sproutcore/frameworks/desktop/debug/drag.js +1 -1
  83. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/strings.js +1 -1
  84. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/border.js +1 -1
  85. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_fast_path.js +3 -3
  86. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_group.js +1 -1
  87. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +1 -1
  88. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_view_delegate.js +1 -1
  89. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/scrollable.js +1 -1
  90. data/lib/frameworks/sproutcore/frameworks/desktop/panes/alert.js +1 -1
  91. data/lib/frameworks/sproutcore/frameworks/desktop/panes/menu.js +2 -2
  92. data/lib/frameworks/sproutcore/frameworks/desktop/panes/modal.js +1 -1
  93. data/lib/frameworks/sproutcore/frameworks/desktop/panes/palette.js +1 -1
  94. data/lib/frameworks/sproutcore/frameworks/desktop/panes/panel.js +1 -1
  95. data/lib/frameworks/sproutcore/frameworks/desktop/panes/picker.js +2 -2
  96. data/lib/frameworks/sproutcore/frameworks/desktop/panes/select_button.js +1 -1
  97. data/lib/frameworks/sproutcore/frameworks/desktop/panes/sheet.js +1 -1
  98. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drag_data_source.js +1 -1
  99. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drag_source.js +1 -1
  100. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drop_target.js +1 -1
  101. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/responder.js +4 -4
  102. data/lib/frameworks/sproutcore/frameworks/desktop/system/drag.js +1 -1
  103. data/lib/frameworks/sproutcore/frameworks/desktop/system/key_bindings.js +1 -1
  104. data/lib/frameworks/sproutcore/frameworks/desktop/system/undo_manager.js +1 -1
  105. data/lib/frameworks/sproutcore/frameworks/desktop/tests/integration/dialog.js +1 -1
  106. data/lib/frameworks/sproutcore/frameworks/desktop/tests/mixins/border.js +1 -1
  107. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/alert/methods.js +1 -1
  108. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/alert/ui.js +1 -1
  109. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/menu/methods.js +1 -1
  110. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/menu/ui.js +1 -1
  111. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/palette/methods.js +1 -1
  112. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/palette/ui.js +1 -1
  113. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/pane_page.js +1 -1
  114. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/panel/methods.js +1 -1
  115. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/panel/ui.js +1 -1
  116. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/picker/methods.js +1 -1
  117. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/picker/ui.js +1 -1
  118. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/select_button/methods.js +1 -1
  119. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/select_button/ui.js +1 -1
  120. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/sheet/methods.js +1 -1
  121. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/sheet/ui.js +1 -1
  122. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/button/ui.js +1 -1
  123. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +1 -1
  124. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/checkbox/ui.js +1 -1
  125. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/content.js +1 -1
  126. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/deleteSelection.js +1 -1
  127. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/deselect.js +1 -1
  128. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/itemViewForContentIndex.js +1 -1
  129. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/layerIdFor.js +1 -1
  130. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/length.js +1 -1
  131. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/mouse.js +1 -1
  132. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/nowShowing.js +1 -1
  133. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/reload.js +1 -1
  134. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/select.js +1 -1
  135. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/selectNextItem.js +1 -1
  136. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/selectPreviousItem.js +1 -1
  137. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/selection.js +1 -1
  138. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/collection/ui_diagram.js +1 -1
  139. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/date_field/methods.js +1 -1
  140. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/date_field/ui.js +1 -1
  141. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/disclosure/methods.js +1 -1
  142. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/disclosure/ui.js +1 -1
  143. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/grid/methods.js +1 -1
  144. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/grid/ui.js +1 -1
  145. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/render.js +1 -1
  146. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/rowDelegate.js +1 -1
  147. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/rowHeightForContentIndex.js +1 -1
  148. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/rowOffsetForContentIndex.js +1 -1
  149. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/ui_alternatingrows.js +1 -1
  150. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/ui_outline.js +1 -1
  151. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/ui_row_heights.js +1 -1
  152. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list/ui_simple.js +1 -1
  153. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list_item.js +1 -1
  154. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/menu_item/methods.js +1 -1
  155. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/menu_item/ui.js +1 -1
  156. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/progress/methods.js +1 -1
  157. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/progress/ui.js +1 -1
  158. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/radio/methods.js +1 -1
  159. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/radio/ui.js +1 -1
  160. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/methods.js +1 -1
  161. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/ui.js +1 -1
  162. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroller.js +1 -1
  163. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/segmented/methods.js +1 -1
  164. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/segmented/ui.js +1 -1
  165. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/select/methods.js +1 -1
  166. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/select/ui.js +1 -1
  167. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/select_field/methods.js +1 -1
  168. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/select_field/ui.js +1 -1
  169. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/separator.js +1 -1
  170. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/source_list/methods.js +1 -1
  171. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/source_list/ui.js +1 -1
  172. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/split/methods.js +1 -1
  173. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/split/ui.js +1 -1
  174. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/stacked/ui_comments.js +1 -1
  175. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/static_content.js +1 -1
  176. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/tab/methods.js +1 -1
  177. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/tab/ui.js +1 -1
  178. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/web/methods.js +1 -1
  179. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/web/ui.js +1 -1
  180. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/well/ui.js +1 -1
  181. data/lib/frameworks/sproutcore/frameworks/desktop/views/button.js +3 -3
  182. data/lib/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +1 -1
  183. data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +8 -5
  184. data/lib/frameworks/sproutcore/frameworks/desktop/views/date_field.js +1 -1
  185. data/lib/frameworks/sproutcore/frameworks/desktop/views/disclosure.js +1 -1
  186. data/lib/frameworks/sproutcore/frameworks/desktop/views/list.js +1 -1
  187. data/lib/frameworks/sproutcore/frameworks/desktop/views/list_item.js +1 -1
  188. data/lib/frameworks/sproutcore/frameworks/desktop/views/menu_item.js +1 -1
  189. data/lib/frameworks/sproutcore/frameworks/desktop/views/menu_scroll.js +1 -1
  190. data/lib/frameworks/sproutcore/frameworks/desktop/views/popup_button.js +1 -1
  191. data/lib/frameworks/sproutcore/frameworks/desktop/views/progress.js +1 -1
  192. data/lib/frameworks/sproutcore/frameworks/desktop/views/radio.js +1 -1
  193. data/lib/frameworks/sproutcore/frameworks/desktop/views/scene.js +1 -1
  194. data/lib/frameworks/sproutcore/frameworks/desktop/views/scroll.js +1 -1
  195. data/lib/frameworks/sproutcore/frameworks/desktop/views/scroller.js +1 -1
  196. data/lib/frameworks/sproutcore/frameworks/desktop/views/segmented.js +1 -1
  197. data/lib/frameworks/sproutcore/frameworks/desktop/views/select.js +2 -2
  198. data/lib/frameworks/sproutcore/frameworks/desktop/views/select_field.js +4 -1
  199. data/lib/frameworks/sproutcore/frameworks/desktop/views/separator.js +1 -1
  200. data/lib/frameworks/sproutcore/frameworks/desktop/views/slider.js +1 -1
  201. data/lib/frameworks/sproutcore/frameworks/desktop/views/source_list.js +1 -1
  202. data/lib/frameworks/sproutcore/frameworks/desktop/views/source_list_group.js +1 -1
  203. data/lib/frameworks/sproutcore/frameworks/desktop/views/split.js +1 -1
  204. data/lib/frameworks/sproutcore/frameworks/desktop/views/split_divider.js +1 -1
  205. data/lib/frameworks/sproutcore/frameworks/desktop/views/stacked.js +1 -1
  206. data/lib/frameworks/sproutcore/frameworks/desktop/views/static_content.js +1 -1
  207. data/lib/frameworks/sproutcore/frameworks/desktop/views/tab.js +1 -1
  208. data/lib/frameworks/sproutcore/frameworks/desktop/views/thumb.js +1 -1
  209. data/lib/frameworks/sproutcore/frameworks/desktop/views/toolbar.js +1 -1
  210. data/lib/frameworks/sproutcore/frameworks/desktop/views/web.js +1 -1
  211. data/lib/frameworks/sproutcore/frameworks/desktop/views/well.js +1 -1
  212. data/lib/frameworks/sproutcore/frameworks/foundation/controllers/array.js +1 -1
  213. data/lib/frameworks/sproutcore/frameworks/foundation/controllers/controller.js +1 -1
  214. data/lib/frameworks/sproutcore/frameworks/foundation/controllers/object.js +1 -1
  215. data/lib/frameworks/sproutcore/frameworks/foundation/controllers/tree.js +1 -1
  216. data/lib/frameworks/sproutcore/frameworks/foundation/core.js +1 -1
  217. data/lib/frameworks/sproutcore/frameworks/foundation/debug/control_test_pane.js +1 -1
  218. data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/bootstrap.rhtml +1 -1
  219. data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/strings.js +1 -1
  220. data/lib/frameworks/sproutcore/frameworks/foundation/ext/object.js +1 -1
  221. data/lib/frameworks/sproutcore/frameworks/foundation/ext/run_loop.js +1 -1
  222. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/button.js +1 -1
  223. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/collection_content.js +1 -1
  224. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/content_display.js +44 -26
  225. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/control.js +1 -1
  226. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/editable.js +1 -1
  227. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_text_field.js +1 -1
  228. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/responder_context.js +1 -1
  229. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/selection_support.js +1 -1
  230. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/static_layout.js +1 -1
  231. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/string.js +1 -1
  232. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/tree_item_content.js +1 -1
  233. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/validatable.js +1 -1
  234. data/lib/frameworks/sproutcore/frameworks/foundation/panes/main.js +1 -1
  235. data/lib/frameworks/sproutcore/frameworks/foundation/panes/pane.js +1 -1
  236. data/lib/frameworks/sproutcore/frameworks/foundation/private/tree_item_observer.js +1 -1
  237. data/lib/frameworks/sproutcore/frameworks/foundation/protocols/inline_editor_delegate.js +1 -1
  238. data/lib/frameworks/sproutcore/frameworks/foundation/system/application.js +1 -1
  239. data/lib/frameworks/sproutcore/frameworks/foundation/system/benchmark.js +1 -1
  240. data/lib/frameworks/sproutcore/frameworks/foundation/system/browser.js +1 -1
  241. data/lib/frameworks/sproutcore/frameworks/foundation/system/builder.js +1 -1
  242. data/lib/frameworks/sproutcore/frameworks/foundation/system/bundle.js +1 -1
  243. data/lib/frameworks/sproutcore/frameworks/foundation/system/core_query.js +1 -1
  244. data/lib/frameworks/sproutcore/frameworks/foundation/system/cursor.js +1 -1
  245. data/lib/frameworks/sproutcore/frameworks/foundation/system/datetime.js +1 -1
  246. data/lib/frameworks/sproutcore/frameworks/foundation/system/device.js +1 -1
  247. data/lib/frameworks/sproutcore/frameworks/foundation/system/event.js +2 -2
  248. data/lib/frameworks/sproutcore/frameworks/foundation/system/exception_handler.js +1 -1
  249. data/lib/frameworks/sproutcore/frameworks/foundation/system/image_cache.js +3 -2
  250. data/lib/frameworks/sproutcore/frameworks/foundation/system/json.js +1 -1
  251. data/lib/frameworks/sproutcore/frameworks/foundation/system/locale.js +1 -1
  252. data/lib/frameworks/sproutcore/frameworks/foundation/system/math.js +1 -1
  253. data/lib/frameworks/sproutcore/frameworks/foundation/system/page.js +1 -1
  254. data/lib/frameworks/sproutcore/frameworks/foundation/system/platform.js +1 -1
  255. data/lib/frameworks/sproutcore/frameworks/foundation/system/ready.js +1 -1
  256. data/lib/frameworks/sproutcore/frameworks/foundation/system/render_context.js +1 -1
  257. data/lib/frameworks/sproutcore/frameworks/foundation/system/request.js +1 -1
  258. data/lib/frameworks/sproutcore/frameworks/foundation/system/responder.js +1 -1
  259. data/lib/frameworks/sproutcore/frameworks/foundation/system/response.js +1 -1
  260. data/lib/frameworks/sproutcore/frameworks/foundation/system/root_responder.js +3 -3
  261. data/lib/frameworks/sproutcore/frameworks/foundation/system/routes.js +1 -1
  262. data/lib/frameworks/sproutcore/frameworks/foundation/system/task_queue.js +1 -1
  263. data/lib/frameworks/sproutcore/frameworks/foundation/system/text_selection.js +1 -1
  264. data/lib/frameworks/sproutcore/frameworks/foundation/system/time.js +1 -1
  265. data/lib/frameworks/sproutcore/frameworks/foundation/system/timer.js +1 -1
  266. data/lib/frameworks/sproutcore/frameworks/foundation/system/user_defaults.js +1 -1
  267. data/lib/frameworks/sproutcore/frameworks/foundation/system/utils.js +1 -1
  268. data/lib/frameworks/sproutcore/frameworks/foundation/tasks/preload_bundle.js +1 -1
  269. data/lib/frameworks/sproutcore/frameworks/foundation/tasks/task.js +1 -1
  270. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/array_case.js +1 -1
  271. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/enum_case.js +1 -1
  272. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/null_case.js +1 -1
  273. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/selection_support.js +1 -1
  274. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/single_case.js +1 -1
  275. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/object/empty_case.js +1 -1
  276. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/object/multiple_case.js +1 -1
  277. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/object/single_case.js +1 -1
  278. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/object/single_enumerable_case.js +1 -1
  279. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/tree/outline_case.js +1 -1
  280. data/lib/frameworks/sproutcore/frameworks/foundation/tests/controllers/tree/selection_support.js +1 -1
  281. data/lib/frameworks/sproutcore/frameworks/foundation/tests/debug/control_test_pane/methods.js +1 -1
  282. data/lib/frameworks/sproutcore/frameworks/foundation/tests/debug/control_test_pane/ui.js +1 -1
  283. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/content_display.js +51 -0
  284. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/api.js +1 -1
  285. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/beginEditing.js +1 -1
  286. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/validatable/ui.js +1 -1
  287. data/lib/frameworks/sproutcore/frameworks/foundation/tests/private/tree_item_observer/flat_case.js +1 -1
  288. data/lib/frameworks/sproutcore/frameworks/foundation/tests/private/tree_item_observer/group_case.js +1 -1
  289. data/lib/frameworks/sproutcore/frameworks/foundation/tests/private/tree_item_observer/outline_case.js +1 -1
  290. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/begin.js +1 -1
  291. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/element.js +1 -1
  292. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/end.js +1 -1
  293. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/get.js +1 -1
  294. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/helpers_attr.js +1 -1
  295. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/helpers_basic.js +1 -1
  296. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/helpers_className.js +1 -1
  297. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/helpers_style.js +1 -1
  298. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/init.js +1 -1
  299. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/join.js +1 -1
  300. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/push_text.js +1 -1
  301. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/tag.js +1 -1
  302. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/update.js +1 -1
  303. data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/root_responder/targetForAction.js +17 -4
  304. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/container/methods.js +1 -1
  305. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/container/ui.js +1 -1
  306. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/image/ui.js +1 -1
  307. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/label/ui.js +1 -1
  308. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/text_field/methods.js +1 -1
  309. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/text_field/ui.js +1 -1
  310. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/view/didAppendToDocument.js +1 -1
  311. data/lib/frameworks/sproutcore/frameworks/foundation/validators/credit_card.js +1 -1
  312. data/lib/frameworks/sproutcore/frameworks/foundation/validators/date.js +1 -1
  313. data/lib/frameworks/sproutcore/frameworks/foundation/validators/date_time.js +1 -1
  314. data/lib/frameworks/sproutcore/frameworks/foundation/validators/email.js +1 -1
  315. data/lib/frameworks/sproutcore/frameworks/foundation/validators/not_empty.js +1 -1
  316. data/lib/frameworks/sproutcore/frameworks/foundation/validators/number.js +1 -1
  317. data/lib/frameworks/sproutcore/frameworks/foundation/validators/password.js +1 -1
  318. data/lib/frameworks/sproutcore/frameworks/foundation/validators/positive_integer.js +1 -1
  319. data/lib/frameworks/sproutcore/frameworks/foundation/validators/validator.js +1 -1
  320. data/lib/frameworks/sproutcore/frameworks/foundation/views/container.js +1 -1
  321. data/lib/frameworks/sproutcore/frameworks/foundation/views/field.js +4 -4
  322. data/lib/frameworks/sproutcore/frameworks/foundation/views/image.js +1 -1
  323. data/lib/frameworks/sproutcore/frameworks/foundation/views/label.js +1 -1
  324. data/lib/frameworks/sproutcore/frameworks/foundation/views/text_field.js +1 -1
  325. data/lib/frameworks/sproutcore/frameworks/foundation/views/view.js +2 -2
  326. data/lib/frameworks/sproutcore/frameworks/media/resources/video.css +4 -0
  327. data/lib/frameworks/sproutcore/frameworks/media/views/audio.js +1 -1
  328. data/lib/frameworks/sproutcore/frameworks/media/views/controls.js +1 -1
  329. data/lib/frameworks/sproutcore/frameworks/media/views/media_slider.js +1 -1
  330. data/lib/frameworks/sproutcore/frameworks/media/views/mini_controls.js +1 -1
  331. data/lib/frameworks/sproutcore/frameworks/media/views/simple_controls.js +1 -1
  332. data/lib/frameworks/sproutcore/frameworks/media/views/video.js +1 -1
  333. data/lib/frameworks/sproutcore/frameworks/mini/license.js +1 -1
  334. data/lib/frameworks/sproutcore/frameworks/runtime/core.js +1 -1
  335. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/base.js +1 -1
  336. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/indexOf.js +1 -1
  337. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/insertAt.js +1 -1
  338. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/objectAt.js +1 -1
  339. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/popObject.js +1 -1
  340. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/pushObject.js +1 -1
  341. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/rangeObserver.js +1 -1
  342. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/removeAt.js +1 -1
  343. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/removeObject.js +1 -1
  344. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/replace.js +1 -1
  345. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/shiftObject.js +1 -1
  346. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/unshiftObject.js +1 -1
  347. data/lib/frameworks/sproutcore/frameworks/runtime/license.js +1 -1
  348. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/array.js +1 -1
  349. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/comparable.js +1 -1
  350. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/copyable.js +1 -1
  351. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/delegate_support.js +1 -1
  352. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/enumerable.js +1 -1
  353. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/freezable.js +1 -1
  354. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/observable.js +2 -2
  355. data/lib/frameworks/sproutcore/frameworks/runtime/private/chain_observer.js +1 -1
  356. data/lib/frameworks/sproutcore/frameworks/runtime/private/observer_queue.js +1 -1
  357. data/lib/frameworks/sproutcore/frameworks/runtime/private/observer_set.js +1 -1
  358. data/lib/frameworks/sproutcore/frameworks/runtime/protocols/observable_protocol.js +1 -1
  359. data/lib/frameworks/sproutcore/frameworks/runtime/protocols/sparse_array_delegate.js +1 -1
  360. data/lib/frameworks/sproutcore/frameworks/runtime/system/binding.js +1 -1
  361. data/lib/frameworks/sproutcore/frameworks/runtime/system/enumerator.js +1 -1
  362. data/lib/frameworks/sproutcore/frameworks/runtime/system/error.js +1 -1
  363. data/lib/frameworks/sproutcore/frameworks/runtime/system/index_set.js +1 -1
  364. data/lib/frameworks/sproutcore/frameworks/runtime/system/object.js +5 -1
  365. data/lib/frameworks/sproutcore/frameworks/runtime/system/range_observer.js +1 -1
  366. data/lib/frameworks/sproutcore/frameworks/runtime/system/run_loop.js +1 -1
  367. data/lib/frameworks/sproutcore/frameworks/runtime/system/selection_set.js +1 -1
  368. data/lib/frameworks/sproutcore/frameworks/runtime/system/set.js +1 -1
  369. data/lib/frameworks/sproutcore/frameworks/runtime/system/sparse_array.js +1 -1
  370. data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/clone.js +1 -1
  371. data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/array.js +1 -1
  372. data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/comparable.js +1 -1
  373. data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/enumerable.js +1 -1
  374. data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/observable/registerDependentKeys.js +1 -1
  375. data/lib/frameworks/sproutcore/frameworks/runtime/tests/private/observer_queue/isObservingSuspended.js +1 -1
  376. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/indexAfter.js +1 -1
  377. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/indexBefore.js +1 -1
  378. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/object/bindings.js +14 -0
  379. data/lib/frameworks/sproutcore/frameworks/table/mixins/table_delegate.js +1 -1
  380. data/lib/frameworks/sproutcore/frameworks/table/system/table_column.js +1 -1
  381. data/lib/frameworks/sproutcore/frameworks/table/views/table.js +1 -1
  382. data/lib/frameworks/sproutcore/frameworks/table/views/table_cell.js +1 -1
  383. data/lib/frameworks/sproutcore/frameworks/table/views/table_head.js +1 -1
  384. data/lib/frameworks/sproutcore/frameworks/table/views/table_header.js +1 -1
  385. data/lib/frameworks/sproutcore/frameworks/table/views/table_row.js +1 -1
  386. data/lib/frameworks/sproutcore/frameworks/testing/core.js +1 -1
  387. data/lib/frameworks/sproutcore/frameworks/testing/extras.js +1 -1
  388. data/lib/frameworks/sproutcore/frameworks/testing/system/dump.js +1 -1
  389. data/lib/frameworks/sproutcore/frameworks/testing/system/equiv.js +1 -1
  390. data/lib/frameworks/sproutcore/frameworks/testing/system/plan.js +1 -1
  391. data/lib/frameworks/sproutcore/frameworks/testing/system/runner.js +1 -1
  392. data/lib/frameworks/sproutcore/frameworks/testing/system/suite.js +1 -1
  393. data/lib/frameworks/sproutcore/frameworks/testing/utils.js +1 -1
  394. data/lib/frameworks/sproutcore/license.js +2 -2
  395. data/lib/gen/app/Buildfile +1 -1
  396. data/lib/gen/controller/Buildfile +1 -1
  397. data/lib/gen/data-source/Buildfile +1 -1
  398. data/lib/gen/design/Buildfile +1 -1
  399. data/lib/gen/framework/Buildfile +1 -1
  400. data/lib/gen/language/Buildfile +1 -1
  401. data/lib/gen/model/Buildfile +1 -1
  402. data/lib/gen/page/Buildfile +1 -1
  403. data/lib/gen/project/Buildfile +1 -1
  404. data/lib/gen/responder/Buildfile +1 -1
  405. data/lib/gen/test/Buildfile +1 -1
  406. data/lib/gen/theme/Buildfile +1 -1
  407. data/lib/gen/view/Buildfile +1 -1
  408. data/lib/sproutcore.rb +1 -1
  409. data/lib/sproutcore/builders/base.rb +1 -1
  410. data/lib/sproutcore/builders/bundle.rb +1 -1
  411. data/lib/sproutcore/builders/combine.rb +1 -1
  412. data/lib/sproutcore/builders/html.rb +1 -1
  413. data/lib/sproutcore/builders/javascript.rb +1 -1
  414. data/lib/sproutcore/builders/less.rb +1 -1
  415. data/lib/sproutcore/builders/minify.rb +1 -1
  416. data/lib/sproutcore/builders/sass.rb +1 -1
  417. data/lib/sproutcore/builders/strings.rb +1 -1
  418. data/lib/sproutcore/builders/stylesheet.rb +1 -1
  419. data/lib/sproutcore/builders/test.rb +1 -1
  420. data/lib/sproutcore/builders/test_index.rb +1 -1
  421. data/lib/sproutcore/buildfile.rb +1 -1
  422. data/lib/sproutcore/buildfile/build_task.rb +1 -1
  423. data/lib/sproutcore/buildfile/buildfile_dsl.rb +1 -1
  424. data/lib/sproutcore/buildfile/cloneable.rb +1 -1
  425. data/lib/sproutcore/buildfile/early_time.rb +1 -1
  426. data/lib/sproutcore/buildfile/invocation_chain.rb +1 -1
  427. data/lib/sproutcore/buildfile/namespace.rb +1 -1
  428. data/lib/sproutcore/buildfile/task.rb +1 -1
  429. data/lib/sproutcore/buildfile/task_arguments.rb +1 -1
  430. data/lib/sproutcore/buildfile/task_manager.rb +1 -1
  431. data/lib/sproutcore/deprecated/view_helper.rb +1 -1
  432. data/lib/sproutcore/helpers/capture_helper.rb +2 -2
  433. data/lib/sproutcore/helpers/cssmin.rb +1 -1
  434. data/lib/sproutcore/helpers/dom_id_helper.rb +1 -1
  435. data/lib/sproutcore/helpers/entry_sorter.rb +1 -1
  436. data/lib/sproutcore/helpers/html5_manifest.rb +1 -1
  437. data/lib/sproutcore/helpers/packed_optimizer.rb +1 -1
  438. data/lib/sproutcore/helpers/static_helper.rb +2 -2
  439. data/lib/sproutcore/helpers/tag_helper.rb +1 -1
  440. data/lib/sproutcore/helpers/text_helper.rb +1 -1
  441. data/lib/sproutcore/models/generator.rb +1 -1
  442. data/lib/sproutcore/models/hash_struct.rb +1 -1
  443. data/lib/sproutcore/models/manifest.rb +1 -1
  444. data/lib/sproutcore/models/manifest_entry.rb +1 -1
  445. data/lib/sproutcore/models/project.rb +1 -1
  446. data/lib/sproutcore/models/target.rb +1 -1
  447. data/lib/sproutcore/rack/builder.rb +1 -1
  448. data/lib/sproutcore/rack/dev.rb +1 -1
  449. data/lib/sproutcore/rack/docs.rb +1 -1
  450. data/lib/sproutcore/rack/filesystem.rb +1 -1
  451. data/lib/sproutcore/rack/proxy.rb +1 -1
  452. data/lib/sproutcore/rack/service.rb +1 -1
  453. data/lib/sproutcore/rack/test_runner.rb +1 -1
  454. data/lib/sproutcore/render_engines/erubis.rb +1 -1
  455. data/lib/sproutcore/render_engines/haml.rb +1 -1
  456. data/lib/sproutcore/tools.rb +1 -1
  457. data/lib/sproutcore/tools/build.rb +1 -1
  458. data/lib/sproutcore/tools/build_number.rb +1 -1
  459. data/lib/sproutcore/tools/docs.rb +1 -1
  460. data/lib/sproutcore/tools/gen.rb +1 -1
  461. data/lib/sproutcore/tools/init.rb +1 -1
  462. data/lib/sproutcore/tools/manifest.rb +1 -1
  463. data/lib/sproutcore/tools/server.rb +1 -1
  464. data/spec/lib/builders/bundle_spec.rb +2 -2
  465. data/sproutcore.gemspec +2 -2
  466. metadata +10 -9
  467. data/lib/frameworks/sproutcore/HISTORY +0 -697
  468. data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/video.css +0 -3
data/README.txt CHANGED
@@ -80,7 +80,7 @@ sudo gem install sproutcore
80
80
  == LICENSE:
81
81
 
82
82
  Copyright (c) 2009 Apple Inc.
83
- Portions copyright (c) 2006-2009 Sprout Systems Inc. and contributors
83
+ Portions copyright (c) 2006-2011 Strobe Inc. and contributors
84
84
 
85
85
  Permission is hereby granted, free of charge, to any person obtaining
86
86
  a copy of this software and associated documentation files (the
@@ -101,4 +101,4 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
101
101
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
102
102
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
103
103
 
104
- SproutCore and the SproutCore logo are trademarks of Sprout Systems Inc.
104
+ SproutCore and the SproutCore logo are trademarks of Strobe Inc.
data/Rakefile CHANGED
@@ -35,3 +35,10 @@ To update the gem:
35
35
  END
36
36
 
37
37
  end
38
+
39
+ begin
40
+ require 'rspec/core/rake_task'
41
+ RSpec::Core::RakeTask.new
42
+ rescue LoadError
43
+ puts "RSpec is not installed. Please install if you want to run tests."
44
+ end
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 4
4
- :patch: 4
4
+ :patch: 5
data/bin/sc-build CHANGED
@@ -2,12 +2,12 @@
2
2
  # ===========================================================================
3
3
  # Project: Abbot - SproutCore Build Tools
4
4
  # Copyright: ©2010 Apple Inc.
5
- # portions copyright @2006-2010 Sprout Systems, Inc.
5
+ # portions copyright @2006-2011 Strobe Inc.
6
6
  # and contributors
7
7
  # ===========================================================================
8
8
 
9
9
  if caller.empty?
10
- puts "FATAL: You need to invoke sc-build from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
10
+ puts "FATAL: You need to invoke sc-build from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
11
11
  exit
12
12
  end
13
13
 
data/bin/sc-build-number CHANGED
@@ -2,12 +2,12 @@
2
2
  # ===========================================================================
3
3
  # Project: Abbot - SproutCore Build Tools
4
4
  # Copyright: ©2010 Apple Inc.
5
- # portions copyright @2006-2010 Sprout Systems, Inc.
5
+ # portions copyright @2006-2011 Strobe Inc.
6
6
  # and contributors
7
7
  # ===========================================================================
8
8
 
9
9
  if caller.empty?
10
- puts "FATAL: You need to invoke sc-build-number from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
10
+ puts "FATAL: You need to invoke sc-build-number from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
11
11
  exit
12
12
  end
13
13
 
data/bin/sc-docs CHANGED
@@ -3,12 +3,12 @@
3
3
  # ===========================================================================
4
4
  # Project: Abbot - SproutCore Build Tools
5
5
  # Copyright: ©2010 Apple Inc.
6
- # portions copyright @2006-2010 Sprout Systems, Inc.
6
+ # portions copyright @2006-2011 Strobe Inc.
7
7
  # and contributors
8
8
  # ===========================================================================
9
9
 
10
10
  if caller.empty?
11
- puts "FATAL: You need to invoke sc-docs from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
11
+ puts "FATAL: You need to invoke sc-docs from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
12
12
  exit
13
13
  end
14
14
 
data/bin/sc-gen CHANGED
@@ -2,12 +2,12 @@
2
2
  # ===========================================================================
3
3
  # Project: Abbot - SproutCore Build Tools
4
4
  # Copyright: ©2010 Apple Inc.
5
- # portions copyright @2006-2010 Sprout Systems, Inc.
5
+ # portions copyright @2006-2011 Strobe Inc.
6
6
  # and contributors
7
7
  # ===========================================================================
8
8
 
9
9
  if caller.empty?
10
- puts "FATAL: You need to invoke sc-gen from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
10
+ puts "FATAL: You need to invoke sc-gen from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
11
11
  exit
12
12
  end
13
13
 
data/bin/sc-init CHANGED
@@ -2,12 +2,12 @@
2
2
  # ===========================================================================
3
3
  # Project: Abbot - SproutCore Build Tools
4
4
  # Copyright: ©2010 Apple Inc.
5
- # portions copyright @2006-2010 Sprout Systems, Inc.
5
+ # portions copyright @2006-2011 Strobe Inc.
6
6
  # and contributors
7
7
  # ===========================================================================
8
8
 
9
9
  if caller.empty?
10
- puts "FATAL: You need to invoke sc-init from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
10
+ puts "FATAL: You need to invoke sc-init from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
11
11
  exit
12
12
  end
13
13
 
data/bin/sc-manifest CHANGED
@@ -2,12 +2,12 @@
2
2
  # ===========================================================================
3
3
  # Project: Abbot - SproutCore Build Tools
4
4
  # Copyright: ©2010 Apple Inc.
5
- # portions copyright @2006-2010 Sprout Systems, Inc.
5
+ # portions copyright @2006-2011 Strobe Inc.
6
6
  # and contributors
7
7
  # ===========================================================================
8
8
 
9
9
  if caller.empty?
10
- puts "FATAL: You need to invoke sc-manifest from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
10
+ puts "FATAL: You need to invoke sc-manifest from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
11
11
  exit
12
12
  end
13
13
 
data/bin/sc-server CHANGED
@@ -2,12 +2,12 @@
2
2
  # ===========================================================================
3
3
  # Project: Abbot - SproutCore Build Tools
4
4
  # Copyright: ©2010 Apple Inc.
5
- # portions copyright @2006-2010 Sprout Systems, Inc.
5
+ # portions copyright @2006-2011 Strobe Inc.
6
6
  # and contributors
7
7
  # ===========================================================================
8
8
 
9
9
  if caller.empty?
10
- puts "FATAL: You need to invoke sc-server from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
10
+ puts "FATAL: You need to invoke sc-server from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
11
11
  exit
12
12
  end
13
13
 
data/bin/sproutcore CHANGED
@@ -2,12 +2,12 @@
2
2
  # ===========================================================================
3
3
  # Project: Abbot - SproutCore Build Tools
4
4
  # Copyright: ©2010 Apple Inc.
5
- # portions copyright @2006-2010 Sprout Systems, Inc.
5
+ # portions copyright @2006-2011 Strobe Inc.
6
6
  # and contributors
7
7
  # ===========================================================================
8
8
 
9
9
  if caller.empty?
10
- puts "FATAL: You need to invoke sproutcore from an installed gem or through bundler. For more information, please visit http://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source"
10
+ puts "FATAL: You need to invoke sproutcore from an installed gem or through bundler. For more information, please visit http://github.com/sproutcore/abbot/wiki/Using-Abbot-1.4-From-Source"
11
11
  exit
12
12
  end
13
13
 
data/lib/Buildfile CHANGED
@@ -1,7 +1,7 @@
1
1
  # ===========================================================================
2
2
  # Project: Abbot - SproutCore Build Tools
3
3
  # Copyright: ©2009 Apple Inc.
4
- # portions copyright @2006-2009 Sprout Systems, Inc.
4
+ # portions copyright @2006-2011 Strobe Inc.
5
5
  # and contributors
6
6
  # ===========================================================================
7
7
 
@@ -1,6 +1,6 @@
1
1
  # ===========================================================================
2
2
  # SC::Target Buildtasks
3
- # copyright 2008, Sprout Systems, Inc. and Apple Inc. all rights reserved
3
+ # copyright 2011, Strobe Inc. and Apple Inc. all rights reserved
4
4
  # ===========================================================================
5
5
 
6
6
  # Tasks invoked while building Target objects. You can override these methods
@@ -1,6 +1,6 @@
1
1
  # ===========================================================================
2
2
  # SC::ManifestEntry Buildtasks
3
- # copyright 2008, Sprout Systems, Inc. and Apple Inc. all rights reserved
3
+ # copyright 2011, Strobe Inc. and Apple Inc. all rights reserved
4
4
  # ===========================================================================
5
5
 
6
6
  # Tasks invoked while building ManifestEntry objects. You can override these
@@ -1,6 +1,6 @@
1
1
  # ===========================================================================
2
2
  # SC::Manifest Buildtasks
3
- # copyright 2008, Sprout Systems, Inc. and Apple Inc. all rights reserved
3
+ # copyright 2011, Strobe Inc. and Apple Inc. all rights reserved
4
4
  # ===========================================================================
5
5
 
6
6
  # Tasks invoked while building Manifest objects. You can override these
@@ -1,6 +1,6 @@
1
1
  # ===========================================================================
2
2
  # SC::Target Buildtasks
3
- # copyright 2008, Sprout Systems, Inc. and Apple Inc. all rights reserved
3
+ # copyright 2011, Strobe Inc. and Apple Inc. all rights reserved
4
4
  # ===========================================================================
5
5
 
6
6
  # Tasks invoked to actually render a single HTML file. Works much like a
@@ -1,6 +1,6 @@
1
1
  # ===========================================================================
2
2
  # SC::Target Buildtasks
3
- # copyright 2008, Sprout Systems, Inc. and Apple Inc. all rights reserved
3
+ # copyright 2011, Strobe Inc. and Apple Inc. all rights reserved
4
4
  # ===========================================================================
5
5
 
6
6
  # Tasks invoked while building Target objects. You can override these methods
@@ -1,7 +1,7 @@
1
1
  # ==========================================================================
2
2
  # SproutCore JavaScript Framework - Buildfile
3
3
  # copyright (c) 2009 - Apple Inc.
4
- # portions copyright Sprout Systems Inc. and contributors
4
+ # portions copyright Strobe Inc. and contributors
5
5
  # ==========================================================================
6
6
 
7
7
  # This buildfile defines the configurations needed to link together the
@@ -1,3 +1,35 @@
1
+ *SproutCore 1.4.5 (January 25, 2010)*
2
+
3
+ * Removed old HISTORY file
4
+ * Remove content observer when destroyed
5
+ * DRY up ContentDisplay, add tests
6
+ * Convert array like objects to arrays for SC.Query CONTAINS - Fixes #138
7
+ * Fixed regression in SC.Animatable
8
+ * Allow SC.SelectView's that whose items are numbers and start at 0
9
+ * Missed a copyright
10
+ * Updated Copyrights
11
+ * Fix for SC.RootResponder's targetForAction. Now checks default responder for a isResponderContext property.
12
+ * Moved a .sc-video-view CSS rule in the correct file.
13
+ * MouseWheel fix for WebKit
14
+ * Changed CollectionFastPath#contentIndexIsGroup signature to match protocol for delegate
15
+ * Pass the event when calling modalPaneDidClick.
16
+ * [#128] BUGFIX: Disconnect bindings when object is destroyed
17
+ * Fixed issue with destroying unused items in CollectionView
18
+ * Don't try to modify select field element if it doesn't exist yet
19
+ * Enhance unloadRecords allowing unloading all records of a specific type
20
+ * fixed timing issues where css3 transitions are applied incorrectly
21
+ * Return the picker pane after popup
22
+ * Added test for SC.Record.normalize() not preserving hash value of toOne without a defaultValue.
23
+ * SC.Record.normalize() would not preserve has value of toOne relationship that did not declare a defaultValue. All tests pass.
24
+ * Added tests for SC.CascadeDataSource.
25
+ * Fixed bug with retrieveRecords in SC.CascadeDataSource not passing all arguments.
26
+ * SC.Observable.addProbe() fix for iPad/iPhone -- console.log currently only accepts one argument.
27
+ * CollectionView calls destroy to removed item views that will not be reused
28
+ * Check for image before trying to abort - Fixes #106
29
+ * Updated references to mouseOut and mouseOver to mouseExited and mouseEntered - Fixes #100
30
+ * Fixed bug with toggling isEnabled on SelectFieldView
31
+
32
+
1
33
  *SproutCore 1.4.4 (November 12, 2010)*
2
34
 
3
35
  * Fix SC.platform.touch for Chrome 9
@@ -86,7 +86,7 @@ Greenhouse.mainPage = SC.Page.design({
86
86
 
87
87
  footer: SC.LabelView.design({
88
88
  layout: { bottom: 0, height: 30, left: 0, right: 0},
89
- value: '©2010 Sprout Systems Inc. & Contributors',
89
+ value: '©2011 Strobe Inc. & Contributors',
90
90
  textAlign: SC.ALIGN_CENTER,
91
91
  classNames: ['footer']
92
92
  })
@@ -47,7 +47,7 @@ Greenhouse.SimpleButton = {
47
47
  },
48
48
 
49
49
  /** @private
50
- Remove the active class on mouseOut if mouse is down.
50
+ Remove the active class on mouseExited if mouse is down.
51
51
  */
52
52
  mouseExited: function(evt) {
53
53
  //console.log('SimpleButton#mouseExited()...');
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore Test Runner
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore - JavaScript Application Framework
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -1,6 +1,6 @@
1
1
  // ==========================================================================
2
2
  // Project: SproutCore Test Runner
3
- // Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
3
+ // Copyright: ©2006-2011 Strobe Inc. and contributors.
4
4
  // Portions ©2008-2010 Apple Inc. All rights reserved.
5
5
  // License: Licensed under MIT license (see license.js)
6
6
  // ==========================================================================
@@ -36,12 +36,12 @@ aView: SC.LabelView.design(SC.Animatable, {
36
36
  */
37
37
  SC.Animatable = {
38
38
  /** @scope SC.Animatable.prototype */
39
-
39
+
40
40
  /**
41
41
  Walks like a duck.
42
42
  */
43
43
  isAnimatable: YES,
44
-
44
+
45
45
  transitions: {},
46
46
  concatenatedProperties: ["transitions"],
47
47
 
@@ -53,7 +53,7 @@ SC.Animatable = {
53
53
 
54
54
  // collections of CSS transitions we have available
55
55
  _cssTransitionFor: {
56
- "left": "left", "top": "top",
56
+ "left": "left", "top": "top",
57
57
  "right": "right", "bottom": "bottom",
58
58
  "width": "width", "height": "height",
59
59
  "opacity": "opacity",
@@ -80,10 +80,10 @@ SC.Animatable = {
80
80
 
81
81
  this._animatable_original_willDestroyLayer = this.willDestroyLayer || function(){};
82
82
  this.willDestroyLayer = this._animatable_willDestroyLayer;
83
-
83
+
84
84
  this._animatable_original_willRemoveFromParent = this.willRemoveFromParent || function(){};
85
85
  this.willRemoveFromParent = this._animatable_will_remove_from_parent;
86
-
86
+
87
87
  // auto observers do not work when mixed in live, so make sure we do a manual observer
88
88
  this.addObserver("style", this, "styleDidChange");
89
89
 
@@ -118,14 +118,14 @@ SC.Animatable = {
118
118
  this._last_transition_css = ""; // to keep from re-setting unnecessarily
119
119
  this._disableAnimation = 0; // calls to disableAnimation add one; enableAnimation remove one.
120
120
  this._transitionCallbacks = {}; // define callback set
121
-
121
+
122
122
  // alert if layer already created
123
123
  if (!SC.none(this.get("layer"))) {
124
124
  var o = this._animatable_original_didCreateLayer;
125
125
  this._animatable_original_didCreateLayer = function(){};
126
126
  this.didCreateLayer();
127
127
  this._animatable_original_didCreateLayer = o;
128
-
128
+
129
129
  }
130
130
  },
131
131
 
@@ -141,31 +141,42 @@ SC.Animatable = {
141
141
  SC.Event.remove(this.get('layer'), "transitionEnd", this, this.transitionEnd);
142
142
  return this._animatable_original_willDestroyLayer();
143
143
  },
144
-
144
+
145
145
  /**
146
146
  Stops all animations on the layer when this occurs by calling resetAnimation.
147
147
  */
148
148
  _animatable_will_remove_from_parent: function() {
149
149
  this.resetAnimation();
150
150
  },
151
-
151
+
152
152
  /**
153
153
  Disables animation.
154
-
154
+
155
155
  It is like parenthesis. Each "disable" must be matched by an "enable".
156
156
  If you call disable twice, you need two enables to start it. Three times, you need
157
157
  three enables.
158
158
  */
159
- disableAnimation: function() {
160
- this._disableAnimation++;
159
+ disableAnimation: function() {
160
+ if (this._disableAnimation < 1) {
161
+ this.updateStyle();
162
+ this._disableAnimation = 1;
163
+ this.updateStyle();
164
+ } else {
165
+ this._disableAnimation++;
166
+ }
161
167
  },
162
-
168
+
163
169
  /**
164
170
  Enables animation if it was disabled (or moves towards that direction, at least).
165
171
  */
166
172
  enableAnimation: function() {
167
- this._disableAnimation--;
168
- if (this._disableAnimation < 0) this._disableAnimation = 0;
173
+ if (this._disableAnimation <= 1) {
174
+ this.updateStyle();
175
+ this._disableAnimation = 0;
176
+ this.updateStyle();
177
+ } else {
178
+ this._disableAnimation--;
179
+ }
169
180
  },
170
181
 
171
182
  /**
@@ -236,11 +247,11 @@ SC.Animatable = {
236
247
 
237
248
  /**
238
249
  Returns the current set of styles and layout according to JavaScript transitions.
239
-
250
+
240
251
  That is, for transitions managed by JavaScript (rather than CSS), the current position
241
252
  (even mid-transition) will be returned. For CSS-based transitions, the target position
242
253
  will be returned. This function is mostly useful for testing.
243
-
254
+
244
255
  It will return null if there is no such style.
245
256
  */
246
257
  getCurrentJavaScriptStyles: function() {
@@ -258,7 +269,7 @@ SC.Animatable = {
258
269
  this.enableAnimation();
259
270
  this.updateStyle();
260
271
  },
261
-
272
+
262
273
  /**
263
274
  Stops all JavaScript animations on the object. In their tracks. Hah hah.
264
275
  @private
@@ -279,7 +290,7 @@ SC.Animatable = {
279
290
  this.layout = start;
280
291
 
281
292
  // get our frame and parent's frame
282
- var p = this.computeParentDimensions(this.get("frame"));
293
+ var p = this.computeParentDimensions();
283
294
  var f = this.computeFrameWithParentFrame(p);
284
295
 
285
296
  // set back to target
@@ -302,7 +313,7 @@ SC.Animatable = {
302
313
  else if (i == "centerX") { l[i] = f.x + (f.width / 2) - (p.width / 2); continue; }
303
314
  else if (i == "centerY") { l[i] = f.y + (f.height / 2) - (p.height / 2); continue; }
304
315
  }
305
-
316
+
306
317
  if (SC.none(l[i])) {
307
318
  if (!SC.none(start[i])) l[i] = start[i];
308
319
  else l[i] = target[i];
@@ -312,7 +323,7 @@ SC.Animatable = {
312
323
  },
313
324
 
314
325
  _TMP_CSS_TRANSITIONS: [],
315
-
326
+
316
327
  /**
317
328
  @private
318
329
  Returns a string with CSS for the timing portion of a transition.
@@ -329,7 +340,7 @@ SC.Animatable = {
329
340
  }
330
341
  return timing_function;
331
342
  },
332
-
343
+
333
344
  /**
334
345
  @private
335
346
  Triggers updateStyle at end of run loop.
@@ -359,7 +370,7 @@ SC.Animatable = {
359
370
 
360
371
  /**
361
372
  Immediately applies styles to elements, and starts any needed transitions.
362
-
373
+
363
374
  Called automatically when style changes, but if you need styles to be adjusted
364
375
  immediately (for instance, if you have temporarily disabled animation to set a
365
376
  start state), you may want to call manually too.
@@ -418,33 +429,19 @@ SC.Animatable = {
418
429
  // no use doing anything else if no layer.
419
430
  if (!layer) return;
420
431
 
421
- // compare new style to old style. Manually, to skip guid stuff that can
422
- // mess things up a bit.
423
- var equal = true;
424
- for (i in newStyle)
425
- {
426
- if (i[0] == "_") continue;
427
- if (newStyle[i] != this._animatableCurrentStyle[i])
428
- {
429
- equal = false;
430
- break;
431
- }
432
- }
433
- if (equal) return this;
434
-
435
432
  // get a normalized starting point based off of our style
436
433
  var startingPoint = this._getStartStyleHash(this._animatableCurrentStyle, newStyle);
437
434
  var endingPoint = {};
438
-
435
+
439
436
  // prepare stuff for timing function calc
440
437
  var timing;
441
-
438
+
442
439
  // also prepare an array of CSS transitions to set up. Do this always so we get (and keep) all transitions.
443
440
  var cssTransitions = this._TMP_CSS_TRANSITIONS;
444
441
  if (SC.platform.supportsCSSTransitions) {
445
442
  // first, handle special cases
446
443
  var timing_function;
447
-
444
+
448
445
  ////**SPECIAL TRANSFORM CASE**////
449
446
  // this is a VERY special case. If right or bottom are supplied, can't do it. If left+top need
450
447
  // animation at different speeds: can't do it.
@@ -454,12 +451,12 @@ SC.Animatable = {
454
451
  cssTransitions.push("-"+SC.platform.cssPrefix+"-transform " + transitionForTiming.duration + "s " + timing_function);
455
452
  }
456
453
  ////**END SPECIAL TRANSFORM CASE**////
457
-
454
+
458
455
  // loop
459
456
  for (i in this.transitions) {
460
457
  if (!this._cssTransitionFor[i]) continue;
461
458
 
462
- ////**SPECIAL TRANSFORM CASE**////
459
+ ////**SPECIAL TRANSFORM CASE**////
463
460
  if (specialTransform && (i == "left" || i == "top")) {
464
461
  if (this.transitions["left"].action){
465
462
  this._transitionCallbacks["-"+SC.platform.cssPrefix+"-transform"] = {
@@ -482,17 +479,17 @@ SC.Animatable = {
482
479
 
483
480
  // get timing function
484
481
  timing_function = this.cssTimingStringFor(this.transitions[i]);
485
-
482
+
486
483
  // sanitize name
487
- cssTransitions.push(this._cssTransitionFor[i] + " " + this.transitions[i].duration + "s " + timing_function);
484
+ cssTransitions.push(this._cssTransitionFor[i] + " " + this.transitions[i].duration + "s " + timing_function);
488
485
  }
489
486
  }
490
487
 
491
488
  for (i in newStyle)
492
489
  {
493
490
  if (i[0] == "_") continue; // guid (or something else we can't deal with anyway)
494
-
495
-
491
+
492
+
496
493
  // if it needs to be set right away since it is not animatable, _getStartStyleHash
497
494
  // will have done that. But if we aren't supposed to animate it, we need to know, now.
498
495
  var shouldSetImmediately = !this.transitions[i] || newStyle[i] == startingPoint[i];
@@ -533,9 +530,9 @@ SC.Animatable = {
533
530
 
534
531
  // well well well... looks like we need to animate. Prepare an animation structure.
535
532
  // (WHY ARE WE ALWAYS PREPARING?)
536
- var applier = this._animateTickPixel,
537
- property = i,
538
- startValue = startingPoint[i],
533
+ var applier = this._animateTickPixel,
534
+ property = i,
535
+ startValue = startingPoint[i],
539
536
  endValue = newStyle[i];
540
537
 
541
538
  // special property stuff
@@ -626,15 +623,15 @@ SC.Animatable = {
626
623
  /**
627
624
  @private
628
625
  Adjusts display and queues a change for the other properties.
629
-
626
+
630
627
  layer: the layer to modify
631
628
  styles: the styles to set
632
629
  delayed: styles to set after a brief delay (if any)
633
630
  */
634
631
  _animatableApplyStyles: function(layer, styles, delayed)
635
- {
632
+ {
636
633
  if (!layer) return;
637
-
634
+
638
635
  // handle a specific style first: display. There is a special case because it disrupts transitions.
639
636
  var needsRender = NO;
640
637
  if (styles["display"] && layer.style["display"] !== styles["display"]) {
@@ -653,7 +650,7 @@ SC.Animatable = {
653
650
 
654
651
  // get timer
655
652
  var timer = this._animators["display-styles"];
656
-
653
+
657
654
  // set settings
658
655
  timer.holder = this;
659
656
  timer.action = this._animatableApplyNonDisplayStylesFromTimer;
@@ -662,9 +659,9 @@ SC.Animatable = {
662
659
  timer.styles = styles;
663
660
  timer.delayed = delayed;
664
661
  this._animatableCurrentStyle = styles;
665
-
662
+
666
663
  // schedule.
667
- if (this._disableAnimation > 0) {
664
+ if (this._disableAnimation > 0 || !needsRender) {
668
665
  timer.inLoopAction();
669
666
  } else {
670
667
  // after setting transition or display, we must wait a moment;
@@ -672,7 +669,7 @@ SC.Animatable = {
672
669
  SC.Animatable.addTimer(timer);
673
670
  }
674
671
  },
675
-
672
+
676
673
  _animatableApplyNonDisplayStylesFromTimer: function() {
677
674
  SC.run(function() {
678
675
  this.inLoopAction();
@@ -704,7 +701,7 @@ SC.Animatable = {
704
701
  else if (styleHelpers[i]) styleHelpers[i](style, i, styles);
705
702
  else style[i] = styles[i];
706
703
  }
707
-
704
+
708
705
  // don't want to set because we don't want updateLayout... again.
709
706
  if (updateLayout) {
710
707
  var prev = this.holder.layout;
@@ -723,7 +720,7 @@ SC.Animatable = {
723
720
  // go back to previous
724
721
  this.holder.layout = prev;
725
722
  }
726
-
723
+
727
724
  // queue up any delayed styles
728
725
  if (this.delayed) {
729
726
  // set settings
@@ -863,7 +860,7 @@ SC.Animatable = {
863
860
  percent = this.holder._solveBezier(timing[0], timing[1], timing[2], timing[3], percent, d);
864
861
  }
865
862
 
866
- // calculate new position
863
+ // calculate new position
867
864
  var value = Math.floor(sv + (dv * percent));
868
865
  this.holder._animatableCurrentStyle[this.property] = value;
869
866
 
@@ -891,7 +888,7 @@ SC.Animatable = {
891
888
 
892
889
  // check if we should keep going (we only set display none, and only at end)
893
890
  var e = this.end;
894
- if (t < e)
891
+ if (t < e)
895
892
  {
896
893
  SC.Animatable.addTimer(this);
897
894
  return;
@@ -938,7 +935,7 @@ SC.Animatable = {
938
935
  percent = this.holder._solveBezier(timing[0], timing[1], timing[2], timing[3], percent, d);
939
936
  }
940
937
 
941
- // calculate new position
938
+ // calculate new position
942
939
  var value = Math.round((sv + (dv * percent)) * 100) / 100;
943
940
  this.holder._animatableCurrentStyle[this.property] = value;
944
941
 
@@ -988,7 +985,7 @@ SC.Animatable = {
988
985
  percent = this.holder._solveBezier(timing[0], timing[1], timing[2], timing[3], percent, d);
989
986
  }
990
987
 
991
- // calculate new position
988
+ // calculate new position
992
989
  var value = sv + (dv * percent);
993
990
  this.holder._animatableCurrentStyle[this.property] = value;
994
991
 
@@ -1004,7 +1001,7 @@ SC.Animatable = {
1004
1001
  }
1005
1002
 
1006
1003
  this.style[style] = Math.round(value - (this.holder._animatableCurrentStyle[widthOrHeight] / 2)) + "px";
1007
-
1004
+
1008
1005
  if (t < e) SC.Animatable.addTimer(this);
1009
1006
  else {
1010
1007
  this.going = false;
@@ -1025,30 +1022,30 @@ SC.mixin(SC.Animatable, {
1025
1022
 
1026
1023
  /** Linear transition **/
1027
1024
  TRANSITION_NONE: "linear",
1028
-
1025
+
1029
1026
  /** 'ease' transition if using CSS transitions; otherwise linear. **/
1030
1027
  TRANSITION_CSS_EASE: "ease",
1031
-
1028
+
1032
1029
  /** 'ease-in' transition if using CSS transitions; otherwise linear. **/
1033
1030
  TRANSITION_CSS_EASE_IN: "ease-in",
1034
-
1031
+
1035
1032
  /** 'ease-out' transition if using CSS transitions; otherwise linear. **/
1036
1033
  TRANSITION_CSS_EASE_OUT: "ease-out",
1037
-
1034
+
1038
1035
  /** 'ease-in-out' transition if using CSS transitions; otherwise linear. **/
1039
1036
  TRANSITION_CSS_EASE_IN_OUT: "ease-in-out",
1040
1037
 
1041
1038
  /** 'ease' transition. **/
1042
1039
  TRANSITION_EASE: [0.25, 0.1, 0.25, 1.0],
1043
-
1040
+
1044
1041
  TRANSITION_LINEAR: [0.0, 0.0, 1.0, 1.0],
1045
-
1042
+
1046
1043
  /** 'ease-in' transition. **/
1047
1044
  TRANSITION_EASE_IN: [0.42, 0.0, 1.0, 1.0],
1048
-
1045
+
1049
1046
  /** 'ease-out' transition. **/
1050
1047
  TRANSITION_EASE_OUT: [0, 0, 0.58, 1.0],
1051
-
1048
+
1052
1049
  /** 'ease-in-out' transition if using CSS transitions; otherwise linear. **/
1053
1050
  TRANSITION_EASE_IN_OUT: [0.42, 0, 0.58, 1.0],
1054
1051
 
@@ -1061,17 +1058,17 @@ SC.mixin(SC.Animatable, {
1061
1058
  baseTimer: {
1062
1059
  next: null
1063
1060
  },
1064
-
1061
+
1065
1062
  // keep track of whether the timer is running
1066
1063
  going: false,
1067
-
1064
+
1068
1065
  // ticks and tocs
1069
1066
  _ticks: 0,
1070
1067
  _timer_start_time: null,
1071
-
1068
+
1072
1069
  // the global tiemr interval
1073
1070
  interval: 10,
1074
-
1071
+
1075
1072
  // the current time (a placeholder, really)
1076
1073
  currentTime: new Date().getTime(),
1077
1074
 
@@ -1082,7 +1079,7 @@ SC.mixin(SC.Animatable, {
1082
1079
  stats: SC.Object.create({
1083
1080
  lastFPS: 0
1084
1081
  }),
1085
-
1082
+
1086
1083
  /**
1087
1084
  Adds a timer.
1088
1085
  @private
@@ -1096,7 +1093,7 @@ SC.mixin(SC.Animatable, {
1096
1093
  animator.isQueued = true;
1097
1094
  if (!SC.Animatable.going) SC.Animatable.start();
1098
1095
  },
1099
-
1096
+
1100
1097
  /**
1101
1098
  Removes a timer.
1102
1099
  @private
@@ -1119,7 +1116,7 @@ SC.mixin(SC.Animatable, {
1119
1116
  },
1120
1117
 
1121
1118
  timeout: function()
1122
- {
1119
+ {
1123
1120
  SC.Animatable.currentTime = new Date().getTime();
1124
1121
  var start = SC.Animatable.currentTime;
1125
1122
 
@@ -1142,7 +1139,7 @@ SC.mixin(SC.Animatable, {
1142
1139
  // still, only called once per frame, so should _very_ minimally impact performance and memory.
1143
1140
  if (SC.Animatable._ticks < 1000000) SC.Animatable._ticks++; // okay, put _some_ limit on it
1144
1141
 
1145
- // now see about doing next bit...
1142
+ // now see about doing next bit...
1146
1143
  var end = new Date().getTime();
1147
1144
  var elapsed = end - start;
1148
1145
  if (SC.Animatable.baseTimer.next)