rwdmpd 0.06

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. data/Readme.txt +475 -0
  2. data/bin/rwdmpd +19 -0
  3. data/code/01rwdcore/01rwdcore.rb +29 -0
  4. data/code/01rwdcore/02helptexthashbegin.rb +4 -0
  5. data/code/01rwdcore/03helptexthash.rb +23 -0
  6. data/code/01rwdcore/04helptextend.rb +6 -0
  7. data/code/01rwdcore/jumplinkcommand.rb +26 -0
  8. data/code/01rwdcore/openhelpwindow.rb +31 -0
  9. data/code/01rwdcore/returntomain.rb +10 -0
  10. data/code/01rwdcore/rundocuments.rb +10 -0
  11. data/code/01rwdcore/runeditconfiguration.rb +10 -0
  12. data/code/01rwdcore/runhelpabout.rb +10 -0
  13. data/code/01rwdcore/runopentinkerdocument.rb +7 -0
  14. data/code/01rwdcore/rwdtinkerversion.rb +22 -0
  15. data/code/01rwdcore/rwdwindowreturn.rb +9 -0
  16. data/code/01rwdcore/selectiontab.rb +9 -0
  17. data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
  18. data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
  19. data/code/01rwdcore/test_cases.rb +109 -0
  20. data/code/01rwdcore/test_harness.rb +13 -0
  21. data/code/01rwdcore/uploadreturns.rb +62 -0
  22. data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
  23. data/code/superant.com.rwdmp3/0uninstallapplet.rb +11 -0
  24. data/code/superant.com.rwdmp3/clearscreendisplay.rb +7 -0
  25. data/code/superant.com.rwdmp3/controlmpd.rb +139 -0
  26. data/code/superant.com.rwdmp3/helptexthashrwdmp3.rb +41 -0
  27. data/code/superant.com.rwdmp3/listplaylistfiles.rb +12 -0
  28. data/code/superant.com.rwdmp3/loadconfigurationrecord.rb +22 -0
  29. data/code/superant.com.rwdmp3/loadconfigurationvariables.rb +13 -0
  30. data/code/superant.com.rwdmp3/loadplaylistrecord.rb +19 -0
  31. data/code/superant.com.rwdmp3/mpd_client.rb +41 -0
  32. data/code/superant.com.rwdmp3/mpd_seek.rb +23 -0
  33. data/code/superant.com.rwdmp3/openhelpwindowrwdmp3.rb +25 -0
  34. data/code/superant.com.rwdmp3/runrwdmpdwindow.rb +10 -0
  35. data/code/superant.com.rwdmp3/rwdtinkerversion.rb +10 -0
  36. data/code/superant.com.rwdmp3/saveconfigurationrecord.rb +19 -0
  37. data/code/superant.com.rwdmp3/saveplaylistrecord.rb +18 -0
  38. data/code/superant.com.rwdmp3/startmp3server.rb +16 -0
  39. data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
  40. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +61 -0
  41. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +240 -0
  42. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +34 -0
  43. data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +20 -0
  44. data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
  45. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +53 -0
  46. data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +12 -0
  47. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +33 -0
  48. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +22 -0
  49. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -0
  50. data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
  51. data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +19 -0
  52. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +38 -0
  53. data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
  54. data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +46 -0
  55. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
  56. data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
  57. data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +15 -0
  58. data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
  59. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +19 -0
  60. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +22 -0
  61. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +24 -0
  62. data/code/zz0applicationend/zz0end.rb +4 -0
  63. data/configuration/language.dist +8 -0
  64. data/configuration/rwdapplicationidentity.dist +3 -0
  65. data/configuration/rwdtinker.dist +15 -0
  66. data/configuration/rwdwmpd-0.06.dist +14 -0
  67. data/configuration/tinkerwin2variables.dist +18 -0
  68. data/gui/00coreguibegin/applicationguitop.rwd +4 -0
  69. data/gui/frontwindow0/cc0openphoto.rwd +22 -0
  70. data/gui/frontwindowselections/00selectiontabbegin.rwd +11 -0
  71. data/gui/frontwindowselections/jumplinkcommands.rwd +15 -0
  72. data/gui/frontwindowselections/wwselectionend.rwd +3 -0
  73. data/gui/frontwindowtdocuments/00documentbegin.rwd +6 -0
  74. data/gui/frontwindowtdocuments/tinkerdocuments.rwd +14 -0
  75. data/gui/frontwindowtdocuments/zzdocumentend.rwd +8 -0
  76. data/gui/helpaboutbegin/zzzrwdlasttab.rwd +6 -0
  77. data/gui/helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
  78. data/gui/helpaboutbegin/zzzzzzhelpabouttab.rwd +15 -0
  79. data/gui/helpaboutzend/helpscreenend.rwd +3 -0
  80. data/gui/helpaboutzend/zhelpscreenstart2.rwd +3 -0
  81. data/gui/helpaboutzend/zzzzhelpabout2.rwd +15 -0
  82. data/gui/helpaboutzend/zzzzhelpscreen2end.rwd +3 -0
  83. data/gui/tinkerbackwindows/superant.com.rwdmp3/10appletbegin.rwd +4 -0
  84. data/gui/tinkerbackwindows/superant.com.rwdmp3/20rwdmpd.rwd +37 -0
  85. data/gui/tinkerbackwindows/superant.com.rwdmp3/25rwdseek.rwd +23 -0
  86. data/gui/tinkerbackwindows/superant.com.rwdmp3/30editplaylist.rwd +27 -0
  87. data/gui/tinkerbackwindows/superant.com.rwdmp3/88viewconfiguration.rwd +32 -0
  88. data/gui/tinkerbackwindows/superant.com.rwdmp3/89rwddiagnostics.rwd +26 -0
  89. data/gui/tinkerbackwindows/superant.com.rwdmp3/90jumplinkcommands.rwd +17 -0
  90. data/gui/tinkerbackwindows/superant.com.rwdmp3/9end.rwd +6 -0
  91. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
  92. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +41 -0
  93. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
  94. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
  95. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +30 -0
  96. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
  97. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
  98. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
  99. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
  100. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +4 -0
  101. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -0
  102. data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
  103. data/gui/zzcoreguiend/yy9rwdend.rwd +4 -0
  104. data/init.rb +277 -0
  105. data/installed/mpdmusicdata2.inf +2 -0
  106. data/installed/rwdwmpd-0.06.inf +10 -0
  107. data/installed/temp.rb +1 -0
  108. data/lang/en/rwdcore/languagefile.rb +58 -0
  109. data/lang/es/rwdcore/languagefile-es.rb +62 -0
  110. data/lang/fr/rwdcore/languagefile.rb +64 -0
  111. data/lang/jp/rwdcore/languagefile.rb +72 -0
  112. data/lang/nl/rwdcore/languagefile.rb +75 -0
  113. data/lib/librmpd.rb +1152 -0
  114. data/lib/mpdserver.rb +1204 -0
  115. data/lib/rconftool.rb +387 -0
  116. data/lib/rwd/browser.rb +123 -0
  117. data/lib/rwd/ftools.rb +174 -0
  118. data/lib/rwd/mime.rb +328 -0
  119. data/lib/rwd/net.rb +876 -0
  120. data/lib/rwd/ruby.rb +889 -0
  121. data/lib/rwd/rwd.rb +1422 -0
  122. data/lib/rwd/sgml.rb +236 -0
  123. data/lib/rwd/thread.rb +63 -0
  124. data/lib/rwd/tree.rb +371 -0
  125. data/lib/rwd/xml.rb +101 -0
  126. data/lib/rwdthemes/default.rwd +317 -0
  127. data/lib/rwdthemes/pda.rwd +72 -0
  128. data/lib/rwdthemes/windowslike.rwd +171 -0
  129. data/lib/zip/ioextras.rb +114 -0
  130. data/lib/zip/stdrubyext.rb +111 -0
  131. data/lib/zip/tempfile_bugfixed.rb +195 -0
  132. data/lib/zip/zip.rb +1378 -0
  133. data/lib/zip/zipfilesystem.rb +558 -0
  134. data/lib/zip/ziprequire.rb +61 -0
  135. data/music/classicalmues.mp3 +0 -0
  136. data/rwd_files/HowTo_Mpd.txt +136 -0
  137. data/rwd_files/HowTo_Tinker.txt +482 -0
  138. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  139. data/rwd_files/Readme.txt +57 -0
  140. data/rwd_files/RubyWebDialogs.html +6 -0
  141. data/rwd_files/favicon.ico +0 -0
  142. data/rwd_files/rdoc-style.css +175 -0
  143. data/rwd_files/rwdapplications.html +54 -0
  144. data/rwd_files/tinker.png +0 -0
  145. data/rwdconfig.dist +22 -0
  146. data/rwdmpd.rb +1 -0
  147. data/tests/RubyGauge.rb +179 -0
  148. data/tests/checkdepends.sh +4 -0
  149. data/tests/cleancnf.sh +6 -0
  150. data/tests/makedist-rwdwmpd.rb +58 -0
  151. data/tests/makedist.rb +66 -0
  152. data/tests/rdep.rb +354 -0
  153. data/tests/totranslate.lang +93 -0
  154. data/zips/rwdwaddresses-1.06.zip +0 -0
  155. data/zips/rwdwcalc-0.62.zip +0 -0
  156. data/zips/rwdwfoldeditor-0.04.zip +0 -0
  157. data/zips/rwdwgutenberg-0.09.zip +0 -0
  158. data/zips/rwdwmpd-0.06.zip +0 -0
  159. data/zips/rwdwruby-1.07.zip +0 -0
  160. data/zips/temp.rb +1 -0
  161. data/zips/tinkerbellw-0.02.zip +0 -0
  162. data/zips/wrubyslippers-1.06.zip +0 -0
  163. metadata +220 -0
