sproutcore 1.0.1003 → 1.0.1008

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. data/Buildfile +15 -3
  2. data/Rakefile +3 -7
  3. data/VERSION.yml +2 -2
  4. data/buildtasks/manifest.rake +2 -0
  5. data/frameworks/sproutcore/Buildfile +2 -0
  6. data/frameworks/sproutcore/HISTORY +218 -203
  7. data/frameworks/sproutcore/README +47 -6
  8. data/frameworks/sproutcore/apps/tests/english.lproj/main_page.css +4 -0
  9. data/frameworks/sproutcore/design/Design Charts.graffle +2945 -4332
  10. data/frameworks/sproutcore/frameworks/bootstrap/README +9 -0
  11. data/frameworks/sproutcore/frameworks/bootstrap/core.js +7 -0
  12. data/frameworks/sproutcore/frameworks/bootstrap/setup_body_class_names.js +10 -0
  13. data/frameworks/sproutcore/frameworks/bootstrap/system/browser.js +28 -0
  14. data/frameworks/sproutcore/frameworks/bootstrap/system/loader.js +45 -0
  15. data/frameworks/sproutcore/frameworks/datastore/models/many_attribute.js +9 -8
  16. data/frameworks/sproutcore/frameworks/datastore/models/record.js +49 -9
  17. data/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +9 -0
  18. data/frameworks/sproutcore/frameworks/datastore/models/single_attribute.js +3 -2
  19. data/frameworks/sproutcore/frameworks/datastore/system/nested_store.js +81 -8
  20. data/frameworks/sproutcore/frameworks/datastore/system/query.js +26 -5
  21. data/frameworks/sproutcore/frameworks/datastore/system/record_array.js +47 -0
  22. data/frameworks/sproutcore/frameworks/datastore/system/store.js +164 -32
  23. data/frameworks/sproutcore/frameworks/datastore/tests/models/many_attribute.js +32 -4
  24. data/frameworks/sproutcore/frameworks/datastore/tests/models/record/error_methods.js +56 -0
  25. data/frameworks/sproutcore/frameworks/datastore/tests/models/record/normalize.js +1 -1
  26. data/frameworks/sproutcore/frameworks/datastore/tests/models/record/unknownProperty.js +15 -0
  27. data/frameworks/sproutcore/frameworks/datastore/tests/models/record/writeAttribute.js +16 -1
  28. data/frameworks/sproutcore/frameworks/datastore/tests/models/record_attribute.js +1 -1
  29. data/frameworks/sproutcore/frameworks/datastore/tests/models/single_attribute.js +22 -1
  30. data/frameworks/sproutcore/frameworks/datastore/tests/system/nested_store/chain.js +32 -1
  31. data/frameworks/sproutcore/frameworks/datastore/tests/system/nested_store/core_methods.js +70 -0
  32. data/frameworks/sproutcore/frameworks/datastore/tests/system/query/evaluation.js +12 -0
  33. data/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/error_methods.js +50 -0
  34. data/frameworks/sproutcore/frameworks/datastore/tests/system/store/commitRecord.js +9 -9
  35. data/frameworks/sproutcore/frameworks/datastore/tests/system/store/core_methods.js +8 -1
  36. data/frameworks/sproutcore/frameworks/datastore/tests/system/store/dataHashDidChange.js +79 -0
  37. data/frameworks/sproutcore/frameworks/datastore/tests/system/store/dataSourceCallbacks.js +24 -0
  38. data/frameworks/sproutcore/frameworks/datastore/tests/system/store/error_methods.js +62 -0
  39. data/frameworks/sproutcore/frameworks/datastore/tests/system/store/init.js +2 -0
  40. data/frameworks/sproutcore/frameworks/debug/core.js +10 -6
  41. data/frameworks/sproutcore/frameworks/designer/controllers/page_design.js +43 -18
  42. data/frameworks/sproutcore/frameworks/designer/core.js +10 -0
  43. data/frameworks/sproutcore/frameworks/designer/english.lproj/selection_handles.css +58 -0
  44. data/frameworks/sproutcore/frameworks/designer/{views/mixins → mixins}/button.js +0 -0
  45. data/frameworks/sproutcore/frameworks/designer/views/{controls/button.js → button.js} +6 -2
  46. data/frameworks/sproutcore/frameworks/designer/views/designer.js +566 -136
  47. data/frameworks/sproutcore/frameworks/designer/views/selection_handles.js +77 -0
  48. data/frameworks/sproutcore/frameworks/desktop/core.js +12 -0
  49. data/frameworks/sproutcore/frameworks/desktop/english.lproj/alert.css +1 -1
  50. data/frameworks/sproutcore/frameworks/desktop/english.lproj/drag.css +3 -2
  51. data/frameworks/sproutcore/frameworks/desktop/english.lproj/list_item.css +0 -36
  52. data/frameworks/sproutcore/frameworks/desktop/english.lproj/menu.css +14 -0
  53. data/frameworks/sproutcore/frameworks/desktop/english.lproj/modal.css +4 -0
  54. data/frameworks/sproutcore/frameworks/desktop/english.lproj/slider.css +2 -0
  55. data/frameworks/sproutcore/frameworks/desktop/english.lproj/tab.css +0 -4
  56. data/frameworks/sproutcore/frameworks/desktop/mixins/collection_view_delegate.js +8 -5
  57. data/frameworks/sproutcore/frameworks/desktop/panes/alert.js +2 -2
  58. data/frameworks/sproutcore/frameworks/desktop/panes/menu.js +100 -111
  59. data/frameworks/sproutcore/frameworks/desktop/panes/panel.js +1 -1
  60. data/frameworks/sproutcore/frameworks/desktop/panes/picker.js +51 -13
  61. data/frameworks/sproutcore/frameworks/desktop/panes/{drop_down.js → select_button.js} +70 -109
  62. data/frameworks/sproutcore/frameworks/desktop/panes/sheet.js +8 -0
  63. data/frameworks/sproutcore/frameworks/desktop/system/root_responder.js +69 -23
  64. data/frameworks/sproutcore/frameworks/desktop/system/undo_manager.js +4 -4
  65. data/frameworks/sproutcore/frameworks/desktop/tests/panes/menu/methods.js +2 -0
  66. data/frameworks/sproutcore/frameworks/desktop/tests/panes/{dropDown → select_button}/methods.js +15 -11
  67. data/frameworks/sproutcore/frameworks/desktop/tests/panes/{dropDown → select_button}/ui.js +22 -22
  68. data/frameworks/sproutcore/frameworks/desktop/tests/views/button/methods.js +1 -1
  69. data/frameworks/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +0 -1
  70. data/frameworks/sproutcore/frameworks/desktop/tests/views/collection/deleteSelection.js +1 -1
  71. data/frameworks/sproutcore/frameworks/desktop/tests/views/collection/deselect.js +19 -3
  72. data/frameworks/sproutcore/frameworks/desktop/tests/views/collection/itemViewForContentIndex.js +1 -1
  73. data/frameworks/sproutcore/frameworks/desktop/tests/views/collection/mouse.js +53 -28
  74. data/frameworks/sproutcore/frameworks/desktop/tests/views/collection/select.js +6 -6
  75. data/frameworks/sproutcore/frameworks/desktop/tests/views/collection/selectNextItem.js +23 -9
  76. data/frameworks/sproutcore/frameworks/desktop/tests/views/collection/selectPreviousItem.js +24 -10
  77. data/frameworks/sproutcore/frameworks/desktop/tests/views/list/rowHeightForContentIndex.js +1 -1
  78. data/frameworks/sproutcore/frameworks/desktop/tests/views/list/ui_row_heights.js +1 -1
  79. data/frameworks/sproutcore/frameworks/desktop/tests/views/progress/ui.js +10 -3
  80. data/frameworks/sproutcore/frameworks/desktop/tests/views/radio/methods.js +1 -1
  81. data/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/ui.js +50 -28
  82. data/frameworks/sproutcore/frameworks/desktop/tests/views/scroller/methods.js +6 -6
  83. data/frameworks/sproutcore/frameworks/desktop/tests/views/segmented/methods.js +3 -3
  84. data/frameworks/sproutcore/frameworks/desktop/tests/views/segmented/ui.js +8 -8
  85. data/frameworks/sproutcore/frameworks/desktop/tests/views/select_field/methods.js +1 -1
  86. data/frameworks/sproutcore/frameworks/desktop/tests/views/tab/methods.js +1 -1
  87. data/frameworks/sproutcore/frameworks/desktop/views/button.js +5 -3
  88. data/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +4 -3
  89. data/frameworks/sproutcore/frameworks/desktop/views/collection.js +125 -96
  90. data/frameworks/sproutcore/frameworks/desktop/views/grid.js +1 -0
  91. data/frameworks/sproutcore/frameworks/desktop/views/list.js +68 -18
  92. data/frameworks/sproutcore/frameworks/desktop/views/list_item.js +134 -56
  93. data/frameworks/sproutcore/frameworks/desktop/views/menu_item.js +18 -11
  94. data/frameworks/sproutcore/frameworks/desktop/views/menu_scroll.js +562 -2
  95. data/frameworks/sproutcore/frameworks/desktop/views/popup_button.js +13 -0
  96. data/frameworks/sproutcore/frameworks/desktop/views/progress.js +11 -8
  97. data/frameworks/sproutcore/frameworks/desktop/views/radio.js +7 -7
  98. data/frameworks/sproutcore/frameworks/desktop/views/scroll.js +99 -33
  99. data/frameworks/sproutcore/frameworks/desktop/views/scroller.js +3 -7
  100. data/frameworks/sproutcore/frameworks/desktop/views/segmented.js +0 -7
  101. data/frameworks/sproutcore/frameworks/desktop/views/separator.js +2 -3
  102. data/frameworks/sproutcore/frameworks/desktop/views/slider.js +0 -8
  103. data/frameworks/sproutcore/frameworks/desktop/views/source_list_group.js +1 -1
  104. data/frameworks/sproutcore/frameworks/desktop/views/split.js +27 -7
  105. data/frameworks/sproutcore/frameworks/desktop/views/tab.js +2 -6
  106. data/frameworks/sproutcore/frameworks/foundation/controllers/array.js +15 -10
  107. data/frameworks/sproutcore/frameworks/foundation/controllers/tree.js +20 -1
  108. data/frameworks/sproutcore/frameworks/foundation/debug/control_test_pane.js +1 -1
  109. data/frameworks/sproutcore/frameworks/foundation/english.lproj/bootstrap.rhtml +3 -6
  110. data/frameworks/sproutcore/frameworks/foundation/english.lproj/button_view.css +3 -0
  111. data/frameworks/sproutcore/frameworks/foundation/english.lproj/core.css +8 -0
  112. data/frameworks/sproutcore/frameworks/foundation/english.lproj/inline_editor.css +12 -0
  113. data/frameworks/sproutcore/frameworks/foundation/english.lproj/label.css +11 -0
  114. data/frameworks/sproutcore/frameworks/foundation/english.lproj/text_field.css +13 -0
  115. data/frameworks/sproutcore/frameworks/foundation/mixins/button.js +1 -2
  116. data/frameworks/sproutcore/frameworks/foundation/mixins/inline_text_field.js +70 -21
  117. data/frameworks/sproutcore/frameworks/foundation/mixins/selection_support.js +88 -54
  118. data/frameworks/sproutcore/frameworks/foundation/mixins/static_layout.js +0 -25
  119. data/frameworks/sproutcore/frameworks/foundation/mixins/string.js +23 -2
  120. data/frameworks/sproutcore/frameworks/foundation/panes/pane.js +34 -23
  121. data/frameworks/sproutcore/frameworks/foundation/private/tree_item_observer.js +20 -0
  122. data/frameworks/sproutcore/frameworks/foundation/system/benchmark.js +32 -23
  123. data/frameworks/sproutcore/frameworks/foundation/system/browser.js +2 -2
  124. data/frameworks/sproutcore/frameworks/foundation/system/bundle.js +77 -15
  125. data/frameworks/sproutcore/frameworks/foundation/system/core_query.js +5 -4
  126. data/frameworks/sproutcore/frameworks/foundation/system/cursor.js +1 -1
  127. data/frameworks/sproutcore/frameworks/foundation/system/render_context.js +22 -7
  128. data/frameworks/sproutcore/frameworks/foundation/system/request.js +466 -309
  129. data/frameworks/sproutcore/frameworks/foundation/system/responder.js +2 -1
  130. data/frameworks/sproutcore/frameworks/foundation/system/response.js +457 -0
  131. data/frameworks/sproutcore/frameworks/foundation/system/root_responder.js +66 -15
  132. data/frameworks/sproutcore/frameworks/foundation/system/routes.js +4 -4
  133. data/frameworks/sproutcore/frameworks/foundation/system/timer.js +6 -4
  134. data/frameworks/sproutcore/frameworks/foundation/system/utils.js +46 -8
  135. data/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/array_case.js +17 -0
  136. data/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/enum_case.js +18 -5
  137. data/frameworks/sproutcore/frameworks/foundation/tests/controllers/array/null_case.js +1 -1
  138. data/frameworks/sproutcore/frameworks/foundation/tests/mixins/staticLayout.js +0 -2
  139. data/frameworks/sproutcore/frameworks/foundation/tests/mixins/string.js +11 -0
  140. data/frameworks/sproutcore/frameworks/foundation/tests/private/tree_item_observer/group_case.js +14 -14
  141. data/frameworks/sproutcore/frameworks/foundation/tests/system/builder.js +2 -2
  142. data/frameworks/sproutcore/frameworks/foundation/tests/system/core_query/jquery_core.js +15 -3
  143. data/frameworks/sproutcore/frameworks/foundation/tests/system/datetime.js +1 -1
  144. data/frameworks/sproutcore/frameworks/foundation/tests/system/locale.js +8 -7
  145. data/frameworks/sproutcore/frameworks/foundation/tests/system/render_context/tag.js +3 -2
  146. data/frameworks/sproutcore/frameworks/foundation/tests/system/request.js +51 -44
  147. data/frameworks/sproutcore/frameworks/foundation/tests/system/root_responder/targetForAction.js +2 -2
  148. data/frameworks/sproutcore/frameworks/foundation/tests/system/timer/isPaused.js +4 -4
  149. data/frameworks/sproutcore/frameworks/foundation/tests/system/timer/performAction.js +2 -0
  150. data/frameworks/sproutcore/frameworks/foundation/tests/validators/credit_card.js +9 -9
  151. data/frameworks/sproutcore/frameworks/foundation/tests/validators/number.js +2 -2
  152. data/frameworks/sproutcore/frameworks/foundation/tests/views/container/ui.js +3 -3
  153. data/frameworks/sproutcore/frameworks/foundation/tests/views/image/ui.js +10 -3
  154. data/frameworks/sproutcore/frameworks/foundation/tests/views/label/ui.js +2 -2
  155. data/frameworks/sproutcore/frameworks/foundation/tests/views/pane/append_remove.js +14 -0
  156. data/frameworks/sproutcore/frameworks/foundation/tests/views/text_field/methods.js +5 -5
  157. data/frameworks/sproutcore/frameworks/foundation/tests/views/text_field/ui.js +1 -11
  158. data/frameworks/sproutcore/frameworks/foundation/tests/views/view/clippingFrame.js +2 -2
  159. data/frameworks/sproutcore/frameworks/foundation/tests/views/view/destroyLayer.js +2 -4
  160. data/frameworks/sproutcore/frameworks/foundation/tests/views/view/findLayerInParentLayer.js +2 -4
  161. data/frameworks/sproutcore/frameworks/foundation/tests/views/view/insertBefore.js +1 -1
  162. data/frameworks/sproutcore/frameworks/foundation/tests/views/view/layoutStyle.js +0 -2
  163. data/frameworks/sproutcore/frameworks/foundation/validators/password.js +5 -5
  164. data/frameworks/sproutcore/frameworks/foundation/validators/validator.js +4 -2
  165. data/frameworks/sproutcore/frameworks/foundation/views/field.js +5 -8
  166. data/frameworks/sproutcore/frameworks/foundation/views/label.js +21 -5
  167. data/frameworks/sproutcore/frameworks/foundation/views/text_field.js +112 -69
  168. data/frameworks/sproutcore/frameworks/foundation/views/view.js +67 -6
  169. data/frameworks/sproutcore/frameworks/runtime/core.js +51 -2
  170. data/frameworks/sproutcore/frameworks/runtime/mixins/observable.js +4 -1
  171. data/frameworks/sproutcore/frameworks/runtime/system/binding.js +2 -1
  172. data/frameworks/sproutcore/frameworks/runtime/system/enumerator.js +5 -4
  173. data/frameworks/sproutcore/frameworks/runtime/system/index_set.js +6 -1
  174. data/frameworks/sproutcore/frameworks/runtime/system/logger.js +408 -0
  175. data/frameworks/sproutcore/frameworks/runtime/system/object.js +15 -4
  176. data/frameworks/sproutcore/frameworks/runtime/system/selection_set.js +30 -2
  177. data/frameworks/sproutcore/frameworks/runtime/tests/core/IsEqual.js +5 -1
  178. data/frameworks/sproutcore/frameworks/runtime/tests/core/beget.js +1 -1
  179. data/frameworks/sproutcore/frameworks/runtime/tests/core/compare.js +3 -3
  180. data/frameworks/sproutcore/frameworks/runtime/tests/core/guidFor.js +2 -0
  181. data/frameworks/sproutcore/frameworks/runtime/tests/core/isArray.js +1 -1
  182. data/frameworks/sproutcore/frameworks/runtime/tests/core/itemType.js +2 -1
  183. data/frameworks/sproutcore/frameworks/runtime/tests/core/tupleForPropertyPath.js +2 -2
  184. data/frameworks/sproutcore/frameworks/runtime/tests/mixins/observable/propertyChanges.js +1 -1
  185. data/frameworks/sproutcore/frameworks/runtime/tests/mixins/propertyChanges.js +1 -0
  186. data/frameworks/sproutcore/frameworks/runtime/tests/system/binding.js +11 -7
  187. data/frameworks/sproutcore/frameworks/runtime/tests/system/error.js +3 -2
  188. data/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/add.js +18 -1
  189. data/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/remove.js +1 -1
  190. data/frameworks/sproutcore/frameworks/runtime/tests/system/logger.js +165 -0
  191. data/frameworks/sproutcore/frameworks/runtime/tests/system/object/bindings.js +3 -0
  192. data/frameworks/sproutcore/frameworks/runtime/tests/system/selection_set/copy.js +1 -1
  193. data/frameworks/sproutcore/frameworks/runtime/tests/system/selection_set/indexSetForSource.js +13 -0
  194. data/frameworks/sproutcore/frameworks/runtime/tests/system/selection_set/remove.js +24 -0
  195. data/frameworks/sproutcore/frameworks/runtime/tests/system/sparse_array.js +32 -13
  196. data/frameworks/sproutcore/frameworks/testing/english.lproj/runner.css +2 -2
  197. data/frameworks/sproutcore/frameworks/testing/english.lproj/testsuite.css +7 -2
  198. data/frameworks/sproutcore/lib/index.rhtml +6 -20
  199. data/frameworks/sproutcore/themes/standard_theme/Source/sc-theme-repeat-x.psd +0 -0
  200. data/frameworks/sproutcore/themes/standard_theme/english.lproj/button.css +0 -1
  201. data/frameworks/sproutcore/themes/standard_theme/english.lproj/checkbox.css +5 -4
  202. data/frameworks/sproutcore/themes/standard_theme/english.lproj/collection.css +4 -3
  203. data/frameworks/sproutcore/themes/standard_theme/english.lproj/disclosure.css +7 -7
  204. data/frameworks/sproutcore/themes/standard_theme/english.lproj/images/sc-theme-repeat-x.png +0 -0
  205. data/frameworks/sproutcore/themes/standard_theme/english.lproj/list_item.css +38 -0
  206. data/frameworks/sproutcore/themes/standard_theme/english.lproj/menu.css +20 -0
  207. data/frameworks/sproutcore/themes/standard_theme/english.lproj/progress.css +1 -0
  208. data/frameworks/sproutcore/themes/standard_theme/english.lproj/radio.css +3 -1
  209. data/frameworks/sproutcore/themes/standard_theme/english.lproj/segmented.css +1 -0
  210. data/frameworks/sproutcore/themes/standard_theme/english.lproj/split_view.css +1 -1
  211. data/frameworks/sproutcore/themes/standard_theme/english.lproj/text_field.css +0 -15
  212. data/gen/data-source/Buildfile +18 -0
  213. data/gen/data-source/README +1 -0
  214. data/gen/data-source/USAGE +15 -0
  215. data/gen/data-source/templates/data_sources/@filename@.js +64 -0
  216. data/lib/sproutcore/builders/combine.rb +23 -0
  217. data/lib/sproutcore/builders/javascript.rb +27 -2
  218. data/lib/sproutcore/buildfile/task.rb +1 -1
  219. data/lib/sproutcore/helpers/entry_sorter.rb +2 -2
  220. data/lib/sproutcore/helpers/static_helper.rb +79 -0
  221. data/lib/sproutcore/models/manifest.rb +2 -2
  222. data/lib/sproutcore/models/target.rb +1 -1
  223. data/lib/sproutcore/tools/build.rb +1 -1
  224. data/lib/sproutcore/tools/docs.rb +3 -3
  225. data/lib/sproutcore/tools/gen.rb +17 -15
  226. data/lib/sproutcore/tools/manifest.rb +9 -9
  227. data/lib/sproutcore/tools/server.rb +3 -3
  228. data/lib/sproutcore/tools.rb +259 -250
  229. data/lib/sproutcore.rb +9 -1
  230. data/spec/buildtasks/manifest/prepare_build_tasks/combine_spec.rb +2 -2
  231. data/spec/fixtures/entry_for_project/frameworks/unrelated/PLACEHOLDER +0 -0
  232. data/spec/fixtures/ordered_entries/apps/no_requires/{lproj → english.lproj}/strings.js +0 -0
  233. data/spec/fixtures/ordered_entries/apps/no_requires/main.js +1 -0
  234. data/spec/fixtures/ordered_entries/apps/no_requires/resources/main_page.js +1 -0
  235. data/spec/fixtures/ordered_entries/apps/no_requires/t.js +1 -0
  236. data/spec/lib/models/manifest/find_entry.rb +12 -0
  237. data/spec/lib/tools/gen_spec.rb +1 -0
  238. data/spec/lib/tools/tools_spec.rb +1 -0
  239. data/sproutcore-abbot.gemspec +36 -44
  240. metadata +43 -44
  241. data/frameworks/sproutcore/frameworks/desktop/english.lproj/images/indicator.gif +0 -0
  242. data/frameworks/sproutcore/frameworks/desktop/english.lproj/images/sc-theme-sprite.png +0 -0
  243. data/frameworks/sproutcore/frameworks/desktop/english.lproj/images/sticky-note.png +0 -0
  244. data/frameworks/sproutcore/frameworks/desktop/views/form.js +0 -594
  245. data/frameworks/sproutcore/themes/standard_theme/english.lproj/images/sc-theme-sprite.png +0 -0
  246. data/lib/thor/CHANGELOG.rdoc +0 -52
  247. data/lib/thor/LICENSE +0 -20
  248. data/lib/thor/README.markdown +0 -76
  249. data/lib/thor/Rakefile +0 -6
  250. data/lib/thor/Thorfile +0 -45
  251. data/lib/thor/bin/rake2thor +0 -83
  252. data/lib/thor/bin/thor +0 -7
  253. data/lib/thor/lib/thor/error.rb +0 -3
  254. data/lib/thor/lib/thor/options.rb +0 -267
  255. data/lib/thor/lib/thor/ordered_hash.rb +0 -64
  256. data/lib/thor/lib/thor/runner.rb +0 -305
  257. data/lib/thor/lib/thor/task.rb +0 -83
  258. data/lib/thor/lib/thor/task_hash.rb +0 -22
  259. data/lib/thor/lib/thor/tasks/package.rb +0 -18
  260. data/lib/thor/lib/thor/tasks.rb +0 -77
  261. data/lib/thor/lib/thor/util.rb +0 -75
  262. data/lib/thor/lib/thor.rb +0 -170
  263. data/lib/thor/script/destroy +0 -14
  264. data/lib/thor/script/generate +0 -14
  265. data/lib/thor/spec/fixtures/task.thor +0 -10
  266. data/lib/thor/spec/options_spec.rb +0 -271
  267. data/lib/thor/spec/ordered_hash_spec.rb +0 -84
  268. data/lib/thor/spec/spec.opts +0 -1
  269. data/lib/thor/spec/spec_helper.rb +0 -30
  270. data/lib/thor/spec/task_spec.rb +0 -11
  271. data/lib/thor/spec/tasks_spec.rb +0 -28
  272. data/lib/thor/spec/thor_runner_spec.rb +0 -194
  273. data/lib/thor/spec/thor_spec.rb +0 -206
  274. data/lib/thor/spec/util_spec.rb +0 -99
  275. data/lib/thor/task.thor +0 -15
  276. data/lib/thor/thor.gemspec +0 -29
