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