sproutcore 1.6.0.rc.2-x86-mingw32 → 1.6.0.1-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. data/CHANGELOG +12 -0
  2. data/VERSION.yml +1 -1
  3. data/bin/sc-docs +6 -1
  4. data/lib/buildtasks/target.rake +1 -1
  5. data/lib/frameworks/sproutcore/Buildfile +5 -1
  6. data/lib/frameworks/sproutcore/CHANGELOG.md +175 -1
  7. data/lib/frameworks/sproutcore/apps/test_controls/controllers/select.js +12 -0
  8. data/lib/frameworks/sproutcore/apps/test_controls/resources/select_page.js +19 -5
  9. data/lib/frameworks/sproutcore/frameworks/ajax/system/request.js +28 -31
  10. data/lib/frameworks/sproutcore/frameworks/ajax/system/response.js +9 -2
  11. data/lib/frameworks/sproutcore/frameworks/core_foundation/controllers/controller.js +21 -1
  12. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/responder_context.js +1 -1
  13. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/checkbox_support.js +6 -1
  14. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/text_field_support.js +26 -8
  15. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/keyboard.js +2 -0
  16. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/pane.js +12 -5
  17. data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/template.js +25 -9
  18. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/locale.js +157 -5
  19. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/render_context.js +7 -6
  20. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/root_responder.js +9 -3
  21. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/sparse_array.js +8 -8
  22. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/string.js +104 -4
  23. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/theme.js +3 -56
  24. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/utils.js +4 -2
  25. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/object/content_destroyed.js +59 -0
  26. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/mixins/string.js +41 -1
  27. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/mixins/template_helpers/text_field_support.js +10 -2
  28. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/panes/template.js +16 -1
  29. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/handlebars.js +1 -1
  30. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/clippingFrame.js +11 -0
  31. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/didAppendToDocument.js +18 -2
  32. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/insertBefore.js +10 -6
  33. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/keyboard.js +18 -1
  34. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/template_collection.js +9 -1
  35. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view.js +9 -4
  36. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/keyboard.js +15 -3
  37. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/manipulation.js +14 -8
  38. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/theming.js +8 -18
  39. data/lib/frameworks/sproutcore/frameworks/datastore/data_sources/fixtures.js +12 -2
  40. data/lib/frameworks/sproutcore/frameworks/datastore/mixins/relationship_support.js +296 -0
  41. data/lib/frameworks/sproutcore/frameworks/datastore/models/child_record.js +1 -1
  42. data/lib/frameworks/sproutcore/frameworks/datastore/models/record.js +330 -326
  43. data/lib/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +22 -1
  44. data/lib/frameworks/sproutcore/frameworks/datastore/system/nested_store.js +1 -1
  45. data/lib/frameworks/sproutcore/frameworks/datastore/system/store.js +614 -614
  46. data/lib/frameworks/sproutcore/frameworks/datastore/tests/data_sources/data_source.js +14 -1
  47. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record.js +3 -1
  48. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array_complex.js +2 -0
  49. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_complex.js +2 -0
  50. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record/core_methods.js +20 -13
  51. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record_attribute.js +61 -46
  52. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/nested_store/commitChangesFromNestedStore.js +30 -30
  53. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/commitChangesFromNestedStore.js +24 -24
  54. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/connectDataSource.js +31 -0
  55. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/pushRelationships.js +1177 -0
  56. data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/localized/system/datetime.js +4 -63
  57. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/border.js +1 -1
  58. data/lib/frameworks/sproutcore/frameworks/desktop/mixins/scrollable.js +1 -1
  59. data/lib/frameworks/sproutcore/frameworks/desktop/panes/alert.js +7 -8
  60. data/lib/frameworks/sproutcore/frameworks/desktop/panes/menu.js +18 -1
  61. data/lib/frameworks/sproutcore/frameworks/desktop/panes/panel.js +9 -0
  62. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drag_data_source.js +3 -3
  63. data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drop_target.js +3 -3
  64. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/button.js +1 -1
  65. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/checkbox.js +1 -1
  66. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/collection.js +1 -1
  67. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/disclosure.js +1 -1
  68. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/image_button.js +1 -1
  69. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js +3 -2
  70. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/menu.js +12 -2
  71. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/panel.js +1 -1
  72. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/picker.js +1 -1
  73. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/progress.js +1 -1
  74. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/radio.js +1 -1
  75. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/radio_group.js +2 -2
  76. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/segment.js +1 -1
  77. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/segmented.js +1 -1
  78. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/slider.js +1 -1
  79. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/toolbar.js +1 -1
  80. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/well.js +1 -1
  81. data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/workspace.js +1 -1
  82. data/lib/frameworks/sproutcore/frameworks/desktop/resources/segmented.css +1 -0
  83. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/alert/ui.js +33 -22
  84. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/panel/methods.js +20 -1
  85. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +10 -3
  86. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/date_field/methods.js +34 -7
  87. data/lib/frameworks/sproutcore/frameworks/desktop/views/button.js +14 -15
  88. data/lib/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +40 -14
  89. data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +699 -700
  90. data/lib/frameworks/sproutcore/frameworks/desktop/views/list_item.js +2 -2
  91. data/lib/frameworks/sproutcore/frameworks/desktop/views/master_detail.js +11 -1
  92. data/lib/frameworks/sproutcore/frameworks/desktop/views/menu_item.js +16 -6
  93. data/lib/frameworks/sproutcore/frameworks/desktop/views/progress.js +0 -1
  94. data/lib/frameworks/sproutcore/frameworks/desktop/views/radio.js +49 -7
  95. data/lib/frameworks/sproutcore/frameworks/desktop/views/select_button.js +9 -0
  96. data/lib/frameworks/sproutcore/frameworks/desktop/views/select_field.js +6 -2
  97. data/lib/frameworks/sproutcore/frameworks/desktop/views/slider.js +4 -26
  98. data/lib/frameworks/sproutcore/frameworks/desktop/views/web.js +20 -19
  99. data/lib/frameworks/sproutcore/frameworks/experimental/Buildfile +2 -0
  100. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/designers/view_designer.js +249 -249
  101. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/mixins/edit_mode.js +13 -5
  102. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/mixins/emptiness.js +53 -37
  103. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/render_delegates/form.js +2 -1
  104. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/render_delegates/form_row.js +3 -11
  105. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/mixins/edit_mode.js +53 -0
  106. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/mixins/emptiness.js +114 -0
  107. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form.js +174 -6
  108. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_row.js +86 -6
  109. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/views/form.js +80 -110
  110. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/views/form_row.js +96 -97
  111. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/README.md +2 -1
  112. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/models/record.js +20 -36
  113. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/ext/menu.js +121 -0
  114. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/ext/menu_item.js +90 -0
  115. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/mixins/select_view_menu.js +139 -0
  116. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/render_delegates/select_button.js +14 -0
  117. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/ext/menu_resizing.js +25 -0
  118. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/mixins/select_view_menu/bindings.js +43 -0
  119. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/mixins/select_view_menu/check_selected.js +32 -0
  120. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/popup_button/menu_setup.js +40 -0
  121. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/popup_button/show_menu.js +45 -0
  122. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/select/menu_width.js +49 -0
  123. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/select/selected_item.js +191 -0
  124. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/views/popup_button.js +264 -0
  125. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/views/select.js +450 -0
  126. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/mixins/split_child.js +14 -6
  127. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/mixins/split_thumb.js +1 -1
  128. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/render_delegates/split.js +1 -1
  129. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/render_delegates/split_divider.js +1 -1
  130. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/views/split.js +9 -0
  131. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/views/thumb.js +3 -2
  132. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/auto_resize.js +7 -17
  133. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/content_value_support.js +1 -1
  134. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/flowed_layout.js +35 -8
  135. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_editable.js +1 -1
  136. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_editor.js +1 -1
  137. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_editor_delegate.js +1 -1
  138. data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inner_frame.js +1 -1
  139. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/canvas_image.js +1 -1
  140. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/helpers/sizing.js +2 -0
  141. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/image.js +1 -1
  142. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/label.js +1 -1
  143. data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/render_delegate.js +6 -6
  144. data/lib/frameworks/sproutcore/frameworks/foundation/resources/images/favicon.ico +0 -0
  145. data/lib/frameworks/sproutcore/frameworks/foundation/resources/text_field.css +0 -5
  146. data/lib/frameworks/sproutcore/frameworks/foundation/system/exception_handler.js +4 -2
  147. data/lib/frameworks/sproutcore/frameworks/foundation/system/math.js +2 -1
  148. data/lib/frameworks/sproutcore/frameworks/foundation/system/module.js +13 -0
  149. data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/string_measurement.js +6 -9
  150. data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/flowed_layout/tests.js +912 -0
  151. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/text_field/methods.js +36 -7
  152. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/text_field/ui.js +58 -4
  153. data/lib/frameworks/sproutcore/frameworks/foundation/validators/validator.js +1 -3
  154. data/lib/frameworks/sproutcore/frameworks/foundation/views/field.js +0 -15
  155. data/lib/frameworks/sproutcore/frameworks/foundation/views/label.js +2 -2
  156. data/lib/frameworks/sproutcore/frameworks/foundation/views/text_field.js +25 -14
  157. data/lib/frameworks/sproutcore/frameworks/handlebars/handlebars.js +1 -1
  158. data/lib/frameworks/sproutcore/frameworks/runtime/core.js +15 -9
  159. data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/flatten.js +24 -0
  160. data/lib/frameworks/sproutcore/frameworks/runtime/ext/array.js +2 -1
  161. data/lib/frameworks/sproutcore/frameworks/runtime/ext/function.js +5 -5
  162. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/array.js +19 -0
  163. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/copyable.js +3 -2
  164. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/freezable.js +1 -1
  165. data/lib/frameworks/sproutcore/frameworks/runtime/mixins/observable.js +1 -1
  166. data/lib/frameworks/sproutcore/frameworks/runtime/system/binding.js +14 -14
  167. data/lib/frameworks/sproutcore/frameworks/runtime/system/error.js +3 -0
  168. data/lib/frameworks/sproutcore/frameworks/runtime/system/logger.js +2 -2
  169. data/lib/frameworks/sproutcore/frameworks/runtime/system/object.js +2 -2
  170. data/lib/frameworks/sproutcore/frameworks/runtime/system/range_observer.js +1 -1
  171. data/lib/frameworks/sproutcore/frameworks/runtime/system/run_loop.js +3 -3
  172. data/lib/frameworks/sproutcore/frameworks/runtime/system/set.js +15 -16
  173. data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/itemType.js +6 -2
  174. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/object/enhance.js +30 -0
  175. data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/range_observer/create.js +17 -0
  176. data/lib/frameworks/sproutcore/frameworks/statechart/system/state.js +9 -2
  177. data/lib/frameworks/sproutcore/frameworks/statechart/system/statechart.js +3 -1
  178. data/lib/frameworks/sproutcore/frameworks/testing/resources/runner.css +0 -1
  179. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/base.css +80 -0
  180. data/lib/frameworks/sproutcore/frameworks/yuireset/resources/core.css +0 -4
  181. data/lib/frameworks/sproutcore/lib/index.rhtml +2 -1
  182. data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list.css +3 -3
  183. data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list_item.css +2 -2
  184. data/lib/frameworks/sproutcore/themes/ace/resources/form/form.css +9 -0
  185. data/lib/frameworks/sproutcore/themes/ace/resources/menu/menu.css +3 -1
  186. data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/picker.js +1 -1
  187. data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/workspace.js +1 -1
  188. data/lib/frameworks/sproutcore/themes/legacy_theme/render_delegates/button.js +1 -1
  189. data/lib/frameworks/sproutcore/themes/legacy_theme/render_delegates/panel.js +1 -1
  190. data/lib/frameworks/sproutcore/themes/legacy_theme/render_delegates/progress.js +2 -0
  191. data/lib/frameworks/sproutcore/themes/legacy_theme/render_delegates/slider.js +1 -1
  192. data/lib/frameworks/sproutcore/themes/legacy_theme/render_delegates/well.js +1 -1
  193. data/lib/sproutcore/builders/base.rb +5 -1
  194. data/lib/sproutcore/builders/handlebars.rb +12 -1
  195. data/lib/sproutcore/models/target.rb +1 -9
  196. data/lib/sproutcore/rack/proxy.rb +238 -92
  197. data/lib/sproutcore/tools/docs.rb +1 -7
  198. data/spec/fixtures/builder_tests/apps/handlebars_test/Buildfile +1 -0
  199. data/spec/fixtures/builder_tests/apps/handlebars_test/{template.handlebars → templates/template.handlebars} +2 -0
  200. data/spec/lib/builders/handlebars_spec.rb +10 -4
  201. data/sproutcore.gemspec +3 -1
  202. metadata +73 -44
  203. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/english.lproj/default_styles.css +0 -5
  204. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/english.lproj/strings.js +0 -15
  205. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_checkbox_field.js +0 -17
  206. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_field.js +0 -17
  207. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_label.js +0 -17
  208. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_radio_field.js +0 -17
  209. data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_text_field.js +0 -17
