rwdtorrent 0.06 → 0.08

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. data/Readme.txt +20 -7
  2. data/code/01rwdcore/02helptexthashbegin.rb +10 -0
  3. data/code/01rwdcore/03helptexthash.rb +18 -20
  4. data/code/01rwdcore/openhelpwindow.rb +1 -1
  5. data/code/01rwdcore/runopentinkerdocument.rb +1 -1
  6. data/code/01rwdcore/rwdtinkerversion.rb +1 -1
  7. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +89 -158
  8. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +10 -8
  9. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
  10. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +6 -6
  11. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -1
  12. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +1 -1
  13. data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
  14. data/code/superant.com.rwdtorrent/0uninstallapplet.rb +7 -1
  15. data/code/superant.com.rwdtorrent/helptexthashload.rb +21 -0
  16. data/code/superant.com.rwdtorrent/loadconfigurationrecord.rb +2 -2
  17. data/code/superant.com.rwdtorrent/loadconfigurationvariables.rb +2 -3
  18. data/code/superant.com.rwdtorrent/runtorrentwindow.rb +5 -3
  19. data/code/superant.com.rwdtorrent/saveconfigurationrecord.rb +1 -1
  20. data/code/superant.com.rwdtorrent/stoptorrentdownload.rb +4 -1
  21. data/code/superant.com.rwdtorrent/viewtorrentmetafile.rb +5 -4
  22. data/configuration/rwdtinker.dist +5 -8
  23. data/configuration/rwdwtorrent.dist +25 -0
  24. data/configuration/tinkerwin2variables.dist +13 -7
  25. data/downloads/nodownloads.txt +1 -0
  26. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  27. data/gui/frontwindow0/{viewlogo/cc0openphoto.rwd → cc0openphoto.rwd} +0 -0
  28. data/gui/{frontwindowselectionbegin/selectiontabbegin → frontwindowselections}/00selectiontabbegin.rwd +0 -0
  29. data/gui/frontwindowselections/jumplinkcommands.rwd +15 -0
  30. data/gui/{frontwindowselectionzend/viewselectionzend → frontwindowselections}/wwselectionend.rwd +0 -0
  31. data/gui/{frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd → frontwindowtdocuments/00documentbegin.rwd} +0 -0
  32. data/gui/frontwindowtdocuments/{superant.com.documents/tinkerdocuments.rwd → tinkerdocuments.rwd} +0 -0
  33. data/gui/{helpaboutbegin/superant.com.helpaboutbegin → frontwindowtdocuments}/zzdocumentend.rwd +0 -0
  34. data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzrwdlasttab.rwd → zzzrwdlasttab.rwd} +0 -0
  35. data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
  36. data/gui/{helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd → helpaboutbegin/zzzzzzhelpabouttab.rwd} +0 -0
  37. data/gui/helpaboutzend/{superant.com.helpaboutend/helpscreenend.rwd → helpscreenend.rwd} +0 -0
  38. data/gui/helpaboutzend/{superant.com.helpaboutend/zhelpscreenstart2.rwd → zhelpscreenstart2.rwd} +0 -0
  39. data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpabout2.rwd → zzzzhelpabout2.rwd} +0 -0
  40. data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpscreen2end.rwd → zzzzhelpscreen2end.rwd} +0 -0
  41. data/gui/tinkerbackwindows/superant.com.slideshow/10appletbegin.rwd +4 -0
  42. data/gui/tinkerbackwindows/superant.com.slideshow/11viewnamedata.rwd +19 -0
  43. data/gui/tinkerbackwindows/superant.com.slideshow/13listnamerecordfiles.rwd +21 -0
  44. data/gui/tinkerbackwindows/superant.com.slideshow/16editrecord.rwd +39 -0
  45. data/gui/tinkerbackwindows/superant.com.slideshow/17viewvcardrecord.rwd +32 -0
  46. data/gui/tinkerbackwindows/superant.com.slideshow/18contactutilities.rwd +34 -0
  47. data/gui/{frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd → tinkerbackwindows/superant.com.slideshow/81jumplinkcommands.rwd} +2 -0
  48. data/gui/tinkerbackwindows/superant.com.slideshow/9end.rwd +6 -0
  49. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
  50. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +1 -1
  51. data/gui/zzcoreguiend/{tinkerapplicationguiend/yy9rwdend.rwd → yy9rwdend.rwd} +0 -0
  52. data/init.rb +61 -165
  53. data/installed/{rwdwtorrent-0.06.inf → rwdwtorrent.inf} +4 -4
  54. data/lang/en/rwdcore/en.po +166 -0
  55. data/lang/es/rwdcore/es.po +172 -0
  56. data/lang/fr/rwdcore/fr.po +166 -0
  57. data/lang/hi/rwdcore/hi.po +170 -0
  58. data/lang/ja/rwdcore/ja.po +168 -0
  59. data/lang/nl/rwdcore/nl.po +166 -0
  60. data/{extras → lib}/rconftool.rb +13 -6
  61. data/{extras → lib}/rubytorrent.rb +6 -6
  62. data/{extras → lib}/rubytorrent/bencoding.rb +0 -0
  63. data/{extras → lib}/rubytorrent/controller.rb +0 -0
  64. data/{extras → lib}/rubytorrent/message.rb +0 -0
  65. data/{extras → lib}/rubytorrent/metainfo.rb +1 -1
  66. data/{extras → lib}/rubytorrent/package.rb +0 -0
  67. data/{extras → lib}/rubytorrent/peer.rb +1 -1
  68. data/{extras → lib}/rubytorrent/server.rb +3 -3
  69. data/{extras → lib}/rubytorrent/tracker.rb +1 -1
  70. data/{extras → lib}/rubytorrent/typedstruct.rb +1 -1
  71. data/{extras → lib}/rubytorrent/util.rb +0 -0
  72. data/{ev → lib/rwd}/browser.rb +2 -2
  73. data/{ev → lib/rwd}/ftools.rb +0 -0
  74. data/{ev → lib/rwd}/mime.rb +0 -0
  75. data/{ev → lib/rwd}/net.rb +18 -7
  76. data/{ev → lib/rwd}/ruby.rb +1 -1
  77. data/{ev → lib/rwd}/rwd.rb +108 -625
  78. data/{ev → lib/rwd}/sgml.rb +1 -1
  79. data/{ev → lib/rwd}/thread.rb +1 -1
  80. data/{ev → lib/rwd}/tree.rb +2 -2
  81. data/{ev → lib/rwd}/xml.rb +1 -1
  82. data/lib/rwdthemes/default.rwd +317 -0
  83. data/lib/rwdthemes/pda.rwd +72 -0
  84. data/lib/rwdthemes/windowslike.rwd +171 -0
  85. data/lib/rwdtinker/rwdcodedir.rb +56 -0
  86. data/lib/rwdtinker/rwdguidir.rb +57 -0
  87. data/lib/rwdtinker/rwdlangdir.rb +60 -0
  88. data/lib/rwdtinker/rwdtinkertools.rb +25 -0
  89. data/{extras → lib}/zip/ioextras.rb +0 -0
  90. data/{extras → lib}/zip/stdrubyext.rb +0 -0
  91. data/{extras → lib}/zip/tempfile_bugfixed.rb +0 -0
  92. data/{extras → lib}/zip/zip.rb +2 -2
  93. data/{extras → lib}/zip/zipfilesystem.rb +0 -0
  94. data/{extras → lib}/zip/ziprequire.rb +0 -0
  95. data/rwd_files/HowTo_Tinker.txt +73 -7
  96. data/rwd_files/HowTo_Torrent.txt +4 -0
  97. data/rwd_files/Tinkerhelptexthash.txt +81 -0
  98. data/rwd_files/log/rwdtinker.log +11883 -0
  99. data/{code/superant.com.rwdtorrent/helptesthashrwdtorrent.rb → rwd_files/rwdtorrenthelpfiles.txt} +10 -8
  100. data/rwdconfig.dist +14 -13
  101. data/{lib/temp.rb → rwdtinker.rb} +0 -0
  102. data/rwdziprwdwtorrent-0.08.gemspec +16 -0
  103. data/tests/makedist-rwdwtorrent.rb +6 -4
  104. data/tests/makedist.rb +2 -2
  105. data/torrentfiles/{Google Chrome Comic Book [mininova].torrent → GoogleChromeComicBook.torrent} +0 -0
  106. data/torrentfiles/dsl-4.4.6-syslinux.torrent +0 -0
  107. data/zips/rwdwcalc-0.63.zip +0 -0
  108. data/zips/rwdwdialogmap-0.02.zip +0 -0
  109. data/zips/rwdwfoldeditor-0.06.zip +0 -0
  110. data/zips/rwdwmovies-0.98.zip +0 -0
  111. data/zips/rwdwruby-1.08.zip +0 -0
  112. data/zips/rwdwschedule-1.05.zip +0 -0
  113. data/zips/rwdwtorrent-0.08.zip +0 -0
  114. data/zips/tinkerbellw-0.03.zip +0 -0
  115. data/zips/wrubyslippers-1.08.zip +0 -0
  116. metadata +90 -67
  117. data/code/01rwdcore/04helptextend.rb +0 -6
  118. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -61
  119. data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +0 -27
  120. data/configuration/language.dist +0 -8
  121. data/configuration/rwdapplicationidentity.dist +0 -3
  122. data/configuration/rwdwtorrent-0.06.dist +0 -23
  123. data/lang/en/rwdcore/languagefile.rb +0 -58
  124. data/lang/es/rwdcore/languagefile-es.rb +0 -62
  125. data/lang/fr/rwdcore/languagefile.rb +0 -64
  126. data/lang/jp/rwdcore/languagefile.rb +0 -72
  127. data/lang/nl/rwdcore/languagefile.rb +0 -75
  128. data/rwdtorrent.rb +0 -1
