rwdmovies 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/Readme.txt +57 -0
  2. data/bin/rwdmovies +19 -0
  3. data/code/ag1core/aa0begin.rb +18 -0
  4. data/code/ag1core/rwdtinkerversion.rb +15 -0
  5. data/code/eo1rwdmovies/attachtmpmoviepicture.rb +24 -0
  6. data/code/eo1rwdmovies/deletemovierecord.rb +24 -0
  7. data/code/eo1rwdmovies/eo2viewmoviephoto.rb +4 -0
  8. data/code/eo1rwdmovies/gl7clearscreendisplay.rb +15 -0
  9. data/code/eo1rwdmovies/listmoviefiles.rb +15 -0
  10. data/code/eo1rwdmovies/loadeventrecord.rb +30 -0
  11. data/code/eo1rwdmovies/openmoviedata.rb +27 -0
  12. data/code/eo1rwdmovies/renamemovie.rb +13 -0
  13. data/code/eo1rwdmovies/rwdmovieshelpabout.rb +14 -0
  14. data/code/eo1rwdmovies/savemoviechanges.rb +19 -0
  15. data/code/eo1rwdmovies/viewrwdmoviesconfiguration.rb +21 -0
  16. data/code/eo1rwdmovies/viewtmppictures.rb +12 -0
  17. data/code/gh9calendar/gh9calendar.rb +16 -0
  18. data/code/xa5rwdtinkercallable/callable.rb +13 -0
  19. data/code/xb1rwdtinkerbackwindow/05listinstalledfiles.rb +11 -0
  20. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +21 -0
  21. data/code/xb1rwdtinkerbackwindow/ll1openname.rb +18 -0
  22. data/code/xb1rwdtinkerbackwindow/ll5listzips.rb +14 -0
  23. data/code/xb1rwdtinkerbackwindow/lm1installapplet.rb +20 -0
  24. data/code/xb1rwdtinkerbackwindow/mm1removeapplet.rb +28 -0
  25. data/code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb +14 -0
  26. data/code/zz0applicationend/zz0end.rb +4 -0
  27. data/configuration/aa0rwdframework.cnf +14 -0
  28. data/configuration/ab1tinkerwin2.cnf +4 -0
  29. data/configuration/rwdmovies.cnf +4 -0
  30. data/ev/browser.rb +109 -0
  31. data/ev/ftools.rb +170 -0
  32. data/ev/net.rb +750 -0
  33. data/ev/ruby.rb +819 -0
  34. data/ev/rwd.rb +1848 -0
  35. data/ev/sgml.rb +236 -0
  36. data/ev/thread.rb +63 -0
  37. data/ev/tree.rb +343 -0
  38. data/ev/xml.rb +4 -0
  39. data/gui/aa2core/aa0rwdtop.rwd +4 -0
  40. data/gui/ee1rwdmovies/1openmoviedata.rwd +18 -0
  41. data/gui/ee1rwdmovies/2openmoviephoto.rwd +8 -0
  42. data/gui/ee1rwdmovies/3listmoviegfiles.rwd +12 -0
  43. data/gui/ee1rwdmovies/6editrecord.rwd +35 -0
  44. data/gui/ee1rwdmovies/movieutilities.rwd +33 -0
  45. data/gui/ee1rwdmovies/viewconfiguration.rwd +16 -0
  46. data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +16 -0
  47. data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +12 -0
  48. data/gui/lz1selectiontabend/endselectiontab.rwd +3 -0
  49. data/gui/tt0documentsbegin/tt0documentbegin.rwd +6 -0
  50. data/gui/uu5rwddocuments/uu5documents.rwd +15 -0
  51. data/gui/uu6rwdtinkerwin2documents/uu5documents.rwd +6 -0
  52. data/gui/uv7rwdmovies/uv7docmovies.rwd +4 -0
  53. data/gui/ww0documentsend/ww0documentend.rwd +7 -0
  54. data/gui/wz6finaltabs/xx0rwdfirsttab.rwd +6 -0
  55. data/gui/xa1versionwindow/1appname.rwd +19 -0
  56. data/gui/xa5rwdtinkercallablewindow/1appname.rwd +17 -0
  57. data/gui/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  58. data/gui/xb1rwdtinkerbackwindow/1appname.rwd +5 -0
  59. data/gui/xb1rwdtinkerbackwindow/2tab1.rwd +11 -0
  60. data/gui/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +33 -0
  61. data/gui/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +44 -0
  62. data/gui/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +35 -0
  63. data/gui/xb1rwdtinkerbackwindow/9backend.rwd +6 -0
  64. data/gui/xx8rwdmoviespicture/xx8moviephotoview.rwd +5 -0
  65. data/gui/ya1helpaboutbegin/ya0helpscreenstart.rwd +3 -0
  66. data/gui/yg5rwdhelpabout/1appname.rwd +4 -0
  67. data/gui/yg5rwdhelpabout/3copyright.rwd +3 -0
  68. data/gui/yg5rwdhelpabout/5version.rwd +10 -0
  69. data/gui/yg6rwdwin2helpabout/1appname.rwd +4 -0
  70. data/gui/yg6rwdwin2helpabout/3copyright.rwd +3 -0
  71. data/gui/yg6rwdwin2helpabout/5version.rwd +10 -0
  72. data/gui/yl2rwdmovieshelpabout/1movies.rwd +4 -0
  73. data/gui/yl2rwdmovieshelpabout/2movies.rwd +3 -0
  74. data/gui/yl2rwdmovieshelpabout/5version.rwd +9 -0
  75. data/gui/yy5helpaboutend/helpscreenend.rwd +3 -0
  76. data/gui/za1applicationend/yy9rwdend.rwd +4 -0
  77. data/init.rb +233 -0
  78. data/installed/rubyslippers-0.94.inf +9 -0
  79. data/installed/rwdcalendar-0.5.inf +8 -0
  80. data/installed/rwdmovies-0.5.inf +9 -0
  81. data/installed/rwdmoviesdata1.inf +8 -0
  82. data/installed/rwdtinkerwin2-0.5.inf +8 -0
  83. data/lang/alanguagehashbegin.rb +4 -0
  84. data/lang/en/rwdcalendar/calendar-nl.rb +6 -0
  85. data/lang/en/rwdcore/languagefile.rb +16 -0
  86. data/lang/es/rwdcalendar/calendar-nl.rb +6 -0
  87. data/lang/es/rwdcore/languagefile-es.rb +14 -0
  88. data/lang/languagehash.rb +4 -0
  89. data/lang/nl/rwdcalendar/calendar-nl.rb +6 -0
  90. data/lang/nl/rwdcore/languagefile-nl.rb +4 -0
  91. data/lang/templangfile.rb +22 -0
  92. data/lang/vlanguagehashend.rb +6 -0
  93. data/lang/wlocallangstart.rb +5 -0
  94. data/lang/xlocallangfile.rb +10 -0
  95. data/lang/zlocallangend.rb +2 -0
  96. data/lib/temp.rb +1 -0
  97. data/movies/Cold Mountain.jpg +0 -0
  98. data/movies/Cold Mountain.nam +8 -0
  99. data/movies/Last Of The Mohicans.jpg +0 -0
  100. data/movies/Last Of The Mohicans.nam +9 -0
  101. data/movies/Zulu.jpg +0 -0
  102. data/movies/Zulu.nam +8 -0
  103. data/movies/nophoto.jpg +0 -0
  104. data/rwd_files/HowTo_Movies.txt +72 -0
  105. data/rwd_files/HowTo_Tinker.txt +276 -0
  106. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  107. data/rwd_files/Readme.txt +57 -0
  108. data/rwd_files/favicon.ico +0 -0
  109. data/rwd_files/moviestmp.jpg +0 -0
  110. data/rwd_files/rdoc-style.css +175 -0
  111. data/rwd_files/rwdapplications.html +54 -0
  112. data/rwd_files/rwdindex.html +6 -0
  113. data/tests/totranslate.lang +93 -0
  114. data/zips/rwdacalendar-0.5.zip +0 -0
  115. data/zips/rwdhelloworld-0.3.zip +0 -0
  116. data/zips/rwdwshell-0.91.zip +0 -0
  117. data/zips/wrubyslippers-0.93.zip +0 -0
  118. metadata +157 -0
