rwdshell 0.95 → 0.96

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/Readme.txt +5 -1
  2. data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +25 -26
  3. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +25 -4
  4. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +1 -0
  5. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +6 -7
  6. data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +19 -0
  7. data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
  8. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +2 -2
  9. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +22 -7
  10. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +3 -0
  11. data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
  12. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +1 -1
  13. data/configuration/rwdshellversion.cnf +1 -1
  14. data/configuration/rwdtinker.cnf +0 -3
  15. data/configuration/rwdtinkerversion.cnf +1 -1
  16. data/configuration/tinkerwin2variables.cnf +5 -1
  17. data/extras/cmdline_parse +47 -0
  18. data/extras/config_file +69 -0
  19. data/extras/errorMsg +19 -0
  20. data/extras/makePlaylist +34 -0
  21. data/extras/mp3controld +289 -0
  22. data/extras/playlist +186 -0
  23. data/extras/showHelp +18 -0
  24. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  25. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +9 -10
  26. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
  27. data/init.rb +22 -35
  28. data/installed/rwdtinkerwin2-0.5.inf +8 -0
  29. data/installed/rwdviewlogo-0.4.inf +4 -0
  30. data/rwd_files/HowTo_Shell.txt +5 -1
  31. data/rwd_files/HowTo_Tinker.txt +17 -1
  32. data/tests/rwdtinkertestEN.rb +163 -0
  33. data/tests/test.result +32 -0
  34. metadata +20 -14
  35. data/gui/frontwindowtdocuments/superant.com.shelldocument/vvdocshellxp.rwd +0 -5
  36. data/lang/alanguagehashbegin.rb +0 -4
  37. data/lang/languagehash.rb +0 -4
  38. data/lang/templangfile.rb +0 -16
  39. data/lang/vlanguagehashend.rb +0 -6
  40. data/lang/wlocallangstart.rb +0 -5
  41. data/lang/xlocallangfile.rb +0 -16
  42. data/lang/zlocallangend.rb +0 -2
  43. data/zips/rwdwcalc-0.50.zip +0 -0
@@ -0,0 +1,8 @@
1
+ # rwdwin2 - rwd applet in second window - core for Tinker: Applet adding/removing and Diagnostic tab
2
+ configuration/ab1tinkerwin2.cnf
3
+ code/xb1rwdtinkerbackwindow
4
+ gui/ll5rwdtinkerwin2selectiontab
5
+ gui/xb1rwdtinkerbackwindow
6
+ gui/uu6rwdtinkerwin2documents
7
+ gui/yg6rwdwin2helpabout
8
+ rwd_files/HowTo_TinkerWin2.txt
@@ -0,0 +1,4 @@
1
+ # rwdviewlogo - small applet to display one picture
2
+ code/dd0viewphoto
3
+ gui/cc0viewphoto
4
+ rwd_files/tinker.png
@@ -193,13 +193,17 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
193
193
  Thanks, Steven Gibson
194
194
 
195
195
  == Changelog
196
+ version 0.96
197
+ updated for rwdtinker 1.56
198
+ first debian version
199
+
196
200
  version 0.95
197
201
  added ruby script running
198
202
  add back window for more control tabs
199
203
  beginning of context sensitive help
200
204
  wider text boxes for configuration information
201
205
  updated for rwdtinker 1.51 - finds available port and remote control
202
- updated for rwdtinker 1.52 - cam install applets from Gems
206
+ updated for rwdtinker 1.52 - can install applets from Gems
203
207
 
204
208
  version 0.94
205
209
  updated for rwdtinker 1.44 - refactor gui directory structure
@@ -226,7 +226,23 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
226
226
 
227
227
  Thanks, Steven Gibson
228
228
 
229
- == Changelog
229
+ == Changelog
230
+ version 1.56
231
+ refactored gui files to load without intermediate files
232
+ refactored code files to load without intermediate files
233
+
234
+ version 1.55
235
+ refactored language files to load without intermediate files
236
+ refactored language files to load without intermediate files
237
+
238
+ version 1.54
239
+ refactored rwdtinker applet installation tab - remote gem and local installs share menu buttons
240
+ corrected some program logic errors in remote control code including close socket
241
+
242
+ version 1.53
243
+ added search of Gems repository for rwdtinker gems
244
+ download and install of Gems
245
+
230
246
  version 1.52
