bigtinker 0.93

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 (386) hide show
  1. data/Books/Mariposa.gut +2 -0
  2. data/Books/marip10.txt +2598 -0
  3. data/Notes/changes.lnk +1 -0
  4. data/Notes/changes.txt +1 -0
  5. data/Notes/hypernote/hypernote01.txt +1 -0
  6. data/Notes/hypernote/hypernote02.txt +1 -0
  7. data/Notes/hypernote/newnote3.txt +2 -0
  8. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +1 -0
  9. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.txt +11 -0
  10. data/Notes/rwdtinker/newnote.txt +1 -0
  11. data/Notes/rwdtinker/rwdtinker01.txt +9 -0
  12. data/Notes/rwdtinker/testnote2.txt +1 -0
  13. data/Readme.txt +146 -0
  14. data/bin/bigtinker +19 -0
  15. data/code/01rwdcore/01rwdcore.rb +25 -0
  16. data/code/01rwdcore/02helptexthashbegin.rb +4 -0
  17. data/code/01rwdcore/03helptexthash.rb +31 -0
  18. data/code/01rwdcore/04helptextend.rb +6 -0
  19. data/code/01rwdcore/jumplinkcommand.rb +26 -0
  20. data/code/01rwdcore/openhelpwindow.rb +31 -0
  21. data/code/01rwdcore/returntomain.rb +10 -0
  22. data/code/01rwdcore/rundocuments.rb +10 -0
  23. data/code/01rwdcore/runeditconfiguration.rb +10 -0
  24. data/code/01rwdcore/runhelpabout.rb +10 -0
  25. data/code/01rwdcore/runopentinkerdocument.rb +7 -0
  26. data/code/01rwdcore/rwdtinkerversion.rb +22 -0
  27. data/code/01rwdcore/rwdwindowreturn.rb +9 -0
  28. data/code/01rwdcore/selectiontab.rb +9 -0
  29. data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
  30. data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
  31. data/code/01rwdcore/test_cases.rb +109 -0
  32. data/code/01rwdcore/test_harness.rb +13 -0
  33. data/code/01rwdcore/uploadreturns.rb +62 -0
  34. data/code/superant.com.bigtinker/rwdtinkerversion.rb +10 -0
  35. data/code/superant.com.gutenberg/changegutenbergname.rb +16 -0
  36. data/code/superant.com.gutenberg/clearbookscreendisplay.rb +8 -0
  37. data/code/superant.com.gutenberg/copyfilename.rb +24 -0
  38. data/code/superant.com.gutenberg/createnewnote.rb +23 -0
  39. data/code/superant.com.gutenberg/deletegutenbergrecord.rb +21 -0
  40. data/code/superant.com.gutenberg/gutenbergcreatefile.rb +9 -0
  41. data/code/superant.com.gutenberg/helptexthashrwdgutenberg.rb +41 -0
  42. data/code/superant.com.gutenberg/jumplinkupdate.rb +7 -0
  43. data/code/superant.com.gutenberg/listnamerecord.rb +15 -0
  44. data/code/superant.com.gutenberg/listtextfilesgutenberg.rb +58 -0
  45. data/code/superant.com.gutenberg/loadbookrecord.rb +21 -0
  46. data/code/superant.com.gutenberg/loadconfigurationrecord.rb +36 -0
  47. data/code/superant.com.gutenberg/loadconfigurationvariables.rb +13 -0
  48. data/code/superant.com.gutenberg/openhelpwindowgutenberg.rb +29 -0
  49. data/code/superant.com.gutenberg/returntomain.rb +10 -0
  50. data/code/superant.com.gutenberg/runbackwindow.rb +10 -0
  51. data/code/superant.com.gutenberg/rungutenbergwindow.rb +57 -0
  52. data/code/superant.com.gutenberg/rwdgutenbergbackward.rb +27 -0
  53. data/code/superant.com.gutenberg/rwdhypernotehelpabout.rb +14 -0
  54. data/code/superant.com.gutenberg/rwdtinkerversion.rb +10 -0
  55. data/code/superant.com.gutenberg/saveconfigurationrecord.rb +18 -0
  56. data/code/superant.com.gutenberg/savegutenbergrecord.rb +20 -0
  57. data/code/superant.com.gutenberg/savelinkrecord.rb +23 -0
  58. data/code/superant.com.hypernote/archiveevent.rb +14 -0
  59. data/code/superant.com.hypernote/changehypernotename.rb +21 -0
  60. data/code/superant.com.hypernote/clearhypernotescreendisplay.rb +8 -0
  61. data/code/superant.com.hypernote/clearlinkscreendisplay.rb +8 -0
  62. data/code/superant.com.hypernote/copyfilename.rb +10 -0
  63. data/code/superant.com.hypernote/createnewnote.rb +14 -0
  64. data/code/superant.com.hypernote/deletehypernoterecord.rb +20 -0
  65. data/code/superant.com.hypernote/helptexthashrwdhypernote.rb +74 -0
  66. data/code/superant.com.hypernote/hyperlinkcreatelinkfile.rb +19 -0
  67. data/code/superant.com.hypernote/jumplinkupdate.rb +7 -0
  68. data/code/superant.com.hypernote/listhypernotelinks.rb +55 -0
  69. data/code/superant.com.hypernote/listhypernotes.rb +63 -0
  70. data/code/superant.com.hypernote/listlinknotes.rb +33 -0
  71. data/code/superant.com.hypernote/loadconfigurationrecord.rb +34 -0
  72. data/code/superant.com.hypernote/loadconfigurationvariables.rb +13 -0
  73. data/code/superant.com.hypernote/loadlinksrecord.rb +21 -0
  74. data/code/superant.com.hypernote/loadnoterecord.rb +24 -0
  75. data/code/superant.com.hypernote/openhelpwindowrwdhyernote.rb +34 -0
  76. data/code/superant.com.hypernote/returntomain.rb +10 -0
  77. data/code/superant.com.hypernote/runrwdhypernotconfiguration.rb +12 -0
  78. data/code/superant.com.hypernote/runrwdhypernotebackwindow.rb +12 -0
  79. data/code/superant.com.hypernote/rwdhypernotehelpabout.rb +14 -0
  80. data/code/superant.com.hypernote/rwdtinkerversion.rb +10 -0
  81. data/code/superant.com.hypernote/saveconfigurationrecord.rb +18 -0
  82. data/code/superant.com.hypernote/savehypernoterecord.rb +20 -0
  83. data/code/superant.com.hypernote/savelinkrecord.rb +23 -0
  84. data/code/superant.com.rwdaddresses/attachtmpcontactphoto.rb +24 -0
  85. data/code/superant.com.rwdaddresses/clearscreendisplay.rb +15 -0
  86. data/code/superant.com.rwdaddresses/createnewnamerecord.rb +19 -0
  87. data/code/superant.com.rwdaddresses/deletecontactrecord.rb +25 -0
  88. data/code/superant.com.rwdaddresses/deleterwdaddressesupdatefiles.rb +19 -0
  89. data/code/superant.com.rwdaddresses/downloadrwdaddressfiles.rb +36 -0
  90. data/code/superant.com.rwdaddresses/helptexthashrwdaddresses.rb +69 -0
  91. data/code/superant.com.rwdaddresses/jumplinkupdate.rb +9 -0
  92. data/code/superant.com.rwdaddresses/listnamerecord.rb +15 -0
  93. data/code/superant.com.rwdaddresses/listvcardrecord.rb +15 -0
  94. data/code/superant.com.rwdaddresses/loadconfigurationrecord.rb +45 -0
  95. data/code/superant.com.rwdaddresses/loadconfigurationvariables.rb +14 -0
  96. data/code/superant.com.rwdaddresses/loadnamerecord.rb +30 -0
  97. data/code/superant.com.rwdaddresses/openhelpwindowrwdaddresses.rb +30 -0
  98. data/code/superant.com.rwdaddresses/renamecontact.rb +15 -0
  99. data/code/superant.com.rwdaddresses/runaddresseswindow.rb +10 -0
  100. data/code/superant.com.rwdaddresses/runrwdaddressesmenu1.rb +34 -0
  101. data/code/superant.com.rwdaddresses/runrwdaddresssyncbackwindow.rb +10 -0
  102. data/code/superant.com.rwdaddresses/rwdaddressesbackwindow.rb +10 -0
  103. data/code/superant.com.rwdaddresses/rwdaddresseshelpabout.rb +13 -0
  104. data/code/superant.com.rwdaddresses/rwdtinkerversion.rb +10 -0
  105. data/code/superant.com.rwdaddresses/saveconfigurationrecord.rb +20 -0
  106. data/code/superant.com.rwdaddresses/savevcardrecord.rb +76 -0
  107. data/code/superant.com.rwdaddresses/syncrwdaddress.rb +28 -0
  108. data/code/superant.com.rwdaddresses/test_cases.rb +46 -0
  109. data/code/superant.com.rwdaddresses/uploadrwdaddressfiles.rb +46 -0
  110. data/code/superant.com.rwdaddresses/viewaddressconfiguration.rb +21 -0
  111. data/code/superant.com.rwdaddresses/viewnamedata.rb +28 -0
  112. data/code/superant.com.rwdaddresses/viewphoto.rb +4 -0
  113. data/code/superant.com.rwdaddresses/viewrwdaddressesconfiguration.rb +23 -0
  114. data/code/superant.com.rwdaddresses/viewtmpcontactphoto.rb +12 -0
  115. data/code/superant.com.rwdaddresses/viewvcarddata.rb +22 -0
  116. data/code/superant.com.rwdcalc/ca2multiply.rb +10 -0
  117. data/code/superant.com.rwdcalc/changescriptname.rb +16 -0
  118. data/code/superant.com.rwdcalc/clearrubyscriptscreendisplay.rb +9 -0
  119. data/code/superant.com.rwdcalc/clearscriptscreendisplay.rb +9 -0
  120. data/code/superant.com.rwdcalc/deletescriptrecord.rb +20 -0
  121. data/code/superant.com.rwdcalc/fadd.rb +10 -0
  122. data/code/superant.com.rwdcalc/frwdcleartape.rb +9 -0
  123. data/code/superant.com.rwdcalc/frwddivide.rb +10 -0
  124. data/code/superant.com.rwdcalc/frwdmultiply.rb +10 -0
  125. data/code/superant.com.rwdcalc/frwdsubtract.rb +10 -0
  126. data/code/superant.com.rwdcalc/helptexthashrwdcalc.rb +14 -0
  127. data/code/superant.com.rwdcalc/jumplinkupdate.rb +11 -0
  128. data/code/superant.com.rwdcalc/listscripts.rb +13 -0
  129. data/code/superant.com.rwdcalc/loadrubyrecord.rb +20 -0
  130. data/code/superant.com.rwdcalc/loadscriptrecord.rb +20 -0
  131. data/code/superant.com.rwdcalc/mathcommands.rb +53 -0
  132. data/code/superant.com.rwdcalc/openhelpwindowrwdcalc.rb +21 -0
  133. data/code/superant.com.rwdcalc/playscript.rb +22 -0
  134. data/code/superant.com.rwdcalc/renamecalcrecord.rb +14 -0
  135. data/code/superant.com.rwdcalc/runrwdcalcwindow.rb +10 -0
  136. data/code/superant.com.rwdcalc/rwdadd.rb +10 -0
  137. data/code/superant.com.rwdcalc/rwdcleartape.rb +9 -0
  138. data/code/superant.com.rwdcalc/rwddivision.rb +10 -0
  139. data/code/superant.com.rwdcalc/rwdsubtraction.rb +10 -0
  140. data/code/superant.com.rwdcalc/savechangedscript.rb +19 -0
  141. data/code/superant.com.rwdcalc/saverubyscript.rb +20 -0
  142. data/code/superant.com.rwdcalc/viewscript.rb +18 -0
  143. data/code/superant.com.rwdcalendar/gh9calendar.rb +40 -0
  144. data/code/superant.com.rwdcalendar/helptexthashrwdschedule.rb +14 -0
  145. data/code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb +17 -0
  146. data/code/superant.com.rwdshell/changescriptname.rb +16 -0
  147. data/code/superant.com.rwdshell/clearscriptscreendisplay.rb +9 -0
  148. data/code/superant.com.rwdshell/deletescriptrecord.rb +20 -0
  149. data/code/superant.com.rwdshell/helptexthashshell.rb +31 -0
  150. data/code/superant.com.rwdshell/listrubyscripts.rb +13 -0
  151. data/code/superant.com.rwdshell/listscripts.rb +13 -0
  152. data/code/superant.com.rwdshell/loadconfigurationrecord.rb +33 -0
  153. data/code/superant.com.rwdshell/loadconfigurationvariables.rb +13 -0
  154. data/code/superant.com.rwdshell/loadscriptrecord.rb +20 -0
  155. data/code/superant.com.rwdshell/openhelpwindowshell.rb +33 -0
  156. data/code/superant.com.rwdshell/playrubyscript.rb +23 -0
  157. data/code/superant.com.rwdshell/playscript.rb +23 -0
  158. data/code/superant.com.rwdshell/returntomain.rb +10 -0
  159. data/code/superant.com.rwdshell/rubyeval.rb +25 -0
  160. data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +10 -0
  161. data/code/superant.com.rwdshell/runrwdshellwindow.rb +12 -0
  162. data/code/superant.com.rwdshell/rwdshellversion.rb +14 -0
  163. data/code/superant.com.rwdshell/savechangedscript.rb +19 -0
  164. data/code/superant.com.rwdshell/saveconfigurationrecord.rb +18 -0
  165. data/code/superant.com.rwdshell/shelleval.rb +20 -0
  166. data/code/superant.com.rwdshell/viewrubyscript.rb +18 -0
  167. data/code/superant.com.rwdshell/viewscript.rb +18 -0
  168. data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +96 -0
  169. data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
  170. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +61 -0
  171. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +25 -0
  172. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +21 -0
  173. data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +20 -0
  174. data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
  175. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +53 -0
  176. data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +12 -0
  177. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +27 -0
  178. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +39 -0
  179. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -0
  180. data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
  181. data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +19 -0
  182. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +42 -0
  183. data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
  184. data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +33 -0
  185. data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
  186. data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +11 -0
  187. data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
  188. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +22 -0
  189. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +22 -0
  190. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +24 -0
  191. data/code/superant.com.words/dictlookup.rb +20 -0
  192. data/code/superant.com.words/jumplinkupdate.rb +6 -0
  193. data/code/superant.com.words/runfortunewindow.rb +14 -0
  194. data/code/superant.com.words/runrwdwordsbackwindow.rb +10 -0
  195. data/code/superant.com.words/runrwdwordsversion.rb +14 -0
  196. data/code/superant.com.words/rwdtinkerversion.rb +10 -0
  197. data/code/zz0applicationend/zz0end.rb +4 -0
  198. data/configuration/bigtinker.dist +3 -0
  199. data/configuration/language.dist +7 -0
  200. data/configuration/rwdaddresses.dist +21 -0
  201. data/configuration/rwdapplicationidentity.dist +3 -0
  202. data/configuration/rwdcalc.dist +8 -0
  203. data/configuration/rwdcalendar.dist +10 -0
  204. data/configuration/rwdgutenberg.dist +14 -0
  205. data/configuration/rwdhypernote.dist +13 -0
  206. data/configuration/rwdshell.dist +4 -0
  207. data/configuration/rwdtinker.dist +19 -0
  208. data/configuration/rwdwords.dist +18 -0
  209. data/configuration/tinkerwin2variables.dist +17 -0
  210. data/ev/browser.rb +109 -0
  211. data/ev/ftools.rb +170 -0
  212. data/ev/net.rb +750 -0
  213. data/ev/ruby.rb +819 -0
  214. data/ev/rwd.rb +1849 -0
  215. data/ev/sgml.rb +236 -0
  216. data/ev/thread.rb +63 -0
  217. data/ev/tree.rb +343 -0
  218. data/ev/xml.rb +4 -0
  219. data/extras/cal.rb +158 -0
  220. data/extras/dict.rb +438 -0
  221. data/extras/icalendar/base.rb +17 -0
  222. data/extras/icalendar/calendar.rb +44 -0
  223. data/extras/icalendar/calendar_parser.rb +237 -0
  224. data/extras/icalendar/component/alarm.rb +16 -0
  225. data/extras/icalendar/component/event.rb +25 -0
  226. data/extras/icalendar/component/freebusy.rb +12 -0
  227. data/extras/icalendar/component/journal.rb +25 -0
  228. data/extras/icalendar/component/timezone.rb +26 -0
  229. data/extras/icalendar/component/todo.rb +21 -0
  230. data/extras/icalendar/component.rb +91 -0
  231. data/extras/icalendar/helpers.rb +103 -0
  232. data/extras/icalendar/parameter.rb +25 -0
  233. data/extras/icalendar.rb +18 -0
  234. data/extras/rconftool.rb +380 -0
  235. data/extras/zip/ioextras.rb +114 -0
  236. data/extras/zip/stdrubyext.rb +111 -0
  237. data/extras/zip/tempfile_bugfixed.rb +195 -0
  238. data/extras/zip/zip.rb +1377 -0
  239. data/extras/zip/zipfilesystem.rb +558 -0
  240. data/extras/zip/ziprequire.rb +61 -0
  241. data/gui/00coreguibegin/applicationguitop.rwd +4 -0
  242. data/gui/frontwindow0/superant.com.rwdcalendar/hl9calendar.rwd +27 -0
  243. data/gui/frontwindow0/superant.com.shellscripts/1listplayscripts.rwd +17 -0
  244. data/gui/frontwindow0/superant.com.shellscripts/2listscripts.rwd +25 -0
  245. data/gui/frontwindow0/superant.com.shellscripts/3editscripts.rwd +26 -0
  246. data/gui/frontwindow0/superant.com.shellscripts/4scriptutilities.rwd +24 -0
  247. data/gui/frontwindow0/superant.com.shellscripts/6rwdshelleval.rwd +15 -0
  248. data/gui/frontwindow0/superant.com.shellscripts/cb7rwdrubyeval.rwd +13 -0
  249. data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +11 -0
  250. data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +15 -0
  251. data/gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd +3 -0
  252. data/gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd +6 -0
  253. data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +14 -0
  254. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +8 -0
  255. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd +6 -0
  256. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
  257. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +15 -0
  258. data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +3 -0
  259. data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +3 -0
  260. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +15 -0
  261. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +3 -0
  262. data/gui/tinkerbackwindows/superant.com.addressesphotowindow/yy7addressesphoto.rwd +6 -0
  263. data/gui/tinkerbackwindows/superant.com.gutenberg/00rwdgutenberg.rwd +5 -0
  264. data/gui/tinkerbackwindows/superant.com.gutenberg/10viewnote.rwd +32 -0
  265. data/gui/tinkerbackwindows/superant.com.gutenberg/20listfiles.rwd +35 -0
  266. data/gui/tinkerbackwindows/superant.com.gutenberg/30booklistutilities.rwd +28 -0
  267. data/gui/tinkerbackwindows/superant.com.gutenberg/35displaytab.rwd +10 -0
  268. data/gui/tinkerbackwindows/superant.com.gutenberg/40rwdgutenberg.rwd +16 -0
  269. data/gui/tinkerbackwindows/superant.com.gutenberg/67viewconfiguration.rwd +40 -0
  270. data/gui/tinkerbackwindows/superant.com.gutenberg/77jumplinkcommands.rwd +17 -0
  271. data/gui/tinkerbackwindows/superant.com.gutenberg/zvbackend.rwd +6 -0
  272. data/gui/tinkerbackwindows/superant.com.gutendisplay/gutendisplaywindow.rwd +9 -0
  273. data/gui/tinkerbackwindows/superant.com.hypernote/00windowbegin.rwd +5 -0
  274. data/gui/tinkerbackwindows/superant.com.hypernote/10viewnote.rwd +32 -0
  275. data/gui/tinkerbackwindows/superant.com.hypernote/20editlinks.rwd +34 -0
  276. data/gui/tinkerbackwindows/superant.com.hypernote/30noteutilities.rwd +27 -0
  277. data/gui/tinkerbackwindows/superant.com.hypernote/67viewconfiguration.rwd +38 -0
  278. data/gui/tinkerbackwindows/superant.com.hypernote/m01menubegin.rwd +18 -0
  279. data/gui/tinkerbackwindows/superant.com.hypernote/zbackend.rwd +6 -0
  280. data/gui/tinkerbackwindows/superant.com.refreshwindow/fortunerefreshwindowtwo.rwd +9 -0
  281. data/gui/tinkerbackwindows/superant.com.rwdaddresses/00rwdaddresses.rwd +5 -0
  282. data/gui/tinkerbackwindows/superant.com.rwdaddresses/11viewnamedata.rwd +19 -0
  283. data/gui/tinkerbackwindows/superant.com.rwdaddresses/13listnamerecordfiles.rwd +21 -0
  284. data/gui/tinkerbackwindows/superant.com.rwdaddresses/16editrecord.rwd +39 -0
  285. data/gui/tinkerbackwindows/superant.com.rwdaddresses/17viewvcardrecord.rwd +32 -0
  286. data/gui/tinkerbackwindows/superant.com.rwdaddresses/18contactutilities.rwd +34 -0
  287. data/gui/tinkerbackwindows/superant.com.rwdaddresses/m01menubegin.rwd +18 -0
  288. data/gui/tinkerbackwindows/superant.com.rwdaddresses/zvbackend.rwd +6 -0
  289. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/1appname.rwd +5 -0
  290. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/20downloadftp.rwd +45 -0
  291. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/70rwddiagnostics.rwd +23 -0
  292. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/88viewconfiguration.rwd +47 -0
  293. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/94selectiontab.rwd +11 -0
  294. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/95jumplink.rwd +15 -0
  295. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/97selectionend.rwd +3 -0
  296. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/zvbackend.rwd +6 -0
  297. data/gui/tinkerbackwindows/superant.com.rwdcalc/1appname.rwd +4 -0
  298. data/gui/tinkerbackwindows/superant.com.rwdcalc/20floatrwdcalc.rwd +23 -0
  299. data/gui/tinkerbackwindows/superant.com.rwdcalc/30intrwdcalc.rwd +23 -0
  300. data/gui/tinkerbackwindows/superant.com.rwdcalc/35mathcommands.rwd +25 -0
  301. data/gui/tinkerbackwindows/superant.com.rwdcalc/44listplayscripts.rwd +19 -0
  302. data/gui/tinkerbackwindows/superant.com.rwdcalc/45listscripts.rwd +25 -0
  303. data/gui/tinkerbackwindows/superant.com.rwdcalc/46editscriptrecord.rwd +30 -0
  304. data/gui/tinkerbackwindows/superant.com.rwdcalc/4scriptutilities.rwd +25 -0
  305. data/gui/tinkerbackwindows/superant.com.rwdcalc/81jumplinkcommands.rwd +17 -0
  306. data/gui/tinkerbackwindows/superant.com.rwdcalc/z9end.rwd +6 -0
  307. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +5 -0
  308. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd +19 -0
  309. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd +25 -0
  310. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/46editscriptrecord.rwd +30 -0
  311. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +38 -0
  312. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/94rwddiagnostics.rwd +16 -0
  313. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/98jumplinkcommands.rwd +17 -0
  314. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +6 -0
  315. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
  316. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +42 -0
  317. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
  318. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
  319. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +44 -0
  320. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
  321. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +33 -0
  322. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
  323. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
  324. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
  325. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +4 -0
  326. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -0
  327. data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
  328. data/gui/tinkerbackwindows/superant.com.words/1appname.rwd +4 -0
  329. data/gui/tinkerbackwindows/superant.com.words/1dictionary.rwd +19 -0
  330. data/gui/tinkerbackwindows/superant.com.words/3rwdfortune.rwd +14 -0
  331. data/gui/tinkerbackwindows/superant.com.words/77jumplinkcommands.rwd +17 -0
  332. data/gui/tinkerbackwindows/superant.com.words/80tab1.rwd +11 -0
  333. data/gui/tinkerbackwindows/superant.com.words/z9end.rwd +6 -0
  334. data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +4 -0
  335. data/init.rb +277 -0
  336. data/installed/gutenbergdata01.inf +3 -0
  337. data/installed/hypernotedata1.inf +12 -0
  338. data/installed/rwdaddressesdata2.inf +8 -0
  339. data/installed/rwdgutenberg-0.03.inf +9 -0
  340. data/installed/rwdviewlogo-0.4.inf +4 -0
  341. data/installed/rwdwaddresses-1.04.inf +13 -0
  342. data/installed/rwdwhypernote-0.07.inf +7 -0
  343. data/installed/rwdwwords-0.02.inf +10 -0
  344. data/lang/en/rwdcalendar/calendar-en.rb +6 -0
  345. data/lang/en/rwdcore/languagefile.rb +16 -0
  346. data/lang/es/rwdcalendar/calendar-nl.rb +6 -0
  347. data/lang/es/rwdcore/languagefile-es.rb +14 -0
  348. data/lang/jp/rwdcore/languagefile.rb +9 -0
  349. data/lang/nl/rwdcalendar/calendar-nl.rb +6 -0
  350. data/lang/nl/rwdcore/languagefile.rb +19 -0
  351. data/lib/temp.rb +1 -0
  352. data/names/Angelina Jolie.jpg +0 -0
  353. data/names/Angelina Jolie.nam +8 -0
  354. data/names/Angelina Jolie.vcf +8 -0
  355. data/names/Steven Gibson.jpg +0 -0
  356. data/names/Steven Gibson.nam +5 -0
  357. data/names/elektra.jpg +0 -0
  358. data/names/elektra.nam +7 -0
  359. data/names/nophoto.jpg +0 -0
  360. data/rwd_files/HowTo_Addresses.txt +259 -0
  361. data/rwd_files/HowTo_BigTinker.txt +146 -0
  362. data/rwd_files/HowTo_Gutenberg.txt +94 -0
  363. data/rwd_files/HowTo_HyperNote.txt +121 -0
  364. data/rwd_files/HowTo_RubyEval.html +80 -0
  365. data/rwd_files/HowTo_RwdCalc.txt +110 -0
  366. data/rwd_files/HowTo_Shell.txt +257 -0
  367. data/rwd_files/HowTo_Tinker.txt +425 -0
  368. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  369. data/rwd_files/HowTo_Words.txt +132 -0
  370. data/rwd_files/Readme.txt +57 -0
  371. data/rwd_files/RubyWebDialogs.html +6 -0
  372. data/rwd_files/contacttmp.jpg +0 -0
  373. data/rwd_files/favicon.ico +0 -0
  374. data/rwd_files/rdoc-style.css +175 -0
  375. data/rwd_files/rwdapplications.html +54 -0
  376. data/rwd_files/tinker.png +0 -0
  377. data/rwdconfig.dist +18 -0
  378. data/tests/RubyGauge.rb +179 -0
  379. data/tests/checkdepends.sh +4 -0
  380. data/tests/cleancnf.sh +5 -0
  381. data/tests/makedist.rb +59 -0
  382. data/tests/makerwdwaddresses-1.04.rb +40 -0
  383. data/tests/rdep.rb +354 -0
  384. data/tests/totranslate.lang +93 -0
  385. data/zips/rwdahelloworld-0.5.zip +0 -0
  386. metadata +447 -0
