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.
Files changed (122) hide show
  1. data/Readme.txt +20 -7
  2. data/code/01rwdcore/01rwdcore.rb +2 -2
  3. data/code/01rwdcore/02helptexthashbegin.rb +10 -0
  4. data/code/01rwdcore/03helptexthash.rb +18 -20
  5. data/code/01rwdcore/runopentinkerdocument.rb +1 -1
  6. data/code/superant.com.hypernote/0uninstallapplet.rb +1 -1
  7. data/code/superant.com.hypernote/listdirectories2.rb +32 -0
  8. data/code/superant.com.hypernote/listdirectories3.rb +3 -4
  9. data/code/superant.com.hypernote/listhypernotes.rb +0 -16
  10. data/code/superant.com.hypernote/listnotedirhttp4.rb +9 -8
  11. data/code/superant.com.hypernote/listnotedirshtml.rb +0 -16
  12. data/code/superant.com.hypernote/listnotedirshtml2.rb +10 -25
  13. data/code/superant.com.hypernote/listnotedirshtml3.rb +0 -16
  14. data/code/superant.com.hypernote/loadconfigurationrecord.rb +1 -1
  15. data/code/superant.com.hypernote/loadconfigurationvariables.rb +1 -1
  16. data/code/superant.com.hypernote/saveconfigurationrecord.rb +1 -1
  17. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +89 -158
  18. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +10 -8
  19. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
  20. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +6 -6
  21. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -1
  22. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +1 -1
  23. data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
  24. data/configuration/rwdtinker.dist +5 -8
  25. data/configuration/{rwdwhypernote-0.13.dist → rwdwhypernote.dist} +9 -9
  26. data/configuration/tinkerwin2variables.dist +13 -7
  27. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  28. data/gui/frontwindow0/{viewlogo/cc0openphoto.rwd → cc0openphoto.rwd} +0 -0
  29. data/gui/{frontwindowselectionbegin/selectiontabbegin → frontwindowselections}/00selectiontabbegin.rwd +0 -0
  30. data/gui/frontwindowselections/{superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd → jumplinkcommands.rwd} +1 -1
  31. data/gui/{frontwindowselectionzend/viewselectionzend → frontwindowselections}/wwselectionend.rwd +0 -0
  32. data/gui/{frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd → frontwindowtdocuments/00documentbegin.rwd} +0 -0
  33. data/gui/frontwindowtdocuments/{superant.com.documents/tinkerdocuments.rwd → tinkerdocuments.rwd} +0 -0
  34. data/gui/{helpaboutbegin/superant.com.helpaboutbegin → frontwindowtdocuments}/zzdocumentend.rwd +0 -0
  35. data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzrwdlasttab.rwd → zzzrwdlasttab.rwd} +0 -0
  36. data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
  37. data/gui/{helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd → helpaboutbegin/zzzzzzhelpabouttab.rwd} +0 -0
  38. data/gui/helpaboutzend/{superant.com.helpaboutend/helpscreenend.rwd → helpscreenend.rwd} +0 -0
  39. data/gui/helpaboutzend/{superant.com.helpaboutend/zhelpscreenstart2.rwd → zhelpscreenstart2.rwd} +0 -0
  40. data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpabout2.rwd → zzzzhelpabout2.rwd} +0 -0
  41. data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpscreen2end.rwd → zzzzhelpscreen2end.rwd} +0 -0
  42. data/gui/tinkerbackwindows/superant.com.hypernote/10htmlnote.rwd +1 -1
  43. data/gui/tinkerbackwindows/superant.com.hypernote/15htmlview.rwd +5 -10
  44. data/gui/tinkerbackwindows/superant.com.hypernote/21editnote.rwd +1 -1
  45. data/gui/tinkerbackwindows/superant.com.hypernote/25html2note.rwd +7 -3
  46. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
  47. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +1 -1
  48. data/gui/zzcoreguiend/{tinkerapplicationguiend/yy9rwdend.rwd → yy9rwdend.rwd} +0 -0
  49. data/init.rb +61 -165
  50. data/installed/hypernotedata2.inf +1 -11
  51. data/installed/{rwdwhypernote-0.13.inf → rwdwhypernote.inf} +2 -2
  52. data/lang/en/rwdcore/en.po +166 -0
  53. data/lang/es/rwdcore/es.po +172 -0
  54. data/lang/fr/rwdcore/fr.po +166 -0
  55. data/lang/hi/rwdcore/hi.po +170 -0
  56. data/lang/ja/rwdcore/ja.po +168 -0
  57. data/lang/nl/rwdcore/nl.po +166 -0
  58. data/{extras → lib}/rconftool.rb +13 -6
  59. data/{ev → lib/rwd}/browser.rb +2 -2
  60. data/{ev → lib/rwd}/ftools.rb +0 -0
  61. data/{ev → lib/rwd}/mime.rb +0 -0
  62. data/{ev → lib/rwd}/net.rb +18 -7
  63. data/{ev → lib/rwd}/ruby.rb +1 -1
  64. data/{ev → lib/rwd}/rwd.rb +112 -632
  65. data/{ev → lib/rwd}/sgml.rb +1 -1
  66. data/{ev → lib/rwd}/thread.rb +1 -1
  67. data/{ev → lib/rwd}/tree.rb +2 -2
  68. data/{ev → lib/rwd}/xml.rb +1 -1
  69. data/lib/rwdthemes/default.rwd +317 -0
  70. data/lib/rwdthemes/pda.rwd +72 -0
  71. data/lib/rwdthemes/windowslike.rwd +171 -0
  72. data/lib/rwdtinker/rwdcodedir.rb +56 -0
  73. data/lib/rwdtinker/rwdguidir.rb +57 -0
  74. data/lib/rwdtinker/rwdlangdir.rb +60 -0
  75. data/lib/rwdtinker/rwdtinkertools.rb +25 -0
  76. data/{extras → lib}/zip/ioextras.rb +0 -0
  77. data/{extras → lib}/zip/stdrubyext.rb +0 -0
  78. data/{extras → lib}/zip/tempfile_bugfixed.rb +0 -0
  79. data/{extras → lib}/zip/zip.rb +2 -2
  80. data/{extras → lib}/zip/zipfilesystem.rb +0 -0
  81. data/{extras → lib}/zip/ziprequire.rb +0 -0
  82. data/rwd_files/HowTo_HyperNote.txt +23 -0
  83. data/rwd_files/HowTo_Tinker.txt +49 -7
  84. data/{Notes → rwd_files/Notes}/changes.lnk +0 -0
  85. data/{Notes → rwd_files/Notes}/changes.txt +0 -0
  86. data/rwd_files/Notes/hypernote/hypernote02.html +169 -0
  87. data/rwd_files/Notes/hypernote/hypernote02.txt +28 -0
  88. data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.htm +0 -0
  89. data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +0 -0
  90. data/{Notes → rwd_files/Notes}/rwdtinker/newnote.txt +0 -0
  91. data/{Notes → rwd_files/Notes}/rwdtinker/rwdtinker.html +0 -0
  92. data/rwd_files/Tinkerhelptexthash.txt +81 -0
  93. data/rwd_files/log/rwdtinker.log +630 -0
  94. data/rwdconfig.dist +14 -13
  95. data/tests/makedist-rwdwhypernote.rb +2 -2
  96. data/tests/makedist.rb +12 -7
  97. data/zips/rwdwcalc-0.63.zip +0 -0
  98. data/zips/rwdwfoldeditor-0.05.zip +0 -0
  99. data/zips/rwdwhypernote-0.15.zip +0 -0
  100. data/zips/rwdwmovies-0.98.zip +0 -0
  101. data/zips/rwdwruby-1.08.zip +0 -0
  102. data/zips/tinkerbellw-0.03.zip +0 -0
  103. data/zips/wrubyslippers-1.08.zip +0 -0
  104. metadata +71 -66
  105. data/Notes/hypernote/hypernote01.html +0 -1
  106. data/Notes/hypernote/hypernote02.txt +0 -1
  107. data/code/01rwdcore/04helptextend.rb +0 -6
  108. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -61
  109. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +0 -27
  110. data/configuration/language.dist +0 -8
  111. data/configuration/rwdapplicationidentity.dist +0 -3
  112. data/lang/en/rwdcore/languagefile.rb +0 -58
  113. data/lang/es/rwdcore/languagefile-es.rb +0 -62
  114. data/lang/fr/rwdcore/languagefile.rb +0 -64
  115. data/lang/jp/rwdcore/languagefile.rb +0 -72
  116. data/lang/nl/rwdcore/languagefile.rb +0 -75
  117. data/lib/temp.rb +0 -1
  118. data/zips/rwdwcalc-0.61.zip +0 -0
  119. data/zips/rwdwgutenberg-0.09.zip +0 -0
  120. data/zips/rwdwhypernote-0.13.zip +0 -0
  121. data/zips/rwdwshell-1.04.zip +0 -0
  122. 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