@@ -10,15 +10,9 @@ require "sproutcore/tools/manifest"
10
10
 
11
11
  module SC
12
12
  class Tools
13
-
14
13
  desc "docs [TARGET..]", "Generates JSDoc's for specified targets."
15
14
  def docs
16
- begin
17
- require 'sc_docs/cli'
18
- ScDocs::CLI.start
19
- rescue LoadError
20
- puts "sc-docs is no longer bundled with SproutCore. Please install the sc-docs tool instead."
21
- end
15
+ puts "Doc generation is no longer bundled with SproutCore. Please install the sc-docs tool instead."
22
16
  end # def docs
23
17
  end # class Tools
24
18
  end # module SC
@@ -0,0 +1 @@
1
+ config :handlebars_test, :required => 'sproutcore/core_foundation'
@@ -2,4 +2,6 @@ Pour {{unfortunate}} {{souls}}
2
2
 
3
3
  Yes ma'am
4
4
 
5
+ <img src="{{sc_static("icons/image.png")}}" />
6
+
5
7
  INCEPTION ><>
@@ -7,6 +7,9 @@ describe SC::Builder::Handlebars do
7
7
 
8
8
  before do
9
9
  std_before :handlebars_test
10
+
11
+ # add fake image entry for sc_static tests..
12
+ @manifest.add_entry 'icons/image.png'
10
13
  end
