rwdtorrent 0.05 → 0.06
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +375 -70
- data/bin/rwdtorrent +0 -0
- data/code/01rwdcore/01rwdcore.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +13 -21
- data/code/01rwdcore/jumplinkcommand.rb +1 -1
- data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +239 -0
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +3 -1
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +17 -4
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +1 -5
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +19 -6
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +4 -0
- data/code/superant.com.rwdtorrent/0uninstallapplet.rb +13 -0
- data/code/superant.com.rwdtorrent/loadconfigurationrecord.rb +2 -2
- data/code/superant.com.rwdtorrent/loadconfigurationvariables.rb +3 -2
- data/code/superant.com.rwdtorrent/returntomain.rb +2 -2
- data/code/superant.com.rwdtorrent/runeditconfiguration.rb +1 -1
- data/code/superant.com.rwdtorrent/runtorrentwindow.rb +2 -2
- data/code/superant.com.rwdtorrent/rwdtinkerversion.rb +10 -0
- data/code/superant.com.rwdtorrent/saveconfigurationrecord.rb +1 -1
- data/code/superant.com.rwdtorrent/test_cases.rb +1 -2
- data/code/superant.com.rwdtorrent/viewtorrentmetafile.rb +3 -1
- data/configuration/language.dist +2 -1
- data/configuration/rwdapplicationidentity.dist +1 -1
- data/configuration/rwdtinker.dist +5 -7
- data/configuration/{rwdtorrent.dist → rwdwtorrent-0.06.dist} +7 -2
- data/configuration/tinkerwin2variables.dist +3 -3
- data/ev/net.rb +2 -2
- data/ev/rwd.rb +31 -11
- data/extras/zip/zip.rb +3 -2
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/viewlogo/cc0openphoto.rwd +22 -0
- data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +1 -1
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +2 -2
- data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +2 -2
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +1 -1
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +1 -1
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +2 -2
- data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +1 -1
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +2 -2
- data/gui/tinkerbackwindows/superant.com.rwdtorrent/10appletbegin.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.rwdtorrent/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.rwdtorrent/9end.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +9 -10
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +5 -5
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +9 -9
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +2 -2
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +3 -3
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +2 -2
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +3 -3
- data/init.rb +5 -5
- data/installed/rwdwtorrent-0.06.inf +14 -0
- data/installed/temp.rb +1 -0
- data/lang/en/rwdcore/languagefile.rb +57 -15
- data/lang/es/rwdcore/languagefile-es.rb +61 -13
- data/lang/fr/rwdcore/languagefile.rb +64 -0
- data/lang/jp/rwdcore/languagefile.rb +69 -6
- data/lang/nl/rwdcore/languagefile.rb +56 -0
- data/rwd_files/HowTo_Tinker.txt +6 -0
- data/rwd_files/HowTo_Torrent.txt +3 -0
- data/rwdconfig.dist +7 -3
- data/rwdtorrent.rb +1 -0
- data/tests/cleancnf.sh +2 -1
- data/tests/makedist-rwdwtorrent.rb +56 -0
- data/tests/makedist.rb +12 -8
- data/torrentfiles/Google Chrome Comic Book [mininova].torrent +0 -0
- data/zips/temp.rb +1 -0
- metadata +69 -52
- data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +0 -96
- data/configuration/rwdtorrenthelpabout.rb +0 -14
- data/downloads/nodownloads.txt +0 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +0 -33
- data/installed/rwdviewlogo-0.4.inf +0 -4
- data/torrentfiles/knoppix-std-0.1.iso.torrent +0 -0
- data/zips/rwdahelloworld-0.5.zip +0 -0
- /data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/10viewnote.rwd +0 -0
- /data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/30viewtorrent.rwd +0 -0
- /data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/40rwdtorrentrefresh.rwd +0 -0
- /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
|
-
|
data/downloads/nodownloads.txt
DELETED
@@ -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>"
|
Binary file
|
data/zips/rwdahelloworld-0.5.zip
DELETED
Binary file
|
File without changes
|
File without changes
|
/data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/40rwdtorrentrefresh.rwd
RENAMED
File without changes
|
/data/gui/{frontwindow0 → tinkerbackwindows}/superant.com.rwdtorrent/67viewconfiguration.rwd
RENAMED
File without changes
|