rwdhypernote 0.13 → 0.15
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 +20 -7
- data/code/01rwdcore/01rwdcore.rb +2 -2
- data/code/01rwdcore/02helptexthashbegin.rb +10 -0
- data/code/01rwdcore/03helptexthash.rb +18 -20
- data/code/01rwdcore/runopentinkerdocument.rb +1 -1
- data/code/superant.com.hypernote/0uninstallapplet.rb +1 -1
- data/code/superant.com.hypernote/listdirectories2.rb +32 -0
- data/code/superant.com.hypernote/listdirectories3.rb +3 -4
- data/code/superant.com.hypernote/listhypernotes.rb +0 -16
- data/code/superant.com.hypernote/listnotedirhttp4.rb +9 -8
- data/code/superant.com.hypernote/listnotedirshtml.rb +0 -16
- data/code/superant.com.hypernote/listnotedirshtml2.rb +10 -25
- data/code/superant.com.hypernote/listnotedirshtml3.rb +0 -16
- data/code/superant.com.hypernote/loadconfigurationrecord.rb +1 -1
- data/code/superant.com.hypernote/loadconfigurationvariables.rb +1 -1
- data/code/superant.com.hypernote/saveconfigurationrecord.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +89 -158
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +10 -8
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +6 -6
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
- data/configuration/rwdtinker.dist +5 -8
- data/configuration/{rwdwhypernote-0.13.dist → rwdwhypernote.dist} +9 -9
- data/configuration/tinkerwin2variables.dist +13 -7
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/{viewlogo/cc0openphoto.rwd → cc0openphoto.rwd} +0 -0
- data/gui/{frontwindowselectionbegin/selectiontabbegin → frontwindowselections}/00selectiontabbegin.rwd +0 -0
- data/gui/frontwindowselections/{superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd → jumplinkcommands.rwd} +1 -1
- data/gui/{frontwindowselectionzend/viewselectionzend → frontwindowselections}/wwselectionend.rwd +0 -0
- data/gui/{frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd → frontwindowtdocuments/00documentbegin.rwd} +0 -0
- data/gui/frontwindowtdocuments/{superant.com.documents/tinkerdocuments.rwd → tinkerdocuments.rwd} +0 -0
- data/gui/{helpaboutbegin/superant.com.helpaboutbegin → frontwindowtdocuments}/zzdocumentend.rwd +0 -0
- data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzrwdlasttab.rwd → zzzrwdlasttab.rwd} +0 -0
- data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
- data/gui/{helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd → helpaboutbegin/zzzzzzhelpabouttab.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/helpscreenend.rwd → helpscreenend.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zhelpscreenstart2.rwd → zhelpscreenstart2.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpabout2.rwd → zzzzhelpabout2.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpscreen2end.rwd → zzzzhelpscreen2end.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/10htmlnote.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.hypernote/15htmlview.rwd +5 -10
- data/gui/tinkerbackwindows/superant.com.hypernote/21editnote.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.hypernote/25html2note.rwd +7 -3
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +1 -1
- data/gui/zzcoreguiend/{tinkerapplicationguiend/yy9rwdend.rwd → yy9rwdend.rwd} +0 -0
- data/init.rb +61 -165
- data/installed/hypernotedata2.inf +1 -11
- data/installed/{rwdwhypernote-0.13.inf → rwdwhypernote.inf} +2 -2
- data/lang/en/rwdcore/en.po +166 -0
- data/lang/es/rwdcore/es.po +172 -0
- data/lang/fr/rwdcore/fr.po +166 -0
- data/lang/hi/rwdcore/hi.po +170 -0
- data/lang/ja/rwdcore/ja.po +168 -0
- data/lang/nl/rwdcore/nl.po +166 -0
- data/{extras → lib}/rconftool.rb +13 -6
- data/{ev → lib/rwd}/browser.rb +2 -2
- data/{ev → lib/rwd}/ftools.rb +0 -0
- data/{ev → lib/rwd}/mime.rb +0 -0
- data/{ev → lib/rwd}/net.rb +18 -7
- data/{ev → lib/rwd}/ruby.rb +1 -1
- data/{ev → lib/rwd}/rwd.rb +112 -632
- data/{ev → lib/rwd}/sgml.rb +1 -1
- data/{ev → lib/rwd}/thread.rb +1 -1
- data/{ev → lib/rwd}/tree.rb +2 -2
- data/{ev → lib/rwd}/xml.rb +1 -1
- data/lib/rwdthemes/default.rwd +317 -0
- data/lib/rwdthemes/pda.rwd +72 -0
- data/lib/rwdthemes/windowslike.rwd +171 -0
- data/lib/rwdtinker/rwdcodedir.rb +56 -0
- data/lib/rwdtinker/rwdguidir.rb +57 -0
- data/lib/rwdtinker/rwdlangdir.rb +60 -0
- data/lib/rwdtinker/rwdtinkertools.rb +25 -0
- data/{extras → lib}/zip/ioextras.rb +0 -0
- data/{extras → lib}/zip/stdrubyext.rb +0 -0
- data/{extras → lib}/zip/tempfile_bugfixed.rb +0 -0
- data/{extras → lib}/zip/zip.rb +2 -2
- data/{extras → lib}/zip/zipfilesystem.rb +0 -0
- data/{extras → lib}/zip/ziprequire.rb +0 -0
- data/rwd_files/HowTo_HyperNote.txt +23 -0
- data/rwd_files/HowTo_Tinker.txt +49 -7
- data/{Notes → rwd_files/Notes}/changes.lnk +0 -0
- data/{Notes → rwd_files/Notes}/changes.txt +0 -0
- data/rwd_files/Notes/hypernote/hypernote02.html +169 -0
- data/rwd_files/Notes/hypernote/hypernote02.txt +28 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.htm +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/newnote.txt +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/rwdtinker.html +0 -0
- data/rwd_files/Tinkerhelptexthash.txt +81 -0
- data/rwd_files/log/rwdtinker.log +630 -0
- data/rwdconfig.dist +14 -13
- data/tests/makedist-rwdwhypernote.rb +2 -2
- data/tests/makedist.rb +12 -7
- data/zips/rwdwcalc-0.63.zip +0 -0
- data/zips/rwdwfoldeditor-0.05.zip +0 -0
- data/zips/rwdwhypernote-0.15.zip +0 -0
- data/zips/rwdwmovies-0.98.zip +0 -0
- data/zips/rwdwruby-1.08.zip +0 -0
- data/zips/tinkerbellw-0.03.zip +0 -0
- data/zips/wrubyslippers-1.08.zip +0 -0
- metadata +71 -66
- data/Notes/hypernote/hypernote01.html +0 -1
- data/Notes/hypernote/hypernote02.txt +0 -1
- data/code/01rwdcore/04helptextend.rb +0 -6
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -61
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +0 -27
- data/configuration/language.dist +0 -8
- data/configuration/rwdapplicationidentity.dist +0 -3
- data/lang/en/rwdcore/languagefile.rb +0 -58
- data/lang/es/rwdcore/languagefile-es.rb +0 -62
- data/lang/fr/rwdcore/languagefile.rb +0 -64
- data/lang/jp/rwdcore/languagefile.rb +0 -72
- data/lang/nl/rwdcore/languagefile.rb +0 -75
- data/lib/temp.rb +0 -1
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwgutenberg-0.09.zip +0 -0
- data/zips/rwdwhypernote-0.13.zip +0 -0
- data/zips/rwdwshell-1.04.zip +0 -0
- data/zips/wrubyslippers-1.06.zip +0 -0
|
@@ -28,10 +28,7 @@ def initiateapplet(nametextlocal)
|
|
|
28
28
|
|
|
29
29
|
debuginitiate = 0
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
$stderr.puts "starting config load with: #{nametextlocal}"
|
|
33
|
-
end
|
|
34
|
-
|
|
31
|
+
$rwdtinkerlog.info "initiateapplet: starting config load with: #{nametextlocal}"
|
|
35
32
|
|
|
36
33
|
Dir.chdir($progdir ) #changes the current working directory
|
|
37
34
|
|
|
@@ -45,98 +42,105 @@ begin
|
|
|
45
42
|
|
|
46
43
|
eval configfileload #load config file
|
|
47
44
|
|
|
48
|
-
setuphelpaboutoptions # update the help about list
|
|
49
|
-
setuptinkerdocuments # update the document pull down list
|
|
50
|
-
runhelpwindow # update the help menu
|
|
51
|
-
showjumplinkoptions # update the application link menu
|
|
52
|
-
runrwdtinkerbackwindow # back to applet window
|
|
53
|
-
|
|
54
45
|
rescue
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
end
|
|
46
|
+
|
|
47
|
+
$rwdtinkerlog.error "initiateapplet: error in initiateapplets - config load"
|
|
48
|
+
|
|
59
49
|
debuginitiate += 1
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
begin # error trap
|
|
50
|
+
end
|
|
51
|
+
$tempdoc = " "
|
|
63
52
|
|
|
64
|
-
|
|
53
|
+
Dir.chdir($progdir) # change back to top program directory
|
|
54
|
+
|
|
55
|
+
# build the English Language hash file from the parts
|
|
56
|
+
require 'lib/rwdtinker/rwdlangdir'
|
|
57
|
+
|
|
58
|
+
tempdoc = RwdtinkerTools.findlanguagefiles(LangDir,"en")
|
|
59
|
+
|
|
60
|
+
#writes the contents of doc into the languagehashvariable
|
|
61
|
+
|
|
62
|
+
languagehashvariable = tempdoc
|
|
63
|
+
|
|
64
|
+
# END of en Lang building
|
|
65
65
|
$tempdoc = " "
|
|
66
|
-
#
|
|
67
|
-
|
|
68
|
-
#
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
#adds the new ones to the array
|
|
75
|
-
b = Dir[@@root].entries.sort
|
|
76
|
-
b.each do |x|
|
|
77
|
-
if(test(?d,x))
|
|
78
|
-
a.push(x) #appends to the end of the array...
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
a.each do |x|
|
|
84
|
-
#if it is a file...
|
|
85
|
-
if(!test(?d,x))
|
|
86
|
-
a.delete(x)
|
|
87
|
-
|
|
88
|
-
else #it is a directory...
|
|
89
|
-
loadguifile(x + "/**")
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
end
|
|
93
|
-
end
|
|
66
|
+
Dir.chdir($progdir) # change back to top program directory
|
|
67
|
+
|
|
68
|
+
# build the local Language hash file from the parts
|
|
69
|
+
tempdoc = RwdtinkerTools.findlanguagefiles(LangDir,$lang)
|
|
70
|
+
|
|
71
|
+
#writes the contents of doc into the variable
|
|
72
|
+
|
|
73
|
+
languagehashvariable = languagehashvariable + tempdoc
|
|
94
74
|
|
|
95
|
-
$
|
|
75
|
+
Dir.chdir($progdir) # change back to top program directory
|
|
76
|
+
|
|
77
|
+
temp = eval( languagehashvariable )
|
|
96
78
|
|
|
97
79
|
|
|
80
|
+
tempguistorage = $rwd_gui_tinker # if gui load fails restore old
|
|
81
|
+
begin # error trap
|
|
82
|
+
|
|
83
|
+
# build the actual GUI from the gui parts
|
|
84
|
+
tempdoc = " "
|
|
85
|
+
|
|
86
|
+
require 'lib/rwdtinker/rwdguidir'
|
|
87
|
+
|
|
88
|
+
tempdoc = RwdtinkerTools.findguifiles(GuiDir)
|
|
89
|
+
|
|
90
|
+
$rwd_gui_tinker = tempdoc
|
|
91
|
+
|
|
98
92
|
rescue
|
|
99
93
|
$rwd_gui_tinker = tempguistorage # restore old gui
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
end
|
|
94
|
+
|
|
95
|
+
$rwdtinkerlog.error "error in initiateapplets - gui building"
|
|
103
96
|
|
|
104
97
|
debuginitiate += 1
|
|
105
98
|
end
|
|
106
99
|
|
|
107
100
|
begin # error trap
|
|
108
|
-
# now load in the code files
|
|
101
|
+
# now load in the code files
|
|
109
102
|
|
|
110
|
-
$tempdoc = ""
|
|
111
|
-
tempcodeinstallline = ""
|
|
103
|
+
$tempdoc = ""
|
|
104
|
+
tempcodeinstallline = ""
|
|
112
105
|
|
|
113
|
-
|
|
106
|
+
@fileName = "installed/" + nametextlocal + ".inf"
|
|
107
|
+
|
|
108
|
+
$rwdtinkerlog.debug "initateapplets: loading file: #{@fileName}"
|
|
114
109
|
|
|
115
|
-
|
|
110
|
+
tmpfilearray = File.readlines(@fileName)
|
|
116
111
|
|
|
117
|
-
|
|
112
|
+
tmpfilearray.each do |line|
|
|
118
113
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
# resultend = tempcodeinstallline .index("\n",resultstart)
|
|
127
|
-
tempresult = @fileName
|
|
128
|
-
|
|
129
|
-
return " applet loading successful " + tempresult
|
|
114
|
+
tempcodeinstallline = line.chomp
|
|
115
|
+
if tempcodeinstallline.include?('code/')
|
|
116
|
+
findfiles(tempcodeinstallline + "/**")
|
|
117
|
+
tempcoderesult = eval( $tempdoc ) # read the program code and evaluate
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
130
121
|
|
|
131
122
|
rescue
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
123
|
+
|
|
124
|
+
$rwdtinkerlog.error "error in initiateapplets - code building"
|
|
125
|
+
|
|
135
126
|
debuginitiate += 1
|
|
136
127
|
|
|
137
128
|
|
|
138
129
|
end
|
|
139
130
|
|
|
131
|
+
setuphelpaboutoptions # update the help about list
|
|
132
|
+
setuptinkerdocuments # update the document pull down list
|
|
133
|
+
runhelpwindow # update the help menu
|
|
134
|
+
showjumplinkoptions # update the application link menu
|
|
135
|
+
runrwdtinkerbackwindow # back to applet window
|
|
136
|
+
|
|
137
|
+
# resultend = tempcodeinstallline .index("\n",resultstart)
|
|
138
|
+
tempresult = @fileName
|
|
139
|
+
|
|
140
|
+
return " applet loading successful " + tempresult
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
140
144
|
if debuginitiate > 0
|
|
141
145
|
return " initiateapplet .."
|
|
142
146
|
else
|
|
@@ -145,95 +149,22 @@ return " applet loading successful " + tempresult
|
|
|
145
149
|
|
|
146
150
|
end
|
|
147
151
|
|
|
148
|
-
=begin
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
Dir.chdir($progdir) # change back to top program directory
|
|
152
|
-
|
|
153
|
-
# build the English Language hash file from the parts
|
|
154
|
-
languagehashvariable = 'Message = Hash.new { |hh, kk| hh[kk] = "ERROR: Message not found: #{kk.inspect}."; hh[kk] }
|
|
155
|
-
langmessage = {' + "\n"
|
|
156
|
-
startlangdir = File.join(LangDir,"en")
|
|
157
|
-
#get a list of the files and subdirectories on the starting directory only
|
|
158
|
-
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
|
159
|
-
#loop through the list, ignore the files and add all new directories found
|
|
160
|
-
alanghash.each do |x|
|
|
161
|
-
#if a directory...
|
|
162
|
-
if(test(?d,x))
|
|
163
|
-
# add to the original list of directories
|
|
164
|
-
@@tmproot = x + "/**"
|
|
165
|
-
#adds the new ones to the array
|
|
166
|
-
blanghash = Dir[@@tmproot].entries.sort
|
|
167
|
-
blanghash.each do |x|
|
|
168
|
-
if(test(?d,x))
|
|
169
|
-
alanghash.push(x) #appends to the end of the array...
|
|
170
|
-
end
|
|
171
|
-
end
|
|
172
|
-
end
|
|
173
|
-
end
|
|
174
|
-
alanghash.each do |x|
|
|
175
|
-
#if it is a file...
|
|
176
|
-
if(!test(?d,x))
|
|
177
|
-
alanghash.delete(x)
|
|
178
|
-
else #it is a directory...
|
|
179
|
-
findfiles(x + "/**")
|
|
180
|
-
end
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
#writes the contents of doc into the languagehashvariable
|
|
185
|
-
languagehashvariable = languagehashvariable + $tempdoc + "} ; langmessage.each { |kk, vv| Message[kk] = vv }"
|
|
186
|
-
|
|
187
|
-
# END of en Lang building
|
|
188
|
-
$tempdoc = " "
|
|
189
|
-
Dir.chdir($progdir) # change back to top program directory
|
|
190
|
-
|
|
191
|
-
# build the local Language hash file from the parts
|
|
192
|
-
startlangdir = File.join(LangDir,$lang)
|
|
193
|
-
#get a list of the files and subdirectories on the starting directory only
|
|
194
|
-
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
|
195
|
-
#loop through the list, ignore the files and add all new directories found
|
|
196
|
-
alanghash.each do |x|
|
|
197
|
-
#if a directory...
|
|
198
|
-
if(test(?d,x))
|
|
199
|
-
# add to the original list of directories
|
|
200
|
-
@@tmproot = x + "/**"
|
|
201
|
-
#adds the new ones to the array
|
|
202
|
-
blanghash = Dir[@@tmproot].entries.sort
|
|
203
|
-
blanghash.each do |x|
|
|
204
|
-
if(test(?d,x))
|
|
205
|
-
alanghash.push(x) #appends to the end of the array...
|
|
206
|
-
end
|
|
207
|
-
end
|
|
208
|
-
end
|
|
209
|
-
end
|
|
210
|
-
alanghash.each do |x|
|
|
211
|
-
#if it is a file...
|
|
212
|
-
if(!test(?d,x))
|
|
213
|
-
alanghash.delete(x)
|
|
214
|
-
else #it is a directory...
|
|
215
|
-
findfiles(x + "/**")
|
|
216
|
-
end
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
#writes the contents of doc into the variable
|
|
221
|
-
languagehashvariable = languagehashvariable + " ; Message.update(" + $tempdoc + ' :rwdtinker => "Rwdtinker" ) '
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
$tempdoc = " "
|
|
225
|
-
|
|
226
|
-
Dir.chdir($progdir) # change back to top program directory
|
|
227
|
-
|
|
228
|
-
temp = eval( languagehashvariable )
|
|
229
|
-
|
|
230
|
-
$tempdoc = " "
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
152
|
|
|
153
|
+
def findfiles(d)
|
|
154
|
+
a = Array.new(Dir[d].entries.sort)
|
|
155
|
+
#loop through and get the files names
|
|
156
|
+
a.each do |x|
|
|
157
|
+
#adjust the filters to the files you want to see...
|
|
158
|
+
if(!test(?d,x))
|
|
159
|
+
# only rwd files
|
|
160
|
+
if x =~ /rb|rwd|txt/
|
|
161
|
+
fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
|
|
162
|
+
$tempdoc+=fileA.read #reads the file into the doc string
|
|
163
|
+
fileA.close
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|
|
236
168
|
|
|
237
|
-
=end
|
|
238
169
|
|
|
239
170
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# install rwdtinker applet from a long directory location
|
|
2
2
|
def installgemapplet
|
|
3
3
|
require 'fileutils'
|
|
4
|
-
require '
|
|
4
|
+
require 'lib/zip/zip'
|
|
5
5
|
nametext = "%s" % [@a_installapplet]
|
|
6
6
|
|
|
7
7
|
begin # exception trapped block
|
|
@@ -13,16 +13,18 @@ def installgemapplet
|
|
|
13
13
|
zf.extract(entry.to_s, entry.to_s)
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
rescue
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
$stderr.puts "unzip error - applet may not be installed correctly"
|
|
20
|
-
end
|
|
21
|
-
@installapplettext = " .. "
|
|
18
|
+
$rwdtinkerlog.error "installgemapplet: unzip error - applet may not be installed correctly"
|
|
22
19
|
|
|
23
|
-
|
|
20
|
+
@installapplettext = " .. "
|
|
24
21
|
|
|
25
|
-
|
|
22
|
+
end # exception rescue
|
|
23
|
+
|
|
24
|
+
@rwd_ignore_vars << @nametextbase << @returninitiateresults << @installapplettext
|
|
25
|
+
tmpnametext = File.basename(nametext)
|
|
26
|
+
tmpnametext.chop!; tmpnametext.chop!; tmpnametext.chop!; tmpnametext.chop!
|
|
27
|
+
@nametextbase = tmpnametext.chop!
|
|
26
28
|
@returninitateresults = initiateapplet(@nametextbase)
|
|
27
29
|
@installapplettext = Message[:applet_installed] + " " + @returninitateresults
|
|
28
30
|
|
|
@@ -5,8 +5,14 @@ def fillziptoinstallname(inffile)
|
|
|
5
5
|
|
|
6
6
|
end
|
|
7
7
|
|
|
8
|
-
def listzipfilestoinstall
|
|
9
|
-
|
|
8
|
+
def listzipfilestoinstall
|
|
9
|
+
|
|
10
|
+
if $zipslocation.slice(0,1) == "/" || $zipslocation.include?(":")
|
|
11
|
+
startlangdir = $zipslocation
|
|
12
|
+
else
|
|
13
|
+
startlangdir = File.join($progdir, $zipslocation )
|
|
14
|
+
end
|
|
15
|
+
|
|
10
16
|
#get a list of the files and subdirectories on the starting directory only
|
|
11
17
|
|
|
12
18
|
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
def removeappletvariables(tempremovename)
|
|
25
25
|
|
|
26
26
|
begin # exception trapped block
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
|
|
28
|
+
$rwdtinkerlog.info "in removeappletvariables"
|
|
29
|
+
|
|
30
30
|
# removefileinf = File.open(tempremove){|f| f.read}
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
removemethod =
|
|
34
|
-
|
|
32
|
+
|
|
33
|
+
removemethod = tempremovename
|
|
34
|
+
|
|
35
35
|
|
|
36
36
|
send "#{removemethod}"
|
|
37
37
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
def rwdtinkerrunviewlog
|
|
2
|
+
require 'lib/rwdtinker/rwdtinkertools'
|
|
3
|
+
|
|
4
|
+
if @a_rwdtinkerlognumber == nil
|
|
5
|
+
@a_rwdtinkerlognumber = 11
|
|
6
|
+
@returnlogdisplay = RwdtinkerTools.tail("rwd_files/log/rwdtinker.log",@a_rwdtinkerlognumber.to_i)
|
|
7
|
+
|
|
8
|
+
else
|
|
9
|
+
@returnlogdisplay = RwdtinkerTools.tail("rwd_files/log/rwdtinker.log",@a_rwdtinkerlognumber.to_i)
|
|
10
|
+
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
##VERSION:1.
|
|
1
|
+
##VERSION: (1.82)
|
|
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"
|
|
@@ -7,12 +7,9 @@ LangDir = "lang"
|
|
|
7
7
|
CodeDir = "code"
|
|
8
8
|
GuiDir = "gui"
|
|
9
9
|
$help_topic = "general_help"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"] # remote control code not actived 2007
|
|
10
|
+
$prevouswindow ="main"
|
|
11
|
+
$rwdcontrolports =["13713","13714","13715","13716"] # remote control code not actived 2007
|
|
13
12
|
$port = 7705
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
$tinkerdocumentsarray +=["HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
|
|
17
|
-
RwdTinkerVersion = "1.74"
|
|
13
|
+
##NAME: (RwdTinkerVersion):(1.82)
|
|
14
|
+
RwdTinkerVersion = "1.82"
|
|
18
15
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
##VERSION:0.
|
|
2
|
-
##NAME
|
|
3
|
-
$rwdhypernote_directory = "Notes"
|
|
4
|
-
##NAME
|
|
5
|
-
$notesarray = ["Notes/changes.txt"]
|
|
6
|
-
##NAME
|
|
7
|
-
$noteslinksarray = ["Notes/changes.lnk"]
|
|
1
|
+
##VERSION: (0.15)
|
|
2
|
+
##NAME: ($rwdhypernote_directory):(0.15)
|
|
3
|
+
$rwdhypernote_directory = "rwd_files/Notes"
|
|
4
|
+
##NAME: ($notesarray):(0.15)
|
|
5
|
+
$notesarray = ["rwd_files/Notes/changes.txt"]
|
|
6
|
+
##NAME: ($noteslinksarray):(0.15)
|
|
7
|
+
$noteslinksarray = ["rwd_files/Notes/changes.lnk"]
|
|
8
8
|
$rwdhypernote_ftpsite = "ftp.mysite.com"
|
|
9
9
|
$rwdhypernote_ftplogin = "mylogin"
|
|
10
10
|
$rwdhypernote_ftppassword = "mypassword"
|
|
@@ -15,6 +15,6 @@ $tinkerhelpaboutarray += ["RwdHypernote"]
|
|
|
15
15
|
$tinkerdocumentsarray += ["HowTo_HyperNote.txt"]
|
|
16
16
|
JumpLink.update(:RwdHypernoteTXT=>"runrwdhypernotetxtwindow", :RwdHypernote=>"runrwdhypernotemain")
|
|
17
17
|
$rwdjumplink +=["RwdHypernote","RwdHypernoteTXT"]
|
|
18
|
-
##NAME:RwdHyperNoteVersion:0
|
|
19
|
-
RwdHyperNoteVersion = "0.
|
|
18
|
+
##NAME: (RwdHyperNoteVersion):(0.15)
|
|
19
|
+
RwdHyperNoteVersion = "0.15"
|
|
20
20
|
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
##VERSION:1.
|
|
1
|
+
##VERSION: (1.82)
|
|
2
2
|
TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
|
|
3
|
-
##NAME
|
|
3
|
+
##NAME: ($zipslocation):(1.78)
|
|
4
4
|
$zipslocation = "zips" # location of applets to add
|
|
5
|
-
$zipsarray = [""]
|
|
6
|
-
|
|
5
|
+
$zipsarray = [""]
|
|
6
|
+
$zipsarraylocal = [""]
|
|
7
|
+
##NAME: ($xpcommand):(1.78)
|
|
7
8
|
$xpcommand = " " # Linux machines
|
|
8
9
|
# $xpcommand = "cmd /C " # XP machines with cmd shell
|
|
9
|
-
##NAME
|
|
10
|
+
##NAME: ($gemdirectory_withgemfiles):(1.78)
|
|
10
11
|
$gemdirectory_withgemfiles = "/var/lib/gems/1.8/gems"
|
|
11
12
|
# $gemdirectory_withgemfiles = "c:\\ruby\\lib\\ruby\\gems\\1.8\\gems" # XP machine
|
|
12
|
-
##NAME
|
|
13
|
+
##NAME: ($geminstalled_directory):(1.78)
|
|
13
14
|
# $geminstalled_directory = "/ruby/lib/ruby/gems/1.8/gems" # XP machine
|
|
14
15
|
$geminstalled_directory = "/var/lib/gems/1.8/gems" # Debian Linux
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
$rwdapplicationidentity = "rwdtinker main application"
|
|
17
18
|
|
|
19
|
+
RwdTinkerWin2Version = "1.81"
|
|
20
|
+
Browser_Exe = 'mozilla '
|
|
21
|
+
#language selection file
|
|
22
|
+
##NAME: ($langarray):(1.82)
|
|
23
|
+
$langarray = [ "en","ja", "nl","es", "fr","hi"]
|
|
File without changes
|
|
File without changes
|
|
@@ -2,7 +2,7 @@ $rwdguivar=
|
|
|
2
2
|
"
|
|
3
3
|
<horizontal>
|
|
4
4
|
<button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
|
|
5
|
-
|
|
5
|
+
<button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
|
|
6
6
|
</horizontal>
|
|
7
7
|
<table>
|
|
8
8
|
<select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
|
data/gui/{frontwindowselectionzend/viewselectionzend → frontwindowselections}/wwselectionend.rwd
RENAMED
|
File without changes
|
|
File without changes
|
data/gui/frontwindowtdocuments/{superant.com.documents/tinkerdocuments.rwd → tinkerdocuments.rwd}
RENAMED
|
File without changes
|
data/gui/{helpaboutbegin/superant.com.helpaboutbegin → frontwindowtdocuments}/zzdocumentend.rwd
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/gui/helpaboutzend/{superant.com.helpaboutend/zhelpscreenstart2.rwd → zhelpscreenstart2.rwd}
RENAMED
|
File without changes
|
|
File without changes
|
data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpscreen2end.rwd → zzzzhelpscreen2end.rwd}
RENAMED
|
File without changes
|
|
@@ -5,24 +5,19 @@ $rwdguivar=
|
|
|
5
5
|
<table>
|
|
6
6
|
<row>View your directory file list here (must be under rwd_files directory)</row>
|
|
7
7
|
<row> <p> </row>
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
|
|
10
9
|
</table>
|
|
11
10
|
<horizontal>
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
<button caption=\"Reset to top Directory\" action=\"rwdhypernoteresetdir\"/>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<button caption=\"Help\" action=\"runhelpwindowrwdhypernote\"/>
|
|
12
|
+
<button caption=\"List Directories\" action=\"rwdhypernotedirectories3\"/>
|
|
13
|
+
<button caption=\"Reset to top Directory\" action=\"rwdhypernoteresetdir\"/>
|
|
14
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdhypernote\"/>
|
|
20
15
|
|
|
21
16
|
</horizontal>
|
|
22
17
|
|
|
23
18
|
<horizontal>
|
|
24
19
|
|
|
25
|
-
%%
|
|
20
|
+
%%hypernotetxt_directory3%%
|
|
26
21
|
|
|
27
22
|
</horizontal>
|
|
28
23
|
|
|
29
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$rwdguivar=
|
|
2
2
|
"
|
|
3
|
-
<tab name=\"superantcomhtml2noterecordfile\" caption=\"
|
|
3
|
+
<tab name=\"superantcomhtml2noterecordfile\" caption=\"Note view 2nd\">
|
|
4
4
|
|
|
5
5
|
<table>
|
|
6
6
|
<row>View your note list and detail on this Tab (only click on text files)</row>
|
|
@@ -10,7 +10,7 @@ $rwdguivar=
|
|
|
10
10
|
</table>
|
|
11
11
|
<horizontal>
|
|
12
12
|
<button caption=\"Open Detail\" action=\"loadhtmlnoterecord2\"/>
|
|
13
|
-
<button caption=\"List Directories\" action=\"
|
|
13
|
+
<button caption=\"List Directories\" action=\"rwdhypernotedirectories2\"/>
|
|
14
14
|
<button caption=\"Reset to top Directory\" action=\"rwdhypernoteresetdir\"/>
|
|
15
15
|
|
|
16
16
|
|
|
@@ -18,7 +18,11 @@ $rwdguivar=
|
|
|
18
18
|
|
|
19
19
|
</horizontal>
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
<horizontal>
|
|
22
|
+
|
|
23
|
+
%%hypernotetxt_directory2%%
|
|
24
|
+
|
|
25
|
+
</horizontal>
|
|
22
26
|
<horizontal>
|
|
23
27
|
<button caption=\"List Notes\" action=\"listnotedirshtml2\"/>
|
|
24
28
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"rwdlogfiletab\" caption=\"RWD Log Files\">
|
|
4
|
+
<table>
|
|
5
|
+
<horizontal>
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
<p align=\"left\">Number of lines to display</p> <text size=11 name=\"a_rwdtinkerlognumber\"/>
|
|
9
|
+
|
|
10
|
+
<button caption=#{Message[:viewlogger_information]} action=\"rwdtinkerrunviewlog\"/>
|
|
11
|
+
</horizontal>
|
|
12
|
+
|
|
13
|
+
</table>
|
|
14
|
+
|
|
15
|
+
<p>%returnlogdisplay%</p>
|
|
16
|
+
|
|
17
|
+
</tab>"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
@@ -3,7 +3,7 @@ $rwdguivar=
|
|
|
3
3
|
<tab name=selectiontab caption=#{Message[:selection_tab]}>
|
|
4
4
|
<horizontal>
|
|
5
5
|
<button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
|
|
6
|
-
|
|
6
|
+
<button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
|
|
7
7
|
</horizontal>
|
|
8
8
|
<table>
|
|
9
9
|
<select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
|
|
File without changes
|