rwdschedule 0.91 → 0.92

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. data/Readme.txt +130 -266
  2. data/code/{superantc.com.schedule → superant.com.schedule}/cleareventscreendisplay.rb +0 -0
  3. data/code/{superantc.com.schedule → superant.com.schedule}/deleteeventrecord.rb +0 -0
  4. data/code/superant.com.schedule/deleterwdscheduleupdatefiles.rb +20 -0
  5. data/code/{superantc.com.schedule → superant.com.schedule}/downloadrwdschedulefiles.rb +0 -0
  6. data/code/{superantc.com.schedule → superant.com.schedule}/listeventdates.rb +0 -0
  7. data/code/{superantc.com.schedule → superant.com.schedule}/loadeventrecord.rb +0 -0
  8. data/code/{superantc.com.schedule → superant.com.schedule}/renameeventdata.rb +0 -0
  9. data/code/{superantc.com.schedule → superant.com.schedule}/runrwdschedulesyncbackwindow.rb +0 -0
  10. data/code/{superantc.com.schedule → superant.com.schedule}/rwdschedulehelpabout.rb +0 -0
  11. data/code/{superantc.com.schedule → superant.com.schedule}/saveeventrecord.rb +0 -0
  12. data/code/{superantc.com.schedule → superant.com.schedule}/syncrwdschedule.rb +0 -0
  13. data/code/{superantc.com.schedule → superant.com.schedule}/uploadrwdschedulefiles.rb +0 -0
  14. data/code/{superantc.com.schedule → superant.com.schedule}/viewevent.rb +0 -0
  15. data/code/{superantc.com.schedule → superant.com.schedule}/viewrwdschedulesconfiguration.rb +0 -0
  16. data/configuration/rwdscheduleversion.cnf +1 -1
  17. data/gui/00coreguibegin/rwdapplicationguitop.rwd +4 -0
  18. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +3 -0
  19. data/lang/templangfile.rb +7 -1
  20. data/lang/xlocallangfile.rb +7 -1
  21. data/rwd_files/HowTo_Schedule.txt +6 -1
  22. metadata +17 -18
  23. data/configuration/rwdplayscriptsversion.cnf +0 -2
  24. data/gui/00coreguibegin/applicationguitop.rwd +0 -4
  25. data/updates/200510october26a.sch +0 -8
data/Readme.txt CHANGED
@@ -1,131 +1,101 @@
1
- = RwdTinker framework for RubyWebDialogs
1
+ = rwdschedule - for rwdtinker and RubyWebDialogs
2
2
 
3
-
4
- RwdTinker is a web brower interface to and system for developing programs
5
-
6
- == Usage
7
-
8
-
9
- How to Use the Tinker framework Program (rwdtinker)
10
-
11
-
12
- 1. stand alone application
13
- 2. framework for building applications
14
- 3. Open brower windows with html documents
3
+ rwdschedule is a simple little database
15
4
 
16
5
  The GUI interface used is RubyWebDialogs
17
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/
18
8
 
19
- Start the program by typing
20
- ruby init.rb
21
-
22
- Then point your web browser to:
23
- http://localhost:7705/
24
-
9
+ == Quick Start
10
+ Start the program by typing
11
+ ruby init.rb
25
12
 
26
- == Viewing installed Applets:
13
+ Then point your web browser to:
14
+ http://localhost:7705/
27
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
+
21
+
22
+ == How to Use the Schedule Book (rwdschedule)
23
+
24
+ There are two ways to add records to schedule book.
25
+
26
+ == Adding Records
27
+
28
+ 1. Use the "Edit Event" tab
29
+ The first field is the most important. It is the filename that
30
+ will be created. I use the event date starting with yearmonthday
31
+ 2005january11
32
+
33
+ The following lines for entry are for you to fill in as you want.
34
+ When you are finished press the Save Changes button
35
+
36
+ You use this same screen for editing an already saved event
37
+
38
+ 2. Manually add an entry for a event record
39
+ You can use a text editor to create a record
40
+ put information on separate lines. You can have as many lines as you want
41
+ name the file with starting with date and end with .nam
42
+ 2005january11 6 pm dinner party.nam
43
+
44
+ Save your file to the schedules/ subdirectory
45
+
46
+
47
+ == Viewing an schedule book entry:
48
+
49
+
50
+ Go to "View event" tab
51
+
52
+ Click on the list events button.
53
+
54
+ Click on the date you want
55
+
56
+ Then click the "Open" button
57
+
58
+ If it finds the record it will open it. It displays the record
59
+ as text under the "Open" button.
60
+
61
+
62
+ == Event Utilities
63
+
64
+ Click on "Event Utilites" tab
65
+
66
+ You can rename event filenames
67
+ You can delete events
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
77
+
78
+ in "Selection Panel" click on "Open Schedule Sync Window"
28
79
 
