]> granicus.if.org Git - taglib/log
taglib
20 years agoCVS_SILENT back in here again -- checking in formatting before content...
Scott Wheeler [Sat, 30 Oct 2004 16:14:35 +0000 (16:14 +0000)]
CVS_SILENT back in here again -- checking in formatting before content...

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@359015 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoDon't write a track number if the track is larger than 255.
Scott Wheeler [Fri, 29 Oct 2004 13:48:55 +0000 (13:48 +0000)]
Don't write a track number if the track is larger than 255.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358768 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMake sure that the type conversion happens so that this number ends up being
Scott Wheeler [Thu, 28 Oct 2004 23:27:29 +0000 (23:27 +0000)]
Make sure that the type conversion happens so that this number ends up being
the appropriate seek location.  I'm pretty sure that this is what was causing
Ogg length information to not work on x86_64.  Can you confirm Hamish?

BUG:86806

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCVS_SILENT this comment belongs here now
Scott Wheeler [Thu, 28 Oct 2004 22:20:00 +0000 (22:20 +0000)]
CVS_SILENT this comment belongs here now

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMake sure that there's (a) data in a bytevector that we're trying to convert
Scott Wheeler [Thu, 28 Oct 2004 22:11:41 +0000 (22:11 +0000)]
Make sure that there's (a) data in a bytevector that we're trying to convert
to an integer before trying to convert it and (b) make sure that there's data
in an APE::Item before trying to parse it.

BUG:92028

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358637 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMore cleanups and some API docs additions.
Scott Wheeler [Thu, 28 Oct 2004 22:05:43 +0000 (22:05 +0000)]
More cleanups and some API docs additions.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358636 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoSemantic and style cleanups. render() should be const. Use for() loops to
Scott Wheeler [Thu, 28 Oct 2004 21:22:33 +0000 (21:22 +0000)]
Semantic and style cleanups.  render() should be const.  Use for() loops to
loop through lists rather than while, fix bracket style.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358627 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoThis line is redundant.
Scott Wheeler [Wed, 20 Oct 2004 23:34:55 +0000 (23:34 +0000)]
This line is redundant.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@356359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd some more docs on how to use the ID3v1::StringHandler in the ID3v1::Tag
Scott Wheeler [Wed, 20 Oct 2004 23:15:08 +0000 (23:15 +0000)]
Add some more docs on how to use the ID3v1::StringHandler in the ID3v1::Tag
documentation.

BUG:90634

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@356354 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMove the sanity check before the unknown frame stuff. As the code currently
Scott Wheeler [Mon, 18 Oct 2004 15:31:12 +0000 (15:31 +0000)]
Move the sanity check before the unknown frame stuff.  As the code currently
is if a bogus frame is hit it may try to parse it as an UnknownFrame rather
than just discarding it.

