rwdeliza 0.04 → 0.05

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/Readme.txt +20 -7
  2. data/code/01rwdcore/02helptexthashbegin.rb +10 -0
  3. data/code/01rwdcore/03helptexthash.rb +18 -20
  4. data/code/01rwdcore/runopentinkerdocument.rb +1 -1
  5. data/code/superant.com.rwdeliza/0uninstallapplet.rb +15 -1
  6. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +62 -132
  7. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +9 -7
  8. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
  9. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +6 -6
  10. data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
  11. data/configuration/rwdtinker.dist +5 -8
  12. data/configuration/{rwdweliza-0.04.dist → rwdweliza.dist} +14 -12
  13. data/configuration/tinkerwin2variables.dist +13 -7
  14. data/gui/tinkerbackwindows/superant.com.slideshow/10appletbegin.rwd +4 -0
  15. data/gui/tinkerbackwindows/superant.com.slideshow/11viewnamedata.rwd +19 -0
  16. data/gui/tinkerbackwindows/superant.com.slideshow/13listnamerecordfiles.rwd +21 -0
  17. data/gui/tinkerbackwindows/superant.com.slideshow/16editrecord.rwd +39 -0
  18. data/gui/tinkerbackwindows/superant.com.slideshow/17viewvcardrecord.rwd +32 -0
  19. data/gui/tinkerbackwindows/superant.com.slideshow/18contactutilities.rwd +34 -0
  20. data/gui/tinkerbackwindows/superant.com.slideshow/81jumplinkcommands.rwd +17 -0
  21. data/gui/tinkerbackwindows/{superant.com.rwdschedulebackwindow/zvbackend.rwd → superant.com.slideshow/9end.rwd} +6 -6
  22. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
  23. data/init.rb +59 -163
  24. data/installed/elizadata01.inf +6 -0
  25. data/installed/{rwdweliza-0.04.inf → rwdweliza.inf} +3 -8
  26. data/lang/en/rwdcore/en.po +166 -0
  27. data/lang/es/rwdcore/es.po +172 -0
  28. data/lang/fr/rwdcore/fr.po +166 -0
  29. data/lang/hi/rwdcore/hi.po +170 -0
  30. data/lang/ja/rwdcore/ja.po +168 -0
  31. data/lang/nl/rwdcore/nl.po +166 -0
  32. data/lib/linkparser.Readme +69 -0
  33. data/lib/linkparser.rb +1 -1
  34. data/lib/linkparser/connection.rb +1 -1
  35. data/lib/linkparser/connector.rb +1 -1
  36. data/lib/linkparser/definition.rb +1 -1
  37. data/lib/linkparser/dictionary.rb +1 -1
  38. data/lib/linkparser/linkage.rb +1 -1
  39. data/lib/rconftool.rb +13 -6
  40. data/lib/rwd/net.rb +15 -4
  41. data/lib/rwd/ruby.rb +1 -1
  42. data/lib/rwd/rwd.rb +103 -620
  43. data/lib/rwdthemes/default.rwd +317 -0
  44. data/lib/rwdthemes/pda.rwd +72 -0
  45. data/lib/rwdthemes/windowslike.rwd +171 -0
  46. data/lib/rwdtinker/rwdcodedir.rb +56 -0
  47. data/lib/rwdtinker/rwdguidir.rb +57 -0
  48. data/lib/rwdtinker/rwdlangdir.rb +60 -0
  49. data/lib/rwdtinker/rwdtinkertools.rb +25 -0
  50. data/rwd_files/HowTo_Eliza.txt +3 -0
  51. data/rwd_files/HowTo_Tinker.txt +37 -7
  52. data/rwd_files/Tinkerhelptexthash.txt +81 -0
  53. data/rwd_files/log/rwdtinker.log +2 -0
  54. data/rwdconfig.dist +14 -13
  55. data/tests/makedist-rwdweliza.rb +2 -2
  56. data/tests/makedist.rb +2 -2
  57. data/zips/rwdwcalc-0.63.zip +0 -0
  58. data/zips/rwdwfoldeditor-0.06.zip +0 -0
  59. data/zips/rwdwmovies-0.98.zip +0 -0
  60. data/zips/rwdwruby-1.08.zip +0 -0
  61. data/zips/{rwdwschedule-1.04.zip → rwdwschedule-1.05.zip} +0 -0
  62. data/zips/tinkerbellw-0.03.zip +0 -0
  63. data/zips/wrubyslippers-1.08.zip +0 -0
  64. metadata +39 -29
  65. data/code/01rwdcore/04helptextend.rb +0 -6
  66. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -61
  67. data/code/superant.com.words/runrwdwordsversion.rb +0 -14
  68. data/configuration/language.dist +0 -8
  69. data/configuration/rwdapplicationidentity.dist +0 -3
  70. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +0 -5
  71. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +0 -45
  72. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/67viewconfiguration.rwd +0 -29
  73. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/70rwddiagnostics.rwd +0 -16
  74. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/m01menubegin.rwd +0 -18
  75. data/lang/en/rwdcore/languagefile.rb +0 -58
  76. data/lang/es/rwdcore/languagefile-es.rb +0 -62
  77. data/lang/fr/rwdcore/languagefile.rb +0 -64
  78. data/lang/jp/rwdcore/languagefile.rb +0 -72
  79. data/lang/nl/rwdcore/languagefile.rb +0 -75
  80. data/rwd_files/COPYRIGHT +0 -339
  81. data/zips/rwdwaddresses-1.05.zip +0 -0
  82. data/zips/rwdwcalc-0.61.zip +0 -0
  83. data/zips/rwdwgutenberg-0.09.zip +0 -0
  84. data/zips/rwdwshell-1.04.zip +0 -0
  85. data/zips/wrubyslippers-1.06.zip +0 -0
