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