rwdschedule 0.5

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.
Files changed (170) hide show
  1. data/Readme.txt +57 -0
  2. data/bin/rwdschedule +19 -0
  3. data/code/ag1core/aa0begin.rb +18 -0
  4. data/code/ag1core/rwdtinkerversion.rb +15 -0
  5. data/code/al5languagefiles/alanguagehashbegin.rb +4 -0
  6. data/code/al5languagefiles/languagehash.rb +4 -0
  7. data/code/al5languagefiles/templangfile.rb +6 -0
  8. data/code/al5languagefiles/zlanguagehashend.rb +6 -0
  9. data/code/gg0schedules/deleteeventrecord.rb +19 -0
  10. data/code/gg0schedules/gg0viewevent.rb +20 -0
  11. data/code/gg0schedules/gg9saveeventchanges.rb +18 -0
  12. data/code/gg0schedules/gh5listdaterecords.rb +19 -0
  13. data/code/gg0schedules/gl7clearscreendisplay.rb +15 -0
  14. data/code/gg0schedules/gm3deletecontactrecord.rb +24 -0
  15. data/code/gg0schedules/loadeventrecord.rb +30 -0
  16. data/code/gg0schedules/renameeventdata.rb +14 -0
  17. data/code/gg0schedules/rwdaddresseshelpabout.rb +14 -0
  18. data/code/gg0schedules/rwdschedulehelpabout.rb +14 -0
  19. data/code/gh9calendar/gh9calendar.rb +16 -0
  20. data/code/lm1installapplets/ll5listzips.rb +14 -0
  21. data/code/lm1installapplets/lm1installapplet.rb +20 -0
  22. data/code/ssdiagnostictab/diagnostictab.rb +20 -0
  23. data/code/xa5rwdtinkercallable/callable.rb +13 -0
  24. data/code/xb1rwdtinkerbackwindow/05listinstalledfiles.rb +11 -0
  25. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +20 -0
  26. data/code/xb1rwdtinkerbackwindow/ll1openname.rb +18 -0
  27. data/code/xb1rwdtinkerbackwindow/ll5listzips.rb +14 -0
  28. data/code/xb1rwdtinkerbackwindow/lm1installapplet.rb +20 -0
  29. data/code/xb1rwdtinkerbackwindow/mm1removeapplet.rb +28 -0
  30. data/code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb +14 -0
  31. data/code/zz0applicationend/zz0end.rb +4 -0
  32. data/configuration/aa0rwdframework.cnf +11 -0
  33. data/configuration/ab1tinkerwin2.cnf +3 -0
  34. data/configuration/gg1rwdschedule.cnf +3 -0
  35. data/configuration/gh1rwdcalendar.cnf +27 -0
  36. data/ev/browser.rb +109 -0
  37. data/ev/ftools.rb +170 -0
  38. data/ev/net.rb +750 -0
  39. data/ev/ruby.rb +819 -0
  40. data/ev/rwd.rb +1848 -0
  41. data/ev/sgml.rb +236 -0
  42. data/ev/thread.rb +63 -0
  43. data/ev/tree.rb +343 -0
  44. data/ev/xml.rb +4 -0
  45. data/extras/cal.rb +166 -0
  46. data/gui/en/aa2core/aa0rwdtop.rwd +3 -0
  47. data/gui/en/gg0schedules/gg0viewevent.rwd +27 -0
  48. data/gui/en/gg0schedules/gl6editrecord.rwd +34 -0
  49. data/gui/en/gg0schedules/gl8contactutilities.rwd +23 -0
  50. data/gui/en/hl9calendar/hl9calendar.rwd +18 -0
  51. data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  52. data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  53. data/gui/en/lz1selectiontabend/endselectiontab.rwd +1 -0
  54. data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  55. data/gui/en/uu5rwddocuments/uu5documents.rwd +13 -0
  56. data/gui/en/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  57. data/gui/en/uu8schedule/uu8doc_rwdschedule.rwd +4 -0
  58. data/gui/en/ww0documentsend/ww0documentend.rwd +6 -0
  59. data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  60. data/gui/en/xa1versionwindow/1appname.rwd +17 -0
  61. data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  62. data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  63. data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  64. data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  65. data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  66. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  67. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  68. data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  69. data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  70. data/gui/en/yg5rwdhelpabout/1appname.rwd +2 -0
  71. data/gui/en/yg5rwdhelpabout/3copyright.rwd +1 -0
  72. data/gui/en/yg5rwdhelpabout/5version.rwd +9 -0
  73. data/gui/en/yg6rwdwin2helpabout/1appname.rwd +2 -0
  74. data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  75. data/gui/en/yg6rwdwin2helpabout/5version.rwd +9 -0
  76. data/gui/en/yh1helpschedule/1rwdschedule.rwd +4 -0
  77. data/gui/en/yh1helpschedule/5version.rwd +8 -0
  78. data/gui/en/za1applicationend/yy9rwdend.rwd +2 -0
  79. data/gui/es/aa2core/aa0rwdtop.rwd +3 -0
  80. data/gui/es/gg0schedules/gg0viewevent.rwd +27 -0
  81. data/gui/es/gg0schedules/gl6editrecord.rwd +34 -0
  82. data/gui/es/gg0schedules/gl8contactutilities.rwd +23 -0
  83. data/gui/es/hl9calendar/hl9calendar.rwd +18 -0
  84. data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  85. data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  86. data/gui/es/lz1selectiontabend/endselectiontab.rwd +1 -0
  87. data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  88. data/gui/es/uu5rwddocuments/uu5documents.rwd +13 -0
  89. data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  90. data/gui/es/uu8schedule/uu8doc_rwdschedule.rwd +4 -0
  91. data/gui/es/ww0documentsend/ww0documentend.rwd +6 -0
  92. data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  93. data/gui/es/xa1versionwindow/1appname.rwd +17 -0
  94. data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  95. data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  96. data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  97. data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  98. data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  99. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  100. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  101. data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  102. data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  103. data/gui/es/yg5rwdhelpabout/1appname.rwd +2 -0
  104. data/gui/es/yg5rwdhelpabout/3copyright.rwd +1 -0
  105. data/gui/es/yg5rwdhelpabout/5version.rwd +9 -0
  106. data/gui/es/yg6rwdwin2helpabout/1appname.rwd +2 -0
  107. data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  108. data/gui/es/yg6rwdwin2helpabout/5version.rwd +9 -0
  109. data/gui/es/yh1helpschedule/1rwdschedule.rwd +4 -0
  110. data/gui/es/yh1helpschedule/5version.rwd +8 -0
  111. data/gui/es/za1applicationend/yy9rwdend.rwd +2 -0
  112. data/gui/nl/aa2core/aa0rwdtop.rwd +3 -0
  113. data/gui/nl/gg0schedules/gg0viewevent.rwd +27 -0
  114. data/gui/nl/gg0schedules/gl6editrecord.rwd +34 -0
  115. data/gui/nl/gg0schedules/gl8contactutilities.rwd +23 -0
  116. data/gui/nl/hl9calendar/hl9calendar.rwd +18 -0
  117. data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  118. data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  119. data/gui/nl/lz1selectiontabend/endselectiontab.rwd +1 -0
  120. data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  121. data/gui/nl/uu5rwddocuments/uu5documents.rwd +13 -0
  122. data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  123. data/gui/nl/uu8schedule/uu8doc_rwdschedule.rwd +4 -0
  124. data/gui/nl/ww0documentsend/ww0documentend.rwd +6 -0
  125. data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  126. data/gui/nl/xa1versionwindow/1appname.rwd +17 -0
  127. data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  128. data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  129. data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  130. data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  131. data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  132. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  133. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  134. data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  135. data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  136. data/gui/nl/yg5rwdhelpabout/1appname.rwd +2 -0
  137. data/gui/nl/yg5rwdhelpabout/3copyright.rwd +1 -0
  138. data/gui/nl/yg5rwdhelpabout/5version.rwd +9 -0
  139. data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +2 -0
  140. data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  141. data/gui/nl/yg6rwdwin2helpabout/5version.rwd +9 -0
  142. data/gui/nl/yh1helpschedule/1rwdschedule.rwd +4 -0
  143. data/gui/nl/yh1helpschedule/5version.rwd +8 -0
  144. data/gui/nl/za1applicationend/yy9rwdend.rwd +2 -0
  145. data/init.rb +164 -0
  146. data/installed/rwdcalendar-0.4.inf +6 -0
  147. data/installed/rwdschedule-0.5.inf +7 -0
  148. data/installed/rwdtinkerwin2-0.5.inf +16 -0
  149. data/installed/schedulesampledata1.inf +3 -0
  150. data/lang/en/rwdcore/languagefile.rb +6 -0
  151. data/lang/es/rwdcore/languagefile.rb +4 -0
  152. data/lang/nl/rwdcore/languagefile.rb +4 -0
  153. data/lib/temp.rb +1 -0
  154. data/rwd_files/HowTo_Schedule.txt +88 -0
  155. data/rwd_files/HowTo_Tinker.html +370 -0
  156. data/rwd_files/HowTo_Tinker.txt +244 -0
  157. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  158. data/rwd_files/Readme.txt +57 -0
  159. data/rwd_files/favicon.ico +0 -0
  160. data/rwd_files/rdoc-style.css +175 -0
  161. data/rwd_files/rwdapplications.html +54 -0
  162. data/rwd_files/rwdindex.html +6 -0
  163. data/schedules/200501january23CharlotteB-Day.sch +8 -0
  164. data/schedules/200501january24jazzfuller.sch +8 -0
  165. data/tests/totranslate.lang +93 -0
  166. data/zips/rwdaviewphoto-0.3.zip +0 -0
  167. data/zips/rwdhelloworld-0.2.zip +0 -0
  168. data/zips/rwdrefreshacpi-0.1.zip +0 -0
  169. data/zips/rwdwtinkerwin2-0.5.zip +0 -0
  170. metadata +210 -0