@@ -0,0 +1,56 @@
1
+ # part of rwdtinker smalllinux@gmail.com
2
+ # copyleft gpl 2008 Steven Gibson
3
+
4
+ require 'lib/rwdtinker/rwdtinkertools'
5
+
6
+ tmpmodload = '
7
+ def RwdtinkerTools.findfilesp(d)
8
+
9
+ a = Array.new(Dir[d].entries.sort)
10
+ #loop through and get the files names
11
+ a.each do |x|
12
+ #adjust the filters to the files you want to see...
13
+ if(!test(?d,x))
14
+ # only rwd files
15
+ if x =~ /rb|rwd|txt/
16
+ fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
17
+ @@tempdoc+=fileA.read #reads the file into the doc string
18
+ fileA.close
19
+ end
20
+ end
21
+ end
22
+
23
+ end
24
+
25
+ def RwdtinkerTools.findprogramfiles(codedir, specificdir = "")
26
+ @@tempdoc = ""
27
+ #get a list of the files and subdirectories on the starting directory only
28
+ a = Array.new(Dir[codedir].entries.sort)
29
+ #loop through the list, ignore the files and add all new directories found
30
+ a.each do |x|
31
+ #if a directory...
32
+ if(test(?d,x))
33
+ # add to the original list of directories
34
+ @@root = x + "/**"
35
+ #adds the new ones to the array
36
+ b = Dir[@@root].entries.sort
37
+ b.each do |x|
38
+ if(test(?d,x))
39
+ a.push(x) #appends to the end of the array...
40
+ end
41
+ end
42
+ end
43
+ end
44
+ a.each do |x|
45
+ #if it is a file...
46
+ if(!test(?d,x))
47
+ a.delete(x)
48
+ else #it is a directory...
49
+ findfilesp(x + "/**")
50
+ end
51
+ end
52
+ return @@tempdoc
53
+ end
54
+ '
55
+
56
+ RwdtinkerTools.module_eval(tmpmodload)
@@ -0,0 +1,57 @@
1
+ # part of rwdtinker smalllinux@gmail.com
2
+ # copyleft gpl 2008 Steven Gibson
3
+
4
+ require 'lib/rwdtinker/rwdtinkertools'
5
+
6
+ tmpmodload = '
7
+ def RwdtinkerTools.loadguifile(d)
8
+
9
+ a = Array.new(Dir[d].entries.sort)
10
+ #loop through and get the files names
11
+ a.each do |x|
12
+ #adjust the filters to the files you want to see...
13
+ if(!test(?d,x))
14
+ # only rwd files
15
+ if x =~ /rb|rwd|txt/
16
+
17
+ load x #opens the file thats in fileName and reads it
18
+ @@tempdoc += $rwdguivar # adds the file into the doc string
19
+ end
20
+ end
21
+ end
22
+ end
23
+
24
+ def RwdtinkerTools.findguifiles(guidir)
25
+ @@tempdoc = ""
26
+ #get a list of the files and subdirectories on the starting directory only
27
+ a = Array.new(Dir[guidir].entries.sort)
28
+ #loop through the list, ignore the files and add all new directories found
29
+ a.each do |x|
30
+ #if a directory...
31
+ if(test(?d,x))
32
+ #use this new dir find to add to the original list of directories
33
+ @@root = x + "/**"
34
+ #adds the new ones to the array
35
+ b = Dir[@@root].entries.sort
36
+ b.each do |x|
37
+ if(test(?d,x))
38
+ a.push(x) #appends to the end of the array...
39
+ end
40
+ end
41
+ end
42
+ end
43
+ a.each do |x|
44
+ #if it is a file...
45
+ if(!test(?d,x))
46
+ a.delete(x)
47
+
48
+ else #it is a directory...
49
+ loadguifile(x + "/**")
50
+ end
51
+ end
52
+ return @@tempdoc
53
+
54
+ end
55
+ '
56
+
57
+ RwdtinkerTools.module_eval(tmpmodload)
@@ -0,0 +1,60 @@
1
+ # part of rwdtinker smalllinux@gmail.com
2
+ # copyleft gpl 2008 Steven Gibson
3
+
4
+ require 'lib/rwdtinker/rwdtinkertools'
5
+
6
+ tmpmodload = '
7
+ def RwdtinkerTools.findfilest(d)
8
+ a = Array.new(Dir[d].entries.sort)
9
+ #loop through and get the files names
10
+ a.each do |x|
11
+ #adjust the filters to the files you want to see...
12
+ if(!test(?d,x))
13
+ # only rwd files
14
+ if x =~ /rb|po|txt/
15
+ fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
16
+ @@tempdoc+=fileA.read #reads the file into the doc string
17
+ fileA.close
18
+ end
19
+ end
20
+ end
21
+
22
+ end
23
+
24
+
25
+ def RwdtinkerTools.findlanguagefiles(langdir,lang)
26
+ @@tempdoc = ""
27
+
28
+ startlangdir = File.join(langdir,lang)
29
+ #get a list of the files and subdirectories on the starting directory only
30
+ alanghash = Array.new(Dir[startlangdir].entries.sort)
31
+ #loop through the list, ignore the files and add all new directories found
32
+ alanghash.each do |x|
33
+ #if a directory...
34
+ if(test(?d,x))
35
+ # add to the original list of directories
36
+ @@tmproot = x + "/**"
37
+ #adds the new ones to the array
38
+ blanghash = Dir[@@tmproot].entries.sort
39
+ blanghash.each do |x|
40
+ if(test(?d,x))
41
+ alanghash.push(x) #appends to the end of the array...
42
+ end
43
+ end
44
+ end
45
+ end
46
+ alanghash.each do |x|
47
+ #if it is a file...
48
+ if(!test(?d,x))
49
+ alanghash.delete(x)
50
+ else #it is a directory...
51
+ findfilest(x + "/**")
52
+ end
53
+ end
54
+
55
+ return @@tempdoc
56
+
57
+ end
58
+ '
59
+
60
+ RwdtinkerTools.module_eval(tmpmodload)
@@ -0,0 +1,25 @@
1
+ # part of rwdtinker smalllinux@gmail.com
2
+ # copyleft gpl 2008 Steven Gibson
3
+
4
+ module RwdtinkerTools
5
+
6
+ # tools to use in rwdtinker
7
+
8
+ def RwdtinkerTools.tail(filename, lines=12)
9
+
10
+
11
+ begin
12
+ tmpFile = File.open(filename, 'r')
13
+
14
+ return tmpFile.readlines.reverse!.slice(0,lines)
15
+
16
+ tmpFile.close
17
+ rescue
18
+ return "error in opening log"
19
+ $rwdtinkerlog.error "RwdtinkerTools.tail: file open error"
20
+ end
21
+ end
22
+
23
+ end
24
+
25
+
@@ -179,6 +179,9 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
179
179
  Thanks, Steven Gibson
