]> granicus.if.org Git - taglib/log
taglib
16 years agoDo a dynamic_cast on these instead of a static since in the case of a non-supported
Scott Wheeler [Fri, 9 May 2008 00:16:30 +0000 (00:16 +0000)]
Do a dynamic_cast on these instead of a static since in the case of a non-supported
frame flag the frame will still be added to the list, but using the UnknownFrame type
rather than the canonical type.  At the moment, on systems with a build in zlib, this
should only happen for the (very rare) encrypted frames.

BUG:161721
CCMAIL:taglib-devel@kde.org

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

17 years agochange external prop back to https://svn.kde.org
Harald Sitter [Fri, 11 Apr 2008 08:45:32 +0000 (08:45 +0000)]
change external prop back to https://svn.kde.org
CCMAIL: faure@kde.org
CCMAIL: mueller@kde.org

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

17 years agokdesupport is going to compile against stdcxx anyway, Cstd wont cut it, so document...
Adriaan de Groot [Tue, 8 Apr 2008 12:40:52 +0000 (12:40 +0000)]
kdesupport is going to compile against stdcxx anyway, Cstd wont cut it, so document better and just put stdcxx in there.

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

17 years agoDon't overflow for really high bitrate files.
Scott Wheeler [Tue, 8 Apr 2008 12:15:20 +0000 (12:15 +0000)]
Don't overflow for really high bitrate files.

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

17 years agoadd missing include; fixes compilation with tests
Andreas Hartmetz [Sun, 6 Apr 2008 21:22:49 +0000 (21:22 +0000)]
add missing include; fixes compilation with tests

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

17 years agochange externals property to use svn://anonsvn.kde.org
Harald Sitter [Thu, 3 Apr 2008 17:04:12 +0000 (17:04 +0000)]
change externals property to use svn://anonsvn.kde.org

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

17 years agoSVN_SILENT Ouch v1.5
Lukáš Lalinský [Tue, 19 Feb 2008 19:57:17 +0000 (19:57 +0000)]
SVN_SILENT Ouch

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

17 years agoFix compilation on MSVC/Windows
Lukáš Lalinský [Tue, 19 Feb 2008 19:52:04 +0000 (19:52 +0000)]
Fix compilation on MSVC/Windows

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

17 years agoFix the APE positioning code. This obviously never worked properly...
Scott Wheeler [Tue, 12 Feb 2008 23:45:42 +0000 (23:45 +0000)]
Fix the APE positioning code.  This obviously never worked properly...

BUG:112904

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

17 years agomore API review
Scott Wheeler [Tue, 12 Feb 2008 18:49:18 +0000 (18:49 +0000)]
more API review

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

17 years agoupdate for current doxygen
Scott Wheeler [Tue, 12 Feb 2008 15:26:18 +0000 (15:26 +0000)]
update for current doxygen

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

17 years agoAdd the 2.2 and 2.3 standards for convenience.
Scott Wheeler [Tue, 12 Feb 2008 13:26:45 +0000 (13:26 +0000)]
Add the 2.2 and 2.3 standards for convenience.

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

17 years agoSoname was changed now it's 1.5.0
Laurent Montel [Tue, 12 Feb 2008 07:44:33 +0000 (07:44 +0000)]
Soname was changed now it's 1.5.0

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

17 years agoWIN32 compile fix.
Shane King [Tue, 12 Feb 2008 06:06:17 +0000 (06:06 +0000)]
WIN32 compile fix.

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

17 years agoSVN_SILENT nitpick
Scott Wheeler [Tue, 12 Feb 2008 05:02:36 +0000 (05:02 +0000)]
SVN_SILENT nitpick

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

17 years agodoc review
Scott Wheeler [Tue, 12 Feb 2008 04:57:37 +0000 (04:57 +0000)]
doc review

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

17 years agoMove Speex into the Ogg namespace
Scott Wheeler [Tue, 12 Feb 2008 04:44:12 +0000 (04:44 +0000)]
Move Speex into the Ogg namespace

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

17 years agofix the .pro too
Scott Wheeler [Tue, 12 Feb 2008 04:36:14 +0000 (04:36 +0000)]
fix the .pro too

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

17 years agoand build here too
Scott Wheeler [Tue, 12 Feb 2008 04:33:48 +0000 (04:33 +0000)]
and build here too

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

