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.
- data/Books/Mariposa.gut +2 -0
- data/Books/marip10.txt +2598 -0
- data/Notes/changes.lnk +1 -0
- data/Notes/changes.txt +1 -0
- data/Notes/hypernote/hypernote01.txt +1 -0
- data/Notes/hypernote/hypernote02.txt +1 -0
- data/Notes/hypernote/newnote3.txt +2 -0
- data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +1 -0
- data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.txt +11 -0
- data/Notes/rwdtinker/newnote.txt +1 -0
- data/Notes/rwdtinker/rwdtinker01.txt +9 -0
- data/Notes/rwdtinker/testnote2.txt +1 -0
- data/Readme.txt +146 -0
- data/bin/bigtinker +19 -0
- data/code/01rwdcore/01rwdcore.rb +25 -0
- data/code/01rwdcore/02helptexthashbegin.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +31 -0
- data/code/01rwdcore/04helptextend.rb +6 -0
- data/code/01rwdcore/jumplinkcommand.rb +26 -0
- data/code/01rwdcore/openhelpwindow.rb +31 -0
- data/code/01rwdcore/returntomain.rb +10 -0
- data/code/01rwdcore/rundocuments.rb +10 -0
- data/code/01rwdcore/runeditconfiguration.rb +10 -0
- data/code/01rwdcore/runhelpabout.rb +10 -0
- data/code/01rwdcore/runopentinkerdocument.rb +7 -0
- data/code/01rwdcore/rwdtinkerversion.rb +22 -0
- data/code/01rwdcore/rwdwindowreturn.rb +9 -0
- data/code/01rwdcore/selectiontab.rb +9 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
- data/code/01rwdcore/test_cases.rb +109 -0
- data/code/01rwdcore/test_harness.rb +13 -0
- data/code/01rwdcore/uploadreturns.rb +62 -0
- data/code/superant.com.bigtinker/rwdtinkerversion.rb +10 -0
- data/code/superant.com.gutenberg/changegutenbergname.rb +16 -0
- data/code/superant.com.gutenberg/clearbookscreendisplay.rb +8 -0
- data/code/superant.com.gutenberg/copyfilename.rb +24 -0
- data/code/superant.com.gutenberg/createnewnote.rb +23 -0
- data/code/superant.com.gutenberg/deletegutenbergrecord.rb +21 -0
- data/code/superant.com.gutenberg/gutenbergcreatefile.rb +9 -0
- data/code/superant.com.gutenberg/helptexthashrwdgutenberg.rb +41 -0
- data/code/superant.com.gutenberg/jumplinkupdate.rb +7 -0
- data/code/superant.com.gutenberg/listnamerecord.rb +15 -0
- data/code/superant.com.gutenberg/listtextfilesgutenberg.rb +58 -0
- data/code/superant.com.gutenberg/loadbookrecord.rb +21 -0
- data/code/superant.com.gutenberg/loadconfigurationrecord.rb +36 -0
- data/code/superant.com.gutenberg/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.gutenberg/openhelpwindowgutenberg.rb +29 -0
- data/code/superant.com.gutenberg/returntomain.rb +10 -0
- data/code/superant.com.gutenberg/runbackwindow.rb +10 -0
- data/code/superant.com.gutenberg/rungutenbergwindow.rb +57 -0
- data/code/superant.com.gutenberg/rwdgutenbergbackward.rb +27 -0
- data/code/superant.com.gutenberg/rwdhypernotehelpabout.rb +14 -0
- data/code/superant.com.gutenberg/rwdtinkerversion.rb +10 -0
- data/code/superant.com.gutenberg/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.gutenberg/savegutenbergrecord.rb +20 -0
- data/code/superant.com.gutenberg/savelinkrecord.rb +23 -0
- data/code/superant.com.hypernote/archiveevent.rb +14 -0
- data/code/superant.com.hypernote/changehypernotename.rb +21 -0
- data/code/superant.com.hypernote/clearhypernotescreendisplay.rb +8 -0
- data/code/superant.com.hypernote/clearlinkscreendisplay.rb +8 -0
- data/code/superant.com.hypernote/copyfilename.rb +10 -0
- data/code/superant.com.hypernote/createnewnote.rb +14 -0
- data/code/superant.com.hypernote/deletehypernoterecord.rb +20 -0
- data/code/superant.com.hypernote/helptexthashrwdhypernote.rb +74 -0
- data/code/superant.com.hypernote/hyperlinkcreatelinkfile.rb +19 -0
- data/code/superant.com.hypernote/jumplinkupdate.rb +7 -0
- data/code/superant.com.hypernote/listhypernotelinks.rb +55 -0
- data/code/superant.com.hypernote/listhypernotes.rb +63 -0
- data/code/superant.com.hypernote/listlinknotes.rb +33 -0
- data/code/superant.com.hypernote/loadconfigurationrecord.rb +34 -0
- data/code/superant.com.hypernote/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.hypernote/loadlinksrecord.rb +21 -0
- data/code/superant.com.hypernote/loadnoterecord.rb +24 -0
- data/code/superant.com.hypernote/openhelpwindowrwdhyernote.rb +34 -0
- data/code/superant.com.hypernote/returntomain.rb +10 -0
- data/code/superant.com.hypernote/runrwdhypernotconfiguration.rb +12 -0
- data/code/superant.com.hypernote/runrwdhypernotebackwindow.rb +12 -0
- data/code/superant.com.hypernote/rwdhypernotehelpabout.rb +14 -0
- data/code/superant.com.hypernote/rwdtinkerversion.rb +10 -0
- data/code/superant.com.hypernote/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.hypernote/savehypernoterecord.rb +20 -0
- data/code/superant.com.hypernote/savelinkrecord.rb +23 -0
- data/code/superant.com.rwdaddresses/attachtmpcontactphoto.rb +24 -0
- data/code/superant.com.rwdaddresses/clearscreendisplay.rb +15 -0
- data/code/superant.com.rwdaddresses/createnewnamerecord.rb +19 -0
- data/code/superant.com.rwdaddresses/deletecontactrecord.rb +25 -0
- data/code/superant.com.rwdaddresses/deleterwdaddressesupdatefiles.rb +19 -0
- data/code/superant.com.rwdaddresses/downloadrwdaddressfiles.rb +36 -0
- data/code/superant.com.rwdaddresses/helptexthashrwdaddresses.rb +69 -0
- data/code/superant.com.rwdaddresses/jumplinkupdate.rb +9 -0
- data/code/superant.com.rwdaddresses/listnamerecord.rb +15 -0
- data/code/superant.com.rwdaddresses/listvcardrecord.rb +15 -0
- data/code/superant.com.rwdaddresses/loadconfigurationrecord.rb +45 -0
- data/code/superant.com.rwdaddresses/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.rwdaddresses/loadnamerecord.rb +30 -0
- data/code/superant.com.rwdaddresses/openhelpwindowrwdaddresses.rb +30 -0
- data/code/superant.com.rwdaddresses/renamecontact.rb +15 -0
- data/code/superant.com.rwdaddresses/runaddresseswindow.rb +10 -0
- data/code/superant.com.rwdaddresses/runrwdaddressesmenu1.rb +34 -0
- data/code/superant.com.rwdaddresses/runrwdaddresssyncbackwindow.rb +10 -0
- data/code/superant.com.rwdaddresses/rwdaddressesbackwindow.rb +10 -0
- data/code/superant.com.rwdaddresses/rwdaddresseshelpabout.rb +13 -0
- data/code/superant.com.rwdaddresses/rwdtinkerversion.rb +10 -0
- data/code/superant.com.rwdaddresses/saveconfigurationrecord.rb +20 -0
- data/code/superant.com.rwdaddresses/savevcardrecord.rb +76 -0
- data/code/superant.com.rwdaddresses/syncrwdaddress.rb +28 -0
- data/code/superant.com.rwdaddresses/test_cases.rb +46 -0
- data/code/superant.com.rwdaddresses/uploadrwdaddressfiles.rb +46 -0
- data/code/superant.com.rwdaddresses/viewaddressconfiguration.rb +21 -0
- data/code/superant.com.rwdaddresses/viewnamedata.rb +28 -0
- data/code/superant.com.rwdaddresses/viewphoto.rb +4 -0
- data/code/superant.com.rwdaddresses/viewrwdaddressesconfiguration.rb +23 -0
- data/code/superant.com.rwdaddresses/viewtmpcontactphoto.rb +12 -0
- data/code/superant.com.rwdaddresses/viewvcarddata.rb +22 -0
- data/code/superant.com.rwdcalc/ca2multiply.rb +10 -0
- data/code/superant.com.rwdcalc/changescriptname.rb +16 -0
- data/code/superant.com.rwdcalc/clearrubyscriptscreendisplay.rb +9 -0
- data/code/superant.com.rwdcalc/clearscriptscreendisplay.rb +9 -0
- data/code/superant.com.rwdcalc/deletescriptrecord.rb +20 -0
- data/code/superant.com.rwdcalc/fadd.rb +10 -0
- data/code/superant.com.rwdcalc/frwdcleartape.rb +9 -0
- data/code/superant.com.rwdcalc/frwddivide.rb +10 -0
- data/code/superant.com.rwdcalc/frwdmultiply.rb +10 -0
- data/code/superant.com.rwdcalc/frwdsubtract.rb +10 -0
- data/code/superant.com.rwdcalc/helptexthashrwdcalc.rb +14 -0
- data/code/superant.com.rwdcalc/jumplinkupdate.rb +11 -0
- data/code/superant.com.rwdcalc/listscripts.rb +13 -0
- data/code/superant.com.rwdcalc/loadrubyrecord.rb +20 -0
- data/code/superant.com.rwdcalc/loadscriptrecord.rb +20 -0
- data/code/superant.com.rwdcalc/mathcommands.rb +53 -0
- data/code/superant.com.rwdcalc/openhelpwindowrwdcalc.rb +21 -0
- data/code/superant.com.rwdcalc/playscript.rb +22 -0
- data/code/superant.com.rwdcalc/renamecalcrecord.rb +14 -0
- data/code/superant.com.rwdcalc/runrwdcalcwindow.rb +10 -0
- data/code/superant.com.rwdcalc/rwdadd.rb +10 -0
- data/code/superant.com.rwdcalc/rwdcleartape.rb +9 -0
- data/code/superant.com.rwdcalc/rwddivision.rb +10 -0
- data/code/superant.com.rwdcalc/rwdsubtraction.rb +10 -0
- data/code/superant.com.rwdcalc/savechangedscript.rb +19 -0
- data/code/superant.com.rwdcalc/saverubyscript.rb +20 -0
- data/code/superant.com.rwdcalc/viewscript.rb +18 -0
- data/code/superant.com.rwdcalendar/gh9calendar.rb +40 -0
- data/code/superant.com.rwdcalendar/helptexthashrwdschedule.rb +14 -0
- data/code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb +17 -0
- data/code/superant.com.rwdshell/changescriptname.rb +16 -0
- data/code/superant.com.rwdshell/clearscriptscreendisplay.rb +9 -0
- data/code/superant.com.rwdshell/deletescriptrecord.rb +20 -0
- data/code/superant.com.rwdshell/helptexthashshell.rb +31 -0
- data/code/superant.com.rwdshell/listrubyscripts.rb +13 -0
- data/code/superant.com.rwdshell/listscripts.rb +13 -0
- data/code/superant.com.rwdshell/loadconfigurationrecord.rb +33 -0
- data/code/superant.com.rwdshell/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.rwdshell/loadscriptrecord.rb +20 -0
- data/code/superant.com.rwdshell/openhelpwindowshell.rb +33 -0
- data/code/superant.com.rwdshell/playrubyscript.rb +23 -0
- data/code/superant.com.rwdshell/playscript.rb +23 -0
- data/code/superant.com.rwdshell/returntomain.rb +10 -0
- data/code/superant.com.rwdshell/rubyeval.rb +25 -0
- data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +10 -0
- data/code/superant.com.rwdshell/runrwdshellwindow.rb +12 -0
- data/code/superant.com.rwdshell/rwdshellversion.rb +14 -0
- data/code/superant.com.rwdshell/savechangedscript.rb +19 -0
- data/code/superant.com.rwdshell/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.rwdshell/shelleval.rb +20 -0
- data/code/superant.com.rwdshell/viewrubyscript.rb +18 -0
- data/code/superant.com.rwdshell/viewscript.rb +18 -0
- data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +96 -0
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +61 -0
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +25 -0
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +21 -0
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +20 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +53 -0
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +27 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +39 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +42 -0
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +33 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +22 -0
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +22 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +24 -0
- data/code/superant.com.words/dictlookup.rb +20 -0
- data/code/superant.com.words/jumplinkupdate.rb +6 -0
- data/code/superant.com.words/runfortunewindow.rb +14 -0
- data/code/superant.com.words/runrwdwordsbackwindow.rb +10 -0
- data/code/superant.com.words/runrwdwordsversion.rb +14 -0
- data/code/superant.com.words/rwdtinkerversion.rb +10 -0
- data/code/zz0applicationend/zz0end.rb +4 -0
- data/configuration/bigtinker.dist +3 -0
- data/configuration/language.dist +7 -0
- data/configuration/rwdaddresses.dist +21 -0
- data/configuration/rwdapplicationidentity.dist +3 -0
- data/configuration/rwdcalc.dist +8 -0
- data/configuration/rwdcalendar.dist +10 -0
- data/configuration/rwdgutenberg.dist +14 -0
- data/configuration/rwdhypernote.dist +13 -0
- data/configuration/rwdshell.dist +4 -0
- data/configuration/rwdtinker.dist +19 -0
- data/configuration/rwdwords.dist +18 -0
- data/configuration/tinkerwin2variables.dist +17 -0
- data/ev/browser.rb +109 -0
- data/ev/ftools.rb +170 -0
- data/ev/net.rb +750 -0
- data/ev/ruby.rb +819 -0
- data/ev/rwd.rb +1849 -0
- data/ev/sgml.rb +236 -0
- data/ev/thread.rb +63 -0
- data/ev/tree.rb +343 -0
- data/ev/xml.rb +4 -0
- data/extras/cal.rb +158 -0
- data/extras/dict.rb +438 -0
- data/extras/icalendar/base.rb +17 -0
- data/extras/icalendar/calendar.rb +44 -0
- data/extras/icalendar/calendar_parser.rb +237 -0
- data/extras/icalendar/component/alarm.rb +16 -0
- data/extras/icalendar/component/event.rb +25 -0
- data/extras/icalendar/component/freebusy.rb +12 -0
- data/extras/icalendar/component/journal.rb +25 -0
- data/extras/icalendar/component/timezone.rb +26 -0
- data/extras/icalendar/component/todo.rb +21 -0
- data/extras/icalendar/component.rb +91 -0
- data/extras/icalendar/helpers.rb +103 -0
- data/extras/icalendar/parameter.rb +25 -0
- data/extras/icalendar.rb +18 -0
- data/extras/rconftool.rb +380 -0
- data/extras/zip/ioextras.rb +114 -0
- data/extras/zip/stdrubyext.rb +111 -0
- data/extras/zip/tempfile_bugfixed.rb +195 -0
- data/extras/zip/zip.rb +1377 -0
- data/extras/zip/zipfilesystem.rb +558 -0
- data/extras/zip/ziprequire.rb +61 -0
- data/gui/00coreguibegin/applicationguitop.rwd +4 -0
- data/gui/frontwindow0/superant.com.rwdcalendar/hl9calendar.rwd +27 -0
- data/gui/frontwindow0/superant.com.shellscripts/1listplayscripts.rwd +17 -0
- data/gui/frontwindow0/superant.com.shellscripts/2listscripts.rwd +25 -0
- data/gui/frontwindow0/superant.com.shellscripts/3editscripts.rwd +26 -0
- data/gui/frontwindow0/superant.com.shellscripts/4scriptutilities.rwd +24 -0
- data/gui/frontwindow0/superant.com.shellscripts/6rwdshelleval.rwd +15 -0
- data/gui/frontwindow0/superant.com.shellscripts/cb7rwdrubyeval.rwd +13 -0
- data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +11 -0
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +15 -0
- data/gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd +3 -0
- data/gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd +6 -0
- data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +14 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +8 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd +6 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +3 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +3 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.addressesphotowindow/yy7addressesphoto.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/00rwdgutenberg.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/10viewnote.rwd +32 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/20listfiles.rwd +35 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/30booklistutilities.rwd +28 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/35displaytab.rwd +10 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/40rwdgutenberg.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/67viewconfiguration.rwd +40 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/77jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.gutendisplay/gutendisplaywindow.rwd +9 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/00windowbegin.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/10viewnote.rwd +32 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/20editlinks.rwd +34 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/30noteutilities.rwd +27 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/67viewconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.refreshwindow/fortunerefreshwindowtwo.rwd +9 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/00rwdaddresses.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/11viewnamedata.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/13listnamerecordfiles.rwd +21 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/16editrecord.rwd +39 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/17viewvcardrecord.rwd +32 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/18contactutilities.rwd +34 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/20downloadftp.rwd +45 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/70rwddiagnostics.rwd +23 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/88viewconfiguration.rwd +47 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/94selectiontab.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/95jumplink.rwd +15 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/97selectionend.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/1appname.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/20floatrwdcalc.rwd +23 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/30intrwdcalc.rwd +23 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/35mathcommands.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/44listplayscripts.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/45listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/46editscriptrecord.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/4scriptutilities.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/z9end.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/46editscriptrecord.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/94rwddiagnostics.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/98jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +42 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +33 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.words/1appname.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.words/1dictionary.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.words/3rwdfortune.rwd +14 -0
- data/gui/tinkerbackwindows/superant.com.words/77jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.words/80tab1.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.words/z9end.rwd +6 -0
- data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +4 -0
- data/init.rb +277 -0
- data/installed/gutenbergdata01.inf +3 -0
- data/installed/hypernotedata1.inf +12 -0
- data/installed/rwdaddressesdata2.inf +8 -0
- data/installed/rwdgutenberg-0.03.inf +9 -0
- data/installed/rwdviewlogo-0.4.inf +4 -0
- data/installed/rwdwaddresses-1.04.inf +13 -0
- data/installed/rwdwhypernote-0.07.inf +7 -0
- data/installed/rwdwwords-0.02.inf +10 -0
- data/lang/en/rwdcalendar/calendar-en.rb +6 -0
- data/lang/en/rwdcore/languagefile.rb +16 -0
- data/lang/es/rwdcalendar/calendar-nl.rb +6 -0
- data/lang/es/rwdcore/languagefile-es.rb +14 -0
- data/lang/jp/rwdcore/languagefile.rb +9 -0
- data/lang/nl/rwdcalendar/calendar-nl.rb +6 -0
- data/lang/nl/rwdcore/languagefile.rb +19 -0
- data/lib/temp.rb +1 -0
- data/names/Angelina Jolie.jpg +0 -0
- data/names/Angelina Jolie.nam +8 -0
- data/names/Angelina Jolie.vcf +8 -0
- data/names/Steven Gibson.jpg +0 -0
- data/names/Steven Gibson.nam +5 -0
- data/names/elektra.jpg +0 -0
- data/names/elektra.nam +7 -0
- data/names/nophoto.jpg +0 -0
- data/rwd_files/HowTo_Addresses.txt +259 -0
- data/rwd_files/HowTo_BigTinker.txt +146 -0
- data/rwd_files/HowTo_Gutenberg.txt +94 -0
- data/rwd_files/HowTo_HyperNote.txt +121 -0
- data/rwd_files/HowTo_RubyEval.html +80 -0
- data/rwd_files/HowTo_RwdCalc.txt +110 -0
- data/rwd_files/HowTo_Shell.txt +257 -0
- data/rwd_files/HowTo_Tinker.txt +425 -0
- data/rwd_files/HowTo_TinkerWin2.txt +202 -0
- data/rwd_files/HowTo_Words.txt +132 -0
- data/rwd_files/Readme.txt +57 -0
- data/rwd_files/RubyWebDialogs.html +6 -0
- data/rwd_files/contacttmp.jpg +0 -0
- data/rwd_files/favicon.ico +0 -0
- data/rwd_files/rdoc-style.css +175 -0
- data/rwd_files/rwdapplications.html +54 -0
- data/rwd_files/tinker.png +0 -0
- data/rwdconfig.dist +18 -0
- data/tests/RubyGauge.rb +179 -0
- data/tests/checkdepends.sh +4 -0
- data/tests/cleancnf.sh +5 -0
- data/tests/makedist.rb +59 -0
- data/tests/makerwdwaddresses-1.04.rb +40 -0
- data/tests/rdep.rb +354 -0
- data/tests/totranslate.lang +93 -0
- data/zips/rwdahelloworld-0.5.zip +0 -0
- 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,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
|
+
|