rubyslippers 0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. data/Readme.txt +57 -0
  2. data/bin/rubyslippers +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/dd0viewphoto/dd0viewphoto.rb +4 -0
  10. data/code/ii6rubyslippers/gemserve.rb +25 -0
  11. data/code/ii6rubyslippers/ii3viewgemdata.rb +18 -0
  12. data/code/ii6rubyslippers/ii4listgemrecord.rb +12 -0
  13. data/code/ii6rubyslippers/ii6installgem.rb +17 -0
  14. data/code/ii6rubyslippers/ii7listgemsremote.rb +23 -0
  15. data/code/ii6rubyslippers/ii9gemcommands.rb +17 -0
  16. data/code/ii6rubyslippers/ii9gemenvironment.rb +17 -0
  17. data/code/ii6rubyslippers/ii9gemfilesinstalled.rb +20 -0
  18. data/code/ii6rubyslippers/ii9listgemdirs.rb +12 -0
  19. data/code/ii6rubyslippers/ij9execgemserve.rb +11 -0
  20. data/code/lm1installapplets/ll5listzips.rb +14 -0
  21. data/code/lm1installapplets/lm1installapplet.rb +20 -0
  22. data/code/ssdiagnostictab/diagnostictab.rb +20 -0
  23. data/code/xa5rwdtinkercallable/callable.rb +13 -0
  24. data/code/xb1rwdtinkerbackwindow/05listinstalledfiles.rb +11 -0
  25. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +20 -0
  26. data/code/xb1rwdtinkerbackwindow/ll1openname.rb +18 -0
  27. data/code/xb1rwdtinkerbackwindow/ll5listzips.rb +14 -0
  28. data/code/xb1rwdtinkerbackwindow/lm1installapplet.rb +20 -0
  29. data/code/xb1rwdtinkerbackwindow/mm1removeapplet.rb +28 -0
  30. data/code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb +14 -0
  31. data/code/zz0applicationend/zz0end.rb +4 -0
  32. data/configuration/aa0rwdframework.cnf +11 -0
  33. data/configuration/ab1tinkerwin2.cnf +3 -0
  34. data/configuration/ii3rubyslippers.cnf +7 -0
  35. data/ev/browser.rb +109 -0
  36. data/ev/ftools.rb +170 -0
  37. data/ev/net.rb +750 -0
  38. data/ev/ruby.rb +819 -0
  39. data/ev/rwd.rb +1848 -0
  40. data/ev/sgml.rb +236 -0
  41. data/ev/thread.rb +63 -0
  42. data/ev/tree.rb +343 -0
  43. data/ev/xml.rb +4 -0
  44. data/gui/en/aa2core/aa0rwdtop.rwd +3 -0
  45. data/gui/en/cc0viewphoto/cc0openphoto.rwd +17 -0
  46. data/gui/en/ii6rubyslippers/ii3viewgemdata.rwd +17 -0
  47. data/gui/en/ii6rubyslippers/ii4listgemrecordfiles.rwd +13 -0
  48. data/gui/en/ii6rubyslippers/ii6installgem.rwd +20 -0
  49. data/gui/en/ii6rubyslippers/ii7listgemsremote.rwd +13 -0
  50. data/gui/en/ii6rubyslippers/ii9gemcommands.rwd +23 -0
  51. data/gui/en/ii6rubyslippers/ij1gemfilesinstalled.rwd +23 -0
  52. data/gui/en/ii6rubyslippers/ij4gemserverscan.rwd +23 -0
  53. data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  54. data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  55. data/gui/en/lz1selectiontabend/endselectiontab.rwd +1 -0
  56. data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  57. data/gui/en/ui3rubyslippers/ui3rubyslippers.rwd +5 -0
  58. data/gui/en/ui3rubyslippers/ui4rubyslippers.rwd +5 -0
  59. data/gui/en/uu5rwddocuments/uu5documents.rwd +13 -0
  60. data/gui/en/uu6rwdtinkerwin2documents/uu5documents.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/xx9photoview/xx9photoview.rwd +3 -0
  73. data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  74. data/gui/en/yg5rwdhelpabout/1appname.rwd +2 -0
  75. data/gui/en/yg5rwdhelpabout/3copyright.rwd +1 -0
  76. data/gui/en/yg5rwdhelpabout/5version.rwd +9 -0
  77. data/gui/en/yg6rwdwin2helpabout/1appname.rwd +2 -0
  78. data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  79. data/gui/en/yg6rwdwin2helpabout/5version.rwd +9 -0
  80. data/gui/en/yi2rubyslippers/yi2rubyslippers.rwd +3 -0
  81. data/gui/en/yi2rubyslippers/yi6rubyslippers.rwd +3 -0
  82. data/gui/en/yi2rubyslippers/yi8rubyslippers.rwd +1 -0
  83. data/gui/en/za1applicationend/yy9rwdend.rwd +2 -0
  84. data/gui/es/aa2core/aa0rwdtop.rwd +3 -0
  85. data/gui/es/cc0viewphoto/cc0openphoto.rwd +17 -0
  86. data/gui/es/ii6rubyslippers/ii3viewgemdata.rwd +17 -0
  87. data/gui/es/ii6rubyslippers/ii4listgemrecordfiles.rwd +13 -0
  88. data/gui/es/ii6rubyslippers/ii6installgem.rwd +20 -0
  89. data/gui/es/ii6rubyslippers/ii7listgemsremote.rwd +13 -0
  90. data/gui/es/ii6rubyslippers/ii9gemcommands.rwd +23 -0
  91. data/gui/es/ii6rubyslippers/ij1gemfilesinstalled.rwd +23 -0
  92. data/gui/es/ii6rubyslippers/ij4gemserverscan.rwd +23 -0
  93. data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  94. data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  95. data/gui/es/lz1selectiontabend/endselectiontab.rwd +1 -0
  96. data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  97. data/gui/es/ui3rubyslippers/ui3rubyslippers.rwd +5 -0
  98. data/gui/es/ui3rubyslippers/ui4rubyslippers.rwd +5 -0
  99. data/gui/es/uu5rwddocuments/uu5documents.rwd +13 -0
  100. data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  101. data/gui/es/ww0documentsend/ww0documentend.rwd +6 -0
  102. data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  103. data/gui/es/xa1versionwindow/1appname.rwd +17 -0
  104. data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  105. data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  106. data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  107. data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  108. data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  109. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  110. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  111. data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  112. data/gui/es/xx9photoview/xx9photoview.rwd +3 -0
  113. data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  114. data/gui/es/yg5rwdhelpabout/1appname.rwd +2 -0
  115. data/gui/es/yg5rwdhelpabout/3copyright.rwd +1 -0
  116. data/gui/es/yg5rwdhelpabout/5version.rwd +9 -0
  117. data/gui/es/yg6rwdwin2helpabout/1appname.rwd +2 -0
  118. data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  119. data/gui/es/yg6rwdwin2helpabout/5version.rwd +9 -0
  120. data/gui/es/yi2rubyslippers/yi2rubyslippers.rwd +3 -0
  121. data/gui/es/yi2rubyslippers/yi6rubyslippers.rwd +3 -0
  122. data/gui/es/yi2rubyslippers/yi8rubyslippers.rwd +1 -0
  123. data/gui/es/za1applicationend/yy9rwdend.rwd +2 -0
  124. data/gui/nl/aa2core/aa0rwdtop.rwd +3 -0
  125. data/gui/nl/cc0viewphoto/cc0openphoto.rwd +17 -0
  126. data/gui/nl/ii6rubyslippers/ii3viewgemdata.rwd +17 -0
  127. data/gui/nl/ii6rubyslippers/ii4listgemrecordfiles.rwd +13 -0
  128. data/gui/nl/ii6rubyslippers/ii6installgem.rwd +20 -0
  129. data/gui/nl/ii6rubyslippers/ii7listgemsremote.rwd +13 -0
  130. data/gui/nl/ii6rubyslippers/ii9gemcommands.rwd +23 -0
  131. data/gui/nl/ii6rubyslippers/ij1gemfilesinstalled.rwd +23 -0
  132. data/gui/nl/ii6rubyslippers/ij4gemserverscan.rwd +23 -0
  133. data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  134. data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  135. data/gui/nl/lz1selectiontabend/endselectiontab.rwd +1 -0
  136. data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  137. data/gui/nl/ui3rubyslippers/ui3rubyslippers.rwd +5 -0
  138. data/gui/nl/ui3rubyslippers/ui4rubyslippers.rwd +5 -0
  139. data/gui/nl/uu5rwddocuments/uu5documents.rwd +13 -0
  140. data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  141. data/gui/nl/ww0documentsend/ww0documentend.rwd +6 -0
  142. data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  143. data/gui/nl/xa1versionwindow/1appname.rwd +17 -0
  144. data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  145. data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  146. data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  147. data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  148. data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  149. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  150. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  151. data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  152. data/gui/nl/xx9photoview/xx9photoview.rwd +3 -0
  153. data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  154. data/gui/nl/yg5rwdhelpabout/1appname.rwd +2 -0
  155. data/gui/nl/yg5rwdhelpabout/3copyright.rwd +1 -0
  156. data/gui/nl/yg5rwdhelpabout/5version.rwd +9 -0
  157. data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +2 -0
  158. data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  159. data/gui/nl/yg6rwdwin2helpabout/5version.rwd +9 -0
  160. data/gui/nl/yi2rubyslippers/yi2rubyslippers.rwd +3 -0
  161. data/gui/nl/yi2rubyslippers/yi6rubyslippers.rwd +3 -0
  162. data/gui/nl/yi2rubyslippers/yi8rubyslippers.rwd +1 -0
  163. data/gui/nl/za1applicationend/yy9rwdend.rwd +2 -0
  164. data/init.rb +164 -0
  165. data/installed/fullrubyslippers-0.92 +8 -0
  166. data/installed/rwdtinkerwin2-0.5.inf +16 -0
  167. data/installed/rwdviewphoto-0.3.inf +9 -0
  168. data/lang/en/rwdcore/languagefile.rb +6 -0
  169. data/lang/es/rwdcore/languagefile.rb +4 -0
  170. data/lang/nl/rwdcore/languagefile.rb +4 -0
  171. data/lib/temp.rb +1 -0
  172. data/rwd_files/GemDocuments.html +6 -0
  173. data/rwd_files/HowTo_RubySlippers.txt +159 -0
  174. data/rwd_files/HowTo_Tinker.html +370 -0
  175. data/rwd_files/HowTo_Tinker.txt +244 -0
  176. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  177. data/rwd_files/Readme.txt +57 -0
  178. data/rwd_files/favicon.ico +0 -0
  179. data/rwd_files/rdoc-style.css +175 -0
  180. data/rwd_files/remotegemlist.txt +562 -0
  181. data/rwd_files/rwdapplications.html +54 -0
  182. data/rwd_files/rwdindex.html +6 -0
  183. data/rwd_files/tinker.png +0 -0
  184. data/tests/rubyslippers-0.92.gemspec +17 -0
  185. data/tests/rwdtinker-1.2.gemspec +17 -0
  186. data/tests/rwdtinkertestEN.rb +87 -0
  187. data/tests/temptest.out +18 -0
  188. data/tests/totranslate.lang +93 -0
  189. data/zips/rwdaviewphoto-0.3.zip +0 -0
  190. data/zips/rwdhelloworld-0.2.zip +0 -0
  191. data/zips/rwdrefreshacpi-0.1.zip +0 -0
  192. data/zips/rwdwtinkerwin2-0.5.zip +0 -0
  193. metadata +233 -0
