rwdhypernote 0.03

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. data/Notes/changes.lnk +1 -0
  2. data/Notes/changes.txt +1 -0
  3. data/Notes/hypernote/hypernote01.txt +1 -0
  4. data/Notes/hypernote/hypernote02.txt +1 -0
  5. data/Notes/hypernote/newnote3.txt +2 -0
  6. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +1 -0
  7. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.txt +11 -0
  8. data/Notes/rwdtinker/newnote.txt +1 -0
  9. data/Notes/rwdtinker/rwdtinker01.txt +9 -0
  10. data/Notes/rwdtinker/testnote2.txt +1 -0
  11. data/Readme.txt +97 -0
  12. data/bin/rwdhypernote +19 -0
  13. data/code/01rwdcore/01rwdcore.rb +20 -0
  14. data/code/01rwdcore/02helptexthashbegin.rb +4 -0
  15. data/code/01rwdcore/03helptexthash.rb +31 -0
  16. data/code/01rwdcore/04helptextend.rb +6 -0
  17. data/code/01rwdcore/openhelpwindow.rb +31 -0
  18. data/code/01rwdcore/returntomain.rb +10 -0
  19. data/code/01rwdcore/rwdtinkerversion.rb +15 -0
  20. data/code/01rwdcore/rwdwindowreturn.rb +11 -0
  21. data/code/superant.com.hypernote/archiveevent.rb +14 -0
  22. data/code/superant.com.hypernote/changehypernotename.rb +21 -0
  23. data/code/superant.com.hypernote/clearhypernotescreendisplay.rb +8 -0
  24. data/code/superant.com.hypernote/clearlinkscreendisplay.rb +8 -0
  25. data/code/superant.com.hypernote/copyfilename.rb +10 -0
  26. data/code/superant.com.hypernote/createnewnote.rb +14 -0
  27. data/code/superant.com.hypernote/deletehypernoterecord.rb +20 -0
  28. data/code/superant.com.hypernote/helptexthashrwdhypernote.rb +60 -0
  29. data/code/superant.com.hypernote/hyperlinkcreatelinkfile.rb +19 -0
  30. data/code/superant.com.hypernote/listhypernotelinks.rb +52 -0
  31. data/code/superant.com.hypernote/listhypernotes.rb +55 -0
  32. data/code/superant.com.hypernote/listlinknotes.rb +33 -0
  33. data/code/superant.com.hypernote/loadconfigurationrecord.rb +34 -0
  34. data/code/superant.com.hypernote/loadconfigurationvariables.rb +13 -0
  35. data/code/superant.com.hypernote/loadlinksrecord.rb +21 -0
  36. data/code/superant.com.hypernote/loadnoterecord.rb +24 -0
  37. data/code/superant.com.hypernote/openhelpwindowrwdhyernote.rb +23 -0
  38. data/code/superant.com.hypernote/returntomain.rb +10 -0
  39. data/code/superant.com.hypernote/rwdhypernotehelpabout.rb +14 -0
  40. data/code/superant.com.hypernote/saveconfigurationrecord.rb +18 -0
  41. data/code/superant.com.hypernote/savehypernoterecord.rb +20 -0
  42. data/code/superant.com.hypernote/savelinkrecord.rb +23 -0
  43. data/code/superant.com.hypernote/viewrwdschedulesconfiguration.rb +21 -0
  44. data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +99 -0
  45. data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +21 -0
  46. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +58 -0
  47. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +22 -0
  48. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +20 -0
  49. data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +19 -0
  50. data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
  51. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +54 -0
  52. data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +11 -0
  53. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +31 -0
  54. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +32 -0
  55. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +13 -0
  56. data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
  57. data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +18 -0
  58. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +42 -0
  59. data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
  60. data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +28 -0
  61. data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +12 -0
  62. data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +14 -0
  63. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +18 -0
  64. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +21 -0
  65. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +21 -0
  66. data/code/zz0applicationend/zz0end.rb +4 -0
  67. data/configuration/language.cnf +5 -0
  68. data/configuration/rwdapplicationidentity.cnf +3 -0
  69. data/configuration/rwdhypernote.cnf +9 -0
  70. data/configuration/rwdhypernoteversion.cnf +3 -0
  71. data/configuration/rwdtinker.cnf +16 -0
  72. data/configuration/rwdtinkerversion.cnf +2 -0
  73. data/configuration/tinkerwin2variables.cnf +12 -0
  74. data/configuration/tinkerwin2version.cnf +3 -0
  75. data/ev/browser.rb +109 -0
  76. data/ev/ftools.rb +170 -0
  77. data/ev/net.rb +750 -0
  78. data/ev/ruby.rb +819 -0
  79. data/ev/rwd.rb +1849 -0
  80. data/ev/sgml.rb +236 -0
  81. data/ev/thread.rb +63 -0
  82. data/ev/tree.rb +343 -0
  83. data/ev/xml.rb +4 -0
  84. data/extras/zip/ioextras.rb +114 -0
  85. data/extras/zip/stdrubyext.rb +111 -0
  86. data/extras/zip/tempfile_bugfixed.rb +195 -0
  87. data/extras/zip/zip.rb +1376 -0
  88. data/extras/zip/zipfilesystem.rb +558 -0
  89. data/extras/zip/ziprequire.rb +61 -0
  90. data/gui/00coreguibegin/applicationguitop.rwd +4 -0
  91. data/gui/frontwindow0/superant.com.hypernote/10viewnote.rwd +32 -0
  92. data/gui/frontwindow0/superant.com.hypernote/20editlinks.rwd +34 -0
  93. data/gui/frontwindow0/superant.com.hypernote/30noteutilities.rwd +27 -0
  94. data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +16 -0
  95. data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +12 -0
  96. data/gui/frontwindowselectionzend/viewselectionzend/viewselectionend.rwd +3 -0
  97. data/gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd +6 -0
  98. data/gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd +15 -0
  99. data/gui/frontwindowtdocuments/superant.com.rwdhypernotedocument/rwdhypernotedocument.rwd +5 -0
  100. data/gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd +6 -0
  101. data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +12 -0
  102. data/gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd +6 -0
  103. data/gui/helpaboutbegin/superant.com.helpaboutbegin/ya0helpscreenstart.rwd +3 -0
  104. data/gui/helpaboutinstalled/superant.com.rwdhypernotehelpabout/1versionname.rwd +6 -0
  105. data/gui/helpaboutinstalled/superant.com.rwdhypernotehelpabout/5version.rwd +9 -0
  106. data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/1appname.rwd +4 -0
  107. data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/3copyright.rwd +3 -0
  108. data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/5version.rwd +10 -0
  109. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd +4 -0
  110. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd +3 -0
  111. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd +10 -0
  112. data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +3 -0
  113. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
  114. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +42 -0
  115. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
  116. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
  117. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +38 -0
  118. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +33 -0
  119. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +33 -0
  120. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +11 -0
  121. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
  122. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
  123. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +4 -0
  124. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -0
  125. data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +4 -0
  126. data/init.rb +269 -0
  127. data/lang/alanguagehashbegin.rb +4 -0
  128. data/lang/en/rwdcore/languagefile.rb +16 -0
  129. data/lang/es/rwdcore/languagefile-es.rb +14 -0
  130. data/lang/jp/rwdcore/languagefile.rb +9 -0
  131. data/lang/languagehash.rb +4 -0
  132. data/lang/nl/rwdcore/languagefile.rb +19 -0
  133. data/lang/templangfile.rb +16 -0
  134. data/lang/vlanguagehashend.rb +6 -0
  135. data/lang/wlocallangstart.rb +5 -0
  136. data/lang/xlocallangfile.rb +16 -0
  137. data/lang/zlocallangend.rb +2 -0
  138. data/lib/temp.rb +1 -0
  139. data/rwd_files/HowTo_HyperNote.txt +97 -0
  140. data/rwd_files/HowTo_Tinker.txt +375 -0
  141. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  142. data/rwd_files/Readme.txt +57 -0
  143. data/rwd_files/favicon.ico +0 -0
  144. data/rwd_files/rdoc-style.css +175 -0
  145. data/rwd_files/rwdapplications.html +54 -0
  146. data/rwd_files/rwdindex.html +6 -0
  147. data/rwd_files/tinker.png +0 -0
  148. data/zips/rwdahelloworld-0.5.zip +0 -0
  149. metadata +202 -0
