rwddemo 0.8 → 0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Readme.txt +46 -0
- data/code/{ag1core/aa0begin.rb → 01rwdcore/01rwdcore.rb} +2 -0
- data/code/01rwdcore/02helptexthashbegin.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +31 -0
- data/code/01rwdcore/04helptextend.rb +6 -0
- data/code/01rwdcore/openhelpwindow.rb +31 -0
- data/code/01rwdcore/returntomain.rb +10 -0
- data/code/{ag1core → 01rwdcore}/rwdtinkerversion.rb +0 -0
- data/code/01rwdcore/rwdwindowreturn.rb +11 -0
- data/code/{dd0shelleval → rwdcalc}/changescriptname.rb +0 -0
- data/code/rwdcalc/clearscriptscreendisplay.rb +9 -0
- data/code/rwdcalc/deletescriptrecord.rb +20 -0
- data/code/rwdcalc/helptexthashrwdcalc.rb +14 -0
- data/code/rwdcalc/listscripts.rb +13 -0
- data/code/rwdcalc/loadscriptrecord.rb +20 -0
- data/code/rwdcalc/mathcommands.rb +53 -0
- data/code/rwdcalc/openhelpwindowrwdcalc.rb +21 -0
- data/code/rwdcalc/playscript.rb +22 -0
- data/code/rwdcalc/renamecalcrecord.rb +14 -0
- data/code/rwdcalc/runrwdcalcwindow.rb +1 -0
- data/code/rwdcalc/savechangedscript.rb +19 -0
- data/code/rwdcalc/viewscript.rb +18 -0
- data/code/superant.com.rwdcalendar/gh9calendar.rb +40 -16
- data/code/superant.com.rwdshell/changescriptname.rb +16 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/clearscriptscreendisplay.rb +0 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/deletescriptrecord.rb +0 -0
- data/code/superant.com.rwdshell/helptexthashrubyslippers.rb +81 -0
- data/code/superant.com.rwdshell/listrubyscripts.rb +13 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/listscripts.rb +0 -0
- data/code/superant.com.rwdshell/loadconfigurationrecord.rb +33 -0
- data/code/superant.com.rwdshell/loadconfigurationvariables.rb +13 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/loadscriptrecord.rb +0 -0
- data/code/superant.com.rwdshell/openhelpwindowrubyslippers.rb +50 -0
- data/code/superant.com.rwdshell/playrubyscript.rb +22 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/playscript.rb +0 -0
- data/code/superant.com.rwdshell/returntomain.rb +10 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/rubyeval.rb +0 -0
- data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +10 -0
- data/code/superant.com.rwdshell/runrwdshellmenu1.rb +57 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/runrwdshellwindow.rb +0 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/rwdshellversion.rb +0 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/savechangedscript.rb +0 -0
- data/code/superant.com.rwdshell/saveconfigurationrecord.rb +18 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/shelleval.rb +0 -0
- data/code/superant.com.rwdshell/viewrubyscript.rb +18 -0
- data/code/{dd0shelleval → superant.com.rwdshell}/viewscript.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +99 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/diagnostictab.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +58 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/installapplet.rb +9 -8
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +20 -0
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +54 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listinstalledfiles.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +31 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationrecord.rb +1 -1
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationvariables.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/openappletname.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +42 -0
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/removeapplet.rb +0 -0
- data/code/{xa5rwdtinkercallable/callable.rb → superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb} +2 -3
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/rwdtinkerwin2version.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/saveconfigurationrecord.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +21 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +21 -0
- data/configuration/{rwdplayscripts.cnf → playscripts.cnf} +0 -2
- data/configuration/rwdapplicationidentity.cnf +3 -0
- data/configuration/rwdcalc.cnf +1 -0
- data/configuration/rwdcalendar.cnf +4 -27
- data/configuration/rwdcalendarversion.cnf +4 -0
- data/configuration/rwdshellversion.cnf +2 -0
- data/configuration/rwdtinker.cnf +6 -2
- data/configuration/rwdtinkerversion.cnf +1 -1
- data/configuration/tinkerwin2variables.cnf +7 -3
- data/configuration/tinkerwin2version.cnf +1 -1
- data/ev/rwd.rb +4 -3
- data/extras/cal.rb +158 -0
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/superant.com.tinkercalendar/hl9calendar.rwd +27 -20
- data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +1 -1
- data/gui/frontwindowselections/superant.com.rwdshellselectiontab/rwdshellbackwindowselectiontab.rwd +12 -0
- data/gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd +1 -1
- data/gui/frontwindowtdocuments/{ub7rubyeval → superant.com.rubyeval}/rubyeval.rwd +0 -0
- data/gui/frontwindowtdocuments/{vv1docshellxp → superant.com.shelldocument}/vvdocshellxp.rwd +0 -0
- data/gui/frontwindowtdocuments/uu6rwdcalcdocument/uu5documents.rwd +6 -0
- data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +5 -0
- data/gui/helpaboutinstalled/{yl4rwdshellhelpabout → superant.com.shellhelpabout}/1appname.rwd +0 -0
- data/gui/helpaboutinstalled/{yl2rwddemohelpabout → superant.com.shellhelpabout}/3copyright.rwd +0 -0
- data/gui/helpaboutinstalled/{yl4rwdshellhelpabout → superant.com.shellhelpabout}/5version.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/1appname.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.rwdcalc/{floatrwdcalc.rwd → 20floatrwdcalc.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/{intrwdcalc.rwd → 30intrwdcalc.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/35mathcommands.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/44listplayscripts.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/45listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/46editscriptrecord.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/4scriptutilities.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/98returntab.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/46editscriptrecord.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/{superant.com.tinkerbackwindow/3arwddiagnostics.rwd → superant.com.rwdshellbackwindow/94rwddiagnostics.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/v9returntab.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +42 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +33 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +33 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
- data/gui/tinkerbackwindows/{superant.com.tinercallablewindow → superant.com.tinkerhelpwindow}/9end.rwd +0 -0
- data/init.rb +38 -2
- data/lang/en/rwdcalendar/calendar-en.rb +6 -0
- data/lang/es/rwdcalendar/calendar-nl.rb +6 -0
- data/lang/nl/rwdcalendar/calendar-nl.rb +6 -0
- data/lang/templangfile.rb +7 -1
- data/lang/xlocallangfile.rb +7 -1
- data/rwd_files/HowTo_RwdDemo.txt +20 -82
- data/rwd_files/HowTo_Shell.txt +15 -1
- data/rwd_files/HowTo_Tinker.txt +63 -6
- data/rwddemo-0.90.gem +0 -0
- data/scripts/test02.math +2 -0
- data/scripts/test02.rb +2 -0
- metadata +153 -89
- data/code/dd0shelleval/rwddemohelpabout.rb +0 -14
- data/code/xb1rwdtinkerbackwindow/listzips.rb +0 -16
- data/configuration/rwddemoversion.cnf +0 -2
- data/configuration/rwdplayscriptsversion.cnf +0 -2
- data/gui/frontwindowtdocuments/uk5rwddemodocuments/documents.rwd +0 -4
- data/gui/helpaboutinstalled/yl2rwddemohelpabout/1appname.rwd +0 -4
- data/gui/helpaboutinstalled/yl2rwddemohelpabout/5version.rwd +0 -9
- data/gui/helpaboutinstalled/yl4rwdshellhelpabout/3copyright.rwd +0 -3
- data/gui/tinkerbackwindows/superant.com.tinercallablewindow/1appname.rwd +0 -17
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40editconfiguration.rwd +0 -36
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd +0 -35
- data/installed/rwdshell-0.92.inf +0 -14
- data/rwd_files/HowTo_RwdCalc.txt +0 -103
@@ -0,0 +1,25 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"scriptutilitiesrwdshell\" caption=\"Script Utilities\">
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<row> <p align=\"right\">Script Title:</p> <text name=\"a_calcscriptfilename\"/> </row>
|
7
|
+
<row> <p align=\"right\">New Name:</p> <text name=\"a_changecalcscriptname\"/> </row>
|
8
|
+
|
9
|
+
</table>
|
10
|
+
|
11
|
+
<horizontal>
|
12
|
+
<button caption=\"Rename Script \" action=\"changecalcscriptname\"/>
|
13
|
+
<button caption=\"Delete Script\" action=\"deletecalcscriptrecord\"/>
|
14
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdcalc\"/>
|
15
|
+
</horizontal>
|
16
|
+
|
17
|
+
<p>%%calcscriptfilechangeresult%%</p>
|
18
|
+
<horizontal>
|
19
|
+
<button caption=\"List Scripts\" action=\"listcalcscripts\"/>
|
20
|
+
|
21
|
+
|
22
|
+
</horizontal>
|
23
|
+
|
24
|
+
<p>%%listcalcscriptresult%%</p>
|
25
|
+
</tab>"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"rwdrubyscriptlister\" caption=\"List\\Run Ruby Scripts\">
|
4
|
+
<horizontal>
|
5
|
+
<text name=\"a_rwdrubyx\"/>
|
6
|
+
<text name=\"a_rwdrubyy\"/>
|
7
|
+
</horizontal>
|
8
|
+
<table>
|
9
|
+
<row> <p align=\"right\">Script Name:</p> <text name=\"a_rubyscriptcmd\"/> </row>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
|
13
|
+
<horizontal>
|
14
|
+
<button caption=\"Execute\" action=\"playrubyscript\"/>
|
15
|
+
|
16
|
+
|
17
|
+
</horizontal>
|
18
|
+
<p>%playrubyscript_display%</p>"
|
19
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<table>
|
4
|
+
<row> <p align=\"right\">ScriptName:</p> <text name=\"a_rubyscriptfilename\"/> </row>
|
5
|
+
|
6
|
+
</table>
|
7
|
+
|
8
|
+
<horizontal>
|
9
|
+
<button caption=\"ViewScript\" action=\"viewrubyscript\"/>
|
10
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
|
11
|
+
|
12
|
+
</horizontal>
|
13
|
+
<p>%displayrubyscripttext%</p>
|
14
|
+
|
15
|
+
<horizontal>
|
16
|
+
|
17
|
+
<button caption=\"ListFiles\" action=\"listrubyscripts\"/>
|
18
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
19
|
+
|
20
|
+
</horizontal>
|
21
|
+
<p>%%listrubyscriptresult%%</p>
|
22
|
+
</tab>"
|
23
|
+
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"editeventrecordfile\" caption=\"Edit Script\">
|
4
|
+
<table>
|
5
|
+
<row> <p> </row>
|
6
|
+
<row> <p align=\"right\">NOT YET WORKING:You will be able to create a new record here or edit one</row>
|
7
|
+
<row> <p> </row>
|
8
|
+
<horizontal>
|
9
|
+
<button caption=\"Fill Record\" action=\"loadrubyscriptrecord\"/>
|
10
|
+
<button caption=\"Save Changes\" action=\"saverubyrecord\"/>
|
11
|
+
<button caption=\"Clear\" action=\"clearrubyscreendisplay\"/>
|
12
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdruby\"/>
|
13
|
+
</horizontal>
|
14
|
+
<horizontal>
|
15
|
+
<row> <p align=\"right\">FileName:</p>
|
16
|
+
<text name=\"a_calcscriptfilename\"/>
|
17
|
+
</horizontal>
|
18
|
+
<table>
|
19
|
+
<textarea name=\"a_calcscriptrecord\"/> </row>
|
20
|
+
|
21
|
+
|
22
|
+
</table>
|
23
|
+
|
24
|
+
<p>
|
25
|
+
<p>%neweventresult%</p>
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
</tab>"
|
30
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"viewrwdshellconfiguration\" caption=\"RwdShell Configuration\">
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
<table>
|
8
|
+
<row> <p> </row>
|
9
|
+
<row> <p align=\"right\">You can view or edit the RwdShell configuration file here</row>
|
10
|
+
<row> <p> </row>
|
11
|
+
<horizontal>
|
12
|
+
<button caption=\"Fill Record\" action=\"loadrwdshellconfiguration\"/>
|
13
|
+
<button caption=\"Save Changes\" action=\"saverwdshellconfiguration\"/>
|
14
|
+
<button caption=\"Reload Variables\" action=\"loadrwdshellconfigurationvariables\"/>
|
15
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
|
16
|
+
</horizontal>
|
17
|
+
<table>
|
18
|
+
|
19
|
+
<row> <p align=\"right\">FileName:</p> <text size=70 name=\"a_rshellconfigurationfilename\"/> </row>
|
20
|
+
<row> <p align=\"right\">1:</p> <text size=70 name=\"a_rshellhellconfigline1\"/> </row>
|
21
|
+
<row> <p align=\"right\">2:</p> <text size=70 name=\"a_rshellconfigline2\"/> </row>
|
22
|
+
<row> <p align=\"right\">3:</p> <text size=70 name=\"a_rshellconfigline3\"/> </row>
|
23
|
+
<row> <p align=\"right\">4:</p> <text size=70 name=\"a_rshellconfigline4\"/> </row>
|
24
|
+
<row> <p align=\"right\">5:</p> <text size=70 name=\"a_rshellconfigline5\"/> </row>
|
25
|
+
<row> <p align=\"right\">6:</p> <text size=70 name=\"a_rshellconfigline6\"/> </row>
|
26
|
+
<row> <p align=\"right\">7:</p> <text size=70 name=\"a_rshellconfigline7\"/> </row>
|
27
|
+
<row> <p align=\"right\">8:</p> <text size=70 name=\"a_rshellconfigline8\"/> </row>
|
28
|
+
<row> <p align=\"right\">9:</p> <text size=70 name=\"a_rshellconfigline9\"/> </row>
|
29
|
+
|
30
|
+
</table>
|
31
|
+
|
32
|
+
<p>
|
33
|
+
<p>%newrshellconfigurationresult%</p>
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
</tab>"
|
38
|
+
|
File without changes
|
@@ -0,0 +1,42 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"rwdzipslister\" caption=\"List Zips\">
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<row> <p align=\"right\">File Name:</p> <text size=70 name=\"a_installapplet\"/> </row>
|
7
|
+
|
8
|
+
</table>
|
9
|
+
|
10
|
+
|
11
|
+
<horizontal>
|
12
|
+
|
13
|
+
|
14
|
+
<button caption=\"install (rwdtinker) applet\" action=\"installgemapplet\"/>
|
15
|
+
<button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
|
16
|
+
|
17
|
+
</horizontal>
|
18
|
+
<p>%installapplettext%</p>
|
19
|
+
|
20
|
+
<horizontal>
|
21
|
+
|
22
|
+
<button caption=\"view (rwdtinker) applet contents\" action=\"viewgemappletcontents\"/>
|
23
|
+
</horizontal>
|
24
|
+
<p>%appletcontentstext%</p>
|
25
|
+
<table>
|
26
|
+
<row> <p align=\"right\">Click below to view the list of zip files </row>
|
27
|
+
|
28
|
+
</table>
|
29
|
+
|
30
|
+
<horizontal>
|
31
|
+
<button caption=\"List (zip directory) applets available for installing\" action=\"listzipfilestoinstall\"/>
|
32
|
+
|
33
|
+
<button caption=\"List applets (in the GEM Directory) available for installing\" action=\"listgemzips\"/>
|
34
|
+
|
35
|
+
</horizontal>
|
36
|
+
|
37
|
+
<p>%%zipslistresult%%</p>
|
38
|
+
|
39
|
+
</tab>"
|
40
|
+
|
41
|
+
|
42
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"superantcomremotezipsinstall\" caption=\"Install Remote Applets\">
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<row> <p align=\"right\">File Name:</p> <text size=70 name=\"superantcominstallremoteappletinput\"/> </row>
|
7
|
+
|
8
|
+
</table>
|
9
|
+
<horizontal>
|
10
|
+
<button caption=\"install remote Gem applet package\" action=\"superantcominstallremotegemapplet\"/>
|
11
|
+
<button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
|
12
|
+
|
13
|
+
</horizontal>
|
14
|
+
<p>%superantcominstallremotegemappletresult%</p>
|
15
|
+
|
16
|
+
<horizontal>
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<button caption=\"view already installed GEM applets\" action=\"superantcomshowgemfiledirs\"/>
|
21
|
+
</horizontal>
|
22
|
+
<p>%%superantcomshowgemappletdirsresult%%</p>
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
<table>
|
29
|
+
<row> <p align=\"right\">Click below to view the list of zip files </row>
|
30
|
+
|
31
|
+
</table>
|
32
|
+
|
33
|
+
<horizontal>
|
34
|
+
|
35
|
+
<button caption=\"List applets in the Remote GEM Repository available for downloading\" action=\"superantcomremotegemlist\"/>
|
36
|
+
|
37
|
+
</horizontal>
|
38
|
+
<p>%superantcomremotegemappletsfullresult%</p>
|
39
|
+
<p>%%superantcomremotegemappletsresult%%</p>
|
40
|
+
|
41
|
+
</tab>"
|
42
|
+
|
43
|
+
|
44
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"editconfigurationfile\" caption=\"Edit Configuration\">
|
4
|
+
<table>
|
5
|
+
<row> <p> </row>
|
6
|
+
<row> <p align=\"right\">You can view or edit the rwdtinker applet confiruration file here</row>
|
7
|
+
<row> <p> </row>
|
8
|
+
<horizontal>
|
9
|
+
<button caption=\"Load Record\" action=\"loadconfigurationrecord\"/>
|
10
|
+
<button caption=\"Save Changes\" action=\"saveconfigurationrecord\"/>
|
11
|
+
<button caption=\"Reload Variables\" action=\"loadconfigurationvariables\"/>
|
12
|
+
<button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
</horizontal>
|
18
|
+
<table>
|
19
|
+
<row> <p align=\"right\" >FileName:</p> <text size=70 name=\"a_configurationfilename\"/> </row>
|
20
|
+
<row> <p align=\"right\">1:</p> <text size=70 name=\"a_configline1\"/> </row>
|
21
|
+
<row> <p align=\"right\">2:</p> <text size=70 name=\"a_configline2\"/> </row>
|
22
|
+
<row> <p align=\"right\">3:</p> <text size=70 name=\"a_configline3\"/> </row>
|
23
|
+
<row> <p align=\"right\">4:</p> <text size=70 name=\"a_configline4\"/> </row>
|
24
|
+
<row> <p align=\"right\">5:</p> <text size=70 name=\"a_configline5\"/> </row>
|
25
|
+
<row> <p align=\"right\">6:</p> <text size=70 name=\"a_configline6\"/> </row>
|
26
|
+
<row> <p align=\"right\">7:</p> <text size=70 name=\"a_configline7\"/> </row>
|
27
|
+
<row> <p align=\"right\">8:</p> <text size=70 name=\"a_configline8\"/> </row>
|
28
|
+
|
29
|
+
|
30
|
+
</table>
|
31
|
+
<p>%extraconfigdatadisplay%</p>
|
32
|
+
<p>
|
33
|
+
<p>%newconfigurationresult%</p>
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
</tab>"
|
38
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"diagnostictab\" caption=\"Diagnostic Tab\">
|
4
|
+
<horizontal>
|
5
|
+
<button caption=\"View Ruby Version\" action=\"runrubyversion\"/>
|
6
|
+
|
7
|
+
|
8
|
+
</horizontal>
|
9
|
+
<p>%rubyversion%</p>
|
10
|
+
|
11
|
+
|
12
|
+
<table>
|
13
|
+
<row> <p> </row>
|
14
|
+
|
15
|
+
</table>
|
16
|
+
|
17
|
+
<horizontal>
|
18
|
+
<button caption=\"view platform\" action=\"runviewplatform\"/>
|
19
|
+
|
20
|
+
</horizontal>
|
21
|
+
|
22
|
+
<p>%platformdisplay%</p>
|
23
|
+
<horizontal>
|
24
|
+
<button caption=\"View rwdtinker Version\" action=\"rwdtinkerversiondiagnostic\"/>
|
25
|
+
|
26
|
+
</horizontal>
|
27
|
+
|
28
|
+
<p>%rwdtinkerversionreturn%</p>
|
29
|
+
|
30
|
+
</tab>"
|
31
|
+
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"rwdremotecontrol\" caption=\"Remote Controls\">
|
4
|
+
<p></p>
|
5
|
+
Query remote rwdtinker applications (not yet functional on XP)
|
6
|
+
<horizontal>
|
7
|
+
<button caption=\"Start the Remote Control for This Application\" action=\"network_start\"/>
|
8
|
+
<button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
|
9
|
+
|
10
|
+
</horizontal>
|
11
|
+
<p>%viewremotecommandresult%</p>
|
12
|
+
<horizontal>
|
13
|
+
|
14
|
+
<button caption=\"Show remote Command Choices\" action=\"showremoteportoptions\"/>
|
15
|
+
|
16
|
+
</horizontal>
|
17
|
+
<table>
|
18
|
+
<select name=\"a_remoteportinput\"> %%remoteportoptions%% </select>
|
19
|
+
|
20
|
+
</table>
|
21
|
+
|
22
|
+
<table>
|
23
|
+
<select name=\"a_remotecommandinput\"> %%remotecommandoptions%% </select>
|
24
|
+
|
25
|
+
</table>
|
26
|
+
<horizontal>
|
27
|
+
<button caption=\"Run Command\" action=\"runcontrolcommand\"/>
|
28
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
29
|
+
</horizontal>
|
30
|
+
<p> Remote Port</p>
|
31
|
+
<p>%lastremotecommand%</p>
|
32
|
+
<p>%remotecommandresult%</p>
|
33
|
+
</tab>"
|
@@ -0,0 +1,31 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<window name = \"rwdtinkerhelpwindow\" title=#{Message[:rwdtinker_help]}>
|
4
|
+
<horizontal>
|
5
|
+
%rwdhelptopic%
|
6
|
+
</horizontal>
|
7
|
+
|
8
|
+
<table>
|
9
|
+
<row> <p></row>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
<horizontal>
|
13
|
+
%rwdhelpdataoutput%
|
14
|
+
</horizontal>
|
15
|
+
<row> <p></row>
|
16
|
+
<table>
|
17
|
+
|
18
|
+
|
19
|
+
<row> <p></row>
|
20
|
+
</table>
|
21
|
+
<horizontal>
|
22
|
+
|
23
|
+
<button caption=\"Return\" action=\"rwdwindowreturn\"/>
|
24
|
+
</horizontal>
|
25
|
+
<table>
|
26
|
+
<row> <p></row>
|
27
|
+
|
28
|
+
</table>
|
29
|
+
|
30
|
+
%%rwdhelpsubchoicesoutput%%
|
31
|
+
"
|
File without changes
|
data/init.rb
CHANGED
@@ -228,6 +228,42 @@ Dir.chdir($progdir)
|
|
228
228
|
fileB.write($tempdoc) #writes the contents of doc into the file
|
229
229
|
fileB.close
|
230
230
|
|
231
|
-
|
231
|
+
require 'socket' # Network stuff
|
232
|
+
host = "127.0.0.1"
|
233
|
+
port = $port
|
234
|
+
|
235
|
+
# Create a socket to listen on and bind it to the host and port
|
236
|
+
freeportfound = false
|
237
|
+
until freeportfound
|
238
|
+
begin
|
239
|
+
@socket = UDPSocket::new()
|
240
|
+
@socket.bind(host, port)
|
241
|
+
freeportfound = true
|
242
|
+
$port = port
|
243
|
+
# Rescue the "Address in use" error
|
244
|
+
rescue Errno::EADDRINUSE
|
245
|
+
puts "RWD Startup: Port #{port} on host #{host} is already in use."
|
246
|
+
port=port +1
|
247
|
+
puts "trying port: #{port}"
|
248
|
+
# Rescue the "Address not available' error
|
249
|
+
rescue Errno::EADDRNOTAVAIL
|
250
|
+
puts "RWD Startup: Address #{host} is not available to bind."
|
251
|
+
port =port + 1
|
252
|
+
puts "trying port: #{port}"
|
253
|
+
# Rescue "permission denied errors
|
254
|
+
rescue Errno::EACCES
|
255
|
+
puts "RWD Startup: Access denied when binding interface addresses. ?"
|
256
|
+
port =port + 1
|
257
|
+
puts "trying port: #{port}"
|
258
|
+
# Rescue all other errors
|
259
|
+
rescue
|
260
|
+
puts "RWD Startup: An error occured."
|
261
|
+
port =port + 1
|
262
|
+
puts "trying port: #{port}"
|
263
|
+
# Rescue all other errors
|
264
|
+
end
|
265
|
+
|
266
|
+
end
|
267
|
+
|
232
268
|
|
233
|
-
RwdTinker.file(RWDFile).serve(
|
269
|
+
RwdTinker.file(RWDFile).serve(port) # start the main class and program
|
data/lang/templangfile.rb
CHANGED
data/lang/xlocallangfile.rb
CHANGED
data/rwd_files/HowTo_RwdDemo.txt
CHANGED
@@ -1,14 +1,11 @@
|
|
1
|
-
= HowTo use the
|
1
|
+
= HowTo use the RwdCalc Program
|
2
2
|
|
3
|
-
How to Use the Shell Program (rwdshell)
|
4
3
|
|
5
|
-
|
4
|
+
rwdcalc is a web brower interface to arithmetic commands
|
6
5
|
|
7
6
|
|
8
|
-
1. run shell commands
|
9
|
-
2. run Ruby commands in the browser
|
10
7
|
3. use a calculator
|
11
|
-
|
8
|
+
|
12
9
|
|
13
10
|
The GUI interface used is RubyWebDialogs
|
14
11
|
|
@@ -20,85 +17,15 @@ Then point your web browser to:
|
|
20
17
|
http://localhost:7705/
|
21
18
|
|
22
19
|
|
23
|
-
== To use a shell command
|
24
|
-
|
25
|
-
|
26
|
-
Enter the shell command you want to run for in the browser form and press execute.
|
27
|
-
After a second the browser should fill with the results of the command.
|
28
|
-
try ls, df, cat "filename", and other shell commands
|
29
|
-
You should be able to run one command after another
|
30
|
-
|
31
|
-
|
32
|
-
There are two ways to add scripts to rwdshell directory.
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
== Creating a script
|
37
|
-
|
38
|
-
|
39
|
-
1. Use the "Create New Script" tab
|
40
|
-
<blockquote>
|
41
|
-
The first field is the most important. It is the filename that
|
42
|
-
will be created.
|
43
|
-
myshellscript
|
44
|
-
|
45
|
-
The following line for entry is a shell command.
|
46
|
-
|
47
|
-
The last line is for comment to describe the script
|
48
|
-
When you are finished press the CreateFile button
|
49
|
-
|
50
|
-
|
51
|
-
2. Manually add an entry for a script
|
52
|
-
|
53
|
-
You can use a text editor to create a record
|
54
|
-
put information on separate lines. You can have as many lines as you want
|
55
|
-
name the file with caps and no spaces and end with .sh
|
56
|
-
mynextscript.sh
|
57
|
-
|
58
|
-
Save your file to the scripts/ subdirectory
|
59
|
-
|
60
|
-
|
61
|
-
== Viewing a recorded script entry:
|
62
|
-
|
63
|
-
|
64
|
-
* Go to "List Scripts" tab
|
65
|
-
|
66
|
-
|
67
|
-
You can get a list of all scripts by clicking the listfiles button
|
68
|
-
|
69
|
-
To see the text of a script
|
70
|
-
Type in the name of the script you want.
|
71
|
-
|
72
|
-
type it without the sh ending
|
73
|
-
myscript
|
74
|
-
|
75
|
-
Then click the "ViewScript" button
|
76
|
-
|
77
|
-
If it finds the script it will open it. It displays the text the search box.
|
78
|
-
|
79
|
-
|
80
|
-
== Ruby Commands
|
81
|
-
|
82
|
-
|
83
|
-
At the Ruby tab here are some commands you might try
|
84
|
-
|
85
|
-
print "hello" + "\n"
|
86
|
-
|
87
|
-
bar=46; print "%s" % bar, "\n"
|
88
|
-
|
89
|
-
"abc".each_byte{|c| printf "<%c>", c}; print "\n"
|
90
|
-
|
91
|
-
"a\nb\nc\n".each_line{|l| print l}
|
92
|
-
|
93
|
-
for l in "a\nb\nc\n" ; print l ; end
|
94
|
-
|
95
|
-
print "%s" % "abcdef".length
|
96
20
|
|
97
21
|
|
98
22
|
== Calculator
|
99
23
|
|
100
24
|
add or multiply 2 numbers together
|
101
25
|
|
26
|
+
subtract or divide
|
27
|
+
|
28
|
+
see a running tape
|
102
29
|
|
103
30
|
|
104
31
|
|
@@ -163,10 +90,21 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
163
90
|
Thanks, Steven Gibson
|
164
91
|
|
165
92
|
== Changelog
|
93
|
+
Version 0.5
|
94
|
+
corrected selectiontab
|
95
|
+
added sample math demos
|
96
|
+
added script running tab
|
97
|
+
added script editing
|
98
|
+
added script rename, delete
|
99
|
+
updated for rwdtinker 1.51
|
166
100
|
|
167
101
|
Version 0.3
|
168
|
-
Changed directory structure to work with rwdtinker
|
169
|
-
|
170
|
-
|
102
|
+
Changed directory structure to work with rwdtinker 1.4.
|
103
|
+
Added running tape
|
104
|
+
Added subtraction and division
|
105
|
+
moved to second window
|
106
|
+
|
107
|
+
Version 0.2
|
108
|
+
converted to rwdtinker applet
|
171
109
|
|
172
110
|
|