sgl 0.4.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +254 -234
- data/History.txt +6 -0
- data/Manifest.txt +10 -0
- data/Rakefile +27 -7
- data/examples/cocoa1-basic.rb +14 -14
- data/examples/cocoa10-transparent.rb +26 -26
- data/examples/cocoa11-application.rb +13 -13
- data/examples/cocoa2-draw.rb +23 -23
- data/examples/cocoa3-affine.rb +29 -29
- data/examples/cocoa4-font.rb +24 -24
- data/examples/cocoa5-image.rb +22 -22
- data/examples/cocoa6-sound.rb +24 -24
- data/examples/cocoa7-movie.rb +40 -40
- data/examples/cocoa8-movieoverlay.rb +42 -42
- data/examples/cocoa9-streaming.rb +40 -40
- data/examples/opengl1-basic.rb +14 -14
- data/examples/opengl11-application.rb +13 -13
- data/examples/opengl2-draw.rb +23 -23
- data/examples/opengl3-affine.rb +29 -29
- data/examples/sample1.rb +11 -11
- data/examples/sample10.rb +16 -16
- data/examples/sample11.rb +22 -22
- data/examples/sample11a.rb +33 -33
- data/examples/sample12.rb +30 -30
- data/examples/sample12a.rb +35 -35
- data/examples/sample13.rb +116 -116
- data/examples/sample15.rb +24 -24
- data/examples/sample16.rb +31 -31
- data/examples/sample16a.rb +35 -35
- data/examples/sample6.rb +18 -18
- data/examples/sample7.rb +16 -16
- data/examples/sample9.rb +20 -20
- data/examples/testgl.rb +169 -169
- data/lib/sgl/bass.rb +46 -46
- data/lib/sgl/cocoa-app.rb +43 -43
- data/lib/sgl/cocoa-color.rb +65 -65
- data/lib/sgl/cocoa-draw.rb +72 -72
- data/lib/sgl/cocoa-event.rb +229 -229
- data/lib/sgl/cocoa-media.rb +144 -144
- data/lib/sgl/cocoa-notuse.rb +493 -493
- data/lib/sgl/cocoa-window.rb +203 -203
- data/lib/sgl/cocoa.rb +8 -8
- data/lib/sgl/opengl-app.rb +38 -38
- data/lib/sgl/opengl-color.rb +44 -44
- data/lib/sgl/opengl-draw.rb +260 -260
- data/lib/sgl/opengl-event.rb +325 -325
- data/lib/sgl/opengl-modules.rb +22 -22
- data/lib/sgl/opengl-window.rb +224 -224
- data/lib/sgl/opengl.rb +7 -7
- data/lib/sgl/sgl-button.rb +135 -135
- data/lib/sgl/sgl-client.rb +21 -21
- data/lib/sgl/sgl-color.rb +68 -82
- data/lib/sgl/sgl-connect.rb +9 -9
- data/lib/sgl/sgl-server.rb +58 -58
- data/lib/sgl/sgl-spring.rb +216 -216
- data/lib/sgl/version.rb +2 -2
- data/scripts/lib-txt2html.rb +130 -0
- data/scripts/txt2html +2 -63
- data/spec/sgl_spec.rb +13 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +1 -0
- data/test/test_cocoa_app.rb +291 -291
- data/test/test_module_ruby16.rb +30 -30
- data/test/test_opengl_app.rb +147 -147
- data/test/test_opengl_basic.rb +22 -22
- data/test/test_opengl_fullscreen.rb +23 -23
- data/test/test_opengl_novice.rb +35 -35
- data/website/challenge1.html +91 -91
- data/website/challenge1.txt +3 -3
- data/website/challenge2.html +143 -144
- data/website/challenge2.txt +13 -14
- data/website/challenge3.html +66 -63
- data/website/challenge3.txt +7 -7
- data/website/cocoa.html +85 -88
- data/website/cocoa.txt +2 -4
- data/website/description.html +138 -138
- data/website/description.txt +1 -1
- data/website/exercise1.html +262 -264
- data/website/exercise1.txt +58 -53
- data/website/exercise2.html +241 -683
- data/website/exercise2.txt +11 -427
- data/website/exercise3.html +206 -0
- data/website/exercise3.txt +155 -0
- data/website/exercise4.html +198 -0
- data/website/exercise4.txt +151 -0
- data/website/exercise5.html +162 -0
- data/website/exercise5.txt +113 -0
- data/website/exhibition.html +84 -84
- data/website/howto.html +146 -134
- data/website/howto.txt +9 -0
- data/website/index.html +178 -178
- data/website/index.txt +20 -19
- data/website/sound.html +141 -141
- metadata +16 -3
data/ChangeLog
CHANGED
@@ -1,234 +1,254 @@
|
|
1
|
-
2007-06-
|
2
|
-
|
3
|
-
*
|
4
|
-
*
|
5
|
-
|
6
|
-
*
|
7
|
-
*
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
*
|
13
|
-
*
|
14
|
-
|
15
|
-
*
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
*
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
*
|
33
|
-
|
34
|
-
*
|
35
|
-
*
|
36
|
-
|
37
|
-
*
|
38
|
-
|
39
|
-
*
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
*
|
55
|
-
*
|
56
|
-
|
57
|
-
* sgl
|
58
|
-
|
59
|
-
* sgl-timer.rb:
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
*
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
* Update
|
74
|
-
|
75
|
-
*
|
76
|
-
|
77
|
-
*
|
78
|
-
*
|
79
|
-
|
80
|
-
*
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
*
|
85
|
-
|
86
|
-
*
|
87
|
-
|
88
|
-
*
|
89
|
-
|
90
|
-
*
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
*
|
99
|
-
|
100
|
-
*
|
101
|
-
|
102
|
-
*
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
*
|
107
|
-
|
108
|
-
* sgl-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
*
|
115
|
-
|
116
|
-
*
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
*
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
*
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
*
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
*
|
137
|
-
*
|
138
|
-
|
139
|
-
2005-
|
140
|
-
|
141
|
-
*
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
*
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
*
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
*
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
*
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
* cocoa-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
* cocoa-
|
181
|
-
* cocoa-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
*
|
186
|
-
*
|
187
|
-
*
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
* cocoa-
|
201
|
-
* cocoa.rb:
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
*
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
* cocoa.rb:
|
221
|
-
* cocoa.rb:
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
*
|
226
|
-
|
227
|
-
2005-
|
228
|
-
|
229
|
-
*
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
1
|
+
2007-06-30 Kouichirou Eto <2007 eto.com>
|
2
|
+
|
3
|
+
* Rakefile: Add spec support.
|
4
|
+
* spec/sgl_spec.rb: New spec.
|
5
|
+
* spec/spec_helper.rb: Ditto.
|
6
|
+
* spec/spec.opts: Ditto.
|
7
|
+
* lib/sgl/sgl-color.rb: Delete test case.
|
8
|
+
|
9
|
+
2007-06-25 Kouichirou Eto <2007 eto.com>
|
10
|
+
|
11
|
+
* scripts/lib-txt2html.rb: New file for speeding up txt2html.
|
12
|
+
* scripts/txt2html: Modified.
|
13
|
+
* Rakefile: Ditto.
|
14
|
+
|
15
|
+
* website/exercise?.txt: Split exercise pages.
|
16
|
+
|
17
|
+
2007-06-25 Kouichirou Eto <2007 eto.com>
|
18
|
+
|
19
|
+
* version: Version up to 0.4.0
|
20
|
+
|
21
|
+
* sgl-0.4.0 released.
|
22
|
+
|
23
|
+
2007-06-25 Kouichirou Eto <2007 eto.com>
|
24
|
+
|
25
|
+
* test_bass.rb: Reformat.
|
26
|
+
* test_bass.rb: Ditto.
|
27
|
+
|
28
|
+
* Rakefile: Obfuscate mail address.
|
29
|
+
* Rakefile: Reformat.
|
30
|
+
|
31
|
+
* website/stylesheets/grade.png: Add backgorund image.
|
32
|
+
* website/stylesheets/screen.css: Ditto.
|
33
|
+
|
34
|
+
* lib/sgl/sgl-sound.rb: New function sound.
|
35
|
+
* lib/sgl/opengl-app.rb: Ditto.
|
36
|
+
* lib/sgl/opengl-modules.rb: Ditto.
|
37
|
+
* test/test_sound.rb: Ditto.
|
38
|
+
* examples/sgl-sound1.rb: Ditto.
|
39
|
+
* examples/sgl-sound2.rb: Ditto.
|
40
|
+
* examples/sine.ogg: Sample sound.
|
41
|
+
|
42
|
+
2007-06-23 Kouichirou Eto <2007 eto.com>
|
43
|
+
|
44
|
+
* test_bass.rb: New file. Test case for bass.
|
45
|
+
|
46
|
+
* bin: New directory.
|
47
|
+
|
48
|
+
2007-06-22 Kouichirou Eto <2007 eto.com>
|
49
|
+
|
50
|
+
* test_helper.rb: Update to include LOAD_PATH.
|
51
|
+
|
52
|
+
* test_opengl_fullscreen.rb: Change runtime to 0.1
|
53
|
+
|
54
|
+
* examples/*: Change sgl/opengl to sgl.
|
55
|
+
* examples/*: Update comment.
|
56
|
+
|
57
|
+
* sgl/sgl.rb: Use sgl/opengl as default sgl_type.
|
58
|
+
|
59
|
+
* sgl/sgl-timer.rb: Refine comment.
|
60
|
+
|
61
|
+
* sgl/sgl-basic.rb: Create test case.
|
62
|
+
|
63
|
+
* sgl/make-release.rb: Remove unused file.
|
64
|
+
|
65
|
+
* bin: Remove unused directory.
|
66
|
+
|
67
|
+
* sgl/bass.rb: Restructuring.
|
68
|
+
* sgl/bass-api.rb: New file.
|
69
|
+
* sgl/bass-sample.rb: New file.
|
70
|
+
|
71
|
+
2007-06-21 Kouichirou Eto <2007 eto.com>
|
72
|
+
|
73
|
+
* test_*: Update require.
|
74
|
+
* test_cocoa_app.rb: Add if.
|
75
|
+
* test_module_ruby16.rb: Add if.
|
76
|
+
* Rakefile: Add rule chmod to clean.
|
77
|
+
* sgl-objlib.rb: Moved to sgl-objs.rb
|
78
|
+
* sgl-objs.rb: New file.
|
79
|
+
* sgl-timer.rb: New file.
|
80
|
+
* sgl-basic.rb: New file.
|
81
|
+
|
82
|
+
2007-06-20 Kouichirou Eto <2007 eto.com>
|
83
|
+
|
84
|
+
* Update documents.
|
85
|
+
|
86
|
+
* Rakefile: Add new task manifest to create Manifest.txt.
|
87
|
+
|
88
|
+
* Remove qp related lines.
|
89
|
+
|
90
|
+
* sgl-bass.rb: Update main not to define always.
|
91
|
+
|
92
|
+
* Update copyright lines to this year 2007.
|
93
|
+
* Update copyright lines again.
|
94
|
+
|
95
|
+
* test_opengl_fullscreen.rb: Change runtime to a second.
|
96
|
+
|
97
|
+
* bass.rb: Renamed from sgl-bass.rb
|
98
|
+
* bass.rb: Reformat.
|
99
|
+
|
100
|
+
* Add license information to each files.
|
101
|
+
|
102
|
+
* Reformat for RDoc.
|
103
|
+
|
104
|
+
* Truncate unused files.
|
105
|
+
* Delete unused files.
|
106
|
+
* Delete unused directories.
|
107
|
+
|
108
|
+
* sgl-objlib.rb: Reformat.
|
109
|
+
|
110
|
+
* test_*: Add license.
|
111
|
+
|
112
|
+
2007-06-19 Kouichirou Eto <2007 eto.com>
|
113
|
+
|
114
|
+
* Restructuring. Adapt to newgem source code tree.
|
115
|
+
|
116
|
+
* Rakefile: Add new task replace for development.
|
117
|
+
|
118
|
+
* Move test files to test dir.
|
119
|
+
|
120
|
+
* Rename test files.
|
121
|
+
|
122
|
+
* Update test code.
|
123
|
+
|
124
|
+
2005-07-14 Kouichirou Eto <2005 eto.com>
|
125
|
+
|
126
|
+
* opengl-event.rb: Bug fix. Do not reentrant mainloop.
|
127
|
+
* opengl-window.rb: Add default size for fullscreen.
|
128
|
+
* sgl-button.rb: Show them near by the buttons.
|
129
|
+
|
130
|
+
2005-07-11 Kouichirou Eto <2005 eto.com>
|
131
|
+
|
132
|
+
* opengl-event.rb: Add fullscreen methods.
|
133
|
+
* test-opengl-fullscreen.rb: Test case.
|
134
|
+
* sgl-spring.rb: Spring object.
|
135
|
+
* sgl-button.rb: Button object.
|
136
|
+
* sgl-bass.rb: Bass object.
|
137
|
+
* sgl-objlib.rb: Obj library.
|
138
|
+
|
139
|
+
2005-07-07 Kouichirou Eto <2005 eto.com>
|
140
|
+
|
141
|
+
* sgl-client.rb: New file for network test.
|
142
|
+
* sgl-server.rb: Ditto.
|
143
|
+
* sgl-connect.rb: Ditto.
|
144
|
+
* samples/sample15.rb, sample16.rb, sample16a.rb: New files.
|
145
|
+
|
146
|
+
2005-06-16 Kouichirou Eto <2005 eto.com>
|
147
|
+
|
148
|
+
* opengl-event.rb: New method process.
|
149
|
+
* doc/style.css: Update.
|
150
|
+
* doc/*: Reformat.
|
151
|
+
* sample/sample*.rb: New files.
|
152
|
+
* README.txt, README-opengl.txt, README-cocoa.txt: New files.
|
153
|
+
|
154
|
+
2005-06-01 Kouichirou Eto <2005 eto.com>
|
155
|
+
|
156
|
+
* opengl-app.rb: delete flip
|
157
|
+
* opengl-event.rb: add flip, wait for novice mode.
|
158
|
+
|
159
|
+
2005-05-13 Kouichirou Eto <2005 eto.com>
|
160
|
+
|
161
|
+
* add documentation.
|
162
|
+
|
163
|
+
2005-04-22 Kouichirou Eto <2005 eto.com>
|
164
|
+
|
165
|
+
* sgl-0.2 released.
|
166
|
+
|
167
|
+
2005-04-20 Kouichirou Eto <2005 eto.com>
|
168
|
+
|
169
|
+
* opengl-window.rb: Add check windows?
|
170
|
+
|
171
|
+
2005-04-19 Kouichirou Eto <2005 eto.com>
|
172
|
+
|
173
|
+
* cocoa-app.rb, cocoa-window.rb: Fix bug.
|
174
|
+
* cocoa-window.rb: Add setGLAttr for fix bug.
|
175
|
+
* cocoa-event.rb: Fix bug for keydown.
|
176
|
+
|
177
|
+
2005-04-08 Kouichirou Eto <2005 eto.com>
|
178
|
+
|
179
|
+
* cocoa-app.rb: Refactoring.
|
180
|
+
* cocoa-window.rb: New file.
|
181
|
+
* cocoa-event.rb: New method check_runtime_finished
|
182
|
+
* opengl.rb: Refactoring.
|
183
|
+
* opengl-app.rb: Refactoring.
|
184
|
+
* opengl-draw.rb: Refactoring.
|
185
|
+
* opengl-window.rb, opengl-modules.rb, opengl-color.rb: New files.
|
186
|
+
* tests/test-opengl-app.rb: New file.
|
187
|
+
* samples/opengl2-draw.rb, opengl3-affine.rb,
|
188
|
+
opengl11-application.rb: New files.
|
189
|
+
* make.rb: New file. for make dist tarball.
|
190
|
+
* MANIFEST: New file.
|
191
|
+
|
192
|
+
2005-04-07 Kouichirou Eto <2005 eto.com>
|
193
|
+
|
194
|
+
* cocoa-draw.rb, cocoa-event.rb, cocoa-media.rb: New
|
195
|
+
files. Splited from cocoa-app.rb
|
196
|
+
* tests/test-cocoa-app.rb: Do not test sound and movies.
|
197
|
+
|
198
|
+
2005-04-06 Kouichirou Eto <2005 eto.com>
|
199
|
+
|
200
|
+
* cocoa-app.rb: Add "p" in movie method. Strange bug.
|
201
|
+
* cocoa-app.rb: Check global var.
|
202
|
+
|
203
|
+
2005-04-06 Kouichirou Eto <2005 eto.com>
|
204
|
+
|
205
|
+
* cocoa-app.rb: Remove unused classes.
|
206
|
+
* cocoa-functions.rb: Refactoring.
|
207
|
+
* cocoa-notuse.rb: New file. To backup old classes.
|
208
|
+
|
209
|
+
2005-04-06 Kouichirou Eto <2005 eto.com>
|
210
|
+
|
211
|
+
* test-cocoa-app.rb: New file.
|
212
|
+
* test-cocoa-basic.rb, test-cocoa-core.rb, test-cocoa-media.rb:
|
213
|
+
Removed.
|
214
|
+
|
215
|
+
2005-04-06 Kouichirou Eto <2005 eto.com>
|
216
|
+
|
217
|
+
* cocoa-app.rb, cocoa-functions.rb, opengl-app.rb, opengl.rb,
|
218
|
+
opengl-draw.rb, opengl-functions.rb, sgl-functions.rb,
|
219
|
+
test-all.rb, Makefile: New files.
|
220
|
+
* cocoa-win.rb, sgl-core.rb, sgl-video.rb: Removed.
|
221
|
+
* cocoa.rb: Update to small stub library.
|
222
|
+
* sgl-color.rb: Add test code.
|
223
|
+
* sgl.rb: Branch two methods.
|
224
|
+
* sample/cocoa*.rb: New files.
|
225
|
+
* sample/opengl*.rb: New files.
|
226
|
+
|
227
|
+
2005-04-05 Kouichirou Eto <2005 eto.com>
|
228
|
+
|
229
|
+
* README.en.txt, README.ja.txt: Update.
|
230
|
+
* README.txt: Removed.
|
231
|
+
|
232
|
+
2005-01-28 Kouichirou Eto <2005 eto.com>
|
233
|
+
|
234
|
+
* cocoa.rb: Refactoring. Make @block as hash object.
|
235
|
+
* tests/test-cocoaapp.rb: add test for movie overlay,
|
236
|
+
move view, affine translat.
|
237
|
+
|
238
|
+
2005-01-25 Kouichirou Eto <2005 eto.com>
|
239
|
+
|
240
|
+
* cocoa.rb: Refactoring.
|
241
|
+
* cocoa.rb: CocoaReceiver new class
|
242
|
+
|
243
|
+
2005-01-21 Kouichirou Eto <2005 eto.com>
|
244
|
+
|
245
|
+
* cocoa.rb: Refactoring.
|
246
|
+
|
247
|
+
2005-01-19 Kouichirou Eto <2005 eto.com>
|
248
|
+
|
249
|
+
* change directory name from t to samples and tests.
|
250
|
+
|
251
|
+
2005-01-05 Kouichirou Eto <2005 eto.com>
|
252
|
+
|
253
|
+
* change test file name scheme.
|
254
|
+
|