rwdtinker 1.64 → 1.65
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +7 -1
- data/code/01rwdcore/01rwdcore.rb +3 -0
- data/code/01rwdcore/runopentinkerdocument.rb +7 -0
- data/code/01rwdcore/rwdtinkerversion.rb +11 -3
- data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +6 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +5 -2
- data/configuration/rwdtinker.dist +7 -2
- data/gui/frontwindowselectionbegin/selectiontabbegin/{selectiontabbegin.rwd → 00selectiontabbegin.rwd} +0 -0
- data/gui/frontwindowselectionzend/viewselectionzend/{viewselectionend.rwd → wwselectionend.rwd} +0 -0
- data/gui/{frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd → frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd} +0 -0
- data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +14 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +8 -0
- data/gui/{frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd → helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd} +0 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/{ya0helpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +3 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +7 -1
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
- data/rwd_files/HowTo_Tinker.txt +6 -0
- data/rwd_files/{rwdindex.html → RubyWebDialogs.html} +0 -0
- data/rwdconfig.dist +7 -2
- metadata +18 -17
- data/gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd +0 -15
- data/gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd +0 -6
- data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +0 -12
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd +0 -4
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd +0 -3
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd +0 -10
data/Readme.txt
CHANGED
@@ -227,8 +227,14 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
227
227
|
Thanks, Steven Gibson
|
228
228
|
|
229
229
|
== Changelog
|
230
|
+
Version 1.65
|
231
|
+
Changed documents listing screen - now using hash
|
232
|
+
Changed helpabout screen - now using hash
|
233
|
+
added more lines for config edit
|
234
|
+
added help about to back window
|
235
|
+
|
230
236
|
Version 1.64
|
231
|
-
|
237
|
+
fixed jump with no location
|
232
238
|
|
233
239
|
Version 1.63
|
234
240
|
changed handling of application name returned
|
data/code/01rwdcore/01rwdcore.rb
CHANGED
@@ -3,11 +3,19 @@
|
|
3
3
|
# For information see http://www.rubyforge.net/projects/rwdapplications
|
4
4
|
|
5
5
|
# return the version constant defined in the config file
|
6
|
+
def rwdtinkerhelpaboutsetup
|
7
|
+
return ["RwdTinker","(c) 2004 Steven Gibson ","Version #{RwdTinkerVersion}"]
|
8
|
+
end
|
9
|
+
|
6
10
|
def runrwdtinkerversion
|
7
11
|
@rwd_window = "applicationversion"
|
8
|
-
|
9
|
-
|
10
|
-
|
12
|
+
helpaboutinput = @a_helpaboutinput.downcase
|
13
|
+
versionarraysetup = "rwd#{helpaboutinput}helpaboutsetup"
|
14
|
+
versionarray= self.send(versionarraysetup)
|
15
|
+
|
16
|
+
@versionappnamedisplay = versionarray[0].to_s
|
17
|
+
@versioncopyrightdisplay = versionarray[1].to_s
|
18
|
+
@versionnumberdisplay = versionarray[2].to_s
|
11
19
|
|
12
20
|
end
|
13
21
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# help about option setup for rwdtinker application
|
2
|
+
def setuphelpaboutoptions
|
3
|
+
|
4
|
+
@rwd_window = "tinkerhelpabout"
|
5
|
+
@helpaboutoptions = $tinkerhelpaboutarray.rwd_options
|
6
|
+
end
|
7
|
+
|
8
|
+
def setuphelpaboutoptionspassive
|
9
|
+
|
10
|
+
|
11
|
+
@helpaboutoptions = $tinkerhelpaboutarray.rwd_options
|
12
|
+
end
|
13
|
+
|
@@ -20,6 +20,12 @@ def loadconfigurationrecord
|
|
20
20
|
@a_configline6 = fd.readline.chomp
|
21
21
|
@a_configline7 =fd.readline.chomp
|
22
22
|
@a_configline8 = fd.readline.chomp
|
23
|
+
@a_configline9 = fd.readline.chomp
|
24
|
+
@a_configline10 = fd.readline.chomp
|
25
|
+
@a_configline11 =fd.readline.chomp
|
26
|
+
@a_configline12 = fd.readline.chomp
|
27
|
+
@a_configline13 =fd.readline.chomp
|
28
|
+
@a_configline14 = fd.readline.chomp
|
23
29
|
|
24
30
|
while ! fd.eof?
|
25
31
|
@extraconfigdatadisplay = fd.readline
|
@@ -3,9 +3,12 @@ def saveconfigurationrecord
|
|
3
3
|
require 'fileutils'
|
4
4
|
if @a_configurationfilename
|
5
5
|
newname = "%s" % [@a_configurationfilename] # grab the filename to create
|
6
|
-
newdata =@a_configline1.to_s + "\n" + @a_configline2.to_s + "\n" + @a_configline3.to_s + "\n" + @a_configline4.to_s + "\n" + @a_configline5.to_s +
|
6
|
+
newdata =@a_configline1.to_s + "\n" + @a_configline2.to_s + "\n" + @a_configline3.to_s + "\n" + @a_configline4.to_s + "\n" + @a_configline5.to_s +
|
7
|
+
"\n" + @a_configline6.to_s + "\n" + @a_configline7.to_s + "\n" + @a_configline8.to_s + "\n" +
|
8
|
+
@a_configline9.to_s + "\n" + @a_configline10.to_s + "\n" + @a_configline11.to_s + "\n" +
|
9
|
+
@a_configline12.to_s + "\n" + @a_configline13.to_s + "\n" + @a_configline14.to_s + "\n"
|
7
10
|
|
8
|
-
|
11
|
+
begin # exception trapped block
|
9
12
|
fileName = File.join( ConfigurationDir, newname )
|
10
13
|
fd = File.open(fileName,"w")
|
11
14
|
fd.print(newdata) # save the record info to the file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.65
|
2
2
|
ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
|
3
3
|
CodeName = "rwdtinker"
|
4
4
|
CodeNameFile = CodeName + ".rb"
|
@@ -12,4 +12,9 @@ LangDir = "lang"
|
|
12
12
|
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"]
|
13
13
|
$port = 7705
|
14
14
|
$rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
|
15
|
-
|
15
|
+
$tinkerhelpaboutarray = ["Tinker"]
|
16
|
+
Browser_Exe = 'mozilla '
|
17
|
+
$tinkerdocumentsarray =["COPYING","HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
|
18
|
+
RwdTinkerVersion = "1.65"
|
19
|
+
|
20
|
+
|
File without changes
|
data/gui/frontwindowselectionzend/viewselectionzend/{viewselectionend.rwd → wwselectionend.rwd}
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<horizontal>
|
4
|
+
<button caption=\"Show Documents List\" action=\"setuptinkerdocuments\"/>
|
5
|
+
|
6
|
+
</horizontal>
|
7
|
+
<table>
|
8
|
+
<select name=\"a_tinkerdocumentinput\"> %%tinkerdocumentsarray%% </select>
|
9
|
+
|
10
|
+
</table>
|
11
|
+
<horizontal>
|
12
|
+
<button caption=\"Open Document\" action=\"runopentinkerdocument\"/>
|
13
|
+
</horizontal>
|
14
|
+
"
|
File without changes
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<horizontal>
|
4
|
+
<button caption=\"Show Help About Links\" action=\"setuphelpaboutoptions\"/>
|
5
|
+
|
6
|
+
</horizontal>
|
7
|
+
<table>
|
8
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
9
|
+
|
10
|
+
</table>
|
11
|
+
|
12
|
+
<horizontal>
|
13
|
+
<button caption=\"Open Selected Help About\" action=\"runrwdtinkerversion\"/>
|
14
|
+
</horizontal>
|
15
|
+
"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<horizontal>
|
4
|
+
<button caption=\"Show Help About Links\" action=\"setuphelpaboutoptions\"/>
|
5
|
+
|
6
|
+
</horizontal>
|
7
|
+
<table>
|
8
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
9
|
+
|
10
|
+
</table>
|
11
|
+
|
12
|
+
<horizontal>
|
13
|
+
<button caption=\"Open Selected Help About\" action=\"runrwdtinkerversion\"/>
|
14
|
+
</horizontal>
|
15
|
+
"
|
@@ -25,7 +25,13 @@ $rwdguivar=
|
|
25
25
|
<row> <p align=\"right\">6:</p> <text size=70 name=\"a_configline6\"/> </row>
|
26
26
|
<row> <p align=\"right\">7:</p> <text size=70 name=\"a_configline7\"/> </row>
|
27
27
|
<row> <p align=\"right\">8:</p> <text size=70 name=\"a_configline8\"/> </row>
|
28
|
-
|
28
|
+
<row> <p align=\"right\">9:</p> <text size=70 name=\"a_configline9\"/> </row>
|
29
|
+
<row> <p align=\"right\">10:</p> <text size=70 name=\"a_configline10\"/> </row>
|
30
|
+
<row> <p align=\"right\">11:</p> <text size=70 name=\"a_configline11\"/> </row>
|
31
|
+
<row> <p align=\"right\">12:</p> <text size=70 name=\"a_configline12\"/> </row>
|
32
|
+
<row> <p align=\"right\">13:</p> <text size=70 name=\"a_configline13\"/> </row>
|
33
|
+
<row> <p align=\"right\">14:</p> <text size=70 name=\"a_configline14\"/> </row>
|
34
|
+
|
29
35
|
|
30
36
|
</table>
|
31
37
|
<p>%extraconfigdatadisplay%</p>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<window name=tinkerhelpabout title=\"Help About Window\">
|
4
|
+
<horizontal>
|
5
|
+
<button caption=\"Show Help About Links\" action=\"setuphelpaboutoptions\"/>
|
6
|
+
|
7
|
+
</horizontal>
|
8
|
+
<table>
|
9
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
|
13
|
+
<horizontal>
|
14
|
+
<button caption=\"Open Selected Help About\" action=\"runrwdtinkerversion\"/>
|
15
|
+
</horizontal>
|
16
|
+
</window>
|
17
|
+
"
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
@@ -227,6 +227,12 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
227
227
|
Thanks, Steven Gibson
|
228
228
|
|
229
229
|
== Changelog
|
230
|
+
Version 1.65
|
231
|
+
Changed documents listing screen - now using hash
|
232
|
+
Changed helpabout screen - now using hash
|
233
|
+
added more lines for config edit
|
234
|
+
added help about to back window
|
235
|
+
|
230
236
|
Version 1.64
|
231
237
|
fixed jump with no location
|
232
238
|
|
File without changes
|
data/rwdconfig.dist
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.65
|
2
2
|
# rwdtinker core configuration file
|
3
3
|
##NAME: ConfigLocation:0
|
4
4
|
ConfigLocation=""
|
@@ -9,4 +9,9 @@ $testharnessarray = ["rwdtinker_all_tests"]
|
|
9
9
|
##NAME:TestNow:0
|
10
10
|
TestNow=false # turning this on will run the unit tests
|
11
11
|
##NAME:$testharness:0
|
12
|
-
$testharness=true
|
12
|
+
$testharness=true
|
13
|
+
##NAME:$tinkerdocumentsarray:0
|
14
|
+
$tinkerdocumentsarray = ["Readme.txt"]
|
15
|
+
|
16
|
+
|
17
|
+
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.8
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rwdtinker
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "1.
|
7
|
-
date: 2005-04-
|
6
|
+
version: "1.65"
|
7
|
+
date: 2005-04-15
|
8
8
|
summary: rwdtinker application is a framework to program for RubyWebDialogs.
|
9
9
|
require_paths:
|
10
10
|
- "."
|
@@ -43,6 +43,9 @@ files:
|
|
43
43
|
- code/01rwdcore/rundocuments.rb
|
44
44
|
- code/01rwdcore/runhelpabout.rb
|
45
45
|
- code/01rwdcore/runeditconfiguration.rb
|
46
|
+
- code/01rwdcore/setuptinkerdocuments.rb
|
47
|
+
- code/01rwdcore/setuphelpaboutoptions.rb
|
48
|
+
- code/01rwdcore/runopentinkerdocument.rb
|
46
49
|
- code/dd0viewphoto/dd0viewphoto.rb
|
47
50
|
- code/superant.com.rwdtinkerbackwindow/controlclient.rb
|
48
51
|
- code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
|
@@ -94,27 +97,24 @@ files:
|
|
94
97
|
- lang/nl/rwdcore/languagefile.rb
|
95
98
|
- gui/00coreguibegin/applicationguitop.rwd
|
96
99
|
- gui/frontwindow0/viewlogo/cc0openphoto.rwd
|
97
|
-
- gui/frontwindowselectionbegin/selectiontabbegin/
|
100
|
+
- gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd
|
98
101
|
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab
|
99
102
|
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd
|
100
|
-
- gui/frontwindowselectionzend/viewselectionzend/
|
101
|
-
- gui/
|
102
|
-
- gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd
|
103
|
+
- gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd
|
104
|
+
- gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd
|
103
105
|
- gui/frontwindowtdocuments/superant.com.documents
|
104
|
-
- gui/frontwindowtdocuments/superant.com.
|
105
|
-
- gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd
|
106
|
-
- gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd
|
107
|
-
- gui/frontwindowtdocumentzend/superant.com.documentsend
|
108
|
-
- gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd
|
109
|
-
- gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd
|
106
|
+
- gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd
|
110
107
|
- gui/helpaboutbegin/superant.com.helpaboutbegin
|
111
|
-
- gui/helpaboutbegin/superant.com.helpaboutbegin/
|
108
|
+
- gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd
|
109
|
+
- gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd
|
110
|
+
- gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd
|
112
111
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout
|
113
|
-
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/
|
114
|
-
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd
|
115
|
-
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd
|
112
|
+
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd
|
116
113
|
- gui/helpaboutzend/superant.com.helpaboutend
|
117
114
|
- gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd
|
115
|
+
- gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd
|
116
|
+
- gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd
|
117
|
+
- gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd
|
118
118
|
- gui/tinkerbackwindows/superant.com.tinkerbackwindow
|
119
119
|
- gui/tinkerbackwindows/superant.com.tinkerhelpwindow
|
120
120
|
- gui/tinkerbackwindows/superant.com.versionwindow
|
@@ -130,6 +130,7 @@ files:
|
|
130
130
|
- gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd
|
131
131
|
- gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd
|
132
132
|
- gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd
|
133
|
+
- gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd
|
133
134
|
- gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd
|
134
135
|
- installed/rwdviewlogo-0.4.inf
|
135
136
|
- rwd_files/favicon.ico
|
@@ -138,8 +139,8 @@ files:
|
|
138
139
|
- rwd_files/rdoc-style.css
|
139
140
|
- rwd_files/Readme.txt
|
140
141
|
- rwd_files/rwdapplications.html
|
141
|
-
- rwd_files/rwdindex.html
|
142
142
|
- rwd_files/tinker.png
|
143
|
+
- rwd_files/RubyWebDialogs.html
|
143
144
|
- zips/rwdahelloworld-0.5.zip
|
144
145
|
- tests/RubyGauge.rb
|
145
146
|
- tests/totranslate.lang
|
@@ -1,15 +0,0 @@
|
|
1
|
-
$rwdguivar=
|
2
|
-
"
|
3
|
-
<row> <p align=\"left\">
|
4
|
-
<a href=HowTo_Tinker.txt>Howto_Tinker.txt</a></p></row>
|
5
|
-
<row> <p align=\"left\">
|
6
|
-
<a href=Readme.txt>Readme.txt</a></p></row>
|
7
|
-
<row> <p align=\"left\">
|
8
|
-
<a href=COPYING>GPL License </a></p></row>
|
9
|
-
<row> <p align=\"left\">
|
10
|
-
<a href=rwdapplications.html>more information about rwdapplications </a></p></row>
|
11
|
-
<row> <p align=\"left\">
|
12
|
-
<a href=rwdindex.html>Link to online information about RubyWebdialogs </a></p></row>"
|
13
|
-
|
14
|
-
|
15
|
-
|