rwddemo 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. data/Readme.txt +1 -1
  2. data/code/dd0shelleval/changescriptname.rb +16 -0
  3. data/code/dd0shelleval/clearscriptscreendisplay.rb +9 -0
  4. data/code/dd0shelleval/deletescriptrecord.rb +20 -0
  5. data/code/{ek0shellscripts/em0listscripts.rb → dd0shelleval/listscripts.rb} +3 -2
  6. data/code/dd0shelleval/loadscriptrecord.rb +20 -0
  7. data/code/{ek0shellscripts/ek0playscript.rb → dd0shelleval/playscript.rb} +0 -0
  8. data/code/{cb7rubyeval/cb7rubyeval.rb → dd0shelleval/rubyeval.rb} +4 -2
  9. data/code/dd0shelleval/runrwdshellwindow.rb +9 -0
  10. data/code/dd0shelleval/rwddemohelpabout.rb +14 -0
  11. data/code/dd0shelleval/rwdshellversion.rb +14 -0
  12. data/code/{ek0shellscripts/en0createnewscript.rb → dd0shelleval/savechangedscript.rb} +7 -6
  13. data/code/dd0shelleval/{dd0shelleval.rb → shelleval.rb} +0 -0
  14. data/code/{ek0shellscripts/em1viewscript.rb → dd0shelleval/viewscript.rb} +2 -2
  15. data/code/{ii3calculator → rwdcalc}/ca2multiply.rb +0 -0
  16. data/code/{ii3calculator → rwdcalc}/ca4add.rb +0 -0
  17. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +2 -1
  18. data/configuration/aa0rwdframework.cnf +5 -3
  19. data/configuration/ab1tinkerwin2.cnf +1 -0
  20. data/configuration/ek0playscripts.cnf +2 -0
  21. data/configuration/gh1rwdcalendar.cnf +1 -0
  22. data/gui/aa2core/aa0rwdtop.rwd +4 -0
  23. data/gui/ek0shellscripts/1listplayscripts.rwd +17 -0
  24. data/gui/ek0shellscripts/2listscripts.rwd +25 -0
  25. data/gui/ek0shellscripts/3editscripts.rwd +25 -0
  26. data/gui/ek0shellscripts/4scriptutilities.rwd +24 -0
  27. data/gui/ek0shellscripts/6rwdshelleval.rwd +16 -0
  28. data/gui/ek0shellscripts/cb7rwdrubyeval.rwd +13 -0
  29. data/gui/hl9calendar/hl9calendar.rwd +20 -0
  30. data/gui/hx1rwdcalc/ca0rwdcalc.rwd +19 -0
  31. data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +16 -0
  32. data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +12 -0
  33. data/gui/lz1selectiontabend/endselectiontab.rwd +3 -0
  34. data/gui/tt0documentsbegin/tt0documentbegin.rwd +6 -0
  35. data/gui/{en/ub7rubyeval → ub7rubyeval}/rubyeval.rwd +4 -3
  36. data/gui/uk5rwddemodocuments/documents.rwd +4 -0
  37. data/gui/{en/uu5rwddocuments → uu5rwddocuments}/uu5documents.rwd +9 -7
  38. data/gui/{nl/uu6rwdtinkerwin2documents → uu6rwdtinkerwin2documents}/uu5documents.rwd +4 -2
  39. data/gui/vv1docshellxp/vvdocshellxp.rwd +5 -0
  40. data/gui/ww0documentsend/ww0documentend.rwd +7 -0
  41. data/gui/wz6finaltabs/xx0rwdfirsttab.rwd +6 -0
  42. data/gui/{es/xa1versionwindow → xa1versionwindow}/1appname.rwd +4 -2
  43. data/gui/xa5rwdtinkercallablewindow/1appname.rwd +17 -0
  44. data/gui/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  45. data/gui/xb1rwdtinkerbackwindow/1appname.rwd +5 -0
  46. data/gui/xb1rwdtinkerbackwindow/2tab1.rwd +11 -0
  47. data/gui/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +33 -0
  48. data/gui/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +44 -0
  49. data/gui/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +35 -0
  50. data/gui/xb1rwdtinkerbackwindow/9backend.rwd +6 -0
  51. data/gui/ya1helpaboutbegin/ya0helpscreenstart.rwd +3 -0
  52. data/gui/yg5rwdhelpabout/1appname.rwd +4 -0
  53. data/gui/yg5rwdhelpabout/3copyright.rwd +3 -0
  54. data/gui/yg5rwdhelpabout/5version.rwd +10 -0
  55. data/gui/yg6rwdwin2helpabout/1appname.rwd +4 -0
  56. data/gui/yg6rwdwin2helpabout/3copyright.rwd +3 -0
  57. data/gui/yg6rwdwin2helpabout/5version.rwd +10 -0
  58. data/gui/yl2rwddemohelpabout/1appname.rwd +4 -0
  59. data/gui/yl2rwddemohelpabout/3copyright.rwd +3 -0
  60. data/gui/yl2rwddemohelpabout/5version.rwd +9 -0
  61. data/gui/yl4rwdshellhelpabout/1appname.rwd +4 -0
  62. data/gui/yl4rwdshellhelpabout/3copyright.rwd +3 -0
  63. data/gui/yl4rwdshellhelpabout/5version.rwd +9 -0
  64. data/gui/yy5helpaboutend/helpscreenend.rwd +3 -0
  65. data/gui/za1applicationend/yy9rwdend.rwd +4 -0
  66. data/init.rb +74 -5
  67. data/installed/rwdshell-0.92.inf +14 -0
  68. data/installed/rwdtinkerwin2-0.5.inf +4 -12
  69. data/{code/al5languagefiles → lang}/alanguagehashbegin.rb +0 -0
  70. data/lang/en/rwdcore/languagefile.rb +3 -2
  71. data/lang/es/rwdcore/languagefile.rb +1 -2
  72. data/{code/al5languagefiles → lang}/languagehash.rb +0 -0
  73. data/lang/nl/rwdcore/languagefile.rb +1 -1
  74. data/lang/templangfile.rb +2 -0
  75. data/{code/al5languagefiles/zlanguagehashend.rb → lang/vlanguagehashend.rb} +0 -0
  76. data/lang/wlocallangstart.rb +5 -0
  77. data/lang/xlocallangfile.rb +1 -0
  78. data/lang/zlocallangend.rb +2 -0
  79. data/rwd_files/HowTo_Shell.txt +230 -0
  80. data/rwd_files/HowTo_Tinker.txt +32 -0
  81. data/scripts/echo2.sh +2 -0
  82. data/zips/{rwdhelloworld-0.2.zip → rwdhelloworld-0.3.zip} +0 -0
  83. data/zips/rwdwshell-0.91.zip +0 -0
  84. data/zips/wrubyslippers-0.93.zip +0 -0
  85. metadata +91 -154
  86. data/code/al5languagefiles/templangfile.rb +0 -6
  87. data/code/lm1installapplets/ll5listzips.rb +0 -14
  88. data/code/lm1installapplets/lm1installapplet.rb +0 -20
  89. data/code/ssdiagnostictab/diagnostictab.rb +0 -20
  90. data/gui/en/aa2core/aa0rwdtop.rwd +0 -3
  91. data/gui/en/cb7rubyeval/cb7rwdrubyeval.rwd +0 -18
  92. data/gui/en/dd0rwdshelleval/dd0rwdshelleval.rwd +0 -16
  93. data/gui/en/ek0shellscripts/ek0playscript.rwd +0 -15
  94. data/gui/en/ek0shellscripts/el0listscripts.rwd +0 -25
  95. data/gui/en/ek0shellscripts/en0createscripts.rwd +0 -24
  96. data/gui/en/hl9calendar/hl9calendar.rwd +0 -18
  97. data/gui/en/ii3calculator/ca0rwdcalc.rwd +0 -17
  98. data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +0 -15
  99. data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -11
  100. data/gui/en/lz1selectiontabend/endselectiontab.rwd +0 -1
  101. data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +0 -5
  102. data/gui/en/uk5rwddemodocuments/documents.rwd +0 -3
  103. data/gui/en/uu6rwdtinkerwin2documents/uu5documents.rwd +0 -4
  104. data/gui/en/vv1docshellxp/vvdocshellxp.rwd +0 -4
  105. data/gui/en/ww0documentsend/ww0documentend.rwd +0 -6
  106. data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +0 -4
  107. data/gui/en/xa1versionwindow/1appname.rwd +0 -17
  108. data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +0 -15
  109. data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +0 -4
  110. data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +0 -3
  111. data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +0 -9
  112. data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -31
  113. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -42
  114. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -33
  115. data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +0 -5
  116. data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -1
  117. data/gui/en/yg5rwdhelpabout/1appname.rwd +0 -2
  118. data/gui/en/yg5rwdhelpabout/3copyright.rwd +0 -1
  119. data/gui/en/yg5rwdhelpabout/5version.rwd +0 -9
  120. data/gui/en/yg6rwdwin2helpabout/1appname.rwd +0 -2
  121. data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +0 -1
  122. data/gui/en/yg6rwdwin2helpabout/5version.rwd +0 -9
  123. data/gui/en/za1applicationend/yy9rwdend.rwd +0 -2
  124. data/gui/es/aa2core/aa0rwdtop.rwd +0 -3
  125. data/gui/es/cb7rubyeval/cb7rwdrubyeval.rwd +0 -18
  126. data/gui/es/dd0rwdshelleval/dd0rwdshelleval.rwd +0 -16
  127. data/gui/es/ek0shellscripts/ek0playscript.rwd +0 -15
  128. data/gui/es/ek0shellscripts/el0listscripts.rwd +0 -25
  129. data/gui/es/ek0shellscripts/en0createscripts.rwd +0 -24
  130. data/gui/es/hl9calendar/hl9calendar.rwd +0 -18
  131. data/gui/es/ii3calculator/ca0rwdcalc.rwd +0 -17
  132. data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +0 -15
  133. data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -11
  134. data/gui/es/lz1selectiontabend/endselectiontab.rwd +0 -1
  135. data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +0 -5
  136. data/gui/es/ub7rubyeval/rubyeval.rwd +0 -3
  137. data/gui/es/uk5playscripts/uv6docscriptrunner.rwd +0 -3
  138. data/gui/es/uu5rwddocuments/uu5documents.rwd +0 -13
  139. data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +0 -4
  140. data/gui/es/vv1docshellxp/vvdocshellxp.rwd +0 -4
  141. data/gui/es/ww0documentsend/ww0documentend.rwd +0 -6
  142. data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +0 -4
  143. data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +0 -15
  144. data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +0 -4
  145. data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +0 -3
  146. data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +0 -9
  147. data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -31
  148. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -42
  149. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -33
  150. data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +0 -5
  151. data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -1
  152. data/gui/es/yg5rwdhelpabout/1appname.rwd +0 -2
  153. data/gui/es/yg5rwdhelpabout/3copyright.rwd +0 -1
  154. data/gui/es/yg5rwdhelpabout/5version.rwd +0 -9
  155. data/gui/es/yg6rwdwin2helpabout/1appname.rwd +0 -2
  156. data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +0 -1
  157. data/gui/es/yg6rwdwin2helpabout/5version.rwd +0 -9
  158. data/gui/es/za1applicationend/yy9rwdend.rwd +0 -2
  159. data/gui/nl/aa2core/aa0rwdtop.rwd +0 -3
  160. data/gui/nl/cb7rubyeval/cb7rwdrubyeval.rwd +0 -18
  161. data/gui/nl/dd0rwdshelleval/dd0rwdshelleval.rwd +0 -16
  162. data/gui/nl/ek0shellscripts/ek0playscript.rwd +0 -15
  163. data/gui/nl/ek0shellscripts/el0listscripts.rwd +0 -25
  164. data/gui/nl/ek0shellscripts/en0createscripts.rwd +0 -24
  165. data/gui/nl/hl9calendar/hl9calendar.rwd +0 -18
  166. data/gui/nl/ii3calculator/ca0rwdcalc.rwd +0 -17
  167. data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +0 -15
  168. data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -11
  169. data/gui/nl/lz1selectiontabend/endselectiontab.rwd +0 -1
  170. data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +0 -5
  171. data/gui/nl/ub7rubyeval/rubyeval.rwd +0 -3
  172. data/gui/nl/uk5playscripts/uv6docscriptrunner.rwd +0 -3
  173. data/gui/nl/uu5rwddocuments/uu5documents.rwd +0 -13
  174. data/gui/nl/vv1docshellxp/vvdocshellxp.rwd +0 -4
  175. data/gui/nl/ww0documentsend/ww0documentend.rwd +0 -6
  176. data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +0 -4
  177. data/gui/nl/xa1versionwindow/1appname.rwd +0 -17
  178. data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +0 -15
  179. data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +0 -4
  180. data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +0 -3
  181. data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +0 -9
  182. data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -31
  183. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -42
  184. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -33
  185. data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +0 -5
  186. data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -1
  187. data/gui/nl/yg5rwdhelpabout/1appname.rwd +0 -2
  188. data/gui/nl/yg5rwdhelpabout/3copyright.rwd +0 -1
  189. data/gui/nl/yg5rwdhelpabout/5version.rwd +0 -9
  190. data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +0 -2
  191. data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +0 -1
  192. data/gui/nl/yg6rwdwin2helpabout/5version.rwd +0 -9
  193. data/gui/nl/za1applicationend/yy9rwdend.rwd +0 -2
  194. data/installed/rwdrubyeval-0.3.inf +0 -5
  195. data/installed/rwdscriptrunner-0.3.inf +0 -9
  196. data/installed/rwdshellxp-0.4.inf +0 -5
  197. data/rwd_files/HowTo_Tinker.html +0 -370
  198. data/rwd_files/HowTo_shellxp.html +0 -105
  199. data/tests/rwdtinkertestEN.rb +0 -87
  200. data/tests/temptest.out +0 -18
  201. data/zips/rwdaviewphoto-0.3.zip +0 -0
  202. data/zips/rwdrefreshacpi-0.1.zip +0 -0
  203. data/zips/rwdscriptrunner-0.3.zip +0 -0
  204. data/zips/rwdwtinkerwin2-0.5.zip +0 -0
