rwdhypernote 0.11 → 0.12

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 (189) hide show
  1. data/Notes/changes.lnk +0 -0
  2. data/Notes/changes.txt +0 -0
  3. data/Readme.txt +452 -130
  4. data/code/01rwdcore/01rwdcore.rb +4 -0
  5. data/code/01rwdcore/02helptexthashbegin.rb +0 -0
  6. data/code/01rwdcore/03helptexthash.rb +1 -9
  7. data/code/01rwdcore/04helptextend.rb +0 -0
  8. data/code/01rwdcore/jumplinkcommand.rb +1 -1
  9. data/code/01rwdcore/openhelpwindow.rb +1 -1
  10. data/code/01rwdcore/returntomain.rb +0 -0
  11. data/code/01rwdcore/rundocuments.rb +0 -0
  12. data/code/01rwdcore/runeditconfiguration.rb +0 -0
  13. data/code/01rwdcore/runhelpabout.rb +0 -0
  14. data/code/01rwdcore/runopentinkerdocument.rb +0 -0
  15. data/code/01rwdcore/rwdtinkerversion.rb +1 -1
  16. data/code/01rwdcore/rwdwindowreturn.rb +0 -0
  17. data/code/01rwdcore/selectiontab.rb +0 -0
  18. data/code/01rwdcore/setuphelpaboutoptions.rb +0 -0
  19. data/code/01rwdcore/setuptinkerdocuments.rb +0 -0
  20. data/code/01rwdcore/test_cases.rb +0 -0
  21. data/code/01rwdcore/test_harness.rb +0 -0
  22. data/code/01rwdcore/uploadreturns.rb +0 -0
  23. data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
  24. data/code/superant.com.hypernote/0uninstallapplet.rb +14 -0
  25. data/code/superant.com.hypernote/archivehypernote.rb +0 -0
  26. data/code/superant.com.hypernote/changehypernotename.rb +0 -0
  27. data/code/superant.com.hypernote/clearhypernotescreendisplay.rb +0 -0
  28. data/code/superant.com.hypernote/clearlinkscreendisplay.rb +0 -0
  29. data/code/superant.com.hypernote/copyfilename.rb +0 -0
  30. data/code/superant.com.hypernote/createnewnote.rb +0 -0
  31. data/code/superant.com.hypernote/createnewnotehtml.rb +0 -0
  32. data/code/superant.com.hypernote/deletehypernoterecord.rb +0 -0
  33. data/code/superant.com.hypernote/helptexthashrwdhypernote.rb +0 -0
  34. data/code/superant.com.hypernote/hyperlinkcreatelinkfile.rb +0 -0
  35. data/code/superant.com.hypernote/listdirectories.rb +2 -0
  36. data/code/superant.com.hypernote/listhypernotelinks.rb +0 -0
  37. data/code/superant.com.hypernote/listhypernotes.rb +0 -0
  38. data/code/superant.com.hypernote/listlinknotes.rb +0 -0
  39. data/code/superant.com.hypernote/loadconfigurationrecord.rb +2 -2
  40. data/code/superant.com.hypernote/loadconfigurationvariables.rb +3 -2
  41. data/code/superant.com.hypernote/loadhtmlnoterecord.rb +1 -1
  42. data/code/superant.com.hypernote/loadhtmlnoterecord2.rb +1 -1
  43. data/code/superant.com.hypernote/loadlinksrecord.rb +0 -0
  44. data/code/superant.com.hypernote/loadnoterecord.rb +1 -1
  45. data/code/superant.com.hypernote/loadnoterecordhtml.rb +1 -1
  46. data/code/superant.com.hypernote/loadnoterecordhtml2.rb +1 -1
  47. data/code/superant.com.hypernote/openhelpwindowrwdhyernote.rb +0 -0
  48. data/code/superant.com.hypernote/{returntomain.rb → runhypernote.rb} +3 -3
  49. data/code/superant.com.hypernote/runwrdhypernotetxtwindow.rb +0 -0
  50. data/code/superant.com.hypernote/rwdhypernotereloadhtml.rb +0 -0
  51. data/code/superant.com.hypernote/rwdhypernoteresetdir.rb +0 -0
  52. data/code/superant.com.hypernote/rwdtinkerversion.rb +1 -1
  53. data/code/superant.com.hypernote/saveconfigurationrecord.rb +2 -1
  54. data/code/superant.com.hypernote/savehtmlhypernoterecord.rb +0 -0
  55. data/code/superant.com.hypernote/savehypernoterecord.rb +0 -0
  56. data/code/superant.com.hypernote/savelinkrecord.rb +0 -0
  57. data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +0 -0
  58. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -0
  59. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +239 -0
  60. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +3 -1
  61. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +17 -4
  62. data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +0 -0
  63. data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +0 -0
  64. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +0 -0
  65. data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +0 -0
  66. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +0 -0
  67. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +0 -0
  68. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +0 -0
  69. data/code/superant.com.rwdtinkerbackwindow/network.rb +0 -0
  70. data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +0 -0
  71. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +1 -5
  72. data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +0 -0
  73. data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +19 -6
  74. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
  75. data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +0 -0
  76. data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +4 -0
  77. data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +0 -0
  78. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +0 -0
  79. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +0 -0
  80. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +0 -0
  81. data/code/zz0applicationend/zz0end.rb +0 -0
  82. data/configuration/language.dist +2 -1
  83. data/configuration/rwdapplicationidentity.dist +2 -2
  84. data/configuration/rwdtinker.dist +5 -6
  85. data/configuration/{rwdhypernote.dist → rwdwhypernote-0.12.dist} +5 -2
  86. data/configuration/tinkerwin2variables.dist +3 -3
  87. data/ev/browser.rb +0 -0
  88. data/ev/ftools.rb +0 -0
  89. data/ev/mime.rb +0 -0
  90. data/ev/net.rb +2 -2
  91. data/ev/ruby.rb +0 -0
  92. data/ev/rwd.rb +30 -10
  93. data/ev/sgml.rb +0 -0
  94. data/ev/thread.rb +0 -0
  95. data/ev/tree.rb +0 -0
  96. data/ev/xml.rb +0 -0
  97. data/extras/rconftool.rb +0 -0
  98. data/extras/zip/ioextras.rb +0 -0
  99. data/extras/zip/stdrubyext.rb +0 -0
  100. data/extras/zip/tempfile_bugfixed.rb +0 -0
  101. data/extras/zip/zip.rb +3 -2
  102. data/extras/zip/zipfilesystem.rb +0 -0
  103. data/extras/zip/ziprequire.rb +0 -0
  104. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  105. data/gui/frontwindow0/viewlogo/cc0openphoto.rwd +22 -0
  106. data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +1 -1
  107. data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +2 -2
  108. data/gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd +0 -0
  109. data/gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd +0 -0
  110. data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +2 -2
  111. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +1 -1
  112. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd +0 -0
  113. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +1 -1
  114. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +2 -2
  115. data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +0 -0
  116. data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +1 -1
  117. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +2 -2
  118. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +0 -0
  119. data/gui/tinkerbackwindows/superant.com.hypernote/10appletbegin.rwd +4 -0
  120. data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/10htmlnote.rwd +0 -0
  121. data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/15editnote.rwd +0 -0
  122. data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/25html2note.rwd +0 -0
  123. data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.hypernote/67viewconfiguration.rwd +0 -0
  124. data/gui/tinkerbackwindows/superant.com.hypernote/81jumplinkcommands.rwd +17 -0
  125. data/gui/tinkerbackwindows/superant.com.hypernote/9end.rwd +6 -0
  126. data/gui/tinkerbackwindows/superant.com.hypernotetxt/00appname.rwd +0 -0
  127. data/gui/tinkerbackwindows/superant.com.hypernotetxt/10viewnote.rwd +0 -0
  128. data/gui/tinkerbackwindows/superant.com.hypernotetxt/20editlinks.rwd +0 -0
  129. data/gui/tinkerbackwindows/superant.com.hypernotetxt/30noteutilities.rwd +0 -0
  130. data/gui/tinkerbackwindows/superant.com.hypernotetxt/67viewconfiguration.rwd +0 -0
  131. data/gui/tinkerbackwindows/superant.com.hypernotetxt/81jumplinkcommands.rwd +0 -0
  132. data/gui/tinkerbackwindows/superant.com.hypernotetxt/9backend.rwd +0 -0
  133. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +1 -1
  134. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +9 -10
  135. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +5 -5
  136. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +9 -9
  137. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +2 -2
  138. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +1 -1
  139. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +3 -3
  140. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +0 -0
  141. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +0 -0
  142. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +0 -0
  143. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +2 -2
  144. data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +3 -3
  145. data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +0 -0
  146. data/init.rb +5 -5
  147. data/installed/hypernotedata2.inf +12 -0
  148. data/installed/rwdwhypernote-0.12.inf +10 -0
  149. data/installed/temp.rb +1 -0
  150. data/lang/en/rwdcore/languagefile.rb +57 -15
  151. data/lang/es/rwdcore/languagefile-es.rb +61 -13
  152. data/lang/fr/rwdcore/languagefile.rb +64 -0
  153. data/lang/jp/rwdcore/languagefile.rb +69 -6
  154. data/lang/nl/rwdcore/languagefile.rb +56 -0
  155. data/lib/temp.rb +0 -0
  156. data/rwd_files/HowTo_HyperNote.txt +8 -1
  157. data/rwd_files/HowTo_Tinker.txt +27 -0
  158. data/rwd_files/HowTo_TinkerWin2.txt +0 -0
  159. data/rwd_files/Readme.txt +0 -0
  160. data/rwd_files/RubyWebDialogs.html +0 -0
  161. data/rwd_files/favicon.ico +0 -0
  162. data/rwd_files/rdoc-style.css +0 -0
  163. data/rwd_files/rwdapplications.html +0 -0
  164. data/rwd_files/tinker.png +0 -0
  165. data/rwdconfig.dist +5 -3
  166. data/rwdhypernote.rb +1 -0
  167. data/tests/checkdepends.sh +0 -0
  168. data/tests/cleancnf.sh +2 -1
  169. data/tests/makedist-rwdwhypernote.rb +56 -0
  170. data/tests/makedist.rb +11 -5
  171. data/tests/rdep.rb +0 -0
  172. data/tests/totranslate.lang +0 -0
  173. data/zips/rwdwcalc-0.61.zip +0 -0
  174. data/zips/rwdwgutenberg-0.09.zip +0 -0
  175. data/zips/rwdwhypernote-0.12.zip +0 -0
  176. data/zips/rwdwshell-1.04.zip +0 -0
  177. data/zips/temp.rb +1 -0
  178. data/zips/wrubyslippers-1.06.zip +0 -0
  179. metadata +44 -34
  180. data/Notes/hypernote/hypernote01.html +0 -1
  181. data/Notes/hypernote/hypernote02.txt +0 -1
  182. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.htm +0 -14
  183. data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +0 -1
  184. data/Notes/rwdtinker/newnote.txt +0 -1
  185. data/Notes/rwdtinker/rwdtinker.html +0 -9
  186. data/code/superant.com.hypernote/jumplinkupdate.rb +0 -7
  187. data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +0 -96
  188. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +0 -33
  189. data/zips/rwdahelloworld-0.5.zip +0 -0