11
14
 
12
15
  after do
@@ -20,10 +23,13 @@ describe SC::Builder::Handlebars do
20
23
  end
21
24
 
22
25
  it "converts Handlebars to JavaScript" do
23
- lines = run_builder 'template.handlebars'
24
- lines.each do |line|
25
- line.should =~ /SC\.TEMPLATES/
26
- end
26
+ lines = run_builder 'templates/template.handlebars'
27
+ lines[0].should =~ /SC\.TEMPLATES\["template"\] =/
28
+ end
29
+
30
+ it "handles sc_static" do
31
+ lines = run_builder 'templates/template.handlebars'
32
+ lines[0].should include('<img src=\\"/static/handlebars_test/en/current/icons/image.png?0\\" />')
27
33
  end
28
34
 
29
35
  end
data/sproutcore.gemspec CHANGED
@@ -24,6 +24,8 @@ Gem::Specification.new do |s|
24
24
  s.add_dependency 'haml', '~> 3.1.1'
25
25
 
26
26
  s.add_dependency 'compass', '~> 0.11.1'
27
+
28
+ s.add_dependency 'em-http-request', '~> 1.0.0.beta'
27
29
 
28
30
  if is_jruby
29
31
  s.add_dependency 'mongrel', '~> 1.1.5'
@@ -36,7 +38,7 @@ Gem::Specification.new do |s|
36
38
  end
