rwdtinker 1.4 → 1.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/code/al5languagefiles/templangfile.rb +6 -0
  2. data/code/lm1installapplets/ll5listzips.rb +14 -0
  3. data/code/lm1installapplets/lm1installapplet.rb +20 -0
  4. data/code/ssdiagnostictab/diagnostictab.rb +20 -0
  5. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +1 -2
  6. data/configuration/aa0rwdframework.cnf +3 -6
  7. data/configuration/ab1tinkerwin2.cnf +0 -1
  8. data/gui/en/aa2core/aa0rwdtop.rwd +3 -0
  9. data/gui/en/cc0viewphoto/cc0openphoto.rwd +17 -0
  10. data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  11. data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  12. data/gui/en/lz1selectiontabend/endselectiontab.rwd +1 -0
  13. data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  14. data/gui/{uu5rwddocuments → en/uu5rwddocuments}/uu5documents.rwd +7 -9
  15. data/gui/{uu6rwdtinkerwin2documents → en/uu6rwdtinkerwin2documents}/uu5documents.rwd +2 -4
  16. data/gui/en/ww0documentsend/ww0documentend.rwd +6 -0
  17. data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  18. data/gui/{xa1versionwindow → en/xa1versionwindow}/1appname.rwd +2 -4
  19. data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  20. data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  21. data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  22. data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  23. data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  24. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  25. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  26. data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  27. data/gui/en/xx9photoview/xx9photoview.rwd +3 -0
  28. data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  29. data/gui/en/yg5rwdhelpabout/1appname.rwd +2 -0
  30. data/gui/en/yg5rwdhelpabout/3copyright.rwd +1 -0
  31. data/gui/en/yg5rwdhelpabout/5version.rwd +9 -0
  32. data/gui/en/yg6rwdwin2helpabout/1appname.rwd +2 -0
  33. data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  34. data/gui/en/yg6rwdwin2helpabout/5version.rwd +9 -0
  35. data/gui/en/za1applicationend/yy9rwdend.rwd +2 -0
  36. data/gui/es/aa2core/aa0rwdtop.rwd +3 -0
  37. data/gui/es/cc0viewphoto/cc0openphoto.rwd +17 -0
  38. data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  39. data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  40. data/gui/es/lz1selectiontabend/endselectiontab.rwd +1 -0
  41. data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  42. data/gui/es/uu5rwddocuments/uu5documents.rwd +13 -0
  43. data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  44. data/gui/es/ww0documentsend/ww0documentend.rwd +6 -0
  45. data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  46. data/gui/es/xa1versionwindow/1appname.rwd +17 -0
  47. data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  48. data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  49. data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  50. data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  51. data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  52. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  53. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  54. data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  55. data/gui/es/xx9photoview/xx9photoview.rwd +3 -0
  56. data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  57. data/gui/es/yg5rwdhelpabout/1appname.rwd +2 -0
  58. data/gui/es/yg5rwdhelpabout/3copyright.rwd +1 -0
  59. data/gui/es/yg5rwdhelpabout/5version.rwd +9 -0
  60. data/gui/es/yg6rwdwin2helpabout/1appname.rwd +2 -0
  61. data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  62. data/gui/es/yg6rwdwin2helpabout/5version.rwd +9 -0
  63. data/gui/es/za1applicationend/yy9rwdend.rwd +2 -0
  64. data/gui/nl/aa2core/aa0rwdtop.rwd +3 -0
  65. data/gui/nl/cc0viewphoto/cc0openphoto.rwd +17 -0
  66. data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  67. data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  68. data/gui/nl/lz1selectiontabend/endselectiontab.rwd +1 -0
  69. data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  70. data/gui/nl/uu5rwddocuments/uu5documents.rwd +13 -0
  71. data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  72. data/gui/nl/ww0documentsend/ww0documentend.rwd +6 -0
  73. data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  74. data/gui/nl/xa1versionwindow/1appname.rwd +17 -0
  75. data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  76. data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  77. data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  78. data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  79. data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  80. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  81. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  82. data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  83. data/gui/nl/xx9photoview/xx9photoview.rwd +3 -0
  84. data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  85. data/gui/nl/yg5rwdhelpabout/1appname.rwd +2 -0
  86. data/gui/nl/yg5rwdhelpabout/3copyright.rwd +1 -0
  87. data/gui/nl/yg5rwdhelpabout/5version.rwd +9 -0
  88. data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +2 -0
  89. data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  90. data/gui/nl/yg6rwdwin2helpabout/5version.rwd +9 -0
  91. data/gui/nl/za1applicationend/yy9rwdend.rwd +2 -0
  92. data/init.rb +5 -74
  93. data/installed/rwdtinkerwin2-0.5.inf +12 -4
  94. data/installed/rwdviewphoto-0.3.inf +9 -0
  95. data/lang/en/rwdcore/languagefile.rb +3 -13
  96. data/lang/es/rwdcore/languagefile.rb +4 -0
  97. data/lang/nl/rwdcore/{languagefile-nl.rb → languagefile.rb} +1 -1
  98. data/rwd_files/HowTo_Tinker.html +370 -0
  99. data/rwd_files/HowTo_Tinker.txt +0 -32
  100. data/tests/rubyslippers-0.92.gemspec +17 -0
  101. data/tests/rwdtinker-1.2.gemspec +17 -0
  102. data/tests/rwdtinkertestEN.rb +87 -0
  103. data/tests/temptest.out +18 -0
  104. data/zips/rwdaviewphoto-0.3.zip +0 -0
  105. data/zips/{rwdhelloworld-0.3.zip → rwdhelloworld-0.2.zip} +0 -0
  106. data/zips/rwdrefreshacpi-0.1.zip +0 -0
  107. data/zips/rwdwtinkerwin2-0.5.zip +0 -0
  108. metadata +105 -43
  109. data/gui/aa2core/aa0rwdtop.rwd +0 -4
  110. data/gui/cc0viewphoto/cc0openphoto.rwd +0 -17
  111. data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +0 -16
  112. data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -12
  113. data/gui/lz1selectiontabend/endselectiontab.rwd +0 -3
  114. data/gui/tt0documentsbegin/tt0documentbegin.rwd +0 -6
  115. data/gui/ww0documentsend/ww0documentend.rwd +0 -7
  116. data/gui/wz6finaltabs/xx0rwdfirsttab.rwd +0 -6
  117. data/gui/xa5rwdtinkercallablewindow/1appname.rwd +0 -17
  118. data/gui/xa5rwdtinkercallablewindow/9end.rwd +0 -4
  119. data/gui/xb1rwdtinkerbackwindow/1appname.rwd +0 -5
  120. data/gui/xb1rwdtinkerbackwindow/2tab1.rwd +0 -11
  121. data/gui/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -33
  122. data/gui/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -44
  123. data/gui/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -35
  124. data/gui/xb1rwdtinkerbackwindow/9backend.rwd +0 -6
  125. data/gui/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -3
  126. data/gui/yg5rwdhelpabout/1appname.rwd +0 -4
  127. data/gui/yg5rwdhelpabout/3copyright.rwd +0 -3
  128. data/gui/yg5rwdhelpabout/5version.rwd +0 -10
  129. data/gui/yg6rwdwin2helpabout/1appname.rwd +0 -4
  130. data/gui/yg6rwdwin2helpabout/3copyright.rwd +0 -3
  131. data/gui/yg6rwdwin2helpabout/5version.rwd +0 -10
  132. data/gui/yy5helpaboutend/helpscreenend.rwd +0 -3
  133. data/gui/za1applicationend/yy9rwdend.rwd +0 -4
  134. data/installed/rwdviewlogo-0.4.inf +0 -4
  135. data/lang/es/rwdcore/languagefile-es.rb +0 -14
  136. data/lang/templangfile.rb +0 -3
  137. data/lang/wlocallangstart.rb +0 -5
  138. data/lang/xlocallangfile.rb +0 -3
  139. data/lang/zlocallangend.rb +0 -2
  140. data/zips/rwdwshell-0.91.zip +0 -0
  141. data/zips/wrubyslippers-0.93.zip +0 -0
  142. /data/{lang → code/al5languagefiles}/alanguagehashbegin.rb +0 -0
  143. /data/{lang → code/al5languagefiles}/languagehash.rb +0 -0
  144. /data/{lang/vlanguagehashend.rb → code/al5languagefiles/zlanguagehashend.rb} +0 -0
