]> granicus.if.org Git - taglib/log
taglib
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

17 years agoSVN_SILENT didn't mean for that to go in
Scott Wheeler [Sun, 21 Oct 2007 17:37:28 +0000 (17:37 +0000)]
SVN_SILENT didn't mean for that to go in

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

17 years agoMore TAGLIB_EXPORTs from Lukas.
Scott Wheeler [Sun, 21 Oct 2007 17:35:40 +0000 (17:35 +0000)]
More TAGLIB_EXPORTs from Lukas.

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

17 years agoGot permission from all (non-trivial) contributors to dual license under the MPL.
Scott Wheeler [Wed, 10 Oct 2007 18:22:58 +0000 (18:22 +0000)]
Got permission from all (non-trivial) contributors to dual license under the MPL.

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

17 years agoInstall header.
Scott Wheeler [Tue, 9 Oct 2007 17:46:48 +0000 (17:46 +0000)]
Install header.

CCMAIL:taglib-devel@kde.org

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

17 years agoNote OGA as the new extension for Ogg FLAC.
Scott Wheeler [Thu, 27 Sep 2007 21:41:12 +0000 (21:41 +0000)]
Note OGA as the new extension for Ogg FLAC.

(Note: for the bug report, this won't actually make things work in Amarok, in fact, this change
wasn't needed at all for it to work there.)

BUG:149987

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

17 years agoAdd a few checks to make sure that we don't blow up when trying to read zero-byte
Scott Wheeler [Thu, 27 Sep 2007 20:52:50 +0000 (20:52 +0000)]
Add a few checks to make sure that we don't blow up when trying to read zero-byte
values.

BUG:150250

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

17 years agomore win32 fixes
Christian Ehrlicher [Sat, 15 Sep 2007 16:01:02 +0000 (16:01 +0000)]
more win32 fixes

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

17 years agowin32 install fixes
Christian Ehrlicher [Sat, 15 Sep 2007 10:12:27 +0000 (10:12 +0000)]
win32 install fixes

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

17 years agowe also need config.h on win32!
Christian Ehrlicher [Sat, 15 Sep 2007 09:03:22 +0000 (09:03 +0000)]
we also need config.h on win32!

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

17 years agoUnfix compiler warning. Compiler warnings good, BIC changes bad.
Kevin Krammer [Wed, 29 Aug 2007 23:33:30 +0000 (23:33 +0000)]
Unfix compiler warning. Compiler warnings good, BIC changes bad.
Make it a bit more obvious for the next poor fellow

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

17 years agoFixing compiler warning about missing virtual destructor in class with virtual methods
Kevin Krammer [Wed, 29 Aug 2007 22:57:23 +0000 (22:57 +0000)]
Fixing compiler warning about missing virtual destructor in class with virtual methods

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

17 years agoStill need the C++ runtime for the C bindings on Solaris; need stdlib.h for various...
Adriaan de Groot [Mon, 27 Aug 2007 20:05:44 +0000 (20:05 +0000)]
Still need the C++ runtime for the C bindings on Solaris; need stdlib.h for various prototypes.

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

17 years agoNeed ostream for std::ostream in some STLs
Adriaan de Groot [Mon, 27 Aug 2007 19:41:38 +0000 (19:41 +0000)]
Need ostream for std::ostream in some STLs

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

17 years agoActually, forcing a particular STL implementation on the C bindings is a bad idea.
Adriaan de Groot [Mon, 27 Aug 2007 13:58:19 +0000 (13:58 +0000)]
Actually, forcing a particular STL implementation on the C bindings is a bad idea.

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

17 years agoDon't hardcode version
Laurent Montel [Mon, 27 Aug 2007 07:04:18 +0000 (07:04 +0000)]
Don't hardcode version

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

17 years ago Don't hardcode version number
Laurent Montel [Mon, 27 Aug 2007 07:02:29 +0000 (07:02 +0000)]
 Don't hardcode version number

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

17 years agoWant div_t
Adriaan de Groot [Tue, 21 Aug 2007 09:41:41 +0000 (09:41 +0000)]
Want div_t

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

17 years agoFix the automake build.
Scott Wheeler [Mon, 20 Aug 2007 11:59:02 +0000 (11:59 +0000)]
Fix the automake build.

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

17 years agomore exports from Serhiy Kachaniuk
Christian Ehrlicher [Sun, 19 Aug 2007 15:16:35 +0000 (15:16 +0000)]
more exports from Serhiy Kachaniuk

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

17 years agoThe C bindings use the C++ library which uses the C++ runtime. On Solaris, this doesn...
Adriaan de Groot [Thu, 16 Aug 2007 12:05:50 +0000 (12:05 +0000)]
The C bindings use the C++ library which uses the C++ runtime. On Solaris, this doesn't automatically mean that applications linking to the C bindings get the C++ runtime; add the C++ runtime explicitly to the bindings library so that the runtime gets pulled in by apps. aka. make-it-link.

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

17 years agoSomewhat hackish; might be better off as a downstream patch.
Adriaan de Groot [Thu, 16 Aug 2007 11:47:08 +0000 (11:47 +0000)]
Somewhat hackish; might be better off as a downstream patch.

Sun Studio fails on taglib because Map specializes in too many ways;
adding the class keyword reduces the specializations to one and it's ok,
but not all specializations of Map actually use T as a template class
parameter. So introduce a #define to switch that around.

Original patch from Stefan Teleman, pared down by me.

CCMAIL: kde-solaris@kde.org

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