wee 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. data/ChangeLog +75 -0
  2. data/README +17 -9
  3. data/Rakefile +2 -2
  4. data/TODO +20 -0
  5. data/benchmark/Makefile +14 -9
  6. data/benchmark/counter.rb +11 -30
  7. data/benchmark/report_req.rb +12 -0
  8. data/doc/rdoc/classes/Array.html +12 -12
  9. data/doc/rdoc/classes/Cache/StorageCache.html +38 -38
  10. data/doc/rdoc/classes/Cache/Strategy/CapacityBounded.html +30 -30
  11. data/doc/rdoc/classes/Cache/Strategy/LFU.html +24 -24
  12. data/doc/rdoc/classes/Cache/Strategy/LRU.html +24 -24
  13. data/doc/rdoc/classes/Cache/Strategy/Unbounded.html +24 -24
  14. data/doc/rdoc/classes/Enumerable.html +6 -6
  15. data/doc/rdoc/classes/Object.html +12 -12
  16. data/doc/rdoc/classes/OgApplication.html +126 -0
  17. data/doc/rdoc/classes/OgScaffolder.html +401 -0
  18. data/doc/rdoc/classes/OgSession.html +172 -0
  19. data/doc/rdoc/classes/String.html +12 -12
  20. data/doc/rdoc/classes/Struct.html +12 -12
  21. data/doc/rdoc/classes/Wee.html +5 -62
  22. data/doc/rdoc/classes/Wee/AnswerDecoration.html +9 -9
  23. data/doc/rdoc/classes/Wee/Application.html +107 -39
  24. data/doc/rdoc/classes/Wee/Brush.html +22 -18
  25. data/doc/rdoc/classes/Wee/Brush/ActionCallbackMixin.html +17 -11
  26. data/doc/rdoc/classes/Wee/Brush/ActionURLCallbackMixin.html +18 -10
  27. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +30 -64
  28. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +8 -10
  29. data/doc/rdoc/classes/Wee/Brush/FormTag.html +27 -79
  30. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +12 -12
  31. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +146 -0
  32. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +179 -65
  33. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +12 -12
  34. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +16 -18
  35. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +203 -0
  36. data/doc/rdoc/classes/Wee/Brush/InputCallbackMixin.html +17 -11
  37. data/doc/rdoc/classes/Wee/Brush/InputTag.html +15 -15
  38. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +147 -0
  39. data/doc/rdoc/classes/Wee/Brush/Page.html +17 -17
  40. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +25 -50
  41. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +7 -38
  42. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +7 -7
  43. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +15 -16
  44. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +7 -7
  45. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +65 -50
  46. data/doc/rdoc/classes/Wee/Brush/TableTag.html +7 -7
  47. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +14 -64
  48. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +7 -7
  49. data/doc/rdoc/classes/Wee/Brush/ToCallback.html +146 -0
  50. data/doc/rdoc/classes/Wee/CallbackRegistry.html +40 -40
  51. data/doc/rdoc/classes/Wee/CallbackStream.html +18 -18
  52. data/doc/rdoc/classes/Wee/Canvas.html +24 -24
  53. data/doc/rdoc/classes/Wee/Component.html +232 -149
  54. data/doc/rdoc/classes/Wee/Component/OnAnswer.html +153 -0
  55. data/doc/rdoc/classes/Wee/Decoration.html +42 -42
  56. data/doc/rdoc/classes/Wee/Delegate.html +27 -27
  57. data/doc/rdoc/classes/Wee/ErrorResponse.html +12 -12
  58. data/doc/rdoc/classes/Wee/FormDecoration.html +148 -0
  59. data/doc/rdoc/classes/Wee/GenericResponse.html +6 -6
  60. data/doc/rdoc/classes/Wee/HtmlCanvas.html +296 -215
  61. data/doc/rdoc/classes/Wee/HtmlWriter.html +83 -81
  62. data/doc/rdoc/classes/Wee/LiteralMethodCallback.html +21 -16
  63. data/doc/rdoc/classes/Wee/MessageBox.html +180 -0
  64. data/doc/rdoc/classes/Wee/PageDecoration.html +30 -30
  65. data/doc/rdoc/classes/Wee/Presenter.html +237 -69
  66. data/doc/rdoc/classes/Wee/RedirectResponse.html +6 -6
  67. data/doc/rdoc/classes/Wee/RefreshResponse.html +6 -6
  68. data/doc/rdoc/classes/Wee/Request.html +18 -18
  69. data/doc/rdoc/classes/Wee/RequestHandler.html +43 -39
  70. data/doc/rdoc/classes/Wee/Response.html +24 -24
  71. data/doc/rdoc/classes/Wee/Session.html +746 -72
  72. data/doc/rdoc/classes/Wee/SimpleIdGenerator.html +18 -18
  73. data/doc/rdoc/classes/Wee/Snapshot.html +19 -19
  74. data/doc/rdoc/classes/Wee/Utils.html +138 -2
  75. data/doc/rdoc/classes/Wee/Utils/LRUCache.html +7 -7
  76. data/doc/rdoc/classes/Wee/ValueHolder.html +18 -18
  77. data/doc/rdoc/classes/Wee/WEBrickAdaptor.html +43 -68
  78. data/doc/rdoc/classes/Wee/WrapperDecoration.html +150 -0
  79. data/doc/rdoc/created.rid +1 -1
  80. data/doc/rdoc/files/README.html +29 -15
  81. data/doc/rdoc/files/lib/wee/adaptors/webrick_rb.html +1 -1
  82. data/doc/rdoc/files/lib/wee/application_rb.html +1 -1
  83. data/doc/rdoc/files/lib/wee/components/form_decoration_rb.html +101 -0
  84. data/doc/rdoc/files/lib/wee/components/messagebox_rb.html +101 -0
  85. data/doc/rdoc/files/lib/wee/components/page_decoration_rb.html +1 -1
  86. data/doc/rdoc/files/lib/wee/components/wrapper_decoration_rb.html +101 -0
  87. data/doc/rdoc/files/lib/wee/components_rb.html +4 -1
  88. data/doc/rdoc/files/lib/wee/continuation/core/component_rb.html +101 -0
  89. data/doc/rdoc/files/lib/wee/continuation/session_rb.html +110 -0
  90. data/doc/rdoc/files/lib/wee/continuation_rb.html +116 -0
  91. data/doc/rdoc/files/lib/wee/core/callback_rb.html +1 -1
  92. data/doc/rdoc/files/lib/wee/core/component_rb.html +1 -1
  93. data/doc/rdoc/files/lib/wee/core/presenter_rb.html +1 -1
  94. data/doc/rdoc/files/lib/wee/core_rb.html +3 -3
  95. data/doc/rdoc/files/lib/wee/databases/og_rb.html +108 -0
  96. data/doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html +1 -1
  97. data/doc/rdoc/files/lib/wee/renderer/html/canvas_rb.html +1 -1
  98. data/doc/rdoc/files/lib/wee/renderer/html/writer_rb.html +1 -1
  99. data/doc/rdoc/files/lib/wee/requesthandler_rb.html +1 -1
  100. data/doc/rdoc/files/lib/wee/session_rb.html +1 -2
  101. data/doc/rdoc/files/lib/wee/utils/autoreload_rb.html +1 -1
  102. data/doc/rdoc/files/lib/wee/utils/cache_rb.html +1 -1
  103. data/doc/rdoc/files/lib/wee/utils/helper_rb.html +1 -8
  104. data/doc/rdoc/files/lib/wee/utils_rb.html +110 -0
  105. data/doc/rdoc/files/lib/wee_rb.html +1 -1
  106. data/doc/rdoc/fr_class_index.html +11 -1
  107. data/doc/rdoc/fr_file_index.html +8 -0
  108. data/doc/rdoc/fr_method_index.html +269 -228
  109. data/examples/calculator.rb +69 -0
  110. data/examples/calendar.rb +5 -17
  111. data/examples/example.rb +2 -2
  112. data/examples/hw.rb +17 -0
  113. data/examples/live-update.rb +45 -0
  114. data/examples/og-test.rb +51 -0
  115. data/lib/wee.rb +1 -1
  116. data/lib/wee/adaptors/webrick.rb +2 -0
  117. data/lib/wee/application.rb +16 -0
  118. data/lib/wee/components.rb +3 -0
  119. data/lib/wee/components/form_decoration.rb +7 -0
  120. data/{test → lib/wee}/components/messagebox.rb +1 -1
  121. data/lib/wee/components/page_decoration.rb +5 -5
  122. data/lib/wee/components/wrapper_decoration.rb +7 -0
  123. data/lib/wee/continuation.rb +5 -0
  124. data/lib/wee/continuation/core/component.rb +55 -0
  125. data/lib/wee/continuation/session.rb +217 -0
  126. data/lib/wee/core/callback.rb +11 -6
  127. data/lib/wee/core/component.rb +45 -33
  128. data/lib/wee/core/presenter.rb +68 -0
  129. data/lib/wee/databases/og.rb +114 -0
  130. data/lib/wee/renderer/html/brushes.rb +179 -98
  131. data/lib/wee/renderer/html/canvas.rb +37 -13
  132. data/lib/wee/renderer/html/writer.rb +34 -32
  133. data/lib/wee/requesthandler.rb +6 -3
  134. data/lib/wee/session.rb +73 -54
  135. data/lib/wee/utils.rb +5 -0
  136. data/lib/wee/utils/autoreload.rb +1 -1
  137. data/lib/wee/utils/cache.rb +0 -2
  138. data/lib/wee/utils/helper.rb +40 -8
  139. data/test/components/calltest-cont.rb +16 -0
  140. data/test/components/calltest.rb +15 -10
  141. data/test/stress.rb +31 -28
  142. data/test/stress_and_measure.rb +53 -0
  143. data/test/stressed_application.rb +15 -0
  144. data/test/test_html_writer.rb +9 -4
  145. metadata +236 -195
  146. data/benchmark/bench.sh +0 -24