CCMAIL:Espen Tveit <espen.tveit@gmail.com>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@355686 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoForgot this. Time to redo the tarballs.
Scott Wheeler [Fri, 10 Sep 2004 02:23:31 +0000 (02:23 +0000)]
Forgot this.  Time to redo the tarballs.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345358 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCVS_SILENT missing doc for the namespace
Scott Wheeler [Fri, 10 Sep 2004 02:13:40 +0000 (02:13 +0000)]
CVS_SILENT missing doc for the namespace

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years ago1.3 -- bump the libtool version
Scott Wheeler [Fri, 10 Sep 2004 01:54:20 +0000 (01:54 +0000)]
1.3 -- bump the libtool version

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345355 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agomisplace conditional
Scott Wheeler [Fri, 10 Sep 2004 01:42:56 +0000 (01:42 +0000)]
misplace conditional

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345352 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoPatch from Allan to add support for compressed frames.
Scott Wheeler [Fri, 10 Sep 2004 01:29:49 +0000 (01:29 +0000)]
Patch from Allan to add support for compressed frames.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345351 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoRemove some annoying debuging code.
Allan Sandfeld Jensen [Thu, 9 Sep 2004 23:49:49 +0000 (23:49 +0000)]
Remove some annoying debuging code.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345343 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoScott's silly nitpicks...
Scott Wheeler [Thu, 9 Sep 2004 00:28:57 +0000 (00:28 +0000)]
Scott's silly nitpicks...

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345141 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoSome API overview updates.
Scott Wheeler [Wed, 8 Sep 2004 22:38:00 +0000 (22:38 +0000)]
Some API overview updates.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345123 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMention the return type.
Scott Wheeler [Sun, 5 Sep 2004 17:55:47 +0000 (17:55 +0000)]
Mention the return type.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@344197 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoDon't try to do stuff to files that aren't valid.
Scott Wheeler [Sun, 5 Sep 2004 17:54:00 +0000 (17:54 +0000)]
Don't try to do stuff to files that aren't valid.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@344196 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCleaning up. Better documentation and remove dead code.
Allan Sandfeld Jensen [Thu, 2 Sep 2004 19:32:19 +0000 (19:32 +0000)]
Cleaning up. Better documentation and remove dead code.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@343588 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoFix typo.
Allan Sandfeld Jensen [Thu, 2 Sep 2004 18:50:26 +0000 (18:50 +0000)]
Fix typo.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@343576 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoSet APELocation to the beginning of the APE-tag
Allan Sandfeld Jensen [Wed, 25 Aug 2004 15:37:53 +0000 (15:37 +0000)]
Set APELocation to the beginning of the APE-tag

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@340956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoSome extra documentation.
Allan Sandfeld Jensen [Mon, 23 Aug 2004 21:57:07 +0000 (21:57 +0000)]
Some extra documentation.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@340248 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoFind the starting position.
Allan Sandfeld Jensen [Mon, 23 Aug 2004 20:39:32 +0000 (20:39 +0000)]
Find the starting position.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@340210 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoUpdate interface. Just needs more documentation now.
Allan Sandfeld Jensen [Mon, 23 Aug 2004 20:38:47 +0000 (20:38 +0000)]
Update interface. Just needs more documentation now.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@340209 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoConvert from ByteVectorList to StringList
Allan Sandfeld Jensen [Mon, 23 Aug 2004 15:26:23 +0000 (15:26 +0000)]
Convert from ByteVectorList to StringList

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@340107 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAPE-tags for mp3s.
Allan Sandfeld Jensen [Sun, 15 Aug 2004 21:14:12 +0000 (21:14 +0000)]
APE-tags for mp3s.
Currently they are for special purposes only, and thus not used as a part
of the union tag.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@338184 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoadd api docs
Scott Wheeler [Sun, 8 Aug 2004 06:04:42 +0000 (06:04 +0000)]
add api docs

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336790 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMake sure that we're not setting the string size to -1.
Scott Wheeler [Sat, 7 Aug 2004 20:23:10 +0000 (20:23 +0000)]
Make sure that we're not setting the string size to -1.

CCMAIL:ismail donmez <kde@myrealbox.com>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336760 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCVS_SILENT forgot a short description
Scott Wheeler [Sat, 7 Aug 2004 01:39:26 +0000 (01:39 +0000)]
CVS_SILENT forgot a short description

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdding support for the Unique File Identifier ID3v2 frame type (UFID).
Scott Wheeler [Sat, 7 Aug 2004 00:59:16 +0000 (00:59 +0000)]
Adding support for the Unique File Identifier ID3v2 frame type (UFID).

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336640 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd support for custom ID3v2 text frames (TXXX).
Scott Wheeler [Fri, 6 Aug 2004 23:41:56 +0000 (23:41 +0000)]
Add support for custom ID3v2 text frames (TXXX).

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336629 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd overloads here so that the return type is in fact StringList.
Scott Wheeler [Fri, 6 Aug 2004 21:51:32 +0000 (21:51 +0000)]
Add overloads here so that the return type is in fact StringList.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336601 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoReturn a reference to the current list from append().
Scott Wheeler [Fri, 6 Aug 2004 21:07:46 +0000 (21:07 +0000)]
Return a reference to the current list from append().

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336591 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoHere's an oops -- this *really* should have been virtual. I'm not sure how
Scott Wheeler [Fri, 6 Aug 2004 01:54:28 +0000 (01:54 +0000)]
Here's an oops -- this *really* should have been virtual.  I'm not sure how
I missed that.  I'll come up with something -- probably a functor or similar
to work around this at some point.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@336480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoIgnore compressed and encrypted ID3v2 frames rather than just blindly giving
Scott Wheeler [Mon, 2 Aug 2004 19:35:47 +0000 (19:35 +0000)]
Ignore compressed and encrypted ID3v2 frames rather than just blindly giving
back the compressed/encrypted data as a string.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@335256 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAlways explicitly check for divide by zero conditions.
Scott Wheeler [Mon, 2 Aug 2004 12:51:14 +0000 (12:51 +0000)]
Always explicitly check for divide by zero conditions.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@335132 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCreate a correct footer
Allan Sandfeld Jensen [Sun, 1 Aug 2004 23:30:06 +0000 (23:30 +0000)]
Create a correct footer

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@334982 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoA few changes to make the interface more flexible. It can now remove
Allan Sandfeld Jensen [Sun, 1 Aug 2004 23:29:42 +0000 (23:29 +0000)]
A few changes to make the interface more flexible. It can now remove
tags including ID3v2.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@334981 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoStandard stuff -- make it fit with the coding style of the rest of TagLib
Scott Wheeler [Tue, 27 Jul 2004 02:35:47 +0000 (02:35 +0000)]
Standard stuff -- make it fit with the coding style of the rest of TagLib
and make it build.  There are still some missing API docs and I'm not sure
how I feel about non-opaque types (Item in this case) since they're not used
elsewhere in the API, but this will do for now.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@333117 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoThis is wrong -- this would indicate a BIC library release. Please see
Scott Wheeler [Tue, 27 Jul 2004 02:00:01 +0000 (02:00 +0000)]
This is wrong -- this would indicate a BIC library release.  Please see
"info:/libtool/Updating version info" when changing the libtool version
string.

