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