@@ -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>
@@ -109,24 +109,6 @@ To exit, press the x inside the browser window.
109
109
  You change the $lang constant in Tinker config file in the configuration directory
110
110
  You can see one translation on the install applet tab, after you have installed and applet
111
111
 
112
- == Using over a Network
113
-
114
- To serve the application over your local LAN,change the last line in the
115
- init.rb file to something like:
116
- RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
117
- Then you should be able to login at: http://yourhostname:8080
118
-
119
- You have to authorize yourself. The .rwuids example is a string with
120
- the name of the authorization file, relative to the home directory
121
- of the user that started the service. This file has to be in the form of:
122
-
123
- user1 = password
124
- user2 = pass phrase
125
-
126
- Thus the file .rwduids might contain:
127
-
128
- erik = secret
129
-
130
112
  == Requirements:
131
113
  RubyWebDialogs - I am using 0.1.2
132
114
  This package you downloaded should have a runtime version of
@@ -184,7 +166,6 @@ Thanks go to:
184
166
  rwdtinker is copyright (c) 2004 Steven Gibson. It is free software, and may be redistributed
185
167
  under the terms of the GPL licence:
186
168
 
187
- == Contact
188
169
  For more information see:
189
170
  http://rwdapplications.rubyforge.org/wiki/wiki.pl
