rwdruby 1.05
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 +462 -0
- data/bin/rwdruby +19 -0
- data/code/01rwdcore/01rwdcore.rb +29 -0
- data/code/01rwdcore/02helptexthashbegin.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +23 -0
- data/code/01rwdcore/04helptextend.rb +6 -0
- data/code/01rwdcore/jumplinkcommand.rb +26 -0
- data/code/01rwdcore/openhelpwindow.rb +31 -0
- data/code/01rwdcore/returntomain.rb +10 -0
- data/code/01rwdcore/rundocuments.rb +10 -0
- data/code/01rwdcore/runeditconfiguration.rb +10 -0
- data/code/01rwdcore/runhelpabout.rb +10 -0
- data/code/01rwdcore/runopentinkerdocument.rb +7 -0
- data/code/01rwdcore/rwdtinkerversion.rb +22 -0
- data/code/01rwdcore/rwdwindowreturn.rb +9 -0
- data/code/01rwdcore/selectiontab.rb +9 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
- data/code/01rwdcore/test_cases.rb +109 -0
- data/code/01rwdcore/test_harness.rb +13 -0
- data/code/01rwdcore/uploadreturns.rb +62 -0
- data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
- data/code/superant.com.rwdshell/0runrefreshacpi.rb +7 -0
- data/code/superant.com.rwdshell/0uninstallapplet.rb +16 -0
- data/code/superant.com.rwdshell/changescriptname.rb +16 -0
- data/code/superant.com.rwdshell/clearrubyscreendisplay.rb +7 -0
- data/code/superant.com.rwdshell/clearscriptscreendisplay.rb +9 -0
- data/code/superant.com.rwdshell/deletescriptrecord.rb +20 -0
- data/code/superant.com.rwdshell/helptexthashshell.rb +31 -0
- data/code/superant.com.rwdshell/listrubyscripts.rb +13 -0
- data/code/superant.com.rwdshell/listscripts.rb +13 -0
- data/code/superant.com.rwdshell/loadconfigurationrecord.rb +26 -0
- data/code/superant.com.rwdshell/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.rwdshell/loadrubyscriptrecord.rb +20 -0
- data/code/superant.com.rwdshell/loadscriptrecord.rb +20 -0
- data/code/superant.com.rwdshell/openhelpwindowshell.rb +33 -0
- data/code/superant.com.rwdshell/playrubyscript.rb +23 -0
- data/code/superant.com.rwdshell/playscript.rb +23 -0
- data/code/superant.com.rwdshell/refresh.rb +19 -0
- data/code/superant.com.rwdshell/refreshacpi.rb +16 -0
- data/code/superant.com.rwdshell/rubyeval.rb +28 -0
- data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +10 -0
- data/code/superant.com.rwdshell/runrwdshellwindow.rb +12 -0
- data/code/superant.com.rwdshell/rwdtinkerversion.rb +10 -0
- data/code/superant.com.rwdshell/savechangedscript.rb +19 -0
- data/code/superant.com.rwdshell/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.rwdshell/saverubyrecord.rb +19 -0
- data/code/superant.com.rwdshell/shelleval.rb +20 -0
- data/code/superant.com.rwdshell/test_cases.rb +45 -0
- data/code/superant.com.rwdshell/viewrubyscript.rb +18 -0
- data/code/superant.com.rwdshell/viewscript.rb +18 -0
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +61 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +240 -0
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +34 -0
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +20 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +53 -0
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +27 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +22 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +38 -0
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +46 -0
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +15 -0
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +22 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +24 -0
- data/code/zz0applicationend/zz0end.rb +4 -0
- data/configuration/language.dist +8 -0
- data/configuration/rwdapplicationidentity.dist +3 -0
- data/configuration/rwdtinker.dist +18 -0
- data/configuration/rwdwruby-1.05.dist +24 -0
- data/configuration/tinkerwin2variables.dist +17 -0
- data/gui/00coreguibegin/applicationguitop.rwd +4 -0
- data/gui/frontwindow0/cc0openphoto.rwd +22 -0
- data/gui/frontwindowselections/00selectiontabbegin.rwd +11 -0
- data/gui/frontwindowselections/jumplinkcommands.rwd +15 -0
- data/gui/frontwindowselections/wwselectionend.rwd +3 -0
- data/gui/frontwindowtdocuments/00documentbegin.rwd +6 -0
- data/gui/frontwindowtdocuments/tinkerdocuments.rwd +14 -0
- data/gui/frontwindowtdocuments/zzdocumentend.rwd +8 -0
- data/gui/helpaboutbegin/zzzrwdlasttab.rwd +6 -0
- data/gui/helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
- data/gui/helpaboutbegin/zzzzzzhelpabouttab.rwd +15 -0
- data/gui/helpaboutzend/helpscreenend.rwd +3 -0
- data/gui/helpaboutzend/zhelpscreenstart2.rwd +3 -0
- data/gui/helpaboutzend/zzzzhelpabout2.rwd +15 -0
- data/gui/helpaboutzend/zzzzhelpscreen2end.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/1rwdrubyeval.rwd +14 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/2listplayscripts.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/2listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/3editscripts.rwd +26 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/4scriptutilities.rwd +24 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/6rwdshelleval.rwd +15 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/98jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.ashellscripts/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.refreshacpi/1appname.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.refreshacpi/2rwdrefresh.rwd +14 -0
- data/gui/tinkerbackwindows/superant.com.refreshacpi/3rwdacpirefresh.rwd +14 -0
- data/gui/tinkerbackwindows/superant.com.refreshacpi/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.refreshacpi/z9end.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.refreshwindow/rwdrefresh.rwd +13 -0
- data/gui/tinkerbackwindows/superant.com.refreshwindow/rwdrefreshacpi.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 +32 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/94rwddiagnostics.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/98jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +41 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
- data/gui/zzcoreguiend/yy9rwdend.rwd +4 -0
- data/init.rb +277 -0
- data/installed/rwdrubydata1.inf +6 -0
- data/installed/rwdwruby-1.05.inf +13 -0
- data/installed/temp.rb +1 -0
- data/lang/en/rwdcore/languagefile.rb +58 -0
- data/lang/es/rwdcore/languagefile-es.rb +62 -0
- data/lang/fr/rwdcore/languagefile.rb +64 -0
- data/lang/jp/rwdcore/languagefile.rb +72 -0
- data/lang/nl/rwdcore/languagefile.rb +75 -0
- data/lib/rconftool.rb +380 -0
- data/lib/rwd/browser.rb +123 -0
- data/lib/rwd/ftools.rb +174 -0
- data/lib/rwd/mime.rb +328 -0
- data/lib/rwd/net.rb +866 -0
- data/lib/rwd/ruby.rb +889 -0
- data/lib/rwd/rwd.rb +1942 -0
- data/lib/rwd/sgml.rb +236 -0
- data/lib/rwd/thread.rb +63 -0
- data/lib/rwd/tree.rb +371 -0
- data/lib/rwd/xml.rb +101 -0
- data/lib/zip/ioextras.rb +114 -0
- data/lib/zip/stdrubyext.rb +111 -0
- data/lib/zip/tempfile_bugfixed.rb +195 -0
- data/lib/zip/zip.rb +1378 -0
- data/lib/zip/zipfilesystem.rb +558 -0
- data/lib/zip/ziprequire.rb +61 -0
- data/rwd_files/HowTo_Ruby.txt +311 -0
- data/rwd_files/HowTo_Tinker.txt +471 -0
- data/rwd_files/HowTo_TinkerWin2.txt +202 -0
- data/rwd_files/Readme.txt +57 -0
- data/rwd_files/RubyWebDialogs.html +6 -0
- data/rwd_files/favicon.ico +0 -0
- data/rwd_files/rdoc-style.css +175 -0
- data/rwd_files/rwdapplications.html +54 -0
- data/rwd_files/tinker.png +0 -0
- data/rwdconfig.dist +21 -0
- data/rwdruby.rb +1 -0
- data/tests/RubyGauge.rb +179 -0
- data/tests/checkdepends.sh +4 -0
- data/tests/cleancnf.sh +6 -0
- data/tests/makedist-rwdwruby.rb +56 -0
- data/tests/makedist.rb +66 -0
- data/tests/rdep.rb +354 -0
- data/tests/totranslate.lang +93 -0
- data/zips/rwdwaddresses-1.05.zip +0 -0
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwfoldeditor-0.02.zip +0 -0
- data/zips/rwdwgutenberg-0.09.zip +0 -0
- data/zips/rwdwruby-1.05.zip +0 -0
- data/zips/rwdwschedule-1.04.zip +0 -0
- data/zips/temp.rb +1 -0
- data/zips/wrubyslippers-1.06.zip +0 -0
- metadata +245 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# For information see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# call the rwdtinker helpwindow
|
|
6
|
+
|
|
7
|
+
def runremotezipsinstall
|
|
8
|
+
@rwd_window = "tinkerbackwindow"
|
|
9
|
+
@rwd_tab = "superantcomremotezipsinstall"
|
|
10
|
+
end
|
|
11
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# For information see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# call the rwdtinker helpwindow
|
|
6
|
+
|
|
7
|
+
def runrwdtinkerbackwindow
|
|
8
|
+
@rwd_window = "tinkerbackwindow"
|
|
9
|
+
@rwd_tab = "rwdzipslister"
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def runbackwindowappletremove
|
|
13
|
+
@rwd_window = "tinkerbackwindow"
|
|
14
|
+
@rwd_tab = "filelister"
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# For information see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# return the version constant defined in the config file
|
|
6
|
+
def runrwdtinkerwin2version
|
|
7
|
+
@rwd_window = "applicationversion"
|
|
8
|
+
@versionappnamedisplay = "RwdTinkerWin2"
|
|
9
|
+
@versioncopyrightdisplay = "(c) 2004 Steven Gibson "
|
|
10
|
+
@versionnumberdisplay = "Version " + RwdTinkerWin2Version
|
|
11
|
+
|
|
12
|
+
end
|
|
13
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# this method saves the configuration record
|
|
2
|
+
def saveconfigurationrecord
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
if @a_configurationfilename
|
|
5
|
+
newname = "%s" % [@a_configurationfilename] # grab the filename to create
|
|
6
|
+
newdata =@a_configurationfile
|
|
7
|
+
|
|
8
|
+
begin # exception trapped block
|
|
9
|
+
fileName = File.join( ConfigurationDir, newname )
|
|
10
|
+
fd = File.open(fileName,"w")
|
|
11
|
+
fd.print(newdata) # save the record info to the file
|
|
12
|
+
fd.close
|
|
13
|
+
@newconfigurationresult=newdata # show the record info in the browser
|
|
14
|
+
rescue SystemCallError, StandardError
|
|
15
|
+
$stderr.print "system call error: " + $!
|
|
16
|
+
end # exception rescue
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#view contents of a tinker applet
|
|
2
|
+
def viewappletcontents
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'lib/zip/zip'
|
|
5
|
+
nametext = "%s" % [@a_installapplet]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fullname = nametext + ".zip"
|
|
9
|
+
fileName = File.join($zipslocation,fullname)
|
|
10
|
+
tempfilecontents = " "
|
|
11
|
+
zf = Zip::ZipFile.new(fileName)
|
|
12
|
+
zf.sort.each {
|
|
13
|
+
|entry|
|
|
14
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
|
15
|
+
}
|
|
16
|
+
@appletcontentstext = tempfilecontents
|
|
17
|
+
|
|
18
|
+
rescue
|
|
19
|
+
@installapplettext = "unzip error - error opening applet"
|
|
20
|
+
end # exception rescue
|
|
21
|
+
|
|
22
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#view gem info
|
|
2
|
+
def viewgemappletcontents
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'lib/zip/zip'
|
|
5
|
+
nametext = "%s" % [@a_installapplet]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fullname = nametext + ".zip"
|
|
9
|
+
|
|
10
|
+
tempfilecontents = " "
|
|
11
|
+
zf = Zip::ZipFile.new(fullname)
|
|
12
|
+
zf.sort.each {
|
|
13
|
+
|entry|
|
|
14
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
|
15
|
+
}
|
|
16
|
+
@appletcontentstext = tempfilecontents
|
|
17
|
+
|
|
18
|
+
rescue
|
|
19
|
+
@installapplettext = "unzip error - error opening applet"
|
|
20
|
+
end # exception rescue
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
##VERSION:1.76
|
|
2
|
+
ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
|
|
3
|
+
CodeName = "rwdtinker"
|
|
4
|
+
CodeNameFile = CodeName + ".rb"
|
|
5
|
+
RWDFile = "rwdtinker.rwd"
|
|
6
|
+
LangDir = "lang"
|
|
7
|
+
CodeDir = "code"
|
|
8
|
+
GuiDir = "gui"
|
|
9
|
+
$help_topic = "general_help"
|
|
10
|
+
$helptopicsarray = [ "general_help","network_help"]
|
|
11
|
+
$prevouswindow ="main"
|
|
12
|
+
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"] # remote control code not actived 2007
|
|
13
|
+
$port = 7705
|
|
14
|
+
$rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
|
|
15
|
+
Browser_Exe = 'mozilla '
|
|
16
|
+
$tinkerdocumentsarray +=["HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
|
|
17
|
+
RwdTinkerVersion = "1.76"
|
|
18
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
##VERSION:1.04
|
|
2
|
+
##NAME:$shellscript_directory:0
|
|
3
|
+
$shellscript_directory = "scripts"
|
|
4
|
+
AcpiCommand = "acpi"
|
|
5
|
+
DateCommand = 'date +"Date is %D %n%t %t Time is %T"'
|
|
6
|
+
FortuneCommand = '/usr/games/fortune'
|
|
7
|
+
FortuneDelay = 15
|
|
8
|
+
SyslogCommand = "tail /var/log/syslog"
|
|
9
|
+
SyslogDelay = 5
|
|
10
|
+
ApacheAccesslogCommand = "tail /var/log/apache/access.log"
|
|
11
|
+
ApacheAccesslogDelay = 5
|
|
12
|
+
ApacheErrorlogCommand = "tail /var/log/apache/error.log"
|
|
13
|
+
ApacheErrorlogDelay = 5
|
|
14
|
+
##NAME:$testharnessarray:0
|
|
15
|
+
$testharnessarray += ["rwdruby_all_tests"]
|
|
16
|
+
##NAME:$tinkerhelpaboutarray:0
|
|
17
|
+
$tinkerhelpaboutarray += ["RwdRuby"]
|
|
18
|
+
##NAME:$tinkerdocumentsarray
|
|
19
|
+
$tinkerdocumentsarray += ["HowTo_Ruby.txt"]
|
|
20
|
+
JumpLink.update(:RwdRubyBackWindow=>"runrwdrubybackwindow", :RunRuby=>"runrwdrubywindow", :RefreshAcpi=>"runrefreshacpiwindow")
|
|
21
|
+
##NAME:$rwdjumplink:0
|
|
22
|
+
$rwdjumplink +=["RwdRubyBackWindow", "RunRuby", "RefreshAcpi"]
|
|
23
|
+
##NAME:RwdRubyVersion:0
|
|
24
|
+
RwdRubyVersion = "1.05"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
##VERSION:1.69
|
|
2
|
+
TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
|
|
3
|
+
##NAME:$zipslocation:0
|
|
4
|
+
$zipslocation = "zips" # location of applets to add
|
|
5
|
+
$zipsarray = [""] ; $zipsarraylocal = [""]
|
|
6
|
+
##NAME:$xpcommand:0
|
|
7
|
+
$xpcommand = " " # Linux machines
|
|
8
|
+
# $xpcommand = "cmd /C " # XP machines with cmd shell
|
|
9
|
+
##NAME:$gemdirectory_withgemfiles:0
|
|
10
|
+
$gemdirectory_withgemfiles = "/var/lib/gems/1.8/gems"
|
|
11
|
+
# $gemdirectory_withgemfiles = "c:\\ruby\\lib\\ruby\\gems\\1.8\\gems" # XP machine
|
|
12
|
+
##NAME:$geminstalled_directory:0
|
|
13
|
+
# $geminstalled_directory = "/ruby/lib/ruby/gems/1.8/gems" # XP machine
|
|
14
|
+
$geminstalled_directory = "/var/lib/gems/1.8/gems" # Debian Linux
|
|
15
|
+
|
|
16
|
+
RwdTinkerWin2Version = "0.8"
|
|
17
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
|
|
3
|
+
"
|
|
4
|
+
<tab name=\"viewtinkerlogo\" caption=\"Tinker\">
|
|
5
|
+
|
|
6
|
+
<table>
|
|
7
|
+
<row> <p align=\"right\">#{Message[:tinker_logo]}</row>
|
|
8
|
+
|
|
9
|
+
</table>
|
|
10
|
+
<image src=\"tinker.png\"> </image>
|
|
11
|
+
<table>
|
|
12
|
+
<row> <p></row>
|
|
13
|
+
|
|
14
|
+
</table>
|
|
15
|
+
<horizontal>
|
|
16
|
+
|
|
17
|
+
<button caption=#{Message[:help]} action=\"runhelpwindow\"/>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
</horizontal>
|
|
21
|
+
|
|
22
|
+
</tab>"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
|
|
5
|
+
<button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
|
|
12
|
+
<horizontal>
|
|
13
|
+
<button caption=#{Message[:jumptoapplication_location]} action=\"runjumplinkcommand\"/>
|
|
14
|
+
</horizontal>
|
|
15
|
+
"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showdocument_list]} action=\"setuptinkerdocuments\"/>
|
|
5
|
+
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_tinkerdocumentinput\"> %%tinkerdocumentsarray%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
<horizontal>
|
|
12
|
+
<button caption=#{Message[:open_document]} action=\"runopentinkerdocument\"/>
|
|
13
|
+
</horizontal>
|
|
14
|
+
"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
|
|
5
|
+
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
|
|
12
|
+
<horizontal>
|
|
13
|
+
<button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
|
|
14
|
+
</horizontal>
|
|
15
|
+
"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
|
|
5
|
+
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
|
|
12
|
+
<horizontal>
|
|
13
|
+
<button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
|
|
14
|
+
</horizontal>
|
|
15
|
+
"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"rwdshellruby\" caption=\"ruby\">
|
|
4
|
+
<table>
|
|
5
|
+
<row> <p align=\"right\">Ruby Command:</p> <text name=\"a_rubyeval\"/> </row>
|
|
6
|
+
</table>
|
|
7
|
+
<horizontal>
|
|
8
|
+
<button caption=\"Execute\" action=\"rubyeval\"/>
|
|
9
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
|
10
|
+
</horizontal>
|
|
11
|
+
<p>%rubydisplay%</p>
|
|
12
|
+
|
|
13
|
+
</tab>"
|
|
14
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"scriptlister\" caption=\"List\\Run Scripts\">
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<table>
|
|
7
|
+
<row> <p align=\"right\">Script Name:</p> <text name=\"a_scriptcmd\"/> </row>
|
|
8
|
+
|
|
9
|
+
</table>
|
|
10
|
+
|
|
11
|
+
<horizontal>
|
|
12
|
+
<button caption=\"Execute\" action=\"playscript\"/>
|
|
13
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
|
|
14
|
+
|
|
15
|
+
</horizontal>
|
|
16
|
+
<p>%playscript_display%</p>"
|
|
17
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<table>
|
|
4
|
+
<row> <p align=\"right\">ScriptName:</p> <text name=\"a_scriptfilename\"/> </row>
|
|
5
|
+
|
|
6
|
+
</table>
|
|
7
|
+
|
|
8
|
+
<horizontal>
|
|
9
|
+
<button caption=\"ViewScript\" action=\"viewscript\"/>
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
</horizontal>
|
|
13
|
+
<p>%displayscripttext%</p>
|
|
14
|
+
|
|
15
|
+
<horizontal>
|
|
16
|
+
|
|
17
|
+
<button caption=\"ListFiles\" action=\"listscripts\"/>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
</horizontal>
|
|
21
|
+
<p>%%listscriptresult%%</p>
|
|
22
|
+
</tab>"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"EditScriptsrwdshell\" caption=\"Edit Scripts\">
|
|
4
|
+
<table>
|
|
5
|
+
<row> <p> </row>
|
|
6
|
+
<row> <p align=\"right\">You can create a new record here or edit one</row>
|
|
7
|
+
<row> <b>The filename will automatically have a .sh added</b> <row>
|
|
8
|
+
|
|
9
|
+
<row> <p> </row>
|
|
10
|
+
</table>
|
|
11
|
+
<horizontal>
|
|
12
|
+
<button caption=\"Load Script\" action=\"loadscriptrecord\"/>
|
|
13
|
+
<button caption=\"Save Changes\" action=\"savescriptrecord\"/>
|
|
14
|
+
<button caption=\"Clear\" action=\"clearscriptscreendisplay\"/>
|
|
15
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
|
|
16
|
+
|
|
17
|
+
</horizontal>
|
|
18
|
+
<table>
|
|
19
|
+
<row> <p align=\"center\">FileName:</p> <text name=\"a_tmpscriptfilename\"/> </row>
|
|
20
|
+
<row> <p align=\"center\">Script Line:</p> <text name=\"a_scriptfirstline\"/> </row>
|
|
21
|
+
<row> <p align=\"center\">Comment Line:</p> <text name=\"a_scriptcommentline\"/> </row>
|
|
22
|
+
</table>
|
|
23
|
+
<p>%newdisplay%</p>
|
|
24
|
+
|
|
25
|
+
</tab>"
|
|
26
|
+
|