@@ -1,370 +0,0 @@
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>
@@ -1,105 +0,0 @@
1
- <html>
2
- <head>
3
- <title>
4
- HowTo use the Shell Program
5
- </title>
6
- </head>
7
- <body>
8
- <h1>
9
- How to Use the Shell Program (rwdshell)
10
- </h1>
11
- rwdshell is a web brower interface to operating system shell commands
12
- <br><br>
13
-
14
- 1. install into a rwdtinker program http://rubyforge.org/frs/?group_id=444
15
-
16
- 2. run shell commands<br>
17
-
18
- <br><br>
19
- The GUI interface used is RubyWebDialogs
20
- <br><br>
21
-
22
- Start the program by typing<br>
23
- ruby init.rb
24
- <br><br>
25
- Then point your web browser to:
26
- http://localhost:7701/
27
- <br><br>
28
- <b>
29
- To use a shell command
30
- </b>
31
- <br>
32
- <br>
33
-
34
-
35
- Enter the shell command you want to run for in the browser form and press execute.
36
- After a second the browser should fill with the results of the command.
37
- try ls, df, cat "filename", and other shell commands
38
- You should be able to run one command after another
39
- <br><br>
40
- <b>
41
-
42
-
43
- Requirements:<br>
44
- RubyWebDialogs - I am using 0.0.11 2004-3-9<br>
45
- This package you downloaded rwddemo should have a runtime version of
46
- the needed rubywebdialog files<br>
47
- <br><br>
48
- Ruby I am using version 1.8.2
49
- <br><br>
50
- I have tested this under Linux-Debian kernel 2.6.9
51
- <br><br>
52
- Operation:
53
- The code files reside in the code directory and are combined before
54
- the main Class is loaded
55
- <br><br>
56
- The rwd files in gui are combined before the gui is activated
57
- <br><br>
58
- Installing:
59
- <br><br>
60
- unzip the file<br>
61
- then cd to the directory<br>
62
- unzip rwdashell-x.y.zip<br>
63
-
64
-
65
- Trouble shooting:
66
- <br><br>
67
- If the program is not working, try looking at the ev subdirectory. That is where
68
- the runtime of rubywebdialogs are.
69
- <br><br>
70
- for long term installation, I would suggest putting most files in a lib directory
71
- like /usr/lib/rwdshell
72
- then make a writable directory the local directory for command files to be written
73
- like ~/rwdshell
74
-
75
- <br><br>
76
- 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.
77
-
78
- Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
79
- <br><br>
80
- 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/
81
-
82
- <br><br>
83
- For more information see:<br>
84
- <a href=http://rwdapplications.rubyforge.org/wiki/wiki.pl>http://rwdapplications.rubyforge.org/wiki/wiki.pl</a>
85
- <br>
86
- <br>
87
- For more information about RubyWebDialogs see:<br>
88
- <a href=http://www.erikveen.dds.nl/rubywebdialogs/index.html>http://www.erikveen.dds.nl/rubywebdialogs/index.html</a>
89
- <br><br>
90
- Thanks, Steven Gibson
91
- <pre>
92
- Changelog
93
-
94
- Version 0.7
95
- includes script playing and Ruby eval window.
96
-
97
- Version 0.6
98
- added script runner
99
- list scripts
100
- create scripts
101
- Replaced Readme.txt with HowTo.html
102
- </pre>
103
-
104
- </body>
105
- </html>
@@ -1,87 +0,0 @@
1
- #-------------------------------------------------------------------------------------------------------------#
2
- # test with the WATIR controller
3
- #
4
- # Simple test based on Google/watir demo
5
- #
6
- #------------------------------------------------------------------------------------------------------------ #
7
-
8
- #includes
9
- require '../watir' # the controller
10
-
11
- #test::unit includes
12
- require 'test/unit'
13
- require 'test/unit/ui/console/testrunner'
14
- require '../unittests/testUnitAddons'
15
-
16
- #code to set your current path in Windows
17
- $myDir = File.dirname(__FILE__)
18
- $LOAD_PATH << $myDir
19
-
20
- class TC_rwdtinker_suite < Test::Unit::TestCase
21
-
22
-
23
-
24
- def test_a_Open1
25
- #--------------------------------------------------------
26
- # test case that shows basic WATIR functionality:
27
- # * enter text in a field
28
- # * click a button
29
- #
30
-
31
- #variables
32
- testSite = 'http://localhost:7705'
33
-
34
- #open the IE browser
35
- $ie = IE.new
36
-
37
- puts '## Beginning of test: rwdtinker'
38
- puts ' '
39
-
40
- $ie.goto(testSite)
41
- puts ' Action: entered ' + testSite + 'in the address bar.'
42
- sleep 1
43
-
44
- $ie.button(:caption, "View Photo").click
45
- puts ' Action: clicked the View Photo link'
46
-
47
- sleep 1
48
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_main";document.bodyform.submit();').click
49
- puts ' Action: clicked the main top link'
50
- end
51
-
52
- def test_b_Buttons1
53
- sleep 1
54
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_filelister";document.bodyform.submit();').click
55
- puts ' Action: clicked the file lister tab'
56
-
57
- sleep 1
58
-
59
- $ie.button(:caption, "List Files").click
60
- puts ' Action: clicked the List Files button.'
61
-
62
- sleep 1
63
-
64
- assert($ie.pageContainsText("File Name") )
65
- sleep 1
66
-
67
- $ie.button(:caption, "View Install Text").click
68
- puts ' Action: clicked the View Install Text button.'
69
-
70
- sleep 1
71
- $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_zipslister";document.bodyform.submit();').click
72
-
73
- puts ' '
74
- puts '## End of 2st test: '
75
-
76
- end # end of test_b_buttons1
77
-
78
- def test_c_tabs
79
-
80
- $ie.button(:caption, "List applets available for installing").click
81
- puts ' Action: clicked the List applets available for installing button.'
82
-
83
- end
84
-
85
-
86
-
87
- end #end of class TC_google_suite
data/tests/temptest.out DELETED
@@ -1,18 +0,0 @@
1
- Loaded suite C:/ruby/sample/watir/examples/rwdtinkertestEN
2
- Started
3
- ## Beginning of test: rwdtinker
4
-
5
- Action: entered http://localhost:7705in the address bar.
6
- Action: clicked the View Photo link
7
- Action: clicked the main top link
8
- Action: clicked the file lister tab
9
- Action: clicked the List Files button.
10
- pageContainsText: Looking for: File Name (string) - found it ok
11
- Action: clicked the View Install Text button.
12
-
13
- ## End of 2st test:
14
- Action: clicked the List applets available for installing button.
15
-
16
- Finished in 18.676 seconds.
17
-
18
- 3 tests, 1 assertions, 0 failures, 0 errors
Binary file
Binary file
Binary file
Binary file