29
- Go to "List Scripts" tab
30
-
31
-
32
- You can get a list of all installed applets by clicking the listfiles button
33
-
34
- To see the text of a install file
35
- Type in the name of the file you want.
36
-
37
- type it without the inf ending
38
- rwdapplet-0.1
39
-
40
- Then click the "View Installed File" button
41
-
42
- If it finds the file it will open it. It displays the text the search box.
43
-
44
- You can uninstall applets on this screen
45
-
46
- == Installing Applets
47
-
48
- click on the "Selection Panel"
49
- click on Rwdtinker Back Window
50
-
51
- You can download an applet created by someone else
52
- put the file in the zips directory
53
-
54
- click on the "list zips" tab
55
- click on "list applets available for installing"
56
-
57
- chose the applet you want
58
- click on "install applet"
59
- If all goes well the applet should be installed.
60
- You will need to restart rwdtinker to see the new screens
61
-
62
-
63
- == Changing configuration file
64
-
65
- click on "Edit Configuration"
66
- You can view the configuration file
80
+ First you need your ftp details set in the
81
+ configuration/rwdschedule.cnf file
67
82
 
68
- You can edit the configuration
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
+ == Show Month
89
+
90
+ Click on "Show Month" tab
91
+ enter
92
+ Year: 2005
93
+ Month: 1
94
+ Click on show month
95
+
96
+ It will display one month
69
97
 
70
- Remember to reload the configuration variables if you want your
71
- changes used.
72
-
73
- == Manually installing applets
74
-
75
- * unzip an applet
76
-
77
- unzip the applet into the program directoy
78
- unzip randomapplet.zip
79
-
80
- This should place the needed files in the correct directories
81
-
82
-
83
- == Creating Applets
84
-
85
- To add code, commands and gui tabs
86
-
87
- Move program files into a directory under the code directory.
88
- Move gui files into a directory under the gui directory.
89
- The gui directory name you create is important, because the gui
90
- rwd file is built in alpha order by directory name
91
-
92
-
93
- There are two ways to add applets to the directories.
94
-
95
- Creating code
96
-
97
-
98
- * Manually write code and gui files
99
-
100
- The files go into your code directory
101
- the filenames for code do not matter
102
-
103
- The gui files go into your gui directory
104
- The gui files need to be in order by name and end with .rwd
105
98
 
106
-
107
-
108
- If you need a config file that goes in the configuration directory
109
-
110
- internationalization and localization are helped by replacing the
111
- gui files in the subdirectories under gui
112
-
113
-
114
- == Documents
115
-
116
-
117
- when you click on a document name, the document should pop up in a
118
- browser window, or in another browser tab.
119
-
120
- To exit, press the x inside the browser window.
121
-
122
- == Languages
123
-
124
-
125
- You can add tranlations in the lang subdirectory
126
- You change the $lang constant in Tinker config file in the configuration directory
127
- You can see one translation on the install applet tab, after you have installed and applet
128
-
129
99
  == Using over a Network
130
100
 
131
101
  To serve the application over your local LAN,change the last line in the
@@ -143,176 +113,70 @@ user2 = pass phrase
143
113
  Thus the file .rwduids might contain:
144
114
 
145
115
  erik = secret
146
-
116
+
147
117
  == Requirements:
148
- RubyWebDialogs - I am using 0.1.2
149
- This package you downloaded should have a runtime version of
150
- the needed rubywebdialog files
118
+ RubyWebDialogs - I am using 0.0.11 2004-3-9
151
119
 
152
120
  Ruby I am using version 1.8.2
153
121
 
154
- I have tested this under Linux-Debian kernel 2.6.9
155
-
156
- = Operation:
157
- The code files reside in the code directory and are combined before
158
- the main Class is loaded
159
-
160
- The rwd files in gui are combined before the gui is activated
161
122
 
162
- Translated text reside in the lang directory
163
-
164
- == Installing:
165
-
166
- untar the file
167
- tar zxvf rwdtinker-x.y.tar.gz
168
- then cd to the directory
169
- cd rwdshell-x.y
170
- then start the init.rb program file
171
- ruby init.rb
172
- Then point your browser at http://localhost:7705
173
- or where it tells you.
174
- Trouble shooting:
175
-
176
- If the program is not working, try looking at the ev subdirectory. That is where
177
- the runtime of rubywebdialogs are.
123
+ I have tested this under Linux-Debian kernel 2.6.9
178
124
 