37
39
 
38
40
  s.add_development_dependency 'gemcutter', "~> 0.6.0"
39
- s.add_development_dependency 'rspec', "~> 2.4.0"
41
+ s.add_development_dependency 'rspec', "~> 2.5.0"
40
42
  s.add_development_dependency 'rake'
41
43
 
42
44
  # Optional features, used in tests
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sproutcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0.rc.2
5
- prerelease: 6
4
+ version: 1.6.0.1
5
+ prerelease:
6
6
  platform: x86-mingw32
7
7
  authors:
8
8
  - Strobe, Inc., Apple Inc. and contributors
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-23 00:00:00.000000000Z
12
+ date: 2011-06-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
- requirement: &20006268 !ruby/object:Gem::Requirement
16
+ requirement: &15014232 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *20006268
24
+ version_requirements: *15014232
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json_pure
27
- requirement: &20005968 !ruby/object:Gem::Requirement
27
+ requirement: &15013932 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.4.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *20005968
35
+ version_requirements: *15013932
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: extlib
38
- requirement: &20005692 !ruby/object:Gem::Requirement
38
+ requirement: &15013656 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.9.15
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *20005692
46
+ version_requirements: *15013656
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: erubis
49
- requirement: &20005416 !ruby/object:Gem::Requirement
49
+ requirement: &15013380 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '2.6'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *20005416
57
+ version_requirements: *15013380
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: thor
60
- requirement: &20005140 !ruby/object:Gem::Requirement
60
+ requirement: &15013104 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 0.14.3
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *20005140
68
+ version_requirements: *15013104
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: haml
71
- requirement: &20004864 !ruby/object:Gem::Requirement
71
+ requirement: &15012828 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 3.1.1
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *20004864
79
+ version_requirements: *15012828
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: compass
82
- requirement: &20004588 !ruby/object:Gem::Requirement
82
+ requirement: &15012552 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,21 @@ dependencies:
87
87
  version: 0.11.1
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *20004588
90
+ version_requirements: *15012552
91
+ - !ruby/object:Gem::Dependency
92
+ name: em-http-request
93
+ requirement: &15012276 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: 1.0.0.beta
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: *15012276
91
102
  - !ruby/object:Gem::Dependency
