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
@@ -1,96 +0,0 @@
1
- # Bind message passing socket to rwdtinker application
2
- def runcontrolcommand
3
- require 'socket'
4
-
5
- # Change this line...
6
- ip = '127.0.0.1'
7
- # And this one...
8
- port = $rwdcontrolport1
9
- if @a_remoteportinput
10
- port = @a_remoteportinput.to_i
11
- end
12
-
13
- commandtext = @a_remotecommandinput.to_s
14
- remotehostnotfound = true
15
- if (commandtext == "stop")
16
- begin
17
- client = UDPSocket::new()
18
- client.send(commandtext, 0, ip, port)
19
- @socket = UDPSocket::new()
20
- @socket.bind(ip, port)
21
- # Rescue the "Address in use" error
22
- rescue Errno::EADDRINUSE
23
-
24
- databack, info = client.recv(128)
25
- @remotecommandresult = databack
26
- @lastremotecommand = "rwdtinker remote:: Port #{port} on host #{ip} ."
27
- remotehostnotfound = false
28
-
29
- # Rescue the "Address not available" error
30
- rescue Errno::EADDRNOTAVAIL
31
- puts "Network plugin: Address #{host} is not available to bind."
32
-
33
- # Rescue "permission denied errors
34
- rescue Errno::EACCES
35
- puts "Network plugin: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
36
-
37
- # Rescue all other errors
38
- rescue
39
- puts "Network plugin: An error occured."
40
-
41
- # Rescue all other errors
42
- end
43
- if remotehostnotfound
44
- @remotecommandresult = "Remote Host not running"
45
- end
46
- @socket.close
47
- # Close the socket after use
48
- client.close()
49
- end
50
-
51
- remotehostnotfound = true
52
- if (commandtext == "query")
53
- begin
54
- client = UDPSocket::new()
55
- client.send(commandtext, 0, ip, port)
56
- @socket = UDPSocket::new()
57
- @socket.bind(ip, port)
58
- # Rescue the "Address in use" error
59
- rescue Errno::EADDRINUSE
60
-
61
- databack, info = client.recv(128)
62
- @remotecommandresult = databack
63
- @lastremotecommand = "rwdtinker remote: Port #{port} on host #{ip} "
64
- remotehostnotfound = false
65
-
66
- # Rescue the "Address not available' error
67
- rescue Errno::EADDRNOTAVAIL
68
- puts "Network plugin: Address #{host} is not available to bind."
69
-
70
- # Rescue "permission denied errors
71
- rescue Errno::EACCES
72
- puts "Network plugin: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
73
-
74
- # Rescue all other errors
75
- rescue
76
- puts "Network plugin: An error occured."
77
-
78
- # Rescue all other errors
79
- end
80
- @socket.close
81
-
82
- # Close the socket after use
83
- client.close()
84
- end
85
-
86
- if remotehostnotfound
87
- @remotecommandresult = "Remote Host not running"
88
- end
89
- end
90
-
91
- # list the remote control options on the screen
92
- def showremoteportoptions
93
-
94
- @remoteportoptions = $rwdcontrolports.rwd_options
95
- @remotecommandoptions = ["query","stop"].rwd_options
96
- end
@@ -1,14 +0,0 @@
1
- # Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
2
- # This application is a framework for writing programs from RubyWebDialogs
3
- # http://www.erikveen.dds.nl/rubywebdialogs/index.html
4
- # For more information about RwdTinker see http://www.rubyforge.net/projects/rwdapplications
5
-
6
- # return the version constant defined in the config file
7
- def runrwdtorrentversion
8
- @rwd_window = "applicationversion"
9
- @versionappnamedisplay = "RwdTorrent"
10
- @versioncopyrightdisplay = "(c) 2005 Steven Gibson "
11
- @versionnumberdisplay = "Version " + RwdTorrentVersion
12
-
13
- end
14
-
@@ -1 +0,0 @@
1
- Linux
@@ -1,33 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"rwdremotecontrol\" caption=\"Remote Controls\">
4
- <p></p>
5
- Query remote rwdtinker applications (not yet functional on XP)
6
- <horizontal>
7
- <button caption=\"Start the Remote Control for This Application\" action=\"network_start\"/>
8
- <button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
9
-
10
- </horizontal>
11
- <p>%viewremotecommandresult%</p>
12
- <horizontal>
13
-
14
- <button caption=\"Show remote Command Choices\" action=\"showremoteportoptions\"/>
15
-
16
- </horizontal>
17
- <table>
18
- <select name=\"a_remoteportinput\"> %%remoteportoptions%% </select>
19
-
20
- </table>
21
-
22
- <table>
23
- <select name=\"a_remotecommandinput\"> %%remotecommandoptions%% </select>
24
-
25
- </table>
26
- <horizontal>
27
- <button caption=\"Run Command\" action=\"runcontrolcommand\"/>
28
- <button caption=\"Cancel\" action=\"main\"/>
29
- </horizontal>
30
- <p> Remote Port</p>
31
- <p>%lastremotecommand%</p>
32
- <p>%remotecommandresult%</p>
33
- </tab>"
@@ -1,4 +0,0 @@
1
- # rwdviewlogo - small applet to display one picture
2
- code/dd0viewphoto
3
- gui/cc0viewphoto
4
- rwd_files/tinker.png
Binary file