190
171
 
@@ -195,19 +176,6 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
195
176
  Thanks, Steven Gibson
196
177
 
197
178
  == Changelog:
198
- version 1.3
199
- refactored gui files to do easier i10n
200
- removed lang directories under gui
201
- added lang files under lang dir
202
- removed redundant code files left from moving applet handling to back window
203
- removed zipped applets not yet refactored
204
-
205
- version 1.24
206
- added internet usage instructions to HowTo_Tinker.txt
207
- removed HowTo_Tinker.html
208
- added panels for Helpabout
209
- changed photo logo tab to only have embedded picture, no button
210
-
211
179
  version 1.23
212
180
  moving diagnostic tab and applet handling tabs to second window
213
181
  added selection panel tab to choose secondary windows.
@@ -0,0 +1,17 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = %q{rubyslippers}
3
+ s.version = "0.92"
4
+ s.date = %q{2004-12-21}
5
+ s.summary = %q{rwdtinker application.}
6
+ s.require_paths = ["."]
7
+ s.email = %q{whitton@atlantic.net}
8
+ s.homepage = %q{http://grub.ath.cx/formvalidator/}
9
+ s.autorequire = %q{formvalidator}
10
+ s.has_rdoc = true
11
+ s.files = [ "README.rdoc", "code", "code/ag1core", "code/ag1core/aa0begin.rb", "code/ii6rubyslippers", "code/ii6rubyslippers/gemserve.rb", "code/ii6rubyslippers/ii3viewgemdata.rb", "code/ii6rubyslippers/ii4listgemrecord.rb", "code/ii6rubyslippers/ii6installgem.rb", "code/ii6rubyslippers/ii7listgemsremote.rb", "code/ii6rubyslippers/ii9gemcommands.rb", "code/ii6rubyslippers/ii9gemenvironment.rb", "code/ii6rubyslippers/ii9gemfilesinstalled.rb", "code/ii6rubyslippers/ii9listgemdirs.rb", "code/ii6rubyslippers/ij9execgemserve.rb", "code/ll0listapplets", "code/ll0listapplets/05listinstalledfiles.rb", "code/ll0listapplets/ll1openname.rb", "code/ll0listapplets/mm1removeapplet.rb", "code/lm1installapplets", "code/lm1installapplets/ll5listzips.rb", "code/lm1installapplets/lm1installapplet.rb", "code/zz0applicationend", "code/zz0applicationend/zz0end.rb", "configuration", "configuration/aa0rwdframework.cnf", "configuration/ii3rubyslippers.cnf", "ev", "ev/browser.rb", "ev/ftools.rb", "ev/net.rb", "ev/ruby.rb", "ev/rwd.rb", "ev/sgml.rb", "ev/thread.rb", "ev/tree.rb", "ev/xml.rb", "gui", "gui/en", "gui/en/aa2core", "gui/en/aa2core/aa0rwdtop.rwd", "gui/en/ii6rubyslippers", "gui/en/ii6rubyslippers/ii3viewgemdata.rwd", "gui/en/ii6rubyslippers/ii4listgemrecordfiles.rwd", "gui/en/ii6rubyslippers/ii6installgem.rwd", "gui/en/ii6rubyslippers/ii7listgemsremote.rwd", "gui/en/ii6rubyslippers/ii9gemcommands.rwd", "gui/en/ii6rubyslippers/ij1gemfilesinstalled.rwd", "gui/en/ii6rubyslippers/ij4gemserverscan.rwd", "gui/en/ll5listapplets", "gui/en/ll5listapplets/ll0rwdlistapplets.rwd", "gui/en/ll9rwdlistzips", "gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/en/tt0documentsbegin", "gui/en/tt0documentsbegin/tt0documentbegin.rwd", "gui/en/ui3rubyslippers", "gui/en/ui3rubyslippers/ui3rubyslippers.rwd", "gui/en/ui3rubyslippers/ui4rubyslippers.rwd", "gui/en/uu5rwddocuments", "gui/en/uu5rwddocuments/uu5documents.rwd", "gui/en/ww0documentsend", "gui/en/ww0documentsend/ww0documentend.rwd", "gui/en/wz6finaltabs", "gui/en/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/en/ya1helpbegin", "gui/en/ya1helpbegin/ya0helpscreenstart.rwd", "gui/en/yg5rwdhelp", "gui/en/yg5rwdhelp/yf0helpscreen.rwd", "gui/en/yg5rwdhelp/yf6rwdtinker.rwd", "gui/en/yg5rwdhelp/yg0helpscreen.rwd", "gui/en/yi2rubyslippers", "gui/en/yi2rubyslippers/yi2rubyslippers.rwd", "gui/en/yi2rubyslippers/yi6rubyslippers.rwd", "gui/en/yi2rubyslippers/yi8rubyslippers.rwd", "gui/en/yy5helpend", "gui/en/yy5helpend/yy5helpscreenend,rwd", "gui/en/za1applicationend", "gui/en/za1applicationend/yy9rwdend.rwd", "gui/nl", "gui/nl/aa2core", "gui/nl/aa2core/aa0rwdtop.rwd", "gui/nl/ii6rubyslippers", "gui/nl/ii6rubyslippers/ii3viewgemdata.rwd", "gui/nl/ii6rubyslippers/ii4listgemrecordfiles.rwd", "gui/nl/ii6rubyslippers/ii6installgem.rwd", "gui/nl/ii6rubyslippers/ii7listgemsremote.rwd", "gui/nl/ii6rubyslippers/ii9gemcommands.rwd", "gui/nl/ii6rubyslippers/ij1gemfilesinstalled.rwd", "gui/nl/ii6rubyslippers/ij4gemserverscan.rwd", "gui/nl/ll5listapplets", "gui/nl/ll5listapplets/ll0rwdlistapplets.rwd", "gui/nl/ll9rwdlistzips", "gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/nl/tt0documentsbegin", "gui/nl/tt0documentsbegin/tt0documentbegin.rwd", "gui/nl/ui3rubyslippers", "gui/nl/ui3rubyslippers/ui3rubyslippers.rwd", "gui/nl/ui3rubyslippers/ui4rubyslippers.rwd", "gui/nl/uu5rwddocuments", "gui/nl/uu5rwddocuments/uu5documents.rwd", "gui/nl/ww0documentsend", "gui/nl/ww0documentsend/ww0documentend.rwd", "gui/nl/wz6finaltabs", "gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/nl/ya1helpbegin", "gui/nl/ya1helpbegin/ya0helpscreenstart.rwd", "gui/nl/yg5rwdhelp", "gui/nl/yg5rwdhelp/yf0helpscreen.rwd", "gui/nl/yg5rwdhelp/yf6rwdtinker.rwd", "gui/nl/yg5rwdhelp/yg0helpscreen.rwd", "gui/nl/yi2rubyslippers", "gui/nl/yi2rubyslippers/yi2rubyslippers.rwd", "gui/nl/yi2rubyslippers/yi6rubyslippers.rwd", "gui/nl/yi2rubyslippers/yi8rubyslippers.rwd", "gui/nl/yy5helpend", "gui/nl/yy5helpend/yy5helpscreenend,rwd", "gui/nl/za1applicationend", "gui/nl/za1applicationend/yy9rwdend.rwd", "init.rb", "installed", "installed/fullrubyslippers-0.91.inf", "installed/rwdlistapplets-0.4.inf", "installed/rwdlistzips-0.4.inf", "Readme.txt", "rwd_files", "rwd_files/COPYING", "rwd_files/favicon.ico", "rwd_files/GemDocuments.html", "rwd_files/HowTo_RubySlippers.html", "rwd_files/HowTo_Tinker.html", "rwd_files/HowTo_Tinker.txt", "rwd_files/Readme.txt", "rwd_files/rwdapplications.html", "rwd_files/rwdindex.html", "rwd_files/tinker.png", "zips"]
12
+ s.rdoc_options = ["--main", "README.rdoc", "rwd_files/HowTo_RubySlippers.html"]
13
+ s.extra_rdoc_files = ["README.rdoc"]
14
+ end.description = %q{rwdtinker.}
15
+
16
+
17
+
@@ -0,0 +1,17 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = %q{rwdtinker}
3
+ s.version = "1.1"
4
+ s.date = %q{2004-12-24}
5
+ s.summary = %q{rwdtinker application.}
6
+ s.require_paths = ["."]
7
+ s.email = %q{steven@superant.com}
8
+ s.homepage = %q{http://rubyforge.net/projects/rwdapplications/}
9
+ s.autorequire = %q{rwdtinker}
10
+ s.has_rdoc = true
11
+ s.files = [ "code", "code/ag1core", "code/ag1core/aa0begin.rb", "code/ll0listapplets", "code/ll0listapplets/05listinstalledfiles.rb", "code/ll0listapplets/ll1openname.rb", "code/ll0listapplets/mm1removeapplet.rb", "code/lm1installapplets", "code/lm1installapplets/ll5listzips.rb", "code/lm1installapplets/lm1installapplet.rb", "code/zz0applicationend", "code/zz0applicationend/zz0end.rb", "configuration", "configuration/aa0rwdframework.cnf", "ev", "ev/browser.rb", "ev/ftools.rb", "ev/net.rb", "ev/ruby.rb", "ev/rwd.rb", "ev/sgml.rb", "ev/thread.rb", "ev/tree.rb", "ev/xml.rb", "gui", "gui/en", "gui/en/aa2core", "gui/en/aa2core/aa0rwdtop.rwd", "gui/en/ll5listapplets", "gui/en/ll5listapplets/ll0rwdlistapplets.rwd", "gui/en/ll9rwdlistzips", "gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/en/tt0documentsbegin", "gui/en/tt0documentsbegin/tt0documentbegin.rwd", "gui/en/uu5rwddocuments", "gui/en/uu5rwddocuments/uu5documents.rwd", "gui/en/ww0documentsend", "gui/en/ww0documentsend/ww0documentend.rwd", "gui/en/wz6finaltabs", "gui/en/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/en/ya1helpbegin", "gui/en/ya1helpbegin/ya0helpscreenstart.rwd", "gui/en/yg5rwdhelp", "gui/en/yg5rwdhelp/yf0helpscreen.rwd", "gui/en/yg5rwdhelp/yf6rwdtinker.rwd", "gui/en/yg5rwdhelp/yg0helpscreen.rwd", "gui/en/yy5helpend", "gui/en/yy5helpend/yy5helpscreenend,rwd", "gui/en/za1applicationend", "gui/en/za1applicationend/yy9rwdend.rwd", "gui/nl", "gui/nl/aa2core", "gui/nl/aa2core/aa0rwdtop.rwd", "gui/nl/ll5listapplets", "gui/nl/ll5listapplets/ll0rwdlistapplets.rwd", "gui/nl/ll9rwdlistzips", "gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd", "gui/nl/tt0documentsbegin", "gui/nl/tt0documentsbegin/tt0documentbegin.rwd", "gui/nl/uu5rwddocuments", "gui/nl/uu5rwddocuments/uu5documents.rwd", "gui/nl/ww0documentsend", "gui/nl/ww0documentsend/ww0documentend.rwd", "gui/nl/wz6finaltabs", "gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd", "gui/nl/ya1helpbegin", "gui/nl/ya1helpbegin/ya0helpscreenstart.rwd", "gui/nl/yg5rwdhelp", "gui/nl/yg5rwdhelp/yf0helpscreen.rwd", "gui/nl/yg5rwdhelp/yf6rwdtinker.rwd", "gui/nl/yg5rwdhelp/yg0helpscreen.rwd", "gui/nl/yy5helpend", "gui/nl/yy5helpend/yy5helpscreenend,rwd", "gui/nl/za1applicationend", "gui/nl/za1applicationend/yy9rwdend.rwd", "init.rb", "installed", "installed/rwdlistapplets-0.4.inf", "installed/rwdlistzips-0.4.inf", "Readme.txt", "rwd_files", "rwd_files/COPYING", "rwd_files/favicon.ico", "rwd_files/HowTo_Tinker.html", "rwd_files/HowTo_Tinker.txt", "rwd_files/Readme.txt", "rwd_files/rwdapplications.html", "rwd_files/rwdindex.html", "rwd_files/tinker.png", "zips"]
12
+ s.rdoc_options = ["--main", "rwd_files/HowTo_Tinker.txt"]
13
+ s.extra_rdoc_files = ["README.txt"]
14
+ end.description = %q{rwdtinker.}
15
+
16
+
17
+
@@ -0,0 +1,87 @@
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
@@ -0,0 +1,18 @@
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