rwddemo 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. data/Readme.txt +57 -0
  2. data/bin/rwddemo +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/cb7rubyeval/cb7rubyeval.rb +23 -0
  10. data/code/dd0shelleval/dd0shelleval.rb +20 -0
  11. data/code/ek0shellscripts/ek0playscript.rb +22 -0
  12. data/code/ek0shellscripts/em0listscripts.rb +12 -0
  13. data/code/ek0shellscripts/em1viewscript.rb +18 -0
  14. data/code/ek0shellscripts/en0createnewscript.rb +18 -0
  15. data/code/gh9calendar/gh9calendar.rb +16 -0
  16. data/code/ii3calculator/ca2multiply.rb +5 -0
  17. data/code/ii3calculator/ca4add.rb +5 -0
  18. data/code/lm1installapplets/ll5listzips.rb +14 -0
  19. data/code/lm1installapplets/lm1installapplet.rb +20 -0
  20. data/code/ssdiagnostictab/diagnostictab.rb +20 -0
  21. data/code/xa5rwdtinkercallable/callable.rb +13 -0
  22. data/code/xb1rwdtinkerbackwindow/05listinstalledfiles.rb +11 -0
  23. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +20 -0
  24. data/code/xb1rwdtinkerbackwindow/ll1openname.rb +18 -0
  25. data/code/xb1rwdtinkerbackwindow/ll5listzips.rb +14 -0
  26. data/code/xb1rwdtinkerbackwindow/lm1installapplet.rb +20 -0
  27. data/code/xb1rwdtinkerbackwindow/mm1removeapplet.rb +28 -0
  28. data/code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb +14 -0
  29. data/code/zz0applicationend/zz0end.rb +4 -0
  30. data/configuration/aa0rwdframework.cnf +11 -0
  31. data/configuration/ab1tinkerwin2.cnf +3 -0
  32. data/configuration/ek0playscripts.cnf +2 -0
  33. data/configuration/gh1rwdcalendar.cnf +26 -0
  34. data/ev/browser.rb +109 -0
  35. data/ev/ftools.rb +170 -0
  36. data/ev/net.rb +750 -0
  37. data/ev/ruby.rb +819 -0
  38. data/ev/rwd.rb +1848 -0
  39. data/ev/sgml.rb +236 -0
  40. data/ev/thread.rb +63 -0
  41. data/ev/tree.rb +343 -0
  42. data/ev/xml.rb +4 -0
  43. data/extras/cal.rb +166 -0
  44. data/gui/en/aa2core/aa0rwdtop.rwd +3 -0
  45. data/gui/en/cb7rubyeval/cb7rwdrubyeval.rwd +18 -0
  46. data/gui/en/dd0rwdshelleval/dd0rwdshelleval.rwd +16 -0
  47. data/gui/en/ek0shellscripts/ek0playscript.rwd +15 -0
  48. data/gui/en/ek0shellscripts/el0listscripts.rwd +25 -0
  49. data/gui/en/ek0shellscripts/en0createscripts.rwd +24 -0
  50. data/gui/en/hl9calendar/hl9calendar.rwd +18 -0
  51. data/gui/en/ii3calculator/ca0rwdcalc.rwd +17 -0
  52. data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  53. data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  54. data/gui/en/lz1selectiontabend/endselectiontab.rwd +1 -0
  55. data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  56. data/gui/en/ub7rubyeval/rubyeval.rwd +3 -0
  57. data/gui/en/uk5rwddemodocuments/documents.rwd +3 -0
  58. data/gui/en/uu5rwddocuments/uu5documents.rwd +13 -0
  59. data/gui/en/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  60. data/gui/en/vv1docshellxp/vvdocshellxp.rwd +4 -0
  61. data/gui/en/ww0documentsend/ww0documentend.rwd +6 -0
  62. data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  63. data/gui/en/xa1versionwindow/1appname.rwd +17 -0
  64. data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  65. data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  66. data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  67. data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  68. data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  69. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  70. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  71. data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  72. data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  73. data/gui/en/yg5rwdhelpabout/1appname.rwd +2 -0
  74. data/gui/en/yg5rwdhelpabout/3copyright.rwd +1 -0
  75. data/gui/en/yg5rwdhelpabout/5version.rwd +9 -0
  76. data/gui/en/yg6rwdwin2helpabout/1appname.rwd +2 -0
  77. data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  78. data/gui/en/yg6rwdwin2helpabout/5version.rwd +9 -0
  79. data/gui/en/za1applicationend/yy9rwdend.rwd +2 -0
  80. data/gui/es/aa2core/aa0rwdtop.rwd +3 -0
  81. data/gui/es/cb7rubyeval/cb7rwdrubyeval.rwd +18 -0
  82. data/gui/es/dd0rwdshelleval/dd0rwdshelleval.rwd +16 -0
  83. data/gui/es/ek0shellscripts/ek0playscript.rwd +15 -0
  84. data/gui/es/ek0shellscripts/el0listscripts.rwd +25 -0
  85. data/gui/es/ek0shellscripts/en0createscripts.rwd +24 -0
  86. data/gui/es/hl9calendar/hl9calendar.rwd +18 -0
  87. data/gui/es/ii3calculator/ca0rwdcalc.rwd +17 -0
  88. data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  89. data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  90. data/gui/es/lz1selectiontabend/endselectiontab.rwd +1 -0
  91. data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  92. data/gui/es/ub7rubyeval/rubyeval.rwd +3 -0
  93. data/gui/es/uk5playscripts/uv6docscriptrunner.rwd +3 -0
  94. data/gui/es/uu5rwddocuments/uu5documents.rwd +13 -0
  95. data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  96. data/gui/es/vv1docshellxp/vvdocshellxp.rwd +4 -0
  97. data/gui/es/ww0documentsend/ww0documentend.rwd +6 -0
  98. data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  99. data/gui/es/xa1versionwindow/1appname.rwd +17 -0
  100. data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  101. data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  102. data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  103. data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  104. data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  105. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  106. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  107. data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  108. data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  109. data/gui/es/yg5rwdhelpabout/1appname.rwd +2 -0
  110. data/gui/es/yg5rwdhelpabout/3copyright.rwd +1 -0
  111. data/gui/es/yg5rwdhelpabout/5version.rwd +9 -0
  112. data/gui/es/yg6rwdwin2helpabout/1appname.rwd +2 -0
  113. data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  114. data/gui/es/yg6rwdwin2helpabout/5version.rwd +9 -0
  115. data/gui/es/za1applicationend/yy9rwdend.rwd +2 -0
  116. data/gui/nl/aa2core/aa0rwdtop.rwd +3 -0
  117. data/gui/nl/cb7rubyeval/cb7rwdrubyeval.rwd +18 -0
  118. data/gui/nl/dd0rwdshelleval/dd0rwdshelleval.rwd +16 -0
  119. data/gui/nl/ek0shellscripts/ek0playscript.rwd +15 -0
  120. data/gui/nl/ek0shellscripts/el0listscripts.rwd +25 -0
  121. data/gui/nl/ek0shellscripts/en0createscripts.rwd +24 -0
  122. data/gui/nl/hl9calendar/hl9calendar.rwd +18 -0
  123. data/gui/nl/ii3calculator/ca0rwdcalc.rwd +17 -0
  124. data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  125. data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  126. data/gui/nl/lz1selectiontabend/endselectiontab.rwd +1 -0
  127. data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  128. data/gui/nl/ub7rubyeval/rubyeval.rwd +3 -0
  129. data/gui/nl/uk5playscripts/uv6docscriptrunner.rwd +3 -0
  130. data/gui/nl/uu5rwddocuments/uu5documents.rwd +13 -0
  131. data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  132. data/gui/nl/vv1docshellxp/vvdocshellxp.rwd +4 -0
  133. data/gui/nl/ww0documentsend/ww0documentend.rwd +6 -0
  134. data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  135. data/gui/nl/xa1versionwindow/1appname.rwd +17 -0
  136. data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  137. data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  138. data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  139. data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  140. data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  141. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  142. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  143. data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  144. data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  145. data/gui/nl/yg5rwdhelpabout/1appname.rwd +2 -0
  146. data/gui/nl/yg5rwdhelpabout/3copyright.rwd +1 -0
  147. data/gui/nl/yg5rwdhelpabout/5version.rwd +9 -0
  148. data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +2 -0
  149. data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  150. data/gui/nl/yg6rwdwin2helpabout/5version.rwd +9 -0
  151. data/gui/nl/za1applicationend/yy9rwdend.rwd +2 -0
  152. data/init.rb +164 -0
  153. data/installed/rwdrubyeval-0.3.inf +5 -0
  154. data/installed/rwdscriptrunner-0.3.inf +9 -0
  155. data/installed/rwdshellxp-0.4.inf +5 -0
  156. data/installed/rwdtinkerwin2-0.5.inf +16 -0
  157. data/lang/en/rwdcore/languagefile.rb +6 -0
  158. data/lang/es/rwdcore/languagefile.rb +4 -0
  159. data/lang/nl/rwdcore/languagefile.rb +4 -0
  160. data/lib/temp.rb +1 -0
  161. data/rwd_files/HowTo_RubyEval.html +80 -0
  162. data/rwd_files/HowTo_RwdDemo.txt +172 -0
  163. data/rwd_files/HowTo_Tinker.html +370 -0
  164. data/rwd_files/HowTo_Tinker.txt +244 -0
  165. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  166. data/rwd_files/HowTo_shellxp.html +105 -0
  167. data/rwd_files/Readme.txt +57 -0
  168. data/rwd_files/favicon.ico +0 -0
  169. data/rwd_files/rdoc-style.css +175 -0
  170. data/rwd_files/rwdapplications.html +54 -0
  171. data/rwd_files/rwdindex.html +6 -0
  172. data/scripts/date.sh +2 -0
  173. data/scripts/lister.sh +2 -0
  174. data/scripts/uname.sh +2 -0
  175. data/tests/rwdtinkertestEN.rb +87 -0
  176. data/tests/temptest.out +18 -0
  177. data/tests/totranslate.lang +93 -0
  178. data/zips/rwdaviewphoto-0.3.zip +0 -0
  179. data/zips/rwdhelloworld-0.2.zip +0 -0
  180. data/zips/rwdrefreshacpi-0.1.zip +0 -0
  181. data/zips/rwdscriptrunner-0.3.zip +0 -0
  182. data/zips/rwdwtinkerwin2-0.5.zip +0 -0
  183. metadata +224 -0