@@ -1,68 +1,85 @@
1
- == sproutcore 0.9.19
1
+ == 1.0.1008 (1.0 RC1)
2
+
3
+ This is the first release candidate for SproutCore 1.0. Since this software
4
+ has been under development for more than year, it contains many major changes
5
+ to the entire framework including:
6
+
7
+ - A new framework structure for building only portions of the frameworks
8
+ - Major performance improvements in data bindings and property observing
9
+ - Better caching of computed properties
10
+ - A completely rewritten datastore layer that support 50,000+ records without
11
+ much degredation.
12
+ - A completely rewritten view layer that offers massive performance gains over
13
+ the older design.
14
+ - A new UI theme (Ace)
15
+ - Over 5,000 unit tests at all levels of the framework
16
+ - Major refactoring and cleanup of the entire User Interface
2
17
 
18
+ == sproutcore 0.9.19
19
+
3
20
  - SC.Server refresh fix [Evin Grano]
4
-
21
+
5
22
  == sproutcore 0.9.18
6
-
23
+
7
24
  - picker.js bug (Ticket #82) [Alexei Svitkine]
8
-
25
+
9
26
  - selection_support.js problem with SelectFieldView (Tickets #103, #104) [Bill Klaila]
10
-
27
+
11
28
  - Fixed radio enabled display state (Ticket #127) [Gert Hulstein]
12
-
29
+
13
30
  - CollectionView doesn't resize groups after a frame change (Ticket #12) [Christopher Swasey]
14
-
31
+
15
32
  - SC.Record.Date should handle GMT formatted strings (Ticket #101) [Joshua Dickens, Erich Ocean]
16
-
33
+
17
34
  - Missing SC.Collection.removeRecords method (Ticket #102) [mm]
18
-
35
+
19
36
  - SC.Record.create() inconsistency (Ticket #99) [Michael Allman]
20
-
37
+
21
38
  - toMany relationship is null (Ticket #166) [Reto Wolf]
22
-
39
+
23
40
  - SC.CollectionView itemViewForEvent somtimes throws exception on IE8 (Ticket #169)
24
41
  [Darryl Fuller]
25
-
42
+
26
43
  - SC.Collection doesn't update itself properly (Ticket #152) [Christopher Swasey]
27
-
44
+
28
45
  - SC.Record notifies SC.Store improperly of changes (Ticket #155) [Christopher Swasey]
29
-
46
+
30
47
  - Basic tests for collections (initial) (Ticket #156) [Christopher Swasey]
31
-
48
+
32
49
  - problem with record.js; parent-child relationship; and tomcat (Ticket #154) [Bill Klaila]
33
-
50
+
34
51
  - SC.CollectionController.hasSelection() does not return anything when there is no content
35
52
  (Ticket #178) [Maurits Lamers, Erich Ocean]
36
-
53
+
37
54
  - CollectionView doesn't properly redraw contents if it isn't visible at the time of a
38
55
  content change (Ticket #123) [Christopher Swasey]
39
-
56
+
40
57
  - Split view can collapse when thickness becomes less than a given value
41
58
  (Ticket #137) [Lawrence Pit]
42
-
59
+
43
60
  - IE6 Fix (Ticket #162) [sujoykroy]
44
-
61
+
45
62
  - String.fmt ordered arguments are broken (Ticket #165) [Boris Smus, Erich Ocean]
46
-
63
+
47
64
  - Reimplementation of Array.invoke breaks Scriptaculous (Ticket #163) [Boris Smus]
48
-
65
+
49
66
  - record.js/readAttributes() Bug (Ticket #139) [Evin Grano]
50
-
67
+
51
68
  - Records with multiple toMany relationships mixup data (Ticket #161)
52
69
  [Reto Wolf, Erich Ocean]
53
-
70
+
54
71
  - Segmented buttons are 1 pixel too tall towards the bottom (Ticket #138) [Lawrence Pit]
55
-
72
+
56
73
  - Split view doesn't honor canCollapse property (Ticket #128) [Lawrence Pit]
57
-
74
+
58
75
  - Split view doesn't honor min_thickness property (Ticket #129) [Lawrence Pit]
59
-
76
+
60
77
  == sproutcore 0.9.17
61
-
78
+
62
79
  - Fix require()'s for server/rest_server.js and server/rails_server.js
63
-
80
+
64
81
  == sproutcore 0.9.15
65
-
82
+
66
83
  - Added titleize() helper for Strings. Also imported various other helpers
67
84
  from Prototype.
68
85
 
@@ -72,10 +89,10 @@
72
89
 
73
90
  - SC.Record does a better job of matching null values. Fixed #96 [Fredrik
74
91
  Blomqvist]
75
-
92
+
76
93
  - SC.Server now handles created records with no attributes yet. Fixed #98
77
94
  [CAJ]
78
-
95
+
79
96
  - Added support for reduced properties. These properties begin with "@" and
80
97
  will automatically calculate some kind of summary information about the
81
98
  receiving array. They are also bindable so you can bind to myArray.@average
@@ -108,7 +125,7 @@
108
125
  primitive objects. Before it would differentiate between different
109
126
  instances of these objects. Now it treats them the same if they are the
110
127
  same value. [CAJ]
111
-
128
+
112
129
  - Added SC.hashFor() method which can be used to determine if two objects are
113
130
  equal. Normally this returns the same value as guidFor() but if you
114
131
  implement the hash() method on your object, it will return that value
@@ -116,7 +133,7 @@
116
133
  equal even if they are different instances. [CAJ]
117
134
 
118
135
  - Updated SC.isEqual() to respect SC.hashFor().
119
-
136
+
120
137
  - Added support for hasSelection, hasContent, and other useful properties on
121
138
  controllers for activating UI.
122
139
 
@@ -127,31 +144,31 @@
127
144
  change.
128
145
 
129
146
  - Optimized SC.Object.objectForPropertyPath() to use less memory.
130
-
147
+
131
148
  - You can now pass a string path as a :target and it will be converted to an
132
149
  object. (thanks Peter Blazejewicz!)
133
150
 
134
151
  - SC.CollectionView will now call destroyObject on the content array instead
135
152
  of removeObject if that method is defined. This allows you to implement
136
153
  arrays with a more specific handling of the destroyObject method.
137
-
154
+
138
155
  - Added support for checkbox views in ListItemViews. Since this is a fairly
139
156
  common requirement, checkbox views are now built in.
140
-
157
+
141
158
  == sproutcore 0.9.14
142
-
159
+
143
160
  - Fixed bug in SC.SourceListView that could incorrectly hide groups. Closes
144
161
  #57. (Thanks mguymon)
145
-
162
+
146
163
  - Fixed bug in SC.ObjectController that would sometimes not commit all pending
147
164
  changes because the model object would clear the changes hash. Also a test
148
165
  for this was added. Closes #66. (Thanks YoNoSoyTu!)
149
166
 
150
167
  - default index.html now has text/javascript added to script tags. Closes #71
151
168
  - server.js now handles namespaced prefixes. Closes #74
152
-
169
+
153
170
  - label_view now defaults to the span tag. Closes #75. (Thanks Erich!)
154
-
171
+
155
172
  - Added support for posting data in both URL-encoded and JSON formats via
156
173
  SC.server. This makes for a much cleaner round-trip. To use this, set the
157
174
  postFormat: property to SC.JSON_FORMAT in SC.server. Closes #49.
@@ -165,39 +182,39 @@
165
182
  - All internal calls for arguments.callee.base.apply() have now been switched
166
183
  to sc_super(). This means you MUST use version 0.9.13 or later of the build
167
184
  tools to work with the javascript.
168
-
185
+
169
186
  - Fixed a memory leak in IE that was caused by a self-reference to document.
170
187
  (Thanks Juan)
171
-
188
+
172
189
  - Improved documentation for a variety of classes. (Thanks gskluzacek)
173
-
190
+
174
191
  - SC.Server can now handled nested Server prefixes in case you have
175
192
  multi-level namespaces.
176
-
193
+
177
194
  == sproutcore 0.9.12
178
-
179
- - SC.ClassicButtonView & SC.MenuItemView now removes and adds the 'active' class name
195
+
196
+ - SC.ButtonView & SC.MenuItemView now removes and adds the 'active' class name
180
197
  on mouseExited and mouseEntered when the mouse is pressed to provide better
181
198
  indication of whether an action will occur on mouse up. (Thanks schwa23)
182
-
199
+
183
200
  - SC.Record#toString now shows record type in description.
184
-
201
+
185
202
  - [FIX] SC.Timer now computes the next fire time before it executes your
186
203
  callback action. This should avoid the situation where a timer would call
187
204
  your action, which would then take it past the last time it should fire and
188
205
  hence the last fire would never happen. (Thanks August)
189
-
206
+
190
207
  - [FIX] SC.Record#matchCondition() did not behave correctly when comparing
191
208
  record instances. Fix by onitunes includes both a faster comparison method
192
209
  along with correct behavior + kickin' unit tests
193
-
210
+
194
211
  - [FIX] some settings on the inline editor for multi-line edits were wrong.
195
212
  Now fixed thanks to maloninc (#38)
196
-
213
+
197
214
  == sproutcore 0.9.11
198
-
215
+
199
216
  - [FIX] innerFrame tests were failing. Now working.
200
-
217
+
201
218
  - Progress bar now shows 100% fill when set to indeterminate. This should
202
219
  make it easier to style an indeterminate appearance.
203
220
 
@@ -205,12 +222,12 @@
205
222
  Improves IE compatibility.
206
223
 
207
224
  - Cleaned JSLink warnings from animator.js
208
-
225
+
209
226
  - Removed stray debugger statements (thanks august!)
210
-
227
+
211
228
  - Fixed CSS issues with SC-theme that made buttons appear offset. Now appears
212
229
  correct in FF3 & Safari (thanks mde!)
213
-
230
+
214
231
  - Added detect-browser script which can be included at the top of your page to
215
232
  detect the current browser and platform. Also includes an
216
233
  SC.setupBodyClassNames method that you can call after the body tag has been
@@ -219,26 +236,26 @@
219
236
  - Added documentation for Function.property()
220
237
  - Added documentation for SC.Error.
221
238
  - Added documentation for SC.SegmentedView
222
-
239
+
223
240
  == sproutcore-0.9.10
224
-
225
- - SC.Browser.FireFox now returns 2 for any gecko browser that is not Firefox.
226
-
241
+
242
+ - SC.Platform.Firefox now returns 2 for any gecko browser that is not Firefox.
243
+
227
244
  - set() and a variety of other methods now returns this instead of the set
228
245
  value. This makes it possible to do method chaining.
229
-
246
+
230
247
  - Fixed typo in (). Fixes #12
231
-
248
+
232
249
  - Fixed #11
233
-
250
+
234
251
  - Switch from transitional to strict DTD
235
-
252
+
236
253
  - Replacement of window.location to window.location.href.
237
-
254
+
238
255
  - Added default src to image_view (static_url('blank'))
239
-
256
+
240
257
  - Fix for view_helper view that was closing the element.
241
-
258
+
242
259
  - sproutcore now treats space as a printable key instead of a function key.
243
260
 
244
261
  - Added chainability to observer methods; improved docs
@@ -251,432 +268,430 @@ value. This makes it possible to do method chaining.
251
268
  .set('firstName', 'Charles')
252
269
  .set('lastName', 'Jolley')
253
270
  .endPropertyChanges();
254
-
271
+
255
272
  - auto select content of textarea when it's focused: this._isFocused is true
256
273
  for textarea while false for text input in didBecomeFirstRespo
257
274
 
258
275
  - scrollable#scrollViewToVisible now scrolls up and left. This corrects a bug
259
276
  with keyboard control that would bust when you move up or left.
260
-
277
+
261
278
  - Updated documentation on form
262
-
279
+
263
280
  - Use Element instead of element for IE compatability in
264
281
  Element.setClassName()
265
282
 
266
- - Added SC.ClassicView#destroy() to remove views from internal caches. insertBefore,
283
+ - Added SC.View#destroy() to remove views from internal caches. insertBefore,
267
284
  removeChild, etc. also now return the view instance so you can chain them.
268
-
285
+
269
286
  - Popup menu was setting the width on each of the child menu items in addition
270
287
  to itself. This had a huge performance impact with little ac
271
288
 
272
289
  - Disabled the current behavior for the menu item view helper which parses the
273
290
  shortcut before inserting it; now it simply passes the passe
274
-
291
+
275
292
  - [FIX] Replaced url() calls with static_url() in CSS so that they will work
276
293
  properly in build mode
277
-
294
+
278
295
  - Cleanup in drag.js
279
-
296
+
280
297
  - Adding href property to ButtonView for bindable functionality on href
281
298
  attributes.
282
-
299
+
283
300
  - Properly order drop targets so that nested targets appear first.
284
-
301
+
285
302
  == 0.9.8
286
-
303
+
287
304
  * [FIX] collection views now update group views appropriately.
288
-
305
+
289
306
  * [IE] offsetParent and viewportOffset() are now IE compliant.
290
-
307
+
291
308
  * [IE] innerFrame now returns the correct value for elements without
292
309
  hasLayout.
293
-
310
+
294
311
  * [IE] get styleWidth & styleHeight on a view will now return the same value
295
312
  on all platforms. The IE version would previously include padding and borders
296
313
  even though it should include only the core width.
297
-
314
+
298
315
  * [FIX] Unit tests could fail to execute in IE if they ended in a comment,
299
316
  fixed unittest.js to avoid this problem.
300
-
317
+
301
318
  * [FIX] TextFieldView could blank out content when you tabbed out of in.
302
-
319
+
303
320
  == SproutCore 0.9.5
304
-
321
+
305
322
  * Collection View now supports selectOnMouseDown which can be turned off to
306
323
  provide better drag and drop behavior on SourceList. SC.SourceListView now
307
324
  turns this off by default.
308
-
325
+
309
326
  * Requesting a resource that should be available in production mode while
310
327
  running your server in dev mode will now work. Bundles now build one
311
328
  manifest per language/build_mode combination.
312
-
329
+
313
330
  * Initial changes to SampleControls to add a form-view demo. None of the
314
331
  controls are wired up yet.
315
-
332
+
316
333
  * Added mongrel as a required dependency of SproutCore. If you have something
317
334
  like thin installed this is technically not required, but several people were
318
335
  experiencing trouble installing the gem.
319
-
336
+
320
337
  * Lots of Safari-specific features for Photos just to demo some of its
321
338
  capabilities. Client-side storage support is also provided but currently
322
339
  does not save changes you make.
323
-
340
+
324
341
  * SC.CollectionView now supports selectAll (Ctrl+A)
325
-
342
+
326
343
  * SC.CollectionView now supports the delete key to remove items. Also added
327
344
  delegate methods to the collection view delegate to give you control over
328
345
  how deletions happen.
329
-
346
+
330
347
  * SC.window can now properly capture the backspace key in Firefox. To
331
348
  activate this feature you must declare SC.CAPTURE_BACKSPACE_KEY = YES in
332
349
  your core.js file. Capturing the backspace key will prevent the browser
333
350
  from going to previous page when the user hits backspace, which can lead to
334
351
  data loss. To capture this key, SC.window will directly set the
335
352
  document.onkeypress handler.
336
-
353
+
337
354
  * SC.GridView now supports dropping ON items.
338
355
 
339
356
  * SC.ListView now supports dropping ON items.
340
-
357
+
341
358
  * Removed the try/catch() that was placed around property notifiers. This is
342
359
  not only faster but it will make it easier to debug these exceptions in
343
360
  Firebug and IE.
344
-
361
+
345
362
  * [FIX] SC.InlineTextFieldView was using the _frame property even though that
346
363
  is used by a parent class. Changed to _optframe
347
-
364
+
348
365
  * Improved some documentation here and there.
349
-
350
- * [FIX] SC.ClassicView will recache its frames when isVisibleInWindow changes. This
366
+
367
+ * [FIX] SC.View will recache its frames when isVisibleInWindow changes. This
351
368
  will help to ensure we always have the correct dimensions when bringing
352
369
  views on and offscreen. -- All unit tests now pass again.
353
-
370
+
354
371
  * Improves Photos sample to include support for adding/deleting albums and
355
372
  drag and drop into albums.
356
-
373
+
357
374
  * Collection View now supports dropping items ON item views as well as
358
375
  between them.
359
-
376
+
360
377
  * Collection Views now support a delegate object that can be used to control
361
378
  drag and drop and selection behavior. See
362
379
  mixins/collection_view_delegate.js for a complete description of the new
363
380
  methods.
364
-
381
+
365
382
  * SC.ArrayController now supports the useControllersForContent property. If
366
383
  set to YES, then getting an objectAt() will return a controller for the
367
384
  value instead of the value itself. This is useful for those times you are
368
385
  using an array controller to manage a set of objects you want to control.
369
386
  Previously this feature was always used by array controllers and could not
370
387
  be disabled. This is now off by default.
371
-
388
+
372
389
  * [FIX] SC.ArrayController and SC.ObjectController now will properly observe
373
390
  their own content, even when the content is set on init.
374
-
391
+
375
392
  == SproutCore 0.9.4
376
-
393
+
377
394
  * [FIX] Build system now generates index.html files for client bundles, even
378
395
  if they do not include .rhtml resources.
379
-
396
+
380
397
  * [FIX] Typos in the readme docs for the client generator.
381
-
398
+
382
399
  * Added automaticOutletFor() that will cause a view to be configured
383
400
  automatically instead of forcing you to use an outlets array. Useful for when
384
401
  you are manually constructing your views.
385
-
402
+
386
403
  * Initial changes required to eventually implement improved observer
387
404
  notification system.
388
-
405
+
389
406
  * Improved documentation for a variety of classes
390
-
407
+
391
408
  * [FIX] Only fixtures ending in ".js" will now be loaded. This allows you to
392
409
  include fixtures named .json or whatever and actually load them via XHR.
393
-
410
+
394
411
  == SproutCore 0.9.3
395
-
412
+
396
413
  * Basic changes to get IE working. All non-view tests now pass and the doc
397
414
  app and test runner both load and run in IE7. Lots of visual fixes are
398
415
  still required for the sc-theme as well as IE-specific perf optimization
399
416
  and bug fixes.
400
-
417
+
401
418
  * [BUG] Default template for both client and template included a stray comma
402
419
  in their core.js file that breaks IE and Safari 2. This is fixed in the
403
420
  templates and in the clients included with the framework, though you will
404
421
  need to make this change manually in your own apps.
405
-
422
+
406
423
  * beginInlineEdit() and endInlineEdit() on SC.LabelView were renamed to comply
407
424
  with the SC.Editable protocol. Use beginEditing() and commitEditing() or
408
425
  discardEditing() instead.
409
-
426
+
410
427
  * Added SC.Editable mixin. This provides a standard protocol for begining
411
428
  and ending keyboard editing sessions on views. SC.Editable is now used
412
429
  by SC.LabelView, SC.ListItemView, SC.TextFieldView, and
413
430
  SC.TextareaFieldView.
414
-
431
+
415
432
  * Collection view now supports the default behavior to begin editing when you
416
433
  click on a selected item for a second time. If you hit return it will also
417
434
  begin editing. To support this, you must set contentValueIsEditable to YES
418
435
  and implement beginEditing() on your item view.
419
-
436
+
420
437
  * Inline editor is now supported in both SC.ListItemView and SC.LabelView.
421
-
438
+
422
439
  * Improved inline editor (now renamed SC.InlineTextFieldView for consistancy).
423
440
  The new editor can be used with basically any view now in addition to just
424
441
  the label view. It also automatically inherits the font size and style of
425
442
  any underlying DOM element that you hand it. To work with an inline editor
426
443
  you will need to implement the InlineEditorDelegate (see documentation).
427
-
444
+
428
445
  * Inline editor now displays with a fixed width and grows downward as you type
429
446
  instead of stretching out to the end.
430
-
447
+
431
448
  * Added hello world sample app.
432
-
449
+
433
450
  * Updated contacts sample app. It is much nicer now.
434
-
451
+
435
452
  * Add sproutcore freeze:gems command to freeze latest SproutCore in your local
436
453
  project.
437
-
454
+
438
455
  * Updated copyright to 2008.
439
-
456
+
440
457
  * Converted all uses of setTimeout() in the framework to use run loop instead.
441
-
458
+
442
459
  * Added invokeLater() methods to both SC.Object and Function. These
443
460
  convenience methods will create a timer to execute a method or function at a
444
461
  later time. If you need to execute code later, instead of setTimeout,
445
462
  consider using myObject.invokeLater(0, 'methodName') ;
446
-
463
+
447
464
  * New SC.Timer class provides more efficient triggers for timeouts, etc. The
448
465
  timer class now also has unit tests and really awesome docs.
449
-
466
+
450
467
  * [FIX] offsetParent, frame, clippingFrame, and innerFrame would all sometimes
451
468
  return the wrong values in Firefox because of a bug that returns the wrong
452
469
  offsetLeft and offsetTop when a parent element has a border.
453
-
470
+
454
471
  * Fixed all SC unit tests that were failing (now that I can run them again).
455
-
472
+
456
473
  * Test Runner now has a "Rerun Current Test" button that will rerun the
457
474
  current test.
458
-
475
+
459
476
  * Added convenience method $I() (or SC.inspect()) - converts an object to a
460
477
  hash and then displays its key/value pairs. Useful for debugging.
461
-
478
+
462
479
  * Fixed up test templates in generators so that they check for the presence
463
480
  of main() before trying to fix it up. This was causing errors on new tests
464
481
  when added to frameworks.
465
-
482
+
466
483
  * [FIX] invokeWhile() was implemented on real Array objects but not on
467
484
  SC.Array mixin. This caused the controllers/controller test to fail. Now
468
485
  fixed.
469
-
486
+
470
487
  * Updated test runner to use new SproutCore.
471
-
488
+
472
489
  * [FIX] The JSDoc template will now try to group items based on their full
473
490
  path, rather than just the top-most directory. This means views stored
474
491
  under views/buttons, for example, now appear in the group VIEWS/BUTTONS in
475
492
  the UI.
476
-
493
+
477
494
  * Moved the base class for collections, buttons, and fields into their
478
495
  respective folders. This will appear them to appear under the correct
479
496
  location in the Doc viewer.
480
-
497
+
481
498
  * [FIX] Grouped views in the source list without a visible header will
482
499
  overlapping the following group, absorbing their clicks. Now they render
483
500
  the proper size.
484
-
501
+
485
502
  * SC.SliderView provides a horizontal slider. No vertical slider is currently
486
503
  planned since those controls are so rare. If someone really needs one, please
487
504
  enhance SC.SliderView to support it!
488
-
505
+
489
506
  * slider_view helper creates a slider view + html
490
-
507
+
491
508
  * Add example to sample_controls
492
-
509
+
493
510
  * Converted docs for drag modules to JSDoc format.
494
-
511
+
495
512
  * SourceListGroupViews now automatically collapse their group title if the
496
513
  group value is null. Items will still be shown; they will just appear to be
497
514
  "top level"
498
-
515
+
499
516
  * JSDocs template was cutting the first sentance from a class description.
500
517
  This is now fixed.
501
518
 
502
519
  * Updated sc_docs to work with updated SproutCore. Also adopts new look and
503
520
  feel and includes support for live search on all symbols defined in the
504
521
  library (try it; it's cool - visit: http://localhost:4020/sproutcore/-docs)
505
-
522
+
506
523
  * JSDoc template no longer generated highlighted JS source along with ref
507
524
  docs. This was slowing things down and the output wasn't really that great
508
525
  anyway.
509
-
526
+
510
527
  * Tweaked JSdoc's Textile support to accept '-' as a bullet characters. Since
511
528
  jsdoc strips all * at the beginning of lines you could not do bulletted
512
529
  lists before. Now you can using -.
513
-
530
+
514
531
  * Updated design of jsdoc documentation to make it easier to read.
515
-
532
+
516
533
  * Renamed buttons-sprite.png to sc-theme-sprite.png. Added
517
534
  sc-theme-ysprite.png. One is now used to hold all repeat-x and non-
518
535
  repeating sprites while the other is used for repeat-y sprites only.
519
-
536
+
520
537
  * SC.SplitView & SC.SplitDividerView provide support for draggable and
521
538
  collapsable split views.
522
-
539
+
523
540
  * SC.ListView now uses SC.ListItemView as its default example view instead of
524
541
  SC.LabelView (or the old SC.TextCellView)
525
-
526
-
542
+
543
+
527
544
  * The Source List now provides support for the disclosure triangle. A
528
545
  disclosure is automatically shown if you have grouping enabled and you set
529
546
  the groupVisibleKey property to anything other an null. The disclosure
530
547
  does not yet auto-reveal during a drag.
531
-
548
+
532
549
  * SC.DisclosureView - Shows a disclosure triangle button.
533
-
550
+
534
551
  * [FIX] Left over calls to SC.TextCellView. Replaced with SC.LabelView.
535
-
552
+
536
553
  * SC.WorkspaceView is now removed from the framework. It was always intended
537
554
  for use in Sproutit applications and it is really too specific for such a
538
555
  generic framework.
539
-
556
+
540
557
  * SC.LabelView gets a new API! Now in line with other SC.Control based
541
558
  classes. Set value for the value, content/contentValueKey to display part
542
559
  of some content.
543
-
560
+
544
561
  * You can add view helpers to your own projects just by dropping them into
545
562
  a lib directory inside your framework or client. If you need to load your
546
563
  view helpers in a certain order, use the view_helper() method. See the
547
564
  view helpers in SproutCore for an example usage.
548
-
565
+
549
566
  * SproutCore view helpers are now stored in the framework itself along with
550
567
  the JavaScript. This will make it easier to include the latest version of
551
568
  the SproutCore framework in you app without having to install a new set of
552
569
  build tools. This should basically eliminate the only frequently changing
553
570
  part of the build tools.
554
-
571
+
555
572
  * SC.SourceList and SC.ListItemView properties now use "content..Key"
556
573
  convention for naming properties. If you have built code with the old
557
574
  "content..Property" conventions, you will need to update your code.
558
-
575
+
559
576
  * Added hint property to text_area_view helper that is required to display
560
577
  ghost text.
561
-
578
+
562
579
  * added new SC.CheckboxView and SC.RadioView for creating simulated checkbox
563
580
  and radio buttons. These buttons have more functions than their platform
564
581
  native counterparts including mixed style and full styling support.
565
-
582
+
566
583
  * Moved field view subclasses to views/field directory.
567
-
584
+
568
585
  * Added SC.Validatable mixin that can be applied to any view to make it work
569
586
  with validators. SC.FieldView now incorporates this mixin.
570
-
587
+
571
588
  * Now if you add initMixin() to a mixin, it will be called automatically
572
589
  whenever an object that includes the mixin is instantiated. You can use
573
590
  this to perform any setup necessary for the mixin.
574
-
591
+
575
592
  * Renamed SC.Control.contentValueProperty to SC.Control.contentValueKey to
576
593
  be consistent with the rest of the API.
577
-
594
+
578
595
  * Added updateContentWithValueObserver to SC.Control that will relay changes
579
596
  to the value property back to the content object if you use the default
580
597
  implementation.
581
-
598
+
582
599
  * Changed SC.Control observers for various states that were once private to
583
600
  public methods. This way you can override them in your subclasses if you
584
601
  need to perform some extra processing and you want to make sure you do them
585
602
  in the right order. You can also just add more observers as well.
586
-
603
+
587
604
  * Added JSDoc info for Validators, SC.FieldView, SC.CheckboxFieldView
588
-
605
+
589
606
  * Switched some Sc Theme CSS to use sc-button-view classname instead of more
590
607
  generic a.button or a.regular.
591
-
608
+
592
609
  * Added new addClassName, removeClassName, setClassName and hasClassName
593
- methods on SC.ClassicView that are 7x faster than prototype's version.
594
-
595
- * Integrated SC.Control into SC.ClassicButtonView
596
-
597
- * Changed SC.ClassicButtonView.labelText and SC.ClassicButtonView.labelSelector to
598
- SC.ClassicButtonView.title and SC.ClassicButtonView.titleSelector to be more consistant
610
+ methods on SC.View that are 7x faster than prototype's version.
611
+
612
+ * Integrated SC.Control into SC.ButtonView
613
+
614
+ * Changed SC.ButtonView.labelText and SC.ButtonView.labelSelector to
615
+ SC.ButtonView.title and SC.ButtonView.titleSelector to be more consistant
599
616
  with current naming conventions.
600
-
617
+
601
618
  * [FIX] Some doc tags were wrong in SC.ScrollView and others.
602
-
619
+
603
620
  * Improved documentations on SC.ImageView.
604
-
621
+
605
622
  * SC.ImageView now includes the SC.Control mixin and can accept either a
606
623
  CSS class name or a URL as its value. This makes it easy to switch an image
607
624
  from using a sprite to use a custom-generated image and back again.
608
-
625
+
609
626
  * SproutCore now includes some shared standard icons that you can use in your
610
627
  own application, courtesy of IconDrawer (http://www.icondrawer.com).
611
-
628
+
612
629
  * Generalized SC.Control's observer so that you can now use it to observe
613
630
  changes to multiple properties on content. This should capture a very
614
631
  common pattern requires by collection item views. Most control-list
615
- SC.ClassicViews will eventually adopt this mixin.
616
-
632
+ SC.Views will eventually adopt this mixin.
633
+
617
634
  * Added ListItemView which will be used for rendering content in list views
618
635
  and source list views. ListViewItem can render a name, icon, and optional
619
636
  unread count.
620
-
637
+
621
638
  * Changed displayProperty in SC.CollectionView to contentValueKey to match
622
639
  the new SC.Control pattern.
623
-
640
+
624
641
  * SC.Control now has built in support for a value and content property. The
625
642
  value property is typically the value the control displays, while content
626
643
  is an object that you might pull a content value from. You can determine
627
644
  the proeprty of the content object to use as a value by setting the
628
645
  'contentValueKey'. The contentValueKey can also be provided by the
629
646
  displayDelegate.
630
-
647
+
631
648
  * Added SC.DelegateSupport mixin that can be used to support the delegate
632
649
  pattern.
633
-
650
+
634
651
  * [FIX] Selection management would throw exception after a drag and drop.
635
-
652
+
636
653
  * [FIX] Optimization in fmt() would through an exception if you passed it a
637
654
  value that did not support toString().
638
-
655
+
639
656
  * Moved selection management methods from CollectionController in independent
640
657
  SC.SelectionSupport mixin. This mixin is now used by both
641
658
  SC.CollectionController and SC.ArrayController so you can use either one to
642
659
  manage a selection state. You can also apply this mixin to your own
643
660
  controllers to manage selection state if you like (though this is not
644
661
  required to manage selections.)
645
-
662
+
646
663
  * Began to separate CSS rules into a core.css and a theme.css. The core.css
647
664
  styles are generally required by SproutCore and should apply even if you
648
665
  build your own theme. The theme.css rules apply to the SproutCore theme
649
666
  only and can be overriden by your own CSS.
650
-
667
+
651
668
  * Added SC.SourceListView and sc-theme styles for source lists. Source lists
652
669
  support grouping if you enable this feature. See the new Collections2 tab
653
670
  in the SampleControls app for an example source list.
654
-
671
+
655
672
  * Added SC.TableView. This feature is in progress. See the new
656
673
  Collections2 tab in the SampleControls app for an example table view.
657
-
674
+
658
675
  * Changed asHTML and asText properties to innerHTML and innerText to match
659
676
  their DOM equivalents.
660
-
677
+
661
678
  * Renamed SC.CollectionItem mixin to SC.Control mixin. SC.Control mixin now
662
679
  provides some standard functionality for all interactive controls such as
663
680
  handling selection states, enabled and focus states.
664
-
681
+
665
682
  * Removed support for :resize_options property in view helper, since
666
- auto-resizing is no longer supported in SC.ClassicView (it never worked right
683
+ auto-resizing is no longer supported in SC.View (it never worked right
667
684
  anyway and was not functionally very usable.)
668
-
685
+
669
686
  * innerText property now uses TextNodes, making it about 50% faster than
670
687
  innerHTML on FireFox.
671
-
688
+
672
689
  * Added view helpers for list_view, scroll_view, grid_view, source_list_view,
673
690
  and table_view. Also refactored collection view helpers into their own
674
691
  file.
675
-
692
+
676
693
  * [FIX] CollectionView is now able to render items in groups.
677
-
694
+
678
695
  * [FIX] SC.ObjectController: Avoid unwanted commit when oldValue == null &&
679
- newValue == ''.
680
-
681
-
682
-
696
+ newValue == ''.
697
+