@@ -0,0 +1,16 @@
1
+ class CallTest < Wee::Component
2
+ def msgbox(msg)
3
+ call Wee::MessageBox.new(msg)
4
+ end
5
+
6
+ def render
7
+ r.anchor.callback {
8
+ if msgbox('A')
9
+ msgbox('B')
10
+ else
11
+ msgbox('C')
12
+ msgbox('D')
13
+ end
14
+ }.with("show")
15
+ end
16
+ end
@@ -1,16 +1,21 @@
1
1
  class CallTest < Wee::Component
2
- def msgbox(msg)
3
- call MessageBox.new(msg)
2
+ def state1
3
+ call Wee::MessageBox.new('A'), :state2
4
+ end
5
+
6
+ def state2(res)
7
+ if res
8
+ call Wee::MessageBox.new('B')
9
+ else
10
+ call Wee::MessageBox.new('C'), :state3
11
+ end
12
+ end
13
+
14
+ def state3(res)
15
+ call Wee::MessageBox.new('D')
4
16
  end
5
17
 
6
18
  def render
7
- r.anchor.callback {
8
- if msgbox('A')
9
- msgbox('B')
10
- else
11
- msgbox('C')
12
- msgbox('D')
13
- end
14
- }.with("show")
19
+ r.anchor.callback(:state1).with("show")
15
20
  end
16
21
  end
data/test/stress.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  $LOAD_PATH.unshift '../lib'
2
2
  require 'wee'
3
- require 'wee/utils/cache'
3
+ require 'wee/utils'
4
4
  require 'wee/adaptors/webrick'
5
5
  require 'utils/webrick_background'
6
6
  require 'utils/memory_plotter'