@@ -1,7 +1,8 @@
1
- ##VERSION:1.62
1
+ ##VERSION:1.69
2
2
  #language selection file
3
3
  ##NAME:$lang:0
4
4
  #$lang = "jp"
5
5
  $lang= "en"
6
6
  #$lang= "nl"
7
7
  #$lang= "es"
8
+ #$lang= "fr"
@@ -1,3 +1,3 @@
1
- ##VERSION:1.66
2
- $rwdapplicationidentity = "Rwdhypernote application"
1
+ ##VERSION:1.69
2
+ $rwdapplicationidentity = "rwdtinker main application"
3
3
 
@@ -1,4 +1,4 @@
1
- ##VERSION:1.66
1
+ ##VERSION:1.74
2
2
  ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
3
3
  CodeName = "rwdtinker"
4
4
  CodeNameFile = CodeName + ".rb"
@@ -9,11 +9,10 @@ LangDir = "lang"
9
9
  $help_topic = "general_help"
10
10
  $helptopicsarray = [ "general_help","network_help"]
11
11
  $prevouswindow ="main"
12
- $rwdcontrolports =["13713","13714","13715","13716","13717","13718"]
12
+ $rwdcontrolports =["13713","13714","13715","13716","13717","13718"] # remote control code not actived 2007
13
13
  $port = 7705