data/init.rb ADDED
@@ -0,0 +1,233 @@
1
+
2
+ #***********************************************************************
3
+ #* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
4
+ #* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
5
+ #*
6
+ #* This library is free software; you can redistribute it and/or
7
+ #* modify it under the terms of the GNU General Public
8
+ #* License as published by the Free Software Foundation; either
9
+ #* .
10
+ #*
11
+ #* These files are distributed in the hope that they will be useful,
12
+ #* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ #* General Public License for more details.
15
+ #*
16
+ #* You should have received a copy of the GNU General Public
17
+ #* License along with these files; if not, write to the Free Software
18
+ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
+ #*
20
+ #* For further information please contact the author by e-mail
21
+ #* at "steven@superant.com".
22
+ #***********************************************************************/
23
+
24
+ require "ev/rwd"
25
+ require 'fileutils'
26
+
27
+ $progdir = File::expand_path( File.dirname(__FILE__))
28
+
29
+ $tempdoc = " "
30
+
31
+ def findfiles(d)
32
+ a = Array.new(Dir[d].entries.sort)
33
+ #loop through and get the files names
34
+ a.each do |x|
35
+ #adjust the filters to the files you want to see...
36
+ if(!test(?d,x))
37
+ # only rwd files
38
+ if x =~ /rb|rwd|txt/
39
+ fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
40
+ $tempdoc+=fileA.read #reads the file into the doc string
41
+ fileA.close
42
+ end
43
+ end
44
+ end
45
+ end
46
+ def loadguifile(d)
47
+ a = Array.new(Dir[d].entries.sort)
48
+ #loop through and get the files names
49
+ a.each do |x|
50
+ #adjust the filters to the files you want to see...
51
+ if(!test(?d,x))
52
+ # only rwd files
53
+ if x =~ /rb|rwd|txt/
54
+ load x #opens the file thats in fileName and reads it
55
+ $tempdoc += $rwdguivar # adds the file into the doc string
56
+ end
57
+ end
58
+ end
59
+ end
60
+
61
+ # Read in the configuration files
62
+
63
+ Dir.chdir("configuration") #changes the current working directory
64
+
65
+ fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /cnf$/) } #creates an Array separated with \n
66
+ @doc = ""
67
+ fileList.length.times{ #opening of a block
68
+ fileName=fileList.pop #pops the first item out of the Array
69
+ load fileName #loads the the config file thats in fileName
70
+ } #closing block
71
+ # END of configuration reading
72
+
73
+ Dir.chdir($progdir) # change back to top program directory
74
+
75
+ # build the English Language hash file from the parts
76
+ startlangdir = @@langdir +"/" + "en"
77
+ #get a list of the files and subdirectories on the starting directory only
78
+ alanghash = Array.new(Dir[startlangdir].entries.sort)
79
+ #loop through the list, ignore the files and add all new directories found
80
+ alanghash.each do |x|
81
+ #if a directory...
82
+ if(test(?d,x))
83
+ # add to the original list of directories
84
+ @@tmproot = x + "/**"
85
+ #adds the new ones to the array
86
+ blanghash = Dir[@@tmproot].entries.sort
87
+ blanghash.each do |x|
88
+ if(test(?d,x))
89
+ alanghash.push(x) #appends to the end of the array...
90
+ end
91
+ end
92
+ end
93
+ end
94
+ alanghash.each do |x|
95
+ #if it is a file...
96
+ if(!test(?d,x))
97
+ alanghash.delete(x)
98
+ else #it is a directory...
99
+ findfiles(x + "/**")
100
+ end
101
+ end
102
+
103
+ fileLangHash=File.open(TempLangHashFile,"w") #deletes and opens a the file in fileName
104
+ fileLangHash.write($tempdoc) #writes the contents of doc into the file
105
+ fileLangHash.close
106
+ # END of Lang building
107
+ $tempdoc = " "
108
+ Dir.chdir($progdir) # change back to top program directory
109
+
110
+ # build the local Language hash file from the parts
111
+ startlangdir = @@langdir +"/" + $lang
112
+ #get a list of the files and subdirectories on the starting directory only
113
+ alanghash = Array.new(Dir[startlangdir].entries.sort)
114
+ #loop through the list, ignore the files and add all new directories found
115
+ alanghash.each do |x|
116
+ #if a directory...
117
+ if(test(?d,x))
118
+ # add to the original list of directories
119
+ @@tmproot = x + "/**"
120
+ #adds the new ones to the array
121
+ blanghash = Dir[@@tmproot].entries.sort
122
+ blanghash.each do |x|
123
+ if(test(?d,x))
124
+ alanghash.push(x) #appends to the end of the array...
125
+ end
126
+ end
127
+ end
128
+ end
129
+ alanghash.each do |x|
130
+ #if it is a file...
131
+ if(!test(?d,x))
132
+ alanghash.delete(x)
133
+ else #it is a directory...
134
+ findfiles(x + "/**")
135
+ end
136
+ end
137
+
138
+ filelocalLangHash=File.open(LocalLangHashFile,"w") #deletes and opens a the file in fileName
139
+ filelocalLangHash.write($tempdoc) #writes the contents of doc into the file
140
+ filelocalLangHash.close
141
+
142
+ $tempdoc = " "
143
+
144
+ Dir.chdir($progdir) # change back to top program directory
145
+
146
+ # build the language hash constant object from the lang parts
147
+ #get a list of the files in lang directory only
148
+ alangfile = Dir.new(@@langdir).entries.sort.reverse.delete_if { |x| ! (x =~ /rb$/) }
149
+ alangfile.length.times{
150
+ fileName = alangfile.pop
151
+ Dir.chdir($progdir)
152
+ Dir.chdir(@@langdir)
153
+ fileLangA=File.open("#{fileName}","r") #opens the file thats in fileName as read only
154
+ $tempdoc += fileLangA.read #reads the file into the doc string
155
+ fileLangA.close
156
+ }
157
+
158
+ Dir.chdir($progdir)
159
+ fileLangB=File.open(LangNameFile,"w") #deletes and opens a the file in fileName
160
+ fileLangB.write($tempdoc) #writes the contents of doc into the file
161
+ fileLangB.close
162
+ load LangNameFile # load the file
163
+
164
+ $tempdoc = " "
165
+
166
+ # build the actual program from the code parts
167
+ #get a list of the files and subdirectories on the starting directory only
168
+ a = Array.new(Dir[@@codedir].entries.sort)
169
+ #loop through the list, ignore the files and add all new directories found
170
+ a.each do |x|
171
+ #if a directory...
172
+ if(test(?d,x))
173
+ # add to the original list of directories
174
+ @@root = x + "/**"
175
+ #adds the new ones to the array
176
+ b = Dir[@@root].entries.sort
177
+ b.each do |x|
178
+ if(test(?d,x))
179
+ a.push(x) #appends to the end of the array...
180
+ end
181
+ end
182
+ end
183
+ end
184
+ a.each do |x|
185
+ #if it is a file...
186
+ if(!test(?d,x))
187
+ a.delete(x)
188
+ else #it is a directory...
189
+ findfiles(x + "/**")
190
+ end
191
+ end
192
+
193
+ fileB=File.open(CodeNameFile,"w") #deletes and opens a the file in fileName
194
+ fileB.write($tempdoc) #writes the contents of doc into the file
195
+ fileB.close
196
+ require CodeName # load the program file
197
+
198
+ # build the actual GUI from the gui parts
199
+ $tempdoc = " "
200
+ #get a list of the files and subdirectories on the starting directory only
201
+ a = Array.new(Dir[@@guidir].entries.sort)
202
+ #loop through the list, ignore the files and add all new directories found
203
+ a.each do |x|
204
+ #if a directory...
205
+ if(test(?d,x))
206
+ #use this new dir find to add to the original list of directories
207
+ @@root = x + "/**"
208
+ #adds the new ones to the array
209
+ b = Dir[@@root].entries.sort
210
+ b.each do |x|
211
+ if(test(?d,x))
212
+ a.push(x) #appends to the end of the array...
213
+ end
214
+ end
215
+ end
216
+ end
217
+ a.each do |x|
218
+ #if it is a file...
219
+ if(!test(?d,x))
220
+ a.delete(x)
221
+
222
+ else #it is a directory...
223
+ loadguifile(x + "/**")
224
+ end
225
+ end
226
+
227
+ fileB=File.open(RWDFile,"w") #deletes and opens a the file in fileName
228
+ fileB.write($tempdoc) #writes the contents of doc into the file
229
+ fileB.close
230
+
231
+
232
+
233
+ RwdTinker.file(RWDFile).serve($port) # start the main class and program
@@ -0,0 +1,9 @@
1
+ # rubyslippers - applet front end for RubyGems - separate panel version
2
+ code/ii6rubyslippers
3
+ configuration/rubyslippers.cnf
4
+ gui/ui3rubyslippers
5
+ gui/ii6rubyslippers
6
+ gui/yi2rubyslippers
7
+ rwd_files/HowTo_RubySlippers.txt
8
+ rwd_files/remotegemlist.txt
9
+ rwd_files/GemDocuments.html
@@ -0,0 +1,8 @@
1
+ # rwdcalendar - simple little monthly calendar
2
+ code/gh9calendar
3
+ gui/rwdcalendar
4
+ extras/cal.rb
5
+ lang/en/rwdcalendar/calendar-en.rb
6
+ lang/es/rwdcalendar/calendar-es.rb
7
+ lang/nl/rwdcalendar/calendar-nl/rb
8
+ configuration/gh1rwdcalendar.cnf
@@ -0,0 +1,9 @@
1
+ # rwdmovies - applet to keep a movie database
2
+ code/eo1rwdmovies
3
+ configuration/eo1rwdmovies.cnf
4
+ gui/en/ee1rwdmovies
5
+ gui/en/uv7rwdmovies
6
+ gui/en/xx8rwdmoviespicture
7
+ movies/nophoto.jpg
8
+ rwd_files/HowTo_Movies.html
9
+ rwd_files/moviestmp.jpg
@@ -0,0 +1,8 @@
1
+ # rwdmovies - sample movie data (set 1)
2
+ movies/1941.jpg
3
+ movies/1941.nam
4
+ movies/Last Of The Mohicans.nam
5
+ movies/Last Of The Mohicans.jpg
6
+ movies/Under Siege.nam
7
+ movies/Zulu.jpg
8
+ movies/Zulu.nam
@@ -0,0 +1,8 @@
1
+ # rwdwin2 - rwd applet in second window - core for Tinker: Applet adding/removing and Diagnostic tab
2
+ configuration/ab1tinkerwin2.cnf
3
+ code/xb1rwdtinkerbackwindow
4
+ gui/ll5rwdtinkerwin2selectiontab
5
+ gui/xb1rwdtinkerbackwindow
6
+ gui/uu6rwdtinkerwin2documents
7
+ gui/yg6rwdwin2helpabout
8
+ rwd_files/HowTo_TinkerWin2.txt
@@ -0,0 +1,4 @@
1
+
2
+
3
+ Message = Hash.new { |hh, kk| hh[kk] = "ERROR: Identificador de mensaje desconocido: #{kk.inspect}."; hh[kk] }
4
+ langmessage = {
@@ -0,0 +1,6 @@
1
+ # Lang file for rwdclandar - nl
2
+
3
+ :year => "Jaar:",
4
+ :month => "Maand:",
5
+
6
+
@@ -0,0 +1,16 @@
1
+ # English Language files for RwdTinker core
2
+
3
+
4
+ :applet_installed => "applet installed!.",
5
+ :clickfor_version => '"click for version"',
6
+ :documents => '"Documents"',
7
+ :help => '"Help"',
8
+ :module_unknown => "Module unknown",
9
+ :next => '"Next"',
10
+ :rwdtinker_window_2 => "RwdTinker Window 2",
11
+ :rwdtinker => "RwdTinker",
12
+ :rwdtinker_help_window => '"RwdTinker Help Window"',
13
+ :rwdtinker_back_window => '"RwdTinker Back Window"',
14
+ :rwdtinker_help => '"RwdTinker Help"',
15
+ :tinker_logo => "Tinker Logo",
16
+ :selection_panel => '"Selection Panel"',
@@ -0,0 +1,6 @@
1
+ # Lang file for rwdclandar - nl
2
+
3
+ :year => "Jaar:",
4
+ :month => "Maand:",
5
+
6
+
@@ -0,0 +1,14 @@
1
+ :applet_installed => "applet instalado! ",
2
+ :clickfor_version => '"click para version"',
3
+ :documents => '"Documentos"',
4
+ :help => '"Ayuda"',
5
+ :module_unknown => "Module desconocido.",
6
+ :next => '"Siguiente"',
7
+ :rwdtinker => "RwdTinker",
8
+ :rwdtinker_help_window => '"RwdTinker Ventana Ayuda"',
9
+ :rwdtinker_help => '"RwdTinker Ayuda"',
10
+ :rwdtinker_window_2 => "RwdTinker Ventana 2",
11
+ :rwdtinker_back_window => '"RwdTinker Ventana Trasera"',
12
+ :tinker_logo => "Insignia de Tinker",
13
+ :selection_panel => '"Selecci�n Panel"',
14
+
@@ -0,0 +1,4 @@
1
+ # The encoding for the webpages. This should match the encoding used
2
+ # to create these messages.
3
+
4
+
@@ -0,0 +1,6 @@
1
+ # Lang file for rwdclandar - nl
2
+
3
+ :year => "Jaar:",
4
+ :month => "Maand:" ,
5
+
6
+
@@ -0,0 +1,4 @@
1
+ :module_unknown => "Module unknown",
2
+ :applet_installed => "applet installed!",
3
+
4
+
@@ -0,0 +1,22 @@
1
+ # Lang file for rwdclandar - nl
2
+
3
+ :year => "Jaar:",
4
+ :month => "Maand:",
5
+
6
+
7
+ # English Language files for RwdTinker core
8
+
9
+
10
+ :applet_installed => "applet installed!.",
11
+ :clickfor_version => '"click for version"',
12
+ :documents => '"Documents"',
13
+ :help => '"Help"',
14
+ :module_unknown => "Module unknown",
15
+ :next => '"Next"',
16
+ :rwdtinker_window_2 => "RwdTinker Window 2",
17
+ :rwdtinker => "RwdTinker",
18
+ :rwdtinker_help_window => '"RwdTinker Help Window"',
19
+ :rwdtinker_back_window => '"RwdTinker Back Window"',
20
+ :rwdtinker_help => '"RwdTinker Help"',
21
+ :tinker_logo => "Tinker Logo",
22
+ :selection_panel => '"Selection Panel"',
@@ -0,0 +1,6 @@
1
+
2
+ }
3
+ langmessage.each { |kk, vv| Message[kk] = vv }
4
+
5
+
6
+
@@ -0,0 +1,5 @@
1
+
2
+ Message.update(
3
+
4
+
5
+
@@ -0,0 +1,10 @@
1
+ # Lang file for rwdclandar - nl
2
+
3
+ :year => "Jaar:",
4
+ :month => "Maand:" ,
5
+
6
+
7
+ :module_unknown => "Module unknown",
8
+ :applet_installed => "applet installed!",
9
+
10
+
@@ -0,0 +1,2 @@
1
+ :rwdtinker => "RwdTinker"
2
+ )
data/lib/temp.rb ADDED
@@ -0,0 +1 @@
1
+ # this file does nothing
Binary file
@@ -0,0 +1,8 @@
1
+ Cold Mountain
2
+ Anthony Minghella
3
+ Jude Law, Nicole Kidman, Ren�e Zellweger
4
+ 2003
5
+
6
+
7
+
8
+
Binary file
@@ -0,0 +1,9 @@
1
+ itle: The Last of the Mohicans
2
+ Michael Mann
3
+ - Daniel Day-Lewis Madeleine Stowe
4
+ 1992
5
+ Twentieth Century Fox
6
+
7
+ edition: DVD
8
+ publisher: 1992 Michael Mann Twentieth Century Fox
9
+ rating: 3
data/movies/Zulu.jpg ADDED
Binary file
data/movies/Zulu.nam ADDED
@@ -0,0 +1,8 @@
1
+ Zulu
2
+ Cy Endfield
3
+ - Stanley Baker Jack Hawkins
4
+ edition: DVD
5
+ isbn: '5'
6
+ notes:
7
+ publisher: 1964 Metro-Goldwyn-Mayer
8
+ rating: 3
Binary file
@@ -0,0 +1,72 @@
1
+ = rwdmovies - for rwdtinker and RubyWebDialogs
2
+
3
+ rwdmovies is meant to be used to keep track of your DVD and VHS collection.
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
+ Install rwdtinker<br>
10
+ unzip this applet in the directory where you put rwdtinker
11
+
12
+ Start the program by typing<br>
13
+ ruby init.rb
14
+
15
+ Then point your web browser to:<br>
16
+ http://localhost:7701/
17
+
18
+ The rwdtinker framework is used by:<br>
19
+
20
+ Spliting the source code and the gui code into atomic parts and use init.rb to merge the parts together.
21
+ With the framework, we are able to ship a "plugin" or as I calling them "applet" that can be dropped into a directory and installed automatically. Also uninstalled. I am calling this framework Tinker, so the core program I call rwdtinker. My wife, Charlotte. suggested the name. It relates to the the "Tinker Toys" that has blocks and dowls and shapes that can be assembled by children and take different shapes. Without the word toy, it reminds us if the older English meaning of "a person who repairs pots and household devices by soldering and hammering.
22
+ The delivered applet is setup in the required directory structure with code configueration gui including help files location of documentation rwd_files = where documention for the applet can go. installed = a inf file that lists the manifest of files
23
+ This package is zipped up and uploaded as a file like rwdashedule-0.2.zip
24
+ The enduser who has the rwdtinker program drops the zip file into a directory called zips. I have parts of rwdtinker now (for Linux) that can install it automatically and remove it (based on the .inf file)
25
+
26
+ Requirements:
27
+ RubyWebDialogs - I am using 0.1.1 2004-12-5
28
+
29
+ Ruby I am using version 1.8.2
30
+
31
+
32
+ I have tested this under Linux-Debian kernel 2.6.9
33
+
34
+ PROBLEMS:
35
+ you should consult what beginning 3 characters for you files.
36
+
37
+
38
+ don't type in the extension .sch
39
+
40
+ 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.
41
+
42
+ Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
43
+
44
+ Steven Gibson
45
+ steven@superant.com
46
+
47
+
48
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
49
+
50
+ == Changelog
51
+
52
+ version 0.6
53
+ updated for rwdtinker version 1.4
54
+ added configuration screen
55
+ added rename movie filename
56
+ added delete movie record
57
+ added edit movie record
58
+ added attach picture
59
+
60
+ version 0.5
61
+ changed directory structure for rwdtinker 0.9 and later
62
+ added conf file for movie record directory location
63
+ split inf file for sample data
64
+ added nophoto.jpg and code to handle no jpg found
65
+ improved name selection on the main screen
66
+
67
+ version 0.4
68
+ Deleted Amazon search. Converted to be an
69
+ applet drop in for rwdtinker
70
+
71
+
72
+