@@ -8,52 +8,55 @@ require 'utils/object_plotter'
8
8
  require 'utils/cross'
9
9
 
10
10
  require 'rubygems'
11
- require 'web/unit' # require narf-lib
11
+ require 'mechanize' # requires my mechanize gem
12
12
 
13
- require 'components/messagebox'
14
13
  require 'components/calltest'
15
- require 'components/page'
16
-
17
- NUM_SESSIONS = 5
18
14
 
19
- class DummyLog < WEBrick::BasicLog
20
- def initialize() super(self) end
21
- def <<(*args) end
22
- end
15
+ # for stressing continuations use this instead
16
+ #require 'components/calltest-cont'
17
+ #require 'wee/continuation'
23
18
 
24
- class MySession < Wee::Session
25
- def initialize
26
- super do
27
- self.root_component = Page.new(CallTest.new)
28
- self.page_store = Wee::Utils::LRUCache.new(10) # backtrack up to 10 pages
29
- end
30
- end
31
- end
19
+ require 'components/page'
32
20
 
33
- app = Wee::Application.new {|app|
34
- app.default_request_handler { MySession.new }
35
- app.id_generator = Wee::SimpleIdGenerator.new(rand(1_000_000))
36
- }
21
+ NUM_SESSIONS = 1
37
22
 
38
- Wee::WEBrickAdaptor.register('/app' => app).start(:Logger => DummyLog.new, :AccessLog => [])
23
+ app = Wee::Utils.app_for(CallTest, :page_cache_capacity => 1)
24
+ Wee::WEBrickAdaptor.register('/app' => app).start
39
25
 
40
26
  MemoryPlotter.new(5, $$).run
41
27
  ObjectPlotter.new(5, Object, Array, String, Bignum).run
42
28
  ObjectPlotter.new(5, Thread, Continuation, Proc).run
43
29
 
44
- $URLBASE = 'http://localhost:2000'
45
-
46
30
  class StressSession
47
31
  def initialize
48
- @r = Web::Unit::Response.get('/app').redirect.redirect
32
+ @agent = WWW::Mechanize.new {|a|
33
+ a.max_history = 1
34
+ }
35
+ @agent.get('http://localhost:2000/app')
36
+ end
37
+
38
+ def click(val)
39
+ link = @agent.page.links.find {|l| l.node.text == val}
40
+ @agent.click(link)
41
+ end
42
+
43
+ def submit(val)
44
+ form = @agent.page.forms.first
45
+ button = form.buttons.find {|b| b.value == val}
46
+ @agent.submit(form, button)
49
47
  end
50
48
 
51
49
  def step
52
50
  %w(OK Cancel).each {|b|
53
- @r = @r.click('show').redirect.submit('OK').redirect.submit(b).redirect
51
+ click('show')
52
+ submit('OK')
53
+ submit(b)
54
54
  }
55
55
  (%w(OK Cancel) ** %w(OK Cancel)).each { |b1, b2|
56
- @r = @r.click('show').redirect.submit('Cancel').redirect.submit(b1).redirect.submit(b2).redirect
56
+ click('show')
57
+ submit('Cancel')
58
+ submit(b1)
59
+ submit(b2)
57
60
  }
58
61
  end
59
62
  end
@@ -0,0 +1,53 @@
1
+ $LOAD_PATH.unshift '../lib'
2
+
3
+ require 'utils/memory_plotter'
4
+ require 'utils/cross'
5
+
6
+ require 'rubygems'
7
+ require 'mechanize' # requires my mechanize gem
8
+
9
+ Socket.do_not_reverse_lookup = true
10
+
11
+ PID = ARGV.shift || raise
12
+ NUM_SESSIONS = (ARGV.shift || 10).to_i
13
+
14
+ MemoryPlotter.new(5, PID).run
15
+
16
+ class StressSession
17
+ def initialize
18
+ @agent = WWW::Mechanize.new {|a|
19
+ a.max_history = 1
20
+ }
21
+ @agent.get('http://localhost:2000/app')
22
+ end
23
+
24
+ def click(val)
25
+ link = @agent.page.links.find {|l| l.node.text == val}
26
+ @agent.click(link)
27
+ end
28
+
29
+ def submit(val)
30
+ form = @agent.page.forms.first
31
+ button = form.buttons.find {|b| b.value == val}
32
+ @agent.submit(form, button)
33
+ end
34
+
35
+ def step
36
+ %w(OK Cancel).each {|b|
37
+ click('show')
38
+ submit('OK')
39
+ submit(b)
40
+ }
41
+ (%w(OK Cancel) ** %w(OK Cancel)).each { |b1, b2|
42
+ click('show')
43
+ submit('Cancel')
44
+ submit(b1)
45
+ submit(b2)
46
+ }
47
+ end
48
+ end
49
+
50
+ sessions = (1..NUM_SESSIONS).map { StressSession.new }
51
+ loop do
52
+ sessions.each {|s| s.step }
53
+ end
@@ -0,0 +1,15 @@
1
+ $LOAD_PATH.unshift '../lib'
2
+ require 'wee'
3
+ require 'wee/utils'
4
+ require 'wee/adaptors/webrick'
5
+
6
+ require 'components/page'
7
+
8
+ require 'components/calltest'
9
+ # for stressing continuations use this instead
10
+ #require 'components/calltest-cont'
11
+ #require 'wee/continuation'
12
+
13
+ File.open('pid', 'w+') {|f| f.puts $$.to_s }
14
+ app = Wee::Utils.app_for(CallTest, :page_cache_capacity => (ARGV.shift || 10).to_i)
15
+ Wee::WEBrickAdaptor.register('/app' => app).start
@@ -13,15 +13,20 @@ class Test_HtmlWriter < Test::Unit::TestCase
13
13
  w.end_tag('body')
14
14
  w.end_tag('html')
15
15
 