92
103
  name: thin
93
- requirement: &20004312 !ruby/object:Gem::Requirement
104
+ requirement: &15012012 !ruby/object:Gem::Requirement
94
105
  none: false
95
106
  requirements:
96
107
  - - ~>
@@ -98,10 +109,10 @@ dependencies:
98
109
  version: 1.2.11
99
110
  type: :runtime
100
111
  prerelease: false
101
- version_requirements: *20004312
112
+ version_requirements: *15012012
102
113
  - !ruby/object:Gem::Dependency
103
114
  name: eventmachine
104
- requirement: &20004036 !ruby/object:Gem::Requirement
115
+ requirement: &15011736 !ruby/object:Gem::Requirement
105
116
  none: false
106
117
  requirements:
107
118
  - - ~>
@@ -109,10 +120,10 @@ dependencies:
109
120
  version: 1.0.0.beta
110
121
  type: :runtime
111
122
  prerelease: false
112
- version_requirements: *20004036
123
+ version_requirements: *15011736
113
124
  - !ruby/object:Gem::Dependency
114
125
  name: gemcutter
115
- requirement: &20003772 !ruby/object:Gem::Requirement
126
+ requirement: &15011472 !ruby/object:Gem::Requirement
116
127
  none: false
117
128
  requirements:
118
129
  - - ~>
@@ -120,21 +131,21 @@ dependencies:
120
131
  version: 0.6.0
121
132
  type: :development
122
133
  prerelease: false
123
- version_requirements: *20003772
134
+ version_requirements: *15011472
124
135
  - !ruby/object:Gem::Dependency
