bigtinker 0.97 → 0.98
Sign up to get free protection for your applications and to get access to all the features.
- data/code/01rwdcore/01rwdcore.rb +6 -6
- data/code/01rwdcore/02helptexthashbegin.rb +13 -11
- data/code/01rwdcore/jumplinkcommand.rb +14 -4
- data/code/01rwdcore/openhelpwindow.rb +7 -0
- data/code/01rwdcore/runhelpabout.rb +6 -1
- data/code/01rwdcore/runtab.rb +15 -0
- data/code/01rwdcore/selectiontab.rb +2 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +2 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +1 -0
- data/code/01rwdcore/test_cases.rb +100 -51
- data/code/01rwdcore/test_harness.rb +8 -1
- data/code/01rwdcore/uploadreturns.rb +3 -0
- data/code/dd0viewphoto/dd0viewphoto.rb +2 -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.rwdtinkerbackwindow/changelocale.rb +84 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +0 -1
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +2 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +2 -0
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +3 -1
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +4 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +3 -1
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +3 -1
- data/code/superant.com.rwdtinkerbackwindow/showlocaleoptions.rb +9 -0
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -0
- data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +8 -5
- data/code/superant.com.schedule/0uninstallapplet.rb +24 -0
- data/code/superant.com.schedule/archiveevent.rb +14 -0
- data/code/superant.com.schedule/archiveicsevent.rb +14 -0
- data/code/superant.com.schedule/cleareventscreendisplay.rb +19 -0
- data/code/superant.com.schedule/deleteeventrecord.rb +19 -0
- data/code/superant.com.schedule/deleteicseventrecord.rb +19 -0
- data/code/superant.com.schedule/deleterwdscheduleupdatefiles.rb +20 -0
- data/code/superant.com.schedule/downloadrwdschedulefiles.rb +37 -0
- data/code/superant.com.schedule/exporticseventrecord.rb +97 -0
- data/code/{superant.com.foldeditor → superant.com.schedule}/helptexthashload.rb +2 -2
- data/code/superant.com.schedule/listeventdates.rb +19 -0
- data/code/superant.com.schedule/listicseventdates.rb +19 -0
- data/code/{superant.com.foldeditor → superant.com.schedule}/loadconfigurationrecord.rb +4 -4
- data/code/superant.com.schedule/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.schedule/loadeventrecord.rb +38 -0
- data/code/superant.com.schedule/loadicseventrecord.rb +30 -0
- data/code/superant.com.schedule/openhelpwindowrwdschedule.rb +43 -0
- data/code/superant.com.schedule/renameeventdata.rb +14 -0
- data/code/superant.com.schedule/renameicseventdata.rb +17 -0
- data/code/{superant.com.foldeditor/runrwdapplet.rb → superant.com.schedule/returntomain.rb} +3 -3
- data/code/superant.com.schedule/runrwdscheduleicsbackwindow.rb +10 -0
- data/code/superant.com.schedule/runrwdschedulemenu1.rb +34 -0
- data/code/superant.com.schedule/runrwdschedulesyncbackwindow.rb +10 -0
- data/code/{superant.com.foldeditor/rwdtinkerversion.rb → superant.com.schedule/rwdversion.rb} +2 -2
- data/code/{superant.com.foldeditor → superant.com.schedule}/saveconfigurationrecord.rb +5 -6
- data/code/superant.com.schedule/saveeventrecord.rb +25 -0
- data/code/superant.com.schedule/saveicseventrecord.rb +98 -0
- data/code/superant.com.schedule/syncrwdschedule.rb +30 -0
- data/code/superant.com.schedule/test_cases.rb +45 -0
- data/code/superant.com.schedule/uploadrwdschedulefiles.rb +30 -0
- data/code/superant.com.schedule/viewevent.rb +20 -0
- data/code/superant.com.schedule/viewicsevent.rb +20 -0
- data/code/superant.com.schedule/viewrwdschedulesconfiguration.rb +21 -0
- data/code/zz0applicationend/zz0end.rb +2 -1
- data/configuration/bigtinker.dist +5 -2
- data/configuration/rwdtinker.dist +3 -3
- data/configuration/rwdwschedule.dist +28 -0
- data/configuration/tinkerwin2variables.dist +1 -1
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +45 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/67viewconfiguration.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/70rwddiagnostics.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/{superant.com.foldeditor/9end.rwd → superant.com.rwdschedulebackwindow/zvbackend.rwd} +6 -6
- data/gui/tinkerbackwindows/superant.com.rwdschedules/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/gg0viewevent.rwd +27 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/gl6editrecord.rwd +56 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/gl8contactutilities.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/hl9calendar.rwd +27 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/{superant.com.slideshow/9end.rwd → superant.com.rwdschedules/zvbackend.rwd} +6 -6
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/30viewevent.rwd +27 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/40editrecord.rwd +49 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/60eventicsutilities.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80localechanger.rwd +17 -0
- data/init.rb +7 -1
- data/installed/rwdscheduledate2.inf +6 -0
- data/installed/rwdwschedule.inf +20 -0
- data/lang/en/rwdcalendar/en.po +32 -0
- data/lang/en/rwdcore/en.po +31 -0
- data/lang/es/rwdcalendar/es.po +10 -0
- data/lang/es/rwdcore/es.po +27 -15
- data/lang/fr/rwdcalendar/fr.po +11 -0
- data/lang/fr/rwdcore/fr.po +4 -1
- data/lang/hi/rwdcalendar/hi.po +11 -0
- data/lang/hi/rwdcore/hi.po +39 -36
- data/lang/ja/rwdcalendar/ja.po +11 -0
- data/lang/ja/rwdcore/ja.po +3 -0
- data/lang/nl/rwdcalendar/nl.po +12 -0
- data/lang/nl/rwdcore/nl.po +4 -1
- data/lib/cal.rb +158 -0
- data/lib/icalendar.rb +18 -0
- data/lib/icalendar/base.rb +17 -0
- data/lib/icalendar/calendar.rb +44 -0
- data/lib/icalendar/calendar_parser.rb +237 -0
- data/lib/icalendar/component.rb +91 -0
- data/lib/icalendar/component/alarm.rb +16 -0
- data/lib/icalendar/component/event.rb +25 -0
- data/lib/icalendar/component/freebusy.rb +12 -0
- data/lib/icalendar/component/journal.rb +25 -0
- data/lib/icalendar/component/timezone.rb +26 -0
- data/lib/icalendar/component/todo.rb +21 -0
- data/lib/icalendar/helpers.rb +103 -0
- data/lib/icalendar/parameter.rb +25 -0
- data/lib/zip/ioextras.rb +43 -2
- data/lib/zip/stdrubyext.rb +5 -5
- data/lib/zip/tempfile_bugfixed.rb +2 -2
- data/lib/zip/zip.rb +618 -149
- data/lib/zip/zipfilesystem.rb +59 -8
- data/lib/zip/ziprequire.rb +32 -3
- data/rwd_files/HowTo_BigTinker.txt +15 -3
- data/rwd_files/HowTo_Schedule.txt +265 -0
- data/rwd_files/HowTo_Tinker.txt +14 -0
- data/rwd_files/Tinkerhelptexthash.txt +5 -2
- data/rwd_files/rwdapplications.html +23 -1
- data/rwd_files/rwdschedulehelpfiles.txt +19 -0
- data/rwd_files/schedules/20050120T09.ics +9 -0
- data/rwd_files/schedules/200505may02a.sch +4 -0
- data/rwd_files/schedules/Enterprise.ics +411 -0
- data/rwd_files/schedules/US Holidays.ics +575 -0
- data/rwd_files/schedules/archive/sample.archive +1 -0
- data/rwd_files/schedules/testics05.ics +11 -0
- data/rwdconfig.dist +4 -2
- data/{bigtinker.rb → rwdtinker.rb} +0 -0
- data/tests/{makedist-rwdwfoldeditor.rb → makedist-rwdwhypernote.rb} +4 -8
- data/tests/makedist.rb +1 -1
- data/updates/temp.rb +1 -0
- data/zips/rwdwfoldeditor-0.07.zip +0 -0
- data/zips/rwdwhypernote-0.16.zip +0 -0
- data/zips/rwdwschedule-1.07.zip +0 -0
- data/zips/tinkerbellw-0.04.zip +0 -0
- metadata +102 -54
- data/code/superant.com.foldeditor/0uninstallapplet.rb +0 -17
- data/code/superant.com.foldeditor/changehypernotename.rb +0 -21
- data/code/superant.com.foldeditor/chooselinkfile.rb +0 -6
- data/code/superant.com.foldeditor/choosenotefile.rb +0 -6
- data/code/superant.com.foldeditor/clearnotescreen.rb +0 -7
- data/code/superant.com.foldeditor/createnewnotehtml.rb +0 -31
- data/code/superant.com.foldeditor/hyperlinkcreatelinkfile.rb +0 -19
- data/code/superant.com.foldeditor/launchfoldeditorurl.rb +0 -19
- data/code/superant.com.foldeditor/listfoldeditorfiles.rb +0 -7
- data/code/superant.com.foldeditor/loadconfigurationvariables.rb +0 -14
- data/code/superant.com.foldeditor/loadfolddocument.rb +0 -18
- data/code/superant.com.foldeditor/loadnextnote.rb +0 -32
- data/code/superant.com.foldeditor/loadprevnote.rb +0 -32
- data/code/superant.com.foldeditor/loadrwdfoldeditlinkfile.rb +0 -19
- data/code/superant.com.foldeditor/openhelpwindowrwdhyernote.rb +0 -30
- data/code/superant.com.foldeditor/rwddisplayfoldlinks.rb +0 -41
- data/code/superant.com.foldeditor/savefoldlinkfile.rb +0 -20
- data/code/superant.com.foldeditor/savehtmlhypernoterecord.rb +0 -20
- data/configuration/rwdwfoldeditor.dist +0 -16
- data/gui/tinkerbackwindows/superant.com.foldeditor/10appletbegin.rwd +0 -4
- data/gui/tinkerbackwindows/superant.com.foldeditor/10aviewnote.rwd +0 -36
- data/gui/tinkerbackwindows/superant.com.foldeditor/15htmlview.rwd +0 -43
- data/gui/tinkerbackwindows/superant.com.foldeditor/56viewfold.rwd +0 -43
- data/gui/tinkerbackwindows/superant.com.foldeditor/67viewconfiguration.rwd +0 -27
- data/gui/tinkerbackwindows/superant.com.foldeditor/81jumplinkcommands.rwd +0 -17
- data/gui/tinkerbackwindows/superant.com.slideshow/10appletbegin.rwd +0 -4
- data/gui/tinkerbackwindows/superant.com.slideshow/11viewnamedata.rwd +0 -19
- data/gui/tinkerbackwindows/superant.com.slideshow/13listnamerecordfiles.rwd +0 -21
- data/gui/tinkerbackwindows/superant.com.slideshow/16editrecord.rwd +0 -39
- data/gui/tinkerbackwindows/superant.com.slideshow/17viewvcardrecord.rwd +0 -32
- data/gui/tinkerbackwindows/superant.com.slideshow/18contactutilities.rwd +0 -34
- data/gui/tinkerbackwindows/superant.com.slideshow/81jumplinkcommands.rwd +0 -17
- data/installed/rwdwfoldeditor.inf +0 -11
- data/rwd_files/HowTo_FoldEditor.txt +0 -131
- data/rwd_files/default.fld +0 -9
- data/rwd_files/rubylinks.fld +0 -6
- data/rwd_files/rwdfoldeditorhelpfiles.txt +0 -42
- data/rwd_files/rwdhypernote-0.13.fld +0 -202
- data/zips/rwdwfoldeditor-0.06.zip +0 -0
- data/zips/rwdwschedule-1.05.zip +0 -0
- data/zips/tinkerbellw-0.03.zip +0 -0
@@ -1,19 +0,0 @@
|
|
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
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# launch the browser with a url
|
2
|
-
def foldeditorlaunchurl
|
3
|
-
|
4
|
-
url1 = File.expand_path( @a_viewfoldlink.to_s.strip )
|
5
|
-
|
6
|
url = "file://#{url1}"
|
7
|
-
|
8
|
-
|
9
|
-
`#{$foldeditorbrowser} "#{url}"`
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
def foldeditorlaunchhttp
|
14
|
-
|
15
|
-
url = @a_viewfoldlink.to_s.strip
|
16
|
-
|
17
|
-
|
18
|
-
`#{$foldeditorbrowser} "#{url}"`
|
19
|
-
|
20
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# this method loads the on screen variables into the running class
|
2
|
-
def loadrwdfoldeditorconfigurationvariables
|
3
|
-
|
4
|
-
tmpfilename = "rwdwfoldeditor.cnf"
|
5
|
-
configfiletoload = File.join(ConfigurationDir, tmpfilename )
|
6
|
-
begin
|
7
|
-
load configfiletoload
|
8
|
-
@extrahypconfigdatadisplay = ""
|
9
|
-
@newhypconfigurationresult = "Config Variables loaded"
|
10
|
-
rescue
|
11
|
-
@extrahypconfigdatadisplay = ""
|
12
|
-
@newhypconfigurationresult = "loading error"
|
13
|
-
end
|
14
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# this method views an existing record
|
2
|
-
def loadfolddocument
|
3
|
-
|
4
|
-
require 'fileutils'
|
5
|
-
|
6
|
-
begin # exception trapped block
|
7
|
-
|
8
|
-
fileName = @a_viewfoldlink
|
9
|
-
|
10
|
-
fd = File.open(fileName,"r")
|
11
|
-
@folddocumentresult = fd.read
|
12
|
-
|
13
|
-
fd.close
|
14
|
-
rescue SystemCallError, StandardError
|
15
|
-
$stderr.print "system call error: " + $!
|
16
|
-
end # exception rescue
|
17
|
-
|
18
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
# this method views next record
|
2
|
-
|
3
|
-
def loadnextfoldnote
|
4
|
-
if @a_viewfoldlink > ""
|
5
|
-
if @a_viewfoldlinkfile
|
6
|
-
if !@a_viewfoldlinkfile.empty? # a fold link file has been selected
|
7
|
-
|
8
|
-
fileName = File.join($rwdfoldeditor_directory, @a_viewfoldlinkfile.to_s.strip)
|
9
|
-
tmpfilearray = []
|
10
|
-
begin
|
11
|
-
File.open(fileName).each { |line|
|
12
|
-
if ! line.strip.empty?
|
13
|
-
tmpfilearray << line.strip
|
14
|
-
end
|
15
|
-
}
|
16
|
-
rescue
|
17
|
-
if $DEBUG
|
18
|
-
$stderr.puts "file error in dispfoldlinks"
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
tmpindex = tmpfilearray.index(@a_viewfoldlink.to_s.strip)
|
25
|
-
$stderr.puts tmpindex.to_s
|
26
|
-
if tmpfilearray.length > tmpindex + 1
|
27
|
-
@a_viewfoldlink = tmpfilearray[tmpindex+1].to_s.strip
|
28
|
-
|
29
|
-
loadfolddocument # load the file
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
# this method views next record
|
2
|
-
|
3
|
-
def loadprevfoldnote
|
4
|
-
if @a_viewfoldlink > ""
|
5
|
-
if @a_viewfoldlinkfile
|
6
|
-
if !@a_viewfoldlinkfile.empty? # a fold link file has been selected
|
7
|
-
|
8
|
-
fileName = File.join($rwdfoldeditor_directory, @a_viewfoldlinkfile.to_s.strip)
|
9
|
-
tmpfilearray = []
|
10
|
-
begin
|
11
|
-
File.open(fileName).each { |line|
|
12
|
-
if ! line.strip.empty?
|
13
|
-
tmpfilearray << line.strip
|
14
|
-
end
|
15
|
-
}
|
16
|
-
rescue
|
17
|
-
if $DEBUG
|
18
|
-
$stderr.puts "file error in dispfoldlinks"
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
tmpindex = tmpfilearray.index(@a_viewfoldlink.to_s.strip)
|
25
|
-
$stderr.puts tmpindex.to_s
|
26
|
-
if tmpindex - 1 > -1
|
27
|
-
@a_viewfoldlink = tmpfilearray[tmpindex - 1].to_s.strip
|
28
|
-
|
29
|
-
loadfolddocument # load the file
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# this method views an existing fold link file
|
2
|
-
def loadrwdfoldeditlinkfile
|
3
|
-
|
4
|
-
require 'fileutils'
|
5
|
-
|
6
|
-
begin # exception trapped block
|
7
|
-
|
8
|
-
fileName = File.join($rwdfoldeditor_directory,@a_viewfoldlinkfile)
|
9
|
-
|
10
|
-
fd = File.open(fileName,"r")
|
11
|
-
@a_foldeditorlinkfile = fd.read
|
12
|
-
|
13
|
-
|
14
|
-
fd.close
|
15
|
-
rescue SystemCallError, StandardError
|
16
|
-
$stderr.print "system call error: " + $!
|
17
|
-
end # exception rescue
|
18
|
-
|
19
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# this code is to call the help window
|
2
|
-
def runhelpwindowrwdfoldeditor
|
3
|
-
|
4
|
-
$help_topic = "rwdfoldeditor_generalhelp"
|
5
|
-
|
6
|
-
if @rwd_tab == "viewrwdfoldeditorfile"
|
7
|
-
$help_topic = "foldlinkutility_help"
|
8
|
-
end
|
9
|
-
|
10
|
-
if @rwd_tab == "superantcomfoldeditor"
|
11
|
-
$help_topic = "foldlinkview_help"
|
12
|
-
end
|
13
|
|
14
|
-
if @rwd_tab == "superantcomfoldeditorview"
|
15
|
-
|
16
|
-
$help_topic = "rwdfoldeditor_generalhelp"
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
$helptopicsarray = $helptopicsarray | ["rwdfoldeditor_generalhelp","foldlinkview_help","foldlinkutility_help"]
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
if @rwd_window != "rwdtinkerhelpwindow"
|
25
|
-
$previouswindow = @rwd_window
|
26
|
-
$previoustab = @rwd_tab
|
27
|
-
end
|
28
|
-
runhelpwindow
|
29
|
-
end
|
30
|
-
|
31
|
-
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# this method views the fold links
|
2
|
-
def fillziptoinstallnamex(inffile)
|
3
|
-
applet = inffile.strip
|
4
|
-
@a_viewfoldlink = applet
|
5
|
-
|
6
|
-
end
|
7
|
-
|
8
|
-
|
9
|
-
def rwddisplayfoldlinks
|
10
|
-
if @a_viewfoldlinkfile
|
11
|
-
if @a_viewfoldlinkfile.empty? # a fold link file has not been selected
|
12
|
-
|
13
|
-
fileName = File.join($rwdfoldeditor_directory,"default.fld")
|
14
|
-
|
15
|
-
else # you have picked the fold link file you want to use
|
16
|
-
|
17
|
-
fileName = File.join($rwdfoldeditor_directory, @a_viewfoldlinkfile.to_s.strip)
|
18
|
-
end
|
19
|
-
else
|
20
|
-
fileName = File.join($rwdfoldeditor_directory,"default.fld")
|
21
|
-
end
|
22
|
-
tmpfilearray = []
|
23
|
-
begin
|
24
|
-
File.open(fileName).each { |line|
|
25
|
-
if ! line.strip.empty?
|
26
|
-
tmpfilearray << line.strip
|
27
|
-
end
|
28
|
-
}
|
29
|
-
rescue
|
30
|
-
if $DEBUG
|
31
|
-
$stderr.puts "file error in dispfoldlinks"
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
@a_displayfoldlinks01 = tmpfilearray.entries.rwd_method("fillziptoinstallnamex")
|
36
|
-
@displayfoldlinkoptions = tmpfilearray.rwd_options
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
end
|
41
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# this method adds a new record
|
2
|
-
def savefoldlinkfile
|
3
|
-
require 'fileutils'
|
4
|
-
if ! @a_foldeditorlinkfile.empty? # the document is not empty
|
5
|
-
if ! @a_viewfoldlinkfile.empty? # the filename is not empty
|
6
|
-
fileName = File.join($rwdfoldeditor_directory,@a_viewfoldlinkfile.to_s) # grab the new filename to create
|
7
|
-
|
8
|
-
|
9
|
-
begin # exception trapped block
|
10
|
-
|
11
|
-
fd = File.open(fileName,"w")
|
12
|
-
fd.print( @a_foldeditorlinkfile) # 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
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# this method adds a new record
|
2
|
-
def savefoldeditrecord
|
3
|
-
require 'fileutils'
|
4
|
-
if ! @folddocumentresult.empty? # the document is not empty
|
5
|
-
if ! @a_viewfoldlink.empty? # the filename is not empty
|
6
|
-
fileName = @a_viewfoldlink.to_s # grab the new filename to create
|
7
|
-
|
8
|
-
|
9
|
-
begin # exception trapped block
|
10
|
-
|
11
|
-
fd = File.open(fileName,"w")
|
12
|
-
fd.print( @folddocumentresult) # 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
|
@@ -1,16 +0,0 @@
|
|
1
|
-
##VERSION: (0.06)
|
2
|
-
##NAME: ($rwdfoldeditor_directory):(0.04)
|
3
|
-
$rwdfoldeditor_directory = "rwd_files"
|
4
|
-
##NAME: ($foldeditorbrowser):(0.04)
|
5
|
-
$foldeditorbrowser = "firefox"
|
6
|
-
$testharnessarray << "rwdfoldeditor_all_tests"
|
7
|
-
$tinkerhelpaboutarray << "RwdFoldEditor"
|
8
|
-
$tinkerdocumentsarray << "HowTo_FoldEditor.txt"
|
9
|
-
##NAME: (JumpLink.update):(0.04)
|
10
|
-
JumpLink.update(:RwdFoldEditor=>"runrwdfoldeditorwindow")
|
11
|
-
$rwdjumplink << "RwdFoldEditor"
|
12
|
-
##NAME: (DeleteFoldEditorConfig):(0.06)
|
13
|
-
DeleteFoldEditorConfig = true
|
14
|
-
##NAME: (RwdFoldEditorVersion):(0.06)
|
15
|
-
RwdFoldEditorVersion = "0.06"
|
16
|
-
|
@@ -1,36 +0,0 @@
|
|
1
|
-
$rwdguivar=
|
2
|
-
"
|
3
|
-
<tab name=\"superantcomfoldeditor\" caption=\"View/Edit Document\">
|
4
|
-
|
5
|
-
<table>
|
6
|
-
<row>View your note list and detail on this Tab (only click on text files)</row>
|
7
|
-
<row> <p> </row>
|
8
|
-
<row> <text size=70 name=\"a_viewfoldlink\"/> </row>
|
9
|
-
|
10
|
-
</table>
|
11
|
-
<horizontal>
|
12
|
-
<button caption=\"Open Detail\" action=\"loadfolddocument\"/>
|
13
|
-
<button caption='Prev' action=\"loadprevfoldnote\"/>
|
14
|
-
<button caption='Next' action=\"loadnextfoldnote\"/>
|
15
|
-
<button caption=\"Create New Note\" action=\"rwdfoldeditcreatenewnote\"/>
|
16
|
-
|
17
|
-
<button caption=\"Save Changes\" action=\"savefoldeditrecord\"/>
|
18
|
-
|
19
|
-
<button caption=\"Help\" action=\"runhelpwindowrwdfoldeditor\"/>
|
20
|
-
<button caption=\"Clear\" action=\"clearfoldnote\"/>
|
21
|
-
|
22
|
-
</horizontal>
|
23
|
-
<textarea name=\"folddocumentresult\"/>
|
24
|
-
|
25
|
-
<horizontal>
|
26
|
-
|
27
|
-
<button caption=\"Save Changes\" action=\"savefoldeditrecord\"/>
|
28
|
-
|
29
|
-
</horizontal>
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
<p></p>
|
35
|
-
|
36
|
-
</tab>"
|
@@ -1,43 +0,0 @@
|
|
1
|
-
$rwdguivar=
|
2
|
-
"
|
3
|
-
<tab name=\"superantcomfoldeditorview\" caption=\"FoldEditor File View\">
|
4
|
-
|
5
|
-
<table>
|
6
|
-
|
7
|
-
<text size=70 name=\"a_viewfoldlink\"/>
|
8
|
-
|
9
|
-
</table>
|
10
|
-
|
11
|
-
<horizontal>
|
12
|
-
|
13
|
-
<button caption=\"Display Fold Links\" action=\"rwddisplayfoldlinks\"/>
|
14
|
-
|
15
|
-
<button caption=\"Help\" action=\"runhelpwindowrwdfoldeditor\"/>
|
16
|
-
|
17
|
-
</horizontal>
|
18
|
-
|
19
|
-
<horizontal>
|
20
|
-
|
21
|
-
<table>
|
22
|
-
<select name=\"a_viewfoldlinktmp\"> %%displayfoldlinkoptions%% </select>
|
23
|
-
|
24
|
-
</table>
|
25
|
-
|
26
|
-
</horizontal>
|
27
|
-
|
28
|
-
<horizontal>
|
29
|
-
|
30
|
-
<button caption=\"Launch Local URL\" action=\"foldeditorlaunchurl\"/>
|
31
|
-
<button caption=\"Launch remote URL\" action=\"foldeditorlaunchhttp\"/>
|
32
|
-
<button caption=\"Choose note file\" action=\"choosefoldnotefile\"/>
|
33
|
-
<button caption=\"Clear file list\" action=\"clearfoldlinklist3\"/>
|
34
|
-
|
35
|
-
</horizontal>
|
36
|
-
|
37
|
-
|
38
|
-
<table>
|
39
|
-
<p>%%a_displayfoldlinks01%%</p>
|
40
|
-
|
41
|
-
|
42
|
-
</table>
|
43
|
-
</tab>"
|
@@ -1,43 +0,0 @@
|
|
1
|
-
$rwdguivar=
|
2
|
-
"
|
3
|
-
<tab name=\"viewrwdfoldeditorfile\" caption=\"RwdFoldEditor edit file\">
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
<table>
|
8
|
-
<row> <p> </row>
|
9
|
-
|
10
|
-
|
11
|
-
<row> <p align=\"right\">Fold File Name:</p> <text size=40 name=\"a_viewfoldlinkfile\"/> </row>
|
12
|
-
</row>
|
13
|
-
|
14
|
-
</table>
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<table>
|
19
|
-
<row>
|
20
|
-
<select name=\"a_foldeditorlinkinput\"> %%foldeditorlinkfiles%% </select>
|
21
|
-
<button caption=\"Choose Link File\" action=\"chooselinkfile\"/>
|
22
|
-
<button caption=\"Load File List\" action=\"loadfoldeditorlinkfilelist\"/>
|
23
|
-
</table>
|
24
|
-
</row>
|
25
|
-
<horizontal>
|
26
|
-
<button caption=\"Fill Record\" action=\"loadrwdfoldeditlinkfile\"/>
|
27
|
-
<button caption=\"Save Changes\" action=\"savefoldlinkfile\"/>
|
28
|
-
<button caption=\"Create File\" action=\"rwdfoldeditcreatenewnote\"/>
|
29
|
-
<button caption=\"Help\" action=\"runhelpwindowrwdfoldeditor\"/>
|
30
|
-
</horizontal>
|
31
|
-
<table>
|
32
|
-
|
33
|
-
<textarea name=\"a_foldeditorlinkfile\"/> </row>
|
34
|
-
|
35
|
-
</table>
|
36
|
-
<p>%extrahypconfigdatadisplay%</p>
|
37
|
-
<p>
|
38
|
-
<p>%newhypconfigurationresult%</p>
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
</tab>"
|
43
|
-
|