rwdhypernote 0.13 → 0.15
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.
- 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
data/Readme.txt
CHANGED
|
@@ -19,13 +19,6 @@ ruby init.rb
|
|
|
19
19
|
Then point your web browser to:
|
|
20
20
|
http://localhost:7705/
|
|
21
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
22
|
== Viewing installed Applets:
|
|
30
23
|
|
|
31
24
|
Go to "List Scripts" tab
|
|
@@ -234,6 +227,26 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
|
234
227
|
Thanks, Steven Gibson
|
|
235
228
|
|
|
236
229
|
== Changelog
|
|
230
|
+
Version 1.77
|
|
231
|
+
Fixed zips location to be relative or absolute
|
|
232
|
+
Made themes loadable
|
|
233
|
+
|
|
234
|
+
Version 1.76
|
|
235
|
+
Move rwd code files into lib directory - bug - 21886
|
|
236
|
+
change tab name list applets - bug - 21864
|
|
237
|
+
change extra folder to be lib folder - bug 21887
|
|
238
|
+
remove duplicate intall applet code - bug 21885
|
|
239
|
+
On Menu tab/Selection Tab - add help button - bug 21884
|
|
240
|
+
clean up directory structure in gui directory - bug 21882
|
|
241
|
+
|
|
242
|
+
Version 1.75
|
|
243
|
+
change rwd.rb to use UTF-8 for web pages
|
|
244
|
+
add language load for applets
|
|
245
|
+
|
|
246
|
+
Version 1.74
|
|
247
|
+
remove remote control from help
|
|
248
|
+
more dependable gui loading for applets
|
|
249
|
+
|
|
237
250
|
Version 1.73
|
|
238
251
|
more debug info in initiateapplet
|
|
239
252
|
remove gutenberg lang translations
|
data/code/01rwdcore/01rwdcore.rb
CHANGED
|
@@ -2,3 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Helptext = Hash.new { |hh, kk| hh[kk] = "ERROR: Identificador de mensaje desconocido: #{kk.inspect}."; hh[kk] }
|
|
4
4
|
helpmessage = {
|
|
5
|
+
:general_help => "You can work with Applets: go to 'Selection tab', <br>
|
|
6
|
+
On that back screen you will find:<br>
|
|
7
|
+
List Applets: you can see and delete installed applets<br>
|
|
8
|
+
List Zips: you can see lists of applets that you can install<br>
|
|
9
|
+
Edit Configuration: You can view the rwdtinker configuration and change it<br>
|
|
10
|
+
Diagnostic Tab: You can view the environments variables that rwdtinker is running with<br>
|
|
11
|
+
"
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
helpmessage.each { |kk, vv| Helptext[kk] = vv }
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# this code loads the help text
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
|
|
4
|
+
tmphelpfilename = "Tinkerhelptexthash.txt"
|
|
5
|
+
tmphelpdir = "rwd_files"
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
fileName = File.join(tmphelpdir ,tmphelpfilename )
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
fd = File.open(fileName,"r")
|
|
14
|
+
tmphelptext = fd.read
|
|
15
|
+
fd.close
|
|
16
|
+
eval tmphelptext
|
|
17
|
+
rescue SystemCallError, StandardError
|
|
18
|
+
$rwdtinkerlog.error "Tinkerbell help file load: system call error: "
|
|
19
|
+
end # exception rescue
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
:documents_rwdtinker => "<b>Documents:
|
|
18
|
-
<p>
|
|
19
21
|
|
|
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
|
-
"
|
|
23
|
-
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# open document for rwdtinker application
|
|
2
2
|
def runopentinkerdocument
|
|
3
3
|
|
|
4
|
-
tinkerdocumenturl = "http://localhost
|
|
4
|
+
tinkerdocumenturl = "http://localhost:#{$port}/" + @a_tinkerdocumentinput
|
|
5
5
|
Thread.new( tinkerdocumenturl){ |t| `#{Browser_Exe} #{tinkerdocumenturl}` }
|
|
6
6
|
end
|
|
7
7
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# this code is to list the hypernote directories
|
|
2
|
+
def rwdhypernotedirectories2
|
|
3
|
+
if $temp_rwdhypernote_directory2.to_s.empty?
|
|
4
|
+
temp_dir = $rwdhypernote_directory
|
|
5
|
+
else
|
|
6
|
+
temp_dir = $temp_rwdhypernote_directory2
|
|
7
|
+
end
|
|
8
|
+
@hypernotetxt_directory2 = temp_dir
|
|
9
|
+
|
|
10
|
+
if FileTest.directory?(temp_dir)
|
|
11
|
+
|
|
12
|
+
fileList = Dir.new(temp_dir).entries.sort.reverse.delete_if { |x| (x =~ /lnk$|nam$|htm$|html$|db$|jpg$|png$|exe$|sch$|rwd$|txt$/) }
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@notedirectoriesresult2 = fileList.rwd_method("fillrwdhypernotedirs2")
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def fillrwdhypernotedirs2(inffile)
|
|
21
|
+
applet = inffile
|
|
22
|
+
|
|
23
|
+
if $temp_rwdhypernote_directory2.to_s.empty?
|
|
24
|
+
temp_topdirectory = $rwdhypernote_directory
|
|
25
|
+
else
|
|
26
|
+
temp_topdirectory = $temp_rwdhypernote_directory2
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
$temp_rwdhypernote_directory2 = File.join(temp_topdirectory ,applet)
|
|
30
|
+
@hypernotetxt_directory2 = temp_topdirectory
|
|
31
|
+
|
|
32
|
+
end
|
|
@@ -5,13 +5,12 @@ def rwdhypernotedirectories3
|
|
|
5
5
|
else
|
|
6
6
|
temp_dir = $temp_rwdhypernote_directory
|
|
7
7
|
end
|
|
8
|
-
@
|
|
8
|
+
@hypernotetxt_directory3 = temp_dir
|
|
9
9
|
|
|
10
10
|
if FileTest.directory?(temp_dir)
|
|
11
11
|
|
|
12
12
|
fileList = Dir.new(temp_dir).entries.sort.reverse.delete_if { |x| (x =~ /lnk$|nam$|htm$|html$|db$|jpg$|png$|exe$|sch$|pdf|chm|gif|rwd$|txt$/) }
|
|
13
|
-
|
|
14
|
-
@noterecordsresulth = ""
|
|
13
|
+
|
|
15
14
|
|
|
16
15
|
@notedirectoriesresult = fileList.rwd_method("fillrwdhypernotedirs")
|
|
17
16
|
end
|
|
@@ -27,6 +26,6 @@ def fillrwdhypernotedirs(inffile)
|
|
|
27
26
|
end
|
|
28
27
|
|
|
29
28
|
$temp_rwdhypernote_directory = File.join(temp_topdirectory ,applet)
|
|
30
|
-
@
|
|
29
|
+
@hypernotetxt_directory3 = temp_topdirectory
|
|
31
30
|
|
|
32
31
|
end
|
|
@@ -40,22 +40,6 @@ if $temp_rwdhypernote_directory.to_s.empty?
|
|
|
40
40
|
anotearray = Array.new(Dir[startlangdir].entries.sort)
|
|
41
41
|
|
|
42
42
|
#loop through the list, ignore the files and add all new directories found
|
|
43
|
-
anotearray.each do |x|
|
|
44
|
-
#if a directory...
|
|
45
|
-
|
|
46
|
-
if(test(?d,x))
|
|
47
|
-
# add to the original list of directories
|
|
48
|
-
@@tmproot = x + "/**"
|
|
49
|
-
#adds the new ones to the array
|
|
50
|
-
|
|
51
|
-
bnotearray = Dir[@@tmproot].entries.sort
|
|
52
|
-
bnotearray.each do |x|
|
|
53
|
-
if(test(?d,x))
|
|
54
|
-
anotearray.push(x) #appends to the end of the array...
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
43
|
anotearray.each do |x|
|
|
60
44
|
#if it is a file...
|
|
61
45
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
def findnotefilesh(d)
|
|
5
|
-
|
|
5
|
+
notesarray = [""]
|
|
6
6
|
a = Array.new(Dir[d].entries.sort)
|
|
7
7
|
|
|
8
8
|
#loop through and get the files names
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
if $DEBUG
|
|
15
15
|
# puts "#{x}" # looks at the files
|
|
16
16
|
end
|
|
17
|
-
|
|
17
|
+
notesarray = notesarray | ["#{x}"]
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
|
|
20
|
+
end
|
|
21
|
+
return notesarray
|
|
21
22
|
end
|
|
22
23
|
|
|
23
24
|
def listnotedirshttp3
|
|
@@ -29,7 +30,7 @@ def listnotedirshttp3
|
|
|
29
30
|
end
|
|
30
31
|
@hypernote_directory = startlangdir
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
notesarray = [""]
|
|
33
34
|
|
|
34
35
|
#get a list of the files and subdirectories on the starting directory only
|
|
35
36
|
anotearray = Array.new(Dir[startlangdir].entries.sort)
|
|
@@ -41,13 +42,13 @@ def listnotedirshttp3
|
|
|
41
42
|
if(!test(?d,x))
|
|
42
43
|
anotearray.delete(x)
|
|
43
44
|
else #it is a directory...
|
|
44
|
-
|
|
45
|
+
notesarray = findnotefilesh(x + "/**")
|
|
45
46
|
end
|
|
46
47
|
end
|
|
47
|
-
|
|
48
|
+
|
|
48
49
|
a_notedatahtml3 = ""
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
notesarray.delete_if { |x| x < " " }
|
|
51
|
+
notesarray.each { |xarr| a_notedatahtml3 += "<a href='#{xarr}'>#{xarr}</a></href><br>"}
|
|
51
52
|
@a_notedatahtml3 = "#{a_notedatahtml3}"
|
|
52
53
|
|
|
53
54
|
|
|
@@ -40,22 +40,6 @@ if $temp_rwdhypernote_directory.to_s.empty?
|
|
|
40
40
|
anotearray = Array.new(Dir[startlangdir].entries.sort)
|
|
41
41
|
|
|
42
42
|
#loop through the list, ignore the files and add all new directories found
|
|
43
|
-
anotearray.each do |x|
|
|
44
|
-
#if a directory...
|
|
45
|
-
|
|
46
|
-
if(test(?d,x))
|
|
47
|
-
# add to the original list of directories
|
|
48
|
-
@@tmproot = x + "/**"
|
|
49
|
-
#adds the new ones to the array
|
|
50
|
-
|
|
51
|
-
bnotearray = Dir[@@tmproot].entries.sort
|
|
52
|
-
bnotearray.each do |x|
|
|
53
|
-
if(test(?d,x))
|
|
54
|
-
anotearray.push(x) #appends to the end of the array...
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
43
|
anotearray.each do |x|
|
|
60
44
|
#if it is a file...
|
|
61
45
|
|
|
@@ -9,7 +9,7 @@ def fillhypernotenameh2(inffile)
|
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def findnotefilesh2(d)
|
|
12
|
-
|
|
12
|
+
notesarray = [""]
|
|
13
13
|
a = Array.new(Dir[d].entries.sort)
|
|
14
14
|
|
|
15
15
|
#loop through and get the files names
|
|
@@ -19,51 +19,36 @@ end
|
|
|
19
19
|
# only txt files
|
|
20
20
|
if x =~ /htm|html|nam|rwd|sch|txt/
|
|
21
21
|
# puts "#{x}" #opens the file thats in fileName as read only
|
|
22
|
-
|
|
22
|
+
notesarray = notesarray | ["#{x}"]
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
|
-
|
|
25
|
+
end
|
|
26
|
+
return notesarray
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
def listnotedirshtml2
|
|
29
30
|
|
|
30
|
-
if $
|
|
31
|
+
if $temp_rwdhypernote_directory2.to_s.empty?
|
|
31
32
|
startlangdir = $rwdhypernote_directory
|
|
32
33
|
else
|
|
33
|
-
startlangdir = $
|
|
34
|
+
startlangdir = $temp_rwdhypernote_directory2
|
|
34
35
|
end
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
notesarray = [""]
|
|
37
38
|
|
|
38
39
|
#get a list of the files and subdirectories on the starting directory only
|
|
39
40
|
anotearray = Array.new(Dir[startlangdir].entries.sort)
|
|
40
41
|
|
|
41
42
|
#loop through the list, ignore the files and add all new directories found
|
|
42
|
-
anotearray.each do |x|
|
|
43
|
-
#if a directory...
|
|
44
|
-
|
|
45
|
-
if(test(?d,x))
|
|
46
|
-
# add to the original list of directories
|
|
47
|
-
@@tmproot = x + "/**"
|
|
48
|
-
#adds the new ones to the array
|
|
49
|
-
|
|
50
|
-
bnotearray = Dir[@@tmproot].entries.sort
|
|
51
|
-
bnotearray.each do |x|
|
|
52
|
-
if(test(?d,x))
|
|
53
|
-
anotearray.push(x) #appends to the end of the array...
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
43
|
anotearray.each do |x|
|
|
59
44
|
#if it is a file...
|
|
60
45
|
|
|
61
46
|
if(!test(?d,x))
|
|
62
47
|
anotearray.delete(x)
|
|
63
48
|
else #it is a directory...
|
|
64
|
-
|
|
49
|
+
notesarray = findnotefilesh2(x + "/**")
|
|
65
50
|
end
|
|
66
51
|
end
|
|
67
|
-
|
|
68
|
-
@noterecordsresult2 =
|
|
52
|
+
|
|
53
|
+
@noterecordsresult2 = notesarray.entries.sort.rwd_method("fillhypernotenameh2")
|
|
69
54
|
end
|
|
@@ -40,22 +40,6 @@ if $temp_rwdhypernote_directory.to_s.empty?
|
|
|
40
40
|
anotearray = Array.new(Dir[startlangdir].entries.sort)
|
|
41
41
|
|
|
42
42
|
#loop through the list, ignore the files and add all new directories found
|
|
43
|
-
anotearray.each do |x|
|
|
44
|
-
#if a directory...
|
|
45
|
-
|
|
46
|
-
if(test(?d,x))
|
|
47
|
-
# add to the original list of directories
|
|
48
|
-
@@tmproot = x + "/**"
|
|
49
|
-
#adds the new ones to the array
|
|
50
|
-
|
|
51
|
-
bnotearray = Dir[@@tmproot].entries.sort
|
|
52
|
-
bnotearray.each do |x|
|
|
53
|
-
if(test(?d,x))
|
|
54
|
-
anotearray.push(x) #appends to the end of the array...
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
43
|
anotearray.each do |x|
|
|
60
44
|
#if it is a file...
|
|
61
45
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# this method loads the on screen variables into the running class
|
|
2
2
|
def loadrwdhypernoteconfigurationvariables
|
|
3
3
|
|
|
4
|
-
tmpfilename = "rwdwhypernote
|
|
4
|
+
tmpfilename = "rwdwhypernote.cnf"
|
|
5
5
|
configfiletoload = File.join(ConfigurationDir, tmpfilename )
|
|
6
6
|
begin
|
|
7
7
|
load configfiletoload
|