sproutcore 0.9.0 → 0.9.1
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.
- data/Manifest.txt +42 -29
- data/README.txt +1 -1
- data/Rakefile +5 -0
- data/app_generators/sproutcore/sproutcore_generator.rb +4 -4
- data/app_generators/sproutcore/templates/sc-config.rb +72 -0
- data/bin/sc-build +2 -0
- data/clients/sc_docs/controllers/docs.js +1 -0
- data/clients/sc_docs/english.lproj/body.rhtml +5 -0
- data/clients/sc_docs/views/doc_frame.js +1 -1
- data/clients/sc_test_runner/controllers/runner.js +2 -2
- data/clients/sc_test_runner/english.lproj/body.rhtml +5 -0
- data/clients/sc_test_runner/main.js +12 -12
- data/clients/sc_test_runner/models/test.js +3 -0
- data/clients/sc_test_runner/views/test_label.js +1 -1
- data/config/hoe.rb +2 -0
- data/frameworks/sproutcore/controllers/array.js +132 -125
- data/frameworks/sproutcore/drag/drag.js +5 -2
- data/frameworks/sproutcore/english.lproj/buttons.css +64 -64
- data/frameworks/sproutcore/english.lproj/collections.css +82 -0
- data/frameworks/sproutcore/english.lproj/images/buttons-sprite.png +0 -0
- data/frameworks/sproutcore/english.lproj/images/sproutcore-logo.png +0 -0
- data/frameworks/sproutcore/english.lproj/images/sticky-note.png +0 -0
- data/frameworks/sproutcore/english.lproj/menu.css +1 -1
- data/frameworks/sproutcore/english.lproj/theme.css +13 -4
- data/frameworks/sproutcore/foundation/array.js +24 -2
- data/frameworks/sproutcore/foundation/benchmark.js +12 -5
- data/frameworks/sproutcore/foundation/observable.js +62 -1
- data/frameworks/sproutcore/foundation/utils.js +16 -0
- data/frameworks/sproutcore/tests/views/label_item.rhtml +21 -0
- data/frameworks/sproutcore/tests/views/list.rhtml +21 -0
- data/frameworks/sproutcore/tests/views/scroll.rhtml +21 -0
- data/frameworks/sproutcore/views/collection.js +401 -73
- data/frameworks/sproutcore/views/collection/collection_item.js +36 -0
- data/frameworks/sproutcore/views/collection/grid.js +149 -0
- data/frameworks/sproutcore/views/collection/image_cell.js +154 -0
- data/frameworks/sproutcore/views/collection/list.js +115 -0
- data/frameworks/sproutcore/views/collection/text_cell.js +128 -0
- data/frameworks/sproutcore/views/image.js +1 -1
- data/frameworks/sproutcore/views/label.js +6 -2
- data/frameworks/sproutcore/views/scroll.js +34 -0
- data/frameworks/sproutcore/views/view.js +12 -4
- data/generators/client/client_generator.rb +3 -11
- data/generators/client/templates/english.lproj/body.css +75 -0
- data/generators/client/templates/english.lproj/body.rhtml +17 -2
- data/generators/model/templates/fixture.js +32 -0
- data/lib/sproutcore/build_tools/html_builder.rb +29 -11
- data/lib/sproutcore/build_tools/resource_builder.rb +1 -1
- data/lib/sproutcore/bundle.rb +19 -7
- data/lib/sproutcore/library.rb +39 -21
- data/lib/sproutcore/merb/bundle_controller.rb +3 -8
- data/lib/sproutcore/version.rb +1 -1
- data/lib/sproutcore/view_helpers.rb +7 -5
- data/lib/sproutcore/view_helpers/core_views.rb +11 -3
- data/sc-config.rb +7 -0
- data/tasks/deployment.rake +15 -2
- metadata +44 -31
- data/app_generators/sproutcore/templates/environment.yml +0 -4
- data/environment.yml +0 -9
@@ -74,7 +74,7 @@ module SproutCore
|
|
74
74
|
end
|
75
75
|
|
76
76
|
file_lines = []
|
77
|
-
io = entry.source_path.nil? ? [] : File.new(entry.source_path)
|
77
|
+
io = (entry.source_path.nil? || !File.exists?(entry.source_path)) ? [] : File.new(entry.source_path)
|
78
78
|
io.each do | line |
|
79
79
|
|
80
80
|
# check for requires. Only follow a require if the require is in the list
|
data/lib/sproutcore/bundle.rb
CHANGED
@@ -319,7 +319,7 @@ module SproutCore
|
|
319
319
|
# Does a deep search of the entries, looking for a resource that is a close
|
320
320
|
# match of the specified resource. This does not need to match the filename
|
321
321
|
# exactly and it can omit the extension
|
322
|
-
def find_resource_entry(filename, opts={})
|
322
|
+
def find_resource_entry(filename, opts={}, seen=nil)
|
323
323
|
extname = File.extname(filename)
|
324
324
|
rootname = filename.gsub(/#{extname}$/,'')
|
325
325
|
entry_extname = entry_rootname = nil
|
@@ -332,14 +332,25 @@ module SproutCore
|
|
332
332
|
!(ext_match && (/#{rootname}$/ =~ entry_rootname))
|
333
333
|
end
|
334
334
|
|
335
|
-
ret.first
|
335
|
+
ret = ret.first
|
336
|
+
|
337
|
+
if ret.nil?
|
338
|
+
seen = Set.new if seen.nil?
|
339
|
+
seen << self
|
340
|
+
all_required_bundles.each do |bundle|
|
341
|
+
next if seen.include?(bundle) # avoid recursion
|
342
|
+
ret = bundle.find_resource_entry(filename, opts, seen)
|
343
|
+
return ret unless ret.nil?
|
344
|
+
end
|
345
|
+
end
|
346
|
+
return ret
|
336
347
|
end
|
337
348
|
|
338
|
-
# Builds the passed array of entries. If the entry is already built, then
|
339
|
-
# method does nothing unless force => true
|
349
|
+
# Builds the passed array of entries. If the entry is already built, then
|
350
|
+
# this method does nothing unless force => true
|
340
351
|
#
|
341
|
-
# The exact action taken by this method varies by resource type. Some
|
342
|
-
# will simply be copied. Others will actually be compiled.
|
352
|
+
# The exact action taken by this method varies by resource type. Some
|
353
|
+
# resources will simply be copied. Others will actually be compiled.
|
343
354
|
#
|
344
355
|
# ==== Params
|
345
356
|
#
|
@@ -347,7 +358,8 @@ module SproutCore
|
|
347
358
|
#
|
348
359
|
# ==== Options
|
349
360
|
#
|
350
|
-
# force:: If true then the entry will be built again, even if it already
|
361
|
+
# force:: If true then the entry will be built again, even if it already
|
362
|
+
# exists.
|
351
363
|
# hidden:: Set to :none, :include, or :only
|
352
364
|
#
|
353
365
|
def build_entries(entries, opts={})
|
data/lib/sproutcore/library.rb
CHANGED
@@ -45,7 +45,7 @@ module SproutCore
|
|
45
45
|
|
46
46
|
# Heuristically determine if a particular location is a library.
|
47
47
|
def self.is_library?(path)
|
48
|
-
has_it = %w(clients frameworks
|
48
|
+
has_it = %w(clients frameworks sc-config.rb).map do |x|
|
49
49
|
File.exists?(File.join(path, x))
|
50
50
|
end
|
51
51
|
return false unless has_it.pop
|
@@ -150,6 +150,11 @@ module SproutCore
|
|
150
150
|
def bundles
|
151
151
|
@cached_all_bundles ||= (client_bundles + framework_bundles)
|
152
152
|
end
|
153
|
+
|
154
|
+
# Reloads the manifest for all bundles.
|
155
|
+
def reload_bundles!
|
156
|
+
bundles.each { |b| b.reload! }
|
157
|
+
end
|
153
158
|
|
154
159
|
# Build all of the bundles in the library. This can take awhile but it is the simple
|
155
160
|
# way to get all of your code onto disk in a deployable state
|
@@ -217,11 +222,13 @@ module SproutCore
|
|
217
222
|
|
218
223
|
protected
|
219
224
|
|
220
|
-
# Load the library at the specified path. Loads the
|
221
|
-
# and then detects all clients and frameworks in the library. If
|
222
|
-
# those will overlay any :all options you specify in
|
225
|
+
# Load the library at the specified path. Loads the sc-config.rb if it
|
226
|
+
# exists and then detects all clients and frameworks in the library. If
|
227
|
+
# you pass any options, those will overlay any :all options you specify in
|
228
|
+
# your sc-config file.
|
223
229
|
#
|
224
|
-
# You cannot create a library directly using this method. Instead is
|
230
|
+
# You cannot create a library directly using this method. Instead is
|
231
|
+
# library_in()
|
225
232
|
#
|
226
233
|
def initialize(rp, opts = {}, next_lib = nil)
|
227
234
|
@root_path = rp
|
@@ -230,27 +237,38 @@ module SproutCore
|
|
230
237
|
load_environment!(opts)
|
231
238
|
end
|
232
239
|
|
233
|
-
# Internal method loads the actual environment
|
240
|
+
# Internal method loads the actual environment. Get the ruby file and
|
241
|
+
# eval it in the context of the library object.
|
234
242
|
def load_environment!(opts=nil)
|
235
|
-
env_path = File.join(root_path, '
|
236
|
-
env = {}
|
237
|
-
if File.exists?(env_path)
|
238
|
-
f = File.open(env_path)
|
239
|
-
env = YAML::load(f) rescue nil
|
240
|
-
f.close
|
241
|
-
end
|
242
|
-
env = {} if env.nil?
|
243
|
-
|
244
|
-
# symbolize
|
243
|
+
env_path = File.join(root_path, 'sc-config.rb')
|
245
244
|
@environment = {}
|
246
|
-
|
247
|
-
|
245
|
+
if File.exists?(env_path)
|
246
|
+
f = File.read(env_path)
|
247
|
+
eval(f) # execute the config file as if it belongs.
|
248
248
|
end
|
249
249
|
|
250
|
-
#
|
251
|
-
|
250
|
+
# Override any all options with load_opts
|
251
|
+
(@environment[:all] ||= {}).merge!(@load_opts)
|
252
|
+
|
252
253
|
end
|
253
|
-
|
254
|
+
|
255
|
+
# This can be called from within a configuration file to actually setup
|
256
|
+
# the environment. Passes the relative environment hash to the block.
|
257
|
+
#
|
258
|
+
# ==== Params
|
259
|
+
# bundle_name: the bundle these settings are for or :all for every bundle.
|
260
|
+
# opts: optional set of parameters to merge into this bundle environment
|
261
|
+
#
|
262
|
+
# ==== Yields
|
263
|
+
# If block is given, yield to the block, passing an options hash the block
|
264
|
+
# can work on.
|
265
|
+
#
|
266
|
+
def config(bundle_name, opts=nil)
|
267
|
+
env = @environment[bundle_name.to_sym] ||= {}
|
268
|
+
env.merge!(opts) unless opts.nil?
|
269
|
+
yield(env) if block_given?
|
270
|
+
end
|
271
|
+
|
254
272
|
end
|
255
273
|
|
256
274
|
end
|
@@ -35,29 +35,25 @@ module SproutCore
|
|
35
35
|
|
36
36
|
# Check for a few special urls that need to be rewritten
|
37
37
|
url = request.path
|
38
|
-
puts "BEFORE URL: #{url} current_bundle: #{current_bundle.bundle_name}"
|
39
38
|
if request.method == :get
|
40
39
|
url = rewrite_bundle_if(url, /^#{current_bundle.index_root}\/-tests/, :sc_test_runner)
|
41
40
|
url = rewrite_bundle_if(url, /^#{current_bundle.index_root}\/-docs/, :sc_docs)
|
42
41
|
end
|
43
42
|
|
44
43
|
# If we are in development mode, reload bundle first
|
45
|
-
|
46
|
-
|
47
|
-
puts "AFTER URL: #{url} current_bundle: #{current_bundle.bundle_name}"
|
44
|
+
library.reload_bundles! if current_bundle.build_mode == :development
|
48
45
|
|
49
46
|
# Get the normalized URL for the requested resource
|
50
47
|
url = current_bundle.normalize_url(url)
|
51
48
|
|
52
|
-
|
53
49
|
# Check for a few special urls for built-in services and route them off
|
54
50
|
case url
|
55
51
|
when "#{current_bundle.url_root}/-tests/index.js"
|
56
52
|
ret = handle_test(url)
|
57
|
-
when "#{current_bundle.index_root}/-docs"
|
53
|
+
when "#{current_bundle.index_root}/-docs/index.html"
|
58
54
|
ret = (request.method == :post) ? handle_doc(url) : handle_resource(url)
|
59
55
|
|
60
|
-
when "#{current_bundle.url_root}/-docs"
|
56
|
+
when "#{current_bundle.url_root}/-docs/index.html"
|
61
57
|
ret = (request.method == :post) ? handle_doc(url) : handle_resource(url)
|
62
58
|
|
63
59
|
else
|
@@ -81,7 +77,6 @@ module SproutCore
|
|
81
77
|
# Found an entry, build the resource. If the resource has already been built, this
|
82
78
|
# will not do much. If this the resource is an index.html file, force the build.
|
83
79
|
is_index = /\/index\.html$/ =~ url
|
84
|
-
puts "building: #{url} - is_index: #{is_index}"
|
85
80
|
|
86
81
|
current_bundle.build_entry(entry, :force => is_index, :hidden => :include)
|
87
82
|
|
data/lib/sproutcore/version.rb
CHANGED
@@ -100,8 +100,9 @@ module SproutCore
|
|
100
100
|
attr_accessor :define
|
101
101
|
attr_accessor :current_helper
|
102
102
|
attr_accessor :client_builder
|
103
|
+
attr_reader :render_source
|
103
104
|
|
104
|
-
def initialize(item_id, opts={}, client_builder = nil)
|
105
|
+
def initialize(item_id, opts={}, client_builder = nil, render_source=nil)
|
105
106
|
@_options = opts.dup
|
106
107
|
@bindings = (@_options[:bind] || {}).dup
|
107
108
|
@outlets = {}
|
@@ -111,6 +112,7 @@ module SproutCore
|
|
111
112
|
@define = opts[:define]
|
112
113
|
@client_builder = client_builder
|
113
114
|
@outlet_names = []
|
115
|
+
@render_source = render_source
|
114
116
|
|
115
117
|
@attributes = (@_options[:attributes] || {}).dup
|
116
118
|
|
@@ -533,7 +535,7 @@ module SproutCore
|
|
533
535
|
|
534
536
|
# :outlet => define if you want this to be used as an outlet.
|
535
537
|
# :prototype => define if you want this to be used as a prototype.
|
536
|
-
def self.render_view(view_helper_id, item_id, opts={}, client_builder=nil, &block)
|
538
|
+
def self.render_view(view_helper_id, item_id, opts={}, client_builder=nil, render_source=nil, &block)
|
537
539
|
|
538
540
|
# item_id is optional. If it is not a symbol or string, then generate
|
539
541
|
# an item_id
|
@@ -544,7 +546,7 @@ module SproutCore
|
|
544
546
|
|
545
547
|
# create the new render context and set it.
|
546
548
|
client_builder = opts[:client] if opts[:client]
|
547
|
-
rc = RenderContext.new(item_id, opts, client_builder)
|
549
|
+
rc = RenderContext.new(item_id, opts, client_builder, render_source)
|
548
550
|
hs = find_helper(view_helper_id)
|
549
551
|
|
550
552
|
# render the inner_html using the block, if one is given.
|
@@ -605,12 +607,12 @@ module SproutCore
|
|
605
607
|
## install the helper method
|
606
608
|
SproutCore::ViewHelpers.class_eval %{
|
607
609
|
def #{helper_name}(item_id=nil, opts={}, &block)
|
608
|
-
SproutCore::ViewHelperSupport.render_view(:#{helper_name}, item_id, opts, bundle, &block)
|
610
|
+
SproutCore::ViewHelperSupport.render_view(:#{helper_name}, item_id, opts, bundle, self, &block)
|
609
611
|
end }
|
610
612
|
|
611
613
|
SproutCore::ViewHelpers.class_eval %{
|
612
614
|
def self.#{helper_name}(item_id=nil, opts={}, &block)
|
613
|
-
SproutCore::ViewHelperSupport.render_view(:#{helper_name}, item_id, opts, bundle, &block)
|
615
|
+
SproutCore::ViewHelperSupport.render_view(:#{helper_name}, item_id, opts, bundle, self, &block)
|
614
616
|
end }
|
615
617
|
|
616
618
|
end
|
@@ -201,6 +201,11 @@ EOF
|
|
201
201
|
property :content
|
202
202
|
end
|
203
203
|
|
204
|
+
view_helper :scroll_view do
|
205
|
+
view 'SC.ScrollView'
|
206
|
+
css_class_names << 'sc-scroll-view'
|
207
|
+
end
|
208
|
+
|
204
209
|
view_helper :segmented_view do
|
205
210
|
property :value
|
206
211
|
property :selection, :key => 'value'
|
@@ -225,7 +230,7 @@ EOF
|
|
225
230
|
key = seg.first || ''
|
226
231
|
label = seg.size > 1 ? seg.last : key.to_s.humanize.split.map { |x| x.capitalize }.join(' ')
|
227
232
|
|
228
|
-
result <<
|
233
|
+
result << render_source.button_view(:outlet => "#{key}_button", :label => label, :tag => 'a', :class => class_names )
|
229
234
|
end
|
230
235
|
@inner_html = result * ''
|
231
236
|
end
|
@@ -252,8 +257,8 @@ EOF
|
|
252
257
|
# name.
|
253
258
|
css_class_names << 'segmented'
|
254
259
|
result = []
|
255
|
-
result <<
|
256
|
-
result <<
|
260
|
+
result << render_source.segmented_view(:outlet => :segmented_view, :segments => @segments, :bind => { :value => '*owner.nowShowing' })
|
261
|
+
result << render_source.view({:outlet => :root_view, :class => 'root'})
|
257
262
|
@inner_html = [(result * ""), %(<div style="display:none;">), (@inner_html || ''), %(</div>)] * ""
|
258
263
|
end
|
259
264
|
|
@@ -271,6 +276,7 @@ EOF
|
|
271
276
|
property :act_on_select
|
272
277
|
property(:example_view) { |v| v }
|
273
278
|
property(:example_group_view) { |v| v }
|
279
|
+
property :display_property
|
274
280
|
|
275
281
|
property(:group, :key => 'groupBy') do |v|
|
276
282
|
"['#{Array(v) * "','" }']"
|
@@ -278,6 +284,8 @@ EOF
|
|
278
284
|
|
279
285
|
property(:action) { |v| "function(ev) { return #{v}(this, ev); }" }
|
280
286
|
view 'SC.CollectionView'
|
287
|
+
|
288
|
+
css_class_names << 'sc-collection-view'
|
281
289
|
end
|
282
290
|
|
283
291
|
end
|
data/sc-config.rb
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# This is the default configuration file for SproutCore. By default, all
|
2
|
+
# frameworks in this library will pick up these settings. Override them in
|
3
|
+
# your own projects as needed
|
4
|
+
|
5
|
+
config :all, :required => [:sproutcore, :prototype]
|
6
|
+
config :sproutcore, :required => [:prototype]
|
7
|
+
config :prototype, :required => []
|
data/tasks/deployment.rake
CHANGED
@@ -26,9 +26,22 @@ task :install_gem_no_doc => [:clean, :package] do
|
|
26
26
|
sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
|
27
27
|
end
|
28
28
|
|
29
|
+
IGNORE_DIRS = [] unless defined?(IGNORE_DIRS)
|
30
|
+
|
29
31
|
namespace :manifest do
|
30
|
-
desc 'Recreate Manifest.txt to include ALL files'
|
32
|
+
desc 'Recreate Manifest.txt to include ALL files from specified locations'
|
31
33
|
task :refresh do
|
32
|
-
|
34
|
+
Dir.chdir(APP_ROOT)
|
35
|
+
files = Dir.glob(File.join('**','*'))
|
36
|
+
puts "IGNORE_DIRS = #{IGNORE_DIRS.join(',')}"
|
37
|
+
files.reject! do |x|
|
38
|
+
path_parts = x.split('/')
|
39
|
+
|
40
|
+
File.directory?(x) || IGNORE_DIRS.include?(path_parts.first)
|
41
|
+
end
|
42
|
+
|
43
|
+
f = File.open(File.join(APP_ROOT, 'Manifest.txt'), 'w')
|
44
|
+
f.write(files.join("\n"))
|
45
|
+
f.close
|
33
46
|
end
|
34
47
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sproutcore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Jolley
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-03-
|
12
|
+
date: 2008-03-18 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -60,20 +60,15 @@ extensions: []
|
|
60
60
|
|
61
61
|
extra_rdoc_files:
|
62
62
|
- History.txt
|
63
|
-
- License.txt
|
64
|
-
- Manifest.txt
|
65
|
-
- README.txt
|
66
63
|
- jsdoc/README.txt
|
67
|
-
files:
|
68
|
-
- History.txt
|
69
64
|
- License.txt
|
70
65
|
- Manifest.txt
|
71
66
|
- README.txt
|
72
|
-
|
73
|
-
- app_generators/sproutcore/USAGE
|
67
|
+
files:
|
74
68
|
- app_generators/sproutcore/sproutcore_generator.rb
|
75
69
|
- app_generators/sproutcore/templates/README
|
76
|
-
- app_generators/sproutcore/templates/
|
70
|
+
- app_generators/sproutcore/templates/sc-config.rb
|
71
|
+
- app_generators/sproutcore/USAGE
|
77
72
|
- bin/sc-build
|
78
73
|
- bin/sc-gen
|
79
74
|
- bin/sc-server
|
@@ -120,14 +115,12 @@ files:
|
|
120
115
|
- clients/sc_test_runner/views/test_label.js
|
121
116
|
- config/hoe.rb
|
122
117
|
- config/requirements.rb
|
123
|
-
- environment.yml
|
124
118
|
- frameworks/prototype/prototype.js
|
125
|
-
- frameworks/sproutcore/Core.js
|
126
|
-
- frameworks/sproutcore/README
|
127
119
|
- frameworks/sproutcore/controllers/array.js
|
128
120
|
- frameworks/sproutcore/controllers/collection.js
|
129
121
|
- frameworks/sproutcore/controllers/controller.js
|
130
122
|
- frameworks/sproutcore/controllers/object.js
|
123
|
+
- frameworks/sproutcore/Core.js
|
131
124
|
- frameworks/sproutcore/drag/drag.js
|
132
125
|
- frameworks/sproutcore/drag/drag_data_source.js
|
133
126
|
- frameworks/sproutcore/drag/drag_source.js
|
@@ -135,6 +128,10 @@ files:
|
|
135
128
|
- frameworks/sproutcore/english.lproj/blank.gif
|
136
129
|
- frameworks/sproutcore/english.lproj/buttons.css
|
137
130
|
- frameworks/sproutcore/english.lproj/buttons.png
|
131
|
+
- frameworks/sproutcore/english.lproj/collections.css
|
132
|
+
- frameworks/sproutcore/english.lproj/images/buttons-sprite.png
|
133
|
+
- frameworks/sproutcore/english.lproj/images/sproutcore-logo.png
|
134
|
+
- frameworks/sproutcore/english.lproj/images/sticky-note.png
|
138
135
|
- frameworks/sproutcore/english.lproj/inline_text_editor.css
|
139
136
|
- frameworks/sproutcore/english.lproj/menu.css
|
140
137
|
- frameworks/sproutcore/english.lproj/panels/background-fat.jpg
|
@@ -192,6 +189,7 @@ files:
|
|
192
189
|
- frameworks/sproutcore/panes/pane.js
|
193
190
|
- frameworks/sproutcore/panes/panel.js
|
194
191
|
- frameworks/sproutcore/panes/picker.js
|
192
|
+
- frameworks/sproutcore/README
|
195
193
|
- frameworks/sproutcore/tests/controllers/array.rhtml
|
196
194
|
- frameworks/sproutcore/tests/controllers/controller.rhtml
|
197
195
|
- frameworks/sproutcore/tests/controllers/object.rhtml
|
@@ -201,7 +199,10 @@ files:
|
|
201
199
|
- frameworks/sproutcore/tests/globals/window.rhtml
|
202
200
|
- frameworks/sproutcore/tests/panes/pane.rhtml
|
203
201
|
- frameworks/sproutcore/tests/views/collection.rhtml
|
202
|
+
- frameworks/sproutcore/tests/views/label_item.rhtml
|
203
|
+
- frameworks/sproutcore/tests/views/list.rhtml
|
204
204
|
- frameworks/sproutcore/tests/views/popup_button.rhtml
|
205
|
+
- frameworks/sproutcore/tests/views/scroll.rhtml
|
205
206
|
- frameworks/sproutcore/tests/views/text_field.rhtml
|
206
207
|
- frameworks/sproutcore/validators/credit_card.js
|
207
208
|
- frameworks/sproutcore/validators/date.js
|
@@ -212,6 +213,11 @@ files:
|
|
212
213
|
- frameworks/sproutcore/validators/validator.js
|
213
214
|
- frameworks/sproutcore/views/button.js
|
214
215
|
- frameworks/sproutcore/views/checkbox_field.js
|
216
|
+
- frameworks/sproutcore/views/collection/collection_item.js
|
217
|
+
- frameworks/sproutcore/views/collection/grid.js
|
218
|
+
- frameworks/sproutcore/views/collection/image_cell.js
|
219
|
+
- frameworks/sproutcore/views/collection/list.js
|
220
|
+
- frameworks/sproutcore/views/collection/text_cell.js
|
215
221
|
- frameworks/sproutcore/views/collection.js
|
216
222
|
- frameworks/sproutcore/views/container.js
|
217
223
|
- frameworks/sproutcore/views/error_explanation.js
|
@@ -228,6 +234,7 @@ files:
|
|
228
234
|
- frameworks/sproutcore/views/progress.js
|
229
235
|
- frameworks/sproutcore/views/radio_field.js
|
230
236
|
- frameworks/sproutcore/views/radio_group.js
|
237
|
+
- frameworks/sproutcore/views/scroll.js
|
231
238
|
- frameworks/sproutcore/views/segmented.js
|
232
239
|
- frameworks/sproutcore/views/select_field.js
|
233
240
|
- frameworks/sproutcore/views/spinner.js
|
@@ -237,47 +244,48 @@ files:
|
|
237
244
|
- frameworks/sproutcore/views/toolbar.js
|
238
245
|
- frameworks/sproutcore/views/view.js
|
239
246
|
- frameworks/sproutcore/views/workspace.js
|
240
|
-
- generators/client/README
|
241
|
-
- generators/client/USAGE
|
242
247
|
- generators/client/client_generator.rb
|
248
|
+
- generators/client/README
|
243
249
|
- generators/client/templates/core.js
|
244
250
|
- generators/client/templates/english.lproj/body.css
|
245
251
|
- generators/client/templates/english.lproj/body.rhtml
|
246
252
|
- generators/client/templates/english.lproj/controls.css
|
247
253
|
- generators/client/templates/english.lproj/strings.js
|
248
254
|
- generators/client/templates/main.js
|
249
|
-
- generators/
|
255
|
+
- generators/client/USAGE
|
250
256
|
- generators/controller/controller_generator.rb
|
251
257
|
- generators/controller/templates/controller.js
|
252
258
|
- generators/controller/templates/test.rhtml
|
253
|
-
- generators/
|
254
|
-
- generators/framework/USAGE
|
259
|
+
- generators/controller/USAGE
|
255
260
|
- generators/framework/framework_generator.rb
|
261
|
+
- generators/framework/README
|
256
262
|
- generators/framework/templates/core.js
|
257
263
|
- generators/framework/templates/english.lproj/body.css
|
258
264
|
- generators/framework/templates/english.lproj/body.rhtml
|
259
265
|
- generators/framework/templates/english.lproj/controls.css
|
260
266
|
- generators/framework/templates/english.lproj/strings.js
|
261
|
-
- generators/
|
267
|
+
- generators/framework/USAGE
|
262
268
|
- generators/language/language_generator.rb
|
263
269
|
- generators/language/templates/strings.js
|
264
|
-
- generators/
|
270
|
+
- generators/language/USAGE
|
265
271
|
- generators/model/model_generator.rb
|
266
272
|
- generators/model/templates/fixture.js
|
267
273
|
- generators/model/templates/model.js
|
268
274
|
- generators/model/templates/test.rhtml
|
269
|
-
- generators/
|
275
|
+
- generators/model/USAGE
|
270
276
|
- generators/test/templates/test.rhtml
|
271
277
|
- generators/test/test_generator.rb
|
272
|
-
- generators/
|
278
|
+
- generators/test/USAGE
|
273
279
|
- generators/view/templates/test.rhtml
|
274
280
|
- generators/view/templates/view.js
|
281
|
+
- generators/view/USAGE
|
275
282
|
- generators/view/view_generator.rb
|
276
|
-
-
|
283
|
+
- History.txt
|
277
284
|
- jsdoc/app/DocFile.js
|
278
|
-
- jsdoc/app/DocTag.js
|
279
285
|
- jsdoc/app/Doclet.js
|
286
|
+
- jsdoc/app/DocTag.js
|
280
287
|
- jsdoc/app/Dumper.js
|
288
|
+
- jsdoc/app/js.jar
|
281
289
|
- jsdoc/app/JsDoc.js
|
282
290
|
- jsdoc/app/JsHilite.js
|
283
291
|
- jsdoc/app/JsIO.js
|
@@ -285,13 +293,13 @@ files:
|
|
285
293
|
- jsdoc/app/JsPlate.js
|
286
294
|
- jsdoc/app/JsTestrun.js
|
287
295
|
- jsdoc/app/JsToke.js
|
296
|
+
- jsdoc/app/run.js
|
288
297
|
- jsdoc/app/Symbol.js
|
289
298
|
- jsdoc/app/Transformer.js
|
290
299
|
- jsdoc/app/Util.js
|
291
|
-
- jsdoc/app/js.jar
|
292
|
-
- jsdoc/app/run.js
|
293
300
|
- jsdoc/plugins/min.js
|
294
301
|
- jsdoc/plugins/strip.js
|
302
|
+
- jsdoc/README.txt
|
295
303
|
- jsdoc/templates/sproutcore/class.tmpl
|
296
304
|
- jsdoc/templates/sproutcore/default.css
|
297
305
|
- jsdoc/templates/sproutcore/index.html
|
@@ -299,30 +307,35 @@ files:
|
|
299
307
|
- jsdoc/templates/sproutcore/prototype.js
|
300
308
|
- jsdoc/templates/sproutcore/publish.js
|
301
309
|
- jsdoc/templates/sproutcore/splash.html
|
302
|
-
- lib/sproutcore.rb
|
303
|
-
- lib/sproutcore/build_tools.rb
|
304
310
|
- lib/sproutcore/build_tools/html_builder.rb
|
305
311
|
- lib/sproutcore/build_tools/resource_builder.rb
|
312
|
+
- lib/sproutcore/build_tools.rb
|
306
313
|
- lib/sproutcore/bundle.rb
|
307
314
|
- lib/sproutcore/bundle_manifest.rb
|
308
315
|
- lib/sproutcore/generator_helper.rb
|
309
|
-
- lib/sproutcore/helpers.rb
|
310
316
|
- lib/sproutcore/helpers/capture_helper.rb
|
311
317
|
- lib/sproutcore/helpers/static_helper.rb
|
312
318
|
- lib/sproutcore/helpers/tag_helper.rb
|
313
319
|
- lib/sproutcore/helpers/text_helper.rb
|
320
|
+
- lib/sproutcore/helpers.rb
|
314
321
|
- lib/sproutcore/jsdoc.rb
|
315
322
|
- lib/sproutcore/jsmin.rb
|
316
323
|
- lib/sproutcore/library.rb
|
317
|
-
- lib/sproutcore/merb.rb
|
318
324
|
- lib/sproutcore/merb/bundle_controller.rb
|
319
325
|
- lib/sproutcore/merb/router.rb
|
326
|
+
- lib/sproutcore/merb.rb
|
320
327
|
- lib/sproutcore/version.rb
|
321
|
-
- lib/sproutcore/view_helpers.rb
|
322
328
|
- lib/sproutcore/view_helpers/button_views.rb
|
323
329
|
- lib/sproutcore/view_helpers/core_views.rb
|
324
330
|
- lib/sproutcore/view_helpers/form_views.rb
|
325
331
|
- lib/sproutcore/view_helpers/menu_views.rb
|
332
|
+
- lib/sproutcore/view_helpers.rb
|
333
|
+
- lib/sproutcore.rb
|
334
|
+
- License.txt
|
335
|
+
- Manifest.txt
|
336
|
+
- Rakefile
|
337
|
+
- README.txt
|
338
|
+
- sc-config.rb
|
326
339
|
- script/destroy
|
327
340
|
- script/generate
|
328
341
|
- script/txt2html
|