CCMAIL:Allan Sandfeld Jensen <kde@carewolf.com>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@333116 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMake mpc use the new APETag-structure
Allan Sandfeld Jensen [Mon, 26 Jul 2004 19:04:40 +0000 (19:04 +0000)]
Make mpc use the new APETag-structure

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@333012 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoRefactoring.
Allan Sandfeld Jensen [Mon, 26 Jul 2004 19:03:28 +0000 (19:03 +0000)]
Refactoring.
APE-tags are not native to musepack, so I am moving it out.
Seperated footer-decoding the same way header-decoding is seperated in
ID3v2.
Fixed a bug with the version in the footer. Should be 2000 (read 2.000) not 2.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@333011 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agomissing const
Scott Wheeler [Mon, 26 Jul 2004 13:44:59 +0000 (13:44 +0000)]
missing const

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332913 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoLarge update:
Allan Sandfeld Jensen [Mon, 26 Jul 2004 12:58:59 +0000 (12:58 +0000)]
Large update:
* Give access to APEv2 features like lists and read-only fields (not enforced by TagLib).
* Support one common mistake: ID3v1 tags placed after an APE-tag. In this case both tags are now read and maintained. APE-tags after an ID3v1 tag is not supported.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332903 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMark HEAD as TagLib 1.3
Scott Wheeler [Mon, 26 Jul 2004 03:39:34 +0000 (03:39 +0000)]
Mark HEAD as TagLib 1.3

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332793 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoProvide a default (empty) value for the language. The lack thereof was was
Scott Wheeler [Mon, 26 Jul 2004 03:14:05 +0000 (03:14 +0000)]
Provide a default (empty) value for the language.  The lack thereof was was
causing the bytes to not get lined up properly in the newly written tag and
then they weren't read back properly.

CCMAIL:82898-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332788 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoUse setData() rather than parseFields() here to make sure that the frame
Scott Wheeler [Mon, 26 Jul 2004 02:44:23 +0000 (02:44 +0000)]
Use setData() rather than parseFields() here to make sure that the frame
header is initialized.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332785 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMake it possible to strip tags without deleting them (again). This is
Scott Wheeler [Mon, 26 Jul 2004 02:22:05 +0000 (02:22 +0000)]
Make it possible to strip tags without deleting them (again).  This is
used by MPEG::File::save() so that tags that aren't explicitly saves still
exist in memory.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332783 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCVS_SILENT indentation oops from the last commit
Scott Wheeler [Mon, 26 Jul 2004 02:19:26 +0000 (02:19 +0000)]
CVS_SILENT indentation oops from the last commit

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332782 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoUpdate the ID3v1 location when stripping the ID3v2 tag.
Scott Wheeler [Mon, 26 Jul 2004 01:49:18 +0000 (01:49 +0000)]
Update the ID3v1 location when stripping the ID3v2 tag.

CCMAIL:83926-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332780 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoFix a number of bugs to get things working with ID3v2.4 tags generated by
Scott Wheeler [Mon, 26 Jul 2004 01:29:39 +0000 (01:29 +0000)]
Fix a number of bugs to get things working with ID3v2.4 tags generated by
libid3tag:

*) Handle the case of there being an extended header where the first byte
   is zero (this was running into a check to see if the padding had been
   reached)
*) Add support for reading ID3v2::Frame::Header flags.  Previously this
   was not implemented, but was needed to...
*) Properly adjust the reading position for the existance of a data length
   indicator at the beginning of frames

Things now seem to work with the test files that I have here.  Since this
is the only other ID3v2.4 implmentation that I know of "in the wild" it's
nice that they now play nice together.  libid3tag uses many more of the
unique ID3v2.4 features than TagLib does.

CCMAIL:82867-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332778 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoReturn a bool indicating if the save was successful as in File::save()
Scott Wheeler [Sat, 24 Jul 2004 17:30:54 +0000 (17:30 +0000)]
Return a bool indicating if the save was successful as in File::save()

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoOff by one -- make tagreader work with mpc files.
Scott Wheeler [Tue, 20 Jul 2004 22:50:30 +0000 (22:50 +0000)]
Off by one -- make tagreader work with mpc files.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@331318 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd MPC to the C bindings.
Scott Wheeler [Tue, 20 Jul 2004 22:46:38 +0000 (22:46 +0000)]
Add MPC to the C bindings.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@331317 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoA few more nitpicks.
Scott Wheeler [Tue, 20 Jul 2004 22:40:57 +0000 (22:40 +0000)]
A few more nitpicks.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@331315 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agostandard style nitpicks and make it build with gcc 2.95
Scott Wheeler [Tue, 20 Jul 2004 22:30:00 +0000 (22:30 +0000)]
standard style nitpicks and make it build with gcc 2.95

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@331313 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoImprove behavoir:
Allan Sandfeld Jensen [Mon, 19 Jul 2004 17:22:32 +0000 (17:22 +0000)]
Improve behavoir:
* use setValid(false) to indicate broken files
* avoid reading over file-end in case of truncated files
* subtract size of ID3v1 from streamSize
* skip known ID3v2 tag when scanning for first FLAC-frame
CCMAIL: 83924-done@bugs.kde.org
CCMAIL: 85356@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@330951 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCorrect includes so they work when included with path,
Allan Sandfeld Jensen [Sat, 17 Jul 2004 16:04:50 +0000 (16:04 +0000)]
Correct includes so they work when included with path,
like: #include <taglib/mpcfile.h>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@330329 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAlso update taglib-config
Allan Sandfeld Jensen [Sat, 17 Jul 2004 14:19:48 +0000 (14:19 +0000)]
Also update taglib-config

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@330302 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoFix a bit of bitrot
Allan Sandfeld Jensen [Sat, 17 Jul 2004 14:17:09 +0000 (14:17 +0000)]
Fix a bit of bitrot

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@330300 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd support for reading musepack(mpc)-files and parsing APE-tags(v1 and v2).
Allan Sandfeld Jensen [Sat, 17 Jul 2004 13:39:27 +0000 (13:39 +0000)]
Add support for reading musepack(mpc)-files and parsing APE-tags(v1 and v2).
Bumb version to have something to check for in JuK and kfile_mpc

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@330294 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCompile
Allan Sandfeld Jensen [Wed, 14 Jul 2004 11:33:46 +0000 (11:33 +0000)]
Compile

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@329093 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd find and erase semantics like those in tlist.h
Allan Sandfeld Jensen [Tue, 13 Jul 2004 18:28:50 +0000 (18:28 +0000)]
Add find and erase semantics like those in tlist.h

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@328830 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoValgrind says home-brew strdup() is broken
Waldo Bastian [Mon, 12 Jul 2004 16:07:27 +0000 (16:07 +0000)]
Valgrind says home-brew strdup() is broken
Fixes saving of MP3 meta-info from properties dialog

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@328336 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoFix spelling.
Scott Wheeler [Sat, 26 Jun 2004 14:26:36 +0000 (14:26 +0000)]
Fix spelling.

CCMAIL:83908-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoDon't try to read the properties from the bytevector if it's smaller than
Scott Wheeler [Thu, 24 Jun 2004 15:48:58 +0000 (15:48 +0000)]
Don't try to read the properties from the bytevector if it's smaller than
the required size; in this case empty.  Also some minor nitpicks along the
way.