@@ -0,0 +1,61 @@
1
+ require 'zip/zip'
2
+
3
+ class ZipList
4
+ def initialize(zipFileList)
5
+ @zipFileList = zipFileList
6
+ end
7
+
8
+ def get_input_stream(entry, &aProc)
9
+ @zipFileList.each {
10
+ |zfName|
11
+ Zip::ZipFile.open(zfName) {
12
+ |zf|
13
+ begin
14
+ return zf.get_input_stream(entry, &aProc)
15
+ rescue Errno::ENOENT
16
+ end
17
+ }
18
+ }
19
+ raise Errno::ENOENT,
20
+ "No matching entry found in zip files '#{@zipFileList.join(', ')}' "+
21
+ " for '#{entry}'"
22
+ end
23
+ end
24
+
25
+
26
+ module Kernel
27
+ alias :oldRequire :require
28
+
29
+ def require(moduleName)
30
+ zip_require(moduleName) || oldRequire(moduleName)
31
+ end
32
+
33
+ def zip_require(moduleName)
34
+ return false if already_loaded?(moduleName)
35
+ get_resource(ensure_rb_extension(moduleName)) {
36
+ |zis|
37
+ eval(zis.read); $" << moduleName
38
+ }
39
+ return true
40
+ rescue Errno::ENOENT => ex
41
+ return false
42
+ end
43
+
44
+ def get_resource(resourceName, &aProc)
45
+ zl = ZipList.new($:.grep(/\.zip$/))
46
+ zl.get_input_stream(resourceName, &aProc)
47
+ end
48
+
49
+ def already_loaded?(moduleName)
50
+ moduleRE = Regexp.new("^"+moduleName+"(\.rb|\.so|\.dll|\.o)?$")
51
+ $".detect { |e| e =~ moduleRE } != nil
52
+ end
53
+
54
+ def ensure_rb_extension(aString)
55
+ aString.sub(/(\.rb)?$/i, ".rb")
56
+ end
57
+ end
58
+
59
+ # Copyright (C) 2002 Thomas Sondergaard
60
+ # rubyzip is free software; you can redistribute it and/or
61
+ # modify it under the terms of the ruby license.
Binary file
@@ -0,0 +1,136 @@
1
+ = rwdmpd - for rwdtinker and RubyWebDialogs
2
+
3
+ rwdmpd is meant to be used to pLay your mp3, ogg collection.
4
+
5
+ The GUI interface used is RubyWebDialogs
6
+
7
+ RubyWebDialogs is a platform independent graphical user interface for Ruby applications.
8
+ It generates HTML and serves it with an internal HTTP server, so you can use your favorite
9
+ web browser as the front end for your Ruby application. All this means, that it can be
10
+ used on almost every platform, like Ruby itself. Thanks to http://www.erikveen.dds.nl/rubywebdialogs/
11
+
12
+ Install rwdtinker<br>
13
+ unzip this applet in the directory where you put rwdtinker
14
+
15
+ Start the program by typing<br>
16
+ ruby init.rb
17
+
18
+ Then point your web browser to:<br>
19
+ http://localhost:7701/
20
+
21
+ = RwdMPD Program information
22
+
23
+ This program uses the files from the libmpd project
24
+ You can play mp3, ogg, flac files with this program
25
+
26
+ You need mpd installed",
27
+
28
+ You will need mpd installed: http://www.musicpd.org/
29
+
30
+ Commands Available:
31
+ next
32
+ pause
33
+ play
34
+ prev
35
+ stop
36
+ stats
37
+
38
+ == rwdmpd tabs
39
+
40
+ MPD audio Playing
41
+
42
+ MPD commands
43
+
44
+ Edit PlayLists
45
+
46
+ Rwdmpd Configuration
47
+
48
+ Diagnostic Tab
49
+
50
+ == RwdMPD Commands
51
+
52
+ Commands Available:
53
+ (use | to divide arguments)<p>
54
+ albums
55
+ artists
56
+ connected?
57
+ current_song
58
+ list (album,artist,title,file)
59
+ directories
60
+ files
61
+ playlists
62
+ songs
63
+ songs_by_artist
64
+ playlist_version
65
+ playlist
66
+ song_at_pos;(integer)
67
+
68
+ == MPD playlist editing
69
+
70
+ The $rwdmpdplaylist_directory needs to be set
71
+ on Debian Linux the default is "/var/lib/mpd/playlists/"
72
+ You can load and edit playlists
73
+ The song locations start from the MPD music directory
74
+
75
+ == RWD Framework
76
+
77
+ The rwdtinker framework is used by:<br>
78
+
79
+ Spliting the source code and the gui code into atomic parts and use init.rb to merge the parts together.
80
+ 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.
81
+ 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
82
+ This package is zipped up and uploaded as a file like rwdashedule-0.2.zip
83
+ 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)
84
+
85
+ Requirements:
86
+ RubyWebDialogs -
87
+
88
+ Ruby I am using version 1.8.2
89
+
90
+
91
+ I have tested this under Linux-Debian kernel 2.6.9
92
+
93
+ PROBLEMS:
94
+ you should consult what beginning 3 characters for you files.
95
+
96
+
97
+ don't type in the extension .sch
98
+
99
+ 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.
100
+
101
+ Steven Gibson
102
+ smalllinux@gmail.com
103
+
104
+ http://rwdapplications.rubyforge.org/
105
+
106
+ == Changelog
107
+ version 0.06
108
+ added free-form entry MPD commands
109
+ playlist editing
110
+
111
+ version 0.05
112
+ added more choices
113
+
114
+ version 0.04
115
+ moved extra files to lib
116
+ fixed config fix
117
+
118
+ Version 0.03
119
+ switched to libmpd tge Ruby MPD library by Adrew Rader
120
+
121
+ version 0.02
122
+ add playlist editor
123
+ added version - helpabout
124
+ added context sensitive help
125
+ added configuration editor
126
+
127
+ version 0.01
128
+ first rough release
129
+ can start server
130
+ stop server
131
+
132
+
133
+
134
+
135
+
136
+
@@ -0,0 +1,482 @@
1
+ = RwdTinker framework for RubyWebDialogs
2
+
3
+ RwdTinker is a web brower interface to and system for developing programs
4
+
5
+ == Usage
6
+
7
+ How to Use the Tinker framework Program (rwdtinker)
8
+
9
+ 1. stand alone application
10
+ 2. framework for building applications
11
+ 3. Open brower windows with html documents
12
+
13
+ The GUI interface used is RubyWebDialogs
14
+
15
+
16
+ Start the program by typing
17
+ ruby init.rb
18
+
19
+ Then point your web browser to:
20
+ http://localhost:7705/
21
+
22
+ == Viewing installed Applets:
23
+
24
+ Go to "List Scripts" tab
25
+
26
+ You can get a list of all installed applets by clicking the listfiles button
27
+
28
+ To see the text of a install file
29
+ Type in the name of the file you want.
30
+
31
+ type it without the inf ending
32
+ rwdapplet-0.1
33
+
34
+ Then click the "View Installed File" button
35
+
36
+ If it finds the file it will open it. It displays the text the search box.
37
+
38
+ You can uninstall applets on this screen
39
+
40
+ == Installing Applets
41
+
42
+ click on the "Selection Panel"
43
+ click on Rwdtinker Back Window
44
+
45
+ You can download an applet created by someone else
46
+ put the file in the zips directory
47
+
48
+ click on the "list zips" tab
49
+ click on "list applets available for installing"
50
+
51
+ chose the applet you want
52
+ click on "install applet"
53
+ If all goes well the applet should be installed.
54
+ You will need to restart rwdtinker to see the new screens
55
+
56
+
57
+ == Changing configuration file
58
+
59
+ click on "Edit Configuration"
60
+ You can view the configuration file
61
+
62
+ You can edit the configuration
63
+
64
+ Remember to reload the configuration variables if you want your
65
+ changes used.
66
+
67
+ == Manually installing applets
68
+
69
+ * unzip an applet
70
+
71
+ unzip the applet into the program directoy
72
+ unzip randomapplet.zip
73
+
74
+ This should place the needed files in the correct directories
75
+
76
+
77
+ == Creating Applets
78
+
79
+ To add code, commands and gui tabs
80
+
81
+ Move program files into a directory under the code directory.
82
+ Move gui files into a directory under the gui directory.
83
+ The gui directory name you create is important, because the gui
84
+ rwd file is built in alpha order by directory name
85
+
86
+
87
+ There are two ways to add applets to the directories.
88
+
89
+ Creating code
90
+
91
+
92
+ * Manually write code and gui files
93
+
94
+ The files go into your code directory
95
+ the filenames for code do not matter
96
+
97
+ The gui files go into your gui directory
98
+ The gui files need to be in order by name and end with .rwd
99
+
100
+
101
+
102
+ If you need a config file that goes in the configuration directory
103
+
104
+ internationalization and localization are helped by replacing the
105
+ gui files in the subdirectories under gui
106
+
107
+
108
+ == Documents
109
+
110
+
111
+ when you click on a document name, the document should pop up in a
112
+ browser window, or in another browser tab.
113
+
114
+ To exit, press the x inside the browser window.
115
+
116
+ == To add context sensitive help
117
+
118
+ You need to add a hash file that just needs to contain
119
+ Helptext.update( :myapplet_generalhelp => " This is the general help
120
+ You can add help text hear")
121
+
122
+ And you need to add a help run script that will call runhelpwindow
123
+ This should have a method that includes:
124
+ setting $help_topic, and adds to $helptopicsarray, saves the calling window and calls runhelpwindow which will render the help message.
125
+
126
+ if @rwd_tab == "gemservescan"
127
+ $help_topic = "gemdocs_help"
128
+ end
129
+ $helptopicsarray = $helptopicsarray | ["rubyslippers_generalhelp", "Install_Gem","GemCommands_help", "gemfilesinstalled","gemdocs_help"]
130
+ if @rwd_window != "rwdtinkerhelpwindow"
131
+ $previouswindow = @rwd_window
132
+ $previoustab = @rwd_tab
133
+ end
134
+ runhelpwindow
135
+ end
136
+
137
+ == Languages
138
+
139
+
140
+ You can add tranlations in the lang subdirectory
141
+ You change the $lang constant in Tinker config file in the configuration directory
142
+ You can see one translation on the install applet tab, after you have installed and applet
143
+
144
+ == Using over a Network
145
+
146
+ To serve the application over your local LAN,change the last line in the
147
+ init.rb file to something like:
148
+ RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
149
+ Then you should be able to login at: http://yourhostname:8080
150
+
151
+ You have to authorize yourself. The .rwuids example is a string with
152
+ the name of the authorization file, relative to the home directory
153
+ of the user that started the service. This file has to be in the form of:
154
+
155
+ user1 = password
156
+ user2 = pass phrase
157
+
158
+ Thus the file .rwduids might contain:
159
+
160
+ erik = secret
161
+
162
+ == Requirements:
163
+ RubyWebDialogs - I am using 0.1.2
164
+ This package you downloaded should have a runtime version of
165
+ the needed rubywebdialog files
166
+
167
+ Ruby I am using version 1.8.2
168
+
169
+ I have tested this under Linux-Debian kernel 2.6.9
170
+
171
+ = Operation:
172
+ The code files reside in the code directory and are combined before
173
+ the main Class is loaded
174
+
175
+ The rwd files in gui are combined before the gui is activated
176
+
177
+ Translated text reside in the lang directory
178
+
179
+ == Installing:
180
+
181
+ untar the file
182
+ tar zxvf rwdtinker-x.y.tar.gz
183
+ then cd to the directory
184
+ cd rwdshell-x.y
185
+ then start the init.rb program file
186
+ ruby init.rb
187
+ Then point your browser at http://localhost:7705
188
+ or where it tells you.
189
+ Trouble shooting:
190
+
191
+ If the program is not working, try looking at the ev subdirectory. That is where
192
+ the runtime of rubywebdialogs are.
193
+
194
+ for long term installation, I would suggest putting most files in a lib directory
195
+ like /usr/lib/rwdshell
196
+ then make a writable directory the local directory for command files to be written
197
+ like ~/rwdshell
198
+
199
+
200
+ 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.
201
+
202
+ Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
203
+
204
+ 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/
205
+
206
+ == Credits
207
+
208
+ Thanks go to:
209
+
210
+ * Matz, for creating Ruby in the first place.
211
+ * Erik, for creating RubyWebDialogs.
212
+ * Charlotte, my wife for coming up for the name Tinker.
213
+
214
+ == License
215
+
216
+ rwdtinker is copyright (c) 2004 Steven Gibson. It is free software, and may be redistributed
217
+ under the terms of the GPL licence:
218
+
219
+ == Contact
220
+ For more information see:
221
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
222
+
223
+
224
+ For more information about RubyWebDialogs see:
225
+ http://www.erikveen.dds.nl/rubywebdialogs/index.html
226
+
227
+ Thanks, Steven Gibson
228
+
229
+ == Changelog
230
+ version 1.79
231
+ edited net.rb to fix text editing
232
+
233
+ version 1.78
234
+ modify config files
235
+ modify rconftools.rb to handle \r\n dos vs unix
236
+
237
+ Version 1.77
238
+ Fixed zips location to be relative or absolute
239
+ Made themes loadable
240
+
241
+ Version 1.76
242
+ Move rwd code files into lib directory - bug - 21886
243
+ change tab name list applets - bug - 21864
244
+ change extra folder to be lib folder - bug 21887
245
+ remove duplicate intall applet code - bug 21885
246
+ On Menu tab/Selection Tab - add help button - bug 21884
247
+ clean up directory structure in gui directory - bug 21882
248
+
249
+ Version 1.75
250
+ change rwd.rb to use UTF-8 for web pages
251
+ add language load for applets
252
+
253
+ Version 1.74
254
+ remove remote control from help
255
+ more dependable gui loading for applets
256
+
257
+ Version 1.73
258
+ more debug info in initiateapplet
259
+ remove gutenberg lang translations
260
+ correct gui building error recovery
261
+
262
+ Version 1.72
263
+ additional cleanup for live applet add and removal
264
+ after applet removal focus returns to proper tab
265
+ error messages are reduced unless $DEBUG=true
266
+
267
+ Version 1.70
268
+ major update to applet loading routines
269
+ a properly prepared applet should be loadable and unloadable live with not restarting
270
+ localization is not yet updated in live applet loading
271
+ remove network line debugging output
272
+
273
+ Version 1.69
274
+ More work on translations - Spanish almost done
275
+ removed remote control
276
+
277
+ Version 1.68
278
+ updated to newest Ruby webdialogs
279
+
280
+ Version 1.67
281
+ Add html for help
282
+
283
+ Version 1.66
284
+ Fixed directory layout
285
+ increased size of config edit screen
286
+
287
+ Version 1.65
288
+ Changed documents listing screen - now using hash
289
+ Changed helpabout screen - now using hash
290
+ added more lines for config edit
291
+ added help about to back window
292
+
293
+ Version 1.64
294
+ fixed jump with no location
295
+
296
+ Version 1.63
297
+ changed handling of application name returned
298
+ added jump seletion options
299
+ added some unit tests
300
+
301
+ version 1.62
302
+ improve distro release script
303
+ code cleanup
304
+ removed redundent network code
305
+ change handling of window and tab jumps
306
+
307
+ version 1.61
308
+ add in test harness
309
+ rwdtinkerwin2 help about removed
310
+ load main config file in init.rb
311
+
312
+ version 1.60
313
+ add rwdapplication info to diagnostic
314
+ turn rescue on in diagnostic upload
315
+
316
+ version 1.59
317
+ removed rwdtinkerwin2 inf file
318
+ refactored diagnotic page - one button to see all information
319
+ added bug report upload to diagnostic page
320
+
321
+ version 1.58
322
+ check for zlib
323
+ check for files to delete
324
+
325
+ version 1.57
326
+ added rconftool use to update configuration files
327
+ changed applets remove to not used external rm
328
+
329
+ version 1.56
330
+ refactored gui files to load without intermediate files
331
+ refactored code files to load without intermediate files
332
+
333
+ version 1.55
334
+ refactored language files to load without intermediate files
335
+ refactored language files to load without intermediate files
336
+
337
+ version 1.54
338
+ refactored rwdtinker applet installation tab - remote gem and local installs share menu buttons
339
+ corrected some program logic errors in remote control code including close socket
340
+
341
+ version 1.53
342
+ added search of Gems repository for rwdtinker gems
343
+ download and install of Gems
344
+
345
+ version 1.52
346
+ added function to install applets from gem directory
347
+
348
+ version 1.51
349
+ changed return to main
350
+ changed configuration of remote ports
351
+ updated context sensitive help
352
+
353
+ version 1.50
354
+ changed unzip applet to be internal code - no exec to unzip program
355
+ changed order of tabs on back window - list applets now first
356
+ added rwdwcalc applet in to zips directory
357
+ changed width of text fields with help from RubyWebDialogs author
358
+ changed listing of help options, vertical instead of horizontal
359
+
360
+ version 1.49
361
+ added demon function for remote queries
362
+ startup application on first available port
363
+
364
+ version 1.48
365
+ fix in context sensitive help so that applets can use it better
366
+
367
+ version 1.47
368
+ change to context sensitive help
369
+
370
+ version 1.46
371
+ more work on context help
372
+ window calls point to tab as well as windows
373
+ help added help buttons on Document, Selection, View Applet, tabs
374
+
375
+ version 1.45
376
+ first steps toward context sensitive help
377
+ added help button on main window/tab
378
+
379
+ version 1.44
380
+ updated directory structure - refactored gui files
381
+ Changed gui directory names - more like Java package titles
382
+
383
+ version 1.43
384
+ changed setup variables file for live changes
385
+ added editing and reloading of config file
386
+ added unzip filename to config file
387
+
388
+ version 1.42
389
+ update for live update system
390
+ update applets for live update
391
+ code file name cleanup
392
+
393
+ version 1.41
394
+ l10n work es,nl, jp
395
+ separated out languge.cnf
396
+ added zip applets refreshacpi, rwdcalc
397
+
398
+ version 1.40
399
+ removed extra lines from init.rb
400
+ fixed help second window
401
+ added some tranlations for Spanish
402
+ More work on l10n
403
+
404
+ version 1.3
405
+ refactored gui files to do easier i10n
406
+ removed lang directories under gui
407
+ added lang files under lang dir
408
+ removed redundant code files left from moving applet handling to back window
409
+ removed zipped applets not yet refactored
410
+
411
+ version 1.24
412
+ added internet usage instructions to HowTo_Tinker.txt
413
+ removed HowTo_Tinker.html
414
+ added panels for Helpabout
415
+ changed photo logo tab to only have embedded picture, no button
416
+
417
+ version 1.23
418
+ moving diagnostic tab and applet handling tabs to second window
419
+ added selection panel tab to choose secondary windows.
420
+
421
+ version 1.21
422
+ changing version on help screen to be button
423
+ added version window
424
+ added diagnostic tab
425
+
426
+ version 1.2
427
+ added gemspec for creating a rwdtinker.gem
428
+ added rdoc comments
429
+ changed order on remove applets tab
430
+
431
+ version 1.1
432
+ changed order of elements on install applet tab
433
+ Add more i81n ablility - added lang directorys for language hash files
434
+ added in test file using WATIR stands for "Web Application Testing In Ruby,
435
+
436
+ version 1.0
437
+ Improved name selection in zips and applet screens
438
+ added rubyslippers applet and rwdrefreshacpi applets as zips
439
+
440
+ version 0.9
441
+ Fixed bug introduced in 0.8 - code files not sorted correctly - class end was not in correct location
442
+ updated RubyWebDialogs for people who do not have it installed
443
+ added rwdschedule applet as zip file
444
+
445
+ version 0.8
446
+ changed location of code files
447
+ only directory of code files needs to be added to inf file
448
+ changed location of gui files
449
+ only directory of gui files needs to be added to inf file
450
+ Added constants in conf file for code location and gui location
451
+ removed all zips not yt updated to new directory layout
452
+ change loading of conf files to not need intermediate file
453
+ and favicon.ico
454
+
455
+ version 0.7
456
+ moved changelog to HowTo_Tinker.html
457
+ copied english gui text to the dirs I think we should translate to
458
+ update backup zip files to newest versions
459
+ upgraded the ev directory - for those who don't have RubyWebDialogs
460
+
461
+ version 0.6
462
+ updated version number
463
+ changed merge name to rwdtinker.rb
464
+
465
+ version 0.4
466
+ added zip listing and installing - Linux only
467
+
468
+ Version 0,3
469
+ changed name to Tinker
470
+
471
+ Version 0.2
472
+ added some i18n directories for the gui files
473
+
474
+ Version 0.1
475
+ first public version released
476
+ includes document screen
477
+ Open Photo screen
478
+ included configuration directory
479
+ zips directories
480
+ installed directory
481
+ installed applet lister
482
+