tinkerbell 0.03 → 0.04

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/code/01rwdcore/01rwdcore.rb +6 -6
  2. data/code/01rwdcore/02helptexthashbegin.rb +13 -11
  3. data/code/01rwdcore/jumplinkcommand.rb +1 -0
  4. data/code/01rwdcore/openhelpwindow.rb +7 -0
  5. data/code/01rwdcore/runhelpabout.rb +6 -1
  6. data/code/01rwdcore/selectiontab.rb +2 -0
  7. data/code/01rwdcore/setuphelpaboutoptions.rb +2 -0
  8. data/code/01rwdcore/setuptinkerdocuments.rb +1 -0
  9. data/code/01rwdcore/test_cases.rb +100 -51
  10. data/code/01rwdcore/test_harness.rb +8 -1
  11. data/code/01rwdcore/uploadreturns.rb +3 -0
  12. data/code/dd0viewphoto/dd0viewphoto.rb +2 -0
  13. data/code/superant.com.rwdtinkerbackwindow/changelocale.rb +84 -0
  14. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +0 -1
  15. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +2 -0
  16. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +2 -0
  17. data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +3 -1
  18. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +2 -0
  19. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +3 -1
  20. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +3 -1
  21. data/code/superant.com.rwdtinkerbackwindow/showlocaleoptions.rb +9 -0
  22. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -0
  23. data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +8 -5
  24. data/code/superant.com.sandbox/tabthree.rb +0 -4
  25. data/code/superant.com.tinkerbell/addzipfiles.rb +66 -0
  26. data/code/superant.com.tinkerbell/helptexthashload.rb +22 -0
  27. data/code/superant.com.tinkerbell/loadviewfiles.rb +19 -0
  28. data/code/superant.com.tinkerbell/openhelpwindow.rb +11 -17
  29. data/code/superant.com.tinkerbell/runrwdapplet.rb +1 -1
  30. data/code/zz0applicationend/zz0end.rb +2 -1
  31. data/configuration/rwdtinker.dist +3 -3
  32. data/configuration/sandbox.dist +7 -0
  33. data/configuration/tinkerbellw.dist +3 -3
  34. data/configuration/tinkerwin2variables.dist +1 -1
  35. data/gui/tinkerbackwindows/superant.com.sandbox/33tabthree.rwd +2 -2
  36. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80localechanger.rwd +17 -0
  37. data/gui/tinkerbackwindows/superant.com.tinkerbell/60zipfoldfiles.rwd +31 -0
  38. data/gui/tinkerbackwindows/superant.com.tinkerbellback/1rwdrubyeval.rwd +1 -1
  39. data/gui/tinkerbackwindows/superant.com.tinkerbellback/81jumplinkcommands.rwd +17 -0
  40. data/init.rb +7 -1
  41. data/installed/sandbox.inf +4 -0
  42. data/installed/tinkerbellw.inf +7 -4
  43. data/lang/en/rwdcore/en.po +28 -0
  44. data/lang/en/tinkerbell/en.po +17 -0
  45. data/lang/es/rwdcore/es.po +22 -13
  46. data/lang/es/tinkerbell/en.po +16 -0
  47. data/lang/fr/rwdcore/fr.po +4 -1
  48. data/lang/fr/tinkerbell/en.po +7 -0
  49. data/lang/hi/rwdcore/hi.po +39 -36
  50. data/lang/hi/tinkerbell/en.po +6 -0
  51. data/lang/ja/rwdcore/ja.po +3 -0
  52. data/lang/ja/tinkerbell/en.po +6 -0
  53. data/lang/nl/rwdcore/nl.po +4 -1
  54. data/lang/nl/tinkerbell/en.po +6 -0
  55. data/lib/zip/ioextras.rb +43 -2
  56. data/lib/zip/stdrubyext.rb +5 -5
  57. data/lib/zip/tempfile_bugfixed.rb +2 -2
  58. data/lib/zip/zip.rb +618 -149
  59. data/lib/zip/zipfilesystem.rb +59 -8
  60. data/lib/zip/ziprequire.rb +32 -3
  61. data/rwd_files/HowTo_Tinker.txt +9 -0
  62. data/rwd_files/HowTo_TinkerBell.txt +4 -1
  63. data/rwd_files/Tinkerhelptexthash.txt +5 -2
  64. data/rwd_files/log/rwdtinker.log +1338 -0
  65. data/rwd_files/rwdapplications.html +23 -1
  66. data/{code/superant.com.tinkerbell/helptexthashrwdhypernote.rb → rwd_files/tinkerbellhelpfiles.txt} +21 -5
  67. data/rwdconfig.dist +1 -1
  68. data/tests/makedist-tinkerbellw.rb +1 -1
  69. data/tests/makedist.rb +1 -1
  70. data/{rwdtinker.rb → tinkerbell.rb} +0 -0
  71. data/zips/rwdwfoldeditor-0.07.zip +0 -0
  72. data/zips/rwdwhypernote-0.16.zip +0 -0
  73. data/zips/rwdwschedule-1.07.zip +0 -0
  74. data/zips/tinkerbellw-0.04.zip +0 -0
  75. metadata +24 -8
  76. data/gui/tinkerbackwindows/superant.com.tinkerbellback/77jumplinkcommands.rwd +0 -17
  77. data/zips/rwdwfoldeditor-0.05.zip +0 -0
  78. data/zips/rwdwhypernote-0.15.zip +0 -0
  79. data/zips/tinkerbellw-0.03.zip +0 -0