125
136
  name: rspec
126
- requirement: &20003496 !ruby/object:Gem::Requirement
137
+ requirement: &15011196 !ruby/object:Gem::Requirement
127
138
  none: false
128
139
  requirements:
129
140
  - - ~>
130
141
  - !ruby/object:Gem::Version
131
- version: 2.4.0
142
+ version: 2.5.0
132
143
  type: :development
133
144
  prerelease: false
134
- version_requirements: *20003496
145
+ version_requirements: *15011196
135
146
  - !ruby/object:Gem::Dependency
136
147
  name: rake
137
- requirement: &20003268 !ruby/object:Gem::Requirement
148
+ requirement: &15010968 !ruby/object:Gem::Requirement
138
149
  none: false
139
150
  requirements:
140
151
  - - ! '>='
@@ -142,10 +153,10 @@ dependencies:
142
153
  version: '0'
143
154
  type: :development
144
155
  prerelease: false
145
- version_requirements: *20003268
156
+ version_requirements: *15010968
146
157
  - !ruby/object:Gem::Dependency
147
158
  name: less
148
- requirement: &20002944 !ruby/object:Gem::Requirement
159
+ requirement: &15035244 !ruby/object:Gem::Requirement
149
160
  none: false
150
161
  requirements:
151
162
  - - ~>
@@ -153,10 +164,10 @@ dependencies:
153
164
  version: 1.2.21
154
165
  type: :development
155
166
  prerelease: false
156
- version_requirements: *20002944
167
+ version_requirements: *15035244
157
168
  - !ruby/object:Gem::Dependency
158
169
  name: RedCloth
159
- requirement: &20002644 !ruby/object:Gem::Requirement
170
+ requirement: &15034944 !ruby/object:Gem::Requirement
160
171
  none: false
161
172
  requirements:
162
173
  - - ~>
@@ -164,10 +175,10 @@ dependencies:
164
175
  version: 4.2.3
165
176
  type: :development
166
177
  prerelease: false
167
- version_requirements: *20002644
178
+ version_requirements: *15034944
168
179
  - !ruby/object:Gem::Dependency
169
180
  name: BlueCloth
170
- requirement: &20002368 !ruby/object:Gem::Requirement
181
+ requirement: &15034668 !ruby/object:Gem::Requirement
171
182
  none: false
172
183
  requirements:
173
184
  - - ~>
@@ -175,7 +186,7 @@ dependencies:
175
186
  version: 1.0.1
176
187
  type: :development
177
188
  prerelease: false
178
- version_requirements: *20002368
189
+ version_requirements: *15034668
179
190
  description: SproutCore is a platform for building native look-and-feel applications
180
191
  on the web. This Ruby library includes a copy of the SproutCore JavaScript framework
181
192
  as well as a Ruby-based build system called Abbot.
@@ -406,7 +417,8 @@ files:
406
417
  - spec/fixtures/builder_tests/apps/combine_test/english.lproj/a.css
407
418
  - spec/fixtures/builder_tests/apps/combine_test/english.lproj/b.css
408
419
  - spec/fixtures/builder_tests/apps/combine_test/english.lproj/c.css
409
- - spec/fixtures/builder_tests/apps/handlebars_test/template.handlebars
420
+ - spec/fixtures/builder_tests/apps/handlebars_test/Buildfile
421
+ - spec/fixtures/builder_tests/apps/handlebars_test/templates/template.handlebars
410
422
  - spec/fixtures/builder_tests/apps/html_test/english.lproj/bar1_sample.rhtml
411
423
  - spec/fixtures/builder_tests/apps/html_test/english.lproj/erb_sample.html.erb
412
424
  - spec/fixtures/builder_tests/apps/html_test/english.lproj/icons/image.png
@@ -750,6 +762,7 @@ files:
750
762
  - lib/frameworks/sproutcore/apps/test_controls/controllers/buttons.js
751
763
  - lib/frameworks/sproutcore/apps/test_controls/controllers/categories.js
