rwdtorrent 0.05 → 0.06

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data/Readme.txt +375 -70
  2. data/bin/rwdtorrent +0 -0
  3. data/code/01rwdcore/01rwdcore.rb +4 -0
  4. data/code/01rwdcore/03helptexthash.rb +13 -21
  5. data/code/01rwdcore/jumplinkcommand.rb +1 -1
  6. data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
  7. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +239 -0
  8. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +3 -1
  9. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +17 -4
  10. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +1 -5
  11. data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +19 -6
  12. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
  13. data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +4 -0
  14. data/code/superant.com.rwdtorrent/0uninstallapplet.rb +13 -0
  15. data/code/superant.com.rwdtorrent/loadconfigurationrecord.rb +2 -2
  16. data/code/superant.com.rwdtorrent/loadconfigurationvariables.rb +3 -2
  17. data/code/superant.com.rwdtorrent/returntomain.rb +2 -2
  18. data/code/superant.com.rwdtorrent/runeditconfiguration.rb +1 -1
  19. data/code/superant.com.rwdtorrent/runtorrentwindow.rb +2 -2
  20. data/code/superant.com.rwdtorrent/rwdtinkerversion.rb +10 -0
  21. data/code/superant.com.rwdtorrent/saveconfigurationrecord.rb +1 -1
  22. data/code/superant.com.rwdtorrent/test_cases.rb +1 -2
  23. data/code/superant.com.rwdtorrent/viewtorrentmetafile.rb +3 -1
  24. data/configuration/language.dist +2 -1
  25. data/configuration/rwdapplicationidentity.dist +1 -1
  26. data/configuration/rwdtinker.dist +5 -7
  27. data/configuration/{rwdtorrent.dist → rwdwtorrent-0.06.dist} +7 -2
  28. data/configuration/tinkerwin2variables.dist +3 -3
  29. data/ev/net.rb +2 -2
  30. data/ev/rwd.rb +31 -11
  31. data/extras/zip/zip.rb +3 -2
  32. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  33. data/gui/frontwindow0/viewlogo/cc0openphoto.rwd +22 -0
  34. data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +1 -1
  35. data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +2 -2
  36. data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +2 -2
  37. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +1 -1
  38. data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +1 -1
  39. data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +2 -2
  40. data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +1 -1
  41. data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +2 -2
  42. data/gui/tinkerbackwindows/superant.com.rwdtorrent/10appletbegin.rwd +4 -0
  43. data/gui/tinkerbackwindows/superant.com.rwdtorrent/81jumplinkcommands.rwd +17 -0
  44. data/gui/tinkerbackwindows/superant.com.rwdtorrent/9end.rwd +6 -0
  45. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +1 -1
  46. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +9 -10
  47. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +5 -5
  48. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +9 -9
  49. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +2 -2
  50. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +1 -1
  51. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +3 -3
  52. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +1 -1
  53. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +2 -2
  54. data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +3 -3
  55. data/init.rb +5 -5
  56. data/installed/rwdwtorrent-0.06.inf +14 -0
  57. data/installed/temp.rb +1 -0
  58. data/lang/en/rwdcore/languagefile.rb +57 -15
  59. data/lang/es/rwdcore/languagefile-es.rb +61 -13
  60. data/lang/fr/rwdcore/languagefile.rb +64 -0
  61. data/lang/jp/rwdcore/languagefile.rb +69 -6
  62. data/lang/nl/rwdcore/languagefile.rb +56 -0
  63. data/rwd_files/HowTo_Tinker.txt +6 -0
  64. data/rwd_files/HowTo_Torrent.txt +3 -0
  65. data/rwdconfig.dist +7 -3
  66. data/rwdtorrent.rb +1 -0
  67. data/tests/cleancnf.sh +2 -1
  68. data/tests/makedist-rwdwtorrent.rb +56 -0
  69. data/tests/makedist.rb +12 -8
  70. data/torrentfiles/Google Chrome Comic Book [mininova].torrent +0 -0
  71. data/zips/temp.rb +1 -0
  72. metadata +69 -52
  73. data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +0 -96
  74. data/configuration/rwdtorrenthelpabout.rb +0 -14
  75. data/downloads/nodownloads.txt +0 -1
  76. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +0 -33
  77. data/installed/rwdviewlogo-0.4.inf +0 -4
  78. data/torrentfiles/knoppix-std-0.1.iso.torrent +0 -0
  79. data/zips/rwdahelloworld-0.5.zip +0 -0
  80. /data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/10viewnote.rwd +0 -0
  81. /data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/30viewtorrent.rwd +0 -0
  82. /data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/40rwdtorrentrefresh.rwd +0 -0
  83. /data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/67viewconfiguration.rwd +0 -0