@@ -0,0 +1,32 @@
1
+ $rwdguivar=
2
+ "
3
+ <tab name=\"Viewvcardrecord\" caption=\"View vCard Record\">
4
+
5
+ <table>
6
+ <row> <p align=\"right\">Contact Name:</p> <text name=\"a_viewvcarddata\"/> </row>
7
+
8
+ </table>
9
+
10
+ <horizontal>
11
+ <button caption=\"Open\" action=\"viewvcarddata\"/>
12
+ <button caption=\"Help\" action=\"runhelpwindowrwdaddresses\"/>
13
+
14
+ </horizontal>
15
+
16
+
17
+ <table>
18
+
19
+
20
+ <p>%viewvcarddatadisplay%</p>
21
+
22
+
23
+ </table>
24
+ <horizontal>
25
+ <button caption=\"List vCard Records\" action=\"listvcardrecordfiles\"/>
26
+ </horizontal>
27
+ <p>%%listvcardrecordfilesresult%%</p>
28
+
29
+ </tab>"
30
+
31
+
32
+
@@ -0,0 +1,34 @@
1
+ $rwdguivar=
2
+ "
3
+ <tab name=\"contactutilitiesrwdaddresses\" caption=\"Contact Utilities\">
4
+
5
+ <table>
6
+ <row> <p align=\"right\">Contact Name:</p> <text name=\"a_viewnamedata\"/> </row>
7
+ <row> <p align=\"right\">New Name:</p> <text name=\"a_changenamedata\"/> </row>
8
+
9
+ </table>
10
+
11
+ <horizontal>
12
+ <button caption=\"Rename Record\" action=\"changenamedata\"/>
13
+ <button caption=\"Delete Record\" action=\"deletecontactrecord\"/>
14
+ </horizontal>
15
+ <table>
16
+
17
+ <row> <p align=\"right\">Photo Name:</p> <text name=\"a_tmpphotoname\"/> </row>
18
+ </table>
19
+
20
+ <horizontal>
21
+ <button caption=\"Attach Photo\" action=\"attachtmpcontactphoto\"/>
22
+ <button caption=\"Help\" action=\"runhelpwindowrwdaddresses\"/>
23
+ </horizontal>
24
+
25
+ <horizontal>
26
+ <button caption=\"List Contacts\" action=\"listnamerecordfiles\"/>
27
+
28
+
29
+ <button caption=\"List Photos\" action=\"viewtmpcontactphoto\"/>
30
+ </horizontal>
31
+
32
+ <p>%%listnamerecordfilesresult%%</p>
33
+ <p>%%listphotosfromtmp%%</p>
34
+ </tab>"
@@ -1,5 +1,6 @@
1
1
  $rwdguivar=
