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,74 @@
1
+
2
+
3
+ Helptext.update( :rwdhypernote_generalhelp => "This program is a hierarchical notes editor
4
+
5
+ text notes can be entered and saved in a Notes directory
6
+
7
+ Notes can be saved in a hierarchical structure in directories
8
+ Links can be recorded connecting Notes -similar to wikiwiki
9
+
10
+ There are tabs to enter notes and links and edit configurations
11
+
12
+ 'View/Edit Note' - to create a note or edit and existing note
13
+
14
+ 'View/Edit Links' - to edit links
15
+
16
+ 'Note Utilities' - to rename or delete notes
17
+
18
+ 'Edit Configuration' - to change the configuration of rwdhypernote
19
+
20
+ .",
21
+ :hypernoteedit_help => "You can create or edit notes
22
+ click the bottom button 'list notes' to see a lists
23
+ of the notes you already have.
24
+ 'save changes' to save your edits
25
+ 'clear' to clear the screen
26
+ 'Create New Note' to start a new note
27
+ After creating a new note, you must list below to find it
28
+ and select it, or it will NOT be SAVED",
29
+ :hypernoteutility_help => "You can change the file
30
+ rename
31
+ delete
32
+ copy name
33
+ ",
34
+
35
+ :hypernotelinks_help => " You can edit links for note pages
36
+
37
+ If you have selected a note on the 'View/Edit Note' tab
38
+ the name should be in the Note Record box
39
+
40
+ You can open the link file if you have one already
41
+
42
+ You can see the list of link files by clicking 'List Local Link Files'
43
+ You can open one of those file
44
+
45
+ If you do not have a link file, you can create one with 'create link file' button
46
+
47
+ ",
48
+
49
+ :rwdhypernote_configuration => " click on 'Edit Configuration'
50
+ You can view the configuration file
51
+
52
+ You can edit the configuration
53
+
54
+ Remember to reload the configuration variables if you want your
55
+ changes used.",
56
+ :rwdhypernote_sync => "Sync for multiple computers
57
+
58
+ If you are like me, you have more than one system
59
+ I use rwdTinker at home on my Linux laptop
60
+ at work I use it on XP
61
+ on the go I use rwdtinker on my Zaurus PDA
62
+ So I am adding notes on different machines.
63
+ There is a function to help sync the separate systems
64
+
65
+ in 'Selection Panel' click on 'Open HyperNote Sync Window'
66
+
67
+ First you need your ftp details set in the
68
+ configuration/rwdhypernote.cnf file
69
+
70
+ you can upload your notes from your local Notes directory to the ftp site
71
+ you can download Notes from the ftp site to your local updates directory
72
+
73
+ "
74
+ )
@@ -0,0 +1,19 @@
1
+ # this method adds a new address record or saves changes
2
+ def hyperlinkcreatelinkfile
3
+ require 'fileutils'
4
+ if ! @a_viewhypernote.empty?
5
+ newname = "%s" % [@a_viewhypernote] # grab the new filename to create
6
+
7
+ fullnewname = newname + ".lnk"
8
+ @a_viewlinksnote = fullnewname
9
+ begin # exception trapped block
10
+
11
+ fd = File.open(fullnewname,"w")
12
+
13
+ fd.close
14
+ @createnewnamerecorddisplay=newdata # show the record info in the browser
15
+ rescue SystemCallError, StandardError
16
+ $stderr.print "system call error: " + $!
17
+ end # exception rescue
18
+ end
19
+ end
@@ -0,0 +1,7 @@
1
+ #jumplinkupdate
2
+
3
+ JumpLink.update(:RwdHypernoteMainWindow=>"runrwdhypernotebackwindow",
4
+ :RwdHypernoteConfigurationTab=>"runrwdhypernoteconfiguration"
5
+
6
+ )
7
+ $rwdjumplink +=["RwdHypernoteMainWindow","RwdHypernoteConfigurationTab"]
@@ -0,0 +1,55 @@
1
+ # this code is to list the links
2
+
3
+ def fillhypernotelinkname(inffile)
4
+
5
+ @a_viewlinksnote = inffile
6
+ end
7
+
8
+ def findnotelinkfiles(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 lnk files
15
+ if x =~ /rb|lnk|lnk/
16
+ puts "#{x}" #opens the file thats in fileName as read only
17
+ $noteslinksarray = $noteslinksarray | ["#{x}"]
18
+ end
19
+ end
20
+ end
21
+ end
22
+
23
+ def rwdhypernotelistlinkdirs
24
+ $noteslinksarray = [""]
25
+ startlangdir = $rwdhypernote_directory
26
+ puts startlangdir
27
+ #get a list of the files and subdirectories on the starting directory only
28
+ anotelinkarray = Array.new(Dir[startlangdir].entries.sort)
29
+ p anotelinkarray
30
+ #loop through the list, ignore the files and add all new directories found
31
+ anotelinkarray.each do |x|
32
+ #if a directory...
33
+ if(test(?d,x))
34
+ # add to the original list of directories
35
+ @@tmproot = x + "/**"
36
+ #adds the new ones to the array
37
+ bnotelinkarray = Dir[@@tmproot].entries.sort
38
+ bnotelinkarray.each do |x|
39
+ p x
40
+ if(test(?d,x))
41
+ anotelinkarray.push(x) #appends to the end of the array...
42
+ end
43
+ end
44
+ end
45
+ end
46
+ anotelinkarray.each do |x|
47
+ #if it is a file...
48
+ if(!test(?d,x))
49
+ anotelinkarray.delete(x)
50
+ else #it is a directory...
51
+ findnotelinkfiles(x + "/**")
52
+ end
53
+ end
54
+ @notelinksrecordsresult = $noteslinksarray.rwd_method("fillhypernotelinkname")
55
+ end
@@ -0,0 +1,63 @@
1
+ # this code is to list the notes
2
+
3
+
4
+
5
+ def fillhypernotename(inffile)
6
+ applet = inffile.gsub(/\.txt$/, "")
7
+ @a_viewhypernote = applet
8
+
9
+ end
10
+
11
+ def findnotefiles(d)
12
+ p d
13
+ a = Array.new(Dir[d].entries.sort)
14
+ p a
15
+ #loop through and get the files names
16
+ a.each do |x|
17
+ #adjust the filters to the files you want to see...
18
+ if(!test(?d,x))
19
+ # only txt files
20
+ if x =~ /rb|txt|txt/
21
+ puts "#{x}" #opens the file thats in fileName as read only
22
+ $notesarray = $notesarray | ["#{x}"]
23
+ end
24
+ end
25
+ end
26
+ end
27
+
28
+ def listnotedirs
29
+ startlangdir = $rwdhypernote_directory
30
+
31
+ $notesarray = [""]
32
+
33
+ #get a list of the files and subdirectories on the starting directory only
34
+ anotearray = Array.new(Dir[startlangdir].entries.sort)
35
+
36
+ #loop through the list, ignore the files and add all new directories found
37
+ anotearray.each do |x|
38
+ #if a directory...
39
+
40
+ if(test(?d,x))
41
+ # add to the original list of directories
42
+ @@tmproot = x + "/**"
43
+ #adds the new ones to the array
44
+
45
+ bnotearray = Dir[@@tmproot].entries.sort
46
+ bnotearray.each do |x|
47
+ if(test(?d,x))
48
+ anotearray.push(x) #appends to the end of the array...
49
+ end
50
+ end
51
+ end
52
+ end
53
+ anotearray.each do |x|
54
+ #if it is a file...
55
+ p x
56
+ if(!test(?d,x))
57
+ anotearray.delete(x)
58
+ else #it is a directory...
59
+ findnotefiles(x + "/**")
60
+ end
61
+ end
62
+ @noterecordsresult = $notesarray.entries.sort.rwd_method("fillhypernotename")
63
+ end
@@ -0,0 +1,33 @@
1
+ # this code is to list the internal links
2
+
3
+
4
+ def fillhypernotelinksname(inffile)
5
+ applet = inffile.gsub(/\.txt$/, "")
6
+ @a_viewhypernote = applet
7
+
8
+ end
9
+
10
+
11
+
12
+ def listlocalnotelinks
13
+ filenamestoopenarray = [" "]
14
+ if @a_viewhypernote
15
+ begin
16
+ fileName =@a_viewhypernote + ".lnk"
17
+
18
+ fd = File.open(fileName,"r")
19
+ while ! fd.eof?
20
+ templinkline = fd.readline.chomp
21
+ filenamestoopenarray = filenamestoopenarray | ["#{templinkline}"]
22
+ end
23
+ fd.close
24
+ @noterecordsresult = " "
25
+ @localnotelinksrecordsresult = filenamestoopenarray .rwd_method("fillhypernotelinksname")
26
+ rescue
27
+ @localnotelinksrecordsresult = "error opening #{fileName} file"
28
+ end # end of error function
29
+
30
+ end
31
+ end
32
+
33
+
@@ -0,0 +1,34 @@
1
+ # this method puts the configuration rexord on the screen
2
+ def loadrwdhypernoteconfiguration
3
+
4
+ require 'fileutils'
5
+
6
+ @a_hypconfigurationfilename = "rwdhypernote.cnf"
7
+
8
+
9
+ begin # exception trapped block
10
+
11
+ Dir.chdir($progdir)
12
+ fileName = File.join(ConfigurationDir, "rwdhypernote.cnf")
13
+
14
+
15
+ fd = File.open(fileName,"r")
16
+ @a_hypconfigline1= fd.readline.chomp
17
+ @a_hypconfigline2 = fd.readline.chomp
18
+ @a_hypconfigline3 = fd.readline.chomp
19
+ @a_hypconfigline4 = fd.readline.chomp
20
+ @a_hypconfigline5 = fd.readline.chomp
21
+ @a_hypconfigline6 = fd.readline.chomp
22
+ @a_hypconfigline7 =fd.readline.chomp
23
+ @a_hypconfigline8 = fd.readline.chomp
24
+ @a_hypconfigline9 = fd.readline.chomp
25
+
26
+ while ! fd.eof?
27
+ @extrahypconfigdatadisplay = fd.readline
28
+ end
29
+ fd.close
30
+ rescue SystemCallError, StandardError
31
+ $stderr.print "system call error: " + $!
32
+ end # exception rescue
33
+
34
+ end
@@ -0,0 +1,13 @@
1
+ # this method loads the on screen variables into the running class
2
+ def loadrwdhypernoteconfigurationvariables
3
+
4
+ configfiletoload = File.join(ConfigurationDir,"rwdhypernote.cnf")
5
+ begin
6
+ load configfiletoload
7
+ @extrahypconfigdatadisplay = ""
8
+ @newhypconfigurationresult = "Config Variables loaded"
9
+ rescue
10
+ @extrahypconfigdatadisplay = ""
11
+ @newhypconfigurationresult = "loading error"
12
+ end
13
+ end
@@ -0,0 +1,21 @@
1
+ # this method views an existing record
2
+ def rwdhypernotesloadlinksrecord
3
+
4
+ require 'fileutils'
5
+
6
+
7
+ begin # exception trapped block
8
+
9
+
10
+ fileName = @a_viewlinksnote
11
+
12
+ fd = File.open(fileName,"r")
13
+ @a_notelinksdata = fd.read
14
+
15
+
16
+ fd.close
17
+ rescue SystemCallError, StandardError
18
+ $stderr.print "system call error: " + $!
19
+ end # exception rescue
20
+
21
+ end
@@ -0,0 +1,24 @@
1
+ # this method views an existing address record
2
+ def loadnoterecord
3
+
4
+ require 'fileutils'
5
+ @a_eventfilename = $currenteventtext
6
+
7
+ begin # exception trapped block
8
+
9
+
10
+ fileName = @a_viewhypernote + ".txt"
11
+
12
+ fd = File.open(fileName,"r")
13
+ @a_notedata = fd.read
14
+
15
+
16
+
17
+
18
+
19
+ fd.close
20
+ rescue SystemCallError, StandardError
21
+ $stderr.print "system call error: " + $!
22
+ end # exception rescue
23
+
24
+ end
@@ -0,0 +1,34 @@
1
+ # this code is to call the help window
2
+ def runhelpwindowrwdhypernote
3
+
4
+ $help_topic = "rwdhypernote_generalhelp"
5
+
6
+ if @rwd_tab == "utilitiesrwdhyperedit"
7
+ $help_topic = "hypernoteutility_help"
8
+ end
9
+
10
+ if @rwd_tab == "superantcomeditnoterecordfile"
11
+ $help_topic = "hypernoteedit_help"
12
+ end
13
 
14
+ if @rwd_tab == "rwdhypernoteeditlinksrecordfile"
15
+
16
+ $help_topic = "hypernotelinks_help"
17
+ end
18
+
19
+
20
+
21
+ if @rwd_tab == "viewrwdhypernoteconfiguration"
22
+ $help_topic = "rwdhypernote_configuration"
23
+ end
24
+ $helptopicsarray = $helptopicsarray | ["hypernoteedit_help","rwdhypernote_help","hypernotelinks_help","rwdhypernote_configuration"]
25
+
26
+
27
+
28
+ if @rwd_window != "rwdtinkerhelpwindow"
29
+ $previouswindow = @rwd_window
30
+ $previoustab = @rwd_tab
31
+ end
32
+ runhelpwindow
33
+ end
34
+
35
+
@@ -0,0 +1,10 @@
1
+ # Application rwdtinker 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 returntomainx
7
+ @rwd_window = "main"
8
+ @rwd_tab = "rwdscheduleselectiontab"
9
+ end
10
+
@@ -0,0 +1,12 @@
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
+ # call the window
7
+
8
+ def runrwdhypernoteconfiguration
9
+ @rwd_window = "rwdhypernotebackwindow"
10
+ @rwd_tab = "viewrwdhypernoteconfiguration"
11
+ end
12
+
@@ -0,0 +1,12 @@
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
+ # call the window
7
+
8
+ def runrwdhypernotebackwindow
9
+ @rwd_window = "rwdhypernotebackwindow"
10
+ @rwd_tab = "superantcomeditnoterecordfile"
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 runrwdhypernoteversion
8
+ @rwd_window = "applicationversion"
9
+ @versionappnamedisplay = "RwdHyperNote"
10
+ @versioncopyrightdisplay = "(c) 2004 Steven Gibson "
11
+ @versionnumberdisplay = "Version " + RwdHyperNoteVersion
12
+
13
+ end
14
+
@@ -0,0 +1,10 @@
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
+ # return the version constant defined in the config file
6
+ def rwdhypernotehelpaboutsetup
7
+ return ["Hypernote","(c) 2004,2005 Steven Gibson ","Version #{RwdHyperNoteVersion}"]
8
+ end
9
+
10
+
@@ -0,0 +1,18 @@
1
+ # this method adds a new address record
2
+ def saverwdhypernoteconfiguration
3
+ require 'fileutils'
4
+
5
+ newname = "rwdhypernote.cnf" # grab the filename to create
6
+ newdata =@a_hypconfigline1.to_s + "\n" + @a_hypconfigline2.to_s + "\n" + @a_hypconfigline3.to_s + "\n" + @a_hypconfigline4.to_s + "\n" + @a_hypconfigline5.to_s + "\n" + @a_hypconfigline6.to_s + "\n" + @a_hypconfigline7.to_s + "\n" + @a_hypconfigline8.to_s + "\n" + @a_hypconfigline9.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
+ # this method adds a new record
2
+ def savehypernoterecord
3
+ require 'fileutils'
4
+ if ! @a_notedata.empty?
5
+ if ! @a_viewhypernote.empty?
6
+ fileName = @a_viewhypernote.to_s + ".txt" # grab the new filename to create
7
+
8
+
9
+ begin # exception trapped block
10
+
11
+ fd = File.open(fileName,"w")
12
+ fd.print( @a_notedata) # save the record info to the file
13
+ fd.close
14
+
15
+ rescue SystemCallError, StandardError
16
+ $stderr.print "system call error: " + $!
17
+ end # exception rescue
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,23 @@
1
+ # this method adds a new record
2
+ def hypernotesavelinkrecord
3
+ require 'fileutils'
4
+ if ! @a_notelinksdata.empty?
5
+ if ! @a_viewlinksnote.empty?
6
+ fileName = "%s" % [@a_viewlinksnote] # grab the new filename to create
7
+
8
+
9
+ begin # exception trapped block
10
+
11
+ fd = File.open(fileName,"w")
12
+ fd.print( @a_notelinksdata) # save the record info to the file
13
+ fd.close
14
+
15
+ p fileName
16
+ p @a_notelinksdata
17
+
18
+ rescue SystemCallError, StandardError
19
+ $stderr.print "system call error: " + $!
20
+ end # exception rescue
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,24 @@
1
+ # this code is to attach a photo from the tmp directory
2
+ def attachtmpcontactphoto
3
+ if @a_viewnamedata
4
+ $currentnametext = @a_viewnamedata
5
+ end
6
+ if $currentnametext
7
+ tmpcontactphotoName = $tmpphoto_directory + "/" + @a_tmpphotoname
8
+ begin
9
+ if File.exist?(tmpcontactphotoName)
10
+ newcontactphotoName = $tmpphoto_directory + "/" + $currentnametext + ".jpg"
11
+ if ! (tmpcontactphotoName == newcontactphotoName )
12
+ File.rename(tmpcontactphotoName, newcontactphotoName)
13
+ end
14
+ @listphotosfromtmp = "Photo attached"
15
+ FileUtils.cp(newcontactphotoName , $addressfiles_directory)
16
+ else
17
+ @listphotosfromtmp = "attachment failed"
18
+ end
19
+ rescue
20
+ @listphotosfromtmp = "attachment failed"
21
+ end
22
+ end
23
+ end
24
+
@@ -0,0 +1,15 @@
1
+ # this method clears the on screen variables
2
+ def clearnamescreendisplay
3
+
4
+ @a_filename = ""
5
+ @a_name = ""
6
+ @a_address = ""
7
+ @a_citystatezip = ""
8
+ @a_phone = ""
9
+ @a_email = ""
10
+ @a_comment1 = ""
11
+ @a_comment2 = ""
12
+ @a_comment3 = ""
13
+ @extranamedatadisplay = ""
14
+ end
15
+
@@ -0,0 +1,19 @@
1
+ # this method adds a new address record or saves changes
2
+ def createnewnamerecord
3
+ require 'fileutils'
4
+ if @a_filename
5
+ newname = "%s" % [@a_filename] # grab the new filename to create
6
+ newdata =@a_name.to_s + "\n" + @a_address.to_s + "\n" + @a_citystatezip.to_s + "\n" + @a_phone.to_s + "\n" + @a_email.to_s + "\n" + @a_comment1.to_s + "\n" + @a_comment2.to_s + "\n" + @a_comment3.to_s + "\n"
7
+ fullnewname = newname + ".nam"
8
+ begin # exception trapped block
9
+ fileName = File.join($addressfiles_directory, fullnewname )
10
+ fd = File.open(fileName,"w")
11
+ fd.print(newdata) # save the record info to the file
12
+ fd.close
13
+ @createnewnamerecorddisplay=newdata # show the record info in the browser
14
+ rescue SystemCallError, StandardError
15
+ $stderr.print "system call error: " + $!
16
+ end # exception rescue
17
+ end
18
+ end
19
+
@@ -0,0 +1,25 @@
1
+ # this method deletes an address record
2
+ def deletecontactrecord
3
+
4
+ require 'fileutils'
5
+
6
+ if @a_viewnamedata
7
+ $currentnametext = @a_viewnamedata
8
+ end
9
+
10
+ fileName = $addressfiles_directory + "/" + $currentnametext + ".nam"
11
+ $stderr.print fileName
12
+
13
+ begin # exception trapped block
14
+
15
+ File.delete(fileName)
16
+ fileNamephoto = $addressfiles_directory + "/" + $currentnametext + ".jpg"
17
+ if File.exist?(fileNamephoto)
18
+ File.delete(fileNamephoto)
19
+ end
20
+ rescue SystemCallError, StandardError
21
+ $stderr.print "system call error: " + $!
22
+ end # exception rescue
23
+
24
+ end
25
+
@@ -0,0 +1,19 @@
1
+ # this code is to delete update files
2
+ def deleterwdaddressesupdatefiles
3
+ # exception begin
4
+ begin
5
+ fileListarray = Dir.new($rwdaddresses_updatedirectory).entries.sort.delete_if { |x| ! (x =~ /nam$/) }
6
+ #loop through and get the files names
7
+
8
+ fileListarray.each do |x|
9
+ filetodelete = File.join($rwdaddresses_updatedirectory,x)
10
+ if File.exist?(filetodelete)
11
+ File.delete(filetodelete)
12
+ end
13
+ end
14
+ @rwdaddressesftpdisplay = "update files deleted"
15
+ rescue
16
+ @rwdaddressesftpdisplay = "error opening schedule update directory"
17
+ end # end of error function
18
+ end
19
+
@@ -0,0 +1,36 @@
1
+ # down load address
2
+ def downloadrwdaddressfiles
3
+ require 'net/ftp'
4
+ BasicSocket.do_not_reverse_lookup = true
5
+ @rwdaddressesftpdisplays = ""
6
+ begin
7
+ ftp = Net::FTP::new($rwdaddresses_ftpsite)
8
+ @rwdaddressesftpdisplay = "files downloaded" + "\n"
9
+ ftp.debug_mode = false
10
+ ftp.login($rwdaddresses_ftplogin, $rwdaddresses_ftppassword)
11
+ ftp.chdir($rwdaddresses_ftpdirectory)
12
+ print "I'm in the directory ", ftp.pwd(), "\n"
13
+ schfiles = ftp.nlst($rwdaddresses_ftpdirectory)
14
+ schfiles.each do |x|
15
+ #adjust the filters to the files you want to see...
16
+
17
+ if x =~ /nam/
18
+ newstring = x
19
+ localupdatefile = File.join($rwdaddresses_updatedirectory, "#{x}")
20
+ ftp.getbinaryfile("#{x}" , localupdatefile )
21
+
22
+ @rwdaddressesftpdisplay = @rwdaddressesftpdisplay + newstring + "\n"
23
+ end
24
+
25
+
26
+ end
27
+ ftp.close
28
+
29
+ rescue
30
+ if ftp
31
+ ftp.close
32
+ end
33
+ @rwdaddressesftpdisplay = "ftp error"
34
+ end
35
+ end
36
+