old_sql 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. data/README.md +24 -13
  2. data/app/controllers/old_sql/report_controller.rb +3 -17
  3. data/app/views/layouts/old_sql/chart.html.erb +11 -0
  4. data/app/views/old_sql/report/chart.html.erb +8 -25
  5. data/lib/generators/old_sql/templates/user_design_template.csv +2 -3
  6. data/lib/generators/old_sql/templates/user_old_sql_demo_chart_design.yml +18 -9
  7. data/lib/old_sql/report_design/chart.rb +2 -2
  8. data/lib/old_sql/report_design/chart_item.rb +4 -4
  9. data/lib/old_sql/report_design/chart_parser.rb +2 -2
  10. data/public/javascripts/old_sql/chart.js +33 -0
  11. metadata +5 -265
  12. data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +0 -362
  13. data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +0 -69
  14. data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +0 -179
  15. data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +0 -17
  16. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +0 -814
  17. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +0 -1703
  18. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +0 -755
  19. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +0 -1197
  20. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +0 -168
  21. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +0 -187
  22. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +0 -300
  23. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +0 -524
  24. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +0 -420
  25. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +0 -142
  26. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +0 -38
  27. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +0 -240
  28. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +0 -508
  29. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +0 -244
  30. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +0 -385
  31. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +0 -384
  32. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +0 -1161
  33. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +0 -447
  34. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +0 -113
  35. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +0 -767
  36. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +0 -1445
  37. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +0 -651
  38. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +0 -1143
  39. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +0 -145
  40. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +0 -197
  41. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +0 -258
  42. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +0 -454
  43. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +0 -348
  44. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +0 -128
  45. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +0 -26
  46. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +0 -203
  47. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +0 -498
  48. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +0 -186
  49. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +0 -353
  50. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +0 -362
  51. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +0 -895
  52. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +0 -83
  53. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +0 -69
  54. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +0 -401
  55. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +0 -10
  56. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +0 -40
  57. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +0 -96
  58. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +0 -4
  59. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +0 -95
  60. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +0 -31
  61. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +0 -23
  62. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dropmarker.png +0 -0
  63. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/icon.png +0 -0
  64. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/index.html +0 -54
  65. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +0 -150
  66. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +0 -42
  67. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +0 -90
  68. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +0 -29
  69. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +0 -38
  70. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +0 -189
  71. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +0 -28
  72. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +0 -73
  73. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +0 -38
  74. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +0 -36
  75. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +0 -65
  76. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +0 -31
  77. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +0 -18
  78. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +0 -61
  79. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +0 -38
  80. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +0 -67
  81. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +0 -67
  82. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +0 -30
  83. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +0 -483
  84. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +0 -62
  85. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +0 -71
  86. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/icon.png +0 -0
  87. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/index.html +0 -150
  88. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +0 -88
  89. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +0 -54
  90. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +0 -373
  91. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +0 -78
  92. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +0 -5
  93. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +0 -85
  94. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +0 -46
  95. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +0 -78
  96. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +0 -11
  97. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +0 -74
  98. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +0 -73
  99. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +0 -125
  100. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +0 -88
  101. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +0 -17
  102. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +0 -59
  103. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +0 -28
  104. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +0 -3
  105. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +0 -19
  106. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +0 -45
  107. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +0 -119
  108. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +0 -40
  109. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +0 -43
  110. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +0 -91
  111. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +0 -54
  112. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +0 -93
  113. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +0 -64
  114. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +0 -71
  115. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +0 -66
  116. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +0 -203
  117. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +0 -177
  118. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +0 -339
  119. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +0 -30
  120. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +0 -31
  121. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +0 -22
  122. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +0 -23
  123. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +0 -71
  124. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +0 -40
  125. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +0 -29
  126. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +0 -61
  127. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +0 -622
  128. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +0 -1
  129. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +0 -19
  130. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +0 -70
  131. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/bg_docheader.gif +0 -0
  132. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_bullet.gif +0 -0
  133. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_logo_doc.gif +0 -0
  134. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/documentation.css +0 -130
  135. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +0 -48
  136. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +0 -682
  137. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +0 -1489
  138. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +0 -863
  139. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +0 -1256
  140. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +0 -222
  141. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +0 -793
  142. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +0 -304
  143. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +0 -844
  144. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +0 -315
  145. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +0 -353
  146. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +0 -188
  147. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +0 -115
  148. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +0 -236
  149. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +0 -415
  150. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +0 -897
  151. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +0 -589
  152. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +0 -594
  153. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +0 -162
  154. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +0 -2026
  155. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +0 -18
  156. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +0 -7829
  157. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +0 -6
  158. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +0 -251
  159. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +0 -40
  160. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +0 -381
  161. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +0 -159
  162. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +0 -28
  163. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +0 -6
  164. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +0 -25
  165. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +0 -16
  166. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +0 -577
  167. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +0 -137
  168. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +0 -52
  169. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +0 -30
  170. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +0 -89
  171. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +0 -186
  172. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +0 -88
  173. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +0 -408
  174. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +0 -1
  175. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +0 -34
  176. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +0 -84
  177. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +0 -48
  178. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +0 -363
  179. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +0 -39
  180. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +0 -54
  181. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +0 -39
  182. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +0 -38
  183. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +0 -32
  184. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +0 -40
  185. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +0 -18
  186. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +0 -295
  187. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +0 -43
  188. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +0 -223
  189. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +0 -197
  190. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +0 -481
  191. data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +0 -28
  192. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +0 -406
  193. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +0 -683
  194. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +0 -161
  195. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +0 -756
  196. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +0 -151
  197. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +0 -2177
  198. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +0 -705
  199. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +0 -348
  200. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +0 -247
  201. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +0 -9
  202. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +0 -723
  203. data/public/javascripts/old_sql/plotkit-0.9.1/README +0 -1
  204. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +0 -2
  205. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +0 -2
  206. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +0 -302
  207. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +0 -139
  208. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +0 -172
  209. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +0 -81
  210. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +0 -155
  211. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +0 -50
  212. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +0 -428
  213. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +0 -330
  214. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +0 -368
  215. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +0 -256
  216. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +0 -436
  217. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +0 -299
  218. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +0 -159
  219. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +0 -64
  220. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +0 -131
  221. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +0 -34
  222. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +0 -131
  223. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +0 -34
  224. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +0 -334
  225. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +0 -151
  226. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +0 -304
  227. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +0 -144
  228. data/public/javascripts/old_sql/plotkit-0.9.1/doc/barsample.png +0 -0
  229. data/public/javascripts/old_sql/plotkit-0.9.1/doc/black.png +0 -0
  230. data/public/javascripts/old_sql/plotkit-0.9.1/doc/blue.png +0 -0
  231. data/public/javascripts/old_sql/plotkit-0.9.1/doc/cyan.png +0 -0
  232. data/public/javascripts/old_sql/plotkit-0.9.1/doc/doc.css +0 -62
  233. data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +0 -37
  234. data/public/javascripts/old_sql/plotkit-0.9.1/doc/green.png +0 -0
  235. data/public/javascripts/old_sql/plotkit-0.9.1/doc/orange.png +0 -0
  236. data/public/javascripts/old_sql/plotkit-0.9.1/doc/piesample.png +0 -0
  237. data/public/javascripts/old_sql/plotkit-0.9.1/doc/purple.png +0 -0
  238. data/public/javascripts/old_sql/plotkit-0.9.1/doc/red.png +0 -0
  239. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/custom_rhino.jar +0 -0
  240. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/pack.py +0 -58
  241. data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +0 -31
  242. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +0 -25
  243. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +0 -143
  244. data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +0 -56
  245. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +0 -58
  246. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +0 -133
  247. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +0 -57
  248. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +0 -136
  249. data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +0 -161
  250. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/firefox.png +0 -0
  251. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/konqueror.png +0 -0
  252. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/mozilla.ico +0 -0
  253. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/msie.gif +0 -0
  254. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/opera.ico +0 -0
  255. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/safari.gif +0 -0
  256. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels-img.html +0 -38
  257. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +0 -43
  258. data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +0 -28
  259. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +0 -29
  260. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +0 -53
  261. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +0 -29
  262. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +0 -61
  263. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +0 -57
  264. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +0 -6
  265. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +0 -29
  266. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +0 -141
  267. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +0 -26
  268. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +0 -147
  269. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +0 -24
  270. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +0 -89
  271. data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +0 -66
  272. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +0 -20
  273. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +0 -31
