rwdhypernote 0.13 → 0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +20 -7
- data/code/01rwdcore/01rwdcore.rb +2 -2
- data/code/01rwdcore/02helptexthashbegin.rb +10 -0
- data/code/01rwdcore/03helptexthash.rb +18 -20
- data/code/01rwdcore/runopentinkerdocument.rb +1 -1
- data/code/superant.com.hypernote/0uninstallapplet.rb +1 -1
- data/code/superant.com.hypernote/listdirectories2.rb +32 -0
- data/code/superant.com.hypernote/listdirectories3.rb +3 -4
- data/code/superant.com.hypernote/listhypernotes.rb +0 -16
- data/code/superant.com.hypernote/listnotedirhttp4.rb +9 -8
- data/code/superant.com.hypernote/listnotedirshtml.rb +0 -16
- data/code/superant.com.hypernote/listnotedirshtml2.rb +10 -25
- data/code/superant.com.hypernote/listnotedirshtml3.rb +0 -16
- data/code/superant.com.hypernote/loadconfigurationrecord.rb +1 -1
- data/code/superant.com.hypernote/loadconfigurationvariables.rb +1 -1
- data/code/superant.com.hypernote/saveconfigurationrecord.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +89 -158
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +10 -8
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +6 -6
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
- data/configuration/rwdtinker.dist +5 -8
- data/configuration/{rwdwhypernote-0.13.dist → rwdwhypernote.dist} +9 -9
- data/configuration/tinkerwin2variables.dist +13 -7
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/{viewlogo/cc0openphoto.rwd → cc0openphoto.rwd} +0 -0
- data/gui/{frontwindowselectionbegin/selectiontabbegin → frontwindowselections}/00selectiontabbegin.rwd +0 -0
- data/gui/frontwindowselections/{superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd → jumplinkcommands.rwd} +1 -1
- data/gui/{frontwindowselectionzend/viewselectionzend → frontwindowselections}/wwselectionend.rwd +0 -0
- data/gui/{frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd → frontwindowtdocuments/00documentbegin.rwd} +0 -0
- data/gui/frontwindowtdocuments/{superant.com.documents/tinkerdocuments.rwd → tinkerdocuments.rwd} +0 -0
- data/gui/{helpaboutbegin/superant.com.helpaboutbegin → frontwindowtdocuments}/zzdocumentend.rwd +0 -0
- data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzrwdlasttab.rwd → zzzrwdlasttab.rwd} +0 -0
- data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
- data/gui/{helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd → helpaboutbegin/zzzzzzhelpabouttab.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/helpscreenend.rwd → helpscreenend.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zhelpscreenstart2.rwd → zhelpscreenstart2.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpabout2.rwd → zzzzhelpabout2.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpscreen2end.rwd → zzzzhelpscreen2end.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/10htmlnote.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.hypernote/15htmlview.rwd +5 -10
- data/gui/tinkerbackwindows/superant.com.hypernote/21editnote.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.hypernote/25html2note.rwd +7 -3
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +1 -1
- data/gui/zzcoreguiend/{tinkerapplicationguiend/yy9rwdend.rwd → yy9rwdend.rwd} +0 -0
- data/init.rb +61 -165
- data/installed/hypernotedata2.inf +1 -11
- data/installed/{rwdwhypernote-0.13.inf → rwdwhypernote.inf} +2 -2
- data/lang/en/rwdcore/en.po +166 -0
- data/lang/es/rwdcore/es.po +172 -0
- data/lang/fr/rwdcore/fr.po +166 -0
- data/lang/hi/rwdcore/hi.po +170 -0
- data/lang/ja/rwdcore/ja.po +168 -0
- data/lang/nl/rwdcore/nl.po +166 -0
- data/{extras → lib}/rconftool.rb +13 -6
- data/{ev → lib/rwd}/browser.rb +2 -2
- data/{ev → lib/rwd}/ftools.rb +0 -0
- data/{ev → lib/rwd}/mime.rb +0 -0
- data/{ev → lib/rwd}/net.rb +18 -7
- data/{ev → lib/rwd}/ruby.rb +1 -1
- data/{ev → lib/rwd}/rwd.rb +112 -632
- data/{ev → lib/rwd}/sgml.rb +1 -1
- data/{ev → lib/rwd}/thread.rb +1 -1
- data/{ev → lib/rwd}/tree.rb +2 -2
- data/{ev → lib/rwd}/xml.rb +1 -1
- data/lib/rwdthemes/default.rwd +317 -0
- data/lib/rwdthemes/pda.rwd +72 -0
- data/lib/rwdthemes/windowslike.rwd +171 -0
- data/lib/rwdtinker/rwdcodedir.rb +56 -0
- data/lib/rwdtinker/rwdguidir.rb +57 -0
- data/lib/rwdtinker/rwdlangdir.rb +60 -0
- data/lib/rwdtinker/rwdtinkertools.rb +25 -0
- data/{extras → lib}/zip/ioextras.rb +0 -0
- data/{extras → lib}/zip/stdrubyext.rb +0 -0
- data/{extras → lib}/zip/tempfile_bugfixed.rb +0 -0
- data/{extras → lib}/zip/zip.rb +2 -2
- data/{extras → lib}/zip/zipfilesystem.rb +0 -0
- data/{extras → lib}/zip/ziprequire.rb +0 -0
- data/rwd_files/HowTo_HyperNote.txt +23 -0
- data/rwd_files/HowTo_Tinker.txt +49 -7
- data/{Notes → rwd_files/Notes}/changes.lnk +0 -0
- data/{Notes → rwd_files/Notes}/changes.txt +0 -0
- data/rwd_files/Notes/hypernote/hypernote02.html +169 -0
- data/rwd_files/Notes/hypernote/hypernote02.txt +28 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.htm +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/newnote.txt +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/rwdtinker.html +0 -0
- data/rwd_files/Tinkerhelptexthash.txt +81 -0
- data/rwd_files/log/rwdtinker.log +630 -0
- data/rwdconfig.dist +14 -13
- data/tests/makedist-rwdwhypernote.rb +2 -2
- data/tests/makedist.rb +12 -7
- data/zips/rwdwcalc-0.63.zip +0 -0
- data/zips/rwdwfoldeditor-0.05.zip +0 -0
- data/zips/rwdwhypernote-0.15.zip +0 -0
- data/zips/rwdwmovies-0.98.zip +0 -0
- data/zips/rwdwruby-1.08.zip +0 -0
- data/zips/tinkerbellw-0.03.zip +0 -0
- data/zips/wrubyslippers-1.08.zip +0 -0
- metadata +71 -66
- data/Notes/hypernote/hypernote01.html +0 -1
- data/Notes/hypernote/hypernote02.txt +0 -1
- data/code/01rwdcore/04helptextend.rb +0 -6
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -61
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +0 -27
- data/configuration/language.dist +0 -8
- data/configuration/rwdapplicationidentity.dist +0 -3
- data/lang/en/rwdcore/languagefile.rb +0 -58
- data/lang/es/rwdcore/languagefile-es.rb +0 -62
- data/lang/fr/rwdcore/languagefile.rb +0 -64
- data/lang/jp/rwdcore/languagefile.rb +0 -72
- data/lang/nl/rwdcore/languagefile.rb +0 -75
- data/lib/temp.rb +0 -1
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwgutenberg-0.09.zip +0 -0
- data/zips/rwdwhypernote-0.13.zip +0 -0
- data/zips/rwdwshell-1.04.zip +0 -0
- data/zips/wrubyslippers-1.06.zip +0 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
# part of rwdtinker smalllinux@gmail.com
|
2
|
+
# copyleft gpl 2008 Steven Gibson
|
3
|
+
|
4
|
+
require 'lib/rwdtinker/rwdtinkertools'
|
5
|
+
|
6
|
+
tmpmodload = '
|
7
|
+
def RwdtinkerTools.loadguifile(d)
|
8
|
+
|
9
|
+
a = Array.new(Dir[d].entries.sort)
|
10
|
+
#loop through and get the files names
|
11
|
+
a.each do |x|
|
12
|
+
#adjust the filters to the files you want to see...
|
13
|
+
if(!test(?d,x))
|
14
|
+
# only rwd files
|
15
|
+
if x =~ /rb|rwd|txt/
|
16
|
+
|
17
|
+
load x #opens the file thats in fileName and reads it
|
18
|
+
@@tempdoc += $rwdguivar # adds the file into the doc string
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def RwdtinkerTools.findguifiles(guidir)
|
25
|
+
@@tempdoc = ""
|
26
|
+
#get a list of the files and subdirectories on the starting directory only
|
27
|
+
a = Array.new(Dir[guidir].entries.sort)
|
28
|
+
#loop through the list, ignore the files and add all new directories found
|
29
|
+
a.each do |x|
|
30
|
+
#if a directory...
|
31
|
+
if(test(?d,x))
|
32
|
+
#use this new dir find to add to the original list of directories
|
33
|
+
@@root = x + "/**"
|
34
|
+
#adds the new ones to the array
|
35
|
+
b = Dir[@@root].entries.sort
|
36
|
+
b.each do |x|
|
37
|
+
if(test(?d,x))
|
38
|
+
a.push(x) #appends to the end of the array...
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
a.each do |x|
|
44
|
+
#if it is a file...
|
45
|
+
if(!test(?d,x))
|
46
|
+
a.delete(x)
|
47
|
+
|
48
|
+
else #it is a directory...
|
49
|
+
loadguifile(x + "/**")
|
50
|
+
end
|
51
|
+
end
|
52
|
+
return @@tempdoc
|
53
|
+
|
54
|
+
end
|
55
|
+
'
|
56
|
+
|
57
|
+
RwdtinkerTools.module_eval(tmpmodload)
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# part of rwdtinker smalllinux@gmail.com
|
2
|
+
# copyleft gpl 2008 Steven Gibson
|
3
|
+
|
4
|
+
require 'lib/rwdtinker/rwdtinkertools'
|
5
|
+
|
6
|
+
tmpmodload = '
|
7
|
+
def RwdtinkerTools.findfilest(d)
|
8
|
+
a = Array.new(Dir[d].entries.sort)
|
9
|
+
#loop through and get the files names
|
10
|
+
a.each do |x|
|
11
|
+
#adjust the filters to the files you want to see...
|
12
|
+
if(!test(?d,x))
|
13
|
+
# only rwd files
|
14
|
+
if x =~ /rb|po|txt/
|
15
|
+
fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
|
16
|
+
@@tempdoc+=fileA.read #reads the file into the doc string
|
17
|
+
fileA.close
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
def RwdtinkerTools.findlanguagefiles(langdir,lang)
|
26
|
+
@@tempdoc = ""
|
27
|
+
|
28
|
+
startlangdir = File.join(langdir,lang)
|
29
|
+
#get a list of the files and subdirectories on the starting directory only
|
30
|
+
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
31
|
+
#loop through the list, ignore the files and add all new directories found
|
32
|
+
alanghash.each do |x|
|
33
|
+
#if a directory...
|
34
|
+
if(test(?d,x))
|
35
|
+
# add to the original list of directories
|
36
|
+
@@tmproot = x + "/**"
|
37
|
+
#adds the new ones to the array
|
38
|
+
blanghash = Dir[@@tmproot].entries.sort
|
39
|
+
blanghash.each do |x|
|
40
|
+
if(test(?d,x))
|
41
|
+
alanghash.push(x) #appends to the end of the array...
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
alanghash.each do |x|
|
47
|
+
#if it is a file...
|
48
|
+
if(!test(?d,x))
|
49
|
+
alanghash.delete(x)
|
50
|
+
else #it is a directory...
|
51
|
+
findfilest(x + "/**")
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
return @@tempdoc
|
56
|
+
|
57
|
+
end
|
58
|
+
'
|
59
|
+
|
60
|
+
RwdtinkerTools.module_eval(tmpmodload)
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# part of rwdtinker smalllinux@gmail.com
|
2
|
+
# copyleft gpl 2008 Steven Gibson
|
3
|
+
|
4
|
+
module RwdtinkerTools
|
5
|
+
|
6
|
+
# tools to use in rwdtinker
|
7
|
+
|
8
|
+
def RwdtinkerTools.tail(filename, lines=12)
|
9
|
+
|
10
|
+
|
11
|
+
begin
|
12
|
+
tmpFile = File.open(filename, 'r')
|
13
|
+
|
14
|
+
return tmpFile.readlines.reverse!.slice(0,lines)
|
15
|
+
|
16
|
+
tmpFile.close
|
17
|
+
rescue
|
18
|
+
return "error in opening log"
|
19
|
+
$rwdtinkerlog.error "RwdtinkerTools.tail: file open error"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
|
File without changes
|
File without changes
|
File without changes
|
data/{extras → lib}/zip/zip.rb
RENAMED
@@ -4,8 +4,8 @@ require 'singleton'
|
|
4
4
|
require 'tempfile'
|
5
5
|
require 'ftools'
|
6
6
|
require 'zlib'
|
7
|
-
require '
|
8
|
-
require '
|
7
|
+
require 'lib/zip/stdrubyext'
|
8
|
+
require 'lib/zip/ioextras'
|
9
9
|
|
10
10
|
if Tempfile.superclass == SimpleDelegator
|
11
11
|
require 'zip/tempfile_bugfixed'
|
File without changes
|
File without changes
|
@@ -60,6 +60,19 @@ Ruby I am using version 1.8.2
|
|
60
60
|
|
61
61
|
|
62
62
|
I have tested this under Linux-Debian kernel 2.6.9
|
63
|
+
|
64
|
+
==Making Applets
|
65
|
+
|
66
|
+
What is required in a applet for the rwdtinker framework
|
67
|
+
|
68
|
+
1. config file
|
69
|
+
2. code files - under in a unique directory under code
|
70
|
+
3. gui files - begin with window name in unique directory(s) under gui/tinkerbackwindow
|
71
|
+
4. install file ending with .inf under install directory - code directories are listed in here for live startup
|
72
|
+
5. uninstall program file in code directory - to uninstall the global variables
|
73
|
+
6. the install file, config file and uninstall method have the same name
|
74
|
+
|
75
|
+
Then zip it up and it should be ready to go.
|
63
76
|
|
64
77
|
== PROBLEMS:
|
65
78
|
|
@@ -81,6 +94,16 @@ Steven Gibson
|
|
81
94
|
steven@superant.com
|
82
95
|
|
83
96
|
== Changelog
|
97
|
+
version 0.15
|
98
|
+
update for rwdtinker 1.80
|
99
|
+
|
100
|
+
Version 0.14
|
101
|
+
Limit files listed in note directories
|
102
|
+
refactored directory list code - removed a global
|
103
|
+
put back directory viewing in first window 2 note -bug:21796
|
104
|
+
move Notes directory to under rwd_files
|
105
|
+
|
106
|
+
|
84
107
|
Version 0.13
|
85
108
|
fix configuration file saving
|
86
109
|
add to directory structure user viewing
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
@@ -97,8 +97,7 @@ There are two ways to add applets to the directories.
|
|
97
97
|
The gui files go into your gui directory
|
98
98
|
The gui files need to be in order by name and end with .rwd
|
99
99
|
|
100
|
-
|
101
|
-
|
100
|
+
|
102
101
|
If you need a config file that goes in the configuration directory
|
103
102
|
|
104
103
|
internationalization and localization are helped by replacing the
|
@@ -136,9 +135,11 @@ To exit, press the x inside the browser window.
|
|
136
135
|
|
137
136
|
== Languages
|
138
137
|
|
139
|
-
|
140
138
|
You can add tranlations in the lang subdirectory
|
141
|
-
You change the $
|
139
|
+
You change the $langarray constant in Tinker config file in the configuration directory
|
140
|
+
|
141
|
+
to change language => in the tinkerwin2variables.cnf file the [0] setting of $langarray will be the language choosen.
|
142
|
+
|
142
143
|
You can see one translation on the install applet tab, after you have installed and applet
|
143
144
|
|
144
145
|
== Using over a Network
|
@@ -168,14 +169,15 @@ Ruby I am using version 1.8.2
|
|
168
169
|
|
169
170
|
I have tested this under Linux-Debian kernel 2.6.9
|
170
171
|
|
171
|
-
|
172
|
+
== Operation:
|
173
|
+
|
172
174
|
The code files reside in the code directory and are combined before
|
173
175
|
the main Class is loaded
|
174
176
|
|
175
177
|
The rwd files in gui are combined before the gui is activated
|
176
178
|
|
177
179
|
Translated text reside in the lang directory
|
178
|
-
|
180
|
+
|
179
181
|
== Installing:
|
180
182
|
|
181
183
|
untar the file
|
@@ -220,13 +222,53 @@ under the terms of the GPL licence:
|
|
220
222
|
For more information see:
|
221
223
|
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
222
224
|
|
223
|
-
|
224
225
|
For more information about RubyWebDialogs see:
|
225
226
|
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
226
227
|
|
227
228
|
Thanks, Steven Gibson
|
228
229
|
|
229
230
|
== Changelog
|
231
|
+
version 1.82
|
232
|
+
switch to po files for translation files
|
233
|
+
add beginning of Hindi po file
|
234
|
+
added more Japanese strings
|
235
|
+
changed handling of lang change = in the tinkerwin2variables.cnf file the [0] setting of $langarray will be the language choosen.
|
236
|
+
|
237
|
+
version 1.81
|
238
|
+
condensed config files from 4 -> 2
|
239
|
+
fixed document launch bug
|
240
|
+
add $KCODE = 'u'
|
241
|
+
move help files to rwd_files directory
|
242
|
+
|
243
|
+
version 1.80
|
244
|
+
changed pda handling in rwd.rb
|
245
|
+
added logging
|
246
|
+
added log review screen on tinker back window
|
247
|
+
changed handling of live applet loading, to not list version in file names
|
248
|
+
|
249
|
+
version 1.79
|
250
|
+
edited net.rb to fix text editing
|
251
|
+
|
252
|
+
version 1.78
|
253
|
+
modify config files
|
254
|
+
modify rconftools.rb to handle \r\n dos vs unix
|
255
|
+
|
256
|
+
Version 1.77
|
257
|
+
Fixed zips location to be relative or absolute
|
258
|
+
Made themes loadable
|
259
|
+
|
260
|
+
Version 1.76
|
261
|
+
Move rwd code files into lib directory - bug - 21886
|
262
|
+
change tab name list applets - bug - 21864
|
263
|
+
change extra folder to be lib folder - bug 21887
|
264
|
+
remove duplicate intall applet code - bug 21885
|
265
|
+
On Menu tab/Selection Tab - add help button - bug 21884
|
266
|
+
clean up directory structure in gui directory - bug 21882
|
267
|
+
|
268
|
+
Version 1.75
|
269
|
+
change rwd.rb to use UTF-8 for web pages
|
270
|
+
add language load for applets
|
271
|
+
|
230
272
|
Version 1.74
|
231
273
|
remove remote control from help
|
232
274
|
more dependable gui loading for applets
|
File without changes
|
File without changes
|
@@ -0,0 +1,169 @@
|
|
1
|
+
= rwdhypernote - for rwdtinker and RubyWebDialogs
|
2
|
+
<br>
|
3
|
+
rwdhypernote is a little hierarchical notes editor
|
4
|
+
<br>
|
5
|
+
|
6
|
+
The GUI interface used is RubyWebDialogs
|
7
|
+
<br>
|
8
|
+
|
9
|
+
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/
|
10
|
+
<br>
|
11
|
+
|
12
|
+
== Quick Start
|
13
|
+
Start the program by typing
|
14
|
+
ruby init.rb
|
15
|
+
<br>
|
16
|
+
|
17
|
+
Then point your web browser to:
|
18
|
+
http://localhost:7705/
|
19
|
+
<br>
|
20
|
+
|
21
|
+
To exit, press the x inside the browser window.
|
22
|
+
<br>
|
23
|
+
|
24
|
+
== rwdhypernote
|
25
|
+
<br>
|
26
|
+
|
27
|
+
This program is a hierarchical notes editor
|
28
|
+
text notes can be entered and saved in a Notes directory
|
29
|
+
<br>
|
30
|
+
|
31
|
+
Notes can be saved in a hierarchical structure in directories
|
32
|
+
Links can be recorded connecting Notes -similar to wikiwiki
|
33
|
+
<br>
|
34
|
+
|
35
|
+
== Tabs
|
36
|
+
|
37
|
+
There are tabs to enter notes and links and edit configurations
|
38
|
+
|
39
|
+
View/Edit Note - to create a note or edit and existing note
|
40
|
+
|
41
|
+
View/Edit Links - to edit links
|
42
|
+
|
43
|
+
Note Utilities - to rename or delete notes
|
44
|
+
|
45
|
+
Edit Configuration - to change the configuration of rwdhypernote
|
46
|
+
|
47
|
+
|
48
|
+
== Using over a Network
|
49
|
+
|
50
|
+
To serve the application over your local LAN,change the last line in the
|
51
|
+
init.rb file to something like:
|
52
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
53
|
+
Then you should be able to login at: http://yourhostname:8080
|
54
|
+
|
55
|
+
You have to authorize yourself. The .rwuids example is a string with
|
56
|
+
the name of the authorization file, relative to the home directory
|
57
|
+
of the user that started the service. This file has to be in the form of:
|
58
|
+
|
59
|
+
user1 = password
|
60
|
+
user2 = pass phrase
|
61
|
+
|
62
|
+
Thus the file .rwduids might contain:
|
63
|
+
|
64
|
+
erik = secret
|
65
|
+
|
66
|
+
== Requirements:
|
67
|
+
RubyWebDialogs - I am using 0.0.12
|
68
|
+
Ruby I am using version 1.8.2
|
69
|
+
|
70
|
+
|
71
|
+
I have tested this under Linux-Debian kernel 2.6.9
|
72
|
+
|
73
|
+
== PROBLEMS:
|
74
|
+
|
75
|
+
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.
|
76
|
+
|
77
|
+
Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
|
78
|
+
|
79
|
+
|
80
|
+
== contacts
|
81
|
+
For more information see:
|
82
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
83
|
+
|
84
|
+
|
85
|
+
For more information about RubyWebDialogs see:
|
86
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
87
|
+
|
88
|
+
|
89
|
+
Steven Gibson
|
90
|
+
steven@superant.com
|
91
|
+
|
92
|
+
== Changelog
|
93
|
+
Version 0.14
|
94
|
+
Limit files listed in note directories
|
95
|
+
refactored directory list code - removed a global
|
96
|
+
put back directory viewing in first window 2 note -bug:21796
|
97
|
+
move Notes directory to under rwd_files
|
98
|
+
|
99
|
+
|
100
|
+
Version 0.13
|
101
|
+
fix configuration file saving
|
102
|
+
add to directory structure user viewing
|
103
|
+
reduce directory lists
|
104
|
+
remove html files screens - they did not load properly
|
105
|
+
add open external documents
|
106
|
+
clean up button choices
|
107
|
+
clean up on screen descriptions
|
108
|
+
|
109
|
+
Version 0.12
|
110
|
+
moved hypernote windows to the back
|
111
|
+
updated to rwdtinker 1.74
|
112
|
+
|
113
|
+
Version 0.11
|
114
|
+
updated to latest Ruby webdialog
|
115
|
+
|
116
|
+
Version 0.10
|
117
|
+
Bug fix of html note editing
|
118
|
+
|
119
|
+
Version 0.09
|
120
|
+
added html view tab
|
121
|
+
added 2nd html view tab
|
122
|
+
moved text view to back window
|
123
|
+
|
124
|
+
Version 0.08
|
125
|
+
ability for listings by directories
|
126
|
+
setup Load New Title button
|
127
|
+
configuration file screen change
|
128
|
+
updated for rwdtinker 1.66
|
129
|
+
new helpabout
|
130
|
+
new documents list
|
131
|
+
|
132
|
+
Version 0.07
|
133
|
+
updated for rwdtinker version 1.63
|
134
|
+
changed handling of application name returned
|
135
|
+
added jump seletion options
|
136
|
+
added some unit tests
|
137
|
+
|
138
|
+
version 0.06
|
139
|
+
added configuration editing tab
|
140
|
+
added more help information
|
141
|
+
updated for rwdtinker version 1.60
|
142
|
+
add rwdapplication info to diagnostic
|
143
|
+
turn rescue on in diagnostic upload
|
144
|
+
|
145
|
+
version 0.05
|
146
|
+
beginning to add context help
|
147
|
+
updated for rwdtinker version 1.58
|
148
|
+
added rconftool use to update configuration files
|
149
|
+
changed applets removal to not use external rm
|
150
|
+
removed version number from directory name
|
151
|
+
|
152
|
+
version 0.04
|
153
|
+
corrected bug in note name on link tab
|
154
|
+
cleaned up variable names in list notes
|
155
|
+
|
156
|
+
version 0.03
|
157
|
+
view and edit note
|
158
|
+
view and edit links
|
159
|
+
rename and delete files
|
160
|
+
|
161
|
+
version 0.02
|
162
|
+
updated for rwdtinker 1.54
|
163
|
+
adding internal links
|
164
|
+
beginning help
|
165
|
+
helpabout
|
166
|
+
|
167
|
+
version 0.01
|
168
|
+
First Release
|
169
|
+
|
@@ -0,0 +1,28 @@
|
|
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
|
+
|
10
|
+
This program is a hierarchical notes editor
|
11
|
+
text notes can be entered and saved in a Notes directory
|
12
|
+
|
13
|
+
Notes can be saved in a hierarchical structure in directories
|
14
|
+
Links can be recorded connecting Notes -similar to wikiwiki
|
15
|
+
|
16
|
+
== Tabs
|
17
|
+
|
18
|
+
There are tabs to enter notes and links and edit configurations
|
19
|
+
|
20
|
+
View/Edit Note - to create a note or edit and existing note
|
21
|
+
|
22
|
+
View/Edit Links - to edit links
|
23
|
+
|
24
|
+
Note Utilities - to rename or delete notes
|
25
|
+
|
26
|
+
Edit Configuration - to change the configuration of rwdhypernote
|
27
|
+
|
28
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# Help files for RwdTinker core
|
2
|
+
|
3
|
+
|
4
|
+
Helptext.update( :network_help => "Using over a Network: To serve the application over your local LAN,change the last line in the<br>
|
5
|
+
init.rb file to something like:\n<br>
|
6
|
+
RwdTinker.file(RWDFile).serve(8080, '-r' ? '.rwduids' : nil)\n<br>
|
7
|
+
Then you should be able to login at: http://yourhostname:8080")
|
8
|
+
|
9
|
+
|
10
|
+
Helptext.update( :documents_rwdtinker => "<b>Documents:
|
11
|
+
<p>
|
12
|
+
|
13
|
+
when you click on a document name, the document should pop up in a <br>
|
14
|
+
browser window, or in another browser tab.</b>
|
15
|
+
")
|
16
|
+
|
17
|
+
Helptext.update( :tinkerwin2_help => " You can view the list of applets you can install
|
18
|
+
by clicking on the list files button
|
19
|
+
<br><br>
|
20
|
+
You can download an applet created by someone else
|
21
|
+
<br><br>
|
22
|
+
put the file in the zips directory
|
23
|
+
<br>
|
24
|
+
rwdtinker applets packaged as RubyGems can be used if you have RubyGems installed.
|
25
|
+
You can download rwdtinker gems at the 'Install Remote Applets' tab
|
26
|
+
to install applets you need the ruby zlib library installed
|
27
|
+
")
|
28
|
+
|
29
|
+
Helptext.update(
|
30
|
+
:applet_viewing => "You can get a list of all installed applets by clicking the 'listfiles button'<br>
|
31
|
+
To see the text of a install file<br>
|
32
|
+
Type in the name of the file you want.<br>
|
33
|
+
<p>
|
34
|
+
type it without the inf ending
|
35
|
+
rwdapplet-0.1<br>
|
36
|
+
<p>
|
37
|
+
Then click the 'View Installed File' button
|
38
|
+
<p>
|
39
|
+
If it finds the file it will open it. It displays the text the search box.
|
40
|
+
<p>
|
41
|
+
You can uninstall applets on this screen")
|
42
|
+
|
43
|
+
Helptext.update(
|
44
|
+
:applet_installation => " You can download an applet created by someone else<br>
|
45
|
+
put the file in the zips directory<br>
|
46
|
+
|
47
|
+
click on the 'list zips' tab<br>
|
48
|
+
click on 'list applets available for installing<br>
|
49
|
+
<br>
|
50
|
+
chose the applet you want<br>
|
51
|
+
click on 'install applet'<br>
|
52
|
+
If all goes well the applet should be installed.<br>
|
53
|
+
You will need to restart rwdtinker to see the new screens<br>
|
54
|
+
to install applets you need the ruby zlib library installed")
|
55
|
+
|
56
|
+
Helptext.update(
|
57
|
+
:applet_tinkerbackeditconfiguration => " You can edit the configuration
|
58
|
+
<p>
|
59
|
+
Remember to reload the configuration variables if you want your
|
60
|
+
changes used.")
|
61
|
+
|
62
|
+
Helptext.update(
|
63
|
+
:remotegemapplet_install => " To download and install use the 'Install Remote Applets'
|
64
|
+
<br>
|
65
|
+
First click on 'List applets in the Remote GEM Repository available for downloading'<br>
|
66
|
+
then go to the very bottom to click on the applet you want<br>
|
67
|
+
then on the top click 'install remote Gem applet package'
|
68
|
+
<br>
|
69
|
+
This installs the package in the Gem system<br>
|
70
|
+
You still need to install it into rwdtinker - do that in the 'List Zips' tab<br>
|
71
|
+
<br>
|
72
|
+
For this feature to work, you need<br>
|
73
|
+
RubyGems installed<br>
|
74
|
+
Variables set correctly in the tinerwin2.cnf file<br>
|
75
|
+
$xpcommand, $gemdirectory_withgemfiles and $geminstalled_directory<br>
|
76
|
+
the defaults as shipped will normally be for a Debian Linux system <br>
|
77
|
+
On Debian Linux, you would usually need to be running rwdtinker as root in order to install RubyGems
|
78
|
+
<br><br>
|
79
|
+
You can view the list of rwdtinker applets you have installed already by clicking 'view already installed GEM applets'
|
80
|
+
"
|
81
|
+
)
|