180
180
 
181
181
  == Changelog
182
+ Version 0.05
183
+ update for rwdtinker 1.80
184
+
182
185
  Version 0.04
183
186
  added oothesaurus for lookup of words
184
187
 
@@ -97,8 +97,7 @@ There are two ways to add applets to the directories.
97
97
  The gui files go into your gui directory
98
98
  The gui files need to be in order by name and end with .rwd
99
99
 
100
-
101
-
100
+
102
101
  If you need a config file that goes in the configuration directory
103
102
 
104
103
  internationalization and localization are helped by replacing the
@@ -136,9 +135,11 @@ To exit, press the x inside the browser window.
136
135
 
137
136
  == Languages
138
137
 
139
-
140
138
  You can add tranlations in the lang subdirectory
141
- You change the $lang constant in Tinker config file in the configuration directory
139
+ You change the $langarray constant in Tinker config file in the configuration directory
140
+
141
+ to change language => in the tinkerwin2variables.cnf file the [0] setting of $langarray will be the language choosen.
142
+
142
143
  You can see one translation on the install applet tab, after you have installed and applet
143
144
 
144
145
  == Using over a Network
@@ -168,14 +169,15 @@ Ruby I am using version 1.8.2
168
169
 
169
170
  I have tested this under Linux-Debian kernel 2.6.9