@@ -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,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,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,9 @@
1
+ # Japanese Language files for RwdTinker core
2
+
3
+ :module_unknown => "Module unknown",
4
+ :applet_installed => "applet installed!.",
5
+ :clickfor_version => '"click for version"',
6
+ :rwdtinker_window_2 => "RwdTinker Window 2",
7
+ :rwdtinker => "RwdTinker",
8
+ :selection_panel => "せんた&#12367",
9
+ :documents => "オンラインマニュア&#12523",
@@ -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,19 @@
1
+ # English Language files for RwdTinker core
2
+
3
+ :cancel => '"Annuleren"',
4
+ :open => '"Openen"',
5
+ :save => '"Opslaan"',
6
+ :window => '"Venster"',
7
+ :applet_installed => '"Applet geinstalleerd"',
8
+ :clickfor_version => '"Klier hier voor de Versie"',
9
+ :documents => '"Documenten"',
10
+ :help => '"Help"',
11
+ :module_unknown => '"Module onbekend"',
12
+ :next => '"Volgende"',
13
+ :rwdtinker => '"RWDTinker"',
14
+ :rwdtinker_help_window => '"RWDTinker Help Venster"',
15
+ :rwdtinker_help => '"RWDTinker Help"',
16
+ :rwdtinker_window_2 => '"RWDTinker Venster 2"',
17
+ :rwdtinker_back_window => '"RwdTinker Back Venster"',
18
+ :tinker_logo => '"RWDTinker Logo"',
19
+ :selection_panel => '"Selectie Paneel"',
@@ -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
+
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,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,2 @@
1
+ :rwdtinker => "RwdTinker"
2
+ )
data/lib/temp.rb ADDED
@@ -0,0 +1 @@
1
+ # this file does nothing
@@ -0,0 +1,97 @@
1
+ = rwdhypernote - for rwdtinker and RubyWebDialogs
2
+
3
+ rwdhypernote is a little hierarchical notes editor
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
+ To exit, press the x inside the browser window.
17
+
18
+ == rwdhypernote
19
+
20
+ This program is a hierarchical notes editor
21
+ text notes can be entered and saved in a Notes directory
22
+
23
+ Notes can be saved in a hierarchical structure in directories
24
+ Links can be recorded connecting Notes -similar to wikiwiki
25
+
26
+ == Tabs
27
+
28
+ There are tabs to enter notes and links and edit configurations
29
+
30
+ View/Edit Note - to create a note or edit and existing note
31
+
32
+ View/Edit Links - to edit links
33
+
34
+ Note Utilities - to rename or delete notes
35
+
36
+ Edit Configuration - to change the configuration of rwdhypernote
37
+
38
+
39
+ == Using over a Network
40
+
41
+ To serve the application over your local LAN,change the last line in the
42
+ init.rb file to something like:
43
+ RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
44
+ Then you should be able to login at: http://yourhostname:8080
45
+
46
+ You have to authorize yourself. The .rwuids example is a string with
47
+ the name of the authorization file, relative to the home directory
48
+ of the user that started the service. This file has to be in the form of:
49
+
50
+ user1 = password
51
+ user2 = pass phrase
52
+
53
+ Thus the file .rwduids might contain:
54
+
55
+ erik = secret
56
+
57
+ == Requirements:
58
+ RubyWebDialogs - I am using 0.0.12
59
+ Ruby I am using version 1.8.2
60
+
61
+
62
+ I have tested this under Linux-Debian kernel 2.6.9
63
+
64
+ == PROBLEMS:
65
+
66
+ 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.
67
+
68
+ Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
69
+
70
+
71
+ == contacts
72
+ For more information see:
73
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
74
+
75
+
76
+ For more information about RubyWebDialogs see:
77
+ http://www.erikveen.dds.nl/rubywebdialogs/index.html
78
+
79
+
80
+ Steven Gibson
81
+ steven@superant.com
82
+
83
+ == Changelog
84
+ version 0.03
85
+ view and edit note
86
+ view and edit links
87
+ rename and delete files
88
+
89
+ version 0.02
90
+ updated for rwdtinker 1.54
91
+ adding internal links
92
+ beginning help
93
+ helpabout
94
+
95
+ version 0.01
96
+ First Release
97
+
@@ -0,0 +1,375 @@
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.54
231
+ refactored rwdtinker applet installation tab - remote gem and local installs share menu buttons
232
+ corrected some program logic errors in remote control code including close socket
233
+
234
+ version 1.53
235
+ added search of Gems repository for rwdtinker gems
236
+ download and install of Gems
237
+
238
+ version 1.52
239
+ added function to install applets from gem directory
240
+
241
+ version 1.51
242
+ changed return to main
243
+ changed configuration of remote ports
244
+ updated context sensitive help
245
+
246
+ version 1.50
247
+ changed unzip applet to be internal code - no exec to unzip program
248
+ changed order of tabs on back window - list applets now first
249
+ added rwdwcalc applet in to zips directory
250
+ changed width of text fields with help from RubyWebDialogs author
251
+ changed listing of help options, vertical instead of horizontal
252
+
253
+ version 1.49
254
+ added demon function for remote queries
255
+ startup application on first available port
256
+
257
+ version 1.48
258
+ fix in context sensitive help so that applets can use it better
259
+
260
+ version 1.47
261
+ change to context sensitive help
262
+
263
+ version 1.46
264
+ more work on context help
265
+ window calls point to tab as well as windows
266
+ help added help buttons on Document, Selection, View Applet, tabs
267
+
268
+ version 1.45
269
+ first steps toward context sensitive help
270
+ added help button on main window/tab
271
+
272
+ version 1.44
273
+ updated directory structure - refactored gui files
274
+ Changed gui directory names - more like Java package titles
275
+
276
+ version 1.43
277
+ changed setup variables file for live changes
278
+ added editing and reloading of config file
279
+ added unzip filename to config file
280
+
281
+ version 1.42
282
+ update for live update system
283
+ update applets for live update
284
+ code file name cleanup
285
+
286
+ version 1.41
287
+ l10n work es,nl, jp
288
+ separated out languge.cnf
289
+ added zip applets refreshacpi, rwdcalc
290
+
291
+ version 1.40
292
+ removed extra lines from init.rb
293
+ fixed help second window
294
+ added some tranlations for Spanish
295
+ More work on l10n
296
+
297
+ version 1.3
298
+ refactored gui files to do easier i10n
299
+ removed lang directories under gui
300
+ added lang files under lang dir
301
+ removed redundant code files left from moving applet handling to back window
302
+ removed zipped applets not yet refactored
303
+
304
+ version 1.24
305
+ added internet usage instructions to HowTo_Tinker.txt
306
+ removed HowTo_Tinker.html
307
+ added panels for Helpabout
308
+ changed photo logo tab to only have embedded picture, no button
309
+
310
+ version 1.23
311
+ moving diagnostic tab and applet handling tabs to second window
312
+ added selection panel tab to choose secondary windows.
313
+
314
+ version 1.21
315
+ changing version on help screen to be button
316
+ added version window
317
+ added diagnostic tab
318
+
319
+ version 1.2
320
+ added gemspec for creating a rwdtinker.gem
321
+ added rdoc comments
322
+ changed order on remove applets tab
323
+
324
+ version 1.1
325
+ changed order of elements on install applet tab
326
+ Add more i81n ablility - added lang directorys for language hash files
327
+ added in test file using WATIR stands for "Web Application Testing In Ruby,
328
+
329
+ version 1.0
330
+ Improved name selection in zips and applet screens
331
+ added rubyslippers applet and rwdrefreshacpi applets as zips
332
+
333
+ version 0.9
334
+ Fixed bug introduced in 0.8 - code files not sorted correctly - class end was not in correct location
335
+ updated RubyWebDialogs for people who do not have it installed
336
+ added rwdschedule applet as zip file
337
+
338
+ version 0.8
339
+ changed location of code files
340
+ only directory of code files needs to be added to inf file
341
+ changed location of gui files
342
+ only directory of gui files needs to be added to inf file
343
+ Added constants in conf file for code location and gui location
344
+ removed all zips not yt updated to new directory layout
345
+ change loading of conf files to not need intermediate file
346
+ and favicon.ico
347
+
348
+ version 0.7
349
+ moved changelog to HowTo_Tinker.html
350
+ copied english gui text to the dirs I think we should translate to
351
+ update backup zip files to newest versions
352
+ upgraded the ev directory - for those who don't have RubyWebDialogs
353
+
354
+ version 0.6
355
+ updated version number
356
+ changed merge name to rwdtinker.rb
357
+
358
+ version 0.4
359
+ added zip listing and installing - Linux only
360
+
361
+ Version 0,3
362
+ changed name to Tinker
363
+
364
+ Version 0.2
365
+ added some i18n directories for the gui files
366
+
367
+ Version 0.1
368
+ first public version released
369
+ includes document screen
370
+ Open Photo screen
371
+ included configuration directory
372
+ zips directories
373
+ installed directory
374
+ installed applet lister
375
+