@@ -0,0 +1,17 @@
1
+ # English Language files for RwdTinker
2
+
3
+
4
+ msgid "ziptinkerfile_tab"
5
+ msgstr '"Zip Sandbox Files"'
6
+
7
+ msgid "tinkerbellfile_name"
8
+ msgstr '"Sandbox File Name"'
9
+
10
+ msgid "ziptinkerbell_file"
11
+ msgstr '"Zip the Sandbox File"'
12
+
13
+ msgid "viewtinkerbellfile_contents"
14
+ msgstr '"View Tinkerbell Files"'
15
+
16
+ msgid "tinkerbell_zipfile_help"
17
+ msgstr "You can zip the applet files <br> You can view the file links"
@@ -1,5 +1,8 @@
1
1
  # Spanish Language files for RwdTinker core
2
2
 
3
+ msgid "error_message_id_unknown"
4
+ msgstr "Identificador de mensaje desconocido"
5
+
3
6
  msgid "applet_installed"
4
7
  msgstr '"applet instalado!"'
5
8
 
@@ -7,16 +10,16 @@
7
10
  msgstr '"Versiones de Aplicacion"'
8
11
 
9
12
  msgid "clear"
10
- msgstr ""
13
+ msgstr "claro"
11
14
 
12
15
  msgid "cancel"
13
- msgstr "Cancelaci�n"
16
+ msgstr "Cancelación"
14
17
 
15
18
  msgid "clickfor_version"
16
19
  msgstr '"click para version"'
17
20
 
18
21
  msgid "clickbelowtoviewlistof_zip"
19
- msgstr "click abajo a ver lista de zips"
22
+ msgstr '"click abajo a ver lista de zips"'
20
23
 
21
24
  msgid "documents"
22
25
  msgstr "Documentos"
@@ -40,7 +43,7 @@ msgid "install_applet"
40
43
  msgstr '"instale (rwdtinker) applet"'
41
44
 
42
45
  msgid "jumptoapplication_location"
43
- msgstr ""
46
+ msgstr '"saltar a la aplicación"'
44
47
 
45
48
  msgid "list_applets"
46
49
  msgstr '"Lista Applets"'
@@ -64,7 +67,7 @@ msgstr '"Lista de Photos"'
64
67
  msgstr '"Lista Zips"'
65
68
 
66
69
  msgid "listzipdirappletsavailable"
67
- msgstr '"Lista (zip directory) applets available for installation"'
70
+ msgstr '"Lista (zip directory) applets disponible para su instalación"'
68
71
 
69
72
  msgid "menu_panel"
70
73
  msgstr '"Panel de herramientas"'
@@ -109,10 +112,10 @@ msgid "rwdtinker_help_window"
109
112
  msgstr '"RwdTinker Ventana Ayuda"'
110
113
 
111
114
  msgid "showdocument_list"
112
- msgstr '"Show Document List"'
115
+ msgstr '"Mostrar lista de documentos"'
113
116
 
114
117
  msgid "showhelpabout_links"
115
- msgstr '"Show Help About Links"'
118
+ msgstr '"Mostrar enlaces de ayuda sobre"'
116
119
 
117
120
  msgid "showjump_links"
118
121
  msgstr '"Mostrar enlace saltar"'
@@ -127,16 +130,22 @@ msgid "rwdtinker"
127
130
  msgstr "RwdTinker"
128
131
 
129
132
  msgid "selection_panel"
130
- msgstr '"Panel de Selecci�n"'
133
+ msgstr '"Panel de Selección"'
131
134
 
132
135
  msgid "tinker_logo"