2
2
  "
3
+ <tab name=selectiontab caption=#{Message[:selection_tab]}>
3
4
  <horizontal>
4
5
  <button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
5
6
 
@@ -12,4 +13,5 @@ $rwdguivar=
12
13
  <horizontal>
13
14
  <button caption=#{Message[:jumptoapplication_location]} action=\"runjumplinkcommand\"/>
14
15
  </horizontal>
16
+ </tab>
15
17
  "
@@ -0,0 +1,6 @@
1
+ $rwdguivar=
2
+ "
3
+ </tabs>
4
+ </window>"
5
+
6
+
@@ -0,0 +1,20 @@
1
+ $rwdguivar=
2
+ "
3
+ <tab name=\"rwdlogfiletab\" caption=\"RWD Log Files\">
4
+ <table>
5
+ <horizontal>
6
+
7
+
8
+ <p align=\"left\">Number of lines to display</p> <text size=11 name=\"a_rwdtinkerlognumber\"/>
9
+
10
+ <button caption=#{Message[:viewlogger_information]} action=\"rwdtinkerrunviewlog\"/>
11
+ </horizontal>
12
+
13
+ </table>
14
+
15
+ <p>%returnlogdisplay%</p>
16
+
17
+ </tab>"
18
+
19
+
20
+
@@ -3,7 +3,7 @@ $rwdguivar=
3
3
  <tab name=selectiontab caption=#{Message[:selection_tab]}>