CCMAIL:83898-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323360 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCVS_SILENT add a note in the docs about strip() behavior
Scott Wheeler [Wed, 23 Jun 2004 22:39:39 +0000 (22:39 +0000)]
CVS_SILENT add a note in the docs about strip() behavior

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323204 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAnother nice patch from Teemu Tervo. This deletes the tags from memory
Scott Wheeler [Wed, 23 Jun 2004 22:38:21 +0000 (22:38 +0000)]
Another nice patch from Teemu Tervo.  This deletes the tags from memory
when they're stripped from the file.

CCMAIL:83424-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323203 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoUpdate the C bindings to reflect the earlier change in the return type
Scott Wheeler [Wed, 23 Jun 2004 21:52:27 +0000 (21:52 +0000)]
Update the C bindings to reflect the earlier change in the return type
for saving files.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323195 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agooops -- forgot FLAC -- return bool for the FLAC::File::save() too to provide
Scott Wheeler [Wed, 23 Jun 2004 18:45:26 +0000 (18:45 +0000)]
oops -- forgot FLAC -- return bool for the FLAC::File::save() too to provide
some information on if the save was successful.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323170 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCVS_SILENT forgot to save this file before the last commit -- doc update
Scott Wheeler [Wed, 23 Jun 2004 18:37:00 +0000 (18:37 +0000)]
CVS_SILENT forgot to save this file before the last commit -- doc update

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323166 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoSwitch the return type of File::save() from void to bool to provide a little
Scott Wheeler [Wed, 23 Jun 2004 18:35:52 +0000 (18:35 +0000)]
Switch the return type of File::save() from void to bool to provide a little
bit of feedback on whether or not the safe operation worked.

CCMAIL:83882@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323165 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAh, this one's easy -- though an odd corer case; there's a Xing header here
Scott Wheeler [Thu, 17 Jun 2004 15:33:53 +0000 (15:33 +0000)]
Ah, this one's easy -- though an odd corer case; there's a Xing header here
but no MPEG frames.  This was triggering a divide by zero.

CCMAIL:83210-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@321447 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoinitialize variable
Scott Wheeler [Tue, 15 Jun 2004 10:13:05 +0000 (10:13 +0000)]
initialize variable

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@320862 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoParse ID3v2.4 genres as a list of fields rather than a text string with the
Scott Wheeler [Wed, 9 Jun 2004 14:57:30 +0000 (14:57 +0000)]
Parse ID3v2.4 genres as a list of fields rather than a text string with the
ID3v1 genre in parenthesis.

CCMAIL:82554-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@319086 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd iterators and operator[] to the string class.
Scott Wheeler [Wed, 9 Jun 2004 13:33:05 +0000 (13:33 +0000)]
Add iterators and operator[] to the string class.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@319064 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoTwo issues pointed out by Gary Peck:
Scott Wheeler [Sun, 6 Jun 2004 00:10:58 +0000 (00:10 +0000)]
Two issues pointed out by Gary Peck:
*) Note that adding and removing frames from the ID3v2::Tag will invalidate
   iterators on the frame list
*) Correct the number of genres -- it should be 148 instead of 147.  You
   can all have your Synthpop genre back now.  :-)

CCMAIL:Gary Peck <gbpeck@sbcglobal.net>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@318067 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoDon't die on invalid input.
Scott Wheeler [Sat, 29 May 2004 20:12:36 +0000 (20:12 +0000)]
Don't die on invalid input.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@315934 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoOops. Pretty significant type in the frame name for recording date. This
Scott Wheeler [Mon, 24 May 2004 07:37:41 +0000 (07:37 +0000)]
Oops.  Pretty significant type in the frame name for recording date.  This
will automatically fix these files on the next write.  (At the moment other
taggers will not be able to read the date written by TagLib in the ID3v2 tag.
In most cases they'll fall back to the ID3v1 tag, which is fine, but still
kind of nasty.)  Thanks to Teemu Tervo for catching this.

CCMAIL:82038-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@314024 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd a short description
Scott Wheeler [Thu, 13 May 2004 00:09:41 +0000 (00:09 +0000)]
Add a short description

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@310851 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agodocumentation fixes
Scott Wheeler [Thu, 13 May 2004 00:08:00 +0000 (00:08 +0000)]
documentation fixes

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@310850 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd a frameList() overload that accepts a frame ID as a shortcut to the
Scott Wheeler [Thu, 13 May 2004 00:07:30 +0000 (00:07 +0000)]
Add a frameList() overload that accepts a frame ID as a shortcut to the
frameListMap().

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@310849 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdded an example on how to read additional frames.
Scott Wheeler [Mon, 10 May 2004 01:07:58 +0000 (01:07 +0000)]
Added an example on how to read additional frames.

