Fixed some warnings.
[ruby-eet.git] / ChangeLog
1 --
2 $Id: ChangeLog 76 2006-05-14 13:51:45Z tilman $
3 ++
4
5 2006-05-14 Tilman Sauerbeck (tilman at code-monkey de)
6         * ext/ext.c: Fixed some warnings
7
8 2006-05-13 Tilman Sauerbeck (tilman at code-monkey de)
9         * lib/eet.rb, ext/ext.c, test/test_misc.rb: Deprecated
10           Eet::File#list and introduced Eet::File#entries and
11           Eet::File#[] instead.
12         * README, Rakefile: Updated project homepage and documentation
13           locations
14
15 2005-08-25 Tilman Sauerbeck (tilman at code-monkey de)
16         * README: Fixed bad link to project homepage
17
18 2005-07-16 Tilman Sauerbeck (tilman at code-monkey de)
19         * ext/ext.c, test/test_stream.rb: Don't raise BadElementError if
20           Stream#serialize is called on a stream that includes non-Chunk
21           elements
22         * ext/ext.c, test/test_{chunk,stream}.rb: Internal API update.
23           Instead of using Chunk#serialize and Stream#serialize, rename
24           Chunk#serialize to Chunk#to_s and just use Stream#to_s to
25           serialize the streams
26
27 2005-07-15 Tilman Sauerbeck (tilman at code-monkey de)
28         * ext/ext.c: Code cleanup
29
30 2005-07-09 Tilman Sauerbeck (tilman at code-monkey de)
31         * ext/ext.c: Object#to_eet: clear the stream after serializing it,
32           which slightly increases performance
33
34 2005-06-29 Tilman Sauerbeck (tilman at code-monkey de)
35         * ext/ext.c: Store the result of rb_intern("pack") in a
36           global variable
37         * ext/ext.c: Remove unneeded StringValue() calls in
38           chunk_serialize()
39         * ext/ext.c: Properly check for an integer overflow when
40           computing the total buffer size in Chunk#initialize
41
42 2005-06-28 Tilman Sauerbeck (tilman at code-monkey de)
43         * ext/ext.c: Removed stray backslash
44
45 2005-06-27 Tilman Sauerbeck (tilman at code-monkey de)
46         * ext/ext.c: Tweaked Stream#serialize to be more GC-friendly
47
48 2005-06-09 Tilman Sauerbeck (tilman at code-monkey de)
49         * ext/ext.c: Object#to_eet: Don't put the final chunk in a stream
50           again, it's not needed
51         * ext/ext.c, test/test_stream.rb: If Stream#serialize is called on
52           a stream that includes non-Chunk elements, BadElementError is
53           raised
54         * ext/ext.c: Tweaked for_each_prop; use rb_ary_push() to add
55           chunks to the stream instead of calling Stream#push
56
57 2005-06-08 Tilman Sauerbeck (tilman at code-monkey de)
58         * ext/ext.c, lib/eet.rb, test/test_basic.rb:
59           Re-implemented Float#to_eet_chunks in C and switched format to
60           the one libeet uses.
61         * ext/ext.c, lib/eet.rb: Re-implemented Integer#to_eet_chunks
62           in C
63
64 2005-06-02 Tilman Sauerbeck (tilman at code-monkey de)
65         * Released version 0.1.3
66
67 2005-06-02 Tilman Sauerbeck (tilman at code-monkey de)
68         * ext/ext.c: Fixed to work on Ruby 1.8.{0,1} again
69         * lib/eet.rb: Bumped version number to 0.1.3
70         * ext/ext.c: Fixed RDoc comment for Object#to_eet
71         * Rakefile: If the CC environment variable is set, use its value
72           instead of calling "cc".
73         * NEWS: Updated for 0.1.3
74
75 2005-05-31 Tilman Sauerbeck (tilman at code-monkey de)
76         * ext/ext.c: Optimized Object#to_eet slightly
77
78 2005-05-30 Tilman Sauerbeck (tilman at code-monkey de)
79         * lib/eet.rb, ext/ext.c: Re-implemented Chunk#initialize in C
80         * ext/ext.c: Code cleanup
81         * lib/eet.rb, ext/ext.c: Re-implemented Object#to_eet in C
82         * ext/ext.c: Code cleanup
83
84 2005-05-25 Tilman Sauerbeck (tilman at code-monkey de)
85         * test/test_array_sub.rb: Added a test for the :sub format
86           specifier
87         * lib/eet.rb, test/test_chunk.rb: Chunk.deserialize doesn't
88           modify its argument any more, instead, the number of bytes
89           consumed is now returned, too.
90         * lib/eet.rb: Stream.deserialize fails if the given buffer is
91           empty
92         * lib/eet.rb: Chunk.deserialize fails if the given buffer is
93           empty
94
95 2005-05-19 Tilman Sauerbeck (tilman at code-monkey de)
96         * Rakefile: Code cleanup
97
98 2005-05-18 Tilman Sauerbeck (tilman at code-monkey de)
99         * lib/eet.rb: Grammar fix
100         * lib/eet.rb: Don't use Array#pack when the result is constant
101
102 2005-05-13 Tilman Sauerbeck (tilman at code-monkey de)
103         * ext/ext.c: Work around RDoc's limitations
104
105 2005-05-11 Tilman Sauerbeck (tilman at code-monkey de)
106         * ext/ext.c: Don't define BSWAP16, it's not used
107         * lib/eet.rb: Don't specify the parent class of Eet::Stream when
108           we re-open it
109
110 2005-05-10 Tilman Sauerbeck (tilman at code-monkey de)
111         * ext/ext.c: Store the result of rb_intern("include?") in a
112           global variable, since it's used very often
113
114 2005-04-30 Tilman Sauerbeck (tilman at code-monkey de)
115         * lib/eet.rb: Tweaked Stream#serialize for performance
116         * lib/eet.rb, ext/ext.c: Re-implemented Stream#serialize and
117           Chunk#serialize in C
118
119 2005-04-19 Tilman Sauerbeck (tilman at code-monkey de)
120         * Rakefile: Code cleanup
121
122 2005-04-12 Tilman Sauerbeck (tilman at code-monkey de)
123         * ext/ext.c: Code cleanup
124         * ext/ext.c: Don't pass VALUEs to rb_raise()
125         * ext/ext.c: Sanitized StringValue() usage
126
127 2005-04-11 Tilman Sauerbeck (tilman at code-monkey de)
128         * ext/ext.c: Use StringValue() instead of
129           Check_Type(blah, T_STRING)
130
131 2005-04-09 Tilman Sauerbeck (tilman at code-monkey de)
132         * Released version 0.1.2
133
134 2005-04-09 Tilman Sauerbeck (tilman at code-monkey de)
135         * Rakefile: Updated for rake 0.5.3
136         * lib/eet.rb: Bumped version number to 0.1.2
137         * NEWS: Updated for 0.1.2
138
139 2005-03-29 Tilman Sauerbeck (tilman at code-monkey de)
140         * Released version 0.1.1
141
142 2005-03-29 Tilman Sauerbeck (tilman at code-monkey de)
143         * README: Grammar fix
144         * Rakefile: Tweak lookup of PKG_VERSION
145         * NEWS, Rakefile: Added NEWS
146         * lib/eet.rb: Bumped version number to 0.1.1
147
148 2005-03-28 Tilman Sauerbeck (tilman at code-monkey de)
149         * Rakefile: Fixed casing of "Ruby-EET"
150         * Rakefile: explicitly require compositepublisher
151
152 2005-03-27 Tilman Sauerbeck (tilman at code-monkey de)
153         * README: Fixed casing of "Ruby-EET"
154         * ext/ext.c: Added support for compression parameters
155           to Eet::File#write_image and Eet::File#read_image
156
157 2005-03-27 Tilman Sauerbeck (tilman at code-monkey de)
158         * Released version 0.1.0
159
160 2005-03-27 Tilman Sauerbeck (tilman at code-monkey de)
161         * Rakefile: Added a publish task that uploads the current
162           tarball and the RDoc documentation to code-monkey.de
163         * README: Added a link to the online documentation
164         * Rakefile: Use Kernel#raise instead of Kernel#fail
165         * README: Improved project description
166         * Rakefile: Fixed the install task; eet.rb needs to be copied
167           to sitelibdir instead of sitearchdir
168         * README: Added a link to enlightenment.org to the description
169
170 2005-03-26 Tilman Sauerbeck (tilman at code-monkey de)
171         * README, Rakefile: Require Rake 0.5.0 or greater
172         * Rakefile: Added a PackageTask
173         * test/common.rb: Removed unused assertion
174         * lib/eet.rb: Bumped version number to 0.1.0
175
176 2005-03-25 Tilman Sauerbeck (tilman at code-monkey de)
177         * test/test_broken_classes.rb: Code cleanup
178
179 2005-03-23 Tilman Sauerbeck (tilman at code-monkey de)
180         * ext/ext.c, test/test_misc.rb: Eet::File methods check whether
181           EET entry keys contain binary zeroes
182
183 2005-03-16 Tilman Sauerbeck (tilman at code-monkey de)
184         * lib/eet.rb: Fixed Eet::Stream#initialize
185
186 2005-03-06 Tilman Sauerbeck (tilman at code-monkey de)
187         * Rakefile: fixed file permissions for eet.rb
188
189 2005-03-05 Tilman Sauerbeck (tilman at code-monkey de)
190         * Rakefile: use FileUtils to install eet.rb and eet_ext.so
191
192 2005-03-03 Tilman Sauerbeck (tilman at code-monkey de)
193         * ext/ext.c: EET_FILE_MODE_RW has been renamed to
194           EET_FILE_MODE_READ_WRITE
195
196 2005-02-15 Tilman Sauerbeck (tilman at code-monkey de)
197         * lib/eet.rb, test/hash.rb: Removed the :hash format hack
198         * test/basic.rb: Renamed to test_basic.rb
199         * test/broken_classes.rb: Renamed to test_broken_classes.rb
200         * test/chunk.rb: Renamed to test_chunk.rb
201         * test/hash.rb: Renamed to test_hash.rb
202         * test/list.rb: Renamed to test_list.rb
203         * test/misc.rb: Renamed to test_misc.rb
204         * test/stream.rb: Renamed to test_stream.rb
205         * test/sub.rb: Renamed to test_sub.rb
206         * README: Removed documentation for the :hash format hack
207         * lib/eet.rb: Added :sub format specifier to Array#to_eet_chunks
208         * lib/eet.rb, README: Removed edd_name entry from property hash
209
210 2005-02-14 Tilman Sauerbeck (tilman at code-monkey de)
211         * ext/ext.c: Enable highest compression for images
212         * lib/eet.rb: Added Eet::VERSION
213
214 2005-02-13 Tilman Sauerbeck (tilman at code-monkey de)
215         * lib/eet.rb: If a hash is encoded with the :hash type
216           specifier, make sure that the keys/values are strings
217         * README: Documentation update
218         * Rakefile: Split out eet-config calls, to catch missing libeet
219           early
220
221 2005-02-10 Tilman Sauerbeck (tilman at code-monkey de)
222         * lib/eet.rb, test/broken_classes.rb:
223           Implemented Object#to_eet_name and Object#to_eet_properties.
224           Adapted Object#to_eet's error checking and the broken classes
225           test.
226         * test/misc.rb: Use the new implementations of
227           #to_eet_name and #to_eet_properties
228         * test/misc.rb: Added a test for Object#to_eet_name and
229           Object#to_eet_properties
230         * Rakefile, test/hash.[rb,c], test/utils.c:
231           Reworked the hash test to not depend on hash.c/utils.c
232           anymore.
233         * lib/eet.rb: Added documentation for Object#to_eet_name and
234           Object#to_eet_properties
235
236 2005-02-09 Tilman Sauerbeck (tilman at code-monkey de)
237         * test/sub.rb, test/sub.c: Reworked the sub test to not
238           depend on sub.c anymore
239         * test/list.rb, test/list.c: Reworked the list test to not
240           depend on list.c anymore
241
242 2005-02-08 Tilman Sauerbeck (tilman at code-monkey de)
243         * lib/eet.rb: Eet::Chunk.new checks the tag for binary zeroes
244           again
245         * test/chunk.rb: Added a test for binary zeroes in tags
246         * lib/eet.rb: Added Eet::Chunk.deserialize
247         * test/chunk.rb: Added a test for Eet::Chunk.deserialize
248         * lib/eet.rb: Make sure Eet::Chunk.new is passed strings only
249         * lib/eet.rb: Added Eet::ChunkError
250         * test/chunk.rb: Added tests for the error handling in
251           Eet::Chunk.deserialize
252         * lib/eet.rb, test/stream.rb: Added Eet::Stream.deserialize
253         * test/basic.rb, test/basic.c: Rewrote basic test to not
254           depend on basic.c anymore
255
256 2005-02-07 Tilman Sauerbeck (tilman at code-monkey de)
257         * test/list.rb, test/sub.rb: Make sure to use an array as
258           the hash values in Object#to_eet_properties
259         * lib/eet.rb: Perform more aggressive type checking in
260           Object#to_eet. Added Eet::EetError, Eet::PropertyError and
261           Eet::NameError.
262         * test/chunk.rb, test/stream.rb: Added tests for the Eet::Chunk
263           and Eet::Stream classes
264         * ext/ext.c, test/misc.rb: Raise IOError if Eet::File#list is
265           called in write-only mode
266         * test/broken_classes.rb: Added tests for the errors that
267           Object#to_eet may raise
268         * test/basic.[c,rb]: Added a test for 64bit integers
269         * lib/eet.rb: Pack 32bit integers with the "V" specifier instead
270           of "i", to enforce little-endian format
271
272 2005-02-05 Tilman Sauerbeck (tilman at code-monkey de)
273         * ext/ext.c: Added Eet::File#read_image
274
275 2005-02-04 Tilman Sauerbeck (tilman at code-monkey de)
276         * test/misc.rb: Removed nested assertions
277         * ext/ext.c: raise IOError on zero writes
278         * test/misc.rb: added test_zero_write
279
280 2005-02-03 Tilman Sauerbeck (tilman at code-monkey de)
281         * test/misc.rb: Added some test for Eet::File#read and improved
282           other tests
283         * lib/eet.rb: Don't check for binary zeroes in tags
284
285 2005-02-01 Tilman Sauerbeck (tilman at code-monkey de)
286         * lib/eet.rb: Reworked Stream/Chunk interfaces
287         * lib/eet.rb: Validate input data in Chunk.new
288
289 2005-01-20 Tilman Sauerbeck (tilman at code-monkey de)
290         * Added some documentation