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,27 @@
|
|
|
1
|
+
# this code is to list the zipped applets that can be installed
|
|
2
|
+
def fillziptoinstallname(inffile)
|
|
3
|
+
applet = inffile.gsub(/\.zip$/, "")
|
|
4
|
+
@a_installapplet = applet
|
|
5
|
+
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
def listzipfilestoinstall
|
|
9
|
+
startlangdir = File.join($progdir, $zipslocation )
|
|
10
|
+
#get a list of the files and subdirectories on the starting directory only
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
a = Array.new(Dir["#{startlangdir}/*"].entries.sort)
|
|
14
|
+
|
|
15
|
+
#loop through and get the files names
|
|
16
|
+
a.each do |x|
|
|
17
|
+
# only zip files
|
|
18
|
+
if x =~ /\.zip/
|
|
19
|
+
# puts "#{x}" #adds the file to the array to display on the screen
|
|
20
|
+
$zipsarraylocal = $zipsarraylocal | ["#{x}"]
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
@zipslistresult = $zipsarraylocal.rwd_method("fillziptoinstallname")
|
|
26
|
+
end
|
|
27
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# this method puts the configuration rexord on the screen
|
|
2
|
+
def loadconfigurationrecord
|
|
3
|
+
|
|
4
|
+
require 'fileutils'
|
|
5
|
+
if TinkerWin2ConfigurationFileName
|
|
6
|
+
@a_configurationfilename = TinkerWin2ConfigurationFileName
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
begin # exception trapped block
|
|
10
|
+
|
|
11
|
+
Dir.chdir($progdir)
|
|
12
|
+
fileName = File.join(ConfigurationDir, TinkerWin2ConfigurationFileName)
|
|
13
|
+
|
|
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
|
|
33
|
+
fd.close
|
|
34
|
+
rescue SystemCallError, StandardError
|
|
35
|
+
$stderr.print "system call error: " + $!
|
|
36
|
+
end # exception rescue
|
|
37
|
+
|
|
38
|
+
end
|
|
39
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# this method loads the on screen variables into the running class
|
|
2
|
+
def loadconfigurationvariables
|
|
3
|
+
|
|
4
|
+
configfiletoload = File.join(ConfigurationDir,TinkerWin2ConfigurationFileName)
|
|
5
|
+
begin
|
|
6
|
+
load configfiletoload
|
|
7
|
+
@extraconfigdatadisplay = ""
|
|
8
|
+
@newconfigurationresult = "Config Variables loaded"
|
|
9
|
+
rescue
|
|
10
|
+
@extraconfigdatadisplay = ""
|
|
11
|
+
@newconfigurationresult = "loading error"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
#network
|
|
2
|
+
require 'socket' # Network stuff
|
|
3
|
+
require 'timeout' # Timeout functions
|
|
4
|
+
|
|
5
|
+
def network_start
|
|
6
|
+
if RUBY_PLATFORM != "i386-mswin32"
|
|
7
|
+
processone = fork {
|
|
8
|
+
network_demon }
|
|
9
|
+
Process.detach(processone)
|
|
10
|
+
|
|
11
|
+
else
|
|
12
|
+
puts "fork not tried winXP?"
|
|
13
|
+
end
|
|
14
|
+
@viewremotecommandresult = "starting controller on next available port"
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def network_demon
|
|
18
|
+
# Find configuration variables
|
|
19
|
+
host = "127.0.0.1"
|
|
20
|
+
port = $rwdcontrolports[0].to_i
|
|
21
|
+
|
|
22
|
+
openportfound = false
|
|
23
|
+
until openportfound
|
|
24
|
+
|
|
25
|
+
# Create a socket to listen on and bind it to the host and port
|
|
26
|
+
begin
|
|
27
|
+
@socket = UDPSocket::new()
|
|
28
|
+
@socket.bind(host, port)
|
|
29
|
+
# Rescue the "Address in use" error
|
|
30
|
+
openportfound = true
|
|
31
|
+
|
|
32
|
+
rescue Errno::EADDRINUSE
|
|
33
|
+
puts "controller startup: Port #{port} on host #{host} is already in use."
|
|
34
|
+
port=port+1
|
|
35
|
+
# Rescue the "Address not available' error
|
|
36
|
+
rescue Errno::EADDRNOTAVAIL
|
|
37
|
+
puts "Network plugin: Address #{host} is not available to bind."
|
|
38
|
+
port=port+1
|
|
39
|
+
# Rescue "permission denied errors
|
|
40
|
+
rescue Errno::EACCES
|
|
41
|
+
puts "controller startup: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
|
|
42
|
+
port=port+1
|
|
43
|
+
# Rescue all other errors
|
|
44
|
+
rescue
|
|
45
|
+
puts "Network plugin: An error occured."
|
|
46
|
+
port = port+1
|
|
47
|
+
# Rescue all other errors
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# Get all acceptable hosts
|
|
54
|
+
hosts = ["localhost","vaio-sag"]
|
|
55
|
+
# Do some nice errorchecking
|
|
56
|
+
if(hosts.type != Array)
|
|
57
|
+
puts "Network plugin: No hosts found in networkConfig/acceptHosts. Shutting down plugin."
|
|
58
|
+
return -1 # Return the errorcode for plugin failure
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Main loop
|
|
62
|
+
while(true)
|
|
63
|
+
# Get data and client data from the client
|
|
64
|
+
data, info = @socket.recvfrom(256)
|
|
65
|
+
|
|
66
|
+
# Is this an acceptable IP address?
|
|
67
|
+
if(hosts.include?(info[2]) || hosts.include?(info[3]))
|
|
68
|
+
command, parameter = data.split(';')
|
|
69
|
+
|
|
70
|
+
# Command actions
|
|
71
|
+
command.downcase!()
|
|
72
|
+
case command
|
|
73
|
+
|
|
74
|
+
when 'stop'
|
|
75
|
+
@socket.send("hello world",0,info[3],info[1].to_i)
|
|
76
|
+
|
|
77
|
+
when 'query'
|
|
78
|
+
@socket.send("#{$rwdapplicationidentity} on port #{$port}",0,info[3],info[1].to_i)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
end # case command
|
|
82
|
+
|
|
83
|
+
end # Access control if
|
|
84
|
+
end # while(true)
|
|
85
|
+
|
|
86
|
+
end # Network::start()
|
|
87
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
def openappletname
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
nametext = "%s" % [@a_installlist]
|
|
4
|
+
|
|
5
|
+
begin # exception trapped block
|
|
6
|
+
fileName = "installed/" + nametext + ".inf"
|
|
7
|
+
|
|
8
|
+
fd = File.open(fileName,"r")
|
|
9
|
+
@displaytext = " "
|
|
10
|
+
while ! fd.eof?
|
|
11
|
+
@displaytext = fd.read
|
|
12
|
+
end
|
|
13
|
+
fd.close
|
|
14
|
+
rescue
|
|
15
|
+
@displaytext = "\n" + "error"
|
|
16
|
+
end # exception rescue
|
|
17
|
+
|
|
18
|
+
end
|
|
19
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# this code is to call the help window
|
|
2
|
+
def runhelpwindowtinkerwin2
|
|
3
|
+
|
|
4
|
+
# $helptopicsarray = $helptopicsarray | [""]
|
|
5
|
+
|
|
6
|
+
$help_topic = "tinkerwin2_help"
|
|
7
|
+
if @rwd_tab == "rwdzipslister"
|
|
8
|
+
$help_topic = "tinkerwin2_help"
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
if @rwd_tab == "filelister"
|
|
12
|
+
$help_topic = "applet_viewing"
|
|
13
|
+
|
|
14
|
+
end
|
|
15
|
+
if @rwd_tab == "zipslister"
|
|
16
|
+
$help_topic = "applet_installation"
|
|
17
|
+
|
|
18
|
+
end
|
|
19
|
+
if @rwd_tab == "editconfigurationfile"
|
|
20
|
+
$help_topic = "applet_tinkerbackeditconfiguration"
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
if @rwd_tab == "rwdremotecontrol"
|
|
24
|
+
$help_topic = "remote_control"
|
|
25
|
+
|
|
26
|
+
end
|
|
27
|
+
if @rwd_tab == "superantcomremotezipsinstall"
|
|
28
|
+
$help_topic = "remotegemapplet_install"
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
if @rwd_window != "rwdtinkerhelpwindow"
|
|
33
|
+
$previouswindow = @rwd_window
|
|
34
|
+
$previoustab = @rwd_tab
|
|
35
|
+
else
|
|
36
|
+
$previouswindow = @rwd_window
|
|
37
|
+
$previoustab = @rwd_tab
|
|
38
|
+
end
|
|
39
|
+
runhelpwindow
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# This tinker method is to retrieve the list of rwdzip applets available to install from the remote repository
|
|
2
|
+
def superantcomremotegemlist
|
|
3
|
+
gemcommandoption = "search --remote "
|
|
4
|
+
gemfilename = "rwdzip"
|
|
5
|
+
commandtext = "gem search --remote rwdzip"
|
|
6
|
+
commandtemp = $xpcommand + commandtext
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
|
|
9
|
+
tempremotegemappletsresult = `#{commandtemp} 2>&1`
|
|
10
|
+
@superantcomremotegemappletsfullresult = tempremotegemappletsresult
|
|
11
|
+
fileList = tempremotegemappletsresult.split(/\n/).delete_if { |x| ! (x =~ /\Arwdzip/) }
|
|
12
|
+
|
|
13
|
+
@superantcomremotegemappletsresult = fileList.rwd_method("superantcomremotegemappletdirsname")
|
|
14
|
+
rescue SystemCallError, StandardError
|
|
15
|
+
@superantcomremotegemappletsresult = "system call error: " + $!
|
|
16
|
+
end # exception rescue
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def superantcomremotegemappletdirsname(inffile)
|
|
20
|
+
applet = inffile
|
|
21
|
+
@superantcominstallremoteappletinput = applet
|
|
22
|
+
|
|
23
|
+
end
|
|
24
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# method to remove a tinker applet
|
|
2
|
+
def removeapplet
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
nametext = "%s" % [@a_removeapplet]
|
|
5
|
+
|
|
6
|
+
begin # exception trapped block
|
|
7
|
+
fileName = "installed/" + nametext + ".inf"
|
|
8
|
+
count = 0
|
|
9
|
+
fd = File.open(fileName,"r")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
fd.each { |oneline|
|
|
13
|
+
if count == 1
|
|
14
|
+
if File.exist?(oneline.chop)
|
|
15
|
+
FileUtils.rm_rf( oneline.chop)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
end
|
|
19
|
+
count = 1
|
|
20
|
+
}
|
|
21
|
+
fd.close
|
|
22
|
+
|
|
23
|
+
FileUtils.rm_rf( fileName)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
@removeapplettext = "applet files removed! - restart rwd to finish uninstalling"
|
|
27
|
+
|
|
28
|
+
rescue
|
|
29
|
+
@removeapplettext = "\n" + "error"
|
|
30
|
+
|
|
31
|
+
end # exception rescue
|
|
32
|
+
|
|
33
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
# call the rwdtinker helpwindow
|
|
6
|
+
|
|
7
|
+
def runremotezipsinstall
|
|
8
|
+
@rwd_window = "tinkerbackwindow"
|
|
9
|
+
@rwd_tab = "superantcomremotezipsinstall"
|
|
10
|
+
end
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
# call the rwdtinker helpwindow
|
|
6
|
+
|
|
7
|
+
def runrwdtinkerbackwindow
|
|
8
|
+
@rwd_window = "tinkerbackwindow"
|
|
9
|
+
@rwd_tab = "rwdzipslister"
|
|
10
|
+
end
|
|
11
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
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 runrwdtinkerwin2version
|
|
7
|
+
@rwd_window = "applicationversion"
|
|
8
|
+
@versionappnamedisplay = "RwdTinkerWin2"
|
|
9
|
+
@versioncopyrightdisplay = "(c) 2004 Steven Gibson "
|
|
10
|
+
@versionnumberdisplay = "Version " + RwdTinkerWin2Version
|
|
11
|
+
|
|
12
|
+
end
|
|
13
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# this method saves the configuration record
|
|
2
|
+
def saveconfigurationrecord
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
if @a_configurationfilename
|
|
5
|
+
newname = "%s" % [@a_configurationfilename] # grab the filename to create
|
|
6
|
+
newdata =@a_configline1.to_s + "\n" + @a_configline2.to_s + "\n" + @a_configline3.to_s + "\n" + @a_configline4.to_s + "\n" + @a_configline5.to_s +
|
|
7
|
+
"\n" + @a_configline6.to_s + "\n" + @a_configline7.to_s + "\n" + @a_configline8.to_s + "\n" +
|
|
8
|
+
@a_configline9.to_s + "\n" + @a_configline10.to_s + "\n" + @a_configline11.to_s + "\n" +
|
|
9
|
+
@a_configline12.to_s + "\n" + @a_configline13.to_s + "\n" + @a_configline14.to_s + "\n"
|
|
10
|
+
|
|
11
|
+
begin # exception trapped block
|
|
12
|
+
fileName = File.join( ConfigurationDir, newname )
|
|
13
|
+
fd = File.open(fileName,"w")
|
|
14
|
+
fd.print(newdata) # save the record info to the file
|
|
15
|
+
fd.close
|
|
16
|
+
@newconfigurationresult=newdata # show the record info in the browser
|
|
17
|
+
rescue SystemCallError, StandardError
|
|
18
|
+
$stderr.print "system call error: " + $!
|
|
19
|
+
end # exception rescue
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#view contents of a tinker applet
|
|
2
|
+
def viewappletcontents
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'extras/zip/zip'
|
|
5
|
+
nametext = "%s" % [@a_installapplet]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fullname = nametext + ".zip"
|
|
9
|
+
fileName = File.join($zipslocation,fullname)
|
|
10
|
+
tempfilecontents = " "
|
|
11
|
+
zf = Zip::ZipFile.new(fileName)
|
|
12
|
+
zf.sort.each {
|
|
13
|
+
|entry|
|
|
14
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
|
15
|
+
}
|
|
16
|
+
@appletcontentstext = tempfilecontents
|
|
17
|
+
|
|
18
|
+
rescue
|
|
19
|
+
@installapplettext = "unzip error - error opening applet"
|
|
20
|
+
end # exception rescue
|
|
21
|
+
|
|
22
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#view gem info
|
|
2
|
+
def viewgemappletcontents
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'extras/zip/zip'
|
|
5
|
+
nametext = "%s" % [@a_installapplet]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fullname = nametext + ".zip"
|
|
9
|
+
|
|
10
|
+
tempfilecontents = " "
|
|
11
|
+
zf = Zip::ZipFile.new(fullname)
|
|
12
|
+
zf.sort.each {
|
|
13
|
+
|entry|
|
|
14
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
|
15
|
+
}
|
|
16
|
+
@appletcontentstext = tempfilecontents
|
|
17
|
+
|
|
18
|
+
rescue
|
|
19
|
+
@installapplettext = "unzip error - error opening applet"
|
|
20
|
+
end # exception rescue
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# dictionary
|
|
2
|
+
def dictlookup
|
|
3
|
+
require 'extras/dict'
|
|
4
|
+
if ! @a_dictionaryinput.empty?
|
|
5
|
+
|
|
6
|
+
dict = DICT.new('dict.org', DICT::DEFAULT_PORT)
|
|
7
|
+
dict.client('a Ruby/DICT client')
|
|
8
|
+
definitions = dict.define(DICT::ALL_DATABASES, @a_dictionaryinput)
|
|
9
|
+
@dictionary_display = ""
|
|
10
|
+
if definitions
|
|
11
|
+
definitions.each do |d|
|
|
12
|
+
@dictionary_display = @dictionary_display + d.description + d.database + "\n"
|
|
13
|
+
d.definition.each { |line| @dictionary_display = @dictionary_display + line }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
dict.disconnect
|
|
18
|
+
@dictionary_display = @dictionary_display + "\n\n"
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a contact book
|
|
3
|
+
# For more information about see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# call the window
|
|
6
|
+
def runrwdwordsbackwindow
|
|
7
|
+
@rwd_window = "rwdwordsbackwindow"
|
|
8
|
+
@rwd_tab = "dictlookup"
|
|
9
|
+
end
|
|
10
|
+
|
|
@@ -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 runrwdwordsversion
|
|
8
|
+
@rwd_window = "applicationversion"
|
|
9
|
+
@versionappnamedisplay = "RwdWords"
|
|
10
|
+
@versioncopyrightdisplay = "(c) 2005 Steven Gibson "
|
|
11
|
+
@versionnumberdisplay = "Version " + RwdWordsVersion
|
|
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 rwdwordshelpaboutsetup
|
|
7
|
+
return ["RwdWords","(c) 2004,2005 Steven Gibson ","Version #{RwdWordsVersion}"]
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
##VERSION:1.04
|
|
2
|
+
#rwdaddresses contact book
|
|
3
|
+
$photodelay = 1
|
|
4
|
+
##NAME:$addressfiles_directory:0
|
|
5
|
+
$addressfiles_directory="names"
|
|
6
|
+
##NAME:$tmpphoto_directory:0
|
|
7
|
+
$tmpphoto_directory = "/tmp"
|
|
8
|
+
##NAME:$rwdaddresses_ftpsite:0
|
|
9
|
+
$rwdaddresses_ftpsite = "ftp.mysite.com"
|
|
10
|
+
##NAME:$rwdaddresses_ftplogin:0
|
|
11
|
+
$rwdaddresses_ftplogin = "mylogin"
|
|
12
|
+
##NAME:$rwdaddresses_ftppassword:0
|
|
13
|
+
$rwdaddresses_ftppassword = "mypassword"
|
|
14
|
+
##NAME:$rwdaddresses_ftpdirectory:0
|
|
15
|
+
$rwdaddresses_ftpdirectory = "/incoming/rwdnames/"
|
|
16
|
+
##NAME:$rwdaddresses_updatedirectory:0
|
|
17
|
+
$rwdaddresses_updatedirectory = "updates"
|
|
18
|
+
$testharnessarray += ["rwdaddresses_all_tests"]
|
|
19
|
+
$tinkerdocumentsarray += ["HowTo_Addresses.txt"]
|
|
20
|
+
$tinkerhelpaboutarray += ["RwdAddresses"]
|
|
21
|
+
RwdAddressesVersion = "1.04"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
##VERSION:0.03
|
|
2
|
+
##NAME:$rwdgutenberg_directory:0
|
|
3
|
+
$rwdgutenberg_directory = "Books"
|
|
4
|
+
##NAME:$gutenbergcommand:0
|
|
5
|
+
$gutenbergcommand = "openbook"
|
|
6
|
+
##NAME:$booklocation:0
|
|
7
|
+
$booklocation = 0
|
|
8
|
+
##NAME:$booksteps:0
|
|
9
|
+
$booksteps = 10
|
|
10
|
+
##NAME:BookViewDisplay:0
|
|
11
|
+
BookViewDisplay = 15
|
|
12
|
+
$tinkerdocumentsarray += ["HowTo_Gutenberg.txt"]
|
|
13
|
+
$tinkerhelpaboutarray += ["RwdGutenberg"]
|
|
14
|
+
RwdGutenbergVersion = "0.03"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
##VERSION:0.07
|
|
2
|
+
##NAME: $rwdhypernote_directory:0
|
|
3
|
+
$rwdhypernote_directory = "Notes"
|
|
4
|
+
$notesarray = ["Notes/changes.txt"]
|
|
5
|
+
$noteslinksarray = ["Notes/changes.lnk"]
|
|
6
|
+
$rwdhypernote_ftpsite = "ftp.mysite.com"
|
|
7
|
+
$rwdhypernote_ftplogin = "mylogin"
|
|
8
|
+
$rwdhypernote_ftppassword = "mypassword"
|
|
9
|
+
$rwdhypernote_ftpdirectory = "/incoming/rwdhypernotes/"
|
|
10
|
+
$rwdhypernote_updatedirectory = "updates"
|
|
11
|
+
$tinkerdocumentsarray += ["HowTo_HyperNote.txt"]
|
|
12
|
+
$tinkerhelpaboutarray += ["RwdHyperNote"]
|
|
13
|
+
RwdHyperNoteVersion = "0.07"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
##VERSION:1.65
|
|
2
|
+
ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
|
|
3
|
+
CodeName = "rwdtinker"
|
|
4
|
+
CodeNameFile = CodeName + ".rb"
|
|
5
|
+
RWDFile = "rwdtinker.rwd"
|
|
6
|
+
LangDir = "lang"
|
|
7
|
+
CodeDir = "code"
|
|
8
|
+
GuiDir = "gui"
|
|
9
|
+
$help_topic = "general_help"
|
|
10
|
+
$helptopicsarray = [ "general_help","network_help"]
|
|
11
|
+
$prevouswindow ="main"
|
|
12
|
+
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"]
|
|
13
|
+
$port = 7705
|
|
14
|
+
$rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
|
|
15
|
+
Browser_Exe = 'mozilla '
|
|
16
|
+
$tinkerdocumentsarray +=["COPYING","HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
|
|
17
|
+
RwdTinkerVersion = "1.65"
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
##VERSION:0.02
|
|
2
|
+
# rwdwords
|
|
3
|
+
##NAME:$extras_directory:0
|
|
4
|
+
$extras_directory = "extras"
|
|
5
|
+
##NAME:FortuneCommand:0
|
|
6
|
+
FortuneCommand="/usr/games/fortune"
|
|
7
|
+
##NAME:FortuneDelay:0
|
|
8
|
+
FortuneDelay= 15
|
|
9
|
+
$tinkerdocumentsarray += ["HowTo_Words.txt"]
|
|
10
|
+
$tinkerhelpaboutarray += ["RwdWords"]
|
|
11
|
+
RwdWordsVersion="0.02"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
##VERSION:1.63
|
|
2
|
+
TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
|
|
3
|
+
##NAME:$zipslocation:0
|
|
4
|
+
$zipslocation = "zips" # location of applets to add
|
|
5
|
+
$zipsarray = [""] ; $zipsarraylocal = [""]
|
|
6
|
+
##NAME:$xpcommand:0
|
|
7
|
+
$xpcommand = " " # Linux machines
|
|
8
|
+
# $xpcommand = "cmd /C " # XP machines with cmd shell
|
|
9
|
+
##NAME:$gemdirectory_withgemfiles:0
|
|
10
|
+
$gemdirectory_withgemfiles = "/usr/lib/ruby/gems/1.8/gems"
|
|
11
|
+
# $gemdirectory_withgemfiles = "c:\\ruby\\lib\\ruby\\gems\\1.8\\gems" # XP machine
|
|
12
|
+
##NAME:$geminstalled_directory:0
|
|
13
|
+
# $geminstalled_directory = "/ruby/lib/ruby/gems/1.8/gems" # XP machine
|
|
14
|
+
$geminstalled_directory = "/usr/lib/ruby/gems/1.8/gems" # Debian Linux
|
|
15
|
+
|
|
16
|
+
RwdTinkerWin2Version = "0.8"
|
|
17
|
+
|