@@ -4,8 +4,8 @@
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=true
8
- $VERBOSE=true
7
+ $DEBUG=false
8
+ $VERBOSE=false
9
9
 
10
10
  class RwdTinker < RWDialog
11
11
 
@@ -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
- # Help files for RwdTinker core
1
+ # this code loads the help text
2
2
 
3
-
4
- :general_help => "You can work with Applets: go to 'Selection tab', <br>
5
- On that back screen you will find:<br>
6
- List Applets: you can see and delete installed applets<br>
7
- List Zips: you can see lists of applets that you can install<br>
8
- Edit Configuration: You can view the rwdtinker configuration and change it<br>
9
- Diagnostic Tab: You can view the environments variables that rwdtinker is running with<br>
10
- ",
11
- :network_help => "Using over a Network: To serve the application over your local LAN,change the last line in the<br>
12
- init.rb file to something like:\n<br>
13
- RwdTinker.file(RWDFile).serve(8080, '-r' ? '.rwduids' : nil)\n<br>
14
- Then you should be able to login at: http://yourhostname:8080",
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:7705/" + @a_tinkerdocumentinput
4
+ tinkerdocumenturl = "http://localhost:#{$port}/" + @a_tinkerdocumentinput
5
5
  Thread.new( tinkerdocumenturl){ |t| `#{Browser_Exe} #{tinkerdocumenturl}` }