CCMAIL:Volker Wegert <mail@volker-wegert.de>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@309882 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agodoxygen fix
Scott Wheeler [Sun, 9 May 2004 20:44:52 +0000 (20:44 +0000)]
doxygen fix

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@309855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoCVS_SILENT docs fix
Scott Wheeler [Sun, 9 May 2004 17:54:40 +0000 (17:54 +0000)]
CVS_SILENT docs fix

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@309805 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoJust a little hack to make the Vorbis classes appear in the Ogg namespace
Scott Wheeler [Thu, 6 May 2004 16:59:13 +0000 (16:59 +0000)]
Just a little hack to make the Vorbis classes appear in the Ogg namespace
in the API docs and a tyepdef to make this work (since this is how things
will be in the next BIC version).

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@309150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoA small regression -- when assigning a ByteVector to a String make sure to
Scott Wheeler [Thu, 6 May 2004 12:36:31 +0000 (12:36 +0000)]
A small regression -- when assigning a ByteVector to a String make sure to
not include the trailing null characters.  (This was introduced after the
last release.)

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@309070 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoDon't append a framing bit when writing Xiph comments to FLAC files since this
Scott Wheeler [Tue, 4 May 2004 01:47:01 +0000 (01:47 +0000)]
Don't append a framing bit when writing Xiph comments to FLAC files since this
renders them unplayable with some players.  Thanks to Jason Lee for tracking
this down!

CCMAIL:75880-done@bugs.kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@308437 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd docs.
Scott Wheeler [Wed, 28 Apr 2004 00:58:46 +0000 (00:58 +0000)]
Add docs.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306915 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoOops, the implementation of this constructor was missing.
Scott Wheeler [Wed, 28 Apr 2004 00:23:52 +0000 (00:23 +0000)]
Oops, the implementation of this constructor was missing.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306914 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd native support for the RVA2 (relative volume adjustment) frame. The
Scott Wheeler [Tue, 27 Apr 2004 02:01:27 +0000 (02:01 +0000)]
Add native support for the RVA2 (relative volume adjustment) frame.  The
docs aren't there yet and this is completely untested, but that will follow
as soon as I find a file actually tagged with one of these.  :-)

CCMAIL:Jorn Baayen <jbaayen@gnome.org>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306706 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd new type and templatize the "fromNumber" conversion.
Scott Wheeler [Tue, 27 Apr 2004 01:29:22 +0000 (01:29 +0000)]
Add new type and templatize the "fromNumber" conversion.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306704 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoOops. Make the docs accurate.
Scott Wheeler [Tue, 27 Apr 2004 01:21:30 +0000 (01:21 +0000)]
Oops.  Make the docs accurate.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306703 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoMake this check current with the bytevector code.
Scott Wheeler [Tue, 27 Apr 2004 01:09:48 +0000 (01:09 +0000)]
Make this check current with the bytevector code.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306700 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoChanged my mind on the last one -- use explicit types rather than trying
Scott Wheeler [Tue, 27 Apr 2004 01:09:31 +0000 (01:09 +0000)]
Changed my mind on the last one -- use explicit types rather than trying
to figure things out.  This also allows the number conversion to be
templatized.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306699 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd a check for the toInt() stuff.
Scott Wheeler [Mon, 26 Apr 2004 23:05:36 +0000 (23:05 +0000)]
Add a check for the toInt() stuff.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306691 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd a toInt() method that correctly adjusts for the signedness bit even on
Scott Wheeler [Mon, 26 Apr 2004 23:00:21 +0000 (23:00 +0000)]
Add a toInt() method that correctly adjusts for the signedness bit even on
different variable sized byte vectors.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

20 years agoAdd direct support APIC (attached picture) frames. I'll probably add an
Scott Wheeler [Mon, 26 Apr 2004 08:49:02 +0000 (08:49 +0000)]
Add direct support APIC (attached picture) frames.  I'll probably add an
example to the examples dir later today showing how to use this.

CCMAIL:Matthias Welwarsky <matze@stud.fbi.fh-darmstadt.de>
CCMAIL:Jorn Baayen <jbaayen@gnome.org>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da