rwdtinker 1.72 → 1.73
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +10 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +44 -5
- data/configuration/rwdtinker.dist +2 -2
- data/lang/en/rwdcore/languagefile.rb +0 -6
- data/lang/es/rwdcore/languagefile-es.rb +0 -6
- data/lang/nl/rwdcore/languagefile.rb +0 -6
- data/rwdtinker.rb +1 -0
- data/tests/cleancnf.sh +2 -1
- metadata +3 -2
data/Readme.txt
CHANGED
@@ -234,6 +234,16 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
234
234
|
Thanks, Steven Gibson
|
235
235
|
|
236
236
|
== Changelog
|
237
|
+
Version 1.73
|
238
|
+
more debug info in initiateapplet
|
239
|
+
remove gutenberg lang translations
|
240
|
+
correct gui building error recovery
|
241
|
+
|
242
|
+
Version 1.72
|
243
|
+
additional cleanup for live applet add and removal
|
244
|
+
after applet removal focus returns to proper tab
|
245
|
+
error messages are reduced unless $DEBUG=true
|
246
|
+
|
237
247
|
Version 1.70
|
238
248
|
major update to applet loading routines
|
239
249
|
a properly prepared applet should be loadable and unloadable live with not restarting
|
@@ -26,15 +26,22 @@
|
|
26
26
|
# integrate the new configuration files
|
27
27
|
def initiateapplet(nametextlocal)
|
28
28
|
|
29
|
-
|
29
|
+
debuginitiate = 0
|
30
|
+
|
31
|
+
if $DEBUG
|
32
|
+
$stderr.puts "starting config load with: #{nametextlocal}"
|
33
|
+
end
|
34
|
+
|
30
35
|
|
31
36
|
Dir.chdir($progdir ) #changes the current working directory
|
32
37
|
|
33
38
|
@confignew = "configuration/" + "#{nametextlocal}.cnf"
|
34
39
|
@configdist = "configuration/" + "#{nametextlocal}.dist"
|
35
40
|
Rconftool::install(@configdist,@confignew)
|
36
|
-
|
37
|
-
|
41
|
+
|
42
|
+
begin
|
43
|
+
|
44
|
+
configfileload = File.open(@configdist){|f| f.read}
|
38
45
|
|
39
46
|
eval configfileload #load config file
|
40
47
|
|
@@ -44,6 +51,16 @@ begin
|
|
44
51
|
showjumplinkoptions # update the application link menu
|
45
52
|
runrwdtinkerbackwindow # back to applet window
|
46
53
|
|
54
|
+
rescue
|
55
|
+
|
56
|
+
if $DEBUG
|
57
|
+
$stderr.puts "error in initiateapplets - config load"
|
58
|
+
end
|
59
|
+
debuginitiate += 1
|
60
|
+
end
|
61
|
+
tempguistorage = $rwd_gui_tinker # if gui load fails restore old
|
62
|
+
begin # error trap
|
63
|
+
|
47
64
|
# build the actual GUI from the gui parts
|
48
65
|
$tempdoc = " "
|
49
66
|
#get a list of the files and subdirectories on the starting directory only
|
@@ -70,11 +87,24 @@ begin
|
|
70
87
|
|
71
88
|
else #it is a directory...
|
72
89
|
loadguifile(x + "/**")
|
90
|
+
|
91
|
+
|
73
92
|
end
|
74
93
|
end
|
75
94
|
|
76
95
|
$rwd_gui_tinker = $tempdoc
|
77
96
|
|
97
|
+
|
98
|
+
rescue
|
99
|
+
$rwd_gui_tinker = tempguistorage # restore old gui
|
100
|
+
if $DEBUG
|
101
|
+
$stderr.puts "error in initiateapplets - gui building"
|
102
|
+
end
|
103
|
+
|
104
|
+
debuginitiate += 1
|
105
|
+
end
|
106
|
+
|
107
|
+
begin # error trap
|
78
108
|
# now load in the code files
|
79
109
|
|
80
110
|
$tempdoc = ""
|
@@ -99,10 +129,19 @@ end
|
|
99
129
|
return " applet loading successful " + tempresult
|
100
130
|
|
101
131
|
rescue
|
102
|
-
|
103
|
-
|
132
|
+
if $DEBUG
|
133
|
+
$stderr.puts "error in initiateapplets - code building"
|
134
|
+
end
|
135
|
+
debuginitiate += 1
|
136
|
+
|
104
137
|
|
105
138
|
end
|
139
|
+
|
140
|
+
if debuginitiate > 0
|
141
|
+
return " initiateapplet .."
|
142
|
+
else
|
143
|
+
return " initiateapplet success"
|
144
|
+
end
|
106
145
|
|
107
146
|
end
|
108
147
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.73
|
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"
|
@@ -14,5 +14,5 @@ LangDir = "lang"
|
|
14
14
|
$rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
|
15
15
|
Browser_Exe = 'mozilla '
|
16
16
|
$tinkerdocumentsarray +=["HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
|
17
|
-
RwdTinkerVersion = "1.
|
17
|
+
RwdTinkerVersion = "1.73"
|
18
18
|
|
@@ -10,13 +10,8 @@
|
|
10
10
|
:edit => "edit" ,
|
11
11
|
:file_name => '"File Name:"',
|
12
12
|
:fill_record => '"Fill Record"',
|
13
|
-
:gemcommands => '"Gem Commands"',
|
14
|
-
:gemfiles => '"Gem Files"' ,
|
15
|
-
:gemdocs => '"Gem Documents"' ,
|
16
|
-
:gem_name => '"Gem Name"' ,
|
17
13
|
:help => '"Help"',
|
18
14
|
:help_about => '"Help About"',
|
19
|
-
:installgem => '"Install Gem"' ,
|
20
15
|
:install_applet => '"install (rwdtinker) applet"',
|
21
16
|
:jumptoapplication_location => '"Jump to Application Location"',
|
22
17
|
:list_applets => '"List Applets"',
|
@@ -57,7 +52,6 @@
|
|
57
52
|
:view_platform => '"view platform"',
|
58
53
|
:viewplatform_information => '"View Platform Information"',
|
59
54
|
:view_event => '"View event"',
|
60
|
-
:view_gem => '"View Gem"',
|
61
55
|
:viewinstall_text => '"View Install Text"' ,
|
62
56
|
:viewlistinstall_files => '"View List of Installed Files"',
|
63
57
|
:view_photo => '"View Photo"',
|
@@ -10,13 +10,8 @@
|
|
10
10
|
:edit => "Editar" ,
|
11
11
|
:file_name => '"Fila Nombre:"',
|
12
12
|
:fill_record => '"Fill Record"',
|
13
|
-
:gem_commands => '"Comando de Gems"',
|
14
|
-
:gem_files => '"Gem Archivos"' ,
|
15
|
-
:gem_docs => '"Gem Documentos"' ,
|
16
|
-
:gem_name => '"Gem Nombre"' ,
|
17
13
|
:help => '"Ayuda"',
|
18
14
|
:help_about => '"Ayuda sobre"',
|
19
|
-
:install_gem => '"instale Gem"' ,
|
20
15
|
:install_applet => '"instale (rwdtinker) applet"',
|
21
16
|
:jumptoapplication_location => '"Jump to Application Location"',
|
22
17
|
:list_applets => '"List Applets"',
|
@@ -61,7 +56,6 @@
|
|
61
56
|
:view_platform => '"view platform"',
|
62
57
|
:viewplatform_information => '"View Platform Information"',
|
63
58
|
:view_event => '"Ver evento"',
|
64
|
-
:view_gem => '"Ver Gem"',
|
65
59
|
:viewinstall_text => '"Ver Texto"' ,
|
66
60
|
:viewlistinstall_files => '"View List of Installed Files"',
|
67
61
|
:view_photo => '"Ver Photo"' ,
|
@@ -29,13 +29,8 @@
|
|
29
29
|
:edit => "edit" ,
|
30
30
|
:file_name => '"File Name:"',
|
31
31
|
:fill_record => '"Fill Record"',
|
32
|
-
:gem_commands => '"Gem Commands"',
|
33
|
-
:gem_files => '"Gem Files"' ,
|
34
|
-
:gem_docs => '"Gem Documents"' ,
|
35
|
-
:gem_name => '"Gem Name"' ,
|
36
32
|
:help => '"Help"',
|
37
33
|
:help_about => '"Help About"',
|
38
|
-
:installgem => '"Install Gem"' ,
|
39
34
|
:install_applet => '"install (rwdtinker) applet"',
|
40
35
|
:jumptoapplication_location => '"Jump to Application Location"',
|
41
36
|
:list_applets => '"List Applets"',
|
@@ -74,7 +69,6 @@
|
|
74
69
|
:view_platform => '"view platform"',
|
75
70
|
:viewplatform_information => '"View Platform Information"',
|
76
71
|
:view_event => '"View event"',
|
77
|
-
:view_gem => '"View Gem"',
|
78
72
|
:viewinstall_text => '"View Install Text"' ,
|
79
73
|
:viewlistinstall_files => '"View List of Installed Files"',
|
80
74
|
:view_photo => '"View Photo"',
|
data/rwdtinker.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# this file does nothing
|
data/tests/cleancnf.sh
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rwdtinker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "1.
|
4
|
+
version: "1.73"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Gibson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-09-01 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -150,6 +150,7 @@ files:
|
|
150
150
|
- tests/checkdepends.sh
|
151
151
|
- Readme.txt
|
152
152
|
- rwdconfig.dist
|
153
|
+
- rwdtinker.rb
|
153
154
|
- init.rb
|
154
155
|
has_rdoc: true
|
155
156
|
homepage: http://rubyforge.org/projects/rwdapplications/
|