4
4
  <horizontal>
5
5
  <button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
6
-
6
+ <button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
7
7
  </horizontal>
8
8
  <table>
9
9
  <select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
data/init.rb CHANGED
@@ -21,44 +21,18 @@
21
21
  #* at "smalllinux@gmail.com".
22
22
  #***********************************************************************/
23
23
 
24
- require "ev/rwd"
25
- require 'fileutils'
26
- require 'extras/rconftool'
24
+ require 'logger'
27
25
 
28
- $progdir = File::expand_path( File.dirname(__FILE__))
26
+ $rwdtinkerlog = Logger.new( 'rwd_files/log/rwdtinker.log', 'weekly' )
27
+ $rwdtinkerlog.level = Logger::INFO
29
28
 
30
- $tempdoc = " "
29
+ require "lib/rwd/rwd"
30
+ require 'fileutils'
31
+ require 'lib/rconftool'
31
32
 
32
- def findfiles(d)
33
- a = Array.new(Dir[d].entries.sort)
34
- #loop through and get the files names
35
- a.each do |x|
36
- #adjust the filters to the files you want to see...
37
- if(!test(?d,x))
38
- # only rwd files
39
- if x =~ /rb|rwd|txt/
40
- fileA=File.open("#{x}","r") #opens the file thats in fileName as read only
41
- $tempdoc+=fileA.read #reads the file into the doc string
42
- fileA.close
43
- end
44
- end
45
- end
46
- end
47
- def loadguifile(d)
48
- a = Array.new(Dir[d].entries.sort)
49
- #loop through and get the files names
50
- a.each do |x|
51
- #adjust the filters to the files you want to see...
52
- if(!test(?d,x))
53
- # only rwd files
54
- if x =~ /rb|rwd|txt/
33
+ $progdir = File::expand_path( File.dirname(__FILE__))
55
34
 