133
136
  msgstr '"Insignia de Tinker"'
134
137
 
138
+ msgid "tinkercorechangelocale"
139
+ msgstr '"Cambiar localización ahora"'
140
+
141
+ msgid "tinkercoreshowlocale_choices"
142
+ msgstr '"Mostrar opciones de localización"'
143
+
135
144
  msgid "selection_tab"
136
- msgstr '"Tab de Selecci�n"'
145
+ msgstr '"Tab de Selección"'
137
146
 
138
147
  msgid "tinkerback_window"
139
- msgstr '"Tinker Ventana detr�s"'
148
+ msgstr '"Tinker Ventana detrás"'
140
149
 
141
150
  msgid "viewapplet_contents"
142
151
  msgstr '"Ver Applet Contenido"'
@@ -148,13 +157,13 @@ msgid "viewinstalled_text"
148
157
  msgstr '"Ver Instalar Texto"'
149
158
 
150
159
  msgid "view_platform"
151
- msgstr '"view platform"'
160
+ msgstr '"Ver plataforma"'
152
161
 
153
162
  msgid "viewplatform_information"
154
- msgstr ""
163
+ msgstr '"Ver información de plataforma"'
155
164
 
156
165
  msgid "viewlogger_information"
157
- msgstr ""
166
+ msgstr '"Ver diario de pesca"'
158
167
 
159
168
  msgid "view_event"
160
169
  msgstr '"Ver evento"'
@@ -0,0 +1,16 @@
1
+ # English Language files for RwdTinker
2
+
3
+
4
+ msgid "zipfoldfile_tab"
5
+ msgstr '"Zip Fold Files"'
6
+
7
+ msgid "foldfile_name"
8
+ msgstr '"Fold File Name"'
9
+
10
+ msgid "zipfold_file"
11
+ msgstr '"Zip the Fold File"'
12
+
13
+ msgid "viewfoldfile_contents"
14
+ msgstr '"View Fold File Links"'
15
+
16
+
@@ -1,5 +1,8 @@
1
1
  # Language files for RwdTinker core
2
-
2
+
3
+ msgid "error_message_id_unknown"
4
+ msgstr ""
5
+
3
6
  msgid "applet_installed"
4
7
  msgstr ""
5
8
 
@@ -0,0 +1,7 @@
1
+ # English Language files for RwdTinker
2
+
3
+
4
+ msgid "zipfoldfile_tab"
5
+ msgstr '"Zip Fold Files"'
6
+
7
+
@@ -1,16 +1,19 @@
1
1
  # Language files for RwdTinker core
2
-
2
+
3
+ msgid "error_message_id_unknown"
4
+ msgstr ""
5
+
3
6
  msgid "applet_installed"
4
7
  msgstr ""
5
8
 
6
9
  msgid "application_version"
7
- msgstr ""
10
+ msgstr "अनुप्रयोग"
8
11
 
9
12
  msgid "cancel"
10
13
  msgstr '"रद्द करें"'
11
14
 
12
15
  msgid "clickfor_version"
13
- msgstr ""
16
+ msgstr "संस्करण"
14
17
 
15
18
  msgid "clickbelowtoviewlistof_zip"
16
19
  msgstr ""
@@ -29,7 +32,7 @@ msgid "file_name"
29
32
  msgstr '"नाम फ़ाइल"'
30
33
 
31
34
  msgid "fill_record"
32
- msgstr ""
35
+ msgstr "भरें"
33
36
 
34
37
  msgid "help"
35
38
  msgstr '"मदद"'
@@ -38,35 +41,35 @@ msgid "file_name"
38
41
  msgstr '"मदद परिचय"'
39
42
 
40
43
  msgid "install_applet"
41
- msgstr ""
44
+ msgstr "प्लग-इन"
42
45
 
43
46
  msgid "jumptoapplication_location"
44
47
  msgstr ""
45
48
 
46
49
  msgid "list_applets"
47
- msgstr ""
50
+ msgstr "सूची प्लग-इन"
48
51
 
49
52
  msgid "listappletsinthegem_directory"
50
- msgstr ""
53
+ msgstr "सूची प्लग-इन"
51
54
 
52
55
  msgid "listappletsavailablefor_installation"
53
- msgstr ""
56
+ msgstr "सूची प्लग-इन"
54
57
 
55
58
  msgid "list_files"
56
- msgstr ""
59
+ msgstr "सूची फ़ाइल"
57
60
 
58
- msgid "list_installed_gems "
59
- msgstr ""
61
+ msgid "list_installed_gems"
62
+ msgstr "सूची"
60
63
 
