bigtinker 0.94 → 0.95

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 (456) hide show
  1. data/Readme.txt +377 -66
  2. data/{lib/temp.rb → bigtinker.rb} +0 -0
  3. data/code/01rwdcore/01rwdcore.rb +4 -0
  4. data/code/01rwdcore/02helptexthashbegin.rb +0 -0
  5. data/code/01rwdcore/03helptexthash.rb +13 -21
  6. data/code/01rwdcore/04helptextend.rb +0 -0
  7. data/code/01rwdcore/jumplinkcommand.rb +1 -1
  8. data/code/01rwdcore/openhelpwindow.rb +1 -1
  9. data/code/01rwdcore/returntomain.rb +0 -0
  10. data/code/01rwdcore/rundocuments.rb +0 -0
  11. data/code/01rwdcore/runeditconfiguration.rb +0 -0
  12. data/code/01rwdcore/runhelpabout.rb +0 -0
  13. data/code/01rwdcore/runopentinkerdocument.rb +0 -0
  14. data/code/01rwdcore/rwdtinkerversion.rb +1 -1
  15. data/code/01rwdcore/rwdwindowreturn.rb +0 -0
  16. data/code/01rwdcore/selectiontab.rb +0 -0
  17. data/code/01rwdcore/setuphelpaboutoptions.rb +0 -0
  18. data/code/01rwdcore/setuptinkerdocuments.rb +0 -0
  19. data/code/01rwdcore/test_cases.rb +0 -0
  20. data/code/01rwdcore/test_harness.rb +0 -0
  21. data/code/01rwdcore/uploadreturns.rb +0 -0
  22. data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
  23. data/code/superant.com.bigtinker/rwdtinkerversion.rb +1 -1
  24. data/code/superant.com.rwdcalendar/gh9calendar.rb +0 -0
  25. data/code/superant.com.rwdcalendar/helptexthashrwdschedule.rb +0 -0
  26. data/code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb +0 -0
  27. data/code/superant.com.rwdshell/0uninstallapplet.rb +16 -0
  28. data/code/superant.com.rwdshell/changescriptname.rb +0 -0
  29. data/code/{superant.com.rwdcalc/clearrubyscriptscreendisplay.rb → superant.com.rwdshell/clearrubyscreendisplay.rb} +1 -3
  30. data/code/superant.com.rwdshell/clearscriptscreendisplay.rb +0 -0
  31. data/code/superant.com.rwdshell/deletescriptrecord.rb +0 -0
  32. data/code/superant.com.rwdshell/helptexthashshell.rb +0 -0
  33. data/code/superant.com.rwdshell/listrubyscripts.rb +0 -0
  34. data/code/superant.com.rwdshell/listscripts.rb +0 -0
  35. data/code/superant.com.rwdshell/loadconfigurationrecord.rb +6 -13
  36. data/code/superant.com.rwdshell/loadconfigurationvariables.rb +6 -5
  37. data/code/{superant.com.rwdcalc/loadrubyrecord.rb → superant.com.rwdshell/loadrubyscriptrecord.rb} +3 -3
  38. data/code/superant.com.rwdshell/loadscriptrecord.rb +0 -0
  39. data/code/superant.com.rwdshell/openhelpwindowshell.rb +0 -0
  40. data/code/superant.com.rwdshell/playrubyscript.rb +0 -0
  41. data/code/superant.com.rwdshell/playscript.rb +0 -0
  42. data/code/superant.com.rwdshell/returntomain.rb +0 -0
  43. data/code/superant.com.rwdshell/rubyeval.rb +14 -11
  44. data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +0 -0
  45. data/code/superant.com.rwdshell/runrwdshellwindow.rb +3 -3
  46. data/code/{superant.com.words → superant.com.rwdshell}/rwdtinkerversion.rb +3 -3
  47. data/code/superant.com.rwdshell/savechangedscript.rb +0 -0
  48. data/code/superant.com.rwdshell/saveconfigurationrecord.rb +5 -5
  49. data/code/{superant.com.rwdcalc/saverubyscript.rb → superant.com.rwdshell/saverubyrecord.rb} +4 -5
  50. data/code/superant.com.rwdshell/shelleval.rb +0 -0
  51. data/code/{superant.com.rwdaddresses → superant.com.rwdshell}/test_cases.rb +11 -12
  52. data/code/superant.com.rwdshell/viewrubyscript.rb +0 -0
  53. data/code/superant.com.rwdshell/viewscript.rb +0 -0
  54. data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +0 -0
  55. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -0
  56. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +240 -0
  57. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +18 -5
  58. data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +0 -0
  59. data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +0 -0
  60. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +1 -1
  61. data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +0 -0
  62. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +1 -1
  63. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +1 -18
  64. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +0 -0
  65. data/code/superant.com.rwdtinkerbackwindow/network.rb +0 -0
  66. data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +0 -0
  67. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +1 -5
  68. data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +0 -0
  69. data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +19 -6
  70. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
  71. data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +0 -0
  72. data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +4 -0
  73. data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +0 -0
  74. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +2 -5
  75. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -1
  76. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +1 -1
  77. data/code/superant.com.schedule/0uninstallapplet.rb +15 -0
  78. data/code/{superant.com.hypernote → superant.com.schedule}/archiveevent.rb +0 -0
  79. data/code/superant.com.schedule/archiveicsevent.rb +14 -0
  80. data/code/superant.com.schedule/cleareventscreendisplay.rb +19 -0
  81. data/code/superant.com.schedule/deleteeventrecord.rb +19 -0
  82. data/code/superant.com.schedule/deleteicseventrecord.rb +19 -0
  83. data/code/superant.com.schedule/deleterwdscheduleupdatefiles.rb +20 -0
  84. data/code/superant.com.schedule/downloadrwdschedulefiles.rb +37 -0
  85. data/code/superant.com.schedule/exporticseventrecord.rb +97 -0
  86. data/code/superant.com.schedule/helptexthashrwdschedule.rb +82 -0
  87. data/code/superant.com.schedule/listeventdates.rb +19 -0
  88. data/code/superant.com.schedule/listicseventdates.rb +19 -0
  89. data/code/superant.com.schedule/loadconfigurationrecord.rb +22 -0
  90. data/code/superant.com.schedule/loadconfigurationvariables.rb +14 -0
  91. data/code/superant.com.schedule/loadeventrecord.rb +38 -0
  92. data/code/superant.com.schedule/loadicseventrecord.rb +30 -0
  93. data/code/superant.com.schedule/openhelpwindowrwdschedule.rb +43 -0
  94. data/code/superant.com.schedule/renameeventdata.rb +14 -0
  95. data/code/superant.com.schedule/renameicseventdata.rb +17 -0
  96. data/code/{superant.com.hypernote → superant.com.schedule}/returntomain.rb +2 -2
  97. data/code/{superant.com.words/runrwdwordsbackwindow.rb → superant.com.schedule/runrwdscheduleicsbackwindow.rb} +3 -3
  98. data/code/superant.com.schedule/runrwdschedulemenu1.rb +34 -0
  99. data/code/{superant.com.rwdcalc/runrwdcalcwindow.rb → superant.com.schedule/runrwdschedulesyncbackwindow.rb} +9 -9
  100. data/code/{superant.com.hypernote/rwdtinkerversion.rb → superant.com.schedule/rwdmoviesversion.rb} +2 -2
  101. data/code/{superant.com.hypernote → superant.com.schedule}/saveconfigurationrecord.rb +4 -3
  102. data/code/superant.com.schedule/saveeventrecord.rb +25 -0
  103. data/code/superant.com.schedule/saveicseventrecord.rb +98 -0
  104. data/code/superant.com.schedule/syncrwdschedule.rb +30 -0
  105. data/code/superant.com.schedule/test_cases.rb +45 -0
  106. data/code/superant.com.schedule/uploadrwdschedulefiles.rb +30 -0
  107. data/code/superant.com.schedule/viewevent.rb +20 -0
  108. data/code/superant.com.schedule/viewicsevent.rb +20 -0
  109. data/code/superant.com.schedule/viewrwdschedulesconfiguration.rb +21 -0
  110. data/code/zz0applicationend/zz0end.rb +0 -0
  111. data/configuration/bigtinker.dist +2 -2
  112. data/configuration/language.dist +2 -1
  113. data/configuration/rwdapplicationidentity.dist +1 -1
  114. data/configuration/rwdtinker.dist +5 -6
  115. data/configuration/rwdwschedule-1.04.dist +25 -0
  116. data/configuration/rwdwshell-1.04.dist +16 -0
  117. data/configuration/tinkerwin2variables.dist +1 -1
  118. data/extras/cal.rb +0 -0
  119. data/extras/icalendar/base.rb +0 -0
  120. data/extras/icalendar/calendar.rb +0 -0
  121. data/extras/icalendar/calendar_parser.rb +0 -0
  122. data/extras/icalendar/component/alarm.rb +0 -0
  123. data/extras/icalendar/component/event.rb +0 -0
  124. data/extras/icalendar/component/freebusy.rb +0 -0
  125. data/extras/icalendar/component/journal.rb +0 -0
  126. data/extras/icalendar/component/timezone.rb +0 -0
  127. data/extras/icalendar/component/todo.rb +0 -0
  128. data/extras/icalendar/component.rb +0 -0
  129. data/extras/icalendar/helpers.rb +0 -0
  130. data/extras/icalendar/parameter.rb +0 -0
  131. data/extras/icalendar.rb +0 -0
  132. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  133. data/gui/frontwindow0/cc0openphoto.rwd +22 -0
  134. data/gui/{frontwindowselectionbegin/selectiontabbegin → frontwindowselections}/00selectiontabbegin.rwd +1 -1
  135. data/gui/frontwindowselections/jumplinkcommands.rwd +15 -0
  136. data/gui/{frontwindowselectionzend/viewselectionzend → frontwindowselections}/wwselectionend.rwd +0 -0
  137. data/gui/{frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd → frontwindowtdocuments/00documentbegin.rwd} +0 -0
  138. data/gui/frontwindowtdocuments/{superant.com.documents/tinkerdocuments.rwd → tinkerdocuments.rwd} +2 -2
  139. data/gui/{helpaboutbegin/superant.com.helpaboutbegin → frontwindowtdocuments}/zzdocumentend.rwd +1 -1
  140. data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzrwdlasttab.rwd → zzzrwdlasttab.rwd} +0 -0
  141. data/gui/helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
  142. data/gui/helpaboutbegin/zzzzzzhelpabouttab.rwd +15 -0
  143. data/gui/helpaboutzend/{superant.com.helpaboutend/helpscreenend.rwd → helpscreenend.rwd} +0 -0
  144. data/gui/helpaboutzend/zhelpscreenstart2.rwd +3 -0
  145. data/gui/helpaboutzend/zzzzhelpabout2.rwd +15 -0
  146. data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpscreen2end.rwd → zzzzhelpscreen2end.rwd} +0 -0
  147. data/gui/tinkerbackwindows/superant.com.ashellscripts/1appname.rwd +5 -0
  148. data/gui/{frontwindow0/superant.com.shellscripts/cb7rwdrubyeval.rwd → tinkerbackwindows/superant.com.ashellscripts/1rwdrubyeval.rwd} +3 -2
  149. data/gui/{frontwindow0/superant.com.shellscripts/1listplayscripts.rwd → tinkerbackwindows/superant.com.ashellscripts/2listplayscripts.rwd} +0 -0
  150. data/gui/{frontwindow0/superant.com.shellscripts → tinkerbackwindows/superant.com.ashellscripts}/2listscripts.rwd +0 -0
  151. data/gui/{frontwindow0/superant.com.shellscripts → tinkerbackwindows/superant.com.ashellscripts}/3editscripts.rwd +0 -0
  152. data/gui/{frontwindow0/superant.com.shellscripts → tinkerbackwindows/superant.com.ashellscripts}/4scriptutilities.rwd +0 -0
  153. data/gui/{frontwindow0/superant.com.shellscripts → tinkerbackwindows/superant.com.ashellscripts}/6rwdshelleval.rwd +0 -0
  154. data/gui/tinkerbackwindows/{superant.com.rwdcalc/81jumplinkcommands.rwd → superant.com.ashellscripts/98jumplinkcommands.rwd} +0 -0
  155. data/gui/tinkerbackwindows/{superant.com.hypernote → superant.com.ashellscripts}/zbackend.rwd +0 -0
  156. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +5 -0
  157. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +45 -0
  158. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/67viewconfiguration.rwd +29 -0
  159. data/gui/tinkerbackwindows/{superant.com.rwdaddressessyncbackwindow → superant.com.rwdschedulebackwindow}/70rwddiagnostics.rwd +16 -23
  160. data/gui/tinkerbackwindows/{superant.com.hypernote → superant.com.rwdschedulebackwindow}/m01menubegin.rwd +1 -1
  161. data/gui/tinkerbackwindows/{superant.com.gutenberg → superant.com.rwdschedulebackwindow}/zvbackend.rwd +6 -6
  162. data/gui/tinkerbackwindows/superant.com.rwdschedules/1appname.rwd +5 -0
  163. data/gui/tinkerbackwindows/superant.com.rwdschedules/gg0viewevent.rwd +27 -0
  164. data/gui/tinkerbackwindows/superant.com.rwdschedules/gl6editrecord.rwd +56 -0
  165. data/gui/tinkerbackwindows/superant.com.rwdschedules/gl8contactutilities.rwd +25 -0
  166. data/gui/{frontwindow0/superant.com.rwdcalendar → tinkerbackwindows/superant.com.rwdschedules}/hl9calendar.rwd +1 -1
  167. data/gui/tinkerbackwindows/{superant.com.rwdaddresses → superant.com.rwdschedules}/m01menubegin.rwd +1 -1
  168. data/gui/tinkerbackwindows/{superant.com.rwdaddressessyncbackwindow → superant.com.rwdschedules}/zvbackend.rwd +6 -6
  169. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/1appname.rwd +5 -0
  170. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/30viewevent.rwd +27 -0
  171. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/40editrecord.rwd +49 -0
  172. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/60eventicsutilities.rwd +25 -0
  173. data/gui/tinkerbackwindows/{superant.com.gutenberg/77jumplinkcommands.rwd → superant.com.rwdschedulesback/m01menubegin.rwd} +5 -4
  174. data/gui/tinkerbackwindows/{superant.com.rwdaddresses → superant.com.rwdschedulesback}/zvbackend.rwd +6 -6
  175. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +0 -0
  176. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd +0 -0
  177. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd +0 -0
  178. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/46editscriptrecord.rwd +0 -0
  179. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +4 -10
  180. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/94rwddiagnostics.rwd +0 -0
  181. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/98jumplinkcommands.rwd +0 -0
  182. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +0 -0
  183. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +1 -1
  184. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +9 -10
  185. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +5 -5
  186. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +9 -9
  187. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +3 -17
  188. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +1 -1
  189. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +4 -4
  190. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +0 -0
  191. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +1 -1
  192. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +0 -0
  193. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +2 -2
  194. data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +3 -3
  195. data/gui/zzcoreguiend/{tinkerapplicationguiend/yy9rwdend.rwd → yy9rwdend.rwd} +0 -0
  196. data/init.rb +7 -7
  197. data/installed/rwdscheduledate2.inf +6 -0
  198. data/installed/rwdshelldata1.inf +6 -0
  199. data/installed/rwdwschedule-1.04.inf +17 -0
  200. data/installed/rwdwshell-1.04.inf +11 -0
  201. data/{updates → installed}/temp.rb +0 -0
  202. data/lang/en/rwdcalendar/calendar-en.rb +0 -0
  203. data/lang/en/rwdcore/languagefile.rb +57 -15
  204. data/lang/es/rwdcalendar/calendar-nl.rb +0 -0
  205. data/lang/es/rwdcore/languagefile-es.rb +61 -13
  206. data/lang/fr/rwdcore/languagefile.rb +64 -0
  207. data/lang/jp/rwdcore/languagefile.rb +69 -6
  208. data/lang/nl/rwdcalendar/calendar-nl.rb +0 -0
  209. data/lang/nl/rwdcore/languagefile.rb +56 -0
  210. data/{extras → lib}/rconftool.rb +0 -0
  211. data/{ev → lib/rwd}/browser.rb +2 -2
  212. data/{ev → lib/rwd}/ftools.rb +0 -0
  213. data/{ev → lib/rwd}/mime.rb +0 -0
  214. data/{ev → lib/rwd}/net.rb +5 -5
  215. data/{ev → lib/rwd}/ruby.rb +0 -0
  216. data/{ev → lib/rwd}/rwd.rb +37 -17
  217. data/{ev → lib/rwd}/sgml.rb +1 -1
  218. data/{ev → lib/rwd}/thread.rb +1 -1
  219. data/{ev → lib/rwd}/tree.rb +2 -2
  220. data/{ev → lib/rwd}/xml.rb +1 -1
  221. data/{extras → lib}/zip/ioextras.rb +0 -0
  222. data/{extras → lib}/zip/stdrubyext.rb +0 -0
  223. data/{extras → lib}/zip/tempfile_bugfixed.rb +0 -0
  224. data/{extras → lib}/zip/zip.rb +5 -4
  225. data/{extras → lib}/zip/zipfilesystem.rb +0 -0
  226. data/{extras → lib}/zip/ziprequire.rb +0 -0
  227. data/rwd_files/HowTo_RubyEval.html +0 -0
  228. data/rwd_files/HowTo_Schedule.txt +257 -0
  229. data/rwd_files/HowTo_Shell.txt +33 -1
  230. data/rwd_files/HowTo_Tinker.txt +46 -0
  231. data/rwd_files/HowTo_TinkerWin2.txt +0 -0
  232. data/rwd_files/Readme.txt +0 -0
  233. data/rwd_files/RubyWebDialogs.html +0 -0
  234. data/rwd_files/favicon.ico +0 -0
  235. data/rwd_files/rdoc-style.css +0 -0
  236. data/rwd_files/rwdapplications.html +0 -0
  237. data/rwd_files/tinker.png +0 -0
  238. data/rwdconfig.dist +7 -4
  239. data/scripts/date.sh +0 -0
  240. data/scripts/echo2.sh +0 -0
  241. data/scripts/lister.sh +0 -0
  242. data/scripts/test02.rb +0 -0
  243. data/scripts/uname.sh +0 -0
  244. data/tests/checkdepends.sh +0 -0
  245. data/tests/cleancnf.sh +2 -1
  246. data/tests/makedist-rwdwhypernote.rb +56 -0
  247. data/tests/makedist-rwdwshell.rb +56 -0
  248. data/tests/makedist.rb +11 -5
  249. data/tests/rdep.rb +0 -0
  250. data/tests/totranslate.lang +0 -0
  251. data/zips/rwdwaddresses-1.05.zip +0 -0
  252. data/zips/rwdwcalc-0.61.zip +0 -0
  253. data/zips/rwdwgutenberg-0.09.zip +0 -0
  254. data/zips/rwdwschedule-1.04.zip +0 -0
  255. data/zips/rwdwshell-1.04.zip +0 -0
  256. data/zips/temp.rb +1 -0
  257. data/zips/wrubyslippers-1.06.zip +0 -0
  258. metadata +128 -272
  259. data/Books/Mariposa.gut +0 -2
  260. data/Books/marip10.txt +0 -2598
  261. data/Notes/changes.lnk +0 -1
  262. data/Notes/changes.txt +0 -1
  263. data/Notes/hypernote/hypernote01.txt +0 -1
  264. data/Notes/hypernote/hypernote02.txt +0 -1
  265. data/Notes/hypernote/newnote3.txt +0 -2
  266. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +0 -1
  267. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.txt +0 -11
  268. data/Notes/rwdtinker/newnote.txt +0 -1
  269. data/Notes/rwdtinker/rwdtinker01.txt +0 -9
  270. data/Notes/rwdtinker/testnote2.txt +0 -1
  271. data/code/superant.com.gutenberg/changegutenbergname.rb +0 -16
  272. data/code/superant.com.gutenberg/clearbookscreendisplay.rb +0 -8
  273. data/code/superant.com.gutenberg/copyfilename.rb +0 -24
  274. data/code/superant.com.gutenberg/createnewnote.rb +0 -23
  275. data/code/superant.com.gutenberg/deletegutenbergrecord.rb +0 -21
  276. data/code/superant.com.gutenberg/gutenbergcreatefile.rb +0 -9
  277. data/code/superant.com.gutenberg/helptexthashrwdgutenberg.rb +0 -41
  278. data/code/superant.com.gutenberg/jumplinkupdate.rb +0 -7
  279. data/code/superant.com.gutenberg/listnamerecord.rb +0 -15
  280. data/code/superant.com.gutenberg/listtextfilesgutenberg.rb +0 -58
  281. data/code/superant.com.gutenberg/loadbookrecord.rb +0 -21
  282. data/code/superant.com.gutenberg/loadconfigurationrecord.rb +0 -36
  283. data/code/superant.com.gutenberg/loadconfigurationvariables.rb +0 -13
  284. data/code/superant.com.gutenberg/openhelpwindowgutenberg.rb +0 -29
  285. data/code/superant.com.gutenberg/returntomain.rb +0 -10
  286. data/code/superant.com.gutenberg/runbackwindow.rb +0 -10
  287. data/code/superant.com.gutenberg/rungutenbergwindow.rb +0 -57
  288. data/code/superant.com.gutenberg/rwdgutenbergbackward.rb +0 -27
  289. data/code/superant.com.gutenberg/rwdhypernotehelpabout.rb +0 -14
  290. data/code/superant.com.gutenberg/rwdtinkerversion.rb +0 -10
  291. data/code/superant.com.gutenberg/saveconfigurationrecord.rb +0 -18
  292. data/code/superant.com.gutenberg/savegutenbergrecord.rb +0 -20
  293. data/code/superant.com.gutenberg/savelinkrecord.rb +0 -23
  294. data/code/superant.com.hypernote/changehypernotename.rb +0 -21
  295. data/code/superant.com.hypernote/clearhypernotescreendisplay.rb +0 -8
  296. data/code/superant.com.hypernote/clearlinkscreendisplay.rb +0 -8
  297. data/code/superant.com.hypernote/copyfilename.rb +0 -10
  298. data/code/superant.com.hypernote/createnewnote.rb +0 -14
  299. data/code/superant.com.hypernote/deletehypernoterecord.rb +0 -20
  300. data/code/superant.com.hypernote/helptexthashrwdhypernote.rb +0 -74
  301. data/code/superant.com.hypernote/hyperlinkcreatelinkfile.rb +0 -19
  302. data/code/superant.com.hypernote/jumplinkupdate.rb +0 -7
  303. data/code/superant.com.hypernote/listhypernotelinks.rb +0 -55
  304. data/code/superant.com.hypernote/listhypernotes.rb +0 -63
  305. data/code/superant.com.hypernote/listlinknotes.rb +0 -33
  306. data/code/superant.com.hypernote/loadconfigurationrecord.rb +0 -34
  307. data/code/superant.com.hypernote/loadconfigurationvariables.rb +0 -13
  308. data/code/superant.com.hypernote/loadlinksrecord.rb +0 -21
  309. data/code/superant.com.hypernote/loadnoterecord.rb +0 -24
  310. data/code/superant.com.hypernote/openhelpwindowrwdhyernote.rb +0 -34
  311. data/code/superant.com.hypernote/runrwdhypernotconfiguration.rb +0 -12
  312. data/code/superant.com.hypernote/runrwdhypernotebackwindow.rb +0 -12
  313. data/code/superant.com.hypernote/rwdhypernotehelpabout.rb +0 -14
  314. data/code/superant.com.hypernote/savehypernoterecord.rb +0 -20
  315. data/code/superant.com.hypernote/savelinkrecord.rb +0 -23
  316. data/code/superant.com.rwdaddresses/attachtmpcontactphoto.rb +0 -24
  317. data/code/superant.com.rwdaddresses/clearscreendisplay.rb +0 -15
  318. data/code/superant.com.rwdaddresses/createnewnamerecord.rb +0 -19
  319. data/code/superant.com.rwdaddresses/deletecontactrecord.rb +0 -25
  320. data/code/superant.com.rwdaddresses/deleterwdaddressesupdatefiles.rb +0 -19
  321. data/code/superant.com.rwdaddresses/downloadrwdaddressfiles.rb +0 -36
  322. data/code/superant.com.rwdaddresses/helptexthashrwdaddresses.rb +0 -69
  323. data/code/superant.com.rwdaddresses/jumplinkupdate.rb +0 -9
  324. data/code/superant.com.rwdaddresses/listnamerecord.rb +0 -15
  325. data/code/superant.com.rwdaddresses/listvcardrecord.rb +0 -15
  326. data/code/superant.com.rwdaddresses/loadconfigurationrecord.rb +0 -45
  327. data/code/superant.com.rwdaddresses/loadconfigurationvariables.rb +0 -14
  328. data/code/superant.com.rwdaddresses/loadnamerecord.rb +0 -30
  329. data/code/superant.com.rwdaddresses/openhelpwindowrwdaddresses.rb +0 -30
  330. data/code/superant.com.rwdaddresses/renamecontact.rb +0 -15
  331. data/code/superant.com.rwdaddresses/runaddresseswindow.rb +0 -10
  332. data/code/superant.com.rwdaddresses/runrwdaddressesmenu1.rb +0 -34
  333. data/code/superant.com.rwdaddresses/runrwdaddresssyncbackwindow.rb +0 -10
  334. data/code/superant.com.rwdaddresses/rwdaddressesbackwindow.rb +0 -10
  335. data/code/superant.com.rwdaddresses/rwdaddresseshelpabout.rb +0 -13
  336. data/code/superant.com.rwdaddresses/rwdtinkerversion.rb +0 -10
  337. data/code/superant.com.rwdaddresses/saveconfigurationrecord.rb +0 -20
  338. data/code/superant.com.rwdaddresses/savevcardrecord.rb +0 -76
  339. data/code/superant.com.rwdaddresses/syncrwdaddress.rb +0 -28
  340. data/code/superant.com.rwdaddresses/uploadrwdaddressfiles.rb +0 -46
  341. data/code/superant.com.rwdaddresses/viewaddressconfiguration.rb +0 -21
  342. data/code/superant.com.rwdaddresses/viewnamedata.rb +0 -28
  343. data/code/superant.com.rwdaddresses/viewphoto.rb +0 -4
  344. data/code/superant.com.rwdaddresses/viewrwdaddressesconfiguration.rb +0 -23
  345. data/code/superant.com.rwdaddresses/viewtmpcontactphoto.rb +0 -12
  346. data/code/superant.com.rwdaddresses/viewvcarddata.rb +0 -22
  347. data/code/superant.com.rwdcalc/ca2multiply.rb +0 -10
  348. data/code/superant.com.rwdcalc/changescriptname.rb +0 -16
  349. data/code/superant.com.rwdcalc/clearscriptscreendisplay.rb +0 -9
  350. data/code/superant.com.rwdcalc/deletescriptrecord.rb +0 -20
  351. data/code/superant.com.rwdcalc/fadd.rb +0 -10
  352. data/code/superant.com.rwdcalc/frwdcleartape.rb +0 -9
  353. data/code/superant.com.rwdcalc/frwddivide.rb +0 -10
  354. data/code/superant.com.rwdcalc/frwdmultiply.rb +0 -10
  355. data/code/superant.com.rwdcalc/frwdsubtract.rb +0 -10
  356. data/code/superant.com.rwdcalc/helptexthashrwdcalc.rb +0 -14
  357. data/code/superant.com.rwdcalc/jumplinkupdate.rb +0 -11
  358. data/code/superant.com.rwdcalc/listscripts.rb +0 -13
  359. data/code/superant.com.rwdcalc/loadscriptrecord.rb +0 -20
  360. data/code/superant.com.rwdcalc/mathcommands.rb +0 -53
  361. data/code/superant.com.rwdcalc/openhelpwindowrwdcalc.rb +0 -21
  362. data/code/superant.com.rwdcalc/playscript.rb +0 -22
  363. data/code/superant.com.rwdcalc/renamecalcrecord.rb +0 -14
  364. data/code/superant.com.rwdcalc/rwdadd.rb +0 -10
  365. data/code/superant.com.rwdcalc/rwdcleartape.rb +0 -9
  366. data/code/superant.com.rwdcalc/rwddivision.rb +0 -10
  367. data/code/superant.com.rwdcalc/rwdsubtraction.rb +0 -10
  368. data/code/superant.com.rwdcalc/savechangedscript.rb +0 -19
  369. data/code/superant.com.rwdcalc/viewscript.rb +0 -18
  370. data/code/superant.com.rwdshell/rwdshellversion.rb +0 -14
  371. data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +0 -96
  372. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +0 -25
  373. data/code/superant.com.words/dictlookup.rb +0 -20
  374. data/code/superant.com.words/jumplinkupdate.rb +0 -6
  375. data/code/superant.com.words/runfortunewindow.rb +0 -14
  376. data/code/superant.com.words/runrwdwordsversion.rb +0 -14
  377. data/configuration/rwdaddresses.dist +0 -21
  378. data/configuration/rwdcalc.dist +0 -8
  379. data/configuration/rwdcalendar.dist +0 -10
  380. data/configuration/rwdgutenberg.dist +0 -14
  381. data/configuration/rwdhypernote.dist +0 -13
  382. data/configuration/rwdshell.dist +0 -4
  383. data/configuration/rwdwords.dist +0 -18
  384. data/extras/dict.rb +0 -438
  385. data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +0 -15
  386. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +0 -3
  387. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +0 -15
  388. data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +0 -3
  389. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +0 -15
  390. data/gui/tinkerbackwindows/superant.com.addressesphotowindow/yy7addressesphoto.rwd +0 -6
  391. data/gui/tinkerbackwindows/superant.com.gutenberg/00rwdgutenberg.rwd +0 -5
  392. data/gui/tinkerbackwindows/superant.com.gutenberg/10viewnote.rwd +0 -32
  393. data/gui/tinkerbackwindows/superant.com.gutenberg/20listfiles.rwd +0 -35
  394. data/gui/tinkerbackwindows/superant.com.gutenberg/30booklistutilities.rwd +0 -28
  395. data/gui/tinkerbackwindows/superant.com.gutenberg/35displaytab.rwd +0 -10
  396. data/gui/tinkerbackwindows/superant.com.gutenberg/40rwdgutenberg.rwd +0 -16
  397. data/gui/tinkerbackwindows/superant.com.gutenberg/67viewconfiguration.rwd +0 -40
  398. data/gui/tinkerbackwindows/superant.com.gutendisplay/gutendisplaywindow.rwd +0 -9
  399. data/gui/tinkerbackwindows/superant.com.hypernote/00windowbegin.rwd +0 -5
  400. data/gui/tinkerbackwindows/superant.com.hypernote/10viewnote.rwd +0 -32
  401. data/gui/tinkerbackwindows/superant.com.hypernote/20editlinks.rwd +0 -34
  402. data/gui/tinkerbackwindows/superant.com.hypernote/30noteutilities.rwd +0 -27
  403. data/gui/tinkerbackwindows/superant.com.hypernote/67viewconfiguration.rwd +0 -38
  404. data/gui/tinkerbackwindows/superant.com.refreshwindow/fortunerefreshwindowtwo.rwd +0 -9
  405. data/gui/tinkerbackwindows/superant.com.rwdaddresses/00rwdaddresses.rwd +0 -5
  406. data/gui/tinkerbackwindows/superant.com.rwdaddresses/11viewnamedata.rwd +0 -19
  407. data/gui/tinkerbackwindows/superant.com.rwdaddresses/13listnamerecordfiles.rwd +0 -21
  408. data/gui/tinkerbackwindows/superant.com.rwdaddresses/16editrecord.rwd +0 -39
  409. data/gui/tinkerbackwindows/superant.com.rwdaddresses/17viewvcardrecord.rwd +0 -32
  410. data/gui/tinkerbackwindows/superant.com.rwdaddresses/18contactutilities.rwd +0 -34
  411. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/1appname.rwd +0 -5
  412. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/20downloadftp.rwd +0 -45
  413. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/88viewconfiguration.rwd +0 -47
  414. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/94selectiontab.rwd +0 -11
  415. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/95jumplink.rwd +0 -15
  416. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/97selectionend.rwd +0 -3
  417. data/gui/tinkerbackwindows/superant.com.rwdcalc/1appname.rwd +0 -4
  418. data/gui/tinkerbackwindows/superant.com.rwdcalc/20floatrwdcalc.rwd +0 -23
  419. data/gui/tinkerbackwindows/superant.com.rwdcalc/30intrwdcalc.rwd +0 -23
  420. data/gui/tinkerbackwindows/superant.com.rwdcalc/35mathcommands.rwd +0 -25
  421. data/gui/tinkerbackwindows/superant.com.rwdcalc/44listplayscripts.rwd +0 -19
  422. data/gui/tinkerbackwindows/superant.com.rwdcalc/45listscripts.rwd +0 -25
  423. data/gui/tinkerbackwindows/superant.com.rwdcalc/46editscriptrecord.rwd +0 -30
  424. data/gui/tinkerbackwindows/superant.com.rwdcalc/4scriptutilities.rwd +0 -25
  425. data/gui/tinkerbackwindows/superant.com.rwdcalc/z9end.rwd +0 -6
  426. data/gui/tinkerbackwindows/superant.com.words/1appname.rwd +0 -4
  427. data/gui/tinkerbackwindows/superant.com.words/1dictionary.rwd +0 -19
  428. data/gui/tinkerbackwindows/superant.com.words/3rwdfortune.rwd +0 -14
  429. data/gui/tinkerbackwindows/superant.com.words/77jumplinkcommands.rwd +0 -17
  430. data/gui/tinkerbackwindows/superant.com.words/80tab1.rwd +0 -11
  431. data/gui/tinkerbackwindows/superant.com.words/z9end.rwd +0 -6
  432. data/installed/gutenbergdata01.inf +0 -3
  433. data/installed/hypernotedata1.inf +0 -12
  434. data/installed/rwdaddressesdata2.inf +0 -8
  435. data/installed/rwdgutenberg-0.03.inf +0 -9
  436. data/installed/rwdviewlogo-0.4.inf +0 -4
  437. data/installed/rwdwaddresses-1.04.inf +0 -13
  438. data/installed/rwdwhypernote-0.07.inf +0 -7
  439. data/installed/rwdwwords-0.02.inf +0 -10
  440. data/names/Angelina Jolie.jpg +0 -0
  441. data/names/Angelina Jolie.nam +0 -8
  442. data/names/Angelina Jolie.vcf +0 -8
  443. data/names/Steven Gibson.jpg +0 -0
  444. data/names/Steven Gibson.nam +0 -5
  445. data/names/elektra.jpg +0 -0
  446. data/names/elektra.nam +0 -7
  447. data/names/nophoto.jpg +0 -0
  448. data/rwd_files/HowTo_Addresses.txt +0 -259
  449. data/rwd_files/HowTo_Gutenberg.txt +0 -94
  450. data/rwd_files/HowTo_HyperNote.txt +0 -121
  451. data/rwd_files/HowTo_RwdCalc.txt +0 -110
  452. data/rwd_files/HowTo_Words.txt +0 -132
  453. data/rwd_files/contacttmp.jpg +0 -0
  454. data/scripts/test02.math +0 -2
  455. data/tests/makerwdwaddresses-1.04.rb +0 -40
  456. data/zips/rwdahelloworld-0.5.zip +0 -0