56
- load x #opens the file thats in fileName and reads it
57
- $tempdoc += $rwdguivar # adds the file into the doc string
58
- end
59
- end
60
- end
61
- end
35
+ tempdoc = " "
62
36
 
63
37
  # integrate the new configuration files
64
38
  MAINconfignew = "rwdconfig.cnf"
@@ -94,148 +68,70 @@ Rconftool::install(configdist,confignew) #integrates new file with old
94
68
 
95
69
  Dir.chdir($progdir) # change back to top program directory
96
70
 
71
+
97
72
  # build the English Language hash file from the parts
98
- languagehashvariable = 'Message = Hash.new { |hh, kk| hh[kk] = "ERROR: Message not found: #{kk.inspect}."; hh[kk] }
99
- langmessage = {' + "\n"
100
- startlangdir = File.join(LangDir,"en")
101
- #get a list of the files and subdirectories on the starting directory only
102
- alanghash = Array.new(Dir[startlangdir].entries.sort)
103
- #loop through the list, ignore the files and add all new directories found
104
- alanghash.each do |x|
105
- #if a directory...
106
- if(test(?d,x))
107
- # add to the original list of directories
108
- @@tmproot = x + "/**"
109
- #adds the new ones to the array
110
- blanghash = Dir[@@tmproot].entries.sort
111
- blanghash.each do |x|
112
- if(test(?d,x))
113
- alanghash.push(x) #appends to the end of the array...
114
- end
115
- end
116
- end
117
- end
118
- alanghash.each do |x|
119
- #if it is a file...
120
- if(!test(?d,x))
121
- alanghash.delete(x)
122
- else #it is a directory...
123
- findfiles(x + "/**")
124
- end
73
+ Message = Hash.new { |hh, kk| hh[kk] = "ERROR: Message not found: #{kk.inspect}."; hh[kk] }
74
+ langmessage = { :clear => "Clear", :rwdtinker => "Rwdtinker" } ; langmessage.each { |kk, vv| Message[kk] = vv }
75
+
76
+ def msgid(programkey)
77
+ $programkey = programkey
125
78
  end
126
-
79
+
80
+ def msgstr(programmsg)
81
+ if programmsg == ""
82
+ $rwdtinkerlog.info "msgstr: no translation for #{$programkey}"
83
+ else
84
+ Message.update( $programkey.to_sym => programmsg )
85
+ end
86
+ end
87
+
88
+ require 'lib/rwdtinker/rwdlangdir'
89
+
90
+ tempdoc = " "
91
+ #go get all the po language file files in english
92
+ tempdoc = RwdtinkerTools.findlanguagefiles(LangDir,"en")
127
93
 
128
94
  #writes the contents of doc into the languagehashvariable
129
- languagehashvariable = languagehashvariable + $tempdoc + "} ; langmessage.each { |kk, vv| Message[kk] = vv }"
95
+ languagehashvariable = tempdoc
130
96
 
131
97
  # END of en Lang building
132
- $tempdoc = " "
98
+ tempdoc = " "
133
99
  Dir.chdir($progdir) # change back to top program directory
134
100
 
135
101
  # build the local Language hash file from the parts
136
- startlangdir = File.join(LangDir,$lang)
137
- #get a list of the files and subdirectories on the starting directory only
138
- alanghash = Array.new(Dir[startlangdir].entries.sort)
139
- #loop through the list, ignore the files and add all new directories found
140
- alanghash.each do |x|
141
- #if a directory...
142
- if(test(?d,x))
143
- # add to the original list of directories
144
- @@tmproot = x + "/**"
145
- #adds the new ones to the array
146
- blanghash = Dir[@@tmproot].entries.sort
147
- blanghash.each do |x|
148
- if(test(?d,x))
149
- alanghash.push(x) #appends to the end of the array...
150
- end
151
- end
152
- end
153
- end
154
- alanghash.each do |x|
155
- #if it is a file...
156
- if(!test(?d,x))
157
- alanghash.delete(x)
158
- else #it is a directory...
159
- findfiles(x + "/**")
160
- end
161
- end
162
-
163
-
164
- #writes the contents of doc into the variable
165
- languagehashvariable = languagehashvariable + " ; Message.update(" + $tempdoc + ' :rwdtinker => "Rwdtinker" ) '
166
-
167
-
168
- $tempdoc = " "
169
-
170
- Dir.chdir($progdir) # change back to top program directory
102
+
103
+ $lang = $langarray[0] # pick the language of choice
104
+
105
+ # Go get all the po files for the language of choice
106
+ tempdoc = RwdtinkerTools.findlanguagefiles(LangDir,$lang)
107
+ # the contents of doc into the variable
108
+ languagehashvariable = languagehashvariable + tempdoc
171
109
 
172
- temp = eval( languagehashvariable )
110
+ Dir.chdir($progdir) # change back to top program directory
111
+
112
+ # lets read those po files, first english then the chosen language
113
+ temp = eval( languagehashvariable )
173
114
 
174
- $tempdoc = " "
115
+
175
116
 
176
117
  # build the actual program from the code parts
177
- #get a list of the files and subdirectories on the starting directory only
178
- a = Array.new(Dir[CodeDir].entries.sort)
179
- #loop through the list, ignore the files and add all new directories found
180
- a.each do |x|
181
- #if a directory...
182
- if(test(?d,x))
183
- # add to the original list of directories
184
- @@root = x + "/**"
185
- #adds the new ones to the array
186
- b = Dir[@@root].entries.sort
187
- b.each do |x|
188
- if(test(?d,x))
189
- a.push(x) #appends to the end of the array...
190
- end
191
- end
192
- end
193
- end
194
- a.each do |x|
195
- #if it is a file...
196
- if(!test(?d,x))
197
- a.delete(x)
198
- else #it is a directory...
199
- findfiles(x + "/**")
200
- end
201
- end
202
-
118
+ require 'lib/rwdtinker/rwdcodedir'
119
+
120
+ tempdoc = RwdtinkerTools.findprogramfiles(CodeDir)
203
121
 
204
122
  # load the program file
205
- tempcoderesult = eval( $tempdoc )
123
+
124
+ tempcoderesult = eval( tempdoc )
206
125
 
207
126
  # build the actual GUI from the gui parts
208
- $tempdoc = " "
209
- #get a list of the files and subdirectories on the starting directory only
210
- a = Array.new(Dir[GuiDir].entries.sort)
211
- #loop through the list, ignore the files and add all new directories found
212
- a.each do |x|
213
- #if a directory...
214
- if(test(?d,x))
215
- #use this new dir find to add to the original list of directories
216
- @@root = x + "/**"
217
- #adds the new ones to the array
218
- b = Dir[@@root].entries.sort
219
- b.each do |x|
220
- if(test(?d,x))
221
- a.push(x) #appends to the end of the array...
222
- end
223
- end
224
- end
225
- end
226
- a.each do |x|
227
- #if it is a file...
228
- if(!test(?d,x))
229
- a.delete(x)
230
-
231
- else #it is a directory...
232
- loadguifile(x + "/**")
233
- end
234
- end
127
+ require 'lib/rwdtinker/rwdguidir'
128
+
129
+ tempdoc = RwdtinkerTools.findguifiles(GuiDir)
130
+
235
131
 
236
132
  # gui variable is done
237
133
  guiRWD = ""
238
- $rwd_gui_tinker = $tempdoc
134
+ $rwd_gui_tinker = tempdoc
239
135
  require 'socket' # Network stuff
240
136
  host = "127.0.0.1"
241
137
  port = $port
@@ -250,27 +146,27 @@ Rconftool::install(configdist,confignew) #integrates new file with old
250
146
  $port = port
251
147
  # Rescue the "Address in use" error
252
148
  rescue Errno::EADDRINUSE
253
- puts "RWD Startup: Port #{port} on host #{host} is already in use."
149
+ $rwdtinkerlog.warn "RWD Startup: Port #{port} on host #{host} is already in use."
254
150
  port=port +1
255
- puts "trying port: #{port}"
151
+ $rwdtinkerlog.warn "trying port: #{port}"
256
152
  # Rescue the "Address not available' error
257
153
  rescue Errno::EADDRNOTAVAIL
258
- puts "RWD Startup: Address #{host} is not available to bind."
154
+ $rwdtinkerlog.warn "RWD Startup: Address #{host} is not available to bind."
259
155
  port =port + 1
260
- puts "trying port: #{port}"
156
+ $rwdtinkerlog.warn "trying port: #{port}"
261
157
  # Rescue "permission denied errors
262
158
  rescue Errno::EACCES
263
- puts "RWD Startup: Access denied when binding interface addresses. ?"
159
+ $rwdtinkerlog.warn "RWD Startup: Access denied when binding interface addresses. ?"
264
160
  port =port + 1
265
- puts "trying port: #{port}"
161
+ $rwdtinkerlog.warn "trying port: #{port}"
266
162
  # Rescue all other errors
267
163
  rescue
268
- puts "RWD Startup: An error occured."
164
+ $rwdtinkerlog.warn "RWD Startup: An error occured."
269
165
  port =port + 1
270
- puts "trying port: #{port}"
166
+ $rwdtinkerlog.warn "trying port: #{port}"
271
167
  # Rescue all other errors
272
168
  end
273
-
169
+ $port = port
274
170
  end
275
171
 
276
172
 
@@ -5,10 +5,10 @@ code/superant.com.rwdtorrent
5
5
  tests/makedist-rwdwtorrent.rb
6
6
  tests/gemspec-rwdwtorrent
7
7
  rwd_files/HowTo_Torrent.txt
8
+ rwd_files/rwdtorrenthelpfiles.txt
8
9
  downloads/nodownloads.txt
9
10
  torrentfiles
10
- configuration/rwdwtorrent-0.06.dist
11
- configuration/rwdwtorrent-0.06.cnf
12
- extras/rubytorrent
13
- extras/rubytorrent.rb
11
+ configuration/rwdwtorrent.dist
12
+ lib/rubytorrent
13
+ lib/rubytorrent.rb
14
14
 
@@ -0,0 +1,166 @@
1
+ # English Language files for RwdTinker core
2
+
3
+ msgid "applet_installed"
4
+ msgstr '"applet installed!"'
5
+
6
+ msgid "application_version"
7
+ msgstr "Application Version"
8
+
9
+ msgid "cancel"
10
+ msgstr "Cancel"
11
+
12
+ msgid "clickfor_version"
13
+ msgstr "Click for Version"
14
+
15
+ msgid "clickbelowtoviewlistof_zip"
16
+ msgstr "click below to view lists of zips"
17
+
18
+ msgid "documents"
19
+ msgstr "Documents"
20
+
21
+ msgid "edit"
22
+ msgstr "edit"
23
+
24
+ msgid "file_name"
25
+ msgstr "File Name:"
26
+
27
+ msgid "fill_record"
28
+ msgstr "Fill Record"
29
+
30
+ msgid "help"
31
+ msgstr "Help"
32
+
33
+ msgid "help_about"
34
+ msgstr '"Help About"'
35
+
36
+ msgid "install_applet"
37
+ msgstr '"install (rwdtinker) applet"'
38
+
39
+ msgid "jumptoapplication_location"
40
+ msgstr '"Jump to Application Location"'
41
+
42
+ msgid "list_applets"
43
+ msgstr '"Remove Applets"'
44
+
45
+ msgid "listappletsinthegem_directory"
46
+ msgstr '"List applets in the Gem Directory"'
47
+
48
+ msgid "listappletsavailablefor_installation"
49
+ msgstr '"List applets available for installation"'
50
+
51
+ msgid "list_files"
52
+ msgstr '"List Files"'
53
+
54
+ msgid "list_installed_gems "
55
+ msgstr '"List installed Gems"'
56
+
57
+ msgid "list_photos"
58
+ msgstr '"List Photos"'
59
+
60
+ msgid "list_zips"
61
+ msgstr '"List Zips"'
62
+
63
+ msgid "listzipdirappletsavailable"
64
+ msgstr '"List (zip directory) applets available for installation"'
65
+
66
+ msgid "menu_panel"
67
+ msgstr '"Menu Panel"'
68
+
69
+ msgid "module_unknown"
70
+ msgstr '"Unknown Module"'
71
+
72
+ msgid "next"
73
+ msgstr "Next"
74
+
75
+ msgid "open"
76
+ msgstr "Open"
77
+
78
+ msgid "open_document"
79
+ msgstr '"Open Document"'
80
+
81
+ msgid "openselectedhelp_about"
82
+ msgstr '"Open selected help about"'
83
+
84
+ msgid "reload_variables"
85
+ msgstr '"Reload Variables"'
86
+
87
+ msgid "remove_applet"
88
+ msgstr '"remove applet"'
89
+
90
+ msgid "return"
91
+ msgstr "Return"
92
+
93
+ msgid "rwdtinker_window_2"
94
+ msgstr '"RwdTinker Window 2"'
95
+
96
+ msgid "rwdtinker"
97
+ msgstr "RwdTinker"
98
+
99
+ msgid "rwdtinker_back_window"
100
+ msgstr '"RwdTinker Back Window"'
101
+
102
+ msgid "rwdtinker_help"
103
+ msgstr '"RwdTinker Help"'
104
+
105
+ msgid "rwdtinker_help_window"
106
+ msgstr '"RwdTinker Help Window"'
107
+
108
+ msgid "showjump_links"
109
+ msgstr '"Show Jump Links"'
110
+
111
+ msgid "showdocument_list"
112
+ msgstr '"Show Document List"'
113
+
114
+ msgid "showhelpabout_links"
115
+ msgstr '"Show Help About Links"'
116
+
117
+ msgid "save"
118
+ msgstr "Save"
119
+
120
+ msgid "save_changes"
121
+ msgstr '"Save Changes"'
122
+
123
+ msgid "selection_panel"
124
+ msgstr '"Menu Panel"'
125
+
126
+ msgid "selection_tab"
127
+ msgstr '"Menu Tab"'
128
+
129
+ msgid "tinker_logo"
130
+ msgstr '"Tinker Logo"'
131
+
132
+ msgid "tinkerback_window"
133
+ msgstr '"Tinker Back Window"'
134
+
135
+ msgid "viewapplet_contents"
136
+ msgstr '"View Applet Contents"'
137
+
138
+ msgid "viewalreadyinstalled_applications"
139
+ msgstr '"View already installed GEM applications"'
140
+
141
+ msgid "viewinstalled_text"
142
+ msgstr '"View Install Text"'
143
+
144
+ msgid "view_platform"
145
+ msgstr '"view platform"'
146
+
147
+ msgid "viewplatform_information"
148
+ msgstr '"View Platform Information"'
149
+
150
+ msgid "viewlogger_information"
151
+ msgstr '"View Logger Information"'
152
+
153
+ msgid "view_event"
154
+ msgstr '"View event"'
155
+
156
+ msgid "viewinstall_text"
157
+ msgstr '"View Install Text"'
158
+
159
+ msgid "viewlistinstall_files"
160
+ msgstr '"View List of Installed Files"'
161
+
162
+ msgid "view_photo"
163
+ msgstr '"View Photo"'
164
+
165
+ msgid "window"
166
+ msgstr "Window"