maglev-webtools 0.2.1 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +38 -29
- data/bin/webtools +22 -1
- data/lib/web_tools/code_browser.rb +156 -0
- data/lib/web_tools/debugger.rb +96 -199
- data/lib/web_tools/info.rb +1 -3
- data/lib/web_tools/method_list.rb +67 -0
- data/lib/web_tools/middleware/debugger.rb +10 -16
- data/lib/web_tools/object_log.rb +24 -0
- data/lib/web_tools/session_list.rb +119 -0
- data/lib/web_tools/shared_page_cache.rb +30 -0
- data/lib/web_tools/stat_process.rb +24 -0
- data/lib/web_tools/statistics.rb +14 -0
- data/lib/web_tools/support/app_model.rb +66 -101
- data/lib/web_tools/support/code_browser.rb +88 -86
- data/lib/web_tools/support/debugger.rb +303 -0
- data/lib/web_tools/support/error_log.rb +33 -0
- data/lib/web_tools/support/ruby.rb +60 -121
- data/lib/web_tools/support/service_helper.rb +38 -10
- data/lib/web_tools/support/smalltalk_extensions.rb +12 -0
- data/lib/web_tools/tool.rb +48 -0
- data/lib/web_tools/ui.rb +14 -53
- data/lib/web_tools/version_report.rb +29 -0
- data/lib/web_tools/workspace.rb +77 -0
- data/lib/web_tools.rb +14 -4
- data/public/CodeBrowser.html +51 -0
- data/public/CodeMirror/LICENSE +19 -0
- data/public/CodeMirror/css/codemirror.css +67 -0
- data/public/CodeMirror/css/default.css +18 -0
- data/public/CodeMirror/js/codemirror.js +2131 -0
- data/public/CodeMirror/js/ruby.js +195 -0
- data/public/CodeMirror/js/smalltalk.js +139 -0
- data/public/Debugger.html +28 -0
- data/public/MethodList.html +20 -0
- data/public/ObjectLog.html +20 -0
- data/public/SessionList.html +31 -0
- data/public/SharedPageCache.html +78 -0
- data/public/Statistics.html +64 -0
- data/public/VersionReport.html +50 -0
- data/public/Workspace.html +39 -0
- data/public/css/CodeBrowser.css +24 -0
- data/public/css/Debugger.css +32 -0
- data/public/css/MethodList.css +8 -0
- data/public/css/ObjectLog.css +5 -0
- data/public/css/SessionList.css +9 -0
- data/public/css/Statistics.css +24 -0
- data/public/{stylesheets → css}/base/images/ui-anim_basic_16x16.gif +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-icons_222222_256x240.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-icons_454545_256x240.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-icons_888888_256x240.png +0 -0
- data/public/{stylesheets → css}/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.accordion.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.all.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.autocomplete.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.base.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.button.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.core.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.datepicker.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.dialog.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.progressbar.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.resizable.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.selectable.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.slider.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.tabs.css +0 -0
- data/public/{stylesheets → css}/base/jquery.ui.theme.css +0 -0
- data/public/css/editor.css +25 -0
- data/public/css/jjmenu.css +33 -0
- data/public/css/menuitem.gif +0 -0
- data/public/css/more.gif +0 -0
- data/public/{stylesheets → css}/reset.css +1 -1
- data/public/css/smoothness/images/ui-anim_basic_16x16.gif +0 -0
- data/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/public/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/public/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/css/smoothness/jquery-ui.css +489 -0
- data/public/css/ui-lightness/images/ui-anim_basic_16x16.gif +0 -0
- data/public/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/css/ui-lightness/jquery-ui.css +489 -0
- data/public/css/webtools.css +65 -0
- data/public/favicon.ico +0 -0
- data/public/flot/API.txt +1201 -0
- data/public/flot/FAQ.txt +76 -0
- data/public/flot/LICENSE.txt +22 -0
- data/public/flot/Makefile +9 -0
- data/public/flot/NEWS.txt +508 -0
- data/public/flot/PLUGINS.txt +137 -0
- data/public/flot/README.txt +90 -0
- data/public/flot/examples/ajax.html +143 -0
- data/public/flot/examples/annotating.html +75 -0
- data/public/flot/examples/arrow-down.gif +0 -0
- data/public/flot/examples/arrow-left.gif +0 -0
- data/public/flot/examples/arrow-right.gif +0 -0
- data/public/flot/examples/arrow-up.gif +0 -0
- data/public/flot/examples/basic.html +38 -0
- data/public/flot/examples/data-eu-gdp-growth-1.json +4 -0
- data/public/flot/examples/data-eu-gdp-growth-2.json +4 -0
- data/public/flot/examples/data-eu-gdp-growth-3.json +4 -0
- data/public/flot/examples/data-eu-gdp-growth-4.json +4 -0
- data/public/flot/examples/data-eu-gdp-growth-5.json +4 -0
- data/public/flot/examples/data-eu-gdp-growth.json +4 -0
- data/public/flot/examples/data-japan-gdp-growth.json +4 -0
- data/public/flot/examples/data-usa-gdp-growth.json +4 -0
- data/public/flot/examples/graph-types.html +75 -0
- data/public/flot/examples/hs-2004-27-a-large_web.jpg +0 -0
- data/public/flot/examples/image.html +45 -0
- data/public/flot/examples/index.html +44 -0
- data/public/flot/examples/interacting-axes.html +97 -0
- data/public/flot/examples/interacting.html +93 -0
- data/public/flot/examples/layout.css +6 -0
- data/public/flot/examples/multiple-axes.html +60 -0
- data/public/flot/examples/navigate.html +118 -0
- data/public/flot/examples/percentiles.html +57 -0
- data/public/flot/examples/pie.html +756 -0
- data/public/flot/examples/realtime.html +83 -0
- data/public/flot/examples/resize.html +61 -0
- data/public/flot/examples/selection.html +114 -0
- data/public/flot/examples/setting-options.html +61 -0
- data/public/flot/examples/stacking.html +77 -0
- data/public/flot/examples/symbols.html +49 -0
- data/public/flot/examples/thresholding.html +54 -0
- data/public/flot/examples/time.html +71 -0
- data/public/flot/examples/tracking.html +95 -0
- data/public/flot/examples/turning-series.html +98 -0
- data/public/flot/examples/visitors.html +90 -0
- data/public/flot/examples/zooming.html +98 -0
- data/public/flot/excanvas.js +1427 -0
- data/public/flot/excanvas.min.js +1 -0
- data/public/flot/jquery.colorhelpers.js +179 -0
- data/public/flot/jquery.colorhelpers.min.js +1 -0
- data/public/flot/jquery.flot.crosshair.js +167 -0
- data/public/flot/jquery.flot.crosshair.min.js +1 -0
- data/public/flot/jquery.flot.fillbetween.js +183 -0
- data/public/flot/jquery.flot.fillbetween.min.js +1 -0
- data/public/flot/jquery.flot.image.js +238 -0
- data/public/flot/jquery.flot.image.min.js +1 -0
- data/public/flot/jquery.flot.js +2599 -0
- data/public/flot/jquery.flot.min.js +6 -0
- data/public/flot/jquery.flot.navigate.js +336 -0
- data/public/flot/jquery.flot.navigate.min.js +1 -0
- data/public/flot/jquery.flot.pie.js +750 -0
- data/public/flot/jquery.flot.pie.min.js +1 -0
- data/public/flot/jquery.flot.resize.js +60 -0
- data/public/flot/jquery.flot.resize.min.js +1 -0
- data/public/flot/jquery.flot.selection.js +344 -0
- data/public/flot/jquery.flot.selection.min.js +1 -0
- data/public/flot/jquery.flot.stack.js +184 -0
- data/public/flot/jquery.flot.stack.min.js +1 -0
- data/public/flot/jquery.flot.symbol.js +70 -0
- data/public/flot/jquery.flot.symbol.min.js +1 -0
- data/public/flot/jquery.flot.threshold.js +103 -0
- data/public/flot/jquery.flot.threshold.min.js +1 -0
- data/public/flot/jquery.js +8316 -0
- data/public/flot/jquery.min.js +23 -0
- data/public/genPacking.pl +30 -0
- data/public/index.html +28 -0
- data/public/install.tpz +66 -0
- data/public/installAndRun.tpz +5 -0
- data/public/jsTree/jquery.jstree.js +3510 -0
- data/public/jsTree/themes/default/d.gif +0 -0
- data/public/jsTree/themes/default/d.png +0 -0
- data/public/jsTree/themes/default/style.css +73 -0
- data/public/jsTree/themes/default/throbber.gif +0 -0
- data/public/readMe.txt +9 -0
- data/public/scripts/CodeBrowser.js +645 -0
- data/public/scripts/Debugger.js +134 -0
- data/public/scripts/MethodList.js +72 -0
- data/public/scripts/ObjectLog.js +59 -0
- data/public/scripts/SessionList.js +164 -0
- data/public/scripts/Statistics.js +266 -0
- data/public/scripts/editor.js +430 -0
- data/public/scripts/jjmenu.js +375 -0
- data/public/scripts/jquery-ui.js +1012 -0
- data/public/scripts/jquery.js +154 -0
- data/public/scripts/webtools.js +374 -0
- data/public/src/CodeBrowser.gs +416 -0
- data/public/src/Debugger.gs +132 -0
- data/public/src/MethodList.gs +130 -0
- data/public/src/ObjectLog.gs +73 -0
- data/public/src/Server.gs +544 -0
- data/public/src/SessionList.gs +172 -0
- data/public/src/SharedPageCache.gs +66 -0
- data/public/src/StatProcess.gs +280 -0
- data/public/src/StatProcessType.gs +242 -0
- data/public/src/StatStatistic.gs +381 -0
- data/public/src/Statistics.gs +222 -0
- data/public/src/Statmonitor.gs +490 -0
- data/public/src/Tool.gs +86 -0
- data/public/src/VersionReport.gs +52 -0
- data/public/src/Workspace.gs +163 -0
- data/views/debugger.rhtml +6 -9
- metadata +344 -243
- data/lib/web_tools/#debugger.rb# +0 -212
- data/lib/web_tools/browser.rb +0 -45
- data/public/images/favicon.ico +0 -0
- data/public/javascript/CodeMirror/LICENSE +0 -23
- data/public/javascript/CodeMirror/css/Smalltalk.css +0 -34
- data/public/javascript/CodeMirror/js/codemirror.js +0 -582
- data/public/javascript/CodeMirror/js/editor.js +0 -1671
- data/public/javascript/CodeMirror/js/highlight.js +0 -68
- data/public/javascript/CodeMirror/js/parseSmalltalk.js +0 -126
- data/public/javascript/CodeMirror/js/parsedummy.js +0 -32
- data/public/javascript/CodeMirror/js/select.js +0 -699
- data/public/javascript/CodeMirror/js/stringstream.js +0 -159
- data/public/javascript/CodeMirror/js/tokenize.js +0 -57
- data/public/javascript/CodeMirror/js/undo.js +0 -413
- data/public/javascript/CodeMirror/js/util.js +0 -133
- data/public/javascript/CodeMirror/testSmalltalkParser.html +0 -116
- data/public/javascript/ace/ace-uncompressed.js +0 -17299
- data/public/javascript/ace/ace.js +0 -1
- data/public/javascript/ace/keybinding-emacs.js +0 -1
- data/public/javascript/ace/keybinding-vim.js +0 -1
- data/public/javascript/ace/mode-c_cpp.js +0 -1
- data/public/javascript/ace/mode-clojure.js +0 -1
- data/public/javascript/ace/mode-coffee.js +0 -1
- data/public/javascript/ace/mode-csharp.js +0 -1
- data/public/javascript/ace/mode-css.js +0 -1
- data/public/javascript/ace/mode-groovy.js +0 -1
- data/public/javascript/ace/mode-html.js +0 -1
- data/public/javascript/ace/mode-java.js +0 -1
- data/public/javascript/ace/mode-javascript.js +0 -1
- data/public/javascript/ace/mode-json.js +0 -1
- data/public/javascript/ace/mode-lua.js +0 -1
- data/public/javascript/ace/mode-markdown.js +0 -1
- data/public/javascript/ace/mode-ocaml.js +0 -1
- data/public/javascript/ace/mode-perl.js +0 -1
- data/public/javascript/ace/mode-php.js +0 -1
- data/public/javascript/ace/mode-python.js +0 -1
- data/public/javascript/ace/mode-ruby.js +0 -1
- data/public/javascript/ace/mode-scad.js +0 -1
- data/public/javascript/ace/mode-scala.js +0 -1
- data/public/javascript/ace/mode-scss.js +0 -1
- data/public/javascript/ace/mode-svg.js +0 -1
- data/public/javascript/ace/mode-textile.js +0 -1
- data/public/javascript/ace/mode-xml.js +0 -1
- data/public/javascript/ace/theme-clouds.js +0 -1
- data/public/javascript/ace/theme-clouds_midnight.js +0 -1
- data/public/javascript/ace/theme-cobalt.js +0 -1
- data/public/javascript/ace/theme-crimson_editor.js +0 -1
- data/public/javascript/ace/theme-dawn.js +0 -1
- data/public/javascript/ace/theme-eclipse.js +0 -1
- data/public/javascript/ace/theme-idle_fingers.js +0 -1
- data/public/javascript/ace/theme-kr_theme.js +0 -1
- data/public/javascript/ace/theme-merbivore.js +0 -1
- data/public/javascript/ace/theme-merbivore_soft.js +0 -1
- data/public/javascript/ace/theme-mono_industrial.js +0 -1
- data/public/javascript/ace/theme-monokai.js +0 -1
- data/public/javascript/ace/theme-pastel_on_dark.js +0 -1
- data/public/javascript/ace/theme-solarized_dark.js +0 -1
- data/public/javascript/ace/theme-solarized_light.js +0 -1
- data/public/javascript/ace/theme-textmate.js +0 -1
- data/public/javascript/ace/theme-twilight.js +0 -1
- data/public/javascript/ace/theme-vibrant_ink.js +0 -1
- data/public/javascript/ace/worker-coffee.js +0 -1
- data/public/javascript/ace/worker-css.js +0 -1
- data/public/javascript/ace/worker-javascript.js +0 -1
- data/public/javascript/webtools/browser.js +0 -260
- data/public/javascript/webtools/debugger.coffee +0 -286
- data/public/javascript/webtools/debugger.js +0 -366
- data/public/javascript/webtools/sessions.coffee +0 -17
- data/public/javascript/webtools/sessions.js +0 -27
- data/public/javascript/webtools/version.coffee +0 -14
- data/public/javascript/webtools/version.js +0 -20
- data/public/stylesheets/jquery.contextMenu.css +0 -62
- data/public/stylesheets/webtools.css +0 -53
- data/public/test.html +0 -47
@@ -0,0 +1,64 @@
|
|
1
|
+
<script type="text/javascript" language="javascript">
|
2
|
+
GemStone.runJs('scripts/Statistics.js');
|
3
|
+
</script>
|
4
|
+
|
5
|
+
<div id='newTab' class='statmonPanel hidden'>
|
6
|
+
<div id='statmonPanelOnce' class='once'>
|
7
|
+
<div id='readStatmonDialog' title='Read File...' class='hidden'>
|
8
|
+
<form><fieldset>
|
9
|
+
<label for='statmonPath'>Enter server path to Statmonitor file:</label>
|
10
|
+
<br /><br />
|
11
|
+
<input type='text' name='path' id='statmonPath' />
|
12
|
+
</fieldset></form>
|
13
|
+
</div>
|
14
|
+
<div id='removeStatmonDialog' title='Confirm' class='hidden'>
|
15
|
+
<p>Are you sure you want to remove <span class='path'></span>?</p>
|
16
|
+
</div>
|
17
|
+
<div id='statTemplate' class='hidden'>
|
18
|
+
<div class="flot"></div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
<button class="readFile" type="button">Load ...</button>
|
22
|
+
<button class="refresh" type="button">Refresh</button>
|
23
|
+
<div class='statmonFiles'>
|
24
|
+
<table>
|
25
|
+
<caption>Statmonitor Files</caption>
|
26
|
+
<thead><tr>
|
27
|
+
<th class="start">Start Time</th>
|
28
|
+
<th class="platform">Platform</th>
|
29
|
+
<th class="version">Version</th>
|
30
|
+
<th class="machine">Machine</th>
|
31
|
+
<th class="filename">Filename</th>
|
32
|
+
</tr></thead>
|
33
|
+
<tbody />
|
34
|
+
</table>
|
35
|
+
</div>
|
36
|
+
<div class='statmonProcesses hidden'>
|
37
|
+
<table>
|
38
|
+
<caption>Processes</caption>
|
39
|
+
<thead><tr>
|
40
|
+
<th>Start</th>
|
41
|
+
<th>Samples</th>
|
42
|
+
<th>Pid</th>
|
43
|
+
<th>Session</th>
|
44
|
+
<th>Type</th>
|
45
|
+
<th>Primitives</th>
|
46
|
+
<th>Max CRB</th>
|
47
|
+
<th>Name</th>
|
48
|
+
</tr></thead>
|
49
|
+
<tbody />
|
50
|
+
</table>
|
51
|
+
</div>
|
52
|
+
<div class='statmonStats hidden'>
|
53
|
+
<table>
|
54
|
+
<caption>Statistics</caption>
|
55
|
+
<thead><tr>
|
56
|
+
<th>Name</th>
|
57
|
+
<th>Min</th>
|
58
|
+
<th>Max</th>
|
59
|
+
<th>Average</th>
|
60
|
+
</tr></thead>
|
61
|
+
<tbody />
|
62
|
+
</table>
|
63
|
+
</div>
|
64
|
+
</div>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<script type="text/javascript" language="javascript">
|
2
|
+
//<![CDATA[
|
3
|
+
(function() {
|
4
|
+
var $tabPanel
|
5
|
+
, $table
|
6
|
+
;
|
7
|
+
GemStone.addTab({
|
8
|
+
id: 'newTab'
|
9
|
+
, label: 'Version'
|
10
|
+
, title: 'Show Stone and Gem version report'
|
11
|
+
, onAdd: onAdd
|
12
|
+
});
|
13
|
+
return;
|
14
|
+
|
15
|
+
function onAdd(tabPanel) {
|
16
|
+
$tabPanel = tabPanel;
|
17
|
+
$table = $('.versionTable', $tabPanel);
|
18
|
+
GemStone.ajax('GET', 'VersionReport', null, gotData);
|
19
|
+
}
|
20
|
+
|
21
|
+
function gotData(json) {
|
22
|
+
var items = [];
|
23
|
+
var gem = json.gem;
|
24
|
+
$.each(json.stone, function(key, value){
|
25
|
+
var field = value === gem[key] ? '' : gem[key];
|
26
|
+
items.push('<tr><th>' + key + '</th>');
|
27
|
+
items.push('<td>' + value + '</td>');
|
28
|
+
items.push('<td>' + field + '</td></tr>');
|
29
|
+
});
|
30
|
+
$table.empty().append(items.join(''));
|
31
|
+
}
|
32
|
+
}())
|
33
|
+
//]]>
|
34
|
+
</script>
|
35
|
+
|
36
|
+
<div id='newTab' class='versionPanel hidden'>
|
37
|
+
<div id='versionPanelOnce' class='once'>
|
38
|
+
<style type="text/css">
|
39
|
+
.versionPanel { overflow: auto; }
|
40
|
+
.versionPanel table { margin-left: auto; margin-right: auto; }
|
41
|
+
</style>
|
42
|
+
</div>
|
43
|
+
<table>
|
44
|
+
<caption>GemStone Version Report</caption>
|
45
|
+
<thead><tr>
|
46
|
+
<th>Attribute</th><th>Stone</th><th>WebTools</th>
|
47
|
+
</tr></thead>
|
48
|
+
<tbody class='versionTable' />
|
49
|
+
</table>
|
50
|
+
</div>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<script type="text/javascript" language="javascript">
|
2
|
+
//<![CDATA[
|
3
|
+
(function() {
|
4
|
+
var $tabPanel
|
5
|
+
, editor
|
6
|
+
;
|
7
|
+
GemStone.addTab({
|
8
|
+
id: 'newTab'
|
9
|
+
, label: 'Workspace'
|
10
|
+
, title: 'Smalltalk Workspace'
|
11
|
+
, onAdd: onAdd
|
12
|
+
});
|
13
|
+
return;
|
14
|
+
|
15
|
+
function onAdd(tabPanel) {
|
16
|
+
$tabPanel = tabPanel;
|
17
|
+
GemStone.runJs(
|
18
|
+
'scripts/editor.js'
|
19
|
+
, {
|
20
|
+
editArea: $('.editArea', $tabPanel)
|
21
|
+
}
|
22
|
+
, function(object) { editor = object; }
|
23
|
+
);
|
24
|
+
}
|
25
|
+
|
26
|
+
}())
|
27
|
+
//]]>
|
28
|
+
</script>
|
29
|
+
|
30
|
+
<div id='newTab' class='workspacePanel hidden'>
|
31
|
+
<div id='workspacePanelOnce' class='once'>
|
32
|
+
<style type="text/css">
|
33
|
+
.workspacePanel .editArea { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: 2px; }
|
34
|
+
.workspacePanel .editArea .CodeMirror { height: 100%; }
|
35
|
+
.workspacePanel .editArea .CodeMirror .CodeMirror-scroll { height: 100%; }
|
36
|
+
</style>
|
37
|
+
</div>
|
38
|
+
<div class='editArea' tabindex=0>
|
39
|
+
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
.browserPanel div { overflow: hidden; }
|
3
|
+
.browserPanel div.divList { overflow: auto; }
|
4
|
+
.browserPanel .ui-tabs .ui-tabs-panel { padding: 4px; }
|
5
|
+
#tabs .browserPanel .ui-tabs-panel.divList { top: 28px; left: 2px; right: 2px; }
|
6
|
+
.browserPanel .navigation { position: absolute; top: 0; left: 0; right: 0; bottom: 50%; }
|
7
|
+
.browserPanel .navigation > * { border-top: 0px; }
|
8
|
+
.browserPanel .editArea { position: absolute; top: 50%; left: 0; right: 0; bottom: 0; margin: 2px; }
|
9
|
+
|
10
|
+
.browserPanel .dictPckgTabs { position: absolute; top: 0; left: 0; right: 80%; bottom: 0; }
|
11
|
+
.browserPanel .classCats { position: absolute; top: 0; left: 20%; right: 60%; bottom: 0; background: white; }
|
12
|
+
.browserPanel .classesTab { position: absolute; top: 0; left: 40%; right: 40%; bottom: 0; }
|
13
|
+
.browserPanel .methodFilter { position: absolute; top: 0; left: 60%; right: 20%; bottom: 0; }
|
14
|
+
.browserPanel .methodFilter .ui-tabs { border: 0px }
|
15
|
+
|
16
|
+
.browserPanel .catsVariablesTabs { position: absolute; top: 0; left: 0; right: 0; bottom: auto; }
|
17
|
+
.browserPanel .methodFilterList { position: absolute; top: 0; left: 2px; right: 2px; bottom: 0; border: 1px solid #CCC; padding: 0 4px; }
|
18
|
+
.browserPanel .instanceClassTabs { position: absolute; top: auto; left: 0; right: 0; bottom: 0; }
|
19
|
+
|
20
|
+
.browserPanel .superList { position: absolute; top: 0; left: 80%; right: 0; bottom: auto; }
|
21
|
+
.browserPanel .methodList { position: absolute; top: 20px; left: 80%; right: 0; bottom: 20px; padding: 0 4px; }
|
22
|
+
.browserPanel .implList { position: absolute; top: auto; left: 80%; right: 0; bottom: 0; }
|
23
|
+
|
24
|
+
#tabs .browserPanel .CodeMirror-scroll { height: auto; }
|
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
.debuggerPanel .toolbar {
|
3
|
+
position: absolute; top: 0; left: 0; right: 0; height: 2em;
|
4
|
+
border: 1px solid grey; margin: 1px; padding: 1px;
|
5
|
+
}
|
6
|
+
.debuggerPanel .toolbar span {
|
7
|
+
border-left: 1px solid black; padding-left: 0.5em;
|
8
|
+
}
|
9
|
+
.debuggerPanel .stack {
|
10
|
+
position: absolute; top: 2.5em; left: 0; right: 50%; bottom: 50%;
|
11
|
+
overflow-x: hidden; overflow-y: auto;
|
12
|
+
border: 1px solid grey; margin: 1px; padding: 1px;
|
13
|
+
}
|
14
|
+
.debuggerPanel .stack .frame { white-space:nowrap; }
|
15
|
+
.debuggerPanel .variables {
|
16
|
+
position: absolute; top: 2.5em; left: 50%; right: 0; bottom: 65%;
|
17
|
+
overflow-y: auto;
|
18
|
+
border: 1px solid grey; margin: 1px; padding: 1px;
|
19
|
+
width: 50%;
|
20
|
+
}
|
21
|
+
.debuggerPanel .variableValue {
|
22
|
+
position: absolute; top: 35%; left: 50%; right: 0; bottom: 50%;
|
23
|
+
overflow-y: auto;
|
24
|
+
border: 1px solid grey; margin: 1px; padding: 1px;
|
25
|
+
width: 50%;
|
26
|
+
}
|
27
|
+
.debuggerPanel .variables td.value { white-space: nowrap; }
|
28
|
+
.debuggerPanel .variables td.oop { text-align: right; width: 7em; }
|
29
|
+
.debuggerPanel .editArea {
|
30
|
+
position: absolute; top: 50%; left: 0; right: 0; bottom: 0;
|
31
|
+
margin: 2px;
|
32
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
.gemListPanel td { text-align: right; }
|
3
|
+
.gemList { position: absolute; top: 0; left: 0; bottom: 24px; right: 0; }
|
4
|
+
.gemListFooter { top: auto; left: 4px; bottom: 4px; }
|
5
|
+
.stoneProcesses { display: inline; margin: 4px; }
|
6
|
+
.stoneProcesses li { display: inline; }
|
7
|
+
.stoneProcesses li.rest:before { content: ' | '; }
|
8
|
+
.statsPanel table td { text-align: right; }
|
9
|
+
.statsPanel table td.statName { font-size: 80%; font-weight: bold; text-align: left; }
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
td.number { text-align: right; }
|
3
|
+
button.readFile { position: absolute; top: 2px; left: 5px; width: 80px; z-index: 3; }
|
4
|
+
button.refresh { position: absolute; top: 2px; left: 85px; width: 80px; z-index: 3; }
|
5
|
+
.statmonPanel .statmonFiles {
|
6
|
+
position: absolute; top: 0; left: 0; bottom: 80%; right: 0; margin: 4px;
|
7
|
+
overflow-y: auto; }
|
8
|
+
.statmonPanel .statmonFiles table { table-layout: fixed; width: 100%; }
|
9
|
+
.statmonPanel .statmonFiles .start { width: 17em; }
|
10
|
+
.statmonPanel .statmonFiles .platform { width: 6em; }
|
11
|
+
.statmonPanel .statmonFiles .version { width: 6em; }
|
12
|
+
.statmonPanel .statmonFiles .machine { width: 9em; }
|
13
|
+
.statmonPanel .statmonFiles .filename { width: 100%; }
|
14
|
+
.statmonPanel .statmonFiles tr td { overflow: hidden; white-space: nowrap; }
|
15
|
+
#readStatmonDialog form input#statmonPath { width: 100%; }
|
16
|
+
.statmonPanel .statmonProcesses {
|
17
|
+
position: absolute; top: 20%; left: 0; bottom: 40%; right: 0%;
|
18
|
+
margin: 4px; overflow: hidden; }
|
19
|
+
.statmonPanel .statmonProcesses table { width: 100%; }
|
20
|
+
.statmonPanel .statmonStats {
|
21
|
+
position: absolute; top: 60%; left: 0%; bottom: 0; right: 0;
|
22
|
+
margin: 4px; overflow: hidden; }
|
23
|
+
.statmonPanel .statmonStats table { width: 100%; }
|
24
|
+
.flot { position: absolute; top: 100; left: 10; bottom: 20; right: 10; }
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
.CodeMirror-line-numbers { width: 2.2em; color: #aaa; background-color: #eee; text-align: right;
|
3
|
+
padding-right: .3em; font-size: 10pt; font-family: monospace; padding-top: .4em;
|
4
|
+
line-height: normal; }
|
5
|
+
|
6
|
+
.cm-st-character { color: rgb(128,0,128); }
|
7
|
+
.cm-st-comment { color: rgb(0,200,0); font-style: italic; }
|
8
|
+
.cm-st-string { color: rgb(128,0,128); }
|
9
|
+
.cm-st-symbol { color: rgb(128,0,128); }
|
10
|
+
.cm-st-boolean { color: rgb(0,0,128); }
|
11
|
+
.cm-st-self { color: rgb(0,0,128); }
|
12
|
+
.cm-st-super { color: rgb(0,0,128); }
|
13
|
+
.cm-st-nil { color: rgb(0,0,128); }
|
14
|
+
.cm-st-number { color: rgb(1,6,4); }
|
15
|
+
.cm-st-return { color: rgb(160,0,0); }
|
16
|
+
.cm-st-keyword { color: rgb(0,0,255); }
|
17
|
+
.cm-st-global { font-weight: bold; }
|
18
|
+
|
19
|
+
div.jj_menu_item span.disabled { color: grey; }
|
20
|
+
|
21
|
+
.compileError { position: absolute; background: yellow; }
|
22
|
+
|
23
|
+
.gsStepPoint { border-bottom: 1px dotted #00ba00; }
|
24
|
+
.gsCurrentStepPoint { background: Yellow; }
|
25
|
+
.gsSend { border-bottom: 1px dotted #ba0000; }
|
@@ -0,0 +1,33 @@
|
|
1
|
+
div.jjmenu {
|
2
|
+
|
3
|
+
position:absolute;
|
4
|
+
background:#fffef0;
|
5
|
+
border-bottom:2px solid gray;
|
6
|
+
border-right:1px solid gray;
|
7
|
+
padding:0px;
|
8
|
+
}
|
9
|
+
|
10
|
+
div.jj_menu_item {
|
11
|
+
color:black;
|
12
|
+
border:1px solid gray;
|
13
|
+
border-bottom:none;
|
14
|
+
background:url(menuitem.gif) no-repeat black;
|
15
|
+
cursor:pointer;
|
16
|
+
}
|
17
|
+
|
18
|
+
div.jj_menu_item span {
|
19
|
+
display:block;
|
20
|
+
padding:4px;
|
21
|
+
}
|
22
|
+
|
23
|
+
div.jj_menu_item_more span {
|
24
|
+
background:url(more.gif) right no-repeat;
|
25
|
+
}
|
26
|
+
div.jj_menu_item_more span {
|
27
|
+
padding-right:20px;
|
28
|
+
}
|
29
|
+
|
30
|
+
div.jj_menu_item_hover {
|
31
|
+
background:#e4e4e4;
|
32
|
+
|
33
|
+
}
|
Binary file
|
data/public/css/more.gif
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|