data/ev/rwd.rb CHANGED
@@ -56,7 +56,7 @@ ENV["RWDTHEME"] = (ENV["RWDTHEME"] or "DEFAULT")
56
56
 
57
57
  #trap("INT") {puts "Terminating..." ; exit}
58
58
 
59
- #$SAFE = 2
59
+ $SAFE = 0
60
60
 
61
61
  class IE
62
62
  def initialize(url)
@@ -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/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|
@@ -1,4 +1,4 @@
1
1
  $rwdguivar=
2
2
  "<application>
3
- <window name=\"main\" title=\"RwdTinker - RubyWebDialogs\">
3
+ <window name=\"main\" title=\"RwdTorrent -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=\"rwdtorrentwindow\" title=\"RwdTorrent 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
  "
@@ -10,7 +10,7 @@ $rwdguivar=
10
10
 
11
11
  </table>
12
12
  <horizontal>
13
- %rwdhelpdataoutput%
13
+ %%rwdhelpdataoutput%%
14
14
  </horizontal>
15
15
  <row> <p></row>
16
16
  <table>
@@ -1,6 +1,6 @@
1
1
  $rwdguivar=
2
2
  "
3
- <window name = \"applicationversion\" title=\"Application Version\">
3
+ <window name = \"applicationversion\" title=#{Message[:application_version]}>
4
4
 
5
5
  <row> <p></row>
6
6
  <p>%versionappnamedisplay%</p>
@@ -11,7 +11,7 @@ $rwdguivar=
11
11
  <p>%versionnumberdisplay%</p>
12
12
 
13
13
  <horizontal>
14
- <button caption=Return action=returntomain/>
14
+ <button caption=#{Message[:return]} action=returntomain/>
15
15
  </horizontal>
16
16
 
17
17
  </window>"
@@ -1,8 +1,8 @@
1
1
  $rwdguivar=
2
2
  "
3
- <window name=tinkerhelpabout title=\"Help About Window\">
3
+ <window name=tinkerhelpabout title=#{Message[:help_about]}>
4
4
  <horizontal>
5
- <button caption=\"Show Help About Links\" action=\"setuphelpaboutoptions\"/>
5
+ <button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
6
6
 
7
7
  </horizontal>
8
8
  <table>
@@ -11,7 +11,7 @@ $rwdguivar=
11
11
  </table>
12
12
 
13
13
  <horizontal>
14
- <button caption=\"Open Selected Help About\" action=\"runrwdtinkerversion\"/>
14
+ <button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
15
15
  </horizontal>
16
16
  </window>
17
17
  "
data/init.rb CHANGED
@@ -18,7 +18,7 @@
18
18
  #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
19
  #*
20
20
  #* For further information please contact the author by e-mail
21
- #* at "steven@superant.com".
21
+ #* at "smalllinux@gmail.com".
22
22
  #***********************************************************************/
23
23
 
24
24
  require "ev/rwd"
@@ -234,8 +234,8 @@ Rconftool::install(configdist,confignew) #integrates new file with old
234
234
  end
235
235
 
236
236
  # gui variable is done
237
- guiRWD = $tempdoc
238
-
237
+ guiRWD = ""
238
+ $rwd_gui_tinker = $tempdoc
239
239
  require 'socket' # Network stuff
240
240
  host = "127.0.0.1"
241
241
  port = $port
@@ -273,5 +273,5 @@ Rconftool::install(configdist,confignew) #integrates new file with old
273
273
 
274
274
  end
275
275
 