File without changes
File without changes
File without changes
File without changes
@@ -3,26 +3,19 @@
3
3
 
4
4
  require 'fileutils'
5
5
 
6
- @a_rshellconfigurationfilename = "rwdshell.cnf"
7
-
6
+ rwdshellname = "rwdwshell-" + RwdShellVersion + ".cnf"
7
+ @a_rshellconfigurationfilename = rwdshellname
8
+
8
9
 
9
10
  begin # exception trapped block
10
11
 
11
12
  Dir.chdir($progdir)
12
- fileName = File.join(ConfigurationDir, "rwdshell.cnf")
13
+ fileName = File.join(ConfigurationDir, rwdshellname)
13
14
 
14
15
 
15
16
  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
-
17
+ @a_rshellconfiguration= fd.read
18
+
26
19
 
27
20
 
28
21
  fd.close
@@ -1,13 +1,14 @@
1
1
  # this method loads the on screen variables into the running class
2
- def loadrubyslippersconfigurationvariables
2
+ def loadrwdshellconfigurationvariables
3
+ rwdshellname = "rwdwshell" + RwdShellVersion + ".cnf"
3
4
 
4
- configfiletoload = File.join(ConfigurationDir,"rubyslippers.cnf")
5
+ configfiletoload = File.join(ConfigurationDir, rwdshellname )
5
6
  begin