16
- assert_equal true, w.valid?
17
16
  assert_equal '<html><body><a href="http://...">link</a></body></html>', doc
18
17
  end
19
18
 
20
- def test_merge_start_end_tag
19
+ def test_start_end_tag
21
20
  w = Wee::HtmlWriter.new(doc='')
22
21
  w.start_tag('a', 'href' => '')
23
22
  w.end_tag('a')
24
- assert_equal true, w.valid?
25
- assert_equal '<a href=""/>', doc
23
+ assert_equal '<a href=""></a>', doc
26
24
  end
25
+
26
+ def test_single_tag
27
+ w = Wee::HtmlWriter.new(doc='')
28
+ w.single_tag('a', 'href' => '')
29
+ assert_equal '<a href="" />', doc
30
+ end
31
+
27
32
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.4
3
3
  specification_version: 1
4
4
  name: wee
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.0
7
- date: 2005-01-13
6
+ version: 0.5.0
7
+ date: 2005-01-27
8
8
  summary: Wee is a framework for building highly dynamic web applications.
9
9
  require_paths:
10
10
  - lib
@@ -27,241 +27,282 @@ platform: ruby
27
27
  authors:
28
28
  - Michael Neumann
29
29
  files:
30
- - INSTALL
31
- - README
32
- - Rakefile
33
- - TODO
34
- - wee.gemspec
35
- - benchmark
30
+ - test
36
31
  - doc
37
- - examples
38
32
  - lib
39
- - test
40
- - benchmark/Makefile
41
- - benchmark/bench.sh
42
- - benchmark/counter.rb
43
- - benchmark/filehandler.rb
44
- - benchmark/Centrino1300
45
- - benchmark/Centrino600
46
- - benchmark/Centrino1300/result.2000.counter.action
47
- - benchmark/Centrino1300/result.2000.counter.render
48
- - benchmark/Centrino1300/result.2000.filehandler
49
- - benchmark/Centrino600/result.2000.counter.action
50
- - benchmark/Centrino600/result.2000.counter.render
51
- - benchmark/Centrino600/result.2000.filehandler
33
+ - benchmark
34
+ - examples
35
+ - wee.gemspec
36
+ - Rakefile
37
+ - TODO
38
+ - INSTALL
39
+ - ChangeLog
40
+ - README
41
+ - test/utils
42
+ - test/components
43
+ - test/stressed_application.rb
44
+ - test/test_html_canvas.rb
45
+ - test/stress_and_measure.rb
46
+ - test/test_html_writer.rb
47
+ - test/test_component.rb
48
+ - test/stress.rb
49
+ - test/test_request.rb
50
+ - test/utils/webrick_background.rb
51
+ - test/utils/object_plotter.rb
52
+ - test/utils/memory_plotter.rb
53
+ - test/utils/generic_plotter.rb
54
+ - test/utils/gnuplot.rb
55
+ - test/utils/cross.rb
56
+ - test/utils/measure_memory.rb
57
+ - test/components/counter.rb
58
+ - test/components/calltest.rb
59
+ - test/components/page.rb
60
+ - test/components/calltest-cont.rb
52
61
  - doc/rdoc
53
- - doc/rdoc/created.rid
54
- - doc/rdoc/fr_class_index.html
55
- - doc/rdoc/fr_file_index.html
62
+ - doc/rdoc/files
63
+ - doc/rdoc/classes
56
64
  - doc/rdoc/fr_method_index.html
57
- - doc/rdoc/index.html
65
+ - doc/rdoc/fr_file_index.html
58
66
  - doc/rdoc/rdoc-style.css