276
-
277
- RwdTinker.new( guiRWD).serve(port) # start the main class and program
276
+
277
+ RwdTinker.new( $rwd_gui_tinker ).serve(port) # start the main class and program
@@ -0,0 +1,14 @@
1
+ # rwdwtorrent installed elements
2
+ gui/tinkerbackwindows/superant.com.torrentdisplay
3
+ gui/tinkerbackwindows/superant.com.rwdtorrent
4
+ code/superant.com.rwdtorrent
5
+ tests/makedist-rwdwtorrent.rb
6
+ tests/gemspec-rwdwtorrent
7
+ rwd_files/HowTo_Torrent.txt
8
+ downloads/nodownloads.txt
9
+ torrentfiles
10
+ configuration/rwdwtorrent-0.06.dist
11
+ configuration/rwdwtorrent-0.06.cnf
12
+ extras/rubytorrent
13
+ extras/rubytorrent.rb
14
+
data/installed/temp.rb ADDED
@@ -0,0 +1 @@
1
+ # this file does nothing
@@ -1,16 +1,58 @@
1
1
  # English Language files for RwdTinker core
2
-
3
-
4
- :applet_installed => "applet installed!.",
5
- :clickfor_version => '"click for version"',
6
- :documents => '"Documents"',
7
- :help => '"Help"',
8
- :module_unknown => "Module unknown",
9
- :next => '"Next"',
10
- :rwdtinker_window_2 => "RwdTinker Window 2",
11
- :rwdtinker => "RwdTinker",
12
- :rwdtinker_help_window => '"RwdTinker Help Window"',
13
- :rwdtinker_back_window => '"RwdTinker Back Window"',
14
- :rwdtinker_help => '"RwdTinker Help"',
15
- :tinker_logo => "Tinker Logo",
16
- :selection_panel => '"Selection Panel"',
2
+
3
+ :applet_installed => '"applet installed!"',
4
+ :application_version => '"Application Version"',
5
+ :clear => "Clear",
6
+ :cancel => "Cancel",
7
+ :clickfor_version => "Click for Version" ,
8
+ :clickbelowtoviewlistof_zip => '"click below to view lists of zips"',
9
+ :documents => '"Documents"',
10
+ :edit => "edit" ,
11
+ :file_name => '"File Name:"',
12
+ :fill_record => '"Fill Record"',
13
+ :help => '"Help"',
14
+ :help_about => '"Help About"',
15
+ :install_applet => '"install (rwdtinker) applet"',
16
+ :jumptoapplication_location => '"Jump to Application Location"',
17
+ :list_applets => '"List Applets"',
18
+ :listappletsinthegem_directory => '"List applets in the Gem Directory"',
19
+ :listappletsavailablefor_installation => "List applets available for installation",
20
+ :list_files => '"List Files"',
21
+ :list_installed_gems => '"List installed Gems"' ,
22
+ :list_photos => '"List Photos"',
23
+ :list_zips => '"List Zips"',
24
+ :listzipdirappletsavailable => '"List (zip directory) applets available for installation"',
25
+ :menu_panel => '"Menu Panel"',
26
+ :module_unknown => '"Unknown Module"',
27
+ :next => '"Next"',
28
+ :open => "Open",
29
+ :open_document => '"Open Document"',
30
+ :openselectedhelp_about => '"Open selected help about"',
31
+ :reload_variables => '"Reload Variables"' ,
32
+ :remove_applet => '"remove applet"',
33
+ :return => "Return",
34
+ :rwdtinker_window_2 => "RwdTinker Window 2",
35
+ :rwdtinker => "RwdTinker",
36
+ :rwdtinker_back_window => '"RwdTinker Back Window"',
37
+ :rwdtinker_help => '"RwdTinker Help"',
38
+ :rwdtinker_help_window => '"RwdTinker Help Window"',
39
+ :showjump_links => '"Show Jump Links"',
40
+ :showdocument_list => '"Show Document List"',
41
+ :showhelpabout_links => '"Show Help About Links"',
42
+
43
+ :save => "Save" ,
44
+ :save_changes => '"Save Changes"',
45
+ :selection_panel => '"Selection Panel"',
46
+ :selection_tab => '"Selection Tab"',
47
+ :tinker_logo => "Tinker Logo",
48
+ :tinkerback_window => '"Tinker Back Window"',
49
+ :viewapplet_contents => '"View Applet Contents"',
50
+ :viewalreadyinstalled_applications => '"View already installed GEM applications"',
51
+ :viewinstalled_text => '"View Install Text"',
52
+ :view_platform => '"view platform"',
53
+ :viewplatform_information => '"View Platform Information"',
54
+ :view_event => '"View event"',
55
+ :viewinstall_text => '"View Install Text"' ,
56
+ :viewlistinstall_files => '"View List of Installed Files"',
57
+ :view_photo => '"View Photo"',
58
+ :window => "Window" ,