6
7
  load configfiletoload
7
- @extrarsconfigdatadisplay = ""
8
- @newrsconfigurationresult = "Config Variables loaded"
8
+ @extrarshellconfigdatadisplay = ""
9
+ @newrshellconfigurationresult = "Config Variables loaded"
9
10
  rescue
10
11
  @extrarsconfigdatadisplay = ""
11
- @newrsconfigurationresult = "loading error"
12
+ @newrshellconfigurationresult = "loading error"
12
13
  end
13
14
  end
@@ -2,16 +2,16 @@
2
2
  def loadrubyscriptrecord
3
3
 
4
4
  require 'fileutils'
5
- $currentrubyname = @a_rubyscriptfilename
5
+ currentscriptname = @a_rubyscriptfilename
6
6
 
7
7
  begin # exception trapped block
8
8
 
9
9
 
10
- fileName = $rubyscript_directory + "/" + $currentrubyname + ".rb"
10
+ fileName = $shellscript_directory + "/" + currentscriptname + ".rb"
11
11
 
12
12
  fd = File.open(fileName,"r")
13
13
  @a_rubyscriptrecord = fd.read
14
- @newrubyrecord = @a_rubyscriptrecord
14
+
15
15
  fd.close
16
16
  rescue SystemCallError, StandardError