@@ -0,0 +1,33 @@
1
+ # this method puts the configuration rexord on the screen
2
+ def loadrwdshellconfiguration
3
+
4
+ require 'fileutils'
5
+
6
+ @a_rshellconfigurationfilename = "rwdshell.cnf"
7
+
8
+
9
+ begin # exception trapped block
10
+
11
+ Dir.chdir($progdir)
12
+ fileName = File.join(ConfigurationDir, "rwdshell.cnf")
13
+
14
+
15
+ fd = File.open(fileName,"r")
16
+ @a_rshellconfigline1= fd.readline.chomp
17
+ @a_rshellconfigline2 = fd.readline.chomp
18
+ @a_rshellconfigline3 = fd.readline.chomp
19
+ @a_rshellconfigline4 = fd.readline.chomp
20
+ @a_rshellconfigline5 = fd.readline.chomp
21
+ @a_rshellconfigline6 = fd.readline.chomp
22
+ @a_rshellconfigline7 =fd.readline.chomp
23
+ @a_rshellconfigline8 = fd.readline.chomp
24
+ @a_rshellconfigline9 = fd.readline.chomp
25
+
26
+
27
+
28
+ fd.close
29
+ rescue SystemCallError, StandardError
30
+ $stderr.print "system call error: " + $!
31
+ end # exception rescue
32
+
33
+ end
@@ -0,0 +1,13 @@
1
+ # this method loads the on screen variables into the running class
2
+ def loadrubyslippersconfigurationvariables
3
+
4
+ configfiletoload = File.join(ConfigurationDir,"rubyslippers.cnf")
5
+ begin
6
+ load configfiletoload
7
+ @extrarsconfigdatadisplay = ""
8
+ @newrsconfigurationresult = "Config Variables loaded"
9
+ rescue
10
+ @extrarsconfigdatadisplay = ""
11
+ @newrsconfigurationresult = "loading error"
12
+ end
13
+ end
@@ -0,0 +1,20 @@
1
+ # this method views an existing address record
2
+ def loadscriptrecord
3
+
4
+ require 'fileutils'
5
+ @a_tmpscriptfilename = $currentscriptname
6
+
7
+ begin # exception trapped block
8
+
9
+
10
+ fileName = $shellscript_directory + "/" + $currentscriptname + ".sh"
11
+
12
+ fd = File.open(fileName,"r")
13
+ @a_scriptfirstline = fd.readline.chomp
14
+ @a_scriptcommentline = fd.readline.chomp
15
+ fd.close
16
+ rescue SystemCallError, StandardError
17
+ $stderr.print "system call error: " + $!
18
+ end # exception rescue
19
+
20
+ end
@@ -0,0 +1,33 @@
1
+ # this code is to call the help window
2
+ def runhelpwindowrwdshell
3
+
4
+ $help_topic = "rwdshell_help"
5
+ if @rwd_tab == "scriptlister"
6
+ $help_topic = "rwdshell_help"
7
+ end
8
+
9
+ if @rwd_tab == "viewrwdshellconfiguration"
10
+ $help_topic = "ShellEnvironment_help"
11
+ end
12
+ if @rwd_tab == "EditScriptsrwdshell"
13
+ $help_topic = "shelledit_help"
14
+ end
15
+ if @rwd_tab == "editrubyrecordfile"
16
+ $help_topic = "shelledit_help"
17
+ end
18
+
19
+
20
+
21
+ $helptopicsarray = $helptopicsarray | ["rwdshell_help", "ShellEnvironment_help"]
22
+ $previouswindow = @rwd_window
23
+ $previoustab = @rwd_tab
24
+
25
+
26
+ if @rwd_window != "rwdtinkerhelpwindow"
27
+ $previouswindow = @rwd_window
28
+ $previoustab = @rwd_tab
29
+ end
30
+ runhelpwindow
31
+ end
32
+
33
+
@@ -0,0 +1,23 @@
1
+ def playrubyscript
2
+
3
+
4
+ nametext = "%s" % [@a_rubyscriptcmd]
5
+
6
+ begin # exception trapped block
7
+
8
+ fileName = $shellscript_directory + "/" + nametext + ".rb"
9
+
10
+
11
+ rubyfile_contents = File.read( fileName)
12
+ temp = eval( rubyfile_contents)
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+ rescue SystemCallError, StandardError
21
+ $stderr.print "system call error: " + $!
22
+ end # exception rescue
23
+ end
@@ -0,0 +1,23 @@
1
+ def playscript
2
+
3
+
4
+ nametext = "%s" % [@a_scriptcmd]
5
+
6
+ begin # exception trapped block
7
+
8
+ fileName = $shellscript_directory + "/" + nametext + ".sh"
9
+
10
+ fd = File.open(fileName,"r")
11
+
12
+
13
+ commandtext = fd.read
14
+ fd.close
15
+
16
+
17
+ @playscript_display = `#{commandtext}`
18
+
19
+
20
+ rescue SystemCallError, StandardError
21
+ $stderr.print "system call error: " + $!
22
+ end # exception rescue
23
+ end
@@ -0,0 +1,10 @@
1
+ # Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
2
+ #
3
+ # For more information about see http://www.rubyforge.net/projects/rwdapplications
4
+
5
+ # call the window
6
+ def returntomain
7
+ @rwd_window = "main"
8
+ @rwd_tab = "selectiontab"
9
+ end
10
+
@@ -0,0 +1,25 @@
1
+ $buffer = ''
2
+ def $buffer.write(str) # create a variable to use in rubyeval
3
+ self << str
4
+ end
5
+ def rubyeval
6
+ require 'Env'
7
+ require 'English'
8
+ commandtextruby = "%s " % [@a_rubyeval]
9
+ $tmpout = $stdout # save the original STDOUT
10
+ $stdout = $buffer
11
+ begin # begin rescue monitored block
12
+ eval( commandtextruby )
13
+
14
+ @rubydisplay = $stdout
15
+
16
+ $stdout = $tmpout # restore STDOUT to normal
17
+
18
+ rescue # process exeption
19
+ $stdout = $tmpout # restore STDOUT to normal
20
+ @rubydisplay = "\n" + "error in eval"
21
+ end # end of rescue process # of rescure monitored block
22
+
23
+
24
+ end
25
+
@@ -0,0 +1,10 @@
1
+ # Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
2
+ #
3
+ # For more information about see http://www.rubyforge.net/projects/rwdapplications
4
+
5
+ # call the window
6
+ def runrwdshellbackwindow
7
+ @rwd_window = "rwdshellbackwindow"
8
+ @rwd_tab = "viewrwdshellconfiguration"
9
+ end
10
+
@@ -0,0 +1,12 @@
1
+ # Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
2
+ # This application is a contact book
3
+ # For more information about see http://www.rubyforge.net/projects/rwdapplications
4
+
5
+ # call the window
6
+ def runrwdshellwindow
7
+
8
+ @rwd=window = "main"
9
+ @rwd_tab="scriptlister"
10
+
11
+ end
12
+
@@ -0,0 +1,14 @@
1
+ # Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
2
+ # This application is a framework for writing programs from RubyWebDialogs
3
+ # http://www.erikveen.dds.nl/rubywebdialogs/index.html
4
+ # For more information about RwdTinker see http://www.rubyforge.net/projects/rwdapplications
5
+
6
+ # return the version constant defined in the config file
7
+ def runrwdshellversion
8
+ @rwd_window = "applicationversion"
9
+ @versionappnamedisplay = "RwdShell"
10
+ @versioncopyrightdisplay = "(c) 2004 Steven Gibson "
11
+ @versionnumberdisplay = "Version " + RwdShellVersion
12
+
13
+ end
14
+
@@ -0,0 +1,19 @@
1
+
2
+ def savescriptrecord # this method adds a new script file
3
+ require 'fileutils'
4
+ if @a_tmpscriptfilename
5
+ newdata =@a_scriptfirstline.to_s + "\n #" + @a_scriptcommentline.to_s + "\n"
6
+ fullnewname = @a_tmpscriptfilename.to_s + ".sh"
7
+ begin # exception trapped block
8
+ fileName = File.join( $shellscript_directory, fullnewname )
9
+ fd = File.open(fileName,"w")
10
+ fd.print(newdata) # save the record info to the file
11
+ fd.close
12
+ @newdisplay=newdata # show the record info in the browser
13
+ $currentscriptname = "%s" % [@a_tmpscriptfilename] # grab the new filename to create
14
+
15
+ rescue
16
+ @newdisplay = "\n" + "system error in createnew method"
17
+ end # exception rescue
18
+ end
19
+ end # end of createnew
@@ -0,0 +1,18 @@
1
+ # this method adds a new address record
2
+ def saverubyslippersconfiguration
3
+ require 'fileutils'
4
+
5
+ newname = "rubyslippers.cnf" # grab the filename to create
6
+ newdata =@a_rsconfigline1.to_s + "\n" + @a_rsconfigline2.to_s + "\n" + @a_rsconfigline3.to_s + "\n" + @a_rsconfigline4.to_s + "\n" + @a_rsconfigline5.to_s + "\n" + @a_rsconfigline6.to_s + "\n" + @a_rsconfigline7.to_s + "\n" + @a_rsconfigline8.to_s + "\n" + @a_rsconfigline9.to_s + "\n"
7
+
8
+ begin # exception trapped block
9
+ fileName = File.join( ConfigurationDir, newname )
10
+ fd = File.open(fileName,"w")
11
+ fd.print(newdata) # save the record info to the file
12
+ fd.close
13
+ @newconfigurationresult=newdata # show the record info in the browser
14
+ rescue SystemCallError, StandardError
15
+ $stderr.print "system call error: " + $!
16
+ end # exception rescue
17
+
18
+ end
@@ -0,0 +1,20 @@
1
+
2
+
3
+ def shelleval
4
+
5
+ commandtext = "%s " % [@a_shelleval]
6
+
7
+ begin # exception trapped block
8
+ commandtextnext = File.join($shellscript_directory,commandtext)
9
+
10
+
11
+ @result =`#{commandtext}`
12
+
13
+ rescue SystemCallError, StandardError
14
+ $stderr.print "system call error: " + $!
15
+ end # exception rescue
16
+
17
+ end
18
+
19
+
20
+
@@ -0,0 +1,18 @@
1
+ def viewrubyscript
2
+ require 'fileutils'
3
+ $currentscriptname = "%s" % [@a_rubyscriptfilename]
4
+
5
+ begin # exception trapped block
6
+ fileName = $shellscript_directory+ "/" + $currentrubyscriptname + ".rb"
7
+
8
+ fd = File.open(fileName,"r")
9
+ @displayrubyscripttext = " "
10
+ while ! fd.eof?
11
+ @displayrubyscripttext = fd.read
12
+ end
13
+ fd.close
14
+ rescue
15
+ @displayrubyscripttext = "\n" + "error"
16
+ end # exception rescue
17
+
18
+ end
@@ -0,0 +1,18 @@
1
+ def viewscript
2
+ require 'fileutils'
3
+ $currentscriptname = "%s" % [@a_scriptfilename]
4
+
5
+ begin # exception trapped block
6
+ fileName = $shellscript_directory + "/" + $currentscriptname + ".sh"
7
+
8
+ fd = File.open(fileName,"r")
9
+ @displayscripttext = " "
10
+ while ! fd.eof?
11
+ @displayscripttext = fd.read
12
+ end
13
+ fd.close
14
+ rescue
15
+ @displayscripttext = "\n" + "error"
16
+ end # exception rescue
17
+
18
+ end
@@ -0,0 +1,96 @@
1
+ # Bind message passing socket to rwdtinker application
2
+ def runcontrolcommand
3
+ require 'socket'
4
+
5
+ # Change this line...
6
+ ip = '127.0.0.1'
7
+ # And this one...
8
+ port = $rwdcontrolport1
9
+ if @a_remoteportinput
10
+ port = @a_remoteportinput.to_i
11
+ end
12
+
13
+ commandtext = @a_remotecommandinput.to_s
14
+ remotehostnotfound = true
15
+ if (commandtext == "stop")
16
+ begin
17
+ client = UDPSocket::new()
18
+ client.send(commandtext, 0, ip, port)
19
+ @socket = UDPSocket::new()
20
+ @socket.bind(ip, port)
21
+ # Rescue the "Address in use" error
22
+ rescue Errno::EADDRINUSE
23
+
24
+ databack, info = client.recv(128)
25
+ @remotecommandresult = databack
26
+ @lastremotecommand = "rwdtinker remote:: Port #{port} on host #{ip} ."
27
+ remotehostnotfound = false
28
+
29
+ # Rescue the "Address not available" error
30
+ rescue Errno::EADDRNOTAVAIL
31
+ puts "Network plugin: Address #{host} is not available to bind."
32
+
33
+ # Rescue "permission denied errors
34
+ rescue Errno::EACCES
35
+ puts "Network plugin: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
36
+
37
+ # Rescue all other errors
38
+ rescue
39
+ puts "Network plugin: An error occured."
40
+
41
+ # Rescue all other errors
42
+ end
43
+ if remotehostnotfound
44
+ @remotecommandresult = "Remote Host not running"
45
+ end
46
+ @socket.close
47
+ # Close the socket after use
48
+ client.close()
49
+ end
50
+
51
+ remotehostnotfound = true
52
+ if (commandtext == "query")
53
+ begin
54
+ client = UDPSocket::new()
55
+ client.send(commandtext, 0, ip, port)
56
+ @socket = UDPSocket::new()
57
+ @socket.bind(ip, port)
58
+ # Rescue the "Address in use" error
59
+ rescue Errno::EADDRINUSE
60
+
61
+ databack, info = client.recv(128)
62
+ @remotecommandresult = databack
63
+ @lastremotecommand = "rwdtinker remote: Port #{port} on host #{ip} "
64
+ remotehostnotfound = false
65
+
66
+ # Rescue the "Address not available' error
67
+ rescue Errno::EADDRNOTAVAIL
68
+ puts "Network plugin: Address #{host} is not available to bind."
69
+
70
+ # Rescue "permission denied errors
71
+ rescue Errno::EACCES
72
+ puts "Network plugin: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
73
+
74
+ # Rescue all other errors
75
+ rescue
76
+ puts "Network plugin: An error occured."
77
+
78
+ # Rescue all other errors
79
+ end
80
+ @socket.close
81
+
82
+ # Close the socket after use
83
+ client.close()
84
+ end
85
+
86
+ if remotehostnotfound
87
+ @remotecommandresult = "Remote Host not running"
88
+ end
89
+ end
90
+
91
+ # list the remote control options on the screen
92
+ def showremoteportoptions
93
+
94
+ @remoteportoptions = $rwdcontrolports.rwd_options
95
+ @remotecommandoptions = ["query","stop"].rwd_options
96
+ end
@@ -0,0 +1,19 @@
1
+ # Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
2
+ # This application is a framework for writing programs from RubyWebDialogs
3
+ # For information see http://www.rubyforge.net/projects/rwdapplications
4
+
5
+ require 'resolv'
6
+ require 'date'
7
+
8
+ # return the platform information
9
+ def runviewplatform
10
+ @platformdisplay = "Platform is " + RUBY_PLATFORM + "\n"
11
+ @platformdisplay = @platformdisplay + "Ruby Version " + VERSION + "\n"
12
+ @platformdisplay = @platformdisplay + "rwdtinker version " + RwdTinkerVersion + "\n"
13
+ @platformdisplay = @platformdisplay + "program directory " + $progdir + "\n"
14
+ @platformdisplay = @platformdisplay + "hostname " + Resolv.getname(Resolv.getaddress("localhost")) + "\n"
15
+ @platformdisplay = @platformdisplay + "application name " + $rwdapplicationidentity + "\n"
16
+ @platformdisplay = @platformdisplay + "Date " + Date.today().to_s
17
+
18
+ end
19
+
@@ -0,0 +1,61 @@
1
+ # help text files used by context sensitive help
2
+
3
+ Helptext.update( :tinkerwin2_help => " You can view the list of applets you can install
4
+ by clicking on the list files button
5
+
6
+ You can download an applet created by someone else
7
+
8
+ put the file in the zips directory
9
+
10
+ rwdtinker applets packaged as RubyGems can be used if you have RubyGems installed.
11
+ You can download rwdtinker gems at the 'Install Remote Applets' tab
12
+ to install applets you need the ruby zlib library installed
13
+ ",
14
+ :applet_viewing => "You can get a list of all installed applets by clicking the 'listfiles button'
15
+ To see the text of a install file
16
+ Type in the name of the file you want.
17
+
18
+ type it without the inf ending
19
+ rwdapplet-0.1
20
+
21
+ Then click the 'View Installed File' button
22
+
23
+ If it finds the file it will open it. It displays the text the search box.
24
+
25
+ You can uninstall applets on this screen",
26
+
27
+ :applet_installation => " You can download an applet created by someone else\n
28
+ put the file in the zips directory\n
29
+
30
+ click on the 'list zips' tab\n
31
+ click on 'list applets available for installing'\n
32
+
33
+ chose the applet you want\n
34
+ click on 'install applet'\n
35
+ If all goes well the applet should be installed.\n
36
+ You will need to restart rwdtinker to see the new screens
37
+ to install applets you need the ruby zlib library installed",
38
+
39
+ :applet_tinkerbackeditconfiguration => " You can edit the configuration
40
+
41
+ Remember to reload the configuration variables if you want your
42
+ changes used.",
43
+ :remotegemapplet_install => " To download and install use the 'Install Remote Applets'
44
+
45
+ First click on 'List applets in the Remote GEM Repository available for downloading'
46
+ then go to the very bottom to click on the applet you want
47
+ then on the top click 'install remote Gem applet package'
48
+
49
+ This installs the package in the Gem system
50
+ You still need to install it into rwdtinker - do that in the 'List Zips' tab
51
+
52
+ For this feature to work, you need
53
+ RubyGems installed
54
+ Variables set correctly in the tinerwin2.cnf file
55
+ $xpcommand, $gemdirectory_withgemfiles and $geminstalled_directory
56
+ the defaults as shipped will normally be for a Debian Linux system
57
+ On Debian Linux, you would usually need to be running rwdtinker as root in order to install RubyGems
58
+
59
+ You can view the list of rwdtinker applets you have installed already by clicking 'view already installed GEM applets'
60
+ "
61
+ )
@@ -0,0 +1,25 @@
1
+ # code in install rwdtinker applets - now uses ruby.zip module
2
+ def installapplet
3
+
4
+ nametext = "%s" % [@a_installapplet]
5
+
6
+ begin # exception trapped block
7
+
8
+
9
+ require 'extras/zip/zip'
10
+ fullname = nametext + ".zip"
11
+ fileName = File.join($zipslocation,fullname)
12
+
13
+ zf = Zip::ZipFile.new(fileName)
14
+ zf.sort.each {
15
+ |entry|
16
+ zf.extract(entry.to_s, entry.to_s)
17
+ }
18
+ @installapplettext = Message[:applet_installed]
19
+
20
+ rescue
21
+ @installapplettext = "unzip error - applet may not be installed correctly"
22
+ end # exception rescue
23
+
24
+ end
25
+
@@ -0,0 +1,21 @@
1
+ # install rwdtinker applet from a long directory location
2
+ def installgemapplet
3
+ require 'fileutils'
4
+ require 'extras/zip/zip'
5
+ nametext = "%s" % [@a_installapplet]
6
+
7
+ begin # exception trapped block
8
+ fullname = nametext + ".zip"
9
+
10
+ zf = Zip::ZipFile.new(fullname)
11
+ zf.sort.each {
12
+ |entry|
13
+ zf.extract(entry.to_s, entry.to_s)
14
+ }
15
+ @installapplettext = Message[:applet_installed]
16
+
17
+ rescue
18
+ @installapplettext = "unzip error - applet may not be installed correctly"
19
+ end # exception rescue
20
+ end
21
+
@@ -0,0 +1,20 @@
1
+ # download gem of rwdtinker applet
2
+ def superantcominstallremotegemapplet
3
+ require 'fileutils'
4
+
5
+ tempnametext = "%s" % [@superantcominstallremoteappletinput]
6
+ temparray = tempnametext.split(/ /)
7
+ nametext = temparray[0]
8
+ begin # exception trapped block
9
+
10
+
11
+ commandline = $xpcommand + "gem install " + nametext
12
+
13
+ @superantcominstallremotegemappletresult = `#{commandline}`
14
+
15
+ rescue
16
+ @superantcominstallremotegemappletresult = "error during gem install!"
17
+ end # exception rescue
18
+
19
+ end
20
+
@@ -0,0 +1,12 @@
1
+ # this code is to list the gem directories that are installed
2
+ def superantcomshowgemfiledirs
3
+
4
+ fileList = Dir.new($gemdirectory_withgemfiles).entries.sort.delete_if { |x| ! (x =~ /\Arwdzip/) }
5
+ @superantcomshowgemappletdirsresult = fileList.rwd_method("superantcomshowgemappletdirsname")
6
+ end
7
+
8
+ def superantcomshowgemappletdirsname(inffile)
9
+ applet = inffile
10
+ @a_gemfiledirsinput = applet
11
+
12
+ end
@@ -0,0 +1,53 @@
1
+ # this code is to list the zips
2
+ def fillzipappletname(inffile)
3
+ applet = inffile.gsub(/\.zip$/, "")
4
+ @a_installapplet = applet
5
+
6
+ end
7
+
8
+ def findzipfiles(d)
9
+ a = Array.new(Dir[d].entries.sort)
10
+ #loop through and get the files names
11
+ a.each do |x|
12
+ #adjust the filters to the files you want to see...
13
+ if(!test(?d,x))
14
+ # only zip files
15
+ if x =~ /\.zip/
16
+ puts "#{x}" #opens the file thats in fileName as read only
17
+ $zipsarray = $zipsarray | ["#{x}"]
18
+ end
19
+ end
20
+ end
21
+ end
22
+
23
+ def listgemzips
24
+ startlangdir = $geminstalled_directory
25
+ #get a list of the files and subdirectories on the starting directory only
26
+ alanghash = Array.new(Dir[startlangdir].entries.sort)
27
+ p alanghash
28
+ #loop through the list, ignore the files and add all new directories found
29
+ alanghash.each do |x|
30
+ #if a directory...
31
+ if(test(?d,x))
32
+ # add to the original list of directories
33
+ @@tmproot = x + "/**"
34
+ #adds the new ones to the array
35
+ blanghash = Dir[@@tmproot].entries.sort
36
+ blanghash.each do |x|
37
+ if(test(?d,x))
38
+ alanghash.push(x) #appends to the end of the array...
39
+ end
40
+ end
41
+ end
42
+ end
43
+ alanghash.each do |x|
44
+ #if it is a file...
45
+ if(!test(?d,x))
46
+ alanghash.delete(x)
47
+ else #it is a directory...
48
+ findzipfiles(x + "/**")
49
+ end
50
+ end
51
+ @zipslistresult = $zipsarray.rwd_method("fillzipappletname")
52
+ end
53
+
@@ -0,0 +1,12 @@
1
+ # this code is to list the applets that are installed
2
+ def listinstalledfiles
3
+ fileList = Dir.new("installed").entries.sort.reverse.delete_if { |x| ! (x =~ /inf$/) }
4
+ @filesresult = fileList.rwd_method("fillappletname")
5
+ end
6
+
7
+ def fillappletname(inffile)
8
+ applet = inffile.gsub(/\.inf$/, "")
9
+ @a_installlist = applet
10
+ @a_removeapplet = applet
11
+ end
12
+