231
247
  added function to install applets from gem directory
232
248
 
@@ -0,0 +1,163 @@
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
+
41
+ $ie.goto(testSite)
42
+ puts ' Action: entered ' + testSite + 'in the address bar.'
43
+ sleep 1
44
+
45
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_help";document.bodyform.submit();').click
46
+
47
+ $ie.button(:caption, 'Click for Version').click
48
+
49
+ $ie.button(:caption, 'Cancel').click
50
+
51
+
52
+
53
+ sleep 1
54
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_selectiontab";document.bodyform.submit();').click
55
+
56
+
57
+
58
+ $ie.button(:caption, 'RwdTinker Help Window').click
59
+ puts ' Action: clicked the Help Window link'
60
+
61
+ end
62
+
63
+ def test_b_Buttons1
64
+
65
+
66
+ sleep 1
67
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_nexttab";document.bodyform.submit();').click
68
+ puts ' Action: clicked the nexttab link'
69
+
70
+
71
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_main";document.bodyform.submit();').click
72
+ puts ' Action: clicked the main tab link'
73
+
74
+
75
+ $ie.button(:caption, "Cancel").click
76
+ puts ' Action: clicked the cancel button'
77
+
78
+
79
+
80
+ end
81
+
82
+ def test_c_tabs
83
+
84
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_one";document.bodyform.submit();').click
85
+ puts ' Action: clicked tab one'
86
+
87
+
88
+ end
89
+
90
+ def test_d_tabs
91
+
92
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_selectiontab";document.bodyform.submit();').click
93
+ puts ' Action: clicked the selectiontab'
94
+
95
+
96
+ $ie.button(:caption, 'RwdTinker Back Window').click
97
+ puts ' Action: clicked the Help Window link'
98
+
99
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_backone";document.bodyform.submit();').click
100
+ puts ' Action: clicked the backone tab'
101
+
102
+
103
+ assert($ie.pageContainsText("previous window") )
104
+
105
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_diagnostictab";document.bodyform.submit();').click
106
+ puts ' Action: clicked the diagnostictab top link'
107
+
108
+
109
+ $ie.button(:caption, "View Ruby Version").click
110
+ puts ' Action: clicked Ruby Version button.'
111
+
112
+ assert($ie.pageContainsText("Version") )
113
+
114
+ $ie.button(:caption, "view platform").click
115
+ puts ' Action: clicked platform button.'
116
+
117
+ assert($ie.pageContainsText("Platform is") )
118
+
119
+ $ie.button(:caption, "View rwdtinker Version").click
120
+ puts ' Action: clicked rwdtinker version button.'
121
+
122
+ assert($ie.pageContainsText("rwdtinker version") )
123
+
124
+ end # end of test_d
125
+
126
+ def test_e_tabs
127
+
128
+
129
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_filelister";document.bodyform.submit();').click
130
+
131
+
132
+ assert($ie.pageContainsText("View the list") )
133
+
134
+ $ie.button(:caption, "List Files").click
135
+ puts ' Action: clicked the list files button.'
136
+
137
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="fillappletname/rwdviewlogo-0.4.inf";document.bodyform.submit();').click
138
+
139
+
140
+ $ie.button(:caption, "View Install Text").click
141
+ puts ' Action: clicked the View Install Text button.'
142
+
143
+ assert($ie.pageContainsText("rwdviewlogo") )
144
+
145
+
146
+ end
147
+
148
+ def test_f_tabs
149
+
150
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_zipslister";document.bodyform.submit();').click
151
+
152
+ assert($ie.pageContainsText("File Name") )
153
+
154
+ assert($ie.pageContainsText("view the list of zip files") )
155
+
156
+ $ie.button(:caption, "List applets available for installing").click
157
+ puts ' Action: clicked the List applets available for installing button.'
158
+
159
+ $ie.link(:url, 'javascript:document.bodyform.rwd_action.value="fillziptoinstallname/rwdhelloworld-0.3.zip";document.bodyform.submit();').click
160
+
161
+ end
162
+
163
+ end #end of class TC_google_suite
data/tests/test.result ADDED
@@ -0,0 +1,32 @@
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 Help Window link
7
+ Action: clicked the nexttab link
8
+ Action: clicked the main tab link
9
+ Action: clicked the cancel button
10
+ Action: clicked tab one
11
+ Action: clicked the selectiontab
12
+ Action: clicked the Help Window link
13
+ Action: clicked the backone tab
14
+ pageContainsText: Looking for: previous window (string) - found it ok
15
+ Action: clicked the diagnostictab top link
16
+ Action: clicked Ruby Version button.
17
+ pageContainsText: Looking for: Version (string) - found it ok
18
+ Action: clicked platform button.
19
+ pageContainsText: Looking for: Platform is (string) - found it ok
20
+ Action: clicked rwdtinker version button.
21
+ pageContainsText: Looking for: rwdtinker version (string) - found it ok
22
+ pageContainsText: Looking for: View the list (string) - found it ok
23
+ Action: clicked the list files button.
24
+ Action: clicked the View Install Text button.
25
+ pageContainsText: Looking for: rwdviewlogo (string) - found it ok
26
+ pageContainsText: Looking for: File Name (string) - found it ok
27
+ pageContainsText: Looking for: view the list of zip files (string) - found it ok
28
+ Action: clicked the List applets available for installing button.
29
+
30
+ Finished in 32.716 seconds.
31
+
32
+ 6 tests, 8 assertions, 0 failures, 0 errors
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.4
2
+ rubygems_version: 0.8.6
3
3
  specification_version: 1