61
64
  msgid "list_photos"
62
- msgstr ""
65
+ msgstr "सूची तस्वीर"
63
66
 
64
67
  msgid "list_zips"
65
- msgstr ""
68
+ msgstr "सूची"
66
69
 
67
70
  msgid "listzipdirappletsavailable"
68
- msgstr ""
69
-
71
+ msgstr "सूची"
72
+
70
73
  msgid "menu_panel"
71
74
  msgstr ""
72
75
 
@@ -74,25 +77,25 @@ msgid "file_name"
74
77
  msgstr ""
75
78
 
76
79
  msgid "next"
77
- msgstr ""
80
+ msgstr "अग्रेषित कर"
78
81
 
79
82
  msgid "open"
80
- msgstr ""
83
+ msgstr "खोलें"
81
84
 
82
85
  msgid "open_document"
83
- msgstr ""
86
+ msgstr "खोलें दस्तावेज़"
84
87
 
85
88
  msgid "openselectedhelp_about"
86
89
  msgstr ""
87
90
 
88
91
  msgid "reload_variables"
89
- msgstr ""
92
+ msgstr "फिर लोड करें"
90
93
 
91
94
  msgid "remove_applet"
92
95
  msgstr ""
93
96
 
94
97
  msgid "return"
95
- msgstr ""
98
+ msgstr "पीछे"
96
99
 
97
100
  msgid "rwdtinker_window_2"
98
101
  msgstr ""
@@ -110,19 +113,19 @@ msgstr ""
110
113
  msgstr ""
111
114
 
112
115
  msgid "showjump_links"
113
- msgstr ""
116
+ msgstr "प्रदर्शित करें"
114
117
 
115
118
  msgid "showdocument_list"
116
- msgstr ""
119
+ msgstr "प्रदर्शित करें दस्तावेज़ "
117
120
 
118
121
  msgid "showhelpabout_links"
119
- msgstr ""
122
+ msgstr "प्रदर्शित करें मदद परिचय"
120
123
 
121
124
  msgid "save"
122
- msgstr ""
125
+ msgstr "सहेजें"
123
126
 
124
127
  msgid "save_changes"
125
- msgstr ""
128
+ msgstr "सहेजें परिवर्तन"
126
129
 
127
130
  msgid "selection_panel"
128
131
  msgstr ""
@@ -137,34 +140,34 @@ msgid "tinkerback_window"
137
140
  msgstr ""
138
141
 
139
142
  msgid "viewapplet_contents"
140
- msgstr ""
143
+ msgstr "प्रदर्शित करें plugin contents"
141
144
 
142
145
  msgid "viewalreadyinstalled_applications"
143
- msgstr ""
146
+ msgstr "प्रदर्शित करें already installed applications"
144
147
 
145
148
  msgid "viewinstalled_text"
146
- msgstr "View Install Text"
149
+ msgstr "प्रदर्शित करें installed text"
147
150
 
148
151
  msgid "view_platform"
149
- msgstr "view platform"
152
+ msgstr "प्रदर्शित करें platform"
150
153
 
151
154
  msgid "viewplatform_information"
152
- msgstr "View Platform Information"
155
+ msgstr "प्रदर्शित करें platform information"
153
156
 
154
157
  msgid "viewlogger_information"
155
- msgstr ""
158
+ msgstr "प्रदर्शित करें logger information"
156
159
 
157
160
  msgid "view_event"
158
- msgstr ""
161
+ msgstr "प्रदर्शित करें event"
159
162
 
160
163
  msgid "viewinstall_text"
161
- msgstr ""
164
+ msgstr "प्रदर्शित करें install text"
162
165
 
163
166
  msgid "viewlistinstall_files"
164
- msgstr ""
167
+ msgstr "प्रदर्शित करें install files"
165
168
 
166
169
  msgid "view_photo"
167
- msgstr "View Photo"
170
+ msgstr "तस्वीर"
168
171
 
169
172
  msgid "window"
170
- msgstr "Window"
173
+ msgstr "खिड़की"
@@ -0,0 +1,6 @@
1
+ # English Language files for RwdTinker
2
+
3
+
4
+ msgid "zipfoldfile_tab"
5
+ msgstr '"Zip Fold Files"'
6
+
@@ -1,5 +1,8 @@
1
1
  # English Language files for RwdTinker core
2
2
 
3
+ msgid "error_message_id_unknown"
4
+ msgstr ""
5
+
3
6
  msgid "applet_installed"