17
17
  $stderr.print "system call error: " + $!
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -3,22 +3,25 @@
3
3
  self << str
4
4
  end
5
5
  def rubyeval
6
- require 'Env'
6
+
7
7
  require 'English'
8
- commandtextruby = "%s " % [@a_rubyeval]
9
- $tmpout = $stdout # save the original STDOUT
10
- $stdout = $buffer
8
+ # $tmpout = $stdout # save the original STDOUT
9
+ # $stdout = $buffer
11
10
  begin # begin rescue monitored block
12
- eval( commandtextruby )
13
11
 
14
- @rubydisplay = $stdout
12
+ commandtextruby = "%s " % [@a_rubyeval]
13
+
14
+ # @rubydisplay = "hello"
15
+
16
+ @rubydisplay = eval( commandtextruby ).to_s
17
+
15
18
 
16
- $stdout = $tmpout # restore STDOUT to normal
19
+
17
20
 
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
21
+ rescue # process exeption
22
+ # $stdout = $tmpout # restore STDOUT to normal
23
+ @rubydisplay = "\n" + "error in eval"
24
+ end # end of rescue process # of rescure monitored block
22
25
 
23
26
 
24
27
  end
File without changes
@@ -1,12 +1,12 @@
1
- # Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
1
+ # Application Rwdtinker orginally (c) 2004 Steven Gibson under GPL.
2
2
  # This application is a contact book