59
- - doc/rdoc/classes
60
- - doc/rdoc/files
61
- - doc/rdoc/classes/Array.html
62
- - doc/rdoc/classes/Cache.html
63
- - doc/rdoc/classes/Enumerable.html
64
- - doc/rdoc/classes/LiteralMethod.html
65
- - doc/rdoc/classes/Object.html
66
- - doc/rdoc/classes/String.html
67
- - doc/rdoc/classes/Struct.html
68
- - doc/rdoc/classes/Wee.html
69
- - doc/rdoc/classes/Cache
70
- - doc/rdoc/classes/Wee
71
- - doc/rdoc/classes/Cache/StorageCache.html
72
- - doc/rdoc/classes/Cache/Strategy.html
73
- - doc/rdoc/classes/Cache/Strategy
74
- - doc/rdoc/classes/Cache/Strategy/CapacityBounded.html
75
- - doc/rdoc/classes/Cache/Strategy/LFU.html
76
- - doc/rdoc/classes/Cache/Strategy/LRU.html
77
- - doc/rdoc/classes/Cache/Strategy/Unbounded.html
78
- - doc/rdoc/classes/Cache/Strategy/LFU
79
- - doc/rdoc/classes/Cache/Strategy/LRU
80
- - doc/rdoc/classes/Cache/Strategy/Unbounded
81
- - doc/rdoc/classes/Cache/Strategy/LFU/Item.html
82
- - doc/rdoc/classes/Cache/Strategy/LRU/Item.html
83
- - doc/rdoc/classes/Cache/Strategy/Unbounded/Item.html
84
- - doc/rdoc/classes/Wee/AnswerDecoration.html
85
- - doc/rdoc/classes/Wee/Application.html
86
- - doc/rdoc/classes/Wee/Brush.html
87
- - doc/rdoc/classes/Wee/Callback.html
88
- - doc/rdoc/classes/Wee/CallbackRegistry.html
89
- - doc/rdoc/classes/Wee/CallbackStream.html
90
- - doc/rdoc/classes/Wee/Canvas.html
91
- - doc/rdoc/classes/Wee/Component.html
92
- - doc/rdoc/classes/Wee/Context.html
93
- - doc/rdoc/classes/Wee/Decoration.html
94
- - doc/rdoc/classes/Wee/Delegate.html
95
- - doc/rdoc/classes/Wee/ErrorPage.html
96
- - doc/rdoc/classes/Wee/ErrorResponse.html
97
- - doc/rdoc/classes/Wee/GenericResponse.html
98
- - doc/rdoc/classes/Wee/Helper.html
99
- - doc/rdoc/classes/Wee/HtmlCanvas.html
100
- - doc/rdoc/classes/Wee/HtmlWriter.html
101
- - doc/rdoc/classes/Wee/LiteralMethodCallback.html
102
- - doc/rdoc/classes/Wee/Page.html
103
- - doc/rdoc/classes/Wee/MethodCallback.html
104
- - doc/rdoc/classes/Wee/PageDecoration.html
105
- - doc/rdoc/classes/Wee/Presenter.html
106
- - doc/rdoc/classes/Wee/RedirectResponse.html
107
- - doc/rdoc/classes/Wee/RefreshResponse.html
108
- - doc/rdoc/classes/Wee/RenderingContext.html
109
- - doc/rdoc/classes/Wee/Request.html
110
- - doc/rdoc/classes/Wee/RequestHandler.html
111
- - doc/rdoc/classes/Wee/Response.html
112
- - doc/rdoc/classes/Wee/Session.html
113
- - doc/rdoc/classes/Wee/SimpleIdGenerator.html
114
- - doc/rdoc/classes/Wee/Snapshot.html
115
- - doc/rdoc/classes/Wee/StateHolder.html
116
- - doc/rdoc/classes/Wee/StateRegistry.html
117
- - doc/rdoc/classes/Wee/Utils.html
118
- - doc/rdoc/classes/Wee/ValueHolder.html
119
- - doc/rdoc/classes/Wee/WEBrickAdaptor.html
120
- - doc/rdoc/classes/Wee/Brush
121
- - doc/rdoc/classes/Wee/StateRegistry
122
- - doc/rdoc/classes/Wee/Utils
123
- - doc/rdoc/classes/Wee/Brush/ActionCallbackMixin.html
124
- - doc/rdoc/classes/Wee/Brush/ActionMixin.html
125
- - doc/rdoc/classes/Wee/Brush/ActionURLCallbackMixin.html
126
- - doc/rdoc/classes/Wee/Brush/AnchorTag.html
127
- - doc/rdoc/classes/Wee/Brush/AssignMixin.html
128
- - doc/rdoc/classes/Wee/Brush/CallbackMixin.html
129
- - doc/rdoc/classes/Wee/Brush/FileUploadTag.html
130
- - doc/rdoc/classes/Wee/Brush/FormTag.html
131
- - doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html
132
- - doc/rdoc/classes/Wee/Brush/GenericTagBrush.html
133
- - doc/rdoc/classes/Wee/Brush/GenericTextBrush.html
134
- - doc/rdoc/classes/Wee/Brush/ImageButtonTag.html
135
- - doc/rdoc/classes/Wee/Brush/InputCallbackMixin.html
136
- - doc/rdoc/classes/Wee/Brush/InputTag.html
137
- - doc/rdoc/classes/Wee/Brush/Page.html
138
- - doc/rdoc/classes/Wee/Brush/SelectListTag.html
139
- - doc/rdoc/classes/Wee/Brush/SelectOptionTag.html
140
- - doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html
141
- - doc/rdoc/classes/Wee/Brush/TableDataTag.html
142
- - doc/rdoc/classes/Wee/Brush/TableHeaderTag.html
143
- - doc/rdoc/classes/Wee/Brush/TableRowTag.html
144
- - doc/rdoc/classes/Wee/Brush/TableTag.html
145
- - doc/rdoc/classes/Wee/Brush/TextAreaTag.html
146
- - doc/rdoc/classes/Wee/Brush/TextInputTag.html
147
- - doc/rdoc/classes/Wee/StateRegistry/Snapshot.html
148
- - doc/rdoc/classes/Wee/StateRegistry/WithObject.html
149
- - doc/rdoc/classes/Wee/Utils/LRUCache.html
67
+ - doc/rdoc/created.rid
68
+ - doc/rdoc/index.html
69
+ - doc/rdoc/fr_class_index.html
70
+ - doc/rdoc/files/lib
150
71
  - doc/rdoc/files/INSTALL.html
151
72
  - doc/rdoc/files/README.html
152
- - doc/rdoc/files/lib
153
- - doc/rdoc/files/lib/wee_rb.html
154
- - doc/rdoc/files/lib/cache
155
73
  - doc/rdoc/files/lib/wee
156
- - doc/rdoc/files/lib/cache/cache_rb.html
157
- - doc/rdoc/files/lib/wee/application_rb.html
74
+ - doc/rdoc/files/lib/cache
75
+ - doc/rdoc/files/lib/wee_rb.html
76
+ - doc/rdoc/files/lib/wee/components
77
+ - doc/rdoc/files/lib/wee/core
78
+ - doc/rdoc/files/lib/wee/renderer
79
+ - doc/rdoc/files/lib/wee/continuation
80
+ - doc/rdoc/files/lib/wee/adaptors
81
+ - doc/rdoc/files/lib/wee/rendering
82
+ - doc/rdoc/files/lib/wee/databases
83
+ - doc/rdoc/files/lib/wee/utils
84
+ - doc/rdoc/files/lib/wee/snapshot_ext_rb.html
158
85
  - doc/rdoc/files/lib/wee/callback_rb.html
159
- - doc/rdoc/files/lib/wee/component_ext_rb.html
86
+ - doc/rdoc/files/lib/wee/snapshot_rb.html
87
+ - doc/rdoc/files/lib/wee/utils_rb.html
160
88
  - doc/rdoc/files/lib/wee/component_rb.html
89
+ - doc/rdoc/files/lib/wee/page_rb.html
90
+ - doc/rdoc/files/lib/wee/component_ext_rb.html
161
91
  - doc/rdoc/files/lib/wee/components_rb.html
