rwdhypernote 0.11 → 0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Notes/changes.lnk +0 -0
- data/Notes/changes.txt +0 -0
- data/Readme.txt +452 -130
- data/code/01rwdcore/01rwdcore.rb +4 -0
- data/code/01rwdcore/02helptexthashbegin.rb +0 -0
- data/code/01rwdcore/03helptexthash.rb +1 -9
- data/code/01rwdcore/04helptextend.rb +0 -0
- data/code/01rwdcore/jumplinkcommand.rb +1 -1
- data/code/01rwdcore/openhelpwindow.rb +1 -1
- data/code/01rwdcore/returntomain.rb +0 -0
- data/code/01rwdcore/rundocuments.rb +0 -0
- data/code/01rwdcore/runeditconfiguration.rb +0 -0
- data/code/01rwdcore/runhelpabout.rb +0 -0
- data/code/01rwdcore/runopentinkerdocument.rb +0 -0
- data/code/01rwdcore/rwdtinkerversion.rb +1 -1
- data/code/01rwdcore/rwdwindowreturn.rb +0 -0
- data/code/01rwdcore/selectiontab.rb +0 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +0 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +0 -0
- data/code/01rwdcore/test_cases.rb +0 -0
- data/code/01rwdcore/test_harness.rb +0 -0
- data/code/01rwdcore/uploadreturns.rb +0 -0
- data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
- data/code/superant.com.hypernote/0uninstallapplet.rb +14 -0
- data/code/superant.com.hypernote/archivehypernote.rb +0 -0
- data/code/superant.com.hypernote/changehypernotename.rb +0 -0
- data/code/superant.com.hypernote/clearhypernotescreendisplay.rb +0 -0
- data/code/superant.com.hypernote/clearlinkscreendisplay.rb +0 -0
- data/code/superant.com.hypernote/copyfilename.rb +0 -0
- data/code/superant.com.hypernote/createnewnote.rb +0 -0
- data/code/superant.com.hypernote/createnewnotehtml.rb +0 -0
- data/code/superant.com.hypernote/deletehypernoterecord.rb +0 -0
- data/code/superant.com.hypernote/helptexthashrwdhypernote.rb +0 -0
- data/code/superant.com.hypernote/hyperlinkcreatelinkfile.rb +0 -0
- data/code/superant.com.hypernote/listdirectories.rb +2 -0
- data/code/superant.com.hypernote/listhypernotelinks.rb +0 -0
- data/code/superant.com.hypernote/listhypernotes.rb +0 -0
- data/code/superant.com.hypernote/listlinknotes.rb +0 -0
- data/code/superant.com.hypernote/loadconfigurationrecord.rb +2 -2
- data/code/superant.com.hypernote/loadconfigurationvariables.rb +3 -2
- data/code/superant.com.hypernote/loadhtmlnoterecord.rb +1 -1
- data/code/superant.com.hypernote/loadhtmlnoterecord2.rb +1 -1
- data/code/superant.com.hypernote/loadlinksrecord.rb +0 -0
- data/code/superant.com.hypernote/loadnoterecord.rb +1 -1
- data/code/superant.com.hypernote/loadnoterecordhtml.rb +1 -1
- data/code/superant.com.hypernote/loadnoterecordhtml2.rb +1 -1
- data/code/superant.com.hypernote/openhelpwindowrwdhyernote.rb +0 -0
- data/code/superant.com.hypernote/{returntomain.rb → runhypernote.rb} +3 -3
- data/code/superant.com.hypernote/runwrdhypernotetxtwindow.rb +0 -0
- data/code/superant.com.hypernote/rwdhypernotereloadhtml.rb +0 -0
- data/code/superant.com.hypernote/rwdhypernoteresetdir.rb +0 -0
- data/code/superant.com.hypernote/rwdtinkerversion.rb +1 -1
- data/code/superant.com.hypernote/saveconfigurationrecord.rb +2 -1
- data/code/superant.com.hypernote/savehtmlhypernoterecord.rb +0 -0
- data/code/superant.com.hypernote/savehypernoterecord.rb +0 -0
- data/code/superant.com.hypernote/savelinkrecord.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +239 -0
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +3 -1
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +17 -4
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/network.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +1 -5
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +19 -6
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +4 -0
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +0 -0
- data/code/zz0applicationend/zz0end.rb +0 -0
- data/configuration/language.dist +2 -1
- data/configuration/rwdapplicationidentity.dist +2 -2
- data/configuration/rwdtinker.dist +5 -6
- data/configuration/{rwdhypernote.dist → rwdwhypernote-0.12.dist} +5 -2
- data/configuration/tinkerwin2variables.dist +3 -3
- data/ev/browser.rb +0 -0
- data/ev/ftools.rb +0 -0
- data/ev/mime.rb +0 -0
- data/ev/net.rb +2 -2
- data/ev/ruby.rb +0 -0
- data/ev/rwd.rb +30 -10
- data/ev/sgml.rb +0 -0
- data/ev/thread.rb +0 -0
- data/ev/tree.rb +0 -0
- data/ev/xml.rb +0 -0
- data/extras/rconftool.rb +0 -0
- data/extras/zip/ioextras.rb +0 -0
- data/extras/zip/stdrubyext.rb +0 -0
- data/extras/zip/tempfile_bugfixed.rb +0 -0
- data/extras/zip/zip.rb +3 -2
- data/extras/zip/zipfilesystem.rb +0 -0
- data/extras/zip/ziprequire.rb +0 -0
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/viewlogo/cc0openphoto.rwd +22 -0
- data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +1 -1
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +2 -2
- data/gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd +0 -0
- data/gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd +0 -0
- data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +2 -2
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +1 -1
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd +0 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +1 -1
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +2 -2
- data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +0 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +1 -1
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +2 -2
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/10appletbegin.rwd +4 -0
- data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/10htmlnote.rwd +0 -0
- data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/15editnote.rwd +0 -0
- data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/25html2note.rwd +0 -0
- data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/67viewconfiguration.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/9end.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.hypernotetxt/00appname.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernotetxt/10viewnote.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernotetxt/20editlinks.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernotetxt/30noteutilities.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernotetxt/67viewconfiguration.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernotetxt/81jumplinkcommands.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernotetxt/9backend.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +9 -10
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +5 -5
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +9 -9
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +2 -2
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +3 -3
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +2 -2
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +3 -3
- data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +0 -0
- data/init.rb +5 -5
- data/installed/hypernotedata2.inf +12 -0
- data/installed/rwdwhypernote-0.12.inf +10 -0
- data/installed/temp.rb +1 -0
- data/lang/en/rwdcore/languagefile.rb +57 -15
- data/lang/es/rwdcore/languagefile-es.rb +61 -13
- data/lang/fr/rwdcore/languagefile.rb +64 -0
- data/lang/jp/rwdcore/languagefile.rb +69 -6
- data/lang/nl/rwdcore/languagefile.rb +56 -0
- data/lib/temp.rb +0 -0
- data/rwd_files/HowTo_HyperNote.txt +8 -1
- data/rwd_files/HowTo_Tinker.txt +27 -0
- data/rwd_files/HowTo_TinkerWin2.txt +0 -0
- data/rwd_files/Readme.txt +0 -0
- data/rwd_files/RubyWebDialogs.html +0 -0
- data/rwd_files/favicon.ico +0 -0
- data/rwd_files/rdoc-style.css +0 -0
- data/rwd_files/rwdapplications.html +0 -0
- data/rwd_files/tinker.png +0 -0
- data/rwdconfig.dist +5 -3
- data/rwdhypernote.rb +1 -0
- data/tests/checkdepends.sh +0 -0
- data/tests/cleancnf.sh +2 -1
- data/tests/makedist-rwdwhypernote.rb +56 -0
- data/tests/makedist.rb +11 -5
- data/tests/rdep.rb +0 -0
- data/tests/totranslate.lang +0 -0
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwgutenberg-0.09.zip +0 -0
- data/zips/rwdwhypernote-0.12.zip +0 -0
- data/zips/rwdwshell-1.04.zip +0 -0
- data/zips/temp.rb +1 -0
- data/zips/wrubyslippers-1.06.zip +0 -0
- metadata +44 -34
- data/Notes/hypernote/hypernote01.html +0 -1
- data/Notes/hypernote/hypernote02.txt +0 -1
- data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.htm +0 -14
- data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +0 -1
- data/Notes/rwdtinker/newnote.txt +0 -1
- data/Notes/rwdtinker/rwdtinker.html +0 -9
- data/code/superant.com.hypernote/jumplinkupdate.rb +0 -7
- data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +0 -96
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +0 -33
- data/zips/rwdahelloworld-0.5.zip +0 -0
data/Notes/changes.lnk
CHANGED
File without changes
|
data/Notes/changes.txt
CHANGED
File without changes
|
data/Readme.txt
CHANGED
@@ -1,140 +1,462 @@
|
|
1
|
-
=
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
==
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
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
|
+
Change language at:
|
23
|
+
|
24
|
+
configuration/language.dist
|
25
|
+
|
26
|
+
Change to Windows XP directory structure at:
|
27
|
+
configuration/tinkerwin2variables.dist
|
28
|
+
|
29
|
+
== Viewing installed Applets:
|
30
|
+
|
31
|
+
Go to "List Scripts" tab
|
32
|
+
|
33
|
+
You can get a list of all installed applets by clicking the listfiles button
|
34
|
+
|
35
|
+
To see the text of a install file
|
36
|
+
Type in the name of the file you want.
|
37
|
+
|
38
|
+
type it without the inf ending
|
39
|
+
rwdapplet-0.1
|
40
|
+
|
41
|
+
Then click the "View Installed File" button
|
42
|
+
|
43
|
+
If it finds the file it will open it. It displays the text the search box.
|
44
|
+
|
45
|
+
You can uninstall applets on this screen
|
46
|
+
|
47
|
+
== Installing Applets
|
48
|
+
|
49
|
+
click on the "Selection Panel"
|
50
|
+
click on Rwdtinker Back Window
|
51
|
+
|
52
|
+
You can download an applet created by someone else
|
53
|
+
put the file in the zips directory
|
54
|
+
|
55
|
+
click on the "list zips" tab
|
56
|
+
click on "list applets available for installing"
|
57
|
+
|
58
|
+
chose the applet you want
|
59
|
+
click on "install applet"
|
60
|
+
If all goes well the applet should be installed.
|
61
|
+
You will need to restart rwdtinker to see the new screens
|
62
|
+
|
63
|
+
|
64
|
+
== Changing configuration file
|
65
|
+
|
66
|
+
click on "Edit Configuration"
|
67
|
+
You can view the configuration file
|
68
|
+
|
69
|
+
You can edit the configuration
|
70
|
+
|
71
|
+
Remember to reload the configuration variables if you want your
|
72
|
+
changes used.
|
73
|
+
|
74
|
+
== Manually installing applets
|
75
|
+
|
76
|
+
* unzip an applet
|
77
|
+
|
78
|
+
unzip the applet into the program directoy
|
79
|
+
unzip randomapplet.zip
|
80
|
+
|
81
|
+
This should place the needed files in the correct directories
|
82
|
+
|
83
|
+
|
84
|
+
== Creating Applets
|
85
|
+
|
86
|
+
To add code, commands and gui tabs
|
87
|
+
|
88
|
+
Move program files into a directory under the code directory.
|
89
|
+
Move gui files into a directory under the gui directory.
|
90
|
+
The gui directory name you create is important, because the gui
|
91
|
+
rwd file is built in alpha order by directory name
|
92
|
+
|
93
|
+
|
94
|
+
There are two ways to add applets to the directories.
|
95
|
+
|
96
|
+
Creating code
|
97
|
+
|
98
|
+
|
99
|
+
* Manually write code and gui files
|
100
|
+
|
101
|
+
The files go into your code directory
|
102
|
+
the filenames for code do not matter
|
103
|
+
|
104
|
+
The gui files go into your gui directory
|
105
|
+
The gui files need to be in order by name and end with .rwd
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
If you need a config file that goes in the configuration directory
|
110
|
+
|
111
|
+
internationalization and localization are helped by replacing the
|
112
|
+
gui files in the subdirectories under gui
|
113
|
+
|
114
|
+
|
115
|
+
== Documents
|
116
|
+
|
117
|
+
|
118
|
+
when you click on a document name, the document should pop up in a
|
119
|
+
browser window, or in another browser tab.
|
120
|
+
|
121
|
+
To exit, press the x inside the browser window.
|
122
|
+
|
123
|
+
== To add context sensitive help
|
124
|
+
|
125
|
+
You need to add a hash file that just needs to contain
|
126
|
+
Helptext.update( :myapplet_generalhelp => " This is the general help
|
127
|
+
You can add help text hear")
|
128
|
+
|
129
|
+
And you need to add a help run script that will call runhelpwindow
|
130
|
+
This should have a method that includes:
|
131
|
+
setting $help_topic, and adds to $helptopicsarray, saves the calling window and calls runhelpwindow which will render the help message.
|
132
|
+
|
133
|
+
if @rwd_tab == "gemservescan"
|
134
|
+
$help_topic = "gemdocs_help"
|
135
|
+
end
|
136
|
+
$helptopicsarray = $helptopicsarray | ["rubyslippers_generalhelp", "Install_Gem","GemCommands_help", "gemfilesinstalled","gemdocs_help"]
|
137
|
+
if @rwd_window != "rwdtinkerhelpwindow"
|
138
|
+
$previouswindow = @rwd_window
|
139
|
+
$previoustab = @rwd_tab
|
140
|
+
end
|
141
|
+
runhelpwindow
|
142
|
+
end
|
143
|
+
|
144
|
+
== Languages
|
145
|
+
|
146
|
+
|
147
|
+
You can add tranlations in the lang subdirectory
|
148
|
+
You change the $lang constant in Tinker config file in the configuration directory
|
149
|
+
You can see one translation on the install applet tab, after you have installed and applet
|
150
|
+
|
151
|
+
== Using over a Network
|
152
|
+
|
153
|
+
To serve the application over your local LAN,change the last line in the
|
154
|
+
init.rb file to something like:
|
155
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
156
|
+
Then you should be able to login at: http://yourhostname:8080
|
157
|
+
|
158
|
+
You have to authorize yourself. The .rwuids example is a string with
|
159
|
+
the name of the authorization file, relative to the home directory
|
160
|
+
of the user that started the service. This file has to be in the form of:
|
161
|
+
|
162
|
+
user1 = password
|
163
|
+
user2 = pass phrase
|
164
|
+
|
165
|
+
Thus the file .rwduids might contain:
|
166
|
+
|
167
|
+
erik = secret
|
168
|
+
|
169
|
+
== Requirements:
|
170
|
+
RubyWebDialogs - I am using 0.1.2
|
171
|
+
This package you downloaded should have a runtime version of
|
172
|
+
the needed rubywebdialog files
|
173
|
+
|
174
|
+
Ruby I am using version 1.8.2
|
175
|
+
|
176
|
+
I have tested this under Linux-Debian kernel 2.6.9
|
177
|
+
|
178
|
+
= Operation:
|
179
|
+
The code files reside in the code directory and are combined before
|
180
|
+
the main Class is loaded
|
181
|
+
|
182
|
+
The rwd files in gui are combined before the gui is activated
|
183
|
+
|
184
|
+
Translated text reside in the lang directory
|
185
|
+
|
186
|
+
== Installing:
|
187
|
+
|
188
|
+
untar the file
|
189
|
+
tar zxvf rwdtinker-x.y.tar.gz
|
190
|
+
then cd to the directory
|
191
|
+
cd rwdshell-x.y
|
192
|
+
then start the init.rb program file
|
193
|
+
ruby init.rb
|
194
|
+
Then point your browser at http://localhost:7705
|
195
|
+
or where it tells you.
|
196
|
+
Trouble shooting:
|
197
|
+
|
198
|
+
If the program is not working, try looking at the ev subdirectory. That is where
|
199
|
+
the runtime of rubywebdialogs are.
|
200
|
+
|
201
|
+
for long term installation, I would suggest putting most files in a lib directory
|
202
|
+
like /usr/lib/rwdshell
|
203
|
+
then make a writable directory the local directory for command files to be written
|
204
|
+
like ~/rwdshell
|
205
|
+
|
206
|
+
|
207
|
+
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.
|
208
|
+
|
209
|
+
Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
|
210
|
+
|
211
|
+
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/
|
212
|
+
|
213
|
+
== Credits
|
214
|
+
|
215
|
+
Thanks go to:
|
216
|
+
|
217
|
+
* Matz, for creating Ruby in the first place.
|
218
|
+
* Erik, for creating RubyWebDialogs.
|
219
|
+
* Charlotte, my wife for coming up for the name Tinker.
|
220
|
+
|
221
|
+
== License
|
222
|
+
|
223
|
+
rwdtinker is copyright (c) 2004 Steven Gibson. It is free software, and may be redistributed
|
224
|
+
under the terms of the GPL licence:
|
225
|
+
|
226
|
+
== Contact
|
227
|
+
For more information see:
|
228
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
229
|
+
|
230
|
+
|
231
|
+
For more information about RubyWebDialogs see:
|
232
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
233
|
+
|
234
|
+
Thanks, Steven Gibson
|
235
|
+
|
83
236
|
== Changelog
|
84
|
-
Version
|
85
|
-
|
237
|
+
Version 1.73
|
238
|
+
more debug info in initiateapplet
|
239
|
+
remove gutenberg lang translations
|
240
|
+
correct gui building error recovery
|
241
|
+
|
242
|
+
Version 1.72
|
243
|
+
additional cleanup for live applet add and removal
|
244
|
+
after applet removal focus returns to proper tab
|
245
|
+
error messages are reduced unless $DEBUG=true
|
246
|
+
|
247
|
+
Version 1.70
|
248
|
+
major update to applet loading routines
|
249
|
+
a properly prepared applet should be loadable and unloadable live with not restarting
|
250
|
+
localization is not yet updated in live applet loading
|
251
|
+
remove network line debugging output
|
86
252
|
|
87
|
-
Version
|
88
|
-
|
253
|
+
Version 1.69
|
254
|
+
More work on translations - Spanish almost done
|
255
|
+
removed remote control
|
89
256
|
|
90
|
-
Version
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
257
|
+
Version 1.68
|
258
|
+
updated to newest Ruby webdialogs
|
259
|
+
|
260
|
+
Version 1.67
|
261
|
+
Add html for help
|
262
|
+
|
263
|
+
Version 1.66
|
264
|
+
Fixed directory layout
|
265
|
+
increased size of config edit screen
|
266
|
+
|
267
|
+
Version 1.65
|
268
|
+
Changed documents listing screen - now using hash
|
269
|
+
Changed helpabout screen - now using hash
|
270
|
+
added more lines for config edit
|
271
|
+
added help about to back window
|
272
|
+
|
273
|
+
Version 1.64
|
274
|
+
fixed jump with no location
|
275
|
+
|
276
|
+
Version 1.63
|
105
277
|
changed handling of application name returned
|
106
278
|
added jump seletion options
|
107
279
|
added some unit tests
|
108
280
|
|
109
|
-
version
|
110
|
-
|
111
|
-
|
112
|
-
|
281
|
+
version 1.62
|
282
|
+
improve distro release script
|
283
|
+
code cleanup
|
284
|
+
removed redundent network code
|
285
|
+
change handling of window and tab jumps
|
286
|
+
|
287
|
+
version 1.61
|
288
|
+
add in test harness
|
289
|
+
rwdtinkerwin2 help about removed
|
290
|
+
load main config file in init.rb
|
291
|
+
|
292
|
+
version 1.60
|
113
293
|
add rwdapplication info to diagnostic
|
114
294
|
turn rescue on in diagnostic upload
|
115
|
-
|
116
|
-
version
|
117
|
-
|
118
|
-
|
119
|
-
added
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
295
|
+
|
296
|
+
version 1.59
|
297
|
+
removed rwdtinkerwin2 inf file
|
298
|
+
refactored diagnotic page - one button to see all information
|
299
|
+
added bug report upload to diagnostic page
|
300
|
+
|
301
|
+
version 1.58
|
302
|
+
check for zlib
|
303
|
+
check for files to delete
|
304
|
+
|
305
|
+
version 1.57
|
306
|
+
added rconftool use to update configuration files
|
307
|
+
changed applets remove to not used external rm
|
308
|
+
|
309
|
+
version 1.56
|
310
|
+
refactored gui files to load without intermediate files
|
311
|
+
refactored code files to load without intermediate files
|
312
|
+
|
313
|
+
version 1.55
|
314
|
+
refactored language files to load without intermediate files
|
315
|
+
refactored language files to load without intermediate files
|
316
|
+
|
317
|
+
version 1.54
|
318
|
+
refactored rwdtinker applet installation tab - remote gem and local installs share menu buttons
|
319
|
+
corrected some program logic errors in remote control code including close socket
|
320
|
+
|
321
|
+
version 1.53
|
322
|
+
added search of Gems repository for rwdtinker gems
|
323
|
+
download and install of Gems
|
137
324
|
|
138
|
-
version
|
139
|
-
|
140
|
-
|
325
|
+
version 1.52
|
326
|
+
added function to install applets from gem directory
|
327
|
+
|
328
|
+
version 1.51
|
329
|
+
changed return to main
|
330
|
+
changed configuration of remote ports
|
331
|
+
updated context sensitive help
|
332
|
+
|
333
|
+
version 1.50
|
334
|
+
changed unzip applet to be internal code - no exec to unzip program
|
335
|
+
changed order of tabs on back window - list applets now first
|
336
|
+
added rwdwcalc applet in to zips directory
|
337
|
+
changed width of text fields with help from RubyWebDialogs author
|
338
|
+
changed listing of help options, vertical instead of horizontal
|
339
|
+
|
340
|
+
version 1.49
|
341
|
+
added demon function for remote queries
|
342
|
+
startup application on first available port
|
343
|
+
|
344
|
+
version 1.48
|
345
|
+
fix in context sensitive help so that applets can use it better
|
346
|
+
|
347
|
+
version 1.47
|
348
|
+
change to context sensitive help
|
349
|
+
|
350
|
+
version 1.46
|
351
|
+
more work on context help
|
352
|
+
window calls point to tab as well as windows
|
353
|
+
help added help buttons on Document, Selection, View Applet, tabs
|
354
|
+
|
355
|
+
version 1.45
|
356
|
+
first steps toward context sensitive help
|
357
|
+
added help button on main window/tab
|
358
|
+
|
359
|
+
version 1.44
|
360
|
+
updated directory structure - refactored gui files
|
361
|
+
Changed gui directory names - more like Java package titles
|
362
|
+
|
363
|
+
version 1.43
|
364
|
+
changed setup variables file for live changes
|
365
|
+
added editing and reloading of config file
|
366
|
+
added unzip filename to config file
|
367
|
+
|
368
|
+
version 1.42
|
369
|
+
update for live update system
|
370
|
+
update applets for live update
|
371
|
+
code file name cleanup
|
372
|
+
|
373
|
+
version 1.41
|
374
|
+
l10n work es,nl, jp
|
375
|
+
separated out languge.cnf
|
376
|
+
added zip applets refreshacpi, rwdcalc
|
377
|
+
|
378
|
+
version 1.40
|
379
|
+
removed extra lines from init.rb
|
380
|
+
fixed help second window
|
381
|
+
added some tranlations for Spanish
|
382
|
+
More work on l10n
|
383
|
+
|
384
|
+
version 1.3
|
385
|
+
refactored gui files to do easier i10n
|
386
|
+
removed lang directories under gui
|
387
|
+
added lang files under lang dir
|
388
|
+
removed redundant code files left from moving applet handling to back window
|
389
|
+
removed zipped applets not yet refactored
|
390
|
+
|
391
|
+
version 1.24
|
392
|
+
added internet usage instructions to HowTo_Tinker.txt
|
393
|
+
removed HowTo_Tinker.html
|
394
|
+
added panels for Helpabout
|
395
|
+
changed photo logo tab to only have embedded picture, no button
|
396
|
+
|
397
|
+
version 1.23
|
398
|
+
moving diagnostic tab and applet handling tabs to second window
|
399
|
+
added selection panel tab to choose secondary windows.
|
400
|
+
|
401
|
+
version 1.21
|
402
|
+
changing version on help screen to be button
|
403
|
+
added version window
|
404
|
+
added diagnostic tab
|
405
|
+
|
406
|
+
version 1.2
|
407
|
+
added gemspec for creating a rwdtinker.gem
|
408
|
+
added rdoc comments
|
409
|
+
changed order on remove applets tab
|
410
|
+
|
411
|
+
version 1.1
|
412
|
+
changed order of elements on install applet tab
|
413
|
+
Add more i81n ablility - added lang directorys for language hash files
|
414
|
+
added in test file using WATIR stands for "Web Application Testing In Ruby,
|
415
|
+
|
416
|
+
version 1.0
|
417
|
+
Improved name selection in zips and applet screens
|
418
|
+
added rubyslippers applet and rwdrefreshacpi applets as zips
|
419
|
+
|
420
|
+
version 0.9
|
421
|
+
Fixed bug introduced in 0.8 - code files not sorted correctly - class end was not in correct location
|
422
|
+
updated RubyWebDialogs for people who do not have it installed
|
423
|
+
added rwdschedule applet as zip file
|
424
|
+
|
425
|
+
version 0.8
|
426
|
+
changed location of code files
|
427
|
+
only directory of code files needs to be added to inf file
|
428
|
+
changed location of gui files
|
429
|
+
only directory of gui files needs to be added to inf file
|
430
|
+
Added constants in conf file for code location and gui location
|
431
|
+
removed all zips not yt updated to new directory layout
|
432
|
+
change loading of conf files to not need intermediate file
|
433
|
+
and favicon.ico
|
434
|
+
|
435
|
+
version 0.7
|
436
|
+
moved changelog to HowTo_Tinker.html
|
437
|
+
copied english gui text to the dirs I think we should translate to
|
438
|
+
update backup zip files to newest versions
|
439
|
+
upgraded the ev directory - for those who don't have RubyWebDialogs
|
440
|
+
|
441
|
+
version 0.6
|
442
|
+
updated version number
|
443
|
+
changed merge name to rwdtinker.rb
|
444
|
+
|
445
|
+
version 0.4
|
446
|
+
added zip listing and installing - Linux only
|
447
|
+
|
448
|
+
Version 0,3
|
449
|
+
changed name to Tinker
|
450
|
+
|
451
|
+
Version 0.2
|
452
|
+
added some i18n directories for the gui files
|
453
|
+
|
454
|
+
Version 0.1
|
455
|
+
first public version released
|
456
|
+
includes document screen
|
457
|
+
Open Photo screen
|
458
|
+
included configuration directory
|
459
|
+
zips directories
|
460
|
+
installed directory
|
461
|
+
installed applet lister
|
462
|
+
|
data/code/01rwdcore/01rwdcore.rb
CHANGED
@@ -4,11 +4,15 @@
|
|
4
4
|
# For more information about RwdTinker see http://www.rubyforge.net/projects/rwdapplications
|
5
5
|
# This class is the top class for the RwdTinker application
|
6
6
|
|
7
|
+
$DEBUG=false
|
8
|
+
$VERBOSE=false
|
9
|
+
|
7
10
|
class RwdTinker < RWDialog
|
8
11
|
|
9
12
|
def main
|
10
13
|
@rwd_window = "main"
|
11
14
|
@result = "idle"
|
15
|
+
|
12
16
|
@display= "idle"
|
13
17
|
if TestNow
|
14
18
|
|
File without changes
|
@@ -18,14 +18,6 @@ Then you should be able to login at: http://yourhostname:8080",
|
|
18
18
|
<p>
|
19
19
|
|
20
20
|
when you click on a document name, the document should pop up in a <br>
|
21
|
-
browser window, or in another browser tab.</b>
|
22
|
-
:remote_control => "<b>Remote control gives you a way to determine what applications are running on which ports
|
23
|
-
<p>
|
24
|
-
The name of the application is set in the config file<br>
|
25
|
-
You need to click the show remote command choices first - this will show the port and query choices<br>
|
26
|
-
Then you can click in 'Run Command' to see if other applications are running.<br>
|
27
|
-
<p>
|
28
|
-
The remote ports daemon will not be running unless you start it.
|
29
|
-
</b>
|
21
|
+
browser window, or in another browser tab.</b>
|
30
22
|
"
|
31
23
|
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# this code is to call the help window
|
2
2
|
def runhelpwindow
|
3
|
-
$helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing","applet_tinkerbackeditconfiguration"
|
3
|
+
$helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing","applet_tinkerbackeditconfiguration"]
|
4
4
|
|
5
5
|
if @rwd_window == "main"
|
6
6
|
if @rwd_tab == "documentsrwdtinkerone"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# return the version constant defined in the config file
|
6
6
|
def tinkerhelpaboutsetup
|
7
|
-
return ["RwdTinker","(c) 2004 Steven Gibson ","Version #{RwdTinkerVersion}"]
|
7
|
+
return ["RwdTinker","(c) 2004-2008 Steven Gibson ","Version #{RwdTinkerVersion}"]
|
8
8
|
end
|
9
9
|
|
10
10
|
def runrwdtinkerversion
|
File without changes
|
File without changes
|
File without changes
|