rwdschedule 0.92 → 0.93
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +131 -120
- data/bin/rwdschedule +18 -18
- data/code/{00rwdtinkercore/aa0begin.rb → 01rwdcore/01rwdcore.rb} +20 -18
- data/code/01rwdcore/02helptexthashbegin.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +48 -0
- data/code/01rwdcore/04helptextend.rb +6 -0
- data/code/01rwdcore/openhelpwindow.rb +45 -0
- data/code/{00rwdtinkercore → 01rwdcore}/rwdtinkerversion.rb +15 -15
- data/code/01rwdcore/rwdwindowreturn.rb +11 -0
- data/code/superant.com.rwdcalendar/gh9calendar.rb +40 -16
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +21 -21
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +21 -21
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +6 -6
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +32 -32
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +13 -13
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +18 -18
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +28 -28
- data/code/{superant.com.rwdtinkercallable/callable.rb → superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb} +11 -12
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +14 -14
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +18 -18
- data/code/superant.com.schedule/archiveevent.rb +14 -0
- data/code/superant.com.schedule/cleareventscreendisplay.rb +15 -15
- data/code/superant.com.schedule/deleteeventrecord.rb +18 -18
- data/code/superant.com.schedule/deleterwdscheduleupdatefiles.rb +19 -19
- data/code/superant.com.schedule/downloadrwdschedulefiles.rb +34 -34
- data/code/superant.com.schedule/helptexthashrwdschedule.rb +52 -0
- data/code/superant.com.schedule/listeventdates.rb +18 -18
- data/code/superant.com.schedule/loadconfigurationrecord.rb +34 -0
- data/code/superant.com.schedule/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.schedule/loadeventrecord.rb +29 -29
- data/code/superant.com.schedule/openhelpwindowrubyslippers.rb +25 -0
- data/code/superant.com.schedule/renameeventdata.rb +10 -10
- data/code/superant.com.schedule/runrwdschedulesyncbackwindow.rb +9 -8
- data/code/superant.com.schedule/rwdschedulehelpabout.rb +14 -14
- data/code/superant.com.schedule/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.schedule/saveeventrecord.rb +18 -18
- data/code/superant.com.schedule/syncrwdschedule.rb +30 -30
- data/code/superant.com.schedule/uploadrwdschedulefiles.rb +30 -30
- data/code/superant.com.schedule/viewevent.rb +20 -20
- data/code/superant.com.schedule/viewrwdschedulesconfiguration.rb +21 -21
- data/code/zz0applicationend/zz0end.rb +4 -4
- data/configuration/language.cnf +5 -5
- data/configuration/rwdcalendar.cnf +4 -4
- data/configuration/rwdcalendarversion.cnf +4 -4
- data/configuration/rwdplayscriptsversion.cnf +2 -0
- data/configuration/rwdschedule.cnf +3 -3
- data/configuration/rwdscheduleversion.cnf +3 -3
- data/configuration/rwdtinker.cnf +3 -0
- data/configuration/rwdtinkerversion.cnf +2 -2
- data/configuration/tinkerwin2variables.cnf +8 -8
- data/configuration/tinkerwin2version.cnf +3 -3
- data/ev/browser.rb +109 -109
- data/ev/ftools.rb +170 -170
- data/ev/net.rb +750 -750
- data/ev/ruby.rb +819 -819
- data/ev/rwd.rb +1848 -1848
- data/ev/sgml.rb +236 -236
- data/ev/thread.rb +63 -63
- data/ev/tree.rb +343 -343
- data/ev/xml.rb +4 -4
- data/extras/cal.rb +158 -166
- data/gui/00coreguibegin/applicationguitop.rwd +4 -0
- data/gui/frontwindow0/superant.com.rwdschedules/gg0viewevent.rwd +27 -27
- data/gui/frontwindow0/superant.com.rwdschedules/gl6editrecord.rwd +36 -36
- data/gui/frontwindow0/superant.com.rwdschedules/gl8contactutilities.rwd +24 -24
- data/gui/frontwindow0/superant.com.rwdschedules/zviewconfiguration.rwd +38 -0
- data/gui/frontwindow0/superant.com.tinkercalendar/hl9calendar.rwd +27 -20
- data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +16 -16
- data/gui/frontwindowselections/superant.com.rwdscheduleselectiontab/rwdschedulessyncselectiontab.rwd +12 -12
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +12 -12
- data/gui/frontwindowselectionzend/viewselectionzend/viewselectionend.rwd +3 -3
- data/gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd +6 -6
- data/gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd +15 -15
- data/gui/frontwindowtdocuments/superant.com.rwdscheduledocument/uu8doc_rwdschedule.rwd +4 -4
- data/gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd +6 -6
- data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +12 -7
- data/gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd +6 -6
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/ya0helpscreenstart.rwd +3 -3
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/1appname.rwd +4 -4
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/3copyright.rwd +3 -3
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/5version.rwd +10 -10
- data/gui/helpaboutinstalled/superant.com.schedulehelpabout/1rwdschedule.rwd +6 -6
- data/gui/helpaboutinstalled/superant.com.schedulehelpabout/5version.rwd +9 -9
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd +4 -4
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd +3 -3
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd +10 -10
- data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +2 -2
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +5 -5
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +45 -44
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/66viewconfiguration.rwd +16 -16
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/70rwddiagnostics.rwd +33 -33
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/80returntab.rwd +11 -11
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/zvbackend.rwd +6 -6
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -5
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -44
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd +35 -35
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/{40editconfiguration.rwd → 60editconfiguration.rwd} +37 -36
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/{3arwddiagnostics.rwd → 70rwddiagnostics.rwd} +33 -33
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +11 -11
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -6
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +32 -0
- data/gui/tinkerbackwindows/{superant.com.tinercallablewindow → superant.com.tinkerhelpwindow}/9end.rwd +4 -4
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -19
- data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +4 -4
- data/init.rb +233 -233
- data/installed/rwdtinkerwin2-0.5.inf +8 -8
- data/installed/rwdviewlogo-0.4.inf +4 -0
- data/lang/alanguagehashbegin.rb +4 -4
- data/lang/en/rwdcalendar/calendar-en.rb +6 -0
- data/lang/en/rwdcore/languagefile.rb +15 -15
- data/lang/es/rwdcalendar/calendar-nl.rb +6 -6
- data/lang/es/rwdcore/languagefile-es.rb +14 -14
- data/lang/jp/rwdcore/languagefile.rb +9 -9
- data/lang/languagehash.rb +4 -4
- data/lang/nl/rwdcalendar/calendar-nl.rb +6 -6
- data/lang/nl/rwdcore/languagefile.rb +19 -19
- data/lang/templangfile.rb +21 -21
- data/lang/vlanguagehashend.rb +6 -6
- data/lang/wlocallangstart.rb +5 -5
- data/lang/xlocallangfile.rb +21 -21
- data/lang/zlocallangend.rb +2 -2
- data/lib/temp.rb +1 -1
- data/rwd_files/HowTo_Schedule.txt +131 -122
- data/rwd_files/HowTo_Tinker.txt +351 -318
- data/rwd_files/HowTo_TinkerWin2.txt +202 -202
- data/rwd_files/Readme.txt +57 -57
- data/rwd_files/rdoc-style.css +174 -174
- data/rwd_files/rwdapplications.html +54 -54
- data/schedules/200501january23CharlotteB-Day.sch +8 -8
- data/updates/200502Februay01 Lynn back.sch +8 -0
- data/updates/200502Februay21 PCU Diner.sch +8 -0
- data/updates/200502february16a.sch +8 -0
- data/updates/200505may02a.sch +8 -0
- data/updates/200506june20a.sch +8 -0
- data/updates/200506june29a.sch +8 -0
- data/updates/200507july04a.sch +8 -0
- data/updates/200510october26a.sch +8 -0
- metadata +100 -82
- data/gui/00coreguibegin/rwdapplicationguitop.rwd +0 -4
- data/gui/tinkerbackwindows/superant.com.tinercallablewindow/1appname.rwd +0 -17
- data/installed/rwdcalendar-0.5.inf +0 -8
- data/installed/schedulesampledata1.inf +0 -3
- data/lang/en/rwdcalendar/calendar-nl.rb +0 -6
- data/tests/totranslate.lang +0 -93
- data/zips/rwdahelloworld-0.5.zip +0 -0
data/Readme.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
= rwdschedule - for rwdtinker and RubyWebDialogs
|
2
|
-
|
3
|
-
rwdschedule is a simple little database
|
4
|
-
|
5
|
-
The GUI interface used is RubyWebDialogs
|
6
|
-
|
7
|
-
RubyWebDialogs is a platform independent graphical user interface for Ruby applications. It generates HTML and serves it with an internal HTTP server, so you can use your favorite web browser as the front end for your Ruby application. All this means, that it can be used on almost every platform, like Ruby itself. http://www.erikveen.dds.nl/rubywebdialogs/
|
8
|
-
|
9
|
-
== Quick Start
|
10
|
-
Start the program by typing
|
11
|
-
ruby init.rb
|
12
|
-
|
13
|
-
Then point your web browser to:
|
14
|
-
http://localhost:7705/
|
15
|
-
|
16
|
-
Then enter the event date you want to search for in the browser form and press Search.
|
17
|
-
200412december1a
|
18
|
-
browser should fill with the event information.
|
19
|
-
To exit, press the x inside the browser window.
|
1
|
+
= rwdschedule - for rwdtinker and RubyWebDialogs
|
2
|
+
|
3
|
+
rwdschedule is a simple little database
|
4
|
+
|
5
|
+
The GUI interface used is RubyWebDialogs
|
6
|
+
|
7
|
+
RubyWebDialogs is a platform independent graphical user interface for Ruby applications. It generates HTML and serves it with an internal HTTP server, so you can use your favorite web browser as the front end for your Ruby application. All this means, that it can be used on almost every platform, like Ruby itself. http://www.erikveen.dds.nl/rubywebdialogs/
|
8
|
+
|
9
|
+
== Quick Start
|
10
|
+
Start the program by typing
|
11
|
+
ruby init.rb
|
12
|
+
|
13
|
+
Then point your web browser to:
|
14
|
+
http://localhost:7705/
|
15
|
+
|
16
|
+
Then enter the event date you want to search for in the browser form and press Search.
|
17
|
+
200412december1a
|
18
|
+
browser should fill with the event information.
|
19
|
+
To exit, press the x inside the browser window.
|
20
20
|
|
21
21
|
|
22
22
|
== How to Use the Schedule Book (rwdschedule)
|
@@ -66,102 +66,113 @@ Click on "Event Utilites" tab
|
|
66
66
|
You can rename event filenames
|
67
67
|
You can delete events
|
68
68
|
|
69
|
-
== Sync for multiple computers
|
70
|
-
|
71
|
-
If you are like me, you have more than one system
|
72
|
-
I use rwdTinker at home on my Linux laptop
|
73
|
-
at work I use it on XP
|
74
|
-
on the go I use rwdtinker on my Zaurus PDA
|
75
|
-
So I am adding schedule events on different machines.
|
76
|
-
There is a function to help sync the separate systems
|
69
|
+
== Sync for multiple computers
|
70
|
+
|
71
|
+
If you are like me, you have more than one system
|
72
|
+
I use rwdTinker at home on my Linux laptop
|
73
|
+
at work I use it on XP
|
74
|
+
on the go I use rwdtinker on my Zaurus PDA
|
75
|
+
So I am adding schedule events on different machines.
|
76
|
+
There is a function to help sync the separate systems
|
77
77
|
|
78
|
-
in "Selection Panel" click on "Open Schedule Sync Window"
|
79
|
-
|
80
|
-
First you need your ftp details set in the
|
81
|
-
configuration/rwdschedule.cnf file
|
82
|
-
|
83
|
-
you can upload your events from your local schedules directory to the ftp site
|
84
|
-
you can download events from the ftp site to your local updates directory
|
85
|
-
you can perform a sync which finds remote events and adds them to your local
|
86
|
-
schedules directory
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
78
|
+
in "Selection Panel" click on "Open Schedule Sync Window"
|
79
|
+
|
80
|
+
First you need your ftp details set in the
|
81
|
+
configuration/rwdschedule.cnf file
|
82
|
+
|
83
|
+
you can upload your events from your local schedules directory to the ftp site
|
84
|
+
you can download events from the ftp site to your local updates directory
|
85
|
+
you can perform a sync which finds remote events and adds them to your local
|
86
|
+
schedules directory
|
87
|
+
|
88
|
+
There is a button to delete the update directory when finished
|
89
|
+
|
90
|
+
== Show Month
|
91
|
+
|
92
|
+
Click on "Show Month" tab
|
91
93
|
enter
|
92
94
|
Year: 2005
|
93
95
|
Month: 1
|
94
96
|
Click on show month
|
95
97
|
|
96
|
-
It will display one month
|
97
|
-
|
98
|
-
|
99
|
-
== Using over a Network
|
100
|
-
|
101
|
-
To serve the application over your local LAN,change the last line in the
|
102
|
-
init.rb file to something like:
|
103
|
-
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
104
|
-
Then you should be able to login at: http://yourhostname:8080
|
105
|
-
|
106
|
-
You have to authorize yourself. The .rwuids example is a string with
|
107
|
-
the name of the authorization file, relative to the home directory
|
108
|
-
of the user that started the service. This file has to be in the form of:
|
109
|
-
|
110
|
-
user1 = password
|
111
|
-
user2 = pass phrase
|
112
|
-
|
113
|
-
Thus the file .rwduids might contain:
|
114
|
-
|
115
|
-
erik = secret
|
116
|
-
|
117
|
-
== Requirements:
|
118
|
-
RubyWebDialogs - I am using 0.0.11 2004-3-9
|
119
|
-
|
120
|
-
Ruby I am using version 1.8.2
|
121
|
-
|
122
|
-
|
123
|
-
I have tested this under Linux-Debian kernel 2.6.9
|
124
|
-
|
125
|
-
== PROBLEMS:
|
126
|
-
It is easy to type a date with a space after it. That will have a somewhat invisible space
|
127
|
-
in it.
|
128
|
-
|
129
|
-
don't type in the extension .sch
|
130
|
-
|
131
|
-
Closing the browser doesn't terminate the application. You have to use the application's close-button And terminating the application doesn't terminate the application when running in network mode. You just log out.
|
132
|
-
|
133
|
-
Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
|
134
|
-
|
135
|
-
|
136
|
-
== contacts
|
137
|
-
For more information see:
|
138
|
-
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
139
|
-
|
140
|
-
|
141
|
-
For more information about RubyWebDialogs see:
|
142
|
-
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
143
|
-
|
144
|
-
|
145
|
-
Steven Gibson
|
146
|
-
steven@superant.com
|
147
|
-
|
148
|
-
== Changelog
|
149
|
-
version 0.
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
updated for rwdtinker 1.
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
98
|
+
It will display one month
|
99
|
+
|
100
|
+
|
101
|
+
== Using over a Network
|
102
|
+
|
103
|
+
To serve the application over your local LAN,change the last line in the
|
104
|
+
init.rb file to something like:
|
105
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
106
|
+
Then you should be able to login at: http://yourhostname:8080
|
107
|
+
|
108
|
+
You have to authorize yourself. The .rwuids example is a string with
|
109
|
+
the name of the authorization file, relative to the home directory
|
110
|
+
of the user that started the service. This file has to be in the form of:
|
111
|
+
|
112
|
+
user1 = password
|
113
|
+
user2 = pass phrase
|
114
|
+
|
115
|
+
Thus the file .rwduids might contain:
|
116
|
+
|
117
|
+
erik = secret
|
118
|
+
|
119
|
+
== Requirements:
|
120
|
+
RubyWebDialogs - I am using 0.0.11 2004-3-9
|
121
|
+
|
122
|
+
Ruby I am using version 1.8.2
|
123
|
+
|
124
|
+
|
125
|
+
I have tested this under Linux-Debian kernel 2.6.9
|
126
|
+
|
127
|
+
== PROBLEMS:
|
128
|
+
It is easy to type a date with a space after it. That will have a somewhat invisible space
|
129
|
+
in it.
|
130
|
+
|
131
|
+
don't type in the extension .sch
|
132
|
+
|
133
|
+
Closing the browser doesn't terminate the application. You have to use the application's close-button And terminating the application doesn't terminate the application when running in network mode. You just log out.
|
134
|
+
|
135
|
+
Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
|
136
|
+
|
137
|
+
|
138
|
+
== contacts
|
139
|
+
For more information see:
|
140
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
141
|
+
|
142
|
+
|
143
|
+
For more information about RubyWebDialogs see:
|
144
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
145
|
+
|
146
|
+
|
147
|
+
Steven Gibson
|
148
|
+
steven@superant.com
|
149
|
+
|
150
|
+
== Changelog
|
151
|
+
version 0.93
|
152
|
+
added some context sensitive help
|
153
|
+
added edit config file and reload config variables
|
154
|
+
change to tinker context help script
|
155
|
+
updated for rwdtinker 1.47
|
156
|
+
factored month calendar display - should be more readable
|
157
|
+
fixed l10n calls for calendar for Dutch
|
158
|
+
added archive function for old events
|
159
|
+
|
160
|
+
version 0.92
|
161
|
+
Added delete update files function in sync tab
|
162
|
+
|
163
|
+
version 0.91
|
164
|
+
updated for rwdtinker 1.44 - refactored gui files
|
165
|
+
Changed gui directory names - more like Java package titles
|
166
|
+
|
167
|
+
version 0.9
|
168
|
+
added back window for sync tasks
|
169
|
+
added configuration viewing
|
170
|
+
added ftp file download for sync
|
171
|
+
added ftp file upload for sync
|
172
|
+
add update files and schedule sync compares
|
173
|
+
|
174
|
+
version 0.8
|
175
|
+
updated for rwdtinker 1.42 - semi-live updates
|
165
176
|
|
166
177
|
version 0.7
|
167
178
|
updated for rwdtinker 1.4
|
@@ -169,14 +180,14 @@ version 0.7
|
|
169
180
|
|
170
181
|
version 0.6
|
171
182
|
updated for rwdtinker 1.3
|
172
|
-
|
173
|
-
version 0.5
|
174
|
-
added edit commands to change event record
|
175
|
-
Rename event
|
176
|
-
Delete event
|
177
|
-
changed order of event list - descending = oldest at top
|
178
|
-
|
179
|
-
version 0.4
|
180
|
-
added configuration file with location of schedules directory
|
181
|
-
add date selection to view event tab
|
182
|
-
updated to version 1.0 of rwdtinker
|
183
|
+
|
184
|
+
version 0.5
|
185
|
+
added edit commands to change event record
|
186
|
+
Rename event
|
187
|
+
Delete event
|
188
|
+
changed order of event list - descending = oldest at top
|
189
|
+
|
190
|
+
version 0.4
|
191
|
+
added configuration file with location of schedules directory
|
192
|
+
add date selection to view event tab
|
193
|
+
updated to version 1.0 of rwdtinker
|
data/bin/rwdschedule
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#--
|
3
|
-
# Copyright 2004 Steven Gibson <steven@superant.com>
|
4
|
-
# RwdTinker application
|
5
|
-
#
|
6
|
-
# This program is free software. It may be redistributed and/or modified under
|
7
|
-
# the terms of the GPL version 2 (or later), or the
|
8
|
-
# Ruby licence.
|
9
|
-
#
|
10
|
-
#++
|
11
|
-
|
12
|
-
|
13
|
-
$progdir = File::expand_path( File.dirname(__FILE__))
|
14
|
-
|
15
|
-
Dir.chdir($progdir)
|
16
|
-
|
17
|
-
Dir.chdir("..")
|
18
|
-
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#--
|
3
|
+
# Copyright 2004 Steven Gibson <steven@superant.com>
|
4
|
+
# RwdTinker application
|
5
|
+
#
|
6
|
+
# This program is free software. It may be redistributed and/or modified under
|
7
|
+
# the terms of the GPL version 2 (or later), or the
|
8
|
+
# Ruby licence.
|
9
|
+
#
|
10
|
+
#++
|
11
|
+
|
12
|
+
|
13
|
+
$progdir = File::expand_path( File.dirname(__FILE__))
|
14
|
+
|
15
|
+
Dir.chdir($progdir)
|
16
|
+
|
17
|
+
Dir.chdir("..")
|
18
|
+
|
19
19
|
`ruby init.rb`
|
@@ -1,18 +1,20 @@
|
|
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
|
-
# This class is the top class for the RwdTinker application
|
6
|
-
|
7
|
-
class RwdTinker < RWDialog
|
8
|
-
|
9
|
-
def main
|
10
|
-
@rwd_window = "main"
|
11
|
-
@result = "idle"
|
12
|
-
@display= "idle"
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
+
# This class is the top class for the RwdTinker application
|
6
|
+
|
7
|
+
class RwdTinker < RWDialog
|
8
|
+
|
9
|
+
def main
|
10
|
+
@rwd_window = "main"
|
11
|
+
@result = "idle"
|
12
|
+
@display= "idle"
|
13
|
+
|
14
|
+
|
15
|
+
end
|
16
|
+
|
17
|
+
def inspect
|
18
|
+
"Rwdtinker Application "
|
19
|
+
end
|
20
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# Help files for RwdTinker core
|
2
|
+
|
3
|
+
|
4
|
+
:general_help => "You can work with Applets: go to 'Selection tab',
|
5
|
+
On that back screen you will find:
|
6
|
+
List Applets: you can see and delete installed applets
|
7
|
+
List Zips: you can see lists of applets that you can install
|
8
|
+
Edit Configuration: You can view the rwdtinker configuration and change it
|
9
|
+
Diagnostic Tab: You can view the environments variables that rwdtinker is running with
|
10
|
+
",
|
11
|
+
:network_help => "Using over a Network: To serve the application over your local LAN,change the last line in the
|
12
|
+
init.rb file to something like:\n
|
13
|
+
RwdTinker.file(RWDFile).serve(8080, '-r' ? '.rwduids' : nil)\n
|
14
|
+
Then you should be able to login at: http://yourhostname:8080",
|
15
|
+
|
16
|
+
:applet_viewing => "You can get a list of all installed applets by clicking the 'listfiles button'
|
17
|
+
To see the text of a install file
|
18
|
+
Type in the name of the file you want.
|
19
|
+
|
20
|
+
type it without the inf ending
|
21
|
+
rwdapplet-0.1
|
22
|
+
|
23
|
+
Then click the 'View Installed File' button
|
24
|
+
|
25
|
+
If it finds the file it will open it. It displays the text the search box.
|
26
|
+
|
27
|
+
You can uninstall applets on this screen",
|
28
|
+
|
29
|
+
:applet_installation => " You can download an applet created by someone else\n
|
30
|
+
put the file in the zips directory\n
|
31
|
+
|
32
|
+
click on the 'list zips' tab\n
|
33
|
+
click on 'list applets available for installing'\n
|
34
|
+
|
35
|
+
chose the applet you want\n
|
36
|
+
click on 'install applet'\n
|
37
|
+
If all goes well the applet should be installed.\n
|
38
|
+
You will need to restart rwdtinker to see the new screens",
|
39
|
+
:applet_tinkerbackeditconfiguration => " You can edit the configuration
|
40
|
+
|
41
|
+
Remember to reload the configuration variables if you want your
|
42
|
+
changes used.",
|
43
|
+
:documents_rwdtinker => "Documents:
|
44
|
+
|
45
|
+
|
46
|
+
when you click on a document name, the document should pop up in a
|
47
|
+
browser window, or in another browser tab."
|
48
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# this code is to call the help window
|
2
|
+
def runhelpwindow
|
3
|
+
|
4
|
+
if @rwd_window == "main"
|
5
|
+
if @rwd_tab == "documentsrwdtinkerone"
|
6
|
+
$help_topic = "documents_rwdtinker"
|
7
|
+
end
|
8
|
+
$helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
|
9
|
+
$previouswindow = @rwd_window
|
10
|
+
$previoustab = @rwd_tab
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
if @rwd_window == "tinkerbackwindow"
|
15
|
+
if @rwd_tab == "filelister"
|
16
|
+
$help_topic = "applet_viewing"
|
17
|
+
$helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
|
18
|
+
end
|
19
|
+
if @rwd_tab == "zipslister"
|
20
|
+
$help_topic = "applet_installation"
|
21
|
+
$helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
|
22
|
+
end
|
23
|
+
if @rwd_tab == "editconfigurationfile"
|
24
|
+
$help_topic = "applet_tinkerbackeditconfiguration"
|
25
|
+
$helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
|
26
|
+
end
|
27
|
+
|
28
|
+
$previouswindow = @rwd_window
|
29
|
+
$previoustab = @rwd_tab
|
30
|
+
end
|
31
|
+
if @rwd_window == "rwdtinkerhelpwindow"
|
32
|
+
$helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"]
|
33
|
+
end
|
34
|
+
@rwdhelptopic = $help_topic
|
35
|
+
@rwdhelpdataoutput = "#{Helptext[:"#{$help_topic}"]}"
|
36
|
+
@rwdhelpsubchoicesoutput = $helptopicsarray.rwd_method("choosenewhelptopic")
|
37
|
+
@rwd_window = "rwdtinkerhelpwindow"
|
38
|
+
end
|
39
|
+
|
40
|
+
def choosenewhelptopic(inffile)
|
41
|
+
$help_topic = inffile
|
42
|
+
runhelpwindow
|
43
|
+
end
|
44
|
+
|
45
|
+
|