179
- for long term installation, I would suggest putting most files in a lib directory
180
- like /usr/lib/rwdshell
181
- then make a writable directory the local directory for command files to be written
182
- like ~/rwdshell
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.
183
128
 
129
+ don't type in the extension .sch
184
130
 
185
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.
186
132
 
187
133
  Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
188
134
 
189
- 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/
190
135
 
191
- == Credits
192
-
193
- Thanks go to:
194
-
195
- * Matz, for creating Ruby in the first place.
196
- * Erik, for creating RubyWebDialogs.
197
- * Charlotte, my wife for coming up for the name Tinker.
198
-
199
- == License
200
-
201
- rwdtinker is copyright (c) 2004 Steven Gibson. It is free software, and may be redistributed
202
- under the terms of the GPL licence:
203
-
204
- == Contact
136
+ == contacts
205
137
  For more information see:
206
- http://rwdapplications.rubyforge.org/wiki/wiki.pl
138
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
207
139
 
208
140
 
209
- For more information about RubyWebDialogs see:
210
- http://www.erikveen.dds.nl/rubywebdialogs/index.html
211
-
212
- Thanks, Steven Gibson
213
-
214
- == Changelog
215
- version 1.44
216
- updated directory structure - refactored gui files
217
- Changed gui directory names - more like Java package titles
218
-
219
- version 1.43
220
- changed setup variables file for live changes
221
- added editing and reloading of config file
222
- added unzip filename to config file
141
+ For more information about RubyWebDialogs see:
142
+ http://www.erikveen.dds.nl/rubywebdialogs/index.html
223
143
 
224
- version 1.42
225
- update for live update system
226
- update applets for live update
227
- code file name cleanup
228
144
 
229
- version 1.41
230
- l10n work es,nl, jp
231
- separated out languge.cnf
232
- added zip applets refreshacpi, rwdcalc
145
+ Steven Gibson
146
+ steven@superant.com
233
147
 
234
- version 1.40
235
- removed extra lines from init.rb
236
- fixed help second window
237
- added some tranlations for Spanish
238
- More work on l10n
148
+ == Changelog
149
+ version 0.92
150
+ Added delete update files function in sync tab
239
151
 
240
- version 1.3
241
- refactored gui files to do easier i10n
242
- removed lang directories under gui
243
- added lang files under lang dir
244
- removed redundant code files left from moving applet handling to back window
245
- removed zipped applets not yet refactored
246
-
247
- version 1.24
248
- added internet usage instructions to HowTo_Tinker.txt
249
- removed HowTo_Tinker.html
250
- added panels for Helpabout
251
- changed photo logo tab to only have embedded picture, no button
252
-
253
- version 1.23
254
- moving diagnostic tab and applet handling tabs to second window
255
- added selection panel tab to choose secondary windows.
256
-
257
- version 1.21
258
- changing version on help screen to be button
259
- added version window
260
- added diagnostic tab
261
-
262
- version 1.2
263
- added gemspec for creating a rwdtinker.gem
264
- added rdoc comments
265
- changed order on remove applets tab
266
-
267
- version 1.1
268
- changed order of elements on install applet tab
269
- Add more i81n ablility - added lang directorys for language hash files
270
- added in test file using WATIR stands for "Web Application Testing In Ruby,
271
-
272
- version 1.0
273
- Improved name selection in zips and applet screens
274
- added rubyslippers applet and rwdrefreshacpi applets as zips
152
+ version 0.91
153
+ updated for rwdtinker 1.44 - refactored gui files
154
+ Changed gui directory names - more like Java package titles
275
155
 
276
156
  version 0.9
277
- Fixed bug introduced in 0.8 - code files not sorted correctly - class end was not in correct location
278
- updated RubyWebDialogs for people who do not have it installed
279
- added rwdschedule applet as zip file
280
-
157
+ added back window for sync tasks
158
+ added configuration viewing
159
+ added ftp file download for sync
160
+ added ftp file upload for sync
161
+ add update files and schedule sync compares
162
+
281
163
  version 0.8
