rwdtinker 1.84 → 1.85

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.
@@ -11,11 +11,20 @@
11
11
  locationlink.each { |kk, vv| JumpLink[kk] = vv }
12
12
 
13
13
  def runjumplinkcommand
14
- if @a_jumplinkinput
15
- runjumplocation = "#{JumpLink[:"#{@a_jumplinkinput}"]}"
14
+
15
+ if TabHash.has_key? JumpLink[:"#{@a_jumplinkinput}"].intern
16
+
17
+
18
+ @rwd_window = TabHash.fetch(JumpLink[:"#{@a_jumplinkinput}"].intern)
19
+ @rwd_tab = JumpLink[:"#{@a_jumplinkinput}"]
20
+
21
+ else
22
+
23
+ runjumplocation = "#{JumpLink[:"#{@a_jumplinkinput}"]}"
16
24
 
17
- self.send(runjumplocation)
18
- end
25
+ self.send(runjumplocation)
26
+ end
27
+
19
28
  end
20
29
 
21
30
 
@@ -0,0 +1,15 @@
1
+ # Application RwdTinker orginally (c) 2004-2008 Steven Gibson under GPL.
2
+ # rwdtinker application
3
+
4
+
5
+ def runtablinkcommand
6
+
7
+ $stderr.puts TabHash.fetch(JumpLink[:"#{@a_jumplinkinput}"].intern)
8
+
9
+ @rwd_windows = "tinkerbackwindow"
10
+ @rwd_tab = "selectiontab"
11
+
12
+ end
13
+
14
+
15
+
@@ -9,6 +9,8 @@ end
9
9
 
10
10
  def listzipfilestoinstall
11
11
 
12
+ $zipsarraylocal = []
13
+
12
14
  if $zipslocation.slice(0,1) == "/" || $zipslocation.include?(":")
13
15
  startlangdir = $zipslocation
14
16
  else
@@ -1,4 +1,4 @@
1
- ##VERSION: (1.84)
1
+ ##VERSION: (1.85)
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"
@@ -10,6 +10,6 @@ LangDir = "lang"
10
10
  $prevouswindow ="main"
11
11
  $rwdcontrolports =["13713","13714","13715","13716"] # remote control code not actived 2007
12
12
  $port = 7705
13
- ##NAME: (RwdTinkerVersion):(1.84)
14
- RwdTinkerVersion = "1.84"
13
+ ##NAME: (RwdTinkerVersion):(1.85)
14
+ RwdTinkerVersion = "1.85"
15
15
 
@@ -1,4 +1,4 @@
1
- ##VERSION: (1.84)
1
+ ##VERSION: (1.85)
2
2
  TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
3
3
  ##NAME: ($zipslocation):(1.78)
4
4
  $zipslocation = "zips" # location of applets to add
@@ -1,6 +1,6 @@
1
1
  $rwdguivar=
2
2
  "
3
- <tab name=\"diagnostictab\" caption=\"Diagnostic Tab\">
3
+ <tab name=\"diagnostictab\" caption=#{Message[:diagnostic_tab]}>
4
4
  <horizontal>
5
5
  <button caption=#{Message[:viewplatform_information]} action=\"runviewplatform\"/>
6
6
 
@@ -18,6 +18,9 @@ msgstr "Application Version"
18
18
  msgid "clickbelowtoviewlistof_zip"
19
19
  msgstr "click below to view lists of zips"
20
20
 
21
+ msgid "diagnostic_tab"
22
+ msgstr "Diagnostic Tab"
23
+
21
24
  msgid "documents"
22
25
  msgstr "Documents"
23
26
 
@@ -20,7 +20,10 @@ msgstr "Identificador de mensaje desconocido"
20
20
 
21
21
  msgid "clickbelowtoviewlistof_zip"
22
22
  msgstr '"click abajo a ver lista de zips"'
23
-
23
+
24
+ msgid "diagnostic_tab"
25
+ msgstr '"Tab de diagnóstico"'
26
+
24
27
  msgid "documents"
25
28
  msgstr "Documentos"
26
29
 
@@ -31,7 +34,7 @@ msgid "file_name"
31
34
  msgstr '"Fila Nombre"'
32
35
 
33
36
  msgid "fill_record"
34
- msgstr ""
37
+ msgstr '"llenar registro"'
35
38
 
36
39
  msgid "help"
37
40
  msgstr "Ayuda"
@@ -228,9 +228,14 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
228
228
  Thanks, Steven Gibson
229
229
 
230
230
  == Changelog
231
+ version 1.85
232
+ added TabHash way of adding menu choices
233
+ fixed zip listing tab - showing old files bug 22302
234
+
231
235
  version 1.84
232
236
  added locale changer tab (have: en,es,ja,hi,nl,fr)
233
237
  updated to newer Rubyzip library
238
+ replaced testharness framework
234
239
 
235
240
  version 1.83
236
241
  adding more Spanish and Hindu po strings
@@ -1,4 +1,4 @@
1
- ##VERSION: (1.78)
1
+ ##VERSION: (1.85)
2
2
  # rwdtinker core configuration file
3
3
  ##NAME: (ConfigLocation):(1.78)
4
4
  ConfigLocation=""
@@ -20,3 +20,5 @@ $tinkerdocumentsarray = ["HowTo_Tinker.txt" , "rwdapplications.html" , "RubyWebD
20
20
  JumpLink = Hash.new { |hh, kk| hh[kk] = "ERROR: link not found: #{kk.inspect}."; hh[kk] }
21
21
  ##NAME: ($rwdjumplink):(1.78)
22
22
  $rwdjumplink = ["helpscreen", "tinkerbackwindow", "returntomain", "opendocuments", "editconfiguration"]
23
+ ##NAME: (TabHash):(1.85)
24
+ TabHash = Hash["selectiontab", "main"]
@@ -15,7 +15,7 @@ require 'fileutils'
15
15
 
16
16
  DistroName = "rwdtinker"
17
17
 
18
- DistroVersion="1.84"
18
+ DistroVersion="1.85"
19
19
 
20
20
  DistroTitle="#{DistroName}.dist"
21
21
  load "configuration/#{DistroTitle}"
Binary file
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.84"
4
+ version: "1.85"
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-10-19 00:00:00 -07:00
12
+ date: 2008-10-22 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -87,6 +87,7 @@ files:
87
87
  - code/01rwdcore/returntomain.rb
88
88
  - code/01rwdcore/test_cases.rb
89
89
  - code/01rwdcore/runeditconfiguration.rb
90
+ - code/01rwdcore/runtab.rb
90
91
  - code/01rwdcore/runopentinkerdocument.rb
91
92
  - code/01rwdcore/runhelpabout.rb
92
93
  - code/01rwdcore/03helptexthash.rb
@@ -145,7 +146,7 @@ files:
145
146
  - rwd_files/HowTo_TinkerWin2.txt
146
147
  - rwd_files/RubyWebDialogs.html
147
148
  - rwd_files/HowTo_Tinker.txt
148
- - zips/tinkerbellw-0.03.zip
149
+ - zips/tinkerbellw-0.04.zip
149
150
  - zips/rwdwmovies-0.98.zip
150
151
  - zips/temp.rb
151
152
  - zips/rwdwfoldeditor-0.07.zip
Binary file