rwdschedule 1.01 → 1.02
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/code/superant.com.rwdcalendar/helptexthashrwdschedule.rb +14 -0
- data/code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb +17 -0
- data/code/superant.com.schedule/downloadrwdschedulefiles.rb +8 -11
- data/code/superant.com.schedule/jumplinkupdate.rb +4 -4
- data/code/superant.com.schedule/returntomain.rb +1 -1
- data/code/superant.com.schedule/runrwdschedulemenu1.rb +1 -1
- data/code/superant.com.schedule/rwdtinkerversion.rb +0 -12
- data/code/superant.com.schedule/syncrwdschedule.rb +2 -2
- data/code/superant.com.schedule/test_cases.rb +1 -1
- data/configuration/rwdschedule.dist +14 -14
- data/gui/frontwindow0/{superant.com.tinkercalendar → superant.com.rwdschedules}/hl9calendar.rwd +0 -0
- data/installed/rwdscheduledate2.inf +6 -0
- data/installed/rwdwschedule-1.02.inf +17 -0
- data/rwd_files/HowTo_Schedule.txt +8 -1
- metadata +10 -11
- data/configuration/rwdcalendar.dist +0 -10
- data/schedules/200502february20.ics +0 -11
- data/schedules/200502february26.ics +0 -11
- data/tests/makerwdwaddresses-1.04.rb +0 -40
@@ -0,0 +1,17 @@
|
|
1
|
+
# this code is to call the help window
|
2
|
+
def runhelpwindowrwdcalendar
|
3
|
+
|
4
|
+
$help_topic = "calendar_help"
|
5
|
+
if @rwd_tab == "calendar"
|
6
|
+
$help_topic = "calendar_help"
|
7
|
+
end
|
8
|
+
$helptopicsarray = $helptopicsarray | ["calendar_help"]
|
9
|
+
|
10
|
+
if @rwd_window != "rwdtinkerhelpwindow"
|
11
|
+
$previouswindow = @rwd_window
|
12
|
+
$previoustab = @rwd_tab
|
13
|
+
end
|
14
|
+
runhelpwindow
|
15
|
+
end
|
16
|
+
|
17
|
+
|
@@ -10,20 +10,17 @@ def downloadrwdschedulefiles
|
|
10
10
|
ftp.chdir($rwdschedule_ftpdirectory)
|
11
11
|
print "I'm in the directory ", ftp.pwd(), "\n"
|
12
12
|
schfiles = ftp.nlst($rwdschedule_ftpdirectory)
|
13
|
-
#puts schfiles
|
14
|
-
$stderr.print $rwdschedule_updatedirectory
|
15
13
|
|
16
14
|
schfiles.each {|x|
|
17
|
-
|
15
|
+
#adjust the filters to the files you want to see...
|
18
16
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
@rwdscheduleftpdisplay = @rwdscheduleftpdisplay + newstring + "\n"
|
17
|
+
if x =~ /sch/
|
18
|
+
lastslash = x.rindex('/')+1
|
19
|
+
newstring = x.slice(lastslash..256)
|
20
|
+
|
21
|
+
localupdatefile = $rwdschedule_updatedirectory +"/"+ "#{newstring}"
|
22
|
+
ftp.getbinaryfile("#{x}" , localupdatefile )
|
23
|
+
@rwdscheduleftpdisplay = @rwdscheduleftpdisplay + newstring + "\n"
|
27
24
|
|
28
25
|
end
|
29
26
|
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
JumpLink.update(:ScheduleBackWindow=>"runrwdschedulesyncbackwindow",
|
4
4
|
:RwdScheduleConfiguration=>"runrwdschedulemenu10",
|
5
|
-
:
|
6
|
-
:
|
7
|
-
:
|
5
|
+
:ScheduleViewTab=>"runrwdschedulemenu1",
|
6
|
+
:ScheduleEditRecord=>"runrwdschedulemenu2",
|
7
|
+
:ScheduleUtilitiesTab=>"runrwdschedulemenu3",
|
8
8
|
:ScheduleICSwindow=>"runrwdscheduleicsbackwindow"
|
9
9
|
|
10
10
|
)
|
11
|
-
$rwdjumplink +=["ScheduleICSwindow","
|
11
|
+
$rwdjumplink +=["ScheduleICSwindow","ScheduleUtilitiesTab","ScheduleEditRecord","ScheduleViewTab","RwdScheduleConfiguration","ScheduleBackWindow"]
|
@@ -7,16 +7,4 @@ def rwdschedulehelpaboutsetup
|
|
7
7
|
return ["RwdSchedule","(c) 2004,2005 Steven Gibson ","Version #{RwdScheduleVersion}"]
|
8
8
|
end
|
9
9
|
|
10
|
-
def runrwdtinkerversion
|
11
|
-
@rwd_window = "applicationversion"
|
12
|
-
helpaboutinput = @a_helpaboutinput.downcase
|
13
|
-
versionarraysetup = "#{helpaboutinput}helpaboutsetup"
|
14
|
-
versionarray= self.send(versionarraysetup)
|
15
|
-
|
16
|
-
@versionappnamedisplay = versionarray[0].to_s
|
17
|
-
@versioncopyrightdisplay = versionarray[1].to_s
|
18
|
-
@versionnumberdisplay = versionarray[2].to_s
|
19
|
-
|
20
|
-
end
|
21
|
-
|
22
10
|
|
@@ -1,18 +1,18 @@
|
|
1
|
-
##VERSION:1.
|
2
|
-
##NAME
|
1
|
+
##VERSION:1.02
|
2
|
+
##NAME: $rwdschedule_directory:0
|
3
3
|
$rwdschedule_directory = "schedules"
|
4
|
-
##NAME
|
5
|
-
$rwdschedule_ftpsite = "ftp.
|
6
|
-
##NAME
|
7
|
-
$rwdschedule_ftplogin = "
|
8
|
-
##NAME
|
9
|
-
$rwdschedule_ftppassword = "
|
10
|
-
##NAME
|
11
|
-
$rwdschedule_ftpdirectory = "/incoming/rwdschedules
|
12
|
-
##NAME
|
13
|
-
$rwdschedule_updatedirectory = "updates"
|
4
|
+
##NAME: $rwdschedule_ftpsite:0
|
5
|
+
$rwdschedule_ftpsite = "ftp.site.com"
|
6
|
+
##NAME: $rwdschedule_ftplogin:0
|
7
|
+
$rwdschedule_ftplogin = "login"
|
8
|
+
##NAME: $rwdschedule_ftppassword:0
|
9
|
+
$rwdschedule_ftppassword = "anonymous"
|
10
|
+
##NAME: $rwdschedule_ftpdirectory:0
|
11
|
+
$rwdschedule_ftpdirectory = "/incoming/rwdschedules"
|
12
|
+
##NAME: $rwdschedule_updatedirectory:0
|
13
|
+
$rwdschedule_updatedirectory = "updates"
|
14
14
|
$testharnessarray += ["rwdschedule_all_tests"]
|
15
15
|
$tinkerhelpaboutarray += ["RwdSchedule"]
|
16
16
|
$tinkerdocumentsarray += ["HowTo_Schedule.txt"]
|
17
|
-
|
18
|
-
|
17
|
+
$extras_directory = "extras"
|
18
|
+
RwdScheduleVersion = "1.02"
|
data/gui/frontwindow0/{superant.com.tinkercalendar → superant.com.rwdschedules}/hl9calendar.rwd
RENAMED
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
## rwdwschedule
|
2
|
+
configuration/rwdschedule.dist
|
3
|
+
configuration/rwdcalendar.dist
|
4
|
+
extras/icalendar
|
5
|
+
extras/cal.rb
|
6
|
+
extras/icalendar.rb
|
7
|
+
gui/tinkerbackwindows/superant.com.rwdschedules
|
8
|
+
gui/frontwindow0/superant.com.rwdschedulebackwindow
|
9
|
+
gui/tinkerbackwindows/superant.com.rwdschedulesback
|
10
|
+
lang/en/rwdcalendar
|
11
|
+
lang/es/rwdcalendar
|
12
|
+
lang/nl/rwdcalendar
|
13
|
+
rwd_files/HowTo_Schedule.txt
|
14
|
+
code/superant.com.rwdcalendar
|
15
|
+
code/superant.com.schedule
|
16
|
+
schedules/archive/sample.archive
|
17
|
+
tests/makerwschedule-1.02.rb
|
@@ -153,7 +153,14 @@ Don't use the back-button of the browser! Strange and unpredictable things may a
|
|
153
153
|
Steven Gibson
|
154
154
|
steven@superant.com
|
155
155
|
|
156
|
-
== Changelog
|
156
|
+
== Changelog
|
157
|
+
Version 1.02
|
158
|
+
correct config file handling
|
159
|
+
add menu to main window of appletange
|
160
|
+
changed menu names to be more consistent
|
161
|
+
corrected download routine
|
162
|
+
|
163
|
+
|
157
164
|
Version 1.01
|
158
165
|
changed schedule configuration screen
|
159
166
|
updated for rwdtinker 1.66
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.
|
2
|
+
rubygems_version: 0.8.10
|
3
3
|
specification_version: 1
|
4
4
|
name: rwdschedule
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "1.
|
7
|
-
date: 2005-
|
6
|
+
version: "1.02"
|
7
|
+
date: 2005-05-02
|
8
8
|
summary: rwdschedule is an calendar application using rwdtinker and RubyWebDialogs.
|
9
9
|
require_paths:
|
10
10
|
- "."
|
@@ -71,6 +71,8 @@ files:
|
|
71
71
|
- code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb
|
72
72
|
- code/zz0applicationend/zz0end.rb
|
73
73
|
- code/superant.com.rwdcalendar/gh9calendar.rb
|
74
|
+
- code/superant.com.rwdcalendar/helptexthashrwdschedule.rb
|
75
|
+
- code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb
|
74
76
|
- code/superant.com.schedule/archiveevent.rb
|
75
77
|
- code/superant.com.schedule/cleareventscreendisplay.rb
|
76
78
|
- code/superant.com.schedule/deleteeventrecord.rb
|
@@ -105,12 +107,11 @@ files:
|
|
105
107
|
- code/superant.com.schedule/jumplinkupdate.rb
|
106
108
|
- code/superant.com.schedule/test_cases.rb
|
107
109
|
- code/superant.com.schedule/rwdtinkerversion.rb
|
110
|
+
- configuration/rwdschedule.dist
|
108
111
|
- configuration/tinkerwin2variables.dist
|
109
112
|
- configuration/rwdtinker.dist
|
110
113
|
- configuration/language.dist
|
111
114
|
- configuration/rwdapplicationidentity.dist
|
112
|
-
- configuration/rwdcalendar.dist
|
113
|
-
- configuration/rwdschedule.dist
|
114
115
|
- extras/rconftool.rb
|
115
116
|
- extras/cal.rb
|
116
117
|
- extras/icalendar.rb
|
@@ -137,8 +138,6 @@ files:
|
|
137
138
|
- schedules/US Holidays.ics
|
138
139
|
- schedules/testics05.ics
|
139
140
|
- schedules/200505may02a.sch
|
140
|
-
- schedules/200502february20.ics
|
141
|
-
- schedules/200502february26.ics
|
142
141
|
- schedules/archive/sample.archive
|
143
142
|
- ev/browser.rb
|
144
143
|
- ev/ftools.rb
|
@@ -158,11 +157,10 @@ files:
|
|
158
157
|
- lang/nl/rwdcalendar/calendar-nl.rb
|
159
158
|
- gui/00coreguibegin/applicationguitop.rwd
|
160
159
|
- gui/frontwindow0/superant.com.rwdschedules
|
161
|
-
- gui/frontwindow0/superant.com.tinkercalendar
|
162
160
|
- gui/frontwindow0/superant.com.rwdschedules/gg0viewevent.rwd
|
163
161
|
- gui/frontwindow0/superant.com.rwdschedules/gl6editrecord.rwd
|
164
162
|
- gui/frontwindow0/superant.com.rwdschedules/gl8contactutilities.rwd
|
165
|
-
- gui/frontwindow0/superant.com.
|
163
|
+
- gui/frontwindow0/superant.com.rwdschedules/hl9calendar.rwd
|
166
164
|
- gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd
|
167
165
|
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab
|
168
166
|
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd
|
@@ -213,6 +211,8 @@ files:
|
|
213
211
|
- gui/tinkerbackwindows/superant.com.rwdschedulesback/m01menubegin.rwd
|
214
212
|
- gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd
|
215
213
|
- installed/rwdviewlogo-0.4.inf
|
214
|
+
- installed/rwdscheduledate2.inf
|
215
|
+
- installed/rwdwschedule-1.02.inf
|
216
216
|
- rwd_files/favicon.ico
|
217
217
|
- rwd_files/HowTo_Tinker.txt
|
218
218
|
- rwd_files/HowTo_TinkerWin2.txt
|
@@ -229,10 +229,9 @@ files:
|
|
229
229
|
- tests/rdep.rb
|
230
230
|
- tests/checkdepends.sh
|
231
231
|
- tests/makedist.rb
|
232
|
-
- tests/makerwdwaddresses-1.04.rb
|
233
|
-
- Readme.txt
|
234
232
|
- init.rb
|
235
233
|
- rwdconfig.dist
|
234
|
+
- Readme.txt
|
236
235
|
test_files: []
|
237
236
|
rdoc_options:
|
238
237
|
- "--main"
|
@@ -1,40 +0,0 @@
|
|
1
|
-
#!/usr/bin/ruby -w
|
2
|
-
#***********************************************************************
|
3
|
-
#* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
|
4
|
-
#* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
|
5
|
-
#* at "steven@superant.com".
|
6
|
-
#***********************************************************************/
|
7
|
-
$progdir =""
|
8
|
-
require 'fileutils'
|
9
|
-
|
10
|
-
DistroName = "rwdwaddresses-1.04"
|
11
|
-
|
12
|
-
$progdir = File::expand_path( File.dirname(__FILE__))
|
13
|
-
results = " "
|
14
|
-
|
15
|
-
puts "creating #{DistroName} applet distribution files "
|
16
|
-
sourcedir = "../rwdaddresses/"
|
17
|
-
|
18
|
-
|
19
|
-
fileName = "installed/" + "#{DistroName}" + ".inf"
|
20
|
-
|
21
|
-
fd = File.open(fileName,"r")
|
22
|
-
@@displaytext = " "
|
23
|
-
temp = fd.readline.chomp
|
24
|
-
while ! fd.eof?
|
25
|
-
|
26
|
-
@@displaytext = fd.readline.chomp
|
27
|
-
lastslash = @@displaytext.rindex('/')
|
28
|
-
@@pathaddress = @@displaytext.slice(0..lastslash)
|
29
|
-
puts @@pathaddress
|
30
|
-
sourcefile = sourcedir + @@displaytext
|
31
|
-
puts @@displaytext
|
32
|
-
FileUtils.mkdir_p(@@pathaddress)
|
33
|
-
@@copycommand = "cp -v -r -f -a #{sourcefile} #{@@pathaddress}"
|
34
|
-
|
35
|
-
puts `#{@@copycommand}`
|
36
|
-
end
|
37
|
-
fd.close
|
38
|
-
|
39
|
-
|
40
|
-
ListingCommand = "ls -1 -s -h *"
|