rwdtinker 1.65 → 1.66
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 +4 -0
- data/code/01rwdcore/rwdtinkerversion.rb +2 -2
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +1 -18
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +2 -5
- data/configuration/rwdapplicationidentity.dist +1 -1
- data/configuration/rwdtinker.dist +3 -4
- data/configuration/tinkerwin2variables.dist +1 -1
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +1 -15
- data/rwd_files/HowTo_Tinker.txt +4 -0
- data/rwdconfig.dist +3 -1
- data/tests/makedist.rb +1 -0
- data/tests/makerwdwaddresses-1.04.rb +40 -0
- metadata +5 -4
data/Readme.txt
CHANGED
@@ -227,6 +227,10 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
227
227
|
Thanks, Steven Gibson
|
228
228
|
|
229
229
|
== Changelog
|
230
|
+
Version 1.66
|
231
|
+
Fixed directory layout
|
232
|
+
increased size of config edit screen
|
233
|
+
|
230
234
|
Version 1.65
|
231
235
|
Changed documents listing screen - now using hash
|
232
236
|
Changed helpabout screen - now using hash
|
@@ -3,14 +3,14 @@
|
|
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
|
6
|
+
def tinkerhelpaboutsetup
|
7
7
|
return ["RwdTinker","(c) 2004 Steven Gibson ","Version #{RwdTinkerVersion}"]
|
8
8
|
end
|
9
9
|
|
10
10
|
def runrwdtinkerversion
|
11
11
|
@rwd_window = "applicationversion"
|
12
12
|
helpaboutinput = @a_helpaboutinput.downcase
|
13
|
-
versionarraysetup = "
|
13
|
+
versionarraysetup = "#{helpaboutinput}helpaboutsetup"
|
14
14
|
versionarray= self.send(versionarraysetup)
|
15
15
|
|
16
16
|
@versionappnamedisplay = versionarray[0].to_s
|
@@ -16,7 +16,7 @@ def listzipfilestoinstall
|
|
16
16
|
a.each do |x|
|
17
17
|
# only zip files
|
18
18
|
if x =~ /\.zip/
|
19
|
-
|
19
|
+
#adds the file to the array to display on the screen
|
20
20
|
$zipsarraylocal = $zipsarraylocal | ["#{x}"]
|
21
21
|
end
|
22
22
|
|
@@ -12,24 +12,7 @@ def loadconfigurationrecord
|
|
12
12
|
fileName = File.join(ConfigurationDir, TinkerWin2ConfigurationFileName)
|
13
13
|
|
14
14
|
fd = File.open(fileName,"r")
|
15
|
-
@
|
16
|
-
@a_configline2 = fd.readline.chomp
|
17
|
-
@a_configline3 = fd.readline.chomp
|
18
|
-
@a_configline4 = fd.readline.chomp
|
19
|
-
@a_configline5 = fd.readline.chomp
|
20
|
-
@a_configline6 = fd.readline.chomp
|
21
|
-
@a_configline7 =fd.readline.chomp
|
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
|
29
|
-
|
30
|
-
while ! fd.eof?
|
31
|
-
@extraconfigdatadisplay = fd.readline
|
32
|
-
end
|
15
|
+
@a_configurationfile = fd.read
|
33
16
|
fd.close
|
34
17
|
rescue SystemCallError, StandardError
|
35
18
|
$stderr.print "system call error: " + $!
|
@@ -3,12 +3,9 @@ def saveconfigurationrecord
|
|
3
3
|
require 'fileutils'
|
4
4
|
if @a_configurationfilename
|
5
5
|
newname = "%s" % [@a_configurationfilename] # grab the filename to create
|
6
|
-
newdata =@
|
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"
|
6
|
+
newdata =@a_configurationfile
|
10
7
|
|
11
|
-
begin # exception trapped block
|
8
|
+
begin # exception trapped block
|
12
9
|
fileName = File.join( ConfigurationDir, newname )
|
13
10
|
fd = File.open(fileName,"w")
|
14
11
|
fd.print(newdata) # save the record info to the file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.66
|
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,9 +12,8 @@ LangDir = "lang"
|
|
12
12
|
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"]
|
13
13
|
$port = 7705
|
14
14
|
$rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
|
15
|
-
$tinkerhelpaboutarray = ["Tinker"]
|
16
15
|
Browser_Exe = 'mozilla '
|
17
|
-
$tinkerdocumentsarray
|
18
|
-
RwdTinkerVersion = "1.
|
16
|
+
$tinkerdocumentsarray +=["COPYING","HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
|
17
|
+
RwdTinkerVersion = "1.66"
|
19
18
|
|
20
19
|
|
@@ -16,21 +16,7 @@ $rwdguivar=
|
|
16
16
|
|
17
17
|
</horizontal>
|
18
18
|
<table>
|
19
|
-
|
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
|
-
<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>
|
19
|
+
<textarea name=\"a_configurationfile\"/>
|
34
20
|
|
35
21
|
|
36
22
|
</table>
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
@@ -227,6 +227,10 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
227
227
|
Thanks, Steven Gibson
|
228
228
|
|
229
229
|
== Changelog
|
230
|
+
Version 1.66
|
231
|
+
Fixed directory layout
|
232
|
+
increased size of config edit screen
|
233
|
+
|
230
234
|
Version 1.65
|
231
235
|
Changed documents listing screen - now using hash
|
232
236
|
Changed helpabout screen - now using hash
|
data/rwdconfig.dist
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.66
|
2
2
|
# rwdtinker core configuration file
|
3
3
|
##NAME: ConfigLocation:0
|
4
4
|
ConfigLocation=""
|
@@ -10,6 +10,8 @@ $testharnessarray = ["rwdtinker_all_tests"]
|
|
10
10
|
TestNow=false # turning this on will run the unit tests
|
11
11
|
##NAME:$testharness:0
|
12
12
|
$testharness=true
|
13
|
+
##NAME:$tinkerhelpaboutarray:0
|
14
|
+
$tinkerhelpaboutarray = ["Tinker"]
|
13
15
|
##NAME:$tinkerdocumentsarray:0
|
14
16
|
$tinkerdocumentsarray = ["Readme.txt"]
|
15
17
|
|
data/tests/makedist.rb
CHANGED
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/usr/bin/ruby -w
|
2
|
+
#***********************************************************************
|
3
|
+
#* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
|
4
|
+
#* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
|
5
|
+
#* at "steven@superant.com".
|
6
|
+
#***********************************************************************/
|
7
|
+
$progdir =""
|
8
|
+
require 'fileutils'
|
9
|
+
|
10
|
+
DistroName = "rwdwaddresses-1.04"
|
11
|
+
|
12
|
+
$progdir = File::expand_path( File.dirname(__FILE__))
|
13
|
+
results = " "
|
14
|
+
|
15
|
+
puts "creating #{DistroName} applet distribution files "
|
16
|
+
sourcedir = "../rwdaddresses/"
|
17
|
+
|
18
|
+
|
19
|
+
fileName = "installed/" + "#{DistroName}" + ".inf"
|
20
|
+
|
21
|
+
fd = File.open(fileName,"r")
|
22
|
+
@@displaytext = " "
|
23
|
+
temp = fd.readline.chomp
|
24
|
+
while ! fd.eof?
|
25
|
+
|
26
|
+
@@displaytext = fd.readline.chomp
|
27
|
+
lastslash = @@displaytext.rindex('/')
|
28
|
+
@@pathaddress = @@displaytext.slice(0..lastslash)
|
29
|
+
puts @@pathaddress
|
30
|
+
sourcefile = sourcedir + @@displaytext
|
31
|
+
puts @@displaytext
|
32
|
+
FileUtils.mkdir_p(@@pathaddress)
|
33
|
+
@@copycommand = "cp -v -r -f -a #{sourcefile} #{@@pathaddress}"
|
34
|
+
|
35
|
+
puts `#{@@copycommand}`
|
36
|
+
end
|
37
|
+
fd.close
|
38
|
+
|
39
|
+
|
40
|
+
ListingCommand = "ls -1 -s -h *"
|
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.66"
|
7
|
+
date: 2005-04-18
|
8
8
|
summary: rwdtinker application is a framework to program for RubyWebDialogs.
|
9
9
|
require_paths:
|
10
10
|
- "."
|
@@ -46,7 +46,6 @@ files:
|
|
46
46
|
- code/01rwdcore/setuptinkerdocuments.rb
|
47
47
|
- code/01rwdcore/setuphelpaboutoptions.rb
|
48
48
|
- code/01rwdcore/runopentinkerdocument.rb
|
49
|
-
- code/dd0viewphoto/dd0viewphoto.rb
|
50
49
|
- code/superant.com.rwdtinkerbackwindow/controlclient.rb
|
51
50
|
- code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
|
52
51
|
- code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb
|
@@ -71,6 +70,7 @@ files:
|
|
71
70
|
- code/superant.com.rwdtinkerbackwindow/listgemzips.rb
|
72
71
|
- code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb
|
73
72
|
- code/zz0applicationend/zz0end.rb
|
73
|
+
- code/dd0viewphoto/dd0viewphoto.rb
|
74
74
|
- configuration/tinkerwin2variables.dist
|
75
75
|
- configuration/rwdtinker.dist
|
76
76
|
- configuration/language.dist
|
@@ -148,9 +148,10 @@ files:
|
|
148
148
|
- tests/rdep.rb
|
149
149
|
- tests/checkdepends.sh
|
150
150
|
- tests/makedist.rb
|
151
|
+
- tests/makerwdwaddresses-1.04.rb
|
151
152
|
- init.rb
|
152
|
-
- Readme.txt
|
153
153
|
- rwdconfig.dist
|
154
|
+
- Readme.txt
|
154
155
|
test_files: []
|
155
156
|
rdoc_options:
|
156
157
|
- "--main"
|