@@ -0,0 +1,5 @@
1
+
2
+ </tabs>
3
+ </window>
4
+
5
+
@@ -0,0 +1 @@
1
+ <helpwindow name="main" title="Help About">
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerversion"/>
4
+ </horizontal>
5
+
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker window 2</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerwin2version"/>
4
+ </horizontal>
5
+ <p>%rwdtinkerwin2versiondisplay%</p>
6
+
7
+
8
+
9
+
@@ -0,0 +1,4 @@
1
+ <panel>
2
+ <row> <p align="center">rwdschedule</p></row>
3
+
4
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,8 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdscheduleversion"/>
4
+ </horizontal>
5
+
6
+ </panel>
7
+
8
+
@@ -0,0 +1,2 @@
1
+ </application>
2
+
data/init.rb ADDED
@@ -0,0 +1,164 @@
1
+
2
+ #***********************************************************************
3
+ #* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
4
+ #* Copyright (c) 2004 by Steven Gibson. All Rights Reserved.
5
+ #*
6
+ #* This library is free software; you can redistribute it and/or
7
+ #* modify it under the terms of the GNU General Public
8
+ #* License as published by the Free Software Foundation; either
9
+ #* .
10
+ #*
11
+ #* These files are distributed in the hope that they will be useful,
12
+ #* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ #* General Public License for more details.
15
+ #*
16
+ #* You should have received a copy of the GNU General Public
17
+ #* License along with these files; if not, write to the Free Software
18
+ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
+ #*
20
+ #* For further information please contact the author by e-mail
21
+ #* at "steven@superant.com".
22
+ #***********************************************************************/
23
+
24
+ require "ev/rwd"
25
+ require 'fileutils'
26
+
27
+ $progdir = File::expand_path( File.dirname(__FILE__))
28
+
29
+ $tempdoc = " "
30
+
31
+ def findfiles(d)
32
+ a = Array.new(Dir[d].entries.sort)
33
+ #loop through and get the files names
34
+ a.each do |x|
35
+ #adjust the filters to the files you want to see...
36
+ if(!test(?d,x))
37
+ # only rwd files
38
+ if x =~ /rb|rwd|txt/
39
+ fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
40
+ $tempdoc+=fileA.read #reads the file into the doc string
41
+ fileA.close
42
+ end
43
+ end
44
+ end
45
+ end
46
+
47
+
48
+ # Read in the configuration files
49
+
50
+ Dir.chdir("configuration") #changes the current working directory
51
+
52
+ fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /cnf$/) } #creates an Array separated with \n
53
+ @doc = ""
54
+ fileList.length.times{ #opening of a block
55
+ fileName=fileList.pop #pops the first item out of the Array
56
+ load fileName #loads the the config file thats in fileName
57
+ } #closing block
58
+ # END of configuration reading
59
+
60
+ Dir.chdir($progdir) # change back to top program directory
61
+
62
+ # build the Language hash file from the parts
63
+ startlangdir = @@langdir +"/" + $lang
64
+ #get a list of the files and subdirectories on the starting directory only
65
+ alanghash = Array.new(Dir[startlangdir].entries.sort)
66
+ #loop through the list, ignore the files and add all new directories found
67
+ alanghash.each do |x|
68
+ #if a directory...
69
+ if(test(?d,x))
70
+ # add to the original list of directories
71
+ @@tmproot = x + "/**"
72
+ #adds the new ones to the array
73
+ blanghash = Dir[@@tmproot].entries.sort
74
+ blanghash.each do |x|
75
+ if(test(?d,x))
76
+ alanghash.push(x) #appends to the end of the array...
77
+ end
78
+ end
79
+ end
80
+ end
81
+ alanghash.each do |x|
82
+ #if it is a file...
83
+ if(!test(?d,x))
84
+ alanghash.delete(x)
85
+ else #it is a directory...
86
+ findfiles(x + "/**")
87
+ end
88
+ end
89
+
90
+ fileLangHash=File.open(TempLangHashFile,"w") #deletes and opens a the file in fileName
91
+ fileLangHash.write($tempdoc) #writes the contents of doc into the file
92
+ fileLangHash.close
93
+ # END of Lang building
94
+ $tempdoc = " "
95
+ Dir.chdir($progdir) # change back to top program directory
96
+
97
+ # build the actual program from the code parts
98
+ #get a list of the files and subdirectories on the starting directory only
99
+ a = Array.new(Dir[@@codedir].entries.sort)
100
+ #loop through the list, ignore the files and add all new directories found
101
+ a.each do |x|
102
+ #if a directory...
103
+ if(test(?d,x))
104
+ # add to the original list of directories
105
+ @@root = x + "/**"
106
+ #adds the new ones to the array
107
+ b = Dir[@@root].entries.sort
108
+ b.each do |x|
109
+ if(test(?d,x))
110
+ a.push(x) #appends to the end of the array...
111
+ end
112
+ end
113
+ end
114
+ end
115
+ a.each do |x|
116
+ #if it is a file...
117
+ if(!test(?d,x))
118
+ a.delete(x)
119
+ else #it is a directory...
120
+ findfiles(x + "/**")
121
+ end
122
+ end
123
+
124
+ fileB=File.open(CodeNameFile,"w") #deletes and opens a the file in fileName
125
+ fileB.write($tempdoc) #writes the contents of doc into the file
126
+ fileB.close
127
+ require CodeName # load the program file
128
+
129
+ # build the actual GUI from the gui parts
130
+ $tempdoc = " "
131
+ #get a list of the files and subdirectories on the starting directory only
132
+ a = Array.new(Dir[@@guidir].entries.sort)
133
+ #loop through the list, ignore the files and add all new directories found
134
+ a.each do |x|
135
+ #if a directory...
136
+ if(test(?d,x))
137
+ #use this new dir find to add to the original list of directories
138
+ @@root = x + "/**"
139
+ #adds the new ones to the array
140
+ b = Dir[@@root].entries.sort
141
+ b.each do |x|
142
+ if(test(?d,x))
143
+ a.push(x) #appends to the end of the array...
144
+ end
145
+ end
146
+ end
147
+ end
148
+ a.each do |x|
149
+ #if it is a file...
150
+ if(!test(?d,x))
151
+ a.delete(x)
152
+
153
+ else #it is a directory...
154
+ findfiles(x + "/**")
155
+ end
156
+ end
157
+
158
+ fileB=File.open(RWDFile,"w") #deletes and opens a the file in fileName
159
+ fileB.write($tempdoc) #writes the contents of doc into the file
160
+ fileB.close
161
+
162
+
163
+
164
+ RwdTinker.file(RWDFile).serve($port) # start the main class and program
@@ -0,0 +1,6 @@
1
+ # rwdcalendar - simple little monthly calendar
2
+ code/gh9calendar
3
+ gui/en/hl9calendar
4
+ gui/nl/hl9calendar
5
+ extras/cal.rb
6
+ configuration/gh1rwdcalendar.cnf
@@ -0,0 +1,7 @@
1
+ # rwdschedule - applet to keep track of appointments
2
+ code/gg0schedules
3
+ configuration/gg1rwdschedule.cnf
4
+ gui/en/gg0schedules
5
+ gui/en/uu8schedule
6
+ gui/en/yh1helpschedule
7
+ rwd_files/HowTo_Schedule.txt
@@ -0,0 +1,16 @@
1
+ # rwdwin2 - rwd applet in second window - core for Tinker: Applet adding/removing and Diagnostic tab
2
+ configuration/ab1tinkerwin2.cnf
3
+ code/xb1rwdtinkerbackwindow
4
+ gui/en/ll5rwdtinkerwin2selectiontab
5
+ gui/en/xb1rwdtinkerbackwindow
6
+ gui/en/uu6rwdtinkerwin2documents
7
+ gui/en/yg6rwdwin2helpabout
8
+ gui/es/ll5rwdtinkerwin2selectiontab
9
+ gui/es/xb1rwdtinkerbackwindow
10
+ gui/es/uu6rwdtinkerwin2documents
11
+ gui/es/yg6rwdwin2helpabout
12
+ gui/nl/ll5rwdtinkerwin2selectiontab
13
+ gui/nl/xb1rwdtinkerbackwindow
14
+ gui/nl/uu6rwdtinkerwin2documents
15
+ gui/nl/yg6rwdwin2helpabout
16
+ rwd_files/HowTo_TinkerWin2.txt
@@ -0,0 +1,3 @@
1
+ # rwdschedulesampledata1 - applet to keep track of appointments
2
+ 200501january23CharlotteB-Day.sch
3
+ 200501january24jazzfuller.sch
@@ -0,0 +1,6 @@
1
+ # English Language files for RwdTinker core
2
+
3
+ :module_unknown => "Module unknown",
4
+ :applet_installed => "applet installed!.",
5
+
6
+
@@ -0,0 +1,4 @@
1
+ :module_unknown => "Module desconocido.",
2
+ :applet_installed => "applet instalado! ",
3
+
4
+
@@ -0,0 +1,4 @@
1
+ :module_unknown => "Module unknown",
2
+ :applet_installed => "applet installed!",
3
+
4
+
data/lib/temp.rb ADDED
@@ -0,0 +1 @@
1
+ # this file does nothing
@@ -0,0 +1,88 @@
1
+ = rwdschedule - for rwdtinker and RubyWebDialogs
2
+
3
+ rwdschedule is a simple little database
4
+
5
+ The GUI interface used is RubyWebDialogs
6
+
7
+ RubyWebDialogs is a platform independent graphical user interface for Ruby applications. It generates HTML and serves it with an internal HTTP server, so you can use your favorite web browser as the front end for your Ruby application. All this means, that it can be used on almost every platform, like Ruby itself. http://www.erikveen.dds.nl/rubywebdialogs/
8
+
9
+ == Quick Start
10
+ Start the program by typing
11
+ ruby init.rb
12
+
13
+ Then point your web browser to:
14
+ http://localhost:7701/
15
+
16
+ Then enter the event date you want to search for in the browser form and press Search.
17
+ 200412december1a
18
+ browser should fill with the event information.
19
+ To exit, press the x inside the browser window.
20
+
21
+ == Add Info
22
+
23
+ For edits to records go to the contacts utilities tab
24
+ You can
25
+ Rename contacts
26
+ Delete contacts
27
+ attach photos to contacts
28
+
29
+ == Using over a Network
30
+
31
+ To serve the application over your local LAN,change the last line in the
32
+ init.rb file to something like:
33
+ RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
34
+ Then you should be able to login at: http://yourhostname:8080
35
+
36
+ You have to authorize yourself. The .rwuids example is a string with
37
+ the name of the authorization file, relative to the home directory
38
+ of the user that started the service. This file has to be in the form of:
39
+
40
+ user1 = password
41
+ user2 = pass phrase
42
+
43
+ Thus the file .rwduids might contain:
44
+
45
+ erik = secret
46
+
47
+ == Requirements:
48
+ RubyWebDialogs - I am using 0.0.11 2004-3-9
49
+
50
+ Ruby I am using version 1.8.2
51
+
52
+
53
+ I have tested this under Linux-Debian kernel 2.6.9
54
+
55
+ == PROBLEMS:
56
+ It is easy to type a date with a space after it. That will have a somewhat invisible space
57
+ in it.
58
+
59
+ don't type in the extension .sch
60
+
61
+ Closing the browser doesn't terminate the application. You have to use the application's close-button And terminating the application doesn't terminate the application when running in network mode. You just log out.
62
+
63
+ Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
64
+
65
+
66
+ == Contacts
67
+ For more information see:
68
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
69
+
70
+
71
+ For more information about RubyWebDialogs see:
72
+ http://www.erikveen.dds.nl/rubywebdialogs/index.html
73
+
74
+
75
+ Steven Gibson
76
+ steven@superant.com
77
+
78
+ == Changelog
79
+ version 0.5
80
+ added edit commands to change event record
81
+ Rename event
82
+ Delete event
83
+ changed order of event list - descending = oldest at top
84
+
85
+ version 0.4
86
+ added configuration file with location of schedules directory
87
+ add date selection to view event tab
88
+ updated to version 1.0 of rwdtinker
@@ -0,0 +1,370 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
3
+
4
+ <title>File: HowTo_Tinker.txt</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+ <meta http-equiv="Content-Script-Type" content="text/javascript">
6
+ <link rel="stylesheet" href="rdoc-style.css" type="text/css" media="screen">
7
+ <script type="text/javascript">
8
+ // <![CDATA[
9
+
10
+ function popupCode( url ) {
11
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
12
+ }
13
+
14
+ function toggleCode( id ) {
15
+ if ( document.getElementById )
16
+ elem = document.getElementById( id );
17
+ else if ( document.all )
18
+ elem = eval( "document.all." + id );
19
+ else
20
+ return false;
21
+
22
+ elemStyle = elem.style;
23
+
24
+ if ( elemStyle.display != "block" ) {
25
+ elemStyle.display = "block"
26
+ } else {
27
+ elemStyle.display = "none"
28
+ }
29
+
30
+ return true;
31
+ }
32
+
33
+ // Make codeblocks hidden by default
34
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
35
+
36
+ // ]]>
37
+ </script><style type="text/css">div.method-source-code { display: none }</style></head>
38
+
39
+
40
+
41
+ <body>
42
+
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>HowTo_Tinker.txt</h1>
47
+ <table class="header-table">
48
+ <tbody><tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>rwd_files/HowTo_Tinker.txt
51
+ </td>
52
+ </tr>
53
+ <tr class="top-aligned-row">
54
+ <td><strong>Last Update:</strong></td>
55
+ <td>Fri Dec 24 20:32:10 PST 2004</td>
56
+ </tr>
57
+ </tbody></table>
58
+ </div>
59
+ <!-- banner header -->
60
+
61
+ <div id="bodyContent">
62
+
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <h1>RwdTinker framework for RubyWebDialogs</h1>
68
+ <p>
69
+ RwdTinker is a web brower
70
+ interface to and system for developing programs
71
+ </p>
72
+ <h2>Usage</h2>
73
+ <p>
74
+ How to Use the Tinker framework Program (rwdtinker)
75
+ </p>
76
+ <ol>
77
+ <li>stand alone application
78
+
79
+ </li>
80
+ <li>framework for building applications
81
+
82
+ </li>
83
+ <li>Open brower windows with html documents
84
+
85
+ </li>
86
+ </ol>
87
+ <p>
88
+ The GUI interface used is RubyWebDialogs
89
+ </p>
90
+ <p>
91
+ Start the program by typing ruby init.rb
92
+ </p>
93
+ <p>
94
+ Then point your web browser to: <a href="http://localhost:7705/">localhost:7705</a>/
95
+ </p>
96
+ <h2>Installing Applets</h2>
97
+ <ul>
98
+ <li>unzip an applet
99
+
100
+ <pre> You can download an applet created by someone else
101
+ put the file in the zips directory
102
+ unzip the directory into the program directoy
103
+ unzip randomapplet.zip
104
+
105
+ This should right the needed files in the correct directories
106
+ </pre>
107
+ </li>
108
+ </ul>
109
+ <p>
110
+ Viewing a installed Applets:
111
+ </p>
112
+ <p>
113
+ Go to "List Scripts" tab
114
+ </p>
115
+ <pre> You can get a list of all installed applets by clicking the listfiles button
116
+
117
+ To see the text of a install file
118
+ Type in the name of the file you want.
119
+
120
+ type it without the inf ending
121
+ rwdapplet-0.1
122
+
123
+ Then click the "View Installed File" button
124
+
125
+ If it finds the file it will open it. It displays the text the search box.
126
+ </pre>
127
+ <h2>Adding Applets</h2>
128
+ <p>
129
+ To add code, commands and gui tabs
130
+ </p>
131
+ <p>
132
+ Move program files into a directory under the code directory. Move gui
133
+ files into a directory under the gui directory.
134
+ </p>
135
+ <pre> The gui directory name you create is important, because the gui
136
+ rwd file is built in alpha order by directory name
137
+ </pre>
138
+ <p>
139
+ There are two ways to add applets to the directories.
140
+ </p>
141
+ <pre> Creating code
142
+ </pre>
143
+ <ul>
144
+ <li>Manually write code and gui files
145
+
146
+ <pre> The files go into your code directory
147
+ the filenames for code do not matter
148
+
149
+ The gui files go into your gui directory
150
+ The gui files need to be in order by name and end with .rwd
151
+
152
+ If you need a config file that goes in the configuration directory
153
+
154
+ internationalization and localization are helped by replacing the
155
+ gui files in the subdirectories under gui
156
+ </pre>
157
+ </li>
158
+ </ul>
159
+ <h2>Documents</h2>
160
+ <pre> when you click on a document name, the document should pop up in a
161
+ browser window, or in another browser tab.
162
+ </pre>
163
+ <p>
164
+ To exit, press the x inside the browser window.
165
+ </p>
166
+ <h2>Languages</h2>
167
+ <pre> You can add tranlations in the lang subdirectory
168
+ You change the $lang constant in Tinker config file in the configuration directory
169
+ You can see one translation on the install applet tab, after you have installed and applet
170
+ </pre>
171
+ <h2>Requirements:</h2>
172
+ <p>
173
+ RubyWebDialogs - I am using 0.1.2
174
+ </p>
175
+ <pre> This package you downloaded should have a runtime version of
176
+ the needed rubywebdialog files
177
+ </pre>
178
+ <p>
179
+ Ruby I am using version 1.8.2
180
+ </p>
181
+ <p>
182
+ I have tested this under Linux-Debian kernel 2.6.9
183
+ </p>
184
+ <h1>Operation:</h1>
185
+ <p>
186
+ The code files reside in the code directory and are combined before the
187
+ main Class is loaded
188
+ </p>
189
+ <p>
190
+ The rwd files in gui are combined before the gui is activated
191
+ </p>
192
+ <p>
193
+ Translated text reside in the lang directory
194
+ </p>
195
+ <h2>Installing:</h2>
196
+ <p>
197
+ untar the file tar zxvf rwdtinker-x.y.tar.gz then cd to the directory cd
198
+ rwdshell-x.y then start the init.rb program file ruby init.rb Then point
199
+ your browser at <a href="http://localhost:7705/">localhost:7705</a> or where
200
+ it tells you. Trouble shooting:
201
+ </p>
202
+ <p>
203
+ If the program is not working, try looking at the ev subdirectory. That is
204
+ where the runtime of rubywebdialogs are.
205
+ </p>
206
+ <p>
207
+ for long term installation, I would suggest putting most files in a lib
208
+ directory like /usr/lib/rwdshell then make a writable directory the local
209
+ directory for command files to be written like ~/rwdshell
210
+ </p>
211
+ <p>
212
+ Closing the browser doesn&#8217;t terminate the application. You have to
213
+ use the application&#8217;s close-button And terminating the application
214
+ doesn&#8217;t terminate the application when running in network mode. You
215
+ just log out.
216
+ </p>
217
+ <p>
218
+ Don&#8216;t use the back-button of the browser! Strange and unpredictable
219
+ things may and will happen!
220
+ </p>
221
+ <p>
222
+ RubyWebDialogs is a platform independent graphical user interface for Ruby
223
+ applications. It generates HTML and serves it with an internal HTTP server,
224
+ so you can use your favorite web browser as the front end for your Ruby
225
+ application. All this means, that it can be used on almost every platform,
226
+ like Ruby itself. <a href="http://www.erikveen.dds.nl/rubywebdialogs">www.erikveen.dds.nl/rubywebdialogs</a>/
227
+ </p>
228
+ <h2>Credits</h2>
229
+ <p>
230
+ Thanks go to:
231
+ </p>
232
+ <ul>
233
+ <li>Matz, for creating Ruby in the first place.
234
+
235
+ </li>
236
+ <li>Erik, for creating RubyWebDialogs.
237
+
238
+ </li>
239
+ <li>Charlotte, my wife for coming up for the name Tinker.
240
+
241
+ </li>
242
+ </ul>
243
+ <h2>License</h2>
244
+ <p>
245
+ rwdtinker is copyright � 2004 Steven Gibson. It is free software, and
246
+ may be redistributed under the terms of the GPL licence:
247
+ </p>
248
+ <pre> For more information see:
249
+ </pre>
250
+ <p>
251
+ <a href="http://rwdapplications.rubyforge.org/wiki/wiki.pl">rwdapplications.rubyforge.org/wiki/wiki.pl</a>
252
+ </p>
253
+ <p>
254
+ For more information about RubyWebDialogs see: <a href="http://www.erikveen.dds.nl/rubywebdialogs/index.html">www.erikveen.dds.nl/rubywebdialogs/index.html</a>
255
+ </p>
256
+ <p>
257
+ Thanks, Steven Gibson
258
+ </p>
259
+ <h2>Changelog:</h2>
260
+ <p>
261
+ version 1.23
262
+ <p><pre>
263
+ moving diagnostic tab and applet handling tabs to second window
264
+ added selection panel tab to choose secondary windows.
265
+ </pre><p>
266
+ version 1.2
267
+ </p>
268
+ <pre> added gemspec for creating a rwdtinker.gem
269
+ added rdoc comments
270
+ </pre>
271
+ <p>
272
+ version 1.1
273
+ </p>
274
+ <pre> changed order of elements on install applet tab
275
+ Add more i81n ablility - added lang directorys for language hash files
276
+ added in test file using WATIR stands for "Web Application Testing In Ruby,
277
+ </pre>
278
+ <p>
279
+ version 1.0
280
+ </p>
281
+ <pre> Improved name selection in zips and applet screens
282
+ added rubyslippers applet and rwdrefreshacpi applets as zips
283
+ </pre>
284
+ <p>
285
+ version 0.9
286
+ </p>
287
+ <pre> Fixed bug introduced in 0.8 - code files not sorted correctly - class end was not in correct location
288
+ updated RubyWebDialogs for people who do not have it installed
289
+ added rwdschedule applet as zip file
290
+ </pre>
291
+ <p>
292
+ version 0.8
293
+ </p>
294
+ <pre> changed location of code files
295
+ only directory of code files needs to be added to inf file
296
+ changed location of gui files
297
+ only directory of gui files needs to be added to inf file
298
+ Added constants in conf file for code location and gui location
299
+ removed all zips not yt updated to new directory layout
300
+ change loading of conf files to not need intermediate file
301
+ and favicon.ico
302
+ </pre>
303
+ <p>
304
+ version 0.7
305
+ </p>
306
+ <pre> moved changelog to HowTo_Tinker.html
307
+ copied english gui text to the dirs I think we should translate to
308
+ update backup zip files to newest versions
309
+ upgraded the ev directory - for those who don't have RubyWebDialogs
310
+ </pre>
311
+ <p>
312
+ version 0.6
313
+ </p>
314
+ <pre> updated version number
315
+ changed merge name to rwdtinker.rb
316
+ </pre>
317
+ <p>
318
+ version 0.4
319
+ </p>
320
+ <pre> added zip listing and installing - Linux only
321
+ </pre>
322
+ <p>
323
+ Version 0,3
324
+ </p>
325
+ <pre> changed name to Tinker
326
+ </pre>
327
+ <p>
328
+ Version 0.2
329
+ </p>
330
+ <pre> added some i18n directories for the gui files
331
+ </pre>
332
+ <p>
333
+ Version 0.1
334
+ </p>
335
+ <pre> first public version released
336
+ includes document screen
337
+ Open Photo screen
338
+ included configuration directory
339
+ zips directories
340
+ installed directory
341
+ installed applet lister
342
+ </pre>
343
+
344
+ </div>
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+ </div>
354
+
355
+
356
+
357
+ <!-- if includes -->
358
+
359
+
360
+ <!-- if method_list -->
361
+
362
+
363
+ </div>
364
+
365
+
366
+ <div id="validator-badges">
367
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
368
+ </div>
369
+
370
+ </body></html>