mdbe 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +15 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +53 -0
  4. data/app.rb +182 -0
  5. data/bin/mdbe +5 -0
  6. data/config.ru +2 -0
  7. data/environment.rb +8 -0
  8. data/lib/mdbe.rb +39 -0
  9. data/lib/mdbe/action_controller_debug_patch.rb +12 -0
  10. data/lib/mdbe/code_evaluation.rb +46 -0
  11. data/lib/mdbe/database_views.rb +24 -0
  12. data/lib/mdbe/database_views/abstract_dictionary.rb +69 -0
  13. data/lib/mdbe/database_views/abstract_exception.rb +25 -0
  14. data/lib/mdbe/database_views/array.rb +28 -0
  15. data/lib/mdbe/database_views/boolean.rb +12 -0
  16. data/lib/mdbe/database_views/class.rb +46 -0
  17. data/lib/mdbe/database_views/exception.rb +3 -0
  18. data/lib/mdbe/database_views/execblock.rb +5 -0
  19. data/lib/mdbe/database_views/fixnum.rb +5 -0
  20. data/lib/mdbe/database_views/float.rb +5 -0
  21. data/lib/mdbe/database_views/globals.rb +2 -0
  22. data/lib/mdbe/database_views/gsnmethod.rb +29 -0
  23. data/lib/mdbe/database_views/hash.rb +5 -0
  24. data/lib/mdbe/database_views/maglev_record.rb +42 -0
  25. data/lib/mdbe/database_views/module.rb +103 -0
  26. data/lib/mdbe/database_views/nilclass.rb +5 -0
  27. data/lib/mdbe/database_views/object.rb +80 -0
  28. data/lib/mdbe/database_views/proc.rb +3 -0
  29. data/lib/mdbe/database_views/repository.rb +3 -0
  30. data/lib/mdbe/database_views/ruby_workspace.rb +5 -0
  31. data/lib/mdbe/database_views/smalltalk_classes.rb +34 -0
  32. data/lib/mdbe/database_views/smalltalk_classes.st +60 -0
  33. data/lib/mdbe/database_views/string.rb +31 -0
  34. data/lib/mdbe/database_views/symbol.rb +32 -0
  35. data/lib/mdbe/database_views/system.rb +61 -0
  36. data/lib/mdbe/database_views/thread.rb +101 -0
  37. data/lib/mdbe/debug_server.rb +22 -0
  38. data/lib/mdbe/halt.rb +42 -0
  39. data/lib/mdbe/ruby_workspace.rb +29 -0
  40. data/lib/mdbe/version.rb +3 -0
  41. data/lib/tasks/maglev-database-explorer_tasks.rake +4 -0
  42. data/public/LICENSE +35 -0
  43. data/public/amber/CHANGELOG +65 -0
  44. data/public/amber/LICENSE +22 -0
  45. data/public/amber/Makefile +53 -0
  46. data/public/amber/README.md +30 -0
  47. data/public/amber/bin/amber +3 -0
  48. data/public/amber/bin/amberc +352 -0
  49. data/public/amber/bin/nodecompile.js +33 -0
  50. data/public/amber/bin/server +3 -0
  51. data/public/amber/bin/server.bat +3 -0
  52. data/public/amber/css/amber-normalize.css +468 -0
  53. data/public/amber/css/amber-normalize.less +501 -0
  54. data/public/amber/css/amber.css +539 -0
  55. data/public/amber/css/documentation.css +84 -0
  56. data/public/amber/css/profstef.css +75 -0
  57. data/public/amber/css/style.css +313 -0
  58. data/public/amber/documentation.html +37 -0
  59. data/public/amber/examples/Makefile +23 -0
  60. data/public/amber/examples/README +4 -0
  61. data/public/amber/examples/android/helloamber/AndroidManifest.xml +19 -0
  62. data/public/amber/examples/android/helloamber/HelloAmber.st +13 -0
  63. data/public/amber/examples/android/helloamber/Makefile +56 -0
  64. data/public/amber/examples/android/helloamber/README.md +80 -0
  65. data/public/amber/examples/android/helloamber/ant.properties +17 -0
  66. data/public/amber/examples/android/helloamber/assets/index.html +15 -0
  67. data/public/amber/examples/android/helloamber/assets/jquery-1.7.2.min.js +4 -0
  68. data/public/amber/examples/android/helloamber/build.xml +83 -0
  69. data/public/amber/examples/android/helloamber/local.properties +10 -0
  70. data/public/amber/examples/android/helloamber/proguard-project.txt +20 -0
  71. data/public/amber/examples/android/helloamber/project.properties +14 -0
  72. data/public/amber/examples/android/helloamber/res/layout/main.xml +6 -0
  73. data/public/amber/examples/android/helloamber/res/values/strings.xml +4 -0
  74. data/public/amber/examples/android/helloamber/src/org/amberlang/android/helloamber/HelloAmber.java +59 -0
  75. data/public/amber/examples/myproject/index.html +16 -0
  76. data/public/amber/examples/nodejs/README +9 -0
  77. data/public/amber/examples/nodejs/benchfib/Benchfib.st +124 -0
  78. data/public/amber/examples/nodejs/benchfib/Makefile +8 -0
  79. data/public/amber/examples/nodejs/benchfib/benchfib +1 -0
  80. data/public/amber/examples/nodejs/hello/Hello.st +9 -0
  81. data/public/amber/examples/nodejs/hello/Makefile +8 -0
  82. data/public/amber/examples/nodejs/hello/README +13 -0
  83. data/public/amber/examples/nodejs/hello/hello +1 -0
  84. data/public/amber/examples/nodejs/meta/Makefile +8 -0
  85. data/public/amber/examples/nodejs/meta/MyScript.st +27 -0
  86. data/public/amber/examples/nodejs/meta/meta +1 -0
  87. data/public/amber/examples/nodejs/pystone/Makefile +8 -0
  88. data/public/amber/examples/nodejs/pystone/Pystone.st +306 -0
  89. data/public/amber/examples/nodejs/pystone/pystone +1 -0
  90. data/public/amber/examples/nodejs/trivialserver/Makefile +8 -0
  91. data/public/amber/examples/nodejs/trivialserver/TrivialServer.st +51 -0
  92. data/public/amber/examples/nodejs/trivialserver/trivial +1 -0
  93. data/public/amber/examples/presentation/esug2011/images/asterix.png +0 -0
  94. data/public/amber/examples/presentation/esug2011/images/background_box.png +0 -0
  95. data/public/amber/examples/presentation/esug2011/images/background_header.png +0 -0
  96. data/public/amber/examples/presentation/esug2011/images/balloon.jpg +0 -0
  97. data/public/amber/examples/presentation/esug2011/images/balloon_header.png +0 -0
  98. data/public/amber/examples/presentation/esug2011/images/devices.jpg +0 -0
  99. data/public/amber/examples/presentation/esug2011/images/enyo.png +0 -0
  100. data/public/amber/examples/presentation/esug2011/images/ide_star_wars.png +0 -0
  101. data/public/amber/examples/presentation/esug2011/images/nodejs.png +0 -0
  102. data/public/amber/examples/presentation/esug2011/images/terminal.png +0 -0
  103. data/public/amber/examples/presentation/esug2011/images/webos.png +0 -0
  104. data/public/amber/examples/presentation/fosdem2012/images/amber.png +0 -0
  105. data/public/amber/examples/presentation/fosdem2012/images/ambrhino.jpg +0 -0
  106. data/public/amber/examples/presentation/fosdem2012/images/nodejs.png +0 -0
  107. data/public/amber/examples/presentation/fosdem2012/images/pharo.png +0 -0
  108. data/public/amber/examples/presentation/fosdem2012/images/php.gif +0 -0
  109. data/public/amber/examples/presentation/fosdem2012/images/rails.png +0 -0
  110. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-next.png +0 -0
  111. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-prev.png +0 -0
  112. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/closedhand.cur +0 -0
  113. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/openhand.cur +0 -0
  114. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-back.png +0 -0
  115. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-forward.png +0 -0
  116. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow.png +0 -0
  117. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.css +100 -0
  118. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.js +1232 -0
  119. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js +13 -0
  120. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.easing.1.3.js +38 -0
  121. data/public/amber/examples/presentation/index.html +17 -0
  122. data/public/amber/examples/presentation/js/Presentation.deploy.js +1922 -0
  123. data/public/amber/examples/presentation/js/Presentation.js +2712 -0
  124. data/public/amber/examples/presentation/st/Presentation.st +1996 -0
  125. data/public/amber/examples/trysmalltalk/index.html +18 -0
  126. data/public/amber/examples/trysmalltalk/js/TrySmalltalk.deploy.js +837 -0
  127. data/public/amber/examples/trysmalltalk/js/TrySmalltalk.js +1206 -0
  128. data/public/amber/examples/trysmalltalk/st/TrySmalltalk.st +964 -0
  129. data/public/amber/examples/twitterwall/css/twitterwall.css +19 -0
  130. data/public/amber/examples/twitterwall/index.html +35 -0
  131. data/public/amber/examples/twitterwall/js/TwitterWall.deploy.js +116 -0
  132. data/public/amber/examples/twitterwall/js/TwitterWall.js +146 -0
  133. data/public/amber/examples/twitterwall/st/TwitterWall.st +91 -0
  134. data/public/amber/examples/webos/README +11 -0
  135. data/public/amber/examples/webos/eris/DuckQwaq.wav +0 -0
  136. data/public/amber/examples/webos/eris/EnyoAmber.st +36 -0
  137. data/public/amber/examples/webos/eris/Eris.css +0 -0
  138. data/public/amber/examples/webos/eris/Eris.st +86 -0
  139. data/public/amber/examples/webos/eris/Makefile +37 -0
  140. data/public/amber/examples/webos/eris/README +3 -0
  141. data/public/amber/examples/webos/eris/appinfo.json +10 -0
  142. data/public/amber/examples/webos/eris/index.html +12 -0
  143. data/public/amber/examples/webos/helloamber/EnyoAmber.st +36 -0
  144. data/public/amber/examples/webos/helloamber/HelloAmber.st +86 -0
  145. data/public/amber/examples/webos/helloamber/Makefile +38 -0
  146. data/public/amber/examples/webos/helloamber/README +5 -0
  147. data/public/amber/examples/webos/helloamber/appinfo.json +10 -0
  148. data/public/amber/examples/webos/helloamber/index.html +12 -0
  149. data/public/amber/favicon.ico +0 -0
  150. data/public/amber/images/amber.png +0 -0
  151. data/public/amber/images/amber.svg +706 -0
  152. data/public/amber/images/amber_small.png +0 -0
  153. data/public/amber/images/off.amber.png +0 -0
  154. data/public/amber/images/off.png +0 -0
  155. data/public/amber/images/offHover.amber.png +0 -0
  156. data/public/amber/images/offHover.png +0 -0
  157. data/public/amber/images/presentation.png +0 -0
  158. data/public/amber/images/profstef.png +0 -0
  159. data/public/amber/images/sprite.amber.png +0 -0
  160. data/public/amber/images/sprite.png +0 -0
  161. data/public/amber/images/tinylogo.amber.png +0 -0
  162. data/public/amber/images/tinylogo.png +0 -0
  163. data/public/amber/images/twitterwall.png +0 -0
  164. data/public/amber/index.html +55 -0
  165. data/public/amber/js/Additional-Examples.deploy.js +15 -0
  166. data/public/amber/js/Additional-Examples.js +21 -0
  167. data/public/amber/js/Benchfib.deploy.js +132 -0
  168. data/public/amber/js/Benchfib.js +167 -0
  169. data/public/amber/js/Canvas.deploy.js +2446 -0
  170. data/public/amber/js/Canvas.js +3547 -0
  171. data/public/amber/js/Compiler-Tests.deploy.js +97 -0
  172. data/public/amber/js/Compiler-Tests.js +137 -0
  173. data/public/amber/js/Compiler.deploy.js +1877 -0
  174. data/public/amber/js/Compiler.js +2622 -0
  175. data/public/amber/js/Documentation.deploy.js +961 -0
  176. data/public/amber/js/Documentation.js +1376 -0
  177. data/public/amber/js/Examples.deploy.js +53 -0
  178. data/public/amber/js/Examples.js +73 -0
  179. data/public/amber/js/IDE.deploy.js +3557 -0
  180. data/public/amber/js/IDE.js +5002 -0
  181. data/public/amber/js/Kernel-Announcements.deploy.js +107 -0
  182. data/public/amber/js/Kernel-Announcements.js +152 -0
  183. data/public/amber/js/Kernel-Classes.deploy.js +774 -0
  184. data/public/amber/js/Kernel-Classes.js +1095 -0
  185. data/public/amber/js/Kernel-Collections.deploy.js +3121 -0
  186. data/public/amber/js/Kernel-Collections.js +4427 -0
  187. data/public/amber/js/Kernel-Exceptions.deploy.js +244 -0
  188. data/public/amber/js/Kernel-Exceptions.js +349 -0
  189. data/public/amber/js/Kernel-Methods.deploy.js +573 -0
  190. data/public/amber/js/Kernel-Methods.js +807 -0
  191. data/public/amber/js/Kernel-Objects.deploy.js +2877 -0
  192. data/public/amber/js/Kernel-Objects.js +4107 -0
  193. data/public/amber/js/Kernel-Tests.deploy.js +1513 -0
  194. data/public/amber/js/Kernel-Tests.js +2053 -0
  195. data/public/amber/js/Kernel-Transcript.deploy.js +142 -0
  196. data/public/amber/js/Kernel-Transcript.js +202 -0
  197. data/public/amber/js/Maglev-Core.deploy.js +2996 -0
  198. data/public/amber/js/Maglev-Core.js +4246 -0
  199. data/public/amber/js/Maglev-Database-Explorer.deploy.js +4476 -0
  200. data/public/amber/js/Maglev-Database-Explorer.js +6232 -0
  201. data/public/amber/js/Maglev-Vendor.deploy.js +350 -0
  202. data/public/amber/js/Maglev-Vendor.js +465 -0
  203. data/public/amber/js/README.md +5 -0
  204. data/public/amber/js/SUnit.deploy.js +351 -0
  205. data/public/amber/js/SUnit.js +501 -0
  206. data/public/amber/js/amber.js +273 -0
  207. data/public/amber/js/boot.js +602 -0
  208. data/public/amber/js/compat.js +22 -0
  209. data/public/amber/js/init.js +9 -0
  210. data/public/amber/js/lib/CodeMirror/LICENSE +19 -0
  211. data/public/amber/js/lib/CodeMirror/active-line.js +39 -0
  212. data/public/amber/js/lib/CodeMirror/amber.css +21 -0
  213. data/public/amber/js/lib/CodeMirror/codemirror.css +67 -0
  214. data/public/amber/js/lib/CodeMirror/codemirror.js +2144 -0
  215. data/public/amber/js/lib/CodeMirror/smalltalk.js +134 -0
  216. data/public/amber/js/lib/jQuery/jquery-1.4.4.min.js +167 -0
  217. data/public/amber/js/lib/jQuery/jquery-1.6.4.min.js +4 -0
  218. data/public/amber/js/lib/jQuery/jquery-ui-1.8.16.custom.min.js +791 -0
  219. data/public/amber/js/lib/jQuery/jquery.textarea.js +267 -0
  220. data/public/amber/js/lib/peg-0.6.2.min.js +2 -0
  221. data/public/amber/js/lib/showdown.js +419 -0
  222. data/public/amber/js/parser.js +4222 -0
  223. data/public/amber/js/parser.pegjs +223 -0
  224. data/public/amber/learn.html +40 -0
  225. data/public/amber/repl/Makefile +8 -0
  226. data/public/amber/repl/REPL.js +124 -0
  227. data/public/amber/repl/REPL.st +56 -0
  228. data/public/amber/repl/amber.js +18085 -0
  229. data/public/amber/server/FileServer.st +576 -0
  230. data/public/amber/server/Makefile +8 -0
  231. data/public/amber/server/server.js +13049 -0
  232. data/public/amber/st/Benchfib.js +297 -0
  233. data/public/amber/st/Benchfib.st +124 -0
  234. data/public/amber/st/Canvas.st +968 -0
  235. data/public/amber/st/Compiler-Tests.st +471 -0
  236. data/public/amber/st/Compiler.st +1445 -0
  237. data/public/amber/st/Documentation.st +758 -0
  238. data/public/amber/st/Examples.js +100 -0
  239. data/public/amber/st/Examples.st +38 -0
  240. data/public/amber/st/IDE.st +2404 -0
  241. data/public/amber/st/Kernel-Announcements.st +61 -0
  242. data/public/amber/st/Kernel-Classes.st +462 -0
  243. data/public/amber/st/Kernel-Collections.st +1611 -0
  244. data/public/amber/st/Kernel-Exceptions.st +124 -0
  245. data/public/amber/st/Kernel-Methods.st +291 -0
  246. data/public/amber/st/Kernel-Objects.st +1587 -0
  247. data/public/amber/st/Kernel-Tests.st +953 -0
  248. data/public/amber/st/Kernel-Transcript.st +70 -0
  249. data/public/amber/st/Maglev-Core.st +1694 -0
  250. data/public/amber/st/Maglev-Database-Explorer.st +3148 -0
  251. data/public/amber/st/Maglev-Vendor.st +151 -0
  252. data/public/amber/st/Makefile +104 -0
  253. data/public/amber/st/README.md +4 -0
  254. data/public/amber/st/SUnit.st +172 -0
  255. data/public/css/bootstrap-combined.no-icons.min.css +731 -0
  256. data/public/css/bootstrap.css +6811 -0
  257. data/public/css/images/animated-overlay.gif +0 -0
  258. data/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  259. data/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  260. data/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  261. data/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  262. data/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  263. data/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  264. data/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  265. data/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  266. data/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  267. data/public/css/images/ui-icons_222222_256x240.png +0 -0
  268. data/public/css/images/ui-icons_228ef1_256x240.png +0 -0
  269. data/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
  270. data/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
  271. data/public/css/images/ui-icons_ffffff_256x240.png +0 -0
  272. data/public/css/jquery-ui.min.css +5 -0
  273. data/public/css/smalltalk_code.css +42 -0
  274. data/public/css/style.css +210 -0
  275. data/public/images/bg_tile.png +0 -0
  276. data/public/images/maglev-logo.gif +0 -0
  277. data/public/images/mchammer.gif +0 -0
  278. data/public/images/rails_tiny.png +0 -0
  279. data/public/images/ruby.png +0 -0
  280. data/public/images/ruby_smalltalk_bridge.png +0 -0
  281. data/public/images/smalltalk.png +0 -0
  282. data/public/img/glyphicons-halflings.png +0 -0
  283. data/public/index.html +118 -0
  284. data/public/libs/bootstrap.min.js +7 -0
  285. data/public/libs/codemirror/CONTRIBUTING.md +72 -0
  286. data/public/libs/codemirror/LICENSE +23 -0
  287. data/public/libs/codemirror/README.md +11 -0
  288. data/public/libs/codemirror/addon/dialog/dialog.css +32 -0
  289. data/public/libs/codemirror/addon/dialog/dialog.js +80 -0
  290. data/public/libs/codemirror/addon/display/placeholder.js +54 -0
  291. data/public/libs/codemirror/addon/edit/closebrackets.js +54 -0
  292. data/public/libs/codemirror/addon/edit/closetag.js +86 -0
  293. data/public/libs/codemirror/addon/edit/continuecomment.js +44 -0
  294. data/public/libs/codemirror/addon/edit/continuelist.js +25 -0
  295. data/public/libs/codemirror/addon/edit/matchbrackets.js +82 -0
  296. data/public/libs/codemirror/addon/fold/brace-fold.js +31 -0
  297. data/public/libs/codemirror/addon/fold/foldcode.js +32 -0
  298. data/public/libs/codemirror/addon/fold/indent-fold.js +11 -0
  299. data/public/libs/codemirror/addon/fold/xml-fold.js +64 -0
  300. data/public/libs/codemirror/addon/hint/html-hint.js +582 -0
  301. data/public/libs/codemirror/addon/hint/javascript-hint.js +142 -0
  302. data/public/libs/codemirror/addon/hint/pig-hint.js +117 -0
  303. data/public/libs/codemirror/addon/hint/python-hint.js +93 -0
  304. data/public/libs/codemirror/addon/hint/show-hint.css +38 -0
  305. data/public/libs/codemirror/addon/hint/show-hint.js +180 -0
  306. data/public/libs/codemirror/addon/hint/xml-hint.js +118 -0
  307. data/public/libs/codemirror/addon/lint/javascript-lint.js +127 -0
  308. data/public/libs/codemirror/addon/lint/json-lint.js +14 -0
  309. data/public/libs/codemirror/addon/lint/lint.css +96 -0
  310. data/public/libs/codemirror/addon/lint/lint.js +197 -0
  311. data/public/libs/codemirror/addon/mode/loadmode.js +51 -0
  312. data/public/libs/codemirror/addon/mode/multiplex.js +95 -0
  313. data/public/libs/codemirror/addon/mode/overlay.js +59 -0
  314. data/public/libs/codemirror/addon/runmode/colorize.js +29 -0
  315. data/public/libs/codemirror/addon/runmode/runmode-standalone.js +130 -0
  316. data/public/libs/codemirror/addon/runmode/runmode.js +52 -0
  317. data/public/libs/codemirror/addon/runmode/runmode.node.js +89 -0
  318. data/public/libs/codemirror/addon/search/match-highlighter.js +60 -0
  319. data/public/libs/codemirror/addon/search/search.js +131 -0
  320. data/public/libs/codemirror/addon/search/searchcursor.js +133 -0
  321. data/public/libs/codemirror/addon/selection/active-line.js +39 -0
  322. data/public/libs/codemirror/addon/selection/mark-selection.js +34 -0
  323. data/public/libs/codemirror/bin/compress +91 -0
  324. data/public/libs/codemirror/bin/lint +11 -0
  325. data/public/libs/codemirror/demo/activeline.html +70 -0
  326. data/public/libs/codemirror/demo/bidi.html +61 -0
  327. data/public/libs/codemirror/demo/btree.html +87 -0
  328. data/public/libs/codemirror/demo/buffers.html +98 -0
  329. data/public/libs/codemirror/demo/changemode.html +50 -0
  330. data/public/libs/codemirror/demo/closebrackets.html +63 -0
  331. data/public/libs/codemirror/demo/closetag.html +37 -0
  332. data/public/libs/codemirror/demo/complete.html +70 -0
  333. data/public/libs/codemirror/demo/emacs.html +60 -0
  334. data/public/libs/codemirror/demo/folding.html +69 -0
  335. data/public/libs/codemirror/demo/fullscreen.html +147 -0
  336. data/public/libs/codemirror/demo/html5complete.html +92 -0
  337. data/public/libs/codemirror/demo/indentwrap.html +49 -0
  338. data/public/libs/codemirror/demo/lint.html +90 -0
  339. data/public/libs/codemirror/demo/loadmode.html +40 -0
  340. data/public/libs/codemirror/demo/marker.html +59 -0
  341. data/public/libs/codemirror/demo/markselection.html +36 -0
  342. data/public/libs/codemirror/demo/matchhighlighter.html +38 -0
  343. data/public/libs/codemirror/demo/multiplex.html +60 -0
  344. data/public/libs/codemirror/demo/mustache.html +59 -0
  345. data/public/libs/codemirror/demo/placeholder.html +36 -0
  346. data/public/libs/codemirror/demo/preview.html +76 -0
  347. data/public/libs/codemirror/demo/resize.html +49 -0
  348. data/public/libs/codemirror/demo/runmode.html +50 -0
  349. data/public/libs/codemirror/demo/search.html +85 -0
  350. data/public/libs/codemirror/demo/spanaffectswrapping_shim.html +73 -0
  351. data/public/libs/codemirror/demo/theme.html +89 -0
  352. data/public/libs/codemirror/demo/variableheight.html +52 -0
  353. data/public/libs/codemirror/demo/vim.html +65 -0
  354. data/public/libs/codemirror/demo/visibletabs.html +53 -0
  355. data/public/libs/codemirror/demo/widget.html +74 -0
  356. data/public/libs/codemirror/demo/xmlcomplete.html +81 -0
  357. data/public/libs/codemirror/index.html +487 -0
  358. data/public/libs/codemirror/keymap/emacs.js +30 -0
  359. data/public/libs/codemirror/keymap/vim.js +3044 -0
  360. data/public/libs/codemirror/lib/codemirror.css +253 -0
  361. data/public/libs/codemirror/lib/codemirror.js +5585 -0
  362. data/public/libs/codemirror/mode/apl/apl.js +160 -0
  363. data/public/libs/codemirror/mode/apl/index.html +61 -0
  364. data/public/libs/codemirror/mode/asterisk/asterisk.js +183 -0
  365. data/public/libs/codemirror/mode/asterisk/index.html +142 -0
  366. data/public/libs/codemirror/mode/clike/clike.js +302 -0
  367. data/public/libs/codemirror/mode/clike/index.html +103 -0
  368. data/public/libs/codemirror/mode/clike/scala.html +767 -0
  369. data/public/libs/codemirror/mode/clojure/clojure.js +222 -0
  370. data/public/libs/codemirror/mode/clojure/index.html +76 -0
  371. data/public/libs/codemirror/mode/coffeescript/LICENSE +22 -0
  372. data/public/libs/codemirror/mode/coffeescript/coffeescript.js +346 -0
  373. data/public/libs/codemirror/mode/coffeescript/index.html +728 -0
  374. data/public/libs/codemirror/mode/commonlisp/commonlisp.js +101 -0
  375. data/public/libs/codemirror/mode/commonlisp/index.html +165 -0
  376. data/public/libs/codemirror/mode/css/css.js +567 -0
  377. data/public/libs/codemirror/mode/css/index.html +58 -0
  378. data/public/libs/codemirror/mode/css/scss.html +145 -0
  379. data/public/libs/codemirror/mode/css/scss_test.js +80 -0
  380. data/public/libs/codemirror/mode/css/test.js +113 -0
  381. data/public/libs/codemirror/mode/d/d.js +205 -0
  382. data/public/libs/codemirror/mode/d/index.html +262 -0
  383. data/public/libs/codemirror/mode/diff/diff.js +32 -0
  384. data/public/libs/codemirror/mode/diff/index.html +105 -0
  385. data/public/libs/codemirror/mode/ecl/ecl.js +192 -0
  386. data/public/libs/codemirror/mode/ecl/index.html +39 -0
  387. data/public/libs/codemirror/mode/erlang/erlang.js +463 -0
  388. data/public/libs/codemirror/mode/erlang/index.html +64 -0
  389. data/public/libs/codemirror/mode/gas/gas.js +326 -0
  390. data/public/libs/codemirror/mode/gas/index.html +57 -0
  391. data/public/libs/codemirror/mode/gfm/gfm.js +96 -0
  392. data/public/libs/codemirror/mode/gfm/index.html +74 -0
  393. data/public/libs/codemirror/mode/gfm/test.js +112 -0
  394. data/public/libs/codemirror/mode/go/go.js +165 -0
  395. data/public/libs/codemirror/mode/go/index.html +74 -0
  396. data/public/libs/codemirror/mode/groovy/groovy.js +210 -0
  397. data/public/libs/codemirror/mode/groovy/index.html +73 -0
  398. data/public/libs/codemirror/mode/haskell/haskell.js +242 -0
  399. data/public/libs/codemirror/mode/haskell/index.html +62 -0
  400. data/public/libs/codemirror/mode/haxe/haxe.js +429 -0
  401. data/public/libs/codemirror/mode/haxe/index.html +90 -0
  402. data/public/libs/codemirror/mode/htmlembedded/htmlembedded.js +73 -0
  403. data/public/libs/codemirror/mode/htmlembedded/index.html +49 -0
  404. data/public/libs/codemirror/mode/htmlmixed/htmlmixed.js +104 -0
  405. data/public/libs/codemirror/mode/htmlmixed/index.html +73 -0
  406. data/public/libs/codemirror/mode/http/http.js +98 -0
  407. data/public/libs/codemirror/mode/http/index.html +32 -0
  408. data/public/libs/codemirror/mode/javascript/index.html +92 -0
  409. data/public/libs/codemirror/mode/javascript/javascript.js +467 -0
  410. data/public/libs/codemirror/mode/javascript/typescript.html +48 -0
  411. data/public/libs/codemirror/mode/jinja2/index.html +38 -0
  412. data/public/libs/codemirror/mode/jinja2/jinja2.js +42 -0
  413. data/public/libs/codemirror/mode/less/index.html +741 -0
  414. data/public/libs/codemirror/mode/less/less.js +266 -0
  415. data/public/libs/codemirror/mode/livescript/LICENSE +23 -0
  416. data/public/libs/codemirror/mode/livescript/index.html +446 -0
  417. data/public/libs/codemirror/mode/livescript/livescript.js +267 -0
  418. data/public/libs/codemirror/mode/livescript/livescript.ls +266 -0
  419. data/public/libs/codemirror/mode/lua/index.html +74 -0
  420. data/public/libs/codemirror/mode/lua/lua.js +140 -0
  421. data/public/libs/codemirror/mode/markdown/index.html +344 -0
  422. data/public/libs/codemirror/mode/markdown/markdown.js +526 -0
  423. data/public/libs/codemirror/mode/markdown/test.js +636 -0
  424. data/public/libs/codemirror/mode/meta.js +75 -0
  425. data/public/libs/codemirror/mode/mirc/index.html +149 -0
  426. data/public/libs/codemirror/mode/mirc/mirc.js +177 -0
  427. data/public/libs/codemirror/mode/ntriples/index.html +33 -0
  428. data/public/libs/codemirror/mode/ntriples/ntriples.js +170 -0
  429. data/public/libs/codemirror/mode/ocaml/index.html +131 -0
  430. data/public/libs/codemirror/mode/ocaml/ocaml.js +113 -0
  431. data/public/libs/codemirror/mode/pascal/LICENSE +7 -0
  432. data/public/libs/codemirror/mode/pascal/index.html +48 -0
  433. data/public/libs/codemirror/mode/pascal/pascal.js +94 -0
  434. data/public/libs/codemirror/mode/perl/LICENSE +19 -0
  435. data/public/libs/codemirror/mode/perl/index.html +62 -0
  436. data/public/libs/codemirror/mode/perl/perl.js +816 -0
  437. data/public/libs/codemirror/mode/php/index.html +51 -0
  438. data/public/libs/codemirror/mode/php/php.js +129 -0
  439. data/public/libs/codemirror/mode/pig/index.html +42 -0
  440. data/public/libs/codemirror/mode/pig/pig.js +171 -0
  441. data/public/libs/codemirror/mode/properties/index.html +41 -0
  442. data/public/libs/codemirror/mode/properties/properties.js +63 -0
  443. data/public/libs/codemirror/mode/python/LICENSE.txt +21 -0
  444. data/public/libs/codemirror/mode/python/index.html +135 -0
  445. data/public/libs/codemirror/mode/python/python.js +340 -0
  446. data/public/libs/codemirror/mode/q/index.html +131 -0
  447. data/public/libs/codemirror/mode/q/q.js +124 -0
  448. data/public/libs/codemirror/mode/r/LICENSE +24 -0
  449. data/public/libs/codemirror/mode/r/index.html +74 -0
  450. data/public/libs/codemirror/mode/r/r.js +141 -0
  451. data/public/libs/codemirror/mode/rpm/changes/changes.js +19 -0
  452. data/public/libs/codemirror/mode/rpm/changes/index.html +53 -0
  453. data/public/libs/codemirror/mode/rpm/spec/index.html +99 -0
  454. data/public/libs/codemirror/mode/rpm/spec/spec.css +5 -0
  455. data/public/libs/codemirror/mode/rpm/spec/spec.js +66 -0
  456. data/public/libs/codemirror/mode/rst/LICENSE.txt +21 -0
  457. data/public/libs/codemirror/mode/rst/index.html +524 -0
  458. data/public/libs/codemirror/mode/rst/rst.js +550 -0
  459. data/public/libs/codemirror/mode/ruby/LICENSE +24 -0
  460. data/public/libs/codemirror/mode/ruby/index.html +173 -0
  461. data/public/libs/codemirror/mode/ruby/ruby.js +197 -0
  462. data/public/libs/codemirror/mode/rust/index.html +48 -0
  463. data/public/libs/codemirror/mode/rust/rust.js +432 -0
  464. data/public/libs/codemirror/mode/sass/index.html +54 -0
  465. data/public/libs/codemirror/mode/sass/sass.js +349 -0
  466. data/public/libs/codemirror/mode/scheme/index.html +65 -0
  467. data/public/libs/codemirror/mode/scheme/scheme.js +230 -0
  468. data/public/libs/codemirror/mode/shell/index.html +51 -0
  469. data/public/libs/codemirror/mode/shell/shell.js +118 -0
  470. data/public/libs/codemirror/mode/sieve/LICENSE +19 -0
  471. data/public/libs/codemirror/mode/sieve/index.html +81 -0
  472. data/public/libs/codemirror/mode/sieve/sieve.js +183 -0
  473. data/public/libs/codemirror/mode/smalltalk/index.html +57 -0
  474. data/public/libs/codemirror/mode/smalltalk/smalltalk.js +141 -0
  475. data/public/libs/codemirror/mode/smarty/index.html +83 -0
  476. data/public/libs/codemirror/mode/smarty/smarty.js +148 -0
  477. data/public/libs/codemirror/mode/sparql/index.html +42 -0
  478. data/public/libs/codemirror/mode/sparql/sparql.js +143 -0
  479. data/public/libs/codemirror/mode/sql/index.html +68 -0
  480. data/public/libs/codemirror/mode/sql/sql.js +268 -0
  481. data/public/libs/codemirror/mode/stex/index.html +98 -0
  482. data/public/libs/codemirror/mode/stex/stex.js +246 -0
  483. data/public/libs/codemirror/mode/stex/test.js +117 -0
  484. data/public/libs/codemirror/mode/tcl/index.html +129 -0
  485. data/public/libs/codemirror/mode/tcl/tcl.js +131 -0
  486. data/public/libs/codemirror/mode/tiddlywiki/index.html +142 -0
  487. data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  488. data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.js +353 -0
  489. data/public/libs/codemirror/mode/tiki/index.html +81 -0
  490. data/public/libs/codemirror/mode/tiki/tiki.css +26 -0
  491. data/public/libs/codemirror/mode/tiki/tiki.js +308 -0
  492. data/public/libs/codemirror/mode/turtle/index.html +39 -0
  493. data/public/libs/codemirror/mode/turtle/turtle.js +145 -0
  494. data/public/libs/codemirror/mode/vb/LICENSE.txt +21 -0
  495. data/public/libs/codemirror/mode/vb/index.html +88 -0
  496. data/public/libs/codemirror/mode/vb/vb.js +259 -0
  497. data/public/libs/codemirror/mode/vbscript/index.html +42 -0
  498. data/public/libs/codemirror/mode/vbscript/vbscript.js +26 -0
  499. data/public/libs/codemirror/mode/velocity/index.html +103 -0
  500. data/public/libs/codemirror/mode/velocity/velocity.js +144 -0
  501. data/public/libs/codemirror/mode/verilog/index.html +121 -0
  502. data/public/libs/codemirror/mode/verilog/verilog.js +182 -0
  503. data/public/libs/codemirror/mode/xml/index.html +45 -0
  504. data/public/libs/codemirror/mode/xml/xml.js +328 -0
  505. data/public/libs/codemirror/mode/xquery/LICENSE +20 -0
  506. data/public/libs/codemirror/mode/xquery/index.html +221 -0
  507. data/public/libs/codemirror/mode/xquery/test.js +64 -0
  508. data/public/libs/codemirror/mode/xquery/xquery.js +450 -0
  509. data/public/libs/codemirror/mode/yaml/index.html +68 -0
  510. data/public/libs/codemirror/mode/yaml/yaml.js +95 -0
  511. data/public/libs/codemirror/mode/z80/index.html +39 -0
  512. data/public/libs/codemirror/mode/z80/z80.js +85 -0
  513. data/public/libs/codemirror/package.json +21 -0
  514. data/public/libs/codemirror/test/doc_test.js +329 -0
  515. data/public/libs/codemirror/test/driver.js +138 -0
  516. data/public/libs/codemirror/test/index.html +182 -0
  517. data/public/libs/codemirror/test/lint/acorn.js +1593 -0
  518. data/public/libs/codemirror/test/lint/lint.js +112 -0
  519. data/public/libs/codemirror/test/lint/parse-js.js +1372 -0
  520. data/public/libs/codemirror/test/lint/walk.js +216 -0
  521. data/public/libs/codemirror/test/mode_test.css +10 -0
  522. data/public/libs/codemirror/test/mode_test.js +192 -0
  523. data/public/libs/codemirror/test/phantom_driver.js +31 -0
  524. data/public/libs/codemirror/test/run.js +33 -0
  525. data/public/libs/codemirror/test/test.js +1400 -0
  526. data/public/libs/codemirror/test/vim_test.js +1688 -0
  527. data/public/libs/codemirror/theme/ambiance-mobile.css +5 -0
  528. data/public/libs/codemirror/theme/ambiance.css +75 -0
  529. data/public/libs/codemirror/theme/blackboard.css +25 -0
  530. data/public/libs/codemirror/theme/cobalt.css +18 -0
  531. data/public/libs/codemirror/theme/eclipse.css +25 -0
  532. data/public/libs/codemirror/theme/elegant.css +10 -0
  533. data/public/libs/codemirror/theme/erlang-dark.css +21 -0
  534. data/public/libs/codemirror/theme/lesser-dark.css +44 -0
  535. data/public/libs/codemirror/theme/midnight.css +52 -0
  536. data/public/libs/codemirror/theme/monokai.css +28 -0
  537. data/public/libs/codemirror/theme/neat.css +9 -0
  538. data/public/libs/codemirror/theme/night.css +21 -0
  539. data/public/libs/codemirror/theme/rubyblue.css +21 -0
  540. data/public/libs/codemirror/theme/solarized.css +207 -0
  541. data/public/libs/codemirror/theme/twilight.css +26 -0
  542. data/public/libs/codemirror/theme/vibrant-ink.css +27 -0
  543. data/public/libs/codemirror/theme/xq-dark.css +46 -0
  544. data/public/libs/codemirror/theme/xq-light.css +43 -0
  545. data/public/libs/font-awesome/css/font-awesome-ie7.css +983 -0
  546. data/public/libs/font-awesome/css/font-awesome-ie7.min.css +24 -0
  547. data/public/libs/font-awesome/css/font-awesome.css +1268 -0
  548. data/public/libs/font-awesome/css/font-awesome.min.css +24 -0
  549. data/public/libs/font-awesome/font/FontAwesome.otf +0 -0
  550. data/public/libs/font-awesome/font/fontawesome-webfont.eot +0 -0
  551. data/public/libs/font-awesome/font/fontawesome-webfont.svg +339 -0
  552. data/public/libs/font-awesome/font/fontawesome-webfont.ttf +0 -0
  553. data/public/libs/font-awesome/font/fontawesome-webfont.woff +0 -0
  554. data/public/libs/font-awesome/less/bootstrap.less +78 -0
  555. data/public/libs/font-awesome/less/core.less +132 -0
  556. data/public/libs/font-awesome/less/extras.less +79 -0
  557. data/public/libs/font-awesome/less/font-awesome-ie7.less +413 -0
  558. data/public/libs/font-awesome/less/font-awesome.less +32 -0
  559. data/public/libs/font-awesome/less/icons.less +330 -0
  560. data/public/libs/font-awesome/less/mixins.less +34 -0
  561. data/public/libs/font-awesome/less/path.less +15 -0
  562. data/public/libs/font-awesome/less/variables.less +9 -0
  563. data/public/libs/jquery-1.10.0.min.js +6 -0
  564. data/public/libs/jquery-ui.min.js +12 -0
  565. data/public/libs/jquery.jsPlumb-1.4.0-all.js +9571 -0
  566. data/public/libs/jquery.livequery.js +226 -0
  567. data/public/libs/jsPlumbInitializer.js +72 -0
  568. data/public/libs/jstree/README.txt +10 -0
  569. data/public/libs/jstree/_demo/_dump.sql +20 -0
  570. data/public/libs/jstree/_demo/_inc/__mysql_errors.log +0 -0
  571. data/public/libs/jstree/_demo/_inc/class._database.php +146 -0
  572. data/public/libs/jstree/_demo/_inc/class._database_i.php +152 -0
  573. data/public/libs/jstree/_demo/_inc/class.tree.php +602 -0
  574. data/public/libs/jstree/_demo/_install.txt +6 -0
  575. data/public/libs/jstree/_demo/config.php +14 -0
  576. data/public/libs/jstree/_demo/file.png +0 -0
  577. data/public/libs/jstree/_demo/folder.png +0 -0
  578. data/public/libs/jstree/_demo/index.html +461 -0
  579. data/public/libs/jstree/_demo/root.png +0 -0
  580. data/public/libs/jstree/_demo/server.php +69 -0
  581. data/public/libs/jstree/_docs/!style.css +48 -0
  582. data/public/libs/jstree/_docs/_drive.png +0 -0
  583. data/public/libs/jstree/_docs/_html_data.html +2 -0
  584. data/public/libs/jstree/_docs/_json_data.json +4 -0
  585. data/public/libs/jstree/_docs/_search_data.json +6 -0
  586. data/public/libs/jstree/_docs/_search_result.json +1 -0
  587. data/public/libs/jstree/_docs/_xml_flat.xml +12 -0
  588. data/public/libs/jstree/_docs/_xml_nest.xml +18 -0
  589. data/public/libs/jstree/_docs/checkbox.html +171 -0
  590. data/public/libs/jstree/_docs/contextmenu.html +121 -0
  591. data/public/libs/jstree/_docs/cookies.html +97 -0
  592. data/public/libs/jstree/_docs/core.html +689 -0
  593. data/public/libs/jstree/_docs/crrm.html +316 -0
  594. data/public/libs/jstree/_docs/dnd.html +199 -0
  595. data/public/libs/jstree/_docs/hotkeys.html +82 -0
  596. data/public/libs/jstree/_docs/html_data.html +175 -0
  597. data/public/libs/jstree/_docs/index.html +86 -0
  598. data/public/libs/jstree/_docs/json_data.html +249 -0
  599. data/public/libs/jstree/_docs/languages.html +152 -0
  600. data/public/libs/jstree/_docs/logo.png +0 -0
  601. data/public/libs/jstree/_docs/search.html +153 -0
  602. data/public/libs/jstree/_docs/sort.html +85 -0
  603. data/public/libs/jstree/_docs/syntax/!script.js +2232 -0
  604. data/public/libs/jstree/_docs/syntax/!style.css +511 -0
  605. data/public/libs/jstree/_docs/syntax/clipboard.swf +0 -0
  606. data/public/libs/jstree/_docs/syntax/help.png +0 -0
  607. data/public/libs/jstree/_docs/syntax/magnifier.png +0 -0
  608. data/public/libs/jstree/_docs/syntax/page_white_code.png +0 -0
  609. data/public/libs/jstree/_docs/syntax/page_white_copy.png +0 -0
  610. data/public/libs/jstree/_docs/syntax/printer.png +0 -0
  611. data/public/libs/jstree/_docs/syntax/wrapping.png +0 -0
  612. data/public/libs/jstree/_docs/themeroller.html +107 -0
  613. data/public/libs/jstree/_docs/themes.html +127 -0
  614. data/public/libs/jstree/_docs/types.html +178 -0
  615. data/public/libs/jstree/_docs/ui.html +197 -0
  616. data/public/libs/jstree/_docs/unique.html +85 -0
  617. data/public/libs/jstree/_docs/xml_data.html +218 -0
  618. data/public/libs/jstree/_lib/jquery.cookie.js +96 -0
  619. data/public/libs/jstree/_lib/jquery.hotkeys.js +99 -0
  620. data/public/libs/jstree/_lib/jquery.js +5 -0
  621. data/public/libs/jstree/jquery.jstree.js +4564 -0
  622. data/public/libs/jstree/themes/apple/bg.jpg +0 -0
  623. data/public/libs/jstree/themes/apple/d.png +0 -0
  624. data/public/libs/jstree/themes/apple/dot_for_ie.gif +0 -0
  625. data/public/libs/jstree/themes/apple/style.css +61 -0
  626. data/public/libs/jstree/themes/apple/throbber.gif +0 -0
  627. data/public/libs/jstree/themes/classic/d.gif +0 -0
  628. data/public/libs/jstree/themes/classic/d.png +0 -0
  629. data/public/libs/jstree/themes/classic/dot_for_ie.gif +0 -0
  630. data/public/libs/jstree/themes/classic/style.css +77 -0
  631. data/public/libs/jstree/themes/classic/throbber.gif +0 -0
  632. data/public/libs/jstree/themes/default-rtl/d.gif +0 -0
  633. data/public/libs/jstree/themes/default-rtl/d.png +0 -0
  634. data/public/libs/jstree/themes/default-rtl/dots.gif +0 -0
  635. data/public/libs/jstree/themes/default-rtl/style.css +84 -0
  636. data/public/libs/jstree/themes/default-rtl/throbber.gif +0 -0
  637. data/public/libs/jstree/themes/default/d.gif +0 -0
  638. data/public/libs/jstree/themes/default/d.png +0 -0
  639. data/public/libs/jstree/themes/default/style.css +74 -0
  640. data/public/libs/jstree/themes/default/throbber.gif +0 -0
  641. data/public/themes/geo-bootstrap/README.md +25 -0
  642. data/public/themes/geo-bootstrap/img/flames.gif +0 -0
  643. data/public/themes/geo-bootstrap/img/glyphicons-halflings-white.png +0 -0
  644. data/public/themes/geo-bootstrap/img/glyphicons-halflings.png +0 -0
  645. data/public/themes/geo-bootstrap/img/microfab.gif +0 -0
  646. data/public/themes/geo-bootstrap/img/progress.gif +0 -0
  647. data/public/themes/geo-bootstrap/img/rainbow.gif +0 -0
  648. data/public/themes/geo-bootstrap/img/stars.gif +0 -0
  649. data/public/themes/geo-bootstrap/img/test/7upspot.gif +0 -0
  650. data/public/themes/geo-bootstrap/img/test/americanflag.gif +0 -0
  651. data/public/themes/geo-bootstrap/img/test/community.gif +0 -0
  652. data/public/themes/geo-bootstrap/img/test/computer-01.gif +0 -0
  653. data/public/themes/geo-bootstrap/img/test/computer.gif +0 -0
  654. data/public/themes/geo-bootstrap/img/test/construction.gif +0 -0
  655. data/public/themes/geo-bootstrap/img/test/counter.gif +0 -0
  656. data/public/themes/geo-bootstrap/img/test/counter2.gif +0 -0
  657. data/public/themes/geo-bootstrap/img/test/divider.gif +0 -0
  658. data/public/themes/geo-bootstrap/img/test/divider1.gif +0 -0
  659. data/public/themes/geo-bootstrap/img/test/divider2.gif +0 -0
  660. data/public/themes/geo-bootstrap/img/test/divider3.gif +0 -0
  661. data/public/themes/geo-bootstrap/img/test/divider4.gif +0 -0
  662. data/public/themes/geo-bootstrap/img/test/drudgesiren.gif +0 -0
  663. data/public/themes/geo-bootstrap/img/test/emailme.gif +0 -0
  664. data/public/themes/geo-bootstrap/img/test/funky.gif +0 -0
  665. data/public/themes/geo-bootstrap/img/test/geocities.jpg +0 -0
  666. data/public/themes/geo-bootstrap/img/test/hacker.gif +0 -0
  667. data/public/themes/geo-bootstrap/img/test/heart.gif +0 -0
  668. data/public/themes/geo-bootstrap/img/test/hot.gif +0 -0
  669. data/public/themes/geo-bootstrap/img/test/ie_logo.gif +0 -0
  670. data/public/themes/geo-bootstrap/img/test/mailkitten.gif +0 -0
  671. data/public/themes/geo-bootstrap/img/test/mchammer.gif +0 -0
  672. data/public/themes/geo-bootstrap/img/test/new.gif +0 -0
  673. data/public/themes/geo-bootstrap/img/test/new2.gif +0 -0
  674. data/public/themes/geo-bootstrap/img/test/noframes.gif +0 -0
  675. data/public/themes/geo-bootstrap/img/test/notepad.gif +0 -0
  676. data/public/themes/geo-bootstrap/img/test/ns_logo.gif +0 -0
  677. data/public/themes/geo-bootstrap/img/test/sign-in.gif +0 -0
  678. data/public/themes/geo-bootstrap/img/test/spinningearth.gif +0 -0
  679. data/public/themes/geo-bootstrap/img/test/underconstruction.gif +0 -0
  680. data/public/themes/geo-bootstrap/img/test/wabwalk.gif +0 -0
  681. data/public/themes/geo-bootstrap/img/test/webtrips.gif +0 -0
  682. data/public/themes/geo-bootstrap/img/test/yahooweek.gif +0 -0
  683. data/public/themes/geo-bootstrap/package.json +21 -0
  684. data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.css +1109 -0
  685. data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.min.css +9 -0
  686. data/public/themes/geo-bootstrap/swatch/bootstrap.css +6462 -0
  687. data/public/themes/geo-bootstrap/swatch/bootstrap.min.css +9 -0
  688. metadata +791 -0