6
6
  end
7
7
 
@@ -1,5 +1,5 @@
1
1
 
2
- def rwdwhypernote_0_13()
2
+ def rwdwhypernote()
3
3
  $tinkerdocumentsarray.delete_if {|x| x == "HowTo_HyperNote.txt"}
4
4
  $tinkerhelpaboutarray.delete_if {|x| x == "RwdHypernote"}
5
5
  Helptext.delete_if {|key, value| key == :rwdhypernote_generalhelp}
@@ -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
- @hypernotetxt_directory = temp_dir
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
- @noterecordsresult = ""
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
- @hypernotetxt_directory = temp_topdirectory
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
- $notesarray = $notesarray | ["#{x}"]
17
+ notesarray = notesarray | ["#{x}"]
18
18
  end
19
19
  end
20
- end
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
- $notesarray = [""]
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
- findnotefilesh(x + "/**")
45
+ notesarray = findnotefilesh(x + "/**")
45
46
  end
46
47
  end
47
- @notedirectoriesresult = ""
48
+
48
49
  a_notedatahtml3 = ""
49
- $notesarray.delete_if { |x| x < " " }
50
- $notesarray.each { |xarr| a_notedatahtml3 += "<a href='#{xarr}'>#{xarr}</a></href><br>"}
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
- $notesarray = $notesarray | ["#{x}"]
22
+ notesarray = notesarray | ["#{x}"]
23
23
  end
24
24
  end
25
- end
25
+ end
26
+ return notesarray
26
27
  end
27
28
 
28
29
  def listnotedirshtml2
29
30
 
30
- if $temp_rwdhypernote_directory.to_s.empty?
31
+ if $temp_rwdhypernote_directory2.to_s.empty?
31
32
  startlangdir = $rwdhypernote_directory
32
33
  else
33
- startlangdir = $temp_rwdhypernote_directory
34
+ startlangdir = $temp_rwdhypernote_directory2
34
35
  end
35
36
 
36
- $notesarray = [""]
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
- findnotefilesh2(x + "/**")
49
+ notesarray = findnotefilesh2(x + "/**")
65
50
  end
66
51
  end
67
- @notedirectoriesresult2 = ""
68
- @noterecordsresult2 = $notesarray.entries.sort.rwd_method("fillhypernotenameh2")
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
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'fileutils'
5
5
 
6
- @a_hypconfigurationfilename = "rwdwhypernote-" + RwdHyperNoteVersion + ".cnf"
6
+ @a_hypconfigurationfilename = "rwdwhypernote.cnf"
7
7
 
8
8
 
9
9
  begin # exception trapped block
@@ -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-" + RwdHyperNoteVersion + ".cnf"
4
+ tmpfilename = "rwdwhypernote.cnf"
5
5
  configfiletoload = File.join(ConfigurationDir, tmpfilename )
6
6
  begin
7
7
  load configfiletoload
@@ -3,7 +3,7 @@
3
3
  require 'fileutils'
4
4
 
5
5
 
6
- newname = "rwdwhypernote-" + RwdHyperNoteVersion + ".cnf" # grab the filename to create
6
+ newname = "rwdwhypernote.cnf" # grab the filename to create
7
7
  newdata = @a_hypconfigurationfile
8
8
 
9
9