17 years agobuild
Scott Wheeler [Tue, 12 Feb 2008 04:24:45 +0000 (04:24 +0000)]
build

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

17 years agoupdate docs
Scott Wheeler [Tue, 12 Feb 2008 04:13:56 +0000 (04:13 +0000)]
update docs

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

17 years agoMove this into Ogg since it's an Ogg format.
Scott Wheeler [Tue, 12 Feb 2008 03:43:46 +0000 (03:43 +0000)]
Move this into Ogg since it's an Ogg format.

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

17 years agoMessed with things until the algorithm is correct. rfind now passes all unit tests.
Scott Wheeler [Tue, 12 Feb 2008 03:20:30 +0000 (03:20 +0000)]
Messed with things until the algorithm is correct.  rfind now passes all unit tests.

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

17 years agoswitch to the not-in-place variety of this function
Scott Wheeler [Mon, 11 Feb 2008 22:50:46 +0000 (22:50 +0000)]
switch to the not-in-place variety of this function

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

17 years agofix one of the checks, don't cast this to a value over 255
Scott Wheeler [Mon, 11 Feb 2008 22:49:59 +0000 (22:49 +0000)]
fix one of the checks, don't cast this to a value over 255

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

17 years agoMake sure that we don't preserve the unsynchronization flag since we don't
Scott Wheeler [Wed, 6 Feb 2008 18:04:40 +0000 (18:04 +0000)]
Make sure that we don't preserve the unsynchronization flag since we don't
write unsynchronized data.

BUG:157166

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