3
3
  # For more information about see http://www.rubyforge.net/projects/rwdapplications
4
4
 
5
5
  # call the window
6
6
  def runrwdshellwindow
7
7
 
8
- @rwd=window = "main"
9
- @rwd_tab="scriptlister"
8
+ @rwd_window = "rwdshellwindow"
9
+ @rwd_tab="rwdshellruby"
10
10
 
11
11
  end
12
12
 
@@ -3,8 +3,8 @@
3
3
  # For information see http://www.rubyforge.net/projects/rwdapplications
4
4
 
5
5
  # return the version constant defined in the config file
6
- def rwdwordshelpaboutsetup
7
- return ["RwdWords","(c) 2004,2005 Steven Gibson ","Version #{RwdWordsVersion}"]
6
+ def rwdshellhelpaboutsetup
7
+ return ["RwdShell","(c) 2004,2005 Steven Gibson ","Version #{RwdShellVersion}"]
8
8
  end
9
9
 
10
-
10
+
File without changes
@@ -1,16 +1,16 @@
1
1
  # this method adds a new address record
2
- def saverubyslippersconfiguration
2
+ def saverwdshellconfiguration
3
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"
4
+ rwdshellname = "rwdwshell-" + RwdShellVersion + ".cnf"
5
+ newname = rwdshellname # grab the filename to create
6
+ newdata =@a_rshellconfiguration
7
7
 