162
- - doc/rdoc/files/lib/wee/context_rb.html
163
92
  - doc/rdoc/files/lib/wee/core_rb.html
164
- - doc/rdoc/files/lib/wee/decoration_rb.html
165
- - doc/rdoc/files/lib/wee/holder_rb.html
93
+ - doc/rdoc/files/lib/wee/response_rb.html
166
94
  - doc/rdoc/files/lib/wee/html_canvas_rb.html
167
95
  - doc/rdoc/files/lib/wee/html_writer_rb.html
168
- - doc/rdoc/files/lib/wee/idgen_rb.html
169
- - doc/rdoc/files/lib/wee/page_rb.html
96
+ - doc/rdoc/files/lib/wee/application_rb.html
170
97
  - doc/rdoc/files/lib/wee/presenter_rb.html
171
- - doc/rdoc/files/lib/wee/request_rb.html
172
- - doc/rdoc/files/lib/wee/requesthandler_rb.html
173
- - doc/rdoc/files/lib/wee/response_rb.html
174
- - doc/rdoc/files/lib/wee/session_rb.html
175
- - doc/rdoc/files/lib/wee/snapshot_ext_rb.html
176
- - doc/rdoc/files/lib/wee/snapshot_rb.html
177
98
  - doc/rdoc/files/lib/wee/state_registry_rb.html
178
- - doc/rdoc/files/lib/wee/stuff_rb.html
99
+ - doc/rdoc/files/lib/wee/continuation_rb.html
100
+ - doc/rdoc/files/lib/wee/holder_rb.html
101
+ - doc/rdoc/files/lib/wee/session_rb.html
102
+ - doc/rdoc/files/lib/wee/context_rb.html
103
+ - doc/rdoc/files/lib/wee/requesthandler_rb.html
104
+ - doc/rdoc/files/lib/wee/idgen_rb.html
179
105
  - doc/rdoc/files/lib/wee/webrick_rb.html
180
- - doc/rdoc/files/lib/wee/adaptors
181
- - doc/rdoc/files/lib/wee/components
182
- - doc/rdoc/files/lib/wee/core
183
- - doc/rdoc/files/lib/wee/renderer
184
- - doc/rdoc/files/lib/wee/rendering
185
- - doc/rdoc/files/lib/wee/utils
186
- - doc/rdoc/files/lib/wee/adaptors/webrick_rb.html
106
+ - doc/rdoc/files/lib/wee/decoration_rb.html
107
+ - doc/rdoc/files/lib/wee/stuff_rb.html
108
+ - doc/rdoc/files/lib/wee/request_rb.html
109
+ - doc/rdoc/files/lib/wee/components/wrapper_decoration_rb.html
110
+ - doc/rdoc/files/lib/wee/components/form_decoration_rb.html
111
+ - doc/rdoc/files/lib/wee/components/messagebox_rb.html
187
112
  - doc/rdoc/files/lib/wee/components/page_decoration_rb.html
113
+ - doc/rdoc/files/lib/wee/core/valueholder_rb.html
188
114
  - doc/rdoc/files/lib/wee/core/callback_rb.html
115
+ - doc/rdoc/files/lib/wee/core/snapshot_rb.html
189
116
  - doc/rdoc/files/lib/wee/core/component_rb.html
190
- - doc/rdoc/files/lib/wee/core/decoration_rb.html
191
117
  - doc/rdoc/files/lib/wee/core/presenter_rb.html
192
- - doc/rdoc/files/lib/wee/core/snapshot_rb.html
193
- - doc/rdoc/files/lib/wee/core/valueholder_rb.html
118
+ - doc/rdoc/files/lib/wee/core/decoration_rb.html
194
119
  - doc/rdoc/files/lib/wee/renderer/html
195
- - doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html
196
120
  - doc/rdoc/files/lib/wee/renderer/html/canvas_rb.html
121
+ - doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html
197
122
  - doc/rdoc/files/lib/wee/renderer/html/writer_rb.html
123
+ - doc/rdoc/files/lib/wee/continuation/core
124
+ - doc/rdoc/files/lib/wee/continuation/session_rb.html
125
+ - doc/rdoc/files/lib/wee/continuation/core/component_rb.html
126
+ - doc/rdoc/files/lib/wee/adaptors/webrick_rb.html
198
127
  - doc/rdoc/files/lib/wee/rendering/html
199
128
  - doc/rdoc/files/lib/wee/rendering/html/brushes_rb.html
200
129
  - doc/rdoc/files/lib/wee/rendering/html/canvas_rb.html
201
130
  - doc/rdoc/files/lib/wee/rendering/html/writer_rb.html
131
+ - doc/rdoc/files/lib/wee/databases/og_rb.html
202
132
  - doc/rdoc/files/lib/wee/utils/autoreload_rb.html
203
- - doc/rdoc/files/lib/wee/utils/cache_rb.html
204
133
  - doc/rdoc/files/lib/wee/utils/helper_rb.html