17 years agoUse the new replace function. (Doing in-place value modifications isn't done anywher...
Scott Wheeler [Wed, 6 Feb 2008 05:00:24 +0000 (05:00 +0000)]
Use the new replace function.  (Doing in-place value modifications isn't done anywhere else in the
TagLib API, so let's not do it here either...)

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

17 years agoadd a replace function to ByteVector
Scott Wheeler [Wed, 6 Feb 2008 04:50:34 +0000 (04:50 +0000)]
add a replace function to ByteVector

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

17 years agoSet the copyright to 2002-2008 for all files.
Scott Wheeler [Mon, 4 Feb 2008 15:11:56 +0000 (15:11 +0000)]
Set the copyright to 2002-2008 for all files.

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

17 years agoSVN_SILENT whitespace
Scott Wheeler [Mon, 4 Feb 2008 14:49:57 +0000 (14:49 +0000)]
SVN_SILENT whitespace

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

17 years agoThis function shouldn't be (implicitly) exported.
Scott Wheeler [Mon, 4 Feb 2008 14:37:37 +0000 (14:37 +0000)]
This function shouldn't be (implicitly) exported.

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

17 years agoLess code, less ifdefs, should compile on Solaris. I knocked out Win 9x support
Scott Wheeler [Mon, 4 Feb 2008 03:28:39 +0000 (03:28 +0000)]
Less code, less ifdefs, should compile on Solaris.  I knocked out Win 9x support
on the way since it simplified things, and, well, I don't care about supporting
Windows releases that have been outdated for 7 years.

BUG:157099

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

17 years agoBleh, just remove this. Back to UTF-8-based conversions...
Scott Wheeler [Sat, 2 Feb 2008 21:12:47 +0000 (21:12 +0000)]
Bleh, just remove this.  Back to UTF-8-based conversions...

BUG:157113

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

17 years agoTypo
Thiago Macieira [Sat, 2 Feb 2008 19:30:52 +0000 (19:30 +0000)]
Typo

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

17 years agouse QT_VERSION_CHECK correctly
André Wöbbeking [Sat, 2 Feb 2008 13:19:35 +0000 (13:19 +0000)]
use QT_VERSION_CHECK correctly

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

17 years agoMore bundle fixes
Scott Wheeler [Fri, 1 Feb 2008 16:20:58 +0000 (16:20 +0000)]
More bundle fixes

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

17 years agoYoohoo. Build system number three. Just using this to build a Mac OS Framework.
Scott Wheeler [Fri, 1 Feb 2008 15:57:10 +0000 (15:57 +0000)]
Yoohoo.  Build system number three.  Just using this to build a Mac OS Framework.

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

17 years agoshow ape tags in the framelist
Scott Wheeler [Fri, 1 Feb 2008 04:15:59 +0000 (04:15 +0000)]
show ape tags in the framelist

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

17 years agoAdd missing exports
Scott Wheeler [Fri, 1 Feb 2008 03:16:51 +0000 (03:16 +0000)]
Add missing exports

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

17 years agoA couple of small bugs (the more significant ones were already fixed) from Oskar...
Scott Wheeler [Fri, 1 Feb 2008 00:49:01 +0000 (00:49 +0000)]
A couple of small bugs (the more significant ones were already fixed) from Oskar Liljeblad

BUG:126010

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

17 years agoSVN_SILENT wrong license header
Scott Wheeler [Thu, 31 Jan 2008 23:08:02 +0000 (23:08 +0000)]
SVN_SILENT wrong license header

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

17 years agoAdd the USLT implementation from Urs Fleisch
Scott Wheeler [Thu, 31 Jan 2008 23:05:45 +0000 (23:05 +0000)]
Add the USLT implementation from Urs Fleisch

CCBUG:94927

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

17 years agoMeh, why not go ahead and expose this. Add a method to get the samples per frame.
Scott Wheeler [Thu, 31 Jan 2008 20:55:29 +0000 (20:55 +0000)]
Meh, why not go ahead and expose this.  Add a method to get the samples per frame.

FEATURE:130755

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

17 years agoSVN_SILENT ahem
Scott Wheeler [Thu, 31 Jan 2008 18:17:14 +0000 (18:17 +0000)]
SVN_SILENT ahem

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

17 years agoSVN_SILENT fix spaces
Scott Wheeler [Thu, 31 Jan 2008 18:03:18 +0000 (18:03 +0000)]
SVN_SILENT fix spaces

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

17 years agoCheck the macro for Qt 4, switch to32Bit() to toWString() since WString is not guaran...
Scott Wheeler [Thu, 31 Jan 2008 17:57:12 +0000 (17:57 +0000)]
Check the macro for Qt 4, switch to32Bit() to toWString() since WString is not guaranteed to be a 32-bit string.

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

17 years agoanother version bump
Scott Wheeler [Thu, 31 Jan 2008 17:12:14 +0000 (17:12 +0000)]
another version bump

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

17 years agoAdd the docs from my old repository.
Scott Wheeler [Thu, 31 Jan 2008 17:00:56 +0000 (17:00 +0000)]
Add the docs from my old repository.

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

17 years agoSVN_SILENT docs
Scott Wheeler [Thu, 31 Jan 2008 15:47:10 +0000 (15:47 +0000)]
SVN_SILENT docs

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

17 years agoSVN_SILENT turn off doxygen on this file
Scott Wheeler [Thu, 31 Jan 2008 13:29:03 +0000 (13:29 +0000)]
SVN_SILENT turn off doxygen on this file

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

17 years agoOk, think I've got this all sorted out a bit. Code is much simpler now,
Scott Wheeler [Thu, 31 Jan 2008 05:46:13 +0000 (05:46 +0000)]
Ok, think I've got this all sorted out a bit.  Code is much simpler now,
though much of this could be moved into the base class as there's a lot
of copy-paste action going on.

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

17 years agoAnother one bites the dust. Removing Yet Another TagUnion
Scott Wheeler [Thu, 31 Jan 2008 04:11:42 +0000 (04:11 +0000)]
Another one bites the dust.  Removing Yet Another TagUnion

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

17 years agoMove over to the union tag class. Yeah, this is crazy to be doing close
Scott Wheeler [Thu, 31 Jan 2008 03:41:31 +0000 (03:41 +0000)]
Move over to the union tag class.  Yeah, this is crazy to be doing close
to a release, but you know, momentum.

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

17 years agoAdd an (internal) TagUnion class. I'll pull out the reimplementation
Scott Wheeler [Thu, 31 Jan 2008 00:34:43 +0000 (00:34 +0000)]
Add an (internal) TagUnion class.  I'll pull out the reimplementation
of this in the next commits.

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

17 years agoSVN_SILENT a little prettier
Scott Wheeler [Wed, 30 Jan 2008 23:49:39 +0000 (23:49 +0000)]
SVN_SILENT a little prettier

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

17 years agoTry to work around iTunes putting binary data in a comments field by
Scott Wheeler [Wed, 30 Jan 2008 20:21:31 +0000 (20:21 +0000)]
Try to work around iTunes putting binary data in a comments field by
preferring a comment without an empty description.

FEATURE:137553

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

17 years agoThis causes TagLib to check to make sure that text values to-be-written as
Scott Wheeler [Wed, 30 Jan 2008 19:50:55 +0000 (19:50 +0000)]
This causes TagLib to check to make sure that text values to-be-written as
ISO-8859-1 are in fact ISO-8859-1 values (assuming they were passed into TagLib
properly) and if not automatically switches those frames to UTF8.

FEATURE:90635
CCBUG:90635

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

17 years agodocs
Scott Wheeler [Wed, 30 Jan 2008 12:58:37 +0000 (12:58 +0000)]
docs

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

17 years agoDon't try to write non-Latin1 values to ID3v1 tags since they'll ugly things will
Scott Wheeler [Wed, 30 Jan 2008 12:47:03 +0000 (12:47 +0000)]
Don't try to write non-Latin1 values to ID3v1 tags since they'll ugly things will
happen when some of the characters are null.  This behavior can still be customized
via the StringHandler.

CCBUG:99149

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

17 years agoAdd methods to check if this string is Latin1/ASCII compatible.
Scott Wheeler [Wed, 30 Jan 2008 12:42:23 +0000 (12:42 +0000)]
Add methods to check if this string is Latin1/ASCII compatible.

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

17 years agodon't leak
Scott Wheeler [Wed, 30 Jan 2008 12:16:03 +0000 (12:16 +0000)]
don't leak

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

17 years agoinclude APE tags in the unified tag, switch these over to some not-so-pretty
Scott Wheeler [Wed, 30 Jan 2008 11:29:23 +0000 (11:29 +0000)]
include APE tags in the unified tag, switch these over to some not-so-pretty
but more concise macros.

WISH:141381

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

17 years agorename "remove()" to "strip()" to be consistent with MPEG::File
Scott Wheeler [Wed, 30 Jan 2008 03:31:41 +0000 (03:31 +0000)]
rename "remove()" to "strip()" to be consistent with MPEG::File

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

17 years agos/vorbis/speex/ in speex docs
Scott Wheeler [Wed, 30 Jan 2008 03:16:04 +0000 (03:16 +0000)]
s/vorbis/speex/ in speex docs

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

17 years agobump version
Scott Wheeler [Wed, 30 Jan 2008 03:01:04 +0000 (03:01 +0000)]
bump version

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

17 years agoAdd a C accessor to isValid()
Scott Wheeler [Sat, 26 Jan 2008 20:20:40 +0000 (20:20 +0000)]
Add a C accessor to isValid()

BUG:153944

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

17 years agopedantry
Scott Wheeler [Tue, 22 Jan 2008 17:33:48 +0000 (17:33 +0000)]
pedantry

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

17 years agoUse XXX for an unknown language, per the spec.
Scott Wheeler [Tue, 22 Jan 2008 10:02:47 +0000 (10:02 +0000)]
Use XXX for an unknown language, per the spec.

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

17 years agoTweaks to preparing UTF-16 strings with BOM
Lukáš Lalinský [Mon, 21 Jan 2008 16:40:07 +0000 (16:40 +0000)]
Tweaks to preparing UTF-16 strings with BOM

 - '\xFF\xFE' and '\xFE\xFF' are valid, but empty, UTF-16 strings -- don't print a warning
 - print a warning on strings that don't start with a valid BOM

BUG:156076

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

17 years agoAdd a test case for reading APIC frames with descriptions in UTF-16 including BOM
Lukáš Lalinský [Mon, 21 Jan 2008 15:46:12 +0000 (15:46 +0000)]
Add a test case for reading APIC frames with descriptions in UTF-16 including BOM

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

17 years agoAdapt API docs for FileRef class to match current function signatures.
Michael Pyne [Thu, 13 Dec 2007 02:45:12 +0000 (02:45 +0000)]
Adapt API docs for FileRef class to match current function signatures.

Patch by Vincent Castellano

CCMAIL:surye80@gmail.com

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

17 years agoAdd an option to define NO_ITUNES_HACKS.
Lukáš Lalinský [Sat, 1 Dec 2007 10:13:13 +0000 (10:13 +0000)]
Add an option to define NO_ITUNES_HACKS.

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

17 years agoFix saving of ID3v1 tags to TrueAudio files with removed ID3v2 tags.
Lukáš Lalinský [Sat, 1 Dec 2007 10:08:43 +0000 (10:08 +0000)]
Fix saving of ID3v1 tags to TrueAudio files with removed ID3v2 tags.

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

17 years agoAdd a hack to read ID2v2.4 frames with v2.3-like sizes, written by iTunes.
Lukáš Lalinský [Sat, 1 Dec 2007 09:15:23 +0000 (09:15 +0000)]
Add a hack to read ID2v2.4 frames with v2.3-like sizes, written by iTunes.

The code is inside a '#ifndef NO_ITUNES_HACKS' block, so I hope it's ok to add it.

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

17 years agoFix TTA audio properties reading.
Lukáš Lalinský [Fri, 23 Nov 2007 06:54:22 +0000 (06:54 +0000)]
Fix TTA audio properties reading.

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

17 years agoFix build when building complete kdesupport at once
Rolf Eike Beer [Thu, 22 Nov 2007 19:18:18 +0000 (19:18 +0000)]
Fix build when building complete kdesupport at once

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

17 years agoUse correct frame sizes when calculating length of MPEG 2 or 2.5 streams.
Lukáš Lalinský [Thu, 22 Nov 2007 18:55:47 +0000 (18:55 +0000)]
Use correct frame sizes when calculating length of MPEG 2 or 2.5 streams.

CCBUG:130185

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

17 years agoSupport for URL link framesSupport for URL link frames, patch by Urs Fleisch.
Lukáš Lalinský [Thu, 22 Nov 2007 13:48:01 +0000 (13:48 +0000)]
Support for URL link framesSupport for URL link frames, patch by Urs Fleisch.

BUG:151079
CCMAIL:ufleisch@users.sourceforge.net

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

17 years agoSplit BUILD_TESTS to BUILD_TESTS and BUILD_EXAMPLES.
Lukáš Lalinský [Thu, 22 Nov 2007 13:20:21 +0000 (13:20 +0000)]
Split BUILD_TESTS to BUILD_TESTS and BUILD_EXAMPLES.

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

17 years agoRevert r735160 and r735161, and set BUILD_TESTS to OFF if CppUnit is not found.
Lukáš Lalinský [Thu, 22 Nov 2007 13:17:15 +0000 (13:17 +0000)]
Revert r735160 and r735161, and set BUILD_TESTS to OFF if CppUnit is not found.

CCMAIL:michael.pyne@kdemail.net

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

17 years agoDo this the way the other BIC notes are listed.
Scott Wheeler [Tue, 20 Nov 2007 21:14:20 +0000 (21:14 +0000)]
Do this the way the other BIC notes are listed.

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

17 years agoRan my whitespace fixing script -- tabs -> spaces, removes trailing spaces.
Scott Wheeler [Mon, 19 Nov 2007 14:44:09 +0000 (14:44 +0000)]
Ran my whitespace fixing script -- tabs -> spaces, removes trailing spaces.

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

17 years agoThese were missing private copy constructors / assignment operators to make them...
Scott Wheeler [Mon, 19 Nov 2007 13:59:33 +0000 (13:59 +0000)]
These were missing private copy constructors / assignment operators to make them non-copyable.

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

17 years agoThis also breaks compilation of kdesupport. CppUnit won't be found since I commented
Michael Pyne [Sun, 11 Nov 2007 03:30:44 +0000 (03:30 +0000)]
This also breaks compilation of kdesupport.  CppUnit won't be found since I commented
out the configure check is fixed.  Once the configure check is fixed this can be
commented back in.

CCMAIL:lalinsky@gmail.com

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

17 years agoUnbreak compilation for kdesupport users with CppUnit by commenting out the test...
Michael Pyne [Sun, 11 Nov 2007 03:24:31 +0000 (03:24 +0000)]
Unbreak compilation for kdesupport users with CppUnit by commenting out the test suite.

This needs to be fixed to fail gracefully for users without CppUnit available.

CCMAIL:lalinsky@gmail.com

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

17 years agoTrueAudio support.
Lukáš Lalinský [Sat, 10 Nov 2007 22:55:14 +0000 (22:55 +0000)]
TrueAudio support.

This is last of the three formats implemented for libtunepimp, now used also by various players.

BUG:114982

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

17 years agoFix ID3v2::UniqueFileIdentifier frame parsing.
Lukáš Lalinský [Sat, 10 Nov 2007 22:20:33 +0000 (22:20 +0000)]
Fix ID3v2::UniqueFileIdentifier frame parsing.

According to the spec, the identifier contains arbitrary binary data (which
includes \0). That means splitting it on \0 and checking if we have only
two parts is wrong, because it rejects valid frames.

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

17 years agoFix off-by-one error in ByteVector::find.
Lukáš Lalinský [Sat, 10 Nov 2007 22:16:56 +0000 (22:16 +0000)]
Fix off-by-one error in ByteVector::find.

In case where the pattern has the same length as the bytevector, it should
degrade to A == B, not just return "not found" (e.g. A.find(A) should
return 0, not -1).

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

17 years agoAdd methods RelativeVolumeFrame::identification and RelativeVolumeFrame::setIdentific...
Lukáš Lalinský [Sat, 10 Nov 2007 21:32:32 +0000 (21:32 +0000)]
Add methods RelativeVolumeFrame::identification and RelativeVolumeFrame::setIdentification.

BUG:150481

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

17 years ago- Fixed crash in AttachedPictureFrame and GeneralEncapsulatedObjectFrame
Lukáš Lalinský [Sat, 10 Nov 2007 18:03:25 +0000 (18:03 +0000)]
- Fixed crash in AttachedPictureFrame and GeneralEncapsulatedObjectFrame
  caused by using uninitialized pointer. (BUG:151078)
- Make Frame::readStringField to actually read the string field.
- Fixed parsing of APIC frames -- there is one-byte type between mime type
  and description. The code worked only thanks to the previous bug.

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

17 years agoAdd a CppUnit-based test suite (only very few things is covered for now, but it's...
Lukáš Lalinský [Sat, 10 Nov 2007 16:46:04 +0000 (16:46 +0000)]
Add a CppUnit-based test suite (only very few things is covered for now, but it's a start).

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

17 years agoSpeex support.
Lukáš Lalinský [Sat, 10 Nov 2007 16:07:09 +0000 (16:07 +0000)]
Speex support.

BUG:129196

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

17 years agoUse Unicode filenames on Windows (this time the correct patch).
Lukáš Lalinský [Sat, 10 Nov 2007 16:06:16 +0000 (16:06 +0000)]
Use Unicode filenames on Windows (this time the correct patch).

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

17 years agoRevert r734944 -- this one wasn't meant to go in.
Lukáš Lalinský [Sat, 10 Nov 2007 16:05:18 +0000 (16:05 +0000)]
Revert r734944 -- this one wasn't meant to go in.

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

17 years agoIgnore all autotools and cmake generated files.
Lukáš Lalinský [Sat, 10 Nov 2007 15:58:10 +0000 (15:58 +0000)]
Ignore all autotools and cmake generated files.

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

17 years agoUse Unicode filenames on Windows.
Lukáš Lalinský [Sat, 10 Nov 2007 15:16:49 +0000 (15:16 +0000)]
Use Unicode filenames on Windows.

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

17 years agoWavPack support.
Lukáš Lalinský [Tue, 6 Nov 2007 18:50:09 +0000 (18:50 +0000)]
WavPack support.

CCBUG:114982

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

17 years agoDecode unsynch-encoded tag (ID3v2.3) and frame (ID3v2.4) data before parsing them.
Lukáš Lalinský [Tue, 6 Nov 2007 18:27:47 +0000 (18:27 +0000)]
Decode unsynch-encoded tag (ID3v2.3) and frame (ID3v2.4) data before parsing them.

BUG:138829

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

17 years agoUse separate DLL export macro for libtag_c and use the right DEFINE_SYMBOL.
Lukáš Lalinský [Mon, 5 Nov 2007 02:04:10 +0000 (02:04 +0000)]
Use separate DLL export macro for libtag_c and use the right DEFINE_SYMBOL.

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

17 years agoRemove duplicate check for zlib and make zlib optional.
Lukáš Lalinský [Mon, 5 Nov 2007 01:58:56 +0000 (01:58 +0000)]
Remove duplicate check for zlib and make zlib optional.

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