8
8
  begin # exception trapped block
9
9
  fileName = File.join( ConfigurationDir, newname )
10
10
  fd = File.open(fileName,"w")
11
11
  fd.print(newdata) # save the record info to the file
12
12
  fd.close
13
- @newconfigurationresult=newdata # show the record info in the browser
13
+ @newrshellconfigurationresult=newdata # show the record info in the browser
14
14
  rescue SystemCallError, StandardError
15
15
  $stderr.print "system call error: " + $!
16
16
  end # exception rescue
@@ -2,16 +2,15 @@
2
2
  def saverubyrecord # this method adds a new script file
3
3
  require 'fileutils'
4
4
  if @a_rubyscriptfilename
5
- newdata =@a_rubyscriptrecord.to_s
5
+ newdata =@a_rubyscriptrecord.to_s
6
6
  fullnewname = @a_rubyscriptfilename.to_s + ".rb"
7
- begin # exception trapped block
8
- fileName = File.join( $rubyscript_directory, fullnewname )
9
- puts fileName
7
+ begin # exception trapped block
8
+ fileName = File.join( $shellscript_directory, fullnewname )
10
9
  fd = File.open(fileName,"w")
11
10
  fd.print(newdata) # save the record info to the file
12
11
  fd.close
13
12
  @newrubyresult=newdata # show the record info in the browser