752
764
  - lib/frameworks/sproutcore/apps/test_controls/controllers/category.js
765
+ - lib/frameworks/sproutcore/apps/test_controls/controllers/select.js
753
766
  - lib/frameworks/sproutcore/apps/test_controls/controllers/split.js
754
767
  - lib/frameworks/sproutcore/apps/test_controls/core.js
755
768
  - lib/frameworks/sproutcore/apps/test_controls/main.js
@@ -857,6 +870,7 @@ files:
857
870
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/array/null_case.js
858
871
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/array/selection_support.js
859
872
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/array/single_case.js
873
+ - lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/object/content_destroyed.js
860
874
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/object/empty_case.js
861
875
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/object/multiple_case.js
862
876
  - lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/object/single_case.js
@@ -976,6 +990,7 @@ files:
976
990
  - lib/frameworks/sproutcore/frameworks/datastore/debug/standard_setup.js
977
991
  - lib/frameworks/sproutcore/frameworks/datastore/fixtures/author_fixtures.js
978
992
  - lib/frameworks/sproutcore/frameworks/datastore/fixtures/sample.js
993
+ - lib/frameworks/sproutcore/frameworks/datastore/mixins/relationship_support.js
979
994
  - lib/frameworks/sproutcore/frameworks/datastore/models/children_attribute.js
980
995
  - lib/frameworks/sproutcore/frameworks/datastore/models/child_attribute.js
981
996
  - lib/frameworks/sproutcore/frameworks/datastore/models/child_record.js
@@ -1046,6 +1061,7 @@ files:
1046
1061
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/cancelRecord.js
1047
1062
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/commitChangesFromNestedStore.js
1048
1063
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/commitRecord.js
1064
+ - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/connectDataSource.js
1049
1065
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/core_methods.js
1050
1066
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/createRecord.js
1051
1067
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/dataHashDidChange.js
@@ -1057,6 +1073,7 @@ files:
1057
1073
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/loadRecord.js
1058
1074
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/loadRecords.js
1059
1075
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/pushChanges.js
1076
+ - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/pushRelationships.js
1060
1077
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/readDataHash.js
1061
1078
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/readEditableDataHash.js
1062
1079
  - lib/frameworks/sproutcore/frameworks/datastore/tests/system/store/recordDidChange.js
@@ -1520,19 +1537,14 @@ files:
1520
1537
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/device_motion/device.js
1521
1538
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/device_motion/platform.js
1522
1539
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/device_motion/README.md
1523
- - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/english.lproj/default_styles.css
1524
- - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/english.lproj/strings.js
1525
1540
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/mixins/edit_mode.js
1526
1541
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/mixins/emptiness.js
1527
1542
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/render_delegates/form.js
1528
1543
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/render_delegates/form_row.js
1544
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/mixins/edit_mode.js
1545
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/mixins/emptiness.js
1529
1546
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form.js
1530
- - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_checkbox_field.js
1531
- - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_field.js
1532
- - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_label.js
1533
- - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_radio_field.js
1534
1547
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_row.js
1535
- - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/tests/views/form_text_field.js
1536
1548
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/views/form.js
1537
1549
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/views/form_row.js
1538
1550
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/models/record.js
@@ -1540,6 +1552,19 @@ files:
1540
1552
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/tests/models/polymorphism/many.js
1541
1553
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/tests/models/polymorphism/simple.js
1542
1554
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/tests/models/polymorphism/single.js
1555
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/ext/menu.js
1556
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/ext/menu_item.js
1557
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/mixins/select_view_menu.js
1558
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/render_delegates/select_button.js
1559
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/ext/menu_resizing.js
1560
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/mixins/select_view_menu/bindings.js
1561
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/mixins/select_view_menu/check_selected.js
1562
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/popup_button/menu_setup.js
1563
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/popup_button/show_menu.js
1564
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/select/menu_width.js
1565
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/tests/views/select/selected_item.js
1566
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/views/popup_button.js
1567
+ - lib/frameworks/sproutcore/frameworks/experimental/frameworks/select_view/views/select.js
1543
1568
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/mixins/split_child.js
1544
1569
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/mixins/split_thumb.js
1545
1570
  - lib/frameworks/sproutcore/frameworks/experimental/frameworks/split_view/render_delegates/split.js