170
171
 
171
- = Operation:
172
+ == Operation:
173
+
172
174
  The code files reside in the code directory and are combined before
173
175
  the main Class is loaded
174
176
 
175
177
  The rwd files in gui are combined before the gui is activated
176
178
 
177
179
  Translated text reside in the lang directory
178
-
180
+
179
181
  == Installing:
180
182
 
181
183
  untar the file
@@ -220,13 +222,41 @@ under the terms of the GPL licence:
220
222
  For more information see:
221
223
  http://rwdapplications.rubyforge.org/wiki/wiki.pl
222
224
 
223
-
224
225
  For more information about RubyWebDialogs see:
225
226
  http://www.erikveen.dds.nl/rubywebdialogs/index.html
226
227
 
227
228
  Thanks, Steven Gibson
228
229
 
229
230
  == Changelog
231
+ version 1.82
232
+ switch to po files for translation files
233
+ add beginning of Hindi po file
234
+ added more Japanese strings
235
+ changed handling of lang change = in the tinkerwin2variables.cnf file the [0] setting of $langarray will be the language choosen.
236
+
237
+ version 1.81
238
+ condensed config files from 4 -> 2
239
+ fixed document launch bug
240
+ add $KCODE = 'u'
241
+ move help files to rwd_files directory
242
+
243
+ version 1.80
244
+ changed pda handling in rwd.rb
245
+ added logging
246
+ added log review screen on tinker back window
247
+ changed handling of live applet loading, to not list version in file names
248
+
249
+ version 1.79
250
+ edited net.rb to fix text editing
251
+
252
+ version 1.78
253
+ modify config files
254
+ modify rconftools.rb to handle \r\n dos vs unix
255
+
256
+ Version 1.77
257
+ Fixed zips location to be relative or absolute
258
+ Made themes loadable
259
+
230
260
  Version 1.76
231
261
  Move rwd code files into lib directory - bug - 21886
232
262
  change tab name list applets - bug - 21864