@@ -0,0 +1,1095 @@
1
+ smalltalk.addPackage('Kernel-Classes', {});
2
+ smalltalk.addClass('Behavior', smalltalk.Object, [], 'Kernel-Classes');
3
+ smalltalk.Behavior.comment=unescape('Behavior%20is%20the%20superclass%20of%20all%20class%20objects.%20%0A%0AIt%20defines%20the%20protocol%20for%20creating%20instances%20of%20a%20class%20with%20%60%23basicNew%60%20and%20%60%23new%60%20%28see%20%60boot.js%60%20for%20class%20constructors%20details%29.%0AInstances%20know%20about%20the%20subclass/superclass%20relationships%20between%20classes%2C%20contain%20the%20description%20that%20instances%20are%20created%20from%2C%20%0Aand%20hold%20the%20method%20dictionary%20that%27s%20associated%20with%20each%20class.%0A%0ABehavior%20also%20%20provides%20methods%20for%20compiling%20methods%2C%20examining%20the%20method%20dictionary%2C%20and%20iterating%20over%20the%20class%20hierarchy.')
4
+ smalltalk.addMethod(
5
+ unescape('_addCompiledMethod_'),
6
+ smalltalk.method({
7
+ selector: unescape('addCompiledMethod%3A'),
8
+ category: 'compiling',
9
+ fn: function (aMethod){
10
+ var self=this;
11
+ smalltalk.addMethod(aMethod.selector._asSelector(), aMethod, self);
12
+ return self;},
13
+ args: ["aMethod"],
14
+ source: unescape('addCompiledMethod%3A%20aMethod%0A%09%3Csmalltalk.addMethod%28aMethod.selector._asSelector%28%29%2C%20aMethod%2C%20self%29%3E'),
15
+ messageSends: [],
16
+ referencedClasses: []
17
+ }),
18
+ smalltalk.Behavior);
19
+
20
+ smalltalk.addMethod(
21
+ unescape('_allInstanceVariableNames'),
22
+ smalltalk.method({
23
+ selector: unescape('allInstanceVariableNames'),
24
+ category: 'accessing',
25
+ fn: function (){
26
+ var self=this;
27
+ var result=nil;
28
+ (result=smalltalk.send(smalltalk.send(self, "_instanceVariableNames", []), "_copy", []));
29
+ (($receiver = smalltalk.send(self, "_superclass", [])) != nil && $receiver != undefined) ? (function(){return smalltalk.send(result, "_addAll_", [smalltalk.send(smalltalk.send(self, "_superclass", []), "_allInstanceVariableNames", [])]);})() : nil;
30
+ return result;
31
+ return self;},
32
+ args: [],
33
+ source: unescape('allInstanceVariableNames%0A%09%7C%20result%20%7C%0A%09result%20%3A%3D%20self%20instanceVariableNames%20copy.%0A%09self%20superclass%20ifNotNil%3A%20%5B%0A%09%20%20%20%20result%20addAll%3A%20self%20superclass%20allInstanceVariableNames%5D.%0A%09%5Eresult'),
34
+ messageSends: ["copy", "instanceVariableNames", "ifNotNil:", "superclass", "addAll:", "allInstanceVariableNames"],
35
+ referencedClasses: []
36
+ }),
37
+ smalltalk.Behavior);
38
+
39
+ smalltalk.addMethod(
40
+ unescape('_allSubclasses'),
41
+ smalltalk.method({
42
+ selector: unescape('allSubclasses'),
43
+ category: 'accessing',
44
+ fn: function (){
45
+ var self=this;
46
+ var result=nil;
47
+ (result=smalltalk.send(self, "_subclasses", []));
48
+ smalltalk.send(smalltalk.send(self, "_subclasses", []), "_do_", [(function(each){return smalltalk.send(result, "_addAll_", [smalltalk.send(each, "_allSubclasses", [])]);})]);
49
+ return result;
50
+ return self;},
51
+ args: [],
52
+ source: unescape('allSubclasses%0A%09%7C%20result%20%7C%0A%09result%20%3A%3D%20self%20subclasses.%0A%09self%20subclasses%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20result%20addAll%3A%20each%20allSubclasses%5D.%0A%09%5Eresult'),
53
+ messageSends: ["subclasses", "do:", "addAll:", "allSubclasses"],
54
+ referencedClasses: []
55
+ }),
56
+ smalltalk.Behavior);
57
+
58
+ smalltalk.addMethod(
59
+ unescape('_basicNew'),
60
+ smalltalk.method({
61
+ selector: unescape('basicNew'),
62
+ category: 'instance creation',
63
+ fn: function (){
64
+ var self=this;
65
+ return new self.fn();
66
+ return self;},
67
+ args: [],
68
+ source: unescape('basicNew%0A%09%3Creturn%20new%20self.fn%28%29%3E'),
69
+ messageSends: [],
70
+ referencedClasses: []
71
+ }),
72
+ smalltalk.Behavior);
73
+
74
+ smalltalk.addMethod(
75
+ unescape('_comment'),
76
+ smalltalk.method({
77
+ selector: unescape('comment'),
78
+ category: 'accessing',
79
+ fn: function (){
80
+ var self=this;
81
+ return (($receiver = smalltalk.send(self, "_basicAt_", ["comment"])) == nil || $receiver == undefined) ? (function(){return "";})() : $receiver;
82
+ return self;},
83
+ args: [],
84
+ source: unescape('comment%0A%20%20%20%20%5E%28self%20basicAt%3A%20%27comment%27%29%20ifNil%3A%20%5B%27%27%5D'),
85
+ messageSends: ["ifNil:", "basicAt:"],
86
+ referencedClasses: []
87
+ }),
88
+ smalltalk.Behavior);
89
+
90
+ smalltalk.addMethod(
91
+ unescape('_comment_'),
92
+ smalltalk.method({
93
+ selector: unescape('comment%3A'),
94
+ category: 'accessing',
95
+ fn: function (aString){
96
+ var self=this;
97
+ smalltalk.send(self, "_basicAt_put_", ["comment", aString]);
98
+ return self;},
99
+ args: ["aString"],
100
+ source: unescape('comment%3A%20aString%0A%20%20%20%20self%20basicAt%3A%20%27comment%27%20put%3A%20aString'),
101
+ messageSends: ["basicAt:put:"],
102
+ referencedClasses: []
103
+ }),
104
+ smalltalk.Behavior);
105
+
106
+ smalltalk.addMethod(
107
+ unescape('_commentStamp'),
108
+ smalltalk.method({
109
+ selector: unescape('commentStamp'),
110
+ category: 'accessing',
111
+ fn: function (){
112
+ var self=this;
113
+ return (function($rec){smalltalk.send($rec, "_class_", [self]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.ClassCommentReader || ClassCommentReader), "_new", []));
114
+ return self;},
115
+ args: [],
116
+ source: unescape('commentStamp%0A%20%20%20%20%5EClassCommentReader%20new%0A%09class%3A%20self%3B%0A%09yourself'),
117
+ messageSends: ["class:", "yourself", "new"],
118
+ referencedClasses: ["ClassCommentReader"]
119
+ }),
120
+ smalltalk.Behavior);
121
+
122
+ smalltalk.addMethod(
123
+ unescape('_commentStamp_prior_'),
124
+ smalltalk.method({
125
+ selector: unescape('commentStamp%3Aprior%3A'),
126
+ category: 'accessing',
127
+ fn: function (aStamp, prior){
128
+ var self=this;
129
+ return smalltalk.send(self, "_commentStamp", []);
130
+ return self;},
131
+ args: ["aStamp", "prior"],
132
+ source: unescape('commentStamp%3A%20aStamp%20prior%3A%20prior%0A%20%20%20%20%20%20%20%20%5Eself%20commentStamp'),
133
+ messageSends: ["commentStamp"],
134
+ referencedClasses: []
135
+ }),
136
+ smalltalk.Behavior);
137
+
138
+ smalltalk.addMethod(
139
+ unescape('_compile_'),
140
+ smalltalk.method({
141
+ selector: unescape('compile%3A'),
142
+ category: 'compiling',
143
+ fn: function (aString){
144
+ var self=this;
145
+ smalltalk.send(self, "_compile_category_", [aString, ""]);
146
+ return self;},
147
+ args: ["aString"],
148
+ source: unescape('compile%3A%20aString%0A%09self%20compile%3A%20aString%20category%3A%20%27%27'),
149
+ messageSends: ["compile:category:"],
150
+ referencedClasses: []
151
+ }),
152
+ smalltalk.Behavior);
153
+
154
+ smalltalk.addMethod(
155
+ unescape('_compile_category_'),
156
+ smalltalk.method({
157
+ selector: unescape('compile%3Acategory%3A'),
158
+ category: 'compiling',
159
+ fn: function (aString, anotherString){
160
+ var self=this;
161
+ var method=nil;
162
+ (method=smalltalk.send(smalltalk.send((smalltalk.Compiler || Compiler), "_new", []), "_load_forClass_", [aString, self]));
163
+ smalltalk.send(method, "_category_", [anotherString]);
164
+ smalltalk.send(self, "_addCompiledMethod_", [method]);
165
+ return self;},
166
+ args: ["aString", "anotherString"],
167
+ source: unescape('compile%3A%20aString%20category%3A%20anotherString%0A%09%7C%20method%20%7C%0A%09method%20%3A%3D%20Compiler%20new%20load%3A%20aString%20forClass%3A%20self.%0A%09method%20category%3A%20anotherString.%0A%09self%20addCompiledMethod%3A%20method'),
168
+ messageSends: ["load:forClass:", "new", "category:", "addCompiledMethod:"],
169
+ referencedClasses: ["Compiler"]
170
+ }),
171
+ smalltalk.Behavior);
172
+
173
+ smalltalk.addMethod(
174
+ unescape('_inheritsFrom_'),
175
+ smalltalk.method({
176
+ selector: unescape('inheritsFrom%3A'),
177
+ category: 'testing',
178
+ fn: function (aClass){
179
+ var self=this;
180
+ return smalltalk.send(smalltalk.send(aClass, "_allSubclasses", []), "_includes_", [self]);
181
+ return self;},
182
+ args: ["aClass"],
183
+ source: unescape('inheritsFrom%3A%20aClass%0A%09%5EaClass%20allSubclasses%20includes%3A%20self'),
184
+ messageSends: ["includes:", "allSubclasses"],
185
+ referencedClasses: []
186
+ }),
187
+ smalltalk.Behavior);
188
+
189
+ smalltalk.addMethod(
190
+ unescape('_instanceVariableNames'),
191
+ smalltalk.method({
192
+ selector: unescape('instanceVariableNames'),
193
+ category: 'accessing',
194
+ fn: function (){
195
+ var self=this;
196
+ return self.iVarNames;
197
+ return self;},
198
+ args: [],
199
+ source: unescape('instanceVariableNames%0A%09%3Creturn%20self.iVarNames%3E'),
200
+ messageSends: [],
201
+ referencedClasses: []
202
+ }),
203
+ smalltalk.Behavior);
204
+
205
+ smalltalk.addMethod(
206
+ unescape('_methodAt_'),
207
+ smalltalk.method({
208
+ selector: unescape('methodAt%3A'),
209
+ category: 'accessing',
210
+ fn: function (aString){
211
+ var self=this;
212
+ return smalltalk.methods(self)[aString];
213
+ return self;},
214
+ args: ["aString"],
215
+ source: unescape('methodAt%3A%20aString%0A%09%3Creturn%20smalltalk.methods%28self%29%5BaString%5D%3E'),
216
+ messageSends: [],
217
+ referencedClasses: []
218
+ }),
219
+ smalltalk.Behavior);
220
+
221
+ smalltalk.addMethod(
222
+ unescape('_methodDictionary'),
223
+ smalltalk.method({
224
+ selector: unescape('methodDictionary'),
225
+ category: 'accessing',
226
+ fn: function (){
227
+ var self=this;
228
+ var dict = smalltalk.HashedCollection._new();
229
+ var methods = self.fn.prototype.methods;
230
+ for(var i in methods) {
231
+ if(methods[i].selector) {
232
+ dict._at_put_(methods[i].selector, methods[i]);
233
+ }
234
+ };
235
+ return dict;
236
+ return self;},
237
+ args: [],
238
+ source: unescape('methodDictionary%0A%09%3Cvar%20dict%20%3D%20smalltalk.HashedCollection._new%28%29%3B%0A%09var%20methods%20%3D%20self.fn.prototype.methods%3B%0A%09for%28var%20i%20in%20methods%29%20%7B%0A%09%09if%28methods%5Bi%5D.selector%29%20%7B%0A%09%09%09dict._at_put_%28methods%5Bi%5D.selector%2C%20methods%5Bi%5D%29%3B%0A%09%09%7D%0A%09%7D%3B%0A%09return%20dict%3E'),
239
+ messageSends: [],
240
+ referencedClasses: []
241
+ }),
242
+ smalltalk.Behavior);
243
+
244
+ smalltalk.addMethod(
245
+ unescape('_methodsFor_'),
246
+ smalltalk.method({
247
+ selector: unescape('methodsFor%3A'),
248
+ category: 'accessing',
249
+ fn: function (aString){
250
+ var self=this;
251
+ return (function($rec){smalltalk.send($rec, "_class_category_", [self, aString]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.ClassCategoryReader || ClassCategoryReader), "_new", []));
252
+ return self;},
253
+ args: ["aString"],
254
+ source: unescape('methodsFor%3A%20aString%0A%09%5EClassCategoryReader%20new%0A%09%20%20%20%20class%3A%20self%20category%3A%20aString%3B%0A%09%20%20%20%20yourself'),
255
+ messageSends: ["class:category:", "yourself", "new"],
256
+ referencedClasses: ["ClassCategoryReader"]
257
+ }),
258
+ smalltalk.Behavior);
259
+
260
+ smalltalk.addMethod(
261
+ unescape('_methodsFor_stamp_'),
262
+ smalltalk.method({
263
+ selector: unescape('methodsFor%3Astamp%3A'),
264
+ category: 'accessing',
265
+ fn: function (aString, aStamp){
266
+ var self=this;
267
+ return smalltalk.send(self, "_methodsFor_", [aString]);
268
+ return self;},
269
+ args: ["aString", "aStamp"],
270
+ source: unescape('methodsFor%3A%20aString%20stamp%3A%20aStamp%0A%09%22Added%20for%20compatibility%2C%20right%20now%20ignores%20stamp.%22%0A%09%5Eself%20methodsFor%3A%20aString'),
271
+ messageSends: ["methodsFor:"],
272
+ referencedClasses: []
273
+ }),
274
+ smalltalk.Behavior);
275
+
276
+ smalltalk.addMethod(
277
+ unescape('_name'),
278
+ smalltalk.method({
279
+ selector: unescape('name'),
280
+ category: 'accessing',
281
+ fn: function (){
282
+ var self=this;
283
+ return self.className || nil;
284
+ return self;},
285
+ args: [],
286
+ source: unescape('name%0A%09%3Creturn%20self.className%20%7C%7C%20nil%3E'),
287
+ messageSends: [],
288
+ referencedClasses: []
289
+ }),
290
+ smalltalk.Behavior);
291
+
292
+ smalltalk.addMethod(
293
+ unescape('_new'),
294
+ smalltalk.method({
295
+ selector: unescape('new'),
296
+ category: 'instance creation',
297
+ fn: function (){
298
+ var self=this;
299
+ return smalltalk.send(smalltalk.send(self, "_basicNew", []), "_initialize", []);
300
+ return self;},
301
+ args: [],
302
+ source: unescape('new%0A%09%5Eself%20basicNew%20initialize'),
303
+ messageSends: ["initialize", "basicNew"],
304
+ referencedClasses: []
305
+ }),
306
+ smalltalk.Behavior);
307
+
308
+ smalltalk.addMethod(
309
+ unescape('_protocols'),
310
+ smalltalk.method({
311
+ selector: unescape('protocols'),
312
+ category: 'accessing',
313
+ fn: function (){
314
+ var self=this;
315
+ var protocols=nil;
316
+ (protocols=smalltalk.send((smalltalk.Array || Array), "_new", []));
317
+ smalltalk.send(smalltalk.send(self, "_methodDictionary", []), "_do_", [(function(each){return ((($receiver = smalltalk.send(protocols, "_includes_", [smalltalk.send(each, "_category", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(protocols, "_add_", [smalltalk.send(each, "_category", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(protocols, "_add_", [smalltalk.send(each, "_category", [])]);})]));})]);
318
+ return smalltalk.send(protocols, "_sort", []);
319
+ return self;},
320
+ args: [],
321
+ source: unescape('protocols%0A%20%20%20%20%7C%20protocols%20%7C%0A%20%20%20%20protocols%20%3A%3D%20Array%20new.%0A%20%20%20%20self%20methodDictionary%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20%28protocols%20includes%3A%20each%20category%29%20ifFalse%3A%20%5B%0A%09%09protocols%20add%3A%20each%20category%5D%5D.%0A%20%20%20%20%5Eprotocols%20sort'),
322
+ messageSends: ["new", "do:", "methodDictionary", "ifFalse:", "includes:", "category", "add:", "sort"],
323
+ referencedClasses: ["Array"]
324
+ }),
325
+ smalltalk.Behavior);
326
+
327
+ smalltalk.addMethod(
328
+ unescape('_protocolsDo_'),
329
+ smalltalk.method({
330
+ selector: unescape('protocolsDo%3A'),
331
+ category: 'accessing',
332
+ fn: function (aBlock){
333
+ var self=this;
334
+ var methodsByCategory=nil;
335
+ (methodsByCategory=smalltalk.send((smalltalk.HashedCollection || HashedCollection), "_new", []));
336
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_methodDictionary", []), "_values", []), "_do_", [(function(m){return smalltalk.send(smalltalk.send(methodsByCategory, "_at_ifAbsentPut_", [smalltalk.send(m, "_category", []), (function(){return smalltalk.send((smalltalk.Array || Array), "_new", []);})]), "_add_", [m]);})]);
337
+ smalltalk.send(smalltalk.send(self, "_protocols", []), "_do_", [(function(category){return smalltalk.send(aBlock, "_value_value_", [category, smalltalk.send(methodsByCategory, "_at_", [category])]);})]);
338
+ return self;},
339
+ args: ["aBlock"],
340
+ source: unescape('protocolsDo%3A%20aBlock%0A%09%22Execute%20aBlock%20for%20each%20method%20category%20with%0A%09its%20collection%20of%20methods%20in%20the%20sort%20order%20of%20category%20name.%22%0A%0A%09%7C%20methodsByCategory%20%7C%0A%09methodsByCategory%20%3A%3D%20HashedCollection%20new.%0A%09self%20methodDictionary%20values%20do%3A%20%5B%3Am%20%7C%0A%09%09%28methodsByCategory%20at%3A%20m%20category%20ifAbsentPut%3A%20%5BArray%20new%5D%29%0A%20%09%09%09add%3A%20m%5D.%20%0A%09self%20protocols%20do%3A%20%5B%3Acategory%20%7C%0A%09%09aBlock%20value%3A%20category%20value%3A%20%28methodsByCategory%20at%3A%20category%29%5D'),
341
+ messageSends: ["new", "do:", "values", "methodDictionary", "add:", "at:ifAbsentPut:", "category", "protocols", "value:value:", "at:"],
342
+ referencedClasses: ["HashedCollection", "Array"]
343
+ }),
344
+ smalltalk.Behavior);
345
+
346
+ smalltalk.addMethod(
347
+ unescape('_prototype'),
348
+ smalltalk.method({
349
+ selector: unescape('prototype'),
350
+ category: 'accessing',
351
+ fn: function (){
352
+ var self=this;
353
+ return self.fn.prototype;
354
+ return self;},
355
+ args: [],
356
+ source: unescape('prototype%0A%09%3Creturn%20self.fn.prototype%3E'),
357
+ messageSends: [],
358
+ referencedClasses: []
359
+ }),
360
+ smalltalk.Behavior);
361
+
362
+ smalltalk.addMethod(
363
+ unescape('_removeCompiledMethod_'),
364
+ smalltalk.method({
365
+ selector: unescape('removeCompiledMethod%3A'),
366
+ category: 'compiling',
367
+ fn: function (aMethod){
368
+ var self=this;
369
+ delete self.fn.prototype[aMethod.selector._asSelector()];
370
+ delete self.fn.prototype.methods[aMethod.selector];
371
+ smalltalk.init(self);;
372
+ return self;},
373
+ args: ["aMethod"],
374
+ source: unescape('removeCompiledMethod%3A%20aMethod%0A%09%3Cdelete%20self.fn.prototype%5BaMethod.selector._asSelector%28%29%5D%3B%0A%09delete%20self.fn.prototype.methods%5BaMethod.selector%5D%3B%0A%09smalltalk.init%28self%29%3B%3E'),
375
+ messageSends: [],
376
+ referencedClasses: []
377
+ }),
378
+ smalltalk.Behavior);
379
+
380
+ smalltalk.addMethod(
381
+ unescape('_subclasses'),
382
+ smalltalk.method({
383
+ selector: unescape('subclasses'),
384
+ category: 'accessing',
385
+ fn: function (){
386
+ var self=this;
387
+ return smalltalk.subclasses(self);
388
+ return self;},
389
+ args: [],
390
+ source: unescape('subclasses%0A%09%3Creturn%20smalltalk.subclasses%28self%29%3E'),
391
+ messageSends: [],
392
+ referencedClasses: []
393
+ }),
394
+ smalltalk.Behavior);
395
+
396
+ smalltalk.addMethod(
397
+ unescape('_superclass'),
398
+ smalltalk.method({
399
+ selector: unescape('superclass'),
400
+ category: 'accessing',
401
+ fn: function (){
402
+ var self=this;
403
+ return self.superclass || nil;
404
+ return self;},
405
+ args: [],
406
+ source: unescape('superclass%0A%09%3Creturn%20self.superclass%20%7C%7C%20nil%3E'),
407
+ messageSends: [],
408
+ referencedClasses: []
409
+ }),
410
+ smalltalk.Behavior);
411
+
412
+ smalltalk.addMethod(
413
+ unescape('_withAllSubclasses'),
414
+ smalltalk.method({
415
+ selector: unescape('withAllSubclasses'),
416
+ category: 'accessing',
417
+ fn: function (){
418
+ var self=this;
419
+ return (function($rec){smalltalk.send($rec, "_addAll_", [smalltalk.send(self, "_allSubclasses", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Array || Array), "_with_", [self]));
420
+ return self;},
421
+ args: [],
422
+ source: unescape('withAllSubclasses%0A%09%5E%28Array%20with%3A%20self%29%20addAll%3A%20self%20allSubclasses%3B%20yourself'),
423
+ messageSends: ["addAll:", "allSubclasses", "yourself", "with:"],
424
+ referencedClasses: ["Array"]
425
+ }),
426
+ smalltalk.Behavior);
427
+
428
+
429
+
430
+ smalltalk.addClass('Class', smalltalk.Behavior, [], 'Kernel-Classes');
431
+ smalltalk.Class.comment=unescape('Class%20is%20__the__%20class%20object.%20%0A%0AInstances%20are%20the%20classes%20of%20the%20system.%0AClass%20creation%20is%20done%20throught%20a%20%60ClassBuilder%60')
432
+ smalltalk.addMethod(
433
+ unescape('_category'),
434
+ smalltalk.method({
435
+ selector: unescape('category'),
436
+ category: 'accessing',
437
+ fn: function (){
438
+ var self=this;
439
+ return (($receiver = smalltalk.send(self, "_package", [])) == nil || $receiver == undefined) ? (function(){return "Unclassified";})() : (function(){return smalltalk.send(smalltalk.send(self, "_package", []), "_name", []);})();
440
+ return self;},
441
+ args: [],
442
+ source: unescape('category%0A%09%5Eself%20package%20ifNil%3A%20%5B%27Unclassified%27%5D%20ifNotNil%3A%20%5Bself%20package%20name%5D'),
443
+ messageSends: ["ifNil:ifNotNil:", "package", "name"],
444
+ referencedClasses: []
445
+ }),
446
+ smalltalk.Class);
447
+
448
+ smalltalk.addMethod(
449
+ unescape('_isClass'),
450
+ smalltalk.method({
451
+ selector: unescape('isClass'),
452
+ category: 'testing',
453
+ fn: function (){
454
+ var self=this;
455
+ return true;
456
+ return self;},
457
+ args: [],
458
+ source: unescape('isClass%0A%09%5Etrue'),
459
+ messageSends: [],
460
+ referencedClasses: []
461
+ }),
462
+ smalltalk.Class);
463
+
464
+ smalltalk.addMethod(
465
+ unescape('_package'),
466
+ smalltalk.method({
467
+ selector: unescape('package'),
468
+ category: 'accessing',
469
+ fn: function (){
470
+ var self=this;
471
+ return self.pkg;
472
+ return self;},
473
+ args: [],
474
+ source: unescape('package%0A%09%3Creturn%20self.pkg%3E'),
475
+ messageSends: [],
476
+ referencedClasses: []
477
+ }),
478
+ smalltalk.Class);
479
+
480
+ smalltalk.addMethod(
481
+ unescape('_package_'),
482
+ smalltalk.method({
483
+ selector: unescape('package%3A'),
484
+ category: 'accessing',
485
+ fn: function (aPackage){
486
+ var self=this;
487
+ self.pkg = aPackage;
488
+ return self;},
489
+ args: ["aPackage"],
490
+ source: unescape('package%3A%20aPackage%0A%09%3Cself.pkg%20%3D%20aPackage%3E'),
491
+ messageSends: [],
492
+ referencedClasses: []
493
+ }),
494
+ smalltalk.Class);
495
+
496
+ smalltalk.addMethod(
497
+ unescape('_printString'),
498
+ smalltalk.method({
499
+ selector: unescape('printString'),
500
+ category: 'printing',
501
+ fn: function (){
502
+ var self=this;
503
+ return smalltalk.send(self, "_name", []);
504
+ return self;},
505
+ args: [],
506
+ source: unescape('printString%0A%09%5Eself%20name'),
507
+ messageSends: ["name"],
508
+ referencedClasses: []
509
+ }),
510
+ smalltalk.Class);
511
+
512
+ smalltalk.addMethod(
513
+ unescape('_rename_'),
514
+ smalltalk.method({
515
+ selector: unescape('rename%3A'),
516
+ category: 'accessing',
517
+ fn: function (aString){
518
+ var self=this;
519
+
520
+ smalltalk[aString] = self;
521
+ delete smalltalk[self.className];
522
+ self.className = aString;
523
+ ;
524
+ return self;},
525
+ args: ["aString"],
526
+ source: unescape('rename%3A%20aString%0A%09%3C%0A%09%09smalltalk%5BaString%5D%20%3D%20self%3B%0A%09%09delete%20smalltalk%5Bself.className%5D%3B%0A%09%09self.className%20%3D%20aString%3B%0A%09%3E'),
527
+ messageSends: [],
528
+ referencedClasses: []
529
+ }),
530
+ smalltalk.Class);
531
+
532
+ smalltalk.addMethod(
533
+ unescape('_subclass_instanceVariableNames_'),
534
+ smalltalk.method({
535
+ selector: unescape('subclass%3AinstanceVariableNames%3A'),
536
+ category: 'class creation',
537
+ fn: function (aString, anotherString){
538
+ var self=this;
539
+ return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, anotherString, nil]);
540
+ return self;},
541
+ args: ["aString", "anotherString"],
542
+ source: unescape('subclass%3A%20aString%20instanceVariableNames%3A%20anotherString%0A%09%22Kept%20for%20compatibility.%22%0A%09%5Eself%20subclass%3A%20aString%20instanceVariableNames%3A%20anotherString%20package%3A%20nil'),
543
+ messageSends: ["subclass:instanceVariableNames:package:"],
544
+ referencedClasses: []
545
+ }),
546
+ smalltalk.Class);
547
+
548
+ smalltalk.addMethod(
549
+ unescape('_subclass_instanceVariableNames_category_'),
550
+ smalltalk.method({
551
+ selector: unescape('subclass%3AinstanceVariableNames%3Acategory%3A'),
552
+ category: 'class creation',
553
+ fn: function (aString, aString2, aString3){
554
+ var self=this;
555
+ smalltalk.send(self, "_deprecatedAPI", []);
556
+ return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, aString2, aString3]);
557
+ return self;},
558
+ args: ["aString", "aString2", "aString3"],
559
+ source: unescape('subclass%3A%20aString%20instanceVariableNames%3A%20aString2%20category%3A%20aString3%0A%09%22Kept%20for%20compatibility.%22%0A%09self%20deprecatedAPI.%0A%09%5Eself%20subclass%3A%20aString%20instanceVariableNames%3A%20aString2%20package%3A%20aString3'),
560
+ messageSends: ["deprecatedAPI", "subclass:instanceVariableNames:package:"],
561
+ referencedClasses: []
562
+ }),
563
+ smalltalk.Class);
564
+
565
+ smalltalk.addMethod(
566
+ unescape('_subclass_instanceVariableNames_classVariableNames_poolDictionaries_category_'),
567
+ smalltalk.method({
568
+ selector: unescape('subclass%3AinstanceVariableNames%3AclassVariableNames%3ApoolDictionaries%3Acategory%3A'),
569
+ category: 'class creation',
570
+ fn: function (aString, aString2, classVars, pools, aString3){
571
+ var self=this;
572
+ return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, aString2, aString3]);
573
+ return self;},
574
+ args: ["aString", "aString2", "classVars", "pools", "aString3"],
575
+ source: unescape('subclass%3A%20aString%20instanceVariableNames%3A%20aString2%20classVariableNames%3A%20classVars%20poolDictionaries%3A%20pools%20category%3A%20aString3%0A%09%22Just%20ignore%20class%20variables%20and%20pools.%20Added%20for%20compatibility.%22%0A%09%5Eself%20subclass%3A%20aString%20instanceVariableNames%3A%20aString2%20package%3A%20aString3'),
576
+ messageSends: ["subclass:instanceVariableNames:package:"],
577
+ referencedClasses: []
578
+ }),
579
+ smalltalk.Class);
580
+
581
+ smalltalk.addMethod(
582
+ unescape('_subclass_instanceVariableNames_package_'),
583
+ smalltalk.method({
584
+ selector: unescape('subclass%3AinstanceVariableNames%3Apackage%3A'),
585
+ category: 'class creation',
586
+ fn: function (aString, aString2, aString3){
587
+ var self=this;
588
+ return smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_superclass_subclass_instanceVariableNames_package_", [self, smalltalk.send(aString, "_asString", []), aString2, aString3]);
589
+ return self;},
590
+ args: ["aString", "aString2", "aString3"],
591
+ source: unescape('subclass%3A%20aString%20instanceVariableNames%3A%20aString2%20package%3A%20aString3%0A%09%5EClassBuilder%20new%0A%09%20%20%20%20superclass%3A%20self%20subclass%3A%20aString%20asString%20instanceVariableNames%3A%20aString2%20package%3A%20aString3'),
592
+ messageSends: ["superclass:subclass:instanceVariableNames:package:", "new", "asString"],
593
+ referencedClasses: ["ClassBuilder"]
594
+ }),
595
+ smalltalk.Class);
596
+
597
+
598
+
599
+ smalltalk.addClass('Metaclass', smalltalk.Behavior, [], 'Kernel-Classes');
600
+ smalltalk.Metaclass.comment=unescape('Metaclass%20is%20the%20root%20of%20the%20class%20hierarchy.%0A%0AMetaclass%20instances%20are%20metaclasses%2C%20one%20for%20each%20real%20class.%20%0AMetaclass%20instances%20have%20a%20single%20instance%2C%20which%20they%20hold%20onto%2C%20which%20is%20the%20class%20that%20they%20are%20the%20metaclass%20of.')
601
+ smalltalk.addMethod(
602
+ unescape('_instanceClass'),
603
+ smalltalk.method({
604
+ selector: unescape('instanceClass'),
605
+ category: 'accessing',
606
+ fn: function (){
607
+ var self=this;
608
+ return self.instanceClass;
609
+ return self;},
610
+ args: [],
611
+ source: unescape('instanceClass%0A%09%3Creturn%20self.instanceClass%3E'),
612
+ messageSends: [],
613
+ referencedClasses: []
614
+ }),
615
+ smalltalk.Metaclass);
616
+
617
+ smalltalk.addMethod(
618
+ unescape('_instanceVariableNames_'),
619
+ smalltalk.method({
620
+ selector: unescape('instanceVariableNames%3A'),
621
+ category: 'accessing',
622
+ fn: function (aCollection){
623
+ var self=this;
624
+ smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_class_instanceVariableNames_", [self, aCollection]);
625
+ return self;},
626
+ args: ["aCollection"],
627
+ source: unescape('instanceVariableNames%3A%20aCollection%0A%09ClassBuilder%20new%0A%09%20%20%20%20class%3A%20self%20instanceVariableNames%3A%20aCollection'),
628
+ messageSends: ["class:instanceVariableNames:", "new"],
629
+ referencedClasses: ["ClassBuilder"]
630
+ }),
631
+ smalltalk.Metaclass);
632
+
633
+ smalltalk.addMethod(
634
+ unescape('_isMetaclass'),
635
+ smalltalk.method({
636
+ selector: unescape('isMetaclass'),
637
+ category: 'testing',
638
+ fn: function (){
639
+ var self=this;
640
+ return true;
641
+ return self;},
642
+ args: [],
643
+ source: unescape('isMetaclass%0A%09%5Etrue'),
644
+ messageSends: [],
645
+ referencedClasses: []
646
+ }),
647
+ smalltalk.Metaclass);
648
+
649
+ smalltalk.addMethod(
650
+ unescape('_printString'),
651
+ smalltalk.method({
652
+ selector: unescape('printString'),
653
+ category: 'printing',
654
+ fn: function (){
655
+ var self=this;
656
+ return smalltalk.send(smalltalk.send(smalltalk.send(self, "_instanceClass", []), "_name", []), "__comma", [" class"]);
657
+ return self;},
658
+ args: [],
659
+ source: unescape('printString%0A%09%5Eself%20instanceClass%20name%2C%20%27%20class%27'),
660
+ messageSends: [unescape("%2C"), "name", "instanceClass"],
661
+ referencedClasses: []
662
+ }),
663
+ smalltalk.Metaclass);
664
+
665
+
666
+
667
+ smalltalk.addClass('ClassBuilder', smalltalk.Object, [], 'Kernel-Classes');
668
+ smalltalk.ClassBuilder.comment=unescape('ClassBuilder%20is%20responsible%20for%20compiling%20new%20classes%20or%20modifying%20existing%20classes%20in%20the%20system.%0A%0ARather%20than%20using%20ClassBuilder%20directly%20to%20compile%20a%20class%2C%20use%20%60Class%20%3E%3E%20subclass%3AinstanceVariableNames%3Apackage%3A%60.')
669
+ smalltalk.addMethod(
670
+ unescape('_addSubclassOf_named_instanceVariableNames_'),
671
+ smalltalk.method({
672
+ selector: unescape('addSubclassOf%3Anamed%3AinstanceVariableNames%3A'),
673
+ category: 'private',
674
+ fn: function (aClass, aString, aCollection){
675
+ var self=this;
676
+ smalltalk.addClass(aString, aClass, aCollection);
677
+ return smalltalk[aString];
678
+ return self;},
679
+ args: ["aClass", "aString", "aCollection"],
680
+ source: unescape('addSubclassOf%3A%20aClass%20named%3A%20aString%20instanceVariableNames%3A%20aCollection%0A%09%3Csmalltalk.addClass%28aString%2C%20aClass%2C%20aCollection%29%3B%0A%09%20%20%20%20return%20smalltalk%5BaString%5D%3E'),
681
+ messageSends: [],
682
+ referencedClasses: []
683
+ }),
684
+ smalltalk.ClassBuilder);
685
+
686
+ smalltalk.addMethod(
687
+ unescape('_addSubclassOf_named_instanceVariableNames_package_'),
688
+ smalltalk.method({
689
+ selector: unescape('addSubclassOf%3Anamed%3AinstanceVariableNames%3Apackage%3A'),
690
+ category: 'private',
691
+ fn: function (aClass, aString, aCollection, packageName){
692
+ var self=this;
693
+ smalltalk.addClass(aString, aClass, aCollection, packageName);
694
+ return smalltalk[aString];
695
+ return self;},
696
+ args: ["aClass", "aString", "aCollection", "packageName"],
697
+ source: unescape('addSubclassOf%3A%20aClass%20named%3A%20aString%20instanceVariableNames%3A%20aCollection%20package%3A%20packageName%0A%09%3Csmalltalk.addClass%28aString%2C%20aClass%2C%20aCollection%2C%20packageName%29%3B%0A%09%20%20%20%20return%20smalltalk%5BaString%5D%3E'),
698
+ messageSends: [],
699
+ referencedClasses: []
700
+ }),
701
+ smalltalk.ClassBuilder);
702
+
703
+ smalltalk.addMethod(
704
+ unescape('_class_instanceVariableNames_'),
705
+ smalltalk.method({
706
+ selector: unescape('class%3AinstanceVariableNames%3A'),
707
+ category: 'class creation',
708
+ fn: function (aClass, aString){
709
+ var self=this;
710
+ ((($receiver = smalltalk.send(aClass, "_isMetaclass", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_error_", [smalltalk.send(smalltalk.send(aClass, "_name", []), "__comma", [" is not a metaclass"])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_error_", [smalltalk.send(smalltalk.send(aClass, "_name", []), "__comma", [" is not a metaclass"])]);})]));
711
+ smalltalk.send(aClass, "_basicAt_put_", ["iVarNames", smalltalk.send(self, "_instanceVariableNamesFor_", [aString])]);
712
+ smalltalk.send(self, "_setupClass_", [aClass]);
713
+ return self;},
714
+ args: ["aClass", "aString"],
715
+ source: unescape('class%3A%20aClass%20instanceVariableNames%3A%20aString%0A%09aClass%20isMetaclass%20ifFalse%3A%20%5Bself%20error%3A%20aClass%20name%2C%20%27%20is%20not%20a%20metaclass%27%5D.%0A%09aClass%20basicAt%3A%20%27iVarNames%27%20put%3A%20%28self%20instanceVariableNamesFor%3A%20aString%29.%0A%09self%20setupClass%3A%20aClass'),
716
+ messageSends: ["ifFalse:", "isMetaclass", "error:", unescape("%2C"), "name", "basicAt:put:", "instanceVariableNamesFor:", "setupClass:"],
717
+ referencedClasses: []
718
+ }),
719
+ smalltalk.ClassBuilder);
720
+
721
+ smalltalk.addMethod(
722
+ unescape('_copyClass_named_'),
723
+ smalltalk.method({
724
+ selector: unescape('copyClass%3Anamed%3A'),
725
+ category: 'private',
726
+ fn: function (aClass, aString){
727
+ var self=this;
728
+ var newClass=nil;
729
+ (newClass=smalltalk.send(self, "_addSubclassOf_named_instanceVariableNames_package_", [smalltalk.send(aClass, "_superclass", []), aString, smalltalk.send(aClass, "_instanceVariableNames", []), smalltalk.send(smalltalk.send(aClass, "_package", []), "_name", [])]));
730
+ smalltalk.send(self, "_setupClass_", [newClass]);
731
+ smalltalk.send(smalltalk.send(smalltalk.send(aClass, "_methodDictionary", []), "_values", []), "_do_", [(function(each){smalltalk.send(newClass, "_addCompiledMethod_", [smalltalk.send(smalltalk.send((smalltalk.Compiler || Compiler), "_new", []), "_load_forClass_", [smalltalk.send(each, "_source", []), newClass])]);return smalltalk.send(smalltalk.send(smalltalk.send(newClass, "_methodDictionary", []), "_at_", [smalltalk.send(each, "_selector", [])]), "_category_", [smalltalk.send(each, "_category", [])]);})]);
732
+ smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(aClass, "_class", []), "_methodDictionary", []), "_values", []), "_do_", [(function(each){smalltalk.send(smalltalk.send(newClass, "_class", []), "_addCompiledMethod_", [smalltalk.send(smalltalk.send((smalltalk.Compiler || Compiler), "_new", []), "_load_forClass_", [smalltalk.send(each, "_source", []), smalltalk.send(newClass, "_class", [])])]);return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(newClass, "_class", []), "_methodDictionary", []), "_at_", [smalltalk.send(each, "_selector", [])]), "_category_", [smalltalk.send(each, "_category", [])]);})]);
733
+ smalltalk.send(self, "_setupClass_", [newClass]);
734
+ return newClass;
735
+ return self;},
736
+ args: ["aClass", "aString"],
737
+ source: unescape('copyClass%3A%20aClass%20named%3A%20aString%0A%09%7C%20newClass%20%7C%0A%0A%09newClass%20%3A%3D%20self%20%0A%09%09addSubclassOf%3A%20aClass%20superclass%0A%09%09named%3A%20aString%20%0A%09%09instanceVariableNames%3A%20aClass%20instanceVariableNames%20%0A%09%09package%3A%20aClass%20package%20name.%0A%0A%09self%20setupClass%3A%20newClass.%0A%0A%09aClass%20methodDictionary%20values%20do%3A%20%5B%3Aeach%20%7C%0A%09%09newClass%20addCompiledMethod%3A%20%28Compiler%20new%20load%3A%20each%20source%20forClass%3A%20newClass%29.%0A%09%09%28newClass%20methodDictionary%20at%3A%20each%20selector%29%20category%3A%20each%20category%5D.%0A%0A%09aClass%20class%20methodDictionary%20values%20do%3A%20%5B%3Aeach%20%7C%0A%09%09newClass%20class%20addCompiledMethod%3A%20%28Compiler%20new%20load%3A%20each%20source%20forClass%3A%20newClass%20class%29.%0A%09%09%28newClass%20class%20methodDictionary%20at%3A%20each%20selector%29%20category%3A%20each%20category%5D.%0A%0A%09self%20setupClass%3A%20newClass.%0A%09%5EnewClass'),
738
+ messageSends: ["addSubclassOf:named:instanceVariableNames:package:", "superclass", "instanceVariableNames", "name", "package", "setupClass:", "do:", "values", "methodDictionary", "addCompiledMethod:", "load:forClass:", "new", "source", "category:", "at:", "selector", "category", "class"],
739
+ referencedClasses: ["Compiler"]
740
+ }),
741
+ smalltalk.ClassBuilder);
742
+
743
+ smalltalk.addMethod(
744
+ unescape('_instanceVariableNamesFor_'),
745
+ smalltalk.method({
746
+ selector: unescape('instanceVariableNamesFor%3A'),
747
+ category: 'private',
748
+ fn: function (aString){
749
+ var self=this;
750
+ return smalltalk.send(smalltalk.send(aString, "_tokenize_", [" "]), "_reject_", [(function(each){return smalltalk.send(each, "_isEmpty", []);})]);
751
+ return self;},
752
+ args: ["aString"],
753
+ source: unescape('instanceVariableNamesFor%3A%20aString%0A%09%5E%28aString%20tokenize%3A%20%27%20%27%29%20reject%3A%20%5B%3Aeach%20%7C%20each%20isEmpty%5D'),
754
+ messageSends: ["reject:", "tokenize:", "isEmpty"],
755
+ referencedClasses: []
756
+ }),
757
+ smalltalk.ClassBuilder);
758
+
759
+ smalltalk.addMethod(
760
+ unescape('_setupClass_'),
761
+ smalltalk.method({
762
+ selector: unescape('setupClass%3A'),
763
+ category: 'private',
764
+ fn: function (aClass){
765
+ var self=this;
766
+ smalltalk.init(aClass);;
767
+ return self;},
768
+ args: ["aClass"],
769
+ source: unescape('setupClass%3A%20aClass%0A%09%3Csmalltalk.init%28aClass%29%3B%3E'),
770
+ messageSends: [],
771
+ referencedClasses: []
772
+ }),
773
+ smalltalk.ClassBuilder);
774
+
775
+ smalltalk.addMethod(
776
+ unescape('_superclass_subclass_'),
777
+ smalltalk.method({
778
+ selector: unescape('superclass%3Asubclass%3A'),
779
+ category: 'class creation',
780
+ fn: function (aClass, aString){
781
+ var self=this;
782
+ return smalltalk.send(self, "_superclass_subclass_instanceVariableNames_package_", [aClass, aString, "", nil]);
783
+ return self;},
784
+ args: ["aClass", "aString"],
785
+ source: unescape('superclass%3A%20aClass%20subclass%3A%20aString%0A%09%5Eself%20superclass%3A%20aClass%20subclass%3A%20aString%20instanceVariableNames%3A%20%27%27%20package%3A%20nil'),
786
+ messageSends: ["superclass:subclass:instanceVariableNames:package:"],
787
+ referencedClasses: []
788
+ }),
789
+ smalltalk.ClassBuilder);
790
+
791
+ smalltalk.addMethod(
792
+ unescape('_superclass_subclass_instanceVariableNames_package_'),
793
+ smalltalk.method({
794
+ selector: unescape('superclass%3Asubclass%3AinstanceVariableNames%3Apackage%3A'),
795
+ category: 'class creation',
796
+ fn: function (aClass, aString, aString2, aString3){
797
+ var self=this;
798
+ var newClass=nil;
799
+ (newClass=smalltalk.send(self, "_addSubclassOf_named_instanceVariableNames_package_", [aClass, aString, smalltalk.send(self, "_instanceVariableNamesFor_", [aString2]), (($receiver = aString3) == nil || $receiver == undefined) ? (function(){return "unclassified";})() : $receiver]));
800
+ smalltalk.send(self, "_setupClass_", [newClass]);
801
+ return newClass;
802
+ return self;},
803
+ args: ["aClass", "aString", "aString2", "aString3"],
804
+ source: unescape('superclass%3A%20aClass%20subclass%3A%20aString%20instanceVariableNames%3A%20aString2%20package%3A%20aString3%0A%09%7C%20newClass%20%7C%0A%09newClass%20%3A%3D%20self%20addSubclassOf%3A%20aClass%0A%09%09%09%09named%3A%20aString%20instanceVariableNames%3A%20%28self%20instanceVariableNamesFor%3A%20aString2%29%0A%09%09%09%09package%3A%20%28aString3%20ifNil%3A%20%5B%27unclassified%27%5D%29.%0A%09self%20setupClass%3A%20newClass.%0A%09%5EnewClass'),
805
+ messageSends: ["addSubclassOf:named:instanceVariableNames:package:", "instanceVariableNamesFor:", "ifNil:", "setupClass:"],
806
+ referencedClasses: []
807
+ }),
808
+ smalltalk.ClassBuilder);
809
+
810
+
811
+
812
+ smalltalk.addClass('ClassCategoryReader', smalltalk.Object, ['class', 'category', 'chunkParser'], 'Kernel-Classes');
813
+ smalltalk.ClassCategoryReader.comment=unescape('ClassCategoryReader%20represents%20a%20mechanism%20for%20retrieving%20class%20descriptions%20stored%20on%20a%20file.')
814
+ smalltalk.addMethod(
815
+ unescape('_class_category_'),
816
+ smalltalk.method({
817
+ selector: unescape('class%3Acategory%3A'),
818
+ category: 'accessing',
819
+ fn: function (aClass, aString){
820
+ var self=this;
821
+ (self['@class']=aClass);
822
+ (self['@category']=aString);
823
+ return self;},
824
+ args: ["aClass", "aString"],
825
+ source: unescape('class%3A%20aClass%20category%3A%20aString%0A%09class%20%3A%3D%20aClass.%0A%09category%20%3A%3D%20aString'),
826
+ messageSends: [],
827
+ referencedClasses: []
828
+ }),
829
+ smalltalk.ClassCategoryReader);
830
+
831
+ smalltalk.addMethod(
832
+ unescape('_compileMethod_'),
833
+ smalltalk.method({
834
+ selector: unescape('compileMethod%3A'),
835
+ category: 'private',
836
+ fn: function (aString){
837
+ var self=this;
838
+ var method=nil;
839
+ var compiler=nil;
840
+ (method=smalltalk.send((compiler=smalltalk.send((smalltalk.Compiler || Compiler), "_new", [])), "_load_forClass_", [aString, self['@class']]));
841
+ smalltalk.send(method, "_category_", [self['@category']]);
842
+ smalltalk.send(self['@class'], "_addCompiledMethod_", [method]);
843
+ smalltalk.send(compiler, "_setupClass_", [self['@class']]);
844
+ return self;},
845
+ args: ["aString"],
846
+ source: unescape('compileMethod%3A%20aString%0A%09%7C%20method%20compiler%20%7C%0A%09method%20%3A%3D%20%28compiler%20%3A%3D%20Compiler%20new%29%20load%3A%20aString%20forClass%3A%20class.%0A%09method%20category%3A%20category.%0A%09class%20addCompiledMethod%3A%20method.%0A%09compiler%20setupClass%3A%20class.'),
847
+ messageSends: ["load:forClass:", "new", "category:", "addCompiledMethod:", "setupClass:"],
848
+ referencedClasses: ["Compiler"]
849
+ }),
850
+ smalltalk.ClassCategoryReader);
851
+
852
+ smalltalk.addMethod(
853
+ unescape('_initialize'),
854
+ smalltalk.method({
855
+ selector: unescape('initialize'),
856
+ category: 'initialization',
857
+ fn: function (){
858
+ var self=this;
859
+ smalltalk.send(self, "_initialize", [], smalltalk.Object);
860
+ (self['@chunkParser']=smalltalk.send((smalltalk.ChunkParser || ChunkParser), "_new", []));
861
+ return self;},
862
+ args: [],
863
+ source: unescape('initialize%0A%09super%20initialize.%0A%09chunkParser%20%3A%3D%20ChunkParser%20new.'),
864
+ messageSends: ["initialize", "new"],
865
+ referencedClasses: ["ChunkParser"]
866
+ }),
867
+ smalltalk.ClassCategoryReader);
868
+
869
+ smalltalk.addMethod(
870
+ unescape('_scanFrom_'),
871
+ smalltalk.method({
872
+ selector: unescape('scanFrom%3A'),
873
+ category: 'fileIn',
874
+ fn: function (aChunkParser){
875
+ var self=this;
876
+ var chunk=nil;
877
+ (function(){while(!(function(){(chunk=smalltalk.send(aChunkParser, "_nextChunk", []));return smalltalk.send(chunk, "_isEmpty", []);})()) {(function(){return smalltalk.send(self, "_compileMethod_", [chunk]);})()}})();
878
+ return self;},
879
+ args: ["aChunkParser"],
880
+ source: unescape('scanFrom%3A%20aChunkParser%0A%09%7C%20chunk%20%7C%0A%09%5Bchunk%20%3A%3D%20aChunkParser%20nextChunk.%0A%09chunk%20isEmpty%5D%20whileFalse%3A%20%5B%0A%09%20%20%20%20self%20compileMethod%3A%20chunk%5D'),
881
+ messageSends: ["whileFalse:", "nextChunk", "isEmpty", "compileMethod:"],
882
+ referencedClasses: []
883
+ }),
884
+ smalltalk.ClassCategoryReader);
885
+
886
+
887
+
888
+ smalltalk.addClass('ClassCommentReader', smalltalk.Object, ['class', 'chunkParser'], 'Kernel-Classes');
889
+ smalltalk.ClassCommentReader.comment=unescape('ClassCommentReader%20represents%20a%20mechanism%20for%20retrieving%20class%20descriptions%20stored%20on%20a%20file.%0ASee%20%60ClassCategoryReader%60%20too.')
890
+ smalltalk.addMethod(
891
+ unescape('_class_'),
892
+ smalltalk.method({
893
+ selector: unescape('class%3A'),
894
+ category: 'accessing',
895
+ fn: function (aClass){
896
+ var self=this;
897
+ (self['@class']=aClass);
898
+ return self;},
899
+ args: ["aClass"],
900
+ source: unescape('class%3A%20aClass%0A%09class%20%3A%3D%20aClass'),
901
+ messageSends: [],
902
+ referencedClasses: []
903
+ }),
904
+ smalltalk.ClassCommentReader);
905
+
906
+ smalltalk.addMethod(
907
+ unescape('_initialize'),
908
+ smalltalk.method({
909
+ selector: unescape('initialize'),
910
+ category: 'initialization',
911
+ fn: function (){
912
+ var self=this;
913
+ smalltalk.send(self, "_initialize", [], smalltalk.Object);
914
+ (self['@chunkParser']=smalltalk.send((smalltalk.ChunkParser || ChunkParser), "_new", []));
915
+ return self;},
916
+ args: [],
917
+ source: unescape('initialize%0A%09super%20initialize.%0A%09chunkParser%20%3A%3D%20ChunkParser%20new.'),
918
+ messageSends: ["initialize", "new"],
919
+ referencedClasses: ["ChunkParser"]
920
+ }),
921
+ smalltalk.ClassCommentReader);
922
+
923
+ smalltalk.addMethod(
924
+ unescape('_scanFrom_'),
925
+ smalltalk.method({
926
+ selector: unescape('scanFrom%3A'),
927
+ category: 'fileIn',
928
+ fn: function (aChunkParser){
929
+ var self=this;
930
+ var chunk=nil;
931
+ (chunk=smalltalk.send(aChunkParser, "_nextChunk", []));
932
+ ((($receiver = smalltalk.send(chunk, "_isEmpty", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_setComment_", [chunk]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_setComment_", [chunk]);})]));
933
+ return self;},
934
+ args: ["aChunkParser"],
935
+ source: unescape('scanFrom%3A%20aChunkParser%0A%09%7C%20chunk%20%7C%0A%09chunk%20%3A%3D%20aChunkParser%20nextChunk.%0A%09chunk%20isEmpty%20ifFalse%3A%20%5B%0A%09%20%20%20%20self%20setComment%3A%20chunk%5D.'),
936
+ messageSends: ["nextChunk", "ifFalse:", "isEmpty", "setComment:"],
937
+ referencedClasses: []
938
+ }),
939
+ smalltalk.ClassCommentReader);
940
+
941
+ smalltalk.addMethod(
942
+ unescape('_setComment_'),
943
+ smalltalk.method({
944
+ selector: unescape('setComment%3A'),
945
+ category: 'private',
946
+ fn: function (aString){
947
+ var self=this;
948
+ smalltalk.send(self['@class'], "_comment_", [aString]);
949
+ return self;},
950
+ args: ["aString"],
951
+ source: unescape('setComment%3A%20aString%0A%20%20%20%20class%20comment%3A%20aString'),
952
+ messageSends: ["comment:"],
953
+ referencedClasses: []
954
+ }),
955
+ smalltalk.ClassCommentReader);
956
+
957
+
958
+
959
+ smalltalk.addClass('ClassSorterNode', smalltalk.Object, ['theClass', 'level', 'nodes'], 'Kernel-Classes');
960
+ smalltalk.addMethod(
961
+ unescape('_getNodesFrom_'),
962
+ smalltalk.method({
963
+ selector: unescape('getNodesFrom%3A'),
964
+ category: 'accessing',
965
+ fn: function (aCollection){
966
+ var self=this;
967
+ var children=nil;
968
+ var others=nil;
969
+ (children=[]);
970
+ (others=[]);
971
+ smalltalk.send(aCollection, "_do_", [(function(each){return ((($receiver = smalltalk.send(smalltalk.send(each, "_superclass", []), "__eq", [smalltalk.send(self, "_theClass", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(children, "_add_", [each]);})() : (function(){return smalltalk.send(others, "_add_", [each]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(children, "_add_", [each]);}), (function(){return smalltalk.send(others, "_add_", [each]);})]));})]);
972
+ (self['@nodes']=smalltalk.send(children, "_collect_", [(function(each){return smalltalk.send((smalltalk.ClassSorterNode || ClassSorterNode), "_on_classes_level_", [each, others, ((($receiver = smalltalk.send(self, "_level", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))]);})]));
973
+ return self;},
974
+ args: ["aCollection"],
975
+ source: unescape('getNodesFrom%3A%20aCollection%0A%09%7C%20children%20others%20%7C%0A%09children%20%3A%3D%20%23%28%29.%0A%09others%20%3A%3D%20%23%28%29.%0A%09aCollection%20do%3A%20%5B%3Aeach%20%7C%0A%09%09%28each%20superclass%20%3D%20self%20theClass%29%0A%09%09%09ifTrue%3A%20%5Bchildren%20add%3A%20each%5D%0A%09%09%09ifFalse%3A%20%5Bothers%20add%3A%20each%5D%5D.%0A%09nodes%3A%3D%20children%20collect%3A%20%5B%3Aeach%20%7C%0A%09%09ClassSorterNode%20on%3A%20each%20classes%3A%20others%20level%3A%20self%20level%20+%201%5D'),
976
+ messageSends: ["do:", "ifTrue:ifFalse:", unescape("%3D"), "superclass", "theClass", "add:", "collect:", "on:classes:level:", unescape("+"), "level"],
977
+ referencedClasses: ["ClassSorterNode"]
978
+ }),
979
+ smalltalk.ClassSorterNode);
980
+
981
+ smalltalk.addMethod(
982
+ unescape('_level'),
983
+ smalltalk.method({
984
+ selector: unescape('level'),
985
+ category: 'accessing',
986
+ fn: function (){
987
+ var self=this;
988
+ return self['@level'];
989
+ return self;},
990
+ args: [],
991
+ source: unescape('level%0A%09%5Elevel'),
992
+ messageSends: [],
993
+ referencedClasses: []
994
+ }),
995
+ smalltalk.ClassSorterNode);
996
+
997
+ smalltalk.addMethod(
998
+ unescape('_level_'),
999
+ smalltalk.method({
1000
+ selector: unescape('level%3A'),
1001
+ category: 'accessing',
1002
+ fn: function (anInteger){
1003
+ var self=this;
1004
+ (self['@level']=anInteger);
1005
+ return self;},
1006
+ args: ["anInteger"],
1007
+ source: unescape('level%3A%20anInteger%0A%09level%20%3A%3D%20anInteger'),
1008
+ messageSends: [],
1009
+ referencedClasses: []
1010
+ }),
1011
+ smalltalk.ClassSorterNode);
1012
+
1013
+ smalltalk.addMethod(
1014
+ unescape('_nodes'),
1015
+ smalltalk.method({
1016
+ selector: unescape('nodes'),
1017
+ category: 'accessing',
1018
+ fn: function (){
1019
+ var self=this;
1020
+ return self['@nodes'];
1021
+ return self;},
1022
+ args: [],
1023
+ source: unescape('nodes%0A%09%5Enodes'),
1024
+ messageSends: [],
1025
+ referencedClasses: []
1026
+ }),
1027
+ smalltalk.ClassSorterNode);
1028
+
1029
+ smalltalk.addMethod(
1030
+ unescape('_theClass'),
1031
+ smalltalk.method({
1032
+ selector: unescape('theClass'),
1033
+ category: 'accessing',
1034
+ fn: function (){
1035
+ var self=this;
1036
+ return self['@theClass'];
1037
+ return self;},
1038
+ args: [],
1039
+ source: unescape('theClass%0A%09%5EtheClass'),
1040
+ messageSends: [],
1041
+ referencedClasses: []
1042
+ }),
1043
+ smalltalk.ClassSorterNode);
1044
+
1045
+ smalltalk.addMethod(
1046
+ unescape('_theClass_'),
1047
+ smalltalk.method({
1048
+ selector: unescape('theClass%3A'),
1049
+ category: 'accessing',
1050
+ fn: function (aClass){
1051
+ var self=this;
1052
+ (self['@theClass']=aClass);
1053
+ return self;},
1054
+ args: ["aClass"],
1055
+ source: unescape('theClass%3A%20aClass%0A%09theClass%20%3A%3D%20aClass'),
1056
+ messageSends: [],
1057
+ referencedClasses: []
1058
+ }),
1059
+ smalltalk.ClassSorterNode);
1060
+
1061
+ smalltalk.addMethod(
1062
+ unescape('_traverseClassesWith_'),
1063
+ smalltalk.method({
1064
+ selector: unescape('traverseClassesWith%3A'),
1065
+ category: 'visiting',
1066
+ fn: function (aCollection){
1067
+ var self=this;
1068
+ smalltalk.send(aCollection, "_add_", [smalltalk.send(self, "_theClass", [])]);
1069
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_nodes", []), "_sorted_", [(function(a, b){return ((($receiver = smalltalk.send(smalltalk.send(a, "_theClass", []), "_name", [])).klass === smalltalk.Number) ? $receiver <=smalltalk.send(smalltalk.send(b, "_theClass", []), "_name", []) : smalltalk.send($receiver, "__lt_eq", [smalltalk.send(smalltalk.send(b, "_theClass", []), "_name", [])]));})]), "_do_", [(function(aNode){return smalltalk.send(aNode, "_traverseClassesWith_", [aCollection]);})]);
1070
+ return self;},
1071
+ args: ["aCollection"],
1072
+ source: unescape('traverseClassesWith%3A%20aCollection%0A%09%22sort%20classes%20alphabetically%20Issue%20%23143%22%0A%0A%09aCollection%20add%3A%20self%20theClass.%0A%09%28self%20nodes%20sorted%3A%20%5B%3Aa%20%3Ab%20%7C%20a%20theClass%20name%20%3C%3D%20b%20theClass%20name%20%5D%29%20do%3A%20%5B%3AaNode%20%7C%0A%09%09aNode%20traverseClassesWith%3A%20aCollection%20%5D.'),
1073
+ messageSends: ["add:", "theClass", "do:", "sorted:", "nodes", unescape("%3C%3D"), "name", "traverseClassesWith:"],
1074
+ referencedClasses: []
1075
+ }),
1076
+ smalltalk.ClassSorterNode);
1077
+
1078
+
1079
+ smalltalk.addMethod(
1080
+ unescape('_on_classes_level_'),
1081
+ smalltalk.method({
1082
+ selector: unescape('on%3Aclasses%3Alevel%3A'),
1083
+ category: 'instance creation',
1084
+ fn: function (aClass, aCollection, anInteger){
1085
+ var self=this;
1086
+ return (function($rec){smalltalk.send($rec, "_theClass_", [aClass]);smalltalk.send($rec, "_level_", [anInteger]);smalltalk.send($rec, "_getNodesFrom_", [aCollection]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
1087
+ return self;},
1088
+ args: ["aClass", "aCollection", "anInteger"],
1089
+ source: unescape('on%3A%20aClass%20classes%3A%20aCollection%20level%3A%20anInteger%0A%09%5Eself%20new%0A%09%09theClass%3A%20aClass%3B%0A%09%09level%3A%20anInteger%3B%0A%09%09getNodesFrom%3A%20aCollection%3B%0A%09%09yourself'),
1090
+ messageSends: ["theClass:", "level:", "getNodesFrom:", "yourself", "new"],
1091
+ referencedClasses: []
1092
+ }),
1093
+ smalltalk.ClassSorterNode.klass);
1094
+
1095
+