ripxplore 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/ripxplore.rb +103 -95
- data/doc/classes/AppleDos.html +20 -22
- data/doc/classes/AppleDos.src/M000036.html +18 -0
- data/doc/classes/AppleDos.src/M000037.html +18 -0
- data/doc/classes/AppleDos.src/M000038.html +18 -0
- data/doc/classes/AppleDos.src/M000039.html +73 -0
- data/doc/classes/AppleDosPic.html +20 -20
- data/doc/classes/AppleDosPic.src/M000051.html +20 -0
- data/doc/classes/AppleDosPic.src/M000052.html +18 -0
- data/doc/classes/AppleDosPic.src/M000053.html +18 -0
- data/doc/classes/AppleDosPic.src/M000054.html +18 -0
- data/doc/classes/AppleHiResPic.html +32 -38
- data/doc/classes/AppleHiResPic.src/M000012.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000013.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000014.html +53 -0
- data/doc/classes/AppleHiResPic.src/M000015.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000016.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000017.html +18 -0
- data/doc/classes/AxePackedAppleDosPic.html +145 -0
- data/doc/classes/AxePackedAppleDosPic.src/M000010.html +59 -0
- data/doc/classes/ImageSniffing.html +8 -8
- data/doc/classes/ImageSniffing.src/M000008.html +121 -0
- data/doc/classes/NADOLPic.html +10 -10
- data/doc/classes/NADOLPic.src/M000049.html +20 -0
- data/doc/classes/NADOLPic.src/M000050.html +18 -0
- data/doc/classes/NativeFileType.html +91 -91
- data/doc/classes/NativeFileType.src/M000018.html +22 -0
- data/doc/classes/NativeFileType.src/M000019.html +18 -0
- data/doc/classes/NativeFileType.src/M000020.html +18 -0
- data/doc/classes/NativeFileType.src/M000021.html +18 -0
- data/doc/classes/NativeFileType.src/M000022.html +18 -0
- data/doc/classes/NativeFileType.src/M000023.html +18 -0
- data/doc/classes/NativeFileType.src/M000024.html +18 -0
- data/doc/classes/NativeFileType.src/M000025.html +23 -0
- data/doc/classes/NativeFileType.src/M000026.html +18 -0
- data/doc/classes/NativeFileType.src/M000027.html +18 -0
- data/doc/classes/NativeFileType.src/M000028.html +24 -0
- data/doc/classes/NativeFileType.src/M000029.html +41 -0
- data/doc/classes/NativeFileType.src/M000030.html +24 -0
- data/doc/classes/NativeFileType.src/M000031.html +18 -0
- data/doc/classes/NativeFileType.src/M000032.html +18 -0
- data/doc/classes/NativeFileType.src/M000033.html +18 -0
- data/doc/classes/NativeFileType.src/M000034.html +20 -0
- data/doc/classes/NativeFileType.src/M000035.html +28 -0
- data/doc/classes/PackedAppleDosPic.html +9 -8
- data/doc/classes/PackedAppleDosPic.src/M000009.html +40 -0
- data/doc/classes/PackedProDosPic.html +145 -0
- data/doc/classes/PackedProDosPic.src/M000011.html +40 -0
- data/doc/classes/PascalPic.html +10 -10
- data/doc/classes/PascalPic.src/M000047.html +20 -0
- data/doc/classes/PascalPic.src/M000048.html +18 -0
- data/doc/classes/ProDosBINFile.html +186 -0
- data/doc/classes/ProDosBINFile.src/M000040.html +20 -0
- data/doc/classes/ProDosBINFile.src/M000041.html +18 -0
- data/doc/classes/ProDosBINFile.src/M000042.html +18 -0
- data/doc/classes/ProDosBINFile.src/M000043.html +18 -0
- data/doc/classes/ProDosBinPic.html +15 -15
- data/doc/classes/ProDosBinPic.src/M000044.html +20 -0
- data/doc/classes/ProDosBinPic.src/M000045.html +18 -0
- data/doc/classes/ProDosBinPic.src/M000046.html +18 -0
- data/doc/classes/ProDosFile.html +15 -15
- data/doc/classes/ProDosFile.src/M000005.html +20 -0
- data/doc/classes/ProDosFile.src/M000006.html +18 -0
- data/doc/classes/ProDosFile.src/M000007.html +19 -0
- data/doc/classes/RipXplore.html +1 -1
- data/doc/classes/ScrunchedAppleDosPic.html +139 -0
- data/doc/classes/ScrunchedAppleDosPic.src/M000004.html +37 -0
- data/doc/created.rid +1 -1
- data/doc/files/bin/ripxplore_rb.html +1 -1
- data/doc/files/lib/NativeFileType_rb.html +3 -3
- data/doc/files/lib/RipXplore_rb.html +2 -2
- data/doc/files/lib/file_systems/AppleDos_rb.html +2 -2
- data/doc/files/lib/native_file_types/apple2/AppleHiResPic_rb.html +1 -1
- data/doc/files/lib/native_file_types/apple2/PackedHiResPicFormats_rb.html +101 -0
- data/doc/files/lib/native_file_types/apple2/ProDosFile_rb.html +1 -1
- data/doc/files/test/tc_apple_2_rb.html +1 -1
- data/doc/files/test/testhelper_rb.html +17 -17
- data/doc/files/test/testhelper_rb.src/M000001.html +21 -0
- data/doc/files/test/testhelper_rb.src/M000002.html +18 -0
- data/doc/files/test/testhelper_rb.src/M000003.html +50 -8
- data/doc/fr_class_index.html +14 -0
- data/doc/fr_file_index.html +8 -0
- data/doc/fr_method_index.html +54 -0
- data/doc/index.html +1 -1
- data/lib/NativeFileType.rb +3 -2
- data/lib/RipXplore.rb +1 -1
- data/lib/file_systems/AppleDos.rb +16 -29
- data/lib/native_file_types/apple2/AppleHiResPic.rb +11 -10
- data/lib/native_file_types/apple2/PackedHiResPicFormats.rb +207 -0
- data/lib/native_file_types/apple2/ProDosFile.rb +21 -0
- data/test/native_files/30026e5208f55f2cbae4fc591f51de4a-5.png +0 -0
- data/test/native_files/f05d95201b4e736216448ba9f9902db6-11.png +0 -0
- data/test/native_files/f8819465c0c0eb1e74fa88c7e1e59405-7.png +0 -0
- data/test/tc_apple_2.rb +23 -4
- data/test/testhelper.rb +2 -0
- data/test/testlog.txt +56809 -119242
- metadata +68 -3
- data/lib/native_file_types/apple2/PackedAppleDosPic.rb +0 -85
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>load_address (ProDosBinPic)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/apple2/AppleHiResPic.rb, line 179</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_address</span>
|
15
|
+
<span class="ruby-identifier">aux_code</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
data/doc/classes/ProDosFile.html
CHANGED
@@ -88,9 +88,9 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
91
|
+
<a href="#M000005">file_system_file_types</a>
|
92
|
+
<a href="#M000006">matching_score</a>
|
93
|
+
<a href="#M000007">type_description</a>
|
94
94
|
</div>
|
95
95
|
</div>
|
96
96
|
|
@@ -125,12 +125,12 @@
|
|
125
125
|
<div id="methods">
|
126
126
|
<h3 class="section-bar">Public Class methods</h3>
|
127
127
|
|
128
|
-
<div id="method-
|
129
|
-
<a name="
|
128
|
+
<div id="method-M000005" class="method-detail">
|
129
|
+
<a name="M000005"></a>
|
130
130
|
|
131
131
|
<div class="method-heading">
|
132
|
-
<a href="ProDosFile.src/
|
133
|
-
onclick="popupCode('ProDosFile.src/
|
132
|
+
<a href="ProDosFile.src/M000005.html" target="Code" class="method-signature"
|
133
|
+
onclick="popupCode('ProDosFile.src/M000005.html');return false;">
|
134
134
|
<span class="method-name">file_system_file_types</span><span class="method-args">()</span>
|
135
135
|
</a>
|
136
136
|
</div>
|
@@ -139,12 +139,12 @@
|
|
139
139
|
</div>
|
140
140
|
</div>
|
141
141
|
|
142
|
-
<div id="method-
|
143
|
-
<a name="
|
142
|
+
<div id="method-M000006" class="method-detail">
|
143
|
+
<a name="M000006"></a>
|
144
144
|
|
145
145
|
<div class="method-heading">
|
146
|
-
<a href="ProDosFile.src/
|
147
|
-
onclick="popupCode('ProDosFile.src/
|
146
|
+
<a href="ProDosFile.src/M000006.html" target="Code" class="method-signature"
|
147
|
+
onclick="popupCode('ProDosFile.src/M000006.html');return false;">
|
148
148
|
<span class="method-name">matching_score</span><span class="method-args">()</span>
|
149
149
|
</a>
|
150
150
|
</div>
|
@@ -158,12 +158,12 @@ this class should be low scoring, as a last resort
|
|
158
158
|
|
159
159
|
<h3 class="section-bar">Public Instance methods</h3>
|
160
160
|
|
161
|
-
<div id="method-
|
162
|
-
<a name="
|
161
|
+
<div id="method-M000007" class="method-detail">
|
162
|
+
<a name="M000007"></a>
|
163
163
|
|
164
164
|
<div class="method-heading">
|
165
|
-
<a href="ProDosFile.src/
|
166
|
-
onclick="popupCode('ProDosFile.src/
|
165
|
+
<a href="ProDosFile.src/M000007.html" target="Code" class="method-signature"
|
166
|
+
onclick="popupCode('ProDosFile.src/M000007.html');return false;">
|
167
167
|
<span class="method-name">type_description</span><span class="method-args">()</span>
|
168
168
|
</a>
|
169
169
|
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>file_system_file_types (ProDosFile)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/apple2/ProDosFile.rb, line 4</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ProDosFile</span>.<span class="ruby-identifier">file_system_file_types</span>
|
15
|
+
{
|
16
|
+
<span class="ruby-constant">ProDos</span>=<span class="ruby-operator">></span><span class="ruby-identifier">:any</span>
|
17
|
+
}
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>matching_score (ProDosFile)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/apple2/ProDosFile.rb, line 77</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ProDosFile</span>.<span class="ruby-identifier">matching_score</span>
|
15
|
+
<span class="ruby-constant">GenericFile</span>.<span class="ruby-identifier">matching_score</span><span class="ruby-operator">+</span><span class="ruby-value">0</span><span class="ruby-value">.1</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>type_description (ProDosFile)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/apple2/ProDosFile.rb, line 81</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">type_description</span>
|
15
|
+
<span class="ruby-identifier">extension</span>=<span class="ruby-constant">PRODOS_FILE_TYPES</span>[<span class="ruby-identifier">file_type</span>]
|
16
|
+
<span class="ruby-identifier">extension</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-value">? </span> (<span class="ruby-value str">" $%02x:%04x"</span> <span class="ruby-operator">%</span> [<span class="ruby-identifier">file_type</span>,<span class="ruby-identifier">aux_code</span>] ) <span class="ruby-operator">:</span> (<span class="ruby-node">"#{extension}:%04x"</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">aux_code</span>)
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
data/doc/classes/RipXplore.html
CHANGED
@@ -99,7 +99,7 @@
|
|
99
99
|
<tr class="top-aligned-row context-row">
|
100
100
|
<td class="context-item-name">VERSION</td>
|
101
101
|
<td>=</td>
|
102
|
-
<td class="context-item-value">"0.
|
102
|
+
<td class="context-item-value">"0.5.0"</td>
|
103
103
|
</tr>
|
104
104
|
</table>
|
105
105
|
</div>
|
@@ -0,0 +1,139 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: ScrunchedAppleDosPic</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">ScrunchedAppleDosPic</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/native_file_types/apple2/PackedHiResPicFormats_rb.html">
|
59
|
+
lib/native_file_types/apple2/PackedHiResPicFormats.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="AppleDosPic.html">
|
69
|
+
AppleDosPic
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="method-list">
|
88
|
+
<h3 class="section-bar">Methods</h3>
|
89
|
+
|
90
|
+
<div class="name-list">
|
91
|
+
<a href="#M000004">unpacked_picture_bytes</a>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
<!-- if includes -->
|
99
|
+
|
100
|
+
<div id="section">
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<!-- if method_list -->
|
110
|
+
<div id="methods">
|
111
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
112
|
+
|
113
|
+
<div id="method-M000004" class="method-detail">
|
114
|
+
<a name="M000004"></a>
|
115
|
+
|
116
|
+
<div class="method-heading">
|
117
|
+
<a href="ScrunchedAppleDosPic.src/M000004.html" target="Code" class="method-signature"
|
118
|
+
onclick="popupCode('ScrunchedAppleDosPic.src/M000004.html');return false;">
|
119
|
+
<span class="method-name">unpacked_picture_bytes</span><span class="method-args">()</span>
|
120
|
+
</a>
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<div class="method-description">
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
|
131
|
+
</div>
|
132
|
+
|
133
|
+
|
134
|
+
<div id="validator-badges">
|
135
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
</body>
|
139
|
+
</html>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>unpacked_picture_bytes (ScrunchedAppleDosPic)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/apple2/PackedHiResPicFormats.rb, line 158</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unpacked_picture_bytes</span>
|
15
|
+
<span class="ruby-identifier">packed_buffer</span>=<span class="ruby-identifier">data_without_header</span>
|
16
|
+
<span class="ruby-identifier">unpacked_buffer</span>=<span class="ruby-value str">"\000"</span><span class="ruby-operator">*</span><span class="ruby-value">8192</span>
|
17
|
+
<span class="ruby-identifier">in_p</span>=<span class="ruby-value">0</span>
|
18
|
+
<span class="ruby-identifier">out_p</span>=<span class="ruby-value">0</span>
|
19
|
+
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">out_p</span><span class="ruby-operator"><</span><span class="ruby-value">8192</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">in_p</span><span class="ruby-operator"><</span><span class="ruby-identifier">packed_buffer</span>.<span class="ruby-identifier">length</span> <span class="ruby-keyword kw">do</span>
|
20
|
+
<span class="ruby-identifier">colour_byte</span>=<span class="ruby-identifier">packed_buffer</span>[<span class="ruby-identifier">in_p</span>]
|
21
|
+
<span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">colour_byte</span><span class="ruby-operator">==</span><span class="ruby-value">0x80</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">colour_byte</span><span class="ruby-operator">==</span><span class="ruby-value">0x</span><span class="ruby-constant">FF</span>) <span class="ruby-keyword kw">then</span>
|
22
|
+
<span class="ruby-identifier">in_p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
23
|
+
<span class="ruby-identifier">run_length</span>=<span class="ruby-identifier">packed_buffer</span>[<span class="ruby-identifier">in_p</span>]
|
24
|
+
<span class="ruby-identifier">colour_byte</span><span class="ruby-operator">&=</span><span class="ruby-value">0x7</span><span class="ruby-constant">F</span>
|
25
|
+
<span class="ruby-keyword kw">else</span>
|
26
|
+
<span class="ruby-identifier">run_length</span>=<span class="ruby-value">1</span>
|
27
|
+
<span class="ruby-keyword kw">end</span>
|
28
|
+
<span class="ruby-identifier">in_p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
29
|
+
<span class="ruby-identifier">run_length</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span>
|
30
|
+
<span class="ruby-identifier">unpacked_buffer</span>[<span class="ruby-identifier">out_p</span>]=<span class="ruby-identifier">colour_byte</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">out_p</span><span class="ruby-operator">>=</span><span class="ruby-value">8192</span>
|
31
|
+
<span class="ruby-identifier">out_p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
32
|
+
<span class="ruby-keyword kw">end</span>
|
33
|
+
<span class="ruby-keyword kw">end</span>
|
34
|
+
<span class="ruby-identifier">unpacked_buffer</span>
|
35
|
+
<span class="ruby-keyword kw">end</span></pre>
|
36
|
+
</body>
|
37
|
+
</html>
|
data/doc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Fri, 26 Dec 2008 12:19:51 +1100
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Sun Dec 21 22:04:36 +1100 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -74,8 +74,8 @@
|
|
74
74
|
|
75
75
|
<div class="name-list">
|
76
76
|
open-uri
|
77
|
-
|
78
|
-
|
77
|
+
RipXploreLog
|
78
|
+
SubclassTracking
|
79
79
|
proc_source
|
80
80
|
</div>
|
81
81
|
</div>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Sun Dec 21 18:18:55 +1100 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -77,7 +77,7 @@
|
|
77
77
|
HostSystem
|
78
78
|
ImageFormat
|
79
79
|
FileSystem
|
80
|
-
NativeFileType
|
80
|
+
<a href="../../classes/NativeFileType.html">NativeFileType</a>
|
81
81
|
FileSystemImage
|
82
82
|
zlib
|
83
83
|
</div>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Sun Dec 21 16:22:49 +1100 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
<h3 class="section-bar">Required files</h3>
|
74
74
|
|
75
75
|
<div class="name-list">
|
76
|
-
|
76
|
+
FileSystem
|
77
77
|
</div>
|
78
78
|
</div>
|
79
79
|
|
@@ -0,0 +1,101 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: PackedHiResPicFormats.rb</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="fileHeader">
|
50
|
+
<h1>PackedHiResPicFormats.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>lib/native_file_types/apple2/PackedHiResPicFormats.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Wed Dec 24 21:49:13 +1100 2008</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<div id="contextContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
</div>
|
74
|
+
|
75
|
+
|
76
|
+
</div>
|
77
|
+
|
78
|
+
|
79
|
+
<!-- if includes -->
|
80
|
+
|
81
|
+
<div id="section">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<!-- if method_list -->
|
91
|
+
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
|
96
|
+
<div id="validator-badges">
|
97
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
98
|
+
</div>
|
99
|
+
|
100
|
+
</body>
|
101
|
+
</html>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Dec 22 20:56:53 +1100 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -81,7 +81,7 @@ make sure the relevant folder with our libraries is in the require path
|
|
81
81
|
<div class="name-list">
|
82
82
|
test/unit
|
83
83
|
<a href="../../classes/RipXplore.html">RipXplore</a>
|
84
|
-
|
84
|
+
FileCache
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
|
@@ -91,9 +91,9 @@ make sure the relevant folder with our libraries is in the require path
|
|
91
91
|
<h3 class="section-bar">Methods</h3>
|
92
92
|
|
93
93
|
<div class="name-list">
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
94
|
+
<a href="#M000002">file_cache</a>
|
95
|
+
<a href="#M000001">image_has_collection_of</a>
|
96
|
+
<a href="#M000003">sniff_url</a>
|
97
97
|
</div>
|
98
98
|
</div>
|
99
99
|
|
@@ -128,12 +128,12 @@ make sure the relevant folder with our libraries is in the require path
|
|
128
128
|
<div id="methods">
|
129
129
|
<h3 class="section-bar">Public Instance methods</h3>
|
130
130
|
|
131
|
-
<div id="method-
|
132
|
-
<a name="
|
131
|
+
<div id="method-M000002" class="method-detail">
|
132
|
+
<a name="M000002"></a>
|
133
133
|
|
134
134
|
<div class="method-heading">
|
135
|
-
<a href="testhelper_rb.src/
|
136
|
-
onclick="popupCode('testhelper_rb.src/
|
135
|
+
<a href="testhelper_rb.src/M000002.html" target="Code" class="method-signature"
|
136
|
+
onclick="popupCode('testhelper_rb.src/M000002.html');return false;">
|
137
137
|
<span class="method-name">file_cache</span><span class="method-args">()</span>
|
138
138
|
</a>
|
139
139
|
</div>
|
@@ -142,12 +142,12 @@ make sure the relevant folder with our libraries is in the require path
|
|
142
142
|
</div>
|
143
143
|
</div>
|
144
144
|
|
145
|
-
<div id="method-
|
146
|
-
<a name="
|
145
|
+
<div id="method-M000001" class="method-detail">
|
146
|
+
<a name="M000001"></a>
|
147
147
|
|
148
148
|
<div class="method-heading">
|
149
|
-
<a href="testhelper_rb.src/
|
150
|
-
onclick="popupCode('testhelper_rb.src/
|
149
|
+
<a href="testhelper_rb.src/M000001.html" target="Code" class="method-signature"
|
150
|
+
onclick="popupCode('testhelper_rb.src/M000001.html');return false;">
|
151
151
|
<span class="method-name">image_has_collection_of</span><span class="method-args">(url,collection_type)</span>
|
152
152
|
</a>
|
153
153
|
</div>
|
@@ -156,12 +156,12 @@ make sure the relevant folder with our libraries is in the require path
|
|
156
156
|
</div>
|
157
157
|
</div>
|
158
158
|
|
159
|
-
<div id="method-
|
160
|
-
<a name="
|
159
|
+
<div id="method-M000003" class="method-detail">
|
160
|
+
<a name="M000003"></a>
|
161
161
|
|
162
162
|
<div class="method-heading">
|
163
|
-
<a href="testhelper_rb.src/
|
164
|
-
onclick="popupCode('testhelper_rb.src/
|
163
|
+
<a href="testhelper_rb.src/M000003.html" target="Code" class="method-signature"
|
164
|
+
onclick="popupCode('testhelper_rb.src/M000003.html');return false;">
|
165
165
|
<span class="method-name">sniff_url</span><span class="method-args">(url,expected_image_format,expected_file_system,expected_files=nil)</span>
|
166
166
|
</a>
|
167
167
|
</div>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>image_has_collection_of (test/testhelper.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/testhelper.rb, line 16</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">image_has_collection_of</span>(<span class="ruby-identifier">url</span>,<span class="ruby-identifier">collection_type</span>)
|
15
|
+
<span class="ruby-identifier">image</span>=<span class="ruby-ivar">@@filecache</span>.<span class="ruby-identifier">get_file_system_image</span>(<span class="ruby-identifier">url</span>)
|
16
|
+
<span class="ruby-identifier">assert</span>(<span class="ruby-identifier">image</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">collection_type</span>),<span class="ruby-node">"#{url} should contain a collection of #{collection_type}"</span>)
|
17
|
+
<span class="ruby-identifier">collection</span>=<span class="ruby-identifier">image</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">collection_type</span>)
|
18
|
+
<span class="ruby-identifier">assert</span>(<span class="ruby-identifier">collection</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">></span><span class="ruby-value">0</span>,<span class="ruby-node">"#{url} should contain more than zero #{collection_type}"</span>)
|
19
|
+
<span class="ruby-keyword kw">end</span></pre>
|
20
|
+
</body>
|
21
|
+
</html>
|