14
- $currentscriptname = "%s" % [@a_rubyscriptfilename] # grab the new filename to create
13
+
15
14
 
16
15
  rescue
17
16
  @newrubyresult = "\n" + "system error in createnew method"
File without changes
@@ -3,26 +3,25 @@
3
3
 
4
4
  require 'test/unit/testcase'
5
5
  require 'test/unit/assertions'
6
- include Test::Unit::Assertions
7
- include Test::Unit
8
- def rwdaddresses_all_tests
9
- print "in rwdaddresses all tests\n"
10
- $testrwdaddressestestcase = TestSuite.new
11
- test_runrwdaddresses
6
+
7
+ def rwdshell_all_tests
8
+ print "in rwdshell all tests\n"
9
+ $testrwdshelltestcase = TestSuite.new
10
+ test_runrwdshell
12
11
  end
13
12
 
14
- def test_runrwdaddresses
13
+ def test_runrwdshell
15
14
 
16
15
 
17
16
  begin
18
17
  testasserts = 0
19
- print "Starting rwdaddresses tests!\n"
18
+ print "Starting rwdshell tests!\n"
20
19
  runselectiontab
21
20
  assert_equal("selectiontab",@rwd_tab) ; testasserts += 1
22
- runrwdaddressesmenu10
23
- assert_equal("viewaddressesconfiguration",@rwd_tab) ; testasserts += 1
24
- loadrwdaddressesconfiguration
25
- assert_equal("rwdaddresses.cnf",@a_adconfigurationfilename) ; testasserts += 1
21
+ runrwdschedulemenu10
22
+ assert_equal("viewrwdscheduleconfiguration",@rwd_tab) ; testasserts += 1
23
+ loadrwdscheduleconfiguration
24
+ assert_equal("rwdschedule.cnf",@a_schconfigurationfilename) ; testasserts += 1
26
25
 
27
26
  $stderr.print "tests completed succesfully!\n"
28
27
  $stderr.print testasserts, " asserts performed\n"
File without changes
File without changes
@@ -0,0 +1,240 @@
1
+
2
+ #***********************************************************************
3
+ #* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
4
+ #* Copyright (c) 2004 - 2005 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 "smalllinux@gmail.com".
22
+ #***********************************************************************/
23
+
24
+
25
+
26
+ # integrate the new configuration files
27
+ def initiateapplet(nametextlocal)
28
+
29
+ debuginitiate = 0
30
+
31
+ if $DEBUG
32
+ $stderr.puts "starting config load with: #{nametextlocal}"
33
+ end
34
+
35
+
36
+ Dir.chdir($progdir ) #changes the current working directory
37
+
38
+ @confignew = "configuration/" + "#{nametextlocal}.cnf"
39
+ @configdist = "configuration/" + "#{nametextlocal}.dist"
40
+ Rconftool::install(@configdist,@confignew)
41
+
42
+ begin
43
+
44
+ configfileload = File.open(@configdist){|f| f.read}
45
+
46
+ eval configfileload #load config file
47
+
48
+
49
+
50
+ rescue
51
+
52
+ if $DEBUG
53
+ $stderr.puts "error in initiateapplets - config load"
54
+ end
55
+ debuginitiate += 1
56
+ end
57
+ $tempdoc = " "
58
+
59
+ Dir.chdir($progdir) # change back to top program directory
60
+
61
+ # build the English Language hash file from the parts
62
+ languagehashvariable = 'Message.update('
63
+ startlangdir = File.join(LangDir,"en")
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
+
91
+ #writes the contents of doc into the languagehashvariable
92
+
93
+
94
+ languagehashvariable = languagehashvariable + $tempdoc + ' :rwdtinker => "Rwdtinker" ) ;'
95
+
96
+ # END of en Lang building
97
+ $tempdoc = " "
98
+ Dir.chdir($progdir) # change back to top program directory
99
+
100
+ # build the local Language hash file from the parts
101
+ startlangdir = File.join(LangDir,$lang)
102
+ #get a list of the files and subdirectories on the starting directory only
103
+ alanghash = Array.new(Dir[startlangdir].entries.sort)
104
+ #loop through the list, ignore the files and add all new directories found
105
+ alanghash.each do |x|
106
+ #if a directory...
107
+ if(test(?d,x))
108
+ # add to the original list of directories
109
+ @@tmproot = x + "/**"
110
+ #adds the new ones to the array
111
+ blanghash = Dir[@@tmproot].entries.sort
112
+ blanghash.each do |x|
113
+ if(test(?d,x))
114
+ alanghash.push(x) #appends to the end of the array...
115
+ end
116
+ end
117
+ end
118
+ end
119
+ alanghash.each do |x|
120
+ #if it is a file...
121
+ if(!test(?d,x))
122
+ alanghash.delete(x)
123
+ else #it is a directory...
124
+ findfiles(x + "/**")
125
+ end
126
+ end
127
+
128
+
129
+ #writes the contents of doc into the variable
130
+
131
+ languagehashvariable = languagehashvariable + " Message.update(" + $tempdoc + ' :rwdtinker => "Rwdtinker" ) '
132
+
133
+
134
+
135
+ $tempdoc = " "
136
+
137
+ Dir.chdir($progdir) # change back to top program directory
138
+
139
+ temp = eval( languagehashvariable )
140
+
141
+
142
+ tempguistorage = $rwd_gui_tinker # if gui load fails restore old
143
+ begin # error trap
144
+
145
+ # build the actual GUI from the gui parts
146
+ $tempdoc = " "
147
+ #get a list of the files and subdirectories on the starting directory only
148
+ a = Array.new(Dir[GuiDir].entries.sort)
149
+ #loop through the list, ignore the files and add all new directories found
150
+ a.each do |x|
151
+ #if a directory...
152
+ if(test(?d,x))
153
+ #use this new dir find to add to the original list of directories
154
+ @@root = x + "/**"
155
+ #adds the new ones to the array
156
+ b = Dir[@@root].entries.sort
157
+ b.each do |x|
158
+ if(test(?d,x))
159
+ a.push(x) #appends to the end of the array...
160
+ end
161
+ end
162
+ end
163
+ end
164
+ a.each do |x|
165
+ #if it is a file...
166
+ if(!test(?d,x))
167
+ a.delete(x)
168
+
169
+ else #it is a directory...
170
+ loadguifile(x + "/**")
171
+
172
+
173
+ end
174
+ end
175
+
176
+ $rwd_gui_tinker = $tempdoc
177
+
178
+
179
+ rescue
180
+ $rwd_gui_tinker = tempguistorage # restore old gui
181
+ if $DEBUG
182
+ $stderr.puts "error in initiateapplets - gui building"
183
+ end
184
+
185
+ debuginitiate += 1
186
+ end
187
+
188
+ begin # error trap
189
+ # now load in the code files
190
+
191
+ $tempdoc = ""
192
+ tempcodeinstallline = ""
193
+
194
+ @fileName = "installed/" + nametextlocal + ".inf"
195
+
196
+ tmpfilearray = File.readlines(@fileName)
197
+
198
+ tmpfilearray.each do |line|
199
+
200
+ tempcodeinstallline = line.chomp
201
+ if tempcodeinstallline.include?('code/')
202
+ findfiles(tempcodeinstallline + "/**")
203
+ tempcoderesult = eval( $tempdoc ) # read the program code and evaluate
204
+ end
205
+ end
206
+
207
+
208
+ rescue
209
+ if $DEBUG
210
+ $stderr.puts "error in initiateapplets - code building"
211
+ end
212
+ debuginitiate += 1
213
+
214
+
215
+ end
216
+
217
+ setuphelpaboutoptions # update the help about list
218
+ setuptinkerdocuments # update the document pull down list
219
+ runhelpwindow # update the help menu
220
+ showjumplinkoptions # update the application link menu
221
+ runrwdtinkerbackwindow # back to applet window
222
+
223
+ # resultend = tempcodeinstallline .index("\n",resultstart)
224
+ tempresult = @fileName
225
+
226
+ return " applet loading successful " + tempresult
227
+
228
+
229
+
230
+ if debuginitiate > 0
231
+ return " initiateapplet .."
232
+ else
233
+ return " initiateapplet success"
234
+ end
235
+
236
+ end
237
+
238
+
239
+
240
+
@@ -1,7 +1,7 @@
1
1
  # install rwdtinker applet from a long directory location