@@ -0,0 +1,57 @@
1
+ rwdapplications are web brower applications
2
+
3
+ The GUI interface used is RubyWebDialogs
4
+
5
+ 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/
6
+
7
+
8
+ Start the program by:
9
+ changing to the directory and
10
+ ruby init.rb
11
+
12
+ Then point your web browser to:
13
+ http://localhost:7701/
14
+
15
+ Or to the port that shows on the console or in the config.cnf file
16
+
17
+ Requirements:
18
+ RubyWebDialogs - I am using 0.0.11 2004-3-9
19
+ This package you downloaded should have a runtime version of
20
+ the needed rubywebdialog files
21
+
22
+ Ruby I am using version 1.8.2
23
+
24
+ I have tested this under Linux-Debian kernel 2.6.9
25
+
26
+ Operation:
27
+ The code files reside in the code directory and are combined before
28
+ the main Class is loaded
29
+
30
+ The rwd files in gui are combined before the gui is activated
31
+
32
+ Trouble shooting:
33
+
34
+ untar the file
35
+ tar zxvf rwdapplication-x.y.tar.gz
36
+ then cd to the directory
37
+ cd rwdapplication-x.y
38
+ then start the init.rb program file
39
+ ruby init.rb
40
+
41
+
42
+ If the program is not working, try looking at the ev subdirectory. That is where
43
+ the runtime of rubywebdialogs are.
44
+
45
+ for long term installation, I would suggest putting most files in a lib directory
46
+ like /usr/lib/rwdshell
47
+ then make a writable directory the local directory for command files to be written
48
+ like ~/rwdshell
49
+
50
+
51
+ 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.
52
+
53
+ Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
54
+
55
+ Steven Gibson
56
+ stevengibson@superant.com
57
+ http://rwdapplications.rubyforge.org/
Binary file
@@ -0,0 +1,175 @@
1
+
2
+ body {
3
+ margin: 0;
4
+ padding: 0;
5
+ background: white;
6
+ }
7
+
8
+ h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
9
+ h1 { font-size: 120%; }
10
+ h2,h3,h4 { margin-top: 1em; }
11
+
12
+ a { background: #eef; color: #039; text-decoration: none; }
13
+ a:hover { background: #039; color: #eef; }
14
+
15
+ /* Override the base stylesheet's Anchor inside a table cell */
16
+ td > a {
17
+ background: transparent;
18
+ color: #039;
19
+ text-decoration: none;
20
+ }
21
+
22
+ /* === Structural elements =================================== */
23
+
24
+ div#index {
25
+ margin: 0;
26
+ padding: 0;
27
+ font-size: 0.9em;
28
+ }
29
+
30
+ div#index a {
31
+ margin-left: 0.7em;
32
+ }
33
+
34
+ div#classHeader {
35
+ width: auto;
36
+ background: #039;
37
+ color: white;
38
+ padding: 0.5em 1.5em 0.5em 1.5em;
39
+ margin: 0;
40
+ border-bottom: 3px solid #006;
41
+ }
42
+
43
+ div#classHeader a {
44
+ background: inherit;
45
+ color: white;
46
+ }
47
+
48
+ div#classHeader td {
49
+ background: inherit;
50
+ color: white;
51
+ }
52
+
53
+ div#fileHeader {
54
+ width: auto;
55
+ background: #039;
56
+ color: white;
57
+ padding: 0.5em 1.5em 0.5em 1.5em;
58
+ margin: 0;
59
+ border-bottom: 3px solid #006;
60
+ }
61
+
62
+ div#fileHeader a {
63
+ background: inherit;
64
+ color: white;
65
+ }
66
+
67
+ div#fileHeader td {
68
+ background: inherit;
69
+ color: white;
70
+ }
71
+
72
+ div#bodyContent {
73
+ padding: 0 1.5em 0 1.5em;
74
+ }
75
+
76
+ div#description {
77
+ padding: 0.5em 1.5em;
78
+ background: #efefef;
79
+ border: 1px dotted #999;
80
+ }
81
+
82
+ div#description h1,h2,h3,h4,h5,h6 {
83
+ color: black;
84
+ background: transparent;
85
+ }
86
+
87
+ div#validator-badges {
88
+ text-align: center;
89
+ }
90
+ div#validator-badges img { border: 0; }
91
+
92
+ div#copyright {
93
+ color: #333;
94
+ background: #efefef;
95
+ font: 0.75em sans-serif;
96
+ margin-top: 5em;
97
+ margin-bottom: 0;
98
+ padding: 0.5em 2em;
99
+ }
100
+
101
+
102
+ /* === Classes =================================== */
103
+
104
+ table.header-table {
105
+ color: white;
106
+ font-size: small;
107
+ }
108
+
109
+ .type-note {
110
+ font-size: small;
111
+ color: #DEDEDE;
112
+ }
113
+
114
+ .section-bar {
115
+ background: #eee;
116
+ color: #333;
117
+ padding: 3px;
118
+ border: 1px solid #999;
119
+ }
120
+
121
+ .top-aligned-row { vertical-align: vertical-align: top }
122
+
123
+ /* --- Context section classes ----------------------- */
124
+
125
+ .context-row { }
126
+ .context-item-name { font-family: monospace; font-weight: bold; color: black; }
127
+ .context-item-value { font-size: x-small; color: #448; }
128
+ .context-item-desc { background: #efefef; }
129
+
130
+ /* --- Method classes -------------------------- */
131
+ .method-detail {
132
+ background: #EFEFEF;
133
+ padding: 0;
134
+ margin-top: 0.5em;
135
+ margin-bottom: 0.5em;
136
+ border: 1px dotted #DDD;
137
+ }
138
+ .method-heading {
139
+ color: black;
140
+ background: #AAA;
141
+ border-bottom: 1px solid #666;
142
+ padding: 0.2em 0.5em 0 0.5em;
143
+ }
144
+ .method-signature { color: black; background: inherit; }
145
+ .method-name { font-weight: bold; }
146
+ .method-args { font-style: italic; }
147
+ .method-description { padding: 0 0.5em 0 0.5em; }
148
+
149
+ /* --- Source code sections -------------------- */
150
+
151
+ a.source-toggle { font-size: 90%; }
152
+ div.method-source-code {
153
+ background: #262626;
154
+ color: #ffdead;
155
+ margin: 1em;
156
+ padding: 0.5em;
157
+ border: 1px dashed #999;
158
+ overflow: hidden;
159
+ }
160
+
161
+ div.method-source-code pre { color: #ffdead; overflow: hidden; }
162
+
163
+ /* --- Ruby keyword styles --------------------- */
164
+
165
+ .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
166
+
167
+ .ruby-constant { color: #7fffd4; background: transparent; }
168
+ .ruby-keyword { color: #00ffff; background: transparent; }
169
+ .ruby-ivar { color: #eedd82; background: transparent; }
170
+ .ruby-operator { color: #00ffee; background: transparent; }
171
+ .ruby-identifier { color: #ffdead; background: transparent; }
172
+ .ruby-node { color: #ffa07a; background: transparent; }
173
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
174
+ .ruby-regexp { color: #ffa07a; background: transparent; }
175
+ .ruby-value { color: #7fffd4; background: transparent; }
@@ -0,0 +1,54 @@
1
+ <html>
2
+ <head>
3
+ <title>
4
+ rwdapplications information
5
+ </title>
6
+ </head>
7
+ <body>
8
+ <h1>
9
+ rwdapplications information (rwdshell)
10
+ </h1>
11
+ <br>
12
+ <h2>
13
+
14
+ Some additional programs in this series
15
+ </h2>
16
+ <h3>
17
+ <br><blockquote>
18
+ rwdaddresses a little address book
19
+ <br><br>
20
+ rwdmovies a database for tracking your dvds and vhs movie collection
21
+ <br><br>
22
+
23
+ you can find these on rubyforge.org
24
+
25
+ </blockquote>
26
+ <br>
27
+
28
+ <br><blockquote>
29
+ Also look for a program called redpimp on rubyforge.org
30
+
31
+ <br><br>
32
+ It is planned to be a pim using RubyWebDialogs
33
+ <br><br>
34
+
35
+ you can find this at http://redpimp.rubyforge.org
36
+
37
+ </blockquote>
38
+ <br>
39
+
40
+
41
+ <br><br>
42
+ For more information see:<br>
43
+ <a href=http://rwdapplications.rubyforge.org/wiki/wiki.pl>http://rwdapplications.rubyforge.org/wiki/wiki.pl</a>
44
+ <br>
45
+ <br>
46
+ For more information about RubyWebDialogs see:<br>
47
+ <a href=http://www.erikveen.dds.nl/rubywebdialogs/index.html>http://www.erikveen.dds.nl/rubywebdialogs/index.html</a>
48
+ <br><br>
49
+ Thanks, Steven Gibson
50
+
51
+
52
+
53
+ </body>
54
+ </html>
@@ -0,0 +1,6 @@
1
+ <HTML>
2
+ <META http-equiv="refresh" content="0; url=http://www.erikveen.dds.nl/rubywebdialogs/index.html">
3
+ <SCRIPT language="javascript1.0">
4
+ location.href="http://www.erikveen.dds.nl/rubywebdialogs/index.html";
5
+ </SCRIPT>
6
+ </HTML>
@@ -0,0 +1,2 @@
1
+ date -R
2
+ #just show the date
@@ -0,0 +1,2 @@
1
+ ls -l
2
+ #another test
@@ -0,0 +1,2 @@
1
+ uname -a ; echo " " ; echo "hello"
2
+ # this just shows the computer info
@@ -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
@@ -0,0 +1,93 @@
1
+ code/ag1core/rwdtinkercore.rb: @result = "idle"
2
+ code/ag1core/rwdtinkercore.rb: @display= "idle"
3
+ code/ag1core/rwdtinkercore.rb: "Rwdtinker Application "
4
+ code/ll0listapplets/ll1openname.rb: @displaytext = "\n" + "error"
5
+ code/ll0listapplets/mm1removeapplet.rb: fileName = "installed/" + nametext + ".inf"
6
+ code/ll0listapplets/mm1removeapplet.rb: @removeapplettext = "applet files removed! - restart rwd to finish uninstalling"
7
+ code/ll0listapplets/mm1removeapplet.rb: @removeapplettext = "\n" + "error"
8
+ code/lm1installapplets/lm1installapplet.rb: @installapplettext = "Done! - Check applet list - restart rwd to activate the new applet"
9
+ code/bb2viewphoto/dd0viewphoto.rb: @rwd_window = "photo"
10
+ gui/en/aa2core/aa0rwdtop.rwd: <window name="main" title="Tinker - RubyWebDialogs">
11
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <tab name="filelister" caption="List Applets">
12
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">View the list of installation files </row>
13
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="List Files" action="listinstalledfiles"/>
14
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
15
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">File Name:</p> <text name="a_installlist"/> </row>
16
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="View Install Text" action="openname"/>
17
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
18
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">File Name:</p> <text name="a_removeapplet"/> </row>
19
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="remove applet" action="removeapplet"/>
20
+ gui/en/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
21
+ gui/en/yg5rwdhelp/yg0helpscreen.rwd: <row> <p align="center">copyright s. gibson 2004</p></row>
22
+ gui/en/yg5rwdhelp/yf6rwdtinker.rwd: <row> <p align="center">version 1.1</p></row>
23
+ gui/en/yg5rwdhelp/yf0helpscreen.rwd: <row> <p align="center">rwdtinker</p></row>
24
+ gui/en/ya1helpbegin/ya0helpscreenstart.rwd:<helpwindow name="main" title="Help About">
25
+ gui/en/ww0documentsend/ww0documentend.rwd: <row> <p align="left"><a href=.>Spawn a clone Dialog window</a></p></row>
26
+ gui/en/tt0documentsbegin/tt0documentbegin.rwd: <tab name="one" caption="Documents">
27
+ gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd: <tab name="zipslister" caption="List Zips">
28
+ gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd: <row> <p align="right">File Name:</p> <text name="a_installapplet"/> </row>
29
+ gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="install applet" action="installapplet"/>
30
+ gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="Cancel" action="main"/>
31
+ gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd: <row> <p align="right">Click below to view the list of zip files </row>
32
+ gui/en/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="List applets available for installing" action="listzipfilestoinstall"/>
33
+ gui/en/bbviewphoto/cc0openphoto.rwd: <tab name="View frames" caption="Tinker">
34
+ gui/en/bbviewphoto/cc0openphoto.rwd: <row> <p align="right">Tinker </row>
35
+ gui/en/bbviewphoto/cc0openphoto.rwd: <button caption="View Photo" action="viewphoto"/>
36
+ gui/en/xx7viewphoto/xx9photoview.rwd:<window name="photo" title="Frames">
37
+ gui/en/xx7viewphoto/xx9photoview.rwd:<image src="tinker.png"> frames </image>
38
+ gui/es/aa2core/aa0rwdtop.rwd: <window name="main" title="Tinker - RubyWebDialogs">
39
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <tab name="filelister" caption="List Applets">
40
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">View the list of installation files </row>
41
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="List Files" action="listinstalledfiles"/>
42
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
43
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">File Name:</p> <text name="a_installlist"/> </row>
44
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="View Install Text" action="openname"/>
45
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
46
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">File Name:</p> <text name="a_removeapplet"/> </row>
47
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="remove applet" action="removeapplet"/>
48
+ gui/es/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
49
+ gui/es/yg5rwdhelp/yg0helpscreen.rwd: <row> <p align="center">copyright s. gibson 2004</p></row>
50
+ gui/es/yg5rwdhelp/yf6rwdtinker.rwd: <row> <p align="center">version 1.1</p></row>
51
+ gui/es/yg5rwdhelp/yf0helpscreen.rwd: <row> <p align="center">rwdtinker</p></row>
52
+ gui/es/ya1helpbegin/ya0helpscreenstart.rwd:<helpwindow name="main" title="Help About">
53
+ gui/es/ww0documentsend/ww0documentend.rwd: <row> <p align="left"><a href=.>Spawn a clone Dialog window</a></p></row>
54
+ gui/es/tt0documentsbegin/tt0documentbegin.rwd: <tab name="one" caption="Documents">
55
+ gui/es/ll9rwdlistzips/ll5rwdlistzips.rwd: <tab name="zipslister" caption="List Zips">
56
+ gui/es/ll9rwdlistzips/ll5rwdlistzips.rwd: <row> <p align="right">File Name:</p> <text name="a_installapplet"/> </row>
57
+ gui/es/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="install applet" action="installapplet"/>
58
+ gui/es/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="Cancel" action="main"/>
59
+ gui/es/ll9rwdlistzips/ll5rwdlistzips.rwd: <row> <p align="right">Click below to view the list of zip files </row>
60
+ gui/es/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="List applets available for installing" action="listzipfilestoinstall"/>
61
+ gui/es/bbviewphoto/cc0openphoto.rwd: <tab name="View frames" caption="Tinker">
62
+ gui/es/bbviewphoto/cc0openphoto.rwd: <row> <p align="right">Tinker </row>
63
+ gui/es/bbviewphoto/cc0openphoto.rwd: <button caption="View Photo" action="viewphoto"/>
64
+ gui/es/xx7viewphoto/xx9photoview.rwd:<window name="photo" title="Frames">
65
+ gui/es/xx7viewphoto/xx9photoview.rwd:<image src="tinker.png"> frames </image>
66
+ gui/nl/aa2core/aa0rwdtop.rwd: <window name="main" title="Tinker - RubyWebDialogs">
67
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <tab name="filelister" caption="List Applets">
68
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">View the list of installation files </row>
69
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="List Files" action="listinstalledfiles"/>
70
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
71
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">File Name:</p> <text name="a_installlist"/> </row>
72
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="View Install Text" action="openname"/>
73
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
74
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <row> <p align="right">File Name:</p> <text name="a_removeapplet"/> </row>
75
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="remove applet" action="removeapplet"/>
76
+ gui/nl/ll5listapplets/ll0rwdlistapplets.rwd: <button caption="Cancel" action="main"/>
77
+ gui/nl/yg5rwdhelp/yg0helpscreen.rwd: <row> <p align="center">copyright s. gibson 2004</p></row>
78
+ gui/nl/yg5rwdhelp/yf6rwdtinker.rwd: <row> <p align="center">version 1.1</p></row>
79
+ gui/nl/yg5rwdhelp/yf0helpscreen.rwd: <row> <p align="center">rwdtinker</p></row>
80
+ gui/nl/ya1helpbegin/ya0helpscreenstart.rwd:<helpwindow name="main" title="Help About">
81
+ gui/nl/ww0documentsend/ww0documentend.rwd: <row> <p align="left"><a href=.>Spawn a clone Dialog window</a></p></row>
82
+ gui/nl/tt0documentsbegin/tt0documentbegin.rwd: <tab name="one" caption="Documents">
83
+ gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd: <tab name="zipslister" caption="List Zips">
84
+ gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd: <row> <p align="right">File Name:</p> <text name="a_installapplet"/> </row>
85
+ gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="install applet" action="installapplet"/>
86
+ gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="Cancel" action="main"/>
87
+ gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd: <row> <p align="right">Click below to view the list of zip files </row>
88
+ gui/nl/ll9rwdlistzips/ll5rwdlistzips.rwd: <button caption="List applets available for installing" action="listzipfilestoinstall"/>
89
+ gui/nl/bbviewphoto/cc0openphoto.rwd: <tab name="View frames" caption="Tinker">
90
+ gui/nl/bbviewphoto/cc0openphoto.rwd: <row> <p align="right">Tinker </row>
91
+ gui/nl/bbviewphoto/cc0openphoto.rwd: <button caption="View Photo" action="viewphoto"/>
92
+ gui/nl/xx7viewphoto/xx9photoview.rwd:<window name="photo" title="Frames">
93
+ gui/nl/xx7viewphoto/xx9photoview.rwd:<image src="tinker.png"> frames </image>