205
- - examples/ObjectSpaceBrowser.rb
206
- - examples/calendar.rb
207
- - examples/cc.rb
208
- - examples/draw.rb
209
- - examples/example.rb
210
- - examples/test.rb
211
- - examples/window.rb
212
- - lib/wee.rb
213
- - lib/cache
134
+ - doc/rdoc/files/lib/wee/utils/cache_rb.html
135
+ - doc/rdoc/files/lib/cache/cache_rb.html
136
+ - doc/rdoc/classes/Wee
137
+ - doc/rdoc/classes/Cache
138
+ - doc/rdoc/classes/LiteralMethod.html
139
+ - doc/rdoc/classes/Array.html
140
+ - doc/rdoc/classes/OgScaffolder.html
141
+ - doc/rdoc/classes/Enumerable.html
142
+ - doc/rdoc/classes/Wee.html
143
+ - doc/rdoc/classes/Cache.html
144
+ - doc/rdoc/classes/Struct.html
145
+ - doc/rdoc/classes/String.html
146
+ - doc/rdoc/classes/Object.html
147
+ - doc/rdoc/classes/OgSession.html
148
+ - doc/rdoc/classes/OgApplication.html
149
+ - doc/rdoc/classes/Wee/Utils
150
+ - doc/rdoc/classes/Wee/Component
151
+ - doc/rdoc/classes/Wee/StateRegistry
152
+ - doc/rdoc/classes/Wee/Brush
153
+ - doc/rdoc/classes/Wee/Session.html
154
+ - doc/rdoc/classes/Wee/Page.html
155
+ - doc/rdoc/classes/Wee/Helper.html
156
+ - doc/rdoc/classes/Wee/SimpleIdGenerator.html
157
+ - doc/rdoc/classes/Wee/RefreshResponse.html
158
+ - doc/rdoc/classes/Wee/GenericResponse.html
159
+ - doc/rdoc/classes/Wee/PageDecoration.html
160
+ - doc/rdoc/classes/Wee/RequestHandler.html
161
+ - doc/rdoc/classes/Wee/Decoration.html
162
+ - doc/rdoc/classes/Wee/AnswerDecoration.html
163
+ - doc/rdoc/classes/Wee/MessageBox.html
164
+ - doc/rdoc/classes/Wee/Response.html
165
+ - doc/rdoc/classes/Wee/Snapshot.html
166
+ - doc/rdoc/classes/Wee/HtmlWriter.html
167
+ - doc/rdoc/classes/Wee/WEBrickAdaptor.html
168
+ - doc/rdoc/classes/Wee/RedirectResponse.html
169
+ - doc/rdoc/classes/Wee/CallbackStream.html
170
+ - doc/rdoc/classes/Wee/StateRegistry.html
171
+ - doc/rdoc/classes/Wee/Delegate.html
172
+ - doc/rdoc/classes/Wee/ValueHolder.html
173
+ - doc/rdoc/classes/Wee/FormDecoration.html
174
+ - doc/rdoc/classes/Wee/Canvas.html
175
+ - doc/rdoc/classes/Wee/StateHolder.html
176
+ - doc/rdoc/classes/Wee/LiteralMethodCallback.html
177
+ - doc/rdoc/classes/Wee/RenderingContext.html
178
+ - doc/rdoc/classes/Wee/Brush.html
179
+ - doc/rdoc/classes/Wee/Context.html
180
+ - doc/rdoc/classes/Wee/CallbackRegistry.html
181
+ - doc/rdoc/classes/Wee/ErrorPage.html
182
+ - doc/rdoc/classes/Wee/WrapperDecoration.html
183
+ - doc/rdoc/classes/Wee/Request.html
184
+ - doc/rdoc/classes/Wee/Callback.html
185
+ - doc/rdoc/classes/Wee/MethodCallback.html
186
+ - doc/rdoc/classes/Wee/Utils.html
187
+ - doc/rdoc/classes/Wee/HtmlCanvas.html
188
+ - doc/rdoc/classes/Wee/Component.html
189
+ - doc/rdoc/classes/Wee/Application.html
190
+ - doc/rdoc/classes/Wee/Presenter.html
191
+ - doc/rdoc/classes/Wee/ErrorResponse.html
192
+ - doc/rdoc/classes/Wee/Utils/LRUCache.html
193
+ - doc/rdoc/classes/Wee/Component/OnAnswer.html
194
+ - doc/rdoc/classes/Wee/StateRegistry/Snapshot.html
195
+ - doc/rdoc/classes/Wee/StateRegistry/WithObject.html
196
+ - doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html
197
+ - doc/rdoc/classes/Wee/Brush/GenericTagBrush.html
198
+ - doc/rdoc/classes/Wee/Brush/Page.html
199
+ - doc/rdoc/classes/Wee/Brush/TableDataTag.html
200
+ - doc/rdoc/classes/Wee/Brush/ImageTag.html
201
+ - doc/rdoc/classes/Wee/Brush/InputCallbackMixin.html
202
+ - doc/rdoc/classes/Wee/Brush/FileUploadTag.html
203
+ - doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html
204
+ - doc/rdoc/classes/Wee/Brush/ActionURLCallbackMixin.html
205
+ - doc/rdoc/classes/Wee/Brush/ActionMixin.html
206
+ - doc/rdoc/classes/Wee/Brush/TableTag.html
207
+ - doc/rdoc/classes/Wee/Brush/GenericTextBrush.html
208
+ - doc/rdoc/classes/Wee/Brush/AssignMixin.html
209
+ - doc/rdoc/classes/Wee/Brush/InputTag.html
210
+ - doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html
211
+ - doc/rdoc/classes/Wee/Brush/TableHeaderTag.html
212
+ - doc/rdoc/classes/Wee/Brush/FormTag.html
213
+ - doc/rdoc/classes/Wee/Brush/ActionCallbackMixin.html
214
+ - doc/rdoc/classes/Wee/Brush/ToCallback.html
215
+ - doc/rdoc/classes/Wee/Brush/TextInputTag.html
216
+ - doc/rdoc/classes/Wee/Brush/CallbackMixin.html
217
+ - doc/rdoc/classes/Wee/Brush/JavascriptTag.html
218
+ - doc/rdoc/classes/Wee/Brush/SelectOptionTag.html
219
+ - doc/rdoc/classes/Wee/Brush/AnchorTag.html
220
+ - doc/rdoc/classes/Wee/Brush/SelectListTag.html
221
+ - doc/rdoc/classes/Wee/Brush/TextAreaTag.html
222
+ - doc/rdoc/classes/Wee/Brush/ImageButtonTag.html
223
+ - doc/rdoc/classes/Wee/Brush/TableRowTag.html
224
+ - doc/rdoc/classes/Cache/Strategy
225
+ - doc/rdoc/classes/Cache/StorageCache.html
226
+ - doc/rdoc/classes/Cache/Strategy.html
227
+ - doc/rdoc/classes/Cache/Strategy/LRU
228
+ - doc/rdoc/classes/Cache/Strategy/Unbounded
229
+ - doc/rdoc/classes/Cache/Strategy/LFU
230
+ - doc/rdoc/classes/Cache/Strategy/CapacityBounded.html
231
+ - doc/rdoc/classes/Cache/Strategy/LRU.html
232
+ - doc/rdoc/classes/Cache/Strategy/Unbounded.html
233
+ - doc/rdoc/classes/Cache/Strategy/LFU.html
234
+ - doc/rdoc/classes/Cache/Strategy/LRU/Item.html
235
+ - doc/rdoc/classes/Cache/Strategy/Unbounded/Item.html
236
+ - doc/rdoc/classes/Cache/Strategy/LFU/Item.html
214
237
  - lib/wee