2
2
  def installgemapplet
3
3
  require 'fileutils'
4
- require 'extras/zip/zip'
4
+ require 'lib/zip/zip'
5
5
  nametext = "%s" % [@a_installapplet]
6
6
 
7
7
  begin # exception trapped block
@@ -12,10 +12,23 @@ def installgemapplet
12
12
  |entry|
13
13
  zf.extract(entry.to_s, entry.to_s)
14
14
  }
15
- @installapplettext = Message[:applet_installed]
16
-
17
- rescue
18
- @installapplettext = "unzip error - applet may not be installed correctly"
15
+
16
+ rescue
17
+
18
+ if $DEBUG
19
+ $stderr.puts "unzip error - applet may not be installed correctly"
20
+ end
21
+ @installapplettext = " .. "
22
+
19
23
  end # exception rescue
24
+
25
+ @nametextbase = File.basename(nametext)
26
+ @returninitateresults = initiateapplet(@nametextbase)
27
+ @installapplettext = Message[:applet_installed] + " " + @returninitateresults
28
+
29
+
30
+ RWDWindow.new($rwd_gui_tinker, @rwd_window).render("DEFAULT")
31
+
32
+
20
33
  end
21
34
 
File without changes
@@ -13,7 +13,7 @@ def findzipfiles(d)
13
13
  if(!test(?d,x))
14
14
  # only zip files
15
15
  if x =~ /\.zip/
16
- puts "#{x}" #opens the file thats in fileName as read only
16
+ #opens the file thats in fileName as read only
17
17
  $zipsarray = $zipsarray | ["#{x}"]
18
18
  end
19
19
  end
@@ -16,7 +16,7 @@ def listzipfilestoinstall
16
16
  a.each do |x|
17
17
  # only zip files
18
18
  if x =~ /\.zip/
19
- # puts "#{x}" #adds the file to the array to display on the screen
19
+ #adds the file to the array to display on the screen
20
20
  $zipsarraylocal = $zipsarraylocal | ["#{x}"]
21
21
  end
22
22
 
@@ -12,24 +12,7 @@ def loadconfigurationrecord
12
12
  fileName = File.join(ConfigurationDir, TinkerWin2ConfigurationFileName)
13
13
 
14
14
  fd = File.open(fileName,"r")
15
- @a_configline1= fd.readline.chomp
16
- @a_configline2 = fd.readline.chomp
17
- @a_configline3 = fd.readline.chomp
18
- @a_configline4 = fd.readline.chomp
19
- @a_configline5 = fd.readline.chomp
20
- @a_configline6 = fd.readline.chomp
21
- @a_configline7 =fd.readline.chomp
22
- @a_configline8 = fd.readline.chomp
23
- @a_configline9 = fd.readline.chomp
24
- @a_configline10 = fd.readline.chomp
25
- @a_configline11 =fd.readline.chomp
26
- @a_configline12 = fd.readline.chomp
27
- @a_configline13 =fd.readline.chomp
28
- @a_configline14 = fd.readline.chomp
29
-
30
- while ! fd.eof?
31
- @extraconfigdatadisplay = fd.readline
32
- end
15
+ @a_configurationfile = fd.read
33
16
  fd.close
34
17
  rescue SystemCallError, StandardError
35
18
  $stderr.print "system call error: " + $!
File without changes
@@ -18,11 +18,7 @@ def runhelpwindowtinkerwin2
18
18
  end
19
19
  if @rwd_tab == "editconfigurationfile"
20
20
  $help_topic = "applet_tinkerbackeditconfiguration"
21
-
22
- end
23
- if @rwd_tab == "rwdremotecontrol"
24
- $help_topic = "remote_control"
25
-
21
+
26
22
  end
27
23
  if @rwd_tab == "superantcomremotezipsinstall"
28
24
  $help_topic = "remotegemapplet_install"
@@ -3,8 +3,17 @@ def removeapplet
3
3
  require 'fileutils'
4
4
  nametext = "%s" % [@a_removeapplet]
5
5
 
6
+ fileName = "installed/" + nametext + ".inf"
7
+ @appletremoveresult = removeappletvariables(nametext)
8
+
9
+ setuphelpaboutoptions # update the help about list
10
+ setuptinkerdocuments # update the document pull down list
11
+ runhelpwindow # update the help menu
12
+ showjumplinkoptions # update the application link menu
13
+ runrwdtinkerbackwindow # back to applet window
14
+
6
15
  begin # exception trapped block
7
- fileName = "installed/" + nametext + ".inf"
16
+
8
17
  count = 0
9
18
  fd = File.open(fileName,"r")
10
19
 
@@ -19,14 +28,18 @@ def removeapplet
19
28
  count = 1
20
29
  }
21
30
  fd.close
31
+
32
+
22
33
 
23
34
  FileUtils.rm_rf( fileName)
24
-
25
-
26
- @removeapplettext = "applet files removed! - restart rwd to finish uninstalling"
27
-
35
+
36
+
37
+ @removeapplettext = "applet files removed!" + " " + @appletremoveresult
38
+
39
+ runbackwindowappletremove
40
+
28
41
  rescue
29
- @removeapplettext = "\n" + "error"
42
+ @removeapplettext = " removeapplet" + " .."
30
43
 
31
44
  end # exception rescue
32
45