@@ -1637,6 +1662,7 @@ files:
1637
1662
  - lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/content_value_support/content.js
1638
1663
  - lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/control/displayProperties.js
1639
1664
  - lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/editable/ui.js
1665
+ - lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/flowed_layout/tests.js
1640
1666
  - lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editable/beginEditing.js
1641
1667
  - lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editable/commitEditing.js
1642
1668
  - lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_editable/discardEditing.js
@@ -1719,6 +1745,7 @@ files:
1719
1745
  - lib/frameworks/sproutcore/frameworks/routing/tests/system/routes.js
1720
1746
  - lib/frameworks/sproutcore/frameworks/runtime/core.js
1721
1747
  - lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/base.js
1748
+ - lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/flatten.js
1722
1749
  - lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/indexOf.js
1723
1750
  - lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/insertAt.js
1724
1751
  - lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/objectAt.js
@@ -1877,6 +1904,7 @@ files:
1877
1904
  - lib/frameworks/sproutcore/frameworks/testing/tests/spy_on.js
1878
1905
  - lib/frameworks/sproutcore/frameworks/testing/tests/stub_method.js
1879
1906
  - lib/frameworks/sproutcore/frameworks/testing/utils.js
1907
+ - lib/frameworks/sproutcore/frameworks/yuireset/resources/base.css
1880
1908
  - lib/frameworks/sproutcore/frameworks/yuireset/resources/core.css
1881
1909
  - lib/frameworks/sproutcore/frameworks/yuireset/resources/fonts.css
1882
1910
  - lib/frameworks/sproutcore/frameworks/yuireset/resources/reset.css
@@ -1975,6 +2003,7 @@ files:
1975
2003
  - lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure_closed_active.png
1976
2004
  - lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open.png
1977
2005
  - lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open_active.png
2006
+ - lib/frameworks/sproutcore/themes/ace/resources/form/form.css
1978
2007
  - lib/frameworks/sproutcore/themes/ace/resources/imagebutton/ace/imagebutton.css
1979
2008
  - lib/frameworks/sproutcore/themes/ace/resources/loading.css
1980
2009
  - lib/frameworks/sproutcore/themes/ace/resources/master-detail/master-detail.css
@@ -2204,9 +2233,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2204
2233
  required_rubygems_version: !ruby/object:Gem::Requirement
2205
2234
  none: false
2206
2235
  requirements:
2207
- - - ! '>'
2236
+ - - ! '>='
2208
2237
  - !ruby/object:Gem::Version
2209
- version: 1.3.1
2238
+ version: '0'
2210
2239
  requirements: []
2211
2240
  rubyforge_project: sproutcore
2212
2241
  rubygems_version: 1.7.2
@@ -1,5 +0,0 @@
1
- /* This default stylesheet for forms maximizes fluidity. */
2
- .sc-label-view.sc-form-label { white-space:pre; text-align: right; }
3
-
4
- /* Some fields have some... well, extra (think TextField's glow) */
5
- .sc-view.sc-form-view .sc-view.sc-form-row-view { overflow:visible; }
@@ -1,15 +0,0 @@
1
- // ==========================================================================
2
- // Project: Forms Strings
3
- // Copyright: ©2009 My Company, Inc.
4
- // ==========================================================================
5
- /*globals Forms */
6
-
7
- // Place strings you want to localize here. In your app, use the key and
8
- // localize it using "key string".loc(). HINT: For your key names, use the
9
- // english string with an underscore in front. This way you can still see
10
- // how your UI will look and you'll notice right away when something needs a
11
- // localized string added to this file!
12
- //
13
- SC.stringsFor('English', {
14
- // "_String Key": "Localized String"
15
- }) ;