@@ -0,0 +1,42 @@
1
+ <tab name="filelister" caption="List Applets">
2
+
3
+
4
+ <table>
5
+ <row> <p align="right">File Name:</p> <text name="a_installlist"/> </row>
6
+
7
+ </table>
8
+
9
+ <horizontal>
10
+ <button caption="View Install Text" action="openname"/>
11
+ <button caption="Cancel" action="main"/>
12
+ </horizontal>
13
+ <p>%displaytext%</p>
14
+
15
+ <table>
16
+ <row> <p align="right">File Name:</p> <text name="a_removeapplet"/> </row>
17
+
18
+ </table>
19
+
20
+ <p>%removeapplettext%</p>
21
+ <horizontal>
22
+ <button caption="remove applet" action="removeapplet"/>
23
+ <button caption="Cancel" action="main"/>
24
+
25
+ </horizontal>
26
+ <table>
27
+ <row> <p> </row>
28
+ <row> <p align="right">View the list of installation files </row>
29
+
30
+ </table>
31
+ <horizontal>
32
+
33
+ <button caption="List Files" action="listinstalledfiles"/>
34
+
35
+ </horizontal>
36
+
37
+ <p>%%filesresult%%</p>
38
+
39
+ </tab>
40
+
41
+
42
+
@@ -0,0 +1,33 @@
1
+ <tab name="zipslister" caption="List Zips">
2
+
3
+ <table>
4
+ <row> <p align="right">File Name:</p> <text name="a_installapplet"/> </row>
5
+
6
+ </table>
7
+
8
+ <horizontal>
9
+ <button caption="install applet" action="installapplet"/>
10
+ <button caption="Cancel" action="main"/>
11
+
12
+ </horizontal>
13
+ <p>%installapplettext%</p>
14
+
15
+
16
+ <table>
17
+ <row> <p align="right">Click below to view the list of zip files </row>
18
+
19
+ </table>
20
+
21
+ <horizontal>
22
+ <button caption="List applets available for installing" action="listzipfilestoinstall"/>
23
+
24
+
25
+
26
+ </horizontal>
27
+
28
+ <p>%%zipslistresult%%</p>
29
+
30
+ </tab>
31
+
32
+
33
+
@@ -0,0 +1,5 @@
1
+
2
+ </tabs>
3
+ </window>
4
+
5
+
@@ -0,0 +1,3 @@
1
+ <window name="photo" title="Frames">
2
+ <image src="tinker.png"> frames </image>
3
+ </window>
@@ -0,0 +1 @@
1
+ <helpwindow name="main" title="Help About">
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerversion"/>
4
+ </horizontal>
5
+
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker window 2</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerwin2version"/>
4
+ </horizontal>
5
+ <p>%rwdtinkerwin2versiondisplay%</p>
6
+
7
+
8
+
9
+
@@ -0,0 +1,3 @@
1
+
2
+ <row> <p align="center">RubySlippers</p></row>
3
+ <row> <p align="center">A RubyGems Front end</p></row>
@@ -0,0 +1,3 @@
1
+
2
+ <row> <p align="center">version 0.91</p></row>
3
+
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,2 @@
1
+ </application>
2
+
data/init.rb ADDED
@@ -0,0 +1,164 @@
1
+
2
+ #***********************************************************************
3
+ #* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
4
+ #* Copyright (c) 2004 by Steven Gibson. All Rights Reserved.
5
+ #*
6
+ #* This library is free software; you can redistribute it and/or
7
+ #* modify it under the terms of the GNU General Public
8
+ #* License as published by the Free Software Foundation; either
9
+ #* .
10
+ #*
11
+ #* These files are distributed in the hope that they will be useful,
12
+ #* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ #* General Public License for more details.
15
+ #*
16
+ #* You should have received a copy of the GNU General Public
17
+ #* License along with these files; if not, write to the Free Software
18
+ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
+ #*
20
+ #* For further information please contact the author by e-mail
21
+ #* at "steven@superant.com".
22
+ #***********************************************************************/
23
+
24
+ require "ev/rwd"
25
+ require 'fileutils'
26
+
27
+ $progdir = File::expand_path( File.dirname(__FILE__))
28
+
29
+ $tempdoc = " "
30
+
31
+ def findfiles(d)
32
+ a = Array.new(Dir[d].entries.sort)
33
+ #loop through and get the files names
34
+ a.each do |x|
35
+ #adjust the filters to the files you want to see...
36
+ if(!test(?d,x))
37
+ # only rwd files
38
+ if x =~ /rb|rwd|txt/
39
+ fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
40
+ $tempdoc+=fileA.read #reads the file into the doc string
41
+ fileA.close
42
+ end
43
+ end
44
+ end
45
+ end
46
+
47
+
48
+ # Read in the configuration files
49
+
50
+ Dir.chdir("configuration") #changes the current working directory
51
+
52
+ fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /cnf$/) } #creates an Array separated with \n
53
+ @doc = ""
54
+ fileList.length.times{ #opening of a block
55
+ fileName=fileList.pop #pops the first item out of the Array
56
+ load fileName #loads the the config file thats in fileName
57
+ } #closing block
58
+ # END of configuration reading
59
+
60
+ Dir.chdir($progdir) # change back to top program directory
61
+
62
+ # build the Language hash file from the parts
63
+ startlangdir = @@langdir +"/" + $lang
64
+ #get a list of the files and subdirectories on the starting directory only
65
+ alanghash = Array.new(Dir[startlangdir].entries.sort)
66
+ #loop through the list, ignore the files and add all new directories found
67
+ alanghash.each do |x|
68
+ #if a directory...
69
+ if(test(?d,x))
70
+ # add to the original list of directories
71
+ @@tmproot = x + "/**"
72
+ #adds the new ones to the array
73
+ blanghash = Dir[@@tmproot].entries.sort
74
+ blanghash.each do |x|
75
+ if(test(?d,x))
76
+ alanghash.push(x) #appends to the end of the array...
77
+ end
78
+ end
79
+ end
80
+ end
81
+ alanghash.each do |x|
82
+ #if it is a file...
83
+ if(!test(?d,x))
84
+ alanghash.delete(x)
85
+ else #it is a directory...
86
+ findfiles(x + "/**")
87
+ end
88
+ end
89
+
90
+ fileLangHash=File.open(TempLangHashFile,"w") #deletes and opens a the file in fileName
91
+ fileLangHash.write($tempdoc) #writes the contents of doc into the file
92
+ fileLangHash.close
93
+ # END of Lang building
94
+ $tempdoc = " "
95
+ Dir.chdir($progdir) # change back to top program directory
96
+
97
+ # build the actual program from the code parts
98
+ #get a list of the files and subdirectories on the starting directory only
99
+ a = Array.new(Dir[@@codedir].entries.sort)
100
+ #loop through the list, ignore the files and add all new directories found
101
+ a.each do |x|
102
+ #if a directory...
103
+ if(test(?d,x))
104
+ # add to the original list of directories
105
+ @@root = x + "/**"
106
+ #adds the new ones to the array
107
+ b = Dir[@@root].entries.sort
108
+ b.each do |x|
109
+ if(test(?d,x))
110
+ a.push(x) #appends to the end of the array...
111
+ end
112
+ end
113
+ end
114
+ end
115
+ a.each do |x|
116
+ #if it is a file...
117
+ if(!test(?d,x))
118
+ a.delete(x)
119
+ else #it is a directory...
120
+ findfiles(x + "/**")
121
+ end
122
+ end
123
+
124
+ fileB=File.open(CodeNameFile,"w") #deletes and opens a the file in fileName
125
+ fileB.write($tempdoc) #writes the contents of doc into the file
126
+ fileB.close
127
+ require CodeName # load the program file
128
+
129
+ # build the actual GUI from the gui parts
130
+ $tempdoc = " "
131
+ #get a list of the files and subdirectories on the starting directory only
132
+ a = Array.new(Dir[@@guidir].entries.sort)
133
+ #loop through the list, ignore the files and add all new directories found
134
+ a.each do |x|
135
+ #if a directory...
136
+ if(test(?d,x))
137
+ #use this new dir find to add to the original list of directories
138
+ @@root = x + "/**"
139
+ #adds the new ones to the array
140
+ b = Dir[@@root].entries.sort
141
+ b.each do |x|
142
+ if(test(?d,x))
143
+ a.push(x) #appends to the end of the array...
144
+ end
145
+ end
146
+ end
147
+ end
148
+ a.each do |x|
149
+ #if it is a file...
150
+ if(!test(?d,x))
151
+ a.delete(x)
152
+
153
+ else #it is a directory...
154
+ findfiles(x + "/**")
155
+ end
156
+ end
157
+
158
+ fileB=File.open(RWDFile,"w") #deletes and opens a the file in fileName
159
+ fileB.write($tempdoc) #writes the contents of doc into the file
160
+ fileB.close
161
+
162
+
163
+
164
+ RwdTinker.file(RWDFile).serve($port) # start the main class and program
@@ -0,0 +1,8 @@
1
+ # rubyslippers - full applet to
2
+ code/ii6rubyslippers
3
+ configuration/ii3rubyslippers.cnf
4
+ gui/en/ii6rubyslippers
5
+ gui/en/ui3rubyslippers
6
+ gui/en/yi2rubyslippers
7
+ rwd_files/HowTo_RubySlippers.txt
8
+ rwd_files/remotegemlist.txt
@@ -0,0 +1,16 @@
1
+ # rwdwin2 - rwd applet in second window - core for Tinker: Applet adding/removing and Diagnostic tab
2
+ configuration/ab1tinkerwin2.cnf
3
+ code/xb1rwdtinkerbackwindow
4
+ gui/en/ll5rwdtinkerwin2selectiontab
5
+ gui/en/xb1rwdtinkerbackwindow
6
+ gui/en/uu6rwdtinkerwin2documents
7
+ gui/en/yg6rwdwin2helpabout
8
+ gui/es/ll5rwdtinkerwin2selectiontab
9
+ gui/es/xb1rwdtinkerbackwindow
10
+ gui/es/uu6rwdtinkerwin2documents
11
+ gui/es/yg6rwdwin2helpabout
12
+ gui/nl/ll5rwdtinkerwin2selectiontab
13
+ gui/nl/xb1rwdtinkerbackwindow
14
+ gui/nl/uu6rwdtinkerwin2documents
15
+ gui/nl/yg6rwdwin2helpabout
16
+ rwd_files/HowTo_TinkerWin2.txt
@@ -0,0 +1,9 @@
1
+ # rwdphoto - small applet to display one picture
2
+ code/dd0viewphoto
3
+ gui/en/cc0viewphoto
4
+ gui/en/xx9photoview
5
+ gui/es/cc0viewphoto
6
+ gui/es/xx9photoview
7
+ gui/nl/cc0viewphoto
8
+ gui/nl/xx9photoview
9
+ rwd_files/tinker.png
@@ -0,0 +1,6 @@
1
+ # English Language files for RwdTinker core
2
+
3
+ :module_unknown => "Module unknown",
4
+ :applet_installed => "applet installed!.",
5
+
6
+
@@ -0,0 +1,4 @@
1
+ :module_unknown => "Module desconocido.",
2
+ :applet_installed => "applet instalado! ",
3
+
4
+
@@ -0,0 +1,4 @@
1
+ :module_unknown => "Module unknown",
2
+ :applet_installed => "applet installed!",
3
+
4
+
data/lib/temp.rb ADDED
@@ -0,0 +1 @@
1
+ # this file does nothing
@@ -0,0 +1,6 @@
1
+ <HTML>
2
+ <META http-equiv="refresh" content="0; url=http://localhost:8808">
3
+ <SCRIPT language="javascript1.0">
4
+ location.href="http://localhost:8808";
5
+ </SCRIPT>
6
+ </HTML>
@@ -0,0 +1,159 @@
1
+ = RubySlippers Frontend for RubyGems
2
+
3
+
4
+
5
+
6
+ How To use RubySlippers - a frontend for RubyGems
7
+
8
+
9
+ The configuration file is at:
10
+ configuration/ii3rubyslippers.cnf
11
+
12
+ There you can change the location of your gemspec files.
13
+
14
+
15
+
16
+ = View Gem
17
+
18
+
19
+ Use the "View Gem" tab
20
+
21
+ You can view the list of gems you have installed
22
+ by clicking on the list files button
23
+
24
+ You can view the contents of the gemspec file by typing or pasting a name in.
25
+
26
+ When you are finished press the open button (leave off the .gemspec ending)
27
+
28
+
29
+
30
+ = Install Gem
31
+
32
+
33
+ Using the "Install Gem" tab
34
+
35
+
36
+ You can list the Gems available in the repository
37
+ Click on the button.
38
+ It will take several seconds then should show the list.
39
+
40
+
41
+ To install a gem, enter the name into to textbox and
42
+ click on the install Gem button
43
+ You should see the result of the command on the screen
44
+
45
+ You can check in the first tab if it is installed.
46
+
47
+
48
+
49
+
50
+ = Gem Commands:
51
+
52
+
53
+ Go to "Gem Commands" tab
54
+
55
+ <blockquote/>
56
+ You can view the setup that Gem has on your system.
57
+
58
+ Click on Show Environment
59
+ This will show your setup
60
+
61
+ You can run a Gem command or a shell command
62
+ Enter the command in the box and press the
63
+ Run Command button
64
+
65
+ It displays the result of the command on the screen.
66
+
67
+
68
+
69
+
70
+ = Gem Files:
71
+
72
+
73
+ Go to "Gem Files" tab
74
+
75
+
76
+ You can view the files that are installed for applications
77
+
78
+ Click on Show Gem Dirs
79
+ This will show your list of Gems installed
80
+
81
+
82
+ Click on Show Application Files
83
+ This will show your list of files installed
84
+
85
+ = Quick Start
86
+
87
+ You should unzip the program in a directory you have assess to.
88
+
89
+
90
+
91
+ at the command line run:
92
+ ruby init.rb
93
+ Point your browser at
94
+ http://localhost:7706
95
+ or where it tells you
96
+
97
+ Have alot of fun!
98
+ give me bug reports and suggestions.
99
+
100
+
101
+
102
+ = Problem solving
103
+
104
+
105
+ On my Linux system I changed permissions on my gem directory to allow
106
+ the nonprovileged user to install gems.
107
+
108
+
109
+ = Documents
110
+
111
+
112
+ when you click on a document name, the document should pop up in a
113
+ browser window, or in another browser tab.
114
+
115
+
116
+ For more information see:
117
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
118
+
119
+
120
+ For more information about RubyWebDialogs see:
121
+ http://www.erikveen.dds.nl/rubywebdialogs/index.html
122
+
123
+ Thanks, Steven Gibson
124
+
125
+ =Changelog
126
+ Version 0.92
127
+ Added to version 1.23 of rwdtinker
128
+ created gemspec
129
+
130
+ Version 0.91
131
+ Changed download of remote gem list - should now work on XP - avoids SystemStackError
132
+ added txt file to hold downloaded list
133
+ Changed order on list installed gems directories
134
+ Fixed view gemspec - it was totally broken! (bug introduced in 0.8)
135
+
136
+ Version 0.9
137
+ Added scan for gem_server
138
+ links for gem_server content
139
+
140
+ Version 0.8
141
+ Improved file selection
142
+
143
+ Version 0.7
144
+ Was updated to work with rwdtinker version 0.9
145
+
146
+ Version 0.6
147
+ fixes to work under XP
148
+ wrong variable in listfiles function
149
+ added configuration for XP vs Linux systems
150
+ updated the rwdrefreshacpi applet in zips
151
+
152
+ Version 0.5
153
+ first applet
154
+ added gem files tab - should list install app files
155
+
156
+ Version 0.4
157
+ first public version released
158
+ using rwdtinker framework
159
+