4
7
  msgstr ""
5
8
 
@@ -0,0 +1,6 @@
1
+ # English Language files for RwdTinker
2
+
3
+
4
+ msgid "zipfoldfile_tab"
5
+ msgstr '"Zip Fold Files"'
6
+
@@ -1,4 +1,7 @@
1
- # English Language files for RwdTinker core
1
+ # Language files for RwdTinker core
2
+
3
+ msgid "error_message_id_unknown"
4
+ msgstr ""
2
5
 
3
6
  msgid "applet_installed"
4
7
  msgstr "Applet geinstalleerd"
@@ -0,0 +1,6 @@
1
+ # English Language files for RwdTinker
2
+
3
+
4
+ msgid "zipfoldfile_tab"
5
+ msgstr '"Zip Fold Files"'
6
+
data/lib/zip/ioextras.rb CHANGED
@@ -1,4 +1,16 @@
1
- module IOExtras
1
+ module IOExtras #:nodoc:
2
+
3
+ CHUNK_SIZE = 32768
4
+
5
+ RANGE_ALL = 0..-1
6
+
7
+ def self.copy_stream(ostream, istream)
8
+ s = ''
9
+ ostream.write(istream.read(CHUNK_SIZE, s)) until istream.eof?
10
+ end
11
+
12
+
13
+ # Implements kind_of? in order to pretend to be an IO object
2
14
  module FakeIO
3
15
  def kind_of?(object)
4
16
  object == IO || super
@@ -20,6 +32,34 @@ module IOExtras
20
32
 
21
33
  attr_accessor :lineno
22
34
 
35
+ def read(numberOfBytes = nil, buf = nil)
36
+ tbuf = nil
37
+
38
+ if @outputBuffer.length > 0
39
+ if numberOfBytes <= @outputBuffer.length
40
+ tbuf = @outputBuffer.slice!(0, numberOfBytes)
41
+ else
42
+ numberOfBytes -= @outputBuffer.length if (numberOfBytes)
43
+ rbuf = sysread(numberOfBytes, buf)
44
+ tbuf = @outputBuffer
45
+ tbuf << rbuf if (rbuf)
46
+ @outputBuffer = ""
47
+ end
48
+ else
49
+ tbuf = sysread(numberOfBytes, buf)
50
+ end
51
+
52
+ return nil unless (tbuf)
53
+
54
+ if buf
55
+ buf.replace(tbuf)
56
+ else
57
+ buf = tbuf
58
+ end
59
+
60
+ buf
61
+ end
62
+
23
63
  def readlines(aSepString = $/)
24
64
  retVal = []
25
65
  each_line(aSepString) { |line| retVal << line }
@@ -66,7 +106,8 @@ module IOExtras
66
106
  end
67
107
 
68
108
 
69
- #relies on <<
109
+ # Implements many of the output convenience methods of IO.
110
+ # relies on <<
70
111
  module AbstractOutputStream
71
112
  include FakeIO
72
113
 
@@ -16,7 +16,7 @@ module Enumerable #:nodoc:all
16
16
  end
17
17
 
18
18
  unless Object.method_defined?(:object_id)
19
- class Object
19
+ class Object #:nodoc:all
20
20
  # Using object_id which is the new thing, so we need
21
21
  # to make that work in versions prior to 1.8.0
22
22
  alias object_id id
@@ -24,7 +24,7 @@ unless Object.method_defined?(:object_id)
24
24
  end
25
25
 
26
26
  unless File.respond_to?(:read)
27
- class File
27
+ class File # :nodoc:all
28
28
  # singleton method read does not exist in 1.6.x
29
29
  def self.read(fileName)
30
30
  open(fileName) { |f| f.read }
@@ -32,7 +32,7 @@ unless File.respond_to?(:read)
32
32
  end
33
33
  end
34
34
 
35
- class String
35
+ class String #:nodoc:all
36
36
  def starts_with(aString)
37
37
  rindex(aString, 0) == 0
38
38
  end
@@ -50,7 +50,7 @@ class String
50
50
  end
51
51
  end
52
52
 
53
- class Time
53
+ class Time #:nodoc:all
54
54
 
55
55
  #MS-DOS File Date and Time format as used in Interrupt 21H Function 57H:
56
56
  #
@@ -95,7 +95,7 @@ class Time
95
95
  end
96
96
  end
97
97
 
98
- class Module
98
+ class Module #:nodoc:all
99
99
  def forward_message(forwarder, *messagesToForward)
100
100
  methodDefs = messagesToForward.map {
101
101
  |msg|