282
- changed location of code files
283
- only directory of code files needs to be added to inf file
284
- changed location of gui files
285
- only directory of gui files needs to be added to inf file
286
- Added constants in conf file for code location and gui location
287
- removed all zips not yt updated to new directory layout
288
- change loading of conf files to not need intermediate file
289
- and favicon.ico
290
-
291
- version 0.7
292
- moved changelog to HowTo_Tinker.html
293
- copied english gui text to the dirs I think we should translate to
294
- update backup zip files to newest versions
295
- upgraded the ev directory - for those who don't have RubyWebDialogs
296
-
297
- version 0.6
298
- updated version number
299
- changed merge name to rwdtinker.rb
300
-
164
+ updated for rwdtinker 1.42 - semi-live updates
165
+
166
+ version 0.7
167
+ updated for rwdtinker 1.4
168
+ addition to documentation
169
+
170
+ version 0.6
171
+ 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
+
301
179
  version 0.4
302
- added zip listing and installing - Linux only
303
-
304
- Version 0,3
305
- changed name to Tinker
306
-
307
- Version 0.2
308
- added some i18n directories for the gui files
309
-
310
- Version 0.1
311
- first public version released
312
- includes document screen
313
- Open Photo screen
314
- included configuration directory
315
- zips directories
316
- installed directory
317
- installed applet lister
318
-
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
@@ -0,0 +1,20 @@
1
+ # this code is to delete update files
2
+ def deleterwdscheduleupdatefiles
3
+ # exception begin
4
+ begin
5
+ fileListarray = Dir.new($rwdschedule_updatedirectory).entries.sort.delete_if { |x| ! (x =~ /sch$/) }
6
+ #loop through and get the files names
7
+
8
+ fileListarray.each do |x|
9
+ filetodelete = File.join($rwdschedule_updatedirectory,x)
10
+ if File.exist?(filetodelete)
11
+ File.delete(filetodelete)
12
+ end
13
+ end
14
+ @rwdscheduleftpdisplay = "update files deleted"
15
+ rescue
16
+ @rwdscheduleftpdisplay = "error opening schedule update directory"
17
+ end # end of error function
18
+ end
19
+
20
+
@@ -1,3 +1,3 @@
1
1
 
2
- RwdScheduleVersion = "0.91"
2
+ RwdScheduleVersion = "0.92"
3
3
 
@@ -0,0 +1,4 @@
1
+ $rwdguivar=
2
+ "<application>
3
+ <window name=\"main\" title=\"RwdSchedule - Schedule Book with RubyWebDialogs\">
4
+ <tabs>"
@@ -17,6 +17,9 @@ $rwdguivar=
17
17
  <button caption=\"Upload schedule files to ftp site\" action=\"uploadrwdschedulefiles\"/>
18
18
 
19
19
  </horizontal>
20
+ <horizontal>
21
+ <button caption=\"Delete local update files\" action=\"deleterwdscheduleupdatefiles\"/>
22
+ </horizontal>
20
23
  <p>%rwdscheduleftpdisplay%</p>
21
24
 
22
25
  <table>
data/lang/templangfile.rb CHANGED
@@ -1,4 +1,10 @@
1
- # English Language files for RwdTinker core
1
+ # Lang file for rwdclandar - nl
2
+
3
+ :year => "Jaar:",
4
+ :month => "Maand:",
5
+
6
+
7
+ # English Language files for RwdTinker core
2
8
 
3
9
 
4
10
  :applet_installed => "applet installed!.",
@@ -1,4 +1,10 @@
1
- # English Language files for RwdTinker core
1
+ # Lang file for rwdclandar - nl
2
+
3
+ :year => "Jaar:",
4
+ :month => "Maand:",
5
+
6
+
7
+ # English Language files for RwdTinker core
2
8
 
3
9
 
4
10
  :applet_installed => "applet installed!.",
@@ -84,6 +84,8 @@ Click on "Event Utilites" tab
84
84
  you can download events from the ftp site to your local updates directory
85
85
  you can perform a sync which finds remote events and adds them to your local
86
86
  schedules directory
87
+
88
+ There is a button to delete the update directory when finished
87
89
 
88
90
  == Show Month
89
91
 
@@ -145,7 +147,10 @@ Don't use the back-button of the browser! Strange and unpredictable things may a
145
147
  Steven Gibson
146
148
  steven@superant.com
147
149
 
148
- == Changelog
150
+ == Changelog
151
+ version 0.92
152
+ Added delete update files function in sync tab
153
+
149
154
  version 0.91
150
155
  updated for rwdtinker 1.44 - refactored gui files
151
156
  Changed gui directory names - more like Java package titles
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.4
3
3
  specification_version: 1
4
4
  name: rwdschedule
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.91"
7
- date: 2005-01-18
6
+ version: "0.92"
7
+ date: 2005-01-19
8
8
  summary: rwdschedule is an calendar application using rwdtinker and RubyWebDialogs.
