summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Tilman Sauerbeck [Fri, 11 Aug 2006 16:35:11 +0000 (18:35 +0200)]
Return either Qtrue or Qfalse from Ogg::Vorbis::Comments#empty?.
Tilman Sauerbeck [Fri, 11 Aug 2006 16:24:10 +0000 (18:24 +0200)]
Don't store the key-value pair array in an instance variable.
Tilman Sauerbeck [Fri, 11 Aug 2006 15:37:25 +0000 (17:37 +0200)]
Added common aliases for Ogg::Vorbis::Comments#has_key?.
Aliases added are: key?, include? and member?.
Tilman Sauerbeck [Fri, 11 Aug 2006 14:50:16 +0000 (16:50 +0200)]
Split MainTest#test_modify_key into two smaller tests.
Tilman Sauerbeck [Fri, 11 Aug 2006 14:47:55 +0000 (16:47 +0200)]
Freeze the key in newly added entries in Ogg::Vorbis::Comments#[]=.
This makes MainTest#test_modify_key pass.
Tilman Sauerbeck [Fri, 11 Aug 2006 14:41:02 +0000 (16:41 +0200)]
Added MainTest#test_modify_key.
This test asserts that it's not possible to change the keys in the
key-value pair arrays.
Tilman Sauerbeck [Fri, 11 Aug 2006 14:28:58 +0000 (16:28 +0200)]
Freeze the key-value pair arrays in Ogg::Vorbis::Comments.
This protects them from being modified, which should never be necessary.
Tilman Sauerbeck [Fri, 11 Aug 2006 14:09:24 +0000 (16:09 +0200)]
Tweaked Ogg::Vorbis::Comments#inspect.
Tilman Sauerbeck [Fri, 11 Aug 2006 13:42:30 +0000 (15:42 +0200)]
Changed the initialize size of the IO buffer to 0.
It will be resized at every access anyway. It would be nice if we
could have a static buffer, but Ruby's API doesn't allow it atm.
Tilman Sauerbeck [Fri, 11 Aug 2006 13:40:05 +0000 (15:40 +0200)]
Made the IO buffer global.
There's no need to give each Ogg::Vorbis::Tagger instance its own
buffer. This should help memory consumption when there's more than
one Ogg::Vorbis::Tagger object around. The downside is that the buffer
object will be kept alive forever.
Tilman Sauerbeck [Fri, 11 Aug 2006 13:34:19 +0000 (15:34 +0200)]
Made sure that all comments are well-formed before they are parsed.
ie, check that every comment has a '=' sign somewhere, but not at
position 0.
Tilman Sauerbeck [Thu, 10 Aug 2006 16:05:32 +0000 (18:05 +0200)]
Initial commit.