14
14
  $rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
15
15
  Browser_Exe = 'mozilla '
16
- $tinkerdocumentsarray +=["COPYING","HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
17
- RwdTinkerVersion = "1.66"
18
-
19
-
16
+ $tinkerdocumentsarray +=["HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
17
+ RwdTinkerVersion = "1.74"
18
+
@@ -1,4 +1,4 @@
1
- ##VERSION:0.11
1
+ ##VERSION:0.12
2
2
  ##NAME:$rwdhypernote_directory:0
3
3
  $rwdhypernote_directory = "Notes"
4
4
  ##NAME:$notesarray:0
@@ -13,5 +13,8 @@ $rwdhypernote_updatedirectory = "updates"
13
13
  $testharnessarray += ["rwdhypernote_all_tests"]
14
14
  $tinkerhelpaboutarray += ["RwdHypernote"]
15
15
  $tinkerdocumentsarray += ["HowTo_HyperNote.txt"]
16
- RwdHyperNoteVersion = "0.11"
16
+ JumpLink.update(:RwdHypernoteTXT=>"runrwdhypernotetxtwindow", :RwdHypernote=>"runrwdhypernotemain")
17
+ $rwdjumplink +=["RwdHypernote","RwdHypernoteTXT"]
18
+ ##NAME:RwdHyperNoteVersion:0
19
+ RwdHyperNoteVersion = "0.12"
17
20
 
@@ -1,4 +1,4 @@
1
- ##VERSION:1.66
1
+ ##VERSION:1.69
2
2
  TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
3
3
  ##NAME:$zipslocation:0
4
4
  $zipslocation = "zips" # location of applets to add
@@ -7,11 +7,11 @@ $zipslocation = "zips" # location of applets to add
7
7
  $xpcommand = " " # Linux machines
8
8
  # $xpcommand = "cmd /C " # XP machines with cmd shell
9
9
  ##NAME:$gemdirectory_withgemfiles:0
10
- $gemdirectory_withgemfiles = "/usr/lib/ruby/gems/1.8/gems"
10
+ $gemdirectory_withgemfiles = "/var/lib/gems/1.8/gems"
11
11
  # $gemdirectory_withgemfiles = "c:\\ruby\\lib\\ruby\\gems\\1.8\\gems" # XP machine
12
12
  ##NAME:$geminstalled_directory:0
13
13
  # $geminstalled_directory = "/ruby/lib/ruby/gems/1.8/gems" # XP machine
14
- $geminstalled_directory = "/usr/lib/ruby/gems/1.8/gems" # Debian Linux
14
+ $geminstalled_directory = "/var/lib/gems/1.8/gems" # Debian Linux
15
15
 
16
16
  RwdTinkerWin2Version = "0.8"
17
17
 
data/ev/browser.rb CHANGED
File without changes
data/ev/ftools.rb CHANGED
File without changes
data/ev/mime.rb CHANGED
File without changes
data/ev/net.rb CHANGED
@@ -784,8 +784,8 @@ class HTTPServer
784
784
  end
785
785
 
786
786
  if (not remote) or (remote and (auth.nil? or auth.empty? or authenticate(auth, realm, req, resp)))
787
- $stderr.puts "#{count2} #{Time.new.strftime("%Y-%m-%d %H:%M:%S")} #{ip} #{req.user} #{req.request.to_s.strip}"
788
-
787
+ # $stderr.puts "#{count2} #{Time.new.strftime("%Y-%m-%d %H:%M:%S")} #{ip} #{req.user} #{req.request.to_s.strip}"
788
+ 1 == 1
789
789
  begin
790
790
  yield(req, resp)
791
791
  rescue Exception => e
data/ev/ruby.rb CHANGED
File without changes
data/ev/rwd.rb CHANGED
@@ -635,7 +635,7 @@ class RWDWindow
635
635
 
636
636
  def initialize(rwd, window=nil)
637
637
  rwd = rwd.join("\n") if rwd.kind_of?(Array)
638
-
638
+
639
639
  if @@windows[rwd].nil?
640
640
  @@windows[rwd] = {}
641
641
  @@helpwindows[rwd] = {}
@@ -666,6 +666,8 @@ class RWDWindow
666
666
 
667
667
  vars = vars.deep_dup
668
668
 
669
+ begin # error wrap
670
+
669
671
  vars.each do |key, value|
670
672
  if not key.empty?
671
673
  if value.respond_to? "to_s"
@@ -721,6 +723,12 @@ class RWDWindow
721
723
 
722
724
  html
723
725
  end
726
+
727
+ rescue
728
+ if $DEBUG
729
+ $stderr.puts "error in RWDWindow - render method"
730
+ end
731
+ end
724
732
  end
725
733
 
726
734
  class RWDMessage < RWDWindow
@@ -763,8 +771,10 @@ class RWDDone < RWDWindow
763
771
  end
764
772
 
765
773
  class RWDialog
774
+
766
775
  def initialize(xml)
767
- @rwd_xml = xml
776
+ @rwd_xml = $rwd_gui_tinker
777
+ # change from default ev - was xml
768
778
  @rwd_exitbrowser = false
769
779
  @rwd_history = []
770
780
  @rwd_ignore_vars = []
@@ -818,6 +828,7 @@ class RWDialog
818
828
  help = false
819
829
  back = false
820
830
  tab = ""
831
+ @rwd_progress_thread = nil
821
832
  @rwd_msgtype = nil if @rwd_progress_thread.nil?
822
833
  @rwd_download = nil
823
834
  @rwd_download_file = nil
@@ -833,7 +844,7 @@ class RWDialog
833
844
  # Copy the vars from the window to vars. vars wil later on be copied to instance variables.
834
845
 
835
846
  post.sort.each do |key, value|
836
- puts "Post: #{key} -> #{value.from_html.inspect}" if $rwd_debug
847
+ puts "Post: #{key} -> #{value.from_html.inspect}" if $rwd_debug
837
848
 
838
849
  vars[key] = value.from_html
839
850
  end
@@ -910,7 +921,7 @@ class RWDialog
910
921
 
911
922
  if (not back) or @rwd_call_after_back.include?(@rwd_action)
912
923
  unless @rwd_action =~ /^rwd_/
913
- puts "Method: #{@rwd_action}(#{@rwd_args.join(", ")})" if $rwd_debug
924
+ puts "Method: #{@rwd_action}(#{@rwd_args.join(", ")})" if $rwd_debug
914
925
  if methods.include?(@rwd_action)
915
926
  method(@rwd_action).call(*@rwd_args)
916
927
  else
@@ -948,7 +959,7 @@ class RWDialog
948
959
  # just ignore.
949
960
 
950
961
  vars.sort.each do |key, value|
951
- puts "Pre: #{key} -> #{value.inspect}" if $rwd_debug
962
+ puts "Pre: #{key} -> #{value.inspect}" if $rwd_debug
952
963
  end
953
964
 
954
965
 
@@ -971,11 +982,20 @@ class RWDialog
971
982
  res << RWDError.new(@rwd_msg).render(pda) if @rwd_msgtype == "error"
972
983
  res << @rwd_msg if @rwd_msgtype == "text"
973
984
  else
974
- puts "Window: #{@rwd_window}" if $rwd_debug
975
- puts "Tab: #{@rwd_tab}" if $rwd_debug
976
-
977
- res << RWDWindow.new(@rwd_xml, @rwd_window).render(pda, @rwd_refresh_action, vars, @rwd_switches, help, @rwd_tab)
978
- end
985
+ puts "Window: #{@rwd_window}" if $rwd_debug
986
+ puts "Tab: #{@rwd_tab}" if $rwd_debug
987
+
988
+ begin # error block
989
+ if @rwd_window.empty?
990
+ @rwd_window = "main"
991
+ end
992
+ res << RWDWindow.new($rwd_gui_tinker, @rwd_window).render(pda, @rwd_refresh_action, vars, @rwd_switches, help, @rwd_tab)
993
+ rescue
994
+ if $DEBUG
995
+ $stderr.puts "error in render"
996
+ end
997
+ end
998
+ end
979
999
  end
980
1000
  end
981
1001
  end
data/ev/sgml.rb CHANGED
File without changes
data/ev/thread.rb CHANGED
File without changes
data/ev/tree.rb CHANGED
File without changes
data/ev/xml.rb CHANGED
File without changes
data/extras/rconftool.rb CHANGED
File without changes
File without changes
File without changes
File without changes
data/extras/zip/zip.rb CHANGED
@@ -1047,8 +1047,9 @@ module Zip
1047
1047
 
1048
1048
  def write_file(entry, destPath, continueOnExistsProc = proc { false })
1049
1049
  if File.exists?(destPath) && ! yield(entry, destPath)
1050
- raise ZipDestinationFileExistsError,
1051
- "Destination '#{destPath}' already exists"
1050
+
1051
+ # raise ZipDestinationFileExistsError,
1052
+ $stderr.puts "Destination '#{destPath}' already exists"
1052
1053
  end
1053
1054
  File.open(destPath, "wb") {
1054
1055
  |os|
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  $rwdguivar=
2
2
  "<application>
3
- <window name=\"main\" title=\"RwdHyperNote - RubyWebDialogs\">
3
+ <window name=\"main\" title=\"RwdHyperNote - RwdTinker\">
4
4
  <tabs>"
@@ -0,0 +1,22 @@
1
+ $rwdguivar=
2
+
3
+ "
4
+ <tab name=\"viewtinkerlogo\" caption=\"Tinker\">
5
+
6
+ <table>
7
+ <row> <p align=\"right\">#{Message[:tinker_logo]}</row>
8
+
9
+ </table>
10
+ <image src=\"tinker.png\"> </image>
11
+ <table>
12
+ <row> <p></row>
13
+
14
+ </table>
15
+ <horizontal>
16
+
17
+ <button caption=#{Message[:help]} action=\"runhelpwindow\"/>
18
+
19
+
20
+ </horizontal>
21
+
22
+ </tab>"
@@ -1,6 +1,6 @@
1
1
  $rwdguivar=
2
2
  "
3
- <tab name=\"selectiontab\" caption=\"Menu Panel\">
3
+ <tab name=\"selectiontab\" caption=#{Message[:menu_panel]}>
4
4
 
5
5
  <table>
6
6
  <row> <p align=\"right\">Open a new location </row>
@@ -1,7 +1,7 @@
1
1
  $rwdguivar=
2
2
  "
3
3
  <horizontal>
4
- <button caption=\"Show Jump Links\" action=\"showjumplinkoptions\"/>
4
+ <button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
5
5
 
6
6
  </horizontal>
7
7
  <table>
@@ -10,6 +10,6 @@ $rwdguivar=
10
10
  </table>
11
11
 
12
12
  <horizontal>
13
- <button caption=\"Jump to Application Location\" action=\"runjumplinkcommand\"/>
13
+ <button caption=#{Message[:jumptoapplication_location]} action=\"runjumplinkcommand\"/>
14
14
  </horizontal>
15
15
  "
@@ -1,7 +1,7 @@
1
1
  $rwdguivar=
2
2
  "
3
3
  <horizontal>
4
- <button caption=\"Show Documents List\" action=\"setuptinkerdocuments\"/>
4
+ <button caption=#{Message[:showdocument_list]} action=\"setuptinkerdocuments\"/>
5
5
 
6
6
  </horizontal>
7
7
  <table>
@@ -9,6 +9,6 @@ $rwdguivar=
9
9
 
10
10
  </table>
11
11
  <horizontal>
12
- <button caption=\"Open Document\" action=\"runopentinkerdocument\"/>
12
+ <button caption=#{Message[:open_document]} action=\"runopentinkerdocument\"/>
13
13
  </horizontal>
14
14
  "
@@ -1,7 +1,7 @@
1
1
  $rwdguivar=
2
2
  "
3
3
  <horizontal>
4
- <button caption=\"Help\" action=\"runhelpwindow\"/>
4
+ <button caption=#{Message[:help]} action=\"runhelpwindow\"/>
5
5
 
6
6
  </horizontal>
7
7
  </tab>"
@@ -1,3 +1,3 @@
1
1
  $rwdguivar=
2
2
  "
3
- <helpwindow name=\"main\" title=\"Help About\">"
3
+ <helpwindow name=\"main\" title=#{Message[:help_about]}>"
@@ -1,7 +1,7 @@
1
1
  $rwdguivar=
2
2
  "
3
3
  <horizontal>
4
- <button caption=\"Show Help About Links\" action=\"setuphelpaboutoptions\"/>
4
+ <button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
5
5
 
6
6
  </horizontal>
7
7
  <table>
@@ -10,6 +10,6 @@ $rwdguivar=
10
10
  </table>
11
11
 
12
12
  <horizontal>
13
- <button caption=\"Open Selected Help About\" action=\"runrwdtinkerversion\"/>
13
+ <button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
14
14
  </horizontal>
15
15
  "
@@ -1,3 +1,3 @@
1
1
  $rwdguivar=
2
2
  "
3
- <helpwindow name=\"tinkerbackwindow\" title=\"Help About\">"
3
+ <helpwindow name=\"tinkerbackwindow\" title=#{Message[:help_about]}>"
@@ -1,7 +1,7 @@
1
1
  $rwdguivar=
2
2
  "
3
3
  <horizontal>
4
- <button caption=\"Show Help About Links\" action=\"setuphelpaboutoptions\"/>
4
+ <button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
5
5
 
6
6
  </horizontal>
7
7
  <table>
@@ -10,6 +10,6 @@ $rwdguivar=
10
10
  </table>
11
11
 
12
12
  <horizontal>
13
- <button caption=\"Open Selected Help About\" action=\"runrwdtinkerversion\"/>
13
+ <button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
14
14
  </horizontal>
15
15
  "
@@ -0,0 +1,4 @@
1
+ $rwdguivar=
2
+ "<application>
3
+ <window name=\"rwdhypernotewindow\" title=\"RwdHypernote RwdTinker\">
4
+ <tabs>"
@@ -0,0 +1,17 @@
1
+ $rwdguivar=
2
+ "
3
+ <tab name=selectiontab caption=#{Message[:selection_tab]}>
4
+ <horizontal>
5
+ <button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
6
+
7
+ </horizontal>
8
+ <table>
9
+ <select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
10
+
11
+ </table>
12
+
13
+ <horizontal>
14
+ <button caption=#{Message[:jumptoapplication_location]} action=\"runjumplinkcommand\"/>
15
+ </horizontal>
16
+ </tab>
17
+ "
@@ -0,0 +1,6 @@
1
+ $rwdguivar=
2
+ "
3
+ </tabs>
4
+ </window>"
5
+
6
+
@@ -1,5 +1,5 @@
1
1
  $rwdguivar=
2
2
  "
3
- <window name = \"tinkerbackwindow\" title=\"Tinker Back Window\">
3
+ <window name = \"tinkerbackwindow\" title=#{Message[:tinkerback_window]}>
4
4
 
5
5
  <tabs>"
@@ -1,9 +1,9 @@
1
1
  $rwdguivar=
2
2
  "
3
- <tab name=\"rwdzipslister\" caption=\"List Zips\">
3
+ <tab name=\"rwdzipslister\" caption=#{Message[:list_zips]}>
4
4
 
5
5
  <table>
6
- <row> <p align=\"right\">File Name:</p> <text size=70 name=\"a_installapplet\"/> </row>
6
+ <row> <p align=\"right\">#{Message[:file_name]}</p> <text size=70 name=\"a_installapplet\"/> </row>
7
7
 
8
8
  </table>
9
9
 
@@ -11,26 +11,25 @@ $rwdguivar=
11
11
  <horizontal>
12
12
 
13
13
 
14
- <button caption=\"install (rwdtinker) applet\" action=\"installgemapplet\"/>
15
- <button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
16
-
17
- </horizontal>
14
+ <button caption=#{Message[:install_applet]} action=\"installgemapplet\"/>
15
+ <button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
16
+ </horizontal>
18
17
  <p>%installapplettext%</p>
19
18
 
20
19
  <horizontal>
21
20
 
22
- <button caption=\"view (rwdtinker) applet contents\" action=\"viewgemappletcontents\"/>
21
+ <button caption=#{Message[:viewapplet_contents]} action=\"viewgemappletcontents\"/>
23
22
  </horizontal>
24
23
  <p>%appletcontentstext%</p>
25
24
  <table>
26
- <row> <p align=\"right\">Click below to view the list of zip files </row>
25
+ <row> <p align=\"right\">#{Message[:clickbelowtoviewlistof_zip]} </row>
27
26
 
28
27
  </table>
29
28
 
30
29
  <horizontal>
31
- <button caption=\"List (zip directory) applets available for installing\" action=\"listzipfilestoinstall\"/>
30
+ <button caption=#{Message[:listappletsavailablefor_installation]} action=\"listzipfilestoinstall\"/>
32
31
 
33
- <button caption=\"List applets (in the GEM Directory) available for installing\" action=\"listgemzips\"/>
32
+ <button caption=#{Message[:listappletsinthegem_directory]} action=\"listgemzips\"/>
34
33
 
35
34
  </horizontal>
36
35
 
@@ -3,12 +3,12 @@ $rwdguivar=
3
3
  <tab name=\"superantcomremotezipsinstall\" caption=\"Install Remote Applets\">
4
4
 
5
5
  <table>
6
- <row> <p align=\"right\">File Name:</p> <text size=70 name=\"superantcominstallremoteappletinput\"/> </row>
6
+ <row> <p align=\"right\">#{Message[:file_name]}</p> <text size=70 name=\"superantcominstallremoteappletinput\"/> </row>
7
7
 
8
8
  </table>
9
9
  <horizontal>
10
10
  <button caption=\"install remote Gem applet package\" action=\"superantcominstallremotegemapplet\"/>
11
- <button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
11
+ <button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
12
12
 
13
13
  </horizontal>
14
14
  <p>%superantcominstallremotegemappletresult%</p>
@@ -17,7 +17,7 @@ $rwdguivar=
17
17
 
18
18
 
19
19
 
20
- <button caption=\"view already installed GEM applets\" action=\"superantcomshowgemfiledirs\"/>
20
+ <button caption=#{Message[:viewalreadyinstalled_applications]} action=\"superantcomshowgemfiledirs\"/>
21
21
  </horizontal>
22
22
  <p>%%superantcomshowgemappletdirsresult%%</p>
23
23
 
@@ -26,13 +26,13 @@ $rwdguivar=
26
26
 
27
27
 
28
28
  <table>
29
- <row> <p align=\"right\">Click below to view the list of zip files </row>
29
+ <row> <p align=\"right\">#{Message[:clickbelowtoviewlistof_zip]} </row>
30
30
 
31
31
  </table>
32
32
 
33
33
  <horizontal>
34
34
 
35
- <button caption=\"List applets in the Remote GEM Repository available for downloading\" action=\"superantcomremotegemlist\"/>
35
+ <button caption=#{Message[:listappletsinthegem_directory]} action=\"superantcomremotegemlist\"/>
36
36
 
37
37
  </horizontal>
38
38
  <p>%superantcomremotegemappletsfullresult%</p>
@@ -1,38 +1,38 @@
1
1
  $rwdguivar=
2
2
  "
3
- <tab name=\"filelister\" caption=\"List Applets\">
3
+ <tab name=\"filelister\" caption=#{Message[:list_applets]}>
4
4
 
5
5
 
6
6
  <table>
7
- <row> <p align=\"right\">File Name:</p> <text name=\"a_installlist\"/> </row>
7
+ <row> <p align=\"right\">#{Message[:file_name]}</p> <text name=\"a_installlist\"/> </row>
8
8
 
9
9
  </table>
10
10
 
11
11
  <horizontal>
12
- <button caption=\"View Install Text\" action=\"openappletname\"/>
13
- <button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
12
+ <button caption=#{Message[:viewinstalled_text]} action=\"openappletname\"/>
13
+ <button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
14
14
  </horizontal>
15
15
  <p>%displaytext%</p>
16
16
 
17
17
  <table>
18
- <row> <p align=\"right\">File Name:</p> <text name=\"a_removeapplet\"/> </row>
18
+ <row> <p align=\"right\">#{Message[:file_name]}</p> <text name=\"a_removeapplet\"/> </row>
19
19
 
20
20
  </table>
21
21
 
22
22
  <p>%removeapplettext%</p>
23
23
  <horizontal>
24
- <button caption=\"remove applet\" action=\"removeapplet\"/>
25
- <button caption=\"Cancel\" action=\"main\"/>
24
+ <button caption=#{Message[:remove_applet]} action=\"removeapplet\"/>
25
+ <button caption=#{Message[:cancel]} action=\"main\"/>
26
26
 
27
27
  </horizontal>
28
28
  <table>
29
29
  <row> <p> </row>
30
- <row> <p align=\"right\">View the list of installation files </row>
30
+ <row> <p align=\"right\">#{Message[:viewlistinstall_files]} </row>
31
31
 
32
32
  </table>
33
33
  <horizontal>
34
34
 
35
- <button caption=\"List Files\" action=\"listinstalledfiles\"/>
35
+ <button caption=#{Message[:list_files]} action=\"listinstalledfiles\"/>
36
36
 
37
37
  </horizontal>
38
38
 
@@ -7,9 +7,9 @@ $rwdguivar=
7
7
  <row> <p> </row>
8
8
  <horizontal>
9
9
  <button caption=\"Load Record\" action=\"loadconfigurationrecord\"/>
10
- <button caption=\"Save Changes\" action=\"saveconfigurationrecord\"/>
10
+ <button caption=#{Message[:save_changes]} action=\"saveconfigurationrecord\"/>
11
11
  <button caption=\"Reload Variables\" action=\"loadconfigurationvariables\"/>
12
- <button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
12
+ <button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
13
13
 
14
14
 
15
15
 
@@ -2,7 +2,7 @@ $rwdguivar=
2
2
  "
3
3
  <tab name=\"diagnostictab\" caption=\"Diagnostic Tab\">
4
4
  <horizontal>
5
- <button caption=\"View Platform Information\" action=\"runviewplatform\"/>
5
+ <button caption=#{Message[:viewplatform_information]} action=\"runviewplatform\"/>
6
6
 
7
7
 
8
8
  </horizontal>
@@ -1,8 +1,8 @@
1
1
  $rwdguivar=
2
2
  "
3
- <tab name=selectiontab caption=\"Selection Tab\">
3
+ <tab name=selectiontab caption=#{Message[:selection_tab]}>
4
4
  <horizontal>
5
- <button caption=\"Show Jump Links\" action=\"showjumplinkoptions\"/>
5
+ <button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
6
6
 
7
7
  </horizontal>
8
8
  <table>
@@ -11,7 +11,7 @@ $rwdguivar=
11
11
  </table>
12
12
 
13
13
  <horizontal>
14
- <button caption=\"Jump to Application Location\" action=\"runjumplinkcommand\"/>
14
+ <button caption=#{Message[:jumptoapplication_location]} action=\"runjumplinkcommand\"/>
15
15
  </horizontal>
16
16
  </tab>
17
17
  "