215
- - lib/cache/cache.rb
216
- - lib/wee/application.rb
217
- - lib/wee/components.rb
238
+ - lib/cache
239
+ - lib/wee.rb
240
+ - lib/wee/components
241
+ - lib/wee/databases
242
+ - lib/wee/core
243
+ - lib/wee/utils
244
+ - lib/wee/renderer
245
+ - lib/wee/continuation
246
+ - lib/wee/adaptors
247
+ - lib/wee/requesthandler.rb
248
+ - lib/wee/snapshot_ext.rb
249
+ - lib/wee/session.rb
218
250
  - lib/wee/context.rb
219
- - lib/wee/core.rb
251
+ - lib/wee/components.rb
220
252
  - lib/wee/idgen.rb
221
- - lib/wee/page.rb
222
253
  - lib/wee/request.rb
223
- - lib/wee/requesthandler.rb
254
+ - lib/wee/core.rb
255
+ - lib/wee/application.rb
224
256
  - lib/wee/response.rb
225
- - lib/wee/session.rb
226
- - lib/wee/snapshot_ext.rb
227
- - lib/wee/adaptors
228
- - lib/wee/components
229
- - lib/wee/core
230
- - lib/wee/renderer
231
- - lib/wee/utils
232
- - lib/wee/adaptors/webrick.rb
257
+ - lib/wee/utils.rb
258
+ - lib/wee/continuation.rb
259
+ - lib/wee/page.rb
233
260
  - lib/wee/components/page_decoration.rb
234
- - lib/wee/core/callback.rb
261
+ - lib/wee/components/messagebox.rb
262
+ - lib/wee/components/wrapper_decoration.rb
263
+ - lib/wee/components/form_decoration.rb
264
+ - lib/wee/databases/og.rb
235
265
  - lib/wee/core/component.rb
236
- - lib/wee/core/decoration.rb
237
- - lib/wee/core/presenter.rb
238
266
  - lib/wee/core/snapshot.rb
267
+ - lib/wee/core/presenter.rb
268
+ - lib/wee/core/decoration.rb
239
269
  - lib/wee/core/valueholder.rb
270
+ - lib/wee/core/callback.rb
271
+ - lib/wee/utils/autoreload.rb
272
+ - lib/wee/utils/helper.rb
273
+ - lib/wee/utils/cache.rb
240
274
  - lib/wee/renderer/html
241
- - lib/wee/renderer/html/brushes.rb
242
275
  - lib/wee/renderer/html/canvas.rb
276
+ - lib/wee/renderer/html/brushes.rb
243
277
  - lib/wee/renderer/html/writer.rb
244
- - lib/wee/utils/autoreload.rb
245
- - lib/wee/utils/cache.rb
246
- - lib/wee/utils/helper.rb
247
- - test/stress.rb
248
- - test/test_component.rb
249
- - test/test_html_canvas.rb
250
- - test/test_html_writer.rb
251
- - test/test_request.rb
252
- - test/components
253
- - test/utils
254
- - test/components/calltest.rb
255
- - test/components/counter.rb
256
- - test/components/messagebox.rb
257
- - test/components/page.rb
258
- - test/utils/cross.rb
259
- - test/utils/generic_plotter.rb
260
- - test/utils/gnuplot.rb
261
- - test/utils/measure_memory.rb
262
- - test/utils/memory_plotter.rb
263
- - test/utils/object_plotter.rb
264
- - test/utils/webrick_background.rb
278
+ - lib/wee/continuation/core
279
+ - lib/wee/continuation/session.rb
280
+ - lib/wee/continuation/core/component.rb
281
+ - lib/wee/adaptors/webrick.rb
282
+ - lib/cache/cache.rb
283
+ - benchmark/Centrino1300
284
+ - benchmark/Centrino600
285
+ - benchmark/filehandler.rb
286
+ - benchmark/counter.rb
287
+ - benchmark/report_req.rb
288
+ - benchmark/Makefile
289
+ - benchmark/Centrino1300/result.2000.counter.action
290
+ - benchmark/Centrino1300/result.2000.counter.render
291
+ - benchmark/Centrino1300/result.2000.filehandler
292
+ - benchmark/Centrino600/result.2000.counter.action
293
+ - benchmark/Centrino600/result.2000.filehandler
294
+ - benchmark/Centrino600/result.2000.counter.render
295
+ - examples/og-test.rb
296
+ - examples/draw.rb
297
+ - examples/hw.rb
298
+ - examples/test.rb
299
+ - examples/live-update.rb
300
+ - examples/window.rb
301
+ - examples/cc.rb
302
+ - examples/ObjectSpaceBrowser.rb
303
+ - examples/calculator.rb
304
+ - examples/calendar.rb
305
+ - examples/example.rb
265
306
  test_files: []
266
307
  rdoc_options: []
267
308
  extra_rdoc_files: []