4
4
  name: rwdshell
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.95"
7
- date: 2005-02-11
6
+ version: "0.96"
7
+ date: 2005-02-28
8
8
  summary: rwdshell is a GUI front end for operating system commands with rwdtinker and RubyWebDialogs features.
9
9
  require_paths:
10
10
  - "."
@@ -42,7 +42,6 @@ files:
42
42
  - code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb
43
43
  - code/superant.com.rwdtinkerbackwindow/installapplet.rb
44
44
  - code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
45
- - code/superant.com.rwdtinkerbackwindow/listgemzips.rb
46
45
  - code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb
47
46
  - code/superant.com.rwdtinkerbackwindow/listzips.rb
48
47
  - code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
@@ -56,6 +55,10 @@ files:
56
55
  - code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
57
56
  - code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb
58
57
  - code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb
58
+ - code/superant.com.rwdtinkerbackwindow/listgemdirs.rb
59
+ - code/superant.com.rwdtinkerbackwindow/remotegemlist.rb
60
+ - code/superant.com.rwdtinkerbackwindow/installremotegem.rb
61
+ - code/superant.com.rwdtinkerbackwindow/listgemzips.rb
59
62
  - code/zz0applicationend/zz0end.rb
60
63
  - code/superant.com.rwdshell/changescriptname.rb
61
64
  - code/superant.com.rwdshell/clearscriptscreendisplay.rb
@@ -89,6 +92,14 @@ files:
89
92
  - configuration/playscripts.cnf
90
93
  - configuration/rwdshellversion.cnf
91
94
  - extras/zip
95
+ - extras/cmdline_parse
96
+ - extras/config_file
97
+ - extras/errorMsg
98
+ - extras/makePlaylist
99
+ - extras/mp3controld
100
+ - extras/playlist
101
+ - extras/plugins
102
+ - extras/showHelp
92
103
  - scripts/date.sh
93
104
  - scripts/echo2.sh
94
105
  - scripts/lister.sh
@@ -103,13 +114,6 @@ files:
103
114
  - ev/thread.rb
104
115
  - ev/tree.rb
105
116
  - ev/xml.rb
106
- - lang/alanguagehashbegin.rb
107
- - lang/languagehash.rb
108
- - lang/templangfile.rb
109
- - lang/vlanguagehashend.rb
110
- - lang/wlocallangstart.rb
111
- - lang/xlocallangfile.rb
112
- - lang/zlocallangend.rb
113
117
  - lang/en/rwdcore/languagefile.rb
114
118
  - lang/es/rwdcore/languagefile-es.rb
115
119
  - lang/jp/rwdcore/languagefile.rb
@@ -133,11 +137,9 @@ files:
133
137
  - gui/frontwindowtdocuments/superant.com.documents
134
138
  - gui/frontwindowtdocuments/superant.com.tinkerwin2documents
135
139
  - gui/frontwindowtdocuments/superant.com.rubyeval
136
- - gui/frontwindowtdocuments/superant.com.shelldocument
137
140
  - gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd
138
141
  - gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd
139
142
  - gui/frontwindowtdocuments/superant.com.rubyeval/rubyeval.rwd
140
- - gui/frontwindowtdocuments/superant.com.shelldocument/vvdocshellxp.rwd
141
143
  - gui/frontwindowtdocumentzend/superant.com.documentsend
142
144
  - gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd
143
145
  - gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd
@@ -169,6 +171,7 @@ files:
169
171
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd
170
172
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd
171
173
  - gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd
174
+ - gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd
172
175
  - gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd
173
176
  - gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd
174
177
  - gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd
@@ -181,6 +184,8 @@ files:
181
184
  - gui/tinkerbackwindows/superant.com.rwdshellbackwindow/94rwddiagnostics.rwd
182
185
  - gui/tinkerbackwindows/superant.com.rwdshellbackwindow/v9returntab.rwd
183
186
  - gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd
187
+ - installed/rwdtinkerwin2-0.5.inf
188
+ - installed/rwdviewlogo-0.4.inf
184
189
  - installed/rwdshell-0.95.inf
185
190
  - rwd_files/favicon.ico
186
191
  - rwd_files/HowTo_Tinker.txt
@@ -193,7 +198,8 @@ files:
193
198
  - rwd_files/HowTo_RubyEval.html
194
199
  - rwd_files/HowTo_Shell.txt
195
200
  - zips/rwdahelloworld-0.5.zip
196
- - zips/rwdwcalc-0.50.zip
201
+ - tests/rwdtinkertestEN.rb
202
+ - tests/test.result
197
203
  - tests/totranslate.lang
198
204
  - Readme.txt
199
205
  - init.rb
@@ -1,5 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <row> <p align=\"left\">
4
- <a href=HowTo_Shell.txt>Howto_Shell.txt</a></p></row>"
5
-
@@ -1,4 +0,0 @@
1
-
2
-
3
- Message = Hash.new { |hh, kk| hh[kk] = "ERROR: Identificador de mensaje desconocido: #{kk.inspect}."; hh[kk] }
4
- langmessage = {
data/lang/languagehash.rb DELETED
@@ -1,4 +0,0 @@
1
- # The encoding for the webpages. This should match the encoding used
2
- # to create these messages.
3
-
4
-
data/lang/templangfile.rb DELETED
@@ -1,16 +0,0 @@
1
- # English Language files for RwdTinker core
2
-
3
-
4
- :applet_installed => "applet installed!.",
5
- :clickfor_version => '"click for version"',
6
- :documents => '"Documents"',
7
- :help => '"Help"',
8
- :module_unknown => "Module unknown",
9
- :next => '"Next"',
10
- :rwdtinker_window_2 => "RwdTinker Window 2",
11
- :rwdtinker => "RwdTinker",
12
- :rwdtinker_help_window => '"RwdTinker Help Window"',
13
- :rwdtinker_back_window => '"RwdTinker Back Window"',
14
- :rwdtinker_help => '"RwdTinker Help"',
15
- :tinker_logo => "Tinker Logo",
16
- :selection_panel => '"Selection Panel"',
@@ -1,6 +0,0 @@
1
-
2
- }
3
- langmessage.each { |kk, vv| Message[kk] = vv }
4
-
5
-
6
-
@@ -1,5 +0,0 @@
1
-
2
- Message.update(
3
-
4
-
5
-
@@ -1,16 +0,0 @@
1
- # English Language files for RwdTinker core
2
-
3
-
4
- :applet_installed => "applet installed!.",
5
- :clickfor_version => '"click for version"',
6
- :documents => '"Documents"',
7
- :help => '"Help"',
8
- :module_unknown => "Module unknown",
9
- :next => '"Next"',
10
- :rwdtinker_window_2 => "RwdTinker Window 2",
11
- :rwdtinker => "RwdTinker",
12
- :rwdtinker_help_window => '"RwdTinker Help Window"',
13
- :rwdtinker_back_window => '"RwdTinker Back Window"',
14
- :rwdtinker_help => '"RwdTinker Help"',
15
- :tinker_logo => "Tinker Logo",
16
- :selection_panel => '"Selection Panel"',
@@ -1,2 +0,0 @@
1
- :rwdtinker => "RwdTinker"
2
- )
Binary file