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