@@ -1,447 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
- <meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
8
- <title>MochiKit Documentation Index</title>
9
-
10
- <link rel="stylesheet" href="../../../include/css/documentation.css" type="text/css" />
11
- <script type="text/javascript" src="../../../packed/lib/MochiKit/MochiKit.js"></script>
12
- <script type="text/javascript" src="../../js/toc.js"></script>
13
- </head>
14
- <body>
15
- <a href="http://mochikit.com"><img id="mainlink" src="../../../include/_img/g_logo_doc.gif" alt="MochiKit" /></a>
16
-
17
- <div class="document">
18
- <div class="section">
19
- <h1><a id="distribution" name="distribution">Distribution</a></h1>
20
- <p>MochiKit - makes JavaScript suck a bit less</p>
21
- <ul class="simple">
22
- <li><a class="mochiref reference" href="Async.html">MochiKit.Async</a> - manage asynchronous tasks</li>
23
- <li><a class="mochiref reference" href="Base.html">MochiKit.Base</a> - functional programming and useful comparisons</li>
24
- <li><a class="mochiref reference" href="DOM.html">MochiKit.DOM</a> - painless DOM manipulation API</li>
25
- <li><a class="mochiref reference" href="DragAndDrop.html">MochiKit.DragAndDrop</a> - drag and drop</li>
26
- <li><a class="mochiref reference" href="Color.html">MochiKit.Color</a> - color abstraction with CSS3 support</li>
27
- <li><a class="mochiref reference" href="DateTime.html">MochiKit.DateTime</a> - &quot;what time is it anyway?&quot;</li>
28
- <li><a class="mochiref reference" href="Format.html">MochiKit.Format</a> - string formatting goes here</li>
29
- <li><a class="mochiref reference" href="Iter.html">MochiKit.Iter</a> - itertools for JavaScript; iteration made HARD,
30
- and then easy</li>
31
- <li><a class="mochiref reference" href="Logging.html">MochiKit.Logging</a> - we're all tired of <tt class="docutils literal"><span class="pre">alert()</span></tt></li>
32
- <li><a class="mochiref reference" href="LoggingPane.html">MochiKit.LoggingPane</a> - interactive <a class="mochiref reference" href="Logging.html">MochiKit.Logging</a>
33
- pane</li>
34
- <li><a class="mochiref reference" href="Selector.html">MochiKit.Selector</a> - selecting elements by CSS selector syntax</li>
35
- <li><a class="mochiref reference" href="Signal.html">MochiKit.Signal</a> - simple universal event handling</li>
36
- <li><a class="mochiref reference" href="Style.html">MochiKit.Style</a> - painless CSS manipulation API</li>
37
- <li><a class="mochiref reference" href="Sortable.html">MochiKit.Sortable</a> - sortable</li>
38
- <li><a class="mochiref reference" href="Visual.html">MochiKit.Visual</a> - visual effects</li>
39
- </ul>
40
- </div>
41
- <div class="section">
42
- <h1><a id="notes" name="notes">Notes</a></h1>
43
- <p>To turn off MochiKit's export feature (which may be necessary for
44
- compatibility with some existing code), do this before loading
45
- MochiKit:</p>
46
- <pre class="literal-block">
47
- &lt;script type=&quot;text/javascript&quot;&gt;MochiKit = {__export__: false};&lt;/script&gt;
48
- </pre>
49
- <p>When export mode is off, you must use fully qualified names for
50
- all MochiKit functions (e.g. <tt class="docutils literal"><span class="pre">MochiKit.Base.map(...)</span></tt>).</p>
51
- </div>
52
- <div class="section">
53
- <h1><a id="screencasts" name="screencasts">Screencasts</a></h1>
54
- <ul class="simple">
55
- <li><a class="reference" href="http://mochikit.com/screencasts/MochiKit_Intro-1">MochiKit 1.1 Intro</a></li>
56
- </ul>
57
- </div>
58
- <div class="section">
59
- <h1><a id="see-also" name="see-also">See Also</a></h1>
60
- <ul class="simple">
61
- <li><a class="reference" href="http://groups.google.com/group/mochikit">Google Groups: MochiKit</a>: The official mailing list for discussions
62
- related to development of and with MochiKit</li>
63
- <li><a class="reference" href="http://mochikit.com/">mochikit.com</a>: MochiKit's home on the web</li>
64
- <li><a class="reference" href="http://bob.pythonmac.org/">from __future__ import *</a>: Bob Ippolito's blog</li>
65
- <li><a class="reference" href="http://trac.mochikit.com/wiki/HowToUseWithDojo">MochiKit and Dojo</a>: information for using MochiKit with Dojo Toolkit</li>
66
- <li><a class="reference" href="http://openjsan.org/doc/b/bo/bob/lib/MochiKit/">MochiKit on JSAN</a>: the JSAN distribution page for MochiKit</li>
67
- <li><a class="reference" href="http://del.icio.us/tag/mochikit">MochiKit tag on del.icio.us</a>: Recent bookmarks related to MochiKit</li>
68
- <li><a class="reference" href="http://technorati.com/tag/mochikit">MochiKit tag on Technorati</a>: Recent blog entries related to MochiKit</li>
69
- </ul>
70
- </div>
71
- <div class="section">
72
- <h1><a id="version-history" name="version-history">Version History</a></h1>
73
- <p>2008-11-27 v1.4.2 (bug fix release)</p>
74
- <ul class="simple">
75
- <li>Changed default packed version to contain all modules (since easy
76
- customization is now available).</li>
77
- <li>More fixes in MochiKit.Style.getElementDimensions for IE and hidden
78
- elements (#325).</li>
79
- <li>Fixed issue in MochiKit.Style.getViewportDimensions when called within the
80
- document HEAD.</li>
81
- <li>Fixed MochiKit.DOM.coerceToDOM() handling of arrays when MochiKit.Iter
82
- is not loaded (#328).</li>
83
- </ul>
84
- <p>2008-11-02 v1.4.1 (bug fix release)</p>
85
- <ul class="simple">
86
- <li>Added export of deprecated MochiKit.DOM.computedStyle function (#324).</li>
87
- <li>Fixed issue in MochiKit.Style.getElementDimensions when elements are
88
- hidden due to CSS class definitions (#325).</li>
89
- <li>Moved makePositioned, undoPositioned, makeClipping and undoClipping
90
- from MochiKit.DOM to MochiKit.Style due to circular dependency (#327).</li>
91
- <li>Fixed makeClipping and undoClipping to handle overflow-x and overflow-y
92
- styles correctly (#326).</li>
93
- <li>Fixed issue with Event.relatedTarget() sometimes returning XUL elements
94
- in Mozilla-based browsers (#322).</li>
95
- </ul>
96
- <p>2008-10-21 v1.4</p>
97
- <ul class="simple">
98
- <li>Added pt_BR to MochiKit.Format.LOCALE.</li>
99
- <li>MochiKit.Async now sets the &quot;X-Requested-With: XMLHttpRequest&quot; header,
100
- a de facto standard (Prototype, jQuery, Mootools).</li>
101
- <li>MochiKit.Signal custom handlers no longer cause callbacks to get re-bound to
102
- the source if they were previously bound.</li>
103
- <li>Fixed MochiKit.Signal.signal re-entrancy bug that could cause recently
104
- disconnected slots to get signaled.</li>
105
- <li>MochiKit.Base.evalJSON will now evaluate JSON that is wrapped in a
106
- <tt class="docutils literal"><span class="pre">/*</span> <span class="pre">comment</span> <span class="pre">block</span> <span class="pre">*/</span></tt>.</li>
107
- <li>MochiKit.Color's HSV to RGB conversion code fixed to return the correct
108
- value (hsv.v for RGB values) in cases where saturation === 0.</li>
109
- <li>doXHR workaround for a Mozilla bug when calling XMLHttpRequest in certain
110
- situations. Always wraps call in a callLater(0, doXHR, url, opts).</li>
111
- <li>parseQueryString will now parse values with embedded &quot;=&quot;</li>
112
- <li>Workaround for a Safari DOM crash when using MochiKit.Iter.list.
113
- <a class="reference" href="http://bugs.webkit.org/show_bug.cgi?id=12191">http://bugs.webkit.org/show_bug.cgi?id=12191</a></li>
114
- <li>New removeNodeAttribute function in MochiKit.DOM.</li>
115
- <li>MochiKit.Async.doXHR and dependent functions now accept 201 CREATED and
116
- 204 NO CONTENT as valid.</li>
117
- <li>MochiKit.DOM.formContents now treats option tags the same way that
118
- form posts do in the case of missing and empty string value attributes,
119
- even in IE.</li>
120
- <li>MochiKit.Base.queryString now accepts third queryString([names, values])
121
- form.</li>
122
- <li>MochiKit.DOM.formContents now defaults to document.body if no element is
123
- given.</li>
124
- <li>New MochiKit.Selector module (still somewhat experimental)</li>
125
- <li>MochiKit.LoggingPane fixes for Internet Explorer</li>
126
- <li>MochiKit.DOM now creates XHTML nodes in XUL documents.</li>
127
- <li>MochiKit.LoggingPane now works on pages with '#' in the URL on IE</li>
128
- <li>New MochiKit.Async.doXHR as a convenient method for doing custom
129
- XMLHttpRequests (e.g. extra headers, overrideMimeType, etc.)</li>
130
- <li>New __connect__ protocol for MochiKit.Signal.connect source notifications</li>
131
- <li>Added colSpan, bgColor to the list of DOM renames for Internet Explorer</li>
132
- <li>New MochiKit.Signal.disconnectAllTo function</li>
133
- <li>MochiKit.Base.parseQueryString now accepts leading question mark</li>
134
- <li>New MochiKit.Base.values function</li>
135
- <li>Fixed MochiKit.Signal.disconnect when called from a signal handler invoked
136
- by MochiKit.Signal.signal</li>
137
- <li>parseQueryString now splits on HTML entities equivalent to ampersand as well</li>
138
- <li>Better XHTML compatibility (removed obvious cases where uppercase tagName or
139
- nodeName was assumed)</li>
140
- <li>MochiKit.Base.queryString now handles array values in the same way HTML
141
- forms handle multiple elements of the same name.</li>
142
- <li>MochiKit.Base.parseQueryString now returns {} for empty query string instead
143
- of {&quot;&quot;: &quot;undefined&quot;}</li>
144
- <li>MochiKit.DOM.formContents now handles option value=&quot;&quot; correctly.</li>
145
- <li>MochiKit.DOM now checks for undefined className.</li>
146
- <li>MochiKit.Iter.groupby() now uses compare() to group rather than == and !=</li>
147
- <li>serializeJSON no longer serializes undefined, as per the JSON spec</li>
148
- <li>Fixed an infinite recursion bug in serializeJSON if an adapter
149
- returns the object itself.</li>
150
- <li>Fixed vertical tab and control char encoding in serializeJSON (#313).</li>
151
- <li>New MochiKit.Base.operator.seq and sne to support strict comparison</li>
152
- <li>MochiKit.Base.isArrayLike no longer returns true for DOM text nodes</li>
153
- <li>Added readonly-readOnly to the list of DOM renames for Internet Explorer</li>
154
- <li>New MochiKit.Signal event method: confirmUnload (sets returnValue for
155
- onbeforeunload)</li>
156
- <li>Fix interpreter help() function for Firefox and IE</li>
157
- <li>API version compatibility notes added</li>
158
- <li>New MochiKit.Base functions methodcaller and compose</li>
159
- <li>Support IE-based native console logging (Debugger, Atlas)</li>
160
- <li>Refactored style functions from MochiKit.DOM to MochiKit.Style</li>
161
- <li>MochiKit.Async.DeferredList is now a proper Deferred</li>
162
- <li>MochiKit.DOM.formContents now supports SELECT multiple tags</li>
163
- <li>Re-use StopIteration Error if the browser already has it</li>
164
- <li>Workaround IE type=&quot;&quot; bug for INPUT elements</li>
165
- <li>Allow LoggingPane to work in IE with hyphen-containing URLs</li>
166
- <li>Replace percents for Safari native logging to avoid crashing</li>
167
- <li>New MochiKit.DOM.coerceToDOM .dom(node) / .__dom__(node) protocol</li>
168
- <li>MochiKit.DOM's MochiKit.Iter dependency is now optional</li>
169
- <li>Added expand all link to the documentation index</li>
170
- <li>Added MochiKit.DOM.isChildNode function.</li>
171
- <li>Added synthesizing for onmouseenter/onmouseleave</li>
172
- <li>Added animation functions and classes to MochiKit.Visual.</li>
173
- <li>Added MochiKit.Style.getElementDimensions support for calculating the
174
- actual content size (without padding and borders).</li>
175
- <li>Added MochiKit.DOM.insertSiblingNodesBefore, getFirstElementByTagAndClassName,
176
- getFirstParentByTagAndClassName, makeClipping, makePositioned,
177
- undoClipping, undoPositioned and removeEmptyTextNodes functions.</li>
178
- <li>Added MochiKit.Base.bindLate, camelize, flattenArray, mean, median and
179
- noop functions.</li>
180
- <li>New MochiKit.DragAndDrop module for drag and drop handling.</li>
181
- <li>New MochiKit.Sortable module for lists sortable with drag and drop.</li>
182
- <li>Changed MochiKit.Signal.connect to use late function binding also
183
- for non-DOM signals (#307).</li>
184
- <li>Fixed MochiKit.Color.isColor when symbols not exported (#296).</li>
185
- <li>Added support for inclusion in SVG files (#290).</li>
186
- <li>Fixed rounding errors in MochiKit.Format.twoDigitFloat (#275).</li>
187
- <li>Fixed MochiKit.Logging to convert log levels to strings (#273).</li>
188
- <li>Fixed MochiKit.Iter.forEach and iextend for array-like objects with
189
- and iter function (#268).</li>
190
- </ul>
191
- <p>2006-04-29 v1.3.1 (bug fix release)</p>
192
- <ul class="simple">
193
- <li>Fix sendXMLHttpRequest sendContent regression</li>
194
- <li>Internet Explorer fix in MochiKit.Logging (printfire exception)</li>
195
- <li>Internet Explorer XMLHttpRequest object leak fixed in MochiKit.Async</li>
196
- </ul>
197
- <p>2006-04-26 v1.3 &quot;warp zone&quot;</p>
198
- <ul class="simple">
199
- <li>IMPORTANT: Renamed MochiKit.Base.forward to forwardCall (for export)</li>
200
- <li>IMPORTANT: Renamed MochiKit.Base.find to findValue (for export)</li>
201
- <li>New MochiKit.Base.method as a convenience form of bind that takes the
202
- object before the method</li>
203
- <li>New MochiKit.Base.flattenArguments for flattening a list of arguments to
204
- a single Array</li>
205
- <li>Refactored MochiRegExp example to use MochiKit.Signal</li>
206
- <li>New key_events example demonstrating use of MochiKit.Signal's key handling
207
- capabilities.</li>
208
- <li>MochiKit.DOM.createDOM API change for convenience: if attrs is a string,
209
- null is used and the string will be considered the first node. This
210
- allows for the more natural P(&quot;foo&quot;) rather than P(null, &quot;foo&quot;).</li>
211
- <li>MochiKit Interpreter example refactored to use MochiKit.Signal and now
212
- provides multi-line input and a help() function to get MochiKit function
213
- signature from the documentation.</li>
214
- <li>Native Console Logging for the default MochiKit.Logging logger</li>
215
- <li>New MochiKit.Async.DeferredList, gatherResults, maybeDeferred</li>
216
- <li>New MochiKit.Signal example: draggable</li>
217
- <li>Added sanity checking to Deferred to ensure that errors happen when chaining
218
- is used incorrectly</li>
219
- <li>Opera sendXMLHttpRequest fix (sends empty string instead of null by default)</li>
220
- <li>Fix a bug in MochiKit.Color that incorrectly generated hex colors for
221
- component values smaller than 16/255.</li>
222
- <li>Fix a bug in MochiKit.Logging that prevented logs from being capped at a
223
- maximum size</li>
224
- <li>MochiKit.Async.Deferred will now wrap thrown objects that are not instanceof
225
- Error, so that the errback chain is used instead of the callback chain.</li>
226
- <li>MochiKit.DOM.appendChildNodes and associated functions now append iterables
227
- in the correct order.</li>
228
- <li>New MochiKit-based SimpleTest test runner as a replacement for Test.Simple</li>
229
- <li>MochiKit.Base.isNull no longer matches undefined</li>
230
- <li>example doctypes changed to HTML4</li>
231
- <li>isDateLike no longer throws error on null</li>
232
- <li>New MochiKit.Signal module, modeled after the slot/signal mechanism in Qt</li>
233
- <li>updated elementDimensions to calculate width from offsetWidth instead
234
- of clientWidth</li>
235
- <li>formContents now works with FORM tags that have a name attribute</li>
236
- <li>Documentation now uses MochiKit to generate a function index</li>
237
- </ul>
238
- <p>2006-01-26 v1.2 &quot;the ocho&quot;</p>
239
- <ul class="simple">
240
- <li>Fixed MochiKit.Color.Color.lighterColorWithLevel</li>
241
- <li>Added new MochiKit.Base.findIdentical function to find the index of an
242
- element in an Array-like object. Uses === for identity comparison.</li>
243
- <li>Added new MochiKit.Base.find function to find the index of an element in
244
- an Array-like object. Uses compare for rich comparison.</li>
245
- <li>MochiKit.Base.bind will accept a string for func, which will be immediately
246
- looked up as self[func].</li>
247
- <li>MochiKit.DOM.formContents no longer skips empty form elements for Zope
248
- compatibility</li>
249
- <li>MochiKit.Iter.forEach will now catch StopIteration to break</li>
250
- <li>New MochiKit.DOM.elementDimensions(element) for determining the width and
251
- height of an element in the document</li>
252
- <li>MochiKit.DOM's initialization is now compatible with
253
- HTMLUnit + JWebUnit + Rhino</li>
254
- <li>MochiKit.LoggingPane will now re-use a <tt class="docutils literal"><span class="pre">_MochiKit_LoggingPane</span></tt> DIV element
255
- currently in the document instead of always creating one.</li>
256
- <li>MochiKit.Base now has operator.mul</li>
257
- <li>MochiKit.DOM.formContents correctly handles unchecked checkboxes that have
258
- a custom value attribute</li>
259
- <li>Added new MochiKit.Color constructors fromComputedStyle and fromText</li>
260
- <li>MochiKit.DOM.setNodeAttribute should work now</li>
261
- <li>MochiKit.DOM now has a workaround for an IE bug when setting the style
262
- property to a string</li>
263
- <li>MochiKit.DOM.createDOM now has workarounds for IE bugs when setting the
264
- name and for properties</li>
265
- <li>MochiKit.DOM.scrapeText now walks the DOM tree in-order</li>
266
- <li>MochiKit.LoggingPane now sanitizes the window name to work around IE bug</li>
267
- <li>MochiKit.DOM now translates usemap to useMap to work around IE bug</li>
268
- <li>MochiKit.Logging is now resistant to Prototype's dumb Object.prototype hacks</li>
269
- <li>Added new MochiKit.DOM documentation on element visibility</li>
270
- <li>New MochiKit.DOM.elementPosition(element[, relativeTo={x: 0, y: 0}])
271
- for determining the position of an element in the document</li>
272
- <li>Added new MochiKit.DOM createDOMFunc aliases: CANVAS, STRONG</li>
273
- </ul>
274
- <p>2005-11-14 v1.1</p>
275
- <ul class="simple">
276
- <li>Fixed a bug in numberFormatter with large numbers</li>
277
- <li>Massively overhauled documentation</li>
278
- <li>Fast-path for primitives in MochiKit.Base.compare</li>
279
- <li>New groupby and groupby_as_array in MochiKit.Iter</li>
280
- <li>Added iterator factory adapter for objects that implement iterateNext()</li>
281
- <li>Fixed isoTimestamp to handle timestamps with time zone correctly</li>
282
- <li>Added new MochiKit.DOM createDOMFunc aliases: SELECT, OPTION, OPTGROUP,
283
- LEGEND, FIELDSET</li>
284
- <li>New MochiKit.DOM formContents and enhancement to queryString to support it</li>
285
- <li>Updated view_source example to use dp.SyntaxHighlighter 1.3.0</li>
286
- <li>MochiKit.LoggingPane now uses named windows based on the URL so that
287
- a given URL will get the same LoggingPane window after a reload
288
- (at the same position, etc.)</li>
289
- <li>MochiKit.DOM now has currentWindow() and currentDocument() context
290
- variables that are set with withWindow() and withDocument(). These
291
- context variables affect all MochiKit.DOM functionality (getElement,
292
- createDOM, etc.)</li>
293
- <li>MochiKit.Base.items will now catch and ignore exceptions for properties
294
- that are enumerable but not accessible (e.g. permission denied)</li>
295
- <li>MochiKit.Async.Deferred's addCallback/addErrback/addBoth
296
- now accept additional arguments that are used to create a partially
297
- applied function. This differs from Twisted in that the callback/errback
298
- result becomes the <em>last</em> argument, not the first when this feature
299
- is used.</li>
300
- <li>MochiKit.Async's doSimpleXMLHttpRequest will now accept additional
301
- arguments which are used to create a GET query string</li>
302
- <li>Did some refactoring to reduce the footprint of MochiKit by a few
303
- kilobytes</li>
304
- <li>escapeHTML to longer escapes ' (apos) and now uses
305
- String.replace instead of iterating over every char.</li>
306
- <li>Added DeferredLock to Async</li>
307
- <li>Renamed getElementsComputedStyle to computedStyle and moved
308
- it from MochiKit.Visual to MochiKit.DOM</li>
309
- <li>Moved all color support out of MochiKit.Visual and into MochiKit.Color</li>
310
- <li>Fixed range() to accept a negative step</li>
311
- <li>New alias to MochiKit.swapDOM called removeElement</li>
312
- <li>New MochiKit.DOM.setNodeAttribute(node, attr, value) which sets
313
- an attribute on a node without raising, roughly equivalent to:
314
- updateNodeAttributes(node, {attr: value})</li>
315
- <li>New MochiKit.DOM.getNodeAttribute(node, attr) which gets the value of
316
- a node's attribute or returns null without raising</li>
317
- <li>Fixed a potential IE memory leak if using MochiKit.DOM.addToCallStack
318
- directly (addLoadEvent did not leak, since it clears the handler)</li>
319
- </ul>
320
- <p>2005-10-24 v1.0</p>
321
- <ul class="simple">
322
- <li>New interpreter example that shows usage of MochiKit.DOM to make
323
- an interactive JavaScript interpreter</li>
324
- <li>New MochiKit.LoggingPane for use with the MochiKit.Logging
325
- debuggingBookmarklet, with logging_pane example to show its usage</li>
326
- <li>New mochiregexp example that demonstrates MochiKit.DOM and MochiKit.Async
327
- in order to provide a live regular expression matching tool</li>
328
- <li>Added advanced number formatting capabilities to MochiKit.Format:
329
- numberFormatter(pattern, placeholder=&quot;&quot;, locale=&quot;default&quot;) and
330
- formatLocale(locale=&quot;default&quot;)</li>
331
- <li>Added updatetree(self, obj[, ...]) to MochiKit.Base, and changed
332
- MochiKit.DOM's updateNodeAttributes(node, attrs) to use it when appropiate.</li>
333
- <li>Added new MochiKit.DOM createDOMFunc aliases: BUTTON, TT, PRE</li>
334
- <li>Added truncToFixed(aNumber, precision) and roundToFixed(aNumber, precision)
335
- to MochiKit.Format</li>
336
- <li>MochiKit.DateTime can now handle full ISO 8601 timestamps, specifically
337
- isoTimestamp(isoString) will convert them to Date objects, and
338
- toISOTimestamp(date, true) will return an ISO 8601 timestamp in UTC</li>
339
- <li>Fixed missing errback for sendXMLHttpRequest when the server does not
340
- respond</li>
341
- <li>Fixed infinite recusion bug when using roundClass(&quot;DIV&quot;, ...)</li>
342
- <li>Fixed a bug in MochiKit.Async wait (and callLater) that prevented them
343
- from being cancelled properly</li>
344
- <li>Workaround in MochiKit.Base bind (and partial) for functions that don't
345
- have an apply method, such as alert</li>
346
- <li>Reliably return null from the string parsing/manipulation functions if
347
- the input can't be coerced to a string (s + &quot;&quot;) or the input makes no sense;
348
- e.g. isoTimestamp(null) and isoTimestamp(&quot;&quot;) return null</li>
349
- </ul>
350
- <p>2005-10-08 v0.90</p>
351
- <ul class="simple">
352
- <li>Fixed ISO compliance with toISODate</li>
353
- <li>Added missing operator.sub</li>
354
- <li>Placated Mozilla's strict warnings a bit</li>
355
- <li>Added JSON serialization and unserialization support to MochiKit.Base:
356
- serializeJSON, evalJSON, registerJSON. This is very similar to the repr
357
- API.</li>
358
- <li>Fixed a bug in the script loader that failed in some scenarios when a script
359
- tag did not have a &quot;src&quot; attribute (thanks Ian!)</li>
360
- <li>Added new MochiKit.DOM createDOMFunc aliases: H1, H2, H3, BR, HR, TEXTAREA,
361
- P, FORM</li>
362
- <li>Use encodeURIComponent / decodeURIComponent for MochiKit.Base urlEncode
363
- and parseQueryString, when available.</li>
364
- </ul>
365
- <p>2005-08-12 v0.80</p>
366
- <ul class="simple">
367
- <li>Source highlighting in all examples, moved to a view-source example</li>
368
- <li>Added some experimental syntax highlighting for the Rounded Corners example,
369
- via the LGPL dp.SyntaxHighlighter 1.2.0 now included in examples/common/lib</li>
370
- <li>Use an indirect binding for the logger conveniences, so that the global
371
- logger could be replaced by setting MochiKit.Logger.logger to something else
372
- (though an observer is probably a better choice).</li>
373
- <li>Allow MochiKit.DOM.getElementsByTagAndClassName to take a string for parent,
374
- which will be looked up with getElement</li>
375
- <li>Fixed bug in MochiKit.Color.fromBackground (was using node.parent instead of
376
- node.parentNode)</li>
377
- <li>Consider a 304 (NOT_MODIFIED) response from XMLHttpRequest to be success</li>
378
- <li>Disabled Mozilla map(...) fast-path due to Deer Park compatibility issues</li>
379
- <li>Possible workaround for Safari issue with swapDOM, where it would get
380
- confused because two elements were in the DOM at the same time with the
381
- same id</li>
382
- <li>Added missing THEAD convenience function to MochiKit.DOM</li>
383
- <li>Added lstrip, rstrip, strip to MochiKit.Format</li>
384
- <li>Added updateNodeAttributes, appendChildNodes, replaceChildNodes to
385
- MochiKit.DOM</li>
386
- <li>MochiKit.Iter.iextend now has a fast-path for array-like objects</li>
387
- <li>Added HSV color space support to MochiKit.Visual</li>
388
- <li>Fixed a bug in the sortable_tables example, it now converts types
389
- correctly</li>
390
- <li>Fixed a bug where MochiKit.DOM referenced MochiKit.Iter.next from global
391
- scope</li>
392
- </ul>
393
- <p>2005-08-04 v0.70</p>
394
- <ul class="simple">
395
- <li>New ajax_tables example, which shows off XMLHttpRequest, ajax, json, and
396
- a little TAL-ish DOM templating attribute language.</li>
397
- <li>sendXMLHttpRequest and functions that use it (loadJSONDoc, etc.) no longer
398
- ignore requests with status == 0, which seems to happen for cached or local
399
- requests</li>
400
- <li>Added sendXMLHttpRequest to MochiKit.Async.EXPORT, d'oh.</li>
401
- <li>Changed scrapeText API to return a string by default. This is API-breaking!
402
- It was dumb to have the default return value be the form you almost never
403
- want. Sorry.</li>
404
- <li>Added special form to swapDOM(dest, src). If src is null, dest is removed
405
- (where previously you'd likely get a DOM exception).</li>
406
- <li>Added three new functions to MochiKit.Base for dealing with URL query
407
- strings: urlEncode, queryString, parseQueryString</li>
408
- <li>MochiKit.DOM.createDOM will now use attr[k] = v for all browsers if the name
409
- starts with &quot;on&quot; (e.g. &quot;onclick&quot;). If v is a string, it will set it to
410
- new Function(v).</li>
411
- <li>Another workaround for Internet &quot;worst browser ever&quot; Explorer's setAttribute
412
- usage in MochiKit.DOM.createDOM (checked -&gt; defaultChecked).</li>
413
- <li>Added UL, OL, LI convenience createDOM aliases to MochiKit.DOM</li>
414
- <li>Packing is now done by Dojo's custom Rhino interpreter, so it's much smaller
415
- now!</li>
416
- </ul>
417
- <p>2005-07-29 v0.60</p>
418
- <ul class="simple">
419
- <li>Beefed up the MochiKit.DOM test suite</li>
420
- <li>Fixed return value for MochiKit.DOM.swapElementClass, could return
421
- false unexpectedly before</li>
422
- <li>Added an optional &quot;parent&quot; argument to
423
- MochiKit.DOM.getElementsByTagAndClassName</li>
424
- <li>Added a &quot;packed&quot; version in packed/lib/MochiKit/MochiKit.js</li>
425
- <li>Changed build script to rewrite the URLs in tests to account for the
426
- JSAN-required reorganization</li>
427
- <li>MochiKit.Compat to potentially work around IE 5.5 issues
428
- (5.0 still not supported). Test.Simple doesn't seem to work there,
429
- though.</li>
430
- <li>Several minor documentation corrections</li>
431
- </ul>
432
- <p>2005-07-27 v0.50</p>
433
- <ul class="simple">
434
- <li>Initial Release</li>
435
- </ul>
436
- </div>
437
- <div class="section">
438
- <h1><a id="copyright" name="copyright">Copyright</a></h1>
439
- <p>Copyright 2005 Bob Ippolito &lt;<a class="reference" href="mailto:bob&#64;redivi.com">bob&#64;redivi.com</a>&gt;. This program is
440
- dual-licensed free software; you can redistribute it and/or modify it
441
- under the terms of the <a class="reference" href="http://www.opensource.org/licenses/mit-license.php">MIT License</a> or the <a class="reference" href="http://www.opensource.org/licenses/afl-2.1.php">Academic Free License
442
- v2.1</a>.</p>
443
- </div>
444
- </div>
445
-
446
- </body>
447
- </html>
@@ -1,113 +0,0 @@
1
- function function_ref(fn) {
2
- return A({"href": fn[1], "class": "mochiref reference"}, fn[0], BR());
3
- };
4
-
5
- function toggle_docs() {
6
- toggleElementClass("invisible", "show_index", "function_index");
7
- return false;
8
- };
9
-
10
- function create_toc() {
11
- if (getElement("distribution")) {
12
- return global_index();
13
- }
14
- if (getElement("api-reference")) {
15
- return module_index();
16
- }
17
- };
18
-
19
- function doXHTMLRequest(url) {
20
- var d = doXHR(url, {mimeType: 'text/xml'});
21
- return d.addCallback(function (res) {
22
- if (res.responseXML.documentElement) {
23
- return res.responseXML.documentElement;
24
- } else {
25
- var container = document.createElement('div');
26
- container.innerHTML = res.responseText;
27
- return container;
28
- }
29
- });
30
- };
31
-
32
- function load_request(href, div, doc) {
33
- var functions = withDocument(doc, spider_doc);
34
- forEach(functions, function (func) {
35
- // fix anchors
36
- if (func[1].charAt(0) == "#") {
37
- func[1] = href + func[1];
38
- } else if (func[1].lastIndexOf("#") != -1) {
39
- func[1] = href + "#" + func[1].split("#")[1];
40
- }
41
- });
42
- var showLink = A({"class": "force-pointer"}, "[+]");
43
- var hideLink = A({"class": "force-pointer"}, "[\u2013]");
44
- var functionIndex = DIV({"id": "function_index", "class": "invisible"},
45
- hideLink,
46
- P(null, map(function_ref, functions))
47
- );
48
- var toggleFunc = function (e) {
49
- toggleElementClass("invisible", showLink, functionIndex);
50
- };
51
- connect(showLink, "onclick", toggleFunc);
52
- connect(hideLink, "onclick", toggleFunc);
53
- replaceChildNodes(div,
54
- showLink,
55
- functionIndex
56
- );
57
- return [showLink, toggleFunc];
58
- };
59
-
60
- function global_index() {
61
- var distList = getElementsByTagAndClassName("ul")[0];
62
- var bullets = getElementsByTagAndClassName("li", null, distList);
63
- var lst = [];
64
- for (var i = 0; i < bullets.length; i++) {
65
- var tag = bullets[i];
66
- var firstLink = getElementsByTagAndClassName("a", "mochiref", tag)[0];
67
- var href = getNodeAttribute(firstLink, "href");
68
- var div = DIV(null, "[\u2026]");
69
- appendChildNodes(tag, BR(), div);
70
- lst.push(doXHTMLRequest(href).addCallback(load_request, href, div));
71
- }
72
-
73
- var loadingNode = DIV(null, "[loading index\u2026]");
74
- distList.parentNode.insertBefore(P(null, loadingNode), distList);
75
-
76
- var dl = gatherResults(lst).addCallback(function (res) {
77
- var toggleFunc = function (e) {
78
- for (var i = 0; i < res.length; i++) {
79
- var item = res[i];
80
- if (!hasElementClass(item[0], "invisible")) {
81
- item[1]();
82
- }
83
- }
84
- };
85
- var node = A({"class": "force-pointer"}, "[click to expand all]");
86
- swapDOM(loadingNode, node);
87
- connect(node, "onclick", toggleFunc);
88
- });
89
- };
90
-
91
- function spider_doc() {
92
- return map(
93
- function (tag) {
94
- return [scrapeText(tag), getNodeAttribute(tag, "href")];
95
- },
96
- getElementsByTagAndClassName("a", "mochidef")
97
- );
98
- };
99
-
100
- function module_index() {
101
- var sections = getElementsByTagAndClassName("div", "section");
102
- var ptr = sections[1];
103
- var ref = DIV({"class": "section"},
104
- H1(null, "Function Index"),
105
- A({"id": "show_index", "href": "#", "onclick": toggle_docs}, "[show]"),
106
- DIV({"id": "function_index", "class": "invisible"},
107
- A({"href":"#", "onclick": toggle_docs}, "[hide]"),
108
- P(null, map(function_ref, spider_doc()))));
109
- ptr.parentNode.insertBefore(ref, ptr);
110
- };
111
-
112
- connect(window, 'onload', create_toc);
113
-