@@ -0,0 +1,81 @@
1
+ # Help files for RwdTinker core
2
+
3
+
4
+ Helptext.update( :network_help => "Using over a Network: To serve the application over your local LAN,change the last line in the<br>
5
+ init.rb file to something like:\n<br>
6
+ RwdTinker.file(RWDFile).serve(8080, '-r' ? '.rwduids' : nil)\n<br>
7
+ Then you should be able to login at: http://yourhostname:8080")
8
+
9
+
10
+ Helptext.update( :documents_rwdtinker => "<b>Documents:
11
+ <p>
12
+
13
+ when you click on a document name, the document should pop up in a <br>
14
+ browser window, or in another browser tab.</b>
15
+ ")
16
+
17
+ Helptext.update( :tinkerwin2_help => " You can view the list of applets you can install
18
+ by clicking on the list files button
19
+ <br><br>
20
+ You can download an applet created by someone else
21
+ <br><br>
22
+ put the file in the zips directory
23
+ <br>
24
+ rwdtinker applets packaged as RubyGems can be used if you have RubyGems installed.
25
+ You can download rwdtinker gems at the 'Install Remote Applets' tab
26
+ to install applets you need the ruby zlib library installed
27
+ ")
28
+
29
+ Helptext.update(
30
+ :applet_viewing => "You can get a list of all installed applets by clicking the 'listfiles button'<br>
31
+ To see the text of a install file<br>
32
+ Type in the name of the file you want.<br>
33
+ <p>
34
+ type it without the inf ending
35
+ rwdapplet-0.1<br>
36
+ <p>
37
+ Then click the 'View Installed File' button
38
+ <p>
39
+ If it finds the file it will open it. It displays the text the search box.
40
+ <p>
41
+ You can uninstall applets on this screen")
42
+
43
+ Helptext.update(
44
+ :applet_installation => " You can download an applet created by someone else<br>
45
+ put the file in the zips directory<br>
46
+
47
+ click on the 'list zips' tab<br>
48
+ click on 'list applets available for installing<br>
49
+ <br>
50
+ chose the applet you want<br>
51
+ click on 'install applet'<br>
52
+ If all goes well the applet should be installed.<br>
53
+ You will need to restart rwdtinker to see the new screens<br>
54
+ to install applets you need the ruby zlib library installed")
55
+
56
+ Helptext.update(
57
+ :applet_tinkerbackeditconfiguration => " You can edit the configuration
58
+ <p>
59
+ Remember to reload the configuration variables if you want your
60
+ changes used.")
61
+
62
+ Helptext.update(
63
+ :remotegemapplet_install => " To download and install use the 'Install Remote Applets'
64
+ <br>
65
+ First click on 'List applets in the Remote GEM Repository available for downloading'<br>
66
+ then go to the very bottom to click on the applet you want<br>
67
+ then on the top click 'install remote Gem applet package'
68
+ <br>
69
+ This installs the package in the Gem system<br>
70
+ You still need to install it into rwdtinker - do that in the 'List Zips' tab<br>
71
+ <br>
72
+ For this feature to work, you need<br>
73
+ RubyGems installed<br>
74
+ Variables set correctly in the tinerwin2.cnf file<br>
75
+ $xpcommand, $gemdirectory_withgemfiles and $geminstalled_directory<br>
76
+ the defaults as shipped will normally be for a Debian Linux system <br>
77
+ On Debian Linux, you would usually need to be running rwdtinker as root in order to install RubyGems
78
+ <br><br>
79
+ You can view the list of rwdtinker applets you have installed already by clicking 'view already installed GEM applets'
80
+ "
81
+ )
@@ -0,0 +1,2 @@
1
+ # Logfile created on Fri Oct 03 00:39:14 -0700 2008 by smalllinux.superant.com
2
+
@@ -1,21 +1,22 @@
1
- ##VERSION:1.69
1
+ ##VERSION: (1.78)
2
2
  # rwdtinker core configuration file
3
- ##NAME: ConfigLocation:0
3
+ ##NAME: (ConfigLocation):(1.78)
4
4
  ConfigLocation=""
5
- ##NAME: ZipsLocation:0
5
+ ##NAME: (ZipsLocation):(1.78)
6
6
  ZipsLocation=""
7
- ##NAME:$testharnessarray:0
7
+ ##NAME: ($testharnessarray):(1.78)
8
8
  $testharnessarray = ["rwdtinker_all_tests"]
9
- ##NAME:TestNow:0
9
+ ##NAME: (TestNow):(1.78)
10
10
  TestNow=false # turning this on will run the unit tests
11
- ##NAME:$testharness:0
11
+ ##NAME: ($testharness):(1.78)
12
12
  $testharness=true
13
- ##NAME:$tinkerhelpaboutarray:0
13
+ ##NAME: ($tinkerhelpaboutarray):(1.78)
14
14
  $tinkerhelpaboutarray = ["Tinker"]
15
- ##NAME:$tinkerdocumentsarray:0
16
- $tinkerdocumentsarray = ["Readme.txt"]
17
- ##NAME:$tinkeruninstallarray:0
18
- $tinkeruninstallarray = ["Tinker"]
19
- ##NAME:JumpLink:0
15
+ ##NAME: ($helptopicsarray):(1.78)
16
+ $helptopicsarray = [ "general_help","network_help"]
17
+ ##NAME: ($tinkerdocumentsarray):(1.78)
18
+ $tinkerdocumentsarray = ["HowTo_Tinker.txt" , "rwdapplications.html" , "RubyWebDialogs.html"]
19
+ ##NAME: (JumpLink):(1.78)
20
20
  JumpLink = Hash.new { |hh, kk| hh[kk] = "ERROR: link not found: #{kk.inspect}."; hh[kk] }
21
-
21
+ ##NAME: ($rwdjumplink):(1.78)
22
+ $rwdjumplink = ["helpscreen", "tinkerbackwindow", "returntomain", "opendocuments", "editconfiguration"]
@@ -12,8 +12,8 @@ $rwdjumplink = [""]
12
12
  JumpLink = Hash.new("default")
13
13
  require 'fileutils'
14
14
  DistroName = "rwdweliza"
15
- DistroVersion=0.04
16
- load "configuration/#{DistroName}-#{DistroVersion}.dist"
15
+ DistroVersion="0.05"
16
+ load "configuration/#{DistroName}.dist"
17
17
 
18
18
 
19
19
  DistroTitle="#{DistroName}-#{DistroVersion}"
@@ -14,9 +14,9 @@ require 'fileutils'
14
14
 
15
15
  DistroName = "rwdweliza"
16
16
 
17
- DistroVersion="0.04"
17
+ DistroVersion="0.05"
18
18
 
19
- DistroTitle="#{DistroName}-#{DistroVersion}.dist"
19
+ DistroTitle="#{DistroName}.dist"
20
20
  load "configuration/#{DistroTitle}"
21
21
  DistroName = "rwdeliza"
22
22
  DistroTitle = "#{DistroName}-#{DistroVersion}"
Binary file