9
9
  require_paths:
10
10
  - "."
@@ -28,19 +28,6 @@ authors: []
28
28
  files:
29
29
  - lib/temp.rb
30
30
  - code/zz0applicationend/zz0end.rb
31
- - code/superantc.com.schedule/deleteeventrecord.rb
32
- - code/superantc.com.schedule/listeventdates.rb
33
- - code/superantc.com.schedule/cleareventscreendisplay.rb
34
- - code/superantc.com.schedule/downloadrwdschedulefiles.rb
35
- - code/superantc.com.schedule/runrwdschedulesyncbackwindow.rb
36
- - code/superantc.com.schedule/loadeventrecord.rb
37
- - code/superantc.com.schedule/renameeventdata.rb
38
- - code/superantc.com.schedule/syncrwdschedule.rb
39
- - code/superantc.com.schedule/rwdschedulehelpabout.rb
40
- - code/superantc.com.schedule/viewevent.rb
41
- - code/superantc.com.schedule/saveeventrecord.rb
42
- - code/superantc.com.schedule/uploadrwdschedulefiles.rb
43
- - code/superantc.com.schedule/viewrwdschedulesconfiguration.rb
44
31
  - code/superant.com.rwdtinkercallable/callable.rb
45
32
  - code/00rwdtinkercore/aa0begin.rb
46
33
  - code/00rwdtinkercore/rwdtinkerversion.rb
@@ -55,11 +42,24 @@ files:
55
42
  - code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb
56
43
  - code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
57
44
  - code/superant.com.rwdcalendar/gh9calendar.rb
45
+ - code/superant.com.schedule/deleteeventrecord.rb
46
+ - code/superant.com.schedule/listeventdates.rb
47
+ - code/superant.com.schedule/cleareventscreendisplay.rb
48
+ - code/superant.com.schedule/downloadrwdschedulefiles.rb
49
+ - code/superant.com.schedule/runrwdschedulesyncbackwindow.rb
50
+ - code/superant.com.schedule/loadeventrecord.rb
51
+ - code/superant.com.schedule/renameeventdata.rb
52
+ - code/superant.com.schedule/syncrwdschedule.rb
53
+ - code/superant.com.schedule/rwdschedulehelpabout.rb
54
+ - code/superant.com.schedule/viewevent.rb
55
+ - code/superant.com.schedule/saveeventrecord.rb
56
+ - code/superant.com.schedule/uploadrwdschedulefiles.rb
57
+ - code/superant.com.schedule/viewrwdschedulesconfiguration.rb
58
+ - code/superant.com.schedule/deleterwdscheduleupdatefiles.rb
58
59
  - configuration/rwdtinker.cnf
59
60
  - configuration/rwdtinkerversion.cnf
60
61
  - configuration/language.cnf
61
62
  - configuration/tinkerwin2version.cnf
62
- - configuration/rwdplayscriptsversion.cnf
63
63
  - configuration/tinkerwin2variables.cnf
64
64
  - configuration/rwdcalendar.cnf
65
65
  - configuration/rwdcalendarversion.cnf
@@ -68,7 +68,6 @@ files:
68
68
  - extras/cal.rb
69
69
  - schedules/200501january23CharlotteB-Day.sch
70
70
  - schedules/200501january24jazzfuller.sch
71
- - updates/200510october26a.sch
72
71
  - ev/sgml.rb
73
72
  - ev/xml.rb
74
73
  - ev/net.rb
@@ -92,7 +91,7 @@ files:
92
91
  - lang/nl/rwdcore/languagefile.rb
93
92
  - lang/nl/rwdcalendar/calendar-nl.rb
94
93
  - lang/jp/rwdcore/languagefile.rb
95
- - gui/00coreguibegin/applicationguitop.rwd
94
+ - gui/00coreguibegin/rwdapplicationguitop.rwd
96
95
  - gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd
97
96
  - gui/frontwindow0/superant.com.tinkercalendar
98
97
  - gui/frontwindow0/superant.com.rwdschedules
@@ -1,2 +0,0 @@
1
-
2
- RwdShellVersion = "0.92"
@@ -1,4 +0,0 @@
1
- $rwdguivar=
2
- "<application>
3
- <window name=\"main\" title=\"Tinker - RubyWebDialogs\">
4
- <tabs>"
@@ -1,8 +0,0 @@
1
- 6:00 am
2
- Blanche b-day
3
-
4
-
5
-
6
-
7
-
8
-